@ozdao/prometheus-framework 0.1.70 → 0.1.73

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
  3. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
  5. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
  7. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
  9. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/auth.client.js +27 -24
  11. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +5 -2
  13. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/community/community.client.js +33 -30
  17. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  22. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
  23. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  24. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
  25. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/events/events.client.js +21 -18
  35. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/gallery/gallery.client.js +7 -4
  41. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/globals/globals.client.js +9 -6
  43. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/icons/icons.client.js +49 -46
  45. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +3 -3
  46. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +3 -3
  53. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/landing/landing.client.js +5 -2
  55. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/legal/legal.client.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/legal/legal.client.js +14 -10
  59. package/dist/prometheus-framework/src/modules/middlewares/middlewares.client.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/middlewares/middlewares.client.js +8 -1
  61. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  63. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  65. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +9 -9
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  74. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  76. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  82. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +61 -58
  84. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +6 -9
  86. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  92. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  94. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  98. package/dist/prometheus-framework/src/modules/reports/reports.client.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/reports/reports.client.js +7 -1
  100. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/users/users.client.js +11 -8
  104. package/dist/prometheus-framework.es.js +15 -5
  105. package/dist/style.css +1 -1
  106. package/package.json +6 -10
  107. package/src/{main.ts → main.js} +1 -2
  108. package/src/modules/auth/auth.client.js +1 -1
  109. package/src/modules/backoffice/backoffice.client.js +1 -1
  110. package/src/modules/community/community.client.js +1 -1
  111. package/src/modules/events/events.client.js +1 -1
  112. package/src/modules/gallery/gallery.client.js +1 -1
  113. package/src/modules/globals/globals.client.js +1 -1
  114. package/src/modules/icons/icons.client.js +1 -1
  115. package/src/modules/landing/landing.client.js +1 -1
  116. package/src/modules/legal/legal.client.js +1 -1
  117. package/src/modules/middlewares/middlewares.client.js +1 -1
  118. package/src/modules/organizations/organizations.client.js +1 -1
  119. package/src/modules/organizations/router/organizations.js +6 -6
  120. package/src/modules/reports/reports.client.js +1 -1
  121. package/src/modules/users/users.client.js +1 -1
  122. /package/src/components/{index.ts → index.js} +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("vue"),e=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),t={},n={width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=C.createElementVNode("path",{d:"M20.0019 0C14.5702 0 13.8885 0.0237504 11.7551 0.120834C9.62593 0.218334 8.17259 0.555417 6.90091 1.05C5.58547 1.56083 4.46963 2.24417 3.35795 3.35625C2.24544 4.46792 1.5621 5.58375 1.04959 6.89875C0.553755 8.17083 0.216252 9.62458 0.120418 11.7529C0.0250001 13.8862 0 14.5683 0 20C0 25.4317 0.0241673 26.1113 0.120835 28.2446C0.218753 30.3738 0.555839 31.8271 1.05001 33.0987C1.56127 34.4142 2.24461 35.53 3.3567 36.6417C4.46796 37.7542 5.58381 38.4392 6.89841 38.95C8.17092 39.4446 9.62468 39.7817 11.7535 39.8792C13.8868 39.9762 14.5681 40 19.9994 40C25.4315 40 26.1111 39.9762 28.2445 39.8792C30.3737 39.7817 31.8287 39.4446 33.1012 38.95C34.4162 38.4392 35.5304 37.7542 36.6416 36.6417C37.7541 35.53 38.4375 34.4142 38.95 33.0992C39.4417 31.8271 39.7792 30.3733 39.8792 28.245C39.975 26.1117 40 25.4317 40 20C40 14.5683 39.975 13.8867 39.8792 11.7533C39.7792 9.62417 39.4417 8.17083 38.95 6.89917C38.4375 5.58375 37.7541 4.46792 36.6416 3.35625C35.5291 2.24375 34.4166 1.56042 33.0999 1.05C31.8249 0.555417 30.3707 0.218334 28.2415 0.120834C26.1082 0.0237504 25.429 0 19.9956 0H20.0019ZM18.2077 3.60417C18.7402 3.60333 19.3344 3.60417 20.0019 3.60417C25.3419 3.60417 25.9749 3.62333 28.0836 3.71917C30.0336 3.80833 31.092 4.13417 31.797 4.40792C32.7303 4.77042 33.3958 5.20375 34.0954 5.90375C34.7954 6.60375 35.2287 7.27042 35.592 8.20375C35.8658 8.90792 36.192 9.96625 36.2808 11.9162C36.3766 14.0246 36.3975 14.6579 36.3975 19.9954C36.3975 25.3329 36.3766 25.9662 36.2808 28.0746C36.1916 30.0246 35.8658 31.0829 35.592 31.7871C35.2295 32.7204 34.7954 33.385 34.0954 34.0846C33.3953 34.7846 32.7308 35.2179 31.797 35.5804C31.0928 35.8554 30.0336 36.1804 28.0836 36.2696C25.9753 36.3654 25.3419 36.3863 20.0019 36.3863C14.6614 36.3863 14.0285 36.3654 11.9201 36.2696C9.9701 36.1796 8.91176 35.8537 8.20634 35.58C7.27299 35.2175 6.60632 34.7842 5.90631 34.0842C5.2063 33.3842 4.77297 32.7192 4.40963 31.7854C4.13588 31.0813 3.80962 30.0229 3.72087 28.0729C3.62504 25.9646 3.60587 25.3312 3.60587 19.9904C3.60587 14.6496 3.62504 14.0196 3.72087 11.9113C3.81004 9.96125 4.13588 8.90292 4.40963 8.19792C4.77213 7.26458 5.2063 6.59792 5.90631 5.89792C6.60632 5.19792 7.27299 4.76458 8.20634 4.40125C8.91134 4.12625 9.9701 3.80125 11.9201 3.71167C13.7651 3.62833 14.4802 3.60333 18.2077 3.59917V3.60417ZM30.6778 6.925C29.3528 6.925 28.2778 7.99875 28.2778 9.32417C28.2778 10.6492 29.3528 11.7242 30.6778 11.7242C32.0028 11.7242 33.0778 10.6492 33.0778 9.32417C33.0778 7.99917 32.0028 6.92417 30.6778 6.92417V6.925ZM20.0019 9.72917C14.3297 9.72917 9.73093 14.3279 9.73093 20C9.73093 25.6721 14.3297 30.2687 20.0019 30.2687C25.674 30.2687 30.2711 25.6721 30.2711 20C30.2711 14.3279 25.6736 9.72917 20.0015 9.72917H20.0019ZM20.0019 13.3333C23.6836 13.3333 26.6686 16.3179 26.6686 20C26.6686 23.6817 23.6836 26.6667 20.0019 26.6667C16.3198 26.6667 13.3351 23.6817 13.3351 20C13.3351 16.3179 16.3198 13.3333 20.0019 13.3333V13.3333Z",fill:"white"},null,-1),r=[o];function c(s,i){return C.openBlock(),C.createElementBlock("svg",n,r)}const l=e.default(t,[["render",c]]);exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("vue"),e=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),t={},n={width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=C.createElementVNode("path",{d:"M20.0019 0C14.5702 0 13.8885 0.0237504 11.7551 0.120834C9.62593 0.218334 8.17259 0.555417 6.90091 1.05C5.58547 1.56083 4.46963 2.24417 3.35795 3.35625C2.24544 4.46792 1.5621 5.58375 1.04959 6.89875C0.553755 8.17083 0.216252 9.62458 0.120418 11.7529C0.0250001 13.8862 0 14.5683 0 20C0 25.4317 0.0241673 26.1113 0.120835 28.2446C0.218753 30.3738 0.555839 31.8271 1.05001 33.0987C1.56127 34.4142 2.24461 35.53 3.3567 36.6417C4.46796 37.7542 5.58381 38.4392 6.89841 38.95C8.17092 39.4446 9.62468 39.7817 11.7535 39.8792C13.8868 39.9762 14.5681 40 19.9994 40C25.4315 40 26.1111 39.9762 28.2445 39.8792C30.3737 39.7817 31.8287 39.4446 33.1012 38.95C34.4162 38.4392 35.5304 37.7542 36.6416 36.6417C37.7541 35.53 38.4375 34.4142 38.95 33.0992C39.4417 31.8271 39.7792 30.3733 39.8792 28.245C39.975 26.1117 40 25.4317 40 20C40 14.5683 39.975 13.8867 39.8792 11.7533C39.7792 9.62417 39.4417 8.17083 38.95 6.89917C38.4375 5.58375 37.7541 4.46792 36.6416 3.35625C35.5291 2.24375 34.4166 1.56042 33.0999 1.05C31.8249 0.555417 30.3707 0.218334 28.2415 0.120834C26.1082 0.0237504 25.429 0 19.9956 0H20.0019ZM18.2077 3.60417C18.7402 3.60333 19.3344 3.60417 20.0019 3.60417C25.3419 3.60417 25.9749 3.62333 28.0836 3.71917C30.0336 3.80833 31.092 4.13417 31.797 4.40792C32.7303 4.77042 33.3958 5.20375 34.0954 5.90375C34.7954 6.60375 35.2287 7.27042 35.592 8.20375C35.8658 8.90792 36.192 9.96625 36.2808 11.9162C36.3766 14.0246 36.3975 14.6579 36.3975 19.9954C36.3975 25.3329 36.3766 25.9662 36.2808 28.0746C36.1916 30.0246 35.8658 31.0829 35.592 31.7871C35.2295 32.7204 34.7954 33.385 34.0954 34.0846C33.3953 34.7846 32.7308 35.2179 31.797 35.5804C31.0928 35.8554 30.0336 36.1804 28.0836 36.2696C25.9753 36.3654 25.3419 36.3863 20.0019 36.3863C14.6614 36.3863 14.0285 36.3654 11.9201 36.2696C9.9701 36.1796 8.91176 35.8537 8.20634 35.58C7.27299 35.2175 6.60632 34.7842 5.90631 34.0842C5.2063 33.3842 4.77297 32.7192 4.40963 31.7854C4.13588 31.0813 3.80962 30.0229 3.72087 28.0729C3.62504 25.9646 3.60587 25.3312 3.60587 19.9904C3.60587 14.6496 3.62504 14.0196 3.72087 11.9113C3.81004 9.96125 4.13588 8.90292 4.40963 8.19792C4.77213 7.26458 5.2063 6.59792 5.90631 5.89792C6.60632 5.19792 7.27299 4.76458 8.20634 4.40125C8.91134 4.12625 9.9701 3.80125 11.9201 3.71167C13.7651 3.62833 14.4802 3.60333 18.2077 3.59917V3.60417ZM30.6778 6.925C29.3528 6.925 28.2778 7.99875 28.2778 9.32417C28.2778 10.6492 29.3528 11.7242 30.6778 11.7242C32.0028 11.7242 33.0778 10.6492 33.0778 9.32417C33.0778 7.99917 32.0028 6.92417 30.6778 6.92417V6.925ZM20.0019 9.72917C14.3297 9.72917 9.73093 14.3279 9.73093 20C9.73093 25.6721 14.3297 30.2687 20.0019 30.2687C25.674 30.2687 30.2711 25.6721 30.2711 20C30.2711 14.3279 25.6736 9.72917 20.0015 9.72917H20.0019ZM20.0019 13.3333C23.6836 13.3333 26.6686 16.3179 26.6686 20C26.6686 23.6817 23.6836 26.6667 20.0019 26.6667C16.3198 26.6667 13.3351 23.6817 13.3351 20C13.3351 16.3179 16.3198 13.3333 20.0019 13.3333V13.3333Z",fill:"white"},null,-1),r=[o];function l(c,i){return C.openBlock(),C.createElementBlock("svg",n,r)}const s=e.default(t,[["render",l]]);exports.default=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),c={},n={fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("path",{d:"m33.8716 34.0867h-5.8864v-9.2823c0-2.2133-.0442-5.0622-3.0702-5.0622-3.068 0-3.5362 2.4089-3.5362 4.9v9.4445h-5.8886v-19.0867h5.6544v2.6h.0773c.7908-1.4978 2.7124-3.0822 5.5838-3.0822 5.9637 0 7.0681 3.9511 7.0681 9.0911v10.4778zm-25.02986-21.6978c-.44937.0006-.89443-.0881-1.30967-.2609s-.7925-.4264-1.11014-.7461c-.31765-.3198-.56944-.6995-.74093-1.1174-.17149-.41791-.25932-.86573-.25845-1.31783.00044-.68037.2014-1.34533.57746-1.91079.37607-.56546.91036-1.00603 1.5353-1.26599s1.31247-.32763 1.97564-.19447c.66315.13317 1.27225.46119 1.75005.94259.4779.48141.8032 1.09457.9347 1.76195s.0633 1.359-.1959 1.98744c-.2592.6284-.6978 1.1654-1.2603 1.543s-1.22372.5789-1.89997.5785zm2.95096 21.6978h-5.9041v-19.0867h5.9063v19.0867zm25.0276-34.0867h-33.88483c-1.62566 0-2.93547 1.28889-2.93547 2.88222v34.23558c0 1.5933 1.31201 2.8822 2.93326 2.8822h33.87824c1.6212 0 2.9465-1.2889 2.9465-2.8822v-34.23558c0-1.59333-1.3253-2.88222-2.9465-2.88222h.0066z",fill:"#fff"},null,-1),s=[o];function r(i,h){return e.openBlock(),e.createElementBlock("svg",n,s)}const l=t.default(c,[["render",r]]);exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),c={},n={fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("path",{d:"m33.8716 34.0867h-5.8864v-9.2823c0-2.2133-.0442-5.0622-3.0702-5.0622-3.068 0-3.5362 2.4089-3.5362 4.9v9.4445h-5.8886v-19.0867h5.6544v2.6h.0773c.7908-1.4978 2.7124-3.0822 5.5838-3.0822 5.9637 0 7.0681 3.9511 7.0681 9.0911v10.4778zm-25.02986-21.6978c-.44937.0006-.89443-.0881-1.30967-.2609s-.7925-.4264-1.11014-.7461c-.31765-.3198-.56944-.6995-.74093-1.1174-.17149-.41791-.25932-.86573-.25845-1.31783.00044-.68037.2014-1.34533.57746-1.91079.37607-.56546.91036-1.00603 1.5353-1.26599s1.31247-.32763 1.97564-.19447c.66315.13317 1.27225.46119 1.75005.94259.4779.48141.8032 1.09457.9347 1.76195s.0633 1.359-.1959 1.98744c-.2592.6284-.6978 1.1654-1.2603 1.543s-1.22372.5789-1.89997.5785zm2.95096 21.6978h-5.9041v-19.0867h5.9063v19.0867zm25.0276-34.0867h-33.88483c-1.62566 0-2.93547 1.28889-2.93547 2.88222v34.23558c0 1.5933 1.31201 2.8822 2.93326 2.8822h33.87824c1.6212 0 2.9465-1.2889 2.9465-2.8822v-34.23558c0-1.59333-1.3253-2.88222-2.9465-2.88222h.0066z",fill:"#fff"},null,-1),s=[o];function r(l,h){return e.openBlock(),e.createElementBlock("svg",n,s)}const i=t.default(c,[["render",r]]);exports.default=i;
@@ -12,7 +12,7 @@ const n = {}, s = {
12
12
  }, null, -1), r = [
13
13
  h
14
14
  ];
