@ozdao/prometheus-framework 0.1.36 → 0.1.38
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 +1 -1
- package/dist/auth.server.mjs +1 -1
- 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 +217 -189
- package/dist/community.server.mjs +217 -189
- 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 +100 -210
- package/dist/events.server.mjs +100 -210
- 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 +212 -256
- package/dist/users.server.js +1 -1
- package/dist/users.server.mjs +1 -1
- package/package.json +5 -1
- package/src/components/Field/Field.vue +34 -9
- package/src/components/SelectMulti/SelectMulti.vue +18 -22
- 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/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/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
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./organizations.client-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./organizations.client-01593e4d.js"),r=require("./Organizations-0cb37d68.js"),i=require("./CardOrganization-d93c9bdb.js"),t=require("./Socials-cceaeaf2.js"),n=require("./Publics-0762210a.js"),a=require("./ButtonToggleMembership-15f149cb.js"),u=require("./memberships-393765d8.js"),s=require("./organizations-4d18a2e2.js");require("vue");require("vue-router");require("vue-i18n");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Tab-2c1e4224.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./MenuItem-56ae7f94.js");require("./IconChevronRight-a55f838e.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Feed-22464fcd.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./EmptyState-d65bab5b.js");require("./Chips-d47704e6.js");require("./PlaceholderUserpic-47f6f319.js");require("./Dropdown-31115457.js");require("./Popup-795f5c88.js");require("./IconCross-5bf93179.js");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Button-7643c9aa.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Select-3ca5ab39.js");require("./reports-270f69df.js");require("./index-b41aac19.js");require("./click-outside-0b0727d1.js");require("./auth-06d35b82.js");require("./IconEdit-c0469b45.js");require("./SkeletonEvent-eb284de8.js");require("./Feed-c5d4390a.js");require("./Loader-21f016da.js");require("./CardBlogpost-cc208f93.js");require("./Checkbox-76f09248.js");require("./categories-82b28618.js");require("./Feed-98b47c6f.js");require("./CardProduct-92affca1.js");require("./vuex.esm-bundler-685cf29f.js");require("./products-7960bbd4.js");require("./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js");require("./inputs.validation-d7cef32b.js");require("./BlockTags-8cddaef7.js");require("./Field-e2a43424.js");require("./SelectMulti-c25765cf.js");require("./UploadImage-0f488170.js");require("./auth.validation-0ce9e326.js");require("./Feed-b30ef609.js");require("./SkeletonOrganization-5c09cfc5.js");require("./dribbble-8e8e169b.js");exports.CardDepartment=e.CardDepartment;exports.Contacts=e._sfc_main$9;exports.Department=e._sfc_main$3;exports.DepartmentEdit=e.DepartmentEdit;exports.DepartmentMemberModify=e.DepartmentMemberModify;exports.DepartmentSub=e.DepartmentSub;exports.DetailsTab=e._sfc_main$11;exports.Documents=e.Documents;exports.EditArray=e._sfc_main$5;exports.EmptyState=e._sfc_main$8;exports.FeedDepartments=e._sfc_main$10;exports.MembersAdd=e._sfc_main;exports.MembersList=e._sfc_main$1;exports.Organization=e._sfc_main$2;exports.OrganizationEdit=e._sfc_main$4;exports.OrganizationsSection=e._sfc_main$12;exports.Rating=e._sfc_main$7;exports.Unit=e._sfc_main$6;exports.User=e.User;exports.departmentsStore=e.departments;exports.invitesStore=e.invites;exports.organizationsRouter=e.organizations;exports.Organizations=r.default;exports.CardOrganization=i._sfc_main;exports.Socials=t._sfc_main;exports.Publics=n._sfc_main;exports.ButtonToggleMembership=a._sfc_main;exports.membershipsStore=u.memberships;exports.organizationStore=s.organization;
|
@@ -1,62 +1,86 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { _ as
|
5
|
-
import {
|
6
|
-
import {
|
1
|
+
import { C as W, l as X, d as Y, D as Z, i as $, h as tt, n as rt, p as ot, f as it, k as mt, m as pt, _ as at, b as et, c as st, e as nt, o as dt, j as ft, g as gt, U as bt, r as Dt, q as xt, t as St } from "./organizations.client-1b9fa66e.mjs";
|
2
|
+
import { default as ct } from "./Organizations-d6ef2113.mjs";
|
3
|
+
import { _ as ut } from "./CardOrganization-e920be73.mjs";
|
4
|
+
import { _ as Ot } from "./Socials-31c06635.mjs";
|
5
|
+
import { _ as Ct } from "./Publics-660e851c.mjs";
|
6
|
+
import { _ as ht } from "./ButtonToggleMembership-3bb9139e.mjs";
|
7
|
+
import { b as Ut } from "./memberships-12210953.mjs";
|
8
|
+
import { o as Rt } from "./organizations-6ed907e3.mjs";
|
7
9
|
import "vue";
|
8
10
|
import "vue-router";
|
9
11
|
import "vue-i18n";
|
10
12
|
import "./globals-96ba60e4.mjs";
|
11
|
-
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-
|
12
|
-
import "./
|
13
|
+
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
14
|
+
import "./Tab-054b61f7.mjs";
|
15
|
+
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
16
|
+
import "./MenuItem-6296d02f.mjs";
|
17
|
+
import "./IconChevronRight-fae9d012.mjs";
|
13
18
|
import "./_plugin-vue_export-helper-dad06003.mjs";
|
14
|
-
import "./
|
15
|
-
import "./
|
19
|
+
import "./Feed-7b80704d.mjs";
|
20
|
+
import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
21
|
+
import "./EmptyState-e404b05d.mjs";
|
22
|
+
import "./Chips-9d81b215.mjs";
|
23
|
+
import "./PlaceholderUserpic-14c6ea7e.mjs";
|
24
|
+
import "./Dropdown-cab3605b.mjs";
|
25
|
+
import "./Popup-0915427c.mjs";
|
26
|
+
import "./IconCross-84cb1292.mjs";
|
27
|
+
import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
28
|
+
import "./Button-9e1a9284.mjs";
|
16
29
|
import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
17
|
-
import "./auth-98fe3efb.mjs";
|
18
|
-
import "./ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs";
|
19
|
-
import "./Feed-acfbb839.mjs";
|
20
|
-
import "./EmptyState-34d85f10.mjs";
|
21
|
-
import "./Chips-41cd6570.mjs";
|
22
|
-
import "./Feed-4efa2a93.mjs";
|
23
30
|
import "./Select-11ddabf5.mjs";
|
24
31
|
import "./reports-79cd9459.mjs";
|
25
|
-
import "./
|
26
|
-
import "./UploadImage-3c627d89.mjs";
|
27
|
-
import "./auth.validation-e265b496.mjs";
|
32
|
+
import "./index-a661083c.mjs";
|
28
33
|
import "./click-outside-6101836c.mjs";
|
34
|
+
import "./auth-ec618cb3.mjs";
|
35
|
+
import "./IconEdit-9edfd74d.mjs";
|
36
|
+
import "./SkeletonEvent-8690422d.mjs";
|
37
|
+
import "./Feed-6e96d3dd.mjs";
|
38
|
+
import "./Loader-cd422786.mjs";
|
39
|
+
import "./CardBlogpost-38016b80.mjs";
|
40
|
+
import "./Checkbox-5dbe7b23.mjs";
|
41
|
+
import "./categories-df3240a7.mjs";
|
42
|
+
import "./Feed-d114330c.mjs";
|
43
|
+
import "./CardProduct-fca53299.mjs";
|
44
|
+
import "./vuex.esm-bundler-57d8b6ba.mjs";
|
45
|
+
import "./products-bf5783aa.mjs";
|
46
|
+
import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
|
47
|
+
import "./inputs.validation-db65277a.mjs";
|
48
|
+
import "./BlockTags-ee310572.mjs";
|
49
|
+
import "./Field-e5ad88d3.mjs";
|
50
|
+
import "./SelectMulti-58704d69.mjs";
|
51
|
+
import "./UploadImage-3c627d89.mjs";
|
52
|
+
import "./auth.validation-ba3606bf.mjs";
|
53
|
+
import "./Feed-793b3eef.mjs";
|
54
|
+
import "./SkeletonOrganization-8690422d.mjs";
|
55
|
+
import "./dribbble-ae37c2ac.mjs";
|
29
56
|
export {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
et as membershipsStore,
|
60
|
-
it as organizationStore,
|
61
|
-
W as organizationsRoutes
|
57
|
+
ht as ButtonToggleMembership,
|
58
|
+
W as CardDepartment,
|
59
|
+
ut as CardOrganization,
|
60
|
+
X as Contacts,
|
61
|
+
Y as Department,
|
62
|
+
Z as DepartmentEdit,
|
63
|
+
$ as DepartmentMemberModify,
|
64
|
+
tt as DepartmentSub,
|
65
|
+
rt as DetailsTab,
|
66
|
+
ot as Documents,
|
67
|
+
it as EditArray,
|
68
|
+
mt as EmptyState,
|
69
|
+
pt as FeedDepartments,
|
70
|
+
at as MembersAdd,
|
71
|
+
et as MembersList,
|
72
|
+
st as Organization,
|
73
|
+
nt as OrganizationEdit,
|
74
|
+
ct as Organizations,
|
75
|
+
dt as OrganizationsSection,
|
76
|
+
Ct as Publics,
|
77
|
+
ft as Rating,
|
78
|
+
Ot as Socials,
|
79
|
+
gt as Unit,
|
80
|
+
bt as User,
|
81
|
+
Dt as departmentsStore,
|
82
|
+
xt as invitesStore,
|
83
|
+
Ut as membershipsStore,
|
84
|
+
Rt as organizationStore,
|
85
|
+
St as organizationsRouter
|
62
86
|
};
|
@@ -6,7 +6,7 @@ require("bcryptjs");
|
|
6
6
|
require("uuidv4");
|
7
7
|
const require$$0 = require("mongoose");
|
8
8
|
const require$$5 = require("@googlemaps/google-maps-services-js");
|
9
|
-
const addMembersQuantity$1 = require("./addMembersQuantity-
|
9
|
+
const addMembersQuantity$1 = require("./addMembersQuantity-7147aa4a.js");
|
10
10
|
require("mongodb");
|
11
11
|
const controllerFactory$5 = (db) => {
|
12
12
|
const Department = db.department;
|
@@ -196,6 +196,14 @@ const controllerFactory$4 = (db) => {
|
|
196
196
|
as: "departments"
|
197
197
|
}
|
198
198
|
},
|
199
|
+
{
|
200
|
+
$lookup: {
|
201
|
+
from: "spots",
|
202
|
+
localField: "_id",
|
203
|
+
foreignField: "organization",
|
204
|
+
as: "spots"
|
205
|
+
}
|
206
|
+
},
|
199
207
|
{
|
200
208
|
$lookup: {
|
201
209
|
from: "memberships",
|
@@ -211,25 +219,6 @@ const controllerFactory$4 = (db) => {
|
|
211
219
|
numberOfProducts: { $size: "$products" }
|
212
220
|
}
|
213
221
|
},
|
214
|
-
{
|
215
|
-
$project: {
|
216
|
-
_id: 1,
|
217
|
-
products: 1,
|
218
|
-
profile: 1,
|
219
|
-
types: 1,
|
220
|
-
owner: 1,
|
221
|
-
contacts: 1,
|
222
|
-
rating: 1,
|
223
|
-
socials: 1,
|
224
|
-
numberOfProducts: 1,
|
225
|
-
numberOfSubscribers: 1,
|
226
|
-
memberships: 1,
|
227
|
-
isMember: 1,
|
228
|
-
isSubscriber: 1,
|
229
|
-
isBlocked: 1,
|
230
|
-
departments: 1
|
231
|
-
}
|
232
|
-
},
|
233
222
|
...matchStage != null ? [matchStage] : [],
|
234
223
|
{ $sort: sort },
|
235
224
|
{ $skip: options.skip },
|
@@ -5,7 +5,7 @@ import "bcryptjs";
|
|
5
5
|
import "uuidv4";
|
6
6
|
import require$$0 from "mongoose";
|
7
7
|
import require$$5 from "@googlemaps/google-maps-services-js";
|
8
|
-
import { a as addUserStatusFields_1, b as addMembersQuantity_1 } from "./addMembersQuantity-
|
8
|
+
import { a as addUserStatusFields_1, b as addMembersQuantity_1 } from "./addMembersQuantity-eac999f0.mjs";
|
9
9
|
import "mongodb";
|
10
10
|
const controllerFactory$5 = (db) => {
|
11
11
|
const Department = db.department;
|
@@ -195,6 +195,14 @@ const controllerFactory$4 = (db) => {
|
|
195
195
|
as: "departments"
|
196
196
|
}
|
197
197
|
},
|
198
|
+
{
|
199
|
+
$lookup: {
|
200
|
+
from: "spots",
|
201
|
+
localField: "_id",
|
202
|
+
foreignField: "organization",
|
203
|
+
as: "spots"
|
204
|
+
}
|
205
|
+
},
|
198
206
|
{
|
199
207
|
$lookup: {
|
200
208
|
from: "memberships",
|
@@ -210,25 +218,6 @@ const controllerFactory$4 = (db) => {
|
|
210
218
|
numberOfProducts: { $size: "$products" }
|
211
219
|
}
|
212
220
|
},
|
213
|
-
{
|
214
|
-
$project: {
|
215
|
-
_id: 1,
|
216
|
-
products: 1,
|
217
|
-
profile: 1,
|
218
|
-
types: 1,
|
219
|
-
owner: 1,
|
220
|
-
contacts: 1,
|
221
|
-
rating: 1,
|
222
|
-
socials: 1,
|
223
|
-
numberOfProducts: 1,
|
224
|
-
numberOfSubscribers: 1,
|
225
|
-
memberships: 1,
|
226
|
-
isMember: 1,
|
227
|
-
isSubscriber: 1,
|
228
|
-
isBlocked: 1,
|
229
|
-
departments: 1
|
230
|
-
}
|
231
|
-
},
|
232
221
|
...matchStage != null ? [matchStage] : [],
|
233
222
|
{ $sort: sort },
|
234
223
|
{ $skip: options.skip },
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const o=require("vue");require("./auth-06d35b82.js");const c=require("./index-b41aac19.js"),s=require("./globals-928eb13c.js"),n=c.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),t=o.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],coverImage:"",images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],description:""}}),u={async create(e,r){const a={...r,organization:e};return await n.post("/products/create",a).then(i=>(d(i.data,"current"),Promise.resolve(i.data)),i=>(s.setError(i),Promise.reject(i)))},async read(e={}){let r={params:{}};e._id&&(r.params._id=e._id),e.category&&(r.params.category=e.category),r.params.skip=e.skip||0,r.params.limit=e.limit||10,e.organization&&(r.params.organization=e.organization),console.log(e),e.status&&(r.params.status=e.status),r.params.sort="createdAt",console.log(r);try{const a=await n.get("/products/read",{params:r.params});return e._id?t.current=a.data[0]:t.all=a.data,Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}},async update(e,r){return await n.post("/products/"+e,r).then(a=>Promise.resolve(a.data),a=>(s.setError(a),Promise.reject(a)))},async deleteProduct(e){return await n.delete("/products/"+e).then(r=>Promise.resolve(r.data),r=>(s.setError(r),Promise.reject(r)))},async submitMood(e=null){return console.log(e),n.post("/product/recommended",{mood:e}).then(r=>(t.current=r.data.product,t.current.recommendation=r.data.recommendationText,Promise.resolve(r.data)),r=>(console.log(r),s.setError(r),Promise.reject(r)))},async fetchProducts(){return await n.get("/products/read").then(e=>(t.all=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await n.get("/products/popular").then(e=>(t.popular=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await n.get("/products").then(e=>{let r=e.data.filter(function(a,i){return a.status!=="unpublished"});return t.all=r,t.filtered=r.slice(),t.filteredPrice=t.filtered,t.filteredPrice.sort(function(a,i){return a[t.sort.current]>i[t.sort.current]?t.sort.ascending?1:-1:a[t.sort.current]<i[t.sort.current]?t.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(s.setError(e),Promise.reject(e)))},async fetchProduct(e){return await n.get("/products/"+e).then(r=>(r.localization||(r.localization=[]),t.current=r.data,Promise.resolve(r.data)),r=>(s.setError(r),Promise.reject(r)))},async fetchProductPopular(){return await n.get("/products").then(e=>(t.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(s.setError(e),Promise.reject(e)))}};function d(e,r){t[r]=e}o.watch(t,(e,r)=>{});exports.actions=u;exports.state=t;
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import { reactive as c, watch as o } from "vue";
|
2
|
+
import "./auth-ec618cb3.mjs";
|
3
|
+
import { a as u } from "./index-a661083c.mjs";
|
4
|
+
import { s } from "./globals-96ba60e4.mjs";
|
5
|
+
const n = u.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = c({
|
6
|
+
all: [],
|
7
|
+
current: {
|
8
|
+
recommendation: !1,
|
9
|
+
category: [],
|
10
|
+
status: "unpublished",
|
11
|
+
information: [],
|
12
|
+
coverImage: "",
|
13
|
+
images: [],
|
14
|
+
files: [],
|
15
|
+
image3d: !1,
|
16
|
+
name: "",
|
17
|
+
sale: 0,
|
18
|
+
price: 0,
|
19
|
+
localization: [],
|
20
|
+
modifications: [],
|
21
|
+
description: ""
|
22
|
+
}
|
23
|
+
}), g = {
|
24
|
+
async create(e, t) {
|
25
|
+
const a = {
|
26
|
+
...t,
|
27
|
+
organization: e
|
28
|
+
};
|
29
|
+
return await n.post("/products/create", a).then(
|
30
|
+
(i) => (d(i.data, "current"), Promise.resolve(i.data)),
|
31
|
+
(i) => (s(i), Promise.reject(i))
|
32
|
+
);
|
33
|
+
},
|
34
|
+
async read(e = {}) {
|
35
|
+
let t = { params: {} };
|
36
|
+
e._id && (t.params._id = e._id), e.category && (t.params.category = e.category), t.params.skip = e.skip || 0, t.params.limit = e.limit || 10, e.organization && (t.params.organization = e.organization), console.log(e), e.status && (t.params.status = e.status), t.params.sort = "createdAt", console.log(t);
|
37
|
+
try {
|
38
|
+
const a = await n.get("/products/read", { params: t.params });
|
39
|
+
return e._id ? r.current = a.data[0] : r.all = a.data, Promise.resolve(a.data);
|
40
|
+
} catch (a) {
|
41
|
+
return s(a), Promise.reject(a);
|
42
|
+
}
|
43
|
+
},
|
44
|
+
async update(e, t) {
|
45
|
+
return await n.post("/products/" + e, t).then(
|
46
|
+
(a) => Promise.resolve(a.data),
|
47
|
+
(a) => (s(a), Promise.reject(a))
|
48
|
+
);
|
49
|
+
},
|
50
|
+
async deleteProduct(e) {
|
51
|
+
return await n.delete("/products/" + e).then(
|
52
|
+
(t) => Promise.resolve(t.data),
|
53
|
+
(t) => (s(t), Promise.reject(t))
|
54
|
+
);
|
55
|
+
},
|
56
|
+
async submitMood(e = null) {
|
57
|
+
return console.log(e), n.post("/product/recommended", { mood: e }).then(
|
58
|
+
(t) => (r.current = t.data.product, r.current.recommendation = t.data.recommendationText, Promise.resolve(t.data)),
|
59
|
+
(t) => (console.log(t), s(t), Promise.reject(t))
|
60
|
+
);
|
61
|
+
},
|
62
|
+
async fetchProducts() {
|
63
|
+
return await n.get("/products/read").then(
|
64
|
+
(e) => (r.all = e.data, Promise.resolve(e.data)),
|
65
|
+
(e) => (s(e), Promise.reject(e))
|
66
|
+
);
|
67
|
+
},
|
68
|
+
async fetchProductsPopular() {
|
69
|
+
return await n.get("/products/popular").then(
|
70
|
+
(e) => (r.popular = e.data, Promise.resolve(e.data)),
|
71
|
+
(e) => (s(e), Promise.reject(e))
|
72
|
+
);
|
73
|
+
},
|
74
|
+
async fetchProductsPublished() {
|
75
|
+
return await n.get("/products").then(
|
76
|
+
(e) => {
|
77
|
+
let t = e.data.filter(function(a, i) {
|
78
|
+
return a.status !== "unpublished";
|
79
|
+
});
|
80
|
+
return r.all = t, r.filtered = t.slice(), r.filteredPrice = r.filtered, r.filteredPrice.sort(function(a, i) {
|
81
|
+
return a[r.sort.current] > i[r.sort.current] ? r.sort.ascending ? 1 : -1 : a[r.sort.current] < i[r.sort.current] ? r.sort.ascending ? -1 : 1 : 0;
|
82
|
+
}), Promise.resolve(e.data);
|
83
|
+
},
|
84
|
+
(e) => (s(e), Promise.reject(e))
|
85
|
+
);
|
86
|
+
},
|
87
|
+
async fetchProduct(e) {
|
88
|
+
return await n.get("/products/" + e).then(
|
89
|
+
(t) => (t.localization || (t.localization = []), r.current = t.data, Promise.resolve(t.data)),
|
90
|
+
(t) => (s(t), Promise.reject(t))
|
91
|
+
);
|
92
|
+
},
|
93
|
+
async fetchProductPopular() {
|
94
|
+
return await n.get("/products").then(
|
95
|
+
(e) => (r.all = e.data.slice(1, 5), Promise.resolve(e.data.slice(1, 5))),
|
96
|
+
(e) => (s(e), Promise.reject(e))
|
97
|
+
);
|
98
|
+
}
|
99
|
+
};
|
100
|
+
function d(e, t) {
|
101
|
+
r[t] = e;
|
102
|
+
}
|
103
|
+
o(r, (e, t) => {
|
104
|
+
});
|
105
|
+
export {
|
106
|
+
g as a,
|
107
|
+
r as s
|
108
|
+
};
|