@coopenomics/desktop 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (784) hide show
  1. package/.editorconfig +9 -0
  2. package/.env-example +3 -0
  3. package/.eslintignore +8 -0
  4. package/.eslintrc.cjs +91 -0
  5. package/.prettierrc +7 -0
  6. package/.vscode/extensions.json +15 -0
  7. package/.vscode/settings.json +14 -0
  8. package/CHANGELOG.md +495 -0
  9. package/Env-example.ts +12 -0
  10. package/README.md +38 -0
  11. package/extensions/powerup/boot.ts +17 -0
  12. package/extensions/powerup/src/Powerup.vue +3 -0
  13. package/index.html +78 -0
  14. package/package.json +98 -0
  15. package/postcss.config.cjs +27 -0
  16. package/public/documents/privacy_policy.pdf +0 -0
  17. package/public/documents/regulation_on_the_cpp_wallet.pdf +0 -0
  18. package/public/documents/regulation_on_the_procedure_and_rules_for_using_a_simple_electronic_signature.pdf +0 -0
  19. package/public/documents/user_agreement.pdf +0 -0
  20. package/public/documents/ustav.pdf +0 -0
  21. package/public/icons/favicon-128x128.png +0 -0
  22. package/public/icons/favicon-16x16.png +0 -0
  23. package/public/icons/favicon-32x32.png +0 -0
  24. package/public/icons/favicon-96x96.png +0 -0
  25. package/public/logo.svg +1 -0
  26. package/public/open.ttf +0 -0
  27. package/public/pwa/pwa_icon_128x128.png +0 -0
  28. package/public/pwa/pwa_icon_144x144.png +0 -0
  29. package/public/pwa/pwa_icon_152x152.png +0 -0
  30. package/public/pwa/pwa_icon_192x192.png +0 -0
  31. package/public/pwa/pwa_icon_256x256.png +0 -0
  32. package/public/pwa/pwa_icon_384x384.png +0 -0
  33. package/public/pwa/pwa_icon_48x48.png +0 -0
  34. package/public/pwa/pwa_icon_512x512.png +0 -0
  35. package/public/pwa/pwa_icon_72x72.png +0 -0
  36. package/public/pwa/pwa_icon_96x96.png +0 -0
  37. package/public/roboto.ttf +0 -0
  38. package/public/service-worker.js +17 -0
  39. package/public/ubuntu.ttf +0 -0
  40. package/quasar.config.cjs +256 -0
  41. package/src/app/App.vue +85 -0
  42. package/src/app/config/index.ts +188 -0
  43. package/src/app/providers/card/store.ts +39 -0
  44. package/src/app/providers/router.ts +28 -0
  45. package/src/app/providers/routes/index.ts +288 -0
  46. package/src/app/service-worker.js +12 -0
  47. package/src/app/styles/app.scss +29 -0
  48. package/src/app/styles/quasar-variables.sass +556 -0
  49. package/src/app/styles/style.css +388 -0
  50. package/src/assets/anime.svg +187 -0
  51. package/src/assets/bizsystem.svg +1 -0
  52. package/src/assets/blockchain.svg +1 -0
  53. package/src/assets/buycheaper.svg +1 -0
  54. package/src/assets/cart.svg +3 -0
  55. package/src/assets/club1.svg +1 -0
  56. package/src/assets/club2.svg +1 -0
  57. package/src/assets/clubs.png +0 -0
  58. package/src/assets/clubs.svg +1 -0
  59. package/src/assets/crown.svg +3 -0
  60. package/src/assets/dacom.png +0 -0
  61. package/src/assets/dacom2.png +0 -0
  62. package/src/assets/dacom_night.svg +1 -0
  63. package/src/assets/dacom_night2.png +0 -0
  64. package/src/assets/dao_free.svg +1 -0
  65. package/src/assets/flow1.svg +1 -0
  66. package/src/assets/flow2.svg +1 -0
  67. package/src/assets/flow3.svg +1 -0
  68. package/src/assets/flow4.svg +1 -0
  69. package/src/assets/header-logo.svg +25 -0
  70. package/src/assets/history.svg +4 -0
  71. package/src/assets/logo-white.png +0 -0
  72. package/src/assets/logo.png +0 -0
  73. package/src/assets/main.svg +1 -0
  74. package/src/assets/menu.svg +3 -0
  75. package/src/assets/order.svg +5 -0
  76. package/src/assets/pin.svg +4 -0
  77. package/src/assets/quasar-logo-vertical.svg +15 -0
  78. package/src/assets/sellmore.svg +1 -0
  79. package/src/assets/star.svg +4 -0
  80. package/src/assets/systemadmin.svg +1 -0
  81. package/src/assets/systemfunds.svg +1 -0
  82. package/src/assets/systemgoals.svg +1 -0
  83. package/src/assets/systemgov.svg +1 -0
  84. package/src/assets/systemprojects.svg +1 -0
  85. package/src/assets/systemtasks.svg +1 -0
  86. package/src/assets/ticket.svg +1 -0
  87. package/src/assets/union.svg +3 -0
  88. package/src/assets/user.png +0 -0
  89. package/src/assets/wallet.svg +4 -0
  90. package/src/assets/welcome.jpeg +0 -0
  91. package/src/boot/.gitkeep +0 -0
  92. package/src/boot/axios.ts +31 -0
  93. package/src/boot/branch-selector.ts +42 -0
  94. package/src/boot/i18n.ts +33 -0
  95. package/src/boot/init-stores.ts +43 -0
  96. package/src/boot/map.ts +7 -0
  97. package/src/boot/navigation-guards.ts +48 -0
  98. package/src/boot/sentry.ts +26 -0
  99. package/src/chainsMain.ts +8 -0
  100. package/src/components/history/AccountEvents.vue +137 -0
  101. package/src/components/history/AccountLink.vue +11 -0
  102. package/src/components/history/ActionCell.vue +96 -0
  103. package/src/components/history/DataCell.vue +84 -0
  104. package/src/components/menu/blockchainStatus.vue +84 -0
  105. package/src/components/menu/footerMobileMenu.vue +77 -0
  106. package/src/components/soviet/index.vue +76 -0
  107. package/src/components/soviet/staff.vue +272 -0
  108. package/src/css/quasar.variables.scss +50 -0
  109. package/src/desktops/Chairman/index.ts +1 -0
  110. package/src/desktops/Chairman/model/index.ts +63 -0
  111. package/src/desktops/Member/index.ts +1 -0
  112. package/src/desktops/Member/model/index.ts +63 -0
  113. package/src/desktops/Setup/index.ts +1 -0
  114. package/src/desktops/Setup/model/index.ts +63 -0
  115. package/src/desktops/User/index.ts +1 -0
  116. package/src/desktops/User/model/index.ts +325 -0
  117. package/src/desktops/index.ts +9 -0
  118. package/src/entities/Account/api/index.ts +17 -0
  119. package/src/entities/Account/index.ts +2 -0
  120. package/src/entities/Account/model/index.ts +1 -0
  121. package/src/entities/Account/model/store.ts +25 -0
  122. package/src/entities/Account/types/index.ts +3 -0
  123. package/src/entities/Agreement/api/index.ts +46 -0
  124. package/src/entities/Agreement/index.ts +2 -0
  125. package/src/entities/Agreement/model/index.ts +1 -0
  126. package/src/entities/Agreement/model/store.ts +49 -0
  127. package/src/entities/Branch/api/index.ts +34 -0
  128. package/src/entities/Branch/index.ts +2 -0
  129. package/src/entities/Branch/model/index.ts +2 -0
  130. package/src/entities/Branch/model/store.ts +36 -0
  131. package/src/entities/Branch/model/types.ts +7 -0
  132. package/src/entities/Cooperative/api/index.ts +106 -0
  133. package/src/entities/Cooperative/index.ts +2 -0
  134. package/src/entities/Cooperative/model/index.ts +2 -0
  135. package/src/entities/Cooperative/model/stores.ts +123 -0
  136. package/src/entities/Cooperative/model/types.ts +19 -0
  137. package/src/entities/Decision/index.ts +1 -0
  138. package/src/entities/Decision/model/index.ts +1 -0
  139. package/src/entities/Decision/model/types.ts +4 -0
  140. package/src/entities/Desktop/api/index.ts +10 -0
  141. package/src/entities/Desktop/index.ts +2 -0
  142. package/src/entities/Desktop/model/index.ts +1 -0
  143. package/src/entities/Desktop/model/store.ts +135 -0
  144. package/src/entities/Desktop/model/types.ts +29 -0
  145. package/src/entities/Extension/api/index.ts +19 -0
  146. package/src/entities/Extension/index.ts +2 -0
  147. package/src/entities/Extension/model/index.ts +2 -0
  148. package/src/entities/Extension/model/store.ts +71 -0
  149. package/src/entities/Extension/model/types.ts +28 -0
  150. package/src/entities/Installer/index.ts +1 -0
  151. package/src/entities/Installer/model/index.ts +1 -0
  152. package/src/entities/Installer/model/store.ts +36 -0
  153. package/src/entities/Menu/index.ts +2 -0
  154. package/src/entities/Menu/model/index.ts +2 -0
  155. package/src/entities/Menu/model/store.ts +69 -0
  156. package/src/entities/Menu/model/types.ts +11 -0
  157. package/src/entities/Menu/ui/index.ts +1 -0
  158. package/src/entities/Order/api/index.ts +14 -0
  159. package/src/entities/Order/index.ts +1 -0
  160. package/src/entities/Order/model/index.ts +1 -0
  161. package/src/entities/Order/model/store.ts +87 -0
  162. package/src/entities/Registrator/index.ts +2 -0
  163. package/src/entities/Registrator/model/index.ts +1 -0
  164. package/src/entities/Registrator/model/store.ts +237 -0
  165. package/src/entities/Registrator/ui/index.ts +1 -0
  166. package/src/entities/Request/api/index.ts +192 -0
  167. package/src/entities/Request/index.ts +3 -0
  168. package/src/entities/Request/model/index.ts +1 -0
  169. package/src/entities/Request/model/stores.ts +123 -0
  170. package/src/entities/Request/model/types.ts +57 -0
  171. package/src/entities/Request/ui/index.ts +1 -0
  172. package/src/entities/Session/api/index.ts +21 -0
  173. package/src/entities/Session/index.ts +2 -0
  174. package/src/entities/Session/model/index.ts +2 -0
  175. package/src/entities/Session/model/store.ts +100 -0
  176. package/src/entities/Session/model/types.ts +1 -0
  177. package/src/entities/Settings/api/index.ts +8 -0
  178. package/src/entities/Settings/index.ts +2 -0
  179. package/src/entities/Settings/model/index.ts +1 -0
  180. package/src/entities/Settings/model/store.ts +24 -0
  181. package/src/entities/System/api/index.ts +12 -0
  182. package/src/entities/System/index.ts +2 -0
  183. package/src/entities/System/model/index.ts +1 -0
  184. package/src/entities/System/model/store.ts +24 -0
  185. package/src/entities/System/types/index.ts +3 -0
  186. package/src/entities/Union/model/index.ts +1 -0
  187. package/src/entities/Union/model/store.ts +19 -0
  188. package/src/entities/User/api/index.ts +75 -0
  189. package/src/entities/User/index.ts +3 -0
  190. package/src/entities/User/model/entity.ts +47 -0
  191. package/src/entities/User/model/index.ts +2 -0
  192. package/src/entities/User/model/stores.ts +49 -0
  193. package/src/entities/User/model/types.ts +36 -0
  194. package/src/entities/User/ui/index.ts +1 -0
  195. package/src/entities/Wallet/api/index.ts +192 -0
  196. package/src/entities/Wallet/index.ts +3 -0
  197. package/src/entities/Wallet/model/index.ts +2 -0
  198. package/src/entities/Wallet/model/stores.ts +108 -0
  199. package/src/entities/Wallet/model/types.ts +77 -0
  200. package/src/entities/Wallet/ui/WalletBalance/WalletBalance.vue +35 -0
  201. package/src/entities/Wallet/ui/WalletBalance/index.ts +1 -0
  202. package/src/entities/Wallet/ui/WalletProgramsList/WalletProgramsList.vue +15 -0
  203. package/src/entities/Wallet/ui/WalletProgramsList/index.ts +1 -0
  204. package/src/entities/Wallet/ui/index.ts +2 -0
  205. package/src/env.d.ts +28 -0
  206. package/src/features/Agreementer/GenerateAgreement/index.ts +1 -0
  207. package/src/features/Agreementer/GenerateAgreement/model/index.ts +24 -0
  208. package/src/features/Agreementer/GenerateAgreement/ui/AgreementReader.vue +37 -0
  209. package/src/features/Agreementer/GenerateAgreement/ui/index.ts +1 -0
  210. package/src/features/Agreementer/ReadAgreementDialog/index.ts +1 -0
  211. package/src/features/Agreementer/ReadAgreementDialog/ui/ReadAgreementDialog.vue +58 -0
  212. package/src/features/Agreementer/ReadAgreementDialog/ui/index.ts +1 -0
  213. package/src/features/Agreementer/SignAgreementDialog/api/index.ts +26 -0
  214. package/src/features/Agreementer/SignAgreementDialog/index.ts +3 -0
  215. package/src/features/Agreementer/SignAgreementDialog/model/index.ts +27 -0
  216. package/src/features/Agreementer/SignAgreementDialog/ui/SignAgreementDialog.vue +73 -0
  217. package/src/features/Agreementer/SignAgreementDialog/ui/index.ts +1 -0
  218. package/src/features/Branch/CreateBranch/api/index.ts +16 -0
  219. package/src/features/Branch/CreateBranch/index.ts +2 -0
  220. package/src/features/Branch/CreateBranch/model/index.ts +49 -0
  221. package/src/features/Branch/CreateBranch/ui/CreateBranchButton.vue +61 -0
  222. package/src/features/Branch/CreateBranch/ui/index.ts +1 -0
  223. package/src/features/Branch/EditBranch/api/index.ts +16 -0
  224. package/src/features/Branch/EditBranch/index.ts +2 -0
  225. package/src/features/Branch/EditBranch/model/index.ts +34 -0
  226. package/src/features/Branch/SelectBranch/api/index.ts +15 -0
  227. package/src/features/Branch/SelectBranch/index.ts +1 -0
  228. package/src/features/Branch/SelectBranch/model/index.ts +18 -0
  229. package/src/features/Branch/SelectBranch/ui/SelectBranchOverlay.vue +109 -0
  230. package/src/features/Branch/SelectBranch/ui/index.ts +1 -0
  231. package/src/features/Cooperative/AddAdmin/index.ts +1 -0
  232. package/src/features/Cooperative/AddAdmin/model/index.ts +27 -0
  233. package/src/features/Cooperative/CreateBoard/index.ts +1 -0
  234. package/src/features/Cooperative/CreateBoard/model/index.ts +27 -0
  235. package/src/features/Cooperative/DeleteAdmin/index.ts +1 -0
  236. package/src/features/Cooperative/DeleteAdmin/model/index.ts +27 -0
  237. package/src/features/Cooperative/SetRights/index.ts +1 -0
  238. package/src/features/Cooperative/SetRights/model/index.ts +27 -0
  239. package/src/features/Cooperative/UpdateBoard/index.ts +1 -0
  240. package/src/features/Cooperative/UpdateBoard/model/index.ts +27 -0
  241. package/src/features/Cooperative/UpdateCoop/index.ts +1 -0
  242. package/src/features/Cooperative/UpdateCoop/model/index.ts +27 -0
  243. package/src/features/Decision/AuthorizeAndExecDecision/index.ts +1 -0
  244. package/src/features/Decision/AuthorizeAndExecDecision/model/index.ts +83 -0
  245. package/src/features/Decision/AutomateDecision/index.ts +1 -0
  246. package/src/features/Decision/AutomateDecision/model/index.ts +27 -0
  247. package/src/features/Decision/CreateProject/index.ts +1 -0
  248. package/src/features/Decision/CreateProject/model/index.ts +84 -0
  249. package/src/features/Decision/CreateProject/ui/CreateProjectFreeDecisionButton.vue +51 -0
  250. package/src/features/Decision/CreateProject/ui/index.ts +1 -0
  251. package/src/features/Decision/DisautomateDecision/index.ts +1 -0
  252. package/src/features/Decision/DisautomateDecision/model/index.ts +27 -0
  253. package/src/features/Decision/GenerateProjectDocument/index.ts +1 -0
  254. package/src/features/Decision/GenerateProjectDocument/model/index.ts +22 -0
  255. package/src/features/Decision/PublishProject/index.ts +1 -0
  256. package/src/features/Decision/PublishProject/model/index.ts +22 -0
  257. package/src/features/Decision/ValidateDecision/index.ts +1 -0
  258. package/src/features/Decision/ValidateDecision/model/index.ts +27 -0
  259. package/src/features/Decision/VoteAgainstDecision/index.ts +1 -0
  260. package/src/features/Decision/VoteAgainstDecision/model/index.ts +27 -0
  261. package/src/features/Decision/VoteForDecision/index.ts +1 -0
  262. package/src/features/Decision/VoteForDecision/model/index.ts +32 -0
  263. package/src/features/Extension/InstallExtension/index.ts +1 -0
  264. package/src/features/Extension/InstallExtension/model/index.ts +25 -0
  265. package/src/features/Extension/UninstallExtension/index.ts +1 -0
  266. package/src/features/Extension/UninstallExtension/model/index.ts +23 -0
  267. package/src/features/Extension/UpdateExtension/index.ts +1 -0
  268. package/src/features/Extension/UpdateExtension/model/index.ts +25 -0
  269. package/src/features/Fund/CreateFund/index.ts +1 -0
  270. package/src/features/Fund/CreateFund/model/index.ts +27 -0
  271. package/src/features/Fund/DeleteFund/index.ts +1 -0
  272. package/src/features/Fund/DeleteFund/model/index.ts +27 -0
  273. package/src/features/Fund/EditFund/index.ts +1 -0
  274. package/src/features/Fund/EditFund/model/index.ts +27 -0
  275. package/src/features/Installer/api/index.ts +13 -0
  276. package/src/features/Installer/index.ts +2 -0
  277. package/src/features/Installer/model/index.ts +20 -0
  278. package/src/features/Installer/ui/RequestKeyForm/RequestKeyForm.vue +57 -0
  279. package/src/features/Installer/ui/RequestKeyForm/index.ts +1 -0
  280. package/src/features/Installer/ui/SetSovietForm/SetSovietForm.vue +71 -0
  281. package/src/features/Installer/ui/SetSovietForm/index.ts +1 -0
  282. package/src/features/Installer/ui/index.ts +2 -0
  283. package/src/features/Order/SetStatus/api/index.ts +7 -0
  284. package/src/features/Order/SetStatus/index.ts +1 -0
  285. package/src/features/Order/SetStatus/model/index.ts +23 -0
  286. package/src/features/Order/SetStatus/ui/SetOrderCompletedStatusButton/SetOrderCompletedStatusButton.vue +48 -0
  287. package/src/features/Order/SetStatus/ui/SetOrderCompletedStatusButton/index.ts +1 -0
  288. package/src/features/Order/SetStatus/ui/SetOrderPaidStatusButton/SetOrderPaidStatusButton.vue +49 -0
  289. package/src/features/Order/SetStatus/ui/SetOrderPaidStatusButton/index.ts +1 -0
  290. package/src/features/Order/SetStatus/ui/SetOrderRefundedStatusButton/SetOrderRefundedStatusButton.vue +49 -0
  291. package/src/features/Order/SetStatus/ui/SetOrderRefundedStatusButton/index.ts +1 -0
  292. package/src/features/PaymentMethod/AddPaymentMethod/index.ts +2 -0
  293. package/src/features/PaymentMethod/AddPaymentMethod/model/index.ts +56 -0
  294. package/src/features/PaymentMethod/AddPaymentMethod/ui/AddPaymentButton.vue +166 -0
  295. package/src/features/PaymentMethod/AddPaymentMethod/ui/index.ts +1 -0
  296. package/src/features/PaymentMethod/DeletePaymentMethod/index.ts +1 -0
  297. package/src/features/PaymentMethod/DeletePaymentMethod/model/index.ts +29 -0
  298. package/src/features/PaymentMethod/DeletePaymentMethod/ui/DeletePaymentMethodButton.vue +67 -0
  299. package/src/features/PaymentMethod/DeletePaymentMethod/ui/index.ts +1 -0
  300. package/src/features/PaymentMethod/UpdateBankAccount/api/index.ts +14 -0
  301. package/src/features/PaymentMethod/UpdateBankAccount/index.ts +1 -0
  302. package/src/features/PaymentMethod/UpdateBankAccount/model/index.ts +34 -0
  303. package/src/features/Request/AcceptRequest/api/index.ts +53 -0
  304. package/src/features/Request/AcceptRequest/index.ts +3 -0
  305. package/src/features/Request/AcceptRequest/model/index.ts +1 -0
  306. package/src/features/Request/AcceptRequest/model/types.ts +5 -0
  307. package/src/features/Request/AcceptRequest/ui/AcceptButton.vue +37 -0
  308. package/src/features/Request/AcceptRequest/ui/index.ts +1 -0
  309. package/src/features/Request/CancelRequest/api/index.ts +44 -0
  310. package/src/features/Request/CancelRequest/index.ts +3 -0
  311. package/src/features/Request/CancelRequest/model/index.ts +1 -0
  312. package/src/features/Request/CancelRequest/model/types.ts +5 -0
  313. package/src/features/Request/CancelRequest/ui/CancelButton.vue +36 -0
  314. package/src/features/Request/CancelRequest/ui/index.ts +1 -0
  315. package/src/features/Request/CompleteOnRequest/api/index.ts +43 -0
  316. package/src/features/Request/CompleteOnRequest/index.ts +3 -0
  317. package/src/features/Request/CompleteOnRequest/model/index.ts +1 -0
  318. package/src/features/Request/CompleteOnRequest/model/types.ts +5 -0
  319. package/src/features/Request/CompleteOnRequest/ui/CompleteOnRequestButton.vue +37 -0
  320. package/src/features/Request/CompleteOnRequest/ui/index.ts +1 -0
  321. package/src/features/Request/ConfirmRecieveOnRequest/api/index.ts +53 -0
  322. package/src/features/Request/ConfirmRecieveOnRequest/index.ts +3 -0
  323. package/src/features/Request/ConfirmRecieveOnRequest/model/index.ts +1 -0
  324. package/src/features/Request/ConfirmRecieveOnRequest/model/types.ts +5 -0
  325. package/src/features/Request/ConfirmRecieveOnRequest/ui/ConfirmRecieveOnRequest.vue +37 -0
  326. package/src/features/Request/ConfirmRecieveOnRequest/ui/index.ts +1 -0
  327. package/src/features/Request/ConfirmSupplyOnRequest/api/index.ts +53 -0
  328. package/src/features/Request/ConfirmSupplyOnRequest/index.ts +3 -0
  329. package/src/features/Request/ConfirmSupplyOnRequest/model/index.ts +1 -0
  330. package/src/features/Request/ConfirmSupplyOnRequest/model/types.ts +5 -0
  331. package/src/features/Request/ConfirmSupplyOnRequest/ui/ConfirmSupplyOnRequestButton.vue +38 -0
  332. package/src/features/Request/ConfirmSupplyOnRequest/ui/index.ts +1 -0
  333. package/src/features/Request/CreateChildOrder/api/index.ts +60 -0
  334. package/src/features/Request/CreateChildOrder/index.ts +3 -0
  335. package/src/features/Request/CreateChildOrder/model/index.ts +1 -0
  336. package/src/features/Request/CreateChildOrder/model/types.ts +17 -0
  337. package/src/features/Request/CreateChildOrder/ui/CreateChildOrderButton/CreateChildOrderButton.vue +30 -0
  338. package/src/features/Request/CreateChildOrder/ui/CreateChildOrderButton/index.ts +1 -0
  339. package/src/features/Request/CreateChildOrder/ui/index.ts +1 -0
  340. package/src/features/Request/CreateParentOffer/api/index.ts +61 -0
  341. package/src/features/Request/CreateParentOffer/index.ts +3 -0
  342. package/src/features/Request/CreateParentOffer/model/index.ts +1 -0
  343. package/src/features/Request/CreateParentOffer/model/types.ts +22 -0
  344. package/src/features/Request/CreateParentOffer/ui/CreateParentOfferForm/CreateParentOfferForm.vue +78 -0
  345. package/src/features/Request/CreateParentOffer/ui/CreateParentOfferForm/index.ts +1 -0
  346. package/src/features/Request/CreateParentOffer/ui/ImageUploaderWithPreview/ImageUploaderWithPreview.vue +48 -0
  347. package/src/features/Request/CreateParentOffer/ui/ImageUploaderWithPreview/index.ts +1 -0
  348. package/src/features/Request/CreateParentOffer/ui/ImagesPreview/ImagesPreview.vue +104 -0
  349. package/src/features/Request/CreateParentOffer/ui/ImagesPreview/index.ts +1 -0
  350. package/src/features/Request/CreateParentOffer/ui/index.ts +3 -0
  351. package/src/features/Request/DeclineRequest/api/index.ts +45 -0
  352. package/src/features/Request/DeclineRequest/index.ts +3 -0
  353. package/src/features/Request/DeclineRequest/model/index.ts +1 -0
  354. package/src/features/Request/DeclineRequest/model/types.ts +5 -0
  355. package/src/features/Request/DeclineRequest/ui/DeclineButton.vue +37 -0
  356. package/src/features/Request/DeclineRequest/ui/index.ts +1 -0
  357. package/src/features/Request/DeliverOnRequest/api/index.ts +43 -0
  358. package/src/features/Request/DeliverOnRequest/index.ts +3 -0
  359. package/src/features/Request/DeliverOnRequest/model/index.ts +1 -0
  360. package/src/features/Request/DeliverOnRequest/model/types.ts +5 -0
  361. package/src/features/Request/DeliverOnRequest/ui/DeliverOnRequestButton.vue +38 -0
  362. package/src/features/Request/DeliverOnRequest/ui/index.ts +1 -0
  363. package/src/features/Request/DisputeOnRequest/api/index.ts +53 -0
  364. package/src/features/Request/DisputeOnRequest/index.ts +3 -0
  365. package/src/features/Request/DisputeOnRequest/model/index.ts +1 -0
  366. package/src/features/Request/DisputeOnRequest/model/types.ts +5 -0
  367. package/src/features/Request/DisputeOnRequest/ui/DisputeOnRequestButton.vue +37 -0
  368. package/src/features/Request/DisputeOnRequest/ui/index.ts +1 -0
  369. package/src/features/Request/ModerateRequest/api/index.ts +43 -0
  370. package/src/features/Request/ModerateRequest/index.ts +3 -0
  371. package/src/features/Request/ModerateRequest/model/index.ts +1 -0
  372. package/src/features/Request/ModerateRequest/model/types.ts +6 -0
  373. package/src/features/Request/ModerateRequest/ui/ModerateRequestButton.vue +40 -0
  374. package/src/features/Request/ModerateRequest/ui/index.ts +1 -0
  375. package/src/features/Request/ProhibitRequest/api/index.ts +43 -0
  376. package/src/features/Request/ProhibitRequest/index.ts +3 -0
  377. package/src/features/Request/ProhibitRequest/model/index.ts +1 -0
  378. package/src/features/Request/ProhibitRequest/model/types.ts +5 -0
  379. package/src/features/Request/ProhibitRequest/ui/ProhibitRequestButton.vue +36 -0
  380. package/src/features/Request/ProhibitRequest/ui/index.ts +1 -0
  381. package/src/features/Request/PublishRequest/api/index.ts +44 -0
  382. package/src/features/Request/PublishRequest/index.ts +3 -0
  383. package/src/features/Request/PublishRequest/model/index.ts +1 -0
  384. package/src/features/Request/PublishRequest/model/types.ts +5 -0
  385. package/src/features/Request/PublishRequest/ui/PublishRequestButton.vue +36 -0
  386. package/src/features/Request/PublishRequest/ui/index.ts +1 -0
  387. package/src/features/Request/RecieveOnRequest/api/index.ts +53 -0
  388. package/src/features/Request/RecieveOnRequest/index.ts +3 -0
  389. package/src/features/Request/RecieveOnRequest/model/index.ts +1 -0
  390. package/src/features/Request/RecieveOnRequest/model/types.ts +5 -0
  391. package/src/features/Request/RecieveOnRequest/ui/RecieveOnRequestButton.vue +37 -0
  392. package/src/features/Request/RecieveOnRequest/ui/index.ts +1 -0
  393. package/src/features/Request/SupplyOnRequest/api/index.ts +53 -0
  394. package/src/features/Request/SupplyOnRequest/index.ts +3 -0
  395. package/src/features/Request/SupplyOnRequest/model/index.ts +1 -0
  396. package/src/features/Request/SupplyOnRequest/model/types.ts +5 -0
  397. package/src/features/Request/SupplyOnRequest/ui/SupplyOnRequestButton.vue +37 -0
  398. package/src/features/Request/SupplyOnRequest/ui/index.ts +1 -0
  399. package/src/features/Request/UnpublishRequest/api/index.ts +44 -0
  400. package/src/features/Request/UnpublishRequest/index.ts +3 -0
  401. package/src/features/Request/UnpublishRequest/model/index.ts +1 -0
  402. package/src/features/Request/UnpublishRequest/model/types.ts +5 -0
  403. package/src/features/Request/UnpublishRequest/ui/UnpublishRequestButton.vue +36 -0
  404. package/src/features/Request/UnpublishRequest/ui/index.ts +1 -0
  405. package/src/features/Request/UpdateRequest/api/index.ts +47 -0
  406. package/src/features/Request/UpdateRequest/index.ts +3 -0
  407. package/src/features/Request/UpdateRequest/model/index.ts +1 -0
  408. package/src/features/Request/UpdateRequest/model/types.ts +10 -0
  409. package/src/features/Request/UpdateRequest/ui/UpdateRequestButton.vue +28 -0
  410. package/src/features/Request/UpdateRequest/ui/index.ts +1 -0
  411. package/src/features/Settings/UpdateSettings/api/index.ts +11 -0
  412. package/src/features/Settings/UpdateSettings/index.ts +2 -0
  413. package/src/features/Settings/UpdateSettings/model/index.ts +16 -0
  414. package/src/features/Settings/index.ts +2 -0
  415. package/src/features/Union/ActivateCooperative/index.ts +1 -0
  416. package/src/features/Union/ActivateCooperative/model/index.ts +33 -0
  417. package/src/features/Union/AddCooperative/index.ts +2 -0
  418. package/src/features/Union/AddCooperative/model/index.ts +33 -0
  419. package/src/features/Union/AddCooperative/ui/AddCooperativeForm.vue +91 -0
  420. package/src/features/Union/AddCooperative/ui/index.ts +1 -0
  421. package/src/features/Union/BlockCooperative/index.ts +1 -0
  422. package/src/features/Union/BlockCooperative/model/index.ts +33 -0
  423. package/src/features/Union/DeleteCooperative/index.ts +1 -0
  424. package/src/features/Union/DeleteCooperative/model/index.ts +32 -0
  425. package/src/features/Union/LoadCooperatives/api/index.ts +33 -0
  426. package/src/features/Union/LoadCooperatives/index.ts +2 -0
  427. package/src/features/Union/LoadCooperatives/model/index.ts +16 -0
  428. package/src/features/User/AddUser/api/index.ts +11 -0
  429. package/src/features/User/AddUser/index.ts +3 -0
  430. package/src/features/User/AddUser/model/index.ts +59 -0
  431. package/src/features/User/AddUser/ui/AddUserDialog/AddUserDialog.vue +232 -0
  432. package/src/features/User/AddUser/ui/AddUserDialog/index.ts +1 -0
  433. package/src/features/User/AddUser/ui/index.ts +1 -0
  434. package/src/features/User/CreateUser/api/index.ts +65 -0
  435. package/src/features/User/CreateUser/index.ts +2 -0
  436. package/src/features/User/CreateUser/model/index.ts +237 -0
  437. package/src/features/User/LoginUser/api/index.ts +20 -0
  438. package/src/features/User/LoginUser/index.ts +2 -0
  439. package/src/features/User/LoginUser/model/index.ts +69 -0
  440. package/src/features/User/LoginUser/ui/LoginForm/LoginForm.vue +78 -0
  441. package/src/features/User/LoginUser/ui/LoginForm/index.ts +1 -0
  442. package/src/features/User/Logout/api/index.ts +16 -0
  443. package/src/features/User/Logout/index.ts +2 -0
  444. package/src/features/User/Logout/model/index.ts +21 -0
  445. package/src/features/User/LostKey/api/index.ts +9 -0
  446. package/src/features/User/LostKey/index.ts +2 -0
  447. package/src/features/User/LostKey/model/index.ts +11 -0
  448. package/src/features/User/ResetKey/api/index.ts +9 -0
  449. package/src/features/User/ResetKey/index.ts +2 -0
  450. package/src/features/User/ResetKey/model/index.ts +11 -0
  451. package/src/features/User/UpdateMeta/index.ts +1 -0
  452. package/src/features/User/UpdateMeta/model/index.ts +34 -0
  453. package/src/features/Wallet/DepositToWallet/index.ts +1 -0
  454. package/src/features/Wallet/DepositToWallet/ui/DepositButton/DepositButton.vue +79 -0
  455. package/src/features/Wallet/DepositToWallet/ui/DepositButton/index.ts +1 -0
  456. package/src/features/Wallet/DepositToWallet/ui/index.ts +1 -0
  457. package/src/features/Wallet/WithdrawFromWallet/index.ts +1 -0
  458. package/src/features/Wallet/WithdrawFromWallet/ui/index.ts +1 -0
  459. package/src/features/Wallet/WithdrawFromWallet/ui/withdrawButton.vue +54 -0
  460. package/src/i18n/index.ts +5 -0
  461. package/src/i18n/ru-RU/index.ts +7 -0
  462. package/src/index.ts +1 -0
  463. package/src/pages/Cooperative/Contacts/index.ts +1 -0
  464. package/src/pages/Cooperative/Contacts/ui/ContactsPage.vue +7 -0
  465. package/src/pages/Cooperative/Contacts/ui/index.ts +1 -0
  466. package/src/pages/Cooperative/ListOfBranches/index.ts +1 -0
  467. package/src/pages/Cooperative/ListOfBranches/ui/ListOfBranchesPage.vue +101 -0
  468. package/src/pages/Cooperative/ListOfBranches/ui/index.ts +1 -0
  469. package/src/pages/Cooperative/ListOfOrders/index.ts +1 -0
  470. package/src/pages/Cooperative/ListOfOrders/ui/ListOfOrdersPage.vue +12 -0
  471. package/src/pages/Cooperative/ListOfOrders/ui/index.ts +1 -0
  472. package/src/pages/Cooperative/ListOfParticipants/index.ts +1 -0
  473. package/src/pages/Cooperative/ListOfParticipants/ui/ListOfParticipantsPage.vue +14 -0
  474. package/src/pages/Cooperative/ListOfParticipants/ui/index.ts +1 -0
  475. package/src/pages/Cooperative/MembersPage/MembersPage.vue +10 -0
  476. package/src/pages/Cooperative/MembersPage/index.ts +1 -0
  477. package/src/pages/Cooperative/SettingsPage/CooperativeSettingsPage.vue +5 -0
  478. package/src/pages/Cooperative/SettingsPage/index.ts +1 -0
  479. package/src/pages/Documentor/ListOfDocuments/ListOfDocumentsPage.vue +10 -0
  480. package/src/pages/Documentor/ListOfDocuments/index.ts +1 -0
  481. package/src/pages/ExtStore/BaseRoute/ExtensionStoreBase.vue +5 -0
  482. package/src/pages/ExtStore/BaseRoute/index.ts +1 -0
  483. package/src/pages/ExtStore/ExtensionPage/ExtensionPage.vue +205 -0
  484. package/src/pages/ExtStore/ExtensionPage/index.ts +1 -0
  485. package/src/pages/ExtStore/ExtensionsShowcase/ExtensionsShowcase.vue +18 -0
  486. package/src/pages/ExtStore/ExtensionsShowcase/index.ts +1 -0
  487. package/src/pages/ExtStore/InstalledExtensions/InstalledExtensions.vue +18 -0
  488. package/src/pages/ExtStore/InstalledExtensions/index.ts +1 -0
  489. package/src/pages/Installer/index.ts +1 -0
  490. package/src/pages/Installer/ui/InstallCooperativePage.vue +9 -0
  491. package/src/pages/Installer/ui/index.ts +1 -0
  492. package/src/pages/Marketplace/CreateParentOffer/index.ts +1 -0
  493. package/src/pages/Marketplace/CreateParentOffer/ui/CreateParentOfferPage.vue +13 -0
  494. package/src/pages/Marketplace/CreateParentOffer/ui/index.ts +1 -0
  495. package/src/pages/Marketplace/MainPage/index.ts +1 -0
  496. package/src/pages/Marketplace/MainPage/ui/MainPage.vue +36 -0
  497. package/src/pages/Marketplace/MainPage/ui/index.ts +1 -0
  498. package/src/pages/Marketplace/Moderation/index.ts +1 -0
  499. package/src/pages/Marketplace/Moderation/ui/ModerationPage.vue +59 -0
  500. package/src/pages/Marketplace/Moderation/ui/index.ts +1 -0
  501. package/src/pages/Marketplace/OfferPage/index.ts +1 -0
  502. package/src/pages/Marketplace/OfferPage/ui/OfferPage.vue +162 -0
  503. package/src/pages/Marketplace/OfferPage/ui/index.ts +1 -0
  504. package/src/pages/Marketplace/Showcase/index.ts +1 -0
  505. package/src/pages/Marketplace/Showcase/ui/ShowcasePage.vue +42 -0
  506. package/src/pages/Marketplace/Showcase/ui/index.ts +1 -0
  507. package/src/pages/Marketplace/SuppliesList/index.ts +1 -0
  508. package/src/pages/Marketplace/SuppliesList/ui/SuppliesListPage.vue +18 -0
  509. package/src/pages/Marketplace/SuppliesList/ui/index.ts +1 -0
  510. package/src/pages/Marketplace/UserParentOffers/index.ts +1 -0
  511. package/src/pages/Marketplace/UserParentOffers/ui/UserParentOffersPage.vue +44 -0
  512. package/src/pages/Marketplace/UserParentOffers/ui/index.ts +1 -0
  513. package/src/pages/Marketplace/UserSuppliesList/index.ts +1 -0
  514. package/src/pages/Marketplace/UserSuppliesList/ui/UserSuppliesListPage.vue +29 -0
  515. package/src/pages/Marketplace/UserSuppliesList/ui/index.ts +1 -0
  516. package/src/pages/Registrator/LostKey/index.ts +1 -0
  517. package/src/pages/Registrator/LostKey/ui/LostKeyPage.vue +13 -0
  518. package/src/pages/Registrator/LostKey/ui/index.ts +1 -0
  519. package/src/pages/Registrator/ResetKey/index.ts +1 -0
  520. package/src/pages/Registrator/ResetKey/ui/ResetKeyPage.vue +9 -0
  521. package/src/pages/Registrator/ResetKey/ui/index.ts +1 -0
  522. package/src/pages/Registrator/SignIn/index.ts +1 -0
  523. package/src/pages/Registrator/SignIn/ui/SignInPage.vue +26 -0
  524. package/src/pages/Registrator/SignIn/ui/index.ts +1 -0
  525. package/src/pages/Registrator/SignUp/EmailInput.vue +74 -0
  526. package/src/pages/Registrator/SignUp/GenerateAccount.vue +82 -0
  527. package/src/pages/Registrator/SignUp/PayInitial.vue +70 -0
  528. package/src/pages/Registrator/SignUp/ReadStatement.vue +103 -0
  529. package/src/pages/Registrator/SignUp/SelectBranch.vue +50 -0
  530. package/src/pages/Registrator/SignUp/SetUserData.vue +64 -0
  531. package/src/pages/Registrator/SignUp/SignStatement.vue +189 -0
  532. package/src/pages/Registrator/SignUp/SignUp.vue +119 -0
  533. package/src/pages/Registrator/SignUp/WaitingRegistration.vue +69 -0
  534. package/src/pages/Registrator/SignUp/Welcome.vue +30 -0
  535. package/src/pages/Registrator/SignUp/index.ts +1 -0
  536. package/src/pages/Support/SupportPage.vue +38 -0
  537. package/src/pages/Support/index.ts +1 -0
  538. package/src/pages/Union/Connection/ConnectionPage.vue +107 -0
  539. package/src/pages/Union/Connection/index.ts +1 -0
  540. package/src/pages/Union/ListOfCooperatives/index.ts +1 -0
  541. package/src/pages/Union/ListOfCooperatives/ui/UnionPageListOfCooperatives.vue +8 -0
  542. package/src/pages/Union/ListOfCooperatives/ui/index.ts +1 -0
  543. package/src/pages/User/CardPage/index.ts +1 -0
  544. package/src/pages/User/CardPage/ui/CoopCardPage.vue +8 -0
  545. package/src/pages/User/CardPage/ui/index.ts +1 -0
  546. package/src/pages/User/IdentityPage/index.ts +1 -0
  547. package/src/pages/User/IdentityPage/ui/IdentityPage.vue +15 -0
  548. package/src/pages/User/IdentityPage/ui/index.ts +1 -0
  549. package/src/pages/User/PaymentMethodsPage/index.ts +1 -0
  550. package/src/pages/User/PaymentMethodsPage/ui/PaymentMethods.vue +15 -0
  551. package/src/pages/User/PaymentMethodsPage/ui/index.ts +1 -0
  552. package/src/pages/User/SettingsPage/index.ts +1 -0
  553. package/src/pages/User/SettingsPage/ui/UserSettingsPage.vue +5 -0
  554. package/src/pages/User/SettingsPage/ui/index.ts +1 -0
  555. package/src/pages/User/WalletPage/index.ts +1 -0
  556. package/src/pages/User/WalletPage/ui/WalletPage.vue +14 -0
  557. package/src/pages/User/WalletPage/ui/index.ts +1 -0
  558. package/src/pages/_layouts/blank.vue +24 -0
  559. package/src/pages/_layouts/default.vue +78 -0
  560. package/src/pages/_layouts/permissionDenied.vue +20 -0
  561. package/src/pages/blank/blank.vue +9 -0
  562. package/src/pages/index.vue +5 -0
  563. package/src/quasar.d.ts +9 -0
  564. package/src/shared/api/alerts.ts +27 -0
  565. package/src/shared/api/axios.ts +72 -0
  566. package/src/shared/api/client.ts +13 -0
  567. package/src/shared/api/crypto.ts +86 -0
  568. package/src/shared/api/eosio.ts +122 -0
  569. package/src/shared/api/errors.ts +40 -0
  570. package/src/shared/api/index.ts +5 -0
  571. package/src/shared/api/indexDB.ts +39 -0
  572. package/src/shared/api/sleep.ts +1 -0
  573. package/src/shared/api/utils.ts +9 -0
  574. package/src/shared/api/wif.ts +9 -0
  575. package/src/shared/config/ActionsList.ts +23 -0
  576. package/src/shared/config/ContractsList.ts +32 -0
  577. package/src/shared/config/LimitsList.ts +7 -0
  578. package/src/shared/config/SecondaryIndexesNumbersList.ts +15 -0
  579. package/src/shared/config/SecondaryIndexesTypesList.ts +7 -0
  580. package/src/shared/config/TablesList.ts +12 -0
  581. package/src/shared/config/index.ts +6 -0
  582. package/src/shared/lib/composables/useEditableData.ts +58 -0
  583. package/src/shared/lib/composables/useEditableTableRows.ts +89 -0
  584. package/src/shared/lib/consts/workspaces/index.ts +1 -0
  585. package/src/shared/lib/document/api/index.ts +12 -0
  586. package/src/shared/lib/document/index.ts +2 -0
  587. package/src/shared/lib/document/model/entity.ts +64 -0
  588. package/src/shared/lib/document/model/index.ts +2 -0
  589. package/src/shared/lib/document/model/types.ts +9 -0
  590. package/src/shared/lib/types/crypto/index.ts +5 -0
  591. package/src/shared/lib/types/document/index.ts +15 -0
  592. package/src/shared/lib/types/errors/base.ts +5 -0
  593. package/src/shared/lib/types/errors/index.ts +1 -0
  594. package/src/shared/lib/types/graphql/index.ts +14 -0
  595. package/src/shared/lib/types/payments/index.ts +23 -0
  596. package/src/shared/lib/types/user/IUserData.ts +28 -0
  597. package/src/shared/lib/types/user/index.ts +53 -0
  598. package/src/shared/lib/utils/dates/formatToFromNow.ts +6 -0
  599. package/src/shared/lib/utils/dates/formatToHumanDate.ts +6 -0
  600. package/src/shared/lib/utils/dates/moment.ts +6 -0
  601. package/src/shared/lib/utils/formatAssetToReadable.ts +10 -0
  602. package/src/shared/lib/utils/formatDateForEos.ts +6 -0
  603. package/src/shared/lib/utils/formatToAsset.ts +4 -0
  604. package/src/shared/lib/utils/generateUsername.ts +9 -0
  605. package/src/shared/lib/utils/getNameFromUserData.ts +9 -0
  606. package/src/shared/lib/utils/index.ts +6 -0
  607. package/src/shared/lib/utils/isDomainRule.ts +4 -0
  608. package/src/shared/lib/utils/notEmptyPhoneRule.ts +3 -0
  609. package/src/shared/lib/utils/notEmptyRule.ts +3 -0
  610. package/src/shared/lib/utils/validEmailRule.ts +6 -0
  611. package/src/shared/lib/utils/validatePersonalNameRule.ts +3 -0
  612. package/src/shared/locales/ru/base.yml +12 -0
  613. package/src/shared/locales/ru.ts +12 -0
  614. package/src/shared/store/index.ts +202 -0
  615. package/src/shared/ui/AutoAvatar/AutoAvatar.vue +37 -0
  616. package/src/shared/ui/AutoAvatar/index.ts +1 -0
  617. package/src/shared/ui/BaseDocument/BaseDocument.vue +202 -0
  618. package/src/shared/ui/BaseDocument/index.ts +1 -0
  619. package/src/shared/ui/BranchSelector/BranchSelector.vue +47 -0
  620. package/src/shared/ui/BranchSelector/index.ts +1 -0
  621. package/src/shared/ui/ComplexDocument/ComplexDocument.vue +25 -0
  622. package/src/shared/ui/ComplexDocument/index.ts +1 -0
  623. package/src/shared/ui/DocumentHtmlReader/DocumentHtmlReader.vue +57 -0
  624. package/src/shared/ui/DocumentHtmlReader/index.ts +1 -0
  625. package/src/shared/ui/EditableActions/EditableActions.vue +34 -0
  626. package/src/shared/ui/EditableActions/index.ts +1 -0
  627. package/src/shared/ui/Footer/Contacts.vue +24 -0
  628. package/src/shared/ui/Footer/index.ts +1 -0
  629. package/src/shared/ui/Form/Form.vue +33 -0
  630. package/src/shared/ui/Form/index.ts +1 -0
  631. package/src/shared/ui/ImageCarousel/ImageCarousel.vue +68 -0
  632. package/src/shared/ui/ImageCarousel/index.ts +1 -0
  633. package/src/shared/ui/Loader/Loader.vue +19 -0
  634. package/src/shared/ui/Loader/index.ts +1 -0
  635. package/src/shared/ui/Map/Map.vue +52 -0
  636. package/src/shared/ui/Map/index.ts +1 -0
  637. package/src/shared/ui/ModalBase/ModalBase.vue +26 -0
  638. package/src/shared/ui/ModalBase/index.ts +1 -0
  639. package/src/shared/ui/PayWithProvider/PayWithProvider.vue +19 -0
  640. package/src/shared/ui/PayWithProvider/index.ts +1 -0
  641. package/src/shared/ui/Providers/Bank/Bank.vue +105 -0
  642. package/src/shared/ui/Providers/Bank/index.ts +1 -0
  643. package/src/shared/ui/Providers/Yookassa/Yookassa.vue +57 -0
  644. package/src/shared/ui/Providers/Yookassa/index.ts +1 -0
  645. package/src/shared/ui/ToogleDarkLight/ToogleDarkLight.vue +34 -0
  646. package/src/shared/ui/ToogleDarkLight/index.ts +1 -0
  647. package/src/shared/ui/UserDataForm/EntrepreneurDataForm/EntrepreneurDataForm.vue +115 -0
  648. package/src/shared/ui/UserDataForm/EntrepreneurDataForm/index.ts +1 -0
  649. package/src/shared/ui/UserDataForm/IndividualDataForm/IndividualDataForm.vue +40 -0
  650. package/src/shared/ui/UserDataForm/IndividualDataForm/index.ts +1 -0
  651. package/src/shared/ui/UserDataForm/OrganizationDataForm/OrganizationDataForm.vue +129 -0
  652. package/src/shared/ui/UserDataForm/OrganizationDataForm/index.ts +1 -0
  653. package/src/shared/ui/UserDataForm/UserDataForm/UserDataForm.vue +47 -0
  654. package/src/shared/ui/UserDataForm/UserDataForm/index.ts +1 -0
  655. package/src/shared/ui/ZodForm/ZodForm.vue +169 -0
  656. package/src/shared/ui/ZodForm/index.ts +1 -0
  657. package/src/shims-vue.d.ts +10 -0
  658. package/src/stores/index.ts +34 -0
  659. package/src/stores/store-flag.d.ts +10 -0
  660. package/src/types/index.ts +3 -0
  661. package/src/widgets/Agreementer/RequireAgreements/ui/RequireAgreements.vue +71 -0
  662. package/src/widgets/Agreementer/RequireAgreements/ui/index.ts +1 -0
  663. package/src/widgets/BankDetailsCard/index.ts +1 -0
  664. package/src/widgets/BankDetailsCard/ui/BankDetailsCard.vue +107 -0
  665. package/src/widgets/BankDetailsCard/ui/index.ts +1 -0
  666. package/src/widgets/BranchCard/index.ts +1 -0
  667. package/src/widgets/BranchCard/ui/BranchCard.vue +100 -0
  668. package/src/widgets/BranchCard/ui/index.ts +1 -0
  669. package/src/widgets/Commutator/Commutator.vue +7 -0
  670. package/src/widgets/Commutator/index.ts +1 -0
  671. package/src/widgets/Cooperative/Agenda/ListOfQuestions/index.ts +1 -0
  672. package/src/widgets/Cooperative/Agenda/ListOfQuestions/ui/ListOfQuestions.vue +265 -0
  673. package/src/widgets/Cooperative/Agenda/ListOfQuestions/ui/index.ts +1 -0
  674. package/src/widgets/Cooperative/Contacts/index.ts +1 -0
  675. package/src/widgets/Cooperative/Contacts/ui/ChangeContacts.vue +56 -0
  676. package/src/widgets/Cooperative/Contacts/ui/Contacts.vue +52 -0
  677. package/src/widgets/Cooperative/Contacts/ui/index.ts +2 -0
  678. package/src/widgets/Cooperative/Contributions/index.ts +1 -0
  679. package/src/widgets/Cooperative/Contributions/ui/ChangeContributions.vue +88 -0
  680. package/src/widgets/Cooperative/Contributions/ui/index.ts +1 -0
  681. package/src/widgets/Cooperative/Description/ui/SetDescription.vue +4 -0
  682. package/src/widgets/Cooperative/Description/ui/index.ts +1 -0
  683. package/src/widgets/Cooperative/Details/index.ts +1 -0
  684. package/src/widgets/Cooperative/Details/ui/Details.vue +32 -0
  685. package/src/widgets/Cooperative/Details/ui/index.ts +1 -0
  686. package/src/widgets/Cooperative/Documents/ListOfDocuments/index.ts +1 -0
  687. package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/ListOfDocumentsWidget.vue +156 -0
  688. package/src/widgets/Cooperative/Documents/ListOfDocuments/ui/index.ts +1 -0
  689. package/src/widgets/Cooperative/Funds/index.ts +1 -0
  690. package/src/widgets/Cooperative/Funds/ui/AccumulationFunds.vue +121 -0
  691. package/src/widgets/Cooperative/Funds/ui/AddAccumulationFund.vue +79 -0
  692. package/src/widgets/Cooperative/Funds/ui/AddExpenseFund.vue +76 -0
  693. package/src/widgets/Cooperative/Funds/ui/ChangeFunds.vue +11 -0
  694. package/src/widgets/Cooperative/Funds/ui/ExpenseFunds.vue +113 -0
  695. package/src/widgets/Cooperative/Funds/ui/index.ts +3 -0
  696. package/src/widgets/Cooperative/Install/InstallWidgetBase/index.ts +1 -0
  697. package/src/widgets/Cooperative/Install/InstallWidgetBase/ui/InstallWidgetBase.vue +29 -0
  698. package/src/widgets/Cooperative/Install/InstallWidgetBase/ui/index.ts +1 -0
  699. package/src/widgets/Cooperative/Members/index.ts +1 -0
  700. package/src/widgets/Cooperative/Members/ui/Members.vue +220 -0
  701. package/src/widgets/Cooperative/Members/ui/index.ts +1 -0
  702. package/src/widgets/Cooperative/Orders/ListOfOrders/index.ts +1 -0
  703. package/src/widgets/Cooperative/Orders/ListOfOrders/ui/ListOfOrdersWidget.vue +209 -0
  704. package/src/widgets/Cooperative/Orders/ListOfOrders/ui/index.ts +1 -0
  705. package/src/widgets/Cooperative/Participants/ExitCard/index.ts +1 -0
  706. package/src/widgets/Cooperative/Participants/ExitCard/ui/ExitCard.vue +15 -0
  707. package/src/widgets/Cooperative/Participants/ExitCard/ui/index.ts +1 -0
  708. package/src/widgets/Cooperative/Participants/ListOfParticipants/index.ts +1 -0
  709. package/src/widgets/Cooperative/Participants/ListOfParticipants/ui/ListOfParticipantsWidget.vue +103 -0
  710. package/src/widgets/Cooperative/Participants/ListOfParticipants/ui/index.ts +1 -0
  711. package/src/widgets/Desktop/LeftDrawerMenu/LeftDrawerMenu.vue +10 -0
  712. package/src/widgets/Desktop/LeftDrawerMenu/index.ts +1 -0
  713. package/src/widgets/Desktop/SecondLevelMenu/SecondLevelMenu.vue +57 -0
  714. package/src/widgets/Desktop/SecondLevelMenu/index.ts +1 -0
  715. package/src/widgets/Desktop/SecondLevelMenuList/SecondLevelMenuList.vue +86 -0
  716. package/src/widgets/Desktop/SecondLevelMenuList/index.ts +1 -0
  717. package/src/widgets/Desktop/WorkspaceMenu/WorkspaceMenu.vue +94 -0
  718. package/src/widgets/Desktop/WorkspaceMenu/index.ts +1 -0
  719. package/src/widgets/ExtStore/ExtensionCard/ExtensionCard.vue +38 -0
  720. package/src/widgets/ExtStore/ExtensionCard/index.ts +1 -0
  721. package/src/widgets/Header/CommonHeader/Header.vue +203 -0
  722. package/src/widgets/Header/CommonHeader/index.ts +1 -0
  723. package/src/widgets/Header/SettingsDropdown/SettingsDropdown.vue +86 -0
  724. package/src/widgets/Header/SettingsDropdown/index.ts +1 -0
  725. package/src/widgets/IndividualCard/index.ts +1 -0
  726. package/src/widgets/IndividualCard/ui/IndividualCard.vue +170 -0
  727. package/src/widgets/IndividualCard/ui/index.ts +1 -0
  728. package/src/widgets/OrganizationCard/index.ts +1 -0
  729. package/src/widgets/OrganizationCard/ui/OrganizationCard.vue +44 -0
  730. package/src/widgets/OrganizationCard/ui/index.ts +1 -0
  731. package/src/widgets/Registrator/AlreadyRegistered/AlreadyRegistered.vue +19 -0
  732. package/src/widgets/Registrator/AlreadyRegistered/index.ts +1 -0
  733. package/src/widgets/Registrator/LostKey/index.ts +1 -0
  734. package/src/widgets/Registrator/LostKey/ui/LostKey.vue +63 -0
  735. package/src/widgets/Registrator/LostKey/ui/index.ts +1 -0
  736. package/src/widgets/Registrator/ResetKey/index.ts +1 -0
  737. package/src/widgets/Registrator/ResetKey/ui/ResetKey.vue +89 -0
  738. package/src/widgets/Registrator/ResetKey/ui/index.ts +1 -0
  739. package/src/widgets/Registrator/SignIn/SignIn.vue +12 -0
  740. package/src/widgets/Registrator/SignIn/index.ts +1 -0
  741. package/src/widgets/Request/CreateChildOrderCard/CreateChildOrderCard.vue +57 -0
  742. package/src/widgets/Request/CreateChildOrderCard/index.ts +1 -0
  743. package/src/widgets/Request/RequestCard/RequestCard.vue +37 -0
  744. package/src/widgets/Request/RequestCard/index.ts +1 -0
  745. package/src/widgets/Request/SupplyOrderRequestCard/index.ts +2 -0
  746. package/src/widgets/Request/SupplyOrderRequestCard/model/index.ts +1 -0
  747. package/src/widgets/Request/SupplyOrderRequestCard/model/types.ts +10 -0
  748. package/src/widgets/Request/SupplyOrderRequestCard/ui/Base/Base.vue +93 -0
  749. package/src/widgets/Request/SupplyOrderRequestCard/ui/Base/index.ts +1 -0
  750. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/EightStep.vue +28 -0
  751. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/FifthStep.vue +34 -0
  752. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/FirstStep.vue +39 -0
  753. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/FourthStep.vue +37 -0
  754. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/SecondStep.vue +18 -0
  755. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/SeventhStep.vue +37 -0
  756. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/SixthStep.vue +37 -0
  757. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/ThirdStep.vue +51 -0
  758. package/src/widgets/Request/SupplyOrderRequestCard/ui/Steps/index.ts +8 -0
  759. package/src/widgets/Request/SupplyOrderRequestCard/ui/index.ts +1 -0
  760. package/src/widgets/Union/ListOfCooperatives/index.ts +1 -0
  761. package/src/widgets/Union/ListOfCooperatives/ui/UnionListOfCooperatives.vue +136 -0
  762. package/src/widgets/Union/ListOfCooperatives/ui/index.ts +1 -0
  763. package/src/widgets/User/CoopCard/index.ts +1 -0
  764. package/src/widgets/User/CoopCard/ui/CoopCard.vue +111 -0
  765. package/src/widgets/User/CoopCard/ui/index.ts +1 -0
  766. package/src/widgets/User/LogoutCard/index.ts +1 -0
  767. package/src/widgets/User/LogoutCard/ui/LogoutCard.vue +31 -0
  768. package/src/widgets/User/LogoutCard/ui/index.ts +1 -0
  769. package/src/widgets/User/PaymentMethods/index.ts +1 -0
  770. package/src/widgets/User/PaymentMethods/ui/PaymentMethods.vue +116 -0
  771. package/src/widgets/User/PaymentMethods/ui/index.ts +1 -0
  772. package/src/widgets/User/PersonalCard/index.ts +1 -0
  773. package/src/widgets/User/PersonalCard/ui/PersonalCard.vue +109 -0
  774. package/src/widgets/User/PersonalCard/ui/UserQR.vue +5 -0
  775. package/src/widgets/User/PersonalCard/ui/index.ts +2 -0
  776. package/src/widgets/User/WalletCard/index.ts +1 -0
  777. package/src/widgets/User/WalletCard/ui/WalletCard.vue +26 -0
  778. package/src/widgets/User/WalletCard/ui/index.ts +1 -0
  779. package/src-ssr/middlewares/render.ts +59 -0
  780. package/src-ssr/server.ts +134 -0
  781. package/src-ssr/ssr-flag.d.ts +10 -0
  782. package/tsconfig.json +25 -0
  783. package/tsconfig.vue-tsc.json +9 -0
  784. package/vite.111config.js +37 -0
