@ozdao/prometheus-framework 0.2.86 → 0.2.88

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/dist/auth.server.js +0 -16
  2. package/dist/auth.server.mjs +0 -16
  3. package/dist/community.server.js +0 -24
  4. package/dist/community.server.mjs +0 -24
  5. package/dist/events.server.js +0 -16
  6. package/dist/events.server.mjs +0 -16
  7. package/dist/files.server.js +0 -8
  8. package/dist/files.server.mjs +0 -8
  9. package/dist/gallery.server.js +0 -8
  10. package/dist/gallery.server.mjs +0 -8
  11. package/dist/main-Bw0PvTs-.mjs +13616 -0
  12. package/dist/main-D8gNZLSa.js +92 -0
  13. package/dist/main.css +1 -1
  14. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
  15. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +180 -180
  16. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  17. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +5 -5
  18. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  19. package/dist/node_modules/@noble/hashes/esm/_u64.js +16 -61
  20. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +1 -1
  21. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +9 -10
  22. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +1 -1
  23. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +1 -1
  24. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  25. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +9 -9
  26. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  27. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +33 -33
  28. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +1 -1
  29. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +24 -24
  30. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
  31. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +30 -30
  32. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +1 -1
  33. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +9 -9
  34. package/dist/organizations.server.js +0 -32
  35. package/dist/organizations.server.mjs +0 -32
  36. package/dist/products.server.js +0 -20
  37. package/dist/products.server.mjs +0 -20
  38. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  39. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3046 -2899
  40. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -1
  41. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +1 -2
  42. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -1
  43. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +1 -2
  44. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -1
  45. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +18 -19
  46. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -2
  47. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +66 -67
  48. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +38 -39
  50. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -2
  52. package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.js +13 -16
  54. package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.js +13 -16
  56. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +45 -51
  58. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/PhoneNumber.js +56 -56
  60. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.cjs +2 -2
  61. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +14 -14
  62. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +8 -16
  64. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +4 -6
  66. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +5 -9
  68. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -2
  69. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -4
  70. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -2
  71. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +35 -35
  72. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.js +13 -13
  74. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -2
  75. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +9 -16
  76. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  78. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  80. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -73
  82. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  83. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +73 -1
  84. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
  86. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  87. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  88. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  90. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  91. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
  92. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +29 -29
  94. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +31 -31
  96. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
  98. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +15 -14
  100. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  104. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  106. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  107. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  108. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  109. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  110. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  112. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +10 -10
  118. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +15 -15
  120. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  121. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -5
  122. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  124. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  132. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
  134. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
  136. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +20 -20
  138. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +19 -19
  142. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  148. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  150. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  152. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  154. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +11 -11
  156. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  158. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  160. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +20 -20
  162. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  164. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  166. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  168. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  172. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  174. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  178. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  180. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  182. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  184. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  188. package/dist/prometheus-framework.cjs.js +1 -1
  189. package/dist/prometheus-framework.es.js +1 -1
  190. package/dist/reports.server.js +0 -8
  191. package/dist/reports.server.mjs +0 -8
  192. package/dist/style.css +1 -1
  193. package/dist/users.server.js +0 -8
  194. package/dist/users.server.mjs +0 -8
  195. package/dist/wallet.server.js +0 -4
  196. package/dist/wallet.server.mjs +0 -4
  197. package/dist/web-CciQvENI.js +1 -0
  198. package/dist/web-nVxTNRH4.mjs +54 -0
  199. package/package.json +1 -1
  200. package/src/modules/auth/routes/auth.routes.js +2 -2
  201. package/src/modules/organizations/routes/memberships.routes.js +0 -1
@@ -1,4 +1,4 @@
1
- import { ref as p, onMounted as k, resolveComponent as C, openBlock as E, createElementBlock as I, createElementVNode as a, createTextVNode as c, toDisplayString as d, unref as o, createVNode as i, withCtx as u, Transition as b, withDirectives as g, vShow as w } from "vue";
1
+ import { ref as p, onMounted as k, resolveComponent as C, openBlock as E, createElementBlock as I, createElementVNode as a, createTextVNode as c, toDisplayString as d, unref as s, createVNode as i, withCtx as u, Transition as b, withDirectives as g, vShow as w } from "vue";
2
2
  import q from "../../../../components/Tab/Tab.vue2.js";
3
3
  import y from "../../../../components/Field/Field.vue2.js";
4
4
  import D from "../../../../components/FieldPhone/FieldPhone.vue.js";
@@ -6,13 +6,16 @@ import j from "../../../../components/Button/Button.vue2.js";
6
6
  import { useRoute as A, useRouter as F } from "vue-router";
7
7
  import { useI18n as N } from "vue-i18n";
8
8
  import O from "../../localization/SignIn.json.js";
9
- import { state as s, actions as T } from "../../store/auth.js";
9
+ import { state as l, actions as T } from "../../store/auth.js";
10
10
  import { validateInputs as S, validatePhone as B, validateEmail as R } from "../../../middlewares/client/inputs.validation.js";
11
11
  import "./SignIn.vue2.js";
