@ozdao/prometheus-framework 0.0.89 → 0.0.91
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 +135 -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 +10 -10
- package/dist/prometheus-framework.es.js +1 -1
- 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 +29 -0
- package/src/modules/icons/labels/LabelGooglePlay.vue +47 -0
- package/src/modules/landing/components/sections/MobileApp.vue +134 -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
@@ -1,237 +0,0 @@
|
|
1
|
-
import { toRefs as $, openBlock as n, createElementBlock as r, createTextVNode as U, toDisplayString as w, unref as e, createVNode as p, createElementVNode as o, createCommentVNode as y, createBlock as P, withCtx as N, Fragment as D, renderList as S, ref as C, withModifiers as B } from "vue";
|
2
|
-
import { b as E, a as V } from "./auth-708eebcb.mjs";
|
3
|
-
import { F as _ } from "./Field-740d5a17.mjs";
|
4
|
-
import { S as z } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs";
|
5
|
-
import { u as A } from "./vuex.esm-bundler-57d8b6ba.mjs";
|
6
|
-
import { V as F } from "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
7
|
-
import { s as x } from "./Popup.vue_vue_type_style_index_0_lang-22048704.mjs";
|
8
|
-
const L = { class: "mn-big flex-column flex" }, oe = {
|
9
|
-
__name: "EditProductInfo",
|
10
|
-
props: {
|
11
|
-
product: Object
|
12
|
-
},
|
13
|
-
setup(i) {
|
14
|
-
const c = i, t = A();
|
15
|
-
return $(c), (s, a) => (n(), r("div", L, [
|
16
|
-
U(w(e(t).products.current) + " ", 1),
|
17
|
-
p(z, {
|
18
|
-
options: [
|
19
|
-
"unpublished",
|
20
|
-
"published",
|
21
|
-
"archivied"
|
22
|
-
],
|
23
|
-
select: e(t).products.state.current.status,
|
24
|
-
"onUpdate:select": a[0] || (a[0] = (l) => e(t).products.state.current.status = l),
|
25
|
-
placeholder: "Display product",
|
26
|
-
class: "w-100 mn-small bg-white radius-small pd-medium"
|
27
|
-
}, null, 8, ["select"]),
|
28
|
-
p(_, {
|
29
|
-
field: e(t).products.state.current.name,
|
30
|
-
"onUpdate:field": a[1] || (a[1] = (l) => e(t).products.state.current.name = l),
|
31
|
-
placeholder: "Введите название",
|
32
|
-
class: "w-100 mn-small bg-white radius-small pd-medium"
|
33
|
-
}, null, 8, ["field"]),
|
34
|
-
p(_, {
|
35
|
-
field: e(t).products.state.current.price,
|
36
|
-
"onUpdate:field": a[2] || (a[2] = (l) => e(t).products.state.current.price = l),
|
37
|
-
placeholder: "Введите цену",
|
38
|
-
class: "w-100 mn-small bg-white radius-small pd-medium",
|
39
|
-
type: "number"
|
40
|
-
}, null, 8, ["field"]),
|
41
|
-
p(_, {
|
42
|
-
field: e(t).products.state.current.description,
|
43
|
-
"onUpdate:field": a[3] || (a[3] = (l) => e(t).products.state.current.description = l),
|
44
|
-
placeholder: "Введите описание",
|
45
|
-
class: "w-100 mn-small bg-white radius-small pd-medium",
|
46
|
-
type: "textarea"
|
47
|
-
}, null, 8, ["field"])
|
48
|
-
]));
|
49
|
-
}
|
50
|
-
}, j = { class: "mn-big" }, M = { class: "mn-small flex-nowrap flex" }, O = { class: "mn-r-thin" }, R = { class: "flex-column flex" }, T = {
|
51
|
-
key: 0,
|
52
|
-
class: "w-100 mn-small"
|
53
|
-
}, q = ["onClick"], G = /* @__PURE__ */ o("svg", {
|
54
|
-
class: "i-small",
|
55
|
-
fill: "none",
|
56
|
-
height: "20",
|
57
|
-
viewBox: "0 0 20 20",
|
58
|
-
width: "20",
|
59
|
-
xmlns: "http://www.w3.org/2000/svg"
|
60
|
-
}, [
|
61
|
-
/* @__PURE__ */ o("path", {
|
62
|
-
"clip-rule": "evenodd",
|
63
|
-
d: "m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",
|
64
|
-
fill: "#8a8a8a",
|
65
|
-
"fill-rule": "evenodd"
|
66
|
-
})
|
67
|
-
], -1), H = [
|
68
|
-
G
|
69
|
-
], re = {
|
70
|
-
__name: "EditParameters",
|
71
|
-
props: {
|
72
|
-
items: {
|
73
|
-
type: Array,
|
74
|
-
default: () => []
|
75
|
-
},
|
76
|
-
title: String,
|
77
|
-
addButtonLabel: String,
|
78
|
-
emptyMessage: String,
|
79
|
-
keyName: String,
|
80
|
-
valueName: String
|
81
|
-
},
|
82
|
-
emits: ["add-info", "delete-info"],
|
83
|
-
setup(i, { emit: c }) {
|
84
|
-
const t = i;
|
85
|
-
function s() {
|
86
|
-
c("add-info", {});
|
87
|
-
}
|
88
|
-
function a(d) {
|
89
|
-
c("delete-info", d);
|
90
|
-
}
|
91
|
-
const { items: l, title: f, emptyMessage: v, addButtonLabel: m, keyName: u, valueName: g } = $(t);
|
92
|
-
return (d, I) => (n(), r("div", j, [
|
93
|
-
o("div", M, [
|
94
|
-
o("h5", O, w(e(f)), 1),
|
95
|
-
o("button", {
|
96
|
-
onClick: s,
|
97
|
-
class: "i-small pd-thin button-delete button"
|
98
|
-
}, "+")
|
99
|
-
]),
|
100
|
-
o("div", R, [
|
101
|
-
e(l).length == 0 ? (n(), r("p", T, w(e(v)), 1)) : y("", !0),
|
102
|
-
e(l).length == 0 ? (n(), P(E, {
|
103
|
-
key: 1,
|
104
|
-
onClick: s,
|
105
|
-
class: "button"
|
106
|
-
}, {
|
107
|
-
default: N(() => [
|
108
|
-
U(w(e(m)), 1)
|
109
|
-
]),
|
110
|
-
_: 1
|
111
|
-
})) : y("", !0),
|
112
|
-
(n(!0), r(D, null, S(e(l), (h, k) => (n(), r("div", {
|
113
|
-
class: "mn-medium w-100 flex-nowrap flex",
|
114
|
-
key: k
|
115
|
-
}, [
|
116
|
-
p(_, {
|
117
|
-
field: h[e(u)],
|
118
|
-
"onUpdate:field": (b) => h[e(u)] = b,
|
119
|
-
placeholder: "Название параметра",
|
120
|
-
class: "w-100 mn-r-small bg-white radius-small pd-medium"
|
121
|
-
}, null, 8, ["field", "onUpdate:field"]),
|
122
|
-
p(_, {
|
123
|
-
field: h[e(g)],
|
124
|
-
"onUpdate:field": (b) => h[e(g)] = b,
|
125
|
-
placeholder: "Значение параметра",
|
126
|
-
class: "w-100 bg-white radius-small pd-medium"
|
127
|
-
}, null, 8, ["field", "onUpdate:field"]),
|
128
|
-
o("button", {
|
129
|
-
onClick: (b) => a(k),
|
130
|
-
class: "mn-l-small button"
|
131
|
-
}, H, 8, q)
|
132
|
-
]))), 128))
|
133
|
-
])
|
134
|
-
]));
|
135
|
-
}
|
136
|
-
}, J = /* @__PURE__ */ o("div", { class: "flex-v-center flex-h-center flex w-100 h-100" }, " upload ", -1), K = {
|
137
|
-
__name: "UploadImageMultiple",
|
138
|
-
props: [
|
139
|
-
"uploadPath"
|
140
|
-
],
|
141
|
-
emits: ["update:images"],
|
142
|
-
setup(i, { emit: c }) {
|
143
|
-
const t = i, s = C([]), a = C(null);
|
144
|
-
function l() {
|
145
|
-
a.value.click();
|
146
|
-
}
|
147
|
-
async function f(m) {
|
148
|
-
let u = m.target.files, g = new FormData();
|
149
|
-
for (let d = 0; d < u.length; d++)
|
150
|
-
g.append("file", u[d]);
|
151
|
-
try {
|
152
|
-
(await V.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/multiple?folderName=${encodeURIComponent(t.uploadPath)}`, g, {
|
153
|
-
headers: {
|
154
|
-
"Content-Type": "multipart/form-data"
|
155
|
-
}
|
156
|
-
})).data.forEach((h) => {
|
157
|
-
s.value.push(h.filepath);
|
158
|
-
}), c("update:images", s.value);
|
159
|
-
} catch (d) {
|
160
|
-
console.error(d);
|
161
|
-
}
|
162
|
-
}
|
163
|
-
function v(m) {
|
164
|
-
m.preventDefault(), f({
|
165
|
-
target: {
|
166
|
-
files: m.dataTransfer.files
|
167
|
-
}
|
168
|
-
});
|
169
|
-
}
|
170
|
-
return (m, u) => (n(), r("div", {
|
171
|
-
onClick: l,
|
172
|
-
onDrop: v,
|
173
|
-
onDragover: u[0] || (u[0] = B(() => {
|
174
|
-
}, ["prevent"])),
|
175
|
-
class: "flex-v-center flex-h-center flex"
|
176
|
-
}, [
|
177
|
-
J,
|
178
|
-
o("input", {
|
179
|
-
type: "file",
|
180
|
-
ref_key: "fileInput",
|
181
|
-
ref: a,
|
182
|
-
onChange: f,
|
183
|
-
multiple: "",
|
184
|
-
style: { display: "none" }
|
185
|
-
}, null, 544)
|
186
|
-
], 32));
|
187
|
-
}
|
188
|
-
}, Q = {
|
189
|
-
key: 0,
|
190
|
-
class: "mn-big"
|
191
|
-
}, W = { class: "flex-column block" }, X = ["src"], Y = ["onClick"], ie = {
|
192
|
-
__name: "EditProductImages",
|
193
|
-
props: {
|
194
|
-
product: Object
|
195
|
-
},
|
196
|
-
setup(i) {
|
197
|
-
function c(s) {
|
198
|
-
console.log(s), console.log(x.current.images), x.current.images.push(...s);
|
199
|
-
}
|
200
|
-
function t(s) {
|
201
|
-
x.current.images.splice(s, 1);
|
202
|
-
}
|
203
|
-
return (s, a) => (n(), r("div", null, [
|
204
|
-
i.product.images.length < 1 ? (n(), r("p", Q, " The product doesn't have any images yet. ")) : y("", !0),
|
205
|
-
p(e(F), {
|
206
|
-
class: "cols-4 dragArea list-group w-full",
|
207
|
-
list: i.product.images,
|
208
|
-
sort: !0,
|
209
|
-
onChange: s.log
|
210
|
-
}, {
|
211
|
-
default: N(() => [
|
212
|
-
(n(!0), r(D, null, S(i.product.images, (l, f) => (n(), r("div", W, [
|
213
|
-
o("img", {
|
214
|
-
class: "w-100 mn-small",
|
215
|
-
src: l
|
216
|
-
}, null, 8, X),
|
217
|
-
o("a", {
|
218
|
-
onClick: (v) => t(f),
|
219
|
-
class: "w-100 br-grey br-solid br-1px button"
|
220
|
-
}, "Удалить", 8, Y)
|
221
|
-
]))), 256))
|
222
|
-
]),
|
223
|
-
_: 1
|
224
|
-
}, 8, ["list", "onChange"]),
|
225
|
-
p(K, {
|
226
|
-
"onUpdate:images": c,
|
227
|
-
uploadPath: "organizations/" + s.$route.params._id + "/products",
|
228
|
-
class: "mn-t-semi pd-small w-100 button bg-main"
|
229
|
-
}, null, 8, ["uploadPath"])
|
230
|
-
]));
|
231
|
-
}
|
232
|
-
};
|
233
|
-
export {
|
234
|
-
oe as _,
|
235
|
-
re as a,
|
236
|
-
ie as b
|
237
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./auth-78fd9408.js"),k=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js"),b=require("./vuex.esm-bundler-e8cf3cd2.js"),y=require("./vue-draggable-next.esm-bundler-80731ae0.js"),g=require("./Popup.vue_vue_type_style_index_0_lang-931f265a.js"),w={class:"mn-big flex-column flex"},x={__name:"EditProductInfo",props:{product:Object},setup(r){const a=r,t=b.useStore();return e.toRefs(a),(n,o)=>(e.openBlock(),e.createElementBlock("div",w,[e.createTextVNode(e.toDisplayString(e.unref(t).products.current)+" ",1),e.createVNode(k.Select,{options:["unpublished","published","archivied"],select:e.unref(t).products.state.current.status,"onUpdate:select":o[0]||(o[0]=l=>e.unref(t).products.state.current.status=l),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(d.Field,{field:e.unref(t).products.state.current.name,"onUpdate:field":o[1]||(o[1]=l=>e.unref(t).products.state.current.name=l),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.Field,{field:e.unref(t).products.state.current.price,"onUpdate:field":o[2]||(o[2]=l=>e.unref(t).products.state.current.price=l),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(d.Field,{field:e.unref(t).products.state.current.description,"onUpdate:field":o[3]||(o[3]=l=>e.unref(t).products.state.current.description=l),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},N={class:"mn-big"},B={class:"mn-small flex-nowrap flex"},E={class:"mn-r-thin"},V={class:"flex-column flex"},C={key:0,class:"w-100 mn-small"},$=["onClick"],U=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),D=[U],S={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(r,{emit:a}){const t=r;function n(){a("add-info",{})}function o(s){a("delete-info",s)}const{items:l,title:u,emptyMessage:f,addButtonLabel:i,keyName:c,valueName:p}=e.toRefs(t);return(s,v)=>(e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("div",B,[e.createElementVNode("h5",E,e.toDisplayString(e.unref(u)),1),e.createElementVNode("button",{onClick:n,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",V,[e.unref(l).length==0?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(f)),1)):e.createCommentVNode("",!0),e.unref(l).length==0?(e.openBlock(),e.createBlock(d._sfc_main,{key:1,onClick:n,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(m,_)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:_},[e.createVNode(d.Field,{field:m[e.unref(c)],"onUpdate:field":h=>m[e.unref(c)]=h,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.Field,{field:m[e.unref(p)],"onUpdate:field":h=>m[e.unref(p)]=h,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:h=>o(_),class:"mn-l-small button"},D,8,$)]))),128))])]))}},F=e.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),P={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(r,{emit:a}){const t=r,n=e.ref([]),o=e.ref(null);function l(){o.value.click()}async function u(i){let c=i.target.files,p=new FormData;for(let s=0;s<c.length;s++)p.append("file",c[s]);try{(await d.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(t.uploadPath)}`,p,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(m=>{n.value.push(m.filepath)}),a("update:images",n.value)}catch(s){console.error(s)}}function f(i){i.preventDefault(),u({target:{files:i.dataTransfer.files}})}return(i,c)=>(e.openBlock(),e.createElementBlock("div",{onClick:l,onDrop:f,onDragover:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[F,e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:u,multiple:"",style:{display:"none"}},null,544)],32))}},I={key:0,class:"mn-big"},q={class:"flex-column block"},L=["src"],z=["onClick"],A={__name:"EditProductImages",props:{product:Object},setup(r){function a(n){console.log(n),console.log(g.state.current.images),g.state.current.images.push(...n)}function t(n){g.state.current.images.splice(n,1)}return(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[r.product.images.length<1?(e.openBlock(),e.createElementBlock("p",I," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(y.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:r.product.images,sort:!0,onChange:n.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.product.images,(l,u)=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("img",{class:"w-100 mn-small",src:l},null,8,L),e.createElementVNode("a",{onClick:f=>t(u),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,z)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(P,{"onUpdate:images":a,uploadPath:"organizations/"+n.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};exports._sfc_main=x;exports._sfc_main$1=S;exports._sfc_main$2=A;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),v=require("./auth-50bd4ebb.js"),p=require("./Field-ada86df2.js"),g=require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js"),b=require("./Popup.vue_vue_type_style_index_0_lang-769e7cf5.js"),y=require("./vue-draggable-next.esm-bundler-80731ae0.js"),w={class:"mn-big flex-column flex"},x={__name:"EditProductInfo",props:{product:Object},setup(r){const a=r,t=b.useStore();return e.toRefs(a),(n,o)=>(e.openBlock(),e.createElementBlock("div",w,[e.createTextVNode(e.toDisplayString(e.unref(t).products.current)+" ",1),e.createVNode(g.Select,{options:["unpublished","published","archivied"],select:e.unref(t).products.state.current.status,"onUpdate:select":o[0]||(o[0]=l=>e.unref(t).products.state.current.status=l),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(p.Field,{field:e.unref(t).products.state.current.name,"onUpdate:field":o[1]||(o[1]=l=>e.unref(t).products.state.current.name=l),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(t).products.state.current.price,"onUpdate:field":o[2]||(o[2]=l=>e.unref(t).products.state.current.price=l),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(p.Field,{field:e.unref(t).products.state.current.description,"onUpdate:field":o[3]||(o[3]=l=>e.unref(t).products.state.current.description=l),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},N={class:"mn-big"},B={class:"mn-small flex-nowrap flex"},E={class:"mn-r-thin"},V={class:"flex-column flex"},C={key:0,class:"w-100 mn-small"},$=["onClick"],U=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),D=[U],S={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(r,{emit:a}){const t=r;function n(){a("add-info",{})}function o(s){a("delete-info",s)}const{items:l,title:d,emptyMessage:f,addButtonLabel:i,keyName:c,valueName:m}=e.toRefs(t);return(s,k)=>(e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("div",B,[e.createElementVNode("h5",E,e.toDisplayString(e.unref(d)),1),e.createElementVNode("button",{onClick:n,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",V,[e.unref(l).length==0?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(f)),1)):e.createCommentVNode("",!0),e.unref(l).length==0?(e.openBlock(),e.createBlock(v._sfc_main,{key:1,onClick:n,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(u,_)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:_},[e.createVNode(p.Field,{field:u[e.unref(c)],"onUpdate:field":h=>u[e.unref(c)]=h,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(p.Field,{field:u[e.unref(m)],"onUpdate:field":h=>u[e.unref(m)]=h,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:h=>o(_),class:"mn-l-small button"},D,8,$)]))),128))])]))}},F=e.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),P={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(r,{emit:a}){const t=r,n=e.ref([]),o=e.ref(null);function l(){o.value.click()}async function d(i){let c=i.target.files,m=new FormData;for(let s=0;s<c.length;s++)m.append("file",c[s]);try{(await v.axios.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(t.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(u=>{n.value.push(u.filepath)}),a("update:images",n.value)}catch(s){console.error(s)}}function f(i){i.preventDefault(),d({target:{files:i.dataTransfer.files}})}return(i,c)=>(e.openBlock(),e.createElementBlock("div",{onClick:l,onDrop:f,onDragover:c[0]||(c[0]=e.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[F,e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:o,onChange:d,multiple:"",style:{display:"none"}},null,544)],32))}},I={key:0,class:"mn-big"},q={class:"flex-column block"},L=["src"],z=["onClick"],A={__name:"EditProductImages",props:{product:Object},setup(r){function a(n){console.log(n),console.log(g.state.current.images),g.state.current.images.push(...n)}function t(n){g.state.current.images.splice(n,1)}return(n,o)=>(e.openBlock(),e.createElementBlock("div",null,[r.product.images.length<1?(e.openBlock(),e.createElementBlock("p",I," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(y.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:r.product.images,sort:!0,onChange:n.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.product.images,(l,d)=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("img",{class:"w-100 mn-small",src:l},null,8,L),e.createElementVNode("a",{onClick:f=>t(d),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,z)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(P,{"onUpdate:images":a,uploadPath:"organizations/"+n.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};exports._sfc_main=x;exports._sfc_main$1=S;exports._sfc_main$2=A;
|
@@ -1,236 +0,0 @@
|
|
1
|
-
import { toRefs as $, openBlock as n, createElementBlock as r, createTextVNode as U, toDisplayString as w, unref as e, createVNode as p, createElementVNode as o, createCommentVNode as y, createBlock as P, withCtx as N, Fragment as D, renderList as S, ref as C, withModifiers as B } from "vue";
|
2
|
-
import { F as _, b as E, a as V } from "./auth-8b5aac7a.mjs";
|
3
|
-
import { S as z } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs";
|
4
|
-
import { u as A } from "./vuex.esm-bundler-57d8b6ba.mjs";
|
5
|
-
import { V as F } from "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
6
|
-
import { s as x } from "./categories-86b2d45b.mjs";
|
7
|
-
const L = { class: "mn-big flex-column flex" }, ne = {
|
8
|
-
__name: "EditProductInfo",
|
9
|
-
props: {
|
10
|
-
product: Object
|
11
|
-
},
|
12
|
-
setup(i) {
|
13
|
-
const c = i, t = A();
|
14
|
-
return $(c), (s, a) => (n(), r("div", L, [
|
15
|
-
U(w(e(t).products.current) + " ", 1),
|
16
|
-
p(z, {
|
17
|
-
options: [
|
18
|
-
"unpublished",
|
19
|
-
"published",
|
20
|
-
"archivied"
|
21
|
-
],
|
22
|
-
select: e(t).products.state.current.status,
|
23
|
-
"onUpdate:select": a[0] || (a[0] = (l) => e(t).products.state.current.status = l),
|
24
|
-
placeholder: "Display product",
|
25
|
-
class: "w-100 mn-small bg-white radius-small pd-medium"
|
26
|
-
}, null, 8, ["select"]),
|
27
|
-
p(_, {
|
28
|
-
field: e(t).products.state.current.name,
|
29
|
-
"onUpdate:field": a[1] || (a[1] = (l) => e(t).products.state.current.name = l),
|
30
|
-
placeholder: "Введите название",
|
31
|
-
class: "w-100 mn-small bg-white radius-small pd-medium"
|
32
|
-
}, null, 8, ["field"]),
|
33
|
-
p(_, {
|
34
|
-
field: e(t).products.state.current.price,
|
35
|
-
"onUpdate:field": a[2] || (a[2] = (l) => e(t).products.state.current.price = l),
|
36
|
-
placeholder: "Введите цену",
|
37
|
-
class: "w-100 mn-small bg-white radius-small pd-medium",
|
38
|
-
type: "number"
|
39
|
-
}, null, 8, ["field"]),
|
40
|
-
p(_, {
|
41
|
-
field: e(t).products.state.current.description,
|
42
|
-
"onUpdate:field": a[3] || (a[3] = (l) => e(t).products.state.current.description = l),
|
43
|
-
placeholder: "Введите описание",
|
44
|
-
class: "w-100 mn-small bg-white radius-small pd-medium",
|
45
|
-
type: "textarea"
|
46
|
-
}, null, 8, ["field"])
|
47
|
-
]));
|
48
|
-
}
|
49
|
-
}, j = { class: "mn-big" }, M = { class: "mn-small flex-nowrap flex" }, O = { class: "mn-r-thin" }, R = { class: "flex-column flex" }, T = {
|
50
|
-
key: 0,
|
51
|
-
class: "w-100 mn-small"
|
52
|
-
}, q = ["onClick"], G = /* @__PURE__ */ o("svg", {
|
53
|
-
class: "i-small",
|
54
|
-
fill: "none",
|
55
|
-
height: "20",
|
56
|
-
viewBox: "0 0 20 20",
|
57
|
-
width: "20",
|
58
|
-
xmlns: "http://www.w3.org/2000/svg"
|
59
|
-
}, [
|
60
|
-
/* @__PURE__ */ o("path", {
|
61
|
-
"clip-rule": "evenodd",
|
62
|
-
d: "m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",
|
63
|
-
fill: "#8a8a8a",
|
64
|
-
"fill-rule": "evenodd"
|
65
|
-
})
|
66
|
-
], -1), H = [
|
67
|
-
G
|
68
|
-
], oe = {
|
69
|
-
__name: "EditParameters",
|
70
|
-
props: {
|
71
|
-
items: {
|
72
|
-
type: Array,
|
73
|
-
default: () => []
|
74
|
-
},
|
75
|
-
title: String,
|
76
|
-
addButtonLabel: String,
|
77
|
-
emptyMessage: String,
|
78
|
-
keyName: String,
|
79
|
-
valueName: String
|
80
|
-
},
|
81
|
-
emits: ["add-info", "delete-info"],
|
82
|
-
setup(i, { emit: c }) {
|
83
|
-
const t = i;
|
84
|
-
function s() {
|
85
|
-
c("add-info", {});
|
86
|
-
}
|
87
|
-
function a(d) {
|
88
|
-
c("delete-info", d);
|
89
|
-
}
|
90
|
-
const { items: l, title: f, emptyMessage: v, addButtonLabel: m, keyName: u, valueName: g } = $(t);
|
91
|
-
return (d, I) => (n(), r("div", j, [
|
92
|
-
o("div", M, [
|
93
|
-
o("h5", O, w(e(f)), 1),
|
94
|
-
o("button", {
|
95
|
-
onClick: s,
|
96
|
-
class: "i-small pd-thin button-delete button"
|
97
|
-
}, "+")
|
98
|
-
]),
|
99
|
-
o("div", R, [
|
100
|
-
e(l).length == 0 ? (n(), r("p", T, w(e(v)), 1)) : y("", !0),
|
101
|
-
e(l).length == 0 ? (n(), P(E, {
|
102
|
-
key: 1,
|
103
|
-
onClick: s,
|
104
|
-
class: "button"
|
105
|
-
}, {
|
106
|
-
default: N(() => [
|
107
|
-
U(w(e(m)), 1)
|
108
|
-
]),
|
109
|
-
_: 1
|
110
|
-
})) : y("", !0),
|
111
|
-
(n(!0), r(D, null, S(e(l), (h, k) => (n(), r("div", {
|
112
|
-
class: "mn-medium w-100 flex-nowrap flex",
|
113
|
-
key: k
|
114
|
-
}, [
|
115
|
-
p(_, {
|
116
|
-
field: h[e(u)],
|
117
|
-
"onUpdate:field": (b) => h[e(u)] = b,
|
118
|
-
placeholder: "Название параметра",
|
119
|
-
class: "w-100 mn-r-small bg-white radius-small pd-medium"
|
120
|
-
}, null, 8, ["field", "onUpdate:field"]),
|
121
|
-
p(_, {
|
122
|
-
field: h[e(g)],
|
123
|
-
"onUpdate:field": (b) => h[e(g)] = b,
|
124
|
-
placeholder: "Значение параметра",
|
125
|
-
class: "w-100 bg-white radius-small pd-medium"
|
126
|
-
}, null, 8, ["field", "onUpdate:field"]),
|
127
|
-
o("button", {
|
128
|
-
onClick: (b) => a(k),
|
129
|
-
class: "mn-l-small button"
|
130
|
-
}, H, 8, q)
|
131
|
-
]))), 128))
|
132
|
-
])
|
133
|
-
]));
|
134
|
-
}
|
135
|
-
}, J = /* @__PURE__ */ o("div", { class: "flex-v-center flex-h-center flex w-100 h-100" }, " upload ", -1), K = {
|
136
|
-
__name: "UploadImageMultiple",
|
137
|
-
props: [
|
138
|
-
"uploadPath"
|
139
|
-
],
|
140
|
-
emits: ["update:images"],
|
141
|
-
setup(i, { emit: c }) {
|
142
|
-
const t = i, s = C([]), a = C(null);
|
143
|
-
function l() {
|
144
|
-
a.value.click();
|
145
|
-
}
|
146
|
-
async function f(m) {
|
147
|
-
let u = m.target.files, g = new FormData();
|
148
|
-
for (let d = 0; d < u.length; d++)
|
149
|
-
g.append("file", u[d]);
|
150
|
-
try {
|
151
|
-
(await V.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/multiple?folderName=${encodeURIComponent(t.uploadPath)}`, g, {
|
152
|
-
headers: {
|
153
|
-
"Content-Type": "multipart/form-data"
|
154
|
-
}
|
155
|
-
})).data.forEach((h) => {
|
156
|
-
s.value.push(h.filepath);
|
157
|
-
}), c("update:images", s.value);
|
158
|
-
} catch (d) {
|
159
|
-
console.error(d);
|
160
|
-
}
|
161
|
-
}
|
162
|
-
function v(m) {
|
163
|
-
m.preventDefault(), f({
|
164
|
-
target: {
|
165
|
-
files: m.dataTransfer.files
|
166
|
-
}
|
167
|
-
});
|
168
|
-
}
|
169
|
-
return (m, u) => (n(), r("div", {
|
170
|
-
onClick: l,
|
171
|
-
onDrop: v,
|
172
|
-
onDragover: u[0] || (u[0] = B(() => {
|
173
|
-
}, ["prevent"])),
|
174
|
-
class: "flex-v-center flex-h-center flex"
|
175
|
-
}, [
|
176
|
-
J,
|
177
|
-
o("input", {
|
178
|
-
type: "file",
|
179
|
-
ref_key: "fileInput",
|
180
|
-
ref: a,
|
181
|
-
onChange: f,
|
182
|
-
multiple: "",
|
183
|
-
style: { display: "none" }
|
184
|
-
}, null, 544)
|
185
|
-
], 32));
|
186
|
-
}
|
187
|
-
}, Q = {
|
188
|
-
key: 0,
|
189
|
-
class: "mn-big"
|
190
|
-
}, W = { class: "flex-column block" }, X = ["src"], Y = ["onClick"], re = {
|
191
|
-
__name: "EditProductImages",
|
192
|
-
props: {
|
193
|
-
product: Object
|
194
|
-
},
|
195
|
-
setup(i) {
|
196
|
-
function c(s) {
|
197
|
-
console.log(s), console.log(x.current.images), x.current.images.push(...s);
|
198
|
-
}
|
199
|
-
function t(s) {
|
200
|
-
x.current.images.splice(s, 1);
|
201
|
-
}
|
202
|
-
return (s, a) => (n(), r("div", null, [
|
203
|
-
i.product.images.length < 1 ? (n(), r("p", Q, " The product doesn't have any images yet. ")) : y("", !0),
|
204
|
-
p(e(F), {
|
205
|
-
class: "cols-4 dragArea list-group w-full",
|
206
|
-
list: i.product.images,
|
207
|
-
sort: !0,
|
208
|
-
onChange: s.log
|
209
|
-
}, {
|
210
|
-
default: N(() => [
|
211
|
-
(n(!0), r(D, null, S(i.product.images, (l, f) => (n(), r("div", W, [
|
212
|
-
o("img", {
|
213
|
-
class: "w-100 mn-small",
|
214
|
-
src: l
|
215
|
-
}, null, 8, X),
|
216
|
-
o("a", {
|
217
|
-
onClick: (v) => t(f),
|
218
|
-
class: "w-100 br-grey br-solid br-1px button"
|
219
|
-
}, "Удалить", 8, Y)
|
220
|
-
]))), 256))
|
221
|
-
]),
|
222
|
-
_: 1
|
223
|
-
}, 8, ["list", "onChange"]),
|
224
|
-
p(K, {
|
225
|
-
"onUpdate:images": c,
|
226
|
-
uploadPath: "organizations/" + s.$route.params._id + "/products",
|
227
|
-
class: "mn-t-semi pd-small w-100 button bg-main"
|
228
|
-
}, null, 8, ["uploadPath"])
|
229
|
-
]));
|
230
|
-
}
|
231
|
-
};
|
232
|
-
export {
|
233
|
-
ne as _,
|
234
|
-
oe as a,
|
235
|
-
re as b
|
236
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { openBlock as l, createElementBlock as a, createElementVNode as c, toDisplayString as e, createCommentVNode as o } from "vue";
|
2
|
-
const s = { class: "mn-regular" }, r = { class: "mn-small t-transp p-medium" }, d = {
|
3
|
-
__name: "EmptyState",
|
4
|
-
props: {
|
5
|
-
title: {
|
6
|
-
type: String,
|
7
|
-
default: "У вас еще нет организации"
|
8
|
-
},
|
9
|
-
description: {
|
10
|
-
type: String,
|
11
|
-
default: "Для использования сервиса, вам необходимо добавить вашу организацию."
|
12
|
-
},
|
13
|
-
action: {
|
14
|
-
type: String
|
15
|
-
},
|
16
|
-
callback: {
|
17
|
-
type: Function,
|
18
|
-
default: () => {
|
19
|
-
}
|
20
|
-
}
|
21
|
-
},
|
22
|
-
setup(t) {
|
23
|
-
return (u, n) => (l(), a("section", null, [
|
24
|
-
c("h3", s, e(t.title), 1),
|
25
|
-
c("p", r, e(t.description), 1),
|
26
|
-
t.action ? (l(), a("button", {
|
27
|
-
key: 0,
|
28
|
-
onClick: n[0] || (n[0] = (...i) => t.callback && t.callback(...i)),
|
29
|
-
class: "t-white bg-blue w-100 button"
|
30
|
-
}, e(t.action), 1)) : o("", !0)
|
31
|
-
]));
|
32
|
-
}
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
d as _
|
36
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const t=require("vue");const c={class:"mn-regular"},a={class:"mn-small t-transp p-medium"},i={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String},callback:{type:Function,default:()=>{}}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock("section",null,[t.createElementVNode("h3",c,t.toDisplayString(e.title),1),t.createElementVNode("p",a,t.toDisplayString(e.description),1),e.action?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=(...l)=>e.callback&&e.callback(...l)),class:"t-white bg-blue w-100 button"},t.toDisplayString(e.action),1)):t.createCommentVNode("",!0)]))}};exports._sfc_main=i;
|
package/dist/Feed-0b549674.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),E=require("./EmptyState-23c13029.js"),b=require("vue-router"),$=require("./PlaceholderUserpic-b27c51f7.js"),x=require("./auth-50bd4ebb.js"),v=require("./globals-d7a54bb4.js"),N={key:0,class:"pd-b-zero"},D={class:"w-100 flex-v-center flex-nojustify flex"},V=["src"],S={key:2,class:"t-semi"},T={key:0},U={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},P={class:"w-4r i-thin"},z={style:{position:"absolute",top:"0px",right:"0px"},class:"z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small mn-r-small t-semi"},M=["src"],C={__name:"CardHeader",props:["date","owner","creator","members","membersPhotos","type"],setup(t){b.useRouter();function r(s){const o=new Date,i=new Date(s),u=Math.abs(o-i),a=Math.floor(u/1e3),l=Math.floor(a/60),n=Math.floor(l/60),d=Math.floor(n/24),c=Math.floor(d/7);return c>0?`${c} week${c>1?"s":""} ago`:d>0?`${d} day${d>1?"s":""} ago`:n>0?`${n} hour${n>1?"s":""} ago`:l>0?`${l} minute${l>1?"s":""} ago`:"Just now"}return(s,o)=>t.owner?(e.openBlock(),e.createElementBlock("header",N,[e.createElementVNode("div",D,[e.createElementVNode("div",{onClick:o[0]||(o[0]=e.withModifiers(i=>s.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"])),class:"w-100 flex-nowrap flex-v-center flex"},[t.owner.target.profile.photo.length>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.owner.target.profile.photo,class:"radius-extra i-thin"},null,8,V)):e.createCommentVNode("",!0),!t.owner.target.profile.photo&&t.type!=="short"?(e.openBlock(),e.createBlock($.PlaceholderUserpic,{key:1,class:"radius-medium mn-r-thin i-thin"})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",S,[e.createElementVNode("span",null,e.toDisplayString(t.owner.target.profile.name),1),t.date?(e.openBlock(),e.createElementBlock("span",T," · "+e.toDisplayString(r(t.date)),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",U,[e.createElementVNode("div",P,[e.createElementVNode("span",z,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(i,u)=>(e.openBlock(),e.createElementBlock("img",{key:u,src:i,style:e.normalizeStyle({position:"absolute",top:"0px",right:u*20+40+"%",zIndex:1-u}),class:"i-thin bg-grey radius-big"},null,12,M))),128))])])])])])):e.createCommentVNode("",!0)}},_={key:0,class:"bg-grey mn-medium w-100"},F=["src"],I={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},L={key:0,class:"t-semi"},j={class:"t-semi"},O={key:0,class:"t-semi uppercase"},q={key:1,class:"mn-l-small w-max t-semi uppercase"},R={key:0,class:"cursor-pointer mn-thin"},H={key:1,class:"mn-medium flex-v-center flex-nowrap flex"},B={__name:"CardEvent",props:["event","owner","short","type"],setup(t){const r=t;e.ref(new Date),b.useRouter(),e.computed(()=>r.event.content.find(a=>a.type.name==="ImageUpload")),e.computed(()=>r.event.content.find(a=>a.type.name==="Textarea"));const s=e.computed(()=>{const a=new Date,l=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),c=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-l;if(c<0)return"Finished";if(c===0)return"Starting Now";{const h=Math.floor(c/1e3),g=Math.floor(h/60),p=Math.floor(g/60),w=Math.floor(p/24);return w>0?`${w} days until event`:p>0?`${p} hours until event`:g>0?`${g} minutes until event`:`${h} seconds until event`}}),o=e.computed(()=>{const a=new Date(r.event.date.start),l={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,l)}),i=e.computed(()=>{const a=new Date(r.event.date.start),l=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),d=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(l);return`${n}-${d}`}),u=e.computed(()=>{const a=r.event.name;return a.length>28?`${a.substring(0,25)}…`:a});return(a,l)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(C,{class:e.normalizeClass({"pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type},null,8,["class","owner","creator","members","membersPhotos","type"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"d-block mn-auto h-20r"},null,8,F)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[e.createElementVNode("div",{class:e.normalizeClass([{"mn-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",I,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(e.unref(o))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",j,e.toDisplayString(e.unref(i)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",O,e.toDisplayString(e.unref(u)),1)):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",q,e.toDisplayString(e.unref(s)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",R,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.event.tags,(n,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-grey",{"mn-r-thin":d!==t.event.tags.length-1}])},e.toDisplayString(n),3))),256))])):e.createCommentVNode("",!0)],2)],2))}},A={},G={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},Y=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),J=[Y];function K(t,r){return e.openBlock(),e.createElementBlock("svg",G,J)}const Q=x._export_sfc(A,[["render",K]]),k=x.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),m=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},date:"",views:0,content:[]}});async function y(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.status&&(t.params={status:t.status}),t.url&&(t.params={url:t.url}),t.period&&(t.params.period=t.period),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.date&&(t.params.date=t.date),t.owner&&(t.params.owner=t.owner),t.user&&(t.params.user=t.user),t.sortOrder&&(t.params.sortOrder=t.sortOrder),t.sortParam&&(t.params.sortParam=t.sortParam),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await k.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?f(r.data,"current"):f(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function W(t){return k.post("/api/events/create",t).then(r=>(f(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function X(t){return k.post("/api/events/update",t).then(r=>(f(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function Z(t){return await k.delete(`/api/events/delete/${t}`).then(r=>{const s=m.all.findIndex(o=>o._id===t);return s!==-1&&m.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function f(t,r){m[r]=t}function ee(){m.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function te(t){const r={order:m.project.content.length+1,type:t.type,data:t.data,class:t.class,content:t.content};m.project.content.push(r)}e.watch(m,(t,r)=>{});const re=Object.freeze(Object.defineProperty({__proto__:null,blockAdd:te,clean:ee,create:W,read:y,remove:Z,set:f,state:m,update:X},Symbol.toStringTag,{value:"Module"})),ae={class:"feed"},ne={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:123},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),o=e.ref(!1),i=e.ref(!0),u=e.ref(0),a=e.ref(20),l=async()=>{if(o.value){u.value+=a.value;const n=await y({skip:u.value,limit:a.value,category:r.category,sortOrder:"desc",user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?o.value=!1:o.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{i.value=!0,console.log(r.selectedDate);const n=await y({skip:u.value,limit:a.value,category:r.category,sortOrder:"desc",user:r.user,owner:r.owner,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?o.value=!1:o.value=!0,s.value=n,i.value=!1}),(n,d)=>(e.openBlock(),e.createElementBlock("section",ae,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,c=>(e.openBlock(),e.createBlock(Q,{key:c}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!i.value&&void 0<1?(e.openBlock(),e.createBlock(E._sfc_main,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!i.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(c,h)=>(e.openBlock(),e.createBlock(B,{onClick:g=>n.$router.push({name:"Event",params:{url:c.url}}),key:c._id,event:c,owner:t.user,type:"normal",class:e.normalizeClass(["br-solid br-1px br-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":h!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1}),o.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:l,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]))}};exports._sfc_main=ne;exports._sfc_main$1=B;exports._sfc_main$2=C;exports.events=re;exports.read=y;exports.state=m;
|