@ozdao/prometheus-framework 0.2.48 → 0.2.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. package/dist/auth.server.js +27 -25
  2. package/dist/auth.server.mjs +27 -25
  3. package/dist/community.server.js +1 -1
  4. package/dist/community.server.mjs +1 -1
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/files.server.js +1 -1
  8. package/dist/files.server.mjs +1 -1
  9. package/dist/gallery.server.js +1 -1
  10. package/dist/gallery.server.mjs +1 -1
  11. package/dist/index-3981e903.mjs +217 -0
  12. package/dist/index-4eecfdb9.js +216 -0
  13. package/dist/main-203b36b6.mjs +13628 -0
  14. package/dist/main-_b1_i8mt.mjs +13606 -0
  15. package/dist/main-a7ae4ce5.js +91 -0
  16. package/dist/main-uiQFxEks.js +91 -0
  17. package/dist/main.css +1 -1
  18. package/dist/middlewares.server.js +1 -1
  19. package/dist/middlewares.server.mjs +1 -1
  20. package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
  21. package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
  22. package/dist/organizations.server.js +35 -43
  23. package/dist/organizations.server.mjs +35 -43
  24. package/dist/products.server.js +107 -24
  25. package/dist/products.server.mjs +107 -24
  26. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
  28. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -2
  30. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
  32. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  33. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
  34. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
  36. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  37. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +76 -2
  38. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  40. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
  42. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
  44. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  45. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  46. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  48. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  52. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +44 -32
  54. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  56. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  58. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  60. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/auth/store/auth.js +45 -44
  62. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
  64. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  68. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  70. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  74. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  78. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  80. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
  84. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  86. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  88. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  90. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +17 -17
  98. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +49 -42
  100. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +48 -15
  102. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +38 -37
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +249 -61
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +78 -45
  110. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +160 -86
  112. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  114. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +20 -26
  122. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
  124. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -30
  126. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
  128. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +18 -18
  130. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  136. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +33 -28
  140. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +123 -113
  142. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  148. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  150. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  154. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  156. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  158. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  160. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  162. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  164. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +1 -1
  166. package/dist/prometheus-framework.cjs.js +1 -1
  167. package/dist/prometheus-framework.es.js +1 -1
  168. package/dist/reports.server.js +1 -1
  169. package/dist/reports.server.mjs +1 -1
  170. package/dist/style.css +1 -1
  171. package/dist/web-7p76PGnO.mjs +55 -0
  172. package/dist/web-c63f0ecc.js +1 -0
  173. package/dist/web-d8173758.mjs +55 -0
  174. package/dist/web-dn8vgptQ.js +1 -0
  175. package/package.json +1 -1
  176. package/src/components/SelectMulti/SelectMulti.vue +1 -1
  177. package/src/modules/auth/components/pages/Invite.vue +17 -6
  178. package/src/modules/auth/controllers/auth.controller.js +24 -16
  179. package/src/modules/auth/controllers/invites.controller.js +17 -8
  180. package/src/modules/auth/store/auth.js +8 -1
  181. package/src/modules/auth/store/invites.js +1 -0
  182. package/src/modules/globals/store/globals.js +5 -1
  183. package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
  184. package/src/modules/landing/components/pages/404.vue +3 -0
  185. package/src/modules/landing/components/pages/Governance.vue +155 -0
  186. package/src/modules/landing/components/pages/Home.vue +52 -0
  187. package/src/modules/landing/components/pages/Hotel.vue +54 -0
  188. package/src/modules/landing/components/pages/Page.vue +184 -0
  189. package/src/modules/landing/components/sections/AboutSection.vue +69 -0
  190. package/src/modules/landing/components/sections/Examples.vue +90 -0
  191. package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
  192. package/src/modules/landing/components/sections/GiftSection.vue +63 -0
  193. package/src/modules/landing/components/sections/HeroSection.vue +74 -0
  194. package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
  195. package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
  196. package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
  197. package/src/modules/landing/components/sections/MapSection.vue +91 -0
  198. package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
  199. package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
  200. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
  201. package/src/modules/landing/router/landing.js +34 -0
  202. package/src/modules/middlewares/server/verifySignUp.js +4 -0
  203. package/src/modules/mobile/components/BottomNavigation/BottomNavigation.vue +86 -0
  204. package/src/modules/mobile/components/BottomSheet/BottomSheet.vue +86 -0
  205. package/src/modules/mobile/components/NavigationBar/NavigationBar.vue +132 -0
  206. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +195 -0
  207. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  208. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
  209. package/src/modules/organizations/components/blocks/User.vue +42 -10
  210. package/src/modules/organizations/components/pages/Department.vue +7 -6
  211. package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
  212. package/src/modules/organizations/components/pages/Members.vue +85 -26
  213. package/src/modules/organizations/components/pages/Organization.vue +59 -4
  214. package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
  215. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  216. package/src/modules/organizations/controllers/memberships.controller.js +33 -26
  217. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  218. package/src/modules/organizations/models/department.model.js +0 -19
  219. package/src/modules/organizations/models/membership.model.js +4 -0
  220. package/src/modules/organizations/organizations.client.js +1 -6
  221. package/src/modules/organizations/store/departments.js +48 -44
  222. package/src/modules/organizations/store/memberships.js +11 -3
  223. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  224. package/src/modules/products/components/pages/Product.vue +6 -1
  225. package/src/modules/products/components/pages/ProductEdit.vue +48 -28
  226. package/src/modules/products/controllers/products.controller.js +99 -33
  227. package/src/modules/products/models/product.model.js +16 -1
  228. package/src/modules/products/store/products.js +1 -1
  229. package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
  230. package/src/styles/layout.scss +1 -1
  231. package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
  232. package/src/modules/organizations/components/sections/MembersList.vue +0 -85
  233. package/src/modules/organizations/store/invites.js +0 -93