15
- function i(_, l) {
15
+ function i(_, f) {
16
16
  return c(), e("svg", s, r);
17
17
  }
18
18
  const v = /* @__PURE__ */ o(n, [["render", i]]);
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),C={},o={width:"40",height:"36",viewBox:"0 0 40 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M40 17.9021C40 15.4963 38.0287 13.5858 35.6272 13.5858C34.4444 13.5858 33.3692 14.0457 32.5806 14.7887C29.5699 12.6659 25.448 11.2861 20.8602 11.1092L22.8674 1.83974L29.3907 3.21955C29.4624 4.84701 30.8244 6.15605 32.509 6.15605C34.2294 6.15605 35.6272 4.77625 35.6272 3.07803C35.6272 1.37981 34.2294 0 32.509 0C31.2903 0 30.2151 0.707593 29.7133 1.7336L22.4373 0.21228C22.2222 0.1769 22.0072 0.212278 21.8638 0.318417C21.6846 0.424556 21.5771 0.601454 21.5412 0.813732L19.319 11.1446C14.6595 11.2861 10.466 12.6659 7.41936 14.8241C6.63083 14.0811 5.55556 13.6211 4.37276 13.6211C1.93549 13.6211 0 15.567 0 17.9375C0 19.7064 1.07527 21.1924 2.58065 21.8646C2.50896 22.2892 2.47312 22.7137 2.47312 23.1736C2.47312 29.825 10.3226 35.2381 20 35.2381C29.6774 35.2381 37.5269 29.8604 37.5269 23.1736C37.5269 22.7491 37.491 22.2892 37.4194 21.8646C38.9247 21.1924 40 19.6711 40 17.9021V17.9021ZM9.96416 20.9801C9.96416 19.2819 11.362 17.9021 13.0824 17.9021C14.8029 17.9021 16.2007 19.2819 16.2007 20.9801C16.2007 22.6783 14.8029 24.0581 13.0824 24.0581C11.362 24.0935 9.96416 22.6783 9.96416 20.9801V20.9801ZM27.4194 29.1528C25.2688 31.2756 21.1828 31.4171 20 31.4171C18.7814 31.4171 14.6953 31.2402 12.5806 29.1528C12.2581 28.8344 12.2581 28.3391 12.5806 28.0206C12.9032 27.7022 13.405 27.7022 13.7276 28.0206C15.0896 29.3651 17.957 29.825 20 29.825C22.043 29.825 24.9462 29.3651 26.2724 28.0206C26.595 27.7022 27.0968 27.7022 27.4194 28.0206C27.7061 28.3391 27.7061 28.8344 27.4194 29.1528ZM26.8459 24.0935C25.1254 24.0935 23.7276 22.7137 23.7276 21.0155C23.7276 19.3173 25.1254 17.9375 26.8459 17.9375C28.5663 17.9375 29.9642 19.3173 29.9642 21.0155C29.9642 22.6783 28.5663 24.0935 26.8459 24.0935Z",fill:"white"},null,-1),r=[n];function c(l,s){return e.openBlock(),e.createElementBlock("svg",o,r)}const i=t.default(C,[["render",c]]);exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),C={},o={width:"40",height:"36",viewBox:"0 0 40 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M40 17.9021C40 15.4963 38.0287 13.5858 35.6272 13.5858C34.4444 13.5858 33.3692 14.0457 32.5806 14.7887C29.5699 12.6659 25.448 11.2861 20.8602 11.1092L22.8674 1.83974L29.3907 3.21955C29.4624 4.84701 30.8244 6.15605 32.509 6.15605C34.2294 6.15605 35.6272 4.77625 35.6272 3.07803C35.6272 1.37981 34.2294 0 32.509 0C31.2903 0 30.2151 0.707593 29.7133 1.7336L22.4373 0.21228C22.2222 0.1769 22.0072 0.212278 21.8638 0.318417C21.6846 0.424556 21.5771 0.601454 21.5412 0.813732L19.319 11.1446C14.6595 11.2861 10.466 12.6659 7.41936 14.8241C6.63083 14.0811 5.55556 13.6211 4.37276 13.6211C1.93549 13.6211 0 15.567 0 17.9375C0 19.7064 1.07527 21.1924 2.58065 21.8646C2.50896 22.2892 2.47312 22.7137 2.47312 23.1736C2.47312 29.825 10.3226 35.2381 20 35.2381C29.6774 35.2381 37.5269 29.8604 37.5269 23.1736C37.5269 22.7491 37.491 22.2892 37.4194 21.8646C38.9247 21.1924 40 19.6711 40 17.9021V17.9021ZM9.96416 20.9801C9.96416 19.2819 11.362 17.9021 13.0824 17.9021C14.8029 17.9021 16.2007 19.2819 16.2007 20.9801C16.2007 22.6783 14.8029 24.0581 13.0824 24.0581C11.362 24.0935 9.96416 22.6783 9.96416 20.9801V20.9801ZM27.4194 29.1528C25.2688 31.2756 21.1828 31.4171 20 31.4171C18.7814 31.4171 14.6953 31.2402 12.5806 29.1528C12.2581 28.8344 12.2581 28.3391 12.5806 28.0206C12.9032 27.7022 13.405 27.7022 13.7276 28.0206C15.0896 29.3651 17.957 29.825 20 29.825C22.043 29.825 24.9462 29.3651 26.2724 28.0206C26.595 27.7022 27.0968 27.7022 27.4194 28.0206C27.7061 28.3391 27.7061 28.8344 27.4194 29.1528ZM26.8459 24.0935C25.1254 24.0935 23.7276 22.7137 23.7276 21.0155C23.7276 19.3173 25.1254 17.9375 26.8459 17.9375C28.5663 17.9375 29.9642 19.3173 29.9642 21.0155C29.9642 22.6783 28.5663 24.0935 26.8459 24.0935Z",fill:"white"},null,-1),r=[n];function i(c,s){return e.openBlock(),e.createElementBlock("svg",o,r)}const l=t.default(C,[["render",i]]);exports.default=l;
@@ -6,18 +6,18 @@ const n = {}, l = {
6
6
  viewBox: "0 0 40 33",
7
7
  fill: "none",
8
8
  xmlns: "http://www.w3.org/2000/svg"
9
- }, c = /* @__PURE__ */ t("path", {
9
+ }, s = /* @__PURE__ */ t("path", {
10
10
  d: "M9.75391 18.7989L14.1454 30.9541C14.1454 30.9541 14.6945 32.0914 15.2824 32.0914C15.8704 32.0914 24.6149 22.9943 24.6149 22.9943L34.3391 4.21216L9.9106 15.6613L9.75391 18.7989Z",
11
11
  fill: "#C8DAEA"
12
- }, null, -1), s = /* @__PURE__ */ t("path", {
12
+ }, null, -1), c = /* @__PURE__ */ t("path", {
13
13
  d: "M15.5785 21.916L14.7355 30.8755C14.7355 30.8755 14.3826 33.6208 17.1273 30.8755C19.8719 28.1302 22.4991 26.0133 22.4991 26.0133",
14
14
  fill: "#A9C6D8"
15
15
  }, null, -1), _ = /* @__PURE__ */ t("path", {
16
16
  d: "M9.8345 19.2327L0.800944 16.2894C0.800944 16.2894 -0.278665 15.8514 0.0689689 14.8581C0.140532 14.6533 0.28489 14.479 0.716734 14.1795C2.71833 12.7844 37.7646 0.18778 37.7646 0.18778C37.7646 0.18778 38.7541 -0.145665 39.3377 0.0761175C39.4821 0.120809 39.612 0.20305 39.7142 0.314426C39.8164 0.425801 39.8871 0.562314 39.9192 0.710002C39.9823 0.970857 40.0086 1.23923 39.9975 1.50737C39.9948 1.73933 39.9667 1.95433 39.9454 2.29148C39.732 5.73543 33.3444 31.4388 33.3444 31.4388C33.3444 31.4388 32.9622 32.9428 31.5929 32.9943C31.2564 33.0052 30.9212 32.9482 30.6072 32.8267C30.2932 32.7053 30.0069 32.5218 29.7653 32.2873C27.0783 29.976 17.7912 23.7347 15.739 22.362C15.6927 22.3305 15.6538 22.2894 15.6247 22.2415C15.5957 22.1936 15.5772 22.14 15.5706 22.0844C15.5419 21.9397 15.6992 21.7605 15.6992 21.7605C15.6992 21.7605 31.8706 7.38631 32.3009 5.87732C32.3342 5.76041 32.2083 5.70273 32.0393 5.75394C30.9652 6.14908 12.346 17.9073 10.291 19.2049C10.1431 19.2497 9.98675 19.2592 9.8345 19.2327V19.2327Z",
17
17
  fill: "white"
18
18
  }, null, -1), i = [
19
- c,
20
19
  s,
20
+ c,
21
21
  _
22
22
  ];
23
23
  function r(h, d) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),o={},n={width:"40",height:"33",viewBox:"0 0 40 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=e.createElementVNode("path",{d:"M35.9049 8.17058C35.9293 8.52666 35.9293 8.88274 35.9293 9.2421C35.9293 20.192 27.6742 32.8205 12.5793 32.8205V32.814C8.12025 32.8205 3.75381 31.5307 0 29.0989C0.648385 29.1777 1.30002 29.217 1.95328 29.2187C5.64859 29.222 9.23827 27.9699 12.1454 25.6645C8.63376 25.5972 5.55434 23.2851 4.47857 19.9097C5.70871 20.1493 6.97623 20.1001 8.18363 19.767C4.35507 18.9859 1.60065 15.5892 1.60065 11.6444V11.5394C2.74142 12.181 4.01869 12.5371 5.32521 12.5765C1.71928 10.143 0.607759 5.29897 2.78529 1.51172C6.95186 6.68883 13.0993 9.83612 19.6986 10.1692C19.0372 7.29105 19.9407 4.27503 22.0727 2.25178C25.378 -0.885667 30.5765 -0.724857 33.6835 2.61114C35.5214 2.24521 37.283 1.56423 38.895 0.599367C38.2823 2.51761 37.0002 4.14704 35.2874 5.18246C36.9141 4.98883 38.5034 4.54907 40 3.87793C38.8982 5.54511 37.5105 6.99732 35.9049 8.17058Z",fill:"white"},null,-1),c=[r];function i(s,C){return e.openBlock(),e.createElementBlock("svg",n,c)}const l=t.default(o,[["render",i]]);exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),o={},n={width:"40",height:"33",viewBox:"0 0 40 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=e.createElementVNode("path",{d:"M35.9049 8.17058C35.9293 8.52666 35.9293 8.88274 35.9293 9.2421C35.9293 20.192 27.6742 32.8205 12.5793 32.8205V32.814C8.12025 32.8205 3.75381 31.5307 0 29.0989C0.648385 29.1777 1.30002 29.217 1.95328 29.2187C5.64859 29.222 9.23827 27.9699 12.1454 25.6645C8.63376 25.5972 5.55434 23.2851 4.47857 19.9097C5.70871 20.1493 6.97623 20.1001 8.18363 19.767C4.35507 18.9859 1.60065 15.5892 1.60065 11.6444V11.5394C2.74142 12.181 4.01869 12.5371 5.32521 12.5765C1.71928 10.143 0.607759 5.29897 2.78529 1.51172C6.95186 6.68883 13.0993 9.83612 19.6986 10.1692C19.0372 7.29105 19.9407 4.27503 22.0727 2.25178C25.378 -0.885667 30.5765 -0.724857 33.6835 2.61114C35.5214 2.24521 37.283 1.56423 38.895 0.599367C38.2823 2.51761 37.0002 4.14704 35.2874 5.18246C36.9141 4.98883 38.5034 4.54907 40 3.87793C38.8982 5.54511 37.5105 6.99732 35.9049 8.17058Z",fill:"white"},null,-1),i=[r];function l(s,C){return e.openBlock(),e.createElementBlock("svg",n,i)}const c=t.default(o,[["render",l]]);exports.default=c;
@@ -1,6 +1,6 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
2
  import n from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
- const c = {}, C = {
3
+ const C = {}, c = {
4
4
  width: "40",
5
5
  height: "33",
6
6
  viewBox: "0 0 40 33",
@@ -13,9 +13,9 @@ const c = {}, C = {
13
13
  r
14
14
  ];
15
15
  function i(_, l) {
16
- return t(), e("svg", C, s);
16
+ return t(), e("svg", c, s);
17
17
  }
18
- const f = /* @__PURE__ */ n(c, [["render", i]]);
18
+ const f = /* @__PURE__ */ n(C, [["render", i]]);
19
19
  export {
20
20
  f as default
21
21
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/sections/MobileApp.vue.cjs");exports.MobileApp=e.default;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/sections/MobileApp.vue.cjs"),t={MobileApp:e.default};exports.default=t;
@@ -1,4 +1,7 @@
1
- import { default as p } from "./components/sections/MobileApp.vue.js";
1
+ import i from "./components/sections/MobileApp.vue.js";
2
+ const o = {
3
+ MobileApp: i
4
+ };
2
5
  export {
3
- p as MobileApp
6
+ o as default
4
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue2.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-small"><h2 class="mn-small">About No More Snow CO., LTD.</h2><p class="mn-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-small"><h2 class="mn-small">About No More Snow CO., LTD.</h2><p class="mn-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
@@ -1,7 +1,7 @@
1
1
  import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, withCtx as o, unref as r, createStaticVNode as c, createElementVNode as a } from "vue";
2
2
  import "../../../../components/Field/Field.vue.js";
3
3
  import "../../../../components/Button/Button.vue.js";
4
- import p from "../../../mobile/components/Menu/Menu.vue2.js";
4
+ import p from "../../../mobile/components/Menu/Menu.vue.js";
5
5
  import n from "../../../mobile/components/Menu/MenuItem.vue.js";
6
6
  import { useRoute as d, useRouter as h } from "vue-router";
7
7
  import "../../../auth/store/auth.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/pages/Legal.vue.cjs"),r=require("./components/pages/legal/Cookies.vue.cjs"),t=require("./components/pages/legal/Privacy.vue.cjs"),l=require("./components/pages/legal/Terms.vue.cjs"),o=require("./router/legal.cjs");exports.Legal=e.default;exports.Cookies=r.default;exports.Privacy=t.default;exports.Terms=l.default;exports.legalRoutes=o.default;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/pages/Legal.vue.cjs"),t=require("./components/pages/legal/Cookies.vue.cjs"),l=require("./components/pages/legal/Privacy.vue.cjs"),r=require("./components/pages/legal/Terms.vue.cjs"),u=require("./router/legal.cjs"),a={Legal:e.default,Cookies:t.default,Privacy:l.default,Terms:r.default,legalRoutes:u.default};exports.default=a;
@@ -1,12 +1,16 @@
1
- import { default as o } from "./components/pages/Legal.vue.js";
2
- import { default as t } from "./components/pages/legal/Cookies.vue.js";
3
- import { default as l } from "./components/pages/legal/Privacy.vue.js";
4
- import { default as m } from "./components/pages/legal/Terms.vue.js";
5
- import { default as d } from "./router/legal.js";
1
+ import o from "./components/pages/Legal.vue.js";
2
+ import r from "./components/pages/legal/Cookies.vue.js";
3
+ import m from "./components/pages/legal/Privacy.vue.js";
4
+ import e from "./components/pages/legal/Terms.vue.js";
5
+ import t from "./router/legal.js";
6
+ const s = {
7
+ Legal: o,
8
+ Cookies: r,
9
+ Privacy: m,
10
+ Terms: e,
11
+ //
12
+ legalRoutes: t
13
+ };
6
14
  export {
7
- t as Cookies,
8
- o as Legal,
9
- l as Privacy,
10
- m as Terms,
11
- d as legalRoutes
15
+ s as default
12
16
  };
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={};exports.default=e;
@@ -1 +1,8 @@
1
-
1
+ const e = {
2
+ // authValidation,
3
+ // inputsValidation,
4
+ // statesValidation
5
+ };
6
+ export {
7
+ e as default
8
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue2.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
@@ -1,4 +1,13 @@
1
- const e = "";
1
+ import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
2
+ import "./Menu.vue2.js";
3
+ const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
4
+ __name: "Menu",
5
+ setup(s) {
6
+ return (e, i) => (t(), o("section", r, [
7
+ n(e.$slots, "default")
8
+ ]));
9
+ }
10
+ };
2
11
  export {
3
- e as default
12
+ d as default
4
13
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,13 +1,4 @@
1
- import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
2
- import "./Menu.vue.js";
3
- const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
4
- __name: "Menu",
5
- setup(s) {
6
- return (e, i) => (t(), o("section", r, [
7
- n(e.$slots, "default")
8
- ]));
9
- }
10
- };
1
+ const e = "";
11
2
  export {
12
- d as default
3
+ e as default
13
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../components/Field/Field.vue.cjs");const f=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue2.cjs");require("./DepartmentMemberModify.vue2.cjs");const _={class:"br-grey radius-small mn-small"},k={key:1,class:"pd-small br-grey br-1px br-solid"},v=["disabled"],y={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,department:Number,departments:Array,maindepartment:Object,alldepartments:Array},emits:["callback","remove"],setup(u,{emit:a}){const t=u,r=e.ref({subdepartment:null});t.department!==null&&(r.value=t.departments[t.department]);function m(o,l,n){return o.filter(s=>!(l.some(p=>p._id===s._id)||n._id===s._id))}const d=e.computed(()=>m(t.alldepartments,t.departments,t.maindepartment));async function c(){t.departments.push(r.value.subdepartment),a("callback")}async function i(){t.departments.splice(t.department,1),a("callback")}return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",_,[t.department===null?(e.openBlock(),e.createBlock(e.unref(b.default),{key:0,modelValue:r.value.subdepartment,"onUpdate:modelValue":l[0]||(l[0]=n=>r.value.subdepartment=n),options:e.unref(d),"get-option-label":n=>n.name,class:"w-100 mn-small"},null,8,["modelValue","options","get-option-label"])):(e.openBlock(),e.createElementBlock("div",k,e.toDisplayString(r.value.name?r.value.name:"Безымянный"),1))]),t.department===null?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!r.value.subdepartment,onClick:c,class:"w-100 button bg-second t-white"}," Добавить отдел ",8,v)):e.createCommentVNode("",!0),t.department!==null?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:i,class:"w-100 button bg-fourth t-white"}," Удалить отдел ")):e.createCommentVNode("",!0)]))}},B=f.default(y,[["__scopeId","data-v-21f393e1"]]);exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../components/Field/Field.vue.cjs");const f=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("./DepartmentMemberModify.vue2.cjs");const _={class:"br-grey radius-small mn-small"},k={key:1,class:"pd-small br-grey br-1px br-solid"},v=["disabled"],y={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,department:Number,departments:Array,maindepartment:Object,alldepartments:Array},emits:["callback","remove"],setup(u,{emit:a}){const t=u,r=e.ref({subdepartment:null});t.department!==null&&(r.value=t.departments[t.department]);function m(o,l,n){return o.filter(s=>!(l.some(p=>p._id===s._id)||n._id===s._id))}const d=e.computed(()=>m(t.alldepartments,t.departments,t.maindepartment));async function c(){t.departments.push(r.value.subdepartment),a("callback")}async function i(){t.departments.splice(t.department,1),a("callback")}return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",_,[t.department===null?(e.openBlock(),e.createBlock(e.unref(b.default),{key:0,modelValue:r.value.subdepartment,"onUpdate:modelValue":l[0]||(l[0]=n=>r.value.subdepartment=n),options:e.unref(d),"get-option-label":n=>n.name,class:"w-100 mn-small"},null,8,["modelValue","options","get-option-label"])):(e.openBlock(),e.createElementBlock("div",k,e.toDisplayString(r.value.name?r.value.name:"Безымянный"),1))]),t.department===null?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!r.value.subdepartment,onClick:c,class:"w-100 button bg-second t-white"}," Добавить отдел ",8,v)):e.createCommentVNode("",!0),t.department!==null?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:i,class:"w-100 button bg-fourth t-white"}," Удалить отдел ")):e.createCommentVNode("",!0)]))}},B=f.default(y,[["__scopeId","data-v-21f393e1"]]);exports.default=B;
@@ -2,7 +2,7 @@ import { ref as v, computed as y, openBlock as n, createElementBlock as l, creat
2
2
  import w from "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
3
3
  import "../../../../components/Field/Field.vue.js";
4
4
  import D from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- import "../../../../components/Select/Select.vue2.js";
5
+ import "../../../../components/Select/Select.vue.js";
6
6
  import "./DepartmentMemberModify.vue2.js";
7
7
  const M = { class: "br-grey radius-small mn-small" }, V = {
8
8
  key: 1,
@@ -1,4 +1,4 @@
1
- import { computed as c, openBlock as t, createElementBlock as a, Fragment as l, renderList as p, unref as f, createBlock as b, resolveDynamicComponent as d } from "vue";
1
+ import { computed as l, openBlock as t, createElementBlock as n, Fragment as c, renderList as p, unref as f, createBlock as b, resolveDynamicComponent as d } from "vue";
2
2
  import u from "../../../icons/socials/telegram.vue.js";
3
3
  import g from "../../../icons/socials/facebook.vue.js";
4
4
  import w from "../../../icons/socials/instagram.vue.js";
@@ -6,7 +6,7 @@ import h from "../../../icons/socials/twitter.vue.js";
6
6
  import k from "../../../icons/socials/reddit.vue.js";
7
7
  import _ from "../../../icons/socials/line.vue.js";
8
8
  import y from "../../../icons/socials/dribbble.vue.js";
9
- const I = { class: "gap-small flex-nowrap flex" }, S = ["href"], E = {
9
+ const S = { class: "gap-small flex-nowrap flex" }, x = ["href"], E = {
10
10
  __name: "Socials",
11
11
  props: {
12
12
  telegram: {
@@ -39,7 +39,7 @@ const I = { class: "gap-small flex-nowrap flex" }, S = ["href"], E = {
39
39
  }
40
40
  },
41
41
  setup(i) {
42
- const o = i, m = c(() => [
42
+ const o = i, m = l(() => [
43
43
  { name: "telegram", base: "https://t.me/" },
44
44
  { name: "facebook", base: "https://www.facebook.com/" },
45
45
  { name: "instagram", base: "https://www.instagram.com/" },
@@ -63,15 +63,15 @@ const I = { class: "gap-small flex-nowrap flex" }, S = ["href"], E = {
63
63
  dribbble: y
64
64
  }[r] || null;
65
65
  }
66
- return (r, e) => (t(), a("div", I, [
67
- (t(!0), a(l, null, p(f(m), (n) => (t(), a("a", {
68
- key: n.name,
69
- href: n.href,
66
+ return (r, e) => (t(), n("div", S, [
67
+ (t(!0), n(c, null, p(f(m), (a) => (t(), n("a", {
68
+ key: a.name,
69
+ href: a.href,
70
70
  target: "_blank",
71
71
  class: "i-big bg-second t-white flex-nowrap flex-center flex radius-extra"
72
72
  }, [
73
- (t(), b(d(s(n.name)), { class: "i-medium" }))
74
- ], 8, S))), 128))
73
+ (t(), b(d(s(a.name)), { class: "i-medium" }))
74
+ ], 8, x))), 128))
75
75
  ]));
76
76
  }
77
77
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),c=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),p=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-6a9ce43d"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please the available delivery options:",-1)),T={class:"mn-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-small p-medium"},"Or choose on map:",-1)),$={class:"flex-nowrap flex pd-thin"},j={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await p.actions.read(d.params.department),e.ref(p.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function _(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function b(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(c.default,{submit:h,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",$,[e.createVNode(c.default,{submit:b,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},F=V.default(j,[["__scopeId","data-v-6a9ce43d"]]);exports.default=F;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),c=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),p=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-6a9ce43d"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please the available delivery options:",-1)),T={class:"mn-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-small p-medium"},"Or choose on map:",-1)),$={class:"flex-nowrap flex pd-thin"},j={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await p.actions.read(d.params.department),e.ref(p.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function _(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function b(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(c.default,{submit:h,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",$,[e.createVNode(c.default,{submit:b,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},F=V.default(j,[["__scopeId","data-v-6a9ce43d"]]);exports.default=F;
@@ -5,14 +5,14 @@ import z from "../../../../components/Breadcrumbs/Breadcrumbs.vue2.js";
5
5
  import N from "../../../../components/UploadImage/UploadImage.vue.js";
6
6
  import "../../../../components/Tab/Tab.vue.js";
7
7
  import _ from "../../../../components/Field/Field.vue2.js";
8
- import "../../../../components/Select/Select.vue2.js";
8
+ import "../../../../components/Select/Select.vue.js";
9
9
  import U from "../../../../../../_virtual/_plugin-vue_export-helper.js";
10
10
  import d from "../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import A from "../../../../components/Address/Address.vue.js";
12
12
  import I from "../../../../components/LocationMarker/LocationMarker.vue.js";
13
13
  import b from "../../../../components/Button/Button.vue2.js";
14
14
  import "vue-i18n";
15
- import "../../../../components/Popup/Popup.vue2.js";
15
+ import "../../../../components/Popup/Popup.vue.js";
16
16
  import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
17
17
  import "../blocks/EditArray.vue2.js";
18
18
  import "../blocks/DepartmentSub.vue2.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),v=require("../sections/MembersAdd.vue.cjs"),_=require("../sections/MembersList.vue.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");const p=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),f=require("../../../auth/store/auth.cjs"),a=require("../../store/invites.cjs"),s=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs"),b=e.createElementVNode("section",{class:"mn-medium radius-medium pd-semi bg-white"},[e.createElementVNode("h2",{class:"mn-regular"},"Участники"),e.createElementVNode("p",{class:"t-transp p-big"},"Добавляйте новых участников организации и настраивайте права доступа.")],-1),h=e.createElementVNode("span",null,"Departments",-1),q={__name:"Members",setup(g){const i=m.useRoute(),n=e.ref(null);e.onMounted(async()=>{n.value=(await o.actions.read({_id:i.params._id,user:f.state.user._id}))[0],await s.actions.read(i.params._id),await a.actions.read(n.value._id)});async function u(t){await a.actions.create(n.value._id,t)}async function c(t){await s.actions.delete(t._id)}async function d(t){await a.actions.delete(t._id)}return(t,r)=>{const l=e.resolveComponent("IconEvents");return e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[b,e.createVNode(p.default,{onClick:r[0]||(r[0]=w=>t.router.push({name:"User Events",params:{_id:e.unref(i).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l,{class:"i-semi",icon:!0}),h]),_:1}),e.createVNode(v.default,{organization:n.value,onSendInvite:u},null,8,["organization"]),e.createVNode(_.default,{organization:o,memberships:t.memberships,invites:a.state.invites,onRemoveInvite:d,onRemoveMember:c},null,8,["memberships","invites"])])]),_:1})}}};exports.default=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),v=require("../sections/MembersAdd.vue.cjs"),_=require("../sections/MembersList.vue.cjs");require("../../../mobile/components/Menu/Menu.vue2.cjs");const p=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),f=require("../../../auth/store/auth.cjs"),a=require("../../store/invites.cjs"),s=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs"),b=e.createElementVNode("section",{class:"mn-medium radius-medium pd-semi bg-white"},[e.createElementVNode("h2",{class:"mn-regular"},"Участники"),e.createElementVNode("p",{class:"t-transp p-big"},"Добавляйте новых участников организации и настраивайте права доступа.")],-1),h=e.createElementVNode("span",null,"Departments",-1),q={__name:"Members",setup(g){const i=m.useRoute(),n=e.ref(null);e.onMounted(async()=>{n.value=(await o.actions.read({_id:i.params._id,user:f.state.user._id}))[0],await s.actions.read(i.params._id),await a.actions.read(n.value._id)});async function u(t){await a.actions.create(n.value._id,t)}async function c(t){await s.actions.delete(t._id)}async function d(t){await a.actions.delete(t._id)}return(t,r)=>{const l=e.resolveComponent("IconEvents");return e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[b,e.createVNode(p.default,{onClick:r[0]||(r[0]=w=>t.router.push({name:"User Events",params:{_id:e.unref(i).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l,{class:"i-semi",icon:!0}),h]),_:1}),e.createVNode(v.default,{organization:n.value,onSendInvite:u},null,8,["organization"]),e.createVNode(_.default,{organization:o,memberships:t.memberships,invites:a.state.invites,onRemoveInvite:d,onRemoveMember:c},null,8,["memberships","invites"])])]),_:1})}}};exports.default=q;
@@ -2,7 +2,7 @@ import { ref as l, onMounted as _, resolveComponent as f, openBlock as v, create
2
2
  import { useRoute as w } from "vue-router";
3
3
  import $ from "../sections/MembersAdd.vue.js";
4
4
  import I from "../sections/MembersList.vue.js";
5
- import "../../../mobile/components/Menu/Menu.vue.js";
5
+ import "../../../mobile/components/Menu/Menu.vue2.js";
6
6
  import z from "../../../mobile/components/Menu/MenuItem.vue.js";
7
7
  import { state as y } from "../../../auth/store/auth.js";
8
8
  import { actions as o, state as E } from "../../store/invites.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),f=require("../../../spots/components/sections/Feed.vue.cjs"),v=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const n=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const c=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const g={key:0,class:"pd-thin for-transition w-100"},y=e.createElementVNode("p",null,"34 members",-1),h=[y],k={class:"pos-relative"},N={key:0},V={__name:"Organization",setup(w){const i=d.useRouter(),r=d.useRoute();let m=r.query.tab?r.query.tab:"events";const s=e.ref(null);e.onMounted(async()=>{s.value=await o.actions.read({_id:r.params._id,user:n.state.user._id}),await c.actions.read(r.params._id)});const t=e.ref(m);return r.query.tab=t.value,e.watch(t,u=>{i.replace({query:{...r.query,tab:u}})}),(u,a)=>s.value?(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(v.default,{organization:o.state.current,user:n.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createElementVNode("section",{onClick:a[0]||(a[0]=l=>e.unref(i).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"mn-semi bg-grey radius-big pd-medium"},h),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=l=>t.value=l),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",k,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id,sortOrder:"asc"},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(f.default,{organization:o.state.current,memberships:c.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue2.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),f=require("../../../spots/components/sections/Feed.vue.cjs"),v=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const n=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const c=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const g={key:0,class:"pd-thin for-transition w-100"},y=e.createElementVNode("p",null,"34 members",-1),h=[y],k={class:"pos-relative"},N={key:0},V={__name:"Organization",setup(w){const i=d.useRouter(),r=d.useRoute();let m=r.query.tab?r.query.tab:"events";const s=e.ref(null);e.onMounted(async()=>{s.value=await o.actions.read({_id:r.params._id,user:n.state.user._id}),await c.actions.read(r.params._id)});const t=e.ref(m);return r.query.tab=t.value,e.watch(t,u=>{i.replace({query:{...r.query,tab:u}})}),(u,a)=>s.value?(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(v.default,{organization:o.state.current,user:n.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createElementVNode("section",{onClick:a[0]||(a[0]=l=>e.unref(i).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"mn-semi bg-grey radius-big pd-medium"},h),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=l=>t.value=l),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",k,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id,sortOrder:"asc"},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(f.default,{organization:o.state.current,memberships:c.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=V;
@@ -4,7 +4,7 @@ import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
5
5
  import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import w from "../../../../components/Tab/Tab.vue2.js";
7
- import "../../../mobile/components/Menu/Menu.vue.js";
7
+ import "../../../mobile/components/Menu/Menu.vue2.js";
8
8
  import "../../../mobile/components/Menu/MenuItem.vue.js";
9
9
  import q from "../../../events/components/sections/Feed.vue.js";
10
10
  import C from "../../../community/components/sections/Feed.vue.js";
@@ -19,7 +19,7 @@ import "../blocks/CardDepartment.vue2.js";
19
19
  import "../../store/departments.js";
20
20
  import { state as u } from "../../../auth/store/auth.js";
21
21
  import "../../../../components/Field/Field.vue.js";
22
- import "../../../../components/Select/Select.vue2.js";
22
+ import "../../../../components/Select/Select.vue.js";
23
23
  import "../../../../components/Button/Button.vue.js";
24
24
  import "../../../middlewares/client/inputs.validation.js";
25
25
  import "../../store/invites.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");const b=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-small"},"Profile",-1),q={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,b.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(h.default,{submit:c,callback:m,class:"mn-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue.cjs");const b=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-small"},"Profile",-1),q={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,b.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(h.default,{submit:c,callback:m,class:"mn-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
@@ -6,11 +6,11 @@ import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import v from "../../../../components/FieldTags/BlockTags.vue.js";
7
7
  import "../../../../components/Tab/Tab.vue.js";
8
8
  import i from "../../../../components/Field/Field.vue2.js";
9
- import "../../../../components/Select/Select.vue2.js";
9
+ import "../../../../components/Select/Select.vue.js";
10
10
  import U from "../../../../components/SelectMulti/SelectMulti.vue.js";
11
11
  import k from "../../../../components/UploadImage/UploadImage.vue.js";
12
12
  import T from "../../../../components/Button/Button.vue2.js";
13
- import "../../../../components/Popup/Popup.vue2.js";
13
+ import "../../../../components/Popup/Popup.vue.js";
14
14
  import { state as z } from "../../../auth/store/auth.js";
15
15
  import { actions as s, state as e } from "../../store/organizations.js";
16
16
  import "../../store/memberships.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const f=o=>(e.pushScopeId("data-v-20739d92"),o=o(),e.popScopeId(),o),h={class:"documents"},v=f(()=>e.createElementVNode("h3",{class:"mn-small"},"Список документов",-1)),k={class:"mn-big cols-4"},y=["onClick"],E={class:"mn-small"},B={class:"t-semi t-transp radius-small"},b={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,q)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",h,[v,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:x=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",E,e.toDisplayString(t.name),1),e.createElementVNode("p",B,e.toDisplayString(t.status),1)],8,y))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(b,[["__scopeId","data-v-20739d92"]]);exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const f=o=>(e.pushScopeId("data-v-20739d92"),o=o(),e.popScopeId(),o),h={class:"documents"},v=f(()=>e.createElementVNode("h3",{class:"mn-small"},"Список документов",-1)),k={class:"mn-big cols-4"},y=["onClick"],E={class:"mn-small"},B={class:"t-semi t-transp radius-small"},b={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,q)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",h,[v,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:x=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",E,e.toDisplayString(t.name),1),e.createElementVNode("p",B,e.toDisplayString(t.status),1)],8,y))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(b,[["__scopeId","data-v-20739d92"]]);exports.default=g;
@@ -3,7 +3,7 @@ import { useRouter as I, useRoute as g } from "vue-router";
3
3
  import D from "../../../../components/Field/Field.vue2.js";
4
4
  import "vue-i18n";
5
5
  import S from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- import "../../../../components/Popup/Popup.vue2.js";
6
+ import "../../../../components/Popup/Popup.vue.js";
7
7
  import "../../../../components/Button/Button.vue.js";
8
8
  import "./Documents.vue2.js";
9
9
  const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "documents" }, F = /* @__PURE__ */ E(() => /* @__PURE__ */ o("h3", { class: "mn-small" }, "Список документов", -1)), N = { class: "mn-big cols-4" }, O = ["onClick"], R = { class: "mn-small" }, U = { class: "t-semi t-transp radius-small" }, V = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("../../../../components/Field/Field.vue2.cjs"),v=require("../../../../components/Select/Select.vue.cjs"),f=require("../../../../components/Button/Button.vue2.cjs");require("../../../middlewares/client/inputs.validation.cjs");const c=require("../../store/invites.cjs"),h={class:"mn-medium radius-medium pd-semi bg-white"},b=e.createElementVNode("h3",{class:"mn-medium"},"Добавить участников",-1),k=e.createElementVNode("p",{class:"mn-small t-transp p-medium"},"Укажите email или телефон, чтобы отправить ссылку с приглашением:",-1),E={class:"w-100 flex-nowrap flex"},V={key:0,class:"mn-r-medium flex-v-center flex"},N=["onClick"],g=e.createElementVNode("p",{class:"t-blue mn-r-small"},"+ Добавить приглашение",-1),w=[g],B=e.createElementVNode("span",null,"Отправить приглашения ",-1),x={__name:"MembersAdd",props:{organization:Object},emits:["send-invite"],setup(s,{emit:q}){const i=s,r=e.ref(null),t=e.ref([{contact:"",role:""}]);function d(){t.value.push({contact:"",role:""})}function m(n){t.value.splice(n,1)}async function u(n){await c.actions.create(i.organization._id,t.value)}function p(){}return(n,y)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("section",h,[b,k,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(l,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"br-1px br-solid br-grey flex radius-small mn-thin"},[e.createElementVNode("div",E,[e.createVNode(_.default,{field:l.contact,"onUpdate:field":a=>l.contact=a,placeholder:"Email или телефон",class:"w-100 bg-white",validation:r.value},null,8,["field","onUpdate:field","validation"]),o>0?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("button",{onClick:a=>m(o),class:"button-small button"},"×",8,N)])):e.createCommentVNode("",!0)]),e.createVNode(v.default,{options:[{name:"Директор",value:"director"},{name:"Менеджер",value:"manager"},{name:"Сотрудник",value:"member"}],prop:l,content:"role",placeholder:"Роль",size:"small",class:"w-80"},null,8,["prop"])]))),128)),e.createElementVNode("div",{onClick:d,class:"mn-small flex-v-center flex-nowrap flex"},w),e.createVNode(f.default,{submit:n.a=()=>u(c.state.invites),callback:p,class:"mn-t-medium"},{default:e.withCtx(()=>[B]),_:1},8,["submit"])])]))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("../../../../components/Field/Field.vue2.cjs"),v=require("../../../../components/Select/Select.vue2.cjs"),f=require("../../../../components/Button/Button.vue2.cjs");require("../../../middlewares/client/inputs.validation.cjs");const c=require("../../store/invites.cjs"),h={class:"mn-medium radius-medium pd-semi bg-white"},b=e.createElementVNode("h3",{class:"mn-medium"},"Добавить участников",-1),k=e.createElementVNode("p",{class:"mn-small t-transp p-medium"},"Укажите email или телефон, чтобы отправить ссылку с приглашением:",-1),E={class:"w-100 flex-nowrap flex"},V={key:0,class:"mn-r-medium flex-v-center flex"},N=["onClick"],g=e.createElementVNode("p",{class:"t-blue mn-r-small"},"+ Добавить приглашение",-1),w=[g],B=e.createElementVNode("span",null,"Отправить приглашения ",-1),x={__name:"MembersAdd",props:{organization:Object},emits:["send-invite"],setup(s,{emit:q}){const i=s,r=e.ref(null),t=e.ref([{contact:"",role:""}]);function d(){t.value.push({contact:"",role:""})}function m(n){t.value.splice(n,1)}async function u(n){await c.actions.create(i.organization._id,t.value)}function p(){}return(n,y)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("section",h,[b,k,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(l,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"br-1px br-solid br-grey flex radius-small mn-thin"},[e.createElementVNode("div",E,[e.createVNode(_.default,{field:l.contact,"onUpdate:field":a=>l.contact=a,placeholder:"Email или телефон",class:"w-100 bg-white",validation:r.value},null,8,["field","onUpdate:field","validation"]),o>0?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("button",{onClick:a=>m(o),class:"button-small button"},"×",8,N)])):e.createCommentVNode("",!0)]),e.createVNode(v.default,{options:[{name:"Директор",value:"director"},{name:"Менеджер",value:"manager"},{name:"Сотрудник",value:"member"}],prop:l,content:"role",placeholder:"Роль",size:"small",class:"w-80"},null,8,["prop"])]))),128)),e.createElementVNode("div",{onClick:d,class:"mn-small flex-v-center flex-nowrap flex"},w),e.createVNode(f.default,{submit:n.a=()=>u(c.state.invites),callback:p,class:"mn-t-medium"},{default:e.withCtx(()=>[B]),_:1},8,["submit"])])]))}};exports.default=x;
