@ozdao/prometheus-framework 0.2.54 → 0.2.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/dist/gallery.server.js +4 -0
  2. package/dist/gallery.server.mjs +4 -0
  3. package/dist/main-37ee0513.mjs +13715 -0
  4. package/dist/main-B7GT1EB5.js +91 -0
  5. package/dist/main-N_5Jg8Gx.mjs +13693 -0
  6. package/dist/main-b11c45d0.js +91 -0
  7. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +55 -32
  9. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  11. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  13. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  15. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +95 -2
  17. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +2 -33
  19. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +6 -4
  23. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +3 -2
  29. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  30. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  31. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  32. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  33. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +16 -18
  47. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/globals/store/globals.js +48 -33
  49. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  53. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  55. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +52 -43
  57. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +110 -78
  59. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -3
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +7 -5
  77. package/dist/prometheus-framework/src/modules/organizations/router/organizations.router.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/organizations/router/organizations.router.js +1 -1
  79. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +15 -15
  81. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/products/store/products.js +27 -27
  93. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  99. package/dist/prometheus-framework.cjs.js +1 -1
  100. package/dist/prometheus-framework.es.js +1 -1
  101. package/dist/style.css +1 -1
  102. package/dist/web-021a4053.js +1 -0
  103. package/dist/web-0a68cf2a.mjs +55 -0
  104. package/dist/web-ktBiiov5.js +1 -0
  105. package/dist/web-xvjLzsHu.mjs +55 -0
  106. package/package.json +1 -1
  107. package/src/components/Feed/Feed.vue +26 -0
  108. package/src/modules/backoffice/router/backoffice.js +5 -2
  109. package/src/modules/gallery/models/photo.model.js +5 -1
  110. package/src/modules/globals/components/blocks/BlockSearch.vue +4 -3
  111. package/src/modules/globals/store/globals.js +33 -2
  112. package/src/modules/orders/components/blocks/CardOrderItem.vue +24 -3
  113. package/src/modules/orders/components/pages/EditOrder.vue +114 -108
  114. package/src/modules/organizations/components/pages/Organization.vue +1 -0
  115. package/src/modules/organizations/router/organizations.js +1 -1
  116. package/src/modules/organizations/router/organizations.router.js +2 -2
  117. package/src/modules/products/components/blocks/CardPosition.vue +7 -7
  118. package/src/modules/products/store/products.js +2 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const f=require("../EmptyState/EmptyState.vue.cjs");require("vue-i18n");const v={__name:"Feed",props:{showLoadMore:{type:Boolean,default:!0},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},setup(i){const a=i,r=e.ref([]),l=e.ref(!1);let s=e.ref(!0),u=e.ref(a.options.skip?a.options.skip:0),o=e.ref(a.options.limit?a.options.limit:10);const d=async()=>{if(l.value){u.value+=o.value;const t=await a.store.read({skip:u.value,limit:o.value,...a.options});t.length===0||t.length<o.value?l.value=!1:l.value=!0,r.value=[...r.value,...t]}},c=async()=>{const t=await a.store.read({skip:u.value,limit:o.value,...a.options});t.length===0||t.length<o.value?l.value=!1:l.value=!0,console.log(t),r.value=t,s.value=!1};return e.watch(()=>a.options,(t,n)=>{(t.organization!==n.organization||t.categories!==n.categories||t.prices!==n.prices||t.delivery!==n.delivery||t.search!==n.search)&&c()},{deep:!0}),e.onMounted(async()=>{await c()}),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(s)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:0,tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(o),m=>(e.openBlock(),e.createBlock(p.default,{key:m}))),128)):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(s)&&r.value.length<1?(e.openBlock(),e.createBlock(f.default,{key:0,title:i.states.empty.title,description:i.states.empty.description,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(s)&&r.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:r.value,user:t.user}):e.createCommentVNode("",!0),i.showLoadMore&&l.value&&r.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"col-w-100 w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:3},8,["class"])],64))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");require("../Loader/Loader.vue.cjs");const g=require("../EmptyState/EmptyState.vue.cjs");require("vue-i18n");const k=require("../../modules/globals/components/blocks/BlockSearch.vue.cjs"),v={__name:"Feed",props:{search:{type:Boolean,default:!1},showLoadMore:{type:Boolean,default:!0},states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null,contain:null})}},setup(s){const a=s,l=e.ref([]),o=e.ref(!1);let i=e.ref(!0),u=e.ref(a.options.skip?a.options.skip:0),n=e.ref(a.options.limit?a.options.limit:10);const d=async()=>{if(o.value){u.value+=n.value;const t=await a.store.read({skip:u.value,limit:n.value,...a.options});t.length===0||t.length<n.value?o.value=!1:o.value=!0,l.value=[...l.value,...t]}},c=async()=>{const t=await a.store.read({skip:u.value,limit:n.value,...a.options});t.length===0||t.length<n.value?o.value=!1:o.value=!0,console.log(t),l.value=t,i.value=!1};e.watch(()=>a.options,(t,r)=>{(t.organization!==r.organization||t.categories!==r.categories||t.prices!==r.prices||t.delivery!==r.delivery||t.search!==r.search)&&c()},{deep:!0});function m(t){a.options.search=t,console.log(t),c()}return e.onMounted(async()=>{await c()}),(t,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition"},{default:e.withCtx(()=>[s.search?(e.openBlock(),e.createBlock(k.default,{key:0,onSearch:m,placeholder:"Enter product name",class:"bg-white mn-b-thin"})):e.createCommentVNode("",!0)]),_:1}),e.unref(i)?(e.openBlock(),e.createBlock(e.TransitionGroup,{key:0,tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[e.unref(i)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(n),p=>(e.openBlock(),e.createBlock(f.default,{key:p}))),128)):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(i)&&l.value.length<1?(e.openBlock(),e.createBlock(g.default,{key:0,title:s.states.empty.title,description:s.states.empty.description,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:e.normalizeClass(t.$attrs.class)},{default:e.withCtx(()=>[!e.unref(i)&&l.value.length>0?e.renderSlot(t.$slots,"default",{key:0,items:l.value,user:t.user}):e.createCommentVNode("",!0),s.showLoadMore&&o.value&&l.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"col-w-100 w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:3},8,["class"])],64))}};exports.default=v;
