@ozdao/prometheus-framework 0.1.62 → 0.1.66
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-30022293.js +1 -0
- package/dist/BackofficeGallery-f64daa0d.mjs +264 -0
- package/dist/BackofficeReports-cb4b180d.mjs +44 -0
- package/dist/BackofficeReports-d021871f.js +1 -0
- package/dist/BlockTags-8cddaef7.js +1 -0
- package/dist/BlockTags-ee310572.mjs +853 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Button-7643c9aa.js +1 -0
- package/dist/Button-9e1a9284.mjs +226 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/ButtonToggleMembership-7ee4dc8e.mjs +90 -0
- package/dist/ButtonToggleMembership-b9352cec.js +1 -0
- package/dist/CardBlogpost-3c92fbc9.mjs +246 -0
- package/dist/CardBlogpost-c7364b1e.js +1 -0
- package/dist/CardOrganization-647cb571.js +1 -0
- package/dist/CardOrganization-facb77f7.mjs +234 -0
- package/dist/CardProduct-92affca1.js +1 -0
- package/dist/CardProduct-fca53299.mjs +193 -0
- package/dist/Checkbox-5dbe7b23.mjs +62 -0
- package/dist/Checkbox-76f09248.js +1 -0
- package/dist/Chips-0fdb31c9.js +1 -0
- package/dist/Chips-f1a0d085.mjs +214 -0
- package/dist/Community-534d473c.mjs +132 -0
- package/dist/Community-e9aff969.js +1 -0
- package/dist/Dashboard-91d73bc5.js +1 -0
- package/dist/Dashboard-ea9035bc.mjs +152 -0
- package/dist/Dropdown-31115457.js +1 -0
- package/dist/Dropdown-cab3605b.mjs +146 -0
- package/dist/EULA-aba6a807.js +1 -0
- package/dist/EULA-e05236af.mjs +4210 -0
- package/dist/EditOrder-94bbebff.mjs +221 -0
- package/dist/EditOrder-c070d474.js +1 -0
- package/dist/EmptyState-d65bab5b.js +1 -0
- package/dist/EmptyState-e404b05d.mjs +36 -0
- package/dist/Events-46ae8fc6.mjs +123 -0
- package/dist/Events-813c8c7b.js +1 -0
- package/dist/Feed-2d443ad2.mjs +146 -0
- package/dist/Feed-3a4e7a9c.js +1 -0
- package/dist/Feed-8b554fc1.js +1 -0
- package/dist/Feed-98b47c6f.js +1 -0
- package/dist/Feed-a21d6007.mjs +124 -0
- package/dist/Feed-b39138c8.js +1 -0
- package/dist/Feed-c41ef736.mjs +361 -0
- package/dist/Feed-d114330c.mjs +112 -0
- package/dist/Field-e2a43424.js +1 -0
- package/dist/Field-e5ad88d3.mjs +75 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
- package/dist/Gallery-46b5f939.js +1 -0
- package/dist/Gallery-762a9c2d.mjs +241 -0
- package/dist/IconChevronRight-a55f838e.js +1 -0
- package/dist/IconChevronRight-fae9d012.mjs +28 -0
- package/dist/IconCommunity-468dc457.mjs +65 -0
- package/dist/IconCommunity-b339e806.js +1 -0
- package/dist/IconCross-5bf93179.js +1 -0
- package/dist/IconCross-84cb1292.mjs +28 -0
- package/dist/IconEdit-9edfd74d.mjs +21 -0
- package/dist/IconEdit-c0469b45.js +1 -0
- package/dist/Image-4dcfddb8.js +9 -0
- package/dist/Image-e0da17ac.mjs +571 -0
- package/dist/LabelGooglePlay-24feb437.mjs +31 -0
- package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
- package/dist/LeftoverAdd-5a8988d9.js +1 -0
- package/dist/LeftoverAdd-c4f37f47.mjs +227 -0
- package/dist/Leftovers-470a1689.js +1 -0
- package/dist/Leftovers-69c7dcd9.mjs +136 -0
- package/dist/Loader-21f016da.js +1 -0
- package/dist/Loader-cd422786.mjs +41 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Members-04273cd4.mjs +114 -0
- package/dist/Members-0685a15f.js +1 -0
- package/dist/Menu-b5d6a0c7.js +1 -0
- package/dist/Menu-dd7645c1.mjs +13 -0
- package/dist/MenuItem-56ae7f94.js +1 -0
- package/dist/MenuItem-6296d02f.mjs +63 -0
- package/dist/Orders-b64e8cb9.js +1 -0
- package/dist/Orders-ff30db05.mjs +75 -0
- package/dist/Organizations-46aab2c8.mjs +73 -0
- package/dist/Organizations-a8627bc5.js +1 -0
- package/dist/Payments-53e5fecf.js +1 -0
- package/dist/Payments-82e545e1.mjs +87 -0
- package/dist/PlaceholderUserpic-14c6ea7e.mjs +28 -0
- package/dist/PlaceholderUserpic-47f6f319.js +1 -0
- package/dist/Popup-0915427c.mjs +74 -0
- package/dist/Popup-795f5c88.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Product-7e001b81.js +7 -0
- package/dist/Product-f3f42158.mjs +653 -0
- package/dist/ProductEdit-959b3cd3.mjs +295 -0
- package/dist/ProductEdit-bae5e898.js +1 -0
- package/dist/ProductsBackoffice-0716123f.js +1 -0
- package/dist/ProductsBackoffice-a36ecbc6.mjs +85 -0
- package/dist/ProfileBlogposts-c790d1b2.js +1 -0
- package/dist/ProfileBlogposts-f43cf32e.mjs +79 -0
- package/dist/ProfileEvents-12f80fff.mjs +70 -0
- package/dist/ProfileEvents-585570a3.js +1 -0
- package/dist/ProfileOrganizations-bbc2cf40.mjs +73 -0
- package/dist/ProfileOrganizations-d7103514.js +1 -0
- package/dist/Publics-094f3c2c.mjs +45 -0
- package/dist/Publics-1032c0f4.js +1 -0
- package/dist/Select-11ddabf5.mjs +79 -0
- package/dist/Select-3ca5ab39.js +1 -0
- package/dist/SelectMulti-58704d69.mjs +1038 -0
- package/dist/SelectMulti-c25765cf.js +1 -0
- package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
- package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
- package/dist/SkeletonEvent-8690422d.mjs +16 -0
- package/dist/SkeletonEvent-eb284de8.js +1 -0
- package/dist/SkeletonEventShort-6c9e3940.js +1 -0
- package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
- package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
- package/dist/SkeletonOrganization-8690422d.mjs +16 -0
- package/dist/Socials-31c06635.mjs +74 -0
- package/dist/Socials-cceaeaf2.js +1 -0
- package/dist/Tab-054b61f7.mjs +46 -0
- package/dist/Tab-2c1e4224.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Upload-06d93178.js +1 -0
- package/dist/Upload-23212d9d.mjs +74 -0
- package/dist/UploadImage-0f488170.js +1 -0
- package/dist/UploadImage-3c627d89.mjs +83 -0
- package/dist/UploadImageMultiple-cb6c7188.mjs +58 -0
- package/dist/UploadImageMultiple-eddaac87.js +1 -0
- package/dist/Wallet-2043b611.mjs +24682 -0
- package/dist/Wallet-8fa7386a.js +55 -0
- package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
- package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
- package/dist/auth-56dc2ba7.mjs +607 -0
- package/dist/auth-f018f5b3.js +7 -0
- package/dist/auth.client.cjs +7 -0
- package/dist/auth.client.js +3874 -0
- package/dist/auth.validation-c31a60e7.mjs +24 -0
- package/dist/auth.validation-d049b341.js +1 -0
- package/dist/backoffice.client.cjs +1 -0
- package/dist/backoffice.client.js +265 -0
- package/dist/carousel.es-44c501bc.mjs +383 -0
- package/dist/carousel.es-cdfb392c.js +5 -0
- package/dist/categories-5b08da53.mjs +121 -0
- package/dist/categories-7ccd6be9.js +1 -0
- package/dist/click-outside-0b0727d1.js +2 -0
- package/dist/click-outside-6101836c.mjs +19 -0
- package/dist/community.client.cjs +1 -0
- package/dist/community.client.js +692 -0
- package/dist/dribbble-8e8e169b.js +1 -0
- package/dist/dribbble-ae37c2ac.mjs +127 -0
- package/dist/events.client.cjs +2 -0
- package/dist/events.client.js +8885 -0
- package/dist/files.client.cjs +1 -0
- package/dist/files.client.js +1 -0
- package/dist/gallery-d4297191.mjs +54 -0
- package/dist/gallery-f92912df.js +1 -0
- package/dist/gallery.client.cjs +1 -0
- package/dist/gallery.client.js +18 -0
- package/dist/globals-928eb13c.js +1 -0
- package/dist/globals-96ba60e4.mjs +91 -0
- package/dist/globals.client.cjs +1 -0
- package/dist/globals.client.js +12 -0
- package/dist/icons.client.cjs +1 -0
- package/dist/icons.client.js +84 -0
- package/dist/index-a661083c.mjs +934 -0
- package/dist/index-b41aac19.js +2 -0
- package/dist/inputs.validation-d7cef32b.js +1 -0
- package/dist/inputs.validation-db65277a.mjs +83 -0
- package/dist/landing.client.cjs +1 -0
- package/dist/landing.client.js +111 -0
- package/dist/leftovers-5d1ff88b.mjs +67 -0
- package/dist/leftovers-b60180cf.js +1 -0
- package/dist/legal.client.cjs +1 -0
- package/dist/legal.client.js +8512 -0
- package/dist/memberships-12210953.mjs +68 -0
- package/dist/memberships-393765d8.js +1 -0
- package/dist/middlewares.client.cjs +1 -0
- package/dist/middlewares.client.js +1 -0
- package/dist/orders-13c10d49.mjs +85 -0
- package/dist/orders-37f041aa.js +1 -0
- package/dist/organizations-587d5a4d.mjs +122 -0
- package/dist/organizations-b4d902a2.js +1 -0
- package/dist/organizations.client-35b74e44.mjs +2997 -0
- package/dist/organizations.client-f982f55a.js +3 -0
- package/dist/organizations.client.cjs +1 -0
- package/dist/organizations.client.js +86 -0
- package/dist/products-3c43eb18.js +1 -0
- package/dist/products-943fb95e.mjs +107 -0
- 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/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +65 -67
- 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 +1 -1
- 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 -61
- 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 +61 -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 +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 +1 -1
- 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/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/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- 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 +1 -1
- 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/pages/LeftoverAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
- 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 +1 -1
- 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/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/reports-270f69df.js +1 -0
- package/dist/reports-79cd9459.mjs +91 -0
- package/dist/reports.client.cjs +1 -0
- package/dist/reports.client.js +8 -0
- package/dist/states.validation-3b70f83a.js +1 -0
- package/dist/states.validation-944e334c.mjs +13 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -0
- package/dist/users.client.js +632 -0
- package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
- package/dist/vue-draggable-next.esm-bundler-ff6e3f52.mjs +1557 -0
- package/dist/vuex.esm-bundler-57d8b6ba.mjs +750 -0
- package/dist/vuex.esm-bundler-685cf29f.js +5 -0
- package/package.json +1 -1
- package/src/modules/auth/components/pages/SignIn.vue +2 -2
@@ -0,0 +1,653 @@
|
|
1
|
+
import { getCurrentInstance as D, isProxy as X, watch as O, defineComponent as U, withAsyncContext as N, ref as y, onMounted as F, openBlock as i, createElementBlock as r, createElementVNode as o, toDisplayString as f, unref as l, createVNode as C, withCtx as M, Fragment as R, renderList as z, createBlock as T, computed as S, onUnmounted as W, Transition as Z, withModifiers as J, createCommentVNode as v, createStaticVNode as Y, normalizeStyle as G, reactive as Q } from "vue";
|
2
|
+
import { _ as K } from "./categories-5b08da53.mjs";
|
3
|
+
import { useRouter as H, useRoute as tt } from "vue-router";
|
4
|
+
import { useI18n as E } from "vue-i18n";
|
5
|
+
import { C as et, S as st } from "./carousel.es-44c501bc.mjs";
|
6
|
+
import { _ as ot, a as at } from "./CardProduct-fca53299.mjs";
|
7
|
+
import { a as q, s as $ } from "./products-943fb95e.mjs";
|
8
|
+
import { L as nt } from "./Loader-cd422786.mjs";
|
9
|
+
import { _ as A } from "./_plugin-vue_export-helper-dad06003.mjs";
|
10
|
+
import { _ as it } from "./Popup-0915427c.mjs";
|
11
|
+
import { I as rt } from "./IconEdit-9edfd74d.mjs";
|
12
|
+
import "./auth-56dc2ba7.mjs";
|
13
|
+
import "./globals-96ba60e4.mjs";
|
14
|
+
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
15
|
+
import "./index-a661083c.mjs";
|
16
|
+
import "./vuex.esm-bundler-57d8b6ba.mjs";
|
17
|
+
import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
18
|
+
import "./IconCross-84cb1292.mjs";
|
19
|
+
import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
20
|
+
/**
|
21
|
+
* vue-meta v3.0.0-alpha.10
|
22
|
+
* (c) 2022
|
23
|
+
* - Pim (@pimlie)
|
24
|
+
* - All the amazing contributors
|
25
|
+
* @license MIT
|
26
|
+
*/
|
27
|
+
const ct = (t) => t !== null && typeof t == "object";
|
28
|
+
function j(t, e, s) {
|
29
|
+
for (const a in e)
|
30
|
+
a in s ? ct(t[a]) ? j(t[a], e[a], s[a]) : e[a] !== s[a] && (t[a] = e[a]) : t[a] = e[a];
|
31
|
+
for (const a in s)
|
32
|
+
e && a in e || delete t[a];
|
33
|
+
}
|
34
|
+
function B(t) {
|
35
|
+
if (t || (t = D() || void 0), t)
|
36
|
+
return t.appContext.config.globalProperties.$metaManager;
|
37
|
+
}
|
38
|
+
function lt(t, e) {
|
39
|
+
const s = D() || void 0;
|
40
|
+
if (!e && s && (e = B(s)), !e)
|
41
|
+
throw new Error("No manager or current instance");
|
42
|
+
X(t) && (O(t, (n, c) => {
|
43
|
+
j(a.meta, n, c);
|
44
|
+
}), t = t.value);
|
45
|
+
const a = e.addMeta(t, s);
|
46
|
+
return a;
|
47
|
+
}
|
48
|
+
U({ name: "Metainfo", inheritAttrs: !1, setup: (t, { slots: e }) => () => {
|
49
|
+
const s = B();
|
50
|
+
if (s)
|
51
|
+
return s.render({ slots: e });
|
52
|
+
} });
|
53
|
+
const ut = {
|
54
|
+
id: "popularProducts",
|
55
|
+
class: "pd-thin"
|
56
|
+
}, dt = { class: "bg-grey radius-big pd-t-big pd-b-big" }, mt = { class: "mn-semi t-center title" }, pt = { class: "" }, ht = {
|
57
|
+
__name: "PopularProducts",
|
58
|
+
async setup(t) {
|
59
|
+
let e, s;
|
60
|
+
H(), [e, s] = N(() => q.read({ limit: 10 })), await e, s();
|
61
|
+
const a = {
|
62
|
+
messages: {
|
63
|
+
en: {
|
64
|
+
title: "Explore Hot Products 🔥",
|
65
|
+
subtitle: "We attach great importance to high quality and customer satisfaction"
|
66
|
+
},
|
67
|
+
ru: {
|
68
|
+
title: "Самое Горячее 🔥",
|
69
|
+
subtitle: "Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}, { t: n } = E(a), c = y(null), _ = {
|
73
|
+
320: { itemsToShow: 1 },
|
74
|
+
640: { itemsToShow: 3 },
|
75
|
+
1024: { itemsToShow: 3 }
|
76
|
+
};
|
77
|
+
return F(async () => {
|
78
|
+
setTimeout(() => {
|
79
|
+
c.value.updateSlideWidth();
|
80
|
+
}, 500);
|
81
|
+
}), (p, d) => (i(), r("div", ut, [
|
82
|
+
o("div", dt, [
|
83
|
+
o("div", mt, [
|
84
|
+
o("h2", pt, f(l(n)("title")), 1)
|
85
|
+
]),
|
86
|
+
C(l(et), {
|
87
|
+
ref_key: "myCarousel",
|
88
|
+
ref: c,
|
89
|
+
"items-to-show": 3,
|
90
|
+
transition: 330,
|
91
|
+
wrapAround: !0,
|
92
|
+
autoplay: 3e3,
|
93
|
+
pauseAutoplayOnHover: !0,
|
94
|
+
breakpoints: _
|
95
|
+
}, {
|
96
|
+
default: M(() => [
|
97
|
+
(i(!0), r(R, null, z($.all, (m, h, w) => (i(), T(l(st), {
|
98
|
+
class: "pd-thin",
|
99
|
+
key: h
|
100
|
+
}, {
|
101
|
+
default: M(() => [
|
102
|
+
C(ot, {
|
103
|
+
class: "carousel__item h-100 w-100",
|
104
|
+
product: m
|
105
|
+
}, null, 8, ["product"])
|
106
|
+
]),
|
107
|
+
_: 2
|
108
|
+
}, 1024))), 128))
|
109
|
+
]),
|
110
|
+
_: 1
|
111
|
+
}, 512)
|
112
|
+
])
|
113
|
+
]));
|
114
|
+
}
|
115
|
+
};
|
116
|
+
const _t = { class: "product-360-viewer" }, ft = /* @__PURE__ */ Y('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-6accd1fb><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path></svg>', 1), gt = {
|
117
|
+
key: 0,
|
118
|
+
class: "h-100 w-100 transition-ease"
|
119
|
+
}, vt = ["src"], yt = {
|
120
|
+
__name: "Images360",
|
121
|
+
props: {
|
122
|
+
imagePath: {
|
123
|
+
type: String,
|
124
|
+
required: !0
|
125
|
+
},
|
126
|
+
imageCount: {
|
127
|
+
type: Number,
|
128
|
+
default: 36
|
129
|
+
},
|
130
|
+
autoRotateSpeed: {
|
131
|
+
type: Number,
|
132
|
+
default: 100
|
133
|
+
}
|
134
|
+
},
|
135
|
+
setup(t) {
|
136
|
+
const e = t, s = y(0), a = y(!1), n = y(0), c = y(0);
|
137
|
+
y(!0);
|
138
|
+
const _ = async () => {
|
139
|
+
const g = [];
|
140
|
+
for (let b = 1; b <= e.imageCount; b++) {
|
141
|
+
const I = new Image();
|
142
|
+
I.src = `${e.imagePath}/${b}.jpg`;
|
143
|
+
try {
|
144
|
+
await I.decode(), c.value++;
|
145
|
+
} catch (V) {
|
146
|
+
console.warn(`Failed to decode ${e.imagePath}/${b}.jpg:`, V);
|
147
|
+
}
|
148
|
+
g.push(I);
|
149
|
+
}
|
150
|
+
return g;
|
151
|
+
}, p = S(() => Math.round(c.value / e.imageCount * 100)), d = y([]), m = y(""), h = y(null);
|
152
|
+
O(s, (g) => {
|
153
|
+
m.value = d.value[g] || "";
|
154
|
+
});
|
155
|
+
function w(g) {
|
156
|
+
a.value = !0, n.value = g.clientX || g.touches[0].clientX;
|
157
|
+
}
|
158
|
+
function L(g) {
|
159
|
+
if (!a.value)
|
160
|
+
return;
|
161
|
+
const b = g.clientX || g.touches[0].clientX, I = b - n.value;
|
162
|
+
if (Math.abs(I) >= 5) {
|
163
|
+
const V = I > 0 ? 1 : -1;
|
164
|
+
s.value = (s.value + V) % e.imageCount, s.value < 0 && (s.value = e.imageCount - 1), n.value = b;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
function k() {
|
168
|
+
a.value = !1;
|
169
|
+
}
|
170
|
+
let x = null;
|
171
|
+
const P = () => {
|
172
|
+
d.value = [];
|
173
|
+
};
|
174
|
+
return F(async () => {
|
175
|
+
d.value = await _(), m.value = d.value[0] || "";
|
176
|
+
}), W(() => {
|
177
|
+
clearInterval(x), P();
|
178
|
+
}), (g, b) => (i(), r("div", _t, [
|
179
|
+
ft,
|
180
|
+
C(Z, {
|
181
|
+
name: "scale5",
|
182
|
+
css: !h.value,
|
183
|
+
appear: ""
|
184
|
+
}, {
|
185
|
+
default: M(() => [
|
186
|
+
m.value ? (i(), r("div", gt, [
|
187
|
+
m.value ? (i(), r("img", {
|
188
|
+
key: m.value,
|
189
|
+
class: "h-100 w-100 transition-ease",
|
190
|
+
src: (g.FILE_SERVER_URL || "") + m.value.src,
|
191
|
+
alt: "360 product view",
|
192
|
+
onMousedown: w,
|
193
|
+
onMousemove: L,
|
194
|
+
onMouseup: k,
|
195
|
+
onMouseleave: k,
|
196
|
+
onTouchstart: w,
|
197
|
+
onTouchmove: L,
|
198
|
+
onTouchend: k,
|
199
|
+
onDragstart: b[0] || (b[0] = J(() => {
|
200
|
+
}, ["prevent"]))
|
201
|
+
}, null, 40, vt)) : v("", !0)
|
202
|
+
])) : v("", !0)
|
203
|
+
]),
|
204
|
+
_: 1
|
205
|
+
}, 8, ["css"]),
|
206
|
+
C(Z, { name: "scale5" }, {
|
207
|
+
default: M(() => [
|
208
|
+
m.value ? v("", !0) : (i(), T(nt, {
|
209
|
+
key: 0,
|
210
|
+
progress: l(p),
|
211
|
+
class: "center z-index-5"
|
212
|
+
}, null, 8, ["progress"]))
|
213
|
+
]),
|
214
|
+
_: 1
|
215
|
+
})
|
216
|
+
]));
|
217
|
+
}
|
218
|
+
}, Ct = /* @__PURE__ */ A(yt, [["__scopeId", "data-v-6accd1fb"]]);
|
219
|
+
const wt = ["src"], bt = {
|
220
|
+
__name: "Magnifier",
|
221
|
+
props: {
|
222
|
+
imageSrc: String,
|
223
|
+
zoomFactor: {
|
224
|
+
type: Number,
|
225
|
+
default: 2
|
226
|
+
}
|
227
|
+
},
|
228
|
+
setup(t) {
|
229
|
+
const e = t, s = y(!1), a = y({});
|
230
|
+
function n(h) {
|
231
|
+
const w = h.target.getBoundingClientRect(), L = h.clientX - w.left, k = h.clientY - w.top, x = 100, P = Math.max(0, Math.min(L - x / 2, w.width - x)), g = Math.max(0, Math.min(k - x / 2, w.height - x));
|
232
|
+
a.value = {
|
233
|
+
left: `${P}px`,
|
234
|
+
top: `${g}px`,
|
235
|
+
backgroundPosition: `-${P * e.zoomFactor}px -${g * e.zoomFactor}px`,
|
236
|
+
backgroundImage: `url(${e.imageSrc})`,
|
237
|
+
backgroundSize: `${w.width * e.zoomFactor}px ${w.height * e.zoomFactor}px`
|
238
|
+
};
|
239
|
+
}
|
240
|
+
function c(h) {
|
241
|
+
s.value = !0, n(h);
|
242
|
+
}
|
243
|
+
function _() {
|
244
|
+
s.value = !1;
|
245
|
+
}
|
246
|
+
function p(h) {
|
247
|
+
h.preventDefault(), s.value = !0, n(h.touches[0]);
|
248
|
+
}
|
249
|
+
function d(h) {
|
250
|
+
h.preventDefault(), n(h.touches[0]);
|
251
|
+
}
|
252
|
+
function m() {
|
253
|
+
s.value = !1;
|
254
|
+
}
|
255
|
+
return (h, w) => (i(), r("div", {
|
256
|
+
class: "w-100 image-container",
|
257
|
+
onMousemove: c,
|
258
|
+
onMouseleave: _,
|
259
|
+
onTouchstart: p,
|
260
|
+
onTouchmove: d,
|
261
|
+
onTouchend: m
|
262
|
+
}, [
|
263
|
+
o("img", {
|
264
|
+
src: (h.FILE_SERVER_URL || "") + t.imageSrc,
|
265
|
+
class: "w-100"
|
266
|
+
}, null, 8, wt),
|
267
|
+
s.value ? (i(), r("div", {
|
268
|
+
key: 0,
|
269
|
+
class: "zoom-lens",
|
270
|
+
style: G(a.value)
|
271
|
+
}, null, 4)) : v("", !0)
|
272
|
+
], 32));
|
273
|
+
}
|
274
|
+
}, $t = /* @__PURE__ */ A(bt, [["__scopeId", "data-v-c3815eaf"]]);
|
275
|
+
const St = { class: "product-images" }, xt = { class: "no-responsive cols-4 thumbnails" }, It = ["src", "onClick"], kt = {
|
276
|
+
__name: "ImagesThumbnails",
|
277
|
+
props: {
|
278
|
+
images: {
|
279
|
+
type: Array,
|
280
|
+
required: !0
|
281
|
+
}
|
282
|
+
},
|
283
|
+
setup(t) {
|
284
|
+
const e = y(!1), s = y(0), a = (c) => {
|
285
|
+
s.value = c, e.value = !0;
|
286
|
+
}, n = () => {
|
287
|
+
e.value = !1;
|
288
|
+
};
|
289
|
+
return (c, _) => (i(), r("div", St, [
|
290
|
+
o("div", xt, [
|
291
|
+
(i(!0), r(R, null, z(t.images, (p, d) => (i(), r("img", {
|
292
|
+
key: d,
|
293
|
+
src: (c.FILE_SERVER_URL || "") + p,
|
294
|
+
onClick: (m) => a(d),
|
295
|
+
class: "radius-medium bg-white o-hidden thumbnail"
|
296
|
+
}, null, 8, It))), 128))
|
297
|
+
]),
|
298
|
+
C(it, {
|
299
|
+
onClosePopup: n,
|
300
|
+
isPopupOpen: e.value,
|
301
|
+
class: "radius-medium o-hidden"
|
302
|
+
}, {
|
303
|
+
default: M(() => [
|
304
|
+
C($t, {
|
305
|
+
imageSrc: c.path + t.images[s.value],
|
306
|
+
class: "magnifier z-index-4"
|
307
|
+
}, null, 8, ["imageSrc"])
|
308
|
+
]),
|
309
|
+
_: 1
|
310
|
+
}, 8, ["isPopupOpen"])
|
311
|
+
]));
|
312
|
+
}
|
313
|
+
}, Mt = /* @__PURE__ */ A(kt, [["__scopeId", "data-v-732c99c3"]]), u = Q({
|
314
|
+
items: [],
|
315
|
+
currentState: !1
|
316
|
+
}), Lt = {
|
317
|
+
toggleShopcart() {
|
318
|
+
u.currentState = !u.currentState;
|
319
|
+
},
|
320
|
+
setShopcart() {
|
321
|
+
try {
|
322
|
+
localStorage.getItem("shopcart") && (u.items = JSON.parse(localStorage.getItem("shopcart")));
|
323
|
+
} catch (t) {
|
324
|
+
throw console.error(t), t;
|
325
|
+
}
|
326
|
+
},
|
327
|
+
addProductToCart(t) {
|
328
|
+
const e = u.items.find(
|
329
|
+
(s) => s._id === t._id
|
330
|
+
);
|
331
|
+
e ? e.quantity++ : u.items.push({
|
332
|
+
_id: t._id,
|
333
|
+
images: t.images,
|
334
|
+
name: t.name,
|
335
|
+
price: t.price,
|
336
|
+
quantity: 1
|
337
|
+
}), localStorage.setItem("shopcart", JSON.stringify(u.items));
|
338
|
+
},
|
339
|
+
removeProduct(t) {
|
340
|
+
const e = u.items.find(
|
341
|
+
(a) => a._id === t
|
342
|
+
), s = u.items.indexOf(e);
|
343
|
+
s > -1 && (u.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(u.items)));
|
344
|
+
},
|
345
|
+
decrementItemQuantity(t) {
|
346
|
+
const e = u.items.find(
|
347
|
+
(a) => a._id === t
|
348
|
+
), s = u.items.indexOf(e);
|
349
|
+
s > -1 && (e.quantity--, e.quantity < 1 && u.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(u.items)));
|
350
|
+
},
|
351
|
+
incrementItemQuantity(t) {
|
352
|
+
const e = u.items.find(
|
353
|
+
(s) => s._id === t
|
354
|
+
);
|
355
|
+
e && (e.quantity++, localStorage.setItem("shopcart", JSON.stringify(u.items)));
|
356
|
+
},
|
357
|
+
resetShopcart({ state: t }) {
|
358
|
+
t.items = [], localStorage.removeItem("shopcart");
|
359
|
+
}
|
360
|
+
};
|
361
|
+
S(() => Number(u.items.reduce((t, e) => t + e.price * e.quantity, 0))), S(() => Number(u.items.reduce((t, e) => t + e.quantity, 0))), S(() => Number(u.currentState));
|
362
|
+
O(u, (t, e) => {
|
363
|
+
});
|
364
|
+
const Pt = { class: "cols-2-1_2 gap-big product-data-wrapper" }, Tt = { class: "flex-nowrap flex-column flex" }, Rt = { class: "h-100 bg-white radius-medium o-hidden" }, zt = ["src"], Et = {
|
365
|
+
key: 2,
|
366
|
+
width: "524",
|
367
|
+
height: "345",
|
368
|
+
viewBox: "0 0 524 345",
|
369
|
+
fill: "none",
|
370
|
+
xmlns: "http://www.w3.org/2000/svg",
|
371
|
+
class: "h-100 w-100",
|
372
|
+
style: { "object-fit": "cover" }
|
373
|
+
}, Vt = /* @__PURE__ */ o("rect", {
|
374
|
+
width: "524",
|
375
|
+
height: "345",
|
376
|
+
fill: "white"
|
377
|
+
}, null, -1), Ot = /* @__PURE__ */ o("rect", {
|
378
|
+
width: "524",
|
379
|
+
height: "345",
|
380
|
+
fill: "white"
|
381
|
+
}, null, -1), Nt = /* @__PURE__ */ o("circle", {
|
382
|
+
cx: "262",
|
383
|
+
cy: "172",
|
384
|
+
r: "56",
|
385
|
+
fill: "#00ff88",
|
386
|
+
"fill-opacity": "0.1"
|
387
|
+
}, null, -1), Ft = /* @__PURE__ */ o("path", {
|
388
|
+
fill: "#00ff88",
|
389
|
+
d: "M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"
|
390
|
+
}, null, -1), Ht = [
|
391
|
+
Vt,
|
392
|
+
Ot,
|
393
|
+
Nt,
|
394
|
+
Ft
|
395
|
+
], qt = { class: "h-100 flex-justify flex col" }, At = {
|
396
|
+
key: 0,
|
397
|
+
class: "t-main t-semi p-big"
|
398
|
+
}, Zt = { class: "w-100 h1-product mn-thin" }, Dt = {
|
399
|
+
key: 1,
|
400
|
+
class: "mn-semi"
|
401
|
+
}, jt = {
|
402
|
+
key: 2,
|
403
|
+
class: "w-100 mn-medium t-transp"
|
404
|
+
}, Bt = {
|
405
|
+
key: 3,
|
406
|
+
class: "w-100 mn-medium t-transp"
|
407
|
+
}, Xt = { class: "cols-2 w-100 gap-small mn-semi" }, Ut = { class: "w-100 pd-small radius-small bg-white product-information" }, Wt = { class: "t-demi" }, Jt = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, Yt = ["disabled"], Gt = {
|
408
|
+
__name: "SectionProduct",
|
409
|
+
props: {
|
410
|
+
product: {
|
411
|
+
type: Object,
|
412
|
+
required: !0
|
413
|
+
},
|
414
|
+
recommendation: {
|
415
|
+
type: String
|
416
|
+
}
|
417
|
+
},
|
418
|
+
setup(t) {
|
419
|
+
const e = t, s = S(() => e.product.images), a = {
|
420
|
+
messages: {
|
421
|
+
en: {
|
422
|
+
airecommend: "AI Recommends You",
|
423
|
+
description: "",
|
424
|
+
addtoorder: "Add to order",
|
425
|
+
fastorder: "Fast Order"
|
426
|
+
},
|
427
|
+
ru: {
|
428
|
+
airecommend: "AI Рекомендует вам",
|
429
|
+
description: "",
|
430
|
+
addtoorder: "Добавить в корзину",
|
431
|
+
fastorder: "Быстрый заказ"
|
432
|
+
}
|
433
|
+
}
|
434
|
+
}, { t: n } = E(a);
|
435
|
+
function c(p) {
|
436
|
+
return !(p.quantity > 0);
|
437
|
+
}
|
438
|
+
function _(p) {
|
439
|
+
Lt.addProductToCart(p);
|
440
|
+
}
|
441
|
+
return (p, d) => (i(), r("div", Pt, [
|
442
|
+
o("div", Tt, [
|
443
|
+
o("div", Rt, [
|
444
|
+
t.product && t.product.image3d ? (i(), T(Ct, {
|
445
|
+
key: 0,
|
446
|
+
class: "h-100 w-100",
|
447
|
+
imagePath: `/assets/images/products/${t.product.image3d}`,
|
448
|
+
imageCount: 36
|
449
|
+
}, null, 8, ["imagePath"])) : v("", !0),
|
450
|
+
l(s)[0] && !t.product.image3d ? (i(), r("img", {
|
451
|
+
key: 1,
|
452
|
+
class: "h-100 w-100",
|
453
|
+
style: { "object-fit": "cover" },
|
454
|
+
src: (p.FILE_SERVER_URL || "") + l(s)[0]
|
455
|
+
}, null, 8, zt)) : v("", !0),
|
456
|
+
!l(s)[0] && !t.product.image3d ? (i(), r("svg", Et, Ht)) : v("", !0)
|
457
|
+
]),
|
458
|
+
l(s).length > 1 ? (i(), T(Mt, {
|
459
|
+
key: 0,
|
460
|
+
images: l(s),
|
461
|
+
class: "mn-t-medium"
|
462
|
+
}, null, 8, ["images"])) : v("", !0)
|
463
|
+
]),
|
464
|
+
o("div", qt, [
|
465
|
+
C(rt, {
|
466
|
+
onClick: d[0] || (d[0] = (m) => p.$router.push({
|
467
|
+
name: "ProductEdit",
|
468
|
+
params: {
|
469
|
+
_id: t.product.organization,
|
470
|
+
product: t.product._id
|
471
|
+
}
|
472
|
+
})),
|
473
|
+
class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
474
|
+
}),
|
475
|
+
t.recommendation ? (i(), r("h2", At, f(l(n)("airecommend")), 1)) : v("", !0),
|
476
|
+
o("h1", Zt, f(t.product.name), 1),
|
477
|
+
C(at, {
|
478
|
+
product: t.product,
|
479
|
+
size: "big",
|
480
|
+
class: "mn-semi"
|
481
|
+
}, null, 8, ["product"]),
|
482
|
+
t.recommendation ? (i(), r("h3", Dt, f(t.recommendation), 1)) : v("", !0),
|
483
|
+
t.product.description && !t.product.localization && !t.recommendation ? (i(), r("p", jt, f(t.product.description), 1)) : v("", !0),
|
484
|
+
t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (i(), r("p", Bt, f(l(n)("description")), 1)) : v("", !0),
|
485
|
+
o("div", Xt, [
|
486
|
+
t.product.information.length > 0 ? (i(!0), r(R, { key: 0 }, z(t.product.information, (m) => (i(), r("div", Ut, [
|
487
|
+
o("p", Wt, f(m.name), 1),
|
488
|
+
o("p", null, f(m.value), 1)
|
489
|
+
]))), 256)) : v("", !0)
|
490
|
+
]),
|
491
|
+
o("div", Jt, [
|
492
|
+
o("button", {
|
493
|
+
disabled: c(t.product),
|
494
|
+
onClick: d[1] || (d[1] = (m) => _(t.product)),
|
495
|
+
class: "w-100 mn-r-small bg-main button"
|
496
|
+
}, f(l(n)("addtoorder")), 9, Yt)
|
497
|
+
])
|
498
|
+
])
|
499
|
+
]));
|
500
|
+
}
|
501
|
+
};
|
502
|
+
const Qt = { class: "pd-t-zero pd-thin" }, Kt = { class: "bg-black t-white radius-big footer" }, te = {
|
503
|
+
id: "top-footer",
|
504
|
+
class: "cols-3 section"
|
505
|
+
}, ee = {
|
506
|
+
href: "mailto:hello@weeder.delivery",
|
507
|
+
class: "w-100 radius-small contact col"
|
508
|
+
}, se = { class: "t-transp" }, oe = { class: "h4 mn-small" }, ae = /* @__PURE__ */ o("div", { class: "store-buttons" }, null, -1), ne = {
|
509
|
+
href: "https://t.me/weeder_support",
|
510
|
+
target: "_blank",
|
511
|
+
class: "w-100 radius-small contact col"
|
512
|
+
}, ie = { class: "h4 mn-small" }, re = /* @__PURE__ */ o("div", { class: "socials flex-nojustify flex" }, [
|
513
|
+
/* @__PURE__ */ o("a", {
|
514
|
+
class: "mn-r-small",
|
515
|
+
href: "https://t.me/weederdelivery",
|
516
|
+
target: "_blank"
|
517
|
+
}),
|
518
|
+
/* @__PURE__ */ o("a", {
|
519
|
+
class: "mn-r-small",
|
520
|
+
href: "https://t.me/weederdelivery",
|
521
|
+
target: "_blank"
|
522
|
+
}),
|
523
|
+
/* @__PURE__ */ o("a", {
|
524
|
+
class: "mn-r-small",
|
525
|
+
href: "https://t.me/weederdelivery",
|
526
|
+
target: "_blank"
|
527
|
+
})
|
528
|
+
], -1), ce = { class: "cols-3 section" }, le = { class: "lh-semi nav-footer col" }, ue = { class: "mn-small t-semi h5" }, de = { class: "mn-medium ol" }, me = ["innerHTML"], pe = /* @__PURE__ */ o("a", {
|
529
|
+
href: "https://ozdao.dev",
|
530
|
+
target: "_blank"
|
531
|
+
}, null, -1), he = { class: "lh-semi nav-footer col" }, _e = { class: "mn-small t-semi h5" }, fe = { class: "lh-semi col" }, ge = { class: "mn-small t-semi h5" }, ve = /* @__PURE__ */ o("div", { class: "mn-medium" }, [
|
532
|
+
/* @__PURE__ */ o("li", null, "Phuket,"),
|
533
|
+
/* @__PURE__ */ o("li", null, "43 283 Soi Boathouse,"),
|
534
|
+
/* @__PURE__ */ o("li", null, "Rawai")
|
535
|
+
], -1), ye = { class: "pd-small t-center br-top-dark copyright" }, Ce = {
|
536
|
+
__name: "Footer",
|
537
|
+
async setup(t) {
|
538
|
+
let e, s;
|
539
|
+
H(), [e, s] = N(() => q.fetchCategories()), await e, s();
|
540
|
+
const a = {
|
541
|
+
locale: "en",
|
542
|
+
messages: {
|
543
|
+
en: {
|
544
|
+
store: "Online Store",
|
545
|
+
information: "Information",
|
546
|
+
description: "Weeder Delivery stocks a wide range of quality!",
|
547
|
+
app: "Get Our App",
|
548
|
+
adress: "Adress",
|
549
|
+
support: "Get Online Support",
|
550
|
+
socials: "Find Us in Socials",
|
551
|
+
email: "Contact by email",
|
552
|
+
// request: 'hello@weeder.delivery',
|
553
|
+
time: "24 / 7 Seven days a week",
|
554
|
+
copyright: "2022 © Weeder Delivery. Proudly created with OZ DAO.",
|
555
|
+
pages: [],
|
556
|
+
categories: []
|
557
|
+
},
|
558
|
+
ru: {
|
559
|
+
store: "Онлайн Каталог",
|
560
|
+
information: "Информация",
|
561
|
+
description: "Weeder Delivery предлагает широкий ассортимент качественных!",
|
562
|
+
app: "Скачайте Наше Приложение",
|
563
|
+
adress: "Адрес",
|
564
|
+
support: "Онлайн Поддержка",
|
565
|
+
socials: "Найдите Нас в Социальных Сетях",
|
566
|
+
email: "Связаться по email",
|
567
|
+
// request: 'hello@weeder.delivery',
|
568
|
+
time: "24 / 7 без перерывов",
|
569
|
+
copyright: "2022 © Weeder Delivery. С гордостью создано OZ DAO.",
|
570
|
+
pages: [],
|
571
|
+
categories: []
|
572
|
+
}
|
573
|
+
}
|
574
|
+
};
|
575
|
+
$.all.forEach((c) => {
|
576
|
+
c.localization.forEach((_) => {
|
577
|
+
a.messages[_.locale].categories.push(_.text);
|
578
|
+
});
|
579
|
+
});
|
580
|
+
const { t: n } = E(a);
|
581
|
+
return (c, _) => (i(), r("div", Qt, [
|
582
|
+
o("footer", Kt, [
|
583
|
+
o("div", te, [
|
584
|
+
o("a", ee, [
|
585
|
+
o("p", se, f(l(n)("description")), 1)
|
586
|
+
]),
|
587
|
+
o("div", {
|
588
|
+
onClick: _[0] || (_[0] = (p) => this.$router.push({ name: "Home" })),
|
589
|
+
class: "flex-v-center flex logo-link col"
|
590
|
+
}, [
|
591
|
+
o("p", oe, f(l(n)("app")), 1),
|
592
|
+
ae
|
593
|
+
]),
|
594
|
+
o("a", ne, [
|
595
|
+
o("p", ie, f(l(n)("socials")), 1),
|
596
|
+
re
|
597
|
+
])
|
598
|
+
]),
|
599
|
+
o("div", ce, [
|
600
|
+
o("ul", le, [
|
601
|
+
o("li", ue, f(l(n)("store")), 1),
|
602
|
+
o("div", de, [
|
603
|
+
(i(!0), r(R, null, z($.all, (p, d) => (i(), r("li", null, [
|
604
|
+
o("span", {
|
605
|
+
innerHTML: l(n)("categories[" + d + "]")
|
606
|
+
}, null, 8, me)
|
607
|
+
]))), 256))
|
608
|
+
]),
|
609
|
+
pe
|
610
|
+
]),
|
611
|
+
o("ul", he, [
|
612
|
+
o("li", _e, f(l(n)("information")), 1)
|
613
|
+
]),
|
614
|
+
o("ul", fe, [
|
615
|
+
o("li", ge, f(l(n)("email")), 1),
|
616
|
+
ve
|
617
|
+
])
|
618
|
+
]),
|
619
|
+
o("p", ye, f(l(n)("copyright")), 1)
|
620
|
+
])
|
621
|
+
]));
|
622
|
+
}
|
623
|
+
};
|
624
|
+
const qe = {
|
625
|
+
__name: "Product",
|
626
|
+
async setup(t) {
|
627
|
+
let e, s;
|
628
|
+
const a = tt();
|
629
|
+
H(), [e, s] = N(() => q.read({ _id: a.params.product })), await e, s(), a.meta.title.en = $.current.name, a.meta.title.ru = $.current.name;
|
630
|
+
const n = S(() => $.current), c = {
|
631
|
+
messages: {
|
632
|
+
en: {},
|
633
|
+
ru: {}
|
634
|
+
}
|
635
|
+
}, { t: _ } = E(c), p = S(() => ({
|
636
|
+
title: $.current.name,
|
637
|
+
description: _("description")
|
638
|
+
}));
|
639
|
+
return lt(p), F(() => {
|
640
|
+
}), (d, m) => (i(), r("div", null, [
|
641
|
+
C(K, { class: "section" }),
|
642
|
+
C(Gt, {
|
643
|
+
product: l(n),
|
644
|
+
class: "section"
|
645
|
+
}, null, 8, ["product"]),
|
646
|
+
C(ht),
|
647
|
+
C(Ce)
|
648
|
+
]));
|
649
|
+
}
|
650
|
+
};
|
651
|
+
export {
|
652
|
+
qe as default
|
653
|
+
};
|