@ozdao/prometheus-framework 0.2.190 → 0.2.192

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/builder.js +1 -1
  2. package/dist/builder.mjs +1 -1
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  9. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/globals/globals.client.js +23 -20
  15. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +80 -49
  19. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +94 -125
  21. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -0
  22. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +152 -0
  23. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +1 -0
  24. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +96 -0
  25. package/dist/prometheus-framework/src/modules/icons/entities/IconProfile.vue.cjs +1 -0
  26. package/dist/prometheus-framework/src/modules/icons/entities/IconProfile.vue.js +28 -0
  27. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  29. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  47. package/dist/style.css +1 -1
  48. package/package.json +1 -1
  49. package/src/builder/webpack/webpack.config.base.js +1 -1
  50. package/src/components/index.js +0 -1
  51. package/src/main.js +0 -3
  52. package/src/modules/globals/globals.client.js +8 -6
  53. package/src/modules/globals/views/components/layouts/App.vue +44 -6
  54. package/src/modules/globals/views/components/layouts/Client.vue +2 -47
  55. package/src/modules/globals/views/components/partials/Header.vue +10 -8
  56. package/src/modules/globals/views/components/sections/Walkthrough.vue +5 -5
  57. /package/src/{components/LocationSelection → modules/globals/views/components/partials}/LocationSelection.vue +0 -0
@@ -1,178 +1,147 @@
1
- import { defineAsyncComponent as R, ref as i, computed as T, onMounted as A, resolveComponent as F, openBlock as s, createElementBlock as O, createVNode as r, Transition as d, withCtx as n, createBlock as l, createCommentVNode as p, resolveDynamicComponent as P, unref as S, normalizeClass as k, Suspense as M } from "vue";
2
- import { useRoute as N, useRouter as x } from "vue-router";
3
- import { state as t } from "../../store/globals.js";
4
- import U from "../../../../../components/Loader/Loader.vue2.js";
5
- import W from "../../../../../components/Status/Status.vue.js";
6
- import z from "../../../../../components/Sidebar/Sidebar.vue.js";
7
- import Y from "../../../../../components/Popup/Popup.vue.js";
1
+ import { ref as l, computed as C, onMounted as P, resolveComponent as B, openBlock as s, createElementBlock as L, createVNode as r, Transition as v, withCtx as a, createBlock as n, createCommentVNode as u, unref as b, normalizeClass as O, createElementVNode as x, Suspense as R, resolveDynamicComponent as T } from "vue";
2
+ import { useRoute as E, useRouter as I } from "vue-router";
3
+ import { state as e } from "../../store/globals.js";
4
+ import N from "../../../../../components/Loader/Loader.vue2.js";
5
+ import z from "../../../../../components/Status/Status.vue.js";
6
+ import V from "../../../../../components/Sidebar/Sidebar.vue.js";
7
+ import W from "../../../../../components/Popup/Popup.vue.js";
8
8
  import "vue-i18n";
9
9
  /* empty css */
10
- import V from "../../../../../components/LocationSelection/LocationSelection.vue.js";
11
- import J from "../partials/Navigation.vue.js";
10
+ import Y from "../partials/LocationSelection.vue.js";
11
+ import F from "../partials/Navigation.vue.js";
12
12
  import "../../../../products/store/categories.js";
13
- import j from "../partials/BottomNavigation.vue.js";
14
- import q from "../../../../orders/components/partials/ShopCart.vue.js";
15
- import { Preferences as D } from "../../../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
13
+ import M from "../partials/BottomNavigation.vue.js";
14
+ import j from "../../../../orders/components/partials/ShopCart.vue.js";
16
15
  /* empty css */