12
- const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PURE__ */ a("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-b-big" }, J = { class: "mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, K = { class: "pos-relative" }, Q = { class: "mn-b-thin radius-small" }, W = { class: "mn-b-thin radius-small o-hidden" }, X = { class: "w-100 mn-b-big" }, ue = {
12
+ const $ = { class: "" }, L = /* @__PURE__ */ a("img", {
13
+ src: "/logo/logo.svg",
14
+ class: "i-extra radius-small mn-b-small"
15
+ }, null, -1), M = { class: "mn-b-medium" }, z = /* @__PURE__ */ a("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-b-big" }, J = { class: "mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, K = { class: "pos-relative" }, Q = { class: "mn-b-thin radius-small" }, W = { class: "mn-b-thin radius-small o-hidden" }, X = { class: "w-100 mn-b-big" }, ue = {
13
16
  __name: "SignIn",
14
17
  setup(Y) {
15
- const h = p(null), U = p(null), f = p(null), _ = A(), v = F(), { t: l } = N({
18
+ const h = p(null), U = p(null), f = p(null), _ = A(), v = F(), { t: o } = N({
16
19
  useScope: "global",
17
20
  ...O
18
21
  }), n = p("phone"), V = (r) => new Promise((t, m) => {
@@ -27,19 +30,19 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
27
30
  n.value === "phone" && await S(
28
31
  h,
29
32
  B,
30
- s.user.phone,
33
+ l.user.phone,
31
34
  "Некорректный телефон"
32
35
  ), n.value === "email" && await S(
33
36
  f,
34
37
  R,
35
- s.user.email,
38
+ l.user.email,
36
39
  "Некорректный email"
37
40
  );
38
41
  } catch {
39
42
  throw new Error();
40
43
  }
41
- const r = { ...s.user };
42
- r.phone = s.user.phone.number, await T.login(r, n.value);
44
+ const r = { ...l.user };
45
+ r.phone = l.user.phone.number, await T.login(r, n.value);
43
46
  }
44
47
  function P() {
45
48
  _.query.returnUrl ? v.push({
@@ -50,7 +53,7 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
50
53
  }) : v.push({
51
54
  name: "User Profile",
52
55
  params: {
53
- _id: s.user._id
56
+ _id: l.user._id
54
57
  },
55
58
  query: {
56
59
  afterAuth: "true"
@@ -60,14 +63,11 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
60
63
  return (r, t) => {
61
64
  const m = C("router-link");
62
65
  return E(), I("section", $, [
63
- a("img", {
64
- src: "/logo/logo.svg",
65
- class: "i-extra radius-small mn-b-small"
66
- }, null, 8, L),
66
+ L,
67
67
  a("h3", M, [
68
- c(d(o(l)("title")) + " ", 1),
68
+ c(d(s(o)("title")) + " ", 1),
69
69
  z,
70
- a("span", G, d(o(l)("subtitle")), 1)
70
+ a("span", G, d(s(o)("subtitle")), 1)
71
71
  ]),
72
72
  a("p", H, [
73
73
  i(m, {
@@ -75,7 +75,7 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
75
75
  class: "underline t-second"
76
76
  }, {
77
77
  default: u(() => [
78
- c(d(o(l)("signup")), 1)
78
+ c(d(s(o)("signup")), 1)
79
79
  ]),
80
80
  _: 1
81
81
  })
@@ -85,8 +85,8 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
85
85
  selected: n.value,
86
86
  "onUpdate:selected": t[0] || (t[0] = (e) => n.value = e),
87
87
  tabs: [
88
- { name: o(l)("phone"), value: "phone" },
89
- { name: o(l)("email"), value: "email" }
88
+ { name: s(o)("phone"), value: "phone" },
89
+ { name: s(o)("email"), value: "email" }
90
90
  ]
91
91
  }, null, 8, ["selected", "tabs"])
92
92
  ]),
@@ -95,8 +95,8 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
95
95
  default: u(() => [
96
96
  g(a("div", Q, [
97
97
  i(D, {
98
- modelValue: s.user.phone,
99
- "onUpdate:modelValue": t[1] || (t[1] = (e) => s.user.phone = e),
98
+ modelValue: l.user.phone,
99
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => l.user.phone = e),
100
100
  dropdownOptions: {
101
101
  showDialCodeInSelection: !0,
102
102
  showFlags: !0,
@@ -104,7 +104,7 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
104
104
  },
105
105
  validation: h.value,
106
106
  mode: "national",
107
- inputOptions: { placeholder: o(l)("phonePlaceholder") },
107
+ inputOptions: { placeholder: s(o)("phonePlaceholder") },
108
108
  class: "bg-grey pd-small radius-small mn-b-thin"
109
109
  }, null, 8, ["modelValue", "validation", "inputOptions"])
110
110
  ], 512), [
@@ -117,9 +117,9 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
117
117
  default: u(() => [
118
118
  g(a("div", W, [
119
119
  i(y, {
120
- field: s.user.email,
121
- "onUpdate:field": t[2] || (t[2] = (e) => s.user.email = e),
122
- placeholder: o(l)("emailPlaceholder"),
120
+ field: l.user.email,
121
+ "onUpdate:field": t[2] || (t[2] = (e) => l.user.email = e),
122
+ placeholder: s(o)("emailPlaceholder"),
123
123
  validation: f.value,
124
124
  class: "bg-grey pd-medium radius-small"
125
125
  }, null, 8, ["field", "placeholder", "validation"])
@@ -131,11 +131,11 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
131
131
  })
132
132
  ]),
133
133
  i(y, {
134
- field: s.user.password,
135
- "onUpdate:field": t[3] || (t[3] = (e) => s.user.password = e),
134
+ field: l.user.password,
135
+ "onUpdate:field": t[3] || (t[3] = (e) => l.user.password = e),
136
136
  type: "password",
137
137
  validation: U.value,
138
- placeholder: o(l)("passwordPlaceholder"),
138
+ placeholder: s(o)("passwordPlaceholder"),
139
139
  class: "bg-grey pd-medium radius-small mn-b-semi"
140
140
  }, null, 8, ["field", "validation", "placeholder"]),
141
141
  a("div", X, [
@@ -144,7 +144,7 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
144
144
  class: "underline d-block t-blue"
145
145
  }, {
146
146
  default: u(() => [
147
- c(d(o(l)("forgotPassword")), 1)
147
+ c(d(s(o)("forgotPassword")), 1)
148
148
  ]),
149
149
  _: 1
150
150
  })
@@ -155,7 +155,7 @@ const $ = { class: "" }, L = ["src"], M = { class: "mn-b-medium" }, z = /* @__PU
155
155
  class: "w-100 bg-main mn-b-thin"
156
156
  }, {
157
157
  default: u(() => [
158
- c(d(o(l)("signin")), 1)
158
+ c(d(s(o)("signin")), 1)
159
159
  ]),
160
160
  _: 1
161
161
  })
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../mobile/components/Menu/Menu.vue.cjs"),l=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const i=require("../../../icons/entities/IconProducts.vue.cjs"),u=require("../../../icons/entities/IconEvents.vue.cjs"),c=require("../../../icons/entities/IconGroups.vue.cjs"),d=require("../../../icons/entities/IconGallery.vue.cjs"),f=require("../../../icons/entities/IconOrders.vue.cjs"),m=require("../../../icons/entities/IconLeftovers.vue.cjs"),o=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const p={class:""},_=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-grey mn-b-small"},"Welcome to Backoffice",-1),v=e.createElementVNode("span",null," Members ",-1),N=e.createElementVNode("span",null," Products ",-1),V=e.createElementVNode("span",null," Leftovers ",-1),h=e.createElementVNode("span",null," Orders ",-1),b=e.createElementVNode("span",null," Gallery ",-1),g=e.createElementVNode("span",null," Events ",-1),q={__name:"Dashboard",props:{favorites:Array},setup(w){const t=o.useRoute(),s=o.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(C,r)=>(e.openBlock(),e.createElementBlock("div",p,[_,e.createVNode(a.default,{class:"bg-grey mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[0]||(r[0]=n=>e.unref(s).push({name:"Organization Members",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),v]),_:1}),e.createVNode(l.default,{onClick:r[1]||(r[1]=n=>e.unref(s).push({name:"Products",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(i.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),N]),_:1}),e.createVNode(l.default,{onClick:r[2]||(r[2]=n=>e.unref(s).push({name:"Leftovers",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(m.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),V]),_:1}),e.createVNode(l.default,{onClick:r[3]||(r[3]=n=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),h]),_:1}),e.createVNode(l.default,{onClick:r[4]||(r[4]=n=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),b]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=n=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"},null,8,["fill"]),g]),_:1})]),_:1})]))}};exports.default=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../mobile/components/Menu/Menu.vue2.cjs"),o=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const u=require("../../../icons/entities/IconProducts.vue.cjs"),l=require("../../../icons/entities/IconEvents.vue.cjs"),c=require("../../../icons/entities/IconGroups.vue.cjs"),d=require("../../../icons/entities/IconGallery.vue.cjs"),f=require("../../../icons/entities/IconOrders.vue.cjs"),m=require("../../../icons/entities/IconLeftovers.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const p={class:""},_=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-grey mn-b-small"},"Welcome to Backoffice",-1),v=e.createElementVNode("span",null," Members ",-1),N=e.createElementVNode("span",null," Products ",-1),V=e.createElementVNode("span",null," Leftovers ",-1),h=e.createElementVNode("span",null," Orders ",-1),b=e.createElementVNode("span",null," Gallery ",-1),g=e.createElementVNode("span",null," Events ",-1),q={__name:"Dashboard",props:{favorites:Array},setup(w){const t=n.useRoute(),s=n.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(C,r)=>(e.openBlock(),e.createElementBlock("div",p,[_,e.createVNode(i.default,{class:"bg-grey mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(o.default,{onClick:r[0]||(r[0]=a=>e.unref(s).push({name:"Organization Members",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1}),e.createVNode(o.default,{onClick:r[1]||(r[1]=a=>e.unref(s).push({name:"Products",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),N]),_:1}),e.createVNode(o.default,{onClick:r[2]||(r[2]=a=>e.unref(s).push({name:"Leftovers",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(m.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),V]),_:1}),e.createVNode(o.default,{onClick:r[3]||(r[3]=a=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),h]),_:1}),e.createVNode(o.default,{onClick:r[4]||(r[4]=a=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),b]),_:1}),e.createVNode(o.default,{onClick:r[5]||(r[5]=a=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),g]),_:1})]),_:1})]))}};exports.default=q;
@@ -1,5 +1,5 @@
1
- import { ref as m, onMounted as u, openBlock as p, createElementBlock as f, createVNode as s, withCtx as e, unref as i, createElementVNode as o } from "vue";
2
- import c from "../../../mobile/components/Menu/Menu.vue.js";
1
+ import { ref as l, onMounted as p, openBlock as u, createElementBlock as c, createVNode as s, withCtx as i, unref as e, createElementVNode as o } from "vue";
2
+ import f from "../../../mobile/components/Menu/Menu.vue2.js";
3
3
  import n from "../../../mobile/components/Menu/MenuItem.vue.js";
4
4
  import "../../../../components/SelectMulti/SelectMulti.vue2.js";
5
5
  import _ from "../../../icons/entities/IconProducts.vue.js";
@@ -17,122 +17,122 @@ const w = { class: "" }, C = /* @__PURE__ */ o("h1", { class: "pd-medium radius-
17
17
  favorites: Array
18
18
  },
19
19
  setup(O) {
20
- const l = k(), t = g();
21
- return m(null), m([]), u(async () => {
22
- }), (L, r) => (p(), f("div", w, [
20
+ const t = k(), a = g();
21
+ return l(null), l([]), p(async () => {
22
+ }), (L, r) => (u(), c("div", w, [
23
23
  C,
24
- s(c, { class: "bg-grey mn-b-semi" }, {
25
- default: e(() => [
24
+ s(f, { class: "bg-grey mn-b-semi" }, {
25
+ default: i(() => [
26
26
  s(n, {
27
- onClick: r[0] || (r[0] = (a) => i(t).push({
27
+ onClick: r[0] || (r[0] = (m) => e(a).push({
28
28
  name: "Organization Members",
29
29
  params: {
30
- _id: i(l).params._id
30
+ _id: e(t).params._id
31
31
  }
32
32
  })),
33
33
  class: "cursor-pointer"
34
34
  }, {
35
- default: e(() => [
35
+ default: i(() => [
36
36
  s(v, {
37
37
  class: "i-semi",
38
38
  icon: !0,
39
39
  fill: "rgb(var(--white))"
40
- }, null, 8, ["fill"]),
40
+ }),
41
41
  y
42
42
  ]),
43
43
  _: 1
44
44
  }),
45
45
  s(n, {
46
- onClick: r[1] || (r[1] = (a) => i(t).push({
46
+ onClick: r[1] || (r[1] = (m) => e(a).push({
47
47
  name: "Products",
48
48
  params: {
49
- _id: i(l).params._id
49
+ _id: e(t).params._id
50
50
  }
51
51
  })),
52
52
  class: "cursor-pointer"
53
53
  }, {
54
- default: e(() => [
54
+ default: i(() => [
55
55
  s(_, {
56
56
  class: "i-semi",
57
57
  icon: !0,
58
58
  fill: "rgb(var(--white))"
59
- }, null, 8, ["fill"]),
59
+ }),
60
60
  B
61
61
  ]),
62
62
  _: 1
63
63
  }),
64
64
  s(n, {
65
- onClick: r[2] || (r[2] = (a) => i(t).push({
65
+ onClick: r[2] || (r[2] = (m) => e(a).push({
66
66
  name: "Leftovers",
67
67
  params: {
68
- _id: i(l).params._id
68
+ _id: e(t).params._id
69
69
  }
70
70
  })),
71
71
  class: "cursor-pointer"
72
72
  }, {
73
- default: e(() => [
73
+ default: i(() => [
74
74
  s(h, {
75
75
  class: "i-semi",
76
76
  icon: !0,
77
77
  fill: "rgb(var(--white))"
78
- }, null, 8, ["fill"]),
78
+ }),
79
79
  E
80
80
  ]),
81
81
  _: 1
82
82
  }),
83
83
  s(n, {
84
- onClick: r[3] || (r[3] = (a) => i(t).push({
84
+ onClick: r[3] || (r[3] = (m) => e(a).push({
85
85
  name: "Backoffice Orders",
86
86
  params: {
87
- _id: i(l).params._id
87
+ _id: e(t).params._id
88
88
  }
89
89
  })),
90
90
  class: "cursor-pointer"
91
91
  }, {
92
- default: e(() => [
92
+ default: i(() => [
93
93
  s($, {
94
94
  class: "i-semi",
95
95
  icon: !0,
96
96
  fill: "rgb(var(--white))"
97
- }, null, 8, ["fill"]),
97
+ }),
98
98
  x
99
99
  ]),
100
100
  _: 1
101
101
  }),
102
102
  s(n, {
103
- onClick: r[4] || (r[4] = (a) => i(t).push({
103
+ onClick: r[4] || (r[4] = (m) => e(a).push({
104
104
  name: "Backoffice Gallery",
105
105
  params: {
106
- _id: i(l).params._id
106
+ _id: e(t).params._id
107
107
  }
108
108
  })),
109
109
  class: "cursor-pointer"
110
110
  }, {
111
- default: e(() => [
111
+ default: i(() => [
112
112
  s(b, {
113
113
  class: "i-semi",
114
114
  icon: !0,
115
115
  fill: "rgb(var(--white))"
116
- }, null, 8, ["fill"]),
116
+ }),
117
117
  G
118
118
  ]),
119
119
  _: 1
120
120
  }),
121
121
  s(n, {
122
- onClick: r[5] || (r[5] = (a) => i(t).push({
122
+ onClick: r[5] || (r[5] = (m) => e(a).push({
123
123
  name: "Backoffice Events",
124
124
  params: {
125
- _id: i(l).params._id
125
+ _id: e(t).params._id
126
126
  }
127
127
  })),
128
128
  class: "cursor-pointer"
129
129
  }, {
130
- default: e(() => [
130
+ default: i(() => [
131
131
  s(d, {
132
132
  class: "i-semi",
133
133
  icon: !0,
134
134
  fill: "rgb(var(--white))"
135
- }, null, 8, ["fill"]),
135
+ }),
136
136
  M
137
137
  ]),
138
138
  _: 1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router"),f=require("../../../../components/Select/Select.vue.cjs"),g=require("../../../../components/Feed/Feed.vue.cjs"),h=require("../../../organizations/components/blocks/CardOrganization.vue.cjs"),x=require("../../../icons/entities/IconFeatured.vue.cjs"),b=require("../../../icons/entities/IconPopular.vue.cjs"),_=require("../../../icons/entities/IconRecent.vue.cjs"),w=require("../../../icons/entities/IconFollowing.vue.cjs"),m=require("../../store/blogposts.cjs"),l=require("../../../auth/store/auth.cjs"),c=require("../../../organizations/store/organizations.cjs"),k=require("../../../organizations/store/memberships.cjs"),N={style:{"grid-template-columns":"2fr 4fr 2fr"},class:"cols-3 gap-thin pd-thin"},V={class:"align-self-start pos-sticky pos-t-0 w-100 bg-grey radius-big pd-medium p-medium gap-thin flex-column flex-nowrap flex"},v={class:"pos-relative"},C={class:"bg-main t-black radius-big pd-medium pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex"},y={class:"pos-relative flex-v-center flex-nowrap flex"},B=e.createElementVNode("span",{class:"mn-r-small"},"Topics for ",-1),q={class:"align-self-start bg-grey radius-big pd-medium"},E={class:"gap-thin flex-nowrap flex"},z=e.createElementVNode("p",{class:"t-medium mn-b-small"},"Popular Communities",-1),T={__name:"Community",setup(F){const o=d.useRoute(),a=d.useRouter(),p=({membership:u,status:r,target:s},i,t)=>{k.mutations.handleMembershipUpdate(c.state.current,u,r,s,i,t)};return(u,r)=>{const s=e.resolveComponent("router-link"),i=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("ul",V,[e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="featured"},"cursor-pointer flex-v-center flex t-medium pd-thin radius-extra"]),onClick:r[0]||(r[0]=t=>e.unref(a).push({name:"Blog",params:{category:"featured"}}))},[e.createVNode(x.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Featured ")],2),e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="popular"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[1]||(r[1]=t=>e.unref(a).push({name:"Blog",params:{category:"popular"}}))},[e.createVNode(b.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Popular ")],2),e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="new"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[2]||(r[2]=t=>e.unref(a).push({name:"Blog",params:{category:"new"}}))},[e.createVNode(_.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Recent ")],2),l.state.user._id?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass([{"t-white bg-black":e.unref(o).params.category==="following"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[3]||(r[3]=t=>e.unref(a).push({name:"Blog",params:{category:"following"}}))},[e.createVNode(w.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Following ")],2)):e.createCommentVNode("",!0),e.createVNode(s,{to:{name:"Create BlogPost"},class:"button t-medium mn-t-small bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Create Post ")]),_:1})]),e.createElementVNode("section",v,[e.createElementVNode("header",C,[e.createElementVNode("h2",y,[B,e.createVNode(f.default,{options:["today","week","month","year"],select:m.state.filter.period,"onUpdate:select":r[4]||(r[4]=t=>m.state.filter.period=t),placeholder:"Select type",class:"t-semi pos-relative w-max bg-main t-black pd-thin radius-medium h2 t-center br-solid br-2px br-black-transp-10"},null,8,["select"])])]),e.createVNode(i,null,{default:e.withCtx(({Component:t,route:n})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t),{ref:"page",key:n.query}))]),_:2},1024)]),_:1})]),e.createElementVNode("div",q,[e.createElementVNode("div",E,[z,l.state.user._id?(e.openBlock(),e.createBlock(s,{key:0,to:{name:"Create Organization"},class:"t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main"},{default:e.withCtx(()=>[e.createTextVNode(" + ")]),_:1})):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createVNode(g.default,{states:{empty:{title:"No Organization Found",description:"Currently, there are no organization available."}},store:{read:t=>c.actions.read(t),state:c.state},options:{user:l.state.user._id,sort:"numberOfMemberships",contain:["blogposts"],limit:10}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(h.default,{key:n._id,organization:n,user:l.state.user,showProducts:!1,showRating:!1,showFeatured:!1,showFollowers:!1,onUpdateMembership:p,class:"mn-b-thin w-100 pd-0 bg-white radius-big o-hidden"},null,8,["organization","user"]))),128))]),_:1},8,["states","store","options"])]),_:1})])])}}};exports.default=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router"),f=require("../../../../components/Select/Select.vue2.cjs"),g=require("../../../../components/Feed/Feed.vue.cjs"),h=require("../../../organizations/components/blocks/CardOrganization.vue.cjs"),x=require("../../../icons/entities/IconFeatured.vue.cjs"),b=require("../../../icons/entities/IconPopular.vue.cjs"),_=require("../../../icons/entities/IconRecent.vue.cjs"),w=require("../../../icons/entities/IconFollowing.vue.cjs"),m=require("../../store/blogposts.cjs"),l=require("../../../auth/store/auth.cjs"),c=require("../../../organizations/store/organizations.cjs"),k=require("../../../organizations/store/memberships.cjs"),N={style:{"grid-template-columns":"2fr 4fr 2fr"},class:"cols-3 gap-thin pd-thin"},V={class:"align-self-start pos-sticky pos-t-0 w-100 bg-grey radius-big pd-medium p-medium gap-thin flex-column flex-nowrap flex"},v={class:"pos-relative"},C={class:"bg-main t-black radius-big pd-medium pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex"},y={class:"pos-relative flex-v-center flex-nowrap flex"},B=e.createElementVNode("span",{class:"mn-r-small"},"Topics for ",-1),q={class:"align-self-start bg-grey radius-big pd-medium"},E={class:"gap-thin flex-nowrap flex"},z=e.createElementVNode("p",{class:"t-medium mn-b-small"},"Popular Communities",-1),T={__name:"Community",setup(F){const o=d.useRoute(),a=d.useRouter(),p=({membership:u,status:r,target:s},i,t)=>{k.mutations.handleMembershipUpdate(c.state.current,u,r,s,i,t)};return(u,r)=>{const s=e.resolveComponent("router-link"),i=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("ul",V,[e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="featured"},"cursor-pointer flex-v-center flex t-medium pd-thin radius-extra"]),onClick:r[0]||(r[0]=t=>e.unref(a).push({name:"Blog",params:{category:"featured"}}))},[e.createVNode(x.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Featured ")],2),e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="popular"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[1]||(r[1]=t=>e.unref(a).push({name:"Blog",params:{category:"popular"}}))},[e.createVNode(b.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Popular ")],2),e.createElementVNode("li",{class:e.normalizeClass([{"t-black bg-white":e.unref(o).params.category==="new"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[2]||(r[2]=t=>e.unref(a).push({name:"Blog",params:{category:"new"}}))},[e.createVNode(_.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Recent ")],2),l.state.user._id?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass([{"t-white bg-black":e.unref(o).params.category==="following"},"cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),onClick:r[3]||(r[3]=t=>e.unref(a).push({name:"Blog",params:{category:"following"}}))},[e.createVNode(w.default,{class:"i-medium mn-r-thin t-transp"}),e.createTextVNode(" Following ")],2)):e.createCommentVNode("",!0),e.createVNode(s,{to:{name:"Create BlogPost"},class:"button t-medium mn-t-small bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Create Post ")]),_:1})]),e.createElementVNode("section",v,[e.createElementVNode("header",C,[e.createElementVNode("h2",y,[B,e.createVNode(f.default,{options:["today","week","month","year"],select:m.state.filter.period,"onUpdate:select":r[4]||(r[4]=t=>m.state.filter.period=t),placeholder:"Select type",class:"t-semi pos-relative w-max bg-main t-black pd-thin radius-medium h2 t-center br-solid br-2px br-black-transp-10"},null,8,["select"])])]),e.createVNode(i,null,{default:e.withCtx(({Component:t,route:n})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t),{ref:"page",key:n.query}))]),_:2},1024)]),_:1})]),e.createElementVNode("div",q,[e.createElementVNode("div",E,[z,l.state.user._id?(e.openBlock(),e.createBlock(s,{key:0,to:{name:"Create Organization"},class:"t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main"},{default:e.withCtx(()=>[e.createTextVNode(" + ")]),_:1})):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createVNode(g.default,{states:{empty:{title:"No Organization Found",description:"Currently, there are no organization available."}},store:{read:t=>c.actions.read(t),state:c.state},options:{user:l.state.user._id,sort:"numberOfMemberships",contain:["blogposts"],limit:10}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(h.default,{key:n._id,organization:n,user:l.state.user,showProducts:!1,showRating:!1,showFeatured:!1,showFollowers:!1,onUpdateMembership:p,class:"mn-b-thin w-100 pd-0 bg-white radius-big o-hidden"},null,8,["organization","user"]))),128))]),_:1},8,["store","options"])]),_:1})])])}}};exports.default=T;
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent as b, openBlock as a, createElementBlock as g, createElementVNode as r, normalizeClass as d, unref as o, createVNode as s, createTextVNode as i, createCommentVNode as x, withCtx as n, Transition as w, createBlock as _, resolveDynamicComponent as C, Fragment as $, renderList as B } from "vue";
2
2
  import { useRoute as F, useRouter as z } from "vue-router";
3
- import N from "../../../../components/Select/Select.vue.js";
3
+ import N from "../../../../components/Select/Select.vue2.js";
4
4
  import P from "../../../../components/Feed/Feed.vue.js";
5
5
  import M from "../../../organizations/components/blocks/CardOrganization.vue.js";
6
6
  import R from "../../../icons/entities/IconFeatured.vue.js";
@@ -148,7 +148,7 @@ const S = {
148
148
  }, null, 8, ["organization", "user"]))), 128))
149
149
  ]),
150
150
  _: 1
151
- }, 8, ["states", "store", "options"])
151
+ }, 8, ["store", "options"])
152
152
  ]),
153
153
  _: 1
154
154
  })
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardBlogpost.vue.cjs"),p=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),k=require("../../../constructor/components/elements/VideoPlayer.vue.cjs"),y=require("../../../constructor/components/elements/Embed.vue.cjs"),B=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),_=require("vue-router"),h={class:"pd-thin"},C=["href"],b=e.createElementVNode("h3",{class:"mn-b-small"},"Recommended Communities",-1),V={__name:"BlogPost",setup(N){const u=_.useRoute(),t=e.ref(null),n=e.ref(!0);e.onMounted(async()=>{n.value=!0;const r=await B.read({user:a.state.user._id,url:u.params.url});t.value=r[0],n.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default,Video:k.default,Link:"a",Embed:y.default};function i(r){return r.type==="Textarea"?{innerHTML:r.content,class:"p-big"}:r.type==="H2"?{innerHTML:r.content,class:"h3"}:r.type==="Caption"?{innerHTML:r.content}:r.type==="ImageUpload"?{src:r.content}:{}}return(r,s)=>(e.openBlock(),e.createElementBlock("section",h,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,o=>e.createVNode(p.default,{key:o})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&!t.value?(e.openBlock(),e.createBlock(d.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&t.value?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:s[0]||(s[0]=o=>r.$router.push({name:"Blogpost",params:{url:t.value.url}})),blogpost:t.value,user:a.state.user._id,type:"blogpostPage",class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[o.type]),e.mergeProps({key:l,index:l,component:o,prop:o,class:o.class,content:"content"},i(o),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)]),t.value.source?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.value.source,target:"_blank",class:"mn-b-semi d-block w-max radius-big pd-thin bg-black t-white"}," Check Source 🔗 ",8,C)):e.createCommentVNode("",!0)]),_:1},8,["blogpost","user"])):e.createCommentVNode("",!0),b,e.createVNode(g.default,{class:"mn-b-small"}),!n.value&&t.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:t.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardBlogpost.vue.cjs"),p=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),k=require("../../../constructor/components/elements/VideoPlayer.vue.cjs"),y=require("../../../constructor/components/elements/Embed.vue.cjs"),B=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),_=require("vue-router"),h={class:"pd-thin"},C=["href"],b=e.createElementVNode("h3",{class:"mn-b-small"},"Recommended Communities",-1),V={__name:"BlogPost",setup(N){const u=_.useRoute(),t=e.ref(null),n=e.ref(!0);e.onMounted(async()=>{n.value=!0;const r=await B.read({user:a.state.user._id,url:u.params.url});t.value=r[0],n.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default,Video:k.default,Link:"a",Embed:y.default};function i(r){return r.type==="Textarea"?{innerHTML:r.content,class:"p-big"}:r.type==="H2"?{innerHTML:r.content,class:"h3"}:r.type==="Caption"?{innerHTML:r.content}:r.type==="ImageUpload"?{src:r.content}:{}}return(r,s)=>(e.openBlock(),e.createElementBlock("section",h,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,o=>e.createVNode(p.default,{key:o})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&!t.value?(e.openBlock(),e.createBlock(d.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&t.value?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:s[0]||(s[0]=o=>r.$router.push({name:"Blogpost",params:{url:t.value.url}})),blogpost:t.value,user:a.state.user._id,type:"blogpostPage",class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[o.type]),e.mergeProps({key:l,index:l,component:o,prop:o,class:o.class,content:"content",ref_for:!0},i(o),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)]),t.value.source?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.value.source,target:"_blank",class:"mn-b-semi d-block w-max radius-big pd-thin bg-black t-white"}," Check Source 🔗 ",8,C)):e.createCommentVNode("",!0)]),_:1},8,["blogpost","user"])):e.createCommentVNode("",!0),b,e.createVNode(g.default,{class:"mn-b-small"}),!n.value&&t.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:t.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=V;
@@ -1,4 +1,4 @@
1
- import { ref as d, onMounted as k, openBlock as n, createElementBlock as l, createVNode as s, TransitionGroup as f, withCtx as u, Fragment as _, renderList as g, createCommentVNode as o, Transition as C, createBlock as i, createElementVNode as v, resolveDynamicComponent as B, mergeProps as $ } from "vue";
1
+ import { ref as d, onMounted as k, openBlock as n, createElementBlock as l, createVNode as s, TransitionGroup as f, withCtx as u, Fragment as _, renderList as g, createCommentVNode as a, Transition as C, createBlock as i, createElementVNode as v, resolveDynamicComponent as B, mergeProps as $ } from "vue";
2
2
  import "../../../../components/Loader/Loader.vue.js";
3
3
  import T from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import w from "../blocks/CardBlogpost.vue.js";
@@ -14,11 +14,11 @@ import { useRoute as E } from "vue-router";
14
14
  const F = { class: "pd-thin" }, I = ["href"], R = /* @__PURE__ */ v("h3", { class: "mn-b-small" }, "Recommended Communities", -1), Y = {
15
15
  __name: "BlogPost",
16
16
  setup(S) {
17
- const y = E(), e = d(null), a = d(!0);
17
+ const y = E(), e = d(null), o = d(!0);
18
18
  k(async () => {
19
- a.value = !0;
19
+ o.value = !0;
20
20
  const t = await V({ user: m.user._id, url: y.params.url });
21
- e.value = t[0], a.value = !1;
21
+ e.value = t[0], o.value = !1;
22
22
  });
23
23
  const h = {
24
24
  Textarea: "p",
@@ -40,18 +40,18 @@ const F = { class: "pd-thin" }, I = ["href"], R = /* @__PURE__ */ v("h3", { clas
40
40
  class: "o-hidden bg-grey radius-big"
41
41
  }, {
42
42
  default: u(() => [
43
- a.value ? (n(), l(_, { key: 0 }, g(3, (r) => s(x, { key: r })), 64)) : o("", !0)
43
+ o.value ? (n(), l(_, { key: 0 }, g(3, (r) => s(x, { key: r })), 64)) : a("", !0)
44
44
  ]),
45
45
  _: 1
46
46
  }),
47
47
  s(C, { name: "fade" }, {
48
48
  default: u(() => [
49
- !a.value && !e.value ? (n(), i(T, {
49
+ !o.value && !e.value ? (n(), i(T, {
50
50
  key: 0,
51
51
  title: "No Blogpost Found",
52
52
  description: "Currently, there are no blogposts available. Please check back later.",
53
53
  class: "pd-medium mn-b-thin bg-grey radius-big"
54
- })) : o("", !0)
54
+ })) : a("", !0)
55
55
  ]),
56
56
  _: 1
57
57
  }),
@@ -61,7 +61,7 @@ const F = { class: "pd-thin" }, I = ["href"], R = /* @__PURE__ */ v("h3", { clas
61
61
  class: "container"
62
62
  }, {
63
63
  default: u(() => [
64
- !a.value && e.value ? (n(), i(w, {
64
+ !o.value && e.value ? (n(), i(w, {
65
65
  key: 0,
66
66
  onClick: p[0] || (p[0] = (r) => t.$router.push({ name: "Blogpost", params: { url: e.value.url } })),
67
67
  blogpost: e.value,
@@ -77,26 +77,27 @@ const F = { class: "pd-thin" }, I = ["href"], R = /* @__PURE__ */ v("h3", { clas
77
77
  component: r,
78
78
  prop: r,
79
79
  class: r.class,
80
- content: "content"
81
- }, b(r), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : o("", !0)
80
+ content: "content",
81
+ ref_for: !0
82
+ }, b(r), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : a("", !0)
82
83
  ]),
83
84
  e.value.source ? (n(), l("a", {
84
85
  key: 0,
85
86
  href: e.value.source,
86
87
  target: "_blank",
87
88
  class: "mn-b-semi d-block w-max radius-big pd-thin bg-black t-white"
88
- }, " Check Source 🔗 ", 8, I)) : o("", !0)
89
+ }, " Check Source 🔗 ", 8, I)) : a("", !0)
89
90
  ]),
90
91
  _: 1
91
- }, 8, ["blogpost", "user"])) : o("", !0),
92
+ }, 8, ["blogpost", "user"])) : a("", !0),
92
93
  R,
93
94
  s(L, { class: "mn-b-small" }),
94
- !a.value && e.value ? (n(), i(H, {
95
+ !o.value && e.value ? (n(), i(H, {
95
96
  key: 1,
96
97
  type: "blogpost",
97
98
  target: e.value._id,
98
99
  owner: m.user._id
99
- }, null, 8, ["target", "owner"])) : o("", !0)
100
+ }, null, 8, ["target", "owner"])) : a("", !0)
100
101
  ]),
