@ozdao/martyrs 0.2.463 → 0.2.465
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-ChTgw58S.js → Media-DCGbUujy.js} +1 -1
- package/dist/{Media-BKlUty0j.mjs → Media-DwVcRIAX.mjs} +1 -1
- package/dist/{main-Q8Dr1-HT.mjs → main-DEHjtgLs.mjs} +558 -557
- package/dist/main-UVdexuMN.js +11 -0
- package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs +11 -5
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js +12 -6
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/Button.vue.cjs +3 -3
- package/dist/martyrs/src/components/Button/Button.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Button/Button.vue.js +3 -3
- package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue2.cjs → Chips.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue2.js → Chips.vue.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.cjs → Dropdown.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js.map → Dropdown.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +5 -5
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +5 -5
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs → Loader.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Loader/{Loader.vue.js → Loader.vue2.js} +2 -2
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs.map → Loader.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Popup/{Popup.vue.cjs → Popup.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Popup/{Popup.vue.js → Popup.vue2.js} +2 -2
- package/dist/martyrs/src/components/Popup/{Popup.vue.cjs.map → Popup.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.cjs → SelectMulti.vue.cjs} +2 -2
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js.map → SelectMulti.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js → SelectMulti.vue.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +1 -0
- package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs +1 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.js +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue2.cjs → Tab.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js.map → Tab.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.cjs → Tooltip.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js.map → Tooltip.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- 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 +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
- 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/pages/BlogPost.vue.cjs +3 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- 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 +2 -2
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- 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 +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- 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 +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +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 +3 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +3 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +3 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.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/globals/views/plugins/AlertDialog.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/AlertDialog.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +5 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +6 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +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 +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs +1 -0
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -0
- package/dist/martyrs/src/modules/orders/store/shopcart.js.map +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 +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +4 -4
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +4 -4
- 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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.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/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/Images360.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/Images360.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 +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- 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 +72 -63
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +80 -71
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- 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/ProductRecommmendation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +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/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.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/style.css +3 -0
- package/package.json +1 -1
- package/src/components/BottomSheet/BottomSheet.vue +12 -6
- package/src/components/Button/Button.vue +2 -2
- package/src/components/Feed/Feed.vue +3 -3
- package/src/components/Popup/Popup.vue +4 -0
- package/src/modules/globals/views/components/layouts/Client.vue +1 -0
- package/src/modules/icons/navigation/IconInfo.vue +1 -3
- package/src/modules/orders/components/pages/OrderCreate.vue +6 -1
- package/src/modules/orders/store/shopcart.js +1 -0
- package/src/modules/products/components/pages/Product.vue +66 -48
- package/dist/main-DIXWgUWx.js +0 -11
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/Popup/Popup.vue.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
package/dist/martyrs.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, t, b as d, c as r, u as l, v as i, w as p, d as u, x as n, e as m, y as M, F as S, z as c, f as F, A as g, L as h, g as b, M as k, E as x, n as B, o as C, h as T, i as U, S as f, j as w, B as D, C as E, k as I, D as L, l as P, q, p as y, U as A, r as j, s as v, m as z } from "./main-
|
|
1
|
+
import { a as o, t, b as d, c as r, u as l, v as i, w as p, d as u, x as n, e as m, y as M, F as S, z as c, f as F, A as g, L as h, g as b, M as k, E as x, n as B, o as C, h as T, i as U, S as f, j as w, B as D, C as E, k as I, D as L, l as P, q, p as y, U as A, r as j, s as v, m as z } from "./main-DEHjtgLs.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
o as Address,
|
package/dist/style.css
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<section
|
|
4
4
|
v-if="show"
|
|
5
5
|
ref="wrapper"
|
|
6
|
-
class="w-100 bs-black rows-1 h-
|
|
6
|
+
class="w-100 bs-black rows-1 h-100"
|
|
7
7
|
:class="{
|
|
8
8
|
'pd-t-extra': MOBILE_APP === 'ios',
|
|
9
9
|
}"
|
|
@@ -18,11 +18,9 @@
|
|
|
18
18
|
@mouseup="endDrag"
|
|
19
19
|
@touchend="endDrag"
|
|
20
20
|
@mouseleave="endDrag"
|
|
21
|
-
class="bs-black
|
|
21
|
+
class="bs-black pd-small br-b br-solid br-light pos-relative bg-white flex-center flex z-index-2"
|
|
22
22
|
>
|
|
23
|
-
<div class="radius-extra
|
|
24
|
-
<div class="radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10"></div>
|
|
25
|
-
</div>
|
|
23
|
+
<div class="radius-extra pd-nano w-3r h-1r bg-light"></div>
|
|
26
24
|
</div>
|
|
27
25
|
|
|
28
26
|
<slot></slot>
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
</template>
|
|
32
30
|
|
|
33
31
|
<script setup>
|
|
34
|
-
import { ref } from 'vue';
|
|
32
|
+
import { ref, watch } from 'vue';
|
|
35
33
|
|
|
36
34
|
const props = defineProps({
|
|
37
35
|
show: {
|
|
@@ -56,6 +54,14 @@ const startY = ref(0);
|
|
|
56
54
|
const currentY = ref(0);
|
|
57
55
|
const dragging = ref(false);
|
|
58
56
|
|
|
57
|
+
watch(() => props.show, (newVal) => {
|
|
58
|
+
if (newVal) {
|
|
59
|
+
document.body.classList.add('no-scroll');
|
|
60
|
+
} else {
|
|
61
|
+
document.body.classList.remove('no-scroll');
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
59
65
|
function startDrag(event) {
|
|
60
66
|
dragging.value = true;
|
|
61
67
|
startY.value = event.touches ? event.touches[0].clientY : event.clientY;
|
|
@@ -112,9 +112,9 @@
|
|
|
112
112
|
<template v-else-if="loading && !error && showLoader"><Loader class="pos-relative pos-t-0 pos-l-0 loading"/></template>
|
|
113
113
|
<!-- <Loader v-else-if="loading && !error && showLoader"/> -->
|
|
114
114
|
<!-- Success -->
|
|
115
|
-
<span v-else-if="finished && showSucces" class="t-semi loading t-black">{{text.success}}</span>
|
|
115
|
+
<span v-else-if="finished && showSucces" class="t-semi t-center w-100 loading t-black">{{text.success}}</span>
|
|
116
116
|
<!-- Error if not finished -->
|
|
117
|
-
<span v-else-if="error" class="error">{{ error }}</span>
|
|
117
|
+
<span v-else-if="error" class="t-center w-100 error">{{ error }}</span>
|
|
118
118
|
</transition>
|
|
119
119
|
<!-- Counter -->
|
|
120
120
|
<p v-if="counter" class="button-counter">{{counter}}</p>
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
<BottomSheet
|
|
25
25
|
:show="filter.active"
|
|
26
26
|
@toggle="() => filter.active = false"
|
|
27
|
-
class="z-index-10 pos-
|
|
27
|
+
class="z-index-10 pos-fixed pos-r-0"
|
|
28
28
|
:class="{
|
|
29
|
-
'pos-t-
|
|
29
|
+
'pos-t-4r': filter.active,
|
|
30
30
|
'pos-t-100': !filter.active
|
|
31
31
|
}"
|
|
32
32
|
>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
v-model:filter="filter"
|
|
35
35
|
:options="filter.options"
|
|
36
36
|
@click_filter="() => { filter.active = false } "
|
|
37
|
-
class="h-100 w-100 pd-small bg-light"
|
|
37
|
+
class="h-100 w-100 pd-small pd-b-5r bg-light"
|
|
38
38
|
/>
|
|
39
39
|
</BottomSheet>
|
|
40
40
|
</template>
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
v-if="order.status === true && shopcart.state.positions.length > 0"
|
|
17
17
|
:order="order"
|
|
18
18
|
/>
|
|
19
|
-
{{shopcart.state.organization}}
|
|
20
19
|
<!-- Order Form -->
|
|
21
20
|
<div
|
|
22
21
|
v-if="orders.state.current.status !== true && shopcart.state.positions.length > 0"
|
|
@@ -136,6 +135,9 @@ import * as shopcart from '@martyrs/src/modules/orders/store/shopcart';
|
|
|
136
135
|
import * as organizations from '@martyrs/src/modules/organizations/store/organizations';
|
|
137
136
|
import * as orders from '@martyrs/src/modules/orders/store/orders';
|
|
138
137
|
import * as users from '@martyrs/src/modules/auth/views/store/users';
|
|
138
|
+
|
|
139
|
+
const emits = defineEmits(['page-loading', 'page-loaded']);
|
|
140
|
+
|
|
139
141
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
140
142
|
// Variables and computed
|
|
141
143
|
//////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -169,6 +171,8 @@ if (!globals.state.options.orders.allowUnauthenticatedOrders && !auth.state.user
|
|
|
169
171
|
orders.mutations.resetOrder()
|
|
170
172
|
|
|
171
173
|
onMounted(async()=> {
|
|
174
|
+
emits('page-loading');
|
|
175
|
+
|
|
172
176
|
isLocationLoading.value = true
|
|
173
177
|
|
|
174
178
|
|
|
@@ -188,6 +192,7 @@ onMounted(async()=> {
|
|
|
188
192
|
})
|
|
189
193
|
|
|
190
194
|
isLocationLoading.value = false
|
|
195
|
+
emits('page-loaded');
|
|
191
196
|
})
|
|
192
197
|
|
|
193
198
|
|
|
@@ -20,14 +20,58 @@
|
|
|
20
20
|
|
|
21
21
|
<Price :product="product" size="big" class="flex gap-micro flex-center pd-small br-solid br-1px br-black-transp-10 w-max mn-b-medium" />
|
|
22
22
|
|
|
23
|
-
<p v-if="product.description && !product.localization < 1 && !recommendation" class="w-100
|
|
23
|
+
<p v-if="product.description && !product.localization < 1 && !recommendation" class="w-100 mn-b-small">
|
|
24
24
|
{{ product.description }}
|
|
25
25
|
</p>
|
|
26
|
-
<p v-if="product.localization && product.localization.length > 1 && !recommendation" class="w-100
|
|
26
|
+
<p v-if="product.localization && product.localization.length > 1 && !recommendation" class="w-100 mn-b-small">
|
|
27
27
|
{{ t('description') }}
|
|
28
28
|
</p>
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
<div class="w-max-33r mn-b-medium">
|
|
31
|
+
<div v-if="product.listing === 'rent'">
|
|
32
|
+
<button @click="openPopup" class="cursor-pointer pd-small radius-big w-max mobile:w-100 bg-main button">
|
|
33
|
+
<div class="gap-thin flex flex-center flex-nowrap">
|
|
34
|
+
<IconShopcartAdd class="i-semi" />
|
|
35
|
+
<span>{{ t('addtoorder') }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
</button>
|
|
38
|
+
<PopupDateSelector
|
|
39
|
+
:product="product"
|
|
40
|
+
:isOpen="isPopupOpen"
|
|
41
|
+
:showFees="globals.state.options?.orders.showFees"
|
|
42
|
+
:feesRate="globals.state.options?.orders.feesRate || 0.15"
|
|
43
|
+
:showVat="globals.state.options?.orders.showVat"
|
|
44
|
+
:vatRate="globals.state.options?.orders.vatRate || 0"
|
|
45
|
+
:onConfirm="selectedDates => addToCart(product, selectedDates)"
|
|
46
|
+
@close="closePopup"
|
|
47
|
+
/>
|
|
48
|
+
</div>
|
|
49
|
+
<div v-else>
|
|
50
|
+
<Button
|
|
51
|
+
v-if="product.available > 0"
|
|
52
|
+
:submit="() => addToCart(product, null)"
|
|
53
|
+
class="h-3r w-max mobile:w-100 bg-main button"
|
|
54
|
+
>
|
|
55
|
+
<div class="gap-thin flex flex-center flex-nowrap">
|
|
56
|
+
<IconShopcartAdd class="i-semi" />
|
|
57
|
+
<span>{{ t('addtoorder') }}</span>
|
|
58
|
+
</div>
|
|
59
|
+
</Button>
|
|
60
|
+
<div
|
|
61
|
+
v-else
|
|
62
|
+
class="flex-center flex uppercase radius-big t-black w-max pd-small t-medium bg-grey h-3r w-100 mn-r-smallbutton"
|
|
63
|
+
>
|
|
64
|
+
Out of Stock
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div class="mn-b-small flex-nowrap flex flex-v-center">
|
|
70
|
+
<IconInfo class="mn-r-micro i-medium"/>
|
|
71
|
+
<p class="t-medium ">Product Details</p>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<div class="cols-2 mn-b-medium w-100 gap-small">
|
|
31
75
|
<div
|
|
32
76
|
v-if="product.information.length > 0"
|
|
33
77
|
v-for="information in product.information"
|
|
@@ -38,58 +82,23 @@
|
|
|
38
82
|
</div>
|
|
39
83
|
</div>
|
|
40
84
|
|
|
41
|
-
<
|
|
85
|
+
<div class="mn-b-small flex-nowrap flex flex-v-center">
|
|
86
|
+
<IconGroups class="mn-r-micro i-medium"/>
|
|
87
|
+
<p class="t-medium ">Provided by</p>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
42
90
|
<CardOrganization
|
|
43
91
|
v-if="product.owner"
|
|
44
92
|
:organization="product.owner.target"
|
|
45
93
|
:showRating="true"
|
|
46
94
|
:showFollowers="false"
|
|
47
95
|
:showProducts="false"
|
|
48
|
-
class="bg-light
|
|
96
|
+
class="bg-light w-100 o-hidden radius-medium pd-small "
|
|
49
97
|
/>
|
|
50
98
|
|
|
51
99
|
|
|
52
100
|
|
|
53
|
-
|
|
54
|
-
<div class="w-max-33r">
|
|
55
|
-
<div v-if="product.listing === 'rent'">
|
|
56
|
-
<button @click="openPopup" class="cursor-pointer pd-small radius-big w-max mobile:w-100 bg-main button">
|
|
57
|
-
<div class="gap-thin flex flex-center flex-nowrap">
|
|
58
|
-
<IconShopcartAdd class="i-semi" />
|
|
59
|
-
<span>{{ t('addtoorder') }}</span>
|
|
60
|
-
</div>
|
|
61
|
-
</button>
|
|
62
|
-
<PopupDateSelector
|
|
63
|
-
:product="product"
|
|
64
|
-
:isOpen="isPopupOpen"
|
|
65
|
-
:showFees="globals.state.options?.orders.showFees"
|
|
66
|
-
:feesRate="globals.state.options?.orders.feesRate || 0.15"
|
|
67
|
-
:showVat="globals.state.options?.orders.showVat"
|
|
68
|
-
:vatRate="globals.state.options?.orders.vatRate || 0"
|
|
69
|
-
:onConfirm="selectedDates => addToCart(product, selectedDates)"
|
|
70
|
-
@close="closePopup"
|
|
71
|
-
/>
|
|
72
|
-
</div>
|
|
73
|
-
<div v-else>
|
|
74
|
-
<Button
|
|
75
|
-
v-if="product.available > 0"
|
|
76
|
-
:submit="() => addToCart(product, null)"
|
|
77
|
-
class="h-3r w-max mobile:w-100 bg-main button"
|
|
78
|
-
>
|
|
79
|
-
<div class="gap-thin flex flex-center flex-nowrap">
|
|
80
|
-
<IconShopcartAdd class="i-semi" />
|
|
81
|
-
<span>{{ t('addtoorder') }}</span>
|
|
82
|
-
</div>
|
|
83
|
-
</Button>
|
|
84
|
-
<div
|
|
85
|
-
v-else
|
|
86
|
-
class="flex-center flex uppercase radius-big t-black w-max pd-small t-medium bg-grey h-3r w-100 mn-r-smallbutton"
|
|
87
|
-
>
|
|
88
|
-
Out of Stock
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
101
|
+
|
|
93
102
|
</div>
|
|
94
103
|
</div>
|
|
95
104
|
|
|
@@ -117,8 +126,14 @@ import Popup from '@martyrs/src/components/Popup/Popup.vue'
|
|
|
117
126
|
import Tab from '@martyrs/src/components/Tab/Tab.vue'
|
|
118
127
|
import Calendar from '@martyrs/src/components/DatePicker/Calendar.vue'
|
|
119
128
|
import PopupDateSelector from '@martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue'
|
|
129
|
+
|
|
120
130
|
import IconEdit from '@martyrs/src/modules/icons/navigation/IconEdit.vue'
|
|
121
131
|
import IconShopcartAdd from '@martyrs/src/modules/icons/actions/IconShopcartAdd.vue'
|
|
132
|
+
|
|
133
|
+
import IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue'
|
|
134
|
+
import IconGroups from '@martyrs/src/modules/icons/entities/IconGroups.vue'
|
|
135
|
+
|
|
136
|
+
|
|
122
137
|
import ImagesThumbnails from '@martyrs/src/modules/products/components/blocks/ImagesThumbnails.vue'
|
|
123
138
|
import Price from '@martyrs/src/modules/products/components/elements/Price.vue'
|
|
124
139
|
import PopularProducts from '@martyrs/src/modules/products/components/sections/PopularProducts.vue'
|
|
@@ -177,22 +192,25 @@ function validateToCard(product) {
|
|
|
177
192
|
async function addToCart(product, selectedDates = null) {
|
|
178
193
|
try {
|
|
179
194
|
// Если организация товара отличается от текущей в корзине
|
|
180
|
-
if (shopcart.state.organization && shopcart.state.organization !== product.owner.target) {
|
|
195
|
+
if (shopcart.state.organization && shopcart.state.organization !== product.owner.target._id) {
|
|
181
196
|
const result = await proxy.$alert({
|
|
182
197
|
title: 'Replace items in your cart?',
|
|
183
198
|
message: `Your cart has items from another vendor. If you continue, we'll clear it so you can order from this one instead.`,
|
|
184
199
|
actions: [
|
|
185
200
|
{ label: 'Cancel', value: false },
|
|
186
|
-
{ label: '
|
|
201
|
+
{ label: 'Replace', value: true }
|
|
187
202
|
]
|
|
188
203
|
})
|
|
189
204
|
|
|
190
205
|
if (!result) throw error
|
|
191
206
|
|
|
192
|
-
|
|
207
|
+
shopcart.state.organization = product.owner.target._id
|
|
193
208
|
shopcart.state.positions = []
|
|
194
209
|
}
|
|
195
210
|
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
console.log('organization is', product.owner.target._id)
|
|
196
214
|
await shopcart.actions.addProductToCart(product, product.owner.target._id, selectedDates)
|
|
197
215
|
return true
|
|
198
216
|
} catch (error) {
|