@ozdao/prometheus-framework 0.2.193 → 0.2.195

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  3. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  5. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  9. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  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 +108 -59
  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 +73 -99
  21. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +60 -57
  23. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  45. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  55. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  65. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  69. package/dist/style.css +1 -1
  70. package/package.json +1 -1
  71. package/src/modules/globals/views/components/layouts/App.vue +51 -12
  72. package/src/modules/globals/views/components/layouts/Client.vue +1 -19
  73. package/src/modules/globals/views/components/partials/Header.vue +8 -10
@@ -1,14 +1,15 @@
1
- import { computed as l, ref as A, onMounted as C, resolveComponent as S, openBlock as a, createElementBlock as h, Fragment as T, createVNode as i, Transition as g, withCtx as m, createCommentVNode as f, createBlock as w, normalizeClass as U, resolveDynamicComponent as j } from "vue";
2
- import { u as B } from "../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js";
3
- import { useI18n as P } from "vue-i18n";
4
- import { useRoute as N } from "vue-router";
5
- import { state as v } from "../../store/globals.js";
6
- import { actions as E } from "../../../../orders/store/shopcart.js";
7
- import { Preferences as H } from "../../../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
8
- const I = {
1
+ import { computed as f, ref as B, onMounted as C, resolveComponent as P, openBlock as a, createElementBlock as k, Fragment as T, createVNode as m, Transition as v, withCtx as r, createCommentVNode as s, createBlock as n, normalizeClass as _, resolveDynamicComponent as d, unref as j } from "vue";
2
+ import { u as U } from "../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js";
3
+ import { useI18n as N } from "vue-i18n";
4
+ import { useRoute as z } from "vue-router";
5
+ import { state as i } from "../../store/globals.js";
6
+ import E from "../../../../../components/Sidebar/Sidebar.vue.js";
7
+ import I from "../partials/BottomNavigation.vue.js";
8
+ import { Preferences as L } from "../../../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
9
+ const M = {
9
10
  key: 0,
10
11
  class: "w-100 h-100"
11
- }, s = "https://weeder.delivery", J = {
12
+ }, u = "https://weeder.delivery", K = {
12
13
  __name: "App",
13
14
  props: {
14
15
  messages: {
@@ -17,16 +18,19 @@ const I = {
17
18
  },
18
19
  logotype: {
19
20
  type: Object
21
+ },
22
+ navigation: {
23
+ type: Object
20
24
  }
21
25
  },
22
- setup(p) {
23
- const y = p, { t, locale: L } = P({
24
- messages: y.messages
25
- }), d = l(() => u(`${s}${n.path}`)), n = N(), k = ["en", "ru"];
26
- function u(e) {
26
+ setup(y) {
27
+ const l = y, { t, locale: x } = N({
28
+ messages: l.messages
29
+ }), w = f(() => b(`${u}${c.path}`)), c = z(), O = ["en", "ru"];
30
+ function b(e) {
27
31
  return e.endsWith("/") ? e.slice(0, -1) : e;
28
32
  }
29
- const _ = l(() => ({
33
+ const S = f(() => ({
30
34
  title: t("meta.title"),
31
35
  description: t("meta.description"),
32
36
  meta: [
@@ -36,89 +40,134 @@ const I = {
36
40
  { hid: "keywords", name: "keywords", content: t("meta.keywords") },
37
41
  { hid: "og:title", property: "og:title", content: t("meta.og.title") },
38
42
  { hid: "og:description", property: "og:description", content: t("meta.og.description") },
39
- { hid: "og:image", property: "og:image", content: s + "/favicon/cover.jpg" },
40
- { hid: "og:url", property: "og:url", content: d.value },
43
+ { hid: "og:image", property: "og:image", content: u + "/favicon/cover.jpg" },
44
+ { hid: "og:url", property: "og:url", content: w.value },
41
45
  { hid: "twitter:title", name: "twitter:title", content: t("meta.twitter.title") },
42
46
  { hid: "twitter:description", name: "twitter:description", content: t("meta.twitter.description") },
43
- { hid: "twitter:image", name: "twitter:image", content: s + "/favicon/cover.jpg" },
47
+ { hid: "twitter:image", name: "twitter:image", content: u + "/favicon/cover.jpg" },
44
48
  { hid: "twitter:card", name: "twitter:card", content: t("meta.twitter.card") }
45
49
  ],
46
50
  link: [
47
- { hid: "canonical", rel: "canonical", href: d.value },
48
- ...b.value
51
+ { hid: "canonical", rel: "canonical", href: w.value },
52
+ ...$.value
49
53
  ],
50
54
  htmlAttrs: { lang: t("meta.htmlAttrs.lang") }
51
- })), b = l(() => k.map((e) => {
52
- let r = n.path;
53
- n.params.locale ? r = r.replace(`/${n.params.locale}`, `/${e}`) : r = `/${e}${r}`;
54
- const o = u(`${s}${r}`);
55
+ })), $ = f(() => O.map((e) => {
56
+ let o = c.path;
57
+ c.params.locale ? o = o.replace(`/${c.params.locale}`, `/${e}`) : o = `/${e}${o}`;
58
+ const p = b(`${u}${o}`);
55
59
  return {
56
60
  hid: "alternate",
57
61
  rel: "alternate",
58
62
  hreflang: e,
59
- href: o
63
+ href: p
60
64
  };
61
65
  }));
62
- B(_.value);
63
- const c = A(!1);
64
- async function $() {
65
- const e = await H.get({ key: "first-use" });
66
- c.value = e.value ? JSON.parse(e.value) : !0;
66
+ U(S.value);
67
+ const g = B(!1);
68
+ async function F() {
69
+ const e = await L.get({ key: "first-use" });
70
+ g.value = e.value ? JSON.parse(e.value) : !0;
67
71
  }
68
- const F = (e) => {
69
- c.value = e;
72
+ const A = (e) => {
73
+ g.value = e;
70
74
  };
71
75
  return C(async () => {
72
- await $(), E.setShopcart();
73
- }), (e, r) => {
74
- const o = S("router-view");
75
- return a(), h(T, null, [
76
- i(g, {
76
+ await F();
77
+ }), (e, o) => {
78
+ const p = P("router-view");
79
+ return a(), k(T, null, [
80
+ m(v, {
77
81
  name: "scaleTransition",
78
82
  mode: "out-in"
79
83
  }, {
80
- default: m(() => [
81
- c.value ? (a(), h("section", I, [
82
- i(o, {
84
+ default: r(() => [
85
+ g.value ? (a(), k("section", M, [
86
+ m(p, {
83
87
  name: "Walkthrough",
84
- onUpdateFirstUse: F,
88
+ onUpdateFirstUse: A,
85
89
  slides: [1, 2, 3],
86
90
  class: "tab"
87
91
  })
88
- ])) : f("", !0)
92
+ ])) : s("", !0)
89
93
  ]),
90
94
  _: 1
91
95
  }),
92
- i(g, {
96
+ m(v, {
93
97
  name: "moveFromTop",
94
98
  mode: "out-in",
95
99
  appear: ""
96
100
  }, {
97
- default: m(() => [
98
- e.MOBILE_APP ? f("", !0) : (a(), w(o, {
101
+ default: r(() => [
102
+ i.isOpenSidebar ? (a(), n(E, {
99
103
  key: 0,
100
- name: "Header",
101
- ref: "header",
102
- class: U(["transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0", {
103
- "pos-l-70": v.isOpenSidebar,
104
- "pos-l-0": !v.isOpenSidebar
105
- }]),
106
- theme: e.headerTheme,
107
- logotype: p.logotype
108
- }, null, 8, ["theme", "logotype", "class"]))
104
+ stateSidebar: i.isOpenSidebar,
105
+ onCloseSidebar: o[0] || (o[0] = () => {
106
+ i.isOpenSidebar = !i.isOpenSidebar;
107
+ }),
108
+ class: _(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
109
+ "pos-l-70-negative": !i.isOpenSidebar,
110
+ "pos-l-0": i.isOpenSidebar
111
+ }])
112
+ }, {
113
+ default: r(() => [
114
+ l.navigation ? (a(), n(d(l.navigation), {
115
+ key: 0,
116
+ class: "h3 pd-big cols-1"
117
+ })) : s("", !0)
118
+ ]),
119
+ _: 1
120
+ }, 8, ["stateSidebar", "class"])) : s("", !0)
109
121
  ]),
110
122
  _: 1
111
123
  }),
112
- i(o, null, {
113
- default: m(({ Component: O }) => [
114
- (a(), w(j(O)))
124
+ e.MOBILE_APP ? s("", !0) : (a(), n(p, {
125
+ key: 0,
126
+ name: "Header",
127
+ ref: "header",
128
+ class: _(["transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0", {
129
+ "pos-l-70": i.isOpenSidebar,
130
+ "pos-l-0": !i.isOpenSidebar
131
+ }]),
132
+ theme: e.headerTheme,
133
+ logotype: y.logotype
134
+ }, {
135
+ default: r(({ Component: h }) => [
136
+ m(v, {
137
+ name: "moveFromTop",
138
+ mode: "out-in",
139
+ appear: ""
140
+ }, {
141
+ default: r(() => [
142
+ (a(), n(d(h), null, {
143
+ default: r(() => [
144
+ l.navigation ? (a(), n(d(l.navigation), {
145
+ key: 0,
146
+ class: "mn-l-auto desktop-only"
147
+ })) : s("", !0)
148
+ ]),
149
+ _: 2
150
+ }, 1024))
151
+ ]),
152
+ _: 2
153
+ }, 1024)
115
154
  ]),
116
155
  _: 1
117
- })
156
+ }, 8, ["theme", "logotype", "class"])),
157
+ m(p, null, {
158
+ default: r(({ Component: h }) => [
159
+ (a(), n(d(h)))
160
+ ]),
161
+ _: 1
162
+ }),
163
+ e.MOBILE_APP && j(c).meta.title_hide ? (a(), n(I, {
164
+ key: 1,
165
+ class: "pd-small z-index-2"
166
+ })) : s("", !0)
118
167
  ], 64);
119
168
  };
120
169
  }
121
170
  };
122
171
  export {
123
- J as default
172
+ K as default
124
173
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("vue-router"),t=require("../../store/globals.cjs"),C=require("../../../../../components/Loader/Loader.vue2.cjs"),b=require("../../../../../components/Status/Status.vue.cjs"),h=require("../../../../../components/Sidebar/Sidebar.vue.cjs"),_=require("../../../../../components/Popup/Popup.vue.cjs");require("vue-i18n");;/* empty css */const w=require("../partials/LocationSelection.vue.cjs"),B=require("../partials/Navigation.vue.cjs");require("../../../../products/store/categories.cjs");const O=require("../partials/BottomNavigation.vue.cjs"),q=require("../../../../orders/components/partials/ShopCart.vue.cjs");;/* empty css */const y={id:"app-wrapper",class:"pos-relative"},N={__name:"Client",setup(V){const n=f.useRoute();f.useRouter();let u=e.ref(!1);const i=e.ref(null),m=e.ref(null),d=e.ref(n.query.referalCode);function v(){t.state.isOpenLocationPopup=!1}function g(){document.getElementById("app").scrollIntoView()}const s=e.ref(0);let l=!1;const r=e.ref(null);e.computed(()=>s.value>50?"light":n.meta.header_theme||"light");const S=()=>{if(s.value=event.target.scrollTop,s.value>50&&!l){l=!0,r.value.$el.classList.add("scrolled");const o=-r.value.$el.getBoundingClientRect().top;r.value.$el.style.transform=`translateY(${o}px)`,setTimeout(()=>{r.value.$el.style.transform="translateY(0)"},0)}else if(s.value<=75&&l){l=!1,r.value.$el.classList.remove("scrolled");const o=r.value.$el.getBoundingClientRect().top;r.value.$el.style.transform=`translateY(${o}px)`,setTimeout(()=>{r.value.$el.style.transform="translateY(0)"},0)}};return e.onMounted(async()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/service-worker.js").then(o=>{console.log("SW registered: ",o)}).catch(o=>{console.log("SW registration failed: ",o)})}),i&&(u.value=!0);const a=localStorage.getItem("position");a?t.state.position=JSON.parse(a):t.state.isOpenLocationPopup=!0,d.value&&localStorage.setItem("referalCode",d.value)}),(a,o)=>{const k=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",y,[e.createVNode(e.Transition,{name:"moveFromTop",appear:""},{default:e.withCtx(()=>[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(C.default,{key:0,class:"pos-fixed"}))]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.unref(u)&&t.state.isOpenSidebar?(e.openBlock(),e.createBlock(h.default,{key:0,stateSidebar:t.state.isOpenSidebar,onCloseSidebar:o[0]||(o[0]=()=>{t.state.isOpenSidebar=!t.state.isOpenSidebar}),class:e.normalizeClass(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light",{"pos-l-70-negative":!t.state.isOpenSidebar,"pos-l-0":t.state.isOpenSidebar}])},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"h3 pd-big cols-1"})]),_:1},8,["stateSidebar","class"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(_.default,{onClosePopup:v,isPopupOpen:t.state.isOpenLocationPopup,class:"bg-white pd-semi w-m-33r radius-big"},{default:e.withCtx(()=>[e.createVNode(w.default)]),_:1},8,["isPopupOpen"]),e.createElementVNode("section",{id:"screen",ref_key:"screen",ref:m,onScroll:S,onClick:o[1]||(o[1]=p=>t.state.isOpenSidebar?c=>t.state.isOpenSidebar=!1:c=>{console.log("not succes")}),class:e.normalizeClass(["transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll",{"pos-l-70":t.state.isOpenSidebar,"pos-l-0":!t.state.isOpenSidebar}])},[e.createVNode(q.default),t.state.error.show?(e.openBlock(),e.createBlock(b.default,{key:0,data:t.state.error,class:"z-index-7"},null,8,["data"])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(k,null,{default:e.withCtx(({Component:p,route:c})=>[e.createVNode(e.Transition,{onBeforeEnter:g,name:"scaleIn",mode:"out-in",appear:""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p),{ref_key:"page",ref:i,key:c.path}))]),_:2},1024)]),_:1})]),_:1}))],34),a.MOBILE_APP&&e.unref(n).meta.title_hide?(e.openBlock(),e.createBlock(O.default,{key:0,class:"pd-small z-index-2"})):e.createCommentVNode("",!0)])}}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router"),o=require("../../store/globals.cjs"),h=require("../../../../../components/Loader/Loader.vue2.cjs"),C=require("../../../../../components/Status/Status.vue.cjs"),w=require("../../../../../components/Popup/Popup.vue2.cjs");require("vue-i18n");;/* empty css */const B=require("../partials/LocationSelection.vue.cjs");;/* empty css */require("../../../../products/store/categories.cjs");const S=,/* empty css */q=require("../../../../orders/components/partials/ShopCart.vue.cjs");;/* empty css */const y={id:"app-wrapper",class:"pos-relative"},O={__name:"Client",setup(N){const n=d.useRoute();d.useRouter();let f=e.ref(!1);const i=e.ref(null),m=e.ref(null),u=e.ref(n.query.referalCode);function v(){o.state.isOpenLocationPopup=!1}function g(){document.getElementById("app").scrollIntoView()}const a=e.ref(0);let l=!1;const r=e.ref(null);e.computed(()=>a.value>50?"light":n.meta.header_theme||"light");const k=()=>{if(a.value=event.target.scrollTop,a.value>50&&!l){l=!0,r.value.$el.classList.add("scrolled");const t=-r.value.$el.getBoundingClientRect().top;r.value.$el.style.transform=`translateY(${t}px)`,setTimeout(()=>{r.value.$el.style.transform="translateY(0)"},0)}else if(a.value<=75&&l){l=!1,r.value.$el.classList.remove("scrolled");const t=r.value.$el.getBoundingClientRect().top;r.value.$el.style.transform=`translateY(${t}px)`,setTimeout(()=>{r.value.$el.style.transform="translateY(0)"},0)}};return e.onMounted(async()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/service-worker.js").then(t=>{console.log("SW registered: ",t)}).catch(t=>{console.log("SW registration failed: ",t)})}),i&&(f.value=!0);const s=localStorage.getItem("position");s?o.state.position=JSON.parse(s):o.state.isOpenLocationPopup=!0,u.value&&localStorage.setItem("referalCode",u.value)}),(s,t)=>{const _=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",y,[e.createVNode(e.Transition,{name:"moveFromTop",appear:""},{default:e.withCtx(()=>[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h.default,{key:0,class:"pos-fixed"}))]),_:1}),e.createVNode(w.default,{onClosePopup:v,isPopupOpen:o.state.isOpenLocationPopup,class:"bg-white pd-semi w-m-33r radius-big"},{default:e.withCtx(()=>[e.createVNode(B.default)]),_:1},8,["isPopupOpen"]),e.createElementVNode("section",{id:"screen",ref_key:"screen",ref:m,onScroll:k,onClick:t[0]||(t[0]=p=>o.state.isOpenSidebar?c=>o.state.isOpenSidebar=!1:c=>{console.log("not succes")}),class:e.normalizeClass(["transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll",{"pos-l-70":o.state.isOpenSidebar,"pos-l-0":!o.state.isOpenSidebar}])},[e.createVNode(q.default),o.state.error.show?(e.openBlock(),e.createBlock(C.default,{key:0,data:o.state.error,class:"z-index-7"},null,8,["data"])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(_,null,{default:e.withCtx(({Component:p,route:c})=>[e.createVNode(e.Transition,{onBeforeEnter:g,name:"scaleIn",mode:"out-in",appear:""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p),{ref_key:"page",ref:i,key:c.path}))]),_:2},1024)]),_:1})]),_:1}))],34),s.MOBILE_APP&&e.unref(n).meta.title_hide?(e.openBlock(),e.createBlock(S.default,{key:0,class:"pd-small z-index-2"})):e.createCommentVNode("",!0)])}}};exports.default=O;
@@ -1,146 +1,120 @@
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";
1
+ import { ref as s, computed as S, onMounted as O, resolveComponent as P, openBlock as l, createElementBlock as B, createVNode as a, Transition as g, withCtx as n, createBlock as i, createCommentVNode as d, createElementVNode as L, normalizeClass as R, Suspense as b, resolveDynamicComponent as x, unref as E } from "vue";
2
+ import { useRoute as I, useRouter as T } from "vue-router";
3
+ import { state as t } from "../../store/globals.js";
4
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";
5
+ import V from "../../../../../components/Status/Status.vue.js";
6
+ import W from "../../../../../components/Popup/Popup.vue2.js";
8
7
  import "vue-i18n";
9
8
  /* empty css */
10
9
  import Y from "../partials/LocationSelection.vue.js";
11
- import F from "../partials/Navigation.vue.js";
10
+ /* empty css */
12
11
  import "../../../../products/store/categories.js";
13
- import M from "../partials/BottomNavigation.vue.js";
14
- import j from "../../../../orders/components/partials/ShopCart.vue.js";
12
+ import z from "../partials/BottomNavigation.vue.js";
13
+ import M from "../../../../orders/components/partials/ShopCart.vue.js";
15
14
  /* empty css */
16
- const q = {
15
+ const j = {
17
16
  id: "app-wrapper",
18
17
  class: "pos-relative"
19
- }, ie = {
18
+ }, re = {
20
19
  __name: "Client",
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;
28
- }
20
+ setup(q) {
21
+ const u = I();
22
+ T();
23
+ let h = s(!1);
24
+ const m = s(null), $ = s(null), v = s(u.query.referalCode);
29
25
  function w() {
26
+ t.isOpenLocationPopup = !1;
27
+ }
28
+ function y() {
30
29
  document.getElementById("app").scrollIntoView();
31
30
  }
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(() => {
31
+ const c = s(0);
32
+ let p = !1;
33
+ const o = s(null);
34
+ S(() => c.value > 50 ? "light" : u.meta.header_theme || "light");
35
+ const k = () => {
36
+ if (c.value = event.target.scrollTop, c.value > 50 && !p) {
37
+ p = !0, o.value.$el.classList.add("scrolled");
38
+ const e = -o.value.$el.getBoundingClientRect().top;
39
+ o.value.$el.style.transform = `translateY(${e}px)`, setTimeout(() => {
41
40
  o.value.$el.style.transform = "translateY(0)";
42
41
  }, 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(() => {
42
+ } else if (c.value <= 75 && p) {
43
+ p = !1, o.value.$el.classList.remove("scrolled");
44
+ const e = o.value.$el.getBoundingClientRect().top;
45
+ o.value.$el.style.transform = `translateY(${e}px)`, setTimeout(() => {
47
46
  o.value.$el.style.transform = "translateY(0)";
48
47
  }, 0);
49
48
  }
50
49
  };
51
- return P(async () => {
50
+ return O(async () => {
52
51
  "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);
52
+ navigator.serviceWorker.register("/service-worker.js").then((e) => {
53
+ console.log("SW registered: ", e);
54
+ }).catch((e) => {
55
+ console.log("SW registration failed: ", e);
57
56
  });
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, {
57
+ }), m && (h.value = !0);
58
+ const r = localStorage.getItem("position");
59
+ r ? t.position = JSON.parse(r) : t.isOpenLocationPopup = !0, v.value && localStorage.setItem("referalCode", v.value);
60
+ }), (r, e) => {
61
+ const C = P("router-view");
62
+ return l(), B("div", j, [
63
+ a(g, {
65
64
  name: "moveFromTop",
66
65
  appear: ""
67
66
  }, {
68
- default: a(() => [
69
- d.value ? u("", !0) : (s(), n(N, {
67
+ default: n(() => [
68
+ m.value ? d("", !0) : (l(), i(N, {
70
69
  key: 0,
71
70
  class: "pos-fixed"
72
71
  }))
73
72
  ]),
74
73
  _: 1
75
74
  }),
76
- r(v, {
77
- name: "moveFromTop",
78
- mode: "out-in",
79
- appear: ""
80
- }, {
81
- default: a(() => [
82
- b(g) && e.isOpenSidebar ? (s(), n(V, {
83
- key: 0,
84
- stateSidebar: e.isOpenSidebar,
85
- onCloseSidebar: t[0] || (t[0] = () => {
86
- e.isOpenSidebar = !e.isOpenSidebar;
87
- }),
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
91
- }])
92
- }, {
93
- default: a(() => [
94
- r(F, { class: "h3 pd-big cols-1" })
95
- ]),
96
- _: 1
97
- }, 8, ["stateSidebar", "class"])) : u("", !0)
98
- ]),
99
- _: 1
100
- }),
101
- r(W, {
102
- onClosePopup: $,
103
- isPopupOpen: e.isOpenLocationPopup,
75
+ a(W, {
76
+ onClosePopup: w,
77
+ isPopupOpen: t.isOpenLocationPopup,
104
78
  class: "bg-white pd-semi w-m-33r radius-big"
105
79
  }, {
106
- default: a(() => [
107
- r(Y)
80
+ default: n(() => [
81
+ a(Y)
108
82
  ]),
109
83
  _: 1
110
84
  }, 8, ["isPopupOpen"]),
111
- x("section", {
85
+ L("section", {
112
86
  id: "screen",
113
87
  ref_key: "screen",
114
- ref: h,
115
- onScroll: y,
116
- onClick: t[1] || (t[1] = (S) => e.isOpenSidebar ? (f) => e.isOpenSidebar = !1 : (f) => {
88
+ ref: $,
89
+ onScroll: k,
90
+ onClick: e[0] || (e[0] = (_) => t.isOpenSidebar ? (f) => t.isOpenSidebar = !1 : (f) => {
117
91
  console.log("not succes");
118
92
  }),
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
93
+ class: R(["transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll", {
94
+ "pos-l-70": t.isOpenSidebar,
95
+ "pos-l-0": !t.isOpenSidebar
122
96
  }])
123
97
  }, [
124
- r(j),
125
- e.error.show ? (s(), n(z, {
98
+ a(M),
99
+ t.error.show ? (l(), i(V, {
126
100
  key: 0,
127
- data: e.error,
101
+ data: t.error,
128
102
  class: "z-index-7"
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,
103
+ }, null, 8, ["data"])) : d("", !0),
104
+ (l(), i(b, null, {
105
+ default: n(() => [
106
+ a(C, null, {
107
+ default: n(({ Component: _, route: f }) => [
108
+ a(g, {
109
+ onBeforeEnter: y,
136
110
  name: "scaleIn",
137
111
  mode: "out-in",
138
112
  appear: ""
139
113
  }, {
140
- default: a(() => [
141
- (s(), n(T(S), {
114
+ default: n(() => [
115
+ (l(), i(x(_), {
142
116
  ref_key: "page",
143
- ref: d,
117
+ ref: m,
144
118
  key: f.path
145
119
  }))
146
120
  ]),
@@ -153,14 +127,14 @@ const q = {
153
127
  _: 1
154
128
  }))
155
129
  ], 34),
156
- i.MOBILE_APP && b(m).meta.title_hide ? (s(), n(M, {
130
+ r.MOBILE_APP && E(u).meta.title_hide ? (l(), i(z, {
157
131
  key: 0,
158
132
  class: "pd-small z-index-2"
159
- })) : u("", !0)
133
+ })) : d("", !0)
160
134
  ]);
161
135
  };
162
136
  }
163
137
  };
164
138
  export {
165
- ie as default
139
+ re as default
166
140
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),h=require("vue-i18n"),l=require("../../store/globals.cjs"),d=require("./Navigation.vue.cjs"),c=require("../../../../../components/Button/Button.vue2.cjs"),b=require("../../../../../components/Select/Select.vue.cjs"),g=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),f=require("../../../../icons/entities/IconShopcart.vue.cjs"),k=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const p={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},w=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),v=[w],C={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const s=t,i=u.useRouter();u.useRoute(),h.useI18n();function m(){l.state.isOpenLocationPopup=!0}return e.onMounted(()=>{}),(o,a)=>{var n;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),s.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.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",p,v)),e.createTextVNode(" "+e.toDisplayString((n=l.state.position)!=null&&n.country?l.state.position.country:"World"),1)],2),e.createVNode(d.default,{class:"mn-l-auto desktop-only"}),e.createVNode(g.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(c.default,{"aria-label":"shopcart",submit:r=>o.store.shopcart.actions.toggleShopcart(),counter:o.store.shopcart.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit","counter"]),e.createVNode(c.default,{"aria-label":"profile",class:"pd-zero bg-transp",submit:o.store.auth.state.access.status===!1?r=>e.unref(i).push({name:"Sign In"}):r=>e.unref(i).push({name:"User Profile",params:{_id:o.store.auth.state.user._id}}),showSucces:!1,showLoader:!1},{default:e.withCtx(()=>[e.createVNode(k.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit"]),e.createVNode(b.default,{select:o.$i18n.locale,"onUpdate:select":a[4]||(a[4]=r=>o.$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=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),b=require("vue-i18n"),a=require("../../store/globals.cjs"),n=require("../../../../orders/store/shopcart.cjs"),m=require("../../../../auth/views/store/auth.cjs");;/* empty css */const h=require("../../../../../components/Button/Button.vue2.cjs"),g=require("../../../../../components/Select/Select.vue2.cjs"),f=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),k=require("../../../../icons/entities/IconShopcart.vue.cjs"),p=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const w={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},v=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),C=[v],S={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const s=t,o=u.useRouter();u.useRoute(),b.useI18n();function d(){a.state.isOpenLocationPopup=!0}return e.onMounted(()=>{n.actions.setShopcart()}),(i,l)=>{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:l[0]||(l[0]=()=>a.state.isOpenSidebar=!a.state.isOpenSidebar),class:e.normalizeClass(["mobile-only menu-btn",{"menu-btn_active":a.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),s.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.logotype),{key:0,onClick:l[1]||(l[1]=r=>e.unref(o).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:l[2]||(l[2]=r=>d())},[(e.openBlock(),e.createElementBlock("svg",w,C)),e.createTextVNode(" "+e.toDisplayString((c=a.state.position)!=null&&c.country?a.state.position.country:"World"),1)],2),e.renderSlot(i.$slots,"default"),e.createVNode(f.default,{name:"darkmode",label:"Darkmode",radio:a.state.theme.darkmode,"onUpdate:radio":l[3]||(l[3]=r=>a.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=>n.actions.toggleShopcart(),counter:n.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(k.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:m.state.access.status===!1?r=>e.unref(o).push({name:"Sign In"}):r=>e.unref(o).push({name:"User Profile",params:{_id:m.state.user._id}}),showSucces:!1,showLoader:!1},{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"]),e.createVNode(g.default,{select:i.$i18n.locale,"onUpdate:select":l[4]||(l[4]=r=>i.$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=S;