@ozdao/prometheus-framework 0.1.82 → 0.1.84
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +4 -4
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +3 -3
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +22 -22
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2981 -2804
- package/dist/prometheus-framework/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/esm/getQuarter/index.js +10 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +26 -26
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.js +28 -29
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +55 -65
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +23 -23
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +31 -31
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +22 -22
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +18 -18
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +24 -24
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +76 -2
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +31 -30
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +20 -20
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +33 -33
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +21 -21
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
- package/dist/prometheus-framework/src/components/Text/Text.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Text/Text.vue.js +11 -11
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +27 -27
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +18 -18
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +44 -43
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +65 -96
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +24 -24
- 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/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -62
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +62 -2
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +56 -56
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +44 -43
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +15 -15
- 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 +13 -13
- 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 +2 -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 +51 -53
- 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 +59 -61
- 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 +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +22 -22
- 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 +25 -25
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +11 -11
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +19 -19
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +30 -30
- 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 +4 -4
- 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 +24 -24
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +21 -21
- 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/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +27 -27
- package/dist/prometheus-framework.es.js +1949 -1937
- package/dist/style.css +1 -1
- package/package.json +2 -4
- package/src/modules/auth/components/pages/ResetPassword.vue +1 -1
- package/src/modules/auth/components/pages/SignIn.vue +1 -0
- package/src/modules/auth/store/auth.js +42 -51
package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import { computed as
|
2
|
-
const
|
3
|
-
|
4
|
-
],
|
5
|
-
|
6
|
-
],
|
7
|
-
|
8
|
-
],
|
9
|
-
|
10
|
-
],
|
1
|
+
import { computed as n, openBlock as s, createElementBlock as t, createCommentVNode as r, createElementVNode as a } from "vue";
|
2
|
+
const c = { class: "mn-small w-100" }, d = ["href"], p = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Website", -1), _ = [
|
3
|
+
p
|
4
|
+
], h = ["href"], m = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Phone", -1), u = [
|
5
|
+
m
|
6
|
+
], f = ["href"], b = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Email", -1), w = [
|
7
|
+
b
|
8
|
+
], x = ["href"], g = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Address", -1), k = [
|
9
|
+
g
|
10
|
+
], W = {
|
11
11
|
__name: "Contacts",
|
12
12
|
props: {
|
13
13
|
website: String,
|
@@ -15,35 +15,35 @@ const d = { class: "mn-small w-100" }, p = ["href"], _ = /* @__PURE__ */ o("span
|
|
15
15
|
email: String,
|
16
16
|
address: String
|
17
17
|
},
|
18
|
-
setup(
|
19
|
-
const e =
|
20
|
-
return (v,
|
21
|
-
|
18
|
+
setup(i) {
|
19
|
+
const e = i, l = n(() => e.website ? !e.website.startsWith("http://") && !e.website.startsWith("https://") ? `http://${e.website}` : e.website : null), o = n(() => e.address ? encodeURIComponent(e.address) : null);
|
20
|
+
return (v, y) => (s(), t("div", c, [
|
21
|
+
l.value ? (s(), t("a", {
|
22
22
|
key: 0,
|
23
|
-
href:
|
23
|
+
href: l.value,
|
24
24
|
target: "_blank",
|
25
25
|
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
26
|
-
},
|
26
|
+
}, _, 8, d)) : r("", !0),
|
27
27
|
e.phone ? (s(), t("a", {
|
28
28
|
key: 1,
|
29
29
|
href: `tel:${e.phone}`,
|
30
30
|
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
31
|
-
}, u, 8,
|
31
|
+
}, u, 8, h)) : r("", !0),
|
32
32
|
e.email ? (s(), t("a", {
|
33
33
|
key: 2,
|
34
34
|
href: `mailto:${e.email}`,
|
35
35
|
target: "_blank",
|
36
36
|
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
37
|
-
},
|
38
|
-
|
37
|
+
}, w, 8, f)) : r("", !0),
|
38
|
+
o.value ? (s(), t("a", {
|
39
39
|
key: 3,
|
40
|
-
href: `https://www.google.com/maps/search/?api=1&query=${
|
40
|
+
href: `https://www.google.com/maps/search/?api=1&query=${o.value}`,
|
41
41
|
target: "_blank",
|
42
42
|
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
43
|
-
},
|
43
|
+
}, k, 8, x)) : r("", !0)
|
44
44
|
]));
|
45
45
|
}
|
46
46
|
};
|
47
47
|
export {
|
48
|
-
|
48
|
+
W as default
|
49
49
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../components/Field/Field.vue.cjs");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("./DepartmentMemberModify.vue2.cjs");const k={class:"br-grey radius-small mn-small"},v={key:1,class:"pd-small br-grey br-1px br-solid"},y=["disabled"],B={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,department:Number,departments:Array,maindepartment:Object,alldepartments:Array},emits:["callback","remove"],setup(u,{emit:m}){const t=u,a=m,n=e.ref({subdepartment:null});t.department!==null&&(n.value=t.departments[t.department]);function d(o,l,r){return o.filter(s=>!(l.some(b=>b._id===s._id)||r._id===s._id))}const c=e.computed(()=>d(t.alldepartments,t.departments,t.maindepartment));async function i(){t.departments.push(n.value.subdepartment),a("callback")}async function p(){t.departments.splice(t.department,1),a("callback")}return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",k,[t.department===null?(e.openBlock(),e.createBlock(e.unref(f.default),{key:0,modelValue:n.value.subdepartment,"onUpdate:modelValue":l[0]||(l[0]=r=>n.value.subdepartment=r),options:c.value,"get-option-label":r=>r.name,class:"w-100 mn-small"},null,8,["modelValue","options","get-option-label"])):(e.openBlock(),e.createElementBlock("div",v,e.toDisplayString(n.value.name?n.value.name:"Безымянный"),1))]),t.department===null?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!n.value.subdepartment,onClick:i,class:"w-100 button bg-second t-white"}," Добавить отдел ",8,y)):e.createCommentVNode("",!0),t.department!==null?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:p,class:"w-100 button bg-fourth t-white"}," Удалить отдел ")):e.createCommentVNode("",!0)]))}},g=_.default(B,[["__scopeId","data-v-21f393e1"]]);exports.default=g;
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import { ref as v, computed as y, openBlock as
|
2
|
-
import
|
3
|
-
import "../../../../components/Field/Field.
|
4
|
-
import
|
5
|
-
import "../../../../components/Select/Select.
|
1
|
+
import { ref as v, computed as y, openBlock as r, createElementBlock as l, createElementVNode as k, createBlock as g, unref as h, toDisplayString as w, createCommentVNode as p } from "vue";
|
2
|
+
import D from "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
|
3
|
+
import "../../../../components/Field/Field.vue.js";
|
4
|
+
import M from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
import "../../../../components/Select/Select.vue.js";
|
6
6
|
import "./DepartmentMemberModify.vue2.js";
|
7
|
-
const
|
7
|
+
const V = { class: "br-grey radius-small mn-small" }, x = {
|
8
8
|
key: 1,
|
9
9
|
class: "pd-small br-grey br-1px br-solid"
|
10
|
-
},
|
10
|
+
}, B = ["disabled"], C = {
|
11
11
|
__name: "DepartmentMemberModify",
|
12
12
|
props: {
|
13
13
|
isPopupOpen: Boolean,
|
@@ -17,46 +17,46 @@ const M = { class: "br-grey radius-small mn-small" }, V = {
|
|
17
17
|
alldepartments: Array
|
18
18
|
},
|
19
19
|
emits: ["callback", "remove"],
|
20
|
-
setup(
|
21
|
-
const e =
|
20
|
+
setup(d, { emit: i }) {
|
21
|
+
const e = d, o = i, t = v({
|
22
22
|
subdepartment: null
|
23
23
|
});
|
24
24
|
e.department !== null && (t.value = e.departments[e.department]);
|
25
|
-
function
|
26
|
-
return m.filter((s) => !(a.some((_) => _._id === s._id) ||
|
25
|
+
function u(m, a, n) {
|
26
|
+
return m.filter((s) => !(a.some((_) => _._id === s._id) || n._id === s._id));
|
27
27
|
}
|
28
|
-
const c = y(() =>
|
28
|
+
const c = y(() => u(e.alldepartments, e.departments, e.maindepartment));
|
29
29
|
async function b() {
|
30
30
|
e.departments.push(t.value.subdepartment), o("callback");
|
31
31
|
}
|
32
32
|
async function f() {
|
33
33
|
e.departments.splice(e.department, 1), o("callback");
|
34
34
|
}
|
35
|
-
return (m, a) => (
|
36
|
-
k("div",
|
37
|
-
e.department === null ? (
|
35
|
+
return (m, a) => (r(), l("div", null, [
|
36
|
+
k("div", V, [
|
37
|
+
e.department === null ? (r(), g(h(D), {
|
38
38
|
key: 0,
|
39
39
|
modelValue: t.value.subdepartment,
|
40
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
41
|
-
options:
|
42
|
-
"get-option-label": (
|
40
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => t.value.subdepartment = n),
|
41
|
+
options: c.value,
|
42
|
+
"get-option-label": (n) => n.name,
|
43
43
|
class: "w-100 mn-small"
|
44
|
-
}, null, 8, ["modelValue", "options", "get-option-label"])) : (
|
44
|
+
}, null, 8, ["modelValue", "options", "get-option-label"])) : (r(), l("div", x, w(t.value.name ? t.value.name : "Безымянный"), 1))
|
45
45
|
]),
|
46
|
-
e.department === null ? (
|
46
|
+
e.department === null ? (r(), l("button", {
|
47
47
|
key: 0,
|
48
48
|
disabled: !t.value.subdepartment,
|
49
49
|
onClick: b,
|
50
50
|
class: "w-100 button bg-second t-white"
|
51
|
-
}, " Добавить отдел ", 8,
|
52
|
-
e.department !== null ? (
|
51
|
+
}, " Добавить отдел ", 8, B)) : p("", !0),
|
52
|
+
e.department !== null ? (r(), l("button", {
|
53
53
|
key: 1,
|
54
54
|
onClick: f,
|
55
55
|
class: "w-100 button bg-fourth t-white"
|
56
|
-
}, " Удалить отдел ")) :
|
56
|
+
}, " Удалить отдел ")) : p("", !0)
|
57
57
|
]));
|
58
58
|
}
|
59
|
-
},
|
59
|
+
}, I = /* @__PURE__ */ M(C, [["__scopeId", "data-v-21f393e1"]]);
|
60
60
|
export {
|
61
|
-
|
61
|
+
I as default
|
62
62
|
};
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");const r=require("vue-router");require("./EditArray.vue2.cjs");const m={class:"w-100"},d={class:"flex"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");const r=require("vue-router");require("./EditArray.vue2.cjs");const m={class:"w-100"},d={class:"flex"},_={class:"mn-regular"},f={class:"flex-column flex-wrap block"},k={key:0,class:"w-100"},h={class:"w-100 flex-center flex-nowrap flex"},v={class:"mn-r-regular w-100"},E=["onClick"],g={key:0,class:"mn-t-small mn-small w-100"},p={__name:"EditArray",props:{name:Object,items:Array},emits:["add","remove"],setup(t,{emit:B}){r.useRouter(),r.useRoute();let s=e.reactive([]);e.toRefs(s);const n=e.ref(null),a=e.ref(null),o=e.ref(null);e.computed(()=>{if(n.value===null||o.value===null||o.value==="")return!0;if(n.value.modifications.length>0)return a.value===null});function u(c){store.commit("leftovers/deleteItemFromLeftover",c)}return(c,w)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("div",d,[e.createElementVNode("h3",_,e.toDisplayString(t.name),1)]),e.createElementVNode("ul",f,[t.items.length<1?(e.openBlock(),e.createElementBlock("span",k,"Вы еще не добавили позиции")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(l,i)=>(e.openBlock(),e.createElementBlock("li",{key:l._id,class:"w-100"},[e.createElementVNode("div",h,[e.createElementVNode("span",v,e.toDisplayString(l.name),1),e.createElementVNode("a",{class:"w-20 button",onClick:y=>u(l)},"Удалить",8,E)]),i!=t.items.length-1?(e.openBlock(),e.createElementBlock("hr",g)):e.createCommentVNode("",!0)]))),128))])]))}};exports.default=p;
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { reactive as h, toRefs as v, ref as o, computed as k, openBlock as t, createElementBlock as
|
1
|
+
import { reactive as h, toRefs as v, ref as o, computed as k, openBlock as t, createElementBlock as l, createElementVNode as e, toDisplayString as i, createCommentVNode as m, Fragment as p, renderList as w } from "vue";
|
2
2
|
import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
|
3
3
|
import { useRouter as x, useRoute as g } from "vue-router";
|
4
4
|
import "./EditArray.vue2.js";
|
@@ -15,7 +15,7 @@ const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }
|
|
15
15
|
items: Array
|
16
16
|
},
|
17
17
|
emits: ["add", "remove"],
|
18
|
-
setup(
|
18
|
+
setup(s, { emit: I }) {
|
19
19
|
x(), g();
|
20
20
|
let u = h([]);
|
21
21
|
v(u);
|
@@ -26,16 +26,16 @@ const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }
|
|
26
26
|
if (r.value.modifications.length > 0)
|
27
27
|
return d.value === null;
|
28
28
|
});
|
29
|
-
function
|
29
|
+
function _(a) {
|
30
30
|
store.commit("leftovers/deleteItemFromLeftover", a);
|
31
31
|
}
|
32
|
-
return (a, L) => (t(),
|
32
|
+
return (a, L) => (t(), l("div", y, [
|
33
33
|
e("div", S, [
|
34
|
-
e("h3", b, i(
|
34
|
+
e("h3", b, i(s.name), 1)
|
35
35
|
]),
|
36
36
|
e("ul", C, [
|
37
|
-
|
38
|
-
(t(!0),
|
37
|
+
s.items.length < 1 ? (t(), l("span", E, "Вы еще не добавили позиции")) : m("", !0),
|
38
|
+
(t(!0), l(p, null, w(s.items, (n, f) => (t(), l("li", {
|
39
39
|
key: n._id,
|
40
40
|
class: "w-100"
|
41
41
|
}, [
|
@@ -43,10 +43,10 @@ const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }
|
|
43
43
|
e("span", A, i(n.name), 1),
|
44
44
|
e("a", {
|
45
45
|
class: "w-20 button",
|
46
|
-
onClick: (N) =>
|
46
|
+
onClick: (N) => _(n)
|
47
47
|
}, "Удалить", 8, B)
|
48
48
|
]),
|
49
|
-
|
49
|
+
f != s.items.length - 1 ? (t(), l("hr", F)) : m("", !0)
|
50
50
|
]))), 128))
|
51
51
|
])
|
52
52
|
]));
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/socials/telegram.vue.cjs"),c=require("../../../icons/socials/facebook.vue.cjs"),u=require("../../../icons/socials/instagram.vue.cjs"),m=require("../../../icons/socials/twitter.vue.cjs"),d=require("../../../icons/socials/reddit.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/socials/telegram.vue.cjs"),c=require("../../../icons/socials/facebook.vue.cjs"),u=require("../../../icons/socials/instagram.vue.cjs"),m=require("../../../icons/socials/twitter.vue.cjs"),d=require("../../../icons/socials/reddit.vue.cjs"),b=require("../../../icons/socials/line.vue.cjs"),f=require("../../../icons/socials/dribbble.vue.cjs"),p={class:"gap-small flex-nowrap flex"},g=["href"],w={__name:"Socials",props:{telegram:{type:String,default:""},facebook:{type:String,default:""},instagram:{type:String,default:""},twitter:{type:String,default:""},reddit:{type:String,default:""},line:{type:String,default:""},dribbble:{type:String,default:""}},setup(l){const n=l,o=e.computed(()=>[{name:"telegram",base:"https://t.me/"},{name:"facebook",base:"https://www.facebook.com/"},{name:"instagram",base:"https://www.instagram.com/"},{name:"twitter",base:"https://twitter.com/"},{name:"reddit",base:"https://www.reddit.com/user/"},{name:"line",base:""},{name:"dribbble",base:"https://dribbble.com/"}].filter(t=>n[t.name]).map(t=>({name:t.name,href:t.base+n[t.name]})));function s(r){return{telegram:i.default,facebook:c.default,instagram:u.default,twitter:m.default,reddit:d.default,line:b.default,dribbble:f.default}[r]||null}return(r,t)=>(e.openBlock(),e.createElementBlock("div",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,a=>(e.openBlock(),e.createElementBlock("a",{key:a.name,href:a.href,target:"_blank",class:"i-big bg-second t-white flex-nowrap flex-center flex radius-extra"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s(a.name)),{class:"i-medium"}))],8,g))),128))]))}};exports.default=w;
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { computed as c, openBlock as t, createElementBlock as
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
const
|
1
|
+
import { computed as c, openBlock as t, createElementBlock as n, Fragment as l, renderList as p, createBlock as f, resolveDynamicComponent as b } from "vue";
|
2
|
+
import d from "../../../icons/socials/telegram.vue.js";
|
3
|
+
import u from "../../../icons/socials/facebook.vue.js";
|
4
|
+
import g from "../../../icons/socials/instagram.vue.js";
|
5
|
+
import w from "../../../icons/socials/twitter.vue.js";
|
6
|
+
import h from "../../../icons/socials/reddit.vue.js";
|
7
|
+
import k from "../../../icons/socials/line.vue.js";
|
8
|
+
import _ from "../../../icons/socials/dribbble.vue.js";
|
9
|
+
const y = { class: "gap-small flex-nowrap flex" }, I = ["href"], C = {
|
10
10
|
__name: "Socials",
|
11
11
|
props: {
|
12
12
|
telegram: {
|
@@ -54,27 +54,27 @@ const I = { class: "gap-small flex-nowrap flex" }, S = ["href"], E = {
|
|
54
54
|
})));
|
55
55
|
function s(r) {
|
56
56
|
return {
|
57
|
-
telegram:
|
58
|
-
facebook:
|
59
|
-
instagram:
|
60
|
-
twitter:
|
61
|
-
reddit:
|
62
|
-
line:
|
63
|
-
dribbble:
|
57
|
+
telegram: d,
|
58
|
+
facebook: u,
|
59
|
+
instagram: g,
|
60
|
+
twitter: w,
|
61
|
+
reddit: h,
|
62
|
+
line: k,
|
63
|
+
dribbble: _
|
64
64
|
}[r] || null;
|
65
65
|
}
|
66
|
-
return (r, e) => (t(),
|
67
|
-
(t(!0),
|
68
|
-
key:
|
69
|
-
href:
|
66
|
+
return (r, e) => (t(), n("div", y, [
|
67
|
+
(t(!0), n(l, null, p(m.value, (a) => (t(), n("a", {
|
68
|
+
key: a.name,
|
69
|
+
href: a.href,
|
70
70
|
target: "_blank",
|
71
71
|
class: "i-big bg-second t-white flex-nowrap flex-center flex radius-extra"
|
72
72
|
}, [
|
73
|
-
(t(), b(
|
74
|
-
], 8,
|
73
|
+
(t(), f(b(s(a.name)), { class: "i-medium" }))
|
74
|
+
], 8, I))), 128))
|
75
75
|
]));
|
76
76
|
}
|
77
77
|
};
|
78
78
|
export {
|
79
|
-
|
79
|
+
C as default
|
80
80
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");const i=require("../../store/memberships.cjs"),g={__name:"ButtonToggleMembership",props:{user:{type:String,required:!0},type:{type:String,required:!0},role:{type:String,required:!1},target:{type:String,required:!0},text:{type:Object,default:{create:"join",remove:"leave"}},status:{type:Boolean,required:!0}},emits:["updateMembership"],setup(o,{emit:c}){const u=c,e=o,n=async()=>{e.status?await l():await p()};async function p(){try{const t={user:e.user,type:e.type,role:e.role,target:e.target},s=await i.actions.create(t);u("updateMembership",{membership:s,target:e.target,status:!0})}catch(t){throw console.log(t),t}}async function l(t){const s={user:e.user,type:e.type,role:e.role,target:e.target};try{const a=await i.actions.delete(s);u("updateMembership",{membership:a,target:e.target,status:!1})}catch(a){throw console.log(a),a}}return(t,s)=>(r.openBlock(),r.createBlock(m.default,{submit:n,showSucces:!1,class:"button-small button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(o.status?e.text.remove:e.text.create),1)]),_:1}))}};exports.default=g;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { openBlock as
|
2
|
-
import
|
1
|
+
import { openBlock as m, createBlock as l, withCtx as g, createTextVNode as h, toDisplayString as y } from "vue";
|
2
|
+
import b from "../../../../components/Button/Button.vue2.js";
|
3
3
|
import "../../../auth/store/auth.js";
|
4
4
|
import { actions as i } from "../../store/memberships.js";
|
5
|
-
const
|
5
|
+
const M = {
|
6
6
|
__name: "ButtonToggleMembership",
|
7
7
|
props: {
|
8
8
|
user: {
|
@@ -34,11 +34,11 @@ const x = {
|
|
34
34
|
}
|
35
35
|
},
|
36
36
|
emits: ["updateMembership"],
|
37
|
-
setup(a, { emit:
|
38
|
-
const e = a, p = async () => {
|
39
|
-
e.status ? await u() : await
|
37
|
+
setup(a, { emit: c }) {
|
38
|
+
const o = c, e = a, p = async () => {
|
39
|
+
e.status ? await u() : await n();
|
40
40
|
};
|
41
|
-
async function
|
41
|
+
async function n() {
|
42
42
|
try {
|
43
43
|
const t = {
|
44
44
|
user: e.user,
|
@@ -73,18 +73,18 @@ const x = {
|
|
73
73
|
throw console.log(s), s;
|
74
74
|
}
|
75
75
|
}
|
76
|
-
return (t, r) => (
|
76
|
+
return (t, r) => (m(), l(b, {
|
77
77
|
submit: p,
|
78
78
|
showSucces: !1,
|
79
79
|
class: "button-small button"
|
80
80
|
}, {
|
81
|
-
default:
|
82
|
-
|
81
|
+
default: g(() => [
|
82
|
+
h(y(a.status ? e.text.remove : e.text.create), 1)
|
83
83
|
]),
|
84
84
|
_: 1
|
85
85
|
}));
|
86
86
|
}
|
87
87
|
};
|
88
88
|
export {
|
89
|
-
|
89
|
+
M as default
|
90
90
|
};
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),c=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),p=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-6a9ce43d"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please the available delivery options:",-1)),T={class:"mn-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await p.actions.read(d.params.department),e.ref(p.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function _(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function b(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(c.default,{submit:h,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(c.default,{submit:b,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-6a9ce43d"]]);exports.default=H;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js
CHANGED
@@ -3,14 +3,14 @@ import { useRouter as S, useRoute as E } from "vue-router";
|
|
3
3
|
import "../../../../../../node_modules/js-cookie/src/js.cookie.js";
|
4
4
|
import z from "../../../../components/Breadcrumbs/Breadcrumbs.vue2.js";
|
5
5
|
import N from "../../../../components/UploadImage/UploadImage.vue.js";
|
6
|
-
import "../../../../components/Tab/Tab.
|
7
|
-
import _ from "../../../../components/Field/Field.
|
8
|
-
import "../../../../components/Select/Select.
|
6
|
+
import "../../../../components/Tab/Tab.vue.js";
|
7
|
+
import _ from "../../../../components/Field/Field.vue2.js";
|
8
|
+
import "../../../../components/Select/Select.vue.js";
|
9
9
|
import U from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
10
10
|
import d from "../../../../components/Checkbox/Checkbox.vue.js";
|
11
11
|
import A from "../../../../components/Address/Address.vue.js";
|
12
12
|
import I from "../../../../components/LocationMarker/LocationMarker.vue.js";
|
13
|
-
import b from "../../../../components/Button/Button.
|
13
|
+
import b from "../../../../components/Button/Button.vue2.js";
|
14
14
|
import "vue-i18n";
|
15
15
|
import "../../../../components/Popup/Popup.vue2.js";
|
16
16
|
import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),f=require("../../../spots/components/sections/Feed.vue.cjs"),v=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const n=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const c=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const g={key:0,class:"pd-thin for-transition w-100"},y=e.createElementVNode("p",null,"34 members",-1),h=[y],k={class:"pos-relative"},N={key:0},V={__name:"Organization",setup(w){const s=d.useRouter(),r=d.useRoute();let m=r.query.tab?r.query.tab:"events";const i=e.ref(null);e.onMounted(async()=>{i.value=await o.actions.read({_id:r.params._id,user:n.state.user._id}),await c.actions.read(r.params._id)});const t=e.ref(m);return r.query.tab=t.value,e.watch(t,u=>{s.replace({query:{...r.query,tab:u}})}),(u,a)=>i.value?(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(v.default,{organization:o.state.current,user:n.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createElementVNode("section",{onClick:a[0]||(a[0]=l=>e.unref(s).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"mn-semi bg-grey radius-big pd-medium"},h),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=l=>t.value=l),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",k,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id,sortOrder:"asc"},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(f.default,{organization:o.state.current,memberships:c.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=V;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js
CHANGED
@@ -3,7 +3,7 @@ import { useRouter as $, useRoute as k } from "vue-router";
|
|
3
3
|
import "vue-i18n";
|
4
4
|
import "../../../globals/localization/vue-i18n.js";
|
5
5
|
import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
|
6
|
-
import w from "../../../../components/Tab/Tab.
|
6
|
+
import w from "../../../../components/Tab/Tab.vue2.js";
|
7
7
|
import "../../../mobile/components/Menu/Menu.vue.js";
|
8
8
|
import "../../../mobile/components/Menu/MenuItem.vue.js";
|
9
9
|
import q from "../../../events/components/sections/Feed.vue.js";
|
@@ -18,9 +18,9 @@ import "../blocks/User.vue2.js";
|
|
18
18
|
import "../blocks/CardDepartment.vue2.js";
|
19
19
|
import "../../store/departments.js";
|
20
20
|
import { state as u } from "../../../auth/store/auth.js";
|
21
|
-
import "../../../../components/Field/Field.
|
22
|
-
import "../../../../components/Select/Select.
|
23
|
-
import "../../../../components/Button/Button.
|
21
|
+
import "../../../../components/Field/Field.vue.js";
|
22
|
+
import "../../../../components/Select/Select.vue.js";
|
23
|
+
import "../../../../components/Button/Button.vue.js";
|
24
24
|
import "../../../middlewares/client/inputs.validation.js";
|
25
25
|
import "../../store/invites.js";
|
26
26
|
import { actions as E, state as N } from "../../store/memberships.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");const b=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-small"},"Profile",-1),q={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,b.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(h.default,{submit:c,callback:m,class:"mn-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js
CHANGED
@@ -4,12 +4,12 @@ import "vue-i18n";
|
|
4
4
|
import "../../../globals/localization/vue-i18n.js";
|
5
5
|
import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
|
6
6
|
import v from "../../../../components/FieldTags/BlockTags.vue.js";
|
7
|
-
import "../../../../components/Tab/Tab.
|
8
|
-
import i from "../../../../components/Field/Field.
|
9
|
-
import "../../../../components/Select/Select.
|
7
|
+
import "../../../../components/Tab/Tab.vue.js";
|
8
|
+
import i from "../../../../components/Field/Field.vue2.js";
|
9
|
+
import "../../../../components/Select/Select.vue.js";
|
10
10
|
import U from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
11
11
|
import k from "../../../../components/UploadImage/UploadImage.vue.js";
|
12
|
-
import T from "../../../../components/Button/Button.
|
12
|
+
import T from "../../../../components/Button/Button.vue2.js";
|
13
13
|
import "../../../../components/Popup/Popup.vue2.js";
|
14
14
|
import { state as z } from "../../../auth/store/auth.js";
|
15
15
|
import { actions as s, state as e } from "../../store/organizations.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"Organizations",setup(_){const t=n.useRoute(),i=n.useRouter();let d=t.query.tab?t.query.tab:"member";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as h, watch as w, openBlock as a, createElementBlock as l, createElementVNode as b, unref as o, createCommentVNode as u, createVNode as n, Transition as d, withCtx as c, createBlock as p } from "vue";
|
2
2
|
import { useRoute as y, useRouter as g } from "vue-router";
|
3
|
-
import k from "../../../../components/Tab/Tab.
|
3
|
+
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import _ from "../sections/Feed.vue.js";
|
5
5
|
import { state as i } from "../../../auth/store/auth.js";
|
6
6
|
const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */ b("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const v=o=>(e.pushScopeId("data-v-20739d92"),o=o(),e.popScopeId(),o),f={class:"documents"},h=v(()=>e.createElementVNode("h3",{class:"mn-small"},"Список документов",-1)),k={class:"mn-big cols-4"},y=["onClick"],E={class:"mn-small"},B={class:"t-semi t-transp radius-small"},b={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,x)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",f,[h,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:P=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",E,e.toDisplayString(t.name),1),e.createElementVNode("p",B,e.toDisplayString(t.status),1)],8,y))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(b,[["__scopeId","data-v-20739d92"]]);exports.default=g;
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { ref as r, watchEffect as P, resolveComponent as b, openBlock as t, createElementBlock as s, createElementVNode as o, Fragment as i, renderList as d, unref as _, toDisplayString as f, createVNode as h, withCtx as k, pushScopeId as w, popScopeId as C } from "vue";
|
2
2
|
import { useRouter as I, useRoute as g } from "vue-router";
|
3
|
-
import D from "../../../../components/Field/Field.
|
3
|
+
import D from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import "vue-i18n";
|
5
5
|
import S from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
6
6
|
import "../../../../components/Popup/Popup.vue2.js";
|
7
|
-
import "../../../../components/Button/Button.
|
7
|
+
import "../../../../components/Button/Button.vue.js";
|
8
8
|
import "./Documents.vue2.js";
|
9
9
|
const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "documents" }, F = /* @__PURE__ */ E(() => /* @__PURE__ */ o("h3", { class: "mn-small" }, "Список документов", -1)), N = { class: "mn-big cols-4" }, O = ["onClick"], R = { class: "mn-small" }, U = { class: "t-semi t-transp radius-small" }, V = {
|
10
10
|
__name: "Documents",
|