101
102
  _: 1
102
103
  })
@@ -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");const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Upload/Upload.vue2.cjs");const _=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),f=require("../../../auth/store/auth.cjs"),b=require("vue-router");require("./Community.vue2.cjs");const v=r=>(e.pushScopeId("data-v-bdf0e48a"),r=r(),e.popScopeId(),r),g={class:"flex-v-center flex-nowrap flex mn-b-medium"},h=v(()=>e.createElementVNode("h3",{class:"mn-r-medium"},"Blog",-1)),k={class:""},w={class:"flex-nowrap flex pd-t-zero pd-b-zero pd-big"},y=["onClick"],C=["onClick"],q={__name:"Community",async setup(r){let s,c;const i=b.useRouter();[s,c]=e.withAsyncContext(()=>l.read()),await s,c(),console.log(l.state),e.ref({title:"",content:"",categories:[]});const d=async t=>{window.confirm("Are you sure you want to delete this post?")&&(console.log(t),await l.remove(t))};let u=e.ref("all");const a=e.computed(()=>u.value==="all"?l.state.all:l.state.all.filter(t=>t.categories.includes(u.value)));return e.computed(()=>{for(let t of a.value)if(t.blocks&&t.blocks.length>0){const n=t.blocks.find(o=>o.type.name==="ImageUpload");if(n)return n.content}return null}),(t,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",g,[h,e.createElementVNode("button",{onClick:n[0]||(n[0]=o=>e.unref(i).push({name:"Create BlogPost"})),class:"t-white bg-second button-small button"},"+")]),e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,o=>(e.openBlock(),e.createBlock(_.default,{key:o._id,blogpost:o,owner:f.state.user._id,class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("button",{class:"mn-r-thin button-small w-100 button",onClick:m=>t.$router.push({path:"/community/posts/"+o.url+"/edit"})},"Edit",8,y),e.createElementVNode("button",{class:"button-small w-100 button",onClick:m=>d(o._id)},"Delete",8,C)])]),_:2},1032,["blogpost","owner"]))),128))])]))}},B=p.default(q,[["__scopeId","data-v-bdf0e48a"]]);exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Upload/Upload.vue2.cjs");const _=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),f=require("../../../auth/store/auth.cjs"),b=require("vue-router");require("./Community.vue2.cjs");const v=r=>(e.pushScopeId("data-v-bdf0e48a"),r=r(),e.popScopeId(),r),g={class:"flex-v-center flex-nowrap flex mn-b-medium"},h=v(()=>e.createElementVNode("h3",{class:"mn-r-medium"},"Blog",-1)),k={class:""},w={class:"flex-nowrap flex pd-t-zero pd-b-zero pd-big"},y=["onClick"],C=["onClick"],q={__name:"Community",async setup(r){let s,c;const i=b.useRouter();[s,c]=e.withAsyncContext(()=>l.read()),await s,c(),console.log(l.state),e.ref({title:"",content:"",categories:[]});const d=async t=>{window.confirm("Are you sure you want to delete this post?")&&(console.log(t),await l.remove(t))};let u=e.ref("all");const a=e.computed(()=>u.value==="all"?l.state.all:l.state.all.filter(t=>t.categories.includes(u.value)));return e.computed(()=>{for(let t of a.value)if(t.blocks&&t.blocks.length>0){const n=t.blocks.find(o=>o.type.name==="ImageUpload");if(n)return n.content}return null}),(t,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",g,[h,e.createElementVNode("button",{onClick:n[0]||(n[0]=o=>e.unref(i).push({name:"Create BlogPost"})),class:"t-white bg-second button-small button"},"+")]),e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,o=>(e.openBlock(),e.createBlock(_.default,{key:o._id,blogpost:o,owner:f.state.user._id,class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("button",{class:"mn-r-thin button-small w-100 button",onClick:m=>t.$router.push({path:"/community/posts/"+o.url+"/edit"})},"Edit",8,y),e.createElementVNode("button",{class:"button-small w-100 button",onClick:m=>d(o._id)},"Delete",8,C)])]),_:2},1032,["blogpost","owner"]))),128))])]))}},B=p.default(q,[["__scopeId","data-v-bdf0e48a"]]);exports.default=B;
@@ -1,7 +1,7 @@
1
1
  import { withAsyncContext as h, ref as u, computed as d, openBlock as l, createElementBlock as p, createElementVNode as o, unref as v, Fragment as w, renderList as g, createBlock as k, withCtx as y, pushScopeId as C, popScopeId as x } from "vue";
2
2
  import "../../../../components/Field/Field.vue.js";
3
3
  import B from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- import "../../../../components/Select/Select.vue2.js";
4
+ import "../../../../components/Select/Select.vue.js";
5
5
  import "../../../../components/Button/Button.vue.js";
6
6
  import "../../../../components/Upload/Upload.vue2.js";
7
7
  import $ from "../blocks/CardBlogpost.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../constructor/components/elements/Textarea.vue.cjs"),V=require("../../../constructor/components/sections/Constructor.vue.cjs"),y=require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/FieldTags/tag-input.vue.cjs");require("../../../../components/FieldTags/vue-tags-input.scss.cjs");const B=require("../../../../components/FieldTags/BlockTags.vue.cjs"),N=require("../../../../components/Checkbox/Checkbox.vue.cjs"),C=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),x=require("../../../../components/Button/Button.vue2.cjs"),f=require("vue-router"),n=require("../../store/blogposts.cjs"),i=require("../../../auth/store/auth.cjs"),q=require("../../../organizations/store/organizations.cjs"),E={class:"pd-thin"},T={style:{"min-height":"100%"},class:"w-100 bg-grey pd-big radius-big"},z={class:"w-full h-full"},A={key:0,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},O={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},U=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),D=e.createElementVNode("h5",{class:"mn-b-thin"},"Add source:",-1),M=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),S={key:0,class:"mn-b-thin"},F={key:1,class:"mn-b-medium br-grey br-2px br-solid pd-small radius-big"},R={__name:"CreateBlogPost",setup($){const s=f.useRoute(),u=f.useRouter();let t=e.ref(null),p=e.ref(null);const c=e.ref([]),r=e.ref(null);e.onMounted(async()=>{const o=await q.actions.read({user:i.state.user._id,postable:i.state.user._id,limit:100});if(p.value=o.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo})),s.params.url){const a=await n.read({user:i.state.user._id,url:s.params.url});t.value=a.pop()}else n.clean(),t.value=n.state.current;t.value.owner||(t.value.owner={target:i.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:i.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(r.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo}),console.log(o)});const g=e.ref(""),m=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);e.computed(()=>m.value.filter(o=>o.text.toLowerCase().includes(g.value.toLowerCase()))),e.computed(()=>m.value.filter(o=>!c.value.some(a=>a.text===o.text)));const d=e.ref(!1);function h(){d.value=!0}function v(){d.value=!1}function b(){c.value.length>0&&c.value.map(o=>o.text),t.value.status="draft",s.params.url?n.update(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)})}function k(){r.value&&(t.value.owner={target:r.value._id,type:"organization"}),r.value||(t.value.creator.hidden=!1),r.value||(t.value.organization=t.value.creator),t.value.status="published",console.log(t.value),s.params.url?n.update(t.value).then(o=>{console.log(t.value),u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)})}function _(){confirm("Are you sure you want to delete this post?")&&n.remove(t.value._id).then(o=>{u.push({name:"User Blogposts",params:{_id:t.value.creator.target._id}})}).catch(o=>{console.log(o)})}return(o,a)=>(e.openBlock(),e.createElementBlock("article",E,[e.createElementVNode("section",T,[e.createElementVNode("div",z,[e.unref(t)?(e.openBlock(),e.createBlock(w.default,{key:0,prop:e.unref(t),setFocus:!0,content:"name",placeholder:"Enter post title",class:"h2"},null,8,["prop"])):e.createCommentVNode("",!0)]),e.unref(t)?(e.openBlock(),e.createBlock(V.default,{key:0,content:e.unref(t).content,onUpdate:a[0]||(a[0]=l=>e.unref(t).content=l)},null,8,["content"])):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"scaleIn"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("section",A,[e.createElementVNode("div",O,[e.unref(s).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[1]||(a[1]=l=>_()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[2]||(a[2]=l=>b()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[3]||(a[3]=l=>h()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(y.default,{title:"Добавить участника",onClosePopup:v,isPopupOpen:d.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[U,e.createVNode(B.default,{onTagsChanged:a[4]||(a[4]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),D,e.createVNode(C.default,{field:e.unref(t).source,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).source=l),placeholder:"Add full link to the source",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["field"]),M,e.createVNode(P.default,{modelValue:r.value,"onUpdate:modelValue":a[6]||(a[6]=l=>r.value=l),options:e.unref(p),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["modelValue","options"]),r.value?(e.openBlock(),e.createElementBlock("h5",S,"Options:")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(N.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[7]||(a[7]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(x.default,{submit:k,callback:o.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])]))}};exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../constructor/components/elements/Textarea.vue2.cjs"),V=require("../../../constructor/components/sections/Constructor.vue.cjs"),y=require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/FieldTags/tag-input.vue.cjs");require("../../../../components/FieldTags/vue-tags-input.scss.cjs");const B=require("../../../../components/FieldTags/BlockTags.vue.cjs"),N=require("../../../../components/Checkbox/Checkbox.vue.cjs"),C=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),x=require("../../../../components/Button/Button.vue2.cjs"),f=require("vue-router"),n=require("../../store/blogposts.cjs"),i=require("../../../auth/store/auth.cjs"),q=require("../../../organizations/store/organizations.cjs"),E={class:"pd-thin"},T={style:{"min-height":"100%"},class:"w-100 bg-grey pd-big radius-big"},z={class:"w-full h-full"},A={key:0,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},O={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},U=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),D=e.createElementVNode("h5",{class:"mn-b-thin"},"Add source:",-1),M=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),S={key:0,class:"mn-b-thin"},F={key:1,class:"mn-b-medium br-grey br-2px br-solid pd-small radius-big"},R={__name:"CreateBlogPost",setup($){const s=f.useRoute(),u=f.useRouter();let t=e.ref(null),p=e.ref(null);const c=e.ref([]),r=e.ref(null);e.onMounted(async()=>{const o=await q.actions.read({user:i.state.user._id,postable:i.state.user._id,limit:100});if(p.value=o.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo})),s.params.url){const a=await n.read({user:i.state.user._id,url:s.params.url});t.value=a.pop()}else n.clean(),t.value=n.state.current;t.value.owner||(t.value.owner={target:i.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:i.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(r.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo}),console.log(o)});const g=e.ref(""),m=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);e.computed(()=>m.value.filter(o=>o.text.toLowerCase().includes(g.value.toLowerCase()))),e.computed(()=>m.value.filter(o=>!c.value.some(a=>a.text===o.text)));const d=e.ref(!1);function h(){d.value=!0}function v(){d.value=!1}function b(){c.value.length>0&&c.value.map(o=>o.text),t.value.status="draft",s.params.url?n.update(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)})}function k(){r.value&&(t.value.owner={target:r.value._id,type:"organization"}),r.value||(t.value.creator.hidden=!1),r.value||(t.value.organization=t.value.creator),t.value.status="published",console.log(t.value),s.params.url?n.update(t.value).then(o=>{console.log(t.value),u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)})}function _(){confirm("Are you sure you want to delete this post?")&&n.remove(t.value._id).then(o=>{u.push({name:"User Blogposts",params:{_id:t.value.creator.target._id}})}).catch(o=>{console.log(o)})}return(o,a)=>(e.openBlock(),e.createElementBlock("article",E,[e.createElementVNode("section",T,[e.createElementVNode("div",z,[e.unref(t)?(e.openBlock(),e.createBlock(w.default,{key:0,prop:e.unref(t),setFocus:!0,content:"name",placeholder:"Enter post title",class:"h2"},null,8,["prop"])):e.createCommentVNode("",!0)]),e.unref(t)?(e.openBlock(),e.createBlock(V.default,{key:0,content:e.unref(t).content,onUpdate:a[0]||(a[0]=l=>e.unref(t).content=l)},null,8,["content"])):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"scaleIn"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("section",A,[e.createElementVNode("div",O,[e.unref(s).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[1]||(a[1]=l=>_()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[2]||(a[2]=l=>b()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[3]||(a[3]=l=>h()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(y.default,{title:"Добавить участника",onClosePopup:v,isPopupOpen:d.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[U,e.createVNode(B.default,{onTagsChanged:a[4]||(a[4]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),D,e.createVNode(C.default,{field:e.unref(t).source,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).source=l),placeholder:"Add full link to the source",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["field"]),M,e.createVNode(P.default,{modelValue:r.value,"onUpdate:modelValue":a[6]||(a[6]=l=>r.value=l),options:e.unref(p),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["modelValue","options"]),r.value?(e.openBlock(),e.createElementBlock("h5",S,"Options:")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(N.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[7]||(a[7]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(x.default,{submit:k,callback:o.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])]))}};exports.default=R;
@@ -1,7 +1,7 @@
1
1
  import { ref as n, onMounted as A, computed as w, openBlock as i, createElementBlock as m, createElementVNode as r, unref as a, createBlock as k, createCommentVNode as c, createVNode as u, Transition as U, withCtx as v, createTextVNode as z } from "vue";
2
- import D from "../../../constructor/components/elements/Textarea.vue.js";
2
+ import D from "../../../constructor/components/elements/Textarea.vue2.js";
3
3
  import N from "../../../constructor/components/sections/Constructor.vue.js";
4
- import O from "../../../../components/Popup/Popup.vue.js";
4
+ import O from "../../../../components/Popup/Popup.vue2.js";
5
5
  import "../../../../components/FieldTags/tag-input.vue.js";
6
6
  import "../../../../components/FieldTags/vue-tags-input.scss.js";
7
7
  import E from "../../../../components/FieldTags/BlockTags.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");require("vue-i18n");require("../../../../components/Field/Field.vue.cjs");const s=require("../../../../components/Slider/Slider.vue.cjs"),i=require("../../../icons/navigation/IconArrow.vue.cjs"),n=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),r=require("../../../auth/store/auth.cjs");require("./HotPosts.vue2.cjs");const a={class:"pd-thin"},c={class:"bg-grey radius-big pd-t-big pd-b-big"},u={class:"w-100 pd-b-small t-center flex-center flex"},d=e.createElementVNode("b",null,"Community",-1),p={__name:"HotPosts",setup(_){return(h,g)=>{const o=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("div",c,[e.createElementVNode("h2",u,[e.createTextVNode(" Discover Our "),e.createVNode(o,{to:{name:"Blog"},class:"transition-ease-in hover-bg-black hover-t-white transition-timing-1 hover-scale-0 bg-main cursor-pointer pd-thin mn-l-thin radius-extra flex flex-v-center"},{default:e.withCtx(()=>[d,e.createVNode(i.default,{class:"mn-l-thin radius-extra bg-white i-big"})]),_:1})]),e.createVNode(s.default,{store:{read:t=>l.read(t)},options:{skip:0,limit:8,user:r.state.user._id,period:"year"},text:{messages:{en:{title:"No Blogposts Found",description:"Currently, there are no blogposts available."}}},class:"slider-hotpost"},{default:e.withCtx(({item:t})=>[(e.openBlock(),e.createBlock(n.default,{key:t._id,blogpost:t,user:r.state.user._id,hideDescription:!0,class:"bg-white flex flex-column h-35r"},null,8,["blogpost","user"]))]),_:1},8,["store","options","text"])])])}}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");require("vue-i18n");require("../../../../components/Field/Field.vue.cjs");const s=require("../../../../components/Slider/Slider.vue.cjs"),i=require("../../../icons/navigation/IconArrow.vue.cjs"),n=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),r=require("../../../auth/store/auth.cjs");require("./HotPosts.vue2.cjs");const a={class:"pd-thin"},c={class:"bg-grey radius-big pd-t-big pd-b-big"},u={class:"w-100 pd-b-small t-center flex-center flex"},d=e.createElementVNode("b",null,"Community",-1),p={__name:"HotPosts",setup(_){return(h,g)=>{const o=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("div",c,[e.createElementVNode("h2",u,[e.createTextVNode(" Discover Our "),e.createVNode(o,{to:{name:"Blog"},class:"transition-ease-in hover-bg-black hover-t-white transition-timing-1 hover-scale-0 bg-main cursor-pointer pd-thin mn-l-thin radius-extra flex flex-v-center"},{default:e.withCtx(()=>[d,e.createVNode(i.default,{class:"mn-l-thin radius-extra bg-white i-big"})]),_:1})]),e.createVNode(s.default,{store:{read:t=>l.read(t)},options:{skip:0,limit:8,user:r.state.user._id,period:"year"},text:{messages:{en:{title:"No Blogposts Found",description:"Currently, there are no blogposts available."}}},class:"slider-hotpost"},{default:e.withCtx(({item:t})=>[(e.openBlock(),e.createBlock(n.default,{key:t._id,blogpost:t,user:r.state.user._id,hideDescription:!0,class:"bg-white flex flex-column h-35r"},null,8,["blogpost","user"]))]),_:1},8,["store","options"])])])}}};exports.default=p;
