@ozdao/prometheus-framework 0.2.60 → 0.2.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. package/dist/auth.server.js +8 -190
  2. package/dist/auth.server.mjs +8 -190
  3. package/dist/community.server.js +3 -2
  4. package/dist/community.server.mjs +2 -1
  5. package/dist/events.server.js +101 -29
  6. package/dist/events.server.mjs +100 -28
  7. package/dist/files.server.js +7 -7
  8. package/dist/files.server.mjs +7 -7
  9. package/dist/gallery.server.js +2 -2
  10. package/dist/gallery.server.mjs +2 -2
  11. package/dist/main-DsseFd2d.mjs +13753 -0
  12. package/dist/main-U466Gwzt.js +91 -0
  13. package/dist/main.css +1 -1
  14. package/dist/metadata.schema-CS6_9GLU.js +174 -0
  15. package/dist/metadata.schema-D88c1Ebp.mjs +175 -0
  16. package/dist/organizations.server.js +212 -16
  17. package/dist/organizations.server.mjs +212 -16
  18. package/dist/ownership.schema-DN0SlQL6.js +36 -0
  19. package/dist/ownership.schema-oyx6eNkZ.mjs +37 -0
  20. package/dist/products.server.js +8 -5
  21. package/dist/products.server.mjs +8 -5
  22. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +19 -14
  24. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -55
  26. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +55 -1
  28. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +27 -27
  30. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -51
  32. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  33. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +51 -1
  34. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -97
  36. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  37. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  38. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  40. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -36
  42. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +36 -1
  44. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  46. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/auth/auth.client.js +12 -14
  48. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +197 -183
  66. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -0
  67. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +168 -0
  68. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +1 -0
  69. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +1 -0
  70. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  74. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/events/router/events.js +11 -2
  80. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +67 -64
  86. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  90. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  102. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +24 -24
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  114. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  116. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -38
  118. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +19 -19
  120. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +5 -5
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +36 -27
  124. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +7 -7
  132. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +20 -20
  134. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  136. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +36 -50
  138. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  148. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  150. package/dist/prometheus-framework.cjs.js +1 -1
  151. package/dist/prometheus-framework.es.js +1 -1
  152. package/dist/style.css +1 -1
  153. package/dist/web-D7bW32Ul.mjs +54 -0
  154. package/dist/web-DpE9HxA3.js +1 -0
  155. package/package.json +1 -1
  156. package/src/components/Chips/Chips.vue +2 -2
  157. package/src/components/Feed/Feed.vue +2 -1
  158. package/src/modules/auth/auth.client.js +0 -2
  159. package/src/modules/auth/auth.server.js +1 -6
  160. package/src/modules/auth/components/pages/Invite.vue +1 -1
  161. package/src/modules/events/components/pages/EditEvent.vue +19 -0
  162. package/src/modules/events/components/pages/EditEventTickets.vue +194 -0
  163. package/src/modules/events/controllers/tickets.controller.js +103 -28
  164. package/src/modules/events/models/ticket.model.js +22 -4
  165. package/src/modules/events/router/events.js +5 -0
  166. package/src/modules/events/routes/tickets.routes.js +2 -2
  167. package/src/modules/events/store/tickets.js +1 -0
  168. package/src/modules/globals/components/blocks/CardHeader.vue +6 -6
  169. package/src/modules/organizations/components/pages/Members.vue +1 -1
  170. package/src/modules/organizations/components/pages/Organization.vue +4 -4
  171. package/src/modules/organizations/components/sections/MembersAdd.vue +1 -1
  172. package/src/modules/organizations/controllers/departments.controller.js +14 -1
  173. package/src/modules/organizations/models/department.model.js +5 -1
  174. package/src/modules/organizations/organizations.client.js +2 -0
  175. package/src/modules/organizations/organizations.server.js +6 -2
  176. package/src/modules/organizations/routes/departments.routes.js +1 -1
  177. package/src/modules/organizations/store/departments.js +3 -2
  178. package/src/modules/products/components/blocks/CardLeftover.vue +19 -7
  179. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  180. package/src/modules/products/components/pages/Leftovers.vue +14 -3
  181. package/src/modules/products/components/pages/Products.vue +8 -8
  182. package/src/modules/products/models/leftover.model.js +9 -5
  183. package/src/modules/users/models/client.model.js +60 -0
  184. /package/src/modules/{auth → organizations}/controllers/invites.controller.js +0 -0
  185. /package/src/modules/{auth → organizations}/models/invite.model.js +0 -0
  186. /package/src/modules/{auth → organizations}/routes/invites.routes.js +0 -0
  187. /package/src/modules/{auth → organizations}/store/invites.js +0 -0
@@ -1,13 +1,13 @@
1
- import { ref as b, onMounted as $, unref as t, openBlock as d, createElementBlock as r, createElementVNode as s, createVNode as i, createCommentVNode as f, createBlock as B, withCtx as D, Fragment as T, renderList as _, createTextVNode as R } from "vue";
1
+ import { ref as v, onMounted as $, unref as t, openBlock as r, createElementBlock as u, createElementVNode as i, createVNode as s, createCommentVNode as p, createBlock as F, withCtx as D, Fragment as T, renderList as _, createTextVNode as A } from "vue";
2
2
  import "../../../constructor/components/elements/Textarea.vue.js";
