@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.
- package/dist/auth.server.js +8 -190
- package/dist/auth.server.mjs +8 -190
- package/dist/community.server.js +3 -2
- package/dist/community.server.mjs +2 -1
- package/dist/events.server.js +101 -29
- package/dist/events.server.mjs +100 -28
- package/dist/files.server.js +7 -7
- package/dist/files.server.mjs +7 -7
- package/dist/gallery.server.js +2 -2
- package/dist/gallery.server.mjs +2 -2
- package/dist/main-DsseFd2d.mjs +13753 -0
- package/dist/main-U466Gwzt.js +91 -0
- package/dist/main.css +1 -1
- package/dist/metadata.schema-CS6_9GLU.js +174 -0
- package/dist/metadata.schema-D88c1Ebp.mjs +175 -0
- package/dist/organizations.server.js +212 -16
- package/dist/organizations.server.mjs +212 -16
- package/dist/ownership.schema-DN0SlQL6.js +36 -0
- package/dist/ownership.schema-oyx6eNkZ.mjs +37 -0
- package/dist/products.server.js +8 -5
- package/dist/products.server.mjs +8 -5
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +19 -14
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -55
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +55 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +27 -27
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -51
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +51 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -97
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -36
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +36 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +12 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +197 -183
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +168 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +11 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +67 -64
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -38
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +19 -19
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +36 -27
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +36 -50
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/web-D7bW32Ul.mjs +54 -0
- package/dist/web-DpE9HxA3.js +1 -0
- package/package.json +1 -1
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/Feed/Feed.vue +2 -1
- package/src/modules/auth/auth.client.js +0 -2
- package/src/modules/auth/auth.server.js +1 -6
- package/src/modules/auth/components/pages/Invite.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +19 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +194 -0
- package/src/modules/events/controllers/tickets.controller.js +103 -28
- package/src/modules/events/models/ticket.model.js +22 -4
- package/src/modules/events/router/events.js +5 -0
- package/src/modules/events/routes/tickets.routes.js +2 -2
- package/src/modules/events/store/tickets.js +1 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +4 -4
- package/src/modules/organizations/components/sections/MembersAdd.vue +1 -1
- package/src/modules/organizations/controllers/departments.controller.js +14 -1
- package/src/modules/organizations/models/department.model.js +5 -1
- package/src/modules/organizations/organizations.client.js +2 -0
- package/src/modules/organizations/organizations.server.js +6 -2
- package/src/modules/organizations/routes/departments.routes.js +1 -1
- package/src/modules/organizations/store/departments.js +3 -2
- package/src/modules/products/components/blocks/CardLeftover.vue +19 -7
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +14 -3
- package/src/modules/products/components/pages/Products.vue +8 -8
- package/src/modules/products/models/leftover.model.js +9 -5
- package/src/modules/users/models/client.model.js +60 -0
- /package/src/modules/{auth → organizations}/controllers/invites.controller.js +0 -0
- /package/src/modules/{auth → organizations}/models/invite.model.js +0 -0
- /package/src/modules/{auth → organizations}/routes/invites.routes.js +0 -0
- /package/src/modules/{auth → organizations}/store/invites.js +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
import { ref as
|
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
|
4
|
-
import
|
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
|
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
|
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
|
19
|
-
import { state as
|
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__ */
|
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
|
-
},
|
28
|
+
}, ie = {
|
29
29
|
key: 2,
|
30
|
+
class: "mn-b-small"
|
31
|
+
}, oe = {
|
32
|
+
key: 4,
|
30
33
|
class: "mn-b-semi"
|
31
|
-
},
|
32
|
-
key:
|
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
|
-
},
|
35
|
-
key:
|
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" },
|
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
|
-
},
|
43
|
+
}, Se = {
|
41
44
|
key: 1,
|
42
45
|
class: "mn-b-medium br-grey br-2px br-solid pd-small radius-big"
|
43
|
-
},
|
46
|
+
}, sl = {
|
44
47
|
__name: "EditEvent",
|
45
|
-
setup(
|
46
|
-
const
|
47
|
-
let e =
|
48
|
-
const x =
|
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 (
|
51
|
-
const a = await Q({ user:
|
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
|
-
|
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
|
-
|
61
|
+
c.value = [a, l];
|
59
62
|
}
|
60
63
|
e.value.owner || (e.value.owner = {
|
61
|
-
target:
|
64
|
+
target: d.user._id,
|
62
65
|
type: "user"
|
63
66
|
}), e.value.creator || (e.value.creator = {
|
64
|
-
target:
|
67
|
+
target: d.user._id,
|
65
68
|
type: "user",
|
66
69
|
hidden: !1
|
67
|
-
}), e.value.owner.type === "organization" && (
|
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:
|
74
|
-
postable:
|
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 =
|
84
|
-
function
|
86
|
+
const w = v(!1);
|
87
|
+
function V() {
|
85
88
|
w.value = !0;
|
86
89
|
}
|
87
|
-
function
|
90
|
+
function R() {
|
88
91
|
w.value = !1;
|
89
92
|
}
|
90
|
-
function
|
93
|
+
function S() {
|
91
94
|
x.value.length > 0 && x.value.map((o) => o.text), e.value.status = "draft", e.value.date = {
|
92
|
-
start:
|
93
|
-
end:
|
94
|
-
},
|
95
|
-
|
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
|
-
}) :
|
99
|
-
|
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
|
105
|
-
|
106
|
-
target:
|
107
|
+
function N() {
|
108
|
+
m.value && (e.value.owner = {
|
109
|
+
target: m.value._id,
|
107
110
|
type: "organization"
|
108
|
-
}),
|
109
|
-
start:
|
110
|
-
end:
|
111
|
-
}, console.log(
|
112
|
-
|
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
|
-
})) :
|
116
|
-
|
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
|
124
|
+
function G() {
|
122
125
|
confirm("Are you sure you want to delete this event?") && Z(e.value._id).then((o) => {
|
123
|
-
|
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) ? (
|
129
|
-
|
130
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
152
|
-
|
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[
|
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"])) :
|
159
|
-
t(e).special ? (
|
160
|
-
|
161
|
-
|
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[
|
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
|
-
|
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[
|
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
|
-
|
196
|
+
re,
|
197
|
+
s(k, {
|
184
198
|
field: t(e).specialData.video,
|
185
|
-
"onUpdate:field": a[
|
199
|
+
"onUpdate:field": a[7] || (a[7] = (l) => t(e).specialData.video = l),
|
186
200
|
placeholder: "Upload video",
|
187
|
-
onFileChange: a[
|
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
|
-
|
193
|
-
|
194
|
-
|
206
|
+
ue,
|
207
|
+
i("div", pe, [
|
208
|
+
s(y, {
|
195
209
|
photo: t(e).specialData.ticketImage,
|
196
|
-
"onUpdate:photo": a[
|
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
|
-
|
201
|
-
|
214
|
+
i("div", me, [
|
215
|
+
s(n, {
|
202
216
|
field: t(e).specialData.ticketLinkStripe,
|
203
|
-
"onUpdate:field": a[
|
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
|
-
|
221
|
+
s(n, {
|
208
222
|
field: t(e).specialData.ticketPrice,
|
209
|
-
"onUpdate:field": a[
|
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
|
-
|
228
|
+
s(n, {
|
215
229
|
field: t(e).specialData.ticketText,
|
216
|
-
"onUpdate:field": a[
|
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
|
-
|
234
|
+
s(n, {
|
221
235
|
field: t(e).specialData.ticketTextButton,
|
222
|
-
"onUpdate:field": a[
|
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
|
-
|
243
|
+
fe,
|
244
|
+
s(n, {
|
231
245
|
field: t(e).specialData.guestTitle,
|
232
|
-
"onUpdate:field": a[
|
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
|
-
|
250
|
+
s(n, {
|
237
251
|
field: t(e).specialData.guestDescription,
|
238
|
-
"onUpdate:field": a[
|
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
|
-
|
243
|
-
|
256
|
+
i("div", ge, [
|
257
|
+
s(n, {
|
244
258
|
field: t(e).specialData.guestFacebook,
|
245
|
-
"onUpdate:field": a[
|
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
|
-
|
263
|
+
s(n, {
|
250
264
|
field: t(e).specialData.guestInstagram,
|
251
|
-
"onUpdate:field": a[
|
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
|
-
|
269
|
+
s(n, {
|
256
270
|
field: t(e).specialData.guestTwitter,
|
257
|
-
"onUpdate:field": a[
|
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
|
-
|
275
|
+
s(n, {
|
262
276
|
field: t(e).specialData.guestTelegram,
|
263
|
-
"onUpdate:field": a[
|
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
|
-
|
281
|
+
s(n, {
|
268
282
|
field: t(e).specialData.guestSoundcloud,
|
269
|
-
"onUpdate:field": a[
|
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
|
-
|
287
|
+
s(n, {
|
274
288
|
field: t(e).specialData.guestSpotify,
|
275
|
-
"onUpdate:field": a[
|
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
|
-
|
293
|
+
s(n, {
|
280
294
|
field: t(e).specialData.guestYoutube,
|
281
|
-
"onUpdate:field": a[
|
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
|
-
|
287
|
-
|
300
|
+
be,
|
301
|
+
s(k, {
|
288
302
|
field: t(e).specialData.guestVideo,
|
289
|
-
"onUpdate:field": a[
|
303
|
+
"onUpdate:field": a[23] || (a[23] = (l) => t(e).specialData.guestVideo = l),
|
290
304
|
placeholder: "Upload video",
|
291
|
-
onFileChange: a[
|
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
|
-
|
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
|
-
(
|
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
|
-
|
324
|
+
s(y, {
|
311
325
|
photo: l.photo,
|
312
|
-
"onUpdate:photo": (
|
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
|
-
|
317
|
-
|
318
|
-
|
330
|
+
i("div", he, [
|
331
|
+
i("div", ve, [
|
332
|
+
s(n, {
|
319
333
|
field: l.name,
|
320
|
-
"onUpdate:field": (
|
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
|
-
|
338
|
+
s(n, {
|
325
339
|
field: l.description,
|
326
|
-
"onUpdate:field": (
|
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
|
-
|
332
|
-
|
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
|
-
|
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
|
-
(
|
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
|
-
|
372
|
+
s(n, {
|
359
373
|
field: l.name,
|
360
|
-
"onUpdate:field": (
|
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
|
-
|
378
|
+
s(n, {
|
365
379
|
field: l.time,
|
366
|
-
"onUpdate:field": (
|
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
|
-
|
371
|
-
|
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
|
-
|
381
|
-
|
394
|
+
Ue,
|
395
|
+
s(k, {
|
382
396
|
field: t(e).specialData.lineupBackground,
|
383
|
-
"onUpdate:field": a[
|
397
|
+
"onUpdate:field": a[25] || (a[25] = (l) => t(e).specialData.lineupBackground = l),
|
384
398
|
placeholder: "Upload image",
|
385
|
-
onFileChange: a[
|
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
|
-
|
406
|
+
_e,
|
407
|
+
s(n, {
|
394
408
|
field: t(e).specialData.previousTitle,
|
395
|
-
"onUpdate:field": a[
|
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
|
-
|
414
|
+
s(n, {
|
401
415
|
field: t(e).specialData.previousDescription,
|
402
|
-
"onUpdate:field": a[
|
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
|
-
|
421
|
+
s(n, {
|
408
422
|
field: t(e).specialData.previousLinkText,
|
409
|
-
"onUpdate:field": a[
|
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
|
-
|
428
|
+
s(n, {
|
415
429
|
field: t(e).specialData.previousLink,
|
416
|
-
"onUpdate:field": a[
|
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
|
-
|
435
|
+
s(k, {
|
422
436
|
field: t(e).specialData.previousVideo,
|
423
|
-
"onUpdate:field": a[
|
437
|
+
"onUpdate:field": a[31] || (a[31] = (l) => t(e).specialData.previousVideo = l),
|
424
438
|
placeholder: "Upload image",
|
425
|
-
onFileChange: a[
|
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
|
-
])) :
|
431
|
-
|
432
|
-
|
433
|
-
modelValue:
|
434
|
-
"onUpdate:modelValue": a[
|
435
|
-
"alt-position":
|
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) ? (
|
441
|
-
|
454
|
+
t(e) ? (r(), u("section", Le, [
|
455
|
+
s(B, {
|
442
456
|
content: t(e).content,
|
443
|
-
onUpdate: a[
|
457
|
+
onUpdate: a[34] || (a[34] = (l) => t(e).content = l)
|
444
458
|
}, null, 8, ["content"])
|
445
|
-
])) :
|
446
|
-
t(e) ? (
|
447
|
-
|
448
|
-
t(
|
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[
|
464
|
+
onClick: a[35] || (a[35] = (l) => G()),
|
451
465
|
class: "mn-r-auto bg-red t-white t-black button"
|
452
|
-
}, "Delete")) :
|
453
|
-
|
454
|
-
onClick: a[
|
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
|
-
|
458
|
-
onClick: a[
|
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
|
-
])) :
|
463
|
-
|
476
|
+
])) : p("", !0),
|
477
|
+
s(z, {
|
464
478
|
title: "Добавить участника",
|
465
|
-
onClosePopup:
|
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
|
-
|
471
|
-
|
472
|
-
onTagsChanged: a[
|
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
|
-
|
476
|
-
|
477
|
-
modelValue:
|
478
|
-
"onUpdate:modelValue": a[
|
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
|
-
|
488
|
-
|
489
|
-
|
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[
|
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
|
-
])) :
|
497
|
-
|
498
|
-
submit:
|
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
|
-
|
517
|
+
A("Publish")
|
504
518
|
]),
|
505
519
|
_: 1
|
506
520
|
}, 8, ["callback"])
|
507
521
|
]),
|
508
522
|
_: 1
|
509
523
|
}, 8, ["isPopupOpen"])
|
510
|
-
])) :
|
524
|
+
])) : p("", !0);
|
511
525
|
}
|
512
526
|
};
|
513
527
|
export {
|
514
|
-
|
528
|
+
sl as default
|
515
529
|
};
|