{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/utils/shared/NumberUtils.ts","webpack:///./src/App.vue?9d61","webpack:///./src/components/shared/modals/SideModal.vue?88b7","webpack:///./src/components/shared/modals/SideModal.vue","webpack:///./src/components/shared/modals/SideModal.vue?aa14","webpack:///./src/components/shared/modals/SideModal.vue?5894","webpack:///./src/components/app/v3/contacts/LinkDocumentation.vue?23a6","webpack:///./src/components/app/v3/contacts/LinkDocumentation.vue","webpack:///./src/components/app/v3/contacts/LinkDocumentation.vue?5c03","webpack:///./src/components/app/v3/contacts/LinkDocumentation.vue?222d","webpack:///./src/store/modules/locale/index.ts","webpack:///./src/store/modules/account/index.ts","webpack:///./src/store/modules/auth/index.ts","webpack:///./src/store/modules/tenant/index.ts","webpack:///./src/store/modules/pricing/index.ts","webpack:///./src/store/modules/theme/index.ts","webpack:///./src/store/modules/app/index.ts","webpack:///./src/store/index.ts","webpack:///./src/services/api/ApiService.ts","webpack:///./src/services/api/master/users/AuthenticationService.ts","webpack:///./src/services/api/master/tenants/TenantService.ts","webpack:///./src/services/api/master/tenants/TenantUsersService.ts","webpack:///./src/services/api/master/users/UserService.ts","webpack:///./src/services/api/master/tenants/TenantUserInvitationService.ts","webpack:///./src/store/modules/pricing/default-pricing.ts","webpack:///./src/services/api/master/subscriptions/SubscriptionProductService.ts","webpack:///./src/services/api/master/subscriptions/SubscriptionManagerService.ts","webpack:///./src/services/api/app/workspaces/WorkspaceService.ts","webpack:///./src/services/api/app/v3/cfdis/CfdiService.ts","webpack:///./src/services/api/master/tenants/FakeNamesAndEmails.ts","webpack:///./src/services/api/master/subscriptions/FakeSubscriptionManagerService.ts","webpack:///./src/services/api/master/tenants/FakeTenantService.ts","webpack:///./src/services/api/master/users/FakeUserService.ts","webpack:///./src/application/enums/app/v3/contracts/ContractInvitationStatus.ts","webpack:///./src/services/api/app/v3/employees/FakeEmployeeService.ts","webpack:///./src/services/api/app/v3/contracts/FakeXmlBase64.ts","webpack:///./src/services/api/app/v3/cfdis/FakeCfdiService.ts","webpack:///./src/services/api/app/v3/providers/FakeCompanies.ts","webpack:///./src/services/api/app/v3/contracts/FakeContractService.ts","webpack:///./src/services/api/app/workspaces/FakeWorkspaceService.ts","webpack:///./src/services/api/app/v3/contracts/ContractService.ts","webpack:///./src/services/api/app/v3/documentation/DocumentationService.ts","webpack:///./src/services/api/app/v3/documentation/FakeDocumentationService.ts","webpack:///./src/services/api/app/v3/employees/EmployeeService.ts","webpack:///./src/services/api/master/users/FakeAuthenticationService.ts","webpack:///./src/services/api/master/v3/links/FakeLinkService.ts","webpack:///./src/services/api/master/v3/links/LinkService.ts","webpack:///./src/services/api/master/tenants/FakeTenantUsersService.ts","webpack:///./src/services/api/master/tenants/FakeTenantUserInvitationService.ts","webpack:///./src/services/index.ts","webpack:///./src/views/admin/Index.vue?4065","webpack:///./src/views/admin/Index.vue","webpack:///./src/views/admin/Index.vue?a506","webpack:///./src/views/admin/Index.vue?b9c5","webpack:///./src/assets/contracts/ContractCheck.vue?757e","webpack:///src/assets/contracts/ContractCheck.vue","webpack:///./src/assets/contracts/ContractCheck.vue?ce56","webpack:///./src/assets/contracts/ContractCheck.vue","webpack:///./src/components/marketing/pricing/PlansRadioButtons.vue?6e81","webpack:///./src/components/marketing/pricing/PlansRadioButtons.vue","webpack:///./src/components/marketing/pricing/PlansRadioButtons.vue?3679","webpack:///./src/components/marketing/pricing/PlansRadioButtons.vue?3a56","webpack:///./src/views/account/Forgot.vue?4d93","webpack:///./src/views/account/Forgot.vue","webpack:///./src/views/account/Forgot.vue?d3a1","webpack:///./src/views/account/Forgot.vue?4f02","webpack:///./src/components/app/workspaces/NewWorkspace.vue?743d","webpack:///./src/components/app/workspaces/NewWorkspace.vue","webpack:///./src/components/app/workspaces/NewWorkspace.vue?e198","webpack:///./src/components/app/workspaces/NewWorkspace.vue?cc74","webpack:///./src/components/shared/entities/EntityForm.vue?faa7","webpack:///./src/components/shared/entities/EntityForm.vue?cff3","webpack:///./src/components/shared/entities/EntityForm.vue?7792","webpack:///./src/components/shared/entities/EntityForm.vue?632e","webpack:///./src/views/app/settings/tenant/TenantCurrent.vue?47a9","webpack:///src/views/app/settings/tenant/TenantCurrent.vue","webpack:///./src/views/app/settings/tenant/TenantCurrent.vue?aaf3","webpack:///./src/views/app/settings/tenant/TenantCurrent.vue","webpack:///./src/components/app/v3/employees/list/EmployeesListAndTable.vue?45c0","webpack:///./src/components/app/v3/employees/list/EmployeesListAndTable.vue","webpack:///./src/components/app/v3/employees/list/EmployeesListAndTable.vue?2997","webpack:///./src/components/app/v3/employees/list/EmployeesListAndTable.vue?043d","webpack:///./src/components/app/v3/documentation/DocumentUpload.vue?f28f","webpack:///./src/components/app/v3/documentation/DocumentUpload.vue","webpack:///./src/components/app/v3/documentation/DocumentUpload.vue?3f55","webpack:///./src/components/app/v3/documentation/DocumentUpload.vue?ad3a","webpack:///./src/components/app/workspaces/WorkspacesList.vue?f2d3","webpack:///./src/components/app/workspaces/WorkspacesList.vue","webpack:///./src/components/app/workspaces/WorkspacesList.vue?22c4","webpack:///./src/components/app/workspaces/WorkspacesList.vue?2977","webpack:///./src/assets/img/icon-dark.png","webpack:///./src/components/shared/breadcrumbs/Breadcrumb.vue?5b76","webpack:///src/components/shared/breadcrumbs/Breadcrumb.vue","webpack:///./src/components/shared/breadcrumbs/Breadcrumb.vue?f3f4","webpack:///./src/components/shared/breadcrumbs/Breadcrumb.vue","webpack:///./src/components/app/workspaces/SelectWorkspaces.vue?959d","webpack:///./src/components/app/workspaces/SelectWorkspaces.vue","webpack:///./src/components/app/workspaces/SelectWorkspaces.vue?45a5","webpack:///./src/components/app/workspaces/SelectWorkspaces.vue?e922","webpack:///./src/views/app/v3/employees/Employee.vue?63aa","webpack:///./src/views/app/v3/employees/Employee.vue","webpack:///./src/views/app/v3/employees/Employee.vue?b693","webpack:///./src/views/app/v3/employees/Employee.vue?19ee","webpack:///./src/application/enums/master/tenants/TenantUserStatus.ts","webpack:///./src/views/app/v3/contracts/ContractDetails.vue?91d8","webpack:///./src/application/enums/app/v3/contracts/ContractEmailFormat.ts","webpack:///./src/views/app/v3/contracts/ContractMembers.vue?8fe8","webpack:///./src/assets/contracts/Clock.vue?1f5c","webpack:///src/assets/contracts/Clock.vue","webpack:///./src/assets/contracts/Clock.vue?e3ff","webpack:///./src/assets/contracts/Clock.vue","webpack:///./src/views/app/v3/contracts/ContractMembers.vue","webpack:///./src/application/enums/app/v3/contracts/ContractFileType.ts","webpack:///./src/views/app/v3/contracts/ContractMembers.vue?5800","webpack:///./src/views/app/v3/contracts/ContractMembers.vue?940c","webpack:///./src/views/app/v3/contracts/ContractDetails.vue","webpack:///./src/views/app/v3/contracts/ContractDetails.vue?a52d","webpack:///./src/views/app/v3/contracts/ContractDetails.vue?86b2","webpack:///./src/components/app/settings/members/NewMember.vue?4deb","webpack:///./src/components/app/settings/members/NewMember.vue","webpack:///./src/components/app/settings/members/NewMember.vue?59c2","webpack:///./src/components/app/settings/members/NewMember.vue?598c","webpack:///./src/plugins/axios-helper.ts","webpack:///./src/components/shared/tabs/Tabs.vue?4e66","webpack:///./src/components/shared/tabs/TabsInPills.vue?1910","webpack:///./src/components/shared/tabs/TabsInPills.vue","webpack:///./src/components/shared/tabs/TabsInPills.vue?c7fc","webpack:///./src/components/shared/tabs/TabsInPills.vue?311d","webpack:///./src/components/shared/tabs/TabsInPillsWithBrandColor.vue?3ae2","webpack:///./src/components/shared/tabs/TabsInPillsWithBrandColor.vue","webpack:///./src/components/shared/tabs/TabsInPillsWithBrandColor.vue?933c","webpack:///./src/components/shared/tabs/TabsInPillsWithBrandColor.vue?9865","webpack:///./src/components/shared/tabs/Tabs.vue","webpack:///./src/components/shared/tabs/Tabs.vue?5c5a","webpack:///./src/components/shared/tabs/Tabs.vue?4316","webpack:///./src/components/app/v3/cfdis/list/CfdisListAndTable.vue?e777","webpack:///./src/components/app/v3/cfdis/list/CfdisListAndTable.vue","webpack:///./src/components/app/v3/cfdis/list/CfdisListAndTable.vue?ec2b","webpack:///./src/components/app/v3/cfdis/list/CfdisListAndTable.vue?2445","webpack:///./src/components/shared/buttons/LoadingButton.vue?10f7","webpack:///./src/views/marketing/Product.vue?302e","webpack:///./src/components/marketing/Hero.vue?467f","webpack:///./src/components/marketing/Hero.vue","webpack:///./src/components/marketing/Hero.vue?4ce8","webpack:///./src/components/marketing/Hero.vue?d626","webpack:///./src/components/marketing/FeaturesV2.vue?c90d","webpack:///src/components/marketing/FeaturesV2.vue","webpack:///./src/components/marketing/FeaturesV2.vue?398f","webpack:///./src/components/marketing/FeaturesV2.vue","webpack:///./src/components/marketing/FeaturesV3.vue?49b7","webpack:///src/components/marketing/FeaturesV3.vue","webpack:///./src/components/marketing/FeaturesV3.vue?64d2","webpack:///./src/components/marketing/FeaturesV3.vue","webpack:///./src/components/marketing/FeaturesV4.vue?d941","webpack:///src/components/marketing/FeaturesV4.vue","webpack:///./src/components/marketing/FeaturesV4.vue?a3d5","webpack:///./src/components/marketing/FeaturesV4.vue","webpack:///./src/components/marketing/JoinNow.vue?0d0b","webpack:///src/components/marketing/JoinNow.vue","webpack:///./src/components/marketing/JoinNow.vue?9332","webpack:///./src/components/marketing/JoinNow.vue","webpack:///src/views/marketing/Product.vue","webpack:///./src/views/marketing/Product.vue?51e8","webpack:///./src/views/marketing/Product.vue","webpack:///./src/components/app/v3/cfdis/list/CfdisList.vue?75ce","webpack:///./src/components/app/v3/cfdis/list/CfdisList.vue","webpack:///./src/components/app/v3/cfdis/list/CfdisList.vue?b8c1","webpack:///./src/components/app/v3/cfdis/list/CfdisList.vue?6d49","webpack:///./src/assets/contracts/Contract.vue?2300","webpack:///src/assets/contracts/Contract.vue","webpack:///./src/assets/contracts/Contract.vue?b188","webpack:///./src/assets/contracts/Contract.vue","webpack:///./src/views/app/v3/contracts/Contract.vue?6a62","webpack:///./src/views/app/v3/contracts/Contract.vue","webpack:///./src/views/app/v3/contracts/Contract.vue?7421","webpack:///./src/views/app/v3/contracts/Contract.vue?9fa7","webpack:///./src/application/enums/master/tenants/TenantUserRole.ts","webpack:///./src/components/app/uploads/DropCfdis.vue?d10a","webpack:///./src/components/app/uploads/DropCfdis.vue?66e6","webpack:///./src/components/app/uploads/DropCfdis.vue?7dd9","webpack:///./src/components/app/uploads/DropCfdis.vue?c379","webpack:///./src/components/shared/loaders/Loading.vue?43f0","webpack:///./src/views/app/v3/employees/NewEmployee.vue?c56d","webpack:///./src/components/app/v3/employees/profile/NewEmployees.vue?0920","webpack:///./src/components/app/v3/employees/profile/NewEmployees.vue","webpack:///./src/components/app/v3/employees/profile/NewEmployees.vue?dc80","webpack:///./src/components/app/v3/employees/profile/NewEmployees.vue?a4fb","webpack:///./src/views/app/v3/employees/NewEmployee.vue","webpack:///./src/views/app/v3/employees/NewEmployee.vue?e1c9","webpack:///./src/views/app/v3/employees/NewEmployee.vue?2125","webpack:///./src/views/app/v3/contracts/ContractEmployees.vue?a96b","webpack:///./src/views/app/v3/contracts/ContractEmployees.vue","webpack:///./src/views/app/v3/contracts/ContractEmployees.vue?f227","webpack:///./src/views/app/v3/contracts/ContractEmployees.vue?433a","webpack:///./src/views/app/v3/cfdis/CfdisUpload.vue?df63","webpack:///./src/views/app/v3/cfdis/CfdisUpload.vue","webpack:///./src/views/app/v3/cfdis/CfdisUpload.vue?6b55","webpack:///./src/views/app/v3/cfdis/CfdisUpload.vue?89d9","webpack:///./src/components/shared/banners/InfoBanner.vue?4d99","webpack:///./src/components/shared/banners/InfoBanner.vue","webpack:///./src/components/shared/banners/InfoBanner.vue?cbf2","webpack:///./src/components/shared/banners/InfoBanner.vue?4cfe","webpack:///./src/components/admin/tenants/TenantSubscription.vue?3143","webpack:///./src/components/admin/tenants/TenantSubscription.vue","webpack:///./src/components/admin/tenants/TenantSubscription.vue?c305","webpack:///./src/components/admin/tenants/TenantSubscription.vue?6d25","webpack:///./src/application/enums/master/tenants/WorkspaceType.ts","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/layouts/sidebar/SidebarLayout.vue?cef5","webpack:///./src/components/app/settings/tenant/TenantNew.vue?189e","webpack:///./src/components/app/settings/tenant/TenantNew.vue","webpack:///./src/components/app/settings/tenant/TenantNew.vue?fd71","webpack:///./src/components/app/settings/tenant/TenantNew.vue?a25b","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionStatus.vue?f6b1","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionStatus.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionStatus.vue?e569","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionStatus.vue?e829","webpack:///./src/components/layouts/Breadcrumb.vue?1be6","webpack:///src/components/layouts/Breadcrumb.vue","webpack:///./src/components/layouts/Breadcrumb.vue?1351","webpack:///./src/components/layouts/Breadcrumb.vue","webpack:///./src/application/sidebar/AdminSidebar.ts","webpack:///./src/application/sidebar/AppSidebar.ts","webpack:///./src/components/app/workspaces/WorkspaceSelector.vue?8a3d","webpack:///./src/components/app/workspaces/WorkspaceSelector.vue","webpack:///./src/components/app/workspaces/WorkspaceSelector.vue?0820","webpack:///./src/components/app/workspaces/WorkspaceSelector.vue?1b34","webpack:///./src/components/app/selectors/TenantSelector.vue?bb48","webpack:///./src/components/app/selectors/TenantSelector.vue","webpack:///./src/components/app/selectors/TenantSelector.vue?7693","webpack:///./src/components/app/selectors/TenantSelector.vue?6ccb","webpack:///./src/components/app/v3/contacts/LinksInformationModal.vue?b83b","webpack:///./src/components/app/v3/contacts/LinksInformationModal.vue","webpack:///./src/components/app/v3/contacts/LinksInformationModal.vue?b762","webpack:///./src/components/app/v3/contacts/LinksInformationModal.vue?c3db","webpack:///./src/components/app/v3/contacts/PendingInvitationsSideModal.vue?9f66","webpack:///./src/components/app/v3/contacts/PendingInvitationsSideModal.vue","webpack:///./src/components/app/v3/contacts/PendingInvitationsSideModal.vue?fa5c","webpack:///./src/components/app/v3/contacts/PendingInvitationsSideModal.vue?6bb4","webpack:///./src/components/layouts/shared/LinksInformationButton.vue?4547","webpack:///./src/components/layouts/shared/LinksInformationButton.vue","webpack:///./src/components/layouts/shared/LinksInformationButton.vue?fd44","webpack:///./src/components/layouts/shared/LinksInformationButton.vue?39c2","webpack:///./src/components/layouts/shared/PendingInvitationsButton.vue?5265","webpack:///./src/components/layouts/shared/PendingInvitationsButton.vue","webpack:///./src/components/layouts/shared/PendingInvitationsButton.vue?afdd","webpack:///./src/components/layouts/shared/PendingInvitationsButton.vue?b6cc","webpack:///./src/components/layouts/shared/QuickActionsButton.vue?1f33","webpack:///./src/components/layouts/shared/QuickActionsButton.vue","webpack:///./src/components/layouts/shared/QuickActionsButton.vue?d204","webpack:///./src/components/layouts/shared/QuickActionsButton.vue?8b52","webpack:///./src/components/layouts/shared/ProfileButton.vue?e37c","webpack:///./src/components/layouts/shared/ProfileButton.vue","webpack:///./src/components/layouts/shared/ProfileButton.vue?391f","webpack:///./src/components/layouts/shared/ProfileButton.vue?f413","webpack:///./src/components/layouts/shared/ChatSupportButton.vue?75ec","webpack:///./src/components/layouts/shared/ChatSupportButton.vue","webpack:///./src/components/layouts/shared/ChatSupportButton.vue?1b59","webpack:///./src/components/layouts/shared/ChatSupportButton.vue?af0b","webpack:///./src/components/layouts/sidebar/SidebarLayout.vue","webpack:///./src/components/layouts/sidebar/SidebarLayout.vue?f1d1","webpack:///./src/components/layouts/sidebar/SidebarLayout.vue?d5bf","webpack:///./src/application/enums/app/v3/documentation/DocumentationType.ts","webpack:///./src/components/admin/tenants/TenantProfile.vue?fb1a","webpack:///./src/components/admin/tenants/TenantProfile.vue","webpack:///./src/components/admin/tenants/TenantProfile.vue?10ec","webpack:///./src/components/admin/tenants/TenantProfile.vue?ddb4","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscription.vue?02b2","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPlan.vue?dec2","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPlan.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPlan.vue?e76d","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPlan.vue?b87a","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPaymentDetails.vue?458f","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPaymentDetails.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPaymentDetails.vue?a8a7","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionPaymentDetails.vue?4c44","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionInvoices.vue?dc64","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionInvoices.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionInvoices.vue?5a2f","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionInvoices.vue?129d","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscription.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscription.vue?fb58","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscription.vue?2e4f","webpack:///./src/views/app/v3/visits/Visits.vue?fe2e","webpack:///./src/views/app/v3/visits/Visits.vue","webpack:///./src/views/app/v3/visits/Visits.vue?41a5","webpack:///./src/views/app/v3/visits/Visits.vue?028b","webpack:///./src/views/admin/pricing/SubscriptionProductOverview.vue?4721","webpack:///./src/views/admin/pricing/SubscriptionProductOverview.vue","webpack:///./src/views/admin/pricing/SubscriptionProductOverview.vue?6967","webpack:///./src/views/admin/pricing/SubscriptionProductOverview.vue?ba26","webpack:///./src/components/app/workspaces/EditWorkspace.vue?1bab","webpack:///./src/components/app/workspaces/EditWorkspace.vue","webpack:///./src/components/app/workspaces/EditWorkspace.vue?e7ec","webpack:///./src/components/app/workspaces/EditWorkspace.vue?d4e3","webpack:///./src/views/app/v3/visits/NewVisit.vue?adbd","webpack:///./src/components/app/v3/visits/NewContractVisit.vue?07be","webpack:///./src/components/app/v3/visits/NewContractVisit.vue","webpack:///./src/components/app/v3/visits/NewContractVisit.vue?b01a","webpack:///./src/components/app/v3/visits/NewContractVisit.vue?ffa9","webpack:///./src/views/app/v3/visits/NewVisit.vue","webpack:///./src/views/app/v3/visits/NewVisit.vue?72ef","webpack:///./src/views/app/v3/visits/NewVisit.vue?cb4b","webpack:///./src/application/enums/master/subscriptions/SubscriptionBillingPeriod.ts","webpack:///./src/assets/contracts/Workers.vue?82b8","webpack:///src/assets/contracts/Workers.vue","webpack:///./src/assets/contracts/Workers.vue?faaf","webpack:///./src/assets/contracts/Workers.vue","webpack:///./src/application/enums/app/common/Periodicity.ts","webpack:///./src/components/app/settings/tenant/TenantSettings.vue?938b","webpack:///./src/components/shared/forms/Toggle.vue?8ccc","webpack:///./src/components/shared/forms/Toggle.vue","webpack:///./src/components/shared/forms/Toggle.vue?8b4f","webpack:///./src/components/shared/forms/Toggle.vue?05f6","webpack:///./src/components/app/settings/tenant/TenantSettings.vue","webpack:///./src/components/app/settings/tenant/TenantSettings.vue?363e","webpack:///./src/components/app/settings/tenant/TenantSettings.vue?3974","webpack:///./src/views/account/Reset.vue?3fee","webpack:///./src/views/account/Reset.vue","webpack:///./src/views/account/Reset.vue?aee4","webpack:///./src/views/account/Reset.vue?f1d1","webpack:///./src/components/app/v3/contacts/LinkForm.vue?34c7","webpack:///./src/components/app/v3/contacts/LinkForm.vue","webpack:///./src/components/app/v3/contacts/LinkForm.vue?b2db","webpack:///./src/components/app/v3/contacts/LinkForm.vue?645b","webpack:///./src/components/marketing/Logo.vue?d3a1","webpack:///src/components/marketing/Logo.vue","webpack:///./src/components/marketing/Logo.vue?f752","webpack:///./src/components/marketing/Logo.vue","webpack:///./src/views/app/v3/cfdis/CfdisPayroll.vue?49c9","webpack:///./src/views/app/v3/cfdis/CfdisPayroll.vue","webpack:///./src/views/app/v3/cfdis/CfdisPayroll.vue?ff10","webpack:///./src/views/app/v3/cfdis/CfdisPayroll.vue?0090","webpack:///./src/components/shared/entities/EntityTableList.vue?b0c8","webpack:///./src/components/shared/entities/EntityTableList.vue","webpack:///./src/components/shared/entities/EntityTableList.vue?8bff","webpack:///./src/components/shared/entities/EntityTableList.vue?74a0","webpack:///./src/assets/img/logo-dark.png","webpack:///./src/views/app/v3/contracts/NewContract.vue?8853","webpack:///./src/components/app/v3/contacts/selectors/LinkSelector.vue?e15d","webpack:///./src/components/app/v3/contacts/selectors/LinkSelector.vue","webpack:///./src/components/app/v3/contacts/selectors/LinkSelector.vue?f993","webpack:///./src/components/app/v3/contacts/selectors/LinkSelector.vue?edde","webpack:///./src/views/app/v3/contracts/SelectContractMembers.vue?c515","webpack:///./src/views/app/v3/contracts/SelectContractMembers.vue","webpack:///./src/views/app/v3/contracts/SelectContractMembers.vue?171a","webpack:///./src/views/app/v3/contracts/SelectContractMembers.vue?0c37","webpack:///./src/views/app/v3/contracts/NewContract.vue","webpack:///./src/views/app/v3/contracts/NewContract.vue?984b","webpack:///./src/views/app/v3/contracts/NewContract.vue?7e65","webpack:///./src/application/enums/app/v3/contracts/ContractStatus.ts","webpack:///./src/locale/supportedLocales.ts","webpack:///./src/components/app/v3/documentation/DocumentTableRow.vue?52f6","webpack:///./src/views/marketing/Pricing.vue?c888","webpack:///./src/components/marketing/pricing/Products2.vue?8149","webpack:///./src/components/marketing/pricing/Products2.vue","webpack:///./src/components/marketing/pricing/Products2.vue?1c1f","webpack:///./src/components/marketing/pricing/Products2.vue?3e0d","webpack:///./src/components/marketing/Faq.vue?595e","webpack:///./src/components/marketing/Faq.vue","webpack:///./src/components/marketing/Faq.vue?0e6f","webpack:///./src/components/marketing/Faq.vue?3fad","webpack:///./src/views/marketing/Pricing.vue","webpack:///./src/views/marketing/Pricing.vue?3aa6","webpack:///./src/views/marketing/Pricing.vue?2bf0","webpack:///./src/views/app/v3/cfdis/Cfdis.vue?f8af","webpack:///./src/views/app/v3/cfdis/Cfdis.vue","webpack:///./src/views/app/v3/cfdis/Cfdis.vue?db5d","webpack:///./src/views/app/v3/cfdis/Cfdis.vue?b847","webpack:///./src/application/contracts/app/v3/contracts/ContractStatusFilter.ts","webpack:///./src/components/shared/modals/ConfirmModal.vue?0bb1","webpack:///./src/components/shared/modals/ConfirmModal.vue","webpack:///./src/components/shared/modals/ConfirmModal.vue?8d10","webpack:///./src/components/shared/modals/ConfirmModal.vue?e89c","webpack:///./src/components/app/uploads/DropCfdis.vue?820b","webpack:///./src/components/app/workspaces/NewWorkspaceCredential.vue?2fc5","webpack:///./src/components/app/workspaces/NewWorkspaceCredential.vue","webpack:///./src/components/app/workspaces/NewWorkspaceCredential.vue?c9d5","webpack:///./src/components/app/workspaces/NewWorkspaceCredential.vue?f3d7","webpack:///./src/views/app/v3/contracts/ContractCfdis.vue?a1ee","webpack:///./src/views/app/v3/contracts/ContractCfdis.vue","webpack:///./src/views/app/v3/contracts/ContractCfdis.vue?30e1","webpack:///./src/views/app/v3/contracts/ContractCfdis.vue?93bc","webpack:///./src/components/shared/loaders/Loading.vue?ee28","webpack:///src/components/shared/loaders/Loading.vue","webpack:///./src/components/shared/loaders/Loading.vue?1e16","webpack:///./src/components/shared/loaders/Loading.vue?9f00","webpack:///./src/components/marketing/Header.vue?cac3","webpack:///./src/components/marketing/selectors/ColorSwitcher.vue?1c7f","webpack:///./src/components/marketing/selectors/ColorSwitcher.vue","webpack:///./src/components/marketing/selectors/ColorSwitcher.vue?2131","webpack:///./src/components/marketing/selectors/ColorSwitcher.vue?5e35","webpack:///./src/components/marketing/selectors/FlagSelector.vue?d43f","webpack:///./src/components/marketing/selectors/FlagSelector.vue","webpack:///./src/components/marketing/selectors/FlagSelector.vue?0787","webpack:///./src/components/marketing/selectors/FlagSelector.vue?2401","webpack:///./src/components/marketing/Header.vue","webpack:///./src/components/marketing/Header.vue?4ead","webpack:///./src/components/marketing/Header.vue?c512","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue?b9a7","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue?1b77","webpack:///./src/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue?1094","webpack:///./src/views/app/v3/contacts/Clients.vue?e988","webpack:///./src/components/app/v3/contacts/clients/list/ClientsList.vue?99de","webpack:///./src/components/app/v3/contacts/clients/list/ClientsListAndTable.vue?a5bf","webpack:///./src/components/app/v3/contacts/clients/list/ClientsListAndTable.vue","webpack:///./src/components/app/v3/contacts/clients/list/ClientsListAndTable.vue?df0a","webpack:///./src/components/app/v3/contacts/clients/list/ClientsListAndTable.vue?48f1","webpack:///./src/components/app/v3/contacts/clients/list/ClientsList.vue","webpack:///./src/components/app/v3/contacts/clients/list/ClientsList.vue?60e8","webpack:///./src/components/app/v3/contacts/clients/list/ClientsList.vue?1102","webpack:///./src/views/app/v3/contacts/Clients.vue","webpack:///./src/views/app/v3/contacts/Clients.vue?6d1a","webpack:///./src/views/app/v3/contacts/Clients.vue?6ba0","webpack:///./src/application/enums/master/users/UserLoginType.ts","webpack:///./src/application/enums/app/v3/documentation/ComplianceStatus.ts","webpack:///./src/components/shared/modals/SuccessModal2.vue?b6c5","webpack:///./src/components/shared/modals/SuccessModal2.vue","webpack:///./src/components/shared/modals/SuccessModal2.vue?cf64","webpack:///./src/components/shared/modals/SuccessModal2.vue?4221","webpack:///./src/components/shared/modals/ErrorModal.vue?5fb6","webpack:///./src/components/shared/modals/ErrorModal.vue","webpack:///./src/components/shared/modals/ErrorModal.vue?9c81","webpack:///./src/components/shared/modals/ErrorModal.vue?88c8","webpack:///./src/views/account/Register.vue?5fd5","webpack:///./src/views/account/Register.vue","webpack:///./src/views/account/Register.vue?2bba","webpack:///./src/views/account/Register.vue?df8b","webpack:///./src/assets/contracts/ContractClock.vue?b893","webpack:///src/assets/contracts/ContractClock.vue","webpack:///./src/assets/contracts/ContractClock.vue?54de","webpack:///./src/assets/contracts/ContractClock.vue","webpack:///./src/views/account/Verify.vue?eb08","webpack:///./src/views/account/Verify.vue","webpack:///./src/views/account/Verify.vue?3d1f","webpack:///./src/views/account/Verify.vue?aa1b","webpack:///./src/application/dtos/app/v3/documentation/DocumentationTypes.ts","webpack:///./src/application/enums/app/v3/documentation/DocumentationInstitution.ts","webpack:///./src/views/marketing/Contact.vue?1dc8","webpack:///src/views/marketing/Contact.vue","webpack:///./src/views/marketing/Contact.vue?4e2b","webpack:///./src/views/marketing/Contact.vue","webpack:///./src/views/app/common/Unauthorized.vue?6d9a","webpack:///src/views/app/common/Unauthorized.vue","webpack:///./src/views/app/common/Unauthorized.vue?c0f5","webpack:///./src/views/app/common/Unauthorized.vue","webpack:///./src/views/account/TenantMemberInvitation.vue?5acc","webpack:///./src/views/account/TenantMemberInvitation.vue","webpack:///./src/views/account/TenantMemberInvitation.vue?5f73","webpack:///./src/views/account/TenantMemberInvitation.vue?4b33","webpack:///./src/application/enums/app/usages/AppUsageType.ts","webpack:///./src/assets/img/icon-light.png","webpack:///./src/components/shared/forms/UploadImage.vue?84a5","webpack:///./src/components/shared/forms/UploadImage.vue","webpack:///./src/components/shared/forms/UploadImage.vue?6243","webpack:///./src/components/shared/forms/UploadImage.vue?0f4b","webpack:///./src/views/app/v3/contracts/ContractSign.vue?2a6e","webpack:///./src/views/app/v3/contracts/ContractSign.vue","webpack:///./src/views/app/v3/contracts/ContractSign.vue?9946","webpack:///./src/views/app/v3/contracts/ContractSign.vue?6074","webpack:///./src/components/app/v3/visits/ActiveContractsListAndTable.vue?772d","webpack:///./src/components/app/v3/visits/ActiveContractsListAndTable.vue","webpack:///./src/components/app/v3/visits/ActiveContractsListAndTable.vue?042e","webpack:///./src/components/app/v3/visits/ActiveContractsListAndTable.vue?6961","webpack:///./src/application/dtos/master/subscriptions/SubscriptionPriceDto.ts","webpack:///./src/views/app/Index.vue?ad7d","webpack:///./src/views/app/Index.vue","webpack:///./src/views/app/Index.vue?86d4","webpack:///./src/views/app/Index.vue?8c99","webpack:///./src/utils/store/PricingUtils.ts","webpack:///./src/views/app/v3/contacts/Links.vue?8c32","webpack:///./src/views/app/v3/contacts/Links.vue","webpack:///./src/views/app/v3/contacts/Links.vue?b864","webpack:///./src/views/app/v3/contacts/Links.vue?d660","webpack:///./src/components/shared/modals/SuccessModal.vue?40f8","webpack:///./src/components/shared/modals/SuccessModal.vue","webpack:///./src/components/shared/modals/SuccessModal.vue?a08a","webpack:///./src/components/shared/modals/SuccessModal.vue?c43c","webpack:///./src/views/app/settings/profile/Profile.vue?b265","webpack:///./src/utils/shared/TimezonesUtils.ts","webpack:///./src/views/app/settings/profile/Profile.vue","webpack:///./src/views/app/settings/profile/Profile.vue?876e","webpack:///./src/views/app/settings/profile/Profile.vue?e2ad","webpack:///./src/application/enums/app/v3/contracts/ContractMemberRole.ts","webpack:///./src/services/api/app/v3/contracts/FakePdfBase64.ts","webpack:///./src/application/dtos/shared/Months.ts","webpack:///./src/views/marketing/Privacy.vue?9dac","webpack:///./src/components/shared/skeletons/TableRowSkeleton.vue?d683","webpack:///./src/components/shared/skeletons/TableRowSkeleton.vue","webpack:///./src/components/app/v3/contacts/LinkProfile.vue?a03d","webpack:///./src/components/app/v3/contacts/LinkProfile.vue","webpack:///./src/components/app/v3/contacts/LinkProfile.vue?5779","webpack:///./src/components/app/v3/contacts/LinkProfile.vue?366d","webpack:///./src/views/marketing/Terms.vue?09a7","webpack:///./src/views/app/v3/documentation/MyDocumentation.vue?71cd","webpack:///./src/views/app/v3/documentation/MyDocumentation.vue","webpack:///./src/views/app/v3/documentation/MyDocumentation.vue?6f29","webpack:///./src/views/app/v3/documentation/MyDocumentation.vue?d9a0","webpack:///./src/views/app/v3/contacts/Provider.vue?c8f9","webpack:///./src/views/app/v3/contacts/Provider.vue","webpack:///./src/views/app/v3/contacts/Provider.vue?589f","webpack:///./src/views/app/v3/contacts/Provider.vue?5604","webpack:///./src/components/shared/forms/DateInput.vue?4b6a","webpack:///src/components/shared/forms/DateInput.vue","webpack:///./src/components/shared/forms/DateInput.vue?f65d","webpack:///./src/components/shared/forms/DateInput.vue","webpack:///./src/components/shared/entities/EntityForm.vue?a92d","webpack:///./src/views/app/v3/contracts/Contracts.vue?1e01","webpack:///./src/components/app/v3/contracts/list/ContractsList.vue?f614","webpack:///./src/assets/contracts/SignedContract4.vue?a6f3","webpack:///src/assets/contracts/SignedContract4.vue","webpack:///./src/assets/contracts/SignedContract4.vue?47d8","webpack:///./src/assets/contracts/SignedContract4.vue","webpack:///./src/assets/contracts/PendingContract2.vue?7989","webpack:///src/assets/contracts/PendingContract2.vue","webpack:///./src/assets/contracts/PendingContract2.vue?6044","webpack:///./src/assets/contracts/PendingContract2.vue","webpack:///./src/assets/contracts/ArchivedContract.vue?076c","webpack:///src/assets/contracts/ArchivedContract.vue","webpack:///./src/assets/contracts/ArchivedContract.vue?81ad","webpack:///./src/assets/contracts/ArchivedContract.vue","webpack:///./src/components/app/v3/contracts/list/ContractsListAndTable.vue?5238","webpack:///./src/components/app/v3/contracts/list/ContractsListAndTable.vue","webpack:///./src/components/app/v3/contracts/list/ContractsListAndTable.vue?4c71","webpack:///./src/components/app/v3/contracts/list/ContractsListAndTable.vue?9bac","webpack:///./src/components/shared/checkboxes/CheckboxSelect.vue?7647","webpack:///./src/components/shared/checkboxes/CheckboxSelect.vue","webpack:///./src/components/shared/checkboxes/CheckboxSelect.vue?8d02","webpack:///./src/components/shared/checkboxes/CheckboxSelect.vue?dde0","webpack:///./src/components/app/v3/contracts/list/ContractsList.vue","webpack:///./src/components/app/v3/contracts/list/ContractsList.vue?dd12","webpack:///./src/components/app/v3/contracts/list/ContractsList.vue?f3ab","webpack:///./src/views/app/v3/contracts/Contracts.vue","webpack:///./src/views/app/v3/contracts/Contracts.vue?0ad2","webpack:///./src/views/app/v3/contracts/Contracts.vue?2d04","webpack:///./src/views/app/v3/visits/VisitsList.vue?e351","webpack:///./src/views/app/v3/visits/VisitsList.vue","webpack:///./src/views/app/v3/visits/VisitsList.vue?24ce","webpack:///./src/views/app/v3/visits/VisitsList.vue?90a6","webpack:///./src/components/marketing/toggles/CurrencyToggle.vue?e9a2","webpack:///./src/components/marketing/toggles/CurrencyToggle.vue","webpack:///./src/components/marketing/toggles/CurrencyToggle.vue?2367","webpack:///./src/components/marketing/toggles/CurrencyToggle.vue?ce3b","webpack:///./src/components/shared/buttons/LoadingButton.vue?3439","webpack:///./src/components/shared/buttons/LoadingButton.vue?f2a8","webpack:///./src/components/shared/buttons/LoadingButton.vue?692d","webpack:///./src/components/shared/buttons/LoadingButton.vue?f5e1","webpack:///./src/components/app/v3/contacts/LinksPendingList.vue?088e","webpack:///./src/components/app/v3/contacts/LinkConfirmInvitation.vue?2c89","webpack:///./src/components/app/v3/contacts/LinkConfirmInvitation.vue","webpack:///./src/components/app/v3/contacts/LinkConfirmInvitation.vue?f552","webpack:///./src/components/app/v3/contacts/LinkConfirmInvitation.vue?9783","webpack:///./src/components/app/v3/contacts/LinksPendingList.vue","webpack:///./src/components/app/v3/contacts/LinksPendingList.vue?7ea4","webpack:///./src/components/app/v3/contacts/LinksPendingList.vue?59e5","webpack:///./src/views/admin/pricing/SubscriptionProductsForm.vue?2c11","webpack:///./src/views/admin/pricing/SubscriptionProductsForm.vue?c69f","webpack:///./src/views/admin/pricing/SubscriptionProductsForm.vue?4639","webpack:///./src/views/admin/pricing/SubscriptionProductsForm.vue?8342","webpack:///./src/application/enums/master/users/UserType.ts","webpack:///./src/views/account/Logout.vue?2efa","webpack:///src/views/account/Logout.vue","webpack:///./src/views/account/Logout.vue?00b0","webpack:///./src/views/account/Logout.vue","webpack:///./src/components/shared/modals/NewErrorModal.vue?0013","webpack:///./src/components/shared/modals/NewErrorModal.vue","webpack:///./src/components/shared/modals/NewErrorModal.vue?de73","webpack:///./src/components/shared/modals/NewErrorModal.vue?63e5","webpack:///./src/views/app/v3/contacts/Providers.vue?afaf","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersList.vue?fcad","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersListAndTable.vue?29c0","webpack:///./src/components/shared/dropdowns/DropdownSimple.vue?186c","webpack:///./src/components/shared/dropdowns/DropdownSimple.vue","webpack:///./src/components/shared/dropdowns/DropdownSimple.vue?5129","webpack:///./src/components/shared/dropdowns/DropdownSimple.vue?cce5","webpack:///./src/components/app/v3/documentation/SideDocumentUpload.vue?4be1","webpack:///./src/components/app/v3/documentation/SideDocumentUpload.vue","webpack:///./src/components/app/v3/documentation/SideDocumentUpload.vue?3442","webpack:///./src/components/app/v3/documentation/SideDocumentUpload.vue?3672","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersListAndTable.vue","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersListAndTable.vue?1f2e","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersListAndTable.vue?4533","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersList.vue","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersList.vue?38bc","webpack:///./src/components/app/v3/contacts/providers/list/ProvidersList.vue?828e","webpack:///./src/views/app/v3/contacts/Providers.vue","webpack:///./src/views/app/v3/contacts/Providers.vue?dc29","webpack:///./src/views/app/v3/contacts/Providers.vue?3c6a","webpack:///./src/views/admin/pricing/SubscriptionPrices.vue?a134","webpack:///./src/views/admin/pricing/SubscriptionPrices.vue","webpack:///./src/views/admin/pricing/SubscriptionPrices.vue?bda6","webpack:///./src/views/admin/pricing/SubscriptionPrices.vue?d134","webpack:///./src/utils/store/TenantUtils.ts","webpack:///./src/router/accountRoutes.ts","webpack:///./src/router/adminRoutes.ts","webpack:///./src/router/appSettingsRoutes.ts","webpack:///./src/router/appRoutes.ts","webpack:///./src/router/marketingRoutes.ts","webpack:///./src/router/routes.ts","webpack:///./src/router/index.ts","webpack:///./src/application/enums/master/tenants/TenantUserJoined.ts","webpack:///./src/views/app/v3/cfdis/CfdisSync.vue?3981","webpack:///./src/application/enums/app/v3/cfdis/ExtractionStatus.ts","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsList.vue?795c","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsListAndTable.vue?1d2b","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsListAndTable.vue","webpack:///./src/application/enums/app/v3/cfdis/SyncCfdisStatus.ts","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsListAndTable.vue?530e","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsListAndTable.vue?62b9","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsList.vue","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsList.vue?7fb0","webpack:///./src/components/app/v3/cfdis/extractions/InvoiceExtractionsList.vue?e605","webpack:///./src/views/app/v3/cfdis/CfdisSync.vue","webpack:///./src/views/app/v3/cfdis/CfdisSync.vue?93da","webpack:///./src/views/app/v3/cfdis/CfdisSync.vue?e426","webpack:///./src/application/enums/app/v3/links/LinkStatus.ts","webpack:///./src/components/shared/forms/Selector.vue?5a2b","webpack:///./src/components/shared/forms/Selector.vue","webpack:///./src/components/shared/forms/Selector.vue?be66","webpack:///./src/components/shared/forms/Selector.vue?5575","webpack:///./src/plugins/tiny-eventbus.ts","webpack:///./src/application/enums/app/v3/cfdis/FiscalCredentialType.ts","webpack:///./src/views/marketing/Privacy.vue?7b43","webpack:///src/views/marketing/Privacy.vue","webpack:///./src/views/marketing/Privacy.vue?7ce7","webpack:///./src/views/marketing/Privacy.vue?c2b9","webpack:///./src/views/admin/pricing/SubscriptionProductsForm.vue?59af","webpack:///./src/components/app/v3/employees/profile/EmployeeCFDIs.vue?1b88","webpack:///./src/components/app/v3/employees/profile/EmployeeCFDIs.vue","webpack:///./src/components/app/v3/employees/profile/EmployeeCFDIs.vue?1f7d","webpack:///./src/components/app/v3/employees/profile/EmployeeCFDIs.vue?be36","webpack:///./src/components/marketing/pricing/Products.vue?90f8","webpack:///./src/components/marketing/pricing/Products.vue","webpack:///./src/components/marketing/pricing/Products.vue?4fa5","webpack:///./src/components/marketing/pricing/Products.vue?c354","webpack:///./src/application/enums/app/v3/contracts/ContractActivityType.ts","webpack:///./src/views/admin/pricing/SubscriptionProduct.vue?7656","webpack:///./src/components/shared/navigation/PageTitle.vue?7bab","webpack:///./src/components/shared/navigation/PageTitle.vue","webpack:///./src/components/shared/navigation/PageTitle.vue?9b23","webpack:///./src/components/shared/navigation/PageTitle.vue?273f","webpack:///./src/views/admin/pricing/SubscriptionProduct.vue","webpack:///./src/views/admin/pricing/SubscriptionProduct.vue?31aa","webpack:///./src/views/admin/pricing/SubscriptionProduct.vue?d1c5","webpack:///./src/views/account/Login.vue?3909","webpack:///./src/views/account/Login.vue","webpack:///./src/views/account/Login.vue?787a","webpack:///./src/views/account/Login.vue?9981","webpack:///./src/application/enums/master/subscriptions/SubscriptionPriceType.ts","webpack:///./src/assets/contracts/Sign.vue?c83d","webpack:///src/assets/contracts/Sign.vue","webpack:///./src/assets/contracts/Sign.vue?3019","webpack:///./src/assets/contracts/Sign.vue","webpack:///./src/views/marketing/Terms.vue?1c55","webpack:///./src/views/marketing/Terms.vue?6914","webpack:///./src/views/marketing/Terms.vue?c639","webpack:///./src/views/marketing/Terms.vue?f545","webpack:///./src/views/admin/pricing/SubscriptionFeatures.vue?c9ae","webpack:///./src/application/dtos/master/subscriptions/SubscriptionFeatureDto.ts","webpack:///./src/views/admin/pricing/SubscriptionFeatures.vue","webpack:///./src/views/admin/pricing/SubscriptionFeatures.vue?ecf7","webpack:///./src/views/admin/pricing/SubscriptionFeatures.vue?cfd8","webpack:///./src/views/admin/Users.vue?49bb","webpack:///./src/views/admin/Users.vue","webpack:///./src/views/admin/Users.vue?fd23","webpack:///./src/views/admin/Users.vue?4284","webpack:///./src/assets/contracts/ContractArchived.vue?2d04","webpack:///src/assets/contracts/ContractArchived.vue","webpack:///./src/assets/contracts/ContractArchived.vue?2e7d","webpack:///./src/assets/contracts/ContractArchived.vue","webpack:///./src/application/contracts/app/v3/documentation/DocumentationStatusFilter.ts","webpack:///./src/App.vue?bfe6","webpack:///./src/App.vue?ec60","webpack:///./src/App.vue?0ab4","webpack:///./src/App.vue?bff9","webpack:///./src/registerServiceWorker.ts","webpack:///./src/plugins/vuex.js","webpack:///./src/plugins/integrations/logging.ts","webpack:///./src/plugins/directives.js","webpack:///./src/main.ts","webpack:///./src/components/shared/buttons/ButtonPrimary.vue?e958","webpack:///src/components/shared/buttons/ButtonPrimary.vue","webpack:///./src/components/shared/buttons/ButtonPrimary.vue?9c9b","webpack:///./src/components/shared/buttons/ButtonPrimary.vue","webpack:///./src/components/app/settings/tenant/TenantMembers.vue?4131","webpack:///./src/components/app/settings/tenant/TenantMembers.vue","webpack:///./src/components/app/settings/tenant/TenantMembers.vue?d46f","webpack:///./src/components/app/settings/tenant/TenantMembers.vue?948d","webpack:///./src/components/app/workspaces/EditWorkspaceCredential.vue?1449","webpack:///./src/components/app/workspaces/EditWorkspaceCredential.vue","webpack:///./src/components/app/workspaces/EditWorkspaceCredential.vue?b48e","webpack:///./src/components/app/workspaces/EditWorkspaceCredential.vue?c49a","webpack:///./src/components/marketing/Footer.vue?4912","webpack:///src/components/marketing/Footer.vue","webpack:///./src/components/marketing/Footer.vue?5881","webpack:///./src/components/marketing/Footer.vue","webpack:///./src/views/app/settings/Settings.vue?8317","webpack:///./src/views/app/settings/Settings.vue","webpack:///./src/views/app/settings/Settings.vue?4351","webpack:///./src/views/app/settings/Settings.vue?b0bf","webpack:///./src/application/enums/app/common/Extension.ts","webpack:///./src/application/dtos/ColumnType.ts","webpack:///./src/components/app/v3/contracts/uploads/DropDocument.vue?3c5a","webpack:///./src/components/app/v3/contracts/uploads/DropDocument.vue?c232","webpack:///./src/components/app/v3/contracts/uploads/DropDocument.vue?1b31","webpack:///./src/components/app/v3/contracts/uploads/DropDocument.vue?b8d5","webpack:///./src/components/shared/banners/WarningBanner.vue?0afa","webpack:///./src/components/shared/banners/WarningBanner.vue","webpack:///./src/components/shared/banners/WarningBanner.vue?90e5","webpack:///./src/components/shared/banners/WarningBanner.vue?deca","webpack:///./src/views/account/InviteURL.vue?9944","webpack:///./src/views/account/InviteURL.vue","webpack:///./src/views/account/InviteURL.vue?5941","webpack:///./src/views/account/InviteURL.vue?c447","webpack:///./src/views/admin/tenants/Tenant.vue?9d1b","webpack:///./src/views/admin/tenants/Tenant.vue","webpack:///./src/views/admin/tenants/Tenant.vue?5ed4","webpack:///./src/views/admin/tenants/Tenant.vue?8bcb","webpack:///./src/components/shared/modals/Modal.vue?21a6","webpack:///./src/components/shared/modals/Modal.vue","webpack:///./src/components/shared/modals/Modal.vue?8498","webpack:///./src/components/shared/modals/Modal.vue?028d","webpack:///./src/components/app/v3/documentation/AllDocumentation.vue?87da","webpack:///./src/components/app/v3/documentation/DocumentsTable.vue?1fd2","webpack:///./src/components/app/v3/documentation/DocumentTableRow.vue?f06c","webpack:///./src/components/app/v3/documentation/DocumentTableRow.vue?cbaa","webpack:///./src/components/app/v3/documentation/DocumentTableRow.vue?4a15","webpack:///./src/components/app/v3/documentation/DocumentTableRow.vue?4c7d","webpack:///./src/components/app/v3/documentation/DocumentView.vue?6f23","webpack:///./src/components/app/v3/documentation/DocumentView.vue","webpack:///./src/components/app/v3/documentation/DocumentView.vue?c731","webpack:///./src/components/app/v3/documentation/DocumentView.vue?3adc","webpack:///./src/components/app/v3/documentation/DocumentsTable.vue","webpack:///./src/components/app/v3/documentation/DocumentsTable.vue?946b","webpack:///./src/components/app/v3/documentation/DocumentsTable.vue?365f","webpack:///./src/components/app/v3/documentation/AllDocumentation.vue","webpack:///./src/components/app/v3/documentation/AllDocumentation.vue?f936","webpack:///./src/components/app/v3/documentation/AllDocumentation.vue?2ea9","webpack:///./src/components/app/v3/employees/profile/EmployeeProfile.vue?10c8","webpack:///./src/components/app/v3/employees/profile/EmployeeProfile.vue","webpack:///./src/components/app/v3/employees/profile/EmployeeProfile.vue?9b35","webpack:///./src/components/app/v3/employees/profile/EmployeeProfile.vue?6ab8","webpack:///./src/components/marketing/toggles/DarkModeToggle.vue?7439","webpack:///./src/components/marketing/toggles/DarkModeToggle.vue","webpack:///./src/components/marketing/toggles/DarkModeToggle.vue?d3b5","webpack:///./src/components/marketing/toggles/DarkModeToggle.vue?ff3b","webpack:///./src/assets/contracts/WorkerMale.vue?2b7c","webpack:///src/assets/contracts/WorkerMale.vue","webpack:///./src/assets/contracts/WorkerMale.vue?f111","webpack:///./src/assets/contracts/WorkerMale.vue","webpack:///./src/components/shared/buttons/ButtonSecondary.vue?4dba","webpack:///src/components/shared/buttons/ButtonSecondary.vue","webpack:///./src/components/shared/buttons/ButtonSecondary.vue?6600","webpack:///./src/components/shared/buttons/ButtonSecondary.vue","webpack:///./src/locale/en-US/index.js","webpack:///./src/locale/es-MX/index.js","webpack:///./src/locale/index.js","webpack:///./src/plugins/vue-i18n.ts","webpack:///./src/utils/shared/DateUtils.ts","webpack:///./src/views/app/dashboard/Dashboard.vue?371a","webpack:///./src/application/enums/app/common/Period.ts","webpack:///./src/components/app/widgets/workspaces/WorkspacesWidget.vue?5dc2","webpack:///./src/components/app/workspaces/WorkspaceItem.vue?4a63","webpack:///./src/components/shared/dropdowns/DropdownOptions.vue?f6dd","webpack:///./src/components/shared/dropdowns/DropdownOptions.vue","webpack:///./src/components/shared/dropdowns/DropdownOptions.vue?a88f","webpack:///./src/components/shared/dropdowns/DropdownOptions.vue?83b1","webpack:///./src/components/shared/selectors/UserMultiselect.vue?705b","webpack:///./src/components/shared/selectors/UserMultiselect.vue","webpack:///./src/application/enums/app/common/Colors.ts","webpack:///./src/components/shared/selectors/UserMultiselect.vue?8e4f","webpack:///./src/components/shared/selectors/UserMultiselect.vue?1e5b","webpack:///./src/utils/shared/ColorUtils.ts","webpack:///./src/components/app/workspaces/WorkspaceItem.vue","webpack:///./src/components/app/workspaces/WorkspaceItem.vue?9705","webpack:///./src/components/app/workspaces/WorkspaceItem.vue?cbc0","webpack:///./src/components/app/widgets/workspaces/WorkspacesWidget.vue","webpack:///./src/components/app/widgets/workspaces/WorkspacesWidget.vue?2b38","webpack:///./src/components/app/widgets/workspaces/WorkspacesWidget.vue?bf3a","webpack:///./src/components/app/usages/ProvidersUsage.vue?7b6f","webpack:///./src/components/app/usages/ProvidersUsage.vue","webpack:///./src/components/app/usages/ProvidersUsage.vue?6735","webpack:///./src/components/app/usages/ProvidersUsage.vue?a6a1","webpack:///./src/components/app/usages/ClientsUsage.vue?9102","webpack:///./src/components/app/usages/ClientsUsage.vue","webpack:///./src/components/app/usages/ClientsUsage.vue?b2a5","webpack:///./src/components/app/usages/ClientsUsage.vue?5b56","webpack:///./src/components/app/usages/EmployeesUsage.vue?5323","webpack:///./src/components/app/usages/EmployeesUsage.vue","webpack:///./src/components/app/usages/EmployeesUsage.vue?22e9","webpack:///./src/components/app/usages/EmployeesUsage.vue?3dde","webpack:///./src/components/app/usages/CfdisUsage.vue?c0e9","webpack:///./src/components/app/usages/CfdisUsage.vue","webpack:///./src/components/app/usages/CfdisUsage.vue?88ec","webpack:///./src/components/app/usages/CfdisUsage.vue?4713","webpack:///./src/utils/store/UserUtils.ts","webpack:///./src/views/app/dashboard/Dashboard.vue","webpack:///./src/views/app/dashboard/Dashboard.vue?cef0","webpack:///./src/views/app/dashboard/Dashboard.vue?53d0","webpack:///./src/views/app/v3/employees/SelectEmployees.vue?0420","webpack:///./src/views/app/v3/employees/SelectEmployees.vue","webpack:///./src/views/app/v3/employees/SelectEmployees.vue?ff63","webpack:///./src/views/app/v3/employees/SelectEmployees.vue?6152","webpack:///./src/views/admin/tenants/Tenants.vue?fc1a","webpack:///./src/views/admin/tenants/Tenants.vue","webpack:///./src/views/admin/tenants/Tenants.vue?97a2","webpack:///./src/views/admin/tenants/Tenants.vue?f55e","webpack:///./src/views/admin/pricing/SubscriptionPricesForm.vue?7061","webpack:///./src/views/admin/pricing/SubscriptionPricesForm.vue","webpack:///./src/views/admin/pricing/SubscriptionPricesForm.vue?a3f6","webpack:///./src/views/admin/pricing/SubscriptionPricesForm.vue?3a99","webpack:///./src/views/app/v3/employees/Employees.vue?2bc9","webpack:///./src/components/app/v3/employees/list/EmployeesList.vue?a7d9","webpack:///./src/components/app/v3/employees/list/EmployeesList.vue","webpack:///./src/components/app/v3/employees/list/EmployeesList.vue?6d26","webpack:///./src/components/app/v3/employees/list/EmployeesList.vue?3032","webpack:///./src/views/app/v3/employees/Employees.vue","webpack:///./src/views/app/v3/employees/Employees.vue?c2cd","webpack:///./src/views/app/v3/employees/Employees.vue?a5ad","webpack:///./src/components/app/v3/employees/visits/VisitsListAndTable.vue?7a4a","webpack:///./src/components/app/v3/employees/visits/VisitsListAndTable.vue","webpack:///./src/components/app/v3/employees/visits/VisitsListAndTable.vue?c855","webpack:///./src/components/app/v3/employees/visits/VisitsListAndTable.vue?880d","webpack:///./src/views/app/users/SelectUsers.vue?a22a","webpack:///./src/views/app/users/SelectUsers.vue","webpack:///./src/views/app/users/SelectUsers.vue?484e","webpack:///./src/views/app/users/SelectUsers.vue?443f","webpack:///./src/components/app/settings/members/EditMember.vue?6953","webpack:///./src/components/app/settings/members/EditMember.vue","webpack:///./src/components/app/settings/members/EditMember.vue?9ec0","webpack:///./src/components/app/settings/members/EditMember.vue?3247","webpack:///./src/components/shared/emptyState/EmptyState.vue?a16d","webpack:///./src/components/shared/emptyState/EmptyStateSimple.vue?85b0","webpack:///./src/components/shared/icons/ResultsEmptyIcon.vue?0103","webpack:///./src/components/shared/icons/ResultsEmptyIcon.vue","webpack:///./src/components/shared/buttons/ButtonTertiary.vue?51e3","webpack:///src/components/shared/buttons/ButtonTertiary.vue","webpack:///./src/components/shared/buttons/ButtonTertiary.vue?0d79","webpack:///./src/components/shared/buttons/ButtonTertiary.vue","webpack:///./src/components/shared/emptyState/EmptyStateSimple.vue","webpack:///./src/components/shared/emptyState/EmptyStateSimple.vue?507d","webpack:///./src/components/shared/emptyState/EmptyStateSimple.vue?81a0","webpack:///./src/components/shared/emptyState/EmptyState.vue","webpack:///./src/components/shared/emptyState/EmptyState.vue?7133","webpack:///./src/components/shared/emptyState/EmptyState.vue?6c61","webpack:///./src/plugins/SignalR.ts","webpack:///./src/components/shared/modals/NewModal.vue?8a19","webpack:///./src/components/shared/modals/NewModal.vue","webpack:///./src/components/shared/modals/NewModal.vue?0c2e","webpack:///./src/components/shared/modals/NewModal.vue?a5c7","webpack:///./src/components/marketing/Hero.vue?4d0f","webpack:///./src/application/enums/app/common/Role.ts","webpack:///./src/components/app/v3/contracts/uploads/DropDocument.vue?a0dc","webpack:///./src/components/marketing/toggles/BillingPeriodToggle.vue?36eb","webpack:///./src/components/marketing/toggles/BillingPeriodToggle.vue","webpack:///./src/components/marketing/toggles/BillingPeriodToggle.vue?ba91","webpack:///./src/components/marketing/toggles/BillingPeriodToggle.vue?d35b","webpack:///./src/views/admin/pricing/SubscriptionProductsList.vue?03bf","webpack:///./src/views/admin/pricing/SubscriptionProductsList.vue","webpack:///./src/views/admin/pricing/SubscriptionProductsList.vue?c09e","webpack:///./src/views/admin/pricing/SubscriptionProductsList.vue?b4dd","webpack:///./src/application/enums/shared/Theme.ts","webpack:///./src/components/app/v3/contacts/links/LinksList.vue?1e0a","webpack:///./src/components/app/v3/contacts/links/LinksListAndTable.vue?e85c","webpack:///./src/components/app/v3/contacts/links/LinksListAndTable.vue","webpack:///./src/components/app/v3/contacts/links/LinksListAndTable.vue?4634","webpack:///./src/components/app/v3/contacts/links/LinksListAndTable.vue?8e7d","webpack:///./src/components/app/v3/contacts/links/LinksList.vue","webpack:///./src/components/app/v3/contacts/links/LinksList.vue?0793","webpack:///./src/components/app/v3/contacts/links/LinksList.vue?8751","webpack:///./src/assets/img/logo-light.png"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","numeral","numberFormat","format","decimalFormat","intFormat","render","_vm","this","_h","$createElement","_c","_self","on","$event","type","indexOf","_k","keyCode","close","staticClass","_e","attrs","class","size","paddingY","_v","_s","title","paddingContent","_t","$t","staticRenderFns","document","addEventListener","evt","$emit","default","components","component","directives","rawName","expression","$$selectedVal","Array","filter","target","options","selected","map","val","_value","year","multiple","_l","idxYear","domProps","downloadAll","toggleOptions","reload","uploadDocument","link","providerWorkspace","taxId","legalName","$route","params","id","loading","ref","open","years","Date","getFullYear","currentYear","Number","query","ejercicio","isNaN","services","links","then","closeOptions","$refs","allDocumentation","sendDocumentationStatus","store","state","tenant","currentWorkspace","metaInfo","titleTemplate","Breadcrumb","AllDocumentation","ConfirmModal","SuccessModal","ErrorModal","locale","toString","namespaced","mutations","reset","lang","split","updateLocale","user","account","actions","logged","commit","authenticated","token","auth","logout","localStorage","clear","router","login","payload","startConnection","setItem","dispatch","tenants","currentTenant","defaultWorkspace","analytics","identify","username","email","firstName","lastName","ex","console","log","currentUser","UserType","Admin","role","TenantUserRole","GUEST","currentRoute","redirect","path","removeItem","closeConnection","current","subscription","members","workspaces","features","getters","defaultSubscriptionCard","paymentMethods","card","activeProduct","myProducts","activePrice","subscriptionPrice","isOwnerOrAdmin","OWNER","ADMIN","memberCount","workspacesCount","myTenants","currentImage","imageType","image","icon","logo","logoDarkmode","customer","forEach","subscriptionCustomerId","products","find","f","currentWorkspaceType","settings","subdomain","selectedProduct","billingPeriod","SubscriptionBillingPeriod","MONTHLY","currency","pricing","product","subscriptionProduct","sort","x","y","tier","prices","price","SubscriptionPriceType","RECURRING","select","defaultState","theme","Theme","Light","htmlClasses","querySelector","classList","remove","add","usage","providers","providersInCompliance","clients","contracts","cfdis","employees","storage","pendingInvitations","maxUsers","maxWorkspaces","maxLinks","maxStorage","monthlyContracts","showTips","app","AppUsageType","ALL","PROVIDERS","CLIENTS","EMPLOYEES","CFDIS","CONTRACTS","STORAGE","PENDING_INVITATIONS","use","debug","strict","plugins","Store","controller","method","headers","Promise","resolve","reject","response","status","error","JSON","stringify","body","post","responseType","fileData","put","obj","parts","valueStr","encodeURIComponent","join","userId","setTimeout","go","tenantId","tenantUserId","getAll","avatar","password","linkUuid","invitation","TenantUserStatus","ACTIVE","loginType","userLoginType","serviceId","undefined","description","custom","trialDays","active","YEARLY","order","included","translateInFrontend","badge","defaultProducts","fromServer","onlyActive","feature","couponId","cardToken","cardTokenRequest","Error","saveInStore","parse","getAllWorkspaces","fileType","fakeNamesAndEmails","phone","subscriptions","created","invoices","invoicePdf","lines","planName","planInterval","planCurrency","priceUnitAmount","priceType","cards","brand","expiryMonth","expiryYear","lastFourDigits","expiryDate","tenantProducts","subscriptionPriceId","startDate","endDate","setMonth","getMonth","subscriptionServiceId","currentSubscription","newSuscription","fakeSubscriptionManagerService","createTenant","index","uuid","domain","subscriptionPlanId","users","types","MEMBER","idxType","Tenant","UserLoginType","PASSWORD","defaultTenantId","defaultTenant","timezone","joined","TenantUserJoined","CREATOR","chatbotToken","accepted","companyRole","element","currentSubcription","summary","newTenant","fakeTenantService","ContractInvitationStatus","fakeUserService","fakeEmployees","fullName","rfc","curp","nss","createdByUserId","createdByUser","createdAt","lastName1","lastName2","socialSecurityId","populationRegistryId","version","fecha","sello","noCertificado","certificado","subTotal","moneda","total","tipoDeComprobante","lugarExpedicion","emisorRfc","emisorNombre","emisorRegimenFiscal","receptorRfc","receptorNombre","trim","receptorResidenciaFiscal","receptorNumRegIdTrib","receptorUsoCfdi","serie","folio","formaPago","condicionesDePago","descuento","tipoCambio","metodoPago","confirmacion","xmlText","xml","FakeXmlBase64","pdf","FakePdfBase64","fileName","cfdisRelacionados","conceptos","impuestos","complemento","addenda","hasXml","hasPdf","employeeId","employee","paymentDate","startPeriod","endPeriod","riskPrime","item","fakeCompanies","fakeEmployeeService","cfdi","contract","contractEmployeeCfdi","contractId","contractEmployeeId","contractEmployee","cfdiId","read","userService","cfdisService","invitations","ContractMemberRole","SIGNATORY","signDate","SPECTATOR","listId","list","employeeLists","number","hasFile","digitalSignatureId","contractStatus","ContractStatus","PENDING","SIGNED","ARCHIVED","activityTypes","ContractActivityType","CREATED","SIGNED_PARTIAL","SIGNED_FULL","UPDATED_EMPLOYEES","idxContract","activity","idxActivity","setDate","today","getDate","estimatedStartDate","realStartDate","estimatedTerminationDate","realTerminationDate","employeeCfdi","linkId","createdByWorkspaceId","createdByWorkspace","LinkStatus","LINKED","providerWorkspaceId","businessMainActivity","WorkspaceType","SPECIALIZED_PROVIDER","registrationNumber","registrationDate","documentation","clientWorkspaceId","clientWorkspace","REGULAR","visits","public","idxVisits","visit","comments","ContractStatusFilter","addMember","employeeList","signature","request","file","DocumentationType","SAT_COMPLIANCE","Periodicity","SAT_MONTHLY_ISR_STATEMENT","IMSS_COMPLIANCE","INFONAVIT_COMPLIANCE","INFONAVIT_SISUB","QUATERLY","STPS_REPSE","SAT_YEARLY_STATEMENT","IMSS_SUA_EMPLOYEES_FEES","IMSS_SIPARE_SUA_PAYMENT","IMSS_SIPARE_SUA","SAT_MONTHLY_PAYMENT","SAT_MONTHLY_TAX_STATEMENT","validatePreivousPeriods","date","byDate","fakeUser","addressStreet","addressExterior","addressInterior","addressNeighborhood","addressCity","addressZip","addressState","addressCountry","workspaceId","Role","ADMINISTRATOR","workspace","fakeWorkspaceService","fakeContractService","periods","month","documentNumber","periodIdx","period","documentType","periodicity","provider","client","tenantUsers","fakeTenantUsersService","subscriptionProducts","subscriptionManager","tenantUserInvitations","authentication","AppLayout","staticStyle","preventDefault","selectMonthly","getBillingPeriodName","toggleBillingPeriod","$store","selectYearly","getYearlyDiscount","changedProduct","showCurrent","getPriceAmount","getFeatureDescription","droppedDown","showOptions","getProducts","loadCurrent","selectProductIfNotSelected","closeDropdown","ONCE","selectedPrice","NumberUtils","getPrice","e","priceYearly","getPriceWithInterval","priceMonthly","discount","toFixed","TenantUtils","BillingPeriodToggle","CurrencyToggle","Loading","emailSent","composing","_m","verifyToken","loadingButton","start","errorModal","show","stop","Logo","LoadingButton","maxSize","save","toUpperCase","changedType","currentUsersDescription","selectUsers","selectedUsers","$nextTick","inputName","focus","event","$router","emitter","emit","successModal","items","WarningBannner","SelectUsers","editing","modelName","cancel","scopedSlots","_u","fn","disabled","schema","model","formOptions","onValidated","proxy","yesSave","yesRemove","flagAllowEdit","flagAllowDelete","isValid","schemaReady","validateAfterLoad","validateAfterChanged","generateSchemaFromColumns","createDefaultObject","fields","columns","column","allowEdit","cannotEdit","field","ColumnType","getFormType","inputType","getFormInputType","label","placeholder","required","optional","valueType","Bool","values","getValues","validator","files","preview","hideInput","rows","String","Money","ResourceFileType","File","TextArea","errors","vfg","validate","confirmSave","confirmRemove","SideModal","sortedItems","new","thereAreNo","idxEmployee","dateMonthName","header","idx","sortBy","invisible","sortByColumn","sortDirection","canEdit","downloadLink","createElement","href","download","click","DateUtils","Icon","EmptyState","saveNewDocument","downloadCurrentDocument","uploadingDocumentType","institutionName","institution","uploadingPeriodicityIsRecurring","uploadingDocumentPeriodicity","uploadingDocumentYear","uploadingDocumentPeriod","idxPeriod","uploadingDocumentFileBase64","startsWith","droppedDocumentFile","deleteDocument","closeUpload","loadingUploading","confirmedSaveOrUpdate","confirmedDelete","documentTypes","showing","uploadingDocumentFile","closeText","downloadMyDocument","errorModalUploading","keyup","confirmDeleteModal","periodName","inPeriod","confirmModal","updateDocumentPeriod","confirmedUpdate","confirmedSave","isPublic","uploaded","base64","extension","DocumentationInstitution","allYears","doc","BIMONTHLY","DropDocument","searchInput","workspaceType","userEmails","fiscalTypeName","fiscalWorkspace","getFeatures","off","FiscalCredentialType","includes","$forceUpdate","filteredItems","WarningBanner","homeRoute","routeName","props","mounted","home","isSelected","toggle","accept","tabs","Tabs","ContractEmailFormat","deleteContract","toggleEdit","downloadPdf","alreadySigned","tag","canBeEdited","downloadFile","send","providerFullName","clientFullName","contractPdf","currentPage","nextPage","pageCount","removePdf","droppedContractFile","canSign","getActivityTitle","dateDM","yesSend","yesSendContract","yesDelete","signing","sign","member","idxMember","currentEmail","isCurrentMember","selectedMember","Sign","Clock","ContractFileType","openOptions","loadingPdf","getContract","loadPdf","pages","PDF","SIGNED_PDF","confirmDelete","alert","confirmSendReminder","input","emails","REMINDER","confirmSendContract","NEW","signedDate","update","currentMember","currentRole","ContractMembers","toLowerCase","changedRole","currentWorkspacesDescription","selectWorkspaces","selectedWorkspaces","inputEmail","inviteUser","sendEmail","SelectWorkspaces","apiUrl","replace","location","hostname","config","baseURL","server","a","defaults","common","interceptors","message","authToken","Authorization","paramName","breakpoint","tab","selectTab","isCurrent","routeParams","tabName","currentTab","TabsInPills","TabsInPillsWithBrandColor","idxCfdi","withContract","Header","subfeature","idxSub","classes","documents","Hero","FeaturesV2","FeaturesV3","FeaturesV4","JoinNow","Footer","getAllCfdis","TableRowSkeleton","NewModal","CfdisListAndTable","getClasses","dragOver","dragLeave","drop","getImageSources","getGridCols","img","requestUploadFile","isDragging","imageSources","imageFile","maxSizeMB","maxWidthOrHeight","useWebWorker","dataTransfer","newImagesPromises","compressFile","compressFileNotImage","all","filesArray","promises","promise","getBase64","loadImages","concat","src","$el","reader","FileReader","onload","ev","readAsDataURL","Boolean","employeesFile","importingEmployees","showImportEmployees","downloadEmployeesFileTemplate","droppedEmployeesFile","removeEmployee","refInFor","$set","addEmployee","goToProfile","employeesVisiting","confirmText","confirmCreate","createMultiple","csvContent","encodedUri","encodeURI","setAttribute","appendChild","filesBase64","csvToArray","employeeObject","clearEmptyEmployees","readAsText","str","delimiter","arr","row","el","reduce","DropCfdis","VisitsListAndTable","newEmployees","NewEmployees","idxList","currentList","showList","dateYMDHMS","newList","saveList","addingNewList","withLabels","removeFile","addendumFile","droppedAddendumFile","selectedEmployees","confirmSaveList","confirmedSign","currentEmployeeList","downloadAddendum","updateEmployeeList","addendum","confirmSign","mb","selectEmployees","EmployeesListAndTable","SelectEmployees","text","dateYMD","dateAgo","trialEnds","successModalDeletedClosed","loadingContracts","adminGetProducts","adminDelete","successModalDeleted","ContractClock","ContractCheck","ContractArchived","webpackContext","req","webpackContextResolve","code","keys","sidebarOpen","addingTenant","layout","group","menuItem","toggleMenuItem","menuItemIsExpanded","subItem","pathName","pathParams","nativeOn","activeContracts","currentWorkspaceId","createdTenant","complete","stripeKey","stripeOptions","pay","getButtonText","tryRegister","showCardHolderName","hidePostalCode","iconStyle","elements","cardModal","register","stripeCardToken","tenantCreateRequest","workspaceTaxIdRfc","workspaceLegalName","selectedSubscription","subscriptionCardToken","subscriptionCoupon","priceDescription","Modal","Plans","Card","getEndsIn","getEndOfTrial","getCurrentSubscription","$d","oneDay","diffDays","Math","round","abs","getTime","now","untilDate","breadcrumb","breadcrumbList","updateList","watch","methods","routeTo","pRouteTo","meta","pushToParent","pathArray","pop","routes","parentRoute","computed","isGuid","stringToTest","substring","regexGuid","test","previousRoutes","isInteger","breadcrumbs","AdminSidebar","userTypes","AppSidebar","userRoles","toggleDropDown","enter","search","change","dropDown","inputSearch","dropdown","changeTenant","getPlanFromTenant","addTenant","closeDropdownTenant","updateDefaultTenant","LinksPendingList","showLinksInformation","linksLeft","linksPlan","showPendingLinks","getCurrentUsage","showQuickActions","newProvider","newClient","dropDownUser","profileName","closeDropdownUser","showChat","$crisp","dropDownTenantMobile","dropDownTenantDesktop","menu","expanded","whatsAppLink","isSandbox","VUE_APP_PHONE","showConversations","modalLinksInformation","newProviderLinkForm","newClientLinkForm","newLinkForm","$intercom","$drift","closeDropdownTenantDesktop","route","some","currentUserType","validItems","addGroup","mainElement","scrollTo","TenantNew","TenantSubscriptionStatus","WorkspaceSelector","TenantSelector","LinksInformationModal","PendingInvitationsSideModal","LinksInformationButton","PendingInvitationsButton","QuickActionsButton","ProfileButton","ChatSupportButton","LinkForm","dateMonthDayYear","confirmCancel","openDropdown","saveText","selectingCurrentTenantProduct","updateSubscription","yesUpdate","subscriptionCard","createCustomerPortalSession","url","plans","activeProducts","activeTenantProducts","subscriptionCardLast4","subscriptionCardExpDesc","updatePaymentDetails","updateCardToken","upcomingInvoice","invoiceDescription","invoice","getUpcomingInvoice","dateLL","cancelSubscription","mySubscriptions","TenantSubscriptionPlan","TenantSubscriptionProducts","TenantSubscriptionPaymentDetails","TenantSubscriptionInvoices","getAllByStatusFilter","ActiveContractsListAndTable","ButtonSecondary","Image","$parent","Products","employeeVisiting","attended","notAttended","checkIn","checkOut","dateHMS","saveVisit","confirmSaveVisit","goToVisits","visitId","employeeListId","employeeVisit","undefinedAttendance","createVisit","newContractVisit","NewContractVisit","updateTenant","showUploadImage","uploadingImage","imageCurrent","loadedImage","option","defaultSelected","getCurrentTenantInForm","tenantIcon","tenantLogo","tenantLogoDarkMode","updateImage","UploadImage","Toggle","passwordConfirm","verify","GoogleSignInButton","totalLinks","linkWithUserAndTaxId","isArray","imProvider","_i","$$a","$$el","$$c","checked","$$v","$$i","loadingSearching","loadingLinking","createLink","confirmCreateLink","confirmInviteNewUser","createdLink","linkCreated","asProvider","searchUser","searchWorkspace","confirmInviteNewUserModal","searchMember","inviteText","confirmCreateLinkModal","createInvitation","inviteeIsProvider","CfdisList","translateModelProperty","routerLinks","convertedArray","convertedValue","edit","getLinkTo","uploadFile","FormData","fileList","columnName","translated","convertValue","TenantUserRoles","SubscriptionProducts","descriptions","uniqueArray","Set","to","selectedLink","contractFile","removeMember","selectedContractMembers","saveContract","trySelect","opened","getAllLinked","getNoMembers","getLinkUsers","contractMember","preselectLinkId","linkSelector","loadFeatures","changedAsProvider","selectContractMembers","maxContractsReached","maxContracts","loadSandboxInfo","VueCsvImport","Contract","Workers","LinkSelector","SelectContractMembers","supportedLocales","flag","lang_short","warningText","plan","idxFeature","productUrl","selectProduct","billingPeriodOnce","getPriceTrialDays","customPlan","isNavOpen","priceBefore","PricingUtils","selectedBillingPeriod","onlyUnique","self","Faq","defineCredentials","sync","confirmModalError","cfdiList","no","question","subtitle","inputString","yes","yesTitle","noTitle","yesButton","validateInput","removeEventListener","keyEvent","ctrlKey","certificate","droppedCertificate","privateKey","droppedKey","CIEC","createCredentialCiec","EFIRMA","createCredentialEfirma","InfoBanner","cfdiXmlAndPdfs","droppedFiles","cfdiXmlPdf","removeCfdiXmlPdf","uploading","uploadCfdisRequest","readCfdis","color","colors","dropDownFlags","showFlagInsteadOfLocale","getCurrentLocale","language","changedLocale","closeDropDownFlags","CountryFlag","Selector","DarkModeToggle","ColorSwitcher","FlagSelector","currentProduct","cols","withCurrentPlan","billableStatus","maxLinksRemaining","maxDocumentsRemaining","maxWorkspacesRemaining","maxUsersRemaining","loadDashboard","loadWorkspaces","loadUsers","max","remaining","newLink","idxClient","cliente","getAllClients","ClientsListAndTable","ClientsList","ButtonPrimary","ComplianceStatus","buttonClose","registered","tryRegisterWithPassword","emailEnabled","workspaceTaxIdEnabled","workspaceTaxId","toggleWorkspaceType","linkInvitation","acceptInvitation","rejectInvitation","cardCompleted","confirmedRegister","requireName","requirePhone","requirePassword","googleClientId","haveCoupon","couponCode","couponDescription","coupon","linkInvitationAccepted","VUE_APP_GOOGLE_CLIENT_ID_OAUTH2","searchCoupon","getInvitation","loadLinkInvitation","inputFirstName","modalInvitation","buttonAcceptInvitation","joinedByLinkInvitation","workspaceName","showError","getCoupon","confirmModalRegister","amountOff","percentOff","discountedPrice","expirations","expiresMonths","expiresDays","institutions","LEGAL","institutionClasses","SAT_ARTICLES_OF_INCORPORATION_DOCS","SAT","SAT_YEARLY_PAYMENT","IMSS","IMSS_ICSOE","INFONATIV","STPS","expiration","requiredFor","actionURL","_b","form","organization","sent","emailSupport","facebook","instagram","twitter","requiresVerify","getTitle","getStrings","onChange","customStrings","pictureInput","tap","fileSize","aspect","upload","drag","PictureInput","back","widgetOpened","widgetSuccess","showingSignedModal","signer","savingSignature","plugin","async","head","mifielMessage","getDigitalDocument","signers","signed","setupSignWidget","mifiel","widget","widgetId","widget_id","appendTo","successBtnText","origin","eventType","stopImmediatePropagation","selectedProductTitle","LinksList","successDescription","warnings","updateProfile","profile","updatePassword","canChangePassword","updatePasswordRequest","selectedLocale","locales","deleteAccount","timezones","timezonesOptions","updateRequest","passwordCurrent","passwordNew","deleteMe","updateAvatar","months","shortTitle","substr","script","deleteLink","reloadContracts","getAllByLink","callback","Datepicker","mixins","currentStatus","currentWorkspaceTaxIdIs","sortable","direction","sorted","idProp","temp","nameProp","descriptionProp","acceptWhenClose","selectedProviders","selectedClients","proveedor","getAllProviders","DocumentationStatusFilter","All","PendingContract","SignedContract","ArchivedContract","ContractsListAndTable","CheckboxSelect","changeContractsStatus","ContractsList","currencies","changeCurrency","allCurrencies","_g","btnClass","colorVariants","variant","variantType","$listeners","disableButton","rounded","whoAmI","rejected","updateLink","acceptOrReject","getAllPending","whoAmIName","modalReject","inviterWorkspace","linkConfirmInvitation","modalAccept","LinkConfirmInvitation","updateOnServer","string","attributes","autofocus","integer","validateAsync","getProduct","updateProduct","createProduct","deleteProduct","errorDescription","closeButton","currentMonth","idxProvider","monthStatus","getTotalDocuments","b","viewDocument","lastDocument","getDocumentName","getPeriodName","showingDocument","withBorder","DocumentUpload","selectedProvider","showingDocuments","modalDocuments","NotRequired","currentMonthlyPeriods","isCurrentPeriod","dateCustom","downloadData","fileUrl","URL","createObjectURL","Blob","fileLink","DropdownSimple","SideDocumentUpload","getLastDocument","NonCompliant","ProvidersListAndTable","downloadAllMyProvidersDocuments","ProvidersList","adding","onSaved","onDeleted","onCanceled","onAdded","subscriptionProductId","parentProduct","createPrice","closeForm","updatePrice","findIndex","deletePrice","EntityTableList","EntityForm","accountRoutes","alias","requiresAuth","adminRoutes","children","appSettingsRoutes","roles","appRoutes","marketingRoutes","hasQueryParams","beforeEach","from","next","matched","record","fullPath","requiresLoggedOut","userTypesAllowed","currentType","rolesAllowed","productsAllowed","page","ExtractionStatus","syncPending","confirmedSync","workspaceWithoutFiscalId","extraction","idxExtraction","processed","RUNNING","FINISHED","FAILED","errorCode","periodFrom","periodTo","SyncCfdisStatus","getAllExtractions","NothingToSync","Persisted","Running","Extracted","LimitReached","InvoiceExtractionsListAndTable","InvoiceExtractionsList","translate","chosen","setValue","dropdownVisible","translatePath","tinyEventBus","classForProduct","productHasPrices","getTransaltedProductTitle","getProductFeatures","saveChanges","hasImage","getImage","isBool","_q","hasChanges","PageTitle","idToken","GMAIL","createFeature","updateFeature","deleteFeature","getUserTenants","impersonate","changePassword","deleteUser","confirmDeleteUser","adminGetAll","prompt","confirm","adminUpdatePassword","TenantMembers","currentTheme","ready","cached","updatefound","updated","offline","VuexRouterSync","Vue","Vuex","dsn","release","npm_package_version","integrations","attachProps","logErrors","directive","binding","vnode","clickOutsideEvent","contains","context","unbind","moment","productionTip","i18n","h","$mount","getUserRoleClass","getUserRole","getUserStatusClass","getUserStatus","getUserJoined","getUserJoinedClass","tenantJoinSettings","enableLink","enablePublicUrl","requireAcceptance","copiedUrlLink","acceptUserEmail","canceled","au","getInvitationSettings","linkActive","publicUrl","PENDING_ACCEPTANCE","acceptUser","updateInvitationSettings","resetLink","updateTenantJoinSettings","maxUsersReached","confirmUpgrade","$clipboard","urlLink","JOINED_BY_INVITATION","JOINED_BY_LINK","JOINED_BY_PUBLIC_URL","PENDING_INVITATION","INACTIVE","acceptedUser","confirmarAcceptUser","deleteCredentials","deleteCredential","Extension","ValueType","Count","enumValues","k","emailDisabled","requested","linkUrl","getInviteURL","requestAccess","nonCompliant","withinDeadline","compliant","regularDocuments","validatePreviousPeriodsChanged","specializedDocuments","oneTimeDocuments","confirmSendDocumentationStatus","showValidatePreviousPeriods","validatePreviousPeriods","currentPeriod","specialized","canUpload","toggleValidatePreviousPeriods","idxMonth","idxDocument","clickWithinDeadline","clickCompliant","clickNonCompliant","dropped","getStatus","colSpan","getDocument","draggingPeriod","documentStatus","Compliant","statusMessage","newType","updateType","DocumentTableRow","DocumentView","getDocumentationStatus","getMyDocumentationStatus","downloadAllMyDocuments","confirmModalSend","DocumentsTable","deleteEmployee","thereAreNoChanges","saveConfirm","confirmedDeleteEmployee","loadProfile","firstNameInput","confirmDeleteEmployee","Dark","shared","admin","marketing","models","en","es","dateTimeFormats","mini","day","short","long","weekday","hour","minute","hour12","fallbackLocale","messages","silentFallbackWarn","at","days","diff","startOf","fromNow","dateDMY","Period","avatarText","workspacesWithoutFiscal","idsUsers","isProyectOwnerOrAdmins","addedUser","removedUser","isProyectOwnerOrAdmin","yesAdd","mostrar","tenantUser","exclude","initialSelected","Colors","getTailwindColor","itemColor","textWeight","backgroundWeight","borderWeight","textColor","loadingSummary","addUser","removeUserId","removeUser","userAdded","addModal","userRemoved","removeModal","usuario","ids","admins","COOL_GRAY","UNDEFINED","DropdownOptions","UserMultiselect","initialPeriod","WorkspaceItem","pendingContracts","load","UserUtils","WorkspacesWidget","ProvidersUsage","ClientsUsage","EmployeesUsage","CfdisUsage","routeData","getWorkspaces","selectedImageIsDarkMode","selectedImage","isDarkmode","imageModal","stripeUrl","orderedItems","initials","names","EmployeesList","idxVisit","downloadCfdis","captions","SvgResultsEmpty","ButtonTertiary","EmptyStateSimple","SignalR","methodName","newMethod","connection","args","invoke","SignalService","billingPeriods","changeInterval","billingPeriodName","isYearly","yearlyDiscount","allBillingPeriods","pricingFile","generateFromFiles","myAsyncLoopFunction","allAsyncResults","asyncResult","getWorkspace","LinksListAndTable"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GAC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C,MAAK,SAAAgK,GACJA,EAAStE,SAAQ,SAAA2K,GACf,EAAKoP,MAAMxnB,KAAKoY,SAJtB,YAOW,WACP,EAAKlR,SAAU,MAEW,sBAArB5D,KAAKyD,OAAOzF,OACrBgC,KAAK4D,SAAU,EACfW,EAAA,KAASC,MACNg2C,gBACA/1C,MAAK,SAAAgK,GACJA,EAAStE,SAAQ,SAAA2K,GACf,EAAKoP,MAAMxnB,KAAKoY,SAJtB,YAOW,WACP,EAAKlR,SAAU,QAlCzB,yBA0CE,WAAiB,WACf,IAAK5D,KAAKkkB,MACR,MAAO,GAET,IAAMA,EAAQlkB,KAAKkkB,MAAM7hB,QACvB,SAAAkI,G,cACE,OAAI,QAAJ,EAAAA,EAAE5G,UAAE,eAAE0f,cAAc6I,SAAS,EAAKR,YAAYrI,kBACvB,QADoC,EAC3D9Y,EAAEmS,gBAAgBnZ,aAAK,eACnBmC,WACD2d,cACA6I,SAAS,EAAKR,YAAYrI,kBACF,QADgB,EAC3C9Y,EAAEmS,gBAAgBlZ,iBAAS,eACvBkC,WACD2d,cACA6I,SAAS,EAAKR,YAAYrI,kBACJ,QADkB,EAC3C9Y,EAAEjH,kBAAkBC,aAAK,eACrBmC,WACD2d,cACA6I,SAAS,EAAKR,YAAYrI,kBACA,QADc,EAC3C9Y,EAAEjH,kBAAkBE,iBAAS,eACzBkC,WACD2d,cACA6I,SAAS,EAAKR,YAAYrI,mBAGjC,OAAOa,IAnEX,uBAqEE,WAEE,OADAlkB,KAAKmsB,eACEnsB,KAAKosB,kBAvEhB,GAAuC,cAAlB,EAAS,gBAR7B,eAAU,CACTtqB,WAAY,CACVsxB,mBAAA,KACAC,WAAA,KACA69B,kBAAA,EACA3uC,UAAA,SAGiB,WC5Dub,ICOxc,EAAY,eACd,EACAziB,EACA0B,GACA,EACA,KACA,KACA,MAIa,e,8BClBf7D,EAAOD,QAAU,IAA0B","file":"js/app.dba20e39.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","const numeral = require(\"numeral\");\n\nconst numberFormat = (value: number): string => {\n return numeral(value).format(\"0\");\n};\nconst decimalFormat = (value: number): string => {\n return numeral(value).format(\"0,0.00\");\n};\nconst intFormat = (value: number): string => {\n return numeral(value).format(\"0,0\");\n};\n\nexport default {\n numberFormat,\n decimalFormat,\n intFormat,\n};\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-900 bg-opacity-50 transition-opacity\"}),_c('div',{staticClass:\"fixed inset-0 overflow-hidden z-10\"},[_c('div',{staticClass:\"absolute inset-0 overflow-hidden\"},[_c('section',{staticClass:\"absolute inset-y-0 right-0 pl-10 max-w-full flex\"},[(false)?_c('div',{staticClass:\"flex h-screen justify-center pt-20 w-1\"},[_c('div',{staticClass:\"text-center\"},[(!_vm.title)?_c('button',{staticClass:\"focus:outline-none hover:opacity-95 transition duration-300 ease-in-out transform hover:-translate-x-2 hover:scale-x-105 h-16 w-14 pr-5 flex justify-center rounded-lg bg-gray-800 items-center\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('svg',{staticClass:\"h-4 text-gray-200\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e()])]):_vm._e(),_c('transition',{attrs:{\"enter-active-class\":\"transform transition ease-in-out duration-500 sm:duration-700\",\"enter-class\":\"-translate-x-full\",\"enter-to-class\":\"translate-x-0\",\"leave-active-class\":\"transform transition ease-in-out duration-500 sm:duration-700\",\"leave-class\":\"translate-x-0\",\"leave-to-class\":\"-translate-x-full\"}},[_c('div',{staticClass:\"w-screen max-w-sm\",class:{\n 'md:max-w-md': _vm.size === 'md',\n 'md:max-w-lg': _vm.size === 'lg',\n 'md:max-w-2xl': _vm.size === '2xl',\n 'md:max-w-3xl': _vm.size === '3xl',\n 'md:max-w-4xl': _vm.size === '4xl',\n 'md:max-w-full': _vm.size === 'full'\n }},[_c('div',{staticClass:\"h-full divide-y divide-gray-200 flex flex-col bg-white shadow-2xl\"},[_c('div',{staticClass:\"h-0 flex-1 space-y-6 overflow-y-scroll\",class:_vm.paddingY},[(_vm.title)?_c('header',{staticClass:\"px-4 sm:px-6\"},[_c('div',{staticClass:\"flex items-start justify-between space-x-3\"},[_c('h2',{staticClass:\"text-lg leading-7 font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"h-7 flex items-center\"},[_c('button',{staticClass:\"text-gray-400 hover:text-gray-500 transition ease-in-out duration-150\",attrs:{\"aria-label\":\"Close panel\"},on:{\"click\":_vm.close}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])])]):_vm._e(),_c('div',{staticClass:\"relative flex-1\",class:_vm.paddingContent},[_vm._t(\"content\"),_vm._t(\"footer\")],2)])])])])],1)]),_c('div',{staticClass:\"absolute top-4 right-10\"},[(!_vm.title)?_c('button',{staticClass:\"flex items-center space-x-1 py-1 px-2 text-xs uppercase hover:bg-gray-200 rounded-md shadow-lg bg-white border border-gray-300 text-gray-800 font-extrabold\",on:{\"click\":_vm.close}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-3.5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({\n components: {}\n})\nexport default class SideModal extends Vue {\n @Prop()\n title!: string;\n @Prop({ default: \"md\" })\n size!: string;\n @Prop({ default: \"px-4 sm:px-6\" })\n paddingContent!: string;\n @Prop({ default: \"py-6\" })\n paddingY!: string;\n created() {\n document.addEventListener(\"keyup\", evt => {\n if (evt.keyCode === 27) {\n this.close();\n }\n });\n }\n close() {\n this.$emit(\"close\");\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SideModal.vue?vue&type=template&id=1f5fb96e&\"\nimport script from \"./SideModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./SideModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('portal',{attrs:{\"to\":\"provider-buttons\"}},[_c('div',{staticClass:\"flex items-end space-x-2 space-y-0\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.year),expression:\"year\"}],staticClass:\"block pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 sm:text-sm rounded-md\",attrs:{\"id\":\"year\",\"name\":\"year\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.year=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.years),function(year,idxYear){return _c('option',{key:idxYear,domProps:{\"value\":year}},[_vm._v(_vm._s(year))])}),0),_c('span',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeOptions),expression:\"closeOptions\"}],staticClass:\"hidden md:inline-flex relative shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadAll}},[_vm._v(_vm._s(_vm.$t(\"app.providers.actions.downloadDocuments\")))]),_c('span',{staticClass:\"-ml-px relative block\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\",\"id\":\"option-menu-button\",\"aria-expanded\":\"true\",\"aria-haspopup\":\"true\"},on:{\"click\":_vm.toggleOptions}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Open options\")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.open),expression:\"open\"}],staticClass:\"origin-top-right absolute right-0 mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"option-menu-button\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"none\"}},[_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.reload}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.reload\")))])])])])])],1)])])]),(_vm.isCurrentWorkspaceId)?_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(_vm._s(_vm.$t(\"app.documentation.my\")))]),_c('h3',{staticClass:\"font-normal hidden sm:block\"})]),_c('div',{staticClass:\"flex items-end space-x-2 space-y-0\"},[_c('button',{staticClass:\"hidden md:inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadAll}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})]),_c('div',[_vm._v(_vm._s(_vm.$t(\"app.providers.actions.downloadDocuments\")))])]),(_vm.isCurrentWorkspaceId)?_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.uploadDocument}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})]),_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.upload\")))])]):_vm._e()])])]):_vm._e(),_c('div',{staticClass:\"w-full py-3 bg-gray-50 shadow border-b border-gray-300\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2 truncate\"},[(_vm.loading)?_c('span'):(_vm.link)?_c('span',{staticClass:\"truncate w-full\"},[_c('div',{staticClass:\"flex items-center space-x-2 justify-between w-full\"},[_c('div',{staticClass:\"flex items-center space-x-2 truncate\"},[_c('h1',{staticClass:\"flex-1 font-medium flex items-center\"},[_vm._v(_vm._s(_vm.link.providerWorkspace.taxId))]),_c('h3',{staticClass:\"font-normal truncate\"},[_vm._v(\"- \"+_vm._s(_vm.link.providerWorkspace.legalName))])])])]):_vm._e()])]),(_vm.year > 0 && _vm.$route.params.id && !_vm.loading && _vm.link)?_c('div',{key:_vm.year,staticClass:\"max-w-5xl xl:max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('AllDocumentation',{ref:\"allDocumentation\",attrs:{\"workspace\":_vm.link.providerWorkspace,\"linkId\":_vm.$route.params.id,\"year\":_vm.year}}),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport store from \"@/store\";\nimport AllDocumentation from \"@/components/app/v3/documentation/AllDocumentation.vue\";\nimport services from \"@/services\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\n\n@Component({\n metaInfo: {\n title: \"Documentación de proveedor\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n AllDocumentation,\n ConfirmModal,\n SuccessModal,\n ErrorModal\n }\n})\nexport default class LinkDocumentation extends Vue {\n $refs!: {\n allDocumentation: AllDocumentation;\n };\n year = 0;\n open = false;\n link: LinkDto | null = null;\n loading = false;\n years: number[] = []\n created() {\n for (let year = 2021; year <= new Date().getFullYear(); year++) {\n this.years.push(year);\n }\n\n const currentYear = new Date().getFullYear();\n this.year =\n Number(this.$route.query.ejercicio) ?? Number(this.$route.query.year);\n if (isNaN(this.year) || this.year === 0) {\n this.year = currentYear;\n }\n // this.workspaceId =\n // this.$route.query.p?.toString() ??\n // store.state.tenant.currentWorkspace?.id ??\n // \"\";\n }\n mounted() {\n this.loading = true;\n services.links\n .get(this.$route.params.id)\n .then(link => {\n this.link = link;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n closeOptions() {\n this.open = false;\n }\n toggleOptions() {\n this.open = !this.open;\n }\n reload() {\n this.closeOptions();\n this.$refs.allDocumentation.reload();\n }\n sendDocumentationStatus() {\n this.$refs.allDocumentation.sendDocumentationStatus();\n }\n downloadAll() {\n this.$refs.allDocumentation.downloadAll();\n }\n uploadDocument() {\n this.$refs.allDocumentation.uploadDocument();\n }\n get isCurrentWorkspaceId(): boolean {\n return this.$route.params.id === store.state.tenant.currentWorkspace?.id;\n }\n // get year(): number {\n // return Number(this.$route.params.year);\n // }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkDocumentation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkDocumentation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkDocumentation.vue?vue&type=template&id=9a5a8e14&\"\nimport script from \"./LinkDocumentation.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkDocumentation.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Module } from \"vuex\";\nimport { LocaleState, RootState } from \"@/store/types\";\nimport moment from \"moment\";\n\nexport const state: LocaleState = {\n locale: process.env.VUE_APP_LANGUAGE?.toString() ?? \"\",\n};\n\nexport const locale: Module = {\n namespaced: true,\n state,\n mutations: {\n reset(state) {\n const lang = process.env.VUE_APP_LANGUAGE?.toString();\n if (lang) {\n state.locale = lang;\n }\n if (state.locale) {\n moment.locale(state.locale.split(\"-\")[0]);\n }\n },\n updateLocale(state, locale: string) {\n state.locale = locale;\n if (state.locale) {\n moment.locale(state.locale.split(\"-\")[0]);\n }\n },\n },\n};\n","import { Module } from \"vuex\";\nimport { AccountState, RootState } from \"@/store/types\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\n\nexport const state: AccountState = {\n user: null,\n};\nexport const account: Module = {\n namespaced: true,\n state,\n actions: {\n logged({ commit }, user) {\n commit(\"logged\", user);\n },\n },\n mutations: {\n reset(state: AccountState) {\n state.user = null;\n },\n logged(state: AccountState, user: UserDto) {\n state.user = user;\n },\n },\n};\n","import store from \"@/store\";\nimport router from \"@/router\";\nimport { Module } from \"vuex\";\nimport { AuthState, RootState } from \"@/store/types\";\nimport { SignalService } from \"@/plugins/SignalR\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\n\nexport const state: AuthState = {\n authenticated: false,\n token: \"\",\n};\nexport const auth: Module = {\n namespaced: true,\n state,\n actions: {\n logout({ commit }) {\n commit(\"logout\");\n localStorage.clear();\n router.push({ name: \"landing\" });\n },\n },\n mutations: {\n login: (state: AuthState, payload: UserLoggedResponse) => {\n SignalService.startConnection();\n\n state.authenticated = true;\n state.token = payload.token;\n localStorage.setItem(\"id_token\", state.token);\n\n store.dispatch(\"account/logged\", payload.user);\n store.commit(\"tenant/myTenants\", payload.user.tenants);\n store.commit(\"tenant/current\", payload.user.currentTenant);\n if (payload.user.locale) {\n store.commit(\"locale/updateLocale\", payload.user.locale);\n } else {\n store.commit(\"locale/updateLocale\", process.env.VUE_APP_LANGUAGE?.toString());\n }\n store.commit(\"tenant/currentWorkspace\", payload.defaultWorkspace);\n\n try {\n // @ts-ignore\n if (window.analytics) {\n // @ts-ignore\n window.analytics.identify(payload.user.username, {\n email: payload.user.email,\n firstName: payload.user.firstName,\n lastName: payload.user.lastName,\n type: payload.user.type,\n tenant: payload.user.currentTenant,\n });\n }\n // if (mixpanel) {\n // try {\n // mixpanel.identify(payload.user.id);\n // if (mixpanel.people) {\n // mixpanel.people.set({\n // USER_ID: payload.user.id,\n // $email: payload.user.email,\n // \"First name\": payload.user.firstName,\n // \"Last name\": payload.user.lastName,\n // });\n // }\n // mixpanel.track(\"Login\");\n // } catch (ex) {\n // // ignore\n // }\n // }\n // if (LogRocket) {\n // LogRocket.identify(payload.user.email, {\n // username: payload.user.username,\n // firstName: payload.user.firstName,\n // lastName: payload.user.lastName,\n // email: payload.user.email,\n // subscriptionCustomerId:\n // payload.user.currentTenant?.subscriptionCustomerId ?? \"\",\n // subscriptionPlanId:\n // payload.user.currentTenant?.subscriptionPlanId ?? \"\",\n // });\n // }\n } catch (ex) {\n // ignore\n }\n console.log(\"current tenant user\", payload.defaultWorkspace.tenant?.currentUser);\n if ((payload.user as UserDto).type === UserType.Admin) {\n router.push({ name: \"admin\" });\n } else if (payload.defaultWorkspace.tenant?.currentUser.role === TenantUserRole.GUEST) {\n router.push({ name: \"app.visits\" });\n } else {\n if (router.currentRoute.query.redirect) {\n router.push({ path: router.currentRoute.query.redirect.toString() });\n } else {\n router.push({ name: \"app.dashboard\" });\n }\n }\n },\n logout: (state: AuthState) => {\n state.authenticated = false;\n state.token = \"\";\n localStorage.removeItem(\"id_token\");\n localStorage.clear();\n // if (mixpanel) {\n // try {\n // mixpanel.track(\"Logout\");\n // } catch (ex) {\n // // ignore\n // }\n // }\n SignalService.closeConnection();\n store.commit(\"locale/reset\");\n store.commit(\"account/reset\");\n store.commit(\"pricing/reset\");\n store.commit(\"tenant/reset\");\n store.commit(\"app/reset\");\n },\n },\n};\n","import { Module } from \"vuex\";\nimport { TenantState, RootState } from \"@/store/types\";\nimport store from \"@/store\";\nimport { SubscriptionGetCurrentResponse } from \"@/application/contracts/master/subscriptions/SubscriptionGetCurrentResponse\";\nimport { SubscriptionCardDto } from \"@/application/dtos/master/subscriptions/SubscriptionCardDto\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { TenantFeaturesDto } from \"../../../application/contracts/master/tenants/TenantFeaturesDto\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\n\nexport const state: TenantState = {\n tenants: [],\n current: null,\n subscription: null,\n members: [],\n workspaces: [],\n currentWorkspace: null,\n features: null,\n};\nexport const tenant: Module = {\n namespaced: true,\n state,\n getters: {\n defaultSubscriptionCard: (state: TenantState): SubscriptionCardDto | undefined => {\n if (state.subscription && state.subscription.paymentMethods?.length > 0) {\n return state.subscription.paymentMethods[0].card;\n }\n return undefined;\n },\n activeProduct: (state: TenantState): TenantProductDto | null => {\n if (state.subscription && state.subscription.myProducts?.length > 0) {\n return state.subscription.myProducts[0];\n }\n return null;\n },\n activePrice: (state: TenantState): SubscriptionPriceDto | null => {\n if (state.subscription && state.subscription.myProducts?.length > 0) {\n return state.subscription.myProducts[0].subscriptionPrice;\n }\n return null;\n },\n isOwnerOrAdmin: (state: TenantState): boolean => {\n if (!state.current?.currentUser) {\n return false;\n }\n // tslint:disable-next-line: max-line-length\n return state.current.currentUser?.role === TenantUserRole.OWNER || state.current.currentUser?.role === TenantUserRole.ADMIN;\n },\n memberCount: (state: TenantState) => {\n return state.members.length;\n },\n features: (state: TenantState) => {\n return state.features;\n },\n workspacesCount: (state: TenantState) => {\n return state.workspaces?.length ?? 0;\n },\n },\n mutations: {\n reset(state: TenantState) {\n state.tenants = [];\n state.current = null;\n state.subscription = null;\n state.members = [];\n state.workspaces = [];\n state.currentWorkspace = null;\n state.features = null;\n },\n myTenants: (state: TenantState, payload: TenantDto[]) => {\n state.tenants = payload;\n },\n current: (state: TenantState, payload: TenantDto) => {\n state.current = payload;\n },\n currentWorkspace: (state: TenantState, payload: WorkspaceDto) => {\n state.currentWorkspace = payload;\n },\n currentImage: (state: TenantState, { imageType, image }) => {\n if (state.current) {\n if (imageType === \"icon\") {\n state.current.icon = image;\n } else if (imageType === \"logo\") {\n state.current.logo = image;\n } else if (imageType === \"logoDarkmode\") {\n state.current.logoDarkmode = image;\n }\n }\n },\n features: (state: TenantState, payload: TenantFeaturesDto) => {\n state.features = payload;\n },\n subscription: (state: TenantState, payload: SubscriptionGetCurrentResponse) => {\n state.subscription = payload;\n\n if (state.tenants && payload.customer) {\n state.tenants.forEach((tenant) => {\n if (tenant.subscriptionCustomerId === payload.customer.id) {\n tenant.products = payload.myProducts;\n }\n });\n }\n\n store.dispatch(\"pricing/myProducts\", payload.myProducts);\n },\n members(state: TenantState, payload: TenantUserDto[]) {\n state.members = payload;\n },\n workspaces(state: TenantState, payload: WorkspaceDto[]) {\n // state.currentWorkspace = null;\n state.workspaces = payload;\n if (state.currentWorkspace) {\n if (!payload.find((f) => f.id === state.currentWorkspace?.id)) {\n state.currentWorkspace = null;\n }\n }\n if (payload?.length > 0 && !state.currentWorkspace) {\n const defaultWorkspace = payload.find((f) => f.default);\n if (defaultWorkspace) {\n state.currentWorkspace = defaultWorkspace;\n } else {\n state.currentWorkspace = payload[0];\n }\n }\n },\n currentWorkspaceType(state: TenantState, payload: WorkspaceType) {\n if (state.currentWorkspace) {\n state.currentWorkspace.type = payload;\n }\n },\n settings(state: TenantState, payload: TenantDto) {\n if (state.current) {\n state.current.name = payload.name;\n state.current.subdomain = payload.subdomain;\n }\n },\n },\n};\n","import { Module } from \"vuex\";\nimport { PricingState, RootState } from \"@/store/types\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { SubscriptionPriceType } from \"@/application/enums/master/subscriptions/SubscriptionPriceType\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\n\nexport const state: PricingState = {\n products: [],\n selectedProduct: null,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n currency: process.env.VUE_APP_CURRENCY?.toString() ?? \"usd\",\n};\nexport const pricing: Module = {\n namespaced: true,\n state,\n actions: {\n myProducts({ commit }, products: TenantProductDto[]) {\n if (products?.length > 0) {\n commit(\"select\", {\n product: products[0].subscriptionProduct,\n billingPeriod: products[0].subscriptionPrice.billingPeriod,\n });\n }\n },\n },\n mutations: {\n reset: (state) => {\n state.products = [];\n state.selectedProduct = null;\n state.billingPeriod = SubscriptionBillingPeriod.MONTHLY;\n state.currency = \"mxn\";\n },\n products: (state: PricingState, payload: SubscriptionProductDto[]) => {\n if (payload) {\n payload = payload.sort((x, y) => {\n return x.tier > y.tier ? 1 : -1;\n });\n }\n state.products = payload;\n if (payload.length > 0) {\n payload.forEach((product) => {\n product.prices.forEach((price) => {\n if (price.type === SubscriptionPriceType.RECURRING) {\n if (!state.currency) {\n state.currency = price.currency;\n }\n }\n });\n });\n }\n },\n select: (state: PricingState, payload) => {\n state.billingPeriod = payload.billingPeriod;\n state.selectedProduct = payload.product;\n },\n billingPeriod: (state: PricingState, payload: SubscriptionBillingPeriod) => {\n state.billingPeriod = payload;\n },\n currency: (state: PricingState, payload: string) => {\n state.currency = payload;\n },\n },\n};\n","import { Module } from \"vuex\";\nimport { Theme } from \"@/application/enums/shared/Theme\";\nimport { RootState, ThemeState } from \"@/store/types\";\n\nexport const defaultState: ThemeState = {\n theme: Theme.Light,\n};\nexport const state: ThemeState = defaultState;\nexport const theme: Module = {\n namespaced: true,\n state,\n getters: {\n theme: (state: ThemeState) => {\n return state.theme;\n },\n },\n mutations: {\n reset(state: ThemeState) {\n state.theme = defaultState.theme;\n const htmlClasses = document.querySelector(\"html\")?.classList;\n htmlClasses?.remove(\"dark\");\n },\n theme(state: ThemeState, payload: number) {\n state.theme = payload;\n const htmlClasses = document.querySelector(\"html\")?.classList;\n if (payload === 0) {\n htmlClasses?.remove(\"dark\");\n } else {\n htmlClasses?.add(\"dark\");\n }\n },\n },\n};\n","import { Module } from \"vuex\";\nimport { AppState, RootState } from \"@/store/types\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport { AppUsageType } from \"@/application/enums/app/usages/AppUsageType\";\nimport { TenantFeaturesDto } from \"@/application/contracts/master/tenants/TenantFeaturesDto\";\n\nexport const state: AppState = {\n usage: {\n type: 0,\n providers: 0,\n providersInCompliance: 0,\n clients: 0,\n contracts: 0,\n cfdis: 0,\n employees: 0,\n storage: 0,\n pendingInvitations: 0,\n },\n features: {\n maxUsers: 1,\n maxWorkspaces: 1,\n maxLinks: 1,\n maxStorage: 1,\n monthlyContracts: 1,\n },\n showTips: true,\n};\n\nexport const app: Module = {\n namespaced: true,\n state,\n mutations: {\n reset(state) {\n state.usage = {\n type: 0,\n providers: 0,\n providersInCompliance: 0,\n clients: 0,\n contracts: 0,\n cfdis: 0,\n employees: 0,\n storage: 0,\n pendingInvitations: 0,\n };\n state.features = {\n maxUsers: 0,\n maxWorkspaces: 0,\n maxLinks: 0,\n maxStorage: 0,\n monthlyContracts: 0,\n };\n },\n showTips(state, payload: boolean) {\n state.showTips = payload;\n },\n usage(state, payload: AppUsageSummaryDto) {\n if (payload.type === AppUsageType.ALL) {\n state.usage = payload;\n } else if (payload.type === AppUsageType.PROVIDERS) {\n state.usage.providers = payload.providers;\n state.usage.providersInCompliance = payload.providersInCompliance;\n } else if (payload.type === AppUsageType.CLIENTS) {\n state.usage.clients = payload.clients;\n } else if (payload.type === AppUsageType.EMPLOYEES) {\n state.usage.employees = payload.employees;\n } else if (payload.type === AppUsageType.CFDIS) {\n state.usage.cfdis = payload.cfdis;\n } else if (payload.type === AppUsageType.CONTRACTS) {\n state.usage.contracts = payload.contracts;\n } else if (payload.type === AppUsageType.STORAGE) {\n state.usage.storage = payload.storage;\n } else if (payload.type === AppUsageType.PENDING_INVITATIONS) {\n state.usage.pendingInvitations = payload.pendingInvitations;\n }\n },\n features(state, payload: TenantFeaturesDto) {\n state.features = payload;\n },\n },\n};\n","import Vue from \"vue\";\nimport Vuex, { StoreOptions } from \"vuex\";\nimport createLogger from \"vuex/dist/logger\";\nimport createPersistedState from \"vuex-persistedstate\";\n\nVue.use(Vuex);\n\n// Modules\nimport { locale } from \"./modules/locale\";\nimport { account } from \"./modules/account\";\nimport { auth } from \"./modules/auth\";\nimport { tenant } from \"./modules/tenant\";\nimport { pricing } from \"./modules/pricing\";\nimport { theme } from \"./modules/theme\";\nimport { app } from \"./modules/app\";\nimport { RootState } from \"@/store/types\";\n\nconst debug = process.env.NODE_ENV !== \"production\";\n\nconst store: StoreOptions = {\n modules: {\n locale,\n account,\n auth,\n tenant,\n pricing,\n theme,\n app,\n },\n strict: debug,\n plugins: debug ? [createPersistedState(), createLogger()] : [createPersistedState()],\n};\n\nexport default new Vuex.Store(store);\n","/* eslint-disable */\nimport server from \"@/plugins/axios-helper\";\n\nexport class ApiService {\n controller: string;\n constructor(controller: string) {\n this.controller = controller + \"/\";\n }\n protected getAll(method = \"GetAll\", headers?: any): Promise {\n return new Promise((resolve, reject) => {\n server\n .get(this.controller + `${method}`, {\n headers,\n })\n .then((response) => {\n if (response.status === 204) {\n // Not found\n resolve([]);\n } else {\n resolve(response.data);\n }\n })\n .catch((error) => {\n console.log(\"error: \" + JSON.stringify(error));\n reject(error);\n });\n });\n }\n protected getAllWithBody(body: any, method = \"GetAll\", headers?: any): Promise {\n return new Promise((resolve, reject) => {\n server\n .get(this.controller + `${method}`, {\n params: {\n body,\n },\n headers,\n })\n .then((response) => {\n if (response.status === 204) {\n // Not found\n resolve([]);\n } else {\n resolve(response.data);\n }\n })\n .catch((error) => {\n console.log(\"error: \" + JSON.stringify(error));\n reject(error);\n });\n });\n }\n\n protected get(method: string, id = \"\", headers?: any): Promise {\n if (id) {\n method += \"/\" + id;\n }\n return new Promise((resolve, reject) => {\n server\n .get(this.controller + method, {\n headers,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected post(data: any, method = \"Create\", headers?: any): Promise {\n return new Promise((resolve, reject) => {\n server\n .post(this.controller + `${method}`, data, {\n headers,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected download(data: any, method = \"Download\", headers?: any): Promise {\n return new Promise((resolve, reject) => {\n server\n .post(this.controller + `${method}`, data, {\n responseType: \"blob\",\n headers,\n })\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected upload(fileData: FormData, method = \"Upload\"): Promise {\n return new Promise((resolve, reject) => {\n server\n .post(this.controller + `${method}`, fileData, {\n headers: { \"Content-Type\": \"multipart/form-data\" },\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected put(id: string, data: any, method = \"Update\", headers?: any): Promise {\n return new Promise((resolve, reject) => {\n server\n .put(this.controller + `${method}/${id}`, data, {\n headers,\n })\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected putRaw(method = \"Update\"): Promise {\n return new Promise((resolve, reject) => {\n server\n .put(this.controller + `${method}`, null, {})\n .then((response) => {\n resolve(response.data);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected delete(id: string, method = \"Delete\", headers?: any): Promise {\n if (id) {\n method += \"/\" + id;\n }\n return new Promise((resolve, reject) => {\n server\n .delete(this.controller + `${method}`, {\n headers,\n })\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n protected toQueryString(obj: object) {\n const parts: string[] = [];\n if (obj) {\n for (const property in obj) {\n if (property) {\n const value = obj[property];\n if (value != null) {\n const valueStr = encodeURIComponent(value);\n if (valueStr !== \"\") {\n parts.push(encodeURIComponent(property) + \"=\" + encodeURIComponent(value));\n }\n }\n }\n }\n }\n return parts.join(\"&\");\n }\n}\n","import store from \"@/store\";\nimport { ApiService } from \"@/services/api/ApiService\";\nimport { UserLoginRequest } from \"@/application/contracts/master/users/UserLoginRequest\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { UserRegisterRequest } from \"@/application/contracts/master/users/UserRegisterRequest\";\nimport { UserVerifyRequest } from \"@/application/contracts/master/users/UserVerifyRequest\";\n\nexport class AuthenticationService extends ApiService {\n constructor() {\n super(\"Authentication\");\n }\n login(payload: UserLoginRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload, \"Login\")\n .then((response: UserLoggedResponse) => {\n store.commit(\"auth/login\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n impersonate(userId: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(null, `Admin/Impersonate/${userId}`)\n .then((response: UserLoggedResponse) => {\n store.dispatch(\"auth/logout\");\n store.commit(\"auth/login\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n register(payload: UserRegisterRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload, \"Register\")\n .then((response: UserLoggedResponse) => {\n if (response && response.user) {\n store.commit(\"auth/login\", response);\n }\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n verify(payload: UserVerifyRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload, \"Verify\")\n .then((response: UserLoggedResponse) => {\n store.commit(\"auth/login\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n reset(email: string): Promise {\n return super.post(null, \"Reset/\" + email);\n }\n}\n","import store from \"@/store\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { ApiService } from \"@/services/api/ApiService\";\nimport { TenantCreateRequest } from \"@/application/contracts/master/tenants/TenantCreateRequest\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { TenantUpdateImageRequest } from \"@/application/contracts/master/tenants/TenantUpdateImageRequest\";\nimport { TenantFeaturesDto } from \"../../../../application/contracts/master/tenants/TenantFeaturesDto\";\nimport { ITenantService } from \"./ITenantService\";\nimport router from \"@/router\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport { AppUsageType } from \"@/application/enums/app/usages/AppUsageType\";\n\nexport class TenantService extends ApiService implements ITenantService {\n constructor() {\n super(\"Tenant\");\n }\n adminGetAll(): Promise {\n return super.getAll(\"Admin/GetAll\");\n }\n adminGetProducts(id: string): Promise {\n return super.get(\"GetProducts\", id);\n }\n adminGetFeatures(id: string): Promise {\n return super.get(\"GetFeatures\", id);\n }\n getAll(): Promise {\n return new Promise((resolve, reject) => {\n return super\n .getAll()\n .then((response: TenantDto[]) => {\n store.commit(\"tenant/myTenants\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n getFeatures(): Promise {\n return new Promise((resolve, reject) => {\n super\n .get(\"GetFeatures\")\n .then((response: TenantFeaturesDto) => {\n store.commit(\"app/features\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n\n getCurrentUsage(type: AppUsageType): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n return super\n .get(\"GetCurrentUsage/\" + type)\n .then((response) => {\n store.commit(\"app/usage\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n }, 2000);\n });\n }\n getCurrent(): Promise {\n return super.get(\"GetCurrent\");\n }\n create(payload: TenantCreateRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload)\n .then((response: UserLoggedResponse) => {\n store.commit(\"auth/login\", response);\n router.go(0);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n update(payload: TenantDto): Promise {\n const tenantId = store.state.tenant?.current?.id ?? \"\";\n return new Promise((resolve, reject) => {\n super\n .put(tenantId, payload)\n .then((response: TenantDto) => {\n store.commit(\"tenant/settings\", payload);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updateImage(payload: TenantUpdateImageRequest): Promise {\n const tenantId = store.state.tenant?.current?.id ?? \"\";\n return super.put(tenantId, payload, \"UpdateImage\");\n }\n delete(): Promise {\n const tenantId = store.state.tenant?.current?.id ?? \"\";\n return super.delete(tenantId);\n }\n adminDelete(id: string): Promise {\n return super.delete(id, \"Admin/Delete\");\n }\n}\nexport const tenantService = new TenantService();\n","import store from \"@/store\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { ApiService } from \"@/services/api/ApiService\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { TenantUserUpdateRequest } from \"@/application/contracts/master/tenants/TenantUserUpdateRequest\";\nimport { ITenantUsersService } from \"./ITenantUsersService\";\n\nexport class TenantUsersService extends ApiService implements ITenantUsersService {\n constructor() {\n super(\"TenantUsers\");\n }\n adminGetAll(): Promise {\n return super.getAll(\"Admin/GetAll\");\n }\n getAll(tenantId = \"\"): Promise {\n if (!tenantId) {\n tenantId = store.state.tenant?.current?.id ?? \"\";\n }\n return new Promise((resolve, reject) => {\n super\n .getAll(\"GetAll/\" + tenantId)\n .then((response: TenantUserDto[]) => {\n store.commit(\"tenant/members\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n get(tenantUserId: string): Promise {\n return super.get(\"Get\", `${tenantUserId}`);\n }\n update(tenantUserId: string, payload: TenantUserUpdateRequest): Promise {\n return super.put(`${tenantUserId}`, payload);\n }\n delete(tenantUserId: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .delete(tenantUserId)\n .then((response) => {\n this.getAll(store.state.tenant.current?.id ?? \"\");\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n adminDelete(tenantUserId: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .delete(tenantUserId, \"Admin/Delete\")\n .then((response) => {\n this.getAll(store.state.tenant.current?.id ?? \"\");\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n}\n","import store from \"@/store\";\nimport { ApiService } from \"@/services/api/ApiService\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { UserUpdateRequest } from \"@/application/contracts/master/users/UserUpdateRequest\";\nimport { UserUpdatePasswordRequest } from \"@/application/contracts/master/users/UserUpdatePasswordRequest\";\nimport { UserUpdateAvatarRequest } from \"@/application/contracts/master/users/UserUpdateAvatarRequest\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { UserUpdateLocaleRequest } from \"@/application/contracts/master/users/UserUpdateLocaleRequest\";\nimport { IUserService } from \"./IUserService\";\n\nexport class UserService extends ApiService implements IUserService {\n constructor() {\n super(\"User\");\n }\n adminGetAll(): Promise {\n return super.getAll(\"Admin/GetAll\");\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n getUserAvatar(id: string): Promise {\n return super.get(\"GetUserAvatar\", id);\n }\n getClaims(): Promise {\n return super.get(\"GetClaims\");\n }\n getCurrent(): Promise {\n return super.get(\"GetCurrent\");\n }\n updateAvatar(avatar: UserUpdateAvatarRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(avatar, \"UpdateAvatar\")\n .then((response: UserDto) => {\n store.commit(\"account/logged\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updateLocale(payload: UserUpdateLocaleRequest): Promise {\n return super.post(payload, `UpdateLocale`);\n }\n update(id: string, payload: UserUpdateRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .put(id, payload)\n .then((response: UserDto) => {\n store.commit(\"account/logged\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updatePassword(payload: UserUpdatePasswordRequest): Promise {\n return super.post(payload, \"UpdatePassword\");\n }\n adminUpdatePassword(userId: string, password: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(null, `Admin/UpdatePassword/${userId}/${password}`)\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updateDefaultTenant(tenantId?: string): Promise {\n const userId = store.state.account.user?.id ?? \"\";\n return new Promise((resolve, reject) => {\n super\n .post(null, `UpdateDefaultTenant/${userId}/${tenantId}`)\n .then((response: UserLoggedResponse) => {\n store.commit(\"auth/login\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n deleteMe(): Promise {\n return new Promise((resolve, reject) => {\n super\n .delete(\"\", \"DeleteMe\")\n .then((response) => {\n store.dispatch(\"auth/logout\");\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n adminDelete(id: string): Promise {\n return super.delete(id, \"Admin/Delete\");\n }\n}\n","import store from \"@/store\";\nimport { ApiService } from \"@/services/api/ApiService\";\nimport { TenantInvitationResponse } from \"@/application/contracts/master/tenants/TenantInvitationResponse\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { UserInviteRequest } from \"@/application/contracts/master/users/UserInviteRequest\";\nimport { TenantJoinSettingsDto } from \"@/application/dtos/master/tenants/TenantJoinSettingsDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { UserVerifyRequest } from \"@/application/contracts/master/users/UserVerifyRequest\";\nimport { AuthenticationService } from \"@/services/api/master/users/AuthenticationService\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\n// tslint:disable-next-line: max-line-length\nimport { TenantUpdateJoinSettingsRequest } from \"@/application/contracts/master/tenants/TenantUpdateJoinSettingsRequest\";\nimport { TenantUserStatus } from \"@/application/enums/master/tenants/TenantUserStatus\";\nimport { ITenantUserInvitationService } from \"./ITenantUserInvitationService\";\n\nexport class TenantUserInvitationService extends ApiService implements ITenantUserInvitationService {\n constructor() {\n super(\"TenantUserInvitation\");\n }\n\n getInvitation(tenantUserId: string): Promise {\n return super.get(\"GetInvitation\", tenantUserId);\n }\n getInviteURL(linkUuid: string): Promise {\n return super.get(\"GetInviteURL\", linkUuid);\n }\n getInvitationSettings(tenantId = \"\"): Promise {\n if (!tenantId) {\n tenantId = store.state.tenant?.current?.id ?? \"\";\n }\n return super.get(\"GetInvitationSettings\", tenantId);\n }\n inviteUser(invitation: UserInviteRequest): Promise {\n return super.post(invitation, `InviteUser`);\n }\n requestAccess(linkUuid: string, payload: UserVerifyRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload, `RequestAccess/${linkUuid}`)\n .then((response: TenantUserDto) => {\n if (response.status === TenantUserStatus.ACTIVE) {\n const auth = new AuthenticationService();\n auth.login({\n email: payload.email,\n password: payload.password,\n loginType: payload.userLoginType,\n });\n }\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n acceptUser(payload: TenantUserDto): Promise {\n return super.post(payload, `AcceptUser/${payload.id}`);\n }\n acceptInvitation(tenantUserId: string, payload: UserVerifyRequest): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(payload, `AcceptInvitation/${tenantUserId}`)\n .then((response: UserLoggedResponse) => {\n store.commit(\"auth/login\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updateInvitationSettings(payload: TenantUpdateJoinSettingsRequest): Promise {\n return super.post(payload, `UpdateInvitationSettings`);\n }\n}\n","import { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { SubscriptionPriceType } from \"@/application/enums/master/subscriptions/SubscriptionPriceType\";\n\nconst currency = \"mxn\";\nconst products: SubscriptionProductDto[] = [\n {\n serviceId: \"\",\n id: undefined,\n tier: 1,\n title: \"Gratis\",\n image: \"\",\n description: \"Prueba compartir documentación con tu primer cliente o proveedor.\",\n custom: false,\n prices: [\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n price: 0,\n currency,\n trialDays: 0,\n active: true,\n },\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.YEARLY,\n price: 0,\n currency,\n trialDays: 0,\n active: true,\n },\n ],\n features: [\n {\n id: undefined,\n order: 1,\n key: \"oneLink\",\n value: \"1\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 2,\n key: \"oneDocument\",\n value: \"1\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 3,\n key: \"maxUsers\",\n value: \"2\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 4,\n key: \"oneWorkspace\",\n value: \"1\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 5,\n key: \"maxStorage\",\n value: \"1 GB\",\n included: true,\n translateInFrontend: true,\n },\n ],\n badge: \"\",\n active: true,\n maxUsers: 2,\n maxWorkspaces: 1,\n maxLinks: 1,\n maxStorage: 1 * 1024,\n monthlyContracts: 1,\n },\n {\n serviceId: \"\",\n id: undefined,\n tier: 2,\n title: \"Estándar\",\n image: \"\",\n description: \"Comparte con tus clientes tu documentación de cumplimiento.\",\n custom: false,\n prices: [\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n price: 1999,\n currency,\n trialDays: 30,\n active: true,\n },\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.YEARLY,\n price: 19199,\n currency,\n trialDays: 0,\n active: true,\n },\n ],\n features: [\n {\n id: undefined,\n order: 1,\n key: \"links\",\n value: \"45\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 2,\n key: \"monthlyContracts\",\n value: \"45\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 3,\n key: \"maxUsers\",\n value: \"5\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 4,\n key: \"maxWorkspaces\",\n value: \"2\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 5,\n key: \"maxStorage\",\n value: \"100 GB\",\n included: true,\n translateInFrontend: true,\n },\n ],\n badge: \"recommended\",\n active: true,\n maxUsers: 5,\n maxWorkspaces: 2,\n maxLinks: 45,\n maxStorage: 100 * 1024,\n monthlyContracts: 45,\n },\n {\n serviceId: \"\",\n id: undefined,\n tier: 3,\n title: \"Empresarial\",\n image: \"\",\n description: \"Gestiona la documentación de cumplimiento de todos tus proveedores.\",\n custom: false,\n prices: [\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n price: 3999,\n currency,\n trialDays: 30,\n active: true,\n },\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.YEARLY,\n price: 38399,\n currency,\n trialDays: 0,\n active: true,\n },\n ],\n features: [\n {\n id: undefined,\n order: 1,\n key: \"links\",\n value: \"100\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 2,\n key: \"monthlyContracts\",\n value: \"90\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 3,\n key: \"maxUsers\",\n value: \"12\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 4,\n key: \"maxWorkspaces\",\n value: \"5\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 5,\n key: \"maxStorage\",\n value: \"500 GB\",\n included: true,\n translateInFrontend: true,\n },\n ],\n badge: \"\",\n active: true,\n maxUsers: 12,\n maxWorkspaces: 5,\n maxLinks: 100,\n maxStorage: 500 * 1024,\n monthlyContracts: 90,\n },\n {\n serviceId: \"\",\n id: undefined,\n tier: 4,\n title: \"Corporativo\",\n image: \"\",\n description: \"Para empresas con muchos colaboradores.\",\n custom: true,\n prices: [\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n price: 0,\n currency,\n trialDays: 0,\n active: true,\n },\n {\n serviceId: \"\",\n id: undefined,\n type: SubscriptionPriceType.RECURRING,\n billingPeriod: SubscriptionBillingPeriod.YEARLY,\n price: 0,\n currency,\n trialDays: 0,\n active: true,\n },\n ],\n features: [\n {\n id: undefined,\n order: 1,\n key: \"links\",\n value: \"100+\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 2,\n key: \"monthlyContracts\",\n value: \"90+\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 3,\n key: \"maxUsers\",\n value: \"12+\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 4,\n key: \"maxWorkspaces\",\n value: \"5+\",\n included: true,\n translateInFrontend: true,\n },\n {\n id: undefined,\n order: 5,\n key: \"maxStorage\",\n value: \"500+ GB\",\n included: true,\n translateInFrontend: true,\n },\n ],\n badge: \"\",\n active: true,\n maxUsers: 12,\n maxWorkspaces: 5,\n maxLinks: 100,\n maxStorage: 500 * 1024,\n monthlyContracts: 90,\n },\n];\n\n// const periods = [SubscriptionBillingPeriod.MONTHLY, SubscriptionBillingPeriod.YEARLY];\n// const tenantType = [TenantType.TENANT, TenantType.TenantA];\n// const currencies = [defaultCurrency, \"usd\"];\n\n// // TODO\n// const basePrice = 99; // on MXN\n// const factorSuperiorPlan = 2; // x2 each plan increase\n// const factorEachSuperiorPlan = 2.5; // +250% plan increase\n// const factorTenantType = 3.02; // +302%\n// const factorYearly = 8.4; // -30% yearly\n// const factorUsd = 0.05; // 20 USD -> MXN\n\n// products.forEach(product => {\n// product.prices = [];\n// periods.forEach((billingPeriod: SubscriptionBillingPeriod) => {\n// tenantType.forEach((mode: TenantType) => {\n// currencies.forEach((currency: string) => {\n// let currentPrice: number = basePrice;\n// if (product.tier > 1) {\n// currentPrice = currentPrice\n// * (product.tier - 1) * factorSuperiorPlan\n// * (product.tier - 1) * factorEachSuperiorPlan;\n// }\n// if (mode !== TenantType.TENANT) {\n// currentPrice = currentPrice * (mode * factorTenantType);\n// }\n// if (billingPeriod === SubscriptionBillingPeriod.YEARLY) {\n// currentPrice = currentPrice * factorYearly;\n// }\n// if (currency === \"usd\") {\n// currentPrice = currentPrice * factorUsd;\n// } else {\n// currentPrice = Math.round(currentPrice);\n// let strPrice = currentPrice.toString();\n// while (strPrice.substr(strPrice.length - 2, strPrice.length) !== '99') {\n// currentPrice += 1;\n// strPrice = currentPrice.toString();\n// }\n// }\n// currentPrice = Math.round(currentPrice);\n// product.prices.push({\n// serviceId: \"15\",\n// id: undefined,\n// type: SubscriptionPriceType.RECURRING,\n// billingPeriod,\n// price: currentPrice,\n// currency,\n// trialDays: mode === TenantType.TENANT && product.tier === 1 ? 7 : 0,\n// active: true,\n// mode\n// });\n// });\n// });\n// });\n// });\n\nexport const defaultProducts = products;\n","import { ApiService } from \"@/services/api/ApiService\";\nimport store from \"@/store\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { defaultProducts } from \"@/store/modules/pricing/default-pricing\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionFeatureDto } from \"@/application/dtos/master/subscriptions/SubscriptionFeatureDto\";\nimport { SubscriptionUpdatePriceRequest } from \"@/application/contracts/master/subscriptions/SubscriptionUpdatePriceRequest\";\nimport { SubscriptionUpdateProductRequest } from \"@/application/contracts/master/subscriptions/SubscriptionUpdateProductRequest\";\nimport { ISubscriptionProductService } from \"./ISubscriptionProductService\";\n\nexport class SubscriptionProductService extends ApiService implements ISubscriptionProductService {\n constructor() {\n super(\"SubscriptionProduct\");\n }\n getProducts(fromServer: boolean, onlyActive: boolean): Promise {\n // console.log(\"fromServer: \" + fromServer);\n return new Promise((resolve, reject) => {\n if (fromServer) {\n return super\n .getAll()\n .then((response: SubscriptionProductDto[]) => {\n response.forEach((product) => {\n if (product.tier === 4) {\n product.custom = true;\n }\n });\n store.commit(\"pricing/products\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n } else {\n let products: SubscriptionProductDto[] = defaultProducts;\n if (onlyActive) {\n products = products.filter((f) => f.active && f.prices.find((f) => f.active));\n }\n store.commit(\"pricing/products\", products);\n resolve(products);\n }\n });\n }\n getProduct(id: string): Promise {\n return super.get(\"GetProduct\", id);\n }\n getPrice(id: string): Promise {\n return super.get(\"GetPrice\", id);\n }\n getFeature(id: string): Promise {\n return super.get(\"GetFeature\", id);\n }\n createProduct(product: SubscriptionProductDto): Promise {\n return super.post(product, `CreateProduct`);\n }\n createPrice(price: SubscriptionPriceDto): Promise {\n return super.post(price, `CreatePrice`);\n }\n createFeature(feature: SubscriptionFeatureDto): Promise {\n return super.post(feature, `CreateFeature`);\n }\n updateProduct(id: string, product: SubscriptionUpdateProductRequest): Promise {\n return super.put(id, product, `UpdateProduct`);\n }\n updatePrice(id: string, price: SubscriptionUpdatePriceRequest): Promise {\n return super.put(id, price, `UpdatePrice`);\n }\n updateFeature(id: string, feature: SubscriptionFeatureDto): Promise {\n return super.put(id, feature, `UpdateFeature`);\n }\n deleteProduct(id: string): Promise {\n return super.delete(id, \"DeleteProduct\");\n }\n deletePrice(id: string): Promise {\n return super.delete(id, \"DeletePrice\");\n }\n deleteFeature(id: string): Promise {\n return super.delete(id, \"DeleteFeature\");\n }\n}\n","import { ApiService } from \"@/services/api/ApiService\";\nimport store from \"@/store\";\nimport { SubscriptionGetCurrentResponse } from \"@/application/contracts/master/subscriptions/SubscriptionGetCurrentResponse\";\nimport { SubscriptionInvoiceDto } from \"@/application/dtos/master/subscriptions/SubscriptionInvoiceDto\";\nimport { SubscriptionCouponDto } from \"@/application/dtos/master/subscriptions/SubscriptionCouponDto\";\nimport { SelectedSubscriptionRequest } from \"@/application/contracts/master/subscriptions/SelectedSubscriptionRequest\";\nimport { SubscriptionCreateCardTokenRequest } from \"@/application/contracts/master/subscriptions/SubscriptionCreateCardTokenRequest\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { ISubscriptionManagerService } from \"./ISubscriptionManagerService\";\n\nexport class SubscriptionManagerService extends ApiService implements ISubscriptionManagerService {\n constructor() {\n super(\"SubscriptionManager\");\n }\n getCurrentSubscription(): Promise {\n return new Promise((resolve, reject) => {\n super\n .get(\"GetCurrentSubscription\")\n .then((subscription: SubscriptionGetCurrentResponse) => {\n store.commit(\"tenant/subscription\", subscription);\n resolve(subscription);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n getUpcomingInvoice(): Promise {\n return super.get(\"GetUpcomingInvoice\");\n }\n getCoupon(couponId: string, currency: string): Promise {\n return super.get(`GetCoupon/${couponId}/${currency}`);\n }\n updateSubscription(subscription: SelectedSubscriptionRequest): Promise {\n return new Promise((resolve, reject) => {\n return super\n .post(subscription, `UpdateSubscription`)\n .then((response) => {\n store.commit(\"tenant/subscription\", response);\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n cancelSubscription(): Promise {\n return new Promise((resolve, reject) => {\n super\n .post(null, \"CancelSubscription\")\n .then((response) => {\n store.commit(\"tenant/subscription\", response);\n store.commit(\"pricing/select\", {\n product: null,\n billingPeriod: SubscriptionBillingPeriod.MONTHLY,\n });\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n updateCardToken(cardToken: string): Promise {\n return super.post(cardToken, `UpdateCardToken/${cardToken}`);\n }\n createCardToken(cardTokenRequest: SubscriptionCreateCardTokenRequest): Promise {\n return super.post(cardTokenRequest, `CreateCardToken`);\n }\n updateCard(cardTokenRequest: SubscriptionCreateCardTokenRequest): Promise {\n return super.post(cardTokenRequest, `UpdateCard`);\n }\n createCustomerPortalSession(): Promise {\n return super.post(null, `CreateCustomerPortalSession`);\n }\n}\n","import { ApiService } from \"../../ApiService\";\nimport store from \"@/store\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { IWorkspaceService } from \"./IWorkspaceService\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { CreateWorkspaceRequest } from \"@/application/contracts/master/workspaces/CreateWorkspaceRequest\";\nimport { UpdateWorkspaceRequest } from \"@/application/contracts/master/workspaces/UpdateWorkspaceRequest\";\nimport { CreateCredentialCiecRequest } from \"@/application/contracts/master/workspaces/CreateCredentialCiecRequest\";\nimport { CreateCredentialEfirmaRequest } from \"@/application/contracts/master/workspaces/CreateCredentialEfirmaRequest\";\n\nexport class WorkspaceService extends ApiService implements IWorkspaceService {\n constructor() {\n super(\"Workspace\");\n }\n adminGetAll(): Promise {\n return super.getAll(`Admin/GetAll`);\n }\n getAllPublicProviders(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n getAllWorkspaces(saveInStore = false): Promise {\n return new Promise((resolve, reject) => {\n super\n .getAll(\"GetAll\")\n .then((response: WorkspaceDto[]) => {\n resolve(JSON.parse(JSON.stringify(response)));\n if (saveInStore) {\n store.commit(\"tenant/workspaces\", response);\n }\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n search(taxId: string, email: string): Promise {\n return super.get(`Search/${taxId}/${email}`);\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n create(data: CreateWorkspaceRequest): Promise {\n return super.post(data);\n }\n createCredentialCiec(data: CreateCredentialCiecRequest): Promise {\n return super.post(data, \"CreateCredentialCiec\");\n }\n createCredentialEfirma(data: CreateCredentialEfirmaRequest): Promise {\n return super.post(data, \"CreateCredentialEfirma\");\n }\n addUser(id: string, data: WorkspaceUserDto): Promise {\n return super.post(data, \"AddUser/\" + id);\n }\n update(id: string, data: UpdateWorkspaceRequest): Promise {\n return super.put(id, data);\n }\n updateType(id: string, type: WorkspaceType): Promise {\n return new Promise((resolve, reject) => {\n super\n .put(\"\", undefined, `UpdateType/${id}/${type}`)\n .then(() => {\n store.commit(\"tenant/currentWorkspaceType\", type);\n resolve();\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n removeUser(id: string): Promise {\n return super.putRaw(\"RemoveUser/\" + id);\n }\n delete(id: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .delete(id)\n .then(() => {\n resolve(this.getAllWorkspaces(true));\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n deleteCredential(id: string): Promise {\n return new Promise((resolve, reject) => {\n super\n .delete(id, \"DeleteCredential\")\n .then(() => {\n resolve(this.getAllWorkspaces(true));\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n adminDelete(id: string): Promise {\n return super.delete(id, \"Admin/Delete\");\n }\n}\n","import { SyncCfdisStatusMessage } from \"@/application/contracts/app/cfdis/SyncCfdisStatusMessage\";\nimport { UploadCfdisRequest } from \"@/application/contracts/app/cfdis/UploadCfdisRequest\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport { CfdiXmlPdfDto } from \"@/application/dtos/app/v3/cfdis/CfdiXmlPdfDto\";\nimport { InvoiceExtractionDto } from \"@/application/dtos/app/v3/cfdis/sat/InvoiceExtractionDto\";\nimport { CfdiType } from \"@/application/enums/app/v3/cfdis/CfdiType\";\nimport { ApiService } from \"../../../ApiService\";\nimport { ICfdiService } from \"./ICfdiService\";\n\nexport class CfdiService extends ApiService implements ICfdiService {\n constructor() {\n super(\"Cfdi\");\n }\n adminGetAll(): Promise {\n return super.getAll(\"Admin/GetAll\");\n }\n getAllCfdis(type: CfdiType): Promise {\n return super.getAll(\"GetAll?type=\" + type);\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n getAllExtractions(): Promise {\n return super.get(\"GetAllExtractions\");\n }\n create(data: CfdiDto): Promise {\n return super.post(data);\n }\n sync(): Promise {\n return super.post(undefined, \"Sync\");\n }\n readCfdis(data: UploadCfdisRequest): Promise {\n return super.post(data, \"ReadCfdis\");\n }\n uploadCfdis(data: UploadCfdisRequest): Promise {\n return super.post(data, \"UploadCfdis\");\n }\n download(id: string, fileType: string): Promise {\n return super.download(undefined, `Download/${id}/${fileType}`);\n }\n update(id: string, data: CfdiDto): Promise {\n return super.put(id, data);\n }\n delete(id: string): Promise {\n return super.delete(id);\n }\n adminDelete(id: string): Promise {\n return super.delete(id, \"Admin/Delete\");\n }\n}\n","const fakeNamesAndEmails = [\n {\n firstName: \"Sebastián\",\n lastName: \"Fernández\",\n email: \"sebastian.fernandez@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Rosa\",\n lastName: \"Guzmán\",\n email: \"rosa.guzman@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Alan\",\n lastName: \"Jiménez\",\n email: \"alan.jimenez@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Octavio\",\n lastName: \"Martínez\",\n email: \"octavio.martinez@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n {\n firstName: \"Luna\",\n lastName: \"Romero\",\n email: \"luna.romero@empresa.com\",\n phone: \"1234567891\",\n avatar:\n \"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80\",\n },\n];\n\nexport default fakeNamesAndEmails;\n","/* eslint-disable */\nimport store from \"@/store\";\nimport { SubscriptionGetCurrentResponse } from \"@/application/contracts/master/subscriptions/SubscriptionGetCurrentResponse\";\nimport { SubscriptionInvoiceDto } from \"@/application/dtos/master/subscriptions/SubscriptionInvoiceDto\";\nimport { SubscriptionCouponDto } from \"@/application/dtos/master/subscriptions/SubscriptionCouponDto\";\nimport { SelectedSubscriptionRequest } from \"@/application/contracts/master/subscriptions/SelectedSubscriptionRequest\";\nimport { SubscriptionCreateCardTokenRequest } from \"@/application/contracts/master/subscriptions/SubscriptionCreateCardTokenRequest\";\nimport { ISubscriptionManagerService } from \"./ISubscriptionManagerService\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionCustomerDto } from \"@/application/dtos/master/subscriptions/SubscriptionCustomerDto\";\nimport { SubscriptionCardDto } from \"@/application/dtos/master/subscriptions/SubscriptionCardDto\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { defaultProducts } from \"@/store/modules/pricing/default-pricing\";\nimport { SubscriptionPaymentMethodDto } from \"@/application/dtos/master/subscriptions/SubscriptionPaymentMethodDto\";\n\nconst subscriptions: SubscriptionGetCurrentResponse[] = [];\nfor (const product of defaultProducts) {\n const customer: SubscriptionCustomerDto = {\n id: \"\",\n email: \"\",\n name: \"\",\n description: \"\",\n phone: \"\",\n currency: \"\",\n created: new Date(),\n };\n const invoices: SubscriptionInvoiceDto[] = [\n {\n created: new Date(),\n invoicePdf: \"\",\n lines: [\n {\n description: product.title,\n planName: product.title,\n planInterval: \"month\",\n planCurrency: \"mxn\",\n priceUnitAmount: product.prices[0].price,\n priceType: \"\",\n },\n ],\n },\n ];\n const cards: SubscriptionCardDto[] = [\n {\n brand: \"visa\",\n expiryMonth: 12,\n expiryYear: 2030,\n lastFourDigits: \"1234\",\n expiryDate: new Date(2030, 12, 1),\n },\n ];\n const tenantProducts: TenantProductDto[] = [\n {\n id: \"\",\n tenantId: \"\",\n tenant: {} as TenantDto,\n subscriptionPriceId: product.prices[0].id,\n subscriptionPrice: product.prices[0],\n active: true,\n startDate: new Date(),\n endDate: new Date(new Date().setMonth(new Date().getMonth() + 1)),\n subscriptionServiceId: \"\",\n subscriptionProduct: product,\n maxWorkspaces: product.maxWorkspaces,\n maxUsers: product.maxUsers,\n maxLinks: product.maxLinks,\n maxStorage: product.maxStorage,\n monthlyContracts: product.monthlyContracts,\n },\n ];\n const paymentMethods: SubscriptionPaymentMethodDto[] = [\n {\n card: cards[0],\n },\n ];\n const subscription: SubscriptionGetCurrentResponse = {\n activeProduct: tenantProducts,\n myProducts: tenantProducts,\n customer,\n invoices,\n cards,\n paymentMethods,\n };\n subscriptions.push(subscription);\n}\nexport class FakeSubscriptionManagerService implements ISubscriptionManagerService {\n subscriptions = subscriptions;\n currentSubscription = subscriptions[1];\n getCurrentSubscription(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n store.commit(\"tenant/subscription\", this.currentSubscription);\n resolve(this.currentSubscription);\n }, 1000);\n });\n }\n getUpcomingInvoice(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.currentSubscription.invoices[0]);\n }, 1000);\n });\n }\n getCoupon(couponId: string, currency: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n reject(\"not implemented\");\n }, 1000);\n });\n }\n updateSubscription(subscription: SelectedSubscriptionRequest): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n defaultProducts.forEach((product) => {\n product.prices.forEach((price) => {\n if (price.id === subscription.subscriptionPriceId) {\n const subscription = this.subscriptions.find((f) => f.activeProduct[0].subscriptionPriceId === price.id);\n if (subscription) {\n this.currentSubscription = subscription;\n store.commit(\"tenant/subscription\", this.currentSubscription);\n resolve(this.currentSubscription);\n }\n }\n });\n });\n // tslint:disable-next-line: max-line-length\n const newSuscription = subscriptions.find((f) => f.activeProduct.find((x) => x.subscriptionPriceId === subscription.subscriptionPriceId));\n if (newSuscription) {\n resolve(newSuscription);\n }\n reject(\"subscription not found\");\n }, 1000);\n });\n }\n cancelSubscription(): Promise {\n throw new Error(\"Method not implemented\");\n }\n updateCardToken(cardToken: string): Promise {\n throw new Error(\"Method not implemented\");\n }\n createCardToken(cardTokenRequest: SubscriptionCreateCardTokenRequest): Promise {\n throw new Error(\"Method not implemented\");\n }\n updateCard(cardTokenRequest: SubscriptionCreateCardTokenRequest): Promise {\n throw new Error(\"Method not implemented\");\n }\n createCustomerPortalSession(): Promise {\n throw new Error(\"Method not implemented\");\n }\n}\n","/* eslint-disable */\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { TenantCreateRequest } from \"@/application/contracts/master/tenants/TenantCreateRequest\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { TenantUpdateImageRequest } from \"@/application/contracts/master/tenants/TenantUpdateImageRequest\";\nimport { TenantFeaturesDto } from \"../../../../application/contracts/master/tenants/TenantFeaturesDto\";\nimport { ITenantService } from \"./ITenantService\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { TenantUserJoined } from \"@/application/enums/master/tenants/TenantUserJoined\";\nimport { TenantUserStatus } from \"@/application/enums/master/tenants/TenantUserStatus\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport fakeNamesAndEmails from \"./FakeNamesAndEmails\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { UserLoginType } from \"@/application/enums/master/users/UserLoginType\";\nimport store from \"@/store\";\nimport { FakeSubscriptionManagerService } from \"../subscriptions/FakeSubscriptionManagerService\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport { AppUsageType } from \"@/application/enums/app/usages/AppUsageType\";\n\nconst fakeSubscriptionManagerService = new FakeSubscriptionManagerService();\n\nconst createTenant = (index: number): TenantDto => {\n const tenant: TenantDto = {\n id: index.toString(),\n uuid: \"string\",\n name: \"Absys\",\n domain: \"\",\n subdomain: \"\",\n icon: \"\",\n logo: \"\",\n logoDarkmode: \"\",\n subscriptionCustomerId: \"\",\n subscriptionPlanId: \"\",\n users: [],\n products: fakeSubscriptionManagerService.currentSubscription.activeProduct,\n currentUser: {} as TenantUserDto,\n workspaces: [],\n };\n return tenant;\n};\n\nconst tenants: TenantDto[] = [createTenant(1)];\n\nconst types = [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER, TenantUserRole.GUEST];\nconst users: TenantUserDto[] = [];\nfor (let idxType = 0; idxType < types.length; idxType++) {\n const type = types[idxType];\n users.push({\n id: idxType + 1,\n tenantId: \"\",\n tenant: {} as TenantDto,\n userId: idxType.toString(),\n user: {\n id: idxType.toString(),\n type: UserType.Tenant,\n username: fakeNamesAndEmails[idxType].email.split(\"@\")[0],\n email: fakeNamesAndEmails[idxType].email,\n firstName: fakeNamesAndEmails[idxType].firstName,\n lastName: fakeNamesAndEmails[idxType].lastName,\n phone: \"\",\n loginType: UserLoginType.PASSWORD,\n avatar: \"\",\n token: \"\",\n defaultTenantId: 1,\n defaultTenant: {} as TenantDto,\n tenants: [],\n currentTenant: {} as TenantDto,\n timezone: \"\",\n locale: \"\",\n },\n role: type,\n joined: TenantUserJoined.CREATOR,\n status: TenantUserStatus.ACTIVE,\n chatbotToken: \"\",\n uuid: \"\",\n accepted: true,\n email: fakeNamesAndEmails[idxType].email,\n firstName: fakeNamesAndEmails[idxType].firstName,\n lastName: fakeNamesAndEmails[idxType].lastName,\n phone: fakeNamesAndEmails[idxType].phone,\n avatar: fakeNamesAndEmails[idxType].avatar,\n companyRole: \"\",\n });\n}\n\ntenants.forEach((element) => {\n element.currentUser = users.find((f) => f.role === TenantUserRole.OWNER) ?? users[0];\n element.users = users;\n});\n\nexport class FakeTenantService implements ITenantService {\n tenants: TenantDto[] = tenants;\n adminGetAll(): Promise {\n return Promise.resolve(tenants);\n }\n adminGetProducts(id: string): Promise {\n throw new Error(\"Method not implemented.\" + id);\n }\n adminGetFeatures(id: string): Promise {\n throw new Error(\"Method not implemented.\" + id);\n }\n getAll(): Promise {\n return Promise.resolve(this.tenants);\n }\n get(id: string): Promise {\n const tenant = this.tenants.find((f) => f.id === id);\n if (tenant) {\n return Promise.resolve(tenant);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n getFeatures(): Promise {\n const currentSubcription = store.state.tenant.subscription?.activeProduct[0] ?? this.tenants[0].products[0];\n const features: TenantFeaturesDto = {\n maxWorkspaces: currentSubcription.maxWorkspaces,\n maxUsers: currentSubcription.maxUsers,\n maxLinks: currentSubcription.maxLinks,\n maxStorage: currentSubcription.maxStorage,\n monthlyContracts: currentSubcription.monthlyContracts,\n };\n store.commit(\"app/features\", features);\n return Promise.resolve(features);\n }\n getCurrentUsage(type: AppUsageType): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const summary: AppUsageSummaryDto = {\n type: 0,\n providers: 10,\n providersInCompliance: 6,\n clients: 4,\n contracts: 3,\n cfdis: 10,\n employees: 20,\n storage: 0.1,\n pendingInvitations: 0, // fakeLinkService.links.filter((f) => f.status === 0).length,\n };\n store.commit(\"app/usage\", summary);\n resolve(summary);\n }, 2000);\n });\n }\n getCurrent(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n create(payload: TenantCreateRequest): Promise {\n const newTenant = createTenant(this.tenants.length + 1);\n newTenant.name = payload.name;\n this.tenants.push(newTenant);\n return Promise.resolve({} as UserLoggedResponse);\n }\n update(payload: TenantDto): Promise {\n return new Promise((resolve, reject) => {\n const tenant = this.tenants.find((f) => f.id === payload.id);\n if (tenant) {\n tenant.name = payload.name;\n store.commit(\"tenant/settings\", payload);\n resolve(tenant);\n } else {\n reject(i18n.t(\"shared.notFound\"));\n }\n });\n }\n updateImage(payload: TenantUpdateImageRequest): Promise {\n throw new Error(\"Method not implemented.\" + payload);\n }\n delete(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n adminDelete(id: string): Promise {\n throw new Error(\"Method not implemented.\" + id);\n }\n}\n","/* eslint-disable */\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { UserUpdateAvatarRequest } from \"@/application/contracts/master/users/UserUpdateAvatarRequest\";\nimport { UserUpdateLocaleRequest } from \"@/application/contracts/master/users/UserUpdateLocaleRequest\";\nimport { UserUpdatePasswordRequest } from \"@/application/contracts/master/users/UserUpdatePasswordRequest\";\nimport { UserUpdateRequest } from \"@/application/contracts/master/users/UserUpdateRequest\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { UserLoginType } from \"@/application/enums/master/users/UserLoginType\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport fakeNamesAndEmails from \"../tenants/FakeNamesAndEmails\";\nimport { FakeTenantService } from \"../tenants/FakeTenantService\";\nimport { IUserService } from \"./IUserService\";\n\nconst users: UserDto[] = [];\nconst fakeTenantService = new FakeTenantService();\n\nfor (let index = 0; index < 20; index++) {\n const user: any = {\n id: index,\n type: UserType.Tenant,\n username: fakeNamesAndEmails[index].email.split(\"@\")[0],\n email: fakeNamesAndEmails[index].email,\n firstName: fakeNamesAndEmails[index].firstName,\n lastName: fakeNamesAndEmails[index].lastName,\n phone: \"\",\n loginType: UserLoginType.PASSWORD,\n avatar: \"\",\n token: \"\",\n defaultTenant: fakeTenantService.tenants[0],\n tenants: fakeTenantService.tenants,\n currentTenant: fakeTenantService.tenants[0],\n timezone: \"\",\n locale: \"\",\n };\n users.push(user);\n}\n\nexport class FakeUserService implements IUserService {\n users = users;\n adminGetAll(): Promise {\n return Promise.resolve(users);\n }\n get(id: string): Promise {\n const user = this.users.find((f) => f.id === id);\n if (user) {\n return Promise.resolve(user);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n getUserAvatar(id: string): Promise {\n const user = this.users.find((f) => f.id === id);\n return Promise.resolve(user?.avatar ?? \"\");\n }\n getClaims(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n getCurrent(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n updateAvatar(avatar: UserUpdateAvatarRequest): Promise {\n throw new Error(\"Method not implemented.\" + avatar);\n }\n updateLocale(payload: UserUpdateLocaleRequest): Promise {\n return Promise.resolve(payload);\n }\n update(id: string, payload: UserUpdateRequest): Promise {\n throw new Error(\"Method not implemented.\" + { id, payload });\n }\n updatePassword(payload: UserUpdatePasswordRequest): Promise {\n throw new Error(\"Method not implemented.\" + payload);\n }\n adminUpdatePassword(userId: string, password: string): Promise {\n throw new Error(\"Method not implemented.\" + { userId, password });\n }\n updateDefaultTenant(tenantId?: string): Promise {\n throw new Error(\"Method not implemented.\" + tenantId);\n }\n deleteMe(): Promise {\n store.dispatch(\"auth/logout\");\n return Promise.resolve();\n }\n adminDelete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","export enum ContractInvitationStatus {\n PENDING,\n REJECTED,\n ACCEPTED,\n}\n","/* eslint-disable */\nimport { CreateEmployeesRequest } from \"@/application/contracts/app/v3/employees/CreateEmployeesRequest\";\nimport { UpdateEmployeeRequest } from \"@/application/contracts/app/v3/employees/UpdateEmployeeRequest\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { FakeUserService } from \"../../../master/users/FakeUserService\";\nimport FakePdfBase64 from \"../contracts/FakePdfBase64\";\nimport FakeXmlBase64 from \"../contracts/FakeXmlBase64\";\nimport { IEmployeeService } from \"./IEmployeeService\";\n\nconst fakeUserService = new FakeUserService();\n\nconst fakeEmployees = [\n { fullName: \"Gabriel Rodríguez Robles\", rfc: \"GRRD010190X23\", curp: \"GRR010190XYZXYZ0\", nss: \"5434567890\", email: \"grabiel@company.com\" },\n { fullName: \"María Guadalupe Ruíz\", rfc: \"MGRD010190X23\", curp: \"MGRD010190XYZXYZ0\", nss: \"6584567890\", email: \"maria@company.com\" },\n { fullName: \"Serratos Contreras García\", rfc: \"SCGD010190X23\", curp: \"SCGD010190XYZXYZ0\", nss: \"9804567890\", email: \"serratos@company.com\" },\n { fullName: \"David Castro Lopez\", rfc: \"DCLD010190X23\", curp: \"DCLD010190XYZXYZ0\", nss: \"3264567890\", email: \"david@company.com\" },\n { fullName: \"Gabriela Álvarez Aguilar\", rfc: \"GAAD010190X23\", curp: \"GAAD010190XYZXYZ0\", nss: \"6434567890\", email: \"grabiela@company.com\" },\n { fullName: \"Alejandra Gómez Carrasco\", rfc: \"AGCD010190X23\", curp: \"AGCD010190XYZXYZ0\", nss: \"2584567890\", email: \"alejandra@company.com\" },\n { fullName: \"Martha Contreras Martínez\", rfc: \"AGCD010190X23\", curp: \"AGCD010190XYZXYZ0\", nss: \"5284567890\", email: \"martha@company.com\" },\n { fullName: \"Rubén Chávez Contreras\", rfc: \"RCCD010190X23\", curp: \"RCCD010190XYZXYZ0\", nss: \"8544567890\", email: \"ruben@company.com\" },\n { fullName: \"Juan Aguilar Rodríguez\", rfc: \"JARD010190X23\", curp: \"JARD010190XYZXYZ0\", nss: \"8874567890\", email: \"juan@company.com\" },\n { fullName: \"Regina Guzmán Jimenez\", rfc: \"RGJD010190X23\", curp: \"RGJD010190XYZXYZ0\", nss: \"1214567890\", email: \"regina@company.com\" },\n];\nconst employees: EmployeeDto[] = [];\nfor (let index = 1; index <= 10; index++) {\n const employee: EmployeeDto = {\n createdByUserId: fakeUserService.users[0].id,\n createdByUser: fakeUserService.users[0],\n createdAt: new Date(),\n id: (index + 300).toString(),\n firstName: fakeEmployees[index - 1].fullName.split(\" \")[0],\n lastName1: fakeEmployees[index - 1].fullName.split(\" \")[1],\n lastName2: fakeEmployees[index - 1].fullName.split(\" \")[2],\n email: fakeEmployees[index - 1].email,\n taxId: fakeEmployees[index - 1].rfc,\n socialSecurityId: fakeEmployees[index - 1].nss,\n populationRegistryId: fakeEmployees[index - 1].curp,\n cfdis: [],\n };\n employees.push(employee);\n employee.cfdis = [\n {\n id: index + 1 + \"\",\n version: \"3.3\",\n fecha: \"2021-09-25T12:00:00\",\n sello: \"\",\n noCertificado: \"\",\n certificado: \"\",\n subTotal: (index + 1) * (index + 1),\n moneda: \"\",\n total: (index + 1) * (index + 1) * 1.16,\n tipoDeComprobante: \"N\",\n lugarExpedicion: \"\",\n emisorRfc: \"COMPANY 1 LEGAL NAME\",\n emisorNombre: \"ABS12345XYZ\",\n emisorRegimenFiscal: \"\",\n receptorRfc: employee.taxId,\n receptorNombre: (employee.firstName + \" \" + employee.lastName1 + \" \" + employee.lastName2).trim(),\n receptorResidenciaFiscal: \"\",\n receptorNumRegIdTrib: \"\",\n receptorUsoCfdi: \"P01\",\n serie: \"\",\n folio: \"\",\n formaPago: \"\",\n condicionesDePago: \"\",\n descuento: 0,\n tipoCambio: \"\",\n metodoPago: \"\",\n confirmacion: \"\",\n xmlText: \"\",\n xml: \"data:application/xml;base64,\" + FakeXmlBase64,\n pdf: \"data:application/pdf;base64,\" + FakePdfBase64,\n fileName: \"\",\n cfdisRelacionados: [],\n conceptos: [],\n impuestos: \"\",\n complemento: \"\",\n addenda: \"\",\n hasXml: false,\n hasPdf: false,\n employeeId: employee.id,\n employee,\n paymentDate: new Date(),\n startPeriod: new Date(),\n endPeriod: new Date(),\n riskPrime: \"\",\n },\n ];\n}\n\nexport class FakeEmployeeService implements IEmployeeService {\n employees: EmployeeDto[] = employees;\n getAll(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.employees);\n }, 500);\n });\n }\n get(id: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const employee = this.employees.find((f) => f.id === id);\n if (employee) {\n resolve(employee);\n } else {\n reject(i18n.t(\"shared.notFound\").toString());\n }\n }, 500);\n });\n }\n create(data: EmployeeDto): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n this.employees.push(data);\n }, 500);\n });\n }\n createMultiple(data: CreateEmployeesRequest): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n data.employees.forEach((element) => {\n this.employees.push(element);\n });\n }, 500);\n });\n }\n // download(id: string): Promise {\n // throw new Error(\"Method not implemented.\");\n // }\n update(id: string, data: UpdateEmployeeRequest): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const item = this.employees.find((f) => f.id?.toString() === id);\n if (item) {\n item.firstName = data.firstName;\n item.lastName1 = data.lastName1;\n item.lastName2 = data.lastName2;\n item.taxId = data.taxId;\n item.socialSecurityId = data.socialSecurityId;\n item.populationRegistryId = data.populationRegistryId;\n item.email = data.email;\n resolve(item);\n } else {\n reject(i18n.t(\"shared.notFound\").toString());\n }\n }, 500);\n });\n }\n delete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","export default \"PGNmZGk6Q29tcHJvYmFudGUgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6Y2ZkaT0iaHR0cDovL3d3dy5zYXQuZ29iLm14L2NmZC8zIiBWZXJzaW9uPSIzLjMiIFNlcmllPSIxIiBGb2xpbz0iMSIgRmVjaGE9IjIwMjEtMDktMjJUMTM6MDY6MTYiIFNlbGxvPSIiIEZvcm1hUGFnbz0iMDMiIE5vQ2VydGlmaWNhZG89IjAwMDAxMDAwMDAwNDA5MTIyMDgwIiBDZXJ0aWZpY2Fkbz0iIiBTdWJUb3RhbD0iNDMxMCIgTW9uZWRhPSJNWE4iIFRvdGFsPSI1MDAwIiBUaXBvRGVDb21wcm9iYW50ZT0iSSIgTWV0b2RvUGFnbz0iUFVFIiBMdWdhckV4cGVkaWNpb249IjQ1MDQwIiB4c2k6c2NoZW1hTG9jYXRpb249Imh0dHA6Ly93d3cuc2F0LmdvYi5teC9jZmQvMyBodHRwOi8vd3d3LnNhdC5nb2IubXgvc2l0aW9faW50ZXJuZXQvY2ZkLzMvY2ZkdjMzLnhzZCI+IDwvY2ZkaTpDb21wcm9iYW50ZT4=\";\n","/* eslint-disable */\nimport { SyncCfdisStatusMessage } from \"@/application/contracts/app/cfdis/SyncCfdisStatusMessage\";\nimport { UploadCfdisRequest } from \"@/application/contracts/app/cfdis/UploadCfdisRequest\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport { CfdiXmlPdfDto } from \"@/application/dtos/app/v3/cfdis/CfdiXmlPdfDto\";\nimport { InvoiceExtractionDto } from \"@/application/dtos/app/v3/cfdis/sat/InvoiceExtractionDto\";\nimport { CfdiType } from \"@/application/enums/app/v3/cfdis/CfdiType\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport FakePdfBase64 from \"../contracts/FakePdfBase64\";\nimport FakeXmlBase64 from \"../contracts/FakeXmlBase64\";\nimport { FakeEmployeeService } from \"../employees/FakeEmployeeService\";\nimport fakeCompanies from \"../providers/FakeCompanies\";\nimport { ICfdiService } from \"./ICfdiService\";\n\nconst fakeEmployeeService = new FakeEmployeeService();\nconst cfdis: CfdiDto[] = [];\n\nconst createCfdi = (index): CfdiDto => {\n const employee = fakeEmployeeService.employees[index];\n const cfdi: CfdiDto = {\n id: index + 1 + \"\",\n version: \"3.3\",\n fecha: \"2021-09-25T12:00:00\",\n sello: \"\",\n noCertificado: \"\",\n certificado: \"\",\n subTotal: (index + 1) * (index + 1),\n moneda: \"\",\n total: (index + 1) * (index + 1) * 10.16,\n tipoDeComprobante: \"N\",\n lugarExpedicion: \"\",\n emisorRfc: fakeCompanies[index].taxId,\n emisorNombre: fakeCompanies[index].legalName,\n emisorRegimenFiscal: \"\",\n receptorRfc: employee.taxId,\n receptorNombre: employee.firstName + \" \" + employee.lastName1 + \" \" + employee.lastName2,\n receptorResidenciaFiscal: \"\",\n receptorNumRegIdTrib: \"\",\n receptorUsoCfdi: \"P01\",\n serie: \"\",\n folio: \"\",\n formaPago: \"\",\n condicionesDePago: \"\",\n descuento: 0,\n tipoCambio: \"\",\n metodoPago: \"\",\n confirmacion: \"\",\n xmlText: \"\",\n xml: \"data:application/xml;base64,\" + FakeXmlBase64,\n pdf: \"data:application/pdf;base64,\" + FakePdfBase64,\n fileName: \"\",\n cfdisRelacionados: [],\n conceptos: [],\n impuestos: \"\",\n complemento: \"\",\n addenda: \"\",\n hasXml: false,\n hasPdf: false,\n employeeId: employee.id,\n employee,\n paymentDate: new Date(),\n startPeriod: new Date(),\n endPeriod: new Date(),\n riskPrime: \"\",\n };\n if (index % 2 === 0) {\n const contract = { id: index + 1 + \"\", name: \"Contrato \" + (index + 1) };\n cfdi.contractEmployeeCfdi = {\n id: \"\",\n contractId: \"\",\n contract: contract as any,\n contractEmployeeId: employee.id,\n contractEmployee: {} as any,\n cfdiId: cfdi.id,\n cfdi,\n };\n }\n return cfdi;\n};\n\nfor (let index = 0; index < fakeEmployeeService.employees.length; index++) {\n const cfdi: CfdiDto = createCfdi(index);\n cfdis.push(cfdi);\n}\n\nexport class FakeCfdiService implements ICfdiService {\n cfdis: CfdiDto[] = cfdis;\n adminGetAll(): Promise {\n return new Promise((resolve, reject) => {\n resolve(cfdis);\n });\n }\n getAllCfdis(type: CfdiType): Promise {\n return new Promise((resolve, reject) => {\n resolve(this.cfdis);\n });\n }\n get(id: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const cfdi = cfdis.find((f) => f.id?.toString() === id);\n if (cfdi) {\n resolve(cfdi);\n } else {\n reject(i18n.t(\"shared.notFound\").toString());\n }\n }, 500);\n });\n }\n getAllExtractions(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n create(data: CfdiDto): Promise {\n throw new Error(\"Method not implemented.\");\n }\n sync(): Promise {\n throw new Error(\"Method not implemented.\");\n }\n download(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n update(id: string, data: CfdiDto): Promise {\n throw new Error(\"Method not implemented.\");\n }\n delete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n readCfdis(data: UploadCfdisRequest): Promise {\n const read: CfdiXmlPdfDto[] = [];\n this.cfdis.forEach((element) => {\n read.push({\n id: \"\",\n fileName: element.receptorRfc + \" \" + element.fecha,\n xml: element.xml,\n pdf: element.pdf,\n cfdi: element,\n });\n });\n return Promise.resolve(read);\n }\n uploadCfdis(data: UploadCfdisRequest): Promise {\n for (let index = 0; index < data.cfdis.length; index++) {\n this.cfdis.push(createCfdi(index));\n }\n return Promise.resolve();\n }\n adminDelete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","const fakeCompanies = [\n {\n taxId: \"BEV450119V58\",\n legalName: \"BABEL, S.A. DE C.V.\",\n },\n {\n taxId: \"CFO4578213A1\",\n legalName: \"COMERCIALIZADORA FOBZ ASOR S.A.DE C.V.\",\n },\n {\n taxId: \"EMR540716Z66\",\n legalName: \"EXCLUSIVAS RENTA, S.A.DE C.V.\",\n },\n {\n taxId: \"DMX740218YX4\",\n legalName: \"DISENOS MAXIMUM S.A. DE C.V.\",\n },\n {\n taxId: \"IMG950010243\",\n legalName: \"INDUSTRIAS MARTINEZ GARCIA\",\n },\n {\n taxId: \"DLS8202283K5\",\n legalName: \"DEPORTES LOGOR SA DE CV\",\n },\n {\n taxId: \"AST700653DLB\",\n legalName: \"EL ASTILLERO S.A.\",\n },\n {\n taxId: \"IMJ940134SY1\",\n legalName: \"INNOVACIONES Y SERVICIOS DE JALISCO S.A. DE C.V. INNOVACIONES Y SERVICIOS DE JALISCO S.A. DE C.V.\",\n },\n {\n taxId: \"GIR1505418Z2\",\n legalName: \"GILATER.S.A.DE C.V.\",\n },\n {\n taxId: \"ABS980102VE5\",\n legalName: \"ABSYS S.C.\",\n },\n {\n taxId: \"EMP151616TR9\",\n legalName: \"EMPACADOS S.A. DE C.V.\",\n },\n {\n taxId: \"EMP151616TR9\",\n legalName: \"EMPACADOS S.A. DE C.V.\",\n },\n];\n\nexport default fakeCompanies;\n","/* eslint-disable */\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { IContractService } from \"./IContractService\";\nimport { CreateContractRequest } from \"@/application/contracts/app/v3/contracts/CreateContractRequest\";\nimport { ContractStatus } from \"@/application/enums/app/v3/contracts/ContractStatus\";\nimport { SendContractRequest } from \"@/application/contracts/app/v3/contracts/SendContractRequest\";\nimport { ContractActivityDto } from \"@/application/dtos/app/v3/contracts/ContractActivityDto\";\nimport { ContractActivityType } from \"@/application/enums/app/v3/contracts/ContractActivityType\";\nimport { FakeWorkspaceService } from \"../../workspaces/FakeWorkspaceService\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport { ContractMemberRole } from \"@/application/enums/app/v3/contracts/ContractMemberRole\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport { ContractEmployeeDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeDto\";\nimport FakePdfBase64 from \"./FakePdfBase64\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { FakeUserService } from \"../../../master/users/FakeUserService\";\nimport { ContractEmployeeListDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeListDto\";\nimport { UpdateContractRequest } from \"@/application/contracts/app/v3/contracts/UpdateContractRequest\";\nimport { ContractInvitationDto } from \"@/application/dtos/app/v3/contracts/ContractInvitationDto\";\nimport { ContractInvitationStatus } from \"@/application/enums/app/v3/contracts/ContractInvitationStatus\";\nimport { ContractEmployeeCfdiDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeCfdiDto\";\nimport { FakeCfdiService } from \"../cfdis/FakeCfdiService\";\nimport store from \"@/store\";\nimport { ContractVisitDto } from \"@/application/dtos/app/v3/contracts/ContractVisitDto\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { FakeEmployeeService } from \"../employees/FakeEmployeeService\";\nimport fakeCompanies from \"../providers/FakeCompanies\";\nimport { ContractStatusFilter } from \"@/application/contracts/app/v3/contracts/ContractStatusFilter\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport { LinkStatus } from \"@/application/enums/app/v3/links/LinkStatus\";\nimport { CreateVisitRequest } from \"@/application/contracts/app/v3/contracts/CreateVisitRequest\";\nimport { CreateEmployeeListRequest } from \"@/application/contracts/app/v3/contracts/CreateEmployeeListRequest\";\nimport { MifielDocument } from \"@/application/dtos/app/v3/mifiel/MifielDocument\";\nimport { ContractFileType } from \"@/application/enums/app/v3/contracts/ContractFileType\";\n\nconst userService = new FakeUserService();\nconst cfdisService = new FakeCfdiService();\nconst fakeEmployeeService = new FakeEmployeeService();\n\nconst users: UserDto[] = userService.users;\nconst contracts: ContractDto[] = [];\nconst invitations: ContractInvitationDto[] = [];\n\n// MEMBERS\nconst members: ContractMemberDto[] = [\n {\n id: \"\",\n userId: userService.users[0].id,\n user: userService.users[0],\n role: ContractMemberRole.SIGNATORY,\n contractId: \"\",\n contract: {} as ContractDto,\n signDate: new Date(),\n },\n {\n id: \"\",\n userId: userService.users[1].id,\n user: userService.users[1],\n role: ContractMemberRole.SIGNATORY,\n contractId: \"\",\n contract: {} as ContractDto,\n },\n {\n id: \"\",\n userId: userService.users[2].id,\n user: userService.users[2],\n role: ContractMemberRole.SPECTATOR,\n contractId: \"\",\n contract: {} as ContractDto,\n },\n];\n\n// EMPLOYEES\nconst employees: ContractEmployeeDto[] = [];\nfor (let index = 1; index <= 10; index++) {\n const employee: ContractEmployeeDto = {\n id: (index + 1).toString(),\n createdAt: new Date(),\n listId: \"\",\n list: {} as ContractEmployeeListDto,\n employeeId: \"\",\n employee: {\n id: \"\",\n firstName: fakeEmployeeService.employees[index - 1].firstName,\n lastName1: fakeEmployeeService.employees[index - 1].lastName1,\n lastName2: fakeEmployeeService.employees[index - 1].lastName2,\n taxId: fakeEmployeeService.employees[index - 1].taxId,\n socialSecurityId: fakeEmployeeService.employees[index - 1].socialSecurityId,\n populationRegistryId: fakeEmployeeService.employees[index - 1].populationRegistryId,\n email: fakeEmployeeService.employees[index - 1].email,\n cfdis: [],\n }, // cfdis: [],\n };\n employees.push(employee);\n employee.employee.cfdis?.push(cfdisService.cfdis[index - 1]);\n // for (let idxCfdi = 1; idxCfdi <= 3; idxCfdi++) {\n // const cfdi = cfdisService.cfdis[index - 1];\n // }\n}\nconst employeeLists: ContractEmployeeListDto[] = [\n {\n id: \"1\",\n number: 1,\n employees,\n createdByUser: users[0],\n hasFile: false,\n digitalSignatureId: \"\",\n },\n];\n\n// CONTRACTS\nconst contractStatus = [ContractStatus.PENDING, ContractStatus.SIGNED, ContractStatus.SIGNED, ContractStatus.ARCHIVED];\n// tslint:disable-next-line: max-line-length\nconst activityTypes = [\n ContractActivityType.CREATED,\n ContractActivityType.SIGNED_PARTIAL,\n ContractActivityType.SIGNED_PARTIAL,\n ContractActivityType.SIGNED_FULL,\n ContractActivityType.UPDATED_EMPLOYEES,\n ContractActivityType.SIGNED_PARTIAL,\n ContractActivityType.SIGNED_PARTIAL,\n ContractActivityType.SIGNED_FULL,\n];\nfor (let idxContract = 0; idxContract < contractStatus.length; idxContract++) {\n const status = contractStatus[idxContract];\n const activity: ContractActivityDto[] = [];\n for (let idxActivity = 0; idxActivity < activityTypes.length; idxActivity++) {\n const type = activityTypes[idxActivity];\n const today = new Date();\n const createdAt = new Date(today.setDate(today.getMonth() + idxActivity));\n activity.push({\n id: idxActivity,\n contractId: \"\",\n contract: {} as ContractDto,\n type,\n createdAt,\n createdByUser: users[0],\n });\n }\n const today = new Date();\n const createdAt = new Date(today.setDate(today.getDate() + idxContract));\n const estimatedStartDate = new Date(createdAt.setMonth(createdAt.getMonth() + 1));\n const realStartDate = new Date(createdAt.setMonth(createdAt.getMonth() + 2));\n const estimatedTerminationDate = new Date(createdAt.setMonth(createdAt.getMonth() + 2));\n const realTerminationDate = new Date(createdAt.setMonth(createdAt.getMonth() + 3));\n\n let providerEmail = \"provider\" + (idxContract + 1) + \"@company.com\";\n let providerTaxId = \"PRO12345XYZ\" + (idxContract + 1);\n let providerLegalName = \"PROVIDER LEGAL NAME \" + (idxContract + 1);\n let clientEmail = \"client\" + (idxContract + 1) + \"@company.com\";\n let clientTaxId = \"CLI12345XYZ\" + (idxContract + 1);\n let clientLegalName = \"CLIENT LEGAL NAME \" + (idxContract + 1);\n if (idxContract === 0) {\n providerEmail = \"admin@delega.com.mx\";\n providerTaxId = \"ABS12345XYZ\";\n providerLegalName = \"COMPANY 1 LEGAL NAME\";\n } else if (idxContract === 1) {\n clientEmail = \"admin@delega.com.mx\";\n clientTaxId = \"ABS12345XYZ\";\n clientLegalName = \"COMPANY 1 LEGAL NAME\";\n }\n const cfdis: ContractEmployeeCfdiDto[] = [];\n employeeLists.forEach((element) => {\n element.employees.forEach((employee) => {\n employee.employee.cfdis?.forEach((employeeCfdi) => {\n cfdis.push({\n id: \"\",\n contractId: \"\",\n contract: {} as any,\n contractEmployeeId: \"\",\n contractEmployee: {} as any,\n cfdiId: employeeCfdi.id,\n cfdi: employeeCfdi,\n });\n });\n });\n });\n const contract: ContractDto = {\n id: (idxContract + 1).toString(),\n createdAt,\n createdByUser: users[0],\n name: \"Contrato \" + (idxContract + 1),\n digitalSignatureId: \"\",\n linkId: (idxContract + 100).toString(),\n link: {\n id: (idxContract + 100).toString(),\n createdAt: new Date(),\n createdByUserId: \"\",\n createdByUser: {} as UserDto,\n createdByWorkspaceId: \"\",\n createdByWorkspace: {} as WorkspaceDto,\n status: LinkStatus.LINKED,\n providerWorkspaceId: \"1\",\n providerWorkspace: {\n id: \"1\",\n name: fakeCompanies[idxContract].legalName,\n legalName: fakeCompanies[idxContract].legalName,\n taxId: fakeCompanies[idxContract].taxId,\n businessMainActivity: \"\",\n type: WorkspaceType.SPECIALIZED_PROVIDER,\n registrationNumber: \"\",\n registrationDate: new Date(),\n users: [],\n documentation: [],\n },\n clientWorkspaceId: \"2\",\n clientWorkspace: {\n id: \"2\",\n name: \"COMERCIALIZADORA FOBZ ASOR S.A.DE C.V.\",\n taxId: \"CFO4578213A1\",\n legalName: \"COMERCIALIZADORA FOBZ ASOR S.A.DE C.V.\",\n businessMainActivity: \"\",\n type: WorkspaceType.REGULAR,\n registrationNumber: \"\",\n registrationDate: new Date(),\n users: [],\n documentation: [],\n },\n },\n hasFile: true,\n estimatedStartDate,\n realStartDate,\n estimatedTerminationDate,\n realTerminationDate,\n status,\n description:\n \"CONTRATO DE PRESTACIÓN DE SERVICIOS DE IMPLEMENTACIÓN, SOFTWARE Y HARDWARE, QUE CELEBRAN POR UNA PARTE ABSYS SC, REPRESENTADA POR EL ING. ALEXANDRO MARTÍNEZ GARCÍA EN LO SUCESIVO DENOMINADO “EL PROVEEDOR” Y POR LA OTRA PARTE “BABEL, S.A. DE C.V.”, REPRESENTADA POR EL ING. LUIS GONZALEZ EN LO SUCESIVO DENOMINADO “EL CLIENTE”, AL AMPARO DE LAS SIGUIENTES DECLARACIONES Y CLAUSULAS...\",\n employeeLists,\n members,\n activity,\n cfdis,\n visits: [],\n };\n contracts.push(contract);\n invitations.push({\n id: \"\",\n contractId: contract.id,\n contract,\n link: \"fake-contract-link\",\n public: true,\n status: ContractInvitationStatus.PENDING,\n });\n\n const visits: ContractVisitDto[] = [];\n for (let idxVisits = 1; idxVisits <= 1; idxVisits++) {\n const visit: ContractVisitDto = {\n createdAt: new Date(),\n id: idxVisits,\n comments: \"Lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum\",\n contractId: contract.id,\n contract,\n employees: [],\n };\n visits.push(visit);\n }\n\n contract.visits = visits;\n}\n\nexport class FakeContractService implements IContractService {\n contracts: ContractDto[] = contracts;\n invitations: ContractInvitationDto[] = invitations;\n getAllByStatusFilter(status: ContractStatusFilter): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n let contracts = this.contracts;\n if (status !== ContractStatusFilter.ALL) {\n contracts = this.contracts.filter((f) => Number(f.status) === Number(status));\n }\n resolve(contracts);\n }, 500);\n });\n }\n getAllByLink(linkId: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const contracts = this.contracts.filter((f) => f.linkId === linkId);\n resolve(contracts);\n }, 500);\n });\n }\n getEmployeeContracts(linkId: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.contracts);\n }, 500);\n });\n }\n getContract(id: string, employees: boolean): Promise {\n console.log(\"contracts: \" + this.contracts.length);\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const contract = this.contracts.find((f) => f.id?.toString() === id);\n if (contract) {\n resolve(contract);\n } else {\n reject(i18n.t(\"shared.notFound\").toString());\n }\n }, 500);\n });\n }\n getDigitalDocument(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n getEmployeeListDigitalDocument(id: string, listId: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n getInvitation(link: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const invitation = this.invitations.find((f) => f.link.toString() === link);\n if (invitation) {\n resolve(invitation);\n } else {\n reject(i18n.t(\"shared.notFound\").toString());\n }\n }, 500);\n });\n }\n create(data: CreateContractRequest): Promise {\n const contract: ContractDto = {\n id: this.contracts.length + 1 + \"\",\n name: data.name,\n description: data.description,\n linkId: data.linkId,\n link: {} as LinkDto,\n hasFile: true,\n status: ContractStatus.PENDING,\n estimatedStartDate: data.estimatedStartDate,\n realStartDate: data.realStartDate,\n estimatedTerminationDate: data.estimatedTerminationDate,\n realTerminationDate: data.realTerminationDate,\n members: [],\n employeeLists: [],\n cfdis: [],\n activity: [],\n visits: [],\n createdAt: new Date(),\n createdByUserId: store.state.account.user?.id ?? \"\",\n createdByUser: store.state.account.user ?? undefined,\n digitalSignatureId: \"\",\n };\n contract.members = [];\n data.members.forEach((addMember) => {\n contract.members.push({\n id: \"\",\n role: addMember.role,\n contractId: contract.id,\n contract,\n userId: users[0].id,\n user: users[0],\n signDate: undefined,\n });\n });\n\n const employeeList: ContractEmployeeListDto = {\n id: \"1\",\n number: 1,\n employees: [],\n hasFile: false,\n digitalSignatureId: \"\",\n };\n contract.employeeLists.push(employeeList);\n\n employeeList.employees = [];\n data.employees.forEach((employee) => {\n // const employee: EmployeeDto = {\n // id: \"\",\n // firstName: addEmployee.fullName,\n // taxId: addEmployee.taxId,\n // socialSecurityId: addEmployee.socialSecurityId,\n // populationRegistryId: addEmployee.populationRegistryId,\n // cfdis: [],\n // };\n employeeList.employees.push({\n id: \"\",\n listId: employeeList.id,\n list: employeeList,\n employeeId: employee.id,\n employee,\n });\n });\n\n contract.activity.push({\n id: \"\",\n contractId: contract.id,\n contract,\n type: ContractActivityType.CREATED,\n createdAt: new Date(),\n createdByUserId: store.state.account.user?.id ?? \"\",\n createdByUser: store.state.account.user ?? undefined,\n });\n\n this.contracts.push(contract);\n console.log(\"contracts: \" + this.contracts.length);\n return Promise.resolve(contract);\n }\n signed(id: string, signature: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n updateEmployeeList(id: string, data: CreateEmployeeListRequest): Promise {\n return new Promise((resolve, reject) => {\n const contract = this.contracts.find((f) => f.id?.toString() === id);\n if (contract) {\n contract.members.forEach((element) => {\n element.signDate = undefined;\n });\n contract.activity.push({\n id: \"\",\n contractId: contract.id,\n contract,\n type: ContractActivityType.UPDATED_EMPLOYEES,\n createdAt: new Date(),\n createdByUserId: store.state.account.user?.id ?? \"\",\n createdByUser: store.state.account.user ?? undefined,\n });\n }\n // resolve(data);\n });\n }\n createVisit(id: string, data: CreateVisitRequest): Promise {\n const contract = this.contracts.find((f) => f.id?.toString() === id);\n if (contract) {\n const visit: ContractVisitDto = {\n createdAt: new Date(),\n id: \"\",\n comments: data.comments,\n contractId: id,\n contract,\n employees: data.employees,\n };\n contract.visits.push(visit);\n return Promise.resolve(visit);\n }\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n downloadFile(id: string, type: ContractFileType): Promise {\n const contract = this.contracts.find((f) => f.id?.toString() === id);\n if (contract) {\n return Promise.resolve(FakePdfBase64);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\").toString());\n }\n }\n downloadAddendum(id: string, listId: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n send(id: string, request: SendContractRequest): Promise {\n return Promise.resolve(true);\n }\n update(id: string, data: UpdateContractRequest): Promise {\n const contract = this.contracts.find((f) => f.id?.toString() === id);\n if (contract) {\n if (data.name) {\n contract.name = data.name;\n }\n if (data.description) {\n contract.description = data.description;\n }\n if (data.file) {\n contract.hasFile = true;\n }\n return Promise.resolve(contract);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\").toString());\n }\n }\n delete(id: string): Promise {\n this.contracts = this.contracts.filter((f) => f.id !== id);\n return Promise.resolve(this.contracts);\n }\n}\n","/* eslint-disable */\nimport { CreateCredentialCiecRequest } from \"@/application/contracts/master/workspaces/CreateCredentialCiecRequest\";\nimport { CreateCredentialEfirmaRequest } from \"@/application/contracts/master/workspaces/CreateCredentialEfirmaRequest\";\nimport { CreateWorkspaceRequest } from \"@/application/contracts/master/workspaces/CreateWorkspaceRequest\";\nimport { UpdateWorkspaceRequest } from \"@/application/contracts/master/workspaces/UpdateWorkspaceRequest\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { Role } from \"@/application/enums/app/common/Role\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport fakeCompanies from \"../v3/providers/FakeCompanies\";\nimport { IWorkspaceService } from \"./IWorkspaceService\";\n\nconst fakeUser = {\n id: \"\",\n email: \"user@email.com\",\n};\nconst workspaces: WorkspaceDto[] = [\n // {\n // id: \"1\",\n // tenant: undefined,\n // name: \"ABSYS SC\",\n // taxId: \"ABS12345XYZ\",\n // legalName: \"ABSYS SC\",\n // isProvider: true,\n // public: true,\n // businessMainActivity: \"Business Main Activity\",\n // type: WorkspaceType.SpecializedProvider,\n // addressStreet: undefined,\n // addressExterior: undefined,\n // addressInterior: undefined,\n // addressNeighborhood: undefined,\n // addressCity: undefined,\n // addressZip: undefined,\n // addressState: undefined,\n // addressCountry: undefined,\n // default: false,\n // users: [\n // {\n // workspaceId: \"1\",\n // userId: \"e9b2b8da-c72b-4b89-872b-81bc5b36a28f\",\n // role: Role.ADMINISTRATOR,\n // default: false,\n // id: \"1c8a666d-ea0d-4a65-8d0c-d71e8b3c4879\",\n // user: fakeUser as UserDto,\n // },\n // ],\n // projects: [],\n // documentation: [],\n // },\n // {\n // id: \"2\",\n // tenant: undefined,\n // name: \"COMPANY 2\",\n // taxId: \"XYZ12345ABS\",\n // legalName: \"COMPANY 2 LEGAL NAME\",\n // isProvider: false,\n // public: true,\n // businessMainActivity: \"Business Main Activity\",\n // type: WorkspaceType.Regular,\n // addressStreet: undefined,\n // addressExterior: undefined,\n // addressInterior: undefined,\n // addressNeighborhood: undefined,\n // addressCity: undefined,\n // addressZip: undefined,\n // addressState: undefined,\n // addressCountry: undefined,\n // default: false,\n // users: [\n // {\n // workspaceId: \"2\",\n // userId: \"e9b2b8da-c72b-4b89-872b-81bc5b36a28f\",\n // role: Role.ADMINISTRATOR,\n // default: false,\n // id: \"1c8a666d-ea0d-4a65-8d0c-d71e8b3c4879\",\n // },\n // ],\n // projects: [],\n // documentation: [],\n // },\n];\n\nfor (let index = 0; index < fakeCompanies.length; index++) {\n workspaces.push({\n id: (index + 1).toString(),\n tenant: undefined,\n name: fakeCompanies[index].legalName,\n taxId: fakeCompanies[index].taxId,\n legalName: fakeCompanies[index].legalName,\n businessMainActivity: \"Servicios de consultoría en computación y desarrollo de software de aplicaciones empresariales.\",\n type: WorkspaceType.SPECIALIZED_PROVIDER,\n registrationNumber: \"\",\n registrationDate: new Date(),\n addressStreet: undefined,\n addressExterior: undefined,\n addressInterior: undefined,\n addressNeighborhood: undefined,\n addressCity: undefined,\n addressZip: undefined,\n addressState: undefined,\n addressCountry: undefined,\n default: false,\n users: [\n {\n workspaceId: \"1\",\n userId: \"e9b2b8da-c72b-4b89-872b-81bc5b36a28f\",\n role: Role.ADMINISTRATOR,\n default: false,\n id: \"1c8a666d-ea0d-4a65-8d0c-d71e8b3c4879\",\n user: fakeUser as UserDto,\n },\n ],\n documentation: [],\n });\n}\n\nexport class FakeWorkspaceService implements IWorkspaceService {\n workspaces = workspaces;\n adminGetAll(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const workspaces = this.workspaces.filter((f) => f.type === WorkspaceType.SPECIALIZED_PROVIDER).slice(0, 2);\n resolve(workspaces);\n }, 500);\n });\n }\n getAllPublicProviders(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const workspaces = this.workspaces.filter((f) => f.type === WorkspaceType.SPECIALIZED_PROVIDER).slice(0, 2);\n resolve(workspaces);\n }, 500);\n });\n }\n getAllWorkspaces(saveInStore: boolean): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const workspaces = this.workspaces.filter((f) => f.type === WorkspaceType.SPECIALIZED_PROVIDER).slice(0, 2);\n if (saveInStore) {\n store.commit(\"tenant/workspaces\", workspaces);\n }\n resolve(workspaces);\n }, 500);\n });\n }\n search(taxId: string, email: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const workspace = this.workspaces.find((f) => f.taxId === taxId);\n if (workspace) {\n const user = workspace.users.map((f) => f.user).find((f) => f?.email === email);\n if (user) {\n console.log(\"found\");\n resolve(workspace);\n }\n }\n console.log(\"not found\");\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n get(id: string): Promise {\n const workspace = this.workspaces.find((f) => f.id === id);\n if (workspace) {\n return Promise.resolve(workspace);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n create(data: CreateWorkspaceRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n createCredentialCiec(data: CreateCredentialCiecRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n createCredentialEfirma(data: CreateCredentialEfirmaRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n addUser(id: string, data: WorkspaceUserDto): Promise {\n throw new Error(\"Method not implemented.\");\n }\n update(id: string, data: UpdateWorkspaceRequest): Promise {\n const workspace = this.workspaces.find((f) => f.id === id);\n if (workspace) {\n workspace.name = data.name;\n workspace.legalName = data.legalName;\n return Promise.resolve(workspace);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n updateType(id: string, type: WorkspaceType): Promise {\n throw new Error(\"Method not implemented.\");\n }\n removeUser(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n delete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n deleteCredential(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n adminDelete(id: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","import { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport { ApiService } from \"../../../ApiService\";\nimport { IContractService } from \"./IContractService\";\nimport { CreateContractRequest } from \"@/application/contracts/app/v3/contracts/CreateContractRequest\";\nimport { SendContractRequest } from \"@/application/contracts/app/v3/contracts/SendContractRequest\";\nimport { UpdateContractRequest } from \"@/application/contracts/app/v3/contracts/UpdateContractRequest\";\nimport { ContractEmployeeListDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeListDto\";\nimport { ContractVisitDto } from \"@/application/dtos/app/v3/contracts/ContractVisitDto\";\nimport { ContractStatusFilter } from \"@/application/contracts/app/v3/contracts/ContractStatusFilter\";\nimport { CreateVisitRequest } from \"@/application/contracts/app/v3/contracts/CreateVisitRequest\";\nimport { CreateEmployeeListRequest } from \"@/application/contracts/app/v3/contracts/CreateEmployeeListRequest\";\nimport { MifielDocument } from \"@/application/dtos/app/v3/mifiel/MifielDocument\";\nimport { ContractFileType } from \"@/application/enums/app/v3/contracts/ContractFileType\";\n\nexport class ContractService extends ApiService implements IContractService {\n constructor() {\n super(\"Contract\");\n }\n getAllByStatusFilter(filter: ContractStatusFilter): Promise {\n return super.getAll(\"GetAllByStatusFilter/\" + filter);\n }\n getAllByLink(linkId: string): Promise {\n return super.getAll(\"GetAllByLink/\" + linkId);\n }\n getContract(id: string, employees: boolean): Promise {\n return super.get(`Get/${id}/${employees}`);\n }\n getDigitalDocument(id: string): Promise {\n return super.get(\"GetDigitalDocument\", id);\n }\n getEmployeeListDigitalDocument(id: string, listId: string): Promise {\n return super.get(`GetEmployeeListDigitalDocument/${id}/${listId}`, id);\n }\n create(data: CreateContractRequest): Promise {\n return super.post(data, \"Create\");\n }\n signed(id: string, signature: string): Promise {\n return super.post(undefined, `Signed/${id}/${signature}`);\n }\n updateEmployeeList(id: string, data: CreateEmployeeListRequest): Promise {\n return super.post(data, \"UpdateEmployeeList/\" + id);\n }\n createVisit(id: string, data: CreateVisitRequest): Promise {\n return super.post(data, \"CreateVisit/\" + id);\n }\n downloadFile(id: string, format: ContractFileType): Promise {\n return super.post(undefined, `Download/${id}/${format}`);\n }\n downloadAddendum(id: string, listId: string): Promise {\n return super.post(undefined, `DownloadAddendum/${id}/${listId}`);\n }\n send(id: string, request: SendContractRequest): Promise {\n return super.post(request, `Send/${id}`);\n }\n update(id: string, data: UpdateContractRequest): Promise {\n return super.put(id, data, \"Update\");\n }\n delete(id: string): Promise {\n return super.delete(id);\n }\n}\n","import { SendDocumentationStatusRequest } from \"@/application/contracts/app/v3/documentation/SendDocumentationStatusRequest\";\nimport { DocumentationStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentationStatusDto\";\nimport { ApiService } from \"../../../ApiService\";\nimport { IDocumentationService } from \"./IDocumentationService\";\nimport { UpdateDocumentPeriodRequest } from \"@/application/contracts/app/v3/documentation/UpdateDocumentPeriodRequest\";\nimport { CreateDocumentRequest } from \"@/application/contracts/app/v3/documentation/CreateDocumentRequest\";\n\nexport class DocumentationService extends ApiService implements IDocumentationService {\n constructor() {\n super(\"Documentation\");\n }\n // tslint:disable-next-line: max-line-length\n getMyDocumentationStatus(year: number, validatePreivousPeriods: boolean, date?: Date): Promise {\n const byDate = date ? `?byDate=${date}` : \"\";\n return super.getAll(`GetMyDocumentationStatus/${year}/${validatePreivousPeriods}${byDate}`);\n }\n // tslint:disable-next-line: max-line-length\n getDocumentationStatus(linkId: string, year: number, validatePreivousPeriods: boolean, date?: Date): Promise {\n const byDate = date ? `?byDate=${date}` : \"\";\n return super.getAll(`GetDocumentationStatus/${linkId}/${year}/${validatePreivousPeriods}${byDate}`);\n }\n // tslint:disable-next-line: max-line-length\n sendDocumentationStatus(linkId: string, year: number, validatePreivousPeriods: boolean, payload: SendDocumentationStatusRequest, date?: Date): Promise {\n const byDate = date ? `?byDate=${date}` : \"\";\n return super.post(payload, `SendDocumentationStatus/${linkId}/${year}/${validatePreivousPeriods}${byDate}`);\n }\n // get(id: string): Promise {\n // return super.get(`Get/${id}`);\n // }\n // downloadDocument(workspaceId: string, year: number, period: number, type: DocumentationType): Promise {\n // return super.download(`DownloadDocument/${workspaceId}/${year}/${period}/${type}`);\n // }\n downloadDocument(linkId: string, id: string): Promise {\n return super.post(undefined, `Download/${linkId}/${id}`);\n }\n downloadMyDocument(id: string): Promise {\n return super.post(undefined, `DownloadMyDocument/${id}`);\n }\n downloadAll(linkId: string, year: number): Promise {\n return super.download(undefined, `DownloadAll/${linkId}/${year}`);\n }\n downloadAllMyDocuments(year: number): Promise {\n return super.download(undefined, `DownloadAllMyDocuments/${year}`);\n }\n downloadAllMyProvidersDocuments(year: number): Promise {\n return super.download(undefined, `DownloadAllMyProvidersDocuments/${year}`);\n }\n create(payload: CreateDocumentRequest): Promise {\n return super.post(payload, \"Create\");\n }\n updateDocumentPeriod(id: string, payload: UpdateDocumentPeriodRequest): Promise {\n return super.put(id, payload, \"Update\");\n }\n delete(id: string): Promise {\n return super.delete(id, \"Delete\");\n }\n}\n","/* eslint-disable */\nimport { CreateDocumentRequest } from \"@/application/contracts/app/v3/documentation/CreateDocumentRequest\";\nimport { SendDocumentationStatusRequest } from \"@/application/contracts/app/v3/documentation/SendDocumentationStatusRequest\";\nimport { UpdateDocumentPeriodRequest } from \"@/application/contracts/app/v3/documentation/UpdateDocumentPeriodRequest\";\nimport { DocumentationDto } from \"@/application/dtos/app/v3/documentation/DocumentationDto\";\nimport { DocumentationStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentationStatusDto\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport { DocumentationType } from \"@/application/enums/app/v3/documentation/DocumentationType\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport FakePdfBase64 from \"../contracts/FakePdfBase64\";\nimport { IDocumentationService } from \"./IDocumentationService\";\n\nconst items: DocumentationDto[] = [\n {\n id: \"1\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_COMPLIANCE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 8, 1),\n hasFile: true,\n public: true,\n },\n {\n id: \"2\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_MONTHLY_ISR_STATEMENT,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 8, 2),\n hasFile: false,\n public: true,\n },\n {\n id: \"3\",\n year: 2021,\n period: 9,\n type: DocumentationType.IMSS_COMPLIANCE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 3),\n hasFile: false,\n public: true,\n },\n {\n id: \"4\",\n year: 2021,\n period: 9,\n type: DocumentationType.INFONAVIT_COMPLIANCE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"4\",\n year: 2021,\n period: 10,\n type: DocumentationType.INFONAVIT_COMPLIANCE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n // {\n // id: \"4\",\n // year: 2021,\n // number: 1,\n // type: DocumentationType.TEST_BIMONTHLY,\n // createdAt: new Date(2021, 7, 4),\n // hasFile: false,\n // public: true,\n // },\n {\n id: \"4\",\n year: 2021,\n period: 3,\n type: DocumentationType.INFONAVIT_SISUB,\n periodicity: Periodicity.QUATERLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"4\",\n year: 2021,\n period: 10,\n type: DocumentationType.STPS_REPSE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 1,\n type: DocumentationType.SAT_YEARLY_STATEMENT,\n periodicity: Periodicity.YEARLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.IMSS_SUA_EMPLOYEES_FEES,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.IMSS_SIPARE_SUA_PAYMENT,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.IMSS_SIPARE_SUA,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_MONTHLY_PAYMENT,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_MONTHLY_TAX_STATEMENT,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_MONTHLY_ISR_STATEMENT,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 7, 4),\n hasFile: false,\n public: true,\n },\n {\n id: \"5\",\n year: 2021,\n period: 9,\n type: DocumentationType.SAT_COMPLIANCE,\n periodicity: Periodicity.MONTHLY,\n createdAt: new Date(2021, 9, 4),\n hasFile: false,\n public: true,\n },\n];\n// const items: CompanyDocumentationDto[] = [];\nexport class FakeDocumentationService implements IDocumentationService {\n items = items;\n getMyDocumentationStatus(year: number, validatePreivousPeriods: boolean): Promise {\n const items = this.items.filter((f) => f.year === year);\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve({} as DocumentationStatusDto);\n }, 500);\n });\n }\n // tslint:disable-next-line: max-line-length\n getDocumentationStatus(linkId: string, year: number, validatePreivousPeriods: boolean): Promise {\n const items = this.items.filter((f) => f.year === year);\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve({} as DocumentationStatusDto);\n }, 500);\n });\n }\n // tslint:disable-next-line: max-line-length\n sendDocumentationStatus(linkId: string, year: number, validatePreivousPeriods: boolean, payload: SendDocumentationStatusRequest): Promise {\n return Promise.resolve();\n }\n get(id: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const item = this.items.find((f) => f.id === id);\n if (item) {\n resolve(item);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n downloadDocument(linkId: string, id: string): Promise {\n const item = items.find((f) => f.id === id);\n if (item) {\n return Promise.resolve(FakePdfBase64);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n downloadMyDocument(id: string): Promise {\n const item = items.find((f) => f.id === id);\n if (item) {\n return Promise.resolve(FakePdfBase64);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n downloadAll(linkId: string, year: number): Promise {\n throw new Error(\"Method not implemented.\");\n }\n downloadAllMyDocuments(year: number): Promise {\n throw new Error(\"Method not implemented.\");\n }\n downloadAllMyProvidersDocuments(year: number): Promise {\n throw new Error(\"Method not implemented.\");\n }\n // downloadDocument(workspaceId: string, year: number, month: number, type: DocumentationType): Promise {\n // const item = items.find((f) => f.year === year && f.number === month && f.type === type);\n // if (item) {\n // const response = { data: item.file };\n // return Promise.resolve(response);\n // } else {\n // return Promise.reject(i18n.t(\"shared.notFound\"));\n // }\n // }\n create(payload: CreateDocumentRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n updateDocumentPeriod(id: string, payload: UpdateDocumentPeriodRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n delete(id: string): Promise {\n const item = items.find((f) => f.id === id);\n if (item) {\n this.items = this.items.filter((f) => f.id !== id);\n return Promise.resolve();\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n}\n","import { CreateEmployeesRequest } from \"@/application/contracts/app/v3/employees/CreateEmployeesRequest\";\nimport { UpdateEmployeeRequest } from \"@/application/contracts/app/v3/employees/UpdateEmployeeRequest\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport { ApiService } from \"../../../ApiService\";\nimport { IEmployeeService } from \"./IEmployeeService\";\n\nexport class EmployeeService extends ApiService implements IEmployeeService {\n constructor() {\n super(\"Employee\");\n }\n getAll(): Promise {\n return super.getAll(\"GetAll?status=\" + status);\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n create(data: EmployeeDto): Promise {\n return super.post(data, \"Create\");\n }\n createMultiple(data: CreateEmployeesRequest): Promise {\n return super.post(data, \"CreateMultiple\");\n }\n // download(id: string): Promise {\n // return super.download(undefined, \"Download/\" + id);\n // }\n update(id: string, data: UpdateEmployeeRequest): Promise {\n return super.put(id, data, \"Update\");\n }\n delete(id: string): Promise {\n return super.delete(id);\n }\n}\n","/* eslint-disable */\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\nimport { UserLoginRequest } from \"@/application/contracts/master/users/UserLoginRequest\";\nimport { UserRegisterRequest } from \"@/application/contracts/master/users/UserRegisterRequest\";\nimport { UserVerifyRequest } from \"@/application/contracts/master/users/UserVerifyRequest\";\nimport store from \"@/store\";\nimport { FakeWorkspaceService } from \"../../app/workspaces/FakeWorkspaceService\";\nimport { FakeTenantService } from \"../tenants/FakeTenantService\";\nimport { FakeUserService } from \"./FakeUserService\";\nimport { IAuthenticationService } from \"./IAuthenticationService\";\n\nconst fakeUserService = new FakeUserService();\nconst fakeWorkspaceService = new FakeWorkspaceService();\nconst fakeTenantService = new FakeTenantService();\n\nconst defaultWorkspace = fakeWorkspaceService.workspaces[0];\ndefaultWorkspace.tenant = fakeTenantService.tenants[0];\n\nconst userLoggedResponse: UserLoggedResponse = {\n user: fakeUserService.users[0],\n token: \"\",\n defaultWorkspace,\n};\n\nexport class FakeAuthenticationService implements IAuthenticationService {\n login(payload: UserLoginRequest): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n store.commit(\"auth/login\", userLoggedResponse);\n resolve(userLoggedResponse);\n }, 1000);\n });\n }\n impersonate(userId: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n register(payload: UserRegisterRequest): Promise {\n return this.login({} as UserLoginRequest);\n }\n verify(payload: UserVerifyRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n reset(email: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","/* eslint-disable */\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport { LinkStatus } from \"@/application/enums/app/v3/links/LinkStatus\";\nimport { ILinkService } from \"./ILinkService\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { FakeWorkspaceService } from \"@/services/api/app/workspaces/FakeWorkspaceService\";\nimport fakeNamesAndEmails from \"../../tenants/FakeNamesAndEmails\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { FakeContractService } from \"@/services/api/app/v3/contracts/FakeContractService\";\nimport { DocumentationDto } from \"@/application/dtos/app/v3/documentation/DocumentationDto\";\nimport documentTypes from \"@/application/dtos/app/v3/documentation/DocumentationTypes\";\nimport { FakeUserService } from \"../../users/FakeUserService\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport fakeCompanies from \"@/services/api/app/v3/providers/FakeCompanies\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { LinkInvitationDto } from \"@/application/dtos/master/v3/links/LinkInvitationDto\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { CreateLinkRequest } from \"@/application/contracts/master/v3/links/CreateLinkRequest\";\nimport { UpdateLinkRequest } from \"@/application/contracts/master/v3/links/UpdateLinkRequest\";\n\nconst fakeContractService = new FakeContractService();\nconst fakeWorkspaceService = new FakeWorkspaceService();\nconst fakeUserService = new FakeUserService();\n\nconst providers: LinkDto[] = [];\nfor (let index = 1; index <= 10; index++) {\n const documentation: DocumentationDto[] = [];\n const periods = [\n {\n year: 2021,\n month: 9,\n },\n {\n year: 2021,\n month: 10,\n },\n ];\n\n let documentNumber = 0;\n if (index > 1 && index <= 5) {\n documentNumber = 4;\n } else {\n documentNumber = documentTypes.length;\n }\n // tslint:disable-next-line: prefer-for-of\n for (let periodIdx = 0; periodIdx < periods.length; periodIdx++) {\n const period = periods[periodIdx];\n if (index >= 3 && index <= 7 && period.month === 9) {\n continue;\n }\n const date = new Date(period.year, period.month, 1);\n for (let index = 0; index < documentNumber; index++) {\n const documentType = documentTypes[index];\n documentation.push({\n id: \"\",\n year: date.getFullYear(),\n period: date.getMonth(),\n periodicity: documentType.periodicity,\n type: documentType.type,\n hasFile: true,\n public: true,\n });\n }\n }\n\n const provider: LinkDto = {\n createdAt: new Date(),\n id: (index + 100).toString(),\n createdByUserId: fakeUserService.users[0].id,\n createdByUser: fakeUserService.users[0],\n createdByWorkspaceId: index === 1 ? \"2\" : \"1\",\n createdByWorkspace: {} as WorkspaceDto,\n providerWorkspaceId: (index - 1).toString(),\n providerWorkspace: {\n id: index.toString(),\n name: fakeCompanies[index - 1].legalName,\n legalName: fakeCompanies[index - 1].legalName,\n taxId: fakeCompanies[index - 1].taxId,\n businessMainActivity: \"Servicios de consultoría en computación y desarrollo de software de aplicaciones empresariales.\",\n type: WorkspaceType.SPECIALIZED_PROVIDER,\n registrationNumber: \"\",\n registrationDate: undefined,\n users: [],\n documentation,\n },\n clientWorkspaceId: index.toString(),\n clientWorkspace: {\n id: (index + 1).toString(),\n name: fakeCompanies[index].legalName,\n legalName: fakeCompanies[index].legalName,\n taxId: fakeCompanies[index].taxId,\n businessMainActivity: \"Servicios de consultoría en computación y desarrollo de software de aplicaciones empresariales.\",\n type: WorkspaceType.REGULAR,\n registrationNumber: \"\",\n registrationDate: undefined,\n users: [],\n documentation: [],\n },\n contracts: [],\n status: index <= 2 ? LinkStatus.PENDING : LinkStatus.LINKED,\n };\n // tslint:disable-next-line: max-line-length\n const contracts = fakeContractService.contracts.filter((f) => f.workspace?.taxId === provider.providerWorkspace.taxId);\n provider.contracts = contracts;\n providers.push(provider);\n}\n\nconst clients: LinkDto[] = [];\nfor (let index = 1; index <= 10; index++) {\n const client: LinkDto = {\n id: (index + 200).toString(),\n createdAt: new Date(),\n createdByUserId: fakeUserService.users[0].id,\n createdByUser: fakeUserService.users[0],\n createdByWorkspaceId: index === 1 ? \"1\" : \"2\",\n createdByWorkspace: {} as WorkspaceDto,\n providerWorkspaceId: \"1\",\n providerWorkspace: {\n id: \"1\",\n name: fakeCompanies[index - 1].legalName,\n legalName: fakeCompanies[index - 1].legalName,\n taxId: fakeCompanies[index - 1].taxId,\n businessMainActivity: \"Servicios de consultoría en computación y desarrollo de software de aplicaciones empresariales.\",\n type: WorkspaceType.SPECIALIZED_PROVIDER,\n registrationNumber: \"\",\n registrationDate: new Date(),\n users: [],\n documentation: [],\n },\n clientWorkspaceId: \"2\",\n clientWorkspace: {\n id: \"2\",\n name: fakeCompanies[index - 1].legalName,\n legalName: fakeCompanies[index - 1].legalName,\n taxId: fakeCompanies[index - 1].taxId,\n businessMainActivity: \"Servicios de consultoría en computación y desarrollo de software de aplicaciones empresariales.\",\n type: WorkspaceType.REGULAR,\n registrationNumber: \"\",\n registrationDate: new Date(),\n users: [],\n documentation: [],\n },\n contracts: [],\n status: index <= 2 ? LinkStatus.PENDING : LinkStatus.LINKED,\n };\n // tslint:disable-next-line: max-line-length\n const contracts = fakeContractService.contracts.filter((f) => f.linkId === client.id);\n client.contracts = contracts;\n clients.push(client);\n}\n\nconst links: LinkDto[] = [...providers, ...clients];\n\nconst invitations: LinkInvitationDto[] = [\n {\n id: \"1\",\n createdByUser: {\n email: \"alex@delega.com.mx\",\n firstName: \"Alexandro\",\n lastName: \"Martinez\",\n },\n createdByWorkspace: {\n name: \"Absys\",\n taxId: \"ABS990201VE4\",\n legalName: \"ABSYS SC\",\n },\n taxId: \"RFC123456789\",\n legalName: \"RAZÓN SOCIAL\",\n email: \"pedro@delega.com.mx\",\n message: \"Favor de crear su cuenta para creación de contrato #ABC123.\",\n status: LinkStatus.PENDING,\n inviteeIsProvider: true,\n } as LinkInvitationDto,\n {\n id: \"2\",\n createdByUser: {\n email: \"alex@delega.com.mx\",\n firstName: \"Alexandro\",\n lastName: \"Martinez\",\n },\n createdByWorkspace: {\n name: \"Absys\",\n taxId: \"ABS990201VE4\",\n legalName: \"ABSYS SC\",\n },\n taxId: \"RFC123456789\",\n legalName: \"RAZÓN SOCIAL\",\n email: \"pedro@delega.com.mx\",\n message: \"Favor de crear su cuenta para creación de contrato #ABC123.\",\n status: LinkStatus.PENDING,\n inviteeIsProvider: false,\n } as LinkInvitationDto,\n];\n\nexport class FakeLinkService implements ILinkService {\n links: LinkDto[] = links;\n providers: LinkDto[] = providers;\n clients: LinkDto[] = clients;\n invitations: LinkInvitationDto[] = invitations;\n getAllLinked(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.links.filter((f) => f.status === 1));\n }, 500);\n });\n }\n getAllPending(): Promise {\n return new Promise((resolve, reject) => {\n const links = this.links.filter((f) => f.status === 0);\n setTimeout(() => {\n resolve(links);\n }, 500);\n });\n }\n getAllProviders(filter: DocumentationStatusFilter): Promise {\n return new Promise((resolve, reject) => {\n let providers = this.providers.filter((f) => f.status === 1);\n if (filter === DocumentationStatusFilter.NonCompliant) {\n providers = providers.filter((f) => f.providerWorkspace.documentation.length !== documentTypes.length);\n } else if (filter === DocumentationStatusFilter.Compliant) {\n providers = providers.filter((f) => f.providerWorkspace.documentation.length === documentTypes.length);\n }\n setTimeout(() => {\n resolve(providers.filter((f) => f.status === 1));\n }, 500);\n });\n }\n getAllClients(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.clients);\n }, 500);\n });\n }\n getLinkUsers(linkId: string): Promise {\n throw new Error(\"Method not implemented.\");\n }\n getInvitation(id: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const invitation = this.invitations.find((f) => f.id === id);\n if (invitation) {\n resolve(invitation);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n createInvitation(payload: LinkInvitationDto): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n this.invitations.push(payload);\n resolve(payload);\n }, 500);\n });\n }\n rejectInvitation(id: string): Promise {\n console.log(\"rejected\");\n return Promise.resolve();\n }\n getWorkspace(linkId: string): Promise {\n const link = this.links.find((f) => f.id === linkId);\n // tslint:disable-next-line: max-line-length\n const workspace = fakeWorkspaceService.workspaces.find((f) => f.id === link?.clientWorkspaceId || f.id === link?.providerWorkspaceId);\n if (workspace) {\n return Promise.resolve(workspace);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n searchUser(email: string): Promise {\n const fakeUsers: any[] = [];\n fakeNamesAndEmails.forEach((fakeEmail) => {\n fakeUsers.push({\n email: fakeEmail.email,\n firstName: fakeEmail.firstName,\n lastName: fakeEmail.lastName,\n });\n });\n const user = fakeUsers.find((f) => f.email === email);\n if (user) {\n return Promise.resolve(user);\n }\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n searchMember(taxId: string, email: string): Promise {\n const fakeUsers: any[] = [];\n fakeNamesAndEmails.forEach((fakeEmail) => {\n fakeUsers.push({\n email: fakeEmail.email,\n firstName: fakeEmail.firstName,\n lastName: fakeEmail.lastName,\n });\n });\n const user = fakeUsers.find((f) => f.email === email);\n if (user) {\n return Promise.resolve(user);\n }\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n getMember(linkId: string, email: string): Promise {\n const fakeUsers: any[] = [];\n fakeNamesAndEmails.forEach((fakeEmail) => {\n fakeUsers.push({\n email: fakeEmail.email,\n firstName: fakeEmail.firstName,\n lastName: fakeEmail.lastName,\n });\n });\n const user = fakeUsers.find((f) => f.email === email);\n if (user) {\n return Promise.resolve(user);\n }\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n get(id: string): Promise {\n const link = this.links.find((f) => f.id === id);\n if (link) {\n return Promise.resolve(link);\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n create(data: CreateLinkRequest): Promise {\n return Promise.resolve(this.links[0]);\n }\n acceptOrReject(id: string, data: UpdateLinkRequest): Promise {\n const link = this.links.find((f) => f.id === id);\n if (link) {\n link.status = data.accepted ? LinkStatus.LINKED : LinkStatus.REJECTED;\n\n return Promise.resolve(link);\n }\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n delete(id: string): Promise {\n const link = this.links.find((f) => f.id === id);\n if (link) {\n this.links = this.links.filter((f) => f.id !== id);\n return Promise.resolve();\n } else {\n return Promise.reject(i18n.t(\"shared.notFound\"));\n }\n }\n}\n","import { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport { ApiService } from \"../../../ApiService\";\nimport { ILinkService } from \"./ILinkService\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport { LinkInvitationDto } from \"@/application/dtos/master/v3/links/LinkInvitationDto\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { CreateLinkRequest } from \"@/application/contracts/master/v3/links/CreateLinkRequest\";\nimport { UpdateLinkRequest } from \"@/application/contracts/master/v3/links/UpdateLinkRequest\";\n\nexport class LinkService extends ApiService implements ILinkService {\n constructor() {\n super(\"Link\");\n }\n getAllLinked(): Promise {\n return super.getAll(\"GetAllLinked\");\n }\n getAllPending(): Promise {\n return new Promise((resolve, reject) => {\n return super\n .getAll(\"GetAllPending\")\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n });\n }\n getAllProviders(filter: DocumentationStatusFilter): Promise {\n return super.getAll(\"GetAllProviders/\" + filter);\n }\n getAllClients(): Promise {\n return super.getAll(\"GetAllClients\");\n }\n getLinkUsers(linkId: string): Promise {\n return super.getAll(\"GetLinkUsers/\" + linkId);\n }\n getInvitation(id: string): Promise {\n return super.get(\"GetInvitation\", id);\n }\n createInvitation(payload: LinkInvitationDto): Promise {\n return super.post(payload, \"CreateInvitation\");\n }\n rejectInvitation(id: string): Promise {\n return super.post(undefined, \"RejectInvitation/\" + id);\n }\n // acceptInvitation(id: string): Promise {\n // return super.post(\"AcceptInvitation\", id);\n // }\n getWorkspace(linkId: string): Promise {\n return super.get(\"GetWorkspace\", linkId);\n }\n searchUser(email: string): Promise {\n return super.get(`SearchUser/${email}`);\n }\n searchMember(email: string, taxId: string): Promise {\n return super.get(`SearchMember/${email}/${taxId}`);\n }\n getMember(linkId: string, email: string): Promise {\n return super.get(`GetMember/${linkId}/${email}`);\n }\n get(id: string): Promise {\n return super.get(\"Get\", id);\n }\n create(data: CreateLinkRequest): Promise {\n return super.post(data, \"Create\");\n }\n acceptOrReject(id: string, data: UpdateLinkRequest): Promise {\n return super.put(id, data, \"AcceptOrReject\");\n }\n delete(id: string): Promise {\n return super.delete(id, \"Delete\");\n }\n}\n","/* eslint-disable */\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { TenantUserUpdateRequest } from \"@/application/contracts/master/tenants/TenantUserUpdateRequest\";\nimport { ITenantUsersService } from \"./ITenantUsersService\";\nimport { FakeUserService } from \"../users/FakeUserService\";\nimport { FakeTenantService } from \"./FakeTenantService\";\nimport { i18n } from \"@/plugins/vue-i18n\";\n\nconst fakeTenantService = new FakeTenantService();\nconst fakeUserService = new FakeUserService();\nconst users = fakeUserService.users;\nconst tenantUsers: TenantUserDto[] = [];\nfakeTenantService.tenants.forEach((element) => {\n element.users.forEach((user) => {\n tenantUsers.push(user);\n });\n});\n\nexport class FakeTenantUsersService implements ITenantUsersService {\n tenantUsers: TenantUserDto[] = tenantUsers;\n adminGetAll(): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(users);\n }, 500);\n });\n }\n getAll(tenantId = \"\"): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.tenantUsers);\n }, 500);\n });\n }\n get(tenantUserId: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const user = this.tenantUsers.find((f) => f.id === tenantUserId);\n if (user) {\n resolve(user);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n update(tenantUserId: string, payload: TenantUserUpdateRequest): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const user = this.tenantUsers.find((f) => f.id === tenantUserId);\n if (user) {\n user.role = payload.role;\n user.phone = payload.phone;\n resolve(user);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n delete(tenantUserId: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const user = this.tenantUsers.find((f) => f.id === tenantUserId);\n if (user) {\n this.tenantUsers = this.tenantUsers.filter((f) => f.id !== user.id);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n adminDelete(tenantUserId: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n const user = this.tenantUsers.find((f) => f.id === tenantUserId);\n if (user) {\n this.tenantUsers = this.tenantUsers.filter((f) => f.id !== user.id);\n }\n reject(i18n.t(\"shared.notFound\"));\n }, 500);\n });\n }\n}\n","/* eslint-disable */\nimport { TenantInvitationResponse } from \"@/application/contracts/master/tenants/TenantInvitationResponse\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { UserInviteRequest } from \"@/application/contracts/master/users/UserInviteRequest\";\nimport { TenantJoinSettingsDto } from \"@/application/dtos/master/tenants/TenantJoinSettingsDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { UserVerifyRequest } from \"@/application/contracts/master/users/UserVerifyRequest\";\nimport { UserLoggedResponse } from \"@/application/contracts/master/users/UserLoggedResponse\";\n// tslint:disable-next-line: max-line-length\nimport { TenantUpdateJoinSettingsRequest } from \"@/application/contracts/master/tenants/TenantUpdateJoinSettingsRequest\";\nimport { ITenantUserInvitationService } from \"./ITenantUserInvitationService\";\nimport { FakeTenantUsersService } from \"./FakeTenantUsersService\";\nimport { FakeTenantService } from \"./FakeTenantService\";\n\nconst fakeTenantUsersService = new FakeTenantUsersService();\nconst fakeTenantService = new FakeTenantService();\nconst invitation: TenantInvitationResponse = {\n invitation: fakeTenantUsersService.tenantUsers[0],\n tenant: fakeTenantService.tenants[0],\n requiresVerify: true,\n};\n\nexport class FakeTenantUserInvitationService implements ITenantUserInvitationService {\n getInvitation(tenantUserId: string): Promise {\n return new Promise((resolve) => {\n setTimeout(() => {\n resolve(invitation);\n }, 500);\n });\n }\n getInviteURL(linkUuid: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(invitation.tenant);\n }, 500);\n });\n }\n getInvitationSettings(tenantId?: string): Promise {\n return new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve({\n id: \"\",\n tenantId: \"\",\n tenant: {} as TenantDto,\n link: \"\",\n linkActive: false,\n publicUrl: false,\n requireAcceptance: false,\n });\n }, 500);\n });\n }\n inviteUser(invitation: UserInviteRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n requestAccess(linkUuid: string, payload: UserVerifyRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n acceptUser(payload: TenantUserDto): Promise {\n throw new Error(\"Method not implemented.\");\n }\n acceptInvitation(tenantUserId: string, payload: UserVerifyRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n updateInvitationSettings(payload: TenantUpdateJoinSettingsRequest): Promise {\n throw new Error(\"Method not implemented.\");\n }\n}\n","import { AuthenticationService } from \"@/services/api/master/users/AuthenticationService\";\nimport { TenantService } from \"@/services/api/master/tenants/TenantService\";\nimport { TenantUsersService } from \"@/services/api/master/tenants/TenantUsersService\";\nimport { UserService } from \"@/services/api/master/users/UserService\";\nimport { TenantUserInvitationService } from \"@/services/api/master/tenants/TenantUserInvitationService\";\nimport { SubscriptionProductService } from \"./api/master/subscriptions/SubscriptionProductService\";\nimport { SubscriptionManagerService } from \"./api/master/subscriptions/SubscriptionManagerService\";\nimport { WorkspaceService } from \"./api/app/workspaces/WorkspaceService\";\nimport { CfdiService } from \"./api/app/v3/cfdis/CfdiService\";\nimport { IContractService } from \"./api/app/v3/contracts/IContractService\";\nimport { FakeContractService } from \"./api/app/v3/contracts/FakeContractService\";\nimport { ContractService } from \"./api/app/v3/contracts/ContractService\";\nimport { IUserService } from \"./api/master/users/IUserService\";\nimport { IAuthenticationService } from \"./api/master/users/IAuthenticationService\";\nimport { IDocumentationService } from \"./api/app/v3/documentation/IDocumentationService\";\nimport { FakeDocumentationService } from \"./api/app/v3/documentation/FakeDocumentationService\";\nimport { DocumentationService } from \"./api/app/v3/documentation/DocumentationService\";\nimport { IWorkspaceService } from \"./api/app/workspaces/IWorkspaceService\";\nimport { FakeWorkspaceService } from \"./api/app/workspaces/FakeWorkspaceService\";\nimport { FakeUserService } from \"./api/master/users/FakeUserService\";\nimport { FakeEmployeeService } from \"./api/app/v3/employees/FakeEmployeeService\";\nimport { EmployeeService } from \"./api/app/v3/employees/EmployeeService\";\nimport { IEmployeeService } from \"./api/app/v3/employees/IEmployeeService\";\nimport { ICfdiService } from \"./api/app/v3/cfdis/ICfdiService\";\nimport { FakeCfdiService } from \"./api/app/v3/cfdis/FakeCfdiService\";\nimport { FakeAuthenticationService } from \"./api/master/users/FakeAuthenticationService\";\nimport { ILinkService } from \"./api/master/v3/links/ILinkService\";\nimport { FakeLinkService } from \"./api/master/v3/links/FakeLinkService\";\nimport { LinkService } from \"./api/master/v3/links/LinkService\";\nimport { ITenantService } from \"./api/master/tenants/ITenantService\";\nimport { FakeTenantService } from \"./api/master/tenants/FakeTenantService\";\nimport { ITenantUsersService } from \"./api/master/tenants/ITenantUsersService\";\nimport { FakeTenantUsersService } from \"./api/master/tenants/FakeTenantUsersService\";\nimport { ISubscriptionManagerService } from \"./api/master/subscriptions/ISubscriptionManagerService\";\nimport { FakeSubscriptionManagerService } from \"./api/master/subscriptions/FakeSubscriptionManagerService\";\nimport { ISubscriptionProductService } from \"./api/master/subscriptions/ISubscriptionProductService\";\nimport { FakeSubscriptionProductService } from \"./api/master/subscriptions/FakeSubscriptionProductService\";\nimport { ITenantUserInvitationService } from \"./api/master/tenants/ITenantUserInvitationService\";\nimport { FakeTenantUserInvitationService } from \"./api/master/tenants/FakeTenantUserInvitationService\";\n\nclass Services {\n // Master: Subscriptions\n subscriptionProducts: ISubscriptionProductService;\n subscriptionManager: ISubscriptionManagerService;\n\n // Master: Users, Tenants and Workspaces\n authentication: IAuthenticationService;\n users: IUserService;\n tenants: ITenantService;\n tenantUsers: ITenantUsersService;\n tenantUserInvitations: ITenantUserInvitationService;\n workspaces: IWorkspaceService;\n\n // App\n links: ILinkService;\n cfdis: ICfdiService;\n contracts: IContractService;\n employees: IEmployeeService;\n documentation: IDocumentationService;\n\n constructor() {\n if (process.env.VUE_APP_SERVICE === \"sandbox\") {\n this.subscriptionProducts = new FakeSubscriptionProductService();\n this.subscriptionManager = new FakeSubscriptionManagerService();\n this.tenants = new FakeTenantService();\n this.tenantUsers = new FakeTenantUsersService();\n this.users = new FakeUserService();\n this.tenantUserInvitations = new FakeTenantUserInvitationService();\n this.authentication = new FakeAuthenticationService();\n this.cfdis = new FakeCfdiService();\n this.workspaces = new FakeWorkspaceService();\n\n this.contracts = new FakeContractService();\n this.employees = new FakeEmployeeService();\n this.links = new FakeLinkService();\n this.documentation = new FakeDocumentationService();\n } else {\n this.subscriptionProducts = new SubscriptionProductService();\n this.subscriptionManager = new SubscriptionManagerService();\n this.tenants = new TenantService();\n this.tenantUsers = new TenantUsersService();\n this.users = new UserService();\n this.tenantUserInvitations = new TenantUserInvitationService();\n this.authentication = new AuthenticationService();\n this.cfdis = new CfdiService();\n this.workspaces = new WorkspaceService();\n\n this.contracts = new ContractService();\n this.employees = new EmployeeService();\n this.links = new LinkService();\n this.documentation = new DocumentationService();\n }\n }\n}\n\nexport default new Services();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('app-layout',{attrs:{\"layout\":\"admin\"}},[_c('div',[_c('router-view')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport AppLayout from \"@/components/layouts/sidebar/SidebarLayout.vue\";\n@Component({\n components: { AppLayout }\n})\nexport default class Admin extends Vue {}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=736831c6&\"\nimport script from \"./Index.vue?vue&type=script&lang=ts&\"\nexport * from \"./Index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#94A3B8\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\",\"stroke\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#94A3B8\",\"stroke\":\"none\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#94A3B8\",\"stroke\":\"none\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075l0,47.432c-2.22747,-0.57874 -4.52651,-0.97492 -6.88,-1.17143v-41.42307h-41.28v-41.28h-68.8v144.48l70.92751,0c1.4339,2.46475 3.11553,4.76967 5.01013,6.88h-82.81764v-158.24zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44v6.88h-79.12v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.28054,-0.20828 0.57183,-0.43538 0.87814,-0.67918c-0.8669,2.7864 -1.44495,5.69691 -1.69874,8.69607c-0.25209,0.02967 -0.51558,0.0456 -0.7919,0.0456c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58z\"}})]),_c('g',{attrs:{\"stroke\":\"none\"}},[_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('g',{attrs:{\"id\":\"Слой_2\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_4\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_5\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_8\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_10\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Color\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M137.6,172c-18.92,0 -34.4,-15.48 -34.4,-34.4c0,-18.92 15.48,-34.4 34.4,-34.4c18.92,0 34.4,15.48 34.4,34.4c0,18.92 -15.48,34.4 -34.4,34.4zM137.6,110.08c-15.136,0 -27.52,12.384 -27.52,27.52c0,15.136 12.384,27.52 27.52,27.52c15.136,0 27.52,-12.384 27.52,-27.52c0,-15.136 -12.384,-27.52 -27.52,-27.52zM157.552,126.248l-5.16,-4.472l-18.576,21.672l-11.352,-8.6l-4.128,5.504l16.168,12.384z\"}})])]),_c('g',{attrs:{\"fill\":\"#94A3B8\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M137.6,178.88c22.704,0 41.28,-18.576 41.28,-41.28c0,-22.704 -18.576,-41.28 -41.28,-41.28c-22.704,0 -41.28,18.576 -41.28,41.28c0,22.704 18.576,41.28 41.28,41.28z\"}})])])]),_c('path',{attrs:{\"d\":\"M103.2,172v-68.8h68.8v68.8z\",\"id\":\"overlay-drag\",\"fill\":\"#ff0000\",\"stroke\":\"none\",\"opacity\":\"0\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractCheck.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractCheck.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContractCheck.vue?vue&type=template&id=1898f52c&\"\nimport script from \"./ContractCheck.vue?vue&type=script&lang=js&\"\nexport * from \"./ContractCheck.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('span',[_c('fieldset',[_c('legend',{staticClass:\"text-sm font-medium flex items-center justify-between w-full\"},[_c('div',[(_vm.plansLabel)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.plan\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex items-center justify-center space-x-2\"},[_c('button',{staticClass:\"text-gray-500 text-sm font-normal focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.selectMonthly($event)}}},[_vm._v(\" \"+_vm._s(_vm.getBillingPeriodName(3))+\" \")]),_c('button',{staticClass:\"relative rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleBillingPeriod($event)}}},[_c('div',{staticClass:\"w-8 h-4 transition bg-theme-500 rounded-full shadow-md outline-none\"}),_c('div',{staticClass:\"absolute inline-flex items-center justify-center w-2 h-2 transition-all duration-200 ease-in-out transform bg-white rounded-full shadow-sm top-1 left-1\",class:{\n 'translate-x-0': _vm.$store.state.pricing.billingPeriod == 3,\n 'translate-x-4': _vm.$store.state.pricing.billingPeriod === 4\n }})]),_c('button',{staticClass:\"flex items-center space-x-1 text-gray-500 text-sm font-normal focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.selectYearly($event)}}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.getBillingPeriodName(4))+\" \")]),_c('div',{staticClass:\"inline-flex items-center px-2 py-0.5 rounded-md text-xs font-medium bg-teal-100 text-teal-800\"},[_vm._v(\" \"+_vm._s(_vm.getYearlyDiscount())+\" \")])])])]),_c('div',{staticClass:\"mt-2 relative bg-white rounded-md -space-y-px\"},_vm._l((_vm.products),function(product,index){return _c('label',{key:index,staticClass:\" relative border p-4 flex flex-col cursor-pointer md:pl-4 md:pr-6 md:grid md:grid-cols-3 focus:outline-none\",class:{\n 'rounded-b-md': index === _vm.products.length - 1,\n 'bg-theme-50 border-theme-200 z-10 ':\n _vm.selectedProduct && product.id === _vm.selectedProduct.id,\n 'border-gray-200':\n !_vm.selectedProduct || product.id !== _vm.selectedProduct.id\n }},[_c('div',{staticClass:\"flex items-center text-sm\"},[_c('input',{staticClass:\"h-4 w-4 text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"pricing-plan\",\"aria-labelledby\":\"pricing-plans-0-label\",\"aria-describedby\":\"pricing-plans-0-description-0 pricing-plans-0-description-1\"},domProps:{\"value\":product.id,\"checked\":_vm.selectedProduct && product.id === _vm.selectedProduct.id},on:{\"change\":_vm.changedProduct}}),_c('span',{staticClass:\"ml-3 font-medium\",class:{\n 'text-theme-900':\n _vm.selectedProduct && product.id === _vm.selectedProduct.id,\n 'text-gray-900':\n !_vm.selectedProduct || product.id !== _vm.selectedProduct.id\n },attrs:{\"id\":\"pricing-plans-0-label\"}},[_vm._v(_vm._s(product.title))]),(\n _vm.showCurrent &&\n _vm.activeProduct &&\n _vm.activeProduct.subscriptionProduct.id === product.id\n )?_c('span',{staticClass:\"ml-2 font-extrabold\"},[_vm._v(\" (\"+_vm._s(_vm.$t(\"shared.current\"))+\") \")]):_vm._e()]),_c('p',{staticClass:\"ml-6 pl-1 text-sm md:ml-0 md:pl-0 md:text-center\",attrs:{\"id\":\"pricing-plans-0-description-0\"}},[_c('span',{staticClass:\"font-medium\"},[_c('span',{staticClass:\"font-medium tracking-tight\",class:{\n 'text-theme-900':\n _vm.selectedProduct && product.id === _vm.selectedProduct.id,\n 'text-gray-900':\n !_vm.selectedProduct || product.id !== _vm.selectedProduct.id\n }},[_vm._v(\" \"+_vm._s(_vm.getPriceAmount(product))+\" \")]),_c('span',{staticClass:\"text-gray-500 font-normal\",domProps:{\"textContent\":_vm._s(\n _vm.$store.state.pricing.billingPeriod == 3 ? '/mes' : '/año'\n )}})])]),_c('p',{staticClass:\"ml-6 pl-1 text-sm md:ml-0 md:pl-0 md:text-right\",class:{\n 'text-theme-700':\n _vm.selectedProduct && product.id === _vm.selectedProduct.id,\n 'text-gray-500':\n !_vm.selectedProduct || product.id !== _vm.selectedProduct.id\n },attrs:{\"id\":\"pricing-plans-0-description-1\"}},[(product.features[0].translateInFrontend)?_c('span',[_vm._v(\" \"+_vm._s(_vm.getFeatureDescription(product.features[0]))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(product.features[0].key)+\" \")])])])}),0)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport BillingPeriodToggle from \"../toggles/BillingPeriodToggle.vue\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionPriceDto } from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport CurrencyToggle from \"@/components/marketing/toggles/CurrencyToggle.vue\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { Prop } from \"vue-property-decorator\";\nimport { SubscriptionFeatureDto } from \"@/application/dtos/master/subscriptions/SubscriptionFeatureDto\";\nimport store from \"@/store\";\nimport services from \"@/services\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport TenantUtils from \"@/utils/store/TenantUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n BillingPeriodToggle,\n CurrencyToggle,\n Loading\n }\n})\nexport default class PlansRadioButtons extends Vue {\n @Prop({ default: true }) plansLabel!: boolean;\n @Prop({ default: false }) showCurrent!: boolean;\n @Prop({ default: \"theme-bg-light theme-indigo\" }) mainTheme!: string;\n\n loading = false;\n droppedDown = false;\n showOptions = false;\n created() {\n if (store.state.pricing.products.length === 0) {\n services.subscriptionProducts.getProducts(false, true).then(() => {\n this.loadCurrent();\n });\n }\n }\n mounted() {\n this.loading = true;\n services.subscriptionProducts\n .getProducts(true, true)\n .then(() => {\n this.loadCurrent();\n if (!store.state.auth.authenticated) {\n this.selectProductIfNotSelected();\n this.selectMonthly();\n }\n })\n .finally(() => {\n this.loading = false;\n });\n // if (\n // this.myProducts &&\n // this.myProducts.length > 0 &&\n // this.myProducts[0].subscriptionProduct\n // ) {\n // store.commit(\n // \"pricing/currency\",\n // this.myProducts[0].subscriptionPrice.currency\n // );\n // store.commit(\n // \"pricing/billingPeriod\",\n // this.myProducts[0].subscriptionPrice.billingPeriod\n // );\n // this.changeProduct(this.myProducts[0].subscriptionProduct);\n // }\n }\n loadCurrent() {\n if (this.activeProduct) {\n store.commit(\"pricing/select\", {\n billingPeriod: this.activeProduct.subscriptionPrice.billingPeriod,\n product: this.activeProduct.subscriptionProduct\n });\n }\n }\n // setFromCurrentSubscription() {\n // if (this.subscription) {\n // }\n // }\n open() {\n this.droppedDown = true;\n }\n closeDropdown() {\n this.droppedDown = false;\n }\n changeProduct(product: SubscriptionProductDto) {\n this.closeDropdown();\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n price(product: SubscriptionProductDto): SubscriptionPriceDto {\n return (\n product.prices.find(\n f =>\n f.billingPeriod === store.state.pricing.billingPeriod &&\n f.currency === store.state.pricing.currency\n ) ?? product.prices[0]\n );\n }\n billingPeriod(price: SubscriptionPriceDto): string {\n if (price.billingPeriod === SubscriptionBillingPeriod.ONCE) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n return (\n \"/\" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[price.billingPeriod] +\n \"Short\"\n )\n );\n }\n }\n showShowOptions() {\n // if (!this.showOptions) {\n // this.closeDropdown();\n // }\n this.showOptions = !this.showOptions;\n }\n closeShowOptions() {\n // if (!this.showOptions) {\n // this.closeDropdown();\n // }\n this.showOptions = false;\n }\n toggleBilling() {\n if (\n this.selectedPrice?.billingPeriod === SubscriptionBillingPeriod.MONTHLY\n ) {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.MONTHLY);\n } else {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.YEARLY);\n }\n }\n minPrice(product) {\n const price = NumberUtils.intFormat(this.price(product).price);\n const billingPeriod = this.$t(\n \"marketing.pricing.\" + store.state.pricing.billingPeriod\n );\n return `${price} ${this.price(product).currency} ${billingPeriod}`;\n }\n getPrice(product: SubscriptionProductDto): SubscriptionPriceDto | undefined {\n const prices = product.prices.find(\n f =>\n (f.billingPeriod === store.state.pricing.billingPeriod ||\n f.billingPeriod === SubscriptionBillingPeriod.ONCE) &&\n f.currency === store.state.pricing.currency &&\n f.active\n );\n return prices;\n }\n getPriceAmount(product): string {\n return NumberUtils.numberFormat(this.getPrice(product)?.price ?? 0);\n }\n getFeatureDescription(feature: SubscriptionFeatureDto) {\n if (!feature.translateInFrontend) {\n if (feature.value) {\n return `${feature.value}`;\n } else {\n return `${feature.key}`;\n }\n } else {\n return this.$t(\"marketing.pricing.features.\" + feature.key, [\n feature.value\n ]);\n }\n }\n select(product: SubscriptionProductDto) {\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n changedProduct(e) {\n const product = this.products.find(f => f.id === e.target.value);\n if (product) {\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n }\n selectMonthly() {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.MONTHLY);\n }\n selectYearly() {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.YEARLY);\n }\n toggleBillingPeriod() {\n if (\n store.state.pricing.billingPeriod === SubscriptionBillingPeriod.MONTHLY\n ) {\n this.selectYearly();\n } else {\n this.selectMonthly();\n }\n }\n selectProductIfNotSelected() {\n if (this.products.length > 0) {\n if (!this.products.find(f => f.id === this.selectedProduct?.id)) {\n store.commit(\"pricing/select\", {\n billingPeriod: this.products[0].prices[0].billingPeriod,\n product: this.products[0]\n });\n }\n }\n }\n getBillingPeriodName(billingPeriod: SubscriptionBillingPeriod) {\n return this.$t(\n \"marketing.pricing.\" + SubscriptionBillingPeriod[billingPeriod]\n );\n }\n getYearlyDiscount(): string | undefined {\n const priceYearly = this.getPriceWithInterval(\n SubscriptionBillingPeriod.YEARLY\n );\n const priceMonthly = this.getPriceWithInterval(\n SubscriptionBillingPeriod.MONTHLY\n );\n if (priceYearly && priceMonthly) {\n const discount =\n 100 - (priceYearly.price * 100) / (priceMonthly.price * 12);\n if (discount !== 0) {\n return \"-\" + discount.toFixed(0) + \"%\";\n }\n }\n\n return undefined;\n }\n getPriceWithInterval(\n billingPeriod: SubscriptionBillingPeriod\n ): SubscriptionPriceDto | undefined {\n let price: SubscriptionPriceDto | undefined;\n if (this.products && this.products.length > 0) {\n this.products.forEach(product => {\n const prices = product.prices.find(\n f =>\n f.billingPeriod === billingPeriod &&\n f.currency === store.state.pricing.currency &&\n f.price > 0\n );\n if (prices) {\n price = prices;\n }\n });\n }\n return price;\n }\n get activeProduct() {\n return TenantUtils.activeProduct();\n }\n get selectedProduct(): SubscriptionProductDto | null {\n return store.state.pricing.selectedProduct;\n }\n get selectedPrice(): SubscriptionPriceDto | undefined {\n const prices = this.selectedProduct?.prices;\n if (prices && prices.length > 0) {\n return (\n // tslint:disable-next-line: max-line-length\n prices.find(\n e =>\n e.billingPeriod === store.state.pricing.billingPeriod &&\n e.currency === store.state.pricing.currency\n ) ?? prices.filter(f => f.currency === store.state.pricing.currency)[0]\n );\n }\n return undefined;\n }\n get myProducts(): TenantProductDto[] {\n return (store.state.tenant.subscription\n ?.myProducts as TenantProductDto[])?.filter(\n f => f.subscriptionPrice.billingPeriod !== SubscriptionBillingPeriod.ONCE\n );\n }\n get products() {\n const products = (store.state.pricing.products as SubscriptionProductDto[])\n ?.filter(f => f.active && !f.custom)\n .sort((x, y) => {\n return x.tier > y.tier ? 1 : -1;\n });\n console.log(\"products\", products);\n return products;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlansRadioButtons.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlansRadioButtons.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PlansRadioButtons.vue?vue&type=template&id=33eca1f4&\"\nimport script from \"./PlansRadioButtons.vue?vue&type=script&lang=ts&\"\nexport * from \"./PlansRadioButtons.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('div',{staticClass:\"min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"}),(!_vm.emailSent)?_c('div',{staticClass:\"mt-6 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('h2',{staticClass:\"mt-6 text-center text-md font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.reset.title\"))+\" \")]),_c('p',{staticClass:\"mt-5 text-sm leading-5 text-center text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.reset.headline\"))+\" \")]),_c('div',{staticClass:\"mt-8 sm:rounded-sm sm:px-10\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.reset()}}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"email\",\"type\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}})])]),_c('div',{staticClass:\"mt-6\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[_c('span',{staticClass:\"absolute left-0 inset-y pl-3\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"account.reset.button\"))+\" \")])],1)])]),_c('div',{staticClass:\"mt-6\"},[_c('div',{staticClass:\"relative\"},[_vm._m(0),_c('div',{staticClass:\"relative flex justify-center text-sm leading-5\"},[_c('span',{staticClass:\"px-2 bg-white dark:bg-blueGray-900 text-gray-500\"},[_vm._v(_vm._s(_vm.$t(\"account.forgot.rememberedPassword\")))])])]),_c('div',{staticClass:\"mt-6\"},[_c('div',[_c('span',{staticClass:\"w-full inline-flex rounded-sm shadow-sm\"},[_c('router-link',{staticClass:\"bg-white dark:bg-blueGray-900 w-full inline-flex justify-center py-2 px-4 border border-gray-300 dark:border-gray-800 rounded-sm text-sm leading-5 font-medium text-gray-900 dark:text-blueGray-300 hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue transition duration-150 ease-in-out\",attrs:{\"tag\":\"button\",\"to\":{ name: 'account.login' }}},[_vm._v(_vm._s(_vm.$t(\"account.forgot.backToLogin\")))])],1)])])])])]):_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"max-w-md w-full mx-auto rounded-sm px-8 pt-6 pb-8 mb-4 mt-8\"},[_c('h2',{staticClass:\"text-xl font-black\"},[_c('h2',{staticClass:\"mt-6 text-center text-md font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.reset.resetSuccess\"))+\" \")])]),_c('div',{staticClass:\"my-4 leading-tight\"},[_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-gray-900 dark:text-blueGray-300 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.reset.emailSent\"))+\" \")])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"absolute inset-0 flex items-center\"},[_c('div',{staticClass:\"w-full border-t border-gray-300 dark:border-gray-700\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport LoadingButton from \"../../components/shared/buttons/LoadingButton.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport LoadingButtonComponent from \"../../components/shared/buttons/LoadingButton.vue\";\nimport services from \"@/services\";\n\n@Component({\n metaInfo: {\n title: \"Olvidé mi contraseña\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n SuccessModal,\n ErrorModal,\n Logo,\n LoadingButton\n }\n})\nexport default class Forgot extends Vue {\n $refs!: {\n loadingButton: LoadingButtonComponent;\n errorModal: ErrorModal;\n };\n emailSent = false;\n email = \"\";\n verifyToken = \"\";\n created() {\n this.email = this.$route.query.e ? this.$route.query.e.toString() : \"\";\n }\n reset() {\n this.$refs.loadingButton.start();\n services.authentication\n .reset(this.email)\n .then(response => {\n this.emailSent = true;\n this.verifyToken = response.verifyToken;\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Forgot.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Forgot.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Forgot.vue?vue&type=template&id=5eeb19ee&\"\nimport script from \"./Forgot.vue?vue&type=script&lang=ts&\"\nexport * from \"./Forgot.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('h4',{staticClass:\" text-lg font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.new\"))+\" \")])]),(_vm.maxWorkspacesReached)?_c('div',[_c('WarningBannner',{attrs:{\"upgrade\":true,\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedWorkspaces', [\n _vm.maxWorkspaces\n ])}})],1):(_vm.loading)?_c('Loading'):_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.name),expression:\"name\"}],ref:\"inputName\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":_vm.loading},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"tax-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxId),expression:\"taxId\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"required\":\"\",\"minlength\":\"12\",\"maxlength\":\"13\"},domProps:{\"value\":(_vm.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.taxId=$event.target.value},function($event){_vm.taxId = $event.target.value.toUpperCase()}]}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"legal-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.legalName\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.legalName),expression:\"legalName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"legal-name\",\"name\":\"legal-name\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.legalName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.legalName=$event.target.value},function($event){_vm.legalName = $event.target.value.toUpperCase()}]}})])]),_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"business-main-activity\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.businessMainActivity\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.businessMainActivity),expression:\"businessMainActivity\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"business-main-activity\",\"name\":\"business-main-activity\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.businessMainActivity)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.businessMainActivity=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"role\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.type\"))+\" \")]),_c('div',{staticClass:\"mt-1 rounded-md shadow-sm w-full\"},[_c('fieldset',{attrs:{\"name\":\"type\",\"id\":\"type\"}},[_c('legend',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.type\"))+\" \")]),_c('div',{staticClass:\"bg-white rounded-md -space-y-px\"},[_c('label',{staticClass:\"rounded-tl-md rounded-tr-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.type === 0,\n 'border-gray-200': _vm.type !== 0\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"workspace-type\",\"aria-labelledby\":\"workspace-type-0-label\",\"aria-describedby\":\"workspace-type-0-description\"},domProps:{\"value\":0,\"checked\":_vm.type === 0},on:{\"change\":_vm.changedType}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.type === 0,\n 'text-gray-900': _vm.type !== 0\n },attrs:{\"id\":\"workspace-type-0-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.types.REGULAR\"))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.type === 0,\n 'text-gray-500': _vm.type !== 0\n },attrs:{\"id\":\"workspace-type-0-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.typesDescription.REGULAR\" ))+\" \")])])]),_c('label',{staticClass:\"relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.type === 1,\n 'border-gray-200': _vm.type !== 1\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"workspace-type\",\"aria-labelledby\":\"workspace-type-1-label\",\"aria-describedby\":\"workspace-type-1-description\"},domProps:{\"value\":1,\"checked\":_vm.type === 1},on:{\"change\":_vm.changedType}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.type === 1,\n 'text-gray-900': _vm.type !== 1\n },attrs:{\"id\":\"workspace-type-1-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.types.SPECIALIZED_PROVIDER\" ))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.type === 1,\n 'text-gray-500': _vm.type !== 1\n },attrs:{\"id\":\"workspace-type-1-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.typesDescription.SPECIALIZED_PROVIDER\" ))+\" \")])])])])])])]),(_vm.type === 1)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"registration-number\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.registrationNumber\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.registrationNumber),expression:\"registrationNumber\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"registration-number\",\"name\":\"registration-number\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.registrationNumber)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.registrationNumber=$event.target.value}}})])]):_vm._e(),(_vm.type === 1)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"registration-date\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.registrationDate\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.registrationDate),expression:\"registrationDate\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"date\",\"id\":\"registration-date\",\"name\":\"registration-date\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.registrationDate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.registrationDate=$event.target.value}}})])]):_vm._e(),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"workspace\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")]),_c('div',{staticClass:\"mt-2 rounded-md w-full space-y-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentUsersDescription),expression:\"currentUsersDescription\"}],staticClass:\" bg-gray-100 cursor-not-allowed w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.currentUsersDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentUsersDescription=$event.target.value}}}),_c('button',{staticClass:\"flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.selectUsers}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectWorkspaceUsers\"))+\" \")])])])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]),_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.create\"))+\" \")])])])])])],1)])])],1)])]),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}}),_c('select-users',{ref:\"selectUsers\",on:{\"selected\":_vm.selectedUsers}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport store from \"@/store\";\nimport WarningBannner from \"@/components/shared/banners/WarningBanner.vue\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport SelectUsers from \"../../../views/app/users/SelectUsers.vue\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n WarningBannner,\n SelectUsers,\n Loading\n }\n})\nexport default class NewWorkspace extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n selectUsers: SelectUsers;\n inputName: HTMLInputElement;\n };\n loading = false;\n name = \"\";\n taxId = \"\";\n legalName = \"\";\n type: WorkspaceType = WorkspaceType.REGULAR;\n businessMainActivity = \"\";\n registrationNumber = \"\";\n registrationDate: Date | null = null;\n users: UserDto[] = [];\n mounted() {\n this.$nextTick(() => {\n if (this.$refs.inputName) {\n this.$refs.inputName.focus();\n this.$refs.inputName.select();\n }\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n }\n save() {\n if (this.users.length === 0) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.tenant.workspaces.errors.atLeastOneUser\")\n );\n return;\n }\n this.loading = true;\n services.workspaces\n .create({\n name: this.name,\n taxId: this.taxId,\n legalName: this.legalName,\n type: this.type,\n businessMainActivity: this.businessMainActivity,\n registrationNumber: this.registrationNumber,\n registrationDate: this.registrationDate,\n users: this.users\n })\n .then(response => {\n tinyEventBus().emitter.emit(\"workspace-added\", response);\n this.$refs.successModal.show(\n \"Empresa agregada\",\n \"Se ha creado correctamente.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n selectUsers() {\n this.$refs.selectUsers.show([]);\n }\n selectedUsers(items: UserDto[]) {\n this.users = items;\n }\n changedType(e) {\n const type: WorkspaceType = Number(e.target.value);\n this.type = type;\n }\n get currentUsersDescription() {\n if (this.users.length === 0) {\n return \"No has seleccionado empresas del usuario\";\n }\n return this.users.map(f => `${f.firstName} (${f.email})`).join(\", \");\n }\n get maxWorkspaces(): number {\n if (store.state.account.user?.type === 0) {\n return 0;\n }\n return store.state.app.features.maxWorkspaces;\n }\n get maxWorkspacesReached() {\n if (\n this.maxWorkspaces > 0 &&\n store.state.tenant.workspaces.length >= this.maxWorkspaces\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewWorkspace.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewWorkspace.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewWorkspace.vue?vue&type=template&id=0216c420&\"\nimport script from \"./NewWorkspace.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewWorkspace.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('side-modal',{attrs:{\"title\":!_vm.editing\n ? _vm.$t('shared.new') + ' ' + _vm.$t('models.' + _vm.modelName + '.object')\n : _vm.$t('shared.edit') + ' ' + _vm.$t('models.' + _vm.modelName + '.object')},on:{\"close\":_vm.cancel},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [(_vm.schemaReady)?_c('form',{on:{\"submit\":_vm.save}},[_c('vue-form-generator',{ref:\"vfg\",attrs:{\"disabled\":_vm.disabled,\"schema\":_vm.schema,\"model\":_vm.model,\"options\":_vm.formOptions},on:{\"validated\":_vm.onValidated}})],1):_vm._e()]},proxy:true},{key:\"footer\",fn:function(){return [_c('span',{staticClass:\"inline-flex rounded-sm shadow-sm\"},[(_vm.editing)?_c('button',{staticClass:\"h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-red-800 bg-rose-50 hover:text-red-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.remove}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")]):_vm._e(),_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 border border-gray-300 text-xs leading-5 font-medium rounded-sm text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"disabled\":_vm.disabled,\"type\":\"submit\"},on:{\"click\":_vm.save}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])]},proxy:true}])}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmSave\",on:{\"yes\":_vm.yesSave}}),_c('ConfirmModal',{ref:\"confirmRemove\",on:{\"yes\":_vm.yesRemove}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport VueFormGenerator, { validators } from \"vue-form-generator\";\nimport \"vue-form-generator/dist/vfg.css\";\nimport { Prop } from \"vue-property-decorator\";\nimport dateInput from \"@/components/shared/forms/DateInput.vue\";\nimport { ColumnType, ValueType } from \"../../../application/dtos/ColumnType\";\nVue.component(\"fieldDateInput\", dateInput);\n\n@Component({\n components: {\n SuccessModal,\n ErrorModal,\n ConfirmModal,\n SideModal,\n \"vue-form-generator\": VueFormGenerator.component\n }\n})\nexport default class EntityForm extends Vue {\n $refs!: {\n vfg: VueFormGenerator.component;\n errorModal: ErrorModal;\n confirmSave: ConfirmModal;\n confirmRemove: ConfirmModal;\n };\n @Prop({ default: null })\n object!: any;\n @Prop()\n modelName!: string;\n @Prop()\n columns!: ColumnType[];\n @Prop({ default: true })\n confirmSave!: boolean;\n\n model: any = null;\n flagAllowEdit = true;\n flagAllowDelete = true;\n editing = false;\n isValid = false;\n errors!: any;\n disabled = true;\n schema: any = {};\n schemaReady = false;\n formOptions: any = {\n validateAfterLoad: false,\n validateAfterChanged: true\n };\n mounted() {\n this.model = this.object;\n if (this.model) {\n this.editing = true;\n } else {\n this.model = {};\n }\n this.disabled = false;\n this.generateSchemaFromColumns();\n if (!this.model || !this.model.id) {\n this.model = VueFormGenerator.schema.createDefaultObject(this.schema);\n }\n }\n generateSchemaFromColumns() {\n this.schema.fields = [];\n this.columns.forEach(column => {\n const allowEdit = !this.editing || !column.cannotEdit;\n const field: any = {\n id: column.name,\n model: column.name,\n type: ColumnType.getFormType(column),\n inputType: ColumnType.getFormInputType(column),\n label: this.$t(`models.${this.modelName}.${column.name}`),\n placeholder: this.$t(`models.${this.modelName}.${column.name}`),\n required: !column.optional && column.valueType !== ValueType.Bool,\n values: ColumnType.getValues(column),\n disabled: !allowEdit,\n validator: \"\",\n files: false,\n multiple: false,\n preview: true,\n hideInput: false,\n rows: 1\n };\n if (column.placeholder) {\n field.placeholder = this.$t(\n `models.${this.modelName}.${column.placeholder}`\n );\n }\n if (!column.valueType) {\n field.validator = \"string\";\n }\n if (column.valueType === ValueType.String) {\n field.validator = \"string\";\n } else if (column.valueType === ValueType.Date) {\n field.validator = validators.date;\n } else if (column.valueType === ValueType.Number) {\n field.validator = \"number\";\n } else if (column.valueType === ValueType.Bool) {\n field.validator = \"\";\n } else if (column.valueType === ValueType.Money) {\n field.validator = \"double\";\n }\n if (\n column.valueType === ValueType.Number ||\n column.valueType === ValueType.SubscriptionPriceType ||\n column.valueType === ValueType.SubscriptionBillingPeriod ||\n column.valueType === ValueType.ResourceFileType\n ) {\n field.default = 0;\n field.validator = \"number\";\n }\n if (column.valueType === ValueType.File) {\n field.files = true;\n field.multiple = false;\n field.preview = false;\n // field.hideInput = true;\n }\n if (column.valueType === ValueType.TextArea) {\n field.rows = 4;\n }\n\n this.schema.fields.push(field);\n });\n this.schemaReady = true;\n }\n cancel() {\n this.$emit(\"canceled\", this.model);\n }\n onValidated(isValid, errors) {\n this.isValid = isValid;\n this.errors = errors;\n }\n save() {\n if (this.$refs.vfg.validate()) {\n if (this.confirmSave) {\n this.$refs.confirmSave.show(\n this.editing ? this.$t(\"shared.save?\") : this.$t(\"shared.add?\")\n );\n } else {\n this.yesSave();\n }\n } else {\n this.$refs.errorModal.show(this.$t(\"shared.invalidForm\"));\n }\n }\n yesSave() {\n if (this.editing && this.flagAllowEdit) {\n this.$emit(\"saved\", this.model);\n } else if (!this.editing) {\n this.$emit(\"added\", this.model);\n }\n }\n remove() {\n this.$refs.confirmRemove.show(this.$t(\"shared.remove?\"));\n }\n yesRemove() {\n if (this.editing) {\n this.$emit(\"deleted\", this.model);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EntityForm.vue?vue&type=template&id=1ed6eb58&\"\nimport script from \"./EntityForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./EntityForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EntityForm.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantCurrent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantCurrent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TenantCurrent.vue?vue&type=template&id=1b71a2fd&\"\nimport script from \"./TenantCurrent.vue?vue&type=script&lang=js&\"\nexport * from \"./TenantCurrent.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.sortedItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes colaboradores'\n },\"icon\":\"plus\"},on:{\"new\":function($event){return _vm.$router.push({ name: 'app.employees.new' })}}})],1):_c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(employee,idxEmployee){return _c('li',{key:idxEmployee},[_c('router-link',{staticClass:\"block hover:bg-gray-50\",attrs:{\"to\":{\n name: 'app.employees.profile',\n params: { id: employee.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-4\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\"flex items-end justify-between\"},[_c('div',{staticClass:\"truncate font-bold text-gray-900 flex-grow\"},[_vm._v(\" \"+_vm._s(employee.taxId)+\" \")]),_c('div',{staticClass:\" text-sm\"},[_vm._v(\" \"+_vm._s(employee.socialSecurityId)+\" \")])]),_c('div',{staticClass:\"mt-2 flex items-center justify-between text-gray-500 space-x-1\"},[_c('div',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(employee.firstName)+\" \"+_vm._s(employee.lastName1)+\" \"+_vm._s(employee.lastName2)+\" \")]),_c('div',{staticClass:\" text-sm\"},[_vm._v(\" \"+_vm._s(employee.populationRegistryId)+\" \")])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-900\"},[_c('time',{attrs:{\"datetime\":employee.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(employee.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-sm text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])],1)}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-4 py-2 text-left font-medium text-gray-500 tracking-wider select-none truncate\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(employee,idxEmployee){return _c('tr',{key:idxEmployee,attrs:{\"to\":{\n name: 'app.employee.view',\n params: { id: employee.id }\n }}},[_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end\"},[_c('div',{},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900 flex items-center space-x-2\"},[_c('div',[_vm._v(\" \"+_vm._s(employee.taxId)+\" \")])]),_c('div',{staticClass:\"text-sm text-gray-600 flex items-center space-x-1 truncate\"},[_vm._v(\" \"+_vm._s(employee.firstName)+\" \"+_vm._s(employee.lastName1)+\" \"+_vm._s(employee.lastName2)+\" \")])])])]),_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(employee.socialSecurityId)+\" \")]),_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(employee.populationRegistryId)+\" \")]),(_vm.canEdit)?_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(employee.email)+\" \")]):_vm._e(),(_vm.canEdit)?_c('td',{staticClass:\" w-20 px-2 py-4 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{\n name: 'app.employees.profile',\n params: { id: employee.id }\n }}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])])],1)]):_vm._e()])}),0)])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport Icon from \"@/assets/contracts/WorkerMale.vue\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n Icon,\n EmptyState\n }\n})\nexport default class EmployeesListAndTable extends Vue {\n @Prop({ default: true }) canEdit!: boolean;\n @Prop({}) items!: EmployeeDto[];\n sortByColumn = \"\";\n sortDirection = -1;\n headers: any[] = [\n {\n name: \"taxId\",\n title: i18n.t(\"models.employee.taxId\")\n },\n {\n name: \"socialSecurityId\",\n title: i18n.t(\"models.employee.socialSecurityId\")\n },\n {\n name: \"populationRegistryId\",\n title: i18n.t(\"models.employee.populationRegistryId\")\n }\n // {\n // title: i18n.t(\"app.employees.visits\")\n // }\n ];\n\n monuted() {\n if (this.canEdit) {\n this.headers.push({\n name: \"email\",\n title: i18n.t(\"models.employee.email\")\n });\n this.headers.push({\n title: i18n.t(\"shared.actions\")\n });\n }\n }\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n downloadCfdis(employee: EmployeeDto | undefined) {\n if (employee?.cfdis && employee?.cfdis.length > 0) {\n const downloadLink = document.createElement(\"a\");\n const cfdi = employee.cfdis[0];\n const fileName = `${employee.taxId} - ${cfdi.fecha}.pdf`;\n downloadLink.href = \"data:application/pdf;base64\" + cfdi.pdf;\n downloadLink.download = fileName;\n downloadLink.click();\n }\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n get sortedItems(): EmployeeDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmployeesListAndTable.vue?vue&type=template&id=3f48a8ce&\"\nimport script from \"./EmployeesListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmployeesListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"z-10 fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[(_vm.loadingUploading)?_c('Loading'):_c('div',[_c('form',{staticClass:\"space-y-2\",on:{\"submit\":function($event){$event.preventDefault();return _vm.saveNewDocument($event)}}},[_c('div',{staticClass:\"flex items-center space-x-2 justify-between\"},[(!_vm.editing)?_c('h4',{staticClass:\"font-bold\"},[_vm._v(\"Subir documento\")]):(_vm.document)?_c('h4',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.document.documentType.name))]):_c('h4',{staticClass:\"font-bold\"},[_vm._v(\"Documento\")]),(_vm.editing)?_c('button',{staticClass:\"bg-white inline-flex items-center py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadCurrentDocument}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-4 w-4 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})]),_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.download\")))])]):_vm._e()]),_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[(!_vm.editing)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"type\"}},[_vm._v(_vm._s(_vm.$t(\"models.documentation.type\")))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uploadingDocumentType),expression:\"uploadingDocumentType\"}],staticClass:\"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 sm:text-sm rounded-md\",attrs:{\"id\":\"type\",\"name\":\"type\",\"required\":\"\",\"disabled\":_vm.document && _vm.document.documentation && _vm.document.documentation.id},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.uploadingDocumentType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.documentTypes),function(type,idxType){return _c('option',{key:idxType,domProps:{\"value\":type.type}},[_vm._v(\" [\"+_vm._s(_vm.institutionName(type.institution))+\"] \"+_vm._s(type.name)+\" \")])}),0)]):_vm._e(),(!_vm.editing)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"type\"}},[_vm._v(_vm._s(_vm.$t(\"models.documentation.periodicity\")))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uploadingDocumentPeriodicity),expression:\"uploadingDocumentPeriodicity\"}],staticClass:\"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 sm:text-sm rounded-md\",class:{\n ' cursor-not-allowed bg-gray-100': !_vm.uploadingPeriodicityIsRecurring\n },attrs:{\"id\":\"periodicity\",\"name\":\"periodicity\",\"disabled\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.uploadingDocumentPeriodicity=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.periodicities),function(periodicity,idxType){return _c('option',{key:idxType,domProps:{\"value\":periodicity}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.shared.periodicity.\" + periodicity))+\" \")])}),0)]):_vm._e()]),(_vm.uploadingPeriodicityIsRecurring)?_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"year\"}},[_vm._v(_vm._s(_vm.$t(\"shared.year\")))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uploadingDocumentYear),expression:\"uploadingDocumentYear\"}],staticClass:\"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 sm:text-sm rounded-md\",attrs:{\"id\":\"year\",\"name\":\"year\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.uploadingDocumentYear=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.years),function(year,idxYear){return _c('option',{key:idxYear,domProps:{\"value\":year}},[_vm._v(_vm._s(year))])}),0)]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"year\"}},[_vm._v(_vm._s(_vm.$t(\"shared.period\")))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.uploadingDocumentPeriod),expression:\"uploadingDocumentPeriod\"}],staticClass:\"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 sm:text-sm rounded-md\",class:{\n ' cursor-not-allowed bg-gray-100': !_vm.uploadingPeriodicityIsRecurring\n },attrs:{\"id\":\"period\",\"name\":\"period\",\"disabled\":!_vm.uploadingPeriodicityIsRecurring,\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.uploadingDocumentPeriod=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.periods),function(period,idxPeriod){return _c('option',{key:idxPeriod,domProps:{\"value\":period.value}},[_vm._v(_vm._s(period.name))])}),0)])]):_vm._e(),_c('div',[(_vm.uploadingDocumentFileBase64)?_c('div',{staticClass:\"text-gray-600 overflow-hidden border-2 border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\"mx-auto text-center items-center justify-center\"},[(_vm.uploadingDocumentFileBase64.startsWith('data:application/zip'))?_c('button',{staticClass:\"py-16 text-gray-400 text-sm underline focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadCurrentDocument}},[_vm._v(\"Sin vista previa (clic para descargar)\")]):_c('pdf',{attrs:{\"src\":_vm.uploadingDocumentFileBase64,\"page\":1},on:{\"num-pages\":function($event){1}}})],1)]):_c('drop-document',{attrs:{\"accept\":\".pdf\",\"description\":\"Solo documentos tipo .PDF\"},on:{\"droppedFiles\":_vm.droppedDocumentFile},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('svg',{staticClass:\"mx-auto h-10 w-10 text-gray-400\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M32.25,16.125v37.625h10.75v-26.875h86v26.875h10.75v-37.625zM43,64.5v43h10.75v-10.75c8.83935,0 16.125,-7.28565 16.125,-16.125c0,-8.83935 -7.28565,-16.125 -16.125,-16.125zM75.25,64.5v43h13.4375c7.43262,0 13.4375,-6.00488 13.4375,-13.4375v-16.125c0,-7.43261 -6.00488,-13.4375 -13.4375,-13.4375zM107.5,64.5v43h10.75v-16.125h10.75v-10.75h-10.75v-5.375h16.125v-10.75zM53.75,75.25c2.98145,0 5.375,2.39356 5.375,5.375c0,2.98145 -2.39355,5.375 -5.375,5.375zM86,75.25h2.6875c1.15479,0 2.6875,1.53271 2.6875,2.6875v16.125c0,1.15479 -1.53271,2.6875 -2.6875,2.6875h-2.6875zM32.25,118.25v37.625h107.5v-37.625h-10.75v26.875h-86v-26.875z\"}})])])])]},proxy:true}])})],1),_c('div',{staticClass:\"flex items-center space-x-2 justify-between\"},[_c('div',[(_vm.editing)?_c('button',{staticClass:\"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-red-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.deleteDocument}},[_vm._v(_vm._s(_vm.$t(\"shared.delete\")))]):_vm._e()]),_c('div',{staticClass:\"flex justify-end py-3 lg:px-0 lg:py-0\"},[_c('button',{staticClass:\"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closeUpload}},[_vm._v(_vm._s(_vm.$t(\"shared.cancel\")))]),_c('button',{staticClass:\"ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"disabled\":_vm.loadingUploading,\"type\":\"submit\"}},[(_vm.editing)?_c('span',[_vm._v(_vm._s(_vm.$t(\"shared.saveChanges\")))]):_c('span',[_vm._v(_vm._s(_vm.$t(\"shared.upload\")))])])])])])])],1)])])],1)]),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.confirmedSaveOrUpdate}}),_c('ConfirmModal',{ref:\"confirmDeleteModal\",on:{\"yes\":_vm.confirmedDelete}}),_c('ErrorModal',{ref:\"errorModalUploading\",staticClass:\"z-30\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { PeriodStatusDto } from \"@/application/dtos/app/v3/documentation/PeriodStatusDto\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport { DocumentationType } from \"@/application/enums/app/v3/documentation/DocumentationType\";\nimport documentTypes from \"@/application/dtos/app/v3/documentation/DocumentationTypes\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport pdf from \"vue-pdf\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport services from \"@/services\";\nimport { DocumentationInstitution } from \"@/application/enums/app/v3/documentation/DocumentationInstitution\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport store from \"@/store\";\n\n@Component({\n components: {\n pdf,\n DropDocument,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n Loading\n }\n})\nexport default class DocumentUpload extends Vue {\n $refs!: {\n errorModalUploading: ErrorModal;\n // successModalUploaded: SuccessModal;\n confirmModal: ConfirmModal;\n confirmDeleteModal: ConfirmModal;\n };\n @Prop({ default: \"sm:max-w-3xl\" }) maxSize!: string;\n editing = false;\n period: PeriodStatusDto | null = null;\n document: DocumentStatusDto | null = null;\n documentTypes = documentTypes;\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n loadingUploading = false;\n year = 0;\n // uploadingDocumentPeriodicity: Periodicity = Periodicity.ONCE;\n uploadingDocumentType: DocumentationType | null = null;\n uploadingDocumentYear = 0;\n uploadingDocumentPeriod = 0;\n uploadingDocumentFileBase64 = \"\";\n uploadingDocumentFile: File | null = null;\n\n // periodicities: Periodicity[] = [\n // Periodicity.ONCE,\n // Periodicity.MONTHLY,\n // Periodicity.QUATERLY,\n // Periodicity.YEARLY\n // ];\n // years: number[] = [];\n\n mounted() {\n // for (let year = 2021 - 1; year <= new Date().getFullYear(); year++) {\n // this.years.push(year);\n // }\n this.closeText = this.$t(\"shared.close\").toString();\n }\n upload(\n document?: DocumentStatusDto,\n period?: PeriodStatusDto,\n file?: string\n ) {\n this.editing = document?.documentation?.id;\n this.uploadingDocumentType = DocumentationType.SAT_COMPLIANCE;\n this.uploadingDocumentYear = new Date().getFullYear();\n this.uploadingDocumentPeriod = new Date().getMonth();\n this.uploadingDocumentFileBase64 = \"\";\n\n if (period) {\n this.uploadingDocumentYear = period.year;\n this.uploadingDocumentPeriod = period.period;\n }\n\n\n if (this.editing) {\n this.loadingUploading = true;\n services.documentation\n .downloadMyDocument(document?.documentation?.id)\n .then(file => {\n this.uploadingDocumentFileBase64 = file;\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n\n this.year = new Date().getFullYear();\n if (document && period) {\n this.document = document;\n this.period = period;\n this.year = period.year;\n this.uploadingDocumentType =\n this.document?.documentType.type ?? DocumentationType.SAT_COMPLIANCE;\n this.uploadingDocumentPeriod = period.period;\n this.uploadingDocumentYear = period.year;\n }\n if (this.uploadingDocumentPeriodicity === Periodicity.YEARLY) {\n // this.uploadingDocumentYear = this.uploadingDocumentYear - 1;\n }\n\n console.log({\n year: this.uploadingDocumentYear,\n period,\n document\n })\n this.showing = true;\n this.$nextTick(() => {\n window.addEventListener(\"keyup\", this.keyup);\n });\n if (file) {\n this.uploadingDocumentFileBase64 = file;\n this.$nextTick(() => {\n this.saveNewDocument();\n });\n }\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n deleteDocument() {\n this.$refs.confirmDeleteModal.show(\"¿Eliminar documento?\", \"Eliminar\", \"Cancelar\", \"ADVERTENCIA: No se podrá recuperar.\");\n }\n confirmedDelete() {\n this.loadingUploading = true;\n services.documentation\n .delete(this.document?.documentation.id)\n .then(() => {\n this.$emit(\"deleted\");\n this.close();\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n saveNewDocument() {\n const documentType = this.documentTypes.find(\n f => f.type === this.uploadingDocumentType\n );\n if (documentType && this.uploadingDocumentFileBase64) {\n console.log(\"this.periods\", this.periods)\n console.log(\"this.uploadingDocumentPeriod\", this.uploadingDocumentPeriod)\n const periodName =\n this.uploadingDocumentYear +\n \" de \" +\n this.periods[this.uploadingDocumentPeriod - 1].name;\n const inPeriod =\n documentType.periodicity !== Periodicity.ONCE ? \" \" + periodName : \"\";\n this.$refs.confirmModal.show(\n this.editing ? \"¿Actualizar documento?\" : \"¿Subir documento?\",\n \"Aceptar\",\n \"Cancelar\",\n `Documento: ${documentType.name}${inPeriod}`\n );\n }\n }\n confirmedUpdate() {\n const documentType = this.documentTypes.find(\n f => f.type === this.uploadingDocumentType\n );\n if (documentType && this.uploadingDocumentFileBase64) {\n this.loadingUploading = true;\n services.documentation\n .updateDocumentPeriod(this.document?.documentation.id, {\n year: this.uploadingDocumentYear,\n period: this.uploadingDocumentPeriod,\n })\n .then(() => {\n this.$emit(\"updated\")\n this.close();\n // this.$refs.successModalUploaded.show(\n // \"Documento subido\",\n // \"Se ha subido correctamente el documento: \" + documentType.name\n // );\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n }\n confirmedSaveOrUpdate() {\n if (this.editing) {\n this.confirmedUpdate();\n } else {\n this.confirmedSave();\n }\n }\n confirmedSave() {\n const documentType = this.documentTypes.find(\n f => f.type === this.uploadingDocumentType\n );\n if (documentType && this.uploadingDocumentFileBase64) {\n this.loadingUploading = true;\n services.documentation\n .create({\n year: this.uploadingDocumentYear,\n period: this.uploadingDocumentPeriod,\n type: documentType.type,\n file: this.uploadingDocumentFileBase64,\n isPublic: false\n })\n .then(() => {\n this.uploaded();\n // this.$refs.successModalUploaded.show(\n // \"Documento subido\",\n // \"Se ha subido correctamente el documento: \" + documentType.name\n // );\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n }\n droppedDocumentFile(files: FileBase64[]) {\n console.log(\"droppedfile\");\n if (files.length > 0) {\n this.uploadingDocumentFileBase64 = files[0].base64;\n this.uploadingDocumentFile = files[0].file;\n }\n }\n closeUpload() {\n this.close();\n }\n downloadCurrentDocument() {\n if (this.document?.documentation) {\n const downloadLink = document.createElement(\"a\");\n const extension = this.uploadingDocumentFileBase64.startsWith('data:application/zip') ? 'zip' : 'pdf';\n downloadLink.href =\n `data:application/${extension};base64${this.uploadingDocumentFileBase64}`;\n const fileName = `${this.document.year} - ${this.period?.periodName} - ${this.document.documentType.name}.${extension}`;\n downloadLink.download = fileName;\n downloadLink.click();\n }\n }\n uploaded() {\n this.$emit(\"uploaded\");\n this.close();\n }\n institutionName(institution: DocumentationInstitution) {\n return DocumentationInstitution[institution];\n }\n get isCurrentWorkspace() {\n return store.state.tenant.currentWorkspace?.id === this.document?.documentation.workspaceId;\n }\n get years() {\n if (this.uploadingDocumentPeriodicity === Periodicity.ONCE) {\n return [0];\n }\n // else if (this.uploadingDocumentPeriodicity === Periodicity.YEARLY) {\n // return [new Date().getFullYear(), new Date().getFullYear() - 1];\n // } else {\n // return [new Date().getFullYear(), new Date().getFullYear() - 1];\n // }\n const allYears: number[] = [];\n for (let year = 2021 - 1; year <= new Date().getFullYear(); year++) {\n allYears.push(year);\n }\n return allYears;\n }\n // get uploadingDocumentYear() {\n // const year = new Date().getFullYear();\n // if (this.uploadingDocumentPeriodicity === Periodicity.YEARLY) {\n // return year - 1;\n // }\n // return year;\n // }\n get uploadingDocumentPeriodicity(): Periodicity {\n let periodicity = Periodicity.ONCE;\n const doc = this.documentTypes.find(\n f => f.type === this.uploadingDocumentType\n );\n if (doc) {\n periodicity = doc.periodicity;\n }\n // this.uploadingDocumentYear = new Date().getFullYear();\n // if (this.document) {\n // this.uploadingDocumentYear = this.document.year;\n // }\n // if (periodicity === Periodicity.YEARLY) {\n // this.uploadingDocumentYear = new Date().getFullYear() - 1;\n // }\n return periodicity;\n }\n get periodicities(): Periodicity[] {\n return [this.uploadingDocumentPeriodicity];\n }\n get existingDocument(): DocumentTypeDto | undefined {\n return this.document?.documentType;\n }\n get uploadingPeriodicityIsRecurring() {\n return this.uploadingDocumentPeriodicity !== Periodicity.ONCE;\n }\n get uploadingPeriodicityIsYearly() {\n return this.uploadingDocumentPeriodicity === Periodicity.YEARLY;\n }\n get periods() {\n const periods: any[] = [];\n if (this.uploadingDocumentPeriodicity === Periodicity.MONTHLY) {\n for (let month = 1; month <= 12; month++) {\n periods.push({\n name: this.$t(\"app.shared.months.\" + month),\n value: month\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.BIMONTHLY) {\n for (let period = 1; period <= 6; period++) {\n periods.push({\n name: this.$t(\"app.shared.bimonthly.\" + period),\n value: period\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.QUATERLY) {\n for (let period = 1; period <= 3; period++) {\n periods.push({\n name: this.$t(\"app.shared.quarterly.\" + period),\n value: period\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.YEARLY) {\n for (let period = 1; period <= 1; period++) {\n periods.push({\n name: this.$t(\"app.shared.yearly.\" + period),\n value: period\n });\n }\n } else {\n return [{\n name: this.$t(\"app.shared.periodicity.ONCE\"),\n value: 1\n }];\n }\n return periods;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUpload.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUpload.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocumentUpload.vue?vue&type=template&id=63da1877&\"\nimport script from \"./DocumentUpload.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocumentUpload.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):_c('div',[_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-between w-full space-x-2\"},[_c('div',{staticClass:\"relative flex items-center w-full flex-grow\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})]),_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-2 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'settings.tenant.workspaces.new' }}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\"))+\" \")])])],1)]),_c('div',[(_vm.workspaces.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes empresas'\n },\"icon\":\"refresh\"},on:{\"new\":function($event){return _vm.$router.push({ name: 'settings.tenant.workspaces.new' })}}})],1):_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-2 py-1 text-left font-medium text-gray-500 tracking-wider select-none truncate\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(item,idx){return _c('tr',{key:idx,attrs:{\"to\":{\n name: 'app.employee.view',\n params: { id: item.id }\n }}},[_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_c('div',[_c('div',{staticClass:\" text-sm font-bold\"},[_vm._v(\" \"+_vm._s(item.taxId)+\" \")]),_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(item.legalName)+\" \")])])]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.workspaceType(item))+\" \")])]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.userEmails(item))+\" \")])]),_c('td',{staticClass:\" w-20 px-2 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[(item.fiscalWorkspace)?_c('router-link',{staticClass:\"flex items-center space-x-2 text-gray-600 hover:underline hover:text-theme-900\",attrs:{\"to\":{\n name:\n 'settings.tenant.workspaces.credentials.edit',\n params: { id: item.id }\n }}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.fiscalTypeName(item.fiscalWorkspace.type))+\" \")])]):_c('router-link',{staticClass:\"flex items-center space-x-2 text-theme-600 hover:underline hover:text-theme-900\",class:{\n ' text-gray-500': item.fiscalWorkspace\n },attrs:{\"to\":{\n name:\n 'settings.tenant.workspaces.credentials.new',\n params: { id: item.id }\n }}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.fiscal.new\"))+\" \")])])],1)]),_c('td',{staticClass:\" w-20 px-2 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('router-link',{staticClass:\"flex items-center space-x-2 text-theme-600 hover:text-theme-900 hover:underline\",attrs:{\"to\":{\n name: 'settings.tenant.workspaces.edit',\n params: { id: item.id }\n }}},[(false)?_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z\"}})]):_vm._e(),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])])],1)])])}),0)])])])])]),(_vm.maxWorkspacesReached)?_c('div',[_c('WarningBanner',{attrs:{\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedWorkspaces', [\n _vm.features.maxWorkspaces\n ])}})],1):_vm._e()])])])])],1),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TenantFeaturesDto } from \"../../../application/contracts/master/tenants/TenantFeaturesDto\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport services from \"@/services\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport WarningBanner from \"@/components/shared/banners/WarningBanner.vue\";\nimport { FiscalCredentialType } from \"@/application/enums/app/v3/cfdis/FiscalCredentialType\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\n\n@Component({\n components: {\n ErrorModal,\n Loading,\n WarningBanner,\n EmptyState\n }\n})\nexport default class WorkspacesList extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n headers = [\n {\n title: i18n.t(\"models.workspace.object\")\n },\n {\n title: i18n.t(\"models.workspace.type\")\n },\n {\n title: i18n.t(\"models.user.plural\")\n },\n {\n title: \"Credenciales en SAT\"\n },\n {\n title: i18n.t(\"shared.actions\")\n }\n ];\n\n searchInput = \"\";\n mounted() {\n tinyEventBus().emitter.on(\"workspace-deleted\", () => this.reload());\n tinyEventBus().emitter.on(\"workspace-added\", () => this.reload());\n tinyEventBus().emitter.on(\"workspace-saved\", () => this.reload());\n\n services.tenants.getFeatures();\n this.reload();\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"workspace-deleted\");\n tinyEventBus().emitter.off(\"workspace-added\");\n tinyEventBus().emitter.off(\"workspace-saved\");\n }\n async reload() {\n // this.items = [];\n this.loading = true;\n services.workspaces\n .getAllWorkspaces(true)\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n deleted() {\n this.reload();\n }\n // canceled() {\n // }\n added() {\n this.reload();\n }\n saved() {\n this.reload();\n }\n workspaceType(item: WorkspaceDto) {\n return this.$t(\"app.workspaces.types.\" + WorkspaceType[item.type]);\n }\n userEmails(item: WorkspaceDto) {\n return item.users.map(f => f.user?.firstName).join(\", \");\n }\n fiscalTypeName(type: FiscalCredentialType) {\n return FiscalCredentialType[type];\n }\n get features(): TenantFeaturesDto {\n return store.state.app.features;\n }\n get maxWorkspacesReached() {\n if (!this.features) {\n return true;\n } else {\n if (\n this.features.maxWorkspaces > 0 &&\n this.workspaces.length >= this.features.maxWorkspaces\n ) {\n return true;\n }\n return false;\n }\n }\n get workspaces() {\n return store.state.tenant.workspaces;\n }\n get filteredItems(): WorkspaceDto[] {\n if (!this.workspaces) {\n return [];\n }\n const items = this.workspaces.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): WorkspaceDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspacesList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspacesList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkspacesList.vue?vue&type=template&id=22c02012&\"\nimport script from \"./WorkspacesList.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkspacesList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB1BJREFUeNrs3U9SG0cYhvFRyrssQk5g+QTBJ4g4QcQJjLLI1uIEwAmEt1lE8gmCT4A4gfEJopwgyiJr0m03VWAQBv2bb4bfUzUFrgIx7taj9+vpnp6qAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWInOqi9wdXW1m77stKhNLjudzt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AJQguEeMvVJOkUOC4IYYJ5anEwS3B99nlX2qCIJb5NIpP9HJQzMJghtSvC9SSAuCPHtmZVxxISkIQoYvx0VJiikhCPKtcqKtZdK/ZXCdv5+7FAsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8gv8FGAC+IXg8LLMo6QAAAABJRU5ErkJggg==\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"flex bg-white border-b border-gray-200 overflow-x-auto\",attrs:{\"aria-label\":\"Breadcrumb\"}},[_c('ol',{staticClass:\"max-w-screen-xl w-full px-4 flex space-x-4 sm:px-6 lg:px-8\"},[_c('li',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex items-center\"},[_c('router-link',{staticClass:\"text-gray-400 hover:text-gray-500\",attrs:{\"to\":{ name: _vm.homeRoute }}},[_c('svg',{staticClass:\"flex-shrink-0 h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z\"}})]),_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Inicio\")])])],1)]),_vm._l((_vm.menu),function(item,idx){return _c('li',{key:idx,staticClass:\"flex\"},[_c('div',{staticClass:\"flex items-center\"},[_c('svg',{staticClass:\"flex-shrink-0 w-5 sm:w-6 h-full text-gray-200\",attrs:{\"viewBox\":\"0 0 24 44\",\"preserveAspectRatio\":\"none\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M.293 0l22 22-22 22h1.414l22-22-22-22H.293z\"}})]),(!item.routeName)?_c('div',{staticClass:\"ml-2 sm:ml-4 sm:text-sm font-medium text-gray-500 hover:text-gray-700 select-none truncate\"},[_vm._v(\" \"+_vm._s(item.title)+\" \")]):_c('router-link',{staticClass:\"ml-2 sm:ml-4 sm:text-sm font-medium text-gray-500 hover:text-gray-700 truncate\",attrs:{\"to\":{\n name: item.routeName,\n params: item.params,\n query: item.query\n }}},[_vm._v(_vm._s(item.title))])],1)])})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Breadcrumb.vue?vue&type=template&id=20562826&\"\nimport script from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\nexport * from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"max-w-lg mx-auto\"},[_c('div',[_c('div',{staticClass:\"text-center\"},[_c('h2',{staticClass:\"mt-2 text-lg font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectWorkspaces\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.select\"))+\" \")])]),(_vm.allowSearch)?_c('form',{staticClass:\"mt-6 flex\",attrs:{\"action\":\"#\"}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"search\"}},[_vm._v(_vm._s(_vm.$t(\"shared.search\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"search\",\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})]):_vm._e()]),_c('div',{staticClass:\"mt-5\"},[_c('h3',{staticClass:\"text-xs font-semibold text-gray-500 uppercase tracking-wide\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.plural\"))+\" \")]),(_vm.loading)?_c('Loading'):(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No hay espacios de trabajo'\n }}})],1):_c('div',[_c('ul',{staticClass:\"mt-4 border-t border-b border-gray-200 divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.filteredItems),function(item,idx){return _c('li',{key:idx,staticClass:\"py-2 flex items-center justify-between space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1\"},[_c('p',{staticClass:\"text-sm font-medium text-gray-900 truncate\"},[_vm._v(\" \"+_vm._s(item.legalName)+\" \")]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(item.taxId)+\" \")])])]),_c('div',{staticClass:\"flex-shrink-0\"},[_c('button',{staticClass:\"inline-flex items-center py-2 px-3 border border-transparent rounded-full focus:outline-none\",class:{\n 'text-gray-800 bg-gray-100 hover:bg-teal-200': !_vm.isSelected(\n item\n ),\n 'text-teal-800 bg-teal-100 hover:bg-red-200 ': _vm.isSelected(\n item\n )\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toggle(item)}}},[(!_vm.isSelected(item))?_c('svg',{staticClass:\"-ml-1 mr-0.5 h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"-ml-1 mr-0.5 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),(!_vm.isSelected(item))?_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.add\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.taxId)+\" - \"+_vm._s(item.legalName))])]):_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remove\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.taxId)+\" - \"+_vm._s(item.legalName))])])])])])}),0),_c('div',{staticClass:\"py-3 text-right flex justify-end\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' opacity-50 cursor-not-allowed':\n _vm.selected.length === 0\n },attrs:{\"type\":\"submit\",\"disabled\":_vm.selected.length === 0},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")])])])])],1)])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n EmptyState,\n ErrorModal,\n Loading\n }\n})\nexport default class SelectWorkspaces extends Vue {\n @Prop({ default: false }) allowSearch!: boolean;\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n searchInput = \"\";\n items: WorkspaceDto[] = [];\n loading = false;\n selected: string[] = [];\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(selected: string[]) {\n this.selected = selected;\n this.showing = true;\n\n // this.$nextTick(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // });\n\n this.reload();\n }\n reload() {\n this.loading = true;\n services.workspaces\n .getAllWorkspaces(false)\n .then(response => {\n this.items = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n toggle(item: WorkspaceDto) {\n if (this.isSelected(item)) {\n this.selected = this.selected.filter(f => f !== item.id);\n } else {\n this.selected.push(item.id);\n }\n }\n isSelected(item: WorkspaceDto) {\n return this.selected.find(f => f === item.id);\n }\n accept() {\n const selected: WorkspaceDto[] = [];\n this.items.forEach(element => {\n if (this.isSelected(element)) {\n selected.push(element);\n }\n });\n this.$emit(\"selected\", selected);\n this.close();\n }\n get filteredItems(): WorkspaceDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectWorkspaces.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectWorkspaces.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectWorkspaces.vue?vue&type=template&id=55c8de2e&\"\nimport script from \"./SelectWorkspaces.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectWorkspaces.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n { title: _vm.$t('models.employee.plural'), routeName: 'app.employees' }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-3 px-8 h-13\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between \"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),_c('portal-target',{staticClass:\"flex items-center space-x-2 h-2\",attrs:{\"name\":\"employee-buttons\"}})],1)]),_c('div',[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\n\n@Component({\n metaInfo: {\n title: \"Perfil de colaborador\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs\n }\n})\nexport default class Employee extends Vue {\n tabs: TabItem[] = [];\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.employees.profile.title\"),\n routeName: \"app.employees.profile\"\n },\n {\n name: this.$t(\"app.employees.cfdis.title\"),\n routeName: \"app.employees.cfdis\"\n }\n ];\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Employee.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Employee.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Employee.vue?vue&type=template&id=e156c2f2&\"\nimport script from \"./Employee.vue?vue&type=script&lang=ts&\"\nexport * from \"./Employee.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum TenantUserStatus {\n PENDING_INVITATION,\n PENDING_ACCEPTANCE,\n ACTIVE,\n INACTIVE,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"max-w-5xl xl:max-w-7xl mx-auto\"},[(_vm.item)?_c('portal',{attrs:{\"to\":\"contracts-buttons\"}}):_vm._e(),(_vm.loading)?_c('Loading'):(!_vm.item || !_vm.item.id)?_c('div',{staticClass:\"mx-auto p-5 items-center justify-between flex text-red-700\"},[_vm._v(\" \"+_vm._s(_vm.error)+\" \")]):(_vm.item)?_c('div',{key:_vm.id},[_c('div',{staticClass:\"md:flex space-y-2 md:space-y-0 items-center justify-between py-3 border-b border-gray-200 mb-2 md:space-x-3\"},[_c('div',{staticClass:\" font-bold text-xl uppercase truncate\"},[_c('span',{staticClass:\" truncate\"},[_vm._v(\" \"+_vm._s(_vm.item.name)+\" \")])]),_c('div',{staticClass:\"flex justify-end items-end space-x-2\"},[(_vm.editing && _vm.isOwnerOrAdmin)?_c('button',{staticClass:\"bg-white py-2 px-4 border border-gray-300 sm:rounded-md shadow-sm sm:text-sm font-medium text-red-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.deleteContract}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")]):_vm._e(),(_vm.editing)?_c('button',{staticClass:\"bg-white py-2 px-4 border border-gray-300 sm:rounded-md shadow-sm sm:text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.toggleEdit}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]):_vm._e(),(_vm.editing)?_c('button',{ref:\"buttonSave\",staticClass:\"inline-flex truncate justify-center px-4 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"},on:{\"click\":_vm.save}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.saveChanges\"))+\" \")]):_vm._e(),(!_vm.editing)?_c('div',{staticClass:\"flex items-end space-x-2 space-y-0\"},[_c('span',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeOptions),expression:\"closeOptions\"}],staticClass:\"relative inline-flex shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadPdf}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"shared.download\"))+\" \")]),_c('span',{staticClass:\"-ml-px relative block\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\",\"id\":\"option-menu-button\",\"aria-expanded\":\"true\",\"aria-haspopup\":\"true\"},on:{\"click\":_vm.toggleOptions}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Open options\")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.openOptions),expression:\"openOptions\"}],staticClass:\"z-10 origin-top-right absolute right-0 mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"option-menu-button\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"none\"}},[(_vm.canSign)?_c(_vm.alreadySigned ? 'span' : 'router-link',{tag:\"router-link\",staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm focus:outline-none\",class:{\n ' bg-gray-100 cursor-not-allowed': _vm.alreadySigned,\n ' hover:bg-gray-50': !_vm.alreadySigned\n },attrs:{\"disabled\":_vm.alreadySigned,\"role\":\"menuitem\",\"to\":{ name: 'app.contracts.sign', params: { id: _vm.id } }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.actions.sign\"))+\" \")]):_vm._e(),(_vm.canEdit)?_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm focus:outline-none\",class:{\n ' bg-gray-100 cursor-not-allowed': !_vm.canBeEdited,\n ' hover:bg-gray-50': _vm.canBeEdited\n },attrs:{\"type\":\"button\",\"disabled\":!_vm.canBeEdited,\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.toggleEdit}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])]):_vm._e(),_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.reload}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])]),_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":function($event){return _vm.downloadFile(0, true)}}},[_c('div',[_vm._v(\" Descargar PDF original \")])]),(_vm.item.status >= 1)?_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":function($event){return _vm.downloadFile(1, true)}}},[_c('div',[_vm._v(\" Descargar PDF firmado \")])]):_vm._e(),(_vm.item.status >= 1)?_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":function($event){return _vm.downloadFile(2, true)}}},[_c('div',[_vm._v(\" Descargar XML firmado \")])]):_vm._e(),_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-2\"},on:{\"click\":_vm.send}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.send\"))+\" \")])],1)])])],1)])]):_vm._e()])]),_c('div',{staticClass:\"bg-gray-50 min-h-screen\"},[_c('div',{staticClass:\"py-2\"},[_c('div',{staticClass:\"grid gap-4 lg:grid-cols-3\"},[_c('div',{staticClass:\"lg:col-span-2 space-y-4\"},[_c('div',[_c('h3',{staticClass:\"mb-2 text-gray-400 font-medium text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.details.general\"))+\" \")]),_c('div',{staticClass:\"bg-white p-3 rounded border border-gray-100 shadow-md space-y-3\"},[_c('div',{staticClass:\"grid sm:grid-cols-2 gap-2\"},[_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"provider\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.providerFullName),expression:\"providerFullName\"}],ref:\"inputProviderTaxId\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{ 'bg-gray-100': true },attrs:{\"type\":\"text\",\"name\":\"providerTaxId\",\"id\":\"providerTaxId\",\"autocomplete\":\"none\",\"required\":\"\",\"maxlength\":\"13\",\"disabled\":\"\"},domProps:{\"value\":(_vm.providerFullName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.providerFullName=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"client\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.clientFullName),expression:\"clientFullName\"}],ref:\"inputClientTaxId\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{ 'bg-gray-100': true },attrs:{\"type\":\"text\",\"name\":\"clientTaxId\",\"id\":\"clientTaxId\",\"maxlength\":\"13\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(_vm.clientFullName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.clientFullName=$event.target.value}}})])])]),_c('div',[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(_vm.$t(\"models.contract.name\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.name),expression:\"name\"}],ref:\"inputName\",staticClass:\"text-gray-600 p-2 shadow-sm w-full block focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm border border-gray-300 rounded-md\",class:{\n 'bg-gray-100': !_vm.editing,\n 'bg-white': _vm.editing\n },attrs:{\"disabled\":!_vm.editing,\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"placeholder\":_vm.$t('models.contract.name')},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2\",attrs:{\"for\":\"description\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.description\"))+\" \")]),_c('div',{staticClass:\"mt-1 sm:mt-0 sm:col-span-2\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.description),expression:\"description\"}],staticClass:\" p-2 shadow-sm w-full block focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm border border-gray-300 rounded-md\",class:{\n 'bg-gray-100': !_vm.editing,\n 'bg-white': _vm.editing\n },attrs:{\"disabled\":!_vm.editing,\"id\":\"description\",\"name\":\"description\",\"rows\":\"5\"},domProps:{\"value\":(_vm.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.description=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2\",attrs:{\"for\":\"file\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.file\"))+\" \")]),_c('div',{staticClass:\"mt-1 sm:mt-0 sm:col-span-2\",class:{\n 'bg-white': _vm.editing\n }},[(_vm.loadingPdf)?_c('div',[_c('div',{staticClass:\"overflow-hidden border border-gray-300 rounded-md items-center\"},[_c('Loading')],1)]):_c('div',[(_vm.contractPdf && _vm.contractPdf.length > 0)?_c('div',{staticClass:\"overflow-hidden border border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\" p-4 flex justify-between items-center\"},[_c('div',{staticClass:\"origin-top-left left-0 top-0 mt-1 ml-1 flex items-center space-x-2\"},[_c('span',{staticClass:\"relative z-0 inline-flex shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === 1,\n 'hover:bg-gray-50': _vm.currentPage !== 1\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === 1},on:{\"click\":function($event){return _vm.nextPage(-1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.previous\")))]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]),_c('span',{staticClass:\"-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 select-none\"},[_vm._v(\" \"+_vm._s(_vm.currentPage)+\" / \"+_vm._s(_vm.pageCount)+\" \")]),_c('button',{staticClass:\"-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === _vm.pageCount,\n 'hover:bg-gray-50':\n _vm.currentPage !== _vm.pageCount\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === _vm.pageCount},on:{\"click\":function($event){return _vm.nextPage(1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.next\")))]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"origin-top-right right-0 top-0 mt-1 mr-0 text-gray-600 hover:bg-gray-50 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadPdf}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"}})])]),(_vm.editing)?_c('button',{staticClass:\"origin-top-right right-0 top-0 mt-1 mr-0 text-gray-600 hover:bg-gray-50 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.removePdf}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\"}})])]):_vm._e()])]),_c('div',{staticClass:\"py-4 mx-auto text-center flex items-center justify-center\"},[_c('pdf',{attrs:{\"src\":_vm.contractPdf,\"page\":_vm.currentPage},on:{\"num-pages\":function($event){_vm.pageCount = $event},\"page-loaded\":function($event){_vm.currentPage = $event}}})],1)]):_c('drop-document',{attrs:{\"accept\":\".pdf\",\"description\":\"Solo documentos tipo .PDF\"},on:{\"droppedFiles\":_vm.droppedContractFile},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('svg',{staticClass:\"mx-auto h-10 w-10 text-gray-400\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"#ef4444\"}},[_c('path',{attrs:{\"d\":\"M32.25,16.125v37.625h10.75v-26.875h86v26.875h10.75v-37.625zM43,64.5v43h10.75v-10.75c8.83935,0 16.125,-7.28565 16.125,-16.125c0,-8.83935 -7.28565,-16.125 -16.125,-16.125zM75.25,64.5v43h13.4375c7.43262,0 13.4375,-6.00488 13.4375,-13.4375v-16.125c0,-7.43261 -6.00488,-13.4375 -13.4375,-13.4375zM107.5,64.5v43h10.75v-16.125h10.75v-10.75h-10.75v-5.375h16.125v-10.75zM53.75,75.25c2.98145,0 5.375,2.39356 5.375,5.375c0,2.98145 -2.39355,5.375 -5.375,5.375zM86,75.25h2.6875c1.15479,0 2.6875,1.53271 2.6875,2.6875v16.125c0,1.15479 -1.53271,2.6875 -2.6875,2.6875h-2.6875zM32.25,118.25v37.625h107.5v-37.625h-10.75v26.875h-86v-26.875z\"}})])])])]},proxy:true}])})],1)])])])])]),_c('div',{staticClass:\"space-y-5\"},[_c('div',[_c('ContractMembers',{attrs:{\"items\":_vm.item.members}}),(_vm.canSign && !_vm.alreadySigned)?_c(_vm.alreadySigned ? 'span' : 'router-link',{tag:\"router-link\",staticClass:\"border-transparent flex justify-center w-full inline-flex items-center px-4 py-2 rounded-b-md border text-sm font-medium text-white focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n ' bg-gray-100 cursor-not-allowed border-gray-300 text-gray-700': _vm.alreadySigned,\n ' hover:bg-theme-700 text-white bg-theme-600 border-gray-300': !_vm.alreadySigned\n },attrs:{\"disabled\":_vm.alreadySigned,\"to\":{ name: 'app.contracts.sign', params: { id: _vm.id } }}},[_c('sign',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.actions.sign\"))+\" \")],1):(_vm.item && _vm.item.status === 1)?_c('div',{staticClass:\"bg-teal-50 text-teal-800 cursor-not-allowed border-teal-300 space-x-2 border-transparent flex justify-center w-full inline-flex items-center px-4 py-2 rounded-b-md border text-sm font-medium text-white focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500 bg-teal-50 text-teal-800 border-teal-100 shadow\"},[_c('div',{staticClass:\"flex items-center justify-center space-x-2\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z\"}})]),_c('div',[_vm._v(\" Contrato firmado \")])])]):(_vm.alreadySigned)?_c('div',{staticClass:\"bg-gray-100 cursor-not-allowed border-gray-300 text-gray-500 space-x-2 border-transparent flex justify-center w-full inline-flex items-center px-4 py-2 rounded-b-md border text-sm font-medium text-white focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\"},[_c('div',[_vm._v(\" Ya firmaste \")])]):_vm._e()],1),_c('div',[_c('h3',{staticClass:\"mb-2 text-gray-400 font-medium text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.activity\"))+\" \")]),_c('div',{staticClass:\"bg-white p-3 rounded border border-gray-100 shadow-md space-y-3 overflow-hidden\"},[_c('div',{staticClass:\"flow-root\"},[_c('ul',{staticClass:\"-mb-8\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedActivity),function(activity,idxActivity){return _c('li',{key:idxActivity},[_c('div',{staticClass:\"relative pb-8\"},[(\n _vm.item &&\n _vm.item.activity.length > 0 &&\n idxActivity + 1 < _vm.item.activity.length\n )?_c('span',{staticClass:\"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e(),_c('div',{staticClass:\"relative flex space-x-3\"},[_c('div',[_c('span',{staticClass:\"h-8 w-8 rounded-full bg-gray-100 flex items-center justify-center ring-8 ring-white\",class:{\n '': activity.type === 2\n }},[(activity.type === 0)?_c('svg',{staticClass:\"h-4 w-4 text-gray-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z\"}})]):_vm._e(),(activity.type === 1)?_c('svg',{staticClass:\"h-4 w-4 text-theme-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z\"}})]):_vm._e(),(activity.type === 2)?_c('svg',{staticClass:\"h-4 w-4 text-teal-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]):_vm._e(),(activity.type === 3)?_c('svg',{staticClass:\"h-4 w-4 text-red-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z\"}})]):_vm._e()])]),_c('div',{staticClass:\" flex-grow\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex justify-between space-x-4\"},[_c('div',{staticClass:\"truncate\"},[_c('div',{staticClass:\"text-sm text-gray-500\"},[_c('div',{staticClass:\"text-gray-900 truncate\"},[_c('span',{attrs:{\"title\":_vm.getActivityTitle(activity)}},[_vm._v(_vm._s(_vm.getActivityTitle(activity)))])])])]),_c('div',{staticClass:\"text-right text-xs whitespace-nowrap text-gray-500 lowercase\"},[_c('time',{attrs:{\"datetime\":activity.createdAt,\"title\":activity.createdAt}},[_vm._v(_vm._s(_vm.dateDM(activity.createdAt)))])])]),_c('div',{staticClass:\"min-w-0 flex-1 flex justify-between space-x-4\"},[(activity.createdByUser)?_c('div',{staticClass:\"font-light text-xs\"},[_vm._v(\" \"+_vm._s(activity.createdByUser.email)+\" \")]):_vm._e()])])])])])}),0)])])])])])])])]):_vm._e(),_c('ConfirmModal',{ref:\"confirmSendReminder\",attrs:{\"inputType\":\"email\"},on:{\"yes\":_vm.yesSend}}),_c('ConfirmModal',{ref:\"confirmSendContract\",on:{\"yes\":_vm.yesSendContract}}),_c('ConfirmModal',{ref:\"confirmDelete\",on:{\"yes\":_vm.yesDelete}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\"}),(_vm.signing)?_c('side-modal',{ref:\"modalSign\",attrs:{\"title\":\"Firmar contrato\"},on:{\"close\":function($event){_vm.signing = false}},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{},[_c('a',{staticClass:\" underline text-theme-600 hover:text-theme-700\",attrs:{\"href\":\"#\"}},[_vm._v(\"Ir a firmar\")])])]},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"flex items-center justify-end mt-4\"},[_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 border border-gray-300 text-xs leading-5 font-medium rounded-sm text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"submit\"},on:{\"click\":_vm.sign}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.confirm\"))+\" \")])])]},proxy:true}],null,false,4288345022)}):_vm._e(),(!_vm.loading && _vm.item && _vm.item.id)?_c('router-view',{staticClass:\"z-50\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum ContractEmailFormat {\n NEW,\n REMINDER,\n SIGNED,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h3',{staticClass:\"mb-2 text-gray-400 font-medium text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.members\"))+\" \")]),_c('div',{staticClass:\"bg-white border-gray-200 rounded-tl-md rounded-tr-md border shadow-md overflow-hidden\"},[(false)?_c('div',{staticClass:\"px-4 py-3 flex items-center justify-between border-b border-gray-200 text-base space-x-1\"},[_c('div',{staticClass:\"font-medium text-sm truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.signatories\"))+\" \"+_vm._s(_vm.$t(\"shared.and\"))+\" \"+_vm._s(_vm.$t(\"app.contracts.spectators\"))+\" \")]),_c('div',{staticClass:\"bg-gray-50 rounded-md px-1 py-0.5 border border-gray-300 text-xs truncate\",attrs:{\"title\":_vm.signers.filter(function (f) { return f.signDate; }).length + ' / ' + _vm.signers.length}},[_vm._v(\" \"+_vm._s(_vm.signers.filter(function (f) { return f.signDate; }).length)+\" / \"+_vm._s(_vm.signers.length)+\" \")])]):_vm._e(),_c('div',{staticClass:\"flow-root\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(member,idxMember){return _c('li',{key:idxMember,staticClass:\"flex items-center justify-between py-2 px-4 space-x-2\",class:{\n ' ': member.role === 0 && !member.signDate\n }},[_c('div',{staticClass:\"truncate\"},[_c('div',{staticClass:\"text-sm font-medium text-gray-800 truncate flex items-center space-x-1 justify-between\"},[_c('div',{staticClass:\"text-sm font-medium text-gray-800 truncate flex items-center space-x-1 justify-between\"},[(member.user.email === _vm.currentEmail)?_c('span',{staticClass:\" text-theme-600 font-normal capitalize mr-1\"},[_vm._v(\"(\"+_vm._s(_vm.$t(\"shared.you\"))+\")\")]):_vm._e(),_vm._v(\" \"+_vm._s(member.user.firstName)+\" \"+_vm._s(member.user.lastName)+\" \")]),(member.role === 0)?_c('div',{staticClass:\"text-gray-400 inline-flex items-centerpx-2.5 py-0.5 text-sm leading-5 font-medium rounded-full hover:bg-gray-50\"}):_vm._e()]),_c('div',{staticClass:\"flex items-center space-x-2 justify-between truncate\"},[_c('p',{staticClass:\"text-sm text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(member.user.email)+\" \")])])]),(member.role === 0)?_c('div',{staticClass:\" flex-shrink-0\"},[(member.signDate)?_c('span',{staticClass:\"inline-flex items-center px-2.5 py-0.5 rounded-md text-xs font-medium bg-teal-50 text-teal-800 border border-teal-300\"},[(_vm.isCurrentMember(member))?_c('span',[_vm._v(\" Firmaste \")]):_c('span',[_vm._v(\" Firmó \")]),_c('svg',{staticClass:\"ml-1 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])]):_c('span',{staticClass:\"inline-flex items-center px-2.5 py-0.5 rounded-md text-xs font-medium bg-red-50 text-red-800 border border-red-300\"},[(_vm.isCurrentMember(member))?_c('span',[_vm._v(\" No has firmado \")]):_c('span',[_vm._v(\" No ha firmado \")]),_c('svg',{staticClass:\"ml-1 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\"}})])])]):_vm._e()])}),0)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\",\"fill\":\"currentColor\"}},[_c('g',{attrs:{\"transform\":\"translate(0.86,0.86) scale(0.99,0.99)\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\",\"stroke\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\",\"stroke\":\"none\"}},[_c('path',{attrs:{\"d\":\"M86,6.88c-43.65603,0 -79.12,35.46397 -79.12,79.12c0,43.65603 35.46397,79.12 79.12,79.12c43.65603,0 79.12,-35.46397 79.12,-79.12c0,-43.65603 -35.46397,-79.12 -79.12,-79.12zM86,13.76c39.93779,0 72.24,32.30221 72.24,72.24c0,39.93779 -32.30221,72.24 -72.24,72.24c-39.93779,0 -72.24,-32.30221 -72.24,-72.24c0,-39.93779 32.30221,-72.24 72.24,-72.24zM85.94625,24.03297c-1.89722,0.02966 -3.41223,1.58976 -3.38625,3.48703v48.75797c-4.12064,1.45686 -6.87671,5.35144 -6.88,9.72203c0.00314,1.53746 0.34976,3.05478 1.01453,4.4411l-20.64672,20.64672c-0.89867,0.86281 -1.26068,2.14404 -0.94641,3.34956c0.31427,1.20552 1.2557,2.14696 2.46122,2.46122c1.20552,0.31427 2.48675,-0.04774 3.34956,-0.94641l20.64672,-20.64672c1.38631,0.66477 2.90364,1.01139 4.4411,1.01453c5.69958,0 10.32,-4.62042 10.32,-10.32c-0.00613,-4.36813 -2.76169,-8.25927 -6.88,-9.71531v-48.76469c0.01273,-0.92983 -0.35149,-1.82522 -1.00967,-2.48214c-0.65819,-0.65692 -1.55427,-1.01942 -2.48408,-1.00489z\"}})])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clock.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clock.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Clock.vue?vue&type=template&id=10134d80&\"\nimport script from \"./Clock.vue?vue&type=script&lang=js&\"\nexport * from \"./Clock.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport store from \"@/store\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport Clock from \"@/assets/contracts/Clock.vue\";\n\n@Component({\n components: {\n Sign,\n Clock\n }\n})\nexport default class ContractMembers extends Vue {\n @Prop({}) items!: ContractMemberDto[];\n selectedMember: ContractMemberDto | null = null;\n\n showOptions(member: ContractMemberDto) {\n this.selectedMember = member;\n }\n isCurrentMember(member: ContractMemberDto) {\n return store.state.account.user?.email === member.user.email;\n }\n get currentEmail() {\n return store.state.account.user?.email ?? \"\";\n }\n get signers(): ContractMemberDto[] {\n return this.items.filter(f => f.role === 0);\n // return [];\n }\n get sortedItems() {\n return this.items.sort((x, y) => {\n return x.role > y.role ? 1 : -1;\n });\n }\n}\n","export enum ContractFileType {\n PDF,\n SIGNED_PDF,\n SIGNED_XML,\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractMembers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractMembers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractMembers.vue?vue&type=template&id=8d22671e&\"\nimport script from \"./ContractMembers.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractMembers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport store from \"@/store\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { ContractEmailFormat } from \"@/application/enums/app/v3/contracts/ContractEmailFormat\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { ContractActivityType } from \"@/application/enums/app/v3/contracts/ContractActivityType\";\nimport ContractMembers from \"./ContractMembers.vue\";\nimport { ContractActivityDto } from \"@/application/dtos/app/v3/contracts/ContractActivityDto\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { ContractFileType } from \"@/application/enums/app/v3/contracts/ContractFileType\";\nimport { ContractMemberRole } from \"@/application/enums/app/v3/contracts/ContractMemberRole\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Detalles de contrato\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n Tabs,\n ContractMembers,\n Loading\n }\n})\nexport default class ContractDetails extends Vue {\n $refs!: {\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n confirmSendReminder: ConfirmModal;\n confirmSendContract: ConfirmModal;\n confirmDelete: ConfirmModal;\n errorModal: ErrorModal;\n successModal: SuccessModal;\n inputName: HTMLInputElement;\n };\n id = \"\";\n name = \"\";\n description = \"\";\n contractPdf = \"\";\n\n tabs: TabItem[] = [];\n\n editing = false;\n signing = false;\n openOptions = false;\n\n item?: ContractDto | null = null;\n error = \"\";\n loading = false;\n loadingPdf = false;\n currentPage = 1;\n pageCount = 0;\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.contracts.details.title\"),\n routeName: \"app.contracts.view\"\n // current: false\n },\n {\n name: this.$t(\"app.contracts.employees.title\"),\n routeName: \"app.contracts.employees\"\n // current: false\n },\n {\n name: this.$t(\"app.contracts.visits.title\"),\n routeName: \"app.contracts.visits\"\n // current: false\n }\n ];\n // this.tabs.forEach(tab => {\n // tab.current = tab.routeName === this.$route.name;\n // });\n tinyEventBus().emitter.on(\"contract-reload\", () => {\n this.reload();\n });\n this.reload();\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"contract-reload\");\n }\n reload() {\n this.closeOptions();\n this.loading = true;\n this.item = undefined;\n services.contracts\n .getContract(this.id, false)\n .then(response => {\n this.item = response;\n this.name = response.name;\n this.description = response.description;\n this.loadPdf();\n })\n .catch(error => {\n this.error = error;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n nextPage(pages) {\n this.currentPage += pages;\n }\n removePdf() {\n if (this.item) {\n this.contractPdf = \"\";\n }\n }\n loadPdf() {\n let format = ContractFileType.PDF;\n if (this.item?.status === 1) {\n format = ContractFileType.SIGNED_PDF;\n }\n this.downloadFile(format, false);\n }\n downloadFile(format: ContractFileType, open: boolean) {\n this.closeOptions();\n this.loadingPdf = true;\n services.contracts\n .downloadFile(this.id, format)\n .then(response => {\n if (open) {\n const downloadLink = document.createElement(\"a\");\n const fileName = this.item?.name + (format === 2 ? \".xml\" : \".pdf\");\n downloadLink.href = response;\n downloadLink.download = fileName;\n downloadLink.click();\n } else {\n this.contractPdf = response;\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error descargando PDF\", this.$t(error));\n })\n .finally(() => {\n this.loadingPdf = false;\n });\n }\n downloadPdf() {\n this.closeOptions();\n if (this.loadingPdf) {\n this.$refs.errorModal.show(\n \"Cargando...\",\n \"El PDF todavía se está descargando, espera un momento y vuelve a intentar.\"\n );\n } else if (this.item) {\n const downloadLink = document.createElement(\"a\");\n const fileName = this.item?.name + \".pdf\";\n downloadLink.href = this.contractPdf;\n downloadLink.download = fileName;\n downloadLink.click();\n }\n }\n toggleEdit() {\n this.closeOptions();\n this.editing = !this.editing;\n if (this.editing) {\n this.$nextTick(() => {\n this.$refs.inputName.focus();\n this.$refs.inputName.select();\n });\n }\n }\n deleteContract() {\n this.$refs.confirmDelete.show(\n `Eliminar contrato '${this.item?.name}'`,\n \"Eliminar\",\n \"Cancelar\",\n `Se eliminarán todas las firmas, listas de empleados y visitas registradas.`\n );\n }\n yesDelete() {\n this.loading = true;\n services.contracts\n .delete(this.item?.id)\n .then(() => {\n this.$router.push({ name: \"app.contracts\" });\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error eliminando\", this.$t(error));\n this.loading = false;\n });\n }\n droppedContractFile(files: FileBase64[]) {\n if (this.item) {\n if (files.length > 0) {\n this.contractPdf = files[0].base64;\n }\n }\n }\n sign() {\n alert(\"sign\");\n }\n sendReminder(member: ContractMemberDto) {\n this.$refs.confirmSendReminder.show(\n `Recordatorio`,\n \"Enviar\",\n \"Cancelar\",\n `Se enviará recordatorio para firmar contrato ${this.item?.name}.`,\n member.user.email\n );\n }\n yesSend(input: string) {\n if (!this.item) {\n this.$refs.errorModal.show(\"Error\", \"Contrato inválido\");\n return;\n }\n const emails = input.split(\",\");\n // const email = prompt(\"Correo electrónico\", store.state.account.user?.email);\n if (!emails || emails.length === 0) {\n return;\n }\n services.contracts\n .send(this.item.id, {\n format: ContractEmailFormat.REMINDER,\n emails\n })\n .then(() => {\n this.$refs.successModal.show(\"Recordatorio enviado\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error enviando\", this.$t(error));\n });\n }\n send() {\n this.closeOptions();\n this.$refs.confirmSendContract.show(\n `Enviar contrato`,\n \"Enviar\",\n \"Cancelar\",\n `Enviarás el contrato a los participantes: ${this.item?.members\n .map(\n f =>\n (f.user.firstName + \" \" + f.user.lastName).trim() +\n \" (\" +\n f.user.email +\n \")\"\n )\n .join(\", \")}.`\n // store.state.account.user?.email\n );\n }\n yesSendContract() {\n if (!this.item) {\n this.$refs.errorModal.show(\"Error enviando\", \"Contrato inválido\");\n return;\n }\n let format = ContractEmailFormat.NEW;\n if (this.item?.signedDate) {\n format = ContractEmailFormat.SIGNED;\n }\n services.contracts\n .send(this.item.id, {\n format,\n emails: []\n })\n .then(() => {\n this.$refs.successModal.show(\"Contrato enviado\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error enviando\", this.$t(error));\n });\n }\n getActivityTitle(activity: ContractActivityDto) {\n return this.$t(\n \"app.contracts.activity.types.\" + ContractActivityType[activity.type]\n );\n }\n save() {\n if (!this.name) {\n this.$refs.errorModal.show(\"Error\", \"El contrato debe de tener nombre.\");\n return;\n } else if (!this.description) {\n this.$refs.errorModal.show(\n \"Error\",\n \"El contrato debe de tener una descripción.\"\n );\n return;\n } else if (!this.contractPdf) {\n this.$refs.errorModal.show(\"Error\", \"Falta el archivo PDF.\");\n return;\n } else {\n this.loading = true;\n services.contracts\n .update(this.id, {\n name: this.name,\n description: this.description,\n file: this.contractPdf\n })\n .then(() => {\n this.editing = false;\n this.$refs.successModal.show(\"Cambios guardados\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n closeOptions() {\n this.openOptions = false;\n }\n toggleOptions() {\n this.openOptions = !this.openOptions;\n }\n dateDM(value: Date | undefined) {\n return DateUtils.dateDM(value);\n }\n get clientFullName() {\n if (this.item && this.item.link?.providerWorkspace) {\n return `${this.item.link.clientWorkspace.taxId} - ${this.item.link.clientWorkspace.legalName}`;\n }\n return \"\";\n }\n get providerFullName() {\n if (this.item && this.item.link?.providerWorkspace) {\n return `${this.item.link.providerWorkspace.taxId} - ${this.item.link.providerWorkspace.legalName}`;\n }\n return \"\";\n }\n get canBeEdited() {\n return (\n this.item?.members.filter(f => f.role === 0 && f.signDate).length === 0\n );\n }\n get alreadySigned() {\n return (\n this.currentMember?.signDate !== null &&\n this.currentMember?.signDate !== undefined\n );\n }\n get currentMember() {\n return this.item?.members.find(\n f => f.user.email === store.state.account.user?.email\n );\n }\n get sortedActivity() {\n if (!this.item?.activity) {\n return [];\n }\n return this.item.activity.sort((x, y) => {\n if (x.createdAt && y.createdAt) {\n return x.createdAt > y.createdAt ? 1 : -1;\n }\n return 1;\n });\n }\n get canSign() {\n return this.currentMember?.role === ContractMemberRole.SIGNATORY;\n // return this.item?.members.find(\n // f => f.role === 0 && f.email === store.state.account.user?.email\n // );\n }\n get isOwnerOrAdmin(): boolean {\n return (\n this.currentRole === TenantUserRole.OWNER ||\n this.currentRole === TenantUserRole.ADMIN\n );\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get canEdit() {\n if (this.isOwnerOrAdmin) {\n return true;\n }\n return this.item?.createdByUserId === store.state.account.user?.id || true;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractDetails.vue?vue&type=template&id=35bfe72c&\"\nimport script from \"./ContractDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractDetails.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\"flex items-center justify-between\"},[_c('h4',{staticClass:\"text-lg font-medium\"},[_vm._v(_vm._s(_vm.$t(\"settings.tenant.members.actions.new\")))])]),(_vm.maxUsersReached)?_c('div',[_c('WarningBanner',{attrs:{\"upgrade\":true,\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedUsers', [\n _vm.maxUsers\n ])}})],1):_vm._e(),(_vm.loading)?_c('Loading'):_c('form',{staticClass:\"space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.email\"))+\"*\")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],ref:\"inputEmail\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"email\",\"name\":\"email\",\"id\":\"email\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":_vm.loading},domProps:{\"value\":(_vm.email)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.email=$event.target.value},function($event){_vm.email = $event.target.value.toLowerCase()}]}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"first-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.firstName\"))+\"*\")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.firstName),expression:\"firstName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"first-name\",\"name\":\"first-name\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.firstName=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"last-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.lastName\"))+\"*\")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.lastName),expression:\"lastName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"last-name\",\"name\":\"last-name\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.lastName=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"last-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.role\"))+\"*\")]),_c('div',{staticClass:\"mt-1 rounded-md shadow-sm w-full\"},[_c('fieldset',[_c('legend',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"models.user.role\"))+\"*\")]),_c('div',{staticClass:\"bg-white rounded-md -space-y-px\"},[_c('label',{staticClass:\"rounded-tl-md rounded-tr-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 1,\n 'border-gray-200': _vm.role !== 1\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-0-label\",\"aria-describedby\":\"tenant-user-role-0-description\"},domProps:{\"value\":1,\"checked\":_vm.role === 1},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 1,\n 'text-gray-900': _vm.role !== 1\n },attrs:{\"id\":\"tenant-user-role-0-label\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.roles.ADMIN\")))]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 1,\n 'text-gray-500': _vm.role !== 1\n },attrs:{\"id\":\"tenant-user-role-0-description\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.permissions.ADMIN\")))])])]),_c('label',{staticClass:\"relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 2,\n 'border-gray-200': _vm.role !== 2\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-1-label\",\"aria-describedby\":\"tenant-user-role-1-description\"},domProps:{\"value\":2,\"checked\":_vm.role === 2},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 2,\n 'text-gray-900': _vm.role !== 2\n },attrs:{\"id\":\"tenant-user-role-1-label\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.roles.MEMBER\")))]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 2,\n 'text-gray-500': _vm.role !== 2\n },attrs:{\"id\":\"tenant-user-role-1-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.permissions.MEMBER\"))+\" \")])])]),_c('label',{staticClass:\"rounded-bl-md rounded-br-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 3,\n 'border-gray-200': _vm.role !== 3\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-2-label\",\"aria-describedby\":\"tenant-user-role-2-description\"},domProps:{\"value\":3,\"checked\":_vm.role === 3},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 3,\n 'text-gray-900': _vm.role !== 3\n },attrs:{\"id\":\"tenant-user-role-2-label\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.roles.GUEST\")))]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 3,\n 'text-gray-500': _vm.role !== 3\n },attrs:{\"id\":\"tenant-user-role-2-description\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.permissions.GUEST\")))])])])])])])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"company-ole\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.companyRole\")))]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.companyRole),expression:\"companyRole\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"company-role\",\"name\":\"company-role\",\"autocomplete\":\"none\"},domProps:{\"value\":(_vm.companyRole)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.companyRole=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"workspace\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.plural\"))+\"*\")]),_c('div',{staticClass:\"mt-2 rounded-md w-full space-y-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentWorkspacesDescription),expression:\"currentWorkspacesDescription\"}],staticClass:\"bg-gray-100 cursor-not-allowed w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"first-name\",\"name\":\"first-name\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.currentWorkspacesDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentWorkspacesDescription=$event.target.value}}}),_c('button',{staticClass:\"flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.selectWorkspaces}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectUserWorkspaces\"))+\" \")])])])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[_c('div',{staticClass:\"text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.cancel\")))])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.invite\")))])])])])])],1)])])],1)])]),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}}),_c('select-workspaces',{ref:\"selectWorkspaces\",on:{\"selected\":_vm.selectedWorkspaces}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport SelectWorkspaces from \"@/components/app/workspaces/SelectWorkspaces.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport store from \"@/store\";\nimport WarningBanner from \"@/components/shared/banners/WarningBanner.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n SelectWorkspaces,\n WarningBanner,\n Loading\n }\n})\nexport default class NewMember extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n selectWorkspaces: SelectWorkspaces;\n inputEmail: HTMLInputElement;\n };\n loading = false;\n email = \"\";\n firstName = \"\";\n lastName = \"\";\n phone = \"\";\n companyRole = \"\";\n role: TenantUserRole = TenantUserRole.MEMBER;\n workspaces: WorkspaceDto[] = [];\n mounted() {\n this.$nextTick(() => {\n if (this.$refs.inputEmail) {\n this.$refs.inputEmail.focus();\n this.$refs.inputEmail.select();\n }\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.members\" });\n }\n save() {\n if (this.workspaces.length === 0) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.tenant.members.errors.atLeastOneWorkspace\")\n );\n return;\n }\n this.loading = true;\n services.tenantUserInvitations\n .inviteUser({\n email: this.email,\n firstName: this.firstName,\n lastName: this.lastName,\n phone: this.phone,\n role: this.role,\n workspaces: this.workspaces,\n companyRole: this.companyRole,\n sendEmail: process.env.NODE_ENV === \"production\"\n })\n .then(response => {\n tinyEventBus().emitter.emit(\"user-added\", response);\n this.$refs.successModal.show(\n \"Invitación enviada\",\n \"Se ha enviado un correo de invitación al usuario.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n selectWorkspaces() {\n this.$refs.selectWorkspaces.show([]);\n }\n selectedWorkspaces(items: WorkspaceDto[]) {\n this.workspaces = items;\n }\n changedRole(e) {\n const role: TenantUserRole = Number(e.target.value);\n this.role = role;\n }\n get currentWorkspacesDescription() {\n if (this.workspaces.length === 0) {\n return \"No has seleccionado empresas del usuario\";\n }\n return this.workspaces.map(f => f.taxId).join(\", \");\n }\n get maxUsers(): number {\n if (store.state.account.user?.type === 0) {\n return 0;\n }\n return store.state.app.features.maxUsers;\n }\n get maxUsersReached() {\n if (\n this.maxUsers > 0 &&\n store.state.tenant.members.length >= this.maxUsers\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewMember.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewMember.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewMember.vue?vue&type=template&id=740706e4&\"\nimport script from \"./NewMember.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewMember.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import axios, { AxiosInstance, AxiosRequestConfig } from \"axios\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nconst debug = process.env.NODE_ENV !== \"production\";\n\nlet apiUrl = process.env.VUE_APP_API_URL?.toString();\nif (apiUrl?.includes(\"[HOSTNAME]\")) {\n apiUrl = apiUrl.replace(\"[HOSTNAME]\", location.hostname);\n}\nconst config: AxiosRequestConfig = {\n baseURL: apiUrl,\n};\nconst server: AxiosInstance = axios.create(config);\n\nserver.defaults.headers.common[\"Access-Control-Allow-Origin\"] = \"*\";\n\nserver.interceptors.response.use(\n (response) => {\n return response;\n },\n (error) => {\n if (error.status === 401) {\n store.dispatch(\"auth/logout\");\n return;\n }\n // tslint:disable-next-line: max-line-length\n if ((error && error.toString().includes(\"QuotaExceededError\")) || (error.message && error.message.toString().includes(\"QuotaExceededError\"))) {\n // tslint:disable-next-line: max-line-length\n localStorage.clear();\n store.dispatch(\"auth/logout\");\n return Promise.reject(\"Se excedió el tiempo de respuesta, se cerrará sesión...\");\n }\n if (debug) {\n console.log(\"ERROR: \" + JSON.stringify(error));\n }\n if (error.status && error.status === 404) {\n return Promise.reject(i18n.t(\"shared.notFound\").toString());\n }\n if (error.message && error.message.includes(\"Request failed with status code 404\")) {\n return Promise.reject(i18n.t(\"shared.notFound\").toString());\n }\n // if (error.message) {\n // return Promise.reject(i18n.t(error.message).toString());\n // } else\n if (error.response?.data) {\n return Promise.reject(i18n.t(error.response.data).toString());\n } else if (error.errors) {\n return Promise.reject(i18n.t(error.errors).toString());\n }\n return Promise.reject(i18n.t(error.message).toString());\n }\n);\n\nserver.interceptors.request.use(\n (config: AxiosRequestConfig) => {\n config.headers.common[\"Access-Control-Allow-Origin\"] = \"*\";\n if (store.state.tenant.current) {\n config.headers.common[\"X-Tenant-Key\"] = store.state.tenant.current.uuid;\n }\n if (store.state.tenant.currentWorkspace) {\n config.headers.common[\"X-Workspace-Id\"] = store.state.tenant.currentWorkspace.id;\n }\n const authToken = store.state.auth.token;\n if (authToken) {\n config.headers.Authorization = `Bearer ${authToken}`;\n }\n return config;\n },\n (error) => {\n return Promise.reject(error);\n }\n);\nexport default server;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.type === 0)?_c('TabsInPills',{key:_vm.$route.name,attrs:{\"tabs\":_vm.tabs,\"paramName\":_vm.paramName,\"breakpoint\":_vm.breakpoint},on:{\"click\":_vm.click}}):_vm._e(),(_vm.type === 1)?_c('TabsInPillsWithBrandColor',{key:_vm.$route.name,attrs:{\"tabs\":_vm.tabs,\"paramName\":_vm.paramName,\"breakpoint\":_vm.breakpoint},on:{\"click\":_vm.click}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"tabs\"}},[_vm._v(\"Select a tab\")]),_c('select',{staticClass:\"block w-full focus:ring-theme-500 focus:border-theme-500 border-gray-300 rounded-md\",attrs:{\"id\":\"tabs\",\"name\":\"tabs\"}},_vm._l((_vm.tabs),function(tab){return _c('option',{key:tab.name,domProps:{\"selected\":tab.current}},[_vm._v(_vm._s(tab.name))])}),0)]),_c('div',{staticClass:\"hidden sm:block\"},[_c('nav',{staticClass:\"flex space-x-4\",attrs:{\"aria-label\":\"Tabs\"}},_vm._l((_vm.tabs),function(tab){return _c('a',{key:tab.name,class:[\n tab.current\n ? 'bg-gray-100 text-gray-700'\n : 'text-gray-500 hover:text-gray-700',\n 'px-3 py-2 font-medium text-sm rounded-md'\n ],attrs:{\"href\":tab.href,\"aria-current\":tab.current ? 'page' : undefined}},[_vm._v(\" \"+_vm._s(tab.name)+\" \")])}),0)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { TabItem } from \"./Tabs.vue\";\n\n@Component({})\nexport default class TabsInPills extends Vue {\n @Prop({ default: \"sm\" }) breakpoint!: string;\n @Prop({}) tabs!: TabItem[];\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabsInPills.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabsInPills.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TabsInPills.vue?vue&type=template&id=46964711&\"\nimport script from \"./TabsInPills.vue?vue&type=script&lang=ts&\"\nexport * from \"./TabsInPills.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:[_vm.breakpoint + ':hidden']},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"tabs\"}},[_vm._v(\"Select a tab\")]),_c('select',{staticClass:\"block w-full focus:ring-theme-500 focus:border-theme-500 border-gray-300 rounded-sm\",attrs:{\"id\":\"tabs\",\"name\":\"tabs\"},on:{\"change\":function($event){return _vm.selectTab($event.target.value)}}},_vm._l((_vm.tabs),function(tab){return _c('option',{key:tab.name,domProps:{\"selected\":_vm.isCurrent(tab)}},[_vm._v(_vm._s(tab.name))])}),0)]),_c('div',{staticClass:\"hidden\",class:[_vm.breakpoint + ':block']},[_c('nav',{staticClass:\"flex space-x-4\",attrs:{\"aria-label\":\"Tabs\"}},_vm._l((_vm.tabs),function(tab){return _c('router-link',{key:tab.name,staticClass:\"truncate\",class:[\n _vm.isCurrent(tab)\n ? 'bg-theme-100 text-theme-700'\n : 'text-gray-500 hover:text-gray-700 hover:bg-gray-50',\n 'px-3 py-2 font-medium text-sm rounded-sm '\n ],attrs:{\"to\":{\n name: tab.routeName,\n params: tab.routeParams\n },\"aria-current\":_vm.isCurrent(tab) ? 'page' : undefined}},[_vm._v(\" \"+_vm._s(tab.name)+\" \")])}),1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { TabItem } from \"./Tabs.vue\";\n\n@Component({})\nexport default class TabsInPillsWithBrandColor extends Vue {\n @Prop({ default: \"sm\" }) breakpoint!: string;\n @Prop({ default: \"\" }) paramName!: string;\n @Prop({}) tabs!: TabItem[];\n selectTab(tabName) {\n const tab = this.tabs.find(f => f.name === tabName);\n if (tab) {\n this.$router.push({ name: tab.routeName, params: tab.routeParams });\n }\n this.$emit(\"select\", tabName);\n }\n isCurrent(tab: TabItem) {\n return this.currentTab === tab;\n }\n get currentTab() {\n if (this.paramName) {\n return this.tabs.find(\n element =>\n this.$route.name === element.routeName &&\n element.routeParams[this.paramName] ===\n this.$route.params[this.paramName]\n );\n }\n return this.tabs.find(element => this.$route.name === element.routeName);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabsInPillsWithBrandColor.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabsInPillsWithBrandColor.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TabsInPillsWithBrandColor.vue?vue&type=template&id=cf68baac&\"\nimport script from \"./TabsInPillsWithBrandColor.vue?vue&type=script&lang=ts&\"\nexport * from \"./TabsInPillsWithBrandColor.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport TabsInPills from \"./TabsInPills.vue\";\nimport TabsInPillsWithBrandColor from \"./TabsInPillsWithBrandColor.vue\";\n\nexport interface TabItem {\n name: any;\n routeName: string;\n routeParams?: any;\n}\n\n@Component({\n components: {\n TabsInPills,\n TabsInPillsWithBrandColor\n }\n})\nexport default class Tabs extends Vue {\n @Prop({}) tabs!: TabItem[];\n @Prop({}) paramName!: string;\n @Prop({ default: \"sm\" }) breakpoint!: string;\n @Prop({ default: 0 }) type!: number;\n click(idx) {\n this.$emit(\"click\", idx);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Tabs.vue?vue&type=template&id=c0ba17d8&\"\nimport script from \"./Tabs.vue?vue&type=script&lang=ts&\"\nexport * from \"./Tabs.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.sortedItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Sincronizar CFDIs del SAT',\n thereAreNo: 'No hay CFDIs'\n },\"icon\":\"refresh\"},on:{\"new\":function($event){return _vm.$router.push({ name: 'app.cfdis.sync' })}}})],1):_c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(cfdi,idxCfdi){return _c('li',{key:idxCfdi},[_c('div',{staticClass:\"block \",attrs:{\"to\":{\n name: 'app.cfdi.view',\n params: { id: cfdi.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\"flex items-end justify-between\"},[_c('div',{staticClass:\"text-sm truncate font-bold text-gray-900 flex-grow\"},[_vm._v(\" \"+_vm._s(cfdi.receptorRfc)+\" \")]),_c('div',[(cfdi.createdAt)?_c('span',{staticClass:\"text-xs text-gray-600 truncate\"},[_vm._v(\" \"+_vm._s(_vm.dateDM(cfdi.createdAt))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"mt-2 flex items-center text-sm text-gray-500 space-x-1\"},[_c('div',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(cfdi.receptorNombre)+\" \")])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-900\"},[_c('time',{attrs:{\"datetime\":cfdi.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(cfdi.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-sm text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])])}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-6 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(cfdi,idxCfdi){return _c('tr',{key:idxCfdi,attrs:{\"to\":{\n name: 'app.cfdi.view',\n params: { id: cfdi.id }\n }}},[_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end\"},[_c('div',{},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900 flex items-center space-x-2\"},[_vm._v(\" \"+_vm._s(cfdi.receptorRfc)+\" \")]),_c('div',{staticClass:\"text-sm text-gray-600 flex items-center space-x-1 truncate w-52\"},[_vm._v(\" \"+_vm._s(cfdi.receptorNombre)+\" \")])])])]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end\"},[_c('div',{},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900 flex items-center space-x-2\"},[_c('div',[_vm._v(\" \"+_vm._s(cfdi.emisorRfc)+\" \")])]),_c('div',{staticClass:\"text-sm text-gray-600 flex items-center space-x-1 truncate w-52\"},[_vm._v(\" \"+_vm._s(cfdi.emisorNombre)+\" \")])])])]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap text-sm text-gray-600\"},[(cfdi.fecha)?_c('div',[_vm._v(\" \"+_vm._s(cfdi.fecha.split(\"T\")[0])+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" $\"+_vm._s(_vm.decimalFormat(cfdi.total))+\" \")]),(false)?_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap lowercase text-sm text-gray-600\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"text-theme-600 hover:text-theme-800 underline font-medium\",on:{\"click\":function($event){return _vm.download(cfdi, 'xml')}}},[_vm._v(\" XML \")])])]):_vm._e(),(_vm.withContract)?_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap truncate\"},[(!cfdi.contractEmployeeCfdi)?_c('span',{staticClass:\" italic text-gray-400\"},[_vm._v(\" NA \")]):_c('router-link',{staticClass:\"text-theme-600 hover:text-theme-800 underline font-medium text-sm\",attrs:{\"to\":{\n name: 'app.contracts.view',\n params: {\n id: cfdi.contractEmployeeCfdi.contract.id\n }\n }}},[_vm._v(\" \"+_vm._s(cfdi.contractEmployeeCfdi.contract.name)+\" \")])],1):_vm._e()])}),0)])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport Icon from \"@/assets/contracts/WorkerMale.vue\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\n\n@Component({\n components: {\n Icon,\n EmptyState,\n ConfirmModal\n }\n})\nexport default class CfdisListAndTable extends Vue {\n @Prop({}) items!: CfdiDto[];\n @Prop({ default: true }) withContract!: boolean;\n sortByColumn = \"\";\n sortDirection = -1;\n headers: any[] = [];\n\n mounted() {\n this.headers = [\n // {\n // name: \"tipoDeComprobante\",\n // title: i18n.t(\"models.cfdi.type\")\n // },\n {\n name: \"receptorRfc\",\n title: i18n.t(\"models.cfdi.receiver\")\n },\n {\n name: \"emisorRfc\",\n title: i18n.t(\"models.cfdi.issuer\")\n },\n {\n name: \"fecha\",\n title: i18n.t(\"shared.date\")\n },\n {\n name: \"total\",\n title: i18n.t(\"models.cfdi.total\")\n }\n // {\n // title: i18n.t(\"models.cfdi.object\")\n // }\n ];\n if (this.withContract) {\n this.headers.push({\n title: i18n.t(\"models.contract.object\")\n });\n }\n }\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n download(cfdi: CfdiDto | undefined, type: string) {\n if (cfdi) {\n const downloadLink = document.createElement(\"a\");\n const fileName =\n `${cfdi.tipoDeComprobante} - ${cfdi.receptorRfc} - ${cfdi.fecha}.` +\n type;\n const file = type === \"xml\" ? cfdi.xml : cfdi.pdf;\n downloadLink.href = file;\n downloadLink.download = fileName;\n downloadLink.click();\n }\n }\n decimalFormat(value: number) {\n return NumberUtils.decimalFormat(value);\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n dateDM(value: Date | undefined) {\n return DateUtils.dateDM(value);\n }\n get sortedItems(): CfdiDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisListAndTable.vue?vue&type=template&id=0fad76f6&\"\nimport script from \"./CfdisListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingButton.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"relative overflow-hidden bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200\"},[_c('Hero'),_c('FeaturesV3',{staticClass:\"relative z-10\"}),_c('FeaturesV4'),_c('JoinNow'),_c('Footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"relative\"},[_c('Header'),_c('div',{staticClass:\"hidden sm:block sm:absolute sm:inset-y-0 sm:h-full sm:w-full\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"relative h-full max-w-7xl mx-auto\"},[_c('svg',{staticClass:\"absolute right-full transform translate-y-1/4 translate-x-1/4 lg:translate-x-1/2\",attrs:{\"width\":\"404\",\"height\":\"784\",\"fill\":\"none\",\"viewBox\":\"0 0 404 784\"}},[_c('defs',[_c('pattern',{attrs:{\"id\":\"f210dbf6-a58d-4871-961e-36d5016a0f49\",\"x\":\"0\",\"y\":\"0\",\"width\":\"20\",\"height\":\"20\",\"patternUnits\":\"userSpaceOnUse\"}},[_c('rect',{staticClass:\"text-gray-200 dark:text-gray-800\",attrs:{\"x\":\"0\",\"y\":\"0\",\"width\":\"4\",\"height\":\"4\",\"fill\":\"currentColor\"}})])]),_c('rect',{attrs:{\"width\":\"404\",\"height\":\"784\",\"fill\":\"url(#f210dbf6-a58d-4871-961e-36d5016a0f49)\"}})]),_c('svg',{staticClass:\"absolute left-full transform -translate-y-3/4 -translate-x-1/4 md:-translate-y-1/2 lg:-translate-x-1/2 text-gray-200 dark:text-gray-800\",attrs:{\"width\":\"404\",\"height\":\"784\",\"fill\":\"none\",\"viewBox\":\"0 0 404 784\"}},[_c('defs',[_c('pattern',{attrs:{\"id\":\"5d0dd344-b041-4d26-bec4-8d33ea57ec9b\",\"x\":\"0\",\"y\":\"0\",\"width\":\"20\",\"height\":\"20\",\"patternUnits\":\"userSpaceOnUse\"}},[_c('rect',{attrs:{\"x\":\"0\",\"y\":\"0\",\"width\":\"4\",\"height\":\"4\",\"fill\":\"currentColor\"}})])]),_c('rect',{attrs:{\"width\":\"404\",\"height\":\"784\",\"fill\":\"url(#5d0dd344-b041-4d26-bec4-8d33ea57ec9b)\"}})])])]),_c('div',{staticClass:\"relative z-10 px-6 pt-16 md:pt-24 pb-16 md:pb-24\"},[_c('h1',{staticClass:\"relative z-10 pb-6 text-3xl sm:text-5xl md:text-6xl lg:text-7.5xl font-black tracking-snug text-center leading-11 sm:leading-15 md:leading-18 lg:leading-22 text-gray-800 dark:text-white\"},[_c('span',{staticClass:\"bg-[#000000]\"},[_vm._v(_vm._s(_vm.$t(\"marketing.hero.headline1\")))]),_c('br',{staticClass:\"hidden lg:block\"}),_c('span',{staticClass:\"hidden sm:block text-transparent bg-clip-text bg-gradient-to-br from-theme-300 to-theme-700\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.hero.headline2\"))+\" \"+_vm._s(_vm.$t(\"marketing.hero.headline3\"))+\" \")]),_c('span',{staticClass:\"sm:hidden text-theme-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.hero.headline2\"))+\" \"+_vm._s(_vm.$t(\"marketing.hero.headline3\"))+\" \")])]),_c('p',{staticClass:\"relative z-10 pb-10 text-gray-500 text-lg md:text-2xl text-center leading-normal md:leading-9\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.hero.subheadline1\")))]),_c('br',{staticClass:\"hidden md:block\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.hero.subheadline2\")))]),_c('br',{staticClass:\"hidden md:block\"}),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.hero.subheadline3\"))+\" \"),_c('span',{staticClass:\"font-extrabold text-gray-800 dark:text-gray-50\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.hero.subheadline4\"))+\" \")]),_vm._v(\". \")])]),_c('div',{staticClass:\"mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8\"},[_c('div',{staticClass:\"rounded-md shadow\"},[_c('router-link',{staticClass:\"w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 md:py-4 md:text-lg md:px-10\",attrs:{\"to\":{ name: 'account.register' }}},[_vm._v(_vm._s(_vm.$t(\"marketing.hero.start\")))])],1),_c('div',{staticClass:\"mt-3 rounded-md shadow sm:mt-0 sm:ml-3\"},[_c('router-link',{staticClass:\"w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10\",attrs:{\"to\":{ name: 'contact' }}},[_vm._v(\"Contáctanos\")])],1)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Header from \"@/components/marketing/Header.vue\";\n\n@Component({\n components: {\n Header\n }\n})\nexport default class Hero extends Vue { }\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hero.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hero.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Hero.vue?vue&type=template&id=6f979cbc&scoped=true&\"\nimport script from \"./Hero.vue?vue&type=script&lang=ts&\"\nexport * from \"./Hero.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Hero.vue?vue&type=style&index=0&id=6f979cbc&lan=true&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6f979cbc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"doodles-light\"},[_c('div',{staticClass:\"mx-auto max-w-screen-xl px-6 md:px-10\"},[_c('div',{staticClass:\"pt-6 lg:flex space-y-6 lg:space-y-0 lg:space-x-6 w-full text-center\"},[_c('div',{staticClass:\"p-6 md:p-10 lg:w-1/2 rounded-xl bg-blueGray-100 dark:bg-blueGray-800 transform origin-center hover:scale-105 hover:bg-blueGray-200 dark:hover:bg-blueGray-900 transition duration-150 ease-in-out\"},[_c('div',{staticClass:\"mx-auto flex items-center justify-center w-12 h-12 sm:w-16 sm:h-16 rounded-full text-6xl\"},[_vm._v(\" 😞 \")]),_c('div',{staticClass:\"flex justify-center\"},[_c('div',{staticClass:\"mt-3 bg-red-200 text-red-900 px-4 rounded-full font-medium text-sm sm:text-base leading-6 sm:leading-8\"},[_vm._v(\" Otras plataformas \")])]),_c('h3',{staticClass:\"pt-6 text-gray-500 dark:text-gray-400 text-lg md:text-2xl leading-6\"},[_vm._v(\" Aplicaciones incompletas que se enfocan sólo en cumplir con la NOM-151 y olvidan la colaboración Cliente-Proveedor. \")])]),_c('div',{staticClass:\"p-6 md:p-10 lg:w-1/2 rounded-xl bg-blueGray-100 dark:bg-blueGray-800 transform origin-center hover:scale-105 hover:bg-blueGray-200 dark:hover:bg-blueGray-900 transition duration-150 ease-in-out\"},[_c('div',{staticClass:\"mx-auto flex items-center justify-center w-12 h-12 sm:w-16 sm:h-16 rounded-full text-6xl\"},[_vm._v(\" 😁 \")]),_c('div',{staticClass:\"flex justify-center\"},[_c('div',{staticClass:\"mt-3 bg-teal-200 text-teal-900 px-4 rounded-full font-medium text-sm sm:text-base leading-6 sm:leading-8\"},[_vm._v(\" Usando Délega \")])]),_c('h3',{staticClass:\"pt-6 text-gray-500 dark:text-gray-400 text-lg md:text-2xl leading-6\"},[_vm._v(\" Gestión de cumplimiento completa de contratos desde la validación de proveedor hasta la verificación de colaboradores y CFDIs. \")])])])])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FeaturesV2.vue?vue&type=template&id=a929f9c8&\"\nimport script from \"./FeaturesV2.vue?vue&type=script&lang=js&\"\nexport * from \"./FeaturesV2.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mx-auto max-w-screen-xl px-6 pt-16\"},[_c('div',_vm._l((_vm.features),function(feature,idx){return _c('div',{key:idx},[(idx % 2 === 0)?_c('div',{staticClass:\"mx-auto max-w-screen-xl\"},[_c('div',{staticClass:\"mx-auto md:flex items-center px-6 pt-20\"},[_c('div',{staticClass:\"md:w-1/2 md:pr-24 pb-8\"},[_c('h2',{staticClass:\"pb-4 text-xl md:text-3xl font-bold tracking-snug leading-tight md:leading-14\"},[_vm._v(\" \"+_vm._s(feature.title)+\" \")]),_c('p',{staticClass:\"pb-6 text-gray-600 dark:text-gray-400 text-lg md:text-xl leading-normal md:leading-normal\"},[_vm._v(\" \"+_vm._s(feature.description)+\" \")]),_c('dl',{staticClass:\"mt-10 space-y-10\"},_vm._l((feature.features),function(subfeature,idxSub){return _c('div',{key:idxSub,staticClass:\"flex items-baseline\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('div',{staticClass:\"flex items-center justify-center h-4 w-4 rounded-full bg-theme-600 text-white\"},[_c('svg',{staticClass:\"h-3 w-3\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])])]),_c('div',{staticClass:\"ml-4\"},[(subfeature.title)?_c('dt',{staticClass:\"mb-2 text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(subfeature.title)+\" \")]):_vm._e(),_c('dd',{staticClass:\"text-base text-gray-600 dark:text-gray-400\"},[_vm._v(\" \"+_vm._s(subfeature.description)+\" \")])])])}),0)]),_c('div',{staticClass:\"relative flex md:w-1/2\"},[_c('div',{staticClass:\"absolute inset-0 bg-gradient-to-bl from-blueGray-900 to-theme-500 rounded-lg transform rotate-3 origin-bottom-right\"}),_c('div',{staticClass:\"rounded-lg shadow z-10\"},[_c('div',{staticClass:\"bg-white rounded-lg shadow-lg\"},[_c('div',{staticClass:\"rounded-md overflow-hidden\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(feature.image),expression:\"feature.image\"}],attrs:{\"width\":\"1092\",\"height\":\"878\",\"alt\":feature.title,\"loading\":\"lazy\"}})])])])])])]):_c('div',{staticClass:\"mx-auto max-w-screen-xl\"},[_c('div',{staticClass:\"mx-auto md:flex flex-row-reverse items-center px-6 pt-20 md:pt-36\"},[_c('div',{staticClass:\"md:w-1/2 md:pl-24 pb-8\"},[_c('h2',{staticClass:\"pb-4 text-xl md:text-3xl font-bold tracking-snug leading-tight md:leading-14\"},[_vm._v(\" \"+_vm._s(feature.title)+\" \")]),_c('p',{staticClass:\"pb-6 text-gray-600 dark:text-gray-400 text-lg md:text-xl leading-normal md:leading-normal\"},[_vm._v(\" \"+_vm._s(feature.description)+\" \")]),_c('dl',{staticClass:\"mt-10 space-y-10\"},_vm._l((feature.features),function(subfeature,idxSub){return _c('div',{key:idxSub,staticClass:\"flex items-baseline\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('div',{staticClass:\"flex items-center justify-center h-4 w-4 rounded-full bg-theme-600 text-white\"},[_c('svg',{staticClass:\"h-3 w-3\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])])]),_c('div',{staticClass:\"ml-4\"},[(subfeature.title)?_c('dt',{staticClass:\"mb-2 text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(subfeature.title)+\" \")]):_vm._e(),_c('dd',{staticClass:\"text-base text-gray-600 dark:text-gray-400\"},[_vm._v(\" \"+_vm._s(subfeature.description)+\" \")])])])}),0)]),_c('div',{staticClass:\"relative flex md:w-1/2\"},[_c('div',{staticClass:\"absolute inset-0 bg-gradient-to-tr from-blueGray-900 to-theme-500 rounded-lg transform -rotate-3 origin-bottom-left\"}),_c('div',{staticClass:\"rounded-lg shadow z-10\"},[_c('div',{staticClass:\"bg-white rounded-lg shadow-lg\"},[_c('div',{staticClass:\"rounded-md overflow-hidden\"},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(feature.image),expression:\"feature.image\"}],attrs:{\"width\":\"1334\",\"height\":\"880\",\"alt\":feature.title,\"loading\":\"lazy\"}})])])])])])])])}),0)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV3.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV3.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FeaturesV3.vue?vue&type=template&id=a5d5938a&\"\nimport script from \"./FeaturesV3.vue?vue&type=script&lang=js&\"\nexport * from \"./FeaturesV3.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"doodles-light mt-16 md:mt-24\"},[_c('div',{staticClass:\"mx-auto max-w-screen-xl px-6 md:px-10 py-16 md:py-24\"},[_c('h2',{staticClass:\"pb-4 text-3xl md:text-6xl font-black tracking-snug leading-10 md:leading-18 md:text-center\"},[_vm._v(\" Documentos previstos \")]),_c('p',{staticClass:\"pb-6 text-gray-500 text-lg md:text-2xl md:text-center leading-normal md:leading-normal\"},[_vm._v(\" Sube tu documentación o audita la de tus proveedores para cumplir con la ley. \")]),_c('div',{staticClass:\"pt-6 sm:pt-12 grid sm:grid-cols-2 lg:grid-cols-3 gap-6\"},[_vm._l((_vm.documents),function(document,idx){return _c('div',{key:idx,staticClass:\"p-6 md:p-10 rounded-xl bg-blueGray-100 dark:bg-blueGray-800 transform origin-center hover:scale-105 hover:bg-blueGray-200 dark:hover:bg-blueGray-900 transition duration-150 ease-in-out\"},[_c('div',{staticClass:\"inline-flex items-center px-2.5 py-0.5 rounded-md text-sm font-medium mb-2\",class:document.classes},[_vm._v(\" \"+_vm._s(document.institution)+\" \")]),_c('div',[_c('h3',{staticClass:\"pb-1 md:pb-2 text-gray-600 dark:text-blueGray-400 font-semibold text-lg md:text-2xl leading-6\"},[_vm._v(\" \"+_vm._s(document.title)+\" \")]),_c('p',{staticClass:\"text-gray-400 md:text-lg\"},[_vm._v(\" \"+_vm._s(document.description)+\" \")])])])}),_vm._m(0)],2)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"p-6 md:p-10 rounded-xl bg-theme-100 dark:bg-theme-800 transform origin-center hover:scale-105 hover:bg-theme-200 dark:hover:bg-theme-900 transition duration-150 ease-in-out\"},[_c('div',{staticClass:\"bg-theme-50 text-theme-800 inline-flex items-center px-2.5 py-0.5 rounded-md text-sm font-medium mb-2\"},[_vm._v(\" PRÓXIMAMENTE \")]),_c('div',[_c('h3',{staticClass:\"pb-1 md:pb-2 text-gray-600 dark:text-blueGray-400 font-semibold text-lg md:text-2xl leading-6\"},[_vm._v(\" Los que se agreguen al Artículo 32-D \")]),_c('p',{staticClass:\"text-gray-400 md:text-lg\"})])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV4.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeaturesV4.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FeaturesV4.vue?vue&type=template&id=53a69a0a&\"\nimport script from \"./FeaturesV4.vue?vue&type=script&lang=js&\"\nexport * from \"./FeaturesV4.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"bg-theme-800 dark:bg-blueGray-800 rounded-lg shadow-xl overflow-hidden lg:grid lg:grid-cols-2 lg:gap-4\"},[_c('div',{staticClass:\"pt-10 pb-12 px-6 sm:pt-16 sm:px-16 lg:py-16 lg:pr-0 xl:py-20 xl:px-20\"},[_c('div',{staticClass:\"lg:self-center\"},[_vm._m(0),_c('p',{staticClass:\"mt-4 text-lg leading-6 text-gray-100 dark:text-gray-400\"},[_vm._v(\" Crea una cuenta gratis para que agregues a 1 proveedor o 1 cliente o comienza tu prueba de 30 días para agregar todos los que necesites. \")]),_c('router-link',{staticClass:\"mt-8 bg-white text-theme-600 hover:text-theme-700 dark:bg-theme-600 dark:hover:bg-theme-700 dark:text-white border border-transparent rounded-md shadow px-5 py-3 inline-flex items-center text-base font-medium\",attrs:{\"to\":{ name: 'account.register' }}},[_vm._v(\"Comenzar prueba\")])],1)]),_vm._m(1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h2',{staticClass:\"text-3xl font-extrabold text-white sm:text-4xl\"},[_c('span',{staticClass:\"block\"},[_vm._v(\"Comienza tu prueba de 30 días.\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"-mt-6 aspect-w-5 aspect-h-3 md:aspect-w-2 md:aspect-h-1\"},[_c('img',{staticClass:\"transform translate-x-6 translate-y-6 rounded-md object-cover object-left-top sm:translate-x-16 lg:translate-y-20\",attrs:{\"src\":\"https://yahooder.sirv.com/Delega/Landing/5.%20Mi%20documentacio%CC%81n-cropped.png\",\"alt\":\"App screenshot\"}})])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JoinNow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JoinNow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JoinNow.vue?vue&type=template&id=1a00373a&\"\nimport script from \"./JoinNow.vue?vue&type=script&lang=js&\"\nexport * from \"./JoinNow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Product.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Product.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Product.vue?vue&type=template&id=cc14019a&\"\nimport script from \"./Product.vue?vue&type=script&lang=js&\"\nexport * from \"./Product.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('CfdisListAndTable',{attrs:{\"items\":_vm.sortedItems},on:{\"sync\":function($event){return _vm.$emit('sync')}}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport CfdisListAndTable from \"./CfdisListAndTable.vue\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport { CfdiType } from \"@/application/enums/app/v3/cfdis/CfdiType\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n CfdisListAndTable,\n Loading\n }\n})\nexport default class CfdisList extends Vue {\n @Prop({}) type!: CfdiType;\n loading = false;\n items: CfdiDto[] = [];\n\n searchInput = \"\";\n\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.cfdis\n .getAllCfdis(this.type)\n .then(response => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n get filteredItems(): CfdiDto[] {\n // return this.items;\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.emisorRfc\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.emisorNombre\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.receptorRfc\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.receptorNombre\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.receptorUsoCfdi\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): CfdiDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisList.vue?vue&type=template&id=474cd955&\"\nimport script from \"./CfdisList.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\",\"fill\":\"currentColor\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contract.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contract.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Contract.vue?vue&type=template&id=059d6f4e&\"\nimport script from \"./Contract.vue?vue&type=script&lang=js&\"\nexport * from \"./Contract.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[{ title: _vm.$t('app.contracts.title'), routeName: 'app.contracts' }]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-3 px-8 h-13\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between \"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),_c('portal-target',{staticClass:\"flex items-center space-x-2 h-2\",attrs:{\"name\":\"contracts-buttons\"}})],1)]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8\"},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n\n@Component({\n components: {\n Breadcrumb,\n Tabs\n }\n})\nexport default class Contracts extends Vue {\n tabs: TabItem[] = [];\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.contracts.details.title\"),\n routeName: \"app.contracts.view\"\n // current: false\n },\n {\n name: this.$t(\"app.contracts.employees.title\"),\n routeName: \"app.contracts.employees\"\n // current: false\n },\n // {\n // name: this.$t(\"app.contracts.visits.title\"),\n // routeName: \"app.contracts.visits\",\n // current: false\n // },\n {\n name: this.$t(\"app.contracts.cfdis.title\"),\n routeName: \"app.contracts.cfdis\"\n // current: false\n }\n ];\n // this.tabs.forEach(tab => {\n // tab.current = tab.routeName === this.$route.name;\n // });\n // this.changeContractsStatus();\n }\n reload() {\n tinyEventBus().emitter.emit(\"contracts-reload\");\n }\n // @Watch(\"$route.path\")\n // changeContractsStatus() {\n // const tab = this.tabs.find(f => f.routeName === this.$route.name);\n // if (tab) {\n // switch (tab.routeName) {\n // case \"app.contracts.pending\":\n // this.currentStatus = ContractStatus.PENDING;\n // break;\n // case \"app.contracts.signed\":\n // this.currentStatus = ContractStatus.SIGNED;\n // break;\n // case \"app.contracts.archived\":\n // this.currentStatus = ContractStatus.ARCHIVED;\n // break;\n // case \"app.contracts.all\":\n // this.currentStatus = null;\n // break;\n // }\n // }\n // }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contract.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contract.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Contract.vue?vue&type=template&id=5414e80a&\"\nimport script from \"./Contract.vue?vue&type=script&lang=ts&\"\nexport * from \"./Contract.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum TenantUserRole {\n OWNER,\n ADMIN,\n MEMBER,\n GUEST,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-gray-600 overflow-hidden drop text-center flex border border-dashed border-gray-300 bg-white rounded-sm items-center\",class:_vm.getClasses,on:{\"dragover\":function($event){$event.preventDefault();return _vm.dragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.dragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.drop($event)}}},[(_vm.loading)?_c('div',{staticClass:\"mx-auto font-medium text-base\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.loading\"))+\"... \")]):_c('div',[(_vm.getImageSources.length === 0)?_c('h1',{staticClass:\"mx-auto font-bold text-lg text-theme-500\"},[_vm._t(\"title\")],2):_c('span',[_vm._t(\"hasImages\")],2),_c('div',{staticClass:\"grid gap-4 w-full\",class:_vm.getGridCols},_vm._l((_vm.getImageSources),function(img,index){return _c('div',{key:index,staticClass:\"col-span-3 md:col-span-1\"},[_c('div',[_c('img',{staticClass:\"h-48 w-full object-cover\",attrs:{\"src\":img,\"alt\":\"\"}})])])}),0),(_vm.getImageSources.length === 0)?_c('div',{staticClass:\"manual\"},[_c('div',{staticClass:\"flex items-center space-x-2 justify-center\"},[_c('svg',{staticClass:\"h-12\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}},[_c('path',{attrs:{\"d\":\"M128 0c-17.6 0-32 14.4-32 32v448c0 17.6 14.4 32 32 32h320c17.6 0 32-14.4 32-32V128L352 0H128z\",\"fill\":\"#e2e5e7\"}}),_c('path',{attrs:{\"d\":\"M384 128h96L352 0v96c0 17.6 14.4 32 32 32z\",\"fill\":\"#b0b7bd\"}}),_c('path',{attrs:{\"fill\":\"#cad1d8\",\"d\":\"M480 224l-96-96h96z\"}}),_c('path',{attrs:{\"d\":\"M416 416c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V256c0-8.8 7.2-16 16-16h352c8.8 0 16 7.2 16 16v160z\",\"fill\":\"#50bee8\"}}),_c('g',{attrs:{\"fill\":\"#fff\"}},[_c('path',{attrs:{\"d\":\"M131.28 326.176l22.272-27.888c6.64-8.688 19.568 2.432 12.288 10.752-7.664 9.088-15.728 18.944-23.424 29.024l26.112 32.496c7.024 9.6-7.04 18.816-13.952 9.344l-23.536-30.192-23.152 30.832c-6.528 9.328-20.992-1.152-13.68-9.856l25.712-32.624c-8.064-10.096-15.872-19.936-23.664-29.024-8.064-9.6 6.912-19.44 12.784-10.48l22.24 27.616zM201.264 327.84v47.328c0 5.648-4.608 8.832-9.2 8.832-4.096 0-7.68-3.184-7.68-8.832v-72.016c0-6.656 5.648-8.848 7.68-8.848 3.696 0 5.872 2.192 8.048 4.624l28.16 37.984 29.152-39.408c4.24-5.232 14.592-3.2 14.592 5.648v72.016c0 5.648-3.584 8.832-7.664 8.832-4.608 0-8.192-3.184-8.192-8.832V327.84l-21.248 26.864c-4.592 5.648-10.352 5.648-14.576 0l-19.072-26.864zM294.288 303.152c0-4.224 3.584-7.808 8.064-7.808 4.096 0 7.552 3.6 7.552 7.808v64.096h34.8c12.528 0 12.8 16.752 0 16.752h-42.336c-4.48 0-8.064-3.184-8.064-7.808v-73.04h-.016z\"}})]),_c('path',{attrs:{\"d\":\"M400 432H96v16h304c8.8 0 16-7.2 16-16v-16c0 8.8-7.2 16-16 16z\",\"fill\":\"#cad1d8\"}})]),_c('svg',{staticClass:\"h-12\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}},[_c('path',{attrs:{\"d\":\"M128 0c-17.6 0-32 14.4-32 32v448c0 17.6 14.4 32 32 32h320c17.6 0 32-14.4 32-32V128L352 0H128z\",\"fill\":\"#e2e5e7\"}}),_c('path',{attrs:{\"d\":\"M384 128h96L352 0v96c0 17.6 14.4 32 32 32z\",\"fill\":\"#b0b7bd\"}}),_c('path',{attrs:{\"fill\":\"#cad1d8\",\"d\":\"M480 224l-96-96h96z\"}}),_c('path',{attrs:{\"d\":\"M416 416c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V256c0-8.8 7.2-16 16-16h352c8.8 0 16 7.2 16 16v160z\",\"fill\":\"#f15642\"}}),_c('g',{attrs:{\"fill\":\"#fff\"}},[_c('path',{attrs:{\"d\":\"M101.744 303.152c0-4.224 3.328-8.832 8.688-8.832h29.552c16.64 0 31.616 11.136 31.616 32.48 0 20.224-14.976 31.488-31.616 31.488h-21.36v16.896c0 5.632-3.584 8.816-8.192 8.816-4.224 0-8.688-3.184-8.688-8.816v-72.032zm16.88 7.28v31.872h21.36c8.576 0 15.36-7.568 15.36-15.504 0-8.944-6.784-16.368-15.36-16.368h-21.36zM196.656 384c-4.224 0-8.832-2.304-8.832-7.92v-72.672c0-4.592 4.608-7.936 8.832-7.936h29.296c58.464 0 57.184 88.528 1.152 88.528h-30.448zm8.064-72.912V368.4h21.232c34.544 0 36.08-57.312 0-57.312H204.72zM303.872 312.112v20.336h32.624c4.608 0 9.216 4.608 9.216 9.072 0 4.224-4.608 7.68-9.216 7.68h-32.624v26.864c0 4.48-3.184 7.92-7.664 7.92-5.632 0-9.072-3.44-9.072-7.92v-72.672c0-4.592 3.456-7.936 9.072-7.936h44.912c5.632 0 8.96 3.344 8.96 7.936 0 4.096-3.328 8.704-8.96 8.704h-37.248v.016z\"}})]),_c('path',{attrs:{\"d\":\"M400 432H96v16h304c8.8 0 16-7.2 16-16v-16c0 8.8-7.2 16-16 16z\",\"fill\":\"#cad1d8\"}})])]),_c('p',{staticClass:\"font-medium text-base\"},[_vm._v(_vm._s(_vm.title))]),_c('label',{attrs:{\"for\":\"uploadmyfile\"}},[_c('p',{staticClass:\"font-semibold text-sm underline cursor-pointer hover:text-rose-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.shared.buttons.orClickHereToAdd\"))+\"... \")])]),_c('p',{staticClass:\"text-xs font-normal mt-2\"},[_vm._v(\" Asegúrate que el XML y PDF tengan el mismo nombre (CFDi-1.pdf y CFDi-1.xml) \")]),_c('input',{attrs:{\"type\":\"file\",\"id\":\"uploadmyfile\",\"accept\":_vm.accept,\"capture\":\"camera\",\"multiple\":\"\"},on:{\"change\":_vm.requestUploadFile}})]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport imageCompression from \"browser-image-compression\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\n\n@Component({})\nexport default class DropCfdis extends Vue {\n @Prop({ default: false, type: Boolean })\n loadImages!: boolean;\n @Prop({ default: \"Arrastra los XMLs y PDFs aquí\", type: String })\n title!: boolean;\n @Prop({ default: \".xml,.pdf\", type: String })\n accept!: boolean;\n\n isDragging = false;\n imageSources: string[] = [];\n loading = false;\n\n dragOver() {\n if (!this.loading) {\n this.isDragging = true;\n }\n }\n dragLeave() {\n this.isDragging = false;\n }\n async compressFile(imageFile: File): Promise {\n // console.log(\"originalFile instanceof Blob\", imageFile instanceof Blob); // true\n // console.log(`originalFile size ${imageFile.size / 1024 / 1024} MB`);\n const options = {\n maxSizeMB: 0.5,\n maxWidthOrHeight: 1920 / 2,\n useWebWorker: true\n };\n try {\n const file = await imageCompression(imageFile, options);\n // console.log(\"compressedFile instanceof Blob\", file instanceof Blob); // true\n // console.log(`compressedFile size ${file.size / 1024 / 1024} MB`); // smaller than maxSizeMB\n return Promise.resolve(file);\n } catch (error) {\n return Promise.reject(error);\n }\n }\n async compressFileNotImage(imageFile: File): Promise {\n return Promise.resolve(imageFile);\n }\n async drop(e) {\n // if (this.loading) {\n // return false;\n // }\n // this.loading = true;\n let files: any[] = [...e.dataTransfer.files];\n const newImagesPromises: any[] = [];\n await files.forEach((element: File) => {\n // console.log(\"type: \" + element.type);\n // console.log(\"name: \" + element.name);\n if (element.type.includes(\"image\")) {\n newImagesPromises.push(this.compressFile(element));\n } else {\n newImagesPromises.push(this.compressFileNotImage(element));\n }\n });\n files = await Promise.all(newImagesPromises);\n const filesArray: FileBase64[] = [];\n const promises: any[] = [];\n\n files.forEach(file => {\n const promise = this.getBase64(file);\n promises.push(promise);\n promise.then(response => {\n filesArray.push({\n file,\n base64: response\n });\n this.$emit(\"dropped\", response);\n });\n });\n // const all = await Promise.all(promises);\n if (this.loadImages) {\n this.imageSources = this.imageSources.concat(\n filesArray.map(f => f.base64)\n );\n }\n // console.log(\"droppedFiles: \" + filesArray);\n this.$emit(\"droppedFiles\", filesArray);\n // console.log(\"imageSources: \" + JSON.stringify(this.imageSources));\n this.isDragging = false;\n // this.loading = false;\n }\n remove(img) {\n this.imageSources = this.imageSources.filter(f => f !== img);\n }\n requestUploadFile() {\n const src = this.$el.querySelector(\"#uploadmyfile\");\n this.drop({ dataTransfer: src });\n }\n getBase64(file) {\n const reader = new FileReader();\n return new Promise(resolve => {\n reader.onload = ev => {\n resolve(ev?.target?.result);\n };\n reader.readAsDataURL(file);\n });\n }\n get getImageSources(): string[] {\n return this.imageSources.filter(f => f && f !== \"\");\n }\n get getClasses() {\n return this.isDragging && !this.loading\n ? \"bg-theme-200 border-2 border-dashed border-theme-800\"\n : \"\";\n }\n get getGridCols() {\n if (this.imageSources.length > 0 && this.imageSources.length <= 12) {\n return \"grid-cols-\" + this.imageSources.length;\n } else if (this.imageSources.length > 12) {\n return \"grid-cols-12\";\n }\n return \"grid-cols-1\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropCfdis.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropCfdis.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropCfdis.vue?vue&type=template&id=0e20033e&scoped=true&\"\nimport script from \"./DropCfdis.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropCfdis.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DropCfdis.vue?vue&type=style&index=0&id=0e20033e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e20033e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=b3e53b7a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n {\n title: _vm.$t('models.employee.plural'),\n routeName: 'app.employees'\n },\n {\n title: _vm.$t('shared.new'),\n routeName: ''\n }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h2',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.new.multiple\"))+\" \")]),(false)?_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex items-center space-x-2 px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.save}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})]),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])]):_vm._e()])]),_c('div',{staticClass:\" max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 pt-4 pb-6\"},[_c('new-employees',{ref:\"newEmployees\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('form',{key:_vm.id,on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"bg-white py-6 px-8 shadow-lg border border-gray-200\"},[_c('div',{staticClass:\"flex items-center space-x-3 justify-between\"},[_c('div',[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.plural\"))+\" \")])])]),_c('div',{staticClass:\"mt-6\"},[(!_vm.employeesFile && _vm.importingEmployees && _vm.showImportEmployees)?_c('div',[_c('div',{staticClass:\"flex items-center justify-between space-x-3\"},[_c('label',{staticClass:\"block text-sm font-normal text-gray-700 truncate\",attrs:{\"for\":\"file\"}},[_vm._v(\" Sube un archivo CSV con columnas: \"),_c('span',{staticClass:\"font-bold italic truncate\"},[_vm._v(\"Nombre, Apellido paterno, Apellido materno, RFC, NSS y CURP\")])]),_c('button',{staticClass:\" inline-flex items-center space-x-1 text-theme-500 hover:text-theme-700 underline text-sm truncate\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadEmployeesFileTemplate}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"}})]),_c('div',[_vm._v(\" Plantilla \")])])]),_c('div',{staticClass:\"mt-1\"},[_c('drop-document',{attrs:{\"accept\":\".csv\",\"description\":\"Solo documentos tipo .CSV\"},on:{\"droppedFiles\":_vm.droppedEmployeesFile},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('svg',{staticClass:\"mx-auto h-10 w-10 text-gray-400\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M32.25,16.125v37.625h10.75v-26.875h86v26.875h10.75v-37.625zM51.0625,64.5c-7.43261,0 -13.4375,6.00489 -13.4375,13.4375v16.125c0,7.43262 6.00489,13.4375 13.4375,13.4375c7.43262,0 13.4375,-6.00488 13.4375,-13.4375v-2.6875h-10.75v2.6875c0,1.15479 -1.53271,2.6875 -2.6875,2.6875c-1.15479,0 -2.6875,-1.53271 -2.6875,-2.6875v-16.125c0,-1.15479 1.53271,-2.6875 2.6875,-2.6875c1.15479,0 2.6875,1.53271 2.6875,2.6875v2.6875h10.75v-2.6875c0,-7.43261 -6.00488,-13.4375 -13.4375,-13.4375zM83.3125,64.5c-7.43261,0 -13.4375,6.00489 -13.4375,13.4375c0,7.43262 6.00489,13.4375 13.4375,13.4375c1.15479,0 2.6875,1.53271 2.6875,2.6875c0,1.6167 -0.62988,2.6875 -2.6875,2.6875c-1.97363,0 -2.28857,-0.41992 -2.35156,-0.50391c-0.06299,-0.08398 -0.33594,-0.41992 -0.33594,-1.67969h-10.75c0,3.04443 0.88184,6.4668 3.35938,9.07031c2.47754,2.60352 6.15185,3.86328 10.07813,3.86328c7.62158,0 13.4375,-6.4458 13.4375,-13.4375c0,-7.43261 -6.00488,-13.4375 -13.4375,-13.4375c-1.15479,0 -2.6875,-1.53271 -2.6875,-2.6875c0,-1.15479 1.53271,-2.6875 2.6875,-2.6875c1.42773,0 1.86865,0.33594 2.18359,0.67188c0.31494,0.33594 0.50391,0.90283 0.50391,1.51172h10.75c0,-3.17041 -1.15479,-6.40381 -3.52734,-8.90234c-2.37256,-2.49854 -5.96289,-4.03125 -9.91016,-4.03125zM102.125,64.5v6.21484l0.33594,0.83984l10.75,32.25l5.03906,15.28516l5.03906,-15.28516l10.75,-32.25l0.33594,-0.83984v-6.21484h-10.75v4.70313l-5.375,16.125l-5.375,-16.125v-4.70312zM32.25,118.25v37.625h107.5v-37.625h-10.75v26.875h-86v-26.875z\"}})])])])]},proxy:true}],null,false,3833443080)})],1)]):_vm._e(),_c('div',{},[_vm._l((_vm.employees),function(employee,idxEmployee){return _c('div',{key:idxEmployee,staticClass:\"relative mt-1 grid gap-1 grid-cols-12 py-2\"},[_c('button',{staticClass:\" text-gray-700 hover:bg-gray-50 absolute origin-top-right right-0 mr-0 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",class:{\n 'top-0': idxEmployee === 0,\n '-top-3': idxEmployee > 0\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeEmployee(idxEmployee)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"first-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.firstName\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.firstName),expression:\"employee.firstName\"}],ref:'employee-first-name-' + idxEmployee,refInFor:true,staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"autocomplete\":\"none\",\"type\":\"text\",\"name\":\"employee-first-name-\",\"id\":\"employee-first-name-\",\"placeholder\":_vm.$t('models.employee.firstName') + ' ' + (idxEmployee + 1),\"required\":\"\"},domProps:{\"value\":(employee.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"firstName\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"last-name-1\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.lastName1\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.lastName1),expression:\"employee.lastName1\"}],ref:'employee-last-name-1-' + idxEmployee,refInFor:true,staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"autocomplete\":\"none\",\"type\":\"text\",\"name\":\"employee-last-name-1-\",\"id\":\"employee-last-name-1-\",\"placeholder\":_vm.$t('models.employee.lastName1') + ' ' + (idxEmployee + 1),\"required\":\"\"},domProps:{\"value\":(employee.lastName1)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"lastName1\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"employee-last-name-2-\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.lastName2\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.lastName2),expression:\"employee.lastName2\"}],ref:'employee-last-name-2-' + idxEmployee,refInFor:true,staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"autocomplete\":\"none\",\"type\":\"text\",\"name\":\"employee-last-name-2-\",\"id\":'employee-last-name-2-' + idxEmployee,\"placeholder\":_vm.$t('models.employee.lastName2') + ' ' + (idxEmployee + 1),\"required\":\"\"},domProps:{\"value\":(employee.lastName2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"lastName2\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"tax-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.taxId\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.taxId),expression:\"employee.taxId\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-tax-id\",\"id\":\"employee-tax-id\",\"placeholder\":_vm.$t('models.employee.taxId') + ' ' + (idxEmployee + 1),\"autocomplete\":\"none\",\"minlength\":\"13\",\"maxlength\":\"13\",\"required\":\"\"},domProps:{\"value\":(employee.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"taxId\", $event.target.value)},function($event){employee.taxId = $event.target.value.toUpperCase()}]}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"social-security-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.socialSecurityId\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.socialSecurityId),expression:\"employee.socialSecurityId\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-social-security-id\",\"id\":\"employee-social-security-id\",\"placeholder\":_vm.$t('models.employee.socialSecurityId') +\n ' ' +\n (idxEmployee + 1),\"autocomplete\":\"none\",\"minlength\":\"11\",\"maxlength\":\"11\",\"required\":\"\"},domProps:{\"value\":(employee.socialSecurityId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"socialSecurityId\", $event.target.value)},function($event){employee.socialSecurityId = $event.target.value\n .toUpperCase()\n .replace(/[^0-9.]/g, '')\n .replace(/(\\..*)\\./g, '$1')}]}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[(idxEmployee === 0)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"pupulation-registry-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.populationRegistryId\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.populationRegistryId),expression:\"employee.populationRegistryId\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-population-registry-id\",\"id\":\"employee-population-registry-id\",\"minlength\":\"18\",\"maxlength\":\"18\",\"placeholder\":_vm.$t('models.employee.populationRegistryId') +\n ' ' +\n (idxEmployee + 1),\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(employee.populationRegistryId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"populationRegistryId\", $event.target.value)},function($event){employee.populationRegistryId = $event.target.value.toUpperCase()}]}})])])])}),_c('div',{staticClass:\"flex items-center space-x-3\"},[_c('button',{staticClass:\"mt-6 flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addEmployee}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.actions.add\"))+\" \")])]),_c('button',{staticClass:\"mt-6 flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.importingEmployees = !_vm.importingEmployees}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.actions.import\"))+\" \")])])])],2)])]),_c('div',{staticClass:\"my-4 flex items-center justify-end space-x-2\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex items-center space-x-2 px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})]),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])]),_c('ConfirmModal',{ref:\"confirmCreate\",on:{\"yes\":_vm.confirmSave}}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.goToProfile}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport CfdisListAndTable from \"@/components/app/v3/cfdis/list/CfdisListAndTable.vue\";\nimport VisitsListAndTable from \"@/components/app/v3/employees/visits/VisitsListAndTable.vue\";\nimport DropCfdis from \"@/components/app/uploads/DropCfdis.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { ContractEmployeeVisitDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeVisitDto\";\nimport { Prop } from \"vue-property-decorator\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Agregar colaboradores\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n CfdisListAndTable,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n DropCfdis,\n VisitsListAndTable,\n Loading\n }\n})\nexport default class NewEmployees extends Vue {\n @Prop({}) id!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n dropCfdis: DropCfdis;\n };\n\n employees: EmployeeDto[] = [];\n employeesFile = \"\";\n\n showImportEmployees = true;\n importingEmployees = false;\n\n error = \"\";\n loading = false;\n employeesVisiting: ContractEmployeeVisitDto[] = [];\n\n searchInput = \"\";\n\n created() {\n this.addEmployee();\n }\n removeEmployee(index) {\n this.employees = this.employees.filter((x, i) => i !== index);\n if (this.employees.length === 0) {\n this.employeesFile = \"\";\n }\n }\n save() {\n const confirmText =\n this.employees.length === 1\n ? \"¿Guardar colabodador?\"\n : `¿Guardar ${this.employees.length} colabodadores?`;\n this.$refs.confirmCreate.show(\n confirmText,\n \"Confirmar\",\n \"Atrás\",\n \"En los contratos podrás seleccionar qué colaboradores trabajarán en el proyecto.\"\n );\n }\n cancel() {\n this.$router.push({ name: \"app.employees\" });\n }\n confirmSave() {\n this.loading = true;\n if (this.employees.length > 0) {\n services.employees\n .createMultiple({\n employees: this.employees\n })\n .then(response => {\n if (response.length === 1) {\n this.$refs.successModal.show(\"Agregado\", \"Colaborador agregado\");\n } else if (response.length > 1) {\n this.$refs.successModal.show(\n \"Agregados\",\n response.length + \" colaboradores agregados\"\n );\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n goToProfile() {\n this.$router.push({\n name: \"app.employees\"\n });\n }\n addEmployee() {\n this.employees.push({\n id: undefined,\n firstName: \"\",\n lastName1: \"\",\n lastName2: \"\",\n taxId: \"\",\n socialSecurityId: \"\",\n populationRegistryId: \"\",\n email: \"\",\n cfdis: []\n });\n if (this.employees.length > 1) {\n this.$nextTick(() => {\n this.$refs[\n \"employee-full-name-\" + (this.employees.length - 1)\n ][0].focus();\n });\n }\n }\n downloadEmployeesFileTemplate() {\n const rows = [\n [\n \"NOMBRE\",\n \"APELLIDO PATERNO\",\n \"APELLIDO MATERNO\",\n \"RFC\",\n \"NSS\",\n \"CURP\",\n \"CORREO\"\n ]\n ];\n\n const csvContent =\n \"data:text/csv;charset=utf-8,\" + rows.map(e => e.join(\",\")).join(\"\\n\");\n const encodedUri = encodeURI(csvContent);\n const link = document.createElement(\"a\");\n link.setAttribute(\"href\", encodedUri);\n link.setAttribute(\"download\", \"plantilla.csv\");\n document.body.appendChild(link);\n\n link.click();\n }\n droppedEmployeesFile(filesBase64: FileBase64[], files: File[]) {\n if (files.length > 0) {\n this.employeesFile = filesBase64[0].base64;\n const employeesFile = files[0];\n const reader = new FileReader();\n reader.onload = (e: any) => {\n const employees = this.csvToArray(e.target.result);\n employees.forEach(employeeObject => {\n const employee: string[] = Object.values(employeeObject);\n // console.log(typeof employee);\n // console.log(\"employee.length\", employee.length);\n const firstName =\n employee.length > 0 ? employee[0].toString().replace(\"\\r\", \"\") : \"\";\n if (firstName === \"NOMBRE\") {\n return;\n }\n const lastName1 =\n employee.length > 1 ? employee[1].toString().replace(\"\\r\", \"\") : \"\";\n const lastName2 =\n employee.length > 2 ? employee[2].toString().replace(\"\\r\", \"\") : \"\";\n const taxId =\n employee.length > 3 ? employee[3].toString().replace(\"\\r\", \"\") : \"\";\n const socialSecurityId =\n employee.length > 4 ? employee[4].toString().replace(\"\\r\", \"\") : \"\";\n const populationRegistryId =\n employee.length > 5 ? employee[5].toString().replace(\"\\r\", \"\") : \"\";\n const email =\n employee.length > 6 ? employee[6].toString().replace(\"\\r\", \"\") : \"\";\n this.employees.push({\n id: undefined,\n firstName,\n lastName1,\n lastName2,\n taxId,\n socialSecurityId,\n populationRegistryId,\n email,\n cfdis: []\n });\n });\n this.employees = this.employees.filter(f => f.firstName && f.lastName1);\n this.clearEmptyEmployees();\n };\n reader.readAsText(employeesFile);\n }\n }\n clearEmptyEmployees() {\n this.employees.forEach((employee, index) => {\n if (!employee.firstName || employee.firstName.trim() === \"\") {\n this.employees = this.employees.filter((x, i) => i !== index);\n }\n });\n }\n csvToArray(str, delimiter = \",\") {\n const headers: string[] = str.slice(0, str.indexOf(\"\\n\")).split(delimiter);\n\n let rows = str.slice(str.indexOf(\"\\n\") + 1).split(\"\\n\");\n if (headers[0].trim().toUpperCase() !== \"NOMBRE\") {\n rows = str.split(\"\\n\");\n }\n const arr = rows.map(row => {\n const values = row.split(delimiter);\n const el = headers.reduce((object, header, index) => {\n object[index] = values[index];\n return object;\n }, {});\n return el;\n });\n return arr;\n }\n get filteredItems(): ContractEmployeeVisitDto[] {\n if (!this.employeesVisiting) {\n return [];\n }\n const items = this.employeesVisiting.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.lastName1\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.lastName2\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.socialSecurityId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.populationRegistryId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): ContractEmployeeVisitDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmployees.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmployees.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewEmployees.vue?vue&type=template&id=2a29ecb4&\"\nimport script from \"./NewEmployees.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewEmployees.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport NewEmployees from \"@/components/app/v3/employees/profile/NewEmployees.vue\";\n\n@Component({\n components: {\n Breadcrumb,\n NewEmployees\n }\n})\nexport default class NewEmployee extends Vue {\n $refs!: {\n newEmployees: NewEmployees;\n };\n error = \"\";\n loading = false;\n save() {\n this.$refs.newEmployees.save();\n }\n cancel() {\n this.$router.push({ name: \"app.employees\" });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmployee.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmployee.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewEmployee.vue?vue&type=template&id=697f6327&\"\nimport script from \"./NewEmployee.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewEmployee.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item)?_c('portal',{attrs:{\"to\":\"contracts-buttons\"}},[(false)?_c('button',{staticClass:\"inline-flex truncate items-center px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newList}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.actions.newEmployeeList\"))+\" \")]):_vm._e()]):_vm._e(),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',{staticClass:\"mx-auto p-5 items-center justify-between flex text-red-700\"},[_vm._v(_vm._s(_vm.error))]):(_vm.item)?_c('div',{key:_vm.id,attrs:{\"method\":\"POST\"}},[_c('div',{staticClass:\"bg-gray-50 min-h-screen\"},[_c('div',{staticClass:\"py-2\"},[_c('div',{staticClass:\"grid gap-4 lg:grid-cols-3 max-w-5xl xl:max-w-7xl mx-auto\"},[_c('div',[_c('div',{staticClass:\"bg-white rounded border border-gray-100 shadow-md overflow-hidden\"},[_c('div',{staticClass:\"px-4 py-3 flex items-center justify-between border-b border-gray-200 text-base\"},[_c('div',{staticClass:\"font-bold text-sm\"},[_vm._v(\"Listas de Colaboradores\")])]),_c('div',{staticClass:\"flow-root\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},[_vm._l((_vm.sortedItems),function(list,idxList){return _c('li',{key:idxList},[_c('button',{staticClass:\"w-full flex items-center space-x-4 px-3 py-3 focus:z-10 focus:outline-none focus:bg-gray-50\",class:{\n 'hover:bg-gray-100': _vm.currentList !== list,\n 'bg-gray-50 hover:bg-gray-100': _vm.currentList === list\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showList(list)}}},[_c('div',{staticClass:\"text-left\"},[_c('div',{staticClass:\"text-sm font-medium text-gray-900 truncate flex items-center space-x-1\"},[_vm._v(\"Lista \"+_vm._s(list.number))]),_c('div',{staticClass:\"text-xs text-gray-500\"},[_vm._v(_vm._s(_vm.dateYMDHMS(list.createdAt)))])]),_c('div',{staticClass:\"truncate\"})])])}),(_vm.isProvider)?_c('div',{staticClass:\"flex items-center space-x-4 px-3 py-3\"},[_c('button',{staticClass:\"flex items-center space-x-1 text-xs font-medium uppercase hover:text-gray-700 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newList}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.actions.newEmployeeList\")))])])]):_vm._e()],2)])])]),_c('div',{staticClass:\"lg:col-span-2 space-y-4 overflow-x-auto\"},[_c('div',[_c('div',{staticClass:\"bg-white rounded border border-gray-100 shadow-md overflow-hidden\"},[(_vm.currentList)?_c('div',{staticClass:\"px-4 py-3 flex items-center justify-between border-b border-gray-200 text-base\"},[_c('div',{staticClass:\"font-bold text-sm\"},[(_vm.addingNewList)?_c('span',[_vm._v(\"Nueva Lista\")]):_c('div',{staticClass:\"flex items-center justify-between\"},[_c('div',[_vm._v(\"Lista \"+_vm._s(_vm.currentList.number))])])]),_c('div',{staticClass:\"text-gray-500 text-sm\"},[(_vm.addingNewList)?_c('span'):_c('span',[_vm._v(_vm._s(_vm.dateYMDHMS(_vm.currentList.createdAt)))])])]):_vm._e(),(_vm.currentList)?_c('div',{staticClass:\"px-4\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.saveList($event)}}},[(_vm.addingNewList)?_c('div',_vm._l((_vm.employees),function(employee,idxEmployee){return _c('div',{key:idxEmployee,staticClass:\"relative mt-1 grid gap-1 grid-cols-12\",class:{ 'py-2': _vm.addingNewList }},[(_vm.addingNewList)?_c('button',{staticClass:\"text-gray-700 hover:bg-gray-50 absolute origin-top-right right-0 top-0 mr-0 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeEmployee(idxEmployee)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e(),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[(_vm.addingNewList)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate mb-1\",attrs:{\"for\":\"full-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.object\"))+\" \"+_vm._s(idxEmployee + 1)+\" \")]):_vm._e(),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.firstName),expression:\"employee.firstName\"}],ref:'employee-first-name-' + idxEmployee,refInFor:true,staticClass:\"bg-gray-100 cursor-not-allowed shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.addingNewList },attrs:{\"type\":\"text\",\"name\":\"employee-first-name-\",\"id\":\"employee-first-name-\",\"placeholder\":_vm.$t('models.employee.object') +\n ' ' +\n (idxEmployee + 1),\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"firstName\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[(_vm.withLabels && _vm.addingNewList)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate mb-1\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.taxId\")))]):_vm._e(),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.taxId),expression:\"employee.taxId\"}],staticClass:\"bg-gray-100 cursor-not-allowed focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.addingNewList },attrs:{\"type\":\"text\",\"name\":\"employee-tax-id\",\"id\":\"employee-tax-id\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.taxId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"taxId\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[(_vm.withLabels && _vm.addingNewList)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate mb-1\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.socialSecurityId\")))]):_vm._e(),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.socialSecurityId),expression:\"employee.socialSecurityId\"}],staticClass:\"bg-gray-100 cursor-not-allowed shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.addingNewList },attrs:{\"type\":\"text\",\"name\":\"employee-social-security-id\",\"id\":\"employee-social-security-id\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.socialSecurityId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"socialSecurityId\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[(_vm.withLabels && _vm.addingNewList)?_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate mb-1\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.populationRegistryId\")))]):_vm._e(),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.populationRegistryId),expression:\"employee.populationRegistryId\"}],staticClass:\"bg-gray-100 cursor-not-allowed shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.addingNewList },attrs:{\"type\":\"text\",\"name\":\"employee-population-registry-id\",\"id\":\"employee-population-registry-id\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.populationRegistryId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"populationRegistryId\", $event.target.value)}}})])])])}),0):(_vm.currentList.employees.length === 0)?_c('div',[_c('div',{staticClass:\"px-2 py-4\"},[_vm._v(\"No se definieron colaboradores\")])]):_c('employees-list-and-table',{staticClass:\"-mx-4 -my-3 pt-1\",attrs:{\"items\":_vm.currentList.employees.map(function (f) { return f.employee; }),\"canEdit\":false}}),_c('div',{staticClass:\"flex items-center space-x-3\"},[(_vm.addingNewList)?_c('button',{staticClass:\"mt-6 flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addEmployee}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium truncate\"},[_vm._v(_vm._s(_vm.$t(\"app.employees.actions.selectEmployees\")))])]):_vm._e()]),(\n (_vm.currentList && _vm.currentList.hasFile) || _vm.addingNewList\n )?_c('div',{staticClass:\"mt-5 space-y-1 pb-4\"},[_c('h3',{staticClass:\"text-sm font-medium\"},[_vm._v(_vm._s(_vm.$t(\"app.employees.addendum.title\")))]),(_vm.loadingPdf)?_c('div',{staticClass:\"flex flex-wrap -m-2 mb-10\"},[_c('div',{staticClass:\"h-auto w-full flex justify-center py-16\"},[_c('div',{staticClass:\"loader ease-linear rounded-full border-8 border-t-8 border-blueGray-200 h-20 w-20\"})])]):_c('div',[(_vm.addendumFile)?_c('div',{staticClass:\"text-gray-600 overflow-hidden border border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\"p-4 flex justify-between items-center\"},[_c('div',{staticClass:\"origin-top-left left-0 top-0 mt-1 ml-1 flex items-center space-x-2\"},[_c('span',{staticClass:\"relative z-0 inline-flex shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === 1,\n 'hover:bg-gray-50': _vm.currentPage !== 1\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === 1},on:{\"click\":function($event){return _vm.nextPage(-1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.previous\"))+\" \")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]),_c('span',{staticClass:\"-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 select-none\"},[_vm._v(_vm._s(_vm.currentPage)+\" / \"+_vm._s(_vm.pageCount))]),_c('button',{staticClass:\"-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === _vm.pageCount,\n 'hover:bg-gray-50':\n _vm.currentPage !== _vm.pageCount\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === _vm.pageCount},on:{\"click\":function($event){return _vm.nextPage(1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.next\"))+\" \")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])]),_c('button',{staticClass:\"origin-top-right right-0 top-0 mt-1 mr-0 text-gray-600 hover:bg-gray-50 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.removeFile}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\"}})])])]),_c('div',{staticClass:\"py-4 mx-auto text-center flex items-center justify-center\"},[_c('pdf',{attrs:{\"src\":_vm.addendumFile,\"page\":_vm.currentPage},on:{\"num-pages\":function($event){_vm.pageCount = $event},\"page-loaded\":function($event){_vm.currentPage = $event}}})],1)]):_c('drop-document',{attrs:{\"accept\":\".pdf\",\"description\":\"Solo documentos tipo .PDF\"},on:{\"droppedFiles\":_vm.droppedAddendumFile}})],1)]):_vm._e(),(_vm.addingNewList)?_c('div',{staticClass:\"my-4 flex items-center justify-between space-x-2 border-t pt-2 border-gray-100\"},[_c('div'),_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-transparent shadow-sm text-sm leading-4 font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.saveList}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.actions.saveNewEmployeeList\"))+\" \")])])]):_vm._e()],1)]):_vm._e()])])])])])])]):_vm._e(),_c('select-employees',{ref:\"selectEmployees\",on:{\"selected\":_vm.selectedEmployees}}),_c('ConfirmModal',{ref:\"confirmCreate\",on:{\"yes\":_vm.confirmSaveList}}),_c('ConfirmModal',{ref:\"confirmSign\",on:{\"yes\":_vm.confirmedSign}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.reload}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport store from \"@/store\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { ContractEmployeeListDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeListDto\";\nimport EmployeesListAndTable from \"@/components/app/v3/employees/list/EmployeesListAndTable.vue\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport SelectEmployees from \"../employees/SelectEmployees.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Colaboradores de contrato\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n Tabs,\n EmployeesListAndTable,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n SelectEmployees,\n Loading\n }\n})\nexport default class ContractEmployees extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n confirmSign: ConfirmModal;\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n selectEmployees: SelectEmployees;\n };\n id = \"\";\n name = \"\";\n\n tabs: TabItem[] = [];\n employees: EmployeeDto[] = [];\n employeesFile = \"\";\n\n importingEmployees = false;\n withLabels = true;\n\n item?: ContractDto | null = null;\n error = \"\";\n loading = false;\n loadingPdf = false;\n addendumFile = \"\";\n\n currentList: ContractEmployeeListDto | null = null;\n\n currentPage = 1;\n pageCount = 0;\n\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.contracts.details.title\"),\n routeName: \"app.contracts.view\"\n // current: false\n },\n {\n name: this.$t(\"app.contracts.employees.title\"),\n routeName: \"app.contracts.employees\"\n // current: false\n },\n {\n name: this.$t(\"app.contracts.visits.title\"),\n routeName: \"app.contracts.visits\"\n // current: false\n }\n ];\n // this.tabs.forEach(tab => {\n // tab.current = tab.routeName === this.$route.name;\n // });\n this.reload();\n }\n reload() {\n this.loading = true;\n services.contracts\n .getContract(this.id, true)\n .then(response => {\n this.item = response;\n this.name = response.name;\n if (this.item.employeeLists.length > 0) {\n this.item.employeeLists = this.item.employeeLists.sort((x, y) => {\n if (x.number && y.number) {\n return x.number > y.number ? -1 : 1;\n }\n return -1;\n });\n this.item.currentEmployeeList = this.item.employeeLists[0];\n }\n if (response.currentEmployeeList) {\n this.showList(response.currentEmployeeList);\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n loadPdf() {\n if (this.currentList?.id) {\n this.loadingPdf = true;\n services.contracts\n .downloadAddendum(this.id, this.currentList.id)\n .then(response => {\n if (this.currentList?.id) {\n this.addendumFile = response;\n }\n })\n .finally(() => {\n this.loadingPdf = false;\n });\n }\n }\n showList(list: ContractEmployeeListDto) {\n this.currentList = list;\n this.addendumFile = \"\";\n this.employees = list.employees.map(f => f.employee);\n if (list.hasFile) {\n this.loadPdf();\n }\n }\n newList() {\n this.currentList = {\n id: undefined,\n number: this.item?.employeeLists.length ?? 0 + 1,\n employees: [],\n hasFile: false,\n digitalSignatureId: \"\"\n };\n this.addendumFile = \"\";\n this.employees = [];\n // this.addEmployee();\n }\n saveList() {\n if (this.currentList) {\n if (this.employees.length === 0) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n this.$t(\"app.employees.errors.atLeastOne\")\n );\n } else if (!this.addendumFile) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n this.$t(\"app.employees.errors.noAddendum\")\n );\n } else {\n this.$refs.confirmCreate.show(\n \"¿Crear nueva lista?\",\n \"Crear y solicitar firmas\",\n \"Cancelar\",\n \"ADVERTENCIA: Al crear esta nueva lista de empleados, se requerirá que los integrantes del contrato nuevamente firmen con su FIEL el presente anexo.\"\n );\n }\n }\n }\n confirmSaveList() {\n if (this.item && this.currentList) {\n this.loading = true;\n services.contracts\n .updateEmployeeList(this.item.id, {\n addendum: this.addendumFile ?? \"\",\n employees: this.employees\n })\n .then(() => {\n if (\n this.item?.members.find(\n f =>\n f.role === 0 && f.user.email === store.state.account.user?.email\n )\n ) {\n this.$refs.confirmSign.show(\n \"Nueva lista agregada\",\n \"Firmar ahora\",\n \"Atrás\",\n \"Se ha notificado a los miembros del contrato para que vuelvan a firmar con su FIEL.\"\n );\n } else {\n this.$refs.successModal.show(\n \"Nueva lista agregada\",\n \"Se ha notificado a los miembros del contrato para que vuelvan a firmar con su FIEL.\"\n );\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(\"No se pudo actualizar\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n confirmedSign() {\n this.$router.push({ name: \"app.contracts.sign\", params: { id: this.id } });\n }\n deleteContract() {\n this.$router.push({ name: \"app.contracts\" });\n }\n droppedAddendumFile(files: FileBase64[]) {\n if (this.currentList) {\n if (files.length > 0) {\n const mb = files[0].file.size / 1048576;\n console.log(\"mb\", mb);\n if (mb >= 40) {\n this.$refs.errorModal.show(\n \"Límite excedido\",\n this.$t(\"app.contracts.errors.maxFileReached\")\n );\n } else {\n this.addendumFile = files[0].base64;\n }\n }\n }\n }\n nextPage(pages) {\n this.currentPage += pages;\n }\n removeFile() {\n if (this.currentList) {\n this.addendumFile = \"\";\n }\n }\n addEmployee() {\n if (this.currentList) {\n this.$refs.selectEmployees.show(this.employees.map(f => f.id));\n // this.currentList.employees.push({\n // id: \"\",\n // listId: \"\",\n // list: this.currentList,\n // employeeId: \"\",\n // employee: {\n // id: \"\",\n // firstName: \"\",\n // lastName1: \"\",\n // lastName2: \"\",\n // taxId: \"\",\n // socialSecurityId: \"\",\n // populationRegistryId: \"\",\n // email: \"\"\n // }\n // });\n }\n }\n downloadEmployeesFileTemplate() {\n const rows = [[\"NOMBRE\", \"RFC\", \"NSS\", \"CURP\"]];\n\n const csvContent =\n \"data:text/csv;charset=utf-8,\" + rows.map(e => e.join(\",\")).join(\"\\n\");\n const encodedUri = encodeURI(csvContent);\n const link = document.createElement(\"a\");\n link.setAttribute(\"href\", encodedUri);\n link.setAttribute(\"download\", \"plantilla.csv\");\n document.body.appendChild(link);\n\n link.click();\n }\n removeEmployee(index) {\n if (this.currentList) {\n this.currentList.employees = this.currentList.employees.filter(\n (x, i) => i !== index\n );\n if (this.currentList.employees.length === 0) {\n this.employeesFile = \"\";\n }\n }\n }\n droppedEmployeesFile(filesBase64: FileBase64[], files: File[]) {\n if (files.length > 0) {\n // this.employeesFile = filesBase64[0].base64;\n // const employeesFile = files[0];\n // const reader = new FileReader();\n // reader.onload = (e: any) => {\n // const employees = this.csvToArray(e.target.result);\n // employees.forEach(employee => {\n // this.employees.push({\n // fullName: employee[0],\n // taxId: employee[1],\n // socialSecurityId: employee[2],\n // populationRegistryId: employee[3]\n // });\n // });\n // this.clearEmptyEmployees();\n // };\n // reader.readAsText(employeesFile);\n }\n }\n creatingList() {\n return !this.currentList || !this.currentList.id;\n }\n selectedEmployees(items: EmployeeDto[]) {\n this.employees = items;\n }\n dateYMDHMS(value: Date | undefined) {\n return DateUtils.dateYMDHMS(value);\n }\n get isProvider() {\n return (\n store.state.tenant.currentWorkspace?.id ===\n this.item?.link.providerWorkspaceId\n );\n }\n get addingNewList() {\n return !this.currentList || !this.currentList.id;\n }\n get canSign() {\n return true;\n // return this.item?.members.find(\n // f => f.role === 0 && f.email === store.state.account.user?.email\n // );\n }\n get canEdit() {\n return this.item?.createdByUserId === store.state.account.user?.id || true;\n }\n get signers(): ContractMemberDto[] {\n if (this.item) {\n return this.item.members.filter(f => f.role === 0);\n }\n return [];\n }\n get sortedItems(): ContractEmployeeListDto[] {\n if (!this.item) {\n return [];\n }\n // return this.item.employeeLists;\n return this.item.employeeLists.sort((x, y) => {\n if (x.createdAt && y.createdAt) {\n return (x.createdAt > y.createdAt ? -1 : 1) ?? -1;\n }\n return -1;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractEmployees.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractEmployees.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractEmployees.vue?vue&type=template&id=72ddeb41&\"\nimport script from \"./ContractEmployees.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractEmployees.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-2 pb-40 mx-auto px-4 sm:px-6 md:px-8 max-w-3xl\"},[_c('h1',{staticClass:\"pt-4 text-2xl font-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.uploadCfdis\"))+\" \")]),_c('p',{staticClass:\"pb-2 pt-1 text-base font-normal\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.uploadDescription\"))+\" \")]),_vm._v(\" TODO \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { CfdiXmlPdfDto } from \"@/application/dtos/app/v3/cfdis/CfdiXmlPdfDto\";\n\n@Component({\n components: {}\n})\nexport default class CfdisUpload extends Vue {\n uploaded(cfdis: CfdiXmlPdfDto[]) {\n console.log(\"uploaded cfdis: \" + cfdis.length);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisUpload.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisUpload.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisUpload.vue?vue&type=template&id=2d4baee5&\"\nimport script from \"./CfdisUpload.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisUpload.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bg-theme-50 mb-2 rounded-sm border border-theme-300 mt-4\"},[_c('div',{staticClass:\"rounded-sm bg-theme-50 p-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-theme-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-theme-800\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-theme-700\"},[_c('p',[_vm._v(_vm._s(_vm.text))])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\n\n@Component({})\nexport default class Info extends Vue {\n @Prop({ default: i18n.t(\"shared.note\") }) title!: string;\n @Prop({ default: \"\" }) text!: string;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoBanner.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoBanner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InfoBanner.vue?vue&type=template&id=088b6451&\"\nimport script from \"./InfoBanner.vue?vue&type=script&lang=ts&\"\nexport * from \"./InfoBanner.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):(_vm.item && _vm.item.id)?_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-3 py-2 text-left font-medium text-gray-500 tracking-wider select-none truncate\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.products),function(item,idx){return _c('tr',{key:idx},[_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(\n item.subscriptionPrice &&\n item.subscriptionPrice.subscriptionProduct\n )?_c('span',[_vm._v(\" \"+_vm._s(item.subscriptionPrice.subscriptionProduct.title)+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(item.subscriptionPrice)?_c('span',[_vm._v(\" \"+_vm._s(item.subscriptionPrice.price)+_vm._s(_vm.billingPeriod(item.subscriptionPrice))+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.dateYMD(item.startDate))+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.dateYMD(item.endDate))+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(item.trialEnds)?_c('span',[_vm._v(\" Prueba termina \"+_vm._s(_vm.dateAgo(item.trialEnds))+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(item.active)?_c('span',[_vm._v(\" Activo \")]):_c('span',[_vm._v(\" Inactivo \")])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.maxWorkspaces)+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.maxUsers)+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.maxLinks)+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.monthlyContracts)+\" \")]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.maxStorage / 1024)+\" \")])])}),0)])])])])])]):_vm._e()],1),_c('SuccessModal',{ref:\"successModalDeleted\",on:{\"closed\":_vm.successModalDeletedClosed}}),_c('ConfirmModal',{ref:\"confirmDelete\",on:{\"yes\":_vm.confirmedDelete}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport services from \"@/services\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Subscripciones de Organización\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n // YearlyDocumentation,\n ContractClock,\n ContractCheck,\n ContractArchived,\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n Sign,\n Loading\n }\n})\nexport default class TenantSubscription extends Vue {\n $refs!: {\n confirmDelete: ConfirmModal;\n successModalDeleted: SuccessModal;\n errorModal: ErrorModal;\n };\n id = \"\";\n year = 0;\n loading = false;\n loadingContracts = false;\n openOptions = false;\n\n item: TenantDto = {} as TenantDto;\n products: TenantProductDto[] = [];\n\n headers = [\n {\n title: \"Plan\"\n },\n {\n title: \"Precio\"\n },\n {\n title: \"Comienza\"\n },\n {\n title: \"Termina\"\n },\n {\n title: \"Prueba\"\n },\n {\n title: \"Estatus\"\n },\n {\n title: \"Empresas\"\n },\n {\n title: \"Usuarios\"\n },\n {\n title: \"Enlaces\"\n },\n {\n title: \"Contratos\"\n },\n {\n title: \"Almacenamiento\"\n }\n ];\n\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.closeOptions();\n const promises: any[] = [\n services.tenants.get(this.id).then(response => {\n this.item = response;\n }),\n services.tenants.adminGetProducts(this.id).then(response => {\n this.products = response;\n })\n ];\n\n this.loading = true;\n Promise.all(promises).finally(() => {\n this.loading = false;\n });\n }\n deleteTenant() {\n this.closeOptions();\n this.$refs.confirmDelete.show(\n \"¿Eliminar organización?\",\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: Se eliminarán todas sus empresas, usuarios e información que haya subido.\"\n );\n }\n confirmedDelete() {\n this.loading = true;\n services.tenants\n .adminDelete(this.id)\n .then(() => {\n this.$refs.successModalDeleted.show(\"Organización eliminada\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error eliminando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n successModalDeletedClosed() {\n this.$router.push({ name: \"admin.clients\" });\n }\n closeOptions() {\n this.openOptions = false;\n }\n toggleOptions() {\n this.openOptions = !this.openOptions;\n }\n billingPeriod(price: SubscriptionPriceDto): string {\n if (price.billingPeriod === SubscriptionBillingPeriod.ONCE) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n return (\n \"/\" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[price.billingPeriod] +\n \"Short\"\n )\n );\n }\n }\n dateAgo(value: Date) {\n return DateUtils.dateAgo(value);\n }\n dateYMD(value: Date | undefined) {\n return DateUtils.dateYMD(value);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscription.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscription.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscription.vue?vue&type=template&id=7728815a&\"\nimport script from \"./TenantSubscription.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscription.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum WorkspaceType {\n REGULAR,\n SPECIALIZED_PROVIDER,\n}\n","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"h-screen flex overflow-hidden bg-gray-100 text-gray-800\"},[(_vm.sidebarOpen)?_c('div',{staticClass:\"md:hidden\"},[_c('div',{staticClass:\"fixed inset-0 flex z-40\"},[_c('transition',{attrs:{\"enter-active-class\":\"transition-opacity ease-linear duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"transition-opacity ease-linear duration-300\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0\"},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-in-out duration-300 transform\",\"enter-class\":\"-translate-x-full\",\"enter-to-class\":\"translate-x-0\",\"leave-active-class\":\"transition ease-in-out duration-300 transform\",\"leave-class\":\"translate-x-0\",\"leave-to-class\":\"-translate-x-full\"}},[_c('div',{staticClass:\"relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-coolGray-900\"},[_c('div',{staticClass:\"absolute top-0 right-0 -mr-14 p-1 mt-2\"},[_c('button',{staticClass:\"flex items-center justify-center h-12 w-12 rounded-sm focus:outline-none focus:bg-gray-600\",attrs:{\"aria-label\":\"Close sidebar\"},on:{\"click\":function($event){_vm.sidebarOpen = !_vm.sidebarOpen}}},[_c('svg',{staticClass:\"text-white h-7 w-7\",attrs:{\"stroke\":\"currentColor\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-5 flex-1 h-0 overflow-y-auto\"},[_c('nav',{staticClass:\"px-2 space-y-2\"},[_c('TenantSelector',{staticClass:\"text-sm\",on:{\"add\":function($event){_vm.addingTenant = true}}}),(_vm.layout === 'app')?_c('WorkspaceSelector',{staticClass:\"text-sm\",on:{\"add\":function($event){_vm.sidebarOpen = false},\"selected\":function($event){_vm.sidebarOpen = false}}}):_vm._e(),_vm._l((_vm.getMenu),function(group,index){return _c('div',{key:index,staticClass:\"mt-2\"},[_c('div',{staticClass:\"mt-2\"},[_c('h3',{staticClass:\"px-1 text-xs leading-4 font-semibold text-blueGray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(group.title)+\" \")])]),_vm._l((group.items),function(menuItem,index){return _c('div',{key:index},[(!menuItem.items || menuItem.items.length === 0)?_c('div',{staticClass:\"hover:-translate-y-1 hover:scale-150\"},[_c('router-link',{staticClass:\"-mx-2 mt-1 group flex items-center py-2 sm:text-sm leading-5 rounded-sm hover:text-white text-blueGray-300 focus:outline-none focus:text-gray-50 focus:bg-theme-600 transition ease-in-out duration-150\",class:(menuItem.icon ? 'px-4 ' : '-ml-6 ') +\n (_vm.$route.name &&\n menuItem.pathName &&\n _vm.$route.name.includes(menuItem.pathName)\n ? 'text-blueGray-300 bg-theme-600'\n : 'text-blueGray-200 bg-blueGray-900 hover:bg-blueGray-800'),attrs:{\"to\":{\n name: menuItem.pathName,\n params: menuItem.pathParams\n }},nativeOn:{\"click\":function($event){_vm.sidebarOpen = !_vm.sidebarOpen}}},[_c('span',{staticClass:\"text-blueGray-200 mr-3 h-5 w-5 transition ease-in-out\"},[(menuItem.icon)?_c('i',{class:' fa fa-' + menuItem.icon + ' '}):_vm._e()]),_vm._v(\" \"+_vm._s(menuItem.title)+\" \")])],1):_c('div',{staticClass:\"hover:-translate-y-1 hover:scale-150\"},[_c('div',{staticClass:\"cursor-pointer -mx-2 mt-1 group flex items-center px-4 py-2 sm:text-sm leading-5 rounded-sm text-blueGray-200 hover:text-blueGray-300 hover:bg-blueGray-800 bg-blueGray-900 focus:outline-none focus:text-blueGray-300 focus:bg-theme-600 transition ease-in-out duration-150\",on:{\"click\":function($event){return _vm.toggleMenuItem(index)}}},[_c('span',{staticClass:\"text-blueGray-200 mr-3 h-5 w-5 transition ease-in-out\"},[(menuItem.icon)?_c('i',{class:' fa fa-' + menuItem.icon + ' '}):_vm._e()]),_vm._v(\" \"+_vm._s(menuItem.title)+\" \"),_c('svg',{staticClass:\"bg-blueGray-900 ml-auto h-5 w-5 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150\",class:_vm.menuItemIsExpanded(index)\n ? 'rotate-90 ml-auto h-3 w-3 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150'\n : 'ml-auto h-3 w-3 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150',attrs:{\"viewBox\":\"0 0 20 20\"}},[_c('path',{attrs:{\"d\":\"M6 6L14 10L6 14V6Z\",\"fill\":\"currentColor\"}})])]),(_vm.menuItemIsExpanded(index))?_c('div',{staticClass:\"mt-1\"},_vm._l((menuItem.items),function(subItem,index){return _c('router-link',{key:index,staticClass:\"-mx-2 pl-14 mt-1 group flex items-center py-2 sm:text-sm leading-5 rounded-sm hover:text-blueGray-300 focus:outline-none focus:text-blueGray-300 focus:bg-theme-600 transition ease-in-out duration-150\",class:(subItem.icon ? 'px-4 ' : '') +\n (_vm.$route.name &&\n subItem.pathName &&\n _vm.$route.name.includes(subItem.pathName)\n ? 'text-blueGray-300 bg-theme-600'\n : 'text-blueGray-200 bg-blueGray-900 hover:bg-blueGray-800'),attrs:{\"to\":{\n name: subItem.pathName,\n params: subItem.pathParams\n }},nativeOn:{\"click\":function($event){_vm.sidebarOpen = !_vm.sidebarOpen}}},[(subItem.icon)?_c('span',{staticClass:\"mr-1 h-5 w-5 transition ease-in-out\"},[_c('i',{class:' fa fa-' + subItem.icon + ' '})]):_vm._e(),_vm._v(\" \"+_vm._s(subItem.title)+\" \")])}),1):_vm._e()])])})],2)})],2)])])]),_c('div',{staticClass:\"flex-shrink-0 w-14\"})],1)]):_vm._e(),_c('div',{class:_vm.sidebarOpen\n ? 'hidden transition ease-in duration-1000'\n : 'overflow-x-hidden hidden md:flex md:flex-shrink-0 border-r dark:border-r-0 border-theme-200 dark:border-theme-800 shadow-sm dark:shadow-lg transition ease-out duration-1000'},[_c('div',{staticClass:\"flex flex-col w-64\"},[_c('div',{staticClass:\"flex flex-col h-0 flex-1 shadow-md bg-theme-600\"},[_c('div',{staticClass:\"flex-1 flex flex-col overflow-y-auto\"},[_c('nav',{staticClass:\"flex-1 px-2 py-4 space-y-3 bg-coolGray-900\"},[_c('TenantSelector',{staticClass:\"text-xs sm:text-sm\",on:{\"add\":function($event){_vm.addingTenant = true}}}),(_vm.layout === 'app')?_c('WorkspaceSelector',{staticClass:\"text-xs sm:text-sm\"}):_vm._e(),_vm._l((_vm.getMenu),function(group,index){return _c('div',{key:index},[_c('div',{staticClass:\"mt-2\"},[_c('h3',{staticClass:\"px-1 text-xs leading-4 font-semibold text-blueGray-500 uppercase tracking-wider\",attrs:{\"id\":\"Settings-headline\"}},[_vm._v(\" \"+_vm._s(group.title)+\" \")])]),_vm._l((group.items),function(menuItem,index){return _c('div',{key:index},[(!menuItem.items || menuItem.items.length === 0)?_c('div',{staticClass:\"hover:-translate-y-1 hover:scale-150\"},[_c('router-link',{staticClass:\"justify-between -mx-2 mt-1 group flex items-center py-2 text-sm leading-5 rounded-sm hover:text-white text-blueGray-300 focus:outline-none focus:text-gray-50 focus:bg-theme-600 transition ease-in-out duration-150\",class:(menuItem.icon ? 'px-4 ' : '-ml-6 ') +\n (_vm.$route.name &&\n menuItem.pathName &&\n _vm.$route.name.includes(menuItem.pathName)\n ? 'text-blueGray-300 bg-theme-600'\n : 'text-blueGray-200 hover:bg-blueGray-800'),attrs:{\"to\":{\n name: menuItem.pathName,\n params: menuItem.pathParams\n }}},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('div',{staticClass:\"text-blueGray-200 mr-3 h-5 w-5 transition ease-in-out\"},[(menuItem.icon)?_c('i',{class:' fa fa-' + menuItem.icon + ' '}):_vm._e()]),_c('div',[_vm._v(\" \"+_vm._s(menuItem.title)+\" \")])])])],1):_c('div',{staticClass:\"hover:-translate-y-1 hover:scale-150\"},[_c('div',{staticClass:\"justify-between -mx-2 mt-1 group flex items-center py-2 text-sm leading-5 rounded-sm hover:text-white focus:outline-none focus:text-gray-50 focus:bg-theme-600 transition ease-in-out duration-150 px-4 text-blueGray-200 hover:bg-blueGray-800\",on:{\"click\":function($event){return _vm.toggleMenuItem(index)}}},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('span',{staticClass:\"text-blueGray-200 mr-3 h-5 w-5 transition ease-in-out\"},[(menuItem.icon)?_c('i',{class:' fa fa-' + menuItem.icon + ' '}):_vm._e()]),_c('div',[_vm._v(\" \"+_vm._s(menuItem.title)+\" \")])]),_c('svg',{staticClass:\"bg-blueGray-900 ml-auto h-5 w-5 transform transition-colors ease-in-out duration-150\",class:_vm.menuItemIsExpanded(index)\n ? 'rotate-90 ml-auto h-3 w-3 transform transition-colors ease-in-out duration-150'\n : 'ml-auto h-3 w-3 transform transition-colors ease-in-out duration-150',attrs:{\"viewBox\":\"0 0 20 20\"}},[_c('path',{attrs:{\"d\":\"M6 6L14 10L6 14V6Z\",\"fill\":\"currentColor\"}})])]),(_vm.menuItemIsExpanded(index))?_c('div',{staticClass:\"mt-1\"},_vm._l((menuItem.items),function(subItem,index){return _c('router-link',{key:index,staticClass:\"-mx-2 pl-14 mt-1 group flex items-center py-2 text-sm leading-5 rounded-sm hover:text-white hover:bg-theme-600 focus:outline-none focus:text-gray-50 text-blueGray-300 focus:bg-theme-600 transition ease-in-out duration-150\",class:(subItem.icon ? 'px-4 ' : '') +\n (_vm.$route.name &&\n subItem.pathName &&\n _vm.$route.name.includes(subItem.pathName)\n ? 'text-blueGray-300 bg-theme-600'\n : 'text-blueGray-200 bg-blueGray-900'),attrs:{\"to\":{ name: subItem.pathName }}},[(subItem.icon)?_c('span',{staticClass:\"mr-1 h-5 w-5 transition ease-in-out\"},[_c('i',{class:' fa fa-' + subItem.icon + ' '})]):_vm._e(),_vm._v(\" \"+_vm._s(subItem.title)+\" \")])}),1):_vm._e()])])})],2)}),(_vm.activeContracts.length > 0 && false)?_c('div',{staticClass:\"space-y-1\"},[_c('h3',{staticClass:\"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider\",attrs:{\"id\":\"projects-headline\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.active\"))+\" \")]),_c('div',{staticClass:\"space-y-1\",attrs:{\"role\":\"group\",\"aria-labelledby\":\"projects-headline\"}},_vm._l((_vm.activeContracts),function(contract,idxContract){return _c('router-link',{key:idxContract,staticClass:\"group flex items-center px-3 py-2 text-sm font-medium text-theme-50 rounded-md hover:text-theme-100\",attrs:{\"to\":{ name: 'app.visits', params: { id: contract.id } }}},[_c('span',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")])])}),1)]):_vm._e()],2)])])])]),_c('div',{staticClass:\"flex flex-col w-0 flex-1 overflow-hidden\"},[_c('div',{staticClass:\"relative flex-shrink-0 flex h-14 bg-white shadow-inner border-b border-gray-200\"},[_c('button',{staticClass:\"px-4 border-r border-gray-200 text-gray-600 focus:outline-none focus:bg-gray-100 focus:text-gray-600\",attrs:{\"aria-label\":\"Open sidebar\"},on:{\"click\":function($event){_vm.sidebarOpen = !_vm.sidebarOpen}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"stroke\":\"currentColor\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 6h16M4 12h16M4 18h7\"}})])]),_c('div',{staticClass:\"flex-1 px-3 flex justify-between\"},[_c('div',{staticClass:\"flex-1 flex items-center\"},[_c('div',{staticClass:\"w-full flex md:ml-0\"},[_c('div',{staticClass:\"align-baseline w-full text-blueGray-200 pl-1\"},[_c('breadcrumb')],1)])]),_c('div',{staticClass:\"flex items-center md:ml-6 space-x-2\"},[(_vm.layout === 'app')?_c('ChatSupportButton'):_vm._e(),(_vm.layout === 'app')?_c('PendingInvitationsButton'):_vm._e(),(_vm.layout === 'app')?_c('QuickActionsButton'):_vm._e(),_c('ProfileButton')],1)])]),_c('main',{ref:\"mainElement\",staticClass:\"flex-1 focus:outline-none overflow-y-auto bg-gray-50\",attrs:{\"tabindex\":\"0\"}},[_c('div',{key:_vm.currentWorkspaceId,staticClass:\"pb-20 sm:pb-0\"},[_vm._t(\"default\")],2),(_vm.addingTenant)?_c('tenant-new',{on:{\"close\":function($event){_vm.addingTenant = false},\"created\":_vm.createdTenant}}):_vm._e(),_c('LinksInformationModal',{ref:\"modalLinksInformation\"}),_c('PendingInvitationsSideModal',{ref:\"sideModalPendingInvitations\",staticClass:\"z-40\"}),_c('link-form',{ref:\"newProviderLinkForm\",attrs:{\"asProvider\":false,\"selectType\":false}}),_c('link-form',{ref:\"newClientLinkForm\",attrs:{\"asProvider\":true,\"selectType\":false}}),_c('link-form',{ref:\"newLinkForm\",attrs:{\"asProvider\":true,\"selectType\":true}}),_c('ErrorModal',{ref:\"errorModal\"})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity\"}),_c('div',{staticClass:\"fixed inset-0 overflow-hidden\"},[_c('div',{staticClass:\"absolute inset-0 overflow-hidden\"},[_c('section',{staticClass:\"absolute inset-y-0 pl-16 max-w-full right-0 flex\"},[_c('div',{staticClass:\"w-screen max-w-md\"},[_c('div',{staticClass:\"h-full divide-y divide-gray-200 flex flex-col bg-white shadow-2xl\"},[_c('div',{staticClass:\"flex-1 h-0 overflow-y-auto bg-white text-gray-600\"},[_c('header',{staticClass:\"space-y-1 py-6 px-4 bg-gray-100 sm:px-6 shadow-inner border-b border-gray-200\"},[_c('div',{staticClass:\"flex items-center justify-between space-x-3\"},[_c('h2',{staticClass:\"text-lg leading-7 font-medium text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.create\"))+\" \")]),_c('div',{staticClass:\"h-7 flex items-center\"},[_c('button',{staticClass:\"text-gray-500 hover:text-gray-800 transition ease-in-out duration-150\",attrs:{\"aria-label\":\"Close panel\"},on:{\"click\":_vm.close}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])]),_c('div',[_c('p',{staticClass:\"text-sm leading-5 text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.createDescription\"))+\" \")])])]),_c('div',{staticClass:\"flex-1 flex flex-col justify-between\"},[_c('div',{staticClass:\"px-4 divide-y divide-gray-200 sm:px-6\"},[_c('div',{staticClass:\"space-y-6 pt-6 pb-5\"},[(true)?_c('div',{},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-600\",attrs:{\"for\":\"organization\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.organization\")))]),_c('div',{staticClass:\"flex-1 min-w-0 mt-1\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.name),expression:\"name\"}],staticClass:\"border border-b-0 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"autocomplete\":\"none\",\"placeholder\":_vm.$t('shared.name'),\"required\":\"\",\"id\":\"name\"},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}})]),_c('div',{staticClass:\"flex-1 min-w-0\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"taxId\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.taxId\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxId),expression:\"taxId\"}],ref:\"inputTaxId\",staticClass:\"border-b-0 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"taxId\",\"id\":\"taxId\",\"minlength\":\"12\",\"maxlength\":\"13\",\"placeholder\":_vm.$t('models.workspace.taxId'),\"required\":\"\"},domProps:{\"value\":(_vm.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.taxId=$event.target.value},function($event){_vm.taxId = $event.target.value.toUpperCase()}]}})]),_c('div',{staticClass:\"flex-1 min-w-0\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"company\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.legalName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.legalName),expression:\"legalName\"}],ref:\"inputLegalName\",staticClass:\"dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"company\",\"id\":\"company\",\"required\":\"\",\"placeholder\":_vm.$t('models.workspace.legalName')},domProps:{\"value\":(_vm.legalName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.legalName=$event.target.value},function($event){_vm.legalName = $event.target.value.toUpperCase()}]}})])]):_vm._e(),_c('div',[_c('currency-toggle',{staticClass:\"w-full flex justify-center\",attrs:{\"theme\":\"light\"}})],1),_c('div',{staticClass:\"space-y-1\"},[_c('plans',{ref:\"plans\"})],1)]),_c('div',{staticClass:\"space-y-4 pt-4 pb-6 text-right text-gray-700\"},[_c('div',{staticClass:\"text-sm leading-5 right-0\"},[_c('span',{staticClass:\"inline-flex rounded-sm shadow-sm\"},[_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 border border-gray-300 text-xs leading-5 font-medium rounded-sm text-gray-700 bg-gray-50 hover:bg-gray-200 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('span',{staticClass:\"inline-flex rounded-sm shadow-sm ml-2\"},[_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-none focus:shadow-outline-indigo focus:border-gray-600 active:bg-gray-700 transition duration-150 ease-in-out\",on:{\"click\":_vm.createTenant}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.create\"))+\" \")])])])])])])])])])])])]),_c('modal',{ref:\"cardModal\"},[_c('div',[_c('card',{ref:\"card\",staticClass:\"stripe-card w-full mt-5 mb-5\",class:_vm.complete ? 'border-1 border-green-100' : '',attrs:{\"stripe\":_vm.stripeKey,\"options\":_vm.stripeOptions},on:{\"change\":function($event){_vm.complete = $event.complete}}}),_c('button',{staticClass:\"block w-full py-2 px-3 border border-transparent rounded-sm text-white font-semibold bg-gray-800 hover:bg-gray-700 focus:bg-gray-900 focus:outline-shadow sm:text-sm sm:leading-5\",attrs:{\"disabled\":!_vm.complete},on:{\"click\":_vm.pay}},[_vm._v(\" \"+_vm._s(_vm.getButtonText)+\" \")])],1)]),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.tryRegister}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport Modal from \"@/components/shared/modals/Modal.vue\";\nimport Plans from \"@/components/marketing/pricing/PlansRadioButtons.vue\";\nimport { Card, createToken } from \"vue-stripe-elements-plus\";\nimport CurrencyToggle from \"@/components/marketing/toggles/CurrencyToggle.vue\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { TenantCreateRequest } from \"@/application/contracts/master/tenants/TenantCreateRequest\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n ErrorModal,\n Modal,\n ConfirmModal,\n Plans,\n Card,\n CurrencyToggle\n }\n})\nexport default class TenantNew extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n cardModal: Modal;\n confirmModal: ConfirmModal;\n };\n name = \"\";\n taxId = \"\";\n legalName = \"\";\n stripeKey = \"\";\n stripeOptions: any = {};\n complete = false;\n created() {\n this.stripeKey =\n process.env.VUE_APP_SUBSCRIPTION_PUBLIC_KEY?.toString() ?? \"\";\n this.stripeOptions = {\n showCardHolderName: true,\n hidePostalCode: false,\n iconStyle: \"solid\",\n elements: {\n locale: i18n.locale\n }\n };\n if (!this.selectedProduct) {\n store.commit(\"pricing/select\", {\n product: store.state.pricing.products[0],\n billingPeriod: SubscriptionBillingPeriod.MONTHLY\n });\n }\n }\n mounted() {\n services.subscriptionProducts.getProducts(true, true);\n }\n close() {\n this.$emit(\"close\");\n }\n createTenant() {\n if (!this.selectedPrice) {\n this.$refs.errorModal.show(\"Selecciona un plan\");\n } else if (this.name === \"\") {\n this.$refs.errorModal.show(\"Escribe un nombre\");\n } else if (this.taxId === \"\") {\n this.$refs.errorModal.show(\"Escribe el RFC\");\n } else if (this.legalName === \"\") {\n this.$refs.errorModal.show(\"Escribe la razón social\");\n } else {\n this.$refs.confirmModal.show(this.$t(\"settings.tenant.createConfirm\"));\n }\n }\n tryRegister() {\n if (this.selectedPrice?.trialDays === 0 && this.selectedPrice?.price > 0) {\n this.$refs.cardModal.show(\n this.$t(\"account.register.providePaymentDetails\").toString(),\n this.$t(\"shared.cancel\")\n );\n } else {\n this.register();\n }\n }\n pay() {\n createToken()\n .then(data => {\n if (data.error) {\n this.$refs.errorModal.show(data.error.message);\n } else {\n this.register(data.token.id);\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.$refs.cardModal.close();\n });\n }\n register(stripeCardToken = \"\") {\n const tenantCreateRequest: TenantCreateRequest = {\n name: this.name,\n workspaceTaxIdRfc: this.taxId,\n workspaceLegalName: this.legalName,\n selectedSubscription: {\n subscriptionPriceId: this.selectedPrice?.id ?? \"\",\n subscriptionCardToken: stripeCardToken,\n subscriptionCoupon: \"\"\n }\n };\n services.tenants\n .create(tenantCreateRequest)\n .then(() => {\n this.name = \"\";\n this.$emit(\"created\");\n // this.$router.go(0);\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n get selectedProduct() {\n return store.state.pricing.selectedProduct as SubscriptionProductDto;\n }\n get getButtonText(): string {\n if (this.selectedPrice) {\n return (\n (this.selectedPrice.billingPeriod === SubscriptionBillingPeriod.ONCE\n ? this.$t(\"marketing.pricing.pay\")\n : this.$t(\"marketing.pricing.subscribe\")) +\n \" \" +\n this.priceDescription\n );\n }\n return \"\";\n }\n get selectedPrice(): SubscriptionPriceDto | undefined {\n if (this.selectedProduct) {\n return (\n this.selectedProduct.prices.find(\n f => f.billingPeriod === store.state.pricing.billingPeriod\n ) ?? this.selectedProduct.prices[0]\n );\n }\n return undefined;\n }\n get billingPeriod(): string {\n if (this.selectedPrice) {\n if (\n this.selectedPrice?.billingPeriod === SubscriptionBillingPeriod.ONCE\n ) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n return (\n \"/ \" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[this.selectedPrice.billingPeriod] +\n \"Short\"\n )\n );\n }\n }\n return \"\";\n }\n get priceDescription() {\n return \"$\" + this.selectedPrice?.price + \" \" + this.billingPeriod;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantNew.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantNew.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantNew.vue?vue&type=template&id=378b3303&\"\nimport script from \"./TenantNew.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantNew.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.activeProduct && !_vm.defaultSubscriptionCard && _vm.getEndsIn)?_c('div',[_c('div',{staticClass:\"rounded-sm bg-yellow-50 p-4\"},[_c('router-link',{staticClass:\"flex\",attrs:{\"to\":{ name: 'settings.tenant.subscription' }}},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-blue-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3 flex-1 md:flex md:justify-between\"},[_c('p',{staticClass:\"text-sm leading-5 text-blue-700\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.trialing\"))+\" \"+_vm._s(_vm.getEndOfTrial)+\" \"),_c('span',{staticClass:\"text-orange-500\"},[_vm._v(\"(\"+_vm._s(_vm.getEndsIn)+\")\")])])])])],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport store from \"@/store\";\nimport services from \"@/services\";\nimport TenantUtils from \"@/utils/store/TenantUtils\";\n\n@Component({})\nexport default class TenantSubscriptionStatus extends Vue {\n mounted() {\n services.subscriptionManager.getCurrentSubscription();\n }\n get defaultSubscriptionCard() {\n return TenantUtils.defaultSubscriptionCard();\n }\n get activeProduct() {\n return TenantUtils.activeProduct();\n }\n get getEndOfTrial() {\n if (this.activeProduct && this.activeProduct.trialEnds) {\n try {\n // @ts-ignore\n const date = new Date(this.activeProduct.trialEnds * 1000);\n\n // const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds\n // const diffDays = Math.round(\n // Math.abs((date.getTime() - Date.now()) / oneDay)\n // );\n return this.$d(date, \"short\", store.state.locale.locale);\n } catch (ex) {\n // ignore\n }\n }\n\n return \"\";\n }\n get getEndsIn() {\n if (this.activeProduct && this.activeProduct.trialEnds) {\n try {\n // @ts-ignore\n const date = new Date(this.activeProduct.trialEnds * 1000);\n\n const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds\n const diffDays = Math.round(\n Math.abs((date.getTime() - Date.now()) / oneDay)\n );\n if (!diffDays) {\n return \"\";\n }\n let untilDate: string =\n this.$t(\"shared.ends\") +\n \" \" +\n this.$t(\"shared.in\") +\n \" \" +\n diffDays +\n \" \" +\n this.$t(\"shared.days\");\n if (diffDays === 0) {\n untilDate = this.$t(\"shared.today\").toString();\n } else if (diffDays === 1) {\n untilDate = this.$t(\"shared.tomorrow\").toString();\n }\n return untilDate;\n } catch (ex) {\n // ignore\n }\n }\n\n return \"\";\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionStatus.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionStatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscriptionStatus.vue?vue&type=template&id=3acfa9ad&\"\nimport script from \"./TenantSubscriptionStatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscriptionStatus.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.breadcrumb.length > 0)?_c('div',[_c('nav',{staticClass:\"lg:hidden\"},[_c('router-link',{staticClass:\"w-auto\",attrs:{\"to\":{ name: 'app' }}},[(_vm.$store.state.theme.theme === 1 && false)?_c('img',{staticClass:\"h-6 w-auto sm:hidden\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/icon-dark.png\")}}):_c('img',{staticClass:\"h-6 w-auto sm:hidden\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/icon-light.png\")}}),(_vm.$store.state.theme.theme === 1 && false)?_c('img',{staticClass:\"h-6 w-auto hidden sm:block\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/logo-dark.png\")}}):_c('img',{staticClass:\"h-6 w-auto hidden sm:block\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/logo-light.png\")}})])],1),_c('nav',{staticClass:\"hidden lg:flex items-center text-base leading-5 font-medium\"},[_c('router-link',{staticClass:\"w-auto\",attrs:{\"to\":{ name: 'app' }}},[(_vm.$store.state.theme.theme === 1 && false)?_c('img',{staticClass:\"hidden sm:block h-7 sm:h-8 md:h-9 w-auto\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/logo-dark.png\")}}):_c('img',{staticClass:\"hidden sm:block h-7 sm:h-8 md:h-9 w-auto\",attrs:{\"alt\":\"Logo\",\"src\":require(\"@/assets/img/logo-light.png\")}})])],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Breadcrumb.vue?vue&type=template&id=6ec08fce&\"\nimport script from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\nexport * from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { SideBarItem } from \"./SidebarItem\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\n\nexport const AdminSidebar: SideBarItem[] = [\n {\n title: i18n.t(\"app.sidebar.admin\"),\n items: [\n {\n title: i18n.t(\"admin.tenants.title\"),\n pathName: \"admin.tenants\",\n icon: \"users\",\n items: [],\n },\n {\n title: i18n.t(\"admin.users\"),\n pathName: \"admin.users\",\n icon: \"user\",\n items: [],\n },\n {\n title: i18n.t(\"admin.pricing.title\"),\n pathName: \"admin.pricing\",\n icon: \"tags\",\n items: [],\n },\n ],\n },\n {\n title: \"App\",\n items: [\n {\n title: i18n.t(\"admin.switchToApp\"),\n pathName: \"app\",\n icon: \"external-link-alt\",\n userTypes: [UserType.Admin],\n items: [],\n },\n ],\n },\n];\n","import { i18n } from \"../../plugins/vue-i18n\";\nimport { SideBarItem } from \"./SidebarItem\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\n\nexport const AppSidebar: SideBarItem[] = [\n {\n title: i18n.t(\"app.sidebar.app\"),\n items: [\n {\n title: i18n.t(\"shared.dashboard\"),\n pathName: \"app.dashboard\",\n icon: \"chart-line\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"models.provider.plural\"),\n pathName: \"app.providers\",\n icon: \"address-book\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"models.client.plural\"),\n pathName: \"app.clients\",\n icon: \"address-book\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: \"Contratos\",\n pathName: \"app.contracts\",\n pathParams: { status: \"pendientes\" },\n icon: \"file-signature\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"app.documentation.my\"),\n pathName: \"app.documentation\",\n icon: \"clipboard-list\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"models.employee.plural\"),\n pathName: \"app.employees\",\n icon: \"briefcase\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"models.cfdi.plural\"),\n pathName: \"app.cfdis\",\n icon: \"file-invoice\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n items: [],\n },\n {\n title: i18n.t(\"app.contracts.visits.title\"),\n pathName: \"app.visits\",\n icon: \"user-check\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER, TenantUserRole.GUEST],\n items: [],\n },\n {\n title: i18n.t(\"app.navbar.settings\"),\n icon: \"cog\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n pathName: \"settings\",\n items: [\n {\n title: i18n.t(\"app.navbar.profile\"),\n pathName: \"settings.profile\",\n items: [],\n },\n {\n title: i18n.t(\"settings.tenant.workspaces.title\"),\n pathName: \"settings.tenant.workspaces\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n items: [],\n },\n {\n title: i18n.t(\"settings.tenant.members.title\"),\n pathName: \"settings.tenant.members\",\n userRoles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n items: [],\n },\n {\n title: i18n.t(\"settings.tenant.subscription.title\"),\n pathName: \"settings.tenant.subscription\",\n userRoles: [TenantUserRole.OWNER],\n items: [],\n },\n {\n title: i18n.t(\"app.navbar.tenant\"),\n pathName: \"settings.tenant.general\",\n userRoles: [TenantUserRole.OWNER],\n items: [],\n },\n {\n title: i18n.t(\"app.navbar.logout\"),\n pathName: \"logout\",\n items: [],\n },\n ],\n },\n ],\n },\n {\n title: i18n.t(\"admin.title\"),\n items: [\n {\n title: i18n.t(\"admin.switchToAdmin\"),\n pathName: \"admin.tenants\",\n icon: \"user-shield\",\n userTypes: [UserType.Admin],\n items: [],\n },\n ],\n },\n];\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeDropdown),expression:\"closeDropdown\"}],staticClass:\"relative text-left w-auto\"},[_c('span',{staticClass:\"inline-block w-full rounded-sm shadow-sm\"},[_c('button',{staticClass:\"bg-blueGray-800 hover:bg-theme-600 hover:text-theme-50 truncate text-blueGray-300 cursor-pointer w-full pl-3 py-2 text-left focus:outline-none transition ease-in-out duration-150 sm:leading-5 rounded-sm shadow-sm\",on:{\"click\":_vm.toggleDropDown}},[_c('div',{staticClass:\"font-bold truncate pr-7 sm:hidden\"},[(_vm.currentWorkspace)?_c('span',{staticClass:\"truncate\"},[_vm._v(_vm._s(_vm.currentWorkspace.taxId)+\" - \"+_vm._s(_vm.currentWorkspace.legalName))]):_c('span',{staticClass:\"text-gray-600\"},[_vm._v(\"- \"+_vm._s(_vm.$t(\"app.workspaces.select\"))+\" -\")])]),_c('div',{staticClass:\"font-bold truncate pr-7 hidden sm:block sm:w-full\"},[(_vm.currentWorkspace)?_c('span',{staticClass:\"mt-4 truncate\"},[_vm._v(\" \"+_vm._s(_vm.currentWorkspace.taxId)+\" - \"+_vm._s(_vm.currentWorkspace.legalName)+\" \")]):_c('span',{staticClass:\"mt-4 text-gray-600\"},[_vm._v(\"- \"+_vm._s(_vm.$t(\"app.workspaces.select\"))+\" -\")])]),_c('div',{staticClass:\"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-500\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"none\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M7 7l3-3 3 3m0 6l-3 3-3-3\",\"stroke-width\":\"1.5\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])])])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[(_vm.dropDown)?_c('div',{staticClass:\"z-40 absolute object-top mt-1 w-full rounded-sm bg-white shadow-lg\"},[_c('div',{staticClass:\"m-1 border border-gray-100 relative flex items-stretch flex-grow focus-within:z-10\"},[_c('div',{staticClass:\"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],ref:\"inputSearch\",staticClass:\"focus:ring-theme-500 focus:border-theme-500 block w-full rounded-none rounded-l-sm pl-10 sm:text-sm px-3 py-2 bg-gray-100 text-sm focus:outline-none\",attrs:{\"disabled\":_vm.loading,\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot'),\"autocomplete\":\"none\"},domProps:{\"value\":(_vm.search)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.enter($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.search=$event.target.value}}})]),_c('div',{staticClass:\"max-h-60 rounded-sm text-sm leading-5 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5\"},[_vm._l((_vm.sortedItems),function(workspace,index){return _c('button',{key:index,staticClass:\"text-left w-full text-gray-900 cursor-pointer select-none relative py-2 pl-3 pr-5 hover:bg-gray-100 border-gray-100 font-medium truncate focus:outline-none\",attrs:{\"role\":\"option\",\"title\":workspace.name},on:{\"click\":function($event){return _vm.change(workspace)}}},[_vm._v(_vm._s(workspace.taxId)+\" - \"+_vm._s(workspace.legalName))])}),_c('button',{staticClass:\"text-theme-600 w-full text-sm text-left font-bold cursor-pointer select-none relative py-2 pl-3 pr-9 hover:bg-gray-100 hover:text-theme-700\",attrs:{\"role\":\"option\"},on:{\"click\":_vm.add}},[_vm._v(_vm._s(_vm.$t(\"shared.add\")))])],2)]):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport services from \"@/services\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class WorkspaceSelector extends Vue {\n $refs!: {\n inputSearch: HTMLInputElement;\n };\n loading = false;\n dropDown = false;\n search = \"\";\n mounted() {\n if (\n !this.currentWorkspace &&\n this.workspaces &&\n this.workspaces.length > 0\n ) {\n const defaultWorkspace = this.workspaces.find(f => f.default);\n if (defaultWorkspace) {\n this.change(defaultWorkspace);\n } else {\n this.change(this.workspaces[0]);\n }\n }\n if (!this.workspaces) {\n services.workspaces.getAllWorkspaces(true);\n }\n }\n add() {\n this.$emit(\"add\");\n this.closeDropdown();\n this.$router.push({ name: \"settings.tenant.workspaces.new\" });\n }\n closeDropdown() {\n this.dropDown = false;\n }\n toggleDropDown() {\n this.dropDown = !this.dropDown;\n if (this.dropDown) {\n this.$nextTick(() => {\n this.$refs.inputSearch.focus();\n this.$refs.inputSearch.select();\n });\n }\n }\n enter() {\n if (this.sortedItems.length === 1) {\n this.change(this.sortedItems[0]);\n }\n }\n change(workspace: WorkspaceDto) {\n this.search = \"\";\n this.$emit(\"selected\");\n this.closeDropdown();\n store.commit(\"tenant/currentWorkspace\", workspace);\n // this.$router.go(0);\n }\n get workspaces(): WorkspaceDto[] {\n return store.state.tenant.workspaces ?? [];\n }\n get currentWorkspace(): WorkspaceDto | null {\n return store.state.tenant.currentWorkspace;\n }\n get sortedItems(): WorkspaceDto[] {\n return this.workspaces\n .filter(\n f =>\n !this.search ||\n f.name.toLowerCase().includes(this.search.toLowerCase())\n || f.taxId.toLowerCase().includes(this.search.toLowerCase())\n\n )\n .sort((x, y) => {\n if (x.name && y.name) {\n return (x.name > y.name ? 1 : -1) ?? 1;\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspaceSelector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspaceSelector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkspaceSelector.vue?vue&type=template&id=1c92179e&\"\nimport script from \"./WorkspaceSelector.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkspaceSelector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeDropdownTenant),expression:\"closeDropdownTenant\"}],staticClass:\"relative shadow-2xl\"},[_c('span',{staticClass:\"inline-block w-full rounded-sm shadow-sm\"},[_c('button',{staticClass:\"bg-blueGray-800 hover:bg-theme-700 hover:text-theme-50 truncate text-blueGray-300 cursor-pointer w-full pl-3 py-2 text-left focus:outline-none transition ease-in-out duration-150 sm:leading-5 rounded-sm shadow-sm pr-7\",attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"listbox-label\"},on:{\"click\":_vm.toggleDropDown}},[_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.currentTenant.name))]),_c('span',{staticClass:\"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-blueGray-200\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"none\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M7 7l3-3 3 3m0 6l-3 3-3-3\",\"stroke-width\":\"1.5\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])])])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dropdown),expression:\"dropdown\"}],staticClass:\"z-40 absolute object-top mt-1 w-full rounded-sm bg-white shadow-lg\",class:_vm.dropdown\n ? 'z-40 absolute object-top mt-1 w-full rounded-sm bg-white shadow-lg'\n : 'hidden'},[_c('div',{staticClass:\"m-1 border border-gray-100 relative flex items-stretch flex-grow focus-within:z-10\"},[_c('div',{staticClass:\"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],ref:\"inputSearch\",staticClass:\"focus:ring-theme-500 focus:border-theme-500 block w-full rounded-none rounded-l-sm pl-10 sm:text-sm px-3 py-2 bg-gray-100 text-sm focus:outline-none\",attrs:{\"disabled\":_vm.loading,\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot'),\"autocomplete\":\"none\"},domProps:{\"value\":(_vm.search)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.enter($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.search=$event.target.value}}})]),_c('ul',{staticClass:\"max-h-60 rounded-sm text-sm leading-5 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5\",attrs:{\"tabindex\":\"-1\",\"role\":\"listbox\",\"aria-labelledby\":\"listbox-label\"}},[_vm._l((_vm.myTenants),function(tenant,index){return _c('li',{key:index,attrs:{\"role\":\"option\"}},[_c('button',{staticClass:\"w-full text-left text-gray-900 cursor-pointer select-none relative py-2 pl-3 pr-9 hover:bg-gray-100 border-b border-gray-200 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.changeTenant(tenant)}}},[_c('div',[(tenant.icon)?_c('img',{staticClass:\"h-8 w-8 rounded-sm overflow-hidden float-left mr-2 -ml-1 mt-1\",attrs:{\"alt\":\"Tenant icon\",\"src\":tenant.icon}}):_vm._e(),_c('span',{staticClass:\"font-medium\"},[_vm._v(_vm._s(tenant.name))]),(tenant.id === _vm.currentTenant.id)?_c('span',{staticClass:\"text-blueGray-500 absolute inset-y-0 right-0 flex items-center pr-4 -mt-4\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):_vm._e(),_c('p',{staticClass:\"text-xs\"},[_vm._v(\" \"+_vm._s(_vm.getPlanFromTenant(tenant))+\" \")])])])])}),_c('button',{staticClass:\"w-full text-left font-bold text-blueGray-800 cursor-pointer select-none relative py-2 pl-3 pr-9 hover:bg-gray-100 focus:outline-none\",attrs:{\"role\":\"option\"},on:{\"click\":_vm.addTenant}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.create\"))+\" \")])],2)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class TenantSelector extends Vue {\n $refs!: {\n inputSearch: HTMLInputElement;\n };\n loading = false;\n dropdown = false;\n addingTenant = false;\n search = \"\";\n closeDropdownTenant() {\n this.dropdown = false;\n }\n toggleDropDown() {\n this.dropdown = !this.dropdown;\n if (this.dropdown) {\n this.$nextTick(() => {\n this.$refs.inputSearch.focus();\n this.$refs.inputSearch.select();\n });\n }\n }\n enter() {\n if (this.myTenants.length === 1) {\n this.changeTenant(this.myTenants[0]);\n }\n }\n changeTenant(tenant: TenantDto) {\n this.search = \"\";\n this.closeDropdownTenant();\n this.loading = true;\n services.users\n .updateDefaultTenant(tenant.id)\n .then(() => {\n this.$router.go(0);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n addTenant() {\n store.commit(\"layout/sidebarOpen\", false);\n this.closeDropdownTenant();\n this.$emit(\"add\");\n }\n getPlanFromTenant(tenant: TenantDto): string {\n if (\n tenant.products &&\n tenant.products.length > 0 &&\n tenant.products[0].subscriptionProduct\n ) {\n return tenant.products[0].subscriptionProduct.title;\n } else {\n if (tenant.subdomain === \"admin\") {\n return \"Admin\";\n } else {\n return this.$t(\"settings.tenant.subscription.notSubscribed\").toString();\n }\n }\n }\n get currentTenant(): TenantDto {\n return store.state.tenant.current ?? ({ name: \"Undefinded\" } as TenantDto);\n }\n get myTenants(): TenantDto[] {\n return store.state.tenant.tenants\n .filter(\n f =>\n !this.search ||\n f.name.toLowerCase().includes(this.search.toLowerCase())\n )\n .sort((x, y) => {\n if (x.name && y.name) {\n return (x.name > y.name ? 1 : -1) ?? 1;\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSelector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSelector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSelector.vue?vue&type=template&id=72bfae0e&\"\nimport script from \"./TenantSelector.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSelector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showing)?_c('div',{staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-50\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\" max-w-lg inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-visible shadow-lg transform transition-all my-8 sm:align-middle w-full sm:p-6\",attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\" mx-auto space-y-3 flex-col\"},[_c('h4',{staticClass:\"text-center text-sm font-semibold\"},[_vm._v(\" ¿Cómo funcionan los enlaces? \")]),_c('h3',{staticClass:\"text-center text-lg font-bold text-theme-600\"},[_vm._v(\" 1 Enlace = 1 Proveedor o 1 Cliente \")]),_c('p',{staticClass:\"sm:text-center text-base\"},[_vm._v(\" Puedes usar 1 enlace para agregar a tu proveedor o a un cliente. El cliente puede ver la información del proveedor, tal como \"),_c('b',{staticClass:\"text-center font-semibold text-gray-900\"},[_vm._v(\"Información general\")]),_vm._v(\", Documentos del \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"SAT\")]),_vm._v(\", \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"IMSS\")]),_vm._v(\", \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"Infonavit\")]),_vm._v(\" y \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"REPSE\")]),_vm._v(\", \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"Colaboradores\")]),_vm._v(\" e incluso \"),_c('b',{staticClass:\" font-semibold text-gray-900\"},[_vm._v(\"CFDIs\")]),_vm._v(\". El proveedor decide qué compartir y qué no compartir a su cliente. \")]),_c('div',{staticClass:\"w-full bg-teal-50 border space-x-2 border-teal-200 p-5 flex items-center justify-center\"},[_c('svg',{staticClass:\"h-6 w-6 text-teal-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"}})]),_c('div',[_vm._v(\" Los enlaces no expiran. \")])]),_c('div',{staticClass:\"text-center\"},[_c('router-link',{staticClass:\"mx-auto w-full sm:w-auto text-center inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'settings.tenant.subscription' },\"type\":\"button\"}},[_vm._v(\" Quiero más enlaces \")])],1)])])])])],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({\n components: {}\n})\nexport default class LinksInformationModal extends Vue {\n @Prop({ default: true }) asProvider!: boolean;\n\n showing = false;\n show() {\n this.showing = true;\n }\n close() {\n this.showing = false;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksInformationModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksInformationModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinksInformationModal.vue?vue&type=template&id=06da6d1c&\"\nimport script from \"./LinksInformationModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinksInformationModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed inset-0 overflow-hidden\",attrs:{\"aria-labelledby\":\"slide-over-title\",\"role\":\"dialog\",\"aria-modal\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 overflow-hidden\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('transition',{attrs:{\"enter-active-class\":\"ease-in-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in-out duration-300\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}})]),_c('div',{staticClass:\"fixed inset-y-0 right-0 pl-3 sm:pl-10 max-w-full flex\"},[_c('transition',{attrs:{\"enter-active-class\":\"transform transition ease-in-out duration-300 sm:duration-500\",\"enter-class\":\"translate-x-full\",\"enter-to-class\":\"translate-x-0\",\"leave-active-class\":\"transform transition ease-in-out duration-300 sm:duration-500\",\"leave-class\":\"translate-x-0\",\"leave-to-class\":\"-translate-x-full\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"w-screen sm:max-w-md\"},[_c('div',{staticClass:\"h-full flex flex-col bg-white shadow-xl overflow-y-scroll\"},[_c('div',{staticClass:\"py-6 px-4 bg-blueGray-800 sm:px-6 shadow-md\"},[_c('div',{staticClass:\"flex items-center justify-between\"},[_c('h2',{staticClass:\"text-lg font-medium text-white\",attrs:{\"id\":\"slide-over-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.title\"))+\" \")]),_c('div',{staticClass:\"ml-3 h-7 flex items-center\"},[_c('button',{staticClass:\"rounded-md text-white hover:text-gray-50 focus:outline-none focus:ring-2 focus:ring-gray-200\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])]),_c('div',{staticClass:\"mt-1\"},[_c('p',{staticClass:\"text-sm text-gray-100\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.description\"))+\" \")])])]),_c('div',{staticClass:\"relative flex-1 sm:py-6 sm:px-6\"},[(_vm.showing)?_c('links-pending-list',{on:{\"close\":_vm.close}}):_vm._e()],1)])])])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport LinksPendingList from \"./LinksPendingList.vue\";\n\n@Component({\n components: {\n LinksPendingList\n }\n})\nexport default class PendingInvitationsSideModal extends Vue {\n // @Prop({})\n\n showing = false;\n show() {\n this.showing = true;\n }\n close() {\n this.showing = false;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingInvitationsSideModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingInvitationsSideModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PendingInvitationsSideModal.vue?vue&type=template&id=4b6a3946&\"\nimport script from \"./PendingInvitationsSideModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./PendingInvitationsSideModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (true)?_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":_vm.showLinksInformation}},[_c('span',{staticClass:\"inline-flex items-center space-x-2 px-2.5 py-2 shadow-sm rounded-sm text-sm font-medium bg-theme-50 text-theme-800 hover:bg-theme-100 hover:text-theme-900 border border-theme-100 dark:border-theme-900\"},[_c('div',{staticClass:\" uppercase text-sm flex space-x-1\"},[_c('span',{staticClass:\" font-bold text-theme-700\"},[_vm._v(_vm._s(_vm.linksLeft)+\"/\"+_vm._s(_vm.linksPlan))]),(_vm.linksLeft === 1)?_c('span',{staticClass:\"hidden sm:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.remaining1\"))+\" \")]):_c('span',{staticClass:\"hidden sm:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.remaining\"))+\" \")]),(_vm.linksLeft === 1)?_c('span',{staticClass:\"sm:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remaining1\"))+\" \")]):_c('span',{staticClass:\"sm:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remaining\"))+\" \")])]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"}})])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n\n@Component({\n components: {}\n})\nexport default class LinksInformationButton extends Vue {\n showLinksInformation() {\n tinyEventBus().emitter.emit(\"view-links-information\");\n }\n get linksPlan(): number {\n return store.state.app.features.maxLinks;\n }\n get linksLeft(): number {\n return (\n this.linksPlan -\n store.state.app.usage.providers +\n store.state.app.usage.clients\n );\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksInformationButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksInformationButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinksInformationButton.vue?vue&type=template&id=1b91a1db&\"\nimport script from \"./LinksInformationButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinksInformationButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentRole < 3)?_c('div',{staticClass:\"inline-flex shadow-none rounded-sm divide-x divide-gray-300\"},[_c('div',{staticClass:\"text-sm relative z-0 inline-flex shadow-none rounded-full\"},[_c('button',{staticClass:\" shadow-inner rounded-full border relative items-center p-2 font-medium\",class:{\n 'px-3 flex space-x-2 text-teal-900 bg-teal-50 border-teal-300 hover:bg-teal-100 hover:text-teal-800 focus:bg-teal-200 focus:text-teal-900 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-teal-50 focus:ring-teal-100':\n _vm.pendingInvitations > 0,\n ' text-gray-800 bg-gray-50 border-gray-100 hover:bg-theme-300 hover:text-theme-800 focus:bg-theme-400 focus:text-theme-900 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-theme-50 focus:ring-theme-50':\n !_vm.pendingInvitations || _vm.pendingInvitations === 0\n },attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"listbox-label\"},on:{\"click\":_vm.showPendingLinks}},[(_vm.pendingInvitations > 0)?_c('div',[_vm._v(\" \"+_vm._s(_vm.pendingInvitations)+\" \"),(_vm.pendingInvitations === 1)?_c('span',{staticClass:\" hidden md:inline-block lowercase\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.one\"))+\" \")]):_c('span',{staticClass:\" hidden md:inline-block lowercase\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.multiple\"))+\" \")])]):_vm._e(),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"}})])])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport services from \"@/services\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\n\n@Component({\n components: {}\n})\nexport default class PendingInvitationsButton extends Vue {\n showPendingLinks() {\n tinyEventBus().emitter.emit(\"view-pending-invitations\");\n }\n mounted() {\n services.tenants.getCurrentUsage(AppUsageType.PENDING_INVITATIONS);\n }\n get pendingInvitations(): number {\n return store.state.app.usage.pendingInvitations;\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingInvitationsButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingInvitationsButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PendingInvitationsButton.vue?vue&type=template&id=67fa4c5d&\"\nimport script from \"./PendingInvitationsButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./PendingInvitationsButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentRole < 3)?_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeShowQuickActions),expression:\"closeShowQuickActions\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"inline-flex shadow-none rounded-sm divide-x divide-gray-300\"},[_c('div',{staticClass:\"text-sm relative z-0 inline-flex shadow-none rounded-full\"},[_c('button',{staticClass:\"text-gray-800 bg-gray-50 border-gray-100 shadow-inner border relative inline-flex items-center p-2 rounded-full font-medium hover:bg-theme-300 hover:text-theme-800 focus:bg-theme-400 focus:text-theme-900 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-theme-50 focus:ring-theme-100\",attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"listbox-label\"},on:{\"click\":function($event){_vm.showQuickActions = !_vm.showQuickActions}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.new\")))]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"fill\":\"none\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})])])])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showQuickActions),expression:\"showQuickActions\"}],staticClass:\"z-40 origin-top-right absolute right-0 mt-2 w-72 rounded-sm shadow-lg overflow-hidden bg-white divide-y divide-gray-200 ring-1 ring-black ring-opacity-5 focus:outline-none\",attrs:{\"tabindex\":\"-1\",\"role\":\"listbox\",\"aria-labelledby\":\"listbox-label\",\"aria-activedescendant\":\"listbox-option-0\"}},[_c('li',{staticClass:\"text-gray-900 cursor-default select-none relative text-sm\",attrs:{\"id\":\"listbox-option-0\",\"role\":\"option\"}},[_c('router-link',{staticClass:\"flex flex-col p-4 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.contracts.new' }},nativeOn:{\"click\":function($event){_vm.showQuickActions = false}}},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.new.title\"))+\" \")])]),_c('p',{staticClass:\"text-gray-500 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.new.description\"))+\" \")])])],1),_c('li',{staticClass:\"text-gray-900 cursor-default select-none relative text-sm\",attrs:{\"id\":\"listbox-option-0\",\"role\":\"option\"}},[_c('button',{staticClass:\"text-left flex flex-col p-4 hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newProvider}},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.new.title\"))+\" \")])]),_c('p',{staticClass:\"text-gray-500 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.new.description\"))+\" \")])])]),_c('li',{staticClass:\"text-gray-900 cursor-default select-none relative text-sm\",attrs:{\"id\":\"listbox-option-0\",\"role\":\"option\"}},[_c('button',{staticClass:\"text-left flex flex-col p-4 hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newClient}},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.clients.new.title\"))+\" \")])]),_c('p',{staticClass:\"text-gray-500 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.clients.new.description\"))+\" \")])])]),(false)?_c('li',{staticClass:\"text-gray-900 cursor-default select-none relative text-sm\",attrs:{\"role\":\"option\"}},[_c('router-link',{staticClass:\"flex flex-col p-4 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.cfdis.upload' }},nativeOn:{\"click\":function($event){_vm.showQuickActions = false}}},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.uploadCfdis\"))+\" \")])]),_c('p',{staticClass:\"text-gray-500 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.uploadDescription\"))+\" \")])])],1):_vm._e(),(_vm.isOwnerOrAdmin)?_c('li',{staticClass:\"text-gray-900 cursor-default select-none relative text-sm\",attrs:{\"role\":\"option\"}},[_c('router-link',{staticClass:\"flex flex-col p-4 hover:bg-gray-50\",attrs:{\"to\":{ name: 'settings.tenant.workspaces.new' }},nativeOn:{\"click\":function($event){_vm.showQuickActions = false}}},[_c('div',{staticClass:\"flex justify-between\"},[_c('p',{staticClass:\"font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.create\"))+\" \")])]),_c('p',{staticClass:\"text-gray-500 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.createDescription\"))+\" \")])])],1):_vm._e()])])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport store from \"@/store\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n\n@Component({\n components: {}\n})\nexport default class QuickActionsButton extends Vue {\n showQuickActions = false;\n\n closeShowQuickActions() {\n this.showQuickActions = false;\n }\n newProvider() {\n this.showQuickActions = false;\n tinyEventBus().emitter.emit(\"new-provider\");\n }\n newClient() {\n this.showQuickActions = false;\n tinyEventBus().emitter.emit(\"new-client\");\n }\n get isOwnerOrAdmin(): boolean {\n return (\n this.currentRole === TenantUserRole.OWNER ||\n this.currentRole === TenantUserRole.ADMIN\n );\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickActionsButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuickActionsButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuickActionsButton.vue?vue&type=template&id=dbbfb64a&\"\nimport script from \"./QuickActionsButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuickActionsButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeDropdownUser),expression:\"closeDropdownUser\"}],staticClass:\"relative\"},[_c('div',{staticClass:\"inline-flex shadow-none rounded-sm divide-x divide-gray-300\"},[_c('button',{staticClass:\"bg-gray-50 border border-gray-100 focus:outline-none focus:ring-2 focus:ring-theme-100 focus:ring-offset-2 focus:ring-offset-theme-50 focus:text-theme-900 focus:z-10 font-medium hover:text-theme-800 inline-flex items-center relative rounded-full shadow-inner text-blueGray-400\",class:{\n 'p-2 focus:bg-theme-400 hover:bg-theme-300': !_vm.avatar,\n 'p-1 hover:bg-gray-200': _vm.avatar\n },attrs:{\"id\":\"user-menu\",\"aria-label\":\"User menu\",\"aria-haspopup\":\"true\"},on:{\"click\":function($event){_vm.dropDownUser = !_vm.dropDownUser}}},[(_vm.avatar)?_c('img',{staticClass:\"inline-flex items-center justify-center h-8 w-8 rounded-full bg-blueGray-800\",attrs:{\"src\":_vm.avatar,\"alt\":\"\"}}):_c('span',{staticClass:\"inline-block h-5 w-5 rounded-full overflow-hidden\"},[_c('svg',{staticClass:\"h-full w-full\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z\"}})])])])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dropDownUser),expression:\"dropDownUser\"}],staticClass:\"z-40 origin-top-right absolute right-0 mt-2 w-64 rounded-sm shadow-lg overflow-hidden bg-white divide-y divide-gray-200 ring-1 ring-black ring-opacity-5 focus:outline-none\"},[_c('div',{staticClass:\"py-1 rounded-sm bg-white shadow-xs\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"user-menu\"}},[_c('a',{staticClass:\"truncate group flex items-center px-4 py-2 text-sm text-gray-700 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\"}},[_c('div',{staticClass:\" flex flex-col space-y-1 truncate\"},[_c('div',{staticClass:\" font-medium\"},[_vm._v(\" \"+_vm._s(_vm.profileName)+\" \")]),_c('div',{staticClass:\" font-bold truncate\"},[_vm._v(\" \"+_vm._s(_vm.email)+\" \")])])]),_c('div',{staticClass:\"border-t border-gray-200\"}),_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\",\"to\":{ name: 'settings.profile' }},nativeOn:{\"click\":function($event){return _vm.closeDropdownUser($event)}}},[_vm._v(_vm._s(_vm.$t(\"app.navbar.profile\")))]),_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\",\"to\":{ name: 'settings.tenant.general' }},nativeOn:{\"click\":function($event){return _vm.closeDropdownUser($event)}}},[_vm._v(_vm._s(_vm.$t(\"app.navbar.tenant\")))]),_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\",\"to\":{ name: 'settings.tenant.subscription' }},nativeOn:{\"click\":function($event){return _vm.closeDropdownUser($event)}}},[_vm._v(_vm._s(_vm.$t(\"app.navbar.subscription\")))]),_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\",\"to\":{ name: 'settings.tenant.workspaces' }},nativeOn:{\"click\":function($event){return _vm.closeDropdownUser($event)}}},[_vm._v(_vm._s(_vm.$t(\"app.navbar.workspaces\")))]),_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150\",attrs:{\"role\":\"menuitem\",\"to\":{ name: 'settings.tenant.members' }},nativeOn:{\"click\":function($event){return _vm.closeDropdownUser($event)}}},[_vm._v(_vm._s(_vm.$t(\"app.navbar.members\")))]),_c('button',{staticClass:\"text-left w-full block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150 focus:outline-none\",attrs:{\"role\":\"menuitem\"},on:{\"click\":_vm.logout}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.navbar.signOut\"))+\" \")])],1)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\n\n@Component({\n components: {}\n})\nexport default class ProfileButton extends Vue {\n dropDownUser = false;\n closeDropdownUser() {\n this.dropDownUser = false;\n }\n logout() {\n store.dispatch(\"auth/logout\");\n }\n get user(): UserDto | null {\n return store.state.account.user;\n }\n get avatar(): string {\n return this.user?.avatar ?? \"\";\n }\n get email() {\n return this.user?.email ?? \"\";\n }\n get profileName(): string {\n if (this.user) {\n if (this.user.firstName && this.user.lastName) {\n return this.user.firstName + \" \" + this.user.lastName;\n } else {\n return this.user.email;\n }\n }\n return \"--\";\n }\n get avatarText(): string {\n if (this.user) {\n if (this.user.firstName && this.user.lastName) {\n if (this.user.firstName.length > 0 && this.user.lastName.length > 0) {\n return (this.user.firstName[0] + this.user.lastName[0]).toUpperCase();\n } else if (this.user.firstName.length > 1) {\n return this.user.firstName.substring(0, 2).toUpperCase();\n } else if (this.user.email.length > 1) {\n return this.user.email.substring(0, 2).toUpperCase();\n }\n } else {\n return this.user.email.substring(0, 2).toUpperCase();\n }\n }\n return \"--\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProfileButton.vue?vue&type=template&id=7cac8a20&\"\nimport script from \"./ProfileButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProfileButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"relative\"},[_c('div',[_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"id\":\"chat-label\"}},[_vm._v(\" Chat \")]),_c('div',{staticClass:\"relative\"},[_c('div',{staticClass:\"inline-flex shadow-none rounded-sm divide-x divide-gray-300\"},[_c('div',{staticClass:\"text-sm relative z-0 inline-flex shadow-none rounded-full\"},[_c('button',{staticClass:\"text-gray-800 bg-gray-50 border-gray-100 shadow-inner border relative inline-flex items-center p-2 rounded-full font-medium hover:bg-theme-300 hover:text-theme-800 focus:bg-theme-400 focus:text-theme-900 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-theme-50 focus:ring-theme-100\",attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"chat-label\"},on:{\"click\":_vm.showChat}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Chat\")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z\"}})])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\n\n@Component({\n components: {}\n})\nexport default class ChatSupportButton extends Vue {\n showChat() {\n // @ts-ignore\n $crisp.push([\"do\", \"chat:show\"]);\n // @ts-ignore\n $crisp.push([\"do\", \"chat:open\"]);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatSupportButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatSupportButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChatSupportButton.vue?vue&type=template&id=0e9d4437&\"\nimport script from \"./ChatSupportButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChatSupportButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport TenantNew from \"@/components/app/settings/tenant/TenantNew.vue\";\nimport TenantSubscriptionStatus from \"@/components/app/settings/tenant/subscription/TenantSubscriptionStatus.vue\";\nimport Breadcrumb from \"../Breadcrumb.vue\";\nimport { SignalService } from \"@/plugins/SignalR\";\nimport { Prop, Watch } from \"vue-property-decorator\";\nimport { RouteConfig } from \"vue-router\";\nimport { SideBarItem } from \"@/application/sidebar/SidebarItem\";\nimport { SidebarGroup } from \"@/application/sidebar/SidebarGroup\";\nimport { AdminSidebar } from \"@/application/sidebar/AdminSidebar\";\nimport { AppSidebar } from \"@/application/sidebar/AppSidebar\";\nimport services from \"../../../services\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport WorkspaceSelector from \"@/components/app/workspaces/WorkspaceSelector.vue\";\nimport TenantSelector from \"@/components/app/selectors/TenantSelector.vue\";\nimport store from \"@/store\";\nimport LinksInformationModal from \"../../app/v3/contacts/LinksInformationModal.vue\";\nimport PendingInvitationsSideModal from \"../../app/v3/contacts/PendingInvitationsSideModal.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport LinksInformationButton from \"../shared/LinksInformationButton.vue\";\nimport PendingInvitationsButton from \"../shared/PendingInvitationsButton.vue\";\nimport QuickActionsButton from \"../shared/QuickActionsButton.vue\";\nimport ProfileButton from \"../shared/ProfileButton.vue\";\nimport ChatSupportButton from \"../shared/ChatSupportButton.vue\";\nimport LinkForm from \"@/components/app/v3/contacts/LinkForm.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\n\n@Component({\n metaInfo: {\n title: \"App\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n TenantNew,\n TenantSubscriptionStatus,\n Breadcrumb,\n WorkspaceSelector,\n TenantSelector,\n LinksInformationModal,\n PendingInvitationsSideModal,\n LinksInformationButton,\n PendingInvitationsButton,\n QuickActionsButton,\n ProfileButton,\n ChatSupportButton,\n LinkForm,\n ErrorModal\n }\n})\nexport default class SidebarLayout extends Vue {\n $refs!: {\n mainElement: HTMLElement;\n sideModalPendingInvitations: PendingInvitationsSideModal;\n modalLinksInformation: LinksInformationModal;\n newProviderLinkForm: LinkForm;\n newClientLinkForm: LinkForm;\n newLinkForm: LinkForm;\n errorModal: ErrorModal;\n };\n @Prop()\n layout!: string;\n sidebarOpen = false;\n dropDownTenantMobile = false;\n dropDownTenantDesktop = false;\n menu: SideBarItem[] = [];\n expanded: number[] = [];\n addingTenant = false;\n whatsAppLink = \"\";\n phone = \"\";\n token = \"\";\n isSandbox = false;\n activeContracts: ContractDto[] = [];\n mounted() {\n // @ts-ignore\n $crisp.push([\"do\", \"chat:hide\"]);\n this.isSandbox = process.env.VUE_APP_SERVICE === \"sandbox\" ?? false;\n // store.commit(\"theme/theme\", Theme.Light);\n if (this.layout === \"admin\") {\n this.menu = AdminSidebar;\n } else {\n this.menu = AppSidebar;\n this.whatsAppLink = \"\";\n this.phone = process.env.VUE_APP_PHONE?.toString() ?? \"\";\n if (this.phone) {\n this.whatsAppLink += `https://wa.me/${this.phone}`;\n }\n if (this.token) {\n this.whatsAppLink += `?text=${this.token}`;\n }\n }\n this.menu.forEach(group => {\n group.items?.forEach((element, index) => {\n if (element.open) {\n this.expanded.push(index);\n } else {\n this.expanded = this.expanded.filter(f => f !== index);\n }\n });\n });\n this.showConversations();\n\n services.tenants.getAll();\n services.workspaces.getAllWorkspaces(true).then(response => {\n if (response.length === 0) {\n this.$refs.errorModal.show(\n this.$t(\"app.workspaces.errors.noWorkspaces\"),\n this.$t(\"app.workspaces.errors.addAtLeastOneWorkspace\")\n );\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n }\n });\n\n SignalService.on(\"UserConnected\", message => {\n console.log(\"[Message received] \" + message);\n });\n tinyEventBus().emitter.on(\"view-pending-invitations\", () => {\n this.$router.push({ name: \"app.links.pending\" });\n });\n tinyEventBus().emitter.on(\"view-links-information\", () => {\n this.$refs.modalLinksInformation.show();\n });\n tinyEventBus().emitter.on(\"new-provider\", () => {\n this.$refs.newProviderLinkForm.show();\n });\n tinyEventBus().emitter.on(\"new-client\", () => {\n this.$refs.newClientLinkForm.show();\n });\n tinyEventBus().emitter.on(\"new-link\", () => {\n this.$refs.newLinkForm.show();\n });\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"view-pending-invitations\");\n tinyEventBus().emitter.off(\"view-pending-links\");\n tinyEventBus().emitter.off(\"view-links-information\");\n tinyEventBus().emitter.off(\"new-provider\");\n tinyEventBus().emitter.off(\"new-client\");\n tinyEventBus().emitter.off(\"new-link\");\n }\n showConversations() {\n // @ts-ignore\n if (this.$intercom) {\n // @ts-ignore\n // this.$intercom.boot({\n // user_id: store.state.account.user.id,\n // name: store.state.account.user.firstName,\n // email: store.state.account.user.email,\n // });\n // this.$intercom.show();\n }\n // @ts-ignore\n if (this.$drift) {\n // @ts-ignore\n // this.$drift.identify(store.state.account.user.id, {\n // name: store.state.account.user.firstName,\n // email: store.state.account.user.email,\n // });\n // this.$drift.show();\n }\n }\n changeTenant(tenant: TenantDto) {\n this.closeDropdownTenant();\n services.users.updateDefaultTenant(tenant.id).then(() => {\n this.$router.go(0);\n });\n }\n closeSidebar() {\n if (this.sidebarOpen) {\n this.sidebarOpen = false;\n }\n }\n closeDropdownTenant() {\n this.dropDownTenantMobile = false;\n }\n closeDropdownTenantDesktop() {\n this.dropDownTenantDesktop = false;\n }\n toggleMenuItem(index) {\n if (this.expanded.includes(index)) {\n this.expanded = this.expanded.filter(item => item !== index);\n } else {\n this.expanded.push(index);\n }\n }\n menuItemIsExpanded(index: number) {\n return this.expanded.includes(index);\n }\n translate(title) {\n return this.$t(title.trim());\n }\n addTenant() {\n this.sidebarOpen = false;\n this.closeDropdownTenantDesktop();\n this.addingTenant = true;\n }\n createdTenant() {\n this.addingTenant = false;\n }\n // addPricesToAdminSidebar(prices: SideBarItem) {\n // prices.items = [];\n // if (prices && this.products) {\n // this.products.forEach((element: SubscriptionProductDto) => {\n // const price: SideBarItem = {\n // title: element.title,\n // pathName: \"/admin/products/\" + element.id,\n // items: []\n // };\n // if (element.id && price) {\n // prices.items?.push(price);\n // }\n // });\n // if (prices.items.length > 0) {\n // prices.items.unshift({\n // title: this.$t(\"shared.all\"),\n // name: \"admin.products\",\n // items: []\n // });\n // // prices.open = true;\n // }\n // }\n // }\n addToBreadcrumb(items: any, route: RouteConfig) {\n if (route.path !== this.$route.path) {\n if (!items.some(f => f.link === route.path)) {\n items.push({\n name: route.meta?.title ?? \"Untitled\",\n link: route.path\n });\n }\n }\n }\n getPlanFromTenant(tenant: TenantDto): string {\n if (\n tenant.products &&\n tenant.products.length > 0 &&\n tenant.products[0].subscriptionProduct\n ) {\n return tenant.products[0].subscriptionProduct.title;\n } else {\n if (tenant.subdomain === \"admin\") {\n return \"Admin\";\n } else {\n return this.$t(\"settings.tenant.subscription.notSubscribed\").toString();\n }\n }\n }\n get products(): SubscriptionProductDto[] {\n return store.state.pricing.products as SubscriptionProductDto[];\n }\n get myTenants(): TenantDto[] {\n return store.state.tenant.tenants;\n }\n get currentTenant(): TenantDto {\n return store.state.tenant.current ?? ({ name: \"Undefinded\" } as TenantDto);\n }\n get currentUserType(): UserType {\n return store.state.account.user?.type ?? UserType.Tenant;\n }\n get getMenu(): SidebarGroup[] {\n // if (this.layout === \"admin\" && this.menu.length > 0 && this.menu[0].items) {\n // const prices: SideBarItem | undefined = this.menu[0].items.find(\n // f => f.pathName === \"admin.pricing\"\n // );\n // if (prices) {\n // prices.items = [];\n // this.addPricesToAdminSidebar(prices);\n // }\n // }\n const menu: SidebarGroup[] = [];\n this.menu.forEach(({ title, items, userTypes, userRoles }) => {\n if (\n (!userTypes || userTypes.includes(this.currentUserType)) &&\n (!userRoles || userRoles.includes(this.currentRole))\n ) {\n const validItems: SideBarItem[] = [];\n items.forEach(f => {\n if (\n (!f.userTypes || f.userTypes.includes(this.currentUserType)) &&\n (!f.userRoles || f.userRoles.includes(this.currentRole))\n ) {\n validItems.push(f);\n }\n });\n const addGroup: SidebarGroup = {\n title: title.toString(),\n items: validItems\n };\n if (addGroup.items.length > 0) {\n menu.push(addGroup);\n }\n }\n });\n return menu;\n }\n get currentRole() {\n return (\n store.state.tenant?.current?.currentUser?.role ?? TenantUserRole.GUEST\n );\n }\n get currentWorkspaceId(): string {\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n }\n @Watch(\"$route.path\")\n scroll() {\n this.$refs.mainElement.scrollTo(0, 0);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarLayout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SidebarLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SidebarLayout.vue?vue&type=template&id=2781fec4&\"\nimport script from \"./SidebarLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./SidebarLayout.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum DocumentationType {\n SAT_ARTICLES_OF_INCORPORATION_DOCS,\n SAT_COMPLIANCE,\n SAT_MONTHLY_ISR_STATEMENT,\n SAT_MONTHLY_TAX_STATEMENT,\n SAT_MONTHLY_PAYMENT,\n SAT_YEARLY_STATEMENT,\n SAT_YEARLY_PAYMENT,\n IMSS_COMPLIANCE,\n IMSS_SIPARE_SUA,\n IMSS_SUA_EMPLOYEES_FEES,\n IMSS_SIPARE_SUA_PAYMENT,\n INFONAVIT_COMPLIANCE,\n IMSS_ICSOE,\n INFONAVIT_SISUB,\n STPS_REPSE,\n SAT_CFDIS,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):(_vm.item && _vm.item.id)?_c('div',[_c('div',{staticClass:\"relative min-h-screen \"},[_c('main',{staticClass:\"py-4\"},[_c('div',{staticClass:\"max-w-5xl mx-auto md:flex md:items-center md:justify-between md:space-x-5 lg:max-w-7xl\"},[_c('div',{staticClass:\"flex items-center space-x-5 truncate\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('div',{staticClass:\"relative\"},[_c('svg',{staticClass:\"h-16 w-16\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"48\",\"height\":\"48\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',[_c('path',{attrs:{\"d\":\"M150.5,150.5h-129v-114.66667c0,-7.88333 6.45,-14.33333 14.33333,-14.33333h100.33333c7.88333,0 14.33333,6.45 14.33333,14.33333z\",\"fill\":\"#a3bffa\"}}),_c('path',{attrs:{\"d\":\"M21.5,150.5h129v7.16667h-129z\",\"fill\":\"#667eea\"}}),_c('path',{attrs:{\"d\":\"M111.08333,96.75h21.5v17.91667h-21.5zM75.25,96.75h21.5v17.91667h-21.5zM39.41667,96.75h21.5v17.91667h-21.5zM111.08333,125.41667h21.5v17.91667h-21.5zM39.41667,125.41667h21.5v17.91667h-21.5zM111.08333,68.08333h21.5v17.91667h-21.5zM75.25,68.08333h21.5v17.91667h-21.5zM39.41667,68.08333h21.5v17.91667h-21.5zM111.08333,39.41667h21.5v17.91667h-21.5zM75.25,39.41667h21.5v17.91667h-21.5zM39.41667,39.41667h21.5v17.91667h-21.5zM75.25,125.41667h21.5v32.25h-21.5z\",\"fill\":\"#5a67d8\"}})])])])])]),_c('div',{staticClass:\"truncate\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('h1',{staticClass:\"text-2xl font-bold text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.item.name)+\" \")])]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Creado por \"),(_vm.item.createdByUser)?_c('span',[_vm._v(\" por \"),_c('span',{staticClass:\"text-gray-900\"},[_vm._v(_vm._s(_vm.item.createdByUser.email))])]):_vm._e(),_vm._v(\" en \"),_c('time',{attrs:{\"datetime\":_vm.item.createdAt}},[_vm._v(\" \"+_vm._s(_vm.dateMonthDayYear(_vm.item.createdAt))+\" \")])])])])]),_c('div',{staticClass:\"mt-8 max-w-3xl mx-auto grid grid-cols-1 gap-3 lg:max-w-7xl lg:grid-flow-col-dense lg:grid-cols-3 xl:gap-6\"},[_c('div',{staticClass:\"space-y-6 lg:col-start-1 lg:col-span-2\"},[_c('section',{attrs:{\"aria-labelledby\":\"applicant-information-title\"}},[_c('div',{staticClass:\"bg-white shadow sm:rounded-lg\"},[_c('div',{staticClass:\"px-4 py-5 sm:px-6\"},[_c('h2',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"applicant-information-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.profile.company\"))+\" \")]),_c('p',{staticClass:\"mt-1 max-w-2xl text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.profile.general\"))+\" \")])]),_c('div',{staticClass:\"border-t border-gray-200 px-4 py-5 sm:px-6\"},[_c('dl',{staticClass:\"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3\"},[_c('div',{staticClass:\"sm:col-span-3\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.item.name)+\" \")])]),_c('div',{staticClass:\"sm:col-span-1\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.plural\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[(_vm.item.workspaces)?_c('span',[_vm._v(\" \"+_vm._s(_vm.item.workspaces.length)+\" \")]):_vm._e()])]),_c('div',{staticClass:\"sm:col-span-2\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[(_vm.item.users)?_c('span',[_vm._v(\" \"+_vm._s(_vm.item.users.length)+\" \")]):_vm._e()])])])])])])])])])])]):_vm._e()],1),_c('SuccessModal',{ref:\"successModalDeleted\",on:{\"closed\":_vm.successModalDeletedClosed}}),_c('ConfirmModal',{ref:\"confirmDelete\",on:{\"yes\":_vm.confirmedDelete}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport services from \"@/services\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Perfil de Organización\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n ContractClock,\n ContractCheck,\n ContractArchived,\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n Sign,\n Loading\n }\n})\nexport default class TenantProfile extends Vue {\n $refs!: {\n confirmDelete: ConfirmModal;\n successModalDeleted: SuccessModal;\n errorModal: ErrorModal;\n };\n id = \"\";\n year = 0;\n loading = false;\n loadingContracts = false;\n openOptions = false;\n\n item: TenantDto = {} as TenantDto;\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.closeOptions();\n this.loading = true;\n services.tenants\n .get(this.id)\n .then(response => {\n this.item = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n deleteTenant() {\n this.closeOptions();\n this.$refs.confirmDelete.show(\n \"¿Eliminar organización?\",\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: Se eliminarán todas sus empresas, usuarios e información que haya subido.\"\n );\n }\n confirmedDelete() {\n this.loading = true;\n services.tenants\n .adminDelete(this.id)\n .then(() => {\n this.$refs.successModalDeleted.show(\"Organización eliminada\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error eliminando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n successModalDeletedClosed() {\n this.$router.push({ name: \"admin.clients\" });\n }\n closeOptions() {\n this.openOptions = false;\n }\n toggleOptions() {\n this.openOptions = !this.openOptions;\n }\n dateMonthDayYear(value: Date | undefined) {\n return DateUtils.dateMonthDayYear(value);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantProfile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantProfile.vue?vue&type=template&id=07220ada&\"\nimport script from \"./TenantProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantProfile.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[(_vm.$store.state.tenant.current.subdomain !== 'admin')?_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.title\"))+\" \")]),_c('div',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[(_vm.subscription)?_c('span',[_c('p',{staticClass:\"text-xs text-gray-900 font-bold\"}),_c('p',[_c('button',{staticClass:\"text-gray-500 font-medium hover:underline hover:text-gray-600\",on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.clickCancel\"))+\" \")])])]):_c('span',[_vm._v(_vm._s(_vm.$t(\"settings.tenant.subscription.description\")))])])])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[(!_vm.subscription && (!_vm.products || _vm.products.length === 0) && false)?_c('div',[_c('div',{staticClass:\"rounded-sm bg-yellow-50 p-4 mb-4 border border-yellow-200 shadow-sm\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-yellow-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-yellow-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.notSubscribed\"))+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-yellow-700\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t( \"settings.tenant.subscription.notSubscribedDescription\" ))+\" \")])])])])])]):_vm._e(),_c('tenant-subscription-products',{staticClass:\"mb-4 bg-white shadow-sm px-4 py-5 sm:p-6 space-y-2 sm:rounded-sm\",attrs:{\"withCurrentPlan\":true}}),_c('tenant-subscription-plan'),_c('tenant-subscription-payment-details',{staticClass:\"mt-3\"})],1)]):_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6 block text-sm font-medium leading-5 text-gray-700\"},[_c('div',{staticClass:\"rounded-sm bg-yellow-50 p-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-yellow-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-yellow-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.warning\"))+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-yellow-700\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"admin.cannotHaveSubscription\")))])])])])])]),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.confirmCancel}}),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('form',{attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"shadow sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6 space-y-2\"},[_c('div',{staticClass:\"flex items-center space-x-2 justify-between\"},[_c('h3',{staticClass:\"leading-5 font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upgrade\"))+\" \")])]),_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('plans',{ref:\"plans\",staticClass:\" -mt-6 col-span-6\",attrs:{\"plansLabel\":false,\"showCurrent\":true}})],1)]),_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6\"},[(false)?_c('button',{staticClass:\"mx-2 py-2 px-4 border border-transparent text-sm leading-5 font-medium rounded-sm text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-shadow active:bg-gray-900 transition duration-150 ease-in-out\",on:{\"click\":_vm.openCustomerPortal}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.openCustomerPortal\"))+\" \")])]):_vm._e(),_c('button',{staticClass:\"py-2 px-4 text-sm leading-5 font-medium rounded-sm text-gray-800 bg-gray-100 border border-gray-200 shadow-sm hover:bg-gray-200 focus:outline-none focus:shadow-outline-blue active:bg-gray-600 transition duration-150 ease-in-out\",on:{\"click\":_vm.openDropdown}},[_c('span',[_vm._v(\" \"+_vm._s(!_vm.editing ? _vm.$t(\"shared.change\") : _vm.$t(\"shared.cancel\"))+\" \")])]),(_vm.editing && _vm.saveText)?_c('loading-button',{ref:\"loadingButton\",staticClass:\"ml-3 py-2 px-4 border border-transparent text-sm leading-5 font-medium rounded-sm text-white bg-gray-800 shadow-sm hover:bg-gray-700 active:bg-gray-900 transition duration-150 ease-in-out\",class:{\n ' opacity-50 cursor-not-allowed': _vm.selectingCurrentTenantProduct\n },attrs:{\"disabled\":_vm.selectingCurrentTenantProduct},on:{\"click\":_vm.updateSubscription}},[_vm._v(_vm._s(_vm.saveText))]):_vm._e()],1)])]),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.yesUpdate}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport Plans from \"@/components/marketing/pricing/PlansRadioButtons.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport BillingPeriodToggle from \"@/components/marketing/toggles/BillingPeriodToggle.vue\";\nimport { SubscriptionCardDto } from \"@/application/dtos/master/subscriptions/SubscriptionCardDto\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport services from \"@/services\";\nimport TenantUtils from \"@/utils/store/TenantUtils\";\n\n@Component({\n components: {\n Plans,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n BillingPeriodToggle,\n LoadingButton\n }\n})\nexport default class TenantSubscriptionPlan extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmModal: ConfirmModal;\n loadingButton: LoadingButton;\n plans: Plans;\n };\n editing = false;\n subscriptionCard!: SubscriptionCardDto;\n updateSubscription() {\n if (\n !this.selectedPrice ||\n !this.selectedPrice.serviceId ||\n !this.selectedProduct\n ) {\n this.$refs.errorModal.show(\n this.$t(\"shared.error\"),\n this.$t(\"settings.tenant.subscription.errors.selectPlan\")\n );\n return;\n }\n if (\n this.selectedPrice.trialDays === 0 &&\n this.selectedPrice.price > 0 &&\n !this.subscriptionCard\n ) {\n this.$refs.errorModal.show(this.$t(\"settings.tenant.payment.notSet\"));\n return;\n }\n if (this.selectingCurrentTenantProduct) {\n this.$refs.errorModal.show(\n this.$t(\"settings.tenant.subscription.alreadySubscribed\")\n );\n return;\n }\n\n this.$refs.confirmModal.show(\n this.$t(\"shared.updateSubscriptionTo?\", [\n this.selectedProduct.title\n ]).toString(),\n this.$t(\"shared.confirm\").toString(),\n this.$t(\"shared.back\").toString(),\n this.priceDescription\n );\n }\n yesUpdate() {\n if (!this.selectedPrice) {\n return;\n }\n this.$refs.loadingButton.start();\n services.subscriptionManager\n .updateSubscription({\n subscriptionPriceId: this.selectedPrice.id\n })\n .then(() => {\n services.subscriptionManager.getCurrentSubscription();\n services.tenants.getFeatures();\n this.$refs.successModal.show(\n \"Actualizada\",\n this.$t(\"settings.tenant.subscription.updated\")\n );\n tinyEventBus().emitter.emit(\"updated-plan\");\n this.editing = false;\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n async openCustomerPortal() {\n services.subscriptionManager\n .createCustomerPortalSession()\n .then((result: any) => {\n location = result.data.url;\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n openDropdown() {\n if (this.editing) {\n this.$refs.plans.open();\n } else {\n this.$refs.plans.closeDropdown();\n }\n this.editing = !this.editing;\n }\n get selectedProduct() {\n return store.state.pricing.selectedProduct;\n }\n get selectedPrice() {\n return this.selectedProduct?.prices.find(\n f => f.billingPeriod === store.state.pricing.billingPeriod\n );\n }\n get activeTenantProducts() {\n return TenantUtils.activeProducts();\n }\n get selectingCurrentTenantProduct() {\n if (this.selectedPrice && this.activeTenantProducts.length > 0) {\n return this.selectedPrice.id === this.activeTenantProducts[0].id;\n }\n return false;\n }\n get priceDescriptionSmall(): string {\n if (!this.selectedPrice) {\n return \"\";\n }\n const price = this.selectedPrice.price;\n const currency = this.selectedPrice.currency;\n const period =\n \"/\" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[this.selectedPrice.billingPeriod] +\n \"Short\"\n );\n return `${price} ${currency}${period}`;\n }\n get priceDescription(): string {\n if (!this.selectedPrice) {\n return \"\";\n }\n const price = this.selectedPrice.price;\n const currency = this.selectedPrice.currency;\n const period =\n \"/\" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[this.selectedPrice.billingPeriod] +\n \"Short\"\n );\n // const feature = this.selectedProduct?.features[0].value;\n return `${price} ${currency}${period}.`;\n }\n get myProducts(): TenantProductDto[] {\n const products = store.state.tenant.subscription\n ?.myProducts as TenantProductDto[];\n if (products && products.length > 0) {\n return products.filter(\n f =>\n f.subscriptionPrice.billingPeriod !== SubscriptionBillingPeriod.ONCE\n );\n }\n return [];\n }\n get saveText() {\n return this.$t(\"shared.upgrade\");\n // if (!this.selectedPrice) {\n // return this.$t(\"shared.upgrade\");\n // } else if (this.selectedPrice.price === 0) {\n // return this.$t(\"marketing.pricing.get\");\n // } else if (\n // this.selectedPrice.billingPeriod === SubscriptionBillingPeriod.ONCE\n // ) {\n // return this.$t(\"marketing.pricing.buy\");\n // } else if (!this.activePrice) {\n // return this.$t(\"marketing.pricing.subscribe\");\n // }\n // return this.$t(\"marketing.pricing.updateSubscription\");\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionPlan.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionPlan.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscriptionPlan.vue?vue&type=template&id=244cddba&\"\nimport script from \"./TenantSubscriptionPlan.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscriptionPlan.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"shadow overflow-hidden sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 sm:col-span-6 w-full\"},[_c('span',{staticClass:\"flex justify-between leading-5 font-medium text-gray-900 mb-4\",attrs:{\"id\":\"listbox-label\"}},[_vm._v(_vm._s(_vm.$t(\"settings.tenant.payment.title\")))]),(_vm.subscriptionCard && !_vm.editing)?_c('div',{staticClass:\"text-gray-600 text-sm font-semibold\"},[_c('span',{staticClass:\"uppercase\"},[_vm._v(_vm._s(_vm.subscriptionCard.brand))]),_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.payment.ending\"))+\" **** \"+_vm._s(_vm.subscriptionCardLast4)+\" - \"+_vm._s(_vm.subscriptionCardExpDesc)+\" \")]):_c('div',[(_vm.editing)?_c('div',{attrs:{\"id\":\"card-element\"}},[_c('card',{ref:\"card\",staticClass:\"stripe-card w-full\",class:_vm.complete ? 'border-1 border-green-100' : '',attrs:{\"stripe\":_vm.stripeKey,\"options\":_vm.stripeOptions},on:{\"change\":function($event){_vm.complete = $event.complete}}})],1):_c('div',{staticClass:\"text-red-500 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.payment.notSet\"))+\" \")])])])])]),_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6\"},[_c('button',{staticClass:\"py-2 px-4 text-sm leading-5 font-medium rounded-sm text-gray-800 bg-gray-100 border border-gray-200 shadow-sm hover:bg-gray-200 focus:outline-none focus:shadow-outline-blue active:bg-gray-600 transition duration-150 ease-in-out\",on:{\"click\":function($event){_vm.editing = !_vm.editing}}},[_c('span',[_vm._v(\" \"+_vm._s(!_vm.editing ? _vm.$t(\"shared.edit\") : _vm.$t(\"shared.cancel\"))+\" \")])]),(_vm.editing)?_c('loading-button',{ref:\"loadingButton\",staticClass:\"ml-3 py-2 px-4 border border-transparent text-sm leading-5 font-medium rounded-sm text-white bg-gray-800 shadow-sm hover:bg-gray-700 active:bg-gray-900 transition duration-150 ease-in-out\",on:{\"click\":_vm.updatePaymentDetails}},[_vm._v(_vm._s(_vm.$t(\"shared.save\")))]):_vm._e()],1)])]),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport { SubscriptionCardDto } from \"../../../../../application/dtos/master/subscriptions/SubscriptionCardDto\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport { Card, createToken } from \"vue-stripe-elements-plus\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n LoadingButton,\n SuccessModal,\n ErrorModal,\n Card\n }\n})\nexport default class TenantSubscriptionPaymentDetails extends Vue {\n $refs!: {\n successModal: SuccessModal;\n errorModal: ErrorModal;\n loadingButton: LoadingButton;\n };\n editing = false;\n stripeKey!: string;\n stripeOptions!: any;\n complete = false;\n subscriptionCard!: SubscriptionCardDto;\n created() {\n this.stripeKey = process.env.VUE_APP_SUBSCRIPTION_PUBLIC_KEY ?? \"\";\n this.stripeOptions = {\n showCardHolderName: true,\n hidePostalCode: false,\n iconStyle: \"solid\",\n elements: {\n locale: i18n.locale\n }\n };\n }\n updatePaymentDetails() {\n this.$refs.loadingButton.start();\n createToken()\n .then(data => {\n if (data.error) {\n this.$refs.errorModal.show(data.error.message);\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n } else {\n if (data.token.id && data.token.id !== \"\") {\n this.updateCardToken(data.token.id);\n }\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n this.editing = false;\n });\n }\n updateCardToken(token: string) {\n services.subscriptionManager\n .updateCardToken(token)\n .then(() => {\n services.subscriptionManager.getCurrentSubscription();\n this.$refs.successModal.show(\n this.$t(\"settings.tenant.payment.updated\")\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n this.editing = false;\n });\n }\n\n get subscriptionCardLast4() {\n return this.subscriptionCard?.lastFourDigits;\n }\n get subscriptionCardHolder() {\n return this.subscriptionCard?.brand;\n }\n get subscriptionCardExpDesc() {\n return (\n (\"0\" + this.subscriptionCard?.expiryMonth).slice(-2) +\n \" / \" +\n this.subscriptionCard?.expiryYear\n );\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionPaymentDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionPaymentDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscriptionPaymentDetails.vue?vue&type=template&id=6a6cd027&\"\nimport script from \"./TenantSubscriptionPaymentDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscriptionPaymentDetails.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"shadow sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 text-sm text-gray-800\"},[_c('span',{staticClass:\"flex justify-between text-sm leading-5 font-medium text-gray-700 mb-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.invoices.title\"))+\" \"),_c('div',{staticClass:\"text-right block text-xs leading-5 font-medium text-theme-500 mb-1\"},[(_vm.upcomingInvoice && _vm.upcomingInvoice.created)?_c('span',{attrs:{\"id\":\"listbox-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.upcomingInvoice\"))+\": \"+_vm._s(_vm.invoiceDescription(_vm.upcomingInvoice))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"settings.tenant.subscription.noUpcomingInvoices\")))])])])]),_c('div',{staticClass:\"col-span-6 text-sm text-gray-800\"},[(_vm.invoices)?_c('div',_vm._l((_vm.invoices),function(invoice,index){return _c('div',{key:index,staticClass:\"p-0 mb-3 border-b border-theme-100\"},[_c('a',{staticClass:\"mb-2 mr-2 inline-flex items-center px-2.5 py-1.5 border text-xs leading-4 font-medium rounded-sm text-blue-700 bg-blue-50 border-blue-200 p-1 hover:bg-blue-200 focus:outline-none focus:border-theme-300 focus:shadow-outline-indigo active:bg-theme-200 transition ease-in-out duration-150\",attrs:{\"href\":invoice.invoicePdf,\"target\":\"_blank\",\"type\":\"button\"}},[_vm._v(_vm._s(_vm.$t(\"shared.download\")))]),_c('span',{staticClass:\"text-xs\"},[(invoice.lines && invoice.lines.length > 0)?_c('span',[_vm._v(\" \"+_vm._s(invoice.lines[0].description)+\" \"+_vm._s(invoice.lines[0].planName ? _vm.$t( \"marketing.pricing.\" + invoice.lines[0].planInterval ) : \"\")+\" \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.invoiceDescription(invoice))+\" \")])])}),0):_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.subscription.noInvoicesYet\"))+\" \")])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { SubscriptionInvoiceDto } from \"@/application/dtos/master/subscriptions/SubscriptionInvoiceDto\";\nimport store from \"@/store\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport services from \"@/services\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {}\n})\nexport default class TenantSubscriptionInvoices extends Vue {\n upcomingInvoice = {} as SubscriptionInvoiceDto;\n created() {\n tinyEventBus().emitter.on(\"updated-plan\", () => this.getUpcomingInvoice());\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"updatedPlan\");\n }\n mounted() {\n this.getUpcomingInvoice();\n }\n getUpcomingInvoice() {\n services.subscriptionManager\n .getUpcomingInvoice()\n .then((response: SubscriptionInvoiceDto) => {\n this.upcomingInvoice = response;\n });\n }\n invoiceDescription(invoice: SubscriptionInvoiceDto) {\n if (invoice && invoice.created) {\n const date = new Date(invoice.created);\n return DateUtils.dateLL(date);\n }\n return \"\";\n }\n get invoices(): SubscriptionInvoiceDto[] | undefined {\n return store.state.tenant?.subscription?.invoices ?? [];\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionInvoices.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionInvoices.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscriptionInvoices.vue?vue&type=template&id=089610e3&\"\nimport script from \"./TenantSubscriptionInvoices.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscriptionInvoices.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport TenantSubscriptionPlan from \"@/components/app/settings/tenant/subscription/TenantSubscriptionPlan.vue\";\nimport TenantSubscriptionProducts from \"@/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue\";\nimport TenantSubscriptionPaymentDetails from \"@/components/app/settings/tenant/subscription/TenantSubscriptionPaymentDetails.vue\";\nimport TenantSubscriptionInvoices from \"@/components/app/settings/tenant/subscription/TenantSubscriptionInvoices.vue\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\nimport { AppUsageType } from \"../../../../../application/enums/app/usages/AppUsageType\";\nimport services from \"@/services\";\n\n@Component({\n metaInfo: {\n title: \"Subscripción\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n TenantSubscriptionPlan,\n TenantSubscriptionProducts,\n TenantSubscriptionPaymentDetails,\n TenantSubscriptionInvoices\n }\n})\nexport default class TenantSubscription extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmModal: ConfirmModal;\n };\n mounted() {\n services.subscriptionProducts.getProducts(true, true);\n services.tenants.getCurrentUsage(AppUsageType.ALL);\n }\n cancel() {\n this.$refs.confirmModal.show(\n this.$t(\"settings.tenant.subscription.confirmCancel\")\n );\n }\n confirmCancel() {\n return services.subscriptionManager\n .cancelSubscription()\n .then(() => {\n this.$refs.successModal.show(\n this.$t(\"settings.tenant.subscription.canceled\")\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n get products(): TenantProductDto[] | undefined {\n return (\n (store.state.tenant?.subscription?.myProducts as TenantProductDto[]) ?? []\n );\n }\n get subscription(): SubscriptionPriceDto | undefined {\n const mySubscriptions = this.products?.filter(\n f => f.subscriptionPrice.billingPeriod !== SubscriptionBillingPeriod.ONCE\n );\n if (mySubscriptions && mySubscriptions.length > 0) {\n return mySubscriptions[0].subscriptionPrice;\n } else {\n return undefined;\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscription.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscription.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscription.vue?vue&type=template&id=5530a3e5&\"\nimport script from \"./TenantSubscription.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscription.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.activeProjects\"))+\" \")]),_c('div',{staticClass:\"flex items-center\"},[_c('ButtonSecondary',{attrs:{\"type\":\"button\"},on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])],1)])]),_c('div',{staticClass:\"pt-2 space-y-2 max-w-5xl xl:max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):_c('div',[_c('active-contracts-list-and-table',{attrs:{\"items\":_vm.contracts}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport ActiveContractsListAndTable from \"@/components/app/v3/visits/ActiveContractsListAndTable.vue\";\nimport { ContractStatusFilter } from \"@/application/contracts/app/v3/contracts/ContractStatusFilter\";\nimport ButtonSecondary from \"@/components/shared/buttons/ButtonSecondary.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Visitas\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n ActiveContractsListAndTable,\n ButtonSecondary,\n Loading\n }\n})\nexport default class Visits extends Vue {\n contracts: ContractDto[] = [];\n error = \"\";\n loading = false;\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.contracts\n .getAllByStatusFilter(ContractStatusFilter.SIGNED)\n .then(response => {\n this.contracts = response;\n })\n .catch(error => {\n this.error = this.$t(error).toString();\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Visits.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Visits.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Visits.vue?vue&type=template&id=b015757c&\"\nimport script from \"./Visits.vue?vue&type=script&lang=ts&\"\nexport * from \"./Visits.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.product)?_c('div',{staticClass:\"mt-6 bg-white shadow px-4 py-5 sm:rounded-sm sm:p-6\"},[_c('div',{staticClass:\"md:grid md:grid-cols-3 md:gap-2\"},[_vm._m(0),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{attrs:{\"action\":\"#\",\"method\":\"POST\"}},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},_vm._l((_vm.columns),function(column,idx){return _c('div',{key:idx,staticClass:\"col-span-3 sm:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":column.name}},[_vm._v(_vm._s(_vm.$t(\"models.subscriptionProduct.\" + column.name)))]),(column.name === 'image')?_c('div',[_c('img',{staticClass:\"h-18\",attrs:{\"src\":_vm.product[column.name]}})]):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.product[column.name]),expression:\"product[column.name]\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"disabled\":true,\"id\":column.name},domProps:{\"value\":(_vm.product[column.name])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.product, column.name, $event.target.value)}}})])}),0)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"md:col-span-1\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\"Product\")]),_c('p',{staticClass:\"mt-1 text-sm leading-5 text-gray-500\"},[_vm._v(\" Update the product, prices, features and more \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\n\nimport Modal from \"../../../components/shared/modals/Modal.vue\";\nimport Products from \"../../../components/marketing/pricing/Products.vue\";\n\n@Component({\n components: {\n Products,\n TableRowSkeleton,\n Modal\n }\n})\nexport default class SubscriptionProductOverview extends Vue {\n columns = [\n { name: \"serviceId\", type: typeof String },\n { name: \"title\", type: typeof String },\n { name: \"description\", type: typeof String },\n { name: \"badge\", type: typeof String },\n { name: \"active\", type: typeof Number },\n { name: \"image\", type: typeof Image }\n ];\n get product() {\n // @ts-ignore\n return this.$parent.product;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductOverview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductOverview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionProductOverview.vue?vue&type=template&id=39fc3424&\"\nimport script from \"./SubscriptionProductOverview.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionProductOverview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('h4',{staticClass:\" text-lg font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.edit\"))+\" \")])]),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.notFound\"))+\" \")]):(_vm.item)?_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.name),expression:\"name\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":_vm.loading},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"tax-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxId),expression:\"taxId\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"disabled\":\"\",\"minlength\":\"12\",\"maxlength\":\"13\"},domProps:{\"value\":(_vm.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.taxId=$event.target.value},function($event){_vm.taxId = $event.target.value.toUpperCase()}]}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"legal-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.legalName\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.legalName),expression:\"legalName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"legal-name\",\"name\":\"legal-name\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.legalName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.legalName=$event.target.value},function($event){_vm.legalName = $event.target.value.toUpperCase()}]}})])]),_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"business-main-activity\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.businessMainActivity\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.businessMainActivity),expression:\"businessMainActivity\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"business-main-activity\",\"name\":\"business-main-activity\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.businessMainActivity)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.businessMainActivity=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"role\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.type\"))+\" \")]),_c('div',{staticClass:\"mt-1 rounded-md shadow-sm w-full\"},[_c('fieldset',{attrs:{\"name\":\"type\",\"id\":\"type\"}},[_c('legend',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.type\"))+\" \")]),_c('div',{staticClass:\"bg-white rounded-md -space-y-px\"},[_c('label',{staticClass:\"rounded-tl-md rounded-tr-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.type === 0,\n 'border-gray-200': _vm.type !== 0\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"workspace-type\",\"aria-labelledby\":\"workspace-type-0-label\",\"aria-describedby\":\"workspace-type-0-description\"},domProps:{\"value\":0,\"checked\":_vm.type === 0},on:{\"change\":_vm.changedType}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.type === 0,\n 'text-gray-900': _vm.type !== 0\n },attrs:{\"id\":\"workspace-type-0-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.types.REGULAR\"))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.type === 0,\n 'text-gray-500': _vm.type !== 0\n },attrs:{\"id\":\"workspace-type-0-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.typesDescription.REGULAR\" ))+\" \")])])]),_c('label',{staticClass:\"relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.type === 1,\n 'border-gray-200': _vm.type !== 1\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"workspace-type\",\"aria-labelledby\":\"workspace-type-1-label\",\"aria-describedby\":\"workspace-type-1-description\"},domProps:{\"value\":1,\"checked\":_vm.type === 1},on:{\"change\":_vm.changedType}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.type === 1,\n 'text-gray-900': _vm.type !== 1\n },attrs:{\"id\":\"workspace-type-1-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.types.SPECIALIZED_PROVIDER\" ))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.type === 1,\n 'text-gray-500': _vm.type !== 1\n },attrs:{\"id\":\"workspace-type-1-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t( \"app.workspaces.typesDescription.SPECIALIZED_PROVIDER\" ))+\" \")])])])])])])]),(_vm.type === 1)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"registration-number\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.registrationNumber\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.registrationNumber),expression:\"registrationNumber\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"text\",\"id\":\"registration-number\",\"name\":\"registration-number\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.registrationNumber)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.registrationNumber=$event.target.value}}})])]):_vm._e(),(_vm.type === 1)?_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"registration-date\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.registrationDate\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.registrationDate),expression:\"registrationDate\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"date\",\"id\":\"registration-date\",\"name\":\"registration-date\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.registrationDate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.registrationDate=$event.target.value}}})])]):_vm._e(),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"workspace\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")]),_c('div',{staticClass:\"mt-2 rounded-md w-full space-y-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentUsersDescription),expression:\"currentUsersDescription\"}],staticClass:\" bg-gray-100 cursor-not-allowed w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.currentUsersDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentUsersDescription=$event.target.value}}}),_c('button',{staticClass:\"flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.selectUsers}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectWorkspaceUsers\"))+\" \")])])])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[(_vm.loading)?_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]):_c('div',[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-red-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.remove}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])])]),_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])]):_vm._e()],1)])])],1)])]),_c('ConfirmModal',{ref:\"confirmRemove\",on:{\"yes\":_vm.yesRemove}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}}),_c('select-users',{ref:\"selectUsers\",on:{\"selected\":_vm.selectedUsers}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport store from \"@/store\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport SelectUsers from \"../../../views/app/users/SelectUsers.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n SelectUsers,\n ConfirmModal,\n Loading\n }\n})\nexport default class EditWorkspace extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n selectUsers: SelectUsers;\n confirmRemove: ConfirmModal;\n };\n id = \"\";\n item: WorkspaceDto | null = null;\n loading = false;\n name = \"\";\n taxId = \"\";\n legalName = \"\";\n type: WorkspaceType = WorkspaceType.REGULAR;\n businessMainActivity = \"\";\n registrationNumber = \"\";\n registrationDate: Date | null = null;\n users: UserDto[] = [];\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.loading = true;\n services.workspaces\n .get(this.id)\n .then(response => {\n this.item = response;\n this.name = response.name;\n this.taxId = response.taxId;\n this.legalName = response.legalName;\n this.type = response.type;\n this.businessMainActivity = response.businessMainActivity;\n this.registrationNumber = response.registrationNumber;\n if (response.registrationDate) {\n this.registrationDate = new Date(\n DateUtils.dateYMD(response.registrationDate)\n );\n }\n this.users = [];\n response.users.forEach(element => {\n if (element.user) {\n this.users.push(element.user);\n }\n });\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n }\n save() {\n if (this.users.length === 0) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.tenant.workspaces.errors.atLeastOneUser\")\n );\n return;\n }\n this.loading = true;\n services.workspaces\n .update(this.id, {\n name: this.name,\n legalName: this.legalName,\n type: this.type,\n businessMainActivity: this.businessMainActivity,\n registrationNumber: this.registrationNumber,\n registrationDate: this.registrationDate,\n users: this.users\n })\n .then(() => {\n tinyEventBus().emitter.emit(\"workspace-saved\");\n this.$refs.successModal.show(\n \"Empresa actualizada\",\n \"Se ha actualizado correctamente.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n remove() {\n this.$refs.confirmRemove.show(\n this.$t(\"shared.delete?\"),\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: No se puede recuperar una empresa eliminada.\"\n );\n }\n yesRemove() {\n if (\n this.currentRole === TenantUserRole.MEMBER ||\n this.currentRole === TenantUserRole.GUEST\n ) {\n this.$refs.errorModal.show(this.$t(\"account.tenant.onlyAdmin\"));\n } else {\n this.loading = true;\n services.workspaces\n .delete(this.id)\n .then(() => {\n tinyEventBus().emitter.emit(\"workspace-deleted\", this.item);\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n selectUsers() {\n this.$refs.selectUsers.show(this.users.map(f => f.id));\n }\n selectedUsers(items: UserDto[]) {\n this.users = items;\n }\n changedType(e) {\n const type: WorkspaceType = Number(e.target.value);\n this.type = type;\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get currentUsersDescription() {\n if (this.users.length === 0) {\n return \"No has seleccionado empresas del usuario\";\n }\n return this.users.map(f => `${f.firstName} (${f.email})`).join(\", \");\n }\n get maxWorkspaces(): number {\n if (store.state.account.user?.type === 0) {\n return 0;\n }\n return store.state.app.features.maxWorkspaces;\n }\n get maxWorkspacesReached() {\n if (\n this.maxWorkspaces > 0 &&\n store.state.tenant.workspaces.length >= this.maxWorkspaces\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditWorkspace.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditWorkspace.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditWorkspace.vue?vue&type=template&id=a1a9079c&\"\nimport script from \"./EditWorkspace.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditWorkspace.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n {\n title: _vm.$t('app.contracts.visits.activeProjects'),\n routeName: 'app.visits'\n },\n {\n title: _vm.$t('app.contracts.visits.title'),\n routeName: 'app.visits.list',\n routeParams: { id: _vm.id }\n },\n { title: _vm.$t('app.contracts.visits.new'), routeName: '' }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h2',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_c('span',{staticClass:\" hidden sm:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.attendace\"))+\" \")]),_c('span',{staticClass:\" sm:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.attendace\"))+\" \")])]),_c('div',{staticClass:\"flex items-center space-x-2\"},[(false)?_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]):_vm._e(),(false)?_c('button',{staticClass:\"inline-flex items-center space-x-2 px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.save}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})]),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])]):_vm._e()])])]),_c('div',{staticClass:\" max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 pt-4 pb-6\"},[_c('new-contract-visit',{ref:\"newContractVisit\",attrs:{\"id\":_vm.id}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item)?_c('portal',{attrs:{\"to\":\"contracts-buttons\"}}):_vm._e(),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',{staticClass:\"mx-auto p-5 items-center justify-between flex text-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.error)+\" \")]):(_vm.item)?_c('div',{key:_vm.id,attrs:{\"method\":\"POST\"}},[_c('div',{staticClass:\"bg-gray-50 min-h-screen \"},[_c('div',{staticClass:\" space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200 space-y-3 pb-2\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(employeeVisiting,idx){return _c('li',{key:idx,staticClass:\"bg-white shadow-md border border-gray-200\"},[_c('div',{staticClass:\"block \"},[_c('div',{staticClass:\"flex items-center px-2 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',{staticClass:\" space-y-2\"},[_c('div',{staticClass:\"flex items-end justify-between\"},[_c('div',{staticClass:\"text-sm font-bold text-gray-900 flex-grow uppercase tracking-wide\"},[_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee.firstName)+\" \"+_vm._s(employeeVisiting.employee.employee.lastName1)+\" \"+_vm._s(employeeVisiting.employee.employee.lastName2)+\" \")])]),_c('div',{staticClass:\" items-center text-sm text-gray-500 justify-between\"},[_c('div',{staticClass:\" text-gray-600 truncate\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\" RFC: \")]),_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee.taxId)+\" \")]),_c('div',{staticClass:\"truncate\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\" NSS: \")]),_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee .socialSecurityId)+\" \")]),_c('div',{staticClass:\"truncate\"},[_c('span',{staticClass:\"font-medium\"},[_vm._v(\" CURP: \")]),_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee .populationRegistryId)+\" \")])])])])])]),_c('div',{staticClass:\" border-t border-gray-100 bg-gray-50 py-3\"},[_c('div',{staticClass:\"flex items-center justify-end text-sm space-x-2 px-4 sm:px-6\"},[(employeeVisiting.attended === undefined)?_c('div',{staticClass:\"flex items-center justify-end text-sm space-x-2\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.notAttended(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(\" No asistió \")])]),(!employeeVisiting.checkIn)?_c('button',{staticClass:\"border border-gray-300 inline-flex space-x-2 items-center px-3 py-2 shadow-sm text-sm leading-4 font-medium rounded-md text-teal-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.checkIn(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" Asistió \")])]):_vm._e()]):(employeeVisiting.attended === true)?_c('div',{staticClass:\"w-full flex justify-end\"},[(!employeeVisiting.checkOut)?_c('button',{staticClass:\"border border-gray-300 inline-flex space-x-2 items-center px-3 py-2 shadow-sm text-sm leading-4 font-medium rounded-md text-teal-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.checkOut(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" Registrar salida \")])]):_c('div',{staticClass:\"w-full bg-teal-50 border cursor-not-allowed inline-flex space-x-2 items-center justify-center px-3 py-2 shadow-sm text-sm leading-4 font-medium rounded-md\"},[_c('div',{staticClass:\" flex items-center justify-center space-x-3 w-1/2\"},[_c('div',{staticClass:\" text-gray-600 font-bold\"},[_vm._v(\" Entrada: \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.dateHMS(employeeVisiting.checkIn))+\" \")])]),_c('div',{staticClass:\"flex items-center justify-center space-x-3 w-1/2\"},[_c('div',{staticClass:\" text-gray-600 font-bold\"},[_vm._v(\" Salida: \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.dateHMS(employeeVisiting.checkOut))+\" \")])])])]):_c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"bg-red-50 text-red-900 border border-transparent cursor-not-allowed w-full inline-flex space-x-2 items-center justify-center px-3 py-2 shadow-sm text-sm leading-4 font-medium rounded-md\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" No asistió \")])])])])])])])}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',[_c('th',{staticClass:\"px-2 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_vm._v(\" Nombre y RFC \")])]),_c('th',{staticClass:\"px-2 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_vm._v(\" CURP y NSS \")])]),_c('th',{staticClass:\"relative px-6 py-2\",attrs:{\"scope\":\"col\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.actions\")))])])])]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(employeeVisiting,idx){return _c('tr',{key:idx,class:{\n 'bg-white': employeeVisiting.attended === undefined,\n 'bg-teal-50': employeeVisiting.attended === true,\n 'bg-gray-50': employeeVisiting.attended === false\n },attrs:{\"tag\":\"tr\"}},[_c('td',{staticClass:\"px-4 py-3 whitespace-nowrap text-sm\"},[_c('div',{},[_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee.firstName)+\" \"+_vm._s(employeeVisiting.employee.employee.lastName1)+\" \"+_vm._s(employeeVisiting.employee.employee.lastName2)+\" \")]),_c('div',{staticClass:\" font-bold text-sm\"},[_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee.taxId)+\" \")])]),_c('td',{staticClass:\"px-2 py-3 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{},[_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee .populationRegistryId)+\" \")]),_c('div',{staticClass:\" text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(employeeVisiting.employee.employee .socialSecurityId)+\" \")])]),_c('td',{staticClass:\" w-64 px-2 py-3 whitespace-nowrap text-center \"},[_c('div',{staticClass:\"flex items-center justify-center text-sm space-x-2 truncate\"},[(employeeVisiting.attended === undefined)?_c('div',{staticClass:\"flex items-center justify-end text-sm space-x-2 truncate\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.notAttended(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" No asistió \")])]),(!employeeVisiting.checkIn)?_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-teal-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.checkIn(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" Asistió \")])]):_vm._e()]):(employeeVisiting.attended === true)?_c('div',{staticClass:\" w-full\"},[(!employeeVisiting.checkOut)?_c('button',{staticClass:\"w-full inline-flex space-x-2 items-center justify-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-teal-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.checkOut(employeeVisiting)}}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"}})]),_c('div',[_vm._v(\" Registrar salida \")])]):_c('div',{staticClass:\"px-2\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('div',{staticClass:\" text-gray-600 font-bold\"},[_vm._v(\" Entrada: \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.dateHMS(employeeVisiting.checkIn))+\" \")])]),_c('div',{staticClass:\" border-t border-dashed border-teal-900 flex items-center justify-between\"},[_c('div',{staticClass:\" text-gray-600 font-bold\"},[_vm._v(\" Salida: \")]),_c('div',[_vm._v(\" \"+_vm._s(_vm.dateHMS(employeeVisiting.checkOut))+\" \")])])])]):_c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"bg-red-50 text-red-900 border border-transparent cursor-not-allowed w-full inline-flex space-x-2 items-center justify-center px-3 py-2 shadow-sm text-sm leading-4 font-medium rounded-md\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" No asistió \")])])])])])])}),0)])])])])])]),_c('div',{staticClass:\"my-4 flex items-center justify-end space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.push({\n name: 'app.visits.list',\n params: { id: _vm.$route.params.id }\n })}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex items-center space-x-2 px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.saveVisit}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.save\"))+\" \")])])])])])]):_vm._e(),_c('ConfirmModal',{ref:\"confirmCreate\",on:{\"yes\":_vm.confirmSaveVisit}}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.goToVisits}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n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/shared/breadcrumbs/Breadcrumb.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport store from \"@/store\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport CfdisListAndTable from \"@/components/app/v3/cfdis/list/CfdisListAndTable.vue\";\nimport VisitsListAndTable from \"@/components/app/v3/employees/visits/VisitsListAndTable.vue\";\nimport DropCfdis from \"@/components/app/uploads/DropCfdis.vue\";\nimport { ContractEmployeeVisitDto } from \"@/application/dtos/app/v3/contracts/ContractEmployeeVisitDto\";\nimport { Prop } from \"vue-property-decorator\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n Breadcrumb,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n CfdisListAndTable,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n DropCfdis,\n VisitsListAndTable,\n Loading\n }\n})\nexport default class NewContractVisit extends Vue {\n @Prop({}) id!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n dropCfdis: DropCfdis;\n };\n contractId = \"\";\n\n item?: ContractDto | null = null;\n error = \"\";\n loading = false;\n employeesVisiting: ContractEmployeeVisitDto[] = [];\n comments = \"\";\n\n searchInput = \"\";\n\n created() {\n this.contractId = this.$route.params.id;\n if (this.id) {\n this.contractId = this.id;\n }\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.contracts\n .getContract(this.contractId, true)\n .then(response => {\n this.item = response;\n if (this.item.employeeLists.length > 0) {\n this.item.employeeLists = this.item.employeeLists.sort((x, y) => {\n if (x.number && y.number) {\n return x.number > y.number ? -1 : 1;\n }\n return -1;\n });\n this.item.currentEmployeeList = this.item.employeeLists[0];\n }\n this.item?.currentEmployeeList?.employees.forEach(element => {\n this.employeesVisiting.push({\n id: undefined,\n visitId: undefined,\n visit: {} as any,\n employeeListId: this.item?.currentEmployeeList?.id,\n employeeList: {} as any,\n employeeId: element.id,\n employee: element,\n attended: undefined,\n checkIn: undefined,\n checkOut: undefined\n });\n });\n // if (this.item.visits.length === 0) {\n // this.visiting = true;\n // }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n notAttended(employeeVisit: ContractEmployeeVisitDto) {\n employeeVisit.attended = false;\n }\n checkIn(employeeVisit: ContractEmployeeVisitDto) {\n employeeVisit.checkIn = new Date();\n employeeVisit.attended = true;\n }\n checkOut(employeeVisit: ContractEmployeeVisitDto) {\n employeeVisit.checkOut = new Date();\n }\n saveVisit() {\n const undefinedAttendance = this.employeesVisiting.filter(\n f => f.attended === undefined\n );\n if (undefinedAttendance.length > 0) {\n this.$refs.errorModal.show(\n `Falta por especificar si atendieron ${undefinedAttendance.length}/${this.employeesVisiting.length} colaboradores`\n );\n return;\n }\n this.$refs.confirmCreate.show(\n \"¿Guardar registro?\",\n \"Confirmar\",\n \"Atrás\",\n `Guardarás el registro de ${\n this.employeesVisiting.filter(f => f.attended).length\n }/${this.employeesVisiting.length} asistencias`\n );\n }\n confirmSaveVisit() {\n const undefinedAttendance = this.employeesVisiting.filter(\n f => f.attended === undefined\n );\n this.loading = true;\n if (this.item) {\n services.contracts\n .createVisit(this.item.id, {\n comments: this.comments,\n employees: this.employeesVisiting\n })\n .then(() => {\n this.$refs.successModal.show(\n \"Visita registrada\",\n `Se ha registrado la visita de ${\n this.employeesVisiting.length\n } colaboradores con ${this.employeesVisiting.length -\n undefinedAttendance.length} asistencias y ${\n undefinedAttendance.length\n } inasistencias`\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n goToVisits() {\n this.$router.push({\n name: \"app.visits.list\",\n params: { id: this.contractId }\n });\n }\n dateHMS(value: Date | undefined) {\n return DateUtils.dateHMS(value);\n }\n get canEdit() {\n return this.item?.createdByUserId === store.state.account.user?.id || true;\n }\n get filteredItems(): ContractEmployeeVisitDto[] {\n if (!this.employeesVisiting) {\n return [];\n }\n const items = this.employeesVisiting.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.lastName1\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.lastName2\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.socialSecurityId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.employee?.employee?.populationRegistryId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): ContractEmployeeVisitDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewContractVisit.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewContractVisit.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewContractVisit.vue?vue&type=template&id=759045b7&\"\nimport script from \"./NewContractVisit.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewContractVisit.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport NewContractVisit from \"@/components/app/v3/visits/NewContractVisit.vue\";\n\n@Component({\n metaInfo: {\n title: \"Registrar visita\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n NewContractVisit\n }\n})\nexport default class NewVisit extends Vue {\n $refs!: {\n newContractVisit: NewContractVisit;\n };\n error = \"\";\n loading = false;\n id = \"\";\n created() {\n this.id = this.$route.params.id;\n }\n save() {\n this.$refs.newContractVisit.saveVisit();\n }\n cancel() {\n this.$router.push({ name: \"app.visits.list\", params: { id: this.id } });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewVisit.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewVisit.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewVisit.vue?vue&type=template&id=79c9ca28&\"\nimport script from \"./NewVisit.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewVisit.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum SubscriptionBillingPeriod {\n ONCE,\n DAILY,\n WEEKLY,\n MONTHLY,\n YEARLY,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\"}},[_c('rect',{attrs:{\"width\":\"12\",\"height\":\"2\",\"x\":\"1\",\"y\":\"14\",\"rx\":\"1\"}}),_c('path',{attrs:{\"d\":\"M8,10H8v3a1,1,0,0,1-2,0V10H6a4,4,0,0,0-4,4v1H12V14A4,4,0,0,0,8,10Z\"}}),_c('rect',{attrs:{\"width\":\"12\",\"height\":\"2\",\"x\":\"12\",\"y\":\"6\",\"rx\":\"1\"}}),_c('path',{attrs:{\"d\":\"M19,2h0V5a1,1,0,0,1-2,0V2h0a4,4,0,0,0-4,4V7H23V6A4,4,0,0,0,19,2Z\"}}),_c('path',{attrs:{\"d\":\"M12,16a.93487.93487,0,0,0-.10339.02087A4.99982,4.99982,0,0,0,7.98,12.09875.92709.92709,0,0,0,8,12V10a1,1,0,0,0-2,0v2a.92709.92709,0,0,0,.02.09875,4.99982,4.99982,0,0,0-3.91657,3.92212A.93487.93487,0,0,0,2,16a1,1,0,0,0,0,2,.92709.92709,0,0,0,.09875-.02,4.99785,4.99785,0,0,0,9.8025,0A.92709.92709,0,0,0,12,18a1,1,0,0,0,0-2Z\",\"opacity\":\".35\"}}),_c('path',{attrs:{\"d\":\"M23,7.98914a.93845.93845,0,0,0-.10614.02142A4.99935,4.99935,0,0,0,18.98,4.09875.92709.92709,0,0,0,19,4V2a1,1,0,0,0-2,0V4a.92709.92709,0,0,0,.02.09875,4.99935,4.99935,0,0,0-3.91382,3.91181A.93845.93845,0,0,0,13,7.98914a1,1,0,1,0,0,2,.93845.93845,0,0,0,.09772-.01972,4.99654,4.99654,0,0,0,9.80456,0A.93845.93845,0,0,0,23,9.98914a1,1,0,0,0,0-2Z\",\"opacity\":\".35\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Workers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Workers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Workers.vue?vue&type=template&id=08898c9a&\"\nimport script from \"./Workers.vue?vue&type=script&lang=js&\"\nexport * from \"./Workers.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum Periodicity {\n ONCE,\n MONTHLY,\n BIMONTHLY,\n QUATERLY,\n YEARLY,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.general\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.generalDescription\"))+\" \")])])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.updateTenant()}}},[_c('div',{staticClass:\"shadow overflow-hidden sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(_vm.$t(\"shared.name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.tenant.name),expression:\"tenant.name\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"required\":\"\",\"id\":\"name\"},domProps:{\"value\":(_vm.tenant.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.tenant, \"name\", $event.target.value)}}})]),(false)?_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm leading-5 font-medium text-gray-700\",attrs:{\"for\":\"photo\"}},[_vm._v(_vm._s(_vm.$t(\"shared.icon\")))]),_c('div',{staticClass:\"mt-2 flex items-center\"},[_c('span',{staticClass:\"h-12 w-12 rounded-sm overflow-hidden bg-gray-100\"},[(_vm.tenantIcon)?_c('img',{attrs:{\"id\":\"photo\",\"src\":_vm.tenantIcon,\"alt\":\"Tenant icon\"}}):_c('svg',{staticClass:\"h-full w-full text-gray-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z\"}})])]),_c('span',{staticClass:\"ml-5 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"py-2 px-3 border border-gray-300 rounded-sm text-sm leading-4 font-medium text-gray-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.uploadImage('icon')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upload\"))+\" \")])]),(_vm.tenantIcon)?_c('span',{staticClass:\"ml-2 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"py-2 px-3 border bg-rose-50 border-gray-300 rounded-sm text-sm leading-4 font-medium text-red-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteImage('icon')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])]):_vm._e()])]):_vm._e(),(false)?_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm leading-5 font-medium text-gray-700\",attrs:{\"for\":\"photo\"}},[_vm._v(_vm._s(_vm.$t(\"shared.logo\")))]),(_vm.tenantLogo)?_c('div',{staticClass:\"mt-2 flex items-center\"},[_c('span',{staticClass:\"h-auto w-30 overflow-hidden bg-gray-100 border border-gray-300 p-5 rounded-sm shadow-md\"},[_c('img',{attrs:{\"src\":_vm.tenantLogo,\"alt\":\"Tenant logo\"}})])]):_vm._e(),_c('span',{staticClass:\"mt-2 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"py-2 px-3 border border-gray-300 rounded-sm text-sm leading-4 font-medium text-gray-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.uploadImage('logo')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upload\"))+\" \")])]),(_vm.tenantLogo)?_c('span',{staticClass:\"ml-2 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"mt-2 py-2 px-3 border bg-rose-50 border-gray-300 rounded-sm text-sm leading-4 font-medium text-red-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteImage('logo')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])]):_vm._e()]):_vm._e(),(false)?_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm leading-5 font-medium text-gray-700\",attrs:{\"for\":\"photo\"}},[_vm._v(_vm._s(_vm.$t(\"shared.logoDarkmode\")))]),(_vm.tenantLogoDarkMode)?_c('div',{staticClass:\"mt-2 flex items-center\"},[_c('span',{staticClass:\"h-auto w-30 overflow-hidden bg-gray-800 border border-gray-300 p-5 rounded-sm shadow-md\"},[_c('img',{attrs:{\"src\":_vm.tenantLogoDarkMode,\"alt\":\"Tenant logo\"}})])]):_vm._e(),_c('span',{staticClass:\"mt-3 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"mt-2 py-2 px-3 border border-gray-300 rounded-sm text-sm leading-4 font-medium text-gray-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.uploadImage('logoDarkmode')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upload\"))+\" \")])]),(_vm.tenantLogoDarkMode)?_c('span',{staticClass:\"ml-2 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"mt-2 py-2 px-3 border bg-rose-50 border-gray-300 rounded-sm text-sm leading-4 font-medium text-red-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteImage('logoDarkmode')}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])]):_vm._e()]):_vm._e()])]),_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])])]),(_vm.showUploadImage && !_vm.uploadingImage)?_c('upload-image',{attrs:{\"title\":_vm.$t('shared.' + _vm.imageType),\"image\":_vm.imageCurrent},on:{\"close\":function($event){_vm.showUploadImage = false},\"loaded\":_vm.loadedImage}}):_vm._e(),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"w-full flex justify-center mb-2\"},[_c('div',{staticClass:\"rounded-sm bg-gray-300 shadow-inner p-1 flex justify-center\"},_vm._l((_vm.options),function(option,idx){return _c('a',{key:idx,class:_vm.selected !== option.value\n ? 'rounded-sm p-1 text-xs px-2 cursor-pointer hover:bg-gray-200 mx-1'\n : 'rounded-sm p-1 text-xs px-2 cursor-pointer bg-white mx-1',on:{\"click\":function($event){return _vm.select(option)}}},[_vm._v(_vm._s(option.title)+\" \")])}),0)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({\n components: {}\n})\nexport default class Toggle extends Vue {\n @Prop()\n options: any;\n @Prop()\n defaultSelected: any;\n selected: any = {};\n mounted() {\n this.selected = { value: this.defaultSelected };\n if (this.selected === \"\") {\n this.selected = this.options[0].value;\n }\n }\n select(option) {\n this.selected = option.value;\n this.$emit(\"selected\", option);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=2c463c2f&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport UploadImage from \"@/components/shared/forms/UploadImage.vue\";\nimport Toggle from \"@/components/shared/forms/Toggle.vue\";\nimport { TenantUpdateImageRequest } from \"@/application/contracts/master/tenants/TenantUpdateImageRequest\";\nimport { TenantDto } from \"@/application/dtos/master/tenants/TenantDto\";\nimport store from \"@/store\";\nimport services from \"@/services\";\n\n@Component({\n metaInfo: {\n title: \"Organización\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n SuccessModal,\n ErrorModal,\n UploadImage,\n Toggle\n }\n})\nexport default class TenantSettings extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n };\n imageType = \"\";\n imageCurrent = \"\";\n tenant = {} as TenantDto;\n showUploadImage = false;\n uploadingImage = false;\n created() {\n this.getCurrentTenantInForm();\n }\n getCurrentTenantInForm() {\n this.tenant.name = store.state.tenant.current?.name ?? \"\";\n this.tenant.subdomain = store.state.tenant.current?.subdomain ?? \"\";\n this.tenant.domain = store.state.tenant.current?.domain ?? \"\";\n }\n updateTenant() {\n services.tenants\n .update(this.tenant)\n .then(() => {\n services.tenants.getAll().then(() => {\n this.getCurrentTenantInForm();\n });\n\n this.$refs.successModal.show(this.$t(\"settings.tenant.updated\"));\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n uploadImage(type) {\n this.imageType = type;\n if (type === \"icon\") {\n this.imageCurrent = this.tenantIcon;\n } else if (type === \"logo\") {\n this.imageCurrent = this.tenantLogo;\n } else if (type === \"logoDarkmode\") {\n this.imageCurrent = this.tenantLogoDarkMode;\n }\n this.showUploadImage = true;\n }\n deleteImage(type) {\n this.imageType = type;\n this.loadedImage(null);\n }\n loadedImage(image) {\n const payload: TenantUpdateImageRequest = {\n type: this.imageType,\n logo: this.imageType === \"logo\" ? image : \"\",\n icon: this.imageType === \"icon\" ? image : \"\",\n logoDarkmode: this.imageType === \"logoDarkmode\" ? image : \"\"\n };\n payload.type = this.imageType;\n this.uploadingImage = true;\n services.tenants\n .updateImage(payload)\n .then(() => {\n store.commit(\"tenant/currentImage\", {\n imageType: this.imageType,\n image\n });\n this.showUploadImage = false;\n })\n .catch(error => {\n console.error(\"Error: \" + error);\n })\n .finally(() => {\n this.uploadingImage = false;\n });\n }\n get tenantIcon() {\n return store.state.tenant.current?.icon ?? \"\";\n }\n get tenantLogo() {\n return store.state.tenant.current?.logo ?? \"\";\n }\n get tenantLogoDarkMode() {\n return store.state.tenant.current?.logoDarkmode ?? \"\";\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSettings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSettings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSettings.vue?vue&type=template&id=7a321297&\"\nimport script from \"./TenantSettings.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSettings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('div',{staticClass:\"min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"}),_c('div',[_c('h2',{staticClass:\"mt-6 text-center text-md leading-9 font-bold text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.newPassword.title\"))+\" \")]),_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-gray-900 dark:text-blueGray-300 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.forgot.rememberedPassword\"))+\" \"),_c('a',{staticClass:\"font-medium text-theme-500 hover:text-theme-400 focus:outline-none focus:underline transition ease-in-out duration-150\"},[_c('router-link',{attrs:{\"to\":{ name: 'account.login' }}},[_vm._v(_vm._s(_vm.$t(\"account.register.clickHereToLogin\")))])],1)]),_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"max-w-md w-full mx-auto rounded-sm px-8 pt-6 pb-8 mb-4 mt-8\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.reset($event)}}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"disabled\":true,\"id\":\"email\",\"type\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})])]),_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.password\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]),_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"confirmPassword\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.confirmPassword\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.passwordConfirm),expression:\"user.passwordConfirm\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"confirmPassword\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.passwordConfirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"passwordConfirm\", $event.target.value)}}})])]),_c('div',{staticClass:\"mt-6\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('button',{staticClass:\"relative block w-full py-2 px-3 border border-transparent rounded-sm text-white font-semibold bg-gray-800 hover:bg-gray-700 focus:bg-gray-900 focus:outline-shadow sm:text-sm sm:leading-5\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.newPassword.button\"))+\" \")])])])])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport GoogleSignInButton from \"vue-google-signin-button-directive\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { UserVerifyRequest } from \"../../application/contracts/master/users/UserVerifyRequest\";\nimport services from \"@/services\";\n\n@Component({\n components: { ErrorModal, Logo },\n directives: {\n GoogleSignInButton\n }\n})\nexport default class Verify extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n droppedDown = false;\n user = {} as UserVerifyRequest;\n created() {\n this.user.email = this.$route.query.e ? this.$route.query.e.toString() : \"\";\n this.user.token = this.$route.query.t ? this.$route.query.t.toString() : \"\";\n }\n reset() {\n this.loading = true;\n if (this.user.password !== this.user.passwordConfirm) {\n return;\n }\n services.authentication.verify(this.user).catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n closeDropdown() {\n this.droppedDown = false;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reset.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reset.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Reset.vue?vue&type=template&id=5b58b59e&\"\nimport script from \"./Reset.vue?vue&type=script&lang=ts&\"\nexport * from \"./Reset.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[(_vm.showing)?_c('div',{staticClass:\"fixed z-50 inset-0 overflow-y-auto\"},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\" max-w-lg inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-4\"},[_c('div',{staticClass:\"flex items-center justify-between space-x-2 pb-2 border-b border-gray-100\"},[_c('h3',{staticClass:\" font-bold text-lg\"},[(_vm.imProvider)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newClient\"))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newProvider\"))+\" \")])]),(!_vm.loading && _vm.maxLinks > 0)?_c('div',{staticClass:\" text-gray-500 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.maxLinks - _vm.totalLinks)+\" enlaces restantes \")]):_vm._e()]),_c('div',[_c('div',{staticClass:\" mx-auto\"},[_c('div',{staticClass:\"md:col-span-2 space-y-4\"},[_c('div',[(_vm.loading)?_c('Loading'):(_vm.maxLinksReached)?_c('div',[_c('WarningBanner',{attrs:{\"upgrade\":true,\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedLinks', [\n _vm.maxLinks\n ])}})],1):_c('div',{staticClass:\"bg-white rounded space-y-3\"},[_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.linkWithUserAndTaxId($event)}}},[(_vm.selectType)?_c('div',{staticClass:\" col-span-2 relative flex items-start select-none cursor-pointer\"},[_c('div',{staticClass:\"flex items-center h-5 cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.imProvider),expression:\"imProvider\"}],staticClass:\"cursor-pointer focus:ring-theme-500 h-4 w-4 text-theme-600 border-gray-300 rounded\",attrs:{\"id\":\"imProvider\",\"aria-describedby\":\"imProvider-description\",\"name\":\"imProvider\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.imProvider)?_vm._i(_vm.imProvider,null)>-1:(_vm.imProvider)},on:{\"change\":function($event){var $$a=_vm.imProvider,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.imProvider=$$a.concat([$$v]))}else{$$i>-1&&(_vm.imProvider=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.imProvider=$$c}}}})]),_c('div',{staticClass:\"ml-3 text-sm \"},[_c('label',{staticClass:\"font-medium text-gray-700 cursor-pointer\",attrs:{\"for\":\"imProvider\"}},[_vm._v(\"Seré proveedor \")])])]):_vm._e(),_c('div',{staticClass:\" sm:col-span-6 grid grid-cols-2 gap-2\"},[_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"email\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.shared.email\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],ref:\"inputEmail\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"email\",\"name\":\"email\",\"id\":\"email\",\"autocomplete\":\"none\",\"required\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.email=$event.target.value},function($event){_vm.email = $event.target.value.toLowerCase()}]}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"taxId\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxId),expression:\"taxId\"}],ref:\"inputTaxId\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"taxId\",\"id\":\"taxId\",\"autocomplete\":\"none\",\"required\":\"\",\"minlength\":\"12\",\"maxlength\":\"13\"},domProps:{\"value\":(_vm.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.taxId=$event.target.value},function($event){_vm.taxId = $event.target.value.toUpperCase()}]}})])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loadingSearching)?_c('div',[_vm._v(\" Buscando... \")]):(_vm.loadingLinking)?_c('div',[_vm._v(\" Creando enlace... \")]):_vm._e()]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed':\n _vm.loadingSearching || _vm.loadingLinking\n },attrs:{\"disabled\":_vm.loadingSearching || _vm.loadingLinking,\"type\":\"submit\"}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.search\"))+\" \")])])])]),(_vm.workspace)?_c('div',[_c('div',{staticClass:\" py-5 px-4 bg-theme-100 w-full border border-theme-200 shadow-sm\"},[_c('div',{staticClass:\"flex items-center justify-between space-x-1\"},[_c('div',{staticClass:\" flex items-center space-x-2 text-theme-800 truncate\"},[_c('svg',{staticClass:\"h-9 w-9\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z\"}})]),_c('div',{staticClass:\"truncate\"},[_c('p',{staticClass:\"text-base font-medium\"},[_vm._v(\" Cuenta encontrada \")]),_c('p',{staticClass:\" text-xs truncate\"},[_vm._v(\" \"+_vm._s(_vm.taxId)+\" \")])])]),_c('div',[_c('button',{ref:\"buttonCreate\",staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-5 text-base leading-5 font-medium rounded-sm text-white bg-theme-800 hover:bg-theme-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.createLink}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.link\", [_vm.email]))+\" \")])])])])]):_vm._e()])],1)])])])])])])],1)]):_vm._e()]),_c('ConfirmModal',{ref:\"confirmCreateLinkModal\",on:{\"yes\":_vm.confirmCreateLink}}),_c('ConfirmModal',{ref:\"confirmInviteNewUserModal\",on:{\"yes\":_vm.confirmInviteNewUser}}),_c('SuccessModal',{ref:\"successModal\",staticClass:\"z-50\\n relative\",on:{\"closed\":_vm.createdLink}}),_c('ErrorModal',{ref:\"errorModal\",staticClass:\"z-50 relative\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport services from \"@/services\";\n// import { LinkPermission } from \"@/application/enums/app/v3/links/LinkPermission\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport store from \"@/store\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport WarningBanner from \"@/components/shared/banners/WarningBanner.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { AppUsageType } from \"@/application/enums/app/usages/AppUsageType\";\nimport Loading from \"../../../shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n NewModal,\n ErrorModal,\n ConfirmModal,\n SuccessModal,\n WarningBanner,\n Loading\n }\n})\nexport default class LinkForm extends Vue {\n @Prop({ default: true }) selectType!: boolean;\n @Prop({ default: true }) asProvider!: boolean;\n imProvider = false;\n loading = false;\n $refs!: {\n inputEmail: HTMLInputElement;\n errorModal: ErrorModal;\n confirmCreateLinkModal: ConfirmModal;\n confirmInviteNewUserModal: ConfirmModal;\n successModal: SuccessModal;\n buttonCreate: HTMLButtonElement;\n };\n showing = false;\n loadingSearching = false;\n loadingLinking = false;\n email = \"\";\n taxId = \"\";\n workspace: WorkspaceDto | null = null;\n linkCreated: LinkDto | null = null;\n error = \"\";\n // permissions: LinkPermission[] = [];\n mounted() {\n this.imProvider = this.asProvider;\n }\n reload() {\n this.loading = true;\n const promises: any[] = []\n promises.push(services.tenants.getCurrentUsage(AppUsageType.ALL));\n promises.push(services.tenants.getFeatures());\n\n Promise.all(promises).finally(() => {\n this.loading = false;\n this.$nextTick(() => {\n if (this.$refs.inputEmail) {\n this.$refs.inputEmail.focus();\n this.$refs.inputEmail.select();\n }\n });\n })\n }\n show() {\n this.workspace = null;\n this.email = \"\";\n this.taxId = \"\";\n\n if (process.env.VUE_APP_SERVICE === \"sandbox\") {\n this.taxId = \"ABS12345XYZ\";\n this.email = \"user@email.com\";\n }\n\n this.showing = true;\n this.reload();\n }\n close() {\n this.showing = false;\n }\n linkWithUserAndTaxId() {\n if (!this.email || this.email.trim() === \"\") {\n this.$refs.errorModal.show(\"Faltan campos\", \"Ingresa el correo\");\n return;\n }\n if (!this.taxId || this.taxId.trim() === \"\") {\n this.$refs.errorModal.show(\"Faltan campos\", \"Ingresa el RFC\");\n return;\n }\n this.error = \"\";\n this.loadingSearching = true;\n this.workspace = null;\n services.links\n .searchUser(this.email)\n .then(() => {\n this.searchWorkspace();\n })\n .catch(() => {\n this.$refs.confirmInviteNewUserModal.show(\n \"Usuario no registrado\",\n \"Invitar\",\n \"Cancelar\",\n `El usuario ${this.email} no está registrado en nuestra plataforma. Envía una invitación para que se registre gratis en delega.com.mx.`\n );\n this.loadingSearching = false;\n });\n }\n searchWorkspace() {\n services.links\n .searchMember(this.email, this.taxId)\n .then(() => {\n this.createLink();\n // this.$nextTick(() => {\n // this.$refs.buttonCreate.focus();\n // });\n })\n .catch(() => {\n this.$refs.errorModal.show(\n \"Error\",\n `El usuario ${this.email} no tiene una empresa con RFC ${this.taxId}. Pídele que la agregue dando clic en 'Empresas' en el menú lateral izquierdo.`\n );\n })\n .finally(() => {\n this.loadingSearching = false;\n });\n }\n createLink() {\n const confirmText = this.workspace?.id ? \"Enlazar\" : \"Invitar\";\n const inviteText = this.workspace?.id\n ? \"\"\n : \"No se ha encontrado una cuenta con ese correo y RFC, se le enviará un correo electrónico para invitarlo a unirse gratis a delega.com.mx.\";\n if (this.imProvider) {\n this.$refs.confirmCreateLinkModal.show(\n \"¿Agregar cliente?\",\n confirmText,\n \"Cancelar\",\n \"El cliente podrá ver tu documentación. \" + inviteText\n );\n } else {\n this.$refs.confirmCreateLinkModal.show(\n \"¿Agregar proveedor?\",\n confirmText,\n \"Cancelar\",\n \"Podrás ver la documentación de tu proveedor. \" + inviteText\n );\n }\n }\n confirmInviteNewUser() {\n this.loadingLinking = true;\n services.links\n .createInvitation({\n email: this.email,\n taxId: this.taxId,\n legalName: \"\",\n message: \"\",\n inviteeIsProvider: !this.imProvider\n })\n .then(() => {\n this.$refs.successModal.show(\n \"Invitación enviada\",\n `Se ha enviado un correo a ${this.email} para que cree su cuenta en delega.com.mx y acepte tu invitación.`\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error creando invitación\", this.$t(error));\n })\n .finally(() => {\n this.loadingLinking = false;\n });\n }\n confirmCreateLink() {\n // const providerWorkspaceId = this.imProvider\n // ? this.currentWorkspace.id\n // : this.workspace?.id;\n // const clientWorkspaceId = !this.imProvider\n // ? this.currentWorkspace.id\n // : this.workspace?.id;\n this.loadingLinking = true;\n services.links\n .create({\n email: this.email,\n taxId: this.taxId,\n asProvider: !this.imProvider\n // permissions: this.permissions\n })\n .then(response => {\n this.linkCreated = response;\n this.$refs.successModal.show(\n this.$t(\"app.links.pending.invitationSent\"),\n this.$t(\"app.links.invited\", [\n this.email,\n this.imProvider ? \"cliente\" : \"proveedor\",\n this.currentWorkspace.taxId,\n this.currentWorkspace.legalName\n ])\n );\n services.tenants.getCurrentUsage(AppUsageType.PENDING_INVITATIONS);\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error creando invitación\", this.$t(error));\n })\n .finally(() => {\n this.loadingLinking = false;\n });\n }\n createdLink() {\n tinyEventBus().emitter.emit(\"reload-links\");\n this.$emit(\"created\", this.linkCreated);\n this.close();\n }\n get totalLinks(): number {\n return store.state.app.usage.providers + store.state.app.usage.clients;\n }\n get maxLinks(): number {\n return store.state.app.features.maxLinks;\n }\n get maxLinksReached() {\n if (\n this.maxLinks > 0 &&\n store.state.app.usage.providers + store.state.app.usage.clients >=\n this.maxLinks\n ) {\n return true;\n }\n return false;\n }\n get currentWorkspace(): WorkspaceDto {\n return store.state.tenant.currentWorkspace ?? ({} as WorkspaceDto);\n }\n get linkName() {\n return !this.imProvider\n ? this.$t(\"models.provider.object\")\n : this.$t(\"models.client.object\");\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkForm.vue?vue&type=template&id=6eaf9768&\"\nimport script from \"./LinkForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkForm.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{attrs:{\"to\":{ name: 'landing' }}},[(_vm.$store.state.theme.theme === 0)?_c('img',{staticClass:\"h-12 w-auto mx-auto\",attrs:{\"src\":require(\"@/assets/img/logo-light.png\"),\"alt\":\"Logo\"}}):_c('img',{staticClass:\"h-12 w-auto mx-auto\",attrs:{\"src\":require(\"@/assets/img/logo-dark.png\"),\"alt\":\"Logo\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logo.vue?vue&type=template&id=06227ca3&scoped=true&\"\nimport script from \"./Logo.vue?vue&type=script&lang=js&\"\nexport * from \"./Logo.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"06227ca3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('cfdis-list',{ref:\"cfdiList\",attrs:{\"type\":2}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport CfdisList from \"@/components/app/v3/cfdis/list/CfdisList.vue\";\n\n@Component({\n metaInfo: {\n title: \"CFDIs\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n CfdisList\n }\n})\nexport default class CfdisPayroll extends Vue {\n $refs!: {\n cfdiList: CfdisList;\n };\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisPayroll.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisPayroll.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisPayroll.vue?vue&type=template&id=4d0a1ed0&\"\nimport script from \"./CfdisPayroll.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisPayroll.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[(!_vm.items || _vm.items.length === 0)?_c('div',[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.noRecords\")))])]):_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',[_c('tr',[(_vm.enableDownload)?_c('th',{staticClass:\"px-6 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.file\"))+\" \")]):_vm._e(),_vm._l((_vm.columns),function(column,idx){return _c('th',{key:idx,staticClass:\"px-6 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.translateModelProperty(column.name))+\" \")])}),(_vm.allowEdit)?_c('th',{staticClass:\"pr-5 py-2 bg-gray-50 w-10\"}):_vm._e(),(_vm.routerLinks && _vm.routerLinks.length > 0)?_c('th',{staticClass:\"pr-5 py-2 bg-gray-50 w-10\"}):_vm._e(),(_vm.enableUpload)?_c('th',{staticClass:\"pr-5 py-2 bg-gray-50 w-10\"}):_vm._e()],2)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.orderedItems),function(item,index){return _c('tr',{key:index},[_vm._l((_vm.columns),function(column,idx){return _c('td',{key:idx,staticClass:\"truncate px-3 py-2 text-sm leading-3 font-medium text-gray-900\"},[(_vm.isArray(column))?_c('span',[_vm._v(\" \"+_vm._s(_vm.convertedArray(item, column))+\" \")]):(item[column.name] === true)?_c('span',[_c('svg',{staticClass:\"h-4 w-4 text-teal-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):(item[column.name] === false)?_c('span',[_c('svg',{staticClass:\"h-4 w-4 text-red-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])]):_c('span',[_vm._v(_vm._s(_vm.convertedValue(item, column)))])])}),(_vm.allowEdit)?_c('td',{staticClass:\"pr-5 py-4 whitespace-no-wrap text-right text-sm leading-3 font-medium\"},[_c('button',{staticClass:\"text-theme-600 hover:text-theme-900\",on:{\"click\":function($event){return _vm.edit(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])]):_vm._e(),(_vm.routerLinks && _vm.routerLinks.length > 0)?_c('td',{staticClass:\"pr-5 py-4 whitespace-no-wrap text-right text-sm leading-3 font-medium\"},_vm._l((_vm.routerLinks),function(link,idx){return _c('router-link',{key:idx,staticClass:\"text-theme-600 hover:text-theme-900\",attrs:{\"to\":_vm.getLinkTo(link, item)}},[_vm._v(_vm._s(link.title))])}),1):_vm._e(),(_vm.enableUpload)?_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 font-medium text-gray-900\"},[_c('input',{attrs:{\"type\":\"file\"},on:{\"change\":function($event){return _vm.uploadFile($event.target.files, item)}}})]):_vm._e()],2)}),0)])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport { EntityDto } from \"../../../application/dtos/EntityDto\";\nimport { ColumnType, ValueType } from \"../../../application/dtos/ColumnType\";\n\n@Component({})\nexport default class EntityTableList extends Vue {\n @Prop()\n modelName!: string;\n @Prop()\n items!: EntityDto[];\n @Prop()\n columns!: ColumnType[];\n @Prop({ default: true })\n allowEdit!: boolean;\n @Prop({ default: false })\n enableDownload!: boolean;\n @Prop({ default: false })\n enableUpload!: boolean;\n @Prop()\n routerLinks!: any[];\n\n files: FormData = new FormData();\n edit(item: EntityDto) {\n this.$emit(\"edit\", item);\n }\n downloadFile(item: EntityDto) {\n this.$emit(\"downloadFile\", item);\n }\n uploadFile(fileList: any, item) {\n this.$emit(\"uploadFile\", item, fileList);\n }\n translateModelProperty(columnName: string) {\n const translated = this.$t(`models.${this.modelName}.${columnName}`);\n return translated ?? columnName;\n }\n convertedValue(item: EntityDto, column: ColumnType): string {\n return ColumnType.convertValue(item, column);\n }\n convertedArray(item: EntityDto, column: ColumnType): any {\n if (\n column.valueType === ValueType.TenantUserRoles ||\n column.valueType === ValueType.SubscriptionProducts\n ) {\n const values = ColumnType.getValues(column);\n const descriptions: any = [];\n values.forEach((element: any) => {\n if (item[column.name].includes(element.value)) {\n descriptions.push(element.name);\n }\n });\n const uniqueArray = [...new Set(descriptions)];\n return uniqueArray.join(\", \");\n }\n }\n isBoolean(column: ColumnType): boolean {\n return column.valueType === ValueType.Bool;\n }\n isArray(column: ColumnType): boolean {\n return (\n column.valueType === ValueType.TenantUserRoles ||\n column.valueType === ValueType.SubscriptionProducts\n );\n }\n isFile(column: ColumnType): boolean {\n return column.valueType === ValueType.File;\n }\n getLinkTo(link: any, item: EntityDto): string {\n if (link.to.includes(\"{id}\")) {\n return link.to.replace(\"{id}\", item.id);\n }\n // else if (link.to.includes(\"{uuid}\")) {\n // return link.to.replace(\"{uuid}\", item.id);\n // }\n return link.to;\n }\n get orderedItems() {\n if (!this.items) {\n return [];\n }\n return this.items.sort((x, y) => {\n if (x && y) {\n return x.id && y.id && x.id > y.id ? -1 : 1;\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityTableList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityTableList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EntityTableList.vue?vue&type=template&id=efdf5ae0&\"\nimport script from \"./EntityTableList.vue?vue&type=script&lang=ts&\"\nexport * from \"./EntityTableList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo-dark.3ddbfe3d.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n {\n title: _vm.$t('app.contracts.title'),\n routeName: 'app.contracts'\n },\n {\n title: _vm.$t('app.contracts.new.title'),\n routeName: 'app.contracts.new'\n }\n ]}}),_c('div',{staticClass:\"lg:py-8 max-w-2xl mx-auto\"},[(_vm.loading)?_c('Loading'):_c('div',[(_vm.maxContractsReached)?_c('div',[_c('WarningBanner',{attrs:{\"upgrade\":true,\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedContracts', [\n _vm.features.monthlyContracts\n ])}})],1):_c('form',[_c('div',{staticClass:\"sm:space-y-4 divide-y divide-gray-200\"},[_c('div',{staticClass:\"bg-white py-6 px-8 shadow-lg border border-gray-200 space-y-6\"},[_c('div',{staticClass:\"flex items-center space-x-3 justify-between\"},[_c('div',[_c('div',[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.new.title\")))])]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.new.description\")))])]),_c('contract',{staticClass:\"h-8 w-8 text-gray-800\"})],1),_c('div',{staticClass:\"grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6\"},[(false)?_c('div',{staticClass:\"sm:col-span-6\"},[_c('div',{staticClass:\"relative flex items-start select-none cursor-pointer\"},[_c('div',{staticClass:\"flex items-center h-5 cursor-pointer\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.asProvider),expression:\"asProvider\"}],staticClass:\"cursor-pointer focus:ring-theme-500 h-4 w-4 text-theme-600 border-gray-300 rounded\",attrs:{\"id\":\"asProvider\",\"aria-describedby\":\"asProvider-description\",\"name\":\"asProvider\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.asProvider)?_vm._i(_vm.asProvider,null)>-1:(_vm.asProvider)},on:{\"change\":[function($event){var $$a=_vm.asProvider,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.asProvider=$$a.concat([$$v]))}else{$$i>-1&&(_vm.asProvider=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.asProvider=$$c}},_vm.changedAsProvider]}})]),_c('div',{staticClass:\"ml-3 text-sm\"},[_c('label',{staticClass:\"font-medium text-gray-700 cursor-pointer\",attrs:{\"for\":\"asProvider\"}},[_vm._v(\" Soy proveedor \"),_c('span',{staticClass:\"text-gray-500 ml-1 font-normal\",attrs:{\"id\":\"asProvider-description\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Soy proveedor\")])])])])])]):_vm._e(),_c('div',{staticClass:\"sm:col-span-6\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"link\"}},[_vm._v(_vm._s(_vm.$t(\"models.link.object\")))]),_c('link-selector',{ref:\"linkSelector\",staticClass:\"mt-1 w-full\",on:{\"selected\":_vm.selectedLink}})],1),_c('div',{staticClass:\"sm:col-span-6\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(_vm.$t(\"shared.name\")))]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.name),expression:\"name\"}],ref:\"inputName\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"autocomplete\":\"none\",\"required\":\"\",\"placeholder\":_vm.$t('app.contracts.placeholders.name')},domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value}}})])]),_c('div',{staticClass:\"sm:col-span-6\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"description\"}},[_vm._v(_vm._s(_vm.$t(\"shared.description\")))]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.description),expression:\"description\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"rows\":\"3\",\"name\":\"description\",\"id\":\"description\",\"autocomplete\":\"none\",\"required\":\"\",\"placeholder\":_vm.$t('app.contracts.placeholders.description')},domProps:{\"value\":(_vm.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.description=$event.target.value}}})])]),_c('div',{staticClass:\"sm:col-span-6\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"file\"}},[_vm._v(_vm._s(_vm.$t(\"shared.file\")))]),_c('div',{staticClass:\"mt-1\"},[(_vm.contractFile)?_c('div',{staticClass:\"text-gray-600 overflow-hidden border-2 border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\"p-4 flex justify-between items-center\"},[_c('div',{staticClass:\"origin-top-left left-0 top-0 mt-1 ml-1 flex items-center space-x-2\"},[_c('span',{staticClass:\"relative z-0 inline-flex shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === 1,\n 'hover:bg-gray-50': _vm.currentPage !== 1\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === 1},on:{\"click\":function($event){return _vm.nextPage(-1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.previous\"))+\" \")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]),_c('span',{staticClass:\"-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 select-none\"},[_vm._v(_vm._s(_vm.currentPage)+\" / \"+_vm._s(_vm.pageCount))]),_c('button',{staticClass:\"-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",class:{\n 'cursor-not-allowed bg-gray-50':\n _vm.currentPage === _vm.pageCount,\n 'hover:bg-gray-50': _vm.currentPage !== _vm.pageCount\n },attrs:{\"type\":\"button\",\"disabled\":_vm.currentPage === _vm.pageCount},on:{\"click\":function($event){return _vm.nextPage(1)}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.next\"))+\" \")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])]),_c('button',{staticClass:\"origin-top-right right-0 top-0 mt-1 mr-0 text-gray-600 hover:bg-gray-50 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.removeFile}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16\"}})])])]),_c('div',{staticClass:\"py-4 mx-auto text-center flex items-center justify-center\"},[_c('pdf',{attrs:{\"src\":_vm.contractFile,\"page\":_vm.currentPage},on:{\"num-pages\":function($event){_vm.pageCount = $event},\"page-loaded\":function($event){_vm.currentPage = $event}}})],1)]):_c('drop-document',{attrs:{\"accept\":\".pdf\",\"description\":\"Solo documentos tipo .PDF\"},on:{\"droppedFiles\":_vm.droppedContractFile},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('svg',{staticClass:\"mx-auto h-10 w-10 text-gray-400\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M32.25,16.125v37.625h10.75v-26.875h86v26.875h10.75v-37.625zM43,64.5v43h10.75v-10.75c8.83935,0 16.125,-7.28565 16.125,-16.125c0,-8.83935 -7.28565,-16.125 -16.125,-16.125zM75.25,64.5v43h13.4375c7.43262,0 13.4375,-6.00488 13.4375,-13.4375v-16.125c0,-7.43261 -6.00488,-13.4375 -13.4375,-13.4375zM107.5,64.5v43h10.75v-16.125h10.75v-10.75h-10.75v-5.375h16.125v-10.75zM53.75,75.25c2.98145,0 5.375,2.39356 5.375,5.375c0,2.98145 -2.39355,5.375 -5.375,5.375zM86,75.25h2.6875c1.15479,0 2.6875,1.53271 2.6875,2.6875v16.125c0,1.15479 -1.53271,2.6875 -2.6875,2.6875h-2.6875zM32.25,118.25v37.625h107.5v-37.625h-10.75v26.875h-86v-26.875z\"}})])])])]},proxy:true}])})],1)])])]),_c('div',{staticClass:\"bg-white py-6 px-8 shadow-lg border border-gray-200\"},[_c('div',{staticClass:\"flex items-center space-x-3 justify-between\"},[_c('div',[_c('div',[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.signatories\")))])]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.new.addSignatories\"))+\".\")])]),_c('sign',{staticClass:\"h-8 w-8 text-gray-800\"})],1),_c('div',{},[_vm._l((_vm.members),function(member,idxMember){return _c('div',{key:idxMember,staticClass:\"grid grid-cols-6 items-center space-x-2 relative py-3 gap-3 sm:gap-0\"},[_c('button',{staticClass:\"absolute origin-top-right right-0 top-0 mt-1 mr-0 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",class:{\n 'text-gray-400 cursor-not-allowed': _vm.members.length <= 1,\n 'text-gray-700 hover:bg-gray-50': _vm.members.length > 1\n },attrs:{\"type\":\"button\",\"disabled\":_vm.members.length <= 1},on:{\"click\":function($event){return _vm.removeMember(idxMember)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.fullName\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(member.name),expression:\"member.name\"}],ref:'fullName-' + idxMember,refInFor:true,staticClass:\"bg-gray-100 cursor-not-allowed shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"required\":\"\",\"type\":\"text\",\"name\":\"full-name\",\"id\":\"full-name\",\"placeholder\":_vm.$t('account.shared.name'),\"disabled\":\"\",\"autocomplete\":\"full-name\"},domProps:{\"value\":(member.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(member, \"name\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[_c('div',{staticClass:\"flex items-start space-x-2\"},[_c('div',{staticClass:\"flex-grow\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(member.email),expression:\"member.email\"}],staticClass:\"bg-gray-100 cursor-not-allowed shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"id\":\"email\",\"name\":\"email\",\"type\":\"email\",\"disabled\":\"\",\"placeholder\":member.role === 0\n ? _vm.$t(\n 'app.contracts.placeholders.signatoryEmail'\n )\n : _vm.$t(\n 'app.contracts.placeholders.spectatorEmail'\n ),\"autocomplete\":\"email\",\"required\":\"\"},domProps:{\"value\":(member.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(member, \"email\", $event.target.value)}}})])])])]),_c('div',{staticClass:\"col-span-3 sm:col-span-2\"},[_c('div',{staticClass:\"flex items-start space-x-2\"},[_c('div',{staticClass:\"flex-grow\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"role\"}},[_vm._v(_vm._s(_vm.$t(\"shared.role\")))]),_c('div',{staticClass:\"mt-1\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(member.role),expression:\"member.role\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"id\":\"role\",\"name\":\"role\",\"autocomplete\":\"email\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(member, \"role\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"Firmante\")]),_c('option',{domProps:{\"value\":1}},[_vm._v(\"Espectador\")])])])])])])])}),_c('button',{staticClass:\"mt-6 flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addMember}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(_vm._s(_vm.$t(\"app.contracts.actions.selectSignatoryOrSpectator\")))])])],2)]),(_vm.imProvider)?_c('div',{staticClass:\"bg-white py-6 px-8 shadow-lg border border-gray-200\"},[_c('div',{staticClass:\"flex items-center space-x-3 justify-between\"},[_c('div',[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(_vm._s(_vm.$t(\"models.employee.plural\")))]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(_vm._s(_vm.$t(\"app.employees.actions.select\"))+\".\")])]),_c('Workers',{staticClass:\"h-8 w-8 text-gray-400\"})],1),_c('div',[_c('div',{},[_vm._l((_vm.employees),function(employee,idxEmployee){return _c('div',{key:idxEmployee,staticClass:\"relative mt-1 grid gap-1 grid-cols-12 py-2\"},[_c('button',{staticClass:\"text-gray-700 hover:bg-gray-50 absolute origin-top-right right-0 top-0 mr-0 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeEmployee(idxEmployee)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.fullName\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.firstName),expression:\"employee.firstName\"}],ref:'employee-first-name-' + idxEmployee,refInFor:true,staticClass:\"bg-gray-100 cursor-not-allowed text-gray-800 shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-first-name-\",\"id\":\"employee-first-name-\",\"placeholder\":_vm.$t('models.employee.object') +\n ' ' +\n (idxEmployee + 1),\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(employee, \"firstName\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.taxId\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.taxId),expression:\"employee.taxId\"}],staticClass:\"bg-gray-100 cursor-not-allowed text-gray-800 shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-tax-id\",\"id\":\"employee-tax-id\",\"autocomplete\":\"none\",\"minlength\":\"12\",\"maxlength\":\"13\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.taxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"taxId\", $event.target.value)},function($event){employee.taxId = $event.target.value.toUpperCase()}]}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.socialSecurityId\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.socialSecurityId),expression:\"employee.socialSecurityId\"}],staticClass:\"bg-gray-100 cursor-not-allowed text-gray-800 shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-social-security-id\",\"id\":\"employee-social-security-id\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.socialSecurityId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"socialSecurityId\", $event.target.value)},function($event){employee.socialSecurityId = $event.target.value.toUpperCase()}]}})])]),_c('div',{staticClass:\"col-span-6 sm:col-span-3\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"full-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.populationRegistryId\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(employee.populationRegistryId),expression:\"employee.populationRegistryId\"}],staticClass:\"bg-gray-100 cursor-not-allowed text-gray-800 shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"employee-population-registry-id\",\"id\":\"employee-population-registry-id\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(employee.populationRegistryId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(employee, \"populationRegistryId\", $event.target.value)},function($event){employee.populationRegistryId = $event.target.value.toUpperCase()}]}})])])])}),_c('div',{staticClass:\"flex items-center space-x-3\"},[_c('button',{staticClass:\"mt-6 flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addEmployee}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(_vm._s(_vm.$t(\"app.employees.actions.selectEmployees\")))])])])],2)])]):_vm._e()]),_c('div',{staticClass:\"py-5\"},[_c('div',{staticClass:\"flex justify-end py-3 px-4 lg:px-0 lg:py-0\"},[_c('router-link',{staticClass:\"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'app.contracts' }}},[_vm._v(_vm._s(_vm.$t(\"shared.cancel\")))]),_c('button',{staticClass:\"ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.save}},[_vm._v(_vm._s(_vm.$t(\"app.contracts.new.save\")))])],1)])])])],1),_c('select-employees',{ref:\"selectEmployees\",on:{\"selected\":_vm.selectedEmployees}}),_c('select-contract-members',{ref:\"selectContractMembers\",on:{\"selected\":_vm.selectedContractMembers}}),_c('ConfirmModal',{ref:\"confirmCreate\",on:{\"yes\":_vm.saveContract}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}],staticClass:\"relative\"},[_c('button',{staticClass:\"relative w-full bg-white border border-gray-300 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500 sm:text-sm\",attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"listbox-label\"},on:{\"click\":_vm.toggle}},[(_vm.selected)?_c('span',{staticClass:\"w-full inline-flex truncate\"},[(_vm.selected.providerWorkspaceId === _vm.currentWorkspaceId)?_c('div',{staticClass:\"flex justify-between space-x-2 w-full\"},[_c('div',{staticClass:\"font-normal truncate\"},[_vm._v(\" \"+_vm._s(_vm.selected.clientWorkspace.taxId)+\" - \"+_vm._s(_vm.selected.clientWorkspace.legalName)+\" \")]),_c('div',{staticClass:\"text-gray-500 \"},[_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-teal-800 text-xs font-medium bg-teal-100 rounded-sm border-teal-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")])])]):_c('div',{staticClass:\"flex justify-between space-x-2 w-full\"},[_c('div',{staticClass:\"font-normal truncate\"},[_vm._v(\" \"+_vm._s(_vm.selected.providerWorkspace.taxId)+\" - \"+_vm._s(_vm.selected.providerWorkspace.legalName)+\" \")]),_c('div',{staticClass:\"text-gray-500\"},[_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-theme-800 text-xs font-medium bg-theme-100 rounded-sm border-theme-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")])])])]):_c('span',{staticClass:\"w-full inline-flex truncate\"},[_c('span',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.actions.selectOne\"))+\"... \")])]),_c('span',{staticClass:\"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])]),_c('transition',{attrs:{\"enter-active-class\":\"\",\"enter-class\":\"\",\"enter-to-class\":\"\",\"leave-active-class\":\"transition ease-in duration-100\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[(_vm.opened)?_c('div',{staticClass:\"absolute z-10 mt-1 w-full bg-white shadow-xl max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm\"},[_c('div',{staticClass:\"p-2 flex rounded-md\"},[_c('div',{staticClass:\"relative flex items-stretch flex-grow focus-within:z-10\"},[_c('div',{staticClass:\"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"focus:ring-gray-300 focus:border-theme-300 block w-full rounded-none rounded-l-sm pl-10 sm:text-sm border-gray-300 px-3 py-2 bg-white text-sm border focus:outline-none\",attrs:{\"disabled\":_vm.loading,\"id\":\"search\",\"autocomplete\":\"none\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.preventDefault();return _vm.trySelect($event)},\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})]),_c('button',{staticClass:\"-ml-px relative inline-flex items-center space-x-2 px-2 py-2 border border-gray-300 text-sm font-medium rounded-r-sm text-gray-700 bg-gray-50 hover:bg-gray-100 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.add}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})])])]),(_vm.loading)?_c('div',{staticClass:\"py-2 px-3 text-gray-400 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.loading\"))+\"... \")]):(_vm.items.length > 0)?_c('div',[_c('ul',{attrs:{\"tabindex\":\"-1\",\"role\":\"listbox\",\"aria-labelledby\":\"listbox-label\",\"aria-activedescendant\":\"listbox-option-3\"}},_vm._l((_vm.filteredItems),function(link,idx){return _c('li',{key:idx,staticClass:\"cursor-pointer text-gray-900 select-none relative py-2 pl-3 pr-12 hover:bg-blueGray-100 hover:text-theme-900\",attrs:{\"id\":'listbox-option-' + idx,\"role\":\"option\"},on:{\"click\":function($event){return _vm.select(link)}}},[(link.providerWorkspaceId === _vm.currentWorkspaceId)?_c('div',{staticClass:\"mr-3 flex justify-between space-x-2 w-full\"},[_c('div',{staticClass:\"font-normal truncate\"},[_vm._v(\" \"+_vm._s(link.clientWorkspace.taxId)+\" - \"+_vm._s(link.clientWorkspace.legalName)+\" \")]),_c('div',{staticClass:\"text-gray-500 \"},[_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-teal-800 text-xs font-medium bg-teal-100 rounded-sm border-teal-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")])])]):_c('div',{staticClass:\"mr-3 flex justify-between space-x-2 w-full\"},[_c('div',{staticClass:\"font-normal truncate\"},[_vm._v(\" \"+_vm._s(link.providerWorkspace.taxId)+\" - \"+_vm._s(link.providerWorkspace.legalName)+\" \")]),_c('div',{staticClass:\"text-gray-500 \"},[_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-theme-800 text-xs font-medium bg-theme-100 rounded-sm border-theme-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")])])]),(_vm.selected && _vm.selected.id === link.id)?_c('span',{staticClass:\"text-theme-600 absolute inset-y-0 right-0 flex items-center pr-4\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):_vm._e()])}),0)]):(_vm.items.length === 0)?_c('div',{staticClass:\"py-2 px-3 text-gray-400 text-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.thereAreNo\"))+\" \")]):_vm._e()]):_vm._e()])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport services from \"@/services\";\nimport store from \"@/store\";\nimport { LinkStatus } from \"@/application/enums/app/v3/links/LinkStatus\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n\n@Component({\n components: {}\n})\nexport default class LinkSelector extends Vue {\n $refs!: {\n inputSearch: HTMLInputElement;\n };\n opened = false;\n loading = false;\n searchInput = \"\";\n items: LinkDto[] = [];\n selected: LinkDto | null = null;\n mounted() {\n this.reload();\n tinyEventBus().emitter.on(\"reload-links\", () => {\n this.reload();\n });\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"reload-links\");\n }\n reload() {\n this.selected = null;\n this.loading = true;\n services.links\n .getAllLinked()\n .then(response => {\n this.items = response;\n })\n .catch(error => {\n console.error(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n select(link: LinkDto) {\n this.close();\n this.selected = link;\n this.$emit(\"selected\", this.selected.id, link);\n this.searchInput = \"\";\n }\n toggle() {\n if (!this.opened) {\n this.open();\n this.$nextTick(() => {\n this.$refs.inputSearch.focus();\n this.$refs.inputSearch.select();\n });\n } else {\n this.close();\n }\n }\n open() {\n this.opened = true;\n }\n close() {\n this.opened = false;\n }\n trySelect() {\n if (this.filteredItems.length > 0) {\n this.select(this.filteredItems[0]);\n }\n }\n add() {\n tinyEventBus().emitter.emit(\"new-link\");\n }\n linkCreated(link: LinkDto) {\n if (link.status === LinkStatus.LINKED) {\n this.items.push(link);\n this.select(link);\n }\n }\n get currentWorkspaceId() {\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n }\n get filteredItems(): LinkDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace?.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace?.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace?.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace?.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkSelector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkSelector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkSelector.vue?vue&type=template&id=14553cba&\"\nimport script from \"./LinkSelector.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkSelector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"max-w-lg mx-auto\"},[_c('div',[_c('div',{staticClass:\"text-center\"},[_c('sign',{staticClass:\"mx-auto h-12 w-12 text-gray-800\"}),_c('h2',{staticClass:\"mt-2 text-lg font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.members.add\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.members.select\"))+\" \")])],1),_c('form',{staticClass:\"mt-6 flex\",attrs:{\"action\":\"#\"}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"search\"}},[_vm._v(_vm._s(_vm.$t(\"shared.search\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"search\",\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])]),_c('div',{staticClass:\"mt-5\"},[_c('h3',{staticClass:\"text-xs font-semibold text-gray-500 uppercase tracking-wide\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")]),(_vm.loading)?_c('Loading'):(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: _vm.getNoMembers()\n },\"icon\":\"plus\"},on:{\"new\":function($event){return _vm.$router.push({ name: 'settings.tenant.members.new' })}}})],1):_c('div',[_c('ul',{staticClass:\"mt-4 border-t border-b border-gray-200 divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.filteredItems),function(item,idx){return _c('li',{key:idx,staticClass:\"py-2 flex items-center justify-between space-x-3\"},[(item.user)?_c('div',{staticClass:\"min-w-0 flex-1 flex items-center space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1\"},[_c('p',{staticClass:\"text-sm font-bold text-gray-900 truncate\"},[_vm._v(\" \"+_vm._s(item.user.firstName)+\" \"+_vm._s(item.user.lastName)+\" \"),_c('span',{staticClass:\" text-xs font-normal\"},[_vm._v(\" (\"+_vm._s(item.user.email)+\") \")])]),_c('p',{staticClass:\"text-sm text-gray-500 truncate\"},[(item.workspace)?_c('span',[_vm._v(\" \"+_vm._s(item.workspace.legalName)+\" \")]):_vm._e()])])]):_vm._e(),(item.user)?_c('div',{staticClass:\"flex-shrink-0\"},[_c('button',{staticClass:\"inline-flex items-center py-2 px-3 border border-transparent rounded-full focus:outline-none\",class:{\n 'text-gray-800 bg-gray-100 hover:bg-teal-200': !_vm.isSelected(\n item\n ),\n 'text-teal-800 bg-teal-100 hover:bg-red-200 ': _vm.isSelected(\n item\n )\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toggle(item)}}},[(!_vm.isSelected(item))?_c('svg',{staticClass:\"-ml-1 mr-0.5 h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"-ml-1 mr-0.5 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),(!_vm.isSelected(item))?_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.add\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.user.firstName)+\" \"+_vm._s(item.user.lastName))])]):_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remove\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.user.firstName)+\" \"+_vm._s(item.user.lastName))])])])]):_vm._e()])}),0),_c('div',{staticClass:\"py-3 text-right flex justify-end\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' opacity-50 cursor-not-allowed':\n _vm.selected.length === 0\n },attrs:{\"type\":\"submit\",\"disabled\":_vm.selected.length === 0},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")])])])])],1)])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport { ContractMemberRole } from \"@/application/enums/app/v3/contracts/ContractMemberRole\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { AddContractMemberDto } from \"@/application/contracts/app/v3/contracts/AddContractMemberDto\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n EmptyState,\n ErrorModal,\n Sign,\n Loading\n }\n})\nexport default class SelectContractMembers extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n searchInput = \"\";\n items: WorkspaceUserDto[] = [];\n loading = false;\n selected: string[] = [];\n link: LinkDto | null = null;\n linkId = \"\";\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(link: LinkDto, linkId: string, selected: string[]) {\n this.link = link;\n this.linkId = linkId;\n this.selected = selected;\n this.showing = true;\n\n // this.$nextTick(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // });\n\n this.reload();\n }\n reload() {\n this.loading = true;\n services.links\n .getLinkUsers(this.linkId)\n .then(response => {\n this.items = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n toggle(item: WorkspaceUserDto) {\n if (this.isSelected(item)) {\n this.selected = this.selected.filter(f => f !== item.userId);\n } else {\n this.selected.push(item.userId);\n }\n }\n isSelected(item: WorkspaceUserDto) {\n return this.selected.find(f => f === item.userId);\n }\n accept() {\n const selected: AddContractMemberDto[] = [];\n this.items.forEach(element => {\n if (this.isSelected(element)) {\n const contractMember: AddContractMemberDto = {\n userId: element.userId,\n role: ContractMemberRole.SIGNATORY,\n name: (element.user?.firstName + \" \" + element.user?.lastName).trim(),\n email: element.user?.email ?? \"\"\n };\n selected.push(contractMember);\n }\n });\n this.$emit(\"selected\", selected);\n this.close();\n }\n getNoMembers() {\n if (this.link?.providerWorkspace && this.link.clientWorkspace) {\n return `No se encontraron miembros de ${this.link?.providerWorkspace.taxId} o de ${this.link?.clientWorkspace.taxId}`;\n }\n return `No se encontraron miembros`;\n }\n get filteredItems(): WorkspaceUserDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.workspace?.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.workspace?.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.workspace?.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.user?.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.user?.lastName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.user?.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectContractMembers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectContractMembers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectContractMembers.vue?vue&type=template&id=2fc11c48&\"\nimport script from \"./SelectContractMembers.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectContractMembers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport pdf from \"vue-pdf\";\nimport store from \"@/store\";\nimport { ContractMemberRole } from \"@/application/enums/app/v3/contracts/ContractMemberRole\";\nimport services from \"@/services\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport { VueCsvImport } from \"vue-csv-import\";\nimport Contract from \"@/assets/contracts/Contract.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport Workers from \"@/assets/contracts/Workers.vue\";\nimport FakePdfBase64 from \"@/services/api/app/v3/contracts/FakePdfBase64\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport LinkSelector from \"@/components/app/v3/contacts/selectors/LinkSelector.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport WarningBanner from \"@/components/shared/banners/WarningBanner.vue\";\nimport SelectEmployees from \"../employees/SelectEmployees.vue\";\nimport SelectContractMembers from \"./SelectContractMembers.vue\";\nimport { AddContractMemberDto } from \"@/application/contracts/app/v3/contracts/AddContractMemberDto\";\nimport { AppUsageType } from \"@/application/enums/app/usages/AppUsageType\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport { TenantFeaturesDto } from \"@/application/contracts/master/tenants/TenantFeaturesDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Nuevo contrato\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n SuccessModal,\n ErrorModal,\n ConfirmModal,\n Breadcrumb,\n DropDocument,\n pdf,\n VueCsvImport,\n Contract,\n Sign,\n Workers,\n LinkSelector,\n WarningBanner,\n SelectEmployees,\n SelectContractMembers,\n Loading\n }\n})\nexport default class NewContract extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n inputName: HTMLInputElement;\n inputProviderEmail: HTMLInputElement;\n inputProviderTaxId: HTMLInputElement;\n inputClientEmail: HTMLInputElement;\n inputClientTaxId: HTMLInputElement;\n selectEmployees: SelectEmployees;\n selectContractMembers: SelectContractMembers;\n linkSelector: LinkSelector;\n };\n name = \"\";\n link: LinkDto | null = null;\n linkId = \"\";\n description = \"\";\n contractFile = \"\";\n employeesFile = \"\";\n currentPage = 1;\n pageCount = 0;\n members: AddContractMemberDto[] = [];\n employees: EmployeeDto[] = [];\n loading = false;\n importingEmployees = false;\n asProvider = true;\n preselectLinkId = \"\";\n mounted() {\n this.preselectLinkId = this.$route.query?.l?.toString() ?? \"\";\n if (this.preselectLinkId) {\n services.links.get(this.preselectLinkId).then(link => {\n this.$refs.linkSelector.select(link);\n });\n }\n this.loadFeatures();\n this.$nextTick(() => {\n this.changedAsProvider();\n });\n }\n loadSandboxInfo() {\n if (process.env.VUE_APP_SERVICE === \"sandbox\") {\n this.name = \"Contract name\";\n this.description =\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\";\n this.contractFile = \"data:application/pdf;base64,\" + FakePdfBase64;\n }\n }\n loadFeatures() {\n services.tenants.getCurrentUsage(AppUsageType.CONTRACTS);\n services.tenants.getFeatures();\n }\n addMember() {\n if (!this.link || !this.link.id) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n \"Selecciona un enlace (cliente o proveedor).\"\n );\n } else {\n this.$refs.selectContractMembers.show(\n this.link,\n this.link?.id,\n this.members.map(f => f.userId)\n );\n }\n }\n addEmployee() {\n this.$refs.selectEmployees.show(this.employees.map(f => f.id));\n }\n removeFile() {\n this.contractFile = \"\";\n }\n nextPage(pages) {\n this.currentPage += pages;\n }\n removeMember(index) {\n this.members = this.members.filter((x, i) => i !== index);\n }\n removeEmployee(index) {\n this.employees = this.employees.filter((x, i) => i !== index);\n if (this.employees.length === 0) {\n this.employeesFile = \"\";\n }\n }\n save() {\n if (this.maxContractsReached) {\n this.$refs.errorModal.show(\n \"Límite excedido\",\n `Ya no puedes crear contratos este mes. Tienes un límite de ${this.features.monthlyContracts} contratos mensualmente.`\n );\n } else if (!this.link || !this.link.id) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n \"Selecciona un enlace (cliente o proveedor).\"\n );\n return;\n } else if (!this.name) {\n this.$refs.errorModal.show(\"Faltan campos\", \"Especifica un nombre.\");\n return;\n } else if (!this.description) {\n this.$refs.errorModal.show(\"Especifica una descripción.\");\n return;\n } else if (!this.contractFile) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n \"No has agregado un contrato en formato PDF.\"\n );\n } else if (\n !this.members ||\n this.members.filter(f => f.role === ContractMemberRole.SIGNATORY).length <\n 2\n ) {\n this.$refs.errorModal.show(\n \"Faltan campos\",\n \"Agrega al menos 2 firmantes.\"\n );\n return;\n } else {\n this.$refs.confirmCreate.show(\n \"¿Crear contrato?\",\n \"Crear y solicitar firmas\",\n \"No\",\n this.maxContracts === 1\n ? `ADVERTENCIA: Te quedan ${this.maxContracts} contratos este mes. Se enviará por correo a los participantes para que firmen con su FIEL.`\n : \"Se enviará por correo a los participantes para que firmen con su FIEL.\"\n );\n }\n }\n saveContract() {\n this.loading = true;\n services.contracts\n .create({\n linkId: this.linkId,\n // clientWorkspaceId: this.clientWorkspaceId,\n name: this.name,\n description: this.description,\n file: this.contractFile,\n members: this.members,\n employees: this.employees\n })\n .then((response: ContractDto) => {\n this.$router.push({\n name: \"app.contracts.view\",\n params: { id: response.id }\n });\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error creando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n droppedContractFile(files: FileBase64[]) {\n if (files.length > 0) {\n const mb = files[0].file.size / 1048576;\n console.log(\"mb\", mb);\n if (mb >= 40) {\n this.$refs.errorModal.show(\n \"Límite excedido\",\n this.$t(\"app.contracts.errors.maxFileReached\")\n );\n } else {\n this.contractFile = files[0].base64;\n }\n }\n }\n droppedEmployeesFile(filesBase64: FileBase64[], files: File[]) {\n if (files.length > 0) {\n this.employeesFile = filesBase64[0].base64;\n const employeesFile = files[0];\n const reader = new FileReader();\n reader.onload = e => {\n if (e.target?.result) {\n const employees = this.csvToArray(e.target.result.toString());\n employees.forEach(employee => {\n this.employees.push({\n id: \"\",\n firstName: employee[0],\n lastName1: employee[1],\n lastName2: employee[2],\n taxId: employee[3],\n socialSecurityId: employee[4],\n populationRegistryId: employee[5],\n email: employee[6],\n cfdis: []\n });\n });\n }\n this.clearEmptyEmployees();\n };\n reader.readAsText(employeesFile);\n }\n }\n clearEmptyEmployees() {\n this.employees.forEach((employee, index) => {\n if (!employee.firstName || employee.firstName.trim() === \"\") {\n this.employees = this.employees.filter((x, i) => i !== index);\n }\n });\n }\n csvToArray(str: string, delimiter = \",\") {\n const headers: string[] = str.slice(0, str.indexOf(\"\\n\")).split(delimiter);\n\n let rows = str.slice(str.indexOf(\"\\n\") + 1).split(\"\\n\");\n if (headers[0].trim().toUpperCase() !== \"NOMBRE\") {\n rows = str.split(\"\\n\");\n }\n const arr = rows.map(row => {\n const values = row.split(delimiter);\n const el = headers.reduce((object, header, index) => {\n object[index] = values[index];\n return object;\n }, {});\n return el;\n });\n return arr;\n }\n downloadEmployeesFileTemplate() {\n const rows = [[\"NOMBRE\", \"RFC\", \"NSS\", \"CURP\"]];\n\n const csvContent =\n \"data:text/csv;charset=utf-8,\" + rows.map(e => e.join(\",\")).join(\"\\n\");\n const encodedUri = encodeURI(csvContent);\n const link = document.createElement(\"a\");\n link.setAttribute(\"href\", encodedUri);\n link.setAttribute(\"download\", \"plantilla.csv\");\n document.body.appendChild(link);\n\n link.click();\n }\n changedAsProvider() {\n // if (this.asProvider) {\n // this.providerEmail = store.state.account.user?.email ?? \"\";\n // this.providerTaxId = store.state.tenant.currentWorkspace?.taxId ?? \"\";\n // this.providerLegalName =\n // store.state.tenant.currentWorkspace?.legalName ?? \"\";\n // this.clientEmail = \"\";\n // this.clientTaxId = \"\";\n // this.clientLegalName = \"\";\n // this.$nextTick(() => {\n // this.$refs.inputProviderEmail.focus();\n // });\n // } else {\n // this.clientEmail = store.state.account.user?.email ?? \"\";\n // this.clientTaxId = store.state.tenant.currentWorkspace?.taxId ?? \"\";\n // this.clientLegalName = store.state.tenant.currentWorkspace?.taxId ?? \"\";\n // this.providerEmail = \"\";\n // this.providerTaxId = \"\";\n // this.providerLegalName = \"\";\n // this.$nextTick(() => {\n // this.$refs.inputClientEmail.focus();\n // });\n // }\n this.loadSandboxInfo();\n }\n selectedLink(id: string, link: LinkDto) {\n this.linkId = id;\n this.link = link;\n this.$nextTick(() => {\n this.$refs.inputName.focus();\n this.$refs.inputName.select();\n });\n }\n selectedEmployees(items: EmployeeDto[]) {\n this.employees = items;\n }\n selectedContractMembers(items: AddContractMemberDto[]) {\n this.members = items;\n }\n get currentTaxId() {\n return store.state.tenant.currentWorkspace?.taxId;\n }\n get imProvider() {\n return (\n store.state.tenant.currentWorkspace?.id === this.link?.providerWorkspaceId\n );\n }\n get features(): TenantFeaturesDto {\n return store.state.app.features;\n }\n get usage(): AppUsageSummaryDto {\n return store.state.app.usage;\n }\n get maxContracts() {\n return this.features.monthlyContracts;\n }\n get maxContractsReached() {\n if (!this.features) {\n return true;\n } else {\n if (\n this.features.monthlyContracts > 0 &&\n this.usage.contracts >= this.features.monthlyContracts\n ) {\n return true;\n }\n return false;\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewContract.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewContract.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewContract.vue?vue&type=template&id=79eaed9b&\"\nimport script from \"./NewContract.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewContract.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum ContractStatus {\n PENDING,\n SIGNED,\n ARCHIVED,\n}\n","const supportedLocales = [\n {\n lang: \"en-US\",\n flag: \"us\",\n lang_short: \"en\",\n },\n {\n lang: \"es-MX\",\n flag: \"mx\",\n lang_short: \"es\",\n },\n];\nexport default supportedLocales;\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentTableRow.vue?vue&type=style&index=0&id=6c802bb2&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Header'),_c('div',{staticClass:\"pt-6 min-h-screen\"},[_c('div',{staticClass:\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('Products')],1)]),_c('Footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container mx-auto antialiased\"},[_c('main',{staticClass:\"lg:mx-4\"},[_c('div',{staticClass:\"text-center\"},[_c('h1',{staticClass:\"mb-4 text-2xl font-normal md:text-3xl lg:text-4xl\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.ourPlural\"))+\" \")]),_c('span',{staticClass:\"font-bold lowercase\"},[_vm._v(_vm._s(_vm.$t(\"shared.plans\")))]),_c('br',{staticClass:\"md:hidden\"}),_c('span',{staticClass:\"lowercase\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.for\"))+\" \"+_vm._s(_vm.$t(\"shared.yourPlural\"))+\" \")]),_c('span',{staticClass:\"font-bold lowercase\"},[_vm._v(_vm._s(_vm.$t(\"shared.needs\")))])]),_c('p',{staticClass:\" text-base font-normal text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.headline\"))+\" \")])]),_c('div',{staticClass:\"flex items-center justify-center mt-10 space-x-4\"},[_c('span',{staticClass:\"text-base font-medium\"},[_vm._v(\"Mensual\")]),_c('button',{staticClass:\"relative rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",on:{\"click\":_vm.toggleBillingPeriod}},[_c('div',{staticClass:\"w-16 h-8 transition bg-theme-500 rounded-full shadow-md outline-none\"}),_c('div',{staticClass:\"absolute inline-flex bg-white items-center justify-center w-6 h-6 transition-all duration-200 ease-in-out transform rounded-full shadow-sm top-1 left-1\",class:{\n 'translate-x-0': _vm.$store.state.pricing.billingPeriod == 3,\n 'translate-x-8': _vm.$store.state.pricing.billingPeriod === 4\n }})]),_vm._m(0)]),(_vm.loading)?_c('Loading'):_c('div',{staticClass:\" space-y-6\"},[(_vm.testProducts)?_c('WarningBannner',{attrs:{\"title\":\"Pruebas\",\"text\":_vm.warningText}}):_vm._e(),_c('div',{staticClass:\"mt-16 grid lg:grid-cols-3 gap-6 lg:gap-3\"},_vm._l((_vm.products.filter(function (f) { return !f.custom; })),function(plan,index){return _c('div',{key:index,class:{}},[_c('section',{staticClass:\"relative flex flex-col w-full p-12 rounded-lg shadow-xl border border-theme-100\",class:{\n 'border-2 border-theme-400': plan.badge\n }},[(plan.badge)?_c('div',{staticClass:\"absolute top-0 py-1.5 px-4 bg-theme-500 rounded-full text-xs font-semibold uppercase tracking-wide text-white transform -translate-y-1/2 \"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.badges.\" + plan.badge))+\" \")]):_vm._e(),_c('div',{staticClass:\" flex-1 space-y-6\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('span',{staticClass:\"text-4xl font-medium tracking-tight\",class:plan.title == 'Basic' ? 'text-green-500' : ''},[_vm._v(\" \"+_vm._s(_vm.intFormat(_vm.getPriceAmount(plan)))+\" \")]),_c('span',{staticClass:\"text-gray-500\",domProps:{\"textContent\":_vm._s(\n _vm.$store.state.pricing.billingPeriod == 3 ? '/mes' : '/año'\n )}})]),_c('div',{staticClass:\"flex-shrink-0 pb-6 space-y-2 border-b\"},[_c('h2',{staticClass:\"text-2xl font-normal\",domProps:{\"textContent\":_vm._s(plan.title)}}),_c('p',{staticClass:\"text-sm text-gray-500\",domProps:{\"textContent\":_vm._s(plan.description)}})]),_c('ul',{staticClass:\"flex-1 space-y-4\"},_vm._l((plan.features),function(feature,idxFeature){return _c('li',{key:idxFeature},[_c('div',{staticClass:\"flex items-start\"},[(feature.included)?_c('svg',{staticClass:\"w-6 h-6 text-teal-300\",attrs:{\"aria-hidden\":\"true\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"w-6 h-6 text-red-300\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"stroke\":\"#FFFFF\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z\",\"clip-rule\":\"evenodd\"}})]),_c('span',{staticClass:\"ml-3 text-base font-medium truncate\"},[(feature.translateInFrontend)?_c('span',[_vm._v(\" \"+_vm._s(_vm.getFeatureDescription(feature))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(feature.key)+\" \")])])])])}),0),_c('div',{staticClass:\"flex-shrink-0 pt-4\"},[_c('router-link',{staticClass:\"inline-flex items-center justify-center w-full px-4 py-2 transition-colors border dark:border-gray-700 rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:plan.badge\n ? 'bg-theme-500 text-white hover:bg-theme-700'\n : 'hover:bg-theme-500 hover:text-white',attrs:{\"to\":{ name: _vm.productUrl(plan) }},nativeOn:{\"click\":function($event){return _vm.selectProduct(plan)}}},[(_vm.getPriceAmount(plan) === 0)?_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.signUpFree\")))]):(_vm.billingPeriodOnce(plan))?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.payOnce\"))+\" \")]):(_vm.getPriceTrialDays(plan) > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.startTrial\", [ _vm.getPriceTrialDays(plan) ]))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.subscribe\")))])])],1)])])])}),0),(_vm.customPlan)?_c('div',{staticClass:\"relative\"},[_c('div',{},[_c('div',{staticClass:\"mx-auto rounded-lg shadow-xl border border-transparent overflow-hidden lg:flex\"},[_c('div',{staticClass:\"flex-1 bg-blueGray-800 dark:bg-theme-900 px-6 py-8 lg:p-12\"},[_c('h3',{staticClass:\"text-2xl font-extrabold text-white sm:text-3xl\"},[_vm._v(\" \"+_vm._s(_vm.customPlan.title)+\" \")]),_c('p',{staticClass:\"mt-6 text-base text-white\"},[_vm._v(\" \"+_vm._s(_vm.customPlan.description)+\" \")]),_c('div',{staticClass:\"mt-8\"},[_c('div',{staticClass:\"flex items-center\"},[_c('h4',{staticClass:\"flex-shrink-0 pr-4 text-sm tracking-wider font-semibold uppercase text-white\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.whatsIncluded\"))+\" \")]),_c('div',{staticClass:\"flex-1 border-t dark:border-gray-300 border-gray-700\"})]),_c('ul',{staticClass:\"mt-8 space-y-5 lg:space-y-0 lg:grid lg:grid-cols-2 lg:gap-x-8 lg:gap-y-5\",attrs:{\"role\":\"list\"}},_vm._l((_vm.customPlan.features),function(feature,idxFeature){return _c('li',{key:idxFeature,staticClass:\"flex items-start lg:col-span-1\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-teal-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})])]),_c('p',{staticClass:\"ml-3 text-sm text-gray-50\"},[(feature.translateInFrontend)?_c('span',[_vm._v(\" \"+_vm._s(_vm.getFeatureDescription(feature))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(feature.key)+\" \")])])])}),0)])]),_c('div',{staticClass:\"py-8 px-6 text-center lg:flex-shrink-0 lg:flex lg:flex-col lg:justify-center lg:p-12\"},[_c('div',{staticClass:\"mt-4 flex items-center justify-center text-5xl font-extrabold text-gray-900 dark:text-white\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.contactUs\"))+\" \")])]),_c('p',{staticClass:\"mt-4 text-sm\"},[_c('span',{staticClass:\"font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.customPlanDescription\"))+\" \")])]),_c('div',{staticClass:\"mt-6\"},[_c('div',{staticClass:\"rounded-md shadow max-w-md mx-auto\"},[_c('router-link',{staticClass:\"flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blueGray-800 hover:bg-blueGray-900\",attrs:{\"to\":{ name: 'contact' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.contact\"))+\" \")])],1)])])])])]):_vm._e(),_c('div',{staticClass:\"space-y-3\"},[_c('p',{staticClass:\" text-gray-700 dark:text-gray-300\"},[_c('span',{staticClass:\" font-extrabold\"},[_vm._v(\"Precios en MXN\")]),_vm._v(\": Ya incluyen IVA. \")]),_c('p',{staticClass:\" text-gray-700 dark:text-gray-300\"},[_c('span',{staticClass:\" font-extrabold\"},[_vm._v(\"Enlaces*\")]),_vm._v(\": 1 enlace equivale a agregar 1 cliente o 1 proveedor. \")]),_c('p',{staticClass:\" text-gray-700 dark:text-gray-300\"},[_c('span',{staticClass:\" font-extrabold\"},[_vm._v(\"Contratos*\")]),_vm._v(\": Cada contrato extra por $10 MXN. \")])])],1)],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"text-base font-medium\"},[_vm._v(\" Anual \"),_c('span',{staticClass:\"ml-1 inline-flex items-center px-2.5 py-0.5 rounded-md text-sm font-medium bg-teal-100 text-teal-800\"},[_vm._v(\" -20% \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport BillingPeriodToggle from \"@/components/marketing/toggles/BillingPeriodToggle.vue\";\nimport CurrencyToggle from \"@/components/marketing/toggles/CurrencyToggle.vue\";\nimport WarningBannner from \"@/components/shared/banners/WarningBanner.vue\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionPriceDto } from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionFeatureDto } from \"../../../application/dtos/master/subscriptions/SubscriptionFeatureDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\nimport services from \"@/services\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport PricingUtils from \"@/utils/store/PricingUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n BillingPeriodToggle,\n CurrencyToggle,\n WarningBannner,\n ErrorModal,\n Loading\n }\n})\nexport default class Products extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n items = [] as SubscriptionProductDto[];\n fromServer = true;\n isNavOpen = false;\n mounted() {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.MONTHLY);\n this.reload(true);\n }\n async reload(fromServer: boolean) {\n const debug = process.env.NODE_ENV !== \"production\";\n\n this.fromServer = fromServer;\n this.items = [];\n this.loading = true;\n services.subscriptionProducts\n .getProducts(fromServer, true)\n .then((response: SubscriptionProductDto[]) => {\n this.items = [];\n response?.forEach(product => {\n this.items.push(product);\n });\n if (response.length === 0 && this.fromServer && debug) {\n this.reload(false);\n }\n })\n .catch(error => {\n if (this.fromServer && debug) {\n this.reload(false);\n } else {\n this.$refs.errorModal.show(error);\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n classForProduct(index) {\n // If there are 3 products, the last one full width\n if (this.products.length === 3) {\n if (index === this.products.length - 1) {\n return \"p-2 xl:w-1/3 md:w-1/1 w-full\";\n }\n } else if (this.products.length === 4) {\n return \"p-2 w-full md:w-1/2 xl:w-1/4\";\n } else if (this.products.length === 2 || this.products.length === 4) {\n return \"p-2 xl:w-1/2 md:w-1/1 w-full\";\n }\n return \"p-2 xl:w-1/3 md:w-1/2 w-full\";\n }\n billingPeriodOnce(product: SubscriptionProductDto): boolean | undefined {\n return (\n this.getPrice(product)?.billingPeriod === SubscriptionBillingPeriod.ONCE\n );\n }\n getFeatureDescription(feature: SubscriptionFeatureDto) {\n if (!feature.translateInFrontend) {\n if (feature.value) {\n return `${feature.value}`;\n } else {\n return `${feature.key}`;\n }\n } else {\n return this.$t(\"marketing.pricing.features.\" + feature.key, [\n feature.value\n ]);\n }\n }\n getProductFeatures(\n product: SubscriptionProductDto\n ): SubscriptionFeatureDto[] {\n return product.features;\n // const features = product.features.sort((x, y) => {\n // return x.order > y.order ? 1 : -1;\n // });\n // return features;\n }\n billingPeriod(product: SubscriptionProductDto): string {\n if (this.billingPeriodOnce(product)) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n const idx = this.getPrice(product)?.billingPeriod ?? 0;\n return (\n \"/\" +\n this.$t(\"marketing.pricing.\" + SubscriptionBillingPeriod[idx] + \"Short\")\n );\n }\n }\n productUrl(product: SubscriptionProductDto) {\n if (product.custom) {\n return \"contact\";\n }\n return \"account.register\";\n }\n selectProduct(product: SubscriptionProductDto) {\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n getPrice(product: SubscriptionProductDto): SubscriptionPriceDto | undefined {\n const prices = product.prices.find(\n f =>\n (f.billingPeriod === store.state.pricing.billingPeriod ||\n f.billingPeriod === SubscriptionBillingPeriod.ONCE) &&\n f.currency === store.state.pricing.currency &&\n f.active\n );\n return prices;\n }\n productHasPrices(product: SubscriptionProductDto): boolean {\n return product && product.prices && product.prices.length > 0;\n }\n badgeFromProduct(product: SubscriptionProductDto): string {\n return product.badge;\n // if (product.badge) {\n // if (product.badge.includes(\" \")) {\n // return product.badge;\n // }\n // const translated = this.$t(\"marketing.pricing.badges.\" + product.badge);\n // if (translated) {\n // return translated.toString();\n // } else {\n // return product.badge;\n // }\n // }\n // return \"\";\n }\n getPriceAmount(product): number {\n return this.getPrice(product)?.price ?? 0;\n }\n getPriceTrialDays(product): number {\n return this.getPrice(product)?.trialDays ?? 0;\n }\n getPriceAmountBefore(product): number {\n return this.getPrice(product)?.priceBefore ?? 0;\n }\n getTransaltedProductTitle(product): string {\n const translated = this.$t(\"marketing.pricing.products.\" + product.tier);\n if (translated) {\n return translated.toString();\n } else {\n return product.title;\n }\n }\n getTransaltedProductDescription(product): string {\n const translated = this.$t(\n \"marketing.pricing.productDescriptions.\" + product.tier\n );\n if (translated) {\n return translated.toString();\n } else {\n return product.description;\n }\n }\n closeNav() {\n this.isNavOpen = false;\n }\n toggleBillingPeriod() {\n if (\n store.state.pricing.billingPeriod === SubscriptionBillingPeriod.MONTHLY\n ) {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.YEARLY);\n } else {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.MONTHLY);\n }\n }\n intFormat(value: number) {\n return NumberUtils.intFormat(value);\n }\n get selectedBillingPeriod() {\n return PricingUtils.selectedBillingPeriod();\n }\n get customPlan(): SubscriptionProductDto | undefined {\n return this.products.find(f => f.custom);\n }\n get products(): SubscriptionProductDto[] {\n return (store.state.pricing.products as SubscriptionProductDto[])\n .filter(f => this.getPrice(f) !== undefined && f.active)\n .sort((x, y) => {\n return x.tier > y.tier ? 1 : -1;\n });\n }\n get billingPeriods() {\n const periods: any[] = [];\n (store.state.pricing.products as SubscriptionProductDto[]).map(f =>\n f.prices.forEach(price => {\n if (periods.includes(price.billingPeriod) === false) {\n periods.push(price.billingPeriod);\n }\n })\n );\n function onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return periods.filter(onlyUnique);\n }\n get testProducts() {\n return (\n !this.products ||\n this.products.filter(f => f.id === undefined || f.id === \"\").length > 0\n );\n }\n get warningText() {\n return (\n this.$t(\"admin.pricing.thesePricesAreFromFiles\") +\n \" ClientApp/src/store/modules/pricing/default-pricing.ts\"\n );\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Products2.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Products2.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Products2.vue?vue&type=template&id=81e5522c&\"\nimport script from \"./Products2.vue?vue&type=script&lang=ts&\"\nexport * from \"./Products2.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"max-w-7xl mx-auto py-8 px-4 sm:py-8 sm:px-6 lg:px-8\"},[_c('h2',{staticClass:\"text-3xl font-extrabold text-coolGray-800 dark:text-blueGray-200 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.title\"))+\" \")]),_c('div',{staticClass:\"mt-12\"},[_c('dl',{staticClass:\"space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:grid-rows-2 md:gap-x-8 md:gap-y-12 lg:grid-cols-3\"},[_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q1\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a1\"))+\" \")])]),_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q2\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a2\"))+\" \")])]),_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q3\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a3\"))+\" \")])]),_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q4\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a4\"))+\" \")])]),_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q5\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a5\"))+\" \")])]),_c('div',[_c('dt',{staticClass:\"text-lg leading-6 font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.q6\"))+\" \")]),_c('dd',{staticClass:\"mt-2 text-base text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.faq.questions.a6\"))+\" \")])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {};\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Faq.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Faq.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Faq.vue?vue&type=template&id=d26e5f12&\"\nimport script from \"./Faq.vue?vue&type=script&lang=ts&\"\nexport * from \"./Faq.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Header from \"@/components/marketing/Header.vue\";\nimport Products from \"../../components/marketing/pricing/Products2.vue\";\nimport TableRowSkeleton from \"../../components/shared/skeletons/TableRowSkeleton.vue\";\nimport Faq from \"../../components/marketing/Faq.vue\";\nimport Footer from \"../../components/marketing/Footer.vue\";\nimport { SubscriptionBillingPeriod } from \"../../application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\n\n@Component({\n metaInfo: {\n title: \"Planes y precios\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Header,\n Products,\n TableRowSkeleton,\n Faq,\n Footer\n }\n})\nexport default class Pricing extends Vue {\n mounted() {\n store.commit(\"pricing/billingPeriod\", SubscriptionBillingPeriod.MONTHLY);\n store.commit(\"pricing/currency\", \"mxn\");\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pricing.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pricing.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Pricing.vue?vue&type=template&id=46dff804&\"\nimport script from \"./Pricing.vue?vue&type=script&lang=ts&\"\nexport * from \"./Pricing.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.cfdi.plural\"))+\" \")]),_c('div',{staticClass:\"flex items-center space-x-2\"},[(false)?_c('ButtonSecondary',{attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.syncCfdis}},[_c('svg',{staticClass:\" h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.sync\"))+\" \")])]):_vm._e()],1)])]),_c('div',{staticClass:\"bg-white border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}})],1)]),_c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):_vm._e(),_c('router-view',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}]})],1),_c('ConfirmModal',{ref:\"confirmModalError\",on:{\"yes\":_vm.defineCredentials}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport CfdisList from \"@/components/app/v3/cfdis/list/CfdisList.vue\";\nimport ButtonSecondary from \"@/components/shared/buttons/ButtonSecondary.vue\";\nimport store from \"@/store\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport services from \"@/services\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"CFDIs\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs,\n CfdisList,\n ButtonSecondary,\n ConfirmModal,\n Loading\n }\n})\nexport default class Cfdis extends Vue {\n $refs!: {\n confirmModalError: ConfirmModal;\n cfdiList: CfdisList;\n };\n tabs: TabItem[] = [];\n loading = false;\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.cfdis.types.payroll\"),\n routeName: \"app.cfdis.payroll\"\n },\n {\n name: this.$t(\"app.cfdis.sync.title\"),\n routeName: \"app.cfdis.sync\"\n }\n ];\n }\n syncCfdis() {\n if (!store.state.tenant.currentWorkspace?.fiscalWorkspace) {\n this.$refs.confirmModalError.show(\n \"Error\",\n \"Definir ahora\",\n \"Atrás\",\n \"No tienes credenciales del SAT definidas.\"\n );\n } else {\n this.sync();\n }\n }\n sync() {\n this.loading = true;\n services.cfdis\n .sync()\n .then(() => {\n this.$refs.cfdiList.reload();\n })\n .catch(error => {\n console.error(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n defineCredentials() {\n this.$router.push({\n name: \"settings.tenant.workspaces.credentials.new\",\n params: { id: store.state.tenant.currentWorkspace?.id }\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cfdis.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cfdis.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Cfdis.vue?vue&type=template&id=e4f27a56&\"\nimport script from \"./Cfdis.vue?vue&type=script&lang=ts&\"\nexport * from \"./Cfdis.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum ContractStatusFilter {\n PENDING,\n SIGNED,\n ARCHIVED,\n ALL,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"main\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.accept($event)},\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.no($event)}}},[(_vm.showing)?_c('div',[_c('div',{staticClass:\"fixed z-50 inset-x-0 px-4 pb-6 inset-0 p-0 flex items-center justify-center\"},[_vm._m(0),_c('div',{staticClass:\"bg-blueGray-100 shadow-inner border-2 border-blueGray-400 rounded-lg px-4 pt-5 pb-4 overflow-hidden transform transition-all max-w-md w-full sm:p-6\",attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-sm bg-yellow-50 border border-yellow-300\"},[_c('svg',{staticClass:\"h-6 w-6 text-yellow-600\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-bold text-gray-900\",attrs:{\"id\":\"modal-headline\"}},[_vm._v(\" \"+_vm._s(_vm.question)+\" \")]),(_vm.subtitle)?_c('p',{staticClass:\"text-gray-700 text-sm mt-3\",domProps:{\"innerHTML\":_vm._s(_vm.subtitle)}}):_vm._e(),(_vm.inputType === 'email')?_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"email\"}}),_c('div',{staticClass:\"mt-1 relative rounded-md shadow-sm\"},[_c('div',{staticClass:\"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z\"}}),_c('path',{attrs:{\"d\":\"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputString),expression:\"inputString\"}],ref:\"inputEmail\",staticClass:\"focus:ring-theme-500 focus:border-theme-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"email\",\"id\":\"email\",\"placeholder\":\"tu@correo.com\"},domProps:{\"value\":(_vm.inputString)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.inputString=$event.target.value}}})])]):_vm._e()])]),_c('div',{staticClass:\"mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense\"},[_c('button',{ref:\"yesButton\",staticClass:\"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white sm:col-start-2 sm:text-sm bg-theme-600 hover:bg-theme-700 focus:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.yes}},[_vm._v(\" \"+_vm._s(_vm.yesTitle ? _vm.yesTitle : _vm.$t(\"shared.yes\"))+\" \")]),_c('button',{ref:\"close\",staticClass:\"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:mt-0 sm:col-start-1 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.no}},[_vm._v(\" \"+_vm._s(_vm.noTitle ? _vm.noTitle : _vm.$t(\"shared.no\"))+\" \")])])])])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fixed inset-0 transition-opacity\"},[_c('div',{staticClass:\"absolute inset-0 bg-gray-500 opacity-75\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport store from \"@/store\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class ConfirmModal extends Vue {\n $refs!: {\n main: HTMLDivElement;\n yesButton: HTMLElement;\n inputEmail: HTMLInputElement;\n };\n @Prop({ default: \"\" }) inputType!: string;\n @Prop({ default: true }) validateInput!: boolean;\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n value: any = undefined;\n question!: string;\n yesTitle: string | TranslateResult = \"\";\n noTitle: string | TranslateResult = \"\";\n subtitle: string | TranslateResult = \"\";\n inputString: string | TranslateResult = \"\";\n mounted() {\n this.title = this.$t(\"shared.confirm\").toString();\n this.closeText = this.$t(\"shared.close\").toString();\n if (this.inputType === \"email\") {\n this.inputString = store.state.account.user?.email ?? \"\";\n }\n // this.$refs.yesButton.focus();\n }\n accept() {\n this.yes();\n }\n show(\n question: any,\n yesTitle?: string | TranslateResult,\n noTitle?: string | TranslateResult,\n subtitle?: string | TranslateResult,\n inputString?: string | TranslateResult\n ) {\n this.question = question;\n this.showing = true;\n if (yesTitle) {\n this.yesTitle = yesTitle;\n }\n if (noTitle) {\n this.noTitle = noTitle;\n }\n if (subtitle) {\n this.subtitle = subtitle;\n }\n // window.addEventListener(\"keyup\", this.keyEvent);\n this.$nextTick(() => {\n setTimeout(() => {\n if (this.$refs.yesButton) {\n this.$refs.yesButton.focus();\n }\n if (this.inputType === \"email\" && this.$refs.inputEmail) {\n this.$refs.inputEmail.focus();\n this.$refs.inputEmail.select();\n }\n }, 1000);\n });\n if (inputString) {\n this.inputString = inputString;\n }\n }\n yes() {\n if (this.inputType) {\n this.value = this.inputString;\n if (\n this.validateInput &&\n (!this.inputString || this.inputString.toString().trim() === \"\")\n ) {\n return;\n }\n }\n this.$emit(\"yes\", this.value);\n this.value = undefined;\n this.showing = false;\n window.removeEventListener(\"keyup\", this.keyEvent);\n }\n no() {\n this.value = undefined;\n this.showing = false;\n this.$emit(\"no\");\n window.removeEventListener(\"keyup\", this.keyEvent);\n }\n keyEvent(event) {\n if (event.ctrlKey && event.keyCode) {\n if (event.keyCode === 13) {\n this.yes();\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConfirmModal.vue?vue&type=template&id=7a8018f9&\"\nimport script from \"./ConfirmModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConfirmModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropCfdis.vue?vue&type=style&index=0&id=0e20033e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('h4',{staticClass:\" text-lg font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.newCredential\"))+\" \")])]),_c('InfoBanner',{attrs:{\"title\":\"Nota\",\"text\":\"No almacenamos tus claves, utilizamos el servicio SAT.WS\"}}),(_vm.loading)?_c('Loading'):(_vm.item)?_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.name),expression:\"item.name\"}],ref:\"inputName\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"name\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"tax-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.taxId),expression:\"item.taxId\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"required\":\"\",\"minlength\":\"12\",\"maxlength\":\"13\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.taxId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"taxId\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"legal-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.legalName\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.legalName),expression:\"item.legalName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"legal-name\",\"name\":\"legal-name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.legalName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"legalName\", $event.target.value)}}})])]),_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"credential-type\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.credentialType\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.type),expression:\"type\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': false\n },attrs:{\"id\":\"credential-type\",\"name\":\"credential-type\",\"autocomplete\":\"none\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.type=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"CIEC - Clave de Identificación Electrónica Confidencial\")]),_c('option',{domProps:{\"value\":1}},[_vm._v(\"E.FIRMA - Firma Electrónica (archivos .cer y .key)\")])])])]),(_vm.type === 1)?_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"certificate\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.fiscalCertificate\"))+\" \")]),(!_vm.certificate)?_c('drop-document',{attrs:{\"accept\":\".cer\",\"description\":\"Sube tu certificado .cer\"},on:{\"dropped\":_vm.droppedCertificate}}):_c('div',{staticClass:\"py-4 bg-gray-50 text-gray-600 overflow-hidden drop text-center flex border-2 border-dashed border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\" mx-auto flex items-center space-x-2\"},[_c('svg',{staticClass:\"h-5 w-5 text-teal-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z\"}})]),_c('div',[_vm._v(\"Certificado\")])])])],1):_vm._e(),(_vm.type === 1)?_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"private-key\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.fiscalKey\"))+\" \")]),(!_vm.privateKey)?_c('drop-document',{attrs:{\"id\":\"private-key\",\"accept\":\".key\",\"description\":\"Sube tu certificado .key\"},on:{\"dropped\":_vm.droppedKey}}):_c('div',{staticClass:\"py-4 bg-gray-50 text-gray-600 overflow-hidden drop text-center flex border-2 border-dashed border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\" mx-auto flex items-center space-x-2\"},[_c('svg',{staticClass:\"h-5 w-5 text-teal-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z\"}})]),_c('div',[_vm._v(\"Llave\")])])])],1):_vm._e(),_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"password\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.shared.password\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"type\":\"password\",\"id\":\"password\",\"name\":\"password\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":_vm.loading},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]),_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.create\"))+\" \")])])])])]):_vm._e()],1)])])],1)])]),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport WarningBannner from \"@/components/shared/banners/WarningBanner.vue\";\nimport InfoBanner from \"@/components/shared/banners/InfoBanner.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { FiscalCredentialType } from \"@/application/enums/app/v3/cfdis/FiscalCredentialType\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n WarningBannner,\n InfoBanner,\n Loading,\n DropDocument\n }\n})\nexport default class NewWorkspaceCredential extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n inputName: HTMLInputElement;\n };\n loading = false;\n item: WorkspaceDto | null = null;\n type: FiscalCredentialType = FiscalCredentialType.CIEC;\n certificate = \"\";\n privateKey = \"\";\n password = \"\";\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.workspaces\n .get(this.$route.params.id)\n .then(response => {\n this.item = response;\n })\n .finally(() => {\n this.loading = false;\n this.$nextTick(() => {\n if (this.$refs.inputName) {\n this.$refs.inputName.focus();\n this.$refs.inputName.select();\n }\n });\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n }\n save() {\n this.loading = true;\n if (this.type === FiscalCredentialType.CIEC) {\n services.workspaces\n .createCredentialCiec({\n id: this.item?.id,\n password: this.password\n })\n .then(() => {\n tinyEventBus().emitter.emit(\"workspace-added\");\n this.$refs.successModal.show(\n \"Credencial CIEC\",\n \"Se ha creado la credencial correctamente para extracciones como Estatus de Cumplimiento y CFDIs.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error al crear\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n } else if (this.type === FiscalCredentialType.EFIRMA) {\n services.workspaces\n .createCredentialEfirma({\n id: this.item?.id,\n certificate: this.certificate,\n privateKey: this.privateKey,\n password: this.password\n })\n .then(() => {\n tinyEventBus().emitter.emit(\"workspace-added\");\n this.$refs.successModal.show(\n \"Credencial E.FIRMA\",\n \"Se ha creado la credencial correctamente para extracciones como Estatus de Cumplimiento y CFDIs.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error al crear\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n droppedCertificate(filesBase64: string) {\n if (filesBase64.length > 0) {\n this.certificate = filesBase64;\n }\n }\n droppedKey(filesBase64: string) {\n if (filesBase64.length > 0) {\n this.privateKey = filesBase64;\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewWorkspaceCredential.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewWorkspaceCredential.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewWorkspaceCredential.vue?vue&type=template&id=fc16bc98&\"\nimport script from \"./NewWorkspaceCredential.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewWorkspaceCredential.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"max-w-5xl xl:max-w-7xl mx-auto\"},[(_vm.item)?_c('portal',{attrs:{\"to\":\"contracts-buttons\"}}):_vm._e(),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',{staticClass:\"mx-auto p-5 items-center justify-between flex text-red-700\"},[_vm._v(\" \"+_vm._s(_vm.error)+\" \")]):(_vm.item)?_c('div',{key:_vm.id,attrs:{\"method\":\"POST\"}},[_c('div',{staticClass:\"bg-gray-50 min-h-screen\"},[(_vm.uploading)?_c('div',[(_vm.cfdiXmlAndPdfs.length === 0)?_c('drop-cfdis',{ref:\"dropCfdis\",on:{\"droppedFiles\":_vm.droppedFiles}}):_c('div',[_c('div',{staticClass:\"grid grid-cols-1 gap-4 sm:grid-cols-2\"},_vm._l((_vm.cfdiXmlAndPdfs),function(cfdiXmlPdf,idx){return _c('div',{key:idx,staticClass:\"relative rounded-lg border border-gray-300 bg-white px-6 py-5 shadow-sm\"},[_c('button',{staticClass:\" text-gray-600 hover:bg-gray-50 absolute origin-top-right right-0 top-0 mt-1 mr-1 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeCfdiXmlPdf(idx)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),(cfdiXmlPdf.cfdi)?_c('div',{staticClass:\"flex items-center justify-between\"},[_c('p',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(cfdiXmlPdf.cfdi.receptorRfc)+\" \")])]):_vm._e(),(cfdiXmlPdf.cfdi)?_c('div',{staticClass:\"flex items-center justify-between text-sm\"},[_c('p',{staticClass:\" text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(cfdiXmlPdf.cfdi.receptorNombre)+\" \")]),_c('div',{staticClass:\" text-theme-600\"},[_vm._v(\" $\"+_vm._s(_vm.decimalFormat(cfdiXmlPdf.cfdi.total))+\" \")])]):_vm._e()])}),0),_c('div',{staticClass:\"my-4 flex items-center justify-between space-x-2 border-t pt-2 border-gray-100\"},[_c('div'),_c('button',{staticClass:\"inline-flex items-center space-x-2 truncate justify-center px-4 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])],1):_c('div',{staticClass:\"py-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('div',[_c('cfdis-list-and-table',{attrs:{\"withContract\":false,\"items\":_vm.filteredItems}})],1)])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport store from \"@/store\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport CfdisListAndTable from \"@/components/app/v3/cfdis/list/CfdisListAndTable.vue\";\nimport { CfdiXmlPdfDto } from \"@/application/dtos/app/v3/cfdis/CfdiXmlPdfDto\";\nimport DropCfdis from \"@/components/app/uploads/DropCfdis.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { UploadCfdisRequest } from \"@/application/contracts/app/cfdis/UploadCfdisRequest\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"CFDIs de contrato\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n CfdisListAndTable,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n DropCfdis,\n Loading\n }\n})\nexport default class ContractCfdis extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n dropCfdis: DropCfdis;\n };\n id = \"\";\n\n item: ContractDto | null = null;\n error = \"\";\n loading = false;\n uploading = false;\n cfdiXmlAndPdfs: CfdiXmlPdfDto[] = [];\n searchInput = \"\";\n\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.contracts\n .getContract(this.id, false)\n .then(response => {\n this.item = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n toggleUpload() {\n this.uploading = !this.uploading;\n if (this.uploading) {\n // this.$nextTick(() => {\n // this.$refs.buttonSave.focus();\n // });\n }\n }\n droppedFiles(files: FileBase64[]) {\n const cfdis: CfdiXmlPdfDto[] = [];\n this.loading = true;\n files.forEach(file => {\n const name = file.file.name\n .toUpperCase()\n .replace(\".XML\", \"\")\n .replace(\".PDF\", \"\");\n const xml = file.file.name.toUpperCase().includes(\".XML\")\n ? file.base64\n : \"\";\n const pdf = file.file.name.toUpperCase().includes(\".PDF\")\n ? file.base64\n : \"\";\n let cfdi = cfdis.find(f => f.fileName === name);\n if (!cfdi) {\n cfdi = {\n id: undefined,\n fileName: name,\n xml,\n pdf\n };\n cfdis.push(cfdi);\n } else {\n if (xml) {\n cfdi.xml = xml;\n }\n if (pdf) {\n cfdi.pdf = pdf;\n }\n }\n });\n const uploadCfdisRequest: UploadCfdisRequest = {\n cfdis\n };\n this.loading = true;\n services.cfdis\n .readCfdis(uploadCfdisRequest)\n .then((response: CfdiXmlPdfDto[]) => {\n this.cfdiXmlAndPdfs = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error).toString());\n })\n .finally(() => {\n this.loading = false;\n // self.$refs.dropCfdis.loading = false;\n });\n }\n removeCfdiXmlPdf(index) {\n this.cfdiXmlAndPdfs = this.cfdiXmlAndPdfs.filter((x, i) => i !== index);\n }\n decimalFormat(value: number) {\n return NumberUtils.decimalFormat(value);\n }\n get canEdit() {\n return this.item?.createdByUserId === store.state.account.user?.id || true;\n }\n get filteredItems(): CfdiDto[] {\n if (this.item?.cfdis.length === 0) {\n return [];\n }\n const items =\n this.item?.cfdis\n .map(f => f.cfdi)\n .filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.receptorNombre\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.receptorRfc\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n ) ?? [];\n\n return items;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractCfdis.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractCfdis.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractCfdis.vue?vue&type=template&id=087c57fc&\"\nimport script from \"./ContractCfdis.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractCfdis.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pt-4 space-y-2 pb-4\"},[_c('div',{staticClass:\"h-auto w-full flex justify-center py-12\"},[_c('div',{staticClass:\"loader ease-linear rounded-full border-8 border-t-8 border-blueGray-200 h-20 w-20\"})])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=b3e53b7a&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=b3e53b7a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3e53b7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bg-white dark:bg-gray-900 pb-6\"},[_c('div',{staticClass:\"relative pt-6 z-40\"},[_c('div',{staticClass:\"max-w-7xl mx-auto px-4 sm:px-6\"},[_c('nav',{staticClass:\"relative flex items-center justify-between sm:h-10 md:justify-center\",attrs:{\"aria-label\":\"Global\"}},[_c('div',{staticClass:\"flex items-center flex-1 md:absolute md:inset-y-0 md:left-0\"},[_c('div',{staticClass:\"flex items-center justify-between w-full md:w-auto\"},[_c('router-link',{staticClass:\"hidden lg:block\",attrs:{\"to\":{ name: 'landing' }}},[(_vm.$store.state.theme.theme === 1)?_c('img',{staticClass:\"h-9 w-auto\",attrs:{\"alt\":\"Icon\",\"src\":require(\"@/assets/img/logo-dark.png\")}}):_c('img',{staticClass:\"h-9 w-auto\",attrs:{\"alt\":\"Icon\",\"src\":require(\"@/assets/img/logo-light.png\")}})]),_c('router-link',{staticClass:\"lg:hidden\",attrs:{\"to\":{ name: 'landing' }}},[(_vm.$store.state.theme.theme === 1)?_c('img',{staticClass:\"h-8 w-auto\",attrs:{\"alt\":\"Icon\",\"src\":require(\"@/assets/img/logo-dark.png\")}}):_c('img',{staticClass:\"h-8 w-auto\",attrs:{\"alt\":\"Icon\",\"src\":require(\"@/assets/img/logo-light.png\")}})]),_c('div',{staticClass:\"-mr-2 flex items-center md:hidden\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"inline-flex rounded-md space-x-4\"},[_c('router-link',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-sm text-gray-900 dark:text-blueGray-300\",attrs:{\"to\":{ name: 'app' }}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"marketing.navbar.signIn\")))])])],1)]),_c('button',{staticClass:\"bg-white dark:bg-gray-900 rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-500\",attrs:{\"type\":\"button\",\"id\":\"main-menu\",\"aria-haspopup\":\"true\"},on:{\"click\":function($event){_vm.droppedDown = !_vm.droppedDown}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 6h16M4 12h16M4 18h16\"}})])])])],1)]),_c('div',{staticClass:\"hidden md:flex space-x-2 sm:space-x-4 md:space-x-6\"},[_vm._l((_vm.links),function(link,idx){return _c('router-link',{key:idx,staticClass:\"text-base leading-6 font-medium text-gray-900 hover:text-coolGray-800 dark:text-white focus:outline-none focus:text-coolGray-800 transition ease-in-out duration-150 px-3 py-1 rounded-sm hover:bg-blueGray-100 dark:bg-coolGray-900 dark:hover:bg-blueGray-800\",class:_vm.isCurrent(link.name)\n ? 'bg-blueGray-100 dark:bg-coolGray-900'\n : '',attrs:{\"to\":{ name: link.name }}},[_vm._v(_vm._s(link.title))])}),_c('DarkModeToggle')],2),_c('div',{staticClass:\"hidden md:absolute md:flex md:items-center md:justify-end md:inset-y-0 md:right-0 z-40\"},[_c('span',{staticClass:\"inline-flex rounded-md shadow\"},[_c('router-link',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent text-base font-medium rounded-sm text-theme-600 dark:text-white bg-white dark:bg-blueGray-800 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app' }}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"marketing.navbar.signIn\")))])])],1)])])]),_c('transition',{attrs:{\"enter-active-class\":\"duration-150 ease-out\",\"enter-class\":\"opacity-0 scale-95\",\"enter-to-class\":\"opacity-100 scale-100\",\"leave-active-class\":\"duration-100 ease-in\",\"leave-class\":\"opacity-100 scale-100\",\"leave-to-class\":\"opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.droppedDown),expression:\"droppedDown\"}],staticClass:\"absolute top-0 inset-x-0 p-2 transition transform origin-top-right md:hidden z-40\"},[_c('div',{staticClass:\"rounded-lg bg-blueGray-50 dark:bg-blueGray-800 border border-gray-200 dark:border-gray-700 shadow-xl ring-1 ring-black ring-opacity-5 overflow-hidden\"},[_c('div',{staticClass:\"px-5 pt-4 flex items-center justify-between\"},[_c('div',[(_vm.$store.state.theme.theme === 1)?_c('img',{staticClass:\"h-8 w-auto sm:h-10\",attrs:{\"alt\":\"Icon\",\"src\":\"https://via.placeholder.com/600x600.png/111827/6366F1?text=ICONO\"}}):_c('img',{staticClass:\"h-8 w-auto sm:h-10\",attrs:{\"alt\":\"Icon\",\"src\":\"https://via.placeholder.com/600x600.png/FFFFFF/6366F1?text=ICONO\"}})]),_c('div',{staticClass:\"-mr-2\"},[_c('button',{staticClass:\"rounded-md p-2 inline-flex items-center justify-center text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.droppedDown = !_vm.droppedDown}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])]),_c('div',{attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"main-menu\"}},[_c('div',{staticClass:\"px-2 pt-2 pb-3\",attrs:{\"role\":\"none\"}},_vm._l((_vm.links),function(link,idx){return _c('router-link',{key:idx,staticClass:\"block px-3 py-2 rounded-md text-base font-medium text-gray-900 dark:text-blueGray-300 hover:text-gray-900 hover:bg-gray-50\",class:_vm.isCurrent(link.name)\n ? 'bg-blueGray-100 dark:bg-coolGray-900'\n : '',attrs:{\"to\":{ name: link.name },\"role\":\"menuitem\"}},[_vm._v(_vm._s(link.title))])}),1),_c('div',{attrs:{\"role\":\"none\"}},[_c('router-link',{staticClass:\"block w-full px-5 py-3 text-center font-medium text-gray-900 dark:text-blueGray-300 bg-blueGray-50 dark:bg-blueGray-800\",attrs:{\"to\":{ name: 'account.login' },\"role\":\"menuitem\"}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"marketing.navbar.signIn\")))])])],1)])])])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"z-40 p-2 fixed left-0 bottom-0 ml-12 mb-10 rounded-sm bg-opacity-75 border-1 border-gray-500\"},_vm._l((_vm.colors),function(color,index){return _c('a',{key:index,staticClass:\"border border-text transition duration-500 ease-in-out transform hover:-translate-y-1 hover:scale-150\",class:' inline-flex cursor-pointer w-4 h-4 rounded-sm mx-1 bg-' +\n color +\n '-500'})}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\n\n@Component({\n components: {}\n})\nexport default class ColorSwitcher extends Vue {\n colors = [\n // \"red\",\n // \"orange\",\n // \"amber\",\n // // \"yellow\",\n // // \"lime\",\n // \"green\",\n // \"emerald\",\n // \"teal\",\n // \"cyan\",\n // \"lightBlue\",\n // \"blue\",\n // \"indigo\",\n // \"violet\",\n // \"purple\",\n // \"fuchsia\",\n // // \"pink\",\n // \"rose\",\n // // \"gray\",\n // \"blueGray\",\n // \"coolGray\"\n // // \"trueGray\",\n // // \"warmGray\"\n ];\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorSwitcher.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorSwitcher.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ColorSwitcher.vue?vue&type=template&id=e53377ca&\"\nimport script from \"./ColorSwitcher.vue?vue&type=script&lang=ts&\"\nexport * from \"./ColorSwitcher.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeDropDownFlags),expression:\"closeDropDownFlags\"}],staticClass:\"relative cursor-pointer\"},[_c('div',[(!_vm.open)?_c('div',{staticClass:\"-my-3 pt-2\",on:{\"click\":function($event){_vm.dropDownFlags = !_vm.dropDownFlags}}},[(!_vm.showFlagInsteadOfLocale)?_c('span',[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.preferences.language\"))+\" \")])]):_c('country-flag',{attrs:{\"country\":_vm.getCurrentLocale(true),\"size\":\"normal\"}})],1):_vm._e()]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dropDownFlags || _vm.open),expression:\"dropDownFlags || open\"}],class:!_vm.open\n ? 'z-40 origin-top-right absolute right-0 mt-2 w-44 rounded-sm '\n : 'z-40 mt-2 w-44 rounded-sm '},[_c('div',{staticClass:\"pt-1 rounded-sm bg-blueGray-50 dark:bg-blueGray-800 border border-primary shadow-xl\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"user-menu\"}},_vm._l((_vm.supportedLocales),function(language,index){return _c('a',{key:index,staticClass:\"h-10 space-x-2 cursor-pointer truncate group flex items-center px-2 text-sm text-gray-900 dark:text-blueGray-300 font-medium hover:bg-blueGray-100 dark:bg-coolGray-900 transition ease-in-out duration-150 border-b border-primary\",attrs:{\"role\":\"menuitem\"},on:{\"click\":function($event){return _vm.changedLocale(language.lang)}}},[_c('country-flag',{attrs:{\"country\":language.flag,\"size\":\"normal\"}}),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.locales.\" + language.lang))+\" \")])],1)}),0)])])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport CountryFlag from \"vue-country-flag\";\nimport supportedLocales from \"../../../locale/supportedLocales\";\nimport { Prop } from \"vue-property-decorator\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\n\n@Component({\n components: {\n CountryFlag\n }\n})\nexport default class FlagSelector extends Vue {\n @Prop() open!: boolean;\n @Prop({ default: true }) showFlagInsteadOfLocale;\n dropDownFlags = false;\n supportedLocales = supportedLocales;\n mounted() {\n this.dropDownFlags = this.open;\n }\n closeDropDownFlags() {\n this.dropDownFlags = false;\n }\n changedLocale(value) {\n this.closeDropDownFlags();\n store.commit(\"locale/updateLocale\", value);\n i18n.locale = value;\n }\n getCurrentLocale(flag: boolean) {\n const current = this.supportedLocales.find(f => f.lang === i18n.locale);\n if (current) {\n return flag ? current.flag : current.lang_short;\n }\n return flag ? \"us\" : \"en\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlagSelector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FlagSelector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FlagSelector.vue?vue&type=template&id=3afd8761&scoped=true&\"\nimport script from \"./FlagSelector.vue?vue&type=script&lang=ts&\"\nexport * from \"./FlagSelector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3afd8761\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Selector from \"@/components/shared/forms/Selector.vue\";\nimport ColorSwitcher from \"./selectors/ColorSwitcher.vue\";\nimport DarkModeToggle from \"./toggles/DarkModeToggle.vue\";\nimport FlagSelector from \"./selectors/FlagSelector.vue\";\nimport store from \"@/store\";\n\n@Component({\n components: {\n Selector,\n DarkModeToggle,\n ColorSwitcher,\n FlagSelector\n }\n})\nexport default class Header extends Vue {\n droppedDown = false;\n links: any[] = [\n { name: \"landing\", title: this.$t(\"marketing.navbar.product\") },\n // { name: \"providers\", title: this.$t(\"marketing.navbar.providers\") },\n { name: \"prices\", title: this.$t(\"marketing.navbar.pricing\") },\n { name: \"contact\", title: this.$t(\"marketing.navbar.contact\") }\n // { name: \"blog\", title: this.$t(\"marketing.navbar.blog\") }\n ];\n isCurrent(pathName: string): boolean {\n return (\n this.$route.name?.includes(pathName) ||\n this.$route.path.includes(pathName)\n );\n }\n get headerColor(): string {\n const color =\n store.state.theme.theme === 1\n ? \"bg-blueGray-50 dark:bg-blueGray-800\"\n : \"bg-blueGray-50 dark:bg-blueGray-800\";\n return color;\n }\n get headerColorMobile() {\n const color =\n store.state.theme.theme === 1\n ? \"bg-blueGray-50 dark:bg-blueGray-800\"\n : \"bg-blueGray-100 dark:bg-coolGray-900\";\n return color;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=608e0289&\"\nimport script from \"./Header.vue?vue&type=script&lang=ts&\"\nexport * from \"./Header.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[(_vm.withCurrentPlan)?_c('div',{staticClass:\"space-y-2 sm:space-y-0 sm:flex items-center sm:space-x-2 justify-between\"},[_c('h3',{staticClass:\"leading-5 text-gray-900 truncate\"},[(_vm.loading)?_c('span',{staticClass:\"leading-5\"},[_vm._v(\" Cargando plan actual... \")]):(_vm.currentProduct)?_c('span',[_vm._v(\" Límites del plan \"),_c('router-link',{staticClass:\" leading-5 font-bold hover:underline hover:text-theme-600\",attrs:{\"to\":{ name: 'settings.tenant.subscription' }}},[_vm._v(\" \"+_vm._s(_vm.currentProduct.subscriptionProduct.title)+\" \")])],1):(!_vm.loading)?_c('span',{staticClass:\"ml-1 text-sm leading-5 font-bold text-gray-500 \"},[_vm._v(\" (No tienes un plan activo) \")]):_vm._e()])]):_vm._e(),_c('dl',{staticClass:\"grid gap-5\",class:[\n _vm.cols,\n {\n 'mt-2 ': _vm.withCurrentPlan\n }\n ]},[_c('div',{staticClass:\"bg-white px-4 py-5 border border-gray-300 shadow-md rounded-lg overflow-hidden sm:p-6\",class:{\n 'bg-rose-50 border-rose-300 hover:bg-rose-100 cursor-pointer':\n _vm.billableStatus(_vm.maxLinksRemaining) === 0,\n 'bg-yellow-50 border-yellow-300 hover:bg-yellow-100 cursor-pointer':\n _vm.billableStatus(_vm.maxLinksRemaining) === 1,\n 'bg-white': _vm.billableStatus(_vm.maxLinksRemaining) === 2,\n 'bg-teal-50 border-teal-300 hover:bg-teal-100 cursor-pointer':\n _vm.billableStatus(_vm.maxLinksRemaining) === 3\n }},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Enlaces \")]),_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\"...\")]):_c('span',[(_vm.links)?_c('span',[_vm._v(\" \"+_vm._s(_vm.links)+\" \")]):_c('span',[_vm._v(\" 0 \")]),_vm._v(\" / \"),(_vm.currentProduct)?_c('span',[_vm._v(\" \"+_vm._s(_vm.currentProduct.maxLinks)+\" \")]):_c('span',{staticClass:\" text-gray-500 \"},[_vm._v(\" 0 \")])])])]),_c('router-link',{staticClass:\"bg-white px-4 py-5 border border-gray-300 shadow-md rounded-lg overflow-hidden sm:p-6 hover:bg-gray-50\",class:{\n 'bg-rose-50 border-rose-300 hover:bg-rose-100 cursor-pointer':\n _vm.billableStatus(_vm.maxDocumentsRemaining) === 0,\n 'bg-yellow-50 border-yellow-300 hover:bg-yellow-100 cursor-pointer':\n _vm.billableStatus(_vm.maxDocumentsRemaining) === 1,\n 'bg-white': _vm.billableStatus(_vm.maxDocumentsRemaining) === 2,\n 'bg-teal-50 border-teal-300 hover:bg-teal-100 cursor-pointer':\n _vm.billableStatus(_vm.maxDocumentsRemaining) === 3\n },attrs:{\"to\":{ path: '/app/contratos/pendientes' }}},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Contratos \")]),_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\"...\")]):_c('span',[(_vm.usage && _vm.usage.contracts)?_c('span',[_vm._v(\" \"+_vm._s(_vm.usage.contracts)+\" \")]):_c('span',[_vm._v(\" 0 \")]),_vm._v(\" / \"),(_vm.currentProduct)?_c('span',[_vm._v(\" \"+_vm._s(_vm.currentProduct.monthlyContracts)+\" \")]):_c('span',{staticClass:\" text-gray-500 \"},[_vm._v(\" 0 \")])])])]),_c('router-link',{staticClass:\"bg-white px-4 py-5 border border-gray-300 shadow-md rounded-lg overflow-hidden sm:p-6 hover:bg-gray-50\",class:{\n 'bg-rose-50 border-rose-300 hover:bg-rose-100 cursor-pointer':\n _vm.billableStatus(_vm.maxWorkspacesRemaining) === 0,\n 'bg-yellow-50 border-yellow-300 hover:bg-yellow-100 cursor-pointer':\n _vm.billableStatus(_vm.maxWorkspacesRemaining) === 1,\n 'bg-white': _vm.billableStatus(_vm.maxWorkspacesRemaining) === 2,\n 'bg-teal-50 border-teal-300 hover:bg-teal-100 cursor-pointer':\n _vm.billableStatus(_vm.maxWorkspacesRemaining) === 3\n },attrs:{\"to\":{ name: 'settings.tenant.workspaces' }}},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" RFCs \")]),_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\"...\")]):_c('span',[(_vm.usage)?_c('span',[_vm._v(\" \"+_vm._s(_vm.workspaces.length)+\" \")]):_c('span',[_vm._v(\" 0 \")]),_vm._v(\" / \"),(_vm.currentProduct)?_c('span',[_vm._v(\" \"+_vm._s(_vm.currentProduct.maxWorkspaces)+\" \")]):_c('span',{staticClass:\" text-gray-500 \"},[_vm._v(\" 0 \")])])])]),_c('router-link',{staticClass:\"bg-white px-4 py-5 border border-gray-300 shadow-md rounded-lg overflow-hidden sm:p-6 hover:bg-gray-50\",class:{\n 'bg-rose-50 border-rose-300 hover:bg-rose-100 cursor-pointer':\n _vm.billableStatus(_vm.maxUsersRemaining) === 0,\n 'bg-yellow-50 border-yellow-300 hover:bg-yellow-100 cursor-pointer':\n _vm.billableStatus(_vm.maxUsersRemaining) === 1,\n 'bg-white': _vm.billableStatus(_vm.maxUsersRemaining) === 2,\n 'bg-teal-50 border-teal-300 hover:bg-teal-100 cursor-pointer':\n _vm.billableStatus(_vm.maxUsersRemaining) === 3\n },attrs:{\"to\":{ name: 'settings.tenant.members' }}},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Usuarios \")]),_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\"...\")]):_c('span',[(_vm.usage)?_c('span',[_vm._v(\" \"+_vm._s(_vm.users.length)+\" \")]):_c('span',[_vm._v(\" 0 \")]),_vm._v(\" / \"),(_vm.currentProduct)?_c('span',[_vm._v(\" \"+_vm._s(_vm.currentProduct.maxUsers)+\" \")]):_c('span',{staticClass:\" text-gray-500 \"},[_vm._v(\" 0 \")])])])])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport services from \"@/services\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport { SubscriptionGetCurrentResponse } from \"@/application/contracts/master/subscriptions/SubscriptionGetCurrentResponse\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { Prop } from \"vue-property-decorator\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {}\n})\nexport default class TenantSubscriptionProducts extends Vue {\n @Prop({ default: false }) withCurrentPlan!: boolean;\n @Prop({ default: \"grid-cols-2 sm:grid-cols-2 xl:grid-cols-4\" })\n cols!: boolean;\n loading = false;\n subscription: SubscriptionGetCurrentResponse | null = null;\n workspaces: WorkspaceDto[] = [];\n users: TenantUserDto[] = [];\n mounted() {\n tinyEventBus().emitter.on(\"updated-plan\", () => {\n this.reload();\n });\n this.reload();\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"updated-plan\");\n }\n reload() {\n this.loading = true;\n\n const promises: any[] = [];\n\n const loadDashboard = services.subscriptionManager\n .getCurrentSubscription()\n .then(response => {\n this.subscription = response;\n });\n // const loadFeatures = services.tenants.getCurrentUsage();\n const loadWorkspaces = services.workspaces\n .getAllWorkspaces(false)\n .then(response => {\n this.workspaces = response;\n });\n const loadUsers = services.tenantUsers.getAll(\"\").then(response => {\n this.users = response;\n });\n promises.push(loadDashboard);\n promises.push(loadWorkspaces);\n // promises.push(loadFeatures);\n promises.push(loadUsers);\n\n this.loading = true;\n Promise.all(promises).finally(() => {\n this.loading = false;\n });\n }\n billableStatus(max: number): number {\n if (this.loading) {\n return 2;\n }\n if (!this.currentProduct) {\n return 0;\n }\n if (max === 0) {\n return 1;\n }\n if (max > 0) {\n return 2;\n }\n return 0;\n }\n dateAgo(value: Date) {\n return DateUtils.dateAgo(value);\n }\n get links(): number {\n return store.state.app.usage.providers + store.state.app.usage.clients;\n }\n get getLinksRoutName() {\n return \"app.providers\";\n }\n get currentProduct(): TenantProductDto | undefined {\n if (\n this.subscription?.myProducts &&\n this.subscription?.myProducts.length > 0\n ) {\n return this.subscription?.myProducts[0];\n }\n return undefined;\n }\n get maxLinksRemaining() {\n if (!this.currentProduct || !this.usage) {\n return 1;\n }\n const links = this.usage.providers + this.usage.clients;\n const remaining = this.currentProduct.maxLinks - links;\n return remaining;\n }\n get maxDocumentsRemaining() {\n if (!this.currentProduct || !this.usage) {\n return 1;\n }\n return this.currentProduct.monthlyContracts - this.usage.contracts;\n }\n get maxWorkspacesRemaining() {\n if (!this.currentProduct || !this.usage) {\n return 1;\n }\n return this.currentProduct.maxWorkspaces - this.workspaces.length;\n }\n get maxUsersRemaining() {\n if (!this.currentProduct || !this.usage) {\n return 1;\n }\n return this.currentProduct.maxUsers - this.users.length;\n }\n get usage(): AppUsageSummaryDto {\n return store.state.app.usage;\n }\n // get myProducts(): SubscriptionPriceDto[] {\n // const products = store.state.tenant?.subscription?.myProducts.map(\n // f => f.subscriptionPrice\n // ) as SubscriptionPriceDto[];\n // if (products && products.length > 0) {\n // return products.filter(\n // f => f.billingPeriod === SubscriptionBillingPeriod.ONCE\n // );\n // }\n // return [];\n // }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionProducts.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantSubscriptionProducts.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantSubscriptionProducts.vue?vue&type=template&id=a9a236d6&\"\nimport script from \"./TenantSubscriptionProducts.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantSubscriptionProducts.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.clients.my\"))+\" \")]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('ButtonPrimary',{attrs:{\"type\":\"button\"},on:{\"click\":_vm.newLink}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"hidden lg:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newClient\"))+\" \")]),_c('div',{staticClass:\"lg:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newClient\"))+\" \")])])],1)])]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[_c('clients-list',{ref:\"list\"})],1),_c('link-form',{ref:\"newLinkForm\",attrs:{\"asProvider\":true,\"selectType\":false},on:{\"created\":_vm.reload}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('clients-list-and-table',{attrs:{\"items\":_vm.sortedItems}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.sortedItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes clientes'\n },\"icon\":\"plus\"},on:{\"new\":_vm.newClient}})],1):_c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(client,idxClient){return _c('li',{key:idxClient},[_c('router-link',{staticClass:\"block hover:bg-gray-50\",attrs:{\"to\":{\n name: 'app.client.view',\n params: { id: client.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\"flex items-end justify-between\"},[_c('div',{staticClass:\"text-sm truncate font-bold text-gray-900 flex-grow\"},[_vm._v(\" \"+_vm._s(client.clientWorkspace.taxId)+\" \")])]),_c('div',{staticClass:\"mt-2 flex items-center text-sm text-gray-500 space-x-1\"},[_c('div',{staticClass:\"truncate max-w-sm\"},[_vm._v(\" \"+_vm._s(client.clientWorkspace.legalName)+\" \")])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-900\"},[_c('time',{attrs:{\"datetime\":client.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(client.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-sm text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])],1)}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-6 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(client,idxClient){return _c('tr',{key:idxClient,attrs:{\"to\":{\n name: 'app.client.view',\n params: { id: client.id }\n }}},[_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end\"},[_c('div',{staticClass:\"ml-4\"},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900\"},[_vm._v(\" \"+_vm._s(client.clientWorkspace.taxId)+\" \")]),_c('div',{staticClass:\"text-sm text-gray-500 flex items-center space-x-1 truncate max-w-xs\"},[_vm._v(\" \"+_vm._s(client.clientWorkspace.legalName)+\" \")])])])]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap text-sm text-gray-600\"},[(\n client.contracts && client.contracts.length === 0\n )?_c('span',{staticClass:\" italic text-gray-400\"},[_vm._v(\" NA \")]):_c('router-link',{staticClass:\"text-theme-600 hover:text-theme-800 lowercase underline font-medium\",attrs:{\"to\":{\n name: 'app.contracts',\n params: {\n status: 'todos'\n },\n query: {\n cliente: client.clientWorkspace.taxId\n }\n }}},[(client.contracts)?_c('span',[_vm._v(\" \"+_vm._s(client.contracts.length)+\" \"),(client.contracts.length === 1)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.object\"))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.plural\"))+\" \")])]):_vm._e()])],1),_c('td',{staticClass:\" w-20 px-2 py-4 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{\n name: 'app.contracts.new',\n query: { l: client.id }\n }}},[_c('sign',{staticClass:\"h-4 w-4\"}),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.new.title\"))+\" \")])],1)],1)])])}),0)])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\n// import Icon from \"@/assets/contracts/Client.vue\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n // Icon\n EmptyState,\n Sign\n }\n})\nexport default class ClientsListAndTable extends Vue {\n @Prop({}) items!: LinkDto[];\n sortByColumn = \"\";\n sortDirection = -1;\n headers = [\n {\n name: \"legalName\",\n title: i18n.t(\"models.client.legalName\")\n },\n {\n title: i18n.t(\"models.contract.plural\")\n },\n {\n title: i18n.t(\"shared.actions\")\n }\n // {\n // name: \"createdAt\",\n // title: i18n.t(\"shared.created\")\n // }\n // {\n // title: i18n.t(\"app.clients.visits\")\n // }\n ];\n\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n newClient() {\n tinyEventBus().emitter.emit(\"new-client\");\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n get sortedItems(): LinkDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ClientsListAndTable.vue?vue&type=template&id=63194ff0&\"\nimport script from \"./ClientsListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ClientsListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport ClientsListAndTable from \"./ClientsListAndTable.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n ClientsListAndTable,\n Loading\n }\n})\nexport default class ClientsList extends Vue {\n loading = false;\n items: LinkDto[] = [];\n // pending: LinkDto[] = [];\n\n searchInput = \"\";\n\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.links\n .getAllClients()\n .then(response => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n // services.clients.getAllPending().then(response => {\n // this.pending = response;\n // });\n }\n get filteredItems(): LinkDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): LinkDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ClientsList.vue?vue&type=template&id=fd446ce4&\"\nimport script from \"./ClientsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ClientsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport ClientsList from \"@/components/app/v3/contacts/clients/list/ClientsList.vue\";\nimport LinkForm from \"@/components/app/v3/contacts/LinkForm.vue\";\nimport ButtonPrimary from \"@/components/shared/buttons/ButtonPrimary.vue\";\n\n@Component({\n metaInfo: {\n title: \"Mis clientes\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n ClientsList,\n LinkForm,\n ButtonPrimary\n }\n})\nexport default class Clients extends Vue {\n $refs!: {\n newLinkForm: LinkForm;\n list: ClientsList;\n };\n newLink() {\n this.$refs.newLinkForm.show();\n }\n reload() {\n this.$refs.list.reload();\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clients.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clients.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Clients.vue?vue&type=template&id=731a22f1&\"\nimport script from \"./Clients.vue?vue&type=script&lang=ts&\"\nexport * from \"./Clients.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum UserLoginType {\n PASSWORD,\n GMAIL,\n}\n","export enum ComplianceStatus {\n NotRequired,\n WithinDeadline,\n Compliant,\n NonCompliant,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showing)?_c('div',{on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.close($event)},\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"fixed z-10 inset-0 overflow-y-auto\",attrs:{\"aria-labelledby\":\"modal-title\",\"role\":\"dialog\",\"aria-modal\":\"true\"}},[_c('div',{staticClass:\"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6\"},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-green-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-sm text-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.description)+\" \")])])])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('button',{ref:\"buttonClose\",staticClass:\"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-theme-600 text-base font-medium text-white hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.closeText)+\" \")])])])])],1)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class SuccessModal extends Vue {\n $refs!: {\n buttonClose: HTMLButtonElement;\n };\n title!: string;\n description!: string;\n closeText!: TranslateResult | string;\n showing = false;\n mounted() {\n this.title = this.$t(\"shared.success\").toString();\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(title: any, description?: any) {\n this.title = title;\n this.description = description;\n this.showing = true;\n this.$nextTick(() => {\n setTimeout(() => {\n if (this.$refs.buttonClose) {\n this.$refs.buttonClose.focus();\n }\n }, 1000);\n });\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n keyup(event: KeyboardEvent) {\n // console.log({ event, showing: this.showing });\n if (event.keyCode === 13) {\n this.close();\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuccessModal2.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuccessModal2.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SuccessModal2.vue?vue&type=template&id=2bbb855b&\"\nimport script from \"./SuccessModal2.vue?vue&type=script&lang=ts&\"\nexport * from \"./SuccessModal2.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showing)?_c('div',{on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.close($event)},\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"fixed z-10 inset-0 overflow-y-auto\",attrs:{\"aria-labelledby\":\"modal-title\",\"role\":\"dialog\",\"aria-modal\":\"true\"}},[_c('div',{staticClass:\"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm w-72 sm:w-full sm:p-6\"},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-red-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-red-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-sm text-gray-700 max-h-40 overflow-y-auto\"},[_vm._v(\" \"+_vm._s(_vm.description)+\" \")])])])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('button',{ref:\"buttonClose\",staticClass:\"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-gray-800 text-base font-medium text-white hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 sm:mt-0 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.closeText)+\" \")])])])])],1)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class ErrorModal extends Vue {\n $refs!: {\n buttonClose: HTMLButtonElement;\n };\n title!: string;\n description!: string;\n closeText!: TranslateResult | string;\n showing = false;\n mounted() {\n this.title = this.$t(\"shared.success\").toString();\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(title: any, description?: any) {\n this.title = title;\n this.description = description;\n // if (this.description && this.description.length > 300) {\n // this.description = this.description.substring(0, 300);\n // }\n this.showing = true;\n // window.addEventListener(\"keyup\", this.keyEvent);\n setTimeout(() => {\n this.$nextTick(() => {\n if (this.$refs.buttonClose) {\n this.$refs.buttonClose.focus();\n }\n });\n }, 500);\n }\n keyEvent(event) {\n if (event.ctrlKey && event.keyCode) {\n if (event.keyCode === 13) {\n this.close();\n }\n }\n }\n close() {\n window.removeEventListener(\"keyup\", this.keyEvent);\n this.$emit(\"closed\");\n this.showing = false;\n }\n keyup(event: KeyboardEvent) {\n // console.log({ event, showing: this.showing });\n if (event.keyCode === 13) {\n this.close();\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorModal.vue?vue&type=template&id=3319836e&\"\nimport script from \"./ErrorModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('div',{staticClass:\" min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"}),(!_vm.registered)?_c('div',[_c('h2',{staticClass:\"mt-6 text-center text-lg leading-9 font-bold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.title\"))+\" \")]),_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-coolGray-800 dark:text-blueGray-200 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.alreadyRegistered\"))+\" \"),_c('a',{staticClass:\"font-medium text-theme-500 hover:text-theme-400 focus:outline-none focus:underline transition ease-in-out duration-150\"},[_c('router-link',{attrs:{\"to\":{ name: 'account.login' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.clickHereToLogin\"))+\" \")])],1)]),_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"py-0 px-0 sm:rounded-sm sm:px-10\"},[_c('form',{staticClass:\"space-y-6\",on:{\"submit\":function($event){$event.preventDefault();return _vm.tryRegisterWithPassword($event)}}},[_c('div',[_c('legend',{staticClass:\"block text-sm font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.personalInfo\"))+\" \")]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm -space-y-px\"},[_c('div',{staticClass:\"flex -space-x-px\"},[_c('div',{staticClass:\"w-1/2\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"first-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.firstName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.firstName),expression:\"user.firstName\"}],ref:\"inputFirstName\",staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"first-name\",\"id\":\"first-name\",\"required\":\"\",\"placeholder\":_vm.$t('account.register.firstName')},domProps:{\"value\":(_vm.user.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"firstName\", $event.target.value)}}})]),_c('div',{staticClass:\"w-1/2\"},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"last-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.lastName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.lastName),expression:\"user.lastName\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"last-name\",\"id\":\"last-name\",\"required\":\"\",\"placeholder\":_vm.$t('account.register.lastName')},domProps:{\"value\":(_vm.user.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"lastName\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.email\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",class:{\n 'bg-gray-100 dark:bg-gray-800 cursor-not-allowed': !_vm.emailEnabled\n },attrs:{\"type\":\"text\",\"name\":\"email\",\"id\":\"email\",\"required\":\"\",\"placeholder\":_vm.$t('account.shared.email'),\"disabled\":!_vm.emailEnabled},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"type\":\"password\",\"autocomplete\":\"none\",\"required\":\"\",\"placeholder\":_vm.$t('account.register.password')},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.confirmPassword),expression:\"user.confirmPassword\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 rounded-b-md focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"confirmPassword\",\"type\":\"password\",\"autocomplete\":\"none\",\"required\":\"\",\"placeholder\":_vm.$t('account.register.confirmPassword')},domProps:{\"value\":(_vm.user.confirmPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"confirmPassword\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"block text-sm font-medium\",attrs:{\"for\":\"company\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.organization\")))]),_c('div',{staticClass:\"mt-1 rounded-md shadow-sm -space-y-px\"},[_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"tax-id\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.taxId\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.workspaceTaxId),expression:\"user.workspaceTaxId\"}],ref:\"inputTaxId\",staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 rounded-t-md focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",class:{\n 'bg-gray-100 dark:bg-gray-800 cursor-not-allowed': !_vm.workspaceTaxIdEnabled\n },attrs:{\"type\":\"text\",\"name\":\"tax-id\",\"id\":\"tax-id\",\"minlength\":\"12\",\"maxlength\":\"13\",\"placeholder\":_vm.$t('models.workspace.taxId'),\"required\":\"\",\"disabled\":!_vm.workspaceTaxIdEnabled},domProps:{\"value\":(_vm.user.workspaceTaxId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"workspaceTaxId\", $event.target.value)},function($event){_vm.user.workspaceTaxId = $event.target.value.toUpperCase()}]}})]),_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"workspace-legal-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.workspace.legalName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.workspaceLegalName),expression:\"user.workspaceLegalName\"}],ref:\"inputLegalName\",staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"workspace-legal-name\",\"type\":\"text\",\"name\":\"company\",\"required\":\"\",\"placeholder\":_vm.$t('models.workspace.legalName')},domProps:{\"value\":(_vm.user.workspaceLegalName)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"workspaceLegalName\", $event.target.value)},function($event){_vm.user.workspaceLegalName = $event.target.value.toUpperCase()}]}})]),_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"workspace-legal-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.user.role\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.companyRole),expression:\"user.companyRole\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border rounded-b-md border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"role\",\"type\":\"text\",\"name\":\"role\",\"placeholder\":_vm.$t('models.user.role')},domProps:{\"value\":(_vm.user.companyRole)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"companyRole\", $event.target.value)}}})])]),_c('div',{staticClass:\"mt-2 flex items-center space-x-3\"},[_c('button',{staticClass:\"bg-gray-200 relative inline-flex flex-shrink-0 h-5 w-9 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",class:{\n 'bg-theme-600': _vm.workspaceType === 1,\n 'bg-gray-200': _vm.workspaceType === 0\n },attrs:{\"aria-label\":\"specialized-provider\",\"type\":\"button\",\"role\":\"switch\",\"aria-checked\":\"false\"},on:{\"click\":_vm.toggleWorkspaceType}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Proveedor especializado\")]),_c('span',{staticClass:\"translate-x-0 pointer-events-none relative inline-block h-4 w-4 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200\",class:{\n 'translate-x-4': _vm.workspaceType === 1,\n 'translate-x-0': _vm.workspaceType === 0\n }},[_c('span',{staticClass:\"opacity-100 ease-in duration-200 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'hidden opacity-0 ease-out duration-100':\n _vm.workspaceType === 1,\n 'opacity-100 ease-in duration-200':\n _vm.workspaceType === 0\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-gray-400\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2\",\"stroke\":\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])]),_c('span',{staticClass:\"opacity-0 ease-out duration-100 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'opacity-100 ease-in duration-200':\n _vm.workspaceType === 1,\n 'hidden opacity-0 ease-out duration-100':\n _vm.workspaceType === 0\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-theme-600\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z\"}})])])])]),_vm._m(0)])]),_c('Plans'),(false)?_c('div',{staticClass:\"mt-6\"},[_c('a',{staticClass:\"block text-sm font-medium leading-5 primary cursor-pointer hover:text-theme-500 underline\",attrs:{\"for\":\"coupon\"},on:{\"click\":function($event){$event.preventDefault();_vm.haveCoupon = !_vm.haveCoupon}}},[_vm._v(_vm._s(_vm.$t(\"account.register.applyCoupon\")))]),(_vm.haveCoupon)?_c('div',{staticClass:\"mt-1 flex rounded-sm shadow-sm\"},[_c('div',{staticClass:\"relative flex-grow focus-within:z-10\"},[_c('div',{staticClass:\"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.couponCode),expression:\"couponCode\"}],staticClass:\"dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",class:_vm.couponDescription &&\n _vm.couponDescription ===\n _vm.$t('account.register.invalidCoupon')\n ? 'bg-rose-50'\n : _vm.couponDescription\n ? 'bg-teal-50'\n : '',attrs:{\"disabled\":_vm.coupon,\"id\":\"coupon\",\"placeholder\":_vm.$t('account.register.couponCode')},domProps:{\"value\":(_vm.couponCode)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.couponCode=$event.target.value}}})]),(!_vm.coupon)?_c('button',{staticClass:\"bg-white dark:bg-gray-800 cursor-pointer -ml-px relative inline-flex items-center px-4 border border-gray-300 dark:border-gray-700 text-sm font-medium rounded-r-sm text-coolGray-800 dark:text-blueGray-200 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150\",on:{\"click\":function($event){$event.preventDefault();return _vm.searchCoupon(true)}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"shared.apply\")))])]):_c('div',{staticClass:\"-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-r-sm text-gray-700 bg-gray-50 hover:text-gray-500 hover:bg-white focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150\"},[_c('i',{staticClass:\"fa fa-check text-teal-500 rounded-sm\"}),_c('span',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.$t(\"shared.applied\")))])])]):_vm._e(),(\n _vm.couponDescription &&\n _vm.couponDescription === _vm.$t('account.register.invalidCoupon')\n )?_c('p',{staticClass:\"mt-2 text-sm\",class:_vm.couponDescription === _vm.$t('account.register.invalidCoupon')\n ? 'text-red-500'\n : 'text-teal-500',attrs:{\"id\":\"coupon-description\"}},[_vm._v(\" \"+_vm._s(_vm.couponDescription)+\" \")]):_vm._e()]):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}],staticClass:\"mt-3\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[(_vm.selectedPrice && _vm.selectedPrice.price === 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.signUpFree\"))+\" \")]):(_vm.selectedPrice && _vm.selectedPrice.trialDays > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.startTrial\", [ _vm.selectedPrice.trialDays ]))+\" \")]):(!_vm.getButtonText)?_c('span',[_vm._v(\"Selecciona un plan\")]):_c('span',[_vm._v(_vm._s(_vm.getButtonText))])])],1)]),(false)?_c('div',{staticClass:\"z-0 mt-6\"},[_c('div',{staticClass:\"relative\"},[_vm._m(1),_c('div',{staticClass:\"relative flex justify-center text-sm leading-5\"},[_c('span',{staticClass:\"px-2 bg-blueGray-50 dark:bg-blueGray-800 text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.orSignUpUsing\"))+\" \")])])]),_c('div',{staticClass:\"mt-6\"},[_c('div',[_c('span',{staticClass:\"w-full inline-flex rounded-sm shadow-sm\"},[_c('button',{directives:[{name:\"google-signin-button\",rawName:\"v-google-signin-button\",value:(_vm.googleClientId),expression:\"googleClientId\"}],staticClass:\"hover:border-gray-400 w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-sm bg-blueGray-50 dark:bg-blueGray-800 text-sm leading-5 font-medium text-coolGray-800 dark:text-blueGray-200 hover:text-gray-400 focus:outline-none focus:border-theme-300 focus:shadow-outline-theme transition duration-150 ease-in-out\",attrs:{\"type\":\"submit\",\"aria-label\":\"Gmail\"}},[_c('svg',{attrs:{\"viewBox\":\"0 0 48 48\",\"width\":\"24px\",\"height\":\"24px\"}},[_c('path',{attrs:{\"fill\":\"#FFC107\",\"d\":\"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z\"}}),_c('path',{attrs:{\"fill\":\"#FF3D00\",\"d\":\"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z\"}}),_c('path',{attrs:{\"fill\":\"#4CAF50\",\"d\":\"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z\"}}),_c('path',{attrs:{\"fill\":\"#1976D2\",\"d\":\"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z\"}})])])])])])]):_vm._e(),_c('p',{staticClass:\"mt-3 py-2 text-gray-500 text-sm border-t border-gray-200 dark:border-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.bySigningUp\"))+\" \"),_c('a',{staticClass:\"text-theme-500 underline\",attrs:{\"target\":\"_blank\",\"href\":\"/terms-and-conditions\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.termsAndConditions\")))]),_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.andOur\"))+\" \"),_c('a',{staticClass:\"text-theme-500 underline\",attrs:{\"target\":\"_blank\",\"href\":\"/privacy-policy\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.privacyPolicy\")))]),_vm._v(\". \")])],1)])])]):_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"bg-blueGray-50 dark:bg-blueGray-800 max-w-sm w-full mx-auto rounded-sm px-8 pt-6 pb-8 mb-4 mt-8\"},[_c('h2',{staticClass:\"mt-6 text-center text-3xl leading-9 font-bold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.successTitle\"))+\" \")]),_c('div',{staticClass:\"my-4 leading-tight\"},[_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-coolGray-800 dark:text-blueGray-200 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.successText\"))+\" \")])])])])],1),_c('new-modal',{ref:\"modalInvitation\"},[(\n _vm.linkInvitation &&\n _vm.linkInvitation.createdByUser &&\n _vm.linkInvitation.createdByWorkspace\n )?_c('div',{staticClass:\" space-y-6 text-gray-900\"},[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-theme-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-theme-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium \",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" Invitación a ser \"),(_vm.linkInvitation.inviteeIsProvider)?_c('span',{staticClass:\" font-bold text-theme-600\"},[_vm._v(\" Proveedor \")]):_c('span',{staticClass:\" font-bold text-theme-600\"},[_vm._v(\"Cliente\")])]),_c('div',{staticClass:\"mt-4 text-left\"},[_c('p',{staticClass:\" font-normal text-base\"},[_vm._v(\" \"+_vm._s(_vm.linkInvitation.createdByUser.firstName)+\" (\"),_c('span',{staticClass:\" italic text-gray-600\"},[_vm._v(_vm._s(_vm.linkInvitation.createdByUser.email)+\")\")]),_vm._v(\" te ha invitado a crear enlace entre su empresa \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.linkInvitation.createdByWorkspace.taxId))]),_vm._v(\" - \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.linkInvitation.createdByWorkspace.legalName))]),_vm._v(\" y tu empresa \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.linkInvitation.taxId)+\" \")]),(_vm.linkInvitation.inviteeIsProvider)?_c('span',[_vm._v(\"para que compartas tu documentación de cumplimiento.\")]):_c('span',[_vm._v(\"para que te comparta su documentación de cumplimiento.\")])])]),(_vm.linkInvitation.message)?_c('div',{staticClass:\"mt-4 text-left bg-gray-50 border border-gray-300 py-2 px-2\"},[_c('p',{staticClass:\" font-normal text-base text-gray-600\"},[_c('span',{staticClass:\" font-medium\"},[_vm._v(\" Mensaje de \"+_vm._s(_vm.linkInvitation.createdByUser.firstName))]),_vm._v(\": \"+_vm._s(_vm.linkInvitation.message)+\" \")])]):_vm._e()])]):_vm._e(),_c('div',{staticClass:\"mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense\"},[_c('button',{ref:\"buttonAcceptInvitation\",staticClass:\"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-theme-600 text-base font-medium text-white hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:col-start-2 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.acceptInvitation}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")]),_c('button',{staticClass:\"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:mt-0 sm:col-start-1 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.rejectInvitation}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reject\"))+\" \")])])]),_c('new-modal',{ref:\"cardModal\"},[_c('div',{},[_c('card',{ref:\"card\",staticClass:\"stripe-card w-full mt-5 mb-5\",class:_vm.cardCompleted ? 'border-1 border-green-100' : '',attrs:{\"stripe\":_vm.stripeKey,\"options\":_vm.stripeOptions},on:{\"change\":function($event){_vm.cardCompleted = $event.complete}}}),_c('button',{staticClass:\"block w-full py-2 px-3 border border-transparent rounded-sm text-white font-semibold bg-gray-800 hover:bg-gray-700 focus:bg-gray-900 focus:outline-shadow sm:text-sm sm:leading-5\",attrs:{\"disabled\":!_vm.cardCompleted},on:{\"click\":_vm.pay}},[_vm._v(\" \"+_vm._s(_vm.getButtonText)+\" \")])],1)]),_c('ConfirmModal',{ref:\"confirmModalRegister\",on:{\"yes\":_vm.confirmedRegister}}),_c('ErrorModal',{ref:\"errorModal\",attrs:{\"title\":_vm.$t('shared.error'),\"text\":_vm.$t('account.register.errorText'),\"closeText\":_vm.$t('shared.close')}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"flex-grow flex flex-col\"},[_c('span',{staticClass:\"text-sm font-normal dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200\",attrs:{\"id\":\"specialized-provider\"}},[_vm._v(\"Estoy registrado como proveedor en el REPSE\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"absolute inset-0 flex items-center\"},[_c('div',{staticClass:\"w-full border-t border-gray-300\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport GoogleSignInButton from \"vue-google-signin-button-directive\";\nimport { Card, createToken } from \"vue-stripe-elements-plus\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport BillingPeriodToggle from \"../../components/marketing/toggles/BillingPeriodToggle.vue\";\nimport Plans from \"@/components/marketing/pricing/PlansRadioButtons.vue\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { SubscriptionCouponDto } from \"../../application/dtos/master/subscriptions/SubscriptionCouponDto\";\nimport { UserLoginType } from \"../../application/enums/master/users/UserLoginType\";\nimport { SubscriptionBillingPeriod } from \"../../application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { SubscriptionProductDto } from \"../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionPriceDto } from \"../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { UserRegisterRequest } from \"../../application/contracts/master/users/UserRegisterRequest\";\nimport LoadingButtonComponent from \"@/components/shared/buttons/LoadingButton.vue\";\nimport Modal from \"@/components/shared/modals/Modal.vue\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { LinkStatus } from \"@/application/enums/app/v3/links/LinkStatus\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { LinkInvitationDto } from \"@/application/dtos/master/v3/links/LinkInvitationDto\";\nimport services from \"@/services\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\n\n@Component({\n metaInfo: {\n title: \"Crea tu cuenta\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n BillingPeriodToggle,\n ErrorModal,\n NewModal,\n Card,\n Plans,\n Logo,\n LoadingButton,\n ConfirmModal\n },\n directives: {\n GoogleSignInButton\n }\n})\nexport default class Register extends Vue {\n $refs!: {\n inputFirstName: HTMLInputElement;\n inputWorkspaceName: HTMLInputElement;\n inputTaxId: HTMLInputElement;\n inputLegalName: HTMLInputElement;\n loadingButton: LoadingButtonComponent;\n modalInvitation: NewModal;\n errorModal: ErrorModal;\n cardModal: Modal;\n buttonAcceptInvitation: HTMLButtonElement;\n confirmModalRegister: ConfirmModal;\n };\n loading = false;\n requireName = true;\n requirePhone = true;\n requirePassword = true;\n droppedDown = false;\n googleClientId = \"\";\n user = {} as UserRegisterRequest;\n email = \"\";\n // verifyToken: string = \"\";\n stripeKey = \"\";\n stripeOptions: any = {};\n cardCompleted = false;\n registered = false;\n haveCoupon = false;\n couponCode = \"\";\n couponDescription = \"\";\n coupon: SubscriptionCouponDto | null = null;\n linkInvitation: LinkInvitationDto | null = null;\n linkInvitationAccepted = false;\n\n emailEnabled = true;\n workspaceTaxIdEnabled = true;\n\n workspaceType: WorkspaceType = WorkspaceType.REGULAR;\n\n created() {\n if (this.$route.query.e) {\n this.user.email = this.$route.query.e.toString();\n }\n\n this.googleClientId =\n process.env.VUE_APP_GOOGLE_CLIENT_ID_OAUTH2?.toString() ?? \"\";\n this.stripeKey =\n process.env.VUE_APP_SUBSCRIPTION_PUBLIC_KEY?.toString() ?? \"\";\n this.stripeOptions = {\n showCardHolderName: true,\n hidePostalCode: false,\n iconStyle: \"solid\",\n elements: {\n locale: i18n.locale\n }\n };\n }\n mounted() {\n this.loading = true;\n services.subscriptionProducts\n .getProducts(true, true)\n .then(() => {\n if (this.$route.query.p) {\n const product = this.products.find(\n f => f.tier === Number(this.$route.query.p)\n );\n if (product) {\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n }\n if (!this.selectedProduct) {\n store.commit(\n \"pricing/billingPeriod\",\n SubscriptionBillingPeriod.MONTHLY\n );\n store.commit(\"pricing/currency\", \"mxn\");\n store.commit(\"pricng/select\", {\n product: this.products[0],\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n\n if (this.$route.params.coupon) {\n this.haveCoupon = true;\n this.couponCode = this.$route.params.coupon;\n this.searchCoupon(false);\n } else if (this.$route.query.coupon) {\n this.haveCoupon = true;\n this.couponCode = this.$route.query.coupon.toString();\n this.searchCoupon(false);\n }\n if (this.$route.query.i) {\n services.links\n .getInvitation(this.$route.query.i.toString())\n .then(response => {\n this.linkInvitation = response;\n this.loadLinkInvitation();\n });\n }\n })\n .finally(() => {\n this.loading = false;\n });\n this.$nextTick(() => {\n if (this.$route.query.i) {\n this.$refs.inputFirstName.focus();\n this.$refs.inputFirstName.select();\n } else {\n this.$refs.inputFirstName.focus();\n this.$refs.inputFirstName.select();\n }\n });\n }\n loadLinkInvitation() {\n if (this.linkInvitation) {\n if (this.linkInvitation.status === LinkStatus.PENDING) {\n this.$refs.modalInvitation.show();\n this.$nextTick(() => {\n this.$refs.buttonAcceptInvitation.focus();\n });\n }\n }\n }\n rejectInvitation() {\n this.$refs.modalInvitation.close();\n services.links.rejectInvitation(this.linkInvitation?.id);\n this.linkInvitation = null;\n }\n acceptInvitation() {\n this.$refs.modalInvitation.close();\n this.linkInvitationAccepted = true;\n this.user.joinedByLinkInvitation = this.linkInvitation?.id;\n this.emailEnabled = false;\n this.workspaceTaxIdEnabled = false;\n this.user.email = this.linkInvitation?.email ?? \"\";\n this.user.workspaceTaxId = this.linkInvitation?.taxId ?? \"\";\n this.user.workspaceName = this.linkInvitation?.legalName ?? \"\";\n this.user.workspaceLegalName = this.linkInvitation?.legalName ?? \"\";\n this.$nextTick(() => {\n if (this.$refs.inputFirstName) {\n this.$refs.inputFirstName.focus();\n this.$refs.inputFirstName.select();\n }\n });\n }\n searchCoupon(showError) {\n if (!this.selectedPrice) {\n return \"\";\n }\n if (!this.couponCode) {\n return;\n }\n services.subscriptionManager\n .getCoupon(this.couponCode, this.selectedPrice.currency)\n .then((response: SubscriptionCouponDto) => {\n this.coupon = response;\n if (this.coupon && this.coupon.name) {\n this.couponDescription = this.coupon.name.toString();\n }\n })\n .catch(error => {\n this.couponDescription = this.$t(\n \"account.register.invalidCoupon\"\n ).toString();\n if (showError) {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n }\n });\n }\n tryRegisterWithPassword() {\n this.tryRegister(UserLoginType.PASSWORD);\n }\n tryRegister(loginType: UserLoginType = UserLoginType.PASSWORD) {\n this.email = this.user.email;\n this.user.loginType = loginType;\n if (!this.selectedPrice) {\n this.$refs.errorModal.show(\"Error\", \"Selecciona un plan\");\n return;\n }\n if (this.selectedPrice.trialDays === 0 && this.selectedPrice.price > 0) {\n this.$refs.cardModal.show(\n this.$t(\"account.register.providePaymentDetails\"),\n this.$t(\"shared.cancel\")\n );\n } else {\n this.$refs.confirmModalRegister.show(\n this.$t(\"account.register.prompts.register.title\"),\n this.$t(\"shared.confirm\"),\n this.$t(\"shared.back\"),\n this.$t(\"account.register.prompts.register.description\", [\n this.selectedProduct?.title\n ])\n );\n }\n }\n confirmedRegister() {\n this.register();\n }\n pay() {\n createToken()\n .then(data => {\n if (data.error) {\n this.$refs.errorModal.show(\"Error\", data.error.message);\n } else {\n this.register(data.token.id);\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", error);\n })\n .finally(() => {\n this.$refs.cardModal.close();\n });\n }\n register(cardToken = \"\") {\n if (!this.selectedPrice) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.register.errors.priceNotSelected\")\n );\n return;\n } else if (this.selectedPrice && !this.selectedPrice.id) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.register.errors.priceNotInDatabase\")\n );\n return;\n }\n this.user.selectedSubscription = {\n subscriptionPriceId: this.selectedPrice.id ?? \"\",\n subscriptionCardToken: cardToken,\n subscriptionCoupon: this.couponCode\n };\n this.user.workspaceType = this.workspaceType;\n this.$refs.loadingButton.start();\n services.authentication\n .register(this.user)\n .then(() => {\n this.registered = true;\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n // changeProduct(product) : void {\n // this.closeDropdown();\n // store.commit(\"pricing/select\", product);\n // }\n closeDropdown() {\n this.droppedDown = false;\n }\n selectedPriceIsOneTimePrice(): boolean {\n return (\n !this.selectedPrice ||\n this.selectedPrice.billingPeriod === SubscriptionBillingPeriod.ONCE\n );\n }\n toggleWorkspaceType() {\n this.workspaceType =\n this.workspaceType === WorkspaceType.REGULAR\n ? WorkspaceType.SPECIALIZED_PROVIDER\n : WorkspaceType.REGULAR;\n }\n get phonePlaceHolder() {\n return (\n this.$t(\"settings.profile.phone\") +\n \" (\" +\n this.$t(\"shared.optional\")\n .toString()\n .toLowerCase() +\n \")\"\n );\n }\n get planSupportsPhone() {\n return this.selectedProduct && this.selectedProduct.tier >= 3;\n }\n get products(): SubscriptionProductDto[] {\n return store.state.pricing.products;\n }\n // get verifyURL(): string {\n // if (this.verifyToken && this.verifyToken !== \"\") {\n // return \"/cuenta/verificar?e=\" + this.email + \"&t=\" + this.verifyToken;\n // }\n // return \"\";\n // }\n get getButtonText(): string {\n if (!this.selectedPrice) {\n return \"\";\n }\n return (\n (this.selectedPrice.billingPeriod === SubscriptionBillingPeriod.ONCE\n ? this.$t(\"marketing.pricing.pay\")\n : this.$t(\"marketing.pricing.subscribe\")) +\n \" \" +\n this.priceDescription\n );\n }\n get selectedPrice(): SubscriptionPriceDto | undefined {\n return (\n this.selectedProduct?.prices.find(\n f =>\n f.billingPeriod === store.state.pricing.billingPeriod &&\n f.currency === store.state.pricing.currency\n ) ??\n this.selectedProduct?.prices.filter(\n f => f.currency === store.state.pricing.currency\n )[0]\n );\n }\n get billingPeriod(): string {\n if (!this.selectedPrice) {\n return \"\";\n }\n if (this.selectedPrice.billingPeriod === SubscriptionBillingPeriod.ONCE) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n return (\n \"/ \" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[this.selectedPrice.billingPeriod] +\n \"Short\"\n )\n );\n }\n }\n get discountedPrice(): number {\n if (!this.selectedPrice) {\n return 0;\n }\n let price = this.selectedPrice.price;\n // let couponApplied = \"\";\n if (this.coupon) {\n if (\n this.coupon.amountOff &&\n this.selectedPrice.currency === this.coupon.currency\n ) {\n // couponApplied =\n // \" -$\" +\n // this.coupon.amountOff / 100 +\n // \" \" +\n // this.coupon.currency.toUpperCase();\n price = price - this.coupon.amountOff / 100;\n } else if (this.coupon.percentOff) {\n // couponApplied = \" -\" + this.coupon.percentOff + \"%\";\n price = Number(\n (price * ((100 - this.coupon.percentOff) / 100)).toFixed(2)\n );\n }\n }\n return price;\n }\n\n get priceDescription(): string {\n if (!this.selectedPrice) {\n return \"\";\n }\n return (\n \"$\" +\n this.discountedPrice +\n \" \" +\n this.selectedPrice.currency +\n \" \" +\n this.billingPeriod\n );\n }\n get selectedProduct(): SubscriptionProductDto | null {\n return store.state.pricing.selectedProduct;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Register.vue?vue&type=template&id=d974d094&\"\nimport script from \"./Register.vue?vue&type=script&lang=ts&\"\nexport * from \"./Register.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#94A3B8\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\",\"stroke\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#94A3B8\",\"stroke\":\"none\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#94A3B8\",\"stroke\":\"none\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075l0,46.1175h-6.88v-41.28h-41.28v-41.28h-68.8v144.48h79.12l0,0.688c-3.01275,1.00425 -5.29256,3.29113 -6.30452,6.192h-79.69548v-158.24zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44v6.88h-79.12v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.88688,-0.65844 1.88125,-1.505 3.1175,-2.4725c2.53639,-1.98193 5.6735,-4.37813 9.675,-4.93361v1.70861c0,1.78745 0.20582,3.52344 0.61746,5.20094c-1.77049,0.44134 -3.93975,1.82027 -6.09996,3.50656c-1.31687,1.02125 -2.52625,2.06938 -3.87,3.01c-1.34375,0.94063 -2.75469,2.0425 -5.0525,2.0425c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58z\"}})]),_c('g',{attrs:{\"stroke\":\"none\"}},[_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('g',{attrs:{\"id\":\"Слой_2\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_4\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_5\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_8\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_10\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Color\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M151.36,120.4c0,7.568 -10.32,10.32 -10.32,10.32c0,0 -10.32,-2.752 -10.32,-10.32zM172,168.56c0,2.064 -1.376,3.44 -3.44,3.44h-55.04c-2.064,0 -3.44,-1.376 -3.44,-3.44c0,-2.064 1.376,-3.44 3.44,-3.44h3.44v-10.32c0,-5.16 2.408,-9.288 6.88,-12.728l5.16,-4.472l-5.504,-4.472c-4.128,-3.44 -6.536,-7.912 -6.536,-12.728v-10.32h-3.44c-2.064,0 -3.44,-1.376 -3.44,-3.44c0,-2.064 1.376,-3.44 3.44,-3.44h55.04c2.064,0 3.44,1.376 3.44,3.44c0,2.064 -1.376,3.44 -3.44,3.44h-3.44v10.32c0,4.816 -2.408,9.288 -6.88,12.728l-5.16,4.472l5.16,4.472c4.472,3.44 6.536,7.912 6.536,12.728v10.32h3.44c2.408,0 3.784,1.376 3.784,3.44zM151.36,165.12h6.88v-10.32c0,-3.096 -1.376,-5.16 -4.128,-7.568l-8.256,-7.224c-1.032,-0.344 -1.376,-1.376 -1.376,-2.408c0,-1.032 0.344,-2.064 1.376,-2.752l8.256,-6.88c2.752,-2.408 4.128,-4.816 4.128,-7.568v-10.32h-34.4v10.32c0,2.752 1.376,5.16 4.128,7.568l8.256,7.224c1.032,0.344 1.376,1.376 1.376,2.408c0,1.032 -0.344,2.064 -1.376,2.752l-8.256,6.88c-2.752,2.408 -4.128,4.472 -4.128,7.568v10.32h6.88c0,-6.88 10.32,-13.76 10.32,-13.76c0,0 10.32,6.88 10.32,13.76z\"}})])]),_c('g',{attrs:{\"fill\":\"#94A3B8\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M110.08,154.8v4.128c-4.128,1.376 -6.88,5.16 -6.88,9.632c0,5.848 4.472,10.32 10.32,10.32h55.04c5.848,0 10.32,-4.472 10.32,-10.32c0,-4.472 -2.752,-8.256 -6.88,-9.632v-4.128c0,-6.536 -2.752,-12.728 -7.912,-17.2c5.16,-4.816 7.912,-10.664 7.912,-17.2v-4.128c4.128,-1.376 6.88,-5.16 6.88,-9.632c0,-5.848 -4.472,-10.32 -10.32,-10.32h-55.04c-5.848,0 -10.32,4.472 -10.32,10.32c0,4.472 2.752,8.256 6.88,9.632v4.128c0,6.536 2.752,12.384 8.256,17.2c-5.504,4.816 -8.256,10.664 -8.256,17.2z\"}})])])]),_c('path',{attrs:{\"d\":\"M110.08,172v-68.8h61.92v68.8z\",\"id\":\"overlay-drag\",\"fill\":\"#ff0000\",\"stroke\":\"none\",\"opacity\":\"0\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractClock.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractClock.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContractClock.vue?vue&type=template&id=19c61aaf&\"\nimport script from \"./ContractClock.vue?vue&type=script&lang=js&\"\nexport * from \"./ContractClock.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{},[_c('div',{staticClass:\"min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"}),_c('div',{staticClass:\"mt-6 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('h2',{staticClass:\"mt-6 text-center text-md font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.verify.title\"))+\" \")]),_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-gray-500 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.alreadyRegistered\"))+\" \"),_c('a',{staticClass:\"font-medium text-theme-500 hover:text-theme-400 focus:outline-none focus:underline transition ease-in-out duration-150\"},[_c('router-link',{attrs:{\"to\":{ name: 'account.login' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.register.clickHereToLogin\"))+\" \")])],1)]),_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"sm:rounded-sm sm:px-10\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.verify($event)}}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",class:{\n 'bg-gray-100 dark:bg-gray-800 cursor-not-allowed': true\n },attrs:{\"disabled\":\"\",\"id\":\"email\",\"type\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})])]),(_vm.requireName)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"firstName\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.firstName\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.firstName),expression:\"user.firstName\"}],staticClass:\"bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"firstName\",\"type\":\"text\",\"required\":\"\"},domProps:{\"value\":(_vm.user.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"firstName\", $event.target.value)}}})])]):_vm._e(),(_vm.requireName)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"lastName\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.lastName\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.lastName),expression:\"user.lastName\"}],staticClass:\"bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"lastName\",\"type\":\"text\",\"required\":\"\"},domProps:{\"value\":(_vm.user.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"lastName\", $event.target.value)}}})])]):_vm._e(),(_vm.requirePassword)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.password\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]):_vm._e(),(_vm.requirePassword)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"confirmPassword\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.confirmPassword\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.passwordConfirm),expression:\"user.passwordConfirm\"}],staticClass:\"bg-white dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"confirmPassword\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.passwordConfirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"passwordConfirm\", $event.target.value)}}})])]):_vm._e(),_c('div',{staticClass:\"mt-6\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t(\"account.verify.button\")))])],1)])])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport GoogleSignInButton from \"vue-google-signin-button-directive\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { UserVerifyRequest } from \"../../application/contracts/master/users/UserVerifyRequest\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n Logo,\n LoadingButton\n },\n directives: {\n GoogleSignInButton\n }\n})\nexport default class Verify extends Vue {\n $refs!: {\n loadingButton: LoadingButton;\n errorModal: ErrorModal;\n };\n requireName = false;\n requirePassword = true;\n droppedDown = false;\n user = {} as UserVerifyRequest;\n created() {\n this.user.email = this.$route.query.e ? this.$route.query.e.toString() : \"\";\n this.user.token = this.$route.query.t ? this.$route.query.t.toString() : \"\";\n // console.log(this.user);\n }\n verify() {\n if (this.user.password !== this.user.passwordConfirm) {\n this.$refs.errorModal.show(\n this.$t(\"account.login.errors.passwordMissmatch\")\n );\n return;\n }\n\n this.$refs.loadingButton.start();\n services.authentication\n .verify(this.user)\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n closeDropdown() {\n this.droppedDown = false;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Verify.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Verify.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Verify.vue?vue&type=template&id=20ae4df8&\"\nimport script from \"./Verify.vue?vue&type=script&lang=ts&\"\nexport * from \"./Verify.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { i18n } from \"@/plugins/vue-i18n\";\nimport { WorkspaceType } from \"../../../../enums/master/tenants/WorkspaceType\";\nimport { Periodicity } from \"../../../../enums/app/common/Periodicity\";\nimport { DocumentationInstitution } from \"../../../../enums/app/v3/documentation/DocumentationInstitution\";\nimport { DocumentationType } from \"../../../../enums/app/v3/documentation/DocumentationType\";\nimport { DocumentTypeDto } from \"./DocumentTypeDto\";\n\nconst expirations = [\n {\n periodicity: Periodicity.MONTHLY,\n expiresMonths: 1,\n expiresDays: 17,\n },\n {\n periodicity: Periodicity.QUATERLY,\n expiresMonths: 1,\n expiresDays: 17,\n },\n {\n periodicity: Periodicity.YEARLY,\n expiresMonths: 3,\n expiresDays: 0,\n },\n];\nconst institutions = [\n {\n institution: DocumentationInstitution.LEGAL,\n institutionClasses: \"bg-gray-50 border border-gray-200 text-gray-900\",\n documents: [\n {\n periodicity: Periodicity.ONCE,\n type: DocumentationType.SAT_ARTICLES_OF_INCORPORATION_DOCS,\n workspaceType: WorkspaceType.REGULAR,\n },\n ],\n },\n {\n institution: DocumentationInstitution.SAT,\n institutionClasses: \"bg-blue-50 border border-blue-200 text-blue-900\",\n documents: [\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.SAT_COMPLIANCE,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.SAT_MONTHLY_ISR_STATEMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.SAT_MONTHLY_TAX_STATEMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.SAT_MONTHLY_PAYMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.YEARLY,\n type: DocumentationType.SAT_YEARLY_STATEMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.YEARLY,\n type: DocumentationType.SAT_YEARLY_PAYMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n ],\n },\n {\n institution: DocumentationInstitution.IMSS,\n institutionClasses: \"bg-teal-50 border border-teal-200 text-teal-900\",\n documents: [\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.IMSS_COMPLIANCE,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.IMSS_SIPARE_SUA,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.IMSS_SIPARE_SUA_PAYMENT,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.IMSS_SUA_EMPLOYEES_FEES,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.QUATERLY,\n type: DocumentationType.IMSS_ICSOE,\n workspaceType: WorkspaceType.SPECIALIZED_PROVIDER,\n },\n ],\n },\n {\n institution: DocumentationInstitution.INFONATIV,\n institutionClasses: \"bg-red-50 border border-red-200 text-red-900\",\n documents: [\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.INFONAVIT_COMPLIANCE,\n workspaceType: WorkspaceType.REGULAR,\n },\n {\n periodicity: Periodicity.QUATERLY,\n type: DocumentationType.INFONAVIT_SISUB,\n workspaceType: WorkspaceType.SPECIALIZED_PROVIDER,\n },\n ],\n },\n {\n institution: DocumentationInstitution.STPS,\n institutionClasses: \"bg-green-50 border border-green-200 text-green-900\",\n documents: [\n {\n periodicity: Periodicity.MONTHLY,\n type: DocumentationType.STPS_REPSE,\n workspaceType: WorkspaceType.SPECIALIZED_PROVIDER,\n },\n ],\n },\n];\n\nconst documentTypes: DocumentTypeDto[] = [];\nfor (const institution of institutions) {\n for (const document of institution.documents) {\n const expiration = expirations.find((f) => f.periodicity === document.periodicity);\n documentTypes.push({\n order: documentTypes.length + 1,\n institution: institution.institution,\n institutionClasses: institution.institutionClasses,\n type: document.type,\n name: i18n\n .t(\"models.documentation.\" + DocumentationType[document.type])\n .toString()\n .toString(),\n periodicity: document.periodicity,\n expiresMonths: expiration?.expiresMonths ?? 0,\n expiresDays: expiration?.expiresDays ?? 0,\n requiredFor: document.workspaceType,\n });\n }\n}\n\nexport default documentTypes;\n","export enum DocumentationInstitution {\n SAT,\n IMSS,\n INFONATIV,\n STPS,\n LEGAL,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Header'),_c('div',{staticClass:\"bg-white dark:bg-gray-900\"},[_c('div',{staticClass:\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"sm:flex sm:flex-col sm:align-center\"},[_c('div',{staticClass:\"relative max-w-xl mx-auto py-12 sm:py-6\"},[_c('svg',{staticClass:\"absolute left-full transform translate-x-1/2\",attrs:{\"width\":\"404\",\"height\":\"404\",\"fill\":\"none\",\"viewBox\":\"0 0 404 404\",\"aria-hidden\":\"true\"}},[_c('defs',[_c('pattern',{attrs:{\"id\":\"85737c0e-0916-41d7-917f-596dc7edfa27\",\"x\":\"0\",\"y\":\"0\",\"width\":\"20\",\"height\":\"20\",\"patternUnits\":\"userSpaceOnUse\"}},[_c('rect',{staticClass:\"text-gray-200 dark:text-black\",attrs:{\"x\":\"0\",\"y\":\"0\",\"width\":\"4\",\"height\":\"4\",\"fill\":\"currentColor\"}})])]),_c('rect',{attrs:{\"width\":\"404\",\"height\":\"404\",\"fill\":\"url(#85737c0e-0916-41d7-917f-596dc7edfa27)\"}})]),_c('svg',{staticClass:\"absolute right-full bottom-0 transform -translate-x-1/2\",attrs:{\"width\":\"404\",\"height\":\"404\",\"fill\":\"none\",\"viewBox\":\"0 0 404 404\",\"aria-hidden\":\"true\"}},[_c('defs',[_c('pattern',{attrs:{\"id\":\"85737c0e-0916-41d7-917f-596dc7edfa27\",\"x\":\"0\",\"y\":\"0\",\"width\":\"20\",\"height\":\"20\",\"patternUnits\":\"userSpaceOnUse\"}},[_c('rect',{staticClass:\"text-gray-200 dark:text-black\",attrs:{\"x\":\"0\",\"y\":\"0\",\"width\":\"4\",\"height\":\"4\",\"fill\":\"currentColor\"}})])]),_c('rect',{attrs:{\"width\":\"404\",\"height\":\"404\",\"fill\":\"url(#85737c0e-0916-41d7-917f-596dc7edfa27)\"}})]),_c('div',{staticClass:\"text-center\"},[_c('h2',{staticClass:\"text-3xl font-extrabold tracking-tight text-coolGray-800 dark:text-blueGray-200 sm:text-4xl\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.title\"))+\" \")]),_c('p',{staticClass:\"mt-4 text-lg leading-6 text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.headline\"))+\" \")])]),_c('div',{staticClass:\"mt-12\"},[_c('form',{staticClass:\"mt-9 grid grid-cols-1 gap-y-6 sm:grid-cols-2 sm:gap-x-8\",attrs:{\"action\":_vm.actionURL,\"method\":\"POST\"}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"first_name\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.firstName\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"required\":\"\",\"type\":\"text\",\"name\":\"first_name\",\"id\":\"first_name\",\"autocomplete\":\"given-name\"}},'input',_vm.form.firstName,false))])]),_c('div',[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"last_name\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.lastName\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"last_name\",\"id\":\"last_name\",\"autocomplete\":\"family-name\"}},'input',_vm.form.lastName,false))])]),_c('div',{staticClass:\"sm:col-span-2\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.email\")))]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"required\":\"\",\"id\":\"email\",\"name\":\"email\",\"type\":\"email\",\"autocomplete\":\"email\"}},'input',_vm.form.email,false))])]),_c('div',{staticClass:\"sm:col-span-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"company\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.organization\")))]),_c('span',{staticClass:\"text-sm text-gray-500\",attrs:{\"id\":\"company_description\"}},[_vm._v(_vm._s(_vm.$t(\"shared.optional\")))])]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"company\",\"id\":\"company\",\"autocomplete\":\"organization\"}},'input',_vm.form.organization,false))])]),(false)?_c('div',{staticClass:\"sm:col-span-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"phone\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.phone\")))]),_c('span',{staticClass:\"text-sm text-gray-500\",attrs:{\"id\":\"phone_description\"}},[_vm._v(_vm._s(_vm.$t(\"shared.optional\")))])]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"phone\",\"id\":\"phone\",\"autocomplete\":\"tel\",\"aria-describedby\":\"phone_description\"}},'input',_vm.form.phone,false))])]):_vm._e(),_c('fieldset',{staticClass:\"sm:col-span-2\"},[_c('legend',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.taxIds\"))+\" \")]),_c('div',{staticClass:\"mt-4 grid grid-cols-1 gap-y-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.taxIds),expression:\"form.taxIds\"}],staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"name\":\"taxIds\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.form, \"taxIds\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"1\")]),_c('option',{attrs:{\"value\":\"2\"}},[_vm._v(\"2\")]),_c('option',{attrs:{\"value\":\"3 - 5\"}},[_vm._v(\"3 - 5\")]),_c('option',{attrs:{\"value\":\"6 - 10\"}},[_vm._v(\"6 - 10\")]),_c('option',{attrs:{\"value\":\"11 - 20\"}},[_vm._v(\"11 - 20\")]),_c('option',{attrs:{\"value\":\"21 - 50\"}},[_vm._v(\"21 - 50\")]),_c('option',{attrs:{\"value\":\"+50\"}},[_vm._v(\"+50\")])])])]),(false)?_c('fieldset',{staticClass:\"sm:col-span-2\"},[_c('legend',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.tickets\"))+\" \")]),_c('div',{staticClass:\"mt-4 grid grid-cols-1 gap-y-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.tickets),expression:\"form.tickets\"}],staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"name\":\"tickets\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.form, \"tickets\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"30\"}},[_vm._v(\"30\")]),_c('option',{attrs:{\"value\":\"31 - 100\"}},[_vm._v(\"31 - 100\")]),_c('option',{attrs:{\"value\":\"101 - 300\"}},[_vm._v(\"101 - 300\")]),_c('option',{attrs:{\"value\":\"301 - 500\"}},[_vm._v(\"301 - 500\")]),_c('option',{attrs:{\"value\":\"501 - 1,000\"}},[_vm._v(\"501 - 1,000\")]),_c('option',{attrs:{\"value\":\"1,001 - 2,000\"}},[_vm._v(\"1,001 - 2,000\")]),_c('option',{attrs:{\"value\":\"2,001 - 5,000\"}},[_vm._v(\"2,001 - 5,000\")]),_c('option',{attrs:{\"value\":\"+5,000\"}},[_vm._v(\"+5,000\")])])])]):_vm._e(),_c('fieldset',{staticClass:\"sm:col-span-2\"},[_c('legend',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.users\"))+\" \")]),_c('div',{staticClass:\"mt-4 grid grid-cols-1 gap-y-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.users),expression:\"form.users\"}],staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"name\":\"users\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.form, \"users\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"1\")]),_c('option',{attrs:{\"value\":\"2 - 3\"}},[_vm._v(\"2 - 3\")]),_c('option',{attrs:{\"value\":\"4 - 10\"}},[_vm._v(\"4 - 10\")]),_c('option',{attrs:{\"value\":\"11 - 25\"}},[_vm._v(\"11 - 25\")]),_c('option',{attrs:{\"value\":\"26 - 50\"}},[_vm._v(\"26 - 50\")]),_c('option',{attrs:{\"value\":\"+50\"}},[_vm._v(\"+50\")])])])]),(false)?_c('fieldset',{staticClass:\"sm:col-span-2\"},[_c('legend',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.interested\"))+\" \")]),_c('div',{staticClass:\"mt-4 grid grid-cols-1 gap-y-4\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.taxIds),expression:\"form.taxIds\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.form, \"taxIds\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"1\")]),_c('option',{attrs:{\"value\":\"2\"}},[_vm._v(\"2\")]),_c('option',{attrs:{\"value\":\"3 - 5\"}},[_vm._v(\"3 - 5\")]),_c('option',{attrs:{\"value\":\"6 - 10\"}},[_vm._v(\"6 - 10\")]),_c('option',{attrs:{\"value\":\"11 - 20\"}},[_vm._v(\"11 - 20\")]),_c('option',{attrs:{\"value\":\"21 - 50\"}},[_vm._v(\"21 - 50\")]),_c('option',{attrs:{\"value\":\"+50\"}},[_vm._v(\"+50\")])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"plan_1\",\"name\":\"plan\",\"value\":\"1_basico\",\"type\":\"radio\"}},'input',_vm.form.plan,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"plan_1\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.products.1\")))])])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"plan_2\",\"name\":\"plan\",\"value\":\"1_esencial\",\"type\":\"radio\"}},'input',_vm.form.plan,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"plan_2\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.products.2\")))])])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"plan_3\",\"name\":\"plan\",\"value\":\"3_profesional\",\"type\":\"radio\"}},'input',_vm.form.plan,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"plan_3\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.products.3\")))])])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"plan_4\",\"name\":\"plan\",\"value\":\"4_corporativo\",\"type\":\"radio\"}},'input',_vm.form.plan,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"plan_3\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.products.4\")))])])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"plan_customized\",\"name\":\"plan\",\"value\":\"plan_customized\",\"type\":\"radio\"}},'input',_vm.form.plan,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"plan_customized\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.products.custom\")))])])])])]):_vm._e(),(false)?_c('fieldset',{staticClass:\"sm:col-span-2\"},[_c('legend',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.tenantType?\"))+\" \")]),_c('div',{staticClass:\"mt-4 grid grid-cols-1 gap-y-4\"},[_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"tenant_a\",\"name\":\"tenantType\",\"value\":\"SERVICIOS\",\"type\":\"radio\"}},'input',_vm.form.facturar,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"tenant_a\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"tenants.a.title\"))+\" \")])])]),_c('div',{staticClass:\"flex items-center\"},[_c('input',_vm._b({staticClass:\"focus:ring-gray-500 h-4 w-4 text-theme-600 border-gray-300\",attrs:{\"required\":\"\",\"id\":\"tenant_b\",\"name\":\"tenantType\",\"value\":\"REPSE\",\"type\":\"radio\"}},'input',_vm.form.facturar,false)),_c('label',{staticClass:\"ml-3\",attrs:{\"for\":\"tenant_b\"}},[_c('span',{staticClass:\"block text-sm text-gray-900 dark:text-blueGray-300\"},[_vm._v(_vm._s(_vm.$t(\"tenants.b.title\")))])])])])]):_vm._e(),_c('div',{staticClass:\"sm:col-span-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"how_can_we_help\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.comments\")))]),_c('span',{staticClass:\"text-sm text-gray-500\",attrs:{\"id\":\"how_can_we_help_description\"}})]),_c('div',{staticClass:\"mt-1\"},[_c('textarea',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"required\":\"\",\"id\":\"how_can_we_help\",\"name\":\"how_can_we_help\",\"aria-describedby\":\"how_can_we_help_description\",\"rows\":\"4\"}},'textarea',_vm.form.description,false))])]),(false)?_c('div',{staticClass:\"sm:col-span-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-900 dark:text-blueGray-300\",attrs:{\"for\":\"how_did_you_hear_about_us\"}},[_vm._v(_vm._s(_vm.$t(\"marketing.contact.howDidYouHearAboutUs?\")))]),_c('span',{staticClass:\"text-sm text-gray-500\",attrs:{\"id\":\"how_did_you_hear_about_us_description\"}},[_vm._v(_vm._s(_vm.$t(\"shared.optional\")))])]),_c('div',{staticClass:\"mt-1\"},[_c('input',_vm._b({staticClass:\"bg-gray-50 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"type\":\"text\",\"name\":\"how_did_you_hear_about_us\",\"id\":\"how_did_you_hear_about_us\"}},'input',_vm.form.heardAboutUs,false))])]):_vm._e(),_c('div',{staticClass:\"text-right sm:col-span-2\"},[_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-sm text-white bg-theme-500 hover:bg-theme-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.contact.send\"))+\" \")])])])])])])])]),_c('Footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contact.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contact.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Contact.vue?vue&type=template&id=5394b814&\"\nimport script from \"./Contact.vue?vue&type=script&lang=js&\"\nexport * from \"./Contact.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"justify-center md:flex md:space-x-2 pt-5 px-3 mx-auto max-w-2xl\"},[_c('h1',{staticClass:\"text-lg font-bold mx-auto mt-1 p-1 justify-center items-center flex w-full\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.unauthorized\"))+\" \")]),_c('div',{staticClass:\"max-w-md mx-auto px-4 lg:px-10 flex justify-center py-4 md:py-8 lg:py-12 rounded-sm text-center flex-col\"},[_c('svg',{attrs:{\"id\":\"06c42c9d-6d9c-45ee-a61b-17902c1dca73\",\"data-name\":\"Layer 1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"300\",\"viewBox\":\"0 0 1145.57 819.91\"}},[_c('defs',[_c('linearGradient',{attrs:{\"id\":\"2f697947-2a6f-450c-95af-56e5336b1d5f\",\"x1\":\"591.3\",\"y1\":\"646.08\",\"x2\":\"591.3\",\"y2\":\"107.75\",\"gradientUnits\":\"userSpaceOnUse\"}},[_c('stop',{attrs:{\"offset\":\"0\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.25\"}}),_c('stop',{attrs:{\"offset\":\"0.54\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.12\"}}),_c('stop',{attrs:{\"offset\":\"1\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.1\"}})],1),_c('linearGradient',{attrs:{\"id\":\"2563b911-9cd4-457d-b636-acc38b40f33a\",\"x1\":\"944.34\",\"y1\":\"854.67\",\"x2\":\"944.34\",\"y2\":\"289.29\",\"xlink:href\":\"#2f697947-2a6f-450c-95af-56e5336b1d5f\"}})],1),_c('title',[_vm._v(\"security\")]),_c('path',{attrs:{\"d\":\"M1154.4,591.26c-26.57,54.81-80.52,91.46-136.43,115.63-75.27,32.55-158.16,45.46-239.91,40q-21.49-1.43-42.85-4.57a540.44,540.44,0,0,1-143.27-41.72q-19.74-8.89-38.68-19.41a494.85,494.85,0,0,1-60.46-39.54q-7.23-5.52-14.26-11.32c-3.25-2.68-6.47-5.42-9.74-8.08-6.9-5.61-14-10.94-21.92-14.93a78.31,78.31,0,0,0-7.34-3.24c-25.08-9.54-54-5.94-80.11,1.5-19.86,5.66-39.22,13.41-59.06,18.94a196,196,0,0,1-26.91,5.72A143.21,143.21,0,0,1,213,624.93l-1.67-.52q-4.2-1.32-8.33-2.89l-1.67-.64q-4-1.54-7.83-3.31l-1.67-.76q-4-1.86-7.83-3.93c-.92-.48-1.83-1-2.73-1.49a163.67,163.67,0,0,1-39.16-30.49c-.33-.33-.64-.67-1-1-1.59-1.72-3.15-3.47-4.66-5.26-.56-.66-1.12-1.32-1.67-2q-2.69-3.28-5.19-6.71c-.25-.33-.49-.67-.73-1A144.59,144.59,0,0,1,112,534.44c-.14-.33-.27-.67-.39-1q-2-5.15-3.65-10.47c-.45-1.48-.88-3-1.26-4.48-.13-.44-.25-.89-.36-1.33-5.52-21.73-6.15-44.32-6.15-66.78q0-3.93,0-7.85c.16-36.33.72-73.28,6.08-109.11,0-.25.07-.5.11-.74a340.76,340.76,0,0,1,7.31-35.82A264.25,264.25,0,0,1,126,260.56c12.33-29,30.26-55.39,50.17-79.85C226.32,119.16,292.09,67.49,369.07,48.15c82.95-20.83,175.14-.87,242.05,52.4,20.4,16.24,38.73,35.47,61.64,47.92,20,10.84,43.41,15.33,64.83,6.8,17.7-7.05,29.22-10.55,49.1-9.48A411.56,411.56,0,0,1,907.05,171c1.56.57,3.12,1.16,4.67,1.75C1012.43,211.28,1099,287.83,1144,386.2q1.79,3.9,3.47,7.86C1174.3,456.73,1184,530.18,1154.4,591.26Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\",\"opacity\":\"0.1\"}}),_c('ellipse',{attrs:{\"cx\":\"120.3\",\"cy\":\"728.81\",\"rx\":\"88.28\",\"ry\":\"14.18\",\"fill\":\"#343450\",\"opacity\":\"0.1\"}}),_c('ellipse',{attrs:{\"cx\":\"912.26\",\"cy\":\"804.71\",\"rx\":\"156.53\",\"ry\":\"15.2\",\"fill\":\"#343450\",\"opacity\":\"0.1\"}}),_c('rect',{attrs:{\"x\":\"116.14\",\"y\":\"107.75\",\"width\":\"950.33\",\"height\":\"538.33\",\"rx\":\"12.49\",\"ry\":\"12.49\",\"fill\":\"url(#2f697947-2a6f-450c-95af-56e5336b1d5f)\"}}),_c('rect',{attrs:{\"x\":\"117.65\",\"y\":\"115.32\",\"width\":\"947.42\",\"height\":\"528.97\",\"rx\":\"12.49\",\"ry\":\"12.49\",\"fill\":\"#fff\"}}),_c('rect',{attrs:{\"x\":\"117.65\",\"y\":\"115.32\",\"width\":\"947.42\",\"height\":\"528.97\",\"rx\":\"12.49\",\"ry\":\"12.49\",\"fill\":\"#fff\"}}),_c('rect',{attrs:{\"x\":\"117.65\",\"y\":\"115.32\",\"width\":\"947.42\",\"height\":\"528.97\",\"rx\":\"12.49\",\"ry\":\"12.49\",\"fill\":\"#fff\",\"opacity\":\"0.04\"}}),_c('path',{attrs:{\"d\":\"M1087.23,149.29H149.43a4.81,4.81,0,0,0-4.81,4.81v20.33H1092V154.1A4.81,4.81,0,0,0,1087.23,149.29Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#5a5773\"}}),_c('g',{attrs:{\"id\":\"6c975d28-8d47-4ade-9154-b3b78f637b65\",\"data-name\":\"buttons\"}},[_c('circle',{attrs:{\"cx\":\"136.57\",\"cy\":\"121.82\",\"r\":\"6.5\",\"fill\":\"#fff\"}}),_c('circle',{attrs:{\"cx\":\"154.07\",\"cy\":\"121.82\",\"r\":\"6.5\",\"fill\":\"#fff\"}}),_c('circle',{attrs:{\"cx\":\"171.57\",\"cy\":\"121.82\",\"r\":\"6.5\",\"fill\":\"#fff\"}})]),_c('rect',{attrs:{\"x\":\"195.68\",\"y\":\"181.67\",\"width\":\"254.25\",\"height\":\"21.58\",\"fill\":\"#343450\",\"opacity\":\"0.2\"}}),_c('rect',{attrs:{\"x\":\"195.68\",\"y\":\"268.2\",\"width\":\"791.36\",\"height\":\"331.96\",\"fill\":\"#5a5773\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M686,329.89H672.45V303.57c0-29.7-23.68-54.39-53.38-54.84a54.28,54.28,0,0,0-54.85,54.11v27.05H550.7a22.62,22.62,0,0,0-22.55,22.55V460.66a22.62,22.62,0,0,0,22.55,22.55H686a22.61,22.61,0,0,0,22.54-22.55V352.44A22.61,22.61,0,0,0,686,329.89Zm-59.75,70.35V439a8.09,8.09,0,0,1-7.5,8.12,7.91,7.91,0,0,1-8.28-7.9v-39a18,18,0,1,1,15.78,0Zm30.44-70.35H580V302.84a38.33,38.33,0,0,1,76.66,0Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M686,327.89H672.45V301.57c0-29.7-23.68-54.39-53.38-54.84a54.28,54.28,0,0,0-54.85,54.11v27.05H550.7a22.62,22.62,0,0,0-22.55,22.55V458.66a22.62,22.62,0,0,0,22.55,22.55H686a22.61,22.61,0,0,0,22.54-22.55V350.44A22.61,22.61,0,0,0,686,327.89Zm-59.75,70.35V437a8.09,8.09,0,0,1-7.5,8.12,7.91,7.91,0,0,1-8.28-7.9v-39a18,18,0,1,1,15.78,0Zm30.44-70.35H580V300.84a38.33,38.33,0,0,1,76.66,0Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('rect',{attrs:{\"x\":\"906.94\",\"y\":\"236.25\",\"width\":\"80.1\",\"height\":\"18.91\",\"fill\":\"#5a5773\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M1041.27,849.33a28.47,28.47,0,0,0-2.68-7.61l-12-17.92h.07s-1.89-9,0-13.42-6.74-15.29-6.74-15.29-1.05-2.73,1.69-6.09-1.69-13.2-1.69-13.2-2.1-20.55-2.31-23.69-1.9-20.54-1.9-20.54l-4-36.89-7.12-97.77-.13-1.83c.88-.43,1.35-.7,1.35-.7l-1.42-54.06,1.23-1.11c10.74-9.72,35.51-32.22,35.26-32.71s-3-37.57-3.32-46.85a55.83,55.83,0,0,0-4.26-19.18c-.62-1.23-2.41-9.34-3.15-12.77-.2-.94-.33-1.53-.33-1.53s-7.26-13.84-6.63-20.13,1.89-11-13.59-13.2c0,0-13-1.94-20.74-7.23A59,59,0,0,0,974,378.17s-4.34-8-7.36-5.29a42,42,0,0,1-2.85-8.91l-.09-.56a29.47,29.47,0,0,0,11.64-16.66c.1-.38.18-.77.27-1.15a3.25,3.25,0,0,0,.93.17c2.63,0,4.25-2.93,6.71-3.86,1-.39,2.23-.45,3-1.24a2.93,2.93,0,0,0,.66-2.21,4.51,4.51,0,0,0,0-.82,2.93,2.93,0,0,0,0-.29l0,.1c-.67-3.64-3.49-6.87-3.18-10.57.3-3.48,3.36-6.54,3.11-9.93a5.4,5.4,0,0,0-.07-.8l0,.12a8.56,8.56,0,0,0-2-3.54,11.36,11.36,0,0,0-4.12-3.46c-1.39-.61-3-.75-4.3-1.48-3.82-2.08-3.81-7.5-6.08-11.2A9.91,9.91,0,0,0,961,292c-2.84.28-5.41,1.79-8.22,2.28-3.84.68-7.75-.57-11.39-2s-7.33-3-11.24-3-8.14,2-9.32,5.69c-.63,2-.32,4.15-.8,6.18-.86,3.58-4,6.14-7.25,7.92-2,1.11-4.38,2.38-5,4.48,0-.06,0-.11,0-.16a3.84,3.84,0,0,0-.1.51,3.75,3.75,0,0,0,0,.67c0,1.44.76,2.81,1.27,4.18a11.53,11.53,0,0,1-.06,8.06c-.74,1.9-2,3.57-2.72,5.46a10.75,10.75,0,0,0-.66,2.74l0-.16a11,11,0,0,0,0,1.28,9,9,0,0,0,1,4.2A7.54,7.54,0,0,0,911,344.1c2,.46,3.25-1.5,5.36-1a8.42,8.42,0,0,1,1.11.35c.07.45.14.9.22,1.34a29.39,29.39,0,0,0,10.14,17.17c0,.24.08.48.11.73h0a67.15,67.15,0,0,1,.83,12.06s-3.15-4.61-7.47,4.29c0,0-11.27,6.5-15.16,7.24s-17.7,5.55-17.7,5.55a12.18,12.18,0,0,1-7.16,2.31c-4.31,0-7.89,9.43-7.37,14.56s-.31,8.91-4.32,9.12-1.82,8.34-1.79,8.48l-.37,1.75c-.78,3.58-2.48,11.26-3.08,12.46a56,56,0,0,0-4.27,19.18c-.31,9.28-3,46.22-3.31,46.85-.21.41,16.76,15.92,28.69,26.76l1.73,1.56-5.49,51.28a13.69,13.69,0,0,0,5.64,10c0,.6,0,1.21-.06,1.84-.24,6-.72,13.26-1.68,15.16-1.68,3.36-1.26,21.38-1.26,21.38s-1.69,36.68-3.79,40.67-2.53,12.36-1.9,14-2.11,45.69-2.11,45.69l-2.1,19.71s.63,18.86-1.27,19.28-2.95,13.42-2.95,13.42-6.73,9.22-3.79,12.57-.43,4.83-.74,5.66-6.42,4-2,15.72a3.45,3.45,0,0,0,.14.34c-4.14,5.75-17.26,24.3-16.46,27.12a7.43,7.43,0,0,0,3.5,4.2c3.09,1.85,8.39,2.71,16.82,0,14-4.51,13-7.76,13-7.76a5.94,5.94,0,0,1,5.9-5.66c5.79-.42,10.11-5.76,10.11-5.76l-.68-2.53-.93-3.5c.11-1,.82-2.75,4-3.72,4.85-1.47,3.58-10.69,3.58-10.69s-.42-9.64,1.68-10.9,1.27-17.19,1.27-17.19,2.32-11.53,5.68-19.29,7.38-53.86,7.38-53.86,2.73-22.64,5.26-29.14,4.85-24.73,4.85-24.73,15.59-30.19,15.79-36.9c0,0,2-6.29,4,.63s7.62,23.48,7.62,23.48l5.47,20.33,6.53,30.39,4.22,25.58s-.64,9.64,1,13,4,11.1,2.74,12.57,2.52,8.39,3.58,9.85,0,32.49,0,32.49,4.84,26.41,11.79,31a8.5,8.5,0,0,0,1.54.8c-.1,2.86-.2,6.69-.07,8.69a3.33,3.33,0,0,0,.22,1.31c.63.84,7.79,6.5,9.27,6.5s6.73,3.67,6.95,5.45,15.39,9.32,17.54,9.54,12.57,2.09,14-.84A4.85,4.85,0,0,0,1041.27,849.33ZM1004,471.61l1.08.93s1.11,8.65,1.9,11.24-.16,7.63-.16,7.63a17.55,17.55,0,0,0,1.11,5.5c.94,1.89-1.9,6-1.9,6h-2.53l-.79-32.38Zm-75.23-96.68v-.19C928.75,374.8,928.74,374.87,928.74,374.93ZM889.92,499.58a3.65,3.65,0,0,1-.16-2.67,8,8,0,0,0,.53-1.48,22.92,22.92,0,0,0,.58-4,.28.28,0,0,0,0-.05c-.09-.48-.9-5.12-.15-7.58s1.89-11.24,1.89-11.24l.72-.61L895,470.5s0-.54.12-1.43c.35,7.6.63,16,.18,16.42-.84.83-3.9,9-3.16,9.32.24.11-.09,3.38-.65,7.78A15.94,15.94,0,0,1,889.92,499.58Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"url(#2563b911-9cd4-457d-b636-acc38b40f33a)\"}}),_c('path',{attrs:{\"d\":\"M970.52,382.92v12.44L945,408.19s-25.34-15.33-19.09-21.43c4-3.86,3.23-14.46,2.15-21.75h0c-.63-4.24-1.36-7.35-1.36-7.35s45.52-13,38.64-3.13c-2.3,3.3-2.48,7.57-1.71,11.8C965.19,374.72,970.52,382.92,970.52,382.92Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#c37098\"}}),_c('path',{attrs:{\"d\":\"M900.61,504.57l-3.29,40.52s-4.93-4.47-11.31-10.29c-11.83-10.79-28.63-26.22-28.43-26.63.31-.63,3-37.39,3.29-46.63a55.8,55.8,0,0,1,4.22-19.08c.6-1.2,2.29-8.84,3-12.41.24-1.11.39-1.83.39-1.83L874,426s23,25.66,23,26.13-1.57,20.18-1.57,20.18l-1.63,1.42-.71.61s-1.1,8.61-1.88,11.19.06,7.06.15,7.54v0a23.25,23.25,0,0,1-.57,4,8.38,8.38,0,0,1-.53,1.47,3.67,3.67,0,0,0,.16,2.66,16.08,16.08,0,0,0,1.72,3.29Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M1040,508.17c.24.49-24.29,22.88-34.92,32.55l-4.82,4.37L997,504.57h8.45s2.82-4.07,1.88-5.95a17.39,17.39,0,0,1-1.09-5.47s.93-5,.15-7.59-1.88-11.19-1.88-11.19l-1.07-.92-1.27-1.11s-1.57-19.71-1.57-20.18,23-26.13,23-26.13l5.48,2.19s.12.59.32,1.53c.74,3.41,2.51,11.48,3.12,12.71a55.8,55.8,0,0,1,4.22,19.08C1037,470.78,1039.68,507.54,1040,508.17Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M1040.1,852.11c-1.47,2.92-11.79,1-13.92.84s-17.17-7.73-17.38-9.5-5.42-5.42-6.88-5.42-8.55-5.64-9.18-6.47a3.19,3.19,0,0,1-.21-1.3c-.22-3.43.21-12.26.21-12.26l30.25,1.67,14.7,22.11a28.52,28.52,0,0,1,2.66,7.57A5,5,0,0,1,1040.1,852.11Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M1040.1,852.11c-1.47,2.92-11.79,1-13.92.84s-17.17-7.73-17.38-9.5-5.42-5.42-6.88-5.42-8.55-5.64-9.18-6.47a3.19,3.19,0,0,1-.21-1.3c-.22-3.43.21-12.26.21-12.26l30.25,1.67,14.7,22.11a28.52,28.52,0,0,1,2.66,7.57A5,5,0,0,1,1040.1,852.11Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M1040.1,852.11c-1.47,2.92-11.79,1-13.92.84s-17.17-7.73-17.38-9.5-5.42-5.42-6.88-5.42-8.55-5.64-9.18-6.47a3.19,3.19,0,0,1-.21-1.3l9.8,6.2s6.26,4,7.93,6.37,14.83,7.3,15.92,7.4c.81.08,9.45-1.58,14.17-.88A5,5,0,0,1,1040.1,852.11Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M897.1,833.86s-4.28,5.32-10,5.73a5.89,5.89,0,0,0-5.84,5.63s1,3.24-12.83,7.73c-8.35,2.69-13.6,1.84-16.66,0a7.44,7.44,0,0,1-3.47-4.18c-.94-3.33,17.52-28.68,17.52-28.68l16.8-1,12,5.42,1.84,6.87Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M897.1,833.86s-4.28,5.32-10,5.73a5.89,5.89,0,0,0-5.84,5.63s1,3.24-12.83,7.73c-8.35,2.69-13.6,1.84-16.66,0a7.44,7.44,0,0,1-3.47-4.18c-.94-3.33,17.52-28.68,17.52-28.68l16.8-1,12,5.42,1.84,6.87Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M897.1,833.86s-4.28,5.32-10,5.73a5.89,5.89,0,0,0-5.84,5.63s1,3.24-12.83,7.73c-8.35,2.69-13.6,1.84-16.66,0,7.87-.82,25.26-5.79,27-7.51,2.09-2.09,4.7-7.83,6.47-7.93,1.23-.08,7.48-3.84,11.23-6.17Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"none\"}}),_c('path',{attrs:{\"d\":\"M897.1,833.86s-4.28,5.32-10,5.73a5.89,5.89,0,0,0-5.84,5.63s1,3.24-12.83,7.73c-8.35,2.69-13.6,1.84-16.66,0,7.87-.82,25.26-5.79,27-7.51,2.09-2.09,4.7-7.83,6.47-7.93,1.23-.08,7.48-3.84,11.23-6.17Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M1025.91,810.6c-1.88,4.38,0,13.35,0,13.35s-28,1.46-34.84-3.13-11.68-30.88-11.68-30.88,1-30.87,0-32.33-4.8-8.34-3.55-9.8-1-9.18-2.71-12.52-1-12.93-1-12.93l-4.18-25.46-6.46-30.24L956,646.42s-5.63-16.48-7.54-23.36-3.93-.63-3.93-.63c-.2,6.68-15.64,36.72-15.64,36.72s-2.3,18.15-4.8,24.61-5.22,29-5.22,29-4,45.89-7.3,53.61S906,785.56,906,785.56s.84,15.86-1.25,17.11S903,813.52,903,813.52s1.25,9.17-3.55,10.64-4,4.59-4,4.59-26.7,4.38-31.08-7.31,1.67-14.8,2-15.64,3.66-2.29.74-5.64,3.75-12.51,3.75-12.51,1.05-12.93,2.92-13.35,1.26-19.19,1.26-19.19l2.08-19.61s2.72-43.81,2.09-45.48-.21-10,1.88-14,3.75-40.48,3.75-40.48-.42-17.93,1.25-21.27c1-1.89,1.42-9.16,1.66-15.09.18-4.53.22-8.28.22-8.28l23.36-8.76,30-9.59,25.24,12.1,36.93,7.09.46,6.37,7.05,97.31,4,36.71s1.67,17.31,1.88,20.44,2.29,23.58,2.29,23.58,4.38,9.8,1.67,13.14-1.67,6-1.67,6S1027.79,806.22,1025.91,810.6Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M965.36,354.53c-2.3,3.3-2.48,7.57-1.71,11.8A29.34,29.34,0,0,1,928.08,365h0c-.63-4.24-1.36-7.35-1.36-7.35S972.24,344.67,965.36,354.53Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M976,341.77a29.3,29.3,0,1,1-29.3-29.3A29.16,29.16,0,0,1,976,341.77Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#c37098\"}}),_c('polygon',{attrs:{\"points\":\"955.13 350.42 945.53 521.37 893.38 510.42 883.05 441.89 893.28 349.89 900.98 350.88 914.56 352.61 928.01 353.44 942.59 351.82 955.13 350.42\",\"opacity\":\"0.1\"}}),_c('polygon',{attrs:{\"points\":\"955.13 351.67 945.53 522.62 893.38 511.67 883.05 443.14 893.28 351.15 900.98 352.13 914.56 353.86 928.01 354.69 942.59 353.07 955.13 351.67\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M939.23,396.3l18.78.63-5.28,7.39s.37,14.93,2.88,19.21,1.77,70.4,1.77,70.4l-5,9.49-8.55-10.64.11-87.3Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('path',{attrs:{\"d\":\"M939.23,396.3l18.78.63-5.28,7.39s.37,14.93,2.88,19.21,1.77,70.4,1.77,70.4l-5,9.49-8.55-10.64.11-87.3Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('polygon',{attrs:{\"points\":\"941.67 336.86 924.15 356.26 934.16 366.69 950.75 350.52 941.67 336.86\",\"opacity\":\"0.1\"}}),_c('polygon',{attrs:{\"points\":\"941.67 335.61 924.15 355.01 934.16 365.44 950.75 349.27 941.67 335.61\",\"fill\":\"#343450\"}}),_c('polygon',{attrs:{\"points\":\"916.75 355.32 899.01 337.59 897.34 346.87 905.48 367.21 916.75 355.32\",\"opacity\":\"0.1\"}}),_c('polygon',{attrs:{\"points\":\"917.37 354.07 899.64 336.34 897.97 345.62 906.11 365.96 917.37 354.07\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M1004.05,598.14a86.57,86.57,0,0,1-27,7.81c-17.21,2.19-28.47-19.71-28.47-19.71l-6.57,8.55c-2.09,9.08-33.9,11.37-46.83,7.93a20.69,20.69,0,0,1-7.42-3.51c.18-4.53.22-8.28.22-8.28l23.36-8.76,30-9.59,25.24,12.1,36.93,7.09Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M982.1,391.72l-9.59,170.94-52.16-10.95L910,483.19l10.22-92,7.7,1a93.48,93.48,0,0,1-1.13,10c-1.25,5.85,6.47,47.36,6.47,47.36s14.67,46.55,21.27,39.84,16-42.14,16-42.14c6.37-13.14.11-50-.36-50.74a14.88,14.88,0,0,1-.6-3.35Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M1004.63,524l.44,16.75-4.82,4.37L997,504.57h7.2Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M891.37,493.1v0a23.25,23.25,0,0,1-.57,4c0-.37,0-.58-.08-.61C890.42,496.41,890.78,494.88,891.37,493.1Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M900.61,504.57l-3.29,40.52s-4.93-4.47-11.31-10.29l.76-7.18s2.69-17.64,3.67-26.34a16.08,16.08,0,0,0,1.72,3.29Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M928.9,377s-3.12-4.59-7.4,4.27c0,0-11.16,6.47-15,7.2S889,394,889,394a12.08,12.08,0,0,1-7.09,2.29c-4.28,0-7.83,9.39-7.31,14.5s-.31,8.87-4.27,9.08-1.78,8.44-1.78,8.44l26.39,30.25s1.67,27.85.84,28.69-3.86,9-3.13,9.28-4,31.08-4,31.08l-6.36,59.77s0,10,12.94,13.45S940,602,942.05,592.92l6.57-8.56s11.26,21.91,28.47,19.72,28.17-8.45,28.17-8.45L1003.38,524l-1.25-51.63L1029,428.22s-7.2-13.77-6.57-20,1.87-10.95-13.46-13.14c0,0-12.93-1.93-20.55-7.2a58.74,58.74,0,0,0-14.7-7.4s-4.3-8-7.29-5.26c0,0,3,11.31,2.75,13s.47,9.33.94,10.12,6.73,37.6.36,50.74c0,0-9.35,35.43-16,42.14s-21.27-39.84-21.27-39.84-7.72-41.52-6.47-47.36S928.9,377,928.9,377Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('circle',{attrs:{\"cx\":\"924.25\",\"cy\":\"469.12\",\"r\":\"4.59\",\"fill\":\"#3f3d56\"}}),_c('circle',{attrs:{\"cx\":\"924.25\",\"cy\":\"490.76\",\"r\":\"4.59\",\"fill\":\"#3f3d56\"}}),_c('circle',{attrs:{\"cx\":\"924.25\",\"cy\":\"469.12\",\"r\":\"4.59\",\"opacity\":\"0.1\"}}),_c('circle',{attrs:{\"cx\":\"924.25\",\"cy\":\"490.76\",\"r\":\"4.59\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M992.47,804.34s18.84,1.46,20.71,2.92S992.47,804.34,992.47,804.34Z\",\"transform\":\"translate(-26.97 -40.04)\",\"stroke\":\"#343450\",\"stroke-miterlimit\":\"10\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M880.3,789.53s4,5,2.3,7.3S880.3,789.53,880.3,789.53Z\",\"transform\":\"translate(-26.97 -40.04)\",\"stroke\":\"#343450\",\"stroke-miterlimit\":\"10\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M885.1,807.56s7.3-4.8,10.22-1.61S885.1,807.56,885.1,807.56Z\",\"transform\":\"translate(-26.97 -40.04)\",\"stroke\":\"#343450\",\"stroke-miterlimit\":\"10\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M976,341.77a29.16,29.16,0,0,1-.94,7.41,3.33,3.33,0,0,1-1.94-3.26c.13-1.19.92-2.28.75-3.46-.25-1.82-2.45-2.56-3.61-4-1.43-1.74-1.12-4.27-1-6.52s-.45-5-2.56-5.77c-.63-.23-1.32-.25-1.93-.51-1.66-.7-2.17-2.76-3.28-4.18-2.22-2.86-6.63-2.8-10-1.44a47.53,47.53,0,0,1-4.5,1.88,5.88,5.88,0,0,1-4.71-.35c-.66-.42-1.19-1-1.87-1.42-2.26-1.36-5.22,0-7.18,1.75s-3.53,4.1-6,5.17c-1.11.5-2.48.8-3,1.88a3.94,3.94,0,0,0-.32,1.87c0,3.89.46,7.84-.35,11.65-.52,2.45-2.24,5.23-4.73,4.93a4.67,4.67,0,0,1-.91-.23,29.3,29.3,0,1,1,58.1-5.42Z\",\"transform\":\"translate(-26.97 -40.04)\",\"opacity\":\"0.1\"}}),_c('path',{attrs:{\"d\":\"M916.61,345.51c.75.17,1.46.56,2.23.66,2.49.3,4.21-2.48,4.73-4.93.81-3.81.39-7.76.36-11.65a3.81,3.81,0,0,1,.31-1.87c.57-1.08,1.94-1.38,3-1.88,2.42-1.08,4-3.38,6-5.17s4.91-3.11,7.17-1.75c.67.4,1.21,1,1.87,1.42a6,6,0,0,0,4.72.35c1.55-.46,3-1.27,4.49-1.88,3.34-1.36,7.76-1.41,10,1.43,1.11,1.43,1.62,3.48,3.28,4.18.61.26,1.3.29,1.93.52,2.11.79,2.65,3.52,2.56,5.77s-.39,4.78,1,6.52c1.16,1.42,3.36,2.16,3.61,4,.16,1.18-.62,2.28-.75,3.46a3.32,3.32,0,0,0,3.13,3.54c2.6,0,4.21-2.91,6.64-3.84,1-.39,2.21-.45,3-1.24a3.31,3.31,0,0,0,.62-2.71c-.49-3.83-3.56-7.16-3.23-11,.31-3.68,3.72-6.89,3-10.51a8.52,8.52,0,0,0-2-3.57,11.56,11.56,0,0,0-4.08-3.45c-1.39-.6-3-.74-4.27-1.47-3.78-2.07-3.77-7.47-6-11.15a9.79,9.79,0,0,0-9.12-4.54c-2.81.28-5.36,1.77-8.14,2.27-3.81.68-7.67-.57-11.28-2s-7.26-3-11.13-3-8.06,2-9.24,5.66c-.62,2-.31,4.14-.79,6.15-.84,3.57-4,6.11-7.18,7.88-2.19,1.22-4.82,2.62-5.08,5.11-.17,1.58.7,3,1.25,4.53a11.53,11.53,0,0,1-.06,8c-.73,1.89-1.95,3.55-2.69,5.43a9.75,9.75,0,0,0,.26,8,7.46,7.46,0,0,0,4.57,3.75C913.27,347,914.51,345.05,916.61,345.51Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('g',{attrs:{\"opacity\":\"0.1\"}},[_c('path',{attrs:{\"d\":\"M923.57,339.06c-.52,2.45-2.25,5.23-4.74,4.93-.77-.1-1.47-.49-2.23-.66-2.09-.46-3.33,1.5-5.3,1a7.48,7.48,0,0,1-4.58-3.75,8.66,8.66,0,0,1-.93-3.27,9.13,9.13,0,0,0,.93,5.15,7.48,7.48,0,0,0,4.58,3.75c2,.46,3.21-1.5,5.3-1a22.61,22.61,0,0,0,2.23.65c2.49.31,4.22-2.47,4.74-4.92a28.89,28.89,0,0,0,.48-6.57A24.63,24.63,0,0,1,923.57,339.06Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M909.87,324a11.51,11.51,0,0,0-.66-4.83,25.53,25.53,0,0,1-1.15-3.16,4.59,4.59,0,0,0-.1.51c-.17,1.57.71,3,1.25,4.53A11.47,11.47,0,0,1,909.87,324Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M986.27,318.73c-.47,2.84-2.77,5.51-3,8.5a7.15,7.15,0,0,0,0,1.54C983.77,325.28,986.86,322.19,986.27,318.73Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M986.44,339.83a2.35,2.35,0,0,1-.57,1.12c-.74.79-2,.85-3,1.24-2.43.93-4,3.87-6.64,3.84a3.35,3.35,0,0,1-3-2.32,5.18,5.18,0,0,0-.14.66,3.32,3.32,0,0,0,3.13,3.53c2.61,0,4.21-2.91,6.64-3.83,1-.39,2.22-.45,3-1.24a3.31,3.31,0,0,0,.62-2.71C986.47,340,986.45,339.92,986.44,339.83Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M973.9,339c-.25-1.82-2.45-2.56-3.61-4a5.48,5.48,0,0,1-1.1-3.28c-.08,1.86-.05,3.76,1.1,5.16s2.9,2,3.46,3.44A3.21,3.21,0,0,0,973.9,339Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M969.25,328.53c.08-2.25-.46-5-2.57-5.77-.62-.23-1.31-.26-1.92-.51-1.66-.7-2.18-2.76-3.28-4.18-2.23-2.85-6.64-2.8-10-1.44-1.5.61-2.93,1.42-4.49,1.88a5.88,5.88,0,0,1-4.71-.35c-.66-.42-1.2-1-1.87-1.42-2.27-1.36-5.23,0-7.18,1.75s-3.53,4.09-6,5.17c-1.12.5-2.48.8-3.06,1.88a3.93,3.93,0,0,0-.31,1.87c0,.39,0,.78,0,1.17a2.84,2.84,0,0,1,.29-1.16c.58-1.08,1.94-1.38,3.06-1.88,2.42-1.08,4-3.38,6-5.17s4.91-3.11,7.18-1.75c.67.4,1.21,1,1.87,1.41a5.84,5.84,0,0,0,4.71.35,46.21,46.21,0,0,0,4.49-1.87c3.35-1.36,7.76-1.42,10,1.43,1.1,1.42,1.62,3.48,3.28,4.18.61.26,1.3.29,1.92.52,1.71.64,2.39,2.56,2.54,4.46Z\",\"transform\":\"translate(-26.97 -40.04)\"}})]),_c('g',{attrs:{\"opacity\":\"0.1\"}},[_c('path',{attrs:{\"d\":\"M920,339a7.67,7.67,0,0,1,5.78-7.17,24,24,0,0,1,13.48.61c9.49,3.14-1.2,14.44-1.2,14.44s-7.11,7-13.74,2.11a10.39,10.39,0,0,1-3.87-6A15.3,15.3,0,0,1,920,339Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('path',{attrs:{\"d\":\"M972.17,339a7.67,7.67,0,0,0-5.79-7.17,24,24,0,0,0-13.47.61c-9.49,3.14,1.2,14.44,1.2,14.44s7.1,7,13.74,2.11a10.39,10.39,0,0,0,3.87-6A15.3,15.3,0,0,0,972.17,339Z\",\"transform\":\"translate(-26.97 -40.04)\"}}),_c('polygon',{attrs:{\"points\":\"910.5 291.48 910.5 291.95 927.83 291.95 927.83 291.39 910.5 291.48\"}}),_c('path',{attrs:{\"d\":\"M943,336.53h.55v-1.59s1.76-1.37,4.68,0v1.42h1v-.93h-.49s.2-1.93-3.06-1.62c0,0-2.62-.25-2.56,1.41h-.6Z\",\"transform\":\"translate(-26.97 -40.04)\"}})]),_c('path',{attrs:{\"d\":\"M920,338.35a7.67,7.67,0,0,1,5.78-7.17,24.13,24.13,0,0,1,13.48.61c9.49,3.15-1.2,14.44-1.2,14.44s-7.11,7-13.74,2.11a10.33,10.33,0,0,1-3.87-6A15.21,15.21,0,0,1,920,338.35Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M972.17,338.35a7.67,7.67,0,0,0-5.79-7.17,24.09,24.09,0,0,0-13.47.61c-9.49,3.15,1.2,14.44,1.2,14.44s7.1,7,13.74,2.11a10.33,10.33,0,0,0,3.87-6A15.21,15.21,0,0,0,972.17,338.35Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('polygon',{attrs:{\"points\":\"910.5 290.85 910.5 291.33 927.83 291.33 927.83 290.76 910.5 290.85\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M943,335.9h.55v-1.59s1.76-1.36,4.68,0v1.43h1v-.94h-.49s.2-1.92-3.06-1.62c0,0-2.62-.24-2.56,1.41h-.6Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('rect',{attrs:{\"x\":\"117.46\",\"y\":\"457.19\",\"width\":\"5.68\",\"height\":\"127.9\",\"fill\":\"#535461\"}}),_c('path',{attrs:{\"d\":\"M185.81,624.74l-.36,5.76-.5,8.13-.21,3.39-.5,8.14-.22,3.39-.5,8.13-5.73,92.47a15.66,15.66,0,0,1-15.63,14.7H132.38a15.65,15.65,0,0,1-15.62-14.7L111,661.68l-.5-8.13-.21-3.39L109.8,642l-.21-3.39-.5-8.13-.36-5.76a8.11,8.11,0,0,1,8.1-8.61h60.89A8.1,8.1,0,0,1,185.81,624.74Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#3f3d56\"}}),_c('polygon',{attrs:{\"points\":\"158.48 590.46 157.98 598.59 82.61 598.59 82.11 590.46 158.48 590.46\",\"fill\":\"#9d9cb5\"}}),_c('polygon',{attrs:{\"points\":\"157.77 601.98 157.27 610.12 83.33 610.12 82.82 601.98 157.77 601.98\",\"fill\":\"#9d9cb5\"}}),_c('polygon',{attrs:{\"points\":\"157.05 613.51 156.55 621.64 84.05 621.64 83.54 613.51 157.05 613.51\",\"fill\":\"#9d9cb5\"}}),_c('path',{attrs:{\"d\":\"M100.41,545.17c33.08,23.93,46.86,61.37,46.86,61.37s-39.87-1.37-73-25.3-46.86-61.37-46.86-61.37S67.32,521.24,100.41,545.17Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M27.46,519.87s41.38,23,54.65,42,65.16,44.68,65.16,44.68\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"none\",\"stroke\":\"#535461\",\"stroke-miterlimit\":\"10\",\"stroke-width\":\"2\"}}),_c('path',{attrs:{\"d\":\"M121.76,497c18,13,25.51,33.4,25.51,33.4s-21.7-.74-39.71-13.77-25.5-33.4-25.5-33.4S103.76,483.92,121.76,497Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M82.06,483.18s22.52,12.5,29.74,22.85,35.47,24.32,35.47,24.32\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"none\",\"stroke\":\"#535461\",\"stroke-miterlimit\":\"10\",\"stroke-width\":\"2\"}}),_c('path',{attrs:{\"d\":\"M173.44,529.32c-20.69,22.73-25.06,52.43-25.06,52.43s29.16-7.15,49.84-29.88,25.06-52.44,25.06-52.44S194.12,506.58,173.44,529.32Z\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"#343450\"}}),_c('path',{attrs:{\"d\":\"M223.28,499.43s-26.94,23.3-33.79,39.36-41.11,43-41.11,43\",\"transform\":\"translate(-26.97 -40.04)\",\"fill\":\"none\",\"stroke\":\"#535461\",\"stroke-miterlimit\":\"10\",\"stroke-width\":\"2\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Unauthorized.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Unauthorized.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Unauthorized.vue?vue&type=template&id=5a419fc8&scoped=true&\"\nimport script from \"./Unauthorized.vue?vue&type=script&lang=js&\"\nexport * from \"./Unauthorized.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5a419fc8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-blueGray-50 dark:bg-blueGray-800 min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('div',{staticClass:\"sm:mx-auto sm:w-full sm:max-w-md\"},[(_vm.tenant && (_vm.tenant.logo || _vm.tenant.logoDarkmode))?_c('div',[_c('router-link',{attrs:{\"to\":{ name: 'landing' }}},[_c('img',{staticClass:\"mx-auto h-16 w-auto\",attrs:{\"src\":_vm.tenant.logo}})])],1):_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"})],1),(_vm.loading)?_c('div'):(!_vm.invitation || !_vm.invitation.user)?_c('div',{staticClass:\"text-red-500 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.invalidInvitation\"))+\" \")]):_vm._e(),(_vm.invitation && _vm.invitation.user)?_c('div',[_c('h2',{staticClass:\"mt-6 text-center text-lg leading-9 font-bold text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.hi\"))+\" \"+_vm._s(_vm.invitation.user.firstName ? _vm.invitation.user.firstName : _vm.invitation.user.email)+\", \"+_vm._s(_vm.$t(\"account.invitation.youWereInvited\"))+\" \"+_vm._s(_vm.invitation.tenant.name)+\" \")]),_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"py-8 px-4 sm:rounded-sm sm:px-10\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.accept($event)}}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"disabled\":true,\"id\":\"email\",\"type\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})])]),(_vm.requirePassword)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.password\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]):_vm._e(),(_vm.requirePassword)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"confirmPassword\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.confirmPassword\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.passwordConfirm),expression:\"user.passwordConfirm\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"confirmPassword\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.passwordConfirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"passwordConfirm\", $event.target.value)}}})])]):_vm._e(),_c('div',{staticClass:\"mt-6\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.button\"))+\" \")])],1)])])])])]):_vm._e()]),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport GoogleSignInButton from \"vue-google-signin-button-directive\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { UserVerifyRequest } from \"../../application/contracts/master/users/UserVerifyRequest\";\nimport { TenantInvitationResponse } from \"../../application/contracts/master/tenants/TenantInvitationResponse\";\nimport { TenantDto } from \"../../application/dtos/master/tenants/TenantDto\";\nimport LoadingButton from \"../../components/shared/buttons/LoadingButton.vue\";\nimport services from \"@/services\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\n\n@Component({\n components: {\n ErrorModal,\n Logo,\n LoadingButton\n },\n directives: {\n GoogleSignInButton\n }\n})\nexport default class TenantMemberInvitation extends Vue {\n $refs!: {\n loadingButton: LoadingButton;\n errorModal: ErrorModal;\n };\n loading = false;\n requirePassword = true;\n user = {} as UserVerifyRequest;\n invitation: TenantUserDto | null = null;\n tenant = {} as TenantDto;\n created() {\n this.user.token = this.$route.query.i ? this.$route.query.i.toString() : \"\";\n this.user.email = this.$route.query.e ? this.$route.query.e.toString() : \"\";\n }\n mounted() {\n if (this.$route.query.i) {\n this.loading = true;\n services.tenantUserInvitations\n .getInvitation(this.$route.query.i.toString())\n .then((response: TenantInvitationResponse) => {\n this.invitation = response.invitation;\n this.tenant = response.tenant;\n this.requirePassword = response.requiresVerify;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n accept() {\n if (this.user.password !== this.user.passwordConfirm) {\n return;\n }\n\n this.$refs.loadingButton.start();\n services.tenantUserInvitations\n .acceptInvitation(this.$route.query.i.toString(), this.user)\n .catch(error => {\n this.$refs.errorModal.show(error);\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMemberInvitation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMemberInvitation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantMemberInvitation.vue?vue&type=template&id=120315c8&\"\nimport script from \"./TenantMemberInvitation.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantMemberInvitation.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum AppUsageType {\n ALL,\n PROVIDERS,\n CLIENTS,\n EMPLOYEES,\n CFDIS,\n CONTRACTS,\n STORAGE,\n PENDING_INVITATIONS,\n}\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB19JREFUeNrs3U9WE1kUgPGyj456ElfQ8bgAcQWGFQgrMOlBT4UVCCuAnvagCSsAV0BYgbgAD+kVgIMeOen3TKE2kij5U3Wr8vvOqRNULB7v5cu9971XVUUBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwEA+WebJHj59200u3ZX108enqw7W3yvL4/Y9/O+llI1Kb/v7r19Fdf/9wyT+nn443bRvQJP4XWdJxXb5+TEfu1HESaOxtfy9O0tEL1J7BtH94aKzuxc2n3s3g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pBhEiHel68jQhDkZz492ybBP998nY9rxTUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwhf8EGABoQTfGRJoVGAAAAABJRU5ErkJggg==\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('side-modal',{attrs:{\"title\":_vm.getTitle},on:{\"close\":_vm.close},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('picture-input',{ref:\"pictureInput\",attrs:{\"width\":\"600\",\"height\":\"600\",\"margin\":\"16\",\"accept\":\"image/jpeg,image/png,image/jpg,image/ico\",\"size\":\"10\",\"button-class\":\"btn\",\"customStrings\":_vm.getStrings},on:{\"change\":_vm.onChange}})]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport SideModal from \"../modals/SideModal.vue\";\nimport { Prop } from \"vue-property-decorator\";\n// @ts-ignore\nimport PictureInput from \"vue-picture-input\";\n\n@Component({\n components: {\n PictureInput,\n SideModal\n }\n})\nexport default class UploadImage extends Vue {\n @Prop()\n title!: string;\n @Prop()\n image!: string;\n customStrings = {} as any;\n mounted() {\n // @ts-ignore\n this.$refs.pictureInput.image = this.image;\n this.customStrings = {\n tap: \"Clic aquí para seleleccionar de tu galería\",\n change: \"Clic aquí para seleleccionar de tu galería\",\n remove: \"Quitar foto\",\n select: \"Selecciona una foto\",\n selected: \"

Foto agregada

\",\n fileSize: \"El tamaño de la foto excede el límite\",\n fileType: \"Este tipo de archivo no es soportado.\",\n aspect: \"Horizontal/Vertical\",\n upload: \"

Imágenes

\",\n drag:\n \"

Arrastra una imagen

o clic aquí para seleccionar

\"\n };\n }\n get getStrings() {\n return {\n tap: \"Clic aquí para seleleccionar de tu galería\",\n change: \"Clic aquí para seleleccionar de tu galería\",\n remove: \"Quitar foto\",\n select: \"Selecciona una foto\",\n selected: \"

Foto agregada

\",\n fileSize: \"El tamaño de la foto excede el límite\",\n fileType: \"Este tipo de archivo no es soportado.\",\n aspect: \"Horizontal/Vertical\",\n upload: \"

Imágenes

\",\n drag:\n \"

Arrastra una imagen

o clic aquí para seleccionar

\"\n };\n }\n onChange() {\n if (this.loadedImage) {\n this.$emit(\"loaded\", this.loadedImage);\n }\n }\n get loadedImage() {\n // @ts-ignore\n return this.$refs.pictureInput.image;\n }\n close() {\n this.$emit(\"close\");\n }\n get getTitle() {\n return this.$t(\"shared.upload\") + \" \" + this.title;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadImage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadImage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UploadImage.vue?vue&type=template&id=076f446c&\"\nimport script from \"./UploadImage.vue?vue&type=script&lang=ts&\"\nexport * from \"./UploadImage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.back($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:{\n 'max-w-2xl': _vm.widgetOpened,\n 'max-w-sm': !_vm.widgetOpened\n },attrs:{\"role\":\"dialog\",\"id\":\"mifielwidget\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[(!_vm.widgetSuccess)?_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.back}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[(_vm.loading)?_c('Loading'):(!_vm.currentMember)?_c('div',[_vm._v(\" No perteneces a este contrato. \")]):(_vm.currentMember.role === 1)?_c('div',[_vm._v(\" No puedes firmar el contrato. \")]):_c('div',[(_vm.currentMember.signDate && !_vm.showingSignedModal)?_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-green-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" Documento firmado \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-sm text-gray-700\"},[_vm._v(\" Ya firmaste este documento el \"+_vm._s(_vm.dateDM(_vm.currentMember.signDate))+\" \")])])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('button',{ref:\"buttonClose\",staticClass:\"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-theme-600 text-base font-medium text-white hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.back}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.close\"))+\" \")])])]):_c('div',{staticClass:\"MifielWidget\"})])],1)])])],1)]),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.back}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { MifielDocument } from \"@/application/dtos/app/v3/mifiel/MifielDocument\";\nimport { MifielSigner } from \"@/application/dtos/app/v3/mifiel/MifielSigner\";\nimport store from \"@/store\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n Loading\n }\n})\nexport default class ContractSign extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n };\n item: MifielDocument | null = null;\n signer: MifielSigner | null = null;\n loading = false;\n savingSignature = false;\n currentMember: ContractMemberDto | null = null;\n widgetOpened = false;\n showingSignedModal = false;\n widgetSuccess = false;\n mounted() {\n const plugin = document.createElement(\"script\");\n plugin.setAttribute(\"type\", \"text/javascript\");\n const url = process.env.VUE_APP_MIFIEL_API_URL?.toString() ?? \"\";\n if (url) {\n plugin.text = `window.mifiel=window.mifiel||[],function(){\"use strict\";for(var e=[\"widget\"],i=function(e){return function(){window.mifiel.push([e].concat(Array.prototype.slice.call(arguments,0)))}},t=0;t {\n this.currentMember =\n response.members.find(\n f => f.user.email === store.state.account.user?.email\n ) ?? null;\n if (this.currentMember && !this.currentMember.signDate) {\n services.contracts\n .getDigitalDocument(this.$route.params.id)\n .then(response => {\n this.item = response;\n this.signer =\n this.item?.signers.find(\n f => f.email === store.state.account.user?.email\n ) ?? null;\n\n if (this.signer?.signed) {\n this.signed(\"signed\");\n } else {\n this.setupSignWidget();\n }\n this.loading = false;\n })\n .catch(error => {\n console.error(error);\n this.loading = false;\n });\n } else {\n this.loading = false;\n }\n })\n .catch(error => {\n console.error(error);\n this.loading = false;\n });\n }\n setupSignWidget() {\n if (!this.signer || this.signer.signed) {\n return;\n }\n this.widgetOpened = true;\n // @ts-ignore\n window.mifiel.widget({\n widgetId: this.signer.widget_id,\n appendTo: \"mifielwidget\",\n successBtnText: \"Clic aquí para cerrar\"\n });\n\n window.addEventListener(\"message\", this.mifielMessage, false);\n }\n mifielMessage(e) {\n if (!e.origin.includes(\".mifiel.com\")) {\n return;\n }\n if (typeof e.data !== \"object\") {\n return;\n }\n console.log(\"e.data.eventType\", e.data.eventType);\n if (e.data.eventType === \"mifiel.widget.successStep\") {\n e.stopImmediatePropagation();\n this.widgetSuccess = true;\n this.signed(\"signed\");\n } else if (e.data.eventType.includes(\"mifiel.widget.error\")) {\n const error = e.data.error;\n this.$refs.errorModal.show(\"Error\", error.message);\n }\n }\n signed(signature: string) {\n if (this.savingSignature) {\n console.log(\"return saving signature\");\n return;\n }\n this.savingSignature = true;\n console.log(\"saving signature\");\n this.loading = true;\n services.contracts\n .signed(this.$route.params.id, signature)\n .then(() => {\n tinyEventBus().emitter.emit(\"contract-reload\");\n this.showingSignedModal = true;\n if (this.$refs.successModal) {\n this.$refs.successModal.show(\n \"Contrato firmado\",\n \"Has firmado el contrato correctamente.\"\n );\n } else {\n this.back();\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n this.savingSignature = false;\n });\n }\n back() {\n this.$router.push({\n name: \"app.contracts.view\",\n params: { id: this.$route.params.id }\n });\n }\n dateDM(value: Date | undefined) {\n return DateUtils.dateDM(value);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractSign.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractSign.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractSign.vue?vue&type=template&id=11399326&\"\nimport script from \"./ContractSign.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractSign.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No hay contratos activos'\n },\"icon\":\"plus\"}})],1):_c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(contract,idxContract){return _c('li',{key:idxContract},[_c('router-link',{staticClass:\"block hover:bg-gray-50\",attrs:{\"to\":{\n name: 'app.visits.list',\n params: { id: contract.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"flex-shrink-0\"},[(contract.status === 0)?_c('contract-clock',{staticClass:\"h-10 w-10 text-yellow-500\"}):_vm._e(),(contract.status === 1)?_c('contract-check',{staticClass:\"h-10 w-10 text-teal-500\"}):_vm._e(),(contract.status === 2)?_c('contract-archived',{staticClass:\"h-10 w-10 text-gray-500\"}):_vm._e()],1),_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\"flex items-center justify-between\"},[_c('div',{staticClass:\"text-sm truncate flex-grow\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")])]),_c('div',{staticClass:\"mt-2 flex items-center text-sm text-gray-500 space-x-1 truncate\"},[_c('div',{staticClass:\" font-bold text-sm\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.taxId)+\" - \")]),_c('div',{staticClass:\"truncate max-w-xs\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.legalName)+\" \")])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-900\"},[_c('time',{attrs:{\"datetime\":contract.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(contract.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-sm text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])],1)}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',[_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-4 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),_c('th',{staticClass:\"relative px-6 py-2\",attrs:{\"scope\":\"col\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.actions\")))])])],2)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(contract,idxContract){return _c('tr',{key:idxContract,attrs:{\"tag\":\"tr\",\"to\":{\n name: 'app.visits.new',\n params: { id: contract.id }\n }}},[_c('td',{staticClass:\"px-4 py-3 whitespace-nowrap\"},[_c('div',{staticClass:\" text-sm font-bold\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.taxId)+\" \")]),_c('div',{staticClass:\"sm:text-sm max-w-xs text-gray-700\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.legalName)+\" \")])]),_c('td',{staticClass:\"px-4 py-3 whitespace-nowrap\"},[_c('div',{staticClass:\"sm:text-sm text-gray-900 max-w-sm truncate\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")])]),_c('td',{staticClass:\"w-64 px-2 py-3 whitespace-nowrap text-left text-sm font-medium\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('router-link',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{\n name: 'app.visits.list',\n params: { id: contract.id }\n }}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.title\"))+\" \")]),_c('router-link',{staticClass:\"inline-flex items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{\n name: 'app.visits.new',\n params: { id: contract.id }\n }}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.new\"))+\" \")])],1)])])}),0)])])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n ContractClock,\n ContractCheck,\n ContractArchived,\n EmptyState\n }\n})\nexport default class ContractsListAndTable extends Vue {\n @Prop({}) items!: ContractDto[];\n sortByColumn = \"\";\n sortDirection = -1;\n headers = [\n {\n name: \"providerWorkspace.taxId\",\n title: i18n.t(\"models.provider.taxId\")\n },\n {\n name: \"name\",\n title: i18n.t(\"models.contract.object\")\n }\n // {\n // name: \"providerLegalName\",\n // title: i18n.t(\"models.provider.legalName\")\n // },\n // {\n // title: i18n.t(\"models.employee.plural\")\n // }\n // {\n // name: \"clientLegalName\",\n // title: i18n.t(\"models.contract.clientLegalName\"),\n // sortable: true\n // },\n // {\n // name: \"status\",\n // title: i18n.t(\"models.contract.status\")\n // },\n // {\n // name: \"createdAt\",\n // title: i18n.t(\"shared.created\")\n // }\n // {\n // title: i18n.t(\"app.contracts.visits\")\n // }\n ];\n\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n get sortedItems(): ContractDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActiveContractsListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActiveContractsListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ActiveContractsListAndTable.vue?vue&type=template&id=7d2fb5cb&\"\nimport script from \"./ActiveContractsListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ActiveContractsListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { SubscriptionProductDto } from \"./SubscriptionProductDto\";\nimport { MasterEntityDto } from \"../MasterEntityDto\";\nimport { ColumnType, ValueType } from \"../../ColumnType\";\nimport { SubscriptionPlanDto } from \"./SubscriptionPlanDto\";\nimport { SubscriptionPriceType } from \"@/application/enums/master/subscriptions/SubscriptionPriceType\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\n\nexport interface SubscriptionPriceDto extends MasterEntityDto {\n serviceId: string;\n type: SubscriptionPriceType;\n billingPeriod: SubscriptionBillingPeriod;\n price: number;\n currency: string;\n trialDays: number;\n active: boolean;\n priceBefore?: number;\n subscriptionProductId?: string;\n subscriptionProduct?: SubscriptionProductDto;\n subscriptionPlan?: SubscriptionPlanDto;\n // mode: TenantType;\n}\n\nexport const columns: ColumnType[] = [\n {\n name: \"serviceId\",\n cannotEdit: true,\n optional: true,\n placeholder: \"serviceIdLeaveEmpty\",\n },\n {\n name: \"type\",\n valueType: ValueType.SubscriptionPriceType,\n cannotEdit: true,\n },\n {\n name: \"billingPeriod\",\n valueType: ValueType.SubscriptionBillingPeriod,\n cannotEdit: true,\n },\n { name: \"price\", valueType: ValueType.Money, cannotEdit: true },\n { name: \"currency\", cannotEdit: true, values: [\"usd\", \"mxn\", \"eur\"] },\n {\n name: \"trialDays\",\n cannotEdit: true,\n optional: true,\n },\n {\n name: \"active\",\n valueType: ValueType.Bool,\n },\n { name: \"priceBefore\", valueType: ValueType.Money, optional: true },\n];\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('app-layout',{attrs:{\"layout\":\"app\"}},[_c('div',[_c('router-view',{key:_vm.currentWorkspaceId})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport AppLayout from \"@/components/layouts/sidebar/SidebarLayout.vue\";\nimport store from \"@/store\";\n\n@Component({\n components: { AppLayout }\n})\nexport default class App extends Vue {\n get currentWorkspaceId(): string {\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=3931a516&\"\nimport script from \"./Index.vue?vue&type=script&lang=ts&\"\nexport * from \"./Index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\n\nconst selectedProductTitle = (): string => {\n return store.state.pricing.selectedProduct?.title ?? \"\";\n};\nconst selectedPrice = (): SubscriptionPriceDto | null => {\n const prices = store.state.pricing.selectedProduct?.prices;\n if (prices && prices.length > 0) {\n return (\n // tslint:disable-next-line: max-line-length\n prices.find((e) => e.billingPeriod === store.state.pricing.billingPeriod && e.currency === store.state.pricing.currency) ??\n prices.filter((f) => f.currency === store.state.pricing.currency)[0]\n );\n }\n return null;\n};\nconst selectedBillingPeriod = (): string => {\n const price = selectedPrice();\n if (price?.billingPeriod === SubscriptionBillingPeriod.ONCE) {\n return \"once\";\n } else {\n return SubscriptionBillingPeriod[store.state.pricing.billingPeriod] + \"Short\";\n }\n};\n\nexport default {\n selectedProductTitle,\n selectedPrice,\n selectedBillingPeriod,\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.my\"))+\" \")]),_c('div',{staticClass:\"flex items-center\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newLink}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.new\"))+\" \")])])])])]),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),(false)?_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newProvider}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"hidden lg:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newProvider\"))+\" \")]),_c('div',{staticClass:\"lg:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newProvider\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newClient}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"hidden lg:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newClient\"))+\" \")]),_c('div',{staticClass:\"lg:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.newClient\"))+\" \")])])]):_vm._e()],1)]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[_c('router-view')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport LinksList from \"@/components/app/v3/contacts/links/LinksList.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\n\n@Component({\n metaInfo: {\n title: \"Mis enlaces\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n LinksList,\n Tabs\n }\n})\nexport default class Links extends Vue {\n $refs!: {\n list: LinksList;\n };\n tabs: TabItem[] = [];\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.links.pending.title\"),\n routeName: \"app.links.pending\"\n },\n {\n name: this.$t(\"app.links.linked.title\"),\n routeName: \"app.links.linked\"\n }\n ];\n }\n reload() {\n this.$refs.list.reload();\n }\n newClient() {\n tinyEventBus().emitter.emit(\"new-client\");\n }\n newProvider() {\n tinyEventBus().emitter.emit(\"new-provider\");\n }\n newLink() {\n tinyEventBus().emitter.emit(\"new-link\");\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Links.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Links.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Links.vue?vue&type=template&id=d6d518e8&\"\nimport script from \"./Links.vue?vue&type=script&lang=ts&\"\nexport * from \"./Links.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.close($event)},\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[(_vm.showing)?_c('div',[_c('div',{staticClass:\"items-center inset-0 flex justify-center z-40 fixed bottom-0 inset-x-0 px-4 pb-6 sm:inset-0 sm:p-0 sm:flex sm:items-center sm:justify-center\"},[_vm._m(0),_c('div',{staticClass:\"bg-blueGray-100 shadow-inner border-2 border-blueGray-400 rounded-sm px-4 pt-5 pb-4 overflow-hidden transform transition-all sm:max-w-sm w-full sm:p-6\",attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-sm bg-green-100 border border-green-300\"},[_c('svg',{staticClass:\"h-6 w-6 text-green-600\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[(!_vm.successDescription)?_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-headline\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]):_vm._e(),(_vm.successDescription)?_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.successDescription)+\" \")])]):_vm._e(),(_vm.subtitle)?_c('p',{staticClass:\"text-gray-700 text-sm mt-3\"},[_vm._v(\" \"+_vm._s(_vm.subtitle)+\" \")]):_vm._e(),(_vm.warnings && _vm.warnings.length > 0)?_c('div',{staticClass:\"mt-2 text-left\"},[_c('br'),_vm._v(\"Advertencias: \"),_c('br'),_c('ul',{staticClass:\"mt-1\"},_vm._l((_vm.warnings),function(item,idx){return _c('li',{key:idx,staticClass:\"text-sm font-medium text-gray-800\"},[(item.includes(' '))?_c('span',[_vm._v(\"Tiempo de espera agotado\")]):_c('span',[_vm._v(\" \"+_vm._s(idx + 1)+\". \"+_vm._s(item)+\" \")])])}),0)]):_vm._e()])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('span',{staticClass:\"flex w-full rounded-sm shadow-sm\"},[_c('button',{ref:\"buttonClose\",staticClass:\"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-theme-600 text-base font-medium text-white hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.closeText)+\" \")])])])])])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fixed inset-0 transition-opacity\"},[_c('div',{staticClass:\"absolute inset-0 bg-gray-500 opacity-75\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class SuccessModal extends Vue {\n $refs!: {\n buttonClose: HTMLButtonElement;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n successDescription!: string;\n subtitle!: string;\n warnings: string[] = [];\n mounted() {\n this.title = this.$t(\"shared.success\").toString();\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(description: any, subtitle?: any, warnings?: string[]) {\n this.successDescription = description;\n this.subtitle = subtitle;\n this.showing = true;\n if (warnings) {\n this.warnings = warnings;\n }\n // setTimeout(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // }, 1000);\n this.$nextTick(() => {\n setTimeout(() => {\n if (this.$refs.buttonClose) {\n this.$refs.buttonClose.focus();\n }\n }, 1000);\n });\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n keyup(event: KeyboardEvent) {\n // console.log({ event, showing: this.showing });\n if (event.keyCode === 13) {\n this.close();\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuccessModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SuccessModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SuccessModal.vue?vue&type=template&id=eee64aa0&\"\nimport script from \"./SuccessModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./SuccessModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[(false)?_c('div',{staticClass:\"flex items-center justify-between bg-white -m-4 sm:-m-8 p-8 pb-4 shadow-lg mb-4\"},[_c('div',{staticClass:\"flex-1 min-w-0\"},[_c('h2',{staticClass:\"flex text-2xl font-bold leading-9 text-gray-800 sm:text-3xl sm:leading-9 sm:truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.profileTitle\"))+\" \")])])]):_vm._e(),_c('div',{staticClass:\" \"},[_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.profileTitle\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.profileText\"))+\" \")])])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.updateProfile()}}},[_c('div',{staticClass:\"shadow overflow-hidden sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 sm:col-span-6 md:col-span-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"email_address\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profile.email),expression:\"profile.email\"}],staticClass:\"bg-gray-100 mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"required\":\"\",\"disabled\":true,\"type\":\"email\",\"id\":\"email_address\"},domProps:{\"value\":(_vm.profile.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profile, \"email\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 md:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"firstName\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.firstName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profile.firstName),expression:\"profile.firstName\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"id\":\"firstName\",\"required\":\"\"},domProps:{\"value\":(_vm.profile.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profile, \"firstName\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 md:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"lastName\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.lastName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profile.lastName),expression:\"profile.lastName\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"id\":\"lastName\"},domProps:{\"value\":(_vm.profile.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profile, \"lastName\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 md:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"phone\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.phone\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.profile.phone),expression:\"profile.phone\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"id\":\"phone\"},domProps:{\"value\":(_vm.profile.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.profile, \"phone\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm leading-5 font-medium text-gray-700\",attrs:{\"for\":\"photo\"}},[_vm._v(_vm._s(_vm.$t(\"shared.avatar\")))]),_c('div',{staticClass:\"mt-2 flex items-center\"},[_c('span',{staticClass:\"h-12 w-12 rounded-sm overflow-hidden bg-gray-100\"},[(_vm.avatar)?_c('img',{attrs:{\"src\":_vm.avatar}}):_c('svg',{staticClass:\"h-full w-full text-gray-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z\"}})])]),_c('span',{staticClass:\"ml-5 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"py-2 px-3 border border-gray-300 rounded-sm text-sm leading-4 font-medium text-gray-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.showUploadImage = true}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upload\"))+\" \")])]),(_vm.avatar)?_c('span',{staticClass:\"ml-2 rounded-sm shadow-sm\"},[_c('button',{staticClass:\"py-2 px-3 border bg-rose-50 border-gray-300 rounded-sm text-sm leading-4 font-medium text-red-700 hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 active:text-gray-800 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.loadedImage(null)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])]):_vm._e()])])])]),_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])])]),_vm._m(0),_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.securityTitle\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.login.forgot\"))+\" \"),_c('a',{staticClass:\"text-theme-600 font-bold hover:text-theme-500\",attrs:{\"href\":'/cuenta/olvide?e=' + _vm.$store.state.account.user.email},on:{\"click\":_vm.logout}},[_vm._v(_vm._s(_vm.$t(\"account.reset.button\")))])])])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.updatePassword()}}},[_c('div',{staticClass:\"shadow overflow-hidden sm:rounded-sm\"},[(_vm.canChangePassword())?_c('div',[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"passwordCurrent\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.passwordCurrent\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updatePasswordRequest.passwordCurrent),expression:\"updatePasswordRequest.passwordCurrent\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"required\":_vm.profile.loginType === 0,\"type\":\"password\",\"id\":\"passwordCurrent\"},domProps:{\"value\":(_vm.updatePasswordRequest.passwordCurrent)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updatePasswordRequest, \"passwordCurrent\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 md:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.password\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updatePasswordRequest.passwordNew),expression:\"updatePasswordRequest.passwordNew\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"required\":\"\",\"type\":\"password\",\"id\":\"password\"},domProps:{\"value\":(_vm.updatePasswordRequest.passwordNew)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updatePasswordRequest, \"passwordNew\", $event.target.value)}}})]),_c('div',{staticClass:\"col-span-6 md:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"passwordConfirm\"}},[_vm._v(_vm._s(_vm.$t(\"settings.profile.passwordConfirm\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updatePasswordRequest.passwordConfirm),expression:\"updatePasswordRequest.passwordConfirm\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"required\":\"\",\"type\":\"password\",\"id\":\"passwordConfirm\"},domProps:{\"value\":(_vm.updatePasswordRequest.passwordConfirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updatePasswordRequest, \"passwordConfirm\", $event.target.value)}}})])])]),_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])]):_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6 block text-sm font-medium leading-5 text-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.cannotChangePassword\"))+\" \")])])])])]),_vm._m(1),_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.preferences.title\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.preferences.description\"))+\" \")])])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"shadow sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},[_c('div',{staticClass:\"col-span-6 sm:col-span-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":\"passwordCurrent\"}},[_vm._v(_vm._s(_vm.$t(\"settings.preferences.language\")))]),_c('selector',{attrs:{\"selected\":_vm.selectedLocale,\"options\":_vm.locales,\"translatePath\":\"shared.locales\"},on:{\"selected\":_vm.changedLocale}})],1)])])])])])]),_vm._m(2),(_vm.$store.state.account.user.type !== 0)?_c('div',{staticClass:\"md:grid lg:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('div',{staticClass:\"sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.danger.title\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-xs leading-5 text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.danger.description\"))+\" \")])])]),_c('div',{staticClass:\"mt-12 md:mt-0 md:col-span-2\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"bg-white shadow sm:rounded-sm\"},[_c('div',{staticClass:\"px-4 py-5 sm:p-6\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.danger.deleteYourAccount\"))+\" \")]),_c('div',{staticClass:\"mt-2 max-w-xl text-sm leading-5 text-gray-500\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"settings.danger.onceYouDelete\"))+\".\")])]),_c('div',{staticClass:\"mt-5\"},[_c('button',{staticClass:\"inline-flex items-center justify-center px-4 py-2 border border-transparent font-medium rounded-sm text-red-700 bg-rose-50 hover:bg-red-50 focus:outline-none focus:border-red-300 focus:shadow-outline-red active:bg-red-200 transition ease-in-out duration-150 sm:text-sm sm:leading-5\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.deleteAccount}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.danger.deleteAccount\"))+\" \")])])])])])])]):_vm._e()]),(_vm.showUploadImage && !_vm.uploadingImage)?_c('upload-image',{attrs:{\"title\":_vm.$t('shared.avatar'),\"image\":_vm.avatar},on:{\"close\":function($event){_vm.showUploadImage = false},\"loaded\":_vm.loadedImage}}):_vm._e(),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.confirmDelete}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"py-5\"},[_c('div',{staticClass:\"border-t border-gray-200\"})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"py-5\"},[_c('div',{staticClass:\"border-t border-gray-200\"})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"py-5\"},[_c('div',{staticClass:\"border-t border-gray-200\"})])])}]\n\nexport { render, staticRenderFns }","export const timezones = [\n { label: \"(GMT-12:00) International Date Line West\", value: \"-12\" },\n { label: \"(GMT-11:00) Midway Island, Samoa\", value: \"-11\" },\n { label: \"(GMT-10:00) Hawaii\", value: \"-10\" },\n { label: \"(GMT-09:00) Alaska\", value: \"-9\" },\n { label: \"(GMT-08:00) Pacific Time (US & Canada)\", value: \"-8\" },\n { label: \"(GMT-08:00) Tijuana, Baja California\", value: \"-8\" },\n { label: \"(GMT-07:00) Arizona\", value: \"-7\" },\n { label: \"(GMT-07:00) Chihuahua, La Paz, Mazatlan\", value: \"-7\" },\n { label: \"(GMT-07:00) Mountain Time (US & Canada)\", value: \"-7\" },\n { label: \"(GMT-06:00) Central America\", value: \"-6\" },\n { label: \"(GMT-06:00) Central Time (US & Canada)\", value: \"-6\" },\n { label: \"(GMT-05:00) Bogota, Lima, Quito, Rio Branco\", value: \"-5\" },\n { label: \"(GMT-05:00) Eastern Time (US & Canada)\", value: \"-5\" },\n { label: \"(GMT-05:00) Indiana (East)\", value: \"-5\" },\n { label: \"(GMT-04:00) Atlantic Time (Canada)\", value: \"-4\" },\n { label: \"(GMT-04:00) Caracas, La Paz\", value: \"-4\" },\n { label: \"(GMT-04:00) Manaus\", value: \"-4\" },\n { label: \"(GMT-04:00) Santiago\", value: \"-4\" },\n { label: \"(GMT-03:30) Newfoundland\", value: \"-3.5\" },\n { label: \"(GMT-03:00) Brasilia\", value: \"-3\" },\n { label: \"(GMT-03:00) Buenos Aires, Georgetown\", value: \"-3\" },\n { label: \"(GMT-03:00) Greenland\", value: \"-3\" },\n { label: \"(GMT-03:00) Montevideo\", value: \"-3\" },\n { label: \"(GMT-02:00) Mid-Atlantic\", value: \"-2\" },\n { label: \"(GMT-01:00) Cape Verde Is.\", value: \"-1\" },\n { label: \"(GMT-01:00) Azores\", value: \"-1\" },\n { label: \"(GMT+00:00) Casablanca, Monrovia, Reykjavik\", value: \"0\" },\n {\n label: \"(GMT+00:00) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London\",\n value: \"0\",\n },\n {\n label: \"(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna\",\n value: \"1\",\n },\n {\n label: \"(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague\",\n value: \"1\",\n },\n { label: \"(GMT+01:00) Brussels, Copenhagen, Madrid, Paris\", value: \"1\" },\n { label: \"(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb\", value: \"1\" },\n { label: \"(GMT+01:00) West Central Africa\", value: \"1\" },\n { label: \"(GMT+02:00) Amman\", value: \"2\" },\n { label: \"(GMT+02:00) Athens, Bucharest, Istanbul\", value: \"2\" },\n { label: \"(GMT+02:00) Beirut\", value: \"2\" },\n { label: \"(GMT+02:00) Cairo\", value: \"2\" },\n { label: \"(GMT+02:00) Harare, Pretoria\", value: \"2\" },\n {\n label: \"(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius\",\n value: \"2\",\n },\n { label: \"(GMT+02:00) Jerusalem\", value: \"2\" },\n { label: \"(GMT+02:00) Minsk\", value: \"2\" },\n { label: \"(GMT+02:00) Windhoek\", value: \"2\" },\n { label: \"(GMT+03:00) Kuwait, Riyadh, Baghdad\", value: \"3\" },\n { label: \"(GMT+03:00) Moscow, St. Petersburg, Volgograd\", value: \"3\" },\n { label: \"(GMT+03:00) Nairobi\", value: \"3\" },\n { label: \"(GMT+03:00) Tbilisi\", value: \"3\" },\n { label: \"(GMT+03:30) Tehran\", value: \"3.5\" },\n { label: \"(GMT+04:00) Abu Dhabi, Muscat\", value: \"4\" },\n { label: \"(GMT+04:00) Baku\", value: \"4\" },\n { label: \"(GMT+04:00) Yerevan\", value: \"4\" },\n { label: \"(GMT+04:30) Kabul\", value: \"4.5\" },\n { label: \"(GMT+05:00) Yekaterinburg\", value: \"5\" },\n { label: \"(GMT+05:00) Islamabad, Karachi, Tashkent\", value: \"5\" },\n { label: \"(GMT+05:30) Sri Jayawardenapura\", value: \"5.5\" },\n { label: \"(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi\", value: \"5.5\" },\n { label: \"(GMT+05:45) Kathmandu\", value: \"5.75\" },\n { label: \"(GMT+06:00) Almaty, Novosibirsk\", value: \"6\" },\n { label: \"(GMT+06:00) Astana, Dhaka\", value: \"6\" },\n { label: \"(GMT+06:30) Yangon (Rangoon)\", value: \"6.5\" },\n { label: \"(GMT+07:00) Bangkok, Hanoi, Jakarta\", value: \"7\" },\n { label: \"(GMT+07:00) Krasnoyarsk\", value: \"7\" },\n { label: \"(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi\", value: \"8\" },\n { label: \"(GMT+08:00) Kuala Lumpur, Singapore\", value: \"8\" },\n { label: \"(GMT+08:00) Irkutsk, Ulaan Bataar\", value: \"8\" },\n { label: \"(GMT+08:00) Perth\", value: \"8\" },\n { label: \"(GMT+08:00) Taipei\", value: \"8\" },\n { label: \"(GMT+09:00) Osaka, Sapporo, Tokyo\", value: \"9\" },\n { label: \"(GMT+09:00) Seoul\", value: \"9\" },\n { label: \"(GMT+09:00) Yakutsk\", value: \"9\" },\n { label: \"(GMT+09:30) Adelaide\", value: \"9.5\" },\n { label: \"(GMT+09:30) Darwin\", value: \"9.5\" },\n { label: \"(GMT+10:00) Brisbane\", value: \"10\" },\n { label: \"(GMT+10:00) Canberra, Melbourne, Sydney\", value: \"10\" },\n { label: \"(GMT+10:00) Hobart\", value: \"10\" },\n { label: \"(GMT+10:00) Guam, Port Moresby\", value: \"10\" },\n { label: \"(GMT+10:00) Vladivostok\", value: \"10\" },\n { label: \"(GMT+11:00) Magadan, Solomon Is., New Caledonia\", value: \"11\" },\n { label: \"(GMT+12:00) Auckland, Wellington\", value: \"12\" },\n { label: \"(GMT+12:00) Fiji, Kamchatka, Marshall Is.\", value: \"12\" },\n { label: \"(GMT+13:00) Nuku'alofa\", value: \"13\" },\n];\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport Selector from \"@/components/shared/forms/Selector.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport supportedLocales from \"../../../../locale/supportedLocales\";\nimport UploadImage from \"@/components/shared/forms/UploadImage.vue\";\nimport { UserUpdatePasswordRequest } from \"../../../../application/contracts/master/users/UserUpdatePasswordRequest\";\nimport { UserUpdateAvatarRequest } from \"../../../../application/contracts/master/users/UserUpdateAvatarRequest\";\nimport { UserDto } from \"../../../../application/dtos/master/users/UserDto\";\nimport { UserUpdateRequest } from \"../../../../application/contracts/master/users/UserUpdateRequest\";\nimport { UserLoginType } from \"@/application/enums/master/users/UserLoginType\";\nimport store from \"@/store\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport services from \"@/services\";\nimport * as TimezonesUtils from \"@/utils/shared/TimezonesUtils\";\n\n@Component({\n metaInfo: {\n title: \"Perfil\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Selector,\n SuccessModal,\n ErrorModal,\n UploadImage,\n ConfirmModal\n }\n})\nexport default class Profile extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmModal: ConfirmModal;\n };\n profile = {} as UserDto;\n updatePasswordRequest = {} as UserUpdatePasswordRequest;\n selectedLocale = \"\";\n locales: string[] = [];\n showUploadImage = false;\n timezonesOptions: any[] = [];\n uploadingImage = false;\n created() {\n this.timezonesOptions = TimezonesUtils.timezones;\n this.profile.id = store.state.account.user?.id ?? \"\";\n this.profile.email = store.state.account.user?.email ?? \"\";\n this.profile.firstName = store.state.account.user?.firstName ?? \"\";\n this.profile.lastName = store.state.account.user?.lastName ?? \"\";\n this.profile.phone = store.state.account.user?.phone ?? \"\";\n this.profile.loginType =\n store.state.account.user?.loginType ?? UserLoginType.PASSWORD;\n this.selectedLocale = i18n.locale;\n }\n mounted() {\n supportedLocales.forEach(f => {\n this.locales.push(f.lang);\n });\n }\n canChangePassword() {\n if (this.profile.loginType === UserLoginType.PASSWORD) {\n return true;\n }\n return false;\n }\n changedLocale(locale: string) {\n services.users\n .updateLocale({ locale })\n .then(() => {\n this.$router.go(0);\n })\n .finally(() => {\n store.commit(\"locale/updateLocale\", locale);\n i18n.locale = locale;\n });\n }\n updateProfile() {\n const updateRequest: UserUpdateRequest = {\n firstName: this.profile.firstName,\n lastName: this.profile.lastName,\n phone: this.profile.phone\n };\n services.users\n .update(this.profile.id, updateRequest)\n .then(() => {\n this.$refs.successModal.show(\n this.$t(\"settings.profile.profileUpdated\")\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n logout() {\n store.dispatch(\"auth/logout\");\n }\n updatePassword() {\n services.users\n .updatePassword(this.updatePasswordRequest)\n .then(() => {\n this.$refs.successModal.show(\n this.$t(\"settings.profile.passwordUpdated\")\n );\n this.updatePasswordRequest.passwordCurrent = \"\";\n this.updatePasswordRequest.passwordNew = \"\";\n this.updatePasswordRequest.passwordConfirm = \"\";\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n deleteAccount() {\n if (store.state.account.user?.type === UserType.Admin) {\n this.$refs.errorModal.show(\n this.$t(\"settings.profile.errors.cannotDeleteAdmin\")\n );\n } else {\n this.$refs.confirmModal.show(this.$t(\"settings.danger.confirmDelete\"));\n }\n }\n confirmDelete() {\n services.users\n .deleteMe()\n .then(() => {\n // ignore\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n loadedImage(image) {\n const updateAvatar: UserUpdateAvatarRequest = {\n avatar: image\n };\n this.uploadingImage = true;\n services.users\n .updateAvatar(updateAvatar)\n .then(() => {\n this.showUploadImage = false;\n })\n .catch(error => {\n console.error(\"Error: \" + JSON.stringify(error));\n })\n .finally(() => {\n this.uploadingImage = false;\n });\n }\n\n get avatar() {\n return store.state.account.user?.avatar ?? \"\";\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Profile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Profile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Profile.vue?vue&type=template&id=0de02ca2&\"\nimport script from \"./Profile.vue?vue&type=script&lang=ts&\"\nexport * from \"./Profile.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum ContractMemberRole {\n SIGNATORY,\n SPECTATOR,\n}\n","export default \"JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWxvZw0KL091dGxpbmVzIDIgMCBSDQovUGFnZXMgMyAwIFINCj4+DQplbmRvYmoNCg0KMiAwIG9iag0KPDwNCi9UeXBlIC9PdXRsaW5lcw0KL0NvdW50IDANCj4+DQplbmRvYmoNCg0KMyAwIG9iag0KPDwNCi9UeXBlIC9QYWdlcw0KL0NvdW50IDINCi9LaWRzIFsgNCAwIFIgNiAwIFIgXSANCj4+DQplbmRvYmoNCg0KNCAwIG9iag0KPDwNCi9UeXBlIC9QYWdlDQovUGFyZW50IDMgMCBSDQovUmVzb3VyY2VzIDw8DQovRm9udCA8PA0KL0YxIDkgMCBSIA0KPj4NCi9Qcm9jU2V0IDggMCBSDQo+Pg0KL01lZGlhQm94IFswIDAgNjEyLjAwMDAgNzkyLjAwMDBdDQovQ29udGVudHMgNSAwIFINCj4+DQplbmRvYmoNCg0KNSAwIG9iag0KPDwgL0xlbmd0aCAxMDc0ID4+DQpzdHJlYW0NCjIgSg0KQlQNCjAgMCAwIHJnDQovRjEgMDAyNyBUZg0KNTcuMzc1MCA3MjIuMjgwMCBUZA0KKCBBIFNpbXBsZSBQREYgRmlsZSApIFRqDQpFVA0KQlQNCi9GMSAwMDEwIFRmDQo2OS4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TAgMDAwMDAgbg0KMDAwMDAwMjQyMyAwMDAwMCBuDQowMDAwMDAyNDU2IDAwMDAwIG4NCjAwMDAwMDI1NzQgMDAwMDAgbg0KDQp0cmFpbGVyDQo8PA0KL1NpemUgMTENCi9Sb290IDEgMCBSDQovSW5mbyAxMCAwIFINCj4+DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg==\";\n","import { i18n } from \"@/plugins/vue-i18n\";\nimport { Month } from \"./Month\";\n\nconst months: Month[] = [];\n\nfor (let month = 1; month <= 12; month++) {\n months.push({\n value: month,\n title: i18n.t(\"app.shared.months.\" + month).toString(),\n shortTitle: i18n\n .t(\"app.shared.months.\" + month)\n .toString()\n .substr(0, 3),\n });\n}\n\nexport default months;\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Privacy.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bg-white border border-gray-300 shadow rounded-sm p-4 w-full mb-3 z-0\"},[_c('div',{staticClass:\"animate-pulse flex space-x-4\"},[_c('div',{staticClass:\"flex-1 space-y-4 py-1\"},[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"h-2 bg-gray-200 rounded-sm\"})]),_c('div',{staticClass:\"h-4 bg-gray-200 rounded-sm w-3/4\"})])])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./TableRowSkeleton.vue?vue&type=template&id=7952a610&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):(_vm.provider && _vm.provider.id)?_c('div',[_c('div',{staticClass:\"relative min-h-screen \"},[_c('main',{staticClass:\"py-4\"},[_c('div',{staticClass:\"max-w-5xl mx-auto md:flex md:items-center md:justify-between md:space-x-5 lg:max-w-7xl\"},[_c('div',{staticClass:\"flex items-center space-x-5 truncate\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('div',{staticClass:\"relative\"},[_c('svg',{staticClass:\"h-16 w-16\",staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"48\",\"height\":\"48\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',[_c('path',{attrs:{\"d\":\"M150.5,150.5h-129v-114.66667c0,-7.88333 6.45,-14.33333 14.33333,-14.33333h100.33333c7.88333,0 14.33333,6.45 14.33333,14.33333z\",\"fill\":\"#a3bffa\"}}),_c('path',{attrs:{\"d\":\"M21.5,150.5h129v7.16667h-129z\",\"fill\":\"#667eea\"}}),_c('path',{attrs:{\"d\":\"M111.08333,96.75h21.5v17.91667h-21.5zM75.25,96.75h21.5v17.91667h-21.5zM39.41667,96.75h21.5v17.91667h-21.5zM111.08333,125.41667h21.5v17.91667h-21.5zM39.41667,125.41667h21.5v17.91667h-21.5zM111.08333,68.08333h21.5v17.91667h-21.5zM75.25,68.08333h21.5v17.91667h-21.5zM39.41667,68.08333h21.5v17.91667h-21.5zM111.08333,39.41667h21.5v17.91667h-21.5zM75.25,39.41667h21.5v17.91667h-21.5zM39.41667,39.41667h21.5v17.91667h-21.5zM75.25,125.41667h21.5v32.25h-21.5z\",\"fill\":\"#5a67d8\"}})])])])])]),_c('div',{staticClass:\"truncate\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('h1',{staticClass:\"text-2xl font-bold text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.provider.providerWorkspace.taxId)+\" \")])]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Enlazado \"),(_vm.provider.createdByUser)?_c('span',[_vm._v(\" por \"),_c('span',{staticClass:\"text-gray-900\"},[_vm._v(_vm._s(_vm.provider.createdByUser.email))])]):_vm._e(),_vm._v(\" en \"),_c('time',{attrs:{\"datetime\":_vm.provider.createdAt}},[_vm._v(\" \"+_vm._s(_vm.dateMonthDayYear(_vm.provider.createdAt))+\" \")])])])]),_c('div',{staticClass:\"mt-6 flex justify-stretch space-y-4 space-y-reverse sm:flex-row-reverse sm:justify-end sm:space-x-reverse sm:space-y-0 sm:space-x-3 md:mt-0 md:flex-row md:space-x-3 justify-end\"},[_c('span',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeOptions),expression:\"closeOptions\"}],staticClass:\"relative inline-flex justify-end rounded-md\"},[_c('router-link',{staticClass:\"relative inline-flex items-center px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500 truncate\",attrs:{\"to\":{ name: 'app.contracts.new', query: { l: _vm.id } }}},[_c('sign',{staticClass:\"-ml-0.5 mr-2 h-4 w-4 flex-shrink-0\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.new.title\"))+\" \")],1),_c('span',{staticClass:\"-ml-px relative block\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\",\"id\":\"option-menu-button\",\"aria-expanded\":\"true\",\"aria-haspopup\":\"true\"},on:{\"click\":_vm.toggleOptions}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Open options\")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.openOptions),expression:\"openOptions\"}],staticClass:\"origin-top-right absolute right-0 mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"option-menu-button\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"none\"}},[_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.reload}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])]),(_vm.isOwnerOrAdmin)?_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-2\"},on:{\"click\":_vm.deleteLink}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")]):_vm._e()])])])],1)],1)])]),_c('div',{staticClass:\"mt-8 max-w-3xl mx-auto grid grid-cols-1 gap-3 lg:max-w-7xl lg:grid-flow-col-dense lg:grid-cols-3 xl:gap-6\"},[_c('div',{staticClass:\"space-y-6 lg:col-start-1 lg:col-span-2\"},[_c('section',{attrs:{\"aria-labelledby\":\"applicant-information-title\"}},[_c('div',{staticClass:\"bg-white shadow sm:rounded-lg\"},[_c('div',{staticClass:\"px-4 py-5 sm:px-6\"},[_c('h2',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"applicant-information-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.profile.company\"))+\" \")]),_c('p',{staticClass:\"mt-1 max-w-2xl text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.profile.general\"))+\" \")])]),_c('div',{staticClass:\"border-t border-gray-200 px-4 py-5 sm:px-6\"},[_c('dl',{staticClass:\"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3\"},[(\n _vm.provider.providerWorkspace.name &&\n _vm.provider.providerWorkspace.name !==\n _vm.provider.providerWorkspace.legalName\n )?_c('div',{staticClass:\"sm:col-span-3\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.provider.providerWorkspace.name)+\" \")])]):_vm._e(),_c('div',{staticClass:\"sm:col-span-1\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.provider.providerWorkspace.taxId)+\" \")])]),_c('div',{staticClass:\"sm:col-span-2\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.specialized\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[(_vm.provider.providerWorkspace.type === 1)?_c('span',{staticClass:\"inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium bg-teal-100 text-teal-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.yes\"))+\" \")]):_c('span',{staticClass:\"inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium bg-gray-100 text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.no\"))+\" \")])])]),_c('div',{staticClass:\"sm:col-span-3\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.legalName\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900 uppercase\",attrs:{\"title\":_vm.provider.providerWorkspace.legalName}},[_vm._v(\" \"+_vm._s(_vm.provider.providerWorkspace.legalName)+\" \")])]),_c('div',{staticClass:\"sm:col-span-3\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.businessMainActivity\"))+\" \")]),_c('dd',{staticClass:\"mt-1 text-sm text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.provider.providerWorkspace.businessMainActivity)+\" \")])])])]),(false)?_c('div',[_c('a',{staticClass:\"block bg-gray-50 text-sm font-medium text-gray-500 text-center px-4 py-4 hover:text-gray-700 sm:rounded-b-lg\",attrs:{\"href\":\"#\"}},[_vm._v(\"Read full application\")])]):_vm._e()])])]),_c('section',{staticClass:\"lg:col-start-3 lg:col-span-1\",attrs:{\"aria-labelledby\":\"timeline-title\"}},[_c('div',{staticClass:\"bg-white px-4 py-5 shadow sm:rounded-lg sm:px-6\"},[_c('h2',{staticClass:\"text-lg font-medium text-gray-900\",attrs:{\"id\":\"timeline-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.shared.activity.title\"))+\" \")]),_c('div',{staticClass:\"mt-6 flow-root\"},[_c('ul',{staticClass:\"-mb-8\",attrs:{\"role\":\"list\"}},[_c('li',[_c('div',{staticClass:\"relative pb-8\"},[(_vm.contracts.length > 0)?_c('span',{staticClass:\"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e(),_c('div',{staticClass:\"relative flex space-x-3\"},[_c('div',[_c('span',{staticClass:\"h-8 w-8 rounded-full bg-teal-100 text-teal-800 flex items-center justify-center ring-8 ring-white\"},[_c('svg',{staticClass:\"w-5 h-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"}})])])]),_c('div',{staticClass:\"min-w-0 flex-1 flex justify-between space-x-2\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-500\"},[_vm._v(\" Enlazado \"),(_vm.provider.createdByUser)?_c('span',[_vm._v(\" por \"),_c('span',{staticClass:\"text-gray-900\"},[_vm._v(_vm._s(_vm.provider.createdByUser.firstName)+\" \"+_vm._s(_vm.provider.createdByUser.lastName))])]):_vm._e()])]),_c('div',{staticClass:\"text-right text-sm whitespace-nowrap text-gray-500\"},[(_vm.provider.createdAt)?_c('span',[_c('time',{attrs:{\"datetime\":_vm.provider.createdAt}},[_vm._v(_vm._s(_vm.dateDM(_vm.provider.createdAt)))])]):_vm._e()])])])])]),_vm._l((_vm.contracts),function(contract,idx){return _c('li',{key:idx},[_c('div',{staticClass:\"relative pb-8\"},[(idx < _vm.contracts.length - 1)?_c('span',{staticClass:\"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e(),_c('div',{staticClass:\"relative flex space-x-3\"},[_c('div',{staticClass:\"flex-shrink-0\"},[(contract.status === 0)?_c('contract-clock',{staticClass:\"h-8 w-8 text-yellow-500\"}):_vm._e(),(contract.status === 1)?_c('contract-check',{staticClass:\"h-8 w-8 text-teal-500\"}):_vm._e(),(contract.status === 2)?_c('contract-archived',{staticClass:\"h-8 w-8 text-gray-500\"}):_vm._e()],1),_c('div',{staticClass:\"min-w-0 flex-1 pt-1.5 flex justify-between space-x-2\"},[_c('div',{staticClass:\"truncate\"},[_c('p',{staticClass:\"text-sm text-gray-500\"},[_c('router-link',{staticClass:\"font-medium text-gray-600 underline hover:text-gray-700\",attrs:{\"to\":{\n name: 'app.contracts.view',\n params: { id: contract.id }\n }}},[_vm._v(_vm._s(contract.name))])],1)]),_c('div',{staticClass:\"text-right text-sm whitespace-nowrap text-gray-500\"},[_c('time',{attrs:{\"datetime\":contract.createdAt}},[_vm._v(_vm._s(_vm.dateDM(contract.createdAt)))])])])])])])})],2)])])])])])])]):_vm._e()],1),_c('SuccessModal',{ref:\"successModalDeleted\",on:{\"closed\":_vm.successModalDeletedClosed}}),_c('ConfirmModal',{ref:\"confirmDelete\",on:{\"yes\":_vm.confirmedDelete}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport services from \"@/services\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport store from \"@/store\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport { AppUsageType } from \"../../../../application/enums/app/usages/AppUsageType\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n Breadcrumb,\n // YearlyDocumentation,\n ContractClock,\n ContractCheck,\n ContractArchived,\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n Sign,\n Loading\n }\n})\nexport default class LinkProfile extends Vue {\n $refs!: {\n confirmDelete: ConfirmModal;\n successModalDeleted: SuccessModal;\n errorModal: ErrorModal;\n };\n id = \"\";\n year = 0;\n loading = false;\n loadingContracts = false;\n openOptions = false;\n\n provider: LinkDto = {} as LinkDto;\n contracts: ContractDto[] = [];\n created() {\n this.year = new Date().getFullYear();\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n this.reloadContracts();\n }\n reload() {\n this.closeOptions();\n this.loading = true;\n services.links\n .get(this.id)\n .then(response => {\n this.provider = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n reloadContracts() {\n this.loadingContracts = true;\n services.contracts\n .getAllByLink(this.provider.id)\n .then(response => {\n this.contracts = response;\n })\n .finally(() => {\n this.loadingContracts = false;\n });\n }\n deleteLink() {\n this.closeOptions();\n this.$refs.confirmDelete.show(\n \"¿Eliminar enlace?\",\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: Se eliminarán todos los contratos y CFDIs que tengan relacionados. No se puede recuperar un enlace eliminado\"\n );\n }\n confirmedDelete() {\n this.loading = true;\n services.links\n .delete(this.id)\n .then(() => {\n services.tenants.getCurrentUsage(AppUsageType.ALL);\n this.$refs.successModalDeleted.show(\"Enlace eliminado\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error eliminando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n successModalDeletedClosed() {\n if (\n this.provider.providerWorkspaceId ===\n store.state.tenant.currentWorkspace?.id\n ) {\n this.$router.push({ name: \"app.clients\" });\n } else {\n this.$router.push({ name: \"app.providers\" });\n }\n }\n closeOptions() {\n this.openOptions = false;\n }\n toggleOptions() {\n this.openOptions = !this.openOptions;\n }\n dateMonthDayYear(value: Date | undefined) {\n return DateUtils.dateMonthDayYear(value);\n }\n dateDM(value) {\n return DateUtils.dateDM(value);\n }\n get isOwnerOrAdmin(): boolean {\n return (\n this.currentRole === TenantUserRole.OWNER ||\n this.currentRole === TenantUserRole.ADMIN\n );\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkProfile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkProfile.vue?vue&type=template&id=fe2a83ac&\"\nimport script from \"./LinkProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkProfile.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Terms.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('div',{staticClass:\"flex items-center space-x-2 truncate\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.documentation.my\"))+\" \")]),_c('h3',{staticClass:\" font-normal hidden sm:block\"})]),_c('div',{staticClass:\"flex items-end space-x-2 space-y-0\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.year),expression:\"year\"}],staticClass:\"block pl-3 pr-10 py-1.5 sm:py-2 text-base sm:text-sm border-gray-300 focus:outline-none focus:ring-theme-500 focus:border-theme-500 rounded-md\",attrs:{\"id\":\"year\",\"name\":\"year\",\"required\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.year=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.years),function(year,idxYear){return _c('option',{key:idxYear,domProps:{\"value\":year}},[_vm._v(_vm._s(year))])}),0),_c('span',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeOptions),expression:\"closeOptions\"}],staticClass:\"relative z-10 inline-flex shadow-sm rounded-md\"},[_c('button',{staticClass:\"relative inline-flex items-center space-x-2 px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.uploadDocument}},[_c('div',[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})])]),_c('div',[_c('span',{staticClass:\"hidden sm:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.documentation.actions.upload\"))+\" \")]),_c('span',{staticClass:\"sm:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.upload\"))+\" \")])])]),_c('span',{staticClass:\"-ml-px relative block\"},[_c('button',{staticClass:\"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-theme-500 focus:border-theme-500\",attrs:{\"type\":\"button\",\"id\":\"option-menu-button\",\"aria-expanded\":\"true\",\"aria-haspopup\":\"true\"},on:{\"click\":_vm.toggleOptions}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Open options\")]),_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.open),expression:\"open\"}],staticClass:\"origin-top-right absolute right-0 mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"option-menu-button\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"none\"}},[_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.reload}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])]),_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-0\"},on:{\"click\":_vm.downloadAll}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.download\"))+\" \"),_c('span',{staticClass:\"lowercase\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.all\")))])])]),(false)?_c('button',{staticClass:\"w-full text-left text-gray-700 block px-4 py-2 text-sm hover:bg-gray-50 focus:outline-none\",attrs:{\"type\":\"button\",\"role\":\"menuitem\",\"tabindex\":\"-1\",\"id\":\"option-menu-item-2\"},on:{\"click\":_vm.sendDocumentationStatus}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.send\"))+\" \")]):_vm._e()])])])],1)])])])]),(_vm.year > 0 && _vm.currentWorkspace)?_c('div',{key:_vm.year,staticClass:\" max-w-5xl xl:max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('AllDocumentation',{ref:\"allDocumentation\",attrs:{\"workspace\":_vm.currentWorkspace,\"year\":_vm.year}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport store from \"@/store\";\nimport AllDocumentation from \"@/components/app/v3/documentation/AllDocumentation.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\n\n@Component({\n metaInfo: {\n title: \"Mi documentación\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n AllDocumentation\n }\n})\nexport default class MyDocumentation extends Vue {\n $refs!: {\n allDocumentation: AllDocumentation;\n };\n year = 0;\n open = false;\n // linkId: string = \"\";\n years: number[] = []\n created() {\n for (let year = 2021; year <= new Date().getFullYear(); year++) {\n this.years.push(year);\n }\n const currentYear = new Date().getFullYear();\n this.year =\n Number(this.$route.query.ejercicio) ?? Number(this.$route.query.year);\n if (isNaN(this.year) || this.year === 0) {\n this.year = currentYear;\n }\n }\n closeOptions() {\n this.open = false;\n }\n toggleOptions() {\n this.open = !this.open;\n }\n sendDocumentationStatus() {\n this.closeOptions();\n this.$refs.allDocumentation.sendDocumentationStatus();\n }\n reload() {\n this.closeOptions();\n this.$refs.allDocumentation.reload();\n }\n downloadAll() {\n this.closeOptions();\n this.$refs.allDocumentation.downloadAll();\n }\n uploadDocument() {\n this.closeOptions();\n this.$refs.allDocumentation.uploadDocument();\n }\n get currentWorkspace(): WorkspaceDto | null {\n return store.state.tenant.currentWorkspace;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyDocumentation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyDocumentation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MyDocumentation.vue?vue&type=template&id=7dbc9f95&\"\nimport script from \"./MyDocumentation.vue?vue&type=script&lang=ts&\"\nexport * from \"./MyDocumentation.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n { title: _vm.$t('models.provider.plural'), routeName: 'app.providers' }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-3 px-8 h-13\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between \"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),_c('portal-target',{staticClass:\"flex items-center space-x-2 h-2\",attrs:{\"name\":\"provider-buttons\"}})],1)]),_c('div',[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\n\n@Component({\n metaInfo: {\n title: \"Perfil de proveedor\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs\n }\n})\nexport default class Provider extends Vue {\n tabs: TabItem[] = [];\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"app.providers.profile.title\"),\n routeName: \"app.providers.profile\"\n },\n {\n name: this.$t(\"app.providers.documentation.title\"),\n routeName: \"app.providers.documentation\"\n }\n ];\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Provider.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Provider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Provider.vue?vue&type=template&id=38e9261c&\"\nimport script from \"./Provider.vue?vue&type=script&lang=ts&\"\nexport * from \"./Provider.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('datepicker',{attrs:{\"placeholder\":_vm.schema.placeholder},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateInput.vue?vue&type=template&id=281dcc92&\"\nimport script from \"./DateInput.vue?vue&type=script&lang=js&\"\nexport * from \"./DateInput.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityForm.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.contract.plural\"))+\" \")]),_c('div',{staticClass:\"flex items-center\"},[_c('ButtonPrimary',{attrs:{\"to\":{ name: 'app.contracts.new' }}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]),_c('span',{staticClass:\"hidden lg:block\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.new.title\"))+\" \")]),_c('span',{staticClass:\"lg:hidden\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\"))+\" \")])])],1)])]),_c('div',{staticClass:\"bg-white border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs,\"paramName\":\"status\"}})],1)]),_c('div',{staticClass:\"pt-2 space-y-2 max-w-5xl xl:max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('contracts-list',{key:_vm.currentStatus,attrs:{\"status\":_vm.currentStatus}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between items-center space-x-0\"},[(false)?_c('div',{staticClass:\"space-y-2 sm:space-y-0 flex-col sm:flex-row flex sm:items-center sm:space-x-3\"},[_c('CheckboxSelect',{staticClass:\"z-30\",attrs:{\"title\":_vm.$t('models.provider.plural'),\"options\":_vm.providers,\"idProp\":\"taxId\",\"nameProp\":\"legalName\",\"descriptionProp\":\"\",\"showId\":true},on:{\"input\":_vm.reload},model:{value:(_vm.selectedProviders),callback:function ($$v) {_vm.selectedProviders=$$v},expression:\"selectedProviders\"}}),_c('CheckboxSelect',{attrs:{\"title\":_vm.$t('models.client.plural'),\"options\":_vm.clients,\"idProp\":\"taxId\",\"nameProp\":\"legalName\",\"showId\":true},on:{\"input\":_vm.reload},model:{value:(_vm.selectedClients),callback:function ($$v) {_vm.selectedClients=$$v},expression:\"selectedClients\"}})],1):_vm._e(),_c('div',{staticClass:\"space-y-2 sm:space-y-0 flex-col text-right sm:flex-row flex sm:items-center sm:space-x-3\"})]),_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('contracts-list-and-table',{attrs:{\"items\":_vm.sortedItems}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\",\"stroke\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#4b5563\",\"stroke\":\"none\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#4b5563\",\"stroke\":\"none\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075v81.04673l-6.88,6.88v-83.08923h-41.28v-41.28h-68.8v144.48l74.35692,0l6.88,6.88h-88.11692v-158.24zM147.92,165.12h-5.67981l5.67981,-5.63866zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44v6.88h-79.12v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.88688,-0.65844 1.88125,-1.505 3.1175,-2.4725c2.88906,-2.2575 6.5575,-5.0525 11.395,-5.0525c1.23625,-0.01344 2.39188,0.63156 3.02344,1.70656c0.61813,1.075 0.61813,2.39187 0,3.46687c-0.63156,1.075 -1.78719,1.72 -3.02344,1.70656c-1.92156,0 -4.56875,1.59906 -7.2025,3.655c-1.31687,1.02125 -2.52625,2.06938 -3.87,3.01c-1.34375,0.94063 -2.75469,2.0425 -5.0525,2.0425c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58z\"}})]),_c('g',{attrs:{\"stroke\":\"none\"}},[_c('g',{attrs:{\"id\":\"Layer_9\",\"fill\":\"#34d399\"}},[_c('path',{attrs:{\"d\":\"M162.73846,119.40769l-35.72308,34.06923l-15.21538,-14.22308l-9.26154,9.26154l24.47692,23.48462l44.98462,-43.33077z\"}})]),_c('g',{attrs:{\"fill\":\"#000000\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M172.49615,115.93462l-4.63077,-4.63077l-4.63077,4.63077l-36.05385,36.05385l-15.87692,-16.20769l-4.96154,-4.63077l-4.63077,4.63077l-4.63077,4.63077l-4.63077,4.63077l4.63077,4.96154l25.46923,25.46923l4.63077,4.63077l4.63077,-4.63077l45.64615,-45.31538l4.63077,-4.96154l-4.63077,-4.63077z\"}})])])]),_c('path',{attrs:{\"d\":\"M102.53846,172v-52.59231h69.46154v52.59231z\",\"id\":\"overlay-drag\",\"fill\":\"#ff0000\",\"stroke\":\"none\",\"opacity\":\"0\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignedContract4.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignedContract4.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SignedContract4.vue?vue&type=template&id=7b0155d2&\"\nimport script from \"./SignedContract4.vue?vue&type=script&lang=js&\"\nexport * from \"./SignedContract4.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#cccccc\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#cccccc\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075l0,47.432c-2.22747,-0.57874 -4.52651,-0.97492 -6.88,-1.17143v-41.42307h-41.28v-41.28h-68.8v144.48l70.92751,0c1.4339,2.46475 3.11553,4.76967 5.01013,6.88h-82.81764v-158.24zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44v6.88h-79.12v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.28054,-0.20828 0.57183,-0.43538 0.87814,-0.67918c-0.8669,2.7864 -1.44495,5.69691 -1.69874,8.69607c-0.25209,0.02967 -0.51558,0.0456 -0.7919,0.0456c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58z\"}})]),_c('g',[_c('g',{attrs:{\"fill\":\"#4b5563\"}},[_c('g',{attrs:{\"id\":\"Слой_2\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_4\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_5\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_8\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_10\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Color\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M137.6,172c-18.92,0 -34.4,-15.48 -34.4,-34.4c0,-18.92 15.48,-34.4 34.4,-34.4c18.92,0 34.4,15.48 34.4,34.4c0,18.92 -15.48,34.4 -34.4,34.4zM137.6,110.08c-15.136,0 -27.52,12.384 -27.52,27.52c0,15.136 12.384,27.52 27.52,27.52c15.136,0 27.52,-12.384 27.52,-27.52c0,-15.136 -12.384,-27.52 -27.52,-27.52zM141.04,139.32v-22.36h-6.88v18.92l-12.384,9.288l4.128,5.504z\"}})])]),_c('g',{attrs:{\"fill\":\"#000000\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M137.6,96.32c-22.704,0 -41.28,18.576 -41.28,41.28c0,22.704 18.576,41.28 41.28,41.28c22.704,0 41.28,-18.576 41.28,-41.28c0,-22.704 -18.576,-41.28 -41.28,-41.28z\"}})])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingContract2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PendingContract2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PendingContract2.vue?vue&type=template&id=61bda941&\"\nimport script from \"./PendingContract2.vue?vue&type=script&lang=js&\"\nexport * from \"./PendingContract2.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#000000\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\",\"stroke\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#4b5563\",\"stroke\":\"none\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#4b5563\",\"stroke\":\"none\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075v40.28716c-2.20091,-0.57317 -4.50662,-0.87766 -6.88,-0.87766v-34.572h-41.28v-41.28h-68.8v144.48h72.24l0,6.88h-79.12v-158.24zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44l0,3.8961c-1.47854,0.86469 -2.8708,1.86475 -4.15992,2.9839h-74.96008v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.88688,-0.65844 1.88125,-1.505 3.1175,-2.4725c2.60827,-2.03809 5.85179,-4.51428 10.01729,-4.97635c-4.16418,2.22266 -7.09119,6.65728 -7.218,11.56719c-0.81282,0.65443 -1.61732,1.30003 -2.47679,1.90166c-1.34375,0.94063 -2.75469,2.0425 -5.0525,2.0425c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58zM147.92,117.132l-6.88,0l0,-6.88c3.44,0 6.536,3.096 6.88,6.88z\"}})]),_c('g',{attrs:{\"stroke\":\"none\"}},[_c('g',{attrs:{\"id\":\"Layer_9\",\"fill\":\"#8b9aa8\"}},[_c('path',{attrs:{\"d\":\"M141.04,96.664c-11.352,0 -20.64,9.632 -20.64,21.328v6.192h-3.784c-3.44,0 -6.536,3.096 -6.536,6.536v34.744c0,3.784 2.752,6.536 6.536,6.536h48.848c3.44,0 6.536,-3.096 6.536,-6.536v-34.744c0,-3.44 -2.752,-6.536 -6.536,-6.536h-3.784v-6.192c0,-11.696 -9.288,-21.328 -20.64,-21.328zM141.04,103.544c7.568,0 13.76,6.536 13.76,14.448v6.192h-27.52v-6.192c0,-7.912 6.192,-14.448 13.76,-14.448zM141.04,141.384c2.752,0 4.816,2.064 4.816,4.816c0,1.376 -0.688,2.752 -1.72,3.44v4.472c0,1.72 -1.376,3.096 -3.096,3.096c-1.72,0 -3.096,-1.376 -3.096,-3.096v-4.472c-1.032,-1.032 -1.72,-2.064 -1.72,-3.44c0,-2.752 2.064,-4.816 4.816,-4.816z\"}})]),_c('g',{attrs:{\"fill\":\"#000000\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M116.616,179.052h48.848c7.224,0 13.416,-6.192 13.416,-13.416v-35.088c0,-6.536 -4.472,-11.696 -10.32,-13.072c0,-15.48 -12.384,-27.864 -27.52,-27.864c-15.136,0 -27.52,12.384 -27.52,27.864c-5.848,1.376 -10.32,6.88 -10.32,13.072v34.744c0,7.568 5.848,13.76 13.416,13.76zM141.04,110.252c3.44,0 6.536,3.096 6.88,6.88h-13.76c0.344,-3.784 3.44,-6.88 6.88,-6.88z\"}})])])]),_c('path',{attrs:{\"d\":\"M110.08,172v-75.336h61.92v75.336z\",\"id\":\"overlay-drag\",\"fill\":\"#ff0000\",\"stroke\":\"none\",\"opacity\":\"0\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArchivedContract.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArchivedContract.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArchivedContract.vue?vue&type=template&id=fd8eb504&\"\nimport script from \"./ArchivedContract.vue?vue&type=script&lang=js&\"\nexport * from \"./ArchivedContract.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.sortedItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"to\":{ name: 'app.contracts.new' },\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes contratos'\n },\"icon\":\"plus\"}})],1):_c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(contract,idxContract){return _c('li',{key:idxContract},[_c('router-link',{staticClass:\"block hover:bg-gray-50\",attrs:{\"to\":{\n name: 'app.contracts.view',\n params: { id: contract.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"flex-shrink-0\"},[(contract.status === 0)?_c('contract-clock',{staticClass:\"h-8 w-8 text-yellow-500\"}):_vm._e(),(contract.status === 1)?_c('contract-check',{staticClass:\"h-8 w-8 text-teal-500\"}):_vm._e(),(contract.status === 2)?_c('contract-archived',{staticClass:\"h-8 w-8 text-gray-500\"}):_vm._e()],1),_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\"flex items-end justify-between\"},[_c('div',{staticClass:\"text-sm truncate font-bold text-gray-900 flex-grow\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")]),_c('div',[(contract.createdAt)?_c('span',{staticClass:\"text-xs text-gray-600 truncate\"},[_vm._v(\" \"+_vm._s(_vm.dateDM(contract.createdAt))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"mt-2 flex items-center text-sm text-gray-500 space-x-1\"},[_c('div',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.taxId)+\" \"),(\n _vm.currentWorkspaceTaxIdIs(\n contract.link.providerWorkspace.taxId\n )\n )?_c('span',{staticClass:\" text-theme-600 font-normal lowercase\"},[_vm._v(\"(\"+_vm._s(_vm.$t(\"shared.you\"))+\")\")]):_vm._e()]),_c('svg',{staticClass:\"h-4 w-4 text-theme-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(contract.link.clientWorkspace.taxId)+\" \"),(\n _vm.currentWorkspaceTaxIdIs(\n contract.link.clientWorkspace.taxId\n )\n )?_c('span',{staticClass:\" text-theme-600 font-normal lowercase\"},[_vm._v(\"(\"+_vm._s(_vm.$t(\"shared.you\"))+\")\")]):_vm._e()])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\"text-sm text-gray-900\"},[_c('time',{attrs:{\"datetime\":contract.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(contract.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-sm text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])],1)}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-3 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(contract,idxContract){return _c('router-link',{key:idxContract,staticClass:\"hover:bg-gray-50 cursor-pointer\",attrs:{\"tag\":\"tr\",\"to\":{\n name: 'app.contracts.view',\n params: { id: contract.id }\n }}},[_c('td',{staticClass:\"pl-2 py-2 whitespace-nowrap\"},[_c('div',{staticClass:\"text-gray-400 text-xs font-medium text-center\"},[_vm._v(\" #\"+_vm._s(idxContract + 1)+\" \")])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-center w-full truncate max-w-sm\"},[_c('div',{staticClass:\"flex-shrink-0 h-8 w-8\"},[(contract.status === 0)?_c('contract-clock',{staticClass:\"h-8 w-8 text-yellow-500\"}):_vm._e(),(contract.status === 1)?_c('contract-check',{staticClass:\"h-8 w-8 text-teal-500\"}):_vm._e(),(contract.status === 2)?_c('contract-archived',{staticClass:\"h-8 w-8 text-gray-500\"}):_vm._e()],1),_c('div',{staticClass:\"ml-4 truncate\"},[_c('div',{staticClass:\"text-sm font-bold text-gray-900 truncate\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")]),_c('div',{staticClass:\"text-sm text-gray-500 lowercase flex items-center space-x-1 truncate\"},[_vm._v(\" \"+_vm._s(contract.description)+\" \")])])])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},[_c('div',{staticClass:\"text-sm font-medium truncate max-w-xs\"},[(_vm.currentWorkspaceTaxIdIs(\n contract.link.providerWorkspace.taxId\n ))?_c('div',{staticClass:\"truncate\"},[_c('div',[_vm._v(\" \"+_vm._s(contract.link.clientWorkspace.taxId)+\" \")]),_c('div',{staticClass:\"text-xs text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(contract.link.clientWorkspace.legalName)+\" \")])]):_c('div',{staticClass:\"truncate\"},[_c('div',[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.taxId)+\" \")]),_c('div',{staticClass:\"text-xs text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(contract.link.providerWorkspace.legalName)+\" \")])])])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},_vm._l((contract.members.filter(function (f){ return !f.signDate; })),function(member){return _c('div',{staticClass:\" font-medium flex space-x-1 items-center text-sm truncate max-w-sm\"},[_c('div',[_c('svg',{staticClass:\"w-4 h-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z\"}})])]),_c('div',{staticClass:\"truncate\"},[_c('span',{},[_vm._v(_vm._s(member.user.firstName)+\" \"+_vm._s(member.user.lastName))]),_vm._v(\" \"),_c('span',{staticClass:\"text-xs font-normal text-gray-600\"},[_vm._v(\"(\"+_vm._s(member.user.email)+\")\")])])])}),0),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},_vm._l((contract.members.filter(function (f){ return f.signDate; })),function(member){return _c('div',{staticClass:\" font-medium flex space-x-1 items-center text-sm truncate\"},[_c('div',[_c('svg',{staticClass:\"w-4 h-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"1.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M4.5 12.75l6 6 9-13.5\"}})])]),_c('div',{staticClass:\"truncate\"},[_c('span',{},[_vm._v(_vm._s(member.user.firstName)+\" \"+_vm._s(member.user.lastName))]),_vm._v(\" \"),_c('span',{staticClass:\"text-xs font-normal text-gray-600\"},[_vm._v(\"(\"+_vm._s(member.user.email)+\")\")])])])}),0),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},[(contract.status === 0)?_c('span',{staticClass:\"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800 space-x-2 items-center\"},[_c('svg',{staticClass:\"h-3 w-3 text-yellow-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.status.PENDING\"))+\" \")])]):_vm._e(),(contract.status === 1)?_c('span',{staticClass:\"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-teal-100 text-teal-800 space-x-2 items-center\"},[_c('svg',{staticClass:\"h-3 w-3 text-teal-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.status.SIGNED\"))+\" \")])]):_vm._e(),(contract.status === 2)?_c('span',{staticClass:\"px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800 space-x-2 items-center\"},[_c('svg',{staticClass:\"h-3 w-3\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z\",\"clip-rule\":\"evenodd\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.status.ARCHIVED\"))+\" \")])]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap\"},[_c('div',{staticClass:\"text-xs text-gray-600\"},[(contract.createdAt)?_c('span',[_vm._v(\" \"+_vm._s(_vm.dateDM(contract.createdAt))+\" \")]):_vm._e()]),_c('div',{staticClass:\"text-xs text-gray-700\"},[(contract.createdByUser)?_c('span',[_vm._v(\" \"+_vm._s(contract.createdByUser.email)+\" \")]):_vm._e()])])])}),1)])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n ContractClock,\n ContractCheck,\n ContractArchived,\n EmptyState\n }\n})\nexport default class ContractsListAndTable extends Vue {\n @Prop({}) items!: ContractDto[];\n sortByColumn = \"createdAt\";\n sortDirection = 1;\n headers = [\n {\n name: \"id\",\n title: \"\"\n },\n {\n name: \"name\",\n title: i18n.t(\"models.contract.name\")\n },\n {\n name: \"company\",\n title: \"Empresa\",\n },\n {\n name: \"pendiente\",\n title: \"Pendiente por firmar\",\n sortable: false\n },\n {\n name: \"firmadoPor\",\n title: \"Firmado por\",\n sortable: false\n },\n {\n name: \"status\",\n title: i18n.t(\"models.contract.status\")\n },\n {\n name: \"createdAt\",\n title: i18n.t(\"shared.created\")\n }\n // {\n // title: i18n.t(\"app.contracts.visits\")\n // }\n ];\n\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n dateDM(value: Date | undefined) {\n return DateUtils.dateDM(value);\n }\n get sortedItems(): ContractDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractsListAndTable.vue?vue&type=template&id=52437464&\"\nimport script from \"./ContractsListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractsListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}],staticClass:\"relative z-10 inline-block text-left\",attrs:{\"id\":\"checkbox-select\"}},[_c('div',[_c('button',{staticClass:\"group inline-flex items-center justify-center text-sm font-medium text-gray-700 hover:text-gray-900\",attrs:{\"type\":\"button\",\"aria-expanded\":\"false\"},on:{\"click\":function($event){_vm.open = !_vm.open}}},[_c('span',[_vm._v(_vm._s(_vm.title))]),(_vm.selected.length > 0)?_c('span',{staticClass:\"ml-1.5 rounded py-0.5 px-1.5 bg-gray-200 text-xs font-semibold text-gray-700 tabular-nums\"},[_vm._v(_vm._s(_vm.selected.length))]):_vm._e(),_c('svg',{staticClass:\"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[(_vm.open)?_c('div',{staticClass:\" max-w-md overflow-hidden space-y-4 absolute mt-2 bg-white rounded-md shadow-2xl p-4 ring-1 ring-black ring-opacity-5 focus:outline-none\",class:{\n 'origin-top-left left-0': _vm.direction === 'left',\n 'origin-top-right right-0': _vm.direction === 'right'\n }},[_c('form',{staticClass:\"space-y-4\"},[(_vm.sorted.length > 10 && false)?_c('button',{staticClass:\" justify-center text-center w-full inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md shadow-sm text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")]):_vm._e(),_vm._l((_vm.sorted),function(option,idx){return _c('div',{key:idx,staticClass:\"flex items-center\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.temp),expression:\"temp\"}],staticClass:\"h-4 w-4 border-gray-300 rounded text-theme-600 focus:ring-theme-500\",attrs:{\"id\":'filter-category-' + idx,\"name\":\"category[]\",\"type\":\"checkbox\"},domProps:{\"value\":option[_vm.idProp],\"checked\":Array.isArray(_vm.temp)?_vm._i(_vm.temp,option[_vm.idProp])>-1:(_vm.temp)},on:{\"change\":function($event){var $$a=_vm.temp,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=option[_vm.idProp],$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.temp=$$a.concat([$$v]))}else{$$i>-1&&(_vm.temp=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.temp=$$c}}}}),_c('label',{staticClass:\" flex-grow flex items-center space-x-2 justify-between ml-3 pr-6 text-sm font-medium text-gray-900 whitespace-nowrap\",attrs:{\"for\":'filter-category-' + idx}},[_c('div',{staticClass:\"truncate\"},[(_vm.showId)?_c('span',[_vm._v(_vm._s(option[_vm.idProp])+\" - \")]):_vm._e(),_vm._v(\" \"+_vm._s(option[_vm.nameProp])+\" \")]),(_vm.descriptionProp)?_c('div',{staticClass:\"text-gray-400 text-xs truncate\"},[_c('span',{staticClass:\"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800\"},[_vm._v(\" \"+_vm._s(option[_vm.descriptionProp])+\" \")])]):_vm._e()])])}),_c('button',{staticClass:\" justify-center text-center w-full inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md shadow-sm text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")])],2)]):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({})\nexport default class CheckboxSelect extends Vue {\n @Prop({}) title!: string;\n @Prop({}) value!: any[];\n @Prop({}) options!: any[];\n @Prop({ default: \"left\" }) direction!: string;\n @Prop({ default: false }) showId!: boolean;\n @Prop({ default: \"id\" }) idProp!: string;\n @Prop({ default: \"name\" }) nameProp!: string;\n @Prop({ default: \"\" }) descriptionProp!: string;\n @Prop({ default: false }) acceptWhenClose!: boolean;\n\n selected: any[] = [];\n temp: any[] = [];\n open = false;\n mounted() {\n this.selected = this.value;\n this.temp = this.selected;\n }\n close() {\n if (this.open) {\n this.open = false;\n if (this.acceptWhenClose) {\n this.model = this.temp;\n }\n }\n this.temp = this.selected;\n }\n accept() {\n this.model = this.temp;\n this.open = false;\n }\n get sorted() {\n return this.options.sort((x, y) => {\n if (x.id && y.id) {\n return (x.id > y.id ? 1 : -1) ?? 1;\n }\n return 1;\n });\n }\n get model() {\n return this.selected;\n }\n set model(value) {\n this.$emit(\"input\", value);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckboxSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckboxSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckboxSelect.vue?vue&type=template&id=5fd3dd70&\"\nimport script from \"./CheckboxSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckboxSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport SignedContract from \"@/assets/contracts/SignedContract4.vue\";\nimport PendingContract from \"@/assets/contracts/PendingContract2.vue\";\nimport ArchivedContract from \"@/assets/contracts/ArchivedContract.vue\";\nimport Contract from \"@/assets/contracts/Contract.vue\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport { ContractMemberDto } from \"@/application/dtos/app/v3/contracts/ContractMemberDto\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport ContractsListAndTable from \"./ContractsListAndTable.vue\";\nimport CheckboxSelect from \"@/components/shared/checkboxes/CheckboxSelect.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport { ContractStatusFilter } from \"@/application/contracts/app/v3/contracts/ContractStatusFilter\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n TableRowSkeleton,\n Contract,\n PendingContract,\n SignedContract,\n ArchivedContract,\n ContractClock,\n ContractCheck,\n ContractArchived,\n NewModal,\n ContractsListAndTable,\n CheckboxSelect,\n Loading\n }\n})\nexport default class ContractsList extends Vue {\n // @Prop({})\n filter: ContractStatusFilter = ContractStatusFilter.ALL;\n\n loading = false;\n items: ContractDto[] = [];\n members: ContractMemberDto[] = [];\n\n providers: WorkspaceDto[] = [];\n clients: WorkspaceDto[] = [];\n selectedProviders: string[] = [];\n selectedClients: string[] = [];\n\n searchInput = \"\";\n\n mounted() {\n if (!this.$route.params.status || this.$route.params.status === \"todos\") {\n this.filter = ContractStatusFilter.ALL;\n } else if (this.$route.params.status === \"pendientes\") {\n this.filter = ContractStatusFilter.PENDING;\n } else if (this.$route.params.status === \"firmados\") {\n this.filter = ContractStatusFilter.SIGNED;\n } else if (this.$route.params.status === \"archivados\") {\n this.filter = ContractStatusFilter.ARCHIVED;\n }\n if (this.$route.query.proveedor) {\n this.selectedProviders = [this.$route.query.proveedor.toString()];\n }\n if (this.$route.query.cliente) {\n this.selectedClients = [this.$route.query.cliente.toString()];\n }\n this.reload();\n // this.loadProviders();\n // this.loadClients();\n }\n loadProviders() {\n services.links\n .getAllProviders(DocumentationStatusFilter.All)\n .then(response => {\n this.providers = response.map(f => f.providerWorkspace);\n });\n }\n loadClients() {\n services.links.getAllClients().then(response => {\n this.clients = response.map(f => f.clientWorkspace);\n });\n }\n reload() {\n this.loading = true;\n services.contracts\n .getAllByStatusFilter(this.filter)\n .then(response => {\n this.items = response;\n this.items.forEach(contract => {\n if (contract.employeeLists.length > 0) {\n contract.employeeLists = contract.employeeLists.sort((x, y) => {\n if (x.number && y.number) {\n return x.number > y.number ? -1 : 1;\n }\n return -1;\n });\n contract.currentEmployeeList = contract.employeeLists[0];\n }\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n // loadProvidersAndClients() {\n // this.providers = [];\n // this.clients = [];\n // this.items.forEach(contract => {\n // if (\n // !this.providers.find(\n // f => f.providerWorkspace.id === contract.providerWorkspaceId\n // )\n // ) {\n // this.providers.push({\n // id: \"\",\n // providerWorkspaceId: \"\",\n // providerWorkspace: {} as WorkspaceDto,\n // clientWorkspaceId: \"\",\n // clientWorkspace: {} as WorkspaceDto,\n // contracts: []\n // });\n // }\n // if (!this.clients.find(f => f.taxId === contract.clientTaxId)) {\n // this.clients.push({\n // id: \"\",\n // providerWorkspaceId: \"\",\n // providerWorkspace: {} as WorkspaceDto,\n // clientWorkspaceId: \"\",\n // clientWorkspace: {} as WorkspaceDto,\n // contracts: []\n // });\n // }\n // });\n // }\n // membersPending(contract: ContractDto) {\n // return contract.members.filter(f => !f.signDate);\n // }\n // membersSigned(contract: ContractDto) {\n // return contract.members.filter(f => f.signDate);\n // }\n // showMembers(members: ContractMemberDto[]) {\n // if (members.length > 0) {\n // this.members = members;\n // this.$refs.modalMembers.show();\n // }\n // }\n get filteredItems(): ContractDto[] {\n if (!this.items) {\n return [];\n }\n let items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.description\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.providerWorkspace.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.providerWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.providerWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.clientWorkspace.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.clientWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.link?.clientWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.createdByUser?.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n if (this.selectedProviders.length > 0) {\n items = items.filter(f =>\n this.selectedProviders.includes(f.link?.providerWorkspace.taxId)\n );\n }\n\n if (this.selectedClients.length > 0) {\n items = items.filter(f =>\n this.selectedClients.includes(f.link?.clientWorkspace.taxId)\n );\n }\n\n // if (this.filters?.includes(\"onlyWithStock\")) {\n // items = items.filter(f => f.totalStockQuantity > 0);\n // }\n // if (this.filters?.includes(\"onlyWithUnitPrice\")) {\n // items = items.filter(f => f.unitPrice > 0);\n // }\n // if (this.filters?.includes(\"onlyActive\")) {\n // items = items.filter(f => f.active);\n // }\n\n return items;\n }\n get sortedItems(): ContractDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n // if (this.sortBy.includes(\".\")) {\n // const objectProperty = this.sortBy.split(\".\")[0];\n // const valueProperty = this.sortBy.split(\".\")[1];\n\n // return this.filteredItems.sort((x, y) => {\n // if (x[objectProperty] && y[objectProperty]) {\n // if (\n // x[objectProperty][valueProperty] &&\n // y[objectProperty][valueProperty]\n // ) {\n // return (\n // (x[objectProperty][valueProperty] >\n // y[objectProperty][valueProperty]\n // ? this.sortDirection\n // : this.sortDirection * -1) ?? this.sortDirection\n // );\n // }\n // }\n // return 1;\n // });\n // }\n // return this.filteredItems.sort((x, y) => {\n // if (x[this.sortBy] && y[this.sortBy]) {\n // return (\n // (x[this.sortBy] > y[this.sortBy]\n // ? this.sortDirection\n // : this.sortDirection * -1) ?? this.sortDirection\n // );\n // }\n // return 1;\n // });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractsList.vue?vue&type=template&id=0273a6ca&\"\nimport script from \"./ContractsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Watch } from \"vue-property-decorator\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport ContractsList from \"@/components/app/v3/contracts/list/ContractsList.vue\";\nimport { ContractStatus } from \"@/application/enums/app/v3/contracts/ContractStatus\";\nimport ButtonPrimary from \"@/components/shared/buttons/ButtonPrimary.vue\";\n\n@Component({\n metaInfo: {\n title: \"Contratos\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs,\n ContractsList,\n ButtonPrimary\n }\n})\nexport default class Contracts extends Vue {\n tabs: TabItem[] = [];\n currentStatus: ContractStatus | null = null;\n created() {\n this.changeContractsStatus();\n }\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"shared.all\"),\n routeName: \"app.contracts\",\n routeParams: { status: \"todos\" }\n },\n {\n name: this.$t(\"app.contracts.pending.title\"),\n routeName: \"app.contracts\",\n routeParams: { status: \"pendientes\" }\n },\n {\n name: this.$t(\"app.contracts.signed.title\"),\n routeName: \"app.contracts\",\n routeParams: { status: \"firmados\" }\n },\n {\n name: this.$t(\"app.contracts.archived.title\"),\n routeName: \"app.contracts\",\n routeParams: { status: \"archivados\" }\n }\n ];\n // this.tabs.forEach(tab => {\n // tab.current = tab.routePath === this.$route.path;\n // });\n this.changeContractsStatus();\n }\n @Watch(\"$route.path\")\n changeContractsStatus() {\n if (!this.$route.params.status) {\n this.$router.push({ path: \"/app/contratos/pendientes\" });\n } else {\n switch (this.$route.params.status) {\n case \"pendientes\":\n this.currentStatus = ContractStatus.PENDING;\n break;\n case \"firmados\":\n this.currentStatus = ContractStatus.SIGNED;\n break;\n case \"archivados\":\n this.currentStatus = ContractStatus.ARCHIVED;\n break;\n case \"todos\":\n this.currentStatus = null;\n break;\n }\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contracts.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Contracts.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Contracts.vue?vue&type=template&id=d293c426&\"\nimport script from \"./Contracts.vue?vue&type=script&lang=ts&\"\nexport * from \"./Contracts.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"home\":\"app.visits\",\"menu\":[\n {\n title: _vm.$t('app.contracts.visits.activeProjects'),\n routeName: 'app.visits'\n },\n {\n title: _vm.$t('app.contracts.visits.title'),\n routeName: ''\n }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('div',[_c('h2',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.title\"))+\" \")])]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")]),(_vm.contract.id)?_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'app.visits.new', params: { id: _vm.contract.id } }}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.contracts.visits.new\"))+\" \")]):_vm._e()],1)])]),_c('div',{staticClass:\"pt-2 space-y-2 max-w-5xl xl:max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):(_vm.contract.visits)?_c('div',[(_vm.contract.visits.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"type\":0,\"captions\":{\n new: 'Agregar',\n description: 'Registra la visita del contrato ' + _vm.contract.name,\n thereAreNo: 'No hay visitas',\n routeName: 'app.visits.new',\n routeParams: { id: _vm.contract.id }\n },\"icon\":\"plus\"}})],1):_c('div',[_c('visits-list-and-table',{attrs:{\"items\":_vm.contract.visits}})],1)]):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport services from \"@/services\";\nimport ActiveContractsListAndTable from \"@/components/app/v3/visits/ActiveContractsListAndTable.vue\";\nimport VisitsListAndTable from \"@/components/app/v3/employees/visits/VisitsListAndTable.vue\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Visitas de contrato\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n ActiveContractsListAndTable,\n VisitsListAndTable,\n EmptyState,\n Loading\n }\n})\nexport default class VisitsList extends Vue {\n id = \"\";\n contract: ContractDto = {} as ContractDto;\n error = \"\";\n loading = false;\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.contracts\n .getContract(this.id, true)\n .then(response => {\n this.contract = response;\n })\n .catch(error => {\n this.error = this.$t(error).toString();\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisitsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisitsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VisitsList.vue?vue&type=template&id=2b99ae67&\"\nimport script from \"./VisitsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./VisitsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.currencies && _vm.currencies.length > 1)?_c('div',{staticClass:\"w-full flex justify-center mb-0\"},[_c('div',{staticClass:\"flex justify-center items-center rounded-md\"},_vm._l((_vm.currencies),function(currency,idx){return _c('a',{key:idx,staticClass:\"border border-blueGray-200 dark:border-gray-700 uppercase flex justify-center w-36 sm:w-32\",class:[\n _vm.$store.state.pricing.currency !== currency\n ? 'text-xs p-2 cursor-pointer bg-gray-50 dark:bg-gray-700 '\n : 'text-xs p-2 cursor-pointer bg-white dark:bg-gray-900 border shadow-md border-blueGray-300 dark:border-gray-600',\n idx === 0\n ? 'rounded-l-md border-r-none'\n : 'rounded-r-md border-l-none'\n ],on:{\"click\":function($event){$event.preventDefault();return _vm.changeCurrency(currency)}}},[_vm._v(_vm._s(currency))])}),0)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport Vue from \"vue\";\nimport store from \"@/store\";\n\n@Component\nexport default class BillingPeriodToggle extends Vue {\n changeCurrency(currency) {\n store.commit(\"pricing/currency\", currency);\n this.$emit(\"selected\");\n }\n get products(): SubscriptionProductDto[] {\n return store.state.pricing.products as SubscriptionProductDto[];\n }\n get currencies() {\n const allCurrencies: string[] = [];\n function onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n\n this.products.forEach(element => {\n element.prices.forEach(price => {\n allCurrencies.push(price.currency.toLowerCase());\n });\n });\n return allCurrencies.filter(onlyUnique);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrencyToggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrencyToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CurrencyToggle.vue?vue&type=template&id=452de350&\"\nimport script from \"./CurrencyToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./CurrencyToggle.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({class:[_vm.btnClass, _vm.colorVariants],attrs:{\"type\":\"button\",\"variant\":_vm.variant,\"variant-type\":_vm.variantType,\"size\":_vm.size,\"href\":_vm.to}},_vm.$listeners),[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({})\nexport default class LoadingButton extends Vue {\n @Prop({ default: \"primary\", type: String })\n variant!: string;\n @Prop({ default: \"normal\", type: String })\n variantType!: string;\n @Prop({ default: \"small\", type: String })\n size!: string;\n @Prop({ default: \"button\", type: String })\n rounded!: string;\n @Prop({ default: \"\", type: String })\n to!: string;\n\n loading = false;\n disableButton = false;\n\n start() {\n this.loading = true;\n this.disableButton = true;\n }\n stop() {\n this.loading = false;\n this.disableButton = false;\n }\n\n get btnClass() {\n return {\n \"base-spinner\": this.loading === true,\n \"cursor-not-allowed bg-gray-500\": this.disableButton === true,\n \"relative py-2 px-3 border border-transparent rounded-sm text-white font-semibold focus:outline-none focus:shadow-outline sm:text-sm sm:leading-5 \": true,\n \"bg-theme-600 hover:bg-theme-700 focus:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\":\n this.variant === \"primary\",\n \"bg-white\": this.variant === \"white\",\n \"rounded-sm\": this.rounded === \"small\",\n \"rounded-md\": this.rounded === \"normal\",\n \"rounded-lg\": this.rounded === \"large\",\n\n \"px-6 py-3\": this.size === \"normal\",\n \"px-4 py-2\": this.size === \"small\"\n };\n }\n\n get colorVariants() {\n switch (this.variant) {\n case \"primary\":\n switch (this.variantType) {\n case \"normal\":\n switch (this.disableButton) {\n case true:\n return \"border-theme-300 bg-theme-300 text-white\";\n default:\n break;\n }\n return \"border-gray-600 bg-gray-800 hover:bg-gray-700 focus:bg-gray-900 text-white\";\n case \"outline\":\n return \"border-gray-200 text-theme-500 hover:text-theme-700\";\n default:\n break;\n }\n break;\n case \"danger\":\n switch (this.variantType) {\n case \"normal\":\n switch (this.disableButton) {\n case true:\n return \"border-red-300 bg-red-300 text-white\";\n default:\n break;\n }\n return \"border-red-600 bg-red-600 hover:bg-red-700 hover:border-red-700 text-white\";\n case \"outline\":\n return \"border-gray-200 text-red-500 hover:text-red-600\";\n default:\n break;\n }\n break;\n case \"warning\":\n switch (this.variantType) {\n case \"normal\":\n return \"border-orange-600 bg-orange-600 hover:bg-orange-700 hover:border-orange-700 text-white\";\n default:\n break;\n }\n break;\n case \"success\":\n switch (this.variantType) {\n case \"normal\":\n switch (this.disableButton) {\n case true:\n return \"border-green-300 bg-green-300 text-white\";\n default:\n break;\n }\n return \"border-green-600 bg-green-600 hover:bg-green-700 hover:border-green-700 text-white\";\n case \"outline\":\n return \"border-2 border-gray-200 text-green-500 hover:text-green-700\";\n default:\n break;\n }\n break;\n case \"white\":\n switch (this.variantType) {\n case \"normal\":\n return \"border-white bg-white text-gray-700 hover:bg-gray-50\";\n default:\n break;\n }\n break;\n case \"secondary\":\n switch (this.variantType) {\n case \"outline\":\n return \"border-gray-300 text-gray-500 hover:text-blue-500\";\n default:\n break;\n }\n break;\n default:\n return \"\";\n }\n return \"\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadingButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoadingButton.vue?vue&type=template&id=36d56110&\"\nimport script from \"./LoadingButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoadingButton.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LoadingButton.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No tienes invitaciones pendientes'\n }}})],1):_c('ul',{staticClass:\"sm:grid grid-cols-1 gap-3\",attrs:{\"role\":\"list\"}},_vm._l((_vm.items),function(item,idx){return _c('li',{key:idx,staticClass:\"col-span-1 bg-white rounded-sm shadow-md divide-y divide-gray-200 border-t sm:border border-gray-300\"},[_c('div',{staticClass:\"w-full flex items-center justify-between p-6 space-x-6\"},[_c('div',{staticClass:\"w-full space-y-2\"},[(\n item.createdByWorkspaceId !== _vm.currentWorkspaceId &&\n item.createdByUser\n )?_c('div',{staticClass:\"flex items-center justify-between space-x-3\"},[_c('p',{staticClass:\"text-sm font-normal text-gray-700 border-b pb-3 mb-2 w-full\"},[_vm._v(\" \"+_vm._s(item.createdByUser.firstName)+\" (\"+_vm._s(item.createdByUser.email)+\") te ha enviado una invitación. \")])]):_vm._e(),_c('div',{staticClass:\"flex items-center justify-between space-x-3\"},[_c('h3',{staticClass:\"text-gray-900 text-sm font-medium truncate\"},[(_vm.whoAmI(item) === 0)?_c('span',[_vm._v(\" \"+_vm._s(item.clientWorkspace.taxId)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(item.providerWorkspace.taxId)+\" \")])]),(_vm.whoAmI(item) !== 0)?_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-teal-800 text-sm font-medium bg-teal-100 rounded-sm border-teal-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")]):_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-purple-800 text-sm font-medium bg-purple-100 rounded-sm border-purple-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")])]),_c('div',{staticClass:\"sm:flex sm:items-center sm:space-x-2 sm:justify-between text-gray-500 text-sm\"},[_c('p',{staticClass:\"truncate\"},[(_vm.whoAmI(item) === 0)?_c('span',[_vm._v(\" \"+_vm._s(item.clientWorkspace.legalName)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(item.providerWorkspace.legalName)+\" \")])]),(item.createdAt)?_c('p',{staticClass:\" font-light text-sm truncate\"},[_vm._v(\" \"+_vm._s(_vm.dateAgo(item.createdAt))+\" \")]):_vm._e()])])]),_c('div',[(\n item.status === 0 &&\n item.createdByWorkspaceId !== _vm.currentWorkspaceId\n )?_c('div',{staticClass:\"-mt-px flex divide-x divide-gray-200\"},[_c('div',{staticClass:\"w-0 flex-1 flex\"},[_c('button',{staticClass:\"relative -mr-px w-0 flex-1 inline-flex items-center justify-center py-4 text-sm text-gray-700 font-medium border border-transparent rounded-bl-lg hover:text-theme-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.reject(item)}}},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})]),_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"shared.cancel\")))])])]),_c('div',{staticClass:\"-ml-px w-0 flex-1 flex\"},[_c('button',{staticClass:\"relative w-0 flex-1 inline-flex items-center justify-center py-4 text-sm text-gray-700 font-medium border border-transparent rounded-br-lg hover:text-theme-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.accept(item)}}},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})]),(_vm.whoAmI(item) === 0)?_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"shared.accept\")))]):_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"shared.accept\")))])])])]):_c('div',{staticClass:\"-mt-px flex divide-x divide-gray-200\"},[_c('div',{staticClass:\"w-full\"},[(item.status === 0)?_c('div',{staticClass:\"bg-gray-100 w-full relative -mr-px flex-1 inline-flex items-center justify-center py-4 text-sm text-gray-700 font-medium border border-transparent rounded-bl-lg \"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"}})]),_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"app.links.pending.invitationSent\")))])]):_vm._e(),(item.status === 2)?_c('div',{staticClass:\"w-full relative -mr-px flex-1 inline-flex items-center justify-center py-4 text-sm bg-red-50 text-red-700 font-medium border border-transparent rounded-bl-lg \"},[_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"shared.rejected\")))])]):(item.status === 1)?_c('div',{staticClass:\"w-full relative flex-1 inline-flex items-center justify-center py-4 text-sm bg-teal-50 text-teal-700 font-medium border border-transparent rounded-br-lg\"},[_c('span',{staticClass:\"ml-3\"},[_vm._v(_vm._s(_vm.$t(\"shared.accepted\")))])]):_vm._e()])])])])}),0)]),_c('ConfirmModal',{ref:\"modalAccept\",on:{\"yes\":_vm.accepted}}),_c('ConfirmModal',{ref:\"modalReject\",on:{\"yes\":_vm.rejected}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('link-confirm-invitation',{ref:\"linkConfirmInvitation\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing && _vm.link),expression:\"showing && link\"}],staticClass:\"fixed z-10 inset-0 overflow-y-auto\",attrs:{\"aria-labelledby\":\"modal-title\",\"role\":\"dialog\",\"aria-modal\":\"true\"}},[_c('div',{staticClass:\"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6\"},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-theme-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-theme-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.accept\"))+\" \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.the\"))+\" \"),(_vm.whoAmI === 0)?_c('span',{staticClass:\"font-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \"),(_vm.link)?_c('span',{staticClass:\" text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.link.clientWorkspace.taxId)+\" - \"+_vm._s(_vm.link.clientWorkspace.legalName)+\" \")]):_vm._e()]):_c('span',{staticClass:\"font-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \"),(_vm.link)?_c('span',{staticClass:\" text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.link.providerWorkspace.taxId)+\" - \"+_vm._s(_vm.link.providerWorkspace.legalName)+\" \")]):_vm._e()]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.links.pending.invitesYouToBe\"))+\" \"),(_vm.whoAmI === 1)?_c('span',{staticClass:\"font-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")]):_c('span',{staticClass:\"font-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")])])])])]),_c('div',{staticClass:\"mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense\"},[_c('button',{staticClass:\"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-theme-600 text-base font-medium text-white hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:col-start-2 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.updateLink(true)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")]),_c('button',{staticClass:\"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500 sm:mt-0 sm:col-start-1 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.back\"))+\" \")])])])])],1)]),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",staticClass:\"z-50 relative\",on:{\"closed\":_vm.createdLink}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport store from \"@/store\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport { AppUsageType } from \"../../../../application/enums/app/usages/AppUsageType\";\n\n@Component({\n components: {\n NewModal,\n ErrorModal,\n SuccessModal\n }\n})\nexport default class LinkConfirmInvitation extends Vue {\n $refs!: {\n inputEmail: HTMLInputElement;\n errorModal: ErrorModal;\n successModal: SuccessModal;\n buttonCreate: HTMLButtonElement;\n };\n showing = false;\n loadingLinking = false;\n email = \"\";\n taxId = \"\";\n link: LinkDto | null = null;\n // permissions: LinkPermission[] = [];\n // arrPermissions: LinkPermission[];\n mounted() {\n // array.forEach(element => {\n // });\n }\n show(link: LinkDto) {\n this.link = link;\n\n this.email = link.createdByUser?.email ?? \"\";\n this.taxId = link.createdByWorkspace?.taxId ?? \"\";\n // this.permissions = link.permissions;\n\n if (process.env.VUE_APP_SERVICE === \"sandbox\") {\n this.taxId = \"ABS12345XYZ\";\n this.email = \"user@email.com\";\n }\n\n this.showing = true;\n // this.$nextTick(() => {\n // this.$refs.inputEmail.focus();\n // this.$refs.inputEmail.select();\n // });\n }\n close() {\n this.showing = false;\n }\n updateLink(accepted) {\n this.loadingLinking = true;\n services.links\n .acceptOrReject(this.link?.id, {\n accepted\n // permissions: []\n })\n .then(() => {\n this.close();\n services.tenants.getCurrentUsage(AppUsageType.PENDING_INVITATIONS);\n if (accepted) {\n // this.$refs.successModal.show(\n // this.$t(\"app.links.created\", [\n // response.providerWorkspace.taxId,\n // response.clientWorkspace.taxId\n // ])\n // );\n } else {\n this.$refs.successModal.show(this.$t(\"app.links.rejected.rejected\"));\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error));\n })\n .finally(() => {\n this.loadingLinking = false;\n });\n }\n createdLink() {\n this.$emit(\"created\");\n this.close();\n }\n get whoAmI() {\n const currentWorkspaceId = store.state.tenant.currentWorkspace?.id ?? \"\";\n if (currentWorkspaceId === this.link?.providerWorkspaceId) {\n return 0;\n }\n return 1;\n }\n get currentWorkspace(): WorkspaceDto {\n return store.state.tenant.currentWorkspace ?? ({} as WorkspaceDto);\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkConfirmInvitation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinkConfirmInvitation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinkConfirmInvitation.vue?vue&type=template&id=3471f627&\"\nimport script from \"./LinkConfirmInvitation.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinkConfirmInvitation.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport services from \"@/services\";\nimport store from \"@/store\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport LinkConfirmInvitation from \"./LinkConfirmInvitation.vue\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { AppUsageType } from \"../../../../application/enums/app/usages/AppUsageType\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ConfirmModal,\n LinkConfirmInvitation,\n EmptyState,\n ErrorModal,\n Loading\n }\n})\nexport default class LinksPendingList extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n modalReject: ConfirmModal;\n modalAccept: ConfirmModal;\n linkConfirmInvitation: LinkConfirmInvitation;\n };\n items: LinkDto[] = [];\n loading = false;\n error = \"\";\n mounted() {\n this.reload();\n tinyEventBus().emitter.on(\"reload-links\", () => {\n this.reload();\n });\n }\n beforeDestroy() {\n tinyEventBus().emitter.off(\"reload-links\");\n }\n asProvider(link: LinkDto) {\n return store.state.tenant.currentWorkspace?.id === link.providerWorkspaceId;\n }\n reload() {\n this.items = [];\n this.loading = true;\n services.links\n .getAllPending()\n .then(response => {\n this.items = response;\n })\n .catch(error => {\n this.error = error;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n reject(item: LinkDto) {\n const whoAmIName =\n this.whoAmI(item) === 0\n ? this.$t(\"models.provider.object\")\n : this.$t(\"models.client.object\");\n this.$refs.modalReject.value = item;\n this.$refs.modalReject.show(\n \"Rechazar invitación\",\n \"Rechazar\",\n \"Atrás\",\n `Rechazarás ser ${whoAmIName} de ${this.inviterWorkspace(item).taxId}`\n );\n }\n view(item: LinkDto) {\n this.$refs.linkConfirmInvitation.show(item);\n }\n accept(item: LinkDto) {\n const whoAmIName =\n this.whoAmI(item) === 0\n ? this.$t(\"models.provider.object\")\n : this.$t(\"models.client.object\");\n this.$refs.modalAccept.value = item;\n this.$refs.modalAccept.show(\n \"Aceptar invitación\",\n \"Aceptar\",\n \"Atrás\",\n `Aceptarás ser ${whoAmIName} de ${this.inviterWorkspace(item).taxId}`\n );\n }\n accepted(item: LinkDto) {\n this.loading = true;\n services.links\n .acceptOrReject(item.id, {\n accepted: true\n })\n .then(() => {\n item.status = 1;\n services.tenants.getCurrentUsage(AppUsageType.PENDING_INVITATIONS);\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n rejected(item: LinkDto) {\n this.loading = true;\n services.links\n .acceptOrReject(item.id, {\n accepted: false\n })\n .then(() => {\n item.status = 2;\n services.tenants.getCurrentUsage(AppUsageType.PENDING_INVITATIONS);\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n whoAmI(item: LinkDto) {\n const currentWorkspaceId = store.state.tenant.currentWorkspace?.id ?? \"\";\n if (currentWorkspaceId === item.providerWorkspaceId) {\n return 0;\n }\n return 1;\n }\n inviterWorkspace(item: LinkDto): WorkspaceDto {\n if (item.createdByWorkspaceId === item.providerWorkspaceId) {\n return item.providerWorkspace;\n }\n return item.clientWorkspace;\n }\n invite() {\n tinyEventBus().emitter.emit(\"new-link\");\n }\n dateAgo(value: Date) {\n return DateUtils.dateAgo(value);\n }\n get currentWorkspaceId() {\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksPendingList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksPendingList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinksPendingList.vue?vue&type=template&id=e14cc88c&\"\nimport script from \"./LinksPendingList.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinksPendingList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('side-modal',{attrs:{\"title\":!_vm.editing\n ? _vm.$t('shared.new') + ' ' + _vm.$t('models.subscriptionProduct.object')\n : _vm.$t('shared.edit') + ' ' + _vm.$t('models.subscriptionProduct.object')},on:{\"close\":_vm.cancel},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('form',{on:{\"submit\":_vm.save}},[_c('vue-form-generator',{ref:\"vfg\",attrs:{\"disabled\":_vm.disabled,\"schema\":_vm.schema,\"model\":_vm.model,\"options\":_vm.formOptions}})],1)]},proxy:true},{key:\"footer\",fn:function(){return [_c('span',{staticClass:\"inline-flex rounded-sm shadow-sm\"},[(_vm.editing)?_c('button',{staticClass:\"h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-red-800 bg-rose-50 hover:text-red-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.remove}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")]):_vm._e(),_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 border border-gray-300 text-xs leading-5 font-medium rounded-sm text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-theme-900 active:bg-gray-50 active:text-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"disabled\":_vm.disabled,\"type\":\"submit\"},on:{\"click\":_vm.save}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])]},proxy:true}])}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmSave\",on:{\"yes\":_vm.yesSave}}),_c('ConfirmModal',{ref:\"confirmRemove\",on:{\"yes\":_vm.yesRemove}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport VueFormGenerator, { validators } from \"vue-form-generator\";\nimport \"vue-form-generator/dist/vfg.css\";\nimport dateInput from \"@/components/shared/forms/DateInput.vue\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport services from \"@/services\";\nVue.component(\"fieldDateInput\", dateInput);\n\n@Component({\n components: {\n SuccessModal,\n ErrorModal,\n ConfirmModal,\n SideModal,\n \"vue-form-generator\": VueFormGenerator.component\n }\n})\nexport default class SubscriptionProductForm extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n confirmSave: ConfirmModal;\n confirmRemove: ConfirmModal;\n vfg: VueFormGenerator;\n };\n id = \"\";\n\n flagAllowEdit = true;\n flagAllowDelete = true;\n editing = false;\n isValid = false;\n model = {} as SubscriptionProductDto;\n disabled = true;\n updateOnServer = true;\n schema: any = {\n fields: [\n {\n id: \"title\",\n type: \"input\",\n inputType: \"text\",\n model: \"title\",\n label: this.$t(\"models.subscriptionProduct.title\"),\n placeholder: this.$t(\"models.subscriptionProduct.title\"),\n required: true,\n validator: validators.string\n },\n {\n id: \"description\",\n type: \"input\",\n inputType: \"text\",\n model: \"description\",\n label: this.$t(\"models.subscriptionProduct.description\"),\n placeholder: this.$t(\"models.subscriptionProduct.description\"),\n required: false,\n validator: validators.string\n },\n {\n id: \"serviceId\",\n type: \"input\",\n inputType: \"text\",\n label: this.$t(\"models.subscriptionProduct.serviceId\"),\n placeholder: this.$t(\"models.subscriptionProduct.serviceIdLeaveEmpty\"),\n model: \"serviceId\",\n required: false,\n attributes: {\n autofocus: true\n },\n validator: validators.string\n },\n {\n id: \"tier\",\n inputType: \"number\",\n type: \"input\",\n model: \"tier\",\n label: this.$t(\"models.subscriptionProduct.tier\"),\n placeholder: this.$t(\"models.subscriptionProduct.tier\"),\n required: true,\n validator: validators.integer\n },\n {\n id: \"badge\",\n type: \"input\",\n inputType: \"text\",\n model: \"badge\",\n label: this.$t(\"models.subscriptionProduct.badge\"),\n placeholder: this.$t(\"models.subscriptionProduct.badge\"),\n required: false,\n validator: validators.string\n },\n {\n id: \"active\",\n type: \"checkbox\",\n model: \"active\",\n label: this.$t(\"models.subscriptionProduct.active\"),\n required: true\n },\n {\n id: \"image\",\n type: \"image\",\n model: \"image\",\n label: this.$t(\"models.subscriptionProduct.image\"),\n placeholder: this.$t(\"models.subscriptionProduct.image\"),\n hideInput: true\n },\n {\n id: \"maxUsers\",\n inputType: \"number\",\n type: \"input\",\n model: \"maxUsers\",\n label: this.$t(\"models.subscriptionProduct.maxUsers\"),\n placeholder: this.$t(\"models.subscriptionProduct.maxUsers\"),\n default: 0\n }\n ]\n };\n formOptions: any = {\n validateAfterLoad: false,\n validateAfterChanged: true,\n validateAsync: true\n };\n mounted() {\n if (this.$route.params.id) {\n this.disabled = true;\n this.id = this.$route.params.id;\n this.editing = true;\n\n this.schema.fields[2].disabled = true;\n services.subscriptionProducts\n .getProduct(this.id)\n .then((response: SubscriptionProductDto) => {\n this.model = response;\n this.disabled = false;\n })\n .catch(() => {\n this.$refs.errorModal.show(this.$t(\"shared.notFound\"));\n this.pushToParent();\n });\n } else {\n this.disabled = false;\n }\n }\n cancel() {\n this.$emit(\"canceled\");\n this.pushToParent();\n }\n save() {\n this.$refs.vfg.validate().then(errors => {\n if (errors && errors.length > 0) {\n this.$refs.errorModal.show(this.$t(\"shared.invalidForm\"));\n } else {\n this.$refs.confirmSave.show(\n this.editing ? this.$t(\"shared.save?\") : this.$t(\"shared.add?\")\n );\n }\n });\n }\n yesSave() {\n if (this.editing && this.flagAllowEdit) {\n if (this.updateOnServer) {\n services.subscriptionProducts\n .updateProduct(this.id, {\n id: this.model.id,\n tier: this.model.tier,\n title: this.model.title,\n description: this.model.description,\n badge: this.model.badge,\n active: this.model.active,\n image: this.model.image,\n maxUsers: this.model.maxUsers,\n maxWorkspaces: this.model.maxWorkspaces,\n maxLinks: this.model.maxLinks,\n maxStorage: this.model.maxStorage,\n monthlyContracts: this.model.monthlyContracts\n })\n .then(() => {\n this.$emit(\"saved\", this.model);\n this.pushToParent();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n } else {\n this.$emit(\"saved\", this.model);\n this.pushToParent();\n }\n } else if (!this.editing) {\n if (this.updateOnServer) {\n services.subscriptionProducts\n .createProduct(this.model)\n .then((response: SubscriptionProductDto) => {\n this.$emit(\"added\", response);\n this.pushToParent();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n } else {\n this.$emit(\"added\", this.model);\n this.pushToParent();\n }\n }\n }\n remove() {\n this.$refs.confirmRemove.show(this.$t(\"shared.remove?\"));\n }\n yesRemove() {\n if (this.editing) {\n if (this.updateOnServer) {\n services.subscriptionProducts.deleteProduct(this.id).then(() => {\n this.$emit(\"deleted\", this.model);\n });\n } else {\n this.$emit(\"deleted\", this.model);\n }\n }\n }\n pushToParent() {\n const pathArray = this.$route.path.split(\"/\");\n if (pathArray[pathArray.length - 1] === \"\") {\n pathArray.pop();\n }\n const routes: string[] = [];\n for (let index = 0; index < pathArray.length - 1; index++) {\n const element: string = pathArray[index];\n routes.push(element);\n }\n const parentRoute = routes.join(\"/\");\n console.log(\"pushing; \" + parentRoute);\n this.$router.push(parentRoute);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductsForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductsForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionProductsForm.vue?vue&type=template&id=77f6c3f4&\"\nimport script from \"./SubscriptionProductsForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionProductsForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SubscriptionProductsForm.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum UserType {\n Admin,\n Tenant,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logout.vue?vue&type=template&id=52128687&\"\nimport script from \"./Logout.vue?vue&type=script&lang=js&\"\nexport * from \"./Logout.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showing)?_c('div',{on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.close($event)},\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"fixed z-10 inset-0 overflow-y-auto\",attrs:{\"aria-labelledby\":\"modal-title\",\"role\":\"dialog\",\"aria-modal\":\"true\"}},[_c('div',{staticClass:\"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm w-72 sm:w-full sm:p-6\"},[_c('div',[_c('div',{staticClass:\"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-red-100\"},[_c('svg',{staticClass:\"h-6 w-6 text-red-600\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\"}})])]),_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-title\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.error\"))+\" \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-sm text-gray-700\"},[_vm._v(\" \"+_vm._s(_vm.errorDescription)+\" \")])])])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('button',{ref:\"closeButton\",staticClass:\"mt-3 w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-gray-800 text-white text-base font-medium hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 sm:mt-0 sm:text-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.closeText)+\" \")])])])])],1)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class ErrorModal extends Vue {\n $refs!: {\n closeButton: HTMLElement;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n errors: string[] = [];\n mounted() {\n this.title = this.$t(\"shared.error\").toString();\n this.closeText = this.$t(\"shared.accept\").toString();\n }\n show(error, closeText?: any) {\n console.log(\"showing error: \" + error);\n if (error.length > 300 && process.env.NODE_ENV !== \"production\") {\n error = error.substring(0, 300);\n }\n if (\n error\n .toString()\n .trim()\n .toLowerCase() === \"Network Error\".toLowerCase()\n ) {\n error = i18n.t(\"shared.networkError\").toString();\n }\n if (\n error\n .toString()\n .trim()\n .toLowerCase() === \"System.TimeoutException\".toLowerCase()\n ) {\n error = i18n.t(\"shared.timeout\").toString();\n }\n\n if (closeText) {\n this.closeText = closeText;\n }\n if (error.toString().includes(\" {\n if (this.$refs.closeButton) {\n this.$refs.closeButton.focus();\n }\n });\n // setTimeout(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // }, 1000);\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n showErrors(errors: string[]) {\n this.title = this.$t(\"shared.errors\").toString();\n this.errors = errors;\n this.showing = true;\n }\n keyup(event: KeyboardEvent) {\n // console.log({ event, showing: this.showing });\n if (event.keyCode === 13) {\n this.close();\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewErrorModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewErrorModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewErrorModal.vue?vue&type=template&id=540d7de0&\"\nimport script from \"./NewErrorModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewErrorModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(_vm._s(_vm.$t(\"app.providers.my\")))]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('ButtonSecondary',{staticClass:\"hidden lg:inline-flex\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadAll}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})])]),_c('ButtonPrimary',{attrs:{\"type\":\"button\"},on:{\"click\":_vm.newProvider}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\",\"clip-rule\":\"evenodd\"}})]),_c('div',{staticClass:\"hidden lg:block\"},[_vm._v(_vm._s(_vm.$t(\"app.links.newProvider\")))]),_c('div',{staticClass:\"lg:hidden\"},[_vm._v(_vm._s(_vm.$t(\"app.links.newProvider\")))])])],1)])]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[(_vm.loading)?_c('Loading'):_c('providers-list',{key:_vm.filter,ref:\"list\",attrs:{\"filter\":_vm.filter}})],1),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('providers-list-and-table',{attrs:{\"items\":_vm.sortedItems,\"year\":_vm.year},on:{\"updated\":_vm.reload,\"deleted\":_vm.reload}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{},[(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes proveedores'\n },\"icon\":\"plus\"},on:{\"new\":_vm.newProvider}})],1):_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8 pb-40\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200 pb-24\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',[_vm._m(0),_c('th',{staticClass:\"px-2 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_vm._v(\"Proveedor\")]),_vm._l((_vm.months),function(month,idx){return _c('th',{key:idx,staticClass:\"px-2 py-2 text-left text-xs font-bold text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center justify-center space-x-1 text-gray-500\",class:{\n 'font-extrabold text-gray-800': _vm.currentMonth(month)\n }},[_vm._v(\" \"+_vm._s(month.shortTitle)+\" \"),(_vm.currentMonth(month))?_c('span',{staticClass:\"ml-1\"},[_vm._v(\"(actual)\")]):_vm._e()])])}),_c('th',{staticClass:\"px-4 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_vm._v(\"Último documento\")]),_c('th',{staticClass:\"px-4 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_vm._v(\"Enlazado\")]),_c('th',{staticClass:\"text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.actions\")))])])],2)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(provider,idxProvider){return _c('tr',{key:idxProvider,class:{\n ' bg-yellow-50': provider.status === 0\n },attrs:{\"tag\":\"tr\",\"to\":{\n name: 'app.provider.view',\n params: { id: provider.id }\n }}},[_c('td',{staticClass:\"px-2 whitespace-nowrap border-l border-t border-b border-gray-200\"},[_c('div',{staticClass:\"text-xs text-center flex justify-center w-full text-gray-400\"},[_vm._v(_vm._s(idxProvider + 1))])]),_c('td',{staticClass:\"px-2 whitespace-nowrap border-l border-t border-b border-gray-200\"},[_c('router-link',{staticClass:\"flex items-end cursor-pointer hover:underline\",attrs:{\"to\":{\n name: 'app.providers.profile',\n params: { id: provider.id }\n }}},[_c('div',{staticClass:\"max-w-xs py-1 truncate\"},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900\"},[_vm._v(_vm._s(provider.providerWorkspace.taxId))]),_c('div',{staticClass:\"text-sm text-gray-500 flex items-center space-x-1 truncate\"},[_vm._v(_vm._s(provider.providerWorkspace.legalName))])])])],1),_vm._l((_vm.months),function(month){return _c('td',{key:month.value,staticClass:\"whitespace-nowrap text-sm text-gray-600 text-center border border-gray-200\",class:{\n 'bg-gray-50': _vm.monthStatus(provider, month) === 0,\n 'bg-yellow-50': _vm.monthStatus(provider, month) === 1,\n 'bg-teal-50': _vm.monthStatus(provider, month) === 2,\n 'bg-gray-100': _vm.monthStatus(provider, month) === 3,\n 'hover:bg-gray-100': _vm.monthStatus(provider, month) === 0 && _vm.getTotalDocuments(provider, month).length > 0,\n 'hover:bg-yellow-100': _vm.monthStatus(provider, month) === 1 && _vm.getTotalDocuments(provider, month).length > 0,\n 'hover:bg-teal-100': _vm.monthStatus(provider, month) === 2 && _vm.getTotalDocuments(provider, month).length > 0,\n 'hover:bg-gray-200': _vm.monthStatus(provider, month) === 3 && _vm.getTotalDocuments(provider, month).length > 0,\n }},[(_vm.getTotalDocuments(provider, month).length > 0)?_c('dropdown-simple',{ref:\"dropdownOptionsDocs\",refInFor:true,staticClass:\"h-full w-full\",attrs:{\"size\":\"md\",\"border\":false},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.actions\")))]),_c('div',{staticClass:\"w-full\",class:{\n 'text-gray-400 hover:font-bold': _vm.monthStatus(provider, month) === 0,\n 'text-yellow-700 hover:font-bold': _vm.monthStatus(provider, month) === 1,\n 'text-teal-700 hover:font-bold': _vm.monthStatus(provider, month) === 2,\n 'text-gray-600 hover:font-bold': _vm.monthStatus(provider, month) === 3\n }},[_vm._v(_vm._s(_vm.getTotalDocuments(provider, month).length))])]},proxy:true},{key:\"items\",fn:function(){return [_c('div',{staticClass:\"py-1\"},[_c('router-link',{staticClass:\"text-left block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full\",attrs:{\"to\":{\n name: 'app.providers.documentation',\n params: {\n id: provider.id\n }\n },\"role\":\"menuitem\"}},[_vm._v(_vm._s(_vm.$t(\"app.providers.documentation.title\")))])],1),_c('div',{staticClass:\"py-1 border-gray-200 border-b\"},[_c('button',{staticClass:\"text-left block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full\",attrs:{\"type\":\"button\",\"role\":\"menuitem\"},on:{\"click\":function($event){return _vm.downloadAll(provider)}}},[_vm._v(_vm._s(_vm.$t(\"app.providers.actions.downloadDocuments\")))])]),_c('div',{staticClass:\"py-1 border-gray-100\"},_vm._l((_vm.getTotalDocuments(provider, month).sort(function (a, b) { return a.documentType.type - b.documentType.type; })),function(document){return _c('button',{staticClass:\"text-left flex justify-between space-x-2 px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.viewDocument(document)}}},[_c('div',{staticClass:\"text-sm text-gray-700 truncate flex space-x-2 items-center\"},[_c('div',{staticClass:\"truncate\",attrs:{\"title\":document.documentType.name}},[_vm._v(_vm._s(document.documentType.name))])]),_c('div',[_c('div',{staticClass:\"inline-flex items-center px-1 py-0.5 rounded-sm text-xs font-normal bg-gray-100 text-gray-600\",class:document.documentType.institutionClasses},[_vm._v(_vm._s(_vm.institutionName(document)))])])])}),0)]},proxy:true}],null,true)}):_c('div',{staticClass:\"py-4\"})],1)}),_c('td',{staticClass:\"px-4 whitespace-nowrap border-l border-t border-b border-gray-200 truncate\"},[(provider.lastDocument)?_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"text-xs text-gray-600 font-medium\",attrs:{\"title\":_vm.dateAgo(provider.createdAt)}},[_vm._v(_vm._s(_vm.dateAgo(provider.lastDocument.createdAt)))]),_c('div',{staticClass:\"text-xs text-gray-500\",attrs:{\"title\":_vm.dateAgo(provider.createdAt)}},[(provider.lastDocument)?_c('span',[_c('span',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(_vm.getDocumentName(provider.lastDocument))+\" \"),(_vm.getPeriodName(provider.lastDocument))?_c('span',[_vm._v(\"(\"+_vm._s(_vm.getPeriodName(provider.lastDocument))+\")\")]):_vm._e()])]):_vm._e()])]):_vm._e()]),_c('td',{staticClass:\"px-4 whitespace-nowrap border-l border-t border-b border-gray-200 truncate\"},[_c('div',{staticClass:\"flex flex-col max-w-xs truncate\"},[_c('div',{staticClass:\"text-xs text-gray-600 font-medium\",attrs:{\"title\":_vm.dateAgo(provider.createdAt)}},[_vm._v(_vm._s(_vm.dateDM(provider.createdAt)))]),_c('div',{staticClass:\"text-xs text-gray-500\",attrs:{\"title\":_vm.dateAgo(provider.createdAt)}},[(provider.createdByUser)?_c('span',[_c('span',{staticClass:\"capitalize truncate\"},[_vm._v(_vm._s(provider.createdByUser.firstName.toLowerCase())+\" \"+_vm._s(provider.createdByUser.lastName.toLowerCase()))]),_vm._v(\" (\"+_vm._s(provider.createdByUser.email)+\") \")]):_vm._e()])])]),_c('td',{staticClass:\"text-center whitespace-nowrap border-l border-t border-b border-gray-200\"},[_c('dropdown-simple',{ref:\"dropdownOptions\",refInFor:true,staticClass:\"h-full\",attrs:{\"size\":\"sm\",\"border\":false},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.actions\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-300 hover:text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z\"}})])]},proxy:true},{key:\"items\",fn:function(){return [_c('div',{staticClass:\"py-1 border-gray-100\"},[_c('router-link',{staticClass:\"text-left block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full\",attrs:{\"to\":{\n name: 'app.providers.profile',\n params: {\n id: provider.id\n }\n },\"role\":\"menuitem\"}},[_vm._v(_vm._s(_vm.$t(\"app.providers.profile.title\")))])],1),_c('div',{staticClass:\"py-1 border-gray-100\"},[_c('router-link',{staticClass:\"text-left block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full\",attrs:{\"to\":{\n name: 'app.providers.documentation',\n params: {\n id: provider.id\n }\n },\"role\":\"menuitem\"}},[_vm._v(_vm._s(_vm.$t(\"app.providers.documentation.title\")))])],1),_c('div',{staticClass:\"py-1 border-gray-100\"},[_c('router-link',{staticClass:\"text-left block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 w-full\",attrs:{\"to\":{\n name: 'app.contracts.new',\n query: { l: provider.id }\n },\"role\":\"menuitem\"}},[_vm._v(_vm._s(_vm.$t(\"app.contracts.new.title\")))])],1)]},proxy:true}],null,true)})],1)],2)}),0)])])])])]),_c('DocumentUpload',{ref:\"uploadDocument\",staticClass:\"relative z-50\",on:{\"updated\":function($event){return _vm.$emit('updated')},\"deleted\":function($event){return _vm.$emit('deleted')}}}),(_vm.showingDocument)?_c('SideDocumentUpload',{ref:\"sideUploadDocument\",staticClass:\"relative z-50\",attrs:{\"document\":_vm.showingDocument},on:{\"updated\":function($event){return _vm.$emit('updated')},\"deleted\":function($event){return _vm.$emit('deleted')},\"close\":function($event){_vm.showingDocument = undefined}}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('th',{staticClass:\"px-2 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"text-xs text-center flex justify-center w-full\"},[_vm._v(\"#\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"relative inline-block text-left\"},[_c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}]},[_c('div',[_c('button',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}],staticClass:\"h-full inline-flex justify-center w-full rounded-sm px-3 py-2 text-sm font-medium text-gray-700 hover:text-gray-900 focus:outline-none\",class:{\n 'border border-gray-300': _vm.withBorder\n },attrs:{\"type\":\"button\",\"id\":\"options-menu\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"true\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._t(\"icon\"),_vm._t(\"title\")],2)]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show),expression:\"show\"}],staticClass:\"origin-top-right absolute right-0 mt-2 rounded-sm shadow-lg bg-white ring-1 ring-black ring-opacity-5 z-50\",class:{\n 'w-32': _vm.size === 'xs',\n 'w-52': _vm.size === 'sm',\n 'w-72': _vm.size === 'md',\n 'w-96': _vm.size === 'lg'\n }},[_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"options-menu\"}},[_vm._t(\"items\")],2)])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n@Component({})\nexport default class DropdownSimple extends Vue {\n @Prop() title!: string;\n @Prop({ default: \"lg\" }) size!: string;\n @Prop({ default: false }) withBorder!: boolean;\n show = false;\n close() {\n this.show = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownSimple.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownSimple.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropdownSimple.vue?vue&type=template&id=36736064&\"\nimport script from \"./DropdownSimple.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropdownSimple.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-900 bg-opacity-50 transition-opacity\"}),_c('div',{staticClass:\"fixed inset-0 overflow-hidden z-10\"},[_c('div',{staticClass:\"absolute inset-0 overflow-hidden\"},[_c('section',{staticClass:\"absolute inset-y-0 right-0 pl-10 max-w-full flex\"},[(false)?_c('div',{staticClass:\"flex h-screen justify-center pt-20 w-1\"},[_c('div',{staticClass:\"text-center\"},[(!_vm.title)?_c('button',{staticClass:\"focus:outline-none hover:opacity-95 transition duration-300 ease-in-out transform hover:-translate-x-2 hover:scale-x-105 h-16 w-14 pr-5 flex justify-center rounded-lg bg-gray-800 items-center\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('svg',{staticClass:\"h-4 text-gray-200\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e()])]):_vm._e(),_c('transition',{attrs:{\"enter-active-class\":\"transform transition ease-in-out duration-500 sm:duration-700\",\"enter-class\":\"-translate-x-full\",\"enter-to-class\":\"translate-x-0\",\"leave-active-class\":\"transform transition ease-in-out duration-500 sm:duration-700\",\"leave-class\":\"translate-x-0\",\"leave-to-class\":\"-translate-x-full\"}},[_c('div',{staticClass:\"w-screen max-w-sm\",class:{\n 'md:max-w-md': _vm.size === 'md',\n 'md:max-w-lg': _vm.size === 'lg',\n 'md:max-w-2xl': _vm.size === '2xl',\n 'md:max-w-3xl': _vm.size === '3xl',\n 'md:max-w-4xl': _vm.size === '4xl',\n 'md:max-w-full': _vm.size === 'full'\n }},[_c('div',{staticClass:\"h-full divide-y divide-gray-200 flex flex-col bg-white shadow-2xl\"},[_c('div',{staticClass:\"h-0 flex-1 space-y-6 overflow-y-scroll\",class:_vm.paddingY},[(_vm.title)?_c('header',{staticClass:\"px-4 sm:px-6\"},[_c('div',{staticClass:\"flex items-start justify-between space-x-3\"},[_c('h2',{staticClass:\"text-lg leading-7 font-medium text-gray-900\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"h-7 flex items-center\"},[_c('button',{staticClass:\"text-gray-400 hover:text-gray-500 transition ease-in-out duration-150\",attrs:{\"aria-label\":\"Close panel\"},on:{\"click\":_vm.close}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])])])]):_vm._e(),_c('div',{staticClass:\"relative flex-1\",class:_vm.paddingContent},[_c('div',[_vm._v(_vm._s(_vm.showingDocument.documentation.id))])])])])])])],1)]),_c('div',{staticClass:\"absolute top-4 right-10\"},[(!_vm.title)?_c('button',{staticClass:\"flex items-center space-x-1 py-1 px-2 text-xs uppercase hover:bg-gray-200 rounded-md shadow-lg bg-white border border-gray-300 text-gray-800 font-extrabold\",on:{\"click\":_vm.close}},[_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-3.5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport DocumentUpload from \"./DocumentUpload.vue\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\n\n@Component({\n components: {\n DocumentUpload\n }\n})\nexport default class SideDocumentUpload extends Vue {\n $refs!: {\n uploadDocument: DocumentUpload\n }\n @Prop()\n showingDocument!: DocumentStatusDto;\n @Prop()\n title!: string;\n @Prop({ default: \"md\" })\n size!: string;\n @Prop({ default: \"px-4 sm:px-6\" })\n paddingContent!: string;\n @Prop({ default: \"py-6\" })\n paddingY!: string;\n created() {\n document.addEventListener(\"keyup\", evt => {\n if (evt.keyCode === 27) {\n this.close();\n }\n });\n }\n close() {\n this.$emit(\"close\");\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideDocumentUpload.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideDocumentUpload.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SideDocumentUpload.vue?vue&type=template&id=320eafe4&\"\nimport script from \"./SideDocumentUpload.vue?vue&type=script&lang=ts&\"\nexport * from \"./SideDocumentUpload.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport documentTypes from \"@/application/dtos/app/v3/documentation/DocumentationTypes\";\nimport { DocumentationDto } from \"@/application/dtos/app/v3/documentation/DocumentationDto\";\nimport Modal from \"@/components/shared/modals/NewModal.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport months from \"@/application/dtos/shared/Months\";\nimport { Month } from \"@/application/dtos/shared/Month\";\nimport DropdownSimple from \"@/components/shared/dropdowns/DropdownSimple.vue\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport { ComplianceStatus } from \"@/application/enums/app/v3/documentation/ComplianceStatus\";\nimport { PeriodStatusDto } from \"@/application/dtos/app/v3/documentation/PeriodStatusDto\";\nimport { LinkStatus } from \"@/application/enums/app/v3/links/LinkStatus\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport { DocumentationType } from \"@/application/enums/app/v3/documentation/DocumentationType\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\nimport { link } from \"fs\";\nimport { DocumentationInstitution } from \"@/application/enums/app/v3/documentation/DocumentationInstitution\";\nimport DocumentUpload from \"../../../documentation/DocumentUpload.vue\";\nimport SideDocumentUpload from \"../../../documentation/SideDocumentUpload.vue\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n // Icon,\n Modal,\n DropdownSimple,\n EmptyState,\n DocumentUpload,\n SideDocumentUpload\n }\n})\nexport default class ProvidersListAndTable extends Vue {\n @Prop({}) year!: number;\n @Prop({}) items!: LinkDto[];\n sortByColumn = \"status\";\n sortDirection = -1;\n headers: any[] = [\n // {\n // title: i18n.t(\"app.providers.visits\")\n // }\n ];\n $refs!: {\n sideUploadDocument: SideDocumentUpload;\n uploadDocument: DocumentUpload;\n modalDocuments: Modal;\n dropdownOptionsDocs: DropdownSimple;\n };\n documentTypes: DocumentTypeDto[] = [];\n selectedProvider: LinkDto | null = null;\n showingDocuments = false;\n months: Month[] = [];\n showingDocument: DocumentStatusDto | undefined = undefined;\n mounted() {\n this.months = months;\n this.documentTypes = documentTypes;\n this.headers.push({\n // name: \"legalName\",\n title: i18n.t(\"models.provider.legalName\")\n });\n this.headers.push({\n title: i18n.t(\"models.contract.plural\")\n });\n this.headers.push({\n title: i18n.t(\"models.documentation.object\")\n });\n this.headers.push({\n title: \"Ene\"\n });\n this.headers.push({\n title: \"Feb\"\n });\n this.headers.push({\n title: \"Mar\"\n });\n this.headers.push({\n title: \"Abr\"\n });\n this.headers.push({\n title: \"May\"\n });\n this.headers.push({\n title: \"Jun\"\n });\n this.headers.push({\n title: \"Jul\"\n });\n this.headers.push({\n title: \"Ago\"\n });\n this.headers.push({\n title: \"Sep\"\n });\n this.headers.push({\n title: \"Oct\"\n });\n this.headers.push({\n title: \"Nov\"\n });\n this.headers.push({\n title: \"Dic\"\n });\n }\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n viewDocuments(provider: LinkDto) {\n this.selectedProvider = provider;\n this.documentTypes = documentTypes;\n this.documentTypes.forEach(element => {\n element.document = this.selectedProvider?.providerWorkspace.documentation.find(\n f => f.type === element.type\n );\n });\n // this.documentTypes = this.documentTypes.sort((x, y) => {\n // if (x.document?.file?.length && y.document?.file?.length) {\n // return (\n // (x.document?.file?.length > y.document?.file?.length ? 1 : -1) ?? 1\n // );\n // }\n // return 1;\n // });\n this.$refs.modalDocuments.show();\n }\n download(provider: LinkDto, documentation: DocumentationDto | undefined) {\n alert(\"not implemented\");\n if (documentation) {\n // const downloadLink = document.createElement(\"a\");\n // const documentName = this.$t(\n // \"models.documentation.\" + DocumentationType[documentation.type]\n // );\n // tslint:disable-next-line: max-line-length\n // const fileName = `${provider.providerWorkspace.taxId} - ${documentation.year}-${documentation.period} - ${documentName}.pdf`;\n // downloadLink.href = \"data:application/pdf;base64\" + documentation.file;\n // downloadLink.download = fileName;\n // downloadLink.click();\n }\n }\n activeMonth(month: Month) {\n const today = new Date();\n if (this.year === 2021 && month.value < 9) {\n return false;\n }\n if (today.getMonth() + 1 < month.value) {\n return false;\n }\n return true;\n }\n getDocuments(provider: LinkDto, month: Month): PeriodStatusDto {\n return (\n provider?.documentation?.periods.find(\n f => f.periodicity === 1 && f.period === month.value\n ) ?? ({} as PeriodStatusDto)\n );\n }\n getTotalDocuments(provider: LinkDto, month: Month): DocumentStatusDto[] {\n const period: PeriodStatusDto = (\n provider?.documentation?.periods.find(\n f => f.periodicity === 1 && f.period === month.value\n ) ?? ({} as PeriodStatusDto)\n );\n if (provider.providerWorkspace.taxId === 'FTE9905255Y1') {\n if (month.value === 12) {\n console.log('FTE9905255Y1', period)\n }\n }\n return period.documents.filter(f => f.documentation?.hasFile)\n }\n\n monthStatus(provider: LinkDto, month: Month) {\n const period = provider.documentation?.periods.find(\n f => f.periodicity === Periodicity.MONTHLY && f.period === month.value\n );\n return period?.status ?? ComplianceStatus.NotRequired;\n }\n getStatus(provider: LinkDto) {\n if (provider.documentation) {\n return this.$t(\"app.documentation.status.\" + ComplianceStatus[provider.documentation.status]);\n }\n }\n newProvider() {\n tinyEventBus().emitter.emit(\"new-provider\");\n }\n currentMonth(month: Month) {\n if (this.items.length > 0 && this.items[0].documentation?.periods) {\n const currentMonthlyPeriods = this.items[0].documentation?.periods.filter(\n f => f.periodicity === Periodicity.MONTHLY && f.isCurrentPeriod\n );\n if (\n currentMonthlyPeriods.length > 0 &&\n currentMonthlyPeriods[0].period === month.value\n ) {\n return true;\n }\n }\n }\n dateAgo(value) {\n return DateUtils.dateAgo(value);\n }\n dateDM(value) {\n return DateUtils.dateCustom(value, \"D MMMM, yyyy\");\n }\n getDocumentName(document: DocumentationDto) {\n return this.$t(\"models.documentation.\" + DocumentationType[document.type])\n }\n getPeriodName(document: DocumentationDto) {\n if (document.periodicity === Periodicity.ONCE) {\n return \"\";\n } else if (document.periodicity === Periodicity.YEARLY) {\n return document.year;\n } else {\n return document.year + \"-\" + document.period;\n }\n }\n institutionName(document: DocumentStatusDto) {\n return DocumentationInstitution[document.documentType.institution];\n }\n viewDocument(document: DocumentStatusDto) {\n // this.showingDocument = document;\n this.$refs.uploadDocument.upload(document)\n }\n downloadAll(link: LinkDto) {\n services.documentation\n .downloadAll(link.id, this.year)\n .then(response => {\n this.downloadData(\n `${this.year} - ${link.providerWorkspace.legalName}.zip`,\n response\n );\n })\n }\n downloadData(fileName, response) {\n const type = \"application/zip\";\n const fileUrl = window.URL.createObjectURL(\n new Blob([response.data], { type })\n );\n const fileLink = document.createElement(\"a\");\n fileLink.href = fileUrl;\n fileLink.setAttribute(\"download\", fileName);\n document.body.appendChild(fileLink);\n fileLink.click();\n }\n get currentWorkspaceId(): string {\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n }\n get sortedItems(): LinkDto[] {\n // const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n // if (!column || column === \"\") {\n // return this.items;\n // }\n return this.items.sort((x, y) => {\n if (x.lastDocument?.createdAt && y.lastDocument?.createdAt) {\n return (x.lastDocument?.createdAt > y.lastDocument?.createdAt ? -1 : 1) ?? -1;\n }\n return -1;\n });\n // return this.items.sort((x, y) => {\n // if (x.providerWorkspace.taxId && y.providerWorkspace.taxId) {\n // if (sortDirection === -1) {\n // return (x.providerWorkspace.taxId > y.providerWorkspace.taxId ? 1 : -1) ?? 1;\n // } else {\n // return (x.providerWorkspace.taxId < y.providerWorkspace.taxId ? 1 : -1) ?? 1;\n // }\n // }\n // return 1;\n // });\n }\n}\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProvidersListAndTable.vue?vue&type=template&id=4f6f237e&\"\nimport script from \"./ProvidersListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProvidersListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport ProvidersListAndTable from \"./ProvidersListAndTable.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { Prop } from \"vue-property-decorator\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { DocumentationDto } from \"@/application/dtos/app/v3/documentation/DocumentationDto\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n ProvidersListAndTable,\n Loading\n }\n})\nexport default class ProvidersList extends Vue {\n @Prop({ default: DocumentationStatusFilter.NonCompliant })\n filter!: DocumentationStatusFilter;\n\n loading = false;\n items: LinkDto[] = [];\n\n searchInput = \"\";\n year = 0;\n // currentStatus: ContractStatus | null = null;\n created() {\n this.year = new Date().getFullYear();\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.items = [];\n this.loading = true;\n services.links\n .getAllProviders(this.filter)\n .then(response => {\n response.forEach(item => {\n item.lastDocument = this.getLastDocument(item);\n });\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n // services.providers.getAll().then(response => {\n // this.pending = response;\n // });\n }\n viewInvitations() {\n tinyEventBus().emitter.emit(\"view-pending-links\");\n // this.$refs.invitations.show();\n }\n getLastDocument(provider: LinkDto): DocumentationDto | undefined {\n if (provider.documents) {\n const sorted = provider.documents.filter(f => f).slice().sort((x, y) => {\n if (x.createdAt && y.createdAt) {\n return x.createdAt > y.createdAt ? 1 : -1;\n }\n return 1\n })\n if (sorted.length > 0) {\n return sorted[0];\n }\n }\n }\n get filteredItems(): LinkDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.createdByUser.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.createdByUser.lastName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n (f.createdByUser.firstName + \" \" + f.createdByUser.lastName)\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items.sort((a, b) => {\n if (a.createdAt && b.createdAt) {\n return a.createdAt > b.createdAt ? 1 : -1\n }\n return 1;\n });\n }\n get sortedItems(): LinkDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProvidersList.vue?vue&type=template&id=1d421e3e&\"\nimport script from \"./ProvidersList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProvidersList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs from \"@/components/shared/tabs/Tabs.vue\";\nimport ProvidersList from \"@/components/app/v3/contacts/providers/list/ProvidersList.vue\";\nimport { DocumentationStatusFilter } from \"@/application/contracts/app/v3/documentation/DocumentationStatusFilter\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport ButtonPrimary from \"@/components/shared/buttons/ButtonPrimary.vue\";\nimport ButtonSecondary from \"@/components/shared/buttons/ButtonSecondary.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Mis proveedores\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs,\n ProvidersList,\n ErrorModal,\n ButtonPrimary,\n ButtonSecondary,\n Loading\n }\n})\nexport default class Providers extends Vue {\n $refs!: {\n list: ProvidersList;\n errorModal: ErrorModal;\n };\n filter: DocumentationStatusFilter = DocumentationStatusFilter.All;\n loading = false;\n newProvider() {\n tinyEventBus().emitter.emit(\"new-provider\");\n }\n reload() {\n this.$refs.list.reload();\n }\n downloadAll() {\n const year = new Date().getFullYear();\n this.loading = true;\n services.documentation\n .downloadAllMyProvidersDocuments(year)\n .then(response => {\n this.downloadData(\n `${year} - Documentación de mis proveedores.zip`,\n response\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error descargando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n downloadData(fileName, response) {\n const type = \"application/zip\";\n\n const fileUrl = window.URL.createObjectURL(\n new Blob([response.data], { type })\n );\n const fileLink = document.createElement(\"a\");\n fileLink.href = fileUrl;\n fileLink.setAttribute(\"download\", fileName);\n document.body.appendChild(fileLink);\n fileLink.click();\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Providers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Providers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Providers.vue?vue&type=template&id=15c82009&\"\nimport script from \"./Providers.vue?vue&type=script&lang=ts&\"\nexport * from \"./Providers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{},[_c('button',{staticClass:\"mb-2 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){_vm.adding = true}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\") + \" \" + _vm.$t(\"models.subscriptionPrice.object\"))+\" \")])]),_c('entity-table-list',{attrs:{\"modelName\":_vm.modelName,\"parentRoute\":_vm.$route.path,\"routeName\":\"prices\",\"columns\":_vm.columns,\"items\":_vm.items,\"allowEdit\":true},on:{\"edit\":_vm.edit}}),(_vm.selected != null)?_c('entity-form',{attrs:{\"modelName\":_vm.modelName,\"object\":_vm.selected,\"columns\":_vm.columns},on:{\"saved\":_vm.onSaved,\"deleted\":_vm.onDeleted,\"canceled\":_vm.onCanceled}}):_vm._e(),(_vm.adding)?_c('entity-form',{attrs:{\"modelName\":_vm.modelName,\"columns\":_vm.columns},on:{\"added\":_vm.onAdded,\"canceled\":_vm.onCanceled}}):_vm._e(),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport EntityTableList from \"@/components/shared/entities/EntityTableList.vue\";\nimport EntityForm from \"@/components/shared/entities/EntityForm.vue\";\nimport { ColumnType } from \"../../../application/dtos/ColumnType\";\nimport {\n columns,\n SubscriptionPriceDto\n} from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n EntityTableList,\n EntityForm\n }\n})\nexport default class Prices extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n modelName = \"subscriptionPrice\";\n columns: ColumnType[] = columns;\n selected: SubscriptionPriceDto | null = null;\n adding = false;\n closeForm() {\n this.selected = null;\n this.adding = false;\n // if (hasChanges) {\n //\n // this.$parent.hasChanges = true;\n // }\n }\n edit(item: SubscriptionPriceDto) {\n this.selected = item;\n }\n\n onAdded(data: SubscriptionPriceDto) {\n data.subscriptionProductId = this.parentProduct.id;\n services.subscriptionProducts\n .createPrice(data)\n .then((response: SubscriptionPriceDto) => {\n this.parentProduct.prices.push(response);\n this.selected = null;\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onSaved(data: SubscriptionPriceDto) {\n services.subscriptionProducts\n .updatePrice(data.id, data)\n .then((response: SubscriptionPriceDto) => {\n const idx = this.items.findIndex(f => f.id === data.id);\n this.items[idx] = response;\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onDeleted(data: SubscriptionPriceDto) {\n services.subscriptionProducts\n .deletePrice(data.id)\n .then(() => {\n this.parentProduct.prices = this.items.filter(f => f.id !== data.id);\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onCanceled() {\n console.log(\"canceled\");\n this.closeForm();\n }\n get items(): SubscriptionPriceDto[] {\n return this.parentProduct.prices;\n }\n get parentProduct(): SubscriptionProductDto {\n // @ts-ignore\n return this.$parent.item as SubscriptionProductDto;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionPrices.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionPrices.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionPrices.vue?vue&type=template&id=b8aa0724&\"\nimport script from \"./SubscriptionPrices.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionPrices.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { SubscriptionCardDto } from \"@/application/dtos/master/subscriptions/SubscriptionCardDto\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\nimport store from \"@/store\";\n\nconst activeProducts = (): TenantProductDto[] => {\n if (store.state.tenant.subscription && store.state.tenant.subscription.myProducts) {\n return store.state.tenant.subscription.myProducts;\n }\n return [];\n};\n\nconst activeProduct = (): TenantProductDto | null => {\n if (store.state.tenant.subscription && store.state.tenant.subscription.myProducts?.length > 0) {\n return store.state.tenant.subscription.myProducts[0];\n }\n return null;\n};\n\nconst defaultSubscriptionCard = (): SubscriptionCardDto | undefined => {\n if (store.state.tenant.subscription && store.state.tenant.subscription.paymentMethods?.length > 0) {\n return store.state.tenant.subscription.paymentMethods[0].card;\n }\n return undefined;\n};\n\nexport default {\n activeProducts,\n activeProduct,\n defaultSubscriptionCard,\n};\n","export const accountRoutes = [\n {\n name: \"account.login\",\n path: \"/entrar\",\n alias: \"/login\",\n component: require(\"@/views/account/Login.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.register\",\n path: \"/registro\",\n alias: \"/register\",\n component: require(\"@/views/account/Register.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.verify\",\n path: \"/verificar\",\n alias: \"/verify\",\n component: require(\"@/views/account/Verify.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.reset\",\n path: \"/restablecer\",\n alias: \"/reset\",\n component: require(\"@/views/account/Reset.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.forgot\",\n path: \"/olvide-contrasena\",\n alias: \"/forgot-password\",\n component: require(\"@/views/account/Forgot.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.member.invitation\",\n path: \"/invitacion\",\n alias: \"/invitation\",\n component: require(\"@/views/account/TenantMemberInvitation.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"account.join\",\n path: \"/unirse/:linkUrl\",\n alias: \"/join/:linkUrl\",\n component: require(\"@/views/account/InviteURL.vue\").default,\n meta: {\n requiresAuth: false,\n },\n },\n {\n name: \"logout\",\n path: \"logout\",\n component: require(\"@/views/account/Logout.vue\").default,\n },\n];\n","import { UserType } from \"@/application/enums/master/users/UserType\";\n\nexport const adminRoutes = {\n name: \"admin\",\n path: \"/admin\",\n component: require(\"@/views/admin/Index.vue\").default,\n meta: {\n requiresAuth: true,\n userTypes: [UserType.Admin],\n },\n redirect: \"admin/tenants\",\n children: [\n {\n name: \"admin.tenants\",\n path: \"organizaciones\",\n alias: \"tenants\",\n component: require(\"@/views/admin/tenants/Tenants.vue\").default,\n },\n {\n name: \"admin.tenant\",\n path: \"organizacion\",\n alias: \"tenant\",\n component: require(\"@/views/admin/tenants/Tenant.vue\").default,\n children: [\n {\n name: \"admin.tenants.profile\",\n path: \"perfil/:id\",\n alias: \"profile/:id\",\n component: require(\"@/components/admin/tenants/TenantProfile.vue\").default,\n },\n {\n name: \"admin.tenants.subscription\",\n path: \"subscripcion/:id\",\n alias: \"subscription/:id\",\n component: require(\"@/components/admin/tenants/TenantSubscription.vue\").default,\n },\n ],\n },\n {\n name: \"admin.users\",\n path: \"users\",\n alias: \"usuarios\",\n component: require(\"@/views/admin/Users.vue\").default,\n },\n {\n name: \"admin.pricing\",\n path: \"products\",\n alias: \"productos\",\n component: require(\"@/views/admin/pricing/SubscriptionProductsList.vue\").default,\n\n children: [\n {\n name: \"admin.pricing.new\",\n path: \"new\",\n alias: \"nuevo\",\n component: require(\"@/views/admin/pricing/SubscriptionProductsForm.vue\").default,\n },\n ],\n },\n {\n name: \"admin.product\",\n path: \"products/:id\",\n alias: \"productos/:id\",\n component: require(\"@/views/admin/pricing/SubscriptionProduct.vue\").default,\n children: [\n {\n name: \"admin.product.overview\",\n path: \"overview\",\n alias: \"resumen\",\n component: require(\"@/views/admin/pricing/SubscriptionProductOverview.vue\").default,\n },\n {\n name: \"admin.product.edit\",\n path: \":id/edit\",\n alias: \":id/editar\",\n component: require(\"@/views/admin/pricing/SubscriptionProductsForm.vue\").default,\n },\n {\n name: \"admin.product.prices\",\n path: \"prices\",\n alias: \"precios\",\n component: require(\"@/views/admin/pricing/SubscriptionPrices.vue\").default,\n children: [\n {\n name: \"admin.product.prices.edit\",\n path: \":price/edit\",\n alias: \":price/editar\",\n component: require(\"@/views/admin/pricing/SubscriptionPricesForm.vue\").default,\n },\n ],\n },\n {\n name: \"admin.product.features\",\n path: \"features\",\n alias: \"caracteristicas\",\n component: require(\"@/views/admin/pricing/SubscriptionFeatures.vue\").default,\n },\n ],\n },\n ],\n};\n","import { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\n\nexport const appSettingsRoutes = {\n name: \"settings\",\n path: \"settings\",\n alias: \"ajustes\",\n component: require(\"@/views/app/settings/Settings.vue\").default,\n redirect: \"settings/profile\",\n children: [\n {\n name: \"settings.profile\",\n path: \"profile\",\n alias: \"perfil\",\n component: require(\"@/views/app/settings/profile/Profile.vue\").default,\n },\n {\n name: \"settings.tenant\",\n path: \"organization\",\n alias: \"organizacion\",\n component: require(\"@/views/app/settings/tenant/TenantCurrent.vue\").default,\n redirect: \"organization/general\",\n children: [\n {\n path: \"general\",\n name: \"settings.tenant.general\",\n component: require(\"@/components/app/settings/tenant/TenantSettings.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER],\n },\n },\n {\n name: \"settings.tenant.subscription\",\n path: \"subscription\",\n alias: \"subscripcion\",\n component: require(\"@/components/app/settings/tenant/subscription/TenantSubscription.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER],\n },\n },\n {\n name: \"settings.tenant.workspaces\",\n path: \"empresas\",\n alias: \"companies\",\n component: require(\"@/components/app/workspaces/WorkspacesList.vue\").default,\n meta: {\n requiresAuth: true,\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n children: [\n {\n name: \"settings.tenant.workspaces.new\",\n alias: \"new\",\n path: \"nueva\",\n component: require(\"@/components/app/workspaces/NewWorkspace.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n {\n name: \"settings.tenant.workspaces.edit\",\n alias: \"edit/:id\",\n path: \"editar/:id\",\n component: require(\"@/components/app/workspaces/EditWorkspace.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n {\n name: \"settings.tenant.workspaces.credentials.new\",\n alias: \"new-credential/:id\",\n path: \"nueva-credencial/:id\",\n component: require(\"@/components/app/workspaces/NewWorkspaceCredential.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n {\n name: \"settings.tenant.workspaces.credentials.edit\",\n alias: \"edit-credential/:id\",\n path: \"editar-credencial/:id\",\n component: require(\"@/components/app/workspaces/EditWorkspaceCredential.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n ],\n },\n {\n name: \"settings.tenant.members\",\n path: \"members\",\n alias: \"miembros\",\n component: require(\"@/components/app/settings/tenant/TenantMembers.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n children: [\n {\n name: \"settings.tenant.members.new\",\n path: \"new\",\n alias: \"nuevo\",\n component: require(\"@/components/app/settings/members/NewMember.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n {\n name: \"settings.tenant.members.edit\",\n path: \"edit/:id\",\n alias: \"editar/:id\",\n component: require(\"@/components/app/settings/members/EditMember.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN],\n },\n },\n ],\n },\n ],\n },\n ],\n};\n","import { appSettingsRoutes } from \"./appSettingsRoutes\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\n\nexport const appRoutes = {\n name: \"app\",\n path: \"/app\",\n component: require(\"@/views/app/Index.vue\").default,\n meta: {\n requiresAuth: true,\n },\n redirect: \"/app/dashboard\",\n children: [\n {\n name: \"app.dashboard\",\n path: \"dashboard\",\n component: require(\"@/views/app/dashboard/Dashboard.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.cfdis.upload\",\n alias: \"upload/cfdis\",\n path: \"subir/cfdis\",\n component: require(\"@/views/app/v3/cfdis/CfdisUpload.vue\").default,\n },\n {\n name: \"app.providers\",\n path: \"proveedores/:status?\",\n alias: \"providers/:status?\",\n component: require(\"@/views/app/v3/contacts/Providers.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.provider\",\n path: \"proveedor\",\n alias: \"provider\",\n component: require(\"@/views/app/v3/contacts/Provider.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n children: [\n {\n name: \"app.providers.profile\",\n path: \"perfil/:id\",\n alias: \"profile/:id\",\n component: require(\"@/components/app/v3/contacts/LinkProfile.vue\").default,\n },\n {\n name: \"app.providers.documentation\",\n path: \"documentacion/:id\",\n alias: \"documentation/:id\",\n component: require(\"@/components/app/v3/contacts/LinkDocumentation.vue\").default,\n },\n ],\n },\n {\n name: \"app.employees.new\",\n path: \"colaboradores/nuevo\",\n alias: \"employees/new\",\n component: require(\"@/views/app/v3/employees/NewEmployee.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.employee\",\n path: \"colaborador\",\n alias: \"employee\",\n component: require(\"@/views/app/v3/employees/Employee.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n children: [\n {\n name: \"app.employees.profile\",\n path: \"perfil/:id\",\n alias: \"profile/:id\",\n component: require(\"@/components/app/v3/employees/profile/EmployeeProfile.vue\").default,\n },\n {\n name: \"app.employees.cfdis\",\n path: \"cfdis/:id\",\n component: require(\"@/components/app/v3/employees/profile/EmployeeCFDIs.vue\").default,\n },\n ],\n },\n {\n name: \"app.clients\",\n path: \"clientes\",\n alias: \"clients\",\n component: require(\"@/views/app/v3/contacts/Clients.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.links\",\n path: \"enlaces\",\n alias: \"links\",\n component: require(\"@/views/app/v3/contacts/Links.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n children: [\n {\n name: \"app.links.pending\",\n path: \"pendientes\",\n alias: \"pending\",\n component: require(\"@/components/app/v3/contacts/LinksPendingList.vue\").default,\n },\n {\n name: \"app.links.linked\",\n path: \"enlazados\",\n alias: \"linked\",\n component: require(\"@/components/app/v3/contacts/links/LinksList.vue\").default,\n },\n ],\n },\n {\n name: \"app.employees\",\n path: \"colaboradores\",\n alias: \"employees\",\n component: require(\"@/views/app/v3/employees/Employees.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.cfdis\",\n path: \"cfdis\",\n alias: \"invoices\",\n component: require(\"@/views/app/v3/cfdis/Cfdis.vue\").default,\n redirect: \"/app/cfdis/nomina\",\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n children: [\n {\n name: \"app.cfdis.payroll\",\n path: \"nomina\",\n alias: \"payroll\",\n component: require(\"@/views/app/v3/cfdis/CfdisPayroll.vue\").default,\n },\n {\n name: \"app.cfdis.sync\",\n path: \"extracciones\",\n alias: \"extractions\",\n component: require(\"@/views/app/v3/cfdis/CfdisSync.vue\").default,\n },\n ],\n },\n {\n name: \"app.contracts\",\n path: \"contratos/:status?\",\n alias: \"contracts/:status?\",\n component: require(\"@/views/app/v3/contracts/Contracts.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.contracts.new\",\n path: \"contrato/nuevo\",\n alias: \"contract/new\",\n component: require(\"@/views/app/v3/contracts/NewContract.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n {\n name: \"app.contracts.details\",\n path: \"contrato\",\n alias: \"contract\",\n component: require(\"@/views/app/v3/contracts/Contract.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n children: [\n {\n name: \"app.contracts.view\",\n path: \":id\",\n alias: \":id\",\n component: require(\"@/views/app/v3/contracts/ContractDetails.vue\").default,\n children: [\n {\n name: \"app.contracts.sign\",\n path: \"firmar\",\n alias: \"sign\",\n component: require(\"@/views/app/v3/contracts/ContractSign.vue\").default,\n },\n ],\n },\n {\n name: \"app.contracts.employees\",\n path: \":id/colaboradores\",\n alias: \":id/employees\",\n component: require(\"@/views/app/v3/contracts/ContractEmployees.vue\").default,\n },\n {\n name: \"app.contracts.cfdis\",\n path: \":id/cfdis\",\n alias: \":id/cfdis\",\n component: require(\"@/views/app/v3/contracts/ContractCfdis.vue\").default,\n },\n ],\n },\n {\n name: \"app.visits\",\n path: \"visitas\",\n alias: \"visits\",\n component: require(\"@/views/app/v3/visits/Visits.vue\").default,\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER, TenantUserRole.GUEST],\n },\n {\n name: \"app.visits.list\",\n path: \"visitas/lista/:id\",\n alias: \"visits/lista/:id\",\n component: require(\"@/views/app/v3/visits/VisitsList.vue\").default,\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER, TenantUserRole.GUEST],\n },\n {\n name: \"app.visits.new\",\n path: \"visitas/nueva/:id\",\n alias: \"visits/new/:id\",\n component: require(\"@/views/app/v3/visits/NewVisit.vue\").default,\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER, TenantUserRole.GUEST],\n },\n // {\n // name: \"app.projects\",\n // alias: \"projects\",\n // path: \"proyectos\",\n // component: require(\"@/views/app/projects/ProjectsList.vue\").default,\n // meta: {\n // roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n // },\n // children: [\n // {\n // name: \"app.projects.new\",\n // alias: \"new\",\n // path: \"nuevo\",\n // component: require(\"@/views/app/projects/ProjectsForm.vue\").default,\n // meta: {\n // roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n // },\n // },\n // {\n // name: \"app.projects.edit\",\n // alias: \"edit/:id\",\n // path: \"editar/:id\",\n // component: require(\"@/views/app/projects/ProjectsForm.vue\").default,\n // meta: {\n // roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n // },\n // },\n // ],\n // },\n {\n name: \"app.documentation\",\n path: \"documentacion\",\n alias: \"documentation\",\n component: require(\"@/views/app/v3/documentation/MyDocumentation.vue\").default,\n meta: {\n roles: [TenantUserRole.OWNER, TenantUserRole.ADMIN, TenantUserRole.MEMBER],\n },\n },\n // {\n // name: \"app.resources\",\n // alias: \"resources\",\n // component: require(\"@/views/app/resources/MyResources.vue\").default,\n // },\n {\n name: \"app.unauthorized\",\n path: \"denegado\",\n alias: \"unauthorized\",\n component: require(\"@/views/app/common/Unauthorized.vue\").default,\n },\n appSettingsRoutes,\n ],\n};\n","export default [\n {\n name: \"landing\",\n path: \"/\",\n component: require(\"@/views/marketing/Product.vue\").default,\n },\n {\n name: \"prices\",\n path: \"/precios\",\n alias: \"/prices\",\n component: require(\"@/views/marketing/Pricing.vue\").default,\n },\n {\n name: \"contact\",\n path: \"/contacto\",\n alias: \"/contact\",\n component: require(\"@/views/marketing/Contact.vue\").default,\n },\n {\n name: \"terms\",\n path: \"/terminos-y-condiciones\",\n alias: \"/terms-and-conditions\",\n component: require(\"@/views/marketing/Terms.vue\").default,\n },\n {\n name: \"privacy\",\n path: \"/politica-de-privacidad\",\n alias: \"/privacy-policy\",\n component: require(\"@/views/marketing/Privacy.vue\").default,\n },\n];\n","import { RouteConfig } from \"vue-router\";\nimport { accountRoutes } from \"./accountRoutes\";\nimport { adminRoutes } from \"./adminRoutes\";\nimport { appRoutes } from \"./appRoutes\";\nimport marketingRoutes from \"./marketingRoutes\";\nconst routes: RouteConfig[] = [\n {\n path: \"*\",\n redirect: \"/\",\n },\n ...marketingRoutes,\n ...accountRoutes,\n appRoutes,\n adminRoutes,\n];\nexport default routes;\n","import Vue from \"vue\";\nimport VueRouter from \"vue-router\";\nimport store from \"@/store\";\nimport routes from \"./routes\";\n\nimport VueMeta from \"vue-meta\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { TenantProductDto } from \"@/application/dtos/master/tenants/TenantProductDto\";\n\nVue.use(VueRouter);\nVue.use(VueMeta);\n\nconst router = new VueRouter({\n mode: \"history\",\n routes,\n});\n\nfunction hasQueryParams(route) {\n return !!Object.keys(route.query).length;\n}\n\nrouter.beforeEach((to, from, next) => {\n if (!to.path.includes(\"app\") && !to.path.includes(\"admin\")) {\n setTimeout(() => {\n window.scrollTo(0, 0);\n }, 100);\n }\n if (to.matched.some((record) => record.meta.requiresAuth)) {\n if (!store.state.auth.authenticated) {\n const redirect = to.query.redirect ? \"\" : to.fullPath;\n next({\n name: \"account.login\",\n query: {\n redirect,\n },\n });\n return;\n }\n } else if (to.matched.some((record) => record.meta.requiresLoggedOut)) {\n if (store.state.auth.authenticated) {\n next({\n name: \"app.dashboard\",\n query: {\n redirect: to.fullPath,\n },\n });\n return;\n }\n }\n\n const userTypesAllowed = to.meta.userTypes as UserType[];\n if (to.matched.some((record) => record.meta && record.meta.userTypes) && userTypesAllowed) {\n const currentType = store.state.account.user?.type as UserType;\n // if (debug) {\n // console.log(\"WILL CHECK USER TYPES\");\n // console.log(\"USER TYPES ALLOWED:\" + JSON.stringify(userTypesAllowed));\n // console.log(\"CURRENT USER TYPE:\" + JSON.stringify(currentType));\n // }\n if (userTypesAllowed.some((f) => f === currentType) === false) {\n console.log(\"unauthorized\");\n next({\n name: \"app.unauthorized\",\n });\n return;\n }\n }\n\n const rolesAllowed = to.meta.roles as TenantUserRole[];\n if (to.matched.some((record) => record.meta && record.meta.roles) && rolesAllowed) {\n const currentRole = store.state.tenant.current?.currentUser.role as TenantUserRole;\n // if (debug) {\n // console.log(\"WILL CHECK ROLE PERMISSIONS\");\n // console.log(\"ROLES ALLOWED:\" + JSON.stringify(rolesAllowed));\n // console.log(\"CURRENT ROLE:\" + JSON.stringify(currentRole));\n // }\n if (rolesAllowed.some((f) => f === currentRole) === false) {\n // console.log(\"unauthorized\");\n next({\n name: \"app.unauthorized\",\n });\n return;\n }\n }\n\n const productsAllowed = to.meta.subscriptions as SubscriptionProductDto[];\n if (to.matched.some((record) => record.meta && record.meta.subscriptions) && productsAllowed) {\n const currentProduct = store.state.tenant.subscription?.activeProduct as TenantProductDto | undefined;\n // if (debug) {\n // console.log(\"WILL CHECK SUBSCRIPTION PERMISSIONS\");\n // console.log(\n // \"SUBSCRIPTIONS ALLOWED:\" +\n // JSON.stringify(productsAllowed.map((f) => f.title))\n // );\n // // tslint:disable-next-line: max-line-length\n // console.log(\n // \"CURRENT SUBSCRIPTION:\" +\n // JSON.stringify(\n // currentProduct && currentProduct.subscriptionProduct\n // ? currentProduct.subscriptionProduct.title\n // : \"NONE\"\n // )\n // );\n // }\n if (!currentProduct || productsAllowed.some((f) => f.tier === currentProduct.subscriptionProduct.tier) === false) {\n // if (debug) {\n // console.log(\"unauthorized\");\n // }\n next({\n name: \"app.unauthorized\",\n });\n return;\n }\n }\n\n if (to.path.includes(\"precios\") || to.path.includes(\"crear\") || to.path.includes(\"prices\") || to.path.includes(\"register\")) {\n // @ts-ignore\n if (window.analytics) {\n // @ts-ignore\n window.analytics.page(to.path);\n }\n if (!hasQueryParams(to) && hasQueryParams(from)) {\n next({\n path: to.path,\n query: from.query,\n });\n return;\n } else {\n next();\n }\n }\n\n next();\n});\nexport default router;\n","export enum TenantUserJoined {\n CREATOR,\n JOINED_BY_INVITATION,\n JOINED_BY_LINK,\n JOINED_BY_PUBLIC_URL,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('invoice-extractions-list',{ref:\"list\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum ExtractionStatus {\n PENDING,\n RUNNING,\n FINISHED,\n FAILED,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-1\"},[_c('div',{staticClass:\" flex items-center justify-between space-x-2\"},[_c('h3',{staticClass:\"font-bold flex items-center truncate\"},[_vm._v(\" Extracciones \"),(!_vm.loading)?_c('span',{staticClass:\"ml-2 inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium bg-gray-50 text-gray-800 border border-gray-300\"},[_vm._v(\" \"+_vm._s(_vm.items.length)+\" \")]):_vm._e()]),_c('ButtonPrimary',{attrs:{\"type\":\"button\"},on:{\"click\":_vm.syncPending}},[_vm._v(\"Sincronizar \")])],1),_c('InvoiceExtractionsListAndTable',{attrs:{\"items\":_vm.items},on:{\"sync\":_vm.syncPending}})],1)]),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.confirmedSync}}),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.items.length === 0)?_c('div',[(_vm.workspaceWithoutFiscalId)?_c('span',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar credenciales',\n thereAreNo:\n 'No has agregado tus credenciales del SAT para obtener automáticamente los CFDIs y la Opinión de Cumplimiento'\n },\"icon\":\"refresh\"},on:{\"new\":function($event){return _vm.$router.push({\n name: 'settings.tenant.workspaces.credentials.new',\n params: { id: _vm.workspaceWithoutFiscalId }\n })}}})],1):_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Sincronizar CFDIs del SAT',\n thereAreNo: 'No hay extracciones'\n },\"icon\":\"refresh\"},on:{\"new\":function($event){return _vm.$emit('sync')}}})],1):_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-6 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200 text-sm\"},_vm._l((_vm.items),function(extraction,idxExtraction){return _c('tr',{key:idxExtraction},[_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[(extraction.processed)?_c('span',{staticClass:\"inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium bg-teal-50 text-teal-800 border border-teal-300\"},[_vm._v(\" \"+_vm._s(_vm.status(extraction))+\" \")]):_c('span',{staticClass:\"inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium bg-yellow-50 text-yellow-800 border border-yellow-300\"},[_vm._v(\" \"+_vm._s(_vm.status(extraction))+\" \")])]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(_vm.period(extraction))+\" \")]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_vm._v(\" \"+_vm._s(extraction.invoices)+\" \")])])}),0)])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Icon from \"@/assets/contracts/WorkerMale.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { InvoiceExtractionDto } from \"@/application/dtos/app/v3/cfdis/sat/InvoiceExtractionDto\";\nimport { ExtractionStatus } from \"@/application/enums/app/v3/cfdis/ExtractionStatus\";\nimport { Prop } from \"vue-property-decorator\";\nimport store from \"@/store\";\n\n@Component({\n components: {\n Icon,\n EmptyState,\n ConfirmModal\n }\n})\nexport default class InvoiceExtractionsListAndTable extends Vue {\n @Prop({}) items!: InvoiceExtractionDto[];\n headers: any[] = [];\n mounted() {\n this.headers = [\n // {\n // name: \"id\",\n // title: \"ID\"\n // },\n {\n name: \"status\",\n title: \"Estatus\"\n },\n {\n title: \"Periodo\"\n },\n // {\n // name: \"startedAt\",\n // title: \"Comenzó\"\n // },\n // {\n // name: \"finishedAt\",\n // title: \"Terminó\"\n // },\n {\n name: \"invoices\",\n title: \"CFDIs\"\n }\n ];\n }\n dateYMDHMS(value: Date | undefined) {\n return DateUtils.dateYMDHMS(value);\n }\n status(item: InvoiceExtractionDto) {\n if (item.processed) {\n return \"Sincronizado\";\n } else if (item.status == ExtractionStatus.PENDING) {\n return \"Extrayendo del SAT...\";\n } else if (item.status == ExtractionStatus.RUNNING) {\n return \"Extrayendo del SAT...\";\n } else if (item.status == ExtractionStatus.FINISHED) {\n return \"Pendiente por sincronizar\";\n } else if (item.status == ExtractionStatus.FAILED) {\n return \"Error: \" + item.errorCode;\n }\n }\n period(item: InvoiceExtractionDto) {\n if (!item.periodFrom && !item.periodTo) {\n return \"\";\n }\n if (item.periodFrom && item.periodTo) {\n return `${this.dateYMDHMS(item.periodFrom)} - ${this.dateYMDHMS(\n item.periodTo\n )}`;\n } else if (item.periodFrom) {\n return `Desde ${this.dateYMDHMS(item.periodFrom)}`;\n } else if (item.periodTo) {\n return `Hasta ${this.dateYMDHMS(item.periodTo)}`;\n }\n }\n // type(item: InvoiceExtractionDto) {\n // let type = ExtractionType.INVOICE;\n // return this.$t(\"app.cfdis.extractions.types.\" + ExtractionType[item.type]);\n // }\n get workspaceWithoutFiscalId(): string {\n if (!store.state.tenant.currentWorkspace?.fiscalWorkspace)\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n return \"\";\n }\n}\n","export enum SyncCfdisStatus {\n NothingToSync,\n Persisted,\n Extracted,\n LimitReached,\n Running,\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceExtractionsListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceExtractionsListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InvoiceExtractionsListAndTable.vue?vue&type=template&id=48091ecc&\"\nimport script from \"./InvoiceExtractionsListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./InvoiceExtractionsListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport InvoiceExtractionsListAndTable from \"./InvoiceExtractionsListAndTable.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { InvoiceExtractionDto } from \"@/application/dtos/app/v3/cfdis/sat/InvoiceExtractionDto\";\nimport ButtonPrimary from \"../../../../shared/buttons/ButtonPrimary.vue\";\nimport { ExtractionStatus } from \"@/application/enums/app/v3/cfdis/ExtractionStatus\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { SyncCfdisStatus } from \"@/application/enums/app/v3/cfdis/SyncCfdisStatus\";\nimport store from \"@/store\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n InvoiceExtractionsListAndTable,\n Loading,\n SuccessModal,\n ButtonPrimary,\n ErrorModal,\n ConfirmModal\n }\n})\nexport default class InvoiceExtractionsList extends Vue {\n $refs!: {\n successModal: SuccessModal;\n errorModal: ErrorModal;\n confirmModal: ConfirmModal;\n };\n loading = false;\n items: InvoiceExtractionDto[] = [];\n\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.cfdis\n .getAllExtractions()\n .then(response => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n syncPending() {\n if (this.workspaceWithoutFiscalId) {\n this.$refs.errorModal.show(\n \"Faltan credenciales\",\n \"Ve a Ajustes -> Empresas -> Agregar credenciales para poder sincronizar tus CFDIs del SAT.\"\n );\n return;\n }\n // if (this.items.length > 0 && !this.hasReady) {\n // const now = new Date();\n // if (this.items[0].periodTo !== undefined) {\n // const lastPeriodTo = new Date(this.items[0].periodTo);\n // const diffMs = Math.abs(\n // lastPeriodTo.getTime() - new Date(now).getTime()\n // );\n // const diffDays = Math.floor(diffMs / 86400000); // days\n // const diffHrs = Math.floor((diffMs % 86400000) / 3600000); // hours\n // const diffMins = Math.round(((diffMs % 86400000) % 3600000) / 60000); // minutes\n // console.log(\"lastPeriodTo\", lastPeriodTo);\n // console.log(\"now\", now);\n // console.log(\"diffDays\", diffDays);\n // console.log(\"diffHrs\", diffHrs);\n // console.log(\"diffMins\", diffMins);\n // if (diffHrs < 1) {\n // this.$refs.errorModal.show(\n // \"Límite excedido\",\n // \"Espera una hora para sincronizar de nuevo.\"\n // );\n // return;\n // }\n // }\n // }\n this.confirmedSync();\n // this.$refs.confirmModal.show(\n // \"¿Sincronizar?\",\n // \"Sincronizar\",\n // \"Atrás\",\n // \"Se utilizarán tus credenciales del SAT para obtener los CFDIs hasta la hora actual.\"\n // );\n }\n confirmedSync() {\n this.loading = true;\n services.cfdis\n .sync()\n .then(response => {\n this.reload();\n if (response.status === SyncCfdisStatus.NothingToSync) {\n this.$refs.errorModal.show(\"Nada pendiente\", response.message);\n } else if (response.status === SyncCfdisStatus.Persisted) {\n this.$refs.successModal.show(\"CFDIs extraídos\", response.message);\n } else if (response.status === SyncCfdisStatus.Running) {\n this.$refs.errorModal.show(\"Ejecución en proceso\", response.message);\n } else if (response.status === SyncCfdisStatus.Extracted) {\n this.$refs.successModal.show(\n \"Extracción solicitada\",\n response.message\n );\n } else if (response.status === SyncCfdisStatus.LimitReached) {\n this.$refs.errorModal.show(\"Límite alcanzado\", response.message);\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n get workspaceWithoutFiscalId(): string {\n if (!store.state.tenant.currentWorkspace?.fiscalWorkspace)\n return store.state.tenant.currentWorkspace?.id ?? \"\";\n return \"\";\n }\n get hasReady() {\n return (\n this.items.filter(\n f => !f.processed && f.status === ExtractionStatus.FINISHED\n ).length > 0\n );\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceExtractionsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceExtractionsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InvoiceExtractionsList.vue?vue&type=template&id=b68762ba&\"\nimport script from \"./InvoiceExtractionsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./InvoiceExtractionsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport InvoiceExtractionsList from \"@/components/app/v3/cfdis/extractions/InvoiceExtractionsList.vue\";\n\n@Component({\n metaInfo: {\n title: \"Extracciones\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n InvoiceExtractionsList\n }\n})\nexport default class CfdisSync extends Vue {\n $refs!: {\n list: InvoiceExtractionsList;\n };\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisSync.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisSync.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisSync.vue?vue&type=template&id=45e846b4&\"\nimport script from \"./CfdisSync.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisSync.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum LinkStatus {\n PENDING,\n LINKED,\n REJECTED,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.closeDropdown),expression:\"closeDropdown\"}],staticClass:\"relative\"},[_c('span',{staticClass:\"inline-block w-full rounded-sm shadow-sm\"},[_c('button',{staticClass:\"cursor-default relative w-full rounded-sm border border-gray-300 bg-white pl-3 pr-10 py-2 text-left focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition ease-in-out duration-150 sm:text-sm sm:leading-5\",attrs:{\"type\":\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":\"true\",\"aria-labelledby\":\"listbox-label\"},on:{\"click\":function($event){_vm.droppedDown = !_vm.droppedDown}}},[_c('span',{staticClass:\"block truncate\"},[_vm._v(\" \"+_vm._s(_vm.translate(_vm.chosen) ? _vm.translate(_vm.chosen) : \"- \" + _vm.$t(\"shared.selectOption\") + \" - \")+\" \")]),_c('span',{staticClass:\"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"none\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M7 7l3-3 3 3m0 6l-3 3-3-3\",\"stroke-width\":\"1.5\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])])])]),(_vm.droppedDown)?_c('div',{staticClass:\"absolute object-top mt-1 w-full rounded-sm bg-white shadow-lg\"},[_c('ul',{staticClass:\"max-h-60 rounded-sm py-1 text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5\",attrs:{\"tabindex\":\"-1\",\"role\":\"listbox\",\"aria-labelledby\":\"listbox-label\"}},_vm._l((_vm.options),function(option,index){return _c('li',{key:index,staticClass:\"text-gray-900 cursor-pointer select-none relative py-2 pl-3 pr-9 hover:bg-theme-100\",attrs:{\"id\":\"listbox-option-0\",\"role\":\"option\"}},[_c('a',{on:{\"click\":function($event){return _vm.setValue(option)}}},[_c('span',{staticClass:\"font-normal block truncate\"},[_vm._v(\" \"+_vm._s(_vm.translate(option))+\" \")]),(_vm.chosen && _vm.chosen == option)?_c('span',{staticClass:\"text-theme-600 absolute inset-y-0 right-0 flex items-center pr-4\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):_vm._e()])])}),0)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({})\nexport default class Selector extends Vue {\n @Prop({ required: true }) options: any;\n @Prop() selected: any;\n @Prop() translatePath: any;\n dropdownVisible = false;\n droppedDown = false;\n chosen = this.selected;\n toggle() {\n this.dropdownVisible = !this.dropdownVisible;\n }\n setValue(option) {\n this.closeDropdown();\n this.chosen = option;\n this.toggle();\n this.$emit(\"selected\", option);\n }\n closeDropdown() {\n this.droppedDown = false;\n }\n translate(value) {\n if (!this.translatePath || this.translatePath === \"\") {\n return value;\n }\n if (value) {\n const translated = this.$t(this.translatePath + \".\" + value);\n if (translated) {\n return translated;\n } else {\n return value;\n }\n }\n return value;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Selector.vue?vue&type=template&id=e448d1d6&\"\nimport script from \"./Selector.vue?vue&type=script&lang=ts&\"\nexport * from \"./Selector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { TinyEmitter } from \"tiny-emitter\";\nconst emitter = new TinyEmitter();\nconst tinyEventBus = (): any => {\n return { emitter };\n};\nexport default tinyEventBus;\n","export enum FiscalCredentialType {\n CIEC,\n EFIRMA,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Header'),_c('div',{staticClass:\"py-6 bg-white\"},[_c('div',{staticClass:\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"sm:flex sm:flex-col sm:align-center space-y-4\"},[_c('div',{staticClass:\"text-center\"},[_c('h1',{staticClass:\"mb-4 text-2xl font-bold md:text-3xl lg:text-4xl\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.policy.title\"))+\" \")])]),_vm._m(0)])])]),_c('Footer')],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"space-y-4\"},[_c('p',[_vm._v(\" A los Usuarios (como se definen posteriormente), les informamos que el siguiente Aviso de Privacidad, les es aplicable por el simple uso o acceso a cualquiera de las páginas, aplicaciones web y móviles, softwares y, aplicaciones en general, que integran el Portal de https://delega.com.mx/ (en adelante y, conjunta e indistintamente, el \\\"Portal\\\"), por lo que entenderemos que lo acepta y acuerda en obligarse en su cumplimiento. \"),_c('strong',[_vm._v(\"En caso de que no esté de acuerdo con el Aviso de Privacidad y/o con los Términos y Condiciones a su disposición, deberá abstenerse de acceder o utilizar el Portal. \")])]),_c('p',[_vm._v(\" El Usuario, entendido como aquella persona que realiza el uso o accede, mediante equipo de cómputo y/o cualquier equipo de comunicación o dispositivo, al Portal (en adelante el “Usuario”), acepta plena y sin reserva todas y cada una de las disposiciones incluidas en el presente Aviso de Privacidad. \")]),_c('p',[_c('strong',[_vm._v(\"RESPONSABLE DEL TRATAMIENTO DE SUS DATOS PERSONALES\")]),_vm._v(\". Para ABSYS SC (en adelante la “Empresa”) la seguridad de los Usuarios es nuestra prioridad, por lo que protegemos sus datos personales mediante el uso, aplicación y mantenimiento de altas medidas de seguridad técnicas, físicas y administrativas. \")]),_c('p',[_vm._v(\" Como Usuario, usted tiene la oportunidad de escoger entre una amplia gama de productos y servicios a través de nuestro Portal, sabiendo que sus datos personales estarán protegidos y serán tratados de manera confidencial. Les informamos que el RESPONSABLE de recabar y dar tratamiento y/o utilizar los datos personales que el Usuario proporcione a través del Portal, es la Empresa, así como sus subsidiarias, asociadas, sociedades controladoras y afiliadas. \")]),_c('p',[_c('strong',[_vm._v(\"DOMICILIO DEL RESPONSABLE\")]),_vm._v(\". Para efectos del presente aviso de privacidad, la Empresa señala, individualmente, como su domicilio, el ubicado en Aurora 447B, Chapalita, Zapopan, Jalisco, C. P. 45040 \")]),_c('p',[_c('strong',[_vm._v(\"DATOS PERSONALES QUE PUEDEN SER RECOLECTADOS\")]),_vm._v(\". Los datos personales que la Empresa puede recopilar del Usuario al utilizar el Portal y/o contratar nuestros servicios y productos, son los siguientes: \")]),_c('p',[_vm._v(\"I. Nombre\")]),_c('p',[_vm._v(\"II. Correo electrónico\")]),_c('p',[_vm._v(\"III. Razón social\")]),_c('p',[_vm._v(\"IV. Domicilio\")]),_c('p',[_vm._v(\"V. Identificadores únicos de dispositivos\")]),_c('p',[_vm._v(\"VI. Cookies\")]),_c('p',[_vm._v(\"VII. Datos de uso\")]),_c('p',[_vm._v(\"VIII. Documentos relacionados con cumplimiento fiscal ante el SAT\")]),_c('p',[_vm._v(\"IX. Documentos relacionados con cumplimiento en materia de seguridad social ante el IMSS e INFONAVIT\")]),_c('p',[_vm._v(\"X. Documentos de cumplimiento con el Registro de Empresas Prestadoras de Servicios Especializados (REPSE)\")]),_c('p',[_vm._v(\"XI. Contratos, ordenes de compra, convenios u otros documentos necesarios para soportar materialidad de operaciones ante la autoridad.\")]),_c('p',[_vm._v(\"XII. Documentación relacionada con los trabajadores que prestan servicio a clientes.\")]),_c('p',[_vm._v(\"XIII. Puesto de trabajo\")]),_c('p',[_vm._v(\"XIV. Registro de entrada y salida de personal a las instalaciones del usuario\")]),_c('p',[_vm._v(\" Serán considerados como datos personales sensibles aquellos así dispuestos por la Ley Federal de Protección de Datos en Posesión de los Particulares, que de forma enunciativa más no limitativa, son los datos que forman parte de la intimidad del personal y cuya divulgación pone en riesgo o da origen a discriminación por aspectos de origen racial o étnico, estado de salud, información genética, creencias religiosas, filosóficas o morales, afiliación sindical, opiniones políticas y preferencias sexuales. \")]),_c('p',[_c('strong',[_vm._v(\"FINALIDADES DEL TRATAMIENTO DE SUS DATOS PERSONALES\")]),_vm._v(\". Los datos personales que la Empresa recabe serán utilizados para atender las siguientes finalidades: \")]),_c('p',[_vm._v(\" I. Para garantizar funcionamiento de la página, Poder mostrar información a los otros usuarios que el mismo usuario de la cuenta decida enlazar, Realizar procedimiento de análisis de la información por medio de algoritmos con al finalidad de mostrar información relevante al usuario si este decide mostrarla \")]),_c('p',[_vm._v(\" II. Para integrar expedientes, bases de datos y sistemas necesarios para llevar a cabo las operaciones y servicios correspondientes; (ii) Para reclamar la entrega de premios y/o promociones; (iii) Para llevar a cabo análisis internos; \")]),_c('p',[_vm._v(\" III. De manera adicional, se podrán utilizar sus datos personales para las siguientes finalidades secundarias: (i) Mercadotecnia, publicidad y prospección comercial; (ii) Ofrecerle, en su caso, otros productos y servicios propios de la Empresa o de cualquiera de sus afiliadas, subsidiarias, sociedades controladoras, asociadas, comisionistas o sociedades; (iii) Remitirle promociones de otros bienes, servicios y/o productos; (iv) Para realizar análisis estadísticos, de generación de modelos de información y/o perfiles de comportamiento actual y predictivo y, (v) Para participar en encuestas, sorteos y promociones. \")]),_c('p',[_c('strong',[_vm._v(\"OPCIONES Y MEDIOS PARA LIMITAR EL USO O DIVULGACIÓN DE LOS DATOS\")]),_vm._v(\". La Empresa tiene implementadas medidas de seguridad administrativas, técnicas y físicas para proteger sus datos personales, mismas que igualmente exigimos sean cumplidas por los proveedores de servicios que contratamos. Usted podrá limitar el uso o divulgación de sus datos personales enviando un correo electrónico a contacto@delega.com.mx indicándonos en el cuerpo del correo su nombre completo y que dato desea que no sea divulgado, de proceder su solicitud, se le registrará en el listado de exclusión. \")]),_c('p',[_c('strong',[_vm._v(\"MEDIOS PARA EJERCER LOS DERECHOS DE ACCESO, RECTIFICACIÓN, CANCELACIÓN U OPOSICIÓN (DERECHOS ARCO)\")]),_vm._v(\". Puede enviar un correo electrónico a contacto@delega.com.mx, en cualquier momento, para ejercer sus Derechos de Acceso, Rectificación, Cancelación u Oposición (“Derechos ARCO”). Para ejercer los Derechos ARCO, usted (o su representante legal), deberá presentar la solicitud, identificándose con la siguiente documentación: \")]),_c('p',[_vm._v(\"I. Nombre del usuario o titular.\")]),_c('p',[_vm._v(\"II. Domicilio del usuario o titular u otro medio para comunicarle la respuesta a su solicitud.\")]),_c('p',[_vm._v(\" III. Documentos que acrediten su identidad (IFE/INE o pasaporte) y, en su caso, los documentos que acrediten la representación legal del solicitante. \")]),_c('p',[_vm._v(\" IV. Una descripción de la información / los datos sobre los que está tratando de ejercer sus derechos ARCO y los derechos que le gustaría ejercer. \")]),_c('p',[_vm._v(\" Si uno o más de los documentos mencionados anteriormente no están incluidos, y/o los documentos tienen errores u omisiones, la Empresa le notificará dentro de los 3 días hábiles posteriores a la recepción de la solicitud y le pedirá los documentos faltantes y/o las correcciones pertinentes; tendrá 5 días hábiles a partir de esa notificación para proporcionar la información actualizada, de lo contrario, la solicitud se entenderá como no presentada. \")]),_c('p',[_c('strong',[_vm._v(\"TRANSFERENCIA DE DATOS PERSONALES\")]),_vm._v(\". La Empresa podrá divulgar sus datos personales a aquellos terceros que, en virtud de los servicios y productos ofrecidos, necesiten conocerlos para cumplir cabalmente con los mismos. \")]),_c('p',[_vm._v(\" Asimismo, la Empresa puede divulgar su información a las autoridades competentes en términos de la legislación aplicable; cualquier transferencia de sus datos personales sin consentimiento se realizará de acuerdo con el Artículo 37 de la LFPDPPP. \")]),_c('p',[_c('strong',[_vm._v(\"WEB BEACONS\")]),_vm._v(\". La Empresa, podrá o no, utilizar tecnologías de seguimiento tales como web beacons, similares a las cookies, para recabar datos sobre sus visitas en el Portal; éstas son pequeñas imágenes electrónicas incrustadas en el contenido web o mensajes de correo electrónico, las cuales no se encuentran normalmente visibles para los Usuarios y que nos permiten generar contenidos casi personalizados para ofrecerle una mejor experiencia cuando utilice nuestro Portal. \")]),_c('p',[_vm._v(\" En caso de no estar de acuerdo con cualquiera de las condiciones aquí establecidas, el Usuario siempre podrá cambiar la configuración de su navegador. \")]),_c('p',[_c('strong',[_vm._v(\"MODIFICACIONES AL AVISO DE PRIVACIDAD\")]),_vm._v(\". El presente aviso de privacidad puede sufrir modificaciones, cambios o actualizaciones derivadas, entre otras cosas, por nuevos requerimientos legales; necesidades propias de la Empresa, por los productos o servicios que ofrecemos; por nuestras prácticas de privacidad; por cambios en nuestro modelo de negocio, o por otras causas. \")]),_c('p',[_vm._v(\" Cualquier modificación al presente aviso de privacidad le será notificada a través de cualquiera de los siguientes medios: un comunicado por escrito enviado a su domicilio; por el correo electrónico que señale; un mensaje a su teléfono móvil; un mensaje dado a conocer a través del Portal o de cualquier medio electrónico que utilice para celebrar operaciones; o bien, en periódicos de amplia circulación el domicilio social de la Empresa. \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Privacy.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Privacy.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Privacy.vue?vue&type=template&id=7c12fb6c&\"\nimport script from \"./Privacy.vue?vue&type=script&lang=js&\"\nexport * from \"./Privacy.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Privacy.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductsForm.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item)?_c('portal',{attrs:{\"to\":\"contracts-buttons\"}}):_vm._e(),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',{staticClass:\"mx-auto p-5 items-center justify-between flex text-red-700\"},[_vm._v(\" \"+_vm._s(_vm.error)+\" \")]):(_vm.item)?_c('div',{key:_vm.id},[_c('div',{staticClass:\"bg-gray-50 min-h-screen\"},[(_vm.uploading)?_c('div',[(_vm.cfdiXmlAndPdfs.length === 0)?_c('drop-cfdis',{ref:\"dropCfdis\",on:{\"droppedFiles\":_vm.droppedFiles}}):_c('div',[_c('div',{staticClass:\"grid grid-cols-1 gap-4 sm:grid-cols-2\"},_vm._l((_vm.cfdiXmlAndPdfs),function(cfdiXmlPdf,idx){return _c('div',{key:idx,staticClass:\"relative rounded-lg border border-gray-300 bg-white px-6 py-5 shadow-sm\"},[_c('button',{staticClass:\" text-gray-600 hover:bg-gray-50 absolute origin-top-right right-0 top-0 mt-1 mr-1 inline-flex items-center px-1.5 py-1.5 border-gray-300 text-xs font-medium rounded focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeCfdiXmlPdf(idx)}}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),_c('div',{staticClass:\"flex items-center justify-between\"},[(cfdiXmlPdf.cfdi)?_c('p',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(cfdiXmlPdf.cfdi.receptorRfc)+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex items-center justify-between text-sm\"},[(cfdiXmlPdf.cfdi)?_c('p',{staticClass:\" text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(cfdiXmlPdf.cfdi.receptorNombre)+\" \")]):_vm._e(),(cfdiXmlPdf.cfdi)?_c('div',{staticClass:\" text-theme-600\"},[_vm._v(\" $\"+_vm._s(_vm.decimalFormat(cfdiXmlPdf.cfdi.total))+\" \")]):_vm._e()])])}),0),_c('div',{staticClass:\"my-4 flex items-center justify-between space-x-2 border-t pt-2 border-gray-100\"},[_c('div'),_c('button',{staticClass:\"inline-flex items-center space-x-2 truncate justify-center px-4 py-2 border border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])],1):_c('div',{staticClass:\"py-2\"},[_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('cfdis-list-and-table',{attrs:{\"withContract\":false,\"items\":_vm.filteredItems}})],1)])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport services from \"@/services\";\nimport pdf from \"vue-pdf\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\nimport store from \"@/store\";\nimport SideModal from \"@/components/shared/modals/SideModal.vue\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport CfdisListAndTable from \"@/components/app/v3/cfdis/list/CfdisListAndTable.vue\";\nimport { CfdiXmlPdfDto } from \"@/application/dtos/app/v3/cfdis/CfdiXmlPdfDto\";\nimport DropCfdis from \"@/components/app/uploads/DropCfdis.vue\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { UploadCfdisRequest } from \"@/application/contracts/app/cfdis/UploadCfdisRequest\";\nimport { CfdiDto } from \"@/application/dtos/app/v3/cfdis/CfdiDto\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"CFDIs de colaborador\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n pdf,\n Sign,\n SideModal,\n DropDocument,\n CfdisListAndTable,\n ErrorModal,\n SuccessModal,\n ConfirmModal,\n DropCfdis,\n Loading\n }\n})\nexport default class EmployeeCfdis extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n confirmCreate: ConfirmModal;\n modalSign: SideModal;\n buttonSave: HTMLButtonElement;\n dropCfdis: DropCfdis;\n };\n id = \"\";\n\n item: EmployeeDto | null = null;\n error = \"\";\n loading = false;\n uploading = false;\n cfdiXmlAndPdfs: CfdiXmlPdfDto[] = [];\n searchInput = \"\";\n\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.employees\n .get(this.id)\n .then(response => {\n this.item = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n toggleUpload() {\n this.uploading = !this.uploading;\n if (this.uploading) {\n // this.$nextTick(() => {\n // this.$refs.buttonSave.focus();\n // });\n }\n }\n droppedFiles(files: FileBase64[]) {\n const cfdis: any = [];\n this.loading = true;\n files.forEach(file => {\n const name = file.file.name\n .toUpperCase()\n .replace(\".XML\", \"\")\n .replace(\".PDF\", \"\");\n const xml = file.file.name.toUpperCase().includes(\".XML\")\n ? file.base64\n : \"\";\n const pdf = file.file.name.toUpperCase().includes(\".PDF\")\n ? file.base64\n : \"\";\n let cfdi = cfdis.find(f => f.fileName === name);\n if (!cfdi) {\n cfdi = {\n fileName: name,\n xml,\n pdf\n };\n cfdis.push(cfdi);\n } else {\n if (xml) {\n cfdi.xml = xml;\n }\n if (pdf) {\n cfdi.pdf = pdf;\n }\n }\n });\n const uploadCfdisRequest: UploadCfdisRequest = {\n cfdis\n };\n this.loading = true;\n services.cfdis\n .readCfdis(uploadCfdisRequest)\n .then((response: CfdiXmlPdfDto[]) => {\n this.cfdiXmlAndPdfs = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error).toString());\n })\n .finally(() => {\n this.loading = false;\n // self.$refs.dropCfdis.loading = false;\n });\n }\n removeCfdiXmlPdf(index) {\n this.cfdiXmlAndPdfs = this.cfdiXmlAndPdfs.filter((x, i) => i !== index);\n }\n decimalFormat(value: number) {\n return NumberUtils.decimalFormat(value);\n }\n get canEdit() {\n return this.item?.createdByUserId === store.state.account.user?.id || true;\n }\n get filteredItems(): CfdiDto[] {\n if (this.item?.cfdis?.length === 0) {\n return [];\n }\n const items =\n this.item?.cfdis?.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.receptorNombre\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.receptorRfc\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n ) ?? [];\n\n return items;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeeCFDIs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeeCFDIs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmployeeCFDIs.vue?vue&type=template&id=bfec358a&\"\nimport script from \"./EmployeeCFDIs.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmployeeCFDIs.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"flex justify-center flex-col text-center w-full mb-6\"},[(!_vm.loading)?_c('div',[_c('div',{staticClass:\"w-full sm:flex sm:space-x-4 space-y-2 sm:space-y-0 justify-center items-center mt-2 sm:mt-5 max-w-lg mx-auto\"},[_c('billing-period-toggle',{staticClass:\"sm:w-1/2\"})],1)]):_vm._e()]),(_vm.loading)?_c('Loading'):(_vm.products)?_c('div',{staticClass:\"flex flex-wrap -m-2\"},_vm._l((_vm.products),function(product,index){return _c('div',{key:index,class:_vm.classForProduct(index)},[_c('div',[(_vm.productHasPrices(product) && _vm.getPrice(product))?_c('div',[_c('router-link',{attrs:{\"to\":{ name: _vm.productUrl(product) }},nativeOn:{\"click\":function($event){return _vm.selectProduct(product)}}},[_c('div',{staticClass:\"relative bg-blueGray-50 dark:bg-blueGray-800 h-full p-6 rounded-sm border-2 flex flex-col overflow-hidden hover:border-blueGray-300 border-blueGray-100 dark:border-gray-700 dark:hover:border-gray-600\"},[_c('div',{staticClass:\"p-2\"},[_c('h2',{staticClass:\"text-lg leading-6 font-medium text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.getTransaltedProductTitle(product))+\" \")]),(product.custom)?_c('p',{staticClass:\"mt-7\"},[_c('span',{staticClass:\"text-2xl font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.custom\")))])]):_c('p',{staticClass:\"mt-5\"},[_c('span',{staticClass:\"text-4xl font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\"$\"+_vm._s(_vm.intFormat(_vm.getPriceAmount(product))))]),(_vm.getPriceAmount(product) !== 0)?_c('span',{staticClass:\"text-base font-medium text-gray-500\"},[_vm._v(_vm._s(_vm.selectedBillingPeriod !== \"once\" ? \"/ \" + _vm.$t(\"marketing.pricing.\" + _vm.selectedBillingPeriod) : _vm.$t(\"marketing.pricing.\" + _vm.selectedBillingPeriod)))]):_vm._e()]),_c('router-link',{staticClass:\"inline-flex items-center px-2 mt-4 w-full bg-theme-600 rounded-sm py-2 text-sm font-semibold text-white text-center hover:bg-theme-700\",class:product.badge === 'recommended'\n ? 'from-theme-400 to-theme-900'\n : '',attrs:{\"to\":{ name: _vm.productUrl(product) }},nativeOn:{\"click\":function($event){return _vm.selectProduct(product)}}},[(product.custom)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.custom\"))+\" \")]):(_vm.getPriceTrialDays(product) > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.startTrial\", [ _vm.getPriceTrialDays(product) ]))+\" \")]):(_vm.billingPeriodOnce(product))?_c('span',[(_vm.getPriceAmount(product) === 0)?_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.signUpFree\")))]):_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.payOnce\")))])]):_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.subscribe\")))]),_c('svg',{staticClass:\"w-4 h-4 ml-auto\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M5 12h14M12 5l7 7-7 7\"}})])])],1),_c('div',{staticClass:\"pt-6 pb-4 px-2\"},[_c('h3',{staticClass:\"text-xs font-medium text-theme-500 tracking-wide uppercase\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.whatsIncluded\"))+\" \")]),_c('ul',{staticClass:\"mt-6 space-y-4\"},_vm._l((_vm.getProductFeatures(product)),function(feature,idx){return _c('li',{key:idx,class:idx === 0\n ? 'flex items-center lg:col-span-1'\n : 'mt-5 flex items-center lg:col-span-1 lg:mt-0'},[(feature.included)?_c('span',{staticClass:\"w-4 h-4 inline-flex items-center justify-center text-teal-500 rounded-sm flex-shrink-0\"},[_c('svg',{staticClass:\"w-10 h-auto\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M5 13l4 4L19 7\"}})])]):_c('span',{staticClass:\"w-4 h-4 inline-flex items-center justify-center text-rose-500 rounded-sm flex-shrink-0\"},[_c('svg',{staticClass:\"w-10 h-auto\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]),_c('p',{staticClass:\"ml-3 text-sm leading-5 primary\"},[_vm._v(\" \"+_vm._s(_vm.getFeatureDescription(feature))+\" \")])])}),0)]),(false)?_c('div',[(product.badge)?_c('span',{staticClass:\"bg-theme-300 text-theme-700 px-3 py-1 tracking-widest text-xs absolute right-0 top-0 rounded-bl uppercase\"},[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.badges.\" + product.badge)))]):_vm._e(),_c('h1',{staticClass:\"text-5xl text-coolGray-800 dark:text-blueGray-200 leading-none flex items-center pb-4 mb-4 border-b border-gray-200 dark:border-gray-600\"},[_c('span',[_vm._v(\"$\"+_vm._s(_vm.getPriceAmount(product)))]),(_vm.getPriceAmountBefore(product))?_c('span',{staticClass:\"ml-1 line-through text-2xl leading-8 font-medium text-gray-500\"},[_vm._v(\"$\"+_vm._s(_vm.getPriceAmountBefore(product)))]):_vm._e(),_c('span',{staticClass:\"text-lg ml-1 font-normal text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.billingPeriod(product))+\" \")])]),_vm._l((product.features),function(feature,index){return _c('p',{key:index,staticClass:\"flex items-center text-coolGray-800 dark:text-blueGray-200 mb-2\"},[(feature.included)?_c('span',{staticClass:\"w-4 h-4 mr-2 inline-flex items-center justify-center bg-teal-500 text-white rounded-md flex-shrink-0\"},[_c('svg',{staticClass:\"w-3 h-3\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2.5\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 6L9 17l-5-5\"}})])]):_c('span',{staticClass:\"w-4 h-4 mr-2 inline-flex items-center justify-center bg-red-500 text-white rounded-md flex-shrink-0\"},[_c('svg',{staticClass:\"w-3 h-3\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2.5\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 6L9 17l-5-5\"}})])]),_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.features.\" + feature.key, [ feature.value ]))+\" \")])}),_c('router-link',{staticClass:\"flex items-center mt-auto text-white bg-gradient-to-r from-theme-500 to-theme-600 border-0 py-2 px-4 w-full focus:outline-none hover:bg-theme-400 rounded-sm\",class:product.badge === 'recommended'\n ? 'from-theme-400 to-theme-900'\n : '',attrs:{\"to\":{ name: 'account.register' }},nativeOn:{\"click\":function($event){return _vm.selectProduct(product)}}},[(_vm.getPriceTrialDays(product) > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.startTrial\", [ _vm.getPriceTrialDays(product) ]))+\" \")]):(_vm.billingPeriodOnce(product))?_c('span',[(_vm.getPriceAmount(product) === 0)?_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.signUpFree\")))]):_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.payOnce\")))])]):_c('span',[_vm._v(_vm._s(_vm.$t(\"marketing.pricing.subscribe\")))]),_c('svg',{staticClass:\"w-4 h-4 ml-auto\",attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M5 12h14M12 5l7 7-7 7\"}})])]),_c('p',{staticClass:\"text-xs text-gray-500 mt-3\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.noCreditCardRequired\"))+\" \")])],2):_vm._e()])])],1):_vm._e()])])}),0):_vm._e(),_c('InfoBanner',{staticClass:\"my-4\",attrs:{\"title\":\"Enlaces\",\"text\":\"1 enlace equivale a 1 cliente o 1 proveedor, agrega a tus proveedores para consultar su documentación de cumplimiento o a tus clientes para que consulten tu documentación.\"}}),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport BillingPeriodToggle from \"@/components/marketing/toggles/BillingPeriodToggle.vue\";\nimport CurrencyToggle from \"@/components/marketing/toggles/CurrencyToggle.vue\";\nimport InfoBanner from \"@/components/shared/banners/InfoBanner.vue\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionPriceDto } from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionFeatureDto } from \"../../../application/dtos/master/subscriptions/SubscriptionFeatureDto\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport store from \"@/store\";\nimport services from \"@/services\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport PricingUtils from \"@/utils/store/PricingUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n BillingPeriodToggle,\n CurrencyToggle,\n InfoBanner,\n ErrorModal,\n Loading\n }\n})\nexport default class Products extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n items = [] as SubscriptionProductDto[];\n fromServer = true;\n mounted() {\n this.reload(true);\n }\n async reload(fromServer: boolean) {\n const debug = process.env.NODE_ENV !== \"production\";\n\n this.fromServer = fromServer;\n this.items = [];\n this.loading = true;\n services.subscriptionProducts\n .getProducts(fromServer, true)\n .then((response: SubscriptionProductDto[]) => {\n this.items = [];\n response?.forEach(product => {\n this.items.push(product);\n });\n if (response.length === 0 && this.fromServer && debug) {\n this.reload(false);\n }\n })\n .catch(error => {\n if (this.fromServer && debug) {\n this.reload(false);\n } else {\n this.$refs.errorModal.show(error);\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n classForProduct(index) {\n // If there are 3 products, the last one full width\n if (this.products.length === 3) {\n if (index === this.products.length - 1) {\n return \"p-2 xl:w-1/3 md:w-1/1 w-full\";\n }\n } else if (this.products.length === 4) {\n return \"p-2 w-full md:w-1/2 xl:w-1/4\";\n } else if (this.products.length === 2 || this.products.length === 4) {\n return \"p-2 xl:w-1/2 md:w-1/1 w-full\";\n }\n return \"p-2 xl:w-1/3 md:w-1/2 w-full\";\n }\n billingPeriodOnce(product: SubscriptionProductDto): boolean | undefined {\n return (\n this.getPrice(product)?.billingPeriod === SubscriptionBillingPeriod.ONCE\n );\n }\n getFeatureDescription(feature: SubscriptionFeatureDto) {\n if (!feature.translateInFrontend) {\n if (feature.value) {\n return `${feature.value}`;\n } else {\n return `${feature.key}`;\n }\n } else {\n return this.$t(\"marketing.pricing.features.\" + feature.key, [\n feature.value\n ]);\n }\n }\n getProductFeatures(\n product: SubscriptionProductDto\n ): SubscriptionFeatureDto[] {\n return product.features;\n // const features = product.features.sort((x, y) => {\n // return x.order > y.order ? 1 : -1;\n // });\n // return features;\n }\n billingPeriod(product: SubscriptionProductDto): string {\n if (this.billingPeriodOnce(product)) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n const idx = this.getPrice(product)?.billingPeriod ?? 0;\n return (\n \"/\" +\n this.$t(\"marketing.pricing.\" + SubscriptionBillingPeriod[idx] + \"Short\")\n );\n }\n }\n productUrl(product: SubscriptionProductDto) {\n if (product.custom) {\n return \"contact\";\n }\n return \"account.register\";\n }\n selectProduct(product: SubscriptionProductDto) {\n store.commit(\"pricing/select\", {\n product,\n billingPeriod: store.state.pricing.billingPeriod\n });\n }\n getPrice(product: SubscriptionProductDto): SubscriptionPriceDto | undefined {\n const prices = product.prices.find(\n f =>\n (f.billingPeriod === store.state.pricing.billingPeriod ||\n f.billingPeriod === SubscriptionBillingPeriod.ONCE) &&\n f.currency === store.state.pricing.currency &&\n f.active\n );\n return prices;\n }\n productHasPrices(product: SubscriptionProductDto): boolean {\n return product && product.prices && product.prices.length > 0;\n }\n badgeFromProduct(product: SubscriptionProductDto): string {\n return product.badge;\n // if (product.badge) {\n // if (product.badge.includes(\" \")) {\n // return product.badge;\n // }\n // const translated = this.$t(\"marketing.pricing.badges.\" + product.badge);\n // if (translated) {\n // return translated.toString();\n // } else {\n // return product.badge;\n // }\n // }\n // return \"\";\n }\n getPriceAmount(product): number {\n return this.getPrice(product)?.price ?? 0;\n }\n getPriceTrialDays(product): number {\n return this.getPrice(product)?.trialDays ?? 0;\n }\n getPriceAmountBefore(product): number {\n return this.getPrice(product)?.priceBefore ?? 0;\n }\n getTransaltedProductTitle(product): string {\n const translated = this.$t(\"marketing.pricing.products.\" + product.tier);\n if (translated) {\n return translated.toString();\n } else {\n return product.title;\n }\n }\n getTransaltedProductDescription(product): string {\n const translated = this.$t(\n \"marketing.pricing.productDescriptions.\" + product.tier\n );\n if (translated) {\n return translated.toString();\n } else {\n return product.description;\n }\n }\n intFormat(value: number) {\n return NumberUtils.intFormat(value);\n }\n get selectedBillingPeriod() {\n return PricingUtils.selectedBillingPeriod();\n }\n get products(): SubscriptionProductDto[] {\n return (store.state.pricing.products as SubscriptionProductDto[])\n .filter(f => this.getPrice(f) !== undefined && f.active)\n .sort((x, y) => {\n return x.tier > y.tier ? 1 : -1;\n });\n }\n get billingPeriods() {\n const periods: any[] = [];\n (store.state.pricing.products as SubscriptionProductDto[]).map(f =>\n f.prices.forEach(price => {\n if (periods.includes(price.billingPeriod) === false) {\n periods.push(price.billingPeriod);\n }\n })\n );\n function onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return periods.filter(onlyUnique);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Products.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Products.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Products.vue?vue&type=template&id=f3e01944&\"\nimport script from \"./Products.vue?vue&type=script&lang=ts&\"\nexport * from \"./Products.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum ContractActivityType {\n CREATED,\n SIGNED_PARTIAL,\n SIGNED_FULL,\n UPDATED_EMPLOYEES,\n VISIT,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\")))]):_c('div',[(_vm.item && _vm.item.id)?_c('div',[_c('page-title',{scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_vm._v(_vm._s(_vm.item.title))]},proxy:true},{key:\"buttons\",fn:function(){return [_c('span',{staticClass:\"sm:ml-3 rounded-sm\"},[_c('router-link',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-sm text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-gray-800 active:bg-gray-50 transition duration-150 ease-in-out\",attrs:{\"to\":'/admin/products/' + _vm.item.id + '/edit'}},[_vm._v(_vm._s(_vm.$t(\"shared.edit\")))]),(_vm.hasChanges)?_c('button',{staticClass:\"ml-2 inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-sm text-gray-700 bg-yellow-50 hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-gray-800 active:bg-gray-50 transition duration-150 ease-in-out\",on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]):_vm._e(),(_vm.hasChanges)?_c('button',{staticClass:\"ml-2 inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-sm text-gray-700 bg-yellow-50 hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:text-gray-800 active:bg-gray-50 transition duration-150 ease-in-out\",on:{\"click\":_vm.saveChanges}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.saveChanges\"))+\" \")]):_vm._e()],1)]},proxy:true}],null,false,1646281238)}),_c('div',{staticClass:\"hidden sm:block mb-3 mt-4 sm:mt-9\"},[_c('nav',{staticClass:\"flex\"},[_c('router-link',{staticClass:\"px-3 py-2 font-medium text-sm leading-5 rounded-sm hover:text-gray-700\",class:_vm.$route.name === 'admin.product.prices'\n ? 'outline-none text-theme-700 bg-theme-100 border border-theme-200'\n : 'text-gray-500 hover:text-gray-700',attrs:{\"to\":{ name: 'admin.product.prices', params: _vm.item.id }}},[_vm._v(_vm._s(_vm.$t(\"models.subscriptionPrice.plural\")))]),_c('router-link',{staticClass:\"px-3 py-2 font-medium text-sm leading-5 rounded-sm hover:text-gray-700\",class:_vm.$route.name === 'admin.product.features'\n ? 'outline-none text-theme-700 bg-theme-100 border border-theme-200'\n : 'text-gray-500 hover:text-gray-700',attrs:{\"to\":{ name: 'admin.product.features', params: _vm.item.id },\"name\":\"admin.product.features\"}},[_vm._v(_vm._s(_vm.$t(\"models.subscriptionFeature.plural\")))])],1)])],1):_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.notFound\")))])]),(_vm.product)?_c('div',{staticClass:\"mt-6 bg-white shadow px-4 py-5 sm:rounded-sm sm:p-6 mb-4\"},[_c('div',{staticClass:\"md:grid md:grid-cols-3 md:gap-2\"},[_c('div',{staticClass:\"md:col-span-1\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.object\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm leading-5 text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.description\"))+\" \")]),_c('p',[(_vm.hasImage())?_c('img',{staticClass:\"h-32 mt-4\",attrs:{\"src\":_vm.getImage()}}):_vm._e()])]),_c('div',{staticClass:\"mt-5 md:mt-0 md:col-span-2\"},[_c('form',{attrs:{\"action\":\"#\",\"method\":\"POST\"}},[_c('div',{staticClass:\"grid grid-cols-6 gap-2\"},_vm._l((_vm.columns),function(column,idx){return _c('div',{key:idx,staticClass:\"col-span-6 md:col-span-6 lg:col-span-2\"},[(column.name === 'image')?_c('div'):_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-700\",attrs:{\"for\":column.name}},[_vm._v(_vm._s(_vm.$t(\"models.subscriptionProduct.\" + column.name)))]),((_vm.isBool(column) ? 'checkbox' : '')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.product[column.name]),expression:\"product[column.name]\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"disabled\":true,\"id\":column.name,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.product[column.name])?_vm._i(_vm.product[column.name],null)>-1:(_vm.product[column.name])},on:{\"change\":function($event){var $$a=_vm.product[column.name],$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.product, column.name, $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.product, column.name, $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.product, column.name, $$c)}}}}):((_vm.isBool(column) ? 'checkbox' : '')==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.product[column.name]),expression:\"product[column.name]\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"disabled\":true,\"id\":column.name,\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.product[column.name],null)},on:{\"change\":function($event){return _vm.$set(_vm.product, column.name, null)}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.product[column.name]),expression:\"product[column.name]\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-300 rounded-sm shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5\",attrs:{\"disabled\":true,\"id\":column.name,\"type\":_vm.isBool(column) ? 'checkbox' : ''},domProps:{\"value\":(_vm.product[column.name])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.product, column.name, $event.target.value)}}})])])}),0)])])])]):_vm._e(),_c('router-view'),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"lg:flex lg:items-center lg:justify-between bg-white -m-4 sm:-m-8 p-8 pb-4 pt-8 sm:pt-6 shadow-lg mb-4\"},[_c('div',{staticClass:\"flex-1 min-w-0\"},[_c('h2',{staticClass:\"flex text-2xl font-bold leading-7 text-gray-800 sm:text-3xl sm:leading-9 sm:truncate\"},[_vm._t(\"title\")],2)]),_c('div',{staticClass:\"mt-5 flex lg:mt-0 lg:ml-4\"},[_vm._t(\"buttons\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\n\nexport default class PageTitle extends Vue {}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageTitle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageTitle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PageTitle.vue?vue&type=template&id=db1ac7b0&\"\nimport script from \"./PageTitle.vue?vue&type=script&lang=ts&\"\nexport * from \"./PageTitle.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { Watch } from \"vue-property-decorator\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { ColumnType, ValueType } from \"../../../application/dtos/ColumnType\";\nimport services from \"@/services\";\nimport PageTitle from \"@/components/shared/navigation/PageTitle.vue\";\n\n@Component({\n components: {\n SuccessModal,\n ErrorModal,\n ConfirmModal,\n PageTitle\n }\n})\nexport default class SubscriptionProduct extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n product = {} as SubscriptionProductDto;\n hasChanges = false;\n columns: ColumnType[] = [\n { name: \"serviceId\" },\n { name: \"title\" },\n { name: \"description\" },\n { name: \"tier\", valueType: ValueType.Number },\n { name: \"badge\", valueType: ValueType.String },\n { name: \"active\", valueType: ValueType.Bool },\n { name: \"maxUsers\", valueType: ValueType.Number },\n { name: \"image\", valueType: ValueType.Image }\n ];\n created() {\n services.subscriptionProducts.getProducts(true, false);\n }\n added() {\n this.reload();\n }\n saved() {\n this.reload();\n }\n deleted() {\n this.pushToParent();\n }\n @Watch(\"$route.params.id\")\n productChanged() {\n this.reload();\n }\n mounted() {\n this.reload();\n // this.$router.push({ name: \"admin.product.overview\" });\n }\n async reload() {\n this.loading = true;\n this.hasChanges = false;\n services.subscriptionProducts\n .getProduct(this.$route.params.id)\n .then((response: SubscriptionProductDto) => {\n this.product = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n saveChanges() {\n if (!this.product.id) {\n services.subscriptionProducts\n .createProduct(this.product)\n .then(() => {\n this.reload();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n } else {\n services.subscriptionProducts\n .updateProduct(this.product.id, {\n id: this.product.id,\n tier: this.product.tier,\n title: this.product.title,\n description: this.product.description,\n badge: this.product.badge,\n active: this.product.active,\n image: this.product.image,\n maxUsers: this.product.maxUsers,\n maxWorkspaces: this.product.maxWorkspaces,\n maxLinks: this.product.maxLinks,\n maxStorage: this.product.maxStorage,\n monthlyContracts: this.product.monthlyContracts\n })\n .then(() => {\n this.reload();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n }\n isBool(column: ColumnType) {\n return column.valueType === ValueType.Bool;\n }\n hasImage() {\n return this.columns.includes(\n (element: ColumnType) => element.valueType === ValueType.Image\n );\n }\n getImage() {\n return this.product.image;\n }\n pushToParent() {\n const pathArray = this.$route.path.split(\"/\");\n if (pathArray[pathArray.length - 1] === \"\") {\n pathArray.pop();\n }\n const routes: string[] = [];\n for (let index = 0; index < pathArray.length - 1; index++) {\n const element: string = pathArray[index];\n routes.push(element);\n }\n const parentRoute = routes.join(\"/\");\n console.log(\"pushing; \" + parentRoute);\n this.$router.push(parentRoute);\n }\n get item() {\n return this.product;\n }\n // get columns() {\n // let modelColumns: ColumnType[] = [];\n // Object.keys(this.product).forEach((key) => {\n // modelColumns.push({\n // name: key,\n // });\n // });\n // return modelColumns;\n // }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProduct.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProduct.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionProduct.vue?vue&type=template&id=90608028&\"\nimport script from \"./SubscriptionProduct.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionProduct.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"max-w-md w-full space-y-8\"},[_c('div',[_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"}),_c('h2',{staticClass:\"mt-6 text-center text-lg font-extrabold text-coolGray-800 dark:text-blueGray-200\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.login.title\"))+\" \")]),_c('p',{staticClass:\"mt-2 text-center text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.or\"))+\" \"),_c('router-link',{staticClass:\"font-medium text-theme-500 hover:text-theme-400\",attrs:{\"to\":{ name: 'prices' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.login.orStartTrial\", [90]))+\" \")])],1)],1),_c('form',{staticClass:\"mt-8 space-y-6\",attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.login()}}},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"remember\",\"value\":\"true\"}}),_c('div',{staticClass:\"rounded-sm shadow-sm -space-y-px\"},[_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"appearance-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 rounded-t-md focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"email\",\"name\":\"email\",\"type\":\"email\",\"autocomplete\":\"email\",\"required\":\"\",\"placeholder\":_vm.$t('account.shared.email')},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})]),_c('div',[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.password\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-gray-700 placeholder-gray-500 dark:bg-gray-900 text-coolGray-800 dark:text-blueGray-200 rounded-b-md focus:outline-none focus:ring-theme-500 focus:border-theme-500 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"name\":\"password\",\"type\":\"password\",\"required\":\"\",\"placeholder\":_vm.$t('account.shared.password')},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]),_c('div',[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[_c('span',{staticClass:\"absolute left-0 inset-y pl-3\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-200\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 20 20\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z\",\"clip-rule\":\"evenodd\"}})])]),_vm._v(\" \"+_vm._s(_vm.$t(\"account.login.button\"))+\" \")])],1),_c('div',{staticClass:\"flex items-center justify-end\"},[_c('div',{staticClass:\"text-sm\"},[_c('router-link',{staticClass:\"font-medium text-theme-500 hover:text-theme-400\",attrs:{\"to\":{ name: 'account.forgot' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.login.forgot\"))+\" \")])],1)])]),_c('ErrorModal',{ref:\"errorModal\",attrs:{\"title\":_vm.$t('shared.error'),\"text\":_vm.$t('account.login.errorText'),\"closeText\":_vm.$t('shared.close')}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport LoadingButton from \"../../components/shared/buttons/LoadingButton.vue\";\nimport GoogleSignInButton from \"vue-google-signin-button-directive\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport axios from \"axios\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { UserLoginRequest } from \"../../application/contracts/master/users/UserLoginRequest\";\nimport { UserLoginType } from \"../../application/enums/master/users/UserLoginType\";\nimport services from \"@/services\";\n\n@Component({\n metaInfo: {\n title: \"Entra a tu cuenta\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n ErrorModal,\n Logo,\n LoadingButton\n },\n directives: {\n GoogleSignInButton\n }\n})\nexport default class Login extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n loadingButton: LoadingButton;\n };\n loading = false;\n googleClientId = \"\";\n user = {} as UserLoginRequest;\n created() {\n this.googleClientId = process.env.VUE_APP_GOOGLE_CLIENT_ID_OAUTH2 ?? \"\";\n }\n OnGoogleAuthSuccess(idToken) {\n axios\n .get(\"https://www.googleapis.com/oauth2/v3/tokeninfo?id_token=\" + idToken)\n .then(response => {\n this.user.email = response.data.email;\n this.login(UserLoginType.GMAIL);\n });\n }\n OnGoogleAuthFail(error) {\n console.error(\"Error: \" + error);\n }\n login(type: UserLoginType = UserLoginType.PASSWORD) {\n this.$refs.loadingButton.start();\n this.loading = true;\n this.user.loginType = type;\n services.authentication\n .login(this.user)\n .catch(error => {\n this.$refs.loadingButton.stop();\n console.error(error);\n this.$refs.errorModal.show(\"Error\", error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=bd3d6632&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum SubscriptionPriceType {\n ONE_TIME,\n RECURRING,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"64\",\"height\":\"64\",\"viewBox\":\"0 0 172 172\",\"fill\":\"currentColor\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M84.65625,51.0625v43c0,2.28437 1.74688,4.03125 4.03125,4.03125c2.28437,0 4.03125,-1.74688 4.03125,-4.03125v-43c0,-9.1375 -7.12188,-16.6625 -16.125,-17.33438v-1.47812c0,-9.675 -7.79375,-17.46875 -17.46875,-17.46875c-9.675,0 -17.46875,7.79375 -17.46875,17.46875v94.86875c0,8.86875 2.15,17.87188 6.04688,25.8l7.79375,15.5875c0.67188,1.34375 2.01563,2.28438 3.62813,2.28438c1.6125,0 2.95625,-0.80625 3.62813,-2.28438l7.79375,-15.5875c4.03125,-7.92812 6.04688,-16.93125 6.04688,-25.8v-85.32812c4.56875,0.67188 8.0625,4.56875 8.0625,9.27188zM68.53125,127.11875c0,7.65937 -1.88125,15.31875 -5.24063,22.17188l-4.16562,8.33125l-4.16562,-8.33125c-3.35937,-6.85313 -5.24063,-14.5125 -5.24063,-22.17188v-94.86875c0,-5.24062 4.16562,-9.40625 9.40625,-9.40625c5.24062,0 9.40625,4.16563 9.40625,9.40625zM90.03125,162.59375h-6.71875c-2.28437,0 -4.03125,1.74687 -4.03125,4.03125c0,2.28438 1.74688,4.03125 4.03125,4.03125h6.71875c2.28437,0 4.03125,-1.74687 4.03125,-4.03125c0,-2.28438 -1.88125,-4.03125 -4.03125,-4.03125zM167.29688,160.44375c-1.6125,-1.6125 -4.16563,-1.6125 -5.64375,0c-1.20937,1.20938 -2.82187,1.74688 -4.43437,1.47813c-1.6125,-0.26875 -2.95625,-1.20937 -3.7625,-2.6875l-4.03125,-7.65938c-1.88125,-3.49375 -5.50938,-5.50937 -9.40625,-5.10625c-3.89688,0.40312 -7.12188,2.95625 -8.33125,6.71875l-2.82188,9.00313c0,0.13437 -0.13437,0.26875 -0.40312,0.26875c-0.26875,0 -0.40312,-0.13437 -0.40312,-0.26875l-1.20938,-2.28438c-1.47812,-2.82188 -4.16562,-4.56875 -7.25625,-4.70312c-3.09063,-0.13438 -6.04687,1.47813 -7.79375,4.16563l-3.89687,4.56875c-1.47813,1.74687 -1.20938,4.3 0.40312,5.64375c0.80625,0.67188 1.74688,0.94062 2.55313,0.94062c1.075,0 2.28437,-0.5375 3.09063,-1.47812l4.03125,-4.70312c0.13437,-0.13438 0.26875,-0.40312 0.40312,-0.5375c0.26875,-0.40312 0.5375,-0.5375 0.80625,-0.5375c0,0 0.13437,0 0.26875,0.26875l1.20938,2.28437c1.6125,3.09063 4.8375,4.97188 8.33125,4.70313c3.49375,-0.26875 6.45,-2.55312 7.39063,-5.9125l2.82188,-9.00313c0.26875,-0.94062 0.94062,-1.075 1.34375,-1.075c0.40312,0 1.20937,0 1.6125,0.80625l4.03125,7.65937c2.01563,3.7625 5.50938,6.18125 9.675,6.85313c4.16563,0.67188 8.33125,-0.67187 11.2875,-3.7625c1.6125,-1.47813 1.6125,-4.03125 0.13438,-5.64375z\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sign.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sign.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Sign.vue?vue&type=template&id=504ca8bc&\"\nimport script from \"./Sign.vue?vue&type=script&lang=js&\"\nexport * from \"./Sign.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Header'),_c('div',{staticClass:\"py-6 bg-white\"},[_c('div',{staticClass:\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8\"},[_c('div',{staticClass:\"sm:flex sm:flex-col sm:align-center space-y-4\"},[_c('div',{staticClass:\"text-center\"},[_c('h1',{staticClass:\"mb-4 text-2xl font-bold md:text-3xl lg:text-4xl\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.terms.title\"))+\" \")])]),_c('div',{staticClass:\"space-y-4\"},[_c('p',[_vm._v(\" A los Usuarios, les informamos que los siguientes Términos y Condiciones les son aplicables por el simple uso o acceso a cualquiera de las páginas, aplicaciones web y móviles, softwares y, aplicaciones en general, que integran el Portal de \"),_c('router-link',{staticClass:\"text-theme-600 underline\",attrs:{\"to\":\"/\"}},[_vm._v(\"https://delega.com.mx/\")]),_vm._v(\" (en adelante y, conjunta e indistintamente, el \\\"Portal\\\"), por lo que entenderemos que los acepta y acuerda en obligarse a su cumplimiento. \"),_c('strong',[_vm._v(\"En el caso de que no esté de acuerdo con los Términos y Condiciones deberá abstenerse de acceder o utilizar el Portal\")]),_vm._v(\". \")],1),_c('p',[_vm._v(\" ABSYS SC y/o sus subsidiarias, controladoras, partes relacionadas y afiliadas (en adelante y, conjunta e indistintamente, la “Empresa”) se reservan el derecho de modificar discrecionalmente el contenido del Portal en cualquier momento, sin necesidad de previo aviso. \")]),_c('p',[_vm._v(\" El Usuario, entendido como aquella persona que realiza el uso o accede al Portal, mediante equipo de cómputo y/o cualquier equipo de comunicación o dispositivo (en adelante el “Usuario”), conviene en no utilizar dispositivos, software, o cualquier otro medio tendiente a interferir tanto en las actividades y/u operaciones del Portal, en las bases de datos y/o información que se contenga en el mismo. \")]),_vm._m(0),_c('p',[_vm._v(\" El Usuario reconoce que no todos los Servicios y Contenidos están disponibles en todas las áreas geográficas y que algunos Servicios y Contenidos pueden ser utilizados solamente con posterioridad a su contratación, activación o registro previo por el Usuario y/o mediante el pago de estos. La Empresa no garantiza la disponibilidad y continuidad de la operación del Portal y de los Servicios y Contenidos, ni la utilidad del Portal o los Servicios y Contenidos en relación con cualquier actividad específica, independientemente del medio de acceso que utilice el Usuario. La Empresa no será responsable por daño o pérdida alguna de cualquier naturaleza que pueda ser causado debido a la falta de disponibilidad o continuidad de operación del Portal y/o de los Servicios y Contenidos. \")]),_c('p',[_vm._v(\" El aprovechamiento de los Servicios y Contenidos en el Portal, es exclusiva responsabilidad del Usuario, quien en todo caso deberá servirse de ellos acorde a las funcionalidades permitidas en el propio Portal y a los usos autorizados en los presentes Términos y Condiciones, por lo que el Usuario se obliga a utilizarlos de tal modo que no contravengan las buenas costumbres, los derechos de terceros, las normas de uso y convivencia en Internet, las leyes de los Estados Unidos Mexicanos y, la legislación vigente en el país en que el Usuario se encuentre al acceder al Portal y usar los Servicios y Contenidos. El Portal es para el uso individual del Usuario por lo que no podrá comercializar de manera alguna los Servicios y Contenidos. \")]),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_c('p',[_vm._v(\" La Empresa ofrece los Servicios y Contenidos con un nivel de competencia y diligencia razonable desde un punto de vista comercial, sin embargo, no ofrece ningún tipo de garantía en relación con estos. El Portal es proporcionado por la Empresa \\\"tal como está\\\" y \\\"según disponibilidad\\\". La Empresa no manifiesta ninguna representación o garantía de ningún tipo, expresa o implícita, en relación con la operación del Portal, información, contenido, materiales o productos incluidos. El Usuario acepta expresamente que el uso del Portal es bajo su propio riesgo. La Empresa se reserva el derecho a remover o eliminar cualquier información del Portal, en cualquier momento, a su entera discreción. Ni la Empresa, ni sus proveedores o distribuidores ofrecen garantías específicas sobre los Servicios y Contenidos; la Empresa excluye todas las garantías en la medida que las leyes vigentes lo permitan. \")]),_c('p',[_vm._v(\" De conformidad con los Términos y Condiciones, la Empresa no asume ni asumirá ningún tipo de responsabilidad frente a ninguna persona, derivada o que pudiera derivarse por los Servicios y Contenidos, navegación en el Portal, consultas, aclaraciones y/o cualquier otra clase de respuesta otorgada por parte de la Empresa por cualquier medio de comunicación. \")]),_c('p',[_vm._v(\" El Usuario se obliga a dejar en paz y a salvo a la Empresa, a sus accionistas, subsidiarias, afiliadas, funcionarios, directores, empleados, asesores, apoderados, representantes y/o cualquier persona relacionada con esta, de cualquier responsabilidad que pudiera imputarse en virtud y/o en relación con el Portal, la prestación de los Servicios y Contenidos o cualquier otro derivado de los presentes Términos y Condiciones. \")]),_c('p',[_vm._v(\" El Usuario entiende y acepta que la Empresa se encontrará limitada por responsabilidad de cualquier tipo, en todos los casos, al monto pagado como contraprestación por los Servicios y Contenidos. \")]),_vm._m(5),_c('p',[_vm._v(\" El Usuario reconoce que los cargos que se realicen a tarjetas de débito o crédito, con motivo de los Servicios y Contenidos, no serán objeto de devolución y, que al realizar dichos pagos se sujeta a los Términos y Condiciones de los proveedores de servicios relacionados con dichos pagos. \")]),_vm._m(6),_vm._m(7),_c('p',[_vm._v(\" Respecto de los Servicios y Contenidos que prestan terceros dentro o mediante enlaces a el Portal (tales como ligas, banners y botones), la Empresa se limita exclusivamente, para conveniencia del Usuario, a: (i) informar al Usuario sobre los mismos y, (ii) a proporcionar un medio para poner en contacto al Usuario con proveedores o vendedores. Los productos y/o servicios que se comercializan dentro del Portal y/o en los sitios de terceros enlazados son suministrados por comerciantes independientes y no se entenderá en ningún caso que son responsabilidad de la Empresa. No existe ningún tipo de relación laboral, asociación o sociedad, entre la Empresa y dichos terceros. Toda asesoría, consejo, declaración, información y contenido de las páginas de terceros enlazadas o dentro del Portal representan las opiniones y juicios de dicho tercero, consecuentemente, la Empresa no será responsable de ningún daño o perjuicio que sufra el Usuario a consecuencia de estos. \")]),_vm._m(8),_vm._m(9),_vm._m(10),_c('p',[_vm._v(\" Generalmente, las Cookies son aceptadas automáticamente, el Usuario puede cambiar la configuración de su navegador en cualquier momento. En caso de que el Usuario decida rechazar las Cookies, es posible que ciertas secciones del Portal no tengan su funcionamiento óptimo o incluso no funcionen en absoluto. \")]),_vm._m(11),_c('p',[_vm._v(\"Para conocer más sobre la protección de sus datos personales por favor consulte nuestro Aviso de Privacidad.\")]),_vm._m(12),_vm._m(13),_vm._m(14),_vm._m(15),_vm._m(16)])])])]),_c('Footer')],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"1. USO Y RESTRICCIONES\")]),_vm._v(\". El acceso o utilización del Portal expresan la adhesión plena y sin reservas del Usuario a los presentes Términos y Condiciones. A través del Portal, el Usuario se servirá, contratará y/o utilizará diversos servicios y contenidos (los \\\"Servicios y Contenidos\\\"), puestos a disposición por la Empresa. La Empresa tendrá el derecho a negar, restringir o condicionar al Usuario el acceso al Portal, total o parcialmente, a su entera discreción, así como a modificar los Servicios y Contenidos del Portal en cualquier momento y sin necesidad de previo aviso. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"2. RESTRICCIONES\")]),_vm._v(\". El Usuario no tiene el derecho de colocar híper ligas dentro del Portal, a utilizar las ligas del Portal, ni el derecho de colocar o utilizar los Servicios y Contenidos en sitios o páginas propias o de terceros sin autorización previa y por escrito de la Empresa. El Usuario no podrá impedir a cualquier otro Usuario el uso del Portal ni de los Servicios y Contenidos. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"3. PROPIEDAD INTELECTUAL\")]),_vm._v(\". Los derechos de propiedad intelectual, propiedad industrial respecto de los Servicios y Contenidos, los signos distintivos y dominios de las Páginas o del Portal, así como los derechos de uso y explotación de estos, incluyendo de manera enunciativa más no limitativa, su divulgación, publicación, reproducción, distribución y transformación, son propiedad exclusiva de la Empresa. El Usuario no adquiere ningún derecho de propiedad intelectual y/o industrial por el simple uso o acceso de los Servicios y Contenidos del Portal y, en ningún momento, dicho uso será considerado como una autorización o licencia para utilizar los Servicios y Contenidos con fines distintos a los que se contemplan en los presentes Términos y Condiciones. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"4. PROPIEDAD INTELECTUAL DE TERCEROS\")]),_vm._v(\". El Usuario acuerda que las disposiciones que se establecen en el artículo 3 anterior respecto de la titularidad de los derechos de la Empresa, también son aplicables a los derechos de terceros respecto de los Servicios y Contenidos de las Páginas, dominios o información presentada o vinculada al Portal. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"5. CALIDAD DE LOS SERVICIOS Y CONTENIDOS Y SUS GARANTÍAS\")]),_vm._v(\". Ni la Empresa, ni sus proveedores o socios comerciales, serán responsables de cualquier daño o perjuicio que sufra el Usuario a consecuencia de inexactitudes, consultas realizadas, asesorías, errores tipográficos y cambios o mejoras que se realicen periódicamente a los Servicios y Contenidos. Las recomendaciones y consejos obtenidos a través del Portal son de naturaleza general, por lo que no deben tomarse en cuenta en la adopción de decisiones personales ni profesionales. Para ello, se debe consultar a un profesional apropiado que pueda asesorar al Usuario de acuerdo con sus necesidades específicas. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"5.1 DEVOLUCIONES Y CANCELACIONES\")]),_vm._v(\". Para seguridad de los Usuarios, en cualquier momento podrán cancelar los Servicios y Contenidos que adquieran en el Portal, a su entera discreción y sin responsabilidad alguna. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"5.2 SUSCRIPCIONES\")]),_vm._v(\". Es posible que para el uso y/o contratación de algunos o todos los Servicios y Contenidos, sea necesario el registro del Usuario y que este cuente con un método de pago automático y válido, asociado a dicho registro, método que podrá ser modificado o cancelado, a discreción del Usuario. En su caso, el Usuario se sujetará a los Términos y Condiciones de la plataforma de pagos. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"6. BIENES Y SERVICIOS DE TERCEROS ENLAZADOS\")]),_vm._v(\". El hecho de que se ofrezca información en el Portal o en otros sitios ligados o vinculados, no implica la recomendación, garantía, patrocinio o aprobación por parte de la Empresa respecto de dicha información, bienes y/o servicios. La disponibilidad de bienes y/o servicios ofertados por terceros o por sitios ligados o vinculados, no es responsabilidad de la Empresa. En virtud de lo anterior, la Empresa no será responsable ante cualquier autoridad de cualquier naturaleza, por cualquier asunto relacionado con la venta, consumo, distribución, entrega, disponibilidad o prestación con respecto de cualquiera de los bienes y/o servicios ofertados por terceros o por sitios ligados o vinculados a través del Portal. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"7. CONFIDENCIALIDAD\")]),_vm._v(\". La Empresa se obliga a mantener confidencial la información que reciba del Usuario que tenga dicho carácter conforme a las disposiciones legales aplicables en los Estados Unidos Mexicanos; la Empresa no asume ninguna obligación de mantener confidencial cualquier otra información que el Usuario le proporcione. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"8. USO DE LA INFORMACIÓN NO CONFIDENCIAL\")]),_vm._v(\". Mediante el uso del Portal, el Usuario autoriza a la Empresa, de manera enunciativa más no limitativa, a utilizar, publicar, reproducir, divulgar, comunicar públicamente y transmitir la información no confidencial, en términos de lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de Particulares, en la Ley Federal de los Derechos de Autor, en la Ley Federal de Protección al Consumidor y en cualquiera otra aplicable en la legislación mexicana. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"9. COOKIES\")]),_vm._v(\". El Usuario que tenga acceso al Portal, conviene en recibir archivos que les transmitan los servidores de la Empresa. Una \\\"Cookie\\\" es un archivo de datos que se almacena en el disco duro de la computadora del Usuario cuando éste acceda al Portal. Dichos archivos pueden contener información tal como la identificación proporcionada por el Usuario o información para rastrear las páginas que el Usuario ha visitado. Una Cookie no puede leer los datos o información del disco duro del Usuario ni leer las Cookies creadas por otros sitios o páginas. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"10. AVISO DE PRIVACIDAD DE DATOS PERSONALES\")]),_vm._v(\". Toda la información que la Empresa recabe del Usuario es tratada con absoluta confidencialidad conforme las disposiciones legales aplicables en la legislación mexicana. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"11. CLAVES DE ACCESO\")]),_vm._v(\". En todo momento, el Usuario es el responsable único y final de mantener en secreto las claves de acceso que pudiera tener y con las cuales tuviera acceso a ciertos Servicios y Contenidos del Portal. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"11.1 CUENTAS\")]),_vm._v(\". El Usuario, al crear una cuenta en el Portal, declara, bajo protesta de decir verdad, que tiene como mínimo 18 años de edad o la mayoría de edad legal en su jurisdicción; el Usuario reconoce que es su responsabilidad cualquier actividad que se desarrolle con dicha cuenta o a través de ella y reconoce que tiene conocimiento y acepta las condiciones establecidas en los presentes Términos y Condiciones y en el Aviso de Privacidad. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"12. MODIFICACIONES\")]),_vm._v(\". La Empresa tendrá el derecho de modificar, en cualquier momento, los Términos y Condiciones, sin previo aviso y/o consentimiento del Usuario. En consecuencia, el Usuario debe leer atentamente los Términos y Condiciones cada vez que pretenda utilizar el Portal. Ciertos Servicios y Contenidos ofrecidos a los Usuarios en y/o a través del Portal están sujetos a condiciones particulares propias que sustituyen, completan y/o modifican los presentes Términos y Condiciones. Consiguientemente, el Usuario también debe leer atentamente las correspondientes condiciones particulares antes de acceder a cualquiera de los Servicios y Contenidos. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"13. LEYES APLICABLES Y JURISDICCIÓN\")]),_vm._v(\". Para la interpretación, cumplimiento y ejecución de los presentes Términos y Condiciones, el Usuario está de acuerdo en que serán aplicables las leyes Federales de los Estados Unidos Mexicanos y competentes los tribunales de Guadalajara Jalisco, renunciando expresamente a cualquier otro fuero o jurisdicción que pudiera corresponderles debido a sus domicilios presentes o futuros o por cualquier otra causa. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"14. CONTACTO\")]),_vm._v(\". El Usuario puede contactar, en todo momento, al personal de la Empresa para cualquier aclaración, comentario, duda y/o sugerencia relacionada con los Servicios y Contenidos, con el Portal y/o con los presentes Términos y Condiciones en contacto@delega.com.mx. \")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Header from \"@/components/marketing/Header.vue\";\nimport Footer from \"@/components/marketing/Footer.vue\";\n\nexport default {\n metaInfo: {\n title: \"Términos y condiciones\",\n titleTemplate: \"%s | Délega\",\n },\n components: { Header, Footer },\n};\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Terms.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Terms.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Terms.vue?vue&type=template&id=3b58e1ee&\"\nimport script from \"./Terms.vue?vue&type=script&lang=ts&\"\nexport * from \"./Terms.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Terms.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{},[_c('button',{staticClass:\"mb-2 h-8 inline-flex items-center px-4 py-2 text-xs leading-5 font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-shadow active:bg-theme-900 transition duration-150 ease-in-out\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){_vm.adding = true}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\") + \" \" + _vm.$t(\"models.subscriptionFeature.object\"))+\" \")])]),_c('entity-table-list',{attrs:{\"modelName\":_vm.modelName,\"parentRoute\":_vm.$route.path,\"routeName\":\"features\",\"columns\":_vm.columns,\"items\":_vm.items,\"allowEdit\":true},on:{\"edit\":_vm.edit}}),(_vm.selected != null)?_c('entity-form',{attrs:{\"modelName\":_vm.modelName,\"object\":_vm.selected,\"columns\":_vm.columns},on:{\"saved\":_vm.onSaved,\"deleted\":_vm.onDeleted,\"canceled\":_vm.onCanceled}}):_vm._e(),(_vm.adding)?_c('entity-form',{attrs:{\"modelName\":_vm.modelName,\"columns\":_vm.columns},on:{\"added\":_vm.onAdded,\"canceled\":_vm.onCanceled}}):_vm._e(),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { ColumnType, ValueType } from \"../../ColumnType\";\nimport { IOrderableEntity } from \"../../IOrderableEntity\";\nimport { MasterEntityDto } from \"../MasterEntityDto\";\nimport { SubscriptionProductDto } from \"./SubscriptionProductDto\";\n\nexport interface SubscriptionFeatureDto extends MasterEntityDto, IOrderableEntity {\n order: number;\n subscriptionProductId?: string;\n subscriptionProduct?: SubscriptionProductDto;\n key: string;\n value: string;\n translateInFrontend: boolean;\n included: boolean;\n}\n\nexport const columns: ColumnType[] = [\n {\n name: \"order\",\n valueType: ValueType.Number,\n },\n {\n name: \"key\",\n valueType: ValueType.String,\n },\n {\n name: \"value\",\n valueType: ValueType.String,\n optional: true,\n },\n {\n name: \"translateInFrontend\",\n valueType: ValueType.Bool,\n },\n {\n name: \"included\",\n valueType: ValueType.Bool,\n },\n];\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport EntityTableList from \"@/components/shared/entities/EntityTableList.vue\";\nimport EntityForm from \"@/components/shared/entities/EntityForm.vue\";\nimport { ColumnType } from \"@/application/dtos/ColumnType\";\nimport {\n columns,\n SubscriptionFeatureDto\n} from \"@/application/dtos/master/subscriptions/SubscriptionFeatureDto\";\nimport { SubscriptionProductDto } from \"@/application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport services from \"@/services\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\n\n@Component({\n components: {\n SuccessModal,\n ErrorModal,\n EntityTableList,\n EntityForm\n }\n})\nexport default class Features extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n loadingButton: LoadingButton;\n };\n modelName = \"subscriptionFeature\";\n columns: ColumnType[] = columns;\n selected: SubscriptionPriceDto | null = null;\n adding = false;\n closeForm() {\n this.selected = null;\n this.adding = false;\n }\n edit(item: SubscriptionPriceDto) {\n this.selected = item;\n }\n onAdded(data: SubscriptionFeatureDto) {\n data.subscriptionProductId = this.parentProduct.id;\n services.subscriptionProducts\n .createFeature(data)\n .then((response: SubscriptionFeatureDto) => {\n this.parentProduct.features.push(response);\n this.selected = null;\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onSaved(data: SubscriptionFeatureDto) {\n services.subscriptionProducts\n .updateFeature(data.id, data)\n .then((response: SubscriptionFeatureDto) => {\n const idx = this.items.findIndex(f => f.id === data.id);\n this.items[idx] = response;\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onDeleted(data: SubscriptionFeatureDto) {\n services.subscriptionProducts\n .deleteFeature(data.id)\n .then(() => {\n this.parentProduct.features = this.items.filter(f => f.id !== data.id);\n this.closeForm();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n onCanceled() {\n this.closeForm();\n }\n get items(): SubscriptionFeatureDto[] {\n return this.parentProduct.features;\n }\n get parentProduct(): SubscriptionProductDto {\n // @ts-ignore\n return this.$parent.item as SubscriptionProductDto;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionFeatures.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionFeatures.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionFeatures.vue?vue&type=template&id=5db5cc28&\"\nimport script from \"./SubscriptionFeatures.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionFeatures.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"admin.users\"))+\" \"),(!_vm.loading)?_c('span',{staticClass:\"ml-2 inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium bg-gray-50 text-gray-800 border border-gray-300\"},[_vm._v(\" \"+_vm._s(_vm.filteredItems.length)+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex items-center space-x-2 h-9\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])])])]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[(_vm.loading)?_c('Loading'):_c('div',{staticClass:\" space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),(_vm.filteredItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No se encontraron usuarios'\n }}})],1):_c('div',[_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-3 py-2 text-left font-medium text-gray-500 tracking-wider select-none truncate\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.filteredItems),function(item,idx){return _c('tr',{key:idx},[_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\"flex items-center space-x-4\"},[(false)?_c('div',{staticClass:\"flex-shrink-0 h-10 w-10\"},[(item.avatar)?_c('img',{staticClass:\"h-10 w-10 rounded-full max-h-10\",attrs:{\"src\":item.avatar}}):_c('span',{staticClass:\"inline-flex items-center justify-center h-10 w-10 rounded-full bg-gray-500 shadow-xl\"},[_c('span',{staticClass:\"text-sm font-medium leading-none text-white\"},[_vm._v(_vm._s(\"?\"))])])]):_vm._e(),_c('div',[_c('div',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(item.firstName)+\" \"+_vm._s(item.lastName)+\" \")]),_c('div',{staticClass:\"text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(item.email)+\" \")])])])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\"max-w-xs truncate\"},[(item.tenants && item.tenants.length > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.getUserTenants(item))+\" \")]):_c('span',[_vm._v(\" ? \")])])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(item.createdAt)?_c('span',[_vm._v(\" \"+_vm._s(_vm.dateAgo(item.createdAt))+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",on:{\"click\":function($event){return _vm.impersonate(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.impersonate\"))+\" \")]),_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",on:{\"click\":function($event){return _vm.changePassword(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.changePassword\"))+\" \")]),_c('button',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",on:{\"click\":function($event){return _vm.deleteUser(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])])])])}),0)])])])])])])])])],1),_c('SuccessModal',{ref:\"successModal\"}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmDelete\",on:{\"yes\":_vm.confirmDeleteUser}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport TenantMembers from \"@/components/app/settings/tenant/TenantMembers.vue\";\nimport { UserDto } from \"../../application/dtos/master/users/UserDto\";\nimport EntityTableList from \"@/components/shared/entities/EntityTableList.vue\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport services from \"@/services\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n TenantMembers,\n EntityTableList,\n EmptyState,\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n Loading\n }\n})\nexport default class Users extends Vue {\n $refs!: {\n confirmDelete: ConfirmModal;\n errorModal: ErrorModal;\n successModal: SuccessModal;\n };\n items: UserDto[] = [];\n loading = false;\n searchInput = \"\";\n headers = [\n {\n title: i18n.t(\"models.user.object\")\n },\n {\n title: i18n.t(\"models.user.tenants\")\n },\n {\n title: i18n.t(\"shared.created\")\n },\n {\n title: i18n.t(\"shared.actions\")\n }\n ];\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.users\n .adminGetAll()\n .then((response: UserDto[]) => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n userType(user: UserDto) {\n return UserType[user.type];\n }\n impersonate(user: UserDto) {\n services.authentication.impersonate(user.id);\n }\n changePassword(user: UserDto) {\n const password = prompt(\n this.$t(\"settings.profile.changePassword\") + \" - \" + user.email\n );\n if (!password || password.length < 8) {\n alert(\"Set a password with 8 characters minimum\");\n } else if (user.type === 0) {\n alert(\"You cannot change password for admin user\");\n } else {\n if (\n confirm(\"[ADMINISTRATOR] Update password for user \" + user.email + \"?\")\n ) {\n services.users\n .adminUpdatePassword(user.id, password)\n .then(() => {\n alert(\"Updated\");\n })\n .catch(error => {\n alert(\"Error: \" + this.$t(error));\n });\n }\n }\n }\n getUserTenants(user: UserDto) {\n return user.tenants\n .map(\n f =>\n `${f.tenant.name} (${i18n.t(\n \"settings.profile.roles.\" + TenantUserRole[f.role]\n )})`\n )\n .join(\", \");\n }\n deleteUser(item: UserDto) {\n this.$refs.confirmDelete.value = item;\n this.$refs.confirmDelete.show(\n `¿Eliminar a ${item.email}?`,\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: Si el usuario es propietario de organizaciones, se cancelará su subscripción y se eliminarán todas sus empresas. No se puede recuperar un usuario eliminado.\"\n );\n }\n confirmDeleteUser(item) {\n this.loading = true;\n services.users\n .adminDelete(item.id)\n .then(() => {\n this.reload();\n this.$refs.successModal.show(\"Eliminado\", \"Usuario eliminado\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n dateAgo(value) {\n return DateUtils.dateAgo(value)\n }\n get filteredItems(): UserDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.tenants\n ?.map(x => x.tenant?.name)\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items.sort((x, y) => {\n if (x.createdAt && y.createdAt) {\n return (x.createdAt > y.createdAt ? -1 : 1) ?? -1;\n }\n return -1;\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Users.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Users.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Users.vue?vue&type=template&id=7f81b044&\"\nimport script from \"./Users.vue?vue&type=script&lang=ts&\"\nexport * from \"./Users.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"fill\":\"#94A3B8\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"50\",\"height\":\"50\",\"viewBox\":\"0 0 172 172\"}},[_c('g',{staticStyle:{\"mix-blend-mode\":\"normal\"},attrs:{\"fill\":\"none\",\"fill-rule\":\"nonzero\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"stroke-linecap\":\"butt\",\"stroke-linejoin\":\"miter\",\"stroke-miterlimit\":\"10\",\"stroke-dasharray\":\"\",\"stroke-dashoffset\":\"0\",\"font-family\":\"none\",\"font-weight\":\"none\",\"font-size\":\"none\",\"text-anchor\":\"none\"}},[_c('path',{attrs:{\"d\":\"M0,172v-172h172v172z\",\"fill\":\"none\"}}),_c('g',{attrs:{\"id\":\"original-icon\",\"fill\":\"#94A3B8\",\"opacity\":\"0\",\"visibility\":\"hidden\"}},[_c('path',{attrs:{\"d\":\"M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v41.28h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM48.16,34.4v6.88h44.72v-6.88zM48.16,48.16v6.88h44.72v-6.88zM48.16,61.92v6.88h79.12v-6.88zM48.16,75.68v6.88h79.12v-6.88zM48.16,89.44v6.88h79.12v-6.88zM69.3375,105.135c-3.91031,0 -7.095,2.49938 -9.245,5.6975c-2.15,3.19813 -3.44,7.31 -3.44,11.825c0,3.78938 1.1825,7.90125 3.44,11.395c0.29563,0.45688 0.83313,0.73906 1.1825,1.1825c-1.11531,0.99438 -3.225,3.1175 -3.225,3.1175c-1.10187,0.67188 -1.74687,1.89469 -1.65281,3.18469c0.08063,1.29 0.88688,2.41875 2.08281,2.92938c1.1825,0.51062 2.55313,0.30906 3.5475,-0.52406c0,0 2.88906,-2.80844 4.945,-4.6225c1.26313,0.49719 2.40531,1.29 3.87,1.29c8.68063,0 14.43188,-4.67625 17.7375,-8.9225c0.9675,-1.24969 1.49156,-2.15 2.15,-3.225c0.24188,0.73906 0.45688,1.43781 0.7525,2.15c0.215,0.51063 0.45688,1.02125 0.86,1.6125c0.40313,0.59125 1.16906,1.935 3.3325,1.935c2.29781,0 3.70875,-1.10187 5.0525,-2.0425c1.34375,-0.94062 2.55313,-1.98875 3.87,-3.01c2.63375,-2.05594 5.28094,-3.655 7.2025,-3.655c1.23625,0.01344 2.39188,-0.63156 3.02344,-1.70656c0.61813,-1.075 0.61813,-2.39187 0,-3.46687c-0.63156,-1.075 -1.78719,-1.72 -3.02344,-1.70656c-4.8375,0 -8.50594,2.795 -11.395,5.0525c-1.23625,0.9675 -2.23062,1.81406 -3.1175,2.4725c-0.1075,-0.3225 -0.20156,-0.51062 -0.3225,-0.86c-0.37625,-1.10187 -0.84656,-2.21719 -1.3975,-3.3325c-0.28219,-0.56437 -0.52406,-1.20937 -1.075,-1.8275c-0.55094,-0.61812 -1.59906,-1.505 -3.225,-1.505c-2.23062,0 -2.99656,1.35719 -3.5475,2.0425c-0.55094,0.68531 -0.9675,1.30344 -1.3975,2.0425c-0.87344,1.46469 -1.84094,3.19813 -3.1175,4.8375c-2.31125,2.96969 -5.61687,5.41531 -10.8575,5.9125c3.53406,-4.75687 6.665,-10.68281 6.665,-17.845c0,-2.32469 -0.43,-4.86437 -2.0425,-6.9875c-1.6125,-2.12312 -4.47469,-3.44 -7.6325,-3.44zM69.3375,112.015c1.505,0 1.78719,0.28219 2.15,0.7525c0.36281,0.47031 0.645,1.49156 0.645,2.795c0,5.4825 -2.98312,10.62906 -6.235,14.7275c-1.43781,-2.23062 -2.365,-5.36156 -2.365,-7.6325c0,-3.15781 0.95406,-6.11406 2.2575,-8.0625c1.30344,-1.94844 2.795,-2.58 3.5475,-2.58z\"}})]),_c('g',{attrs:{\"id\":\"subtracted-icon\",\"fill\":\"#94A3B8\"}},[_c('path',{attrs:{\"d\":\"M104.5975,6.88l1.075,0.9675l41.28,41.28l0.9675,1.075v40.11516c-2.20091,-0.57317 -4.50662,-0.87766 -6.88,-0.87766v-34.4h-41.28v-41.28h-68.8v144.48l72.24,0l0,6.88h-79.12v-158.24zM106.64,48.16h29.455l-29.455,-29.455zM92.88,34.4v6.88h-44.72v-6.88zM92.88,48.16v6.88h-44.72v-6.88zM127.28,61.92v6.88h-79.12v-6.88zM127.28,75.68v6.88h-79.12v-6.88zM127.28,89.44l0,3.7241c-1.55388,0.90875 -3.01246,1.96702 -4.35617,3.1559h-74.76383v-6.88zM76.97,108.575c1.6125,2.12313 2.0425,4.66281 2.0425,6.9875c0,7.16219 -3.13094,13.08813 -6.665,17.845c5.24063,-0.49719 8.54625,-2.94281 10.8575,-5.9125c1.27656,-1.63937 2.24406,-3.37281 3.1175,-4.8375c0.43,-0.73906 0.84656,-1.35719 1.3975,-2.0425c0.55094,-0.68531 1.31688,-2.0425 3.5475,-2.0425c1.62594,0 2.67406,0.88688 3.225,1.505c0.55094,0.61813 0.79281,1.26313 1.075,1.8275c0.55094,1.11531 1.02125,2.23063 1.3975,3.3325c0.12094,0.34938 0.215,0.5375 0.3225,0.86c0.88688,-0.65844 1.88125,-1.505 3.1175,-2.4725c2.52399,-1.97223 5.64283,-4.35471 9.61636,-4.92533c-3.9984,2.3156 -6.76138,6.69912 -6.8204,11.51885c-0.81169,0.65351 -1.61516,1.29818 -2.47346,1.89899c-1.34375,0.94063 -2.75469,2.0425 -5.0525,2.0425c-2.16344,0 -2.92937,-1.34375 -3.3325,-1.935c-0.40312,-0.59125 -0.645,-1.10187 -0.86,-1.6125c-0.29562,-0.71219 -0.51062,-1.41094 -0.7525,-2.15c-0.65844,1.075 -1.1825,1.97531 -2.15,3.225c-3.30562,4.24625 -9.05687,8.9225 -17.7375,8.9225c-1.46469,0 -2.60687,-0.79281 -3.87,-1.29c-2.05594,1.81406 -4.945,4.6225 -4.945,4.6225c-0.99437,0.83313 -2.365,1.03469 -3.5475,0.52406c-1.19594,-0.51063 -2.00219,-1.63938 -2.08281,-2.92938c-0.09406,-1.29 0.55094,-2.51281 1.65281,-3.18469c0,0 2.10969,-2.12312 3.225,-3.1175c-0.34937,-0.44344 -0.88687,-0.72562 -1.1825,-1.1825c-2.2575,-3.49375 -3.44,-7.60562 -3.44,-11.395c0,-4.515 1.29,-8.62687 3.44,-11.825c2.15,-3.19812 5.33469,-5.6975 9.245,-5.6975c3.15781,0 6.02,1.31688 7.6325,3.44zM65.79,114.595c-1.30344,1.94844 -2.2575,4.90469 -2.2575,8.0625c0,2.27094 0.92719,5.40188 2.365,7.6325c3.25188,-4.09844 6.235,-9.245 6.235,-14.7275c0,-1.30344 -0.28219,-2.32469 -0.645,-2.795c-0.36281,-0.47031 -0.645,-0.7525 -2.15,-0.7525c-0.7525,0 -2.24406,0.63156 -3.5475,2.58zM147.92,116.96l-6.88,0l0,-6.88c3.44,0 6.536,3.096 6.88,6.88z\"}})]),_c('g',[_c('g',{attrs:{\"fill\":\"currentColor\"}},[_c('g',{attrs:{\"id\":\"Слой_2\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_4\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Android_x5F_5\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_8\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Windows_x5F_10\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"Color\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M165.464,123.84h-3.784v-6.192c0,-11.696 -9.288,-21.328 -20.64,-21.328c-11.352,0 -20.64,9.632 -20.64,21.328v6.192h-3.784c-3.784,0 -6.536,3.096 -6.536,6.536v34.744c0,3.784 2.752,6.88 6.536,6.88h48.848c3.44,0 6.536,-3.096 6.536,-6.536v-35.088c0,-3.44 -2.752,-6.536 -6.536,-6.536zM127.28,117.648c0,-7.912 6.192,-14.448 13.76,-14.448c7.568,0 13.76,6.536 13.76,14.448v6.192h-27.52zM165.12,165.12h-48.16v-34.4h48.16zM144.136,149.296v4.472c0,1.72 -1.376,3.096 -3.096,3.096c-1.72,0 -3.096,-1.376 -3.096,-3.096v-4.472c-1.032,-1.032 -1.72,-2.064 -1.72,-3.44c0,-2.752 2.064,-4.816 4.816,-4.816c2.752,0 4.816,2.064 4.816,4.816c0,1.376 -0.688,2.408 -1.72,3.44z\"}})])]),_c('g',{attrs:{\"fill\":\"#94A3B8\",\"opacity\":\"0\"}},[_c('g',{attrs:{\"id\":\"IOS\",\"font-family\":\"Inter, sans-serif\",\"font-weight\":\"400\",\"font-size\":\"16\",\"text-anchor\":\"start\",\"visibility\":\"hidden\"}}),_c('g',{attrs:{\"id\":\"IOS_copy\"}},[_c('path',{attrs:{\"d\":\"M116.616,178.88h48.848c7.224,0 13.416,-6.192 13.416,-13.416v-35.088c0,-6.536 -4.472,-11.696 -10.32,-13.072c0,-15.48 -12.384,-27.864 -27.52,-27.864c-15.136,0 -27.52,12.384 -27.52,27.864c-5.848,1.376 -10.32,6.88 -10.32,13.072v34.744c0,7.568 5.848,13.76 13.416,13.76zM141.04,110.08c3.44,0 6.536,3.096 6.88,6.88h-13.76c0.344,-3.784 3.44,-6.88 6.88,-6.88z\"}})])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractArchived.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractArchived.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContractArchived.vue?vue&type=template&id=8555b288&\"\nimport script from \"./ContractArchived.vue?vue&type=script&lang=js&\"\nexport * from \"./ContractArchived.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum DocumentationStatusFilter {\n All,\n NonCompliant,\n Compliant,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport store from \"./store\";\nimport { Theme } from \"./application/enums/shared/Theme\";\n\n@Component({\n metaInfo: {\n title: \"Gestión de cumplimiento de proveedores especializados\",\n titleTemplate: \"%s | Délega\"\n },\n components: {}\n})\nexport default class App extends Vue {\n mounted() {\n const htmlClasses = document.querySelector(\"html\")?.classList;\n if (this.currentTheme === 0) {\n store.commit(\"theme/theme\", 0);\n htmlClasses?.remove(\"dark\");\n } else {\n store.commit(\"theme/theme\", 1);\n htmlClasses?.add(\"dark\");\n }\n }\n get currentTheme(): Theme {\n return store.state?.theme?.theme ?? Theme.Light;\n }\n}\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=09f537ee&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* tslint:disable:no-console */\n\nimport { register } from 'register-service-worker';\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB',\n );\n },\n registered() {\n console.log('Service worker has been registered.');\n },\n cached() {\n console.log('Content has been cached for offline use.');\n },\n updatefound() {\n console.log('New content is downloading.');\n },\n updated() {\n console.log('New content is available; please refresh.');\n },\n offline() {\n console.log('No internet connection found. App is running in offline mode.');\n },\n error(error) {\n console.error('Error during service worker registration:', error);\n },\n });\n}\n","/* ============\n * Vuex Store\n * ============\n *\n * Vuex is a state management pattern + library for Vue.js applications.\n * It serves as a centralized store for all the components in an application,\n * with rules ensuring that the state can only be mutated in a predictable fashion.\n *\n * http://vuex.vuejs.org/en/index.html\n */\n\nimport Vue from 'vue';\nimport Vuex from 'vuex';\n\nimport VuexRouterSync from 'vuex-router-sync';\nimport store from '@/store';\nimport router from '@/router';\n\nVuexRouterSync.sync(store, router);\n\nVue.use(Vuex);","import Vue from \"vue\";\n\n// Sentry\nimport * as Sentry from \"@sentry/browser\";\nimport { Vue as VueIntegration } from \"@sentry/integrations\";\nif (process.env.VUE_APP_INTEGRATIONS_LOGGING_SENTRY?.toString() !== ''\n && process.env.VUE_APP_INTEGRATIONS_LOGGING_SENTRY?.toString() !== 'INTEGRATION_SENTRY') {\n Sentry.init({\n dsn: process.env.VUE_APP_INTEGRATIONS_LOGGING_SENTRY,\n release: process.env.npm_package_version,\n integrations: [\n new VueIntegration({\n Vue,\n attachProps: true,\n logErrors: true,\n }),\n ]\n });\n}\n\n// LogRocket\n// import LogRocket from \"logrocket\";\n// LogRocket.init(process.env.VUE_APP_INTEGRATIONS_LOGGING_LOGROCKET || \"\");\n","import Vue from 'vue';\nVue.directive('click-outside', {\n bind: function (el, binding, vnode) {\n el.clickOutsideEvent = (event) => {\n // here I check that click was outside the el and his children\n if (!(el == event.target || el.contains(event.target))) {\n // and if it did, call method provided in attribute value\n vnode.context[binding.expression](event);\n }\n };\n document.body.addEventListener('click', el.clickOutsideEvent)\n },\n unbind: function (el) {\n document.body.removeEventListener('click', el.clickOutsideEvent)\n },\n});","import Vue from \"vue\";\nimport App from \"@/App.vue\";\nimport router from \"@/router\";\nimport store from \"@/store\";\nimport \"@/registerServiceWorker\";\n\n// Tailwind\nimport \"@/assets/css/out.css\";\nimport \"@/assets/css/styles.css\";\n\n// ----------Plugins\nimport \"@/plugins/vuex\";\nimport \"@/plugins/axios-helper\";\nimport \"@/plugins/integrations\";\nimport \"@/plugins/directives\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport moment from \"moment\";\nmoment().locale(\"es\");\n\nVue.prototype.moment = moment;\nimport Clipboard from \"v-clipboard\";\nVue.use(Clipboard);\n\nimport PortalVue from \"portal-vue\";\nVue.use(PortalVue);\n\n// ----------Icons\nimport { library } from \"@fortawesome/fontawesome-svg-core\";\nimport { faUserSecret } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/vue-fontawesome\";\nlibrary.add(faUserSecret);\nVue.component(\"font-awesome-icon\", FontAwesomeIcon);\nVue.config.productionTip = false;\nexport const app = new Vue({\n i18n,\n router,\n store,\n render: (h) => h(App),\n}).$mount(\"#app\");\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(!_vm.to)?_c('button',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' cursor-not-allowed opacity-75': _vm.disabled,\n 'hover:bg-theme-700': !_vm.disabled\n },attrs:{\"type\":_vm.type,\"disabled\":_vm.disabled},on:{\"click\":function($event){return _vm.$emit('click')}}},[_vm._t(\"default\")],2):_c('router-link',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' cursor-not-allowed opacity-75': _vm.disabled,\n 'hover:bg-theme-700': !_vm.disabled\n },attrs:{\"disabled\":_vm.disabled,\"to\":_vm.to}},[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonPrimary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonPrimary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ButtonPrimary.vue?vue&type=template&id=1ea41621&\"\nimport script from \"./ButtonPrimary.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonPrimary.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):_c('div',[(_vm.items.length === 0)?_c('div',[_vm._v(\" No hay usuarios \")]):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-between w-full space-x-2\"},[_c('div',{staticClass:\"relative flex items-center w-full flex-grow\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})]),_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-2 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'settings.tenant.members.new' }}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\"))+\" \")])])],1)]),_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-2 py-1 text-left font-medium text-gray-500 tracking-wider select-none truncate\",class:{\n 'cursor-pointer hover:text-gray-700':\n header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name ||\n _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(item,idx){return _c('tr',{key:idx,attrs:{\"to\":{\n name: 'app.employee.view',\n params: { id: item.id }\n }}},[(false)?_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap\"},[(item.user && item.user.avatar)?_c('img',{staticClass:\"h-auto xl:h-8 xl:w-8 rounded-sm\",attrs:{\"src\":item.user.avatar,\"alt\":\"\"}}):_c('span',{staticClass:\"inline-flex items-center justify-center h-8 w-8 rounded-sm bg-gray-200\"},[_c('span',{staticClass:\"text-sm font-medium leading-none text-gray-700\"},[_vm._v(_vm._s(_vm.avatarText(item)))])])]):_vm._e(),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_c('span',{staticClass:\"text-xs w-28 justify-center inline-flex items-center px-1 py-1 rounded-sm font-medium\",class:_vm.getUserRoleClass(item)},[_vm._v(_vm._s(_vm.getUserRole(item)))])]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.email)+\" \")]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.firstName)+\" \"+_vm._s(item.lastName)+\" \")]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.phone)+\" \")]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_c('span',{staticClass:\"text-xs w-28 justify-center inline-flex items-center px-1 py-1 rounded-sm font-medium\",class:_vm.getUserStatusClass(item)},[_vm._v(_vm._s(_vm.getUserStatus(item)))])]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[(_vm.getUserJoined(item))?_c('span',{staticClass:\"text-xs w-28 justify-center inline-flex items-center px-1 py-1 rounded-sm font-medium\",class:_vm.getUserJoinedClass(item)},[_vm._v(_vm._s(_vm.getUserJoined(item)))]):_vm._e()]),_c('td',{staticClass:\"px-2 py-1 whitespace-nowrap text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(item.companyRole)+\" \")]),_c('td',{staticClass:\" w-20 px-2 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('router-link',{staticClass:\"flex items-center space-x-2 text-theme-600 hover:text-theme-900\",attrs:{\"to\":{\n name: 'settings.tenant.members.edit',\n params: { id: item.id }\n }}},[_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])])],1)])])}),0)])])])])]),(_vm.maxUsersReached)?_c('div',[_c('WarningBannner',{attrs:{\"title\":_vm.$t('app.subscription.errors.limitReached'),\"text\":_vm.$t('app.subscription.errors.limitReachedUsers', [_vm.maxUsers])}})],1):_vm._e()])])])])],1),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport { TenantJoinSettingsDto } from \"@/application/dtos/master/tenants/TenantJoinSettingsDto\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport { TenantUserStatus } from \"@/application/enums/master/tenants/TenantUserStatus\";\nimport { TenantUserJoined } from \"@/application/enums/master/tenants/TenantUserJoined\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport store from \"@/store\";\nimport WarningBannner from \"@/components/shared/banners/WarningBanner.vue\";\nimport services from \"@/services\";\nimport { UserType } from \"@/application/enums/master/users/UserType\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n metaInfo: {\n title: \"Miembros\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n TableRowSkeleton,\n ConfirmModal,\n ErrorModal,\n WarningBannner,\n Loading\n }\n})\nexport default class TenantMembers extends Vue {\n $refs!: {\n confirmarAcceptUser: ConfirmModal;\n errorModal: ErrorModal;\n confirmUpgrade: ConfirmModal;\n };\n @Prop({ default: \"Miembros\" }) readonly title!: string;\n loading = false;\n sortByColumn = \"\";\n sortDirection = -1;\n searchInput = \"\";\n\n headers = [\n {\n name: \"role\",\n title: i18n.t(\"settings.profile.role\")\n },\n {\n name: \"email\",\n title: i18n.t(\"account.shared.email\")\n },\n {\n name: \"firstName\",\n title: i18n.t(\"settings.profile.name\")\n },\n {\n title: i18n.t(\"settings.profile.phone\")\n },\n {\n title: i18n.t(\"shared.status\")\n },\n {\n title: i18n.t(\"settings.profile.joinedMethod\")\n },\n {\n title: i18n.t(\"models.user.companyRole\")\n }\n ];\n\n items = [] as TenantUserDto[];\n tenantJoinSettings: any = {};\n enableLink = false;\n enablePublicUrl = false;\n requireAcceptance = false;\n copiedUrlLink = false;\n acceptedUser!: TenantUserDto;\n acceptUserEmail = \"\";\n created() {\n tinyEventBus().emitter.on(\"user-canceled\", () => this.canceled());\n tinyEventBus().emitter.on(\"user-added\", () => this.reload());\n tinyEventBus().emitter.on(\"user-saved\", () => this.reload());\n tinyEventBus().emitter.on(\"user-deleted\", () => this.reload());\n\n this.acceptUserEmail = this.$route.query.au?.toString() ?? \"\";\n }\n destroy() {\n tinyEventBus().emitter.off(\"user-canceled\");\n tinyEventBus().emitter.off(\"user-deleted\");\n tinyEventBus().emitter.off(\"user-added\");\n tinyEventBus().emitter.off(\"user-saved\");\n }\n mounted() {\n services.tenants.getFeatures();\n // SignalService.on(\"UserAdded\", (user: User) => {\n // this.items.push(user);\n // });\n services.tenantUserInvitations\n .getInvitationSettings()\n .then((response: TenantJoinSettingsDto) => {\n this.tenantJoinSettings = response;\n this.enableLink = this.tenantJoinSettings.linkActive;\n this.enablePublicUrl = this.tenantJoinSettings.publicUrl;\n this.requireAcceptance = this.tenantJoinSettings.requireAcceptance;\n });\n this.reload();\n }\n avatarText(user: TenantUserDto) {\n if (user) {\n // return \"xx\";\n if (user.firstName && user.lastName) {\n if (user.firstName.length > 0 && user.lastName.length > 0) {\n return (user.firstName[0] + user.lastName[0]).toUpperCase();\n } else if (user.firstName.length > 1) {\n return user.firstName.substring(0, 2).toUpperCase();\n } else if (user.email.length > 1) {\n return user.email.substring(0, 2).toUpperCase();\n }\n } else {\n return user.email.substring(0, 2).toUpperCase();\n }\n }\n }\n async reload() {\n this.loading = true;\n services.tenantUsers\n .getAll(\"\")\n .then((response: TenantUserDto[]) => {\n this.items = [];\n response.forEach(element => {\n this.items.push(element);\n });\n\n if (this.acceptUserEmail) {\n const user = this.items.find(f => f.email === this.acceptUserEmail);\n if (user && user.status === TenantUserStatus.PENDING_ACCEPTANCE) {\n this.acceptUser(user, true);\n }\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n canceled() {\n console.log(\"canceled\");\n }\n added() {\n this.reload();\n // console.log(\"added data:\" + JSON.stringify(data));\n // this.items.push(data);\n // // SignalService.invoke(\n // \"AddUser\",\n // store.state.tenant.current.id,\n // data\n // );\n }\n saved(data) {\n const idx = this.items.findIndex(f => f.id === data.id);\n // console.log(\"found: \" + JSON.stringify(idx));\n this.items[idx] = data;\n }\n deleted(data) {\n this.items = this.items.filter(f => f.id !== data.id);\n }\n updateTenantJoinSettings(reset = false) {\n services.tenantUserInvitations\n .updateInvitationSettings({\n enableLink: this.enableLink,\n resetLink: reset,\n enablePublicUrl: this.enablePublicUrl,\n requireAcceptance: this.requireAcceptance\n })\n .then((response: TenantJoinSettingsDto) => {\n this.tenantJoinSettings = response;\n this.enableLink = this.tenantJoinSettings.linkActive;\n this.enablePublicUrl = this.tenantJoinSettings.publicUrl;\n this.requireAcceptance = this.tenantJoinSettings.requireAcceptance;\n });\n }\n changeLinkSettings() {\n this.updateTenantJoinSettings();\n }\n copyInviteLink() {\n if (this.maxUsersReached) {\n this.$refs.confirmUpgrade.show(\n this.$t(\"settings.tenant.members.maxUsers\") +\n \" (\" +\n this.maxUsers +\n \"). \" +\n this.$t(\"shared.upgrade?\")\n );\n } else {\n // @ts-ignore\n this.$clipboard(this.urlLink);\n this.copiedUrlLink = true;\n }\n }\n yesUpdateSubscription() {\n this.$router.push({ name: \"settings.tenant.subscription\" });\n }\n getUserRole(item: TenantUserDto) {\n return this.$t(\"settings.profile.roles.\" + TenantUserRole[item.role]);\n }\n getUserJoined(item: TenantUserDto) {\n if (\n item.status === TenantUserStatus.ACTIVE &&\n item.joined !== TenantUserJoined.CREATOR\n ) {\n return this.$t(\n \"settings.profile.joined.\" + TenantUserJoined[item.joined]\n );\n }\n }\n getUserStatus(item: TenantUserDto) {\n return this.$t(\"settings.profile.status.\" + TenantUserStatus[item.status]);\n }\n getUserRoleClass(item: TenantUserDto) {\n switch (item.role as TenantUserRole) {\n case TenantUserRole.OWNER:\n return \"bg-blueGray-50 text-gray-800 border border-blueGray-300\";\n case TenantUserRole.ADMIN:\n return \"bg-rose-50 border border-rose-200\";\n case TenantUserRole.MEMBER:\n return \"bg-blue-50 border border-blue-200\";\n case TenantUserRole.GUEST:\n return \"bg-gray-50 border border-gray-200\";\n }\n }\n getUserJoinedClass(item: TenantUserDto) {\n if (item.status === TenantUserStatus.ACTIVE) {\n switch (item.joined as TenantUserJoined) {\n case TenantUserJoined.CREATOR:\n return \"bg-gray-800 text-gray-100\";\n case TenantUserJoined.JOINED_BY_INVITATION:\n return \"bg-blue-50 border border-blue-200\";\n case TenantUserJoined.JOINED_BY_LINK:\n return \"bg-teal-50 border border-teal-200\";\n case TenantUserJoined.JOINED_BY_PUBLIC_URL:\n return \"bg-orange-50 border border-orange-200\";\n }\n }\n }\n getUserStatusClass(item: TenantUserDto) {\n switch (item.status as TenantUserStatus) {\n case TenantUserStatus.PENDING_INVITATION:\n return \"bg-yellow-50 border border-yellow-300\";\n case TenantUserStatus.PENDING_ACCEPTANCE:\n return \"bg-yellow-50 border border-yellow-300\";\n case TenantUserStatus.ACTIVE:\n return \"bg-teal-50 border border-teal-200\";\n case TenantUserStatus.INACTIVE:\n return \"bg-red-50 border border-red-300\";\n }\n }\n pendingAcceptance(item: TenantUserDto) {\n return item.status === TenantUserStatus.PENDING_ACCEPTANCE;\n }\n yesAcceptUser() {\n if (this.isOwnerOrAdmin && this.acceptedUser) {\n services.tenantUserInvitations\n .acceptUser(this.acceptedUser)\n .then(() => {\n this.reload();\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n }\n }\n acceptUser(item: TenantUserDto, accept: boolean) {\n item.accepted = accept;\n this.acceptedUser = item;\n this.$refs.confirmarAcceptUser.show(\n this.$t(\"shared.accept?\", [item.email]).toString(),\n this.$t(\"shared.accept\").toString(),\n this.$t(\"shared.cancel\").toString()\n );\n }\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n get isOwnerOrAdmin(): boolean {\n return (\n this.currentRole === TenantUserRole.OWNER ||\n this.currentRole === TenantUserRole.ADMIN\n );\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get maxUsers(): number {\n if (store.state.account.user?.type === UserType.Admin) {\n return 0;\n }\n return store.state.app.features.maxUsers;\n }\n get maxUsersReached() {\n if (\n this.maxUsers > 0 &&\n store.state.tenant.members.length >= this.maxUsers\n ) {\n return true;\n }\n return false;\n }\n\n get urlLink(): string {\n if (this.tenantJoinSettings) {\n return location.origin + \"/join/\" + this.tenantJoinSettings.link;\n }\n return \"\";\n }\n get filteredItems(): TenantUserDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.phone\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems() {\n if (!this.items) {\n return [];\n }\n const items = this.filteredItems.sort((x, y) => {\n return x.role > y.role ? -1 : 1;\n });\n return items.sort((x, y) => {\n return x.role > y.role ? 1 : -1;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMembers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantMembers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenantMembers.vue?vue&type=template&id=288326cb&\"\nimport script from \"./TenantMembers.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenantMembers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('h4',{staticClass:\" text-lg font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.fiscal.edit\"))+\" \")])]),(_vm.loading)?_c('Loading'):(_vm.item)?_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.deleteCredentials($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.name\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.name),expression:\"item.name\"}],ref:\"inputName\",staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"name\":\"name\",\"id\":\"name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"name\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"tax-id\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.taxId\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.taxId),expression:\"item.taxId\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"tax-id\",\"name\":\"tax-id\",\"autocomplete\":\"none\",\"required\":\"\",\"minlength\":\"12\",\"maxlength\":\"13\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.taxId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"taxId\", $event.target.value)}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"legal-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.legalName\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.legalName),expression:\"item.legalName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"legal-name\",\"name\":\"legal-name\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},domProps:{\"value\":(_vm.item.legalName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"legalName\", $event.target.value)}}})])]),_c('div',{staticClass:\" col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"credential-type\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.credentialType\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.type),expression:\"type\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"id\":\"credential-type\",\"name\":\"credential-type\",\"autocomplete\":\"none\",\"required\":\"\",\"disabled\":\"\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.type=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"CIEC\")]),_c('option',{domProps:{\"value\":1}},[_vm._v(\"E.FIRMA\")])])])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]),_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-red-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-red-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])])])])]):_vm._e()],1)])])],1)])]),_c('ConfirmModal',{ref:\"confirmModal\",on:{\"yes\":_vm.confirmedDelete}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport WarningBannner from \"@/components/shared/banners/WarningBanner.vue\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { FiscalCredentialType } from \"@/application/enums/app/v3/cfdis/FiscalCredentialType\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n WarningBannner,\n Loading,\n ConfirmModal\n }\n})\nexport default class EditWorkspaceCredential extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n confirmModal: ConfirmModal;\n successModal: SuccessModal;\n inputName: HTMLInputElement;\n };\n loading = false;\n item: WorkspaceDto | null = null;\n type: FiscalCredentialType = FiscalCredentialType.CIEC;\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.workspaces\n .get(this.$route.params.id)\n .then(response => {\n this.item = response;\n })\n .finally(() => {\n this.loading = false;\n this.$nextTick(() => {\n if (this.$refs.inputName) {\n this.$refs.inputName.focus();\n this.$refs.inputName.select();\n }\n });\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.workspaces\" });\n }\n deleteCredentials() {\n this.$refs.confirmModal.show(\n \"¿Eliminar credencial?\",\n \"Eliminar\",\n \"Atrás\",\n \"ADVERTENCIA: Ya no podrás obtener automáticamente información del SAT como la opinión de cumplimiento y tus CFDIs.\"\n );\n }\n confirmedDelete() {\n this.loading = true;\n services.workspaces\n .deleteCredential(this.item?.fiscalWorkspace?.id)\n .then(() => {\n this.$refs.successModal.show(\n \"Credencial eliminada\",\n \"Se ha eliminado correctamente.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error al eliminar\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditWorkspaceCredential.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditWorkspaceCredential.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditWorkspaceCredential.vue?vue&type=template&id=f11a228c&\"\nimport script from \"./EditWorkspaceCredential.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditWorkspaceCredential.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{},[_c('div',{staticClass:\"max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8\"},[_c('nav',{staticClass:\"-mx-5 -my-2 flex flex-wrap justify-center\",attrs:{\"aria-label\":\"Footer\"}},[_c('div',{staticClass:\"px-5 py-2\"},[_c('router-link',{staticClass:\"text-base text-gray-500 hover:text-gray-900 dark:hover:text-white\",attrs:{\"to\":{ name: 'landing' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.navbar.product\"))+\" \")])],1),_c('div',{staticClass:\"px-5 py-2\"},[_c('router-link',{staticClass:\"text-base text-gray-500 hover:text-gray-900\",attrs:{\"to\":{ name: 'prices' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.navbar.pricing\"))+\" \")])],1),_c('div',{staticClass:\"px-5 py-2\"},[_c('router-link',{staticClass:\"text-base text-gray-500 hover:text-gray-900\",attrs:{\"to\":{ name: 'contact' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.navbar.contact\"))+\" \")])],1),_c('div',{staticClass:\"px-5 py-2\"},[_c('router-link',{staticClass:\"text-base text-gray-500 hover:text-gray-900\",attrs:{\"to\":{ name: 'terms' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.navbar.terms\"))+\" \")])],1),_c('div',{staticClass:\"px-5 py-2\"},[_c('router-link',{staticClass:\"text-base text-gray-500 hover:text-gray-900\",attrs:{\"to\":{ name: 'privacy' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.navbar.privacy\"))+\" \")])],1)]),_c('div',{staticClass:\"mt-8 flex justify-center space-x-6\"},[_c('a',{staticClass:\"text-gray-400 hover:text-gray-500\",attrs:{\"target\":\"_blank\",\"href\":_vm.facebook}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Facebook\")]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z\",\"clip-rule\":\"evenodd\"}})])]),_c('a',{staticClass:\"text-gray-400 hover:text-gray-500\",attrs:{\"target\":\"_blank\",\"href\":_vm.instagram}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Instagram\")]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\",\"clip-rule\":\"evenodd\"}})])]),_c('a',{staticClass:\"text-gray-400 hover:text-gray-500\",attrs:{\"target\":\"_blank\",\"href\":_vm.twitter}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Twitter\")]),_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84\"}})])])]),_c('p',{staticClass:\"mt-2 text-center text-xs text-gray-400\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.footer.copyright\"))+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=7d2b16e2&\"\nimport script from \"./Footer.vue?vue&type=script&lang=js&\"\nexport * from \"./Footer.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex space-x-3 items-center justify-between px-4 sm:px-6 lg:px-8\"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),_c('div',{staticClass:\"flex items-center space-x-2 h-2\"},[_c('portal-target',{staticClass:\"flex items-center space-x-2 h-2\",attrs:{\"name\":\"settings-buttons\"}})],1)],1)]),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\nimport DarkModeToggle from \"@/components/marketing/toggles/DarkModeToggle.vue\";\n\n@Component({\n metaInfo: {\n title: \"Ajustes\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs,\n DarkModeToggle\n }\n})\nexport default class Contracts extends Vue {\n tabs: TabItem[] = [];\n mounted() {\n if (this.$route.name?.toString() === \"settings\") {\n this.$router.push({ name: \"settings.profile\" });\n }\n this.tabs = [\n {\n name: this.$t(\"settings.profile.profileTitle\"),\n routeName: \"settings.profile\"\n },\n {\n name: this.$t(\"settings.tenant.workspaces.title\"),\n routeName: \"settings.tenant.workspaces\"\n },\n {\n name: this.$t(\"settings.tenant.members.title\"),\n routeName: \"settings.tenant.members\"\n },\n {\n name: this.$t(\"settings.tenant.subscription.title\"),\n routeName: \"settings.tenant.subscription\"\n },\n {\n name: this.$t(\"settings.tenant.title\"),\n routeName: \"settings.tenant.general\"\n }\n ];\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Settings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Settings.vue?vue&type=template&id=19c5767a&\"\nimport script from \"./Settings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Settings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum Extension {\n Zip,\n Txt,\n Png,\n Jpg,\n Rar\n}\n","import store from \"../../store\";\nimport { Extension } from \"../enums/app/common/Extension\";\nimport { SubscriptionBillingPeriod } from \"../enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { SubscriptionPriceType } from \"../enums/master/subscriptions/SubscriptionPriceType\";\nimport { TenantUserRole } from \"../enums/master/tenants/TenantUserRole\";\nimport { UserLoginType } from \"../enums/master/users/UserLoginType\";\nimport { UserType } from \"../enums/master/users/UserType\";\n\nexport enum ValueType {\n String,\n Bool,\n Money,\n SubscriptionPriceType,\n SubscriptionBillingPeriod,\n Number,\n Image,\n ResourceFileType,\n File,\n SubscriptionProducts,\n TenantUserRoles,\n TextArea,\n Date,\n UserType,\n UserLoginType,\n Count,\n}\n\nexport class ColumnType {\n public static convertValue(item: any, column: ColumnType): string {\n const value = item[column.name];\n if (value === null || value === undefined) {\n return \"\";\n }\n if (column.valueType) {\n switch (column.valueType as ValueType) {\n case ValueType.Count:\n console.log(\"column: \" + column.name);\n console.log(\"valueType: \" + column.valueType);\n console.log(\"value: \" + value);\n if (!value) {\n return \"0\";\n } else {\n console.log(\"length: \" + value.length);\n return value.length;\n }\n case ValueType.String:\n case ValueType.TextArea:\n case ValueType.Date:\n return value;\n case ValueType.Money:\n return \"$\" + value.toFixed(2).replace(/\\d(?=(\\d{3})+\\.)/g, \"$&,\") || \"\";\n case ValueType.SubscriptionBillingPeriod:\n return SubscriptionBillingPeriod[value].toString();\n case ValueType.UserType:\n return UserType[value].toString();\n case ValueType.UserLoginType:\n return UserLoginType[value].toString();\n case ValueType.SubscriptionPriceType:\n return SubscriptionPriceType[value];\n case ValueType.ResourceFileType:\n return Extension[value];\n case ValueType.TenantUserRoles:\n return TenantUserRole[value];\n case ValueType.SubscriptionProducts:\n return store.state.pricing.products?.find((f) => f.tier === value)?.title ?? \"\";\n case ValueType.Bool:\n if (value) {\n return \"yes\";\n } else {\n return \"no\";\n }\n // ? i18n.t(\"shared.active\").toString()\n // : i18n.t(\"shared.inactive\").toString();\n }\n }\n return value;\n }\n public static getFormType(column: ColumnType): string {\n if (column.values && column.values.length > 0) {\n return \"select\";\n }\n if (!column.valueType) {\n return \"input\";\n } else {\n switch (column.valueType as ValueType) {\n case ValueType.Date:\n return \"dateInput\";\n case ValueType.String:\n case ValueType.Money:\n case ValueType.Number:\n return \"input\";\n case ValueType.TextArea:\n return \"textArea\";\n case ValueType.Bool:\n return \"checkbox\";\n case ValueType.SubscriptionPriceType:\n case ValueType.SubscriptionBillingPeriod:\n case ValueType.UserLoginType:\n case ValueType.UserType:\n case ValueType.ResourceFileType:\n return \"select\";\n case ValueType.SubscriptionProducts:\n case ValueType.TenantUserRoles:\n return \"checklist\";\n case ValueType.Image:\n // case ValueType.File:\n return \"image\";\n case ValueType.File:\n return \"upload\";\n default:\n break;\n }\n }\n return \"\";\n }\n public static getFormInputType(column: ColumnType) {\n if (this.getFormType(column) === \"input\") {\n switch (column.valueType as ValueType) {\n case ValueType.Money:\n case ValueType.Number:\n return \"number\";\n case ValueType.File:\n return \"file\";\n }\n return \"text\";\n }\n }\n public static getValues(column: ColumnType): any[] {\n if (column.values && column.values.length > 0) {\n return column.values;\n }\n let keys: any = [];\n let enumValues: any = [];\n const values: any = [];\n switch (column.valueType as ValueType) {\n case ValueType.SubscriptionBillingPeriod:\n keys = Object.keys(SubscriptionBillingPeriod).filter((k) => typeof SubscriptionBillingPeriod[k as any] === \"number\");\n enumValues = keys.map((k) => SubscriptionBillingPeriod[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: SubscriptionBillingPeriod[key], id: key });\n });\n return values;\n case ValueType.SubscriptionPriceType:\n keys = Object.keys(SubscriptionPriceType).filter((k) => typeof SubscriptionPriceType[k as any] === \"number\");\n enumValues = keys.map((k) => SubscriptionPriceType[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: SubscriptionPriceType[key], id: key });\n });\n return values;\n case ValueType.ResourceFileType:\n keys = Object.keys(Extension).filter((k) => typeof Extension[k as any] === \"number\");\n enumValues = keys.map((k) => Extension[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: Extension[key], id: key });\n });\n return values;\n case ValueType.TenantUserRoles:\n keys = Object.keys(TenantUserRole).filter((k) => typeof TenantUserRole[k as any] === \"number\");\n enumValues = keys.map((k) => TenantUserRole[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: TenantUserRole[key], value: key });\n });\n return values;\n case ValueType.SubscriptionProducts:\n store.state.pricing.products.forEach((product) => {\n values.push({ name: product.title, value: product.tier });\n });\n return values;\n case ValueType.UserType:\n keys = Object.keys(UserType).filter((k) => typeof UserType[k as any] === \"number\");\n enumValues = keys.map((k) => UserType[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: UserType[key], id: key });\n });\n return values;\n case ValueType.UserLoginType:\n keys = Object.keys(UserLoginType).filter((k) => typeof UserLoginType[k as any] === \"number\");\n enumValues = keys.map((k) => UserLoginType[k as any]); // [0, 1]\n enumValues.forEach((key) => {\n values.push({ name: UserLoginType[key], id: key });\n });\n return values;\n default:\n break;\n }\n return [];\n }\n public name!: string;\n public valueType?: ValueType = ValueType.String;\n public optional?: boolean;\n public cannotEdit?: boolean;\n public values?: any[];\n public default?: any;\n public placeholder?: any;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-gray-600 overflow-hidden drop text-center flex border-2 border-dashed border-gray-300 rounded-md items-center\",class:_vm.getClasses,on:{\"dragover\":function($event){$event.preventDefault();return _vm.dragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.dragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.drop($event)}}},[(_vm.loading)?_c('div',{staticClass:\"mx-auto font-medium text-base\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.loading\"))+\"... \")]):_c('div',[(_vm.getImageSources.length === 0)?_c('h1',{staticClass:\"mx-auto font-bold text-lg text-theme-500\"},[_vm._t(\"title\")],2):_c('span',[_vm._t(\"hasImages\")],2),(_vm.getImageSources.length === 0)?_c('div',{staticClass:\"manual\"},[_c('div',{staticClass:\"space-y-1 text-center\"},[_vm._t(\"icon\"),_c('div',{staticClass:\"flex text-sm text-gray-600\"},[_c('label',{staticClass:\"relative cursor-pointer rounded-md font-medium text-theme-600 hover:text-theme-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-theme-500\",attrs:{\"for\":\"file-upload\"}},[_c('span'),_vm._m(0),_c('input',{attrs:{\"type\":\"file\",\"id\":\"uploadmyfile\",\"accept\":_vm.accept,\"capture\":\"camera\",\"multiple\":_vm.multiple},on:{\"change\":_vm.requestUploadFile}})]),_c('p',{staticClass:\"pl-1\"},[_vm._v(\"o arrastra y suelta\")])]),_c('p',{staticClass:\"text-xs text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.description)+\" \")])],2)]):_vm._e()])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{attrs:{\"for\":\"uploadmyfile\"}},[_c('p',{staticClass:\"font-semibold text-sm underline cursor-pointer hover:text-theme-500\"},[_vm._v(\" Sube un archivo \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport imageCompression from \"browser-image-compression\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\n\n@Component({})\nexport default class DropDocument extends Vue {\n @Prop({ default: false, type: Boolean })\n loadImages!: boolean;\n @Prop({ default: \"Arrastra el documento aquí\", type: String })\n title!: boolean;\n @Prop({ default: \".pdf\", type: String })\n accept!: string;\n @Prop({ default: false, type: Boolean })\n multiple!: boolean;\n @Prop({ default: \"\", type: String })\n description!: boolean;\n @Prop({ default: 0, type: Number })\n imageStyle!: number;\n $refs!: {\n fileInput: HTMLInputElement;\n };\n\n isDragging = false;\n imageSources: string[] = [];\n loading = false;\n\n dragOver() {\n if (!this.loading) {\n this.isDragging = true;\n }\n }\n dragLeave() {\n this.isDragging = false;\n }\n async compressFile(imageFile: File): Promise {\n // console.log(\"originalFile instanceof Blob\", imageFile instanceof Blob); // true\n // console.log(`originalFile size ${imageFile.size / 1024 / 1024} MB`);\n const options = {\n maxSizeMB: 0.5,\n maxWidthOrHeight: 1920 / 2,\n useWebWorker: true\n };\n try {\n const file = await imageCompression(imageFile, options);\n // console.log(\"compressedFile instanceof Blob\", file instanceof Blob); // true\n // console.log(`compressedFile size ${file.size / 1024 / 1024} MB`); // smaller than maxSizeMB\n return Promise.resolve(file);\n } catch (error) {\n return Promise.reject(error);\n }\n }\n async compressFileNotImage(imageFile: File): Promise {\n return Promise.resolve(imageFile);\n }\n async drop(e) {\n let files: any[] = [...e.dataTransfer.files];\n // console.log({ files });\n const newImagesPromises: any[] = [];\n await files.forEach((element: File) => {\n if (element.type.includes(\"image\")) {\n newImagesPromises.push(this.compressFile(element));\n } else {\n newImagesPromises.push(this.compressFileNotImage(element));\n }\n });\n files = await Promise.all(newImagesPromises);\n const filesArray: FileBase64[] = [];\n const promises: any[] = [];\n\n files.forEach(file => {\n const promise = this.getBase64(file);\n promises.push(promise);\n promise\n .then(response => {\n filesArray.push({\n file,\n base64: response\n });\n this.$emit(\"dropped\", response);\n })\n .catch(e => {\n console.error(e);\n });\n });\n await Promise.all(promises).then(() => {\n this.$emit(\"droppedFiles\", filesArray, files);\n });\n if (this.loadImages) {\n this.imageSources = this.imageSources.concat(\n filesArray.map(f => f.base64)\n );\n }\n this.isDragging = false;\n }\n remove(img) {\n this.imageSources = this.imageSources.filter(f => f !== img);\n }\n requestUploadFile() {\n const src = this.$el.querySelector(\"#uploadmyfile\");\n this.drop({ dataTransfer: src });\n }\n getBase64(file) {\n const reader = new FileReader();\n return new Promise(resolve => {\n reader.onload = ev => {\n resolve(ev?.target?.result);\n };\n reader.readAsDataURL(file);\n });\n }\n get getImageSources(): string[] {\n return this.imageSources.filter(f => f && f !== \"\");\n }\n get getClasses() {\n return this.isDragging && !this.loading\n ? \"bg-theme-200 border-2 border-dashed border-theme-800\"\n : \"\";\n }\n get getGridCols() {\n if (this.imageSources.length > 0 && this.imageSources.length <= 12) {\n return \"grid-cols-\" + this.imageSources.length;\n } else if (this.imageSources.length > 12) {\n return \"grid-cols-12\";\n }\n return \"grid-cols-1\";\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDocument.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDocument.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropDocument.vue?vue&type=template&id=2ec8cd81&scoped=true&\"\nimport script from \"./DropDocument.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropDocument.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DropDocument.vue?vue&type=style&index=0&id=2ec8cd81&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ec8cd81\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bg-yellow-50 mb-2 rounded-sm border border-yellow-300 mt-4\"},[_c('div',{staticClass:\"rounded-sm bg-yellow-50 p-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-yellow-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-yellow-800\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-yellow-700\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.text)+\" \"),(_vm.upgrade)?_c('router-link',{staticClass:\" underline text-theme-800\",attrs:{\"to\":{ name: 'settings.tenant.subscription' }}},[_vm._v(_vm._s(_vm.$t(\"settings.tenant.subscription.clickHereToUpgrade\")))]):_vm._e()],1)])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\n\n@Component({})\nexport default class WarningBanner extends Vue {\n @Prop({ default: i18n.t(\"shared.warning\") }) title!: string;\n @Prop({ default: \"\" }) text!: string;\n @Prop({ default: false }) upgrade!: boolean;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WarningBanner.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WarningBanner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WarningBanner.vue?vue&type=template&id=1adfa8d6&\"\nimport script from \"./WarningBanner.vue?vue&type=script&lang=ts&\"\nexport * from \"./WarningBanner.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-blueGray-50 dark:bg-blueGray-800 min-h-screen flex flex-col justify-center py-12 px-6 lg:px-8\"},[_c('div',{staticClass:\"sm:mx-auto sm:w-full sm:max-w-md\"},[(_vm.tenant && (_vm.tenant.logo || _vm.tenant.logoDarkmode))?_c('div',[_c('router-link',{attrs:{\"to\":{ name: 'landing' }}},[_c('img',{staticClass:\"mx-auto h-12 w-auto\",attrs:{\"alt\":\"Logo\",\"src\":_vm.tenant.logo}})])],1):_c('Logo',{staticClass:\"mx-auto h-12 w-auto\"})],1),(_vm.requested)?_c('div',[_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"max-w-md w-full mx-auto rounded-sm px-8 pt-6 pb-8 mb-4 mt-8\"},[_c('h2',{staticClass:\"mt-6 text-center text-3xl leading-9 font-bold text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.successTitle\"))+\" \")]),_c('div',{staticClass:\"my-4 leading-tight\"},[_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-gray-800 max-w\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.successText\"))+\" \")])])])])]):_c('div',[(_vm.loading)?_c('div'):(!_vm.tenant)?_c('div',{staticClass:\"text-red-500 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.invalidInvitation\"))+\" \")]):_vm._e(),(_vm.tenant && _vm.tenant.name)?_c('div',[(_vm.emailDisabled && _vm.email)?_c('div',[_c('p',{staticClass:\"mt-2 text-center text-sm leading-5 text-gray-800 max-w\"},[_c('button',{staticClass:\"font-medium text-theme-500 hover:text-theme-400 focus:outline-none focus:underline transition ease-in-out duration-150\",on:{\"click\":_vm.logout}},[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.anotherEmail\"))+\" \")])])]):_vm._e(),_c('div',{staticClass:\"mt-6 text-center text-lg leading-9 font-bold text-gray-800\"},[(_vm.accepted)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.acceptedUser\", [_vm.tenant.name]))+\" \"),_c('p',{staticClass:\"font-normal text-base\"},[_vm._v(\" Ingresa tu contraseña para entrar \")])]):_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"account.invitation.requestAccess\"))+\" \"+_vm._s(_vm.tenant.name)+\" \")])]),_c('div',{staticClass:\"mt-8 sm:mx-auto sm:w-full sm:max-w-md\"},[_c('div',{staticClass:\"py-8 px-4 sm:rounded-sm sm:px-10\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.accept($event)}}},[_c('div',[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.email\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.email),expression:\"user.email\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",class:{\n 'cursor-not-allowed bg-gray-100': _vm.emailDisabled\n },attrs:{\"disabled\":_vm.emailDisabled,\"id\":\"email\",\"type\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.user.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"email\", $event.target.value)}}})])]),_c('div',[_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t(\"account.shared.password\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"password\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]),(!_vm.emailDisabled)?_c('div',{staticClass:\"mt-6\"},[_c('label',{staticClass:\"block text-sm font-medium leading-5 text-gray-800\",attrs:{\"for\":\"confirmPassword\"}},[_vm._v(_vm._s(_vm.$t(\"account.register.confirmPassword\")))]),_c('div',{staticClass:\"mt-1 rounded-sm shadow-sm\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.passwordConfirm),expression:\"user.passwordConfirm\"}],staticClass:\"bg-white dark:bg-gray-700 text-coolGray-800 dark:text-blueGray-200 appearance-none rounded-none relative block w-full px-3 py-2 border-gray-300 dark:border-gray-600 placeholder-gray-500 rounded-b-sm focus:outline-none focus:ring-theme-300 focus:border-theme-300 focus:z-10 sm:text-sm\",attrs:{\"id\":\"confirmPassword\",\"type\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.user.passwordConfirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"passwordConfirm\", $event.target.value)}}})])]):_vm._e()]),_c('div',{staticClass:\"mt-6\"},[_c('span',{staticClass:\"block w-full rounded-sm shadow-sm\"},[_c('loading-button',{ref:\"loadingButton\",staticClass:\"w-full block\",attrs:{\"type\":\"submit\"}},[(_vm.accepted)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.enter\"))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"shared.request\")))])])],1)])])])])]):_vm._e()])]),_c('ErrorModal',{ref:\"errorModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport LoadingButton from \"@/components/shared/buttons/LoadingButton.vue\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport Logo from \"@/components/marketing/Logo.vue\";\nimport { UserVerifyRequest } from \"../../application/contracts/master/users/UserVerifyRequest\";\nimport { TenantDto } from \"../../application/dtos/master/tenants/TenantDto\";\nimport LoadingButtonComponent from \"@/components/shared/buttons/LoadingButton.vue\";\nimport store from \"@/store\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n ErrorModal,\n Logo,\n LoadingButton\n }\n})\nexport default class InviteURL extends Vue {\n $refs!: {\n loadingButton: LoadingButtonComponent;\n errorModal: ErrorModal;\n };\n loading = false;\n requirePhone = true;\n user = {} as UserVerifyRequest;\n emailDisabled = false;\n tenant = {} as TenantDto;\n requested = false;\n accepted = false;\n created() {\n this.user.token = this.$route.params.linkUrl ?? \"\";\n this.user.email = this.email;\n if (!this.email) {\n this.user.email = this.$route.query.e?.toString() ?? \"\";\n this.accepted = this.$route.query.a === \"true\";\n if (this.user.email && this.user.email !== \"\") {\n this.emailDisabled = true;\n }\n } else {\n this.emailDisabled = true;\n }\n }\n mounted() {\n if (this.$route.params.linkUrl) {\n this.loading = true;\n services.tenantUserInvitations\n .getInviteURL(this.$route.params.linkUrl)\n .then((response: TenantDto) => {\n this.tenant = response;\n })\n .catch(error => {\n if (error.status === 404) {\n this.$refs.errorModal.show(this.$t(\"shared.invalidInvitation\"));\n }\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n accept() {\n if (\n !this.emailDisabled &&\n this.user.password !== this.user.passwordConfirm\n ) {\n this.$refs.errorModal.show(\n this.$t(\"account.login.errors.passwordMissmatch\")\n );\n return;\n }\n\n this.$refs.loadingButton.start();\n services.tenantUserInvitations\n .requestAccess(this.$route.params.linkUrl, this.user)\n .then(() => {\n this.requested = true;\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n if (this.$refs.loadingButton) {\n this.$refs.loadingButton.stop();\n }\n });\n }\n logout() {\n store.commit(\"auth/logout\");\n this.emailDisabled = false;\n this.user.email = \"\";\n }\n get email() {\n return store.state.account.user?.email ?? \"\";\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteURL.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteURL.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteURL.vue?vue&type=template&id=3ddf0f90&\"\nimport script from \"./InviteURL.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteURL.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('breadcrumb',{attrs:{\"menu\":[\n { title: _vm.$t('models.tenant.plural'), routeName: 'admin.tenants' }\n ]}}),_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-3 px-8 h-13\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between \"},[_c('Tabs',{staticClass:\" flex-grow\",attrs:{\"type\":1,\"tabs\":_vm.tabs}}),_c('portal-target',{staticClass:\"flex items-center space-x-2 h-2\",attrs:{\"name\":\"tenant-buttons\"}})],1)]),_c('div',[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport Tabs, { TabItem } from \"@/components/shared/tabs/Tabs.vue\";\n\n@Component({\n metaInfo: {\n title: \"Perfil de organización\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n Tabs\n }\n})\nexport default class Tenant extends Vue {\n tabs: TabItem[] = [];\n mounted() {\n this.tabs = [\n {\n name: this.$t(\"admin.tenants.profile.title\"),\n routeName: \"admin.tenants.profile\"\n },\n {\n name: this.$t(\"admin.tenants.subscription.title\"),\n routeName: \"admin.tenants.subscription\"\n }\n ];\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tenant.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tenant.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Tenant.vue?vue&type=template&id=308e4d87&\"\nimport script from \"./Tenant.vue?vue&type=script&lang=ts&\"\nexport * from \"./Tenant.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showing)?_c('div',[_c('div',{staticClass:\"z-50 fixed bottom-0 inset-x-0 px-4 pb-6 sm:inset-0 sm:p-0 sm:flex sm:items-center sm:justify-center\"},[_vm._m(0),_c('div',{staticClass:\"bg-white text-gray-800 rounded-sm px-4 pt-5 pb-4 overflow-hidden shadow-xl transform transition-all sm:max-w-lg sm:w-full sm:p-6\",attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',[_c('div',{staticClass:\"mt-3 text-center sm:mt-5\"},[_c('h3',{staticClass:\"text-lg leading-6 font-medium text-gray-900\",attrs:{\"id\":\"modal-headline\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"mt-2\"},[_c('p',{staticClass:\"text-base leading-5\"},[_vm._t(\"default\")],2)])])]),_c('div',{staticClass:\"mt-5 sm:mt-6\"},[_c('span',{staticClass:\"flex w-full rounded-sm shadow-sm\"},[_c('button',{ref:\"close\",staticClass:\"inline-flex justify-center w-full rounded-sm border border-transparent px-4 py-2 bg-gray-200 text-gray-800 text-base leading-6 font-medium shadow-sm hover:bg-gray-100 focus:outline-none focus:bg-gray-400 focus:shadow-outline-indigo transition ease-in-out duration-150 sm:text-sm sm:leading-5\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.showing = false}}},[_vm._v(\" \"+_vm._s(_vm.closeText)+\" \")])])])])])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fixed inset-0 transition-opacity\"},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class Modal extends Vue {\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(title?: any, closeText?: any) {\n this.title = title;\n if (closeText !== \"\") {\n this.closeText = closeText;\n }\n this.showing = true;\n }\n close() {\n this.showing = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=9a866dac&\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts&\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pt-1\"},[_c('div',{staticClass:\"space-y-2 pt-4\"},[_c('div',[_c('div',[_c('dl',{staticClass:\"grid gap-1 sm:gap-2 md:gap-3 lg:gap-5 grid-cols-3\"},[_c('div',{staticClass:\"px-3 py-3 bg-white shadow rounded-lg overflow-hidden sm:px-6 sm:py-4\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_c('div',{staticClass:\" flex items-center space-x-2 truncate\"},[_c('svg',{staticClass:\" flex-shrink-0 w-2.5 h-2.5 text-red-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 8 8\"}},[_c('circle',{attrs:{\"cx\":\"4\",\"cy\":\"4\",\"r\":\"3\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(\" En incumplimiento \")])])]),_c('dd',{staticClass:\"mt-1 text-3xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\" ... \")]):(_vm.documentation)?_c('span',[_vm._v(\" \"+_vm._s(_vm.documentation.nonCompliant)+\" \")]):_vm._e()])]),_c('div',{staticClass:\"px-3 py-3 bg-white shadow rounded-lg overflow-hidden sm:px-6 sm:py-4\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('svg',{staticClass:\" flex-shrink-0 w-2.5 h-2.5 text-yellow-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 8 8\"}},[_c('circle',{attrs:{\"cx\":\"4\",\"cy\":\"4\",\"r\":\"3\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(\" Dentro del plazo \")])])]),_c('dd',{staticClass:\"mt-1 text-3xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\" ... \")]):(_vm.documentation)?_c('span',[_vm._v(\" \"+_vm._s(_vm.documentation.withinDeadline)+\" \")]):_vm._e()])]),_c('div',{staticClass:\"px-3 py-3 bg-white shadow rounded-lg overflow-hidden sm:px-6 sm:py-4\"},[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('svg',{staticClass:\" flex-shrink-0 w-2.5 h-2.5 text-teal-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 8 8\"}},[_c('circle',{attrs:{\"cx\":\"4\",\"cy\":\"4\",\"r\":\"3\"}})]),_c('div',{staticClass:\"truncate\"},[_vm._v(\" En cumplimiento \")])])]),_c('dd',{staticClass:\"mt-1 text-3xl font-semibold text-gray-900\"},[(_vm.loading)?_c('span',[_vm._v(\" ... \")]):(_vm.documentation)?_c('span',[_vm._v(\" \"+_vm._s(_vm.documentation.compliant)+\" \")]):_vm._e()])])])])]),(!_vm.documentation)?_c('div',{staticClass:\" mx-auto\"},[(_vm.loading)?_c('Loading'):_c('span',[_vm._v(\" Documentación inválida \")])],1):_c('div',{staticClass:\" space-y-6 pb-6 pt-4 overflow-x-auto\"},[_c('DocumentsTable',{attrs:{\"year\":_vm.year,\"title\":\"Cumplimiento\",\"documentTypes\":_vm.regularDocuments,\"documentation\":_vm.documentation,\"canUpload\":!_vm.linkId,\"showValidatePreviousPeriods\":true},on:{\"uploaded\":_vm.reload,\"updated\":_vm.reload,\"deleted\":_vm.reload,\"validatePreviousPeriodsChanged\":_vm.validatePreviousPeriodsChanged}}),_c('DocumentsTable',{attrs:{\"year\":_vm.year,\"title\":\"Proveedor especializado (REPSE)\",\"specialized\":true,\"documentTypes\":_vm.specializedDocuments,\"documentation\":_vm.documentation,\"canUpload\":!_vm.linkId},on:{\"uploaded\":_vm.reload,\"updated\":_vm.reload,\"deleted\":_vm.reload}}),_c('DocumentsTable',{attrs:{\"year\":_vm.year,\"title\":\"Documentos únicos\",\"documentTypes\":_vm.oneTimeDocuments,\"documentation\":_vm.documentation,\"canUpload\":!_vm.linkId},on:{\"uploaded\":_vm.reload,\"updated\":_vm.reload,\"deleted\":_vm.reload}})],1)]),_c('document-upload',{ref:\"uploadDocument\",on:{\"uploaded\":_vm.reload}}),_c('ConfirmModal',{ref:\"confirmModalSend\",attrs:{\"inputType\":\"email\"},on:{\"yes\":_vm.confirmSendDocumentationStatus}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\" flex items-center space-x-2 justify-between\"},[(!_vm.showValidatePreviousPeriods)?_c('h2',{staticClass:\" text-base font-medium\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]):_c('h2',{staticClass:\"text-base font-medium\"},[_vm._v(\" Estatus de Cumplimiento \"),(!_vm.validatePreviousPeriods && _vm.currentPeriod)?_c('span',[_vm._v(\" de \"+_vm._s(_vm.currentPeriod.periodName)+\" \")]):_c('span',[_vm._v(\"del \"+_vm._s(_vm.year)+\" \")])]),(_vm.specialized && _vm.canUpload)?_c('div',[(_vm.loading)?_c('span',{staticClass:\" italic text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.updating\"))+\"... \")]):_c('button',{staticClass:\"flex items-center space-x-3 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.toggleWorkspaceType}},[_vm._m(0),_c('div',{staticClass:\"bg-gray-200 relative inline-flex flex-shrink-0 h-5 w-9 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",class:{\n 'bg-theme-600': _vm.workspaceType === 1,\n 'bg-gray-200': _vm.workspaceType === 0\n },attrs:{\"role\":\"switch\",\"aria-\":\"\",\"checked\":\"false\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Proveedor especializado\")]),_c('span',{staticClass:\"translate-x-0 pointer-events-none relative inline-block h-4 w-4 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200\",class:{\n 'translate-x-4': _vm.workspaceType === 1,\n 'translate-x-0': _vm.workspaceType === 0\n }},[_c('span',{staticClass:\"opacity-100 ease-in duration-200 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'hidden opacity-0 ease-out duration-100': _vm.workspaceType === 1,\n 'opacity-100 ease-in duration-200': _vm.workspaceType === 0\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-gray-400\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2\",\"stroke\":\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])]),_c('span',{staticClass:\"opacity-0 ease-out duration-100 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'opacity-100 ease-in duration-200': _vm.workspaceType === 1,\n 'hidden opacity-0 ease-out duration-100': _vm.workspaceType === 0\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-theme-600\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z\"}})])])])])])]):(_vm.showValidatePreviousPeriods)?_c('button',{staticClass:\" flex-shrink-0 flex items-center space-x-3 focus:outline-none\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":_vm.toggleValidatePreviousPeriods}},[_vm._m(1),_c('div',{staticClass:\"bg-gray-200 inline-flex flex-shrink-0 h-5 w-9 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-theme-500\",class:{\n 'bg-theme-600': _vm.validatePreviousPeriods,\n 'bg-gray-200': !_vm.validatePreviousPeriods\n },attrs:{\"role\":\"switch\",\"aria-\":\"\",\"checked\":\"false\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Validate previous periods\")]),_c('span',{staticClass:\"translate-x-0 pointer-events-none relative inline-block h-4 w-4 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200\",class:{\n 'translate-x-4': _vm.validatePreviousPeriods,\n 'translate-x-0': !_vm.validatePreviousPeriods\n }},[_c('span',{staticClass:\"opacity-100 ease-in duration-200 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'hidden opacity-0 ease-out duration-100': _vm.validatePreviousPeriods,\n 'opacity-100 ease-in duration-200': !_vm.validatePreviousPeriods\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-gray-400\",attrs:{\"fill\":\"none\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2\",\"stroke\":\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])]),_c('span',{staticClass:\"opacity-0 ease-out duration-100 absolute inset-0 h-full w-full flex items-center justify-center transition-opacity\",class:{\n 'opacity-100 ease-in duration-200': _vm.validatePreviousPeriods,\n 'hidden opacity-0 ease-out duration-100': !_vm.validatePreviousPeriods\n },attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-3 w-3 text-theme-600\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 12 12\"}},[_c('path',{attrs:{\"d\":\"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z\"}})])])])])]):_vm._e()]),_c('div',{staticClass:\" overscroll-x-scroll\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',[_c('th',{staticClass:\"w-64 px-2 py-2 text-left text-xs text-gray-500 tracking-wider select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.documentation.plural\"))+\" \")]),_vm._l((_vm.months),function(month,idxMonth){return _c('th',{key:idxMonth,staticClass:\"px-2 py-2 text-left text-xs text-gray-500 select-none truncate border border-gray-200\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center justify-center space-x-1 text-gray-500\",class:{\n 'font-extrabold text-gray-800': _vm.currentMonth(month)\n }},[_vm._v(\" \"+_vm._s(month.shortTitle)+\" \"),(_vm.currentMonth(month))?_c('span',{staticClass:\"ml-1\"},[_vm._v(\" (actual) \")]):_vm._e()])])})],2)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.documentTypes),function(document,idxDocument){return _c('DocumentTableRow',{key:idxDocument,attrs:{\"documentType\":document,\"documentation\":_vm.documentation,\"canUpload\":_vm.canUpload},on:{\"clickWithinDeadline\":_vm.clickWithinDeadline,\"clickCompliant\":_vm.clickCompliant,\"clickNonCompliant\":_vm.clickNonCompliant,\"dropped\":_vm.dropped}})}),1)])]),_c('document-upload',{ref:\"uploadDocument\",on:{\"uploaded\":function($event){return _vm.$emit('uploaded')},\"updated\":function($event){return _vm.$emit('updated')},\"deleted\":function($event){return _vm.$emit('deleted')}}}),_c('document-view',{ref:\"viewDocument\",attrs:{\"canDelete\":_vm.canUpload},on:{\"deleted\":function($event){return _vm.$emit('deleted')}}}),_c('ErrorModal',{ref:\"errorModal\",staticClass:\"z-30\"})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"flex-grow flex flex-col\"},[_c('span',{staticClass:\"text-sm font-normal truncate\",attrs:{\"id\":\"availability-label\"}},[_vm._v(\"Estoy registrado en el REPSE\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"flex-grow flex flex-col\"},[_c('span',{staticClass:\"font-normal text-sm \",attrs:{\"id\":\"availability-label\"}},[_vm._v(\"Validar todo el año\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticClass:\"w-64 px-2 py-2 whitespace-nowrap border-l border-t border-b border-gray-200\"},[_c('div',{staticClass:\"w-64 flex items-center justify-between space-x-2\"},[_c('div',{staticClass:\"text-sm text-gray-700 truncate flex space-x-2 items-center\"},[_c('div',{attrs:{\"title\":_vm.documentType.name}},[_vm._v(\" \"+_vm._s(_vm.documentType.name)+\" \")])]),_c('div',[_c('div',{staticClass:\"inline-flex items-center px-1 py-0.5 rounded-sm text-xs font-normal bg-gray-100 text-gray-600\",class:_vm.documentType.institutionClasses},[_vm._v(\" \"+_vm._s(_vm.institutionName)+\" \")])])])]),_vm._l((_vm.periods),function(period,idxPeriod){return _c('td',{key:idxPeriod,staticClass:\"whitespace-nowrap text-sm text-gray-600 text-center border\",class:[\n _vm.getClasses(period),\n {\n 'bg-gray-100 border-gray-200': _vm.getStatus(period) === 0,\n 'bg-gray-50 hover:bg-yellow-100 cursor-pointer': _vm.getStatus(period) === 1,\n 'bg-teal-50 hover:bg-teal-100 cursor-pointer':\n _vm.getStatus(period) === 2,\n ' bg-rose-50 hover:bg-red-100 cursor-pointer': _vm.getStatus(period) === 3\n }\n ],attrs:{\"colspan\":_vm.colSpan},on:{\"dragover\":function($event){$event.preventDefault();return _vm.dragOver(period)},\"dragleave\":function($event){$event.preventDefault();return _vm.dragLeave(period)},\"drop\":function($event){$event.preventDefault();return _vm.drop($event, period)}}},[(_vm.getStatus(period) === 0)?_c('div',{staticClass:\"h-10 w-full focus:outline-none py-3\"}):(_vm.getStatus(period) === 1)?_c('button',{staticClass:\"h-10 w-full focus:outline-none py-3 flex justify-center\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.$emit('clickWithinDeadline', _vm.getDocument(period), period)}}},[_c('svg',{staticClass:\"flex-shrink-0 w-4 h-4 text-gray-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"}})])]):(_vm.getStatus(period) === 2)?_c('button',{staticClass:\"h-10 w-full focus:outline-none py-3 flex justify-center\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.$emit('clickCompliant', _vm.getDocument(period), period)}}},[_c('svg',{staticClass:\"flex-shrink-0 w-4 h-4 text-teal-500\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):(_vm.getStatus(period) === 3)?_c('button',{staticClass:\"h-10 w-full focus:outline-none py-3 flex justify-center\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.$emit('clickNonCompliant', _vm.getDocument(period), period)}}},[_c('svg',{staticClass:\"flex-shrink-0 w-4 h-4 text-red-300\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])]):_vm._e()])})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport { DocumentationStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentationStatusDto\";\nimport { Prop } from \"vue-property-decorator\";\nimport { PeriodStatusDto } from \"@/application/dtos/app/v3/documentation/PeriodStatusDto\";\nimport { DocumentationInstitution } from \"@/application/enums/app/v3/documentation/DocumentationInstitution\";\nimport { ComplianceStatus } from \"@/application/enums/app/v3/documentation/ComplianceStatus\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\nimport { FileBase64 } from \"@/application/dtos/shared/FileBase64\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\n\n@Component({\n components: {}\n})\nexport default class DocumentTableRow extends Vue {\n @Prop({}) documentType!: DocumentTypeDto;\n @Prop({}) documentation!: DocumentationStatusDto;\n @Prop({}) canUpload!: boolean;\n\n isDragging = false;\n imageSources: string[] = [];\n loading = false;\n draggingPeriod: PeriodStatusDto | null = null;\n\n getDocument(period: PeriodStatusDto): DocumentStatusDto | undefined {\n const documentStatus = this.periods\n .find(f => f.period === period.period)\n ?.documents?.find(f => f.documentType.type === this.documentType.type);\n return documentStatus;\n }\n getStatus(period: PeriodStatusDto): ComplianceStatus {\n const documentStatus = this.getDocument(period);\n if (documentStatus?.documentation?.hasFile) {\n return ComplianceStatus.Compliant;\n }\n if (period.year === 2021 && period.period === 1) {\n console.log({ documentStatus })\n }\n // if (period.periodicity === Periodicity.YEARLY) {\n // return documentStatus?.status ?? ComplianceStatus.NonCompliant; \n // }\n return documentStatus?.status ?? ComplianceStatus.NotRequired;\n }\n dragOver(period) {\n if (!this.loading) {\n this.draggingPeriod = period;\n this.isDragging = true;\n }\n }\n dragLeave(period) {\n console.log(\"leaved: \" + period);\n this.draggingPeriod = null;\n this.isDragging = false;\n }\n async compressFileNotImage(imageFile: File): Promise {\n return Promise.resolve(imageFile);\n }\n async drop(e, period: PeriodStatusDto) {\n if (!this.canUpload) {\n return;\n }\n let files: any[] = [...e.dataTransfer.files];\n // console.log({ files });\n const newImagesPromises: any[] = [];\n await files.forEach((element: File) => {\n newImagesPromises.push(this.compressFileNotImage(element));\n });\n files = await Promise.all(newImagesPromises);\n const filesArray: FileBase64[] = [];\n const promises: any[] = [];\n\n files.forEach(file => {\n const promise = this.getBase64(file);\n promises.push(promise);\n promise.then(response => {\n filesArray.push({\n file,\n base64: response\n });\n this.$emit(\"dropped\", this.getDocument(period), period, response);\n });\n });\n // const all = await Promise.all(promises);\n // if (this.loadImages) {\n // this.imageSources = this.imageSources.concat(\n // filesArray.map(f => f.base64)\n // );\n // }\n this.$emit(\"droppedFiles\", filesArray, files);\n this.isDragging = false;\n }\n getBase64(file) {\n const reader = new FileReader();\n return new Promise(resolve => {\n reader.onload = ev => {\n resolve(ev?.target?.result);\n };\n reader.readAsDataURL(file);\n });\n }\n getClasses(period: PeriodStatusDto) {\n if (this.canUpload) {\n if (this.draggingPeriod === period) {\n return this.isDragging && !this.loading\n ? \"bg-theme-100 border-2 border-dashed border-theme-800\"\n : \"\";\n }\n }\n }\n get institutionName() {\n return DocumentationInstitution[this.documentType.institution];\n }\n get periods(): PeriodStatusDto[] {\n return (\n this.documentation.periods.filter(f =>\n f.documents.find(x => x.documentType.type === this.documentType.type)\n ) ?? []\n );\n }\n get colSpan() {\n return 12 / this.periods.length;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentTableRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentTableRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocumentTableRow.vue?vue&type=template&id=6c802bb2&scoped=true&\"\nimport script from \"./DocumentTableRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocumentTableRow.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DocumentTableRow.vue?vue&type=style&index=0&id=6c802bb2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c802bb2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"z-10 fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[(_vm.loadingUploading)?_c('Loading'):(_vm.document && _vm.document.documentation)?_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex flex-col space-y-1\"},[_c('div',{staticClass:\"flex items-center justify-between\"},[_c('h4',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.document.documentType.name))]),_c('button',{staticClass:\"bg-white inline-flex items-center py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.downloadCurrentDocument}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-4 w-4 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})]),_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.download\")))])])]),(_vm.period)?_c('h4',{staticClass:\"font-medium\"},[_vm._v(_vm._s(_vm.period.year)+\"-\"+_vm._s(_vm.period.periodName))]):_vm._e()]),(_vm.uploadingDocumentFileBase64)?_c('div',{staticClass:\"text-gray-600 overflow-hidden border-2 border-gray-300 rounded-md items-center\"},[_c('div',{staticClass:\"py-4 mx-auto text-center flex items-center justify-center\"},[_c('pdf',{attrs:{\"src\":_vm.uploadingDocumentFileBase64,\"page\":1},on:{\"num-pages\":function($event){1}}})],1)]):_vm._e(),_c('div',[(_vm.canDelete)?_c('div',{staticClass:\"flex space-x-2 justify-end py-3 px-4 lg:px-0 lg:py-0\"},[_c('button',{staticClass:\"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-red-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.deleteDocument}},[_vm._v(_vm._s(_vm.$t(\"shared.delete\")))])]):_vm._e()])]):_vm._e()],1)])])],1)]),_c('SuccessModal',{ref:\"successModalUploaded\",staticClass:\"z-20\",on:{\"closed\":_vm.uploaded}}),_c('ErrorModal',{ref:\"errorModalUploading\",staticClass:\"z-30\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { PeriodStatusDto } from \"@/application/dtos/app/v3/documentation/PeriodStatusDto\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport { DocumentationType } from \"@/application/enums/app/v3/documentation/DocumentationType\";\nimport documentTypes from \"@/application/dtos/app/v3/documentation/DocumentationTypes\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport pdf from \"vue-pdf\";\nimport DropDocument from \"@/components/app/v3/contracts/uploads/DropDocument.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport services from \"@/services\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n pdf,\n DropDocument,\n ErrorModal,\n SuccessModal,\n Loading\n }\n})\nexport default class DocumentView extends Vue {\n $refs!: {\n errorModalUploading: ErrorModal;\n successModalUploaded: SuccessModal;\n };\n @Prop({ default: false }) canDelete!: boolean;\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n period: PeriodStatusDto | null = null;\n document: DocumentStatusDto | null = null;\n documentTypes = documentTypes;\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n loadingUploading = false;\n\n // uploadingDocumentPeriodicity: Periodicity = Periodicity.ONCE;\n uploadingDocumentType: DocumentationType | null = null;\n uploadingDocumentYear = 0;\n uploadingDocumentPeriod = 0;\n uploadingDocumentFileBase64 = \"\";\n uploadingDocumentFile: File | null = null;\n\n // periodicities: Periodicity[] = [\n // Periodicity.ONCE,\n // Periodicity.MONTHLY,\n // Periodicity.QUATERLY,\n // Periodicity.YEARLY\n // ];\n years: number[] = [];\n\n mounted() {\n for (let year = 2021; year <= new Date().getFullYear(); year++) {\n this.years.push(year);\n }\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(document: DocumentStatusDto, period: PeriodStatusDto) {\n this.document = document;\n this.period = period;\n // this.uploadingDocumentPeriodicity = this.document.periodicity;\n this.uploadingDocumentType = this.document.documentType.type;\n this.uploadingDocumentYear = this.document.year;\n this.uploadingDocumentPeriod = this.document.period;\n this.uploadingDocumentFileBase64 = \"\";\n this.showing = true;\n\n console.log(\"document\", this.document);\n if (this.document.documentation && this.document.documentation?.hasFile) {\n this.loadingUploading = true;\n services.documentation\n .downloadMyDocument(this.document.documentation.id)\n .then(file => {\n this.uploadingDocumentFileBase64 = file;\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n this.$nextTick(() => {\n window.addEventListener(\"keyup\", this.keyup);\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n closeUpload() {\n this.close();\n }\n downloadCurrentDocument() {\n if (this.document?.documentation) {\n const downloadLink = document.createElement(\"a\");\n downloadLink.href =\n \"data:application/pdf;base64\" + this.uploadingDocumentFileBase64;\n const fileName = `${this.document.year} - ${this.period?.periodName} - ${this.document.documentType.name}.pdf`;\n downloadLink.download = fileName;\n downloadLink.click();\n }\n }\n uploaded() {\n this.$emit(\"uploaded\");\n this.close();\n }\n deleteDocument() {\n this.loadingUploading = true;\n services.documentation\n .delete(this.document?.documentation.id)\n .then(() => {\n this.$emit(\"deleted\");\n this.close();\n })\n .catch(error => {\n this.$refs.errorModalUploading.show(this.$t(error));\n })\n .finally(() => {\n this.loadingUploading = false;\n });\n }\n get uploadingDocumentPeriodicity(): Periodicity {\n const doc = this.documentTypes.find(\n f => f.type === this.uploadingDocumentType\n );\n if (doc) {\n return doc.periodicity;\n }\n return Periodicity.ONCE;\n }\n get periodicities(): Periodicity[] {\n return [this.uploadingDocumentPeriodicity];\n }\n get existingDocument(): DocumentTypeDto | undefined {\n return this.document?.documentType;\n }\n get uploadingPeriodicityIsRecurring() {\n return this.uploadingDocumentPeriodicity !== Periodicity.ONCE;\n }\n get periods() {\n const periods: any[] = [];\n if (this.uploadingDocumentPeriodicity === Periodicity.MONTHLY) {\n for (let month = 1; month <= 12; month++) {\n periods.push({\n name: this.$t(\"app.shared.months.\" + month),\n value: month\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.BIMONTHLY) {\n for (let period = 1; period <= 6; period++) {\n periods.push({\n name: this.$t(\"app.shared.bimonthly.\" + period),\n value: period\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.QUATERLY) {\n for (let period = 1; period <= 3; period++) {\n periods.push({\n name: this.$t(\"app.shared.quarterly.\" + period),\n value: period\n });\n }\n } else if (this.uploadingDocumentPeriodicity === Periodicity.YEARLY) {\n for (let period = 1; period <= 1; period++) {\n periods.push({\n name: this.$t(\"app.shared.yearly.\" + period),\n value: period\n });\n }\n }\n return periods;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocumentView.vue?vue&type=template&id=0f068e9a&\"\nimport script from \"./DocumentView.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocumentView.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport { DocumentationStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentationStatusDto\";\nimport { DocumentStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentStatusDto\";\nimport months from \"@/application/dtos/shared/Months\";\nimport { Month } from \"@/application/dtos/shared/Month\";\nimport DocumentTableRow from \"./DocumentTableRow.vue\";\nimport DocumentView from \"./DocumentView.vue\";\nimport DocumentUpload from \"./DocumentUpload.vue\";\nimport { PeriodStatusDto } from \"@/application/dtos/app/v3/documentation/PeriodStatusDto\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport { ComplianceStatus } from \"@/application/enums/app/v3/documentation/ComplianceStatus\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport store from \"@/store\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n DocumentTableRow,\n DocumentView,\n DocumentUpload,\n ErrorModal\n }\n})\nexport default class DocumentsTable extends Vue {\n @Prop({}) year!: number;\n @Prop({}) title!: string;\n @Prop({}) documentTypes!: DocumentTypeDto[];\n @Prop({}) documentation!: DocumentationStatusDto;\n @Prop({}) canUpload!: boolean;\n @Prop({ default: false }) specialized!: boolean;\n @Prop({ default: false }) showValidatePreviousPeriods!: boolean;\n validatePreviousPeriods = false;\n months: Month[] = months;\n loading = false;\n $refs!: {\n uploadDocument: DocumentUpload;\n viewDocument: DocumentView;\n errorModal: ErrorModal;\n };\n // periods(documentType: DocumentTypeDto) {\n // return this.findDocumentPeriods(documentType);\n // }\n clickWithinDeadline(document: DocumentStatusDto, period: PeriodStatusDto) {\n if (this.canUpload) {\n this.$refs.uploadDocument.upload(document, period);\n } else {\n this.$refs.errorModal.show(\n this.$t(\n \"app.documentation.status.\" + ComplianceStatus[document.status]\n ),\n document.statusMessage\n );\n }\n }\n clickCompliant(document: DocumentStatusDto, period: PeriodStatusDto) {\n this.$refs.uploadDocument.upload(document, period);\n // this.$refs.viewDocument.show(document, period);\n }\n dropped(\n document: DocumentStatusDto,\n period: PeriodStatusDto,\n base64: string\n ) {\n this.$refs.uploadDocument.upload(document, period, base64);\n }\n clickNonCompliant(document: DocumentStatusDto, period: PeriodStatusDto) {\n if (this.canUpload) {\n this.$refs.uploadDocument.upload(document, period);\n } else {\n this.$refs.errorModal.show(\n this.$t(\n \"app.documentation.status.\" + ComplianceStatus[document.status]\n ),\n document.statusMessage\n );\n }\n }\n currentMonth(month: Month) {\n const currentMonthlyPeriods = this.documentation.periods.filter(\n f => f.periodicity === Periodicity.MONTHLY && f.isCurrentPeriod\n );\n if (\n currentMonthlyPeriods.length > 0 &&\n currentMonthlyPeriods[0].period === month.value\n ) {\n return true;\n }\n }\n toggleWorkspaceType() {\n this.loading = true;\n const newType =\n this.workspaceType === WorkspaceType.REGULAR\n ? WorkspaceType.SPECIALIZED_PROVIDER\n : WorkspaceType.REGULAR;\n services.workspaces\n .updateType(store.state.tenant.currentWorkspace?.id, newType)\n .then(() => {\n this.$emit(\"updated\");\n })\n .finally(() => {\n this.loading = false;\n });\n }\n toggleValidatePreviousPeriods() {\n this.validatePreviousPeriods = !this.validatePreviousPeriods;\n this.$emit(\"validatePreviousPeriodsChanged\", this.validatePreviousPeriods);\n }\n get currentPeriod(): PeriodStatusDto | undefined {\n return this.documentation?.periods.find(\n f => f.periodicity === Periodicity.MONTHLY && f.isCurrentPeriod\n );\n }\n get workspaceType() {\n return store.state.tenant.currentWorkspace?.type ?? WorkspaceType.REGULAR;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentsTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentsTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocumentsTable.vue?vue&type=template&id=bcb7e1ec&\"\nimport script from \"./DocumentsTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocumentsTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport services from \"@/services\";\nimport { Prop } from \"vue-property-decorator\";\nimport { DocumentationStatusDto } from \"@/application/dtos/app/v3/documentation/DocumentationStatusDto\";\nimport documentTypes from \"@/application/dtos/app/v3/documentation/DocumentationTypes\";\nimport { Periodicity } from \"@/application/enums/app/common/Periodicity\";\nimport { WorkspaceType } from \"@/application/enums/master/tenants/WorkspaceType\";\nimport { DocumentTypeDto } from \"@/application/dtos/app/v3/documentation/DocumentTypeDto\";\nimport DocumentsTable from \"./DocumentsTable.vue\";\nimport DocumentUpload from \"./DocumentUpload.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ConfirmModal,\n SuccessModal,\n ErrorModal,\n DocumentsTable,\n DocumentUpload,\n Loading\n }\n})\nexport default class AllDocumentation extends Vue {\n @Prop({ default: 0 }) year!: number;\n @Prop({ default: \"\" }) linkId!: string;\n @Prop({}) workspace!: WorkspaceDto;\n $refs!: {\n confirmModalSend: ConfirmModal;\n successModal: SuccessModal;\n errorModal: ErrorModal;\n uploadDocument: DocumentUpload;\n };\n loading = true;\n\n documentation: DocumentationStatusDto | null = null;\n documentTypes = documentTypes;\n validatePreviousPeriods = false;\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n if (!this.linkId) {\n services.documentation\n .getMyDocumentationStatus(this.year, this.validatePreviousPeriods)\n .then(response => {\n this.documentation = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n } else {\n services.documentation\n .getDocumentationStatus(\n this.linkId,\n this.year,\n this.validatePreviousPeriods\n )\n .then(response => {\n this.documentation = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n downloadAll() {\n if (this.linkId) {\n this.loading = true;\n services.documentation\n .downloadAll(this.linkId, this.year)\n .then(response => {\n this.downloadData(\n `${this.year} - ${this.workspace.legalName}.zip`,\n response\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error descargando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n } else {\n this.loading = true;\n services.documentation\n .downloadAllMyDocuments(this.year)\n .then(response => {\n this.downloadData(\n `${this.year} - ${store.state.tenant.currentWorkspace?.legalName}.zip`,\n response\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error descargando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n downloadData(fileName, response) {\n const type = \"application/zip\";\n\n const fileUrl = window.URL.createObjectURL(\n new Blob([response.data], { type })\n );\n const fileLink = document.createElement(\"a\");\n fileLink.href = fileUrl;\n fileLink.setAttribute(\"download\", fileName);\n document.body.appendChild(fileLink);\n fileLink.click();\n }\n uploadDocument() {\n this.$refs.uploadDocument.upload();\n }\n sendDocumentationStatus() {\n this.$refs.confirmModalSend.show(\n \"Enviar informe\",\n \"Enviar\",\n \"Atrás\",\n \"Ingresa los correos para enviar el estatus de la documentación\",\n store.state.account.user?.email ?? \"\"\n );\n }\n confirmSendDocumentationStatus(email: string) {\n const emails: string[] = email.split(\",\");\n services.documentation\n .sendDocumentationStatus(\n this.$route.params.id,\n this.year,\n this.validatePreviousPeriods,\n {\n emails\n }\n )\n .then(() => {\n this.$refs.successModal.show(\n \"Enviada\",\n \"Estatus de documentación enviada\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n });\n }\n validatePreviousPeriodsChanged(value) {\n this.validatePreviousPeriods = value;\n }\n get oneTimeDocuments(): DocumentTypeDto[] {\n return this.documentTypes.filter(f => f.periodicity === Periodicity.ONCE);\n }\n get specializedDocuments(): DocumentTypeDto[] {\n // return this.documentTypes;\n return this.documentTypes\n .filter(\n f =>\n f.periodicity !== Periodicity.ONCE &&\n f.requiredFor === WorkspaceType.SPECIALIZED_PROVIDER\n )\n .sort((x, y) => {\n if (x.periodicity && y.periodicity) {\n return (x.periodicity > y.periodicity ? 1 : -1) ?? 1;\n }\n return 1;\n });\n }\n get regularDocuments(): DocumentTypeDto[] {\n // return this.documentTypes;\n return this.documentTypes\n .filter(\n f =>\n f.periodicity !== Periodicity.ONCE &&\n f.requiredFor !== WorkspaceType.SPECIALIZED_PROVIDER\n )\n .sort((x, y) => {\n if (x.periodicity && y.periodicity) {\n return (x.periodicity > y.periodicity ? 1 : -1) ?? 1;\n }\n return 1;\n })\n .sort((x, y) => {\n if (x.institution && y.institution) {\n return (x.institution > y.institution ? -1 : 1) ?? -1;\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AllDocumentation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AllDocumentation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AllDocumentation.vue?vue&type=template&id=312f3d0c&\"\nimport script from \"./AllDocumentation.vue?vue&type=script&lang=ts&\"\nexport * from \"./AllDocumentation.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8\"},[(_vm.loading)?_c('Loading'):(_vm.item && _vm.item.id)?_c('div',[_c('div',{staticClass:\"relative min-h-screen \"},[_c('main',{staticClass:\"py-4\"},[_c('div',{staticClass:\"max-w-5xl mx-auto md:flex md:items-center md:justify-between md:space-x-5 lg:max-w-7xl\"},[_c('div',{staticClass:\"flex items-center space-x-5 truncate\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('div',{staticClass:\"relative\"},[_c('span',{staticClass:\"inline-block h-16 w-16 rounded-full overflow-hidden bg-gray-100\"},[_c('svg',{staticClass:\"h-full w-full text-gray-300\",attrs:{\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z\"}})])])])]),_c('div',{staticClass:\"truncate\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('h1',{staticClass:\"text-2xl font-bold text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.item.taxId)+\" \")])]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" Añadido \"),(_vm.item.createdByUser)?_c('span',[_vm._v(\" por \"),_c('span',{staticClass:\"text-gray-900\"},[_vm._v(_vm._s(_vm.item.createdByUser.firstName)+\" \"+_vm._s(_vm.item.createdByUser.lastName))])]):_vm._e(),_vm._v(\" en \"),_c('time',{attrs:{\"datetime\":_vm.item.createdAt}},[_vm._v(\" \"+_vm._s(_vm.dateMonthDayYear(_vm.item.createdAt))+\" \")])])])]),_c('div',{staticClass:\"mt-6 flex flex-col-reverse justify-stretch space-y-4 space-y-reverse sm:flex-row-reverse sm:justify-end sm:space-x-reverse sm:space-y-0 sm:space-x-3 md:mt-0 md:flex-row md:space-x-3\"},[_c('button',{staticClass:\"inline-flex items-center justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.edit}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.edit\"))+\" \")])])]),_c('div',{staticClass:\"mt-8 max-w-3xl mx-auto lg:max-w-7xl\"},[_c('div',[_c('div',{staticClass:\"lg:grid lg:grid-cols-3 lg:gap-6\"},[_c('div',{staticClass:\"lg:col-span-1\"},[_c('div',{staticClass:\"px-4 sm:px-0\"},[_c('h3',{staticClass:\"text-lg font-medium leading-6 text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.profile.title\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-600\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.profile.general\"))+\" \")])])]),_c('div',{staticClass:\"mt-5 lg:mt-0 lg:col-span-2\"},[_c('form',{attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"shadow overflow-hidden sm:rounded-md\"},[_c('div',{staticClass:\"px-4 py-5 bg-white sm:p-6\"},[_c('div',{staticClass:\"grid grid-cols-6 gap-6\"},[_c('div',{staticClass:\"col-span-6 lg:col-span-2\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"first-name\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.firstName\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.firstName),expression:\"firstName\"}],ref:\"firstNameInput\",staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"text\",\"name\":\"first-name\",\"id\":\"first-name\",\"autocomplete\":\"first-name\",\"required\":\"\",\"disabled\":!_vm.editing},domProps:{\"value\":(_vm.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.firstName=$event.target.value}}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-2\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"last-name-1\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.lastName1\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.lastName1),expression:\"lastName1\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"text\",\"name\":\"last-name-1\",\"id\":\"last-name-1\",\"autocomplete\":\"last-name-1\",\"required\":\"\",\"disabled\":!_vm.editing},domProps:{\"value\":(_vm.lastName1)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.lastName1=$event.target.value}}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-2\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"last-name-2\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.lastName2\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.lastName2),expression:\"lastName2\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"text\",\"name\":\"last-name-2\",\"id\":\"last-name-2\",\"autocomplete\":\"last-name-2\",\"required\":\"\",\"disabled\":!_vm.editing},domProps:{\"value\":(_vm.lastName2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.lastName2=$event.target.value}}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"tax-id\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.taxId\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taxId),expression:\"taxId\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{\n 'cursor-not-allowed bg-gray-100':\n !_vm.editing || (_vm.item && _vm.item.id)\n },attrs:{\"type\":\"text\",\"name\":\"tax-id\",\"id\":\"tax-id\",\"autocomplete\":\"tax-id\",\"min\":\"13\",\"max\":\"13\",\"required\":\"\",\"disabled\":!_vm.editing || (_vm.item && _vm.item.id)},domProps:{\"value\":(_vm.taxId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.taxId=$event.target.value}}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"social-security-id\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.socialSecurityId\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.socialSecurityId),expression:\"socialSecurityId\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"text\",\"name\":\"social-security-id\",\"id\":\"social-security-id\",\"autocomplete\":\"social-security-id\",\"required\":\"\",\"disabled\":!_vm.editing,\"minlength\":\"11\",\"maxlength\":\"11\"},domProps:{\"value\":(_vm.socialSecurityId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.socialSecurityId=$event.target.value},function($event){_vm.socialSecurityId = $event.target.value\n .toUpperCase()\n .replace(/[^0-9.]/g, '')\n .replace(/(\\..*)\\./g, '$1')}]}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"population-registry-id\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.populationRegistryId\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.populationRegistryId),expression:\"populationRegistryId\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"text\",\"name\":\"population-registry-id\",\"id\":\"population-registry-id\",\"autocomplete\":\"population-registry-id\",\"required\":\"\",\"disabled\":!_vm.editing,\"minlength\":\"18\",\"maxlength\":\"18\"},domProps:{\"value\":(_vm.populationRegistryId)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.populationRegistryId=$event.target.value},function($event){_vm.populationRegistryId = $event.target.value.toUpperCase()}]}})]),_c('div',{staticClass:\"col-span-6 lg:col-span-3\"},[_c('label',{staticClass:\"block text-sm font-medium text-gray-700\",attrs:{\"for\":\"email-address\"}},[_vm._v(_vm._s(_vm.$t(\"models.employee.email\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"mt-1 focus:ring-theme-500 focus:border-theme-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md\",class:{ 'bg-gray-100': !_vm.editing },attrs:{\"type\":\"email\",\"name\":\"email-address\",\"id\":\"email-address\",\"autocomplete\":\"email\",\"disabled\":!_vm.editing},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}})])])]),(_vm.editing)?_c('div',{staticClass:\"px-4 py-3 bg-gray-50 text-right sm:px-6 flex justify-between\"},[_c('div',{},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-red-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\",\"disabled\":!_vm.editing},on:{\"click\":_vm.deleteEmployee}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\",\"disabled\":!_vm.editing},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' opacity-50 cursor-not-allowed':\n !_vm.editing || _vm.thereAreNoChanges\n },attrs:{\"type\":\"submit\",\"disabled\":!_vm.editing || _vm.thereAreNoChanges}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])]):_vm._e()])])])])])])])])]):_vm._e()],1),_c('SuccessModal',{ref:\"successModal\"}),_c('SuccessModal',{ref:\"successModalDeleted\",on:{\"closed\":_vm.successModalDeletedClosed}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('ConfirmModal',{ref:\"confirmSave\",on:{\"yes\":_vm.saveConfirm}}),_c('ConfirmModal',{ref:\"confirmDeleteEmployee\",on:{\"yes\":_vm.confirmedDeleteEmployee}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport services from \"@/services\";\nimport ContractClock from \"@/assets/contracts/ContractClock.vue\";\nimport ContractCheck from \"@/assets/contracts/ContractCheck.vue\";\nimport ContractArchived from \"@/assets/contracts/ContractArchived.vue\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n Breadcrumb,\n ContractClock,\n ContractCheck,\n ContractArchived,\n ConfirmModal,\n ErrorModal,\n SuccessModal,\n Loading\n }\n})\nexport default class EmployeeProfile extends Vue {\n $refs!: {\n confirmSave: ConfirmModal;\n confirmDeleteEmployee: ConfirmModal;\n errorModal: ErrorModal;\n successModal: SuccessModal;\n successModalDeleted: SuccessModal;\n firstNameInput: HTMLInputElement;\n };\n id = \"\";\n year = 0;\n loading = false;\n loadingContracts = false;\n item: EmployeeDto = {} as EmployeeDto;\n // contracts: ContractDto[] = [];\n firstName = \"\";\n lastName1 = \"\";\n lastName2 = \"\";\n taxId = \"\";\n socialSecurityId = \"\";\n populationRegistryId = \"\";\n email = \"\";\n\n editing = false;\n created() {\n this.year = new Date().getFullYear();\n this.id = this.$route.params.id;\n }\n mounted() {\n this.reload();\n // this.reloadContracts();\n }\n reload() {\n this.loading = true;\n services.employees\n .get(this.id)\n .then(response => {\n this.item = response;\n this.loadProfile();\n })\n .finally(() => {\n this.loading = false;\n });\n }\n loadProfile() {\n this.firstName = this.item.firstName;\n this.lastName1 = this.item.lastName1;\n this.lastName2 = this.item.lastName2;\n this.taxId = this.item.taxId;\n this.socialSecurityId = this.item.socialSecurityId;\n this.populationRegistryId = this.item.populationRegistryId;\n this.email = this.item.email ?? \"\";\n }\n // reloadContracts() {\n // this.loadingContracts = true;\n // services.contracts\n // .getEmployeeContracts(this.id)\n // .then(response => {\n // this.contracts = response;\n // })\n // .finally(() => {\n // this.loadingContracts = false;\n // });\n // }\n edit() {\n this.editing = true;\n this.$nextTick(() => {\n this.$refs.firstNameInput.focus();\n this.$refs.firstNameInput.select();\n });\n }\n save() {\n if (this.thereAreNoChanges) {\n this.$refs.errorModal.show(\"Error\", \"No hay cambios\");\n } else {\n this.$refs.confirmSave.show(\"Guardar cambios\", \"Sí\", \"Cancelar\");\n }\n }\n deleteEmployee() {\n this.$refs.confirmDeleteEmployee.show(\n \"¿Eliminar colaborador?\",\n \"Sí\",\n \"Cancelar\",\n \"ADVERTENCIA: No se podrá eliminar si tiene contratos relacionados. No se puede recuperar un colaborador eliminado.\"\n );\n }\n successModalDeletedClosed() {\n this.$router.push({ name: \"app.employees\" });\n }\n confirmedDeleteEmployee() {\n this.loading = true;\n services.employees\n .delete(this.id)\n .then(() => {\n this.$refs.successModalDeleted.show(\"Colaborador eliminado\");\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error eliminando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n saveConfirm() {\n this.loading = true;\n services.employees\n .update(this.id, {\n firstName: this.firstName,\n lastName1: this.lastName1,\n lastName2: this.lastName2,\n taxId: this.taxId,\n socialSecurityId: this.socialSecurityId,\n populationRegistryId: this.populationRegistryId,\n email: this.email\n })\n .then(response => {\n this.$refs.successModal.show(\"Cambios guardados\");\n this.item = response;\n this.loadProfile();\n this.editing = false;\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error guardando\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n cancel() {\n this.loadProfile();\n this.editing = false;\n }\n dateMonthDayYear(value: Date | undefined) {\n return DateUtils.dateMonthDayYear(value);\n }\n get thereAreNoChanges() {\n if (this.item) {\n return (\n this.firstName === this.item.firstName &&\n this.lastName1 === this.item.lastName1 &&\n this.lastName2 === this.item.lastName2 &&\n this.taxId === this.item.taxId &&\n this.socialSecurityId === this.item.socialSecurityId &&\n this.populationRegistryId === this.item.populationRegistryId &&\n this.email === this.item.email\n );\n }\n return true;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeeProfile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeeProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmployeeProfile.vue?vue&type=template&id=6f73170e&\"\nimport script from \"./EmployeeProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmployeeProfile.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"flex items-center justify-center space-x-2 w-full focus:outline-none group\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.toggle}},[_c('span',{staticClass:\"text-base font-medium\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z\"}})])]),_c('div',{staticClass:\"relative rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\"},[_c('div',{staticClass:\"w-6 h-3.5 transition bg-theme-500 rounded-full shadow-md outline-none\"}),_c('div',{staticClass:\"absolute inline-flex bg-white items-center justify-center w-1.5 h-1.5 transition-all duration-200 ease-in-out transform rounded-full shadow-sm top-1 left-1\",class:{\n 'translate-x-0': _vm.$store.state.theme.theme == 0,\n 'translate-x-3': _vm.$store.state.theme.theme == 0\n }})]),_c('span',{staticClass:\"text-base font-medium\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"@/store\";\nimport { Theme } from \"@/application/enums/shared/Theme\";\n\n@Component({})\nexport default class DarkModeToggle extends Vue {\n toggle() {\n if (this.currentTheme === 1) {\n store.commit(\"theme/theme\", Theme.Light);\n } else {\n store.commit(\"theme/theme\", Theme.Dark);\n }\n const htmlClasses = document.querySelector(\"html\")?.classList;\n if (this.currentTheme === 0) {\n htmlClasses?.remove(\"dark\");\n } else {\n htmlClasses?.add(\"dark\");\n }\n }\n get currentTheme() {\n return store.state.theme.theme;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DarkModeToggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DarkModeToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DarkModeToggle.vue?vue&type=template&id=23bf0447&\"\nimport script from \"./DarkModeToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./DarkModeToggle.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"d\":\"M20.5,11c-0.386,0-16.614,0-17,0C2.672,11,2,11.672,2,12.5S2.672,14,3.5,14c0.386,0,16.614,0,17,0\\tc0.828,0,1.5-0.672,1.5-1.5S21.328,11,20.5,11z\"}}),_c('path',{attrs:{\"d\":\"M19.969,14.582C19.983,14.389,20,14.197,20,14v-4c0-1.862-1.278-3.413-3-3.859V4.249C15.57,3.417,13.851,3,12,3 S8.43,3.417,7,4.249v1.892C5.278,6.587,4,8.138,4,10v3.726c0,0.287,0.017,0.571,0.046,0.852C3.441,14.771,3,15.331,3,16 c0,0.828,0.672,1.5,1.5,1.5c0.127,0,0.248-0.02,0.365-0.05c1.232,2.514,3.67,4.343,6.602,4.533 c3.397,0.22,6.368-1.686,7.733-4.513c0.097,0.02,0.197,0.03,0.3,0.03c0.828,0,1.5-0.672,1.5-1.5 C21,15.337,20.566,14.78,19.969,14.582z\",\"opacity\":\".35\"}}),_c('path',{attrs:{\"d\":\"M13,3c0-0.552-0.448-1-1-1s-1,0.448-1,1c0,0.087,0,3.413,0,3.5c0,0.552,0.448,1,1,1s1-0.448,1-1C13,6.413,13,3.087,13,3z\"}}),_c('path',{attrs:{\"d\":\"M15,3.413V5c0,0.552-0.448,1-1,1s-1-0.448-1-1V3.045C12.671,3.017,12.338,3,12,3s-0.671,0.017-1,0.045V5\\tc0,0.552-0.448,1-1,1S9,5.552,9,5V3.413C5.507,4.415,3,7.272,3,12h18C21,7.272,18.493,4.415,15,3.413z\"}}),_c('path',{attrs:{\"d\":\"M3,12v2c0,0.552,0.448,1,1,1s1-0.293,1-1c0-0.767,0.302-1.466,0.784-2H3z\"}}),_c('path',{attrs:{\"d\":\"M18.221,12C18.7,12.532,19,13.228,19,14c0,0.584,0.448,1,1,1s1-0.448,1-1v-2H18.221z\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerMale.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerMale.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WorkerMale.vue?vue&type=template&id=7d595846&\"\nimport script from \"./WorkerMale.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkerMale.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(!_vm.to)?_c('button',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border shadow-sm text-sm font-medium rounded-md text-theme-900 bg-white border-theme-300 hover:bg-theme-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":_vm.type},on:{\"click\":function($event){return _vm.$emit('click')}}},[_vm._t(\"default\")],2):_c('router-link',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border shadow-sm text-sm font-medium rounded-md text-theme-900 bg-white border-theme-300 hover:bg-theme-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":_vm.to}},[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonSecondary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonSecondary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ButtonSecondary.vue?vue&type=template&id=1db74d8b&\"\nimport script from \"./ButtonSecondary.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonSecondary.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* ============\n * English Language File\n * ============\n */\nimport shared from \"./shared.json\";\nimport admin from \"./admin.json\";\nimport app from \"./app.json\";\nimport marketing from \"./marketing.json\";\nimport account from \"./account.json\";\nimport settings from \"./settings.json\";\nimport models from \"./models.json\";\nimport mifiel from \"./mifiel.json\";\n\nexport default {\n shared,\n admin,\n app,\n marketing,\n account,\n settings,\n models,\n mifiel\n};","/* ============\n * Spanish Language File\n * ============\n */\nimport shared from \"./shared.json\";\nimport admin from \"./admin.json\";\nimport app from \"./app.json\";\nimport marketing from \"./marketing.json\";\nimport account from \"./account.json\";\nimport settings from \"./settings.json\";\nimport models from \"./models.json\";\nimport mifiel from \"./mifiel.json\";\n\nexport default {\n shared,\n admin,\n app,\n marketing,\n account,\n settings,\n models,\n mifiel\n};","import en from \"./en-US\";\nimport es from \"./es-MX\";\n\nexport default {\n en,\n es,\n};","import Vue from \"vue\";\nimport VueI18n from \"vue-i18n\";\nimport messages from \"@/locale/index.js\";\n\nVue.use(VueI18n);\n\nconst dateTimeFormats = {\n en: {\n mini: {\n month: \"short\",\n day: \"numeric\",\n },\n short: {\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n },\n long: {\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n weekday: \"short\",\n hour: \"numeric\",\n minute: \"numeric\",\n hour12: true,\n },\n },\n es: {\n mini: {\n month: \"short\",\n day: \"numeric\",\n },\n short: {\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n },\n long: {\n year: \"numeric\",\n month: \"long\",\n day: \"numeric\",\n weekday: \"short\",\n hour: \"numeric\",\n minute: \"numeric\",\n },\n },\n};\n\nexport const i18n = new VueI18n({\n locale: process.env.VUE_APP_LANGUAGE?.toString() ?? \"es-MX\",\n fallbackLocale: process.env.VUE_APP_LANGUAGE?.toString() ?? \"es-MX\",\n messages,\n dateTimeFormats,\n silentFallbackWarn: true,\n});\n\nexport default {\n i18n,\n};\n","import moment from \"moment\";\nimport store from \"@/store\";\n\nconst dateAgo = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n const today = moment(new Date());\n const at = moment(value);\n const days = Math.abs(today.diff(at, \"days\"));\n // if (unitOfTime) {\n // return moment(at)\n // .startOf(unitOfTime)\n // .fromNow();\n // }\n if (days <= 1) {\n return moment(at)\n .startOf(\"minute\")\n .fromNow();\n } else if (days <= 7) {\n return moment(at)\n .startOf(\"day\")\n .fromNow();\n } else if (days <= 30) {\n return moment(at)\n .startOf(\"week\")\n .fromNow();\n } else if (days <= 30 * 12) {\n return moment(at)\n .startOf(\"month\")\n .fromNow();\n } else if (days <= 30 * 12 * 2) {\n return moment(at)\n .startOf(\"year\")\n .fromNow();\n } else {\n if (at.year() !== 1) {\n return moment(at).format(\"YYYY-MM-DD\");\n }\n return \"\";\n }\n};\nconst dateCustom = (value: Date | string | null | undefined, format: string): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(format);\n};\nconst dateYMD = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"YYYY-MM-DD\");\n};\nconst dateDMY = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"DD/MM/YYYY\");\n};\nconst dateLL = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"YYYY-MM-DD\");\n};\nconst dateYMDHMS = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"YYYY-MM-DD HH:mm:ss\");\n};\nconst dateMonthName = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"MMMM YYYY\");\n};\nconst dateDM = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"D MMM\");\n};\nconst dateMonthDayYear = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"MMMM D, YYYY\");\n};\nconst dateHMS = (value: Date | string | null | undefined): string => {\n moment.locale(store.state.locale.locale);\n return moment(value).format(\"HH:mm:ss\");\n};\n\nexport default {\n dateAgo,\n dateYMD,\n dateCustom,\n dateDMY,\n dateLL,\n dateYMDHMS,\n dateMonthName,\n dateDM,\n dateHMS,\n dateMonthDayYear,\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('main',{staticClass:\"flex-1 relative pb-8 z-0 overflow-y-auto\"},[(true)?_c('div',{staticClass:\"hidden md:block bg-white shadow lg:border-t lg:border-gray-200\"},[_c('div',{staticClass:\"px-2 max-w-5xl xl:max-w-7xl lg:mx-auto\"},[_c('div',{staticClass:\"py-2 md:flex md:items-center md:justify-between\"},[_c('div',{staticClass:\"flex-1 min-w-0\"},[_c('div',{staticClass:\"flex items-center\"},[_c('router-link',{attrs:{\"to\":{ name: 'settings.profile' }}},[(_vm.avatar)?_c('img',{staticClass:\"hidden h-12 w-12 rounded-full sm:block\",attrs:{\"src\":_vm.avatar,\"alt\":\"Profile\"}}):(false)?_c('span',{staticClass:\"hidden sm:inline-flex items-center justify-center h-12 w-12 rounded-full bg-blueGray-800 shadow-xl\"},[_c('span',{staticClass:\"text-sm font-medium leading-none text-white\"},[_vm._v(_vm._s(_vm.avatarText))])]):_vm._e()]),_c('div',[_c('div',{staticClass:\"flex items-center\"},[_c('div',[(_vm.avatar)?_c('img',{staticClass:\"h-12 w-12 rounded-sm sm:hidden\",attrs:{\"src\":_vm.avatar,\"alt\":\"\"}}):_c('span',{staticClass:\"sm:hidden inline-flex items-center justify-center h-12 w-12 rounded-sm bg-blueGray-800 shadow-xl\"},[_c('span',{staticClass:\"text-sm font-medium leading-none text-white\"},[_vm._v(_vm._s(_vm.avatarText))])])]),_c('h1',{staticClass:\"ml-3 text-lg font-bold leading-7 text-gray-900 sm:leading-9 sm:truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.hi\"))+_vm._s(_vm.currentUser.firstName ? \" \" + _vm.currentUser.firstName : \"\")+\" 👋! \")])]),_c('dl',{staticClass:\"flex flex-col sm:ml-3 sm:flex-row sm:flex-wrap\"},[_c('dt',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"models.user.email\")))]),_c('dd',{staticClass:\"flex items-center text-xs text-gray-500 font-medium lowercase sm:mr-6\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-0.5 h-3.5 w-3.5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.243 5.757a6 6 0 10-.986 9.284 1 1 0 111.087 1.678A8 8 0 1118 10a3 3 0 01-4.8 2.401A4 4 0 1114 10a1 1 0 102 0c0-1.537-.586-3.07-1.757-4.243zM12 10a2 2 0 10-4 0 2 2 0 004 0z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" \"+_vm._s(_vm.currentUser.email)+\" \")])])])],1)]),_c('div',{staticClass:\"hidden mt-6 space-x-1 md:mt-0 md:ml-4\"},[_c('router-link',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-sm text-gray-800 bg-gray-100 hover:bg-gray-200 focus:outline-none\",attrs:{\"to\":{ name: 'app.cfdis.upload' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.uploadCfdis\"))+\" \")]),_c('router-link',{staticClass:\"inline-flex items-center px-3 py-2 border border-transparent shadow-sm text-sm font-medium rounded-sm text-white bg-gray-800 hover:bg-gray-700 focus:outline-none\",attrs:{\"to\":{ name: 'app.tickets.upload' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.tickets.uploadTickets\"))+\" \")])],1)])])]):_vm._e(),(_vm.showTips && _vm.workspacesWithoutFiscal.length > 0)?_c('div',{staticClass:\"px-4 pt-4\"},[_c('div',{staticClass:\"bg-theme-50 rounded-sm border border-theme-300\"},[_c('div',{staticClass:\"rounded-sm p-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-theme-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-gray-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.fiscal.pendingTitle\"))+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-gray-600\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.fiscal.pendingDescription\", [ _vm.workspacesWithoutFiscal.map(function (f) { return f.taxId; }).join(\", \") ]))+\" \")]),_c('div',{staticClass:\"mt-3 flex items-center justify-end space-x-2\"},[_c('button',{staticClass:\"flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium bg-white hover:bg-indigo-50 border-gray-300 text-gray-500\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$store.commit('app/showTips', false)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.dontShowAgain\"))+\" \")]),_c('router-link',{staticClass:\"flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium bg-white text-theme-600 hover:bg-theme-50 border-theme-300\",attrs:{\"to\":{\n name: 'settings.tenant.workspaces.credentials.new',\n params: { id: _vm.workspacesWithoutFiscal[0].id }\n }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.fiscal.clickHereToSet\"))+\" \")])],1)])])])])])]):_vm._e(),_c('div',[_c('div',{staticClass:\"px-4 py-2\"},[_c('div',{staticClass:\" max-w-5xl xl:max-w-7xl mx-auto py-5 grid gap-5\"},[_c('div',{staticClass:\"mt-2 grid sm:grid-cols-2 gap-5\"},[_c('div',[_vm._m(0),_c('div',{staticClass:\"mt-2 rounded-lg bg-gray-200 overflow-hidden shadow divide-y divide-gray-200 sm:divide-y-0 sm:grid sm:grid-cols-1 sm:gap-px\"},[_c('div',{staticClass:\"rounded-tl-lg rounded-tr-lg relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-teal-50 text-teal-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('button',{staticClass:\"focus:outline-none font-medium\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newProvider}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Nuevo proveedor \")])]),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Agrega a tus proveedores para ver su documentación de cumplimiento periodicamente. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])]),_c('div',{staticClass:\"relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-purple-50 text-purple-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('button',{staticClass:\"focus:outline-none font-medium\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.newClient}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Nuevo cliente \")])]),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Agrega a tus clientes para compartirles tu documentación de cumplimiento. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])]),_c('div',{staticClass:\"relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-sky-50 text-sky-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('router-link',{staticClass:\"focus:outline-none font-medium\",attrs:{\"to\":{ name: 'app.contracts.new' }}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Nuevo contrato \")])],1),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Crea contratos con tus clientes o proveedores para firmarlos con su FIEL y darles fecha cierta. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])]),_c('div',{staticClass:\"relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-theme-50 text-theme-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M12 14l9-5-9-5-9 5 9 5z\"}}),_c('path',{attrs:{\"d\":\"M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z\"}}),_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('router-link',{staticClass:\"focus:outline-none font-medium\",attrs:{\"to\":{ name: 'app.documentation' }}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Mi documentación \")])],1),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Sube la documentación de cumplimiento que te corresponde al periodo actual. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])]),_c('div',{staticClass:\"relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-rose-50 text-rose-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M16 15v-1a4 4 0 00-4-4H8m0 0l3 3m-3-3l3-3m9 14V5a2 2 0 00-2-2H6a2 2 0 00-2 2v16l4-2 4 2 4-2 4 2z\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('router-link',{staticClass:\"focus:outline-none font-medium\",attrs:{\"to\":{ name: 'app.employees' }}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Colaboradores \")])],1),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Da de alta a tus trabajadores para relacionarlos a contratos con tus clientes. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])]),_c('div',{staticClass:\"rounded-bl-lg rounded-br-lg relative group bg-white p-6 focus-within:ring-2 focus-within:ring-inset focus-within:ring-theme-500\"},[_c('div',[_c('span',{staticClass:\"hidden rounded-lg p-3 bg-yellow-50 text-yellow-700 ring-4 ring-white\"},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z\"}})])])]),_c('div',{staticClass:\"mt-0\"},[_c('h3',{staticClass:\"text-lg font-medium\"},[_c('router-link',{staticClass:\"focus:outline-none font-medium\",attrs:{\"to\":{ name: 'app.cfdis' }}},[_c('span',{staticClass:\"absolute inset-0\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" CFDIs \")])],1),_c('p',{staticClass:\"mt-2 text-sm text-gray-500\"},[_vm._v(\" Consulta los CFDIs que has subido o que tu proveedor ha registrado en tus contratos. \")])]),_c('span',{staticClass:\"pointer-events-none absolute top-6 right-6 text-gray-300 group-hover:text-gray-400\",attrs:{\"aria-hidden\":\"true\"}},[_c('svg',{staticClass:\"h-6 w-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"currentColor\",\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M20 4h1a1 1 0 00-1-1v1zm-1 12a1 1 0 102 0h-2zM8 3a1 1 0 000 2V3zM3.293 19.293a1 1 0 101.414 1.414l-1.414-1.414zM19 4v12h2V4h-2zm1-1H8v2h12V3zm-.707.293l-16 16 1.414 1.414 16-16-1.414-1.414z\"}})])])])])]),_c('div',{staticClass:\"space-y-5\"},[_c('TenantSubscriptionProducts',{attrs:{\"withCurrentPlan\":true,\"cols\":\"grid grid-cols-1 gap-5 lg:grid-cols-2 xl:grid-cols-2\"}}),_c('div',[_c('div',{},[_vm._m(1),(_vm.loading)?_c('Loading'):_c('dl',{staticClass:\"mt-2 grid grid-cols-1 gap-5 lg:grid-cols-2 xl:grid-cols-2\"},[_c('ProvidersUsage',{}),_c('ClientsUsage'),_c('EmployeesUsage'),_c('CfdisUsage')],1)],1)])],1)]),(false)?_c('div',{staticClass:\"grid grid-cols-2 gap-2 lg:grid-cols-2\"},[_c('div',{staticClass:\" \"},[_c('div',{staticClass:\"px-2 py-2 bg-white shadow rounded-lg overflow-hidden\"},[_c('div',{staticClass:\"py-3 px-4\"},[_c('h2',{staticClass:\"flex items-center justify-between text-base font-medium text-gray-900\",attrs:{\"id\":\"miembros-titulo\"}},[_c('span',[_vm._v(\" Contratos activos \"),_c('span',{staticClass:\"text-xs\"},[_vm._v(\" (\"+_vm._s(_vm.pendingContracts.length)+\")\")])])]),_c('div',{staticClass:\"flow-root mt-3\"},[_c('ul',{staticClass:\"mb-1 divide-y space-y-2 divide-gray-100\"},_vm._l((_vm.pendingContracts),function(contract,idx){return _c('li',{key:idx,staticClass:\"col-span-1 flex shadow-sm rounded-md relative\"},[_c('div',{staticClass:\"flex-shrink-0 flex items-center justify-center w-16 text-sm font-medium rounded-l-md\",class:{\n 'text-yellow-600 bg-yellow-100 border border-yellow-300':\n contract.status === 0,\n 'text-teal-600 bg-teal-100 border border-teal-300':\n contract.status === 1,\n 'text-gray-600 bg-gray-100 border border-gray-300':\n contract.status === 2\n }},[_vm._v(\" \"+_vm._s(contract.name.substr(0, 2))+\" \")]),_c('div',{staticClass:\"flex-1 flex items-baseline justify-between border-t border-r border-b border-gray-200 bg-white rounded-r-md truncate pr-2\"},[_c('div',{staticClass:\"flex-1 pl-4 pr-2 py-2 text-sm truncate\"},[_c('div',{staticClass:\"flex justify-between items-center\"},[_c('div',{staticClass:\"text-gray-900 font-medium hover:text-gray-600 truncate\"},[_vm._v(\" \"+_vm._s(contract.name)+\" \")]),_c('div',{staticClass:\"flex items-center justify-end\"})]),_c('div',{staticClass:\"text-gray-500 -mt-1 flex items-center justify-between pr-3 lowercase\"},[(\n contract.members.filter(function (f) { return f.role === 0; })\n .length === 1\n )?_c('div',[_vm._v(\" 1 \"+_vm._s(_vm.$t(\"app.contracts.signatory\"))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(contract.members.filter(function (f) { return f.role === 0; }) .length)+\" \"+_vm._s(_vm.$t(\"app.contracts.signatories\"))+\" \")])])]),_c('div')])])}),0)])])])])]):_vm._e()])])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex items-center space-x-2 justify-between\"},[_c('h3',{staticClass:\"leading-5 font-medium text-gray-900\"},[_vm._v(\" Atajos \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex items-center space-x-2 justify-between\"},[_c('h3',{staticClass:\"leading-5 text-gray-900\"},[_vm._v(\" Resumen \")])])}]\n\nexport { render, staticRenderFns }","export enum Period {\n ALL,\n YEAR,\n MONTH,\n WEEK,\n DAY,\n LAST_YEAR,\n LAST_MONTH,\n LAST_WEEK,\n LAST_DAY,\n LAST_30_DAYS,\n LAST_7_DAYS,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('div',{staticClass:\"rounded-sm bg-white shadow\"},[_c('div',{staticClass:\"py-3 px-4\"},[_c('h2',{staticClass:\"flex items-center justify-between text-base font-medium text-gray-900\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.plural\"))+\" \"),(_vm.items && _vm.items.length > 0)?_c('span',{staticClass:\"text-xs\"},[_vm._v(\" (\"+_vm._s(_vm.items.length)+\")\")]):_vm._e()]),_c('div',{staticClass:\"flex justify-center\"},[_c('router-link',{staticClass:\"flex items-center space-x-2 text-center px-2 py-1 text-xs font-medium rounded-sm text-gray-800 hover:bg-blueGray-100 focus:outline-shadow active:bg-gray-900 transition duration-150 ease-in-out\",attrs:{\"to\":{ name: 'settings.tenant.workspaces.new' }}},[_c('svg',{staticClass:\"text-gray-500 h-2.5\",staticStyle:{\"bottom\":\"1px\"},attrs:{\"aria-hidden\":\"true\",\"focusable\":\"false\",\"data-prefix\":\"fas\",\"data-icon\":\"plus\",\"role\":\"img\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 448 512\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"}})])])],1)]),(_vm.loading)?_c('div',{staticClass:\"mt-3\"},[_c('p',{staticClass:\"italic text-xs text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.loading\"))+\" \"+_vm._s(_vm.$t(\"models.workspace.plural\") .toString() .toLowerCase())+\"... \")])]):(_vm.items.length > 0)?_c('div',{staticClass:\"flow-root mt-3\"},[_c('ul',{staticClass:\"mb-1 divide-y space-y-2 divide-gray-100\"},_vm._l((_vm.items),function(item){return _c('workspace-item',_vm._b({key:item.id,ref:\"workspaceItem\",refInFor:true,staticClass:\"col-span-1 flex shadow-sm rounded-md relative bg-gray-50\",attrs:{\"id\":item.id,\"initialPeriod\":_vm.period}},'workspace-item',item,false))}),1)]):_c('div',{staticClass:\"mt-6\"},[_c('p',{staticClass:\"italic text-xs text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.thereAreNo\"))+\" \"+_vm._s(_vm.$t(\"models.workspace.plural\") .toString() .toLowerCase())+\" \")])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"flex-1 flex items-baseline justify-between border border-gray-200 bg-white rounded-r-md truncate pr-2\"},[_c('div',{staticClass:\"flex-1 pl-4 pr-2 py-2 text-sm truncate\"},[_c('div',{staticClass:\"flex justify-between items-start py-1\"},[_c('div',{staticClass:\" text-gray-900 font-medium hover:text-gray-600 truncate\"},[_c('div',[_vm._v(_vm._s(_vm.taxId)+\" - \"+_vm._s(_vm.legalName))])]),_c('div',{staticClass:\"flex items-center justify-end\"},[(_vm.isProyectOwnerOrAdmin)?_c('user-multiselect',{attrs:{\"initialSelected\":_vm.idsUsers,\"exclude\":_vm.isProyectOwnerOrAdmins},on:{\"added\":_vm.addedUser,\"removed\":_vm.removedUser}}):_vm._e(),(_vm.isProyectOwnerOrAdmin)?_c('dropdown-options',{ref:\"options\",attrs:{\"disabled\":_vm.isProyectOwnerOrAdmin},scopedSlots:_vm._u([{key:\"options\",fn:function(){return [_c('div',{staticClass:\"py-1\",attrs:{\"role\":\"none\"}},[_c('router-link',{staticClass:\"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900\",attrs:{\"disabled\":_vm.isProyectOwnerOrAdmin,\"to\":{\n name: 'settings.tenant.workspaces.edit',\n params: { id: _vm.id }\n },\"role\":\"menuitem\"},nativeOn:{\"click\":function($event){return _vm.closeOptions($event)}}},[_vm._v(_vm._s(_vm.$t(\"shared.edit\")))])],1)]},proxy:true}],null,false,3944698553)}):_vm._e()],1)]),_c('div',{staticClass:\"text-gray-500 flex items-center justify-between pr-3\"},[(_vm.users.length > 0)?_c('div',{staticClass:\"truncate\"},[_vm._v(\" \"+_vm._s(_vm.userEmails)+\" \")]):_c('div',[_vm._v(_vm._s(_vm.$t(\"app.tenants.members.hasNoMembers\")))])])]),_c('div',{})]),_c('ConfirmModal',{ref:\"addModal\",on:{\"yes\":_vm.yesAdd}}),_c('ConfirmModal',{ref:\"removeModal\",on:{\"yes\":_vm.yesRemove}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}]},[_c('button',{staticClass:\"w-8 h-8 bg-white inline-flex items-center justify-center text-gray-400 rounded-full hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500\",attrs:{\"id\":\"pinned-project-options-menu-0\",\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\"},on:{\"click\":function($event){_vm.mostrar = !_vm.mostrar}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Abrir opciones\")]),_c('svg',{staticClass:\"w-5 h-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"stroke\":\"none\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[(_vm.mostrar)?_c('div',{staticClass:\"z-10 mx-3 origin-top-right absolute right-10 top-3 w-48 mt-1 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none\",attrs:{\"role\":\"menu\",\"aria-orientation\":\"vertical\",\"aria-labelledby\":\"pinned-project-options-menu-0\"}},[_c('div',{staticClass:\"py-0.5 divide-y\",attrs:{\"role\":\"none\"}},[_vm._t(\"options\")],2)]):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n@Component({\n components: {}\n})\nexport default class DropdownOptions extends Vue {\n @Prop({ default: false }) disabled!: boolean;\n mostrar = false;\n close() {\n this.mostrar = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownOptions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownOptions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropdownOptions.vue?vue&type=template&id=464855d8&\"\nimport script from \"./DropdownOptions.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropdownOptions.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.close),expression:\"close\"}]},[_c('button',{staticClass:\"w-8 h-8 bg-white inline-flex items-center justify-center text-gray-400 rounded-full hover:text-gray-500 focus:outline-none\",attrs:{\"id\":\"pinned-project-options-menu-0\",\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\"},on:{\"click\":function($event){_vm.mostrar = !_vm.mostrar}}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Seleccionar usuarios\")]),_c('svg',{staticClass:\"w-4 h-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"stroke\":\"none\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"d\":\"M9 6a3 3 0 11-6 0 3 3 0 016 0zM17 6a3 3 0 11-6 0 3 3 0 016 0zM12.93 17c.046-.327.07-.66.07-1a6.97 6.97 0 00-1.5-4.33A5 5 0 0119 16v1h-6.07zM6 11a5 5 0 015 5v1H1v-1a5 5 0 015-5z\"}})])]),_c('transition',{attrs:{\"enter-active-class\":\"transition ease-out duration-100\",\"enter-class\":\"transform opacity-0 scale-95\",\"enter-to-class\":\"transform opacity-100 scale-100\",\"leave-active-class\":\"transition ease-in duration-75\",\"leave-class\":\"transform opacity-100 scale-100\",\"leave-to-class\":\"transform opacity-0 scale-95\"}},[(_vm.mostrar)?_c('ul',{staticClass:\"z-30 origin-top-right absolute right-10 top-3 mt-1 w-72 bg-white shadow-lg max-h-56 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm\",attrs:{\"tabindex\":\"-1\",\"role\":\"listbox\",\"aria-labelledby\":\"listbox-label\"}},[(_vm.loading)?_c('li',{staticClass:\"w-full text-gray-900 cursor-default select-none relative py-2 pl-3 pr-9\"},[_vm._v(\" Cargando usuarios... \")]):_vm._e(),_vm._l((_vm.users),function(tenantUser,idx){return _c('li',{key:idx,staticClass:\"w-full text-gray-900 select-none relative\",class:{\n 'hover:bg-gray-50 ': !_vm.exclude.includes(tenantUser.userId)\n },attrs:{\"id\":\"listbox-option-0\",\"role\":\"option\"}},[_c('button',{staticClass:\"w-full py-2 pl-3 pr-9 focus:outline-none\",class:{\n 'cursor-not-allowed ': _vm.exclude.includes(tenantUser.userId)\n },attrs:{\"disabled\":_vm.exclude.includes(tenantUser.userId)},on:{\"click\":function($event){return _vm.select(tenantUser.userId)}}},[_c('div',{staticClass:\"flex items-center space-x-2\"},[(tenantUser.firstName || tenantUser.lastName)?_c('div',{staticClass:\"font-normal truncate\"},[_vm._v(\" \"+_vm._s(tenantUser.firstName)+\" \"+_vm._s(tenantUser.lastName)+\" \")]):_vm._e(),_c('div',{staticClass:\"text-gray-500 truncate\"},[_vm._v(\"@\"+_vm._s(tenantUser.email))])]),(_vm.selected.includes(tenantUser.userId))?_c('span',{staticClass:\"text-rose-600 absolute inset-y-0 right-0 flex items-center pr-4\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z\",\"clip-rule\":\"evenodd\"}})])]):_vm._e()])])})],2):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\n\n@Component({\n components: {}\n})\nexport default class UserMultiselect extends Vue {\n @Prop() initialSelected!: string[];\n @Prop() exclude!: string[];\n mostrar = false;\n loading = false;\n selected: string[] = [];\n tenantUsers: TenantUserDto[] = [];\n mounted() {\n this.loading = true;\n this.selected = this.initialSelected;\n if (!this.selected) {\n this.selected = [];\n }\n services.tenantUsers\n .getAll(\"\")\n .then((response: TenantUserDto[]) => {\n this.tenantUsers = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n close() {\n this.mostrar = false;\n }\n select(userId: string) {\n const user = this.tenantUsers.find(f => f.userId === userId);\n if (user) {\n if (this.selected.includes(userId)) {\n this.selected = this.selected.filter(f => f !== userId);\n console.log(\"removed: \" + JSON.stringify(user));\n this.$emit(\n \"removed\",\n userId,\n user.email,\n user.firstName,\n user.lastName\n );\n this.$emit(\"updatedSelected\", this.selected);\n this.close();\n } else {\n this.selected.push(userId);\n console.log(\"added: \" + JSON.stringify(user));\n this.$emit(\"added\", userId, user.email, user.firstName, user.lastName);\n this.$emit(\"updatedSelected\", this.selected);\n this.close();\n }\n }\n }\n get users() {\n if (!this.tenantUsers || this.tenantUsers.length === 0) {\n return [];\n }\n return this.tenantUsers;\n // const tenantUsers: TenantUserDto[] = [];\n // // this.tenantUsers.forEach((element) => {\n // // if (!this.exclude || !this.exclude.includes(element.userId)) {\n // // tenantUsers.push(element);\n // // }\n // // });\n // return tenantUsers;\n }\n}\n","export enum Colors {\n UNDEFINED,\n BLUE_GRAY,\n COOL_GRAY,\n GRAY,\n TRUE_GRAY,\n WARM_GRAY,\n RED,\n ORANGE,\n AMBER,\n YELLOW,\n LIME,\n GREEN,\n EMERALD,\n TEAL,\n CYAN,\n LIGHT_BLUE,\n BLUE,\n INDIGO,\n VIOLET,\n PURPLE,\n FUCHSIA,\n PINK,\n ROSE,\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserMultiselect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserMultiselect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UserMultiselect.vue?vue&type=template&id=7ebd855d&\"\nimport script from \"./UserMultiselect.vue?vue&type=script&lang=ts&\"\nexport * from \"./UserMultiselect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Colors } from \"@/application/enums/app/common/Colors\";\nimport { i18n } from \"@/plugins/vue-i18n\";\n\nexport function getTailwindColor(itemColor: Colors, textWeight = 50, backgroundWeight = 300, borderWeight = 500): string {\n let color = \"gray\";\n switch (itemColor) {\n case 0:\n color = \"gray\";\n break;\n case 1:\n color = \"blueGray\";\n break;\n case 2:\n color = \"coolGray\";\n break;\n case 3:\n color = \"gray\";\n break;\n case 4:\n color = \"trueGray\";\n break;\n case 5:\n color = \"warmGray\";\n break;\n case 6:\n color = \"red\";\n break;\n case 7:\n color = \"orange\";\n break;\n case 8:\n color = \"amber\";\n break;\n case 9:\n color = \"yellow\";\n break;\n case 10:\n color = \"lime\";\n break;\n case 11:\n color = \"green\";\n break;\n case 12:\n color = \"emerald\";\n break;\n case 13:\n color = \"teal\";\n break;\n case 14:\n color = \"cyan\";\n break;\n case 15:\n color = \"lightBlue\";\n break;\n case 16:\n color = \"blue\";\n break;\n case 17:\n color = \"indigo\";\n break;\n case 18:\n color = \"violet\";\n break;\n case 19:\n color = \"purple\";\n break;\n case 20:\n color = \"pink\";\n break;\n case 21:\n color = \"rose\";\n break;\n }\n const textColor = textWeight === 0 ? \"text-white\" : `text-${color}-${textWeight}`;\n return `${textColor} bg-${color}-${backgroundWeight} border border-${color}-${borderWeight}`;\n}\n\nexport const colors = [\n // {\n // name: \"Indefinido\",\n // id: 0,\n // },\n {\n name: i18n.t(\"app.shared.colors.GRAY\"),\n id: 3,\n },\n {\n name: i18n.t(\"app.shared.colors.BLUE_GRAY\"),\n id: 1,\n },\n {\n name: i18n.t(\"app.shared.colors.RED\"),\n id: 6,\n },\n {\n name: i18n.t(\"app.shared.colors.ORANGE\"),\n id: 7,\n },\n {\n name: i18n.t(\"app.shared.colors.AMBER\"),\n id: 8,\n },\n {\n name: i18n.t(\"app.shared.colors.YELLOW\"),\n id: 9,\n },\n {\n name: i18n.t(\"app.shared.colors.LIME\"),\n id: 10,\n },\n {\n name: i18n.t(\"app.shared.colors.GREEN\"),\n id: 11,\n },\n {\n name: i18n.t(\"app.shared.colors.EMERALD\"),\n id: 12,\n },\n {\n name: i18n.t(\"app.shared.colors.TEAL\"),\n id: 13,\n },\n {\n name: i18n.t(\"app.shared.colors.CYAN\"),\n id: 14,\n },\n {\n name: i18n.t(\"app.shared.colors.LIGHT_BLUE\"),\n id: 15,\n },\n {\n name: i18n.t(\"app.shared.colors.BLUE\"),\n id: 16,\n },\n {\n name: i18n.t(\"app.shared.colors.INDIGO\"),\n id: 17,\n },\n {\n name: i18n.t(\"app.shared.colors.VIOLET\"),\n id: 18,\n },\n {\n name: i18n.t(\"app.shared.colors.PURPLE\"),\n id: 19,\n },\n {\n name: i18n.t(\"app.shared.colors.PINK\"),\n id: 20,\n },\n {\n name: i18n.t(\"app.shared.colors.ROSE\"),\n id: 21,\n },\n];\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport { Period } from \"@/application/enums/app/common/Period\";\nimport DropdownOptions from \"@/components/shared/dropdowns/DropdownOptions.vue\";\nimport UserMultiselect from \"@/components/shared/selectors/UserMultiselect.vue\";\nimport { WorkspaceUserDto } from \"@/application/dtos/app/workspaces/WorkspaceUserDto\";\nimport { Colors } from \"@/application/enums/app/common/Colors\";\nimport { Role } from \"@/application/enums/app/common/Role\";\nimport * as ColorUtils from \"@/utils/shared/ColorUtils\";\nimport services from \"@/services\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport store from \"@/store\";\n\n@Component({\n components: {\n DropdownOptions,\n UserMultiselect,\n ConfirmModal\n }\n})\nexport default class WorkspaceItem extends Vue {\n $refs!: {\n options: DropdownOptions;\n addModal: ConfirmModal;\n removeModal: ConfirmModal;\n };\n @Prop({ default: \"\" }) id!: string;\n @Prop({ default: Colors.UNDEFINED }) color!: Colors;\n @Prop({ default: \"\" }) name!: string;\n @Prop({ default: \"\" }) taxId!: string;\n @Prop({ default: \"\" }) legalName!: string;\n @Prop({ default: \"\" }) cfdiUse!: string;\n @Prop({ default: \"\" }) addressStreet!: string;\n @Prop({ default: \"\" }) addressExterior!: string;\n @Prop({ default: \"\" }) addressInterior!: string;\n @Prop({ default: \"\" }) addressNeighborhood!: string;\n @Prop({ default: \"\" }) addressCity!: string;\n @Prop({ default: \"\" }) addressZip!: string;\n @Prop({ default: \"\" }) addressState!: string;\n @Prop({ default: \"\" }) addressCountry!: string;\n @Prop({ default: false }) default!: boolean;\n @Prop({ default: [] }) users!: WorkspaceUserDto[];\n @Prop({ default: \"\" }) createdByUserId!: string;\n @Prop({ default: 0 }) budget!: number;\n @Prop({ default: Period.ALL }) initialPeriod!: Period;\n period: Period = Period.ALL;\n loadingSummary = false;\n userId = \"\";\n mounted() {\n // this.loadSummary(this.initialPeriod);\n }\n // loadSummary(period: Period) {\n // this.period = period;\n // this.loadingSummary = true;\n // services.dashboard\n // .getSummaryCountTotal(\n // SummaryCountTotalType.WORKSPACE,\n // { period, withDetails: false },\n // this.id\n // )\n // .then((summary: SummaryCountTotalResponse[]) => {\n // if (summary && summary.length > 0) {\n // this.summary = summary[0];\n // }\n // })\n // .finally(() => {\n // this.loadingSummary = false;\n // });\n // }\n closeOptions() {\n this.$refs.options.close();\n }\n yesAdd() {\n services.workspaces\n .addUser(this.id, {\n id: undefined,\n userId: this.userId,\n workspaceId: this.id,\n role: Role.MEMBER\n })\n .then((response: WorkspaceUserDto) => {\n this.users.push(response);\n });\n }\n yesRemove() {\n const removeUserId = this.userId;\n const user = this.users.find(f => f.userId === removeUserId);\n if (user) {\n services.workspaces.removeUser(user.id).then(() => {\n this.users = this.users.filter(f => f.userId !== removeUserId);\n });\n }\n }\n addedUser(userId: string, email: string, firstName: string) {\n this.userId = userId;\n let userAdded = firstName;\n if (!userAdded || userAdded.toString().trim() === \"\") {\n userAdded = email;\n }\n this.$refs.addModal.show(\n this.$t(\"shared.addTo?\", [userAdded, this.taxId]).toString(),\n this.$t(\"shared.add\").toString(),\n this.$t(\"shared.no\").toString()\n );\n }\n removedUser(userId: string, email: string, firstName: string) {\n this.userId = userId;\n let userRemoved = firstName;\n if (!userRemoved || userRemoved.toString().trim() === \"\") {\n userRemoved = email;\n }\n this.$refs.removeModal.show(\n this.$t(\"shared.removeFrom?\", [userRemoved, this.taxId]).toString(),\n this.$t(\"shared.remove\").toString(),\n this.$t(\"shared.no\").toString()\n );\n }\n get userEmails() {\n return this.users.map(f => f.user?.email).join(\", \");\n }\n get isProyectOwnerOrAdmin() {\n if (this.isOwnerOrAdmin) {\n return true;\n }\n if (this.createdByUserId === store.state.account.user?.id) {\n return true;\n }\n const usuario = this.users.find(\n f => f.userId === store.state.account.user?.id\n );\n return usuario && usuario.role === Role.ADMINISTRATOR;\n }\n get isProyectOwnerOrAdmins() {\n const ids: string[] = [];\n ids.push(this.createdByUserId);\n const admins = this.users.filter(f => f.role === Role.ADMINISTRATOR);\n admins.forEach(element => {\n ids.push(element.userId);\n });\n return ids;\n }\n get isOwnerOrAdmin(): boolean {\n return (\n this.currentRole === TenantUserRole.OWNER ||\n this.currentRole === TenantUserRole.ADMIN\n );\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get idsUsers(): string[] {\n return this.users.map(f => f.userId);\n }\n get companyColor() {\n return ColorUtils.getTailwindColor(Colors.COOL_GRAY, 600, 100, 300);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspaceItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspaceItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkspaceItem.vue?vue&type=template&id=086a6d96&\"\nimport script from \"./WorkspaceItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkspaceItem.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Modal from \"../../../shared/modals/Modal.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport WorkspaceItem from \"@/components/app/workspaces/WorkspaceItem.vue\";\nimport { Prop } from \"vue-property-decorator\";\nimport { Period } from \"@/application/enums/app/common/Period\";\nimport services from \"@/services\";\n\n@Component({\n components: {\n Modal,\n WorkspaceItem\n }\n})\nexport default class WorkspacesWidget extends Vue {\n @Prop({ default: false }) summary!: boolean;\n @Prop({ default: Period.ALL }) initialPeriod!: Period;\n $refs!: {\n uploadTicketsModal: Modal;\n workspaceItem: WorkspaceItem[];\n };\n loading = false;\n items: WorkspaceDto[] = [];\n workspaceId = \"\";\n users: TenantUserDto[] = [];\n period: Period = Period.ALL;\n mounted() {\n this.period = this.initialPeriod;\n this.reload();\n }\n reloadPeriod(period: Period) {\n this.period = period;\n // for (let index = 0; index < this.workspaces.length; index++) {\n // this.$refs.workspaceItem[index].loadSummary(period);\n // }\n }\n async reload() {\n this.loading = true;\n this.items = [];\n services.workspaces\n .getAllWorkspaces(false)\n .then((response: WorkspaceDto[]) => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n get workspaces() {\n if (!this.items) {\n return [];\n }\n return this.items;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspacesWidget.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkspacesWidget.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkspacesWidget.vue?vue&type=template&id=6bd7d42c&\"\nimport script from \"./WorkspacesWidget.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkspacesWidget.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{staticClass:\"px-4 py-5 border shadow-md rounded-lg overflow-hidden sm:p-6 bg-white border-gray-300 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.providers' }}},[_c('div',[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(_vm._s(_vm.$t(\"models.provider.plural\")))]),(_vm.loading)?_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[_vm._v(\"...\")]):_c('dd',{staticClass:\"mt-1 text-gray-900 truncate\"},[_c('span',{staticClass:\"text-xl font-semibold\"},[_vm._v(_vm._s(_vm.providers))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class Providers extends Vue {\n loading = false;\n mounted() {\n this.loading = true;\n services.tenants.getCurrentUsage(AppUsageType.PROVIDERS).finally(() => {\n this.loading = false;\n });\n }\n get providers() {\n return store.state.app.usage.providers;\n }\n get providersInCompliance() {\n return store.state.app.usage.providersInCompliance;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersUsage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProvidersUsage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProvidersUsage.vue?vue&type=template&id=1372f108&\"\nimport script from \"./ProvidersUsage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProvidersUsage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{staticClass:\"px-4 py-5 border shadow-md rounded-lg overflow-hidden sm:p-6 bg-white border-gray-300 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.clients' }}},[_c('div',[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.plural\"))+\" \")]),(_vm.loading)?_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[_vm._v(\" ... \")]):_c('dd',{staticClass:\"mt-1 text-gray-900 truncate\"},[_c('span',{staticClass:\"text-xl font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.clients)+\" \")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class ProvidersUsage extends Vue {\n loading = false;\n mounted() {\n this.loading = true;\n services.tenants.getCurrentUsage(AppUsageType.CLIENTS).finally(() => {\n this.loading = false;\n });\n }\n get clients() {\n return store.state.app.usage.clients;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsUsage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsUsage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ClientsUsage.vue?vue&type=template&id=0a6192fe&\"\nimport script from \"./ClientsUsage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ClientsUsage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{staticClass:\"px-4 py-5 border shadow-md rounded-lg overflow-hidden sm:p-6 bg-white border-gray-300 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.employees' }}},[_c('div',[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.plural\"))+\" \")]),(_vm.loading)?_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[_vm._v(\" ... \")]):_c('dd',{staticClass:\"mt-1 text-gray-900 truncate\"},[_c('span',{staticClass:\"text-xl font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.employees)+\" \")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class Providers extends Vue {\n loading = false;\n mounted() {\n this.loading = true;\n services.tenants.getCurrentUsage(AppUsageType.EMPLOYEES).finally(() => {\n this.loading = false;\n });\n }\n get employees() {\n return store.state.app.usage.employees;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesUsage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesUsage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmployeesUsage.vue?vue&type=template&id=416504cc&\"\nimport script from \"./EmployeesUsage.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmployeesUsage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-link',{staticClass:\"px-4 py-5 border shadow-md rounded-lg overflow-hidden sm:p-6 bg-white border-gray-300 hover:bg-gray-50\",attrs:{\"to\":{ name: 'app.cfdis' }}},[_c('div',[_c('dt',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.cfdi.plural\"))+\" \")]),(_vm.loading)?_c('dd',{staticClass:\"mt-1 text-xl font-semibold text-gray-900\"},[_vm._v(\" ... \")]):_c('dd',{staticClass:\"mt-1 text-gray-900 truncate\"},[_c('span',{staticClass:\"text-xl font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.cfdis)+\" \")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\nimport store from \"@/store\";\n\n@Component({\n components: {}\n})\nexport default class ProvidersUsage extends Vue {\n loading = false;\n mounted() {\n this.loading = true;\n services.tenants.getCurrentUsage(AppUsageType.CFDIS).finally(() => {\n this.loading = false;\n });\n }\n get cfdis() {\n return store.state.app.usage.cfdis;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisUsage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CfdisUsage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CfdisUsage.vue?vue&type=template&id=f87ec2f2&\"\nimport script from \"./CfdisUsage.vue?vue&type=script&lang=ts&\"\nexport * from \"./CfdisUsage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { UserDto } from \"@/application/dtos/master/users/UserDto\";\n\nconst avatarText = (user: UserDto | null): string => {\n if (user) {\n if (user.firstName && user.lastName) {\n if (user.firstName.length > 0 && user.lastName.length > 0) {\n return (user.firstName[0] + user.lastName[0]).toUpperCase();\n } else if (user.firstName.length > 1) {\n return user.firstName.substring(0, 2).toUpperCase();\n } else if (user.email.length > 1) {\n return user.email.substring(0, 2).toUpperCase();\n }\n } else {\n return user.email.substring(0, 2).toUpperCase();\n }\n }\n return \"--\";\n};\n\nconst profileName = (user: UserDto | null): string => {\n if (user) {\n if (user.firstName && user.lastName) {\n return user.firstName + \" \" + user.lastName;\n } else {\n return user.email;\n }\n }\n return \"--\";\n};\n\nexport default {\n avatarText,\n profileName,\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport WorkspacesWidget from \"../../../components/app/widgets/workspaces/WorkspacesWidget.vue\";\nimport store from \"@/store\";\nimport TenantSubscriptionProducts from \"@/components/app/settings/tenant/subscription/TenantSubscriptionProducts.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport { ContractDto } from \"@/application/dtos/app/v3/contracts/ContractDto\";\nimport { AppUsageType } from \"../../../application/enums/app/usages/AppUsageType\";\nimport { AppUsageSummaryDto } from \"@/application/contracts/app/tenants/AppUsageSummaryDto\";\nimport ProvidersUsage from \"@/components/app/usages/ProvidersUsage.vue\";\nimport ClientsUsage from \"@/components/app/usages/ClientsUsage.vue\";\nimport EmployeesUsage from \"@/components/app/usages/EmployeesUsage.vue\";\nimport CfdisUsage from \"@/components/app/usages/CfdisUsage.vue\";\nimport services from \"@/services\";\nimport UserUtils from \"@/utils/store/UserUtils\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport WarningBanner from \"@/components/shared/banners/WarningBanner.vue\";\n\n@Component({\n metaInfo: {\n title: \"Portal\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n WorkspacesWidget,\n TenantSubscriptionProducts,\n ProvidersUsage,\n ClientsUsage,\n EmployeesUsage,\n CfdisUsage,\n Loading,\n WarningBanner\n }\n})\nexport default class Dashboard extends Vue {\n loading = false;\n loadingSummary = false;\n pendingContracts: ContractDto[] = [];\n mounted() {\n this.load();\n }\n load() {\n services.tenants.getCurrentUsage(AppUsageType.CONTRACTS);\n }\n newProvider() {\n tinyEventBus().emitter.emit(\"new-provider\");\n }\n newClient() {\n tinyEventBus().emitter.emit(\"new-client\");\n }\n get showTips() {\n return store.state.app.showTips;\n }\n get workspacesWithoutFiscal(): WorkspaceDto[] {\n return store.state.tenant.workspaces.filter(f => !f.fiscalWorkspace);\n }\n get currentUser(): UserDto {\n return store.state.account.user ?? ({} as UserDto);\n }\n get avatarText() {\n return UserUtils.avatarText(this.currentUser);\n }\n get avatar() {\n return store.state.account.user?.avatar ?? \"\";\n }\n get usage(): AppUsageSummaryDto {\n return store.state.app.usage;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=605ee79d&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"max-w-lg mx-auto\"},[_c('div',[_c('div',{staticClass:\"text-center\"},[_c('Workers',{staticClass:\"mx-auto h-12 w-12\"}),_c('h2',{staticClass:\"mt-2 text-lg font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.actions.selectEmployees\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.actions.select\"))+\" \")])],1),_c('form',{staticClass:\"mt-6 flex\",attrs:{\"action\":\"#\"}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"search\"}},[_vm._v(_vm._s(_vm.$t(\"shared.search\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"search\",\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])]),_c('div',{staticClass:\"mt-5\"},[_c('h3',{staticClass:\"text-xs font-semibold text-gray-500 uppercase tracking-wide\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.employee.plural\"))+\" \")]),(_vm.loading)?_c('Loading'):(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n new: 'Agregar',\n thereAreNo: 'No tienes colaboradores'\n },\"icon\":\"plus\"},on:{\"new\":_vm.newEmployees}})],1):_c('div',[_c('ul',{staticClass:\"mt-4 border-t border-b border-gray-200 divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.filteredItems),function(item,idx){return _c('li',{key:idx,staticClass:\"py-2 flex items-center justify-between space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1\"},[_c('p',{staticClass:\"text-sm font-medium text-gray-900 truncate\"},[_vm._v(\" \"+_vm._s(item.firstName)+\" \"+_vm._s(item.lastName1)+\" \"+_vm._s(item.lastName2)+\" \")]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(item.taxId)+\" \"),(item.email)?_c('span',[_vm._v(\" | \"+_vm._s(item.email))]):_vm._e()])])]),_c('div',{staticClass:\"flex-shrink-0\"},[_c('button',{staticClass:\"inline-flex items-center py-2 px-3 border border-transparent rounded-full focus:outline-none\",class:{\n 'text-gray-800 bg-gray-100 hover:bg-teal-200': !_vm.isSelected(\n item\n ),\n 'text-teal-800 bg-teal-100 hover:bg-red-200 ': _vm.isSelected(\n item\n )\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toggle(item)}}},[(!_vm.isSelected(item))?_c('svg',{staticClass:\"-ml-1 mr-0.5 h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"-ml-1 mr-0.5 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),(!_vm.isSelected(item))?_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.add\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.firstName)+\" \"+_vm._s(item.lastName1)+\" \"+_vm._s(item.lastName2))])]):_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remove\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.firstName)+\" \"+_vm._s(item.lastName1)+\" \"+_vm._s(item.lastName2))])])])])])}),0),_c('div',{staticClass:\"py-3 text-right flex justify-end\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' opacity-50 cursor-not-allowed':\n _vm.selected.length === 0\n },attrs:{\"type\":\"submit\",\"disabled\":_vm.selected.length === 0},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")])])])])],1)])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport services from \"@/services\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Workers from \"@/assets/contracts/Workers.vue\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n EmptyState,\n ErrorModal,\n Workers,\n Loading\n }\n})\nexport default class SelectEmployees extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n searchInput = \"\";\n items: EmployeeDto[] = [];\n loading = false;\n selected: string[] = [];\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(selected: string[]) {\n this.selected = selected;\n this.showing = true;\n\n // this.$nextTick(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // });\n\n this.reload();\n }\n reload() {\n this.loading = true;\n services.employees\n .getAll()\n .then(response => {\n this.items = response;\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n toggle(item: EmployeeDto) {\n if (this.isSelected(item)) {\n this.selected = this.selected.filter(f => f !== item.id);\n } else {\n this.selected.push(item.id);\n }\n }\n isSelected(item: EmployeeDto) {\n return this.selected.find(f => f === item.id);\n }\n accept() {\n const selected: EmployeeDto[] = [];\n this.items.forEach(element => {\n if (this.isSelected(element)) {\n selected.push(element);\n }\n });\n this.$emit(\"selected\", selected);\n this.close();\n }\n newEmployees() {\n const routeData = this.$router.resolve({ name: \"app.employees.new\" });\n window.open(routeData.href, \"_blank\");\n this.close();\n }\n get filteredItems(): EmployeeDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName1\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName2\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.socialSecurityId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.populationRegistryId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectEmployees.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectEmployees.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectEmployees.vue?vue&type=template&id=26337630&\"\nimport script from \"./SelectEmployees.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectEmployees.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.tenant.plural\"))+\" \"),(!_vm.loading)?_c('span',{staticClass:\"ml-2 inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium bg-gray-50 text-gray-800 border border-gray-300\"},[_vm._v(\" \"+_vm._s(_vm.filteredItems.length)+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex items-center space-x-2 h-9\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reload}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.reload\"))+\" \")])])])]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[(_vm.loading)?_c('Loading'):_c('div',{staticClass:\" space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),(_vm.filteredItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No se encontraron organizaciones'\n }}})],1):_c('div',[_c('div',[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"text-xs px-3 py-2 text-left font-medium text-gray-500 tracking-wider select-none truncate\",attrs:{\"scope\":\"col\"}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.filteredItems),function(item,idx){return _c('tr',{key:idx},[_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex flex-col max-w-sm truncate\"},[_c('router-link',{staticClass:\"text-sm font-medium text-gray-900 hover:underline truncate\",attrs:{\"to\":{\n name: 'admin.tenants.profile',\n params: { id: item.id }\n }}},[_vm._v(\" \"+_vm._s(item.name)+\" \")]),(item.users.length === 1)?_c('div',{staticClass:\"lowercase\"},[_vm._v(\" \"+_vm._s(item.users.length)+\" \"+_vm._s(_vm.$t(\"models.user.object\"))+\" \")]):_c('div',{staticClass:\"lowercase\"},[_vm._v(\" \"+_vm._s(item.users.length)+\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")])],1)]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" max-w-sm truncate\"},[_vm._v(\" \"+_vm._s(_vm.getWorkspaces(item))+\" \")])]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[(item.createdAt)?_c('span',[_vm._v(\" \"+_vm._s(_vm.dateAgo(item.createdAt))+\" \")]):_vm._e()]),_c('td',{staticClass:\"px-3 py-2 whitespace-nowrap text-sm text-gray-600\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.getProducts(item))+\" \")])])])}),0)])])])])])])])])],1),_c('modal',{ref:\"imageModal\",staticClass:\"bg-blueGray-100 dark:bg-coolGray-900\"},[_c('div',{staticClass:\"rounded-sm pb-4 pt-4\",class:_vm.selectedImageIsDarkMode ? 'bg-gray-800' : 'bg-gray-100'},[_c('img',{staticClass:\"w-64 h-auto mx-auto\",attrs:{\"src\":_vm.selectedImage}})])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport TenantMembers from \"@/components/app/settings/tenant/TenantMembers.vue\";\nimport Modal from \"@/components/shared/modals/Modal.vue\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport { TenantDto } from \"../../../application/dtos/master/tenants/TenantDto\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport { SubscriptionBillingPeriod } from \"@/application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport { SubscriptionPriceDto } from \"@/application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport NumberUtils from \"@/utils/shared/NumberUtils\";\nimport services from \"@/services\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n TenantMembers,\n Modal,\n TableRowSkeleton,\n EmptyState,\n Loading\n }\n})\nexport default class Tenants extends Vue {\n $refs!: {\n imageModal: Modal;\n };\n loading = false;\n items: TenantDto[] = [];\n selectedImage = \"\";\n selectedImageIsDarkMode = false;\n searchInput = \"\";\n headers = [\n {\n title: i18n.t(\"models.tenant.object\")\n },\n {\n title: i18n.t(\"models.workspace.plural\")\n },\n {\n title: i18n.t(\"shared.created\")\n },\n {\n title: i18n.t(\"models.tenant.subscription\")\n }\n // {\n // title: i18n.t(\"shared.actions\")\n // }\n ];\n mounted() {\n this.reload();\n }\n async reload() {\n this.loading = true;\n this.items = [];\n services.tenants\n .adminGetAll()\n .then((response: TenantDto[]) => {\n this.items = response;\n })\n .catch(error => {\n console.log(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n selectTenant(tenant: TenantDto) {\n this.$router.push({ name: \"admin.users\", params: { id: tenant.id } });\n }\n changeTenant(tenant: TenantDto) {\n services.users.updateDefaultTenant(tenant.id);\n }\n selectImage(image, isDarkmode) {\n this.selectedImage = image;\n this.selectedImageIsDarkMode = isDarkmode;\n this.$refs.imageModal.show();\n }\n avatarText(tenant: TenantDto) {\n if (tenant) {\n return tenant.name.substring(0, 2).toUpperCase();\n }\n return \"\";\n }\n stripeUrl() {\n return process.env.NODE_ENV === \"production\"\n ? \"https://dashboard.stripe.com\"\n : \"https://dashboard.stripe.com/test\";\n }\n customerLink(tenant: TenantDto) {\n return this.stripeUrl() + \"/customers/\" + tenant.subscriptionCustomerId;\n }\n subscriptionOrProductLink(tenant: TenantDto) {\n if (\n tenant.subscriptionPlanId &&\n tenant.subscriptionPlanId.includes(\"sub_\")\n ) {\n return this.stripeUrl() + \"/subscriptions/\" + tenant.subscriptionPlanId;\n } else {\n return this.stripeUrl() + \"/payments/\" + tenant.subscriptionPlanId;\n }\n }\n getWorkspaces(item: TenantDto) {\n return item.workspaces?.map(f => `${f.taxId} - ${f.legalName}`).join(\", \");\n }\n getUsers(item: TenantDto) {\n return item.users\n ?.map(f => `${f.firstName} ${f.lastName} (${f.email})`)\n .join(\", \");\n }\n getProducts(item: TenantDto) {\n return item.products\n ?.map(\n f =>\n `${f.subscriptionProduct.tier} - ${\n f.subscriptionProduct.title\n } (${NumberUtils.decimalFormat(f.subscriptionPrice.price)} ${\n f.subscriptionPrice.currency\n }${this.billingPeriod(f.subscriptionPrice)})`\n )\n .join(\", \");\n }\n billingPeriod(price: SubscriptionPriceDto): string {\n if (price.billingPeriod === SubscriptionBillingPeriod.ONCE) {\n return this.$t(\"marketing.pricing.once\").toString();\n } else {\n return (\n \"/\" +\n this.$t(\n \"marketing.pricing.\" +\n SubscriptionBillingPeriod[price.billingPeriod] +\n \"Short\"\n )\n );\n }\n }\n dateAgo(value) {\n return DateUtils.dateAgo(value)\n }\n get filteredItems(): TenantDto[] {\n if (!this.orderedItems) {\n return [];\n }\n const orderedItems = this.orderedItems.filter(\n f =>\n f.subdomain !== \"admin\" &&\n (f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.name\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()))\n );\n\n return orderedItems;\n }\n get orderedItems(): TenantDto[] {\n if (!this.items) {\n return [];\n }\n return this.items.sort((x, y) => {\n if (x.createdAt && y.createdAt) {\n return (x.createdAt > y.createdAt ? -1 : 1) ?? -1;\n }\n return -1;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tenants.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tenants.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Tenants.vue?vue&type=template&id=79c5512c&\"\nimport script from \"./Tenants.vue?vue&type=script&lang=ts&\"\nexport * from \"./Tenants.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nimport EntityForm from \"@/components/shared/entities/EntityForm.vue\";\nimport { ColumnType } from \"../../../application/dtos/ColumnType\";\nimport {\n columns,\n SubscriptionPriceDto\n} from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport services from \"@/services\";\n\n@Component({\n components: { EntityForm }\n})\nexport default class Prices extends Vue {\n id!: string;\n columns: ColumnType[] = columns;\n mounted() {\n this.id = this.$route.params.price;\n }\n get() {\n return services.subscriptionProducts.getPrice(this.id);\n }\n post(model: SubscriptionPriceDto) {\n return model;\n }\n put(model: SubscriptionPriceDto) {\n return model;\n }\n delete() {\n return true;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionPricesForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionPricesForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionPricesForm.vue?vue&type=template&id=1395699e&\"\nimport script from \"./SubscriptionPricesForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionPricesForm.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.my\"))+\" \")]),_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('ButtonPrimary',{attrs:{\"to\":{ name: 'app.employees.new' }}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"app.employees.new.title\"))+\" \")])])],1)])]),_c('div',{staticClass:\"py-4 space-y-2 mx-auto max-w-5xl xl:max-w-7xl px-4 sm:px-6 lg:px-8\"},[_c('employees-list')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('employees-list-and-table',{attrs:{\"items\":_vm.sortedItems}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport EmployeesListAndTable from \"./EmployeesListAndTable.vue\";\nimport { EmployeeDto } from \"@/application/dtos/app/v3/employees/EmployeeDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n EmployeesListAndTable,\n Loading\n }\n})\nexport default class EmployeesList extends Vue {\n loading = false;\n items: EmployeeDto[] = [];\n\n searchInput = \"\";\n\n mounted() {\n this.reload();\n }\n reload() {\n this.loading = true;\n services.employees\n .getAll()\n .then(response => {\n this.items = response;\n })\n .finally(() => {\n this.loading = false;\n });\n }\n initials(member: EmployeeDto) {\n let initials = \"\";\n const names = [member.firstName, member.lastName1];\n if (names.length === 1) {\n initials = member.firstName.substring(0, 2);\n } else {\n initials = names[0][0] + names[1][0];\n }\n return initials.toUpperCase();\n }\n get filteredItems(): EmployeeDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName1\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName2\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.socialSecurityId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.populationRegistryId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): EmployeeDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployeesList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmployeesList.vue?vue&type=template&id=57c4bd3a&\"\nimport script from \"./EmployeesList.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmployeesList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Breadcrumb from \"@/components/shared/breadcrumbs/Breadcrumb.vue\";\nimport EmployeesList from \"@/components/app/v3/employees/list/EmployeesList.vue\";\nimport ButtonPrimary from \"@/components/shared/buttons/ButtonPrimary.vue\";\n\n@Component({\n metaInfo: {\n title: \"Colaboradores\",\n titleTemplate: \"%s | Délega\"\n },\n components: {\n Breadcrumb,\n EmployeesList,\n ButtonPrimary\n }\n})\nexport default class Employees extends Vue {}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Employees.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Employees.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Employees.vue?vue&type=template&id=79849f6a&\"\nimport script from \"./Employees.vue?vue&type=script&lang=ts&\"\nexport * from \"./Employees.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"sm:hidden\"},[_c('div',{staticClass:\"bg-white shadow overflow-hidden sm:rounded-md\"},[_c('ul',{staticClass:\"divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.sortedItems),function(visit,idxVisit){return _c('li',{key:idxVisit},[_c('div',{staticClass:\"block \",attrs:{\"to\":{\n name: 'app.visit.view',\n params: { id: visit.id }\n }}},[_c('div',{staticClass:\"flex items-center px-4 py-4 sm:px-6\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center\"},[_c('div',{staticClass:\"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4\"},[_c('div',[_c('div',{staticClass:\" flex items-center space-x-1\"},[_c('div',{staticClass:\"font-extrabold text-gray-900 flex items-center space-x-2\"},[_vm._v(\" \"+_vm._s(_vm.dateDM(visit.createdAt))+\" \")]),_c('div',{staticClass:\"font-medium text-gray-700 flex items-center space-x-2\"},[_vm._v(\" \"+_vm._s(_vm.dateHMS(visit.createdAt))+\" \")])]),_c('div',{staticClass:\"mt-2 flex items-center text-gray-500 space-x-1\"},[_c('div',{staticClass:\"truncate lowercase\"},[_vm._v(\" \"+_vm._s(visit.employees.filter(function (f) { return f.attended === true; }) .length)+\" / \"+_vm._s(visit.employees.length)+\" \"+_vm._s(_vm.$t(\"models.employee.plural\"))+\" \")])])]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',[_c('p',{staticClass:\" text-gray-900\"},[_c('time',{attrs:{\"datetime\":visit.createdAt}},[_vm._v(_vm._s(_vm.dateMonthName(visit.createdAt)))])]),_c('p',{staticClass:\"mt-2 flex items-center text-gray-500\"},[_c('svg',{staticClass:\"flex-shrink-0 mr-1.5 h-5 w-5 text-green-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\",\"clip-rule\":\"evenodd\"}})]),_vm._v(\" Completed phone screening \")])])])])]),_c('div',[_c('svg',{staticClass:\"h-5 w-5 text-gray-400\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\",\"clip-rule\":\"evenodd\"}})])])])])])}),0)])]),_c('div',{staticClass:\"hidden sm:block\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-6 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none truncate\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(visit,idxVisit){return _c('tr',{key:idxVisit,attrs:{\"to\":{\n name: 'app.visit.view',\n params: { id: visit.id }\n }}},[_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end space-x-1\"},[_c('div',{staticClass:\"font-extrabold text-gray-900 flex items-center space-x-2\"},[_vm._v(\" \"+_vm._s(_vm.dateDM(visit.createdAt))+\" \")]),_c('div',{staticClass:\"font-medium text-gray-700 flex items-center space-x-2\"},[_vm._v(\" \"+_vm._s(_vm.dateHMS(visit.createdAt))+\" \")])])]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap text-gray-600 lowercase\"},[_vm._v(\" \"+_vm._s(visit.employees.filter(function (f) { return f.attended === true; }).length)+\" / \"+_vm._s(visit.employees.length)+\" \"+_vm._s(_vm.$t(\"models.employee.plural\"))+\" \")]),_c('td',{staticClass:\"px-6 py-4 whitespace-nowrap text-gray-600\"},[(visit.cfdis)?_c('span',[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border border-theme-300 shadow-sm text-sm leading-4 font-medium rounded-md text-theme-600 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"disabled\":_vm.role < 3},on:{\"click\":function($event){return _vm.downloadCfdis(visit)}}},[_c('svg',{staticClass:\"-ml-0.5 mr-2 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"app.cfdis.downloadN\", [visit.cfdis.length]))+\" \")])]):_c('span',[_vm._v(\" No hay CFDIs \")])])])}),0)])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport Icon from \"@/assets/contracts/WorkerMale.vue\";\nimport { ContractVisitDto } from \"@/application/dtos/app/v3/contracts/ContractVisitDto\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport DateUtils from \"@/utils/shared/DateUtils\";\n\n@Component({\n components: {\n Icon\n }\n})\nexport default class VisitsListAndTable extends Vue {\n @Prop({}) items!: ContractVisitDto[];\n sortByColumn = \"\";\n sortDirection = -1;\n headers = [\n {\n name: \"\",\n title: i18n.t(\"models.visit.date\")\n },\n {\n title: i18n.t(\"app.contracts.visits.attended\")\n },\n {\n title: i18n.t(\"models.cfdi.plural\")\n }\n // {\n // title: i18n.t(\"app.visits.visits\")\n // }\n ];\n\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n downloadCfdis(visit: ContractVisitDto) {\n alert(\"not implemented: \" + visit.id);\n }\n dateMonthName(value: Date | undefined) {\n return DateUtils.dateMonthName(value);\n }\n dateDM(value: Date | undefined) {\n return DateUtils.dateDM(value);\n }\n dateHMS(value: Date | undefined) {\n return DateUtils.dateHMS(value);\n }\n get role(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get sortedItems(): ContractVisitDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisitsListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisitsListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VisitsListAndTable.vue?vue&type=template&id=5370cd3f&\"\nimport script from \"./VisitsListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./VisitsListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"max-w-lg mx-auto\"},[_c('div',[_c('div',{staticClass:\"text-center\"},[_c('h2',{staticClass:\"mt-2 text-lg font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectWorkspaceUsers\"))+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectUsers\"))+\" \")])]),(_vm.allowSearch)?_c('form',{staticClass:\"mt-6 flex\",attrs:{\"action\":\"#\"}},[_c('label',{staticClass:\"sr-only\",attrs:{\"for\":\"search\"}},[_vm._v(_vm._s(_vm.$t(\"shared.search\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],staticClass:\"shadow-sm focus:ring-theme-500 focus:border-theme-500 block w-full sm:text-sm border-gray-300 rounded-md\",attrs:{\"type\":\"text\",\"name\":\"search\",\"id\":\"search\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})]):_vm._e()]),_c('div',{staticClass:\"mt-5\"},[_c('h3',{staticClass:\"text-xs font-semibold text-gray-500 uppercase tracking-wide\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.plural\"))+\" \")]),(_vm.loading)?_c('Loading'):(_vm.items.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No hay usuarios'\n }}})],1):_c('div',[_c('ul',{staticClass:\"mt-4 border-t border-b border-gray-200 divide-y divide-gray-200\",attrs:{\"role\":\"list\"}},_vm._l((_vm.filteredItems),function(item,idx){return _c('li',{key:idx,staticClass:\"py-2 flex items-center justify-between space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1 flex items-center space-x-3\"},[_c('div',{staticClass:\"min-w-0 flex-1\"},[_c('p',{staticClass:\"text-sm font-medium text-gray-900 truncate\"},[_vm._v(\" \"+_vm._s(item.email)+\" \")]),_c('p',{staticClass:\"text-sm font-medium text-gray-500 truncate\"},[_vm._v(\" \"+_vm._s(item.firstName)+\" \"+_vm._s(item.lastName)+\" \")])])]),_c('div',{staticClass:\"flex-shrink-0\"},[_c('button',{staticClass:\"inline-flex items-center py-2 px-3 border border-transparent rounded-full focus:outline-none\",class:{\n 'text-gray-800 bg-gray-100 hover:bg-teal-200': !_vm.isSelected(\n item\n ),\n 'text-teal-800 bg-teal-100 hover:bg-red-200 ': _vm.isSelected(\n item\n )\n },attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.toggle(item)}}},[(!_vm.isSelected(item))?_c('svg',{staticClass:\"-ml-1 mr-0.5 h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"-ml-1 mr-0.5 h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})]),(!_vm.isSelected(item))?_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.add\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.firstName)+\" - \"+_vm._s(item.lastName))])]):_c('span',{staticClass:\"text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.remove\"))+\" \"),_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(item.firstName)+\" - \"+_vm._s(item.lastName))])])])])])}),0),_c('div',{staticClass:\"py-3 text-right flex justify-end\"},[_c('div',{staticClass:\"flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")]),_c('button',{staticClass:\"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n ' opacity-50 cursor-not-allowed':\n _vm.selected.length === 0\n },attrs:{\"type\":\"submit\",\"disabled\":_vm.selected.length === 0},on:{\"click\":_vm.accept}},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.accept\"))+\" \")])])])])],1)])])])])],1),_c('ErrorModal',{ref:\"errorModal\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport Workers from \"@/assets/contracts/Workers.vue\";\nimport store from \"@/store\";\nimport { UserDto } from \"@/application/dtos/master/users/UserDto\";\nimport { TranslateResult } from \"vue-i18n\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n EmptyState,\n ErrorModal,\n Workers,\n Loading\n }\n})\nexport default class SelectUsers extends Vue {\n @Prop({ default: false }) allowSearch!: boolean;\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n };\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n searchInput = \"\";\n items: UserDto[] = [];\n loading = false;\n selected: string[] = [];\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(selected: string[]) {\n this.selected = selected;\n this.showing = true;\n\n // this.$nextTick(() => {\n // window.addEventListener(\"keyup\", this.keyup);\n // });\n\n this.reload();\n }\n reload() {\n this.loading = true;\n services.tenantUsers\n .getAll(store.state.tenant.current?.id)\n .then(response => {\n this.items = response.map(f => f.user);\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n toggle(item: UserDto) {\n if (this.isSelected(item)) {\n this.selected = this.selected.filter(f => f !== item.id);\n } else {\n this.selected.push(item.id);\n }\n }\n isSelected(item: UserDto) {\n return this.selected.find(f => f === item.id);\n }\n accept() {\n const selected: UserDto[] = [];\n this.items.forEach(element => {\n if (this.isSelected(element)) {\n selected.push(element);\n }\n });\n this.$emit(\"selected\", selected);\n this.close();\n }\n get filteredItems(): UserDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.email\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.firstName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.lastName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectUsers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectUsers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectUsers.vue?vue&type=template&id=24a8f950&\"\nimport script from \"./SelectUsers.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectUsers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('div',{staticClass:\"fixed inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3 space-y-3\"},[_c('div',{staticClass:\" flex items-center justify-between\"},[_c('h4',{staticClass:\" text-lg font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.tenant.members.actions.edit\"))+\" \")])]),(_vm.loading)?_c('Loading'):(!_vm.item)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.notFound\"))+\" \")]):(_vm.item)?_c('form',{staticClass:\" space-y-4\",on:{\"submit\":function($event){$event.preventDefault();return _vm.save($event)}}},[_c('div',{staticClass:\"grid grid-cols-2 gap-2\"},[_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"email\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.email\"))+\"* \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"email\",\"name\":\"email\",\"id\":\"email\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.email=$event.target.value},function($event){_vm.email = $event.target.value.toLowerCase()}]}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"first-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.firstName\"))+\"* \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.firstName),expression:\"firstName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"first-name\",\"name\":\"first-name\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.firstName=$event.target.value}}})])]),_c('div',[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"last-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.lastName\"))+\"* \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.lastName),expression:\"lastName\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",class:{\n 'bg-gray-100 cursor-not-allowed': true\n },attrs:{\"type\":\"text\",\"id\":\"last-name\",\"name\":\"last-name\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.lastName=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"last-name\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.role\"))+\"* \")]),_c('div',{staticClass:\"mt-1 rounded-md shadow-sm w-full\"},[_c('fieldset',[_c('legend',{staticClass:\"sr-only\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.role\"))+\"* \")]),_c('div',{staticClass:\"bg-white rounded-md -space-y-px\"},[_c('label',{staticClass:\"rounded-tl-md rounded-tr-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 1,\n 'border-gray-200': _vm.role !== 1\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-0-label\",\"aria-describedby\":\"tenant-user-role-0-description\"},domProps:{\"value\":1,\"checked\":_vm.role === 1},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 1,\n 'text-gray-900': _vm.role !== 1\n },attrs:{\"id\":\"tenant-user-role-0-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.roles.ADMIN\"))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 1,\n 'text-gray-500': _vm.role !== 1\n },attrs:{\"id\":\"tenant-user-role-0-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.permissions.ADMIN\"))+\" \")])])]),_c('label',{staticClass:\"relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 2,\n 'border-gray-200': _vm.role !== 2\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-1-label\",\"aria-describedby\":\"tenant-user-role-1-description\"},domProps:{\"value\":2,\"checked\":_vm.role === 2},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 2,\n 'text-gray-900': _vm.role !== 2\n },attrs:{\"id\":\"tenant-user-role-1-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.roles.MEMBER\"))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 2,\n 'text-gray-500': _vm.role !== 2\n },attrs:{\"id\":\"tenant-user-role-1-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.permissions.MEMBER\"))+\" \")])])]),_c('label',{staticClass:\"rounded-bl-md rounded-br-md relative border py-2 px-4 flex cursor-pointer focus:outline-none\",class:{\n 'bg-theme-50 border-theme-200 z-10': _vm.role === 3,\n 'border-gray-200': _vm.role !== 3\n }},[_c('input',{staticClass:\"h-4 w-4 mt-3 cursor-pointer text-theme-600 border-gray-300 focus:ring-theme-500\",attrs:{\"type\":\"radio\",\"name\":\"tenant-user-role\",\"aria-labelledby\":\"tenant-user-role-2-label\",\"aria-describedby\":\"tenant-user-role-2-description\"},domProps:{\"value\":3,\"checked\":_vm.role === 3},on:{\"change\":_vm.changedRole}}),_c('div',{staticClass:\"ml-3 flex flex-col\"},[_c('span',{staticClass:\"block text-sm font-medium\",class:{\n 'text-theme-900': _vm.role === 3,\n 'text-gray-900': _vm.role !== 3\n },attrs:{\"id\":\"tenant-user-role-2-label\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.roles.GUEST\"))+\" \")]),_c('span',{staticClass:\"block text-sm\",class:{\n 'text-theme-700': _vm.role === 3,\n 'text-gray-500': _vm.role !== 3\n },attrs:{\"id\":\"tenant-user-role-2-description\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"settings.profile.permissions.GUEST\"))+\" \")])])])])])])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"company-ole\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.user.companyRole\"))+\" \")]),_c('div',{staticClass:\"mt-1 flex rounded-md shadow-sm w-full\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.companyRole),expression:\"companyRole\"}],staticClass:\"w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"company-role\",\"name\":\"company-role\",\"autocomplete\":\"none\"},domProps:{\"value\":(_vm.companyRole)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.companyRole=$event.target.value}}})])]),_c('div',{staticClass:\"col-span-2\"},[_c('label',{staticClass:\"block text-xs font-medium text-gray-700 truncate\",attrs:{\"for\":\"workspace\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.workspace.plural\"))+\"* \")]),_c('div',{staticClass:\"mt-2 rounded-md w-full space-y-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentWorkspacesDescription),expression:\"currentWorkspacesDescription\"}],staticClass:\" bg-gray-100 cursor-not-allowed w-full flex-1 focus:ring-theme-500 focus:border-theme-500 block min-w-0 rounded-md sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"id\":\"first-name\",\"name\":\"first-name\",\"autocomplete\":\"none\",\"disabled\":\"\"},domProps:{\"value\":(_vm.currentWorkspacesDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentWorkspacesDescription=$event.target.value}}}),_c('button',{staticClass:\"flex items-center space-x-1 text-xs text-theme-600\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.selectWorkspaces}},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('span',{staticClass:\"uppercase font-medium\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.workspaces.actions.selectUserWorkspaces\"))+\" \")])])])])]),_c('div',{staticClass:\"flex items-center justify-between mt-4\"},[(_vm.loading)?_c('div',{staticClass:\" text-theme-700 text-sm\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"shared.loading\"))+\"...\")]):_vm._e()]):_c('div',[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-red-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.remove}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.delete\"))+\" \")])])]),_c('div',{staticClass:\" flex items-center space-x-2\"},[_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-gray-300 shadow-sm sm:text-sm font-medium sm:rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'bg-gray-100 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.cancel\"))+\" \")])]),_c('button',{staticClass:\"inline-flex items-center px-3 py-2 border space-x-2 border-transparent shadow-sm sm:text-sm font-medium sm:rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",class:{\n 'opacity-50 cursor-not-allowed': _vm.loading\n },attrs:{\"disabled\":_vm.loading,\"type\":\"submit\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.save\"))+\" \")])])])])]):_vm._e()],1)])])],1)])]),_c('ConfirmModal',{ref:\"confirmRemove\",on:{\"yes\":_vm.yesRemove}}),_c('ErrorModal',{ref:\"errorModal\"}),_c('SuccessModal',{ref:\"successModal\",on:{\"closed\":_vm.close}}),_c('select-workspaces',{ref:\"selectWorkspaces\",on:{\"selected\":_vm.selectedWorkspaces}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport services from \"@/services\";\nimport { TenantUserRole } from \"@/application/enums/master/tenants/TenantUserRole\";\nimport ErrorModal from \"@/components/shared/modals/ErrorModal.vue\";\nimport SuccessModal from \"@/components/shared/modals/SuccessModal2.vue\";\nimport { WorkspaceDto } from \"@/application/dtos/app/workspaces/WorkspaceDto\";\nimport SelectWorkspaces from \"@/components/app/workspaces/SelectWorkspaces.vue\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport store from \"@/store\";\nimport ConfirmModal from \"@/components/shared/modals/ConfirmModal.vue\";\nimport { TenantUserDto } from \"@/application/dtos/master/tenants/TenantUserDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n ErrorModal,\n SuccessModal,\n SelectWorkspaces,\n ConfirmModal,\n Loading\n }\n})\nexport default class EditMember extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n $refs!: {\n errorModal: ErrorModal;\n successModal: SuccessModal;\n selectWorkspaces: SelectWorkspaces;\n confirmRemove: ConfirmModal;\n };\n id = \"\";\n item: TenantUserDto | null = null;\n loading = false;\n email = \"\";\n firstName = \"\";\n lastName = \"\";\n phone = \"\";\n companyRole = \"\";\n role: TenantUserRole = TenantUserRole.MEMBER;\n workspaces: WorkspaceDto[] = [];\n created() {\n this.id = this.$route.params.id;\n }\n mounted() {\n this.loading = true;\n services.tenantUsers\n .get(this.id)\n .then(response => {\n this.item = response;\n this.email = response.email;\n this.firstName = response.firstName;\n this.lastName = response.lastName;\n this.role = response.role;\n this.phone = response.phone;\n this.companyRole = response.companyRole;\n this.workspaces = [];\n response.user?.workspaces?.forEach(element => {\n if (element.workspace) {\n this.workspaces.push(element.workspace);\n }\n });\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$router.push({ name: \"settings.tenant.members\" });\n }\n save() {\n if (this.workspaces.length === 0) {\n this.$refs.errorModal.show(\n \"Error\",\n this.$t(\"account.tenant.members.errors.atLeastOneWorkspace\")\n );\n return;\n }\n this.loading = true;\n services.tenantUsers\n .update(this.id, {\n phone: this.phone,\n role: this.role,\n workspaces: this.workspaces,\n companyRole: this.companyRole\n })\n .then(() => {\n tinyEventBus().emitter.emit(\"user-saved\", this.item);\n this.$refs.successModal.show(\n \"Usuario actualizado\",\n \"Se ha actualizado correctamente.\"\n );\n })\n .catch(error => {\n this.$refs.errorModal.show(\"Error\", this.$t(error));\n })\n .finally(() => {\n this.loading = false;\n });\n }\n remove() {\n this.$refs.confirmRemove.show(\n this.$t(\"shared.delete?\"),\n \"Eliminar\",\n \"Cancelar\",\n \"ADVERTENCIA: El usuario ya no podrá acceder a la empresa.\"\n );\n }\n yesRemove() {\n if (\n this.currentRole === TenantUserRole.MEMBER ||\n this.currentRole === TenantUserRole.GUEST\n ) {\n this.$refs.errorModal.show(this.$t(\"account.tenant.onlyAdmin\"));\n } else {\n this.loading = true;\n services.tenantUsers\n .delete(this.id)\n .then(() => {\n tinyEventBus().emitter.emit(\"user-deleted\", this.item);\n this.$router.push({ name: \"settings.tenant.members\" });\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n }\n selectWorkspaces() {\n this.$refs.selectWorkspaces.show(this.workspaces.map(f => f.id));\n }\n selectedWorkspaces(items: WorkspaceDto[]) {\n this.workspaces = items;\n }\n changedRole(e) {\n const role: TenantUserRole = Number(e.target.value);\n this.role = role;\n }\n get currentRole(): TenantUserRole {\n return store.state.tenant.current?.currentUser.role ?? TenantUserRole.GUEST;\n }\n get currentWorkspacesDescription() {\n if (this.workspaces.length === 0) {\n return \"No has seleccionado empresas del usuario\";\n }\n return this.workspaces.map(f => f.taxId).join(\", \");\n }\n get maxUsers(): number {\n if (store.state.account.user?.type === 0) {\n return 0;\n }\n return store.state.app.features.maxUsers;\n }\n get maxUsersReached() {\n if (\n this.maxUsers > 0 &&\n store.state.tenant.members.length >= this.maxUsers\n ) {\n return true;\n }\n return false;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditMember.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditMember.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditMember.vue?vue&type=template&id=7a003790&\"\nimport script from \"./EditMember.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditMember.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.type === 0)?_c('EmptyStateSimple',{attrs:{\"captions\":_vm.captions,\"icon\":_vm.icon,\"to\":_vm.to},on:{\"new\":function($event){return _vm.$emit('new')}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center border-2 border-dashed border-gray-200 py-16 px-1.6\"},[_c('SvgResultsEmpty',{staticClass:\"mx-auto w-10\"}),_c('h3',{staticClass:\"mt-2 text-sm font-medium text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.captions.thereAreNo)+\" \")]),_c('p',{staticClass:\"mt-1 text-sm text-gray-500\"},[_vm._v(\" \"+_vm._s(_vm.captions.description)+\" \")]),(_vm.captions.new)?_c('div',{staticClass:\"mt-6\"},[(_vm.to)?_c('ButtonTertiary',{attrs:{\"to\":_vm.to}},[(_vm.icon === 'plus')?_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 4v16m8-8H4\"}})]):_vm._e(),(_vm.icon === 'refresh')?_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15\"}})]):_vm._e(),_c('div',[_vm._v(\" \"+_vm._s(_vm.captions.new)+\" \")])]):(_vm.captions.routeName)?_c('ButtonTertiary',{attrs:{\"to\":{ name: _vm.captions.routeName, params: _vm.captions.routeParams }}},[(_vm.icon === 'plus')?_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 4v16m8-8H4\"}})]):_vm._e(),_c('div',[_vm._v(\" \"+_vm._s(_vm.captions.new)+\" \")])]):_c('ButtonTertiary',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$emit('new')}}},[_c('div',[(_vm.icon === 'plus')?_c('svg',{staticClass:\"h-4 w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 4v16m8-8H4\"}})]):_vm._e()]),_c('div',[_vm._v(\" \"+_vm._s(_vm.captions.new)+\" \")])])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"fill\":\"currentColor\",\"id\":\"f20e0c25-d928-42cc-98d1-13cc230663ea\",\"data-name\":\"Layer 1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"viewBox\":\"0 0 820.16 780.81\"}},[_c('defs',[_c('linearGradient',{attrs:{\"id\":\"07332201-7176-49c2-9908-6dc4a39c4716\",\"x1\":\"539.63\",\"y1\":\"734.6\",\"x2\":\"539.63\",\"y2\":\"151.19\",\"gradientTransform\":\"translate(-3.62 1.57)\",\"gradientUnits\":\"userSpaceOnUse\"}},[_c('stop',{attrs:{\"offset\":\"0\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.25\"}}),_c('stop',{attrs:{\"offset\":\"0.54\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.12\"}}),_c('stop',{attrs:{\"offset\":\"1\",\"stop-color\":\"gray\",\"stop-opacity\":\"0.1\"}})],1),_c('linearGradient',{attrs:{\"id\":\"0ee1ab3f-7ba2-4205-9d4a-9606ad702253\",\"x1\":\"540.17\",\"y1\":\"180.2\",\"x2\":\"540.17\",\"y2\":\"130.75\",\"gradientTransform\":\"translate(-63.92 7.85)\",\"xlink:href\":\"#07332201-7176-49c2-9908-6dc4a39c4716\"}}),_c('linearGradient',{attrs:{\"id\":\"abca9755-bed1-4a97-b027-7f02ee3ffa09\",\"x1\":\"540.17\",\"y1\":\"140.86\",\"x2\":\"540.17\",\"y2\":\"82.43\",\"gradientTransform\":\"translate(-84.51 124.6) rotate(-12.11)\",\"xlink:href\":\"#07332201-7176-49c2-9908-6dc4a39c4716\"}}),_c('linearGradient',{attrs:{\"id\":\"2632d424-e666-4ee4-9508-a494957e14ab\",\"x1\":\"476.4\",\"y1\":\"710.53\",\"x2\":\"476.4\",\"y2\":\"127.12\",\"gradientTransform\":\"matrix(1, 0, 0, 1, 0, 0)\",\"xlink:href\":\"#07332201-7176-49c2-9908-6dc4a39c4716\"}}),_c('linearGradient',{attrs:{\"id\":\"97571ef7-1c83-4e06-b701-c2e47e77dca3\",\"x1\":\"476.94\",\"y1\":\"156.13\",\"x2\":\"476.94\",\"y2\":\"106.68\",\"gradientTransform\":\"matrix(1, 0, 0, 1, 0, 0)\",\"xlink:href\":\"#07332201-7176-49c2-9908-6dc4a39c4716\"}}),_c('linearGradient',{attrs:{\"id\":\"7d32e13e-a0c7-49c4-af0e-066a2f8cb76e\",\"x1\":\"666.86\",\"y1\":\"176.39\",\"x2\":\"666.86\",\"y2\":\"117.95\",\"gradientTransform\":\"matrix(1, 0, 0, 1, 0, 0)\",\"xlink:href\":\"#07332201-7176-49c2-9908-6dc4a39c4716\"}})],1),_c('title'),_c('rect',{attrs:{\"x\":\"317.5\",\"y\":\"142.55\",\"width\":\"437.02\",\"height\":\"603.82\",\"transform\":\"translate(-271.22 62.72) rotate(-12.11)\",\"fill\":\"#e0e0e0\"}}),_c('g',{attrs:{\"opacity\":\"0.5\"}},[_c('rect',{attrs:{\"x\":\"324.89\",\"y\":\"152.76\",\"width\":\"422.25\",\"height\":\"583.41\",\"transform\":\"translate(-271.22 62.72) rotate(-12.11)\",\"fill\":\"url(#07332201-7176-49c2-9908-6dc4a39c4716)\"}})]),_c('rect',{attrs:{\"x\":\"329.81\",\"y\":\"157.1\",\"width\":\"411.5\",\"height\":\"570.52\",\"transform\":\"translate(-270.79 62.58) rotate(-12.11)\",\"fill\":\"#fafafa\"}}),_c('rect',{attrs:{\"x\":\"374.18\",\"y\":\"138.6\",\"width\":\"204.14\",\"height\":\"49.45\",\"transform\":\"translate(-213.58 43.93) rotate(-12.11)\",\"fill\":\"url(#0ee1ab3f-7ba2-4205-9d4a-9606ad702253)\"}}),_c('path',{attrs:{\"d\":\"M460.93,91.9c-15.41,3.31-25.16,18.78-21.77,34.55s18.62,25.89,34,22.58,25.16-18.78,21.77-34.55S476.34,88.59,460.93,91.9ZM470.6,137A16.86,16.86,0,1,1,483.16,117,16.66,16.66,0,0,1,470.6,137Z\",\"transform\":\"translate(-189.92 -59.59)\",\"fill\":\"url(#abca9755-bed1-4a97-b027-7f02ee3ffa09)\"}}),_c('rect',{staticClass:\"text-theme-700\",attrs:{\"x\":\"375.66\",\"y\":\"136.55\",\"width\":\"199.84\",\"height\":\"47.27\",\"transform\":\"translate(-212.94 43.72) rotate(-12.11)\"}}),_c('path',{staticClass:\"text-theme-700\",attrs:{\"d\":\"M460.93,91.9a27.93,27.93,0,1,0,33.17,21.45A27.93,27.93,0,0,0,460.93,91.9ZM470.17,135a16.12,16.12,0,1,1,12.38-19.14A16.12,16.12,0,0,1,470.17,135Z\",\"transform\":\"translate(-189.92 -59.59)\"}}),_c('rect',{attrs:{\"x\":\"257.89\",\"y\":\"116.91\",\"width\":\"437.02\",\"height\":\"603.82\",\"fill\":\"#e0e0e0\"}}),_c('g',{attrs:{\"opacity\":\"0.5\"}},[_c('rect',{attrs:{\"x\":\"265.28\",\"y\":\"127.12\",\"width\":\"422.25\",\"height\":\"583.41\",\"fill\":\"url(#2632d424-e666-4ee4-9508-a494957e14ab)\"}})]),_c('rect',{attrs:{\"x\":\"270.65\",\"y\":\"131.42\",\"width\":\"411.5\",\"height\":\"570.52\",\"fill\":\"#fff\"}}),_c('rect',{attrs:{\"x\":\"374.87\",\"y\":\"106.68\",\"width\":\"204.14\",\"height\":\"49.45\",\"fill\":\"url(#97571ef7-1c83-4e06-b701-c2e47e77dca3)\"}}),_c('path',{attrs:{\"d\":\"M666.86,118c-15.76,0-28.54,13.08-28.54,29.22s12.78,29.22,28.54,29.22,28.54-13.08,28.54-29.22S682.62,118,666.86,118Zm0,46.08a16.86,16.86,0,1,1,16.46-16.86A16.66,16.66,0,0,1,666.86,164Z\",\"transform\":\"translate(-189.92 -59.59)\",\"fill\":\"url(#7d32e13e-a0c7-49c4-af0e-066a2f8cb76e)\"}}),_c('rect',{staticClass:\"text-theme-700\",attrs:{\"x\":\"377.02\",\"y\":\"104.56\",\"width\":\"199.84\",\"height\":\"47.27\"}}),_c('path',{staticClass:\"text-theme-700\",attrs:{\"d\":\"M666.86,118a27.93,27.93,0,1,0,27.93,27.93A27.93,27.93,0,0,0,666.86,118Zm0,44.05A16.12,16.12,0,1,1,683,145.89,16.12,16.12,0,0,1,666.86,162Z\",\"transform\":\"translate(-189.92 -59.59)\"}}),_c('g',{attrs:{\"opacity\":\"0.5\"}},[_c('rect',{attrs:{\"x\":\"15.27\",\"y\":\"737.05\",\"width\":\"3.76\",\"height\":\"21.33\",\"fill\":\"#47e6b1\"}}),_c('rect',{attrs:{\"x\":\"205.19\",\"y\":\"796.65\",\"width\":\"3.76\",\"height\":\"21.33\",\"transform\":\"translate(824.47 540.65) rotate(90)\",\"fill\":\"#47e6b1\"}})]),_c('g',{attrs:{\"opacity\":\"0.5\"}},[_c('rect',{attrs:{\"x\":\"451.49\",\"width\":\"3.76\",\"height\":\"21.33\",\"fill\":\"#47e6b1\"}}),_c('rect',{attrs:{\"x\":\"641.4\",\"y\":\"59.59\",\"width\":\"3.76\",\"height\":\"21.33\",\"transform\":\"translate(523.63 -632.62) rotate(90)\",\"fill\":\"#47e6b1\"}})]),_c('path',{attrs:{\"d\":\"M961,832.15a4.61,4.61,0,0,1-2.57-5.57,2.22,2.22,0,0,0,.1-.51h0a2.31,2.31,0,0,0-4.15-1.53h0a2.22,2.22,0,0,0-.26.45,4.61,4.61,0,0,1-5.57,2.57,2.22,2.22,0,0,0-.51-.1h0a2.31,2.31,0,0,0-1.53,4.15h0a2.22,2.22,0,0,0,.45.26,4.61,4.61,0,0,1,2.57,5.57,2.22,2.22,0,0,0-.1.51h0a2.31,2.31,0,0,0,4.15,1.53h0a2.22,2.22,0,0,0,.26-.45,4.61,4.61,0,0,1,5.57-2.57,2.22,2.22,0,0,0,.51.1h0a2.31,2.31,0,0,0,1.53-4.15h0A2.22,2.22,0,0,0,961,832.15Z\",\"transform\":\"translate(-189.92 -59.59)\",\"fill\":\"#4d8af0\",\"opacity\":\"0.5\"}}),_c('path',{attrs:{\"d\":\"M326.59,627.09a4.61,4.61,0,0,1-2.57-5.57,2.22,2.22,0,0,0,.1-.51h0a2.31,2.31,0,0,0-4.15-1.53h0a2.22,2.22,0,0,0-.26.45,4.61,4.61,0,0,1-5.57,2.57,2.22,2.22,0,0,0-.51-.1h0a2.31,2.31,0,0,0-1.53,4.15h0a2.22,2.22,0,0,0,.45.26,4.61,4.61,0,0,1,2.57,5.57,2.22,2.22,0,0,0-.1.51h0a2.31,2.31,0,0,0,4.15,1.53h0a2.22,2.22,0,0,0,.26-.45A4.61,4.61,0,0,1,325,631.4a2.22,2.22,0,0,0,.51.1h0a2.31,2.31,0,0,0,1.53-4.15h0A2.22,2.22,0,0,0,326.59,627.09Z\",\"transform\":\"translate(-189.92 -59.59)\",\"fill\":\"#fdd835\",\"opacity\":\"0.5\"}}),_c('path',{attrs:{\"d\":\"M855,127.77a4.61,4.61,0,0,1-2.57-5.57,2.22,2.22,0,0,0,.1-.51h0a2.31,2.31,0,0,0-4.15-1.53h0a2.22,2.22,0,0,0-.26.45,4.61,4.61,0,0,1-5.57,2.57,2.22,2.22,0,0,0-.51-.1h0a2.31,2.31,0,0,0-1.53,4.15h0a2.22,2.22,0,0,0,.45.26,4.61,4.61,0,0,1,2.57,5.57,2.22,2.22,0,0,0-.1.51h0a2.31,2.31,0,0,0,4.15,1.53h0a2.22,2.22,0,0,0,.26-.45,4.61,4.61,0,0,1,5.57-2.57,2.22,2.22,0,0,0,.51.1h0a2.31,2.31,0,0,0,1.53-4.15h0A2.22,2.22,0,0,0,855,127.77Z\",\"transform\":\"translate(-189.92 -59.59)\",\"fill\":\"#fdd835\",\"opacity\":\"0.5\"}}),_c('circle',{attrs:{\"cx\":\"812.64\",\"cy\":\"314.47\",\"r\":\"7.53\",\"fill\":\"#f55f44\",\"opacity\":\"0.5\"}}),_c('circle',{attrs:{\"cx\":\"230.73\",\"cy\":\"746.65\",\"r\":\"7.53\",\"fill\":\"#f55f44\",\"opacity\":\"0.5\"}}),_c('circle',{attrs:{\"cx\":\"735.31\",\"cy\":\"477.23\",\"r\":\"7.53\",\"fill\":\"#f55f44\",\"opacity\":\"0.5\"}}),_c('circle',{attrs:{\"cx\":\"87.14\",\"cy\":\"96.35\",\"r\":\"7.53\",\"fill\":\"#4d8af0\",\"opacity\":\"0.5\"}}),_c('circle',{attrs:{\"cx\":\"7.53\",\"cy\":\"301.76\",\"r\":\"7.53\",\"fill\":\"#47e6b1\",\"opacity\":\"0.5\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ResultsEmptyIcon.vue?vue&type=template&id=38d5cd0b&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(!_vm.to)?_c('button',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border shadow-sm text-sm font-medium rounded-md text-theme-900 bg-white border-theme-300 hover:bg-theme-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"type\":_vm.type},on:{\"click\":function($event){return _vm.$emit('click')}}},[_vm._t(\"default\")],2):_c('router-link',{staticClass:\"inline-flex items-center space-x-2 px-4 py-2 border shadow-sm text-sm font-medium rounded-md text-theme-900 bg-white border-theme-300 hover:bg-theme-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":_vm.to}},[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonTertiary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ButtonTertiary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ButtonTertiary.vue?vue&type=template&id=44fd3a22&\"\nimport script from \"./ButtonTertiary.vue?vue&type=script&lang=js&\"\nexport * from \"./ButtonTertiary.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport SvgResultsEmpty from \"@/components/shared/icons/ResultsEmptyIcon.vue\";\nimport ButtonTertiary from \"../buttons/ButtonTertiary.vue\";\n\n@Component({\n components: {\n SvgResultsEmpty,\n ButtonTertiary\n }\n})\nexport default class EmptyStateSimple extends Vue {\n @Prop({}) icon!: string;\n @Prop({}) captions!: any;\n @Prop({}) to!: any;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyStateSimple.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyStateSimple.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmptyStateSimple.vue?vue&type=template&id=648587a9&\"\nimport script from \"./EmptyStateSimple.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmptyStateSimple.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport EmptyStateSimple from \"./EmptyStateSimple.vue\";\n\n@Component({\n components: {\n EmptyStateSimple\n }\n})\nexport default class EmptyStates extends Vue {\n @Prop({ default: 0 }) type!: number;\n @Prop({}) icon!: string;\n @Prop({}) captions!: any;\n @Prop({}) to!: any;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyState.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmptyState.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmptyState.vue?vue&type=template&id=0c55c62c&\"\nimport script from \"./EmptyState.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmptyState.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import * as signalR from \"@aspnet/signalr\";\nimport store from \"../store\";\n\nclass SignalR {\n private connection!: signalR.HubConnection;\n private hubUrl!: string;\n public async startConnection(): Promise {\n try {\n // this.hubUrl = process.env.VUE_APP_SERVER_URL + \"globalHub\";\n // this.connection = new signalR.HubConnectionBuilder()\n // .withUrl(this.hubUrl)\n // .configureLogging(signalR.LogLevel.Information)\n // .build();\n // await this.connection\n // .start()\n // .then((response) => {\n // this.joinGroup();\n // return true;\n // })\n // .catch((err) => {\n // return console.error(\n // \"Could not connect to Hub '\" + this.hubUrl + \"':\" + err.toString()\n // );\n // });\n } catch (error) {\n console.log(\"signal error: \" + error);\n }\n return false;\n }\n public closeConnection() {\n try {\n // if (\n // this.connection &&\n // this.connection.state === HubConnectionState.Connected\n // ) {\n // this.connection.invoke(\"LeaveGroup\", store.state.tenant.current?.id);\n // // .then((response) => {\n // // console.log(\"LeaveGroup Success:\" + JSON.stringify(response));\n // // })\n // // .catch((err) => {\n // // console.log(\"LeaveGroup Error:\" + JSON.stringify(err));\n // // });\n // }\n } catch (error) {\n console.log(\"signal error: \" + error);\n }\n }\n public async on(methodName: string, newMethod: (...args: any[]) => void): Promise {\n if (!this.connection) {\n await this.startConnection();\n }\n if (this.connection) {\n this.connection.on(methodName, newMethod);\n }\n }\n public async invoke(methodName: string, ...args: any[]): Promise {\n if (this.connection === null) {\n await this.startConnection();\n }\n return new Promise((resolve, reject) => {\n if (this.connection) {\n this.connection\n .invoke(methodName, args)\n .then((response) => {\n resolve(response);\n })\n .catch((error) => {\n reject(error);\n });\n }\n });\n }\n private async joinGroup() {\n if (this.connection && store.state.tenant?.current) {\n await this.connection.invoke(\"JoinGroup\", store.state.tenant.current?.id);\n // .then((response) => {\n // console.log(\"JoinGroup Success:\" + JSON.stringify(response));\n // })\n // .catch((err) => {\n // console.log(\"JoinGroup Error:\" + JSON.stringify(err));\n // });\n }\n }\n}\nexport const SignalService = new SignalR();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"fixed z-50 inset-0 overflow-y-auto\",on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[_c('div',{staticClass:\"flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\"},[_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0\",\"enter-to-class\":\"opacity-100\",\"leave-active-class\":\"ease-in\",\"leave-class\":\"opacity-100\",\"leave-to-class\":\"opacity-0\"}},[_c('div',{staticClass:\"fixed inset-0 transition-opacity\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"absolute inset-0 bg-gray-800 opacity-75\"})])]),_c('span',{staticClass:\"hidden sm:inline-block sm:align-middle sm:h-screen\",attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"​\")]),_c('transition',{attrs:{\"enter-active-class\":\"ease-out duration-300\",\"enter-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\"enter-to-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-active-class\":\"ease-in duration-200\",\"leave-class\":\"opacity-100 translate-y-0 sm:scale-100\",\"leave-to-class\":\"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showing),expression:\"showing\"}],staticClass:\"inline-block align-bottom bg-white rounded-sm px-4 pt-5 pb-4 text-left overflow-visible shadow-xl transform transition-all my-8 sm:align-middle w-full sm:p-6\",class:_vm.maxSize,attrs:{\"role\":\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"modal-headline\"}},[_c('div',{staticClass:\"just absolute top-0 right-0 -mt-4 pr-4\"},[_c('button',{staticClass:\"p-1 bg-white hover:bg-gray-200 border border-gray-200 rounded-full text-gray-600 justify-center flex items-center hover:text-gray-500 focus:outline-none\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(_vm._s(_vm.$t(\"shared.close\")))]),_c('svg',{staticClass:\"h-5 w-5 text-gray-700\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_c('div',{staticClass:\"mt-3\"},[_vm._t(\"default\")],2)])])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { TranslateResult } from \"vue-i18n\";\n\n@Component\nexport default class NewModal extends Vue {\n @Prop({ default: \"sm:max-w-lg\" }) maxSize!: string;\n title!: string;\n closeText!: TranslateResult | string;\n showing = false;\n errorDescription!: string;\n mounted() {\n this.closeText = this.$t(\"shared.close\").toString();\n }\n show(title = \"\", closeText = \"\") {\n this.title = title;\n if (closeText !== \"\") {\n this.closeText = closeText;\n }\n this.showing = true;\n\n this.$nextTick(() => {\n window.addEventListener(\"keyup\", this.keyup);\n });\n }\n keyup(event: KeyboardEvent) {\n console.log(event.keyCode);\n if (event.keyCode === 27) {\n this.close();\n }\n }\n close() {\n this.$emit(\"closed\");\n this.showing = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewModal.vue?vue&type=template&id=2785a3c2&\"\nimport script from \"./NewModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewModal.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hero.vue?vue&type=style&index=0&id=6f979cbc&lan=true&scoped=true&lang=css&\"","export enum Role {\n ADMINISTRATOR,\n MEMBER,\n GUEST,\n}\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropDocument.vue?vue&type=style&index=0&id=2ec8cd81&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"w-full flex justify-center mb-0\"},[(_vm.billingPeriods.length > 0)?_c('div',{staticClass:\"flex justify-center\"},_vm._l((_vm.billingPeriods),function(billingPeriod,idx){return _c('a',{key:idx,staticClass:\"border border-blueGray-200 dark:border-gray-700 uppercase py-1 flex justify-center w-36 sm:w-32 items-center space-x-2\",class:[\n _vm.$store.state.pricing.billingPeriod !== billingPeriod\n ? 'text-xs p-4 cursor-pointer bg-gray-50 dark:bg-gray-700'\n : 'text-xs p-4 cursor-pointer bg-white dark:bg-gray-900 border shadow-md border-blueGray-300 dark:border-gray-600',\n idx === 0\n ? 'rounded-l-md border-r-none'\n : 'rounded-r-md border-l-none',\n ,\n ],on:{\"click\":function($event){$event.preventDefault();return _vm.changeInterval(billingPeriod)}}},[_c('div',[_vm._v(_vm._s(_vm.billingPeriodName(billingPeriod)))]),(_vm.isYearly(billingPeriod) && _vm.yearlyDiscount())?_c('div',{staticClass:\"text-right bg-green-200 text-green-600 ml-1 flex content-center items-center justify-center rounded-sm p-1 text-xs px-2 cursor-pointer font-semibold\"},[_vm._v(\" \"+_vm._s(_vm.yearlyDiscount())+\" \")]):_vm._e()])}),0):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Component from \"vue-class-component\";\nimport { SubscriptionPriceDto } from \"../../../application/dtos/master/subscriptions/SubscriptionPriceDto\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport { SubscriptionBillingPeriod } from \"../../../application/enums/master/subscriptions/SubscriptionBillingPeriod\";\nimport Vue from \"vue\";\nimport store from \"@/store\";\n\n@Component\nexport default class BillingPeriodToggle extends Vue {\n changeInterval(billingPeriod: SubscriptionBillingPeriod) {\n store.commit(\"pricing/billingPeriod\", billingPeriod);\n this.$emit(\"selected\");\n }\n changeToMonthly() {\n this.changeInterval(SubscriptionBillingPeriod.MONTHLY);\n }\n changeToYearly() {\n this.changeInterval(SubscriptionBillingPeriod.YEARLY);\n }\n billingPeriodName(billingPeriod: SubscriptionBillingPeriod): string {\n return this.$t(\n \"marketing.pricing.\" + SubscriptionBillingPeriod[billingPeriod].toString()\n ).toString();\n }\n isYearly(billingPeriod: SubscriptionBillingPeriod): boolean {\n return billingPeriod === SubscriptionBillingPeriod.YEARLY;\n }\n yearlyDiscount(): string | undefined {\n const priceYearly = this.getPriceWithInterval(\n SubscriptionBillingPeriod.YEARLY\n );\n const priceMonthly = this.getPriceWithInterval(\n SubscriptionBillingPeriod.MONTHLY\n );\n if (priceYearly && priceMonthly) {\n const discount =\n 100 - (priceYearly.price * 100) / (priceMonthly.price * 12);\n if (discount !== 0) {\n return \"-\" + discount.toFixed(0) + \"%\";\n }\n }\n\n return undefined;\n }\n getPriceWithInterval(\n billingPeriod: SubscriptionBillingPeriod\n ): SubscriptionPriceDto | undefined {\n let price: SubscriptionPriceDto | undefined;\n if (this.products && this.products.length > 0) {\n this.products.forEach(product => {\n const prices = product.prices.find(\n f =>\n f.billingPeriod === billingPeriod &&\n f.currency === store.state.pricing.currency &&\n f.price > 0\n );\n if (prices) {\n price = prices;\n }\n });\n }\n return price;\n }\n get products(): SubscriptionProductDto[] {\n return store.state.pricing.products as SubscriptionProductDto[];\n }\n get billingPeriods() {\n const allBillingPeriods: SubscriptionBillingPeriod[] = [];\n function onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n }\n\n this.products.forEach(element => {\n element.prices.forEach(price => {\n if (\n store.state.pricing.currency === price.currency &&\n price.billingPeriod !== SubscriptionBillingPeriod.ONCE\n ) {\n allBillingPeriods.push(price.billingPeriod);\n }\n });\n });\n return allBillingPeriods.filter(onlyUnique);\n }\n get billingPeriod() {\n return store.state.pricing.billingPeriod as SubscriptionBillingPeriod;\n }\n get isMonthly() {\n return this.billingPeriod !== SubscriptionBillingPeriod.MONTHLY;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillingPeriodToggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillingPeriodToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BillingPeriodToggle.vue?vue&type=template&id=4e0ddc58&\"\nimport script from \"./BillingPeriodToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./BillingPeriodToggle.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"bg-white shadow-sm border-b border-gray-300 w-full py-2\"},[_c('div',{staticClass:\"mx-auto max-w-5xl xl:max-w-7xl flex items-center justify-between px-4 sm:px-6 lg:px-8 space-x-2\"},[_c('h1',{staticClass:\"flex-1 font-bold flex items-center truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"admin.pricing.title\"))),(!_vm.loading)?_c('span',{staticClass:\"ml-2 inline-flex items-center px-3 py-0.5 rounded-full text-xs font-medium bg-gray-50 text-gray-800 border border-gray-300\"},[_vm._v(\" \"+_vm._s(_vm.items.length)+\" \")]):_vm._e()]),_c('div',{staticClass:\"flex items-center space-x-2 h-9\"},[_c('router-link',{staticClass:\" inline-flex space-x-2 items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'prices' },\"target\":\"_blank\"}},[_c('svg',{staticClass:\"h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M15 12a3 3 0 11-6 0 3 3 0 016 0z\"}}),_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z\"}})]),(!_vm.fromServer)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.preview\"))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.view\"))+\" \")])]),(false)?_c('router-link',{staticClass:\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-theme-600 hover:bg-theme-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-theme-500\",attrs:{\"to\":{ name: 'admin.pricing.new' }}},[_c('svg',{staticClass:\"mr-2 lg:-ml-0.5 h-5 w-5 sm:h-4 sm:w-4\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\",\"d\":\"M12 6v6m0 0v6m0-6h6m-6 0H6\"}})]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\"))+\" \")])]):_vm._e()],1)])]),_c('div',{staticClass:\"pt-2 space-y-2 mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl xl:max-w-7xl\"},[(_vm.loading)?_c('Loading'):_c('div',[(!_vm.items || _vm.items.length === 0)?_c('div',[_c('div',[_vm._v(_vm._s(_vm.$t(\"\")))])]):_c('div',[_c('div',[_c('div',{staticClass:\"align-middle inline-block min-w-full shadow overflow-hidden sm:rounded-sm border-b border-gray-200\"},[(!_vm.fromServer)?_c('div',{staticClass:\"bg-yellow-50 mb-2 rounded-sm border border-yellow-300 min-w-full\"},[_c('div',{staticClass:\"rounded-sm bg-yellow-50 p-4\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"flex-shrink-0\"},[_c('svg',{staticClass:\"h-5 w-5 text-yellow-400\",attrs:{\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z\",\"clip-rule\":\"evenodd\"}})])]),_c('div',{staticClass:\"ml-3\"},[_c('h3',{staticClass:\"text-sm leading-5 font-medium text-yellow-800\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.warning\"))+\" \")]),_c('div',{staticClass:\"mt-2 text-sm leading-5 text-yellow-700\"},[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t(\"admin.pricing.thesePricesAreFromFiles\"))+\" \"+_vm._s(_vm.pricingFile)+\" \")])]),_c('div',{staticClass:\"text-sm leading-5 right-0 -ml-3 mt-2\"},[_c('span',{staticClass:\"inline-flex rounded-sm ml-2\"},[_c('button',{staticClass:\"ml-1 h-8 inline-flex items-center px-4 py-2 border border-orange-200 text-xs leading-5 font-medium rounded-sm text-orange-700 bg-orange-100 hover:bg-orange-200 focus:outline-none focus:shadow-outline-indigo focus:border-theme-700 active:bg-theme-700 transition duration-150 ease-in-out\",on:{\"click\":_vm.generateFromFiles}},[_vm._v(\" \"+_vm._s(_vm.$t(\"admin.pricing.generateFromFiles\"))+\" \")])])])])])])]):_vm._e(),_c('table',{staticClass:\"min-w-full divide-y divide-gray-300\"},[_c('thead',[_c('tr',[_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.serviceId\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.tier\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.title\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.badge\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.active\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionProduct.maxUsers\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionPrice.plural\"))+\" \")]),_c('th',{staticClass:\"px-3 py-2 bg-gray-50 text-left text-xs leading-2 font-medium text-gray-500 uppercase tracking-wider\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.subscriptionFeature.plural\"))+\" \")])])]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.orderedItems),function(item,index){return _c('tr',{key:index},[_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-theme-700 hover:text-theme-600\"},[_vm._v(\" \"+_vm._s(item.serviceId)+\" \")]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-900\"},[_vm._v(\" \"+_vm._s(item.tier)+\" \")]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-900\"},[_vm._v(\" \"+_vm._s(item.title)+\" \")]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-600\"},[(item.badge)?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"marketing.pricing.badges.\" + item.badge))+\" \")]):_vm._e()]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-600\"},[_c('span',{staticClass:\"inline-flex items-center px-2 py-1 rounded-sm text-xs font-medium leading-1\",class:item.active\n ? 'bg-teal-50 text-teal-800 border border-teal-200'\n : 'bg-rose-50 text-red-800 border border-red-200'},[_vm._v(_vm._s(item.active ? _vm.$t(\"shared.active\") : _vm.$t(\"shared.inactive\")))])]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-600\"},[_vm._v(\" \"+_vm._s(!item.maxUsers || item.maxUsers === 0 ? _vm.$t(\"shared.unlimited\") : item.maxUsers)+\" \")]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-600\"},[_vm._v(\" \"+_vm._s(item.prices.length)+\" \")]),_c('td',{staticClass:\"truncate px-3 py-2 text-sm leading-3 text-gray-600\"},[_vm._v(\" \"+_vm._s(item.features.length)+\" \")])])}),0)])])])])]),_c('ErrorModal',{ref:\"errorModal\"})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport ErrorModal from \"@/components/shared/modals/NewErrorModal.vue\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport Modal from \"../../../components/shared/modals/Modal.vue\";\nimport Products from \"../../../components/marketing/pricing/Products.vue\";\nimport { SubscriptionProductDto } from \"../../../application/dtos/master/subscriptions/SubscriptionProductDto\";\nimport services from \"@/services\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n Products,\n TableRowSkeleton,\n Modal,\n Loading\n }\n})\nexport default class SubscriptionProduct extends Vue {\n $refs!: {\n errorModal: ErrorModal;\n };\n loading = false;\n items = [] as SubscriptionProductDto[];\n fromServer = true;\n mounted() {\n this.reload(true);\n }\n async reload(fromServer: boolean) {\n this.fromServer = fromServer;\n this.items = [];\n this.loading = true;\n services.subscriptionProducts\n .getProducts(fromServer, false)\n .then((response: SubscriptionProductDto[]) => {\n this.items = [];\n response.forEach(product => {\n this.items.push(product);\n });\n if (response.length === 0 && this.fromServer) {\n this.reload(false);\n }\n })\n .catch(error => {\n this.$refs.errorModal.show(error);\n })\n .finally(() => {\n this.loading = false;\n });\n }\n added(data: SubscriptionProductDto) {\n this.items.push(data);\n }\n saved(data: SubscriptionProductDto) {\n const idx = this.items.findIndex(f => f.id === data.id);\n this.items[idx] = data;\n }\n deleted(data: SubscriptionProductDto) {\n this.items = this.items.filter(f => f.id !== data.id);\n }\n async generateFromFiles() {\n this.loading = true;\n this.myAsyncLoopFunction().finally(() => {\n this.reload(true);\n });\n }\n async myAsyncLoopFunction() {\n const allAsyncResults: any[] = [];\n\n for (const product of this.items) {\n const asyncResult = await services.subscriptionProducts\n .createProduct(product)\n .catch(error => {\n this.$refs.errorModal.show(error);\n });\n allAsyncResults.push(asyncResult);\n }\n\n return allAsyncResults;\n }\n get pricingFile() {\n return \"ClientApp/src/store/modules/pricing/default-pricing.ts\";\n }\n get orderedItems() {\n if (!this.items) {\n return [];\n }\n return this.items.sort((x, y) => {\n return x?.tier > y?.tier ? 1 : -1;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubscriptionProductsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubscriptionProductsList.vue?vue&type=template&id=2376f9ba&\"\nimport script from \"./SubscriptionProductsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubscriptionProductsList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export enum Theme {\n Light,\n Dark,\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('Loading'):_c('div',[_c('div',{staticClass:\"space-y-2\"},[_c('div',{staticClass:\"flex justify-between\"},[_c('div',{staticClass:\"flex items-center justify-start w-full\"},[_c('div',{staticClass:\"relative flex items-center w-full\"},[_c('div',{staticClass:\"focus-within:z-10 absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none\"},[_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\",\"clip-rule\":\"evenodd\"}})])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchInput),expression:\"searchInput\"}],ref:\"inputSearch\",staticClass:\"w-full h-9 focus:ring-theme-500 focus:border-theme-500 block rounded-none pl-10 sm:text-sm border-gray-300\",attrs:{\"type\":\"text\",\"name\":\"buscador\",\"id\":\"buscador\",\"placeholder\":_vm.$t('shared.searchDot')},domProps:{\"value\":(_vm.searchInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.searchInput=$event.target.value}}})])])]),_c('links-list-and-table',{attrs:{\"items\":_vm.sortedItems}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.sortedItems.length === 0)?_c('div',[_c('EmptyState',{staticClass:\"bg-white\",attrs:{\"captions\":{\n thereAreNo: 'No tienes proveedores o clientes'\n }}})],1):_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"overflow-x-auto\"},[_c('div',{staticClass:\"py-2 align-middle inline-block min-w-full\"},[_c('div',{staticClass:\"shadow overflow-hidden border border-gray-200 sm:rounded-lg\"},[_c('table',{staticClass:\"min-w-full divide-y divide-gray-200\"},[_c('thead',{staticClass:\"bg-gray-50\"},[_c('tr',_vm._l((_vm.headers),function(header,idx){return _c('th',{key:idx,staticClass:\"px-4 py-2 text-left text-xs font-medium text-gray-500 tracking-wider select-none\",class:{\n 'cursor-pointer hover:text-gray-700': header.name\n },attrs:{\"scope\":\"col\"},on:{\"click\":function($event){return _vm.sortBy(header.name)}}},[_c('div',{staticClass:\"flex items-center space-x-1 text-gray-500\"},[_c('div',[_vm._v(\" \"+_vm._s(header.title)+\" \")]),_c('div',{class:{\n invisible:\n !header.name || _vm.sortByColumn !== header.name\n }},[(_vm.sortDirection === -1)?_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z\",\"clip-rule\":\"evenodd\"}})]):_c('svg',{staticClass:\"h-5 w-5\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 20 20\",\"fill\":\"currentColor\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\",\"clip-rule\":\"evenodd\"}})])])])])}),0)]),_c('tbody',{staticClass:\"bg-white divide-y divide-gray-200\"},_vm._l((_vm.sortedItems),function(link,idx){return _c('tr',{key:idx},[_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap\"},[_c('div',{staticClass:\"flex items-end\"},[_c('div',{},[_c('div',{staticClass:\"text-sm font-extrabold text-gray-900\"},[_vm._v(\" \"+_vm._s(_vm.getWorkspace(link).taxId)+\" \")]),_c('div',{staticClass:\"text-sm text-gray-500 flex items-center space-x-1 truncate\"},[_vm._v(\" \"+_vm._s(_vm.getWorkspace(link).legalName)+\" \")])])])]),_c('td',{staticClass:\"px-4 py-4 whitespace-nowrap\"},[(_vm.whoAmI(link) !== 0)?_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-gray-800 text-sm font-medium rounded-sm border-teal-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.provider.object\"))+\" \")]):_c('span',{staticClass:\"flex-shrink-0 inline-block px-2 py-0.5 text-gray-800 text-sm font-medium rounded-sm border-purple-300\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"models.client.object\"))+\" \")])]),_c('td',{staticClass:\" w-20 px-2 py-4 whitespace-nowrap text-sm text-gray-600\"},[_c('div',{staticClass:\" flex items-center space-x-2\"},[(_vm.whoAmI(link) === 0)?_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 underline hover:text-theme-600\",attrs:{\"to\":{\n name: 'app.contracts.new',\n query: { l: link.id }\n }}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"shared.new\"))+\" \"),_c('span',{staticClass:\" lowercase\"},[_vm._v(_vm._s(_vm.$t(\"models.contract.object\")))])])]):_c('router-link',{staticClass:\"inline-flex space-x-2 items-center px-3 py-2 underline hover:text-theme-600\",attrs:{\"to\":{\n name: 'app.providers.documentation',\n params: { id: link.id }\n }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"app.providers.viewDocumentation\"))+\" \")])],1)])])}),0)])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport { i18n } from \"@/plugins/vue-i18n\";\nimport store from \"@/store\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport tinyEventBus from \"@/plugins/tiny-eventbus\";\nimport EmptyState from \"@/components/shared/emptyState/EmptyState.vue\";\nimport Sign from \"@/assets/contracts/Sign.vue\";\n\n@Component({\n components: {\n // Icon\n EmptyState,\n Sign\n }\n})\nexport default class LinksListAndTable extends Vue {\n @Prop({}) items!: LinkDto[];\n sortByColumn = \"\";\n sortDirection = -1;\n headers = [\n {\n name: \"legalName\",\n title: i18n.t(\"models.client.legalName\")\n },\n {\n title: i18n.t(\"models.link.type\")\n },\n {\n title: i18n.t(\"shared.actions\")\n }\n // {\n // name: \"createdAt\",\n // title: i18n.t(\"shared.created\")\n // }\n // {\n // title: i18n.t(\"app.clients.visits\")\n // }\n ];\n\n sortBy(column) {\n if (column) {\n this.sortDirection = this.sortDirection === -1 ? 1 : -1;\n this.sortByColumn = column;\n }\n }\n currentWorkspaceTaxIdIs(taxId) {\n return store.state.tenant.currentWorkspace?.taxId === taxId;\n }\n newClient() {\n tinyEventBus().emitter.emit(\"new-client\");\n }\n getWorkspace(item: LinkDto) {\n if (this.whoAmI(item) === 0) {\n return item.clientWorkspace;\n } else {\n return item.providerWorkspace;\n }\n }\n whoAmI(item: LinkDto) {\n const currentWorkspaceId = store.state.tenant.currentWorkspace?.id ?? \"\";\n if (currentWorkspaceId === item.providerWorkspaceId) {\n return 0;\n }\n return 1;\n }\n get sortedItems(): LinkDto[] {\n const column = this.sortByColumn;\n const sortDirection = this.sortDirection;\n if (!column || column === \"\") {\n return this.items;\n }\n return this.items.sort((x, y) => {\n if (x[column] && y[column]) {\n if (sortDirection === -1) {\n return (x[column] > y[column] ? 1 : -1) ?? 1;\n } else {\n return (x[column] < y[column] ? 1 : -1) ?? 1;\n }\n }\n return 1;\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksListAndTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksListAndTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinksListAndTable.vue?vue&type=template&id=edf92e04&\"\nimport script from \"./LinksListAndTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinksListAndTable.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport services from \"@/services\";\nimport TableRowSkeleton from \"@/components/shared/skeletons/TableRowSkeleton.vue\";\nimport NewModal from \"@/components/shared/modals/NewModal.vue\";\nimport LinksListAndTable from \"./LinksListAndTable.vue\";\nimport { LinkDto } from \"@/application/dtos/master/v3/links/LinkDto\";\nimport Loading from \"@/components/shared/loaders/Loading.vue\";\n\n@Component({\n components: {\n TableRowSkeleton,\n NewModal,\n LinksListAndTable,\n Loading\n }\n})\nexport default class LinksList extends Vue {\n loading = false;\n items: LinkDto[] = [];\n // pending: LinkDto[] = [];\n\n searchInput = \"\";\n\n mounted() {\n this.reload();\n }\n reload() {\n this.items = [];\n if (this.$route.name === \"app.links.linked\") {\n this.loading = true;\n services.links\n .getAllLinked()\n .then(response => {\n response.forEach(element => {\n this.items.push(element);\n });\n })\n .finally(() => {\n this.loading = false;\n });\n } else if (this.$route.name === \"app.links.pending\") {\n this.loading = true;\n services.links\n .getAllPending()\n .then(response => {\n response.forEach(element => {\n this.items.push(element);\n });\n })\n .finally(() => {\n this.loading = false;\n });\n }\n\n // services.clients.getAllPending().then(response => {\n // this.pending = response;\n // });\n }\n get filteredItems(): LinkDto[] {\n if (!this.items) {\n return [];\n }\n const items = this.items.filter(\n f =>\n f.id?.toUpperCase().includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.clientWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace.taxId\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase()) ||\n f.providerWorkspace.legalName\n ?.toString()\n .toUpperCase()\n .includes(this.searchInput.toUpperCase())\n );\n\n return items;\n }\n get sortedItems(): LinkDto[] {\n this.$forceUpdate();\n return this.filteredItems;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LinksList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LinksList.vue?vue&type=template&id=52a8d834&\"\nimport script from \"./LinksList.vue?vue&type=script&lang=ts&\"\nexport * from \"./LinksList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo-light.1a9a1d05.png\";"],"sourceRoot":""}