@@ -1,28 +1,61 @@
1
- import { openBlock as r, createElementBlock as o, createElementVNode as t, toDisplayString as s } from "vue";
1
+ import { openBlock as i, createElementBlock as n, withModifiers as p, createCommentVNode as a, createTextVNode as h, toDisplayString as o, createBlock as f, createElementVNode as r, pushScopeId as b, popScopeId as v } from "vue";
2
+ import k from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
2
3
  import "./User.vue2.js";
3
- import c from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = { class: "pd-small flex-nowrap flex" }, n = { class: "user-card__info" }, i = { class: "user-card__name" }, _ = { class: "t-transp" }, p = {
4
+ import y from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const U = (e) => (b("data-v-58f07aab"), e = e(), v(), e), E = { class: "" }, I = ["src"], S = { class: "mn-r-auto" }, $ = { class: "mn-r-small" }, g = { class: "t-transp" }, C = /* @__PURE__ */ U(() => /* @__PURE__ */ r("br", null, null, -1)), V = { class: "mn-r-auto t-transp" }, B = {
6
+ key: 2,
7
+ class: "mn-l-medium flex-v-center flex"
8
+ }, M = {
5
9
  __name: "User",
6
10
  props: {
7
11
  user: {
8
12
  type: Object,
9
13
  required: !0
10
- },
11
- position: {
12
- type: String,
13
- required: !0
14
14
  }
15
15
  // Define other props here
16
16
  },
17
17
  setup(e) {
18
- return (d, l) => (r(), o("div", a, [
19
- t("div", n, [
20
- t("p", i, s(e.user.name ? e.user.name : "Безымянный"), 1),
21
- t("p", _, s(e.position), 1)
22
- ])
23
- ]));
18
+ return (t, s) => {
19
+ var l, u, m, d;
20
+ return i(), n("div", E, [
21
+ ((l = e.user.profile) == null ? void 0 : l.photo.length) > 0 && t.type !== "short" ? (i(), n("img", {
22
+ key: 0,
23
+ src: (t.FILE_SERVER_URL || "") + t.member.profile.photo,
24
+ class: "radius-medium object-fit-cover mn-r-thin i-thin",
25
+ onClick: s[0] || (s[0] = p((c) => t.$router.push({
26
+ name: e.user.type === "user" ? "User Profile" : "Organization",
27
+ params: {
28
+ _id: e.user._id
29
+ }
30
+ }), ["stop"]))
31
+ }, null, 8, I)) : a("", !0),
32
+ h(" " + o(e.user) + "123 ", 1),
33
+ !((u = e.user.profile) != null && u.photo) && t.type !== "short" ? (i(), f(k, {
34
+ key: 1,
35
+ class: "radius-medium mn-r-thin i-thin",
36
+ onClick: s[1] || (s[1] = p((c) => t.$router.push({
37
+ name: "User Profile",
38
+ params: {
39
+ _id: e.user._id
40
+ }
41
+ }), ["stop"]))
42
+ })) : a("", !0),
43
+ r("div", S, [
44
+ r("span", $, o((m = e.user.profile) == null ? void 0 : m.email) + " " + o((d = e.user.profile) == null ? void 0 : d.phone), 1),
45
+ r("span", g, o(e.user.role), 1),
46
+ C,
47
+ r("span", V, "Member since (date) " + o(e.user.createdAt), 1)
48
+ ]),
49
+ e.user.position !== "Основатель" ? (i(), n("div", B, [
50
+ r("button", {
51
+ onClick: s[2] || (s[2] = (c) => t.removeMember(e.user)),
52
+ class: "button-small button"
53
+ }, "×")
54
+ ])) : a("", !0)
55
+ ]);
56
+ };
24
57
  }
25
- }, h = /* @__PURE__ */ c(p, [["__scopeId", "data-v-a27accf5"]]);
58
+ }, w = /* @__PURE__ */ y(M, [["__scopeId", "data-v-58f07aab"]]);
26
59
  export {
27
- h as default
60
+ w as default
28
61
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),m=require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");const i=require("../../store/memberships.cjs"),g={__name:"ButtonToggleMembership",props:{user:{type:String,required:!0},type:{type:String,required:!0},role:{type:String,required:!1},target:{type:String,required:!0},text:{type:Object,default:{create:"join",remove:"leave"}},status:{type:Boolean,required:!0}},emits:["updateMembership"],setup(o,{emit:n}){const u=n,e=o,c=async()=>{e.status?await l():await p()};async function p(){try{const t={user:e.user,type:e.type,role:e.role,target:e.target},s=await i.actions.create(t);u("updateMembership",{membership:s,target:e.target,status:!0})}catch(t){throw console.log(t),t}}async function l(t){const s={user:e.user,type:e.type,role:e.role,target:e.target};try{const a=await i.actions.delete(s);u("updateMembership",{membership:a,target:e.target,status:!1})}catch(a){throw console.log(a),a}}return(t,s)=>(r.openBlock(),r.createBlock(m.default,{submit:c,showSucces:!1,class:"bg-main button-small button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(o.status?e.text.remove:e.text.create),1)]),_:1}))}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");const i=require("../../store/memberships.cjs"),g={__name:"ButtonToggleMembership",props:{user:{type:String,required:!0},type:{type:String,required:!0},role:{type:String,required:!1},target:{type:String,required:!0},text:{type:Object,default:{create:"join",remove:"leave"}},status:{type:Boolean,required:!0}},emits:["updateMembership"],setup(o,{emit:n}){const u=n,e=o,c=async()=>{e.status?await l():await p()};async function p(){try{const t={user:e.user,type:e.type,role:e.role,target:e.target},s=await i.actions.create(t);u("updateMembership",{membership:s,target:e.target,status:!0})}catch(t){throw console.log(t),t}}async function l(t){const s={user:e.user,type:e.type,role:e.role,target:e.target};try{const a=await i.actions.delete(s);u("updateMembership",{membership:a,target:e.target,status:!1})}catch(a){throw console.log(a),a}}return(t,s)=>(r.openBlock(),r.createBlock(m.default,{submit:c,showSucces:!1,class:"bg-main button-small button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(o.status?e.text.remove:e.text.create),1)]),_:1}))}};exports.default=g;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as m, createBlock as l, withCtx as g, createTextVNode as h, toDisplayString as y } from "vue";
2
- import b from "../../../../components/Button/Button.vue.js";
2
+ import b from "../../../../components/Button/Button.vue2.js";
3
3
  import "../../../auth/store/auth.js";