3
- import I from "../../../constructor/components/sections/Constructor.vue.js";
4
- import A from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
3
+ import B from "../../../constructor/components/sections/Constructor.vue.js";
4
+ import I from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
5
5
  import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
6
- import P from "../../../../components/Block/Block.vue.js";
6
+ import E from "../../../../components/Block/Block.vue.js";
7
7
  import z from "../../../../components/Popup/Popup.vue.js";
8
8
  import n from "../../../../components/Field/Field.vue.js";
9
9
  import H from "../../../../components/FieldTags/BlockTags.vue.js";
10
- import E from "../../../../components/Checkbox/Checkbox.vue.js";
10
+ import P from "../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import Y from "../../../../components/SelectMulti/SelectMulti.vue.js";
12
12
  import k from "../../../../components/Upload/Upload.vue.js";
13
13
  import y from "../../../../components/UploadImage/UploadImage.vue.js";
@@ -15,63 +15,66 @@ import J from "../../../../components/EditImages/EditImages.vue.js";
15
15
  import j from "../../../../components/Button/Button.vue.js";
16
16
  import L from "../../../icons/navigation/IconDelete.vue.js";
17
17
  import { useRoute as q, useRouter as K } from "vue-router";
18
- import { read as Q, clean as W, state as X, update as C, create as V, remove as Z } from "../../store/events.js";
19
- import { state as u } from "../../../auth/store/auth.js";
18
+ import { read as Q, clean as W, state as X, update as O, create as C, remove as Z } from "../../store/events.js";
19
+ import { state as d } from "../../../auth/store/auth.js";
20
20
  import { actions as ee } from "../../../organizations/store/organizations.js";
21
21
  import "./EditEvent.vue2.js";
22
22
  const le = {
23
23
  key: 0,
24
24
  class: "h-100 pd-thin"
25
- }, ae = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, te = /* @__PURE__ */ s("h4", null, "Upload Event Cover", -1), ie = {
25
+ }, ae = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, te = /* @__PURE__ */ i("h4", null, "Upload Event Cover", -1), se = {
26
26
  key: 0,
27
27
  class: "mn-b-small"
28
- }, se = {
28
+ }, ie = {
29
29
  key: 2,
30
+ class: "mn-b-small"
31
+ }, oe = {
32
+ key: 4,
30
33
  class: "mn-b-semi"
31
- }, oe = /* @__PURE__ */ s("h4", { class: "mn-b-thin" }, " Hero Section ", -1), ne = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1), de = /* @__PURE__ */ s("p", null, "Need to upload in webm format because of needs of optimization", -1), re = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, " Ticket ", -1), ue = { class: "mn-b-small gap-small cols-2-fit-content" }, pe = { class: "gap-thin flex-nowrap flex w-100" }, me = /* @__PURE__ */ s("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), ce = /* @__PURE__ */ s("h4", { class: "mn-b-thin" }, " Guest Section ", -1), fe = { class: "gap-thin cols-3" }, ge = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1), be = { class: "gap-thin flex-nowrap flex w-100" }, he = { class: "w-100" }, ve = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, De = /* @__PURE__ */ s("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), ke = /* @__PURE__ */ s("h4", { class: "mn-b-thin" }, " Lineup Section ", -1), we = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ye = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1), Ue = /* @__PURE__ */ s("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), xe = /* @__PURE__ */ s("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1), Te = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1), _e = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Date", -1), Pe = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Description", -1), Ee = {
32
- key: 3,
34
+ }, ne = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Hero Section ", -1), de = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1), re = /* @__PURE__ */ i("p", null, "Need to upload in webm format because of needs of optimization", -1), ue = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Ticket ", -1), pe = { class: "mn-b-small gap-small cols-2-fit-content" }, me = { class: "gap-thin flex-nowrap flex w-100" }, ce = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), fe = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Guest Section ", -1), ge = { class: "gap-thin cols-3" }, be = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1), he = { class: "gap-thin flex-nowrap flex w-100" }, ve = { class: "w-100" }, De = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ke = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), we = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Lineup Section ", -1), ye = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, Ue = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1), xe = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), Te = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1), _e = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1), Ee = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Date", -1), Pe = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Description", -1), Le = {
35
+ key: 5,
33
36
  class: "pd-b-extra w-100 bg-grey pd-big radius-big"
34
- }, Le = {
35
- key: 4,
37
+ }, Oe = {
38
+ key: 6,
36
39
  class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
37
- }, Ce = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Ve = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Final Touches", -1), Se = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, "Add to public:", -1), Me = {
40
+ }, Ce = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Me = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Final Touches", -1), Ve = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, "Add to public:", -1), Re = {
38
41
  key: 0,
39
42
  class: "mn-b-thin"
