@ozdao/prometheus-framework 0.2.130 → 0.2.133
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +0 -1
- package/dist/auth.server.mjs +0 -1
- package/dist/community.server.js +172 -31
- package/dist/community.server.mjs +172 -31
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +38 -4
- package/dist/files.server.mjs +38 -4
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/main-CI9l9xMs.js +92 -0
- package/dist/main-DPg58GOU.mjs +14509 -0
- package/dist/main.css +1 -1
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +4 -3
- package/dist/organizations.server.mjs +4 -3
- package/dist/products.server.js +2 -1
- package/dist/products.server.mjs +2 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +22 -23
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +26 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +32 -33
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +14 -15
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +57 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +93 -87
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +22 -23
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +39 -39
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +5 -5
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -0
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +46 -47
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +13 -0
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +22 -23
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +77 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +14 -15
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +9 -10
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +37 -34
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +11 -11
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
- 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 +54 -71
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
- 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 +86 -76
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +58 -28
- 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 +71 -80
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
- 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 +99 -54
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +27 -28
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
- 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 +31 -29
- 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 +32 -27
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +67 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
- 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 +119 -112
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +22 -22
- 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 +27 -27
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
- 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 +39 -38
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- 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 +112 -85
- 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 +36 -35
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +18 -18
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +32 -37
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +29 -29
- 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 +53 -35
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +154 -77
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +14 -14
- package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
- package/dist/queryProcessor-iewDZq_f.js +178 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +80 -27
- package/dist/wallet.server.mjs +80 -27
- package/dist/web-DZUec7pP.js +1 -0
- package/dist/web-krQQeSb6.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/Chips/Chips.vue +1 -1
- package/src/components/Completion/Completion.vue +1 -4
- package/src/components/DatePicker/Calendar.vue +1 -1
- package/src/components/Draggable/Draggable.vue +113 -0
- package/src/components/Dropdown/Dropdown.vue +1 -1
- package/src/components/Feed/Feed.vue +18 -12
- package/src/components/FieldBig/FieldBig.vue +11 -1
- package/src/components/FieldPhone/FieldPhone.vue +1 -1
- package/src/components/FieldTags/FieldTags.vue +2 -1
- package/src/components/FieldTags/tag-input.vue +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/components/Shader/Shader.vue +2 -2
- package/src/components/Slider/Slider.vue +1 -5
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Text/Text.vue +1 -4
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/Upload/Upload.vue +5 -3
- package/src/modules/auth/controllers/auth.controller.js +0 -2
- package/src/modules/auth/store/auth.js +2 -2
- package/src/modules/community/DOCUMENTATION.MD +4 -0
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
- package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
- package/src/modules/community/components/layouts/Community.vue +15 -11
- package/src/modules/community/components/pages/Blog.vue +25 -32
- package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
- package/src/modules/community/components/sections/Comment.vue +123 -0
- package/src/modules/community/components/sections/Comments.vue +90 -19
- package/src/modules/community/components/sections/HotPosts.vue +3 -6
- package/src/modules/community/controllers/blog.controller.js +1 -1
- package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
- package/src/modules/community/controllers/comments.controller.js +187 -38
- package/src/modules/community/controllers/comments.controller.populate.js +180 -0
- package/src/modules/community/models/comment.model.js +15 -0
- package/src/modules/community/store/blogposts.js +20 -2
- package/src/modules/constructor/components/elements/Audio.vue +28 -40
- package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
- package/src/modules/constructor/components/elements/Video.vue +10 -18
- package/src/modules/constructor/components/sections/Constructor.vue +54 -47
- package/src/modules/files/controllers/files.controller.js +2 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
- package/src/modules/files/routes/files.routes.js +8 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
- package/src/modules/globals/components/partials/Header.vue +12 -7
- package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
- package/src/modules/icons/logos/Logotype.vue +8 -6
- package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
- package/src/modules/marketplace/store/marketplace.js +2 -8
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +33 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
- package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
- package/src/modules/organizations/components/sections/Publics.vue +2 -2
- package/src/modules/organizations/controllers/memberships.controller.js +2 -3
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/store/memberships.js +4 -1
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
- package/src/modules/products/models/product.model.js +2 -1
- package/src/modules/spots/components/layouts/Spots.vue +0 -3
- package/src/modules/spots/components/pages/Map.vue +13 -3
- package/src/modules/users/components/blocks/CardUser.vue +2 -2
- package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
- package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
- package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
- package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
- package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
- package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
- package/src/modules/wallet/localization/Wallet.json +22 -0
- package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
- package/src/styles/base/all.scss +16 -26
- package/src/styles/config.scss +70 -34
- package/src/styles/typography.scss +5 -5
- package/src/modules/community/components/sections/Feed.vue +0 -148
- package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
- package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -30,8 +30,8 @@ const createThumbnail = async (originalPath) => {
|
|
30
30
|
|
31
31
|
const resizeOptions = {};
|
32
32
|
|
33
|
-
if (metadata.width >
|
34
|
-
resizeOptions.width =
|
33
|
+
if (metadata.width > 512) {
|
34
|
+
resizeOptions.width = 512;
|
35
35
|
}
|
36
36
|
|
37
37
|
await sharp(originalPath)
|
@@ -174,6 +174,7 @@ const middlewareFactory = (db, publicPath) => {
|
|
174
174
|
|
175
175
|
const uploadFilesMiddleware = (req, res, next) => {
|
176
176
|
const allowedTypes = [
|
177
|
+
// Images
|
177
178
|
'image/png',
|
178
179
|
'image/jpeg',
|
179
180
|
'image/jpg',
|
@@ -183,11 +184,19 @@ const middlewareFactory = (db, publicPath) => {
|
|
183
184
|
'image/webp',
|
184
185
|
'image/tiff',
|
185
186
|
'image/bmp',
|
186
|
-
'application/pdf',
|
187
187
|
'image/svg+xml',
|
188
|
+
// Video
|
188
189
|
'video/mp4',
|
189
190
|
'video/quicktime',
|
190
|
-
'video/webm'
|
191
|
+
'video/webm',
|
192
|
+
// Audito
|
193
|
+
'audio/mpeg',
|
194
|
+
'audio/wav',
|
195
|
+
'audio/ogg',
|
196
|
+
'audio/flac',
|
197
|
+
'audio/aac',
|
198
|
+
'audio/x-ms-wma',
|
199
|
+
'audio/aiff'
|
191
200
|
];
|
192
201
|
|
193
202
|
handleFileUpload(req, res, next, publicPath, {
|
@@ -197,6 +206,24 @@ const middlewareFactory = (db, publicPath) => {
|
|
197
206
|
});
|
198
207
|
};
|
199
208
|
|
209
|
+
const uploadAudioMiddleware = (req, res, next) => {
|
210
|
+
const allowedTypes = [
|
211
|
+
'audio/mpeg',
|
212
|
+
'audio/wav',
|
213
|
+
'audio/ogg',
|
214
|
+
'audio/flac',
|
215
|
+
'audio/aac',
|
216
|
+
'audio/x-ms-wma',
|
217
|
+
'audio/aiff'
|
218
|
+
];
|
219
|
+
|
220
|
+
handleFileUpload(req, res, next, publicPath, {
|
221
|
+
folderNameDefault: 'unsorted',
|
222
|
+
maxSize: 10 * 1024 * 1024,
|
223
|
+
allowedTypes
|
224
|
+
});
|
225
|
+
};
|
226
|
+
|
200
227
|
const uploadImagesMiddleware = (req, res, next) => {
|
201
228
|
const allowedTypes = [
|
202
229
|
'image/png',
|
@@ -219,6 +246,7 @@ const middlewareFactory = (db, publicPath) => {
|
|
219
246
|
|
220
247
|
return {
|
221
248
|
uploadImagesMiddleware,
|
249
|
+
uploadAudioMiddleware,
|
222
250
|
uploadFilesMiddleware,
|
223
251
|
generatePreviewMiddleware,
|
224
252
|
convertImagesMiddleware
|
@@ -20,6 +20,14 @@ module.exports = function(app, db, origins, publicPath) {
|
|
20
20
|
controller.uploadMultipleFileController
|
21
21
|
);
|
22
22
|
|
23
|
+
app.post(
|
24
|
+
"/api/upload/audio",
|
25
|
+
[
|
26
|
+
middlewareBusboy.uploadAudioMiddleware,
|
27
|
+
],
|
28
|
+
controller.uploadMultipleFileController
|
29
|
+
);
|
30
|
+
|
23
31
|
app.post(
|
24
32
|
"/api/upload/multiple",
|
25
33
|
[
|
@@ -4,6 +4,8 @@ import { ref } from 'vue';
|
|
4
4
|
import Checkbox from "@pf/src/components/Checkbox/Checkbox.vue";
|
5
5
|
import Spoiler from "@pf/src/components/Spoiler/Spoiler.vue"
|
6
6
|
|
7
|
+
import IconChevronBottom from '@pf/src/modules/icons/navigation/IconChevronBottom.vue'
|
8
|
+
|
7
9
|
const props = defineProps({
|
8
10
|
title: {
|
9
11
|
type: String,
|
@@ -18,14 +20,17 @@ const filter = defineModel('filter')
|
|
18
20
|
</script>
|
19
21
|
|
20
22
|
<template>
|
21
|
-
<div class="w-100 o-
|
23
|
+
<div class="w-100 o-scroll">
|
22
24
|
<Spoiler
|
23
25
|
v-for="filterOption in options"
|
24
|
-
class="
|
26
|
+
class="o-hidden bg-white pd-medium radius-big mn-b-small"
|
25
27
|
:status="true"
|
26
28
|
>
|
27
|
-
<template
|
28
|
-
<
|
29
|
+
<template #header="{ isOpen }">
|
30
|
+
<div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
|
31
|
+
<h4 class="w-100" >{{ filterOption.title }}</h4>
|
32
|
+
<IconChevronBottom :class="{ 'rotate-180': isOpen }" fill="rgb(var(--black))" class="radius-big pd-micro bg-light i-semi"/>
|
33
|
+
</div>
|
29
34
|
</template>
|
30
35
|
|
31
36
|
<template #content>
|
@@ -34,11 +39,16 @@ const filter = defineModel('filter')
|
|
34
39
|
:key="index"
|
35
40
|
:label="checkbox.label"
|
36
41
|
:value="checkbox.value"
|
37
|
-
class="w-100 mn-t-small mn-b-small
|
38
|
-
:radio="filter[filterOption.value]"
|
39
|
-
@update:radio="event => filter[filterOption.value] = event"
|
42
|
+
class="w-100 mn-t-small mn-b-small br-1px br-solid br-light radius-small pd-small"
|
43
|
+
:radio="filter.selected[filterOption.value]"
|
44
|
+
@update:radio="event => filter.selected[filterOption.value] = event"
|
40
45
|
/>
|
46
|
+
|
41
47
|
</template>
|
48
|
+
|
49
|
+
|
42
50
|
</Spoiler>
|
51
|
+
|
52
|
+
<button @click="() => filter.selected = {}" class="bg-main w-100 button">Reset Filters</button>
|
43
53
|
</div>
|
44
54
|
</template>
|
@@ -47,7 +47,7 @@
|
|
47
47
|
id="header"
|
48
48
|
class="
|
49
49
|
pd-thin
|
50
|
-
gap-
|
50
|
+
gap-micro
|
51
51
|
flex-center
|
52
52
|
flex-nowrap
|
53
53
|
flex
|
@@ -62,6 +62,7 @@
|
|
62
62
|
>
|
63
63
|
<!-- MENU -->
|
64
64
|
<button
|
65
|
+
aria-label="menu"
|
65
66
|
@click="() => store.globals.state.isOpenSidebar = !store.globals.state.isOpenSidebar"
|
66
67
|
class="mobile-only menu-btn"
|
67
68
|
:class="{
|
@@ -87,12 +88,12 @@
|
|
87
88
|
class="
|
88
89
|
h-2r
|
89
90
|
w-auto
|
90
|
-
mn-l-thin
|
91
91
|
cursor-pointer
|
92
92
|
"
|
93
93
|
/>
|
94
94
|
|
95
95
|
<button
|
96
|
+
aria-label="button_location"
|
96
97
|
class="
|
97
98
|
cursor-pointer
|
98
99
|
bg-transp
|
@@ -102,15 +103,17 @@
|
|
102
103
|
t-semi
|
103
104
|
br-solid
|
104
105
|
br-2px
|
106
|
+
transition-linear
|
107
|
+
|
105
108
|
"
|
106
109
|
:class="{
|
107
|
-
'br-black t-black': theme === 'light',
|
108
|
-
'br-white t-white': theme === 'dark'
|
110
|
+
'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',
|
111
|
+
'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark'
|
109
112
|
}"
|
110
113
|
@click="openLocationPopup()"
|
111
114
|
>
|
112
|
-
<svg class="i-small" xmlns="http://www.w3.org/2000/svg" width="50" height="67" viewBox="0 0 50 67" fill="none">
|
113
|
-
<path d="M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z" :fill="
|
115
|
+
<svg class="i-small" :fill="'inherit'" xmlns="http://www.w3.org/2000/svg" width="50" height="67" viewBox="0 0 50 67" fill="none">
|
116
|
+
<path d="M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z" :fill="'inherit'"/>
|
114
117
|
</svg>
|
115
118
|
{{store.globals.state.position?.country ? store.globals.state.position.country : 'World'}}
|
116
119
|
</button>
|
@@ -126,7 +129,7 @@
|
|
126
129
|
:label="'Darkmode'"
|
127
130
|
:radio="store.globals.state.theme.darkmode"
|
128
131
|
@update:radio="event => store.globals.actions.toggleTheme()"
|
129
|
-
class="mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra"
|
132
|
+
class="mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra"
|
130
133
|
:theme="theme"
|
131
134
|
:class="{
|
132
135
|
'br-light t-black': theme === 'light',
|
@@ -135,6 +138,7 @@
|
|
135
138
|
/>
|
136
139
|
|
137
140
|
<Button
|
141
|
+
aria-label="shopcart"
|
138
142
|
:submit="a => store.shopcart.actions.toggleShopcart()"
|
139
143
|
:counter="store.shopcart.getters.cartTotalAmount"
|
140
144
|
:showSucces="false"
|
@@ -149,6 +153,7 @@
|
|
149
153
|
</Button>
|
150
154
|
|
151
155
|
<Button
|
156
|
+
aria-label="profile"
|
152
157
|
class="pd-zero bg-transp"
|
153
158
|
:submit="
|
154
159
|
store.auth.state.access.status === false
|
@@ -1,13 +1,15 @@
|
|
1
1
|
<template>
|
2
|
-
<svg width="
|
3
|
-
<
|
4
|
-
<
|
5
|
-
<path
|
6
|
-
<path d="
|
7
|
-
<path d="M294.95 87.9085C294.69 87.2846 294.56 86.5828 294.56 85.8029C294.56 84.9711 295.002 84.0353 295.885 82.9955C296.821 81.9037 298.199 81.3578 300.019 81.3578H317.097C319.125 81.3578 320.996 82.0597 322.712 83.4634C324.428 84.8671 325.649 86.6347 326.377 88.7663L346.965 150.53L365.993 88.7663C367.501 83.8273 370.595 81.3578 375.274 81.3578H389.623C394.302 81.3578 397.395 83.8273 398.903 88.7663L417.931 150.53L438.519 88.7663C439.247 86.6347 440.469 84.8671 442.184 83.4634C443.9 82.0597 445.772 81.3578 447.799 81.3578H464.878C466.645 81.3578 467.971 81.9037 468.855 82.9955C469.791 84.0353 470.259 84.9711 470.259 85.8029C470.259 86.5828 470.155 87.2846 469.947 87.9085L435.166 185.233C433.242 190.536 429.499 193.188 423.936 193.188H412.628C406.857 193.188 403.14 190.536 401.476 185.233L382.448 125.185L363.42 185.233C361.704 190.536 357.987 193.188 352.268 193.188H340.882C335.372 193.188 331.654 190.536 329.731 185.233L294.95 87.9085ZM476.778 183.361C468.772 175.771 464.769 164.853 464.769 150.608C464.769 136.311 468.798 125.341 476.856 117.699C484.915 110.004 496.092 106.157 510.389 106.157C524.687 106.157 535.838 109.9 543.845 117.387C551.851 124.821 555.854 135.505 555.854 149.438V153.883C555.854 155.287 555.386 156.457 554.451 157.393C553.567 158.276 552.423 158.718 551.019 158.718H492.297C492.817 165.113 494.637 169.766 497.756 172.678C500.927 175.589 505.97 177.045 512.885 177.045C519.8 177.045 524.531 175.485 527.078 172.366C529.626 169.246 532.771 167.661 536.514 167.609H548.134C549.538 167.609 550.681 168.077 551.565 169.012C552.501 169.896 552.969 171.04 552.969 172.444C552.969 187.365 538.75 194.799 510.311 194.747C495.962 194.747 484.785 190.952 476.778 183.361ZM492.141 142.264H528.404C527.884 129.994 521.853 123.859 510.311 123.859C498.822 123.859 492.765 129.994 492.141 142.264ZM569.393 183.361C561.386 175.771 557.383 164.853 557.383 150.608C557.383 136.311 561.412 125.341 569.47 117.699C577.529 110.004 588.707 106.157 603.004 106.157C617.301 106.157 628.453 109.9 636.459 117.387C644.466 124.821 648.469 135.505 648.469 149.438V153.883C648.469 155.287 648.001 156.457 647.065 157.393C646.181 158.276 645.037 158.718 643.634 158.718H584.911C585.431 165.113 587.251 169.766 590.37 172.678C593.542 175.589 598.585 177.045 605.499 177.045C612.414 177.045 617.145 175.485 619.692 172.366C622.24 169.246 625.385 167.661 629.129 167.609H640.748C642.152 167.609 643.296 168.077 644.18 169.012C645.115 169.896 645.583 171.04 645.583 172.444C645.583 187.365 631.364 194.799 602.926 194.747C588.577 194.747 577.399 190.952 569.393 183.361ZM584.755 142.264H621.018C620.498 129.994 614.468 123.859 602.926 123.859C591.436 123.859 585.379 129.994 584.755 142.264ZM688.21 194.747C677.344 194.747 668.246 190.926 660.915 183.283C653.636 175.641 649.997 164.697 649.997 150.452C649.997 136.155 653.766 125.211 661.305 117.621C668.895 109.978 679.085 106.157 691.875 106.157C698.478 106.157 705.99 107.483 714.412 110.134V86.1928C714.412 84.7891 714.854 83.6453 715.738 82.7615C716.674 81.8257 717.818 81.3578 719.169 81.3578H736.56C737.964 81.3578 739.107 81.8257 739.991 82.7615C740.927 83.6453 741.395 84.7891 741.395 86.1928V188.43C741.395 189.782 740.927 190.926 739.991 191.862C739.107 192.746 737.964 193.188 736.56 193.188H721.587C720.183 193.188 719.039 192.746 718.156 191.862C717.272 190.926 716.83 189.782 716.83 188.43V186.013C708.616 191.836 699.075 194.747 688.21 194.747ZM697.49 125.029C690.315 125.029 685.246 127.057 682.283 131.112C679.319 135.115 677.838 141.562 677.838 150.452C677.838 159.342 679.241 165.815 682.049 169.87C684.856 173.925 689.067 175.953 694.682 175.953C700.349 175.953 706.926 173.613 714.412 168.934V128.148C707.706 126.069 702.065 125.029 697.49 125.029ZM759.768 183.361C751.762 175.771 747.759 164.853 747.759 150.608C747.759 136.311 751.788 125.341 759.846 117.699C767.905 110.004 779.082 106.157 793.379 106.157C807.677 106.157 818.828 109.9 826.835 117.387C834.841 124.821 838.844 135.505 838.844 149.438V153.883C838.844 155.287 838.376 156.457 837.441 157.393C836.557 158.276 835.413 158.718 834.009 158.718H775.287C775.807 165.113 777.627 169.766 780.746 172.678C783.917 175.589 788.96 177.045 795.875 177.045C802.79 177.045 807.521 175.485 810.068 172.366C812.616 169.246 815.761 167.661 819.504 167.609H831.124C832.528 167.609 833.671 168.077 834.555 169.012C835.491 169.896 835.959 171.04 835.959 172.444C835.959 187.365 821.74 194.799 793.301 194.747C778.952 194.747 767.775 190.952 759.768 183.361ZM775.131 142.264H811.394C810.874 129.994 804.843 123.859 793.301 123.859C781.812 123.859 775.755 129.994 775.131 142.264ZM904.32 127.525L892.311 127.057C885.292 127.057 878.585 130.904 872.191 138.598V188.43C872.191 189.834 871.723 190.978 870.787 191.862C869.903 192.746 868.785 193.188 867.434 193.188H849.965C848.561 193.188 847.417 192.746 846.534 191.862C845.65 190.978 845.208 189.834 845.208 188.43V112.552C845.208 111.148 845.65 110.004 846.534 109.12C847.469 108.184 848.613 107.717 849.965 107.717H867.434C868.837 107.717 869.981 108.184 870.865 109.12C871.749 110.004 872.191 111.148 872.191 112.552V117.465C877.493 113.617 882.588 110.784 887.476 108.964C892.415 107.093 898.861 106.157 906.816 106.157C908.219 106.157 909.363 106.625 910.247 107.561C911.183 108.444 911.651 109.562 911.651 110.914V122.768C911.651 124.171 911.183 125.315 910.247 126.199C909.363 127.083 908.219 127.525 906.816 127.525H904.32Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
2
|
+
<svg width="987" height="256" viewBox="0 0 987 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<rect width="256" height="256" rx="79" fill="rgb(var(--main))"/>
|
4
|
+
<path d="M42.9997 160.326L50.5998 160.326L50.5998 159.476L50.4123 158.648L42.9997 160.326ZM42.9997 168.523L35.3997 168.523L42.9997 168.523ZM129.999 203.826L134.794 197.929L129.999 194.031L125.205 197.929L129.999 203.826ZM216.999 166.549L209.729 164.333L209.399 165.416V166.549H216.999ZM217.399 151.503L209.799 151.409L209.799 151.456V151.503H217.399ZM217.399 150.958H209.799V151.004L209.799 151.051L217.399 150.958ZM184.623 81.5337H177.023V81.597L177.024 81.6604L184.623 81.5337ZM146.387 100.997H153.987V90.9781L144.339 93.6777L146.387 100.997ZM146.386 100.997H138.785V111.016L148.433 108.316L146.386 100.997ZM113.61 81.5938H106.01V81.6451L106.01 81.6965L113.61 81.5938ZM75.3733 101.235H82.9733V91.0201L73.1894 93.9553L75.3733 101.235ZM75.3714 101.235H67.7714V111.45L77.5553 108.515L75.3714 101.235ZM50.1958 59.6048C50.1958 62.3636 47.9593 64.6001 45.2005 64.6001V49.3999C39.5645 49.3999 34.9956 53.9688 34.9956 59.6048H50.1958ZM50.1958 156.693V59.6048H34.9956V156.693H50.1958ZM50.4123 158.648C50.2716 158.026 50.1958 157.373 50.1958 156.693H34.9956C34.9956 158.509 35.199 160.288 35.5871 162.003L50.4123 158.648ZM50.5998 168.523L50.5998 160.326L35.3997 160.326L35.3997 168.523L50.5998 168.523ZM88.4768 206.4C67.5579 206.4 50.5998 189.442 50.5998 168.523L35.3997 168.523C35.3997 197.837 59.1631 221.6 88.4768 221.6V206.4ZM101.329 206.4H88.4768V221.6H101.329V206.4ZM125.205 197.929C118.687 203.229 110.389 206.4 101.329 206.4V221.6C114.007 221.6 125.665 217.145 134.794 209.723L125.205 197.929ZM158.67 206.4C149.61 206.4 141.312 203.229 134.794 197.929L125.205 209.723C134.333 217.145 145.992 221.6 158.67 221.6V206.4ZM171.522 206.4H158.67V221.6H171.522V206.4ZM209.399 168.523C209.399 189.442 192.441 206.4 171.522 206.4V221.6C200.836 221.6 224.599 197.837 224.599 168.523H209.399ZM209.399 166.549V168.523H224.599V166.549H209.399ZM209.799 163.855C209.799 164.033 209.773 164.191 209.729 164.333L224.269 168.765C224.745 167.202 224.999 165.551 224.999 163.855H209.799ZM209.799 151.503V163.855H224.999V151.503H209.799ZM209.8 151.23C209.8 151.291 209.8 151.35 209.799 151.409L224.998 151.596C225 151.474 225 151.352 225 151.23H209.8ZM209.799 151.051C209.8 151.11 209.8 151.17 209.8 151.23H225C225 151.109 225 150.987 224.998 150.864L209.799 151.051ZM209.799 87.1709V150.958H224.999V87.1709H209.799ZM187.228 64.6001C199.693 64.6001 209.799 74.7054 209.799 87.1709H224.999C224.999 66.3106 208.088 49.3999 187.228 49.3999V64.6001ZM192.223 59.6048C192.223 62.3636 189.986 64.6001 187.228 64.6001V49.3999C181.592 49.3999 177.023 53.9688 177.023 59.6048H192.223ZM192.223 81.5337V59.6048H177.023V81.5337H192.223ZM192.226 81.8583C192.226 81.7078 192.224 81.5574 192.222 81.407L177.024 81.6604C177.025 81.726 177.025 81.792 177.025 81.8583H192.226ZM192.226 159.701V81.8583H177.025V159.701H192.226ZM165.506 186.42C180.263 186.42 192.226 174.457 192.226 159.701H177.025C177.025 166.063 171.868 171.22 165.506 171.22V186.42ZM138.787 159.701C138.787 174.457 150.75 186.42 165.506 186.42V171.22C159.145 171.22 153.987 166.063 153.987 159.701H138.787ZM138.787 100.997V159.701H153.987V100.997H138.787ZM148.433 108.316L148.435 108.316L144.339 93.6777L144.338 93.6782L148.433 108.316ZM138.785 87.1709V100.997H153.986V87.1709H138.785ZM116.215 64.6001C128.68 64.6001 138.785 74.7054 138.785 87.1709H153.986C153.986 66.3106 137.075 49.3999 116.215 49.3999V64.6001ZM121.21 59.6048C121.21 62.3636 118.973 64.6001 116.215 64.6001V49.3999C110.579 49.3999 106.01 53.9688 106.01 59.6048H121.21ZM121.21 81.5938V59.6048H106.01V81.5938H121.21ZM106.01 81.6965C106.011 81.7506 106.012 81.8046 106.012 81.8583H121.212C121.212 81.7354 121.211 81.613 121.209 81.491L106.01 81.6965ZM106.012 81.8583V159.701H121.212V81.8583H106.012ZM106.012 159.701C106.012 166.063 100.854 171.22 94.4924 171.22V186.42C109.249 186.42 121.212 174.457 121.212 159.701H106.012ZM94.4924 171.22C88.1306 171.22 82.9733 166.063 82.9733 159.701H67.7732C67.7732 174.457 79.7358 186.42 94.4924 186.42V171.22ZM82.9733 159.701V101.235H67.7732V159.701H82.9733ZM77.5553 108.515C77.5575 108.514 77.5593 108.514 77.5604 108.513C77.5615 108.513 77.5625 108.513 77.5625 108.513C77.5633 108.512 77.5605 108.513 77.5571 108.514L73.1894 93.9553C73.1872 93.9559 73.1854 93.9565 73.1842 93.9568C73.1832 93.9571 73.1822 93.9574 73.1822 93.9574C73.1814 93.9577 73.1842 93.9568 73.1876 93.9558L77.5553 108.515ZM67.7714 87.1709V101.235H82.9715V87.1709H67.7714ZM45.2005 64.6001C57.666 64.6001 67.7714 74.7054 67.7714 87.1709H82.9715C82.9715 66.3106 66.0608 49.3999 45.2005 49.3999V64.6001Z" fill="white"/>
|
5
|
+
<path d="M289.767 89.4945C289.532 88.9289 289.414 88.2927 289.414 87.5858C289.414 86.8317 289.814 85.9834 290.616 85.0408C291.464 84.0511 292.713 83.5562 294.362 83.5562H309.844C311.682 83.5562 313.379 84.1925 314.934 85.465C316.489 86.7374 317.597 88.3398 318.257 90.2721L336.92 146.261L354.169 90.2721C355.536 85.7949 358.34 83.5562 362.582 83.5562H375.589C379.831 83.5562 382.635 85.7949 384.002 90.2721L401.251 146.261L419.914 90.2721C420.574 88.3398 421.681 86.7374 423.236 85.465C424.792 84.1925 426.488 83.5562 428.326 83.5562H443.808C445.411 83.5562 446.612 84.0511 447.414 85.0408C448.262 85.9834 448.686 86.8317 448.686 87.5858C448.686 88.2927 448.592 88.9289 448.403 89.4945L416.874 177.72C415.13 182.527 411.737 184.931 406.694 184.931H396.444C391.212 184.931 387.843 182.527 386.334 177.72L369.085 123.286L351.836 177.72C350.281 182.527 346.911 184.931 341.727 184.931H331.406C326.41 184.931 323.04 182.527 321.297 177.72L289.767 89.4945ZM450.253 176.023C442.995 169.142 439.366 159.245 439.366 146.332C439.366 133.372 443.018 123.427 450.323 116.499C457.628 109.524 467.761 106.037 480.721 106.037C493.682 106.037 503.791 109.43 511.049 116.217C518.307 122.956 521.936 132.641 521.936 145.272V149.301C521.936 150.574 521.512 151.634 520.663 152.482C519.862 153.283 518.825 153.684 517.553 153.684H464.321C464.792 159.481 466.441 163.699 469.269 166.338C472.144 168.977 476.715 170.297 482.984 170.297C489.252 170.297 493.541 168.883 495.85 166.055C498.159 163.228 501.01 161.79 504.404 161.743H514.937C516.21 161.743 517.246 162.167 518.048 163.016C518.896 163.817 519.32 164.854 519.32 166.126C519.32 179.652 506.43 186.392 480.651 186.344C467.643 186.344 457.51 182.904 450.253 176.023ZM464.179 138.768H497.052C496.58 127.645 491.113 122.084 480.651 122.084C470.235 122.084 464.745 127.645 464.179 138.768ZM537.104 176.023C529.846 169.142 526.217 159.245 526.217 146.332C526.217 133.372 529.869 123.427 537.174 116.499C544.479 109.524 554.612 106.037 567.572 106.037C580.533 106.037 590.642 109.43 597.9 116.217C605.158 122.956 608.787 132.641 608.787 145.272V149.301C608.787 150.574 608.363 151.634 607.514 152.482C606.713 153.283 605.676 153.684 604.404 153.684H551.172C551.643 159.481 553.292 163.699 556.12 166.338C558.995 168.977 563.567 170.297 569.835 170.297C576.103 170.297 580.392 168.883 582.701 166.055C585.01 163.228 587.861 161.79 591.255 161.743H601.788C603.061 161.743 604.097 162.167 604.899 163.016C605.747 163.817 606.171 164.854 606.171 166.126C606.171 179.652 593.281 186.392 567.502 186.344C554.494 186.344 544.361 182.904 537.104 176.023ZM551.03 138.768H583.903C583.431 127.645 577.964 122.084 567.502 122.084C557.086 122.084 551.596 127.645 551.03 138.768ZM623.955 176.023C616.697 169.142 613.068 159.245 613.068 146.332C613.068 133.372 616.72 123.427 624.025 116.499C631.33 109.524 641.463 106.037 654.424 106.037C667.384 106.037 677.493 109.43 684.751 116.217C692.009 122.956 695.638 132.641 695.638 145.272V149.301C695.638 150.574 695.214 151.634 694.365 152.482C693.564 153.283 692.527 153.684 691.255 153.684H638.023C638.494 159.481 640.143 163.699 642.971 166.338C645.846 168.977 650.418 170.297 656.686 170.297C662.954 170.297 667.243 168.883 669.552 166.055C671.861 163.228 674.713 161.79 678.106 161.743H688.639C689.912 161.743 690.948 162.167 691.75 163.016C692.598 163.817 693.022 164.854 693.022 166.126C693.022 179.652 680.132 186.392 654.353 186.344C641.345 186.344 631.213 182.904 623.955 176.023ZM637.881 138.768H670.754C670.282 127.645 664.815 122.084 654.353 122.084C643.937 122.084 638.447 127.645 637.881 138.768ZM736.007 186.344C726.157 186.344 717.909 182.88 711.264 175.952C704.666 169.025 701.367 159.104 701.367 146.191C701.367 133.23 704.784 123.309 711.617 116.429C718.498 109.501 727.735 106.037 739.329 106.037C745.314 106.037 752.125 107.239 759.759 109.642V87.9392C759.759 86.6668 760.16 85.6299 760.961 84.8287C761.81 83.9804 762.846 83.5562 764.072 83.5562H779.836C781.109 83.5562 782.146 83.9804 782.947 84.8287C783.795 85.6299 784.219 86.6668 784.219 87.9392V180.618C784.219 181.844 783.795 182.88 782.947 183.729C782.146 184.53 781.109 184.931 779.836 184.931H766.263C764.991 184.931 763.954 184.53 763.153 183.729C762.352 182.88 761.951 181.844 761.951 180.618V178.427C754.505 183.705 745.856 186.344 736.007 186.344ZM744.419 123.145C737.915 123.145 733.32 124.983 730.634 128.659C727.947 132.288 726.604 138.132 726.604 146.191C726.604 154.25 727.877 160.117 730.422 163.793C732.967 167.469 736.784 169.307 741.874 169.307C747.011 169.307 752.973 167.187 759.759 162.945V125.972C753.68 124.087 748.566 123.145 744.419 123.145ZM800.875 176.023C793.617 169.142 789.988 159.245 789.988 146.332C789.988 133.372 793.64 123.427 800.945 116.499C808.25 109.524 818.383 106.037 831.344 106.037C844.304 106.037 854.413 109.43 861.671 116.217C868.929 122.956 872.558 132.641 872.558 145.272V149.301C872.558 150.574 872.134 151.634 871.285 152.482C870.484 153.283 869.447 153.684 868.175 153.684H814.943C815.414 159.481 817.064 163.699 819.891 166.338C822.766 168.977 827.338 170.297 833.606 170.297C839.874 170.297 844.163 168.883 846.472 166.055C848.781 163.228 851.633 161.79 855.026 161.743H865.559C866.832 161.743 867.869 162.167 868.67 163.016C869.518 163.817 869.942 164.854 869.942 166.126C869.942 179.652 857.052 186.392 831.273 186.344C818.265 186.344 808.133 182.904 800.875 176.023ZM814.801 138.768H847.674C847.202 127.645 841.736 122.084 831.273 122.084C820.857 122.084 815.367 127.645 814.801 138.768ZM931.912 125.407L921.025 124.983C914.663 124.983 908.583 128.47 902.786 135.445V180.618C902.786 181.891 902.362 182.928 901.514 183.729C900.713 184.53 899.699 184.931 898.474 184.931H882.639C881.366 184.931 880.329 184.53 879.528 183.729C878.727 182.928 878.326 181.891 878.326 180.618V111.834C878.326 110.561 878.727 109.524 879.528 108.723C880.376 107.875 881.413 107.451 882.639 107.451H898.474C899.746 107.451 900.783 107.875 901.585 108.723C902.386 109.524 902.786 110.561 902.786 111.834V116.287C907.593 112.8 912.212 110.231 916.642 108.582C921.119 106.885 926.963 106.037 934.174 106.037C935.447 106.037 936.483 106.461 937.285 107.309C938.133 108.11 938.557 109.124 938.557 110.349V121.094C938.557 122.367 938.133 123.404 937.285 124.205C936.483 125.006 935.447 125.407 934.174 125.407H931.912Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
6
|
+
<path d="M963.646 122.589C960.717 122.589 958.013 122.082 955.534 121.068C953.056 120.016 950.878 118.57 949 116.73C947.16 114.852 945.714 112.674 944.663 110.196C943.649 107.68 943.142 104.976 943.142 102.084C943.142 99.1925 943.649 96.5074 944.663 94.0289C945.714 91.5128 947.16 89.3347 949 87.4945C950.878 85.6544 953.056 84.2273 955.534 83.2134C958.013 82.1619 960.717 81.6361 963.646 81.6361C966.538 81.6361 969.223 82.1619 971.701 83.2134C974.217 84.2273 976.395 85.6544 978.236 87.4945C980.076 89.3347 981.503 91.5128 982.517 94.0289C983.568 96.5074 984.094 99.1925 984.094 102.084C984.094 104.976 983.568 107.68 982.517 110.196C981.503 112.674 980.076 114.852 978.236 116.73C976.395 118.57 974.217 120.016 971.701 121.068C969.223 122.082 966.538 122.589 963.646 122.589ZM963.646 118.983C966.049 118.983 968.265 118.57 970.293 117.744C972.321 116.88 974.086 115.679 975.588 114.139C977.09 112.599 978.236 110.815 979.024 108.788C979.85 106.722 980.264 104.488 980.264 102.084C980.264 99.6807 979.85 97.465 979.024 95.4371C978.236 93.3717 977.09 91.5879 975.588 90.0857C974.086 88.546 972.321 87.3631 970.293 86.5369C968.265 85.6732 966.049 85.2413 963.646 85.2413C961.205 85.2413 958.971 85.6732 956.943 86.5369C954.915 87.3631 953.15 88.546 951.648 90.0857C950.145 91.5879 948.981 93.3717 948.155 95.4371C947.366 97.465 946.972 99.6807 946.972 102.084C946.972 104.488 947.366 106.722 948.155 108.788C948.981 110.815 950.145 112.599 951.648 114.139C953.15 115.679 954.915 116.88 956.943 117.744C958.971 118.57 961.205 118.983 963.646 118.983ZM957.844 114.308C955.403 114.308 954.182 113.05 954.182 110.534V94.4795C954.182 93.09 954.539 92.0198 955.253 91.2687C956.004 90.48 957.093 90.0857 958.52 90.0857H965.28C968.021 90.0857 970.143 90.7805 971.645 92.17C973.147 93.5595 973.898 95.2682 973.898 97.2961C973.898 99.4742 973.166 101.145 971.701 102.309C970.274 103.474 968.284 104.056 965.73 104.056L967.645 103.38C968.922 103.38 969.936 103.68 970.687 104.281C971.438 104.844 972.058 106.065 972.546 107.943L973.11 109.97C973.485 111.473 973.279 112.58 972.49 113.294C971.739 113.97 970.706 114.308 969.392 114.308C968.49 114.308 967.739 114.045 967.138 113.519C966.575 112.994 966.2 112.28 966.012 111.379L964.998 107.267C964.848 106.591 964.566 106.14 964.153 105.915C963.777 105.652 963.346 105.52 962.857 105.52H960.491L961.562 104.844V110.534C961.562 113.05 960.322 114.308 957.844 114.308ZM961.505 100.225H964.209C965.111 100.225 965.787 100.037 966.237 99.6619C966.688 99.2864 966.913 98.6668 966.913 97.803C966.913 96.9393 966.669 96.3197 966.181 95.9441C965.73 95.5686 965.073 95.3808 964.209 95.3808H961.505V100.225Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
8
7
|
</svg>
|
9
8
|
|
10
9
|
|
10
|
+
|
11
|
+
|
12
|
+
|
11
13
|
</template>
|
12
14
|
|
13
15
|
<script setup>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<svg width="907" height="256" viewBox="0 0 907 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<rect width="256" height="256" rx="79" fill="#00FF29"/>
|
3
|
+
<path d="M35.0964 169.709L43.3869 169.709L43.3869 168.783L43.1827 167.88L35.0964 169.709ZM35.0964 178.654L43.3869 178.654L35.0964 178.654ZM84.7047 228.262L84.7047 236.552H84.7047V228.262ZM129.999 217.164L135.229 210.731L129.999 206.478L124.769 210.731L129.999 217.164ZM224.902 176.502L216.972 174.084L216.611 175.266V176.502H224.902ZM225.338 160.089L217.048 159.987L217.048 160.038V160.089H225.338ZM225.338 159.492H217.048V159.542L217.048 159.593L225.338 159.492ZM189.585 83.7981H181.295V83.8602L181.296 83.9223L189.585 83.7981ZM147.876 104.993H156.166V94.0714L145.646 97.0081L147.876 104.993ZM147.874 104.994H139.583V115.916L150.103 112.979L147.874 104.994ZM112.121 83.7946H103.83V83.8572L103.831 83.9198L112.121 83.7946ZM70.4112 105.253H78.7017V94.0779L68.0069 97.3188L70.4112 105.253ZM70.4093 105.254H62.1189V116.428L72.8136 113.188L70.4093 105.254ZM42.9467 59.8414C42.9467 62.8508 40.5071 65.2904 37.4977 65.2904V48.7096C31.3497 48.7096 26.3658 53.6935 26.3658 59.8414H42.9467ZM42.9467 165.749V59.8414H26.3658V165.749H42.9467ZM43.1827 167.88C43.0294 167.203 42.9467 166.49 42.9467 165.749H26.3658C26.3658 167.729 26.5873 169.668 27.0102 171.538L43.1827 167.88ZM43.3869 178.654L43.3869 169.709L26.806 169.709L26.806 178.654L43.3869 178.654ZM84.7047 219.971C61.8855 219.971 43.3869 201.473 43.3869 178.654L26.806 178.654C26.806 210.63 52.7282 236.552 84.7047 236.552L84.7047 219.971ZM98.7244 219.971H84.7047V236.552H98.7244V219.971ZM124.769 210.731C117.659 216.512 108.607 219.971 98.7244 219.971V236.552C112.554 236.552 125.272 231.693 135.229 223.596L124.769 210.731ZM161.274 219.971C151.391 219.971 142.339 216.512 135.229 210.731L124.769 223.596C134.727 231.693 147.444 236.552 161.274 236.552V219.971ZM175.294 219.971H161.274V236.552H175.294V219.971ZM216.611 178.654C216.611 201.473 198.113 219.971 175.294 219.971V236.552C207.27 236.552 233.192 210.63 233.192 178.654H216.611ZM216.611 176.502V178.654H233.192V176.502H216.611ZM217.048 173.562C217.048 173.756 217.019 173.929 216.972 174.084L232.832 178.921C233.352 177.216 233.629 175.414 233.629 173.562H217.048ZM217.048 160.089V173.562H233.629V160.089H217.048ZM217.05 159.79C217.05 159.856 217.049 159.921 217.048 159.987L233.628 160.19C233.63 160.057 233.63 159.924 233.63 159.79H217.05ZM217.048 159.593C217.049 159.659 217.05 159.724 217.05 159.79H233.63C233.63 159.657 233.63 159.523 233.628 159.39L217.048 159.593ZM217.048 89.9116V159.492H233.629V89.9116H217.048ZM192.427 65.2904C206.024 65.2904 217.048 76.3137 217.048 89.9116H233.629C233.629 67.1563 215.182 48.7096 192.427 48.7096V65.2904ZM197.876 59.8414C197.876 62.8508 195.436 65.2904 192.427 65.2904V48.7096C186.279 48.7096 181.295 53.6935 181.295 59.8414H197.876ZM197.876 83.7981V59.8414H181.295V83.7981H197.876ZM197.878 84.1165C197.878 83.9689 197.877 83.8214 197.875 83.674L181.296 83.9223C181.297 83.9867 181.297 84.0514 181.297 84.1165H197.878ZM197.878 169.03V84.1165H181.297V169.03H197.878ZM168.732 198.176C184.829 198.176 197.878 185.127 197.878 169.03H181.297C181.297 175.97 175.671 181.596 168.732 181.596V198.176ZM139.585 169.03C139.585 185.127 152.634 198.176 168.732 198.176V181.596C161.792 181.596 156.166 175.97 156.166 169.03H139.585ZM139.585 104.993V169.03H156.166V104.993H139.585ZM150.103 112.979L150.105 112.978L145.646 97.0081L145.645 97.0087L150.103 112.979ZM139.583 89.9116V104.994H156.164V89.9116H139.583ZM114.962 65.2904C128.56 65.2904 139.583 76.3137 139.583 89.9116H156.164C156.164 67.1563 137.717 48.7096 114.962 48.7096V65.2904ZM120.411 59.8414C120.411 62.8508 117.972 65.2904 114.962 65.2904V48.7096C108.814 48.7096 103.83 53.6935 103.83 59.8414H120.411ZM120.411 83.7946V59.8414H103.83V83.7946H120.411ZM103.831 83.9198C103.832 83.9854 103.833 84.051 103.833 84.1165H120.414C120.414 83.967 120.412 83.818 120.41 83.6694L103.831 83.9198ZM103.833 84.1165V169.03H120.414V84.1165H103.833ZM103.833 169.03C103.833 175.97 98.2069 181.596 91.2672 181.596V198.176C107.364 198.176 120.414 185.127 120.414 169.03H103.833ZM91.2672 181.596C84.3274 181.596 78.7017 175.97 78.7017 169.03H62.1208C62.1208 185.127 75.1701 198.176 91.2672 198.176V181.596ZM78.7017 169.03V105.253H62.1208V169.03H78.7017ZM72.8136 113.188C72.8044 113.19 72.797 113.193 72.7926 113.194C72.7886 113.195 72.7851 113.196 72.7859 113.196C72.7859 113.196 72.7862 113.196 72.7865 113.196C72.7868 113.196 72.7873 113.196 72.7879 113.195C72.7891 113.195 72.7911 113.194 72.7935 113.194C72.7983 113.192 72.806 113.19 72.8155 113.187L68.0069 97.3188C68.0161 97.316 68.0235 97.3138 68.0279 97.3124C68.032 97.3112 68.0354 97.3102 68.0346 97.3104C68.0346 97.3104 68.0344 97.3105 68.0341 97.3106C68.0337 97.3107 68.0332 97.3109 68.0326 97.311C68.0314 97.3114 68.0294 97.312 68.027 97.3127C68.0223 97.3141 68.0145 97.3165 68.005 97.3193L72.8136 113.188ZM62.1189 89.9116V105.254H78.6998V89.9116H62.1189ZM37.4977 65.2904C51.0956 65.2904 62.1189 76.3137 62.1189 89.9116H78.6998C78.6998 67.1563 60.2529 48.7096 37.4977 48.7096V65.2904Z" fill="white"/>
|
4
|
+
<path d="M817.91 186.265C813.787 186.265 810.6 185.187 808.351 183.032C806.196 180.877 805.118 177.737 805.118 173.614V127.086C805.118 123.057 806.149 119.964 808.211 117.809C810.366 115.653 813.412 114.576 817.348 114.576C821.283 114.576 824.282 115.653 826.344 117.809C828.406 119.964 829.436 123.057 829.436 127.086V132.85H828.031C828.968 127.227 831.357 122.776 835.2 119.496C839.135 116.216 844.008 114.482 849.819 114.295C852.536 114.201 854.551 114.904 855.863 116.403C857.269 117.809 858.018 120.48 858.112 124.415C858.112 127.789 857.409 130.46 856.004 132.428C854.598 134.396 851.927 135.567 847.991 135.942L844.758 136.223C839.791 136.692 836.184 138.097 833.935 140.44C831.685 142.689 830.561 146.063 830.561 150.561V173.614C830.561 177.737 829.483 180.877 827.328 183.032C825.172 185.187 822.033 186.265 817.91 186.265Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
5
|
+
<path d="M771.848 186.546C763.414 186.546 756.105 185.094 749.92 182.189C743.829 179.19 739.143 174.973 735.863 169.538C732.583 164.102 730.943 157.683 730.943 150.28C730.943 143.158 732.49 136.926 735.582 131.584C738.768 126.149 743.079 121.932 748.514 118.933C754.043 115.841 760.322 114.295 767.35 114.295C772.504 114.295 777.19 115.138 781.407 116.825C785.624 118.418 789.232 120.808 792.231 123.994C795.23 127.086 797.479 130.835 798.978 135.239C800.571 139.644 801.368 144.563 801.368 149.999C801.368 151.873 800.852 153.279 799.821 154.216C798.791 155.059 797.151 155.481 794.902 155.481H751.888V143.673H783.094L780.845 145.501C780.845 142.033 780.376 139.222 779.439 137.066C778.502 134.911 777.096 133.271 775.222 132.147C773.442 131.022 771.192 130.46 768.475 130.46C765.57 130.46 763.04 131.163 760.884 132.568C758.823 133.88 757.229 135.848 756.105 138.472C754.98 141.096 754.418 144.376 754.418 148.312V149.577C754.418 156.23 755.871 161.01 758.776 163.915C761.774 166.726 766.366 168.132 772.551 168.132C774.613 168.132 776.956 167.898 779.58 167.429C782.297 166.867 784.874 166.117 787.311 165.18C789.747 164.243 791.856 164.102 793.636 164.758C795.417 165.321 796.776 166.351 797.713 167.851C798.744 169.256 799.306 170.896 799.4 172.771C799.493 174.551 799.072 176.332 798.135 178.112C797.197 179.799 795.651 181.111 793.496 182.048C790.216 183.547 786.702 184.672 782.953 185.422C779.299 186.171 775.597 186.546 771.848 186.546Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
6
|
+
<path d="M681.025 186.546C675.121 186.546 669.873 185.094 665.281 182.189C660.783 179.284 657.222 175.113 654.598 169.678C652.068 164.243 650.803 157.824 650.803 150.42C650.803 142.83 652.068 136.364 654.598 131.022C657.222 125.681 660.783 121.557 665.281 118.652C669.873 115.747 675.121 114.295 681.025 114.295C686.179 114.295 690.818 115.513 694.941 117.949C699.064 120.386 701.829 123.525 703.234 127.367H701.688V97.286C701.688 93.1626 702.766 90.0233 704.921 87.8679C707.077 85.7126 710.169 84.6349 714.199 84.6349C718.135 84.6349 721.18 85.7126 723.336 87.8679C725.585 90.0233 726.709 93.1626 726.709 97.286V173.614C726.709 177.737 725.631 180.877 723.476 183.032C721.414 185.187 718.369 186.265 714.339 186.265C710.403 186.265 707.358 185.187 705.202 183.032C703.047 180.877 701.969 177.737 701.969 173.614V165.602L703.516 172.49C702.204 176.707 699.439 180.127 695.222 182.751C691.099 185.281 686.366 186.546 681.025 186.546ZM689.037 168.132C691.567 168.132 693.816 167.523 695.784 166.305C697.752 164.993 699.252 163.071 700.282 160.541C701.407 157.917 701.969 154.544 701.969 150.42C701.969 144.142 700.751 139.644 698.315 136.926C695.878 134.115 692.786 132.709 689.037 132.709C686.507 132.709 684.258 133.318 682.29 134.536C680.322 135.755 678.776 137.676 677.651 140.3C676.527 142.83 675.964 146.203 675.964 150.42C675.964 156.605 677.183 161.104 679.619 163.915C682.056 166.726 685.195 168.132 689.037 168.132Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
7
|
+
<path d="M613.877 186.546C606.474 186.546 600.008 185.234 594.479 182.61C588.95 179.893 584.639 176.097 581.547 171.224C578.454 166.351 576.908 160.682 576.908 154.216C576.908 146.25 578.642 139.269 582.109 133.271C585.67 127.274 590.45 122.635 596.447 119.355C602.538 115.981 609.286 114.295 616.689 114.295C622.686 114.295 627.747 115.279 631.87 117.246C636.087 119.214 639.414 121.885 641.85 125.259C644.381 128.632 646.067 132.475 646.911 136.785C647.754 141.002 647.895 145.36 647.332 149.858C647.051 152.201 646.395 153.747 645.365 154.497C644.334 155.153 642.975 155.481 641.288 155.481H597.29L598.977 143.673H630.183L627.934 145.501C628.403 142.595 628.262 140.018 627.512 137.769C626.857 135.52 625.591 133.787 623.717 132.568C621.937 131.256 619.5 130.6 616.408 130.6C613.409 130.6 610.879 131.256 608.817 132.568C606.755 133.88 605.069 135.661 603.757 137.91C602.538 140.159 601.742 142.689 601.367 145.501L600.383 150.983C599.54 156.512 600.57 160.776 603.475 163.774C606.38 166.679 610.785 168.132 616.689 168.132C618.844 168.132 621.234 167.898 623.858 167.429C626.575 166.96 628.918 166.258 630.886 165.321C633.416 164.29 635.525 164.055 637.212 164.618C638.992 165.18 640.304 166.258 641.147 167.851C641.991 169.35 642.319 171.037 642.131 172.911C642.038 174.785 641.429 176.613 640.304 178.393C639.18 180.08 637.493 181.392 635.244 182.329C631.964 183.829 628.45 184.906 624.701 185.562C621.046 186.218 617.438 186.546 613.877 186.546Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
8
|
+
<path d="M540.124 186.546C532.72 186.546 526.254 185.234 520.725 182.61C515.196 179.893 510.886 176.097 507.793 171.224C504.701 166.351 503.154 160.682 503.154 154.216C503.154 146.25 504.888 139.269 508.355 133.271C511.916 127.274 516.696 122.635 522.693 119.355C528.784 115.981 535.532 114.295 542.935 114.295C548.932 114.295 553.993 115.279 558.116 117.246C562.333 119.214 565.66 121.885 568.096 125.259C570.627 128.632 572.313 132.475 573.157 136.785C574 141.002 574.141 145.36 573.579 149.858C573.297 152.201 572.641 153.747 571.611 154.497C570.58 155.153 569.221 155.481 567.534 155.481H523.537L525.223 143.673H556.429L554.18 145.501C554.649 142.595 554.508 140.018 553.759 137.769C553.103 135.52 551.837 133.787 549.963 132.568C548.183 131.256 545.746 130.6 542.654 130.6C539.655 130.6 537.125 131.256 535.063 132.568C533.001 133.88 531.315 135.661 530.003 137.91C528.784 140.159 527.988 142.689 527.613 145.501L526.629 150.983C525.786 156.512 526.816 160.776 529.722 163.774C532.627 166.679 537.031 168.132 542.935 168.132C545.09 168.132 547.48 167.898 550.104 167.429C552.821 166.96 555.164 166.258 557.132 165.321C559.662 164.29 561.771 164.055 563.458 164.618C565.238 165.18 566.55 166.258 567.394 167.851C568.237 169.35 568.565 171.037 568.378 172.911C568.284 174.785 567.675 176.613 566.55 178.393C565.426 180.08 563.739 181.392 561.49 182.329C558.21 183.829 554.696 184.906 550.947 185.562C547.292 186.218 543.685 186.546 540.124 186.546Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
9
|
+
<path d="M466.37 186.546C458.966 186.546 452.5 185.234 446.971 182.61C441.442 179.893 437.132 176.097 434.039 171.224C430.947 166.351 429.4 160.682 429.4 154.216C429.4 146.25 431.134 139.269 434.601 133.271C438.162 127.274 442.942 122.635 448.939 119.355C455.031 115.981 461.778 114.295 469.181 114.295C475.179 114.295 480.239 115.279 484.362 117.246C488.579 119.214 491.906 121.885 494.343 125.259C496.873 128.632 498.56 132.475 499.403 136.785C500.246 141.002 500.387 145.36 499.825 149.858C499.544 152.201 498.888 153.747 497.857 154.497C496.826 155.153 495.467 155.481 493.78 155.481H449.783L451.469 143.673H482.675L480.426 145.501C480.895 142.595 480.754 140.018 480.005 137.769C479.349 135.52 478.084 133.787 476.209 132.568C474.429 131.256 471.992 130.6 468.9 130.6C465.901 130.6 463.371 131.256 461.309 132.568C459.248 133.88 457.561 135.661 456.249 137.91C455.031 140.159 454.234 142.689 453.859 145.501L452.875 150.983C452.032 156.512 453.063 160.776 455.968 163.774C458.873 166.679 463.277 168.132 469.181 168.132C471.336 168.132 473.726 167.898 476.35 167.429C479.068 166.96 481.41 166.258 483.378 165.321C485.908 164.29 488.017 164.055 489.704 164.618C491.484 165.18 492.796 166.258 493.64 167.851C494.483 169.35 494.811 171.037 494.624 172.911C494.53 174.785 493.921 176.613 492.796 178.393C491.672 180.08 489.985 181.392 487.736 182.329C484.456 183.829 480.942 184.906 477.193 185.562C473.539 186.218 469.931 186.546 466.37 186.546Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
10
|
+
<path d="M335.511 186.265C332.044 186.265 329.233 185.469 327.077 183.875C324.922 182.189 323.235 179.612 322.017 176.144L294.606 99.8162C293.107 95.5991 293.341 92.0381 295.309 89.133C297.371 86.1343 300.979 84.6349 306.133 84.6349C309.6 84.6349 312.318 85.4783 314.286 87.1651C316.254 88.7582 317.8 91.2884 318.925 94.7557L339.869 157.589H333.262L355.753 94.7557C357.065 91.2884 358.705 88.7582 360.673 87.1651C362.641 85.4783 365.171 84.6349 368.264 84.6349C371.356 84.6349 373.84 85.4783 375.714 87.1651C377.588 88.7582 379.134 91.3353 380.352 94.8963L401.438 157.589H395.815L417.322 94.7557C418.446 91.2884 419.946 88.7582 421.82 87.1651C423.788 85.4783 426.505 84.6349 429.973 84.6349C434.283 84.6349 437.423 86.1343 439.391 89.133C441.452 92.0381 441.687 95.5991 440.094 99.8162L412.402 176.285C411.184 179.658 409.497 182.189 407.341 183.875C405.28 185.469 402.515 186.265 399.048 186.265C395.487 186.265 392.629 185.469 390.473 183.875C388.412 182.189 386.772 179.612 385.553 176.144L365.733 120.48H369.248L349.006 176.285C347.694 179.658 346.007 182.189 343.946 183.875C341.884 185.469 339.073 186.265 335.511 186.265Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
11
|
+
<path d="M884.363 124.684C881.13 124.684 878.146 124.124 875.411 123.005C872.676 121.845 870.272 120.25 868.2 118.219C866.17 116.147 864.574 113.743 863.414 111.008C862.295 108.231 861.735 105.248 861.735 102.057C861.735 98.8656 862.295 95.9025 863.414 93.1673C864.574 90.3908 866.17 87.9871 868.2 85.9565C870.272 83.9258 872.676 82.3511 875.411 81.2321C878.146 80.0718 881.13 79.4916 884.363 79.4916C887.554 79.4916 890.517 80.0718 893.252 81.2321C896.028 82.3511 898.432 83.9258 900.463 85.9565C902.493 87.9871 904.068 90.3908 905.187 93.1673C906.347 95.9025 906.928 98.8656 906.928 102.057C906.928 105.248 906.347 108.231 905.187 111.008C904.068 113.743 902.493 116.147 900.463 118.219C898.432 120.25 896.028 121.845 893.252 123.005C890.517 124.124 887.554 124.684 884.363 124.684ZM884.363 120.705C887.015 120.705 889.46 120.25 891.698 119.338C893.936 118.385 895.883 117.058 897.541 115.359C899.199 113.66 900.463 111.692 901.333 109.454C902.245 107.175 902.7 104.709 902.7 102.057C902.7 99.4043 902.245 96.9593 901.333 94.7214C900.463 92.4421 899.199 90.4736 897.541 88.816C895.883 87.1169 893.936 85.8114 891.698 84.8997C889.46 83.9466 887.015 83.47 884.363 83.47C881.669 83.47 879.203 83.9466 876.965 84.8997C874.727 85.8114 872.78 87.1169 871.122 88.816C869.464 90.4736 868.18 92.4421 867.268 94.7214C866.398 96.9593 865.962 99.4043 865.962 102.057C865.962 104.709 866.398 107.175 867.268 109.454C868.18 111.692 869.464 113.66 871.122 115.359C872.78 117.058 874.727 118.385 876.965 119.338C879.203 120.25 881.669 120.705 884.363 120.705ZM877.96 115.546C875.266 115.546 873.919 114.158 873.919 111.381V93.6646C873.919 92.1313 874.313 90.9502 875.1 90.1214C875.929 89.2511 877.131 88.816 878.706 88.816H886.165C889.19 88.816 891.532 89.5826 893.19 91.116C894.847 92.6493 895.676 94.5349 895.676 96.7728C895.676 99.1764 894.868 101.021 893.252 102.305C891.677 103.59 889.481 104.232 886.663 104.232L888.776 103.486C890.185 103.486 891.304 103.818 892.133 104.481C892.962 105.103 893.645 106.449 894.184 108.522L894.806 110.759C895.22 112.417 894.992 113.64 894.122 114.427C893.293 115.173 892.154 115.546 890.703 115.546C889.709 115.546 888.88 115.256 888.217 114.676C887.595 114.095 887.181 113.308 886.973 112.313L885.854 107.776C885.689 107.03 885.378 106.532 884.922 106.284C884.508 105.994 884.031 105.849 883.492 105.849H880.881L882.063 105.103V111.381C882.063 114.158 880.695 115.546 877.96 115.546ZM882 100.005H884.984C885.979 100.005 886.725 99.798 887.222 99.3836C887.719 98.9692 887.968 98.2854 887.968 97.3322C887.968 96.3791 887.699 95.6953 887.16 95.2809C886.663 94.8665 885.937 94.6592 884.984 94.6592H882V100.005Z":fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
12
|
+
</svg>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<template>
|
2
2
|
<div style="min-height: 100%;" class="h-min-100 pd-thin">
|
3
|
-
<header class="">
|
4
|
-
<h2 class="
|
3
|
+
<header class="pd-semi radius-big bg-light mn-b-small">
|
4
|
+
<h2 class="">
|
5
5
|
<span class="">Weed in </span>
|
6
6
|
|
7
7
|
<span
|
8
8
|
v-if="localPosition.city || localPosition.state || localPosition.country"
|
9
9
|
@click="a => { store.globals.state.isOpenLocationPopup = true }"
|
10
|
-
class="t-main cursor-pointer "
|
10
|
+
class="t-main t-semi cursor-pointer "
|
11
11
|
>
|
12
12
|
<template v-if="localPosition.city">{{localPosition.city}}, </template>
|
13
13
|
<template v-if="localPosition.state">{{localPosition.state}}, </template>
|
@@ -20,15 +20,14 @@
|
|
20
20
|
</h2>
|
21
21
|
</header>
|
22
22
|
|
23
|
-
<!-- <Filters
|
24
|
-
class="mn-b-thin"
|
25
|
-
/> -->
|
26
|
-
|
27
23
|
<div class="gap-thin cols-2-1_3">
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
<div class="desktop-only radius-big o-hidden">
|
25
|
+
<BlockFilter
|
26
|
+
v-model:filter="store.marketplace.state.filter"
|
27
|
+
:options="store.marketplace.state.filter.options"
|
28
|
+
class="h-100 w-100 pd-small bg-light"
|
29
|
+
/>
|
30
|
+
</div>
|
32
31
|
<!-- Catalog wrapper -->
|
33
32
|
<div class="rows-1 gap-thin">
|
34
33
|
<router-view v-slot="{ Component, route }">
|
@@ -48,8 +47,7 @@
|
|
48
47
|
import { useI18n } from 'vue-i18n'
|
49
48
|
|
50
49
|
|
51
|
-
import
|
52
|
-
import FilterProducts from '@pf/src/modules/products/components/sections/FilterProducts.vue'
|
50
|
+
import BlockFilter from '@pf/src/modules/globals/components/blocks/BlockFilter.vue'
|
53
51
|
|
54
52
|
// Accessing router and store
|
55
53
|
const store = useStore()
|
@@ -92,13 +90,9 @@
|
|
92
90
|
if (route.query) {
|
93
91
|
const query = route.query;
|
94
92
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
delivery: query.delivery ? query.delivery.split(',') : [],
|
99
|
-
};
|
100
|
-
|
101
|
-
// store.marketplace.state.filter = newFilterValue;
|
93
|
+
store.marketplace.state.filter.selected.categories = query.categories ? query.categories.split(',') : [];
|
94
|
+
store.marketplace.state.filter.selected.prices = query.prices ? query.prices.split(',') : [];
|
95
|
+
store.marketplace.state.filter.selected.delivery = query.delivery ? query.delivery.split(',') : [];
|
102
96
|
}
|
103
97
|
|
104
98
|
if (route.query.sortParam) store.marketplace.state.sort.param = route.query.sortParam
|
@@ -109,13 +103,19 @@
|
|
109
103
|
status: 'published'
|
110
104
|
}
|
111
105
|
|
112
|
-
|
106
|
+
let categoriesFilter = await store.categories.actions.fetchCategories(options)
|
113
107
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
108
|
+
categoriesFilter = categoriesFilter.map(category => ({
|
109
|
+
value: category.url,
|
110
|
+
label: category.name
|
111
|
+
}));
|
112
|
+
|
113
|
+
|
114
|
+
store.marketplace.state.filter.options.unshift({
|
115
|
+
title: 'Categories',
|
116
|
+
value: 'categories',
|
117
|
+
options: categoriesFilter
|
118
|
+
})
|
119
119
|
})
|
120
120
|
|
121
121
|
watch(() => store.marketplace.state.sort, (newSortValue, oldSortValue) => {
|
@@ -129,7 +129,7 @@
|
|
129
129
|
}, { deep: true });
|
130
130
|
|
131
131
|
|
132
|
-
watch(() => store.marketplace.state.filter, (newFilterValue, oldFilterValue) => {
|
132
|
+
watch(() => store.marketplace.state.filter.selected, (newFilterValue, oldFilterValue) => {
|
133
133
|
// Переводим фильтр в формат query
|
134
134
|
const query = { ...route.query };
|
135
135
|
|
@@ -146,6 +146,8 @@
|
|
146
146
|
.filter(([key, value]) => Array.isArray(value) && value.length > 0)
|
147
147
|
.map(([key, value]) => [key, value.join(',')])
|
148
148
|
);
|
149
|
+
|
150
|
+
delete query.options;
|
149
151
|
Object.assign(query, newQueryValues);
|
150
152
|
|
151
153
|
// Обновляем маршрут с новым query
|
@@ -15,15 +15,9 @@ const state = reactive({
|
|
15
15
|
},
|
16
16
|
filter: {
|
17
17
|
active: false,
|
18
|
-
|
19
|
-
|
20
|
-
delivery: [],
|
21
|
-
extra: [],
|
18
|
+
class: 'mobile-only',
|
19
|
+
selected: {},
|
22
20
|
options: [{
|
23
|
-
title: 'Categories',
|
24
|
-
value: 'categories',
|
25
|
-
options: []
|
26
|
-
},{
|
27
21
|
title: 'Delivery',
|
28
22
|
value: 'delivery',
|
29
23
|
options: [
|
@@ -52,7 +52,7 @@
|
|
52
52
|
:target="organization._id"
|
53
53
|
:status="organization.isSubscriber"
|
54
54
|
:text="{create: '+', remove: '-'}"
|
55
|
-
@updateMembership="event =>
|
55
|
+
@updateMembership="event => emits('updateMembership', event, 'isSubscriber', 'numberOfSubscribers')"
|
56
56
|
class="i-semi"
|
57
57
|
/>
|
58
58
|
</div>
|
@@ -240,7 +240,7 @@ async function handleSendInvite(list) {
|
|
240
240
|
async function removeMember(index,member) {
|
241
241
|
if (confirm("Confirm remove of member") == true) {
|
242
242
|
memberships.state.memberships.splice(index, 1);
|
243
|
-
await memberships.actions.delete(member
|
243
|
+
await memberships.actions.delete(member);
|
244
244
|
}
|
245
245
|
}
|
246
246
|
|
@@ -24,11 +24,36 @@
|
|
24
24
|
<div class="pos-relative">
|
25
25
|
|
26
26
|
<transition name="slide-fade">
|
27
|
-
|
28
|
-
|
29
|
-
:
|
30
|
-
|
27
|
+
<Feed
|
28
|
+
v-if="tabOrganization === 'community'"
|
29
|
+
:showLoadMore="false"
|
30
|
+
:states="{
|
31
|
+
empty: {
|
32
|
+
title: 'No Blog Posts Found',
|
33
|
+
description: 'Currently, there are no posts available in this blog. Please check back later.'
|
34
|
+
},
|
35
|
+
}"
|
36
|
+
:store="{
|
37
|
+
read: (options) => blog.read(options)
|
38
|
+
}"
|
39
|
+
:options="{
|
40
|
+
status: 'published',
|
41
|
+
user: auth.state.user._id,
|
42
|
+
owner: route.params._id,
|
43
|
+
}"
|
44
|
+
v-slot="{
|
45
|
+
items
|
46
|
+
}"
|
47
|
+
class="row-1 gap-thin"
|
48
|
+
>
|
49
|
+
<CardBlogpost
|
50
|
+
v-for="item in items"
|
51
|
+
:key="item._id"
|
52
|
+
:blogpost="item"
|
53
|
+
:user="auth.state.user._id"
|
54
|
+
class="h-max-40r mn-b-medium"
|
31
55
|
/>
|
56
|
+
</Feed>
|
32
57
|
</transition>
|
33
58
|
|
34
59
|
|
@@ -149,6 +174,8 @@
|
|
149
174
|
import Tab from '@pf/src/components/Tab/Tab.vue'
|
150
175
|
import Block from '@pf/src/components/Block/Block.vue'
|
151
176
|
import Feed from '@pf/src/components/Feed/Feed.vue'
|
177
|
+
// Community
|
178
|
+
import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
|
152
179
|
// Mobile Module
|
153
180
|
import Menu from '@pf/src/components/Menu/Menu.vue'
|
154
181
|
import MenuItem from '@pf/src/components/Menu/MenuItem.vue'
|
@@ -157,7 +184,6 @@
|
|
157
184
|
import User from '@pf/src/modules/users/components/blocks/CardUser.vue';
|
158
185
|
// Feeds
|
159
186
|
import FeedEvents from '@pf/src/modules/events/components/sections/Feed.vue';
|
160
|
-
import FeedCommunity from '@pf/src/modules/community/components/sections/Feed.vue';
|
161
187
|
// Spots
|
162
188
|
import CardSpot from '@pf/src/modules/spots/components/blocks/CardSpot.vue';
|
163
189
|
// Local
|
@@ -168,6 +194,8 @@
|
|
168
194
|
import * as organization from '@pf/src/modules/organizations/store/organizations'
|
169
195
|
import * as memberships from '@pf/src/modules/organizations/store/memberships'
|
170
196
|
import * as departments from '@pf/src/modules/organizations/store/departments';
|
197
|
+
// Community
|
198
|
+
import * as blog from '@pf/src/modules/community/store/blogposts.js';
|
171
199
|
// Spots
|
172
200
|
import * as spots from '@pf/src/modules/spots/store/spots';
|
173
201
|
// Init router
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</template>
|
84
84
|
|
85
85
|
<script setup>
|
86
|
-
import {
|
86
|
+
import { onMounted, computed } from 'vue';
|
87
87
|
|
88
88
|
import { useRoute, useRouter } from 'vue-router';
|
89
89
|
|
@@ -105,10 +105,13 @@
|
|
105
105
|
const router = useRouter()
|
106
106
|
|
107
107
|
organization.actions.reset();
|
108
|
+
|
109
|
+
onMounted(async()=>{
|
110
|
+
if (route.params._id) {
|
111
|
+
await organization.actions.read({ _id: route.params._id });
|
112
|
+
}
|
113
|
+
})
|
108
114
|
|
109
|
-
if (route.params._id) {
|
110
|
-
await organization.actions.read({ _id: route.params._id });
|
111
|
-
}
|
112
115
|
const organizationData = computed(() => organization.state.current)
|
113
116
|
|
114
117
|
async function onSubmit() {
|