@@ -60,7 +60,7 @@ const h = { class: "pd-thin" }, f = { class: "bg-grey radius-big pd-t-big pd-b-b
60
60
  }, null, 8, ["blogpost", "user"]))
61
61
  ]),
62
62
  _: 1
63
- }, 8, ["store", "options", "text"])
63
+ }, 8, ["store", "options"])
64
64
  ])
65
65
  ]);
66
66
  };
@@ -1,5 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Textarea.vue2.cjs");const k=["placeholder"],x={__name:"Textarea",props:["prop","value","content","placeholder","index","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(o,{emit:s}){const t=o,c=s;e.ref(t);const n=e.ref(null);e.ref(0);function d(a){let l=a.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let i=l.slice(1).map(f=>({__name:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:i,ref:n})}else a.target.value.trim()===""&&a.target.value.includes(`
2
-
3
- `)&&(console.log("We are adding new block:"+t.index+newBlocks+n),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:n})),r()}function p(a){(a.keyCode===8||a.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function u(){e.nextTick(()=>{n.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){n.value.style.height="1rem",n.value.style.height=n.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),(a,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=i=>o.prop[o.content]=i),placeholder:o.placeholder?o.placeholder:"",onInput:d,onFocus:l[1]||(l[1]=i=>c("focus",n.value)),onKeyup:p,ref_key:"textarea",ref:n,tabindex:"-1",class:e.normalizeClass(["text-area mn-b-thin",{"t-main t-semi":o.prop.type==="Link"}])},`
4
-
5
- `,42,k),[[e.vModelText,o.prop[o.content]]])]))}};exports.default=x;
1
+ "use strict";