@ozdao/prometheus-framework 0.1.35 → 0.1.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-568b55bb.js +1 -0
- package/dist/BackofficeGallery-b4105137.mjs +306 -0
- package/dist/BlockTags-8cddaef7.js +1 -0
- package/dist/BlockTags-ee310572.mjs +853 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Button-7643c9aa.js +1 -0
- package/dist/Button-9e1a9284.mjs +226 -0
- package/dist/ButtonToggleMembership-15f149cb.js +1 -0
- package/dist/ButtonToggleMembership-3bb9139e.mjs +90 -0
- package/dist/CardBlogpost-38016b80.mjs +246 -0
- package/dist/CardBlogpost-cc208f93.js +1 -0
- package/dist/CardOrganization-d93c9bdb.js +1 -0
- package/dist/CardOrganization-e920be73.mjs +234 -0
- package/dist/CardProduct-92affca1.js +1 -0
- package/dist/CardProduct-fca53299.mjs +193 -0
- package/dist/Checkbox-5dbe7b23.mjs +62 -0
- package/dist/Checkbox-76f09248.js +1 -0
- package/dist/Chips-9d81b215.mjs +214 -0
- package/dist/Chips-d47704e6.js +1 -0
- package/dist/Community-87522a04.mjs +132 -0
- package/dist/Community-aef23aee.js +1 -0
- package/dist/Dashboard-91d73bc5.js +1 -0
- package/dist/Dashboard-ea9035bc.mjs +152 -0
- package/dist/Dropdown-31115457.js +1 -0
- package/dist/Dropdown-cab3605b.mjs +146 -0
- package/dist/EULA-aba6a807.js +1 -0
- package/dist/EditOrder-94bbebff.mjs +221 -0
- package/dist/EditOrder-c070d474.js +1 -0
- package/dist/EmptyState-d65bab5b.js +1 -0
- package/dist/EmptyState-e404b05d.mjs +36 -0
- package/dist/Events-cdfbca78.js +1 -0
- package/dist/Events-e9dd58f7.mjs +123 -0
- package/dist/Feed-22464fcd.js +1 -0
- package/dist/Feed-6e96d3dd.mjs +124 -0
- package/dist/Feed-793b3eef.mjs +146 -0
- package/dist/Feed-7b80704d.mjs +361 -0
- package/dist/Feed-98b47c6f.js +1 -0
- package/dist/Feed-b30ef609.js +1 -0
- package/dist/Feed-c5d4390a.js +1 -0
- package/dist/Feed-d114330c.mjs +112 -0
- package/dist/Field-e2a43424.js +1 -0
- package/dist/Field-e5ad88d3.mjs +75 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
- package/dist/IconChevronRight-a55f838e.js +1 -0
- package/dist/IconChevronRight-fae9d012.mjs +28 -0
- package/dist/IconCommunity-468dc457.mjs +65 -0
- package/dist/IconCommunity-b339e806.js +1 -0
- package/dist/IconCross-5bf93179.js +1 -0
- package/dist/IconCross-84cb1292.mjs +28 -0
- package/dist/IconEdit-9edfd74d.mjs +21 -0
- package/dist/IconEdit-c0469b45.js +1 -0
- package/dist/Image-245c003d.mjs +480 -0
- package/dist/Image-35d31936.js +9 -0
- package/dist/LabelGooglePlay-24feb437.mjs +31 -0
- package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
- package/dist/LeftoverAdd-08d9fb54.mjs +228 -0
- package/dist/LeftoverAdd-fc673884.js +1 -0
- package/dist/Leftovers-296c0042.js +1 -0
- package/dist/Leftovers-685d9f19.mjs +136 -0
- package/dist/Loader-21f016da.js +1 -0
- package/dist/Loader-cd422786.mjs +41 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Members-2cb2ff58.mjs +114 -0
- package/dist/Members-85534d1f.js +1 -0
- package/dist/Menu-b5d6a0c7.js +1 -0
- package/dist/Menu-dd7645c1.mjs +13 -0
- package/dist/MenuItem-56ae7f94.js +1 -0
- package/dist/MenuItem-6296d02f.mjs +63 -0
- package/dist/Orders-b64e8cb9.js +1 -0
- package/dist/Orders-ff30db05.mjs +75 -0
- package/dist/Organizations-0cb37d68.js +1 -0
- package/dist/Organizations-d6ef2113.mjs +73 -0
- package/dist/Payments-53e5fecf.js +1 -0
- package/dist/Payments-82e545e1.mjs +87 -0
- package/dist/PlaceholderUserpic-47f6f319.js +1 -0
- package/dist/Popup-0915427c.mjs +74 -0
- package/dist/Popup-795f5c88.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Product-5994a8c9.mjs +653 -0
- package/dist/Product-68fa1e9e.js +7 -0
- package/dist/ProductEdit-64207814.mjs +296 -0
- package/dist/ProductEdit-a434240f.js +1 -0
- package/dist/ProductsBackoffice-0c93f9b6.js +1 -0
- package/dist/ProductsBackoffice-3d987c60.mjs +86 -0
- package/dist/ProfileBlogposts-0b81d964.js +1 -0
- package/dist/ProfileBlogposts-b59992cf.mjs +79 -0
- package/dist/ProfileEvents-3f7ca2c1.js +1 -0
- package/dist/ProfileEvents-bbdd62e7.mjs +70 -0
- package/dist/ProfileOrganizations-4734c02e.mjs +73 -0
- package/dist/ProfileOrganizations-d55ee487.js +1 -0
- package/dist/Publics-0762210a.js +1 -0
- package/dist/Publics-660e851c.mjs +45 -0
- package/dist/SelectMulti-58704d69.mjs +1038 -0
- package/dist/SelectMulti-c25765cf.js +1 -0
- package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
- package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
- package/dist/SkeletonEvent-8690422d.mjs +16 -0
- package/dist/SkeletonEvent-eb284de8.js +1 -0
- package/dist/SkeletonEventShort-6c9e3940.js +1 -0
- package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
- package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
- package/dist/SkeletonOrganization-8690422d.mjs +16 -0
- package/dist/Socials-31c06635.mjs +74 -0
- package/dist/Socials-cceaeaf2.js +1 -0
- package/dist/Tab-054b61f7.mjs +46 -0
- package/dist/Tab-2c1e4224.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/addMembersQuantity-7147aa4a.js +89 -0
- package/dist/addMembersQuantity-eac999f0.mjs +90 -0
- package/dist/auth-06d35b82.js +7 -0
- package/dist/auth-ec618cb3.mjs +627 -0
- package/dist/auth.client.cjs +7 -7
- package/dist/auth.client.js +22 -19
- package/dist/auth.server.js +7 -7
- package/dist/auth.server.mjs +7 -7
- package/dist/auth.validation-0ce9e326.js +1 -0
- package/dist/auth.validation-ba3606bf.mjs +24 -0
- package/dist/backoffice.client.cjs +1 -1
- package/dist/backoffice.client.js +235 -59
- package/dist/categories-82b28618.js +1 -0
- package/dist/categories-df3240a7.mjs +122 -0
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +233 -227
- package/dist/community.server.js +223 -195
- package/dist/community.server.mjs +223 -195
- package/dist/components/Field/Field.vue.d.ts +58 -2
- package/dist/components/Field/Field.vue.d.ts.map +1 -1
- package/dist/components/UploadImage/UploadImage.vue.d.ts +1 -1
- package/dist/dribbble-8e8e169b.js +1 -0
- package/dist/dribbble-ae37c2ac.mjs +127 -0
- package/dist/events.client.cjs +2 -2
- package/dist/events.client.js +1793 -1888
- package/dist/events.server.js +106 -216
- package/dist/events.server.mjs +106 -216
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/icons.client.cjs +1 -0
- package/dist/icons.client.js +84 -0
- package/dist/inputs.validation-d7cef32b.js +1 -0
- package/dist/inputs.validation-db65277a.mjs +83 -0
- package/dist/landing.client.cjs +1 -1
- package/dist/landing.client.js +40 -64
- package/dist/leftovers-66951de6.js +1 -0
- package/dist/leftovers-be37c7a5.mjs +67 -0
- package/dist/legal.client.cjs +1 -1
- package/dist/legal.client.js +7 -4
- package/dist/mailing-76895d59.mjs +50 -0
- package/dist/mailing-9659b3c4.js +49 -0
- package/dist/main.css +1 -1
- package/dist/memberships-12210953.mjs +68 -0
- package/dist/memberships-393765d8.js +1 -0
- package/dist/metadata.schema-147f9902.mjs +212 -0
- package/dist/metadata.schema-93397f9f.js +211 -0
- package/dist/metadata.schema-a539dd65.mjs +210 -0
- package/dist/metadata.schema-e4fe5c57.js +209 -0
- package/dist/modules/community/components/blocks/FooterBlogpost.vue.d.ts +1 -1
- package/dist/modules/community/components/sections/Feed.vue.d.ts +4 -3
- package/dist/modules/events/components/sections/Feed.vue.d.ts +4 -4
- package/dist/modules/events/components/sections/List.vue.d.ts +3 -3
- package/dist/modules/globals/components/blocks/CardFooter.vue.d.ts +8 -0
- package/dist/modules/globals/components/blocks/CardHeader.vue.d.ts +15 -0
- package/dist/modules/globals/components/sections/Feed.vue.d.ts +69 -0
- package/dist/modules/orders/components/pages/EditOrder.vue.d.ts +6 -0
- package/dist/modules/orders/components/pages/Favorites.vue.d.ts +6 -0
- package/dist/modules/orders/components/pages/History.vue.d.ts +6 -0
- package/dist/modules/orders/components/pages/Orders.vue.d.ts +2 -0
- package/dist/modules/orders/components/pages/ViewOrder.vue.d.ts +6 -0
- package/dist/modules/orders/components/sections/Form.vue.d.ts +1 -0
- package/dist/modules/organizations/components/blocks/CardDepartment.vue.d.ts +7 -0
- package/dist/modules/organizations/components/blocks/User.vue.d.ts +1 -1
- package/dist/modules/organizations/components/elements/ButtonToggleMembership.vue.d.ts +1 -1
- package/dist/modules/organizations/components/pages/Members.vue.d.ts +2 -0
- package/dist/modules/organizations/components/sections/Department2.vue.d.ts +7 -0
- package/dist/modules/organizations/components/sections/Feed.vue.d.ts +4 -4
- package/dist/modules/organizations/components/sections/FeedDepartments.vue.d.ts +8 -0
- package/dist/modules/payments/components/pages/Payments.vue.d.ts +2 -0
- package/dist/modules/products/components/blocks/CardLeftover.vue.d.ts +6 -0
- package/dist/modules/products/components/blocks/CardPosition.vue.d.ts +11 -0
- package/dist/modules/products/components/blocks/CardProduct.vue.d.ts +6 -0
- package/dist/modules/products/components/blocks/LeftoverPositions.vue.d.ts +0 -1
- package/dist/modules/products/components/pages/ProductsBackoffice.vue.d.ts +2 -0
- package/dist/modules/products/components/sections/FilterProducts.vue.d.ts +9 -0
- package/dist/modules/products/components/sections/SortProducts.vue.d.ts +10 -0
- package/dist/modules/reports/components/sections/FormReport.vue.d.ts +3 -3
- package/dist/modules/spots/components/blocks/CardSpot.vue.d.ts +7 -0
- package/dist/modules/spots/components/blocks/SpotMemberModify.vue.d.ts +11 -0
- package/dist/modules/spots/components/blocks/SpotSub.vue.d.ts +6 -0
- package/dist/modules/spots/components/pages/Spot.vue.d.ts +7 -0
- package/dist/modules/spots/components/pages/SpotEdit.vue.d.ts +2 -0
- package/dist/modules/spots/components/sections/Feed.vue.d.ts +8 -0
- package/dist/modules/spots/components/sections/PlaceModify.vue.d.ts +9 -0
- package/dist/modules/spots/components/sections/Places.vue.d.ts +9 -0
- package/dist/modules/wallet/components/pages/Wallet.vue.d.ts +2 -0
- package/dist/orders-13c10d49.mjs +85 -0
- package/dist/orders-37f041aa.js +1 -0
- package/dist/organizations-4d18a2e2.js +1 -0
- package/dist/organizations-6ed907e3.mjs +122 -0
- package/dist/organizations.client-01593e4d.js +3 -0
- package/dist/organizations.client-1b9fa66e.mjs +2997 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +75 -51
- package/dist/organizations.server.js +9 -20
- package/dist/organizations.server.mjs +9 -20
- package/dist/products-7960bbd4.js +1 -0
- package/dist/products-bf5783aa.mjs +108 -0
- package/dist/prometheus-framework.cjs.js +17 -17
- package/dist/prometheus-framework.es.js +771 -758
- package/dist/states.validation-03f7cd49.js +1 -0
- package/dist/states.validation-50e3a5a0.mjs +13 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +214 -258
- package/dist/users.server.js +1 -1
- package/dist/users.server.mjs +1 -1
- package/package.json +2 -119
- package/src/components/Field/Field.vue +34 -9
- package/src/components/SelectMulti/SelectMulti.vue +18 -22
- package/src/modules/auth/routes/auth.routes.js +9 -6
- package/src/modules/auth/store/auth.js +34 -15
- package/src/modules/backoffice/components/pages/Dashboard.vue +91 -0
- package/src/modules/backoffice/router/admin.js +0 -28
- package/src/modules/backoffice/router/backoffice.js +131 -4
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/pages/Blog.vue +1 -0
- package/src/modules/community/components/sections/Comments.vue +1 -1
- package/src/modules/community/components/sections/Feed.vue +6 -0
- package/src/modules/community/controllers/blog.controller.js +129 -285
- package/src/modules/community/controllers/reactions.controller.js +2 -0
- package/src/modules/community/controllers/utils/queryProcessor.js +56 -0
- package/src/modules/community/controllers/utils/queryProcessorReactions.js +63 -0
- package/src/modules/community/routes/blog.routes.js +10 -6
- package/src/modules/community/store/blogposts.js +5 -5
- package/src/modules/events/components/blocks/CardEvent.vue +2 -3
- package/src/modules/events/components/pages/Events.vue +4 -4
- package/src/modules/events/components/sections/Feed.vue +4 -4
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/controllers/events.controller.js +8 -6
- package/src/modules/events/controllers/utils/queryProcessor.js +111 -1
- package/src/modules/events/models/event.model.js +0 -4
- package/src/modules/events/routes/events.routes.js +9 -6
- package/src/modules/events/store/events.js +5 -7
- package/src/{components/CardHeader → modules/globals/components/blocks}/CardHeader.vue +31 -4
- package/src/modules/globals/components/sections/Feed.vue +136 -0
- package/src/modules/globals/controllers/utils/queryProcessor.js +19 -117
- package/src/modules/globals/models/engagement.schema.js +29 -25
- package/src/modules/globals/utils/mailing.js +1 -1
- package/src/modules/icons/icons.client.js +51 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
- package/src/modules/marketplace/components/pages/Catalog.vue +3 -4
- package/src/modules/marketplace/router/marketplace.js +0 -11
- package/src/modules/middlewares/client/auth.validation.js +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -2
- package/src/modules/orders/components/pages/EditOrder.vue +238 -0
- package/src/modules/{backoffice → orders}/components/pages/Favorites.vue +2 -2
- package/src/modules/orders/components/pages/Order.vue +28 -34
- package/src/modules/orders/components/pages/Orders.vue +90 -0
- package/src/modules/{backoffice/components/pages/History.vue → orders/components/pages/ViewOrder.vue} +0 -8
- package/src/modules/orders/components/sections/Form.vue +52 -34
- package/src/modules/orders/controllers/orders.controller.js +102 -72
- package/src/modules/orders/models/order.model.js +30 -22
- package/src/modules/orders/router/orders.router.js +30 -0
- package/src/modules/orders/routes/orders.routes.js +23 -13
- package/src/modules/orders/store/orders.js +67 -40
- package/src/modules/organizations/components/{sections/Department.vue → blocks/CardDepartment.vue} +1 -10
- package/src/modules/organizations/components/blocks/CardOrganization.vue +13 -9
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +3 -3
- package/src/modules/organizations/components/{sections/MembersTab.vue → pages/Members.vue} +23 -8
- package/src/modules/organizations/components/pages/Organization.vue +80 -46
- package/src/modules/organizations/components/pages/Organizations.vue +45 -90
- package/src/modules/organizations/components/sections/{StructureTab.vue → FeedDepartments.vue} +5 -5
- package/src/modules/organizations/components/sections/Organizations.vue +1 -2
- package/src/modules/organizations/components/sections/Publics.vue +3 -2
- package/src/modules/organizations/controllers/organizations.controller.js +8 -21
- package/src/modules/organizations/controllers/organizations.new.controller.js +372 -0
- package/src/modules/organizations/controllers/utils/addUserStatusFields.js +53 -48
- package/src/modules/organizations/controllers/utils/queryProcessor.js +87 -0
- package/src/modules/organizations/controllers/utils/queryProcessorOrganizations.js +25 -0
- package/src/modules/organizations/organizations.client.js +42 -46
- package/src/modules/organizations/router/departments.router.js +29 -0
- package/src/modules/organizations/router/members.router.js +19 -0
- package/src/modules/organizations/router/organizations.js +12 -88
- package/src/modules/organizations/router/organizations.router.js +38 -0
- package/src/modules/organizations/router/products.router.js +24 -0
- package/src/modules/organizations/store/departments.js +108 -0
- package/src/modules/{backoffice/components/admin/Orders.vue → payments/components/pages/Payments.vue} +0 -15
- package/src/modules/products/components/blocks/{Leftover.vue → CardLeftover.vue} +21 -12
- package/src/modules/products/components/blocks/CardPosition.vue +84 -0
- package/src/modules/products/components/blocks/LeftoverPositions.vue +65 -136
- package/src/modules/products/components/pages/LeftoverAdd.vue +133 -88
- package/src/modules/products/components/pages/Leftovers.vue +91 -64
- package/src/modules/products/components/pages/Product.vue +3 -3
- package/src/modules/products/components/pages/Products.vue +42 -263
- package/src/modules/products/components/pages/ProductsBackoffice.vue +92 -0
- package/src/modules/products/components/sections/FilterProducts.vue +180 -0
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +18 -3
- package/src/modules/products/components/sections/SortProducts.vue +76 -0
- package/src/modules/products/controllers/leftovers.controller.js +51 -45
- package/src/modules/products/controllers/modifications.controller.js +66 -0
- package/src/modules/products/controllers/products.controller.js +67 -111
- package/src/modules/products/models/leftover.model.js +12 -9
- package/src/modules/products/models/product.model.js +1 -0
- package/src/modules/products/router/products.router.js +46 -0
- package/src/modules/products/routes/products.routes.js +4 -9
- package/src/modules/products/store/leftovers.js +56 -59
- package/src/modules/products/store/products.js +21 -22
- package/src/modules/spots/components/blocks/CardSpot.vue +104 -0
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +92 -0
- package/src/modules/spots/components/blocks/SpotSub.vue +24 -0
- package/src/modules/spots/components/pages/Map.vue +2 -2
- package/src/modules/spots/components/pages/Spot.vue +107 -0
- package/src/modules/spots/components/pages/SpotEdit.vue +319 -0
- package/src/modules/spots/components/sections/Feed.vue +64 -0
- package/src/modules/spots/controllers/spots.controller.js +83 -0
- package/src/modules/spots/models/spot.model.js +72 -0
- package/src/modules/spots/router/spots.js +34 -1
- package/src/modules/spots/routes/spots.routes.js +31 -0
- package/src/modules/spots/store/spots.js +15 -15
- package/src/modules/users/components/pages/Profile.vue +2 -3
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/styles/components/block.scss +2 -4
- package/src/modules/backoffice/components/admin/LeftoverAdd.vue +0 -157
- package/src/modules/backoffice/components/admin/Leftovers.vue +0 -119
- package/src/modules/backoffice/components/admin/Order.vue +0 -199
- package/src/modules/backoffice/components/admin/Product.vue +0 -28
- package/src/modules/backoffice/components/admin/Products.vue +0 -82
- package/src/modules/backoffice/components/pages/Organizations.vue +0 -104
- package/src/modules/community/controllers/blog.new.controller.js +0 -290
- package/src/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue +0 -92
- package/src/modules/organizations/components/elements/ButtonFollow.vue +0 -84
- package/src/modules/organizations/components/pages/OrganizationsAccount.vue +0 -110
- package/src/modules/organizations/controllers/utils/excludeBlockedMembers.js +0 -18
- /package/src/{components/CardFooter → modules/globals/components/blocks}/CardFooter.vue +0 -0
- /package/src/modules/{orders/controllers → payments/controller}/payments.controller.js +0 -0
- /package/src/modules/{orders → payments}/routes/payments.routes.js +0 -0
- /package/src/modules/{orders → payments}/store/payments.js +0 -0
- /package/src/modules/products/components/blocks/{ProductCard.vue → CardProduct.vue} +0 -0
- /package/src/modules/{organizations → spots}/components/sections/PlaceModify.vue +0 -0
- /package/src/modules/{organizations → spots}/components/sections/Places.vue +0 -0
- /package/src/modules/{backoffice → wallet}/components/pages/Wallet.vue +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),c=require("./IconChevronRight-a55f838e.js");const h=e.defineComponent({props:{theme:{type:String,default:"black"}},setup(l,{slots:i}){return()=>{const s=i.default?i.default():[],n=[],r=[];return s.forEach(t=>{t.toString(),t.props&&t.props.icon?n.push(t):r.push(t)}),e.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...n.length?[e.h("div",{class:["mn-thin","mn-t-thin","flex-center","flex","mn-r-small","flex-child","flex-child-shrink-0","i-big","bg-main","radius-thin"]},n)]:[],e.h("div",{class:["w-100","mn-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[e.h("span",{class:["p-big","t-medium","mn-r-auto"]},r)]),e.h(c.IconChevronRight,{class:"i-medium mn-r-medium",type:"chevron",theme:l.theme})])}}});exports._sfc_main=h;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { defineComponent as m, h as e } from "vue";
|
2
|
+
import { I as a } from "./IconChevronRight-fae9d012.mjs";
|
3
|
+
const f = m({
|
4
|
+
props: {
|
5
|
+
theme: {
|
6
|
+
type: String,
|
7
|
+
default: "black"
|
8
|
+
// Значение по умолчанию
|
9
|
+
}
|
10
|
+
},
|
11
|
+
setup(r, { slots: i }) {
|
12
|
+
return () => {
|
13
|
+
const s = i.default ? i.default() : [], n = [], l = [];
|
14
|
+
return s.forEach((t) => {
|
15
|
+
t.toString(), t.props && t.props.icon ? n.push(t) : l.push(t);
|
16
|
+
}), e(
|
17
|
+
"div",
|
18
|
+
{
|
19
|
+
class: [
|
20
|
+
"w-100",
|
21
|
+
"t-left",
|
22
|
+
"flex-nowrap",
|
23
|
+
"flex-v-center",
|
24
|
+
"flex",
|
25
|
+
// here we need add logic
|
26
|
+
{ "br-b br-black-transp-10 br-solid": !0 }
|
27
|
+
]
|
28
|
+
},
|
29
|
+
[
|
30
|
+
// Conditionally include the div for iconSlot
|
31
|
+
...n.length ? [
|
32
|
+
e(
|
33
|
+
"div",
|
34
|
+
{
|
35
|
+
class: ["mn-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-child-shrink-0", "i-big", "bg-main", "radius-thin"]
|
36
|
+
},
|
37
|
+
n
|
38
|
+
)
|
39
|
+
] : [],
|
40
|
+
e(
|
41
|
+
"div",
|
42
|
+
{
|
43
|
+
class: ["w-100", "mn-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
|
44
|
+
},
|
45
|
+
[
|
46
|
+
e(
|
47
|
+
"span",
|
48
|
+
{
|
49
|
+
class: ["p-big", "t-medium", "mn-r-auto"]
|
50
|
+
},
|
51
|
+
l
|
52
|
+
)
|
53
|
+
]
|
54
|
+
),
|
55
|
+
e(a, { class: "i-medium mn-r-medium", type: "chevron", theme: r.theme })
|
56
|
+
]
|
57
|
+
);
|
58
|
+
};
|
59
|
+
}
|
60
|
+
});
|
61
|
+
export {
|
62
|
+
f as _
|
63
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("vue-router"),c=require("./Tab-2c1e4224.js"),l=require("./orders-37f041aa.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");const d={class:"mn-medium flex-v-center flex-nowrap flex"},u=e.createElementVNode("h2",{class:"mn-r-medium"},"Orders",-1),m={class:"cols-3 gap-thin"},p={class:"flex block"},_={class:"w-100 mn-thin p-big"},h={class:"mn-small t-transp w-100"},b=e.createElementVNode("br",null,null,-1),g={__name:"Orders",setup(N){const s=a.useRoute();a.useRouter();const r=e.ref(s.query.tab?s.query.tab:"posts");return e.onMounted(async()=>{await l.actions.read()}),(o,n)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",d,[u,e.createElementVNode("button",{onClick:n[0]||(n[0]=t=>o.$router.push({name:"AdminOrder"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(c._sfc_main,{selected:r.value,"onUpdate:selected":n[1]||(n[1]=t=>r.value=t),tabs:[{name:"All",value:"all"},{name:"New",value:"new"},{name:"Confirmed",value:"confirmed"},{name:"Finished",value:"finished"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("section",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.all,t=>(e.openBlock(),e.createElementBlock("div",p,[e.createTextVNode(e.toDisplayString(t.status)+" ",1),e.createElementVNode("p",_," Заказ #"+e.toDisplayString(t._id.slice(0,8)),1),e.createElementVNode("p",h,[e.createTextVNode(" Номер клиента: +7"+e.toDisplayString(t.phone),1),b]),e.createElementVNode("p",{class:e.normalizeClass([{new:t.status==="Создан"},"mn-small"])},[e.createTextVNode(e.toDisplayString(o.formatDate(t.createdAt))+" ",1),e.createVNode(i,{to:{name:"AdminOrderEdit",params:{_id:t._id}},class:"i-small"},{default:e.withCtx(()=>[e.createTextVNode(" EDIT ")]),_:2},1032,["to"])],2)]))),256))])],64)}}};exports.default=g;
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { ref as p, onMounted as _, resolveComponent as f, openBlock as o, createElementBlock as l, Fragment as c, createElementVNode as t, createVNode as d, renderList as h, createTextVNode as n, toDisplayString as a, normalizeClass as b, withCtx as v } from "vue";
|
2
|
+
import { useRoute as g, useRouter as w } from "vue-router";
|
3
|
+
import { _ as k } from "./Tab-054b61f7.mjs";
|
4
|
+
import { a as x, s as y } from "./orders-13c10d49.mjs";
|
5
|
+
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
6
|
+
import "./index-a661083c.mjs";
|
7
|
+
import "./globals-96ba60e4.mjs";
|
8
|
+
import "vue-i18n";
|
9
|
+
const C = { class: "mn-medium flex-v-center flex-nowrap flex" }, A = /* @__PURE__ */ t("h2", { class: "mn-r-medium" }, "Orders", -1), E = { class: "cols-3 gap-thin" }, N = { class: "flex block" }, O = { class: "w-100 mn-thin p-big" }, D = { class: "mn-small t-transp w-100" }, V = /* @__PURE__ */ t("br", null, null, -1), M = {
|
10
|
+
__name: "Orders",
|
11
|
+
setup($) {
|
12
|
+
const r = g();
|
13
|
+
w();
|
14
|
+
const i = p(r.query.tab ? r.query.tab : "posts");
|
15
|
+
return _(async () => {
|
16
|
+
await x.read();
|
17
|
+
}), (m, s) => {
|
18
|
+
const u = f("router-link");
|
19
|
+
return o(), l(c, null, [
|
20
|
+
t("header", C, [
|
21
|
+
A,
|
22
|
+
t("button", {
|
23
|
+
onClick: s[0] || (s[0] = (e) => m.$router.push({
|
24
|
+
name: "AdminOrder"
|
25
|
+
})),
|
26
|
+
class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
|
27
|
+
}, " + ")
|
28
|
+
]),
|
29
|
+
d(k, {
|
30
|
+
selected: i.value,
|
31
|
+
"onUpdate:selected": s[1] || (s[1] = (e) => i.value = e),
|
32
|
+
tabs: [
|
33
|
+
{ name: "All", value: "all" },
|
34
|
+
{ name: "New", value: "new" },
|
35
|
+
{ name: "Confirmed", value: "confirmed" },
|
36
|
+
{ name: "Finished", value: "finished" }
|
37
|
+
],
|
38
|
+
class: "mn-small o-hidden h5 radius-big bg-grey"
|
39
|
+
}, null, 8, ["selected"]),
|
40
|
+
t("section", E, [
|
41
|
+
(o(!0), l(c, null, h(y.all, (e) => (o(), l("div", N, [
|
42
|
+
n(a(e.status) + " ", 1),
|
43
|
+
t("p", O, " Заказ #" + a(e._id.slice(0, 8)), 1),
|
44
|
+
t("p", D, [
|
45
|
+
n(" Номер клиента: +7" + a(e.phone), 1),
|
46
|
+
V
|
47
|
+
]),
|
48
|
+
t("p", {
|
49
|
+
class: b([{ new: e.status === "Создан" }, "mn-small"])
|
50
|
+
}, [
|
51
|
+
n(a(m.formatDate(e.createdAt)) + " ", 1),
|
52
|
+
d(u, {
|
53
|
+
to: {
|
54
|
+
name: "AdminOrderEdit",
|
55
|
+
params: {
|
56
|
+
_id: e._id
|
57
|
+
}
|
58
|
+
},
|
59
|
+
class: "i-small"
|
60
|
+
}, {
|
61
|
+
default: v(() => [
|
62
|
+
n(" EDIT ")
|
63
|
+
]),
|
64
|
+
_: 2
|
65
|
+
}, 1032, ["to"])
|
66
|
+
], 2)
|
67
|
+
]))), 256))
|
68
|
+
])
|
69
|
+
], 64);
|
70
|
+
};
|
71
|
+
}
|
72
|
+
};
|
73
|
+
export {
|
74
|
+
M as default
|
75
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("vue-router"),d=require("./Tab-2c1e4224.js"),i=require("./Feed-b30ef609.js"),o=require("./auth-06d35b82.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./EmptyState-d65bab5b.js");require("./CardOrganization-d93c9bdb.js");require("./ButtonToggleMembership-15f149cb.js");require("./Button-7643c9aa.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./memberships-393765d8.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");require("./SkeletonOrganization-5c09cfc5.js");require("./_plugin-vue_export-helper-f246444f.js");require("./organizations-4d18a2e2.js");const m={class:"pd-thin"},q={class:"mn-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),_={__name:"Organizations",setup(f){const r=s.useRoute(),l=s.useRouter();let c=r.query.tab?r.query.tab:"member";const t=e.ref(c);return r.query.tab=t.value,e.watch(t,a=>{l.replace({query:{...r.query,tab:a}})}),(a,u)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",q,[b,o.state.user._id===e.unref(r).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:u[0]||(u[0]=n=>a.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d._sfc_main,{selected:t.value,"onUpdate:selected":u[1]||(u[1]=n=>t.value=n),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="member"?(e.openBlock(),e.createBlock(i._sfc_main,{key:0,user:o.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="follower"?(e.openBlock(),e.createBlock(i._sfc_main,{key:0,user:o.state.user._id,subscriber:e.unref(r).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=_;
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { ref as h, watch as w, openBlock as o, createElementBlock as l, createElementVNode as b, unref as s, createCommentVNode as i, createVNode as m, Transition as d, withCtx as p, createBlock as c } from "vue";
|
2
|
+
import { useRoute as y, useRouter as g } from "vue-router";
|
3
|
+
import { _ as k } from "./Tab-054b61f7.mjs";
|
4
|
+
import { _ } from "./Feed-793b3eef.mjs";
|
5
|
+
import { s as u } from "./auth-ec618cb3.mjs";
|
6
|
+
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
7
|
+
import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
8
|
+
import "./EmptyState-e404b05d.mjs";
|
9
|
+
import "./CardOrganization-e920be73.mjs";
|
10
|
+
import "./ButtonToggleMembership-3bb9139e.mjs";
|
11
|
+
import "./Button-9e1a9284.mjs";
|
12
|
+
import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
13
|
+
import "./memberships-12210953.mjs";
|
14
|
+
import "./index-a661083c.mjs";
|
15
|
+
import "./globals-96ba60e4.mjs";
|
16
|
+
import "vue-i18n";
|
17
|
+
import "./SkeletonOrganization-8690422d.mjs";
|
18
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
19
|
+
import "./organizations-6ed907e3.mjs";
|
20
|
+
const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */ b("h2", { class: "mn-r-medium" }, "Groups", -1), L = {
|
21
|
+
__name: "Organizations",
|
22
|
+
setup($) {
|
23
|
+
const e = y(), f = g();
|
24
|
+
let v = e.query.tab ? e.query.tab : "member";
|
25
|
+
const r = h(v);
|
26
|
+
return e.query.tab = r.value, w(r, (a) => {
|
27
|
+
f.replace({ query: { ...e.query, tab: a } });
|
28
|
+
}), (a, t) => (o(), l("div", q, [
|
29
|
+
b("header", x, [
|
30
|
+
C,
|
31
|
+
u.user._id === s(e).params._id ? (o(), l("button", {
|
32
|
+
key: 0,
|
33
|
+
onClick: t[0] || (t[0] = (n) => a.$router.push({
|
34
|
+
name: "Create Organization"
|
35
|
+
})),
|
36
|
+
class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
|
37
|
+
}, " + ")) : i("", !0)
|
38
|
+
]),
|
39
|
+
m(k, {
|
40
|
+
selected: r.value,
|
41
|
+
"onUpdate:selected": t[1] || (t[1] = (n) => r.value = n),
|
42
|
+
tabs: [
|
43
|
+
{ name: "Member", value: "member" },
|
44
|
+
{ name: "Follower", value: "follower" }
|
45
|
+
],
|
46
|
+
class: "mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"
|
47
|
+
}, null, 8, ["selected"]),
|
48
|
+
m(d, { name: "slide-fade" }, {
|
49
|
+
default: p(() => [
|
50
|
+
r.value === "member" ? (o(), c(_, {
|
51
|
+
key: 0,
|
52
|
+
user: u.user._id,
|
53
|
+
owner: s(e).params._id
|
54
|
+
}, null, 8, ["user", "owner"])) : i("", !0)
|
55
|
+
]),
|
56
|
+
_: 1
|
57
|
+
}),
|
58
|
+
m(d, { name: "slide-fade" }, {
|
59
|
+
default: p(() => [
|
60
|
+
r.value === "follower" ? (o(), c(_, {
|
61
|
+
key: 0,
|
62
|
+
user: u.user._id,
|
63
|
+
subscriber: s(e).params._id
|
64
|
+
}, null, 8, ["user", "subscriber"])) : i("", !0)
|
65
|
+
]),
|
66
|
+
_: 1
|
67
|
+
})
|
68
|
+
]));
|
69
|
+
}
|
70
|
+
};
|
71
|
+
export {
|
72
|
+
L as default
|
73
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),b=require("./vuex.esm-bundler-685cf29f.js"),i=require("vue-router");const m=e.createElementVNode("section",{class:"br-bot-dark bg-white pd-big"},[e.createElementVNode("header",{class:"flex-nojustify flex-bottom flex-nowrap flex"},[e.createElementVNode("h1",{class:"mn-r-small"},"Заказы")])],-1),f={class:"flex-nowrap flex product-tab-header"},g={class:"round-stat-tab round-stat"},p={class:"cols-3 bg-grey pd-big"},_={class:"order-card col"},x={class:"flex block"},h={class:"w-100 mn-thin p-big"},v={class:"mn-small t-transp w-100"},w=e.createElementVNode("br",null,null,-1),E={__name:"Payments",async setup(k){let a,c;const l=b.useStore();i.useRoute(),i.useRouter(),[a,c]=e.withAsyncContext(()=>l.dispatch("orders/fetchOrders").then(s=>{console.log("sycces")},s=>{console.log("eror")})),await a,c();let n=e.reactive({currentTab:"Создан"});e.toRefs(n);function d(s){if(s==="all")return l.state.orders.all.length;{const t=l.state.orders.all.reverse().filter(function(r,N){if(r.status===s)return!0});return console.log(t.length),t.length}}function o(s){n.currentTab=s,console.log(n.currentTab)}const u=e.computed(()=>n.currentTab==="all"?l.state.orders.all.reverse():l.state.orders.all.reverse().filter(function(t,r){if(t.status===n.currentTab)return!0}));return(s,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[m,e.createElementVNode("div",f,[e.createElementVNode("button",{onClick:t[0]||(t[0]=r=>o("Создан")),class:e.normalizeClass([{"product-tab-active":e.unref(n).currentTab==="Создан"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])},[e.createTextVNode(" Новые "),e.createElementVNode("div",g,e.toDisplayString(d("Создан")),1)],2),e.createElementVNode("button",{onClick:t[1]||(t[1]=r=>o("Подтвержден")),class:e.normalizeClass([{"product-tab-active":e.unref(n).currentTab==="Подтвержден"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Подтвержденные ",2),e.createElementVNode("button",{onClick:t[2]||(t[2]=r=>o("Ожидает отправки")),class:e.normalizeClass([{"product-tab-active":e.unref(n).currentTab==="Ожидает отправки"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Ожидают отправки ",2),e.createElementVNode("button",{onClick:t[3]||(t[3]=r=>o("Отправлен")),class:e.normalizeClass([{"product-tab-active":e.unref(n).currentTab==="Отправлен"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Отправлены ",2),e.createElementVNode("button",{onClick:t[4]||(t[4]=r=>o("all")),class:e.normalizeClass([{"product-tab-active":e.unref(n).currentTab==="all"},"br-right-dark w-100 bg-white flex-center pd-semi-big flex"])}," Все ",2)]),e.createElementVNode("section",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),r=>(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",x,[e.createElementVNode("p",h," Заказ #"+e.toDisplayString(r._id.slice(0,8)),1),e.createElementVNode("p",v,[e.createTextVNode(" Номер клиента: +7"+e.toDisplayString(r.phone),1),w])]),e.createElementVNode("p",{class:e.normalizeClass([{new:r.status==="Создан"},"mn-small order-status w-100 flex-center flex"])},e.toDisplayString(r.status)+" "+e.toDisplayString(s.DateToFormattedString(r.createdAt)),3)]))),256))])],64))}};exports.default=E;
|
@@ -0,0 +1,87 @@
|
|
1
|
+
import { withAsyncContext as h, reactive as x, toRefs as v, computed as w, openBlock as u, createElementBlock as d, Fragment as g, createElementVNode as e, normalizeClass as l, unref as o, createTextVNode as p, toDisplayString as c, renderList as k } from "vue";
|
2
|
+
import { u as T } from "./vuex.esm-bundler-57d8b6ba.mjs";
|
3
|
+
import { useRoute as y, useRouter as C } from "vue-router";
|
4
|
+
const $ = /* @__PURE__ */ e("section", { class: "br-bot-dark bg-white pd-big" }, [
|
5
|
+
/* @__PURE__ */ e("header", { class: "flex-nojustify flex-bottom flex-nowrap flex" }, [
|
6
|
+
/* @__PURE__ */ e("h1", { class: "mn-r-small" }, "Заказы")
|
7
|
+
])
|
8
|
+
], -1), R = { class: "flex-nowrap flex product-tab-header" }, S = { class: "round-stat-tab round-stat" }, A = { class: "cols-3 bg-grey pd-big" }, B = { class: "order-card col" }, D = { class: "flex block" }, E = { class: "w-100 mn-thin p-big" }, F = { class: "mn-small t-transp w-100" }, L = /* @__PURE__ */ e("br", null, null, -1), O = {
|
9
|
+
__name: "Payments",
|
10
|
+
async setup(N) {
|
11
|
+
let b, f;
|
12
|
+
const a = T();
|
13
|
+
y(), C(), [b, f] = h(() => a.dispatch("orders/fetchOrders").then(
|
14
|
+
(n) => {
|
15
|
+
console.log("sycces");
|
16
|
+
},
|
17
|
+
(n) => {
|
18
|
+
console.log("eror");
|
19
|
+
}
|
20
|
+
)), await b, f();
|
21
|
+
let s = x({ currentTab: "Создан" });
|
22
|
+
v(s);
|
23
|
+
function m(n) {
|
24
|
+
if (n === "all")
|
25
|
+
return a.state.orders.all.length;
|
26
|
+
{
|
27
|
+
const t = a.state.orders.all.reverse().filter(function(r, P) {
|
28
|
+
if (r.status === n)
|
29
|
+
return !0;
|
30
|
+
});
|
31
|
+
return console.log(t.length), t.length;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
function i(n) {
|
35
|
+
s.currentTab = n, console.log(s.currentTab);
|
36
|
+
}
|
37
|
+
const _ = w(() => s.currentTab === "all" ? a.state.orders.all.reverse() : a.state.orders.all.reverse().filter(function(t, r) {
|
38
|
+
if (t.status === s.currentTab)
|
39
|
+
return !0;
|
40
|
+
}));
|
41
|
+
return (n, t) => (u(), d(g, null, [
|
42
|
+
$,
|
43
|
+
e("div", R, [
|
44
|
+
e("button", {
|
45
|
+
onClick: t[0] || (t[0] = (r) => i("Создан")),
|
46
|
+
class: l([{ "product-tab-active": o(s).currentTab === "Создан" }, "br-right-dark w-100 bg-white flex-center pd-semi-big flex"])
|
47
|
+
}, [
|
48
|
+
p(" Новые "),
|
49
|
+
e("div", S, c(m("Создан")), 1)
|
50
|
+
], 2),
|
51
|
+
e("button", {
|
52
|
+
onClick: t[1] || (t[1] = (r) => i("Подтвержден")),
|
53
|
+
class: l([{ "product-tab-active": o(s).currentTab === "Подтвержден" }, "br-right-dark w-100 bg-white flex-center pd-semi-big flex"])
|
54
|
+
}, " Подтвержденные ", 2),
|
55
|
+
e("button", {
|
56
|
+
onClick: t[2] || (t[2] = (r) => i("Ожидает отправки")),
|
57
|
+
class: l([{ "product-tab-active": o(s).currentTab === "Ожидает отправки" }, "br-right-dark w-100 bg-white flex-center pd-semi-big flex"])
|
58
|
+
}, " Ожидают отправки ", 2),
|
59
|
+
e("button", {
|
60
|
+
onClick: t[3] || (t[3] = (r) => i("Отправлен")),
|
61
|
+
class: l([{ "product-tab-active": o(s).currentTab === "Отправлен" }, "br-right-dark w-100 bg-white flex-center pd-semi-big flex"])
|
62
|
+
}, " Отправлены ", 2),
|
63
|
+
e("button", {
|
64
|
+
onClick: t[4] || (t[4] = (r) => i("all")),
|
65
|
+
class: l([{ "product-tab-active": o(s).currentTab === "all" }, "br-right-dark w-100 bg-white flex-center pd-semi-big flex"])
|
66
|
+
}, " Все ", 2)
|
67
|
+
]),
|
68
|
+
e("section", A, [
|
69
|
+
(u(!0), d(g, null, k(o(_), (r) => (u(), d("div", B, [
|
70
|
+
e("div", D, [
|
71
|
+
e("p", E, " Заказ #" + c(r._id.slice(0, 8)), 1),
|
72
|
+
e("p", F, [
|
73
|
+
p(" Номер клиента: +7" + c(r.phone), 1),
|
74
|
+
L
|
75
|
+
])
|
76
|
+
]),
|
77
|
+
e("p", {
|
78
|
+
class: l([{ new: r.status === "Создан" }, "mn-small order-status w-100 flex-center flex"])
|
79
|
+
}, c(r.status) + " " + c(n.DateToFormattedString(r.createdAt)), 3)
|
80
|
+
]))), 256))
|
81
|
+
])
|
82
|
+
], 64));
|
83
|
+
}
|
84
|
+
};
|
85
|
+
export {
|
86
|
+
O as default
|
87
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),c=require("./_plugin-vue_export-helper-f246444f.js"),l={},r={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),o=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),n=[t,o];function i(_,d){return e.openBlock(),e.createElementBlock("svg",r,n)}const s=c._export_sfc(l,[["render",i]]);exports.PlaceholderUserpic=s;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as a, createElementBlock as i, mergeProps as P, createElementVNode as u, renderSlot as k, createCommentVNode as p, normalizeClass as b } from "vue";
|
2
|
+
import { useRoute as x, useRouter as C } from "vue-router";
|
3
|
+
import { useI18n as O } from "vue-i18n";
|
4
|
+
import { I as T } from "./IconCross-84cb1292.mjs";
|
5
|
+
import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
6
|
+
const g = {
|
7
|
+
key: "popup-content",
|
8
|
+
class: "pd-small popup-wrapper"
|
9
|
+
}, V = {
|
10
|
+
__name: "Popup",
|
11
|
+
props: {
|
12
|
+
isPopupOpen: {
|
13
|
+
type: Boolean,
|
14
|
+
default: !1
|
15
|
+
},
|
16
|
+
style: String
|
17
|
+
},
|
18
|
+
emits: ["close-popup"],
|
19
|
+
setup(e, { emit: c }) {
|
20
|
+
const m = e;
|
21
|
+
function r() {
|
22
|
+
c("close-popup");
|
23
|
+
}
|
24
|
+
return f(() => m.isPopupOpen, (o) => {
|
25
|
+
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
26
|
+
}), x(), C(), O({
|
27
|
+
messages: {
|
28
|
+
en: {},
|
29
|
+
ru: {}
|
30
|
+
}
|
31
|
+
}), (o, t) => e.isPopupOpen ? (s(), v(y, {
|
32
|
+
key: 0,
|
33
|
+
to: "body"
|
34
|
+
}, [
|
35
|
+
n(l, {
|
36
|
+
name: "TransitionTranslateY",
|
37
|
+
appear: ""
|
38
|
+
}, {
|
39
|
+
default: a(() => [
|
40
|
+
e.isPopupOpen ? (s(), i("div", g, [
|
41
|
+
n(l, {
|
42
|
+
name: "TransitionTranslateY",
|
43
|
+
mode: "out-in"
|
44
|
+
}, {
|
45
|
+
default: a(() => [
|
46
|
+
e.isPopupOpen ? (s(), i("section", P({
|
47
|
+
key: 0,
|
48
|
+
class: "pos-relative z-index-4"
|
49
|
+
}, o.$attrs), [
|
50
|
+
u("button", {
|
51
|
+
onClick: t[0] || (t[0] = (d) => r()),
|
52
|
+
class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
|
53
|
+
}, [
|
54
|
+
n(T)
|
55
|
+
]),
|
56
|
+
k(o.$slots, "default")
|
57
|
+
], 16)) : p("", !0)
|
58
|
+
]),
|
59
|
+
_: 3
|
60
|
+
}),
|
61
|
+
u("div", {
|
62
|
+
onClick: t[1] || (t[1] = (d) => r()),
|
63
|
+
class: b([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
64
|
+
}, null, 2)
|
65
|
+
])) : p("", !0)
|
66
|
+
]),
|
67
|
+
_: 3
|
68
|
+
})
|
69
|
+
])) : p("", !0);
|
70
|
+
}
|
71
|
+
};
|
72
|
+
export {
|
73
|
+
V as _
|
74
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),r=require("vue-router"),c=require("vue-i18n"),i=require("./IconCross-5bf93179.js");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const d={key:"popup-content",class:"pd-small popup-wrapper"},m={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(o,{emit:l}){const u=o;function s(){l("close-popup")}e.watch(()=>u.isPopupOpen,t=>{t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const a={messages:{en:{},ru:{}}};return c.useI18n(a),(t,n)=>o.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[o.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},t.$attrs),[e.createElementVNode("button",{onClick:n[0]||(n[0]=p=>s()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[e.createVNode(i.IconCross)]),e.renderSlot(t.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:n[1]||(n[1]=p=>s()),class:e.normalizeClass([{active:o.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports._sfc_main=m;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";
|
@@ -0,0 +1 @@
|
|
1
|
+
|