17
- const G = {
16
+ const q = {
18
17
  id: "app-wrapper",
19
18
  class: "pos-relative"
20
- }, H = {
21
- key: 0,
22
- class: "w-100"
23
- }, de = {
19
+ }, ie = {
24
20
  __name: "Client",
25
- setup(K) {
26
- let f;
27
- __MOBILE_APP__ ? f = R(
28
- () => import("../sections/Walkthrough.vue.js").then((e) => e.default)
29
- ) : f = null;
30
- const u = i(!1);
31
- async function w() {
32
- const e = await D.get({ key: "first-use" });
33
- u.value = e.value ? JSON.parse(e.value) : !0;
21
+ setup(A) {
22
+ const m = E();
23
+ I();
24
+ let g = l(!1);
25
+ const d = l(null), h = l(null), _ = l(m.query.referalCode);
26
+ function $() {
27
+ e.isOpenLocationPopup = !1;
34
28
  }
35
- const $ = (e) => {
36
- u.value = e;
37
- }, v = N();
38
- x();
39
- let b = i(!1);
40
- const _ = i(null), C = i(null), h = i(v.query.referalCode);
41
- function B() {
42
- t.isOpenLocationPopup = !1;
43
- }
44
- function L() {
29
+ function w() {
45
30
  document.getElementById("app").scrollIntoView();
46
31
  }
47
- const c = i(0);
48
- let m = !1;
49
- const a = i(null);
50
- T(() => c.value > 50 ? "light" : v.meta.header_theme || "light");
51
- const I = () => {
52
- if (c.value = event.target.scrollTop, c.value > 50 && !m) {
53
- m = !0, a.value.$el.classList.add("scrolled");
54
- const o = -a.value.$el.getBoundingClientRect().top;
55
- a.value.$el.style.transform = `translateY(${o}px)`, setTimeout(() => {
56
- a.value.$el.style.transform = "translateY(0)";
32
+ const p = l(0);
33
+ let c = !1;
34
+ const o = l(null);
35
+ C(() => p.value > 50 ? "light" : m.meta.header_theme || "light");
36
+ const y = () => {
37
+ if (p.value = event.target.scrollTop, p.value > 50 && !c) {
38
+ c = !0, o.value.$el.classList.add("scrolled");
39
+ const t = -o.value.$el.getBoundingClientRect().top;
40
+ o.value.$el.style.transform = `translateY(${t}px)`, setTimeout(() => {
41
+ o.value.$el.style.transform = "translateY(0)";
57
42
  }, 0);
58
- } else if (c.value <= 75 && m) {
59
- m = !1, a.value.$el.classList.remove("scrolled");
60
- const o = a.value.$el.getBoundingClientRect().top;
61
- a.value.$el.style.transform = `translateY(${o}px)`, setTimeout(() => {
62
- a.value.$el.style.transform = "translateY(0)";
43
+ } else if (p.value <= 75 && c) {
44
+ c = !1, o.value.$el.classList.remove("scrolled");
45
+ const t = o.value.$el.getBoundingClientRect().top;
46
+ o.value.$el.style.transform = `translateY(${t}px)`, setTimeout(() => {
47
+ o.value.$el.style.transform = "translateY(0)";
63
48
  }, 0);
64
49
  }
65
50
  };
66
- return A(async () => {
67
- await w(), "serviceWorker" in navigator && window.addEventListener("load", () => {
68
- navigator.serviceWorker.register("/service-worker.js").then((o) => {
69
- console.log("SW registered: ", o);
70
- }).catch((o) => {
71
- console.log("SW registration failed: ", o);
51
+ return P(async () => {
52
+ "serviceWorker" in navigator && window.addEventListener("load", () => {
53
+ navigator.serviceWorker.register("/service-worker.js").then((t) => {
54
+ console.log("SW registered: ", t);
55
+ }).catch((t) => {
56
+ console.log("SW registration failed: ", t);
72
57
  });
73
- }), _ && (b.value = !0);
74
- const e = localStorage.getItem("position");
75
- e ? t.position = JSON.parse(e) : t.isOpenLocationPopup = !0, h.value && localStorage.setItem("referalCode", h.value);
76
- }), (e, o) => {
77
- const E = F("router-view");
78
- return s(), O("div", G, [
79
- r(d, {
58
+ }), d && (g.value = !0);
59
+ const i = localStorage.getItem("position");
60
+ i ? e.position = JSON.parse(i) : e.isOpenLocationPopup = !0, _.value && localStorage.setItem("referalCode", _.value);
61
+ }), (i, t) => {
62
+ const k = B("router-view");
63
+ return s(), L("div", q, [
64
+ r(v, {
80
65
  name: "moveFromTop",
81
66
  appear: ""
82
67
  }, {
83
- default: n(() => [
84
- _.value ? p("", !0) : (s(), l(U, {
68
+ default: a(() => [
69
+ d.value ? u("", !0) : (s(), n(N, {
85
70
  key: 0,
86
71
  class: "pos-fixed"
87
72
  }))
88
73
  ]),
89
74
  _: 1
90
75
  }),
91
- r(d, {
92
- name: "scaleTransition",
93
- mode: "out-in"
94
- }, {
95
- default: n(() => [
96
- e.MOBILE_APP && u.value ? (s(), O("section", H, [
97
- (s(), l(P(S(f)), {
98
- onUpdateFirstUse: $,
99
- slides: [1, 2, 3],
100
- class: "tab"
101
- }, null, 32))
102
- ])) : p("", !0)
103
- ]),
104
- _: 1
105
- }),
106
- r(d, {
76
+ r(v, {
107
77
  name: "moveFromTop",
108
78
  mode: "out-in",
109
79
  appear: ""
110
80
  }, {
111
- default: n(() => [
112
- S(b) && t.isOpenSidebar ? (s(), l(z, {
81
+ default: a(() => [
82
+ b(g) && e.isOpenSidebar ? (s(), n(V, {
113
83
  key: 0,
114
- stateSidebar: t.isOpenSidebar,
115
- onCloseSidebar: o[0] || (o[0] = () => {
116
- t.isOpenSidebar = !t.isOpenSidebar;
84
+ stateSidebar: e.isOpenSidebar,
85
+ onCloseSidebar: t[0] || (t[0] = () => {
86
+ e.isOpenSidebar = !e.isOpenSidebar;
117
87
  }),
118
- class: k(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
119
- "pos-l-70-negative": !t.isOpenSidebar,
120
- "pos-l-0": t.isOpenSidebar
88
+ class: O(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
89
+ "pos-l-70-negative": !e.isOpenSidebar,
90
+ "pos-l-0": e.isOpenSidebar
121
91
  }])
122
92
  }, {
123
- default: n(() => [
124
- r(J, { class: "h3 pd-big cols-1" })
93
+ default: a(() => [
94
+ r(F, { class: "h3 pd-big cols-1" })
125
95
  ]),
126
96
  _: 1
127
- }, 8, ["stateSidebar", "class"])) : p("", !0)
97
+ }, 8, ["stateSidebar", "class"])) : u("", !0)
128
98
  ]),
129
99
  _: 1
130
100
  }),
131
- r(Y, {
132
- onClosePopup: B,
133
- isPopupOpen: t.isOpenLocationPopup,
101
+ r(W, {
102
+ onClosePopup: $,
103
+ isPopupOpen: e.isOpenLocationPopup,
134
104
  class: "bg-white pd-semi w-m-33r radius-big"
135
105
  }, {
136
- default: n(() => [
137
- r(V)
106
+ default: a(() => [
107
+ r(Y)
138
108
  ]),
139
109
  _: 1
140
110
  }, 8, ["isPopupOpen"]),
141
- !u.value && e.MOBILE_APP || !e.MOBILE_APP ? (s(), O("section", {
142
- key: 0,
111
+ x("section", {
143
112
  id: "screen",
144
113
  ref_key: "screen",
145
- ref: C,
146
- onScroll: I,
147
- onClick: o[1] || (o[1] = (y) => t.isOpenSidebar ? (g) => t.isOpenSidebar = !1 : (g) => {
114
+ ref: h,
115
+ onScroll: y,
116
+ onClick: t[1] || (t[1] = (S) => e.isOpenSidebar ? (f) => e.isOpenSidebar = !1 : (f) => {
148
117
  console.log("not succes");
149
118
  }),
150
- class: k(["transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll", {
151
- "pos-l-70": t.isOpenSidebar,
152
- "pos-l-0": !t.isOpenSidebar
119
+ class: O(["transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll", {
120
+ "pos-l-70": e.isOpenSidebar,
121
+ "pos-l-0": !e.isOpenSidebar
153
122
  }])
154
123
  }, [
155
- r(q),
156
- t.error.show ? (s(), l(W, {
124
+ r(j),
125
+ e.error.show ? (s(), n(z, {
157
126
  key: 0,
158
- data: t.error,
127
+ data: e.error,
159
128
  class: "z-index-7"
160
- }, null, 8, ["data"])) : p("", !0),
161
- (s(), l(M, null, {
162
- default: n(() => [
163
- r(E, null, {
164
- default: n(({ Component: y, route: g }) => [
165
- r(d, {
166
- onBeforeEnter: L,
129
+ }, null, 8, ["data"])) : u("", !0),
130
+ (s(), n(R, null, {
131
+ default: a(() => [
132
+ r(k, null, {
133
+ default: a(({ Component: S, route: f }) => [
134
+ r(v, {
135
+ onBeforeEnter: w,
167
136
  name: "scaleIn",
168
137
  mode: "out-in",
169
138
  appear: ""
170
139
  }, {
171
- default: n(() => [
172
- (s(), l(P(y), {
140
+ default: a(() => [
141
+ (s(), n(T(S), {
173
142
  ref_key: "page",
174
- ref: _,
175
- key: g.path
143
+ ref: d,
144
+ key: f.path
176
145
  }))
177
146
  ]),
178
147
  _: 2
@@ -183,15 +152,15 @@ const G = {
183
152
  ]),
184
153
  _: 1
185
154
  }))
186
- ], 34)) : p("", !0),
187
- e.MOBILE_APP && S(v).meta.title_hide ? (s(), l(j, {
188
- key: 1,
155
+ ], 34),
156
+ i.MOBILE_APP && b(m).meta.title_hide ? (s(), n(M, {
157
+ key: 0,
189
158
  class: "pd-small z-index-2"
190
- })) : p("", !0)
159
+ })) : u("", !0)
191
160
  ]);
192
161
  };
193
162
  }
194
163
  };
195
164
  export {
196
- de as default
165
+ ie as default
197
166
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("vue-i18n"),l=require("../../store/globals.cjs"),b=require("../../../../orders/store/shopcart.cjs"),g=require("./Navigation.vue.cjs"),h=require("../../../../../components/Button/Button.vue2.cjs"),f=require("../../../../../components/Select/Select.vue.cjs"),k=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),p=require("../../../../icons/entities/IconShopcart.vue.cjs"),w=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const v={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},C=e.createElementVNode("path",{d:"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z",fill:"inherit"},null,-1),N=[C],y={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const n=t,i=u.useRouter();u.useRoute();const o=useStore();d.useI18n();function m(){l.state.isOpenLocationPopup=!0}return e.onMounted(()=>{b.actions.setShopcart()}),(s,a)=>{var c;return e.openBlock(),e.createElementBlock("header",{id:"header",class:e.normalizeClass(["pd-thin gap-micro flex-center flex-nowrap flex h-4r w-100 z-index-2",{"t-black bg-white":t.theme==="light","t-white bg-black":t.theme==="dark"}])},[e.createElementVNode("button",{"aria-label":"menu",onClick:a[0]||(a[0]=()=>l.state.isOpenSidebar=!l.state.isOpenSidebar),class:e.normalizeClass(["mobile-only menu-btn",{"menu-btn_active":l.state.isOpenSidebar}])},[e.createElementVNode("span",{class:e.normalizeClass(["no-events",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},[e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__before",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2),e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__after",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2)],2)],2),n.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.logotype),{key:0,onClick:a[1]||(a[1]=r=>e.unref(i).push({path:"/"})),theme:t.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):e.createCommentVNode("",!0),e.createElementVNode("button",{"aria-label":"button_location",class:e.normalizeClass(["cursor-pointer bg-transp pd-l-micro pd-r-micro radius-extra uppercase t-semi br-solid br-2px transition-linear",{"fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white":t.theme==="light","fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black":t.theme==="dark"}]),onClick:a[2]||(a[2]=r=>m())},[(e.openBlock(),e.createElementBlock("svg",v,N)),e.createTextVNode(" "+e.toDisplayString((c=l.state.position)!=null&&c.country?l.state.position.country:"World"),1)],2),e.createVNode(g.default,{class:"mn-l-auto desktop-only"}),e.createVNode(k.default,{name:"darkmode",label:"Darkmode",radio:l.state.theme.darkmode,"onUpdate:radio":a[3]||(a[3]=r=>l.actions.toggleTheme()),class:e.normalizeClass(["mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra",{"br-light t-black":t.theme==="light","br-dark t-white":t.theme==="dark"}]),theme:t.theme},null,8,["radio","theme","class"]),e.createVNode(h.default,{"aria-label":"shopcart",submit:r=>e.unref(o).shopcart.actions.toggleShopcart(),counter:e.unref(o).shopcart.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit","counter"]),e.createVNode(h.default,{"aria-label":"profile",class:"pd-zero bg-transp",submit:e.unref(o).auth.state.access.status===!1?r=>e.unref(i).push({name:"Sign In"}):r=>e.unref(i).push({name:"User Profile",params:{_id:e.unref(o).auth.state.user._id}}),showSucces:!1,showLoader:!1},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit"]),e.createVNode(f.default,{select:s.$i18n.locale,"onUpdate:select":a[4]||(a[4]=r=>s.$i18n.locale=r),options:[{name:"🌎 En",value:"en"},{name:"🇷🇺 Ru",value:"ru"}],property:"value",class:e.normalizeClass(["pos-relative uppercase pd-micro t-semi radius-thin",{"bg-light t-black":t.theme==="light","bg-dark t-white":t.theme==="dark"}])},null,8,["select","class"])],2)}}};exports.default=y;
@@ -0,0 +1,152 @@
1
+ import { onMounted as k, openBlock as h, createElementBlock as d, normalizeClass as a, createElementVNode as n, createBlock as w, resolveDynamicComponent as v, unref as i, createCommentVNode as C, createTextVNode as y, toDisplayString as x, createVNode as o, withCtx as g } from "vue";
2
+ import { useRouter as S, useRoute as $ } from "vue-router";
3
+ import { useI18n as N } from "vue-i18n";
4
+ import { state as r, actions as O } from "../../store/globals.js";
5
+ import { actions as z } from "../../../../orders/store/shopcart.js";
6
+ import B from "./Navigation.vue.js";
7
+ import f from "../../../../../components/Button/Button.vue2.js";
8
+ import L from "../../../../../components/Select/Select.vue.js";
9
+ import V from "../../../../../components/Checkbox/Checkbox.vue.js";
10
+ import D from "../../../../icons/entities/IconShopcart.vue.js";
11
+ import E from "../../../../icons/entities/IconProfile.vue.js";
12
+ /* empty css */
13
+ const M = {
14
+ class: "i-small",
15
+ fill: "inherit",
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ width: "50",
18
+ height: "67",
19
+ viewBox: "0 0 50 67"
20
+ }, P = /* @__PURE__ */ n("path", {
21
+ d: "M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z",
22
+ fill: "inherit"
23
+ }, null, -1), R = [
24
+ P
25
+ ], K = {
26
+ __name: "Header",
27
+ props: {
28
+ theme: {
29
+ type: String,
30
+ default: "light"
31
+ },
32
+ logotype: {
33
+ type: Object
34
+ }
35
+ },
36
+ setup(e) {
37
+ const c = e, m = S();
38
+ $();
39
+ const s = useStore();
40
+ N();
41
+ function p() {
42
+ r.isOpenLocationPopup = !0;
43
+ }
44
+ return k(() => {
45
+ z.setShopcart();
46
+ }), (u, t) => {
47
+ var b;
48
+ return h(), d("header", {
49
+ id: "header",
50
+ class: a(["pd-thin gap-micro flex-center flex-nowrap flex h-4r w-100 z-index-2", {
51
+ "t-black bg-white": e.theme === "light",
52
+ "t-white bg-black": e.theme === "dark"
53
+ }])
54
+ }, [
55
+ n("button", {
56
+ "aria-label": "menu",
57
+ onClick: t[0] || (t[0] = () => r.isOpenSidebar = !r.isOpenSidebar),
58
+ class: a(["mobile-only menu-btn", {
59
+ "menu-btn_active": r.isOpenSidebar
60
+ }])
61
+ }, [
62
+ n("span", {
63
+ class: a(["no-events", {
64
+ "bg-black": e.theme === "light",
65
+ "bg-white": e.theme === "dark"
66
+ }])
67
+ }, [
68
+ n("span", {
69
+ class: a(["menu-btn__before", { "bg-black": e.theme === "light", "bg-white": e.theme === "dark" }])
70
+ }, null, 2),
71
+ n("span", {
72
+ class: a(["menu-btn__after", { "bg-black": e.theme === "light", "bg-white": e.theme === "dark" }])
73
+ }, null, 2)
74
+ ], 2)
75
+ ], 2),
76
+ c.logotype ? (h(), w(v(c.logotype), {
77
+ key: 0,
78
+ onClick: t[1] || (t[1] = (l) => i(m).push({ path: "/" })),
79
+ theme: e.theme,
80
+ class: "h-2r w-auto cursor-pointer"
81
+ }, null, 8, ["theme"])) : C("", !0),
82
+ n("button", {
83
+ "aria-label": "button_location",
84
+ class: a(["cursor-pointer bg-transp pd-l-micro pd-r-micro radius-extra uppercase t-semi br-solid br-2px transition-linear", {
85
+ "fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white": e.theme === "light",
86
+ "fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black": e.theme === "dark"
87
+ }]),
88
+ onClick: t[2] || (t[2] = (l) => p())
89
+ }, [
90
+ (h(), d("svg", M, R)),
91
+ y(" " + x((b = r.position) != null && b.country ? r.position.country : "World"), 1)
92
+ ], 2),
93
+ o(B, { class: "mn-l-auto desktop-only" }),
94
+ o(V, {
95
+ name: "darkmode",
96
+ label: "Darkmode",
97
+ radio: r.theme.darkmode,
98
+ "onUpdate:radio": t[3] || (t[3] = (l) => O.toggleTheme()),
99
+ class: a(["mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra", {
100
+ "br-light t-black": e.theme === "light",
101
+ "br-dark t-white": e.theme === "dark"
102
+ }]),
103
+ theme: e.theme
104
+ }, null, 8, ["radio", "theme", "class"]),
105
+ o(f, {
106
+ "aria-label": "shopcart",
107
+ submit: (l) => i(s).shopcart.actions.toggleShopcart(),
108
+ counter: i(s).shopcart.getters.cartTotalAmount,
109
+ showSucces: !1,
110
+ showLoader: !1,
111
+ class: "pd-zero mn-l-auto mn-r-micro"
112
+ }, {
113
+ default: g(() => [
114
+ o(D, {
115
+ class: "i-semi",
116
+ fill: e.theme === "light" ? "rgb(var(--black))" : "rgb(var(--white))"
117
+ }, null, 8, ["fill"])
118
+ ]),
119
+ _: 1
120
+ }, 8, ["submit", "counter"]),
121
+ o(f, {
122
+ "aria-label": "profile",
123
+ class: "pd-zero bg-transp",
124
+ submit: i(s).auth.state.access.status === !1 ? (l) => i(m).push({ name: "Sign In" }) : (l) => i(m).push({ name: "User Profile", params: { _id: i(s).auth.state.user._id } }),
125
+ showSucces: !1,
126
+ showLoader: !1
127
+ }, {
128
+ default: g(() => [
129
+ o(E, {
130
+ class: "i-semi",
131
+ fill: e.theme === "light" ? "rgb(var(--black))" : "rgb(var(--white))"
132
+ }, null, 8, ["fill"])
133
+ ]),
134
+ _: 1
135
+ }, 8, ["submit"]),
136
+ o(L, {
137
+ select: u.$i18n.locale,
138
+ "onUpdate:select": t[4] || (t[4] = (l) => u.$i18n.locale = l),
139
+ options: [{ name: "🌎 En", value: "en" }, { name: "🇷🇺 Ru", value: "ru" }],
140
+ property: "value",
141
+ class: a(["pos-relative uppercase pd-micro t-semi radius-thin", {
142
+ "bg-light t-black": e.theme === "light",
143
+ "bg-dark t-white": e.theme === "dark"
144
+ }])
145
+ }, null, 8, ["select", "class"])
146
+ ], 2);
147
+ };
148
+ }
149
+ };
150
+ export {
151
+ K as default
152
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),d=require("../../../../../components/Address/Address.vue2.cjs"),p=require("../../../../../components/LocationMarker/LocationMarker.vue2.cjs"),i=require("vue-router"),c=require("vue-i18n"),l=require("../../store/globals.cjs"),m={class:"t-center flex-center"},v=s.createElementVNode("p",{class:"h1 mn-b-medium"},"🌍",-1),y={class:"mn-b-semi"},b={class:"mn-b-small t-transp p-medium"},f={__name:"LocationSelection",setup(g){i.useRoute(),i.useRouter();const o=s.ref({country:null,state:null,city:null,address:null,location:null});function r(){l.state.position={...o.value},l.state.isOpenLocationPopup=!1,localStorage.setItem("position",JSON.stringify(l.state.position))}s.onMounted(()=>{o.value={...l.state.position}});const u={messages:{en:{title:"Choose Your Location",description:"Enter your address or select it on the map to see the nearest offers to you."},ru:{title:"Выбор Локации",description:"Пожалуйста, выберите вашу страну из списка ниже, чтобы увидеть варианты доставки и другую актуальную информацию:"}}},{t:a}=c.useI18n(u);return(n,e)=>(s.openBlock(),s.createElementBlock("div",m,[v,s.createElementVNode("h3",y,s.toDisplayString(s.unref(a)("title")),1),s.createElementVNode("p",b,s.toDisplayString(s.unref(a)("description")),1),(s.openBlock(),s.createBlock(d.default,{key:n.$i18n.locale,apiKey:n.GOOGLE_MAPS_API_KEY,locale:n.$i18n.locale,address:o.value.address,location:o.value.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black br-grey-transp-25 br-solid br-2px pd-medium","onUpdate:country":e[0]||(e[0]=t=>{o.value.country=t}),"onUpdate:state":e[1]||(e[1]=t=>{o.value.state=t}),"onUpdate:city":e[2]||(e[2]=t=>{o.value.city=t}),"onUpdate:location":e[3]||(e[3]=t=>{o.value.location=t}),"onUpdate:address":e[4]||(e[4]=t=>{o.value.address=t})},null,8,["apiKey","locale","address","location"])),(s.openBlock(),s.createBlock(p.default,{key:n.$i18n.locale,apiKey:n.GOOGLE_MAPS_API_KEY,locale:n.$i18n.locale,address:o.value.address,location:o.value.location,class:"bg-light radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:country":e[5]||(e[5]=t=>{o.value.country=t}),"onUpdate:state":e[6]||(e[6]=t=>{o.value.state=t}),"onUpdate:city":e[7]||(e[7]=t=>{o.value.city=t}),"onUpdate:location":e[8]||(e[8]=t=>{o.value.location=t}),"onUpdate:address":e[9]||(e[9]=t=>{o.value.address=t})},null,8,["apiKey","locale","address","location"])),s.createElementVNode("button",{onClick:e[10]||(e[10]=t=>r()),class:"w-100 mn-t-medium bg-main radius-extra button"},"Save Position")]))}};exports.default=f;
@@ -0,0 +1,96 @@
1
+ import { ref as y, onMounted as c, openBlock as l, createElementBlock as v, createElementVNode as i, toDisplayString as r, unref as d, createBlock as u } from "vue";
2
+ import f from "../../../../../components/Address/Address.vue2.js";
3
+ import b from "../../../../../components/LocationMarker/LocationMarker.vue2.js";
4
+ import { useRoute as U, useRouter as g } from "vue-router";
5
+ import { useI18n as E } from "vue-i18n";
6
+ import { state as n } from "../../store/globals.js";
7
+ const k = { class: "t-center flex-center" }, P = /* @__PURE__ */ i("p", { class: "h1 mn-b-medium" }, "🌍", -1), S = { class: "mn-b-semi" }, $ = { class: "mn-b-small t-transp p-medium" }, M = {
8
+ __name: "LocationSelection",
9
+ setup(K) {
10
+ U(), g();
11
+ const e = y({
12
+ country: null,
13
+ state: null,
14
+ city: null,
15
+ address: null,
16
+ location: null
17
+ });
18
+ function p() {
19
+ n.position = { ...e.value }, n.isOpenLocationPopup = !1, localStorage.setItem("position", JSON.stringify(n.position));
20
+ }
21
+ c(() => {
22
+ e.value = { ...n.position };
23
+ });
24
+ const m = {
25
+ messages: {
26
+ en: {
27
+ title: "Choose Your Location",
28
+ description: "Enter your address or select it on the map to see the nearest offers to you."
29
+ },
30
+ ru: {
31
+ title: "Выбор Локации",
32
+ description: "Пожалуйста, выберите вашу страну из списка ниже, чтобы увидеть варианты доставки и другую актуальную информацию:"
33
+ }
34
+ }
35
+ }, { t: a } = E(m);
36
+ return (s, o) => (l(), v("div", k, [
37
+ P,
38
+ i("h3", S, r(d(a)("title")), 1),
39
+ i("p", $, r(d(a)("description")), 1),
40
+ (l(), u(f, {
41
+ key: s.$i18n.locale,
42
+ apiKey: s.GOOGLE_MAPS_API_KEY,
43
+ locale: s.$i18n.locale,
44
+ address: e.value.address,
45
+ location: e.value.location,
46
+ placeholder: "Enter your address",
47
+ class: "bg-white radius-tl-medium radius-tr-medium t-black br-grey-transp-25 br-solid br-2px pd-medium",
48
+ "onUpdate:country": o[0] || (o[0] = (t) => {
49
+ e.value.country = t;
50
+ }),
51
+ "onUpdate:state": o[1] || (o[1] = (t) => {
52
+ e.value.state = t;
53
+ }),
54
+ "onUpdate:city": o[2] || (o[2] = (t) => {
55
+ e.value.city = t;
56
+ }),
57
+ "onUpdate:location": o[3] || (o[3] = (t) => {
58
+ e.value.location = t;
59
+ }),
60
+ "onUpdate:address": o[4] || (o[4] = (t) => {
61
+ e.value.address = t;
62
+ })
63
+ }, null, 8, ["apiKey", "locale", "address", "location"])),
64
+ (l(), u(b, {
65
+ key: s.$i18n.locale,
66
+ apiKey: s.GOOGLE_MAPS_API_KEY,
67
+ locale: s.$i18n.locale,
68
+ address: e.value.address,
69
+ location: e.value.location,
70
+ class: "bg-light radius-bl-medium radius-br-medium h-15r o-hidden",
71
+ "onUpdate:country": o[5] || (o[5] = (t) => {
72
+ e.value.country = t;
73
+ }),
74
+ "onUpdate:state": o[6] || (o[6] = (t) => {
75
+ e.value.state = t;
76
+ }),
77
+ "onUpdate:city": o[7] || (o[7] = (t) => {
78
+ e.value.city = t;
79
+ }),
80
+ "onUpdate:location": o[8] || (o[8] = (t) => {
81
+ e.value.location = t;
82
+ }),
83
+ "onUpdate:address": o[9] || (o[9] = (t) => {
84
+ e.value.address = t;
85
+ })
86
+ }, null, 8, ["apiKey", "locale", "address", "location"])),
87
+ i("button", {
88
+ onClick: o[10] || (o[10] = (t) => p()),
89
+ class: "w-100 mn-t-medium bg-main radius-extra button"
90
+ }, "Save Position")
91
+ ]));
92
+ }
93
+ };
94
+ export {
95
+ M as default
96
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=["fill"],r={__name:"IconProfile",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(t){return(l,n)=>(e.openBlock(),e.createElementBlock("svg",s,[e.createElementVNode("path",{fill:t.fill,class:e.normalizeClass(l.$attrs.class),d:"M13.875 14.375H10.125C6.33594 14.375 3.25 17.4609 3.25 21.25C3.25 21.9531 3.79688 22.5 4.5 22.5H19.5C20.2031 22.5 20.75 21.9531 20.75 21.25C20.75 17.4609 17.6641 14.375 13.875 14.375ZM5.16406 20.625C5.47656 18.1641 7.58594 16.25 10.125 16.25H13.875C16.4141 16.25 18.5234 18.1641 18.8359 20.625H5.16406ZM12 12.5C14.7734 12.5 17 10.2734 17 7.5C17 4.72656 14.7734 2.5 12 2.5C9.22656 2.5 7 4.72656 7 7.5C7 10.2734 9.22656 12.5 12 12.5ZM12 4.375C13.7188 4.375 15.125 5.78125 15.125 7.5C15.125 9.21875 13.7188 10.625 12 10.625C10.2812 10.625 8.875 9.21875 8.875 7.5C8.875 5.78125 10.2812 4.375 12 4.375Z"},null,10,o)]))}};exports.default=r;
@@ -0,0 +1,28 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as s, normalizeClass as n } from "vue";
2
+ const r = {
3
+ width: "24",
4
+ height: "24",
5
+ viewBox: "0 0 24 24",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg"
8
+ }, a = ["fill"], c = {
9
+ __name: "IconProfile",
10
+ props: {
11
+ fill: {
12
+ type: String,
13
+ default: "rgb(var(--black))"
14
+ }
15
+ },
16
+ setup(e) {
17
+ return (l, i) => (t(), o("svg", r, [
18
+ s("path", {
19
+ fill: e.fill,
20
+ class: n(l.$attrs.class),
21
+ d: "M13.875 14.375H10.125C6.33594 14.375 3.25 17.4609 3.25 21.25C3.25 21.9531 3.79688 22.5 4.5 22.5H19.5C20.2031 22.5 20.75 21.9531 20.75 21.25C20.75 17.4609 17.6641 14.375 13.875 14.375ZM5.16406 20.625C5.47656 18.1641 7.58594 16.25 10.125 16.25H13.875C16.4141 16.25 18.5234 18.1641 18.8359 20.625H5.16406ZM12 12.5C14.7734 12.5 17 10.2734 17 7.5C17 4.72656 14.7734 2.5 12 2.5C9.22656 2.5 7 4.72656 7 7.5C7 10.2734 9.22656 12.5 12 12.5ZM12 4.375C13.7188 4.375 15.125 5.78125 15.125 7.5C15.125 9.21875 13.7188 10.625 12 10.625C10.2812 10.625 8.875 9.21875 8.875 7.5C8.875 5.78125 10.2812 4.375 12 4.375Z"
22
+ }, null, 10, a)
23
+ ]));
24
+ }
25
+ };
26
+ export {
27
+ c as default
28
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("../../../globals/views/store/globals.cjs"),s=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Address/Address.vue.cjs"),u=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),i=require("../../../../components/Radio/Radio.vue.cjs"),m=require("../../../../components/Field/Field.vue2.cjs"),y=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Select deliverty type",-1),c={class:"mn-b-small flex-nowrap flex"},v=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Address",-1),b={__name:"FormDelivery",props:{order:Object},setup(e){const o=e;return t.onMounted(()=>{l.state.position&&(o.order.delivery.address=l.state.position.address),l.state.position&&(o.order.delivery.location=l.state.position.location)}),(a,d)=>(t.openBlock(),t.createBlock(s.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[y,t.createElementVNode("div",c,[t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[0]||(d[0]=r=>e.order.delivery.type=r),label:"Pickup",value:"pickup",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[1]||(d[1]=r=>e.order.delivery.type=r),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[2]||(d[2]=r=>e.order.delivery.type=r),label:"Post",value:"mail",class:"bg-white pd-medium radius-small w-100"},null,8,["radio"])]),v,t.createVNode(n.default,{label:"Location",apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black pd-medium","onUpdate:location":d[3]||(d[3]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[4]||(d[4]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(u.default,{apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":d[5]||(d[5]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[6]||(d[6]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(m.default,{field:e.order.comment,"onUpdate:field":d[7]||(d[7]=r=>e.order.comment=r),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1}))}};exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l=require("../../../globals/views/store/globals.cjs"),s=require("../../../../components/Block/Block.vue.cjs"),n=require("../../../../components/Address/Address.vue2.cjs"),u=require("../../../../components/LocationMarker/LocationMarker.vue2.cjs"),i=require("../../../../components/Radio/Radio.vue.cjs"),m=require("../../../../components/Field/Field.vue2.cjs"),y=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Select deliverty type",-1),c={class:"mn-b-small flex-nowrap flex"},v=t.createElementVNode("h4",{class:"font-second mn-b-thin"},"Address",-1),b={__name:"FormDelivery",props:{order:Object},setup(e){const o=e;return t.onMounted(()=>{l.state.position&&(o.order.delivery.address=l.state.position.address),l.state.position&&(o.order.delivery.location=l.state.position.location)}),(a,d)=>(t.openBlock(),t.createBlock(s.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[y,t.createElementVNode("div",c,[t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[0]||(d[0]=r=>e.order.delivery.type=r),label:"Pickup",value:"pickup",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[1]||(d[1]=r=>e.order.delivery.type=r),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(i.default,{radio:e.order.delivery.type,"onUpdate:radio":d[2]||(d[2]=r=>e.order.delivery.type=r),label:"Post",value:"mail",class:"bg-white pd-medium radius-small w-100"},null,8,["radio"])]),v,t.createVNode(n.default,{label:"Location",apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black pd-medium","onUpdate:location":d[3]||(d[3]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[4]||(d[4]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(u.default,{apiKey:a.GOOGLE_MAPS_API_KEY,address:e.order.delivery.address,location:e.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":d[5]||(d[5]=r=>{e.order.delivery.location=r}),"onUpdate:address":d[6]||(d[6]=r=>{e.order.delivery.address=r})},null,8,["apiKey","address","location"]),t.createVNode(m.default,{field:e.order.comment,"onUpdate:field":d[7]||(d[7]=r=>e.order.comment=r),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1}))}};exports.default=b;
@@ -1,8 +1,8 @@
1
1
  import { onMounted as n, openBlock as m, createBlock as u, withCtx as y, createElementVNode as t, createVNode as i } from "vue";
2
2
  import { state as o } from "../../../globals/views/store/globals.js";
3
3
  import v from "../../../../components/Block/Block.vue.js";
4
- import f from "../../../../components/Address/Address.vue.js";
5
- import b from "../../../../components/LocationMarker/LocationMarker.vue.js";
4
+ import f from "../../../../components/Address/Address.vue2.js";
5
+ import b from "../../../../components/LocationMarker/LocationMarker.vue2.js";
6
6
  import l from "../../../../components/Radio/Radio.vue.js";
7
7
  import c from "../../../../components/Field/Field.vue2.js";
8
8
  const p = /* @__PURE__ */ t("h4", { class: "font-second mn-b-thin" }, "Select deliverty type", -1), w = { class: "mn-b-small flex-nowrap flex" }, g = /* @__PURE__ */ t("h4", { class: "font-second mn-b-thin" }, "Address", -1), O = {