@@ -1,6 +1,6 @@
1
1
  import { ref as m, openBlock as l, createElementBlock as o, createElementVNode as e, Fragment as h, renderList as b, createVNode as i, createCommentVNode as w, withCtx as x } from "vue";
2
2
  import g from "../../../../components/Field/Field.vue2.js";
3
- import k from "../../../../components/Select/Select.vue.js";
3
+ import k from "../../../../components/Select/Select.vue2.js";
4
4
  import C from "../../../../components/Button/Button.vue2.js";
5
5
  import "../../../middlewares/client/inputs.validation.js";
6
6
  import { state as y, actions as V } from "../../store/invites.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const p=require("../../../auth/store/auth.cjs");require("../../store/memberships.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../reports/store/reports.cjs");const y=require("../../store/organizations.cjs"),m=require("../blocks/EmptyState.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const b=require("../blocks/CardOrganization.vue.cjs");require("./Unit.vue.cjs");require("./Organizations.vue2.cjs");const g={class:"for-transition bg-white radius-big w-100"},k={class:""},_={key:1,class:"cols-1"},h={__name:"Organizations",props:{owner:{type:String,default:null},user:{type:[String,Number],default:null},onlyuser:{type:[String,Number],default:null}},async setup(c){let t,u;const o=c,a=e.ref(null);a.value=([t,u]=e.withAsyncContext(()=>y.actions.read({owner:o.owner,user:o.user,onlyuser:o.onlyuser})),t=await t,u(),t);const d=s.useRouter(),n=s.useRoute();let q=n.query.tab?n.query.tab:"details";const i=e.ref(q);return n.query.tab=i.value,e.watch(i,r=>{d.replace({query:{...n.query,tab:r}})}),(r,v)=>(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",k,[a.value<1?(e.openBlock(),e.createBlock(m.default,{key:0,title:"You Haven't Joined Any Organization Yet",description:"Weeder is all about community. Join an organization or maybe you want to create your own?",action:"Create organization",callback:r.a=()=>r.$router.push("/app/organization/create/details")},null,8,["callback"])):(e.openBlock(),e.createElementBlock("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,l=>(e.openBlock(),e.createBlock(b.default,{key:l._id,organization:l,user:p.state.user,onUpdateMembership:r.handleMembershipUpdate,class:e.normalizeClass(["w-100",{"mn-r-small":r.index!==a.value.length-1}])},null,8,["organization","user","onUpdateMembership","class"]))),128))]))])]))}};exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const p=require("../../../auth/store/auth.cjs");require("../../store/memberships.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue.cjs");require("../../../reports/store/reports.cjs");const y=require("../../store/organizations.cjs"),m=require("../blocks/EmptyState.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const b=require("../blocks/CardOrganization.vue.cjs");require("./Unit.vue.cjs");require("./Organizations.vue2.cjs");const g={class:"for-transition bg-white radius-big w-100"},k={class:""},_={key:1,class:"cols-1"},h={__name:"Organizations",props:{owner:{type:String,default:null},user:{type:[String,Number],default:null},onlyuser:{type:[String,Number],default:null}},async setup(c){let t,u;const o=c,a=e.ref(null);a.value=([t,u]=e.withAsyncContext(()=>y.actions.read({owner:o.owner,user:o.user,onlyuser:o.onlyuser})),t=await t,u(),t);const d=s.useRouter(),n=s.useRoute();let q=n.query.tab?n.query.tab:"details";const i=e.ref(q);return n.query.tab=i.value,e.watch(i,r=>{d.replace({query:{...n.query,tab:r}})}),(r,v)=>(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",k,[a.value<1?(e.openBlock(),e.createBlock(m.default,{key:0,title:"You Haven't Joined Any Organization Yet",description:"Weeder is all about community. Join an organization or maybe you want to create your own?",action:"Create organization",callback:r.a=()=>r.$router.push("/app/organization/create/details")},null,8,["callback"])):(e.openBlock(),e.createElementBlock("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,l=>(e.openBlock(),e.createBlock(b.default,{key:l._id,organization:l,user:p.state.user,onUpdateMembership:r.handleMembershipUpdate,class:e.normalizeClass(["w-100",{"mn-r-small":r.index!==a.value.length-1}])},null,8,["organization","user","onUpdateMembership","class"]))),128))]))])]))}};exports.default=h;