{"version":3,"sources":["_metronic/layout/core/MetronicSplashScreen.tsx","_metronic/layout/core/GAEvents.ts","_metronic/layout/core/DefaultLayoutConfig.ts","_metronic/layout/core/LayoutProvider.tsx","_metronic/helpers/AssetHelpers.ts","_metronic/helpers/components/KTSVG.tsx","_metronic/layout/core/PageData.tsx","_metronic/i18n/Metronici18n.tsx","_metronic/constants/languages.ts","_metronic/i18n/i18nProvider.tsx","_metronic/assets/ts/components/_CookieComponent.ts","_metronic/assets/ts/_utils/_ElementStyleUtil.ts","_metronic/assets/ts/_utils/_DataUtil.ts","_metronic/assets/ts/_utils/_TypesHelpers.ts","_metronic/assets/ts/_utils/_DOMEventHandlerUtil.ts","_metronic/assets/ts/_utils/ElementAnimateUtil.ts","_metronic/assets/ts/_utils/DomHelpers.ts","_metronic/assets/ts/_utils/EventHandlerUtil.ts","_metronic/assets/ts/components/_DrawerComponent.ts","_metronic/assets/ts/components/_FeedbackComponent.ts","_metronic/assets/ts/components/_ImageInputComponent.ts","_metronic/assets/ts/components/_ScrollComponent.ts","_metronic/assets/ts/components/_ScrollTopComponent.ts","_metronic/assets/ts/components/_StepperComponent.ts","_metronic/assets/ts/components/_StickyComponent.ts","_metronic/assets/ts/components/_ToggleComponent.ts","_metronic/assets/ts/components/_PasswordMeterComponent.ts","_metronic/assets/ts/components/_SwapperComponent.ts","_metronic/assets/ts/components/MenuComponent.ts","_metronic/assets/ts/components/SearchComponent.ts","_metronic/layout/components/ScrollTop.tsx","_metronic/layout/MasterInit.tsx","_metronic/constants/ROUTES.tsx","app/store/CurrentCompanyRedux.tsx","_metronic/layout/components/aside/AsideMenuItemWithSub.tsx","_metronic/layout/components/aside/AsideMenuItem.tsx","network/interceptors/index.ts","network/apis/index.ts","app/hooks/usePermissions.ts","_metronic/constants/useAsideMenuMainItems.tsx","_metronic/layout/components/aside/AsideMainMenu.tsx","_metronic/constants/bootstrapBreakPoints.ts","app/hooks/useWindowSize.js","_metronic/layout/components/aside/AsideMenu.tsx","_metronic/layout/components/aside/AsideDefault.tsx","app/shared/tables/classes/DateViewer.tsx","utils/strings.ts","_metronic/partials/layout/menus/NotificationsMenu.tsx","app/modules/auth/store/AuthRedux.ts","app/modules/companies/store/UserCompaniesCRUD.ts","app/modules/companies/store/UserCompaniesRedux.ts","_metronic/partials/layout/header-menus/Languages.tsx","app/store/ModalRedux.tsx","_metronic/i18n/formatMessage.tsx","setup/shared/AhadDialog.tsx","app/shared/Input.tsx","_metronic/layout/components/header/PopupChangePassword.tsx","_metronic/layout/components/header/switchButton.tsx","_metronic/partials/layout/header-menus/HeaderUserMenu.tsx","_metronic/partials/chat/ChatInner.tsx","_metronic/partials/content/fallback-view/FallbackView.tsx","_metronic/partials/content/portal/Portal.tsx","_metronic/partials/modals/create-app/Main.tsx","_metronic/layout/components/header/HeaderUserMenuContainer.tsx","_metronic/layout/components/header/Notifications.tsx","_metronic/layout/components/header/UserMenuAndAlerts.tsx","app/shared/LogoImage.tsx","app/shared/LogoWithCompany.tsx","app/shared/CompanyLogo.tsx","_metronic/layout/components/header/HeaderWrapper.tsx","app/pages/templates/components/Ruler.tsx","_metronic/assets/ts/_utils/models/DocsActions.ts","_metronic/layout/components/header/page-title/DefaultTitle.tsx","_metronic/layout/components/toolbar/TitleWithBreadCrumb.tsx","_metronic/layout/components/toolbar/Toolbar.tsx","utils/CustomPlural.tsx","app/shared/ArrowAfterDash.tsx","_metronic/layout/components/RightSection/components/DocTypeCard.tsx","_metronic/layout/components/RightSection/components/DocTypesList.tsx","_metronic/layout/components/RightSection/components/ActionCard.tsx","_metronic/layout/components/RightSection/components/RecentActions.tsx","_metronic/layout/components/RightSection/container/DockTypesAndRecentActions.tsx","_metronic/layout/components/RightSection/RightSection.tsx","_metronic/layout/components/Content.tsx","_metronic/partials/layout/demos-drawer/DemosToggleDrawer.tsx","_metronic/partials/layout/demos-drawer/CommentsDrawer.tsx","_metronic/partials/layout/RightToolbar.tsx","_metronic/layout/components/Footer.tsx","_metronic/layout/MasterLayout.tsx","_metronic/layout/BaiscLayout.tsx","app/shared/Currency.tsx","app/pages/dashboard/components/GeneralNumbersCard.tsx","app/pages/dashboard/components/GeneralNumbers.tsx","app/pages/dashboard/components/StatisticVATCard.tsx","app/pages/dashboard/components/HomePageVatStatistics.tsx","app/pages/dashboard/DashboardWrapper.tsx","utils/DisplayErrors.tsx","_metronic/constants/patterns.ts","_metronic/helpers/functions/validations.ts","_metronic/helpers/functions/paths.ts","app/types/CompanyTypes.ts","_metronic/constants/paths.ts","app/pages/Companies/CreateCompanyForm.tsx","app/pages/Companies/CompaniesWrapper.tsx","app/modules/roles/store/RolesCrud.ts","app/modules/roles/store/RolesRedux.ts","app/shared/tables/actions/EditItem.tsx","app/store/TableRedux.ts","app/shared/tables/actions/ViewItem.tsx","app/shared/SearchFilters.tsx","_metronic/constants/general.ts","app/shared/tables/classes/TableData.tsx","app/shared/tables/classes/TableActions.tsx","app/shared/tables/TableCheckbox.tsx","app/shared/tables/classes/TableSelection.tsx","app/shared/Button.tsx","app/shared/tables/classes/DisplayItem.tsx","app/shared/tables/Table2.tsx","app/pages/roles/Roles.wrapper.tsx","app/modules/admins/users/store/UsersCRUD.ts","app/modules/admins/users/store/UsersRedux.ts","_metronic/i18n/messages/messages.ts","app/modules/admins/companies/store/CompaniesCRUD.ts","app/modules/admins/companies/store/CompaniesRedux.ts","app/shared/tables/classes/StatusField.tsx","app/shared/tables/classes/ItemWithImage.tsx","app/pages/admins/users/UsersWrapper.tsx","app/modules/users/store/UsersCrud.ts","app/modules/users/store/UsersRedux.ts","app/shared/tables/classes/TableRolesViewer.tsx","app/shared/SaveCancelBtnsGroup.tsx","app/shared/tables/actions/DeleteItem.tsx","app/modules/users/UsersWrapper.tsx","app/shared/tables/Table.tsx","app/modules/groups/users/store/UsersGroupCrud.ts","app/modules/groups/users/store/UsersGroupRedux.ts","app/modules/groups/users/UsersGroupsWrapper.tsx","app/modules/groups/clients/store/UsersGroupRedux.ts","app/modules/groups/clients/ClientsGroupsWrapper.tsx","app/modules/clients/store/ClientsCrud.ts","app/modules/clients/store/ClientsRedux.ts","_metronic/helpers/functions/Select.ts","_metronic/constants/countries.ts","app/shared/tables/actions/EditItemWithModal.tsx","app/shared/tables/actions/CancelItem.tsx","app/shared/tables/actions/ApproveItem.tsx","app/shared/tables/actions/ErrorItemWarning.tsx","app/shared/tables/actions/ErrorItemDanger.tsx","app/shared/tables/classes/TableDataPrimaryAndSecondary.tsx","app/modules/clients/ClientsWrapper.tsx","app/modules/templates/store/TemplatesCrud.ts","app/modules/templates/store/TemplatesRedux.ts","_metronic/constants/GeneralValidations.tsx","app/modules/documents/store/DocumentsCrud.ts","app/modules/documents/store/DocumentsRedux.ts","app/shared/tables/actions/UseTemplateToCreateDocument.tsx","app/shared/tables/actions/PreviewItemSettings.tsx","app/shared/tables/actions/PreviewItem.tsx","app/modules/templates/TemplatesWrapper.tsx","app/modules/documents/SearchDocuments.tsx","app/modules/documents/DocumentsWrapper.tsx","app/modules/documents/DocumentProcess/steps/Step1ApproveOrReturn.tsx","_metronic/helpers/functions/signatures.ts","app/modules/documents/DocumentProcess/steps/Step2SelectSigner.tsx","app/modules/documents/DocumentProcess/steps/Step3TakingAction.tsx","app/modules/documents/DocumentProcess/ApproveSignOrReturnDocumentStepper.ts","app/hooks/useQuerySearch/useQuerySearch.ts","app/modules/documents/DocumentProcess/DocumentApproveAndSign.tsx","app/modules/documents/DocumentProcess/DocumentReviewOnly.tsx","app/modules/documents/DocumentsToReviewWrapper.tsx","utils/cookies.tsx","app/pages/verification/VerificationPage.tsx","app/routing/RouteWithLayout.tsx","app/pages/Companies/NewCompanyAdded.tsx","_metronic/constants/colors.ts","app/shared/textarea.tsx","app/pages/admins/companies/RequestEditsForm.tsx","app/shared/Label.tsx","app/shared/ErrorMessage.tsx","app/pages/admins/companies/RequestChangePlanForm.tsx","app/pages/admins/companies/RequestRenewPlanForm.tsx","app/pages/admins/companies/CompaniesWrapper.tsx","app/modules/auth/containers/Verify.tsx","app/shared/Lines.tsx","app/shared/LocaleTitle.tsx","app/pages/roles/AddEditForm/initialValues.tsx","app/hooks/useExitPrompt/useExitPrompt.js","app/pages/roles/AddEditForm/AddEditRoleForm.tsx","app/pages/roles/handleSelection.tsx","app/pages/roles/RolesAddWrapper.tsx","_metronic/layout/AdminDashboardLayout.tsx","app/pages/Companies/CompanyDetails/components/FileUploader.jsx","app/pages/Companies/CompanyDetails/components/LogoUploader.tsx","app/pages/Companies/useEditViewCompanyDetailsWrapperSchema.ts","app/pages/Companies/EditViewCompanyDetailsWrapper.tsx","app/pages/Companies/CompanyDetails/components/TabSelection.tsx","app/pages/Companies/CompanyDetails/CompanyDetailsWrapper.tsx","app/shared/CloseButtonRedShadowed.tsx","app/modules/users/InviteUsers/InviteUsers.tsx","app/modules/users/AddUsersWrapper.tsx","app/shared/RichText.js","app/pages/admins/about-us/AboutUs.tsx","app/pages/admins/terms-conditions/terms-conditions.tsx","app/modules/admins/vat-rates/store/VatRatesCRUD.ts","app/modules/admins/vat-rates/store/VatRatesRedux.ts","app/pages/admins/vat-rates/VatRatesWrapper.tsx","app/modules/admins/vat-rates/types/VatRatesModel.ts","utils/createSelectOptions.ts","utils/createOptions.ts","utils/debounce.js","app/modules/admins/vat-rates/helpers/vatRatesConfigHelpers.tsx","app/pages/admins/vat-rates/useConfigureVatRatesSchema.tsx","app/pages/admins/vat-rates/ConfigNewVatRate.tsx","app/pages/admins/vat-rates/VatRateDetails/components/TabSelection.tsx","app/pages/admins/vat-rates/VatRateDetails/VatRatesDetailsWrapper.tsx","app/modules/admins/code_rules/store/CodeRulesCRUD.ts","app/modules/admins/code_rules/store/CodeRulesRedux.ts","app/pages/admins/code-rules/CodeRulesWrapper.tsx","app/modules/admins/code_rules/types/CodeRulesModel.ts","app/modules/admins/code_rules/helpers/codeRulesConfigHelpers.tsx","app/pages/admins/code-rules/useConfigureCodeRulesSchema.tsx","app/pages/admins/code-rules/ConfigNewCodeRule.tsx","app/modules/users/UsersEditView.tsx","app/modules/user-companies/store/UserCompaniesCRUD.ts","app/modules/user-companies/store/UserCompaniesRedux.ts","app/modules/user-companies/UserCompaniesWrapper.tsx","_metronic/layout/components/header/CompaniesHeaderWrapper.tsx","app/modules/profile/ProfileHeader.tsx","_metronic/layout/CompanySelectionLayout.tsx","app/modules/companies/components/CompanyCard.tsx","app/shared/tables/CardListTable.tsx","app/modules/companies/CompaniesSelection.tsx","app/modules/clients/AddClientsWrapper.tsx","app/modules/clients/useAddClientSchema.tsx","app/modules/clients/AddClientTabs/components/TabSelection.tsx","app/modules/clients/AddClientTabs/AddClientTabsWrapper.tsx","app/shared/DownloadButton.tsx","app/modules/clients/ImportNewClientsDisclamer.tsx","app/modules/clients/ImportNewClientsWrapper.tsx","app/modules/products/store/ProductsCrud.ts","app/modules/products/store/ProductsRedux.ts","app/modules/products/useConfigureProductSchema.tsx","app/modules/products/ConfigNewProductWrapper.tsx","app/shared/tables/classes/PriceViewer.tsx","app/shared/tables/classes/Image.tsx","app/modules/products/ProductsWrapper.tsx","app/modules/sales/store/SalesCRUD.ts","app/modules/sales/store/SalesRedux.ts","app/modules/sales/SalesWrapper.tsx","app/modules/sales/types/SalesModel.ts","app/modules/sales/helpers/salesConfigHelpers.tsx","app/modules/sales/ConfigNewSalesWrapper.tsx","app/modules/sales/useConfigureSalesSchema.tsx","app/modules/sales/ConfigNewSalesReturnWrapper.tsx","app/modules/sales/useConfigureSalesReturnSchema.tsx","app/modules/sales/ImportNewSalesWrapper.tsx","app/modules/purchases/store/PurchasesCRUD.ts","app/modules/purchases/store/PurchasesRedux.ts","app/modules/purchases/PurchasesWrapper.tsx","app/modules/purchases/types/PurchasesModel.ts","app/modules/purchases/helpers/purchasesConfigHelpers.tsx","app/modules/purchases/ConfigNewPurchasesWrapper.tsx","app/modules/purchases/useConfigurePurchasesSchema.tsx","app/modules/purchases/ConfigNewPurchasesReturnWrapper.tsx","app/modules/purchases/useConfigurePurchasesReturnSchema.tsx","app/modules/purchases/ImportNewPurchasesWrapper.tsx","app/shared/tables/actions/PreviewItemOptions.tsx","app/modules/reports/store/ReportsCRUD.ts","app/modules/reports/store/ReportsRedux.ts","app/modules/reports/ReportsWrapper.tsx","app/shared/tables/actions/InfoItem.tsx","app/shared/tables/actions/ViewSalesItem.tsx","app/shared/tables/actions/ViewPurchasesItem.tsx","app/modules/reports/helpers/reportsConfigHelpers.tsx","app/modules/reports/components/CreateReportWizardHelper.ts","app/modules/reports/types/ReportsModel.ts","app/modules/reports/components/steps/Step1.tsx","app/modules/reports/components/steps/Step2.tsx","app/modules/reports/components/HorizontalConfigNewReportsWrapper.tsx","app/modules/reports/ConfigNewReportsWrapper.tsx","app/modules/reports/ApproveReportWrapper.tsx","app/shared/tables/actions/ExcludeItem.tsx","app/shared/tables/actions/IgnoreItem.tsx","app/modules/transactions/helpers/transactionsDetailsConfigHelpers.tsx","app/modules/transactions/store/TransactionsDetailsCRUD.ts","app/modules/transactions/store/TransactionsDetailsRedux.ts","app/modules/transactions/types/TransactionsDetailsModel.ts","app/modules/transactions/TransactionsDetailsWrapper.tsx","app/modules/transactions/useConfigureEditVatRateSchema.tsx","app/modules/withholding-reports/store/WithholdingReportsCRUD.ts","app/modules/withholding-reports/store/WithholdingReportsRedux.ts","app/modules/withholding-reports/WithholdingReportsWrapper.tsx","app/modules/withholding-reports/helpers/reportsConfigHelpers.tsx","app/modules/withholding-reports/components/CreateReportWizardHelper.ts","app/modules/withholding-reports/components/steps/Step1.tsx","app/modules/withholding-reports/components/steps/Step2.tsx","app/shared/tables/actions/EditVATRateItem.tsx","app/shared/tables/actions/EditDateItem.tsx","utils/createDescreptionOptions.ts","app/modules/withholding-reports/types/useConfigureEditVatRateSchema.tsx","app/modules/withholding-reports/types/WithholdingReportsModel.ts","app/modules/withholding-reports/components/steps/Step3.tsx","app/modules/withholding-reports/types/useConfigureEditDateSchema.tsx","app/modules/withholding-reports/components/HorizontalConfigNewWithholdingReportsWrapper.tsx","app/modules/withholding-reports/ConfigNewWithholdingReportsWrapper.tsx","app/modules/withholding-reports/ApproveWithholdingReportWrapper.tsx","app/modules/withholding-transactions/helpers/withholdingTransactionsDetailsConfigHelpers.tsx","app/modules/withholding-transactions/store/WithholdingTransactionsDetailsCRUD.ts","app/modules/withholding-transactions/store/WithholdingTransactionsDetailsRedux.ts","app/modules/withholding-transactions/types/TransactionsDetailsModel.ts","app/modules/withholding-transactions/WithholdingTransactionsDetailsWrapper.tsx","app/modules/withholding-transactions/useConfigureEditWithholdingVatRateSchema.tsx","app/modules/invoices-reports/store/InvoicesReportsCRUD.ts","app/modules/invoices-reports/store/InvoicesReportsRedux.ts","app/modules/templates/boxStyle.tsx","app/shared/tables/actions/SendApprovedReports.tsx","app/shared/tables/actions/PreviewPDF.tsx","app/modules/invoices-reports/helpers/reportsConfigHelpers.tsx","app/modules/invoices-reports/InvoicesReportsWrapper.tsx","app/modules/invoices-reports/components/steps/Step1.tsx","app/modules/invoices-reports/components/steps/Step2.tsx","app/modules/sales-invoices/store/SalesInvoicesCrud.ts","app/modules/sales-invoices/store/SalesInvoicesRedux.ts","app/modules/sales-invoices/types/salesInvoiceList.ts","app/shared/tables/actions/SendIssuedInvoices.tsx","app/shared/tables/actions/ErrorItemInfo.tsx","app/modules/sales-invoices/SalesInvoicesWrapper.tsx","app/modules/purchases-invoices/store/PurchasesInvoicesCrud.ts","app/modules/purchases-invoices/store/PurchasesInvoicesRedux.ts","app/modules/purchases-invoices/types/purchasesInvoiceList.ts","app/modules/purchases-invoices/PurchasesInvoicesWrapper.tsx","app/modules/invoices-reports/types/InvoicesReportsModel.ts","app/modules/invoices-reports/components/HorizontalConfigNewInvoicesReportsWrapper.tsx","app/modules/invoices-reports/components/CreateInvoicesReportWizardHelper.ts","app/modules/invoices-reports/ConfigNewInvoicesReportsWrapper.tsx","app/pages/Companies/CompanyDetails/components/multipleFilesUploader.jsx","app/modules/invoices-reports/ApproveInvoicesReportWrapper.tsx","app/modules/invoices-withholding-reports/store/InvoicesWithholdingReportsCRUD.ts","app/modules/invoices-withholding-reports/store/InvoicesWithholdingReportsRedux.ts","app/modules/invoices-withholding-reports/InvoicesWithholdingReportsWrapper.tsx","app/modules/invoices-withholding-reports/helpers/reportsConfigHelpers.tsx","app/modules/invoices-withholding-reports/components/CreateInvoicesWithholdingReportWizardHelper.ts","app/modules/invoices-withholding-reports/types/InvoicesWithholdingReportsModel.ts","app/modules/invoices-withholding-reports/components/steps/Step1.tsx","app/modules/invoices-withholding-reports/components/steps/Step2.tsx","app/modules/invoices-withholding-reports/components/steps/Step3.tsx","app/modules/invoices-withholding-reports/types/useConfigureEditVatRateSchema.tsx","app/modules/invoices-withholding-reports/types/useConfigureEditDateSchema.tsx","app/modules/invoices-withholding-reports/components/HorizontalConfigNewInvoicesWithholdingReportsWrapper.tsx","app/modules/invoices-withholding-reports/ConfigNewInvoicesWithholdingReportsWrapper.tsx","app/modules/invoices-withholding-reports/ApproveInvoicesWithholdingReportWrapper.tsx","app/modules/invoices-withholding-reports-transactions/helpers/withholdingTransactionsDetailsConfigHelpers.tsx","app/modules/invoices-withholding-reports-transactions/store/InvoicesWithholdingReportTransactionsDetailsCRUD.ts","app/modules/invoices-withholding-reports-transactions/store/InvoicesWithholdingReportTransactionsDetailsRedux.ts","app/modules/invoices-withholding-reports-transactions/types/TransactionsDetailsModel.ts","app/modules/invoices-withholding-reports-transactions/InvoicesWithholdingReportTransactionsDetailsWrapper.tsx","app/modules/invoices-withholding-reports-transactions/useConfigureEditWithholdingVatRateSchema.tsx","app/modules/invoices-reports-transactions/helpers/transactionsDetailsConfigHelpers.tsx","app/modules/invoices-reports-transactions/store/InvoicesReportTransactionsDetailsCRUD.ts","app/modules/invoices-reports-transactions/store/InvoicesReportTransactionsDetailsRedux.ts","app/modules/invoices-reports-transactions/types/TransactionsDetailsModel.ts","app/modules/invoices-reports-transactions/InvoicesReportTransactionsDetailsWrapper.tsx","app/modules/invoices-reports-transactions/useConfigureEditInvoicesVatRateSchema.tsx","_metronic/layout/components/header/TemplateCrudHeader.tsx","_metronic/layout/TemplateBuilderLayout.tsx","app/modules/templates/useConfigureTemplateSchema.tsx","app/modules/templates/helpers/templateConfigHelpers.tsx","app/modules/templates/ConfigureNewTemplateForm.tsx","utils/range.ts","app/modules/templates/SelecteTemplate.tsx","app/shared/JoditEditorMemo.tsx","app/modules/templates/ConfigureTemplateClientName.tsx","app/modules/templates/useConfigureTemplateClientSchema.tsx","app/modules/templates/ConfigureTemplateUserName.tsx","app/modules/templates/useConfigureTemplateUserSchema.tsx","_metronic/constants/JODIT_CONFIGURATION.ts","app/shared/AddingProductsTable.tsx","app/modules/templates/TemplateEditor.tsx","_metronic/helpers/functions/insertIntoArray.ts","_metronic/helpers/functions/clipboard.ts","app/modules/templates/ConfigureTemplateBasics.tsx","app/modules/templates/ConfigNewTemplateWrapper.tsx","app/modules/user-profile/schema/UpdateProfileSchema.tsx","app/modules/user-profile/UserProfile.tsx","app/modules/user-profile/components/HandWritingSignature.js","app/modules/user-profile/components/ImageSignature.tsx","app/modules/user-profile/helpers/colorStyle.js","app/modules/user-profile/components/TypingSignature.tsx","app/modules/user-profile/AddSignatureModal.tsx","app/modules/user-profile/UserSignature.tsx","app/modules/user-profile/UserLinkedProfile.tsx","app/modules/log/store/LogsCrud.ts","app/modules/log/store/LogsRedux.ts","app/modules/log/LogsWrapper.tsx","app/modules/documents/pairsToObject.tsx","app/modules/documents/DocumentEditor.tsx","_metronic/layout/components/header/DocumentCrudHeader.tsx","_metronic/layout/DocumentBuilderLayout.tsx","app/modules/documents/types/NonRegisteredClientDocumentTypes.ts","app/modules/documents/DocumentsToTakeActionWrapper.tsx","app/modules/comments/components/Tips.tsx","app/modules/comments/Spinner.tsx","app/modules/comments/Sidebar.tsx","app/modules/comments/DocumentComments.tsx","app/modules/documents/SingleDocumentToTakeAction.tsx","app/modules/groups/users/AddEditUsersGroups.tsx","app/modules/groups/clients/AddEditClientGroups.tsx","_metronic/layout/components/header/PublicHeader.tsx","_metronic/layout/PublicLayout.tsx","app/modules/documents/NonRegisteredClientDocument.tsx","app/modules/templates/TemplateConfiguration.tsx","app/modules/templates/types/CustomVariablesModel.ts","app/modules/templates/helpers/customVariableConfigHelpers.tsx","app/modules/templates/CustomVariables/useConfigureCustomVariablesSchema.tsx","app/modules/templates/CustomVariables/ConfigNewCustomVariables.tsx","app/modules/templates/CustomVariables/CustomVariablesWrapper.tsx","app/modules/sales-invoices/ImportNewSalesInvoicesDisclamer.tsx","app/modules/sales-invoices/ImportNewSalesInvoicesWrapper.tsx","app/shared/saveApproveCancelBtnGroup.tsx","app/shared/tables/ListTable.tsx","app/shared/tables/actions/LineItemErrorIcon.tsx","app/modules/sales-invoices/ConfigNewSalesInvoiceWrapper.tsx","app/modules/sales-invoices/useConfigureSalesInvoiceSchema.tsx","app/modules/sales-invoices/returnsalescomponents/steps/Step1.tsx","app/modules/sales-invoices/returnsalescomponents/steps/Step2.tsx","app/modules/sales-invoices/returnsalescomponents/steps/Step3.tsx","app/modules/sales-invoices/returnsalescomponents/HorizontalConfigNewReturnSalesWrapper.tsx","app/modules/sales-invoices/returnsalescomponents/CreateNewSalesInvoiceWizardHelper.ts","app/modules/sales-invoices/ConfigNewReturnSalesInvoiceWrapper.tsx","app/modules/sales-invoices/useConfigureReturnSalesInvoiceSchema.tsx","app/modules/purchases-invoices/ImportNewPurchasesInvoicesDisclamer.tsx","app/modules/purchases-invoices/ImportNewPurchasesInvoicesWrapper.tsx","app/modules/purchases-invoices/ConfigNewPurchasesInvoiceWrapper.tsx","app/modules/purchases-invoices/useConfigurePurchasesInvoiceSchema.tsx","app/modules/purchases-invoices/returnpurchasescomponents/steps/Step1.tsx","app/modules/purchases-invoices/returnpurchasescomponents/steps/Step2.tsx","app/modules/purchases-invoices/returnpurchasescomponents/steps/Step3.tsx","app/modules/purchases-invoices/returnpurchasescomponents/HorizontalConfigNewReturnPurchasesWrapper.tsx","app/modules/purchases-invoices/returnpurchasescomponents/CreateNewPurchasesInvoiceWizardHelper.ts","app/modules/purchases-invoices/ConfigNewReturnPurchasesInvoiceWrapper.tsx","app/modules/purchases-invoices/useConfigureReturnPurchasesInvoiceSchema.tsx","app/modules/line-items/store/LineItemsCRUD.ts","app/modules/line-items/store/LineItemsRedux.ts","app/modules/line-items/LineItemsWrapper.tsx","app/modules/line-items/helpers/lineItemsConfigHelpers.tsx","app/modules/line-items/ConfigNewLineItemsWrapper.tsx","app/modules/line-items/useConfigureLineItemSchema.tsx","app/modules/admins/companies-deletion-requests/store/CompaniesDeletionRequestsCRUD.ts","app/modules/admins/companies-deletion-requests/store/CompaniesDeletionRequestsRedux.ts","app/shared/tables/actions/ApproveCompaniesDeletionRequests.tsx","app/shared/tables/actions/RejectCompaniesDeletionRequests.tsx","app/pages/admins/companies-deletion-requests/CompaniesDeletionRequestsWrapper.tsx","app/modules/admins/subscription-plans/store/SubscriptionPlansCRUD.ts","app/modules/admins/subscription-plans/store/SubscriptionPlansRedux.ts","app/pages/admins/subscription-plans/SubscriptionPlansWrapper.tsx","app/pages/admins/subscription-plans/components/plansInCreate.tsx","app/pages/admins/subscription-plans/useSubscriptionPlansWrapperSchema.tsx","app/pages/admins/subscription-plans/ViewAndEditSubscriptionPlans.tsx","app/pages/admins/users/UserInfo.tsx","app/pages/admins/users/UserEdit.tsx","app/pages/admins/code-rules/ViewCodeRules.tsx","app/pages/admins/companies/components/stepCompanyProfile.tsx","app/pages/admins/companies/components/stepBranding.tsx","app/pages/admins/companies/components/stepTaxSettings.tsx","app/pages/admins/companies/components/stepInvoicesConfigurations.tsx","app/pages/admins/companies/components/stepCompanyActivitiesCategories.tsx","app/pages/admins/companies/AdminCompanyDetails.tsx","app/modules/admins/transactions/store/TransactionsCRUD.ts","app/modules/admins/transactions/store/TransactionsRedux.ts","app/pages/admins/transactions/TransactionsWrapper.tsx","app/pages/admins/transactions/TransactionInfo.tsx","app/pages/admins/transactions/TransactionEdit.tsx","app/routing/PrivateRoutes.tsx","app/modules/auth/store/AuthCRUD.ts","app/modules/auth/components/Registration.tsx","app/modules/auth/components/LinksUnderRegisterForm.tsx","app/modules/auth/components/LogoAndRedirectionLink.tsx","app/modules/auth/components/RegisterPageFancySide.tsx","app/shared/LocaleToggler.tsx","app/modules/auth/containers/RegistrationContainer.tsx","app/modules/auth/components/FancySide.tsx","app/modules/auth/components/Login.tsx","app/modules/auth/containers/LoignContainer.tsx","app/modules/auth/components/ForgotPassword.tsx","app/modules/auth/containers/ForgetPasswordContainer.tsx","app/modules/auth/components/ResetPassword.tsx","app/modules/auth/containers/ResetPasswordContainer.tsx","app/modules/public/AboutUs.jsx","app/modules/public/TermsConditions.jsx","app/modules/auth/AuthPage.tsx","app/modules/auth/__mocks__/usersTableMock.ts","app/modules/auth/Logout.tsx","app/modules/auth/store/AuthInit.tsx","app/modules/errors/components/Error500.tsx","app/modules/errors/components/Error404.tsx","app/modules/errors/ErrorsPage.tsx","app/routing/Routes.tsx","_metronic/layout/components/FeedBackButton.tsx","app/App.tsx","app/modules/sales-line-items/store/SalesLineItemsCRUD.ts","app/modules/sales-line-items/store/SalesLineItemsRedux.ts","app/modules/purchases-line-items/store/PurchasesLineItemsCRUD.ts","app/modules/purchases-line-items/store/PurchasesLineItemsRedux.ts","setup/redux/RootReducer.ts","setup/redux/Store.ts","serviceWorkerRegistration.ts","index.tsx","setup/axios/SetupAxios.ts","_metronic/helpers/RouterHelpers.ts","_metronic/helpers/dataExamples.ts","_metronic/helpers/LanguageHelpers.ts","_metronic/layout/core/LayoutSetup.ts"],"names":["MetronicSplashScreenContext","createContext","undefined","LayoutSplashScreen","visible","setCount","useContext","useEffect","prev","GAEvents","createReport","ReactGA","event","category","action","label","approveReport","DefaultLayoutConfig","main","type","primaryColor","darkSkinEnabled","loader","display","scrolltop","header","width","left","fixed","desktop","tabletAndMobile","menuIcon","megaMenu","aside","theme","menu","minimized","minimize","hoverable","content","layout","toolbar","tabletAndMobileMode","layouts","none","height","heightAndTabletMobileMode","TitleWithBreadCrumb","RegularRuler","footer","pageTitle","breadCrumbs","description","direction","responsive","responsiveBreakpoint","responsiveTarget","LayoutContext","config","classes","getEmptyCssClasses","attributes","getEmptyHTMLAttributes","cssVariables","getEmptyCSSVariables","setLayout","disableSplashScreen","splashScreen","document","getElementById","style","setProperty","LayoutProvider","children","useState","LayoutSetup","setConfig","setClasses","setAttributes","setCSSVariables","value","_themeConfig","enableSplashScreen","Array","from","body","classList","forEach","cl","remove","updatePartialConfig","Object","assign","setTimeout","Provider","useLayout","toAbsoluteUrl","pathname","process","KTSVG","className","path","svgClassName","src","PageDataContext","setPageTitle","_title","setPageBreadcrumbs","_breadcrumbs","setPageDescription","_description","PageDataProvider","pageDescription","pageBreadcrumbs","usePageData","PageTitle","breadcrumbs","formatMessage","useIntl","toString","title","id","I18N_CONFIG_KEY","REACT_APP_I18N_CONFIG_KEY","initialState","selectedLang","setLanguage","lang","Cookies","set","localStorage","setItem","JSON","stringify","window","location","reload","I18nContext","useLang","MetronicI18nProvider","ls","getItem","parse","err","console","error","getConfig","languages","locale","name","name_en","flag","dir","defaultLanguage","allMessages","ar","arMessages","en","enMessages","I18nProvider","messages","querySelector","html","getElementsByTagName","root","style_ar","style_en","language","find","parentNode","removeChild","innerText","CookieComponent","matches","cookie","match","RegExp","replace","decodeURIComponent","cookieOptions","options","expires","Date","toUTCString","updatedCookie","encodeURIComponent","optionKey","optionValue","ElementStyleUtil","element","property","important","attributeName","getPropertyValue","attibuteName","removeProperty","DataUtil","instance","key","data","instanceData","store","get","newMap","Map","delete","has","result","val","v","k","push","getObjectPropertyValueByKey","obj","map","entries","hasOwnProperty","getUniqueIdWithPrefix","prefix","Math","floor","random","getTime","stringSnakeToCamel","str","m","toUpperCase","DOMEventHandlerUtil","selector","eventName","callBack","eventId","e","targets","querySelectorAll","target","i","length","call","parentElement","addEventListener","funcFromStore","removeEventListener","calee","currentTarget","ElementAnimateUtil","to","duration","update","complete","easings","t","b","c","d","change","start","performance","now","requestAnimationFrame","loop","timestamp","time","animationName","animateClasses","split","cssClass","add","one","offset","targetPos","getElementOffset","top","scrollPos","pageYOffset","documentElement","scrollTop","animate","scrollTo","getCSS","el","styleProp","defaultView","ownerDocument","toLowerCase","getComputedStyle","getElementActualCss","prop","cache","css","getAttribute","cssText","offsetWidth","offsetHeight","setAttribute","parseFloat","attributeValue","getElementIndex","getElementMatches","p","Element","prototype","f","webkitMatchesSelector","tagName","getClientRects","rect","getBoundingClientRect","win","pageXOffset","getScrollTop","scrollingElement","getViewPort","innerWidth","innerHeight","isVisibleElement","throttle","timer","func","delay","getElementChild","childNodes","child","nodeType","getElementChildren","slide","speed","callback","calcHeight","getElementActualHeight","calcPaddingTop","calcPaddingBottom","parseInt","paddingTop","paddingBottom","overflow","getBreakpoint","breakpoint","variableName","hex","trim","getCSSVariableValue","getAttributeValueByBreakpoint","incomingAttr","jsonStr","join","matched","substring","toJSON","resultKey","resultBreakpoint","EventHandlerUtil","metas","handlerId","meta","getEventMetasByName","setEventMetasByName","handerId","fired","getEventsMetaByHandlerId","setEventMetaByNameAndHandlerId","handler","this","setFiredByNameAndHandlerId","addEvent","removeEvent","on","DrawerStore","instanceId","drawerComponentObj","defaultDrawerOptions","overlay","baseClass","overlayClass","DrawerComponent","_element","overlayElement","toggleElement","instanceUid","shown","lastWidth","closeElement","_handlers","togglers","_getOption","closers","preventDefault","_toggle","_hide","_update","String","hasBaseClass","contains","bodyCanvasAttr","attr","optionName","option","trigger","_show","_deleteOverlay","removeAttribute","_createOverlay","createElement","elementZIndex","overlayZindex","append","overlayClassOption","_getDirection","_getWidth","toggle","show","hide","isShown","goElement","off","item","drawer","getInstance","hasInstace","elementId","hideAll","getAllInstances","dr","updateAll","handleDismiss","closest","bootstrap","createInstances","initGlobalHandlers","reinitialization","defaultImageInputOptions","defaultImageInputQueires","componentName","instanseQuery","inputQuery","wrapperQuery","cancelQuery","removeQuery","hiddenQuery","ImageInputComponent","_options","_queries","inputElement","wrapperElement","cancelElement","removeElement","hiddenElement","queries","uid","_change","files","reader","FileReader","onload","readAsDataURL","_cancel","_remove","handlers","ImageInput","elements","createInsance","defaultScrollOptions","saveState","ScrollComponent","getOption","hasAttribute","getHeightType","getAutoHeight","dependencies","wrappers","len","borderTop","borderBottom","setupHeight","getHeight","heightType","setupState","pos","setupScrollHandler","scrollHandler","cookieId","destroyScrollHandler","resetHeight","heghtType","Function","getElement","scroll","resize","createInstance","defaultScrollTopOptions","ScrollTopComponent","_scroll","_go","go","goTop","defaultStepperOptions","startIndex","animation","animationSpeed","animationNextClass","animationPreviousClass","StepperComponent","steps","btnNext","btnPrev","btnSubmit","totatStepsNumber","passedStepIndex","currentStepIndex","_goTo","index","refreshUI","initHandlers","stepDirection","_getStepDirection","getStepContent","getLastStepIndex","getTotalStepsNumber","state","isLastStep","isFirstStep","animateClass","isBetweenStep","goto","goNext","getNextStepIndex","goPrev","getPrevStepIndex","goFirst","goLast","getCurrentStepIndex","getPassedStepIndex","destroy","info","stepper","defaultStickyOptions","reverse","animationClass","StickyComponent","instanceName","eventTriggerState","lastScrollTop","offsetNum","st","enable","disable","dataStickyAttr","attrValue","zindex","widthTarget","targetElement","offsetLeft","sticky","defaultToggleOptions","ToggleComponent","attribute","_isEnabled","_disable","_enable","isEnabled","elementTargetAttr","elementToggleAttr","defaultPasswordMeterOptions","minLength","checkUppercase","checkLowercase","checkDigit","checkChar","scoreHighlightClass","defaultPasswordMeterQueires","visibilityQuery","highlightQuery","PasswordMeterComponent","visibilityElement","highlightElement","score","checkSteps","reset","highlight","check","visitbility","visibleIcon","hiddenIcon","focus","test","count","items","slice","total","checkScore","getCheckScore","getScore","checkLength","checkLowerCase","passwordMeter","SwapperStore","defaultSwapperOptions","mode","defaultSwapperQueires","attrQuery","SwapperComponent","parentSelector","prepend","place","defaultMenuOptions","dropdown","hoverTimeout","accordion","slideSpeed","expand","MenuComponent","triggerElement","_setTriggerElement","_isTriggerElement","_getItemOption","_getItemElement","itemElement","sub","subItem","_getItemParentElement","parentItem","_getItemParentElements","parent","parents","buffer","unshift","_getDropdownPopperConfig","placementOption","placement","offsetValue","strategy","modifiers","flipVariations","_getItemChildElement","_getItemChildElements","_getItemSubElement","_getCss","_getItemSubType","_isItemSubShown","_isItemDropdownPermanent","_isItemParentShown","s","getElementParents","_isItemSubElement","_hasItemSub","_getItemLinkElement","_getItemToggleElement","_showDropdown","hideDropdowns","parentZindex","bufferNode","position","isNaN","getHighestZindex","initDropdownPopper","appendChild","reference","attach","popper","createPopper","_hideDropdown","referenceNode","insertBefore","nextSibling","insertAfterElement","destroyDropdownPopper","_showAccordion","_hideAccordions","subElement","_hideAccordion","itemsToHide","itemToHide","_reset","removeClass","_destroy","_mouseout","timeout","_mouseover","clearTimeout","_dismiss","itemSubType","_link","_click","click","link","dismiss","mouseover","mouseout","getItemTriggerType","getItemSubType","getItemLinkElement","getItemToggleElement","getItemSubElement","getItemParentElements","isItemSubShown","isItemParentShown","getTriggerElement","isItemDropdownPermanent","hideAccordions","elementMenu","menuData","subMenu","skip","updateDropdowns","forceUpdate","menuInstance","menuItems","menuObj","stopPropagation","defaultSearchOptions","keypress","enter","showOnFocus","defaultSearchQueires","SearchComponent","contentElement","formElement","spinnerElement","clearElement","submitElement","toolbarElement","resultsElement","suggestionElement","emptyElement","processing","menuObject","_getElement","getResponsiveFormMode","blur","charCode","keyCode","search","input","clear","responsiveFormMode","isProcessing","getQuery","getMenu","getFormElement","ScrollTop","useLocation","isFirstRun","useRef","current","reInitialization","stickyHeader","updateHeaderSticky","MasterInit","Search","ICurrentCompanyTypes","PrivateRoutes","AdminRoutes","PublicRoutes","login","opt","signup","verify","forgetPassword","resetPassword","signDocument","about","TermsAndConditions","NonRegisteredClientDocument","AsideMenuItemWithSub","icon","fontIcon","hasBullet","linkId","isActive","checkIsActive","clsx","replaceAll","AsideMenuItem","active","initialModalState","permissions","reducer","persistReducer","storage","whitelist","SET_CURRENT_COMPANY","payload","actions","_","uniq","user","roles","role","permission","flat","isHandlerEnabled","handlerEnabled","axiosInstance","axios","create","baseURL","defaults","withCredentials","interceptors","request","use","response","successHandler","status","removeItem","Promise","reject","errorHandler","usePermissions","doThis","doWhat","redirectionId","history","useHistory","params","useParams","dispatch","useDispatch","currentCompanyUser","useSelector","shallowEqual","companySlug","company","slug","a","post","CurrentCompany","getData","auth","userCan","includes","isSuperAdmin","owner","userCanNot","isArray","every","userOrOwnerCan","toast","isCompanyOwner","useAsideMenuMainItems","companyDetails","USER_companies","titleId","minimumPermissions","disabled","settings","vat_registered","sideMenuMainItems","setSideMenuMainItems","adminSideMenuItems","reRenderSideMenuMainItems","userRedirection","ADMIN","USER","AsideMenuMain","filter","some","asideItem","bootstrapBreakPoints","useWindowSize","setWidth","setHeight","breakPointValue","setBreakPointValue","handleResize","breakPoint","AsideMenu","asideMenuCSSClasses","scrollRef","maxHeight","ref","AsideDefault","asideMenu","formatDate","date","moment","utc","format","formatDateTime","DateViewer","fieldData","errors_with_color","text","capitalize","charAt","removeQuotes","clearedString","IAuthActionTypes","NotificationsMenu","notifications","isLoading","zIndex","overflowY","notification","arr","onClick","company_id","then","res","url","image","alt","values","created_at","loginSaga","saga","initialAuthState","token","Login","Register","Logout","SetUser","UserLoaded","fulfillUser","logout","setUser","put","takeLatest","getUsersCompaniesRequest","getCurrentCompanyById","IUserCompaniesActionTypes","getUsersCompaniesSaga","getCompanyByIdSaga","getAccountOwnerInfo","initialCompaniesState","companies","lastAddedCompany","accountOwnerInfo","FULLFILL_COMPANIES","SET_LAST_ADDED_COMPANY","FULLFILL_SINGLE_COMPANY","FULL_FILL_ACCOUNT_OWNER_iNFO","GET_USERS_COMPANIES","GET_CURRENT_BY_ID","GET_ACCOUNT_OWNER_iNFO","IModalTypes","Languages","currentLanguage","x","href","setWholePageDirection","activeModal","CLOSE_ACTIVE_MODAL","SET_ACTIVE_MODAL","modaleName","modalName","FormatMessage","$t","AhadDialog","specialTitleFormat","withoutClose","closeCallBack","withoutCancel","specialContainerClass","modal","Input","labelId","formik","withValidation","setTouchedOnInput","props","currentType","setCurrentType","required","htmlFor","getFieldProps","touched","errors","autoComplete","unicodeBidi","textAlign","onInput","setFieldTouched","PopupChangePassword","setIsPopupChangePasswordOpen","loading","setLoading","useFormik","initialValues","old_password","password","password_confirmation","validationSchema","Yup","shape","min","number","max","oneOf","onSubmit","log","reduce","accumulator","currentValue","concat","success","toastId","catch","noValidate","placeholder","switchLink","SwitchButton","rel","HeaderUserMenu","isPopupChangePasswordOpen","first_name","last_name","companiesRedux","CurrentCompanyRedux","defaultMessages","FallbackView","Portal","container","createPortal","appName","framework","dbName","dbType","nameOnCard","cardNumber","cardExpiryMonth","cardExpiryYear","cardCvv","HeaderUserMenuContainer","Notifications","bulletShow","faIcon","UserMenuAndAlerts","withoutAlert","useQuery","retryDelay","retry","refetch","Echo","channel","listen","messagesLength","useMemo","read_at","readNotifications","LogoImage","Logo","withCompanyName","CompanyLogo","branding","logo","light","HeaderWrapper","CompaniesRedux","headerMenu","actionStatusColor","keys","cm","mm","DefaultTitle","isSeparator","toolbarContainer","Toolbar","CustomPlural","amount","irrigular","wordId","PluralId","other","ArrowAfterDash","margin","DocTypeCard","docType","iconBGColor","descriptionId","DocTypesList","docTypes","ActionCard","actionTitle","by","price","viewedBy","maxWidth","Number","currency","viewer","feedback","RecentActions","recentActions","DocTypes","recentActionsDemo","DockTypesAndRecentActions","setDocTypes","ceil","RightSection","useRouteMatch","Content","contentContainer","DemosToggleDrawer","CommentsDrawer","comments","USER_documents","comment","emoji","RightToolbar","visibility","Footer","footerContainer","getFullYear","open","MasterLayout","BasicLayout","Currency","withFractionDigits","Intl","NumberFormat","splice","GeneralNumbersCard","color","svgIcon","valueType","backgroundColor","backgroundSize","backgroundPosition","backgroundRepeat","generalNumbers","GeneralNumbersGrid","generalNumbersData","generalNumberItem","StatisticVATCard","statisticVAT","iconClasses","marginTop","rightSideTitle","leftSideTitle","return","statisticsVAT","HomePageVatStatistics","statisticsVATData","statistic","sales","total_sales_amount","total_sales_return_amount","total_count","purchases","total_purchases_amount","total_purchases_return_amount","unprocessed_invoices","total_sales_vat","total_purchases_vat","stat","DashboardPage","setGeneralNumbersData","activeVATTab","setVATActiveTab","setStatisticsVATData","requestGeneralNumbers","requestVATStatistics","statisticsVATURL","setVATTab","tabId","cursor","DashboardWrapper","DisplayErrors","emailPattern","specialCharacters","uriOptionalPattern","nameWithoutSpcialCharsStartOrEnd","string","CompanyTypes","ClientTypes","PersonDecisionTypes","ThirdPartyTypes","AccountTypes","companySlugTo","extras","backendBaseUrl","endpoints","companyId","userId","clientId","productId","invoiceId","saleId","purchaseId","reportId","lineItemId","templateId","template","templateConfigId","CreateCompanyForm","Freelancer","createNewCompaySchema","minCharacters","maxCharacters","CompanyTypesOptions","Corporate","setSubmitting","companiesActions","per_page","modalActions","resetForm","handleSubmit","onChange","setFieldValue","onBlur","defaultValue","isSubmitting","Companies","CompaniesWrapper","companyRoles","editCompanyRoles","roleId","getRolesList","getPermissions","addPermissions","editPermissions","IRolesActionTypes","getRoles","initialRolesState","FULLFULL_ROLES","GET_ROLES","ITableActionTypes","EditItem","ViewItem","DropDownField","valueSelect","setValueSelect","table","tables","TABLE_NAME","query","valueChangeHandler","placeholderId","queryTerm","isClearable","fields","searchField","setSearch","searchRef","searchHandler","right","minHeight","minWidth","borderRadius","background","SearchField","dropdownField","dateRangeField","startDate","setStartDate","endDate","setEndDate","isError","setIsError","diff","end","selected","dateFormat","selectsStart","placeholderText","placeholderFrom","placeholderTo","selectsEnd","minDate","DateRangePicker","SerachFilters","leftHandSide","rightHandSide","searchFilterHandler","clearSearchFilterHandler","padding","DocuemntTypes","INIT_TABLE","CLEAR_SELECTION","tablesInitialization","tableName","selection","UPDATE_IDS","tableData","ids","allDisplayedIds","CHANGE_PAGINATION","allTables","pagination","page","CHANGE_PAGE","currentTables","UPDATE_QUERY","tableQueryUpdate","QTable","CLEAR_QUERY","tableQueryClear","CTable","TOGGLE_SELECTION","tableSelections","currentSelection","allIds","clickedId","newSelection","xor","BULK_TOGGLE_SELECTION","tableBulkSelections","idList","tableBulkName","newBulkSelection","TERMINATE_TABLE","selectedTables","initPerPage","TableData","isExternal","isLink","show_errors_icon","show_errors_icon_message","show_errors_icon_color","show_title_message","show_processed_icon","badgeClassName","RedirectionController","TableActions","TableCheckbox","checked","readOnly","TableRedux","TableSelection","Button","btnType","fa","faIconMenu","nameId","testid","perpage","allowedImagesTypes","RecipientTypeMap","DocumentDirectionTypes","DocumentDirection","DOCS_STATUS","RECIPIENT_TYPES","DocumentStatuses","badge","CustomVariablesTypeMap","requestValue","CustomVariablesTypesMap","VatRateTypeMap","FilterVatRateTypeMap","VatRateTypesMap","SalesInvoicesTypeMap","SalesInvoicesState","SalesInvoicesErrorTypes","SalesInvoicesTypesMap","PurchasesInvoicesTypeMap","PurchasesInvoicesTypesMap","PurchasesInvoicesErrorTypes","IncomeCodeTypeMap","ExpenditureCodeTypeMap","TransactionTypeMap","ProductTypeMap","PlanTypeMap","TaxAbilityTypeMap","CategoryTypeMap","ThirdPartyTypeMap","ThirdPartyTypesMap","AccountTypeMap","AccountTypesMap","ReportsPeriodTypeMap","ReportsPeriodTypesMap","MonthlyReportsPeriodTypeMap","QuarterlyReportsPeriodTypeMap","ReportsStatusTypeMap","TransactionDetailsErrorStatusTypeMap","CodeRulesCategoryTypeMap","CodeRulesCategoryTypesMap","CodeRulesThirdPartyTypeMap","CodeRulesOperatorTypeMap","CodeRulesColumnTypeMap","DisplayItem","renderItem","CommonTable2","headerItems","rowItems","headerWithCheckbox","disableHeaderWithCheckbox","hideFooter","showTotal","hidePagination","totalIndexArray","scrollable","setPage","resultArray","acc","row","rowItem","rowItemIndex","current_page","borderCollapse","rowIndex","rowData","findIndex","toFixed","activePage","itemsCountPerPage","totalItemsCount","pageRangeDisplayed","itemClass","linkClass","num","RolesContent","showSearchFilters","setShowSearchFilters","showConfirmationModal","setShowConfirmationModal","RolesRedux","RequestData","can_create","fontSize","RolesWrapper","getAllUsers","IUsersActionTypes","getUsers","initialUsersState","users","FILL_FULL_USER","GET_USER","getAllCompanies","updateStatus","message","ICompaniesActionTypes","getCompanies","updateCompanyStatus","FILL_FULL_COMPANIES","REPLACE_COMPANY","comp","GET_COMPANIES","UPDATE_STATUS","companyData","TableStatus","statusId","ItemWithImage","subtext","UsersContent","SYS_users","SYS_companies","UserRedux","CompanyRedux","email","companies_count","available_companies_count","UsersWrapper","companyUsers","companySingleUser","companyDocumentReviewers","getUsersList","getSingleUserRequest","getDocumentReviewers","getSingleUser","getDocumentReviewersSaga","Users","singleUser","reviewers","FULLFULL_Users","FULLFULL_SINGLE_USER","FULLFULL_DOCUMENT_REVIEWERS","GET_USERS","GET_SINGLE_USER","GET_DOCUMENT_REVIEWERS","TableRolesViewer","SaveCancelBtnsGroup","saveBtnLabel","cancelOnClick","containerClassName","DeleteItem","messageId","dialogTitleId","deleteItemId","setDeleteItemId","alertMessage","moduleId","deleteURI","successMessage","isButton","showButtonGroup","afterSucessRequest","methodType","isCompanyButton","formData","serialize","submitForm","justifyContent","alignItems","headerItemsWithoutActions","viewEditRole","UsersTable","USER_users","UsersRedux","last_visit","isCompanyAdmin","is_pending","CommonTable","getUserGroupsList","getSingleUserGroupRequest","IUsersGroupsActionTypes","getSingleUserGroup","FULLFULL_USER_GROUPS","FULLFULL_SINGLE_USER_GROUP","GET_USER_GROUPS","GET_SINGLE_USER_GROUP","UserGroups","UsersGroupsTable","UsersGroupsWrapper","ClientGroups","ClientsGroupsTable","ClientsGroupsWrapper","companyClients","companySingleClient","getClientList","getSingleClientRequest","IClientsActionTypes","getClients","getSingleClient","setDisplayedTabsSaga","initialClientsState","Clients","displayedTabs","FULLFULL_Clients","FULLFILL_DISPLAYED_TABS","GET_CLIENTS","GET_SINGLE_CLIENT","SET_DISPLAYED_TABS","toSelectOption","countires","EditItemWithModal","editURI","editItemId","setEditItemId","buttonMessageId","isFullWidth","CancelItem","ApproveItem","ErrorItemWarning","ErrorItemDanger","TableDataPrimaryAndSecondary","primaryText","secondaryText","ClientsTable","showModal","setShowModal","thirdParty","setThirdParty","modalMessageID","setModalMessageID","showErrorsConfirmationModal","setShowErrorsConfirmationModal","showWarningsConfirmationModal","setShowWarningsConfirmationModal","warningsConfirmation","setWarningsConfirmation","showModalButton","setShowModalButton","errorsConfirmation","setErrorsConfirmation","clients","USER_clients","ThirdPartyTypeOptions","AccountTypeOptions","ClientsRedux","toggleThirdParty","is_disabled","deleteThirdParty","selectedIds","approve","can_approve","client","ThirdPartyTypesMapTranslated","third_party_type","AccountTypesMapTranslated","account_type","country","iso","reference_number","short_name","tax_number","can_update","show_warning","warning","danger","responseType","file","Blob","fileURL","URL","createObjectURL","fileLink","download","ClientsWrapper","companyTemplates","customvariables","getTemplateList","getTemplateCustomVariableList","ITemplatesActionTypes","getTemplates","getCustomVariables","initialTemplatesState","templates","templateCustomVariables","underConstructionTemplate","FULLFULL_TEMPLATES","FULLFULL_CURRENT_TEMPLATE","ADD_SECTIONS","sections","variables","FULLFULL_CUSTOMVARIABLES","GET_TEMPLATES","GET_CUSTOM_VARIABLES","commonValidations","companyDocuments","companyDocumentsToTakeAction","companyunderReviewDocuments","createDocumentFromTemplateIdAPI","getDocumentList","getDocumenToTakeActiontList","getUnderReviewDocumentsRequest","createDocumentFromTemplateIdRequest","IDocumentsActionTypes","getDocuments","getDocumentsToTakeActionRequest","getUnderReviewDocuments","initialDocumentsState","documents","underConstructionDocument","documentToTakeAction","FULLFULL_DOCUMENTS_COMMENTS","ADD_NEW_COMMENT","FULLFULL_DOCUMENTS","FULLFULL_CURRENT_DOCUMENT","FULFILL_DOCUMENT_TO_TAKE_ACTION","GET_DOCUMENTS","GET_DOCUMENTS_TO_TAKE_ACTION","GET_UNDERREVIEW_DOCUMENTS","UseTemplateToCreateDocument","selectedTemplateId","setSelectedTemplateId","createDocumentModalOpen","setCreateDocumentModalOpen","DocumentsRedux","PreviewItemSettings","PreviewItem","Templates","typesOptions","TemplatesTable","previewEditModal","setPreviewEditModal","USER_templates","TemplatesRedux","recipient_type","preview_link","docs","has_content","docCount","TemplatesWrapper","SearchDocuments","documentsStatusOptions","usersOptions","Documents","DocumentsTable","CLOSED","EXPIRED","DocumentsWrapper","Step1ApproveOrReturn","secondPartySignaturesNeeded","isReviewerNeeded","companySignatureNeeded","clientSideSignatureOnlyOrFirst","Step2SelectSigner","casesSuccessMessages","Step3TakingAction","setDocumentToApproveModal","postApprove","WAITING_FOR_COMPANY","handleSuccess","signature","setSignature","setSuccess","signatures","handleSignAndSend","signature_id","step2Selection","sig","ApproveSignOrReturnDocumentStepperSchemas","approvement","inits","useQuerySearch","URLSearchParams","DocumentApproval","returnToDocumentCreatorAction","stepperRef","currentSchema","setCurrentSchema","initValues","submitStep","returnToDocumentCreator","APPROVE","loadStepper","needsSignature","DocumentReviewOnly","DocumentsToReview","DocumentsToReviewTable","documentToApproveModal","requestData","can_edit","UNDER_REVIEW","can_sign","WAITING_FOR_SECOND_PARTY","is_second_party","documentId","DocumentsToReviewWrapper","delayToCookies","seconds","nowPlusTime","VerificationPage","setTime","resendDisabled","setResendDisabled","isAfter","ev","navigation","backgroundImage","RouteWithLayout","component","rest","render","React","NewCompanyAdded","currentCompany","NewCompanyAddedWrapper","companyStatusColorsMap","userStatusColorsMap","reportStatusColorsMap","TextArea","RequestEditsForm","requestEditsSchema","ModalRedux","paddingRight","paddingLeft","Label","msg","isRequired","ErrorMessage","RequestChangePlanForm","refetchData","planOptions","setPlanOptions","selectedPlan","setSelectedPlan","confirmSelectPlan","setConfirmSelectPlan","getPlanOptions","useCallback","enhanceResponse","plan","selectedOption","plan_id","removeOldSelectObject","disabelSelectedOption","isDisabled","newArray","start_date","end_date","integer","positive","typeError","nullable","companyName","getTimezoneOffset","toISOString","onChangeRaw","remaining_subscription_days","RequestRenewPlanForm","CompaniesContent","popupChangePlan","setPopupChangePlan","popupRenewPlan","setPopupRenewPlan","setCompanyId","setCompanyDetails","members","Verify","verifyUser","SeparatorLines","lines","line","LocaleTitle","name_ar","description_en","description_ar","initBeforeUnLoad","showExitPrompt","onbeforeunload","returnValue","useExitPrompt","bool","setShowExitPrompt","setDisable","AddEditRolesForm","allPermissions","setAllPermissions","displayed","setDisplayed","setViewEditRole","locales","gettingPermissions","titles","AddEditRoleSchema","enabled","keepPreviousData","cacheTime","getRoleDetails","name_translations","description_translations","alignSelf","rows","currentPermission","party","permissionName","viewElement","handleSelection","RolesAddWrapper","RolesViewWrapper","RolesEditWrapper","AdminDashboardLayout","FileUploader","setFile","maxSize","supportedFiles","typesOnly","allowedOnly","size","endsWith","LogoUploader","setFunction","maxSizeInBytes","uploadRef","bottom","handleUpload","useEditViewCompanyDetailsWrapperSchema","schema","website","when","notRequired","national_id","context","originalValue","commercial_registration","certificate_number","unified_number","report_period","tax_registration_date","city","address_en","address_ar","zip","company_activities","sales_categories","purchases_categories","invoice_number_method","sales_invoice_number_prefix","is","sales_invoice_number_start","return_sales_invoice_number_prefix","return_sales_invoice_number_start","tax_document","account_name","bank_name","account_number","iban","allowedFiles","EditViewCompanyDetailsWrapper","displayRequiredSection","commercial_registration_document","setCommercial_registration_document","certificate_number_document","setCertificate_number_document","tax_number_document","setTax_number_document","mainLightLogo","setmainLightLogo","mainDarkLogo","setMainDarkLogo","mainLightMarkLogo","setMainLogoMarkLight","mainDarkMarkLogo","setMainDarkMarkLogo","originaleData","setOriginaleData","showCategoriesWarning","setShowCategoriesWarning","selectedCategory","setSelectedCategory","categoriesByActivitiesList","setCategoriesByActivitiesList","salesInvoiceNumberStartDisabled","setSalesInvoiceNumberStartDisabled","returnSalesInvoiceNumberStartDisabled","setReturnSalesInvoiceNumberStartDisabled","bank_information","vat_registeration_number","is_mandatory","default_vat_enabled","setTouched","reportPeriodOptions","categoriesActivitiesLoading","categoriesActivitiesList","activity","categoriesByActivitiesLoading","categoriesByActivitiesListData","dark","mark","period_type","address","categories","images","activitiesFetchedData","selectedSalesCategories","is_selected","Set","selectedPurchasesCategories","handleSelectedActivities","cities","startsWith","maxFileSizeInMegaBytes","maxDate","onKeyDown","has_warning","sales_invoice_number_prefix_used","return_sales_invoice_number_prefix_used","category_name","COMPANY_DETAILS_TABS","tabIcon","viewcomponent","editComponent","companyDetailsParamsMapView","tab","companyDetailsParamsMapEdit","CompanyDetailsHandler","currentView","CompanyDetailsTabsWrapper","isCalled","setIsCalled","selectedTab","setSelectedTab","tabOptions","itm","CompanyDetailsWrapperView","CompanyDetailsWrapperEdit","CloseButtonRedShadowed","InviteUsersForm","rolesOptions","of","inviteUsers","indices","overflowX","border","currentEmail","styles","valueContainer","base","isMulti","UsersAdd","UsersAddWrapper","$","jQuery","RichText","setText","setHtml","setDipslay","fileList","addToHtml","FormData","dialogsInBody","onImageUpload","onInit","innerHTML","AboutUsContent","textEn","setTextEn","textAr","setTextAr","isSending","setIsSending","originalArText","setOriginalArText","originalEnText","setOriginalEnText","originalContent","setOriginalContent","someClickableSpace","finally","saveNewContent","AdminAboutUsWrapper","TermsConditionsContent","AdminTermsConditionsWrapper","getAllVatRates","getVatRate","vatRateId","IVatRatesActionTypes","getVatRates","getCurrentVatRate","initialVatRates","vat_rates","vat_rate","FULL_FILL_VAT_RATES","FULL_FILL_VAT_RATE","GET_VAT_RATES","GET_VAT_RATE","VatRatesTypes","IncomeCodeTypesTypes","ExpenditureCodeTypesTypes","TransactionTypes","TaxAbilityTypes","CategoryTypes","VatRates","VatRatesTable","confirmationEdit","setConfirmationEdit","vatRatesList","SYS_vat_rates","VatRatesRedux","vatRate","VatRateTypesMapTranslated","TransactionTypesMapTranslated","code","code_type","tax_rate","can_delete","is_active","toggleStatus","VatRatesWrapper","createSelectOptions","array","createOptions","is_return_code","debounce","wait","immediate","args","later","apply","callNow","initialConfigPayload","ConfigNewVatRate","vatRatesInitialValues","Income","transaction_type","Domestic","tax_ability","Taxable","return_value","basic_categories","category_error_message_ar","category_error_message_en","category_type","Basic","vatRatesValidationSchema","otherwise","useConfigureVatRatesSchema","categoriesOptions","setCategoriesOptions","createVatRate","rulesArray","code_expiration_date","code_amount_range","third_party_nationalities","transaction_date","tax_registration","basic_category","is_basic","info_msg","warning_msg","vatRateItem","VatRateRedux","loadSalesCategoriesOptions","inputValue","onFocusLoadSalesCategoriesOptions","loadPurchasesCategoriesOptions","onFocusLoadPurchasesCategoriesOptions","accountTypesOptions","accountTypesOptionsfullTypes","incomeCodeTypesOptions","expenditureCodeTypesOptions","transactionTypesOptions","taxAbilityTypesOptions","categoryTypesOptions","codeExpirationLoading","codeExpirationList","codeExpirationOptions","amountRangeLoading","amountRangeList","amountRangeOptions","thirdPartyNationalitiesLoading","thirdPartyNationalitiesList","thirdPartyNationalitiesOptions","thirdPartyTypesLoading","thirdPartyTypesList","thirdPartyTypesOptions","transactionDateLoading","transactiondatesList","transactionDateOptions","TaxRegistrationLoading","TaxRegistrationsList","TaxRegistrationOptions","countryItem","accountType","code_type_index","codeTypeItem","transactionTypeItem","taxAbilityItem","basic_categories_mapped","categoryItem","rules","ruleItem","codeExpirationItem","amountRangeItem","thirdPartyNationality","thirdPartyType","transactionDateItem","TaxRegistrationItem","defaultChecked","itemsValues","itemsTouched","onFocus","menuPlacement","loadOptions","defaultOptions","noOptionsMessage","loadingMessage","marginBottom","menuPortal","components","Option","addItem","VAT_RATES_TABS","createComponent","vatRateParamsMapView","vatRateParamsMapEdit","vatRateParamsMapCreate","VatRateDetailsHandler","VatRatesDetails","VatRatesDetailsWrapperCreate","VatRatesDetailsWrapperView","VatRatesDetailsWrapperEdit","getAllCodeRules","getCodeRuleData","codeRuleId","ICodeRulesActionTypes","getCodeRules","getCodeRule","initialCodeRules","code_rules","code_rule","FULL_FILL_CODE_RULES","FULL_FILL_CODE_RULE","GET_CODE_RULES","GET_CODE_RULE","CodeRuleCategoryTypes","CodeRuleOperatorTypes","CodeRuleColumnTypes","CodeRules","CodeRulesTable","codeRulesList","SYS_code_rules","CodeRulesCategoryTypesOptions","CodeRulesRedux","codeRule","codeRulesCategoryTypesMapTranslated","error_message","CodeRulesWrapper","ConfigNewCodeRule","codeRulesInitialValues","error_message_en","error_message_ar","operator","column","nationalities","third_party_types","present","is_not","period","min_amount","max_amount","codeRulesValidationSchema","useConfigureCodeRulesSchema","createCodeRule","date_range","amount_range","countries","include","exclude","categoryTypesOptionsWithCondition","pop","codeRulesThirdPartyTypeMapsOptions","codeRulesOperatorTypeMapsOptions","codeRulesColumnTypeMapsOptions","minAmount","maxAmount","nationality","ConfigNewCodeRuleCreate","UsersEditByCompanyOwner","filteredOption","setSilteredOption","position_ar","position_en","is_company_admin","enableReinitialize","setStatus","filteredArray","object","matchedObject","multiValueRemove","borderRight","last_seen","docs_count","completed_docs_count","isSearchable","UsersEditWrapper","UsersViewWrapper","companyUserCompanies","getAllUserCompanies","getUserCompanies","initialUserCompanies","userCompanies","FULL_FILL_USER_COMPANIES","GET_USER_COMPANIES","UserCompanies","UserCompaniesTable","userCompaniesList","USER_User_Companies","UserCompaniesRedux","userCompany","latest_approved_vat_report","date_period","latest_approved_withholding_report","UserCompaniesWrapper","CompaniesHeaderWrapper","headerContainer","ProfileHeader","firstname","lastname","phone","CompaniesSelectionLayout","statusIcon","Approved","Deleted","relationMap","CompanyCard","deleteCompanieId","setDeleteCompanieId","pointerEvents","opacity","can_send_delete_request","can_update_company","button","CommonCardListTable","cardItems","owned_companies_count","CompaniesSelectionWrapper","ClientsAddEdit","tax_registered","Client","Account","phoneValidity","registration_number","license_number","id_number","district","contacts","Approver","is_receiver","Both","Vendor","Entity","useAddClientSchema","setLogo","contact","Individual","salesCategoriesLoading","salesCategoriesList","is_default","purchasesCategoriesLoading","purchasesCategoriesList","ContactTypesOptions","ThirdPartyTypesOptions","AccountTypesOptions","AccountTypesOption","ThirdPartyOption","registration_certificate","toggleTaxRegistered","shouldAsk","lcl","localization","inputClass","valid","isValidPhoneNumber","dialCode","countryCode","l","inputProps","isValid","THIRD_PARTY_TABS","thirdPartyParamsMapView","thirdPartyParamsMapEdit","thirdPartyParamsMapCreate","ThirdPartyDetailsHandler","AddClientTabsWrapper","AddClientTabsWrapperWrapperCreate","AddClientTabsWrapperWrapperView","getClientDetails","AddClientTabsWrapperWrapperEdit","DownloadButton","arabic_disclamer_messages","english_disclamer_messages","ImportNewClientsDisclamer","ImportNewClientsWrapper","importThirdParty","ImportNewClientsWrapperCreate","companyProducts","companySingleProduct","getProductList","getCurrentProductRequest","IProductsActionTypes","getProductsSaga","getCurrentProduct","initialProductsState","Products","currentProduct","FULLFULL_Products","FULLFULL_CURRENT_PRODUCT","GET_PRODUCTS","GET_CURRENT_PRODUCT","ConfigNewProductWrapper","productInitialValues","sku","product_type","productValidationSchema","useConfigureProductSchema","setImage","approveWarnings","setApproveWarnings","productTypesOptions","product","USER_products","ProductsRedux","isInteger","createProduct","ConfigNewProductWrapperCreate","ConfigNewProductWrapperEdit","ConfigNewProductWrapperView","PriceViewer","TableImage","ProductsTable","products","ProductsWrapper","companySales","companySingleSale","getAllSales","getSale","ISalesActionTypes","getSales","getCurrentSale","getCurrentReferenceSale","initialSales","currentSale","currentReferenceSale","FULL_FILL_SALES","FULL_FILL_CURRENT_SALE","FULL_FILL_CURRENT_REFERENCE_SALE","GET_SALES","GET_CURRENT_SALE","GET_CURRENT_REFERENCE_SALE","Sales","transactionObj","paramsObj","linkedInvoices","SalesTable","dateFrom","setDateFrom","dateTo","setDateTo","salesList","USER_sales","SalesRedux","invoice_date","invoice_reference","invoice_reference_id","deleteSales","sale","invoice_number","return_invoice","linked_invoices","date_from","date_to","valueFrom","valueTo","SalesWrapper","ConfigNewSalesWrapper","salesInitialValues","client_id","vat_rate_id","salesValidationSchema","notOneOf","useConfigureSalesSchema","getCurrentSales","salesId","createSales","salesItem","warning_confirmations","loadClientsOptions","vatRateLoading","vatRateList","vatRateOptions","third_party_id","categoriesLoading","categoriesList","refetchCategories","cacheOptions","remaining_amount","ConfigNewSalesWrapperCreate","ConfigNewSalesWrapperEdit","ConfigNewSalesWrapperView","ConfigNewSalesReturnWrapper","salesReturnInitialValues","reference_amount","salesReturnValidationSchema","useConfigureSalesReturnSchema","showConfirmEditModal","setShowConfirmEditModal","foundReferenceInvoiceDisableField","setFoundReferenceInvoiceDisableField","foundReferenceInvoiceIsLoading","setFoundReferenceInvoiceIsLoading","getReferenceSales","resetFormExceptRefInvoice","referenceSalesItem","is_return","min_accepted_date","reference_id","ConfigNewSalesReturnWrapperCreate","ConfigNewSalesReturnWrapperEdit","ConfigNewSalesReturnWrapperView","ImportNewSalesWrapper","importSales","ImportNewSalesWrapperCreate","companyPurchases","companySinglePurchase","getAllPurchases","getPurchase","IPurchasesActionTypes","getPurchases","getCurrentPurchase","getCurrentReferencePurchase","initialPurchases","currentPurchase","currentReferencePurchase","FULL_FILL_PURCHASES","FULL_FILL_CURRENT_PURCHASE","FULL_FILL_CURRENT_REFERENCE_PURCHASE","GET_PURCHASES","GET_CURRENT_PURCHASE","GET_CURRENT_REFERENCE_PURCHASE","Purchases","PurchasesTable","purchasesList","USER_purchases","PurchasesRedux","deletePurchases","purchase","PurchasesWrapper","ConfigNewPurchasesWrapper","purchasesInitialValues","purchasesValidationSchema","useConfigurePurchasesSchema","getCurrentPurchases","createPurchases","purchasesItem","Expenditure","ConfigNewPurchasesWrapperCreate","ConfigNewPurchasesWrapperEdit","ConfigNewPurchasesWrapperView","ConfigNewPurchasesReturnWrapper","purchasesReturnInitialValues","purchasesReturnValidationSchema","useConfigurePurchasesReturnSchema","getReferencePurchases","referencePurchasesItem","ConfigNewPurchasesReturnWrapperCreate","ConfigNewPurchasesReturnWrapperEdit","ConfigNewPurchasesReturnWrapperView","ImportNewPurchasesWrapper","importPurchases","ImportNewPurchasesWrapperCreate","PreviewItemOptions","reportLinkes","selectedIndex","hidden","companyReports","companyTransactions","companySingleReport","getAllReports","getAllTransactions","getReport","IReportsActionTypes","getReports","getCurrentReport","getTransactions","initialReports","reports","currentReport","transactions","FULL_FILL_REPORTS","FULL_FILL_CURRENT_REPORT","FULL_FILL_TRANSACTIONS","GET_REPORTS","GET_CURRENT_REPORT","GET_TRANSACTIONS","Reports","ReportsTable","reportID","setreportID","reportsList","USER_reports","ReportsStatusTypeOptions","ReportsRedux","is_withholding","cancelReport","report","ReportsPeriodTypesMapTranslated","report_type","total_sales","total_purchases","total_tax","can_cancel","report_preview_link","declaration_preview_link","vat_package_link","vat_transactions_log_link","ReportsWrapper","InfoItem","ViewSalesItem","ViewPurchasesItem","ReportsPeriodsTypes","ReportsTypes","Step1","monthlyPeriodOptions","quarterlyPeriodOptions","yearsOptions","years","generateArrayOfYears","monthly_period","year_period","headerItemsMonthly","headerItemsQuarterly","TransactionsTable","onTransactionSelection","transactionsList","month","year","RequestTransactions","transaction","sales_amount","purchases_amount","tax_amount","used_in_previous_report","Step2","HorizontalConfigNewReportsWrapper","setParamsObj","setTransactionObj","showSalesModal","setShowSalesModal","showPurchasesModal","setShowPurchasesModal","excludeIDs","setExcludeIDs","reportsInitialValues","report_name_ar","report_name_en","reportsValidationSchema","useConfigureReportsSchema","isSubmitButton","setSubmitButton","createReports","selectedtransactionsList","prevState","ConfigNewReportsWrapperCreate","vat_calculations","calculated_vat","ApproveReportWrapper","requestObject","period_calculations","less_than_5000","additional_vat","custom_rules_errors_approve","reportsId","total_tax_amount","minNumber","maxNumber","customCodeBadge","has_custom_rules_errors","ApproveReportWrapperEdit","ApproveReportWrapperView","ExcludeItem","IgnoreItem","companyTransactionsDetails","getAllTransactionsDetails","ITransactionsDetailsActionTypes","getTransactionsDetails","initialTransactionsDetails","transaction_details","FULL_FILL_TRANSACTIONS_DETAILS","GET_TRANSACTIONS_DETAILS","headerItemsSales","headerItemsPurchases","TransactionsDetails","reportStatus","TransactionsDetailsTable","selectedTransactionID","setSelectedTransactionID","actionType","setActionType","showChangeVatRateModal","setShowChangeVatRateModal","editVatRateInitialValues","editVatRateValidationSchema","useConfigureEditVatRateSchema","paramsObjReturn","setParamsObjReturn","transactionDetailsList","USER_transaction_details","refetchVatRate","invoicesType","vatRateReturnLoading","vatRateReturnList","refetchReturnVatRate","vatRateReturnOptions","TransactionDetailsErrorStatusTypeOptions","TransactionsDetailsRedux","transactionCodeType","excludeTransaction","ignoreTransaction","editVatRate","transactionDetail","are_errors_ignored","rule","errors_count","TransactionsDetailsWrapper","goBack","getAllWithholdingReports","getAllWithholdingTransactions","getWithholdingReport","getAllPurchasesWithholdingTransactions","IWithholdingReportsActionTypes","getWithholdingReports","getCurrentWithholdingReport","getWithholdingTransactions","getWithholdingPurchasesTransactions","initialWithholdingReports","withholding_reports","currentWithholdingReport","withholding_transactions","withholding_purchases_transactions","FULL_FILL_WITHHOLDING_REPORTS","FULL_FILL_CURRENT_WITHHOLDING_REPORT","FULL_FILL_WITHHOLDING_TRANSACTIONS","FULL_FILL_WITHHOLDING_PURCHASES_TRANSACTIONS","GET_WITHHOLDING_REPORTS","GET_CURRENT_WITHHOLDING_REPORT","GET_WITHHOLDING_TRANSACTIONS","GET_WITHHOLDING_PURCHASES_TRANSACTIONS","WithholdingReports","WithholdingReportsTable","withholdingReportsList","USER_withholding_reports","WithholdingReportsRedux","WithholdingReportsWrapper","withholdingTransactionsList","EditVATRateItem","EditDateItem","createDescreptionOptions","WithholdingPurchasesTransactionsTable","setMinDate","showChangeDateModal","setShowChangeDateModal","editDateInitialValues","payment_date","editDateValidationSchema","useConfigureEditDateSchema","withholdingPurchasesTransactionsList","invoice_dates","editPaymentDate","formikForDate","purchaseTransaction","withholding_vat_rate","Step3","HorizontalConfigNewWithholdingReportsWrapper","setSelectedtransactionsList","step","ConfigNewWithholdingReportsWrapperCreate","ApproveWithholdingReportWrapper","ApproveWithholdingReportWrapperEdit","ApproveWithholdingReportWrapperView","companyWithholdingTransactionsDetails","getAllWithholdingTransactionsDetails","getWithholdingTransactionsDetails","withholding_transaction_details","FULL_FILL_WITHHOLDING_TRANSACTIONS_DETAILS","GET_WITHHOLDING_TRANSACTIONS_DETAILS","USER_withholding_transaction_details","WithholdingTransactionsDetailsRedux","withholding_code_type","WithholdingTransactionsDetailsWrapper","companyInvoicesReports","companySingleInvoiceReport","companyInvoicesReportTransactions","getAllInvoicesReports","getInvoicesReport","getAllInvoicesReportTransactions","IInvoicesReportsActionTypes","getInvoicesReports","getCurrentInvoicesReport","getInvoicesReportTransactions","initialInvoicesReports","invoicesReports","currentInvoicesReport","invoicesReportTransactions","FULL_FILL_INVOICES_REPORTS","FULL_FILL_CURRENT_INVOICES_REPORT","FULL_FILL_INVOICES_REPORT_TRANSACTIONS","GET_INVOICES_REPORTS","GET_CURRENT_INVOICES_REPORT","GET_INVOICES_REPORT_TRANSACTIONS","boxStyle","SendApprovedReports","itemData","reportObject","setReportObject","requestURI","userOptions","uuid","linksOptions","sendReports","attachmentObject","links","users_emails","attachments","formatCreateLabel","onCreateOption","newOption","formatOptionLabel","PreviewPDF","InvoicesReports","InvoicesReportsTable","showExportTransactionStatementModal","setShowExportTransactionStatementModal","USER_invoices_reports","InvoicesReportsRedux","exportTransactionStatement","vat_transactions_statement_link","InvoicesReportsWrapper","companySalesInvoices","companySingleSalesInvoice","getSalesInvoiceList","getCurrentSalesInvoiceRequest","ISalesInvoicesActionTypes","getSalesInvoicesSaga","getCurrentSaleInvoice","SalesVatRatesTypes","SalesInvoiceTypes","ImportInvoiceTypes","initialInvoicesState","SalesInvoices","currentSaleInvoice","FULLFULL_SALES_INVOICES","FULLFULL_CURRENT_SALE_INVOICE","GET_SALES_INVOICES","GET_CURRENT_SALE_INVOICE","SendIssuedInvoices","invoiceObject","setInvoiceObject","long_invoice_preview_link","simple_invoice_preview_link","ErrorItemInfo","Invoices","InvoicesTable","invoices","USER_sales_invoices","SalesinvoiceTypesOptions","SalesinvoiceStateOptions","SalesinvoiceErrorTypesOptions","SalesInvoicesRedux","deleteInvoices","invoice","invoice_items_count","processed","Sale","is_sequential","return_invoices","has_draft_return_invoice","returnInvoicesNumbers","can_update_return","SalesInvoicesWrapper","companyPurchasesInvoices","companySinglePurchasesInvoice","getPurchasesInvoiceList","getCurrentPurchasesInvoiceRequest","IPurchasesInvoicesActionTypes","getPurchasesInvoicesSaga","getCurrentPurchaseInvoice","PurchasesVatRatesTypes","PurchasesInvoiceTypes","PurchasesInvoices","currentPurchaseInvoice","FULLFULL_PURCHASES_INVOICES","FULLFULL_CURRENT_PURCHASE_INVOICE","GET_PURCHASES_INVOICES","GET_CURRENT_PURCHASE_INVOICE","USER_purchases_invoices","invoiceTypesOptions","PurchasesinvoiceErrorOptions","PurchasesInvoicesRedux","Purchase","PurchasesInvoicesWrapper","HorizontalConfigNewInvoicesReportsWrapper","table_name","ConfigNewInvoicesReportsWrapperCreate","MultipleFilesUploader","maxfileUploaded","urlApiDelete","isDeleteInputOpen","setIsDeleteInputOpen","showDeleteModal","setShowDeleteModal","deletedFileObject","setDeletedFileObject","typeExel","typePdf","downloadImage","imageSrc","nameOfDownload","anchorElement","multiple","accept","checkingType","paddingInline","gridTemplateColumns","gap","objectFit","selectedFile","newFile","deleteFile","has_errors","ApproveInvoicesReportWrapper","isUploadFile","setIsUploadFile","approved_multiple_document","set_approved_multiple_document","approved_multiple_document_maxFiles","multiple_draft_document","set_multiple_draft_document","multiple_draft_document_maxFiles","isUploadDone","setIsUploadDone","merged","notes","approved_documents","draft_documents","oldFiles","newFiles","difference","uploadApprovedDocuments","ApproveInvoicesReportWrapperEdit","ApproveInvoicesReportWrapperView","companyWithholdingInvoicesReports","companyWithholdingSingleInvoiceReport","companyInvoicesWithholdingReportTransactions","companyInvoicesWithholdingReportPurchases","getAllInvoicesWithholdingReports","getInvoicesWithholdingReport","getAllInvoicesWithholdingTransactions","getAllInvoicesWithholdingPurchasesTransactions","IInvoicesWithholdingReportsActionTypes","getInvoicesWithholdingReports","getCurrentInvoicesWithholdingReport","getInvoicesWithholdingTransactions","getInvoicesWithholdingPurchasesTransactions","initialInvoicesWithholdingReports","invoicesWithholdingReports","currentInvoicesWithholdingReport","invoicesWithholdingReportTransactions","invoicesWithholdingReportPurchasesTransactions","FULL_FILL_INVOICES_WITHHOLDING_REPORTS","FULL_FILL_CURRENT_INVOICES_WITHHOLDING_REPORT","FULL_FILL_INVOICES_WITHHOLDING_TRANSACTIONS","FULL_FILL_INVOICES_WITHHOLDING_PURCHASES_TRANSACTIONS","GET_INVOICES_WITHHOLDING_REPORTS","GET_CURRENT_INVOICES_WITHHOLDING_REPORT","GET_INVOICES_WITHHOLDING_TRANSACTIONS","GET_INVOICES_WITHHOLDING_PURCHASES_TRANSACTIONS","USER_invoices_withholding_reports","InvoicesWithholdingReportsRedux","InvoicesWithholdingReportsWrapper","HorizontalConfigNewInvoicesWithholdingReportsWrapper","ConfigNewInvoicesWithholdingReportsWrapperCreate","ApproveInvoicesWithholdingReportWrapper","ApproveInvoicesWithholdingReportWrapperEdit","ApproveInvoicesWithholdingReportWrapperView","companyInvoicesWithholdingReportTransactionsDetails","getAllInvoicesWithholdingReportTransactionsDetails","IInvoicesWithholdingReportTransactionsDetailsActionTypes","getInvoicesWithholdingReportTransactionsDetails","initialInvoicesWithholdingReportTransactionsDetails","invoices_withholding_report_transaction_details","FULL_FILL_INVOICES_WITHHOLDING_REPORT_TRANSACTIONS_DETAILS","GET_INVOICES_WITHHOLDING_REPORT_TRANSACTIONS_DETAILS","invoiceItemCount","setInvoiceItemCount","editDateAndVatRateInitialValues","editDateAndVatRateValidationSchema","useConfigureEditDateAndVatRateSchema","USER_invoices_withholding_reports_transaction_details","InvoicesWithholdingReportTransactionsDetailsRedux","editDateAndVatRate","InvoicesWithholdingReportTransactionsDetailsWrapper","companyInvoicesReportTransactionsDetails","getAllInvoicesReportTransactionsDetails","IInvoicesReportTransactionsDetailsActionTypes","getInvoicesReportTransactionsDetails","initialInvoicesReportTransactionsDetails","invoices_report_transaction_details","FULL_FILL_INVOICES_REPORT_TRANSACTIONS_DETAILS","GET_INVOICES_REPORT_TRANSACTIONS_DETAILS","USER_invoices_report_transaction_details","without_filter","InvoicesReportTransactionsDetailsRedux","invoice_type","InvoicesReportTransactionsDetailsWrapper","TemplateCrudHeader","TemplateBuilderLayout","useConfigureTemplateSchema","is_confidential","basicsInitialValues","creators","signers","allConfigInitialValues","Internal","External","basicsValidationSchema","allConfigValidationSchema","variable_users","variable_clients","initialBasicsConfigPayload","creator","initialAllConfigPayload","initialUsersConfigPayload","initialClientsConfigPayload","ConfigureNewTemplateForm","setCurrentState","templateTypeNumber","setTemplateTypeNumber","reciepentTypeNumber","setReciepentTypeNumber","clientsOptions","createTemplate","newUnderConstruction","range","SelectTemplate","templatesPreview","cloneTemplate","Container","Row","Col","xs","lg","sm","md","thumbnail","Editor","editor","memo","ConfigureTemplateClientName","setShowClientModal","useConfigureTemplateClientSchema","ConfigureTemplateUserName","setShowUserModal","useConfigureTemplateUserSchema","JODIT_CONFIGURATION","buttons","buttonsMD","buttonsSM","buttonsXS","defaultActionOnPaste","askBeforePasteHTML","askBeforePasteFromWord","AddingProductsTable","curr","temporaryTemplate","TemplateEditor","setTemplate","lastEdited","setLastEdited","addProdcutsByTemplateCreator","setAddProdcutsByTemplateCreator","selectedProducts","setSelectedProducts","showClientModal","showUserModal","useLayoutEffect","productSection","section","selectedProductsIds","productsOptions","idsToNums","updateEditorContent","newContent","localStorageItem","updatedSections","updateSections","addNewSection","what","where","insertIntoArray","removeSection","_section","idx","moveSection","updateData","moveItem","hasClientName","hasUserName","requestHasAutomaticVariableError","saveTemplate","saveAndPreview","saveAndExit","variable","entryText","navigator","clipboard","writeText","copyText","list","toggleProductsVisibilityInDocument","ConfigureTemplateBasics","signersLoading","signersList","creatorsLoading","creatorsList","reviewersLoading","reviewersList","signerOptions","creatorsOptions","reviewersOptions","ConfigTemplate","setTemplatesPreview","currentState","setPrevrecipientType","getCurrentTemplate","Boolean","isEmpty","ConfigTemplateWrapper","useUpdateProfileSchema","UserProfile","photoRef","photo","setPhoto","storedUser","requestProfile","AuthRedux","imageMaxSize","inputStyle","UserProfileEdit","UserProfileView","HandWritingSignature","trimmedDataURL","sigPad","setState","getTrimmedCanvas","toDataURL","base64Image","parts","imageType","decodedData","atob","uInt8Array","Uint8Array","charCodeAt","isOneTimeSignature","setName","penColor","uploadSignature","convertBase64ToBlob","Component","ImageSignature","totalSignatures","signatureImageRef","setOpenAddSignatureModal","maxSignatures","confirm","dot","marginRight","marginLeft","colourStyles","control","isFocused","isSelected","chroma","alpha","contrast","multiValue","multiValueLabel","singleValue","dataURLtoBlob","dataURL","binary","fontSizes","fontFamilies","TypingSignature","fontColorsOptions","font","setFont","setFontSize","fontColor","setFontColor","disableInput","setDisableInput","saveSignatureToCanvas","canvas","ctx","getContext","fillStyle","textBaseline","fillText","fontFamily","outline","AddSignatureModal","displayWarning","TABS","UserSignature","openAddSignatureModal","img","Alert","variant","UserLinkedProfileView","companyLogs","getLogList","LogsActionTypes","getLogsSaga","initialLogsState","Logs","FULLFULL_Logs","GET_LOGS","LogsTable","logActionsOptions","logs","USER_logs","LogsRedux","subject","LogsWrapper","pairsToObject","ret","DocumentEditor","setIsLoading","setErrors","countryFieldVariableName","setCountryFieldVariableName","recipients","second_party","viewers","countryObject","getCurrentDocument","documentPayload","member","reviewer","recipient","saveAsDraft","isFormDirty","payloadWithMethod","_method","dirty","SaveAndPreview","allFieldsHaveData","saveAndSendToReviewer","fieldState","availableRecipients","version","chunk","variablesIndex","has_initial","second_party_list","reviewers_list","signers_list","recipients_list","DocumentCrudHeader","NonRegisteredClientDocumentTypes","DocumentBuilderLayout","DocumentsToTakeAction","DocumentsToTakeActionWrapper","Tip","compact","nextProps","nextState","onUpdate","onConfirm","onOpen","autoFocus","node","Spinner","Sidebar","highlights","resetHighlights","removeComment","isViewOnly","refetchDoc","openSelectSignatureModal","setOpenSelectSignatureModal","switchRequest","sign","ADJUSTMENT_REQUESTED","can_review","parseIdFromHash","hash","resetHash","HighlightPopup","DocumentComments","scrollViewerTo","scrollToHighlightFromHash","getHighlightById","_comment","sendComment","highlightId","h","originalPosition","viewOnly","flexDirection","can_add_comment","gettingDocument","beforeLoad","pdfDocument","enableAreaSelection","altKey","onScrollChange","pdfScaleValue","onSelectionFinished","hideTipAndSelection","transformSelection","addHighlight","highlightTransform","setTip","hideTip","viewportToScaled","screenshot","isScrolledTo","boundingRect","updateHighlight","popupContent","onMouseOver","onMouseOut","SingleDocumentToTakeAction","requestDocument","docURL","requestDocumentComments","isRefetching","documentComments","AddEditUserGroupsForm","AddEditClientGroupsForm","PublicHeader","PublicLayout","CustomVariableTypes","TemplateConfiguration","signer","TemplateConfigurationEdit","TemplateConfigurationView","ConfigNewCustomVariables","customVariablesInitialValues","Text","customVariablesValidationSchema","useConfigureCustomVariablesSchema","createCustomVariable","toLocaleUpperCase","ConfigNewCustomVariablesCreate","CustomVariables","CustomVariablesTable","customVariablesTypesMapTranslated","CustomVariablesWrapper","ImportNewSalesInvoicesDisclamer","ImportNewSalesInvoicesWrapper","importInvoices","uploadURL","ImportNewSalesInvoicesWrapperCreate","SaveApproveCancelBtnsGroup","showSaveBtn","showApproveBtn","approveBtnLabel","saveOnClick","approveOnClick","ListTable","LineItemErrorIcon","returnInvoicesHeaderItems","ConfigSalesNewInvoiceWrapper","multiple_document","set_multiple_document","multiple_document_maxFiles","salesInvoiceInitialValues","invoice_items","quantity","price_before_vat","discount_amount","total_before_discount","tax_value","salesInvoiceValidationSchema","min_quantity","moreThan","max_quantity","useConfigureSalesInvoiceSchema","userApproved","setUserApproved","productOptions","setProductOptions","setVatRateOptions","salesCategoriesOptions","setSalesCategoriesOptions","lineItemIndex","setLineItemIndex","returnInvoicesrowItems","createInvoice","loadProductsOptions","onFocusloadProductsOptions","loadVatRateOptions","product_id","onFocusloadVatRateOptions","loadVatRateHasReverseCodeOptions","has_reverse_code","onFocusloadVatRateHasReverseCodeOptions","categoriesVatRatesCheckValidity","getCurrentInvoice","invoice_items_mapped","rate","remaining_quantity","product_price","amount_before_discount","discount","calculateItemValues","fieldName","total_before_vat","round","category_id","invoiceNumber","oldest_return_invoice_date","inputId","selectProduct","onKeyUp","formatGroupLabel","colSpan","ConfigSalesNewInvoiceWrapperCreate","ConfigSalesNewInvoiceWrapperEdit","ConfigSalesNewInvoiceWrapperView","loadSalesOptions","isOptionDisabled","is_returnable","remaining_amount_with_vat","MenuList","headerItemsWithActions","headerItemsForCashback","loadReturnVatRateOptions","onFocusloadReturnVatRateOptions","invoice_item","remaining_discount","max_discount_amount","reverse_code","reverse_vat_rate","min_invoice_date","HorizontalConfigNewReturnSalesWrapper","returnSalesInitialValues","returnSalesValidationSchema","createReturnInvoice","total_price","setValues","ConfigReturnSalesNewInvoiceWrapper","returnSalesInvoiceInitialValues","returnSalesInvoiceValidationSchema","useConfigureReturnSalesInvoiceSchema","InvoicesRedux","is_cashback","linked_invoice","max_allowed_quantity","ConfigReturnSalesNewInvoiceWrapperCreate","ConfigReturnSalesNewInvoiceWrapperEdit","ConfigReturnSalesNewInvoiceWrapperView","ImportNewPurchasesInvoicesDisclamer","ImportNewPurchasesInvoicesWrapper","ImportNewPurchasesInvoicesWrapperCreate","ConfigNewPurchasesInvoiceWrapper","purchasesInvoiceInitialValues","purchasesInvoiceValidationSchema","useConfigurePurchasesInvoiceSchema","purchasesCategoriesOptions","setPurchasesCategoriesOptions","ConfigNewPurchasesInvoiceWrapperCreate","ConfigNewPurchasesInvoiceWrapperEdit","ConfigNewPurchasesInvoiceWrapperView","loadPurchasesOptions","HorizontalConfigNewReturnPurchasesWrapper","returnPurchasesInitialValues","returnPurchasesValidationSchema","ConfigReturnPurchasesNewInvoiceWrapper","returnPurchasesInvoiceInitialValues","returnPurchasesInvoiceValidationSchema","useConfigureReturnPurchasesInvoiceSchema","ConfigReturnPurchasesNewInvoiceWrapperCreate","ConfigReturnPurchasesNewInvoiceWrapperEdit","ConfigReturnPurchasesNewInvoiceWrapperView","companyLineItems","companySingleLineItems","getAllInvoiceItems","getLineItem","ILineItemsActionTypes","getLineItems","getCurrentLineItems","initialLineItem","LineItems","currentLineItems","FULL_FILL_LINE_ITEMS","FULL_FILL_CURRENT_LINE_ITEMS","GET_LINE_ITEMS","GET_CURRENT_LINE_ITEMS","LineItemsTable","LineItemsList","USER_line_items","LineItemsRedux","lineItem","invoice_status","LineItemsWrapper","ConfigNewLineItemsWrapper","lineItemInitialValues","lineItemValidationSchema","useConfigureLineItemSchema","ConfigNewLineItemsWrapperView","ICompaniesDeletionRequestsActionTypes","getCompaniesDeletionRequests","initialCompaniesDeletionRequestsState","companies_deletion_requests","FILL_FULL_COMPANIES_DELETION_REQUESTS","GET_COMPANIES_DELETION_REQUESTS","ApproveCompaniesDeletionRequests","approveItemObject","setApproveItemObject","approveDeletionRequest","RejectCompaniesDeletionRequests","rejectItemObject","setRejectItemObject","rejectDeletionRequest","note","CompaniesDeletionRequestsContent","SYS_companies_deletion_requests","CompaniesDeletionRequestsRedux","deletionRequest","users_count","invoices_count","approved_report_count","CompaniesDeletionRequestsWrapper","getAllCompaniesSubscriptionPlans","ISubscriptionPlansActionTypes","getSubscriptionPlans","initialSubscriptionPlansState","subscription_plans","FILL_FULL_SUBSCRIPTION_PLANS","GET_SUBSCRIPTION_PLANS","SubscriptionPlansContent","deleteSubscriptionPlan","setDeleteSubscriptionPlan","SYS_subscription_plans","SubscriptionPlansRedux","planTypesOptions","subscriptionPlan","assigned_companies_count","prices","subscription_plan","SubscriptionPlansWrapper","PlansInCreate","subscribedPlansInCreate","setSubscribedPlansInCreate","itemsSelected","setItemsSelected","ToggleArray","validation_type","ability","formikProps","useFormikContext","features","SubscriptionPlansWrapperSchema","commercial_description_ar","commercial_description_en","numberInput","monthly_price","yearly_price","invoice_period","useSubscriptionPlansWrapperSchema","subscribedPlans","setSubscribedPlans","setPlan","downgrade_plans","for_embedded_app","order","editSubscriptionPlan","createSubscriptionPlan","getPermissionsPlan","param","checkNumberOfActivePlans","setActivePlan","subscriptionPlanId","fallback","commercial_description","ArrangeThePackage","loadDownGradeOptions","ViewSubscriptionPlans","EditSubscriptionPlans","CreateSubscriptionPlans","UserInfo","getUserInfo","UserEdit","plans","expiration_date","lessThan","default_plan_id","default_plan_expiration_date","getPlansOptions","default_plan","currentCodeRule","third_party_countries","third_party_account_types","must_be_tax_registered","allcountires","exclude_data","include_Data","filterdRes","ViewCodeRules","EditCodeRules","StepCompanyProfile","StepBranding","StepTaxSettings","StepInvoicesConfigurations","StepCompanyActivitiesCategories","AdminCompanyDetails","getCompanyData","AdminCompanyDetailsWrapper","ITransactionsActionTypes","initialTransactionsState","FILL_FULL_TRANSACTION","GET_TRANSACTION","TransactionsContent","SYS_transactions","TransactionRedux","status_message","subscription","save_card","TransactionsWrapper","TransactionInfo","getTransactionInfo","transactionId","TransactionEdit","allTransactionData","setAllTransactionData","BuilderPageWrapper","lazy","exact","R","Dashboard","Roles","UserUsersWrapper","UserClientsWrapper","UserTemplatesWrapper","UserDocumentsWrapper","SYS","AdminUsersWrapper","AdminTransactionsWrapper","AdminTransactionInfo","AdminTransactionEdit","LOGIN_URL","AUTH_USER_URL","REGISTER_URL","authUser","headers","Accept","Authorization","register","registerObject","confirmPassword","Registration","registrationSchema","LinksUnderRegisterForm","LogoAndLoginLink","RegisterPageFancySide","WHY_AHAD","point","LocaleToggler","RegistrationContainer","FancySide","boxShadow","backgroundAttachment","transform","rememberMe","loginSchema","username","client_secret","grant_type","loginResponse","access_token","userData","rememebrMe","LoginContainer","ForgotPassword","ForgetPasswordContainer","ResetPassword","ResetPasswordContainer","AboutUs","setData","TermsAndConditionsUs","terms","AuthPage","UsersTableMock","connect","connector","didRequest","showSplashScreen","setShowSplashScreen","requestUser","Error500","Error404","ErrorsPage","Routes","FeedBackButton","ajax","dataType","ATL_JQ_PAGE_PROPS","triggerFunction","showCollectorDialog","queryClient","QueryClient","companySalesLineItems","companySingleSalesLineItems","getAllSalesInvoiceItems","getSalesLineItem","ISalesLineItemsActionTypes","getSalesLineItems","getCurrentSalesLineItems","salesLineItems","currentSalesLineItems","FULL_FILL_SALES_LINE_ITEMS","FULL_FILL_CURRENT_SALES_LINE_ITEMS","GET_SALES_LINE_ITEMS","GET_CURRENT_SALE_LINE_ITEMS","companyPurchasesLineItems","companySinglePurchasesLineItems","getAllPurchasesInvoiceItems","getPurchasesLineItem","getPurchasesLineItems","getCurrentPurchaseLineItems","purchasesLineItems","currentPurchaseLineItems","FULL_FILL_PURCHASES_LINE_ITEMS","FULL_FILL_CURRENT_PURCHASE_LINE_ITEMS","GET_PURCHASES_LINE_ITEMS","GET_CURRENT_PURCHASE_LINE_ITEMS","rootSaga","rootReducerBeforeAsync","combineReducers","userRoles","userLog","userProducts","userUserCompanies","userUsers","userClients","userTemplates","userDocuments","userSales","userSalesInvoices","userPurchasesInvoices","USER_sales_line_items","userSalesLineItems","userPurchases","USER_purchases_line_items","userPurchasesLineItems","userLineItems","userReports","userTransactionsDetails","userWithholdingReportsRedux","userWithholdingTransactionsDetails","userInvoicesReports","userInvoicesReportTransactionsDetails","userInvoicesWithholdingReportsRedux","userInvoicesWithholdingReportsTransactionsDetails","USER_USERS_GROUP","userGroups","rootReducer","withReduxStateSync","all","sagaMiddleware","createSagaMiddleware","middleware","getDefaultMiddleware","immutableCheck","serializableCheck","thunk","createStateSyncMiddleware","configureStore","preloadedState","devTools","enhancers","reduxBatch","run","configureStoreWithMiddlewares","initMessageListener","persistor","persistStore","isLocalhost","hostname","origin","swUrl","fetch","contentType","indexOf","serviceWorker","ready","registration","unregister","registerValidSW","checkValidServiceWorker","onupdatefound","installingWorker","installing","onstatechange","controller","onSuccess","getState","Chart","registerables","initialize","WrappedComp","AppWithSwRegistration","appUpdatePending","updateAction","marginInlineStart","LogRocket","init","identify","subscriptionType","io","require","broadcaster","host","reconnectionAttempts","reconnectionDelay","socket","enqueueSnackbar","anchorOrigin","vertical","horizontal","autoHideDuration","closeSnackbar","onClose","maxSnack","setAppUpdatePending","serviceWorkerRegistration","waiting","postMessage","ReactDOM","basename","getCurrentUrl","defaultUserInfos","avatar","online","initials","messageFromClient","defaultAlerts","defaultLogs","LAYOUT_CONFIG_KEY","getLayout","er","headerMobile","asideToggle","sidebar","class","typeOptions","bodyStyles","initLayout","initHeader","initPageTitle","initToolbar","initContent","initAside","initFooter","initAsideMenu","fieldsToUpdate","updatedConfig","initCSSClasses","initCSSVariables","initHTMLAttributes","isLoaded","initConfig"],"mappings":"4aAUMA,G,KAA8BC,6BAClCC,IAuCIC,EAAgD,SAAC,GAAwB,IAAD,IAArBC,eAAqB,SAEtEC,EAAWC,qBAAWN,GAsB5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nH,IACzCtoH,EAAY0oH,UAAW,EAChBJ,IAtNX,uBAyNE,SAAwBvpH,IApQ1B,SAAmBA,GACjB,IACEwE,aAAaC,QAAQ4jH,EAAmB3jH,KAAKC,UAAU3E,IACvD,MAAOuoH,GACPjjH,QAAQC,MAAMgjH,IAiQdhoH,CAAUP,OA1Nd,KAAaiB,EACG0oH,UAAoB,EADvB1oH,EAEGjB,OAAkBsoH,IAFrBrnH,EAGGhB,QArCP,CACLlC,OAAQ,GACRoqE,gBAAiB,GACjBqgD,aAAc,GACdzqF,WAAY,GACZx/B,MAAO,GACPu0B,UAAW,GACX21F,YAAa,GACb1pH,QAAS,GACTu/B,iBAAkB,GAClBz/B,QAAS,GACT6hC,iBAAkB,GAClBU,gBAAiB,GACjBsnF,QAAS,GACTlpH,UAAW,IAoBFyB,EAIGd,WAAoCC,IAJvCa,EAKGZ,aAAoCC,IALvCW,EA6NG+V,eACZ/V,EAAYe,oBAAoBf,EAAYjB,U","file":"static/js/main.c6032a8a.chunk.js","sourcesContent":["import React, {\r\n FC,\r\n createContext,\r\n useContext,\r\n useState,\r\n useEffect,\r\n SetStateAction,\r\n Dispatch,\r\n} from 'react'\r\n\r\nconst MetronicSplashScreenContext = createContext> | undefined>(\r\n undefined\r\n)\r\n\r\nconst MetronicSplashScreenProvider: FC = ({ children }) => {\r\n const [count, setCount] = useState(0)\r\n let visible = count > 0\r\n\r\n useEffect(() => {\r\n const splashScreen = document.getElementById('splash-screen')\r\n\r\n // Show SplashScreen\r\n if (splashScreen && visible) {\r\n splashScreen.classList.remove('hidden')\r\n\r\n return () => {\r\n splashScreen.classList.add('hidden')\r\n }\r\n }\r\n\r\n // Hide SplashScreen\r\n let timeout: number\r\n if (splashScreen && !visible) {\r\n timeout = window.setTimeout(() => {\r\n splashScreen.classList.add('hidden')\r\n }, 3000)\r\n }\r\n\r\n return () => {\r\n clearTimeout(timeout)\r\n }\r\n }, [visible])\r\n\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nconst LayoutSplashScreen: FC<{ visible?: boolean }> = ({ visible = true }) => {\r\n // Everything are ready - remove splashscreen\r\n const setCount = useContext(MetronicSplashScreenContext)\r\n\r\n useEffect(() => {\r\n if (!visible) {\r\n return\r\n }\r\n\r\n if (setCount) {\r\n setCount((prev) => {\r\n return prev + 1\r\n })\r\n }\r\n\r\n return () => {\r\n if (setCount) {\r\n setCount((prev) => {\r\n return prev - 1\r\n })\r\n }\r\n }\r\n }, [setCount, visible])\r\n\r\n return null\r\n}\r\n\r\nexport { MetronicSplashScreenProvider, LayoutSplashScreen }\r\n","import ReactGA from 'react-ga4';\n\nconst createReport = () => {\n ReactGA.event({\n category: 'Report',\n action: 'Create Report Action',\n label: 'Created',\n // value: 'Create Report Value',\n });\n};\n\nconst approveReport = () => {\n ReactGA.event({\n category: 'Report',\n action: 'Approve Report Action',\n label: 'Approved',\n // value: 'Approve Report Value',\n });\n};\n\nconst GAEvents = {\n createReport,\n approveReport,\n};\n\nexport { GAEvents };\n","import { ILayout } from './LayoutModels';\r\n\r\nexport const DefaultLayoutConfig: ILayout = {\r\n main: {\r\n type: 'default',\r\n primaryColor: '#009EF7',\r\n darkSkinEnabled: true,\r\n },\r\n loader: {\r\n display: true,\r\n type: 'default', // Set default|spinner-message|spinner-logo to hide or show page loader\r\n },\r\n scrolltop: {\r\n display: true,\r\n },\r\n header: {\r\n display: true, // Set true|false to show or hide Header\r\n width: 'fluid', // Set fixed|fluid to change width type\r\n left: 'menu',\r\n fixed: {\r\n desktop: true, // Set true|false to set fixed Header for desktop mode\r\n tabletAndMobile: true, // Set true|false to set fixed Header for tablet and mobile modes\r\n },\r\n menuIcon: 'svg',\r\n },\r\n megaMenu: {\r\n display: true, // Set true|false to show or hide Mega Menu\r\n },\r\n aside: {\r\n display: true,\r\n theme: 'light',\r\n menu: 'main',\r\n fixed: true,\r\n minimized: false,\r\n minimize: true,\r\n hoverable: true,\r\n menuIcon: 'svg',\r\n },\r\n content: {\r\n width: 'fluid', // Set fixed|fluid to change width\r\n layout: 'docs',\r\n },\r\n toolbar: {\r\n display: false, // Display toolbar\r\n width: 'fixed', // Set fixed|fluid to change width type,\r\n fixed: {\r\n desktop: false,\r\n tabletAndMobileMode: false,\r\n },\r\n layout: 'TitleWithBreadCrumb',\r\n layouts: {\r\n none: {\r\n height: '0px',\r\n heightAndTabletMobileMode: '0px',\r\n },\r\n TitleWithBreadCrumb: {\r\n height: '55px',\r\n heightAndTabletMobileMode: '55px',\r\n },\r\n RegularRuler: {\r\n height: '75px',\r\n heightAndTabletMobileMode: '65px',\r\n },\r\n },\r\n },\r\n footer: {\r\n width: 'fluid', // Set fixed|fluid to change width type\r\n },\r\n pageTitle: {\r\n display: true,\r\n breadCrumbs: true,\r\n description: false,\r\n layout: 'default',\r\n direction: 'row',\r\n responsive: true,\r\n responsiveBreakpoint: 'lg',\r\n responsiveTarget: '#kt_toolbar_container',\r\n },\r\n};\r\n","import React, { createContext, useContext, useState, useEffect } from 'react'\r\nimport { DefaultLayoutConfig } from './DefaultLayoutConfig'\r\nimport {\r\n getEmptyCssClasses,\r\n getEmptyCSSVariables,\r\n getEmptyHTMLAttributes,\r\n LayoutSetup,\r\n} from './LayoutSetup'\r\nimport {\r\n ILayout,\r\n ILayoutCSSVariables,\r\n ILayoutCSSClasses,\r\n ILayoutHTMLAttributes,\r\n} from './LayoutModels'\r\n\r\nexport interface LayoutContextModel {\r\n config: ILayout\r\n classes: ILayoutCSSClasses\r\n attributes: ILayoutHTMLAttributes\r\n cssVariables: ILayoutCSSVariables\r\n setLayout: (config: LayoutSetup) => void\r\n}\r\n\r\nconst LayoutContext = createContext({\r\n config: DefaultLayoutConfig,\r\n classes: getEmptyCssClasses(),\r\n attributes: getEmptyHTMLAttributes(),\r\n cssVariables: getEmptyCSSVariables(),\r\n setLayout: (config: LayoutSetup) => {},\r\n})\r\n\r\nconst enableSplashScreen = () => {\r\n const splashScreen = document.getElementById('splash-screen')\r\n if (splashScreen) {\r\n splashScreen.style.setProperty('display', 'flex')\r\n }\r\n}\r\n\r\nconst disableSplashScreen = () => {\r\n const splashScreen = document.getElementById('splash-screen')\r\n if (splashScreen) {\r\n splashScreen.style.setProperty('display', 'none')\r\n }\r\n}\r\n\r\nconst LayoutProvider: React.FC = ({ children }) => {\r\n const [config, setConfig] = useState(LayoutSetup.config)\r\n const [classes, setClasses] = useState(LayoutSetup.classes)\r\n const [attributes, setAttributes] = useState(LayoutSetup.attributes)\r\n const [cssVariables, setCSSVariables] = useState(LayoutSetup.cssVariables)\r\n const setLayout = (_themeConfig: Partial) => {\r\n enableSplashScreen()\r\n const bodyClasses = Array.from(document.body.classList)\r\n bodyClasses.forEach((cl) => document.body.classList.remove(cl))\r\n LayoutSetup.updatePartialConfig(_themeConfig)\r\n setConfig(Object.assign({}, LayoutSetup.config))\r\n setClasses(LayoutSetup.classes)\r\n setAttributes(LayoutSetup.attributes)\r\n setCSSVariables(LayoutSetup.cssVariables)\r\n setTimeout(() => {\r\n disableSplashScreen()\r\n }, 500)\r\n }\r\n const value: LayoutContextModel = {\r\n config,\r\n classes,\r\n attributes,\r\n cssVariables,\r\n setLayout,\r\n }\r\n\r\n useEffect(() => {\r\n disableSplashScreen()\r\n }, [])\r\n\r\n return {children}\r\n}\r\n\r\nexport { LayoutContext, LayoutProvider }\r\n\r\nexport function useLayout() {\r\n return useContext(LayoutContext)\r\n}\r\n","export const toAbsoluteUrl = (pathname: string) => process.env.PUBLIC_URL + pathname\r\n","import React from 'react';\r\nimport SVG from 'react-inlinesvg';\r\nimport { toAbsoluteUrl } from '../AssetHelpers';\r\ntype Props = {\r\n className?: string;\r\n path: string;\r\n svgClassName?: string;\r\n};\r\n\r\nconst KTSVG: React.FC = ({ className = '', path, svgClassName = 'mh-50px' }) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport { KTSVG };\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { FC, createContext, useContext, useEffect, useState } from 'react';\r\nimport { useIntl } from 'react-intl';\r\n\r\nexport interface PageLink {\r\n title: string;\r\n path: string;\r\n isActive: boolean;\r\n isSeparator?: boolean;\r\n}\r\n\r\nexport interface PageDataContextModel {\r\n pageTitle?: string;\r\n setPageTitle: (_title: string) => void;\r\n pageDescription?: string;\r\n setPageDescription: (_description: string) => void;\r\n pageBreadcrumbs?: Array;\r\n setPageBreadcrumbs: (_breadcrumbs: Array) => void;\r\n}\r\n\r\nconst PageDataContext = createContext({\r\n setPageTitle: (_title: string) => {},\r\n setPageBreadcrumbs: (_breadcrumbs: Array) => {},\r\n setPageDescription: (_description: string) => {},\r\n});\r\n\r\nconst PageDataProvider: React.FC = ({ children }) => {\r\n const [pageTitle, setPageTitle] = useState('');\r\n const [pageDescription, setPageDescription] = useState('');\r\n const [pageBreadcrumbs, setPageBreadcrumbs] = useState>([]);\r\n const value: PageDataContextModel = {\r\n pageTitle,\r\n setPageTitle,\r\n pageDescription,\r\n setPageDescription,\r\n pageBreadcrumbs,\r\n setPageBreadcrumbs,\r\n };\r\n return {children};\r\n};\r\n\r\nfunction usePageData() {\r\n return useContext(PageDataContext);\r\n}\r\n\r\ntype Props = {\r\n description?: string;\r\n breadcrumbs?: Array;\r\n};\r\n\r\nconst PageTitle: FC = ({ children, description, breadcrumbs }) => {\r\n const { setPageTitle, setPageDescription, setPageBreadcrumbs } = usePageData();\r\n const { formatMessage } = useIntl();\r\n\r\n useEffect(() => {\r\n if (children) {\r\n setPageTitle(children.toString());\r\n // set document title\r\n document.title = children.toString()\r\n ? `${children.toString()} – ${formatMessage({ id: 'AHAD' })}`\r\n : `${formatMessage({ id: 'AHAD Full' })}`;\r\n }\r\n return () => {\r\n setPageTitle('');\r\n // set document title\r\n document.title = `${formatMessage({ id: 'AHAD Full' })}`;\r\n };\r\n }, [children]);\r\n\r\n useEffect(() => {\r\n if (description) {\r\n setPageDescription(description);\r\n }\r\n return () => {\r\n setPageDescription('');\r\n };\r\n }, [description]);\r\n\r\n useEffect(() => {\r\n if (breadcrumbs) {\r\n setPageBreadcrumbs(breadcrumbs);\r\n }\r\n return () => {\r\n setPageBreadcrumbs([]);\r\n };\r\n }, [breadcrumbs]);\r\n\r\n return <>;\r\n};\r\n\r\nconst PageDescription: React.FC = ({ children }) => {\r\n const { setPageDescription } = usePageData();\r\n useEffect(() => {\r\n if (children) {\r\n setPageDescription(children.toString());\r\n }\r\n return () => {\r\n setPageDescription('');\r\n };\r\n }, [children]);\r\n return <>;\r\n};\r\n\r\nexport { PageDescription, PageTitle, PageDataProvider, usePageData };\r\n","import Cookies from 'js-cookie';\r\nimport React, { FC, createContext, useContext } from 'react';\r\n\r\nconst I18N_CONFIG_KEY = process.env.REACT_APP_I18N_CONFIG_KEY || 'i18nConfig';\r\n\r\ntype Props = {\r\n selectedLang: 'ar' | 'en';\r\n};\r\nconst initialState: Props = {\r\n selectedLang: 'ar',\r\n};\r\n\r\nfunction getConfig(): Props {\r\n const ls = localStorage.getItem(I18N_CONFIG_KEY);\r\n if (ls) {\r\n try {\r\n return JSON.parse(ls) as Props;\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n return initialState;\r\n}\r\n\r\n// Side effect\r\nexport function setLanguage(lang: string) {\r\n Cookies.set('locale', lang);\r\n localStorage.setItem(I18N_CONFIG_KEY, JSON.stringify({ selectedLang: lang }));\r\n window.location.reload();\r\n}\r\n\r\nconst I18nContext = createContext(initialState);\r\n\r\nconst useLang = () => {\r\n return useContext(I18nContext).selectedLang;\r\n};\r\n\r\nconst MetronicI18nProvider: FC = ({ children }) => {\r\n const lang = getConfig();\r\n Cookies.set('locale', lang.selectedLang);\r\n return {children};\r\n};\r\n\r\nexport { MetronicI18nProvider, useLang };\r\n","import { toAbsoluteUrl } from '../helpers';\nimport { ILanguage } from '../helpers/typescript';\n\nexport const languages: ILanguage[] = [\n {\n locale: 'ar',\n name: 'العربية',\n name_en: 'Arabic',\n flag: toAbsoluteUrl('/media/flags/saudi-arabia.svg'),\n dir: 'rtl',\n },\n {\n locale: 'en',\n name: 'English',\n name_en: 'English',\n flag: toAbsoluteUrl('/media/flags/united-states.svg'),\n dir: 'ltr',\n },\n];\n\nexport const defaultLanguage: ILanguage = {\n locale: 'ar',\n name: 'العربية',\n name_en: 'Arabic',\n flag: toAbsoluteUrl('/media/flags/saudi-arabia.svg'),\n dir: 'rtl',\n};\n\nexport const defaultLocale = 'en';\nexport const defaultDir = 'rtl';\n","import { FC, useEffect } from 'react';\r\nimport { useLang } from './Metronici18n';\r\nimport { IntlProvider } from 'react-intl';\r\nimport '@formatjs/intl-relativetimeformat/polyfill';\r\nimport '@formatjs/intl-relativetimeformat/locale-data/en';\r\nimport '@formatjs/intl-relativetimeformat/locale-data/ar';\r\n\r\nimport arMessages from './messages/ar.json';\r\nimport enMessages from './messages/en.json';\r\n\r\nimport { languages, defaultLanguage } from '../constants/languages';\r\n\r\nconst allMessages = {\r\n ar: arMessages,\r\n en: enMessages,\r\n};\r\n\r\nconst I18nProvider: FC = ({ children }) => {\r\n const locale = useLang();\r\n const messages = allMessages[locale];\r\n\r\n useEffect(() => {\r\n const body = document.querySelector('body');\r\n const html = document.getElementsByTagName('html');\r\n const title = document.getElementsByTagName('title');\r\n const root = document.getElementById('root');\r\n const style_ar: HTMLLinkElement = document.getElementById('style-link-ar') as HTMLLinkElement;\r\n const style_en: HTMLLinkElement = document.getElementById('style-link-en') as HTMLLinkElement;\r\n const language = languages.find((language) => language.locale === locale) || defaultLanguage;\r\n html[0].lang = language.locale;\r\n if (language.dir === 'rtl') {\r\n style_en?.parentNode?.removeChild(style_en);\r\n title[0].innerText = 'شبكة عهد – الشريك الضريبي للأفراد والمنشآت الصغيرة والمتوسطة';\r\n } else {\r\n style_ar?.parentNode?.removeChild(style_ar);\r\n title[0].innerText =\r\n 'AHAD Network – the tax partner for individuals and small and medium enterprises';\r\n }\r\n // if (style) style.href = `/css/style.${language.dir}.min.css`;\r\n if (body) body.dir = language.dir;\r\n if (root) root.dir = language.dir;\r\n }, [locale]);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport { I18nProvider };\r\n","/* eslint-disable no-useless-escape */\r\n// DOCS: https://javascript.info/cookie\r\nexport class CookieComponent {\r\n /**\r\n * Returns the cookie with the given name, or undefined if not found\r\n *\r\n * @param {string} name - cookie name\r\n * @returns string | null\r\n */\r\n public static get(name: string): string | undefined {\r\n let matches = document.cookie.match(\r\n new RegExp('(?:^|; )' + name.replace(/([\\.$?*|{}\\(\\)\\[\\]\\\\\\/\\+^])/g, '\\\\$1') + '=([^;]*)')\r\n )\r\n return matches ? decodeURIComponent(matches[1]) : undefined\r\n }\r\n\r\n /**\r\n * Please note that a cookie value is encoded,\r\n * so getCookie uses a built-in decodeURIComponent function to decode it.\r\n *\r\n * @param {string} name - cookie name\r\n * @param {string | number | boolean} value - cookie value\r\n * @param {any} cookieOptions - cookie options\r\n * @returns void\r\n */\r\n public static set(name: string, value: string | number | boolean, cookieOptions: any): void {\r\n const options = {\r\n path: '/',\r\n // add other defaults here if necessary\r\n ...cookieOptions,\r\n }\r\n\r\n if (options.expires instanceof Date) {\r\n options.expires = options.expires.toUTCString()\r\n }\r\n\r\n let updatedCookie = encodeURIComponent(name) + '=' + encodeURIComponent(value)\r\n\r\n for (let optionKey in options) {\r\n updatedCookie += '; ' + optionKey\r\n let optionValue = options[optionKey]\r\n if (optionValue !== true) {\r\n updatedCookie += '=' + optionValue\r\n }\r\n }\r\n\r\n document.cookie = updatedCookie\r\n }\r\n\r\n /**\r\n * To delete a cookie, we can call it with a negative expiration date\r\n *\r\n * @param {string} name\r\n */\r\n public static delete(name: string): void {\r\n CookieComponent.set(name, '', {\r\n 'max-age': -1,\r\n })\r\n }\r\n}\r\n","export class ElementStyleUtil {\r\n public static set(element: HTMLElement, property: string, value?: any, important?: boolean) {\r\n if (important) {\r\n element.style.setProperty(property, value, 'important')\r\n } else {\r\n element.style.setProperty(property, value)\r\n }\r\n }\r\n\r\n public static get(element: HTMLElement, attributeName: string) {\r\n return element.style.getPropertyValue(attributeName)\r\n }\r\n\r\n public static remove(element: HTMLElement, attibuteName: string) {\r\n element.style.removeProperty(attibuteName)\r\n }\r\n}\r\n","export class DataUtil {\r\n static store: Map> = new Map()\r\n\r\n public static set(instance: HTMLElement | undefined, key: string, data: any): void {\r\n if (!instance) {\r\n return\r\n }\r\n\r\n const instanceData = DataUtil.store.get(instance)\r\n if (!instanceData) {\r\n const newMap = new Map().set(key, data)\r\n DataUtil.store.set(instance, newMap)\r\n return\r\n }\r\n\r\n instanceData.set(key, data)\r\n }\r\n\r\n public static get(instance: HTMLElement, key: string): any | undefined {\r\n const instanceData = DataUtil.store.get(instance)\r\n if (!instanceData) {\r\n return\r\n }\r\n\r\n return instanceData.get(key)\r\n }\r\n\r\n public static remove(instance: HTMLElement, key: string): void {\r\n const instanceData = DataUtil.store.get(instance)\r\n if (!instanceData) {\r\n return\r\n }\r\n\r\n instanceData.delete(key)\r\n }\r\n\r\n public static has(instance: HTMLElement, key: string): boolean {\r\n const instanceData = DataUtil.store.get(instance)\r\n if (instanceData) {\r\n return instanceData.has(key)\r\n }\r\n\r\n return false\r\n }\r\n\r\n public static getAllInstancesByKey(key: string) {\r\n const result: any[] = []\r\n DataUtil.store.forEach((val) => {\r\n val.forEach((v, k) => {\r\n if (k === key) {\r\n result.push(v)\r\n }\r\n })\r\n })\r\n return result\r\n }\r\n}\r\n","function getObjectPropertyValueByKey(obj: any, key: string): any | undefined {\r\n const map = new Map(Object.entries(obj))\r\n if (obj.hasOwnProperty(key) && map) {\r\n return map.get(key)\r\n }\r\n}\r\n\r\n/**\r\n * Generates unique ID for give prefix.\r\n * @param {string} prefix Prefix for generated ID\r\n * @returns {boolean}\r\n */\r\nfunction getUniqueIdWithPrefix(prefix: string | undefined): string {\r\n const result = Math.floor(Math.random() * new Date().getTime()).toString()\r\n if (!prefix) {\r\n return result\r\n }\r\n\r\n return `${prefix}${result}`\r\n}\r\n\r\n/* eslint-disable no-useless-escape */\r\nfunction stringSnakeToCamel(str: string): string {\r\n return str.replace(/(\\-\\w)/g, function (m) {\r\n return m[1].toUpperCase()\r\n })\r\n}\r\n\r\nfunction toJSON(value: string | JSON): JSON | undefined {\r\n if (typeof value !== 'string') {\r\n return value\r\n }\r\n\r\n if (!value) {\r\n return undefined\r\n }\r\n\r\n // (\"'\" => \"\\\"\");\r\n const result = value\r\n .toString()\r\n .split('')\r\n .map((el) => (el !== \"'\" ? el : '\"'))\r\n .join('')\r\n var jsonStr = result.replace(/(\\w+:)|(\\w+ :)/g, function (matched) {\r\n return '\"' + matched.substring(0, matched.length - 1) + '\":'\r\n })\r\n try {\r\n return JSON.parse(jsonStr)\r\n } catch {\r\n return undefined\r\n }\r\n}\r\n\r\nexport { getObjectPropertyValueByKey, getUniqueIdWithPrefix, stringSnakeToCamel, toJSON }\r\n","import { getUniqueIdWithPrefix } from './_TypesHelpers'\r\n\r\nexport class DOMEventHandlerUtil {\r\n public static store = new Map()\r\n\r\n public static on(\r\n element: HTMLElement,\r\n selector: string,\r\n eventName: string,\r\n callBack: any\r\n ): string {\r\n const eventId = getUniqueIdWithPrefix('DOMEvent')\r\n DOMEventHandlerUtil.store.set(eventId, (e: Event) => {\r\n const targets = element.querySelectorAll(selector)\r\n let target: HTMLElement | null = e.target as HTMLElement\r\n while (target && target !== element) {\r\n for (let i = 0; i < targets.length; i++) {\r\n if (target === targets[i]) {\r\n callBack.call(target, e)\r\n }\r\n }\r\n\r\n if (target.parentElement) {\r\n target = target.parentElement\r\n } else {\r\n target = null\r\n }\r\n }\r\n })\r\n element.addEventListener(eventName, DOMEventHandlerUtil.store.get(eventId))\r\n return eventId\r\n }\r\n\r\n public static off(element: HTMLElement, eventName: string, eventId: string): void {\r\n const funcFromStore = DOMEventHandlerUtil.store.get(eventId)\r\n if (!funcFromStore) {\r\n return\r\n }\r\n\r\n element.removeEventListener(eventName, funcFromStore)\r\n DOMEventHandlerUtil.store.delete(eventId)\r\n }\r\n\r\n public static one(element: HTMLElement, eventName: string, callBack: Function): void {\r\n element.addEventListener(eventName, function calee(e) {\r\n // remove event\r\n if (e.target && e.target.removeEventListener) {\r\n e.target.removeEventListener(e.type, calee)\r\n }\r\n\r\n if (element && e && e.currentTarget) {\r\n // if (element && element.removeEventListener && e && e.currentTarget) {\r\n e.currentTarget.removeEventListener(e.type, calee)\r\n }\r\n\r\n // call hander\r\n return callBack(e)\r\n })\r\n }\r\n}\r\n","import { DOMEventHandlerUtil } from './_DOMEventHandlerUtil'\r\nimport { ElementStyleUtil } from './_ElementStyleUtil'\r\nimport { getElementOffset } from './DomHelpers'\r\n\r\nexport class ElementAnimateUtil {\r\n public static animate(\r\n from: number,\r\n to: number,\r\n duration: number,\r\n update: Function,\r\n complete?: Function\r\n ) {\r\n /**\r\n * TinyAnimate.easings\r\n * Adapted from jQuery Easing\r\n */\r\n const easings = {\r\n linear: function (t: number, b: number, c: number, d: number) {\r\n return (c * t) / d + b\r\n },\r\n }\r\n\r\n // Create mock done() function if necessary\r\n if (!complete) {\r\n complete = function () {}\r\n }\r\n\r\n // Animation loop\r\n // let canceled = false;\r\n const change = to - from\r\n\r\n function loop(timestamp: number) {\r\n var time = (timestamp || +new Date()) - start\r\n\r\n if (time >= 0) {\r\n update(easings.linear(time, from, change, duration))\r\n }\r\n if (time >= 0 && time >= duration) {\r\n update(to)\r\n if (complete) {\r\n complete()\r\n }\r\n } else {\r\n window.requestAnimationFrame(loop)\r\n }\r\n }\r\n\r\n update(from)\r\n\r\n // Start animation loop\r\n const start =\r\n window.performance && window.performance.now ? window.performance.now() : +new Date()\r\n\r\n window.requestAnimationFrame(loop)\r\n }\r\n\r\n public static animateClass(\r\n element: HTMLElement,\r\n animationName: string,\r\n callBack?: Function\r\n ): void {\r\n const animateClasses = animationName.split(' ')\r\n animateClasses.forEach((cssClass) => element.classList.add(cssClass))\r\n DOMEventHandlerUtil.one(element, 'animationend', function () {\r\n animateClasses.forEach((cssClass) => element.classList.remove(cssClass))\r\n })\r\n\r\n if (callBack) {\r\n DOMEventHandlerUtil.one(element, 'animationend', callBack)\r\n }\r\n }\r\n\r\n public static transitionEnd(element: HTMLElement, callBack: Function) {\r\n DOMEventHandlerUtil.one(element, 'transitionend', callBack)\r\n }\r\n\r\n public static animationEnd(element: HTMLElement, callBack: Function) {\r\n DOMEventHandlerUtil.one(element, 'animationend', callBack)\r\n }\r\n\r\n public static animationDelay(element: HTMLElement, value: string) {\r\n ElementStyleUtil.set(element, 'animation-delay', value)\r\n }\r\n\r\n public static animationDuration(element: HTMLElement, value: string) {\r\n ElementStyleUtil.set(element, 'animation-duration', value)\r\n }\r\n\r\n public static scrollTo(element: HTMLElement | null, offset: number, duration: number = 500) {\r\n let targetPos = element ? getElementOffset(element).top : 0\r\n let scrollPos =\r\n window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0\r\n\r\n if (offset) {\r\n scrollPos += offset\r\n targetPos = targetPos - offset\r\n }\r\n\r\n const from = scrollPos\r\n const to = targetPos\r\n\r\n ElementAnimateUtil.animate(from, to, duration, function (value: number) {\r\n document.documentElement.scrollTop = value\r\n // document.body.parentNode.scrollTop = value;\r\n document.body.scrollTop = value\r\n }) //, easing, done\r\n }\r\n public static scrollTop(offset: number, duration: number) {\r\n ElementAnimateUtil.scrollTo(null, offset, duration)\r\n }\r\n}\r\n","import { OffsetModel } from './models/OffsetModel'\r\nimport { ViewPortModel } from './models/ViewPortModel'\r\nimport { ElementStyleUtil } from './_ElementStyleUtil'\r\nimport { DataUtil } from './_DataUtil'\r\nimport { ElementAnimateUtil } from './ElementAnimateUtil'\r\nimport { getObjectPropertyValueByKey, toJSON } from './_TypesHelpers'\r\n\r\nfunction getCSS(el: HTMLElement, styleProp: string) {\r\n const defaultView = (el.ownerDocument || document).defaultView\r\n\r\n if (!defaultView) {\r\n return ''\r\n }\r\n\r\n // sanitize property name to css notation\r\n // (hyphen separated words eg. font-Size)\r\n styleProp = styleProp.replace(/([A-Z])/g, '-$1').toLowerCase()\r\n\r\n return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp)\r\n}\r\n\r\nfunction getCSSVariableValue(variableName: string) {\r\n let hex = getComputedStyle(document.documentElement).getPropertyValue(variableName)\r\n if (hex && hex.length > 0) {\r\n hex = hex.trim()\r\n }\r\n\r\n return hex\r\n}\r\n\r\nfunction getElementActualCss(el: HTMLElement, prop: any, cache: boolean) {\r\n let css = ''\r\n\r\n if (!el.getAttribute('kt-hidden-' + prop) || cache === false) {\r\n let value\r\n\r\n // the element is hidden so:\r\n // making the el block so we can meassure its height but still be hidden\r\n css = el.style.cssText\r\n el.style.cssText = 'position: absolute; visibility: hidden; display: block;'\r\n\r\n if (prop === 'width') {\r\n value = el.offsetWidth\r\n } else if (prop === 'height') {\r\n value = el.offsetHeight\r\n }\r\n\r\n el.style.cssText = css\r\n\r\n // store it in cache\r\n if (value !== undefined) {\r\n el.setAttribute('kt-hidden-' + prop, value.toString())\r\n return parseFloat(value.toString())\r\n }\r\n return 0\r\n } else {\r\n // store it in cache\r\n const attributeValue = el.getAttribute('kt-hidden-' + prop)\r\n if (attributeValue || attributeValue === '0') {\r\n return parseFloat(attributeValue)\r\n }\r\n }\r\n}\r\n\r\nfunction getElementActualHeight(el: HTMLElement) {\r\n return getElementActualCss(el, 'height', false)\r\n}\r\n\r\nfunction getElementActualWidth(el: HTMLElement, cache?: boolean) {\r\n return getElementActualCss(el, 'width', false)\r\n}\r\n\r\nfunction getElementIndex(element: HTMLElement) {\r\n if (element.parentNode) {\r\n const c = element.parentNode.children\r\n for (let i = 0; i < c.length; i++) {\r\n if (c[i] === element) return i\r\n }\r\n }\r\n return -1\r\n}\r\n\r\n// https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\r\nfunction getElementMatches(element: HTMLElement, selector: string) {\r\n const p = Element.prototype\r\n const f = p.matches || p.webkitMatchesSelector\r\n\r\n if (element && element.tagName) {\r\n return f.call(element, selector)\r\n } else {\r\n return false\r\n }\r\n}\r\n\r\nfunction getElementOffset(el: HTMLElement): OffsetModel {\r\n // Return zeros for disconnected and hidden (display: none) elements (gh-2310)\r\n // Support: IE <=11 only\r\n // Running getBoundingClientRect on a\r\n // disconnected node in IE throws an error\r\n if (!el.getClientRects().length) {\r\n return { top: 0, left: 0 }\r\n }\r\n\r\n // Get document-relative position by adding viewport scroll to viewport-relative gBCR\r\n const rect = el.getBoundingClientRect()\r\n const win = el.ownerDocument.defaultView\r\n if (win) {\r\n return {\r\n top: rect.top + win.pageYOffset,\r\n left: rect.left + win.pageXOffset,\r\n }\r\n }\r\n\r\n return rect\r\n}\r\n\r\nfunction getElementParents(element: Element, selector: string) {\r\n // Element.matches() polyfill\r\n if (!Element.prototype.matches) {\r\n Element.prototype.matches = function (s) {\r\n const matches = (document || this.ownerDocument).querySelectorAll(s)\r\n let i = matches.length\r\n while (--i >= 0 && matches.item(i) !== this) {}\r\n return i > -1\r\n }\r\n }\r\n\r\n // Set up a parent array\r\n const parents: Array = []\r\n\r\n let el: Element | null = element\r\n\r\n // Push each parent element to the array\r\n for (; el && el !== document.body; el = el.parentElement) {\r\n if (selector) {\r\n if (el.matches(selector)) {\r\n parents.push(el)\r\n }\r\n continue\r\n }\r\n parents.push(el)\r\n }\r\n\r\n // Return our parent array\r\n return parents\r\n}\r\n\r\nfunction getHighestZindex(el: HTMLElement) {\r\n let bufferNode: Node | null = el as Node\r\n let buffer = el\r\n while (bufferNode && bufferNode !== document) {\r\n // Ignore z-index if position is set to a value where z-index is ignored by the browser\r\n // This makes behavior of this function consistent across browsers\r\n // WebKit always returns auto if the element is positioned\r\n const position = buffer.style.getPropertyValue('position')\r\n if (position === 'absolute' || position === 'relative' || position === 'fixed') {\r\n // IE returns 0 when zIndex is not specified\r\n // other browsers return a string\r\n // we ignore the case of nested elements with an explicit value of 0\r\n //
\r\n const value = parseInt(buffer.style.getPropertyValue('z-index'))\r\n if (!isNaN(value) && value !== 0) {\r\n return value\r\n }\r\n }\r\n\r\n bufferNode = bufferNode.parentNode\r\n buffer = bufferNode as HTMLElement\r\n }\r\n return null\r\n}\r\n\r\nfunction getScrollTop(): number {\r\n return (document.scrollingElement || document.documentElement).scrollTop\r\n}\r\n\r\n// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth\r\nfunction getViewPort(): ViewPortModel {\r\n return {\r\n width: window.innerWidth,\r\n height: window.innerHeight,\r\n }\r\n}\r\n\r\nfunction insertAfterElement(el: HTMLElement, referenceNode: HTMLElement) {\r\n return referenceNode.parentNode?.insertBefore(el, referenceNode.nextSibling)\r\n}\r\n\r\nfunction isElementHasClasses(element: HTMLElement, classesStr: string): boolean {\r\n const classes = classesStr.split(' ')\r\n for (let i = 0; i < classes.length; i++) {\r\n if (!element.classList.contains(classes[i])) {\r\n return false\r\n }\r\n }\r\n\r\n return true\r\n}\r\n\r\nfunction isVisibleElement(element: HTMLElement): boolean {\r\n return !(element.offsetWidth === 0 && element.offsetHeight === 0)\r\n}\r\n\r\n// Throttle function: Input as function which needs to be throttled and delay is the time interval in milliseconds\r\nfunction throttle(timer: number | undefined, func: Function, delay?: number) {\r\n // If setTimeout is already scheduled, no need to do anything\r\n if (timer) {\r\n return\r\n }\r\n\r\n // Schedule a setTimeout after delay seconds\r\n timer = window.setTimeout(function () {\r\n func()\r\n\r\n // Once setTimeout function execution is finished, timerId = undefined so that in
\r\n // the next scroll event function execution can be scheduled by the setTimeout\r\n timer = undefined\r\n }, delay)\r\n}\r\n\r\nfunction getElementChildren(element: HTMLElement, selector: string): Array | null {\r\n if (!element || !element.childNodes) {\r\n return null\r\n }\r\n\r\n const result: Array = []\r\n for (let i = 0; i < element.childNodes.length; i++) {\r\n const child = element.childNodes[i]\r\n // child.nodeType == 1 => Element, Text, Comment, ProcessingInstruction, CDATASection, EntityReference\r\n if (child.nodeType === 1 && getElementMatches(child as HTMLElement, selector)) {\r\n result.push(child as HTMLElement)\r\n }\r\n }\r\n\r\n return result\r\n}\r\n\r\nfunction getElementChild(element: HTMLElement, selector: string): HTMLElement | null {\r\n const children = getElementChildren(element, selector)\r\n return children ? children[0] : null\r\n}\r\n\r\nfunction isMobileDevice(): boolean {\r\n let test = getViewPort().width < +getBreakpoint('lg') ? true : false\r\n\r\n if (test === false) {\r\n // For use within normal web clients\r\n test = navigator.userAgent.match(/iPad/i) != null\r\n }\r\n\r\n return test\r\n}\r\n\r\nfunction slide(el: HTMLElement, dir: string, speed: number, callback: any) {\r\n if (\r\n !el ||\r\n (dir === 'up' && isVisibleElement(el) === false) ||\r\n (dir === 'down' && isVisibleElement(el) === true)\r\n ) {\r\n return\r\n }\r\n\r\n speed = speed ? speed : 600\r\n let calcHeight = getElementActualHeight(el)\r\n let calcPaddingTop: number = 0\r\n let calcPaddingBottom: number = 0\r\n\r\n if (ElementStyleUtil.get(el, 'padding-top') && DataUtil.get(el, 'slide-padding-top') !== true) {\r\n DataUtil.set(el, 'slide-padding-top', ElementStyleUtil.get(el, 'padding-top'))\r\n }\r\n\r\n if (\r\n ElementStyleUtil.get(el, 'padding-bottom') &&\r\n DataUtil.has(el, 'slide-padding-bottom') !== true\r\n ) {\r\n DataUtil.set(el, 'slide-padding-bottom', ElementStyleUtil.get(el, 'padding-bottom'))\r\n }\r\n\r\n if (DataUtil.has(el, 'slide-padding-top')) {\r\n calcPaddingTop = parseInt(DataUtil.get(el, 'slide-padding-top'))\r\n }\r\n\r\n if (DataUtil.has(el, 'slide-padding-bottom')) {\r\n calcPaddingBottom = parseInt(DataUtil.get(el, 'slide-padding-bottom'))\r\n }\r\n\r\n if (dir === 'up') {\r\n // up\r\n el.style.cssText = 'display: block; overflow: hidden;'\r\n\r\n if (calcPaddingTop) {\r\n ElementAnimateUtil.animate(0, calcPaddingTop, speed, function (value: number) {\r\n el.style.paddingTop = calcPaddingTop - value + 'px'\r\n })\r\n }\r\n\r\n if (calcPaddingBottom) {\r\n ElementAnimateUtil.animate(0, calcPaddingBottom, speed, function (value: number) {\r\n el.style.paddingBottom = calcPaddingBottom - value + 'px'\r\n })\r\n }\r\n\r\n ElementAnimateUtil.animate(\r\n 0,\r\n calcHeight || 0,\r\n speed,\r\n function (value: number) {\r\n el.style.height = (calcHeight || 0) - value + 'px'\r\n },\r\n function () {\r\n el.style.height = ''\r\n el.style.display = 'none'\r\n\r\n if (typeof callback === 'function') {\r\n callback()\r\n }\r\n }\r\n )\r\n } else if (dir === 'down') {\r\n // down\r\n el.style.cssText = 'display: block; overflow: hidden;'\r\n\r\n if (calcPaddingTop) {\r\n ElementAnimateUtil.animate(\r\n 0,\r\n calcPaddingTop,\r\n speed,\r\n function (value: number) {\r\n //\r\n el.style.paddingTop = value + 'px'\r\n },\r\n function () {\r\n el.style.paddingTop = ''\r\n }\r\n )\r\n }\r\n\r\n if (calcPaddingBottom) {\r\n ElementAnimateUtil.animate(\r\n 0,\r\n calcPaddingBottom,\r\n speed,\r\n function (value: number) {\r\n el.style.paddingBottom = value + 'px'\r\n },\r\n function () {\r\n el.style.paddingBottom = ''\r\n }\r\n )\r\n }\r\n\r\n ElementAnimateUtil.animate(\r\n 0,\r\n calcHeight || 0,\r\n speed,\r\n function (value: number) {\r\n el.style.height = value + 'px'\r\n },\r\n function () {\r\n el.style.height = ''\r\n el.style.display = ''\r\n el.style.overflow = ''\r\n\r\n if (typeof callback === 'function') {\r\n callback()\r\n }\r\n }\r\n )\r\n }\r\n}\r\n\r\nfunction slideUp(el: HTMLElement, speed: number, callback: any) {\r\n slide(el, 'up', speed, callback)\r\n}\r\n\r\nfunction slideDown(el: HTMLElement, speed: number, callback: any) {\r\n slide(el, 'down', speed, callback)\r\n}\r\n\r\nfunction getBreakpoint(breakpoint: string) {\r\n let value: number | string = getCSSVariableValue('--bs-' + breakpoint)\r\n if (value) {\r\n value = parseInt(value.trim())\r\n }\r\n\r\n return value\r\n}\r\n\r\nfunction getAttributeValueByBreakpoint(incomingAttr: string): string | JSON {\r\n let value = toJSON(incomingAttr)\r\n if (typeof value !== 'object') {\r\n return incomingAttr\r\n }\r\n\r\n const width = getViewPort().width\r\n let resultKey\r\n let resultBreakpoint = -1\r\n let breakpoint\r\n\r\n for (let key in value) {\r\n if (key === 'default') {\r\n breakpoint = 0\r\n } else {\r\n breakpoint = getBreakpoint(key) ? +getBreakpoint(key) : parseInt(key)\r\n }\r\n\r\n if (breakpoint <= width && breakpoint > resultBreakpoint) {\r\n resultKey = key\r\n resultBreakpoint = breakpoint\r\n }\r\n }\r\n\r\n return resultKey ? getObjectPropertyValueByKey(value, resultKey) : value\r\n}\r\n\r\nfunction colorLighten(color: string, amount: number) {\r\n const addLight = (_color: string, _amount: number) => {\r\n const cc = parseInt(_color, 16) + _amount\r\n const cNum = cc > 255 ? 255 : cc\r\n const c = cNum.toString(16).length > 1 ? cNum.toString(16) : `0${cNum.toString(16)}`\r\n return c\r\n }\r\n\r\n color = color.indexOf('#') >= 0 ? color.substring(1, color.length) : color\r\n amount = parseInt(((255 * amount) / 100).toString())\r\n return (color = `#${addLight(color.substring(0, 2), amount)}${addLight(\r\n color.substring(2, 4),\r\n amount\r\n )}${addLight(color.substring(4, 6), amount)}`)\r\n}\r\n\r\nfunction colorDarken(color: string, amount: number) {\r\n const subtractLight = (_color: string, _amount: number) => {\r\n const cc = parseInt(color, 16) - amount\r\n const cNum = cc < 0 ? 0 : cc\r\n const c = cNum.toString(16).length > 1 ? cNum.toString(16) : `0${cNum.toString(16)}`\r\n return c\r\n }\r\n\r\n color = color.indexOf('#') >= 0 ? color.substring(1, color.length) : color\r\n amount = parseInt(((255 * amount) / 100).toString())\r\n\r\n return (color = `#${subtractLight(color.substring(0, 2), amount)}${subtractLight(\r\n color.substring(2, 4),\r\n amount\r\n )}${subtractLight(color.substring(4, 6), amount)}`)\r\n}\r\n\r\nexport {\r\n getBreakpoint,\r\n getCSS,\r\n getCSSVariableValue,\r\n getElementActualCss,\r\n getElementActualHeight,\r\n getElementActualWidth,\r\n getElementIndex,\r\n getElementMatches,\r\n getElementOffset,\r\n getElementParents,\r\n getHighestZindex,\r\n getScrollTop,\r\n getViewPort,\r\n insertAfterElement,\r\n isElementHasClasses,\r\n isVisibleElement,\r\n throttle,\r\n getElementChildren,\r\n getElementChild,\r\n isMobileDevice,\r\n slide,\r\n slideUp,\r\n slideDown,\r\n getAttributeValueByBreakpoint,\r\n colorLighten,\r\n colorDarken,\r\n}\r\n","import { DataUtil } from './_DataUtil'\r\nimport { getUniqueIdWithPrefix } from './_TypesHelpers'\r\n\r\nexport interface EventMeta {\r\n name: string\r\n callback: Function\r\n one: boolean\r\n fired: boolean\r\n}\r\n\r\nexport class EventHandlerUtil {\r\n static store: Map> = new Map()\r\n\r\n private static setEventMetasByName(name: string, metas: Map): void {\r\n EventHandlerUtil.store.set(name, metas)\r\n }\r\n\r\n private static getEventMetasByName(name: string): Map | undefined {\r\n return EventHandlerUtil.store.get(name)\r\n }\r\n\r\n private static setEventMetaByNameAndHandlerId(\r\n name: string,\r\n handlerId: string,\r\n meta: EventMeta\r\n ): void {\r\n let metas = EventHandlerUtil.getEventMetasByName(name)\r\n if (!metas) {\r\n metas = new Map()\r\n }\r\n\r\n metas.set(handlerId, meta)\r\n EventHandlerUtil.setEventMetasByName(name, metas)\r\n }\r\n\r\n private static getEventsMetaByHandlerId(name: string, handlerId: string): EventMeta | undefined {\r\n const metas = EventHandlerUtil.store.get(name)\r\n if (!metas) {\r\n return\r\n }\r\n\r\n return metas.get(handlerId)\r\n }\r\n\r\n private static setFiredByNameAndHandlerId(name: string, handerId: string, fired: boolean): void {\r\n const meta = EventHandlerUtil.getEventsMetaByHandlerId(name, handerId)\r\n if (!meta) {\r\n return\r\n }\r\n\r\n meta.fired = fired\r\n EventHandlerUtil.setEventMetaByNameAndHandlerId(name, handerId, meta)\r\n }\r\n\r\n private static addEvent(\r\n element: HTMLElement,\r\n name: string,\r\n callback: Function,\r\n one: boolean = false\r\n ) {\r\n const handlerId = getUniqueIdWithPrefix('event')\r\n DataUtil.set(element, name, handlerId)\r\n const meta: EventMeta = {\r\n name: name,\r\n callback: callback,\r\n one: one,\r\n fired: false,\r\n }\r\n\r\n EventHandlerUtil.setEventMetaByNameAndHandlerId(name, handlerId, meta)\r\n }\r\n\r\n private static removeEvent(element: HTMLElement, name: string) {\r\n const handlerId = DataUtil.get(element, name)\r\n if (!handlerId) {\r\n return\r\n }\r\n\r\n const metas = EventHandlerUtil.getEventMetasByName(name)\r\n if (!metas) {\r\n return\r\n }\r\n\r\n metas.delete(handlerId)\r\n EventHandlerUtil.setEventMetasByName(name, metas)\r\n }\r\n\r\n public static trigger(element: HTMLElement, name: string, e?: Event) {\r\n if (DataUtil.has(element, name)) {\r\n const handlerId = DataUtil.get(element, name)\r\n if (!handlerId) {\r\n return undefined\r\n }\r\n\r\n const handler = EventHandlerUtil.getEventsMetaByHandlerId(name, handlerId)\r\n if (handler) {\r\n if (handler.name === name) {\r\n if (handler.one === true) {\r\n if (handler.fired === false) {\r\n EventHandlerUtil.setFiredByNameAndHandlerId(name, handlerId, true)\r\n return handler.callback.call(this, e)\r\n }\r\n } else {\r\n return handler.callback.call(this, e)\r\n }\r\n }\r\n }\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static on = function (element: HTMLElement, name: string, callBack: Function): void {\r\n EventHandlerUtil.addEvent(element, name, callBack, false)\r\n }\r\n\r\n public static one(element: HTMLElement, name: string, callBack: Function): void {\r\n EventHandlerUtil.addEvent(element, name, callBack, true)\r\n }\r\n\r\n public static off(element: HTMLElement, name: string): void {\r\n EventHandlerUtil.removeEvent(element, name)\r\n }\r\n}\r\n","import {\r\n EventHandlerUtil,\r\n getUniqueIdWithPrefix,\r\n getObjectPropertyValueByKey,\r\n stringSnakeToCamel,\r\n getAttributeValueByBreakpoint,\r\n throttle,\r\n getCSS,\r\n DOMEventHandlerUtil,\r\n ElementStyleUtil,\r\n} from '../_utils/index'\r\n\r\nexport class DrawerStore {\r\n static store: Map = new Map()\r\n\r\n public static set(instanceId: string, drawerComponentObj: DrawerComponent): void {\r\n if (DrawerStore.has(instanceId)) {\r\n return\r\n }\r\n\r\n DrawerStore.store.set(instanceId, drawerComponentObj)\r\n }\r\n\r\n public static get(instanceId: string): DrawerComponent | undefined {\r\n if (!DrawerStore.has(instanceId)) {\r\n return\r\n }\r\n return DrawerStore.store.get(instanceId)\r\n }\r\n\r\n public static remove(instanceId: string): void {\r\n if (!DrawerStore.has(instanceId)) {\r\n return\r\n }\r\n\r\n DrawerStore.store.delete(instanceId)\r\n }\r\n\r\n public static has(instanceId: string): boolean {\r\n return DrawerStore.store.has(instanceId)\r\n }\r\n\r\n public static getAllInstances() {\r\n return DrawerStore.store\r\n }\r\n}\r\n\r\nexport interface DrawerOptions {\r\n overlay: boolean\r\n baseClass: string\r\n overlayClass: string\r\n direction: string\r\n}\r\n\r\nconst defaultDrawerOptions: DrawerOptions = {\r\n overlay: true,\r\n baseClass: 'drawer',\r\n overlayClass: 'drawer-overlay',\r\n direction: 'end',\r\n}\r\n\r\nclass DrawerComponent {\r\n element: HTMLElement\r\n overlayElement: HTMLElement | null = null\r\n toggleElement: HTMLElement | null = null\r\n options: DrawerOptions\r\n instanceUid: string\r\n name: string = ''\r\n shown: boolean = false\r\n lastWidth: number = 0\r\n closeElement: HTMLElement | null = null\r\n\r\n constructor(_element: HTMLElement, options: DrawerOptions) {\r\n this.element = _element\r\n this.options = Object.assign(defaultDrawerOptions, options)\r\n this.instanceUid = getUniqueIdWithPrefix('drawer')\r\n this.overlayElement = null\r\n this.name = this.element.getAttribute('data-kt-drawer-name') || ''\r\n this.shown = false\r\n this.toggleElement = null\r\n // Event Handlers\r\n this._handlers()\r\n // Update Instance\r\n this._update()\r\n // Bind Instance\r\n DrawerStore.set(this.element.id, this)\r\n }\r\n\r\n private _handlers = () => {\r\n const togglers = this._getOption('toggle') as string\r\n const closers = this._getOption('close') as string\r\n\r\n if (togglers !== null && togglers.length > 0) {\r\n DOMEventHandlerUtil.on(document.body, togglers, 'click', (e: Event) => {\r\n e.preventDefault()\r\n this.toggleElement = document.getElementById(togglers)\r\n this._toggle()\r\n })\r\n }\r\n\r\n if (closers !== null && closers.length > 0) {\r\n DOMEventHandlerUtil.on(document.body, closers, 'click', (e: Event) => {\r\n e.preventDefault()\r\n this.closeElement = document.getElementById(closers)\r\n\r\n this._hide()\r\n })\r\n }\r\n }\r\n\r\n private _update = () => {\r\n const width = String(this._getOption('width'))\r\n const direction = String(this._getOption('direction'))\r\n\r\n // Reset state\r\n const hasBaseClass = this.element.classList.contains(`${this.options.baseClass}-on`)\r\n const bodyCanvasAttr = String(document.body.getAttribute(`data-kt-drawer-${this.name}-`))\r\n\r\n if (hasBaseClass === true && bodyCanvasAttr === 'on') {\r\n this.shown = true\r\n } else {\r\n this.shown = false\r\n }\r\n\r\n // Activate/deactivate\r\n if (this._getOption('activate') === true) {\r\n this.element.classList.add(this.options.baseClass)\r\n this.element.classList.add(`${this.options.baseClass}-${direction}`)\r\n ElementStyleUtil.set(this.element, 'width', width, true)\r\n\r\n this.lastWidth = parseInt(width)\r\n } else {\r\n ElementStyleUtil.set(this.element, 'width', '')\r\n this.element.classList.remove(this.options.baseClass)\r\n this.element.classList.remove(`${this.options.baseClass}-${direction}`)\r\n this._hide()\r\n }\r\n }\r\n\r\n private _getOption = (name: string) => {\r\n const attr = this.element.getAttribute(`data-kt-drawer-${name}`)\r\n if (attr) {\r\n let value = getAttributeValueByBreakpoint(attr)\r\n if (value !== null && String(value) === 'true') {\r\n return true\r\n } else {\r\n if (value !== null && String(value) === 'false') {\r\n return false\r\n }\r\n }\r\n\r\n return value\r\n } else {\r\n const optionName = stringSnakeToCamel(name)\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n } else {\r\n return null\r\n }\r\n }\r\n }\r\n\r\n private _toggle = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.drawer.toggle') === false) {\r\n return\r\n }\r\n\r\n if (this.shown) {\r\n this._hide()\r\n } else {\r\n this._show()\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.drawer.toggled')\r\n }\r\n\r\n private _hide = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.drawer.hide') === false) {\r\n return\r\n }\r\n\r\n this.shown = false\r\n this._deleteOverlay()\r\n document.body.removeAttribute(`data-kt-drawer-${this.name}`)\r\n document.body.removeAttribute(`data-kt-drawer`)\r\n this.element.classList.remove(`${this.options.baseClass}-on`)\r\n if (this.toggleElement != null) {\r\n this.toggleElement.classList.remove('active')\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.drawer.after.hidden')\r\n }\r\n\r\n private _show = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.drawer.show') === false) {\r\n return\r\n }\r\n\r\n this.shown = true\r\n this._createOverlay()\r\n document.body.setAttribute(`data-kt-drawer-${this.name}`, 'on')\r\n document.body.setAttribute('data-kt-drawer', 'on')\r\n this.element.classList.add(`${this.options.baseClass}-on`)\r\n if (this.toggleElement !== null) {\r\n this.toggleElement.classList.add('active')\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.drawer.shown')\r\n }\r\n\r\n private _createOverlay = () => {\r\n if (this._getOption('overlay') === true) {\r\n this.overlayElement = document.createElement('DIV')\r\n const elementZIndex = getCSS(this.element, 'z-index')\r\n if (elementZIndex) {\r\n const overlayZindex = parseInt(elementZIndex) - 1\r\n ElementStyleUtil.set(this.overlayElement, 'z-index', overlayZindex) // update\r\n }\r\n document.body.append(this.overlayElement)\r\n const overlayClassOption = this._getOption('overlay-class')\r\n if (overlayClassOption) {\r\n this.overlayElement.classList.add(overlayClassOption.toString())\r\n }\r\n this.overlayElement.addEventListener('click', (e) => {\r\n e.preventDefault()\r\n this._hide()\r\n })\r\n }\r\n }\r\n\r\n private _deleteOverlay = () => {\r\n if (this.overlayElement !== null && this.overlayElement.parentNode) {\r\n this.overlayElement.parentNode.removeChild(this.overlayElement)\r\n }\r\n }\r\n\r\n private _getDirection = () => {\r\n return String(this._getOption('direction')) === 'left' ? 'left' : 'right'\r\n }\r\n\r\n private _getWidth = () => {\r\n let width = this._getOption('width')\r\n if (width && width === 'auto') {\r\n width = getCSS(this.element, 'width')\r\n }\r\n\r\n return width\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public toggle = () => {\r\n this._toggle()\r\n }\r\n\r\n public show = () => {\r\n this._show()\r\n }\r\n\r\n public hide = () => {\r\n this._hide()\r\n }\r\n\r\n public isShown = () => {\r\n return this.shown\r\n }\r\n\r\n public update = () => {\r\n this._update()\r\n }\r\n\r\n public goElement = () => {\r\n return this.element\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string, event: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event)\r\n }\r\n\r\n // Static methods\r\n public static hasInstace = (elementId: string): boolean => {\r\n return DrawerStore.has(elementId)\r\n }\r\n\r\n public static getInstance = (elementId: string) => {\r\n return DrawerStore.get(elementId)\r\n }\r\n\r\n public static hideAll = () => {\r\n const oldInstances = DrawerStore.getAllInstances()\r\n oldInstances.forEach((dr) => {\r\n dr.hide()\r\n })\r\n }\r\n\r\n public static updateAll = () => {\r\n const oldInstances = DrawerStore.getAllInstances()\r\n oldInstances.forEach((dr) => {\r\n dr.update()\r\n })\r\n }\r\n\r\n // Create Instances\r\n public static createInstances(selector: string): void {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((element) => {\r\n const item = element as HTMLElement\r\n let drawer = DrawerComponent.getInstance(item.id)\r\n if (!drawer) {\r\n drawer = new DrawerComponent(item, defaultDrawerOptions)\r\n }\r\n drawer.element = item\r\n drawer.hide()\r\n })\r\n }\r\n\r\n // Dismiss instances\r\n public static handleDismiss = () => {\r\n // External drawer toggle handler\r\n DOMEventHandlerUtil.on(document.body, '[data-kt-drawer-dismiss=\"true\"]', 'click', () => {\r\n /* @ts-ignore */\r\n const element = this.closest('[data-kt-drawer=\"true\"]')\r\n if (element) {\r\n const drawer = DrawerComponent.getInstance(element)\r\n if (drawer && drawer.isShown()) {\r\n drawer.hide()\r\n }\r\n }\r\n })\r\n }\r\n\r\n // Global Initialization\r\n public static initGlobalHandlers(): void {\r\n // Window Resize Handling\r\n window.addEventListener('resize', function () {\r\n let timer: number | undefined\r\n throttle(\r\n timer,\r\n () => {\r\n // Locate and update Drawer instances on window resize\r\n const elements = document.body.querySelectorAll('[data-kt-drawer=\"true\"]')\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n const instance = DrawerComponent.getInstance(item.id)\r\n if (instance) {\r\n instance.element = item\r\n instance.update()\r\n }\r\n })\r\n },\r\n 200\r\n )\r\n })\r\n }\r\n\r\n public static bootstrap = () => {\r\n DrawerComponent.createInstances('[data-kt-drawer=\"true\"]')\r\n DrawerComponent.initGlobalHandlers()\r\n DrawerComponent.handleDismiss()\r\n }\r\n\r\n public static reinitialization = () => {\r\n DrawerComponent.createInstances('[data-kt-drawer=\"true\"]')\r\n DrawerComponent.hideAll()\r\n DrawerComponent.updateAll()\r\n DrawerComponent.handleDismiss()\r\n }\r\n}\r\n\r\nexport { DrawerComponent, defaultDrawerOptions }\r\n","import {\r\n DataUtil,\r\n ElementStyleUtil,\r\n EventHandlerUtil,\r\n getUniqueIdWithPrefix,\r\n getAttributeValueByBreakpoint,\r\n} from '../_utils/index'\r\n\r\nexport interface FeedbackOptions {\r\n width?: number\r\n placement?: string\r\n content?: string\r\n type?: string\r\n}\r\n\r\nconst defaultFeedbackOptions: FeedbackOptions = {\r\n width: 100,\r\n placement: 'top-center',\r\n content: '',\r\n type: 'popup',\r\n}\r\n\r\nclass FeedbackComponent {\r\n element: HTMLElement\r\n options: FeedbackOptions\r\n instanceUid: string\r\n shown: boolean\r\n\r\n constructor(_element: HTMLElement, options: FeedbackOptions) {\r\n this.element = _element\r\n this.options = Object.assign(defaultFeedbackOptions, options)\r\n this.instanceUid = getUniqueIdWithPrefix('feedback')\r\n this.shown = false\r\n\r\n // Event handlers\r\n this._handlers() // will add in the show popup\r\n DataUtil.set(this.element, 'feedback', this)\r\n }\r\n\r\n private _handlers = () => {\r\n this.element.addEventListener('click', (e: Event) => {\r\n e.preventDefault()\r\n this._go()\r\n })\r\n }\r\n\r\n private _go = () => {}\r\n\r\n private showPopup = () => {\r\n this.element = document.createElement('DIV')\r\n\r\n this.element.classList.add('feedback feedback-popup')\r\n this.element.innerHTML = this.options.content || ''\r\n\r\n if (this.options.placement === 'top-center') {\r\n this.setPopupTopCenterPosition()\r\n }\r\n\r\n document.body.appendChild(this.element)\r\n this.element.classList.add('feedback-shown')\r\n this.shown = true\r\n }\r\n\r\n private setPopupTopCenterPosition = () => {\r\n const width = getAttributeValueByBreakpoint(this.options.width?.toString() || '0')\r\n const height = ElementStyleUtil.get(this.element, 'height')\r\n this.element.classList.add('feedback-top-center')\r\n ElementStyleUtil.set(this.element, 'width', width)\r\n ElementStyleUtil.set(this.element, 'left', '50%')\r\n ElementStyleUtil.set(this.element, 'top', '-' + height)\r\n }\r\n\r\n private hidePopup = () => {\r\n this.element.remove()\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public show = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.feedback.show') === false) {\r\n return\r\n }\r\n\r\n if (this.options.type === 'popup') {\r\n this.showPopup()\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.feedback.shown')\r\n\r\n return this\r\n }\r\n\r\n public hide = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.feedback.hide') === false) {\r\n return\r\n }\r\n\r\n if (this.options.type === 'popup') {\r\n this.hidePopup()\r\n }\r\n\r\n this.shown = false\r\n EventHandlerUtil.trigger(this.element, 'kt.feedback.hidden')\r\n return this\r\n }\r\n\r\n public isShown = () => {\r\n return this.isShown\r\n }\r\n\r\n public getElement = () => {\r\n return this.element\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string, event: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event)\r\n }\r\n\r\n // Create Instances\r\n public static createInstances(selector: string) {\r\n throw new Error('not implemented')\r\n }\r\n\r\n // Static methods\r\n public static hasInstace(element: HTMLElement) {\r\n throw new Error('not implemented')\r\n }\r\n\r\n public static getInstance(element: HTMLElement) {\r\n throw new Error('not implemented')\r\n }\r\n\r\n public static bootstrap(attr: string = '[data-Feedback]') {\r\n throw new Error('not implemented')\r\n }\r\n}\r\n\r\nexport { FeedbackComponent, defaultFeedbackOptions }\r\n","import { EventHandlerUtil, DataUtil, getUniqueIdWithPrefix, getCSS } from '../_utils/index'\r\n\r\nexport interface IImageInputOptions {}\r\n\r\nexport interface IImageInputQueries {\r\n componentName: string\r\n instanseQuery: string\r\n inputQuery: string\r\n wrapperQuery: string\r\n cancelQuery: string\r\n removeQuery: string\r\n hiddenQuery: string\r\n}\r\n\r\nconst defaultImageInputOptions = {}\r\n\r\nconst defaultImageInputQueires: IImageInputQueries = {\r\n componentName: 'image-input',\r\n instanseQuery: '[data-kt-image-input]',\r\n inputQuery: 'input[type=\"file\"]',\r\n wrapperQuery: '.image-input-wrapper',\r\n cancelQuery: '[data-kt-image-input-action=\"cancel\"]',\r\n removeQuery: '[data-kt-image-input-action=\"remove\"]',\r\n hiddenQuery: 'input[type=\"hidden\"]',\r\n}\r\n\r\nclass ImageInputComponent {\r\n element: HTMLElement\r\n inputElement: HTMLInputElement | null\r\n wrapperElement: HTMLElement | null\r\n cancelElement: HTMLElement | null\r\n removeElement: HTMLElement | null\r\n hiddenElement: HTMLInputElement | null\r\n src: string = ''\r\n options: IImageInputOptions\r\n queries: IImageInputQueries\r\n uid: string\r\n value: string = ''\r\n\r\n constructor(_element: HTMLElement, _options: IImageInputOptions, _queries: IImageInputQueries) {\r\n // Variables\r\n this.options = Object.assign(defaultImageInputOptions, _options)\r\n this.queries = _queries\r\n this.uid = getUniqueIdWithPrefix(this.queries.componentName)\r\n\r\n // Elements\r\n this.element = _element\r\n this.inputElement = this.element.querySelector(this.queries.inputQuery)\r\n this.wrapperElement = this.element.querySelector(this.queries.wrapperQuery)\r\n this.cancelElement = this.element.querySelector(this.queries.cancelQuery)\r\n this.removeElement = this.element.querySelector(this.queries.removeQuery)\r\n this.hiddenElement = this.element.querySelector(this.queries.hiddenQuery)\r\n if (this.wrapperElement) {\r\n this.src = getCSS(this.wrapperElement, 'backgroundImage')\r\n }\r\n\r\n // Event Handlers\r\n this.handlers()\r\n\r\n DataUtil.set(this.element, this.queries.componentName, this)\r\n }\r\n\r\n private handlers(): void {\r\n this.element.addEventListener('change', this._change)\r\n if (this.cancelElement) {\r\n this.cancelElement.addEventListener('click', this._cancel)\r\n }\r\n\r\n if (this.removeElement) {\r\n this.removeElement.addEventListener('click', this._cancel)\r\n }\r\n }\r\n\r\n // Event Handlers\r\n private _change = (e: Event) => {\r\n e.preventDefault()\r\n\r\n if (this.inputElement !== null && this.inputElement.files && this.inputElement.files[0]) {\r\n // Fire change event\r\n if (EventHandlerUtil.trigger(this.element, 'kt.imageinput.change', e) === false) {\r\n return\r\n }\r\n\r\n const reader = new FileReader()\r\n\r\n reader.onload = (e: ProgressEvent) => {\r\n if (this.wrapperElement && e.target) {\r\n this.wrapperElement.style.setProperty('background-image', `url('${e.target.result}')`)\r\n }\r\n }\r\n\r\n reader.readAsDataURL(this.inputElement.files[0])\r\n this.element.classList.add('image-input-changed')\r\n this.element.classList.remove('image-input-empty')\r\n\r\n // Fire removed event\r\n EventHandlerUtil.trigger(this.element, 'kt.imageinput.changed', e)\r\n }\r\n }\r\n\r\n private _cancel = (e: Event) => {\r\n e.preventDefault()\r\n\r\n // Fire cancel event\r\n if (EventHandlerUtil.trigger(this.element, 'kt.imageinput.cancel', e) === false) {\r\n return\r\n }\r\n\r\n this.element.classList.remove('image-input-changed')\r\n this.element.classList.remove('image-input-empty')\r\n this.element.style.setProperty('background-image', this.src)\r\n if (this.inputElement) {\r\n this.inputElement.value = ''\r\n }\r\n\r\n if (this.hiddenElement !== null) {\r\n this.hiddenElement.value = '0'\r\n }\r\n\r\n // Fire canceled event\r\n EventHandlerUtil.trigger(this.element, 'kt.imageinput.canceled', e)\r\n }\r\n\r\n private _remove = (e: Event) => {\r\n e.preventDefault()\r\n\r\n // Fire remove event\r\n if (EventHandlerUtil.trigger(this.element, 'kt.imageinput.remove', e) === false) {\r\n return\r\n }\r\n\r\n this.element.classList.remove('image-input-changed')\r\n this.element.classList.add('image-input-empty')\r\n if (this.wrapperElement) {\r\n this.wrapperElement.style.setProperty('background-image', 'none')\r\n }\r\n\r\n if (this.inputElement) {\r\n this.inputElement.value = ''\r\n }\r\n\r\n if (this.hiddenElement !== null) {\r\n this.hiddenElement.value = '1'\r\n }\r\n\r\n // Fire removed event\r\n EventHandlerUtil.trigger(this.element, 'kt.imageinput.removed', e)\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public getInputElement(): HTMLInputElement | null {\r\n return this.inputElement\r\n }\r\n\r\n public getElement(): HTMLElement {\r\n return this.element\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string, event: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event)\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (\r\n el: HTMLElement,\r\n componentName: string = defaultImageInputQueires.componentName\r\n ) => {\r\n const ImageInput = DataUtil.get(el, componentName)\r\n if (ImageInput) {\r\n return ImageInput\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (\r\n selector: string = defaultImageInputQueires.instanseQuery,\r\n options: IImageInputOptions = defaultImageInputOptions,\r\n queries: IImageInputQueries = defaultImageInputQueires\r\n ) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let ImageInput = ImageInputComponent.getInstance(item)\r\n if (!ImageInput) {\r\n ImageInput = new ImageInputComponent(item, options, queries)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string = defaultImageInputQueires.instanseQuery,\r\n options: IImageInputOptions = defaultImageInputOptions,\r\n queries: IImageInputQueries = defaultImageInputQueires\r\n ): ImageInputComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let ImageInput = ImageInputComponent.getInstance(item)\r\n if (!ImageInput) {\r\n ImageInput = new ImageInputComponent(item, options, queries)\r\n }\r\n return ImageInput\r\n }\r\n\r\n public static bootstrap = (selector: string = defaultImageInputQueires.instanseQuery) => {\r\n ImageInputComponent.createInstances(selector)\r\n }\r\n\r\n public static reinitialization = (selector: string = defaultImageInputQueires.instanseQuery) => {\r\n ImageInputComponent.createInstances(selector)\r\n }\r\n}\r\nexport { ImageInputComponent, defaultImageInputOptions, defaultImageInputQueires }\r\n","import {\r\n DataUtil,\r\n getObjectPropertyValueByKey,\r\n stringSnakeToCamel,\r\n getAttributeValueByBreakpoint,\r\n getViewPort,\r\n isVisibleElement,\r\n throttle,\r\n getCSS,\r\n ElementStyleUtil,\r\n} from '../_utils/index'\r\nimport { CookieComponent } from './_CookieComponent'\r\n\r\nexport interface ScrollOptions {\r\n saveState?: boolean\r\n}\r\n\r\nconst defaultScrollOptions: ScrollOptions = {\r\n saveState: true,\r\n}\r\n\r\nclass ScrollComponent {\r\n element: HTMLElement\r\n options: ScrollOptions\r\n id: string\r\n\r\n constructor(_element: HTMLElement, options: ScrollOptions) {\r\n this.element = _element\r\n this.options = Object.assign(defaultScrollOptions, options)\r\n this.id = this.element.getAttribute('id') || ''\r\n this.update()\r\n // this.element.setAttribute('data-kt-scrolltop', 'true')\r\n DataUtil.set(this.element, 'scroll', this)\r\n }\r\n\r\n private getOption = (name: string) => {\r\n if (this.element.hasAttribute('data-kt-scroll-' + name) === true) {\r\n const attr = this.element.getAttribute('data-kt-scroll-' + name) || ''\r\n let value: string | JSON | boolean = getAttributeValueByBreakpoint(attr)\r\n if (value !== null && String(value) === 'true') {\r\n value = true\r\n } else if (value !== null && String(value) === 'false') {\r\n value = false\r\n }\r\n\r\n return value\r\n } else {\r\n const optionName = stringSnakeToCamel(name)\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n } else {\r\n return null\r\n }\r\n }\r\n }\r\n\r\n private getHeightType = () => {\r\n if (this.getOption('height')) {\r\n return 'height'\r\n }\r\n if (this.getOption('min-height')) {\r\n return 'min-height'\r\n }\r\n if (this.getOption('max-height')) {\r\n return 'max-height'\r\n }\r\n }\r\n\r\n private getAutoHeight = () => {\r\n let height: number | string = getViewPort().height\r\n const dependencies = this.getOption('dependencies')\r\n const wrappers = this.getOption('wrappers')\r\n const offset = this.getOption('offset')\r\n\r\n // Height dependencies\r\n if (dependencies !== null) {\r\n const elements = document.querySelectorAll(dependencies as string)\r\n if (elements && elements.length > 0) {\r\n for (let i = 0, len = elements.length; i < len; i++) {\r\n const element = elements[i] as HTMLElement\r\n if (isVisibleElement(element) === false) {\r\n continue\r\n }\r\n\r\n height = height - parseInt(getCSS(element, 'height'))\r\n height = height - parseInt(getCSS(element, 'margin-top'))\r\n height = height - parseInt(getCSS(element, 'margin-bottom'))\r\n\r\n const borderTop = getCSS(element, 'border-top')\r\n if (borderTop) {\r\n height = height - parseInt(borderTop)\r\n }\r\n\r\n const borderBottom = getCSS(element, 'border-bottom')\r\n if (borderBottom) {\r\n height = height - parseInt(borderBottom)\r\n }\r\n }\r\n }\r\n }\r\n\r\n // Wrappers\r\n if (wrappers !== null) {\r\n var elements = document.querySelectorAll(wrappers as string)\r\n if (elements && elements.length > 0) {\r\n for (let i = 0, len = elements.length; i < len; i++) {\r\n const element = elements[i] as HTMLElement\r\n\r\n if (!isVisibleElement(element)) {\r\n continue\r\n }\r\n\r\n height = height - parseInt(getCSS(element, 'margin-top'))\r\n height = height - parseInt(getCSS(element, 'margin-bottom'))\r\n height = height - parseInt(getCSS(element, 'padding-top'))\r\n height = height - parseInt(getCSS(element, 'padding-bottom'))\r\n\r\n const borderTop = getCSS(element, 'border-top')\r\n if (borderTop) {\r\n height = height - parseInt(borderTop)\r\n }\r\n\r\n const borderBottom = getCSS(element, 'border-bottom')\r\n if (borderBottom) {\r\n height = height - parseInt(borderBottom)\r\n }\r\n }\r\n }\r\n }\r\n\r\n // Custom offset\r\n if (offset !== null) {\r\n height = height - parseInt(offset as string)\r\n }\r\n\r\n height = height - parseInt(getCSS(this.element, 'margin-top'))\r\n height = height - parseInt(getCSS(this.element, 'margin-bottom'))\r\n\r\n const borderTop = getCSS(this.element, 'border-top')\r\n if (borderTop) {\r\n height = height - parseInt(borderTop)\r\n }\r\n\r\n const borderBottom = getCSS(this.element, 'border-bottom')\r\n if (borderBottom) {\r\n height = height - parseInt(borderBottom)\r\n }\r\n\r\n height = String(height) + 'px'\r\n\r\n return height\r\n }\r\n\r\n private setupHeight = () => {\r\n let height = this.getHeight()\r\n let heightType = this.getHeightType() as string\r\n\r\n // Set height\r\n if (height !== null && height.length > 0) {\r\n ElementStyleUtil.set(this.element, heightType, height)\r\n } else {\r\n ElementStyleUtil.set(this.element, heightType, '')\r\n }\r\n }\r\n\r\n private setupState = () => {\r\n if (this.getOption('save-state') === true && this.id) {\r\n const cookie = CookieComponent.get(this.id + 'st')\r\n if (cookie) {\r\n var pos = parseInt(cookie)\r\n\r\n if (pos > 0) {\r\n this.element.scrollTop = pos\r\n }\r\n }\r\n }\r\n }\r\n\r\n private setupScrollHandler = () => {\r\n if (this.getOption('save-state') === true && this.id) {\r\n this.element.addEventListener('scroll', this.scrollHandler)\r\n } else {\r\n this.element.removeEventListener('scroll', this.scrollHandler)\r\n }\r\n }\r\n\r\n private scrollHandler = () => {\r\n const cookieId = this.id + 'st'\r\n CookieComponent.set(cookieId, this.element.scrollTop, {})\r\n }\r\n\r\n private destroyScrollHandler = () => {\r\n this.element.removeEventListener('scroll', this.scrollHandler)\r\n }\r\n\r\n private resetHeight = () => {\r\n const heghtType = this.getHeightType()\r\n if (heghtType) {\r\n ElementStyleUtil.set(this.element, heghtType, '')\r\n }\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public update = () => {\r\n // Activate/deactivate\r\n if (\r\n this.getOption('activate') === true ||\r\n !this.element.hasAttribute('data-kt-scroll-activate')\r\n ) {\r\n this.setupHeight()\r\n this.setupScrollHandler()\r\n this.setupState()\r\n } else {\r\n this.resetHeight()\r\n this.destroyScrollHandler()\r\n }\r\n }\r\n\r\n public getHeight = () => {\r\n const heightType = this.getHeightType()\r\n const height = this.getOption(heightType || '')\r\n if (height instanceof Function) {\r\n return height.call(height)\r\n } else if (height !== null && typeof height === 'string' && height.toLowerCase() === 'auto') {\r\n return this.getAutoHeight()\r\n } else {\r\n return height\r\n }\r\n }\r\n\r\n public getElement = () => {\r\n return this.element\r\n }\r\n\r\n // Static methods\r\n public static hasInstace(element: HTMLElement) {\r\n return DataUtil.has(element, 'scroll')\r\n }\r\n\r\n public static getInstance(element: HTMLElement) {\r\n if (element !== null && ScrollComponent.hasInstace(element)) {\r\n return DataUtil.get(element, 'scroll')\r\n }\r\n }\r\n\r\n // Create Instances\r\n public static createInstances(selector: string) {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((element: Element) => {\r\n const item = element as HTMLElement\r\n let scroll = ScrollComponent.getInstance(item)\r\n if (!scroll) {\r\n scroll = new ScrollComponent(item, defaultScrollOptions)\r\n }\r\n })\r\n }\r\n\r\n public static destroyAll(attr: string = '[data-kt-scroll=\"true\"]') {}\r\n\r\n public static bootstrap(attr: string = '[data-kt-scroll=\"true\"]') {\r\n ScrollComponent.createInstances(attr)\r\n ScrollComponent.resize()\r\n }\r\n\r\n public static createInstance = (\r\n element: HTMLElement,\r\n options: ScrollOptions = defaultScrollOptions\r\n ): ScrollComponent | undefined => {\r\n let scroll = ScrollComponent.getInstance(element)\r\n if (!scroll) {\r\n scroll = new ScrollComponent(element, options)\r\n }\r\n return scroll\r\n }\r\n\r\n public static reinitialization(attr: string = '[data-kt-scroll=\"true\"]') {\r\n ScrollComponent.createInstances(attr)\r\n }\r\n\r\n public static updateAll() {\r\n const elements = document.body.querySelectorAll('[data-kt-scroll=\"true\"]')\r\n elements.forEach((element: Element) => {\r\n const instance = ScrollComponent.getInstance(element as HTMLElement)\r\n if (instance) {\r\n instance.update()\r\n }\r\n })\r\n }\r\n\r\n public static resize() {\r\n // Window Resize Handling\r\n window.addEventListener('resize', function () {\r\n let timer\r\n throttle(\r\n timer,\r\n () => {\r\n // Locate and update Drawer instances on window resize\r\n ScrollComponent.updateAll()\r\n },\r\n 200\r\n )\r\n })\r\n }\r\n}\r\n\r\nexport { ScrollComponent, defaultScrollOptions }\r\n","import {\r\n getScrollTop,\r\n getAttributeValueByBreakpoint,\r\n throttle,\r\n getObjectPropertyValueByKey,\r\n stringSnakeToCamel,\r\n getUniqueIdWithPrefix,\r\n DataUtil,\r\n ElementAnimateUtil,\r\n} from '../_utils/index'\r\n\r\nexport interface IScrollTopOptions {\r\n offset: number\r\n speed: number\r\n}\r\n\r\nconst defaultScrollTopOptions: IScrollTopOptions = {\r\n offset: 200,\r\n speed: 600,\r\n}\r\n\r\nclass ScrollTopComponent {\r\n element: HTMLElement\r\n options: IScrollTopOptions\r\n instanceUid: string\r\n\r\n constructor(_element: HTMLElement, options: IScrollTopOptions) {\r\n this.element = _element\r\n this.options = Object.assign(defaultScrollTopOptions, options)\r\n this.instanceUid = getUniqueIdWithPrefix('scrolltop')\r\n\r\n // Event Handlers\r\n this._handlers()\r\n\r\n // Bind Instance\r\n DataUtil.set(this.element, 'scrolltop', this)\r\n }\r\n\r\n private _handlers = () => {\r\n let timer: number\r\n window.addEventListener('scroll', () => {\r\n throttle(timer, () => {\r\n this._scroll()\r\n })\r\n })\r\n\r\n this.element.addEventListener('click', (e: Event) => {\r\n e.preventDefault()\r\n this._go()\r\n })\r\n }\r\n\r\n private _scroll = () => {\r\n const offset = parseInt(this._getOption('offset') as string)\r\n const pos = getScrollTop() // current vertical position\r\n if (pos > offset) {\r\n if (!document.body.hasAttribute('data-kt-scrolltop')) {\r\n document.body.setAttribute('data-kt-scrolltop', 'on')\r\n }\r\n } else {\r\n if (document.body.hasAttribute('data-kt-scrolltop')) {\r\n document.body.removeAttribute('data-kt-scrolltop')\r\n }\r\n }\r\n }\r\n\r\n private _go = () => {\r\n const speed = parseInt(this._getOption('speed') as string)\r\n ElementAnimateUtil.scrollTop(0, speed)\r\n }\r\n\r\n private _getOption = (name: string) => {\r\n const attr = this.element.getAttribute(`data-kt-scrolltop-${name}`)\r\n if (attr) {\r\n const value = getAttributeValueByBreakpoint(attr)\r\n return value !== null && String(value) === 'true'\r\n }\r\n\r\n const optionName = stringSnakeToCamel(name)\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n }\r\n\r\n return null\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n\r\n // Plugin API\r\n public go = () => {\r\n return this._go()\r\n }\r\n\r\n public getElement = () => {\r\n return this.element\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (el: HTMLElement) => {\r\n const scrollTop = DataUtil.get(el, 'scrolltop')\r\n if (scrollTop) {\r\n return scrollTop\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (selector: string) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let scrollTop = ScrollTopComponent.getInstance(item)\r\n if (!scrollTop) {\r\n scrollTop = new ScrollTopComponent(item, defaultScrollTopOptions)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string,\r\n options: IScrollTopOptions = defaultScrollTopOptions\r\n ): ScrollTopComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let scrollTop = ScrollTopComponent.getInstance(item)\r\n if (!scrollTop) {\r\n scrollTop = new ScrollTopComponent(item, options)\r\n }\r\n return scrollTop\r\n }\r\n\r\n public static bootstrap = () => {\r\n ScrollTopComponent.createInstances('[data-kt-scrolltop=\"true\"]')\r\n }\r\n\r\n public static reinitialization = () => {\r\n ScrollTopComponent.createInstances('[data-kt-scrolltop=\"true\"]')\r\n }\r\n\r\n public static goTop = () => {\r\n ElementAnimateUtil.scrollTop(0, defaultScrollTopOptions.speed)\r\n }\r\n}\r\nexport { ScrollTopComponent, defaultScrollTopOptions }\r\n","import {\r\n getElementIndex,\r\n getUniqueIdWithPrefix,\r\n ElementAnimateUtil,\r\n EventHandlerUtil,\r\n DataUtil,\r\n DOMEventHandlerUtil,\r\n ElementStyleUtil,\r\n} from '../_utils/index';\r\n\r\nexport interface IStepperOptions {\r\n startIndex: number;\r\n animation: boolean;\r\n animationSpeed: string;\r\n animationNextClass: string;\r\n animationPreviousClass: string;\r\n}\r\n\r\nconst defaultStepperOptions: IStepperOptions = {\r\n startIndex: 1,\r\n animation: false,\r\n animationSpeed: '0.3s',\r\n animationNextClass: 'animate__animated animate__slideInRight animate__fast',\r\n animationPreviousClass: 'animate__animated animate__slideInLeft animate__fast',\r\n};\r\n\r\nclass StepperComponent {\r\n element: HTMLElement;\r\n options: IStepperOptions;\r\n instanceUid: string;\r\n steps: NodeListOf;\r\n btnNext: HTMLElement | null;\r\n btnPrev: HTMLElement | null;\r\n btnSubmit: HTMLElement | null;\r\n totatStepsNumber: number = 0;\r\n passedStepIndex: number = 0;\r\n currentStepIndex: number = 1;\r\n\r\n constructor(_element: HTMLElement, options: IStepperOptions) {\r\n this.element = _element;\r\n this.options = Object.assign(defaultStepperOptions, options);\r\n this.instanceUid = getUniqueIdWithPrefix('stepper');\r\n\r\n // Elements\r\n this.steps = this.element.querySelectorAll('[data-kt-stepper-element=\"nav\"]');\r\n this.btnNext = this.element.querySelector('[data-kt-stepper-action=\"next\"]');\r\n this.btnPrev = this.element.querySelector('[data-kt-stepper-action=\"previous\"]');\r\n this.btnSubmit = this.element.querySelector('[data-kt-stepper-action=\"submit\"]');\r\n\r\n // Variables\r\n this.totatStepsNumber = this.steps?.length | 0;\r\n this.passedStepIndex = 0;\r\n this.currentStepIndex = 1;\r\n\r\n // Set Current Step\r\n if (this.options.startIndex > 1) {\r\n this._goTo(this.options.startIndex);\r\n }\r\n\r\n // Event Handlers\r\n this.initHandlers();\r\n\r\n // Bind Instance\r\n DataUtil.set(this.element, 'stepper', this);\r\n }\r\n\r\n private _goTo = (index: number) => {\r\n EventHandlerUtil.trigger(this.element, 'kt.stepper.change');\r\n // Skip if this step is already shown\r\n if (index === this.currentStepIndex || index > this.totatStepsNumber || index < 0) {\r\n return;\r\n }\r\n\r\n // Validate step number\r\n index = parseInt(index.toString());\r\n // Set current step\r\n this.passedStepIndex = this.currentStepIndex;\r\n this.currentStepIndex = index;\r\n\r\n // Refresh elements\r\n this.refreshUI();\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.stepper.changed');\r\n };\r\n\r\n private initHandlers = () => {\r\n this.btnNext?.addEventListener('click', (e: Event) => {\r\n e.preventDefault();\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.stepper.next', e);\r\n });\r\n\r\n this.btnPrev?.addEventListener('click', (e: Event) => {\r\n e.preventDefault();\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.stepper.previous', e);\r\n });\r\n\r\n DOMEventHandlerUtil.on(this.element, '[data-kt-stepper-action=\"step\"]', 'click', (e: Event) => {\r\n e.preventDefault();\r\n\r\n if (this.steps && this.steps.length > 0) {\r\n for (let i = 0; i < this.steps.length; i++) {\r\n if ((this.steps[i] as HTMLElement) === this.element) {\r\n let index = i + 1;\r\n\r\n const stepDirection = this._getStepDirection(index);\r\n EventHandlerUtil.trigger(this.element, `stepper.${stepDirection}`, e);\r\n return;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n\r\n private _getStepDirection = (index: number) => {\r\n return index > this.currentStepIndex ? 'next' : 'previous';\r\n };\r\n\r\n private getStepContent = (index: number) => {\r\n const content = this.element.querySelectorAll('[data-kt-stepper-element=\"content\"]');\r\n if (!content) {\r\n return false;\r\n }\r\n\r\n if (content[index - 1]) {\r\n return content[index - 1];\r\n }\r\n\r\n return false;\r\n };\r\n\r\n private getLastStepIndex = () => {\r\n return this.totatStepsNumber;\r\n };\r\n\r\n private getTotalStepsNumber = () => {\r\n return this.totatStepsNumber;\r\n };\r\n\r\n private refreshUI = () => {\r\n let state = '';\r\n\r\n if (this.isLastStep()) {\r\n state = 'last';\r\n } else if (this.isFirstStep()) {\r\n state = 'first';\r\n } else {\r\n state = 'between';\r\n }\r\n\r\n // Set state class\r\n this.element.classList.remove('last');\r\n this.element.classList.remove('first');\r\n this.element.classList.remove('between');\r\n\r\n this.element.classList.add(state);\r\n\r\n // Step Items\r\n const elements = this.element.querySelectorAll(\r\n '[data-kt-stepper-element=\"nav\"], [data-kt-stepper-element=\"content\"], [data-kt-stepper-element=\"info\"]'\r\n );\r\n\r\n if (!elements || elements.length <= 0) {\r\n return;\r\n }\r\n\r\n for (var i = 0, len = elements.length; i < len; i++) {\r\n var element = elements[i] as HTMLElement;\r\n var index = getElementIndex(element) + 1;\r\n\r\n element.classList.remove('current');\r\n element.classList.remove('completed');\r\n element.classList.remove('pending');\r\n\r\n if (index === this.currentStepIndex) {\r\n element.classList.add('current');\r\n\r\n if (\r\n this.options.animation !== false &&\r\n element.getAttribute('data-kt-stepper-element') === 'content'\r\n ) {\r\n ElementStyleUtil.set(element, 'animationDuration', this.options.animationSpeed);\r\n\r\n const animation =\r\n this._getStepDirection(this.passedStepIndex) === 'previous'\r\n ? this.options.animationPreviousClass\r\n : this.options.animationNextClass;\r\n ElementAnimateUtil.animateClass(element, animation);\r\n }\r\n } else {\r\n if (index < this.currentStepIndex) {\r\n element.classList.add('completed');\r\n } else {\r\n element.classList.add('pending');\r\n }\r\n }\r\n }\r\n };\r\n\r\n private isLastStep = () => {\r\n return this.currentStepIndex === this.totatStepsNumber;\r\n };\r\n\r\n private isFirstStep = () => {\r\n return this.currentStepIndex === 1;\r\n };\r\n\r\n private isBetweenStep = () => {\r\n return this.isLastStep() === false && this.isFirstStep() === false;\r\n };\r\n\r\n // ///////////////////////\r\n // // ** Public API ** //\r\n // ///////////////////////\r\n\r\n // // Plugin API\r\n public goto = (index: number) => {\r\n return this._goTo(index);\r\n };\r\n\r\n public goNext = () => {\r\n return this.goto(this.getNextStepIndex());\r\n };\r\n\r\n public goPrev = () => {\r\n return this.goto(this.getPrevStepIndex());\r\n };\r\n\r\n public goFirst = () => {\r\n return this.goto(1);\r\n };\r\n\r\n public goLast = () => {\r\n return this.goto(this.getLastStepIndex());\r\n };\r\n\r\n public getCurrentStepIndex = () => {\r\n return this.currentStepIndex;\r\n };\r\n\r\n public getNextStepIndex = () => {\r\n if (this.totatStepsNumber >= this.currentStepIndex + 1) {\r\n return this.currentStepIndex + 1;\r\n } else {\r\n return this.totatStepsNumber;\r\n }\r\n };\r\n\r\n public getPassedStepIndex = () => {\r\n return this.passedStepIndex;\r\n };\r\n\r\n public getPrevStepIndex = () => {\r\n if (this.currentStepIndex - 1 > 1) {\r\n return this.currentStepIndex - 1;\r\n } else {\r\n return 1;\r\n }\r\n };\r\n\r\n public getElement = (index: number) => {\r\n return this.element;\r\n };\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler);\r\n };\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler);\r\n };\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name);\r\n };\r\n\r\n public destroy = () => {\r\n console.info('destroy stepper');\r\n };\r\n\r\n public trigger = (name: string, event: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event);\r\n };\r\n\r\n // Static methods\r\n public static hasInstace(element: HTMLElement): boolean {\r\n return DataUtil.has(element, 'stepper');\r\n }\r\n\r\n public static getInstance(element: HTMLElement): StepperComponent | null {\r\n if (element !== null && StepperComponent.hasInstace(element)) {\r\n return DataUtil.get(element, 'stepper');\r\n }\r\n return null;\r\n }\r\n\r\n // Create Instances\r\n public static createInstances(selector: string): void {\r\n const elements = document.body.querySelectorAll(selector);\r\n elements.forEach((element) => {\r\n const item = element as HTMLElement;\r\n let stepper = StepperComponent.getInstance(item);\r\n if (!stepper) {\r\n stepper = new StepperComponent(item, defaultStepperOptions);\r\n }\r\n });\r\n }\r\n\r\n public static createInsance = (\r\n element: HTMLElement,\r\n options: IStepperOptions = defaultStepperOptions\r\n ): StepperComponent | null => {\r\n if (!element) {\r\n return null;\r\n }\r\n let stepper = StepperComponent.getInstance(element);\r\n if (!stepper) {\r\n stepper = new StepperComponent(element, options);\r\n }\r\n return stepper;\r\n };\r\n\r\n public static bootstrap(attr: string = '[data-kt-stepper]') {\r\n StepperComponent.createInstances(attr);\r\n }\r\n}\r\n\r\nexport { StepperComponent, defaultStepperOptions };\r\n","import {\r\n getElementOffset,\r\n getScrollTop,\r\n getAttributeValueByBreakpoint,\r\n getUniqueIdWithPrefix,\r\n getObjectPropertyValueByKey,\r\n stringSnakeToCamel,\r\n getCSS,\r\n DataUtil,\r\n ElementAnimateUtil,\r\n ElementStyleUtil,\r\n EventHandlerUtil,\r\n} from '../_utils/index'\r\n\r\nexport interface StickyOptions {\r\n offset: number\r\n reverse: boolean\r\n animation: boolean\r\n animationSpeed: string\r\n animationClass: string\r\n}\r\n\r\nconst defaultStickyOptions: StickyOptions = {\r\n offset: 200,\r\n reverse: false,\r\n animation: true,\r\n animationSpeed: '0.3s',\r\n animationClass: 'animation-slide-in-down',\r\n}\r\n\r\nclass StickyComponent {\r\n element: HTMLElement\r\n options: StickyOptions\r\n instanceUid: string\r\n instanceName: string | null = ''\r\n attributeName: string\r\n eventTriggerState: boolean\r\n lastScrollTop: number\r\n\r\n constructor(_element: HTMLElement, options: StickyOptions) {\r\n this.element = _element\r\n this.options = Object.assign(defaultStickyOptions, options)\r\n this.instanceUid = getUniqueIdWithPrefix('sticky')\r\n this.instanceName = this.element.getAttribute('data-kt-sticky-name')\r\n this.attributeName = 'data-kt-sticky-' + this.instanceName\r\n this.eventTriggerState = true\r\n this.lastScrollTop = 0\r\n\r\n // Event Handlers\r\n window.addEventListener('scroll', this.scroll)\r\n\r\n // Initial Launch\r\n this.scroll()\r\n\r\n DataUtil.set(this.element, 'sticky', this)\r\n }\r\n\r\n private scroll = () => {\r\n let offset = this.getOption('offset')\r\n let reverse = this.getOption('reverse')\r\n\r\n // Exit if false\r\n if (offset === false) {\r\n return\r\n }\r\n\r\n let offsetNum = 0\r\n if (typeof offset === 'string') {\r\n offsetNum = parseInt(offset)\r\n }\r\n\r\n const st = getScrollTop()\r\n\r\n // Reverse scroll mode\r\n if (reverse === true) {\r\n // Release on reverse scroll mode\r\n if (st > offsetNum && this.lastScrollTop < st) {\r\n if (document.body.hasAttribute(this.attributeName) === false) {\r\n this.enable()\r\n document.body.setAttribute(this.attributeName, 'on')\r\n }\r\n\r\n if (this.eventTriggerState === true) {\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.on')\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.change')\r\n\r\n this.eventTriggerState = false\r\n }\r\n } else {\r\n // Back scroll mode\r\n if (document.body.hasAttribute(this.attributeName)) {\r\n this.disable()\r\n document.body.removeAttribute(this.attributeName)\r\n }\r\n\r\n if (this.eventTriggerState === false) {\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.off')\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.change')\r\n\r\n this.eventTriggerState = true\r\n }\r\n }\r\n\r\n this.lastScrollTop = st\r\n return\r\n }\r\n\r\n // Classic scroll mode\r\n if (st > offsetNum) {\r\n if (document.body.hasAttribute(this.attributeName) === false) {\r\n this.enable()\r\n document.body.setAttribute(this.attributeName, 'on')\r\n }\r\n\r\n if (this.eventTriggerState === true) {\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.on')\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.change')\r\n this.eventTriggerState = false\r\n }\r\n } else {\r\n // back scroll mode\r\n if (document.body.hasAttribute(this.attributeName) === true) {\r\n this.disable()\r\n document.body.removeAttribute(this.attributeName)\r\n }\r\n\r\n if (this.eventTriggerState === false) {\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.off')\r\n EventHandlerUtil.trigger(this.element, 'kt.sticky.change')\r\n this.eventTriggerState = true\r\n }\r\n }\r\n }\r\n\r\n private getOption = (name: string) => {\r\n const dataStickyAttr = 'data-kt-sticky-' + name\r\n if (this.element.hasAttribute(dataStickyAttr) === true) {\r\n const attrValueInStr = this.element.getAttribute(dataStickyAttr)\r\n const attrValue = getAttributeValueByBreakpoint(attrValueInStr || '')\r\n if (attrValue !== null && String(attrValue) === 'true') {\r\n return true\r\n } else if (attrValue !== null && String(attrValue) === 'false') {\r\n return false\r\n }\r\n\r\n return attrValue\r\n } else {\r\n const optionName = stringSnakeToCamel(name)\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n }\r\n }\r\n }\r\n\r\n private disable = () => {\r\n ElementStyleUtil.remove(this.element, 'top')\r\n ElementStyleUtil.remove(this.element, 'width')\r\n ElementStyleUtil.remove(this.element, 'left')\r\n ElementStyleUtil.remove(this.element, 'right')\r\n ElementStyleUtil.remove(this.element, 'z-index')\r\n ElementStyleUtil.remove(this.element, 'position')\r\n }\r\n\r\n private enable = (update: boolean = false) => {\r\n const top = this.getOption('top')\r\n const left = this.getOption('left')\r\n // const right = this.getOption(\"right\");\r\n let width = this.getOption('width')\r\n const zindex = this.getOption('zindex')\r\n\r\n if (update !== true && this.getOption('animation') === true) {\r\n ElementStyleUtil.set(this.element, 'animationDuration', this.getOption('animationSpeed'))\r\n ElementAnimateUtil.animateClass(this.element, 'animation ' + this.getOption('animationClass'))\r\n }\r\n\r\n if (zindex !== null) {\r\n ElementStyleUtil.set(this.element, 'z-index', zindex)\r\n ElementStyleUtil.set(this.element, 'position', 'fixed')\r\n }\r\n\r\n if (top !== null) {\r\n ElementStyleUtil.set(this.element, 'top', top)\r\n }\r\n\r\n if (width !== null && width !== undefined) {\r\n const widthTarget = getObjectPropertyValueByKey(width, 'target')\r\n if (widthTarget) {\r\n const targetElement = document.querySelector(widthTarget)\r\n if (targetElement) {\r\n width = getCSS(targetElement, 'width')\r\n }\r\n }\r\n ElementStyleUtil.set(this.element, 'width', width)\r\n }\r\n\r\n if (left !== null) {\r\n if (String(left).toLowerCase() === 'auto') {\r\n var offsetLeft = getElementOffset(this.element).left\r\n\r\n if (offsetLeft > 0) {\r\n ElementStyleUtil.set(this.element, 'left', String(offsetLeft) + 'px')\r\n }\r\n }\r\n }\r\n }\r\n\r\n public update = () => {\r\n if (document.body.hasAttribute(this.attributeName) === true) {\r\n this.disable()\r\n document.body.removeAttribute(this.attributeName)\r\n this.enable(true)\r\n document.body.setAttribute(this.attributeName, 'on')\r\n }\r\n }\r\n\r\n // Event API\r\n public on = (name: string, callBack: Function) => {\r\n return EventHandlerUtil.on(this.element, name, callBack)\r\n }\r\n\r\n public one = (name: string, callback: Function) => {\r\n return EventHandlerUtil.one(this.element, name, callback)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string) => {\r\n return EventHandlerUtil.trigger(this.element, name)\r\n }\r\n\r\n // Static methods\r\n public static hasInstace(element: HTMLElement) {\r\n return DataUtil.has(element, 'sticky')\r\n }\r\n\r\n public static getInstance(element: HTMLElement) {\r\n if (element !== null && StickyComponent.hasInstace(element)) {\r\n return DataUtil.get(element, 'sticky')\r\n }\r\n }\r\n\r\n // Create Instances\r\n public static createInstances(selector: string) {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((element) => {\r\n const item = element as HTMLElement\r\n let sticky = StickyComponent.getInstance(item)\r\n if (!sticky) {\r\n sticky = new StickyComponent(item, defaultStickyOptions)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string,\r\n options: StickyOptions = defaultStickyOptions\r\n ): StickyComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let sticky = StickyComponent.getInstance(item)\r\n if (!sticky) {\r\n sticky = new StickyComponent(item, options)\r\n }\r\n return sticky\r\n }\r\n\r\n public static bootstrap(attr: string = '[data-kt-sticky=\"true\"]') {\r\n StickyComponent.createInstances(attr)\r\n }\r\n\r\n public static reInitialization(attr: string = '[data-kt-sticky=\"true\"]') {\r\n StickyComponent.createInstances(attr)\r\n }\r\n}\r\n\r\nexport { StickyComponent, defaultStickyOptions }\r\n","import { DataUtil, getUniqueIdWithPrefix, EventHandlerUtil } from '../_utils/index'\r\n// Helpers\r\nimport { CookieComponent } from './_CookieComponent'\r\n\r\nexport interface ToggleOptions {\r\n saveState: boolean\r\n targetState?: string\r\n toggleState?: string\r\n targetToggleMode?: string\r\n}\r\n\r\nconst defaultToggleOptions: ToggleOptions = {\r\n saveState: false,\r\n}\r\n\r\nclass ToggleComponent {\r\n element: HTMLElement\r\n instanceUid: string\r\n options: ToggleOptions\r\n state: string = ''\r\n target: HTMLElement | null = null\r\n attribute: string = ''\r\n\r\n constructor(_element: HTMLElement, options: ToggleOptions) {\r\n this.options = Object.assign(defaultToggleOptions, options)\r\n this.instanceUid = getUniqueIdWithPrefix('toggle')\r\n this.element = _element\r\n\r\n const elementTargetAttr = this.element.getAttribute('data-kt-toggle-target')\r\n if (elementTargetAttr) {\r\n this.target = document.querySelector(elementTargetAttr)\r\n }\r\n const elementToggleAttr = this.element.getAttribute('data-kt-toggle-state')\r\n this.state = elementToggleAttr || ''\r\n this.attribute = 'data-kt-' + this.element.getAttribute('data-kt-toggle-name')\r\n\r\n // Event Handlers\r\n this._handlers()\r\n\r\n // Update Instance\r\n // Bind Instance\r\n DataUtil.set(this.element, 'toggle', this)\r\n }\r\n\r\n private _handlers = () => {\r\n this.element.addEventListener('click', (e: Event) => {\r\n e.preventDefault()\r\n this._toggle()\r\n })\r\n }\r\n\r\n // Event handlers\r\n private _toggle = () => {\r\n // Trigger \"after.toggle\" event\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.change')\r\n\r\n if (this._isEnabled()) {\r\n this._disable()\r\n } else {\r\n this._enable()\r\n }\r\n\r\n // Trigger \"before.toggle\" event\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.changed')\r\n return this\r\n }\r\n\r\n private _enable = () => {\r\n if (this._isEnabled()) {\r\n return\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.enable')\r\n this.target?.setAttribute(this.attribute, 'on')\r\n if (this.state.length > 0) {\r\n this.element.classList.add(this.state)\r\n }\r\n\r\n if (this.options.saveState) {\r\n CookieComponent.set(this.attribute, 'on', {})\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.enabled')\r\n return this\r\n }\r\n\r\n private _disable = () => {\r\n if (!this._isEnabled()) {\r\n return false\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.disable')\r\n this.target?.removeAttribute(this.attribute)\r\n\r\n if (this.state.length > 0) {\r\n this.element.classList.remove(this.state)\r\n }\r\n\r\n if (this.options.saveState) {\r\n CookieComponent.delete(this.attribute)\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.toggle.disabled')\r\n return this\r\n }\r\n\r\n private _isEnabled = () => {\r\n if (!this.target) {\r\n return false\r\n }\r\n\r\n return String(this.target.getAttribute(this.attribute)).toLowerCase() === 'on'\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n\r\n // Plugin API\r\n // Plugin API\r\n public toggle = () => {\r\n return this._toggle()\r\n }\r\n\r\n public enable = () => {\r\n return this._enable()\r\n }\r\n\r\n public disable = () => {\r\n return this._disable()\r\n }\r\n\r\n public isEnabled = () => {\r\n return this._isEnabled()\r\n }\r\n\r\n public goElement = () => {\r\n return this.element\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string, event?: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event)\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (el: HTMLElement) => {\r\n const toggleElement = DataUtil.get(el, 'toggle')\r\n if (toggleElement) {\r\n return toggleElement\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (selector: string) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let toggleElement = ToggleComponent.getInstance(item)\r\n if (!toggleElement) {\r\n toggleElement = new ToggleComponent(item, defaultToggleOptions)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string,\r\n options: ToggleOptions = defaultToggleOptions\r\n ): ToggleComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let toggle = ToggleComponent.getInstance(item)\r\n if (!toggle) {\r\n toggle = new ToggleComponent(item, options)\r\n }\r\n return toggle\r\n }\r\n\r\n public static reinitialization = () => {\r\n ToggleComponent.createInstances('[data-kt-toggle]')\r\n }\r\n\r\n public static bootstrap = () => {\r\n ToggleComponent.createInstances('[data-kt-toggle]')\r\n }\r\n}\r\n\r\nexport { ToggleComponent, defaultToggleOptions }\r\n","/* eslint-disable array-callback-return */\r\n/* eslint-disable no-useless-escape */\r\nimport { DataUtil } from '../_utils/index'\r\n\r\nexport interface IPasswordMeterOptions {\r\n minLength: number\r\n checkUppercase: boolean\r\n checkLowercase: boolean\r\n checkDigit: boolean\r\n checkChar: boolean\r\n scoreHighlightClass: string\r\n}\r\n\r\nexport interface IPasswordMeterQueries {\r\n componentName: string\r\n instanseQuery: string\r\n inputQuery: string\r\n visibilityQuery: string\r\n highlightQuery: string\r\n}\r\n\r\nconst defaultPasswordMeterOptions = {\r\n minLength: 8,\r\n checkUppercase: true,\r\n checkLowercase: true,\r\n checkDigit: true,\r\n checkChar: true,\r\n scoreHighlightClass: 'active',\r\n}\r\n\r\nconst defaultPasswordMeterQueires: IPasswordMeterQueries = {\r\n componentName: 'password-meter',\r\n instanseQuery: '[data-kt-password-meter]',\r\n inputQuery: 'input[type]',\r\n visibilityQuery: '[data-kt-password-meter-control=\"visibility\"]',\r\n highlightQuery: '[data-kt-password-meter-control=\"highlight\"]',\r\n}\r\n\r\nclass PasswordMeterComponent {\r\n element: HTMLElement\r\n inputElement: HTMLInputElement | null\r\n visibilityElement: HTMLElement | null\r\n highlightElement: HTMLElement | null\r\n options: IPasswordMeterOptions\r\n queries: IPasswordMeterQueries\r\n score: number\r\n checkSteps: number\r\n\r\n constructor(\r\n _element: HTMLElement,\r\n _options: IPasswordMeterOptions,\r\n _queries: IPasswordMeterQueries\r\n ) {\r\n this.element = _element\r\n this.options = Object.assign(defaultPasswordMeterOptions, _options)\r\n this.queries = _queries\r\n this.score = 0\r\n this.checkSteps = 5\r\n\r\n // Elements\r\n this.inputElement = this.element.querySelector(this.queries.inputQuery)\r\n this.visibilityElement = this.element.querySelector(this.queries.visibilityQuery)\r\n this.highlightElement = this.element.querySelector(this.queries.highlightQuery)\r\n\r\n // Event Handlers\r\n this.handlers()\r\n\r\n DataUtil.set(this.element, this.queries.componentName, this)\r\n }\r\n\r\n private handlers(): void {\r\n if (this.inputElement) {\r\n this.inputElement.addEventListener('input', () => {\r\n this.check()\r\n })\r\n }\r\n\r\n if (this.visibilityElement) {\r\n this.visibilityElement.addEventListener('click', () => {\r\n this.visitbility()\r\n })\r\n }\r\n }\r\n\r\n private visitbility() {\r\n if (this.visibilityElement && this.inputElement) {\r\n const visibleIcon = this.visibilityElement.querySelector(\r\n 'i:not(.d-none), .svg-icon:not(.d-none)'\r\n )\r\n\r\n const hiddenIcon = this.visibilityElement.querySelector('i.d-none, .svg-icon.d-none')\r\n\r\n const typeAttr = this.inputElement.getAttribute('type') || ''\r\n\r\n if (typeAttr === 'password') {\r\n this.inputElement.setAttribute('type', 'text')\r\n } else {\r\n this.inputElement.setAttribute('type', 'password')\r\n }\r\n\r\n visibleIcon?.classList.add('d-none')\r\n hiddenIcon?.classList.remove('d-none')\r\n\r\n this.inputElement.focus()\r\n }\r\n }\r\n\r\n private checkScore(): number {\r\n return 0\r\n }\r\n\r\n private checkLength(): boolean {\r\n if (this.inputElement) {\r\n return this.inputElement.value.length >= this.options.minLength // 20 score\r\n }\r\n\r\n return false\r\n }\r\n\r\n private checkLowerCase(): boolean {\r\n const val = this.inputElement ? this.inputElement.value : ''\r\n return /[a-z]/.test(val) // 20 score\r\n }\r\n\r\n private checkUppercase(): boolean {\r\n const val = this.inputElement ? this.inputElement.value : ''\r\n return /[A-Z]/.test(val) // 20 score\r\n }\r\n\r\n private checkDigit(): boolean {\r\n const val = this.inputElement ? this.inputElement.value : ''\r\n return /[0-9]/.test(val) // 20 score\r\n }\r\n\r\n private checkChar(): boolean {\r\n const val = this.inputElement ? this.inputElement.value : ''\r\n return /[~`!#$%\\^&*+=\\-\\[\\]\\\\';,/{}|\\\\\":<>\\?]/g.test(val) // 20 score\r\n }\r\n\r\n private getCheckScore(): number {\r\n let count = 1\r\n if (this.options.checkUppercase) {\r\n count++\r\n }\r\n\r\n if (this.options.checkLowercase) {\r\n count++\r\n }\r\n\r\n if (this.options.checkDigit) {\r\n count++\r\n }\r\n\r\n if (this.options.checkChar) {\r\n count++\r\n }\r\n\r\n this.checkSteps = count\r\n return 100 / this.checkSteps\r\n }\r\n\r\n private highlight() {\r\n const items = this.highlightElement\r\n ? [].slice.call(this.highlightElement.querySelectorAll('div'))\r\n : []\r\n const total = items.length\r\n let index = 0\r\n const checkScore = this.getCheckScore()\r\n const score = this.getScore()\r\n\r\n items.map((item: HTMLElement) => {\r\n index++\r\n if (checkScore * index * (this.checkSteps / total) <= score) {\r\n item.classList.add('active')\r\n } else {\r\n item.classList.remove('active')\r\n }\r\n })\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public reset = () => {\r\n this.score = 0\r\n this.highlight()\r\n }\r\n\r\n public getScore() {\r\n return this.score\r\n }\r\n\r\n public check() {\r\n let score = 0\r\n const checkScore = this.checkScore()\r\n if (this.checkLength()) {\r\n score = score + checkScore\r\n }\r\n\r\n if (this.options.checkUppercase && this.checkLowerCase()) {\r\n score = score + checkScore\r\n }\r\n\r\n if (this.options.checkLowercase && this.checkUppercase()) {\r\n score = score + checkScore\r\n }\r\n\r\n if (this.options.checkDigit && this.checkDigit()) {\r\n score = score + checkScore\r\n }\r\n\r\n if (this.options.checkChar && this.checkChar()) {\r\n score = score + checkScore\r\n }\r\n\r\n this.score = score\r\n this.highlight()\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (\r\n el: HTMLElement,\r\n componentName: string = defaultPasswordMeterQueires.componentName\r\n ) => {\r\n const passwordMeter = DataUtil.get(el, componentName)\r\n if (passwordMeter) {\r\n return passwordMeter\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (\r\n selector: string = defaultPasswordMeterQueires.instanseQuery,\r\n options: IPasswordMeterOptions = defaultPasswordMeterOptions,\r\n queries: IPasswordMeterQueries = defaultPasswordMeterQueires\r\n ) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let passwordMeter = PasswordMeterComponent.getInstance(item)\r\n if (!passwordMeter) {\r\n passwordMeter = new PasswordMeterComponent(item, options, queries)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string = defaultPasswordMeterQueires.instanseQuery,\r\n options: IPasswordMeterOptions = defaultPasswordMeterOptions,\r\n queries: IPasswordMeterQueries = defaultPasswordMeterQueires\r\n ): PasswordMeterComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let passwordMeter = PasswordMeterComponent.getInstance(item)\r\n if (!passwordMeter) {\r\n passwordMeter = new PasswordMeterComponent(item, options, queries)\r\n }\r\n return passwordMeter\r\n }\r\n\r\n public static bootstrap = (selector: string = defaultPasswordMeterQueires.instanseQuery) => {\r\n PasswordMeterComponent.createInstances(selector)\r\n }\r\n\r\n public static reinitialization = (\r\n selector: string = defaultPasswordMeterQueires.instanseQuery\r\n ) => {\r\n PasswordMeterComponent.createInstances(selector)\r\n }\r\n}\r\nexport { PasswordMeterComponent, defaultPasswordMeterOptions, defaultPasswordMeterQueires }\r\n","import {\r\n getAttributeValueByBreakpoint,\r\n stringSnakeToCamel,\r\n getObjectPropertyValueByKey,\r\n EventHandlerUtil,\r\n throttle,\r\n} from '../_utils/index'\r\n\r\nexport class SwapperStore {\r\n static store: Map = new Map()\r\n\r\n public static set(instanceId: string, drawerComponentObj: SwapperComponent): void {\r\n if (SwapperStore.has(instanceId)) {\r\n return\r\n }\r\n\r\n SwapperStore.store.set(instanceId, drawerComponentObj)\r\n }\r\n\r\n public static get(instanceId: string): SwapperComponent | undefined {\r\n if (!SwapperStore.has(instanceId)) {\r\n return\r\n }\r\n return SwapperStore.store.get(instanceId)\r\n }\r\n\r\n public static remove(instanceId: string): void {\r\n if (!SwapperStore.has(instanceId)) {\r\n return\r\n }\r\n\r\n SwapperStore.store.delete(instanceId)\r\n }\r\n\r\n public static has(instanceId: string): boolean {\r\n return SwapperStore.store.has(instanceId)\r\n }\r\n\r\n public static getAllInstances() {\r\n return SwapperStore.store\r\n }\r\n}\r\n\r\nexport interface ISwapperOptions {\r\n mode: string\r\n}\r\n\r\nexport interface ISwapperQueries {\r\n componentName: string\r\n instanseQuery: string\r\n attrQuery: string\r\n}\r\n\r\nconst defaultSwapperOptions: ISwapperOptions = {\r\n mode: 'append',\r\n}\r\n\r\nconst defaultSwapperQueires: ISwapperQueries = {\r\n componentName: 'swapper',\r\n instanseQuery: '[data-kt-swapper=\"true\"]',\r\n attrQuery: 'data-kt-swapper-',\r\n}\r\n\r\nclass SwapperComponent {\r\n element: HTMLElement\r\n options: ISwapperOptions\r\n queries: ISwapperQueries\r\n\r\n constructor(_element: HTMLElement, _options: ISwapperOptions, _queries: ISwapperQueries) {\r\n this.element = _element\r\n this.options = Object.assign(defaultSwapperOptions, _options)\r\n this.queries = _queries\r\n\r\n // Initial update\r\n this.update()\r\n\r\n SwapperStore.set(this.element.id, this)\r\n }\r\n\r\n private getOption(name: string) {\r\n const attr = this.element.getAttribute(`${this.queries.attrQuery}${name}`)\r\n if (attr) {\r\n let value = getAttributeValueByBreakpoint(attr)\r\n if (attr != null && String(value) === 'true') {\r\n return true\r\n } else if (value !== null && String(value) === 'false') {\r\n return false\r\n }\r\n return value\r\n } else {\r\n const optionName = stringSnakeToCamel(name)\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n } else {\r\n return null\r\n }\r\n }\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public update = () => {\r\n const parentSelector = this.getOption('parent')?.toString()\r\n const mode = this.getOption('mode')\r\n const parentElement = parentSelector ? document.querySelector(parentSelector) : null\r\n\r\n if (parentElement && this.element.parentNode !== parentElement) {\r\n if (mode === 'prepend') {\r\n parentElement.prepend(this.element)\r\n } else if (mode === 'append') {\r\n parentElement.append(this.element)\r\n }\r\n }\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n public trigger = (name: string, event: Event) => {\r\n return EventHandlerUtil.trigger(this.element, name, event)\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (\r\n el: HTMLElement,\r\n componentName: string = defaultSwapperQueires.componentName\r\n ): SwapperComponent | null => {\r\n const place = SwapperStore.get(el.id)\r\n if (place) {\r\n return place as SwapperComponent\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (\r\n selector: string = defaultSwapperQueires.instanseQuery,\r\n options: ISwapperOptions = defaultSwapperOptions,\r\n queries: ISwapperQueries = defaultSwapperQueires\r\n ) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let place = SwapperComponent.getInstance(item)\r\n if (!place) {\r\n place = new SwapperComponent(item, options, queries)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string = defaultSwapperQueires.instanseQuery,\r\n options: ISwapperOptions = defaultSwapperOptions,\r\n queries: ISwapperQueries = defaultSwapperQueires\r\n ): SwapperComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let place = SwapperComponent.getInstance(item)\r\n if (!place) {\r\n place = new SwapperComponent(item, options, queries)\r\n }\r\n return place\r\n }\r\n\r\n public static bootstrap = (selector: string = defaultSwapperQueires.instanseQuery) => {\r\n SwapperComponent.createInstances(selector)\r\n }\r\n\r\n public static reinitialization = (selector: string = defaultSwapperQueires.instanseQuery) => {\r\n SwapperComponent.createInstances(selector)\r\n }\r\n}\r\n\r\n// Window resize handler\r\nwindow.addEventListener('resize', function () {\r\n let timer\r\n throttle(\r\n timer,\r\n () => {\r\n // Locate and update Offcanvas instances on window resize\r\n const elements = document.querySelectorAll(defaultSwapperQueires.instanseQuery)\r\n elements.forEach((el) => {\r\n const place = SwapperComponent.getInstance(el as HTMLElement)\r\n if (place) {\r\n place.update()\r\n }\r\n })\r\n },\r\n 200\r\n )\r\n})\r\n\r\nexport { SwapperComponent, defaultSwapperOptions, defaultSwapperQueires }\r\n","import { createPopper, VirtualElement } from '@popperjs/core';\r\nimport {\r\n getElementChild,\r\n getElementParents,\r\n getAttributeValueByBreakpoint,\r\n getUniqueIdWithPrefix,\r\n DataUtil,\r\n ElementStyleUtil,\r\n EventHandlerUtil,\r\n insertAfterElement,\r\n slideUp,\r\n slideDown,\r\n DOMEventHandlerUtil,\r\n throttle,\r\n getHighestZindex,\r\n} from '../_utils/index';\r\n\r\nexport interface MenuOptions {\r\n dropdown: {\r\n hoverTimeout: number;\r\n zindex: number;\r\n };\r\n accordion: {\r\n slideSpeed: number;\r\n expand: boolean;\r\n };\r\n}\r\n\r\nconst defaultMenuOptions: MenuOptions = {\r\n dropdown: {\r\n hoverTimeout: 200,\r\n zindex: 105,\r\n },\r\n accordion: {\r\n slideSpeed: 250,\r\n expand: false,\r\n },\r\n};\r\n\r\ntype PopperPlacement =\r\n | 'right'\r\n | 'auto'\r\n | 'auto-start'\r\n | 'auto-end'\r\n | 'top'\r\n | 'bottom'\r\n | 'left'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'right-start'\r\n | 'right-end'\r\n | 'left-start'\r\n | 'left-end'\r\n | undefined;\r\n\r\nclass MenuComponent {\r\n element: HTMLElement;\r\n options: MenuOptions;\r\n instanceUid: string;\r\n triggerElement: HTMLElement | null = null;\r\n\r\n constructor(_element: HTMLElement, options: MenuOptions) {\r\n this.element = _element;\r\n this.options = Object.assign(defaultMenuOptions, options);\r\n this.instanceUid = getUniqueIdWithPrefix('menu');\r\n // this.element.setAttribute('data-kt-menu', 'true')\r\n this._setTriggerElement();\r\n this._update();\r\n DataUtil.set(this.element, 'menu', this);\r\n return this;\r\n }\r\n\r\n // Set external trigger element\r\n private _setTriggerElement = () => {\r\n const target = document.querySelector(\r\n `[data-kt-menu-target=\"#${this.element.getAttribute('id')}\"`\r\n );\r\n\r\n if (target) {\r\n this.triggerElement = target as HTMLElement;\r\n } else if (this.element.closest('[data-kt-menu-trigger]')) {\r\n this.triggerElement = this.element.closest('[data-kt-menu-trigger]') as HTMLElement;\r\n } else if (\r\n this.element.parentNode &&\r\n getElementChild(this.element.parentNode as HTMLElement, '[data-kt-menu-trigger]')\r\n ) {\r\n const child = getElementChild(\r\n this.element.parentNode as HTMLElement,\r\n '[data-kt-menu-trigger]'\r\n );\r\n if (child) {\r\n this.triggerElement = child;\r\n }\r\n }\r\n\r\n if (this.triggerElement) {\r\n DataUtil.set(this.triggerElement, 'menu', this);\r\n }\r\n };\r\n\r\n // Test if menu has external trigger element\r\n private _isTriggerElement = (item: HTMLElement) => {\r\n return this.triggerElement === item;\r\n };\r\n\r\n // Get item option(through html attributes)\r\n private _getItemOption = (item: HTMLElement, name: string) => {\r\n let value: string | JSON | null | boolean = null;\r\n if (item && item.hasAttribute('data-kt-menu-' + name)) {\r\n const attr = item.getAttribute('data-kt-menu-' + name) || '';\r\n value = getAttributeValueByBreakpoint(attr);\r\n if (value !== null && String(value) === 'true') {\r\n value = true;\r\n } else if (value !== null && String(value) === 'false') {\r\n value = false;\r\n }\r\n }\r\n return value;\r\n };\r\n\r\n // Get item element\r\n private _getItemElement = (_element: HTMLElement) => {\r\n // Element is the external trigger element\r\n if (this._isTriggerElement(_element)) {\r\n return _element;\r\n }\r\n\r\n // Element has item toggler attribute\r\n if (_element.hasAttribute('data-kt-menu-trigger')) {\r\n return _element;\r\n }\r\n\r\n // Element has item DOM reference in it's data storage\r\n const itemElement = DataUtil.get(_element, 'item');\r\n if (itemElement) {\r\n return itemElement;\r\n }\r\n\r\n // Item is parent of element\r\n const item = _element.closest('.menu-item[data-kt-menu-trigger]');\r\n if (item) {\r\n return item;\r\n }\r\n\r\n // Element's parent has item DOM reference in it's data storage\r\n const sub = _element.closest('.menu-sub');\r\n if (sub) {\r\n const subItem = DataUtil.get(sub as HTMLElement, 'item');\r\n if (subItem) {\r\n return subItem;\r\n }\r\n }\r\n };\r\n\r\n // Get item parent element\r\n private _getItemParentElement = (item: HTMLElement) => {\r\n const sub = item.closest('.menu-sub');\r\n if (!sub) {\r\n return null;\r\n }\r\n\r\n const subItem = DataUtil.get(sub as HTMLElement, 'item');\r\n if (subItem) {\r\n return subItem;\r\n }\r\n\r\n const parentItem = sub.closest('.menu-item[data-kt-menu-trigger]');\r\n if (sub && parentItem) {\r\n return parentItem;\r\n }\r\n\r\n return null;\r\n };\r\n\r\n // Get item parent elements\r\n private _getItemParentElements = (item: HTMLElement) => {\r\n const parents: Array = [];\r\n let parent: Element;\r\n let i = 0;\r\n let buffer: HTMLElement = item;\r\n\r\n do {\r\n parent = this._getItemParentElement(buffer);\r\n if (parent) {\r\n parents.push(parent);\r\n buffer = parent as HTMLElement;\r\n }\r\n\r\n i++;\r\n } while (parent !== null && i < 20);\r\n\r\n if (this.triggerElement) {\r\n parents.unshift(this.triggerElement);\r\n }\r\n\r\n return parents;\r\n };\r\n\r\n // Prepare popper config for dropdown(see: https://popper.js.org/docs/v2/)\r\n private _getDropdownPopperConfig = (item: HTMLElement) => {\r\n // Placement\r\n const placementOption = this._getItemOption(item, 'placement');\r\n let placement: PopperPlacement = 'right';\r\n if (placementOption) {\r\n placement = placementOption as PopperPlacement;\r\n }\r\n\r\n // Flip\r\n // const flipValue = this._getItemOption(item, 'flip')\r\n // const flip = flipValue ? flipValue.toString().split(',') : []\r\n\r\n // Offset\r\n const offsetValue = this._getItemOption(item, 'offset');\r\n const offset = offsetValue ? offsetValue.toString().split(',') : [];\r\n\r\n // Strategy\r\n const strategy: 'absolute' | 'fixed' | undefined =\r\n this._getItemOption(item, 'overflow') === true ? 'absolute' : 'fixed';\r\n\r\n return {\r\n placement: placement,\r\n strategy: strategy,\r\n modifiers: [\r\n {\r\n name: 'offset',\r\n options: {\r\n offset: offset,\r\n },\r\n },\r\n {\r\n name: 'preventOverflow',\r\n },\r\n {\r\n name: 'flip',\r\n options: {\r\n // altBoundary: true,\r\n // fallbackPlacements: flip,\r\n flipVariations: false,\r\n },\r\n },\r\n ],\r\n };\r\n };\r\n\r\n // Get item child element\r\n private _getItemChildElement = (item: HTMLElement) => {\r\n let selector = item;\r\n\r\n const subItem = DataUtil.get(item, 'sub');\r\n if (subItem) {\r\n selector = subItem;\r\n }\r\n\r\n if (selector) {\r\n //element = selector.querySelector('.show.menu-item[data-kt-menu-trigger]');\r\n const element = selector.querySelector('.menu-item[data-kt-menu-trigger]');\r\n if (element) {\r\n return element;\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n // Get item child elements\r\n private _getItemChildElements = (item: HTMLElement) => {\r\n const children: Array = [];\r\n let child: Element | null;\r\n let i = 0;\r\n let buffer = item;\r\n do {\r\n child = this._getItemChildElement(buffer);\r\n if (child) {\r\n children.push(child);\r\n buffer = child as HTMLElement;\r\n }\r\n\r\n i++;\r\n } while (child !== null && i < 20);\r\n\r\n return children;\r\n };\r\n\r\n // Get item sub element\r\n private _getItemSubElement = (item: HTMLElement) => {\r\n if (!item) {\r\n return null;\r\n }\r\n\r\n if (this._isTriggerElement(item)) {\r\n return this.element;\r\n }\r\n\r\n if (item.classList.contains('menu-sub')) {\r\n return item;\r\n } else if (DataUtil.has(item, 'sub')) {\r\n return DataUtil.get(item, 'sub');\r\n } else {\r\n return getElementChild(item, '.menu-sub');\r\n }\r\n };\r\n\r\n private _getCss = (el: HTMLElement, styleProp: string) => {\r\n const defaultView = (el.ownerDocument || document).defaultView;\r\n if (!defaultView) {\r\n return '';\r\n }\r\n\r\n // sanitize property name to css notation\r\n // (hyphen separated words eg. font-Size)\r\n styleProp = styleProp.replace(/([A-Z])/g, '-$1').toLowerCase();\r\n\r\n return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);\r\n };\r\n\r\n // Get item sub type\r\n private _getItemSubType = (element: HTMLElement) => {\r\n const sub = this._getItemSubElement(element);\r\n if (sub && parseInt(this._getCss(sub, 'z-index')) > 0) {\r\n return 'dropdown';\r\n } else {\r\n return 'accordion';\r\n }\r\n };\r\n\r\n // Test if item's sub is shown\r\n private _isItemSubShown = (item: HTMLElement) => {\r\n let sub = this._getItemSubElement(item);\r\n if (sub) {\r\n if (this._getItemSubType(item) === 'dropdown') {\r\n return sub.classList.contains('show') && sub.hasAttribute('data-popper-placement');\r\n } else {\r\n return item.classList.contains('show');\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n // Test if item dropdown is permanent\r\n private _isItemDropdownPermanent = (item: HTMLElement) => {\r\n return this._getItemOption(item, 'permanent') === true;\r\n };\r\n\r\n // Test if item's parent is shown\r\n private _isItemParentShown = (item: HTMLElement) => {\r\n return getElementParents(item, '.menu-item.show').length > 0;\r\n };\r\n\r\n // Test of it is item sub element\r\n private _isItemSubElement = (item: HTMLElement) => {\r\n return item.classList.contains('menu-sub');\r\n };\r\n\r\n // Test if item has sub\r\n private _hasItemSub = (item: HTMLElement) => {\r\n return item.classList.contains('menu-item') && item.hasAttribute('data-kt-menu-trigger');\r\n };\r\n\r\n // Get link element\r\n private _getItemLinkElement = (item: HTMLElement) => {\r\n return getElementChild(item, '.menu-link');\r\n };\r\n\r\n // Get toggle element\r\n private _getItemToggleElement = (item: HTMLElement) => {\r\n if (this.triggerElement) {\r\n return this.triggerElement;\r\n }\r\n\r\n return this._getItemLinkElement(item);\r\n };\r\n\r\n // Show item dropdown\r\n private _showDropdown = (item: HTMLElement) => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.menu.dropdown.show') === false) {\r\n return;\r\n }\r\n\r\n // Hide all currently shown dropdowns except current one\r\n MenuComponent.hideDropdowns(item);\r\n\r\n // const toggle = this._isTriggerElement(item) ? item : this._getItemLinkElement(item);\r\n const sub = this._getItemSubElement(item);\r\n const width = this._getItemOption(item, 'width');\r\n const height = this._getItemOption(item, 'height');\r\n\r\n let zindex = this.options.dropdown.zindex;\r\n const parentZindex = getHighestZindex(item); // update\r\n // Apply a new z-index if dropdown's toggle element or it's parent has greater z-index // update\r\n if (parentZindex !== null && parentZindex >= zindex) {\r\n zindex = parentZindex + 1;\r\n }\r\n\r\n if (zindex) {\r\n ElementStyleUtil.set(sub, 'z-index', zindex);\r\n }\r\n\r\n if (width) {\r\n ElementStyleUtil.set(sub, 'width', width);\r\n }\r\n\r\n if (height) {\r\n ElementStyleUtil.set(sub, 'height', height);\r\n }\r\n\r\n this.initDropdownPopper(item, sub);\r\n\r\n item.classList.add('show');\r\n item.classList.add('menu-dropdown');\r\n sub.classList.add('show');\r\n\r\n // Append the sub the the root of the menu\r\n if (this._getItemOption(item, 'overflow') === true) {\r\n document.body.appendChild(sub);\r\n DataUtil.set(item, 'sub', sub);\r\n DataUtil.set(sub, 'item', item);\r\n DataUtil.set(sub, 'menu', this);\r\n } else {\r\n DataUtil.set(sub, 'item', item);\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.dropdown.shown');\r\n };\r\n\r\n // Init dropdown popper(new)\r\n private initDropdownPopper = (item: HTMLElement, sub: HTMLElement) => {\r\n // Setup popper instance\r\n let reference;\r\n const attach = this._getItemOption(item, 'attach') as string;\r\n\r\n if (attach) {\r\n if (attach === 'parent') {\r\n reference = item.parentNode;\r\n } else {\r\n reference = document.querySelector(attach);\r\n }\r\n } else {\r\n reference = item;\r\n }\r\n\r\n if (reference) {\r\n const popper = createPopper(\r\n reference as Element | VirtualElement,\r\n sub,\r\n this._getDropdownPopperConfig(item)\r\n );\r\n DataUtil.set(item, 'popper', popper);\r\n }\r\n };\r\n\r\n // Hide item dropdown\r\n private _hideDropdown = (item: HTMLElement) => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.menu.dropdown.hide') === false) {\r\n return;\r\n }\r\n\r\n const sub = this._getItemSubElement(item);\r\n ElementStyleUtil.set(sub, 'z-index', '');\r\n ElementStyleUtil.set(sub, 'width', '');\r\n ElementStyleUtil.set(sub, 'height', '');\r\n item.classList.remove('show');\r\n item.classList.remove('menu-dropdown');\r\n sub.classList.remove('show');\r\n\r\n // Append the sub back to it's parent\r\n if (this._getItemOption(item, 'overflow') === true) {\r\n if (item.classList.contains('menu-item')) {\r\n item.appendChild(sub);\r\n } else {\r\n insertAfterElement(this.element, item);\r\n }\r\n\r\n DataUtil.remove(item, 'sub');\r\n DataUtil.remove(sub, 'item');\r\n DataUtil.remove(sub, 'menu');\r\n }\r\n\r\n if (DataUtil.has(item, 'popper') === true) {\r\n DataUtil.get(item, 'popper').destroy();\r\n DataUtil.remove(item, 'popper');\r\n }\r\n\r\n // Destroy popper(new)\r\n this.destroyDropdownPopper(item);\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.dropdown.hidden');\r\n };\r\n\r\n // Destroy dropdown popper(new)\r\n private destroyDropdownPopper = (item: HTMLElement) => {\r\n if (DataUtil.has(item, 'popper') === true) {\r\n DataUtil.get(item, 'popper').destroy();\r\n DataUtil.remove(item, 'popper');\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.dropdown.hidden');\r\n };\r\n\r\n private _showAccordion = (item: HTMLElement) => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.menu.accordion.show') === false) {\r\n return;\r\n }\r\n\r\n if (this.options.accordion.expand === false) {\r\n this._hideAccordions(item);\r\n }\r\n\r\n if (DataUtil.has(item, 'popper') === true) {\r\n this._hideDropdown(item);\r\n }\r\n\r\n item.classList.add('hover'); // updateWW\r\n item.classList.add('showing');\r\n\r\n const subElement = this._getItemSubElement(item);\r\n if (subElement) {\r\n const sub = subElement as HTMLElement;\r\n slideDown(sub, this.options.accordion.slideSpeed, () => {\r\n item.classList.remove('showing');\r\n item.classList.add('show');\r\n sub.classList.add('show');\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.accordion.shown');\r\n });\r\n }\r\n };\r\n\r\n private _hideAccordion = (item: HTMLElement) => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.menu.accordion.hide') === false) {\r\n return;\r\n }\r\n\r\n const sub = this._getItemSubElement(item);\r\n item.classList.add('hiding');\r\n\r\n if (sub) {\r\n slideUp(sub, this.options.accordion.slideSpeed, () => {\r\n item.classList.remove('hiding');\r\n item.classList.remove('show');\r\n sub.classList.remove('show');\r\n item.classList.remove('hover'); // update\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.accordion.hidden');\r\n });\r\n }\r\n };\r\n\r\n // Hide all shown accordions of item\r\n private _hideAccordions = (item: HTMLElement) => {\r\n const itemsToHide = this.element.querySelectorAll('.show[data-kt-menu-trigger]');\r\n if (itemsToHide && itemsToHide.length > 0) {\r\n for (var i = 0, len = itemsToHide.length; i < len; i++) {\r\n const itemToHide = itemsToHide[i] as HTMLElement;\r\n\r\n if (\r\n this._getItemSubType(itemToHide) === 'accordion' &&\r\n itemToHide !== item &&\r\n item.contains(itemToHide) === false &&\r\n itemToHide.contains(item) === false\r\n ) {\r\n this._hideAccordion(itemToHide);\r\n }\r\n }\r\n }\r\n };\r\n\r\n // Event Handlers\r\n // Reset item state classes if item sub type changed\r\n private _reset = (item: HTMLElement) => {\r\n if (this._hasItemSub(item) === false) {\r\n return;\r\n }\r\n\r\n const sub = this._getItemSubElement(item);\r\n\r\n // Reset sub state if sub type is changed during the window resize\r\n if (DataUtil.has(item, 'type') && DataUtil.get(item, 'type') !== this._getItemSubType(item)) {\r\n // updated\r\n item.classList.remove('hover');\r\n item.classList.remove('show');\r\n item.classList.remove('show');\r\n if (sub && sub.removeClass) {\r\n sub.removeClass(sub, 'show');\r\n }\r\n } // updated\r\n };\r\n\r\n private _destroy = () => {};\r\n\r\n // Update all item state classes if item sub type changed\r\n private _update = () => {\r\n const items = this.element.querySelectorAll('.menu-item[data-kt-menu-trigger]');\r\n items.forEach((el) => this._reset(el as HTMLElement));\r\n };\r\n\r\n // Hide item sub\r\n private _hide = (item: HTMLElement) => {\r\n if (!item) {\r\n return;\r\n }\r\n\r\n if (this._isItemSubShown(item) === false) {\r\n return;\r\n }\r\n\r\n if (this._getItemSubType(item) === 'dropdown') {\r\n this._hideDropdown(item);\r\n } else if (this._getItemSubType(item) === 'accordion') {\r\n this._hideAccordion(item);\r\n }\r\n };\r\n\r\n // Show item sub\r\n private _show = (item: HTMLElement) => {\r\n if (!item) {\r\n return;\r\n }\r\n\r\n if (this._isItemSubShown(item) === true) {\r\n return;\r\n }\r\n\r\n if (this._getItemSubType(item) === 'dropdown') {\r\n this._showDropdown(item); // // show current dropdown\r\n } else if (this._getItemSubType(item) === 'accordion') {\r\n this._showAccordion(item);\r\n }\r\n\r\n // Remember last submenu type\r\n\r\n DataUtil.set(item, 'type', this._getItemSubType(item)); // updated\r\n };\r\n\r\n // Toggle item sub\r\n private _toggle = (item: HTMLElement) => {\r\n if (!item) {\r\n return;\r\n }\r\n\r\n if (this._isItemSubShown(item) === true) {\r\n this._hide(item);\r\n } else {\r\n this._show(item);\r\n }\r\n };\r\n\r\n // Mouseout handle\r\n private _mouseout = (element: HTMLElement, e: MouseEvent) => {\r\n const item = this._getItemElement(element);\r\n if (!item) {\r\n return;\r\n }\r\n\r\n if (this._getItemOption(item, 'trigger') !== 'hover') {\r\n return;\r\n }\r\n\r\n const timeout = setTimeout(() => {\r\n if (DataUtil.get(item, 'hover') === '1') {\r\n this._hide(item);\r\n }\r\n }, this.options.dropdown.hoverTimeout);\r\n\r\n DataUtil.set(item, 'hover', '1');\r\n DataUtil.set(item, 'timeout', timeout);\r\n };\r\n\r\n // Mouseover handle\r\n private _mouseover = (element: HTMLElement, e: MouseEvent) => {\r\n const item = this._getItemElement(element);\r\n if (!item) {\r\n return;\r\n }\r\n\r\n if (this._getItemOption(item, 'trigger') !== 'hover') {\r\n return;\r\n }\r\n\r\n if (DataUtil.get(item, 'hover') === '1') {\r\n clearTimeout(DataUtil.get(item, 'timeout'));\r\n DataUtil.remove(item, 'hover');\r\n DataUtil.remove(item, 'timeout');\r\n }\r\n\r\n this._show(item);\r\n };\r\n\r\n // Dismiss handler\r\n private _dismiss = (element: HTMLElement, e: Event) => {\r\n const item = this._getItemElement(element);\r\n const items = this._getItemChildElements(item);\r\n //if ( item !== null && _getItemOption(item, 'trigger') === 'click' && _getItemSubType(item) === 'dropdown' ) {\r\n const itemSubType = this._getItemSubType(item);\r\n if (item !== null && itemSubType === 'dropdown') {\r\n this._hide(item); // hide items dropdown\r\n\r\n // Hide all child elements as well\r\n if (items.length > 0) {\r\n for (let i = 0, len = items.length; i < len; i++) {\r\n //if ( _getItemOption(item, 'trigger') === 'click' && _getItemSubType(item) === 'dropdown' ) {\r\n if (items[i] !== null && this._getItemSubType(items[i] as HTMLElement) === 'dropdown') {\r\n this._hide(items[i] as HTMLElement);\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n // Link handler\r\n private _link = (element: HTMLElement, e: Event) => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.menu.link.click') === false) {\r\n return;\r\n }\r\n\r\n // Dismiss all shown dropdowns\r\n MenuComponent.hideDropdowns(undefined);\r\n EventHandlerUtil.trigger(this.element, 'kt.menu.link.clicked');\r\n };\r\n\r\n private _click = (element: HTMLElement, e: Event) => {\r\n e.preventDefault();\r\n const item = this._getItemElement(element);\r\n if (this._getItemOption(item, 'trigger') !== 'click') {\r\n return;\r\n }\r\n\r\n if (this._getItemOption(item, 'toggle') === false) {\r\n this._show(item);\r\n } else {\r\n this._toggle(item);\r\n }\r\n };\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n public click = (element: HTMLElement, e: Event) => {\r\n return this._click(element, e);\r\n };\r\n\r\n public link = (element: HTMLElement, e: Event) => {\r\n return this._link(element, e);\r\n };\r\n\r\n public dismiss = (element: HTMLElement, e: Event) => {\r\n return this._dismiss(element, e);\r\n };\r\n\r\n public mouseover = (element: HTMLElement, e: Event) => {\r\n return this._mouseover(element, e as MouseEvent);\r\n };\r\n\r\n public mouseout = (element: HTMLElement, e: Event) => {\r\n return this._mouseout(element, e as MouseEvent);\r\n };\r\n\r\n // General Methods\r\n public getItemTriggerType = (item: HTMLElement) => {\r\n return this._getItemOption(item, 'trigger');\r\n };\r\n\r\n public getItemSubType = (element: HTMLElement) => {\r\n return this._getItemSubType(element);\r\n };\r\n\r\n public show = (item: HTMLElement) => {\r\n return this._show(item);\r\n };\r\n\r\n public hide = (item: HTMLElement) => {\r\n return this._hide(item);\r\n };\r\n\r\n public reset = (item: HTMLElement) => {\r\n return this._reset(item);\r\n };\r\n\r\n public update = () => {\r\n return this._update();\r\n };\r\n\r\n public getElement = () => {\r\n return this.element;\r\n };\r\n\r\n public getItemLinkElement = (item: HTMLElement) => {\r\n return this._getItemLinkElement(item);\r\n };\r\n\r\n public getItemToggleElement = (item: HTMLElement) => {\r\n return this._getItemToggleElement(item);\r\n };\r\n\r\n public getItemSubElement = (item: HTMLElement) => {\r\n return this._getItemSubElement(item);\r\n };\r\n\r\n public getItemParentElements = (item: HTMLElement) => {\r\n return this._getItemParentElements(item);\r\n };\r\n\r\n public isItemSubShown = (item: HTMLElement) => {\r\n return this._isItemSubShown(item);\r\n };\r\n\r\n public isItemParentShown = (item: HTMLElement) => {\r\n return this._isItemParentShown(item);\r\n };\r\n\r\n public getTriggerElement = () => {\r\n return this.triggerElement;\r\n };\r\n\r\n public isItemDropdownPermanent = (item: HTMLElement) => {\r\n return this._isItemDropdownPermanent(item);\r\n };\r\n\r\n // Accordion Mode Methods\r\n public hideAccordions = (item: HTMLElement) => {\r\n return this._hideAccordions(item);\r\n };\r\n\r\n // Event API\r\n public on = (name: string, handler: any) => {\r\n return EventHandlerUtil.on(this.element, name, handler);\r\n };\r\n\r\n public one = (name: string, handler: any) => {\r\n return EventHandlerUtil.one(this.element, name, handler);\r\n };\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name);\r\n };\r\n\r\n // public static methods\r\n // Get KTMenu instance by element\r\n public static getInstance = (element: HTMLElement) => {\r\n // Element has menu DOM reference in it's DATA storage\r\n const elementMenu = DataUtil.get(element, 'menu');\r\n if (elementMenu) {\r\n return elementMenu;\r\n }\r\n\r\n // Element has .menu parent\r\n const menu = element.closest('.menu');\r\n if (menu) {\r\n const menuData = DataUtil.get(menu as HTMLElement, 'menu');\r\n if (menuData) {\r\n return menuData;\r\n }\r\n }\r\n\r\n // Element has a parent with DOM reference to .menu in it's DATA storage\r\n if (element.classList.contains('menu-link')) {\r\n const sub = element.closest('.menu-sub');\r\n if (sub) {\r\n const subMenu = DataUtil.get(sub as HTMLElement, 'menu');\r\n if (subMenu) {\r\n return subMenu;\r\n }\r\n }\r\n }\r\n\r\n return null;\r\n };\r\n\r\n // Hide all dropdowns and skip one if provided\r\n public static hideDropdowns = (skip: HTMLElement | undefined) => {\r\n const items = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]');\r\n\r\n if (items && items.length > 0) {\r\n for (let i = 0, len = items.length; i < len; i++) {\r\n const item = items[i];\r\n const menu = MenuComponent.getInstance(item as HTMLElement);\r\n\r\n if (menu && menu.getItemSubType(item) === 'dropdown') {\r\n if (skip) {\r\n if (\r\n menu.getItemSubElement(item).contains(skip) === false &&\r\n item.contains(skip) === false &&\r\n item !== skip\r\n ) {\r\n menu.hide(item);\r\n }\r\n } else {\r\n menu.hide(item);\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n public static updateDropdowns = () => {\r\n const items = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]');\r\n if (items && items.length > 0) {\r\n for (var i = 0, len = items.length; i < len; i++) {\r\n var item = items[i];\r\n\r\n if (DataUtil.has(item as HTMLElement, 'popper')) {\r\n DataUtil.get(item as HTMLElement, 'popper').forceUpdate();\r\n }\r\n }\r\n }\r\n };\r\n\r\n // Global handlers\r\n public static createInstances = (selector: string) => {\r\n // Initialize menus\r\n document.querySelectorAll(selector).forEach((el) => {\r\n const menuItem = el as HTMLElement;\r\n let menuInstance = MenuComponent.getInstance(menuItem);\r\n if (!menuInstance) {\r\n menuInstance = new MenuComponent(el as HTMLElement, defaultMenuOptions);\r\n }\r\n });\r\n };\r\n\r\n public static initGlobalHandlers = () => {\r\n // Dropdown handler\r\n document.addEventListener('click', (e) => {\r\n const menuItems = document.querySelectorAll('.show.menu-dropdown[data-kt-menu-trigger]');\r\n if (menuItems && menuItems.length > 0) {\r\n for (let i = 0; i < menuItems.length; i++) {\r\n const item = menuItems[i] as HTMLElement;\r\n const menuObj = MenuComponent.getInstance(item) as MenuComponent;\r\n if (menuObj && menuObj.getItemSubType(item) === 'dropdown') {\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n const menu = menuObj.getElement();\r\n const sub = menuObj.getItemSubElement(item) as HTMLElement;\r\n if (item === e.target || item.contains(e.target as HTMLElement)) {\r\n continue;\r\n }\r\n\r\n if (sub && (sub === e.target || sub.contains(e.target as HTMLElement))) {\r\n continue;\r\n }\r\n menuObj.hide(item);\r\n }\r\n }\r\n }\r\n });\r\n\r\n // Sub toggle handler\r\n DOMEventHandlerUtil.on(\r\n document.body,\r\n '.menu-item[data-kt-menu-trigger] > .menu-link, [data-kt-menu-trigger]:not(.menu-item):not([data-kt-menu-trigger=\"auto\"])',\r\n 'click',\r\n function (this: HTMLElement, e: Event) {\r\n const menu = MenuComponent.getInstance(this) as MenuComponent;\r\n if (menu) {\r\n return menu.click(this, e);\r\n }\r\n }\r\n );\r\n\r\n // // Link handler\r\n DOMEventHandlerUtil.on(\r\n document.body,\r\n '.menu-item:not([data-kt-menu-trigger]) > .menu-link',\r\n 'click',\r\n function (this: HTMLElement, e: Event) {\r\n e.stopPropagation();\r\n const menu = MenuComponent.getInstance(this);\r\n if (menu && menu.link) {\r\n return menu.link(this, e);\r\n }\r\n }\r\n );\r\n\r\n // Dismiss handler\r\n DOMEventHandlerUtil.on(\r\n document.body,\r\n '[data-kt-menu-dismiss=\"true\"]',\r\n 'click',\r\n function (this: HTMLElement, e: Event) {\r\n const menu = MenuComponent.getInstance(this) as MenuComponent;\r\n if (menu) {\r\n return menu.dismiss(this, e);\r\n }\r\n }\r\n );\r\n\r\n // Mouseover handler\r\n DOMEventHandlerUtil.on(\r\n document.body,\r\n '[data-kt-menu-trigger], .menu-sub',\r\n 'mouseover',\r\n function (this: HTMLElement, e: Event) {\r\n const menu = MenuComponent.getInstance(this) as MenuComponent;\r\n if (menu && menu.getItemSubType(this) === 'dropdown') {\r\n return menu.mouseover(this, e);\r\n }\r\n }\r\n );\r\n\r\n // Mouseout handler\r\n DOMEventHandlerUtil.on(\r\n document.body,\r\n '[data-kt-menu-trigger], .menu-sub',\r\n 'mouseout',\r\n function (this: HTMLElement, e: Event) {\r\n const menu = MenuComponent.getInstance(this) as MenuComponent;\r\n if (menu && menu.getItemSubType(this) === 'dropdown') {\r\n return menu.mouseout(this, e);\r\n }\r\n }\r\n );\r\n\r\n // Resize handler\r\n window.addEventListener('resize', () => {\r\n let timer;\r\n throttle(\r\n timer,\r\n () => {\r\n // Locate and update Drawer instances on window resize\r\n const elements = document.querySelectorAll('[data-kt-menu=\"true\"]');\r\n elements.forEach((el) => {\r\n const menu = MenuComponent.getInstance(el as HTMLElement);\r\n if (menu) {\r\n menu.update();\r\n }\r\n });\r\n },\r\n 200\r\n );\r\n });\r\n };\r\n\r\n public static bootstrap = () => {\r\n MenuComponent.initGlobalHandlers();\r\n MenuComponent.createInstances('[data-kt-menu=\"true\"]');\r\n };\r\n\r\n public static reinitialization = () => {\r\n MenuComponent.createInstances('[data-kt-menu=\"true\"]');\r\n };\r\n\r\n public static createInsance = (\r\n selector: string,\r\n options: MenuOptions = defaultMenuOptions\r\n ): MenuComponent | undefined => {\r\n const element = document.body.querySelector(selector);\r\n if (!element) {\r\n return;\r\n }\r\n const item = element as HTMLElement;\r\n let menu = MenuComponent.getInstance(item);\r\n if (!menu) {\r\n menu = new MenuComponent(item, options);\r\n }\r\n return menu;\r\n };\r\n}\r\n\r\nexport { MenuComponent, defaultMenuOptions };\r\n","import {\r\n EventHandlerUtil,\r\n DataUtil,\r\n getBreakpoint,\r\n getAttributeValueByBreakpoint,\r\n stringSnakeToCamel,\r\n getObjectPropertyValueByKey,\r\n getViewPort,\r\n isVisibleElement,\r\n throttle,\r\n} from '../_utils/index'\r\n\r\nimport { MenuComponent, defaultMenuOptions } from './MenuComponent'\r\n\r\nexport interface ISearchOptions {\r\n minLength: number // Miniam text lenght to query search\r\n keypress: boolean // Enable search on keypress\r\n enter: boolean // Enable search on enter key press\r\n layout: 'menu' | 'inline' // Use 'menu' or 'inline' layout options to display search results\r\n responsive?: number // Pass integer value or bootstrap compatible breakpoint key(sm,md,lg,xl,xxl) to enable reponsive form mode for device width below the breakpoint value\r\n showOnFocus: boolean // Always show menu on input focus\r\n}\r\n\r\nexport interface ISearchQueries {\r\n componentName: string\r\n instanseQuery: string\r\n attrQuery: string\r\n}\r\n\r\nconst defaultSearchOptions: ISearchOptions = {\r\n minLength: 2, // Miniam text lenght to query search\r\n keypress: true, // Enable search on keypress\r\n enter: true, // Enable search on enter key press\r\n layout: 'menu', // Use 'menu' or 'inline' layout options to display search results\r\n showOnFocus: true, // Always show menu on input focus\r\n}\r\n\r\nconst defaultSearchQueires: ISearchQueries = {\r\n componentName: 'search',\r\n instanseQuery: '[data-kt-search]',\r\n attrQuery: 'data-kt-search-',\r\n}\r\n\r\nclass SearchComponent {\r\n element: HTMLElement\r\n contentElement: HTMLElement\r\n formElement: HTMLFormElement\r\n inputElement: HTMLInputElement\r\n spinnerElement: HTMLElement\r\n clearElement: HTMLElement\r\n toggleElement: HTMLElement\r\n submitElement: HTMLElement\r\n toolbarElement: HTMLElement\r\n resultsElement: HTMLElement\r\n suggestionElement: HTMLElement\r\n emptyElement: HTMLElement\r\n layout: any\r\n\r\n options: ISearchOptions\r\n queries: ISearchQueries\r\n\r\n processing: boolean = false\r\n menuObject: MenuComponent | undefined\r\n\r\n constructor(_element: HTMLElement, _options: ISearchOptions, _queries: ISearchQueries) {\r\n // Variables\r\n this.options = Object.assign(defaultSearchOptions, _options)\r\n this.queries = _queries\r\n\r\n // Elements\r\n this.element = _element\r\n this.contentElement = this._getElement('content') as HTMLElement\r\n this.formElement = this._getElement('form') as HTMLFormElement\r\n this.inputElement = this._getElement('input') as HTMLInputElement\r\n this.spinnerElement = this._getElement('spinner') as HTMLElement\r\n this.clearElement = this._getElement('clear') as HTMLElement\r\n this.toggleElement = this._getElement('toggle') as HTMLElement\r\n this.submitElement = this._getElement('submit') as HTMLElement\r\n this.toolbarElement = this._getElement('toolbar') as HTMLElement\r\n\r\n this.resultsElement = this._getElement('results') as HTMLElement\r\n this.suggestionElement = this._getElement('suggestion') as HTMLElement\r\n this.emptyElement = this._getElement('empty') as HTMLElement\r\n\r\n // Layout\r\n this.layout = this.getOption('layout')\r\n if (this.layout === 'menu') {\r\n this.menuObject = new MenuComponent(this.contentElement, defaultMenuOptions)\r\n }\r\n\r\n // Update\r\n this.update()\r\n\r\n // Event Handlers\r\n this.handlers()\r\n\r\n DataUtil.set(this.element, this.queries.componentName, this)\r\n }\r\n\r\n private _getElement = (name: string) => {\r\n return this.element.querySelector('[data-kt-search-element=\"' + name + '\"]')\r\n }\r\n\r\n // Get option\r\n private getOption = (name: string) => {\r\n const attr = this.element.getAttribute(`${this.queries.attrQuery}${name}`)\r\n if (attr) {\r\n let value = getAttributeValueByBreakpoint(attr)\r\n\r\n if (value !== null && String(value) === 'true') {\r\n return true\r\n } else if (value !== null && String(value) === 'false') {\r\n return false\r\n }\r\n\r\n return value\r\n } else {\r\n const optionName = stringSnakeToCamel(name)\r\n\r\n const option = getObjectPropertyValueByKey(this.options, optionName)\r\n if (option) {\r\n return getAttributeValueByBreakpoint(option)\r\n } else {\r\n return null\r\n }\r\n }\r\n }\r\n\r\n // Check if responsive form mode is enabled\r\n private getResponsiveFormMode = () => {\r\n const responsive = this.getOption('responsive') as string\r\n const width = getViewPort().width\r\n\r\n if (!responsive) {\r\n return null\r\n }\r\n\r\n const breakpoint = getBreakpoint(responsive)\r\n let breakPointNum = -1\r\n if (!breakpoint) {\r\n breakPointNum = parseInt(responsive)\r\n } else {\r\n breakPointNum = +breakpoint\r\n }\r\n\r\n if (width < breakPointNum) {\r\n return 'on'\r\n } else {\r\n return 'off'\r\n }\r\n }\r\n\r\n // Focus\r\n private focus = () => {\r\n this.element.classList.add('focus')\r\n\r\n if (\r\n this.getOption('show-on-focus') === true ||\r\n this.inputElement.value.length >= this.options.minLength\r\n ) {\r\n this.show()\r\n }\r\n }\r\n\r\n // Blur\r\n private blur = () => {\r\n this.element.classList.remove('focus')\r\n }\r\n\r\n // Enter\r\n private enter = (e: KeyboardEvent) => {\r\n const key = e.charCode || e.keyCode || 0\r\n\r\n if (key === 13) {\r\n e.preventDefault()\r\n\r\n this.search()\r\n }\r\n }\r\n\r\n // Input\r\n private input = () => {\r\n if (this.getOption('min-length')) {\r\n const minLength = parseInt(this.getOption('min-length') as string)\r\n\r\n if (this.inputElement.value.length >= minLength) {\r\n this.search()\r\n } else if (this.inputElement.value.length === 0) {\r\n this.clear()\r\n }\r\n }\r\n }\r\n\r\n private handlers(): void {\r\n // Focus\r\n this.inputElement.addEventListener('focus', this.focus)\r\n\r\n // Blur\r\n this.inputElement.addEventListener('blur', this.blur)\r\n\r\n // Keypress\r\n if (this.getOption('keypress') === true) {\r\n this.inputElement.addEventListener('input', this.input)\r\n }\r\n\r\n // Submit\r\n if (this.submitElement) {\r\n this.submitElement.addEventListener('click', this.search)\r\n }\r\n\r\n // Enter\r\n if (this.getOption('enter') === true) {\r\n this.inputElement.addEventListener('keypress', this.enter)\r\n }\r\n\r\n // Clear\r\n if (this.clearElement) {\r\n this.clearElement.addEventListener('click', this.clear)\r\n }\r\n\r\n // Menu\r\n if (this.menuObject) {\r\n // Toggle menu\r\n if (this.toggleElement) {\r\n this.toggleElement.addEventListener('click', this.show)\r\n\r\n this.menuObject.on('kt.menu.dropdown.show', function () {\r\n // @ts-ignore\r\n if (isVisibleElement(this.toggleElement)) {\r\n // @ts-ignore\r\n this.toggleElement.classList.add('active')\r\n // @ts-ignore\r\n this.toggleElement.classList.add('show')\r\n }\r\n })\r\n\r\n this.menuObject.on('kt.menu.dropdown.hide', function () {\r\n // @ts-ignore\r\n if (isVisibleElement(this.toggleElement)) {\r\n // @ts-ignore\r\n this.toggleElement.classList.remove('active')\r\n // @ts-ignore\r\n this.toggleElement.classList.remove('show')\r\n }\r\n })\r\n }\r\n\r\n this.menuObject.on('kt.menu.dropdown.shown', function () {\r\n // @ts-ignore\r\n this.inputElement.focus()\r\n })\r\n }\r\n\r\n // Window resize handling\r\n window.addEventListener('resize', () => {\r\n let timer\r\n\r\n throttle(\r\n timer,\r\n () => {\r\n this.update()\r\n },\r\n 200\r\n )\r\n })\r\n }\r\n\r\n ///////////////////////\r\n // ** Public API ** //\r\n ///////////////////////\r\n // Update\r\n public update = () => {\r\n // Handle responsive form\r\n if (this.layout === 'menu') {\r\n let responsiveFormMode = this.getResponsiveFormMode()\r\n\r\n if (responsiveFormMode === 'on' && this.contentElement.contains(this.formElement) === false) {\r\n this.contentElement.prepend(this.formElement)\r\n this.formElement.classList.remove('d-none')\r\n } else if (\r\n responsiveFormMode === 'off' &&\r\n this.contentElement.contains(this.formElement) === true\r\n ) {\r\n this.element.prepend(this.formElement)\r\n this.formElement.classList.add('d-none')\r\n }\r\n }\r\n }\r\n\r\n // Show menu\r\n public show = () => {\r\n if (this.menuObject) {\r\n this.update()\r\n\r\n this.menuObject.show(this.element)\r\n }\r\n }\r\n\r\n // Hide menu\r\n public hide = () => {\r\n if (this.menuObject) {\r\n this.update()\r\n\r\n this.menuObject.hide(this.element)\r\n }\r\n }\r\n\r\n // Search\r\n public search = () => {\r\n if (this.processing === false) {\r\n // Show search spinner\r\n if (this.spinnerElement) {\r\n this.spinnerElement.classList.remove('d-none')\r\n }\r\n\r\n // Hide search clear button\r\n if (this.clearElement) {\r\n this.clearElement.classList.add('d-none')\r\n }\r\n\r\n // Hide search toolbar\r\n if (this.toolbarElement) {\r\n this.toolbarElement.classList.add('d-none')\r\n }\r\n\r\n // Focus input\r\n this.inputElement.focus()\r\n\r\n this.processing = true\r\n EventHandlerUtil.trigger(this.element, 'kt.search.process')\r\n }\r\n }\r\n\r\n // Complete\r\n public complete = () => {\r\n if (this.spinnerElement) {\r\n this.spinnerElement.classList.add('d-none')\r\n }\r\n\r\n // Show search toolbar\r\n if (this.clearElement) {\r\n this.clearElement.classList.remove('d-none')\r\n }\r\n\r\n if (this.inputElement.value.length === 0) {\r\n this.clear()\r\n }\r\n\r\n // Focus input\r\n this.inputElement.focus()\r\n\r\n this.show()\r\n\r\n this.processing = false\r\n }\r\n\r\n // Clear\r\n public clear = () => {\r\n if (EventHandlerUtil.trigger(this.element, 'kt.search.clear') === false) {\r\n return\r\n }\r\n\r\n // Clear and focus input\r\n this.inputElement.value = ''\r\n this.inputElement.focus()\r\n\r\n // Hide clear icon\r\n if (this.clearElement) {\r\n this.clearElement.classList.add('d-none')\r\n }\r\n\r\n // Show search toolbar\r\n if (this.toolbarElement) {\r\n this.toolbarElement.classList.remove('d-none')\r\n }\r\n\r\n // Hide menu\r\n if (this.getOption('show-on-focus') === false) {\r\n this.hide()\r\n }\r\n\r\n EventHandlerUtil.trigger(this.element, 'kt.search.cleared')\r\n }\r\n\r\n public isProcessing = () => {\r\n return this.processing\r\n }\r\n\r\n public getQuery = () => {\r\n return this.inputElement.value\r\n }\r\n\r\n public getMenu = () => {\r\n return this.menuObject\r\n }\r\n\r\n public getFormElement = () => {\r\n return this.formElement\r\n }\r\n\r\n public getInputElement(): HTMLInputElement {\r\n return this.inputElement\r\n }\r\n\r\n public getContentElement(): HTMLElement {\r\n return this.contentElement\r\n }\r\n\r\n public getElement(): HTMLElement {\r\n return this.element\r\n }\r\n\r\n // Event API\r\n public on = (name: string, handler: Function) => {\r\n return EventHandlerUtil.on(this.element, name, handler)\r\n }\r\n\r\n public one = (name: string, handler: Function) => {\r\n return EventHandlerUtil.one(this.element, name, handler)\r\n }\r\n\r\n public off = (name: string) => {\r\n return EventHandlerUtil.off(this.element, name)\r\n }\r\n\r\n // Static methods\r\n public static getInstance = (\r\n el: HTMLElement,\r\n componentName: string = defaultSearchQueires.componentName\r\n ) => {\r\n const Search = DataUtil.get(el, componentName)\r\n if (Search) {\r\n return Search\r\n }\r\n\r\n return null\r\n }\r\n\r\n public static createInstances = (\r\n selector: string = defaultSearchQueires.instanseQuery,\r\n options: ISearchOptions = defaultSearchOptions,\r\n queries: ISearchQueries = defaultSearchQueires\r\n ) => {\r\n const elements = document.body.querySelectorAll(selector)\r\n elements.forEach((el) => {\r\n const item = el as HTMLElement\r\n let Search = SearchComponent.getInstance(item)\r\n if (!Search) {\r\n Search = new SearchComponent(item, options, queries)\r\n }\r\n })\r\n }\r\n\r\n public static createInsance = (\r\n selector: string = defaultSearchQueires.instanseQuery,\r\n options: ISearchOptions = defaultSearchOptions,\r\n queries: ISearchQueries = defaultSearchQueires\r\n ): SearchComponent | undefined => {\r\n const element = document.body.querySelector(selector)\r\n if (!element) {\r\n return\r\n }\r\n const item = element as HTMLElement\r\n let Search = SearchComponent.getInstance(item)\r\n if (!Search) {\r\n Search = new SearchComponent(item, options, queries)\r\n }\r\n return Search\r\n }\r\n\r\n public static bootstrap = (selector: string = defaultSearchQueires.instanseQuery) => {\r\n SearchComponent.createInstances(selector)\r\n }\r\n\r\n public static reinitialization = (selector: string = defaultSearchQueires.instanseQuery) => {\r\n SearchComponent.createInstances(selector)\r\n }\r\n}\r\n\r\nexport { SearchComponent, defaultSearchOptions, defaultSearchQueires }\r\n","import React, { useEffect, useRef } from 'react'\r\nimport { useLocation } from 'react-router-dom'\r\nimport {\r\n // ScrollComponent,\r\n ScrollTopComponent,\r\n MenuComponent,\r\n DrawerComponent,\r\n ToggleComponent,\r\n StickyComponent,\r\n} from '../../assets/ts/components'\r\nimport { KTSVG } from '../../helpers'\r\n\r\nexport function ScrollTop() {\r\n const { pathname } = useLocation()\r\n const isFirstRun = useRef(true)\r\n\r\n const pluginsReinitialization = () => {\r\n setTimeout(() => {\r\n // ScrollTopComponent.reinitialization()\r\n MenuComponent.reinitialization()\r\n StickyComponent.reInitialization()\r\n setTimeout(() => {\r\n ToggleComponent.reinitialization()\r\n DrawerComponent.reinitialization()\r\n // ScrollComponent.reinitialization()\r\n }, 70)\r\n }, 140)\r\n }\r\n\r\n const scrollTop = () => {\r\n ScrollTopComponent.goTop()\r\n }\r\n\r\n const updateHeaderSticky = () => {\r\n const stickyHeader = document.body.querySelectorAll(`[data-kt-sticky-name=\"header\"]`)\r\n if (stickyHeader && stickyHeader.length > 0) {\r\n const sticky = StickyComponent.getInstance(stickyHeader[0] as HTMLElement)\r\n if (sticky) {\r\n sticky.update()\r\n }\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (isFirstRun.current) {\r\n isFirstRun.current = false\r\n } else {\r\n pluginsReinitialization()\r\n }\r\n\r\n updateHeaderSticky()\r\n setTimeout(() => {\r\n scrollTop()\r\n }, 0)\r\n }, [pathname])\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n","import { useEffect, useRef } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\nimport {\r\n MenuComponent,\r\n DrawerComponent,\r\n ScrollComponent,\r\n ScrollTopComponent,\r\n StickyComponent,\r\n ToggleComponent,\r\n SwapperComponent,\r\n} from '../assets/ts/components';\r\n\r\nimport { useLayout } from './core';\r\n\r\nexport function MasterInit() {\r\n const location = useLocation();\r\n const { config } = useLayout();\r\n const isFirstRun = useRef(true);\r\n const pluginsInitialization = () => {\r\n isFirstRun.current = false;\r\n setTimeout(() => {\r\n ToggleComponent.bootstrap();\r\n ScrollTopComponent.bootstrap();\r\n DrawerComponent.bootstrap();\r\n StickyComponent.bootstrap();\r\n MenuComponent.bootstrap();\r\n ScrollComponent.bootstrap();\r\n SwapperComponent.bootstrap();\r\n }, 300);\r\n };\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n ToggleComponent.reinitialization();\r\n ScrollTopComponent.reinitialization();\r\n DrawerComponent.reinitialization();\r\n MenuComponent.reinitialization();\r\n ScrollComponent.reinitialization();\r\n SwapperComponent.reinitialization();\r\n }, 300);\r\n }, [location]);\r\n\r\n useEffect(() => {\r\n if (isFirstRun.current) {\r\n isFirstRun.current = false;\r\n pluginsInitialization();\r\n }\r\n }, [config]);\r\n\r\n return <>;\r\n}\r\n","/**\n * @name PrivateRoutes\n * @exports\n * @description\n * @type {*}\n *\n */\nexport const PrivateRoutes = {\n /* -------------------------------------------------------------------------- */\n /* NOTE: (IN A COMPANY) ROUTES */\n /* -------------------------------------------------------------------------- */\n /* --------------------------------- USER PRFOILE --------------------------- */\n UserLinkedProfile: `/c/:companySlug/user-profile`,\n /* --------------------------------- Company -------------------------------- */\n companyHomePage: `/c/:companySlug/dashboard`,\n Companies: '/c/:companySlug/companies',\n companyDetailsView: '/c/:companySlug/settings/companydetails',\n companyDetailsEdit: '/c/:companySlug/settings/companydetails/edit',\n // companyDetailsProfile: '/c/:companySlug/details/:detailTab',\n // companyDetailsProfileEdit: '/c/:companySlug/details/:detailTab/edit',\n // companyDetailsBranding: '/c/:companySlug/details/branding',\n /* -------------------------------- Roles -------------------------------- */\n companyRoles: '/c/:companySlug/settings/roles',\n companyRoleAdd: '/c/:companySlug/settings/roles/add',\n companyRoleView: `/c/:companySlug/settings/roles/:roleId`,\n companyRoleEdit: `/c/:companySlug/settings/roles/:roleId/edit`,\n /* -------------------------------- Company Added --------------------------- */\n NewCompanyAdded: '/c/:companySlug/settings/company-added',\n /* ---------------------------------- users --------------------------------- */\n Users: '/c/:companySlug/company-management/users',\n UsersEdit: '/c/:companySlug/company-management/users/:userId/edit',\n UsersView: '/c/:companySlug/company-management/users/:userId',\n UsersAdd: '/c/:companySlug/company-management/users/invite-users',\n /* --------------------------------- clients third_party -------------------------------- */\n Clients: '/c/:companySlug/company-management/clients-and-vendors',\n ClientsEdit: '/c/:companySlug/company-management/clients-and-vendors/:clientId/edit',\n ClientsView: '/c/:companySlug/company-management/clients-and-vendors/:clientId',\n ClientsAdd: '/c/:companySlug/company-management/clients-and-vendors/add',\n ClientsImport: '/c/:companySlug/company-management/clients-and-vendors/import',\n /* --------------------------------- Groups --------------------------------- */\n UsersGroups: '/c/:companySlug/groups/users/users-groups',\n UsersGroupAddEdit: '/c/:companySlug/groups/users/cu-users-group',\n ClientsGroups: '/c/:companySlug/groups/clients/clients-groups',\n ClientsGroupAddEdit: '/c/:companySlug/groups/clients/cu-clients-group',\n /* -------------------------------- products -------------------------------- */\n Products: '/c/:companySlug/company-management/products',\n ProductsEdit: '/c/:companySlug/company-management/products/:productId/edit',\n ProductsView: '/c/:companySlug/company-management/products/:productId',\n ProductsAdd: '/c/:companySlug/company-management/products/create',\n /* -------------------------------- invoices -------------------------------- */\n // Invoices: '/c/:companySlug/invoices-tax-module/invoices',\n // InvoicesImport: '/c/:companySlug/invoices-tax-module/invoices/import',\n // InvoicesEdit: '/c/:companySlug/invoices-tax-module/invoices/:invoiceId/edit',\n // SalesInvoicesAdd: '/c/:companySlug/invoices-tax-module/invoices/sale/create',\n // PurchasesInvoicesAdd: '/c/:companySlug/invoices-tax-module/invoices/purchase/create',\n // ReturnSalesInvoicesAdd: '/c/:companySlug/invoices-tax-module/invoices/createreturnsale',\n // ReturnPurchasesInvoicesAdd: '/c/:companySlug/invoices-tax-module/invoices/createreturnpurchase',\n // SalesInvoicesView: '/c/:companySlug/invoices-tax-module/invoices/sale/:invoiceId',\n // PurchasesInvoicesView: '/c/:companySlug/invoices-tax-module/invoices/purchase/:invoiceId',\n // ReturnSalesInvoicesView: '/c/:companySlug/invoices-tax-module/invoices/returnsale/:invoiceId',\n // ReturnPurchasesInvoicesView:\n // '/c/:companySlug/invoices-tax-module/invoices/returnpurchase/:invoiceId',\n // SalesInvoicesEdit: '/c/:companySlug/invoices-tax-module/invoices/sale/:invoiceId/edit',\n // PurchasesInvoicesEdit: '/c/:companySlug/invoices-tax-module/invoices/purchase/:invoiceId/edit',\n // ReturnSalesInvoicesEdit:\n // '/c/:companySlug/invoices-tax-module/invoices/returnsale/:invoiceId/edit',\n // ReturnPurchasesInvoicesEdit:\n // '/c/:companySlug/invoices-tax-module/invoices/returnpurchase/:invoiceId/edit',\n /* -------------------------------- Sales invoices -------------------------------- */\n SalesInvoices: '/c/:companySlug/financial-management/sales-invoices',\n SalesInvoicesImport: '/c/:companySlug/financial-management/sales-invoices/import',\n SalesInvoicesAdd: '/c/:companySlug/financial-management/sales-invoices/sale/create',\n ReturnSalesInvoicesAdd: '/c/:companySlug/financial-management/sales-invoices/createreturnsale',\n SalesInvoicesView: '/c/:companySlug/financial-management/sales-invoices/sale/:invoiceId',\n ReturnSalesInvoicesView:\n '/c/:companySlug/financial-management/sales-invoices/returnsale/:invoiceId',\n SalesInvoicesEdit: '/c/:companySlug/financial-management/sales-invoices/sale/:invoiceId/edit',\n ReturnSalesInvoicesEdit:\n '/c/:companySlug/financial-management/sales-invoices/returnsale/:invoiceId/edit',\n /* -------------------------------- Purchases invoices -------------------------------- */\n PurchasesInvoices: '/c/:companySlug/financial-management/purchases-invoices',\n PurchasesInvoicesImport: '/c/:companySlug/financial-management/purchases-invoices/import',\n PurchasesInvoicesAdd: '/c/:companySlug/financial-management/purchases-invoices/purchase/create',\n ReturnPurchasesInvoicesAdd:\n '/c/:companySlug/financial-management/purchases-invoices/createreturnpurchase',\n PurchasesInvoicesView:\n '/c/:companySlug/financial-management/purchases-invoices/purchase/:invoiceId',\n ReturnPurchasesInvoicesView:\n '/c/:companySlug/financial-management/purchases-invoices/returnpurchase/:invoiceId',\n PurchasesInvoicesEdit:\n '/c/:companySlug/financial-management/purchases-invoices/purchase/:invoiceId/edit',\n ReturnPurchasesInvoicesEdit:\n '/c/:companySlug/financial-management/purchases-invoices/returnpurchase/:invoiceId/edit',\n /* --------------------------------invoice line items -------------------------------- */\n LineItems: '/c/:companySlug/financial-management/lineitems',\n LineItemsView: '/c/:companySlug/financial-management/lineitems/:lineItemId',\n /* -------------------------------- templates -------------------------------- */\n Templates: '/c/:companySlug/templates',\n TemplateCreate: '/c/:companySlug/templates/create',\n TemplateUpdate: '/c/:companySlug/templates/update/:templateId',\n TemplatesEdit: '/c/:companySlug/templates/:productId/edit',\n TemplatesView: '/c/:companySlug/templates/:productId',\n TemplatesAdd: '/c/:companySlug/templates/add',\n TemplatePreviewConfigurations: '/c/:companySlug/templates/preview-configurations/:templateId',\n TemplateEditConfigurations: '/c/:companySlug/templates/preview-configurations/:templateId/edit',\n CustomVariablesWrapper: '/c/:companySlug/custom-variables',\n CustomVariablesWrapperCreate: '/c/:companySlug/custom-variables/create',\n /* -------------------------------- documents -------------------------------- */\n Documents: '/c/:companySlug/documents',\n DocumentCreate: '/c/:companySlug/documents/create',\n DocumentUpdate: '/c/:companySlug/documents/update/:documentId',\n DocumentsEdit: '/c/:companySlug/documents/:productId/edit',\n DocumentsView: '/c/:companySlug/documents/:productId',\n DocumentsAdd: '/c/:companySlug/documents/add',\n DocumentsReview: '/c/:companySlug/doc-review',\n /* -------------------------------- sales -------------------------------- */\n Sales: '/c/:companySlug/tax-module/sales',\n SalesEdit: '/c/:companySlug/tax-module/sales/:salesId/edit',\n SalesView: '/c/:companySlug/tax-module/sales/:salesId',\n SalesCreate: '/c/:companySlug/tax-module/sales/create',\n SalesImport: '/c/:companySlug/tax-module/sales/import',\n /* -------------------------------- sales return -------------------------------- */\n SalesReturn: '/c/:companySlug/tax-module/salesreturn',\n SalesReturnView: '/c/:companySlug/tax-module/salesreturn/:salesId',\n SalesReturnEdit: '/c/:companySlug/tax-module/salesreturn/:salesId/edit',\n /* -------------------------------- sales invoice line items -------------------------------- */\n // SalesLineItems: '/c/:companySlug/financial-management/lineitems/sales',\n // SalesLineItemsView: '/c/:companySlug/financial-management/lineitems/sales/:salesId',\n /* -------------------------------- purchases -------------------------------- */\n Purchases: '/c/:companySlug/tax-module/purchases',\n PurchasesEdit: '/c/:companySlug/tax-module/purchases/:purchaseId/edit',\n PurchasesView: '/c/:companySlug/tax-module/purchases/:purchaseId',\n PurchasesCreate: '/c/:companySlug/tax-module/purchases/create',\n PurchasesImport: '/c/:companySlug/tax-module/purchases/import',\n /* -------------------------------- purchases return -------------------------------- */\n PurchasesReturn: '/c/:companySlug/tax-module/purchasesreturn',\n PurchasesReturnView: '/c/:companySlug/tax-module/purchasesreturn/:purchaseId',\n PurchasesReturnEdit: '/c/:companySlug/tax-module/purchasesreturn/:purchaseId/edit',\n /* -------------------------------- sales invoice line items -------------------------------- */\n // PurchasesLineItems: '/c/:companySlug/financial-management/lineitems/purchases',\n // PurchasesLineItemsView: '/c/:companySlug/financial-management/lineitems/purchases/:purchaseId',\n /* -------------------------------- Reports -------------------------------- */\n Reports: '/c/:companySlug/tax-module/reports',\n ReportsEdit: '/c/:companySlug/tax-module/reports/:reportsId/edit',\n ReportsView: '/c/:companySlug/tax-module/reports/:reportsId',\n ReportsCreate: '/c/:companySlug/tax-module/reports/create',\n /* -------------------------------- Invoices Reports -------------------------------- */\n InvoicesReports: '/c/:companySlug/invoices-tax-module/reports',\n InvoicesReportsEdit: '/c/:companySlug/invoices-tax-module/reports/:reportsId/edit',\n InvoicesReportsView: '/c/:companySlug/invoices-tax-module/reports/:reportsId',\n InvoicesReportsCreate: '/c/:companySlug/invoices-tax-module/reports/create',\n /* -------------------------------- Withholding Reports -------------------------------- */\n WithholdingReports: '/c/:companySlug/tax-module/withholdingreports',\n WithholdingReportsEdit: '/c/:companySlug/tax-module/withholdingreports/:reportsId/edit',\n WithholdingReportsView: '/c/:companySlug/tax-module/withholdingreports/:reportsId',\n WithholdingReportsCreate: '/c/:companySlug/tax-module/withholdingreports/create',\n /* -------------------------------- Invoices Withholding Reports -------------------------------- */\n InvoicesWithholdingReports: '/c/:companySlug/invoices-tax-module/withholdingreports',\n InvoicesWithholdingReportsCreate: '/c/:companySlug/invoices-tax-module/withholdingreports/create',\n InvoicesWithholdingReportsView:\n '/c/:companySlug/invoices-tax-module/withholdingreports/:reportsId',\n InvoicesWithholdingReportsEdit:\n '/c/:companySlug/invoices-tax-module/withholdingreports/:reportsId/edit',\n /* -------------------------------- Transactions -------------------------------- */\n Transactions:\n '/c/:companySlug/tax-module/reports/:reportsId/invoicestype/:invoicesType/transactions/:transactionCodeType',\n InvoicesReportsTransactions:\n '/c/:companySlug/invoices-tax-module/reports/:reportsId/invoicestype/:invoicesType/transactions/:transactionCodeType',\n WithholdingTransactions:\n '/c/:companySlug/tax-module/withholdingreports/:reportsId/invoicestype/:invoicesType/transactions/:transactionCodeType',\n InvoicesWithholdingReportsTransactions:\n '/c/:companySlug/invoices-tax-module/withholdingreports/:reportsId/invoicestype/:invoicesType/transactions/:transactionCodeType',\n /* ----------------------------------- Log ---------------------------------- */\n AuditLog: '/c/:companySlug/settings/audit-log',\n /* -------------------------------------------------------------------------- */\n /* NOTE: (Out of a company) ROUTES */\n /* -------------------------------------------------------------------------- */\n /* ---------------------------- documents to sign --------------------------- */\n DocumentToViewViaCompany: '/c/:companySlug/d/documents',\n DocumentsToSign: '/d/documents',\n TakingAction: '/d/documents/:documentId',\n /* --------------------------------- General -------------------------------- */\n Homepage: '/',\n companiesList: '/companies',\n UserProfileView: '/user-profile',\n UserProfileEdit: '/user-profile/edit',\n UserCompaniesView: '/user-companies',\n // Menus Reidrections and others\n Builder: '/builder',\n verification: '/verification',\n};\n\nexport const AdminRoutes = {\n // Menu Items\n AdminDashboard: '/admin/dashboard',\n Companies: '/admin/companies',\n AdminCompanyDetailsView: '/admin/companies/:companyId',\n CompaniesDeletionRequests: '/admin/deletion-requests',\n SubscriptionPlans: '/admin/subscription-plans',\n createSubscriptionPlans: '/admin/subscription-plans/create',\n ViewSubscriptionPlans: '/admin/subscription-plans/:subscriptionPlanId',\n EditSubscriptionPlans: '/admin/subscription-plans/:subscriptionPlanId/edit',\n Users: '/admin/users',\n UserInfo: '/admin/users/:userId',\n UserEdit: '/admin/users/:userId/edit',\n AboutUs: '/admin/about-us',\n TermsConditions: '/admin/terms-conditions',\n VatRates: '/admin/vat-rates',\n VatRatesCreate: '/admin/vat-rates/create',\n VatRatesView: '/admin/vat-rates/:vatRateId',\n VatRatesEdit: '/admin/vat-rates/:vatRateId/edit',\n // VatRateDetailsCreate: '/admin/vat-rates/:detailTab/create',\n // VatRatesView: '/admin/vat-rates/:vatRateId',\n CodeRules: '/admin/code-rules',\n ViewCodeRules: '/admin/code-rules/:codeRuleId',\n EditCodeRules: '/admin/code-rules/:codeRuleId/edit',\n CodeRulesCreate: '/admin/code-rule/create',\n Transactions: '/admin/transactions',\n TransactionInfo: '/admin/transactions/:transactionId',\n TransactionEdit: '/admin/transactions/:transactionId/edit',\n};\n\nexport const PublicRoutes = {\n login: '/auth/login',\n opt: '/auth/opt',\n signup: '/auth/signup',\n verify: '/verify',\n forgetPassword: '/auth/forgot-password',\n resetPassword: '/auth/reset-password',\n signDocument: '/document',\n about: '/about',\n TermsAndConditions: '/terms-conditions',\n /* ----------------------------- Client document ---------------------------- */\n NonRegisteredClientDocument: '/p/:type/documents/:documentId',\n};\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport _ from 'lodash';\n\nimport { ActionWithPayload } from '../interface/ActionWithPayload';\nimport { Permission } from '../pages/roles/types/permission';\nimport { CurrentCompanyUser } from '../types/CompanyTypes';\n\nexport enum ICurrentCompanyTypes {\n SET_CURRENT_COMPANY = 'SET_CURRENT_COMPANY',\n CLOSE_CURRENT_COMPANY = 'CLOSE_CURRENT_COMPANY',\n}\n\ninterface ICurrentCompanyState {\n current?: CurrentCompanyUser;\n permissions?: Permission[];\n}\n\nconst initialModalState: ICurrentCompanyState = {\n current: undefined,\n permissions: [],\n};\n\nexport const reducer = persistReducer(\n { storage, key: 'currentCompany', whitelist: ['current', 'permissions'] },\n (\n state: ICurrentCompanyState = initialModalState,\n action: ActionWithPayload\n ) => {\n switch (action.type) {\n case ICurrentCompanyTypes.SET_CURRENT_COMPANY:\n return {\n ...state,\n current: action.payload?.current,\n permissions: action.payload?.permissions,\n };\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n setCurrentCompany: (current: CurrentCompanyUser) => {\n return {\n type: ICurrentCompanyTypes.SET_CURRENT_COMPANY,\n payload: {\n current: current,\n permissions: _.uniq(\n current?.user?.roles\n .map((role) => role.permissions.map((permission) => permission.name))\n .flat()\n ),\n },\n };\n },\n};\n","import React from 'react';\r\nimport clsx from 'clsx';\r\nimport { useLocation } from 'react-router';\r\nimport { checkIsActive, KTSVG } from '../../../helpers';\r\nimport { useLayout } from '../../core';\r\n\r\ntype Props = {\r\n to: string;\r\n title: string;\r\n icon?: string;\r\n fontIcon?: JSX.Element | string;\r\n hasBullet?: boolean;\r\n linkId?: string;\r\n};\r\n\r\nconst AsideMenuItemWithSub: React.FC = ({\r\n children,\r\n to,\r\n title,\r\n icon,\r\n fontIcon,\r\n hasBullet,\r\n linkId,\r\n}) => {\r\n const { pathname } = useLocation();\r\n const isActive = checkIsActive(pathname, to);\r\n const { config } = useLayout();\r\n const { aside } = config;\r\n\r\n return (\r\n \r\n \r\n {hasBullet && (\r\n \r\n \r\n \r\n )}\r\n {fontIcon && typeof fontIcon === 'string' ? (\r\n \r\n \r\n \r\n ) : (\r\n fontIcon\r\n )}\r\n {!fontIcon && icon && aside.menuIcon === 'svg' && (\r\n \r\n \r\n \r\n )}\r\n {fontIcon && aside.menuIcon === 'font' && }\r\n {title}\r\n \r\n \r\n
\r\n {children}\r\n
\r\n \r\n );\r\n};\r\n\r\nexport { AsideMenuItemWithSub };\r\n","import React from 'react';\r\nimport clsx from 'clsx';\r\nimport { Link } from 'react-router-dom';\r\nimport { useLocation } from 'react-router';\r\nimport { checkIsActive, KTSVG } from '../../../helpers';\r\nimport { useLayout } from '../../core';\r\n\r\ntype Props = {\r\n to: string;\r\n title: string;\r\n icon?: string;\r\n fontIcon?: JSX.Element | string;\r\n hasBullet?: boolean;\r\n linkId?: string;\r\n};\r\n\r\nconst AsideMenuItem: React.FC = ({\r\n children,\r\n to,\r\n title,\r\n icon,\r\n fontIcon,\r\n hasBullet = false,\r\n linkId,\r\n}) => {\r\n const { pathname } = useLocation();\r\n const isActive = checkIsActive(pathname, to);\r\n const { config } = useLayout();\r\n const { aside } = config;\r\n\r\n return (\r\n
\r\n \r\n {hasBullet && (\r\n \r\n \r\n \r\n )}\r\n {fontIcon && typeof fontIcon === 'string' ? (\r\n \r\n \r\n \r\n ) : (\r\n fontIcon\r\n )}\r\n {!fontIcon && icon && aside.menuIcon === 'svg' && (\r\n \r\n \r\n \r\n )}\r\n {title}\r\n \r\n {children}\r\n
\r\n );\r\n};\r\n\r\nexport { AsideMenuItem };\r\n","import { AxiosError, AxiosResponse } from 'axios';\nimport { AxiosConfig } from '../apis';\n// import { toast } from 'react-toastify';\n// import { useIntl } from 'react-intl';\n// import { useHistory } from 'react-router-dom';\n\nexport const isHandlerEnabled = (config: AxiosConfig) => {\n return Object.prototype.hasOwnProperty.call(config, 'handlerEnabled') && !config.handlerEnabled\n ? false\n : true;\n};\n\nexport const requestHandler = (request: AxiosConfig) => {\n return request;\n};\n\nexport const successHandler = (response: AxiosResponse) => {\n if (isHandlerEnabled(response)) {\n // Do what ever is needed\n }\n return response;\n};\n\nexport const errorHandler = (error: AxiosError) => {\n // console.log(error.response);\n\n if (isHandlerEnabled(error.config)) {\n // Do what ever is needed\n if (error.response?.status === 401 || error.response?.status === 403) {\n if (error.response.status === 401) {\n // Logout if unauthorized\n // localStorage.clear();\n localStorage.removeItem('persist:auth');\n localStorage.removeItem('presist:user');\n localStorage.removeItem('rememberUser');\n window.location.reload();\n // console.log('Unauthorized');\n } else if (error.response.status === 403) {\n // console.log(error.response.data.message);\n // const { formatMessage } = useIntl();\n // const history = useHistory();\n\n // go to home page if forbidden\n window.location.replace('/');\n\n // toast.error(\n // formatMessage({\n // id: `${\n // error.response?.data?.message\n // ? error.response?.data?.message\n // : 'Either you are not authorized to view this page or this document has a newer version'\n // }`,\n // })\n // );\n // history.push('/');\n // document.location.reload();\n // console.log('Forbidden');\n }\n } else if (error.response?.status === 500) {\n // console.log('Internal Server Error');\n window.location.replace('error/500');\n } else if (error.response?.status === 404) {\n // console.log('Not Found');\n window.location.replace('error/404');\n }\n }\n return Promise.reject({ ...error });\n};\n","import axios, { AxiosRequestConfig, AxiosInstance } from 'axios';\nimport { requestHandler, successHandler, errorHandler } from '../interceptors';\n\nexport interface AxiosConfig extends AxiosRequestConfig {\n handlerEnabled?: boolean;\n}\n\nconst config: AxiosConfig = {\n // ?Base url backend url looks like `somedomain.com/v1`\n baseURL: process.env.REACT_APP_BACKEND_BASE_URL + '/v' + process.env.REACT_APP_BACKEND_VERSION,\n};\n\nexport const axiosInstance: AxiosInstance = axios.create(config);\n\naxiosInstance.defaults.withCredentials = true;\n\naxiosInstance.interceptors.request.use((request) => requestHandler(request));\n\naxiosInstance.interceptors.response.use(\n (response) => successHandler(response),\n (error) => errorHandler(error)\n);\n","import { useEffect } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { toast } from 'react-toastify';\n\nimport * as CurrentCompany from '../../app/store/CurrentCompanyRedux';\nimport { axiosInstance } from '../../network/apis';\n\nimport { RootState } from '../../setup/redux/Store';\nimport { UserModel } from '../modules/auth/models/UserModel';\nimport { CurrentCompanyUser } from '../types/CompanyTypes';\nimport { Permission } from '../types/types';\n\nexport const usePermissions = (\n doThis?: Permission | Permission[],\n doWhat: string = 'visit this page',\n path: string = '/',\n redirectionId: string = 'companyPage'\n) => {\n const { formatMessage } = useIntl();\n const history = useHistory();\n const params: any = useParams();\n const dispatch = useDispatch();\n\n const currentCompanyUser: CurrentCompanyUser = useSelector(\n (state) => state.current.current,\n shallowEqual\n ) as CurrentCompanyUser;\n\n\n useEffect(() => {\n if (params?.companySlug && params?.companySlug !== currentCompanyUser?.company?.slug) {\n const getData = async () => {\n const response = await axiosInstance.post(`${params?.companySlug}/switch`);\n await dispatch(CurrentCompany.actions.setCurrentCompany({ ...response.data }));\n };\n\n getData();\n }\n }, []);\n /* ------------------------- getting data from store ------------------------ */\n const user: UserModel = useSelector((state) => state.auth.user) as UserModel;\n\n const permissions: Permission[] = useSelector(\n (state) => state.current.permissions\n ) as Permission[];\n\n /* ----------------------- end getting data from store ---------------------- */\n\n const userCan = (permission: Permission): boolean => {\n return (\n permissions.includes(permission) ||\n (permission === 'super_admin' && !!user?.isSuperAdmin) ||\n (permission === 'is_owner' &&\n !!(currentCompanyUser?.user?.id === currentCompanyUser?.company?.owner?.id)) ||\n permission === 'all_users'\n );\n };\n\n const userCanNot = (permissions: Permission[] | Permission) => {\n if (Array.isArray(permissions)) {\n return permissions.every((permission) => !userCan(permission));\n }\n if (typeof permissions === 'string') {\n return !userCan(permissions);\n }\n };\n\n const userOrOwnerCan = (permission: Permission) => {\n return (\n userCan(permission) ||\n permission === 'all_users' ||\n currentCompanyUser?.user?.id === currentCompanyUser?.company?.owner?.id\n );\n };\n\n /* ----------------- redirect user if we provide a condition ---------------- */\n useEffect(() => {\n if (doThis && userCanNot(doThis)) {\n toast.info(\n formatMessage({ id: 'not_allowed_to_do' }) +\n formatMessage({ id: doWhat }).toLowerCase() +\n '. ' +\n formatMessage({ id: \"you'llBeReidrectedTo\" }) +\n ' ' +\n formatMessage({ id: redirectionId }),\n {\n position: 'top-center',\n theme: 'light',\n }\n );\n history.push(path);\n }\n }, [doThis]);\n /* --------------- end redirect user if we provide a condition ---------------- */\n\n return {\n permissions,\n isCompanyOwner: currentCompanyUser?.user?.id === currentCompanyUser?.company?.owner?.id,\n isSuperAdmin: user?.isSuperAdmin,\n userCan,\n userCanNot,\n userOrOwnerCan,\n };\n};\n","import { useState } from 'react';\nimport { Permission } from '../../app/types/types';\nimport { ICompany } from '../../app/types/companies';\nimport { shallowEqual, useSelector } from 'react-redux';\nimport { RootState } from '../../setup/redux/Store';\n// import { PrivateRoutes } from './ROUTES';\n\ninterface sideMenuItem {\n to: string;\n icon?: string;\n titleId: string;\n fontIcon?: JSX.Element | string | undefined;\n minimumPermissions: Permission[];\n children?: Array<{\n to: string;\n titleId: string;\n hasBullet: boolean;\n minimumPermissions?: Permission[];\n disabled?: boolean;\n }>;\n}\nfunction useAsideMenuMainItems() {\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n const [sideMenuMainItems, setSideMenuMainItems] = useState([\n // ... your main menu items\n {\n to: '/dashboard',\n titleId: 'Dashboard',\n fontIcon: 'far fa-tachometer-fast',\n minimumPermissions: ['all_users'],\n },\n {\n to: '/settings',\n titleId: 'Settings',\n fontIcon: 'far fa-building',\n minimumPermissions: ['view-company'],\n children: [\n {\n to: '/settings/companydetails',\n titleId: 'Company Details',\n hasBullet: true,\n minimumPermissions: ['view-company'],\n },\n {\n to: '/settings/roles',\n titleId: 'Roles',\n hasBullet: true,\n minimumPermissions: ['view-role'],\n },\n {\n to: '/settings/audit-log',\n titleId: 'View Audit Log',\n hasBullet: true,\n minimumPermissions: ['is_owner'],\n },\n ],\n },\n {\n to: '/company-management',\n titleId: 'Company management',\n fontIcon: 'far fa-user',\n minimumPermissions: ['view-user', 'view-product', 'view-client', 'view-third_party'],\n children: [\n {\n to: '/company-management/products',\n titleId: 'Products',\n hasBullet: true,\n minimumPermissions: ['view-product'],\n },\n {\n to: '/company-management/users',\n titleId: 'Users',\n hasBullet: true,\n minimumPermissions: ['view-user'],\n },\n {\n to: '/company-management/clients-and-vendors',\n titleId: 'Clients & Vendors',\n hasBullet: true,\n minimumPermissions: ['view-client', 'view-third_party'],\n },\n ],\n },\n {\n to: '/financial-management',\n titleId: 'Financial management',\n fontIcon: 'far fa-chart-bar',\n minimumPermissions: ['view-invoice'],\n children: [\n {\n to: '/financial-management/sales-invoices',\n titleId: 'Sales invoices',\n hasBullet: true,\n minimumPermissions: ['view-invoice'],\n },\n {\n to: '/financial-management/purchases-invoices',\n titleId: 'Purchases invoices',\n hasBullet: true,\n minimumPermissions: ['view-invoice'],\n disabled: companyDetails ? !companyDetails?.settings?.vat_registered : false,\n },\n {\n to: '/financial-management/lineitems',\n titleId: 'Line items',\n hasBullet: true,\n minimumPermissions: ['view-invoice'],\n },\n ],\n },\n {\n to: '/invoices-tax-module',\n titleId: 'Tax',\n fontIcon: 'far fa-percent',\n minimumPermissions: ['view-report'],\n children: [\n {\n to: '/invoices-tax-module/reports',\n titleId: 'VAT',\n hasBullet: true,\n minimumPermissions: ['view-report'],\n },\n {\n to: '/invoices-tax-module/withholdingreports',\n titleId: 'Withholding Reports',\n hasBullet: true,\n minimumPermissions: ['view-report'],\n },\n ],\n },\n {\n to: '/dashboard/document',\n titleId: 'Documents',\n fontIcon: 'far fa-file-alt',\n minimumPermissions: ['view-document'],\n children: [\n {\n to: '/documents',\n titleId: 'Documents',\n hasBullet: true,\n minimumPermissions: ['view-document'],\n },\n {\n to: '/doc-review',\n titleId: 'to review/sign',\n hasBullet: true,\n minimumPermissions: ['review-document', 'sign-document'],\n },\n ],\n },\n {\n to: '/dashboard/template',\n titleId: 'Templates',\n fontIcon: 'far fa-file-plus',\n // User who can create a document should be able to view template\n minimumPermissions: ['view-template', 'create-document'],\n children: [\n {\n to: '/templates',\n titleId: 'Templates',\n hasBullet: true,\n // User who can create a document should be able to view template\n minimumPermissions: ['view-template', 'create-document'],\n },\n {\n to: '/custom-variables',\n titleId: 'Custom Variables',\n hasBullet: true,\n minimumPermissions: ['create-document'],\n },\n ],\n },\n ]);\n\n const [adminSideMenuItems] = useState([\n // ... your admin menu items\n // {\n // to: '/admin/dashboard',\n // titleId: 'Dashboard',\n // fontIcon: 'far fa-tachometer-fast',\n // minimumPermissions: ['super_admin'],\n // },\n {\n to: '/',\n titleId: 'Companies',\n fontIcon: 'far fa-file-plus',\n minimumPermissions: ['super_admin'],\n children: [\n {\n to: '/admin/companies',\n titleId: 'Companies',\n hasBullet: true,\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/deletion-requests',\n titleId: 'Companies deletion requests',\n hasBullet: true,\n minimumPermissions: ['super_admin'],\n },\n ],\n },\n\n {\n to: '/admin/subscription-plans',\n titleId: 'Subscription plans',\n fontIcon: 'fal fa-money-bill-wave',\n minimumPermissions: ['super_admin'],\n },\n\n {\n to: '/admin/users',\n titleId: 'Users',\n fontIcon: 'fal fa-user',\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/vat-rates',\n titleId: 'Vat Rates',\n fontIcon: 'fal fa-percent',\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/code-rules',\n titleId: 'Code Rules',\n fontIcon: 'fal fa-clipboard-list-check',\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/about-us',\n titleId: 'About us',\n fontIcon: 'fal fa-address-card',\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/terms-conditions',\n titleId: 'Terms and Conditions',\n fontIcon: 'fal fa-gavel',\n minimumPermissions: ['super_admin'],\n },\n {\n to: '/admin/transactions',\n titleId: 'Transactions Log',\n fontIcon: 'fal fa-credit-card',\n minimumPermissions: ['super_admin'],\n },\n ]);\n\n // You can add more functions to update or manipulate the menu items as needed\n\n // re-render when companyDetails.settings?.vat_registered changes and\n const reRenderSideMenuMainItems = () => {\n setSideMenuMainItems((prev) => {\n return prev.map((item) => {\n // console.log(item);\n\n if (item.to === '/financial-management') {\n let newItem = {\n ...item,\n children: item.children?.map((child) => {\n if (child.to === '/financial-management/purchases-invoices') {\n return {\n ...child,\n disabled: !companyDetails?.settings?.vat_registered,\n };\n }\n return child;\n }),\n };\n return newItem;\n }\n\n return item;\n });\n });\n };\n\n return {\n sideMenuMainItems,\n adminSideMenuItems,\n reRenderSideMenuMainItems,\n };\n}\n\nexport default useAsideMenuMainItems;\n","import React, { useEffect } from 'react';\r\nimport { useIntl } from 'react-intl';\r\nimport { useParams } from 'react-router-dom';\r\nimport { AsideMenuItemWithSub } from './AsideMenuItemWithSub';\r\nimport { AsideMenuItem } from './AsideMenuItem';\r\n// import { adminSideMenuItems, sideMenuMainItems } from '../../../constants/AsideMenuMainItems';\r\nimport { ICompany, UserType } from '../../../../app/types/companies';\r\nimport { usePermissions } from '../../../../app/hooks/usePermissions';\r\nimport { CurrentCompanyUser } from '../../../../app/types/CompanyTypes';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { RootState } from '../../../../setup/redux/Store';\r\nimport useAsideMenuMainItems from '../../../constants/useAsideMenuMainItems';\r\n\r\nconst userRedirection = {\r\n ADMIN: (to: string, companySlug: string) => to,\r\n USER: (to: string, companySlug: string) => `/c/${companySlug}${to}`,\r\n};\r\n\r\nexport function AsideMenuMain({ user }: { user: UserType }) {\r\n const currentCompanyUser: CurrentCompanyUser = useSelector(\r\n (state) => state.current.current,\r\n shallowEqual\r\n ) as CurrentCompanyUser;\r\n\r\n const companyDetails: ICompany = useSelector(\r\n (state) => state?.USER_companies.companyDetails,\r\n shallowEqual\r\n ) as ICompany;\r\n\r\n const { userCan } = usePermissions();\r\n const { formatMessage } = useIntl();\r\n const params: any = useParams();\r\n const companySlug = params.companySlug || currentCompanyUser?.company?.slug;\r\n\r\n const { sideMenuMainItems, adminSideMenuItems, reRenderSideMenuMainItems } =\r\n useAsideMenuMainItems();\r\n\r\n const sidemenus = {\r\n ADMIN: adminSideMenuItems,\r\n USER: sideMenuMainItems,\r\n };\r\n\r\n const menu = sidemenus[user];\r\n\r\n useEffect(() => {\r\n reRenderSideMenuMainItems();\r\n }, [JSON.stringify(!companyDetails?.settings?.vat_registered)]);\r\n\r\n return (\r\n <>\r\n {menu\r\n .filter((item) => item?.minimumPermissions?.some((doThis) => userCan(doThis)))\r\n .map((asideItem, index) =>\r\n !asideItem.children?.length ? (\r\n \r\n ) : (\r\n \r\n {asideItem.children\r\n ?.filter(\r\n (item) =>\r\n item?.minimumPermissions?.some((doThis) => userCan(doThis)) && !item?.disabled\r\n )\r\n .map((subItem, index) => (\r\n \r\n ))}\r\n \r\n )\r\n )}\r\n \r\n );\r\n}\r\n","\nexport const bootstrapBreakPoints = new Map([\n [0, 'xs'],\n [576, 'sm'],\n [768, 'md'],\n [992, 'lg'],\n [1200, 'xl'],\n [1400, 'xxl'],\n])\n\nexport const bootstrapBreakInitialsValues = new Map([\n ['xs', 0],\n ['sm', 576],\n ['md', 768],\n ['lg', 992],\n ['xl', 1200],\n ['xxl', 1400],\n])\n","import { useState, useEffect } from 'react'\nimport { bootstrapBreakPoints } from './../../_metronic/constants/bootstrapBreakPoints'\n\nfunction useWindowSize() {\n const [width, setWidth] = useState(window.innerWidth)\n const [height, setHeight] = useState(window.innerHeight)\n const [breakPointValue, setBreakPointValue] = useState()\n\n useEffect(() => {\n if (width >= 0 && width < 576) {\n setBreakPointValue(0)\n } else if (width >= 576 && width < 768) {\n setBreakPointValue(576)\n } else if (width >= 768 && width < 992) {\n setBreakPointValue(768)\n } else if (width >= 992 && width < 1200) {\n setBreakPointValue(992)\n } else if (width >= 1200 && width < 1400) {\n setBreakPointValue(1200)\n } else {\n setBreakPointValue(1400)\n }\n }, [width])\n\n useEffect(() => {\n const handleResize = () => {\n setWidth(window.innerWidth)\n setHeight(window.innerHeight)\n }\n window.addEventListener('resize', handleResize)\n return () => {\n window.removeEventListener('resize', handleResize)\n }\n })\n\n return {\n width,\n height,\n breakPoint: bootstrapBreakPoints.get(breakPointValue),\n }\n}\n\nexport default useWindowSize\n","import React, { useRef, useEffect } from 'react';\r\nimport { useLocation } from 'react-router';\r\nimport clsx from 'clsx';\r\nimport { AsideMenuMain } from './AsideMainMenu';\r\nimport {\r\n DrawerComponent,\r\n MenuComponent,\r\n ScrollComponent,\r\n ToggleComponent,\r\n} from '../../../assets/ts/components';\r\nimport useWindowSize from '../../../../app/hooks/useWindowSize';\r\nimport { UserType } from '../../../../app/types/companies';\r\n\r\ntype Props = {\r\n asideMenuCSSClasses: string[];\r\n user: UserType;\r\n};\r\n\r\nconst AsideMenu: React.FC = ({ asideMenuCSSClasses, user }) => {\r\n const { height } = useWindowSize();\r\n const scrollRef = useRef(null);\r\n const { pathname } = useLocation();\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n MenuComponent.reinitialization();\r\n DrawerComponent.reinitialization();\r\n ToggleComponent.reinitialization();\r\n ScrollComponent.reinitialization();\r\n if (scrollRef.current) {\r\n scrollRef.current.scrollTop = 0;\r\n }\r\n }, 50);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [pathname]);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport { AsideMenu };\r\n","import { FC } from 'react';\r\n// import { Link } from 'react-router-dom';\r\n\r\nimport clsx from 'clsx';\r\nimport { useLayout } from '../../core';\r\nimport { AsideMenu } from './AsideMenu';\r\n// import { FormattedMessage } from 'react-intl';\r\nimport { UserType } from '../../../../app/types/companies';\r\nimport { KTSVG } from '../../../helpers'; //, toAbsoluteUrl\r\n\r\ntype Props = {\r\n user: UserType;\r\n};\r\nconst AsideDefault: FC = ({ user }) => {\r\n const { config, classes } = useLayout();\r\n const { aside } = config;\r\n return (\r\n \r\n {/*
\r\n \r\n \r\n \r\n \r\n \r\n
*/}\r\n {/* begin::Brand */}\r\n \r\n {/* begin::Aside toggler */}\r\n {aside.minimize && (\r\n \r\n \r\n \r\n )}\r\n {/* end::Aside toggler */}\r\n\r\n {/* end::Brand */}\r\n {/* begin::Aside menu */}\r\n
\r\n \r\n
\r\n\r\n {/* end::Aside menu */}\r\n \r\n );\r\n};\r\n\r\nexport { AsideDefault };\r\n","import moment from 'moment';\n\nexport function formatDate(date: string) {\n return moment(date).utc(false).format('DD-MM-YYYY');\n}\n\nexport function formatDateTime(date: string) {\n return moment(date).utc(false).format('DD-MM-YYYY HH:mm');\n}\n\nexport class DateViewer {\n constructor(\n private fieldData: {\n date: string;\n errors_with_color?: {\n color: string;\n text: string;\n };\n }\n ) {}\n\n renderItem() {\n return (\n <>\n {!this.fieldData.errors_with_color && (\n \n {this.fieldData.date ? formatDate(this.fieldData.date) : ''}\n \n )}\n {this.fieldData.errors_with_color && (\n \n {this.fieldData.errors_with_color.text}\n \n )}\n \n );\n }\n}\n","export function capitalize(str: string): string {\n if (!(typeof str === 'string')) return '';\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function removeQuotes(str: string): string {\n let clearedString = str;\n if (str[0] === \"'\") {\n clearedString = clearedString.slice(1);\n }\n if (str[str.length - 1] === \"'\") {\n clearedString = clearedString.slice(0, str.length - 1);\n }\n return clearedString;\n}\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\n\nimport * as CurrentCompany from '../../../../app/store/CurrentCompanyRedux';\n\nimport { formatDateTime } from '../../../../app/shared/tables/classes/DateViewer';\nimport { INotification } from '../../../../app/types/notifications';\nimport { axiosInstance } from '../../../../network/apis';\nimport { removeQuotes } from '../../../../utils/strings';\nimport { toAbsoluteUrl } from '../../../helpers';\nimport { RootState } from '../../../../setup';\nimport { UserModel } from '../../../../app/modules/auth/models/UserModel';\n\ntype Props = {\n notifications: [];\n isLoading: boolean;\n};\n\nconst NotificationsMenu: FC = ({ notifications, isLoading }) => {\n const history = useHistory();\n const dispatch = useDispatch();\n\n const user: UserModel = useSelector(\n (state) => state.auth.user,\n shallowEqual\n ) as UserModel;\n\n return (\n \n \n {notifications?.length > 0 &&\n notifications?.map((notification: INotification, index, arr) => (\n {\n if (notification?.company_id && !user?.isSuperAdmin) {\n await axiosInstance.post(`${notification?.company_id}/switch`).then((res) => {\n dispatch(CurrentCompany.actions.setCurrentCompany({ ...res.data }));\n });\n }\n if (history.location.pathname === notification?.url) {\n window.location.reload();\n } else {\n history.push(notification?.url);\n }\n }}\n >\n
\n
\n \n
\n
\n

{notification?.user?.name}

\n

\n {removeQuotes(notification.content)}{' '}\n \n

\n
\n
\n {index < arr.length - 1 &&
}\n \n ))}\n \n \n );\n};\n\nexport { NotificationsMenu };\n","import { persistReducer } from 'redux-persist';\r\nimport storage from 'redux-persist/lib/storage';\r\nimport { put, takeLatest } from 'redux-saga/effects';\r\nimport { UserModel } from '../models/UserModel';\r\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\r\n\r\nexport enum IAuthActionTypes {\r\n Login = 'Login',\r\n Logout = 'Logout',\r\n Register = 'Register',\r\n UserLoaded = 'UserLoaded',\r\n SetUser = 'SetUser',\r\n}\r\n\r\nconst initialAuthState: IAuthState = {\r\n user: undefined,\r\n token: undefined,\r\n};\r\n\r\nexport interface IAuthState {\r\n user?: UserModel;\r\n token?: string;\r\n}\r\n\r\nexport const reducer = persistReducer(\r\n { storage, key: 'auth', whitelist: ['user', 'token'] },\r\n (state: IAuthState = initialAuthState, action: ActionWithPayload) => {\r\n switch (action.type) {\r\n case IAuthActionTypes.Login: {\r\n const token = action.payload?.token;\r\n return { token, user: undefined };\r\n }\r\n\r\n case IAuthActionTypes.Register: {\r\n const token = action.payload?.token;\r\n return { token, user: undefined };\r\n }\r\n\r\n case IAuthActionTypes.Logout: {\r\n return initialAuthState;\r\n }\r\n\r\n case IAuthActionTypes.SetUser: {\r\n const user = action.payload?.user;\r\n return { ...state, user };\r\n }\r\n\r\n case IAuthActionTypes.UserLoaded: {\r\n const user = action.payload?.user;\r\n const token = action.payload?.token;\r\n return { ...state, user, token };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n }\r\n);\r\n\r\nexport const actions = {\r\n login: ({ token, user }: IAuthState) => ({\r\n type: IAuthActionTypes.Login,\r\n payload: { token, user },\r\n }),\r\n\r\n fulfillUser: ({ token, user }: IAuthState) => ({\r\n type: IAuthActionTypes.UserLoaded,\r\n payload: { user, token },\r\n }),\r\n\r\n logout: () => ({ type: IAuthActionTypes.Logout }),\r\n\r\n setUser: (user: UserModel) => ({ type: IAuthActionTypes.SetUser, payload: { user } }),\r\n};\r\n\r\nexport function* loginSaga(action: ActionWithPayload) {\r\n yield put(actions.fulfillUser(action.payload || {}));\r\n}\r\n\r\nexport function* saga() {\r\n yield takeLatest(IAuthActionTypes.Login, loginSaga);\r\n}\r\n","import { axiosInstance } from '../../../../network/apis';\nimport { ICompany } from '../../../types/companies';\n\nexport function getUsersCompaniesRequest({ params }: { params?: any }) {\n return axiosInstance.get(`/companies`, { params });\n}\n\nexport function getCurrentCompanyById({ id }: { id: number }) {\n return axiosInstance.get(`/companies/${id}`);\n}\n\nexport function updateCompanyProfile({ id, body }: { id: number; body: any }) {\n return axiosInstance.post(`/companies/${id}/profile`, { ...body });\n}\n\nexport function getAccountOwnerInfoRequest() {\n return axiosInstance.get(`/user`);\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { ICompany } from '../../../types/companies';\nimport {\n getCurrentCompanyById,\n getUsersCompaniesRequest,\n getAccountOwnerInfoRequest,\n} from './UserCompaniesCRUD';\n\nexport enum IUserCompaniesActionTypes {\n GET_USERS_COMPANIES = 'GET_USERS_COMPANIES',\n FULLFILL_COMPANIES = 'FULLFILL_COMPANIES',\n FULLFILL_SINGLE_COMPANY = 'FULLFILL_SINGLE_COMPANY',\n SET_LAST_ADDED_COMPANY = 'SET_LAST_ADDED_COMPANY',\n GET_CURRENT_BY_ID = 'GET_CURRENT_BY_ID',\n GET_ACCOUNT_OWNER_iNFO = 'GET_ACCOUNT_OWNER_iNFO',\n FULL_FILL_ACCOUNT_OWNER_iNFO = 'FULL_FILL_ACCOUNT_OWNER_iNFO',\n}\n\nconst initialCompaniesState: ICompaniesState = {\n companies: undefined,\n lastAddedCompany: undefined,\n accountOwnerInfo: undefined,\n companyDetails: {},\n};\n\nexport interface ICompaniesState {\n companies?: {};\n lastAddedCompany?: null;\n accountOwnerInfo?: null;\n companyDetails?: {};\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'companies', whitelist: ['lastAddedCompany', 'companies', 'companyDetails'] },\n (state: ICompaniesState = initialCompaniesState, action: ActionWithPayload) => {\n switch (action.type) {\n case IUserCompaniesActionTypes.FULLFILL_COMPANIES:\n return { ...state, companies: action.payload?.companies };\n\n case IUserCompaniesActionTypes.SET_LAST_ADDED_COMPANY:\n const lastAddedCompany = action.payload?.lastAddedCompany;\n return { ...state, lastAddedCompany };\n\n case IUserCompaniesActionTypes.FULLFILL_SINGLE_COMPANY:\n const companyDetails = action.payload?.companyDetails;\n return { ...state, companyDetails };\n\n case IUserCompaniesActionTypes.FULL_FILL_ACCOUNT_OWNER_iNFO:\n const accountOwnerInfo = action.payload?.accountOwnerInfo;\n return { ...state, accountOwnerInfo };\n\n default:\n return state;\n }\n }\n);\n\ntype CompaniesSearch = { params?: any };\n\nexport const actions = {\n getUserCompanies: ({ params }: CompaniesSearch) => ({\n type: IUserCompaniesActionTypes.GET_USERS_COMPANIES,\n payload: { params },\n }),\n fulFillCompanies: ({ companies }: ICompaniesState) => ({\n type: IUserCompaniesActionTypes.FULLFILL_COMPANIES,\n payload: { companies },\n }),\n getCurrentCompanyById: ({ id }: { id: number | undefined }) => ({\n type: IUserCompaniesActionTypes.GET_CURRENT_BY_ID,\n payload: { id },\n }),\n fulfillSingleComany: ({ companyDetails }: ICompaniesState) => ({\n type: IUserCompaniesActionTypes.FULLFILL_SINGLE_COMPANY,\n payload: { companyDetails },\n }),\n setLastAddedCompany: (lastAddedCompany: ICompany | null) => ({\n type: IUserCompaniesActionTypes.SET_LAST_ADDED_COMPANY,\n payload: { lastAddedCompany },\n }),\n getAccountOwnerInfo: () => ({\n type: IUserCompaniesActionTypes.GET_ACCOUNT_OWNER_iNFO,\n }),\n fulfillAccountOwnerInfo: ({ accountOwnerInfo }: ICompaniesState) => ({\n type: IUserCompaniesActionTypes.FULL_FILL_ACCOUNT_OWNER_iNFO,\n payload: { accountOwnerInfo },\n }),\n};\n\nexport function* getUsersCompaniesSaga(action: ActionWithPayload) {\n try {\n const { data } = yield getUsersCompaniesRequest({\n params: action.payload?.params,\n });\n yield put(actions.fulFillCompanies({ companies: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getCompanyByIdSaga(action: ActionWithPayload<{ id: any }>) {\n try {\n const { data } = yield getCurrentCompanyById({ id: action?.payload?.id });\n yield put(actions.fulfillSingleComany({ companyDetails: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getAccountOwnerInfo() {\n try {\n const { data } = yield getAccountOwnerInfoRequest();\n yield put(actions.fulfillAccountOwnerInfo({ accountOwnerInfo: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUserCompaniesActionTypes.GET_USERS_COMPANIES, getUsersCompaniesSaga);\n yield takeLatest(IUserCompaniesActionTypes.GET_CURRENT_BY_ID, getCompanyByIdSaga);\n yield takeLatest(IUserCompaniesActionTypes.GET_ACCOUNT_OWNER_iNFO, getAccountOwnerInfo);\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport clsx from 'clsx';\r\nimport { FC } from 'react';\r\nimport { FormattedMessage, useIntl } from 'react-intl';\r\nimport { setWholePageDirection } from '../../../helpers';\r\nimport { setLanguage } from '../../../i18n/Metronici18n';\r\nimport { languages } from '../../../constants/languages';\r\n\r\nconst Languages: FC = () => {\r\n const { locale } = useIntl();\r\n\r\n const currentLanguage = languages.find((x) => x.locale === locale);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {currentLanguage?.name}{' '}\r\n \r\n \r\n \r\n \r\n\r\n
\r\n {languages.map((language) => (\r\n {\r\n setLanguage(language.locale);\r\n setWholePageDirection(language);\r\n }}\r\n >\r\n \r\n \r\n metronic\r\n \r\n {language.name}\r\n \r\n
\r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nexport { Languages };\r\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { ActionWithPayload } from '../interface/ActionWithPayload';\nimport { ModalName } from '../types/types';\n\nexport enum IModalTypes {\n SET_ACTIVE_MODAL = 'SET_ACTIVE_MODAL',\n CLOSE_ACTIVE_MODAL = 'CLOSE_ACTIVE_MODAL',\n}\n\ninterface IModalState {\n activeModal: '' | undefined | ModalName;\n}\n\nconst initialModalState: IModalState = {\n activeModal: undefined,\n};\n\nexport const reducer = persistReducer(\n { storage, key: 'modal', whitelist: [''] },\n (state: IModalState = initialModalState, action: ActionWithPayload) => {\n switch (action.type) {\n case IModalTypes.CLOSE_ACTIVE_MODAL:\n return { ...state, activeModal: undefined };\n case IModalTypes.SET_ACTIVE_MODAL:\n const modaleName = action?.payload?.activeModal;\n return { ...state, activeModal: modaleName };\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n setActiveModal: (modalName: ModalName) => ({\n type: IModalTypes.SET_ACTIVE_MODAL,\n payload: { activeModal: modalName },\n }),\n closeActiveModal: () => ({\n type: IModalTypes.CLOSE_ACTIVE_MODAL,\n }),\n};\n","import { FC } from 'react';\nimport { useIntl } from 'react-intl';\n\nexport const FormatMessage: FC<{ id: string }> = ({ id }) => {\n const { formatMessage } = useIntl();\n\n return <>{formatMessage({ id })};\n};\n\nexport const $t = (id: string, values?: any): string => {\n const { formatMessage } = useIntl();\n\n return formatMessage({ id }, { ...values });\n};\n","import { FC, ReactElement } from 'react';\nimport { useIntl } from 'react-intl';\nimport { useDispatch } from 'react-redux';\nimport * as modal from '../../app/store/ModalRedux';\nimport { $t } from '../../_metronic/i18n/formatMessage';\n\ntype Props = {\n titleId?: string;\n specialTitleFormat?: any;\n withoutClose?: boolean;\n withoutCancel?: boolean;\n children?: ReactElement;\n closeCallBack?: Function;\n specialContainerClass?: string;\n};\n\nexport const AhadDialog: FC = ({\n titleId,\n specialTitleFormat,\n withoutClose,\n children,\n withoutCancel,\n closeCallBack,\n specialContainerClass,\n}) => {\n const dispatch = useDispatch();\n const { locale } = useIntl();\n\n const closeActiveModal = () => {\n dispatch(modal.actions.closeActiveModal());\n if (closeCallBack) closeCallBack();\n };\n\n return (\n
\n
\n
\n
\n
\n {titleId &&
{titleId ?
{$t(titleId)}
: null}
}\n {specialTitleFormat && (\n
\n {specialTitleFormat}\n
\n )}\n {withoutClose ? (\n \n ) : (\n \n )}\n
\n
\n
{children}
\n
\n
\n );\n};\n\nexport default AhadDialog;\n","import clsx from 'clsx';\nimport { FC, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\n\ntype Props = {\n formik?: any;\n labelId?: string;\n withValidation?: boolean;\n name: string;\n type?: string;\n error?: any;\n touched?: any;\n setTouchedOnInput?: boolean;\n [something: string]: any;\n};\n\nexport const Input: FC = ({\n labelId,\n formik,\n withValidation,\n name,\n type,\n setTouchedOnInput,\n ...props\n}) => {\n const [currentType, setCurrentType] = useState(type || 'text');\n\n const toggleState = () => setCurrentType(currentType === 'password' ? 'text' : 'password');\n const { locale } = useIntl();\n\n return (\n <>\n {labelId && (\n \n \n \n )}\n (setTouchedOnInput ? formik.setFieldTouched(name, true, true) : null)}\n />\n {type === 'password' && (\n toggleState()}\n >\n )}\n\n {((formik?.touched?.[name] && formik?.errors?.[name]) || (props.error && props.touched)) && (\n
\n \n {props.error || formik?.errors?.[name]}\n \n
\n )}\n \n );\n};\n","import { FC, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { Form, FormikProvider, useFormik } from 'formik';\nimport * as Yup from 'yup';\n\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { Portal } from '../../../partials';\n\nimport { Input } from '../../../../app/shared/Input';\nimport clsx from 'clsx';\nimport { axiosInstance } from '../../../../network/apis';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\n\ntype Props = {\n setIsPopupChangePasswordOpen: React.Dispatch>;\n};\n\nexport const PopupChangePassword: FC = ({ setIsPopupChangePasswordOpen }) => {\n /* ------------------------------- Local State ------------------------------ */\n const [loading, setLoading] = useState(false);\n /* ------------------------------- Local State ------------------------------ */\n const { formatMessage } = useIntl();\n /* -------------------------- Bring Data from store ------------------------- */\n const history = useHistory();\n\n const formik = useFormik({\n initialValues: {\n old_password: '',\n password: '',\n password_confirmation: '',\n },\n validationSchema: Yup.object().shape({\n old_password: Yup.string().required(formatMessage({ id: 'This field is required' })),\n password: Yup.string()\n .min(6, formatMessage({ id: 'The minimum characters is {number}' }, { number: 6 }))\n .max(255, formatMessage({ id: 'The Maximum characters is {number}' }, { number: 255 }))\n .required(formatMessage({ id: 'This field is required' })),\n password_confirmation: Yup.string()\n .oneOf([Yup.ref('password'), null], formatMessage({ id: 'Passwords not match' }))\n .min(6, formatMessage({ id: 'The minimum characters is {number}' }, { number: 6 }))\n .max(255, formatMessage({ id: 'The Maximum characters is {number}' }, { number: 255 }))\n .required(formatMessage({ id: 'This field is required' })),\n }),\n\n onSubmit: (values) => {\n setLoading(true);\n axiosInstance\n .post('/change-password', values)\n .then((response) => {\n setLoading(false);\n history.push('/auth/login');\n console.log(response);\n const data = response.data;\n const merged: any = Object.values(data).reduce(\n (accumulator: any, currentValue) => accumulator.concat(currentValue),\n []\n );\n merged.map((item: any) =>\n toast.success(item, {\n toastId: 'changePasswordsuccess',\n })\n );\n })\n .catch((error) => {\n setLoading(false);\n const data = error?.response?.data?.errors;\n console.log(data);\n if (data) {\n const merged: any = Object?.values(data)?.reduce(\n (accumulator: any, currentValue) => accumulator.concat(currentValue),\n []\n );\n merged.map((item: any) =>\n toast.error(item, {\n toastId: 'changePasswordError',\n })\n );\n }\n });\n },\n });\n\n return (\n
\n \n {\n setIsPopupChangePasswordOpen(false);\n }}\n specialContainerClass='dialog-content w-600px'\n >\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n {!loading && (\n \n \n \n )}\n\n {loading && (\n \n \n \n \n )}\n \n
\n
\n setIsPopupChangePasswordOpen(false)}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n );\n};\n","import { useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport { toAbsoluteUrl } from '../../../helpers';\n\ninterface IProps {\n className?: string;\n}\nlet switchLink: string = '';\n\nexport default function SwitchButton({ className }: IProps) {\n const { formatMessage } = useIntl();\n\n if (process.env.REACT_APP_ENV === 'dev') {\n switchLink = 'http://localhost:5173';\n } else if (process.env.REACT_APP_ENV === 'stage') {\n switchLink = 'https://fai-staging.ahadtest.com/';\n } else if (process.env.REACT_APP_ENV === 'prelive') {\n switchLink = 'https://prelive.fai.sa/';\n } else if (process.env.REACT_APP_ENV === 'production') {\n switchLink = 'https://app.fai.sa/';\n } else {\n toast.error('Error in switch button');\n }\n\n return (\n <>\n {switchLink && (\n \n )}\n \n );\n}\n","import { FC, useState } from 'react';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { useDispatch } from 'react-redux';\r\nimport { useHistory } from 'react-router-dom'; //, useParams\r\nimport { usePermissions } from '../../../../app/hooks/usePermissions';\r\nimport { UserModel } from '../../../../app/modules/auth/models/UserModel';\r\nimport * as auth from '../../../../app/modules/auth/store/AuthRedux';\r\nimport * as companiesRedux from '../../../../app/modules/companies/store/UserCompaniesRedux';\r\nimport * as CurrentCompanyRedux from '../../../../app/store/CurrentCompanyRedux';\r\nimport { RootState } from '../../../../setup';\r\nimport { Languages } from './Languages';\r\nimport { PopupChangePassword } from '../../../layout/components/header/PopupChangePassword';\r\nimport SwitchButton from '../../../layout/components/header/switchButton';\r\nimport useWindowSize from '../../../../app/hooks/useWindowSize';\r\n\r\nconst HeaderUserMenu: FC = () => {\r\n // const params: any = useParams();\r\n const { isSuperAdmin } = usePermissions();\r\n const [isPopupChangePasswordOpen, setIsPopupChangePasswordOpen] = useState(false);\r\n const user: UserModel = useSelector(\r\n (state) => state.auth.user,\r\n shallowEqual\r\n ) as UserModel;\r\n const { width } = useWindowSize();\r\n\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n\r\n const logout = () => {\r\n dispatch(auth.actions.logout());\r\n dispatch(companiesRedux.actions.setLastAddedCompany(null));\r\n dispatch(\r\n CurrentCompanyRedux.actions.setCurrentCompany({\r\n company: null,\r\n user: null,\r\n })\r\n );\r\n };\r\n\r\n return (\r\n \r\n {isPopupChangePasswordOpen && (\r\n \r\n )}\r\n\r\n
\r\n
\r\n
\r\n {user?.image && Logo}\r\n
\r\n\r\n
\r\n
\r\n {user?.first_name} {user?.last_name}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n {/*
\r\n \r\n history.push(\r\n params.companySlug ? `/c/${params.companySlug}/user-profile` : '/user-profile'\r\n )\r\n }\r\n className='menu-link px-5'\r\n >\r\n \r\n \r\n
*/}\r\n\r\n {isSuperAdmin && (\r\n \r\n )}\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport { HeaderUserMenu };\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport { FC, useState } from 'react'\r\nimport clsx from 'clsx'\r\nimport {\r\n toAbsoluteUrl,\r\n defaultMessages,\r\n defaultUserInfos,\r\n MessageModel,\r\n UserInfoModel,\r\n messageFromClient,\r\n} from '../../helpers'\r\n\r\ntype Props = {\r\n isDrawer?: boolean\r\n}\r\n\r\nconst bufferMessages = defaultMessages\r\n\r\nconst ChatInner: FC = ({ isDrawer = false }) => {\r\n const [chatUpdateFlag, toggleChatUpdateFlat] = useState(false)\r\n const [message, setMessage] = useState('')\r\n const [messages, setMessages] = useState(bufferMessages)\r\n const [userInfos] = useState(defaultUserInfos)\r\n\r\n const sendMessage = () => {\r\n const newMessage: MessageModel = {\r\n user: 2,\r\n type: 'out',\r\n text: message,\r\n time: 'Just now',\r\n }\r\n\r\n bufferMessages.push(newMessage)\r\n setMessages(bufferMessages)\r\n toggleChatUpdateFlat(!chatUpdateFlag)\r\n setMessage('')\r\n setTimeout(() => {\r\n bufferMessages.push(messageFromClient)\r\n setMessages(() => bufferMessages)\r\n toggleChatUpdateFlat((flag) => !flag)\r\n }, 1000)\r\n }\r\n\r\n const onEnterPress = (e: React.KeyboardEvent) => {\r\n if (e.keyCode === 13 && e.shiftKey === false) {\r\n e.preventDefault()\r\n sendMessage()\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n {messages.map((message, index) => {\r\n const userInfo = userInfos[message.user]\r\n const state = message.type === 'in' ? 'info' : 'primary'\r\n const templateAttr = {}\r\n if (message.template) {\r\n Object.defineProperty(templateAttr, 'data-kt-element', {\r\n value: `template-${message.type}`,\r\n })\r\n }\r\n const contentClass = `${isDrawer ? '' : 'd-flex'} justify-content-${\r\n message.type === 'in' ? 'start' : 'end'\r\n } mb-10`\r\n return (\r\n \r\n \r\n
\r\n {message.type === 'in' ? (\r\n <>\r\n
\r\n Pic\r\n
\r\n
\r\n \r\n {userInfo.name}\r\n \r\n {message.time}\r\n
\r\n \r\n ) : (\r\n <>\r\n
\r\n {message.time}\r\n \r\n You\r\n \r\n
\r\n
\r\n Pic\r\n
\r\n \r\n )}\r\n
\r\n\r\n \r\n \r\n \r\n )\r\n })}\r\n \r\n\r\n \r\n setMessage(e.target.value)}\r\n onKeyDown={onEnterPress}\r\n >\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n Send\r\n \r\n
\r\n \r\n \r\n )\r\n}\r\n\r\nexport { ChatInner }\r\n","import { toAbsoluteUrl } from '../../../helpers'\r\n\r\nexport function FallbackView() {\r\n return (\r\n
\r\n AHDH\r\n Loading ...\r\n
\r\n )\r\n}\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useState, useEffect } from 'react'\r\nimport { createPortal } from 'react-dom'\r\n\r\n/**\r\n * React portal based on https://stackoverflow.com/a/59154364\r\n * @param children Child elements\r\n * @param className CSS classname\r\n * @param el HTML element to create. default: div\r\n */\r\nconst Portal: React.FC<{ className?: string }> = ({ children, className = '' }) => {\r\n const [container] = useState(document.createElement('div'))\r\n\r\n if (className) container.classList.add(className)\r\n\r\n useEffect(() => {\r\n document.body.appendChild(container)\r\n return () => {\r\n document.body.removeChild(container)\r\n }\r\n }, [])\r\n\r\n return createPortal(children, container)\r\n}\r\n\r\nexport { Portal }\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React, { FC, useEffect, useRef, useState } from 'react';\r\nimport { KTSVG, toAbsoluteUrl } from '../../../helpers';\r\nimport { Formik, Form, FormikValues, Field, ErrorMessage } from 'formik';\r\nimport * as Yup from 'yup';\r\nimport { StepperComponent } from '../../../assets/ts/components';\r\n\r\ninterface ICreateAccount {\r\n appName: string;\r\n category: string;\r\n framework: string;\r\n dbName: string;\r\n dbType: string;\r\n nameOnCard: string;\r\n cardNumber: string;\r\n cardExpiryMonth: string;\r\n cardExpiryYear: string;\r\n cardCvv: string;\r\n saveCard: string;\r\n}\r\n\r\nconst inits: ICreateAccount = {\r\n appName: '',\r\n category: '1',\r\n framework: '1',\r\n dbName: '',\r\n dbType: '1',\r\n nameOnCard: 'Max Doe',\r\n cardNumber: '4111 1111 1111 1111',\r\n cardExpiryMonth: '1',\r\n cardExpiryYear: '2025',\r\n cardCvv: '123',\r\n saveCard: '1',\r\n};\r\n\r\nconst createAppSchema = [\r\n Yup.object({\r\n appName: Yup.string().required().label('App name'),\r\n category: Yup.string().required().label('Category'),\r\n }),\r\n Yup.object({\r\n framework: Yup.string().required().label('Framework'),\r\n }),\r\n Yup.object({\r\n dbName: Yup.string().required().label('Database name'),\r\n dbType: Yup.string().required().label('Database engine'),\r\n }),\r\n Yup.object({\r\n nameOnCard: Yup.string().required().label('Name'),\r\n cardNumber: Yup.string().required().label('Card Number'),\r\n cardExpiryMonth: Yup.string().required().label('Expiration Month'),\r\n cardExpiryYear: Yup.string().required().label('Expiration Year'),\r\n cardCvv: Yup.string().required().label('CVV'),\r\n }),\r\n];\r\n\r\nconst Main: FC = () => {\r\n const stepperRef = useRef(null);\r\n const stepper = useRef(null);\r\n const [currentSchema, setCurrentSchema] = useState(createAppSchema[0]);\r\n const [initValues] = useState(inits);\r\n\r\n const loadStepper = () => {\r\n stepper.current = StepperComponent.createInsance(stepperRef.current as HTMLDivElement);\r\n };\r\n\r\n const prevStep = () => {\r\n if (!stepper.current) {\r\n return;\r\n }\r\n\r\n stepper.current.goPrev();\r\n\r\n setCurrentSchema(createAppSchema[stepper.current.currentStepIndex - 1]);\r\n };\r\n\r\n const submitStep = (values: ICreateAccount, actions: FormikValues) => {\r\n if (!stepper.current) {\r\n return;\r\n }\r\n\r\n setCurrentSchema(createAppSchema[stepper.current.currentStepIndex]);\r\n\r\n if (stepper.current.currentStepIndex !== stepper.current.totatStepsNumber) {\r\n stepper.current.goNext();\r\n } else {\r\n stepper.current.goto(1);\r\n actions.resetForm();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (!stepperRef.current) {\r\n return;\r\n }\r\n\r\n loadStepper();\r\n }, [stepperRef]);\r\n\r\n return (\r\n \r\n \r\n );\r\n};\r\n\r\nexport { Main };\r\n","import clsx from 'clsx';\nimport { useIntl } from 'react-intl'; //FormattedMessage,\nimport { shallowEqual, useSelector } from 'react-redux';\n\nimport { RootState } from '../../../../setup';\nimport { UserModel } from '../../../../app/modules/auth/models/UserModel';\n// import { capitalize } from '../../../../utils/strings';\nimport { toAbsoluteUrl } from '../../../helpers';\nimport { HeaderUserMenu } from '../../../partials';\n// import { useHistory } from 'react-router-dom';\n// import { PrivateRoutes } from '../../../constants/ROUTES';\n\nexport function HeaderUserMenuContainer() {\n const { locale } = useIntl(); //, formatMessage\n // const history = useHistory();\n\n const user: UserModel = useSelector(\n (state) => state.auth.user,\n shallowEqual\n ) as UserModel;\n // const viewMyDocsHandler = () => {\n // history.push(PrivateRoutes.DocumentsToSign);\n // };\n\n return (\n
\n \n \n {/*
\n

\n \n

\n
*/}\n
\n\n \n\n {/* \n
\n \n
\n */}\n \n );\n}\n","import clsx from 'clsx';\nimport { FC } from 'react';\n\ntype Props = {\n type: 'bullet' | 'number';\n bulletShow?: boolean;\n count?: number | string;\n faIcon: string;\n};\n\nexport const Notifications: FC = ({ type, bulletShow, count, faIcon }) => {\n return (\n
\n
\n \n
\n {typeof count === 'number' && count > 0 && (\n \n {count}\n \n )}\n {typeof count === 'string' && (\n \n {count}\n \n )}\n {type === 'bullet' && bulletShow && (\n \n )}\n
\n );\n};\n","import { FC, useMemo } from 'react';\r\nimport { useQuery } from 'react-query';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { UserModel } from '../../../../app/modules/auth/models/UserModel';\r\nimport { INotification } from '../../../../app/types/notifications';\r\nimport { axiosInstance } from '../../../../network/apis';\r\nimport { RootState } from '../../../../setup/redux/Store';\r\nimport { NotificationsMenu } from '../../../partials/layout/menus/NotificationsMenu';\r\nimport { HeaderUserMenuContainer } from './HeaderUserMenuContainer';\r\nimport { Notifications } from './Notifications';\r\n\r\nexport const toolbarUserAvatarHeightClass = '';\r\n\r\ntype Props = {\r\n withoutAlert?: boolean;\r\n};\r\n\r\nconst UserMenuAndAlerts: FC = ({ withoutAlert }) => {\r\n const user: UserModel = useSelector(\r\n (state) => state.auth.user,\r\n shallowEqual\r\n ) as UserModel;\r\n\r\n // FIXME: may be we need to give make notifications related to a specific company\r\n const {\r\n isLoading,\r\n data: notifications,\r\n refetch,\r\n } = useQuery(\r\n 'Notifications',\r\n () =>\r\n axiosInstance('/notifications').then((res) => {\r\n return res.data;\r\n }),\r\n { retryDelay: 15000, retry: 3 }\r\n );\r\n\r\n window.Echo.channel(`ahad_database_user_${user?.id}`).listen(\r\n '.Illuminate\\\\Notifications\\\\Events\\\\BroadcastNotificationCreated',\r\n (e: any) => {\r\n // console.log('channel notifications', e);\r\n if (e.data.content === 'Your import has completed successfully') refetch();\r\n }\r\n );\r\n\r\n // window?.Echo?.private(`App.Models.User.${user?.id}`).notification((notification: any) => {\r\n // if (notification) refetch();\r\n // });\r\n\r\n const messagesLength = useMemo(\r\n () =>\r\n notifications?.filter((notification: INotification) => notification.read_at === null)?.length,\r\n [notifications]\r\n );\r\n\r\n const readNotifications = () => {\r\n try {\r\n axiosInstance.post('/notifications');\r\n refetch();\r\n } catch (error) {\r\n //\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n {!withoutAlert && (\r\n <>\r\n {\r\n readNotifications();\r\n }}\r\n >\r\n 100 ? '99+' : messagesLength}\r\n faIcon='fal fa-bell'\r\n />\r\n \r\n
\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport { UserMenuAndAlerts };\r\n","import { toAbsoluteUrl } from '../../_metronic/helpers';\n\nexport const LogoImage = () => (\n AHAD\n);\n","import { FC } from 'react';\nimport { useIntl } from 'react-intl';\n// import { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\n// import { RootState } from '../../setup/redux/Store';\n// import { CurrentCompanyUser } from '../types/CompanyTypes';\nimport { LogoImage } from './LogoImage';\n\ntype Props = {\n withCompanyName?: boolean;\n};\n\nexport const Logo: FC = ({ withCompanyName }) => {\n const { formatMessage } = useIntl(); //locale,\n // const currentCompanyUser: CurrentCompanyUser = useSelector(\n // (state) => state.current.current\n // ) as CurrentCompanyUser;\n\n return (\n
\n \n
\n
\n \n
\n
\n {formatMessage({ id: 'AHAD' })}\n
\n
\n \n {/* {withCompanyName && (\n \n {currentCompanyUser?.company?.name || currentCompanyUser?.company?.slug}\n
\n )} */}\n \n );\n};\n","import { FC } from 'react';\n// import { useIntl } from 'react-intl';\n// import { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { RootState } from '../../setup/redux/Store';\nimport { shallowEqual, useSelector } from 'react-redux';\n\n// import { CurrentCompanyUser } from '../types/CompanyTypes';\nimport { ICompany } from '../../app/types/companies';\n\nexport const CompanyLogo: FC = () => {\n // const { formatMessage } = useIntl(); //locale,\n // const currentCompanyUser: CurrentCompanyUser = useSelector(\n // (state) => state.current.current\n // ) as CurrentCompanyUser;\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n return (\n
\n
\n \n {companyDetails?.branding?.logo?.light && (\n <>\n \n  \n \n )}\n {companyDetails?.name && {companyDetails?.name}}\n \n
\n
\n );\n};\n","import { useEffect } from 'react';\r\nimport clsx from 'clsx';\r\nimport { useLocation } from 'react-router-dom';\r\n// import { useIntl } from 'react-intl';\r\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\r\nimport { useParams } from 'react-router-dom';\r\n\r\nimport { MenuComponent } from '../../../assets/ts/components';\r\nimport { UserMenuAndAlerts } from './UserMenuAndAlerts';\r\n// import { CompaniesMenu } from '../../../partials/layout/menus/CompaniesMenu';\r\nimport * as CompaniesRedux from '../../../../app/modules/companies/store/UserCompaniesRedux';\r\nimport { CompaniesDataListModel } from '../../../../app/modules/companies/CompanyModel';\r\nimport { RootState } from '../../../../setup/redux/Store';\r\nimport { ICompany } from '../../../../app/types/companies';\r\nimport { Logo } from '../../../../app/shared/LogoWithCompany';\r\nimport { KTSVG } from '../../../helpers';\r\n\r\nimport { useLayout } from '../../core';\r\nimport { CompanyLogo } from '../../../../app/shared/CompanyLogo';\r\nimport SwitchButton from './switchButton';\r\nimport useWindowSize from '../../../../app/hooks/useWindowSize';\r\n\r\nexport function HeaderWrapper() {\r\n const dispatch = useDispatch();\r\n const { pathname } = useLocation();\r\n const params: any = useParams();\r\n // const { formatMessage } = useIntl(); //locale,\r\n const { config, classes, attributes } = useLayout();\r\n const { width } = useWindowSize();\r\n const { aside } = config; //header,\r\n\r\n const companies: CompaniesDataListModel = useSelector(\r\n (state) => state?.USER_companies.companies,\r\n shallowEqual\r\n ) as CompaniesDataListModel;\r\n\r\n const companyDetails: ICompany = useSelector(\r\n (state) => state?.USER_companies.companyDetails,\r\n shallowEqual\r\n ) as ICompany;\r\n\r\n useEffect(() => {\r\n if (\r\n (!companyDetails?.slug || companyDetails?.slug !== params?.companySlug) &&\r\n companies?.data?.length\r\n ) {\r\n const id = companies?.data?.find((company) => company.slug === params.companySlug)\r\n ?.id as number;\r\n if (id) {\r\n dispatch(\r\n CompaniesRedux.actions.getCurrentCompanyById({\r\n id: id,\r\n })\r\n );\r\n }\r\n }\r\n }, [companyDetails, companies, params]);\r\n\r\n useEffect(() => {\r\n MenuComponent.reinitialization();\r\n }, [pathname]);\r\n\r\n return (\r\n \r\n \r\n\r\n
\r\n {/* style={{ width: '95%' }} */}\r\n = 1024 ? 'd-flex align-items-center justify-content-end me-3' : 'd-none'\r\n }\r\n >\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {aside.display && (\r\n \r\n \r\n \r\n
\r\n \r\n )}\r\n {/* {companies?.data?.length > 1 && (\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n )} */}\r\n \r\n \r\n \r\n );\r\n}\r\n","import { FC } from 'react';\n\nexport const RegularRuler: FC = () => {\n return (\n
\n {Array.from(Array(15).keys()).map((cm: any) => (\n
\n {Array.from(Array(10).keys()).map((mm: any) => (\n
\n ))}\n
\n ))}\n
\n );\n};\n","export type actionStatus =\n | 'adjneeded'\n | 'approved'\n | 'waitingforsecondpartysignature'\n | 'waitingforcompanysignature'\n | 'closed';\n\nexport enum actionStatusColor {\n adjneeded = 'blueGrey',\n approved = 'info', // purple\n waitingforsecondpartysignature = 'danger',\n waitingforcompanysignature = 'primary',\n closed = 'success',\n}\n","import clsx from 'clsx';\r\nimport React, { FC } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { useLayout } from '../../../core/LayoutProvider';\r\nimport { usePageData } from '../../../core/PageData';\r\n\r\nconst DefaultTitle: FC = () => {\r\n const { pageTitle, pageDescription, pageBreadcrumbs } = usePageData();\r\n const { config, classes } = useLayout();\r\n\r\n return (\r\n \r\n {/* begin::Title */}\r\n {pageTitle && (\r\n

\r\n {pageTitle}\r\n {pageDescription && config.pageTitle && config.pageTitle.description && (\r\n <>\r\n \r\n {pageDescription}\r\n \r\n )}\r\n

\r\n )}\r\n {/* end::Title */}\r\n {pageBreadcrumbs &&\r\n pageBreadcrumbs.length > 0 &&\r\n config.pageTitle &&\r\n config.pageTitle.breadCrumbs && (\r\n <>\r\n {config.pageTitle.direction === 'row' && (\r\n \r\n )}\r\n
    \r\n {Array.from(pageBreadcrumbs).map((item, index) => (\r\n \r\n {!item.isSeparator ? (\r\n \r\n {item.title}\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ))}\r\n
\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport { DefaultTitle };\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport clsx from 'clsx';\r\nimport React, { FC } from 'react';\r\nimport { useLayout } from '../../core';\r\nimport { DefaultTitle } from '../header/page-title/DefaultTitle';\r\n\r\nconst TitleWithBreadCrumb: FC = () => {\r\n const { classes } = useLayout();\r\n\r\n return (\r\n
\r\n \r\n {/* begin::Container */}\r\n
\r\n \r\n {/* begin::Actions */}\r\n
\r\n {/* end::Actions */}\r\n
\r\n {/* end::Container */}\r\n
\r\n );\r\n};\r\n\r\nexport { TitleWithBreadCrumb };\r\n","import React from 'react';\r\nimport { RegularRuler } from '../../../../app/pages/templates/components/Ruler';\r\nimport { useLayout } from '../../core/LayoutProvider';\r\nimport { TitleWithBreadCrumb } from './TitleWithBreadCrumb';\r\n\r\nconst Toolbar = () => {\r\n const { config } = useLayout();\r\n\r\n switch (config.toolbar.layout) {\r\n case 'TitleWithBreadCrumb':\r\n return ;\r\n case 'RegularRuler':\r\n return ;\r\n default:\r\n return ;\r\n }\r\n};\r\n\r\nexport { Toolbar };\r\n","import { FC } from 'react';\nimport { FormattedPlural, useIntl } from 'react-intl';\n\ntype Props = {\n amount: number | undefined;\n irrigular?: boolean;\n wordId: string;\n PluralId?: string;\n};\n\nexport const CustomPlural: FC = ({ amount, irrigular, wordId, PluralId }) => {\n const { formatMessage } = useIntl();\n return (\n \n );\n};\n","import { FC } from 'react';\n\ntype Props = {\n className?: string;\n};\n\nexport const ArrowAfterDash: FC = ({ className }) => (\n \n \n \n \n);\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { CustomPlural } from '../../../../../utils/CustomPlural';\nimport { DoctypeType } from '../types';\nimport { ArrowAfterDash } from '../../../../../app/shared/ArrowAfterDash';\n\nexport type Props = {\n docType?: DoctypeType;\n};\n\nexport const DocTypeCard: FC = ({ docType }) => {\n const { iconBGColor, titleId, descriptionId, amount, faIcon } = docType || {};\n\n return (\n
\n \n \n \n
\n

\n {titleId && }\n

\n \n {descriptionId && }\n \n
\n
\n {amount === undefined &&
}\n {amount && (\n
\n
\n \n
{amount}
\n
\n
\n {amount && }\n
\n
\n )}\n
\n
\n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { DocTypeCard } from '../components/DocTypeCard';\nimport { DoctypeType } from '../types';\n\ntype Props = {\n docTypes: DoctypeType[];\n};\nexport const DocTypesList: FC = ({ docTypes }) => {\n return (\n
\n
\n
\n
\n

\n \n

\n
\n \n
\n
\n
\n \n \n \n \n \n \n
\n
\n {docTypes.map((docType) => (\n \n ))}\n
\n
\n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage, FormattedNumber, useIntl } from 'react-intl';\nimport { capitalize } from '../../../../../utils/strings';\nimport { actionStatusColor } from '../../../../assets/ts/_utils/models/DocsActions';\nimport { RencentAction } from '../types';\n\ntype Props = {\n action: RencentAction;\n};\n\nexport const ActionCard: FC = ({ action }) => {\n const { formatDate, formatMessage } = useIntl();\n const { actionTitle, by, price, status, viewedBy, image, id } = action;\n\n return (\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n {actionTitle}\n
\n
\n \n \n \n \n
\n
\n \n \n \n {/* eslint-disable-next-line react/style-prop-object */}\n \n
\n
\n
\n {' '}\n {capitalize(status)}\n
\n
\n
\n {status === 'closed' && (\n
\n \n
\n )}\n {viewedBy && status === 'waitingforcompanysignature' && (\n
\n {viewedBy.viewer}, date: formatDate(viewedBy.date) }}\n />\n -\n \n {formatMessage({ id: 'feedback' })}\n \n ),\n }}\n />\n
\n )}\n \n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { RencentAction } from '../types';\nimport { ActionCard } from './ActionCard';\n\ntype Props = {\n recentActions: RencentAction[];\n};\n\nexport const RecentActions: FC = ({ recentActions }) => {\n return (\n
\n
\n
\n
\n

\n \n

\n
\n \n
\n
\n
\n \n \n \n \n \n \n
\n
\n {recentActions.map((action) => (\n \n ))}\n
\n
\n );\n};\n","import { FC, useEffect, useState } from 'react';\r\nimport { DocTypesList } from '../components/DocTypesList';\r\nimport { RecentActions } from '../components/RecentActions';\r\nimport { DoctypeType, RencentAction } from '../types';\r\n\r\nconst DocTypes: Array = [\r\n {\r\n titleId: 'Agreements',\r\n iconBGColor: 'light-rose',\r\n descriptionId: 'Contains contracts, docs ..',\r\n amount: undefined,\r\n faIcon: 'fa-print',\r\n },\r\n {\r\n titleId: 'Formal Notice',\r\n iconBGColor: 'light-blue',\r\n descriptionId: 'Docs like Vacations …',\r\n amount: undefined,\r\n faIcon: 'fa-edit',\r\n },\r\n {\r\n titleId: 'Non - Formal Notice',\r\n iconBGColor: 'light-green',\r\n descriptionId: 'Contains contracts, docs ..',\r\n amount: undefined,\r\n faIcon: 'fa-envelope',\r\n },\r\n];\r\n\r\nconst recentActionsDemo: RencentAction[] = [\r\n {\r\n id: 1,\r\n actionTitle: 'Real Estate Sales Contract',\r\n status: 'adjneeded',\r\n image: './media/avatars/150-2.jpg',\r\n by: 'Mohamed Othman',\r\n price: '15000',\r\n },\r\n {\r\n id: 2,\r\n actionTitle: 'Freelancer Developer',\r\n image: './media/avatars/150-5.jpg',\r\n status: 'closed',\r\n by: 'Sarah Mahmoud',\r\n price: '750',\r\n },\r\n {\r\n id: 3,\r\n actionTitle: 'Product Purchase Contract',\r\n status: 'waitingforcompanysignature',\r\n by: 'Sarah Mahmoud',\r\n price: '30000',\r\n viewedBy: {\r\n id: 1,\r\n viewer: 'Ahmed Ali',\r\n date: '20-4-2021',\r\n action: 'Write some feedback',\r\n },\r\n },\r\n];\r\n\r\nconst DockTypesAndRecentActions: FC = () => {\r\n const [docTypes, setDocTypes] = useState(DocTypes);\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n setDocTypes(\r\n [...DocTypes].map((type) => ({ ...type, amount: Math.ceil(Math.random() * 100) }))\r\n );\r\n }, 2000);\r\n }, []);\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport { DockTypesAndRecentActions };\r\n","import React from 'react';\r\nimport { useRouteMatch } from 'react-router';\r\nimport { DockTypesAndRecentActions } from './container/DockTypesAndRecentActions';\r\n\r\nconst RightSection = () => {\r\n const isMainPage = useRouteMatch(\"/dashboard\");\r\n\r\n switch (true) {\r\n case !!isMainPage:\r\n return ;\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nexport { RightSection };\r\n","import React, { useEffect } from 'react'\r\nimport { useLocation } from 'react-router'\r\nimport clsx from 'clsx'\r\nimport { useLayout } from '../core'\r\nimport { DrawerComponent } from '../../assets/ts/components'\r\n\r\nconst Content: React.FC = ({ children }) => {\r\n const { classes } = useLayout()\r\n const location = useLocation()\r\n useEffect(() => {\r\n DrawerComponent.hideAll()\r\n }, [location])\r\n\r\n return (\r\n
\r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport { Content }\r\n","import React, { FC } from 'react';\r\nimport { FormatMessage } from '../../../i18n/formatMessage';\r\n\r\nconst DemosToggleDrawer: FC = () => (\r\n \r\n \r\n \r\n \r\n \r\n);\r\n\r\nexport { DemosToggleDrawer };\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\n/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React, { FC } from 'react';\r\nimport { KTSVG } from '../../../helpers';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { RootState } from '../../../../setup/redux/Store';\r\nimport { formatDateTime } from '../../../../app/shared/tables/classes/DateViewer';\r\n\r\nexport const CommentsDrawer: FC = () => {\r\n const comments: any = useSelector(\r\n (state) => state.USER_documents.comments,\r\n shallowEqual\r\n ) as any;\r\n\r\n return (\r\n <>\r\n {/* begin::Demos drawer */}\r\n \r\n {/* begin::Card */}\r\n
\r\n {/* begin::Header */}\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n {/* end::Header */}\r\n {/* begin::Body */}\r\n
\r\n {/* begin::Content */}\r\n \r\n {comments?.map((comment: any) => (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {comment?.user?.name}\r\n
\r\n
\r\n
{comment.comment.text}
\r\n
{comment.content.text}
\r\n
\r\n\r\n
\r\n
{formatDateTime(comment.created_at)}
\r\n
{comment.comment.emoji}
\r\n
\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n","import { FC } from 'react';\r\nimport { DemosToggleDrawer } from './demos-drawer/DemosToggleDrawer';\r\nimport { CommentsDrawer } from './demos-drawer/CommentsDrawer';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { RootState } from '../../../setup/redux/Store';\r\n\r\nconst RightToolbar: FC = () => {\r\n const comments: any = useSelector(\r\n (state) => state.USER_documents.comments,\r\n shallowEqual\r\n ) as any;\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport { RightToolbar };\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport { FC } from 'react';\r\nimport { useLayout } from '../core';\r\nimport { useIntl, FormattedMessage } from 'react-intl';\r\nimport { Link } from 'react-router-dom';\r\n\r\nconst Footer: FC = () => {\r\n const { classes } = useLayout();\r\n const { formatMessage } = useIntl();\r\n return (\r\n \r\n {/* end::Container */}\r\n \r\n );\r\n};\r\n\r\nexport { Footer };\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { AsideDefault } from './components/aside/AsideDefault';\r\nimport { HeaderWrapper } from './components/header/HeaderWrapper';\r\nimport { Toolbar } from './components/toolbar/Toolbar';\r\nimport { RightSection } from './components/RightSection/RightSection';\r\nimport { Content } from './components/Content';\r\nimport { PageDataProvider } from './core';\r\nimport { useHistory, useParams } from 'react-router-dom';\r\nimport { RightToolbar } from '../partials/layout/RightToolbar';\r\nimport { Footer } from './components/Footer';\r\n\r\nconst MasterLayout: React.FC = ({ children }) => {\r\n const params: any = useParams();\r\n const history = useHistory();\r\n\r\n useEffect(() => {\r\n // To prevent undefined issues\r\n if (params?.companySlug && params.companySlug === 'undefined') {\r\n history.push('/');\r\n }\r\n }, [params]);\r\n\r\n return (\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {/* Announcement */}\r\n {/* */}\r\n {/* Announcement */}\r\n \r\n
\r\n {children}\r\n
\r\n
\r\n {/* Right Section */}\r\n
\r\n \r\n
\r\n \r\n {/* End Right Section */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport { MasterLayout };\r\n","import React from 'react';\nimport { AsideDefault } from './components/aside/AsideDefault';\nimport { HeaderWrapper } from './components/header/HeaderWrapper';\nimport { RightSection } from './components/RightSection/RightSection';\nimport { Content } from './components/Content';\nimport { PageDataProvider } from './core';\nimport { Toolbar } from './components/toolbar/Toolbar';\nimport { Footer } from './components/Footer';\n\nconst BasicLayout: React.FC = ({ children }) => {\n return (\n \n
\n \n
\n \n
\n
\n \n
\n {children}\n
\n
\n {/* Right Section */}\n
\n \n
\n {/* End Right Section */}\n
\n
\n
\n
\n
\n );\n};\n\nexport { BasicLayout };\n","import { FC } from 'react';\n\ntype Props = {\n value: number;\n currency?: 'USD' | 'SAR';\n withFractionDigits?: boolean;\n};\n\nexport const Currency: FC = ({\n value,\n currency,\n withFractionDigits,\n}): React.ReactElement> => {\n const amount = new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: currency || 'USD',\n }).format(value);\n\n const fromDotToTheEndOfAmount = 3;\n \n return (\n <>\n {withFractionDigits\n ? amount\n : [...amount.split('')].splice(0, amount.length - fromDotToTheEndOfAmount).join('')}\n \n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { generalNumber } from './statistic';\nimport { Currency } from '../../../shared/Currency';\nimport { KTSVG } from '../../../../_metronic/helpers/components/KTSVG';\n\ntype Props = {\n data: generalNumber;\n className: string;\n description: string;\n};\n\nexport const GeneralNumbersCard: FC = ({ data, className, description }) => {\n const { color, svgIcon, value, valueType, title } = data; //faIcon, iconClasses, icon,\n return (\n \n {/* bg-${color} */}\n {/* begin::Body */}\n
\n \n\n
\n {valueType === 'currency' && }\n {valueType === 'number' && <>{value ? value : 0}}\n
\n\n
\n {' '}\n \n
\n
\n {/* end::Body */}\n \n //
\n //
\n // {faIcon && }\n // {icon && }\n //
\n //
\n //
\n // \n //
\n //
\n // {valueType === 'currency' && }\n // {valueType === 'number' && <>{value}}\n //
\n //
\n //
\n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { GeneralNumbersCard } from './GeneralNumbersCard';\nimport { generalNumber } from './statistic';\n\nconst generalNumbers: generalNumber[] = [\n {\n title: 'Clients',\n faIcon: 'fas fa-address-book fs-2',\n value: 0,\n valueType: 'number',\n color: 'dark',\n svgIcon: '/media/icons/duotune/communication/com005.svg',\n // iconColor,\n // valueType: 'currency',\n },\n {\n title: 'Users',\n faIcon: 'fas fa-user fs-2',\n value: 0,\n valueType: 'number',\n color: 'warning',\n svgIcon: '/media/icons/duotune/communication/com006.svg',\n },\n // { title: 'Documents', faIcon: 'far fa-file', value: 0, valueType: 'number' },\n // { title: 'Products', faIcon: 'far fa-cubes', value: 0, valueType: 'number' },\n {\n title: 'Total_revenue',\n faIcon: 'fas fa-chart-bar fs-2',\n value: 0,\n valueType: 'number',\n color: 'info',\n svgIcon: '/media/icons/duotune/graphs/gra007.svg',\n },\n // { title: 'Templates', faIcon: 'far fa-file-plus', value: 0, valueType: 'number' },\n // { title: 'Contracts', faIcon: 'far fa-file-signature', value: 23, valueType: 'number' },\n];\n\nexport const GeneralNumbersGrid: FC = ({ generalNumbersData }) => {\n generalNumbers.map((generalNumberItem) => {\n return (generalNumberItem.value =\n generalNumbersData[`${generalNumberItem.title.toLowerCase()}`]);\n });\n\n return (\n <>\n
\n

\n \n \n

\n\n
\n {generalNumbers.map((data, index) => (\n
\n \n
\n ))}\n
\n
\n \n );\n};\n","import React, { FC } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { CustomPlural } from '../../../../utils/CustomPlural';\nimport { capitalize } from '../../../../utils/strings';\n// import { actionVATStatusColor } from '../../../../_metronic/assets/ts/_utils/models/VATActions';\nimport { statisticVAT } from './statisticVAT';\n// import { Dropdown1 } from '../../../../_metronic/partials/content/dropdown/Dropdown1';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = {\n statisticVAT: statisticVAT;\n className: string;\n};\n\nexport const StatisticVATCard: FC = ({ statisticVAT, className }) => {\n const { formatMessage } = useIntl();\n return (\n
\n {/* begin::Body */}\n
\n {/* begin::Header */}\n \n {/* begin::Heading */}\n
\n

\n \n

\n
\n {/* begin::Menu */}\n {/* \n \n */}\n {/* end::Menu */}\n
\n
\n {/* end::Heading */}\n {/* begin::Balance */}\n
\n \n {statisticVAT.faIcon && }\n {statisticVAT.icon && (\n \n )}\n \n \n \n \n \n \n {statisticVAT.total ? statisticVAT.total : 0}\n \n \n
\n {/* end::Balance */}\n
\n {/* end::Header */}\n {/* begin::Items */}\n \n {/* begin::Item */}\n
\n {/* begin::Symbol */}\n
\n \n \n \n
\n {/* end::Symbol */}\n {/* begin::Description */}\n
\n {/* begin::Title */}\n
\n \n \n \n {/*
100 Regions
*/}\n
\n {/* end::Title */}\n {/* begin::Label */}\n
\n
\n {formatMessage({ id: 'SAR' })} {statisticVAT.amount ? statisticVAT.amount : 0}\n
\n \n
\n {/* end::Label */}\n
\n {/* end::Description */}\n
\n {/* end::Item */}\n\n {/* begin::Item */}\n
\n {/* begin::Symbol */}\n
\n \n \n \n
\n {/* end::Symbol */}\n {/* begin::Description */}\n
\n {/* begin::Title */}\n
\n \n \n \n {/*
3090 Refunds
*/}\n
\n {/* end::Title */}\n {/* begin::Label */}\n
\n
\n {formatMessage({ id: 'SAR' })} {statisticVAT.return ? statisticVAT.return : 0}\n
\n \n
\n {/* end::Label */}\n
\n {/* end::Description */}\n
\n {/* end::Item */}\n
\n {/* end::Items */}\n \n {/* end::Body */}\n \n );\n};\n","import { FC } from 'react';\n\nimport { statisticVAT } from './statisticVAT';\nimport { StatisticVATCard } from './StatisticVATCard';\n\nconst statisticsVAT: statisticVAT[] = [\n {\n title: 'Sales for current month',\n type: 'sales',\n faIcon: 'fas fa-dollar-sign fs-2',\n total: 0,\n amount: 0,\n return: 0,\n rightSideTitle: 'Invoices amount',\n leftSideTitle: 'Return invoices',\n },\n {\n title: 'Purchases for current month',\n type: 'purchases',\n faIcon: 'fas fa-shopping-cart fs-2',\n total: 0,\n amount: 0,\n return: 0,\n rightSideTitle: 'Invoices amount',\n leftSideTitle: 'Return invoices',\n },\n {\n title: 'Unprocessed transactions',\n type: 'All transactions',\n faIcon: 'fas fa-exchange fs-2',\n total: 0,\n amount: 0,\n return: 0,\n rightSideTitle: 'Total sales tax',\n leftSideTitle: 'Total purchases tax',\n },\n];\n\nexport const HomePageVatStatistics: FC = ({ statisticsVATData }) => {\n statisticsVAT.map((statistic) => {\n if (statistic.type === 'sales') {\n statistic.amount = +statisticsVATData?.sales?.total_sales_amount;\n statistic.return = +statisticsVATData?.sales?.total_sales_return_amount;\n statistic.total = +statisticsVATData?.sales?.total_count;\n }\n if (statistic.type === 'purchases') {\n statistic.amount = +statisticsVATData?.purchases?.total_purchases_amount;\n statistic.return = +statisticsVATData?.purchases?.total_purchases_return_amount;\n statistic.total = +statisticsVATData?.purchases?.total_count;\n }\n if (statistic.type === 'All transactions') {\n statistic.amount = +statisticsVATData?.unprocessed_invoices?.total_sales_vat;\n statistic.return = +statisticsVATData?.unprocessed_invoices?.total_purchases_vat;\n statistic.total = +statisticsVATData?.unprocessed_invoices?.total_count;\n }\n\n return statistic;\n });\n return (\n <>\n {/* begin::Row */}\n
\n {/* begin::Col */}\n {statisticsVAT.map((stat, index) => (\n
\n \n {/* */}\n
\n ))}\n
{' '}\n \n );\n};\n","import { FC, useState, useEffect } from 'react';\nimport { useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport { useHistory } from 'react-router-dom';\nimport { shallowEqual, useSelector } from 'react-redux';\nimport clsx from 'clsx';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { GeneralNumbersGrid } from './components/GeneralNumbers';\nimport { HomePageVatStatistics } from './components/HomePageVatStatistics';\n// import { HomePageDocumentsStatistics } from './components/HomePageDocumentsStatistics';\nimport { axiosInstance } from '../../../network/apis';\n\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { CurrentCompanyUser } from '../../types/CompanyTypes';\n\nimport { RootState } from '../../../setup/redux/Store';\n\n// import { LinearCalendar } from './LinearCalendar';\n\nconst DashboardPage: FC = () => {\n const { formatMessage } = useIntl();\n const { userCan } = usePermissions();\n\n const history = useHistory();\n\n // documents statistics\n // const [activeTab, setActiveTab] = useState(1);\n // const [statisticsData, setStatisticsData] = useState({});\n const [generalNumbersData, setGeneralNumbersData] = useState({});\n\n // vat rate statistics\n const [activeVATTab, setVATActiveTab] = useState(1);\n const [statisticsVATData, setStatisticsVATData] = useState({});\n\n const currentCompanyUser: CurrentCompanyUser = useSelector(\n (state) => state.current.current,\n shallowEqual\n ) as CurrentCompanyUser;\n\n // request general numbers for documents function\n const requestGeneralNumbers = async () => {\n return await axiosInstance(`/${currentCompanyUser.company?.id}/statistics/generals/all`)\n .then((res) => {\n setGeneralNumbersData(res.data);\n // console.log('request general numbers for documents function', res.data);\n // return res.data;\n })\n .catch((error) => {\n if (error.response.status === 403) {\n toast.error(\n formatMessage({\n id: 'you are not authorized',\n })\n );\n }\n // if (error.response.status !== 200) history.push('/');\n });\n };\n\n // request VAT card status function\n const requestVATStatistics = async (statisticsVATURL: any) => {\n // console.log(statisticsVATURL);\n\n return await axiosInstance(statisticsVATURL)\n .then((res) => {\n setStatisticsVATData(res.data);\n // console.log('request VAT card status function', res.data);\n })\n .catch((error) => {\n if (error.response.status === 403) {\n toast.error(\n formatMessage({\n id: 'you are not authorized',\n })\n );\n }\n if (error.response.status !== 200) history.push('/');\n });\n };\n // request document card status function\n // const requestStatistics = async (statisticsURL: any) => {\n // return await axiosInstance(statisticsURL)\n // .then((res) => {\n // setStatisticsData(res.data);\n // // console.log('request document card status function', res.data);\n\n // // return res.data;\n // })\n // .catch((error) => {\n // if (error.response.status === 403) {\n // toast.error(\n // formatMessage({\n // id: 'you are not authorized',\n // })\n // );\n // }\n // if (error.response.status !== 200) history.push('/');\n // });\n // };\n\n // set tab change handler for documents statistics card component\n const setVATTab = (tabId: number) => {\n let statisticsVATURL = '';\n if (currentCompanyUser.company?.id) {\n if (tabId === 1) {\n statisticsVATURL = `/${currentCompanyUser.company?.id}/stats/all`;\n }\n setVATActiveTab(tabId);\n // make request to get card data then pass it to the statistic component as props\n requestVATStatistics(statisticsVATURL);\n }\n };\n\n // set tab change handler for documents statistics card component\n // const setTab = (tabId: number) => {\n // let statisticsURL = '';\n // if (currentCompanyUser.company?.id) {\n // if (tabId === 1) {\n // statisticsURL = `/${currentCompanyUser.company?.id}/statistics/all`;\n // }\n // if (tabId === 2) {\n // statisticsURL = `/${currentCompanyUser.company?.id}/statistics/created-by-auth`;\n // }\n // if (tabId === 3) {\n // statisticsURL = `/${currentCompanyUser.company?.id}/statistics/reviewed-by-auth`;\n // }\n // if (tabId === 4) {\n // statisticsURL = `/${currentCompanyUser.company?.id}/statistics/signed-by-auth`;\n // }\n // setActiveTab(tabId);\n // // make request to get card data then pass it to the statistic component as props\n // requestStatistics(statisticsURL);\n // }\n // };\n\n useEffect(() => {\n //vat statistics card\n if (userCan('statistics-company')) {\n setVATTab(1);\n }\n\n // document statistics card\n // if (userCan('statistics-company')) {\n // setTab(1);\n // }\n // else {\n // setTab(2);\n // }\n if (currentCompanyUser.company?.id) {\n requestGeneralNumbers();\n }\n // return function cleanup() {};\n }, [currentCompanyUser.company?.id]);\n\n return (\n <>\n {/*
*/}\n {/*
{LinearCalendar}
*/}\n {/* begin:: Nav */}\n {/*Vat Dashboard */}\n {userCan('statistics-company') && (\n <>\n
    \n
  • \n setVATTab(1)}\n className={clsx('fs-1 nav-link', { disabled: activeVATTab === 1 })}\n style={{ cursor: 'pointer' }}\n id='kt_vat_tab_1'\n >\n \n {formatMessage({ id: 'Tax statistics' })}\n \n
  • \n
\n \n \n \n )}{' '}\n {/* document Dashboard */}\n {/* {userCan('statistics-company') && (\n <>\n
    \n
  • \n setTab(1)}\n className={clsx('nav-link', { disabled: activeTab === 1 })}\n style={{ cursor: 'pointer' }}\n id='kt_tab_1'\n >\n {formatMessage({ id: 'All documents statistics' })}\n \n
  • \n\n
  • \n setTab(2)}\n className={clsx('nav-link', { disabled: activeTab === 2 })}\n style={{ cursor: 'pointer' }}\n id='kt_tab_2'\n >\n {formatMessage({ id: 'Documents I created' })}\n \n
  • \n
  • \n setTab(3)}\n className={clsx('nav-link', { disabled: activeTab === 3 })}\n style={{ cursor: 'pointer' }}\n id='kt_tab_3'\n >\n {formatMessage({ id: 'Documents I approved' })}\n \n
  • \n
  • \n setTab(4)}\n className={clsx('nav-link', { disabled: activeTab === 4 })}\n style={{ cursor: 'pointer' }}\n id='kt_tab_4'\n >\n {formatMessage({ id: 'Documents I signed' })}\n \n
  • \n
\n \n \n \n )} */}\n {/* end:: Nav */}\n \n );\n};\n\nconst DashboardWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Dashboard' })}\n \n
\n );\n};\n\nexport { DashboardWrapper };\n","import { toast } from 'react-toastify';\n\nexport function DisplayErrors(err: any) {\n const errors = err?.response?.data?.errors;\n\n if (errors) {\n const errorsArray = Object.values(errors).flat();\n errorsArray.map((err, x, arr) => {\n return typeof err === 'string' && toast.error(err);\n });\n }\n}\n","/* eslint-disable no-useless-escape */\nexport const emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/;\n\nexport const numbersPattern = /^(\\(?\\+?[0-9]*\\)?)?[0-9_\\- \\(\\)]*$/;\n\nexport const ddMMYYYPattern = /[0-9]{1,2}([./-])[0-9]{1,2}([./-])[0-9]{4}/;\n\nexport const specialCharacters = /[!@#$%^&*€¹²³¾½¾£()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]/;\n\nexport const strongPasswordRegexWithSpecialChar =\n /^(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*~` €¹²³¾½¾()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?])(?=.{8,15}$)/;\n\nexport const sprcialCharactesOrNumbersRegex =\n /([!@#$%^&*€¹²³¾½¾£()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?123456789۰۱۲۳۴۵۶۷۸۹٠١٢٣٤٥٦٧٨٩])/g;\n\nexport const uriStrictPatterns =\n /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/;\n\nexport const uriOptionalPattern =\n /^((http|https):\\/\\/)?(www.)?(?!.*(http|https|www.))[a-zA-Z0-9_-]+(\\.[a-zA-Z]+)+(\\/)?.([\\w\\?[a-zA-Z-_%\\/@?]+)*([^\\/\\w\\?[a-zA-Z0-9_-]+=\\w+(&[a-zA-Z0-9_]+=\\w+)*)?$/;\n","import { emailPattern, uriStrictPatterns, specialCharacters } from '../../constants/patterns';\n\nexport const validPassword = (password: string): boolean => {\n return password.length >= 6 && password.length <= 10 && !password.includes('\"');\n};\n\nexport const validWebsite = (url: string): boolean => {\n return uriStrictPatterns.test(url);\n};\n\nexport function isValidEmail(value: string): boolean {\n return emailPattern.test(value);\n}\n\nexport function isEmptyString(str: string): boolean {\n return str.length === 0;\n}\n\nexport function nameWithoutSpcialCharsStartOrEnd(str: string | undefined): boolean {\n if (!str) return true;\n const string = str.split('');\n return (\n !specialCharacters.test(string[0]) &&\n string[0] !== ' ' &&\n !specialCharacters.test(string[string.length - 1])\n );\n}\n","const companyPrefix = 'c';\n\nexport function companySlugTo(slug: string, location: string, extras: string = '') {\n return `/${companyPrefix}/${slug}/${location}` + extras;\n}\n","import { companyStatuses } from './companies';\nimport { IRole } from './user';\n\nexport enum CompanyTypes {\n 'Freelancer' = 1,\n 'Corporate' = 2,\n}\n\nexport enum ClientTypes {\n 'Entity' = 1,\n 'Individual' = 2,\n}\n\nexport enum PersonDecisionTypes {\n 'Not Approver' = 0,\n 'Approver' = 1,\n}\n\nexport enum ThirdPartyTypes {\n 'Client' = 1,\n 'Vendor' = 2,\n 'Both' = 3,\n}\nexport enum AccountTypes {\n 'Account' = 1,\n 'Aggregate' = 2,\n}\n\nexport interface CurrentCompanyUser {\n company: {\n id: number;\n slug: string;\n name: string;\n type: string;\n status: companyStatuses;\n commercial_registration_document: string;\n tax_number_document: string;\n certificate_number_document: string;\n commercial_registration: number;\n tax_number: number;\n certificate_number: string | null;\n website: string;\n plan?: null;\n owner: {\n id: number;\n first_name: string;\n last_name: string;\n name: string;\n email: string;\n image?: null;\n position: [];\n active: boolean;\n companies_count: number;\n created_at: string;\n };\n created_at: string;\n members: number;\n branding: {\n logo: {\n light: string;\n dark: string;\n };\n mark: {\n light: string;\n dark: string;\n };\n };\n } | null;\n user: {\n id: number;\n first_name: string;\n last_name: string;\n name: string;\n email: string;\n image?: string | null;\n position: [];\n active: boolean;\n roles: IRole[];\n companies_count: number;\n created_at: string;\n } | null;\n}\n","export const backendBaseUrl =\n process.env.REACT_APP_BACKEND_BASE_URL + '/v' + process.env.REACT_APP_BACKEND_VERSION;\n\nexport type ID = string | number | null;\n\nexport const endpoints = {\n login: '/oauth/token',\n\n authUser: '/user',\n\n register: 'register',\n\n forgetPassword: 'forget-password',\n\n companies: 'companies',\n\n userCompanies: () => `/my-companies`,\n\n permissions: (companyId: ID) => `${companyId}/permissions`,\n\n previewTemplates: '/preview/templates',\n // roles\n companyRoles: (companyId: ID) => `${companyId}/roles`,\n\n editCompanyRoles: (companyId: ID, roleId: ID) => `${companyId}/roles/${roleId}`,\n // users\n companyUsers: (companyId: ID) => `${companyId}/users`,\n\n companySingleUser: (companyId: ID, userId: ID) => `${companyId}/users/${userId}`,\n // document reviewers\n companyDocumentReviewers: (companyId: ID) => `${companyId}/document/reviewers`,\n // clients\n companyClients: (companyId: ID) => `${companyId}/clients`,\n\n companySingleClient: (companyId: ID, clientId: ID) => `${companyId}/clients/${clientId}`,\n // products\n companyProducts: (companyId: ID) => `${companyId}/products`,\n\n companySingleProduct: (companyId: ID, productId: ID) => `${companyId}/products/${productId}`,\n // invoices\n companyInvoices: (companyId: ID) => `${companyId}/invoices`,\n\n // sales invoices\n companySalesInvoices: (companyId: ID) => `${companyId}/invoices/sales`,\n\n companySingleSalesInvoice: (companyId: ID, invoiceId: ID) =>\n `${companyId}/invoices/sales/${invoiceId}`,\n\n // purchases invoices\n companyPurchasesInvoices: (companyId: ID) => `${companyId}/invoices/purchases`,\n\n companySinglePurchasesInvoice: (companyId: ID, invoiceId: ID) =>\n `${companyId}/invoices/purchases/${invoiceId}`,\n\n // sales\n companySales: (companyId: ID) => `${companyId}/sales`,\n\n companySingleSale: (companyId: ID, saleId: ID) => `${companyId}/sales/${saleId}`,\n\n // sales lines items\n companySalesLineItems: (companyId: ID) => `${companyId}/invoice_items`,\n\n companySingleSalesLineItems: (companyId: ID, saleId: ID) =>\n `${companyId}/invoice_items/${saleId}`,\n\n // purchases\n companyPurchases: (companyId: ID) => `${companyId}/purchases`,\n\n companySinglePurchase: (companyId: ID, purchaseId: ID) => `${companyId}/purchases/${purchaseId}`,\n\n // purchases lines items\n companyPurchasesLineItems: (companyId: ID) => `${companyId}/invoice_items`,\n\n companySinglePurchasesLineItems: (companyId: ID, purchaseId: ID) =>\n `${companyId}/invoice_items/${purchaseId}`,\n\n // reports\n companyReports: (companyId: ID) => `${companyId}/tax_return`,\n\n companyTransactions: (companyId: ID) => `${companyId}/report/transactions`,\n\n companySingleReport: (companyId: ID, reportId: ID) => `${companyId}/tax_return/${reportId}`,\n\n // reports/transactions details\n companyTransactionsDetails: (companyId: ID, reportId: ID) =>\n `${companyId}/tax_return/${reportId}/transactions`,\n\n // invoices reports\n companyInvoicesReports: (companyId: ID) => `${companyId}/reports/vat`,\n\n companySingleInvoiceReport: (companyId: ID, reportId: ID) =>\n `${companyId}/reports/vat/${reportId}`,\n\n companyInvoicesReportTransactions: (companyId: ID) => `${companyId}/report/vat/invoices`,\n\n // invoices reports/transactions details\n companyInvoicesReportTransactionsDetails: (companyId: ID, reportId: ID) =>\n `${companyId}/reports/vat/${reportId}/invoices`,\n\n // invoices withholding reports\n companyWithholdingInvoicesReports: (companyId: ID) => `${companyId}/reports/withholding`,\n\n companyWithholdingSingleInvoiceReport: (companyId: ID, reportId: ID) =>\n `${companyId}/reports/withholding/${reportId}`,\n\n companyInvoicesWithholdingReportTransactions: (companyId: ID) =>\n `${companyId}/report/withholding/invoices`,\n\n companyInvoicesWithholdingReportPurchases: (companyId: ID) => `${companyId}/invoice_items`,\n\n // invoices withholding reports/transactions details\n companyInvoicesWithholdingReportTransactionsDetails: (companyId: ID, reportId: ID) =>\n `${companyId}/reports/withholding/${reportId}/invoices`,\n\n // lines items\n companyLineItems: (companyId: ID) => `${companyId}/invoice_items`,\n\n companySingleLineItems: (companyId: ID, lineItemId: ID) =>\n `${companyId}/invoice_items/${lineItemId}`,\n\n // Logs\n companyLogs: (companyId: ID) => `${companyId}/logs`,\n // templates\n companyTemplates: (companyId: ID) => `${companyId}/templates`,\n\n getCompanyTemplate: (companyId: ID, templateId: ID) => `${companyId}/templates/${templateId}`,\n\n updateCompanyTemplates: (companyId: ID, templateId: ID) => `${companyId}/templates/${templateId}`,\n\n cloneTemplate: (companyId: ID, template: ID, templateConfigId: ID) =>\n `${companyId}/templates/${template}/clone/${templateConfigId}`,\n\n // custom variables for template\n customvariables: (companyId: ID) => `${companyId}/variables`,\n // documents\n companyDocuments: (companyId: ID) => `${companyId}/documents`,\n\n companyDocumentToTakeAction: `auth/documents`,\n\n companyunderReviewDocuments: (companyId: ID) => `${companyId}/reviewers/documents`,\n\n getCompanyDocument: (companyId: ID, documentId: ID) => `${companyId}/documents/${documentId}`,\n\n updateCompanyDocuments: (companyId: ID, documentId: ID) => `${companyId}/documents/${documentId}`,\n\n cloneDocumentFromTemplate: ({ companyId, templateId }: { companyId: ID; templateId: ID }) =>\n `${companyId}/templates/${templateId}/documents`,\n};\n","import { useState, useMemo } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useFormik } from 'formik';\nimport { useDispatch } from 'react-redux';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport Select from 'react-select';\n\nimport * as Yup from 'yup';\nimport * as CurrentCompany from '../../store/CurrentCompanyRedux';\n\nimport { actions as companiesActions } from '../../modules/companies/store/UserCompaniesRedux';\nimport { actions as modalActions } from '../../store/ModalRedux';\nimport { DisplayErrors } from '../../../utils/DisplayErrors';\nimport { Input } from '../../shared/Input';\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../_metronic/helpers/functions';\nimport { CompanyTypes } from '../../types/CompanyTypes';\nimport { SelectOptions } from '../../types/SelectOptions';\nimport { axiosInstance } from '../../../network/apis';\nimport { endpoints } from '../../../_metronic/constants/paths';\n\nexport const CreateCompanyForm = () => {\n const history = useHistory();\n const dispatch = useDispatch();\n const { formatMessage } = useIntl();\n const [loading, setLoading] = useState(false);\n\n const initialValues = useMemo(\n () => ({\n slug: '',\n type: { value: CompanyTypes.Freelancer, label: formatMessage({ id: 'Freelancer' }) },\n }),\n [formatMessage]\n );\n\n const createNewCompaySchema = useMemo(\n () =>\n Yup.object().shape({\n slug: Yup.string()\n .required(formatMessage({ id: 'This field is required' }))\n .min(\n 3,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: 3 }\n )\n )\n .max(\n 15,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 15 }\n )\n )\n .test(\n 'name',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n type: Yup.object().required(formatMessage({ id: 'This field is required' })),\n }),\n [formatMessage]\n );\n\n const CompanyTypesOptions: SelectOptions = useMemo(\n () => [\n { value: CompanyTypes.Freelancer, label: formatMessage({ id: 'Freelancer' }) },\n { value: CompanyTypes.Corporate, label: formatMessage({ id: 'Corporate' }) },\n ],\n [formatMessage]\n );\n\n const formik = useFormik({\n initialValues,\n validationSchema: createNewCompaySchema,\n onSubmit: async (values, { setSubmitting }) => {\n try {\n const response = await axiosInstance.post(endpoints.companies, {\n ...values,\n type: values.type.value,\n });\n\n if (response.data.id) {\n dispatch(companiesActions.setLastAddedCompany(response.data));\n dispatch(companiesActions.getCurrentCompanyById({ id: response.data.id }));\n dispatch(\n companiesActions.getUserCompanies({\n params: {\n per_page: 100,\n },\n })\n );\n dispatch(modalActions.closeActiveModal());\n }\n\n toast.success(formatMessage({ id: 'Your company profile has been created successfully!' }));\n axiosInstance.post(`${response.data.id}/switch`).then((res) => {\n dispatch(CurrentCompany.actions.setCurrentCompany({ ...res.data }));\n });\n history.push(`/c/${response.data.slug}/settings/company-added`);\n formik.resetForm();\n } catch (err: any) {\n DisplayErrors(err);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n\n return (\n \n
\n \n \n formik.setFieldValue('type', value)}\n onBlur={() => formik.setFieldTouched('type', true)}\n options={CompanyTypesOptions}\n defaultValue={CompanyTypesOptions[0]}\n className='react-select smaller'\n id='company_type'\n />\n
\n\n {/* begin::Form group */}\n
\n \n {!loading && (\n \n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n \n );\n};\n","import { FC } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { RootState } from '../../../setup';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { PrivateRoutes } from '../../../_metronic/constants/ROUTES';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { Portal } from '../../../_metronic/partials';\nimport { actions } from '../../store/ModalRedux';\nimport { ModalName } from '../../types/types';\nimport { CreateCompanyForm } from './CreateCompanyForm';\n\nconst Companies: FC = () => {\n const dispatch = useDispatch();\n const modal: ModalName = useSelector(\n (state) => state.modal.activeModal,\n shallowEqual\n ) as ModalName;\n\n return (\n <>\n
\n dispatch(actions.setActiveModal('create-company'))}\n >\n \n \n
\n\n {modal === 'create-company' && (\n \n \n \n \n \n )}\n \n );\n};\n\nconst CompaniesWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n \n {formatMessage({ id: 'Companies' })}\n \n \n
\n );\n};\n\nexport { CompaniesWrapper };\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints, ID } from '../../../../_metronic/constants/paths';\n\nexport const companyRoles = endpoints.companyRoles;\nexport const editCompanyRoles = endpoints.editCompanyRoles;\nexport const permissions = endpoints.permissions;\n\n// Server should return AuthModel\nexport function getRolesList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyRoles(companyId), { params });\n}\n\nexport function getPermissions(companyId: any) {\n return axiosInstance.get(permissions(companyId));\n}\n\nexport function addPermissions(companyId: number, payload: {}) {\n return axiosInstance.post(companyRoles(companyId), payload);\n}\n\nexport function editPermissions(companyId: ID, roleId: ID, payload: {}) {\n return axiosInstance.post(editCompanyRoles(companyId, roleId), payload);\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ID } from '../../../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { getRolesList } from './RolesCrud';\n\nexport enum IRolesActionTypes {\n GET_ROLES = 'GET_ROLES',\n FULLFULL_ROLES = 'FULLFULL_ROLES',\n}\n\nconst initialRolesState: IRolesState = {\n roles: undefined,\n};\n\nexport interface IRolesState {\n roles?: {};\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'roles', whitelist: [''] },\n (state: IRolesState = initialRolesState, action: ActionWithPayload) => {\n switch (action.type) {\n case IRolesActionTypes.FULLFULL_ROLES:\n return { ...state, roles: action.payload?.roles };\n default:\n return state;\n }\n }\n);\ntype CompanyRolesSearch = { companyId: ID | any; params?: any };\n\nexport const actions = {\n fulfillRoles: ({ roles }: IRolesState) => ({\n type: IRolesActionTypes.FULLFULL_ROLES,\n payload: { roles },\n }),\n getRoles: ({ companyId, params }: CompanyRolesSearch) => ({\n type: IRolesActionTypes.GET_ROLES,\n payload: { companyId, params },\n }),\n};\n\nexport function* getRoles(action: ActionWithPayload) {\n try {\n const { data } = yield getRolesList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n yield put(actions.fulfillRoles({ roles: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IRolesActionTypes.GET_ROLES, getRoles);\n}\n","import { FC } from 'react';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const EditItem: FC = ({ ...props }) => {\n return (\n \n );\n};\n","import _ from 'lodash';\nimport { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\n// import { defaultPagination } from '../../_metronic/constants/general';\nimport { ID } from '../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../interface/ActionWithPayload';\n\nexport enum ITableActionTypes {\n INIT_TABLE = 'INIT_TABLE',\n TERMINATE_TABLE = 'TERMINATE_TABLE',\n TOGGLE_SELECTION = 'TOGGLE_SELECTION',\n BULK_TOGGLE_SELECTION = 'BULK_TOGGLE_SELECTION',\n SELECT_ALL = 'SELECT_ALL',\n CLEAR_SELECTION = 'CLEAR_SELECTION',\n CHANGE_PAGINATION = 'CHANGE_PAGINATION',\n CHANGE_PAGE = 'CHANGE_PAGE',\n UPDATE_QUERY = 'UPDATE_QUERY',\n CLEAR_QUERY = 'CLEAR_QUERY',\n UPDATE_IDS = 'UPDATE_IDS',\n}\n\nconst initialAuthState: ITableState = {\n tables: {},\n};\n\nexport interface ITableState {\n tables?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'table', whitelist: [''] },\n (state: ITableState = initialAuthState, action: ActionWithPayload) => {\n switch (action.type) {\n case ITableActionTypes.INIT_TABLE:\n case ITableActionTypes.CLEAR_SELECTION:\n let tablesInitialization = { ...state.tables };\n tablesInitialization[action.payload.tableName] = {\n ...tablesInitialization[action.payload.tableName],\n selection: [],\n // pagination: action.payload.initPerPage || defaultPagination,\n // page: 1,\n // ids: action.payload.allDisplayedIds,\n };\n return { ...state, tables: tablesInitialization };\n case ITableActionTypes.UPDATE_IDS:\n let tableData = { ...state.tables };\n tableData[action.payload.tableName] = {\n ...tableData[action.payload.tableName],\n ids: action.payload.allDisplayedIds,\n };\n return { ...state, tables: tableData };\n\n case ITableActionTypes.CHANGE_PAGINATION:\n let allTables = { ...state.tables };\n allTables[action.payload.tableName].pagination = action.payload.pagination;\n allTables[action.payload.tableName].page = 1;\n return { ...state, tables: allTables };\n\n case ITableActionTypes.CHANGE_PAGE:\n let currentTables = { ...state.tables };\n currentTables[action.payload.tableName].page = action.payload.page;\n return { ...state, tables: currentTables };\n\n case ITableActionTypes.UPDATE_QUERY:\n let tableQueryUpdate = { ...state.tables };\n let QTable = tableQueryUpdate?.[action.payload.tableName];\n if (QTable?.query) {\n QTable.query = { ...QTable?.query, [action.payload.queryTerm]: action.payload.value };\n } else {\n QTable.query = { [action.payload.queryTerm]: action.payload.value };\n }\n\n return { ...state, tables: tableQueryUpdate };\n\n case ITableActionTypes.CLEAR_QUERY:\n let tableQueryClear = { ...state.tables };\n let CTable = tableQueryClear?.[action.payload.tableName];\n delete CTable.query;\n // CTable.query = {};\n\n return { ...state, tables: tableQueryClear };\n\n case ITableActionTypes.TOGGLE_SELECTION:\n // NOTE: -1 means select all\n let tableSelections = { ...state.tables };\n let currentSelection = [...tableSelections?.[action?.payload?.tableName]?.selection];\n let allIds = [...tableSelections?.[action?.payload?.tableName]?.ids];\n let clickedId = action?.payload?.id;\n let tableName = action?.payload?.tableName;\n\n let newSelection: Array = [];\n\n if (currentSelection.includes(-1) && clickedId !== -1) {\n newSelection = [...allIds.filter((x) => x !== clickedId && x !== -1)];\n } else if (currentSelection.includes(-1) && clickedId === -1) {\n newSelection = [];\n } else if (!currentSelection.includes(-1) && clickedId === -1) {\n newSelection = _.xor([-1], currentSelection);\n } else {\n newSelection = _.xor([clickedId], currentSelection);\n }\n\n // if (allIds.length === newSelection.filter((x) => x !== -1).length) {\n // console.log('5');\n\n // newSelection = [...newSelection, -1];\n // }\n\n tableSelections[tableName] = { ...tableSelections[tableName], selection: newSelection };\n\n return { ...state, tables: tableSelections };\n\n case ITableActionTypes.BULK_TOGGLE_SELECTION:\n let tableBulkSelections = { ...state.tables };\n let idList = action?.payload?.idList;\n let tableBulkName = action?.payload?.tableName;\n let newBulkSelection: Array = [];\n\n if (idList.length > 0) {\n newBulkSelection = [...idList];\n }\n\n tableBulkSelections[tableBulkName] = {\n ...tableBulkSelections[tableBulkName],\n selection: newBulkSelection,\n };\n return { ...state, tables: tableBulkSelections };\n\n case ITableActionTypes.TERMINATE_TABLE:\n let selectedTables = { ...state.tables };\n delete selectedTables?.[action.payload.tableName];\n return { ...state, tables: selectedTables };\n\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n initTable: ({\n tableName,\n allDisplayedIds,\n initPerPage,\n }: {\n tableName: string;\n allDisplayedIds: Array;\n initPerPage: number | undefined;\n }) => ({\n type: ITableActionTypes.INIT_TABLE,\n payload: { tableName, allDisplayedIds, initPerPage },\n }),\n updateIds: ({\n tableName,\n allDisplayedIds,\n }: {\n tableName: string;\n allDisplayedIds: Array;\n }) => ({\n type: ITableActionTypes.UPDATE_IDS,\n payload: { tableName, allDisplayedIds },\n }),\n changeTablePagination: ({\n tableName,\n pagination,\n }: {\n tableName: string;\n pagination: number;\n }) => ({\n type: ITableActionTypes.CHANGE_PAGINATION,\n payload: { tableName, pagination },\n }),\n changePage: ({ tableName, page }: { tableName: string; page: number }) => ({\n type: ITableActionTypes.CHANGE_PAGE,\n payload: { tableName, page },\n }),\n updateQuery: ({\n tableName,\n queryTerm,\n value,\n }: {\n tableName: string;\n queryTerm: string;\n value: any;\n }) => ({\n type: ITableActionTypes.UPDATE_QUERY,\n payload: { tableName, queryTerm, value },\n }),\n clearQuery: ({ tableName }: { tableName: string }) => ({\n type: ITableActionTypes.CLEAR_QUERY,\n payload: { tableName },\n }),\n\n terminateTable: ({ tableName }: { tableName: string }) => ({\n type: ITableActionTypes.TERMINATE_TABLE,\n payload: { tableName },\n }),\n toggleSelection: ({ id, tableName }: { id: number; tableName: string }) => ({\n type: ITableActionTypes.TOGGLE_SELECTION,\n payload: { id, tableName },\n }),\n clearSelection: ({ tableName }: { tableName: string }) => ({\n type: ITableActionTypes.CLEAR_SELECTION,\n payload: { tableName },\n }),\n bulkToggleSelection: ({ idList, tableName }: { idList: Array; tableName: string }) => ({\n type: ITableActionTypes.BULK_TOGGLE_SELECTION,\n payload: { idList, tableName },\n }),\n};\n","import { FC } from 'react';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const ViewItem: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC, useEffect, useRef, useState } from 'react';\nimport DatePicker from 'react-datepicker';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport Select from 'react-select';\nimport moment from 'moment';\nimport { useSelector } from 'react-redux';\nimport { RootState } from '../../setup/redux/Store';\n\nimport { SelectOptions } from '../types/SelectOptions';\n// import useDebounce from '../hooks/useDebounce/useDebounce';\n\nexport type SearchFilterType = 'search' | 'dropdown' | 'dateRange';\n\ninterface ISearchField {\n TABLE_NAME?: string;\n type: 'search';\n queryTerm: string;\n placeholderId: string;\n onSubmit?: Function;\n onChange: Function;\n}\n\ninterface IDropdown {\n TABLE_NAME?: string;\n type: 'dropdown';\n queryTerm: string;\n placeholderId: string;\n onChange: Function;\n options: SelectOptions;\n}\n\ninterface IDateRangePicker {\n TABLE_NAME?: string;\n type: 'dateRange';\n queryTerm: string;\n onChange: Function;\n placeholderFrom?: 'string';\n placeholderTo?: 'string';\n isClearable?: boolean;\n}\n\nexport type SearchFileterFild = ISearchField | IDropdown | IDateRangePicker | never;\n\nconst SearchField: FC = (item) => {\n const { formatMessage, locale } = useIntl();\n const [search, setSearch] = useState('');\n const searchRef = useRef();\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n const table = tables[item.TABLE_NAME!];\n\n const searchHandler = (value: any) => {\n setSearch(value);\n item.onChange(value);\n };\n // useDebounce(() => item.onChange(search), 1000, [search]);\n\n useEffect(() => {\n if (!table?.query) {\n setSearch('');\n }\n }, [table?.query]);\n\n return (\n
\n
\n \n \n \n searchHandler(e.target.value)}\n placeholder={formatMessage({ id: item.placeholderId })}\n ref={() => searchRef}\n />\n \n {search.length > 0 && (\n {\n // setSearch('');\n searchHandler('');\n }}\n >\n )}\n \n
\n
\n );\n};\n\nconst DropDownField: FC = (item) => {\n const { formatMessage } = useIntl();\n const [valueSelect, setValueSelect] = useState();\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n const table = tables[item.TABLE_NAME!];\n\n const valueChangeHandler = (value: any) => {\n setValueSelect(value);\n value?.value ? item.onChange(value?.value) : item.onChange('');\n };\n\n useEffect(() => {\n if (!table?.query) {\n setValueSelect(null);\n }\n }, [table?.query]);\n\n return (\n valueChangeHandler(value)}\n options={item.options}\n placeholder={formatMessage({ id: item.placeholderId })}\n className='react-select smaller w-260px'\n id={item.queryTerm}\n isClearable\n value={valueSelect}\n />\n );\n};\n\nconst DateRangePicker: FC = (item) => {\n const { formatMessage } = useIntl();\n const [startDate, setStartDate] = useState(null);\n const [endDate, setEndDate] = useState(null);\n const [isError, setIsError] = useState(false);\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n const table = tables[item.TABLE_NAME!];\n\n useEffect(() => {\n if (!table?.query) {\n setStartDate(null);\n setEndDate(null);\n setIsError(false);\n }\n }, [table?.query]);\n\n useEffect(() => {\n if (endDate && startDate && moment(endDate).diff(moment(startDate), 'days') > -1) {\n const start = moment(startDate).format('YYYY-MM-DD');\n const end = moment(endDate).format('YYYY-MM-DD');\n item.onChange(start, end);\n setIsError(false);\n }\n if (endDate === null && startDate === null) {\n item.onChange('', '');\n }\n if (moment(endDate).diff(moment(startDate), 'days') <= -1) setIsError(true);\n }, [startDate, endDate]);\n\n return (\n
\n
\n setStartDate(date)}\n selectsStart\n placeholderText={formatMessage({ id: item.placeholderFrom || 'Date from' })}\n className='form-control form-control-sm b-radius-16 basic-input my-1'\n startDate={startDate}\n endDate={endDate}\n />\n setEndDate(date)}\n className='form-control form-control-sm b-radius-16 basic-input my-1'\n placeholderText={formatMessage({ id: item.placeholderTo || 'Date to' })}\n selectsEnd\n startDate={startDate}\n endDate={endDate}\n minDate={startDate}\n />\n
\n
\n {isError && (\n

\n \n

\n )}\n
\n
\n );\n};\n\nconst fields: { [key: string]: Function } = {\n searchField: (item: ISearchField) => SearchField(item),\n dropdownField: (item: IDropdown) => DropDownField(item),\n dateRangeField: (item: IDateRangePicker) => DateRangePicker(item),\n};\n\ntype Props = {\n leftHandSide?: Array;\n rightHandSide?: Array;\n width?: number | string;\n searchFilterHandler?: () => void;\n clearSearchFilterHandler?: () => void;\n};\nexport const SerachFilters: FC = ({\n leftHandSide,\n rightHandSide,\n width,\n searchFilterHandler,\n clearSearchFilterHandler,\n}) => {\n return (\n \n {leftHandSide && (\n
\n {leftHandSide?.map((item: SearchFileterFild) => (\n
{fields[`${item.type}Field`](item)}
\n ))}\n
\n )}\n {rightHandSide && (\n
\n {rightHandSide?.map((item) => (\n \n
{fields[`${item.type}Field`](item)}
\n
\n ))}\n \n )}\n
\n \n \n \n\n \n \n \n
\n \n );\n};\n","import {\n SelectOption,\n CustomVariablesSelectOption,\n VatRateTypeSelectOption,\n InvoicesTypeSelectOption,\n ImportInvoicesTypeSelectOption,\n IncomeCodeTypeSelectOption,\n ExpenditureCodeTypeSelectOption,\n TransactionTypeSelectOption,\n ProductTypeSelectOption,\n TaxAbilityTypeSelectOption,\n CategoryTypeSelectOption,\n ThirdPartyTypeSelectOption,\n AccountTypeSelectOption,\n ReportsPeriodTypeSelectOption,\n MonthlyReportsPeriodTypeSelectOption,\n QuarterlyReportsPeriodTypeSelectOption,\n ReportsStatusTypeSelectOption,\n CodeRulesCategoryTypeSelectOption,\n CodeRulesThirdPartyTypeSelectOption,\n CodeRulesOperatorTypeSelectOption,\n CodeRulesColumnTypeSelectOption,\n PlanTypeSelectOption,\n} from '../../app/types/SelectOptions';\nimport { Badge } from '../helpers/typescript/csssClasses';\nimport { ID } from './paths';\n\nexport const perpage = [10, 20, 40, 60];\n\nexport const defaultPagination = 10;\n\nexport const allowedImagesTypes = [\n 'image/jpg',\n 'image/jpeg',\n 'jpeg',\n 'png',\n 'image/png',\n 'image/svg+xml',\n];\n\nexport const allowedImagesAndPdf = [...allowedImagesTypes, 'application/pdf'];\n\nexport const clientsTypesMap = new Map([\n [1, 'Entity'],\n [2, 'Individual'],\n]);\n\nexport const RecipientTypeMap: Map = new Map([\n [1, { value: 1, label: 'Need signtures from 2 side company side first' }],\n [2, { value: 2, label: 'Need signture from 2 side- Seconed party side first' }],\n [3, { value: 3, label: 'Need signture from one side- Company only' }],\n [4, { value: 4, label: 'Need signture from one side- Seconed party only' }],\n [5, { value: 5, label: 'No signtures required' }],\n]);\n\nexport enum DocuemntTypes {\n 'Agreement Type A' = 1,\n 'Agreement Type B' = 2,\n 'Formal' = 3,\n 'Nonformal' = 4,\n}\n\nexport const DocumentDirection: Map = new Map([\n [1, { label: 'Internal', value: 1 }],\n [2, { label: 'External', value: 2 }],\n]);\n\nexport enum DocumentDirectionTypes {\n 'Internal' = 1,\n 'External' = 2,\n}\n\nexport const DocumentStatuses: Map = new Map([\n [1, { label: 'STATUS_DRAFT', badge: 'badge-dustyBlue', id: 1 }],\n [2, { label: 'STATUS_CLOSED', badge: 'badge-success', id: 2 }],\n [3, { label: 'STATUS_UNDER_REVIEW', badge: 'badge-primary', id: 3 }],\n [4, { label: 'STATUS_ADJUSTMENT_REQUESTED', badge: 'badge-danger', id: 4 }],\n [5, { label: 'STATUS_APPROVE', badge: 'badge-success', id: 5 }],\n [7, { label: 'STATUS_EXPIRED', badge: 'badge-metallicBlue', id: 7 }],\n [8, { label: 'STATUS_WAITING_FOR_COMPANY', badge: 'badge-info', id: 8 }],\n [9, { label: 'STATUS_WAITING_FOR_SECOND_PARTY', badge: 'badge-clearBlue', id: 9 }],\n]);\n\nexport enum DOCS_STATUS {\n 'DRAFT' = 1,\n 'CLOSED' = 2,\n 'UNDER_REVIEW' = 3,\n 'ADJUSTMENT_REQUESTED' = 4,\n 'APPROVE' = 5,\n // NOTE: NO STATUS WITH NUMBER 6\n 'EXPIRED' = 7,\n 'WAITING_FOR_COMPANY' = 8,\n 'WAITING_FOR_SECOND_PARTY' = 9,\n}\n\nexport enum RECIPIENT_TYPES {\n 'Need signtures from 2 side company side first' = 1,\n 'Need signture from 2 side- Seconed party side first' = 2,\n 'Need signture from one side- Company only' = 3,\n 'Need signture from one side- Seconed party only' = 4,\n 'No signtures required' = 5,\n}\n\n// custom variables\nexport const CustomVariablesTypeMap: Map = new Map([\n [1, { value: 1, label: 'Text', requestValue: 'text' }],\n [2, { value: 2, label: 'Number', requestValue: 'number' }],\n [3, { value: 3, label: 'Date', requestValue: 'date' }],\n]);\n\nexport const CustomVariablesTypesMap = new Map([\n ['text', 'Text'],\n ['number', 'Number'],\n ['date', 'Date'],\n]);\n\n//Vat Rate\nexport const VatRateTypeMap: Map = new Map([\n [1, { value: 1, label: 'Income' }],\n [2, { value: 2, label: 'Expenditure' }],\n // [3, { value: 3, label: 'Income return' }],\n // [4, { value: 4, label: 'Expenditure return' }],\n]);\n\nexport const FilterVatRateTypeMap: Map = new Map([\n [1, { value: 1, label: 'Income' }],\n [2, { value: 2, label: 'Expenditure' }],\n [3, { value: 3, label: 'Income return' }],\n [4, { value: 4, label: 'Expenditure return' }],\n]);\n\nexport const VatRateTypesMap = new Map([\n [1, 'Income'],\n [2, 'Expenditure'],\n [3, 'Income return'],\n [4, 'Expenditure return'],\n]);\n\n//Invoices\nexport const InvoicesTypeMap: Map = new Map([\n [1, { value: 1, label: 'Sale' }],\n [2, { value: 2, label: 'Purchase' }],\n [3, { value: 3, label: 'Sale Credit Note' }],\n [4, { value: 4, label: 'Purchase Debit Note' }],\n]);\n\nexport const InvoicesTypesMap = new Map([\n [1, 'Sale'],\n [2, 'Purchase'],\n [3, 'Sale Credit Note'],\n [4, 'Purchase Debit Note'],\n]);\n\nexport const ImportInvoicesTypeMap: Map = new Map([\n [1, { value: 1, label: 'Sale' }],\n [2, { value: 2, label: 'Purchase' }],\n]);\n\n//Sales Invoices\nexport const SalesInvoicesTypeMap: Map = new Map([\n [1, { value: 1, label: 'Sale' }],\n [3, { value: 3, label: 'Sale Credit Note' }],\n]);\nexport const SalesInvoicesState: Map = new Map([\n [0, { value: 2, label: 'the Draft' }],\n [1, { value: 1, label: 'Issued invoice' }],\n]);\n\nexport const SalesInvoicesErrorTypes: Map = new Map([\n [0, { value: '0', label: 'Invoices without notes' }],\n [1, { value: '1', label: 'Critical notes' }],\n [2, { value: '2', label: 'Notifications' }],\n]);\n\nexport const SalesInvoicesTypesMap = new Map([\n [1, 'Sale'],\n [3, 'Sale Credit Note'],\n]);\n\n// Purchases Invoices\nexport const PurchasesInvoicesTypeMap: Map = new Map([\n [2, { value: 2, label: 'Purchase' }],\n [4, { value: 4, label: 'Purchase Debit Note' }],\n]);\n\nexport const PurchasesInvoicesTypesMap = new Map([\n [2, 'Purchase'],\n [4, 'Purchase Debit Note'],\n]);\n\nexport const PurchasesInvoicesErrorTypes: Map = new Map([\n [0, { value: '0', label: 'Invoices without notes' }],\n [1, { value: '1', label: 'Critical notes' }],\n [2, { value: '2', label: 'Notifications' }],\n]);\n\n//Income Code Types\nexport const IncomeCodeTypeMap: Map = new Map([\n [1, { value: 1, label: 'Sales subject to the basic ratio 15%' }],\n [1.1, { value: 1.1, label: 'Sales subject to the basic ratio 5%' }],\n [1.2, { value: 1.2, label: 'Sales tax for government agencies' }],\n [2, { value: 2, label: 'Sales that state bears its tax' }],\n [3, { value: 3, label: 'Zero-rated sales' }],\n [4, { value: 4, label: 'Exports' }],\n [5, { value: 5, label: 'Exempt sales' }],\n [0, { value: 0, label: 'Out of the range' }],\n]);\n\nexport const IncomeCodeTypesMap = new Map([\n [1, 'Sales subject to the basic ratio 15%'],\n [1.1, 'Sales subject to the basic ratio 15%'],\n [1.2, 'Sales tax for government agencies'],\n [2, 'Sales that state bears its tax'],\n [3, 'Zero-rated sales'],\n [4, 'Exports'],\n [5, 'Exempt sales'],\n [0, 'Out of the range'],\n]);\n\n//Expenditure Code Types\nexport const ExpenditureCodeTypeMap: Map = new Map([\n [7, { value: 7, label: 'Purchases subject to the basic ratio 15%' }],\n [7.1, { value: 7.1, label: 'Purchases subject to the basic ratio 5%' }],\n [8, { value: 8, label: 'VAT paid by customs 15%' }],\n [8.1, { value: 8.1, label: 'VAT paid by customs 5%' }],\n [9, { value: 9, label: 'Reverse charge purchases 15%' }],\n [9.1, { value: 9.1, label: 'Reverse charge purchases 5%' }],\n [10, { value: 10, label: 'Zero-rated purchases' }],\n [11, { value: 11, label: 'Exempt purchases' }],\n [12.1, { value: 12.1, label: 'Rent' }],\n [12.2, { value: 12.2, label: 'Royalties' }],\n [12.3, { value: 12.3, label: 'Management fees' }],\n [12.4, { value: 12.4, label: 'International Calling Services - Unrelated Non-Resident' }],\n [12.5, { value: 12.5, label: 'International calling services - associated non-resident' }],\n [12.6, { value: 12.6, label: 'Technical or advisory services - unrelated non-resident' }],\n [12.7, { value: 12.7, label: 'Technical or advisory services - associated non-resident' }],\n [12.8, { value: 12.8, label: 'Airline tickets, air or sea freight' }],\n [12.9, { value: 12.9, label: 'Land transportation within the Kingdom' }],\n [13.1, { value: 13.1, label: 'Dividend profits' }],\n [13.2, { value: 13.2, label: 'loan returns' }],\n [13.3, { value: 13.3, label: 'Insurance and reinsurance' }],\n [13.4, { value: 13.4, label: 'Any other payments' }],\n [0, { value: 0, label: 'Out of the range' }],\n]);\n\nexport const ExpenditureCodeTypesMap = new Map([\n [7, 'Purchases subject to the basic ratio 15%'],\n [7.1, 'Purchases subject to the basic ratio 5%'],\n [8, 'VAT paid by customs 15%'],\n [8.1, 'VAT paid by customs 5%'],\n [9, 'Reverse charge purchases 15%'],\n [9.1, 'Reverse charge purchases 5%'],\n [10, 'Zero-rated purchases'],\n [11, 'Exempt purchases'],\n [12.1, 'Rent'],\n [12.2, 'Royalties'],\n [12.3, 'Management fees'],\n [12.4, 'International Calling Services - Unrelated Non-Resident'],\n [12.5, 'International calling services - associated non-resident'],\n [12.6, 'Technical or advisory services - unrelated non-resident'],\n [12.7, 'Technical or advisory services - associated non-resident'],\n [12.8, 'Airline tickets, air or sea freight'],\n [12.9, 'Land transportation within the Kingdom'],\n [13.1, 'Dividend profits'],\n [13.2, 'loan returns'],\n [13.3, 'Insurance and reinsurance'],\n [13.4, 'Any other payments'],\n [0, 'Out of the range'],\n]);\n\n//Transaction Type\nexport const TransactionTypeMap: Map = new Map([\n [1, { value: 1, label: 'Domestic' }],\n [2, { value: 2, label: 'International' }],\n [3, { value: 3, label: 'GCC' }],\n]);\n\nexport const TransactionTypesMap = new Map([\n [1, 'Domestic'],\n [2, 'International'],\n [3, 'GCC'],\n]);\n\n//Product Type\nexport const ProductTypeMap: Map = new Map([\n [1, { value: 1, label: 'Sale' }],\n [2, { value: 2, label: 'Purchase' }],\n]);\n\nexport const ProductTypesMap = new Map([\n [1, 'Sale'],\n [2, 'Purchase'],\n]);\n\nexport const PlanTypeMap: Map = new Map([\n [1, { value: 1, label: 'Paid Plan' }],\n [2, { value: 2, label: 'Customized Plan' }],\n [3, { value: 3, label: 'Fallback Plan' }],\n]);\n\nexport const PlanTypesMap = new Map([\n [1, 'Paid Plan'],\n [2, 'Customized Plan'],\n [3, 'Fallback Plan'],\n]);\n\n//Tax Ability Type\nexport const TaxAbilityTypeMap: Map = new Map([\n [1, { value: 1, label: 'Taxable' }],\n [2, { value: 2, label: 'Zero' }],\n [3, { value: 3, label: 'Exempt' }],\n]);\n\nexport const TaxAbilityTypesMap = new Map([\n [1, 'Taxable'],\n [2, 'Zero'],\n [3, 'Exempt'],\n]);\n\n//Tax Ability Type\nexport const CategoryTypeMap: Map = new Map([\n [1, { value: 1, label: 'Basic' }],\n [2, { value: 2, label: 'Optional' }],\n]);\n\nexport const CateoryTypesMap = new Map([\n [1, 'Basic'],\n [2, 'Optional'],\n]);\n\n//Third party types\nexport const ThirdPartyTypeMap: Map = new Map([\n [1, { value: 1, label: 'Client' }],\n [2, { value: 2, label: 'Vendor' }],\n [3, { value: 3, label: 'Both' }],\n]);\n\nexport const ThirdPartyTypesMap = new Map([\n [1, 'Client'],\n [2, 'Vendor'],\n [3, 'Both'],\n]);\n//AccountTypeMap types\nexport const AccountTypeMap: Map = new Map([\n [1, { value: 1, label: 'Account' }],\n [2, { value: 2, label: 'Aggregate' }],\n]);\n\nexport const AccountTypesMap = new Map([\n [1, 'Account'],\n [2, 'Aggregate'],\n]);\n\n//Reports Period\nexport const ReportsPeriodTypeMap: Map = new Map([\n // [1, { value: 1, label: 'All' }],\n [2, { value: 2, label: 'Monthly' }],\n [3, { value: 3, label: 'Quarterly' }],\n]);\n\nexport const ReportsPeriodTypesMap = new Map([\n // [1, 'All'],\n [2, 'Monthly'],\n [3, 'Quarterly'],\n]);\n\n//Monthly Reports Period\nexport const MonthlyReportsPeriodTypeMap: Map = new Map([\n [1, { value: 1, label: 'January' }],\n [2, { value: 2, label: 'February' }],\n [3, { value: 3, label: 'March' }],\n [4, { value: 4, label: 'April' }],\n [5, { value: 5, label: 'May' }],\n [6, { value: 6, label: 'June' }],\n [7, { value: 7, label: 'July' }],\n [8, { value: 8, label: 'August' }],\n [9, { value: 9, label: 'September' }],\n [10, { value: 10, label: 'October' }],\n [11, { value: 11, label: 'November' }],\n [12, { value: 12, label: 'December' }],\n]);\nexport const MonthlyReportsPeriodTypesMap = new Map([\n [1, 'January'],\n [2, 'February'],\n [3, 'March'],\n [4, 'April'],\n [5, 'May'],\n [6, 'June'],\n [7, 'July'],\n [8, 'August'],\n [9, 'September'],\n [10, 'October'],\n [11, 'November'],\n [12, 'December'],\n]);\n//Quarterly Reports Period\nexport const QuarterlyReportsPeriodTypeMap: Map =\n new Map([\n [1, { value: 1, label: 'Q1' }],\n [4, { value: 4, label: 'Q2' }],\n [7, { value: 7, label: 'Q3' }],\n [10, { value: 10, label: 'Q4' }],\n ]);\nexport const QuarterlyReportsPeriodTypesMap = new Map([\n [1, 'Q1'],\n [4, 'Q2'],\n [7, 'Q3'],\n [10, 'Q4'],\n]);\n\n//Reports Status types\nexport const ReportsStatusTypeMap: Map = new Map([\n [1, { value: 1, label: 'Report Draft' }],\n [2, { value: 2, label: 'Report Approved' }],\n [3, { value: 3, label: 'Report Canceled' }],\n]);\n\nexport const ReportsStatusTypesMap = new Map([\n [1, 'Report Draft'],\n [2, 'Report Approved'],\n [3, 'Report Canceled'],\n]);\n\n// Transactions Status types\nexport const TransactionDetailsErrorStatusTypeMap: Map = new Map(\n [\n [1, { value: 1, label: 'Has errors' }],\n [2, { value: 2, label: 'Has no errors' }],\n ]\n);\n\nexport const TransactionDetailsErrorStatusTypesMap = new Map([\n [1, 'Has errors'],\n [2, 'Has no errors'],\n]);\n\n//Code Rules\nexport const CodeRulesCategoryTypeMap: Map = new Map([\n [1, { value: 1, label: 'Code expiration date' }],\n [2, { value: 2, label: 'Transaction amount' }],\n [3, { value: 3, label: 'Third party nationality' }],\n [4, { value: 4, label: 'Third party type' }],\n [5, { value: 5, label: 'Transaction date' }],\n [6, { value: 6, label: 'the Tax Registration' }],\n]);\n\nexport const CodeRulesCategoryTypesMap = new Map([\n [1, 'Code expiration date'],\n [2, 'Transaction amount'],\n [3, 'Third party nationality'],\n [4, 'Third party type'],\n [5, 'Transaction date'],\n [6, 'the Tax Registration'],\n]);\n\n//Code Rules\nexport const CodeRulesThirdPartyTypeMap: Map = new Map([\n [1, { value: 1, label: 'Account-Individual' }],\n [2, { value: 2, label: 'Account-Entity' }],\n [3, { value: 3, label: 'Aggregate' }],\n]);\n\nexport const CodeRulesThirdPartyTypesMap = new Map([\n [1, 'Account-Individual'],\n [2, 'Account-Entity'],\n [3, 'Aggregate'],\n]);\n\n//Code Rules Oprator\nexport const CodeRulesOperatorTypeMap: Map = new Map([\n [1, { value: 1, label: 'Not before than' }],\n // [2, { value: 2, label: 'Not later than' }],\n]);\n\nexport const CodeRulesOperatorTypesMap = new Map([\n [1, 'Not before than'],\n // [2, 'Not later than'],\n]);\n\n//Code Rules Column\nexport const CodeRulesColumnTypeMap: Map = new Map([\n [1, { value: 1, label: 'Report Date' }],\n]);\n\nexport const CodeRulesColumnTypesMap = new Map([[1, 'Report Date']]);\n","import clsx from 'clsx';\nimport { Link } from 'react-router-dom';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { HtmlHTMLAttributes } from 'react';\n\ninterface ITableData {\n text: string | HtmlHTMLAttributes | any;\n className?: string;\n to?: string;\n isLink?: boolean;\n isExternal?: boolean;\n errors_with_color?: any;\n show_errors_icon?: boolean;\n show_errors_icon_message?: any;\n show_errors_icon_color?: 'danger' | 'warning';\n show_processed_icon?: boolean;\n show_title_message?: boolean;\n}\nexport class TableData {\n constructor(private fieldData: ITableData) {}\n\n RedirectionController({ to, isExternal, text, className }: ITableData) {\n return isExternal ? (\n \n {text}\n \n ) : (\n \n {text}\n \n );\n }\n\n renderItem() {\n const {\n isLink,\n to,\n text,\n className,\n errors_with_color,\n show_errors_icon,\n show_errors_icon_message,\n show_errors_icon_color,\n show_title_message,\n show_processed_icon,\n } = this.fieldData;\n\n let badgeClassName = 'badge badge-md badge-danger';\n // if (\n // error?.includes('نقص في الرقم المرجعي') ||\n // error?.includes('Missing reference') ||\n // // error?.includes('بيانات متعارضة') ||\n // // error?.includes('Conflict detected') ||\n // error?.includes('بيانات مكررة') ||\n // error?.includes('Duplicate tax_number') ||\n // // error?.includes('فاتورة مكررة') ||\n // // error?.includes('Duplicate invoice') ||\n // error?.includes('تحقق من المبلغ') ||\n // error?.includes('Check amount') ||\n // error?.includes('مسودة') ||\n // error?.includes('Draft')\n // ) {\n // badgeClassName = 'badge badge-md badge-warning';\n // }\n if (errors_with_color && errors_with_color?.color === 'warning') {\n badgeClassName = 'badge badge-md badge-warning';\n }\n // if (error?.includes('مقبول') || error?.includes('Approved')) {\n // badgeClassName = 'badge badge-md badge-success';\n // }\n return (\n
\n {isLink && to ? (\n
{this.RedirectionController(this.fieldData)}
\n ) : (\n <>\n {!errors_with_color && (\n \n {text}\n
\n )}\n {errors_with_color && {errors_with_color.text}}\n \n )}\n {show_errors_icon && (\n \n \n \n )}\n {show_processed_icon && (\n \n \n \n )}\n \n );\n }\n}\n\n// return (\n// <>\n// {!this.fieldData.error && (\n// {formatDate(this.fieldData.date)}\n// )}\n// {this.fieldData.error && (\n// {this.fieldData.error}\n// )}\n// \n// );\n","export class TableActions {\n constructor(private actions: any) {}\n\n renderItem() {\n return this.actions;\n }\n}\n","import { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { RootState } from '../../../setup';\nimport * as TableRedux from '../../store/TableRedux';\nimport { IRowCheckbox } from './classes/TableSelection';\n\nexport const TableCheckbox = ({ fieldData }: { fieldData: IRowCheckbox }) => {\n const dispatch = useDispatch();\n const table = useSelector((state) => state.table.tables, shallowEqual) as any;\n const { id, tableName } = fieldData;\n\n return (\n table && (\n table?.[tableName]?.selection.includes(x))}\n readOnly\n disabled={fieldData.disabled}\n onClick={() =>\n dispatch(\n TableRedux.actions.toggleSelection({ id: fieldData.id, tableName: fieldData.tableName })\n )\n }\n />\n )\n );\n};\n","import { TableCheckbox } from '../TableCheckbox';\n\nexport interface IRowCheckbox {\n display: boolean;\n id: number;\n tableName: string;\n disabled?: boolean;\n}\n\nexport class TableSelection {\n constructor(private fieldData: IRowCheckbox) {}\n\n renderItem() {\n return this.fieldData.display ? (\n
\n \n
\n ) : (\n <>\n );\n }\n}\n","import { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\n\ntype Props = {\n onClick?: Function;\n btnType?: 'outlined' | 'primary' | '';\n className?: string;\n fa: string;\n faIconMenu?: boolean;\n nameId: string;\n disabled?: boolean;\n testid?: string;\n};\nexport const Button: FC = ({\n onClick,\n btnType,\n className,\n fa,\n faIconMenu,\n nameId,\n disabled,\n testid,\n}) => {\n return (\n onClick && onClick()}\n disabled={disabled}\n data-testid={testid}\n id={testid}\n >\n {faIconMenu && (\n \n  \n \n )}\n {!faIconMenu && }\n\n \n \n );\n};\n","import { ReactElement } from 'react';\n\nexport const DisplayItem = (item: any): ReactElement => {\n return item.renderItem();\n};\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport clsx from 'clsx';\nimport React, { useEffect, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport Pagination from 'react-js-pagination';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { toAbsoluteUrl } from '../../../_metronic/helpers';\n\nimport * as TableRedux from '../../store/TableRedux';\n\nimport { RootState } from '../../../setup/redux/Store';\nimport { perpage } from '../../../_metronic/constants/general';\nimport { ID } from '../../../_metronic/constants/paths';\nimport { Meta } from '../../types/Meta';\nimport { DisplayItem } from './classes/DisplayItem';\nimport { TableSelection } from './classes/TableSelection';\n// import { $t } from '../../../_metronic/i18n/formatMessage';\n\ninterface headerItem {\n id?: string;\n width?: number;\n maxWidth?: number;\n [key: string]: any;\n}\n\ninterface rowItem {\n [key: string]: any;\n}\n\ntype Props = {\n className?: string;\n meta: Meta;\n headerItems: Array;\n rowItems?: Array[];\n headerWithCheckbox?: boolean;\n disableHeaderWithCheckbox?: boolean;\n hideFooter?: boolean;\n showTotal?: boolean;\n hidePagination?: boolean;\n tableName: string;\n initPerPage?: number;\n allDisplayedIds: Array;\n totalIndexArray?: Array;\n scrollable?: boolean;\n};\n\nconst CommonTable2: React.FC = ({\n className,\n headerItems,\n rowItems,\n headerWithCheckbox,\n disableHeaderWithCheckbox = false,\n hideFooter = false,\n showTotal = false,\n hidePagination = false,\n tableName,\n allDisplayedIds,\n meta,\n initPerPage,\n totalIndexArray = [],\n scrollable = false,\n}) => {\n const { formatMessage } = useIntl();\n const [page, setPage] = useState(0);\n const dispatch = useDispatch();\n\n const resultArray = totalIndexArray?.map((item) => {\n const result = rowItems?.reduce(\n (acc, row) => {\n row?.map((rowItem, rowItemIndex) =>\n item === rowItemIndex - 1\n ? (acc[`${tableName + item}`] += parseFloat(rowItem.fieldData.text)\n ? parseFloat(rowItem.fieldData.text)\n : 0)\n : ''\n );\n\n return acc;\n },\n { [`${tableName + item}`]: 0 }\n );\n return result;\n });\n\n useEffect(() => {\n dispatch(TableRedux.actions.initTable({ tableName, allDisplayedIds, initPerPage }));\n return () => {\n dispatch(TableRedux.actions.terminateTable({ tableName }));\n };\n }, [tableName]);\n\n useEffect(() => {\n dispatch(\n TableRedux.actions.changeTablePagination({\n tableName,\n pagination: initPerPage || 20,\n })\n );\n }, []);\n\n useEffect(() => {\n if (allDisplayedIds?.length && meta.current_page !== page) {\n setPage(meta.current_page);\n dispatch(TableRedux.actions.updateIds({ tableName, allDisplayedIds }));\n }\n }, [allDisplayedIds, meta]);\n\n useEffect(() => {\n dispatch(TableRedux.actions.updateIds({ tableName, allDisplayedIds }));\n }, [allDisplayedIds?.length]);\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[tableName];\n\n return (\n
\n {/* begin::Header */}\n {/*
\n {infoMessage && (\n
\n \n {infoMessage}\n \n
\n )}\n
*/}\n {/* end::Header */}\n {/* begin::Body */}\n
\n {/* begin::Table container */}\n
\n {/* begin::Table */}\n \n {/* begin::Table head */}\n\n \n \n {headerWithCheckbox && rowItems && rowItems?.length > 0 ? (\n \n {DisplayItem(\n new TableSelection({\n display: headerWithCheckbox,\n id: -1,\n tableName,\n disabled: disableHeaderWithCheckbox,\n })\n )}\n \n ) : null}\n {headerItems.map((item) => (\n \n {formatMessage({ id: item.id })}\n \n ))}\n \n \n\n {/* end::Table head */}\n {/* begin::Table body */}\n \n {rowItems?.map((row, rowIndex) => {\n // To Remove first item if display checkbox is not true\n // NOTE: Checkbox is always in the first item in each row\n let rowData = row;\n if (!row[0].fieldData.display) {\n rowData = rowData.slice(1);\n }\n return (\n \n {rowData?.map((rowItem, rowItemIndex) => {\n return (\n \n {DisplayItem(rowItem)}\n \n );\n })}\n \n );\n })}\n \n {/* end::Table body */}\n \n {rowItems?.length === 0 && (\n <>\n
\n \n
\n
\n \n
{' '}\n \n )}\n {/* end::Table */}\n
\n {/* end::Table container */}\n {/* start::Total */}\n {showTotal && (\n
\n \n \n {headerItems.map((item, index) => (\n \n {totalIndexArray?.includes(index)\n ? formatMessage({ id: `Total ` }) + ' ' + formatMessage({ id: `${item.id}` })\n : ''}\n \n ))}\n \n \n \n {\n \n {rowItems?.[0]?.map((rowItem, rowItemIndex) => (\n \n {totalIndexArray?.includes(rowItemIndex)\n ? `${resultArray[\n totalIndexArray.findIndex((item) => item === rowItemIndex)\n ]?.[`${tableName + rowItemIndex}`].toFixed(2)}`\n : ''}\n \n ))}\n \n }\n \n
\n )}\n {/* end::Total */}\n\n {!hideFooter && (\n
\n
\n {' '}\n  \n {meta?.total} \n \n
\n
\n \n dispatch(TableRedux.actions.changePage({ tableName, page }))\n }\n itemClass='page-item'\n linkClass='page-link'\n />\n
\n\n
\n {!hidePagination && (\n <>\n

\n \n

\n \n dispatch(\n TableRedux.actions.changeTablePagination({\n tableName,\n pagination: Number(e.target.value),\n })\n )\n }\n >\n {perpage?.map((num: any) => (\n \n ))}\n \n \n )}\n
\n
\n )}\n
\n {/* begin::Body */}\n
\n );\n};\nexport { CommonTable2 };\n","import { FC, useEffect, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport * as RolesRedux from '../../../app/modules/roles/store/RolesRedux';\nimport { RootState } from '../../../setup';\nimport { $t } from '../../../_metronic/i18n/formatMessage'; //, FormatMessage\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { CompaniesDataListModel } from '../../modules/companies/CompanyModel';\nimport { RolesDataListModel } from '../../modules/roles/types/Roles';\n// Hide the unnecessary\n// import { DeleteItem } from '../../shared/tables/actions/DeleteItem';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { ViewItem } from '../../shared/tables/actions/ViewItem';\nimport { SerachFilters } from '../../shared/SearchFilters';\nimport * as TableRedux from '../../store/TableRedux';\nimport { TableData } from '../../shared/tables/classes/TableData';\nimport { TableActions } from '../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../shared/tables/classes/TableSelection';\nimport { KTSVG } from '../../../_metronic/helpers';\nimport { Button } from '../../shared/Button';\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { CommonTable2 } from '../../shared/tables/Table2';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { Portal } from '../../../_metronic/partials';\n\nconst headerItems = [\n { id: 'Role Name', maxWidth: 280 },\n { id: 'Role Description', width: 300, maxWidth: 400 },\n // Hide the unnecessary\n // { id: 'Role status', maxWidth: 280 },\n { id: 'Actions', maxWidth: 280 },\n];\nconst TABLE_NAME = 'roles_list';\n\nconst RolesContent: FC = () => {\n const { userCan } = usePermissions();\n const { formatMessage } = useIntl();\n\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n\n const companies: CompaniesDataListModel = useSelector(\n (state) => state?.USER_companies.companies,\n shallowEqual\n ) as CompaniesDataListModel;\n\n const companyId =\n companies?.data?.find((company) => company.slug === params.companySlug)?.id || null;\n\n const roles: RolesDataListModel = useSelector(\n (state) => state.roles.roles,\n shallowEqual\n ) as RolesDataListModel;\n\n useEffect(() => {\n return () => {\n dispatch(RolesRedux.actions.fulfillRoles({}));\n };\n }, []);\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n const table = tables[TABLE_NAME];\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n RolesRedux.actions.getRoles({\n companyId,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (params.companySlug && companyId && table?.page) {\n RequestData();\n }\n }, [table?.page, table?.pagination, params.companySlug, companyId]);\n\n const searchFilterHandler = () => {\n if (params.companySlug && companyId && table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (params.companySlug && companyId && table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n const rowItems = roles?.data.map((role) => [\n new TableSelection({ display: userCan('delete-role'), id: role.id, tableName: TABLE_NAME }),\n new TableData({ text: role.name }),\n new TableData({ text: role.description, className: 'text-metallicBlue' }),\n // Hide the unnecessary\n // new TableData({ text: `ADD Status Later` }),\n new TableActions(\n (\n
\n {/* Hide the unnecessary */}\n {userCan('view-role') && (\n history.push(`/c/${params.companySlug}/settings/roles/${role.id}`)}\n title={$t('View')}\n />\n )}\n {userCan('update-role') && (\n \n history.push(`/c/${params.companySlug}/settings/roles/${role.id}/edit`)\n }\n title={$t('Edit')}\n />\n )}\n {/* {userCan('delete-role') && } */}\n
\n )\n ),\n ]);\n\n return (\n <>\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n {/* ------------------------ start Action button ------------------------ */}\n\n
\n {/* begin::Menu */}\n \n \n \n {/* begin::Menu 2 */}\n \n {/* begin::Menu item */}\n
\n
\n {$t('Actions')}{' '}\n
\n
\n {/* end::Menu item */}\n {/* begin::Menu separator */}\n
\n {/* end::Menu separator */}\n\n {/* begin::Menu item */}\n {userCan('create-role') && (\n
\n {\n if (roles?.can_create) {\n history.push(`/c/${params.companySlug}/settings/roles/add`);\n } else {\n setShowConfirmationModal(true);\n }\n }}\n nameId='Add New Role'\n />\n
\n )}\n {/* end::Menu item */}\n
\n {/* end::Menu 2 */}\n {/* end::Menu */}\n
\n\n {/* ------------------------ End Action button ------------------------ */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n // rightHandSide={[]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n role.id) || []}\n meta={roles}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n {/* ---------------------warnings confirmation Modal----------------------- */}\n\n {showConfirmationModal && (\n \n setShowConfirmationModal(false)}\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n {formatMessage({\n id: 'You have reached the maximum allowed for your current subscription. Contact support to upgrade.',\n })}\n
\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowConfirmationModal(false);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------end warnings confirmation Modal----------------------- */}\n \n \n );\n};\n\nconst RolesWrapper: FC = () => {\n usePermissions('view-role');\n const { formatMessage } = useIntl();\n\n return (\n
\n {formatMessage({ id: 'Roles' })}\n\n \n
\n );\n};\n\nexport { RolesWrapper };\n","import { axiosInstance } from '../../../../../network/apis';\nimport { UserModel } from '../../../auth/models/UserModel';\n\nexport function getAllUsers({ params }: { params?: any }) {\n return axiosInstance.get>(`/admin/users`, {\n params,\n });\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { getAllUsers } from './UsersCRUD';\n\nexport enum IUsersActionTypes {\n GET_USER = 'GET_USER',\n FILL_FULL_USER = 'FILL_FULL_USER',\n}\n\nconst initialUsersState: IUsersState = {\n users: undefined,\n};\n\nexport interface IUsersState {\n users?: {};\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'SYS_users', whitelist: [''] },\n (state: IUsersState = initialUsersState, action: ActionWithPayload) => {\n switch (action.type) {\n case IUsersActionTypes.FILL_FULL_USER:\n return { ...state, users: action.payload?.users };\n default:\n return state;\n }\n }\n);\ntype UsersSearch = { params?: any };\n\nexport const actions = {\n getUsers: ({ params }: UsersSearch) => ({\n type: IUsersActionTypes.GET_USER,\n payload: { params },\n }),\n fulFillUsers: ({ users }: IUsersState) => ({\n type: IUsersActionTypes.FILL_FULL_USER,\n payload: { users },\n }),\n};\n\nexport function* getUsers(action: ActionWithPayload) {\n try {\n const { data } = yield getAllUsers({\n params: action.payload?.params,\n });\n yield put(actions.fulFillUsers({ users: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUsersActionTypes.GET_USER, getUsers);\n}\n","import ar from './ar.json';\nimport en from './en.json';\n\nexport const messages: any = {\n ar,\n en,\n};\n","import { ICompany } from '../../../../types/companies';\nimport { axiosInstance } from '../../../../../network/apis';\n\nexport function getAllCompanies({ params }: { params?: any }) {\n return axiosInstance.get>(`/admin/companies`, {\n params,\n });\n}\n\nexport function updateStatus({ id, status, message}: { id?: number, status?: boolean, message?: string}) {\n return axiosInstance.post(`/admin/companies/${id}/activate`, {\n status, message,\n });\n}","import { toast } from 'react-toastify';\nimport { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { messages } from '../../../../../_metronic/i18n/messages/messages';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { CompanyModel } from '../../../companies/CompanyModel';\nimport { getAllCompanies, updateStatus } from './CompaniesCRUD';\n\nexport enum ICompaniesActionTypes {\n GET_COMPANIES = 'GET_COMPANIES',\n FILL_FULL_COMPANIES = 'FILL_FULL_COMPANIES',\n UPDATE_STATUS = 'UPDATE_STATUS',\n REPLACE_COMPANY = 'REPLACE_COMPANY',\n}\n\nconst initialCompaniesState: ICompaniesState = {\n companies: undefined,\n};\n\nexport interface ICompaniesState {\n companies?: any;\n company?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'SYS_companies', whitelist: [''] },\n (state: ICompaniesState = initialCompaniesState, action: ActionWithPayload) => {\n switch (action.type) {\n case ICompaniesActionTypes.FILL_FULL_COMPANIES:\n return { ...state, companies: action.payload?.companies };\n case ICompaniesActionTypes.REPLACE_COMPANY:\n return {\n ...state,\n companies: {\n ...state.companies,\n data: [\n ...state.companies?.data.map((comp: CompanyModel) =>\n comp.id === action?.payload?.company?.id\n ? { ...action.payload.company }\n : { ...comp }\n ),\n ],\n },\n };\n default:\n return state;\n }\n }\n);\ntype CompaniesSearch = { params?: any };\ntype CompanyStatus = { id: number; status: boolean; message?: string };\n\nexport const actions = {\n getCompanies: ({ params }: CompaniesSearch) => ({\n type: ICompaniesActionTypes.GET_COMPANIES,\n payload: { params },\n }),\n updateCompanyStatus: ({ id, status, message }: CompanyStatus) => ({\n type: ICompaniesActionTypes.UPDATE_STATUS,\n payload: { id, status, message },\n }),\n fulFillCompanies: ({ companies }: ICompaniesState) => ({\n type: ICompaniesActionTypes.FILL_FULL_COMPANIES,\n payload: { companies },\n }),\n replaceCompany: ({ company }: ICompaniesState) => ({\n type: ICompaniesActionTypes.REPLACE_COMPANY,\n payload: { company },\n }),\n};\n\nexport function* getCompanies(action: ActionWithPayload) {\n try {\n const { data } = yield getAllCompanies({\n params: action.payload?.params,\n });\n yield put(actions.fulFillCompanies({ companies: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* updateCompanyStatus(action: ActionWithPayload) {\n try {\n const { data, config } = yield updateStatus({\n id: action.payload?.id,\n status: action.payload?.status,\n message: action.payload?.message,\n });\n const companyData: CompanyModel = data;\n if (action.payload?.status) {\n toast.success(\n messages[config['headers']['X-Language']]['The company has been approved successfully']\n );\n }\n yield put(actions.replaceCompany({ company: companyData }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(ICompaniesActionTypes.GET_COMPANIES, getCompanies);\n yield takeLatest(ICompaniesActionTypes.UPDATE_STATUS, updateCompanyStatus);\n}\n","import clsx from 'clsx';\nimport { Badge } from '../../../../_metronic/helpers/typescript/csssClasses';\nimport { FormatMessage } from '../../../../_metronic/i18n/formatMessage';\n\ninterface IStatusField {\n badge: Badge | undefined;\n statusId: string;\n title?: string | undefined;\n}\n\nexport class TableStatus {\n constructor(private fieldData: IStatusField) {}\n\n renderItem() {\n return (\n \n \n \n );\n }\n}\n","import { toAbsoluteUrl } from '../../../../_metronic/helpers';\n\nexport class ItemWithImage {\n constructor(private fieldData: { name: string; image: string | null; subtext?: string }) {}\n\n renderItem() {\n return (\n
\n
\n {/* eslint-disable-next-line jsx-a11y/alt-text */}\n \n
\n
\n \n {this.fieldData.name}\n \n \n {this.fieldData.subtext}\n \n
\n
\n );\n }\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { FC, useEffect, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\n// import { useHistory } from 'react-router-dom';\nimport { RootState } from '../../../../setup';\n// import { FormatMessage } from '../../../../_metronic/i18n/formatMessage'; //$t,\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { SerachFilters } from '../../../shared/SearchFilters';\n// import { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\n// import { EditItem } from '../../../shared/tables/actions/EditItem';\n// import { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport * as UserRedux from '../../../modules/admins/users/store/UsersRedux';\nimport * as CompanyRedux from '../../../modules/admins/companies/store/CompaniesRedux';\nimport * as TableRedux from '../../../store/TableRedux';\nimport { TableStatus } from '../../../shared/tables/classes';\nimport { TableData } from '../../../shared/tables/classes/TableData';\nimport { TableActions } from '../../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../../shared/tables/classes/TableSelection';\nimport { DateViewer } from '../../../shared/tables/classes/DateViewer';\n// import { CommonTable } from '../../../shared/tables/Table';\nimport { UsersDataListModel } from '../../../modules/auth/models/UserModel';\nimport { CompaniesDataListModel } from '../../../modules/companies/CompanyModel';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { useHistory } from 'react-router-dom';\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { EditItem } from '../../../shared/tables/actions/EditItem';\nimport { CommonTable2 } from '../../../shared/tables/Table2';\n// import { Button } from '../../../shared/Button';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\nconst headerItems = [\n { id: 'Name', maxWidth: 280 },\n { id: 'Email', maxWidth: 280 },\n { id: 'Date of joining', maxWidth: 300 },\n { id: 'Status', maxWidth: 140 },\n { id: 'Number of companies', maxWidth: 80, width: 80 },\n { id: 'number of available companies', maxWidth: 80, width: 80 },\n { id: 'Actions', maxWidth: 280 },\n];\n\nconst UsersContent: FC = () => {\n const TABLE_NAME = 'sys_users_list';\n const { formatMessage } = useIntl();\n const dispatch = useDispatch();\n const history = useHistory();\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n\n const users: UsersDataListModel = useSelector(\n (state) => state.SYS_users.users,\n shallowEqual\n ) as UsersDataListModel;\n const companies: CompaniesDataListModel = useSelector(\n ({ SYS_companies }) => SYS_companies.companies,\n shallowEqual\n ) as CompaniesDataListModel;\n\n const tables: any = useSelector((store) => store.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n useEffect(() => {\n dispatch(UserRedux.actions.getUsers({ params: {} }));\n dispatch(CompanyRedux.actions.getCompanies({ params: {} }));\n }, []);\n\n function RequestData() {\n dispatch(\n UserRedux.actions.getUsers({\n params: { ...table?.query, page: table?.page, per_page: table?.pagination },\n })\n );\n }\n\n useEffect(() => {\n RequestData();\n }, []);\n\n const searchFilterHandler = () => {\n if (table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n\n useEffect(() => {\n RequestData();\n }, [table?.page, table?.pagination]);\n // useEffect(() => {\n // dispatch(\n // UserRedux.actions.getUsers({\n // params: { ...table?.query, page: table?.page, per_page: table?.pagination },\n // })\n // );\n // }, [tables]);\n\n const rowItems = users?.data.map((user) => [\n new TableSelection({ display: true, id: user.id, tableName: TABLE_NAME }),\n new TableData({ text: user.name }),\n new TableData({ text: user.email }),\n new DateViewer({ date: user.created_at || 'Undefined' }),\n new TableStatus({\n statusId: user.active ? 'Active' : 'Non active',\n badge: user.active ? 'badge-success' : 'badge-lightGreyBlue',\n }),\n new TableData({ text: user.companies_count?.toString() || '0' }),\n new TableData({ text: user.available_companies_count?.toString() || '0' }),\n new TableActions(\n (\n
\n history.push(`/admin/users/${user.id}`)} />\n history.push(`/admin/users/${user.id}/edit`)}\n />\n
\n )\n ),\n ]);\n\n return (\n //
\n // {\n // dispatch(\n // TableRedux.actions.updateQuery({\n // value: value,\n // tableName: TABLE_NAME,\n // queryTerm: 'name',\n // })\n // );\n // },\n // placeholderId: 'Search anything',\n // },\n // ]}\n // rightHandSide={[\n // {\n // type: 'dropdown',\n // queryTerm: 'company',\n // onChange: (value: any) =>\n // dispatch(\n // TableRedux.actions.updateQuery({\n // value: value,\n // tableName: TABLE_NAME,\n // queryTerm: 'company',\n // })\n // ),\n // placeholderId: 'Company',\n // options: companies?.data.map((company) => {\n // return {\n // value: company.id,\n // label: company.name || company.slug,\n // };\n // }),\n // },\n // {\n // type: 'dropdown',\n // queryTerm: 'status',\n // onChange: (value: any) =>\n // dispatch(\n // TableRedux.actions.updateQuery({\n // value: value,\n // tableName: TABLE_NAME,\n // queryTerm: 'status',\n // })\n // ),\n // placeholderId: 'Status',\n // options: [\n // { value: '1', label: formatMessage({ id: 'Active' }) },\n // { value: '0', label: formatMessage({ id: 'Non active' }) },\n // ],\n // },\n // ]}\n // />\n //
\n // {/*

\n // \n //

\n //
\n //
*/}\n // {/* Hide the unnecessary */}\n // {/*
\n // \n //
*/}\n // {users?.data && (\n // user.id) || []}\n // meta={users}\n // headerItems={headerItems}\n // rowItems={rowItems}\n // />\n // )}\n //
\n //
\n <>\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'company',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'company',\n })\n ),\n placeholderId: 'Company',\n options: companies?.data.map((company) => {\n return {\n value: company.id,\n label: company.name || company.slug,\n };\n }),\n },\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'status',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'status',\n })\n ),\n placeholderId: 'Status',\n options: [\n { value: '1', label: formatMessage({ id: 'Active' }) },\n { value: '0', label: formatMessage({ id: 'Non active' }) },\n ],\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n {users?.data && (\n user.id) || []}\n meta={users}\n headerItems={headerItems}\n rowItems={rowItems}\n initPerPage={20}\n />\n )}\n
\n \n );\n};\n\nconst UsersWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Users' })}\n\n {/* \n {formatMessage({ id: 'Users' })}\n */}\n\n \n
\n );\n};\n\nexport { UsersWrapper };\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints, ID } from '../../../../_metronic/constants/paths';\n\nexport const companyUsers = endpoints.companyUsers;\nexport const companySingleUser = endpoints.companySingleUser;\nexport const companyDocumentReviewers = endpoints.companyDocumentReviewers;\n\nexport function getUsersList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyUsers(companyId), { params });\n}\n\nexport function getSingleUserRequest({ companyId, userId }: { companyId: ID; userId: ID }) {\n return axiosInstance.get(companySingleUser(companyId, userId));\n}\n\nexport function getDocumentReviewers({ companyId }: { companyId: ID }) {\n return axiosInstance.get(companyDocumentReviewers(companyId));\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ID } from '../../../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { UsersDataListModel } from '../types/usersList';\nimport { user } from '../../../types/user';\nimport { getUsersList, getSingleUserRequest, getDocumentReviewers } from './UsersCrud';\n\nexport enum IUsersActionTypes {\n GET_USERS = 'GET_USERS',\n GET_SINGLE_USER = 'GET_SINGLE_USER',\n FULLFULL_Users = 'FULLFULL_Users',\n FULLFULL_SINGLE_USER = 'FULLFULL_SINGLE_USER',\n GET_DOCUMENT_REVIEWERS = 'GET_DOCUMENT_REVIEWERS',\n FULLFULL_DOCUMENT_REVIEWERS = 'FULLFULL_DOCUMENT_REVIEWERS',\n}\n\nconst initialUsersState: IUsersState = {\n Users: undefined,\n singleUser: undefined,\n reviewers: undefined,\n};\n\nexport interface IUsersState {\n Users?: UsersDataListModel;\n singleUser?: user;\n reviewers?: { id: number; name: string }[];\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Users', whitelist: [''] },\n (state: IUsersState = initialUsersState, action: ActionWithPayload) => {\n switch (action.type) {\n case IUsersActionTypes.FULLFULL_Users:\n return { ...state, Users: action.payload?.Users };\n case IUsersActionTypes.FULLFULL_SINGLE_USER:\n return { ...state, singleUser: action.payload?.singleUser };\n case IUsersActionTypes.FULLFULL_DOCUMENT_REVIEWERS:\n return { ...state, reviewers: action.payload?.reviewers };\n default:\n return state;\n }\n }\n);\n\ntype CompanyUsersSearch = { companyId: ID | any; params?: any };\ntype SingleUserBasicData = { companyId: ID | any; userId?: ID | any };\n\nexport const actions = {\n getUsers: ({ companyId, params }: CompanyUsersSearch) => ({\n type: IUsersActionTypes.GET_USERS,\n payload: { companyId, params },\n }),\n fulfillUsers: ({ Users }: IUsersState) => ({\n type: IUsersActionTypes.FULLFULL_Users,\n payload: { Users },\n }),\n getSingleUser: ({ companyId, userId }: SingleUserBasicData) => ({\n type: IUsersActionTypes.GET_SINGLE_USER,\n payload: { companyId, userId },\n }),\n fulfillSingleUser: ({ singleUser }: IUsersState) => ({\n type: IUsersActionTypes.FULLFULL_SINGLE_USER,\n payload: { singleUser },\n }),\n getDocumentReviewers: ({ companyId, params }: CompanyUsersSearch) => ({\n type: IUsersActionTypes.GET_DOCUMENT_REVIEWERS,\n payload: { companyId },\n }),\n fullfullDocumentReviewers: ({ reviewers }: IUsersState) => ({\n type: IUsersActionTypes.FULLFULL_DOCUMENT_REVIEWERS,\n payload: { reviewers },\n }),\n};\n\nexport function* getUsers(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getUsersList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing users to store\n yield put(actions.fulfillUsers({ Users: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getSingleUser(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getSingleUserRequest({\n companyId: action.payload?.companyId,\n userId: action.payload?.userId,\n });\n // Storing users to store\n yield put(actions.fulfillSingleUser({ singleUser: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getDocumentReviewersSaga(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getDocumentReviewers({ companyId: action.payload?.companyId });\n // Storing users to store\n yield put(actions.fullfullDocumentReviewers({ reviewers: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUsersActionTypes.GET_DOCUMENT_REVIEWERS, getDocumentReviewersSaga);\n yield takeLatest(IUsersActionTypes.GET_USERS, getUsers);\n yield takeLatest(IUsersActionTypes.GET_SINGLE_USER, getSingleUser);\n}\n","import { IRole } from '../../../types/user';\n\ninterface ITableData {\n roles: IRole[];\n}\n\nexport class TableRolesViewer {\n constructor(private fieldData: ITableData) {}\n\n renderItem() {\n return (\n
\n {this.fieldData.roles.map((role, i, arr) => {\n return (\n i < 2 && (\n
\n
\n \n \n {' '}\n {role.name}\n {arr.length > 2 && i === 1 && (\n role.name).join(' - ')}\n >\n )}\n
\n
\n )\n );\n })}\n
\n );\n }\n}\n","import clsx from 'clsx';\nimport { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\n\ntype Props = {\n formik: any;\n loading: boolean;\n saveBtnLabel?: string;\n cancelOnClick?: any;\n id?: string;\n containerClassName?: string;\n disabled?: boolean;\n};\nexport const SaveCancelBtnsGroup: FC = ({\n formik,\n loading,\n saveBtnLabel,\n cancelOnClick,\n id,\n containerClassName,\n disabled,\n}) => {\n return (\n
\n
\n
\n \n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n
\n cancelOnClick()}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n );\n};\n\nexport default SaveCancelBtnsGroup;\n","import { Formik } from 'formik';\nimport { serialize } from 'object-to-formdata';\nimport { FC } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { useSelector } from 'react-redux';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../../../network/apis';\nimport { RootState } from '../../../../setup/redux/Store';\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { $t, FormatMessage } from '../../../../_metronic/i18n/formatMessage';\nimport { Portal } from '../../../../_metronic/partials';\nimport SaveCancelBtnsGroup from '../../SaveCancelBtnsGroup';\n\ntype Props = {\n title?: string;\n messageId?: string;\n message?: string;\n dialogTitleId?: string;\n deleteItemId?: any;\n id?: string | number | null;\n setDeleteItemId?: Function;\n cancelId?: string;\n onCancel?: Function;\n deleteId?: string;\n onDelete?: Function;\n afterSucessRequest?: Function;\n moduleId?: string;\n alertMessage?: string;\n deleteURI?: string;\n successMessage?: string;\n payload?: number[] | number | null;\n isButton?: boolean;\n isCompanyButton?: boolean;\n showButtonGroup?: boolean;\n TABLE_NAME?: string;\n methodType?: 'post' | 'delete';\n};\n\nexport const DeleteItem: FC = ({\n title,\n messageId,\n message,\n dialogTitleId,\n deleteItemId,\n id,\n setDeleteItemId,\n moduleId,\n alertMessage,\n deleteURI,\n successMessage,\n isButton = false,\n showButtonGroup = false,\n payload = [],\n TABLE_NAME = '',\n afterSucessRequest,\n methodType = 'post',\n isCompanyButton,\n}) => {\n const { formatMessage } = useIntl();\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n return (\n
\n {((deleteItemId && deleteItemId === id) || (TABLE_NAME.length > 0 && payload)) && (\n \n setDeleteItemId && setDeleteItemId(null)}\n specialContainerClass='dialog-content w-600px'\n >\n {\n if (!deleteURI || !payload) return;\n try {\n if (methodType === 'delete') {\n await axiosInstance.delete(deleteURI);\n } else {\n const formData = serialize({\n ids: [payload],\n });\n formData.append('_method', 'DELETE');\n await axiosInstance.post(deleteURI, formData);\n }\n successMessage && toast.success(formatMessage({ id: successMessage }) || '');\n setDeleteItemId && setDeleteItemId(null);\n afterSucessRequest && afterSucessRequest();\n } catch (err) {\n DisplayErrors(err);\n }\n }}\n >\n {({ ...formik }) => (\n {\n e.preventDefault();\n formik.submitForm();\n }}\n >\n
\n {alertMessage?.length && (\n
\n \n
\n

\n {alertMessage}\n

\n
\n
\n )}\n
\n {messageId && (\n

\n \n

\n )}\n {message &&

{message}

}\n
\n {showButtonGroup && (\n {\n setDeleteItemId && setDeleteItemId(null);\n }}\n />\n )}\n
\n \n )}\n \n \n
\n )}\n {isCompanyButton === undefined ? (\n isButton ? (\n \n setDeleteItemId &&\n setDeleteItemId(table?.selection.includes(-1) ? table?.ids : table?.selection)\n }\n >\n \n \n \n ) : (\n setDeleteItemId && setDeleteItemId(id)}\n >\n \n \n )\n ) : (\n setDeleteItemId && setDeleteItemId(id)}\n style={{\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n }}\n >\n \n \n \n \n \n )}\n
\n );\n};\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport { RootState } from '../../../setup/redux/Store';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../_metronic/layout/core';\n// Hide the unnecessary\n// import { DeleteItem } from '../../shared/tables/actions/DeleteItem';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { ViewItem } from '../../shared/tables/actions/ViewItem';\nimport { KTSVG } from '../../../_metronic/helpers';\nimport { CompanyModel } from '../companies/CompanyModel';\nimport { UsersDataListModel } from './types/usersList';\nimport { SerachFilters } from '../../shared/SearchFilters';\n\nimport * as TableRedux from '../../store/TableRedux';\nimport * as UsersRedux from '../users/store/UsersRedux';\nimport * as RolesRedux from '../roles/store/RolesRedux';\n\nimport { TableStatus, ItemWithImage } from '../../shared/tables/classes';\nimport { TableData } from '../../shared/tables/classes/TableData';\nimport { TableActions } from '../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../shared/tables/classes/TableSelection';\nimport { DateViewer } from '../../shared/tables/classes/DateViewer';\nimport { RolesDataListModel } from '../roles/types/Roles';\nimport { TableRolesViewer } from '../../shared/tables/classes/TableRolesViewer';\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { Button } from '../../shared/Button';\nimport { CommonTable2 } from '../../shared/tables/Table2';\nimport { DeleteItem } from '../../shared/tables/actions/DeleteItem';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { Portal } from '../../../_metronic/partials';\n\nconst headerItems = [\n { id: 'Name', maxWidth: 440, width: 440 },\n { id: 'Email', maxWidth: 240 },\n { id: 'Roles', maxWidth: 300, width: 300 },\n { id: 'Last Active', maxWidth: 270, width: 270 },\n { id: 'Status', maxWidth: 100, width: 100 },\n { id: 'Actions', maxWidth: 100, width: 100 },\n];\nconst headerItemsWithoutActions = [\n { id: 'Name', maxWidth: 440, width: 440 },\n { id: 'Email', maxWidth: 240 },\n { id: 'Roles', maxWidth: 300, width: 300 },\n { id: 'Last Active', maxWidth: 270, width: 270 },\n { id: 'Status', maxWidth: 100, width: 100 },\n];\n\nconst TABLE_NAME = 'users_list';\n\nexport const Users: FC = ({ viewEditRole }) => {\n return (\n
\n {/* ---------------------------- Start users table --------------------------- */}\n \n {/* ---------------------------- End users table --------------------------- */}\n
\n );\n};\n\nexport const UsersTable: FC = ({ viewEditRole }) => {\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n const { formatMessage } = useIntl();\n const [deleteItemId, setDeleteItemId] = useState(null);\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const roles: RolesDataListModel = useSelector(\n (state) => state.roles.roles,\n shallowEqual\n ) as RolesDataListModel;\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const users: UsersDataListModel = useSelector(\n (state) => state.USER_users.Users,\n shallowEqual\n ) as UsersDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = useMemo(() => tables[TABLE_NAME], [tables[TABLE_NAME]]);\n /* ----------------------- Getting roles for dropdown ----------------------- */\n useEffect(() => {\n if (companyDetails?.id && params.companySlug) {\n dispatch(\n RolesRedux.actions.getRoles({ companyId: companyDetails.id, params: { per_page: 0 } })\n );\n }\n }, [dispatch, companyDetails?.id, params.companySlug]);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UsersRedux.actions.fulfillUsers({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n UsersRedux.actions.getUsers({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (params.companySlug && companyDetails?.id && table?.page) {\n RequestData();\n }\n }, [table?.page, table?.pagination, params.companySlug, companyDetails?.id]);\n\n const searchFilterHandler = () => {\n if (params.companySlug && companyDetails.id && table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (params.companySlug && companyDetails.id && table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n\n const rowItems = users?.data.map((user) => [\n new TableSelection({\n display: userCan('delete-user') || viewEditRole,\n id: user.id,\n tableName: TABLE_NAME,\n disabled: viewEditRole?.mode === 'view',\n }),\n new ItemWithImage({ name: user.name, image: user?.image }),\n new TableData({ text: user.email }),\n new TableRolesViewer({ roles: user.roles }),\n new DateViewer({ date: user.last_visit ? user.last_visit : '' }),\n new TableStatus({\n statusId: user.active ? 'Active' : 'Non active',\n badge: user.active ? 'badge-success' : 'badge-lightGreyBlue',\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n {user.active && !viewEditRole?.mode && (\n \n history.push(`/c/${companyDetails.slug}/company-management/users/${user.id}`)\n }\n />\n )}\n {user.active && !viewEditRole?.mode && user.id !== companyDetails.owner.id && (\n <>\n {userCan('update-user') && (\n \n history.push(\n `/c/${companyDetails.slug}/company-management/users/${user.id}/edit`\n )\n }\n />\n )}\n {/* Hide the unnecessary */}\n {userCan('delete-user') && !user.isCompanyAdmin && (\n RequestData()}\n />\n )}\n \n )}\n {user.is_pending && (\n <>\n {userCan('delete-user') && !user.isCompanyAdmin && (\n RequestData()}\n />\n )}\n \n )}\n
\n )\n ),\n ]);\n\n return (\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n {/* ------------------------ start Action button ------------------------ */}\n\n
\n {/* begin::Menu */}\n \n \n \n {/* begin::Menu 2 */}\n \n {/* begin::Menu item */}\n
\n
\n {$t('Actions')}{' '}\n
\n
\n {/* end::Menu item */}\n {/* begin::Menu separator */}\n
\n {/* end::Menu separator */}\n\n {/* begin::Menu item */}\n {userCan('invite-user') && !viewEditRole?.mode && (\n
\n {\n if (users?.can_create) {\n history.push(\n `/c/${params.companySlug}/company-management/users/invite-users`\n );\n } else {\n setShowConfirmationModal(true);\n }\n }}\n nameId='Invite users'\n />\n
\n )}\n {/* end::Menu item */}\n
\n {/* end::Menu 2 */}\n {/* end::Menu */}\n
\n\n {/* ------------------------ End Action button ------------------------ */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'role',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'role',\n })\n ),\n placeholderId: 'role',\n options: roles?.data?.map((role) => ({\n value: role.id.toString(),\n label: role.name,\n })),\n },\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'status',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'status',\n })\n ),\n placeholderId: 'Status',\n options: [\n { value: '1', label: formatMessage({ id: 'Active' }) },\n // { value: '2', label: formatMessage({ id: 'Suspended' }) },\n { value: '0', label: formatMessage({ id: 'Non active' }) },\n ],\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n user.id)}\n meta={users}\n headerItems={!viewEditRole?.mode ? headerItems : headerItemsWithoutActions}\n rowItems={rowItems}\n />\n\n {/* ---------------------warnings confirmation Modal----------------------- */}\n\n {showConfirmationModal && (\n \n setShowConfirmationModal(false)}\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n {formatMessage({\n id: 'You have reached the maximum allowed for your current subscription. Contact support to upgrade.',\n })}\n
\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowConfirmationModal(false);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------end warnings confirmation Modal----------------------- */}\n \n );\n};\n\nconst UsersWrapper: FC = () => {\n usePermissions('view-user');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Users' })}\n \n
\n );\n};\n\nexport { UsersWrapper };\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport clsx from 'clsx';\nimport React, { useEffect, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport Pagination from 'react-js-pagination';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { toAbsoluteUrl } from '../../../_metronic/helpers';\n\nimport * as TableRedux from '../../store/TableRedux';\n\nimport { RootState } from '../../../setup/redux/Store';\nimport { perpage } from '../../../_metronic/constants/general';\nimport { ID } from '../../../_metronic/constants/paths';\nimport { Meta } from '../../types/Meta';\nimport { DisplayItem } from './classes/DisplayItem';\nimport { TableSelection } from './classes/TableSelection';\n\ninterface headerItem {\n id?: string;\n width?: number;\n maxWidth?: number;\n [key: string]: any;\n}\n\ninterface rowItem {\n [key: string]: any;\n}\n\ntype Props = {\n className?: string;\n meta: Meta;\n headerItems: Array;\n rowItems?: Array[];\n headerWithCheckbox?: boolean;\n disableHeaderWithCheckbox?: boolean;\n hideFooter?: boolean;\n showTotal?: boolean;\n hidePagination?: boolean;\n tableName: string;\n initPerPage?: number;\n allDisplayedIds: Array;\n totalIndexArray?: Array;\n scrollable?: boolean;\n};\n\nconst CommonTable: React.FC = ({\n className,\n headerItems,\n rowItems,\n headerWithCheckbox,\n disableHeaderWithCheckbox = false,\n hideFooter = false,\n showTotal = false,\n hidePagination = false,\n tableName,\n allDisplayedIds,\n meta,\n initPerPage,\n totalIndexArray = [],\n scrollable = false,\n}) => {\n const { formatMessage } = useIntl();\n const [page, setPage] = useState(0);\n const dispatch = useDispatch();\n\n const resultArray = totalIndexArray?.map((item) => {\n const result = rowItems?.reduce(\n (acc, row) => {\n row?.map((rowItem, rowItemIndex) =>\n item === rowItemIndex - 1\n ? (acc[`${tableName + item}`] += parseFloat(rowItem.fieldData.text)\n ? parseFloat(rowItem.fieldData.text)\n : 0)\n : ''\n );\n\n return acc;\n },\n { [`${tableName + item}`]: 0 }\n );\n return result;\n });\n\n useEffect(() => {\n dispatch(TableRedux.actions.initTable({ tableName, allDisplayedIds, initPerPage }));\n return () => {\n dispatch(TableRedux.actions.terminateTable({ tableName }));\n };\n }, [tableName]);\n\n useEffect(() => {\n dispatch(\n TableRedux.actions.changeTablePagination({\n tableName,\n pagination: initPerPage || 20,\n })\n );\n }, []);\n\n useEffect(() => {\n if (allDisplayedIds?.length && meta.current_page !== page) {\n setPage(meta.current_page);\n dispatch(TableRedux.actions.updateIds({ tableName, allDisplayedIds }));\n }\n }, [allDisplayedIds, meta]);\n\n useEffect(() => {\n dispatch(TableRedux.actions.updateIds({ tableName, allDisplayedIds }));\n }, [allDisplayedIds?.length]);\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[tableName];\n\n return (\n
\n {/* begin::Body */}\n
\n {/* begin::Table container */}\n
\n {/* begin::Table */}\n \n {/* begin::Table head */}\n\n \n \n {headerWithCheckbox && rowItems && rowItems?.length > 0 ? (\n \n {DisplayItem(\n new TableSelection({\n display: headerWithCheckbox,\n id: -1,\n tableName,\n disabled: disableHeaderWithCheckbox,\n })\n )}\n \n ) : null}\n {headerItems.map((item) => (\n \n {formatMessage({ id: item.id })}\n \n ))}\n \n \n\n {/* end::Table head */}\n {/* begin::Table body */}\n \n {rowItems?.map((row, rowIndex) => {\n // To Remove first item if display checkbox is not true\n // NOTE: Checkbox is always in the first item in each row\n let rowData = row;\n if (!row[0].fieldData.display) {\n rowData = rowData.slice(1);\n }\n return (\n \n {rowData?.map((rowItem, rowItemIndex) => {\n return (\n \n {DisplayItem(rowItem)}\n \n );\n })}\n \n );\n })}\n \n {/* end::Table body */}\n \n {rowItems?.length === 0 && (\n <>\n
\n \n
\n
\n \n
{' '}\n \n )}\n {/* end::Table */}\n
\n {/* end::Table container */}\n {/* start::Total */}\n {showTotal && (\n
\n \n \n {headerItems.map((item, index) => (\n \n {totalIndexArray?.includes(index)\n ? formatMessage({ id: `Total ` }) + ' ' + formatMessage({ id: `${item.id}` })\n : ''}\n \n ))}\n \n \n \n {\n \n {rowItems?.[0]?.map((rowItem, rowItemIndex) => (\n \n {totalIndexArray?.includes(rowItemIndex)\n ? `${resultArray[\n totalIndexArray.findIndex((item) => item === rowItemIndex)\n ]?.[`${tableName + rowItemIndex}`].toFixed(2)}`\n : ''}\n \n ))}\n \n }\n \n
\n )}\n {/* end::Total */}\n\n {!hideFooter && (\n
\n
\n \n
\n
\n \n dispatch(TableRedux.actions.changePage({ tableName, page }))\n }\n itemClass='page-item'\n linkClass='page-link'\n />\n
\n\n
\n {!hidePagination && (\n <>\n

\n \n

\n \n dispatch(\n TableRedux.actions.changeTablePagination({\n tableName,\n pagination: Number(e.target.value),\n })\n )\n }\n >\n {perpage?.map((num: any) => (\n \n ))}\n \n \n )}\n
\n
\n )}\n
\n {/* begin::Body */}\n
\n );\n};\nexport { CommonTable };\n","import { axiosInstance } from '../../../../../network/apis';\nimport { endpoints, ID } from '../../../../../_metronic/constants/paths';\n\nexport const companyUsers = endpoints.companyUsers;\nexport const companySingleUser = endpoints.companySingleUser;\nexport const companyDocumentReviewers = endpoints.companyDocumentReviewers;\n\nexport function getUserGroupsList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyUsers(companyId), { params });\n}\n\nexport function getSingleUserGroupRequest({ companyId, userId }: { companyId: ID; userId: ID }) {\n return axiosInstance.get(companySingleUser(companyId, userId));\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ID } from '../../../../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { UsersDataListModel } from '../types/usersList';\nimport { user } from '../../../../types/user';\nimport { getUserGroupsList, getSingleUserGroupRequest } from './UsersGroupCrud';\n\nexport enum IUsersGroupsActionTypes {\n GET_USER_GROUPS = 'GET_USER_GROUPS',\n GET_SINGLE_USER_GROUP = 'GET_SINGLE_USER_GROUP',\n FULLFULL_USER_GROUPS = 'FULLFULL_USER_GROUPS',\n FULLFULL_SINGLE_USER_GROUP = 'FULLFULL_SINGLE_USER_GROUP',\n}\n\nconst initialUsersState: IUsersState = {\n Users: undefined,\n singleUser: undefined,\n reviewers: undefined,\n};\n\nexport interface IUsersState {\n Users?: UsersDataListModel;\n singleUser?: user;\n reviewers?: { id: number; name: string }[];\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Users-Group', whitelist: [''] },\n (state: IUsersState = initialUsersState, action: ActionWithPayload) => {\n switch (action.type) {\n case IUsersGroupsActionTypes.FULLFULL_USER_GROUPS:\n return { ...state, Users: action.payload?.Users };\n case IUsersGroupsActionTypes.FULLFULL_SINGLE_USER_GROUP:\n return { ...state, singleUser: action.payload?.singleUser };\n default:\n return state;\n }\n }\n);\n\ntype CompanyUsersSearch = { companyId: ID | any; params?: any };\ntype SingleUserBasicData = { companyId: ID | any; userId?: ID | any };\n\nexport const actions = {\n getUsers: ({ companyId, params }: CompanyUsersSearch) => ({\n type: IUsersGroupsActionTypes.GET_USER_GROUPS,\n payload: { companyId, params },\n }),\n fulfillUsers: ({ Users }: IUsersState) => ({\n type: IUsersGroupsActionTypes.FULLFULL_USER_GROUPS,\n payload: { Users },\n }),\n getSingleUser: ({ companyId, userId }: SingleUserBasicData) => ({\n type: IUsersGroupsActionTypes.GET_SINGLE_USER_GROUP,\n payload: { companyId, userId },\n }),\n fulfillSingleUser: ({ singleUser }: IUsersState) => ({\n type: IUsersGroupsActionTypes.FULLFULL_SINGLE_USER_GROUP,\n payload: { singleUser },\n }),\n};\n\nexport function* getUsers(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getUserGroupsList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing users to store\n yield put(actions.fulfillUsers({ Users: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getSingleUserGroup(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getSingleUserGroupRequest({\n companyId: action.payload?.companyId,\n userId: action.payload?.userId,\n });\n // Storing users to store\n yield put(actions.fulfillSingleUser({ singleUser: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUsersGroupsActionTypes.GET_USER_GROUPS, getUsers);\n yield takeLatest(IUsersGroupsActionTypes.GET_SINGLE_USER_GROUP, getSingleUserGroup);\n}\n","import { FC, useEffect, useMemo } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport { RootState } from '../../../../setup/redux/Store';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\nimport { EditItem } from '../../../shared/tables/actions/EditItem';\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { CommonTable } from '../../../shared/tables/Table';\nimport { CompanyModel } from '../../companies/CompanyModel';\nimport { UsersDataListModel } from './types/usersList';\nimport { SerachFilters } from '../../../shared/SearchFilters';\n\nimport * as TableRedux from '../../../store/TableRedux';\nimport * as UsersRedux from './store/UsersGroupRedux';\nimport * as RolesRedux from '../../roles/store/RolesRedux';\n\nimport { TableStatus, ItemWithImage } from '../../../shared/tables/classes';\nimport { TableData } from '../../../shared/tables/classes/TableData';\nimport { TableActions } from '../../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../../shared/tables/classes/TableSelection';\nimport { DateViewer } from '../../../shared/tables/classes/DateViewer';\nimport { TableRolesViewer } from '../../../shared/tables/classes/TableRolesViewer';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport { Button } from '../../../shared/Button';\n\nconst headerItems = [\n { id: 'Name', maxWidth: 440, width: 440 },\n { id: 'Email', maxWidth: 240 },\n { id: 'Roles', maxWidth: 300, width: 300 },\n { id: 'Last Active', maxWidth: 270, width: 270 },\n { id: 'Status', maxWidth: 100, width: 100 },\n { id: 'Actions', maxWidth: 100, width: 100 },\n];\n\nconst TABLE_NAME = 'users_list';\n\nexport const UserGroups: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n return (\n
\n
\n {/* // TODO: permissions */}\n {userCan('invite-user') && (\n history.push(`/c/${params.companySlug}/groups/users/cu-users-group`)}\n fa='plus'\n nameId='Add user group'\n btnType='outlined'\n />\n )}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[]}\n />\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n
\n
\n {/* // TODO: permissions */}\n {userCan('delete-user') &&
\n {/* ---------------------------- Start users table --------------------------- */}\n \n {/* ---------------------------- End users table --------------------------- */}\n
\n
\n );\n};\n\nexport const UsersGroupsTable: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const users: UsersDataListModel = useSelector(\n (state) => state.USER_users.Users,\n shallowEqual\n ) as UsersDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = useMemo(() => tables[TABLE_NAME], [tables[TABLE_NAME]]);\n /* ----------------------- Getting roles for dropdown ----------------------- */\n useEffect(() => {\n if (companyDetails?.id && params.companySlug) {\n dispatch(\n RolesRedux.actions.getRoles({ companyId: companyDetails.id, params: { per_page: 0 } })\n );\n }\n }, [dispatch, companyDetails?.id, params.companySlug]);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UsersRedux.actions.fulfillUsers({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n const table = tables[TABLE_NAME];\n dispatch(\n UsersRedux.actions.getUsers({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n }, [table?.page, table?.pagination, table?.query, params.companySlug, companyDetails.id]);\n\n const rowItems = users?.data.map((user) => [\n new TableSelection({ display: userCan('delete-user'), id: user.id, tableName: TABLE_NAME }),\n new ItemWithImage({ name: user.name, image: user?.image }),\n new TableData({ text: user.email }),\n new TableRolesViewer({ roles: user.roles }),\n new DateViewer({ date: user.created_at || 'Undefined' }),\n new TableStatus({\n statusId: user.active ? 'Active' : 'Non active',\n badge: user.active ? 'badge-success' : 'badge-lightGreyBlue',\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n \n history.push(`/c/${companyDetails.slug}/company-management/users/${user.id}`)\n }\n />\n {user.id !== companyDetails.owner.id && (\n <>\n {userCan('update-user') && (\n \n history.push(\n `/c/${companyDetails.slug}/company-management/users/${user.id}/edit`\n )\n }\n />\n )}\n {userCan('delete-user') && }\n \n )}\n
\n )\n ),\n ]);\n\n return (\n
\n user.id)}\n meta={users}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n
\n );\n};\n\nconst UsersGroupsWrapper: FC = () => {\n // TODO: permissions\n usePermissions('view-user');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Users Groups' })}\n \n
\n );\n};\n\nexport { UsersGroupsWrapper };\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ID } from '../../../../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { ClientsDataListModel } from '../types/clientsList';\nimport { user } from '../../../../types/user';\nimport { getUserGroupsList, getSingleUserGroupRequest } from './UsersGroupCrud';\n\nexport enum IUsersGroupsActionTypes {\n GET_USER_GROUPS = 'GET_USER_GROUPS',\n GET_SINGLE_USER_GROUP = 'GET_SINGLE_USER_GROUP',\n FULLFULL_USER_GROUPS = 'FULLFULL_USER_GROUPS',\n FULLFULL_SINGLE_USER_GROUP = 'FULLFULL_SINGLE_USER_GROUP',\n}\n\nconst initialUsersState: IUsersState = {\n Users: undefined,\n singleUser: undefined,\n reviewers: undefined,\n};\n\nexport interface IUsersState {\n Users?: ClientsDataListModel;\n singleUser?: user;\n reviewers?: { id: number; name: string }[];\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Users-Group', whitelist: [''] },\n (state: IUsersState = initialUsersState, action: ActionWithPayload) => {\n switch (action.type) {\n case IUsersGroupsActionTypes.FULLFULL_USER_GROUPS:\n return { ...state, Users: action.payload?.Users };\n case IUsersGroupsActionTypes.FULLFULL_SINGLE_USER_GROUP:\n return { ...state, singleUser: action.payload?.singleUser };\n default:\n return state;\n }\n }\n);\n\ntype CompanyUsersSearch = { companyId: ID | any; params?: any };\ntype SingleUserBasicData = { companyId: ID | any; userId?: ID | any };\n\nexport const actions = {\n getUsers: ({ companyId, params }: CompanyUsersSearch) => ({\n type: IUsersGroupsActionTypes.GET_USER_GROUPS,\n payload: { companyId, params },\n }),\n fulfillUsers: ({ Users }: IUsersState) => ({\n type: IUsersGroupsActionTypes.FULLFULL_USER_GROUPS,\n payload: { Users },\n }),\n getSingleUser: ({ companyId, userId }: SingleUserBasicData) => ({\n type: IUsersGroupsActionTypes.GET_SINGLE_USER_GROUP,\n payload: { companyId, userId },\n }),\n fulfillSingleUser: ({ singleUser }: IUsersState) => ({\n type: IUsersGroupsActionTypes.FULLFULL_SINGLE_USER_GROUP,\n payload: { singleUser },\n }),\n};\n\nexport function* getUsers(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getUserGroupsList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing users to store\n yield put(actions.fulfillUsers({ Users: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getSingleUserGroup(action: ActionWithPayload) {\n try {\n // Getting Users request\n const { data } = yield getSingleUserGroupRequest({\n companyId: action.payload?.companyId,\n userId: action.payload?.userId,\n });\n // Storing users to store\n yield put(actions.fulfillSingleUser({ singleUser: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUsersGroupsActionTypes.GET_USER_GROUPS, getUsers);\n yield takeLatest(IUsersGroupsActionTypes.GET_SINGLE_USER_GROUP, getSingleUserGroup);\n}\n","import { FC, useEffect, useMemo } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport { RootState } from '../../../../setup/redux/Store';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\nimport { EditItem } from '../../../shared/tables/actions/EditItem';\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { CommonTable } from '../../../shared/tables/Table';\nimport { CompanyModel } from '../../companies/CompanyModel';\nimport { ClientsDataListModel } from './types/clientsList';\nimport { SerachFilters } from '../../../shared/SearchFilters';\n\nimport * as TableRedux from '../../../store/TableRedux';\nimport * as UsersRedux from './store/UsersGroupRedux';\nimport * as RolesRedux from '../../roles/store/RolesRedux';\n\nimport { TableStatus, ItemWithImage } from '../../../shared/tables/classes';\nimport { TableData } from '../../../shared/tables/classes/TableData';\nimport { TableActions } from '../../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../../shared/tables/classes/TableSelection';\nimport { DateViewer } from '../../../shared/tables/classes/DateViewer';\nimport { TableRolesViewer } from '../../../shared/tables/classes/TableRolesViewer';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport { Button } from '../../../shared/Button';\n\nconst headerItems = [\n { id: 'Name', maxWidth: 440, width: 440 },\n { id: 'Email', maxWidth: 240 },\n { id: 'Roles', maxWidth: 300, width: 300 },\n { id: 'Last Active', maxWidth: 270, width: 270 },\n { id: 'Status', maxWidth: 100, width: 100 },\n { id: 'Actions', maxWidth: 100, width: 100 },\n];\n\nconst TABLE_NAME = 'clients_list';\n\nexport const ClientGroups: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n return (\n
\n
\n {/* // TODO: permissions */}\n {userCan('invite-user') && (\n history.push(`/c/${params.companySlug}/groups/clients/cu-clients-group`)}\n fa='plus'\n nameId='Add client group'\n btnType='outlined'\n />\n )}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[]}\n />\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n
\n
\n {/* // TODO: permissions */}\n {userCan('delete-user') &&
\n {/* ---------------------------- Start users table --------------------------- */}\n \n {/* ---------------------------- End users table --------------------------- */}\n
\n
\n );\n};\n\nexport const ClientsGroupsTable: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const users: ClientsDataListModel = useSelector(\n (state) => state.USER_users.Users,\n shallowEqual\n ) as ClientsDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = useMemo(() => tables[TABLE_NAME], [tables[TABLE_NAME]]);\n /* ----------------------- Getting roles for dropdown ----------------------- */\n useEffect(() => {\n if (companyDetails?.id && params.companySlug) {\n dispatch(\n RolesRedux.actions.getRoles({ companyId: companyDetails.id, params: { per_page: 0 } })\n );\n }\n }, [dispatch, companyDetails?.id, params.companySlug]);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UsersRedux.actions.fulfillUsers({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n const table = tables[TABLE_NAME];\n dispatch(\n UsersRedux.actions.getUsers({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n }, [table?.page, table?.pagination, table?.query, params.companySlug, companyDetails.id]);\n\n const rowItems = users?.data.map((user) => [\n new TableSelection({ display: userCan('delete-user'), id: user.id, tableName: TABLE_NAME }),\n new ItemWithImage({ name: user.name, image: user?.image }),\n new TableData({ text: user.email }),\n new TableRolesViewer({ roles: user.roles }),\n new DateViewer({ date: user.created_at || 'Undefined' }),\n new TableStatus({\n statusId: user.active ? 'Active' : 'Non active',\n badge: user.active ? 'badge-success' : 'badge-lightGreyBlue',\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n \n history.push(`/c/${companyDetails.slug}/company-management/users/${user.id}`)\n }\n />\n {user.id !== companyDetails.owner.id && (\n <>\n {userCan('update-user') && (\n \n history.push(\n `/c/${companyDetails.slug}/company-management/users/${user.id}/edit`\n )\n }\n />\n )}\n {userCan('delete-user') && }\n \n )}\n
\n )\n ),\n ]);\n\n return (\n
\n user.id)}\n meta={users}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n
\n );\n};\n\nconst ClientsGroupsWrapper: FC = () => {\n // TODO: permissions\n usePermissions('view-user');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Clients Groups' })}\n \n
\n );\n};\n\nexport { ClientsGroupsWrapper };\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints, ID } from '../../../../_metronic/constants/paths';\n\nexport const companyClients = endpoints.companyClients;\nexport const companySingleClient = endpoints.companySingleClient;\n\nexport function getClientList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyClients(companyId), { params });\n}\n\nexport function getSingleClientRequest({ companyId, userId }: { companyId: ID; userId: ID }) {\n return axiosInstance.get(companySingleClient(companyId, userId));\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\n\nimport { ID } from '../../../../_metronic/constants/paths';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { ClientsDataListModel } from '../types/clientsList';\nimport { user } from '../../../types/user';\nimport { getClientList, getSingleClientRequest } from './ClientsCrud';\n\nexport enum IClientsActionTypes {\n GET_CLIENTS = 'GET_CLIENTS',\n GET_SINGLE_CLIENT = 'GET_SINGLE_CLIENT',\n FULLFULL_Clients = 'FULLFULL_Clients',\n FULLFULL_SINGLE_USER = 'FULLFULL_SINGLE_USER',\n SET_DISPLAYED_TABS = 'SET_DISPLAYED_TABS',\n FULLFILL_DISPLAYED_TABS = 'FULLFILL_DISPLAYED_TABS',\n}\n\nconst initialClientsState: IClientsState = {\n Clients: undefined,\n singleUser: undefined,\n displayedTabs: undefined,\n};\n\nexport interface IClientsState {\n Clients?: ClientsDataListModel;\n singleUser?: user;\n displayedTabs?: [];\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Clients', whitelist: [''] },\n (state: IClientsState = initialClientsState, action: ActionWithPayload) => {\n switch (action.type) {\n case IClientsActionTypes.FULLFULL_Clients:\n return { ...state, Clients: action.payload?.Clients };\n case IClientsActionTypes.FULLFULL_SINGLE_USER:\n return { ...state, singleUser: action.payload?.singleUser };\n case IClientsActionTypes.FULLFILL_DISPLAYED_TABS:\n return { ...state, displayedTabs: action.payload?.displayedTabs };\n default:\n return state;\n }\n }\n);\n\ntype CompanyClientsSearch = { companyId: ID | any; params?: any };\ntype SingleUserBasicData = { companyId: ID | any; userId?: ID | any };\n\nexport const actions = {\n getClients: ({ companyId, params }: CompanyClientsSearch) => ({\n type: IClientsActionTypes.GET_CLIENTS,\n payload: { companyId, params },\n }),\n fulfillClients: ({ Clients }: IClientsState) => ({\n type: IClientsActionTypes.FULLFULL_Clients,\n payload: { Clients },\n }),\n getSingleClient: ({ companyId, userId }: SingleUserBasicData) => ({\n type: IClientsActionTypes.GET_SINGLE_CLIENT,\n payload: { companyId, userId },\n }),\n fulfillSingleUser: ({ singleUser }: IClientsState) => ({\n type: IClientsActionTypes.FULLFULL_SINGLE_USER,\n payload: { singleUser },\n }),\n setDisplayedTabs: ({ displayedTabs }: any) => ({\n type: IClientsActionTypes.SET_DISPLAYED_TABS,\n payload: { displayedTabs },\n }),\n fullFillDisplayedTabs: ({ displayedTabs }: any) => ({\n type: IClientsActionTypes.FULLFILL_DISPLAYED_TABS,\n payload: { displayedTabs },\n }),\n};\n\nexport function* getClients(action: ActionWithPayload) {\n try {\n // Getting Clients request\n const { data } = yield getClientList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing clients in store\n yield put(actions.fulfillClients({ Clients: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getSingleClient(action: ActionWithPayload) {\n try {\n // Getting Clients request\n const { data } = yield getSingleClientRequest({\n companyId: action.payload?.companyId,\n userId: action.payload?.userId,\n });\n // Storing clients in store\n yield put(actions.fulfillSingleUser({ singleUser: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* setDisplayedTabsSaga(action: ActionWithPayload) {\n try {\n // log displayed tabs array\n // console.log(action.payload?.displayedTabs);\n // const { data } = yield getSingleClientRequest({\n // companyId: action.payload?.companyId,\n // userId: action.payload?.userId,\n // });\n // // Storing clients in store\n yield put(actions.fullFillDisplayedTabs({ displayedTabs: action.payload?.displayedTabs }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IClientsActionTypes.GET_CLIENTS, getClients);\n yield takeLatest(IClientsActionTypes.GET_SINGLE_CLIENT, getSingleClient);\n yield takeLatest(IClientsActionTypes.SET_DISPLAYED_TABS, setDisplayedTabsSaga);\n}\n","import { messages } from '../../i18n/messages/messages';\nimport { LOCALE } from '../typescript';\n\nexport function toSelectOption(option: any, locale: LOCALE | string = 'ar', name = 'label') {\n return {\n ...option,\n label: messages[locale][`${[option[name]]}`] || '-.-',\n };\n}\n","import countrisEmojiList from './countries.json';\nexport const countires: { [key: string]: any } = countrisEmojiList;\n","import { FC, useEffect } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { useHistory } from 'react-router-dom'; //\n\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { $t, FormatMessage } from '../../../../_metronic/i18n/formatMessage';\nimport { Portal } from '../../../../_metronic/partials';\n\ntype Props = {\n id?: string | number | null;\n title?: string;\n messageId?: string;\n editURI?: string | any;\n showButtonGroup?: boolean;\n editItemId?: any;\n setEditItemId?: Function;\n isButton?: boolean;\n buttonMessageId?: string;\n\n dialogTitleId?: string;\n cancelId?: string;\n onCancel?: Function;\n editId?: string;\n onEdit?: Function;\n afterSucessRequest?: Function;\n moduleId?: string;\n alertMessage?: string;\n successMessage?: string;\n payload?: number;\n TABLE_NAME?: string;\n isFullWidth?: boolean;\n};\n\nexport const EditItemWithModal: FC = ({\n id,\n title,\n messageId,\n editURI,\n showButtonGroup = false,\n editItemId,\n setEditItemId,\n isButton = false,\n buttonMessageId,\n isFullWidth = false,\n dialogTitleId,\n alertMessage,\n TABLE_NAME = '',\n}) => {\n /* ---------------------------- Add custom styles --------------------------- */\n const customStylesPerant = {\n display: 'flex',\n justifyContent: 'flex-end',\n width: '100%',\n };\n const customStylesButtonChild = {\n width: '100%',\n };\n /* ---------------------------- Add custom styles --------------------------- */\n const history = useHistory();\n useEffect(() => {\n if (editItemId && editURI && !messageId) {\n history.push(editURI);\n }\n }, [editItemId, messageId, editURI]);\n\n return (\n
\n {editItemId && editItemId === id && messageId && (\n \n setEditItemId && setEditItemId(null)}\n specialContainerClass='dialog-content w-600px'\n >\n
\n {alertMessage?.length && (\n
\n \n
\n

\n {alertMessage}\n

\n
\n
\n )}\n
\n {\n

\n \n

\n }\n
\n {showButtonGroup && editURI && (\n <>\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n history.push(editURI);\n // console.log('editURI', editURI);\n }}\n >\n \n \n \n \n
\n
\n {\n setEditItemId && setEditItemId(null);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n // {\n // setEditItemId && setEditItemId(null);\n // }}\n // />\n )}\n
\n \n
\n )}\n {isButton ? (\n setEditItemId && setEditItemId(id)}\n >\n \n \n \n ) : (\n setEditItemId && setEditItemId(id)}\n >\n \n \n )}\n
\n );\n};\n","import { FC } from 'react';\n// import { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const CancelItem: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\n// import { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const ApproveItem: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\n\ntype Props = any;\n\nexport const ErrorItemWarning: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\n\ntype Props = any;\n\nexport const ErrorItemDanger: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import clsx from 'clsx';\nimport { Link } from 'react-router-dom';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\n\ninterface ITableDataPrimaryAndSecondary {\n primaryText: string;\n secondaryText?: string;\n className?: string;\n to?: string;\n isLink?: boolean;\n isExternal?: boolean;\n errors_with_color?: any;\n show_errors_icon?: boolean;\n show_errors_icon_message?: any;\n show_errors_icon_color?: 'danger' | 'warning';\n show_processed_icon?: boolean;\n show_title_message?: boolean;\n}\nexport class TableDataPrimaryAndSecondary {\n constructor(private fieldData: ITableDataPrimaryAndSecondary) {}\n\n RedirectionController({\n to,\n isExternal,\n primaryText,\n secondaryText,\n className,\n }: ITableDataPrimaryAndSecondary) {\n return isExternal ? (\n \n {primaryText}\n \n ) : (\n \n {primaryText}\n \n );\n }\n\n renderItem() {\n const {\n isLink,\n to,\n primaryText,\n secondaryText,\n className,\n errors_with_color,\n show_errors_icon,\n show_errors_icon_message,\n show_errors_icon_color,\n show_title_message,\n show_processed_icon,\n } = this.fieldData;\n\n let badgeClassName = 'badge badge-md badge-danger';\n // if (\n // error?.includes('نقص في الرقم المرجعي') ||\n // error?.includes('Missing reference') ||\n // // error?.includes('بيانات متعارضة') ||\n // // error?.includes('Conflict detected') ||\n // error?.includes('بيانات مكررة') ||\n // error?.includes('Duplicate tax_number') ||\n // // error?.includes('فاتورة مكررة') ||\n // // error?.includes('Duplicate invoice') ||\n // error?.includes('تحقق من المبلغ') ||\n // error?.includes('Check amount') ||\n // error?.includes('مسودة') ||\n // error?.includes('Draft')\n // ) {\n // badgeClassName = 'badge badge-md badge-warning';\n // }\n if (errors_with_color && errors_with_color?.color === 'warning') {\n badgeClassName = 'badge badge-md badge-warning';\n }\n // if (error?.includes('مقبول') || error?.includes('Approved')) {\n // badgeClassName = 'badge badge-md badge-success';\n // }\n return (\n
\n {isLink && to ? (\n
{this.RedirectionController(this.fieldData)}
\n ) : (\n <>\n {!errors_with_color && (\n <>\n {/* // primary text */}\n \n {primaryText}\n
\n {/* // secondary text */}\n \n {secondaryText}\n \n \n )}\n {errors_with_color && {errors_with_color.text}}\n \n )}\n {show_errors_icon && (\n \n \n \n )}\n {show_processed_icon && (\n \n \n \n )}\n \n );\n }\n}\n\n// return (\n// <>\n// {!this.fieldData.error && (\n// {formatDate(this.fieldData.date)}\n// )}\n// {this.fieldData.error && (\n// {this.fieldData.error}\n// )}\n// \n// );\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { serialize } from 'object-to-formdata';\n\nimport { RootState } from '../../../setup/redux/Store';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { KTSVG } from '../../../_metronic/helpers';\nimport { CompanyModel } from '../companies/CompanyModel';\nimport { ClientsDataListModel } from './types/clientsList';\nimport { SerachFilters } from '../../shared/SearchFilters';\n\nimport * as TableRedux from '../../store/TableRedux';\nimport * as ClientsRedux from '../clients/store/ClientsRedux';\n// import * as RolesRedux from '../roles/store/RolesRedux';\n\nimport { TableData } from '../../shared/tables/classes/TableData';\nimport { TableSelection } from '../../shared/tables/classes/TableSelection';\nimport {\n // clientsTypesMap,\n ThirdPartyTypesMap,\n ThirdPartyTypeMap,\n AccountTypesMap,\n AccountTypeMap,\n} from '../../../_metronic/constants/general';\nimport { toSelectOption } from '../../../_metronic/helpers/functions/Select';\nimport { countires } from '../../../_metronic/constants/countries';\nimport { TableActions } from '../../shared/tables/classes';\nimport { ViewItem } from '../../shared/tables/actions/ViewItem';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { EditItemWithModal } from '../../shared/tables/actions/EditItemWithModal';\nimport { DeleteItem } from '../../shared/tables/actions/DeleteItem';\nimport { CancelItem } from '../../shared/tables/actions/CancelItem';\nimport { ApproveItem } from '../../shared/tables/actions/ApproveItem';\nimport { Button } from '../../shared/Button';\nimport { usePermissions } from '../../hooks/usePermissions';\n// import { LOCALE } from '../../../_metronic/helpers/typescript';\n\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { Portal } from '../../../_metronic/partials';\n\nimport { axiosInstance } from '../../../network/apis';\nimport { toast } from 'react-toastify';\nimport { CommonTable2 } from '../../shared/tables/Table2';\nimport { ErrorItemWarning } from '../../shared/tables/actions/ErrorItemWarning';\nimport { ErrorItemDanger } from '../../shared/tables/actions/ErrorItemDanger';\nimport { DisplayErrors } from '../../../utils/DisplayErrors';\nimport { TableDataPrimaryAndSecondary } from '../../shared/tables/classes/TableDataPrimaryAndSecondary';\n\nconst headerItems = [\n { id: 'Code', maxWidth: 80, width: 80 },\n { id: 'Name', maxWidth: 230, width: 230 },\n // { id: 'Name in AR', maxWidth: 230, width: 230 },\n { id: 'Third party type', maxWidth: 230, width: 230 },\n { id: 'Account type', maxWidth: 230, width: 230 },\n // { id: 'Type of Client', maxWidth: 240 },\n { id: 'Tax number', maxWidth: 230, width: 230 },\n { id: 'Country', maxWidth: 230, width: 230 },\n { id: 'Actions', maxWidth: 230, width: 230 },\n];\n\nconst TABLE_NAME = 'clients_list';\n\nexport const Clients: FC = () => {\n return (\n
\n \n
\n );\n};\n\nexport const ClientsTable: FC = () => {\n const { userCan } = usePermissions();\n const { locale } = useIntl();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n const [deleteItemId, setDeleteItemId] = useState(null);\n const [editItemId, setEditItemId] = useState(null);\n const [showModal, setShowModal] = useState(false);\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n const [thirdParty, setThirdParty] = useState(null);\n const [modalMessageID, setModalMessageID] = useState('');\n const [showErrorsConfirmationModal, setShowErrorsConfirmationModal] = useState(false);\n const [showWarningsConfirmationModal, setShowWarningsConfirmationModal] = useState(false);\n const [warningsConfirmation, setWarningsConfirmation] = useState([]);\n const [showModalButton, setShowModalButton] = useState(false);\n const [errorsConfirmation, setErrorsConfirmation] = useState([]);\n const [loading, setLoading] = useState(false);\n\n const { formatMessage } = useIntl();\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const clients: ClientsDataListModel = useSelector(\n (state) => state.USER_clients.Clients,\n shallowEqual\n ) as ClientsDataListModel;\n\n const ThirdPartyTypeOptions = useMemo(\n () =>\n Array.from(ThirdPartyTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n const AccountTypeOptions = useMemo(\n () =>\n Array.from(AccountTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* ----------------------- Getting roles for dropdown ----------------------- */\n // useEffect(() => {\n // if (companyDetails?.id && params.companySlug) {\n // dispatch(\n // RolesRedux.actions.getRoles({ companyId: companyDetails.id, params: { per_page: 0 } })\n // );\n // }\n // }, [dispatch, companyDetails?.id, params.companySlug]);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(ClientsRedux.actions.fulfillClients({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n ClientsRedux.actions.getClients({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n RequestData();\n }\n }, [table?.page, table?.pagination, params.companySlug, companyDetails.id]);\n\n const searchFilterHandler = () => {\n if (params.companySlug && companyDetails.id && table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (params.companySlug && companyDetails.id && table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n\n const toggleThirdParty = async (thirdParty: any) => {\n if (!thirdParty?.is_disabled) {\n await axiosInstance.post(`${companyDetails.id}/clients/${thirdParty.id}/disable`);\n toast.success(formatMessage({ id: 'Third party has been disabled successfully!' }));\n } else {\n await axiosInstance.post(`${companyDetails.id}/clients/${thirdParty.id}/enable`);\n toast.success(formatMessage({ id: 'Third party has been enabled successfully!' }));\n }\n RequestData();\n setShowModal(false);\n };\n\n const deleteThirdParty = async (values: { selectedIds: number[]; approve: number }) => {\n setLoading(true);\n try {\n let payload = {\n ids: values.selectedIds,\n approve: values.approve,\n };\n\n if (values.approve) {\n payload['approve'] = values.approve;\n }\n const formData = serialize(payload);\n formData.append('_method', 'DELETE');\n await axiosInstance.post(`/${companyDetails.id}/clients`, formData);\n toast.success(formatMessage({ id: 'Third party has been deleted successfully!' }) || '');\n setDeleteItemId && setDeleteItemId(null);\n dispatch(TableRedux.actions.clearSelection({ tableName: TABLE_NAME }));\n RequestData();\n } catch (err: any) {\n if (err && err.response.status === 422 && err.response.data.messages.length > 0) {\n setLoading(false);\n setShowWarningsConfirmationModal(true);\n setWarningsConfirmation(err.response.data.messages);\n setShowModalButton(err.response.data.can_approve);\n } else {\n DisplayErrors(err);\n }\n }\n setLoading(false);\n };\n\n const rowItems = clients?.data.map((client: any) => {\n // const clientsTypesMapTranslated = {\n // text: formatMessage({ id: `${clientsTypesMap.get(client.type)}` }) || '',\n // };\n const ThirdPartyTypesMapTranslated = {\n text: formatMessage({ id: `${ThirdPartyTypesMap.get(client.third_party_type)}` }) || '',\n // errors_with_color: client?.errors_with_color?.third_party_type,\n };\n const AccountTypesMapTranslated = {\n text: formatMessage({ id: `${AccountTypesMap.get(client.account_type)}` }) || '',\n // errors_with_color: client?.errors_with_color?.account_type,\n };\n\n const country = countires?.find((country: any) => client?.country?.value === country?.iso);\n return [\n new TableSelection({\n display: userCan('delete-client') || userCan('delete-third_party'),\n id: client.id,\n tableName: TABLE_NAME,\n }),\n new TableData({\n text: client.reference_number,\n // errors_with_color: client?.errors_with_color?.reference_number,\n }),\n new TableDataPrimaryAndSecondary({\n primaryText: `${client.short_name ?? ''}`,\n secondaryText: `${client.name[locale] ?? ''}`,\n // errors_with_color: client?.errors_with_color?.short_name,\\n ${client.name[locale] ?? ''\n }),\n // text: `${sale.invoice_number}`, error: sale?.errors?.invoice_number\n // new TableData(clientsTypesMapTranslated),\n new TableData(ThirdPartyTypesMapTranslated),\n new TableData(AccountTypesMapTranslated),\n new TableData({\n text: client.tax_number,\n // errors_with_color: client?.errors_with_color?.tax_number,\n }),\n\n new TableData({\n text: country ? `${country?.emoji} ${country?.name?.[locale]}` : '',\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n {userCan('view-third_party') && (\n \n history.push(\n `/c/${companyDetails.slug}/company-management/clients-and-vendors/${client.id}`\n )\n }\n />\n )}\n {/* {userCan('update-third_party') && (\n \n history.push(`/c/${companyDetails.slug}/company-management/clients-and-vendors/${client.id}/edit`)\n }\n />\n )} */}\n {userCan('update-third_party') &&\n (client?.can_update && !client?.show_warning ? (\n \n history.push(\n `/c/${companyDetails.slug}/company-management/clients-and-vendors/${client.id}/edit`\n )\n }\n />\n ) : (\n \n ))}\n {userCan('delete-third_party') && (\n RequestData()}\n />\n )}\n {userCan('disable-third_party') && !client?.is_disabled && (\n {\n setThirdParty(client);\n setModalMessageID(\n \"If you disabled this third party, other users won't be able to select it in sales/purchases records anymore as client/supplier\"\n );\n setShowModal(true);\n }}\n />\n )}\n {userCan('disable-third_party') && client?.is_disabled && (\n {\n setThirdParty(client);\n setModalMessageID(\n 'If you enabled this third party, other users will be able to select it in sales/purchases records as client/supplier'\n );\n setShowModal(true);\n }}\n />\n )}\n {userCan('view-third_party') && client?.errors?.warning && (\n {\n e.stopPropagation();\n e.preventDefault();\n setErrorsConfirmation(client?.errors?.warning?.map((error: any) => error?.text));\n setShowErrorsConfirmationModal(true);\n }}\n />\n )}\n {userCan('view-third_party') && client?.errors?.danger && (\n {\n e.stopPropagation();\n e.preventDefault();\n setErrorsConfirmation(client?.errors?.danger.map((error: any) => error?.text));\n setShowErrorsConfirmationModal(true);\n }}\n />\n )}\n
\n )\n ),\n ];\n });\n\n return (\n <>\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n {/* ------------------------ start Action button ------------------------ */}\n\n
\n {/* begin::Menu */}\n \n \n \n {/* begin::Menu 2 */}\n \n {/* begin::Menu item */}\n
\n
\n {$t('Actions')}{' '}\n
\n
\n {/* end::Menu item */}\n {/* begin::Menu separator */}\n
\n {/* end::Menu separator */}\n\n {/* begin::Menu item */}\n {(userCan('create-client') || userCan('create-third_party')) && (\n
\n {\n if (clients?.can_create) {\n history.push(\n `/c/${params.companySlug}/company-management/clients-and-vendors/add`\n );\n } else {\n setErrorsConfirmation([\n formatMessage({\n id: 'You have reached the maximum allowed for your current subscription. Contact support to upgrade.',\n }),\n ]);\n setShowErrorsConfirmationModal(true);\n }\n }}\n nameId='Add third party'\n />\n
\n )}\n {/* end::Menu item */}\n\n {/* begin::Menu item */}\n {(userCan('create-client') || userCan('create-third_party')) && (\n
\n {\n if (clients?.can_create) {\n history.push(\n `/c/${params.companySlug}/company-management/clients-and-vendors/import`\n );\n } else {\n setErrorsConfirmation([\n formatMessage({\n id: 'You have reached the maximum allowed for your current subscription. Contact support to upgrade.',\n }),\n ]);\n setShowErrorsConfirmationModal(true);\n }\n }}\n nameId='Import third_party'\n />\n
\n )}\n {/* end::Menu item */}\n\n {/* begin::Menu item */}\n {(userCan('view-client') || userCan('view-third_party')) && (\n
\n \n axiosInstance\n .get(`${companyDetails.id}/clients/export`, { responseType: 'blob' })\n .then((response) => {\n let file = new Blob([response.data], {\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n });\n let fileURL = URL.createObjectURL(file);\n\n // create tag dinamically\n let fileLink = document.createElement('a');\n fileLink.href = fileURL;\n\n // it forces the name of the downloaded file\n fileLink.download = 'Ahad_export-third-parties';\n\n // triggers the click event\n fileLink.click();\n })\n }\n nameId='Export third_party'\n />\n
\n )}\n {/* end::Menu item */}\n\n {/* begin::Menu item */}\n {(userCan('delete-client') || userCan('delete-third_party')) && (\n
\n {\n // setDeleteItemId &&\n // setDeleteItemId(table?.selection.includes(-1) ? table?.ids : table?.selection)\n deleteThirdParty({\n selectedIds: table?.selection.includes(-1) ? table?.ids : table?.selection,\n approve: 0,\n });\n }}\n >\n \n  \n \n\n {formatMessage({\n id: 'Delete',\n })}\n \n
\n )}\n {/* end::Menu item */}\n
\n {/* end::Menu 2 */}\n {/* end::Menu */}\n
\n\n {/* ------------------------ End Action button ------------------------ */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'country',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'country',\n })\n ),\n placeholderId: 'Country',\n options: countires?.map((country: any) => ({\n value: country.iso,\n label: country?.emoji + ' ' + country?.name?.[locale],\n })),\n },\n // {\n // type: 'dropdown',\n // queryTerm: 'type',\n // onChange: (value: any) =>\n // dispatch(\n // TableRedux.actions.updateQuery({\n // value: value,\n // tableName: TABLE_NAME,\n // queryTerm: 'type',\n // })\n // ),\n // placeholderId: 'Type of Client',\n // options: [\n // { value: '1', label: formatMessage({ id: 'Company' }) },\n // { value: '2', label: formatMessage({ id: 'Individual' }) },\n // ],\n // },\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'third_party_type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'third_party_type',\n })\n ),\n placeholderId: 'Third party type',\n options: ThirdPartyTypeOptions,\n },\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'account_type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'account_type',\n })\n ),\n placeholderId: 'Account type',\n options: AccountTypeOptions,\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n client.id) || []}\n meta={clients}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n \n {showModal && modalMessageID && (\n \n setShowModal(false)\n\n // history.push(location.pathname.replace('/invite-users', '/users'))\n }\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n \n
\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n toggleThirdParty(thirdParty);\n }}\n >\n \n \n \n \n
\n
\n {\n setShowModal(false);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------errors confirmation Modal----------------------- */}\n\n {showErrorsConfirmationModal && errorsConfirmation && (\n \n setShowErrorsConfirmationModal(false)}\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n {errorsConfirmation.length === 1 && (\n {errorsConfirmation[0]}\n )}\n {errorsConfirmation.length > 1 && (\n
    \n {errorsConfirmation.map((warning: any, index: any) => (\n
  1. \n {warning}\n
  2. \n ))}\n
\n )}\n
\n {/*
\n {errorsConfirmation}\n
*/}\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n // setApproveWarnings(0);\n setShowErrorsConfirmationModal(false);\n // formik.submitForm();\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------end errors confirmation Modal----------------------- */}\n\n {/* ---------------------warnings confirmation Modal----------------------- */}\n\n {showWarningsConfirmationModal && warningsConfirmation && (\n \n setShowWarningsConfirmationModal(false)\n\n // history.push(location.pathname.replace('/invite-users', '/users'))\n }\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n {warningsConfirmation.length === 1 && {warningsConfirmation[0]}}\n {warningsConfirmation.length > 1 && (\n
    \n {warningsConfirmation.map((warning: any, index: any) => (\n
  1. {warning}
  2. \n ))}\n
\n )}\n
\n {showModalButton && (\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowWarningsConfirmationModal(false);\n deleteThirdParty({\n selectedIds: table?.selection.includes(-1)\n ? table?.ids\n : table?.selection,\n approve: 1,\n });\n }}\n >\n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowWarningsConfirmationModal(false);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n )}\n \n \n
\n )}\n {/* ---------------------end warnings confirmation Modal----------------------- */}\n \n );\n};\n\nconst ClientsWrapper: FC = () => {\n usePermissions(['view-client', 'view-third_party']);\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Third party' })}\n \n
\n );\n};\n\nexport { ClientsWrapper };\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints, ID } from '../../../../_metronic/constants/paths';\n\nexport const companyTemplates = endpoints.companyTemplates;\nexport const customvariables = endpoints.customvariables;\n\nexport function getTemplateList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyTemplates(companyId), { params });\n}\n\nexport function getTemplateCustomVariableList({\n companyId,\n params,\n}: {\n companyId: ID;\n params?: any;\n}) {\n return axiosInstance.get(customvariables(companyId), { params });\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { SelectOption } from '../../../types/SelectOptions';\nimport { Search } from '../../../types/types';\nimport { User } from '../../users/types/usersList';\nimport { getTemplateList, getTemplateCustomVariableList } from './TemplatesCrud';\n\nexport enum ITemplatesActionTypes {\n GET_TEMPLATES = 'GET_TEMPLATES',\n GET_SINGLE_TEMPLATE = 'GET_SINGLE_TEMPLATE',\n FULLFULL_TEMPLATES = 'FULLFULL_TEMPLATES',\n FULLFULL_CURRENT_TEMPLATE = 'FULLFULL_CURRENT_TEMPLATE',\n ADD_SECTIONS = 'ADD_SECTIONS',\n GET_CUSTOM_VARIABLES = 'GET_CUSTOM_VARIABLES',\n // GET_SINGLE_CUSTOM_VARIABLE = 'GET_SINGLE_CUSTOM_VARIABLE',\n FULLFULL_CUSTOMVARIABLES = 'FULLFULL_CUSTOMVARIABLES',\n}\n\nexport interface IContentSectionVariable {\n id: string;\n type: 'text' | 'number';\n value: string | null | [];\n options?: SelectOption[];\n}\nexport interface IContentSection {\n type: string;\n value: string;\n variables: IContentSectionVariable[];\n hidden: boolean;\n}\nexport interface UnderConstructionTemplate {\n title: string;\n type: number;\n recipient_type: number;\n users: number[];\n clients?: number[] | any;\n variable_users: number[];\n variable_clients: number[];\n id: number | any;\n values:\n | {\n recipient_type: SelectOption;\n title_en: string;\n title_ar: string;\n type: number;\n users: number[];\n clients: number[] | [];\n }\n | any;\n editor?: {\n sections?: Array;\n variables?: Array;\n };\n sections?: Array;\n variables?: Array;\n reviewers?: Array;\n creators?: Array;\n signers?: Array;\n can_update?: boolean;\n has_content?: boolean;\n}\n\nconst initialTemplatesState: ITemplatesState = {\n templates: undefined,\n templateCustomVariables: undefined,\n underConstructionTemplate: undefined,\n};\n\nexport interface ITemplatesState {\n templates?: any;\n templateCustomVariables?: any;\n underConstructionTemplate?: UnderConstructionTemplate;\n sections?: IContentSection[] | [];\n variables?: string[];\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Templates', whitelist: ['UnderConstructionTemplate'] },\n (state: ITemplatesState = initialTemplatesState, action: ActionWithPayload) => {\n switch (action.type) {\n case ITemplatesActionTypes.FULLFULL_TEMPLATES:\n return { ...state, templates: action.payload?.templates };\n case ITemplatesActionTypes.FULLFULL_CURRENT_TEMPLATE:\n return { ...state, underConstructionTemplate: action.payload?.underConstructionTemplate };\n case ITemplatesActionTypes.ADD_SECTIONS:\n const underConstructionTemplate = {\n ...state.underConstructionTemplate,\n sections: action?.payload?.sections,\n variables: action?.payload?.variables,\n } as UnderConstructionTemplate;\n\n return {\n ...state,\n underConstructionTemplate: { ...underConstructionTemplate },\n };\n case ITemplatesActionTypes.FULLFULL_CUSTOMVARIABLES:\n return { ...state, templateCustomVariables: action.payload?.templateCustomVariables };\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n getTemplates: ({ companyId, params }: Search) => ({\n type: ITemplatesActionTypes.GET_TEMPLATES,\n payload: { companyId, params },\n }),\n fulfillTemplates: ({ templates }: ITemplatesState) => ({\n type: ITemplatesActionTypes.FULLFULL_TEMPLATES,\n payload: { templates },\n }),\n fulfillUnderConstructionTemplate: ({ underConstructionTemplate }: ITemplatesState) => ({\n type: ITemplatesActionTypes.FULLFULL_CURRENT_TEMPLATE,\n payload: { underConstructionTemplate },\n }),\n addSectionsToUnderConstructionTemplate: ({ sections, variables }: ITemplatesState) => ({\n type: ITemplatesActionTypes.ADD_SECTIONS,\n payload: { sections, variables },\n }),\n getCustomVariables: ({ companyId, params }: Search) => ({\n type: ITemplatesActionTypes.GET_CUSTOM_VARIABLES,\n payload: { companyId, params },\n }),\n fulfillCustomVariables: ({ templateCustomVariables }: ITemplatesState) => ({\n type: ITemplatesActionTypes.FULLFULL_CUSTOMVARIABLES,\n payload: { templateCustomVariables },\n }),\n};\n\nexport function* getTemplates(action: ActionWithPayload) {\n try {\n // Getting Templates request\n const { data } = yield getTemplateList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing Templates in store\n yield put(actions.fulfillTemplates({ templates: data }));\n } catch (error) {\n //\n }\n}\nexport function* getCustomVariables(action: ActionWithPayload) {\n try {\n // Getting Custom Variables request\n const { data } = yield getTemplateCustomVariableList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n // Storing Custom Variables in store\n yield put(actions.fulfillCustomVariables({ templateCustomVariables: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(ITemplatesActionTypes.GET_TEMPLATES, getTemplates);\n yield takeLatest(ITemplatesActionTypes.GET_CUSTOM_VARIABLES, getCustomVariables);\n}\n","export const commonValidations = {\n nameMinimum: 2,\n nameMaximum: 25,\n productCodeMinimum: 2,\n productCodeMaximum: 25,\n productPriceMaximum: 25,\n invoiceMinimum: 3,\n invoiceMaximum: 25,\n textMaximum: 255,\n textareaMinimum: 2,\n textareaMaximum: 300,\n passwordMinimum: 6,\n passwordMaximum: 255,\n descriptionMaximum: 2000,\n productNameMin: 3,\n productDescriptionMax: 255,\n taxNumberCharacters: 15,\n InvoiceNumberCharacters: 15,\n nationalIdCharacters: 10,\n nationalId: 10,\n commertialRegistrationCharacters: 10,\n unifiedNumberCharacters: 10,\n certificateNumber: 8,\n amountMaxmum: 15,\n reporterNotesMinimum: 2,\n reporterNotesMaximum: 2500,\n};\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints, ID } from '../../../../_metronic/constants/paths';\n\nexport const companyDocuments = endpoints.companyDocuments;\nexport const companyDocumentsToTakeAction = endpoints.companyDocumentToTakeAction;\nexport const companyunderReviewDocuments = endpoints.companyunderReviewDocuments;\nexport const createDocumentFromTemplateIdAPI = endpoints.cloneDocumentFromTemplate;\n\nexport function getDocumentList({ companyId, params }: { companyId: ID; params?: any }) {\n return axiosInstance.get(companyDocuments(companyId), { params });\n}\n\nexport function getDocumenToTakeActiontList({ params }: { params?: any }) {\n return axiosInstance.get(companyDocumentsToTakeAction, { params });\n}\n\nexport function getUnderReviewDocumentsRequest({\n companyId,\n params,\n}: {\n companyId: ID;\n params?: any;\n}) {\n return axiosInstance.get(companyunderReviewDocuments(companyId), { params });\n}\n\nexport function createDocumentFromTemplateIdRequest({\n companyId,\n templateId,\n title,\n}: {\n companyId: ID;\n templateId: ID;\n title: string;\n}) {\n return axiosInstance.post(createDocumentFromTemplateIdAPI({ companyId, templateId }), {\n title,\n });\n}\n","import {\n getDocumenToTakeActiontList,\n getDocumentList,\n getUnderReviewDocumentsRequest,\n} from './DocumentsCrud';\nimport { put, takeLatest } from 'redux-saga/effects';\n\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\nimport { ID } from '../../../../_metronic/constants/paths';\nimport { IDocument } from '../types/DocumentsModel';\nimport { Search } from '../../../types/types';\nimport { SelectOption } from '../../../types/SelectOptions';\nimport { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\n\nexport enum IDocumentsActionTypes {\n GET_DOCUMENTS = 'GET_DOCUMENTS',\n GET_DOCUMENTS_TO_TAKE_ACTION = 'GET_DOCUMENTS_TO_TAKE_ACTION',\n GET_UNDERREVIEW_DOCUMENTS = 'GET_UNDERREVIEW_DOCUMENTS',\n GET_SINGLE_DOCUMENT = 'GET_SINGLE_DOCUMENT',\n FULLFULL_DOCUMENTS = 'FULLFULL_DOCUMENTS',\n FULLFULL_CURRENT_DOCUMENT = 'FULLFULL_CURRENT_DOCUMENT',\n ADD_SECTIONS = 'ADD_SECTIONS',\n FULFILL_DOCUMENT_TO_TAKE_ACTION = 'FULFILL_DOCUMENT_TO_TAKE_ACTION',\n CREATE_DOCUMENT_FROM_TEMPLATE_ID = 'CREATE_DOCUMENT_FROM_TEMPLATE_ID',\n FULLFULL_DOCUMENTS_COMMENTS = 'FULLFULL_DOCUMENTS_COMMENTS',\n ADD_NEW_COMMENT = 'ADD_NEW_COMMENT',\n}\n\nexport type AvailableDocStatus = 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 /* | 6 */;\nexport interface IContentSection {\n type: string;\n value: string;\n variables: string[];\n}\n\nexport type DocumentEntryVariable = {\n id: string;\n type: 'text' | 'auto' | 'past_date' | 'number' | 'countries' | 'cities' | 'nationalities';\n value: any;\n has_initial: boolean;\n};\nexport interface UnderConstructionDocument {\n id: number;\n preview_link: string;\n title: string;\n reviewers: SelectOption[];\n viewers: SelectOption[];\n signers: SelectOption[];\n recipients: SelectOption[];\n second_party: SelectOption[];\n signers_list: SelectOption[];\n reviewers_list: SelectOption[];\n user: {\n active: boolean;\n companies_count: number;\n created_at: string;\n email: string;\n first_name: string;\n id: number;\n image: string;\n last_name: string;\n last_visit: null | string;\n name: string;\n phone: string | null;\n position: [];\n signatures: [];\n suspended_at: null | string;\n };\n recipients_list: SelectOption[];\n second_party_list: SelectOption[];\n variables: [DocumentEntryVariable[]];\n recipient_type: 1 | 2 | 3 | 4 | 5;\n type: number;\n is_confidential: boolean;\n status: AvailableDocStatus;\n can_add_comment?: boolean;\n can_edit: boolean;\n is_second_party?: boolean;\n can_sign?: boolean;\n version: number;\n}\n\nconst initialDocumentsState: IDocumentsState = {\n documents: undefined,\n underConstructionDocument: undefined,\n documentToTakeAction: undefined,\n comments: undefined,\n};\n\nexport interface IDocumentsState {\n documents?: any;\n underConstructionDocument?: UnderConstructionDocument;\n documentToTakeAction?: UnderConstructionDocument | IDocument;\n sections?: IContentSection[] | [];\n comments?: any;\n comment?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'Documents', whitelist: ['UnderConstructionDocument', 'documentToTakeAction'] },\n (state: IDocumentsState = initialDocumentsState, action: ActionWithPayload) => {\n switch (action.type) {\n case IDocumentsActionTypes.FULLFULL_DOCUMENTS_COMMENTS:\n return { ...state, comments: action.payload?.comments };\n case IDocumentsActionTypes.ADD_NEW_COMMENT:\n return { ...state, comments: [...state?.comments, action?.payload?.comment] };\n case IDocumentsActionTypes.FULLFULL_DOCUMENTS:\n return { ...state, documents: action.payload?.documents };\n case IDocumentsActionTypes.FULLFULL_CURRENT_DOCUMENT:\n return { ...state, underConstructionDocument: action.payload?.underConstructionDocument };\n case IDocumentsActionTypes.FULFILL_DOCUMENT_TO_TAKE_ACTION:\n return { ...state, documentToTakeAction: action.payload?.documentToTakeAction };\n case IDocumentsActionTypes.ADD_SECTIONS:\n const underConstructionDocument = {\n ...state.underConstructionDocument,\n sections: action?.payload?.sections,\n } as UnderConstructionDocument;\n\n return {\n ...state,\n underConstructionDocument: { ...underConstructionDocument },\n };\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n addNewComment: ({ comment }: any) => ({\n type: IDocumentsActionTypes.ADD_NEW_COMMENT,\n payload: { comment },\n }),\n getDocuments: ({ companyId, params }: Search) => ({\n type: IDocumentsActionTypes.GET_DOCUMENTS,\n payload: { companyId, params },\n }),\n getDocumentsToTakeAction: ({ params }: { params: any }) => ({\n type: IDocumentsActionTypes.GET_DOCUMENTS_TO_TAKE_ACTION,\n payload: { params },\n }),\n getUnderReviewDocuments: ({ companyId, params }: Search) => ({\n type: IDocumentsActionTypes.GET_UNDERREVIEW_DOCUMENTS,\n payload: { companyId, params },\n }),\n fulfillDocuments: ({ documents }: IDocumentsState) => ({\n type: IDocumentsActionTypes.FULLFULL_DOCUMENTS,\n payload: { documents },\n }),\n fulfillDocumentsComments: ({ comments }: any) => ({\n type: IDocumentsActionTypes.FULLFULL_DOCUMENTS_COMMENTS,\n payload: { comments },\n }),\n fulfillUnderConstructionDocument: ({ underConstructionDocument }: IDocumentsState) => ({\n type: IDocumentsActionTypes.FULLFULL_CURRENT_DOCUMENT,\n payload: { underConstructionDocument },\n }),\n fulfillDocumentToTakeAction: ({ documentToTakeAction }: IDocumentsState) => {\n return {\n type: IDocumentsActionTypes.FULFILL_DOCUMENT_TO_TAKE_ACTION,\n payload: { documentToTakeAction },\n };\n },\n addSectionsToUnderConstructionDocument: ({ sections }: IDocumentsState) => ({\n type: IDocumentsActionTypes.ADD_SECTIONS,\n payload: { sections },\n }),\n createDocumentFromTemplateId: ({\n templateId,\n companyId,\n title,\n }: {\n templateId: ID;\n companyId: ID;\n title: string;\n }) => ({\n type: IDocumentsActionTypes.CREATE_DOCUMENT_FROM_TEMPLATE_ID,\n payload: { templateId, companyId, title },\n }),\n};\n\nexport function* getDocuments(action: ActionWithPayload) {\n try {\n const { data } = yield getDocumentList({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n yield put(actions.fulfillDocuments({ documents: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getDocumentsToTakeActionRequest(action: ActionWithPayload) {\n try {\n const { data } = yield getDocumenToTakeActiontList({\n params: action.payload?.params,\n });\n yield put(actions.fulfillDocuments({ documents: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getUnderReviewDocuments(action: ActionWithPayload) {\n try {\n const { data } = yield getUnderReviewDocumentsRequest({\n companyId: action.payload?.companyId,\n params: action.payload?.params,\n });\n yield put(actions.fulfillDocuments({ documents: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IDocumentsActionTypes.GET_DOCUMENTS, getDocuments);\n yield takeLatest(\n IDocumentsActionTypes.GET_DOCUMENTS_TO_TAKE_ACTION,\n getDocumentsToTakeActionRequest\n );\n yield takeLatest(IDocumentsActionTypes.GET_UNDERREVIEW_DOCUMENTS, getUnderReviewDocuments);\n}\n","import { useFormik } from 'formik';\nimport { FC, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport * as Yup from 'yup';\n\nimport { RootState } from '../../../../setup';\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { commonValidations } from '../../../../_metronic/constants/GeneralValidations';\nimport { ID } from '../../../../_metronic/constants/paths';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { companySlugTo } from '../../../../_metronic/helpers/functions';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { Portal } from '../../../../_metronic/partials';\nimport { CompanyModel } from '../../../modules/companies/CompanyModel';\nimport { createDocumentFromTemplateIdRequest } from '../../../modules/documents/store/DocumentsCrud';\nimport * as DocumentsRedux from '../../../modules/documents/store/DocumentsRedux';\nimport { Input } from '../../Input';\nimport SaveCancelBtnsGroup from '../../SaveCancelBtnsGroup';\n\ntype Props = {\n templateId: ID;\n};\n\nexport const UseTemplateToCreateDocument: FC = ({ templateId }) => {\n const history = useHistory();\n const dispatch = useDispatch();\n const { formatMessage } = useIntl();\n const [loading, setLoading] = useState(false);\n const [selectedTemplateId, setSelectedTemplateId] = useState(null);\n const [createDocumentModalOpen, setCreateDocumentModalOpen] = useState(false);\n\n /* ----------------------- company details from store ----------------------- */\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const formik = useFormik({\n initialValues: { title: '' },\n validationSchema: Yup.object().shape({\n title: Yup.string()\n .min(\n commonValidations.nameMinimum,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: commonValidations.nameMinimum }\n )\n )\n .required(formatMessage({ id: 'This field is required' })),\n }),\n onSubmit: async (values, { setSubmitting }) => {\n setLoading(true);\n try {\n const companyId = companyDetails.id as ID;\n const response = await createDocumentFromTemplateIdRequest({\n companyId,\n templateId: selectedTemplateId as ID,\n title: values.title,\n });\n dispatch(\n DocumentsRedux.actions.fulfillUnderConstructionDocument({\n underConstructionDocument: response.data,\n })\n );\n toast.success(formatMessage({ id: 'Your document has been successfully created!' }));\n history.push(companySlugTo(companyDetails?.slug, `documents/update/${response.data.id}`));\n } catch (err: any) {\n DisplayErrors(err);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n\n return (\n <>\n {\n setSelectedTemplateId(templateId);\n setCreateDocumentModalOpen(true);\n }}\n >\n \n
\n {createDocumentModalOpen && (\n \n {\n setCreateDocumentModalOpen(false);\n setSelectedTemplateId(null);\n formik.resetForm();\n }}\n specialContainerClass='dialog-content-container-add-user'\n specialTitleFormat={}\n >\n \n
\n \n
\n {\n setCreateDocumentModalOpen(false);\n setSelectedTemplateId(null);\n formik.resetForm();\n }}\n />\n \n \n
\n )}\n \n );\n};\n","import { FC } from 'react';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const PreviewItemSettings: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\ntype Props = any;\n\nexport const PreviewItem: FC = ({ ...props }) => {\n return (\n \n \n \n );\n};\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport * as TableRedux from '../../store/TableRedux';\nimport * as TemplatesRedux from './store/TemplatesRedux';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { SerachFilters } from '../../shared/SearchFilters';\nimport { CommonTable } from '../../shared/tables/Table';\nimport { RootState } from '../../../setup/redux/Store';\nimport { CompanyModel } from '../companies/CompanyModel';\nimport { DateViewer, TableActions, TableData, TableSelection } from '../../shared/tables/classes';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { ITemplate, TemplatesDataListModel } from './types/TemplatesModel';\nimport { DocumentDirection, RecipientTypeMap } from '../../../_metronic/constants/general';\nimport { SelectOption } from '../../types/SelectOptions';\nimport { toSelectOption } from '../../../_metronic/helpers/functions/Select';\nimport { UseTemplateToCreateDocument } from '../../shared/tables/actions/UseTemplateToCreateDocument';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { PreviewItemSettings } from '../../shared/tables/actions/PreviewItemSettings';\nimport { PreviewItem } from '../../shared/tables/actions/PreviewItem';\n\nimport { Portal } from '../../../_metronic/partials';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\n\nconst TABLE_NAME = 'TEMPLATES_TABLE';\n\nconst headerItems = [\n { id: 'Template Title', maxWidth: 240, width: 230 },\n { id: 'Template Created By', maxWidth: 240, width: 230 },\n { id: 'Recipient type', maxWidth: 230, width: 230 },\n { id: 'Type of Template', maxWidth: 400, width: 400 },\n { id: 'Creation Date', maxWidth: 200, width: 200 },\n { id: 'Actions', maxWidth: 150, width: 150 },\n];\n\nexport const Templates: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const { locale } = useIntl();\n const params: any = useParams();\n\n const typesOptions = useMemo(\n () =>\n Array.from(RecipientTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n\n return (\n
\n {/* ------------------------- End Search and filters ------------------------- */}\n
\n {userCan('create-template') && (\n
\n {userCan('create-template') && (\n {\n history.push(`/c/${params.companySlug}/templates/create`);\n }}\n >\n \n \n )}\n
\n )}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n type: 'dropdown',\n queryTerm: 'type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'type',\n })\n ),\n placeholderId: 'Recipient type',\n options: [...DocumentDirection.values()].map((val: SelectOption) => ({\n value: val.value,\n label: $t(val.label),\n })),\n },\n {\n type: 'dropdown',\n queryTerm: 'recipient_type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'recipient_type',\n })\n ),\n placeholderId: 'Type of Template',\n options: typesOptions,\n },\n ]}\n />\n\n \n
\n );\n};\n\nexport const TemplatesTable: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const { formatMessage } = useIntl();\n const [previewEditModal, setPreviewEditModal] = useState();\n const params: any = useParams();\n // const [deleteItemId, setDeleteItemId] = useState(null);\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const templates: TemplatesDataListModel = useSelector(\n (state) => state.USER_templates.templates,\n shallowEqual\n ) as TemplatesDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(TemplatesRedux.actions.fulfillTemplates({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n TemplatesRedux.actions.getTemplates({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n RequestData();\n }\n }, [table?.page, table?.pagination, table?.query, params.companySlug, companyDetails.id]);\n\n const rowItems = templates?.data.map((template: ITemplate) => [\n new TableSelection({\n display: userCan('delete-template'),\n id: template.id,\n tableName: TABLE_NAME,\n }),\n new TableData({ text: template?.title }),\n new TableData({ text: template?.user?.name }),\n new TableData({ text: $t(DocumentDirection.get(template?.type)?.label || '') }),\n new TableData({ text: $t(RecipientTypeMap.get(template?.recipient_type)?.label || '') }),\n new DateViewer({ date: template.created_at }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n {userCan('view-document') && (\n \n window.open(\n template.preview_link,\n '_blank',\n 'toolbar=yes,scrollbars=yes,resizable=yes'\n )\n }\n />\n )}\n {userCan('update-template') && (\n {\n if (\n Object.entries(template.documents)\n .filter((type) => !['closed', 'expired'].includes(type[0]))\n .some((docs) => docs[1] > 0)\n ) {\n setPreviewEditModal(template);\n } else {\n history.push(`/c/${companyDetails.slug}/templates/update/${template.id}`);\n }\n }}\n />\n )}\n {userCan('update-template') && (\n {\n if (\n Object.entries(template.documents)\n .filter((type) => !['closed', 'expired'].includes(type[0]))\n .some((docs) => docs[1] > 0)\n ) {\n setPreviewEditModal(template);\n } else {\n history.push(\n `/c/${companyDetails.slug}/templates/preview-configurations/${template.id}`\n );\n }\n }}\n />\n )}\n {/* {userCan('delete-template') && (\n RequestData()}\n />\n )} */}\n {template.has_content && template.can_create && (\n \n )}\n
\n )\n ),\n ]);\n\n return (\n
\n {/*
*/}\n {/* {userCan('delete-template') && (\n RequestData()}\n />\n )} */}\n {/*
*/}\n template.id) || []}\n meta={templates}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n\n {previewEditModal && (\n \n setPreviewEditModal(null)}>\n <>\n

\n \n

\n
    \n {Object.entries(previewEditModal.documents)\n .filter((status) => !['closed', 'expired'].includes(status[0]))\n .map(([status, docCount]: any) => {\n return (\n
  • \n \n
  • \n );\n })}\n
\n\n {\n history.push(`/c/${companyDetails.slug}/templates/update/${previewEditModal.id}`);\n setPreviewEditModal(null);\n }}\n >\n {$t('Confirm')}\n \n setPreviewEditModal(null) /* Closes Modal */}\n >\n {$t('Cancel')}\n \n \n
\n
\n )}\n
\n );\n};\n\nconst TemplatesWrapper: FC = () => {\n usePermissions(['view-template', 'create-document']);\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Templates' })}\n \n
\n );\n};\n\nexport { TemplatesWrapper };\n","import { useMemo } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport * as TableRedux from '../../store/TableRedux';\nimport { SerachFilters } from '../../shared/SearchFilters';\nimport { RootState } from '../../../setup/redux/Store';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport {\n DocumentDirection,\n DocumentStatuses,\n RecipientTypeMap,\n} from '../../../_metronic/constants/general';\nimport { SelectOption } from '../../types/SelectOptions';\nimport { toSelectOption } from '../../../_metronic/helpers/functions/Select';\nimport { UsersDataListModel } from '../users/types/usersList';\n\nexport function SearchDocuments({ tableName }: { tableName: string }) {\n const { locale } = useIntl();\n\n const typesOptions = useMemo(\n () =>\n Array.from(RecipientTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n\n const documentsStatusOptions = useMemo(\n () =>\n Array.from(DocumentStatuses.values()).map((option) => ({\n label: $t(option.label),\n value: option.id,\n })),\n [locale]\n );\n\n const dispatch = useDispatch();\n const users: UsersDataListModel = useSelector(\n (state) => state.USER_users.Users,\n shallowEqual\n ) as UsersDataListModel;\n\n const usersOptions = useMemo(\n () => users?.data?.map((option: any) => ({ label: option.name, value: option.id })),\n [locale, users]\n );\n\n return (\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: tableName,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n type: 'dropdown',\n queryTerm: 'recipient_type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: tableName,\n queryTerm: 'recipient_type',\n })\n ),\n placeholderId: 'Type of Document',\n options: typesOptions,\n },\n {\n type: 'dropdown',\n queryTerm: 'status',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: tableName,\n queryTerm: 'status',\n })\n ),\n placeholderId: 'Document Status',\n options: documentsStatusOptions,\n },\n {\n type: 'dropdown',\n queryTerm: 'user',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: tableName,\n queryTerm: 'user',\n })\n ),\n placeholderId: 'Document Created By',\n options: usersOptions,\n },\n {\n type: 'dropdown',\n queryTerm: 'type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: tableName,\n queryTerm: 'type',\n })\n ),\n placeholderId: 'Recipient type',\n options: [...DocumentDirection.values()].map((val: SelectOption) => ({\n value: val.value,\n label: $t(val.label),\n })),\n },\n ]}\n />\n );\n}\n","import { FC, useEffect } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\n\nimport * as DocumentsRedux from './store/DocumentsRedux';\nimport * as UserRedux from '../../modules/users/store/UsersRedux';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { CommonTable } from '../../shared/tables/Table';\nimport { RootState } from '../../../setup/redux/Store';\nimport { CompanyModel } from '../companies/CompanyModel';\nimport {\n DateViewer,\n TableActions,\n TableData,\n TableSelection,\n TableStatus,\n} from '../../shared/tables/classes';\n\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { IDocument, DocumentsDataListModel } from './types/DocumentsModel';\nimport {\n DOCS_STATUS,\n DocumentDirection,\n DocumentStatuses,\n RecipientTypeMap,\n} from '../../../_metronic/constants/general';\nimport { SearchDocuments } from './SearchDocuments';\nimport { Badge } from '../../../_metronic/helpers/typescript/csssClasses';\nimport { ViewItem } from '../../shared/tables/actions/ViewItem';\n\nconst TABLE_NAME = 'DOCUMENTS_TABLE';\n\nconst headerItems = [\n { id: 'Document Title', maxWidth: 240, width: 230 },\n { id: 'Type of Document', maxWidth: 400, width: 400 },\n { id: 'Creation Date', maxWidth: 150, width: 150 },\n { id: 'Document Created By', maxWidth: 180, width: 180 },\n { id: 'Recipient type', maxWidth: 150, width: 150 },\n { id: 'Status', maxWidth: 150, width: 150 },\n { id: 'Actions', maxWidth: 100, width: 100 },\n];\n\nexport const Documents: FC = () => {\n const dispatch = useDispatch();\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n useEffect(() => {\n dispatch(\n UserRedux.actions.getUsers({\n companyId: companyDetails.id,\n params: {\n per_page: 0,\n },\n })\n );\n }, []);\n\n /* --------------------------------- Leaving useEffect --------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UserRedux.actions.fulfillUsers({}));\n };\n }, []);\n /* -------------------------------END Leaving useEffect -------------------------------- */\n\n return (\n
\n {SearchDocuments({ tableName: TABLE_NAME })}\n\n \n
\n );\n};\n\nexport const DocumentsTable: FC = () => {\n const { formatMessage } = useIntl();\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const params: any = useParams();\n // const [deleteItemId, setDeleteItemId] = useState(null);\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const documents: DocumentsDataListModel = useSelector(\n (state) => state.USER_documents.documents,\n shallowEqual\n ) as DocumentsDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(DocumentsRedux.actions.fulfillDocuments({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n DocumentsRedux.actions.getDocuments({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n RequestData();\n }\n }, [table?.page, table?.pagination, table?.query, params.companySlug, companyDetails.id]);\n\n const rowItems = documents?.data.map((document: IDocument) => [\n new TableSelection({\n display: userCan('delete-document'),\n id: document.id,\n tableName: TABLE_NAME,\n }),\n new TableData({ text: document?.title }),\n new TableData({ text: $t(RecipientTypeMap.get(document?.recipient_type)?.label || '') }),\n new DateViewer({ date: document.created_at }),\n new TableData({ text: document?.user?.name }),\n new TableData({ text: $t(DocumentDirection.get(document?.type)?.label || '') }),\n new TableStatus({\n statusId: formatMessage({ id: `${DocumentStatuses.get(document?.status)?.label}` }),\n badge: `${DocumentStatuses.get(document?.status)?.badge}` as Badge,\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n history.push(`/d/documents/${document.id}?slug=${companyDetails.slug}`)}\n />\n {/* Create document = update document in the back-end */}\n {userCan('create-document') &&\n\n ![DOCS_STATUS.CLOSED, DOCS_STATUS.EXPIRED].includes(document.status) && (\n \n history.push(`/c/${companyDetails.slug}/documents/update/${document.id}`)\n }\n />\n )}\n {/* {userCan('delete-document') && (\n RequestData()}\n />\n )} */}\n
\n )\n ),\n ]);\n\n return (\n
\n {/*
\n {userCan('delete-document') && (\n RequestData()}\n />\n )}\n
*/}\n document.id) || []}\n meta={documents}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n
\n );\n};\n\nconst DocumentsWrapper: FC = () => {\n usePermissions('view-document');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Documents' })}\n \n
\n );\n};\n\nexport { DocumentsWrapper };\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport { FC } from 'react';\r\nimport { FormattedMessage } from 'react-intl';\r\nimport { Field, ErrorMessage } from 'formik';\r\n\r\nimport { KTSVG } from '../../../../../_metronic/helpers';\r\n\r\nconst Step1ApproveOrReturn: FC = () => {\r\n return (\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {/* \r\n */}\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport { Step1ApproveOrReturn };\r\n","export const secondPartySignaturesNeeded = (type: number) => {\n // 'Need signtures from 2 side company side first'\n // 'Need signture from 2 side- Seconed party side first'\n // 'Need signture from one side- Seconed party only'\n return [1, 2, 4].includes(type);\n};\n\nexport const isReviewerNeeded = (type: number) => {\n // 'Need signtures from 2 side company side first'\n // 'Need signture from 2 side- Seconed party side first'\n // 'Need signture from one side- Seconed party only'\n // 'Need signture from one side- Company only';\n return [1, 2, 4, 3].includes(type);\n};\n\nexport const companySignatureOnlyNeeded = (type: number) => {\n // 'Need signture from one side- Company only';\n return [3].includes(type);\n};\n\nexport const companySideSignature = (type: number) => {\n // 'Need signture from one side- Company only';\n // 'No signtures required'\n return [3, 5].includes(type);\n};\n\nexport const companySignatureLast = (type: number) => {\n // 'Need signture from 2 side- Seconed party side first'\n return [2].includes(type);\n};\n\nexport const companySignatureNeeded = (type: number) => {\n return [1, 2, 3].includes(type);\n};\n\nexport const clientSideSignatureOnlyOrFirst = (type: number) => {\n // 'Need signture from 2 side- Seconed party side first'\n // 'Need signture from one side- Seconed party only'\n return [2, 4].includes(type);\n};\n","import { FC } from 'react';\r\nimport { Field } from 'formik';\r\nimport { FormattedMessage } from 'react-intl';\r\n\r\nimport { KTSVG } from '../../../../../_metronic/helpers';\r\nimport { FormatMessage } from '../../../../../_metronic/i18n/formatMessage';\r\nimport { usePermissions } from '../../../../hooks/usePermissions';\r\nimport {\r\n clientSideSignatureOnlyOrFirst,\r\n companySignatureNeeded,\r\n} from '../../../../../_metronic/helpers/functions/signatures';\r\nimport { IDocument } from '../../types/DocumentsModel';\r\n\r\ntype Props = {\r\n document: IDocument;\r\n};\r\n\r\nconst Step2SelectSigner: FC = ({ document }) => {\r\n const { userCan } = usePermissions();\r\n\r\n return (\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n\r\n
\r\n
\r\n {/* Sign and Send */}\r\n {userCan('sign-document') && companySignatureNeeded(document.type) && (\r\n \r\n )}\r\n\r\n {clientSideSignatureOnlyOrFirst(document.type) && userCan('approve-document') && (\r\n \r\n )}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport { Step2SelectSigner };\r\n","import { FC, useEffect, useState } from 'react';\r\nimport { FormattedMessage, useIntl } from 'react-intl';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { useHistory } from 'react-router-dom';\r\nimport { clientSideSignatureOnlyOrFirst } from '../../../../../_metronic/helpers/functions/signatures';\r\nimport { $t, FormatMessage } from '../../../../../_metronic/i18n/formatMessage';\r\nimport { axiosInstance } from '../../../../../network/apis';\r\nimport { RootState } from '../../../../../setup/redux/Store';\r\nimport { DisplayErrors } from '../../../../../utils/DisplayErrors';\r\nimport { ICompany } from '../../../../types/companies';\r\nimport { IDocument } from '../../types/DocumentsModel';\r\nimport { IApproveSignOrReturnDocument } from '../ApproveSignOrReturnDocumentStepper';\r\nimport { DOCS_STATUS, RECIPIENT_TYPES } from '../../../../../_metronic/constants/general';\r\nimport { Field } from 'formik';\r\nimport { UserModel } from '../../../auth/models/UserModel';\r\n\r\ntype Props = {\r\n values: IApproveSignOrReturnDocument;\r\n document: IDocument;\r\n setDocumentToApproveModal: Function;\r\n postApprove?: Function;\r\n};\r\n\r\nconst casesSuccessMessages: { [key: string]: any } = {\r\n 1: 'Document will be sent to the second party to sign',\r\n 2: 'This document is sent to second party',\r\n 3: 'Document will be sent to the recipients',\r\n 4: 'This document is sent to second party',\r\n 5: 'Document will be sent to the recipients',\r\n};\r\n\r\nconst Step3TakingAction: FC = ({\r\n values,\r\n document,\r\n setDocumentToApproveModal,\r\n postApprove,\r\n}) => {\r\n const { locale } = useIntl();\r\n const history = useHistory();\r\n\r\n useEffect(() => {\r\n if (\r\n clientSideSignatureOnlyOrFirst(document.recipient_type) &&\r\n document.status !== DOCS_STATUS.WAITING_FOR_COMPANY\r\n ) {\r\n handleSuccess();\r\n }\r\n }, [document]);\r\n\r\n const companyDetails: ICompany = useSelector(\r\n (state) => state?.USER_companies.companyDetails,\r\n shallowEqual\r\n ) as ICompany;\r\n\r\n const [signature, setSignature] = useState(null);\r\n const [success, setSuccess] = useState(false);\r\n\r\n const user: UserModel = useSelector(\r\n (state) => state.auth.user,\r\n shallowEqual\r\n ) as UserModel;\r\n\r\n const signatures = user?.signatures ? Object.values(user?.signatures).flat() : [];\r\n\r\n const handleSignAndSend = async () => {\r\n if (\r\n document.recipient_type ===\r\n RECIPIENT_TYPES['Need signture from 2 side- Seconed party side first'] &&\r\n document.status !== DOCS_STATUS.WAITING_FOR_COMPANY\r\n ) {\r\n handleSuccess();\r\n return;\r\n }\r\n\r\n try {\r\n await axiosInstance.post(`${companyDetails.id}/signers/documents/${document.id}/attach`, {\r\n signature_id: signature,\r\n });\r\n postApprove && postApprove();\r\n handleSuccess();\r\n } catch (error) {\r\n DisplayErrors(error);\r\n }\r\n };\r\n\r\n const handleSuccess = () => {\r\n setSuccess(true);\r\n setSignature(null);\r\n };\r\n\r\n return (\r\n
\r\n {!success && values.step2Selection === 'sign_and_send' && (\r\n
\r\n
\r\n {Object.keys(user.signatures)?.length === 0 && (\r\n <>\r\n {$t('Please add a signature to your profile')}\r\n
\r\n history.push('/user-profile/edit')}\r\n >\r\n {$t('Visit Profile')}\r\n \r\n setDocumentToApproveModal(null)}\r\n >\r\n {$t('Cancel')}\r\n \r\n
\r\n \r\n )}\r\n {signatures?.map((sig: any, index: number) => (\r\n
\r\n setSignature(sig.id)} // change index to id when it's ready from backend\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n ))}\r\n
\r\n {signature !== null && (\r\n
\r\n
\r\n {\r\n e.preventDefault();\r\n handleSignAndSend();\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n )}\r\n\r\n {success && (\r\n <>\r\n \r\n
\r\n \r\n\r\n
\r\n {document.status === DOCS_STATUS.WAITING_FOR_COMPANY ? (\r\n \r\n ) : (\r\n <>\r\n {$t(casesSuccessMessages[document.recipient_type]) ||\r\n $t('Proccess has been completed')}\r\n \r\n )}\r\n
\r\n {\r\n e.preventDefault();\r\n setDocumentToApproveModal(null);\r\n }}\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport { Step3TakingAction };\r\n","import * as Yup from 'yup';\r\n\r\ntype step2Selection = 'sign_and_send' | 'select_a_signer' | 'send_to_client' | '';\r\n\r\nexport interface IApproveSignOrReturnDocument {\r\n approvement: 'approve' | 'returnToDocumentCreator';\r\n step2Selection: step2Selection;\r\n signature: any;\r\n}\r\n\r\nconst ApproveSignOrReturnDocumentStepperSchemas = [\r\n Yup.object({\r\n approvement: Yup.string().required(),\r\n }),\r\n Yup.object({\r\n step2Selection: Yup.string().required(),\r\n }),\r\n];\r\n\r\nconst inits: IApproveSignOrReturnDocument = {\r\n approvement: 'approve',\r\n step2Selection: '',\r\n signature: '',\r\n};\r\n\r\nexport { ApproveSignOrReturnDocumentStepperSchemas, inits };\r\n","import { useLocation } from 'react-router-dom';\n\nexport function useQuerySearch() {\n const location = useLocation();\n return new URLSearchParams(location.search);\n}\n","import { FC, useEffect, useRef, useState } from 'react';\r\nimport { Formik, Form, FormikValues } from 'formik';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { FormattedMessage, useIntl } from 'react-intl';\r\n\r\nimport { Step1ApproveOrReturn } from './steps/Step1ApproveOrReturn';\r\nimport { Step2SelectSigner } from './steps/Step2SelectSigner';\r\nimport { Step3TakingAction } from './steps/Step3TakingAction';\r\nimport { StepperComponent } from '../../../../_metronic/assets/ts/components';\r\nimport { IDocument } from '../types/DocumentsModel';\r\nimport { axiosInstance } from '../../../../network/apis';\r\nimport { CompanyModel } from '../../companies/CompanyModel';\r\nimport { RootState } from '../../../../setup';\r\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\r\nimport {\r\n IApproveSignOrReturnDocument,\r\n ApproveSignOrReturnDocumentStepperSchemas,\r\n inits,\r\n} from './ApproveSignOrReturnDocumentStepper';\r\nimport { clientSideSignatureOnlyOrFirst } from '../../../../_metronic/helpers/functions/signatures';\r\nimport { DOCS_STATUS, RECIPIENT_TYPES } from '../../../../_metronic/constants/general';\r\nimport { useQuerySearch } from '../../../hooks/useQuerySearch/useQuerySearch';\r\n\r\ntype Props = {\r\n returnToDocumentCreatorAction: Function;\r\n setDocumentToApproveModal: Function;\r\n document: IDocument;\r\n postApprove?: Function;\r\n};\r\n\r\nconst DocumentApproval: FC = ({\r\n returnToDocumentCreatorAction,\r\n document,\r\n setDocumentToApproveModal,\r\n postApprove,\r\n}) => {\r\n const { locale } = useIntl();\r\n const query: any = useQuerySearch();\r\n const companyDetails: CompanyModel = useSelector(\r\n (state) => state?.USER_companies.companyDetails,\r\n shallowEqual\r\n ) as CompanyModel;\r\n let slug = query.get('slug');\r\n\r\n const stepperRef = useRef(null);\r\n const stepper = useRef(null);\r\n const [currentSchema, setCurrentSchema] = useState(ApproveSignOrReturnDocumentStepperSchemas[0]);\r\n const [initValues] = useState(inits);\r\n\r\n const loadStepper = () => {\r\n stepper.current = StepperComponent.createInsance(stepperRef.current as HTMLDivElement);\r\n if (\r\n document.status === DOCS_STATUS.APPROVE ||\r\n document.recipient_type === RECIPIENT_TYPES['No signtures required'] ||\r\n (document.recipient_type ===\r\n RECIPIENT_TYPES['Need signture from 2 side- Seconed party side first'] &&\r\n document.status === DOCS_STATUS.WAITING_FOR_COMPANY)\r\n ) {\r\n stepper?.current?.goNext();\r\n setCurrentSchema(ApproveSignOrReturnDocumentStepperSchemas[1]);\r\n }\r\n };\r\n\r\n const handleApproveOrReturn = (approvement: 'returnToDocumentCreator' | 'approve') => {\r\n const approveOrReturn = {\r\n returnToDocumentCreator: () => {\r\n returnToDocumentCreatorAction(document.id);\r\n setDocumentToApproveModal(null);\r\n },\r\n approve: async () => {\r\n try {\r\n await axiosInstance.post(\r\n slug\r\n ? `/${slug}/reviewers/documents/${document.id}/approve`\r\n : `/${companyDetails.id}/reviewers/documents/${document.id}/approve`\r\n // `/${companyDetails.id}/reviewers/documents/${document.id}/approve`\r\n );\r\n postApprove && postApprove();\r\n } catch (error) {\r\n DisplayErrors(error);\r\n }\r\n },\r\n };\r\n return approveOrReturn[approvement]();\r\n };\r\n\r\n const submitStep = async (values: IApproveSignOrReturnDocument, actions: FormikValues) => {\r\n if (!stepper.current) {\r\n return;\r\n }\r\n\r\n setCurrentSchema(ApproveSignOrReturnDocumentStepperSchemas[stepper.current.currentStepIndex]);\r\n\r\n if (stepper.current.currentStepIndex !== stepper.current.totatStepsNumber) {\r\n if (stepper.current.currentStepIndex === 1) {\r\n const approve = await handleApproveOrReturn(values.approvement);\r\n if (approve === null) return;\r\n }\r\n\r\n stepper.current.goNext();\r\n } else {\r\n stepper.current.goto(1);\r\n actions.resetForm();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (!stepperRef.current) {\r\n return;\r\n }\r\n\r\n loadStepper();\r\n }, [stepperRef]);\r\n\r\n const needsSignature = () => {\r\n return (\r\n !clientSideSignatureOnlyOrFirst(document.recipient_type) ||\r\n document.status === DOCS_STATUS.WAITING_FOR_COMPANY\r\n );\r\n };\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n 1\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n\r\n {needsSignature() && (\r\n
\r\n
\r\n\r\n
\r\n \r\n 2\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n )}\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n 3\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n {(formik) => {\r\n return (\r\n
\r\n
\r\n {/* Step1 */}\r\n \r\n
\r\n {needsSignature() && (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n {(!stepper.current?.currentStepIndex ||\r\n stepper.current?.currentStepIndex !== stepper.current?.totatStepsNumber) && (\r\n \r\n \r\n {stepper.current?.currentStepIndex !==\r\n stepper.current?.totatStepsNumber! - 1 && (\r\n \r\n )}\r\n {stepper.current?.currentStepIndex ===\r\n stepper.current?.totatStepsNumber! - 1 && (\r\n \r\n )}\r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n );\r\n }}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport { DocumentApproval };\r\n","import { FC, useEffect, useRef, useState } from 'react';\r\nimport { Formik, Form, FormikValues } from 'formik';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { FormattedMessage, useIntl } from 'react-intl';\r\n\r\nimport { Step1ApproveOrReturn } from './steps/Step1ApproveOrReturn';\r\nimport { StepperComponent } from '../../../../_metronic/assets/ts/components';\r\nimport { IDocument } from '../types/DocumentsModel';\r\nimport { axiosInstance } from '../../../../network/apis';\r\nimport { CompanyModel } from '../../companies/CompanyModel';\r\nimport { RootState } from '../../../../setup';\r\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\r\nimport {\r\n IApproveSignOrReturnDocument,\r\n ApproveSignOrReturnDocumentStepperSchemas,\r\n inits,\r\n} from './ApproveSignOrReturnDocumentStepper';\r\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\r\nimport { useQuerySearch } from '../../../hooks/useQuerySearch/useQuerySearch';\r\n\r\ntype Props = {\r\n returnToDocumentCreator: Function;\r\n setDocumentToApproveModal: Function;\r\n document: IDocument;\r\n postApprove?: Function;\r\n};\r\n\r\nconst DocumentReviewOnly: FC = ({\r\n returnToDocumentCreator,\r\n document,\r\n setDocumentToApproveModal,\r\n postApprove,\r\n}) => {\r\n const { locale } = useIntl();\r\n const query: any = useQuerySearch();\r\n const companyDetails: CompanyModel = useSelector(\r\n (state) => state?.USER_companies.companyDetails,\r\n shallowEqual\r\n ) as CompanyModel;\r\n let slug = query.get('slug');\r\n\r\n const stepperRef = useRef(null);\r\n const stepper = useRef(null);\r\n const [currentSchema, setCurrentSchema] = useState(ApproveSignOrReturnDocumentStepperSchemas[0]);\r\n const [initValues] = useState(inits);\r\n\r\n const loadStepper = () => {\r\n stepper.current = StepperComponent.createInsance(stepperRef.current as HTMLDivElement);\r\n if (document.status === 5) {\r\n stepper?.current?.goNext();\r\n setCurrentSchema(ApproveSignOrReturnDocumentStepperSchemas[1]);\r\n }\r\n };\r\n\r\n const handleApproveOrReturn = (approvement: 'returnToDocumentCreator' | 'approve') => {\r\n const approveOrReturn = {\r\n returnToDocumentCreator: () => {\r\n returnToDocumentCreator(document.id);\r\n setDocumentToApproveModal(null);\r\n postApprove && postApprove();\r\n },\r\n approve: async () => {\r\n try {\r\n await axiosInstance.post(\r\n slug\r\n ? `/${slug}/reviewers/documents/${document.id}/approve`\r\n : `/${companyDetails.id}/reviewers/documents/${document.id}/approve`\r\n // `/${companyDetails.id}/reviewers/documents/${document.id}/approve`\r\n );\r\n postApprove && postApprove();\r\n } catch (error) {\r\n DisplayErrors(error);\r\n }\r\n },\r\n };\r\n return approveOrReturn[approvement]();\r\n };\r\n\r\n const submitStep = async (values: IApproveSignOrReturnDocument, actions: FormikValues) => {\r\n if (!stepper.current) {\r\n return;\r\n }\r\n\r\n setCurrentSchema(ApproveSignOrReturnDocumentStepperSchemas[stepper.current.currentStepIndex]);\r\n\r\n if (stepper.current.currentStepIndex !== stepper.current.totatStepsNumber) {\r\n if (stepper.current.currentStepIndex === 1) {\r\n const approve = await handleApproveOrReturn(values.approvement);\r\n if (approve === null) return;\r\n }\r\n\r\n stepper.current.goNext();\r\n } else {\r\n stepper.current.goto(1);\r\n actions.resetForm();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (!stepperRef.current) {\r\n return;\r\n }\r\n\r\n loadStepper();\r\n }, [stepperRef]);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n 1\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n 2\r\n
\r\n\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n {(formik) => {\r\n return (\r\n
\r\n
\r\n {/* Step1 */}\r\n \r\n
\r\n\r\n
\r\n <>\r\n \r\n
\r\n \r\n
{$t('Proccess has been completed')}
\r\n {\r\n e.preventDefault();\r\n setDocumentToApproveModal(null);\r\n }}\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n {stepper.current?.currentStepIndex !== stepper.current?.totatStepsNumber && (\r\n \r\n \r\n {stepper.current?.currentStepIndex !==\r\n stepper.current?.totatStepsNumber! - 1 && (\r\n \r\n )}\r\n {stepper.current?.currentStepIndex ===\r\n stepper.current?.totatStepsNumber! - 1 && (\r\n \r\n )}\r\n \r\n \r\n )}\r\n
\r\n
\r\n \r\n );\r\n }}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport { DocumentReviewOnly };\r\n","import { FC, useEffect, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { toast } from 'react-toastify';\n\nimport * as DocumentsRedux from './store/DocumentsRedux';\nimport * as UserRedux from '../../modules/users/store/UsersRedux';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\n\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { CommonTable } from '../../shared/tables/Table';\nimport { RootState } from '../../../setup/redux/Store';\nimport { CompanyModel } from '../companies/CompanyModel';\nimport {\n DateViewer,\n TableActions,\n TableData,\n TableSelection,\n TableStatus,\n} from '../../shared/tables/classes';\n\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { EditItem } from '../../shared/tables/actions/EditItem';\nimport { IDocument, DocumentsDataListModel } from './types/DocumentsModel';\nimport {\n DOCS_STATUS,\n DocumentDirection,\n DocumentStatuses,\n RecipientTypeMap,\n RECIPIENT_TYPES,\n} from '../../../_metronic/constants/general';\nimport { SearchDocuments } from './SearchDocuments';\nimport { Badge } from '../../../_metronic/helpers/typescript/csssClasses';\nimport { PreviewItem } from '../../shared/tables/actions/PreviewItem';\nimport { KTSVG } from '../../../_metronic/helpers';\nimport { axiosInstance } from '../../../network/apis';\nimport { DocumentApproval } from './DocumentProcess/DocumentApproveAndSign';\nimport { DocumentReviewOnly } from './DocumentProcess/DocumentReviewOnly';\nimport { Portal } from '../../../_metronic/partials';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { ViewItem } from '../../shared/tables/actions/ViewItem';\n\nexport const TABLE_NAME = 'TEMPLATES_TABLE';\n\nconst headerItems = [\n { id: 'Document Title', maxWidth: 400, width: 230 },\n { id: 'Type of Document', maxWidth: 400, width: 400 },\n { id: 'Creation Date', maxWidth: 200, width: 200 },\n { id: 'Document Created By', maxWidth: 240, width: 230 },\n { id: 'Recipient type', maxWidth: 400, width: 230 },\n { id: 'Status', maxWidth: 400, width: 230 },\n { id: 'Actions', maxWidth: 400, width: 300 },\n];\n\nexport const DocumentsToReview: FC = () => {\n const dispatch = useDispatch();\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n useEffect(() => {\n dispatch(\n UserRedux.actions.getUsers({\n companyId: companyDetails.id,\n params: {\n per_page: 0,\n },\n })\n );\n }, []);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UserRedux.actions.fulfillUsers({}));\n };\n }, []);\n\n return (\n
\n {SearchDocuments({ tableName: TABLE_NAME })}\n \n
\n );\n};\n\nexport const DocumentsToReviewTable: FC = () => {\n const { userCan, userCanNot } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const { formatMessage } = useIntl();\n const params: any = useParams();\n const [documentToApproveModal, setDocumentToApproveModal] = useState(null);\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const documents: DocumentsDataListModel = useSelector(\n (state) => state.USER_documents.documents,\n shallowEqual\n ) as DocumentsDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(DocumentsRedux.actions.fulfillDocuments({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function requestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n DocumentsRedux.actions.getUnderReviewDocuments({\n companyId: companyDetails.id,\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (!documentToApproveModal) {\n requestData();\n }\n }, [documentToApproveModal]);\n\n useEffect(() => {\n if (params.companySlug && companyDetails.id && table?.page) {\n requestData();\n }\n }, [table?.page, table?.pagination, table?.query, params.companySlug, companyDetails.id]);\n\n const rowItems = documents?.data.map((document: IDocument) => [\n new TableSelection({ display: false, id: document.id, tableName: TABLE_NAME }),\n new TableData({ text: document?.title }),\n new TableData({ text: $t(RecipientTypeMap.get(document?.recipient_type)?.label || '') }),\n new DateViewer({ date: document.created_at }),\n new TableData({ text: document?.user?.name }),\n new TableData({ text: $t(DocumentDirection.get(document?.type)?.label || '') }),\n new TableStatus({\n statusId: formatMessage({ id: `${DocumentStatuses.get(document?.status)?.label}` }),\n badge: `${DocumentStatuses.get(document?.status)?.badge}` as Badge,\n }),\n new TableActions(\n (\n /* ---------- Don't Display actions if user is the current app user or is companyAdmin --------- */\n
\n {/* Create document = update document in the back-end */}\n {userCan('create-document') && document.can_edit && (\n \n history.push(`/c/${companyDetails.slug}/documents/update/${document.id}`)\n }\n />\n )}\n {userCan('view-document') && (\n \n window.open(\n document.preview_link,\n '_blank',\n 'toolbar=yes,scrollbars=yes,resizable=yes'\n )\n }\n />\n )}\n\n history.push(`/d/documents/${document.id}`)}\n />\n\n {(document.status === DOCS_STATUS.UNDER_REVIEW ||\n (document.status === DOCS_STATUS.WAITING_FOR_COMPANY &&\n document.can_sign &&\n RECIPIENT_TYPES['Need signture from 2 side- Seconed party side first'] ===\n document.recipient_type) ||\n (document.status === DOCS_STATUS.APPROVE && document.can_sign) ||\n (document.status === DOCS_STATUS.WAITING_FOR_SECOND_PARTY &&\n document.is_second_party)) && (\n setDocumentToApproveModal(document)}\n className='btn btn-icon btn-bg-light btn-active-color-primary btn-sm me-1'\n >\n \n \n )}\n
\n )\n ),\n ]);\n\n const returnToDocumentCreator = async (documentId: number) => {\n try {\n await axiosInstance.post(`/${companyDetails.id}/reviewers/documents/${documentId}`);\n requestData();\n toast.success($t('Document has been sent to creator successfully'));\n } catch (error) {}\n };\n\n return (\n
\n
\n document.id) || []}\n meta={documents}\n headerItems={headerItems}\n rowItems={rowItems}\n />\n\n {documentToApproveModal && userCan('review-document') && userCanNot('sign-document') && (\n \n setDocumentToApproveModal(null)}\n >\n \n \n \n )}\n\n {documentToApproveModal && userCan('sign-document') && (\n \n setDocumentToApproveModal(null)}\n >\n \n \n \n )}\n
\n );\n};\n\nconst DocumentsToReviewWrapper: FC = () => {\n usePermissions('view-document');\n const { formatMessage } = useIntl();\n return (\n
\n \n {`${formatMessage({ id: 'Documents' })} ${formatMessage({\n id: 'to review/sign',\n })}`}\n \n \n
\n );\n};\n\nexport { DocumentsToReviewWrapper };\n","import Cookies from 'js-cookie';\nimport moment from 'moment';\n\nexport function delayToCookies(seconds: number = 60, name: string): void {\n const nowPlusTime = moment().add(seconds, 'seconds');\n Cookies.set(name, nowPlusTime);\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useEffect, useState } from 'react';\nimport moment from 'moment';\nimport { FormattedMessage } from 'react-intl';\nimport Cookies from 'js-cookie';\n\nimport { toAbsoluteUrl } from '../../../_metronic/helpers';\nimport * as auth from '../../../app/modules/auth/store/AuthRedux';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { delayToCookies } from '../../../utils/cookies';\nimport { axiosInstance } from '../../../network/apis';\nimport { UserModel } from '../../modules/auth/models/UserModel';\nimport { PrivateRoutes } from '../../../_metronic/constants/ROUTES';\nimport { useHistory } from 'react-router-dom';\nimport { RootState } from '../../../setup/redux/Store';\n\nexport const VerificationPage: React.FC = () => {\n const dispatch = useDispatch();\n const history = useHistory();\n const logout = () => {\n dispatch(auth.actions.logout());\n };\n\n const user: UserModel = useSelector(\n (state) => state.auth.user,\n shallowEqual\n ) as UserModel;\n\n useEffect(() => {\n if (user.active) history.push(PrivateRoutes.Homepage);\n }, [user, history]);\n\n const [time, setTime] = useState(0);\n const [resendDisabled, setResendDisabled] = useState(0);\n\n useEffect(() => {\n if (moment(Cookies.get('verifyAfter')).isAfter(moment())) {\n const diff = moment(Cookies.get('verifyAfter')).diff(moment());\n setTime(Math.random());\n setResendDisabled(diff);\n } else {\n Cookies.remove('verifyAfter');\n }\n }, [resendDisabled, time]);\n\n window.addEventListener('load', (ev) => {\n ev.preventDefault();\n if (localStorage.getItem('rememberUser') !== 'true') {\n if (performance.navigation.type === 1) {\n return;\n }\n console.info('User did not select remember me');\n dispatch(auth.actions.logout());\n localStorage.removeItem('presist:user');\n localStorage.removeItem('rememberUser');\n }\n return;\n });\n\n return (\n
\n \n
\n \n Logo\n \n
\n
\n
\n
\n

\n \n

\n
\n \n 5}\n onClick={async () => {\n try {\n axiosInstance.post('/send-verify-email');\n setTime(60);\n delayToCookies(60, 'verifyAfter');\n } catch (err) {\n //\n }\n }}\n className='btn btn-secondary'\n >\n {' '}\n {Math.ceil(resendDisabled / 1000) > 1 && (\n <>\n {Math.ceil(resendDisabled / 1000)}\n \n \n )}{' '}\n \n
\n

{resendDisabled > 5 && }

\n
\n \n \n );\n};\n","import React, { FC } from 'react';\nimport { Route } from 'react-router-dom';\n\nexport const RouteWithLayout: FC<{\n layout: FC;\n component: FC;\n [props: string]: any;\n}> = ({ layout, component, ...rest }) => {\n return (\n \n React.createElement(layout, props, React.createElement(component, props))\n }\n />\n );\n};\n","import { FC, useEffect } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { toast } from 'react-toastify';\n\nimport { RootState } from '../../../setup';\nimport { PrivateRoutes } from '../../../_metronic/constants/ROUTES';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { ICompany } from '../../types/companies';\n\nconst NewCompanyAdded: FC = () => {\n const { formatMessage } = useIntl();\n const history = useHistory();\n\n const lastAddedCompany: ICompany = useSelector(\n (state) => state.USER_companies.lastAddedCompany,\n shallowEqual\n ) as ICompany;\n\n const currentCompany: ICompany = useSelector(\n (state) => state?.current?.current?.company,\n shallowEqual\n ) as ICompany;\n\n useEffect(() => {\n if (!lastAddedCompany?.id) {\n toast.info(\n formatMessage({\n id: 'No company added this session, you will be redirected to companies list',\n })\n );\n history.push(PrivateRoutes.Companies);\n }\n });\n\n return lastAddedCompany?.id ? (\n \n \n \n

\n {lastAddedCompany.slug}\n

\n
{$t(lastAddedCompany.type)}
\n history.push(`/c/${lastAddedCompany.slug}/settings/companydetails`)}\n disabled={currentCompany?.id ? false : true}\n >\n \n \n \n \n ) : null;\n};\n\nconst NewCompanyAddedWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'New Company Added' })}\n \n
\n );\n};\n\nexport { NewCompanyAddedWrapper };\n","import { companyStatuses } from '../../app/types/companies';\nimport { userStatus } from '../../app/types/user';\nimport { Badge } from '../helpers/typescript/csssClasses';\nimport { ID } from './paths';\n\nconst companyStatusesColors: [companyStatuses, Badge][] = [\n ['New Company', 'badge-blueGrey'],\n ['Approved', 'badge-success'],\n ['Needed to edit', 'badge-warning'],\n ['Under Review', 'badge-powderBlue'],\n ['Deletion requested', 'badge-danger'],\n ['Deleted', 'badge-danger'],\n];\n\nexport const companyStatusColorsMap = new Map(companyStatusesColors);\n\ntype StatusColor = { labelId: userStatus; badge: Badge };\n\nconst userStatusColors: [id: ID, statusColor: StatusColor][] = [\n [1, { labelId: 'Active', badge: 'badge-outline-success' }],\n [2, { labelId: 'Suspended', badge: 'badge-outline-blueGrey' }],\n [0, { labelId: 'Non active', badge: 'badge-outline-danger' }],\n];\n\nexport const userStatusColorsMap = new Map(userStatusColors);\n\ntype reportStatuses = string;\n\nconst reportStatusesColors: [reportStatuses, Badge][] = [\n ['Approved', 'badge-success'],\n ['Draft', 'badge-warning'],\n ['Canceled', 'badge-danger'],\n ['مقبول', 'badge-success'],\n ['مسودة', 'badge-warning'],\n ['ملغي', 'badge-danger'],\n];\n\nexport const reportStatusColorsMap = new Map(reportStatusesColors);\n","import clsx from 'clsx';\nimport { FC, useState } from 'react';\nimport { FormattedMessage } from 'react-intl';\n\ntype Props = {\n formik?: any;\n labelId?: string;\n withValidation?: boolean;\n name: string;\n type?: string;\n [something: string]: any;\n};\n\nexport const TextArea: FC = ({ labelId, formik, withValidation, name, type, ...props }) => {\n const [currentType, setCurrentType] = useState(type || 'text');\n\n const toggleState = () => setCurrentType(currentType === 'password' ? 'text' : 'password');\n\n return (\n <>\n {labelId && (\n \n \n \n )}\n \n {type === 'password' && (\n toggleState()}\n >\n )}\n\n {formik?.touched?.[name] && formik?.errors?.[name] && (\n
\n \n {formik?.errors?.[name]}\n \n
\n )}\n \n );\n};\n","import { useState, useMemo } from 'react';\nimport { useFormik } from 'formik';\nimport * as Yup from 'yup';\nimport { useDispatch } from 'react-redux';\nimport { FormattedMessage, useIntl } from 'react-intl';\n\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport * as CompanyRedux from '../../../modules/admins/companies/store/CompaniesRedux';\nimport { TextArea } from '../../../shared/textarea';\nimport * as ModalRedux from '../../../store/ModalRedux';\n\nexport const RequestEditsForm = ({ companyId }: any) => {\n const dispatch = useDispatch();\n const { formatMessage, locale } = useIntl();\n const [loading, setLoading] = useState(false);\n\n const initialValues = useMemo(\n () => ({\n message: '',\n }),\n [formatMessage]\n );\n\n const requestEditsSchema = useMemo(\n () =>\n Yup.object().shape({\n message: Yup.string()\n .required(formatMessage({ id: 'This field is required' }))\n .min(\n 3,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: 3 }\n )\n )\n .max(\n 15,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 15 }\n )\n ),\n }),\n [formatMessage]\n );\n\n const formik = useFormik({\n initialValues,\n validationSchema: requestEditsSchema,\n onSubmit: async (values, { setSubmitting }) => {\n try {\n dispatch(\n CompanyRedux.actions.updateCompanyStatus({\n id: companyId,\n status: false,\n message: values.message,\n })\n );\n\n dispatch(ModalRedux.actions.closeActiveModal());\n } catch (err: any) {\n DisplayErrors(err);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n\n return (\n \n
\n \n
\n\n {/* begin::Form group */}\n
\n \n {!loading && (\n \n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n \n );\n};\n","import clsx from 'clsx';\nimport { FC } from 'react';\nimport { FormattedMessage } from 'react-intl';\n\ntype Props = {\n htmlFor?: string;\n msg: string;\n isRequired?: boolean;\n};\n\nexport const Label: FC = ({ htmlFor, msg, isRequired }) => {\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\n\ntype Props = {\n formik: any;\n name: string;\n};\n\nexport const ErrorMessage: FC = ({ formik, name }) => {\n return (\n <>\n {formik?.touched?.[name] && formik?.errors?.[name] && (\n
\n \n {formik?.errors?.[name]}\n \n
\n )}\n \n );\n};\n","import { useFormik } from 'formik';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport Select from 'react-select';\nimport { Label } from '../../../shared/Label';\nimport { axiosInstance } from '../../../../network/apis';\nimport { Fragment, useCallback, useEffect, useMemo, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport DatePicker from 'react-datepicker';\nimport { ErrorMessage } from '../../../shared/ErrorMessage';\nimport * as Yup from 'yup';\nimport { Input } from '../../../shared/Input';\n\ninterface IOptions {\n value: number;\n label: string;\n}\ninterface IResponseApi {\n id: number;\n name: {\n ar: string;\n en: string;\n };\n description: {\n ar: string;\n en: string;\n };\n assigned_companies_count: number;\n price: string;\n}\ninterface IselectedPlan {\n value: number;\n label: string;\n isDisabled?: boolean;\n}\nexport const RequestChangePlanForm = ({ companyDetails, refetchData }: any) => {\n const { formatMessage, locale } = useIntl();\n const [loading, setLoading] = useState(false);\n const [planOptions, setPlanOptions] = useState([]);\n const [selectedPlan, setSelectedPlan] = useState();\n const [confirmSelectPlan, setConfirmSelectPlan] = useState(false);\n const getPlanOptions = useCallback(() => {\n axiosInstance\n .get('admin/plans', {\n params: {\n type: '1,2',\n },\n })\n .then((response) => {\n const res: IResponseApi[] = response.data.data;\n const enhanceResponse: IOptions[] = res.map((plan) => ({\n value: plan.id,\n label: plan?.name?.[locale as 'en' | 'ar'],\n }));\n\n const selectedOption = enhanceResponse.filter(\n (item) => item.value === companyDetails.plan_id\n )[0];\n\n const removeOldSelectObject = enhanceResponse.filter(\n (item) => item.value !== selectedOption?.value\n );\n\n const disabelSelectedOption = { ...selectedOption, isDisabled: true };\n\n const newArray = [...removeOldSelectObject, disabelSelectedOption];\n\n setPlanOptions(newArray);\n })\n .catch((error) => {\n console.log('plans', error);\n });\n }, []);\n\n /* --------------------------------- Formik --------------------------------- */\n const initialValues = useMemo(\n () => ({\n plan_id: { value: null, label: '' },\n start_date: '',\n end_date: '',\n price: 0,\n }),\n [formatMessage]\n );\n\n const validationSchema = useMemo(\n () =>\n Yup.object().shape({\n plan_id: Yup.object()\n .shape({\n value: Yup.number().required(formatMessage({ id: 'This field is required' })),\n label: Yup.string().required(formatMessage({ id: 'This field is required' })),\n })\n .required(formatMessage({ id: 'This field is required' })),\n start_date: Yup.string().required(formatMessage({ id: 'This field is required' })),\n end_date: Yup.string().required(formatMessage({ id: 'This field is required' })),\n price: Yup.number()\n .integer(formatMessage({ id: 'Only positive integer numbers are allowed!' }))\n .positive(formatMessage({ id: 'Only positive integer numbers are allowed!' }))\n .typeError(formatMessage({ id: 'Only positive integer numbers are allowed!' }))\n .min(0, formatMessage({ id: 'Only positive integer numbers are allowed!' }))\n .nullable(),\n }),\n [formatMessage]\n );\n\n const formik = useFormik({\n initialValues,\n validationSchema,\n\n onSubmit: (values) => {\n if (values.plan_id?.value === companyDetails.plan_id) {\n toast.warning(formatMessage({ id: 'this is your current plan' }), {\n toastId: 'current_plan',\n });\n } else {\n setLoading(true);\n axiosInstance\n .post(`admin/companies/${companyDetails.id}/assign-plan`, {\n plan_id: values.plan_id.value,\n start_date: values.start_date,\n end_date: values.end_date,\n price: values.price ?? 0,\n })\n .then((response) => {\n setLoading(false);\n toast.success(formatMessage({ id: 'changed plan successfully' }));\n // window.location.reload();\n setConfirmSelectPlan(false);\n refetchData();\n })\n .catch((error) => {\n toast.error(formatMessage({ id: error?.response?.data?.message }), {\n toastId: 'changedPlan',\n });\n setLoading(false);\n });\n }\n },\n });\n const { setFieldValue, setFieldTouched, values } = formik;\n /* --------------------------------- Formik --------------------------------- */\n\n useEffect(() => {\n getPlanOptions();\n }, [getPlanOptions]);\n\n useEffect(() => {\n if (!planOptions) return;\n const selectedOption = planOptions.filter((item) => item.value === companyDetails.plan_id)[0];\n setFieldValue('plan_id', selectedOption);\n setSelectedPlan(selectedOption);\n setFieldValue('start_date', companyDetails.start_date);\n }, [planOptions]);\n\n useEffect(() => {\n if (!values?.end_date) return;\n // check if the end date is less than the start date\n if (\n formik.values.end_date &&\n new Date(formik.values.end_date) < new Date(formik.values.start_date)\n )\n formik.setFieldValue(`end_date`, '');\n }, [values?.end_date, values?.start_date]);\n\n return (\n \n \n {!confirmSelectPlan ? (\n \n
\n
\n
\n
\n
\n\n
\n {values.plan_id?.value !== companyDetails.plan_id && (\n
\n
\n {/* start date selection */}\n
\n {/* end date selection */}\n {formik.values?.start_date && (\n
\n
\n )}\n
\n \n
\n
\n )}\n {values.plan_id?.value === companyDetails.plan_id && (\n
\n {/* remianing subscribtion days */}\n
\n )}\n
\n {\n values.plan_id?.value !== companyDetails.plan_id &&\n !!values?.start_date &&\n !!values?.end_date &&\n setConfirmSelectPlan(true);\n }}\n >\n \n \n \n \n
\n
\n ) : (\n
\n

\n \n

\n \n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n {\n setConfirmSelectPlan(false);\n }}\n className='btn btn-danger fw-bold w-100 mb-5 shadowed mt-4'\n >\n \n \n
\n

\n
\n )}\n
\n \n );\n};\n","import { useFormik } from 'formik';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { Label } from '../../../shared/Label';\nimport { axiosInstance } from '../../../../network/apis';\nimport { Fragment, useCallback, useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\n\ninterface IOptions {\n value: number;\n label: string;\n}\ninterface IResponseApi {\n id: number;\n name: {\n ar: string;\n en: string;\n };\n description: {\n ar: string;\n en: string;\n };\n assigned_companies_count: number;\n price: string;\n}\ninterface IselectedPlan {\n value: number;\n label: string;\n isDisabled?: boolean;\n}\nexport const RequestRenewPlanForm = ({ companyDetails, refetchData }: any) => {\n const { formatMessage, locale } = useIntl();\n const [loading, setLoading] = useState(false);\n const [planOptions, setPlanOptions] = useState([]);\n const [selectedPlan, setSelectedPlan] = useState();\n const [confirmSelectPlan, setConfirmSelectPlan] = useState(false);\n const getPlanOptions = useCallback(() => {\n axiosInstance\n .get('admin/plans')\n .then((response) => {\n const res: IResponseApi[] = response.data.data;\n const enhanceResponse: IOptions[] = res.map((plan) => ({\n value: plan.id,\n label: plan?.name?.[locale as 'en' | 'ar'],\n }));\n\n const selectedOption = enhanceResponse.filter(\n (item) => item.value === companyDetails.plan_id\n )[0];\n\n const removeOldSelectObject = enhanceResponse.filter(\n (item) => item.value !== selectedOption.value\n );\n\n const disabelSelectedOption = { ...selectedOption, isDisabled: true };\n\n const newArray = [...removeOldSelectObject, disabelSelectedOption];\n\n setPlanOptions(newArray);\n })\n .catch((error) => {\n console.log('plans', error);\n });\n }, []);\n\n /* --------------------------------- Formik --------------------------------- */\n const formik = useFormik({\n initialValues: {\n plan_id: { value: null, label: '' },\n },\n onSubmit: (values) => {\n if (+companyDetails.remaining_subscription_days > 7) {\n toast.warning(formatMessage({ id: 'this is your current plan' }), {\n toastId: 'current_plan',\n });\n } else {\n setLoading(true);\n axiosInstance\n .post(`admin/companies/${companyDetails.id}/renew-plan`)\n .then((response) => {\n setLoading(false);\n toast.success(formatMessage({ id: 'renewed plan successfully' }));\n // window.location.reload();\n setConfirmSelectPlan(false);\n refetchData();\n })\n .catch((error) => {\n toast.error(formatMessage({ id: error?.response?.data?.message }), {\n toastId: 'changedPlan',\n });\n setLoading(false);\n });\n }\n },\n });\n const { setFieldValue, values } = formik;\n /* --------------------------------- Formik --------------------------------- */\n\n useEffect(() => {\n getPlanOptions();\n }, [getPlanOptions]);\n\n useEffect(() => {\n if (!planOptions) return;\n const selectedOption = planOptions.filter((item) => item.value === companyDetails.plan_id)[0];\n setFieldValue('plan_id', selectedOption);\n setSelectedPlan(selectedOption);\n setFieldValue('start_date', companyDetails.start_date);\n }, [planOptions]);\n\n return (\n \n \n {!confirmSelectPlan ? (\n \n
\n
\n
\n\n {values.plan_id?.value === companyDetails.plan_id && (\n
\n {/* remianing subscribtion days */}\n
\n )}\n
\n 7}\n onClick={() => {\n +companyDetails.remaining_subscription_days <= 7 && setConfirmSelectPlan(true);\n }}\n >\n \n \n \n \n
\n
\n ) : (\n
\n

\n \n

\n \n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n {\n setConfirmSelectPlan(false);\n }}\n className='btn btn-danger fw-bold w-100 mb-5 shadowed mt-4'\n >\n \n \n
\n

\n
\n )}\n
\n \n );\n};\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { FC, useEffect, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { RootState } from '../../../../setup';\nimport { $t } from '../../../../_metronic/i18n/formatMessage'; //, FormatMessage\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { SerachFilters } from '../../../shared/SearchFilters';\n// import { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\n// import { EditItem } from '../../../shared/tables/actions/EditItem';\n// import { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport * as CompanyRedux from '../../../modules/admins/companies/store/CompaniesRedux';\nimport * as TableRedux from '../../../store/TableRedux';\nimport { TableStatus } from '../../../shared/tables/classes';\nimport { TableData } from '../../../shared/tables/classes/TableData';\nimport { TableActions } from '../../../shared/tables/classes/TableActions';\nimport { TableSelection } from '../../../shared/tables/classes/TableSelection';\nimport { DateViewer } from '../../../shared/tables/classes/DateViewer';\n// import { CommonTable } from '../../../shared/tables/Table';\nimport { CompaniesDataListModel, CompanyModel } from '../../../modules/companies/CompanyModel';\nimport { companyStatusColorsMap } from '../../../../_metronic/constants/colors';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { ModalName } from '../../../types/types';\nimport * as ModalRedux from '../../../store/ModalRedux';\nimport { Portal } from '../../../../_metronic/partials';\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { RequestEditsForm } from './RequestEditsForm';\nimport clsx from 'clsx';\nimport { RequestChangePlanForm } from './RequestChangePlanForm';\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { RequestRenewPlanForm } from './RequestRenewPlanForm';\nimport { CommonTable2 } from '../../../shared/tables/Table2';\n// import { Button } from '../../../shared/Button';\n\nconst headerItems = [\n { id: 'Company name', maxWidth: 280 },\n { id: 'Registration date', maxWidth: 280 },\n { id: 'Company profile status', maxWidth: 280 },\n { id: 'Number of users', maxWidth: 140 },\n { id: 'Remaining subscribtion days', maxWidth: 140 },\n { id: 'Actions', maxWidth: 280 },\n];\n\nconst CompaniesContent: FC = () => {\n const TABLE_NAME = 'sys_companies_list';\n const { formatMessage } = useIntl();\n const dispatch = useDispatch();\n const history = useHistory();\n const [popupChangePlan, setPopupChangePlan] = useState(false);\n const [popupRenewPlan, setPopupRenewPlan] = useState(false);\n const [companyId, setCompanyId] = useState(null);\n const [companyDetails, setCompanyDetails] = useState();\n\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n\n const companies: CompaniesDataListModel = useSelector(\n (state) => state.SYS_companies.companies\n ) as CompaniesDataListModel;\n\n const modal: ModalName = useSelector(\n (state) => state.modal.activeModal,\n shallowEqual\n ) as ModalName;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n function RequestData() {\n dispatch(\n CompanyRedux.actions.getCompanies({\n params: { ...table?.query, page: table?.page, per_page: table?.pagination },\n })\n );\n }\n\n useEffect(() => {\n RequestData();\n }, []);\n\n const searchFilterHandler = () => {\n if (table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n useEffect(() => {\n RequestData();\n }, [table?.page, table?.pagination]);\n\n /* --------------------------------- refetch table data -------------------------------- */\n const refetchData = () => {\n dispatch(\n CompanyRedux.actions.getCompanies({\n params: { ...table?.query, page: table?.page, per_page: table?.pagination },\n })\n );\n setPopupRenewPlan(false);\n setPopupChangePlan(false);\n };\n /* --------------------------------- refetch table data -------------------------------- */\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(CompanyRedux.actions.fulFillCompanies({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n const rowItems = companies?.data.map((company: CompanyModel, index) => {\n if (index === 0) {\n }\n return [\n new TableSelection({ display: true, id: company.id, tableName: TABLE_NAME }),\n new TableData({ text: company.name || formatMessage({ id: 'No name' }) }),\n new DateViewer({ date: company.created_at }),\n new TableStatus({\n statusId: company.status,\n badge: companyStatusColorsMap?.get(company?.status),\n }),\n new TableData({ text: company.members.toString() }),\n new TableData({\n text:\n company?.remaining_subscription_days === null\n ? formatMessage({ id: 'Unlimited' })\n : company?.remaining_subscription_days?.toString(),\n }),\n new TableActions(\n (\n
\n {company.status !== 'Deletion requested' && company.status !== 'Deleted' && (\n {\n if (company.status !== 'Approved') {\n dispatch(\n CompanyRedux.actions.updateCompanyStatus({ id: company.id, status: true })\n );\n }\n }}\n >\n \n \n )}\n {company.status !== 'Deletion requested' && company.status !== 'Deleted' && (\n {\n if (company.status !== 'Needed to edit') {\n dispatch(ModalRedux.actions.setActiveModal('request-edits-modal'));\n setCompanyId(company.id);\n }\n }}\n >\n \n \n )}\n {company.status !== 'Deletion requested' && company.status !== 'Deleted' && (\n {\n setPopupChangePlan(true);\n setCompanyDetails(company);\n }}\n >\n \n
\n )}\n\n {company.status !== 'Deletion requested' &&\n company.status !== 'Deleted' &&\n company.remaining_subscription_days !== null &&\n company.remaining_subscription_days <= 7 && (\n {\n setPopupRenewPlan(true);\n setCompanyDetails(company);\n }}\n >\n \n \n )}\n\n history.push(`/admin/companies/${company.id}`)}\n />\n \n )\n ),\n ];\n });\n\n return (\n <>\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'status',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'status',\n })\n ),\n placeholderId: 'Status',\n options: [\n { value: 1, label: formatMessage({ id: 'New Company' }) },\n { value: 2, label: formatMessage({ id: 'Approved' }) },\n { value: 3, label: formatMessage({ id: 'Needs edit' }) },\n { value: 4, label: formatMessage({ id: 'Deletion requested' }) },\n { value: 5, label: formatMessage({ id: 'Deleted' }) },\n ],\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n company.id) || []}\n meta={companies}\n headerItems={headerItems}\n rowItems={rowItems}\n initPerPage={20}\n />\n
\n\n {modal === 'request-edits-modal' && (\n \n \n \n \n \n )}\n {popupChangePlan && (\n \n setPopupChangePlan(false)}\n >\n refetchData()}\n />\n \n \n )}\n\n {popupRenewPlan && (\n \n setPopupRenewPlan(false)}>\n refetchData()}\n />\n \n \n )}\n \n );\n};\n\nconst CompaniesWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Companies' })}\n\n \n
\n );\n};\n\nexport { CompaniesWrapper };\n","import { useEffect } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../../../network/apis';\nimport { RootState } from '../../../../setup/redux/Store';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { useQuerySearch } from '../../../hooks/useQuerySearch/useQuerySearch';\nimport { UserModel } from '../models/UserModel';\nimport * as auth from '../../../../app/modules/auth/store/AuthRedux';\nimport { PrivateRoutes } from '../../../../_metronic/constants/ROUTES';\n\nexport const Verify = () => {\n const query = useQuerySearch();\n const location = useLocation();\n const history = useHistory();\n const dispatch = useDispatch();\n const { formatMessage } = useIntl();\n\n const user: UserModel = useSelector(\n (state) => state.auth.user,\n shallowEqual\n ) as UserModel;\n\n useEffect(() => {\n verifyUser();\n }, []);\n\n const verifyUser = async () => {\n if (!['expires', 'hash', 'signature', 'id'].every((key) => query.has(key))) {\n toast.error(formatMessage({ id: 'invalid_url_we_will_redirect_you' }));\n history.push('/');\n return <>;\n }\n\n try {\n await axiosInstance.post('/verify' + location.search);\n toast.success(formatMessage({ id: 'Your account has been successfully verified!' }));\n if (user?.id) {\n dispatch(auth.actions.setUser({ ...user, active: true }));\n history.push(PrivateRoutes.Homepage);\n }\n } catch (error) {\n DisplayErrors(error);\n toast.error(formatMessage({ id: 'Error!, please try again' }));\n }\n history.push(PrivateRoutes.Homepage);\n };\n\n return
;\n};\n","import { FC } from 'react';\n\ntype Props = {\n lines: number;\n};\n\nexport const SeparatorLines: FC = ({ lines }) => {\n return (\n <>\n {Array.from(Array(lines).keys()).map((line) => (\n
\n ))}\n \n );\n};\n","import { useIntl } from 'react-intl';\n\nexport const LocaleTitle = ({ lang, id }: { lang: string; id: string }) => {\n const { formatMessage } = useIntl();\n if (!id) return 'missing ID';\n return formatMessage({ id: id }) + formatMessage({ id: ` (${lang.toUpperCase()})` });\n};\n","import { IRoleInitialValues } from '../types/permission';\n\nexport const initialValues: IRoleInitialValues = {\n name_en: '',\n name_ar: '',\n description_en: '',\n description_ar: '',\n permissions: [],\n};\n","import { useState, useEffect } from 'react';\n\nconst initBeforeUnLoad = (showExitPrompt) => {\n window.onbeforeunload = (event) => {\n if (showExitPrompt) {\n const e = event || window.event;\n e.preventDefault();\n if (e) {\n e.returnValue = '';\n }\n return '';\n }\n };\n};\n\n// Hook\nexport default function useExitPrompt(bool) {\n const [showExitPrompt, setShowExitPrompt] = useState(bool);\n\n const setDisable = () => {\n window.onbeforeunload = () => initBeforeUnLoad(false);\n };\n\n window.onload = function () {\n initBeforeUnLoad(showExitPrompt);\n };\n\n useEffect(() => {\n initBeforeUnLoad(showExitPrompt);\n }, [showExitPrompt]);\n\n return { showExitPrompt, setShowExitPrompt, setDisable };\n}\n","import clsx from 'clsx';\nimport { useFormik } from 'formik';\nimport { FC, useEffect, useMemo, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams, useLocation } from 'react-router-dom';\nimport { serialize } from 'object-to-formdata';\nimport { toast } from 'react-toastify';\nimport _ from 'lodash';\nimport { useQuery } from 'react-query';\n\nimport * as Yup from 'yup';\nimport * as TableRedux from '../../../store/TableRedux';\n\nimport { RootState } from '../../../../setup';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { commonValidations } from '../../../../_metronic/constants/GeneralValidations';\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../../_metronic/helpers/functions';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { CompaniesDataListModel } from '../../../modules/companies/CompanyModel';\nimport {\n addPermissions,\n getPermissions,\n editPermissions,\n} from '../../../modules/roles/store/RolesCrud';\nimport { Input } from '../../../shared/Input';\nimport { SeparatorLines } from '../../../shared/Lines';\nimport { LocaleTitle } from '../../../shared/LocaleTitle';\nimport { TextArea } from '../../../shared/textarea';\nimport { handleSelection } from '../handleSelection';\nimport { PermissionArray } from '../types/permission';\nimport { initialValues } from './initialValues';\nimport { axiosInstance } from '../../../../network/apis';\nimport useExitPrompt from '../../../hooks/useExitPrompt/useExitPrompt';\n\nimport { capitalize } from '../../../../utils/strings';\nimport { Users } from '../../../modules/users/UsersWrapper';\nimport { usePermissions } from '../../../hooks/usePermissions';\n\ntype Props = {\n mode: 'create' | 'edit' | 'view';\n};\nconst tableName = 'users_list';\n\nexport const AddEditRolesForm: FC = ({ mode }) => {\n const [loading, setLoading] = useState(false);\n const [allPermissions, setAllPermissions] = useState([]);\n const location = useLocation();\n const history = useHistory();\n const dispatch = useDispatch();\n const { formatMessage, locale } = useIntl();\n const params: any = useParams();\n const [displayed, setDisplayed] = useState>([0, 1]);\n const { setShowExitPrompt, setDisable } = useExitPrompt(false);\n usePermissions('create-role', 'Add role');\n const [viewEditRole, setViewEditRole] = useState({});\n\n // for directions in ui\n const locales = locale === 'en' ? ['en', 'ar'] : ['ar', 'en'];\n\n const companies: CompaniesDataListModel = useSelector(\n (state) => state?.USER_companies.companies,\n shallowEqual\n ) as CompaniesDataListModel;\n\n const companyId =\n companies?.data?.find((company) => company.slug === params.companySlug)?.id || null;\n\n const gettingPermissions = async () => await getPermissions(companyId);\n\n useEffect(() => {\n gettingPermissions().then((res) => {\n const data = res.data;\n const titles = Object.keys(data);\n setAllPermissions(titles.map((title) => ({ title, permissions: data[title] })));\n });\n }, []);\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[tableName];\n\n const AddEditRoleSchema = useMemo(\n () =>\n Yup.object().shape({\n name_en: Yup.string()\n .required($t('This field is required'))\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.nameMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.nameMaximum,\n })\n )\n .test('name_en', $t(\"You can't enter special character at first or last!\"), (val) =>\n nameWithoutSpcialCharsStartOrEnd(val)\n ),\n name_ar: Yup.string()\n .required($t('This field is required'))\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.nameMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.nameMaximum,\n })\n )\n .test('name_ar', $t(\"You can't enter special character at first or last!\"), (val) =>\n nameWithoutSpcialCharsStartOrEnd(val)\n ),\n description_ar: Yup.string()\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_ar',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n description_en: Yup.string()\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_en',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n permissions: Yup.array()\n .min(1, $t('You need to select at least one permission'))\n .required($t('You need to select at least one permission')),\n }),\n []\n );\n\n const formik = useFormik({\n initialValues,\n validationSchema: AddEditRoleSchema,\n onSubmit: async (values, { setSubmitting }) => {\n setLoading(true);\n try {\n if (typeof companyId !== 'number') {\n toast.error(formatMessage({ id: 'Error! You will need to refresh the page' }));\n return;\n }\n const payload: any = {};\n\n table.selection.includes(-1) ? (payload.users = [-1]) : (payload.users = table.selection);\n\n dispatch(TableRedux.actions.clearSelection({ tableName }));\n payload.description = {\n ar: values.description_ar ? values.description_ar : '',\n en: values.description_en ? values.description_en : '',\n };\n payload.name = { ar: values.name_ar, en: values.name_en };\n payload.permissions = _.uniq(values.permissions);\n const formData = serialize(payload);\n if (mode === 'create') {\n await addPermissions(companyId, formData);\n toast.success(formatMessage({ id: 'The role has been created successfully!' }));\n } else {\n formData.append('_method', 'PUT');\n await editPermissions(companyId, params.roleId, formData);\n toast.success(formatMessage({ id: 'The role has been edited successfully!' }));\n }\n\n history.push(`/c/${params.companySlug}/settings/roles`);\n } catch (error: any) {\n DisplayErrors(error);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n const { touched, setFieldValue } = formik; //values, errors,\n\n /* ------------------------- edit and display fetch ------------------------- */\n const { data: role, refetch: getRoleDetails } = useQuery(\n 'Role',\n () =>\n axiosInstance(`${companyId}/roles/${params.roleId}`).then((res) => {\n return res.data;\n }),\n { enabled: false, keepPreviousData: false, cacheTime: 0 }\n );\n\n useEffect(() => {\n if (params?.roleId) {\n getRoleDetails();\n }\n }, [params]);\n\n useEffect(() => {\n if (role?.id) {\n setFieldValue('name_en', role?.name_translations?.en);\n setFieldValue('name_ar', role?.name_translations?.ar);\n setFieldValue('description_en', role?.description_translations?.en);\n setFieldValue('description_ar', role?.description_translations?.ar);\n setFieldValue(\n 'permissions',\n role?.permissions.map((permission: any) => permission.id)\n );\n dispatch(\n TableRedux.actions.bulkToggleSelection({\n tableName,\n idList: role?.users?.map((user: any) => user.id),\n })\n );\n setViewEditRole({ mode });\n }\n }, [role]);\n\n const shouldAsk = () => Object.keys(touched).length > 0;\n\n useEffect(() => {\n setShowExitPrompt(shouldAsk());\n }, [formik]);\n\n useEffect(() => {\n return () => {\n setDisable();\n setShowExitPrompt(false);\n };\n }, []);\n\n return (\n \n
\n

{$t('Role Settings')}

\n \n
\n
\n
\n
\n {mode === 'view' && (\n \n history.push(location.pathname + '/edit')}\n >\n \n {formatMessage({ id: 'Edit role' })}\n \n
\n )}\n
\n
\n
\n
\n {locales.map((lang) => (\n
\n \n
\n ))}\n
\n
\n {locales.map((lang) => (\n
\n \n
\n ))}\n
\n
\n
\n \n\n
\n

{$t('Permissions')}

\n {formik.errors.permissions && (formik.touched.permissions || formik.isSubmitting) && (\n

\n {formik.errors.permissions}\n

\n )}\n \n\n
\n
\n {allPermissions.map(\n (permission: { title: string; permissions: PermissionArray }, index: number) => (\n
\n setDisplayed(() => _.xor([index], displayed))}\n >\n \n {' '}\n {$t(capitalize(permission.title))}\n \n \n \n {permission.permissions.map((currentPermission, i, party: PermissionArray) => {\n return (\n
\n \n
\n );\n })}\n
\n
\n )\n )}\n
\n
\n \n\n
\n \n
\n\n {viewEditRole.mode !== 'view' && (\n
\n \n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n {\n formik.resetForm();\n history.push(`/c/${params.companySlug}/settings/roles`);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 mb-5 shadowed mt-4'\n >\n \n \n
\n )}\n \n );\n};\n","import _ from 'lodash';\nimport { PermissionArray } from './types/permission';\n\nexport const handleSelection = (\n permission: number,\n permissionName: string,\n parent: string,\n allPermissions: { title: string; permissions: PermissionArray }[],\n party: PermissionArray,\n selected: Array\n) => {\n let currentSelection = _.xor([permission], selected);\n const viewElement: any = party.find((permission) => permission.key.split('-')[0] === 'view');\n\n if (currentSelection.some((item: number) => party.map((p) => p.id).includes(item))) {\n currentSelection.push(viewElement?.id);\n }\n\n return currentSelection;\n};\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { FC } from 'react';\nimport { useIntl } from 'react-intl';\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { AddEditRolesForm } from './AddEditForm/AddEditRoleForm';\nimport { usePermissions } from '../../hooks/usePermissions';\n\nconst RolesAddWrapper: FC = () => {\n usePermissions('create-role');\n\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'create-role' })}\n \n
\n );\n};\nconst RolesViewWrapper: FC = () => {\n usePermissions('view-role');\n\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'view-role' })}\n \n
\n );\n};\nconst RolesEditWrapper: FC = () => {\n usePermissions('update-role');\n\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'update-role' })}\n \n
\n );\n};\n\nexport { RolesAddWrapper, RolesViewWrapper, RolesEditWrapper };\n","import { AsideDefault } from './components/aside/AsideDefault';\nimport { HeaderWrapper } from './components/header/HeaderWrapper';\nimport { Toolbar } from './components/toolbar/Toolbar';\nimport { Content } from './components/Content';\nimport { PageDataProvider } from './core';\nimport { usePermissions } from '../../app/hooks/usePermissions';\nimport { Footer } from './components/Footer';\n\nconst AdminDashboardLayout: React.FC = ({ children }) => {\n usePermissions('super_admin', 'visit this page');\n\n return (\n \n
\n \n
\n \n
\n
\n \n
\n {children}\n
\n
\n
\n
\n
\n
\n
\n );\n};\n\nexport { AdminDashboardLayout };\n","import { FormattedMessage, useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport SVG from 'react-inlinesvg';\nimport { $t } from '../../../../../_metronic/i18n/formatMessage';\nimport { toAbsoluteUrl } from '../../../../../_metronic/helpers';\nimport { allowedImagesTypes } from '../../../../../_metronic/constants/general';\n\n// typesOnly = pdfs , images and pdfs-images, xlsx\nexport const FileUploader = ({\n setFile,\n file,\n maxSize,\n supportedFiles,\n typesOnly,\n disabled = false,\n}) => {\n const { formatMessage } = useIntl();\n let allowedOnly = [...supportedFiles];\n return (\n <>\n
\n {\n const file = e.target.files[0];\n if (!allowedOnly.includes(file?.type)) {\n let msg = 'You can only upload JPG, SVG,PNG, JPEG files format';\n if (typesOnly === 'pdfs') msg = 'You can only upload PDF files format';\n if (typesOnly === 'pdfs-images')\n msg = 'You can only upload JPG, SVG,PNG, JPEG or PDF files format';\n if (typesOnly === 'xlsx') msg = 'You can only upload XLSX, XLS, CSV files format';\n toast.error(formatMessage({ id: msg }));\n return;\n }\n if (file?.size / 1024 > maxSize) {\n toast.error(\n formatMessage(\n { id: 'The maximum file size is {maxSize}MB' },\n { maxSize: `${maxSize / 1024}` }\n )\n );\n }\n\n setFile(e?.target?.files?.[0] || '');\n e.target.value = '';\n }}\n disabled={disabled}\n />\n {!disabled && {$t('choose-file')}}\n {!disabled && (\n \n {!file && }\n \n )}\n
\n {typeof file === 'string' &&\n !file?.endsWith('.pdf') &&\n !file?.endsWith('.PDF') &&\n file.length > 0 && (\n \n )}\n {(['application/pdf'].includes(file.type) ||\n (typeof file === 'string' && (file?.endsWith('.pdf') || file?.endsWith('.PDF')))) && (\n <>\n {\n window.open(file, '_blank', 'toolbar=yes,scrollbars=yes,resizable=yes');\n }}\n />\n {file.name ? file.name : file.split('/')[file.split('/').length - 1] || ''}\n \n )}\n {[\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.ms-excel',\n '.csv',\n 'text/csv',\n ].includes(file.type) && (\n <>\n {\n window.open(file, '_blank', 'toolbar=yes,scrollbars=yes,resizable=yes');\n }}\n />\n {file.name ? file.name : file.split('/')[file.split('/').length - 1] || ''}\n \n )}\n {allowedImagesTypes.includes(file.type) && (\n FIle\n )}\n \n );\n};\n","import { FC, useRef } from 'react';\nimport { useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport { KTSVG } from '../../../../../_metronic/helpers';\nimport { $t, FormatMessage } from '../../../../../_metronic/i18n/formatMessage';\nimport { usePermissions } from '../../../../hooks/usePermissions';\n\ntype Props = {\n title: string;\n width?: number;\n setFunction: Function;\n maxSizeInBytes: number;\n image: Blob | MediaSource | string | any;\n isDisabled: boolean;\n};\n\nexport const LogoUploader: FC = ({\n title,\n width,\n setFunction,\n maxSizeInBytes,\n image,\n isDisabled,\n}) => {\n const { userCan } = usePermissions();\n const uploadRef = useRef();\n const { formatMessage } = useIntl();\n\n const handleUpload = (e: any) => {\n // const sizeInMB = maxSizeInBytes / 1024;\n const file = e.target.files[0];\n // const img = new Image();\n\n if (!['image/jpeg', 'jpeg', 'png', 'image/png', 'image/svg+xml'].includes(file?.type)) {\n toast.error(formatMessage({ id: 'You can only upload JPG, SVG,PNG, JPEG files format' }));\n return;\n }\n\n if (file?.size / 1024 > maxSizeInBytes) {\n toast.error(\n formatMessage(\n { id: 'The maximum file size is {maxSize}MB' },\n { maxSize: `${maxSizeInBytes / 1024}` }\n )\n );\n }\n setFunction(e?.target?.files?.[0] || '');\n };\n\n return (\n
\n

{$t(title)}

\n \n {['image/jpeg', 'jpeg', 'png', 'image/png', 'image/svg+xml'].includes(image.type) && (\n FIle\n )}\n {userCan('update-company') && isDisabled && (\n setFunction('')}\n >\n \n
\n )}\n\n {userCan('update-company') && isDisabled && (\n \n )}\n \n \n );\n};\n","import { useMemo } from 'react';\nimport { useIntl } from 'react-intl';\nimport * as Yup from 'yup';\nimport { commonValidations } from '../../../_metronic/constants/GeneralValidations';\nimport { uriOptionalPattern } from '../../../_metronic/constants/patterns';\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../_metronic/helpers/functions';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\n// import { CompanyTypes } from '../../../../types/CompanyTypes';\n\nexport const useEditViewCompanyDetailsWrapperSchema = () => {\n const { formatMessage } = useIntl();\n\n const initialValues: { [key: string]: any } = {\n slug: '',\n name: '',\n type: { value: 1, label: '' },\n website: '',\n tax_document: '',\n // tax_number: '',\n commercial_registration: '',\n certificate_number: '',\n // certificate_number_document: '',\n unified_number: '',\n report_period: [],\n tax_number: '',\n // tax_number_document: '',\n tax_registration_date: '',\n company_activities: [],\n sales_categories: [],\n purchases_categories: [],\n zip: '',\n country: null,\n city: null,\n address_en: '',\n address_ar: '',\n invoice_number_method: '1',\n sales_invoice_number_prefix: '',\n sales_invoice_number_start: '',\n return_sales_invoice_number_prefix: '',\n return_sales_invoice_number_start: '',\n account_name: '',\n bank_name: '',\n account_number: '',\n iban: '',\n };\n\n const required = $t('This field is required');\n\n const schema = useMemo(\n () =>\n Yup.object().shape({\n name: Yup.string()\n .required(formatMessage({ id: 'This field is required' }))\n .min(\n 2,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: 2 }\n )\n )\n .max(\n 100,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 100 }\n )\n )\n .test(\n 'name',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n type: Yup.object().required(formatMessage({ id: 'This field is required' })),\n website: Yup.string()\n .matches(uriOptionalPattern, formatMessage({ id: 'Website is invalid' }))\n .when('type', (type, schema) => {\n // if (type?.value === CompanyTypes?.Corporate)\n // return schema.required(formatMessage({ id: 'Website is invalid' }));\n // else return schema.notRequired();\n return schema.notRequired();\n })\n .nullable(),\n // tax_number: Yup.number()\n // .typeError(formatMessage({ id: 'Only number are allowed!' }))\n // .test(\n // 'len',\n // formatMessage(\n // { id: 'You need to enter {count} numbers' },\n // { count: commonValidations.taxNumberCharacters }\n // ),\n // (val: any) =>\n // !val?.toString()?.length ||\n // val?.toString()?.length === commonValidations.taxNumberCharacters\n // )\n // .nullable(),\n national_id: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'You need to enter {count} numbers' },\n { count: commonValidations.nationalId }\n ),\n (val: any, context: any) =>\n !val?.toString()?.length ||\n context?.originalValue?.length === commonValidations.nationalId\n )\n .nullable(),\n commercial_registration: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'You need to enter {count} numbers' },\n { count: commonValidations.commertialRegistrationCharacters }\n ),\n (val: any, context: any) =>\n !val?.toString()?.length ||\n context?.originalValue?.length === commonValidations.commertialRegistrationCharacters\n )\n .nullable(),\n certificate_number: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'You need to enter {count} numbers' },\n { count: commonValidations.certificateNumber }\n ),\n (val: any, context: any) =>\n !val?.toString()?.length ||\n context?.originalValue?.length === commonValidations.certificateNumber\n )\n .nullable(),\n unified_number: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'You need to enter {count} numbers' },\n { count: commonValidations.unifiedNumberCharacters }\n ),\n (val: any, context: any) =>\n !val?.toString()?.length ||\n context?.originalValue?.length === commonValidations.unifiedNumberCharacters\n )\n .nullable(),\n report_period: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n tax_number: Yup.number()\n // .required(required)\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'You need to enter {count} numbers' },\n { count: commonValidations.taxNumberCharacters }\n ),\n (val: any) =>\n !val?.toString()?.length ||\n val?.toString()?.length === commonValidations.taxNumberCharacters\n )\n .nullable(),\n tax_registration_date: Yup.string(),\n country: Yup.object().nullable(),\n city: Yup.object().nullable(),\n address_en: Yup.string().nullable(),\n address_ar: Yup.string().nullable(),\n zip: Yup.number().typeError($t('Only number are allowed!')).nullable(),\n company_activities: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n sales_categories: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n purchases_categories: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n\n invoice_number_method: Yup.string().required(required),\n sales_invoice_number_prefix: Yup.string().when('invoice_number_method', {\n is: '2',\n then: Yup.string()\n .max(\n commonValidations.nameMaximum,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n {\n maxCharacters: commonValidations.nameMaximum,\n }\n )\n )\n .required(required),\n }),\n sales_invoice_number_start: Yup.number().when('invoice_number_method', {\n is: '2',\n then: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: commonValidations.InvoiceNumberCharacters }\n ),\n (val: any) => {\n return (\n !val?.toString()?.length ||\n val?.toString()?.length <= commonValidations.InvoiceNumberCharacters\n );\n }\n )\n .required(required),\n }),\n return_sales_invoice_number_prefix: Yup.string()\n .max(\n commonValidations.nameMaximum,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n {\n maxCharacters: commonValidations.nameMaximum,\n }\n )\n )\n .when('invoice_number_method', {\n is: '2',\n then: Yup.string().required(required),\n }),\n return_sales_invoice_number_start: Yup.number().when('invoice_number_method', {\n is: '2',\n then: Yup.number()\n .typeError(formatMessage({ id: 'Only number are allowed!' }))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: commonValidations.InvoiceNumberCharacters }\n ),\n (val: any) => {\n return (\n !val?.toString()?.length ||\n val?.toString()?.length <= commonValidations.InvoiceNumberCharacters\n );\n }\n )\n .required(required),\n }),\n }),\n [formatMessage]\n );\n\n return { schema, initialValues };\n};\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport Select from 'react-select';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams, Prompt } from 'react-router-dom';\nimport { useFormik, Form, FormikProvider, Field } from 'formik';\nimport { serialize } from 'object-to-formdata';\nimport clsx from 'clsx';\nimport { useQuery } from 'react-query';\n\nimport * as CompaniesRedux from '../../modules/companies/store/UserCompaniesRedux';\nimport { Input } from '../../shared/Input';\nimport { SelectOptions } from '../../types/SelectOptions';\nimport { CompanyTypes } from '../../types/CompanyTypes';\n// import { CompanyModel } from '../../modules/companies/CompanyModel';\nimport { RootState } from '../../../setup/redux/Store';\nimport { ICompany } from '../../types/companies';\nimport { FileUploader } from './CompanyDetails/components/FileUploader';\nimport { LogoUploader } from './CompanyDetails/components/LogoUploader';\nimport { ReportsPeriodTypeMap } from '../../../_metronic/constants/general';\nimport { toSelectOption } from '../../../_metronic/helpers/functions/Select';\nimport DatePicker from 'react-datepicker';\nimport { ErrorMessage } from '../../shared/ErrorMessage';\nimport { Label } from '../../shared/Label';\n\nimport { axiosInstance } from '../../../network/apis';\nimport { DisplayErrors } from '../../../utils/DisplayErrors';\nimport { toast } from 'react-toastify';\n\nimport AhadDialog from '../../../setup/shared/AhadDialog';\nimport { Portal } from '../../../_metronic/partials';\n// import { PrivateRoutes } from '../../../_metronic/constants/ROUTES';\nimport useExitPrompt from '../../hooks/useExitPrompt/useExitPrompt';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { usePermissions } from '../../hooks/usePermissions';\nimport { useEditViewCompanyDetailsWrapperSchema } from './useEditViewCompanyDetailsWrapperSchema';\nimport { countires } from '../../../_metronic/constants/countries';\nimport { SeparatorLines } from '../../shared/Lines';\n\nconst fileMaxSize = 2 * 1024;\nconst allowedFiles = ['application/pdf', 'image/jpeg', 'jpeg', 'png', 'image/png', 'image/svg+xml'];\nconst maxFileSizeInMegaBytes = 2;\n\nexport const EditViewCompanyDetailsWrapper: FC = ({ mode, displayRequiredSection }) => {\n const { schema, initialValues } = useEditViewCompanyDetailsWrapperSchema();\n const { userCan, userCanNot } = usePermissions('view-company');\n const { setShowExitPrompt, setDisable } = useExitPrompt(false);\n // Corporate\n // const [tax_number_document, setTax_number_document] = useState('');\n const [commercial_registration_document, setCommercial_registration_document] = useState('');\n // Freelancer\n const [certificate_number_document, setCertificate_number_document] = useState('');\n const [tax_number_document, setTax_number_document] = useState('');\n const { formatMessage, locale } = useIntl();\n const [loading, setLoading] = useState(false);\n const history = useHistory();\n const dispatch = useDispatch();\n const params: any = useParams();\n const [mainLightLogo, setmainLightLogo] = useState('');\n const [mainDarkLogo, setMainDarkLogo] = useState('');\n const [mainLightMarkLogo, setMainLogoMarkLight] = useState('');\n const [mainDarkMarkLogo, setMainDarkMarkLogo] = useState('');\n const [originaleData, setOriginaleData] = useState({});\n const [showWarningsConfirmationModal, setShowWarningsConfirmationModal] = useState(false);\n const [warningsConfirmation, setWarningsConfirmation] = useState('');\n const [showCategoriesWarning, setShowCategoriesWarning] = useState(false);\n const [selectedCategory, setSelectedCategory] = useState(null);\n\n const [categoriesByActivitiesList, setCategoriesByActivitiesList] = useState(null);\n\n const [salesInvoiceNumberStartDisabled, setSalesInvoiceNumberStartDisabled] = useState(true);\n const [returnSalesInvoiceNumberStartDisabled, setReturnSalesInvoiceNumberStartDisabled] =\n useState(true);\n /* ------------------------- On INIT ------------------------ */\n\n const formik = useFormik({\n initialValues: { ...initialValues },\n validationSchema: schema,\n onSubmit: async (values, { setSubmitting }) => {\n setLoading(true);\n try {\n if (\n [tax_number_document, certificate_number_document, commercial_registration_document].some(\n //\n (file) => {\n return file?.size ? file.size / 1024 / 1024 > fileMaxSize : false;\n }\n )\n ) {\n toast.error(\n formatMessage(\n { id: 'The maximum file size is {maxSize}MB' },\n { maxSize: `${fileMaxSize}` }\n )\n );\n setLoading(false);\n setSubmitting(false);\n return;\n }\n\n const payload: any = {\n ...values,\n type: values.type.value,\n certificate_number_document,\n commercial_registration_document,\n bank_information: {\n account_name: values.account_name,\n bank_name: values.bank_name,\n account_number: values.account_number,\n iban: values.iban,\n },\n // tax_document: tax_number_document,\n };\n payload['period_type'] = values.report_period[0].value;\n payload['vat_registeration_number'] = values.vat_registeration_number;\n payload['tax_registration_date'] = values.tax_registration_date;\n payload['categories'] = [\n ...categoriesByActivitiesList?.sales.filter((category: any) => {\n return values.sales_categories.includes(`${category.id}`) || category.is_mandatory;\n }),\n ...categoriesByActivitiesList?.purchases.filter((category: any) => {\n return values.purchases_categories.includes(`${category.id}`) || category.is_mandatory;\n }),\n ].map((category: any) => {\n return category.id;\n });\n payload['country'] = values.country;\n payload['city'] = values.city;\n payload['zip'] = values.zip;\n payload['address'] = {};\n payload['address']['ar'] = values.address_ar;\n payload['address']['en'] = values.address_en;\n payload['default_vat_enabled'] = values.default_vat_enabled;\n payload['vat_registered'] = values.vat_registered;\n\n delete payload.report_period;\n delete payload.sales_categories;\n delete payload.purchases_categories;\n delete payload.account_name;\n delete payload.bank_name;\n delete payload.account_number;\n delete payload.iban;\n\n const formData = serialize(payload);\n formData.set('logo_light', mainLightLogo);\n formData.set('logo_dark', mainDarkLogo);\n formData.set('logo_light_mark', mainLightMarkLogo);\n formData.set('logo_dark_mark', mainDarkMarkLogo);\n\n if (typeof certificate_number_document !== 'string')\n formData.append('certificate_number_document', certificate_number_document);\n if (typeof tax_number_document !== 'string')\n formData.append('tax_number_document', tax_number_document);\n if (typeof commercial_registration_document !== 'string')\n formData.append('commercial_registration_document', commercial_registration_document);\n\n await axiosInstance.post(`/companies/${companyDetails.id}/profile`, formData);\n\n dispatch(CompaniesRedux.actions.getCurrentCompanyById({ id: companyDetails.id }));\n\n toast.success(\n formatMessage({ id: 'Your company settings has been updated successfully!' })\n );\n\n // dispatch(\n // CompaniesRedux.actions.getUserCompanies({\n // params: {\n // per_page: 100,\n // },\n // })\n // );\n toast.success(formatMessage({ id: 'An admin will review your information' }));\n\n formik.resetForm();\n formik.setTouched({});\n history.push(`/c/${params.companySlug}/settings/companydetails`);\n } catch (error: any) {\n DisplayErrors(error);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n\n const { values, touched, errors } = formik;\n\n const CompanyTypesOptions: SelectOptions = useMemo(\n () => [\n { value: CompanyTypes.Freelancer, label: formatMessage({ id: 'Freelancer' }) },\n { value: CompanyTypes.Corporate, label: formatMessage({ id: 'Corporate' }) },\n ],\n [formatMessage]\n );\n\n // const companies: Array = useSelector(\n // (state) => state?.USER_companies.companies,\n // shallowEqual\n // ) as Array;\n\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n const reportPeriodOptions = useMemo(() => {\n return Array.from(ReportsPeriodTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n /* ------------------------- Get companies activitiess ------------------------ */\n\n const { isLoading: categoriesActivitiesLoading, data: categoriesActivitiesList } = useQuery(\n 'companyDetailsActivities',\n () =>\n axiosInstance(`/activities`, {\n params: {\n per_page: 0,\n },\n }).then((res) => {\n return res.data;\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n /* -------------------------end Get companies activitiess ------------------------ */\n\n /* ------------------------- Get categories by activity ------------------------ */\n\n const { isLoading: categoriesByActivitiesLoading, data: categoriesByActivitiesListData } =\n useQuery(\n 'companyDetailsCategoriesByActivitiesList',\n () =>\n axiosInstance(`/categories/by-activities`, {\n params: {\n // type: `1`,\n company_activities: values?.company_activities?.map((activity: any) =>\n parseInt(activity)\n ),\n per_page: 0,\n },\n }).then((res) => {\n return res.data;\n }),\n {\n retryDelay: 300,\n retry: 3,\n enabled: values?.company_activities?.length > 0,\n }\n );\n\n useEffect(() => {\n if (!categoriesByActivitiesListData) return;\n else setCategoriesByActivitiesList(categoriesByActivitiesListData);\n }, [categoriesByActivitiesListData]);\n\n /* -------------------------end Get categories by activity ------------------------ */\n\n useEffect(() => {\n formik.setFieldValue(\n 'type',\n CompanyTypesOptions.find((type) => type.value === CompanyTypes[companyDetails.type])\n );\n formik.setFieldValue('slug', companyDetails.slug);\n formik.setFieldValue('name', companyDetails.name || '');\n formik.setFieldValue('website', companyDetails.website || '');\n formik.setFieldValue('commercial_registration', companyDetails.commercial_registration || '');\n formik.setFieldValue('certificate_number', companyDetails.certificate_number || '');\n formik.setFieldValue('unified_number', companyDetails.unified_number || '');\n formik.setFieldValue('national_id', companyDetails.national_id || '');\n\n setCommercial_registration_document(companyDetails.commercial_registration_document);\n setCertificate_number_document(companyDetails.certificate_number_document);\n setOriginaleData(companyDetails);\n if (companyDetails?.branding) {\n const branding: any = companyDetails.branding;\n setmainLightLogo(branding.logo.light);\n setMainDarkLogo(branding.logo.dark);\n setMainLogoMarkLight(branding.mark.light);\n setMainDarkMarkLogo(branding.mark.dark);\n }\n }, [companyDetails]);\n // set intial values for formik\n useEffect(() => {\n formik.setFieldValue(\n `report_period`,\n reportPeriodOptions?.filter((option) => {\n if (companyDetails.settings?.period_type) {\n return option.value === companyDetails.settings?.period_type;\n } else {\n return option.value === 3;\n }\n })\n );\n formik.setFieldValue(\n `vat_registeration_number`,\n companyDetails.vat_registeration_number ? companyDetails.vat_registeration_number : ''\n );\n\n formik.setFieldValue(\n 'address_ar',\n companyDetails?.address?.ar ? companyDetails.address.ar : initialValues.address_ar\n );\n formik.setFieldValue(\n 'address_en',\n companyDetails?.address?.en ? companyDetails.address.en : initialValues.address_en\n );\n formik.setFieldValue('zip', companyDetails?.zip ? companyDetails.zip : initialValues.zip);\n formik.setFieldValue('city', companyDetails.city ? companyDetails.city : initialValues.city);\n const country = countires?.find(\n (country: any) => companyDetails?.country?.value === country?.iso\n );\n\n formik.setFieldValue(\n 'country',\n companyDetails.country\n ? country\n ? { label: country.emoji + ' ' + country.name[locale], value: country.iso }\n : null\n : initialValues.country\n );\n formik.setFieldValue(\n `tax_registration_date`,\n companyDetails.settings?.tax_registration_date\n ? companyDetails.settings?.tax_registration_date\n : ''\n );\n formik.setFieldValue(\n `company_activities`,\n companyDetails.company_activities?.map((activity) => {\n return `${activity.id}`;\n })\n );\n formik.setFieldValue(\n `sales_categories`,\n companyDetails.categories?.sales?.map((category) => {\n return `${category.id}`;\n })\n );\n formik.setFieldValue(\n `purchases_categories`,\n companyDetails.categories?.purchases?.map((category) => {\n return `${category.id}`;\n })\n );\n formik.setFieldValue('tax_number_document', companyDetails.tax_number_document || '');\n formik.setFieldValue(\n 'default_vat_enabled',\n companyDetails?.settings?.default_vat_enabled ? '1' : '0'\n );\n formik.setFieldValue('vat_registered', companyDetails?.settings?.vat_registered ? '1' : '0');\n\n formik.setFieldValue(\n 'invoice_number_method',\n companyDetails?.settings?.invoice_number_method?.toString()\n );\n formik.setFieldValue(\n 'sales_invoice_number_prefix',\n companyDetails?.settings?.sales_invoice_number_prefix\n ? companyDetails?.settings?.sales_invoice_number_prefix\n : ''\n );\n formik.setFieldValue(\n 'sales_invoice_number_start',\n companyDetails?.settings?.sales_invoice_number_start\n ? companyDetails?.settings?.sales_invoice_number_start\n : ''\n );\n formik.setFieldValue(\n 'return_sales_invoice_number_prefix',\n companyDetails?.settings?.return_sales_invoice_number_prefix\n ? companyDetails?.settings?.return_sales_invoice_number_prefix\n : ''\n );\n formik.setFieldValue(\n 'return_sales_invoice_number_start',\n companyDetails?.settings?.return_sales_invoice_number_start\n ? companyDetails?.settings?.return_sales_invoice_number_start\n : ''\n );\n\n setTax_number_document(companyDetails.tax_number_document);\n // setOriginaleData(companyDetails);\n // delete payload.account_name;\n // delete payload.bank_name;\n // delete payload.account_number;\n // delete payload.iban;\n formik.setFieldValue('account_name', companyDetails?.bank_information?.account_name || '');\n formik.setFieldValue('bank_name', companyDetails?.bank_information?.bank_name || '');\n formik.setFieldValue('account_number', companyDetails?.bank_information?.account_number || '');\n formik.setFieldValue('iban', companyDetails?.bank_information?.iban || '');\n }, [companyDetails]);\n\n const images = [\n {\n image: mainLightLogo,\n title: 'Upload a Company Logo- Light Style',\n setFunction: (f: Blob) => setmainLightLogo(f),\n },\n {\n image: mainDarkLogo,\n title: 'Upload a Company Logo- Dark Style',\n setFunction: (f: Blob) => setMainDarkLogo(f),\n },\n {\n image: mainLightMarkLogo,\n title: 'Upload a Company Logo- Light Mark',\n setFunction: (f: Blob) => setMainLogoMarkLight(f),\n },\n {\n image: mainDarkMarkLogo,\n title: 'Upload a Company Logo- Dark Mark',\n setFunction: (f: Blob) => setMainDarkMarkLogo(f),\n },\n ];\n\n const handleSelectedActivities = (activitiesFetchedData: any) => {\n if (!activitiesFetchedData || !categoriesByActivitiesList) return;\n\n if (\n JSON.stringify(values?.company_activities) !==\n JSON.stringify(\n companyDetails.company_activities?.map((activity) => {\n return `${activity.id}`;\n })\n )\n ) {\n setCategoriesByActivitiesList(activitiesFetchedData);\n\n if (activitiesFetchedData?.sales?.length > 0) {\n let selectedSalesCategories = activitiesFetchedData?.sales\n .filter((category: any) => {\n return category.is_selected;\n })\n .map((category: any) => {\n return `${category?.id}`;\n })\n .concat(\n companyDetails.categories?.sales?.map((category) => {\n return `${category.id}`;\n })\n );\n\n if (values?.company_activities?.length > 0) {\n formik.setFieldValue(\n 'sales_categories',\n Array.from(new Set([...selectedSalesCategories]))\n );\n }\n }\n\n if (activitiesFetchedData?.purchases?.length > 0) {\n let selectedPurchasesCategories = activitiesFetchedData?.purchases\n .filter((category: any) => {\n return category.is_selected;\n })\n .map((category: any) => {\n return `${category?.id}`;\n })\n .concat(\n companyDetails.categories?.purchases?.map((category) => {\n return `${category.id}`;\n })\n );\n\n if (values?.company_activities?.length > 0) {\n formik.setFieldValue(\n 'purchases_categories',\n Array.from(new Set([...selectedPurchasesCategories]))\n );\n }\n }\n } else {\n formik.setFieldValue(\n `sales_categories`,\n companyDetails.categories?.sales?.map((category) => {\n return `${category.id}`;\n })\n );\n formik.setFieldValue(\n `purchases_categories`,\n companyDetails.categories?.purchases?.map((category) => {\n return `${category.id}`;\n })\n );\n }\n };\n\n useEffect(() => {\n axiosInstance(`/categories/by-activities`, {\n params: {\n company_activities: values?.company_activities?.map((activity: any) => parseInt(activity)),\n per_page: 0,\n },\n }).then((res) => {\n if (!res.data) return;\n else handleSelectedActivities(res.data);\n });\n }, [values?.company_activities]);\n\n // reset to company values if user click on on change from manual to sequential\n useEffect(() => {\n if (values?.invoice_number_method === '1') {\n formik.setFieldValue(\n 'sales_invoice_number_prefix',\n companyDetails?.settings?.sales_invoice_number_prefix\n ? companyDetails?.settings?.sales_invoice_number_prefix\n : ''\n );\n formik.setFieldValue(\n 'sales_invoice_number_start',\n companyDetails?.settings?.sales_invoice_number_start\n ? companyDetails?.settings?.sales_invoice_number_start\n : ''\n );\n formik.setFieldValue(\n 'return_sales_invoice_number_prefix',\n companyDetails?.settings?.return_sales_invoice_number_prefix\n ? companyDetails?.settings?.return_sales_invoice_number_prefix\n : ''\n );\n formik.setFieldValue(\n 'return_sales_invoice_number_start',\n companyDetails?.settings?.return_sales_invoice_number_start\n ? companyDetails?.settings?.return_sales_invoice_number_start\n : ''\n );\n setSalesInvoiceNumberStartDisabled(true);\n setReturnSalesInvoiceNumberStartDisabled(true);\n }\n }, [values?.invoice_number_method]);\n\n const shouldAsk = () =>\n originaleData.type &&\n (Object.keys(touched).length > 0 ||\n certificate_number_document !== originaleData.certificate_number_document ||\n tax_number_document !== originaleData.tax_number_document ||\n commercial_registration_document !== originaleData.commercial_registration_document);\n\n useEffect(() => {\n setShowExitPrompt(shouldAsk());\n }, [formik]);\n\n useEffect(() => {\n return () => {\n setDisable();\n setShowExitPrompt(false);\n };\n }, []);\n\n return (\n <>\n {/* //TODO: add edit and separate view */}\n {/* {shouldAsk() && } */}\n
\n \n \n {Object.keys(formik.touched).length > 0 && (\n \n )}\n {displayRequiredSection === 1 && (\n <>\n
\n
\n
\n \n
\n
\n \n
\n {/* --------------------- Country ----------------------- */}\n
\n
\n {/* --------------------- end Country ----------------------- */}\n {/* ------------------------------ city options ------------------------------ */}\n \n
\n {/* ---------------------------- end city options ---------------------------- */}\n
\n \n
\n
\n \n
\n
\n \n
\n {companyDetails?.type && formik?.values?.type?.value && (\n
\n \n \n \n {\n formik.setFieldValue('type', value);\n if (value?.value === CompanyTypes.Corporate) {\n formik.setFieldValue('certificate_number', '');\n } else {\n formik.setTouched({ ...formik.touched, website: false });\n // formik.setFieldValue('tax_number', '');\n formik.setFieldValue('commercial_registration', '');\n }\n }}\n onBlur={() => formik.setFieldTouched('type', true)}\n options={CompanyTypesOptions}\n value={formik.values.type}\n className='react-select smaller'\n id='company_type'\n isDisabled={userCanNot('update-company') || mode === 'view'}\n />\n
\n )}\n
\n \n \n \n
\n {!values?.website?.startsWith('http:') &&\n !values?.website?.startsWith('www.') && (\n www.\n )}\n
\n \n
\n
\n
\n\n {values?.type?.value === CompanyTypes.Freelancer && (\n <>\n
\n \n
\n
\n \n
\n\n
\n \n
\n \n )}\n {values?.type?.value === CompanyTypes.Corporate && (\n <>\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n \n )}\n
\n
\n \n )}\n {displayRequiredSection === 2 && (\n <>\n
\n
\n
\n {images.map((image, i) => (\n \n image.setFunction(file)}\n maxSizeInBytes={maxFileSizeInMegaBytes * 1024}\n image={image.image}\n isDisabled={mode === 'view' ? false : true}\n />\n
\n ))}\n
\n
\n \n
    \n
  • \n
    \n
    \n \n
    \n
  • \n
  • \n
    \n
    \n \n
    \n
  • \n
\n \n \n \n )}\n {displayRequiredSection === 3 && (\n <>\n {/* --------------------- TAX registered ----------------------- */}\n\n
\n \n \n \n {\n formik.setFieldValue(\n 'vat_registered',\n event.target.checked ? '1' : '0'\n );\n }}\n disabled={mode === 'view'}\n id='vat_registered'\n />\n \n\n \n \n \n \n \n \n \n
\n {/* --------------------- end TAX registered ----------------------- */}\n\n {values?.vat_registered === '1' && (\n
\n {/* --------------------- Report type select----------------------- */}\n
\n
\n {/* --------------------- end Report type select----------------------- */}\n
\n \n
\n {/* ------------------------ Tax Registration Date ----------------------- */}\n
\n
\n \n {formatMessage({\n id: 'Tax registration date',\n })}\n \n \n formik.setFieldValue(`tax_registration_date`, date ? date : '')\n }\n maxDate={new Date()}\n onChangeRaw={(e) => {\n formik.setFieldTouched(`tax_registration_date`, true, true);\n }}\n onKeyDown={(e) => {\n e.preventDefault();\n }}\n autoComplete='off'\n disabled={mode === 'view'}\n />\n \n
\n {/* --------------------- end Tax Registration Date----------------------- */}\n\n {/* --------------------- Default vat rate ----------------------- */}\n\n
\n \n \n \n {\n formik.setFieldValue(\n 'default_vat_enabled',\n event.target.checked ? '1' : '0'\n );\n }}\n disabled={mode === 'view'}\n id='default_vat_enabled'\n />\n \n\n \n \n \n \n \n \n \n
\n {/* --------------------- end Default vat rate ----------------------- */}\n
\n\n
\n \n
\n
\n
\n )}\n \n )}\n {displayRequiredSection === 4 && (\n <>\n
\n {/* --------------------- select activities----------------------- */}\n\n
\n
\n
\n\n {/* --------------------- end select activities----------------------- */}\n {/* --------------------- select categories----------------------- */}\n\n {formik?.values?.company_activities && categoriesByActivitiesList?.sales && (\n
\n
\n )}\n {formik?.values?.company_activities && categoriesByActivitiesList?.purchases && (\n
\n
\n )}\n\n {/* --------------------- end select categories----------------------- */}\n \n \n )}\n {displayRequiredSection === 5 && (\n <>\n
\n
\n
\n \n
\n {userCanNot('e_invoicing-company') && (\n <>\n \n \n {\n \n }\n \n \n \n )}\n {values?.invoice_number_method === '2' && userCan('e_invoicing-company') && (\n <>\n
\n
\n \n \n
\n
\n \n
\n
\n {\n formik.setFieldValue(\n 'sales_invoice_number_prefix',\n `${e.target.value}`\n );\n setSalesInvoiceNumberStartDisabled(false);\n }}\n />\n
\n
\n \n
\n
\n
\n\n
\n
\n \n \n
\n
\n \n
\n
\n {\n formik.setFieldValue(\n 'return_sales_invoice_number_prefix',\n `${e.target.value}`\n );\n setReturnSalesInvoiceNumberStartDisabled(false);\n }}\n />\n
\n
\n \n
\n
\n
\n \n )}\n \n \n \n )}\n {displayRequiredSection === 6 && (\n <>\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n )}\n
\n {userCan('update-company') && mode === 'edit' && (\n {\n e.preventDefault();\n e.stopPropagation();\n // open modal to confirm if period type is changed\n if (\n companyDetails.settings?.period_type !== formik.values.report_period[0].value\n ) {\n if (formik.values.report_period[0].value === 3) {\n setWarningsConfirmation(\n formatMessage({\n id: 'Are you sure you want to change period type to be quarterly?',\n })\n );\n } else if (formik.values.report_period[0].value === 2) {\n setWarningsConfirmation(\n formatMessage({\n id: \"If you changed period type to be monthly, you won't be able switched to quarterly, until the beginning of a new quarter\",\n })\n );\n }\n setShowWarningsConfirmationModal(true);\n } else {\n formik.handleSubmit();\n }\n }}\n disabled={formik.isSubmitting}\n >\n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n )}\n {userCan('update-company') && mode === 'edit' && (\n {\n // history.push(PrivateRoutes.companiesList);\n history.push(`/c/${params.companySlug}/settings/companydetails`);\n }}\n >\n \n \n \n \n )}\n
{' '}\n \n \n \n\n {/* ---------------------warnings confirmation Modal----------------------- */}\n\n {showWarningsConfirmationModal && warningsConfirmation && (\n \n {\n setShowWarningsConfirmationModal(false);\n setLoading(false);\n }\n\n // history.push(location.pathname.replace('/invite-users', '/users'))\n }\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n {warningsConfirmation}\n
\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n formik.submitForm();\n setShowWarningsConfirmationModal(false);\n setWarningsConfirmation('');\n }}\n >\n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowWarningsConfirmationModal(false);\n setWarningsConfirmation('');\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------end warnings confirmation Modal----------------------- */}\n {/* ---------------------warnings confirmation Modal----------------------- */}\n\n {showCategoriesWarning && selectedCategory && (\n \n {\n setShowCategoriesWarning(false);\n setLoading(false);\n }\n\n // history.push(location.pathname.replace('/invite-users', '/users'))\n }\n specialContainerClass='dialog-content-container'\n specialTitleFormat={<>}\n >\n <>\n
\n \n
\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n formik.setFieldValue(\n 'sales_categories',\n formik.values.sales_categories?.concat(`${selectedCategory.id}`)\n );\n setShowCategoriesWarning(false);\n setSelectedCategory(null);\n }}\n >\n {!loading && (\n \n \n \n )}\n {loading && (\n \n \n \n \n )}\n \n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n setShowCategoriesWarning(false);\n setSelectedCategory(null);\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n \n
\n )}\n {/* ---------------------end warnings confirmation Modal----------------------- */}\n \n );\n};\n","import { FC, ReactElement } from 'react';\nimport { EditViewCompanyDetailsWrapper } from '../../EditViewCompanyDetailsWrapper';\n// import { CompanyProfile } from '../containers/CompanyProfile';\n// import { CompanyBranding } from '../containers/CompanyBranding';\n// Hide the unnecessary\n// import { CompanyContacts } from '../containers/CompanyContacts';\n// import { CompanyGroups } from '../containers/CompanyGroups';\n// import { CompanyDocuments } from '../containers/CompanyDocuments';\n// import { CompanySettings } from '../containers/CompanySettings';\n// import { CompanyIntegrations } from '../containers/CompanyIntegrations';\n// import { useParams } from 'react-router-dom';\n\ntype TAB = {\n id: number;\n tabId: string;\n tabIcon: string;\n viewcomponent: ReactElement;\n editComponent: ReactElement;\n display: boolean;\n};\n\nexport const COMPANY_DETAILS_TABS: TAB[] = [\n {\n id: 1,\n tabId: 'Company Profile',\n tabIcon: 'fa-briefcase',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n {\n id: 2,\n tabId: 'Branding',\n tabIcon: 'fa-lightbulb',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n {\n id: 3,\n tabId: 'Tax settings',\n tabIcon: 'fa-cog',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n {\n id: 4,\n tabId: 'Company Activities & Categories',\n tabIcon: 'fa-network-wired',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n {\n id: 5,\n tabId: 'Invoices configurations',\n tabIcon: 'fa-chart-bar',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n {\n id: 6,\n tabId: 'Bank information',\n tabIcon: 'fa-chart-bar',\n viewcomponent: ,\n editComponent: ,\n display: true,\n },\n // {\n // id: 3,\n // tabId: 'Tax settings',\n // tabIcon: 'fa-cog',\n // component: ,\n // editComponent: ,\n // param: 'settings',\n // editparam: 'settings/edit',\n // },\n // Hide the unnecessary\n // {\n // id: 3,\n // tabId: 'Contacts',\n // tabIcon: 'fa-envelope',\n // component: ,\n // param: 'contacts',\n // },\n // {\n // id: 4,\n // tabId: 'Groups',\n // tabIcon: 'fa-network-wired',\n // component: ,\n // param: 'groups',\n // },\n // {\n // id: 5,\n // tabId: 'Documents',\n // tabIcon: 'fa-file-alt',\n // component: ,\n // param: 'documents',\n // },\n\n // {\n // id: 7,\n // tabId: 'Integrations',\n // tabIcon: 'fa-cube',\n // component: ,\n // param: 'integrations',\n // },\n];\n\nexport const companyDetailsParamsMapView = new Map(\n COMPANY_DETAILS_TABS.map((tab: TAB) => [tab.id, { ...tab }])\n);\nexport const companyDetailsParamsMapEdit = new Map(\n COMPANY_DETAILS_TABS.map((tab: TAB) => [tab.id, { ...tab }])\n);\n\ntype CompanyDetailsHandlerProps = { currentView: number; mode: string };\n\nexport const CompanyDetailsHandler: FC = ({ currentView, mode }) => {\n // const params: any = useParams();\n // console.log(currentView);\n //TODO : fix this that it would be like seprate componnents\n if (mode === 'view') {\n return companyDetailsParamsMapView.get(currentView)?.viewcomponent || null;\n } else if (mode === 'edit') {\n return companyDetailsParamsMapEdit.get(currentView)?.editComponent || null;\n } else {\n return null;\n }\n};\n","import clsx from 'clsx';\nimport { FC, useEffect, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams, useLocation } from 'react-router-dom';\nimport Select from 'react-select';\nimport * as companiesRedux from '../../../../app/modules/companies/store/UserCompaniesRedux';\nimport { RootState } from '../../../../setup/redux/Store';\n\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport useWindowSize from '../../../hooks/useWindowSize';\nimport { CompanyModel, CompaniesDataListModel } from '../../../modules/companies/CompanyModel';\nimport { ICompany } from '../../../../app/types/companies';\nimport { SeparatorLines } from '../../../shared/Lines';\nimport { CurrentCompanyUser } from '../../../types/CompanyTypes';\nimport { COMPANY_DETAILS_TABS, CompanyDetailsHandler } from './components/TabSelection';\ntype Props = {\n mode: 'edit' | 'view';\n};\nexport const CompanyDetailsTabsWrapper: FC = ({ mode }) => {\n // const history = useHistory();\n const [isCalled, setIsCalled] = useState(false);\n const [selectedTab, setSelectedTab] = useState(1);\n const { width } = useWindowSize();\n const dispatch = useDispatch();\n const params: any = useParams();\n // const { formatMessage } = useIntl();\n // const location = useLocation();\n\n // useEffect(() => {\n // if (params.detailTab) {\n // if (mode === 'edit') {\n // setSelectedTab(companyDetailsParamsMapEdit.get(`${params?.detailTab}/edit`)?.id || 1);\n // } else {\n // setSelectedTab(companyDetailsParamsMap.get(`${params?.detailTab}`)?.id || 1);\n // }\n // }\n // }, [params.detailTab, mode]);\n\n const companies: CompaniesDataListModel = useSelector(\n (state) => state?.USER_companies.companies,\n shallowEqual\n ) as CompaniesDataListModel;\n\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n const currentCompanyUser: CurrentCompanyUser = useSelector(\n (state) => state.current.current\n ) as CurrentCompanyUser;\n\n const company = companyDetails || ({} as CompanyModel);\n\n useEffect(() => {\n if (companies?.data?.length && currentCompanyUser?.user?.roles && !isCalled) {\n setIsCalled(true);\n dispatch(\n companiesRedux.actions.getCurrentCompanyById({\n id: companyDetails?.id,\n })\n );\n }\n }, [companies, params, currentCompanyUser]);\n\n const tabOptions = COMPANY_DETAILS_TABS.filter((tab) => {\n return tab.display;\n }).map((tab) => {\n return {\n label: $t(tab.tabId),\n value: tab.id,\n };\n });\n\n return (\n <>\n
\n
\n
{company?.name || company?.slug}
\n
\n
\n

{$t('Status')}:

\n

\n

\n {company?.status && $t(company?.status)}\n

\n
\n \n\n {width > 1156 ? (\n
\n {COMPANY_DETAILS_TABS.filter((tab) => {\n return tab.display;\n }).map((tab, index) => {\n return (\n {\n setSelectedTab(tab.id);\n }}\n >\n \n {$t(tab.tabId)}\n \n );\n })}\n
\n ) : (\n setSelectedTab(value?.value || 1)}\n options={tabOptions}\n value={tabOptions.find((itm) => selectedTab === itm.value)}\n className='react-select smaller'\n id='company_type'\n />\n )}\n\n
\n \n \n
\n \n );\n};\n\nconst CompanyDetailsWrapperView: FC = () => {\n usePermissions('view-company');\n const history = useHistory();\n const location = useLocation();\n const { userCan } = usePermissions();\n\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Company Details' })}\n
\n {userCan('update-company') && (\n
\n {\n history.push(location.pathname + '/edit');\n }}\n >\n \n {formatMessage({ id: 'Edit Company Details' })}\n \n
\n )}\n
\n\n \n
\n );\n};\nconst CompanyDetailsWrapperEdit: FC = () => {\n usePermissions('update-company');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Edit Company Details' })}\n \n
\n );\n};\n\nexport { CompanyDetailsWrapperView, CompanyDetailsWrapperEdit };\n","import { FC } from 'react';\nimport { KTSVG } from '../../_metronic/helpers';\n\ntype Props = {\n onClick: Function;\n};\n\nexport const CloseButtonRedShadowed: FC = ({ onClick }) => {\n return (\n onClick()}\n >\n \n \n );\n};\n","import { FieldArray, Formik } from 'formik';\nimport { serialize } from 'object-to-formdata';\nimport { FC, useMemo, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useSelector } from 'react-redux';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport * as Yup from 'yup';\nimport Select from 'react-select';\n\nimport { axiosInstance } from '../../../../network/apis';\nimport { RootState } from '../../../../setup/redux/Store';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { emailPattern } from '../../../../_metronic/constants/patterns';\nimport { $t, FormatMessage } from '../../../../_metronic/i18n/formatMessage';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport { CloseButtonRedShadowed } from '../../../shared/CloseButtonRedShadowed';\nimport { Input } from '../../../shared/Input';\nimport { ICompany } from '../../../types/companies';\nimport { RolesDataListModel } from '../../roles/types/Roles';\n\ntype emailName = { email: string; roles: any[] };\n\nexport const InviteUsersForm: FC = () => {\n const [loading, setLoading] = useState(false);\n const { formatMessage } = useIntl();\n const location = useLocation();\n const history = useHistory();\n usePermissions('invite-user', 'Invite users');\n\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n const roles: RolesDataListModel = useSelector(\n (state) => state.roles.roles,\n shallowEqual\n ) as RolesDataListModel;\n\n const rolesOptions = useMemo(\n () =>\n roles?.data?.map((role) => ({\n label: role.name,\n value: role.id.toString(),\n })),\n [roles]\n );\n\n const validationSchema = Yup.object().shape({\n users: Yup.array()\n .of(\n Yup.object().shape({\n email: Yup.string()\n .matches(emailPattern, $t('Invalid email'))\n .email($t('Invalid email'))\n .required($t('This field is required')),\n roles: Yup.array().min(1, $t('This field is required')),\n })\n )\n .required('Must have invitees')\n .min(1, 'Minimum of 1 invitees'),\n });\n\n const inviteUsers = async (values: any, resetForm: any) => {\n setLoading(true);\n const email = values?.users?.map((user: emailName) => user.email);\n const roles = values?.users?.map((user: emailName) => user.roles.map((role) => role.value));\n const formData = serialize({ email, roles }, { indices: true });\n try {\n await axiosInstance.post(`/${companyDetails.id}/users`, formData);\n toast.success(formatMessage({ id: 'Invitation has been sent successfully!' }));\n resetForm();\n history.push(\n location.pathname.replace(\n '/company-management/users/invite-users',\n '/company-management/users'\n )\n );\n } catch (err) {\n DisplayErrors(err);\n }\n setLoading(false);\n };\n\n return (\n role.name === 'موظف' || role.name === 'Employee')\n .map((role) => ({\n value: role.id.toString(),\n label: role.name,\n })),\n },\n ],\n }}\n onSubmit={(values, { resetForm }) => inviteUsers(values, resetForm)}\n validationSchema={validationSchema}\n >\n {({ setFieldValue, values, errors, ...formik }) => {\n return (\n \n {({ push, remove }) => {\n return (\n \n
\n
{formatMessage({ id: 'Email' })}
\n
{formatMessage({ id: 'Roles' })}
\n
\n \n
\n {values?.users?.map((user, i, arr) => {\n const error: emailName[] = errors?.users as emailName[];\n const touched = formik.touched.users;\n const currentEmail = values?.users?.[i]['email'];\n const allEmails = values?.users?.map((user) => user.email);\n const occurences = allEmails.filter(\n (email) => currentEmail.length > 0 && email === currentEmail\n );\n const err =\n occurences.length > 1\n ? formatMessage({ id: 'This email is duplicate' })\n : '';\n return (\n \n
\n \n
\n
\n ({\n ...base,\n padding: '0.1rem 0.5rem',\n // width: '100%',\n // minWidth: '20rem',\n maxWidth: '40rem',\n }),\n }}\n // name={`users[${i}][roles]`}\n // defaultValue={roles?.data\n // ?.filter(\n // (role) => role.name === 'موظف' || role.name === 'Employee'\n // )\n // .map((role) => ({\n // value: role.id.toString(),\n // label: role.name,\n // }))}\n isMulti\n onChange={(selection: any) => {\n setFieldValue(`users[${i}][roles]`, selection);\n }}\n />\n {error?.length &&\n error?.[i] &&\n error?.[i].roles &&\n touched?.[i]?.roles &&\n user.roles.length === 0 && (\n
\n \n {error?.[i].roles}\n \n
\n )}\n
\n {arr.length > 1 && (\n
\n remove(i)} />\n
\n )}\n
\n );\n })}\n \n \n \n push({\n email: '',\n roles: roles?.data\n ?.filter((role) => role.name === 'موظف' || role.name === 'Employee')\n .map((role) => ({\n value: role.id.toString(),\n label: role.name,\n })),\n })\n }\n >\n \n \n \n formik.submitForm()}\n >\n \n \n \n );\n }}\n
\n );\n }}\n \n );\n};\n","import { FC, useEffect } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { RootState } from '../../../setup';\nimport AhadDialog from '../../../setup/shared/AhadDialog';\n// import { PrivateRoutes } from '../../../_metronic/constants/ROUTES';\n\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { Portal } from '../../../_metronic/partials';\nimport { actions } from '../../store/ModalRedux';\nimport { ICompany } from '../../types/companies';\nimport { ModalName } from '../../types/types';\nimport { InviteUsersForm } from './InviteUsers/InviteUsers';\nimport { usePermissions } from '../../hooks/usePermissions';\n\nconst UsersAdd: FC = () => {\n // Open the user add modal\n useEffect(() => {\n dispatch(actions.setActiveModal('invite-user'));\n }, []);\n\n const dispatch = useDispatch();\n const history = useHistory();\n const location = useLocation();\n\n const modal: ModalName = useSelector(\n (state) => state.modal.activeModal,\n shallowEqual\n ) as ModalName;\n\n const companyDetails: ICompany = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as ICompany;\n\n return (\n <>\n
\n
\n {modal === 'invite-user' && (\n \n \n history.push(\n location.pathname.replace(\n '/company-management/users/invite-users',\n '/company-management/users'\n )\n )\n }\n specialContainerClass='dialog-content-container-add-user'\n specialTitleFormat={\n <>\n {' '}\n \n {companyDetails?.name || companyDetails?.slug}\n \n \n }\n >\n \n \n \n )}\n
\n \n );\n};\n\nconst UsersAddWrapper: FC = () => {\n usePermissions(['invite-user']);\n const { formatMessage } = useIntl();\n return (\n
\n {/* { title: 'Users', path: PrivateRoutes.Users, isActive: true } */}\n {formatMessage({ id: 'Users' })}\n \n
\n );\n};\n\nexport { UsersAddWrapper };\n","/* eslint-disable import/first */\nimport { useEffect, useState } from 'react';\nimport ReactSummernote from 'react-summernote';\nimport 'react-summernote/dist/react-summernote.css';\nimport $ from 'jquery';\nwindow.$ = $;\nwindow.jQuery = $;\n// Import bootstrap(v3 or v4) dependencies\nimport 'bootstrap/js/dist/modal';\n// import $ from 'jquery';\nimport 'bootstrap/js/dist/dropdown';\nimport 'bootstrap/js/dist/tooltip';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../network/apis';\nimport { allowedImagesTypes } from '../../_metronic/constants/general';\n\nfunction RichText({ name, setText, text }) {\n const [html, setHtml] = useState('');\n const [display, setDipslay] = useState(false);\n\n useEffect(() => {\n if (html && html !== text) {\n setText(html);\n }\n }, [html]);\n\n useEffect(() => {\n if (text && text !== html) {\n setHtml(text);\n }\n }, []);\n\n useEffect(() => {\n if (display) {\n $(`#${name} .dropdown-toggle`).dropdown();\n }\n }, [display]);\n\n useEffect(() => {\n setTimeout(() => {\n setDipslay(true);\n }, 1000);\n });\n\n async function onImageUpload(fileList, addToHtml) {\n for (let file of fileList) {\n if (!allowedImagesTypes.includes(file?.type)) {\n toast.error('');\n return;\n } else {\n const formData = new FormData();\n formData.append('file', fileList[0]);\n await axiosInstance.post('/media', formData).then((res) => {\n addToHtml(res.data.data.path);\n });\n }\n }\n }\n\n return (\n
\n {display && (\n setHtml(content)}\n // This solution is by meetalodariya in the issues on github\n // To Set Default value on load because value=\"Default value\" didn't work\n // https://github.com/summernote/react-summernote/issues/17\n onImageUpload={() => onImageUpload()}\n onInit={() => {\n const editArea = document.querySelector(`#${name}`).querySelector('.note-editable');\n editArea.innerHTML = text;\n }}\n value={html}\n />\n )}\n
\n );\n}\n\nexport default RichText;\n","import clsx from 'clsx';\nimport { FC, useEffect, useRef, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../../../network/apis';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport RichText from '../../../shared/RichText';\n\nconst AboutUsContent: FC = () => {\n const [textEn, setTextEn] = useState('
');\n const [textAr, setTextAr] = useState('
');\n const [loading, setLoading] = useState(true);\n const [isSending, setIsSending] = useState(false);\n const [originalArText, setOriginalArText] = useState('
');\n const [originalEnText, setOriginalEnText] = useState('
');\n const [originalContent, setOriginalContent] = useState({});\n const { formatMessage, locale } = useIntl();\n const someClickableSpace = useRef(null);\n\n useEffect(() => {\n getData();\n }, []);\n\n const getData = () => {\n axiosInstance\n .get('/pages/about')\n .then((res) => {\n setTextAr(res.data.body.ar);\n setOriginalArText(res.data.body.ar);\n\n setTextEn(res.data.body.en);\n setOriginalEnText(res.data.body.en);\n\n setOriginalContent(res.data);\n })\n .catch((err) => console.error(err))\n .finally(() => {\n setLoading(false);\n });\n };\n\n const saveNewContent = async () => {\n try {\n setIsSending(true);\n\n await axiosInstance.put('/admin/pages/about', {\n ...originalContent,\n body: { ar: textAr, en: textEn },\n });\n toast.success(formatMessage({ id: 'The changes have been successfully made!' }));\n setOriginalArText(textAr);\n setOriginalEnText(textEn);\n } catch (error: any) {\n DisplayErrors(error);\n }\n setIsSending(false);\n };\n\n return (\n
\n {!loading && (\n <>\n
\n
\n

\n \n \n

\n
\n \n
\n
\n
\n

\n \n \n

\n
\n \n
\n
\n
\n
\n saveNewContent()}\n >\n {$t('Save')}\n \n
\n \n )}\n
\n );\n};\n\nconst AdminAboutUsWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'About us' })}\n\n \n
\n );\n};\n\nexport { AdminAboutUsWrapper };\n","import clsx from 'clsx';\nimport { FC, useEffect, useRef, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../../../network/apis';\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport RichText from '../../../shared/RichText';\n\nconst TermsConditionsContent: FC = () => {\n const [textEn, setTextEn] = useState('
');\n const [textAr, setTextAr] = useState('
');\n const [loading, setLoading] = useState(true);\n const [isSending, setIsSending] = useState(false);\n const [originalArText, setOriginalArText] = useState('
');\n const [originalEnText, setOriginalEnText] = useState('
');\n const [originalContent, setOriginalContent] = useState({});\n const { formatMessage, locale } = useIntl();\n const someClickableSpace = useRef(null);\n\n useEffect(() => {\n getData();\n }, []);\n\n const getData = () => {\n axiosInstance\n .get('/pages/terms')\n .then((res) => {\n setTextAr(res.data.body.ar);\n setOriginalArText(res.data.body.ar);\n\n setTextEn(res.data.body.en);\n setOriginalEnText(res.data.body.en);\n\n setOriginalContent(res.data);\n })\n .catch((err) => console.error(err))\n .finally(() => {\n setLoading(false);\n });\n };\n\n const saveNewContent = async () => {\n try {\n setIsSending(true);\n\n await axiosInstance.put('/admin/pages/terms', {\n ...originalContent,\n body: { ar: textAr, en: textEn },\n });\n toast.success(formatMessage({ id: 'The changes have been successfully made!' }));\n setOriginalArText(textAr);\n setOriginalEnText(textEn);\n } catch (error: any) {\n DisplayErrors(error);\n }\n setIsSending(false);\n };\n\n return (\n
\n {!loading && (\n <>\n
\n
\n

\n \n \n

\n
\n \n
\n
\n
\n

\n \n \n

\n
\n \n
\n
\n
\n
\n saveNewContent()}\n >\n {$t('Save')}\n \n
\n \n )}\n
\n );\n};\n\nconst AdminTermsConditionsWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'About us' })}\n\n \n
\n );\n};\n\nexport { AdminTermsConditionsWrapper };\n","import { axiosInstance } from '../../../../../network/apis';\nimport { ID } from '../../../../../_metronic/constants/paths';\n\nexport function getAllVatRates({ params }: { params?: any }) {\n return axiosInstance.get(`/admin/vat_rates`, {\n params,\n });\n}\n\nexport function getVatRate({ vatRateId }: { vatRateId: ID }) {\n return axiosInstance.get(`/admin/vat_rates/${vatRateId}`);\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { getAllVatRates, getVatRate } from './VatRatesCRUD';\n\nexport enum IVatRatesActionTypes {\n GET_VAT_RATES = 'GET_VAT_RATES',\n FULL_FILL_VAT_RATES = 'FULL_FILL_VAT_RATES',\n GET_VAT_RATE = 'GET_VAT_RATE',\n FULL_FILL_VAT_RATE = 'FULL_FILL_VAT_RATE',\n}\n\nconst initialVatRates: IVatRateState = {\n vat_rates: undefined,\n vat_rate: undefined,\n};\n\nexport interface IVatRateState {\n vat_rates?: any;\n vat_rate?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'SYS_vat_rates', whitelist: [''] },\n (state: IVatRateState = initialVatRates, action: ActionWithPayload) => {\n switch (action.type) {\n case IVatRatesActionTypes.FULL_FILL_VAT_RATES:\n return { ...state, vat_rates: action.payload?.vat_rates };\n case IVatRatesActionTypes.FULL_FILL_VAT_RATE:\n return { ...state, vat_rate: action.payload?.vat_rate };\n default:\n return state;\n }\n }\n);\n\ntype Search = { params?: any };\n\nexport const actions = {\n getVatRates: ({ params }: Search) => ({\n type: IVatRatesActionTypes.GET_VAT_RATES,\n payload: { params },\n }),\n fullFillVatRates: ({ vat_rates }: IVatRateState) => ({\n type: IVatRatesActionTypes.FULL_FILL_VAT_RATES,\n payload: { vat_rates },\n }),\n getVatRate: ({ vatRateId }: any) => ({\n type: IVatRatesActionTypes.GET_VAT_RATE,\n payload: { vatRateId },\n }),\n fullFillVatRate: ({ vat_rate }: IVatRateState) => ({\n type: IVatRatesActionTypes.FULL_FILL_VAT_RATE,\n payload: { vat_rate },\n }),\n};\n\nexport function* getVatRates(action: ActionWithPayload) {\n try {\n const { data } = yield getAllVatRates({\n params: action.payload?.params,\n });\n yield put(actions.fullFillVatRates({ vat_rates: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* getCurrentVatRate(action: ActionWithPayload) {\n try {\n const { data } = yield getVatRate({\n vatRateId: action.payload?.vatRateId,\n });\n yield put(actions.fullFillVatRate({ vat_rate: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IVatRatesActionTypes.GET_VAT_RATES, getVatRates);\n yield takeLatest(IVatRatesActionTypes.GET_VAT_RATE, getCurrentVatRate);\n}\n","import { FC, useEffect, useMemo, useState } from 'react'; //useMemo,\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom'; //, useParams\n\n// import * as TableRedux from '../../../store/TableRedux';\nimport * as VatRatesRedux from '../../../modules/admins/vat-rates/store/VatRatesRedux';\n\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport { RootState } from '../../../../setup/redux/Store';\nimport { TableActions, TableData, TableSelection } from '../../../shared/tables/classes'; // DateViewer,\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { LOCALE } from '../../../../_metronic/helpers/typescript';\n\nimport {\n IVatRate,\n VatRatesDataListModel,\n} from '../../../modules/admins/vat-rates/types/VatRatesModel';\nimport {\n // TransactionTypeMap,\n VatRateTypesMap,\n FilterVatRateTypeMap,\n // TaxAbilityTypesMap,\n} from '../../../../_metronic/constants/general';\nimport { SerachFilters } from '../../../shared/SearchFilters';\nimport * as TableRedux from '../../../store/TableRedux';\nimport { toSelectOption } from '../../../../_metronic/helpers/functions/Select';\n\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { EditItem } from '../../../shared/tables/actions/EditItem';\nimport { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\nimport { CommonTable2 } from '../../../shared/tables/Table2';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { Button } from '../../../shared/Button';\nimport { Portal } from '../../../../_metronic/partials';\nimport AhadDialog from '../../../../setup/shared/AhadDialog';\nimport { axiosInstance } from '../../../../network/apis';\nimport { toast } from 'react-toastify';\n\nconst TABLE_NAME = 'sys_vat_rates_list';\n\nconst headerItems = [\n { id: 'ID', maxWidth: 150, width: 150 },\n { id: 'Code', maxWidth: 240, width: 230 },\n { id: 'Code type', maxWidth: 240, width: 230 },\n { id: 'Account type', maxWidth: 240, width: 230 },\n { id: 'Code name', maxWidth: 240, width: 230 },\n // { id: 'Tax ability', maxWidth: 230, width: 230 },\n { id: 'Tax rate', maxWidth: 230, width: 230 },\n // { id: 'Type of Template', maxWidth: 400, width: 400 },\n // { id: 'Creation Date', maxWidth: 200, width: 200 },\n { id: 'Actions', maxWidth: 150, width: 150 },\n];\n\nexport const VatRates: FC = () => {\n return (\n
\n \n
\n );\n};\n\nexport const VatRatesTable: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const { formatMessage, locale } = useIntl(); //\n // const params: any = useParams();\n const [deleteItemId, setDeleteItemId] = useState(null);\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n const [confirmationEdit, setConfirmationEdit] = useState<{\n show: boolean;\n id: number | null;\n message: string;\n status?: boolean | null;\n }>({\n show: false,\n id: null,\n message: '',\n status: null,\n });\n /* -------------------------- Bring Data from store ------------------------- */\n\n const vatRatesList: VatRatesDataListModel = useSelector((state) => {\n return state.SYS_vat_rates.vat_rates;\n }, shallowEqual) as VatRatesDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n const typesOptions = useMemo(\n () =>\n Array.from(FilterVatRateTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n // const TransactionTypesOptions = useMemo(\n // () =>\n // Array.from(TransactionTypeMap.values())\n // .flat()\n // .map((option) => toSelectOption(option, locale)),\n // [locale]\n // );\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n VatRatesRedux.actions.getVatRates({\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n const searchFilterHandler = () => {\n if (table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n\n useEffect(() => {\n RequestData();\n }, [table?.page, table?.pagination]);\n\n const toggleStatus = (id: number, status: boolean) => {\n const formData = new FormData();\n formData.append('is_active', status ? '1' : '0');\n formData.append('_method', 'PUT');\n\n axiosInstance\n .post(`/admin/vat_rates/${id}/set-active`, formData)\n .then((response) => {\n toast.success(formatMessage({ id: 'Vat Rate has been updated successfully!' }), {\n toastId: 'Vat Rate has been updated successfully!',\n });\n RequestData();\n })\n .catch((err) => {\n const data = err?.response?.data?.errors;\n const mergedErrors: any = Object.values(data ?? {}).reduce(\n (accumulator: any, currentValue) => accumulator.concat(currentValue),\n []\n );\n mergedErrors.map((error: string, index: number) => toast.error(error, { toastId: index }));\n });\n };\n\n const rowItems = vatRatesList?.data.map((vatRate: IVatRate, index) => {\n const VatRateTypesMapTranslated = {\n text: formatMessage({ id: `${VatRateTypesMap.get(vatRate.type)}` }) || '',\n };\n const TransactionTypesMapTranslated = {\n text: vatRate.name ? vatRate.name[locale as LOCALE] : '',\n };\n // const TaxAbilityTypesMapTranslated = {\n // text: formatMessage({ id: `${TaxAbilityTypesMap.get(vatRate.tax_ability)}` }) || '',\n // };\n return [\n new TableSelection({\n display: userCan('delete-template'),\n id: vatRate.id,\n tableName: TABLE_NAME,\n }),\n new TableData({ text: `${vatRate.id}` }),\n new TableData({ text: vatRate?.code }),\n new TableData({\n text: `${vatRate?.code_type[locale as LOCALE] ? vatRate?.code_type[locale as LOCALE] : ''}`,\n }),\n new TableData(VatRateTypesMapTranslated),\n new TableData(TransactionTypesMapTranslated),\n // new TableData(TaxAbilityTypesMapTranslated),\n new TableData({ text: vatRate?.tax_rate }),\n // new TableData({ text: vatRate?.description[locale as LOCALE] }),\n new TableActions(\n (\n
\n history.push(`/admin/vat-rates/${vatRate.id}`)}\n />\n {(vatRate.type === 1 || vatRate.type === 2) && (\n history.push(`/admin/vat-rates/${vatRate.id}/edit`)}\n />\n )}\n {/* */}\n RequestData()}\n />\n\n {vatRate?.is_active === 1 && (\n
\n {\n setConfirmationEdit({\n show: true,\n id: vatRate.id as number | null,\n message:\n 'When this code is disabled, users will not be able to use it to create their invoices, are you sure you want to continue?',\n status: false,\n });\n }}\n >\n \n \n
\n )}\n\n {vatRate?.is_active === 0 && (\n
\n {\n // toggleStatus(vatRate.id, true);\n setConfirmationEdit({\n show: true,\n id: vatRate.id as number | null,\n message:\n 'When this code is enabled, users will be able to use it to create their invoices, are you sure you want to continue?',\n status: true,\n });\n }}\n >\n \n \n
\n )}\n
\n )\n ),\n ];\n });\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(VatRatesRedux.actions.fullFillVatRates({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n return (\n <>\n {' '}\n {confirmationEdit.show && (\n \n {\n setConfirmationEdit({ show: false, id: null, message: '' });\n }}\n specialContainerClass='dialog-content w-600px'\n >\n
\n {\n
\n \n
\n

\n \n

\n
\n
\n }\n\n <>\n
\n
\n
\n {\n e.preventDefault();\n e.stopPropagation();\n toggleStatus(\n confirmationEdit.id as number,\n confirmationEdit.status as boolean\n );\n setConfirmationEdit({ show: false, id: null, message: '' });\n }}\n >\n \n \n \n \n
\n
\n {\n setConfirmationEdit({ show: false, id: null, message: '' });\n }}\n type='button'\n id='kt_login_signup_form_cancel_button'\n className='btn btn-sm btn-danger btn-shadow btn-danger-shadow w-100 badge-gray shadowed'\n >\n \n \n
\n
\n
\n \n
\n \n
\n )}\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n {/* ------------------------ start Action button ------------------------ */}\n\n
\n {/* begin::Menu */}\n\n \n \n \n\n {/* begin::Menu 2 */}\n \n {/* begin::Menu item */}\n
\n
\n {$t('Actions')}{' '}\n
\n
\n {/* end::Menu item */}\n {/* begin::Menu separator */}\n
\n {/* end::Menu separator */}\n {/* begin::Menu item */}\n
\n {\n history.push(`/admin/vat-rates/create`);\n }}\n nameId='Create Vat Rate'\n testid='create-vat-code-button'\n faIconMenu={true}\n />\n
{' '}\n {/* end::Menu item */}\n
\n {/* end::Menu 2 */}\n {/* end::Menu */}\n
\n\n {/* ------------------------ End Action button ------------------------ */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'type',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'type',\n })\n ),\n placeholderId: 'Account type',\n options: typesOptions,\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n\n vatRate.id) || []}\n meta={vatRatesList}\n />\n \n \n );\n};\n\nconst VatRatesWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Vat Rates' })}\n {/* \n {formatMessage({ id: 'Vat Rates' })}\n */}\n \n
\n );\n};\n\nexport { VatRatesWrapper };\n","import { Meta } from '../../../../types/Meta';\n\nexport enum VatRatesTypes {\n 'Income' = 1,\n 'Expenditure' = 2,\n 'Income return' = 3,\n 'Expenditure return' = 4,\n}\nexport enum IncomeCodeTypesTypes {\n 'Sales subject to the basic ratio 15%' = 1,\n 'Sales subject to the basic ratio 5%' = 1.1,\n 'Sales tax for government agencies' = 1.2,\n 'Sales that state bears its tax' = 2,\n 'Zero-rated sales' = 3,\n 'Exports' = 4,\n 'Exempt sales' = 5,\n 'Out of the range' = 0,\n}\n\nexport enum ExpenditureCodeTypesTypes {\n 'Purchases subject to the basic ratio 15%' = 7,\n 'Purchases subject to the basic ratio 5%' = 7.1,\n 'VAT paid by customs 15%' = 8,\n 'VAT paid by customs 5%' = 8.1,\n 'Reverse charge purchases 15%' = 9,\n 'Reverse charge purchases 5%' = 9.1,\n 'Zero-rated purchases' = 10,\n 'Exempt purchases' = 11,\n 'VAT cannot be deducted' = 0,\n}\n\nexport enum TransactionTypes {\n 'Domestic' = 1,\n 'International' = 2,\n 'GCC' = 3,\n}\nexport enum TaxAbilityTypes {\n 'Taxable' = 1,\n 'Zero' = 2,\n 'Exempt' = 3,\n}\nexport enum CategoryTypes {\n 'Basic' = 1,\n 'Optional' = 2,\n}\n\nexport interface IVatRate {\n is_active: number;\n id: number;\n code: string;\n name: { ar: string; en: string };\n code_type: {\n ar: string;\n en: string;\n };\n description: {\n ar: string;\n en: string;\n };\n type: number;\n transaction_type: number;\n country: string;\n tax_ability: number;\n tax_rate: string;\n created_at: string;\n code_type_index: number;\n rules: [];\n categories: [\n {\n [key: string]: string;\n }\n ];\n can_delete: boolean;\n}\n\nexport interface VatRatesDataListModel extends Meta {\n data: Array;\n}\n","import { SelectOptions } from '../app/types/SelectOptions';\n\nexport function createSelectOptions(array: any[], label = 'name', value = 'id'): SelectOptions {\n return (\n array?.map((item) => ({\n label: item[label],\n value: item[value],\n })) || []\n );\n}\n","import { SelectOptions } from '../app/types/SelectOptions';\n\nexport function createOptions(\n array: any[],\n label = 'name',\n value = 'id',\n is_return_code = 'is_return_code'\n): SelectOptions {\n return (\n array?.map((item) => ({\n ...item,\n label: item[label],\n value: item[value],\n is_return_code: item?.[is_return_code] ?? false,\n })) || []\n );\n}\n","export function debounce(func, wait, immediate) {\n let timeout;\n\n return (...args) => {\n let context = this;\n\n let later = () => {\n timeout = null;\n if (!immediate) func.apply(context, args);\n };\n\n let callNow = immediate && !timeout;\n\n clearTimeout(timeout);\n\n timeout = setTimeout(later, wait);\n\n if (callNow) func.apply(context, args);\n };\n}\n","type IInitialConfigPayload = {\n type: Number;\n};\n\nexport function initialConfigPayload(values: any): IInitialConfigPayload {\n const payload: IInitialConfigPayload = {\n ...values,\n };\n return payload;\n}\n","import { useMemo } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport * as Yup from 'yup';\n\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../../_metronic/helpers/functions';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { commonValidations } from '../../../../_metronic/constants/GeneralValidations';\n\nimport {\n VatRatesTypes,\n TransactionTypes,\n TaxAbilityTypes,\n CategoryTypes,\n} from '../../../modules/admins/vat-rates/types/VatRatesModel';\n\nconst useConfigureVatRatesSchema = () => {\n const { formatMessage } = useIntl();\n\n /* ----------------------------- formik starter ----------------------------- */\n\n const vatRatesInitialValues: { [key: string]: any } = useMemo(\n () => ({\n type: {\n value: VatRatesTypes.Income,\n label: formatMessage({ id: 'Income' }),\n },\n name: { ar: '', en: '' },\n name_ar: '',\n name_en: '',\n code: '',\n code_type: null,\n description_en: '',\n description_ar: '',\n transaction_type: {\n value: TransactionTypes.Domestic,\n label: formatMessage({ id: 'Domestic' }),\n },\n country: { value: 'SA', label: '🇸🇦 المملكة العربية السعودية' },\n tax_ability: {\n value: TaxAbilityTypes.Taxable,\n label: formatMessage({ id: 'Taxable' }),\n },\n return_value: 0,\n tax_rate: '',\n basic_categories: [\n {\n category_error_message_ar: '',\n category_error_message_en: '',\n category: [],\n category_type: [\n {\n value: CategoryTypes.Basic,\n label: formatMessage({ id: 'Basic' }),\n },\n ],\n },\n ],\n }),\n [formatMessage]\n );\n\n const required = $t('This field is required');\n\n const vatRatesValidationSchema = useMemo(\n () =>\n Yup.object().shape({\n name_ar: Yup.string().required(required),\n name_en: Yup.string().required(required),\n code: Yup.string().required(required),\n code_type: Yup.object().required(required),\n country: Yup.object().required(required),\n type: Yup.object().required(required),\n transaction_type: Yup.object().required(required),\n description_en: Yup.string()\n .required(required)\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_en',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n description_ar: Yup.string()\n .required(required)\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_ar',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n tax_ability: Yup.object().required(required),\n tax_rate: Yup.number()\n .typeError($t('Only number are allowed!'))\n .required(required)\n .test('tax_rate', $t('You must choose a number from 0 to 100'), (val: any) => {\n return val >= 0 && val <= 100;\n })\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n\n basic_categories: Yup.array()\n .of(\n Yup.object().shape({\n category: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n category_type: Yup.array()\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n category_error_message_ar: Yup.string().when('category_type', {\n is: (val: any) => {\n return val && val.length > 0 && val[0].value === 2;\n },\n then: Yup.string()\n .required(required)\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'category_error_message',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n otherwise: Yup.string().nullable(),\n }),\n category_error_message_en: Yup.string().when('category_type', {\n is: (val: any) => {\n return val && val.length > 0 && val[0].value === 2;\n },\n then: Yup.string()\n .required(required)\n .trim()\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'category_error_message',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n otherwise: Yup.string().nullable(),\n }),\n })\n )\n .required(required)\n .min(1, formatMessage({ id: 'Please choose at least one' })),\n }),\n [formatMessage]\n );\n\n return {\n vatRatesInitialValues,\n vatRatesValidationSchema,\n };\n};\n\nexport { useConfigureVatRatesSchema };\n","/* eslint-disable jsx-a11y/alt-text */\nimport { FC, useEffect, useState, useMemo, useCallback } from 'react';\nimport { useIntl } from 'react-intl'; //FormattedMessage,\nimport { Prompt, useHistory, useParams } from 'react-router-dom'; //useLocation,\nimport { serialize } from 'object-to-formdata';\nimport { FieldArray, Form, FormikProvider, useFormik } from 'formik';\nimport { KTSVG } from '../../../../_metronic/helpers';\n\n// import { Alert } from 'react-bootstrap-v5';\nimport { components, OptionProps } from 'react-select';\nimport AsyncSelect from 'react-select/async';\nimport Select from 'react-select';\nimport { toast } from 'react-toastify';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport * as Yup from 'yup';\n\nimport 'react-intl-tel-input/dist/main.css';\n\nimport {\n BasicCategoriesItemsErrors,\n BasicCategoriesItemsTouched,\n} from './BasicCategoriesItemsErrors';\n\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\nimport { createSelectOptions } from '../../../../utils/createSelectOptions';\nimport { createOptions } from '../../../../utils/createOptions';\nimport { debounce } from '../../../../utils/debounce';\n\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\n// import { PageTitle } from '../../../../_metronic/layout/core';\nimport { SeparatorLines } from '../../../shared/Lines';\n\nimport {\n VatRateTypeMap,\n TransactionTypeMap,\n TaxAbilityTypeMap,\n CategoryTypeMap,\n IncomeCodeTypeMap,\n ExpenditureCodeTypeMap,\n FilterVatRateTypeMap,\n} from '../../../../_metronic/constants/general'; //DocumentDirection,\nimport { toSelectOption } from '../../../../_metronic/helpers/functions/Select';\n\nimport { axiosInstance } from '../../../../network/apis';\nimport { useQuery } from 'react-query';\nimport clsx from 'clsx';\nimport { countires } from '../../../../_metronic/constants/countries';\n\nimport { initialConfigPayload } from '../../../modules/admins/vat-rates/helpers/vatRatesConfigHelpers';\nimport { useConfigureVatRatesSchema } from './useConfigureVatRatesSchema';\n\nimport { RootState } from '../../../../setup/redux/Store';\nimport * as VatRateRedux from '../../../modules/admins/vat-rates/store/VatRatesRedux';\nimport { IVatRate } from '../../../modules/admins/vat-rates/types/VatRatesModel';\n\nimport { Input } from '../../../shared/Input';\nimport { Label } from '../../../shared/Label';\nimport { TextArea } from '../../../shared/textarea';\nimport { ErrorMessage } from '../../../shared/ErrorMessage';\n\nimport SaveCancelBtnsGroup from '../../../shared/SaveCancelBtnsGroup';\nimport useExitPrompt from '../../../hooks/useExitPrompt/useExitPrompt';\nimport useWindowSize from '../../../hooks/useWindowSize';\n\ntype Props = {\n mode: 'create' | 'edit' | 'view';\n displayRequiredSection?: number | string;\n};\nconst headerItems = [\n { id: 'Categories', minWidth: 250, width: 250, maxWidth: 250 },\n { id: 'Error message settings', minWidth: 250, width: 250, maxWidth: 250 },\n { id: 'Actions', minWidth: 75, width: 75, maxWidth: 75 },\n];\n\nexport const ConfigNewVatRate: FC = ({ mode, displayRequiredSection }) => {\n const { setShowExitPrompt, setDisable } = useExitPrompt(false);\n\n const history = useHistory();\n const { formatMessage, locale } = useIntl();\n const dispatch = useDispatch();\n const params: any = useParams();\n const { width } = useWindowSize();\n\n const [loading, setLoading] = useState(false);\n const locales = locale === 'en' ? ['en', 'ar'] : ['ar', 'en'];\n\n const { vatRatesInitialValues, vatRatesValidationSchema } = useConfigureVatRatesSchema();\n const [categoriesOptions, setCategoriesOptions] = useState(null);\n\n const createVatRate = async (values: any, resetForm: any) => {\n setLoading(true);\n const payload: { [key: string]: any } = initialConfigPayload(\n mode === 'create'\n ? {\n ...values,\n type: values.type.value,\n }\n : {}\n );\n\n // console.log(values);\n\n if (mode === 'create') {\n payload['name[ar]'] = values.name_ar;\n payload['name[en]'] = values.name_en;\n payload['description'] = { ar: '', en: '' };\n payload['description']['ar'] = values.description_ar.trim();\n payload['description']['en'] = values.description_en.trim();\n payload['type'] = values.type.value;\n payload['code_type'] = values.code_type.value;\n payload['transaction_type'] = values.transaction_type.value;\n payload['tax_ability'] = values.tax_ability.value;\n payload['country'] = values.country.value ? values.country.value.toLowerCase() : '';\n let rulesArray = [];\n if (values?.code_expiration_date && values?.code_expiration_date[0]) {\n rulesArray.push(values?.code_expiration_date?.[0].value);\n }\n if (values?.code_amount_range && values?.code_amount_range[0]) {\n rulesArray.push(values?.code_amount_range?.[0].value);\n }\n if (values?.third_party_nationalities && values?.third_party_nationalities[0]) {\n rulesArray.push(values?.third_party_nationalities?.[0].value);\n }\n if (values?.third_party_type && values?.third_party_type[0]) {\n rulesArray.push(values?.third_party_type?.[0].value);\n }\n if (values?.transaction_date && values?.transaction_date[0]) {\n rulesArray.push(values?.transaction_date?.[0].value);\n }\n if (values?.tax_registration && values?.tax_registration[0]) {\n rulesArray.push(values?.tax_registration?.[0].value);\n }\n\n payload['rules'] = rulesArray;\n\n let categories = values.basic_categories.map((basic_category: any) => {\n if (basic_category?.category_type?.[0]?.value === 1) {\n return {\n id: basic_category?.category?.[0]?.value,\n is_basic: basic_category?.category_type?.[0]?.value === 1 ? 1 : 0,\n info_msg: {\n ar: basic_category?.category_error_message_ar\n ? basic_category?.category_error_message_ar\n : '',\n en: basic_category?.category_error_message_en\n ? basic_category?.category_error_message_en\n : '',\n },\n };\n } else {\n return {\n id: basic_category?.category?.[0]?.value,\n is_basic: basic_category?.category_type?.[0]?.value === 1 ? 1 : 0,\n warning_msg: {\n ar: basic_category?.category_error_message_ar\n ? basic_category?.category_error_message_ar\n : '',\n en: basic_category?.category_error_message_en\n ? basic_category?.category_error_message_en\n : '',\n },\n };\n }\n });\n\n payload['categories'] = categories;\n\n delete payload['basic_categories'];\n delete payload['code_expiration_date'];\n delete payload['code_amount_range'];\n delete payload['third_party_nationalities'];\n delete payload['third_party_type'];\n delete payload['transaction_date'];\n delete payload['tax_registration'];\n } else {\n let rulesArray = [];\n if (values.code_expiration_date && values.code_expiration_date[0]) {\n rulesArray.push(values.code_expiration_date?.[0].value);\n }\n if (values.code_amount_range && values.code_amount_range[0]) {\n rulesArray.push(values.code_amount_range?.[0].value);\n }\n if (values.third_party_nationalities && values.third_party_nationalities[0]) {\n rulesArray.push(values.third_party_nationalities?.[0].value);\n }\n if (values.third_party_type && values.third_party_type[0]) {\n rulesArray.push(values.third_party_type?.[0].value);\n }\n if (values.transaction_date && values.transaction_date[0]) {\n rulesArray.push(values.transaction_date?.[0].value);\n }\n if (values.tax_registration && values.tax_registration[0]) {\n rulesArray.push(values.tax_registration?.[0].value);\n }\n\n payload['rules'] = rulesArray;\n\n let categories = values.basic_categories.map((basic_category: any) => {\n if (basic_category?.category_type?.[0]?.value === 1) {\n return {\n id: basic_category?.category?.[0]?.value,\n is_basic: basic_category?.category_type?.[0]?.value === 1 ? 1 : 0,\n info_msg: {\n ar: basic_category?.category_error_message_ar\n ? basic_category?.category_error_message_ar\n : '',\n en: basic_category?.category_error_message_en\n ? basic_category?.category_error_message_en\n : '',\n },\n };\n } else {\n return {\n id: basic_category?.category?.[0]?.value,\n is_basic: basic_category?.category_type?.[0]?.value === 1 ? 1 : 0,\n warning_msg: {\n ar: basic_category?.category_error_message_ar\n ? basic_category?.category_error_message_ar\n : '',\n en: basic_category?.category_error_message_en\n ? basic_category?.category_error_message_en\n : '',\n },\n };\n }\n });\n\n payload['categories'] = categories;\n\n delete payload['basic_categories'];\n delete payload['code_expiration_date'];\n delete payload['code_amount_range'];\n delete payload['third_party_nationalities'];\n delete payload['third_party_type'];\n delete payload['transaction_date'];\n delete payload['tax_registration'];\n payload['name[ar]'] = values.name_ar;\n payload['name[en]'] = values.name_en;\n }\n\n const formData = serialize(payload, { indices: true });\n\n try {\n if (mode === 'create') {\n await axiosInstance.post(`/admin/vat_rates`, formData);\n resetForm();\n toast.success(formatMessage({ id: 'Vat Rate has been created successfully!' }));\n } else if (mode === 'edit') {\n formData.append('_method', 'PUT');\n await axiosInstance.post(`/admin/vat_rates/${vatRateItem.id}`, formData);\n resetForm();\n toast.success(formatMessage({ id: 'Vat Rate has been updated successfully!' }));\n }\n history.push(`/admin/vat-rates`);\n } catch (err) {\n DisplayErrors(err);\n }\n setLoading(false);\n };\n\n /* ----------------------------- remove item from invoice ----------------------------- */\n const removeItem = (remove: any, i: any) => {\n return remove(i);\n\n // formik.setFieldValue('items', [...formik.values.items, item]);\n };\n /* ----------------------------- add item to invoice ----------------------------- */\n const addItem = (push: any) => {\n return push({\n // name: [],\n // description: '',\n category: [],\n category_type: [categoryTypesOptions[0]],\n category_error_message_ar: '',\n category_error_message_en: '',\n });\n // formik.setFieldValue('items', [...formik.values.items, item]);\n };\n const formik = useFormik({\n initialValues: vatRatesInitialValues,\n validationSchema:\n mode === 'create'\n ? vatRatesValidationSchema\n : Yup.object().shape({\n name_ar: Yup.string().required($t('This field is required')),\n name_en: Yup.string().required($t('This field is required')),\n }),\n onSubmit: (values, { resetForm }) => createVatRate(values, resetForm),\n });\n const { setFieldValue } = formik; //, values\n\n const shouldAsk = () => Object.keys(formik.touched).length > 0;\n\n /* -------------------------------- STORE -------------------------------- */\n /* ------------------------- getting data from store ------------------------ */\n /* ----------------------------- Getting current Vat Rates ----------------------------- */\n const getCurrentVatRate = async (vatRateId: any) => {\n try {\n dispatch(\n VatRateRedux.actions.getVatRate({\n vatRateId: vatRateId,\n })\n );\n } catch (err) {\n toast.error(formatMessage({ id: 'Invalid url, you will be redirected to home page' }));\n history.push('/');\n }\n };\n\n /* ------------------------- get categories data ------------------------ */\n // const { isLoading: CategoriesLoading, data: CategoriesList } = useQuery(\n // 'SalesCategories',\n // () =>\n // axiosInstance(`/categories`, {\n // params: {\n // type: `1`,\n // per_page: 0,\n // },\n // }).then((res) => {\n // return res.data.sales;\n // }),\n // { retryDelay: 300, retry: 3 }\n // );\n // const salesCategoriesOptions = useMemo(() => createOptions(CategoriesList), [CategoriesList]);\n\n const loadSalesCategoriesOptions = useCallback(\n debounce((inputValue: any, callback: (options: any) => void) => {\n axiosInstance\n .get(`/categories`, {\n params: {\n name: inputValue,\n type: `1`,\n per_page: 0,\n },\n })\n .then((res) => {\n callback(createOptions(res.data.sales));\n });\n }, 1000),\n [formik?.values]\n );\n\n const onFocusLoadSalesCategoriesOptions = async (i: any) => {\n await axiosInstance\n .get(`/categories`, {\n params: {\n type: `1`,\n per_page: 0,\n },\n })\n .then((res) => {\n setCategoriesOptions(createOptions(res.data.sales));\n });\n };\n\n const loadPurchasesCategoriesOptions = useCallback(\n debounce((inputValue: any, callback: (options: any) => void) => {\n axiosInstance\n .get(`/categories`, {\n params: {\n name: inputValue,\n type: `2`,\n per_page: 0,\n },\n })\n .then((res) => {\n callback(createOptions(res.data.purchases));\n });\n }, 1000),\n [formik?.values]\n );\n\n const onFocusLoadPurchasesCategoriesOptions = async (i: any) => {\n await axiosInstance\n .get(`/categories`, {\n params: {\n type: `2`,\n per_page: 0,\n },\n })\n .then((res) => {\n setCategoriesOptions(createOptions(res.data.purchases));\n });\n };\n\n /* -----------------------------end Getting current Vat Rates ----------------------------- */\n /* ----------------------- end getting data from store ---------------------- */\n const accountTypesOptions = useMemo(() => {\n return Array.from(VatRateTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const accountTypesOptionsfullTypes = useMemo(\n () =>\n Array.from(FilterVatRateTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n\n const incomeCodeTypesOptions = useMemo(() => {\n return Array.from(IncomeCodeTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const expenditureCodeTypesOptions = useMemo(() => {\n return Array.from(ExpenditureCodeTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const transactionTypesOptions = useMemo(() => {\n return Array.from(TransactionTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const taxAbilityTypesOptions = useMemo(() => {\n return Array.from(TaxAbilityTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const categoryTypesOptions = useMemo(() => {\n return Array.from(CategoryTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n // code expiration category\n const { isLoading: codeExpirationLoading, data: codeExpirationList } = useQuery(\n 'CodeExpiration',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 1,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const codeExpirationOptions = useMemo(\n () => createSelectOptions(codeExpirationList),\n [codeExpirationList]\n );\n\n // code amount category\n const { isLoading: amountRangeLoading, data: amountRangeList } = useQuery(\n 'CodeAmount',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 2,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const amountRangeOptions = useMemo(() => createSelectOptions(amountRangeList), [amountRangeList]);\n\n // code nationality category\n const { isLoading: thirdPartyNationalitiesLoading, data: thirdPartyNationalitiesList } = useQuery(\n 'ThirdPartyNationalities',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 3,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const thirdPartyNationalitiesOptions = useMemo(\n () => createSelectOptions(thirdPartyNationalitiesList),\n [thirdPartyNationalitiesList]\n );\n\n // code account type category\n const { isLoading: thirdPartyTypesLoading, data: thirdPartyTypesList } = useQuery(\n 'ThirdPartyTypes',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 4,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const thirdPartyTypesOptions = useMemo(\n () => createSelectOptions(thirdPartyTypesList),\n [thirdPartyTypesList]\n );\n\n // code transaction date category\n const { isLoading: transactionDateLoading, data: transactiondatesList } = useQuery(\n 'TransactionDate',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 5,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const transactionDateOptions = useMemo(\n () => createSelectOptions(transactiondatesList),\n [transactiondatesList]\n );\n\n /* ---------------------------- Tax Registration ---------------------------- */\n const { isLoading: TaxRegistrationLoading, data: TaxRegistrationsList } = useQuery(\n 'TaxRegistration',\n () =>\n axiosInstance(`/admin/rules`, {\n params: {\n category: 6,\n per_page: 0,\n },\n }).then((res) => {\n return res.data.data.map((item: any) => {\n return {\n id: item.id,\n name: item.name[locale],\n };\n });\n }),\n { retryDelay: 300, retry: 3 }\n );\n\n const TaxRegistrationOptions = useMemo(\n () => createSelectOptions(TaxRegistrationsList),\n [TaxRegistrationsList]\n );\n\n const vatRateItem: IVatRate = useSelector((state) => {\n return state.SYS_vat_rates.vat_rate;\n }, shallowEqual) as IVatRate;\n /* -------------------------------- On Init -------------------------------- */\n\n useEffect(() => {\n if (vatRateItem?.id && mode !== 'create') {\n setFieldValue(\n 'country',\n vatRateItem.country\n ? countires\n ?.filter(\n (countryItem: any) =>\n countryItem.iso.toLowerCase() === vatRateItem.country.toLowerCase()\n )\n .map((countryItem: any) => ({\n value: countryItem.iso,\n label: countryItem?.emoji + ' ' + countryItem?.name?.[locale],\n }))\n : []\n );\n setFieldValue('code', vatRateItem?.code);\n setFieldValue('name_ar', vatRateItem?.name['ar'] ? vatRateItem?.name['ar'] : '');\n setFieldValue('name_en', vatRateItem?.name['en'] ? vatRateItem?.name['en'] : '');\n setFieldValue(\n 'description_ar',\n vatRateItem.description?.ar ? vatRateItem.description?.ar : ''\n );\n setFieldValue(\n 'description_en',\n vatRateItem.description?.en ? vatRateItem.description?.en : ''\n );\n setFieldValue(\n 'type',\n vatRateItem.type\n ? accountTypesOptionsfullTypes?.filter(\n (accountType) => accountType.value === vatRateItem.type\n )[0]\n : {}\n );\n\n if (vatRateItem.type === 1 || vatRateItem.type === 3) {\n setFieldValue(\n 'code_type',\n vatRateItem.code_type_index || vatRateItem.code_type_index === 0\n ? incomeCodeTypesOptions?.filter(\n (codeTypeItem) => codeTypeItem.value === +vatRateItem.code_type_index\n )[0]\n : {}\n );\n } else if (vatRateItem.type === 2 || vatRateItem.type === 4) {\n setFieldValue(\n 'code_type',\n vatRateItem.code_type_index || vatRateItem.code_type_index === 0\n ? expenditureCodeTypesOptions?.filter(\n (codeTypeItem) => codeTypeItem.value === +vatRateItem.code_type_index\n )[0]\n : {}\n );\n }\n setFieldValue(\n 'transaction_type',\n vatRateItem.transaction_type\n ? transactionTypesOptions?.filter(\n (transactionTypeItem) => transactionTypeItem.value === vatRateItem.transaction_type\n )[0]\n : {}\n );\n\n setFieldValue(\n 'tax_ability',\n vatRateItem.tax_ability\n ? taxAbilityTypesOptions?.filter(\n (taxAbilityItem) => taxAbilityItem.value === vatRateItem.tax_ability\n )[0]\n : {}\n );\n\n const basic_categories_mapped = vatRateItem?.categories?.map((categoryItem: any) => {\n return {\n ...categoryItem,\n id: categoryItem?.id,\n category_type:\n categoryItem?.is_basic === 1 ? [categoryTypesOptions[0]] : [categoryTypesOptions[1]],\n category_error_message_ar:\n categoryItem?.is_basic === 1\n ? categoryItem?.info_msg?.ar\n : categoryItem?.warning_msg?.ar,\n category_error_message_en:\n categoryItem?.is_basic === 1\n ? categoryItem?.info_msg?.en\n : categoryItem?.warning_msg?.en,\n category: [\n {\n value: categoryItem?.id,\n label: categoryItem?.name,\n },\n ],\n };\n });\n\n setFieldValue('basic_categories', basic_categories_mapped);\n\n setFieldValue('tax_rate', vatRateItem.tax_rate.replace(/,/g, ''));\n\n if (vatRateItem.rules.length > 0) {\n vatRateItem.rules.forEach((ruleItem: any) => {\n if (ruleItem.category === 1) {\n setFieldValue(\n 'code_expiration_date',\n codeExpirationOptions?.filter(\n (codeExpirationItem) => codeExpirationItem.value === ruleItem.id\n )\n );\n }\n if (ruleItem.category === 2) {\n setFieldValue(\n 'code_amount_range',\n amountRangeOptions?.filter((amountRangeItem) => amountRangeItem.value === ruleItem.id)\n );\n }\n if (ruleItem.category === 3) {\n setFieldValue(\n 'third_party_nationalities',\n thirdPartyNationalitiesOptions?.filter(\n (thirdPartyNationality) => thirdPartyNationality.value === ruleItem.id\n )\n );\n }\n if (ruleItem.category === 4) {\n setFieldValue(\n 'third_party_type',\n thirdPartyTypesOptions?.filter(\n (thirdPartyType) => thirdPartyType.value === ruleItem.id\n )\n );\n }\n if (ruleItem.category === 5) {\n setFieldValue(\n 'transaction_date',\n transactionDateOptions?.filter(\n (transactionDateItem) => transactionDateItem.value === ruleItem.id\n )\n );\n }\n if (ruleItem.category === 6) {\n setFieldValue(\n 'tax_registration',\n TaxRegistrationOptions?.filter(\n (TaxRegistrationItem) => TaxRegistrationItem.value === ruleItem.id\n )\n );\n }\n });\n }\n }\n }, [\n params?.vatRateId,\n vatRateItem?.id,\n expenditureCodeTypesOptions,\n incomeCodeTypesOptions,\n accountTypesOptionsfullTypes,\n codeExpirationOptions,\n amountRangeOptions,\n thirdPartyNationalitiesOptions,\n thirdPartyTypesOptions,\n transactionDateOptions,\n TaxRegistrationOptions,\n ]);\n\n useEffect(() => {\n if (params?.vatRateId && mode !== 'create') {\n getCurrentVatRate(params?.vatRateId);\n }\n }, [params?.vatRateId]);\n\n useEffect(() => {\n if (formik.values.type && mode === 'create') {\n if (formik.values.type.value === 1) {\n setFieldValue('code_type', incomeCodeTypesOptions[0]);\n } else {\n setFieldValue('code_type', expenditureCodeTypesOptions[0]);\n }\n }\n }, [formik.values.type]);\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n setShowExitPrompt(shouldAsk());\n }, [formik]);\n\n useEffect(() => {\n return () => {\n setDisable();\n setShowExitPrompt(false);\n dispatch(VatRateRedux.actions.fullFillVatRate({}));\n };\n }, []);\n\n return (\n
\n
\n \n
\n \n
\n {Object.keys(formik.touched).length > 0 && (\n \n )}\n {displayRequiredSection === 1 && (\n
\n
\n
\n \n
\n
\n \n
\n {/* ------------------------ Vat rate country ----------------------- */}\n
\n \n {$t('Country')}\n \n {\n formik.setFieldValue('country', value);\n }}\n options={countires?.map((country: any) => ({\n value: country.iso,\n label: country?.emoji + ' ' + country?.name?.[locale],\n }))}\n value={formik.values.country.value === '' ? null : formik.values.country}\n isDisabled={mode === 'view' || mode === 'edit'}\n />\n
\n {/* --------------------- end Vat rate country----------------------- */}\n {/* ------------------------ Vat rate code ----------------------- */}\n
\n \n
\n {/* --------------------- end Vat rate code----------------------- */}\n {/* ------------------------ Vat rate account type ----------------------- */}\n
\n \n setFieldValue('type', value)}\n onBlur={() => formik.setFieldTouched('type', true)}\n options={\n mode === 'create' ? accountTypesOptions : accountTypesOptionsfullTypes\n }\n defaultValue={formik.values.type}\n value={formik.values.type}\n className='react-select smaller'\n id='account_type'\n />\n
\n {/* --------------------- end Vat rate account type ----------------------- */}\n {/* ------------------------ Vat rate account type ----------------------- */}\n
\n {mode === 'create' && (\n <>\n {' '}\n {\n return formik.setFieldValue(\n `return_value`,\n value.target.checked ? 1 : 0\n );\n }}\n onBlur={() => formik.setFieldTouched(`return_value`, true)}\n />{' '}\n {formik.values.type.value === 1 && (\n \n )}\n {formik.values.type.value === 2 && (\n \n )}\n \n )}\n
\n {/* --------------------- end Vat rate account type ----------------------- */}\n\n {/* ------------------------ Vat rate code type ----------------------- */}\n
\n
\n {/* --------------------- end Vat rate code type ----------------------- */}\n {/* --------------------- Vat rate Transaction type ----------------------- */}\n
\n \n setFieldValue('transaction_type', value)}\n onBlur={() => formik.setFieldTouched('transaction_type', true)}\n options={transactionTypesOptions}\n defaultValue={formik.values.transaction_type}\n value={formik.values.transaction_type}\n className='react-select smaller'\n id='transaction_type'\n />\n
\n {/* --------------------- end Vat rate Transaction type ----------------------- */}\n {/* ------------------------ Vat rate tax ability ----------------------- */}\n
\n \n setFieldValue('tax_ability', value)}\n onBlur={() => formik.setFieldTouched('tax_ability', true)}\n options={taxAbilityTypesOptions}\n defaultValue={formik.values.tax_ability}\n value={formik.values.tax_ability}\n className='react-select smaller'\n id='tax_ability_id'\n />\n
\n {/* --------------------- end Vat rate ability----------------------- */}\n {/* ------------------------ Vat tax rate ----------------------- */}\n
\n \n
\n {/* ------------------------ Vat tax rate ----------------------- */}\n\n {/* ------------------------ Vat rate description en/ar ----------------------- */}\n {locales.map((locale) => (\n
\n \n \n
\n ))}\n {/* --------------------- end Vat rate description en/ar----------------------- */}\n
\n
\n )}\n {displayRequiredSection === 2 && (\n
\n
\n {/* ------------------------ Vat rate Code expiration date ----------------------- */}\n
\n \n setFieldValue('code_expiration_date', [value])}\n onBlur={() => formik.setFieldTouched('code_expiration_date', true)}\n placeholder={formatMessage({\n id: 'Code expiration date',\n })}\n defaultValue={formik.values.code_expiration_date}\n className='react-select smaller'\n id='code_expiration_date'\n options={codeExpirationOptions.filter(\n (option) =>\n formik.values.code_expiration_date?.[0]?.value !== option?.value\n )}\n value={formik.values.code_expiration_date}\n isLoading={codeExpirationLoading}\n // isMulti\n isClearable\n />\n
\n {/* --------------------- end Vat rate Code expiration date ----------------------- */}\n {/* ------------------------ Vat rate Code amount range ----------------------- */}\n
\n \n setFieldValue('code_amount_range', [value])}\n onBlur={() => formik.setFieldTouched('code_amount_range', true)}\n placeholder={formatMessage({\n id: 'Code amount range',\n })}\n defaultValue={formik.values.code_amount_range}\n className='react-select smaller'\n id='code_amount_range'\n options={amountRangeOptions.filter(\n (option) => formik.values.code_amount_range?.[0]?.value !== option.value\n )}\n value={formik.values.code_amount_range}\n isLoading={amountRangeLoading}\n // isMulti\n isClearable\n />\n
\n {/* --------------------- end Vat rate Code amount range ----------------------- */}\n {/* ------------------------ Vat rate Third party nationality ----------------------- */}\n
\n \n setFieldValue('third_party_nationalities', [value])}\n onBlur={() => formik.setFieldTouched('third_party_nationalities', true)}\n placeholder={formatMessage({\n id: 'Third party nationality',\n })}\n defaultValue={formik.values.third_party_nationalities}\n className='react-select smaller'\n id='third_party_nationalities'\n options={thirdPartyNationalitiesOptions.filter(\n (option) =>\n formik.values.third_party_nationalities?.[0]?.value !== option.value\n )}\n value={formik.values.third_party_nationalities}\n isLoading={thirdPartyNationalitiesLoading}\n // isMulti\n isClearable\n />\n
\n {/* --------------------- end Vat rate Third party nationality ----------------------- */}\n {/* ------------------------ Vat rate Third party type ----------------------- */}\n
\n \n setFieldValue('third_party_type', [value])}\n onBlur={() => formik.setFieldTouched('third_party_type', true)}\n placeholder={formatMessage({\n id: 'Third party type',\n })}\n defaultValue={formik.values.third_party_type}\n className='react-select smaller'\n id='third_party_type'\n options={thirdPartyTypesOptions.filter(\n (option) => formik.values.third_party_type?.[0]?.value !== option.value\n )}\n value={formik.values.third_party_type}\n isLoading={thirdPartyTypesLoading}\n // isMulti\n isClearable\n />\n
\n {/* --------------------- end Vat rate Third party type ----------------------- */}\n {/* ------------------------ Vat rate Transaction date type ----------------------- */}\n
\n \n setFieldValue('transaction_date', [value])}\n onBlur={() => formik.setFieldTouched('transaction_date', true)}\n placeholder={formatMessage({\n id: 'Transaction date',\n })}\n defaultValue={formik.values.transaction_date}\n className='react-select smaller'\n id='transaction_date'\n options={transactionDateOptions.filter(\n (option) => formik.values.transaction_date?.[0]?.value !== option.value\n )}\n value={formik.values.transaction_date}\n isLoading={transactionDateLoading}\n // isMulti\n isClearable\n />\n
\n {/* --------------------- end Vat rate Transaction date type ----------------------- */}\n {/* ---------------------------- Tax Registration --------------------------- */}\n
\n \n setFieldValue('tax_registration', [value])}\n onBlur={() => formik.setFieldTouched('tax_registration', true)}\n placeholder={formatMessage({\n id: 'Tax Registration',\n })}\n defaultValue={formik.values.tax_registration}\n className='react-select smaller'\n id='tax_registration'\n options={TaxRegistrationOptions.filter(\n (option) => formik.values.tax_registration?.[0]?.value !== option.value\n )}\n value={formik.values.tax_registration}\n isLoading={TaxRegistrationLoading}\n // isMulti\n isClearable\n />\n
\n {/* ---------------------------- Tax Registration --------------------------- */}\n
\n
\n )}\n {displayRequiredSection === 3 && (\n <>\n
\n {/*begin::Table wrapper*/}\n
\n
\n
\n {/*begin::Table*/}\n \n {/*begin::Table head*/}\n \n \n {headerItems.map((item) => (\n \n {formatMessage({ id: item.id })}\n \n ))}\n \n \n {/*end::Table head*/}\n {/*begin::Table body*/}\n \n {/*begin::Field array*/}\n \n {({ push, remove }) => {\n const error: BasicCategoriesItemsErrors[] = formik?.errors\n ?.basic_categories as BasicCategoriesItemsErrors[];\n const itemsValues = formik?.values?.basic_categories;\n const itemsTouched: any = formik.touched\n .basic_categories as BasicCategoriesItemsTouched[];\n return (\n <>\n {itemsValues?.map((item: any, i: any, arr: any) => {\n return (\n \n \n \n\n {mode !== 'view' && i > 0 && (\n \n )}\n \n );\n })}\n {mode !== 'view' && (\n \n \n \n )}\n \n );\n }}\n \n {typeof formik?.errors?.basic_categories === 'string' && (\n \n )}\n {/*end::Field array*/}\n \n
\n {/* \n setFieldValue(\n `basic_categories[${i}]['category']`,\n [value]\n )\n }\n onBlur={() =>\n formik.setFieldTouched(\n `basic_categories[${i}]['category']`,\n true\n )\n }\n options={CategoriesOptions?.filter(\n (option) =>\n formik.values?.basic_categories?.[i][\n 'category'\n ]?.[0]?.value !== option.value\n )}\n value={\n formik.values?.basic_categories?.[i]['category']\n }\n isLoading={CategoriesLoading}\n placeholder={formatMessage({\n id: 'Categories',\n })}\n // isMulti\n isDisabled={mode === 'view'}\n // className='react-select smaller'\n className='form-control form-control-md p-0 mb-2'\n \n menuPlacement='auto'\n styles={{\n menu: (base) => ({\n ...base,\n marginBottom: 2,\n paddingBottom: 2,\n zIndex: 3,\n }),\n menuPortal: (base: any) => ({\n ...base,\n zIndex: 9999,\n }),\n }}\n id={`basic_categories[${i}]['category']`}\n />\n {itemsTouched?.[i]?.category && error?.[i]?.category && (\n
\n \n {error?.[i]?.category}\n \n
\n )} */}\n \n formik.setFieldValue(\n `basic_categories[${i}]['category']`,\n [value]\n )\n }\n onBlur={() =>\n formik.setFieldTouched(\n `basic_categories[${i}]['category']`,\n true\n )\n }\n onFocus={() => {\n if (formik.values?.type?.value === 1) {\n onFocusLoadSalesCategoriesOptions(i);\n } else {\n onFocusLoadPurchasesCategoriesOptions(i);\n }\n }}\n value={\n formik.values?.basic_categories?.[i]['category']\n }\n placeholder={formatMessage({\n id: 'Categories',\n })}\n isDisabled={mode === 'view'}\n className='form-control form-control-md p-0 mb-2'\n menuPlacement='auto'\n loadOptions={\n formik.values?.type?.value === 1\n ? loadSalesCategoriesOptions\n : loadPurchasesCategoriesOptions\n }\n defaultOptions={categoriesOptions}\n isClearable\n noOptionsMessage={() => {\n return (\n \n {formatMessage({\n id: 'No options found',\n })}\n \n );\n }}\n loadingMessage={() => (\n
\n \n \n Loading...\n \n
\n \n )}\n styles={{\n menu: (base) => ({\n ...base,\n marginBottom: 2,\n paddingBottom: 2,\n zIndex: 3,\n }),\n menuPortal: (base: any) => ({\n ...base,\n zIndex: 9999,\n }),\n noOptionsMessage: (base: any) => ({\n ...base,\n color: 'red',\n }),\n }}\n components={{\n Option: ({\n children,\n ...props\n }: OptionProps) => {\n return (\n \n \n \n {props.data?.label}\n \n \n \n );\n },\n }}\n />\n\n {itemsTouched?.[i]?.category && error?.[i]?.category && (\n
\n \n {error?.[i]?.category}\n \n
\n )}\n
\n \n setFieldValue(\n `basic_categories[${i}]['category_type']`,\n [value]\n )\n }\n onBlur={() =>\n formik.setFieldTouched(\n `basic_categories[${i}]['category_type']`,\n true\n )\n }\n options={categoryTypesOptions?.filter(\n (option) =>\n formik.values?.basic_categories?.[i][\n 'category_type'\n ]?.[0]?.value !== option.value\n )}\n value={\n formik.values?.basic_categories?.[i][\n 'category_type'\n ]\n }\n placeholder={formatMessage({\n id: 'Categories type',\n })}\n // isMulti\n isDisabled={mode === 'view'}\n // className='react-select smaller'\n className='form-control form-control-md p-0 mb-2'\n menuPlacement='auto'\n styles={{\n menu: (base) => ({\n ...base,\n marginBottom: 2,\n paddingBottom: 2,\n zIndex: 3,\n }),\n menuPortal: (base: any) => ({\n ...base,\n zIndex: 9999,\n }),\n }}\n id={`basic_categories[${i}]['category_type']`}\n />\n {itemsTouched?.[i]?.category_type &&\n error?.[i]?.category_type && (\n
\n \n {error?.[i]?.category_type}\n \n
\n )}\n\n {formik.values?.basic_categories?.[i][\n 'category_type'\n ]?.[0]?.value === 1 && (\n <>\n \n\n \n \n )}\n {formik.values?.basic_categories?.[i][\n 'category_type'\n ]?.[0]?.value === 2 && (\n <>\n \n\n \n \n )}\n
\n {\n e.stopPropagation();\n e.preventDefault();\n removeItem(remove, i);\n }}\n >\n {/*begin::Svg Icon | path: icons/duotune/general/gen027.svg*/}\n \n \n \n {/*end::Svg Icon*/}\n \n
\n {\n e.stopPropagation();\n e.preventDefault();\n addItem(push);\n }}\n >\n {formatMessage({\n id: 'Add Item',\n })}\n \n
\n
\n
\n
\n
\n \n )}\n
\n
\n {mode === 'create' && (\n
\n \n
\n \n
\n {formik.values.country.value &&\n formik.values.type.value &&\n formik.values.code && (\n
\n {`${formik.values.country.value}_${\n formik.values.type.value === 1 ? 'SA' : 'PU'\n }_${formik.values.code}`}\n {formik.values.return_value === 1 &&\n ` / ${formik.values.country.value}_${\n formik.values.type.value === 1 ? 'SA' : 'PU'\n }_${formik.values.code}${\n formik.values.return_value === 0 ? '' : '_A'\n }`}\n
\n )}\n
\n )}\n\n {/* Save and Cancel Buttons */}\n {mode !== 'view' && (\n <>\n {\n history.push(`/admin/vat-rates`);\n }}\n />\n \n )}\n
\n
\n \n
\n
\n
\n
\n );\n};\n\nconst ConfigNewVatRateCreate: FC = () => {\n return (\n
\n \n
\n );\n};\n\nconst ConfigNewVatRateEdit: FC = () => {\n return (\n
\n \n
\n );\n};\n\nconst ConfigNewVatRateView: FC = () => {\n return (\n
\n \n
\n );\n};\n\nexport { ConfigNewVatRateCreate, ConfigNewVatRateEdit, ConfigNewVatRateView };\n","import { FC, ReactElement } from 'react';\nimport { ConfigNewVatRate } from '../../ConfigNewVatRate';\n\ntype TAB = {\n id: number;\n tabId: string;\n tabIcon: string;\n viewcomponent: ReactElement;\n editComponent: ReactElement;\n createComponent: ReactElement;\n // viewparam: string;\n // editparam: string;\n // createparam: string;\n};\n\nexport const VAT_RATES_TABS: TAB[] = [\n {\n id: 1,\n tabId: 'Create Vat Rate',\n tabIcon: 'fa-percent',\n viewcomponent: ,\n editComponent: ,\n createComponent: ,\n },\n {\n id: 2,\n tabId: 'Create Code Rule',\n tabIcon: 'fa-clipboard-list-check',\n viewcomponent: ,\n editComponent: ,\n createComponent: ,\n },\n {\n id: 3,\n tabId: 'Categories',\n tabIcon: 'fa-clipboard-list-check',\n viewcomponent: ,\n editComponent: ,\n createComponent: ,\n },\n];\n\nexport const vatRateParamsMapView = new Map(VAT_RATES_TABS.map((tab: TAB) => [tab.id, { ...tab }]));\nexport const vatRateParamsMapEdit = new Map(VAT_RATES_TABS.map((tab: TAB) => [tab.id, { ...tab }]));\nexport const vatRateParamsMapCreate = new Map(\n VAT_RATES_TABS.map((tab: TAB) => [tab.id, { ...tab }])\n);\n\ntype VatRateDetailsHandlerProps = { currentView: number; mode: string };\n\nexport const VatRateDetailsHandler: FC = ({ currentView, mode }) => {\n if (mode === 'view') {\n return vatRateParamsMapView.get(currentView)?.viewcomponent || null;\n } else if (mode === 'edit') {\n return vatRateParamsMapEdit.get(currentView)?.editComponent || null;\n } else if (mode === 'create') {\n return vatRateParamsMapCreate.get(currentView)?.createComponent || null;\n } else {\n return null;\n }\n};\n","import clsx from 'clsx';\nimport { FC, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport Select from 'react-select';\n\nimport { $t } from '../../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../../_metronic/layout/core';\n// import { usePermissions } from '../../../../hooks/usePermissions';\n\nimport { shallowEqual, useSelector } from 'react-redux';\n\nimport { RootState } from '../../../../../setup/redux/Store';\nimport { IVatRate } from '../../../../modules/admins/vat-rates/types/VatRatesModel';\n\nimport useWindowSize from '../../../../hooks/useWindowSize';\nimport { SeparatorLines } from '../../../../shared/Lines';\nimport { VAT_RATES_TABS, VatRateDetailsHandler } from './components/TabSelection';\n\ntype Props = {\n mode: 'create' | 'edit' | 'view';\n};\n\nexport const VatRatesDetails: FC = ({ mode }) => {\n // const history = useHistory();\n const [selectedTab, setSelectedTab] = useState(1);\n const { width } = useWindowSize();\n\n // const { formatMessage } = useIntl();\n // const location = useLocation();\n\n const tabOptions = VAT_RATES_TABS.map((tab) => ({\n value: tab.id,\n label: $t(tab.tabId),\n }));\n\n return (\n <>\n {width > 1156 ? (\n
\n {VAT_RATES_TABS.map((tab) => (\n {\n setSelectedTab(tab.id);\n }}\n >\n \n {$t(tab.tabId)}\n \n ))}\n
\n ) : (\n setSelectedTab(value?.value || 1)}\n options={tabOptions}\n value={tabOptions.find((itm) => selectedTab === itm.value)}\n className='react-select smaller'\n id='company_type'\n />\n )}\n\n
\n \n \n
\n \n );\n};\n\nconst VatRatesDetailsWrapperCreate: FC = () => {\n // usePermissions('update-company');\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Create vat rate' })}\n \n
\n );\n};\n\nconst VatRatesDetailsWrapperView: FC = () => {\n // usePermissions('view-company');\n const history = useHistory();\n const location = useLocation();\n // const { userCan } = usePermissions();\n\n const vatRateItem: IVatRate = useSelector((state) => {\n return state.SYS_vat_rates.vat_rate;\n }, shallowEqual) as IVatRate;\n\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Preview vat rate' })}\n {(vatRateItem?.type === 1 || vatRateItem?.type === 2) && (\n
\n
\n {\n history.push(location.pathname + '/edit');\n }}\n >\n \n {formatMessage({ id: 'Edit vat rate' })}\n \n
\n
\n )}\n\n \n
\n );\n};\nconst VatRatesDetailsWrapperEdit: FC = () => {\n // usePermissions('update-company');\n\n const history = useHistory();\n const location = useLocation();\n const { formatMessage } = useIntl();\n\n const vatRateItem: IVatRate = useSelector((state) => {\n return state.SYS_vat_rates.vat_rate;\n }, shallowEqual) as IVatRate;\n // disable edit if type is 3 or 4\n if (vatRateItem?.type === 3 || vatRateItem?.type === 4) {\n history.push(location.pathname.replace('/edit', ''));\n }\n return (\n
\n {formatMessage({ id: 'Edit vat rate' })}\n \n
\n );\n};\n\nexport { VatRatesDetailsWrapperCreate, VatRatesDetailsWrapperView, VatRatesDetailsWrapperEdit };\n","import { axiosInstance } from '../../../../../network/apis';\n\nexport function getAllCodeRules({ params }: { params?: any }) {\n return axiosInstance.get(`/admin/rules`, {\n params,\n });\n}\nexport function getCodeRuleData({ codeRuleId }: { codeRuleId?: any }) {\n return axiosInstance.get(`/admin/rules/${codeRuleId}`);\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../../interface/ActionWithPayload';\nimport { getAllCodeRules, getCodeRuleData } from './CodeRulesCRUD';\n\nexport enum ICodeRulesActionTypes {\n GET_CODE_RULES = 'GET_CODE_RULES',\n FULL_FILL_CODE_RULES = 'FULL_FILL_CODE_RULES',\n GET_CODE_RULE = 'GET_CODE_RULE',\n FULL_FILL_CODE_RULE = 'FULL_FILL_CODE_RULE',\n}\n\nconst initialCodeRules: ICodeRulestate = {\n code_rules: undefined,\n code_rule: undefined,\n};\n\nexport interface ICodeRulestate {\n code_rules?: any;\n code_rule?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'SYS_code_rules', whitelist: [''] },\n (state: ICodeRulestate = initialCodeRules, action: ActionWithPayload) => {\n switch (action.type) {\n case ICodeRulesActionTypes.FULL_FILL_CODE_RULES:\n return { ...state, code_rules: action.payload?.code_rules };\n case ICodeRulesActionTypes.FULL_FILL_CODE_RULE:\n return { ...state, code_rule: action.payload?.code_rule };\n default:\n return state;\n }\n }\n);\n\ntype Search = { params?: any };\n\nexport const actions = {\n getCodeRules: ({ params }: Search) => ({\n type: ICodeRulesActionTypes.GET_CODE_RULES,\n payload: { params },\n }),\n fullFillCodeRules: ({ code_rules }: ICodeRulestate) => ({\n type: ICodeRulesActionTypes.FULL_FILL_CODE_RULES,\n payload: { code_rules },\n }),\n getCodeRule: ({ codeRuleId }: any) => ({\n type: ICodeRulesActionTypes.GET_CODE_RULE,\n payload: { codeRuleId },\n }),\n fullFillCodeRule: ({ code_rule }: ICodeRulestate) => ({\n type: ICodeRulesActionTypes.FULL_FILL_CODE_RULE,\n payload: { code_rule },\n }),\n};\n\nexport function* getCodeRules(action: ActionWithPayload) {\n try {\n const { data } = yield getAllCodeRules({\n params: action.payload?.params,\n });\n yield put(actions.fullFillCodeRules({ code_rules: data }));\n } catch (error) {\n //\n }\n}\nexport function* getCodeRule(action: ActionWithPayload) {\n try {\n const { data } = yield getCodeRuleData({\n codeRuleId: action.payload?.codeRuleId,\n });\n\n yield put(actions.fullFillCodeRule({ code_rule: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(ICodeRulesActionTypes.GET_CODE_RULES, getCodeRules);\n yield takeLatest(ICodeRulesActionTypes.GET_CODE_RULE, getCodeRule);\n}\n","import { FC, useEffect, useMemo, useState } from 'react'; //useMemo,\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom'; //, useParams\n\n// import * as TableRedux from '../../../store/TableRedux';\nimport * as CodeRulesRedux from '../../../modules/admins/code_rules/store/CodeRulesRedux';\n\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { usePermissions } from '../../../hooks/usePermissions';\nimport { RootState } from '../../../../setup/redux/Store';\nimport { TableActions, TableData, TableSelection } from '../../../shared/tables/classes'; // DateViewer,\n// import { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { LOCALE } from '../../../../_metronic/helpers/typescript';\n\nimport {\n ICodeRule,\n CodeRulesDataListModel,\n} from '../../../modules/admins/code_rules/types/CodeRulesModel';\nimport {\n CodeRulesCategoryTypeMap,\n CodeRulesCategoryTypesMap,\n} from '../../../../_metronic/constants/general';\nimport { SerachFilters } from '../../../shared/SearchFilters';\nimport * as TableRedux from '../../../store/TableRedux';\nimport { toSelectOption } from '../../../../_metronic/helpers/functions/Select';\nimport { ViewItem } from '../../../shared/tables/actions/ViewItem';\nimport { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { CommonTable2 } from '../../../shared/tables/Table2';\nimport { Button } from '../../../shared/Button';\nimport { KTSVG } from '../../../../_metronic/helpers';\nimport { EditItem } from '../../../shared/tables/actions/EditItem';\n\n// import { DeleteItem } from '../../../shared/tables/actions/DeleteItem';\n\nconst TABLE_NAME = 'sys_code_rules_list';\n\nconst headerItems = [\n { id: 'ID', maxWidth: 150, width: 150 },\n { id: 'Name', maxWidth: 240, width: 230 },\n { id: 'Error message', maxWidth: 240, width: 230 },\n { id: 'Comparison Category', maxWidth: 240, width: 230 },\n // { id: 'Type of Template', maxWidth: 400, width: 400 },\n // { id: 'Creation Date', maxWidth: 200, width: 200 },\n { id: 'Actions', maxWidth: 150, width: 150 },\n];\n\nexport const CodeRules: FC = () => {\n return (\n
\n \n
\n );\n};\n\nexport const CodeRulesTable: FC = () => {\n const { userCan } = usePermissions();\n const dispatch = useDispatch();\n const history = useHistory();\n const { formatMessage, locale } = useIntl(); //\n // const params: any = useParams();\n const [deleteItemId, setDeleteItemId] = useState(null);\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const codeRulesList: CodeRulesDataListModel = useSelector((state) => {\n return state.SYS_code_rules.code_rules;\n }, shallowEqual) as CodeRulesDataListModel;\n\n const CodeRulesCategoryTypesOptions = useMemo(\n () =>\n Array.from(CodeRulesCategoryTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale)),\n [locale]\n );\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(CodeRulesRedux.actions.fullFillCodeRules({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n dispatch(\n CodeRulesRedux.actions.getCodeRules({\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n const searchFilterHandler = () => {\n if (table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n\n useEffect(() => {\n RequestData();\n }, [table?.page, table?.pagination]);\n\n const rowItems = codeRulesList?.data.map((codeRule: ICodeRule, index) => {\n const codeRulesCategoryTypesMapTranslated = {\n text: formatMessage({ id: `${CodeRulesCategoryTypesMap.get(codeRule.category)}` }) || '',\n };\n // const TransactionTypesMapTranslated = {\n // text: formatMessage({ id: `${TransactionTypesMap.get(codeRule.transaction_type)}` }) || '',\n // };\n // const TaxAbilityTypesMapTranslated = {\n // text: formatMessage({ id: `${TaxAbilityTypesMap.get(codeRule.tax_ability)}` }) || '',\n // };\n return [\n new TableSelection({\n display: userCan('delete-template'),\n id: codeRule.id,\n tableName: TABLE_NAME,\n }),\n new TableData({ text: `${codeRule.id}` }),\n\n new TableData({\n text: `${codeRule?.name[locale as LOCALE] ? codeRule?.name[locale as LOCALE] : ''}`,\n }),\n new TableData({\n text: `${\n codeRule?.error_message[locale as LOCALE] ? codeRule?.error_message[locale as LOCALE] : ''\n }`,\n }),\n new TableData(codeRulesCategoryTypesMapTranslated),\n // new TableData(TransactionTypesMapTranslated),\n // new TableData(TaxAbilityTypesMapTranslated),\n // new TableData({ text: codeRule?.tax_rate }),\n // new TableData({ text: codeRule?.description[locale as LOCALE] }),\n new TableActions(\n (\n
\n history.push(`/admin/code-rules/${codeRule.id}`)}\n />\n history.push(`/admin/code-rules/${codeRule.id}/edit`)}\n />\n RequestData()}\n />\n
\n )\n ),\n ];\n });\n\n return (\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n\n {/* ------------------------ start Action button ------------------------ */}\n\n
\n {/* begin::Menu */}\n\n \n \n \n\n {/* begin::Menu 2 */}\n \n {/* begin::Menu item */}\n
\n
\n {$t('Actions')}{' '}\n
\n
\n {/* end::Menu item */}\n {/* begin::Menu separator */}\n
\n {/* end::Menu separator */}\n {/* begin::Menu item */}\n
\n {\n history.push(`/admin/code-rule/create`);\n }}\n nameId='Create Code Rule'\n testid='create-code-rule-button'\n faIconMenu={true}\n />\n
{' '}\n {/* end::Menu item */}\n
\n {/* end::Menu 2 */}\n {/* end::Menu */}\n
\n\n {/* ------------------------ End Action button ------------------------ */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n rightHandSide={[\n {\n TABLE_NAME: `${TABLE_NAME}`,\n type: 'dropdown',\n queryTerm: 'category',\n onChange: (value: any) =>\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'category',\n })\n ),\n placeholderId: 'Comparison Category',\n options: CodeRulesCategoryTypesOptions,\n },\n ]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n\n codeRule.id) || []}\n meta={codeRulesList}\n />\n \n );\n};\n\nconst CodeRulesWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Code Rules' })}\n \n
\n );\n};\n\nexport { CodeRulesWrapper };\n","import { Meta } from '../../../../types/Meta';\n\nexport enum CodeRuleCategoryTypes {\n 'Code expiration date' = 1,\n 'Transaction amount' = 2,\n 'Third party nationality' = 3,\n 'Third party type' = 4,\n 'Transaction date' = 5,\n}\n\nexport enum CodeRuleOperatorTypes {\n 'Not before than' = 1,\n 'Not later than' = 2,\n}\nexport enum CodeRuleColumnTypes {\n 'Report Date' = 1,\n}\n\nexport interface ICodeRule {\n can_delete: boolean;\n id: number;\n name: {\n ar: string;\n en: string;\n };\n error_message: {\n ar: string;\n en: string;\n };\n category: number;\n date_range: string[];\n amount_range: string;\n}\n\nexport interface CodeRulesDataListModel extends Meta {\n data: Array;\n}\n","type IInitialConfigPayload = {\n type: Number;\n};\n\nexport function initialConfigPayload(values: any): IInitialConfigPayload {\n const payload: IInitialConfigPayload = {\n ...values,\n };\n return payload;\n}\n","import { useMemo } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport * as Yup from 'yup';\n\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../../_metronic/helpers/functions';\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { commonValidations } from '../../../../_metronic/constants/GeneralValidations';\n\nimport {\n CodeRuleCategoryTypes,\n CodeRuleOperatorTypes,\n CodeRuleColumnTypes,\n} from '../../../modules/admins/code_rules/types/CodeRulesModel';\n\nconst useConfigureCodeRulesSchema = () => {\n const { formatMessage } = useIntl();\n\n /* ----------------------------- formik starter ----------------------------- */\n\n const codeRulesInitialValues: { [key: string]: any } = useMemo(\n () => ({\n name_en: '',\n name_ar: '',\n error_message_en: 'There are transactions violating tax code rules',\n error_message_ar: 'يوجد معاملات القواعد الضريبية بها لم تطبق بشكل صحيح',\n category: {\n value: CodeRuleCategoryTypes['Code expiration date'],\n label: formatMessage({ id: 'Code expiration date' }),\n },\n operator: {\n value: CodeRuleOperatorTypes['Not before than'],\n label: formatMessage({ id: 'Not before than' }),\n },\n column: {\n value: CodeRuleColumnTypes['Report Date'],\n label: formatMessage({ id: 'Report Date' }),\n },\n nationalities: [],\n third_party_types: [],\n start_date: '',\n end_date: '',\n present: 0,\n is_not: 0,\n period: 1,\n min_amount: '0',\n max_amount: '',\n }),\n [formatMessage]\n );\n\n const required = $t('This field is required');\n\n const codeRulesValidationSchema = useMemo(\n () =>\n Yup.object().shape({\n name_en: Yup.string()\n .required(required)\n .min(\n 3,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: 3 }\n )\n )\n .max(\n 15,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 15 }\n )\n )\n .test(\n 'invoice_number',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n name_ar: Yup.string()\n .required(required)\n .min(\n 3,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: 3 }\n )\n )\n .max(\n 15,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 15 }\n )\n )\n .test(\n 'invoice_number',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n error_message_en: Yup.string()\n .required(required)\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_en',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n error_message_ar: Yup.string()\n .required(required)\n .min(\n commonValidations.nameMinimum,\n $t('Please enter at least {minCharacters} characters', {\n minCharacters: commonValidations.nameMinimum,\n })\n )\n .max(\n commonValidations.descriptionMaximum,\n $t('The Maximum characters is {maxCharacters}', {\n maxCharacters: commonValidations.descriptionMaximum,\n })\n )\n .test(\n 'description_en',\n $t(\"You can't enter special character at first or last!\"),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n category: Yup.object().shape({\n value: Yup.string().required(required),\n label: Yup.string().required(required),\n }),\n start_date: Yup.string()\n .test('end_date', $t('Start date must be less than end date'), function (val: any) {\n const { end_date } = this.parent;\n if (end_date) {\n return new Date(val) < new Date(end_date);\n }\n return true;\n })\n // make date required if category === \"1\"\n .when('category', {\n is: (val: any) => val?.value === '1',\n then: Yup.string().required(required),\n otherwise: Yup.string(),\n }),\n\n end_date: Yup.string()\n // make date required if category === \"1\" || present === 0\n .when(['category', 'present'], {\n is: (category: any, present: any) => category?.value === '1' && present === 0,\n then: Yup.string().required(required),\n otherwise: Yup.string(),\n }),\n\n present: Yup.number().when('category', {\n is: (val: any) => val?.value === '1',\n then: Yup.number().required(required),\n otherwise: Yup.number(),\n }),\n is_not: Yup.number().when('category', {\n is: (val: any) => val?.value === '3',\n then: Yup.number().required(required),\n otherwise: Yup.number(),\n }),\n\n min_amount: Yup.number()\n .test('min_amount', $t('Min amount must be less than max amount'), function (val: any) {\n const { max_amount } = this.parent;\n if (max_amount) {\n return val < max_amount;\n }\n return true;\n })\n .when('category', {\n is: (val: any) => val?.value === '2',\n then: Yup.number()\n .required(required)\n .typeError($t('Only number are allowed!'))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n otherwise: Yup.number()\n .typeError($t('Only number are allowed!'))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n }),\n\n max_amount: Yup.number()\n .typeError($t('Only number are allowed!'))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n period: Yup.number().when('category', {\n is: (val: any) => val?.value === '5',\n then: Yup.number()\n .min(1, $t('Period must be greater than 0'))\n .required(required)\n .typeError($t('Only number are allowed!'))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n otherwise: Yup.number()\n .typeError($t('Only number are allowed!'))\n .test(\n 'len',\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: 8 }\n ),\n (val: any) => !val || (val && val.toString().length <= 8)\n ),\n }),\n nationalities: Yup.array()\n // make date required if category === \"3\"\n .when('category', {\n is: (val: any) => val?.value === '3',\n then: Yup.array().min(1),\n otherwise: Yup.array(),\n }),\n third_party_types: Yup.array()\n // make date required if category === \"3\"\n .when('category', {\n is: (val: any) => val?.value === '4',\n then: Yup.array().min(1),\n otherwise: Yup.array(),\n }),\n }),\n\n [formatMessage]\n );\n\n return {\n codeRulesInitialValues,\n codeRulesValidationSchema,\n };\n};\n\nexport { useConfigureCodeRulesSchema };\n","/* eslint-disable jsx-a11y/alt-text */\nimport { FC, useEffect, useState, useMemo } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl'; //\nimport { Prompt, useHistory } from 'react-router-dom'; //useLocation,\nimport { serialize } from 'object-to-formdata';\nimport { Form, FormikProvider, useFormik } from 'formik';\n\n// import { Alert } from 'react-bootstrap-v5';\nimport Select from 'react-select';\nimport { toast } from 'react-toastify';\nimport DatePicker from 'react-datepicker';\nimport { ErrorMessage } from '../../../shared/ErrorMessage';\nimport { formatDate } from '../../../shared/tables/classes/DateViewer';\n\nimport 'react-intl-tel-input/dist/main.css';\n\nimport { DisplayErrors } from '../../../../utils/DisplayErrors';\n\nimport { $t } from '../../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../../_metronic/layout/core';\nimport { SeparatorLines } from '../../../shared/Lines';\n\nimport {\n CodeRulesCategoryTypeMap,\n CodeRulesThirdPartyTypeMap,\n CodeRulesOperatorTypeMap,\n CodeRulesColumnTypeMap,\n} from '../../../../_metronic/constants/general'; //DocumentDirection,\nimport { toSelectOption } from '../../../../_metronic/helpers/functions/Select';\n\nimport { axiosInstance } from '../../../../network/apis';\n// import clsx from 'clsx';\nimport { countires } from '../../../../_metronic/constants/countries';\n\nimport { initialConfigPayload } from '../../../modules/admins/code_rules/helpers/codeRulesConfigHelpers';\n\nimport { useConfigureCodeRulesSchema } from './useConfigureCodeRulesSchema';\nimport { Input } from '../../../shared/Input';\nimport { Label } from '../../../shared/Label';\nimport { TextArea } from '../../../shared/textarea';\n\nimport SaveCancelBtnsGroup from '../../../shared/SaveCancelBtnsGroup';\nimport useExitPrompt from '../../../hooks/useExitPrompt/useExitPrompt';\n\ntype Props = {\n mode: 'create' | 'edit' | 'view';\n};\n\nexport const ConfigNewCodeRule: FC = ({ mode }) => {\n const { setShowExitPrompt, setDisable } = useExitPrompt(false);\n const { codeRulesInitialValues, codeRulesValidationSchema } = useConfigureCodeRulesSchema();\n\n const history = useHistory();\n const { formatMessage, locale } = useIntl();\n\n const [loading, setLoading] = useState(false);\n const locales = locale === 'en' ? ['en', 'ar'] : ['ar', 'en'];\n\n /* ----------------------------- Getting Templates ----------------------------- */\n\n const createCodeRule = async (values: any, resetForm: any) => {\n setLoading(true);\n const payload: { [key: string]: any } = initialConfigPayload({\n ...values,\n });\n payload['name'] = { ar: '', en: '' };\n payload['name']['ar'] = values.name_ar.trim();\n payload['name']['en'] = values.name_en.trim();\n payload['error_message'] = { ar: '', en: '' };\n payload['error_message']['ar'] = values.error_message_ar.trim();\n payload['error_message']['en'] = values.error_message_en.trim();\n payload['category'] = values.category.value;\n if (values.category.value === categoryTypesOptions[0].value) {\n var startDate = new Date(values.start_date);\n startDate.setTime(startDate.getTime() - startDate.getTimezoneOffset() * 60 * 1000); //Adjust for Timezone\n let date_range = [startDate.toISOString()];\n if (values.present === 0) {\n var endDate = new Date(values.end_date);\n endDate.setTime(endDate.getTime() - endDate.getTimezoneOffset() * 60 * 1000); //Adjust for Timezone\n date_range.push(endDate.toISOString());\n // date_range.push(values.end_date);\n }\n payload['date_range'] = date_range;\n } else if (values.category.value === categoryTypesOptions[1].value) {\n let amount_range = [values.min_amount];\n if (\n values.max_amount &&\n values.max_amount !== '' &&\n values.max_amount !== 0 &&\n values.max_amount > values.min_amount\n ) {\n amount_range.push(values.max_amount);\n }\n payload['amount_range'] = amount_range;\n } else if (values.category.value === categoryTypesOptions[2].value) {\n let countries = {\n include: [],\n exclude: [],\n };\n if (values.is_not === 0) {\n countries.include = values.nationalities.map((country: any) => country.value);\n }\n if (values.is_not === 1) {\n countries.exclude = values.nationalities.map((country: any) => country.value);\n }\n payload['countries'] = countries;\n } else if (values.category.value === categoryTypesOptions[3].value) {\n payload['third_party_account_types'] = values.third_party_types.map(\n (type: any) => type.value\n );\n } else if (values.category.value === categoryTypesOptions[4].value) {\n payload['operator'] = values.operator.value;\n payload['column'] = values.column.value;\n }\n // console.log(values);\n\n delete payload['start_date'];\n delete payload['end_date'];\n delete payload['min_amount'];\n delete payload['max_amount'];\n delete payload['nationalities'];\n delete payload['third_party_types'];\n delete payload['present'];\n delete payload['is_not'];\n const formData = serialize(payload, { indices: true });\n // console.log(payload);\n\n try {\n await axiosInstance.post(`/admin/rules`, formData);\n resetForm();\n toast.success(formatMessage({ id: 'Code rule has been created successfully!' }));\n history.push(`/admin/code-rules`);\n } catch (err) {\n DisplayErrors(err);\n }\n setLoading(false);\n };\n\n const formik = useFormik({\n initialValues: codeRulesInitialValues,\n validationSchema: codeRulesValidationSchema,\n onSubmit: (values, { resetForm }) => createCodeRule(values, resetForm),\n });\n const { setFieldValue, setFieldTouched } = formik; //, values\n\n const shouldAsk = () => Object.keys(formik.touched).length > 0;\n\n /* -------------------------------- STORE -------------------------------- */\n /* ------------------------- getting data from store ------------------------ */\n\n /* ----------------------- end getting data from store ---------------------- */\n const categoryTypesOptions = useMemo(() => {\n return Array.from(CodeRulesCategoryTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const categoryTypesOptionsWithCondition = useMemo(() => {\n const res = categoryTypesOptions;\n res.pop();\n return res;\n }, []);\n const codeRulesThirdPartyTypeMapsOptions = useMemo(() => {\n return Array.from(CodeRulesThirdPartyTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const codeRulesOperatorTypeMapsOptions = useMemo(() => {\n return Array.from(CodeRulesOperatorTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n const codeRulesColumnTypeMapsOptions = useMemo(() => {\n return Array.from(CodeRulesColumnTypeMap.values())\n .flat()\n .map((option) => toSelectOption(option, locale));\n }, [locale]);\n\n /* -------------------------------- On Init -------------------------------- */\n\n useEffect(() => {\n setShowExitPrompt(shouldAsk());\n }, [formik]);\n\n useEffect(() => {\n return () => {\n setDisable();\n setShowExitPrompt(false);\n };\n }, []);\n return (\n
\n
\n
\n
\n {mode === 'create' && $t('Create Code Rule')}\n {mode === 'view' && $t('Preview Code Rule')}\n {mode === 'edit' && $t('Edit Code Rule')}\n
\n
\n \n
\n \n
\n {Object.keys(formik.touched).length > 0 && (\n \n )}\n
\n
\n {/* ------------------------ Code Rule Name ----------------------- */}\n {locales.map((locale) => (\n
\n \n \n
\n ))}\n {/* --------------------- end Code Rule Name----------------------- */}\n {/* ------------------------ Code Rule Comparison Category ----------------------- */}\n
\n \n setFieldValue('category', value)}\n onBlur={() => formik.setFieldTouched('category', true)}\n options={categoryTypesOptionsWithCondition}\n defaultValue={categoryTypesOptions[0]}\n className='react-select smaller'\n id='comparison_category'\n />\n
\n
\n {/* --------------------- end Code Rule Comparison Category ----------------------- */}\n {/* ------------------------ Code Rule Error Message en/ar ----------------------- */}\n {locales.map((locale) => (\n
\n \n \n
\n ))}\n {/* --------------------- end Code Rule Error Message en/ar----------------------- */}\n {/* ------------------------ Code Rule Date Range ----------------------- */}\n {formik.values.category.value === categoryTypesOptions[0].value && (\n <>\n
\n \n
\n
\n
\n \n formik.setFieldValue(\n `start_date`,\n date\n ? // remove offset\n new Date(\n date.getTime() - date.getTimezoneOffset() * 60000\n ).toISOString()\n : ''\n )\n }\n maxDate={new Date()}\n onChangeRaw={(e) => {\n setFieldTouched(`start_date`, true, true);\n }}\n autoComplete='off'\n disabled={mode === 'view'}\n />\n \n
\n
\n \n formik.setFieldValue(\n `end_date`,\n date\n ? // remove offset\n new Date(\n date.getTime() - date.getTimezoneOffset() * 60000\n ).toISOString()\n : ''\n )\n }\n maxDate={new Date()}\n onChangeRaw={(e) => {\n setFieldTouched(`end_date`, true, true);\n }}\n autoComplete='off'\n disabled={\n mode === 'view' ||\n !formik.values.start_date ||\n formik.values.present === 1\n }\n />\n \n
\n {/* ------------------------ present check ----------------------- */}\n
\n {\n return formik.setFieldValue(`present`, value.target.checked ? 1 : 0);\n }}\n onBlur={() => formik.setFieldTouched(`present`, true)}\n />{' '}\n {
\n
\n {formik.values.start_date && formik.values.present === 1 && (\n
\n {formatMessage(\n {\n id: 'Transaction date should be greater than or equal {startDate} till present. If not , show the error message',\n },\n { startDate: formatDate(formik.values.start_date) }\n )}\n
\n )}\n {formik.values.start_date &&\n formik.values.end_date &&\n formik.values.present === 0 &&\n !formik.errors.start_date && (\n
\n {formatMessage(\n {\n id: 'Transaction date should be greater than or equal {startDate} and less than {endDate}. If not , show the error message',\n },\n {\n startDate: formatDate(formik.values.start_date),\n endDate: formatDate(formik.values.end_date),\n }\n )}\n
\n )}\n \n )}\n {/* --------------------- end present check ----------------------- */}\n {/* --------------------- end Code Rule Date Range----------------------- */}\n {/* ------------------------ Code Rule Amount ----------------------- */}\n {formik.values.category.value === categoryTypesOptions[1].value && (\n <>\n
\n \n
\n
\n \n
\n
\n \n
\n\n {formik.values.min_amount &&\n !formik.values.max_amount &&\n !formik.errors.min_amount &&\n !formik.errors.max_amount && (\n
\n {formatMessage(\n {\n id: 'Transaction amount should be greater than or equal {minAmount}. If not , show the error message',\n },\n { minAmount: formik.values.min_amount }\n )}\n
\n )}\n {formik.values.min_amount &&\n formik.values.max_amount &&\n !formik.errors.min_amount &&\n !formik.errors.max_amount && (\n
\n {formatMessage(\n {\n id: 'Transaction amount should be greater than or equal {minAmount} and less than or equal {maxAmount}. If not , show the error message',\n },\n {\n minAmount: formik.values.min_amount,\n maxAmount: formik.values.max_amount,\n }\n )}\n
\n )}\n \n )}\n {/* --------------------- end Code Rule Amount----------------------- */}\n {/* ------------------------ Code Rule Third party nationality ----------------------- */}\n {formik.values.category.value === categoryTypesOptions[2].value && (\n <>\n {/* --------------------- Nationalities ----------------------- */}\n
\n \n {\n formik.setFieldValue('nationalities', value);\n }}\n onBlur={() => formik.setFieldTouched('nationalities', true)}\n options={countires?.map((nationality: any) => ({\n value: nationality.iso,\n label: nationality?.emoji + ' ' + nationality?.name?.[locale],\n }))}\n isDisabled={mode === 'view'}\n isMulti\n />\n {/* error message */}\n {formik.errors?.nationalities && formik.touched?.nationalities && (\n
\n \n \n \n
\n )}\n
\n {/* --------------------- end Nationalities ----------------------- */}\n\n {/* ------------------------ is not check ----------------------- */}\n
\n {\n return formik.setFieldValue(`is_not`, value.target.checked ? 1 : 0);\n }}\n onBlur={() => formik.setFieldTouched(`is_not`, true)}\n />{' '}\n {
\n {/* ------------------------end is not check ----------------------- */}\n\n {formik.values.is_not === 0 && (\n
\n {formatMessage({\n id: 'Third parties of the linked transactions must have the chosen nationalities. If not , show the error message.',\n })}\n
\n )}\n {formik.values.is_not === 1 && (\n
\n {formatMessage({\n id: 'Third parties of the linked transactions must not have the chosen nationalities. If not , show the error message.',\n })}\n
\n )}\n \n )}\n {/* --------------------- end Code Rule Third party nationality----------------------- */}\n {/* ------------------------ Code Rule Third party type ----------------------- */}\n {formik.values.category.value === categoryTypesOptions[3].value && (\n <>\n {/* --------------------- Third party types ----------------------- */}\n
\n \n {\n formik.setFieldValue('third_party_types', value);\n }}\n onBlur={() => formik.setFieldTouched('third_party_types', true)}\n options={codeRulesThirdPartyTypeMapsOptions}\n isDisabled={mode === 'view'}\n isMulti\n />\n {/* error message */}\n {formik.errors?.third_party_types && formik.touched?.third_party_types && (\n
\n \n \n \n
\n )}\n
\n {/* --------------------- end Third party types ----------------------- */}\n\n
\n {formatMessage({\n id: 'Third parties of the linked transactions must have the chosen types. If not , show the error message.',\n })}\n
\n \n )}\n {/* --------------------- end Code Rule Third party type----------------------- */}\n {/* ------------------------ Code Rule Transaction date ----------------------- */}\n {formik.values.category.value === categoryTypesOptions[4].value && (\n <>\n {/* --------------------- Third Transaction date ----------------------- */}\n
\n
\n
\n \n
\n
\n
\n {/* --------------------- end Third Transaction date ----------------------- */}\n\n {formik.values.operator.value === 1 && +formik.values.period > 0 && (\n
\n {formatMessage(\n {\n id: 'Transaction date should not be before than {period} month/s of the report date. If not , show the error message.',\n },\n {\n period: formik.values.period,\n }\n )}\n
\n )}\n {formik.values.operator.value === 2 && +formik.values.period > 0 && (\n
\n {formatMessage(\n {\n id: 'Transaction date should not be later than {period} month/s of the report date. If not , show the error message.',\n },\n {\n period: formik.values.period,\n }\n )}\n
\n )}\n \n )}\n {/* --------------------- end Code Rule Transaction date----------------------- */}\n
\n\n {/* Save and Cancel Buttons */}\n {mode === 'create' && (\n <>\n {\n history.push(`/admin/code-rules`);\n }}\n />\n \n )}\n
\n \n
\n
\n
\n
\n );\n};\n\nconst ConfigNewCodeRuleCreate: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Code Rules' })}\n {/*
Create New Code Rule
*/}\n \n
\n );\n};\n\nconst ConfigNewCodeRuleEdit: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'Code Rules' })}\n \n
\n );\n};\n\nconst ConfigNewCodeRuleView: FC = () => {\n const { formatMessage } = useIntl();\n\n return (\n
\n {formatMessage({ id: 'Code Rules' })}\n \n
\n );\n};\n\nexport { ConfigNewCodeRuleCreate, ConfigNewCodeRuleEdit, ConfigNewCodeRuleView };\n","import { FC, useEffect, useMemo, useState } from 'react';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useLocation, useParams } from 'react-router-dom';\nimport Select from 'react-select';\nimport * as Yup from 'yup';\n\nimport { RootState } from '../../../setup/redux/Store';\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../_metronic/layout/core';\nimport { SeparatorLines } from '../../shared/Lines';\nimport { CompanyModel } from '../companies/CompanyModel';\n\nimport * as RolesRedux from '../roles/store/RolesRedux';\nimport * as UsersRedux from './store/UsersRedux';\n\nimport { Role, RolesDataListModel } from '../roles/types/Roles';\nimport { user } from '../../types/user';\nimport { userStatusColorsMap } from '../../../_metronic/constants/colors';\nimport { Input } from '../../shared/Input';\nimport { useFormik } from 'formik';\nimport { toAbsoluteUrl } from '../../../_metronic/helpers';\nimport { formatDate } from '../../shared/tables/classes/DateViewer';\nimport { nameWithoutSpcialCharsStartOrEnd } from '../../../_metronic/helpers/functions';\nimport { commonValidations } from '../../../_metronic/constants/GeneralValidations';\nimport { DisplayErrors } from '../../../utils/DisplayErrors';\nimport { toast } from 'react-toastify';\nimport { axiosInstance } from '../../../network/apis';\nimport { usePermissions } from '../../hooks/usePermissions';\n\ntype Props = {\n mode: 'edit' | 'view';\n};\n\nexport const UsersEditByCompanyOwner: FC = ({ mode }) => {\n const dispatch = useDispatch();\n const { formatMessage, locale } = useIntl();\n const params: any = useParams();\n const history = useHistory();\n const [loading, setLoading] = useState(false);\n const locales = locale === 'en' ? ['en', 'ar'] : ['ar', 'en'];\n const [filteredOption, setSilteredOption] = useState([]);\n const validationSchema = useMemo(\n () =>\n Yup.object().shape({\n roles: Yup.array().min(1, $t('Please choose at least one')),\n position_ar: Yup.string()\n .min(\n commonValidations.nameMinimum,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: commonValidations.nameMinimum }\n )\n )\n .max(\n commonValidations.nameMaximum,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: commonValidations.nameMaximum }\n )\n )\n .test(\n 'position_ar',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n position_en: Yup.string()\n .min(\n commonValidations.nameMinimum,\n formatMessage(\n { id: 'Please enter at least {minCharacters} characters' },\n { minCharacters: commonValidations.nameMinimum }\n )\n )\n .max(\n commonValidations.nameMaximum,\n formatMessage(\n { id: 'The Maximum characters is {maxCharacters}' },\n { maxCharacters: commonValidations.nameMaximum }\n )\n )\n .test(\n 'position_en',\n formatMessage({ id: \"You can't enter special character at first or last!\" }),\n (val) => nameWithoutSpcialCharsStartOrEnd(val)\n ),\n }),\n [formatMessage]\n );\n\n /* -------------------------- Bring Data from store ------------------------- */\n\n const companyDetails: CompanyModel = useSelector(\n (state) => state?.USER_companies.companyDetails,\n shallowEqual\n ) as CompanyModel;\n\n const roles: RolesDataListModel = useSelector(\n (state) => state.roles.roles,\n shallowEqual\n ) as RolesDataListModel;\n\n const user: user = useSelector(\n (state) => state.USER_users.singleUser,\n shallowEqual\n ) as user;\n\n /* ----------------------- Getting roles for dropdown ----------------------- */\n useEffect(() => {\n if (companyDetails?.id && params.companySlug) {\n dispatch(\n RolesRedux.actions.getRoles({ companyId: companyDetails.id, params: { per_page: 0 } })\n );\n }\n if (companyDetails?.id && params.companySlug) {\n dispatch(\n UsersRedux.actions.getSingleUser({ companyId: companyDetails.id, userId: params.userId })\n );\n }\n }, [dispatch, companyDetails?.id, params.companySlug]);\n\n const formik = useFormik({\n initialValues: {\n ...user,\n position_ar: user?.position?.ar,\n position_en: user?.position?.en,\n roles: user?.roles?.map((role) => ({\n value: role?.id,\n label: role?.name,\n is_company_admin: role?.is_company_admin,\n })),\n },\n enableReinitialize: true,\n validationSchema,\n onSubmit: async (values, { setStatus, setSubmitting }) => {\n setLoading(true);\n try {\n await axiosInstance.put(`/${companyDetails.id}/users/${user.id}`, {\n position: {\n en: values.position_en,\n ar: values.position_ar,\n },\n roles: values.roles.map((role) => role?.value),\n });\n toast.success(formatMessage({ id: 'The changes have been successfully made!' }));\n } catch (error: any) {\n DisplayErrors(error);\n setSubmitting(false);\n }\n setLoading(false);\n },\n });\n\n useEffect(() => {\n formik.setFieldValue('position_ar', user?.position?.ar);\n formik.setFieldValue('position_en', user?.position?.en);\n formik.setFieldValue(\n 'roles',\n user?.roles?.map((role) => ({\n value: role?.id,\n label: role?.name,\n is_company_admin: role?.is_company_admin,\n }))\n );\n return () => {\n formik.resetForm();\n };\n }, [user]);\n\n useEffect(() => {\n return () => {\n formik.resetForm();\n dispatch(UsersRedux.actions.fulfillSingleUser({}));\n };\n }, []);\n useEffect(() => {\n const filteredArray = roles?.data?.filter(\n (object: any) =>\n user?.roles.findIndex((matchedObject) => matchedObject.id === object.id) === -1\n );\n setSilteredOption(filteredArray);\n }, [roles, user]);\n /* ----------------------------------- styles ---------------------------------- */\n\n const styles = {\n multiValueRemove: (base: any, state: any) => {\n return state.data.is_company_admin && user?.isCompanyAdmin\n ? { ...base, display: 'none' }\n : base;\n },\n };\n return (\n
\n
\n

{user?.name}

\n
\n \n \n \n {$t('Status')}\n \n {$t(userStatusColorsMap.get(user?.active ? 1 : 0)?.labelId || 'missing')}\n \n
\n
\n
\n
\n
\n {$t('User Track')}\n
\n \n {$t('Personal Information')}\n
\n
\n \n
\n
\n {/* Date Of Profile Creation */}\n
\n {' '}\n {$t('Date Of Profile Creation')}:{' '}\n {formatDate(user?.created_at)}\n
\n \n {/* Date Of Last Seen */}\n
\n {$t('Date Of Last Seen')}:{' '}\n \n {formatDate(user?.last_seen || user?.created_at)}\n \n
\n \n {/* Number Of Created Docs */}\n
\n {' '}\n {$t('Number Of Created Docs')}:{' '}\n {user?.docs_count}\n
\n \n {/* Number Of Completed Docs */}\n
\n {' '}\n {$t('Number Of Completed Docs')}:{' '}\n {user?.completed_docs_count}\n
\n
\n
\n
\n
\n {/* eslint-disable-next-line jsx-a11y/alt-text */}\n \n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n {locales.map((locale) => (\n
\n \n
\n ))}\n
\n
\n \n ({\n value: role.id.toString(),\n label: role.name,\n is_company_admin: role?.is_company_admin,\n }))}\n value={formik.values.roles}\n isMulti\n onChange={(selection) => formik.setFieldValue('roles', selection)}\n styles={styles}\n />\n {formik?.errors?.roles && formik.touched.roles && (\n
\n \n {formik?.errors?.roles}\n \n
\n )}\n
\n {mode === 'edit' && (\n <>\n \n \n history.push(`/c/${companyDetails.slug}/company-management/users`)\n }\n >\n {$t('Cancel')}\n \n \n )}\n
\n
\n
\n
\n \n );\n};\n\nconst UsersEditWrapper: FC = () => {\n const { formatMessage } = useIntl();\n return (\n
\n {formatMessage({ id: 'User Profile' })}\n \n
\n );\n};\n\nconst UsersViewWrapper: FC = () => {\n const { formatMessage } = useIntl();\n const { userCan } = usePermissions();\n const history = useHistory();\n const location = useLocation();\n\n return (\n
\n {formatMessage({ id: 'User Profile' })}\n \n {userCan('edit-user') && (\n
\n history.push(location.pathname + '/edit')}\n >\n \n \n
\n )}\n
\n );\n};\n\nexport { UsersEditWrapper, UsersViewWrapper };\n","import { axiosInstance } from '../../../../network/apis';\nimport { endpoints } from '../../../../_metronic/constants/paths';\n\nexport const companyUserCompanies = endpoints.userCompanies;\n\nexport function getAllUserCompanies({ params }: { params?: any }) {\n return axiosInstance.get(companyUserCompanies(), { params });\n}\n","import { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\nimport { put, takeLatest } from 'redux-saga/effects';\nimport { ActionWithPayload } from '../../../interface/ActionWithPayload';\n\nimport { getAllUserCompanies } from './UserCompaniesCRUD';\n\nexport enum IUserCompaniesActionTypes {\n GET_USER_COMPANIES = 'GET_USER_COMPANIES',\n FULL_FILL_USER_COMPANIES = 'FULL_FILL_USER_COMPANIES',\n}\n\nconst initialUserCompanies: IUserCompaniesState = {\n userCompanies: undefined,\n};\n\nexport interface IUserCompaniesState {\n userCompanies?: any;\n}\n\nexport const reducer = persistReducer(\n { storage, key: 'USER_User_Companies', whitelist: [''] },\n (\n state: IUserCompaniesState = initialUserCompanies,\n action: ActionWithPayload\n ) => {\n switch (action.type) {\n case IUserCompaniesActionTypes.FULL_FILL_USER_COMPANIES:\n return { ...state, userCompanies: action.payload?.userCompanies };\n default:\n return state;\n }\n }\n);\n\nexport const actions = {\n getUserCompanies: ({ params }: any) => ({\n type: IUserCompaniesActionTypes.GET_USER_COMPANIES,\n payload: { params },\n }),\n fullFillUserCompanies: ({ userCompanies }: IUserCompaniesState) => ({\n type: IUserCompaniesActionTypes.FULL_FILL_USER_COMPANIES,\n payload: { userCompanies },\n }),\n};\n\nexport function* getUserCompanies(action: ActionWithPayload) {\n try {\n const { data } = yield getAllUserCompanies({\n params: action.payload?.params,\n });\n\n yield put(actions.fullFillUserCompanies({ userCompanies: data }));\n } catch (error) {\n //\n }\n}\n\nexport function* saga() {\n yield takeLatest(IUserCompaniesActionTypes.GET_USER_COMPANIES, getUserCompanies);\n}\n","import { FC, useEffect, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { shallowEqual, useDispatch, useSelector } from 'react-redux';\n\nimport { $t } from '../../../_metronic/i18n/formatMessage';\nimport { PageTitle } from '../../../_metronic/layout/core';\n\nimport { KTSVG } from '../../../_metronic/helpers';\nimport { RootState } from '../../../setup/redux/Store';\nimport { TableData, TableSelection } from '../../shared/tables/classes'; // TableActions,\nimport { SerachFilters } from '../../shared/SearchFilters';\nimport * as TableRedux from '../../store/TableRedux';\n\nimport * as UserCompaniesRedux from './store/UserCompaniesRedux';\nimport { IUserCompanyModel, UserCompaniesDataListModel } from './types/UserCompanyModel';\nimport { CommonTable2 } from '../../shared/tables/Table2';\nimport { useLang } from '../../../_metronic/i18n/Metronici18n';\n\nconst TABLE_NAME = 'user-companies-list';\n\nconst headerItems = [\n // { id: 'ID', maxWidth: 150, width: 150 },\n { id: 'Company short name / code', maxWidth: 240, width: 230 },\n { id: 'Company name', maxWidth: 240, width: 230 },\n { id: 'Job Title', maxWidth: 240, width: 230 },\n // { id: 'Role', maxWidth: 150, width: 150 },\n { id: 'Roles', maxWidth: 250, width: 250 },\n { id: 'Company profile status', maxWidth: 150, width: 150 },\n { id: 'Company type', maxWidth: 150, width: 150 },\n { id: 'The last VAT processing period', maxWidth: 250, width: 250 },\n { id: 'The most recent withholding tax processing period', maxWidth: 250, width: 250 },\n];\n\nexport const UserCompanies: FC = () => {\n return (\n
\n \n
\n );\n};\n\nexport const UserCompaniesTable: FC = () => {\n const dispatch = useDispatch();\n const { formatMessage } = useIntl();\n const [showSearchFilters, setShowSearchFilters] = useState(false);\n\n const userCompaniesList: UserCompaniesDataListModel = useSelector((state) => {\n return state.USER_User_Companies.userCompanies;\n }, shallowEqual) as UserCompaniesDataListModel;\n\n const tables: any = useSelector((state) => state.table.tables) as any;\n\n const table = tables[TABLE_NAME];\n\n /* --------------------------------- Leaving -------------------------------- */\n useEffect(() => {\n return () => {\n dispatch(UserCompaniesRedux.actions.fullFillUserCompanies({}));\n };\n }, []);\n /* ------------------------------- End Leaving ------------------------------ */\n\n function RequestData() {\n const table = tables[TABLE_NAME];\n\n dispatch(\n UserCompaniesRedux.actions.getUserCompanies({\n params: {\n ...table?.query,\n page: table?.page,\n per_page: table?.pagination,\n },\n })\n );\n }\n\n useEffect(() => {\n if (table) {\n RequestData();\n }\n }, [table?.page, table?.pagination]);\n\n const searchFilterHandler = () => {\n if (table?.page) {\n RequestData();\n }\n };\n\n const clearSearchFilterHandler = () => {\n if (table?.page) {\n dispatch(TableRedux.actions.clearQuery({ tableName: TABLE_NAME }));\n RequestData();\n }\n };\n const locale = useLang();\n\n const rowItems = userCompaniesList?.data.map((userCompany: IUserCompanyModel, index: any) => {\n return [\n new TableSelection({\n display: true,\n id: userCompany.id,\n tableName: TABLE_NAME,\n }),\n new TableData({\n text: `${userCompany.short_name}`,\n }),\n new TableData({\n text: userCompany?.name,\n }),\n new TableData({\n text: userCompany?.position,\n }),\n // new TableData({\n // text: `${formatMessage({\n // id: userCompany?.role,\n // })}`,\n // }),\n new TableData({\n text: userCompany?.roles.map((role: any) => role.name).join(', '),\n }),\n new TableData({\n text: `${formatMessage({\n id: userCompany?.status,\n })}`,\n }),\n new TableData({\n text: `${formatMessage({\n id: userCompany?.type,\n })}`,\n }),\n new TableData({\n text: userCompany?.latest_approved_vat_report?.date_period[locale]!,\n }),\n new TableData({\n text: userCompany?.latest_approved_withholding_report?.date_period[locale]!,\n }),\n\n // new TableActions(
),\n ];\n });\n\n return (\n <>\n
\n {/* begin::Header */}\n
\n {/* ------------------------ start search and filters ------------------------ */}\n\n
\n {\n setShowSearchFilters(!showSearchFilters);\n }}\n >\n {!showSearchFilters && (\n \n )}\n {showSearchFilters && (\n \n )}\n \n
\n\n {/* ------------------------- End Search and filters ------------------------- */}\n
\n {/* end::Header */}\n\n {showSearchFilters && (\n
\n
\n
{$t('Search')}
\n
\n
\n {\n dispatch(\n TableRedux.actions.updateQuery({\n value: value,\n tableName: TABLE_NAME,\n queryTerm: 'name',\n })\n );\n },\n placeholderId: 'Search anything',\n },\n ]}\n // rightHandSide={[]}\n searchFilterHandler={searchFilterHandler}\n clearSearchFilterHandler={clearSearchFilterHandler}\n />\n
\n )}\n\n userCompany.id) || []\n }\n meta={userCompaniesList}\n headerItems={headerItems}\n rowItems={rowItems}\n headerWithCheckbox={true}\n />\n
\n \n );\n};\n\nconst UserCompaniesWrapper: FC = () => {\n const { formatMessage } = useIntl();\n\n return (\n
\n {formatMessage({ id: 'User companies' })}\n\n \n
\n );\n};\n\nexport { UserCompaniesWrapper };\n","import clsx from 'clsx';\nimport { useLayout } from '../../core';\nimport { Logo } from '../../../../app/shared/LogoWithCompany';\nimport { HeaderUserMenuContainer } from './HeaderUserMenuContainer';\nimport SwitchButton from './switchButton';\nimport useWindowSize from '../../../../app/hooks/useWindowSize';\n\nexport function CompaniesHeaderWrapper() {\n const { classes, attributes } = useLayout();\n const { width } = useWindowSize();\n\n return (\n \n \n \n
\n = 1024 ? 'd-flex align-items-center justify-content-end me-3' : 'd-none'\n }\n >\n \n
\n \n \n \n \n );\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from 'react';\r\nimport { KTSVG, toAbsoluteUrl } from '../../../_metronic/helpers';\r\nimport { FormattedMessage, useIntl } from 'react-intl';\r\nimport { Link } from 'react-router-dom';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\n\r\nimport { useLocation } from 'react-router-dom';\r\nimport { UserModel } from '../../../app/modules/auth/models/UserModel';\r\nimport { RootState } from '../../../setup/redux/Store';\r\nimport { capitalize } from '../../../utils/strings';\r\n\r\nconst ProfileHeader: React.FC = () => {\r\n const location = useLocation();\r\n const { formatMessage } = useIntl();\r\n // getusersData from redux\r\n const user: UserModel = useSelector(\r\n (state) => state.auth.user,\r\n shallowEqual\r\n ) as UserModel;\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n

\r\n \r\n

\r\n
\r\n\r\n
\r\n \r\n \r\n {user.phone}+\r\n \r\n \r\n \r\n {user.email}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n window.open('https://ahad.ws/prices/')}\r\n >\r\n
\r\n \r\n
{formatMessage({ id: 'Prices' })}
\r\n
\r\n\r\n
\r\n {formatMessage({ id: 'Prices list' })}\r\n
\r\n
\r\n\r\n window.open('https://ahad.ws/waiting-list/')}\r\n >\r\n
\r\n \r\n
{formatMessage({ id: 'Reservation' })}
\r\n
\r\n\r\n
\r\n {formatMessage({ id: 'Reservation follow up' })}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n {formatMessage({ id: 'News' })}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n window.open(\r\n 'https://ahad.ws/news-articles/tax-regulations/%d8%a7%d9%84%d8%b2%d9%83%d8%a7%d8%a9-%d9%88%d8%a7%d9%84%d8%b6%d8%b1%d9%8a%d8%a8%d8%a9-%d9%88%d8%a7%d9%84%d8%ac%d9%85%d8%a7%d8%b1%d9%83-%d8%aa%d9%8f%d8%b4%d9%83%d9%91%d9%84-%d9%84%d8%ac%d9%86%d8%a9/'\r\n )\r\n }\r\n className='text-primary fw-semibold fs-6 me-2 cursor-pointer'\r\n >\r\n {formatMessage({\r\n id: 'Zakat, Tax and Customs Authority (ZATCA) forms an advisory committee to present recommendations and proposals',\r\n })}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n window.open(\r\n 'https://ahad.ws/news-articles/general/%d8%a7%d9%84%d8%b2%d9%83%d8%a7%d8%a9-%d8%a7%d9%84%d8%b3%d8%b9%d9%88%d8%af%d9%8a%d8%a9-%d8%aa%d9%8c%d9%82%d8%b1-%d8%aa%d8%b9%d8%af%d9%8a%d9%84-%d8%aa%d8%b9%d9%84%d9%8a%d9%85%d8%a7%d8%aa-%d8%aa/'\r\n )\r\n }\r\n className='text-primary fw-semibold fs-6 me-2 cursor-pointer'\r\n >\r\n {formatMessage({\r\n id: 'Zakat, Tax and Customs Authority (ZATCA) approves the amendment of the transaction pricing instructions',\r\n })}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n window.open(\r\n 'https://ahad.ws/news-articles/tax-regulations/%d8%a7%d9%84%d8%b2%d9%83%d8%a7%d8%a9-%d9%88%d8%a7%d9%84%d8%b6%d8%b1%d9%8a%d8%a8%d8%a9-%d9%88%d8%a7%d9%84%d8%ac%d9%85%d8%a7%d8%b1%d9%83-%d8%aa%d8%ad%d8%af%d8%af-%d9%85%d8%b9%d9%8a%d8%a7%d8%b1-%d8%a7/'\r\n )\r\n }\r\n className='text-primary fw-semibold fs-6 me-2 cursor-pointer'\r\n >\r\n {formatMessage({\r\n id: 'Zakat, Tax and Customs Authority (ZATCA) determines the criteria for selecting target establishments in the third group of electronic invoicing',\r\n })}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n {/* overflow-auto */}\r\n
\r\n
    \r\n
  • \r\n \r\n {formatMessage({ id: 'Companies' })}\r\n \r\n
  • \r\n
  • \r\n \r\n {formatMessage({ id: 'User Profile' })}\r\n \r\n
  • \r\n
  • \r\n \r\n {formatMessage({ id: 'User companies' })}\r\n \r\n
  • \r\n {/*
  • \r\n \r\n {formatMessage({ id: 'my_docs' })}\r\n \r\n
  • */}\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport { ProfileHeader };\r\n","import React from 'react';\nimport { Route, Switch } from 'react-router-dom'; //useParams,\nimport { Content } from './components/Content';\nimport { PageDataProvider } from './core';\nimport { CompaniesHeaderWrapper } from './components/header/CompaniesHeaderWrapper';\nimport { Footer } from './components/Footer';\nimport { ProfileHeader } from '../../app/modules/profile/ProfileHeader';\n// import { Toolbar } from './components/toolbar/Toolbar';\n\nconst CompaniesSelectionLayout: React.FC = ({ children }) => {\n return (\n \n
\n
\n \n
\n
\n {/* */}\n
\n
\n \n
\n \n \n {children}\n \n \n
\n
\n
\n
\n
\n