@ozdao/prometheus-framework 0.1.99 → 0.2.0
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/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +20 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +12 -12
- 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 +11 -11
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +18 -18
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
- 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.js +2 -2
- 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 +13 -13
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +4 -4
- 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 +8 -8
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +8 -8
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/EditImages/EditImages.vue +3 -3
- package/src/components/EmptyState/EmptyState.vue +2 -2
- package/src/components/Field/Field.svlt +1 -1
- package/src/components/Field/Field.vue +1 -1
- package/src/components/FieldTags/BlockTags.vue +4 -4
- package/src/components/Footer/Footer.vue +8 -8
- package/src/components/LocationSelection/LocationSelection.vue +4 -4
- package/src/components/Search/Search.vue +3 -3
- package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
- package/src/configurator/components/pages/Styles.vue +3 -3
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
- package/src/modules/auth/components/pages/Invite.vue +6 -6
- package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
- package/src/modules/auth/components/pages/SignIn.vue +11 -11
- package/src/modules/auth/components/pages/SignUp.vue +11 -11
- package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
- package/src/modules/backoffice/components/admin/Categories.vue +2 -2
- package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
- package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
- package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/User.vue +6 -6
- package/src/modules/backoffice/components/admin/Users.vue +4 -4
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +4 -4
- package/src/modules/community/components/pages/Community.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
- package/src/modules/community/components/sections/Comments.vue +5 -5
- package/src/modules/community/components/sections/Feed.vue +2 -2
- package/src/modules/community/components/sections/JoinUs.vue +2 -2
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
- package/src/modules/constructor/components/elements/Audio.vue +2 -2
- package/src/modules/constructor/components/elements/Bullets.vue +1 -1
- package/src/modules/constructor/components/elements/Caption.vue +1 -1
- package/src/modules/constructor/components/elements/Embed.vue +2 -2
- package/src/modules/constructor/components/elements/H2.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +19 -5
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +4 -4
- package/src/modules/events/components/blocks/CardEvent.vue +5 -5
- package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +12 -12
- package/src/modules/events/components/pages/Event.vue +4 -4
- package/src/modules/events/components/pages/Events.vue +1 -1
- package/src/modules/events/components/sections/Feed.vue +2 -2
- package/src/modules/events/components/sections/List.vue +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
- package/src/modules/globals/components/sections/Feed.vue +1 -1
- package/src/modules/landing/components/sections/MobileApp.vue +7 -7
- package/src/modules/legal/components/pages/Legal.vue +5 -5
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
- package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
- package/src/modules/orders/components/blocks/Positions.vue +8 -8
- package/src/modules/orders/components/pages/EditOrder.vue +19 -19
- package/src/modules/orders/components/pages/Favorites.vue +2 -2
- package/src/modules/orders/components/pages/Order.vue +5 -5
- package/src/modules/orders/components/pages/Orders.vue +5 -5
- package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
- package/src/modules/orders/components/partials/ShopCart.vue +3 -3
- package/src/modules/orders/components/sections/Form.vue +12 -12
- package/src/modules/orders/components/sections/Succes.vue +4 -4
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
- package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
- package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
- package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +6 -6
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/pages/Organization.vue +5 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
- package/src/modules/organizations/components/pages/Organizations.vue +2 -2
- package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
- package/src/modules/organizations/components/sections/Documents.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
- package/src/modules/organizations/components/sections/MembersList.vue +2 -2
- package/src/modules/organizations/components/sections/Unit.vue +12 -12
- package/src/modules/payments/components/pages/Payments.vue +3 -3
- package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
- package/src/modules/products/components/blocks/CardProduct.vue +3 -3
- package/src/modules/products/components/blocks/EditCategories.vue +4 -4
- package/src/modules/products/components/blocks/EditFilters.vue +4 -4
- package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
- package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
- package/src/modules/products/components/pages/Leftovers.vue +5 -5
- package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
- package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
- package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
- package/src/modules/products/components/pages/ProductEdit.vue +5 -5
- package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
- package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
- package/src/modules/products/components/sections/EditModifications.vue +8 -8
- package/src/modules/products/components/sections/EditParameters.vue +4 -4
- package/src/modules/products/components/sections/EditProductImages.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
- package/src/modules/products/components/sections/FilterProducts.vue +9 -9
- package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
- package/src/modules/products/components/sections/PopularProducts.vue +1 -1
- package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
- package/src/modules/products/components/sections/SectionProduct.vue +6 -6
- package/src/modules/products/components/sections/SortProducts.vue +1 -1
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/reports/components/sections/FormReport.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +3 -3
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
- package/src/modules/spots/components/sections/Feed.vue +2 -2
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/pages/Profile.vue +13 -13
- package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
- package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
- package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
- package/src/modules/wallet/components/pages/Wallet.vue +17 -17
- package/src/styles/base/all.scss +83 -324
- package/src/styles/base/border-radius.scss +47 -0
- package/src/styles/base/height.scss +60 -0
- package/src/styles/base/scrolling.scss +8 -8
- package/src/styles/base/width.scss +2 -0
- package/src/styles/config.scss +153 -51
- package/src/styles/responsive.scss +2 -2
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ref as o, onMounted as h, openBlock as a, createElementBlock as s, Fragment as y, createVNode as c, Transition as d, withCtx as m, unref as v, createBlock as p, createCommentVNode as
|
1
|
+
import { ref as o, onMounted as h, openBlock as a, createElementBlock as s, Fragment as y, createVNode as c, Transition as d, withCtx as m, unref as v, createBlock as p, createCommentVNode as b, normalizeClass as _, renderList as S } from "vue";
|
2
2
|
import N from "../../../../components/Loader/Loader.vue2.js";
|
3
3
|
import C from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import B from "../blocks/CardBlogpost.vue.js";
|
5
|
-
import { read as
|
5
|
+
import { read as k } from "../../store/blogposts.js";
|
6
6
|
const $ = {
|
7
7
|
__name: "Feed",
|
8
8
|
props: {
|
@@ -49,7 +49,7 @@ const $ = {
|
|
49
49
|
const w = async () => {
|
50
50
|
if (r.value) {
|
51
51
|
u.value += i.value;
|
52
|
-
const t = await
|
52
|
+
const t = await k({
|
53
53
|
skip: u.value,
|
54
54
|
limit: i.value,
|
55
55
|
category: e.category,
|
@@ -64,7 +64,7 @@ const $ = {
|
|
64
64
|
}
|
65
65
|
};
|
66
66
|
return h(async () => {
|
67
|
-
const t = await
|
67
|
+
const t = await k({
|
68
68
|
skip: u.value,
|
69
69
|
limit: i.value,
|
70
70
|
category: e.category,
|
@@ -82,7 +82,7 @@ const $ = {
|
|
82
82
|
v(n) ? (a(), p(N, {
|
83
83
|
key: 0,
|
84
84
|
class: "z-index-5 pos-t-50 left-t-50 pos-absolute"
|
85
|
-
})) :
|
85
|
+
})) : b("", !0)
|
86
86
|
]),
|
87
87
|
_: 1
|
88
88
|
}),
|
@@ -92,7 +92,7 @@ const $ = {
|
|
92
92
|
key: 0,
|
93
93
|
title: "No Blog Posts Found",
|
94
94
|
description: "Currently, there are no posts available in this blog. Please check back later.",
|
95
|
-
class: "pd-medium mn-thin bg-grey radius-big"
|
95
|
+
class: "pd-medium mn-b-thin bg-grey radius-big"
|
96
96
|
})) : (a(), s("div", {
|
97
97
|
key: 1,
|
98
98
|
class: _(t.$attrs.class)
|
@@ -101,7 +101,7 @@ const $ = {
|
|
101
101
|
key: g._id,
|
102
102
|
blogpost: g,
|
103
103
|
user: f.user,
|
104
|
-
class: "mn-medium"
|
104
|
+
class: "mn-b-medium"
|
105
105
|
}, null, 8, ["blogpost", "user"]))), 128)),
|
106
106
|
c(d, { name: "scaleTransition" }, {
|
107
107
|
default: m(() => [
|
@@ -109,7 +109,7 @@ const $ = {
|
|
109
109
|
key: 0,
|
110
110
|
onClick: w,
|
111
111
|
class: "w-100 bg-main button"
|
112
|
-
}, " Load more ")) :
|
112
|
+
}, " Load more ")) : b("", !0)
|
113
113
|
]),
|
114
114
|
_: 1
|
115
115
|
})
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./JoinUs.vue2.cjs");const g={class:"container container-joinus"},h={class:"content"},p={class:"h0 mn-big"},_=e.createElementVNode("p",{class:"w-m-33r t-center mn-small p-big"},"Together, we're shaping the future of the globals cannabis community.",-1),w=e.createElementVNode("button",{class:"bg-black t-white button"},"Join Now",-1),v={__name:"JoinUs",setup(f){const s=e.ref(120950),o=e.ref(["/assets/images/reviews/01.png","/assets/images/reviews/02.png","/assets/images/reviews/03.png","/assets/images/reviews/04.png","/assets/images/reviews/05.png","/assets/images/reviews/06.png"]),i=()=>{setInterval(()=>{s.value+=Math.floor(Math.random()*5)+1},330)},t={minSize:"6rem",maxSize:"10rem",minDuration:5,maxDuration:15,spawnPoints:[10,90]};e.onMounted(()=>{r(),i()});const r=()=>{o.value.forEach((a,c)=>{let n=document.createElement("img");n.src=a,n.classList.add("floating-image");let l=t.spawnPoints[Math.floor(Math.random()*t.spawnPoints.length)],m=(Math.random()-.5)*2*10;n.style.left=`${l+m}%`,n.style.animationDuration=`${Math.random()*(t.maxDuration-t.minDuration)+t.minDuration}s`,document.querySelector(".container").appendChild(n),n.addEventListener("animationiteration",()=>{const u=t.spawnPoints[Math.floor(Math.random()*t.spawnPoints.length)],d=(Math.random()-.5)*2*10;n.style.left=`${u+d}%`})})};return(a,c)=>(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",h,[e.createElementVNode("span",p,e.toDisplayString(s.value.toLocaleString()),1),_,w])]))}};exports.default=v;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./JoinUs.vue2.cjs");const g={class:"container container-joinus"},h={class:"content"},p={class:"h0 mn-b-big"},_=e.createElementVNode("p",{class:"w-m-33r t-center mn-b-small p-big"},"Together, we're shaping the future of the globals cannabis community.",-1),w=e.createElementVNode("button",{class:"bg-black t-white button"},"Join Now",-1),v={__name:"JoinUs",setup(f){const s=e.ref(120950),o=e.ref(["/assets/images/reviews/01.png","/assets/images/reviews/02.png","/assets/images/reviews/03.png","/assets/images/reviews/04.png","/assets/images/reviews/05.png","/assets/images/reviews/06.png"]),i=()=>{setInterval(()=>{s.value+=Math.floor(Math.random()*5)+1},330)},t={minSize:"6rem",maxSize:"10rem",minDuration:5,maxDuration:15,spawnPoints:[10,90]};e.onMounted(()=>{r(),i()});const r=()=>{o.value.forEach((a,c)=>{let n=document.createElement("img");n.src=a,n.classList.add("floating-image");let l=t.spawnPoints[Math.floor(Math.random()*t.spawnPoints.length)],m=(Math.random()-.5)*2*10;n.style.left=`${l+m}%`,n.style.animationDuration=`${Math.random()*(t.maxDuration-t.minDuration)+t.minDuration}s`,document.querySelector(".container").appendChild(n),n.addEventListener("animationiteration",()=>{const u=t.spawnPoints[Math.floor(Math.random()*t.spawnPoints.length)],d=(Math.random()-.5)*2*10;n.style.left=`${u+d}%`})})};return(a,c)=>(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",h,[e.createElementVNode("span",p,e.toDisplayString(s.value.toLocaleString()),1),_,w])]))}};exports.default=v;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as o, onMounted as u, openBlock as h, createElementBlock as w, createElementVNode as n, toDisplayString as _ } from "vue";
|
2
2
|
import "./JoinUs.vue2.js";
|
3
|
-
const v = { class: "container container-joinus" }, f = { class: "content" },
|
3
|
+
const v = { class: "container container-joinus" }, f = { class: "content" }, b = { class: "h0 mn-b-big" }, M = /* @__PURE__ */ n("p", { class: "w-m-33r t-center mn-b-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), D = /* @__PURE__ */ n("button", { class: "bg-black t-white button" }, "Join Now", -1), E = {
|
4
4
|
__name: "JoinUs",
|
5
5
|
setup(P) {
|
6
6
|
const s = o(120950), i = o([
|
@@ -37,8 +37,8 @@ const v = { class: "container container-joinus" }, f = { class: "content" }, M =
|
|
37
37
|
};
|
38
38
|
return (a, m) => (h(), w("div", v, [
|
39
39
|
n("div", f, [
|
40
|
-
n("span",
|
41
|
-
|
40
|
+
n("span", b, _(s.value.toLocaleString()), 1),
|
41
|
+
M,
|
42
42
|
D
|
43
43
|
])
|
44
44
|
]));
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/FieldBig/FieldBig.vue.cjs");require("./SubscribeNewsletter.vue2.cjs");const r={class:"pd-thin"},a={class:"o-hidden t-black bg-main pd-big radius-big"},l=e.createElementVNode("header",{class:"t-center z-index-1 mn-big"},[e.createElementVNode("h2",{class:"mn-l-auto mn-r-auto w-m-40r mn-medium"},"Stay Updated with The Latest in Cannabis."),e.createElementVNode("p",{class:"t-transp p-big"},"Subscribe to our newsletter for news, insights, and more from the Weeder universe.")],-1),d={class:"z-index-1 mn-big w-100 flex-nowrap flex"},u=e.createElementVNode("div",{class:"w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid"},[e.createElementVNode("div",{class:"spiral"})],-1),c={__name:"SubscribeNewsletter",setup(m){let t=e.ref("");return(s,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.createElementVNode("div",a,[l,e.createElementVNode("div",d,[e.createVNode(i.default,{input:e.unref(t),typingSpeed:75,loopTyping:!1,enableTyping:!1,placeholder:"Please enter your email",action:"Subscribe","onUpdate:input":n[0]||(n[0]=o=>e.isRef(t)?t.value=o:t=o),onAction:n[1]||(n[1]=o=>s.router.push({name:"Product Recommmendation",query:{mood:s.mood}})),class:"mn-l-auto mn-r-auto bg-white t-black w-50"},null,8,["input"])]),u])]))}};exports.default=c;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/FieldBig/FieldBig.vue.cjs");require("./SubscribeNewsletter.vue2.cjs");const r={class:"pd-thin"},a={class:"o-hidden t-black bg-main pd-big radius-big"},l=e.createElementVNode("header",{class:"t-center z-index-1 mn-b-big"},[e.createElementVNode("h2",{class:"mn-l-auto mn-r-auto w-m-40r mn-b-medium"},"Stay Updated with The Latest in Cannabis."),e.createElementVNode("p",{class:"t-transp p-big"},"Subscribe to our newsletter for news, insights, and more from the Weeder universe.")],-1),d={class:"z-index-1 mn-b-big w-100 flex-nowrap flex"},u=e.createElementVNode("div",{class:"w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid"},[e.createElementVNode("div",{class:"spiral"})],-1),c={__name:"SubscribeNewsletter",setup(m){let t=e.ref("");return(s,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.createElementVNode("div",a,[l,e.createElementVNode("div",d,[e.createVNode(i.default,{input:e.unref(t),typingSpeed:75,loopTyping:!1,enableTyping:!1,placeholder:"Please enter your email",action:"Subscribe","onUpdate:input":n[0]||(n[0]=o=>e.isRef(t)?t.value=o:t=o),onAction:n[1]||(n[1]=o=>s.router.push({name:"Product Recommmendation",query:{mood:s.mood}})),class:"mn-l-auto mn-r-auto bg-white t-black w-50"},null,8,["input"])]),u])]))}};exports.default=c;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { ref as i, openBlock as a, createElementBlock as r, createElementVNode as e, createVNode as l, unref as d, isRef as m } from "vue";
|
2
2
|
import p from "../../../../components/FieldBig/FieldBig.vue.js";
|
3
3
|
import "./SubscribeNewsletter.vue2.js";
|
4
|
-
const c = { class: "pd-thin" }, u = { class: "o-hidden t-black bg-main pd-big radius-big" }, b = /* @__PURE__ */ e("header", { class: "t-center z-index-1 mn-big" }, [
|
5
|
-
/* @__PURE__ */ e("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-medium" }, "Stay Updated with The Latest in Cannabis."),
|
4
|
+
const c = { class: "pd-thin" }, u = { class: "o-hidden t-black bg-main pd-big radius-big" }, b = /* @__PURE__ */ e("header", { class: "t-center z-index-1 mn-b-big" }, [
|
5
|
+
/* @__PURE__ */ e("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-b-medium" }, "Stay Updated with The Latest in Cannabis."),
|
6
6
|
/* @__PURE__ */ e("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
|
7
|
-
], -1), f = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, h = /* @__PURE__ */ e("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
|
7
|
+
], -1), f = { class: "z-index-1 mn-b-big w-100 flex-nowrap flex" }, h = /* @__PURE__ */ e("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
|
8
8
|
/* @__PURE__ */ e("div", { class: "spiral" })
|
9
9
|
], -1), y = {
|
10
10
|
__name: "SubscribeNewsletter",
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../../components/Upload/Upload.vue.cjs"),m={class:"mn-thin w-100 pd-medium bg-white radius-medium"},p=["innerHTML"],
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../../components/Upload/Upload.vue.cjs"),m={class:"mn-b-thin w-100 pd-medium bg-white radius-medium"},p=["innerHTML"],b={key:1,class:""},v={__name:"Audio",props:["label","value","prop"],emits:["input","updateBlock"],setup(l,{emit:a}){const o=e.ref(null),i=l,u=a;function s(t){return[/youtube\.com/,/soundcloud\.com/,/vimeo\.com/].some(c=>c.test(t))}function d(t){o.value=t,o.value&&s(o.value)?(u("input",o.value),u("updateBlock",i.prop,{content:o.value})):alert("Invalid embed code or source not allowed.")}return(t,n)=>(e.openBlock(),e.createElementBlock("div",m,[l.prop.content?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:l.prop.content,class:"flex-center flex"},null,8,p)):(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(r.default,{field:o.value,"onUpdate:field":n[0]||(n[0]=c=>o.value=c),onFileChange:d,type:"file",placeholder:"Enter embed code",class:"w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-b-thin"},null,8,["field"]),e.createElementVNode("button",{onClick:d,class:"button-small button"}," Save ")]))]))}};exports.default=v;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as m, openBlock as d, createElementBlock as i, createVNode as p, createElementVNode as b } from "vue";
|
2
2
|
import f from "../../../../components/Upload/Upload.vue.js";
|
3
|
-
const v = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, k = ["innerHTML"], h = {
|
3
|
+
const v = { class: "mn-b-thin w-100 pd-medium bg-white radius-medium" }, k = ["innerHTML"], h = {
|
4
4
|
key: 1,
|
5
5
|
class: ""
|
6
6
|
}, _ = {
|
@@ -31,7 +31,7 @@ const v = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, k = ["inn
|
|
31
31
|
onFileChange: c,
|
32
32
|
type: "file",
|
33
33
|
placeholder: "Enter embed code",
|
34
|
-
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"
|
34
|
+
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-b-thin"
|
35
35
|
}, null, 8, ["field"]),
|
36
36
|
b("button", {
|
37
37
|
onClick: c,
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=["placeholder"],h={__name:"Bullets",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(t,{emit:p}){const l=t;e.ref(l);const r=e.ref(null),i=p;function f(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(u=>{const d=o.exec(u);return d?d[1]:null}).filter(u=>u!==null);s.length>0?(l.prop[l.content]=s,a()):n.target.value.trim()===""&&(l.prop[l.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>l.prop[l.content],n=>{(!n||n.length===0)&&i("deleteBlock",l.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(t.prop[t.content])+" ",1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>t.prop[t.content]=c),placeholder:t.placeholder?t.placeholder:"Enter text",onInput:f,onFocus:o[1]||(o[1]=c=>i("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"text-area mn-small"},`
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=["placeholder"],h={__name:"Bullets",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(t,{emit:p}){const l=t;e.ref(l);const r=e.ref(null),i=p;function f(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(u=>{const d=o.exec(u);return d?d[1]:null}).filter(u=>u!==null);s.length>0?(l.prop[l.content]=s,a()):n.target.value.trim()===""&&(l.prop[l.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>l.prop[l.content],n=>{(!n||n.length===0)&&i("deleteBlock",l.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(t.prop[t.content])+" ",1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>t.prop[t.content]=c),placeholder:t.placeholder?t.placeholder:"Enter text",onInput:f,onFocus:o[1]||(o[1]=c=>i("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"text-area mn-b-small"},`
|
2
2
|
`,40,m),[[e.vModelText,t.prop[t.content]]])]))}};exports.default=h;
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as d, onUpdated as f, onMounted as x, watch as h, openBlock as v, createElementBlock as g, createTextVNode as
|
1
|
+
import { ref as d, onUpdated as f, onMounted as x, watch as h, openBlock as v, createElementBlock as g, createTextVNode as b, toDisplayString as k, withDirectives as B, createElementVNode as y, vModelText as E } from "vue";
|
2
2
|
const D = ["placeholder"], M = {
|
3
3
|
__name: "Bullets",
|
4
4
|
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref"],
|
@@ -25,8 +25,8 @@ const D = ["placeholder"], M = {
|
|
25
25
|
}), h(() => t.prop[t.content], (l) => {
|
26
26
|
(!l || l.length === 0) && i("deleteBlock", t.prop);
|
27
27
|
}), (l, n) => (v(), g("div", null, [
|
28
|
-
k(
|
29
|
-
|
28
|
+
b(k(e.prop[e.content]) + " ", 1),
|
29
|
+
B(y("textarea", {
|
30
30
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.prop[e.content] = r),
|
31
31
|
placeholder: e.placeholder ? e.placeholder : "Enter text",
|
32
32
|
onInput: m,
|
@@ -34,7 +34,7 @@ const D = ["placeholder"], M = {
|
|
34
34
|
ref_key: "textarea",
|
35
35
|
ref: o,
|
36
36
|
tabindex: "-1",
|
37
|
-
class: "text-area mn-small"
|
37
|
+
class: "text-area mn-b-small"
|
38
38
|
}, `
|
39
39
|
`, 40, D), [
|
40
40
|
[E, e.prop[e.content]]
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=["placeholder"],h={__name:"Caption",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(l,{emit:p}){const t=l;e.ref(t);const r=e.ref(null),u=p;function m(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(i=>{const d=o.exec(i);return d?d[1]:null}).filter(i=>i!==null);s.length>0?(t.prop[t.content]=s,a()):n.target.value.trim()===""&&(t.prop[t.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>t.prop[t.content],n=>{(!n||n.length===0)&&u("deleteBlock",t.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>l.prop[l.content]=c),placeholder:l.placeholder?l.placeholder:"Enter text",onInput:m,onFocus:o[1]||(o[1]=c=>u("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"br-l br-solid br-main pd-l-small text-area mn-small"},`
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=["placeholder"],h={__name:"Caption",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(l,{emit:p}){const t=l;e.ref(t);const r=e.ref(null),u=p;function m(n){const o=/^\s*[-*]\s+(.*)/;let s=n.target.value.split(/\n+/).map(i=>{const d=o.exec(i);return d?d[1]:null}).filter(i=>i!==null);s.length>0?(t.prop[t.content]=s,a()):n.target.value.trim()===""&&(t.prop[t.content]=[],a())}function a(){r.value.style.height="1rem",r.value.style.height=r.value.scrollHeight+"px"}return e.onUpdated(()=>{a()}),e.onMounted(()=>{a()}),e.watch(()=>t.prop[t.content],n=>{(!n||n.length===0)&&u("deleteBlock",t.prop)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=c=>l.prop[l.content]=c),placeholder:l.placeholder?l.placeholder:"Enter text",onInput:m,onFocus:o[1]||(o[1]=c=>u("focus",r.value)),ref_key:"textarea",ref:r,tabindex:"-1",class:"br-l br-solid br-main pd-l-small text-area mn-b-small"},`
|
2
2
|
`,40,f),[[e.vModelText,l.prop[l.content]]])]))}};exports.default=h;
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js
CHANGED
@@ -33,7 +33,7 @@ const y = ["placeholder"], I = {
|
|
33
33
|
ref_key: "textarea",
|
34
34
|
ref: o,
|
35
35
|
tabindex: "-1",
|
36
|
-
class: "br-l br-solid br-main pd-l-small text-area mn-small"
|
36
|
+
class: "br-l br-solid br-main pd-l-small text-area mn-b-small"
|
37
37
|
}, `
|
38
38
|
`, 40, y), [
|
39
39
|
[B, t.prop[t.content]]
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Field/Field.vue2.cjs"),m={class:"mn-thin w-100 pd-medium bg-white radius-medium"},p=["innerHTML"],b={key:1,class:""},v=e.createElementVNode("p",{class:"t-center"},"Embeds from youtube.com, vimeo.com, soundcloud.com are allowed",-1),f={__name:"Embed",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:a}){const o=e.ref(null),d=t,c=a;function u(s){return[/youtube\.com/,/soundcloud\.com/,/vimeo\.com/].some(n=>n.test(s))}function r(){o.value&&u(o.value)?(c("input",o.value),c("updateBlock",d.prop,{content:o.value})):alert("Invalid embed code or source not allowed.")}return(s,l)=>(e.openBlock(),e.createElementBlock("div",m,[t.prop.content?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:t.prop.content,class:"flex-center flex"},null,8,p)):(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(i.default,{field:o.value,"onUpdate:field":l[0]||(l[0]=n=>o.value=n),type:"textarea",placeholder:"Paste your embed code here",class:"w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"},null,8,["field"]),e.createElementVNode("div",{class:"flex-v-center flex-nowrap flex gap-small"},[v,e.createElementVNode("button",{onClick:r,class:"button-small button"}," Save ")])]))]))}};exports.default=f;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Field/Field.vue2.cjs"),m={class:"mn-b-thin w-100 pd-medium bg-white radius-medium"},p=["innerHTML"],b={key:1,class:""},v=e.createElementVNode("p",{class:"t-center"},"Embeds from youtube.com, vimeo.com, soundcloud.com are allowed",-1),f={__name:"Embed",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:a}){const o=e.ref(null),d=t,c=a;function u(s){return[/youtube\.com/,/soundcloud\.com/,/vimeo\.com/].some(n=>n.test(s))}function r(){o.value&&u(o.value)?(c("input",o.value),c("updateBlock",d.prop,{content:o.value})):alert("Invalid embed code or source not allowed.")}return(s,l)=>(e.openBlock(),e.createElementBlock("div",m,[t.prop.content?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:t.prop.content,class:"flex-center flex"},null,8,p)):(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(i.default,{field:o.value,"onUpdate:field":l[0]||(l[0]=n=>o.value=n),type:"textarea",placeholder:"Paste your embed code here",class:"w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-b-thin"},null,8,["field"]),e.createElementVNode("div",{class:"flex-v-center flex-nowrap flex gap-small"},[v,e.createElementVNode("button",{onClick:r,class:"button-small button"}," Save ")])]))]))}};exports.default=f;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as p, openBlock as n, createElementBlock as s, createVNode as b, createElementVNode as c } from "vue";
|
2
2
|
import f from "../../../../components/Field/Field.vue2.js";
|
3
|
-
const v = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, k = ["innerHTML"], x = {
|
3
|
+
const v = { class: "mn-b-thin w-100 pd-medium bg-white radius-medium" }, k = ["innerHTML"], x = {
|
4
4
|
key: 1,
|
5
5
|
class: ""
|
6
6
|
}, h = /* @__PURE__ */ c("p", { class: "t-center" }, "Embeds from youtube.com, vimeo.com, soundcloud.com are allowed", -1), y = {
|
@@ -30,7 +30,7 @@ const v = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, k = ["inn
|
|
30
30
|
"onUpdate:field": t[0] || (t[0] = (l) => e.value = l),
|
31
31
|
type: "textarea",
|
32
32
|
placeholder: "Paste your embed code here",
|
33
|
-
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"
|
33
|
+
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-b-thin"
|
34
34
|
}, null, 8, ["field"]),
|
35
35
|
c("div", { class: "flex-v-center flex-nowrap flex gap-small" }, [
|
36
36
|
h,
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./H2.vue2.cjs");const k=["placeholder"],x={__name:"H2",props:["obj","label","prop","value","content","textarea","placeholder","index","ref","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(a,{emit:s}){const t=a;e.ref(t);const o=e.ref(null),c=s;e.ref(0);function d(n){let l=n.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let u=l.slice(1).map(f=>({type:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:u,ref:o})}else n.target.value.trim()===""&&n.target.value.includes(`
|
2
2
|
|
3
|
-
`)&&(console.log("We are adding new block:"+t.index+newBlocks+o),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:o})),r()}function p(n){(n.keyCode===8||n.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{o.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){o.value.style.height="1rem",o.value.style.height=o.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.watch(()=>t.prop[t.content],n=>{}),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>a.prop[a.content]=u),placeholder:a.placeholder?a.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>c("focus",o.value)),onKeyup:p,ref_key:"textarea",ref:o,tabindex:"-1",class:"h3 text-area mn-thin"},`
|
3
|
+
`)&&(console.log("We are adding new block:"+t.index+newBlocks+o),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:o})),r()}function p(n){(n.keyCode===8||n.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{o.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){o.value.style.height="1rem",o.value.style.height=o.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.watch(()=>t.prop[t.content],n=>{}),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>a.prop[a.content]=u),placeholder:a.placeholder?a.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>c("focus",o.value)),onKeyup:p,ref_key:"textarea",ref:o,tabindex:"-1",class:"h3 text-area mn-b-thin"},`
|
4
4
|
`,40,k),[[e.vModelText,a.prop[a.content]]])]))}};exports.default=x;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ref as d, onUpdated as x, nextTick as s, onMounted as h, watch as m, openBlock as B, createElementBlock as g, withDirectives as v, createElementVNode as y, vModelText as
|
1
|
+
import { ref as d, onUpdated as x, nextTick as s, onMounted as h, watch as m, openBlock as B, createElementBlock as g, withDirectives as v, createElementVNode as y, vModelText as b } from "vue";
|
2
2
|
import "./H2.vue2.js";
|
3
|
-
const
|
3
|
+
const w = ["placeholder"], E = {
|
4
4
|
__name: "H2",
|
5
5
|
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref", "setFocus"],
|
6
6
|
emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
|
@@ -52,10 +52,10 @@ const b = ["placeholder"], E = {
|
|
52
52
|
ref_key: "textarea",
|
53
53
|
ref: t,
|
54
54
|
tabindex: "-1",
|
55
|
-
class: "h3 text-area mn-thin"
|
55
|
+
class: "h3 text-area mn-b-thin"
|
56
56
|
}, `
|
57
|
-
`, 40,
|
58
|
-
[
|
57
|
+
`, 40, w), [
|
58
|
+
[b, l.prop[l.content]]
|
59
59
|
])
|
60
60
|
]));
|
61
61
|
}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r={key:0,class:"o-hidden radius-big pos-relative bg-grey mn-b-small w-100"},l=["src"],n=["src"],s={__name:"Image",props:["label","value","prop"],setup(t){return(o,a)=>t.prop.content?(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+t.prop.content,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto w-100 object-fit-contain",style:{"max-height":"40rem"}},null,8,l),e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+t.prop.content,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,n)])):e.createCommentVNode("",!0)}};exports.default=s;
|
@@ -1,5 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
const
|
1
|
+
import { openBlock as r, createElementBlock as n, createElementVNode as o, createCommentVNode as s } from "vue";
|
2
|
+
const l = {
|
3
|
+
key: 0,
|
4
|
+
class: "o-hidden radius-big pos-relative bg-grey mn-b-small w-100"
|
5
|
+
}, a = ["src"], c = ["src"], p = {
|
3
6
|
__name: "Image",
|
4
7
|
props: [
|
5
8
|
"label",
|
@@ -7,16 +10,22 @@ const n = { class: "w-100 bg-white radius-big image-upload-area flex-v-center fl
|
|
7
10
|
"prop"
|
8
11
|
],
|
9
12
|
setup(e) {
|
10
|
-
return
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}, null, 8,
|
17
|
-
|
13
|
+
return (t, i) => e.prop.content ? (r(), n("div", l, [
|
14
|
+
o("img", {
|
15
|
+
src: (t.FILE_SERVER_URL || "") + e.prop.content,
|
16
|
+
alt: "Event image",
|
17
|
+
class: "pos-relative z-index-1 d-block mn-auto w-100 object-fit-contain",
|
18
|
+
style: { "max-height": "40rem" }
|
19
|
+
}, null, 8, a),
|
20
|
+
o("img", {
|
21
|
+
src: (t.FILE_SERVER_URL || "") + e.prop.content,
|
22
|
+
alt: "Event Background",
|
23
|
+
class: "z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",
|
24
|
+
style: { transform: "scale(1.5)", filter: "blur(2rem)", "-webkit-filter": "blur(2rem)" }
|
25
|
+
}, null, 8, c)
|
26
|
+
])) : s("", !0);
|
18
27
|
}
|
19
28
|
};
|
20
29
|
export {
|
21
|
-
|
30
|
+
p as default
|
22
31
|
};
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../../../node_modules/axios/lib/axios.cjs"),v=["src"],h={key:1,class:"t-transp pd-extra"},y={__name:"ImageUpload",props:["label","value","prop"],emits:["input","updateBlock"],setup(l,{emit:p}){const n=e.ref(null),r=e.ref(null),u=l,i=p;function d(){r.value.click()}async function s(t){let o=t.target.files[0];console.log(o);let a=new FormData,m="unsorted";a.append("file",o),console.log(a.has("file"));try{let g=await k.default.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(m)}`,a,{headers:{"Content-Type":"multipart/form-data"}});n.value=g.data.filepath,console.log(n.value),i("input",n.value),i("updateBlock",u.prop,{content:n.value})}catch(c){console.error(c)}}function f(t){t.preventDefault(),s({target:{files:t.dataTransfer.files}})}return(t,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:d,onDrop:f,onDragover:o[0]||(o[0]=e.withModifiers(()=>{},["prevent"])),class:"w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-small"},[l.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:(t.FILE_SERVER_URL||"")+l.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,v)):(e.openBlock(),e.createElementBlock("span",h,"Click or drag-and-drop your image")),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:r,tabindex:"-1",onChange:s,style:{display:"none"}},null,544)],32))}};exports.default=y;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../../../node_modules/axios/lib/axios.cjs"),v=["src"],h={key:1,class:"t-transp pd-extra"},y={__name:"ImageUpload",props:["label","value","prop"],emits:["input","updateBlock"],setup(l,{emit:p}){const n=e.ref(null),r=e.ref(null),u=l,i=p;function d(){r.value.click()}async function s(t){let o=t.target.files[0];console.log(o);let a=new FormData,m="unsorted";a.append("file",o),console.log(a.has("file"));try{let g=await k.default.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(m)}`,a,{headers:{"Content-Type":"multipart/form-data"}});n.value=g.data.filepath,console.log(n.value),i("input",n.value),i("updateBlock",u.prop,{content:n.value})}catch(c){console.error(c)}}function f(t){t.preventDefault(),s({target:{files:t.dataTransfer.files}})}return(t,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:d,onDrop:f,onDragover:o[0]||(o[0]=e.withModifiers(()=>{},["prevent"])),class:"w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-b-small"},[l.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:(t.FILE_SERVER_URL||"")+l.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,v)):(e.openBlock(),e.createElementBlock("span",h,"Click or drag-and-drop your image")),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:r,tabindex:"-1",onChange:s,style:{display:"none"}},null,544)],32))}};exports.default=y;
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js
CHANGED
@@ -44,7 +44,7 @@ const C = ["src"], b = {
|
|
44
44
|
onDrop: g,
|
45
45
|
onDragover: t[0] || (t[0] = v(() => {
|
46
46
|
}, ["prevent"])),
|
47
|
-
class: "w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-small"
|
47
|
+
class: "w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-b-small"
|
48
48
|
}, [
|
49
49
|
n.prop.content ? (l(), r("img", {
|
50
50
|
key: 0,
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Textarea.vue.cjs");const k=["placeholder"],x={__name:"Textarea",props:["prop","value","content","placeholder","index","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(l,{emit:s}){const t=l,c=s;e.ref(t);const n=e.ref(null);e.ref(0);function d(a){let o=a.target.value.split(/\n+/);if(o.length>1){t.prop[t.content]=o[0],e.nextTick(()=>{r()});let u=o.slice(1).map(f=>({__name:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:u,ref:n})}else a.target.value.trim()===""&&a.target.value.includes(`
|
2
2
|
|
3
|
-
`)&&(console.log("We are adding new block:"+t.index+newBlocks+n),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:n})),r()}function p(a){(a.keyCode===8||a.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{n.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){n.value.style.height="1rem",n.value.style.height=n.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=u=>l.prop[l.content]=u),placeholder:l.placeholder?l.placeholder:"Enter text",onInput:d,onFocus:o[1]||(o[1]=u=>c("focus",n.value)),onKeyup:p,ref_key:"textarea",ref:n,tabindex:"-1",class:"text-area mn-thin"},`
|
3
|
+
`)&&(console.log("We are adding new block:"+t.index+newBlocks+n),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:n})),r()}function p(a){(a.keyCode===8||a.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{n.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){n.value.style.height="1rem",n.value.style.height=n.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=u=>l.prop[l.content]=u),placeholder:l.placeholder?l.placeholder:"Enter text",onInput:d,onFocus:o[1]||(o[1]=u=>c("focus",n.value)),onKeyup:p,ref_key:"textarea",ref:n,tabindex:"-1",class:"text-area mn-b-thin"},`
|
4
4
|
`,40,k),[[e.vModelText,l.prop[l.content]]])]))}};exports.default=x;
|
package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as d, onUpdated as x, nextTick as s, onMounted as m, openBlock as h, createElementBlock as B, withDirectives as g, createElementVNode as v, vModelText as y } from "vue";
|
2
2
|
import "./Textarea.vue.js";
|
3
|
-
const T = ["placeholder"],
|
3
|
+
const T = ["placeholder"], F = {
|
4
4
|
__name: "Textarea",
|
5
5
|
props: ["prop", "value", "content", "placeholder", "index", "setFocus"],
|
6
6
|
emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
|
@@ -51,7 +51,7 @@ const T = ["placeholder"], b = {
|
|
51
51
|
ref_key: "textarea",
|
52
52
|
ref: t,
|
53
53
|
tabindex: "-1",
|
54
|
-
class: "text-area mn-thin"
|
54
|
+
class: "text-area mn-b-thin"
|
55
55
|
}, `
|
56
56
|
`, 40, T), [
|
57
57
|
[y, n.prop[n.content]]
|
@@ -60,5 +60,5 @@ const T = ["placeholder"], b = {
|
|
60
60
|
}
|
61
61
|
};
|
62
62
|
export {
|
63
|
-
|
63
|
+
F as default
|
64
64
|
};
|
package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),E=require("../elements/Textarea.vue2.cjs"),x=require("../elements/H2.vue.cjs"),N=require("../elements/Caption.vue.cjs"),y=require("../elements/Bullets.vue.cjs"),A=require("../elements/ImageUpload.vue.cjs"),V=require("../elements/Embed.vue.cjs"),q=require("../elements/Audio.vue.cjs"),D=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),M=["onMouseover"],T={key:0,class:"z-index-5 radius-thin pd-thin bg-white w-max mn-small flex-nowrap flex-column flex"},$=["onClick"],F=["onClick"],I=["onClick"],S=["onClick"],U={__name:"Constructor",props:["content"],emits:["update"],setup(v,{emit:f}){const k=v,u=f;let t=e.ref(null);e.ref(null),t.value={content:k.content};const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),E=require("../elements/Textarea.vue2.cjs"),x=require("../elements/H2.vue.cjs"),N=require("../elements/Caption.vue.cjs"),y=require("../elements/Bullets.vue.cjs"),A=require("../elements/ImageUpload.vue.cjs"),V=require("../elements/Embed.vue.cjs"),q=require("../elements/Audio.vue.cjs"),D=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),M=["onMouseover"],T={key:0,class:"z-index-5 radius-thin pd-thin bg-white w-max mn-b-small flex-nowrap flex-column flex"},$=["onClick"],F=["onClick"],I=["onClick"],S=["onClick"],U={__name:"Constructor",props:["content"],emits:["update"],setup(v,{emit:f}){const k=v,u=f;let t=e.ref(null);e.ref(null),t.value={content:k.content};const b={Textarea:E.default,H2:x.default,Bullets:y.default,Caption:N.default,ImageUpload:A.default,Embed:V.default,Audio:q.default};function s(c="Textarea",l="",n,o){console.log("We are adding new block (functuin HandleAddBlock):"+c+l+n+o);let a={order:t.value.content.length+1,type:c,style:"",class:"",content:l,blocks:[],setFocus:!0};if(o&&o.blocks&&Array.isArray(o.blocks)){let m=o.blocks.map(_=>({...a,content:_.content})),B=[(o.index||n)+1,0].concat(m);t.value.content.splice.apply(t.value.content,B);const C=m[m.length-1];console.log("New block is"+C)}else n!==void 0?(t.value.content.splice(n+1,0,a),console.log("Latest block is"+a)):(console.log("Another block is"+a),t.value.content.push(a));i.value=null,u("update",t.value.content)}function g(c,l){const n=t.value.content.findIndex(o=>o===c);n!==-1&&(t.value.content[n]={...t.value.content[n],...l}),u("update",t.value.content)}function p(c){let l=t.value.content.findIndex(n=>n===c);l!==-1&&t.value.content.splice(l,1),t.value.content[l-1].setFocus=!0,u("update",t.value.content)}const i=e.ref(null),d=e.ref(!1),r=e.ref(!1);function h(){d.value=!0}function w(){d.value=!1}return e.watchEffect(()=>{t.value&&t.value.content.length===0&&s("Textarea",""),u("update",t.value.content)}),(c,l)=>(e.openBlock(),e.createElementBlock("section",null,[e.unref(t).content?(e.openBlock(),e.createBlock(e.unref(D.VueDraggableNext),{key:0,class:"w-full",list:e.unref(t).content,onStart:h,onEnd:w},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).content,(n,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"pos-relative"},[e.createElementVNode("div",{onMouseover:a=>(i.value=o,r.value=!1),class:"pos-relative w-full h-full"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b[n.type]),{index:o,component:n,prop:n,class:e.normalizeClass(n.class),setFocus:n.setFocus,content:"content",onDeleteBlock:p,onAddBlock:s,onUpdateBlock:g},null,40,["index","component","prop","class","setFocus"]))],40,M),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value===o?(e.openBlock(),e.createElementBlock("div",{key:0,class:"pos-absolute z-index-4 i-semi",style:{right:"calc(100% + 0.5rem)",top:"calc(50% - 1.125rem)"},onMousedown:l[1]||(l[1]=e.withModifiers(a=>d.value=!0,["prevent"]))},[e.createElementVNode("button",{onClick:l[0]||(l[0]=a=>r.value=!r.value),class:"mn-b-small cursor-pointer w-100 i-semi bg-white radius-thin"},e.toDisplayString(n.content?"...":"+"),1),r.value?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",{onClick:a=>p(n),class:"mn-b-thin w-max t-red bg-white button-small button"}," Remove ",8,$),e.createElementVNode("span",{onClick:a=>s("ImageUpload","",o),class:"mn-b-thin w-max t-black bg-white button-small button"}," Add Image ",8,F),e.createElementVNode("span",{onClick:a=>s("H2","",o),class:"w-max button-small t-black bg-white button"}," Add Title ",8,I),e.createElementVNode("span",{onClick:a=>s("Embed","",o),class:"w-max button-small t-black bg-white button"}," Add Embed ",8,S)])):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)]),_:2},1024)]))),128))]),_:1},8,["list"])):e.createCommentVNode("",!0)]))}};exports.default=U;
|
package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as u, watchEffect as M, openBlock as a, createElementBlock as r, unref as p, createBlock as
|
1
|
+
import { ref as u, watchEffect as M, openBlock as a, createElementBlock as r, unref as p, createBlock as _, withCtx as g, Fragment as N, renderList as I, createElementVNode as c, resolveDynamicComponent as T, normalizeClass as U, createVNode as V, Transition as z, withModifiers as H, toDisplayString as S, createCommentVNode as k } from "vue";
|
2
2
|
import L from "../elements/Textarea.vue2.js";
|
3
3
|
import R from "../elements/H2.vue.js";
|
4
4
|
import W from "../elements/Caption.vue.js";
|
@@ -9,7 +9,7 @@ import J from "../elements/Audio.vue.js";
|
|
9
9
|
import { VueDraggableNext as K } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
10
10
|
const O = ["onMouseover"], P = {
|
11
11
|
key: 0,
|
12
|
-
class: "z-index-5 radius-thin pd-thin bg-white w-max mn-small flex-nowrap flex-column flex"
|
12
|
+
class: "z-index-5 radius-thin pd-thin bg-white w-max mn-b-small flex-nowrap flex-column flex"
|
13
13
|
}, Q = ["onClick"], X = ["onClick"], Y = ["onClick"], Z = ["onClick"], ue = {
|
14
14
|
__name: "Constructor",
|
15
15
|
props: ["content"],
|
@@ -54,7 +54,7 @@ const O = ["onMouseover"], P = {
|
|
54
54
|
const t = e.value.content.findIndex((n) => n === s);
|
55
55
|
t !== -1 && (e.value.content[t] = { ...e.value.content[t], ...o }), m("update", e.value.content);
|
56
56
|
}
|
57
|
-
function
|
57
|
+
function b(s) {
|
58
58
|
let o = e.value.content.findIndex((t) => t === s);
|
59
59
|
o !== -1 && e.value.content.splice(o, 1), e.value.content[o - 1].setFocus = !0, m("update", e.value.content);
|
60
60
|
}
|
@@ -68,14 +68,14 @@ const O = ["onMouseover"], P = {
|
|
68
68
|
return M(() => {
|
69
69
|
e.value && e.value.content.length === 0 && i("Textarea", ""), m("update", e.value.content);
|
70
70
|
}), (s, o) => (a(), r("section", null, [
|
71
|
-
p(e).content ? (a(),
|
71
|
+
p(e).content ? (a(), _(p(K), {
|
72
72
|
key: 0,
|
73
73
|
class: "w-full",
|
74
74
|
list: p(e).content,
|
75
75
|
onStart: y,
|
76
76
|
onEnd: A
|
77
77
|
}, {
|
78
|
-
default:
|
78
|
+
default: g(() => [
|
79
79
|
(a(!0), r(N, null, I(p(e).content, (t, n) => (a(), r("div", {
|
80
80
|
key: n,
|
81
81
|
class: "pos-relative"
|
@@ -84,20 +84,20 @@ const O = ["onMouseover"], P = {
|
|
84
84
|
onMouseover: (l) => (f.value = n, d.value = !1),
|
85
85
|
class: "pos-relative w-full h-full"
|
86
86
|
}, [
|
87
|
-
(a(),
|
87
|
+
(a(), _(T($[t.type]), {
|
88
88
|
index: n,
|
89
89
|
component: t,
|
90
90
|
prop: t,
|
91
91
|
class: U(t.class),
|
92
92
|
setFocus: t.setFocus,
|
93
93
|
content: "content",
|
94
|
-
onDeleteBlock:
|
94
|
+
onDeleteBlock: b,
|
95
95
|
onAddBlock: i,
|
96
96
|
onUpdateBlock: B
|
97
97
|
}, null, 40, ["index", "component", "prop", "class", "setFocus"]))
|
98
98
|
], 40, O),
|
99
99
|
V(z, { name: "fade" }, {
|
100
|
-
default:
|
100
|
+
default: g(() => [
|
101
101
|
f.value === n ? (a(), r("div", {
|
102
102
|
key: 0,
|
103
103
|
class: "pos-absolute z-index-4 i-semi",
|
@@ -106,16 +106,16 @@ const O = ["onMouseover"], P = {
|
|
106
106
|
}, [
|
107
107
|
c("button", {
|
108
108
|
onClick: o[0] || (o[0] = (l) => d.value = !d.value),
|
109
|
-
class: "mn-small cursor-pointer w-100 i-semi bg-white radius-thin"
|
109
|
+
class: "mn-b-small cursor-pointer w-100 i-semi bg-white radius-thin"
|
110
110
|
}, S(t.content ? "..." : "+"), 1),
|
111
111
|
d.value ? (a(), r("div", P, [
|
112
112
|
c("span", {
|
113
|
-
onClick: (l) =>
|
114
|
-
class: "mn-thin w-max t-red bg-white button-small button"
|
113
|
+
onClick: (l) => b(t),
|
114
|
+
class: "mn-b-thin w-max t-red bg-white button-small button"
|
115
115
|
}, " Remove ", 8, Q),
|
116
116
|
c("span", {
|
117
117
|
onClick: (l) => i("ImageUpload", "", n),
|
118
|
-
class: "mn-thin w-max t-black bg-white button-small button"
|
118
|
+
class: "mn-b-thin w-max t-black bg-white button-small button"
|
119
119
|
}, " Add Image ", 8, X),
|
120
120
|
c("span", {
|
121
121
|
onClick: (l) => i("H2", "", n),
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-grey mn-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-grey mn-b-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},b={key:0,class:"t-semi"},B={class:"t-semi"},D={key:0,class:"t-semi uppercase"},U={key:1,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},N={key:0,class:""},V={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},S={key:2,class:"mn-b-small p-big"},x={__name:"CardEvent",props:["event","user","short","type"],setup(t){e.ref(new Date),k.useRouter();const o=t;e.computed(()=>o.event.content.find(n=>n.type.name==="ImageUpload")),e.computed(()=>o.event.content.find(n=>n.type.name==="Textarea"));const u=e.computed(()=>{const n=new Date,s=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()),r=new Date(o.event.date.start),a=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds())-s;if(a<0)return"Finished";if(a===0)return"Starting Now";{const d=Math.floor(a/1e3),l=Math.floor(d/60),c=Math.floor(l/60),m=Math.floor(c/24);return m>0?`${m} days until event`:c>0?`${c} hours until event`:l>0?`${l} minutes until event`:`${d} seconds until event`}}),v=e.computed(()=>{const n=new Date(o.event.date.start),s={day:"2-digit",month:"2-digit"};return n.toLocaleDateString(void 0,s)}),h=e.computed(()=>{console.log(o.event.date.start),console.log(o.event.date.end);const n=new Date(o.event.date.start),s=new Date(o.event.date.end),r=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(n),i=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(s);return`${r}-${i}`}),f=e.computed(()=>{const n=o.event.name;return n.length>26?`${n.substring(0,22)}…`:n});return(n,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.event,entityType:"event",user:t.user,owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:u.value},null,8,["class","entity","user","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,E),e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,T)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(y.default,{key:0,onClick:s[0]||(s[0]=e.withModifiers(r=>n.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-b-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",w,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",b,e.toDisplayString(v.value)+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",B,e.toDisplayString(h.value),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",N,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",V,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",S,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(g.default,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}};exports.default=x;
|