@ozdao/martyrs 0.2.443 → 0.2.445
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Media-rrnJ9wqV.js → Media-Bx_un17A.js} +1 -1
- package/dist/{Media-UT60gfCX.mjs → Media-_5Qittnv.mjs} +1 -1
- package/dist/auth.server.js +1 -1
- package/dist/auth.server.mjs +1 -1
- package/dist/chats.server.js +1 -1
- package/dist/chats.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/{mailing-DqDlUHrs.js → mailing-D4kWlk3_.js} +13 -9
- package/dist/{mailing-D0Vezzzb.mjs → mailing-DvCT5ijo.mjs} +13 -9
- package/dist/{main-DEA2pUXu.js → main-AHluqkEA.js} +2 -2
- package/dist/{main-CDEflXWy.mjs → main-DZCereaK.mjs} +102 -103
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +3 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +3 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
- package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs → SelectMulti.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.js → SelectMulti.vue2.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.cjs.map → SelectMulti.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +2 -5
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +3 -6
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +8 -17
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +12 -21
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +31 -24
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +18 -11
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +28 -0
- package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.js +28 -0
- package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/notifications.server.js +1 -1
- package/dist/notifications.server.mjs +1 -1
- package/dist/orders.server.js +28 -1
- package/dist/orders.server.mjs +28 -1
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/products.server.js +21 -14
- package/dist/products.server.mjs +21 -14
- package/dist/{tickets.controller-Bbxe7kaF.mjs → tickets.controller-BIhfgjNb.mjs} +1 -1
- package/dist/{tickets.controller-CcxkRHlX.js → tickets.controller-zEHIAe_B.js} +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/components/Feed/Feed.vue +0 -1
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/events/components/sections/Feed.vue +1 -4
- package/src/modules/globals/controllers/utils/mailing.js +19 -20
- package/src/modules/globals/views/components/partials/Header.vue +1 -0
- package/src/modules/landing/components/sections/SectionJoinUs.vue +1 -1
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +1 -1
- package/src/modules/orders/controllers/orders.controller.js +2 -2
- package/src/modules/products/components/blocks/CardCategory.vue +3 -1
- package/src/modules/products/components/pages/Categories.vue +23 -64
- package/src/modules/products/components/pages/CategoryEdit.vue +0 -3
- package/src/modules/products/components/pages/Products.vue +31 -24
- package/src/modules/products/controllers/categories.controller.js +26 -14
- package/src/modules/products/store/products.js +28 -0
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/src/modules/products/controllers//320/265/321/201/321/202/321/214 /320/277/321/200/320/276/320/261/320/273/320/265/320/274/320/260 - /320/274/320/275/320/265 /320/275/320/260/320/264/320/276 /321/201/320/264/320/265/320/273/320/260/321/202/321/214 /320/264/320/276/320/261/320/260/320/262/320/273/320/265/320/275/320/270/320/265 /320/272/320/260/321/202/320/265/320/263/320/276" +0 -78
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./main-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./main-AHluqkEA.js"),L={class:"media-container"},M=["src","data-src","alt"],j=["controls","loop","muted","autoplay","playsinline","preload"],N=["src","type"],O={key:2,class:"media-placeholder"},P={key:3,class:"media-error"},S={__name:"Media",props:{url:{type:String,required:!0},options:{type:Object,default:()=>({muted:!0,loop:!0,playsinline:!0,preload:"metadata"})}},setup(t){const m=t,a=e.ref(null),p=e.ref(null),s=e.ref(!1),u=e.ref(null),v=e.ref(!1);let i=null,f=!1;const d=e.computed(()=>{var o,l,n;return(n=(l=(o=m.url)==null?void 0:o.split("."))==null?void 0:l.pop())==null?void 0:n.toLowerCase()}),g=e.computed(()=>["jpg","jpeg","png","gif","webp","svg","avif"].includes(d.value)),y=e.computed(()=>["mp4","webm","ogg"].includes(d.value)),x=e.computed(()=>({mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg"})[d.value]||"");function E(){s.value=!0}function I(o){u.value=`Ошибка загрузки медиа: ${o.message}`,s.value=!1}async function w(){if(a.value)try{a.value.paused&&!f&&(await a.value.play(),f=!0)}catch(o){I(o)}}function V(){const o={root:null,rootMargin:"50px",threshold:.1};i=new IntersectionObserver(n=>{n.forEach(r=>{var c;v.value=r.isIntersecting,r.isIntersecting&&(y.value&&((c=m.options)!=null&&c.autoplay)&&w(),i.disconnect())})},o);const l=g.value?p.value:a.value;l&&i.observe(l)}return e.onMounted(()=>{V()}),e.onUnmounted(()=>{i&&i.disconnect()}),(o,l)=>{var n,r,c,k,h,b,B;return e.openBlock(),e.createElementBlock("div",L,[g.value?(e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0,src:v.value?t.url:"","data-src":t.url,alt:((n=t.options)==null?void 0:n.alt)||"Image",class:["media-item",{loading:!s.value}],loading:"lazy",onLoad:E},t.options,{ref_key:"imageElement",ref:p}),null,16,M)):y.value?(e.openBlock(),e.createElementBlock("video",e.mergeProps({key:1,ref_key:"videoElement",ref:a,class:[{loading:!s.value},"media-item"],controls:!((r=t.options)!=null&&r.hideControls),loop:((c=t.options)==null?void 0:c.loop)!==!1,muted:((k=t.options)==null?void 0:k.muted)!==!1,autoplay:(h=t.options)==null?void 0:h.autoplay,playsinline:((b=t.options)==null?void 0:b.playsinline)!==!1,preload:((B=t.options)==null?void 0:B.preload)||"metadata",onLoadeddata:E},t.options),[e.createElementVNode("source",{src:t.url,type:x.value},null,8,N)],16,j)):e.createCommentVNode("",!0),s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",O," Загрузка... ")),u.value?(e.openBlock(),e.createElementBlock("div",P,e.toDisplayString(u.value),1)):e.createCommentVNode("",!0)])}}},q=C._export_sfc(S,[["__scopeId","data-v-94bcf726"]]);exports.default=q;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as u, computed as m, onMounted as N, onUnmounted as P, createElementBlock as c, openBlock as d, createCommentVNode as f, mergeProps as V, createElementVNode as S, toDisplayString as q } from "vue";
|
|
2
|
-
import { _ as z } from "./main-
|
|
2
|
+
import { _ as z } from "./main-DZCereaK.mjs";
|
|
3
3
|
const D = { class: "media-container" }, T = ["src", "data-src", "alt"], U = ["controls", "loop", "muted", "autoplay", "playsinline", "preload"], _ = ["src", "type"], $ = {
|
|
4
4
|
key: 2,
|
|
5
5
|
class: "media-placeholder"
|
package/dist/auth.server.js
CHANGED
|
@@ -6,7 +6,7 @@ const require$$0 = require("jsonwebtoken");
|
|
|
6
6
|
const require$$1$1 = require("bcryptjs");
|
|
7
7
|
const require$$0$1 = require("mongoose");
|
|
8
8
|
const require$$1 = require("jwk-to-pem");
|
|
9
|
-
const mailing = require("./mailing-
|
|
9
|
+
const mailing = require("./mailing-D4kWlk3_.js");
|
|
10
10
|
const index = require("./index-DQqZReAr.js");
|
|
11
11
|
const require$$0$2 = require("uuid");
|
|
12
12
|
const addMembersQuantity = require("./addMembersQuantity-DxWjHK1K.js");
|
package/dist/auth.server.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import require$$0 from "jsonwebtoken";
|
|
|
5
5
|
import require$$1$1 from "bcryptjs";
|
|
6
6
|
import require$$0$1 from "mongoose";
|
|
7
7
|
import require$$1 from "jwk-to-pem";
|
|
8
|
-
import { r as requireMailing } from "./mailing-
|
|
8
|
+
import { r as requireMailing } from "./mailing-DvCT5ijo.mjs";
|
|
9
9
|
import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
|
|
10
10
|
import require$$0$2 from "uuid";
|
|
11
11
|
import { r as requireAddUserStatusFields, a as requireAddMembersQuantity } from "./addMembersQuantity-DBfuUEx_.mjs";
|
package/dist/chats.server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
|
3
|
-
const mailing = require("./mailing-
|
|
3
|
+
const mailing = require("./mailing-D4kWlk3_.js");
|
|
4
4
|
const index = require("./index-DQqZReAr.js");
|
|
5
5
|
var chats_controller;
|
|
6
6
|
var hasRequiredChats_controller;
|
package/dist/chats.server.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
|
|
2
|
-
import { r as requireMailing } from "./mailing-
|
|
2
|
+
import { r as requireMailing } from "./mailing-DvCT5ijo.mjs";
|
|
3
3
|
import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
|
|
4
4
|
var chats_controller;
|
|
5
5
|
var hasRequiredChats_controller;
|
package/dist/events.server.js
CHANGED
|
@@ -4,7 +4,7 @@ const require$$0 = require("mongoose");
|
|
|
4
4
|
const queryProcessor$1 = require("./queryProcessor-D6GuKfTV.js");
|
|
5
5
|
const metadata_schema = require("./metadata.schema-CUkLXZ2f.js");
|
|
6
6
|
const require$$0$1 = require("stripe");
|
|
7
|
-
const tickets_controller = require("./tickets.controller-
|
|
7
|
+
const tickets_controller = require("./tickets.controller-zEHIAe_B.js");
|
|
8
8
|
const index = require("./index-DQqZReAr.js");
|
|
9
9
|
const globals_abac = require("./globals.abac-DT0VjfaZ.js");
|
|
10
10
|
const common_schema = require("./common.schema-O0w_rDyC.js");
|
package/dist/events.server.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import require$$0 from "mongoose";
|
|
|
3
3
|
import { r as requireQueryProcessor$1 } from "./queryProcessor-CWnMIe2U.mjs";
|
|
4
4
|
import { a as requireSeoFriendlyUrl, r as requireMetadata_schema } from "./metadata.schema--tle-GU8.mjs";
|
|
5
5
|
import require$$0$1 from "stripe";
|
|
6
|
-
import { r as requireTickets_controller } from "./tickets.controller-
|
|
6
|
+
import { r as requireTickets_controller } from "./tickets.controller-BIhfgjNb.mjs";
|
|
7
7
|
import { r as requireMiddlewares } from "./index-DICZTQ-1.mjs";
|
|
8
8
|
import { r as requireGlobals_abac } from "./globals.abac-CvmZM8XG.mjs";
|
|
9
9
|
import { r as requireCommon_schema } from "./common.schema-C2m3O1XY.mjs";
|
|
@@ -64,18 +64,22 @@ function requireMailing() {
|
|
|
64
64
|
async function sendChatMessageTelegram(chatIds, text) {
|
|
65
65
|
const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
|
|
66
66
|
const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
|
|
67
|
+
const sendPromises = chatIds.map((chatId) => {
|
|
68
|
+
return axios.post(telegramUrl, {
|
|
69
|
+
chat_id: chatId,
|
|
70
|
+
text
|
|
71
|
+
// reply_markup: inlineKeyboard
|
|
72
|
+
}).catch((error) => {
|
|
73
|
+
console.log(`Failed to send message to chat ${chatId}:`, error.message);
|
|
74
|
+
return false;
|
|
75
|
+
});
|
|
76
|
+
});
|
|
67
77
|
try {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
chat_id: chatId,
|
|
71
|
-
text
|
|
72
|
-
// reply_markup: inlineKeyboard
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
console.log("Telegram message sent");
|
|
78
|
+
const results = await Promise.all(sendPromises);
|
|
79
|
+
console.log("Telegram messages processing completed");
|
|
76
80
|
return true;
|
|
77
81
|
} catch (error) {
|
|
78
|
-
console.log(error);
|
|
82
|
+
console.log("Error in sending Telegram messages:", error.message);
|
|
79
83
|
return false;
|
|
80
84
|
}
|
|
81
85
|
}
|
|
@@ -63,18 +63,22 @@ function requireMailing() {
|
|
|
63
63
|
async function sendChatMessageTelegram(chatIds, text) {
|
|
64
64
|
const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
|
|
65
65
|
const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
|
|
66
|
+
const sendPromises = chatIds.map((chatId) => {
|
|
67
|
+
return axios.post(telegramUrl, {
|
|
68
|
+
chat_id: chatId,
|
|
69
|
+
text
|
|
70
|
+
// reply_markup: inlineKeyboard
|
|
71
|
+
}).catch((error) => {
|
|
72
|
+
console.log(`Failed to send message to chat ${chatId}:`, error.message);
|
|
73
|
+
return false;
|
|
74
|
+
});
|
|
75
|
+
});
|
|
66
76
|
try {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
chat_id: chatId,
|
|
70
|
-
text
|
|
71
|
-
// reply_markup: inlineKeyboard
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
console.log("Telegram message sent");
|
|
77
|
+
const results = await Promise.all(sendPromises);
|
|
78
|
+
console.log("Telegram messages processing completed");
|
|
75
79
|
return true;
|
|
76
80
|
} catch (error) {
|
|
77
|
-
console.log(error);
|
|
81
|
+
console.log("Error in sending Telegram messages:", error.message);
|
|
78
82
|
return false;
|
|
79
83
|
}
|
|
80
84
|
}
|