@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/Feed-ecf37814.mjs
DELETED
@@ -1,367 +0,0 @@
|
|
1
|
-
import { openBlock as r, createElementBlock as n, Fragment as P, renderList as M, normalizeClass as v, toDisplayString as m, ref as g, computed as f, createVNode as C, unref as k, createElementVNode as h, createCommentVNode as c, renderSlot as F, createBlock as T, createStaticVNode as I, reactive as N, watch as L, onMounted as j, TransitionGroup as O, withCtx as _, Transition as R } from "vue";
|
2
|
-
import { _ as V } from "./EmptyState-34d85f10.mjs";
|
3
|
-
import { _ as B } from "./CardHeader-ce5a1a75.mjs";
|
4
|
-
import { _ as H, a as Y } from "./auth-35ef1791.mjs";
|
5
|
-
import { useRouter as q } from "vue-router";
|
6
|
-
import { s as S } from "./globals-96ba60e4.mjs";
|
7
|
-
const A = { class: "flex-v-center flex-nowrap flex" }, G = {
|
8
|
-
key: 1,
|
9
|
-
class: "pd-thin radius-small t-semi bg-white"
|
10
|
-
}, J = {
|
11
|
-
__name: "Chips",
|
12
|
-
props: ["chips"],
|
13
|
-
setup(e) {
|
14
|
-
return (t, l) => (r(), n("div", A, [
|
15
|
-
e.chips.length ? (r(!0), n(P, { key: 0 }, M(e.chips, (i, u) => (r(), n("div", {
|
16
|
-
class: v(["pd-thin radius-small t-semi bg-main", { "mn-r-thin": u !== e.chips.length - 1 }])
|
17
|
-
}, m(i.text ? i.text : i), 3))), 256)) : (r(), n("div", G, m(e.chips), 1))
|
18
|
-
]));
|
19
|
-
}
|
20
|
-
}, K = {
|
21
|
-
key: 0,
|
22
|
-
class: "o-hidden bg-grey mn-small w-100"
|
23
|
-
}, Q = ["src"], W = ["src"], X = { class: "w-max mn-r-thin pd-thin radius-small t-semi bg-main" }, Z = {
|
24
|
-
key: 0,
|
25
|
-
class: "t-semi"
|
26
|
-
}, ee = { class: "t-semi" }, te = {
|
27
|
-
key: 0,
|
28
|
-
class: "t-semi uppercase"
|
29
|
-
}, ae = {
|
30
|
-
key: 0,
|
31
|
-
class: "cursor-pointer mn-thin flex-nowrap flex w-100"
|
32
|
-
}, re = {
|
33
|
-
key: 0,
|
34
|
-
class: ""
|
35
|
-
}, ne = {
|
36
|
-
key: 1,
|
37
|
-
class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
|
38
|
-
}, se = {
|
39
|
-
key: 1,
|
40
|
-
class: "mn-small p-big"
|
41
|
-
}, le = {
|
42
|
-
__name: "CardEvent",
|
43
|
-
props: ["event", "user", "short", "type"],
|
44
|
-
setup(e) {
|
45
|
-
const t = e;
|
46
|
-
g(/* @__PURE__ */ new Date()), q(), f(() => t.event.content.find((a) => a.type.name === "ImageUpload")), f(() => t.event.content.find((a) => a.type.name === "Textarea"));
|
47
|
-
const l = f(() => {
|
48
|
-
const a = /* @__PURE__ */ new Date(), d = Date.UTC(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate(), a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds()), s = new Date(t.event.date.start), o = Date.UTC(s.getUTCFullYear(), s.getUTCMonth(), s.getUTCDate(), s.getUTCHours(), s.getUTCMinutes(), s.getUTCSeconds()) - d;
|
49
|
-
if (o < 0)
|
50
|
-
return "Finished";
|
51
|
-
if (o === 0)
|
52
|
-
return "Starting Now";
|
53
|
-
{
|
54
|
-
const b = Math.floor(o / 1e3), x = Math.floor(b / 60), D = Math.floor(x / 60), E = Math.floor(D / 24);
|
55
|
-
return E > 0 ? `${E} days until event` : D > 0 ? `${D} hours until event` : x > 0 ? `${x} minutes until event` : `${b} seconds until event`;
|
56
|
-
}
|
57
|
-
}), i = f(() => {
|
58
|
-
const a = new Date(t.event.date.start), d = { day: "2-digit", month: "2-digit" };
|
59
|
-
return a.toLocaleDateString(void 0, d);
|
60
|
-
}), u = f(() => {
|
61
|
-
const a = new Date(t.event.date.start), d = new Date(t.event.date.end), s = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(a), U = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(d);
|
62
|
-
return `${s}-${U}`;
|
63
|
-
}), p = f(() => {
|
64
|
-
const a = t.event.name;
|
65
|
-
return a.length > 26 ? `${a.substring(0, 22)}…` : a;
|
66
|
-
});
|
67
|
-
return (a, d) => (r(), n("article", {
|
68
|
-
class: v({
|
69
|
-
"flex-nowrap flex-v-center flex": e.type === "short"
|
70
|
-
})
|
71
|
-
}, [
|
72
|
-
C(B, {
|
73
|
-
class: v({
|
74
|
-
"mn-small pd-medium": e.type !== "short",
|
75
|
-
"flex-child-order-last flex-child mn-l-small": e.type === "short"
|
76
|
-
}),
|
77
|
-
owner: e.event.owner,
|
78
|
-
creator: e.event.creator,
|
79
|
-
members: e.event.numberOfTickets,
|
80
|
-
membersPhotos: e.event.participantsPhotos,
|
81
|
-
type: e.type,
|
82
|
-
dateFormatted: k(l)
|
83
|
-
}, null, 8, ["class", "owner", "creator", "members", "membersPhotos", "type", "dateFormatted"]),
|
84
|
-
e.event.cover && e.type !== "short" ? (r(), n("div", K, [
|
85
|
-
h("img", {
|
86
|
-
src: e.event.cover,
|
87
|
-
alt: "Event image",
|
88
|
-
class: "z-index-1 d-block mn-auto h-20r"
|
89
|
-
}, null, 8, Q),
|
90
|
-
h("img", {
|
91
|
-
src: e.event.cover,
|
92
|
-
alt: "Event image",
|
93
|
-
class: "z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",
|
94
|
-
style: { transform: "scale(1.5)", filter: "blur(2rem)", "-webkit-filter": "blur(2rem)" }
|
95
|
-
}, null, 8, W)
|
96
|
-
])) : c("", !0),
|
97
|
-
h("section", {
|
98
|
-
class: v(["w-100", { "pd-t-zero pd-medium": e.type !== "short" }])
|
99
|
-
}, [
|
100
|
-
h("div", {
|
101
|
-
class: v([{ "mn-small": e.type !== "short" }, "flex-v-center flex-nowrap flex"])
|
102
|
-
}, [
|
103
|
-
h("div", X, [
|
104
|
-
e.type !== "short" ? (r(), n("span", Z, m(k(i)) + " | ", 1)) : c("", !0),
|
105
|
-
h("span", ee, m(k(u)), 1)
|
106
|
-
]),
|
107
|
-
e.type === "short" ? (r(), n("span", te, m(k(p)), 1)) : c("", !0)
|
108
|
-
], 2),
|
109
|
-
e.type !== "short" ? (r(), n("div", ae, [
|
110
|
-
e.type !== "short" ? (r(), n("h3", re, m(e.event.name), 1)) : c("", !0),
|
111
|
-
e.event.status === "draft" ? (r(), n("div", ne, m(e.event.status), 1)) : c("", !0)
|
112
|
-
])) : c("", !0),
|
113
|
-
e.type !== "short" ? (r(), n("p", se, m(e.event.description), 1)) : c("", !0),
|
114
|
-
F(a.$slots, "default"),
|
115
|
-
e.type !== "short" ? (r(), T(J, {
|
116
|
-
key: 2,
|
117
|
-
chips: e.event.tags
|
118
|
-
}, null, 8, ["chips"])) : c("", !0)
|
119
|
-
], 2)
|
120
|
-
], 2));
|
121
|
-
}
|
122
|
-
}, ie = {}, ce = {
|
123
|
-
width: "100%",
|
124
|
-
height: "20rem",
|
125
|
-
xmlns: "http://www.w3.org/2000/svg"
|
126
|
-
}, ue = /* @__PURE__ */ I('<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), oe = [
|
127
|
-
ue
|
128
|
-
];
|
129
|
-
function de(e, t) {
|
130
|
-
return r(), n("svg", ce, oe);
|
131
|
-
}
|
132
|
-
const me = /* @__PURE__ */ H(ie, [["render", de]]), $ = Y.create({ baseURL: process.env.API_URL, withCredentials: !0 }), y = N({
|
133
|
-
all: [],
|
134
|
-
filter: {
|
135
|
-
// query
|
136
|
-
tags: [],
|
137
|
-
period: "",
|
138
|
-
date: null
|
139
|
-
// pagination
|
140
|
-
},
|
141
|
-
pagination: {
|
142
|
-
page: 1,
|
143
|
-
perPage: 18
|
144
|
-
},
|
145
|
-
// Sort
|
146
|
-
sort: {
|
147
|
-
current: "popularity",
|
148
|
-
ascending: !1
|
149
|
-
},
|
150
|
-
current: {
|
151
|
-
_id: "",
|
152
|
-
cover: "",
|
153
|
-
url: "",
|
154
|
-
status: "",
|
155
|
-
name: "",
|
156
|
-
tags: [],
|
157
|
-
date: {
|
158
|
-
start: null,
|
159
|
-
false: null
|
160
|
-
},
|
161
|
-
views: 0,
|
162
|
-
content: []
|
163
|
-
}
|
164
|
-
});
|
165
|
-
async function z(e = {}) {
|
166
|
-
e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 9, e.params.tags = e.tags || [], e.status && (e.params = { status: e.status }), e.url && (e.params = { url: e.url }), e.period && (e.params.period = e.period), e.category && (e.params.category = e.category), e.organization && (e.params.organization = e.organization), e.date && (e.params.date = e.date), e.participant && (e.params.participant = e.participant), e.owner && (e.params.owner = e.owner), e.creator && (e.params.creator = e.creator), e.user && (e.params.user = e.user), e.sortOrder && (e.params.sortOrder = e.sortOrder), e.sortParam && (e.params.sortParam = e.sortParam), e.params.skip = e.skip || 0, e.params.limit = e.limit || 10;
|
167
|
-
try {
|
168
|
-
console.log("Request params:" + e.params);
|
169
|
-
const t = await $.get("/api/events/read", { params: e.params });
|
170
|
-
return console.log(e.params), e.url ? w(t.data, "current") : w(t.data, "all"), Promise.resolve(t.data);
|
171
|
-
} catch (t) {
|
172
|
-
return S(t), Promise.reject(t);
|
173
|
-
}
|
174
|
-
}
|
175
|
-
async function fe(e) {
|
176
|
-
return $.post("/api/events/create", e).then(
|
177
|
-
(t) => (w(t.data, "current"), Promise.resolve(t.data)),
|
178
|
-
(t) => (S(t), Promise.reject(t))
|
179
|
-
);
|
180
|
-
}
|
181
|
-
async function he(e) {
|
182
|
-
return $.post("/api/events/update", e).then(
|
183
|
-
(t) => (w(t.data, "current"), Promise.resolve(t.data)),
|
184
|
-
(t) => (S(t), Promise.reject(t))
|
185
|
-
);
|
186
|
-
}
|
187
|
-
async function ge(e) {
|
188
|
-
return await $.delete(`/api/events/delete/${e}`).then(
|
189
|
-
(t) => {
|
190
|
-
const l = y.all.findIndex((i) => i._id === e);
|
191
|
-
return l !== -1 && y.all.splice(l, 1), Promise.resolve(t.data);
|
192
|
-
},
|
193
|
-
(t) => (S(t), Promise.reject(t))
|
194
|
-
);
|
195
|
-
}
|
196
|
-
function w(e, t) {
|
197
|
-
y[t] = e;
|
198
|
-
}
|
199
|
-
function ve() {
|
200
|
-
y.current = {
|
201
|
-
_id: "",
|
202
|
-
cover: "",
|
203
|
-
url: "",
|
204
|
-
status: "",
|
205
|
-
name: "",
|
206
|
-
tags: [],
|
207
|
-
date: {
|
208
|
-
start: null,
|
209
|
-
false: null
|
210
|
-
},
|
211
|
-
views: 0,
|
212
|
-
content: []
|
213
|
-
};
|
214
|
-
}
|
215
|
-
L(y, (e, t) => {
|
216
|
-
});
|
217
|
-
const Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
218
|
-
__proto__: null,
|
219
|
-
clean: ve,
|
220
|
-
create: fe,
|
221
|
-
read: z,
|
222
|
-
remove: ge,
|
223
|
-
set: w,
|
224
|
-
state: y,
|
225
|
-
update: he
|
226
|
-
}, Symbol.toStringTag, { value: "Module" })), ye = { class: "feed" }, Se = {
|
227
|
-
__name: "Feed",
|
228
|
-
props: {
|
229
|
-
category: {
|
230
|
-
type: String,
|
231
|
-
default: null
|
232
|
-
},
|
233
|
-
selectedDate: {
|
234
|
-
type: String,
|
235
|
-
default: null
|
236
|
-
},
|
237
|
-
organization: {
|
238
|
-
type: String,
|
239
|
-
default: null
|
240
|
-
},
|
241
|
-
owner: {
|
242
|
-
type: String,
|
243
|
-
default: null
|
244
|
-
},
|
245
|
-
creator: {
|
246
|
-
type: String,
|
247
|
-
default: null
|
248
|
-
},
|
249
|
-
user: {
|
250
|
-
type: [String, Number],
|
251
|
-
default: null
|
252
|
-
},
|
253
|
-
sortOrder: {
|
254
|
-
type: String,
|
255
|
-
default: "desc"
|
256
|
-
},
|
257
|
-
participant: {
|
258
|
-
type: String,
|
259
|
-
default: null
|
260
|
-
},
|
261
|
-
period: {
|
262
|
-
type: String,
|
263
|
-
default: null
|
264
|
-
},
|
265
|
-
status: {
|
266
|
-
type: String,
|
267
|
-
default: null
|
268
|
-
}
|
269
|
-
},
|
270
|
-
setup(e) {
|
271
|
-
const t = e, l = g([]), i = g(!1), u = g(!0), p = g(0), a = g(20), d = async () => {
|
272
|
-
if (i.value) {
|
273
|
-
p.value += a.value;
|
274
|
-
const s = await z({
|
275
|
-
skip: p.value,
|
276
|
-
limit: a.value,
|
277
|
-
category: t.category,
|
278
|
-
sortOrder: t.sortOrder,
|
279
|
-
participant: t.participant,
|
280
|
-
creator: t.creator,
|
281
|
-
user: t.user,
|
282
|
-
date: t.selectedDate,
|
283
|
-
owner: t.owner,
|
284
|
-
organization: t.organization,
|
285
|
-
period: t.period,
|
286
|
-
status: t.status
|
287
|
-
});
|
288
|
-
s.length === 0 ? i.value = !1 : i.value = !0, l.value = [...l.value, ...s];
|
289
|
-
}
|
290
|
-
};
|
291
|
-
return j(async () => {
|
292
|
-
u.value = !0, console.log(t.selectedDate);
|
293
|
-
const s = await z({
|
294
|
-
skip: p.value,
|
295
|
-
limit: a.value,
|
296
|
-
category: t.category,
|
297
|
-
participant: t.participant,
|
298
|
-
sortOrder: t.sortOrder,
|
299
|
-
user: t.user,
|
300
|
-
owner: t.owner,
|
301
|
-
creator: t.creator,
|
302
|
-
date: t.selectedDate,
|
303
|
-
organization: t.organization,
|
304
|
-
period: t.period,
|
305
|
-
status: t.status
|
306
|
-
});
|
307
|
-
s.length === 0 ? i.value = !1 : i.value = !0, l.value = s, u.value = !1;
|
308
|
-
}), (s, U) => (r(), n("section", ye, [
|
309
|
-
C(O, {
|
310
|
-
tag: "ul",
|
311
|
-
name: "fade",
|
312
|
-
class: "o-hidden bg-grey radius-big"
|
313
|
-
}, {
|
314
|
-
default: _(() => [
|
315
|
-
u.value ? (r(!0), n(P, { key: 0 }, M(a.value, (o) => (r(), T(me, { key: o }))), 128)) : c("", !0)
|
316
|
-
]),
|
317
|
-
_: 1
|
318
|
-
}),
|
319
|
-
C(R, { name: "fade" }, {
|
320
|
-
default: _(() => [
|
321
|
-
!u.value && l.value.length < 1 ? (r(), T(V, {
|
322
|
-
key: 0,
|
323
|
-
title: "No Events Found",
|
324
|
-
description: "Currently, there are no events available. Please check back later.",
|
325
|
-
class: "pd-medium mn-thin bg-grey radius-big"
|
326
|
-
})) : c("", !0)
|
327
|
-
]),
|
328
|
-
_: 1
|
329
|
-
}),
|
330
|
-
C(O, {
|
331
|
-
tag: "ul",
|
332
|
-
name: "fade",
|
333
|
-
class: "container"
|
334
|
-
}, {
|
335
|
-
default: _(() => [
|
336
|
-
!u.value && l.value.length > 0 ? (r(!0), n(P, { key: 0 }, M(l.value, (o, b) => (r(), T(le, {
|
337
|
-
onClick: (x) => s.$router.push({ name: "Event", params: { url: o.url } }),
|
338
|
-
key: o._id,
|
339
|
-
event: o,
|
340
|
-
owner: e.user,
|
341
|
-
type: "normal",
|
342
|
-
class: v(["bg-grey radius-big mn-medium", {
|
343
|
-
"br-b br-solid br-black-transp-10": b !== l.value.length - 1
|
344
|
-
}])
|
345
|
-
}, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : c("", !0),
|
346
|
-
i.value && l.value.length > 0 ? (r(), n("button", {
|
347
|
-
key: 1,
|
348
|
-
onClick: d,
|
349
|
-
class: "w-100 bg-main button"
|
350
|
-
}, "Load more")) : c("", !0)
|
351
|
-
]),
|
352
|
-
_: 1
|
353
|
-
})
|
354
|
-
]));
|
355
|
-
}
|
356
|
-
};
|
357
|
-
export {
|
358
|
-
me as S,
|
359
|
-
Se as _,
|
360
|
-
le as a,
|
361
|
-
fe as b,
|
362
|
-
ve as c,
|
363
|
-
Te as e,
|
364
|
-
z as r,
|
365
|
-
y as s,
|
366
|
-
he as u
|
367
|
-
};
|
package/dist/Feed-eeb63363.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),T=require("./CardHeader-0677d446.js"),b=require("./auth-2bc18d1e.js"),D=require("vue-router"),v=require("./globals-928eb13c.js"),V={class:"flex-v-center flex-nowrap flex"},$={key:1,class:"pd-thin radius-small t-semi bg-white"},U={__name:"Chips",props:["chips"],setup(t){return(r,s)=>(e.openBlock(),e.createElementBlock("div",V,[t.chips.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.chips,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-main",{"mn-r-thin":c!==t.chips.length-1}])},e.toDisplayString(l.text?l.text:l),3))),256)):(e.openBlock(),e.createElementBlock("div",$,e.toDisplayString(t.chips),1))]))}},z={key:0,class:"o-hidden bg-grey mn-small w-100"},P=["src"],_=["src"],M={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},F={key:0,class:"t-semi"},O={class:"t-semi"},I={key:0,class:"t-semi uppercase"},L={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},q={key:0,class:""},j={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},R={key:1,class:"mn-small p-big"},C={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),D.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,o=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),i=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-o;if(i<0)return"Finished";if(i===0)return"Starting Now";{const f=Math.floor(i/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),o={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,o)}),c=e.computed(()=>{const a=new Date(r.event.date.start),o=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(o);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,o)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(T._sfc_main,{class:e.normalizeClass({"mn-small 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,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-1 d-block mn-auto h-20r"},null,8,P),e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,_)])):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",M,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",O,e.toDisplayString(e.unref(c)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",L,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",q,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",R,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(U,{key:2,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},H={},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),A=[Y];function J(t,r){return e.openBlock(),e.createElementBlock("svg",G,A)}const x=b._export_sfc(H,[["render",J]]),y=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),u=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function h(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.participant&&(t.params.participant=t.participant),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),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 y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function B(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function E(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function K(t){return await y.delete(`/api/events/delete/${t}`).then(r=>{const s=u.all.findIndex(l=>l._id===t);return s!==-1&&u.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function m(t,r){u[r]=t}function S(){u.current={_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}}e.watch(u,(t,r)=>{});const Q=Object.freeze(Object.defineProperty({__proto__:null,clean:S,create:B,read:h,remove:K,set:m,state:u,update:E},Symbol.toStringTag,{value:"Module"})),W={class:"feed"},X={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),c=e.ref(!0),d=e.ref(0),a=e.ref(20),o=async()=>{if(l.value){d.value+=a.value;const n=await h({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,creator:r.creator,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{c.value=!0,console.log(r.selectedDate);const n=await h({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,creator:r.creator,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,c.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",W,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[c.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,i=>(e.openBlock(),e.createBlock(x,{key:i}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!c.value&&s.value.length<1?(e.openBlock(),e.createBlock(N._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(()=>[!c.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(i,f)=>(e.openBlock(),e.createBlock(C,{onClick:g=>n.$router.push({name:"Event",params:{url:i.url}}),key:i._id,event:i,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=x;exports._sfc_main=X;exports._sfc_main$1=C;exports.clean=S;exports.create=B;exports.events=Q;exports.read=h;exports.state=u;exports.update=E;
|
package/dist/Feed-f4cad6c3.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),B=require("./EmptyState-7658d7d6.js"),E=require("./CardHeader-925a972b.js"),b=require("./auth-5aa8e90c.js"),S=require("vue-router"),v=require("./globals-928eb13c.js"),T={class:"flex-v-center flex-nowrap flex"},N={key:1,class:"pd-thin radius-small t-semi bg-white"},D={__name:"Chips",props:["chips"],setup(t){return(r,s)=>(e.openBlock(),e.createElementBlock("div",T,[t.chips.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.chips,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-main",{"mn-r-thin":c!==t.chips.length-1}])},e.toDisplayString(l.text?l.text:l),3))),256)):(e.openBlock(),e.createElementBlock("div",N,e.toDisplayString(t.chips),1))]))}},$={key:0,class:"o-hidden bg-grey mn-small w-100"},U=["src"],V=["src"],_={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},z={key:0,class:"t-semi"},P={class:"t-semi"},M={key:0,class:"t-semi uppercase"},F={key:0,class:"cursor-pointer mn-thin"},O={key:1,class:"mn-small p-big"},C={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),S.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,u=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),o=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-u;if(o<0)return"Finished";if(o===0)return"Starting Now";{const f=Math.floor(o/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),u={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,u)}),c=e.computed(()=>{const a=new Date(r.event.date.start),u=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(u);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,u)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(E._sfc_main,{class:e.normalizeClass({"mn-small 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,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-1 d-block mn-auto h-20r"},null,8,U),e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,V)])):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",_,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",z,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",P,e.toDisplayString(e.unref(c)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",F,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",O,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"?(e.openBlock(),e.createBlock(D,{key:2,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},I={},L={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},j=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),q=[j];function R(t,r){return e.openBlock(),e.createElementBlock("svg",L,q)}const x=b._export_sfc(I,[["render",R]]),y=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),i=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 h(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.participant&&(t.params.participant=t.participant),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 y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function H(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function A(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function G(t){return await y.delete(`/api/events/delete/${t}`).then(r=>{const s=i.all.findIndex(l=>l._id===t);return s!==-1&&i.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function m(t,r){i[r]=t}function Y(){i.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function J(t){const r={order:i.project.content.length+1,type:t.type,data:t.data,class:t.class,content:t.content};i.project.content.push(r)}e.watch(i,(t,r)=>{});const K=Object.freeze(Object.defineProperty({__proto__:null,blockAdd:J,clean:Y,create:H,read:h,remove:G,set:m,state:i,update:A},Symbol.toStringTag,{value:"Module"})),Q={class:"feed"},W={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),c=e.ref(!0),d=e.ref(0),a=e.ref(20),u=async()=>{if(l.value){d.value+=a.value;const n=await h({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{c.value=!0,console.log(r.selectedDate);const n=await h({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,c.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",Q,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[c.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,o=>(e.openBlock(),e.createBlock(x,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!c.value&&s.value.length<1?(e.openBlock(),e.createBlock(B._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(()=>[!c.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(o,f)=>(e.openBlock(),e.createBlock(C,{onClick:g=>n.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:u,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=x;exports._sfc_main=W;exports._sfc_main$1=C;exports.events=K;exports.read=h;exports.state=i;
|
package/dist/Field-740d5a17.mjs
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
import { ref as f, openBlock as a, createElementBlock as o, Fragment as v, createElementVNode as s, normalizeClass as c, toDisplayString as i, createCommentVNode as u, createVNode as m, Transition as p, withCtx as y } from "vue";
|
2
|
-
import { _ as x } from "./auth-708eebcb.mjs";
|
3
|
-
const b = {
|
4
|
-
key: 0,
|
5
|
-
class: "t-transp mn-r-small"
|
6
|
-
}, g = { class: "w-100" }, h = ["type", "value", "placeholder"], k = ["value", "placeholder"], F = {
|
7
|
-
key: 0,
|
8
|
-
class: "mn-t-thin mn-thin mn-b-thin invalid-feedback"
|
9
|
-
}, w = {
|
10
|
-
__name: "Field",
|
11
|
-
props: {
|
12
|
-
label: null,
|
13
|
-
type: "text",
|
14
|
-
placeholder: "Enter something here",
|
15
|
-
field: null,
|
16
|
-
validation: !1
|
17
|
-
},
|
18
|
-
emits: ["update:field", "focus", "blur"],
|
19
|
-
setup(e, { emit: n }) {
|
20
|
-
const d = f(e.field);
|
21
|
-
return (r, l) => (a(), o(v, null, [
|
22
|
-
s("div", {
|
23
|
-
class: c([[r.$attrs.class, { "bg-light-red": e.validation }], "flex-center flex-nowrap flex"])
|
24
|
-
}, [
|
25
|
-
e.label ? (a(), o("div", b, [
|
26
|
-
s("span", null, i(e.label), 1)
|
27
|
-
])) : u("", !0),
|
28
|
-
s("div", g, [
|
29
|
-
e.type !== "textarea" ? (a(), o("input", {
|
30
|
-
key: 0,
|
31
|
-
onInput: l[0] || (l[0] = (t) => d.value = n("update:field", t.target.value)),
|
32
|
-
onFocus: l[1] || (l[1] = (t) => n("focus", t)),
|
33
|
-
onBlur: l[2] || (l[2] = (t) => n("blur", t)),
|
34
|
-
type: e.type,
|
35
|
-
class: "w-100",
|
36
|
-
value: e.field,
|
37
|
-
placeholder: e.placeholder
|
38
|
-
}, null, 40, h)) : (a(), o("textarea", {
|
39
|
-
key: 1,
|
40
|
-
onInput: l[3] || (l[3] = (t) => d.value = n("update:field", t.target.value)),
|
41
|
-
onFocus: l[4] || (l[4] = (t) => n("focus", t)),
|
42
|
-
onBlur: l[5] || (l[5] = (t) => n("blur", t)),
|
43
|
-
class: "w-100",
|
44
|
-
value: e.field,
|
45
|
-
placeholder: e.placeholder
|
46
|
-
}, null, 40, k))
|
47
|
-
])
|
48
|
-
], 2),
|
49
|
-
m(p, { name: "fade" }, {
|
50
|
-
default: y(() => [
|
51
|
-
e.validation ? (a(), o("div", F, " * " + i(e.validation.message), 1)) : u("", !0)
|
52
|
-
]),
|
53
|
-
_: 1
|
54
|
-
})
|
55
|
-
], 64));
|
56
|
-
}
|
57
|
-
}, I = /* @__PURE__ */ x(w, [["__scopeId", "data-v-86360eef"]]);
|
58
|
-
export {
|
59
|
-
I as F
|
60
|
-
};
|
package/dist/Field-a1770ccf.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),i=require("./auth-ab40831d.js");const u={key:0,class:"t-transp mn-r-small"},r={class:"w-100"},c=["type","value","placeholder"],v=["value","placeholder"],f={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},m={__name:"Field",props:{label:null,type:"text",placeholder:"Enter something here",field:null,validation:!1},emits:["update:field","focus","blur"],setup(l,{emit:a}){const s=l,o=e.ref(s.field);return(d,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[d.$attrs.class,{"bg-light-red":l.validation}],"flex-center flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[l.type!=="textarea"?(e.openBlock(),e.createElementBlock("input",{key:0,onInput:t[0]||(t[0]=n=>o.value=a("update:field",n.target.value)),onFocus:t[1]||(t[1]=n=>a("focus",n)),onBlur:t[2]||(t[2]=n=>a("blur",n)),type:l.type,class:"w-100",value:l.field,placeholder:l.placeholder},null,40,c)):(e.openBlock(),e.createElementBlock("textarea",{key:1,onInput:t[3]||(t[3]=n=>o.value=a("update:field",n.target.value)),onFocus:t[4]||(t[4]=n=>a("focus",n)),onBlur:t[5]||(t[5]=n=>a("blur",n)),class:"w-100",value:l.field,placeholder:l.placeholder},null,40,v))])],2),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",f," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},p=i._export_sfc(m,[["__scopeId","data-v-86360eef"]]);exports.Field=p;
|
package/dist/Field-ada86df2.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const e=require("vue"),i=require("./auth-50bd4ebb.js");const u={key:0,class:"t-transp mn-r-small"},r={class:"w-100"},c=["type","value","placeholder"],v=["value","placeholder"],f={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},m={__name:"Field",props:{label:null,type:"text",placeholder:"Enter something here",field:null,validation:!1},emits:["update:field","focus","blur"],setup(l,{emit:a}){const s=l,o=e.ref(s.field);return(d,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[d.$attrs.class,{"bg-light-red":l.validation}],"flex-center flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[l.type!=="textarea"?(e.openBlock(),e.createElementBlock("input",{key:0,onInput:t[0]||(t[0]=n=>o.value=a("update:field",n.target.value)),onFocus:t[1]||(t[1]=n=>a("focus",n)),onBlur:t[2]||(t[2]=n=>a("blur",n)),type:l.type,class:"w-100",value:l.field,placeholder:l.placeholder},null,40,c)):(e.openBlock(),e.createElementBlock("textarea",{key:1,onInput:t[3]||(t[3]=n=>o.value=a("update:field",n.target.value)),onFocus:t[4]||(t[4]=n=>a("focus",n)),onBlur:t[5]||(t[5]=n=>a("blur",n)),class:"w-100",value:l.field,placeholder:l.placeholder},null,40,v))])],2),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",f," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},p=i._export_sfc(m,[["__scopeId","data-v-86360eef"]]);exports.Field=p;
|
package/dist/Field-e839d9ca.mjs
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
import { ref as f, openBlock as a, createElementBlock as o, Fragment as v, createElementVNode as s, normalizeClass as c, toDisplayString as i, createCommentVNode as u, createVNode as m, Transition as p, withCtx as y } from "vue";
|
2
|
-
import { _ as x } from "./auth-f81f3598.mjs";
|
3
|
-
const b = {
|
4
|
-
key: 0,
|
5
|
-
class: "t-transp mn-r-small"
|
6
|
-
}, g = { class: "w-100" }, h = ["type", "value", "placeholder"], k = ["value", "placeholder"], F = {
|
7
|
-
key: 0,
|
8
|
-
class: "mn-t-thin mn-thin mn-b-thin invalid-feedback"
|
9
|
-
}, w = {
|
10
|
-
__name: "Field",
|
11
|
-
props: {
|
12
|
-
label: null,
|
13
|
-
type: "text",
|
14
|
-
placeholder: "Enter something here",
|
15
|
-
field: null,
|
16
|
-
validation: !1
|
17
|
-
},
|
18
|
-
emits: ["update:field", "focus", "blur"],
|
19
|
-
setup(e, { emit: n }) {
|
20
|
-
const d = f(e.field);
|
21
|
-
return (r, l) => (a(), o(v, null, [
|
22
|
-
s("div", {
|
23
|
-
class: c([[r.$attrs.class, { "bg-light-red": e.validation }], "flex-center flex-nowrap flex"])
|
24
|
-
}, [
|
25
|
-
e.label ? (a(), o("div", b, [
|
26
|
-
s("span", null, i(e.label), 1)
|
27
|
-
])) : u("", !0),
|
28
|
-
s("div", g, [
|
29
|
-
e.type !== "textarea" ? (a(), o("input", {
|
30
|
-
key: 0,
|
31
|
-
onInput: l[0] || (l[0] = (t) => d.value = n("update:field", t.target.value)),
|
32
|
-
onFocus: l[1] || (l[1] = (t) => n("focus", t)),
|
33
|
-
onBlur: l[2] || (l[2] = (t) => n("blur", t)),
|
34
|
-
type: e.type,
|
35
|
-
class: "w-100",
|
36
|
-
value: e.field,
|
37
|
-
placeholder: e.placeholder
|
38
|
-
}, null, 40, h)) : (a(), o("textarea", {
|
39
|
-
key: 1,
|
40
|
-
onInput: l[3] || (l[3] = (t) => d.value = n("update:field", t.target.value)),
|
41
|
-
onFocus: l[4] || (l[4] = (t) => n("focus", t)),
|
42
|
-
onBlur: l[5] || (l[5] = (t) => n("blur", t)),
|
43
|
-
class: "w-100",
|
44
|
-
value: e.field,
|
45
|
-
placeholder: e.placeholder
|
46
|
-
}, null, 40, k))
|
47
|
-
])
|
48
|
-
], 2),
|
49
|
-
m(p, { name: "fade" }, {
|
50
|
-
default: y(() => [
|
51
|
-
e.validation ? (a(), o("div", F, " * " + i(e.validation.message), 1)) : u("", !0)
|
52
|
-
]),
|
53
|
-
_: 1
|
54
|
-
})
|
55
|
-
], 64));
|
56
|
-
}
|
57
|
-
}, I = /* @__PURE__ */ x(w, [["__scopeId", "data-v-86360eef"]]);
|
58
|
-
export {
|
59
|
-
I as F
|
60
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";const o=require("vue");/**
|
2
|
-
* vue-meta v3.0.0-alpha.10
|
3
|
-
* (c) 2022
|
4
|
-
* - Pim (@pimlie)
|
5
|
-
* - All the amazing contributors
|
6
|
-
* @license MIT
|
7
|
-
*/const u=n=>n!==null&&typeof n=="object";function i(n,t,r){for(const e in t)e in r?u(n[e])?i(n[e],t[e],r[e]):t[e]!==r[e]&&(n[e]=t[e]):n[e]=t[e];for(const e in r)t&&e in t||delete n[e]}function s(n){if(n||(n=o.getCurrentInstance()||void 0),n)return n.appContext.config.globalProperties.$metaManager}function f(n,t){const r=o.getCurrentInstance()||void 0;if(!t&&r&&(t=s(r)),!t)throw new Error("No manager or current instance");o.isProxy(n)&&(o.watch(n,(c,a)=>{i(e.meta,c,a)}),n=n.value);const e=t.addMeta(n,r);return e}o.defineComponent({name:"Metainfo",inheritAttrs:!1,setup:(n,{slots:t})=>()=>{const r=s();if(r)return r.render({slots:t})}});exports.B=f;
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { getCurrentInstance as e, isProxy as f, watch as u, defineComponent as l } from "vue";
|
2
|
-
/**
|
3
|
-
* vue-meta v3.0.0-alpha.10
|
4
|
-
* (c) 2022
|
5
|
-
* - Pim (@pimlie)
|
6
|
-
* - All the amazing contributors
|
7
|
-
* @license MIT
|
8
|
-
*/
|
9
|
-
const p = (n) => n !== null && typeof n == "object";
|
10
|
-
function i(n, r, t) {
|
11
|
-
for (const o in r)
|
12
|
-
o in t ? p(n[o]) ? i(n[o], r[o], t[o]) : r[o] !== t[o] && (n[o] = r[o]) : n[o] = r[o];
|
13
|
-
for (const o in t)
|
14
|
-
r && o in r || delete n[o];
|
15
|
-
}
|
16
|
-
function s(n) {
|
17
|
-
if (n || (n = e() || void 0), n)
|
18
|
-
return n.appContext.config.globalProperties.$metaManager;
|
19
|
-
}
|
20
|
-
function m(n, r) {
|
21
|
-
const t = e() || void 0;
|
22
|
-
if (!r && t && (r = s(t)), !r)
|
23
|
-
throw new Error("No manager or current instance");
|
24
|
-
f(n) && (u(n, (a, c) => {
|
25
|
-
i(o.meta, a, c);
|
26
|
-
}), n = n.value);
|
27
|
-
const o = r.addMeta(n, t);
|
28
|
-
return o;
|
29
|
-
}
|
30
|
-
l({ name: "Metainfo", inheritAttrs: !1, setup: (n, { slots: r }) => () => {
|
31
|
-
const t = s();
|
32
|
-
if (t)
|
33
|
-
return t.render({ slots: r });
|
34
|
-
} });
|
35
|
-
export {
|
36
|
-
m as B
|
37
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
|