@ozdao/prometheus-framework 0.2.308 → 0.2.310
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/products.server.js +196 -198
- package/dist/products.server.mjs +196 -198
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +2 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +3 -2
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +93 -0
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +94 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +0 -93
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -94
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +1 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +58 -78
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +78 -98
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +90 -85
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +94 -89
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs +19 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js +19 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +6 -2
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +6 -2
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +9 -9
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +2 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +2 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +4 -2
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js +2 -0
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.cjs +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.js +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +75 -114
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +76 -115
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +4 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +4 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.cjs +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.js +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +36 -24
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +36 -24
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +21 -12
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +21 -12
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.cjs +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.js +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1117 -1117
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1117 -1117
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +11 -10
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +11 -10
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +78 -43
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +83 -48
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +79 -29
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +90 -40
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +120 -81
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +133 -94
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +39 -21
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +51 -33
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.cjs +96 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.js +96 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +20 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +20 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +17 -5
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js +17 -5
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -12
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +1 -12
- package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +52 -71
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +52 -71
- package/dist/prometheus-framework/src/modules/products/store/categories.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +6 -8
- package/dist/prometheus-framework/src/modules/products/store/products.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +6 -8
- package/dist/prometheus-framework/src/modules/products/store/products.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +910 -910
- package/package.json +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Completion/Completion.vue +1 -0
- package/src/components/EditImages/EditImages.vue +1 -1
- package/src/components/Feed/Feed.vue +1 -1
- package/src/components/Field/Field.vue +1 -1
- package/src/modules/auth/auth.client.js +2 -0
- package/src/modules/auth/views/components/pages/Profile.vue +57 -35
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +91 -77
- package/src/modules/auth/views/middlewares/auth.validation.js +1 -0
- package/src/modules/auth/views/router/users.js +21 -2
- package/src/modules/auth/views/store/auth.js +6 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +1 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
- package/src/modules/community/components/layouts/Community.vue +8 -8
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/components/pages/BlogPost.vue +3 -3
- package/src/modules/community/components/pages/Community.vue +1 -1
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/router/blogposts.js +4 -3
- package/src/modules/globals/globals.client.js +3 -0
- package/src/modules/globals/views/classes/store.js +63 -0
- package/src/modules/globals/views/components/partials/BottomNavigationBar.vue +87 -59
- package/src/modules/globals/views/components/partials/NavigationBar.vue +3 -3
- package/src/modules/globals/views/store/globals.js +5 -0
- package/src/modules/icons/entities/IconCatalog.vue +18 -0
- package/src/modules/icons/entities/IconCommunity.vue +15 -5
- package/src/modules/icons/entities/IconGroups.vue +7 -2
- package/src/modules/icons/entities/IconHome.vue +18 -0
- package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEvent.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -2
- package/src/modules/products/components/blocks/CardCategory.vue +14 -3
- package/src/modules/products/components/blocks/CardProduct.vue +12 -11
- package/src/modules/products/components/pages/Categories.vue +120 -28
- package/src/modules/products/components/pages/CategoryEdit.vue +206 -151
- package/src/modules/products/components/pages/ProductEdit.vue +107 -69
- package/src/modules/products/components/pages/Products.vue +35 -20
- package/src/modules/products/components/sections/CategoriesTree.vue +102 -0
- package/src/modules/products/components/sections/EditProductInfo.vue +53 -40
- package/src/modules/products/controllers/categories.controller.js +177 -97
- package/src/modules/products/controllers/products.controller.js +4 -2
- package/src/modules/products/models/category.model.js +15 -66
- package/src/modules/products/models/product.model.js +15 -12
- package/src/modules/products/products.client.js +0 -1
- package/src/modules/products/router/categories.router.js +17 -5
- package/src/modules/products/router/products.router.js +0 -12
- package/src/modules/products/routes/categories.routes.js +5 -34
- package/src/modules/products/store/categories.js +69 -83
- package/src/modules/products/store/products.js +6 -8
- package/src/styles/base/shadow_transitions_hover_refactor.scss +2 -0
- package/src/styles/typography.scss +2 -2
- package/src/modules/auth/views/router/account.js +0 -41
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="for-transition w-100 cols-1 pd-thin gap-thin">
|
2
|
+
<div class="for-transition w-100 cols-1 bg-white pd-thin gap-thin">
|
3
3
|
|
4
|
-
<Block class="flex-nowrap flex-v-center flex">
|
4
|
+
<Block v-if="!MOBILE_APP" class="flex-nowrap gap-small flex-v-center flex">
|
5
5
|
|
6
|
-
<
|
6
|
+
<h2 class="t-nowrap mn-r-auto">
|
7
7
|
{{ route.params.product ? products.state.current.name : 'Create Product' }}
|
8
|
-
</
|
8
|
+
</h2>
|
9
9
|
|
10
10
|
<Button
|
11
11
|
v-if="route.params.product"
|
@@ -46,6 +46,63 @@
|
|
46
46
|
/>
|
47
47
|
</Block>
|
48
48
|
|
49
|
+
<Block
|
50
|
+
title="Categories"
|
51
|
+
:actions="[{
|
52
|
+
label: '+',
|
53
|
+
function: () => router.push({
|
54
|
+
name: 'Categories',
|
55
|
+
params: {
|
56
|
+
_id: route.params._id
|
57
|
+
}
|
58
|
+
})
|
59
|
+
}]"
|
60
|
+
>
|
61
|
+
<Checkbox
|
62
|
+
v-for="(category, index) in categories.state.all"
|
63
|
+
:label="category.name"
|
64
|
+
name="categories"
|
65
|
+
:value="category.url"
|
66
|
+
class="w-100 mn-t-small bg-white radius-small pd-small"
|
67
|
+
:radio="products.state.current.category"
|
68
|
+
@update:radio="event => products.state.current.category = event"
|
69
|
+
/>
|
70
|
+
</Block>
|
71
|
+
|
72
|
+
<Block
|
73
|
+
title="Parameters"
|
74
|
+
placeholder="No parameters added yet"
|
75
|
+
:actions="[{
|
76
|
+
label: '+',
|
77
|
+
function: () => products.state.current.information.push({name: '', value: ''})
|
78
|
+
}]"
|
79
|
+
class="cols-1 gap-thin"
|
80
|
+
>
|
81
|
+
<div
|
82
|
+
class="gap-thin flex-nowrap flex"
|
83
|
+
v-for="(item, index) in products.state.current.information"
|
84
|
+
:key="index"
|
85
|
+
>
|
86
|
+
<Field
|
87
|
+
v-model:field="item.name"
|
88
|
+
placeholder="Название параметра"
|
89
|
+
class="w-100 bg-white radius-small pd-medium"
|
90
|
+
/>
|
91
|
+
<Field
|
92
|
+
v-model:field="item.value"
|
93
|
+
placeholder="Значение параметра"
|
94
|
+
class="w-100 bg-white radius-small pd-medium"
|
95
|
+
/>
|
96
|
+
<div class="radius-small h-100 i-big flex-center flex aspect-1x1 bg-red">
|
97
|
+
<IconDelete
|
98
|
+
@click="() => products.state.current.information.splice(index, 1)"
|
99
|
+
class="i-medium"
|
100
|
+
/>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
</Block>
|
104
|
+
|
105
|
+
|
49
106
|
<Block
|
50
107
|
title="Ingredients"
|
51
108
|
placeholder="No ingridients added yet"
|
@@ -127,64 +184,6 @@
|
|
127
184
|
|
128
185
|
</div>
|
129
186
|
|
130
|
-
<Block
|
131
|
-
title="Categories"
|
132
|
-
:actions="[{
|
133
|
-
label: '+',
|
134
|
-
function: () => router.push({
|
135
|
-
name: 'Categories Organization',
|
136
|
-
params: {
|
137
|
-
_id: route.params._id
|
138
|
-
}
|
139
|
-
})
|
140
|
-
}]"
|
141
|
-
>
|
142
|
-
<Checkbox
|
143
|
-
v-for="(category, index) in categories.state.all"
|
144
|
-
:label="category.name"
|
145
|
-
name="categories"
|
146
|
-
:value="category.url"
|
147
|
-
class="w-100 mn-t-small bg-white radius-small pd-small"
|
148
|
-
:radio="products.state.current.category"
|
149
|
-
@update:radio="event => products.state.current.category = event"
|
150
|
-
/>
|
151
|
-
</Block>
|
152
|
-
|
153
|
-
|
154
|
-
<Block
|
155
|
-
title="Parameters"
|
156
|
-
placeholder="No parameters added yet"
|
157
|
-
:actions="[{
|
158
|
-
label: '+',
|
159
|
-
function: () => products.state.current.information.push({name: '', value: ''})
|
160
|
-
}]"
|
161
|
-
class="cols-1 gap-thin"
|
162
|
-
>
|
163
|
-
<div
|
164
|
-
class="gap-thin flex-nowrap flex"
|
165
|
-
v-for="(item, index) in products.state.current.information"
|
166
|
-
:key="index"
|
167
|
-
>
|
168
|
-
<Field
|
169
|
-
v-model:field="item.name"
|
170
|
-
placeholder="Название параметра"
|
171
|
-
class="w-100 bg-white radius-small pd-medium"
|
172
|
-
/>
|
173
|
-
<Field
|
174
|
-
v-model:field="item.value"
|
175
|
-
placeholder="Значение параметра"
|
176
|
-
class="w-100 bg-white radius-small pd-medium"
|
177
|
-
/>
|
178
|
-
<div class="radius-small h-100 i-big flex-center flex aspect-1x1 bg-red">
|
179
|
-
<IconDelete
|
180
|
-
@click="() => products.state.current.information.splice(index, 1)"
|
181
|
-
class="i-medium"
|
182
|
-
/>
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
</Block>
|
186
|
-
|
187
|
-
|
188
187
|
<Block
|
189
188
|
title="Localization"
|
190
189
|
placeholder="No localizations added yet"
|
@@ -217,6 +216,23 @@
|
|
217
216
|
</div>
|
218
217
|
</Block>
|
219
218
|
|
219
|
+
<Button
|
220
|
+
v-if="route.params.product"
|
221
|
+
:submit="onDelete"
|
222
|
+
:callback="redirectTo"
|
223
|
+
class="bg-red w-100 mn-b-thin"
|
224
|
+
>
|
225
|
+
Delete
|
226
|
+
</Button>
|
227
|
+
|
228
|
+
<Button
|
229
|
+
:submit="onSubmit"
|
230
|
+
:callback="redirectTo"
|
231
|
+
class="w-100 bg-main"
|
232
|
+
>
|
233
|
+
Save
|
234
|
+
</Button>
|
235
|
+
|
220
236
|
|
221
237
|
|
222
238
|
<!-- <Block
|
@@ -278,7 +294,7 @@
|
|
278
294
|
import Popup from "@pf/src/components/Popup/Popup.vue";
|
279
295
|
import Feed from "@pf/src/components/Feed/Feed.vue";
|
280
296
|
|
281
|
-
import EditImages
|
297
|
+
import EditImages from '@pf/src/components/EditImages/EditImages.vue';
|
282
298
|
|
283
299
|
import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';
|
284
300
|
|
@@ -291,9 +307,12 @@
|
|
291
307
|
|
292
308
|
// Accessing router and store
|
293
309
|
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
310
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
294
311
|
import * as products from '@pf/src/modules/products/store/products';
|
295
312
|
import * as categories from '@pf/src/modules/products/store/categories';
|
296
313
|
|
314
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
315
|
+
|
297
316
|
const route = useRoute()
|
298
317
|
const router = useRouter()
|
299
318
|
|
@@ -340,12 +359,31 @@
|
|
340
359
|
products.state.current.images = newImages;
|
341
360
|
}
|
342
361
|
|
343
|
-
function onSubmit() {
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
362
|
+
async function onSubmit() {
|
363
|
+
try {
|
364
|
+
if (route.params.product) {
|
365
|
+
await products.actions.update(route.params.product, products.state.current)
|
366
|
+
} else {
|
367
|
+
products.state.current.owner = {
|
368
|
+
target: route.params._id || auth.state.user._id,
|
369
|
+
type: route.params._id ? 'organization' : 'user'
|
370
|
+
}
|
371
|
+
|
372
|
+
products.state.current.creator = {
|
373
|
+
target: auth.state.user._id,
|
374
|
+
type: 'user',
|
375
|
+
hidden: false
|
376
|
+
}
|
377
|
+
await products.actions.create(products.state.current)
|
378
|
+
}
|
379
|
+
} catch (error) {
|
380
|
+
setError({ response: { data: { errorCode: "PRODUCT_NOT_CREATED" }} })
|
381
|
+
console.error('Product creation error:', error)
|
382
|
+
// Здесь можно добавить обработку ошибки, например:
|
383
|
+
// - показать уведомление пользователю
|
384
|
+
// - отправить ошибку в систему мониторинга
|
385
|
+
// - выполнить откат изменений при необходимости
|
386
|
+
}
|
349
387
|
}
|
350
388
|
|
351
389
|
function onDelete() {
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<h2 class="mn-r-medium">Products</h2>
|
8
8
|
<button
|
9
9
|
@click="$router.push({
|
10
|
-
name: route.params
|
10
|
+
name: route.params?._id ? 'Organization_ProductAdd' : 'ProductAdd'
|
11
11
|
})"
|
12
12
|
class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second">
|
13
13
|
+
|
@@ -31,8 +31,9 @@
|
|
31
31
|
gap-micro pd-small pd-t-thin pd-b-thin
|
32
32
|
pos-sticky pos-t-0
|
33
33
|
z-index-1
|
34
|
+
|
34
35
|
"
|
35
|
-
tabClass="bg-white pd-small radius-small w-100"
|
36
|
+
tabClass="bg-white uppercase pd-small radius-small w-100"
|
36
37
|
/>
|
37
38
|
|
38
39
|
<div class="cols-2-1_3 h-100 z-index-3 pos-relative radius-big gap-thin">
|
@@ -67,7 +68,7 @@
|
|
67
68
|
}"
|
68
69
|
:options="{
|
69
70
|
limit: 15,
|
70
|
-
|
71
|
+
owner: route.params._id,
|
71
72
|
categories: route.query.categories,
|
72
73
|
prices: route.query.prices,
|
73
74
|
delivery: route.query.delivery,
|
@@ -78,23 +79,22 @@
|
|
78
79
|
v-slot="{
|
79
80
|
items
|
80
81
|
}"
|
81
|
-
class="cols-4 pd-thin gap-thin"
|
82
|
+
class="cols-4 rows-1 pd-t-zero pd-thin gap-thin"
|
82
83
|
>
|
83
|
-
<
|
84
|
-
v-for="product in items"
|
85
|
-
:
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
params
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
})"
|
96
|
-
/>
|
84
|
+
<router-link
|
85
|
+
v-for="product in items"
|
86
|
+
:to="route.params._id ? { name: 'Organization_Product', params: { _id: route.params._id, product: product._id } } : { name: 'Product', params: { product: product._id } }">
|
87
|
+
<CardProduct
|
88
|
+
:key="product._id"
|
89
|
+
:product="product"
|
90
|
+
:user="auth.state.access"
|
91
|
+
:organization="route.params._id"
|
92
|
+
:access="hasAccess(route.params._id, 'products', 'edit', auth.state.accesses)"
|
93
|
+
class="h-max bg-light"
|
94
|
+
/>
|
95
|
+
</router-link>
|
97
96
|
</Feed>
|
97
|
+
|
98
98
|
</div>
|
99
99
|
</div>
|
100
100
|
</div>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
|
104
104
|
<script setup="props">
|
105
105
|
// Import libs
|
106
|
-
import { computed, watch, onMounted,
|
106
|
+
import { ref, computed, watch, onMounted, onUnmounted } from 'vue'
|
107
107
|
import { useRoute, useRouter } from 'vue-router'
|
108
108
|
|
109
109
|
// Import components
|
@@ -116,8 +116,11 @@
|
|
116
116
|
|
117
117
|
import CardProduct from '@pf/src/modules/products/components/blocks/CardProduct.vue'
|
118
118
|
|
119
|
+
import IconPlus from '@pf/src/modules/icons/navigation/IconPlus.vue'
|
120
|
+
|
119
121
|
// Accessing router and store
|
120
122
|
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
123
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
121
124
|
import * as products from '@pf/src/modules/products/store/products';
|
122
125
|
import * as marketplace from '@pf/src/modules/products/store/marketplace';
|
123
126
|
import * as categories from '@pf/src/modules/products/store/categories';
|
@@ -138,11 +141,19 @@
|
|
138
141
|
marketplace.state.filter.selected.delivery = query.delivery ? query.delivery.split(',') : [];
|
139
142
|
}
|
140
143
|
|
141
|
-
|
142
144
|
watch(tabProducts, (newValue) => {
|
143
145
|
if (route.name !== 'Organization') router.replace({ query: { ...route.query, tabProducts: newValue } });
|
144
146
|
});
|
145
147
|
|
148
|
+
globals.state.navigation_bar.actions = [{
|
149
|
+
component: IconPlus,
|
150
|
+
props: {
|
151
|
+
fill: "rgb(var(--main))"
|
152
|
+
},
|
153
|
+
condition: () => auth.state.user && auth.state.user._id,
|
154
|
+
action: () => route.params._id ? router.push({ name: 'Organization_ProductAdd', params: { _id: route.params._id} }) : router.push({ name: 'ProductAdd' })
|
155
|
+
}],
|
156
|
+
|
146
157
|
onMounted(async () => {
|
147
158
|
let categoriesFilter = await categories.actions.fetchCategories();
|
148
159
|
|
@@ -166,6 +177,10 @@
|
|
166
177
|
}
|
167
178
|
})
|
168
179
|
|
180
|
+
onUnmounted(() => {
|
181
|
+
globals.state.navigation_bar.actions = [];
|
182
|
+
});
|
183
|
+
|
169
184
|
watch(() => marketplace.state.sort, (newSortValue, oldSortValue) => {
|
170
185
|
let query = { ...route.query}
|
171
186
|
|
@@ -0,0 +1,102 @@
|
|
1
|
+
<template>
|
2
|
+
<VueDraggableNext
|
3
|
+
v-bind="dragOptions"
|
4
|
+
class="dragArea list-group w-full"
|
5
|
+
:list="items"
|
6
|
+
@change="handleChange"
|
7
|
+
>
|
8
|
+
<div v-for="category in items" :key="category._id" class="pd-medium bg-light radius-medium mn-b-thin">
|
9
|
+
<CardCategory
|
10
|
+
:category="category"
|
11
|
+
@delete="deleteCategory"
|
12
|
+
/>
|
13
|
+
<div
|
14
|
+
>
|
15
|
+
<!-- Subcategories: -->
|
16
|
+
<CategoryList
|
17
|
+
:items="category.children"
|
18
|
+
:state="items"
|
19
|
+
@update="emitChange"
|
20
|
+
/>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</VueDraggableNext>
|
24
|
+
</template>
|
25
|
+
|
26
|
+
<script setup>
|
27
|
+
import { VueDraggableNext } from 'vue-draggable-next';
|
28
|
+
import CardCategory from '@pf/src/modules/products/components/blocks/CardCategory.vue';
|
29
|
+
import CategoryList from '@pf/src/modules/products/components/sections/CategoriesTree.vue';
|
30
|
+
import * as categories from '@pf/src/modules/products/store/categories';
|
31
|
+
|
32
|
+
const props = defineProps({
|
33
|
+
items: Array,
|
34
|
+
state: Array
|
35
|
+
});
|
36
|
+
|
37
|
+
const emits = defineEmits(['update']);
|
38
|
+
|
39
|
+
const dragOptions = {
|
40
|
+
animation: 200,
|
41
|
+
group: 'category',
|
42
|
+
ghostClass: 'ghost'
|
43
|
+
};
|
44
|
+
|
45
|
+
async function deleteCategory(category) {
|
46
|
+
if (confirm(`Are you sure you want to delete the category "${category.name}"?`)) {
|
47
|
+
await categories.actions.deleteCategory(category.url);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
function findCategoryAndUpdateParent(items, targetId, parentId = null) {
|
52
|
+
for (const item of items) {
|
53
|
+
if (item._id === targetId) {
|
54
|
+
item.parent = parentId;
|
55
|
+
return item;
|
56
|
+
}
|
57
|
+
|
58
|
+
if (item.children) {
|
59
|
+
const found = findCategoryAndUpdateParent(item.children, targetId, item._id);
|
60
|
+
if (found) {
|
61
|
+
return found;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
return null;
|
66
|
+
}
|
67
|
+
|
68
|
+
function updateOrders(items, startOrder = 0) {
|
69
|
+
let currentOrder = startOrder;
|
70
|
+
|
71
|
+
items.forEach(item => {
|
72
|
+
item.order = currentOrder++;
|
73
|
+
|
74
|
+
if (item.children?.length) {
|
75
|
+
currentOrder = updateOrders(item.children, currentOrder);
|
76
|
+
}
|
77
|
+
});
|
78
|
+
|
79
|
+
return currentOrder;
|
80
|
+
}
|
81
|
+
|
82
|
+
function handleChange(event) {
|
83
|
+
if (!event.added && !event.moved) return;
|
84
|
+
|
85
|
+
const targetId = event.added ?
|
86
|
+
event.added.element._id :
|
87
|
+
props.items[event.moved.newIndex]._id;
|
88
|
+
|
89
|
+
const updatedCategory = findCategoryAndUpdateParent(props.state, targetId);
|
90
|
+
if (!updatedCategory) return;
|
91
|
+
|
92
|
+
// Обновляем order для всего дерева категорий
|
93
|
+
updateOrders(props.state);
|
94
|
+
|
95
|
+
// Отправляем обновленную категорию
|
96
|
+
emits('update', updatedCategory);
|
97
|
+
}
|
98
|
+
|
99
|
+
function emitChange(event) {
|
100
|
+
emits('update', event);
|
101
|
+
}
|
102
|
+
</script>
|
@@ -1,48 +1,62 @@
|
|
1
1
|
<template>
|
2
|
+
<Select
|
3
|
+
v-model:select="product.status"
|
4
|
+
label="Status"
|
5
|
+
:options="[
|
6
|
+
'unpublished',
|
7
|
+
'published',
|
8
|
+
'archivied'
|
9
|
+
]"
|
10
|
+
|
11
|
+
placeholder="Display product"
|
12
|
+
class="pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
|
13
|
+
/>
|
14
|
+
<Select
|
15
|
+
v-model:select="product.listing"
|
16
|
+
label="Type"
|
17
|
+
:options="[
|
18
|
+
'sale',
|
19
|
+
'rent',
|
20
|
+
]"
|
21
|
+
placeholder="Type of listing"
|
22
|
+
class="pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
|
23
|
+
/>
|
24
|
+
|
25
|
+
|
26
|
+
<Field
|
27
|
+
v-model:field="product.name"
|
28
|
+
label="Name"
|
29
|
+
placeholder="Enter product name"
|
30
|
+
class="w-100 mn-b-small bg-white radius-small pd-medium"
|
31
|
+
/>
|
32
|
+
<Field
|
33
|
+
v-model:field="product.price"
|
34
|
+
label="Price"
|
35
|
+
placeholder="Enter product price"
|
36
|
+
class="w-100 mn-b-small bg-white radius-small pd-medium"
|
37
|
+
type="number"
|
38
|
+
>
|
2
39
|
<Select
|
3
|
-
v-model:select="product.
|
4
|
-
|
40
|
+
v-model:select="product.price_currency"
|
41
|
+
placeholder="$"
|
5
42
|
:options="[
|
6
|
-
'
|
7
|
-
'
|
8
|
-
'
|
43
|
+
'$',
|
44
|
+
'£',
|
45
|
+
'€',
|
46
|
+
'฿',
|
9
47
|
]"
|
10
|
-
|
11
|
-
placeholder="Display product"
|
12
|
-
class="pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
|
48
|
+
class="pos-relative bg-light pd-thin radius-thin"
|
13
49
|
/>
|
50
|
+
</Field>
|
14
51
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
label="Price"
|
24
|
-
placeholder="Enter product price"
|
25
|
-
class="w-100 mn-b-small bg-white radius-small pd-medium"
|
26
|
-
type="number"
|
27
|
-
>
|
28
|
-
<Select
|
29
|
-
v-model:select="product.price.currency"
|
30
|
-
placeholder="฿"
|
31
|
-
:options="[
|
32
|
-
'฿'
|
33
|
-
]"
|
34
|
-
class="pos-relative bg-light pd-thin radius-thin"
|
35
|
-
/>
|
36
|
-
</Field>
|
37
|
-
|
38
|
-
|
39
|
-
<Field
|
40
|
-
v-model:field="product.description"
|
41
|
-
label="Description"
|
42
|
-
placeholder="Enter product description"
|
43
|
-
class="w-100 bg-white radius-small pd-medium"
|
44
|
-
type="textarea"
|
45
|
-
/>
|
52
|
+
|
53
|
+
<Field
|
54
|
+
v-model:field="product.description"
|
55
|
+
label="Description"
|
56
|
+
placeholder="Enter product description"
|
57
|
+
class="w-100 bg-white radius-small pd-medium"
|
58
|
+
type="textarea"
|
59
|
+
/>
|
46
60
|
</template>
|
47
61
|
|
48
62
|
<script setup>
|
@@ -51,7 +65,6 @@ import Button from '@pf/src/components/Button/Button.vue'
|
|
51
65
|
import Field from "@pf/src/components/Field/Field.vue";
|
52
66
|
import Select from "@pf/src/components/Select/Select.vue";
|
53
67
|
|
54
|
-
|
55
68
|
const props = defineProps({
|
56
69
|
product: Object,
|
57
70
|
});
|