@coopenomics/desktop 2.2.9 → 2025.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env-example +6 -1
- package/.env-testnet +8 -0
- package/CHANGELOG.md +11 -0
- package/Dockerfile +12 -0
- package/extensions/market/install.ts +78 -0
- package/extensions/market-admin/install.ts +42 -0
- package/extensions/participant/install.ts +125 -0
- package/extensions/powerup/install.ts +20 -0
- package/extensions/soviet/install.ts +83 -0
- package/package.json +6 -5
- package/quasar.config.cjs +5 -12
- package/src/app/App.vue +44 -73
- package/src/app/layouts/default.vue +40 -0
- package/src/app/layouts/useDefaultLayoutLogic.ts +59 -0
- package/src/app/providers/routes/index.ts +19 -34
- package/src/app/styles/style.css +4 -0
- package/src/boot/init.ts +6 -0
- package/src/boot/sentry.ts +1 -2
- package/src/desktops/index.ts +0 -6
- package/src/entities/Account/api/index.ts +11 -2
- package/src/entities/Account/model/index.ts +1 -1
- package/src/entities/Account/model/store.ts +15 -5
- package/src/entities/Account/types/index.ts +9 -1
- package/src/entities/Agenda/api/index.ts +20 -0
- package/src/entities/Agenda/index.ts +2 -0
- package/src/entities/Agenda/model/index.ts +2 -0
- package/src/entities/Agenda/model/store.ts +36 -0
- package/src/entities/Agenda/model/types.ts +4 -0
- package/src/entities/Branch/model/index.ts +1 -1
- package/src/entities/Desktop/api/index.ts +16 -1
- package/src/entities/Desktop/model/store.ts +112 -106
- package/src/entities/Desktop/model/types.ts +14 -1
- package/src/entities/Document/api/index.ts +24 -0
- package/src/entities/Document/index.ts +2 -0
- package/src/entities/Document/model/store.ts +117 -0
- package/src/entities/Document/model/types.ts +18 -0
- package/src/entities/Meet/api/index.ts +58 -0
- package/src/entities/Meet/index.ts +2 -0
- package/src/entities/Meet/model/store.ts +72 -0
- package/src/entities/Meet/types/index.ts +7 -0
- package/src/entities/Payment/api/index.ts +20 -0
- package/src/entities/Payment/model/index.ts +2 -0
- package/src/entities/Payment/model/store.ts +62 -0
- package/src/entities/Payment/model/types.ts +7 -0
- package/src/entities/Session/model/store.ts +5 -6
- package/src/entities/System/model/store.ts +1 -1
- package/src/entities/User/model/stores.ts +3 -1
- package/src/entities/Wallet/api/index.ts +15 -33
- package/src/entities/Wallet/model/stores.ts +3 -23
- package/src/entities/Wallet/model/types.ts +2 -3
- package/src/features/Account/UpdateAccount/api/index.ts +14 -0
- package/src/features/Account/UpdateAccount/index.ts +1 -0
- package/src/features/Account/UpdateAccount/model/index.ts +16 -0
- package/src/features/Agreementer/SignAgreementDialog/ui/SignAgreementDialog.vue +1 -1
- package/src/features/Branch/SelectBranch/index.ts +2 -0
- package/src/features/Branch/SelectBranch/ui/SelectBranchOverlay.vue +52 -104
- package/src/features/Decision/CreateProject/ui/CreateProjectFreeDecisionButton.vue +1 -1
- package/src/features/Decision/ParticipantApplication/model/index.ts +38 -0
- package/src/features/FreeDecision/CreateProject/model/index.ts +92 -0
- package/src/features/FreeDecision/CreateProject/ui/CreateProjectFreeDecisionButton.vue +51 -0
- package/src/features/FreeDecision/CreateProject/ui/index.ts +1 -0
- package/src/features/FreeDecision/GenerateDecision/index.ts +1 -0
- package/src/features/FreeDecision/GenerateDecision/model/index.ts +36 -0
- package/src/features/FreeDecision/index.ts +2 -0
- package/src/features/Meet/CloseMeetWithDecision/index.ts +1 -0
- package/src/features/Meet/CloseMeetWithDecision/model/index.ts +92 -0
- package/src/features/Meet/CreateMeet/index.ts +2 -0
- package/src/features/Meet/CreateMeet/model/index.ts +65 -0
- package/src/features/Meet/CreateMeet/ui/CreateMeet.vue +34 -0
- package/src/features/Meet/CreateMeet/ui/CreateMeetForm.vue +136 -0
- package/src/features/Meet/CreateMeet/ui/index.ts +2 -0
- package/src/features/Meet/GenerateAgenda/index.ts +1 -0
- package/src/features/Meet/GenerateAgenda/model/index.ts +18 -0
- package/src/features/Meet/GenerateBallot/index.ts +1 -0
- package/src/features/Meet/GenerateBallot/model/index.ts +18 -0
- package/src/features/Meet/GenerateNotification/index.ts +1 -0
- package/src/features/Meet/GenerateNotification/model/index.ts +18 -0
- package/src/features/Meet/GenerateSovietDecision/index.ts +1 -0
- package/src/features/Meet/GenerateSovietDecision/model/index.ts +48 -0
- package/src/features/Meet/MeetDetailsManagement/index.ts +1 -0
- package/src/features/Meet/MeetDetailsManagement/model/index.ts +121 -0
- package/src/features/Meet/RestartMeet/index.ts +2 -0
- package/src/features/Meet/RestartMeet/model/index.ts +54 -0
- package/src/features/Meet/RestartMeet/ui/RestartMeet.vue +46 -0
- package/src/features/Meet/RestartMeet/ui/RestartMeetForm.vue +92 -0
- package/src/features/Meet/RestartMeet/ui/index.ts +2 -0
- package/src/features/Meet/VoteOnMeet/index.ts +1 -0
- package/src/features/Meet/VoteOnMeet/model/index.ts +18 -0
- package/src/features/Payment/SetStatus/api/index.ts +20 -0
- package/src/features/Payment/SetStatus/index.ts +1 -0
- package/src/features/Payment/SetStatus/model/index.ts +30 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderPaidStatusButton/SetOrderPaidStatusButton.vue +7 -3
- package/src/features/PaymentMethod/AddPaymentMethod/model/index.ts +2 -2
- package/src/features/PaymentMethod/AddPaymentMethod/ui/AddPaymentButton.vue +1 -1
- package/src/features/PaymentMethod/DeletePaymentMethod/model/index.ts +1 -1
- package/src/features/PaymentMethod/DeletePaymentMethod/ui/DeletePaymentMethodButton.vue +3 -1
- package/src/features/Request/CancelRequest/ui/CancelButton.vue +1 -1
- package/src/features/Request/ConfirmRecieveOnRequest/ui/ConfirmRecieveOnRequest.vue +1 -1
- package/src/features/Request/CreateParentOffer/ui/CreateParentOfferForm/CreateParentOfferForm.vue +3 -5
- package/src/features/Request/CreateParentOffer/ui/ImageUploaderWithPreview/ImageUploaderWithPreview.vue +4 -3
- package/src/features/Request/DisputeOnRequest/ui/DisputeOnRequestButton.vue +1 -1
- package/src/features/Request/ModerateRequest/ui/ModerateRequestButton.vue +2 -2
- package/src/features/Request/PublishRequest/ui/PublishRequestButton.vue +1 -1
- package/src/features/Request/RecieveOnRequest/ui/RecieveOnRequestButton.vue +1 -1
- package/src/features/Request/UnpublishRequest/ui/UnpublishRequestButton.vue +1 -1
- package/src/features/Union/AddCooperative/model/index.ts +4 -5
- package/src/features/Union/AddCooperative/ui/AddCooperativeForm.vue +5 -6
- package/src/features/User/AddUser/ui/AddUserDialog/AddUserDialog.vue +7 -4
- package/src/features/User/LoginUser/model/index.ts +3 -3
- package/src/features/User/LoginUser/ui/LoginForm/LoginForm.vue +0 -6
- package/src/features/User/Logout/model/index.ts +5 -3
- package/src/features/Wallet/DepositToWallet/ui/DepositButton/DepositButton.vue +8 -7
- package/src/features/Wallet/WithdrawFromWallet/ui/withdrawButton.vue +6 -7
- package/src/pages/Blank/index.ts +1 -0
- package/src/pages/Contacts/ContactsPage.vue +64 -0
- package/src/{widgets/Cooperative/Contacts → pages/Cooperative/ChangeContacts}/ui/index.ts +0 -1
- package/src/{widgets/Cooperative/Contributions/ui/ChangeContributions.vue → pages/Cooperative/ChangeRegisterPayments/ui/ChangeRegisterPayments.vue} +10 -11
- package/src/pages/Cooperative/ChangeRegisterPayments/ui/index.ts +1 -0
- package/src/pages/Cooperative/ListOfAgenda/index.ts +1 -0
- package/src/pages/Cooperative/ListOfAgenda/ui/ListOfAgendaQuestions.vue +118 -0
- package/src/pages/Cooperative/ListOfAgenda/ui/index.ts +1 -0
- package/src/pages/Cooperative/ListOfDocuments/ListOfDocumentsPage.vue +24 -0
- package/src/pages/Cooperative/ListOfMeets/model/index.ts +1 -0
- package/src/pages/Cooperative/ListOfMeets/model/model.ts +117 -0
- package/src/pages/Cooperative/ListOfMeets/ui/ListOfMeetsPage.vue +90 -0
- package/src/pages/Cooperative/ListOfMeets/ui/index.ts +1 -0
- package/src/pages/Cooperative/ListOfOrders/index.ts +1 -1
- package/src/pages/Cooperative/ListOfOrders/ui/ListOfOrdersPage.vue +0 -4
- package/src/pages/Cooperative/ListOfParticipants/ui/ListOfParticipantsPage.vue +61 -10
- package/src/pages/Cooperative/ListOfParticipants/ui/index.ts +1 -1
- package/src/pages/Cooperative/MeetDetails/ui/MeetDetailsPage.vue +88 -0
- package/src/pages/Cooperative/MeetDetails/ui/index.ts +1 -0
- package/src/pages/Cooperative/{ListOfBranches/ui/ListOfBranchesPage.vue → MemberBranchList/ui/MemberBranchListPage.vue} +2 -4
- package/src/pages/Cooperative/MemberBranchList/ui/index.ts +1 -0
- package/src/pages/Cooperative/Payments/index.ts +1 -0
- package/src/pages/Cooperative/Payments/ui/PaymentsPage.vue +7 -0
- package/src/pages/{ExtStore → ExtensionStore}/ExtensionPage/ExtensionPage.vue +35 -20
- package/src/pages/{ExtStore → ExtensionStore}/ExtensionsShowcase/ExtensionsShowcase.vue +2 -2
- package/src/pages/{ExtStore → ExtensionStore}/InstalledExtensions/InstalledExtensions.vue +2 -2
- package/src/pages/Marketplace/OfferPage/ui/OfferPage.vue +1 -1
- package/src/pages/Marketplace/Showcase/ui/ShowcasePage.vue +1 -1
- package/src/pages/Marketplace/SuppliesList/ui/SuppliesListPage.vue +1 -1
- package/src/pages/Marketplace/UserParentOffers/ui/UserParentOffersPage.vue +1 -1
- package/src/pages/Marketplace/UserSuppliesList/ui/UserSuppliesListPage.vue +1 -1
- package/src/pages/PermissionDenied/index.ts +1 -0
- package/src/pages/Registrator/SignUp/EmailInput.vue +2 -3
- package/src/pages/Registrator/SignUp/GenerateAccount.vue +2 -3
- package/src/pages/Registrator/SignUp/PayInitial.vue +1 -1
- package/src/pages/Registrator/SignUp/ReadStatement.vue +2 -2
- package/src/pages/Registrator/SignUp/SelectBranch.vue +2 -2
- package/src/pages/Registrator/SignUp/SignStatement.vue +2 -2
- package/src/pages/Registrator/SignUp/SignUp.vue +5 -12
- package/src/pages/Registrator/SignUp/WaitingRegistration.vue +1 -5
- package/src/pages/Registrator/SignUp/Welcome.vue +4 -3
- package/src/pages/Union/ConnectionAgreement/index.ts +1 -0
- package/src/pages/Union/ListOfCooperatives/ui/UnionPageListOfCooperatives.vue +139 -6
- package/src/pages/User/DocumentsPage/UserDocumentsPage.vue +23 -0
- package/src/pages/User/DocumentsPage/index.ts +1 -0
- package/src/pages/User/PaymentsPage/ui/UserPayments.vue +11 -0
- package/src/pages/User/PaymentsPage/ui/index.ts +1 -0
- package/src/pages/User/ProfilePage/index.ts +1 -0
- package/src/pages/User/ProfilePage/ui/ProfilePage.vue +114 -0
- package/src/pages/User/ProfilePage/ui/index.ts +1 -0
- package/src/pages/User/SettingsPage/ui/index.ts +1 -1
- package/src/pages/User/WalletPage/index.ts +1 -0
- package/src/pages/User/WalletPage/ui/WalletPage.vue +72 -0
- package/src/pages/User/WalletPage/ui/index.ts +1 -0
- package/src/processes/init-app/index.ts +28 -0
- package/src/processes/init-installed-extensions/index.ts +25 -0
- package/src/processes/init-wallet/index.ts +40 -0
- package/src/processes/navigation-guard-setup/index.ts +45 -0
- package/src/processes/process-decisions/index.ts +275 -0
- package/src/processes/select-branch/index.ts +80 -0
- package/src/processes/watch-branch-overlay/index.ts +38 -0
- package/src/processes/watch-desktop-health/index.ts +33 -0
- package/src/shared/api/alerts.ts +2 -6
- package/src/shared/api/axios.ts +4 -5
- package/src/shared/api/client.ts +3 -4
- package/src/shared/api/eosio.ts +1 -2
- package/src/shared/api/utils.ts +1 -3
- package/src/shared/config/index.ts +0 -1
- package/src/shared/hooks/index.ts +2 -0
- package/src/shared/hooks/useAgendaPoints.ts +24 -0
- package/src/shared/hooks/useWindowSize.ts +13 -0
- package/src/shared/lib/composables/useDisplayName.ts +34 -0
- package/src/shared/lib/composables/useEditableData.ts +1 -1
- package/src/shared/lib/navigation/index.ts +2 -0
- package/src/shared/lib/navigation/routeUtils.ts +51 -0
- package/src/shared/lib/navigation/useBackButton.ts +63 -0
- package/src/shared/lib/utils/dates/validateDateWithinRange.ts +23 -0
- package/src/shared/ui/BaseDocument/BaseDocument.vue +120 -90
- package/src/{components/menu/blockchainStatus.vue → shared/ui/BlockchainStatusBar/BlockchainStatusBar.vue} +1 -0
- package/src/shared/ui/BlockchainStatusBar/index.ts +1 -0
- package/src/shared/ui/CardStyles/index.scss +61 -0
- package/src/shared/ui/ComplexDocument/ComplexDocument.vue +31 -8
- package/src/shared/ui/CopyableInput/index.ts +1 -0
- package/src/shared/ui/CopyableInput/ui/CopyableInput.vue +62 -0
- package/src/shared/ui/EditableEntrepreneurCard/EditableEntrepreneurCard.vue +171 -0
- package/src/shared/ui/EditableEntrepreneurCard/index.ts +1 -0
- package/src/{widgets/IndividualCard/ui/IndividualCard.vue → shared/ui/EditableIndividualCard/EditableIndividualCard.vue} +101 -68
- package/src/shared/ui/EditableIndividualCard/index.ts +1 -0
- package/src/shared/ui/EditableOrganizationCard/EditableOrganizationCard.vue +225 -0
- package/src/shared/ui/EditableOrganizationCard/index.ts +1 -0
- package/src/shared/ui/Form/Form.vue +3 -1
- package/src/shared/ui/InputStyles/index.scss +29 -0
- package/src/shared/ui/TabStyles/index.scss +53 -0
- package/src/shared/ui/UserDataForm/OrganizationDataForm/OrganizationDataForm.vue +1 -0
- package/src/shared/ui/index.ts +1 -0
- package/src/{components/history/AccountEvents.vue → widgets/AccountActions/AccountActionsPage.vue} +2 -2
- package/src/widgets/AccountActions/index.ts +1 -0
- package/src/widgets/BankDetailsCard/ui/BankDetailsCard.vue +2 -2
- package/src/widgets/BranchCard/ui/BranchCard.vue +2 -2
- package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/DocumentCard.vue +48 -0
- package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/DocumentsTable.vue +162 -0
- package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/ListOfDocumentsWidget.vue +77 -120
- package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/index.ts +3 -1
- package/src/widgets/Cooperative/Orders/ListOfOrders/ui/ListOfOrdersWidget.vue +135 -128
- package/src/widgets/Cooperative/Orders/ListOfOrders/ui/OrderCard.vue +74 -0
- package/src/widgets/Cooperative/Orders/ListOfOrders/ui/index.ts +2 -1
- package/src/widgets/Cooperative/Payments/ListOfPayments/ui/ListOfPaymentsWidget.vue +216 -0
- package/src/widgets/Cooperative/Payments/ListOfPayments/ui/PaymentCard.vue +73 -0
- package/src/widgets/Cooperative/Payments/ListOfPayments/ui/index.ts +2 -0
- package/src/widgets/Cooperative/Payments/index.ts +1 -0
- package/src/widgets/Desktop/LeftDrawerMenu/LeftDrawerMenu.vue +3 -2
- package/src/widgets/Desktop/SecondLevelMenuList/SecondLevelMenuList.vue +58 -91
- package/src/widgets/Desktop/WorkspaceMenu/WorkspaceMenu.vue +114 -59
- package/src/widgets/{ExtStore/ExtensionCard → ExtensionCard}/ExtensionCard.vue +12 -7
- package/src/widgets/Header/BackButton/BackButton.vue +25 -0
- package/src/widgets/Header/BackButton/index.ts +1 -0
- package/src/widgets/Header/CommonHeader/CooperativeSettingsHeader.vue +34 -0
- package/src/widgets/Header/CommonHeader/ExtstoreHeader.vue +41 -0
- package/src/widgets/Header/CommonHeader/Header.vue +33 -198
- package/src/widgets/Header/CommonHeader/HeaderStyles.scss +22 -0
- package/src/widgets/Header/CommonHeader/MainHeader.vue +87 -0
- package/src/widgets/Header/CommonHeader/UserSettingsHeader.vue +29 -0
- package/src/widgets/Header/CommonHeader/index.ts +1 -1
- package/src/widgets/Header/SettingsDropdown/SettingsDropdown.vue +0 -6
- package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Base/Base.vue +1 -2
- package/src/widgets/Meets/MeetDetailsActions/MeetDetailsActions.vue +51 -0
- package/src/widgets/Meets/MeetDetailsActions/index.ts +1 -0
- package/src/widgets/Meets/MeetDetailsActions/model.ts +46 -0
- package/src/widgets/Meets/MeetDetailsAgenda/MeetDetailsAgenda.vue +29 -0
- package/src/widgets/Meets/MeetDetailsAgenda/index.ts +1 -0
- package/src/widgets/Meets/MeetDetailsHeader/MeetDetailsHeader.vue +40 -0
- package/src/widgets/Meets/MeetDetailsHeader/index.ts +1 -0
- package/src/widgets/Meets/MeetDetailsVoting/MeetDetailsVoting.vue +77 -0
- package/src/widgets/Meets/MeetDetailsVoting/index.ts +1 -0
- package/src/widgets/Meets/MeetDetailsVoting/model.ts +117 -0
- package/src/widgets/Meets/MeetInfoCard/ui/MeetInfoCard.vue +38 -0
- package/src/widgets/Meets/MeetInfoCard/ui/index.ts +1 -0
- package/src/widgets/Meets/MeetsTable/ui/MeetsTable.vue +118 -0
- package/src/widgets/Meets/MeetsTable/ui/index.ts +1 -0
- package/src/widgets/Participants/index.ts +1 -0
- package/src/widgets/Participants/ui/ParticipantCard.vue +89 -0
- package/src/widgets/Participants/ui/ParticipantDetails.vue +79 -0
- package/src/widgets/Participants/ui/ParticipantsTable.vue +129 -0
- package/src/widgets/Participants/ui/index.ts +4 -0
- package/src/widgets/Questions/index.ts +3 -0
- package/src/widgets/Questions/ui/QuestionCard/QuestionCard.vue +109 -0
- package/src/widgets/Questions/ui/QuestionCard/index.ts +1 -0
- package/src/widgets/Questions/ui/QuestionsTable/QuestionsTable.vue +177 -0
- package/src/widgets/Questions/ui/QuestionsTable/index.ts +1 -0
- package/src/widgets/Questions/ui/VotingButtons/VotingButtons.vue +75 -0
- package/src/widgets/Questions/ui/VotingButtons/index.ts +1 -0
- package/src/widgets/Questions/ui/index.ts +3 -0
- package/src/widgets/RequireAgreements/index.ts +1 -0
- package/src/widgets/User/PaymentMethods/ui/PaymentMethods.vue +81 -85
- package/tsconfig.json +1 -1
- package/extensions/powerup/boot.ts +0 -17
- package/src/app/providers/card/store.ts +0 -42
- package/src/boot/branch-selector.ts +0 -40
- package/src/boot/init-stores.ts +0 -45
- package/src/boot/navigation-guards.ts +0 -46
- package/src/components/menu/footerMobileMenu.vue +0 -79
- package/src/components/soviet/index.vue +0 -76
- package/src/components/soviet/staff.vue +0 -274
- package/src/desktops/User/index.ts +0 -1
- package/src/desktops/User/model/index.ts +0 -328
- package/src/entities/Menu/model/store.ts +0 -69
- package/src/entities/Menu/model/types.ts +0 -11
- package/src/entities/Menu/ui/index.ts +0 -1
- package/src/entities/Order/api/index.ts +0 -14
- package/src/entities/Order/model/store.ts +0 -87
- package/src/features/Order/SetStatus/api/index.ts +0 -7
- package/src/features/Order/SetStatus/model/index.ts +0 -23
- package/src/pages/Cooperative/Contacts/ui/ContactsPage.vue +0 -7
- package/src/pages/Cooperative/ListOfBranches/ui/index.ts +0 -1
- package/src/pages/Documentor/ListOfDocuments/ListOfDocumentsPage.vue +0 -12
- package/src/pages/Union/Connection/index.ts +0 -1
- package/src/pages/_layouts/blank.vue +0 -24
- package/src/pages/_layouts/default.vue +0 -79
- package/src/types/index.ts +0 -3
- package/src/widgets/Commutator/Commutator.vue +0 -7
- package/src/widgets/Commutator/index.ts +0 -1
- package/src/widgets/Cooperative/Agenda/ListOfQuestions/ui/ListOfQuestions.vue +0 -273
- package/src/widgets/Cooperative/Agenda/ListOfQuestions/ui/index.ts +0 -1
- package/src/widgets/Cooperative/Contacts/ui/Contacts.vue +0 -52
- package/src/widgets/Cooperative/Contributions/ui/index.ts +0 -1
- package/src/widgets/Cooperative/Description/ui/SetDescription.vue +0 -4
- package/src/widgets/Cooperative/Description/ui/index.ts +0 -1
- package/src/widgets/Cooperative/Participants/ListOfParticipants/ui/ListOfParticipantsWidget.vue +0 -103
- package/src/widgets/Cooperative/Participants/ListOfParticipants/ui/index.ts +0 -1
- package/src/widgets/Desktop/SecondLevelMenu/SecondLevelMenu.vue +0 -59
- package/src/widgets/Desktop/SecondLevelMenu/index.ts +0 -1
- package/src/widgets/IndividualCard/ui/index.ts +0 -1
- package/src/widgets/OrganizationCard/ui/OrganizationCard.vue +0 -44
- package/src/widgets/OrganizationCard/ui/index.ts +0 -1
- package/src/widgets/Union/ListOfCooperatives/ui/UnionListOfCooperatives.vue +0 -136
- package/src/widgets/Union/ListOfCooperatives/ui/index.ts +0 -1
- package/src/entities/{Menu → Document}/model/index.ts +0 -0
- package/src/entities/{Order → Meet}/model/index.ts +0 -0
- package/src/entities/{Order → Payment}/index.ts +0 -0
- package/src/features/{Order/SetStatus → Decision/ParticipantApplication}/index.ts +0 -0
- package/src/{widgets/Request/SupplyOrderRequestCard → features/FreeDecision/CreateProject}/index.ts +0 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderCompletedStatusButton/SetOrderCompletedStatusButton.vue +0 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderCompletedStatusButton/index.ts +0 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderPaidStatusButton/index.ts +0 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderRefundedStatusButton/SetOrderRefundedStatusButton.vue +0 -0
- package/src/features/{Order → Payment}/SetStatus/ui/SetOrderRefundedStatusButton/index.ts +0 -0
- package/src/pages/{blank/blank.vue → Blank/BlankPage.vue} +0 -0
- package/src/pages/{Cooperative/Contacts/ui → Contacts}/index.ts +0 -0
- package/src/pages/Cooperative/{Contacts → ChangeContacts}/index.ts +0 -0
- package/src/{widgets/Cooperative/Contacts → pages/Cooperative/ChangeContacts}/ui/ChangeContacts.vue +0 -0
- package/src/pages/Cooperative/{ListOfBranches → ChangeRegisterPayments}/index.ts +0 -0
- package/src/pages/{Documentor → Cooperative}/ListOfDocuments/index.ts +0 -0
- package/src/pages/{Installer → Cooperative/ListOfMeets}/index.ts +0 -0
- package/src/{widgets/Cooperative/Agenda/ListOfQuestions → pages/Cooperative/MeetDetails}/index.ts +0 -0
- package/src/{widgets/Cooperative/Contacts → pages/Cooperative/MemberBranchList}/index.ts +0 -0
- package/src/pages/{ExtStore → ExtensionStore}/BaseRoute/ExtensionStoreBase.vue +0 -0
- package/src/pages/{ExtStore → ExtensionStore}/BaseRoute/index.ts +0 -0
- package/src/pages/{ExtStore → ExtensionStore}/ExtensionPage/index.ts +0 -0
- package/src/pages/{ExtStore → ExtensionStore}/ExtensionsShowcase/index.ts +0 -0
- package/src/pages/{ExtStore → ExtensionStore}/InstalledExtensions/index.ts +0 -0
- package/src/pages/{_layouts/permissionDenied.vue → PermissionDenied/PermissionDenied.vue} +0 -0
- package/src/pages/Union/{Connection/ConnectionPage.vue → ConnectionAgreement/ConnectionAgreementPage.vue} +0 -0
- package/src/{widgets/Cooperative/Contributions → pages/Union/InstallCooperative}/index.ts +0 -0
- package/src/pages/{Installer → Union/InstallCooperative}/ui/InstallCooperativePage.vue +0 -0
- package/src/pages/{Installer → Union/InstallCooperative}/ui/index.ts +0 -0
- package/src/{widgets/Cooperative/Participants/ListOfParticipants → pages/User/PaymentsPage}/index.ts +0 -0
- package/src/{components/history → widgets/AccountActions}/AccountLink.vue +0 -0
- package/src/{components/history → widgets/AccountActions}/ActionCell.vue +0 -0
- package/src/{components/history → widgets/AccountActions}/DataCell.vue +0 -0
- package/src/widgets/{IndividualCard → Cooperative/Payments/ListOfPayments}/index.ts +0 -0
- package/src/widgets/{ExtStore/ExtensionCard → ExtensionCard}/index.ts +0 -0
- package/src/widgets/{Request → Marketplace}/CreateChildOrderCard/CreateChildOrderCard.vue +0 -0
- package/src/widgets/{Request → Marketplace}/CreateChildOrderCard/index.ts +0 -0
- package/src/widgets/{Request → Marketplace}/RequestCard/RequestCard.vue +0 -0
- package/src/widgets/{Request → Marketplace}/RequestCard/index.ts +0 -0
- package/src/{entities/Menu → widgets/Marketplace/SupplyOrderRequestCard}/index.ts +1 -1
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/model/index.ts +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/model/types.ts +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Base/index.ts +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/EightStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/FifthStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/FirstStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/FourthStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/SecondStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/SeventhStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/SixthStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/ThirdStep.vue +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/Steps/index.ts +0 -0
- /package/src/widgets/{Request → Marketplace}/SupplyOrderRequestCard/ui/index.ts +0 -0
- /package/src/widgets/{OrganizationCard → Meets/MeetInfoCard}/index.ts +0 -0
- /package/src/widgets/{Union/ListOfCooperatives → Meets/MeetsTable}/index.ts +0 -0
- /package/src/widgets/{Agreementer/RequireAgreements → RequireAgreements}/ui/RequireAgreements.vue +0 -0
- /package/src/widgets/{Agreementer/RequireAgreements → RequireAgreements}/ui/index.ts +0 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
import { computed, ref, onMounted, watch } from 'vue'
|
2
|
+
import { useQuasar } from 'quasar'
|
3
|
+
import { useRoute } from 'vue-router'
|
4
|
+
import { useWindowSize } from 'vue-window-size'
|
5
|
+
import { useSystemStore } from 'src/entities/System/model'
|
6
|
+
import { useSessionStore } from 'src/entities/Session'
|
7
|
+
import { useCurrentUserStore } from 'src/entities/User'
|
8
|
+
import { useCooperativeStore } from 'src/entities/Cooperative'
|
9
|
+
|
10
|
+
export function useDefaultLayoutLogic() {
|
11
|
+
const $q = useQuasar()
|
12
|
+
const { width } = useWindowSize()
|
13
|
+
const route = useRoute()
|
14
|
+
const session = useSessionStore()
|
15
|
+
const currentUser = useCurrentUserStore()
|
16
|
+
const cooperativeStore = useCooperativeStore()
|
17
|
+
const system = useSystemStore()
|
18
|
+
|
19
|
+
cooperativeStore.loadContacts()
|
20
|
+
|
21
|
+
const leftDrawerOpen = ref(true)
|
22
|
+
const isMobile = computed(() => width.value < 768)
|
23
|
+
const isDark = computed(() => $q.dark.isActive)
|
24
|
+
const headerClass = computed(() => isDark.value ? 'text-white bg-dark' : 'text-black bg-light')
|
25
|
+
const loggedIn = computed(() => currentUser.isRegistrationComplete && session.isAuth)
|
26
|
+
const showDrawer = computed(() => route.params.coopname === system.info.coopname)
|
27
|
+
|
28
|
+
const footerText = computed(() => {
|
29
|
+
const c = cooperativeStore.contacts
|
30
|
+
const d = c?.details
|
31
|
+
return d
|
32
|
+
? `${c.full_name}, ИНН: ${d.inn}, ОГРН: ${d.ogrn}, телефон: ${c.phone}, почта: ${c.email}`
|
33
|
+
: ''
|
34
|
+
})
|
35
|
+
|
36
|
+
onMounted(() => {
|
37
|
+
if (isMobile.value || !loggedIn.value) {
|
38
|
+
leftDrawerOpen.value = false
|
39
|
+
}
|
40
|
+
})
|
41
|
+
|
42
|
+
watch(loggedIn, (v) => {
|
43
|
+
leftDrawerOpen.value = v
|
44
|
+
})
|
45
|
+
|
46
|
+
const toggleLeftDrawer = () => {
|
47
|
+
leftDrawerOpen.value = !leftDrawerOpen.value
|
48
|
+
}
|
49
|
+
|
50
|
+
return {
|
51
|
+
leftDrawerOpen,
|
52
|
+
isMobile,
|
53
|
+
loggedIn,
|
54
|
+
showDrawer,
|
55
|
+
headerClass,
|
56
|
+
footerText,
|
57
|
+
toggleLeftDrawer,
|
58
|
+
}
|
59
|
+
}
|
@@ -1,25 +1,23 @@
|
|
1
|
-
import layout from 'src/
|
1
|
+
import layout from 'src/app/layouts/default.vue';
|
2
2
|
import index from 'src/pages/index.vue';
|
3
|
-
import
|
4
|
-
import
|
3
|
+
import { BlankPage } from 'src/pages/Blank';
|
4
|
+
import { PermissionDenied } from 'src/pages/PermissionDenied';
|
5
5
|
import { SignUpPage } from 'src/pages/Registrator/SignUp';
|
6
6
|
import { SignInPage } from 'src/pages/Registrator/SignIn';
|
7
7
|
import { RouteRecordRaw } from 'vue-router';
|
8
|
-
import { InstallCooperativePage } from 'src/pages/
|
8
|
+
import { InstallCooperativePage } from 'src/pages/Union/InstallCooperative';
|
9
9
|
import { LostKeyPage } from 'src/pages/Registrator/LostKey/ui';
|
10
10
|
import { ResetKeyPage } from 'src/pages/Registrator/ResetKey';
|
11
|
-
import { UserSettingsPage } from 'src/pages/User/SettingsPage';
|
12
11
|
import CooperativeSettingsPage from 'src/pages/Cooperative/SettingsPage/CooperativeSettingsPage.vue';
|
13
|
-
import { UserPaymentMethodsPage } from 'src/pages/User/PaymentMethodsPage';
|
14
12
|
import { AccumulationFunds, ExpenseFunds } from 'src/widgets/Cooperative/Funds';
|
15
|
-
import {
|
16
|
-
import { ChangeCooperativeContacts } from 'src/
|
13
|
+
import { ChangeRegisterPaymentsPage } from 'src/pages/Cooperative/ChangeRegisterPayments';
|
14
|
+
import { ChangeCooperativeContacts } from 'src/pages/Cooperative/ChangeContacts';
|
17
15
|
import { MembersPage } from 'src/pages/Cooperative/MembersPage';
|
18
|
-
import { InstalledExtensions } from 'src/pages/
|
19
|
-
import { ExtensionsShowcase } from 'src/pages/
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
16
|
+
import { InstalledExtensions } from 'src/pages/ExtensionStore/InstalledExtensions';
|
17
|
+
import { ExtensionsShowcase } from 'src/pages/ExtensionStore/ExtensionsShowcase';
|
18
|
+
import { ExtensionPage } from 'src/pages/ExtensionStore/ExtensionPage';
|
19
|
+
import { MemberBranchList } from 'src/pages/Cooperative/MemberBranchList';
|
20
|
+
import { ExtensionStoreBase } from 'src/pages/ExtensionStore/BaseRoute';
|
23
21
|
|
24
22
|
|
25
23
|
const baseRoutes = [
|
@@ -36,12 +34,12 @@ const baseRoutes = [
|
|
36
34
|
{
|
37
35
|
path: '/something-bad',
|
38
36
|
name: 'somethingBad',
|
39
|
-
component:
|
37
|
+
component: BlankPage,
|
40
38
|
},
|
41
39
|
{
|
42
40
|
path: '/permission-denied',
|
43
41
|
name: 'permissionDenied',
|
44
|
-
component:
|
42
|
+
component: PermissionDenied,
|
45
43
|
},
|
46
44
|
{
|
47
45
|
path: ':coopname/install',
|
@@ -73,19 +71,6 @@ const baseRoutes = [
|
|
73
71
|
component: SignUpPage,
|
74
72
|
children: [],
|
75
73
|
},
|
76
|
-
{
|
77
|
-
path: 'settings/user',
|
78
|
-
name: 'user-settings',
|
79
|
-
component: UserSettingsPage,
|
80
|
-
children: [
|
81
|
-
{
|
82
|
-
path: 'payment-methods',
|
83
|
-
name: 'user-payment-methods',
|
84
|
-
component: UserPaymentMethodsPage,
|
85
|
-
children: [],
|
86
|
-
},
|
87
|
-
],
|
88
|
-
},
|
89
74
|
{
|
90
75
|
path: 'settings/cooperative',
|
91
76
|
name: 'cooperative-settings',
|
@@ -100,7 +85,7 @@ const baseRoutes = [
|
|
100
85
|
{
|
101
86
|
path: 'branches',
|
102
87
|
name: 'branches',
|
103
|
-
component:
|
88
|
+
component: MemberBranchList,
|
104
89
|
children: [],
|
105
90
|
},
|
106
91
|
{
|
@@ -118,7 +103,7 @@ const baseRoutes = [
|
|
118
103
|
{
|
119
104
|
path: 'initial-contributions',
|
120
105
|
name: 'initial-contributions',
|
121
|
-
component:
|
106
|
+
component: ChangeRegisterPaymentsPage,
|
122
107
|
children: [],
|
123
108
|
},
|
124
109
|
{
|
@@ -174,7 +159,7 @@ const baseRoutes = [
|
|
174
159
|
{
|
175
160
|
path: '/:pathMatch(.*)*',
|
176
161
|
name: 'NotFound',
|
177
|
-
component:
|
162
|
+
component: BlankPage,
|
178
163
|
},
|
179
164
|
],
|
180
165
|
},
|
@@ -267,17 +252,17 @@ const baseRoutes = [
|
|
267
252
|
// {
|
268
253
|
// path: '/something-bad',
|
269
254
|
// name: 'somethingBad',
|
270
|
-
// component:
|
255
|
+
// component: BlankPage,
|
271
256
|
// },
|
272
257
|
// {
|
273
258
|
// path: '/permission-denied',
|
274
259
|
// name: 'permissionDenied',
|
275
|
-
// component:
|
260
|
+
// component: PermissionDenied,
|
276
261
|
// },
|
277
262
|
// {
|
278
263
|
// path: '/:pathMatch(.*)*',
|
279
264
|
// name: 'NotFound',
|
280
|
-
// component:
|
265
|
+
// component: BlankPage,
|
281
266
|
// },
|
282
267
|
// ],
|
283
268
|
// },
|
package/src/app/styles/style.css
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
@tailwind components;
|
5
5
|
@tailwind utilities;
|
6
6
|
|
7
|
+
|
7
8
|
/* Стили для полосы прокрутки содержимого drawer */
|
8
9
|
.q-drawer__content::-webkit-scrollbar {
|
9
10
|
width: 0px;
|
@@ -57,6 +58,9 @@
|
|
57
58
|
.selected {
|
58
59
|
border: 0.1px solid grey;
|
59
60
|
}
|
61
|
+
.no-padding {
|
62
|
+
padding: 0px !important;
|
63
|
+
}
|
60
64
|
|
61
65
|
.no-select {
|
62
66
|
-webkit-touch-callout: none; /* iOS Safari */
|
package/src/boot/init.ts
ADDED
package/src/boot/sentry.ts
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
import { boot } from 'quasar/wrappers';
|
2
2
|
import { App } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
|
-
import { NODE_ENV } from 'src/shared/config';
|
5
4
|
import Tracker from '@openreplay/tracker';
|
6
5
|
import trackerAssist from '@openreplay/tracker-assist'
|
7
6
|
import { useSessionStore } from 'src/entities/Session';
|
8
7
|
export default boot(
|
9
8
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
10
9
|
({ app, router }: { app: App<Element>; router: Router }) => {
|
11
|
-
if ((NODE_ENV as string) === 'production') {
|
10
|
+
if ((process.env.NODE_ENV as string) === 'production') {
|
12
11
|
const session = useSessionStore()
|
13
12
|
|
14
13
|
const tracker = new Tracker({
|
package/src/desktops/index.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { client } from 'src/shared/api/client';
|
2
2
|
import { Queries } from '@coopenomics/sdk';
|
3
|
-
import type { IAccount } from '../types';
|
3
|
+
import type { IAccount, IAccounts, IGetAccounts } from '../types';
|
4
4
|
|
5
5
|
async function getAccount(username: string): Promise<IAccount | undefined> {
|
6
6
|
const { [Queries.Accounts.GetAccount.name]: output } = await client.Query(Queries.Accounts.GetAccount.query, {
|
@@ -12,6 +12,15 @@ async function getAccount(username: string): Promise<IAccount | undefined> {
|
|
12
12
|
return output;
|
13
13
|
}
|
14
14
|
|
15
|
+
async function getAccounts(variables?: IGetAccounts): Promise<IAccounts> {
|
16
|
+
const { [Queries.Accounts.GetAccounts.name]: output } = await client.Query(Queries.Accounts.GetAccounts.query, {
|
17
|
+
variables
|
18
|
+
});
|
19
|
+
|
20
|
+
return output;
|
21
|
+
}
|
22
|
+
|
15
23
|
export const api ={
|
16
|
-
getAccount
|
24
|
+
getAccount,
|
25
|
+
getAccounts
|
17
26
|
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './store'
|
1
|
+
export * from './store'
|
@@ -1,25 +1,35 @@
|
|
1
1
|
import { defineStore } from 'pinia'
|
2
2
|
import { ref, Ref } from 'vue'
|
3
3
|
import { api } from '../api'
|
4
|
-
import type { IAccount } from '../types';
|
4
|
+
import type { IAccount, IAccounts, IGetAccounts } from '../types';
|
5
5
|
|
6
6
|
const namespace = 'accountStore';
|
7
7
|
|
8
|
-
interface
|
8
|
+
interface IAccountStore {
|
9
9
|
account: Ref<IAccount | undefined>
|
10
|
+
accounts: Ref<IAccounts>
|
10
11
|
getAccount: (username: string) => Promise<IAccount | undefined>;
|
12
|
+
getAccounts: (data?: IGetAccounts) => Promise<IAccounts>;
|
11
13
|
}
|
12
14
|
|
13
|
-
export const useAccountStore = defineStore(namespace, ():
|
15
|
+
export const useAccountStore = defineStore(namespace, (): IAccountStore => {
|
14
16
|
const account = ref<IAccount>()
|
17
|
+
const accounts = ref<IAccounts>({items: [], totalCount: 0, totalPages: 0, currentPage: 1})
|
15
18
|
|
16
|
-
const getAccount = async (username: string) => {
|
19
|
+
const getAccount = async (username: string): Promise<IAccount | undefined> => {
|
17
20
|
account.value = await api.getAccount(username);
|
18
21
|
return account.value
|
19
22
|
};
|
23
|
+
|
24
|
+
const getAccounts = async(data?: IGetAccounts): Promise<IAccounts> => {
|
25
|
+
accounts.value = await api.getAccounts(data);
|
26
|
+
return accounts.value
|
27
|
+
}
|
20
28
|
|
21
29
|
return {
|
22
30
|
account,
|
23
|
-
|
31
|
+
accounts,
|
32
|
+
getAccount,
|
33
|
+
getAccounts
|
24
34
|
}
|
25
35
|
})
|
@@ -1,3 +1,11 @@
|
|
1
|
-
import { Queries } from '@coopenomics/sdk';
|
1
|
+
import { Queries, Zeus } from '@coopenomics/sdk';
|
2
2
|
|
3
3
|
export type IAccount = Queries.Accounts.GetAccount.IOutput[typeof Queries.Accounts.GetAccount.name]
|
4
|
+
export type IAccounts = Queries.Accounts.GetAccounts.IOutput[typeof Queries.Accounts.GetAccounts.name]
|
5
|
+
export type IGetAccounts = {data?: Queries.Accounts.GetAccounts.IInput['data'], options?: Queries.Accounts.GetAccounts.IInput['options']}
|
6
|
+
|
7
|
+
export const AccountTypes = Zeus.AccountType
|
8
|
+
|
9
|
+
export type IIndividualData = Zeus.ModelTypes['Individual']
|
10
|
+
export type IOrganizationData = Zeus.ModelTypes['Organization']
|
11
|
+
export type IEntrepreneurData = Zeus.ModelTypes['Entrepreneur']
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { client } from 'src/shared/api/client';
|
2
|
+
import { Queries } from '@coopenomics/sdk';
|
3
|
+
import type { IAgenda, IGetAgendaInput } from '../model';
|
4
|
+
|
5
|
+
async function loadAgenda(data: IGetAgendaInput): Promise<IAgenda[]> {
|
6
|
+
const { [Queries.Agenda.GetAgenda.name]: output } = await client.Query(
|
7
|
+
Queries.Agenda.GetAgenda.query,
|
8
|
+
{
|
9
|
+
variables: {
|
10
|
+
data
|
11
|
+
}
|
12
|
+
}
|
13
|
+
);
|
14
|
+
|
15
|
+
return output;
|
16
|
+
}
|
17
|
+
|
18
|
+
export const api = {
|
19
|
+
loadAgenda
|
20
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineStore } from 'pinia'
|
2
|
+
import { ref, Ref } from 'vue'
|
3
|
+
import { api } from '../api'
|
4
|
+
import type { IAgenda, IGetAgendaInput } from './types';
|
5
|
+
|
6
|
+
const namespace = 'agendaStore';
|
7
|
+
|
8
|
+
interface IAgendaStore {
|
9
|
+
agenda: Ref<IAgenda[]>
|
10
|
+
loading: Ref<boolean>
|
11
|
+
loadAgenda: (data: IGetAgendaInput, hidden?: boolean) => Promise<IAgenda[]>;
|
12
|
+
}
|
13
|
+
|
14
|
+
export const useAgendaStore = defineStore(namespace, (): IAgendaStore => {
|
15
|
+
const agenda = ref<IAgenda[]>([])
|
16
|
+
const loading = ref(false)
|
17
|
+
|
18
|
+
const loadAgenda = async (data: IGetAgendaInput, hidden = false): Promise<IAgenda[]> => {
|
19
|
+
try {
|
20
|
+
loading.value = hidden ? false : true
|
21
|
+
const loadedData = await api.loadAgenda(data);
|
22
|
+
agenda.value = loadedData;
|
23
|
+
loading.value = false
|
24
|
+
return loadedData;
|
25
|
+
} catch (error) {
|
26
|
+
loading.value = false
|
27
|
+
throw error;
|
28
|
+
}
|
29
|
+
};
|
30
|
+
|
31
|
+
return {
|
32
|
+
agenda,
|
33
|
+
loading,
|
34
|
+
loadAgenda
|
35
|
+
}
|
36
|
+
})
|
@@ -1,10 +1,25 @@
|
|
1
1
|
import type { IHealthResponse } from '@coopenomics/controller';
|
2
|
+
import { Queries } from '@coopenomics/sdk';
|
2
3
|
import { sendGET } from 'src/shared/api';
|
4
|
+
import type { IDesktop } from '../model/types';
|
5
|
+
import { client } from 'src/shared/api/client';
|
3
6
|
|
4
7
|
async function healthCheck(): Promise<IHealthResponse> {
|
5
8
|
return (await sendGET('/v1/system/health', {}, true)) as IHealthResponse;
|
6
9
|
}
|
7
10
|
|
11
|
+
async function getDesktop(): Promise<IDesktop> {
|
12
|
+
const { [Queries.Desktop.GetDesktop.name]: output } = await client.Query(Queries.Desktop.GetDesktop.query, {
|
13
|
+
variables: {
|
14
|
+
data: {}
|
15
|
+
}
|
16
|
+
});
|
17
|
+
|
18
|
+
return output;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
8
22
|
export const api ={
|
9
|
-
healthCheck
|
23
|
+
healthCheck,
|
24
|
+
getDesktop
|
10
25
|
}
|