@@ -0,0 +1,17 @@
1
+ import { boot } from 'quasar/wrappers'
2
+ import { App } from 'vue'
3
+ import { Router } from 'vue-router'
4
+
5
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
+ export default boot(({ app, router }: { app: App<Element>; router: Router }) => {
7
+ // Пример инициализации компонента
8
+ // app.component('MyExtensionComponent', () => import('./MyExtensionComponent.vue'))
9
+
10
+ // Пример добавления маршрута, если нужно
11
+ // router.addRoute({
12
+ // path: '/my-extension',
13
+ // component: () => import('./MyExtensionPage.vue')
14
+ // })
15
+
16
+ console.log('Расширение загружено успешно')
17
+ })
@@ -0,0 +1,3 @@
1
+ <template lang="pug">
2
+ div hello world
3
+ </template>
package/index.html ADDED
@@ -0,0 +1,78 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" href="/favicon.ico" />
6
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
7
+ <link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
8
+ <link
9
+ rel="stylesheet"
10
+ href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
11
+ />
12
+ <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
13
+ <meta
14
+ name="viewport"
15
+ content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
16
+ />
17
+ <title><%- SITE_TITLE %></title>
18
+ <meta property="og:title" content="<%- SITE_TITLE %>" />
19
+ <meta property="og:description" content="<%- SITE_DESCRIPTION %>" />
20
+ <meta property="og:image" content="<%- SITE_IMAGE %>" />
21
+ </head>
22
+ <body>
23
+ <style>
24
+ body {
25
+ margin: 0;
26
+ /* background: #f5f5f5; */
27
+ }
28
+
29
+ /* Стили для полосы прокрутки */
30
+ html::-webkit-scrollbar {
31
+ width: 0px; /* Ширина полосы прокрутки */
32
+ }
33
+
34
+ /* Стили для трека полосы прокрутки (фон) */
35
+ html::-webkit-scrollbar-track {
36
+ background-color: #f5f5f5;
37
+ }
38
+
39
+ /* Стили для ползунка полосы прокрутки */
40
+ html::-webkit-scrollbar-thumb {
41
+ background-color: #999999;
42
+ }
43
+
44
+ .loader-container {
45
+ display: flex;
46
+ justify-content: center;
47
+ align-items: center;
48
+ height: 100%;
49
+ position: absolute;
50
+ width: 100%;
51
+ z-index: 9999; /* устанавливаем z-index для размещения поверх контейнера с id="app" */
52
+ }
53
+
54
+ .loader-page {
55
+ width: 50px;
56
+ height: 50px;
57
+ border-radius: 50%;
58
+ position: relative;
59
+ animation: rotate 2s linear infinite;
60
+ border-top: 3px solid black;
61
+ border-right: 3px solid transparent;
62
+ }
63
+
64
+ @keyframes rotate {
65
+ 0% {
66
+ transform: rotate(0deg);
67
+ }
68
+ 100% {
69
+ transform: rotate(360deg);
70
+ }
71
+ }
72
+ </style>
73
+ <div id="app"><!-- quasar:entry-point --></div>
74
+ <div class="loader-container">
75
+ <div class="loader-page"></div>
76
+ </div>
77
+ </body>
78
+ </html>
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@coopenomics/desktop",
3
+ "version": "2.2.2",
4
+ "description": "A Desktop Project",
5
+ "productName": "Desktop App",
6
+ "author": "Alex Ant <dacom.dark.sun@gmail.com>",
7
+ "private": false,
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "scripts": {
12
+ "deploy-testnet": "git checkout testnet && git merge main && git push origin testnet && git checkout main",
13
+ "deploy-production": "git checkout production && git merge testnet && git push origin production && git checkout main",
14
+ "lint": "eslint --ext .js,.ts,.vue ./",
15
+ "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
16
+ "test": "echo \"No test specified\" && exit 0",
17
+ "dev": "concurrently -n 'DESKTOP' -c 'bgRed.white' \"quasar dev\"",
18
+ "build:lib": "vite build",
19
+ "build": "quasar build",
20
+ "prepublishOnly": "npm run build:lib"
21
+ },
22
+ "dependencies": {
23
+ "@coopenomics/controller": "2.2.2",
24
+ "@coopenomics/sdk": "2.2.2",
25
+ "@dicebear/collection": "^9.0.1",
26
+ "@dicebear/core": "^9.0.1",
27
+ "@fortawesome/fontawesome-svg-core": "^6.5.2",
28
+ "@fortawesome/free-brands-svg-icons": "^6.5.2",
29
+ "@fortawesome/free-regular-svg-icons": "^6.5.2",
30
+ "@fortawesome/free-solid-svg-icons": "^6.5.2",
31
+ "@fortawesome/vue-fontawesome": "^3.0.8",
32
+ "@headlessui/vue": "^1.7.22",
33
+ "@openreplay/tracker": "^14.0.9",
34
+ "@openreplay/tracker-assist": "^9.0.1",
35
+ "@productdevbook/chatwoot": "^1.5.0",
36
+ "@quasar/extras": "^1.16.4",
37
+ "@sentry/browser": "^8.12.0",
38
+ "@sentry/tracing": "^7.114.0",
39
+ "@sentry/vue": "^8.11.0",
40
+ "@tabler/icons-vue": "^3.6.0",
41
+ "@wharfkit/account": "^1.1.1",
42
+ "@wharfkit/antelope": "^1.0.7",
43
+ "@wharfkit/contract": "^1.1.5",
44
+ "@wharfkit/session": "^1.3.1",
45
+ "@wharfkit/wallet-plugin-privatekey": "^1.1.0",
46
+ "axios": "^1.2.1",
47
+ "compression": "^1.7.4",
48
+ "cooptypes": "^2.2.2",
49
+ "dompurify": "^3.1.7",
50
+ "dotenv": "^16.4.5",
51
+ "email-regex": "^5.0.0",
52
+ "eosjs": "^22.1.0",
53
+ "express": "^4.21.0",
54
+ "idb": "^8.0.0",
55
+ "lodash": "^4.17.21",
56
+ "moment-with-locales-es6": "^1.0.1",
57
+ "pinia": "^2.0.11",
58
+ "pinia-plugin-persistedstate": "^3.2.1",
59
+ "pug": "^3.0.3",
60
+ "qrcode": "^1.5.4",
61
+ "quasar": "^2.16.0",
62
+ "swiper": "^11.1.7",
63
+ "vite": "2.9.16",
64
+ "vue": "^3.4.18",
65
+ "vue-i18n": "^9.2.2",
66
+ "vue-markdown-render": "^2.2.1",
67
+ "vue-router": "^4.0.12",
68
+ "vue-window-size": "^2.0.0",
69
+ "vue3-dropzone": "^2.2.1",
70
+ "vue3-openlayers": "^10.0.1"
71
+ },
72
+ "devDependencies": {
73
+ "@intlify/vite-plugin-vue-i18n": "^3.3.1",
74
+ "@prettier/plugin-pug": "^3.0.0",
75
+ "@quasar/app-vite": "^1.9.3",
76
+ "@types/node": "^12.20.21",
77
+ "@typescript-eslint/eslint-plugin": "^5.10.0",
78
+ "@typescript-eslint/parser": "^5.10.0",
79
+ "@vue/language-plugin-pug": "^1.0.0",
80
+ "autoprefixer": "^10.4.2",
81
+ "concurrently": "^8.2.2",
82
+ "eslint": "^8.57.0",
83
+ "eslint-config-prettier": "^8.1.0",
84
+ "eslint-plugin-pug": "^1.2.5",
85
+ "eslint-plugin-vue": "^9.26.0",
86
+ "eslint-plugin-vue-pug": "^0.6.2",
87
+ "prettier": "^2.8.8",
88
+ "typescript": "^4.5.4",
89
+ "vite-plugin-checker": "^0.6.4",
90
+ "vue-tsc": "^1.8.22"
91
+ },
92
+ "engines": {
93
+ "node": "^20 || ^18 || ^16",
94
+ "npm": ">= 6.13.4",
95
+ "yarn": ">= 1.21.1"
96
+ },
97
+ "gitHead": "88352202b02fd190abd2c892290cb668ba137cb8"
98
+ }
@@ -0,0 +1,27 @@
1
+ /* eslint-disable */
2
+ // https://github.com/michael-ciniawsky/postcss-load-config
3
+
4
+ module.exports = {
5
+ plugins: [
6
+ // https://github.com/postcss/autoprefixer
7
+ require('autoprefixer')({
8
+ overrideBrowserslist: [
9
+ 'last 4 Chrome versions',
10
+ 'last 4 Firefox versions',
11
+ 'last 4 Edge versions',
12
+ 'last 4 Safari versions',
13
+ 'last 4 Android versions',
14
+ 'last 4 ChromeAndroid versions',
15
+ 'last 4 FirefoxAndroid versions',
16
+ 'last 4 iOS versions'
17
+ ]
18
+ })
19
+
20
+ // https://github.com/elchininet/postcss-rtlcss
21
+ // If you want to support RTL css, then
22
+ // 1. yarn/npm install postcss-rtlcss
23
+ // 2. optionally set quasar.config.js > framework > lang to an RTL language
24
+ // 3. uncomment the following line:
25
+ // require('postcss-rtlcss')
26
+ ]
27
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg id="Слой_2" data-name="Слой 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1744.61 433.71"><defs><style>.cls-1{font-size:200px;font-family:Audiowide-Regular, Audiowide;}.cls-2{stroke:#fff;stroke-miterlimit:10;stroke-width:2px;}</style></defs><text class="cls-1" transform="translate(521.6 282.35)">DEXCOOP</text><circle class="cls-2" cx="161.91" cy="351.42" r="37.91"/><circle class="cls-2" cx="316.96" cy="351.42" r="37.91"/><circle class="cls-2" cx="316.96" cy="82.29" r="37.91"/><circle class="cls-2" cx="161.91" cy="82.29" r="37.91"/><circle class="cls-2" cx="392.78" cy="216.29" r="37.91"/><circle class="cls-2" cx="86.09" cy="216.29" r="37.91"/></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,17 @@
1
+ self.addEventListener('push', (event) => {
2
+ const data = event.data.json()
3
+ console.log('data: ', data)
4
+ console.log('event: ', event)
5
+ const title = data.title || 'Новое уведомление'
6
+ const options = {
7
+ body: data.body || 'У вас есть новое сообщение!',
8
+ // icon: data.icon || 'default-icon.png'
9
+ }
10
+ console.log('self.notfi', self.registration)
11
+ self.registration.showNotification(title, options)
12
+ })
13
+
14
+ self.addEventListener('notificationclick', (event) => {
15
+ event.notification.close()
16
+ event.waitUntil(clients.openWindow('https://e39a-77-222-115-181.ngrok-free.app'))
17
+ })
Binary file
@@ -0,0 +1,256 @@
1
+ /*
2
+ * This file runs in a Node context (it's NOT transpiled by Babel), so use only
3
+ * the ES6 features that are supported by your Node version. https://node.green/
4
+ */
5
+
6
+ // Configuration for your app
7
+ // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
8
+
9
+ // const config = require('./src/shared/config/Env.ts');
10
+ require('dotenv').config();
11
+ const { configure } = require('quasar/wrappers');
12
+ const path = require('path');
13
+ const glob = require('glob')
14
+
15
+ module.exports = configure(function (/* ctx */) {
16
+ // Ищем все boot файлы в директории extensions
17
+ const extensionBootFiles = glob
18
+ .sync('extensions/**/boot.{ts,js}') // Ищем файлы с расширениями .ts и .js
19
+ .map(file => '../../' + file.replace(/\.(ts|js)$/, '')) // Добавляем ../../ и убираем расширение
20
+
21
+ return {
22
+ htmlVariables: {
23
+ SITE_TITLE: process.env.SITE_TITLE || 'Цифровой Кооператив',
24
+ SITE_DESCRIPTION:
25
+ process.env.SITE_DESCRIPTION ||
26
+ 'кооперативная экономика для сообществ и бизнеса',
27
+ SITE_IMAGE:
28
+ process.env.SITE_IMAGE || 'https://ia.media-imdb.com/images/rock.jpg',
29
+ },
30
+ // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
31
+ // preFetch: true,
32
+
33
+ // app boot file (/src/boot)
34
+ // --> boot files are part of "main.js"
35
+ // https://v2.quasar.dev/quasar-cli-vite/boot-files
36
+ boot: [
37
+ 'init-stores',
38
+ 'navigation-guards',
39
+ 'i18n', 'axios', 'sentry',
40
+ 'branch-selector',
41
+ ...extensionBootFiles
42
+ ],
43
+
44
+ // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
45
+ css: [
46
+ '../app/styles/app.scss',
47
+ '../app/styles/style.css',
48
+ '../app/styles/quasar-variables.sass',
49
+ ],
50
+ sassVariables: '/src/app/styles/quasar-variables.sass',
51
+
52
+ // , '../app/styles/quasar-variables.sass'
53
+ // https://github.com/quasarframework/quasar/tree/dev/extras
54
+ extras: [
55
+ // 'ionicons-v4',
56
+ // 'mdi-v7',
57
+ 'fontawesome-v6',
58
+ // 'eva-icons',
59
+ // 'themify',
60
+ // 'line-awesome',
61
+ // 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
62
+
63
+ 'roboto-font', // optional, you are not bound to it
64
+ 'material-icons', // optional, you are not bound to it
65
+ ],
66
+
67
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
68
+ build: {
69
+ target: {
70
+ browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'],
71
+ node: 'node20',
72
+ },
73
+
74
+ vueRouterMode: 'hash', // available values: 'hash', 'history'
75
+ // vueRouterBase,
76
+ // vueDevtools,
77
+ // vueOptionsAPI: false,
78
+
79
+ // rebuildCache: true, // rebuilds Vite/linter/etc cache on startup
80
+
81
+ // publicPath: '/',
82
+ // analyze: true,
83
+ env: require('dotenv').config().parsed,
84
+ // rawDefine: {}
85
+ // ignorePublicFolder: true,
86
+ // minify: false,
87
+ // polyfillModulePreload: true,
88
+ // distDir
89
+
90
+ // extendViteConf(viteConf) {},
91
+ // viteVuePluginOptions: {},
92
+
93
+ vitePlugins: [
94
+ [
95
+ '@intlify/vite-plugin-vue-i18n',
96
+ {
97
+ // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
98
+ // compositionOnly: false,
99
+
100
+ // if you want to use named tokens in your Vue I18n messages, such as 'Hello {name}',
101
+ // you need to set `runtimeOnly: false`
102
+ // runtimeOnly: false,
103
+
104
+ // you need to set i18n resource including paths !
105
+ include: path.resolve(__dirname, './src/i18n/**'),
106
+ },
107
+ ],
108
+ [
109
+ 'vite-plugin-checker',
110
+ {
111
+ vueTsc: {
112
+ tsconfigPath: 'tsconfig.vue-tsc.json',
113
+ },
114
+ eslint: {
115
+ lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"',
116
+ },
117
+ overlay: true
118
+ },
119
+ { server: false },
120
+ ],
121
+ ],
122
+ },
123
+
124
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
125
+ devServer: {
126
+ // https: true
127
+ vueDevtools: false,
128
+ open: false, // opens browser window automatically
129
+ port: 3005,
130
+ hmr:{
131
+ overlay: false
132
+ }
133
+ },
134
+
135
+ // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
136
+ framework: {
137
+ config: {},
138
+ lang: 'ru',
139
+
140
+ iconSet: 'material-icons', // Quasar icon set
141
+
142
+ // For special cases outside of where the auto-import strategy can have an impact
143
+ // (like functional components as one of the examples),
144
+ // you can manually specify Quasar components/directives to be available everywhere:
145
+ //
146
+ // components: [],
147
+ // directives: [],
148
+
149
+ // Quasar plugins
150
+ plugins: [
151
+ 'Notify',
152
+ 'Dialog',
153
+ 'LocalStorage',
154
+ 'Loading',
155
+ 'Meta',
156
+ 'Ripple',
157
+ ],
158
+ },
159
+
160
+ // animations: 'all', // --- includes all animations
161
+ // https://v2.quasar.dev/options/animations
162
+ animations: [],
163
+
164
+ // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#sourcefiles
165
+ sourceFiles: {
166
+ rootComponent: 'src/app/App.vue',
167
+ router: 'src/app/providers/router',
168
+ // store: 'src/store/index',
169
+ // registerServiceWorker: 'src-pwa/register-service-worker',
170
+ // serviceWorker: 'src-pwa/custom-service-worker',
171
+ // pwaManifestFile: 'src-pwa/manifest.json',
172
+ // electronMain: 'src-electron/electron-main',
173
+ // electronPreload: 'src-electron/electron-preload'
174
+ },
175
+
176
+ // https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
177
+ ssr: {
178
+ // ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
179
+ // will mess up SSR
180
+
181
+ // extendSSRWebserverConf (esbuildConf) {},
182
+ // extendPackageJson (json) {},
183
+
184
+ pwa: false,
185
+
186
+ // manualStoreHydration: true,
187
+ // manualPostHydrationTrigger: true,
188
+
189
+ prodPort: 3000, // The default port that the production server should use
190
+ // (gets superseded if process.env.PORT is specified at runtime)
191
+
192
+ middlewares: [
193
+ 'render', // keep this as last one
194
+ ],
195
+ },
196
+
197
+ // https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
198
+ pwa: {
199
+ workboxMode: 'generateSW', // or 'injectManifest'
200
+ injectPwaMetaTags: true,
201
+ swFilename: 'sw.js',
202
+ manifestFilename: 'manifest.json',
203
+ useCredentialsForManifestTag: false,
204
+ // useFilenameHashes: true,
205
+ // extendGenerateSWOptions (cfg) {}
206
+ // extendInjectManifestOptions (cfg) {},
207
+ // extendManifestJson (json) {}
208
+ // extendPWACustomSWConf (esbuildConf) {}
209
+ },
210
+
211
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
212
+ cordova: {
213
+ // noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
214
+ },
215
+
216
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
217
+ capacitor: {
218
+ hideSplashscreen: true,
219
+ },
220
+
221
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
222
+ electron: {
223
+ // extendElectronMainConf (esbuildConf)
224
+ // extendElectronPreloadConf (esbuildConf)
225
+
226
+ inspectPort: 5858,
227
+
228
+ bundler: 'packager', // 'packager' or 'builder'
229
+
230
+ packager: {
231
+ // https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
232
+ // OS X / Mac App Store
233
+ // appBundleId: '',
234
+ // appCategoryType: '',
235
+ // osxSign: '',
236
+ // protocol: 'myapp://path',
237
+ // Windows only
238
+ // win32metadata: { ... }
239
+ },
240
+
241
+ builder: {
242
+ // https://www.electron.build/configuration/configuration
243
+
244
+ appId: 'terminal',
245
+ },
246
+ },
247
+
248
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
249
+ bex: {
250
+ contentScripts: ['my-content-script'],
251
+
252
+ // extendBexScriptsConf (esbuildConf) {}
253
+ // extendBexManifestJson (json) {}
254
+ },
255
+ };
256
+ });
@@ -0,0 +1,85 @@
1
+ <template lang='pug'>
2
+ div(v-if="isLoaded").breable-text
3
+ router-view
4
+ RequireAgreements
5
+ SelectBranchOverlay
6
+ </template>
7
+ <script setup lang="ts">
8
+ import { onMounted, ref, watch } from 'vue'
9
+ import { FailAlert } from 'src/shared/api/alerts'
10
+ import { handleException } from 'src/shared/api';
11
+ import { useRoute } from 'vue-router'
12
+ import 'src/app/styles/quasar-variables.sass'
13
+ import { useDesktopStore } from 'src/entities/Desktop/model';
14
+ import { Cookies, LocalStorage, QSpinnerGears, useQuasar } from 'quasar';
15
+ import { COOPNAME } from 'src/shared/config';
16
+ import { RequireAgreements } from 'src/widgets/Agreementer/RequireAgreements/ui';
17
+ import { SelectBranchOverlay } from 'src/features/Branch/SelectBranch';
18
+
19
+ const $q = useQuasar()
20
+
21
+ const route = useRoute()
22
+ const desktop = useDesktopStore()
23
+
24
+ const isLoaded = ref(false)
25
+
26
+ const enableLoading = () => {
27
+ $q.loading.show({
28
+ spinner: QSpinnerGears,
29
+ message: 'Техническое обслуживание..',
30
+ spinnerSize: 50,
31
+ })
32
+ }
33
+
34
+ const disableLoading = () => {
35
+ $q.loading.hide()
36
+ }
37
+
38
+ const onlineCheck = () => {
39
+ if (desktop.online === false) {
40
+ enableLoading()
41
+ } else {
42
+ disableLoading()
43
+ }
44
+ }
45
+
46
+ onlineCheck()
47
+
48
+ // Watch the online status
49
+ watch(() => desktop.online, () => onlineCheck())
50
+
51
+ onMounted(async () => {
52
+ try {
53
+ removeLoader()
54
+ isLoaded.value = true
55
+
56
+ const ref = Cookies.get('referer') || String(route.query.r || '')
57
+
58
+ if (ref) {
59
+ LocalStorage.setItem(`${COOPNAME}:referer`, ref)
60
+ }
61
+ } catch (e: unknown) {
62
+
63
+ console.error(e)
64
+ handleException(e)
65
+ // router.push({ name: 'somethingBad' })
66
+ isLoaded.value = true
67
+ removeLoader()
68
+ }
69
+
70
+ })
71
+
72
+ function removeLoader() {
73
+ const loaderContainer = document.querySelector('.loader-container')
74
+ if (loaderContainer) {
75
+ loaderContainer.remove()
76
+ } else {
77
+ FailAlert('Возникла ошибка при загрузке сайта :(')
78
+ }
79
+ }
80
+ </script>
81
+ <style>
82
+ .q-loading__backdrop {
83
+ opacity: 1 !important
84
+ }
85
+ </style>