@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
@@ -1,9 +1,8 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { Loader as
|
3
|
-
import
|
1
|
+
import { ref as _, onMounted as b, watchEffect as y, openBlock as d, createElementBlock as w, createElementVNode as c, createVNode as k, Transition as x, withCtx as M, createBlock as V } from "vue";
|
2
|
+
import { Loader as E } from "../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
|
3
|
+
import Z from "../Loader/Loader.vue2.js";
|
4
4
|
/* empty css */
|
5
|
-
|
6
|
-
const v = (r) => (E("data-v-7af36552"), r = r(), I(), r), K = { class: "pos-relative" }, G = {
|
5
|
+
const B = { class: "pos-relative" }, H = {
|
7
6
|
key: 0,
|
8
7
|
class: "i-regular",
|
9
8
|
width: "98",
|
@@ -11,16 +10,16 @@ const v = (r) => (E("data-v-7af36552"), r = r(), I(), r), K = { class: "pos-rela
|
|
11
10
|
viewBox: "0 0 98 98",
|
12
11
|
fill: "none",
|
13
12
|
xmlns: "http://www.w3.org/2000/svg"
|
14
|
-
},
|
13
|
+
}, K = /* @__PURE__ */ c("path", {
|
15
14
|
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
16
15
|
fill: "rgb(var(--white))"
|
17
|
-
}, null, -1)
|
16
|
+
}, null, -1), S = /* @__PURE__ */ c("path", {
|
18
17
|
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
19
18
|
fill: "rgb(var(--white))"
|
20
|
-
}, null, -1)
|
21
|
-
|
22
|
-
|
23
|
-
],
|
19
|
+
}, null, -1), G = [
|
20
|
+
K,
|
21
|
+
S
|
22
|
+
], U = {
|
24
23
|
__name: "LocationMarker",
|
25
24
|
props: {
|
26
25
|
location: {
|
@@ -38,90 +37,90 @@ const v = (r) => (E("data-v-7af36552"), r = r(), I(), r), K = { class: "pos-rela
|
|
38
37
|
}
|
39
38
|
},
|
40
39
|
emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
|
41
|
-
setup(
|
42
|
-
const e =
|
43
|
-
let
|
40
|
+
setup(h, { emit: v }) {
|
41
|
+
const e = h, a = v, u = _(null), r = _(!1);
|
42
|
+
let s, i;
|
44
43
|
b(() => {
|
45
|
-
new
|
44
|
+
new E({
|
46
45
|
apiKey: e.apiKey,
|
47
46
|
version: "weekly",
|
48
47
|
libraries: ["places"],
|
49
48
|
language: e.locale
|
50
49
|
}).load().then(() => {
|
51
|
-
|
50
|
+
s = new google.maps.Map(u.value, {
|
52
51
|
center: e.location,
|
53
52
|
zoom: 15,
|
54
53
|
mapTypeControl: !1,
|
55
54
|
fullscreenControl: !1,
|
56
55
|
disableDefaultUI: !0
|
57
|
-
}),
|
56
|
+
}), i = new google.maps.Marker({
|
58
57
|
position: e.location,
|
59
|
-
map:
|
58
|
+
map: s,
|
60
59
|
draggable: !0
|
61
|
-
}),
|
60
|
+
}), i.addListener("dragend", (o) => {
|
62
61
|
const n = { lat: o.latLng.lat(), lng: o.latLng.lng() };
|
63
|
-
a("update:location", n),
|
62
|
+
a("update:location", n), p(n);
|
64
63
|
});
|
65
64
|
}).catch((o) => {
|
66
65
|
console.error(o);
|
67
66
|
});
|
68
|
-
}),
|
69
|
-
e.location &&
|
70
|
-
}),
|
71
|
-
if (e.location &&
|
67
|
+
}), y(() => {
|
68
|
+
e.location && i && i.setPosition(new google.maps.LatLng(e.location.lat, e.location.lng));
|
69
|
+
}), y(() => {
|
70
|
+
if (e.location && s) {
|
72
71
|
const t = new google.maps.LatLng(e.location.lat, e.location.lng);
|
73
|
-
|
72
|
+
s.setCenter(t), s.setZoom(15);
|
74
73
|
}
|
75
74
|
});
|
76
|
-
function
|
77
|
-
new google.maps.Geocoder().geocode({ location: t }, (n,
|
78
|
-
if (
|
75
|
+
function p(t) {
|
76
|
+
new google.maps.Geocoder().geocode({ location: t }, (n, g) => {
|
77
|
+
if (g === "OK")
|
79
78
|
if (n[0]) {
|
80
79
|
a("update:address", n[0].formatted_address);
|
81
|
-
let
|
80
|
+
let f = "", m = "", C = "";
|
82
81
|
n[0].address_components.forEach((l) => {
|
83
|
-
l.types.includes("country") && (
|
84
|
-
}), a("update:country",
|
82
|
+
l.types.includes("country") && (f = l.long_name), l.types.includes("administrative_area_level_1") && (m = l.long_name), l.types.includes("locality") && (C = l.long_name);
|
83
|
+
}), a("update:country", f), a("update:state", m), a("update:city", C);
|
85
84
|
} else
|
86
85
|
console.error("No results found");
|
87
86
|
else
|
88
|
-
console.error("Geocoder failed due to: " +
|
87
|
+
console.error("Geocoder failed due to: " + g);
|
89
88
|
});
|
90
89
|
}
|
91
|
-
async function
|
92
|
-
|
90
|
+
async function L() {
|
91
|
+
r.value = !0, navigator.geolocation ? navigator.geolocation.getCurrentPosition((t) => {
|
93
92
|
const o = { lat: t.coords.latitude, lng: t.coords.longitude };
|
94
|
-
a("update:location", o),
|
93
|
+
a("update:location", o), p(o), r.value = !1;
|
95
94
|
}, () => {
|
96
|
-
console.error("Error getting location"),
|
97
|
-
}) : (console.error("Geolocation is not supported by this browser."),
|
95
|
+
console.error("Error getting location"), r.value = !1;
|
96
|
+
}) : (console.error("Geolocation is not supported by this browser."), r.value = !1);
|
98
97
|
}
|
99
|
-
return (t, o) => (
|
100
|
-
|
98
|
+
return (t, o) => (d(), w("div", B, [
|
99
|
+
c("div", {
|
101
100
|
ref_key: "mapContainer",
|
102
101
|
ref: u,
|
103
102
|
class: "w-100 h-100"
|
104
103
|
}, null, 512),
|
105
|
-
|
104
|
+
c("button", {
|
106
105
|
class: "cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra",
|
107
|
-
onClick:
|
106
|
+
onClick: L
|
108
107
|
}, [
|
109
|
-
x
|
108
|
+
k(x, {
|
110
109
|
name: "ScaleOut",
|
111
110
|
mode: "out-in"
|
112
111
|
}, {
|
113
|
-
default:
|
114
|
-
|
112
|
+
default: M(() => [
|
113
|
+
r.value ? (d(), V(Z, {
|
115
114
|
key: 1,
|
116
115
|
class: "pos-t-0 pos-l-0 i-small"
|
117
|
-
})) : (
|
116
|
+
})) : (d(), w("svg", H, G))
|
118
117
|
]),
|
119
118
|
_: 1
|
120
119
|
})
|
121
120
|
])
|
122
121
|
]));
|
123
122
|
}
|
124
|
-
}
|
123
|
+
};
|
125
124
|
export {
|
126
|
-
|
125
|
+
U as default
|
127
126
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
+
__name: "Menu",
|
5
|
+
setup(s) {
|
6
|
+
return (e, i) => (t(), o("section", r, [
|
7
|
+
n(e.$slots, "default")
|
8
|
+
]));
|
9
|
+
}
|
10
|
+
};
|
11
|
+
export {
|
12
|
+
d as default
|
13
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");;/* empty css */const X=["src"],_={__name:"PhotoViewer",props:{photoUrl:String,show:Boolean},setup(v){const s=o.ref(1),a=o.reactive({x:0,y:0}),r=o.ref(!1),u=o.reactive({x:0,y:0}),d=o.ref(1),i=o.ref(0),p=o.computed(()=>({transform:`scale(${s.value}) translate(${a.x}px, ${a.y}px)`})),f=e=>{e.preventDefault();const t=e.deltaY>0?-.1:.1;s.value=Math.min(Math.max(1,s.value+t),3)},m=e=>{e.preventDefault(),r.value=!0,u.x=e.type==="mousedown"?e.clientX:e.touches[0].clientX,u.y=e.type==="mousedown"?e.clientY:e.touches[0].clientY;const t=n=>{if(r.value){const l=n.type==="mousemove"?n.clientX:n.touches[0].clientX,h=n.type==="mousemove"?n.clientY:n.touches[0].clientY;a.x+=(l-u.x)/s.value,a.y+=(h-u.y)/s.value,u.x=l,u.y=h}},c=()=>{r.value=!1,document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",c),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",c)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",c),document.addEventListener("touchmove",t),document.addEventListener("touchend",c)},y=e=>{if(e.touches.length===2){const t=e.touches[0],c=e.touches[1],n=Math.abs(t.clientX-c.clientX),l=Math.abs(t.clientY-c.clientY);i.value=Math.sqrt(n**2+l**2),d.value=s.value}else m(e)},g=e=>{if(e.touches.length===2){e.preventDefault();const t=e.touches[0],c=e.touches[1],n=Math.abs(t.clientX-c.clientX),l=Math.abs(t.clientY-c.clientY),Y=Math.sqrt(n**2+l**2)/i.value;s.value=Math.min(Math.max(1,d.value*Y),3)}},M=e=>{e.touches.length===0&&(i.value=0)},x=()=>{s.value=1,a.x=0,a.y=0};return(e,t)=>(o.openBlock(),o.createElementBlock("div",{class:"photo-container",onWheel:f,onMousedown:m,onTouchstart:y,onTouchmove:g,onTouchend:M},[o.createElementVNode("img",{src:v.photoUrl,style:o.normalizeStyle(p.value),ref:"image",onLoad:x},null,44,X)],32))}};exports.default=_;
|
@@ -1,64 +1,63 @@
|
|
1
|
-
import { ref as l, reactive as p, computed as
|
1
|
+
import { ref as l, reactive as p, computed as L, openBlock as D, createElementBlock as _, createElementVNode as w, normalizeStyle as E } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
|
4
|
-
const T = ["src"], S = {
|
3
|
+
const T = ["src"], B = {
|
5
4
|
__name: "PhotoViewer",
|
6
5
|
props: {
|
7
6
|
photoUrl: String,
|
8
7
|
show: Boolean
|
9
8
|
},
|
10
9
|
setup(v) {
|
11
|
-
const
|
12
|
-
transform: `scale(${
|
13
|
-
})),
|
10
|
+
const c = l(1), s = p({ x: 0, y: 0 }), i = l(!1), a = p({ x: 0, y: 0 }), d = l(1), r = l(0), f = L(() => ({
|
11
|
+
transform: `scale(${c.value}) translate(${s.x}px, ${s.y}px)`
|
12
|
+
})), y = (t) => {
|
14
13
|
t.preventDefault();
|
15
14
|
const e = t.deltaY > 0 ? -0.1 : 0.1;
|
16
|
-
|
15
|
+
c.value = Math.min(Math.max(1, c.value + e), 3);
|
17
16
|
}, m = (t) => {
|
18
17
|
t.preventDefault(), i.value = !0, a.x = t.type === "mousedown" ? t.clientX : t.touches[0].clientX, a.y = t.type === "mousedown" ? t.clientY : t.touches[0].clientY;
|
19
|
-
const e = (
|
18
|
+
const e = (n) => {
|
20
19
|
if (i.value) {
|
21
|
-
const u =
|
22
|
-
s.x += (u - a.x) /
|
20
|
+
const u = n.type === "mousemove" ? n.clientX : n.touches[0].clientX, h = n.type === "mousemove" ? n.clientY : n.touches[0].clientY;
|
21
|
+
s.x += (u - a.x) / c.value, s.y += (h - a.y) / c.value, a.x = u, a.y = h;
|
23
22
|
}
|
24
23
|
}, o = () => {
|
25
24
|
i.value = !1, document.removeEventListener("mousemove", e), document.removeEventListener("mouseup", o), document.removeEventListener("touchmove", e), document.removeEventListener("touchend", o);
|
26
25
|
};
|
27
26
|
document.addEventListener("mousemove", e), document.addEventListener("mouseup", o), document.addEventListener("touchmove", e), document.addEventListener("touchend", o);
|
28
|
-
},
|
27
|
+
}, x = (t) => {
|
29
28
|
if (t.touches.length === 2) {
|
30
|
-
const e = t.touches[0], o = t.touches[1],
|
31
|
-
r.value = Math.sqrt(
|
29
|
+
const e = t.touches[0], o = t.touches[1], n = Math.abs(e.clientX - o.clientX), u = Math.abs(e.clientY - o.clientY);
|
30
|
+
r.value = Math.sqrt(n ** 2 + u ** 2), d.value = c.value;
|
32
31
|
} else
|
33
32
|
m(t);
|
34
33
|
}, g = (t) => {
|
35
34
|
if (t.touches.length === 2) {
|
36
35
|
t.preventDefault();
|
37
|
-
const e = t.touches[0], o = t.touches[1],
|
38
|
-
|
36
|
+
const e = t.touches[0], o = t.touches[1], n = Math.abs(e.clientX - o.clientX), u = Math.abs(e.clientY - o.clientY), X = Math.sqrt(n ** 2 + u ** 2) / r.value;
|
37
|
+
c.value = Math.min(Math.max(1, d.value * X), 3);
|
39
38
|
}
|
40
39
|
}, M = (t) => {
|
41
40
|
t.touches.length === 0 && (r.value = 0);
|
42
41
|
}, Y = () => {
|
43
|
-
|
42
|
+
c.value = 1, s.x = 0, s.y = 0;
|
44
43
|
};
|
45
|
-
return (t, e) => (
|
44
|
+
return (t, e) => (D(), _("div", {
|
46
45
|
class: "photo-container",
|
47
|
-
onWheel:
|
46
|
+
onWheel: y,
|
48
47
|
onMousedown: m,
|
49
|
-
onTouchstart:
|
48
|
+
onTouchstart: x,
|
50
49
|
onTouchmove: g,
|
51
50
|
onTouchend: M
|
52
51
|
}, [
|
53
|
-
|
52
|
+
w("img", {
|
54
53
|
src: v.photoUrl,
|
55
|
-
style:
|
54
|
+
style: E(f.value),
|
56
55
|
ref: "image",
|
57
56
|
onLoad: Y
|
58
57
|
}, null, 44, T)
|
59
58
|
], 32));
|
60
59
|
}
|
61
|
-
}
|
60
|
+
};
|
62
61
|
export {
|
63
|
-
|
62
|
+
B as default
|
64
63
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),p=require("vue-i18n"),d=require("../../modules/icons/navigation/IconCross.vue.cjs");;/* empty css */const m={key:"popup-content",class:"pd-small popup-wrapper"},v={key:0,class:"mn-b-small"},k={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String,title:String},emits:["close-popup"],setup(t,{emit:l}){const i=t,a=l;function n(){a("close-popup")}e.watch(()=>i.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const u={messages:{en:{},ru:{}}};return p.useI18n(u),(o,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.createElementVNode("section",e.mergeProps({class:"pos-relative z-index-4"},o.$attrs,{class:o.$attrs.class}),[t.title?(e.openBlock(),e.createElementBlock("h4",v,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),e.createVNode(d.default,{fill:"rgb(var(--white))",onClick:s[0]||(s[0]=c=>n()),class:"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"}),e.renderSlot(o.$slots,"default")],16)]),_:3}),e.createElementVNode("div",{onClick:s[1]||(s[1]=c=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}};exports.default=k;
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { watch as y, openBlock as s, createBlock as i, Transition as l, withCtx as a, Teleport as k, createElementBlock as p, createVNode as m, createElementVNode as u, mergeProps as P, toDisplayString as b, createCommentVNode as n, renderSlot as g, normalizeClass as x } from "vue";
|
2
|
+
import { useRoute as T, useRouter as $ } from "vue-router";
|
3
|
+
import { useI18n as C } from "vue-i18n";
|
4
|
+
import O from "../../modules/icons/navigation/IconCross.vue.js";
|
5
|
+
/* empty css */
|
6
|
+
const h = {
|
7
|
+
key: "popup-content",
|
8
|
+
class: "pd-small popup-wrapper"
|
9
|
+
}, w = {
|
10
|
+
key: 0,
|
11
|
+
class: "mn-b-small"
|
12
|
+
}, L = {
|
13
|
+
__name: "Popup",
|
14
|
+
props: {
|
15
|
+
isPopupOpen: {
|
16
|
+
type: Boolean,
|
17
|
+
default: !1
|
18
|
+
},
|
19
|
+
style: String,
|
20
|
+
title: String
|
21
|
+
},
|
22
|
+
emits: ["close-popup"],
|
23
|
+
setup(e, { emit: c }) {
|
24
|
+
const d = e, f = c;
|
25
|
+
function r() {
|
26
|
+
f("close-popup");
|
27
|
+
}
|
28
|
+
return y(() => d.isPopupOpen, (t) => {
|
29
|
+
t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
30
|
+
}), T(), $(), C({
|
31
|
+
messages: {
|
32
|
+
en: {},
|
33
|
+
ru: {}
|
34
|
+
}
|
35
|
+
}), (t, o) => (s(), i(l, {
|
36
|
+
name: "TransitionTranslateY",
|
37
|
+
appear: ""
|
38
|
+
}, {
|
39
|
+
default: a(() => [
|
40
|
+
e.isPopupOpen ? (s(), i(k, {
|
41
|
+
key: 0,
|
42
|
+
to: "body"
|
43
|
+
}, [
|
44
|
+
e.isPopupOpen ? (s(), p("div", h, [
|
45
|
+
m(l, {
|
46
|
+
name: "TransitionTranslateY",
|
47
|
+
mode: "out-in"
|
48
|
+
}, {
|
49
|
+
default: a(() => [
|
50
|
+
u("section", P({ class: "pos-relative z-index-4" }, t.$attrs, {
|
51
|
+
class: t.$attrs.class
|
52
|
+
}), [
|
53
|
+
e.title ? (s(), p("h4", w, b(e.title), 1)) : n("", !0),
|
54
|
+
m(O, {
|
55
|
+
fill: "rgb(var(--white))",
|
56
|
+
onClick: o[0] || (o[0] = (v) => r()),
|
57
|
+
class: "cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-medium z-index-5"
|
58
|
+
}),
|
59
|
+
g(t.$slots, "default")
|
60
|
+
], 16)
|
61
|
+
]),
|
62
|
+
_: 3
|
63
|
+
}),
|
64
|
+
u("div", {
|
65
|
+
onClick: o[1] || (o[1] = (v) => r()),
|
66
|
+
class: x([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
67
|
+
}, null, 2)
|
68
|
+
])) : n("", !0)
|
69
|
+
])) : n("", !0)
|
70
|
+
]),
|
71
|
+
_: 3
|
72
|
+
}));
|
73
|
+
}
|
74
|
+
};
|
75
|
+
export {
|
76
|
+
L as default
|
77
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");;/* empty css */const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},b={class:"w-100"},w=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(n,{emit:m}){let f=y.default;const i=m,t=n,a=e.ref(!1),o=e.ref(t.property?d(t.select,t.property,t.options):t.select),v=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options);e.watch(()=>t.select,l=>{o.value=t.property?d(t.select,t.property,t.options):t.select});const u=()=>{a.value=!a.value,i(a.value?"focus":"blur")};function k(){a.value=!1}const h=l=>{o.value=l,u(),t.property?i("update:select",o.value[t.property]):i("update:select",o.value)};function d(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(u,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[n.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",b,[e.createElementVNode("span",null,e.toDisplayString((c=o.value)!=null&&c.name?(s=o.value)==null?void 0:s.name:o.value||n.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,w))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),k]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[n.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(n.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-bf25c24d"]]);exports.default=E;
|
@@ -0,0 +1,103 @@
|
|
1
|
+
import { ref as y, computed as M, watch as N, openBlock as s, createElementBlock as n, Fragment as b, withDirectives as k, withModifiers as w, normalizeClass as S, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as _, Transition as g, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
|
2
|
+
import D from "../FieldPhone/click-outside.js";
|
3
|
+
/* empty css */
|
4
|
+
import E from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
const L = {
|
6
|
+
key: 0,
|
7
|
+
class: "t-transp mn-r-small"
|
8
|
+
}, A = { class: "w-100" }, F = ["onClick"], I = {
|
9
|
+
key: 0,
|
10
|
+
class: "w-100"
|
11
|
+
}, P = {
|
12
|
+
key: 0,
|
13
|
+
class: "mn-t-thin invalid-feedback"
|
14
|
+
}, Y = {
|
15
|
+
__name: "Select",
|
16
|
+
props: {
|
17
|
+
label: String,
|
18
|
+
placeholder: { type: String, default: "Please select an item" },
|
19
|
+
select: [String, Object],
|
20
|
+
property: String,
|
21
|
+
options: { type: Array, default: () => [] },
|
22
|
+
validation: Boolean
|
23
|
+
},
|
24
|
+
emits: [
|
25
|
+
"update:select",
|
26
|
+
"focus",
|
27
|
+
"blur"
|
28
|
+
],
|
29
|
+
setup(o, { emit: C }) {
|
30
|
+
let O = D;
|
31
|
+
const p = C, e = o, c = y(!1), l = y(
|
32
|
+
e.property ? v(e.select, e.property, e.options) : e.select
|
33
|
+
), B = M(() => e.select ? e.options.filter((t) => t !== e.select) : e.options);
|
34
|
+
N(() => e.select, (t) => {
|
35
|
+
l.value = e.property ? v(e.select, e.property, e.options) : e.select;
|
36
|
+
});
|
37
|
+
const f = () => {
|
38
|
+
c.value = !c.value, p(c.value ? "focus" : "blur");
|
39
|
+
};
|
40
|
+
function V() {
|
41
|
+
c.value = !1;
|
42
|
+
}
|
43
|
+
const j = (t) => {
|
44
|
+
l.value = t, f(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
|
45
|
+
};
|
46
|
+
function v(t, h, i) {
|
47
|
+
for (const a of i)
|
48
|
+
if (a[h] === t || a === t)
|
49
|
+
return a;
|
50
|
+
return null;
|
51
|
+
}
|
52
|
+
return (t, h) => {
|
53
|
+
var i, a;
|
54
|
+
return s(), n(b, null, [
|
55
|
+
k((s(), n("div", {
|
56
|
+
onClick: w(f, ["stop"]),
|
57
|
+
class: S([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
|
58
|
+
}, [
|
59
|
+
o.label ? (s(), n("div", L, [
|
60
|
+
u("span", null, d(o.label), 1)
|
61
|
+
])) : m("", !0),
|
62
|
+
u("li", A, [
|
63
|
+
u("span", null, d((i = l.value) != null && i.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
|
64
|
+
]),
|
65
|
+
_(g, {
|
66
|
+
mode: "out-in",
|
67
|
+
name: "TransitionTranslateY"
|
68
|
+
}, {
|
69
|
+
default: x(() => [
|
70
|
+
k(u("ul", {
|
71
|
+
class: S([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
|
72
|
+
style: { "min-width": "max-content" }
|
73
|
+
}, [
|
74
|
+
(s(!0), n(b, null, T(B.value, (r) => (s(), n("li", {
|
75
|
+
onClick: w((q) => j(r), ["stop"])
|
76
|
+
}, [
|
77
|
+
r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
|
78
|
+
], 8, F))), 256))
|
79
|
+
], 2), [
|
80
|
+
[$, c.value]
|
81
|
+
])
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
})
|
85
|
+
], 2)), [
|
86
|
+
[z(O), V]
|
87
|
+
]),
|
88
|
+
_(g, {
|
89
|
+
mode: "out-in",
|
90
|
+
name: "fade"
|
91
|
+
}, {
|
92
|
+
default: x(() => [
|
93
|
+
o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
|
94
|
+
]),
|
95
|
+
_: 1
|
96
|
+
})
|
97
|
+
], 64);
|
98
|
+
};
|
99
|
+
}
|
100
|
+
}, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-bf25c24d"]]);
|
101
|
+
export {
|
102
|
+
Q as default
|
103
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const a={class:"spoiler"},n={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(r){const l=r,t=e.ref(!1);return l.status&&(t.value=l.status),(s,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{onClick:o[0]||(o[0]=u=>t.value=!t.value),class:"flex-v-center flex-nowrap flex"},[e.renderSlot(s.$slots,"header",{isOpen:t.value})]),e.createVNode(e.Transition,{name:"collapse"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",a,[e.renderSlot(s.$slots,"content")],512),[[e.vShow,t.value]])]),_:3})]))}};exports.default=n;
|
@@ -1,9 +1,6 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as r, openBlock as i, createElementBlock as p, createElementVNode as o, renderSlot as a, createVNode as u, Transition as c, withCtx as f, withDirectives as v, vShow as d } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
const m = {
|
4
|
-
key: 0,
|
5
|
-
class: "spoiler"
|
6
|
-
}, x = {
|
3
|
+
const m = { class: "spoiler" }, x = {
|
7
4
|
__name: "Spoiler",
|
8
5
|
props: {
|
9
6
|
status: {
|
@@ -11,20 +8,22 @@ const m = {
|
|
11
8
|
default: !1
|
12
9
|
}
|
13
10
|
},
|
14
|
-
setup(
|
15
|
-
const t =
|
16
|
-
return t.status && (e.value = t.status), (
|
17
|
-
|
18
|
-
onClick: l[0] || (l[0] = (
|
11
|
+
setup(n) {
|
12
|
+
const t = n, e = r(!1);
|
13
|
+
return t.status && (e.value = t.status), (s, l) => (i(), p("div", null, [
|
14
|
+
o("div", {
|
15
|
+
onClick: l[0] || (l[0] = (h) => e.value = !e.value),
|
19
16
|
class: "flex-v-center flex-nowrap flex"
|
20
17
|
}, [
|
21
|
-
|
18
|
+
a(s.$slots, "header", { isOpen: e.value })
|
22
19
|
]),
|
23
20
|
u(c, { name: "collapse" }, {
|
24
|
-
default:
|
25
|
-
|
26
|
-
|
27
|
-
])
|
21
|
+
default: f(() => [
|
22
|
+
v(o("div", m, [
|
23
|
+
a(s.$slots, "content")
|
24
|
+
], 512), [
|
25
|
+
[d, e.value]
|
26
|
+
])
|
28
27
|
]),
|
29
28
|
_: 3
|
30
29
|
})
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const s=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const s={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(n){const l=e.ref(!1),t=e.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function i(o){l.value=!0,t.left=`${o.clientX/100+10}px`,t.top=`${o.clientY/100+10}px`,t.display="block"}function r(){l.value=!1,t.display="none"}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:i,onMouseleave:r},[e.renderSlot(o.$slots,"default"),e.createElementVNode("div",{class:"tooltip-content",style:e.normalizeStyle(t)},e.toDisplayString(n.text),5)],32))}};exports.default=s;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ref as r, reactive as p, openBlock as s, createElementBlock as a, renderSlot as c, createElementVNode as d, normalizeStyle as u, toDisplayString as f } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
|
4
|
-
const m = {
|
3
|
+
const v = {
|
5
4
|
__name: "Tooltip",
|
6
5
|
props: {
|
7
6
|
text: {
|
@@ -21,25 +20,25 @@ const m = {
|
|
21
20
|
fontSize: "14px",
|
22
21
|
display: "none"
|
23
22
|
});
|
24
|
-
function
|
23
|
+
function l(t) {
|
25
24
|
o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
|
26
25
|
}
|
27
|
-
function
|
26
|
+
function i() {
|
28
27
|
o.value = !1, e.display = "none";
|
29
28
|
}
|
30
|
-
return (t,
|
29
|
+
return (t, x) => (s(), a("div", {
|
31
30
|
class: "cursor-pointer tooltip-container",
|
32
|
-
onMouseover:
|
33
|
-
onMouseleave:
|
31
|
+
onMouseover: l,
|
32
|
+
onMouseleave: i
|
34
33
|
}, [
|
35
|
-
c(t.$slots, "default"
|
34
|
+
c(t.$slots, "default"),
|
36
35
|
d("div", {
|
37
36
|
class: "tooltip-content",
|
38
37
|
style: u(e)
|
39
38
|
}, f(n.text), 5)
|
40
39
|
], 32));
|
41
40
|
}
|
42
|
-
}
|
41
|
+
};
|
43
42
|
export {
|
44
|
-
|
43
|
+
v as default
|
45
44
|
};
|
@@ -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"),p=require("axios"),m=require("../../modules/icons/navigation/IconCross.vue.cjs");;/* empty css */const h=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),v={key:0,class:"t-transp mn-r-small"},g={key:1,class:"flex-nowrap flex w-100 flex-v-center"},k=["href"],y={key:2,class:"w-100"},x=["placeholder","multiple"],b={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},_={__name:"Upload",props:{field:String,label:null,type:{type:String,default:"file"},placeholder:"Upload a file",validation:!1,uploadPath:{type:String,default:"/files"},multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(t,{emit:s}){const n=s,o=t,l=e.ref(o.field);e.ref(null),e.watch(()=>o.field,a=>{l.value=a});async function d(a){let i=a.target.files[0],r=new FormData;r.append("file",i);try{let f=await p.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/${o.type}?folderName=${encodeURIComponent(o.uploadPath)}`,r,{headers:{"Content-Type":"multipart/form-data"}});l.value=f.data[0].filepath,n("file-change",l.value)}catch(c){console.error(c)}}const u=()=>{l.value=null,n("update:field",null),n("file-change",null)};return(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":t.validation}],"flex-center flex-nowrap flex"])},[t.label?(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("span",null,e.toDisplayString(t.label),1)])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("a",{href:l.value,class:"w-100",target:"_blank"},e.toDisplayString(l.value),9,k),e.createVNode(m.default,{onClick:u,class:"cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"})])):(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("input",{onChange:d,type:"file",class:"w-100",placeholder:t.placeholder,multiple:t.multiple,id:"photo",name:"photo"},null,40,x)]))],2),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[t.validation?(e.openBlock(),e.createElementBlock("div",b," * "+e.toDisplayString(t.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},w=h.default(_,[["__scopeId","data-v-516f3e07"]]);exports.default=w;
|