@ozdao/prometheus-framework 0.0.89 → 0.0.90
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-afba007a.mjs → Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs} +8 -7
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +1 -0
- package/dist/{ButtonFollow-728aab73.mjs → ButtonFollow-5e19fc49.mjs} +7 -6
- package/dist/ButtonFollow-959861db.js +1 -0
- package/dist/CardOrganization-01c2e248.mjs +210 -0
- package/dist/CardOrganization-1be3651b.js +1 -0
- package/dist/{CardHeader-0677d446.js → Chips-2a0d9bfe.js} +1 -1
- package/dist/Chips-f0b7ce36.mjs +110 -0
- package/dist/{Feed-ca8e0e22.mjs → Feed-8bbb7077.mjs} +100 -95
- package/dist/{Feed-76b2997e.mjs → Feed-986ddd21.mjs} +114 -126
- package/dist/Feed-a2870bbf.js +1 -0
- package/dist/Feed-f987d8bb.js +1 -0
- package/dist/IconEdit-823ddda9.js +1 -0
- package/dist/{IconEdit-8df23653.mjs → IconEdit-f0ad8b9a.mjs} +1 -1
- package/dist/{Image-30f04604.js → Image-0f2814f0.js} +2 -2
- package/dist/{Image-6ec294f3.mjs → Image-9e90a5f6.mjs} +2 -2
- package/dist/{PlaceholderUserpic-2221dbf2.mjs → PlaceholderUserpic-14c6ea7e.mjs} +1 -1
- package/dist/PlaceholderUserpic-20d58460.js +1 -0
- package/dist/{Popup-105ef2c3.js → Popup-0106ee0c.js} +1 -1
- package/dist/{Popup-bdf043ba.mjs → Popup-31c7ffc6.mjs} +1 -1
- package/dist/{Product-b233e2a3.js → Product-54854cd1.js} +2 -2
- package/dist/{Product-eb00f35e.mjs → Product-58a83c67.mjs} +17 -16
- package/dist/ProductEdit-36e5cfdd.js +1 -0
- package/dist/{ProductEdit-61413d02.mjs → ProductEdit-56752bbe.mjs} +30 -29
- package/dist/{ProfileBlogposts-775b1cfa.mjs → ProfileBlogposts-67e1bd8f.mjs} +11 -10
- package/dist/ProfileBlogposts-a798df3d.js +1 -0
- package/dist/{ProfileComments-fd7d66bf.mjs → ProfileComments-17352b6a.mjs} +7 -6
- package/dist/ProfileComments-473c3413.js +1 -0
- package/dist/{ProfileEvents-7a51a9e6.mjs → ProfileEvents-76166bc5.mjs} +13 -12
- package/dist/ProfileEvents-cdebd612.js +1 -0
- package/dist/ProfileLikes-da6303a4.js +1 -0
- package/dist/{ProfileLikes-20a8a3c9.mjs → ProfileLikes-f838ff5e.mjs} +10 -9
- package/dist/ProfileOrganizations-5348e892.js +1 -0
- package/dist/{ProfileOrganizations-4b866823.mjs → ProfileOrganizations-58ebfe44.mjs} +7 -6
- package/dist/Publics-e14d36ed.js +1 -0
- package/dist/{Publics-0e44c61e.mjs → Publics-fcb1f708.mjs} +17 -16
- package/dist/{UploadImage-9e7e7468.js → UploadImage-73d66f27.js} +1 -1
- package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
- package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
- package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
- package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
- package/dist/auth-5a58f8cb.js +8 -0
- package/dist/auth.client.cjs +8 -8
- package/dist/auth.client.js +16 -15
- package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
- package/dist/{auth.validation-9f7c7948.js → auth.validation-be05e981.js} +1 -1
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +26 -25
- package/dist/community.server.js +7 -167
- package/dist/community.server.mjs +7 -167
- package/dist/components/Address/Address.vue.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Field/Field.vue.d.ts.map +1 -1
- package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
- package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
- package/dist/components/Map/Map.vue.d.ts.map +1 -1
- package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
- package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
- package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
- package/dist/components/Text/Text.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
- package/dist/events.client.cjs +1 -1
- package/dist/events.client.js +24 -23
- package/dist/landing.client.cjs +1 -0
- package/dist/landing.client.js +132 -0
- package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
- package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
- package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
- package/dist/{organizations-1581c013.mjs → organizations-2adff182.mjs} +1 -1
- package/dist/{organizations-c455dad7.js → organizations-e97a0f85.js} +1 -1
- package/dist/{organizations.client-7937e180.mjs → organizations.client-88d41199.mjs} +50 -49
- package/dist/organizations.client-d21a22ec.js +3 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +46 -45
- package/dist/prometheus-framework.cjs.js +19 -19
- package/dist/prometheus-framework.es.js +2171 -2164
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +16 -15
- package/package.json +6 -2
- package/src/components/Text/Text.vue +3 -1
- package/src/modules/community/community.server.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +5 -1
- package/src/modules/icons/labels/LabelAppStore.vue +32 -0
- package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
- package/src/modules/landing/components/sections/MobileApp.vue +125 -0
- package/src/modules/landing/landing.client.js +7 -0
- package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +0 -1944
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
- package/dist/ButtonFollow-001c4a65.mjs +0 -130
- package/dist/ButtonFollow-0d83a04a.mjs +0 -130
- package/dist/ButtonFollow-1aca37e0.mjs +0 -130
- package/dist/ButtonFollow-1b655344.js +0 -1
- package/dist/ButtonFollow-2ce169ca.js +0 -1
- package/dist/ButtonFollow-48043cc7.js +0 -1
- package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
- package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
- package/dist/ButtonFollow-b29bd420.mjs +0 -130
- package/dist/ButtonFollow-c4680999.js +0 -1
- package/dist/ButtonFollow-c9484003.mjs +0 -130
- package/dist/ButtonFollow-d983e174.js +0 -1
- package/dist/ButtonFollow-f630623a.js +0 -1
- package/dist/ButtonFollow-f9c5dc7a.js +0 -1
- package/dist/CardHeader-2d7e5d49.mjs +0 -76
- package/dist/CardHeader-2ef6618e.mjs +0 -96
- package/dist/CardHeader-377cfc4b.js +0 -1
- package/dist/CardHeader-39f75e85.mjs +0 -76
- package/dist/CardHeader-88de7b20.mjs +0 -76
- package/dist/CardHeader-925a972b.js +0 -1
- package/dist/CardHeader-ce5a1a75.mjs +0 -96
- package/dist/CardHeader-ddf82318.js +0 -1
- package/dist/CardHeader-dff9c71a.js +0 -1
- package/dist/CardHeader-e15eb618.js +0 -1
- package/dist/CardHeader-e361dada.mjs +0 -96
- package/dist/CardHeader-e517c801.mjs +0 -76
- package/dist/CardOrganization-0291683b.js +0 -1
- package/dist/CardOrganization-1384ff9a.mjs +0 -320
- package/dist/CardOrganization-21de52b3.js +0 -1
- package/dist/CardOrganization-3c42e14f.mjs +0 -320
- package/dist/CardOrganization-4859370e.mjs +0 -320
- package/dist/CardOrganization-51309400.js +0 -1
- package/dist/CardOrganization-58b54995.js +0 -1
- package/dist/CardOrganization-91e79698.mjs +0 -320
- package/dist/CardOrganization-9841dbe0.js +0 -1
- package/dist/CardOrganization-a05f3a19.js +0 -1
- package/dist/CardOrganization-a75b523d.mjs +0 -63
- package/dist/CardOrganization-bacc2ef6.mjs +0 -202
- package/dist/CardOrganization-d462e158.mjs +0 -320
- package/dist/CardOrganization-ee5c34ab.js +0 -1
- package/dist/CardOrganization-f70bd169.mjs +0 -202
- package/dist/CardOrganization-ffa585a7.js +0 -1
- package/dist/Comments-1aec0e5e.js +0 -1
- package/dist/Comments-5ed669ea.mjs +0 -74
- package/dist/Comments-63f154a6.js +0 -9
- package/dist/Comments-641516f8.mjs +0 -76
- package/dist/Comments-646c73ee.js +0 -1
- package/dist/Comments-6ff58c26.js +0 -1
- package/dist/Comments-7c4f2715.js +0 -1
- package/dist/Comments-81feeb4a.mjs +0 -76
- package/dist/Comments-9427a0eb.mjs +0 -76
- package/dist/Comments-b5821190.mjs +0 -76
- package/dist/Comments-b620bae6.js +0 -1
- package/dist/Comments-b6e32958.js +0 -1
- package/dist/Comments-c092550f.mjs +0 -76
- package/dist/Comments-c5afa4d6.mjs +0 -459
- package/dist/Comments-d2a8fd0f.mjs +0 -76
- package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
- package/dist/DepartmentEdit-6abd59e1.js +0 -1
- package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
- package/dist/DepartmentEdit-d98c2239.js +0 -1
- package/dist/EditProductImages-04ec4326.js +0 -1
- package/dist/EditProductImages-11510b66.js +0 -1
- package/dist/EditProductImages-1d4b44a9.mjs +0 -236
- package/dist/EditProductImages-4246db75.mjs +0 -236
- package/dist/EditProductImages-42f9f665.mjs +0 -236
- package/dist/EditProductImages-61ff4321.mjs +0 -236
- package/dist/EditProductImages-98d13eb0.js +0 -1
- package/dist/EditProductImages-9f25f39f.mjs +0 -236
- package/dist/EditProductImages-b1b05c03.js +0 -1
- package/dist/EditProductImages-c7daafb2.mjs +0 -236
- package/dist/EditProductImages-cf67d31b.js +0 -1
- package/dist/EditProductImages-cfb1856e.mjs +0 -237
- package/dist/EditProductImages-d9228ad0.js +0 -1
- package/dist/EditProductImages-ec630dbf.js +0 -1
- package/dist/EditProductImages-f983f473.mjs +0 -236
- package/dist/EmptyState-1214f70b.mjs +0 -36
- package/dist/EmptyState-23c13029.js +0 -1
- package/dist/Feed-0b549674.js +0 -1
- package/dist/Feed-193dd1df.mjs +0 -342
- package/dist/Feed-26bf6bef.js +0 -1
- package/dist/Feed-2f9a1922.mjs +0 -334
- package/dist/Feed-31523f38.js +0 -1
- package/dist/Feed-4b28adc5.mjs +0 -423
- package/dist/Feed-51e4e232.js +0 -1
- package/dist/Feed-531de2d5.js +0 -1
- package/dist/Feed-55c5907a.js +0 -1
- package/dist/Feed-5c9e4e74.mjs +0 -340
- package/dist/Feed-5d8d5c21.js +0 -1
- package/dist/Feed-706cd7c0.mjs +0 -383
- package/dist/Feed-8009e4f8.js +0 -1
- package/dist/Feed-81d5802e.mjs +0 -355
- package/dist/Feed-83ef5666.js +0 -1
- package/dist/Feed-8fd41524.js +0 -1
- package/dist/Feed-91eff3af.mjs +0 -393
- package/dist/Feed-926cf4f3.mjs +0 -355
- package/dist/Feed-932d976d.js +0 -1
- package/dist/Feed-962e009b.js +0 -1
- package/dist/Feed-a31c43c2.mjs +0 -423
- package/dist/Feed-a82ae26b.js +0 -1
- package/dist/Feed-aa3bd30a.js +0 -1
- package/dist/Feed-b8eeb4e7.js +0 -1
- package/dist/Feed-bd7b1a45.js +0 -1
- package/dist/Feed-c0007a83.mjs +0 -383
- package/dist/Feed-c93012c7.mjs +0 -346
- package/dist/Feed-d2e5978c.mjs +0 -342
- package/dist/Feed-d4220f74.mjs +0 -340
- package/dist/Feed-d8e33aed.mjs +0 -397
- package/dist/Feed-dc8b66bf.mjs +0 -367
- package/dist/Feed-df5bbb3c.mjs +0 -346
- package/dist/Feed-e5fb4972.mjs +0 -397
- package/dist/Feed-e8fb21ed.js +0 -1
- package/dist/Feed-e91b36ea.mjs +0 -390
- package/dist/Feed-ecf37814.mjs +0 -367
- package/dist/Feed-eeb63363.js +0 -1
- package/dist/Feed-f4cad6c3.js +0 -1
- package/dist/Field-740d5a17.mjs +0 -60
- package/dist/Field-a1770ccf.js +0 -1
- package/dist/Field-ada86df2.js +0 -1
- package/dist/Field-e839d9ca.mjs +0 -60
- package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
- package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
- package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
- package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
- package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
- package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
- package/dist/IconEdit-3028a3b7.js +0 -1
- package/dist/IconEdit-736c89be.js +0 -1
- package/dist/IconEdit-e9fd4c6c.mjs +0 -21
- package/dist/Image-6c7584f5.mjs +0 -477
- package/dist/Image-9a870c88.js +0 -9
- package/dist/PlaceholderUserpic-10fd9026.js +0 -1
- package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
- package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
- package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
- package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
- package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
- package/dist/PlaceholderUserpic-52966e09.js +0 -1
- package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
- package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
- package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
- package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
- package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
- package/dist/PlaceholderUserpic-eb9820ce.mjs +0 -28
- package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
- package/dist/Popup-0c791801.mjs +0 -76
- package/dist/Popup-70f6a8c0.mjs +0 -76
- package/dist/Popup-7c331e1c.js +0 -1
- package/dist/Popup-82fb2c8a.mjs +0 -76
- package/dist/Popup-9479e39a.js +0 -1
- package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
- package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
- package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
- package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
- package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
- package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
- package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
- package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
- package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
- package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
- package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
- package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
- package/dist/Product-0195429b.js +0 -1
- package/dist/Product-035252c0.js +0 -1
- package/dist/Product-05cc1386.mjs +0 -687
- package/dist/Product-151f4473.mjs +0 -904
- package/dist/Product-1724d88d.mjs +0 -837
- package/dist/Product-19cc3654.js +0 -7
- package/dist/Product-2f3d592f.mjs +0 -837
- package/dist/Product-2fbf9d99.js +0 -7
- package/dist/Product-334f8bf4.mjs +0 -904
- package/dist/Product-35904a9b.js +0 -7
- package/dist/Product-3c64a352.mjs +0 -904
- package/dist/Product-45a6e7bd.mjs +0 -687
- package/dist/Product-4a5f985d.mjs +0 -837
- package/dist/Product-60e14832.mjs +0 -904
- package/dist/Product-67efba5c.js +0 -7
- package/dist/Product-6c37ef35.js +0 -7
- package/dist/Product-7087b358.mjs +0 -837
- package/dist/Product-96195a8e.js +0 -7
- package/dist/Product-a94d8b65.js +0 -7
- package/dist/Product-b440df7f.js +0 -7
- package/dist/Product-c3a77d07.mjs +0 -837
- package/dist/Product-c8441f02.js +0 -7
- package/dist/Product-cf9cfe65.mjs +0 -904
- package/dist/Product-df622dc0.mjs +0 -837
- package/dist/Product-eb2b6725.js +0 -7
- package/dist/Product-f4dbd969.mjs +0 -837
- package/dist/Product-f819b17e.js +0 -7
- package/dist/Product-fb63c7cd.js +0 -7
- package/dist/ProductEdit-04760699.js +0 -1
- package/dist/ProductEdit-177c1f16.mjs +0 -113
- package/dist/ProductEdit-1e990a92.js +0 -1
- package/dist/ProductEdit-20709821.mjs +0 -349
- package/dist/ProductEdit-20bda9f1.mjs +0 -113
- package/dist/ProductEdit-39adf62f.mjs +0 -113
- package/dist/ProductEdit-4d6f3720.js +0 -1
- package/dist/ProductEdit-57484f1e.mjs +0 -349
- package/dist/ProductEdit-5e419719.mjs +0 -113
- package/dist/ProductEdit-5f9a55b6.mjs +0 -113
- package/dist/ProductEdit-765f4780.js +0 -1
- package/dist/ProductEdit-9e579dd7.mjs +0 -113
- package/dist/ProductEdit-a81d13b9.js +0 -1
- package/dist/ProductEdit-b98883d8.js +0 -1
- package/dist/ProductEdit-c3c6341d.js +0 -1
- package/dist/ProductEdit-c5067942.mjs +0 -113
- package/dist/ProductEdit-ca271287.js +0 -1
- package/dist/ProductEdit-e2d47403.mjs +0 -113
- package/dist/ProductEdit-ef301baa.js +0 -1
- package/dist/ProductEdit-fca68ff9.js +0 -1
- package/dist/ProfileBlogposts-00424109.js +0 -1
- package/dist/ProfileBlogposts-03658199.js +0 -1
- package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
- package/dist/ProfileBlogposts-317742ee.mjs +0 -56
- package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
- package/dist/ProfileBlogposts-55037a06.mjs +0 -56
- package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
- package/dist/ProfileBlogposts-6704a38c.js +0 -1
- package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
- package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
- package/dist/ProfileBlogposts-dc11090e.js +0 -1
- package/dist/ProfileBlogposts-e55e30ae.js +0 -1
- package/dist/ProfileBlogposts-e9a7381e.js +0 -1
- package/dist/ProfileBlogposts-eca9916c.js +0 -1
- package/dist/ProfileBlogposts-fb014bc6.mjs +0 -63
- package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
- package/dist/ProfileComments-0396b55c.js +0 -1
- package/dist/ProfileComments-08d1670d.mjs +0 -43
- package/dist/ProfileComments-175e42da.js +0 -1
- package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
- package/dist/ProfileComments-34eb560b.mjs +0 -43
- package/dist/ProfileComments-48f3d4bc.mjs +0 -43
- package/dist/ProfileComments-58094a50.mjs +0 -43
- package/dist/ProfileComments-5884d09f.mjs +0 -43
- package/dist/ProfileComments-66651060.mjs +0 -43
- package/dist/ProfileComments-677731b3.js +0 -1
- package/dist/ProfileComments-730c2f73.js +0 -1
- package/dist/ProfileComments-82791682.js +0 -1
- package/dist/ProfileComments-b6a688cd.js +0 -1
- package/dist/ProfileComments-b919f021.js +0 -1
- package/dist/ProfileComments-d3966a83.mjs +0 -43
- package/dist/ProfileComments-f5f260ec.js +0 -1
- package/dist/ProfileEvents-05485e20.js +0 -1
- package/dist/ProfileEvents-138ae25e.mjs +0 -55
- package/dist/ProfileEvents-1cfe6858.mjs +0 -55
- package/dist/ProfileEvents-20695376.mjs +0 -55
- package/dist/ProfileEvents-20e9da99.mjs +0 -46
- package/dist/ProfileEvents-45c4b137.mjs +0 -55
- package/dist/ProfileEvents-4f2a5f00.js +0 -1
- package/dist/ProfileEvents-5d206e3d.mjs +0 -55
- package/dist/ProfileEvents-676239cc.js +0 -1
- package/dist/ProfileEvents-6e6c253b.mjs +0 -46
- package/dist/ProfileEvents-858e9471.mjs +0 -55
- package/dist/ProfileEvents-85a88674.mjs +0 -55
- package/dist/ProfileEvents-89def76b.js +0 -1
- package/dist/ProfileEvents-94d7b407.js +0 -1
- package/dist/ProfileEvents-b057d374.js +0 -1
- package/dist/ProfileEvents-b5431cd6.js +0 -1
- package/dist/ProfileEvents-b8a76b6e.js +0 -1
- package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
- package/dist/ProfileEvents-cd75d80b.js +0 -1
- package/dist/ProfileEvents-cebebb17.js +0 -1
- package/dist/ProfileEvents-d53e7729.mjs +0 -46
- package/dist/ProfileEvents-d8e16509.js +0 -1
- package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
- package/dist/ProfileEvents-ffe0e6f3.js +0 -1
- package/dist/ProfileLikes-0668b718.js +0 -1
- package/dist/ProfileLikes-2f3a4488.js +0 -1
- package/dist/ProfileLikes-405c2636.js +0 -1
- package/dist/ProfileLikes-4242bca5.mjs +0 -43
- package/dist/ProfileLikes-4a57f637.mjs +0 -43
- package/dist/ProfileLikes-503712ec.mjs +0 -43
- package/dist/ProfileLikes-7f965631.mjs +0 -43
- package/dist/ProfileLikes-854276f0.js +0 -1
- package/dist/ProfileLikes-8ccf6815.js +0 -1
- package/dist/ProfileLikes-a78900c0.js +0 -1
- package/dist/ProfileLikes-b3b1350a.js +0 -1
- package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
- package/dist/ProfileLikes-c32c420b.mjs +0 -43
- package/dist/ProfileLikes-c4c87300.mjs +0 -42
- package/dist/ProfileLikes-c899e3df.js +0 -1
- package/dist/ProfileLikes-d978b084.mjs +0 -43
- package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
- package/dist/ProfileOrganizations-0b76e38f.js +0 -1
- package/dist/ProfileOrganizations-0e202612.js +0 -1
- package/dist/ProfileOrganizations-13748b09.js +0 -1
- package/dist/ProfileOrganizations-1990d0cc.js +0 -1
- package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
- package/dist/ProfileOrganizations-32ab1e30.mjs +0 -211
- package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
- package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
- package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
- package/dist/ProfileOrganizations-50fce34e.js +0 -1
- package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
- package/dist/ProfileOrganizations-5abfcc59.js +0 -1
- package/dist/ProfileOrganizations-5d681498.mjs +0 -202
- package/dist/ProfileOrganizations-6d3a43e4.js +0 -1
- package/dist/ProfileOrganizations-704f628b.js +0 -1
- package/dist/ProfileOrganizations-b83f6720.js +0 -1
- package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
- package/dist/ProfileOrganizations-c7688210.js +0 -1
- package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
- package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
- package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
- package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
- package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
- package/dist/ProfileOrganizations-feef34df.mjs +0 -112
- package/dist/Publics-07d5bbc4.js +0 -1
- package/dist/Publics-122d9fc7.mjs +0 -1078
- package/dist/Publics-13c48a23.mjs +0 -47
- package/dist/Publics-17009745.mjs +0 -1926
- package/dist/Publics-213e0e9e.mjs +0 -44
- package/dist/Publics-21f24533.mjs +0 -44
- package/dist/Publics-3f277c17.js +0 -1
- package/dist/Publics-450a6715.mjs +0 -1926
- package/dist/Publics-49dbeafc.js +0 -1
- package/dist/Publics-4e1c14fc.js +0 -1
- package/dist/Publics-501c9f27.js +0 -1
- package/dist/Publics-54134615.mjs +0 -47
- package/dist/Publics-889c25fc.js +0 -1
- package/dist/Publics-8bea4201.mjs +0 -44
- package/dist/Publics-8d94ee66.js +0 -1
- package/dist/Publics-9ebffff1.mjs +0 -122
- package/dist/Publics-a030da8f.js +0 -1
- package/dist/Publics-aca585c3.js +0 -1
- package/dist/Publics-b0fad2b0.mjs +0 -1926
- package/dist/Publics-becb1486.js +0 -1
- package/dist/Publics-c6f6b824.js +0 -1
- package/dist/Publics-c9d5aa74.js +0 -1
- package/dist/Publics-fbc8d2db.mjs +0 -1926
- package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
- package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
- package/dist/Tab-054b61f7.mjs +0 -46
- package/dist/Tab-1ca0fe66.js +0 -1
- package/dist/Tab-58cd105f.mjs +0 -46
- package/dist/Tab-b0a7ac11.js +0 -1
- package/dist/Tab-c67fbf51.mjs +0 -46
- package/dist/Tab-f04c185d.js +0 -1
- package/dist/Tab-fcb73759.mjs +0 -46
- package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
- package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
- package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
- package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
- package/dist/UploadImage-1b8c18c4.mjs +0 -99
- package/dist/UploadImage-34bc4a3f.mjs +0 -99
- package/dist/UploadImage-441e8526.js +0 -1
- package/dist/UploadImage-4e91bd99.js +0 -1
- package/dist/UploadImage-6e312c46.mjs +0 -83
- package/dist/UploadImage-74280ea3.mjs +0 -99
- package/dist/UploadImage-75b1a18a.js +0 -1
- package/dist/UploadImage-7c502f96.js +0 -1
- package/dist/UploadImage-96408782.mjs +0 -99
- package/dist/UploadImage-9abb7116.js +0 -1
- package/dist/UploadImage-b1acc48f.mjs +0 -99
- package/dist/UploadImage-c81c3b76.js +0 -1
- package/dist/UploadImage-cd6de241.js +0 -1
- package/dist/UploadImage-d1dbc280.mjs +0 -99
- package/dist/UploadImage-ff8f9a0c.mjs +0 -83
- package/dist/auth-07c01b19.js +0 -8
- package/dist/auth-18f80fef.mjs +0 -1501
- package/dist/auth-2bc18d1e.js +0 -8
- package/dist/auth-35ef1791.mjs +0 -1502
- package/dist/auth-50bd4ebb.js +0 -8
- package/dist/auth-5aa8e90c.js +0 -8
- package/dist/auth-708eebcb.mjs +0 -1446
- package/dist/auth-78fd9408.js +0 -8
- package/dist/auth-7dff19e4.js +0 -8
- package/dist/auth-84680727.mjs +0 -1501
- package/dist/auth-ab40831d.js +0 -8
- package/dist/auth-d102dac0.mjs +0 -1501
- package/dist/auth-f81f3598.mjs +0 -1439
- package/dist/auth-fefd15a3.mjs +0 -1503
- package/dist/auth.validation-1fb0cb4f.js +0 -1
- package/dist/auth.validation-29113f37.mjs +0 -20
- package/dist/auth.validation-2d33e8c7.mjs +0 -20
- package/dist/auth.validation-2e8ee994.js +0 -1
- package/dist/auth.validation-4a617c0b.mjs +0 -20
- package/dist/auth.validation-6923140f.js +0 -1
- package/dist/auth.validation-69488f55.mjs +0 -20
- package/dist/auth.validation-6bccabd6.mjs +0 -20
- package/dist/auth.validation-78a90fed.js +0 -1
- package/dist/auth.validation-9cfd985b.mjs +0 -20
- package/dist/auth.validation-a18510e8.js +0 -1
- package/dist/auth.validation-b644ee65.js +0 -1
- package/dist/auth.validation-f23a7238.mjs +0 -21
- package/dist/categories-75b7d14b.js +0 -1
- package/dist/categories-86b2d45b.mjs +0 -225
- package/dist/categories-d669f3af.mjs +0 -225
- package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
- package/dist/globals-d7a54bb4.js +0 -1
- package/dist/globals-f538c0ef.mjs +0 -87
- package/dist/inputs.validation-498d8ec9.js +0 -1
- package/dist/inputs.validation-5732152a.mjs +0 -93
- package/dist/inputs.validation-6960f71b.mjs +0 -93
- package/dist/inputs.validation-c473ebe7.mjs +0 -93
- package/dist/inputs.validation-c53e01a2.js +0 -1
- package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
- package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
- package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
- package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
- package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
- package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
- package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
- package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
- package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
- package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
- package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
- package/dist/organizations-0e9ff7ca.mjs +0 -319
- package/dist/organizations-1b4c84ee.mjs +0 -121
- package/dist/organizations-35fe2db4.js +0 -1
- package/dist/organizations-4d74e13b.js +0 -1
- package/dist/organizations-5f9c7fbd.js +0 -1
- package/dist/organizations-6c1450fa.mjs +0 -153
- package/dist/organizations-773c328c.mjs +0 -319
- package/dist/organizations-a9b86de7.mjs +0 -319
- package/dist/organizations-af43bda4.js +0 -1
- package/dist/organizations-b3df0859.js +0 -1
- package/dist/organizations-c77ea9d0.js +0 -1
- package/dist/organizations-d4307861.mjs +0 -319
- package/dist/organizations-dd07ba2c.js +0 -1
- package/dist/organizations-fb1a2214.mjs +0 -319
- package/dist/organizations.client-040ec107.js +0 -3
- package/dist/organizations.client-253c8068.mjs +0 -3179
- package/dist/organizations.client-3b4eb66e.mjs +0 -2898
- package/dist/organizations.client-4e29c957.js +0 -3
- package/dist/organizations.client-686845be.mjs +0 -3179
- package/dist/organizations.client-71c9abde.mjs +0 -2898
- package/dist/organizations.client-99bfc474.js +0 -3
- package/dist/organizations.client-ba59ed4e.js +0 -3
- package/dist/organizations.client-c60d7659.js +0 -3
- package/src/modules/community/controllers/blog.old.controller.js +0 -207
package/dist/Image-9a870c88.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),B=require("./auth-5aa8e90c.js"),C=require("./vue-draggable-next.esm-bundler-80731ae0.js"),$=require("./CardHeader-925a972b.js");const _=["placeholder"],y={__name:"Textarea",props:["prop","value","content","placeholder","index","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(o,{emit:r}){const n=o;e.ref(n);const t=e.ref(null);e.ref(0);function d(a){let l=a.target.value.split(/\n+/);if(l.length>1){n.prop[n.content]=l[0],e.nextTick(()=>{c()});let u=l.slice(1).map(f=>({__name:"Textarea",content:f}));r("addBlock","Textarea","",n.index,{blocks:u,ref:t})}else a.target.value.trim()===""&&a.target.value.includes(`
|
2
|
-
|
3
|
-
`)&&(console.log("We are adding new block:"+n.index+newBlocks+t),r("addBlock","Textarea","",n.index,{blocks:newBlocks,ref:t})),c()}function i(a){(a.keyCode===8||a.keyCode===46)&&n.prop[n.content].trim()===""&&r("deleteBlock",n.prop)}function s(){e.nextTick(()=>{t.value.focus(),r("updateBlock",n.prop,{setFocus:!1})})}function c(){t.value.style.height="1rem",t.value.style.height=t.value.scrollHeight+"px"}return e.onUpdated(()=>{n.setFocus&&e.nextTick(()=>{s()}),c()}),e.onMounted(()=>{n.setFocus&&e.nextTick(()=>{s()}),c()}),(a,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>o.prop[o.content]=u),placeholder:o.placeholder?o.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>r("focus",t.value)),onKeyup:i,ref_key:"textarea",ref:t,class:"text-area mn-thin"},`
|
4
|
-
`,40,_),[[e.vModelText,o.prop[o.content]]])]))}};const N=["placeholder"],V={__name:"H2",props:["obj","label","prop","value","content","textarea","placeholder","index","ref","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(o,{emit:r}){const n=o;e.ref(n);const t=e.ref(null);e.ref(0);function d(a){let l=a.target.value.split(/\n+/);if(l.length>1){n.prop[n.content]=l[0],e.nextTick(()=>{c()});let u=l.slice(1).map(f=>({type:"Textarea",content:f}));r("addBlock","Textarea","",n.index,{blocks:u,ref:t})}else a.target.value.trim()===""&&a.target.value.includes(`
|
5
|
-
|
6
|
-
`)&&(console.log("We are adding new block:"+n.index+newBlocks+t),r("addBlock","Textarea","",n.index,{blocks:newBlocks,ref:t})),c()}function i(a){(a.keyCode===8||a.keyCode===46)&&n.prop[n.content].trim()===""&&r("deleteBlock",n.prop)}function s(){e.nextTick(()=>{t.value.focus(),r("updateBlock",n.prop,{setFocus:!1})})}function c(){t.value.style.height="1rem",t.value.style.height=t.value.scrollHeight+"px"}return e.onUpdated(()=>{n.setFocus&&e.nextTick(()=>{s()}),c()}),e.onMounted(()=>{n.setFocus&&e.nextTick(()=>{s()}),c()}),e.watch(()=>n.prop[n.content],a=>{}),(a,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>o.prop[o.content]=u),placeholder:o.placeholder?o.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>r("focus",t.value)),onKeyup:i,ref_key:"textarea",ref:t,class:"h3 text-area mn-thin"},`
|
7
|
-
`,40,N),[[e.vModelText,o.prop[o.content]]])]))}},T=["placeholder"],U={__name:"Caption",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(o,{emit:r}){const n=o;e.ref(n);const t=e.ref(null);function d(s){const c=/^\s*[-*]\s+(.*)/;let l=s.target.value.split(/\n+/).map(u=>{const f=c.exec(u);return f?f[1]:null}).filter(u=>u!==null);l.length>0?(n.prop[n.content]=l,i()):s.target.value.trim()===""&&(n.prop[n.content]=[],i())}function i(){t.value.style.height="1rem",t.value.style.height=t.value.scrollHeight+"px"}return e.onUpdated(()=>{i()}),e.onMounted(()=>{i()}),e.watch(()=>n.prop[n.content],s=>{(!s||s.length===0)&&r("deleteBlock",n.prop)}),(s,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":c[0]||(c[0]=a=>o.prop[o.content]=a),placeholder:o.placeholder?o.placeholder:"Enter text",onInput:d,onFocus:c[1]||(c[1]=a=>r("focus",t.value)),ref_key:"textarea",ref:t,class:"br-l br-solid br-main pd-l-small text-area mn-small"},`
|
8
|
-
`,40,T),[[e.vModelText,o.prop[o.content]]])]))}},D=["placeholder"],F={__name:"Bullets",props:["obj","label","prop","value","content","textarea","placeholder","index","ref"],emits:["deleteBlock","addBlock","focus"],setup(o,{emit:r}){const n=o;e.ref(n);const t=e.ref(null);function d(s){const c=/^\s*[-*]\s+(.*)/;let l=s.target.value.split(/\n+/).map(u=>{const f=c.exec(u);return f?f[1]:null}).filter(u=>u!==null);l.length>0?(n.prop[n.content]=l,i()):s.target.value.trim()===""&&(n.prop[n.content]=[],i())}function i(){t.value.style.height="1rem",t.value.style.height=t.value.scrollHeight+"px"}return e.onUpdated(()=>{i()}),e.onMounted(()=>{i()}),e.watch(()=>n.prop[n.content],s=>{(!s||s.length===0)&&r("deleteBlock",n.prop)}),(s,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(o.prop[o.content])+" ",1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":c[0]||(c[0]=a=>o.prop[o.content]=a),placeholder:o.placeholder?o.placeholder:"Enter text",onInput:d,onFocus:c[1]||(c[1]=a=>r("focus",t.value)),ref_key:"textarea",ref:t,class:"text-area mn-small"},`
|
9
|
-
`,40,D),[[e.vModelText,o.prop[o.content]]])]))}},I=["src"],M={key:1,class:"t-transp pd-extra"},H={__name:"ImageUpload",props:["label","value","prop"],emits:["input","updateBlock"],setup(o,{emit:r}){const n=o,t=e.ref(null),d=e.ref(null);function i(){d.value.click()}async function s(a){let l=a.target.files[0];console.log(l);let u=new FormData,f="unsorted";u.append("file",l),console.log(u.has("file"));try{let h=await B.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(f)}`,u,{headers:{"Content-Type":"multipart/form-data"}});t.value=h.data.filepath,console.log(t.value),r("input",t.value),r("updateBlock",n.prop,{content:t.value})}catch(g){console.error(g)}}function c(a){a.preventDefault(),s({target:{files:a.dataTransfer.files}})}return(a,l)=>(e.openBlock(),e.createElementBlock("div",{onClick:i,onDrop:c,onDragover:l[0]||(l[0]=e.withModifiers(()=>{},["prevent"])),class:"w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-small"},[o.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,I)):(e.openBlock(),e.createElementBlock("span",M,"Click or drag-and-drop your image")),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:d,onChange:s,style:{display:"none"}},null,544)],32))}},S=["onMouseover"],A={key:0,class:"z-index-5 radius-thin mn-small relative left-0 mt-2 w-max bg-white shadow-lg rounded"},L=["onClick"],z=["onClick"],R=["onClick"],j={__name:"Constructor",props:["content"],emits:["update"],setup(o,{emit:r}){const n=o;let t=e.ref(null);e.ref(null),t.value={content:n.content};const d={Textarea:y,H2:V,Bullets:F,Caption:U,ImageUpload:H};function i(h="Textarea",k="",p,m){console.log("We are adding new block (functuin HandleAddBlock):"+h+k+p+m);let v={order:t.value.content.length+1,type:h,style:"",class:"",content:k,blocks:[],setFocus:!0};if(m&&m.blocks&&Array.isArray(m.blocks)){let x=m.blocks.map(E=>({...v,content:E.content})),b=[(m.index||p)+1,0].concat(x);t.value.content.splice.apply(t.value.content,b);const w=x[x.length-1];console.log("New block is"+w)}else p!==void 0?(t.value.content.splice(p+1,0,v),console.log("Latest block is"+v)):(console.log("Another block is"+v),t.value.content.push(v));a.value=null,r("update",t.value.content)}function s(h,k){const p=t.value.content.findIndex(m=>m===h);p!==-1&&(t.value.content[p]={...t.value.content[p],...k}),r("update",t.value.content)}function c(h){let k=t.value.content.findIndex(p=>p===h);k!==-1&&t.value.content.splice(k,1),t.value.content[k-1].setFocus=!0,r("update",t.value.content)}const a=e.ref(null),l=e.ref(!1),u=e.ref(!1);function f(){l.value=!0}function g(){l.value=!1}return e.watchEffect(()=>{t.value&&t.value.content.length===0&&i("Textarea",""),r("update",t.value.content)}),(h,k)=>(e.openBlock(),e.createElementBlock("section",null,[e.unref(t).content?(e.openBlock(),e.createBlock(e.unref(C.VueDraggableNext),{key:0,class:"w-full",list:e.unref(t).content,onStart:f,onEnd:g},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).content,(p,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"relative"},[e.createElementVNode("div",{onMouseover:v=>(a.value=m,u.value=!1),class:"w-full h-full"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d[p.type]),{index:m,component:p,prop:p,class:e.normalizeClass(p.class),setFocus:p.setFocus,content:"content",onDeleteBlock:c,onAddBlock:i,onUpdateBlock:s},null,40,["index","component","prop","class","setFocus"]))],40,S),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.value===m?(e.openBlock(),e.createElementBlock("div",{key:0,class:"pos-absolute pos-r-100 pos-t-0 z-index-4 i-semi",onMousedown:k[1]||(k[1]=e.withModifiers(v=>l.value=!0,["prevent"]))},[e.createElementVNode("button",{onClick:k[0]||(k[0]=v=>u.value=!u.value),class:"mn-small w-100 i-semi bg-white radius-thin"},e.toDisplayString(p.content?"...":"+"),1),u.value?(e.openBlock(),e.createElementBlock("div",A,[e.createElementVNode("button",{onClick:v=>c(p),class:"block w-max text-left px-4 py-2 hover:bg-gray-200"},"Удалить",8,L),e.createElementVNode("button",{onClick:v=>i("ImageUpload","",m),class:"block w-max text-left px-4 py-2 hover:bg-gray-200"},"Добавить изображение",8,z),e.createElementVNode("button",{onClick:v=>i("H2","",m),class:"block w-max text-left px-4 py-2 hover:bg-gray-200"},"Добавить заголовок",8,R)])):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)]),_:2},1024)]))),128))]),_:1},8,["list"])):e.createCommentVNode("",!0)]))}},q={class:"mn-small"},K=e.createElementVNode("p",{class:"t-semi uppercase"},"Please log in to leave a comment.",-1),P=[K],W={key:1,class:"mn-small"},G=["onSubmit"],J=e.createElementVNode("button",{type:"submit",class:"mn-l-auto bg-main button"},"Send",-1),O={class:"pd-t-zero"},Q={class:"p-big"},X={__name:"Comments",props:["target","owner","type"],setup(o){const r=o,n=B.axios.create({baseURL:process.env.API_URL}),t=e.ref([]),d=e.ref(""),i=async()=>{const{data:c}=await n.get(`/comments/read?type=${r.type}&target=${r.target}`);t.value=c},s=async()=>{if(d.value)try{const c=await n.post("/comments/create",{target:r.target,user:r.owner,type:r.type,content:d.value});c.data.owner=r.owner,t.value.push(c.data),d.value=""}catch(c){console.error(c)}};return i(),(c,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createElementVNode("h3",q,e.toDisplayString(t.value.length)+" comments",1),o.owner?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:a[0]||(a[0]=l=>c.$router.push({name:"Sign In"})),class:"cursor-pointer mn-small section bg-black t-white flex-center flex radius-big"},P)),o.owner?(e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("form",{onSubmit:e.withModifiers(s,["prevent"]),class:"bg-grey radius-big pd-medium"},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":a[1]||(a[1]=l=>d.value=l),placeholder:"Enter your comment",class:"pd-small p-big w-100 radius-small mn-r-small"},null,512),[[e.vModelText,d.value]]),J],40,G)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l._id,class:"comment mn-small radius-big pd-medium bg-grey"},[e.createVNode($._sfc_main,{class:"mn-medium",owner:{target:l.user},creator:{target:l.user},date:l.createdAt},null,8,["owner","creator","date"]),e.createElementVNode("div",O,[e.createElementVNode("p",Q,e.toDisplayString(l.content),1)])]))),128))]))}},Y={class:"w-100 bg-white radius-big image-upload-area flex-v-center flex-h-center flex t-black mn-small"},Z=["src"],ee={__name:"Image",props:["label","value","prop"],setup(o){return e.ref(null),(r,n)=>(e.openBlock(),e.createElementBlock("div",Y,[o.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,Z)):e.createCommentVNode("",!0)]))}};exports._sfc_main=j;exports._sfc_main$1=X;exports._sfc_main$2=ee;exports._sfc_main$3=y;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-2bc18d1e.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-18f80fef.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-78fd9408.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-d102dac0.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-07c01b19.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-84680727.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-ab40831d.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-f81f3598.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-35ef1791.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-50bd4ebb.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-5aa8e90c.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-8b5aac7a.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as e } from "vue";
|
2
|
-
import { _ as l } from "./auth-fefd15a3.mjs";
|
3
|
-
const t = {}, n = {
|
4
|
-
viewBox: "0 0 42 42",
|
5
|
-
fill: "none",
|
6
|
-
xmlns: "http://www.w3.org/2000/svg"
|
7
|
-
}, r = /* @__PURE__ */ e("circle", {
|
8
|
-
fill: "rgb(var(--main))",
|
9
|
-
cx: "21",
|
10
|
-
cy: "21",
|
11
|
-
r: "21"
|
12
|
-
}, null, -1), i = /* @__PURE__ */ e("path", {
|
13
|
-
fill: "#242424",
|
14
|
-
"fill-opacity": "0.1",
|
15
|
-
"fill-rule": "evenodd",
|
16
|
-
"clip-rule": "evenodd",
|
17
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
18
|
-
}, null, -1), s = [
|
19
|
-
r,
|
20
|
-
i
|
21
|
-
];
|
22
|
-
function _(d, a) {
|
23
|
-
return o(), c("svg", n, s);
|
24
|
-
}
|
25
|
-
const C = /* @__PURE__ */ l(t, [["render", _]]);
|
26
|
-
export {
|
27
|
-
C as P
|
28
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),c=require("./auth-7dff19e4.js"),t={},l={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),n=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),r=[o,n];function s(_,d){return e.openBlock(),e.createElementBlock("svg",l,r)}const i=c._export_sfc(t,[["render",s]]);exports.PlaceholderUserpic=i;
|
package/dist/Popup-0c791801.mjs
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
import { watch as p, openBlock as u, createBlock as a, Teleport as c, createVNode as d, Transition as m, withCtx as v, withDirectives as f, createElementVNode as e, mergeProps as h, renderSlot as L, normalizeClass as w, vShow as g, createCommentVNode as x } from "vue";
|
2
|
-
import { useRoute as P, useRouter as y } from "vue-router";
|
3
|
-
import { useI18n as b } from "vue-i18n";
|
4
|
-
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs";
|
5
|
-
const k = { class: "pd-small popup-wrapper" }, C = /* @__PURE__ */ e("svg", {
|
6
|
-
width: "26",
|
7
|
-
height: "26",
|
8
|
-
viewBox: "0 0 26 26",
|
9
|
-
fill: "none",
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
11
|
-
}, [
|
12
|
-
/* @__PURE__ */ e("rect", {
|
13
|
-
width: "24",
|
14
|
-
height: "24",
|
15
|
-
transform: "translate(1 1)"
|
16
|
-
}),
|
17
|
-
/* @__PURE__ */ e("path", {
|
18
|
-
"fill-rule": "evenodd",
|
19
|
-
"clip-rule": "evenodd",
|
20
|
-
d: "M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",
|
21
|
-
fill: "white"
|
22
|
-
})
|
23
|
-
], -1), O = [
|
24
|
-
C
|
25
|
-
], V = {
|
26
|
-
__name: "Popup",
|
27
|
-
props: {
|
28
|
-
isPopupOpen: {
|
29
|
-
type: Boolean,
|
30
|
-
default: !1
|
31
|
-
},
|
32
|
-
style: String
|
33
|
-
},
|
34
|
-
emits: ["close-popup"],
|
35
|
-
setup(t, { emit: l }) {
|
36
|
-
const r = t;
|
37
|
-
function n() {
|
38
|
-
l("close-popup");
|
39
|
-
}
|
40
|
-
return p(() => r.isPopupOpen, (o) => {
|
41
|
-
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
42
|
-
}), P(), y(), b({
|
43
|
-
messages: {
|
44
|
-
en: {},
|
45
|
-
ru: {}
|
46
|
-
}
|
47
|
-
}), (o, s) => t.isPopupOpen ? (u(), a(c, {
|
48
|
-
key: 0,
|
49
|
-
to: "body"
|
50
|
-
}, [
|
51
|
-
d(m, { name: "scale" }, {
|
52
|
-
default: v(() => [
|
53
|
-
f(e("div", k, [
|
54
|
-
e("section", h({ class: "t-center z-index-4" }, o.$attrs), [
|
55
|
-
e("button", {
|
56
|
-
onClick: s[0] || (s[0] = (i) => n()),
|
57
|
-
class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
|
58
|
-
}, O),
|
59
|
-
L(o.$slots, "default")
|
60
|
-
], 16),
|
61
|
-
e("div", {
|
62
|
-
onClick: s[1] || (s[1] = (i) => n()),
|
63
|
-
class: w([{ active: t.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
64
|
-
}, null, 2)
|
65
|
-
], 512), [
|
66
|
-
[g, t.isPopupOpen]
|
67
|
-
])
|
68
|
-
]),
|
69
|
-
_: 3
|
70
|
-
})
|
71
|
-
])) : x("", !0);
|
72
|
-
}
|
73
|
-
};
|
74
|
-
export {
|
75
|
-
V as _
|
76
|
-
};
|
package/dist/Popup-70f6a8c0.mjs
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
import { watch as p, openBlock as u, createBlock as a, Teleport as c, createVNode as d, Transition as m, withCtx as v, withDirectives as f, createElementVNode as e, mergeProps as h, renderSlot as L, normalizeClass as w, vShow as g, createCommentVNode as x } from "vue";
|
2
|
-
import { useRoute as P, useRouter as y } from "vue-router";
|
3
|
-
import { useI18n as b } from "vue-i18n";
|
4
|
-
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs";
|
5
|
-
const k = { class: "pd-small popup-wrapper" }, C = /* @__PURE__ */ e("svg", {
|
6
|
-
width: "26",
|
7
|
-
height: "26",
|
8
|
-
viewBox: "0 0 26 26",
|
9
|
-
fill: "none",
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
11
|
-
}, [
|
12
|
-
/* @__PURE__ */ e("rect", {
|
13
|
-
width: "24",
|
14
|
-
height: "24",
|
15
|
-
transform: "translate(1 1)"
|
16
|
-
}),
|
17
|
-
/* @__PURE__ */ e("path", {
|
18
|
-
"fill-rule": "evenodd",
|
19
|
-
"clip-rule": "evenodd",
|
20
|
-
d: "M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",
|
21
|
-
fill: "white"
|
22
|
-
})
|
23
|
-
], -1), O = [
|
24
|
-
C
|
25
|
-
], V = {
|
26
|
-
__name: "Popup",
|
27
|
-
props: {
|
28
|
-
isPopupOpen: {
|
29
|
-
type: Boolean,
|
30
|
-
default: !1
|
31
|
-
},
|
32
|
-
style: String
|
33
|
-
},
|
34
|
-
emits: ["close-popup"],
|
35
|
-
setup(t, { emit: l }) {
|
36
|
-
const r = t;
|
37
|
-
function n() {
|
38
|
-
l("close-popup");
|
39
|
-
}
|
40
|
-
return p(() => r.isPopupOpen, (o) => {
|
41
|
-
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
42
|
-
}), P(), y(), b({
|
43
|
-
messages: {
|
44
|
-
en: {},
|
45
|
-
ru: {}
|
46
|
-
}
|
47
|
-
}), (o, s) => t.isPopupOpen ? (u(), a(c, {
|
48
|
-
key: 0,
|
49
|
-
to: "body"
|
50
|
-
}, [
|
51
|
-
d(m, { name: "scale" }, {
|
52
|
-
default: v(() => [
|
53
|
-
f(e("div", k, [
|
54
|
-
e("section", h({ class: "t-center z-index-4" }, o.$attrs), [
|
55
|
-
e("button", {
|
56
|
-
onClick: s[0] || (s[0] = (i) => n()),
|
57
|
-
class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
|
58
|
-
}, O),
|
59
|
-
L(o.$slots, "default")
|
60
|
-
], 16),
|
61
|
-
e("div", {
|
62
|
-
onClick: s[1] || (s[1] = (i) => n()),
|
63
|
-
class: w([{ active: t.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
64
|
-
}, null, 2)
|
65
|
-
], 512), [
|
66
|
-
[g, t.isPopupOpen]
|
67
|
-
])
|
68
|
-
]),
|
69
|
-
_: 3
|
70
|
-
})
|
71
|
-
])) : x("", !0);
|
72
|
-
}
|
73
|
-
};
|
74
|
-
export {
|
75
|
-
V as _
|
76
|
-
};
|
package/dist/Popup-7c331e1c.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),l=require("vue-router"),p=require("vue-i18n");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js");const a={class:"pd-small popup-wrapper"},d=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"white"})],-1),m=[d],v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(t,{emit:r}){const i=t;function n(){r("close-popup")}e.watch(()=>i.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),l.useRoute(),l.useRouter();const c={messages:{en:{},ru:{}}};return p.useI18n(c),(o,s)=>t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"scale"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",a,[e.createElementVNode("section",e.mergeProps({class:"t-center z-index-4"},o.$attrs),[e.createElementVNode("button",{onClick:s[0]||(s[0]=u=>n()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},m),e.renderSlot(o.$slots,"default")],16),e.createElementVNode("div",{onClick:s[1]||(s[1]=u=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)],512),[[e.vShow,t.isPopupOpen]])]),_:3})])):e.createCommentVNode("",!0)}};exports._sfc_main=v;
|
package/dist/Popup-82fb2c8a.mjs
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
import { watch as p, openBlock as u, createBlock as a, Teleport as c, createVNode as d, Transition as m, withCtx as v, withDirectives as f, createElementVNode as e, mergeProps as h, renderSlot as L, normalizeClass as w, vShow as g, createCommentVNode as x } from "vue";
|
2
|
-
import { useRoute as P, useRouter as y } from "vue-router";
|
3
|
-
import { useI18n as b } from "vue-i18n";
|
4
|
-
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs";
|
5
|
-
const k = { class: "pd-small popup-wrapper" }, C = /* @__PURE__ */ e("svg", {
|
6
|
-
width: "26",
|
7
|
-
height: "26",
|
8
|
-
viewBox: "0 0 26 26",
|
9
|
-
fill: "none",
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
11
|
-
}, [
|
12
|
-
/* @__PURE__ */ e("rect", {
|
13
|
-
width: "24",
|
14
|
-
height: "24",
|
15
|
-
transform: "translate(1 1)"
|
16
|
-
}),
|
17
|
-
/* @__PURE__ */ e("path", {
|
18
|
-
"fill-rule": "evenodd",
|
19
|
-
"clip-rule": "evenodd",
|
20
|
-
d: "M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",
|
21
|
-
fill: "white"
|
22
|
-
})
|
23
|
-
], -1), O = [
|
24
|
-
C
|
25
|
-
], V = {
|
26
|
-
__name: "Popup",
|
27
|
-
props: {
|
28
|
-
isPopupOpen: {
|
29
|
-
type: Boolean,
|
30
|
-
default: !1
|
31
|
-
},
|
32
|
-
style: String
|
33
|
-
},
|
34
|
-
emits: ["close-popup"],
|
35
|
-
setup(t, { emit: l }) {
|
36
|
-
const r = t;
|
37
|
-
function n() {
|
38
|
-
l("close-popup");
|
39
|
-
}
|
40
|
-
return p(() => r.isPopupOpen, (o) => {
|
41
|
-
o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
42
|
-
}), P(), y(), b({
|
43
|
-
messages: {
|
44
|
-
en: {},
|
45
|
-
ru: {}
|
46
|
-
}
|
47
|
-
}), (o, s) => t.isPopupOpen ? (u(), a(c, {
|
48
|
-
key: 0,
|
49
|
-
to: "body"
|
50
|
-
}, [
|
51
|
-
d(m, { name: "scale" }, {
|
52
|
-
default: v(() => [
|
53
|
-
f(e("div", k, [
|
54
|
-
e("section", h({ class: "t-center z-index-4" }, o.$attrs), [
|
55
|
-
e("button", {
|
56
|
-
onClick: s[0] || (s[0] = (i) => n()),
|
57
|
-
class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
|
58
|
-
}, O),
|
59
|
-
L(o.$slots, "default")
|
60
|
-
], 16),
|
61
|
-
e("div", {
|
62
|
-
onClick: s[1] || (s[1] = (i) => n()),
|
63
|
-
class: w([{ active: t.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
64
|
-
}, null, 2)
|
65
|
-
], 512), [
|
66
|
-
[g, t.isPopupOpen]
|
67
|
-
])
|
68
|
-
]),
|
69
|
-
_: 3
|
70
|
-
})
|
71
|
-
])) : x("", !0);
|
72
|
-
}
|
73
|
-
};
|
74
|
-
export {
|
75
|
-
V as _
|
76
|
-
};
|
package/dist/Popup-9479e39a.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),l=require("vue-router"),p=require("vue-i18n");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js");const a={class:"pd-small popup-wrapper"},d=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"white"})],-1),m=[d],v={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(t,{emit:r}){const i=t;function n(){r("close-popup")}e.watch(()=>i.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),l.useRoute(),l.useRouter();const c={messages:{en:{},ru:{}}};return p.useI18n(c),(o,s)=>t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"scale"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",a,[e.createElementVNode("section",e.mergeProps({class:"t-center z-index-4"},o.$attrs),[e.createElementVNode("button",{onClick:s[0]||(s[0]=u=>n()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},m),e.renderSlot(o.$slots,"default")],16),e.createElementVNode("div",{onClick:s[1]||(s[1]=u=>n()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)],512),[[e.vShow,t.isPopupOpen]])]),_:3})])):e.createCommentVNode("",!0)}};exports._sfc_main=v;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const r=require("vue"),k=require("vue-router"),w=require("vue-i18n"),c=require("./globals-d7a54bb4.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js");const v=require("./auth-07c01b19.js"),x={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},y={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b=r.createElementVNode("path",{fill:"black",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),E=[b],B={key:2},V={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L=r.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"black"},null,-1),j=[L],z={__name:"Breadcrumbs",setup(e){const t=k.useRoute(),{t:n,locale:s}=w.useI18n(),d=r.computed(()=>t.matched.map(o=>{var p,P,C;const m=(p=o.meta)==null?void 0:p.title,g=s==null?void 0:s.value,f=m&&g&&m[g],u=o.path.replace(/:.+?\//g,D=>""),_=(C=(P=o.meta)==null?void 0:P.breadcrumbs)==null?void 0:C.hidden;return{name:f,path:u,isHidden:_}}).filter(o=>o.name&&!o.isHidden));return(o,m)=>{const g=r.resolveComponent("router-link");return r.openBlock(),r.createElementBlock("ol",x,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(d),(f,u)=>(r.openBlock(),r.createElementBlock("li",{key:u,class:r.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":u===r.unref(d).length-1}])},[u===0?(r.openBlock(),r.createElementBlock("svg",y,E)):r.createCommentVNode("",!0),u!==r.unref(d).length-1?(r.openBlock(),r.createBlock(g,{key:1,to:u===0?"/":f.path},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(f.name),1)]),_:2},1032,["to"])):(r.openBlock(),r.createElementBlock("span",B,r.toDisplayString(f.name),1)),u!==r.unref(d).length-1?(r.openBlock(),r.createElementBlock("svg",V,j)):r.createCommentVNode("",!0)],2))),128))])}}};const $={class:"flex-v-center flex-nowrap flex"},N={key:0,class:"mn-r-auto t-transp mn-r-small"},S=["name","value","checked"],I={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:Array,default:[]}},emits:["update:radio"],setup(e,{emit:t}){const n=e,s=d=>{let o=n.radio;if(d.target.checked)o.push(n.value);else{const m=o.indexOf(n.value);m!==-1&&o.splice(m,1)}t("update:radio",o)};return(d,o)=>(r.openBlock(),r.createElementBlock("label",$,[e.label?(r.openBlock(),r.createElementBlock("div",N,[r.createElementVNode("span",null,r.toDisplayString(e.label),1)])):r.createCommentVNode("",!0),r.createElementVNode("input",{onChange:s,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.radio.includes(e.value)},null,40,S),r.createElementVNode("div",{class:r.normalizeClass(["transition-elastic pd-thin h-2r w-4r radius-extra",{"bg-grey":!e.radio.includes(e.value),"bg-main":e.radio.includes(e.value)}])},[r.createElementVNode("div",{class:r.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!e.radio.includes(e.value),"mn-l-auto":e.radio.includes(e.value)}])},null,2)],2)]))}},R=v._export_sfc(I,[["__scopeId","data-v-2276d48f"]]),i=v.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=r.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],coverImage:"",images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],description:""}}),q={async create(e,t){const n={...t,organization:e};return await i.post("/products/create",n).then(s=>(H(s.data,"current"),Promise.resolve(s.data)),s=>(c.setError(s),Promise.reject(s)))},async read(e={}){e._id&&(e.params={_id:e._id}),e.category&&(e.params=e.params||{},e.params.category=e.category),e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||10,e.organization&&(e.params.organization=e.organization),e.params.sort="createdAt";try{console.log("Request params:"+e.params);const t=await i.get("/products/read",{params:e.params});return e._id?a.current=t.data[0]:a.all=t.data,Promise.resolve(t.data)}catch(t){return c.setError(t),Promise.reject(t)}},async update(e,t){return await i.post("/products/"+e,t).then(n=>Promise.resolve(n.data),n=>(c.setError(n),Promise.reject(n)))},async deleteProduct(e){return await i.delete("/products/"+e).then(t=>Promise.resolve(t.data),t=>(c.setError(t),Promise.reject(t)))},async submitMood(e=null){return console.log(e),i.post("/product/recommended",{mood:e}).then(t=>(a.current=t.data.product,a.current.recommendation=t.data.recommendationText,Promise.resolve(t.data)),t=>(console.log(t),c.setError(t),Promise.reject(t)))},async fetchProducts(){return await i.get("/products").then(e=>(a.all=e.data,a.filtered=e.data.slice(),a.filteredPrice=a.filtered,a.filteredPrice.sort(function(t,n){return t[a.sort.current]>n[a.sort.current]?a.sort.ascending?1:-1:t[a.sort.current]<n[a.sort.current]?a.sort.ascending?-1:1:0}),Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await i.get("/products/popular").then(e=>(a.popular=e.data,Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await i.get("/products").then(e=>{let t=e.data.filter(function(n,s){return n.status!=="unpublished"});return a.all=t,a.filtered=t.slice(),a.filteredPrice=a.filtered,a.filteredPrice.sort(function(n,s){return n[a.sort.current]>s[a.sort.current]?a.sort.ascending?1:-1:n[a.sort.current]<s[a.sort.current]?a.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(c.setError(e),Promise.reject(e)))},async fetchProduct(e){return await i.get("/products/"+e).then(t=>(t.localization||(t.localization=[]),a.current=t.data,Promise.resolve(t.data)),t=>(c.setError(t),Promise.reject(t)))},async fetchProductPopular(){return await i.get("/products").then(e=>(a.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(c.setError(e),Promise.reject(e)))}};function H(e,t){a[t]=e}r.watch(a,(e,t)=>{});const U=process.env.API_URL,h=v.axios.create({baseURL:U,withCredentials:!0}),l=r.reactive({all:[],current:{order:"1",name:"",url:"",subcategories:[],filters:[],localization:[]}}),A={async fetchCategories(){return await h.get("/categories").then(e=>(l.all=e.data,Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},updateCategories(e){return h.post("/categories",e).then(t=>(l.all=e,Promise.resolve(e)),t=>(c.setError(t),Promise.reject(t)))},fetchCategory(e){return h.get("/categories/"+e).then(t=>(l.current=t.data,Promise.resolve(t.data)),t=>(c.setError(t),Promise.reject(t)))},addCategory(){return h.post("/categories/add",l.current).then(e=>(l.all.push(e.data),Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},updateCategory(e){return h.post("/categories/"+e,l.current).then(t=>(l.current=t.data,Promise.resolve(t.data)),t=>(c.setError(t),Promise.reject(t)))},deleteCategory(e){return h.delete("/categories/"+e).then(t=>{const n=l.all.findIndex(s=>s.url===e);l.all.splice(n,1)},t=>{c.setError(t)})}};r.watch(l,e=>{});exports.Checkbox=R;exports._sfc_main=z;exports.actions=A;exports.actions$1=q;exports.state=a;exports.state$1=l;
|