4
4
  import { actions as i } from "../../store/memberships.js";
5
5
  const M = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../../spots/store/spots.cjs"),p={class:"for-transition w-100"},_={id:"dash",class:"pd-medium bg-grey"},h={class:"mn-b-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-b-small"},b={class:"w-100"},g=e.createElementVNode("path",{d:"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",fill:"rgb(var(--black))"},null,-1),L=[g],E=["innerHTML"],B={class:"mn-b-medium radius-medium pd-semi bg-white"},C=e.createElementVNode("h3",{class:"mn-b-regular"},"Команда",-1),v={key:0},w={class:"mn-b-medium radius-medium pd-semi bg-white"},N=e.createElementVNode("h3",{class:"mn-b-regular"},"Подотделы",-1),V={key:0},f={__name:"Department",async setup(y){let o,l;i.useRouter();const c=i.useRoute();return[o,l]=e.withAsyncContext(()=>t.actions.readOne(c.params._id)),await o,l(),(s,a)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",_,[e.createElementVNode("section",h,[e.createElementVNode("div",k,[e.createElementVNode("h2",b,e.toDisplayString(t.state.department.name),1),(e.openBlock(),e.createElementBlock("svg",{onClick:a[0]||(a[0]=n=>s.$router.push(`/app/organization/departments/${t.state.department._id}/edit`)),class:"i-regular t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L))]),e.createElementVNode("p",{class:"t-transp p-big",innerHTML:t.state.department.description},null,8,E)]),e.createElementVNode("section",B,[C,e.createElementVNode("ul",null,[t.state.department.members.length<1?(e.openBlock(),e.createElementBlock("li",v,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(n,r)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:r,user:n.user,position:n.position,onClick:d=>s.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),e.createElementVNode("section",w,[N,e.createElementVNode("ul",null,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",V,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(n,r)=>(e.openBlock(),e.createBlock(m.default,{onClick:d=>s.$router.push(`/app/organization/departments/${n._id}`),key:r,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])])])]))}};exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../store/departments.cjs"),p={class:"for-transition w-100"},_={key:0,id:"dash",class:"pd-medium bg-grey"},h={class:"mn-b-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-b-small"},b={class:"w-100"},g=e.createElementVNode("path",{d:"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",fill:"rgb(var(--black))"},null,-1),L=[g],B=["innerHTML"],E={class:"mn-b-medium radius-medium pd-semi bg-white"},C=e.createElementVNode("h3",{class:"mn-b-regular"},"Команда",-1),f={key:0},v={class:"mn-b-medium radius-medium pd-semi bg-white"},w=e.createElementVNode("h3",{class:"mn-b-regular"},"Подотделы",-1),N={key:0},V={__name:"Department",async setup(y){let a,l;c.useRouter();const r=c.useRoute();return[a,l]=e.withAsyncContext(()=>t.actions.readOne(r.params.department)),await a,l(),(s,i)=>(e.openBlock(),e.createElementBlock("div",p,[t.state.department?(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("section",h,[e.createElementVNode("div",k,[e.createElementVNode("h2",b,e.toDisplayString(t.state.department.profile.name),1),(e.openBlock(),e.createElementBlock("svg",{onClick:i[0]||(i[0]=n=>s.$router.push(`/organizations/${e.unref(r).params._id}/departments/${e.unref(r).params.department}/edit`)),class:"i-regular t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L))]),e.createElementVNode("p",{class:"t-transp p-big",innerHTML:t.state.department.description},null,8,B)]),e.createElementVNode("section",E,[C,e.createElementVNode("ul",null,[t.state.department.members.length<1?(e.openBlock(),e.createElementBlock("li",f,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(n,o)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:o,user:n,position:n.position,onClick:d=>s.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),e.createElementVNode("section",v,[w,e.createElementVNode("ul",null,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",N,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(n,o)=>(e.openBlock(),e.createBlock(m.default,{onClick:d=>s.$router.push(`/app/organization/departments/${n._id}`),key:o,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])])])):e.createCommentVNode("",!0)]))}};exports.default=V;
@@ -1,72 +1,73 @@
1
- import { withAsyncContext as b, openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as g, createCommentVNode as m, Fragment as p, renderList as u, createBlock as c } from "vue";
2
- import { useRouter as L, useRoute as C } from "vue-router";
1
+ import { withAsyncContext as g, openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as L, unref as u, createCommentVNode as l, Fragment as c, renderList as _, createBlock as h } from "vue";
2
+ import { useRouter as f, useRoute as C } from "vue-router";
3
3
  import "../../../../components/Spoiler/Spoiler.vue.js";
4
- import w from "../blocks/DepartmentSub.vue.js";
5
- import f from "../blocks/User.vue.js";
6
- import { actions as k, state as n } from "../../../spots/store/spots.js";
7
- const v = { class: "for-transition w-100" }, y = {
4
+ import k from "../blocks/DepartmentSub.vue.js";
5
+ import w from "../blocks/User.vue.js";
6
+ import { actions as y, state as n } from "../../store/departments.js";
7
+ const v = { class: "for-transition w-100" }, $ = {
8
+ key: 0,
8
9
  id: "dash",
9
10
  class: "pd-medium bg-grey"
10
- }, $ = { class: "mn-b-medium radius-medium pd-semi bg-white" }, M = { class: "flex-nowrap flex mn-b-small" }, x = { class: "w-100" }, B = /* @__PURE__ */ e("path", {
11
+ }, M = { class: "mn-b-medium radius-medium pd-semi bg-white" }, x = { class: "flex-nowrap flex mn-b-small" }, B = { class: "w-100" }, Z = /* @__PURE__ */ e("path", {
11
12
  d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
12
13
  fill: "rgb(var(--black))"
13
- }, null, -1), Z = [
14
- B
15
- ], D = ["innerHTML"], H = { class: "mn-b-medium radius-medium pd-semi bg-white" }, z = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Команда", -1), E = { key: 0 }, N = { class: "mn-b-medium radius-medium pd-semi bg-white" }, R = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Подотделы", -1), S = { key: 0 }, q = {
14
+ }, null, -1), D = [
15
+ Z
16
+ ], H = ["innerHTML"], z = { class: "mn-b-medium radius-medium pd-semi bg-white" }, E = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Команда", -1), N = { key: 0 }, R = { class: "mn-b-medium radius-medium pd-semi bg-white" }, S = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Подотделы", -1), T = { key: 0 }, G = {
16
17
  __name: "Department",
17
- async setup(T) {
18
- let a, l;
19
- L();
20
- const _ = C();
21
- return [a, l] = b(() => k.readOne(_.params._id)), await a, l(), (i, d) => (t(), r("div", v, [
22
- e("div", y, [
23
- e("section", $, [
24
- e("div", M, [
25
- e("h2", x, g(n.department.name), 1),
18
+ async setup(V) {
19
+ let m, d;
20
+ f();
21
+ const o = C();
22
+ return [m, d] = g(() => y.readOne(o.params.department)), await m, d(), (i, p) => (t(), r("div", v, [
23
+ n.department ? (t(), r("div", $, [
24
+ e("section", M, [
25
+ e("div", x, [
26
+ e("h2", B, L(n.department.profile.name), 1),
26
27
  (t(), r("svg", {
27
- onClick: d[0] || (d[0] = (s) => i.$router.push(`/app/organization/departments/${n.department._id}/edit`)),
28
+ onClick: p[0] || (p[0] = (s) => i.$router.push(`/organizations/${u(o).params._id}/departments/${u(o).params.department}/edit`)),
28
29
  class: "i-regular t-transp",
29
30
  width: "652",
30
31
  height: "652",
31
32
  viewBox: "0 0 652 652",
32
33
  fill: "none",
33
34
  xmlns: "http://www.w3.org/2000/svg"
34
- }, Z))
35
+ }, D))
35
36
  ]),
36
37
  e("p", {
37
38
  class: "t-transp p-big",
38
39
  innerHTML: n.department.description
39
- }, null, 8, D)
40
+ }, null, 8, H)
40
41
  ]),
41
- e("section", H, [
42
- z,
42
+ e("section", z, [
43
+ E,
43
44
  e("ul", null, [
44
- n.department.members.length < 1 ? (t(), r("li", E, "В отделе еще нет участников")) : m("", !0),
45
- (t(!0), r(p, null, u(n.department.members, (s, o) => (t(), c(f, {
45
+ n.department.members.length < 1 ? (t(), r("li", N, "В отделе еще нет участников")) : l("", !0),
46
+ (t(!0), r(c, null, _(n.department.members, (s, a) => (t(), h(w, {
46
47
  class: "br-b br-solid br-grey",
47
- key: o,
48
- user: s.user,
48
+ key: a,
49
+ user: s,
49
50
  position: s.position,
50
- onClick: (h) => i.$router.push(`/app/profile/${s.user._id}`)
51
+ onClick: (b) => i.$router.push(`/app/profile/${s.user._id}`)
51
52
  }, null, 8, ["user", "position", "onClick"]))), 128))
52
53
  ])
53
54
  ]),
54
- e("section", N, [
55
- R,
55
+ e("section", R, [
56
+ S,
56
57
  e("ul", null, [
57
- n.department.subdepartments.length < 1 ? (t(), r("li", S, "В отделе еще нет подотделов")) : m("", !0),
58
- (t(!0), r(p, null, u(n.department.subdepartments, (s, o) => (t(), c(w, {
59
- onClick: (h) => i.$router.push(`/app/organization/departments/${s._id}`),
60
- key: o,
58
+ n.department.subdepartments.length < 1 ? (t(), r("li", T, "В отделе еще нет подотделов")) : l("", !0),
59
+ (t(!0), r(c, null, _(n.department.subdepartments, (s, a) => (t(), h(k, {
60
+ onClick: (b) => i.$router.push(`/app/organization/departments/${s._id}`),
61
+ key: a,
61
62
  class: "br-b br-solid br-grey",
62
63
  department: s
63
64
  }, null, 8, ["onClick", "department"]))), 128))
64
65
  ])
65
66
  ])
66
- ])
67
+ ])) : l("", !0)
67
68
  ]));
68
69
  }
69
70
  };
70
71
  export {
71
- q as default
72
+ G as default
72
73
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router");require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");const p=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs");require("../../../../components/Tab/Tab.vue2.cjs");require("../../../../components/Field/Field.vue2.cjs");const m=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Checkbox/Checkbox.vue.cjs");require("../../../../components/Address/Address.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/LocationMarker/LocationMarker.vue.cjs");const s=require("../../../../components/Button/Button.vue.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 r=require("../../../spots/store/spots.cjs"),i=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const _={class:"for-transition w-100"},f={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},h={class:"flex-nowrap flex bg-grey pd-medium radius-big"},b={key:0,class:"mn-r-auto"},w={key:1,class:"mn-r-auto"},g={class:"flex-nowrap flex pd-thin"},k={class:"flex-nowrap flex pd-thin"},x={__name:"DepartmentEdit",setup(V){const n=a.useRouter(),t=a.useRoute();e.ref("details"),e.ref(!1);async function o(){t.params.department&&await i.actions.read(t.params.department),e.ref(i.state.memberships),await r.actions.read(t.params._id),t.params.department&&await r.actions.readOne(t.params.department)}o(),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function c(){t.params.department&&await r.actions.update(t.params._id,r.state.department),t.params.department||await r.actions.create(t.params._id,r.state.department)}function d(){n.replace({name:"Department",params:{_id:t.params._id,department:r.state.department._id}})}async function u(){await r.actions.delete(t.params._id,r.state.department)}return(l,N)=>(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",f,[e.createVNode(p.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",h,[e.unref(t).params.department?(e.openBlock(),e.createElementBlock("h1",b,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",w,"Create Spot")),e.createElementVNode("section",g,[e.createVNode(s.default,{submit:c,callback:d},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("section",k,[e.createVNode(s.default,{submit:u,callback:l.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},E=m.default(x,[["__scopeId","data-v-190683d5"]]);exports.default=E;
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/dist/js.cookie.cjs");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const P=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const g=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const C=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),o=require("../../../../components/Checkbox/Checkbox.vue.cjs");require("../../../../components/Address/Address.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/LocationMarker/LocationMarker.vue.cjs");const V=require("../../../../components/Button/Button.vue2.cjs"),k=require("../../../../components/Popup/Popup.vue2.cjs"),S=require("../../../../components/Block/Block.vue.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");const O=require("../blocks/DepartmentSub.vue.cjs"),w=require("../blocks/DepartmentMemberModify.vue.cjs"),M=require("../blocks/User.vue.cjs"),t=require("../../store/departments.cjs"),f=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const s=i=>(e.pushScopeId("data-v-e983b0b2"),i=i(),e.popScopeId(),i),T={class:"for-transition pd-thin w-100"},I={class:"mn-b-thin flex-nowrap flex bg-grey pd-medium radius-big"},U={key:0,class:"mn-r-auto"},z={key:1,class:"mn-r-auto"},F={class:"flex-nowrap flex pd-thin"},R={class:"mn-b-thin bg-grey pd-medium o-hidden radius-big"},$=s(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Profile",-1)),A={key:0,class:"radius-small flex-nowrap flex"},H={class:"w-100 flex-child-grow-1 flex-child"},L={class:"cols-2 gap-thin"},j={class:"bg-grey pd-medium o-hidden radius-big"},G=s(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Department Settings",-1)),J=s(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please settings for your department:",-1)),K={class:"cols-1 gap-thin"},Q=s(()=>e.createElementVNode("h4",null,"Products",-1)),W={class:"bg-grey pd-medium o-hidden radius-big"},X=s(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Acessess",-1)),Y=s(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please select organization accesses for user in department:",-1)),Z={class:"cols-1 gap-thin"},ee=s(()=>e.createElementVNode("h4",null,"Products",-1)),te=s(()=>e.createElementVNode("h4",null,"Orders",-1)),ae={key:0,class:"flex-nowrap flex pd-thin"},le={id:"dash",class:"pd-medium bg-white"},re={class:"mn-b-regular flex-v-center flex-nowrap flex"},se=s(()=>e.createElementVNode("h3",{class:"mn-r-small"},"Подотделы ",-1)),ne={class:"mn-b-small"},oe={key:0},de={__name:"DepartmentEdit",setup(i){const y=N.useRouter(),a=N.useRoute();e.ref("details"),e.ref(!1);async function E(){a.params.department&&await f.actions.read({target:a.params._id}),e.ref(f.state.memberships),await t.actions.read(a.params._id),a.params.department&&await t.actions.readOne(a.params.department)}E();const m=e.ref(!1),c=e.ref(null);function h(r){m.value=!0,typeof r=="number"&&(c.value=r)}function b(){m.value=!1,c.value=null}const p=e.ref(!1),u=e.ref(null);function _(r){p.value=!0,typeof r=="number"&&(u.value=r)}function v(){p.value=!1,u.value=null}async function D(){a.params.department&&await t.actions.update(a.params._id,t.state.department),a.params.department||await t.actions.create(a.params._id,t.state.department)}function q(){y.replace({name:"Department",params:{_id:a.params._id,department:t.state.department._id}})}async function B(){await t.actions.delete(a.params._id,t.state.department)}return(r,n)=>(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("header",I,[e.unref(a).params.department?(e.openBlock(),e.createElementBlock("h1",U,"Edit Department")):(e.openBlock(),e.createElementBlock("h1",z,"Create Department")),e.createElementVNode("section",F,[e.createVNode(V.default,{submit:D,callback:q,class:"bg-main"},{default:e.withCtx(()=>[e.createTextVNode("Save Department")]),_:1})])]),e.createElementVNode("div",R,[$,t.state.department.profile?(e.openBlock(),e.createElementBlock("div",A,[e.createVNode(P.default,{photo:t.state.department.profile.photo,"onUpdate:photo":n[0]||(n[0]=l=>t.state.department.profile.photo=l),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",H,[e.createVNode(g.default,{field:t.state.department.profile.name,"onUpdate:field":n[1]||(n[1]=l=>t.state.department.profile.name=l),label:"Name",placeholder:"Department Name",class:"mn-b-small bg-white radius-small pd-medium",validation:r.organizationName},null,8,["field","validation"]),e.createVNode(g.default,{field:t.state.department.profile.description,"onUpdate:field":n[2]||(n[2]=l=>t.state.department.profile.description=l),label:"Description",placeholder:"Department description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:r.organizationName},null,8,["field","validation"])])])):e.createCommentVNode("",!0)]),e.createVNode(S.default,{title:"Team",placeholder:"No members added yet",actions:[{label:"+",function:()=>h()}],class:"cols-1 gap-thin mn-b-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(l,d)=>(e.openBlock(),e.createBlock(M.default,{class:"bg-grey o-hidden radius-small mn-b-thin",key:d,user:l.user,position:l.position,onClick:x=>h(d)},null,8,["user","position","onClick"]))),128))]),_:1},8,["actions"]),e.createVNode(k.default,{title:"Добавить участника",onClosePopup:b,isPopupOpen:m.value},{default:e.withCtx(()=>[e.createVNode(w.default,{members:t.state.department.members,member:c.value,users:f.state.memberships,onCallback:b},null,8,["members","member","users"])]),_:1},8,["isPopupOpen"]),e.createElementVNode("div",L,[e.createElementVNode("div",j,[G,J,e.createElementVNode("div",K,[Q,e.createVNode(o.default,{label:"Hidden department",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.createElementVNode("div",W,[X,Y,e.createElementVNode("div",Z,[ee,e.createVNode(o.default,{label:"See products",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(o.default,{label:"Edit products",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(o.default,{label:"Delete orders",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),te,e.createVNode(o.default,{label:"See orders",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(o.default,{label:"Confirm orders",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(o.default,{label:"Delete orders",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])])])]),e.unref(a).params.department?(e.openBlock(),e.createElementBlock("section",ae,[e.createVNode(V.default,{submit:B,callback:r.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Department")]),_:1},8,["callback"])])):e.createCommentVNode("",!0),e.createElementVNode("div",le,[e.createVNode(k.default,{title:"Добавить подотдел",onClosePopup:v,isPopupOpen:p.value},{default:e.withCtx(()=>[e.createVNode(w.default,{departments:t.state.department.subdepartments,department:u.value,maindepartment:t.state.department,alldepartments:t.state.departments,onCallback:v},null,8,["departments","department","maindepartment","alldepartments"])]),_:1},8,["isPopupOpen"]),e.createElementVNode("div",re,[se,e.createElementVNode("div",null,[e.createElementVNode("a",{class:"t-main h5",onClick:n[3]||(n[3]=l=>_())},"+")])]),e.createElementVNode("ul",ne,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",oe,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(l,d)=>(e.openBlock(),e.createBlock(O.default,{key:d,class:"bg-grey o-hidden radius-small mn-b-thin",department:l,onClick:x=>_(d)},null,8,["department","onClick"]))),128))])])]))}},ie=C.default(de,[["__scopeId","data-v-e983b0b2"]]);exports.default=ie;
@@ -1,94 +1,282 @@
1
- import { ref as e, openBlock as s, createElementBlock as i, createElementVNode as a, createVNode as m, unref as b, withCtx as p, createTextVNode as n } from "vue";
2
- import { useRouter as w, useRoute as x } from "vue-router";
1
+ import { ref as d, openBlock as r, createElementBlock as m, createElementVNode as t, unref as x, createVNode as a, withCtx as c, createTextVNode as C, createCommentVNode as y, Fragment as S, renderList as N, createBlock as $, pushScopeId as R, popScopeId as H } from "vue";
2
+ import { useRouter as L, useRoute as j } from "vue-router";
3
3
  import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
4
- import g from "../../../../components/Breadcrumbs/Breadcrumbs.vue2.js";
5
- import "../../../../components/Tab/Tab.vue2.js";
6
- import "../../../../components/Field/Field.vue2.js";
7
- import y from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ import "vue-i18n";
5
+ import "../../../globals/localization/vue-i18n.js";
6
+ import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
7
+ import q from "../../../../components/UploadImage/UploadImage.vue.js";
8
+ import "../../../../components/Tab/Tab.vue.js";
9
+ import O from "../../../../components/Field/Field.vue2.js";
8
10
  import "../../../../components/Select/Select.vue.js";
9
- import "../../../../components/Checkbox/Checkbox.vue.js";
11
+ import G from "../../../../../../_virtual/_plugin-vue_export-helper.js";
12
+ import p from "../../../../components/Checkbox/Checkbox.vue.js";
10
13
  import "../../../../components/Address/Address.vue.js";
11
14
  import "../../../../components/Loader/Loader.vue.js";
12
15
  import "../../../../components/LocationMarker/LocationMarker.vue.js";
13
- import d from "../../../../components/Button/Button.vue.js";
14
- import "vue-i18n";
15
- import "../../../../components/Popup/Popup.vue.js";
16
+ import E from "../../../../components/Button/Button.vue2.js";
17
+ import M from "../../../../components/Popup/Popup.vue2.js";
18
+ import J from "../../../../components/Block/Block.vue.js";
16
19
  import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
17
20
  import "../blocks/EditArray.vue2.js";
18
- import "../blocks/DepartmentSub.vue2.js";
19
- import "../blocks/DepartmentMemberModify.vue2.js";
20
- import "../blocks/User.vue2.js";
21
- import { actions as r, state as o } from "../../../spots/store/spots.js";
22
- import { actions as k, state as D } from "../../store/memberships.js";
21
+ import K from "../blocks/DepartmentSub.vue.js";
22
+ import z from "../blocks/DepartmentMemberModify.vue.js";
23
+ import Q from "../blocks/User.vue.js";
24
+ import { state as e, actions as f } from "../../store/departments.js";
25
+ import { state as I, actions as W } from "../../store/memberships.js";
23
26
  import "./DepartmentEdit.vue2.js";
24
- const S = { class: "for-transition w-100" }, v = { class: "pd-b-zero pd-t-zero pd-thin" }, E = { class: "pd-thin" }, $ = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, N = {
27
+ const n = (h) => (R("data-v-e983b0b2"), h = h(), H(), h), X = { class: "for-transition pd-thin w-100" }, Y = { class: "mn-b-thin flex-nowrap flex bg-grey pd-medium radius-big" }, Z = {
25
28
  key: 0,
26
29
  class: "mn-r-auto"
27
- }, T = {
30
+ }, ee = {
28
31
  key: 1,
29
32
  class: "mn-r-auto"
30
- }, V = { class: "flex-nowrap flex pd-thin" }, z = { class: "flex-nowrap flex pd-thin" }, B = {
33
+ }, te = { class: "flex-nowrap flex pd-thin" }, ae = { class: "mn-b-thin bg-grey pd-medium o-hidden radius-big" }, se = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h3", { class: "mn-b-semi" }, "Profile", -1)), le = {
34
+ key: 0,
35
+ class: "radius-small flex-nowrap flex"
36
+ }, re = { class: "w-100 flex-child-grow-1 flex-child" }, ie = { class: "cols-2 gap-thin" }, ne = { class: "bg-grey pd-medium o-hidden radius-big" }, oe = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h3", { class: "mn-b-semi" }, "Department Settings", -1)), me = /* @__PURE__ */ n(() => /* @__PURE__ */ t("p", { class: "p-medium mn-b-small" }, "Please settings for your department:", -1)), de = { class: "cols-1 gap-thin" }, pe = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h4", null, "Products", -1)), ue = { class: "bg-grey pd-medium o-hidden radius-big" }, ce = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h3", { class: "mn-b-semi" }, "Acessess", -1)), fe = /* @__PURE__ */ n(() => /* @__PURE__ */ t("p", { class: "p-medium mn-b-small" }, "Please select organization accesses for user in department:", -1)), he = { class: "cols-1 gap-thin" }, be = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h4", null, "Products", -1)), _e = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h4", null, "Orders", -1)), ve = {
37
+ key: 0,
38
+ class: "flex-nowrap flex pd-thin"
39
+ }, ge = {
40
+ id: "dash",
41
+ class: "pd-medium bg-white"
42
+ }, ye = { class: "mn-b-regular flex-v-center flex-nowrap flex" }, we = /* @__PURE__ */ n(() => /* @__PURE__ */ t("h3", { class: "mn-r-small" }, "Подотделы ", -1)), De = { class: "mn-b-small" }, ke = { key: 0 }, Pe = {
31
43
  __name: "DepartmentEdit",
32
- setup(C) {
33
- const c = w(), t = x();
34
- e("details"), e(!1);
35
- async function l() {
36
- t.params.department && await k.read(t.params.department), e(D.memberships), await r.read(t.params._id), t.params.department && await r.readOne(t.params.department);
44
+ setup(h) {
45
+ const T = L(), s = j();
46
+ d("details"), d(!1);
47
+ async function U() {
48
+ s.params.department && await W.read({ target: s.params._id }), d(I.memberships), await f.read(s.params._id), s.params.department && await f.readOne(s.params.department);
49
+ }
50
+ U();
51
+ const b = d(!1), _ = d(null);
52
+ function w(i) {
53
+ b.value = !0, typeof i == "number" && (_.value = i);
37
54
  }
38
- l(), e(!1), e(null), e(!1), e(null);
39
- async function _() {
40
- t.params.department && await r.update(
41
- t.params._id,
42
- o.department
43
- ), t.params.department || await r.create(
44
- t.params._id,
45
- o.department
55
+ function D() {
56
+ b.value = !1, _.value = null;
57
+ }
58
+ const v = d(!1), g = d(null);
59
+ function k(i) {
60
+ v.value = !0, typeof i == "number" && (g.value = i);
61
+ }
62
+ function P() {
63
+ v.value = !1, g.value = null;
64
+ }
65
+ async function V() {
66
+ s.params.department && await f.update(
67
+ s.params._id,
68
+ e.department
69
+ ), s.params.department || await f.create(
70
+ s.params._id,
71
+ e.department
46
72
  );
47
73
  }
48
- function f() {
49
- c.replace({ name: "Department", params: { _id: t.params._id, department: o.department._id } });
74
+ function B() {
75
+ T.replace({ name: "Department", params: { _id: s.params._id, department: e.department._id } });
50
76
  }
51
- async function u() {
52
- await r.delete(
53
- t.params._id,
54
- o.department
77
+ async function A() {
78
+ await f.delete(
79
+ s.params._id,
80
+ e.department
55
81
  );
56
82
  }
57
- return (h, R) => (s(), i("div", S, [
58
- a("div", v, [
59
- m(g, { class: "pd-medium bg-grey radius-big" })
83
+ return (i, o) => (r(), m("div", X, [
84
+ t("header", Y, [
85
+ x(s).params.department ? (r(), m("h1", Z, "Edit Department")) : (r(), m("h1", ee, "Create Department")),
86
+ t("section", te, [
87
+ a(E, {
88
+ submit: V,
89
+ callback: B,
90
+ class: "bg-main"
91
+ }, {
92
+ default: c(() => [
93
+ C("Save Department")
94
+ ]),
95
+ _: 1
96
+ })
97
+ ])
60
98
  ]),
61
- a("div", E, [
62
- a("header", $, [
63
- b(t).params.department ? (s(), i("h1", N, "Edit Spot")) : (s(), i("h1", T, "Create Spot")),
64
- a("section", V, [
65
- m(d, {
66
- submit: _,
67
- callback: f
68
- }, {
69
- default: p(() => [
70
- n("Save Spot")
71
- ]),
72
- _: 1
73
- })
99
+ t("div", ae, [
100
+ se,
101
+ e.department.profile ? (r(), m("div", le, [
102
+ a(q, {
103
+ photo: e.department.profile.photo,
104
+ "onUpdate:photo": o[0] || (o[0] = (l) => e.department.profile.photo = l),
105
+ uploadPath: "organizations/" + e.department.name + "/avatars",
106
+ class: "w-8r aspect-1x1 o-hidden mn-r-small radius-extra"
107
+ }, null, 8, ["photo", "uploadPath"]),
108
+ t("div", re, [
109
+ a(O, {
110
+ field: e.department.profile.name,
111
+ "onUpdate:field": o[1] || (o[1] = (l) => e.department.profile.name = l),
112
+ label: "Name",
113
+ placeholder: "Department Name",
114
+ class: "mn-b-small bg-white radius-small pd-medium",
115
+ validation: i.organizationName
116
+ }, null, 8, ["field", "validation"]),
117
+ a(O, {
118
+ field: e.department.profile.description,
119
+ "onUpdate:field": o[2] || (o[2] = (l) => e.department.profile.description = l),
120
+ label: "Description",
121
+ placeholder: "Department description (max 120 symbols)",
122
+ class: "bg-white radius-small pd-medium",
123
+ validation: i.organizationName
124
+ }, null, 8, ["field", "validation"])
125
+ ])
126
+ ])) : y("", !0)
127
+ ]),
128
+ a(J, {
129
+ title: "Team",
130
+ placeholder: "No members added yet",
131
+ actions: [{
132
+ label: "+",
133
+ function: () => w()
134
+ }],
135
+ class: "cols-1 gap-thin mn-b-thin"
136
+ }, {
137
+ default: c(() => [
138
+ (r(!0), m(S, null, N(e.department.members, (l, u) => (r(), $(Q, {
139
+ class: "bg-grey o-hidden radius-small mn-b-thin",
140
+ key: u,
141
+ user: l.user,
142
+ position: l.position,
143
+ onClick: (F) => w(u)
144
+ }, null, 8, ["user", "position", "onClick"]))), 128))
145
+ ]),
146
+ _: 1
147
+ }, 8, ["actions"]),
148
+ a(M, {
149
+ title: "Добавить участника",
150
+ onClosePopup: D,
151
+ isPopupOpen: b.value
152
+ }, {
153
+ default: c(() => [
154
+ a(z, {
155
+ members: e.department.members,
156
+ member: _.value,
157
+ users: I.memberships,
158
+ onCallback: D
159
+ }, null, 8, ["members", "member", "users"])
160
+ ]),
161
+ _: 1
162
+ }, 8, ["isPopupOpen"]),
163
+ t("div", ie, [
164
+ t("div", ne, [
165
+ oe,
166
+ me,
167
+ t("div", de, [
168
+ pe,
169
+ a(p, {
170
+ label: "Hidden department",
171
+ name: "Delivery",
172
+ value: "pickup",
173
+ class: "w-100 mn-r-small bg-white radius-small pd-small",
174
+ radio: e.department.delivery
175
+ }, null, 8, ["radio"])
176
+ ])
177
+ ]),
178
+ t("div", ue, [
179
+ ce,
180
+ fe,
181
+ t("div", he, [
182
+ be,
183
+ a(p, {
184
+ label: "See products",
185
+ name: "Delivery",
186
+ value: "pickup",
187
+ class: "w-100 mn-r-small bg-white radius-small pd-small",
188
+ radio: e.department.delivery
189
+ }, null, 8, ["radio"]),
190
+ a(p, {
191
+ label: "Edit products",
192
+ name: "Delivery",
193
+ value: "courier",
194
+ class: "w-100 mn-r-small bg-white radius-small pd-small",
195
+ radio: e.department.delivery
196
+ }, null, 8, ["radio"]),
197
+ a(p, {
198
+ label: "Delete orders",
199
+ name: "Delivery",
200
+ value: "post",
201
+ class: "w-100 bg-white radius-small pd-small",
202
+ radio: e.department.delivery
203
+ }, null, 8, ["radio"]),
204
+ _e,
205
+ a(p, {
206
+ label: "See orders",
207
+ name: "Delivery",
208
+ value: "pickup",
209
+ class: "w-100 mn-r-small bg-white radius-small pd-small",
210
+ radio: e.department.delivery
211
+ }, null, 8, ["radio"]),
212
+ a(p, {
213
+ label: "Confirm orders",
214
+ name: "Delivery",
215
+ value: "courier",
216
+ class: "w-100 mn-r-small bg-white radius-small pd-small",
217
+ radio: e.department.delivery
218
+ }, null, 8, ["radio"]),
219
+ a(p, {
220
+ label: "Delete orders",
221
+ name: "Delivery",
222
+ value: "post",
223
+ class: "w-100 bg-white radius-small pd-small",
224
+ radio: e.department.delivery
225
+ }, null, 8, ["radio"])
74
226
  ])
75
227
  ])
76
228
  ]),
77
- a("section", z, [
78
- m(d, {
79
- submit: u,
80
- callback: h.redirectToDash,
229
+ x(s).params.department ? (r(), m("section", ve, [
230
+ a(E, {
231
+ submit: A,
232
+ callback: i.redirectToDash,
81
233
  class: "bg-grey"
82
234
  }, {
83
- default: p(() => [
84
- n("Delete Spot")
235
+ default: c(() => [
236
+ C("Delete Department")
85
237
  ]),
86
238
  _: 1
87
239
  }, 8, ["callback"])
240
+ ])) : y("", !0),
241
+ t("div", ge, [
242
+ a(M, {
243
+ title: "Добавить подотдел",
244
+ onClosePopup: P,
245
+ isPopupOpen: v.value
246
+ }, {
247
+ default: c(() => [
248
+ a(z, {
249
+ departments: e.department.subdepartments,
250
+ department: g.value,
251
+ maindepartment: e.department,
252
+ alldepartments: e.departments,
253
+ onCallback: P
254
+ }, null, 8, ["departments", "department", "maindepartment", "alldepartments"])
255
+ ]),
256
+ _: 1
257
+ }, 8, ["isPopupOpen"]),
258
+ t("div", ye, [
259
+ we,
260
+ t("div", null, [
261
+ t("a", {
262
+ class: "t-main h5",
263
+ onClick: o[3] || (o[3] = (l) => k())
264
+ }, "+")
265
+ ])
266
+ ]),
267
+ t("ul", De, [
268
+ e.department.subdepartments.length < 1 ? (r(), m("li", ke, "В отделе еще нет подотделов")) : y("", !0),
269
+ (r(!0), m(S, null, N(e.department.subdepartments, (l, u) => (r(), $(K, {
270
+ key: u,
271
+ class: "bg-grey o-hidden radius-small mn-b-thin",
272
+ department: l,
273
+ onClick: (F) => k(u)
274
+ }, null, 8, ["department", "onClick"]))), 128))
275
+ ])
88
276
  ])
89
277
  ]));
90
278
  }
91
- }, ot = /* @__PURE__ */ y(B, [["__scopeId", "data-v-190683d5"]]);
279
+ }, Xe = /* @__PURE__ */ G(Pe, [["__scopeId", "data-v-e983b0b2"]]);
92
280
  export {
93
- ot as default
281
+ Xe as default
94
282
  };