@@ -1,11 +1,16 @@
1
- import { ref as r, watch as w, onMounted as M, openBlock as n, createElementBlock as d, Fragment as y, unref as u, createBlock as f, TransitionGroup as h, withCtx as v, renderList as S, createCommentVNode as c, createVNode as k, Transition as T, normalizeClass as j, renderSlot as B } from "vue";
2
- import C from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
1
+ import { ref as c, watch as S, onMounted as T, openBlock as l, createElementBlock as v, Fragment as k, createVNode as h, TransitionGroup as y, withCtx as p, createBlock as d, createCommentVNode as o, unref as m, renderList as B, Transition as M, normalizeClass as j, renderSlot as C } from "vue";
2
+ import O from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
3
3
  import "../Loader/Loader.vue.js";
4
- import O from "../EmptyState/EmptyState.vue.js";
4
+ import $ from "../EmptyState/EmptyState.vue.js";
5
5
  import "vue-i18n";
6
- const N = {
6
+ import z from "../../modules/globals/components/blocks/BlockSearch.vue.js";
7
+ const q = {
7
8
  __name: "Feed",
8
9
  props: {
10
+ search: {
11
+ type: Boolean,
12
+ default: !1
13
+ },
9
14
  showLoadMore: {
10
15
  type: Boolean,
11
16
  default: !0
@@ -41,14 +46,14 @@ const N = {
41
46
  })
42
47
  }
43
48
  },
44
- setup(m) {
45
- const t = m, s = r([]), a = r(!1);
46
- let o = r(!0), p = r(t.options.skip ? t.options.skip : 0), i = r(t.options.limit ? t.options.limit : 10);
49
+ setup(r) {
50
+ const t = r, s = c([]), a = c(!1);
51
+ let u = c(!0), f = c(t.options.skip ? t.options.skip : 0), i = c(t.options.limit ? t.options.limit : 10);
47
52
  const b = async () => {
48
53
  if (a.value) {
49
- p.value += i.value;
54
+ f.value += i.value;
50
55
  const e = await t.store.read({
51
- skip: p.value,
56
+ skip: f.value,
52
57
  limit: i.value,
53
58
  ...t.options
54
59
  });
@@ -56,55 +61,73 @@ const N = {
56
61
  }
57
62
  }, g = async () => {
58
63
  const e = await t.store.read({
59
- skip: p.value,
64
+ skip: f.value,
60
65
  limit: i.value,
61
66
  ...t.options
62
67
  });
63
- e.length === 0 || e.length < i.value ? a.value = !1 : a.value = !0, console.log(e), s.value = e, o.value = !1;
68
+ e.length === 0 || e.length < i.value ? a.value = !1 : a.value = !0, console.log(e), s.value = e, u.value = !1;
64
69
  };
65
- return w(() => t.options, (e, l) => {
66
- (e.organization !== l.organization || e.categories !== l.categories || e.prices !== l.prices || e.delivery !== l.delivery || e.search !== l.search) && g();
67
- }, { deep: !0 }), M(async () => {
70
+ S(() => t.options, (e, n) => {
71
+ (e.organization !== n.organization || e.categories !== n.categories || e.prices !== n.prices || e.delivery !== n.delivery || e.search !== n.search) && g();
72
+ }, { deep: !0 });
73
+ function w(e) {
74
+ t.options.search = e, console.log(e), g();
75
+ }
76
+ return T(async () => {
68
77
  await g();
69
- }), (e, l) => (n(), d(y, null, [
70
- u(o) ? (n(), f(h, {
78
+ }), (e, n) => (l(), v(k, null, [
79
+ h(y, {
80
+ tag: "ul",
81
+ name: "scaleTransition"
82
+ }, {
83
+ default: p(() => [
84
+ r.search ? (l(), d(z, {
85
+ key: 0,
86
+ onSearch: w,
87
+ placeholder: "Enter product name",
88
+ class: "bg-white mn-b-thin"
89
+ })) : o("", !0)
90
+ ]),
91
+ _: 1
92
+ }),
93
+ m(u) ? (l(), d(y, {
71
94
  key: 0,
72
95
  tag: "ul",
73
96
  name: "scaleTransition",
74
97
  class: "o-hidden bg-grey radius-big"
75
98
  }, {
76
- default: v(() => [
77
- u(o) ? (n(!0), d(y, { key: 0 }, S(u(i), (L) => (n(), f(C, { key: L }))), 128)) : c("", !0)
99
+ default: p(() => [
100
+ m(u) ? (l(!0), v(k, { key: 0 }, B(m(i), (L) => (l(), d(O, { key: L }))), 128)) : o("", !0)
78
101
  ]),
79
102
  _: 1
80
- })) : c("", !0),
81
- k(T, { name: "scaleTransition" }, {
82
- default: v(() => [
83
- !u(o) && s.value.length < 1 ? (n(), f(O, {
103
+ })) : o("", !0),
104
+ h(M, { name: "scaleTransition" }, {
105
+ default: p(() => [
106
+ !m(u) && s.value.length < 1 ? (l(), d($, {
84
107
  key: 0,
85
- title: m.states.empty.title,
86
- description: m.states.empty.description,
108
+ title: r.states.empty.title,
109
+ description: r.states.empty.description,
87
110
  class: "pd-medium mn-b-thin bg-grey radius-big"
88
- }, null, 8, ["title", "description"])) : c("", !0)
111
+ }, null, 8, ["title", "description"])) : o("", !0)
89
112
  ]),
90
113
  _: 1
91
114
  }),
92
- k(h, {
115
+ h(y, {
93
116
  tag: "ul",
94
117
  name: "scaleTransition",
95
118
  class: j(e.$attrs.class)
96
119
  }, {
97
- default: v(() => [
98
- !u(o) && s.value.length > 0 ? B(e.$slots, "default", {
120
+ default: p(() => [
121
+ !m(u) && s.value.length > 0 ? C(e.$slots, "default", {
99
122
  key: 0,
100
123
  items: s.value,
101
124
  user: e.user
102
- }) : c("", !0),
103
- m.showLoadMore && a.value && s.value.length > 0 ? (n(), d("button", {
125
+ }) : o("", !0),
126
+ r.showLoadMore && a.value && s.value.length > 0 ? (l(), v("button", {
104
127
  key: 1,
105
128
  onClick: b,
106
129
  class: "col-w-100 w-100 bg-main button"
107
- }, " Load more ")) : c("", !0)
130
+ }, " Load more ")) : o("", !0)
108
131
  ]),
109
132
  _: 3
110
133
  }, 8, ["class"])
@@ -112,5 +135,5 @@ const N = {
112
135
  }
113
136
  };
114
137
  export {
115
- N as default
138
+ q as default
116
139
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),c=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue2.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(o,{emit:l}){const u=o,a=l;function n(){a("close-popup")}e.watch(()=>u.isPopupOpen,t=>{t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const i={messages:{en:{},ru:{}}};return c.useI18n(i),(t,s)=>o.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},t.$attrs),[e.createVNode(d.default,{onClick:s[0]||(s[0]=p=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(t.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=p=>n()),class:e.normalizeClass([{active:o.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,72 +1,4 @@
1
- import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as i, createElementBlock as a, mergeProps as P, renderSlot as k, createCommentVNode as r, createElementVNode as x, normalizeClass as C } from "vue";
2
- import { useRoute as O, useRouter as T } from "vue-router";
3
- import { useI18n as b } from "vue-i18n";
4
- import g from "../../modules/icons/navigation/IconCross.vue.js";
5
- import "./Popup.vue2.js";
6
- const z = {
7
- key: "popup-content",
8
- class: "pd-small popup-wrapper"
9
- }, I = {
10
- __name: "Popup",
11
- props: {
12
- isPopupOpen: {
13
- type: Boolean,
14
- default: !1
15
- },
16
- style: String
17
- },
18
- emits: ["close-popup"],
19
- setup(e, { emit: u }) {
20
- const m = e, c = u;
21
- function p() {
22
- c("close-popup");
23
- }
24
- return f(() => m.isPopupOpen, (o) => {
25
- o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
26
- }), O(), T(), b({
27
- messages: {
28
- en: {},
29
- ru: {}
30
- }
31
- }), (o, t) => e.isPopupOpen ? (s(), v(y, {
32
- key: 0,
33
- to: "body"
34
- }, [
35
- n(l, {
36
- name: "TransitionTranslateY",
37
- appear: ""
38
- }, {
39
- default: i(() => [
40
- e.isPopupOpen ? (s(), a("div", z, [
41
- n(l, {
42
- name: "TransitionTranslateY",
43
- mode: "out-in"
44
- }, {
45
- default: i(() => [
46
- e.isPopupOpen ? (s(), a("section", P({
47
- key: 0,
48
- class: "pos-relative z-index-4"
49
- }, o.$attrs), [
50
- n(g, {
51
- onClick: t[0] || (t[0] = (d) => p()),
52
- class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
53
- }),
54
- k(o.$slots, "default")
55
- ], 16)) : r("", !0)
56
- ]),
57
- _: 3
58
- }),
59
- x("div", {
60
- onClick: t[1] || (t[1] = (d) => p()),
61
- class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
62
- }, null, 2)
63
- ])) : r("", !0)
64
- ]),
65
- _: 3
66
- })
67
- ])) : r("", !0);
68
- }
69
- };
1
+ const e = "";
70
2
  export {
71
- I as default
3
+ e as default
72
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),c=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue.cjs");const m={key:"popup-content",class:"pd-small popup-wrapper"},v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(o,{emit:l}){const u=o,a=l;function n(){a("close-popup")}e.watch(()=>u.isPopupOpen,t=>{t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const i={messages:{en:{},ru:{}}};return c.useI18n(i),(t,s)=>o.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},t.$attrs),[e.createVNode(d.default,{onClick:s[0]||(s[0]=p=>n()),class:"cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"}),e.renderSlot(t.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=p=>n()),class:e.normalizeClass([{active:o.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=v;
@@ -1,4 +1,72 @@
1
- const e = "";
1
+ import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as i, createElementBlock as a, mergeProps as P, renderSlot as k, createCommentVNode as r, createElementVNode as x, normalizeClass as C } from "vue";
2
+ import { useRoute as O, useRouter as T } from "vue-router";
3
+ import { useI18n as b } from "vue-i18n";
4
+ import g from "../../modules/icons/navigation/IconCross.vue.js";
5
+ import "./Popup.vue.js";
6
+ const z = {
7
+ key: "popup-content",
8
+ class: "pd-small popup-wrapper"
9
+ }, I = {
10
+ __name: "Popup",
11
+ props: {
12
+ isPopupOpen: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ style: String
17
+ },
18
+ emits: ["close-popup"],
19
+ setup(e, { emit: u }) {
20
+ const m = e, c = u;
21
+ function p() {
22
+ c("close-popup");
23
+ }
24
+ return f(() => m.isPopupOpen, (o) => {
25
+ o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
26
+ }), O(), T(), b({
27
+ messages: {
28
+ en: {},
29
+ ru: {}
30
+ }
31
+ }), (o, t) => e.isPopupOpen ? (s(), v(y, {
32
+ key: 0,
33
+ to: "body"
34
+ }, [
35
+ n(l, {
36
+ name: "TransitionTranslateY",
37
+ appear: ""
38
+ }, {
39
+ default: i(() => [
40
+ e.isPopupOpen ? (s(), a("div", z, [
41
+ n(l, {
42
+ name: "TransitionTranslateY",
43
+ mode: "out-in"
44
+ }, {
45
+ default: i(() => [
46
+ e.isPopupOpen ? (s(), a("section", P({
47
+ key: 0,
48
+ class: "pos-relative z-index-4"
49
+ }, o.$attrs), [
50
+ n(g, {
51
+ onClick: t[0] || (t[0] = (d) => p()),
52
+ class: "cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"
53
+ }),
54
+ k(o.$slots, "default")
55
+ ], 16)) : r("", !0)
56
+ ]),
57
+ _: 3
58
+ }),
59
+ x("div", {
60
+ onClick: t[1] || (t[1] = (d) => p()),
61
+ class: C([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
62
+ }, null, 2)
63
+ ])) : r("", !0)
64
+ ]),
65
+ _: 3
66
+ })
67
+ ])) : r("", !0);
68
+ }
69
+ };
2
70
  export {
3
- e as default
71
+ I as default
4
72
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue2.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},w={class:"w-100"},b=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,select:[String,Object],property:String,placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(o,{emit:m}){const i=m;let f=y.default;const t=o,n=e.ref(t.property?u(t.select,t.property,t.options):t.select),a=e.ref(!1);function v(){a.value=!1}function u(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}e.watch(()=>t.select,l=>{n.value=t.property?u(t.select,t.property,t.options):t.select});const k=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options),d=()=>{a.value=!a.value,i(a.value?"focus":"blur")},h=l=>{n.value=l,d(),t.property?i("update:select",n.value[t.property]):i("update:select",n.value)};return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(d,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[o.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(o.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",w,[e.createElementVNode("span",null,e.toDisplayString((c=n.value)!=null&&c.name?(s=n.value)==null?void 0:s.name:n.value||o.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,b))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),v]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[o.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(o.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-67f55841"]]);exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,97 +1,4 @@
1
- import { ref as y, watch as M, computed as N, openBlock as s, createElementBlock as n, Fragment as k, withDirectives as b, withModifiers as w, normalizeClass as _, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as g, Transition as S, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
- import D from "../FieldPhone/click-outside.js";
3
- import "./Select.vue2.js";
4
- import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const L = {
6
- key: 0,
7
- class: "t-transp mn-r-small"
8
- }, A = { class: "w-100" }, F = ["onClick"], I = {
9
- key: 0,
10
- class: "w-100"
11
- }, P = {
12
- key: 0,
13
- class: "mn-t-thin invalid-feedback"
14
- }, Y = {
15
- __name: "Select",
16
- props: {
17
- label: String,
18
- select: [String, Object],
19
- property: String,
20
- placeholder: { type: String, default: "Please select an item" },
21
- options: { type: Array, default: () => [] },
22
- validation: Boolean
23
- },
24
- emits: ["update:select", "focus", "blur"],
25
- setup(o, { emit: C }) {
26
- const p = C;
27
- let O = D;
28
- const e = o, l = y(e.property ? f(e.select, e.property, e.options) : e.select), i = y(!1);
29
- function B() {
30
- i.value = !1;
31
- }
32
- function f(t, h, c) {
33
- for (const a of c)
34
- if (a[h] === t || a === t)
35
- return a;
36
- return null;
37
- }
38
- M(() => e.select, (t) => {
39
- l.value = e.property ? f(e.select, e.property, e.options) : e.select;
40
- });
41
- const V = N(() => e.select ? e.options.filter((t) => t !== e.select) : e.options), v = () => {
42
- i.value = !i.value, p(i.value ? "focus" : "blur");
43
- }, j = (t) => {
44
- l.value = t, v(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
45
- };
46
- return (t, h) => {
47
- var c, a;
48
- return s(), n(k, null, [
49
- b((s(), n("div", {
50
- onClick: w(v, ["stop"]),
51
- class: _([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
52
- }, [
53
- o.label ? (s(), n("div", L, [
54
- u("span", null, d(o.label), 1)
55
- ])) : m("", !0),
56
- u("li", A, [
57
- u("span", null, d((c = l.value) != null && c.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
58
- ]),
59
- g(S, {
60
- mode: "out-in",
61
- name: "TransitionTranslateY"
62
- }, {
63
- default: x(() => [
64
- b(u("ul", {
65
- class: _([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
66
- style: { "min-width": "max-content" }
67
- }, [
68
- (s(!0), n(k, null, T(V.value, (r) => (s(), n("li", {
69
- onClick: w((q) => j(r), ["stop"])
70
- }, [
71
- r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
72
- ], 8, F))), 256))
73
- ], 2), [
74
- [$, i.value]
75
- ])
76
- ]),
77
- _: 1
78
- })
79
- ], 2)), [
80
- [z(O), B]
81
- ]),
82
- g(S, {
83
- mode: "out-in",
84
- name: "fade"
85
- }, {
86
- default: x(() => [
87
- o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
88
- ]),
89
- _: 1
90
- })
91
- ], 64);
92
- };
93
- }
94
- }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-67f55841"]]);
1
+ const e = "";
95
2
  export {
96
- Q as default
3
+ e as default
97
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");require("./Select.vue.cjs");const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},w={class:"w-100"},b=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,select:[String,Object],property:String,placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(o,{emit:m}){const i=m;let f=y.default;const t=o,n=e.ref(t.property?u(t.select,t.property,t.options):t.select),a=e.ref(!1);function v(){a.value=!1}function u(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}e.watch(()=>t.select,l=>{n.value=t.property?u(t.select,t.property,t.options):t.select});const k=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options),d=()=>{a.value=!a.value,i(a.value?"focus":"blur")},h=l=>{n.value=l,d(),t.property?i("update:select",n.value[t.property]):i("update:select",n.value)};return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(d,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[o.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(o.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",w,[e.createElementVNode("span",null,e.toDisplayString((c=n.value)!=null&&c.name?(s=n.value)==null?void 0:s.name:n.value||o.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,b))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),v]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[o.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(o.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-67f55841"]]);exports.default=E;
@@ -1,4 +1,97 @@
1
- const e = "";
1
+ import { ref as y, watch as M, computed as N, openBlock as s, createElementBlock as n, Fragment as k, withDirectives as b, withModifiers as w, normalizeClass as _, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as g, Transition as S, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
+ import D from "../FieldPhone/click-outside.js";
3
+ import "./Select.vue.js";
4
+ import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const L = {
6
+ key: 0,
7
+ class: "t-transp mn-r-small"
8
+ }, A = { class: "w-100" }, F = ["onClick"], I = {
9
+ key: 0,
10
+ class: "w-100"
11
+ }, P = {
12
+ key: 0,
13
+ class: "mn-t-thin invalid-feedback"
14
+ }, Y = {
15
+ __name: "Select",
16
+ props: {
17
+ label: String,
18
+ select: [String, Object],
19
+ property: String,
20
+ placeholder: { type: String, default: "Please select an item" },
21
+ options: { type: Array, default: () => [] },
22
+ validation: Boolean
23
+ },
24
+ emits: ["update:select", "focus", "blur"],
25
+ setup(o, { emit: C }) {
26
+ const p = C;
27
+ let O = D;
28
+ const e = o, l = y(e.property ? f(e.select, e.property, e.options) : e.select), i = y(!1);
29
+ function B() {
30
+ i.value = !1;
31
+ }
32
+ function f(t, h, c) {
33
+ for (const a of c)
34
+ if (a[h] === t || a === t)
35
+ return a;
36
+ return null;
37
+ }
38
+ M(() => e.select, (t) => {
39
+ l.value = e.property ? f(e.select, e.property, e.options) : e.select;
40
+ });
41
+ const V = N(() => e.select ? e.options.filter((t) => t !== e.select) : e.options), v = () => {
42
+ i.value = !i.value, p(i.value ? "focus" : "blur");
43
+ }, j = (t) => {
44
+ l.value = t, v(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
45
+ };
46
+ return (t, h) => {
47
+ var c, a;
48
+ return s(), n(k, null, [
49
+ b((s(), n("div", {
50
+ onClick: w(v, ["stop"]),
51
+ class: _([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
52
+ }, [
53
+ o.label ? (s(), n("div", L, [
54
+ u("span", null, d(o.label), 1)
55
+ ])) : m("", !0),
56
+ u("li", A, [
57
+ u("span", null, d((c = l.value) != null && c.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
58
+ ]),
59
+ g(S, {
60
+ mode: "out-in",
61
+ name: "TransitionTranslateY"
62
+ }, {
63
+ default: x(() => [
64
+ b(u("ul", {
65
+ class: _([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
66
+ style: { "min-width": "max-content" }
67
+ }, [
68
+ (s(!0), n(k, null, T(V.value, (r) => (s(), n("li", {
69
+ onClick: w((q) => j(r), ["stop"])
70
+ }, [
71
+ r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
72
+ ], 8, F))), 256))
73
+ ], 2), [
74
+ [$, i.value]
75
+ ])
76
+ ]),
77
+ _: 1
78
+ })
79
+ ], 2)), [
80
+ [z(O), B]
81
+ ]),
82
+ g(S, {
83
+ mode: "out-in",
84
+ name: "fade"
85
+ }, {
86
+ default: x(() => [
87
+ o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
88
+ ]),
89
+ _: 1
90
+ })
91
+ ], 64);
92
+ };
93
+ }
94
+ }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-67f55841"]]);
2
95
  export {
3
- e as default
96
+ Q as default
4
97
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Backoffice.vue2.cjs");const n=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r={},l={id:"account",class:"cols-1"},a={class:"w-100"};function s(u,_){const t=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("section",l,[e.createElementVNode("div",a,[e.createVNode(t,null,{default:e.withCtx(({Component:o,route:c})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o),{ref:"page",key:c.path}))]),_:2},1024)]),_:1})])])}const i=n.default(r,[["render",s]]);exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,35 +1,4 @@
1
- import { resolveComponent as a, openBlock as e, createElementBlock as s, createElementVNode as i, createVNode as o, withCtx as t, Transition as l, createBlock as _, resolveDynamicComponent as m } from "vue";
2
- import "./Backoffice.vue2.js";
3
- import d from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = {}, p = {
5
- id: "account",
6
- class: "cols-1"
7
- }, u = { class: "w-100" };
8
- function h(k, v) {
9
- const c = a("router-view");
10
- return e(), s("section", p, [
11
- i("div", u, [
12
- o(c, null, {
13
- default: t(({ Component: n, route: r }) => [
14
- o(l, {
15
- name: "scaleIn",
16
- mode: "out-in"
17
- }, {
18
- default: t(() => [
19
- (e(), _(m(n), {
20
- ref: "page",
21
- key: r.path
22
- }))
23
- ]),
24
- _: 2
25
- }, 1024)
26
- ]),
27
- _: 1
28
- })
29
- ])
30
- ]);
31
- }
32
- const y = /* @__PURE__ */ d(f, [["render", h]]);
1
+ const e = "";
33
2
  export {
34
- y as default
3
+ e as default
35
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../mobile/components/Menu/Menu.vue.cjs"),s=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const u=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const i={class:""},l=e.createElementVNode("h1",null,"Welcome to Backoffice",-1),d=e.createElementVNode("span",null," Members ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),C=e.createElementVNode("span",null," Payments ",-1),k=e.createElementVNode("span",null," Organizations ",-1),N=e.createElementVNode("span",null," Gallery ",-1),V=e.createElementVNode("span",null," Reports ",-1),v={__name:"Dashboard",props:{favorites:Array},setup(h){const r=u.useRoute(),n=u.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(E,t)=>(e.openBlock(),e.createElementBlock("div",i,[l,e.createVNode(o.default,{class:"bg-grey mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[0]||(t[0]=a=>e.unref(n).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(s.default,{onClick:t[1]||(t[1]=a=>e.unref(n).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(s.default,{onClick:t[2]||(t[2]=a=>e.unref(n).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(s.default,{onClick:t[3]||(t[3]=a=>e.unref(n).push({name:"Backoffice Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(s.default,{onClick:t[4]||(t[4]=a=>e.unref(n).push({name:"Backoffice Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(s.default,{onClick:t[5]||(t[5]=a=>e.unref(n).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(s.default,{onClick:t[6]||(t[6]=a=>e.unref(n).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1})]),_:1}),e.createVNode(o.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[7]||(t[7]=a=>e.unref(n).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1}),e.createVNode(s.default,{onClick:t[8]||(t[8]=a=>e.unref(n).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1}),e.createVNode(s.default,{onClick:t[9]||(t[9]=a=>e.unref(n).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[V]),_:1})]),_:1})]))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../mobile/components/Menu/Menu.vue2.cjs"),s=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const u=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const i={class:""},l=e.createElementVNode("h1",null,"Welcome to Backoffice",-1),d=e.createElementVNode("span",null," Members ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),C=e.createElementVNode("span",null," Payments ",-1),k=e.createElementVNode("span",null," Organizations ",-1),N=e.createElementVNode("span",null," Gallery ",-1),V=e.createElementVNode("span",null," Reports ",-1),v={__name:"Dashboard",props:{favorites:Array},setup(h){const r=u.useRoute(),n=u.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(E,t)=>(e.openBlock(),e.createElementBlock("div",i,[l,e.createVNode(o.default,{class:"bg-grey mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[0]||(t[0]=a=>e.unref(n).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(s.default,{onClick:t[1]||(t[1]=a=>e.unref(n).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(s.default,{onClick:t[2]||(t[2]=a=>e.unref(n).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(s.default,{onClick:t[3]||(t[3]=a=>e.unref(n).push({name:"Backoffice Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(s.default,{onClick:t[4]||(t[4]=a=>e.unref(n).push({name:"Backoffice Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(s.default,{onClick:t[5]||(t[5]=a=>e.unref(n).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(s.default,{onClick:t[6]||(t[6]=a=>e.unref(n).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1})]),_:1}),e.createVNode(o.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[7]||(t[7]=a=>e.unref(n).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1}),e.createVNode(s.default,{onClick:t[8]||(t[8]=a=>e.unref(n).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1}),e.createVNode(s.default,{onClick:t[9]||(t[9]=a=>e.unref(n).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[V]),_:1})]),_:1})]))}};exports.default=v;
@@ -1,5 +1,5 @@
1
1
  import { ref as p, onMounted as m, openBlock as d, createElementBlock as _, createVNode as o, withCtx as n, unref as e, createElementVNode as t } from "vue";
2
- import u from "../../../mobile/components/Menu/Menu.vue.js";
2
+ import u from "../../../mobile/components/Menu/Menu.vue2.js";
3
3
  import i from "../../../mobile/components/Menu/MenuItem.vue.js";
4
4
  import "../../../../components/SelectMulti/SelectMulti.vue2.js";
5
5
  import { useRoute as f, useRouter as c } from "vue-router";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../components/layouts/Backoffice.vue.cjs"),e=require("../../middlewares/client/auth.validation.cjs"),o=[{path:":_id/backoffice",component:t.default,beforeEnter:[e.requiresAdmin],children:[{path:"",name:"Backoffice",meta:{title:{en:"Backoffice",ru:"Управление"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../components/pages/Dashboard.vue.cjs"))},{path:"gallery",name:"Backoffice Gallery",meta:{title:{en:"Backoffice Gallery",ru:"Управление Галерей"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../gallery/components/sections/BackofficeGallery.vue.cjs"))},{path:"reports",name:"Backoffice Reports",meta:{title:{en:"Backoffice Reports",ru:"Управление Жалобами"}},component:()=>Promise.resolve().then(()=>require("../../reports/components/pages/BackofficeReports.vue.cjs"))},{path:"organizations",name:"Backoffice Organizations",meta:{title:{en:"Backoffice Organizations",ru:"Управление Организациями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../organizations/components/pages/Organizations.vue.cjs"))},{path:"events",name:"Backoffice Events",meta:{title:{en:"Backoffice Events",ru:"Управление Событиями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../events/components/pages/Events.vue.cjs"))},{path:"community",name:"Backoffice Community",meta:{title:{en:"Backoffice Community",ru:"Управление Сообществом"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../community/components/pages/Community.vue.cjs"))},{path:"products",name:"Backoffice Products",meta:{title:{en:"Backoffice Products",ru:"Управление Продуктами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductsBackoffice.vue.cjs"))},{path:"products/add",name:"Backoffice AddProduct",component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductEdit.vue.cjs"))},{path:"products/:product",name:"Backoffice ProductEdit",beforeEnter:[e.requiresAuth],component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductEdit.vue.cjs"))},{path:"leftovers",name:"Backoffice Leftovers",meta:{title:{en:"Backoffice Leftovers",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/Leftovers.vue.cjs"))},{path:"leftovers/add",name:"Backoffice LeftoverAdd",meta:{title:{en:"Backoffice Leftovers Add",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/EditLeftover.vue.cjs"))},{path:"leftovers/:leftover",name:"Backoffice LeftoverEdit",meta:{title:{en:"Backoffice Leftovers Edit",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/EditLeftover.vue.cjs"))},{path:"orders",name:"Backoffice Orders",meta:{title:{en:"Backoffice Orders",ru:"Управление Заказами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/Orders.vue.cjs"))},{path:"orders/add",name:"AdminOrder",component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/EditOrder.vue.cjs"))},{path:"orders/:order",name:"AdminOrderEdit",component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/EditOrder.vue.cjs"))},{path:"payments",name:"Backoffice Payments",meta:{title:{en:"Backoffice Payments",ru:"Управление Платежами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../payments/components/pages/Payments.vue.cjs"))}]}];exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("vue");require("../components/layouts/Backoffice.vue.cjs");const r=require("../../globals/components/layouts/Empty.vue.cjs"),e=require("../../middlewares/client/auth.validation.cjs"),t=[{path:"backoffice",component:r.default,beforeEnter:[e.requiresAdmin],children:[{path:"",name:"Backoffice",meta:{title:{en:"Backoffice",ru:"Управление"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../components/pages/Dashboard.vue.cjs"))},{path:"gallery",name:"Backoffice Gallery",meta:{title:{en:"Backoffice Gallery",ru:"Управление Галерей"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../gallery/components/sections/BackofficeGallery.vue.cjs"))},{path:"reports",name:"Backoffice Reports",meta:{title:{en:"Backoffice Reports",ru:"Управление Жалобами"}},component:()=>Promise.resolve().then(()=>require("../../reports/components/pages/BackofficeReports.vue.cjs"))},{path:"organizations",name:"Backoffice Organizations",meta:{title:{en:"Backoffice Organizations",ru:"Управление Организациями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../organizations/components/pages/Organizations.vue.cjs"))},{path:"events",name:"Backoffice Events",meta:{title:{en:"Backoffice Events",ru:"Управление Событиями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../events/components/pages/Events.vue.cjs"))},{path:"community",name:"Backoffice Community",meta:{title:{en:"Backoffice Community",ru:"Управление Сообществом"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../community/components/pages/Community.vue.cjs"))},{path:"products",name:"Backoffice Products",meta:{title:{en:"Backoffice Products",ru:"Управление Продуктами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductsBackoffice.vue.cjs"))},{path:"products/add",name:"Backoffice AddProduct",component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductEdit.vue.cjs"))},{path:"products/:product",name:"Backoffice ProductEdit",beforeEnter:[e.requiresAuth],component:()=>Promise.resolve().then(()=>require("../../products/components/pages/ProductEdit.vue.cjs"))},{path:"leftovers",name:"Backoffice Leftovers",meta:{title:{en:"Backoffice Leftovers",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/Leftovers.vue.cjs"))},{path:"leftovers/add",name:"Backoffice LeftoverAdd",meta:{title:{en:"Backoffice Leftovers Add",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/EditLeftover.vue.cjs"))},{path:"leftovers/:leftover",name:"Backoffice LeftoverEdit",meta:{title:{en:"Backoffice Leftovers Edit",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../products/components/pages/EditLeftover.vue.cjs"))},{path:"orders",name:"Backoffice Orders",meta:{title:{en:"Backoffice Orders",ru:"Управление Заказами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/Orders.vue.cjs"))},{path:"orders/add",name:"AdminOrder",component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/EditOrder.vue.cjs"))},{path:"orders/:order",name:"AdminOrderEdit",component:()=>Promise.resolve().then(()=>require("../../orders/components/pages/EditOrder.vue.cjs"))},{path:"payments",name:"Backoffice Payments",meta:{title:{en:"Backoffice Payments",ru:"Управление Платежами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../../payments/components/pages/Payments.vue.cjs"))}]}];exports.default=t;