40
- }, Ge = {
43
+ }, Se = {
41
44
  key: 1,
42
45
  class: "mn-b-medium br-grey br-2px br-solid pd-small radius-big"
43
- }, tl = {
46
+ }, sl = {
44
47
  __name: "EditEvent",
45
- setup(Oe) {
46
- const h = q(), v = K();
47
- let e = b(null), U = b(null);
48
- const x = b([]), p = b(null), m = b(), S = () => ({ top: 0, left: 0 });
48
+ setup(Ne) {
49
+ const b = q(), h = K();
50
+ let e = v(null), U = v(null);
51
+ const x = v([]), m = v(null), c = v(), M = () => ({ top: 0, left: 0 });
49
52
  $(async () => {
50
- if (h.params.url) {
51
- const a = await Q({ user: u.user._id, url: h.params.url });
53
+ if (b.params.url) {
54
+ const a = await Q({ user: d.user._id, url: b.params.url });
52
55
  e.value = a.pop(), console.log(e.value);
53
56
  const l = e.value.date.start, g = e.value.date.end;
54
- m.value = [l, g];
57
+ c.value = [l, g];
55
58
  } else {
56
59
  W(), e.value = X.current;
57
60
  const a = /* @__PURE__ */ new Date(), l = /* @__PURE__ */ new Date();
58
- m.value = [a, l];
61
+ c.value = [a, l];
59
62
  }
60
63
  e.value.owner || (e.value.owner = {
61
- target: u.user._id,
64
+ target: d.user._id,
62
65
  type: "user"
63
66
  }), e.value.creator || (e.value.creator = {
64
- target: u.user._id,
67
+ target: d.user._id,
65
68
  type: "user",
66
69
  hidden: !1
67
- }), e.value.owner.type === "organization" && (p.value = {
70
+ }), e.value.owner.type === "organization" && (m.value = {
68
71
  _id: e.value.owner.target._id,
69
72
  name: e.value.owner.target.profile.name,
70
73
  photo: e.value.owner.target.profile.photo
71
74
  });
72
75
  const o = await ee.read({
73
- user: u.user._id,
74
- postable: u.user._id,
76
+ user: d.user._id,
77
+ postable: d.user._id,
75
78
  limit: 100
76
79
  });
77
80
  U.value = o.map((a) => ({
@@ -80,54 +83,54 @@ const le = {
80
83
  photo: a.profile.photo
81
84
  }));
82
85
  });
83
- const w = b(!1);
84
- function M() {
86
+ const w = v(!1);
87
+ function V() {
85
88
  w.value = !0;
86
89
  }
87
- function G() {
90
+ function R() {
88
91
  w.value = !1;
89
92
  }
90
- function O() {
93
+ function S() {
91
94
  x.value.length > 0 && x.value.map((o) => o.text), e.value.status = "draft", e.value.date = {
92
- start: m.value[0],
93
- end: m.value[1]
94
- }, h.params.url ? C(e.value).then((o) => {
95
- v.push({ name: "Event", params: { url: o.url } });
95
+ start: c.value[0],
96
+ end: c.value[1]
97
+ }, b.params.url ? O(e.value).then((o) => {
98
+ h.push({ name: "Event", params: { url: o.url } });
96
99
  }).catch((o) => {
97
100
  console.error(o);
98
- }) : V(e.value).then((o) => {
99
- v.push({ name: "Event", params: { url: o.url } });
101
+ }) : C(e.value).then((o) => {
102
+ h.push({ name: "Event", params: { url: o.url } });
100
103
  }).catch((o) => {
101
104
  console.error(o);
102
105
  });
103
106
  }
104
- function F() {
105
- p.value && (e.value.owner = {
106
- target: p.value._id,
107
+ function N() {
108
+ m.value && (e.value.owner = {
109
+ target: m.value._id,
107
110
  type: "organization"
108
- }), p.value || (e.value.creator.hidden = !1), p.value || (e.value.organization = e.value.creator), e.value.status = "published", e.value.date = {
109
- start: m.value[0],
110
- end: m.value[1]
111
- }, console.log(m.value), h.params.url ? (console.log(e.value), C(e.value).then((o) => {
112
- v.push({ name: "Event", params: { url: o.url } });
111
+ }), m.value || (e.value.creator.hidden = !1), m.value || (e.value.organization = e.value.creator), e.value.status = "published", e.value.date = {
112
+ start: c.value[0],
113
+ end: c.value[1]
114
+ }, console.log(c.value), b.params.url ? (console.log(e.value), O(e.value).then((o) => {
115
+ h.push({ name: "Event", params: { url: o.url } });
113
116
  }).catch((o) => {
114
117
  console.log(o);
115
- })) : V(e.value).then((o) => {
116
- v.push({ name: "Event", params: { url: o.url } });
118
+ })) : C(e.value).then((o) => {
119
+ h.push({ name: "Event", params: { url: o.url } });
117
120
  }).catch((o) => {
118
121
  console.log(o);
119
122
  });
120
123
  }
121
- function N() {
124
+ function G() {
122
125
  confirm("Are you sure you want to delete this event?") && Z(e.value._id).then((o) => {
123
- v.push({ name: "User Events", params: { _id: e.value.creator.target._id } });
126
+ h.push({ name: "User Events", params: { _id: e.value.creator.target._id } });
124
127
  }).catch((o) => {
125
128
  console.error(o);
126
129
  });
127
130
  }
128
- return (o, a) => t(e) ? (d(), r("article", le, [
129
- s("div", ae, [
130
- i(y, {
131
+ return (o, a) => t(e) ? (r(), u("article", le, [
132
+ i("div", ae, [
133
+ s(y, {
131
134
  photo: t(e).cover,
132
135
  "onUpdate:photo": a[0] || (a[0] = (l) => t(e).cover = l),
133
136
  uploadPath: "specials",
@@ -135,36 +138,47 @@ const le = {
135
138
  }, null, 8, ["photo"]),
136
139
  te
137
140
  ]),
138
- i(n, {
141
+ s(n, {
139
142
  field: t(e).name,
140
143
  "onUpdate:field": a[1] || (a[1] = (l) => t(e).name = l),
141
144
  placeholder: "Event name",
142
145
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
143
146
  }, null, 8, ["field"]),
144
- i(n, {
147
+ s(n, {
145
148
  field: t(e).description,
146
149
  "onUpdate:field": a[2] || (a[2] = (l) => t(e).description = l),
147
150
  type: "textfield",
148
151
  placeholder: "Enter short description",
149
152
  class: "mn-b-semi w-100 bg-grey pd-medium radius-small"
150
153
  }, null, 8, ["field"]),
151
- u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), r("h3", ie, " Special Details ")) : f("", !0),
152
- u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), B(E, {
154
+ d.access.roles && (d.access.roles.includes("ROLE_MODERATOR") || d.access.roles.includes("ROLE_ADMIN")) ? (r(), u("h3", se, " Tickets ")) : p("", !0),
155
+ d.access.roles && (d.access.roles.includes("ROLE_MODERATOR") || d.access.roles.includes("ROLE_ADMIN")) ? (r(), u("div", {
153
156
  key: 1,
157
+ class: "mn-b-semi w-100 bg-grey pd-medium radius-small",
158
+ onClick: a[3] || (a[3] = (l) => t(h).push({
159
+ name: "Edit Event Tickets",
160
+ params: {
161
+ url: t(b).params.url
162
+ }
163
+ }))
164
+ }, " Edit tickets ")) : p("", !0),
165
+ d.access.roles && (d.access.roles.includes("ROLE_MODERATOR") || d.access.roles.includes("ROLE_ADMIN")) ? (r(), u("h3", ie, " Special Details ")) : p("", !0),
166
+ d.access.roles && (d.access.roles.includes("ROLE_MODERATOR") || d.access.roles.includes("ROLE_ADMIN")) ? (r(), F(P, {
167
+ key: 3,
154
168
  label: "Special",
155
169
  radio: t(e).special,
156
- "onUpdate:radio": a[3] || (a[3] = (l) => t(e).special = !t(e).special),
170
+ "onUpdate:radio": a[4] || (a[4] = (l) => t(e).special = !t(e).special),
157
171
  class: "mn-b-semi w-100 bg-black t-white pd-medium radius-small"
158
- }, null, 8, ["radio"])) : f("", !0),
159
- t(e).special ? (d(), r("div", se, [
160
- oe,
161
- i(n, {
172
+ }, null, 8, ["radio"])) : p("", !0),
173
+ t(e).special ? (r(), u("div", oe, [
174
+ ne,
175
+ s(n, {
162
176
  field: t(e).specialData.subtitle,
163
- "onUpdate:field": a[4] || (a[4] = (l) => t(e).specialData.subtitle = l),
177
+ "onUpdate:field": a[5] || (a[5] = (l) => t(e).specialData.subtitle = l),
164
178
  placeholder: "Event subtitle",
165
179
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
166
180
  }, null, 8, ["field"]),
167
- i(J, {
181
+ s(J, {
168
182
  images: t(e).specialData.logos,
169
183
  uploadPath: "/specials",
170
184
  text: {
@@ -175,125 +189,125 @@ const le = {
175
189
  showTitle: !0,
176
190
  showText: !1
177
191
  },
178
- "onUpdate:images": a[5] || (a[5] = (l) => t(e).specialData.logos = l),
192
+ "onUpdate:images": a[6] || (a[6] = (l) => t(e).specialData.logos = l),
179
193
  class: "mn-b-thin bg-grey radius-small"
180
194
  }, null, 8, ["images"]),
181
- ne,
182
195
  de,
183
- i(k, {
196
+ re,
197
+ s(k, {
184
198
  field: t(e).specialData.video,
185
- "onUpdate:field": a[6] || (a[6] = (l) => t(e).specialData.video = l),
199
+ "onUpdate:field": a[7] || (a[7] = (l) => t(e).specialData.video = l),
186
200
  placeholder: "Upload video",
187
- onFileChange: a[7] || (a[7] = (l) => t(e).specialData.video = l),
201
+ onFileChange: a[8] || (a[8] = (l) => t(e).specialData.video = l),
188
202
  uploadPath: "specials",
189
203
  type: "file",
190
204
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
191
205
  }, null, 8, ["field"]),
192
- re,
193
- s("div", ue, [
194
- i(y, {
206
+ ue,
207
+ i("div", pe, [
208
+ s(y, {
195
209
  photo: t(e).specialData.ticketImage,
196
- "onUpdate:photo": a[8] || (a[8] = (l) => t(e).specialData.ticketImage = l),
210
+ "onUpdate:photo": a[9] || (a[9] = (l) => t(e).specialData.ticketImage = l),
197
211
  uploadPath: "/specials",
198
212
  class: "aspect-1x1 w-4r o-hidden radius-extra"
199
213
  }, null, 8, ["photo"]),
200
- s("div", pe, [
201
- i(n, {
214
+ i("div", me, [
215
+ s(n, {
202
216
  field: t(e).specialData.ticketLinkStripe,
203
- "onUpdate:field": a[9] || (a[9] = (l) => t(e).specialData.ticketLinkStripe = l),
217
+ "onUpdate:field": a[10] || (a[10] = (l) => t(e).specialData.ticketLinkStripe = l),
204
218
  placeholder: "Link to ticket stripe payment page",
205
219
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
206
220
  }, null, 8, ["field"]),
207
- i(n, {
221
+ s(n, {
208
222
  field: t(e).specialData.ticketPrice,
209
- "onUpdate:field": a[10] || (a[10] = (l) => t(e).specialData.ticketPrice = l),
223
+ "onUpdate:field": a[11] || (a[11] = (l) => t(e).specialData.ticketPrice = l),
210
224
  type: "number",
211
225
  placeholder: "Ticket price in baht",
212
226
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
213
227
  }, null, 8, ["field"]),
214
- i(n, {
228
+ s(n, {
215
229
  field: t(e).specialData.ticketText,
216
- "onUpdate:field": a[11] || (a[11] = (l) => t(e).specialData.ticketText = l),
230
+ "onUpdate:field": a[12] || (a[12] = (l) => t(e).specialData.ticketText = l),
217
231
  placeholder: "Promotion text for ticket in hero ",
218
232
  class: "w-100 bg-grey radius-small pd-medium"
219
233
  }, null, 8, ["field"]),
220
- i(n, {
234
+ s(n, {
221
235
  field: t(e).specialData.ticketTextButton,
222
- "onUpdate:field": a[12] || (a[12] = (l) => t(e).specialData.ticketTextButton = l),
236
+ "onUpdate:field": a[13] || (a[13] = (l) => t(e).specialData.ticketTextButton = l),
223
237
  placeholder: "Text on 'Buy Ticket' button ",
224
238
  class: "w-100 bg-grey radius-small pd-medium"
225
239
  }, null, 8, ["field"])
226
240
  ])
227
241
  ]),
228
- me,
229
242
  ce,
230
- i(n, {
243
+ fe,
244
+ s(n, {
231
245
  field: t(e).specialData.guestTitle,
232
- "onUpdate:field": a[13] || (a[13] = (l) => t(e).specialData.guestTitle = l),
246
+ "onUpdate:field": a[14] || (a[14] = (l) => t(e).specialData.guestTitle = l),
233
247
  placeholder: "Title for Main Guest section",
234
248
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
235
249
  }, null, 8, ["field"]),
236
- i(n, {
250
+ s(n, {
237
251
  field: t(e).specialData.guestDescription,
238
- "onUpdate:field": a[14] || (a[14] = (l) => t(e).specialData.guestDescription = l),
252
+ "onUpdate:field": a[15] || (a[15] = (l) => t(e).specialData.guestDescription = l),
239
253
  placeholder: "Description for Main Guest section",
240
254
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
241
255
  }, null, 8, ["field"]),
242
- s("div", fe, [
243
- i(n, {
256
+ i("div", ge, [
257
+ s(n, {
244
258
  field: t(e).specialData.guestFacebook,
245
- "onUpdate:field": a[15] || (a[15] = (l) => t(e).specialData.guestFacebook = l),
259
+ "onUpdate:field": a[16] || (a[16] = (l) => t(e).specialData.guestFacebook = l),
246
260
  placeholder: "Facebook of Main Guest",
247
261
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
248
262
  }, null, 8, ["field"]),
249
- i(n, {
263
+ s(n, {
250
264
  field: t(e).specialData.guestInstagram,
251
- "onUpdate:field": a[16] || (a[16] = (l) => t(e).specialData.guestInstagram = l),
265
+ "onUpdate:field": a[17] || (a[17] = (l) => t(e).specialData.guestInstagram = l),
252
266
  placeholder: "Instagram of Main Guest",
253
267
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
254
268
  }, null, 8, ["field"]),
255
- i(n, {
269
+ s(n, {
256
270
  field: t(e).specialData.guestTwitter,
257
- "onUpdate:field": a[17] || (a[17] = (l) => t(e).specialData.guestTwitter = l),
271
+ "onUpdate:field": a[18] || (a[18] = (l) => t(e).specialData.guestTwitter = l),
258
272
  placeholder: "Twitter of Main Guest",
259
273
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
260
274
  }, null, 8, ["field"]),
261
- i(n, {
275
+ s(n, {
262
276
  field: t(e).specialData.guestTelegram,
263
- "onUpdate:field": a[18] || (a[18] = (l) => t(e).specialData.guestTelegram = l),
277
+ "onUpdate:field": a[19] || (a[19] = (l) => t(e).specialData.guestTelegram = l),
264
278
  placeholder: "Telegram of Main Guest",
265
279
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
266
280
  }, null, 8, ["field"]),
267
- i(n, {
281
+ s(n, {
268
282
  field: t(e).specialData.guestSoundcloud,
269
- "onUpdate:field": a[19] || (a[19] = (l) => t(e).specialData.guestSoundcloud = l),
283
+ "onUpdate:field": a[20] || (a[20] = (l) => t(e).specialData.guestSoundcloud = l),
270
284
  placeholder: "Link to Main Guest soundcloud track",
271
285
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
272
286
  }, null, 8, ["field"]),
273
- i(n, {
287
+ s(n, {
274
288
  field: t(e).specialData.guestSpotify,
275
- "onUpdate:field": a[20] || (a[20] = (l) => t(e).specialData.guestSpotify = l),
289
+ "onUpdate:field": a[21] || (a[21] = (l) => t(e).specialData.guestSpotify = l),
276
290
  placeholder: "Link to Main guest spotify track",
277
291
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
278
292
  }, null, 8, ["field"]),
279
- i(n, {
293
+ s(n, {
280
294
  field: t(e).specialData.guestYoutube,
281
- "onUpdate:field": a[21] || (a[21] = (l) => t(e).specialData.guestYoutube = l),
295
+ "onUpdate:field": a[22] || (a[22] = (l) => t(e).specialData.guestYoutube = l),
282
296
  placeholder: "Link to Main guest youtube video",
283
297
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
284
298
  }, null, 8, ["field"])
285
299
  ]),
286
- ge,
287
- i(k, {
300
+ be,
301
+ s(k, {
288
302
  field: t(e).specialData.guestVideo,
289
- "onUpdate:field": a[22] || (a[22] = (l) => t(e).specialData.guestVideo = l),
303
+ "onUpdate:field": a[23] || (a[23] = (l) => t(e).specialData.guestVideo = l),
290
304
  placeholder: "Upload video",
291
- onFileChange: a[23] || (a[23] = (l) => t(e).specialData.guestVideo = l),
305
+ onFileChange: a[24] || (a[24] = (l) => t(e).specialData.guestVideo = l),
292
306
  uploadPath: "/specials",
293
307
  type: "file",
294
308
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
295
309
  }, null, 8, ["field"]),
296
- i(P, {
310
+ s(E, {
297
311
  title: "Guests",
298
312
  placeholder: "No guests added yet",
299
313
  actions: [{
@@ -303,33 +317,33 @@ const le = {
303
317
  class: "cols-1 mn-b-thin t-black gap-thin"
304
318
  }, {
305
319
  default: D(() => [
306
- (d(!0), r(T, null, _(t(e).specialData.guests, (l, g) => (d(), r("div", {
320
+ (r(!0), u(T, null, _(t(e).specialData.guests, (l, g) => (r(), u("div", {
307
321
  class: "mn-b-small gap-small cols-2-fit-content",
308
322
  key: g
309
323
  }, [
310
- i(y, {
324
+ s(y, {
311
325
  photo: l.photo,
312
- "onUpdate:photo": (c) => l.photo = c,
326
+ "onUpdate:photo": (f) => l.photo = f,
313
327
  uploadPath: "/specials",
314
328
  class: "aspect-1x1 w-8r o-hidden radius-extra"
315
329
  }, null, 8, ["photo", "onUpdate:photo"]),
316
- s("div", be, [
317
- s("div", he, [
318
- i(n, {
330
+ i("div", he, [
331
+ i("div", ve, [
332
+ s(n, {
319
333
  field: l.name,
320
- "onUpdate:field": (c) => l.name = c,
334
+ "onUpdate:field": (f) => l.name = f,
321
335
  placeholder: "Name",
322
336
  class: "w-100 mn-b-thin bg-white radius-small pd-medium"
323
337
  }, null, 8, ["field", "onUpdate:field"]),
324
- i(n, {
338
+ s(n, {
325
339
  field: l.description,
326
- "onUpdate:field": (c) => l.description = c,
340
+ "onUpdate:field": (f) => l.description = f,
327
341
  placeholder: "Description",
328
342
  class: "w-100 mn-b-thin bg-white radius-small pd-medium"
329
343
  }, null, 8, ["field", "onUpdate:field"])
330
344
  ]),
331
- s("div", ve, [
332
- i(L, {
345
+ i("div", De, [
346
+ s(L, {
333
347
  onClick: () => t(e).specialData.guests.splice(g, 1),
334
348
  class: "i-medium"
335
349
  }, null, 8, ["onClick"])
@@ -339,9 +353,9 @@ const le = {
339
353
  ]),
340
354
  _: 1
341
355
  }, 8, ["actions"]),
342
- De,
343
356
  ke,
344
- i(P, {
357
+ we,
358
+ s(E, {
345
359
  title: "Line Up",
346
360
  placeholder: "No line ups added yet",
347
361
  actions: [{
@@ -351,24 +365,24 @@ const le = {
351
365
  class: "cols-1 t-black gap-thin"
352
366
  }, {
353
367
  default: D(() => [
354
- (d(!0), r(T, null, _(t(e).specialData.lineup, (l, g) => (d(), r("div", {
368
+ (r(!0), u(T, null, _(t(e).specialData.lineup, (l, g) => (r(), u("div", {
355
369
  class: "mn-b-thin gap-small flex-nowrap flex",
356
370
  key: g
357
371
  }, [
358
- i(n, {
372
+ s(n, {
359
373
  field: l.name,
360
- "onUpdate:field": (c) => l.name = c,
374
+ "onUpdate:field": (f) => l.name = f,
361
375
  placeholder: "Name",
362
376
  class: "w-100 bg-grey radius-small pd-medium"
363
377
  }, null, 8, ["field", "onUpdate:field"]),
364
- i(n, {
378
+ s(n, {
365
379
  field: l.time,
366
- "onUpdate:field": (c) => l.time = c,
380
+ "onUpdate:field": (f) => l.time = f,
367
381
  placeholder: "Time",
368
382
  class: "w-100 bg-grey radius-small pd-medium"
369
383
  }, null, 8, ["field", "onUpdate:field"]),
370
- s("div", we, [
371
- i(L, {
384
+ i("div", ye, [
385
+ s(L, {
372
386
  onClick: () => t(e).specialData.lineup.splice(g, 1),
373
387
  class: "i-medium"
374
388
  }, null, 8, ["onClick"])
@@ -377,105 +391,105 @@ const le = {
377
391
  ]),
378
392
  _: 1
379
393
  }, 8, ["actions"]),
380
- ye,
381
- i(k, {
394
+ Ue,
395
+ s(k, {
382
396
  field: t(e).specialData.lineupBackground,
383
- "onUpdate:field": a[24] || (a[24] = (l) => t(e).specialData.lineupBackground = l),
397
+ "onUpdate:field": a[25] || (a[25] = (l) => t(e).specialData.lineupBackground = l),
384
398
  placeholder: "Upload image",
385
- onFileChange: a[25] || (a[25] = (l) => t(e).specialData.lineupBackground = l),
399
+ onFileChange: a[26] || (a[26] = (l) => t(e).specialData.lineupBackground = l),
386
400
  uploadPath: "/specials",
387
401
  type: "file",
388
402
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
389
403
  }, null, 8, ["field"]),
390
- Ue,
391
404
  xe,
392
405
  Te,
393
- i(n, {
406
+ _e,
407
+ s(n, {
394
408
  field: t(e).specialData.previousTitle,
395
- "onUpdate:field": a[26] || (a[26] = (l) => t(e).specialData.previousTitle = l),
409
+ "onUpdate:field": a[27] || (a[27] = (l) => t(e).specialData.previousTitle = l),
396
410
  placeholder: "Title",
397
411
  value: "Explore our exclusive party archive",
398
412
  class: "w-100 bg-grey radius-small pd-medium"
399
413
  }, null, 8, ["field"]),
400
- i(n, {
414
+ s(n, {
401
415
  field: t(e).specialData.previousDescription,
402
- "onUpdate:field": a[27] || (a[27] = (l) => t(e).specialData.previousDescription = l),
416
+ "onUpdate:field": a[28] || (a[28] = (l) => t(e).specialData.previousDescription = l),
403
417
  label: "Description",
404
418
  value: "Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",
405
419
  class: "w-100 bg-grey radius-small pd-medium"
406
420
  }, null, 8, ["field"]),
407
- i(n, {
421
+ s(n, {
408
422
  field: t(e).specialData.previousLinkText,
409
- "onUpdate:field": a[28] || (a[28] = (l) => t(e).specialData.previousLinkText = l),
423
+ "onUpdate:field": a[29] || (a[29] = (l) => t(e).specialData.previousLinkText = l),
410
424
  label: "Button",
411
425
  value: "Check In Instagram",
412
426
  class: "w-100 bg-grey radius-small pd-medium"
413
427
  }, null, 8, ["field"]),
414
- i(n, {
428
+ s(n, {
415
429
  field: t(e).specialData.previousLink,
416
- "onUpdate:field": a[29] || (a[29] = (l) => t(e).specialData.previousLink = l),
430
+ "onUpdate:field": a[30] || (a[30] = (l) => t(e).specialData.previousLink = l),
417
431
  label: "Link",
418
432
  value: "https://www.instagram.com/thecommune.phuket/",
419
433
  class: "w-100 bg-grey radius-small pd-medium"
420
434
  }, null, 8, ["field"]),
421
- i(k, {
435
+ s(k, {
422
436
  field: t(e).specialData.previousVideo,
423
- "onUpdate:field": a[30] || (a[30] = (l) => t(e).specialData.previousVideo = l),
437
+ "onUpdate:field": a[31] || (a[31] = (l) => t(e).specialData.previousVideo = l),
424
438
  placeholder: "Upload image",
425
- onFileChange: a[31] || (a[31] = (l) => t(e).specialData.previousVideo = l),
439
+ onFileChange: a[32] || (a[32] = (l) => t(e).specialData.previousVideo = l),
426
440
  uploadPath: "/specials",
427
441
  type: "file",
428
442
  class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
429
443
  }, null, 8, ["field"])
430
- ])) : f("", !0),
431
- _e,
432
- i(t(A), {
433
- modelValue: m.value,
434
- "onUpdate:modelValue": a[32] || (a[32] = (l) => m.value = l),
435
- "alt-position": S,
444
+ ])) : p("", !0),
445
+ Ee,
446
+ s(t(I), {
447
+ modelValue: c.value,
448
+ "onUpdate:modelValue": a[33] || (a[33] = (l) => c.value = l),
449
+ "alt-position": M,
436
450
  range: "",
437
451
  class: "mn-b-semi"
438
452
  }, null, 8, ["modelValue"]),
439
453
  Pe,
440
- t(e) ? (d(), r("section", Ee, [
441
- i(I, {
454
+ t(e) ? (r(), u("section", Le, [
455
+ s(B, {
442
456
  content: t(e).content,
443
- onUpdate: a[33] || (a[33] = (l) => t(e).content = l)
457
+ onUpdate: a[34] || (a[34] = (l) => t(e).content = l)
444
458
  }, null, 8, ["content"])
445
- ])) : f("", !0),
446
- t(e) ? (d(), r("section", Le, [
447
- s("div", Ce, [
448
- t(h).params.url ? (d(), r("a", {
459
+ ])) : p("", !0),
460
+ t(e) ? (r(), u("section", Oe, [
461
+ i("div", Ce, [
462
+ t(b).params.url ? (r(), u("a", {
449
463
  key: 0,
450
- onClick: a[34] || (a[34] = (l) => N()),
464
+ onClick: a[35] || (a[35] = (l) => G()),
451
465
  class: "mn-r-auto bg-red t-white t-black button"
452
- }, "Delete")) : f("", !0),
453
- s("a", {
454
- onClick: a[35] || (a[35] = (l) => O()),
466
+ }, "Delete")) : p("", !0),
467
+ i("a", {
468
+ onClick: a[36] || (a[36] = (l) => S()),
455
469
  class: "mn-l-auto bg-white t-black button"
456
470
  }, "To Drafts"),
457
- s("a", {
458
- onClick: a[36] || (a[36] = (l) => M()),
471
+ i("a", {
472
+ onClick: a[37] || (a[37] = (l) => V()),
459
473
  class: "mn-l-thin bg-black t-white button"
460
474
  }, "Publish")
461
475
  ])
462
- ])) : f("", !0),
463
- i(z, {
476
+ ])) : p("", !0),
477
+ s(z, {
464
478
  title: "Добавить участника",
465
- onClosePopup: G,
479
+ onClosePopup: R,
466
480
  isPopupOpen: w.value,
467
481
  class: "w-m-33r t-left pd-big bg-white radius-big"
468
482
  }, {
469
483
  default: D(() => [
470
- Ve,
471
- i(H, {
472
- onTagsChanged: a[37] || (a[37] = (l) => t(e).tags = l),
484
+ Me,
485
+ s(H, {
486
+ onTagsChanged: a[38] || (a[38] = (l) => t(e).tags = l),
473
487
  tags: t(e).tags
474
488
  }, null, 8, ["tags"]),
475
- Se,
476
- i(Y, {
477
- modelValue: p.value,
478
- "onUpdate:modelValue": a[38] || (a[38] = (l) => p.value = l),
489
+ Ve,
490
+ s(Y, {
491
+ modelValue: m.value,
492
+ "onUpdate:modelValue": a[39] || (a[39] = (l) => m.value = l),
479
493
  options: t(U),
480
494
  multiple: !1,
481
495
  taggable: !1,
@@ -484,32 +498,32 @@ const le = {
484
498
  "track-by": "_id",
485
499
  class: "mn-b-medium bg-grey radius-medium pd-small"
486
500
  }, null, 8, ["modelValue", "options"]),
487
- p.value ? (d(), r("h5", Me, "Options:")) : f("", !0),
488
- p.value ? (d(), r("div", Ge, [
489
- i(E, {
501
+ m.value ? (r(), u("h5", Re, "Options:")) : p("", !0),
502
+ m.value ? (r(), u("div", Se, [
503
+ s(P, {
490
504
  label: "Hide Author",
491
505
  radio: t(e).creator.hidden,
492
- "onUpdate:radio": a[39] || (a[39] = (l) => t(e).creator.hidden = l),
506
+ "onUpdate:radio": a[40] || (a[40] = (l) => t(e).creator.hidden = l),
493
507
  name: "prices",
494
508
  class: "w-100"
495
509
  }, null, 8, ["radio"])
496
- ])) : f("", !0),
497
- i(j, {
498
- submit: F,
510
+ ])) : p("", !0),
511
+ s(j, {
512
+ submit: N,
499
513
  callback: o.redirectTo,
500
514
  class: "w-100 bg-black t-white"
501
515
  }, {
502
516
  default: D(() => [
503
- R("Publish")
517
+ A("Publish")
504
518
  ]),
505
519
  _: 1
506
520
  }, 8, ["callback"])
507
521
  ]),
508
522
  _: 1
509
523
  }, 8, ["isPopupOpen"])
510
- ])) : f("", !0);
524
+ ])) : p("", !0);
511
525
  }
512
526
  };
513
527
  export {
514
- tl as default
528
+ sl as default
515
529
  };