@ozdao/prometheus-framework 0.2.60 → 0.2.61
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +12 -223
- package/dist/auth.server.mjs +12 -223
- 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/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/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -72
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -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/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +46 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -46
- 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/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +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/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.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 +198 -184
- 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/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.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 +4 -4
- 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 +3 -3
- 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 +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 +3 -3
- 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/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.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 +21 -21
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- 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 +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 +1 -1
- 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/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 -7
- 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 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,51 +1 @@
|
|
1
|
-
|
2
|
-
import "./Loader.vue2.js";
|
3
|
-
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const l = {
|
5
|
-
props: {
|
6
|
-
progress: {
|
7
|
-
type: Number,
|
8
|
-
default: null
|
9
|
-
},
|
10
|
-
status: {
|
11
|
-
type: String,
|
12
|
-
default: null
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}, a = { class: "circular-loader" }, n = /* @__PURE__ */ s("svg", { viewBox: "25 25 50 50" }, [
|
16
|
-
/* @__PURE__ */ s("circle", {
|
17
|
-
class: "circular-loader-fill",
|
18
|
-
cx: "50",
|
19
|
-
cy: "50",
|
20
|
-
r: "20",
|
21
|
-
fill: "none",
|
22
|
-
"stroke-width": "4",
|
23
|
-
"stroke-miterlimit": "10"
|
24
|
-
}),
|
25
|
-
/* @__PURE__ */ s("circle", {
|
26
|
-
class: "circular-loader-circle",
|
27
|
-
cx: "50",
|
28
|
-
cy: "50",
|
29
|
-
r: "20",
|
30
|
-
fill: "none",
|
31
|
-
"stroke-width": "4",
|
32
|
-
"stroke-miterlimit": "10"
|
33
|
-
})
|
34
|
-
], -1), d = {
|
35
|
-
key: 0,
|
36
|
-
class: "progress-text"
|
37
|
-
}, u = {
|
38
|
-
key: 1,
|
39
|
-
class: "uppercase t-semi w-m-10r status-text"
|
40
|
-
};
|
41
|
-
function m(_, p, e, f, k, x) {
|
42
|
-
return t(), r("div", a, [
|
43
|
-
n,
|
44
|
-
e.progress ? (t(), r("div", d, c(e.progress), 1)) : o("", !0),
|
45
|
-
e.status ? (t(), r("div", u, c(e.status), 1)) : o("", !0)
|
46
|
-
]);
|
47
|
-
}
|
48
|
-
const v = /* @__PURE__ */ i(l, [["render", m]]);
|
49
|
-
export {
|
50
|
-
v as default
|
51
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Loader.vue.cjs");const r=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),s={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},c={class:"circular-loader"},o=e.createElementVNode("svg",{viewBox:"25 25 50 50"},[e.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),e.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),l={key:0,class:"progress-text"},i={key:1,class:"uppercase t-semi w-m-10r status-text"};function a(u,d,t,m,_,p){return e.openBlock(),e.createElementBlock("div",c,[o,t.progress?(e.openBlock(),e.createElementBlock("div",l,e.toDisplayString(t.progress),1)):e.createCommentVNode("",!0),t.status?(e.openBlock(),e.createElementBlock("div",i,e.toDisplayString(t.status),1)):e.createCommentVNode("",!0)])}const n=r.default(s,[["render",a]]);exports.default=n;
|
@@ -1 +1,51 @@
|
|
1
|
-
|
1
|
+
import { openBlock as t, createElementBlock as r, toDisplayString as c, createCommentVNode as o, createElementVNode as s } from "vue";
|
2
|
+
import "./Loader.vue.js";
|
3
|
+
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const l = {
|
5
|
+
props: {
|
6
|
+
progress: {
|
7
|
+
type: Number,
|
8
|
+
default: null
|
9
|
+
},
|
10
|
+
status: {
|
11
|
+
type: String,
|
12
|
+
default: null
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}, a = { class: "circular-loader" }, n = /* @__PURE__ */ s("svg", { viewBox: "25 25 50 50" }, [
|
16
|
+
/* @__PURE__ */ s("circle", {
|
17
|
+
class: "circular-loader-fill",
|
18
|
+
cx: "50",
|
19
|
+
cy: "50",
|
20
|
+
r: "20",
|
21
|
+
fill: "none",
|
22
|
+
"stroke-width": "4",
|
23
|
+
"stroke-miterlimit": "10"
|
24
|
+
}),
|
25
|
+
/* @__PURE__ */ s("circle", {
|
26
|
+
class: "circular-loader-circle",
|
27
|
+
cx: "50",
|
28
|
+
cy: "50",
|
29
|
+
r: "20",
|
30
|
+
fill: "none",
|
31
|
+
"stroke-width": "4",
|
32
|
+
"stroke-miterlimit": "10"
|
33
|
+
})
|
34
|
+
], -1), d = {
|
35
|
+
key: 0,
|
36
|
+
class: "progress-text"
|
37
|
+
}, u = {
|
38
|
+
key: 1,
|
39
|
+
class: "uppercase t-semi w-m-10r status-text"
|
40
|
+
};
|
41
|
+
function m(_, p, e, f, k, x) {
|
42
|
+
return t(), r("div", a, [
|
43
|
+
n,
|
44
|
+
e.progress ? (t(), r("div", d, c(e.progress), 1)) : o("", !0),
|
45
|
+
e.status ? (t(), r("div", u, c(e.status), 1)) : o("", !0)
|
46
|
+
]);
|
47
|
+
}
|
48
|
+
const v = /* @__PURE__ */ i(l, [["render", m]]);
|
49
|
+
export {
|
50
|
+
v as default
|
51
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,72 +1 @@
|
|
1
|
-
|
2
|
-
import { useRoute as O, useRouter as T } from "vue-router";
|
3
|
-
import { useI18n as b } from "vue-i18n";
|
4
|
-
import g from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
-
import "./Popup.vue2.js";
|
6
|
-
const z = {
|
7
|
-
key: "popup-content",
|
8
|
-
class: "pd-small popup-wrapper"
|
9
|
-
}, I = {
|
10
|
-
__name: "Popup",
|
11
|
-
props: {
|
12
|
-
isPopupOpen: {
|
13
|
-
type: Boolean,
|
14
|
-
default: !1
|
15
|
-
},
|
16
|
-
style: String
|
17
|
-
},
|
18
|
-
emits: ["close-popup"],
|
19
|
-
setup(e, { emit: u }) {
|
20
|
-
const m = e, c = u;
|
21
|
-
function p() {
|
22
|
-
c("close-popup");
|
23
|
-
}
|
24
|
-
return f(() => m.isPopupOpen, (o) => {
|
25
|
-
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
26
|
-
}), O(), T(), b({
|
27
|
-
messages: {
|
28
|
-
en: {},
|
29
|
-
ru: {}
|
30
|
-
}
|
31
|
-
}), (o, t) => e.isPopupOpen ? (s(), v(y, {
|
32
|
-
key: 0,
|
33
|
-
to: "body"
|
34
|
-
}, [
|
35
|
-
n(l, {
|
36
|
-
name: "TransitionTranslateY",
|
37
|
-
appear: ""
|
38
|
-
}, {
|
39
|
-
default: i(() => [
|
40
|
-
e.isPopupOpen ? (s(), a("div", z, [
|
41
|
-
n(l, {
|
42
|
-
name: "TransitionTranslateY",
|
43
|
-
mode: "out-in"
|
44
|
-
}, {
|
45
|
-
default: i(() => [
|
46
|
-
e.isPopupOpen ? (s(), a("section", P({
|
47
|
-
key: 0,
|
48
|
-
class: "pos-relative z-index-4"
|
49
|
-
}, o.$attrs), [
|
50
|
-
n(g, {
|
51
|
-
onClick: t[0] || (t[0] = (d) => p()),
|
52
|
-
class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
|
53
|
-
}),
|
54
|
-
k(o.$slots, "default")
|
55
|
-
], 16)) : r("", !0)
|
56
|
-
]),
|
57
|
-
_: 3
|
58
|
-
}),
|
59
|
-
x("div", {
|
60
|
-
onClick: t[1] || (t[1] = (d) => p()),
|
61
|
-
class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
62
|
-
}, null, 2)
|
63
|
-
])) : r("", !0)
|
64
|
-
]),
|
65
|
-
_: 3
|
66
|
-
})
|
67
|
-
])) : r("", !0);
|
68
|
-
}
|
69
|
-
};
|
70
|
-
export {
|
71
|
-
I as default
|
72
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),c=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(o,{emit:l}){const u=o,a=l;function n(){a("close-popup")}e.watch(()=>u.isPopupOpen,t=>{t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const i={messages:{en:{},ru:{}}};return c.useI18n(i),(t,s)=>o.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},t.$attrs),[e.createVNode(d.default,{onClick:s[0]||(s[0]=p=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(t.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=p=>n()),class:e.normalizeClass([{active:o.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=v;
|
@@ -1 +1,72 @@
|
|
1
|
-
|
1
|
+
import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as i, createElementBlock as a, mergeProps as P, renderSlot as k, createCommentVNode as r, createElementVNode as x, normalizeClass as C } from "vue";
|
2
|
+
import { useRoute as O, useRouter as T } from "vue-router";
|
3
|
+
import { useI18n as b } from "vue-i18n";
|
4
|
+
import g from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
+
import "./Popup.vue.js";
|
6
|
+
const z = {
|
7
|
+
key: "popup-content",
|
8
|
+
class: "pd-small popup-wrapper"
|
9
|
+
}, I = {
|
10
|
+
__name: "Popup",
|
11
|
+
props: {
|
12
|
+
isPopupOpen: {
|
13
|
+
type: Boolean,
|
14
|
+
default: !1
|
15
|
+
},
|
16
|
+
style: String
|
17
|
+
},
|
18
|
+
emits: ["close-popup"],
|
19
|
+
setup(e, { emit: u }) {
|
20
|
+
const m = e, c = u;
|
21
|
+
function p() {
|
22
|
+
c("close-popup");
|
23
|
+
}
|
24
|
+
return f(() => m.isPopupOpen, (o) => {
|
25
|
+
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
26
|
+
}), O(), T(), b({
|
27
|
+
messages: {
|
28
|
+
en: {},
|
29
|
+
ru: {}
|
30
|
+
}
|
31
|
+
}), (o, t) => e.isPopupOpen ? (s(), v(y, {
|
32
|
+
key: 0,
|
33
|
+
to: "body"
|
34
|
+
}, [
|
35
|
+
n(l, {
|
36
|
+
name: "TransitionTranslateY",
|
37
|
+
appear: ""
|
38
|
+
}, {
|
39
|
+
default: i(() => [
|
40
|
+
e.isPopupOpen ? (s(), a("div", z, [
|
41
|
+
n(l, {
|
42
|
+
name: "TransitionTranslateY",
|
43
|
+
mode: "out-in"
|
44
|
+
}, {
|
45
|
+
default: i(() => [
|
46
|
+
e.isPopupOpen ? (s(), a("section", P({
|
47
|
+
key: 0,
|
48
|
+
class: "pos-relative z-index-4"
|
49
|
+
}, o.$attrs), [
|
50
|
+
n(g, {
|
51
|
+
onClick: t[0] || (t[0] = (d) => p()),
|
52
|
+
class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
|
53
|
+
}),
|
54
|
+
k(o.$slots, "default")
|
55
|
+
], 16)) : r("", !0)
|
56
|
+
]),
|
57
|
+
_: 3
|
58
|
+
}),
|
59
|
+
x("div", {
|
60
|
+
onClick: t[1] || (t[1] = (d) => p()),
|
61
|
+
class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
62
|
+
}, null, 2)
|
63
|
+
])) : r("", !0)
|
64
|
+
]),
|
65
|
+
_: 3
|
66
|
+
})
|
67
|
+
])) : r("", !0);
|
68
|
+
}
|
69
|
+
};
|
70
|
+
export {
|
71
|
+
I as default
|
72
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,97 +1 @@
|
|
1
|
-
|
2
|
-
import D from "../FieldPhone/click-outside.js";
|
3
|
-
import "./Select.vue2.js";
|
4
|
-
import E from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const L = {
|
6
|
-
key: 0,
|
7
|
-
class: "t-transp mn-r-small"
|
8
|
-
}, A = { class: "w-100" }, F = ["onClick"], I = {
|
9
|
-
key: 0,
|
10
|
-
class: "w-100"
|
11
|
-
}, P = {
|
12
|
-
key: 0,
|
13
|
-
class: "mn-t-thin invalid-feedback"
|
14
|
-
}, Y = {
|
15
|
-
__name: "Select",
|
16
|
-
props: {
|
17
|
-
label: String,
|
18
|
-
select: [String, Object],
|
19
|
-
property: String,
|
20
|
-
placeholder: { type: String, default: "Please select an item" },
|
21
|
-
options: { type: Array, default: () => [] },
|
22
|
-
validation: Boolean
|
23
|
-
},
|
24
|
-
emits: ["update:select", "focus", "blur"],
|
25
|
-
setup(o, { emit: C }) {
|
26
|
-
const p = C;
|
27
|
-
let O = D;
|
28
|
-
const e = o, l = y(e.property ? f(e.select, e.property, e.options) : e.select), i = y(!1);
|
29
|
-
function B() {
|
30
|
-
i.value = !1;
|
31
|
-
}
|
32
|
-
function f(t, h, c) {
|
33
|
-
for (const a of c)
|
34
|
-
if (a[h] === t || a === t)
|
35
|
-
return a;
|
36
|
-
return null;
|
37
|
-
}
|
38
|
-
M(() => e.select, (t) => {
|
39
|
-
l.value = e.property ? f(e.select, e.property, e.options) : e.select;
|
40
|
-
});
|
41
|
-
const V = N(() => e.select ? e.options.filter((t) => t !== e.select) : e.options), v = () => {
|
42
|
-
i.value = !i.value, p(i.value ? "focus" : "blur");
|
43
|
-
}, j = (t) => {
|
44
|
-
l.value = t, v(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
|
45
|
-
};
|
46
|
-
return (t, h) => {
|
47
|
-
var c, a;
|
48
|
-
return s(), n(k, null, [
|
49
|
-
b((s(), n("div", {
|
50
|
-
onClick: w(v, ["stop"]),
|
51
|
-
class: _([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
|
52
|
-
}, [
|
53
|
-
o.label ? (s(), n("div", L, [
|
54
|
-
u("span", null, d(o.label), 1)
|
55
|
-
])) : m("", !0),
|
56
|
-
u("li", A, [
|
57
|
-
u("span", null, d((c = l.value) != null && c.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
|
58
|
-
]),
|
59
|
-
g(S, {
|
60
|
-
mode: "out-in",
|
61
|
-
name: "TransitionTranslateY"
|
62
|
-
}, {
|
63
|
-
default: x(() => [
|
64
|
-
b(u("ul", {
|
65
|
-
class: _([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
|
66
|
-
style: { "min-width": "max-content" }
|
67
|
-
}, [
|
68
|
-
(s(!0), n(k, null, T(V.value, (r) => (s(), n("li", {
|
69
|
-
onClick: w((q) => j(r), ["stop"])
|
70
|
-
}, [
|
71
|
-
r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
|
72
|
-
], 8, F))), 256))
|
73
|
-
], 2), [
|
74
|
-
[$, i.value]
|
75
|
-
])
|
76
|
-
]),
|
77
|
-
_: 1
|
78
|
-
})
|
79
|
-
], 2)), [
|
80
|
-
[z(O), B]
|
81
|
-
]),
|
82
|
-
g(S, {
|
83
|
-
mode: "out-in",
|
84
|
-
name: "fade"
|
85
|
-
}, {
|
86
|
-
default: x(() => [
|
87
|
-
o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
|
88
|
-
]),
|
89
|
-
_: 1
|
90
|
-
})
|
91
|
-
], 64);
|
92
|
-
};
|
93
|
-
}
|
94
|
-
}, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-67f55841"]]);
|
95
|
-
export {
|
96
|
-
Q as default
|
97
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},w={class:"w-100"},b=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,select:[String,Object],property:String,placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(o,{emit:m}){const i=m;let f=y.default;const t=o,n=e.ref(t.property?u(t.select,t.property,t.options):t.select),a=e.ref(!1);function v(){a.value=!1}function u(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}e.watch(()=>t.select,l=>{n.value=t.property?u(t.select,t.property,t.options):t.select});const k=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options),d=()=>{a.value=!a.value,i(a.value?"focus":"blur")},h=l=>{n.value=l,d(),t.property?i("update:select",n.value[t.property]):i("update:select",n.value)};return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(d,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[o.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(o.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",w,[e.createElementVNode("span",null,e.toDisplayString((c=n.value)!=null&&c.name?(s=n.value)==null?void 0:s.name:n.value||o.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,b))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),v]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[o.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(o.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-67f55841"]]);exports.default=E;
|
@@ -1 +1,97 @@
|
|
1
|
-
|
1
|
+
import { ref as y, watch as M, computed as N, openBlock as s, createElementBlock as n, Fragment as k, withDirectives as b, withModifiers as w, normalizeClass as _, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as g, Transition as S, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
|
2
|
+
import D from "../FieldPhone/click-outside.js";
|
3
|
+
import "./Select.vue.js";
|
4
|
+
import E from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
const L = {
|
6
|
+
key: 0,
|
7
|
+
class: "t-transp mn-r-small"
|
8
|
+
}, A = { class: "w-100" }, F = ["onClick"], I = {
|
9
|
+
key: 0,
|
10
|
+
class: "w-100"
|
11
|
+
}, P = {
|
12
|
+
key: 0,
|
13
|
+
class: "mn-t-thin invalid-feedback"
|
14
|
+
}, Y = {
|
15
|
+
__name: "Select",
|
16
|
+
props: {
|
17
|
+
label: String,
|
18
|
+
select: [String, Object],
|
19
|
+
property: String,
|
20
|
+
placeholder: { type: String, default: "Please select an item" },
|
21
|
+
options: { type: Array, default: () => [] },
|
22
|
+
validation: Boolean
|
23
|
+
},
|
24
|
+
emits: ["update:select", "focus", "blur"],
|
25
|
+
setup(o, { emit: C }) {
|
26
|
+
const p = C;
|
27
|
+
let O = D;
|
28
|
+
const e = o, l = y(e.property ? f(e.select, e.property, e.options) : e.select), i = y(!1);
|
29
|
+
function B() {
|
30
|
+
i.value = !1;
|
31
|
+
}
|
32
|
+
function f(t, h, c) {
|
33
|
+
for (const a of c)
|
34
|
+
if (a[h] === t || a === t)
|
35
|
+
return a;
|
36
|
+
return null;
|
37
|
+
}
|
38
|
+
M(() => e.select, (t) => {
|
39
|
+
l.value = e.property ? f(e.select, e.property, e.options) : e.select;
|
40
|
+
});
|
41
|
+
const V = N(() => e.select ? e.options.filter((t) => t !== e.select) : e.options), v = () => {
|
42
|
+
i.value = !i.value, p(i.value ? "focus" : "blur");
|
43
|
+
}, j = (t) => {
|
44
|
+
l.value = t, v(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
|
45
|
+
};
|
46
|
+
return (t, h) => {
|
47
|
+
var c, a;
|
48
|
+
return s(), n(k, null, [
|
49
|
+
b((s(), n("div", {
|
50
|
+
onClick: w(v, ["stop"]),
|
51
|
+
class: _([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
|
52
|
+
}, [
|
53
|
+
o.label ? (s(), n("div", L, [
|
54
|
+
u("span", null, d(o.label), 1)
|
55
|
+
])) : m("", !0),
|
56
|
+
u("li", A, [
|
57
|
+
u("span", null, d((c = l.value) != null && c.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
|
58
|
+
]),
|
59
|
+
g(S, {
|
60
|
+
mode: "out-in",
|
61
|
+
name: "TransitionTranslateY"
|
62
|
+
}, {
|
63
|
+
default: x(() => [
|
64
|
+
b(u("ul", {
|
65
|
+
class: _([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
|
66
|
+
style: { "min-width": "max-content" }
|
67
|
+
}, [
|
68
|
+
(s(!0), n(k, null, T(V.value, (r) => (s(), n("li", {
|
69
|
+
onClick: w((q) => j(r), ["stop"])
|
70
|
+
}, [
|
71
|
+
r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
|
72
|
+
], 8, F))), 256))
|
73
|
+
], 2), [
|
74
|
+
[$, i.value]
|
75
|
+
])
|
76
|
+
]),
|
77
|
+
_: 1
|
78
|
+
})
|
79
|
+
], 2)), [
|
80
|
+
[z(O), B]
|
81
|
+
]),
|
82
|
+
g(S, {
|
83
|
+
mode: "out-in",
|
84
|
+
name: "fade"
|
85
|
+
}, {
|
86
|
+
default: x(() => [
|
87
|
+
o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
|
88
|
+
]),
|
89
|
+
_: 1
|
90
|
+
})
|
91
|
+
], 64);
|
92
|
+
};
|
93
|
+
}
|
94
|
+
}, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-67f55841"]]);
|
95
|
+
export {
|
96
|
+
Q as default
|
97
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router"),m=require("vue-i18n"),f=require("../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");require("../Loader/Loader.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router"),m=require("vue-i18n"),f=require("../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");require("../Loader/Loader.vue.cjs");const _={class:"embla__container"},b={__name:"Slider",props:{store:Object,options:Object,text:Object},setup(s){const n=s;p.useRouter(),m.useI18n(n.text||{messages:{en:{title:"Explore Our Collection"}}});const l=e.ref([]),r=e.ref(!0),u={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[c,t]=f.default({loop:!0},[v.default(u)]),a=o=>selectedIndex.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{l.value=await n.store.read({...n.options}),console.log(l.value),r.value=!1,onInit(t),a(),t.value.on("reInit",onInit),t.value.on("reInit",a),t.value.on("select",a)}),(o,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:c},[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(i,d,I)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:d},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{item:i,user:o.user})]),_:2},1024)]))),128))])],512))}};exports.default=b;
|
@@ -3,7 +3,7 @@ import { useRouter as y } from "vue-router";
|
|
3
3
|
import { useI18n as E } from "vue-i18n";
|
4
4
|
import N from "../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
|
5
5
|
import g from "../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js";
|
6
|
-
import "../Loader/Loader.
|
6
|
+
import "../Loader/Loader.vue.js";
|
7
7
|
const j = { class: "embla__container" }, F = {
|
8
8
|
__name: "Slider",
|
9
9
|
props: {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,36 +1 @@
|
|
1
|
-
|
2
|
-
import "./Spoiler.vue2.js";
|
3
|
-
const m = {
|
4
|
-
key: 0,
|
5
|
-
class: "spoiler"
|
6
|
-
}, x = {
|
7
|
-
__name: "Spoiler",
|
8
|
-
props: {
|
9
|
-
status: {
|
10
|
-
type: Boolean,
|
11
|
-
default: !1
|
12
|
-
}
|
13
|
-
},
|
14
|
-
setup(r) {
|
15
|
-
const t = r, e = i(!1);
|
16
|
-
return t.status && (e.value = t.status), (o, l) => (s(), a("div", null, [
|
17
|
-
p("div", {
|
18
|
-
onClick: l[0] || (l[0] = (v) => e.value = !e.value),
|
19
|
-
class: "flex-v-center flex-nowrap flex"
|
20
|
-
}, [
|
21
|
-
n(o.$slots, "header", { isOpen: e.value })
|
22
|
-
]),
|
23
|
-
u(c, { name: "collapse" }, {
|
24
|
-
default: d(() => [
|
25
|
-
e.value ? (s(), a("div", m, [
|
26
|
-
n(o.$slots, "content")
|
27
|
-
])) : f("", !0)
|
28
|
-
]),
|
29
|
-
_: 3
|
30
|
-
})
|
31
|
-
]));
|
32
|
-
}
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
x as default
|
36
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Spoiler.vue.cjs");const n={key:0,class:"spoiler"},a={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(r){const l=r,t=e.ref(!1);return l.status&&(t.value=l.status),(o,s)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{onClick:s[0]||(s[0]=u=>t.value=!t.value),class:"flex-v-center flex-nowrap flex"},[e.renderSlot(o.$slots,"header",{isOpen:t.value})]),e.createVNode(e.Transition,{name:"collapse"},{default:e.withCtx(()=>[t.value?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(o.$slots,"content")])):e.createCommentVNode("",!0)]),_:3})]))}};exports.default=a;
|
@@ -1 +1,36 @@
|
|
1
|
-
|
1
|
+
import { ref as i, openBlock as s, createElementBlock as a, createElementVNode as p, renderSlot as n, createVNode as u, Transition as c, withCtx as d, createCommentVNode as f } from "vue";
|
2
|
+
import "./Spoiler.vue.js";
|
3
|
+
const m = {
|
4
|
+
key: 0,
|
5
|
+
class: "spoiler"
|
6
|
+
}, x = {
|
7
|
+
__name: "Spoiler",
|
8
|
+
props: {
|
9
|
+
status: {
|
10
|
+
type: Boolean,
|
11
|
+
default: !1
|
12
|
+
}
|
13
|
+
},
|
14
|
+
setup(r) {
|
15
|
+
const t = r, e = i(!1);
|
16
|
+
return t.status && (e.value = t.status), (o, l) => (s(), a("div", null, [
|
17
|
+
p("div", {
|
18
|
+
onClick: l[0] || (l[0] = (v) => e.value = !e.value),
|
19
|
+
class: "flex-v-center flex-nowrap flex"
|
20
|
+
}, [
|
21
|
+
n(o.$slots, "header", { isOpen: e.value })
|
22
|
+
]),
|
23
|
+
u(c, { name: "collapse" }, {
|
24
|
+
default: d(() => [
|
25
|
+
e.value ? (s(), a("div", m, [
|
26
|
+
n(o.$slots, "content")
|
27
|
+
])) : f("", !0)
|
28
|
+
]),
|
29
|
+
_: 3
|
30
|
+
})
|
31
|
+
]));
|
32
|
+
}
|
33
|
+
};
|
34
|
+
export {
|
35
|
+
x as default
|
36
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Tab.vue2.cjs");const m={class:""},v={class:"flex-nowrap flex-v-center flex pos-relative"},p=["onClick"],k={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(s,{emit:o}){const i=o,l=s,c=e.ref(0);if(l.selected){const t=l.tabs.findIndex(a=>a.value===l.selected);t!==-1&&(c.value=t)}function u(t,a){c.value=t,i("update:selected",a.value),l.callback&&l.callback()}function d(t){return`${100/l.tabs.length*t}%`}function f(){return`${100/l.tabs.length}%`}const b=e.computed(()=>({left:d(c.value),width:f()}));return(t,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.tabs,(r,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:_=>u(n,r),class:e.normalizeClass([{"t-transp":n!==c.value},"z-index-1 t-center pd-small w-100"])},[e.createElementVNode("label",null,e.toDisplayString(r.name),1)],10,p))),128)),e.createElementVNode("div",{style:e.normalizeStyle(b.value),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}};exports.default=k;
|
@@ -1 +1,46 @@
|
|
1
|
-
|
1
|
+
import { ref as v, computed as h, openBlock as c, createElementBlock as s, createElementVNode as r, Fragment as _, renderList as g, normalizeClass as k, toDisplayString as x, normalizeStyle as y } from "vue";
|
2
|
+
import "./Tab.vue2.js";
|
3
|
+
const S = { class: "" }, T = { class: "flex-nowrap flex-v-center flex pos-relative" }, w = ["onClick"], W = {
|
4
|
+
__name: "Tab",
|
5
|
+
props: {
|
6
|
+
tabs: Array,
|
7
|
+
selected: String,
|
8
|
+
callback: Function
|
9
|
+
},
|
10
|
+
emits: ["update:selected"],
|
11
|
+
setup(o, { emit: d }) {
|
12
|
+
const u = d, t = o, a = v(0);
|
13
|
+
if (t.selected) {
|
14
|
+
const e = t.tabs.findIndex((l) => l.value === t.selected);
|
15
|
+
e !== -1 && (a.value = e);
|
16
|
+
}
|
17
|
+
function f(e, l) {
|
18
|
+
a.value = e, u("update:selected", l.value), t.callback && t.callback();
|
19
|
+
}
|
20
|
+
function b(e) {
|
21
|
+
return `${100 / t.tabs.length * e}%`;
|
22
|
+
}
|
23
|
+
function m() {
|
24
|
+
return `${100 / t.tabs.length}%`;
|
25
|
+
}
|
26
|
+
const p = h(() => ({ left: b(a.value), width: m() }));
|
27
|
+
return (e, l) => (c(), s("div", S, [
|
28
|
+
r("div", T, [
|
29
|
+
(c(!0), s(_, null, g(o.tabs, (i, n) => (c(), s("div", {
|
30
|
+
key: n,
|
31
|
+
onClick: (z) => f(n, i),
|
32
|
+
class: k([{ "t-transp": n !== a.value }, "z-index-1 t-center pd-small w-100"])
|
33
|
+
}, [
|
34
|
+
r("label", null, x(i.name), 1)
|
35
|
+
], 10, w))), 128)),
|
36
|
+
r("div", {
|
37
|
+
style: y(p.value),
|
38
|
+
class: "radius-extra bg-main t-white tab-selector"
|
39
|
+
}, null, 4)
|
40
|
+
])
|
41
|
+
]));
|
42
|
+
}
|
43
|
+
};
|
44
|
+
export {
|
45
|
+
W as default
|
46
|
+
};
|