@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,1078 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as d, normalizeClass as S, withKeys as c, withModifiers as r, renderSlot as u, createElementVNode as a, withDirectives as b, Fragment as $, renderList as B, toDisplayString as m, vShow as y, createCommentVNode as f, createVNode as k, Transition as D, withCtx as E, normalizeStyle as O, createTextVNode as v, ref as H, onMounted as G, unref as V, createBlock as T } from "vue";
|
2
|
-
import { _ as C, s as M } from "./auth-8b5aac7a.mjs";
|
3
|
-
import { a as K, _ as F } from "./CardOrganization-d462e158.mjs";
|
4
|
-
import { _ as N } from "./EmptyState-34d85f10.mjs";
|
5
|
-
import { m as z } from "./ButtonFollow-c9484003.mjs";
|
6
|
-
function w(e) {
|
7
|
-
return e === 0 ? !1 : Array.isArray(e) && e.length === 0 ? !0 : !e;
|
8
|
-
}
|
9
|
-
function R(e) {
|
10
|
-
return (...t) => !e(...t);
|
11
|
-
}
|
12
|
-
function j(e, t) {
|
13
|
-
return e === void 0 && (e = "undefined"), e === null && (e = "null"), e === !1 && (e = "false"), e.toString().toLowerCase().indexOf(t.trim()) !== -1;
|
14
|
-
}
|
15
|
-
function P(e, t, i, l) {
|
16
|
-
return t ? e.filter((h) => j(l(h, i), t)).sort((h, n) => l(h, i).length - l(n, i).length) : e;
|
17
|
-
}
|
18
|
-
function U(e) {
|
19
|
-
return e.filter((t) => !t.$isLabel);
|
20
|
-
}
|
21
|
-
function L(e, t) {
|
22
|
-
return (i) => i.reduce((l, h) => h[e] && h[e].length ? (l.push({
|
23
|
-
$groupLabel: h[t],
|
24
|
-
$isLabel: !0
|
25
|
-
}), l.concat(h[e])) : l, []);
|
26
|
-
}
|
27
|
-
function q(e, t, i, l, h) {
|
28
|
-
return (n) => n.map((s) => {
|
29
|
-
if (!s[i])
|
30
|
-
return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."), [];
|
31
|
-
const p = P(s[i], e, t, h);
|
32
|
-
return p.length ? {
|
33
|
-
[l]: s[l],
|
34
|
-
[i]: p
|
35
|
-
} : [];
|
36
|
-
});
|
37
|
-
}
|
38
|
-
const A = (...e) => (t) => e.reduce((i, l) => l(i), t), I = {
|
39
|
-
data() {
|
40
|
-
return {
|
41
|
-
search: "",
|
42
|
-
isOpen: !1,
|
43
|
-
preferredOpenDirection: "below",
|
44
|
-
optimizedHeight: this.maxHeight
|
45
|
-
};
|
46
|
-
},
|
47
|
-
props: {
|
48
|
-
/**
|
49
|
-
* Decide whether to filter the results based on search query.
|
50
|
-
* Useful for async filtering, where we search through more complex data.
|
51
|
-
* @type {Boolean}
|
52
|
-
*/
|
53
|
-
internalSearch: {
|
54
|
-
type: Boolean,
|
55
|
-
default: !0
|
56
|
-
},
|
57
|
-
/**
|
58
|
-
* Array of available options: Objects, Strings or Integers.
|
59
|
-
* If array of objects, visible label will default to option.label.
|
60
|
-
* If `labal` prop is passed, label will equal option['label']
|
61
|
-
* @type {Array}
|
62
|
-
*/
|
63
|
-
options: {
|
64
|
-
type: Array,
|
65
|
-
required: !0
|
66
|
-
},
|
67
|
-
/**
|
68
|
-
* Equivalent to the `multiple` attribute on a `<select>` input.
|
69
|
-
* @default false
|
70
|
-
* @type {Boolean}
|
71
|
-
*/
|
72
|
-
multiple: {
|
73
|
-
type: Boolean,
|
74
|
-
default: !1
|
75
|
-
},
|
76
|
-
/**
|
77
|
-
* Key to compare objects
|
78
|
-
* @default 'id'
|
79
|
-
* @type {String}
|
80
|
-
*/
|
81
|
-
trackBy: {
|
82
|
-
type: String
|
83
|
-
},
|
84
|
-
/**
|
85
|
-
* Label to look for in option Object
|
86
|
-
* @default 'label'
|
87
|
-
* @type {String}
|
88
|
-
*/
|
89
|
-
label: {
|
90
|
-
type: String
|
91
|
-
},
|
92
|
-
/**
|
93
|
-
* Enable/disable search in options
|
94
|
-
* @default true
|
95
|
-
* @type {Boolean}
|
96
|
-
*/
|
97
|
-
searchable: {
|
98
|
-
type: Boolean,
|
99
|
-
default: !0
|
100
|
-
},
|
101
|
-
/**
|
102
|
-
* Clear the search input after `)
|
103
|
-
* @default true
|
104
|
-
* @type {Boolean}
|
105
|
-
*/
|
106
|
-
clearOnSelect: {
|
107
|
-
type: Boolean,
|
108
|
-
default: !0
|
109
|
-
},
|
110
|
-
/**
|
111
|
-
* Hide already selected options
|
112
|
-
* @default false
|
113
|
-
* @type {Boolean}
|
114
|
-
*/
|
115
|
-
hideSelected: {
|
116
|
-
type: Boolean,
|
117
|
-
default: !1
|
118
|
-
},
|
119
|
-
/**
|
120
|
-
* Equivalent to the `placeholder` attribute on a `<select>` input.
|
121
|
-
* @default 'Select option'
|
122
|
-
* @type {String}
|
123
|
-
*/
|
124
|
-
placeholder: {
|
125
|
-
type: String,
|
126
|
-
default: "Select option"
|
127
|
-
},
|
128
|
-
/**
|
129
|
-
* Allow to remove all selected values
|
130
|
-
* @default true
|
131
|
-
* @type {Boolean}
|
132
|
-
*/
|
133
|
-
allowEmpty: {
|
134
|
-
type: Boolean,
|
135
|
-
default: !0
|
136
|
-
},
|
137
|
-
/**
|
138
|
-
* Reset this.internalValue, this.search after this.internalValue changes.
|
139
|
-
* Useful if want to create a stateless dropdown.
|
140
|
-
* @default false
|
141
|
-
* @type {Boolean}
|
142
|
-
*/
|
143
|
-
resetAfter: {
|
144
|
-
type: Boolean,
|
145
|
-
default: !1
|
146
|
-
},
|
147
|
-
/**
|
148
|
-
* Enable/disable closing after selecting an option
|
149
|
-
* @default true
|
150
|
-
* @type {Boolean}
|
151
|
-
*/
|
152
|
-
closeOnSelect: {
|
153
|
-
type: Boolean,
|
154
|
-
default: !0
|
155
|
-
},
|
156
|
-
/**
|
157
|
-
* Function to interpolate the custom label
|
158
|
-
* @default false
|
159
|
-
* @type {Function}
|
160
|
-
*/
|
161
|
-
customLabel: {
|
162
|
-
type: Function,
|
163
|
-
default(e, t) {
|
164
|
-
return w(e) ? "" : t ? e[t] : e;
|
165
|
-
}
|
166
|
-
},
|
167
|
-
/**
|
168
|
-
* Disable / Enable tagging
|
169
|
-
* @default false
|
170
|
-
* @type {Boolean}
|
171
|
-
*/
|
172
|
-
taggable: {
|
173
|
-
type: Boolean,
|
174
|
-
default: !1
|
175
|
-
},
|
176
|
-
/**
|
177
|
-
* String to show when highlighting a potential tag
|
178
|
-
* @default 'Press enter to create a tag'
|
179
|
-
* @type {String}
|
180
|
-
*/
|
181
|
-
tagPlaceholder: {
|
182
|
-
type: String,
|
183
|
-
default: "Press enter to create a tag"
|
184
|
-
},
|
185
|
-
/**
|
186
|
-
* By default new tags will appear above the search results.
|
187
|
-
* Changing to 'bottom' will revert this behaviour
|
188
|
-
* and will proritize the search results
|
189
|
-
* @default 'top'
|
190
|
-
* @type {String}
|
191
|
-
*/
|
192
|
-
tagPosition: {
|
193
|
-
type: String,
|
194
|
-
default: "top"
|
195
|
-
},
|
196
|
-
/**
|
197
|
-
* Number of allowed selected options. No limit if 0.
|
198
|
-
* @default 0
|
199
|
-
* @type {Number}
|
200
|
-
*/
|
201
|
-
max: {
|
202
|
-
type: [Number, Boolean],
|
203
|
-
default: !1
|
204
|
-
},
|
205
|
-
/**
|
206
|
-
* Will be passed with all events as second param.
|
207
|
-
* Useful for identifying events origin.
|
208
|
-
* @default null
|
209
|
-
* @type {String|Integer}
|
210
|
-
*/
|
211
|
-
id: {
|
212
|
-
default: null
|
213
|
-
},
|
214
|
-
/**
|
215
|
-
* Limits the options displayed in the dropdown
|
216
|
-
* to the first X options.
|
217
|
-
* @default 1000
|
218
|
-
* @type {Integer}
|
219
|
-
*/
|
220
|
-
optionsLimit: {
|
221
|
-
type: Number,
|
222
|
-
default: 1e3
|
223
|
-
},
|
224
|
-
/**
|
225
|
-
* Name of the property containing
|
226
|
-
* the group values
|
227
|
-
* @default 1000
|
228
|
-
* @type {String}
|
229
|
-
*/
|
230
|
-
groupValues: {
|
231
|
-
type: String
|
232
|
-
},
|
233
|
-
/**
|
234
|
-
* Name of the property containing
|
235
|
-
* the group label
|
236
|
-
* @default 1000
|
237
|
-
* @type {String}
|
238
|
-
*/
|
239
|
-
groupLabel: {
|
240
|
-
type: String
|
241
|
-
},
|
242
|
-
/**
|
243
|
-
* Allow to select all group values
|
244
|
-
* by selecting the group label
|
245
|
-
* @default false
|
246
|
-
* @type {Boolean}
|
247
|
-
*/
|
248
|
-
groupSelect: {
|
249
|
-
type: Boolean,
|
250
|
-
default: !1
|
251
|
-
},
|
252
|
-
/**
|
253
|
-
* Array of keyboard keys to block
|
254
|
-
* when selecting
|
255
|
-
* @default 1000
|
256
|
-
* @type {String}
|
257
|
-
*/
|
258
|
-
blockKeys: {
|
259
|
-
type: Array,
|
260
|
-
default() {
|
261
|
-
return [];
|
262
|
-
}
|
263
|
-
},
|
264
|
-
/**
|
265
|
-
* Prevent from wiping up the search value
|
266
|
-
* @default false
|
267
|
-
* @type {Boolean}
|
268
|
-
*/
|
269
|
-
preserveSearch: {
|
270
|
-
type: Boolean,
|
271
|
-
default: !1
|
272
|
-
},
|
273
|
-
/**
|
274
|
-
* Select 1st options if value is empty
|
275
|
-
* @default false
|
276
|
-
* @type {Boolean}
|
277
|
-
*/
|
278
|
-
preselectFirst: {
|
279
|
-
type: Boolean,
|
280
|
-
default: !1
|
281
|
-
},
|
282
|
-
/**
|
283
|
-
* Prevent autofocus
|
284
|
-
* @default false
|
285
|
-
* @type {Boolean}
|
286
|
-
*/
|
287
|
-
preventAutofocus: {
|
288
|
-
type: Boolean,
|
289
|
-
default: !1
|
290
|
-
}
|
291
|
-
},
|
292
|
-
mounted() {
|
293
|
-
!this.multiple && this.max && console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."), this.preselectFirst && !this.internalValue.length && this.options.length && this.select(this.filteredOptions[0]);
|
294
|
-
},
|
295
|
-
computed: {
|
296
|
-
internalValue() {
|
297
|
-
return this.modelValue || this.modelValue === 0 ? Array.isArray(this.modelValue) ? this.modelValue : [this.modelValue] : [];
|
298
|
-
},
|
299
|
-
filteredOptions() {
|
300
|
-
const e = this.search || "", t = e.toLowerCase().trim();
|
301
|
-
let i = this.options.concat();
|
302
|
-
return this.internalSearch ? i = this.groupValues ? this.filterAndFlat(i, t, this.label) : P(i, t, this.label, this.customLabel) : i = this.groupValues ? L(this.groupValues, this.groupLabel)(i) : i, i = this.hideSelected ? i.filter(R(this.isSelected)) : i, this.taggable && t.length && !this.isExistingOption(t) && (this.tagPosition === "bottom" ? i.push({ isTag: !0, label: e }) : i.unshift({ isTag: !0, label: e })), i.slice(0, this.optionsLimit);
|
303
|
-
},
|
304
|
-
valueKeys() {
|
305
|
-
return this.trackBy ? this.internalValue.map((e) => e[this.trackBy]) : this.internalValue;
|
306
|
-
},
|
307
|
-
optionKeys() {
|
308
|
-
return (this.groupValues ? this.flatAndStrip(this.options) : this.options).map((t) => this.customLabel(t, this.label).toString().toLowerCase());
|
309
|
-
},
|
310
|
-
currentOptionLabel() {
|
311
|
-
return this.multiple ? this.searchable ? "" : this.placeholder : this.internalValue.length ? this.getOptionLabel(this.internalValue[0]) : this.searchable ? "" : this.placeholder;
|
312
|
-
}
|
313
|
-
},
|
314
|
-
watch: {
|
315
|
-
internalValue: {
|
316
|
-
handler() {
|
317
|
-
this.resetAfter && this.internalValue.length && (this.search = "", this.$emit("update:modelValue", this.multiple ? [] : null));
|
318
|
-
},
|
319
|
-
deep: !0
|
320
|
-
},
|
321
|
-
search() {
|
322
|
-
this.$emit("search-change", this.search);
|
323
|
-
}
|
324
|
-
},
|
325
|
-
emits: ["open", "search-change", "close", "select", "update:modelValue", "remove", "tag"],
|
326
|
-
methods: {
|
327
|
-
/**
|
328
|
-
* Returns the internalValue in a way it can be emited to the parent
|
329
|
-
* @returns {Object||Array||String||Integer}
|
330
|
-
*/
|
331
|
-
getValue() {
|
332
|
-
return this.multiple ? this.internalValue : this.internalValue.length === 0 ? null : this.internalValue[0];
|
333
|
-
},
|
334
|
-
/**
|
335
|
-
* Filters and then flattens the options list
|
336
|
-
* @param {Array}
|
337
|
-
* @return {Array} returns a filtered and flat options list
|
338
|
-
*/
|
339
|
-
filterAndFlat(e, t, i) {
|
340
|
-
return A(
|
341
|
-
q(t, i, this.groupValues, this.groupLabel, this.customLabel),
|
342
|
-
L(this.groupValues, this.groupLabel)
|
343
|
-
)(e);
|
344
|
-
},
|
345
|
-
/**
|
346
|
-
* Flattens and then strips the group labels from the options list
|
347
|
-
* @param {Array}
|
348
|
-
* @return {Array} returns a flat options list without group labels
|
349
|
-
*/
|
350
|
-
flatAndStrip(e) {
|
351
|
-
return A(
|
352
|
-
L(this.groupValues, this.groupLabel),
|
353
|
-
U
|
354
|
-
)(e);
|
355
|
-
},
|
356
|
-
/**
|
357
|
-
* Updates the search value
|
358
|
-
* @param {String}
|
359
|
-
*/
|
360
|
-
updateSearch(e) {
|
361
|
-
this.search = e;
|
362
|
-
},
|
363
|
-
/**
|
364
|
-
* Finds out if the given query is already present
|
365
|
-
* in the available options
|
366
|
-
* @param {String}
|
367
|
-
* @return {Boolean} returns true if element is available
|
368
|
-
*/
|
369
|
-
isExistingOption(e) {
|
370
|
-
return this.options ? this.optionKeys.indexOf(e) > -1 : !1;
|
371
|
-
},
|
372
|
-
/**
|
373
|
-
* Finds out if the given element is already present
|
374
|
-
* in the result value
|
375
|
-
* @param {Object||String||Integer} option passed element to check
|
376
|
-
* @returns {Boolean} returns true if element is selected
|
377
|
-
*/
|
378
|
-
isSelected(e) {
|
379
|
-
const t = this.trackBy ? e[this.trackBy] : e;
|
380
|
-
return this.valueKeys.indexOf(t) > -1;
|
381
|
-
},
|
382
|
-
/**
|
383
|
-
* Finds out if the given option is disabled
|
384
|
-
* @param {Object||String||Integer} option passed element to check
|
385
|
-
* @returns {Boolean} returns true if element is disabled
|
386
|
-
*/
|
387
|
-
isOptionDisabled(e) {
|
388
|
-
return !!e.$isDisabled;
|
389
|
-
},
|
390
|
-
/**
|
391
|
-
* Returns empty string when options is null/undefined
|
392
|
-
* Returns tag query if option is tag.
|
393
|
-
* Returns the customLabel() results and casts it to string.
|
394
|
-
*
|
395
|
-
* @param {Object||String||Integer} Passed option
|
396
|
-
* @returns {Object||String}
|
397
|
-
*/
|
398
|
-
getOptionLabel(e) {
|
399
|
-
if (w(e))
|
400
|
-
return "";
|
401
|
-
if (e.isTag)
|
402
|
-
return e.label;
|
403
|
-
if (e.$isLabel)
|
404
|
-
return e.$groupLabel;
|
405
|
-
const t = this.customLabel(e, this.label);
|
406
|
-
return w(t) ? "" : t;
|
407
|
-
},
|
408
|
-
/**
|
409
|
-
* Add the given option to the list of selected options
|
410
|
-
* or sets the option as the selected option.
|
411
|
-
* If option is already selected -> remove it from the results.
|
412
|
-
*
|
413
|
-
* @param {Object||String||Integer} option to select/deselect
|
414
|
-
* @param {Boolean} block removing
|
415
|
-
*/
|
416
|
-
select(e, t) {
|
417
|
-
if (e.$isLabel && this.groupSelect) {
|
418
|
-
this.selectGroup(e);
|
419
|
-
return;
|
420
|
-
}
|
421
|
-
if (!(this.blockKeys.indexOf(t) !== -1 || this.disabled || e.$isDisabled || e.$isLabel) && !(this.max && this.multiple && this.internalValue.length === this.max) && !(t === "Tab" && !this.pointerDirty)) {
|
422
|
-
if (e.isTag)
|
423
|
-
this.$emit("tag", e.label, this.id), this.search = "", this.closeOnSelect && !this.multiple && this.deactivate();
|
424
|
-
else {
|
425
|
-
if (this.isSelected(e)) {
|
426
|
-
t !== "Tab" && this.removeElement(e);
|
427
|
-
return;
|
428
|
-
}
|
429
|
-
this.multiple ? this.$emit("update:modelValue", this.internalValue.concat([e])) : this.$emit("update:modelValue", e), this.$emit("select", e, this.id), this.clearOnSelect && (this.search = "");
|
430
|
-
}
|
431
|
-
this.closeOnSelect && this.deactivate();
|
432
|
-
}
|
433
|
-
},
|
434
|
-
/**
|
435
|
-
* Add the given group options to the list of selected options
|
436
|
-
* If all group optiona are already selected -> remove it from the results.
|
437
|
-
*
|
438
|
-
* @param {Object||String||Integer} group to select/deselect
|
439
|
-
*/
|
440
|
-
selectGroup(e) {
|
441
|
-
const t = this.options.find((i) => i[this.groupLabel] === e.$groupLabel);
|
442
|
-
if (t) {
|
443
|
-
if (this.wholeGroupSelected(t)) {
|
444
|
-
this.$emit("remove", t[this.groupValues], this.id);
|
445
|
-
const i = this.internalValue.filter(
|
446
|
-
(l) => t[this.groupValues].indexOf(l) === -1
|
447
|
-
);
|
448
|
-
this.$emit("update:modelValue", i);
|
449
|
-
} else {
|
450
|
-
let i = t[this.groupValues].filter(
|
451
|
-
(l) => !(this.isOptionDisabled(l) || this.isSelected(l))
|
452
|
-
);
|
453
|
-
this.max && i.splice(this.max - this.internalValue.length), this.$emit("select", i, this.id), this.$emit(
|
454
|
-
"update:modelValue",
|
455
|
-
this.internalValue.concat(i)
|
456
|
-
);
|
457
|
-
}
|
458
|
-
this.closeOnSelect && this.deactivate();
|
459
|
-
}
|
460
|
-
},
|
461
|
-
/**
|
462
|
-
* Helper to identify if all values in a group are selected
|
463
|
-
*
|
464
|
-
* @param {Object} group to validated selected values against
|
465
|
-
*/
|
466
|
-
wholeGroupSelected(e) {
|
467
|
-
return e[this.groupValues].every(
|
468
|
-
(t) => this.isSelected(t) || this.isOptionDisabled(t)
|
469
|
-
);
|
470
|
-
},
|
471
|
-
/**
|
472
|
-
* Helper to identify if all values in a group are disabled
|
473
|
-
*
|
474
|
-
* @param {Object} group to check for disabled values
|
475
|
-
*/
|
476
|
-
wholeGroupDisabled(e) {
|
477
|
-
return e[this.groupValues].every(this.isOptionDisabled);
|
478
|
-
},
|
479
|
-
/**
|
480
|
-
* Removes the given option from the selected options.
|
481
|
-
* Additionally checks this.allowEmpty prop if option can be removed when
|
482
|
-
* it is the last selected option.
|
483
|
-
*
|
484
|
-
* @param {type} option description
|
485
|
-
* @return {type} description
|
486
|
-
*/
|
487
|
-
removeElement(e, t = !0) {
|
488
|
-
if (this.disabled || e.$isDisabled)
|
489
|
-
return;
|
490
|
-
if (!this.allowEmpty && this.internalValue.length <= 1) {
|
491
|
-
this.deactivate();
|
492
|
-
return;
|
493
|
-
}
|
494
|
-
const i = typeof e == "object" ? this.valueKeys.indexOf(e[this.trackBy]) : this.valueKeys.indexOf(e);
|
495
|
-
if (this.multiple) {
|
496
|
-
const l = this.internalValue.slice(0, i).concat(this.internalValue.slice(i + 1));
|
497
|
-
this.$emit("update:modelValue", l);
|
498
|
-
} else
|
499
|
-
this.$emit("update:modelValue", null);
|
500
|
-
this.$emit("remove", e, this.id), this.closeOnSelect && t && this.deactivate();
|
501
|
-
},
|
502
|
-
/**
|
503
|
-
* Calls this.removeElement() with the last element
|
504
|
-
* from this.internalValue (selected element Array)
|
505
|
-
*
|
506
|
-
* @fires this#removeElement
|
507
|
-
*/
|
508
|
-
removeLastElement() {
|
509
|
-
this.blockKeys.indexOf("Delete") === -1 && this.search.length === 0 && Array.isArray(this.internalValue) && this.internalValue.length && this.removeElement(this.internalValue[this.internalValue.length - 1], !1);
|
510
|
-
},
|
511
|
-
/**
|
512
|
-
* Opens the multiselect’s dropdown.
|
513
|
-
* Sets this.isOpen to TRUE
|
514
|
-
*/
|
515
|
-
activate() {
|
516
|
-
this.isOpen || this.disabled || (this.adjustPosition(), this.groupValues && this.pointer === 0 && this.filteredOptions.length && (this.pointer = 1), this.isOpen = !0, this.searchable ? (this.preserveSearch || (this.search = ""), this.preventAutofocus || this.$nextTick(() => this.$refs.search && this.$refs.search.focus())) : this.preventAutofocus || typeof this.$el < "u" && this.$el.focus(), this.$emit("open", this.id));
|
517
|
-
},
|
518
|
-
/**
|
519
|
-
* Closes the multiselect’s dropdown.
|
520
|
-
* Sets this.isOpen to FALSE
|
521
|
-
*/
|
522
|
-
deactivate() {
|
523
|
-
this.isOpen && (this.isOpen = !1, this.searchable ? typeof this.$refs.search < "u" && this.$refs.search.blur() : typeof this.$el < "u" && this.$el.blur(), this.preserveSearch || (this.search = ""), this.$emit("close", this.getValue(), this.id));
|
524
|
-
},
|
525
|
-
/**
|
526
|
-
* Call this.activate() or this.deactivate()
|
527
|
-
* depending on this.isOpen value.
|
528
|
-
*
|
529
|
-
* @fires this#activate || this#deactivate
|
530
|
-
* @property {Boolean} isOpen indicates if dropdown is open
|
531
|
-
*/
|
532
|
-
toggle() {
|
533
|
-
this.isOpen ? this.deactivate() : this.activate();
|
534
|
-
},
|
535
|
-
/**
|
536
|
-
* Updates the hasEnoughSpace variable used for
|
537
|
-
* detecting where to expand the dropdown
|
538
|
-
*/
|
539
|
-
adjustPosition() {
|
540
|
-
if (typeof window > "u")
|
541
|
-
return;
|
542
|
-
const e = this.$el.getBoundingClientRect().top, t = window.innerHeight - this.$el.getBoundingClientRect().bottom;
|
543
|
-
t > this.maxHeight || t > e || this.openDirection === "below" || this.openDirection === "bottom" ? (this.preferredOpenDirection = "below", this.optimizedHeight = Math.min(t - 40, this.maxHeight)) : (this.preferredOpenDirection = "above", this.optimizedHeight = Math.min(e - 40, this.maxHeight));
|
544
|
-
}
|
545
|
-
}
|
546
|
-
}, _ = {
|
547
|
-
data() {
|
548
|
-
return {
|
549
|
-
pointer: 0,
|
550
|
-
pointerDirty: !1
|
551
|
-
};
|
552
|
-
},
|
553
|
-
props: {
|
554
|
-
/**
|
555
|
-
* Enable/disable highlighting of the pointed value.
|
556
|
-
* @type {Boolean}
|
557
|
-
* @default true
|
558
|
-
*/
|
559
|
-
showPointer: {
|
560
|
-
type: Boolean,
|
561
|
-
default: !0
|
562
|
-
},
|
563
|
-
optionHeight: {
|
564
|
-
type: Number,
|
565
|
-
default: 40
|
566
|
-
}
|
567
|
-
},
|
568
|
-
computed: {
|
569
|
-
pointerPosition() {
|
570
|
-
return this.pointer * this.optionHeight;
|
571
|
-
},
|
572
|
-
visibleElements() {
|
573
|
-
return this.optimizedHeight / this.optionHeight;
|
574
|
-
}
|
575
|
-
},
|
576
|
-
watch: {
|
577
|
-
filteredOptions() {
|
578
|
-
this.pointerAdjust();
|
579
|
-
},
|
580
|
-
isOpen() {
|
581
|
-
this.pointerDirty = !1;
|
582
|
-
},
|
583
|
-
pointer() {
|
584
|
-
this.$refs.search && this.$refs.search.setAttribute("aria-activedescendant", this.id + "-" + this.pointer.toString());
|
585
|
-
}
|
586
|
-
},
|
587
|
-
methods: {
|
588
|
-
optionHighlight(e, t) {
|
589
|
-
return {
|
590
|
-
"multiselect__option--highlight": e === this.pointer && this.showPointer,
|
591
|
-
"multiselect__option--selected": this.isSelected(t)
|
592
|
-
};
|
593
|
-
},
|
594
|
-
groupHighlight(e, t) {
|
595
|
-
if (!this.groupSelect)
|
596
|
-
return [
|
597
|
-
"multiselect__option--disabled",
|
598
|
-
{ "multiselect__option--group": t.$isLabel }
|
599
|
-
];
|
600
|
-
const i = this.options.find((l) => l[this.groupLabel] === t.$groupLabel);
|
601
|
-
return i && !this.wholeGroupDisabled(i) ? [
|
602
|
-
"multiselect__option--group",
|
603
|
-
{ "multiselect__option--highlight": e === this.pointer && this.showPointer },
|
604
|
-
{ "multiselect__option--group-selected": this.wholeGroupSelected(i) }
|
605
|
-
] : "multiselect__option--disabled";
|
606
|
-
},
|
607
|
-
addPointerElement({ key: e } = "Enter") {
|
608
|
-
this.filteredOptions.length > 0 && this.select(this.filteredOptions[this.pointer], e), this.pointerReset();
|
609
|
-
},
|
610
|
-
pointerForward() {
|
611
|
-
this.pointer < this.filteredOptions.length - 1 && (this.pointer++, this.$refs.list.scrollTop <= this.pointerPosition - (this.visibleElements - 1) * this.optionHeight && (this.$refs.list.scrollTop = this.pointerPosition - (this.visibleElements - 1) * this.optionHeight), this.filteredOptions[this.pointer] && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerForward()), this.pointerDirty = !0;
|
612
|
-
},
|
613
|
-
pointerBackward() {
|
614
|
-
this.pointer > 0 ? (this.pointer--, this.$refs.list.scrollTop >= this.pointerPosition && (this.$refs.list.scrollTop = this.pointerPosition), this.filteredOptions[this.pointer] && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerBackward()) : this.filteredOptions[this.pointer] && this.filteredOptions[0].$isLabel && !this.groupSelect && this.pointerForward(), this.pointerDirty = !0;
|
615
|
-
},
|
616
|
-
pointerReset() {
|
617
|
-
this.closeOnSelect && (this.pointer = 0, this.$refs.list && (this.$refs.list.scrollTop = 0));
|
618
|
-
},
|
619
|
-
pointerAdjust() {
|
620
|
-
this.pointer >= this.filteredOptions.length - 1 && (this.pointer = this.filteredOptions.length ? this.filteredOptions.length - 1 : 0), this.filteredOptions.length > 0 && this.filteredOptions[this.pointer].$isLabel && !this.groupSelect && this.pointerForward();
|
621
|
-
},
|
622
|
-
pointerSet(e) {
|
623
|
-
this.pointer = e, this.pointerDirty = !0;
|
624
|
-
}
|
625
|
-
}
|
626
|
-
};
|
627
|
-
const J = {
|
628
|
-
name: "vue-multiselect",
|
629
|
-
mixins: [I, _],
|
630
|
-
compatConfig: {
|
631
|
-
MODE: 3,
|
632
|
-
ATTR_ENUMERATED_COERCION: !1
|
633
|
-
},
|
634
|
-
props: {
|
635
|
-
/**
|
636
|
-
* name attribute to match optional label element
|
637
|
-
* @default ''
|
638
|
-
* @type {String}
|
639
|
-
*/
|
640
|
-
name: {
|
641
|
-
type: String,
|
642
|
-
default: ""
|
643
|
-
},
|
644
|
-
/**
|
645
|
-
* Presets the selected options value.
|
646
|
-
* @type {Object||Array||String||Integer}
|
647
|
-
*/
|
648
|
-
modelValue: {
|
649
|
-
type: null,
|
650
|
-
default() {
|
651
|
-
return [];
|
652
|
-
}
|
653
|
-
},
|
654
|
-
/**
|
655
|
-
* String to show when pointing to an option
|
656
|
-
* @default 'Press enter to select'
|
657
|
-
* @type {String}
|
658
|
-
*/
|
659
|
-
selectLabel: {
|
660
|
-
type: String,
|
661
|
-
default: "Press enter to select"
|
662
|
-
},
|
663
|
-
/**
|
664
|
-
* String to show when pointing to an option
|
665
|
-
* @default 'Press enter to select'
|
666
|
-
* @type {String}
|
667
|
-
*/
|
668
|
-
selectGroupLabel: {
|
669
|
-
type: String,
|
670
|
-
default: "Press enter to select group"
|
671
|
-
},
|
672
|
-
/**
|
673
|
-
* String to show next to selected option
|
674
|
-
* @default 'Selected'
|
675
|
-
* @type {String}
|
676
|
-
*/
|
677
|
-
selectedLabel: {
|
678
|
-
type: String,
|
679
|
-
default: "Selected"
|
680
|
-
},
|
681
|
-
/**
|
682
|
-
* String to show when pointing to an already selected option
|
683
|
-
* @default 'Press enter to remove'
|
684
|
-
* @type {String}
|
685
|
-
*/
|
686
|
-
deselectLabel: {
|
687
|
-
type: String,
|
688
|
-
default: "Press enter to remove"
|
689
|
-
},
|
690
|
-
/**
|
691
|
-
* String to show when pointing to an already selected option
|
692
|
-
* @default 'Press enter to remove'
|
693
|
-
* @type {String}
|
694
|
-
*/
|
695
|
-
deselectGroupLabel: {
|
696
|
-
type: String,
|
697
|
-
default: "Press enter to deselect group"
|
698
|
-
},
|
699
|
-
/**
|
700
|
-
* Decide whether to show pointer labels
|
701
|
-
* @default true
|
702
|
-
* @type {Boolean}
|
703
|
-
*/
|
704
|
-
showLabels: {
|
705
|
-
type: Boolean,
|
706
|
-
default: !0
|
707
|
-
},
|
708
|
-
/**
|
709
|
-
* Limit the display of selected options. The rest will be hidden within the limitText string.
|
710
|
-
* @default 99999
|
711
|
-
* @type {Integer}
|
712
|
-
*/
|
713
|
-
limit: {
|
714
|
-
type: Number,
|
715
|
-
default: 99999
|
716
|
-
},
|
717
|
-
/**
|
718
|
-
* Sets maxHeight style value of the dropdown
|
719
|
-
* @default 300
|
720
|
-
* @type {Integer}
|
721
|
-
*/
|
722
|
-
maxHeight: {
|
723
|
-
type: Number,
|
724
|
-
default: 300
|
725
|
-
},
|
726
|
-
/**
|
727
|
-
* Function that process the message shown when selected
|
728
|
-
* elements pass the defined limit.
|
729
|
-
* @default 'and * more'
|
730
|
-
* @param {Int} count Number of elements more than limit
|
731
|
-
* @type {Function}
|
732
|
-
*/
|
733
|
-
limitText: {
|
734
|
-
type: Function,
|
735
|
-
default: (e) => `and ${e} more`
|
736
|
-
},
|
737
|
-
/**
|
738
|
-
* Set true to trigger the loading spinner.
|
739
|
-
* @default False
|
740
|
-
* @type {Boolean}
|
741
|
-
*/
|
742
|
-
loading: {
|
743
|
-
type: Boolean,
|
744
|
-
default: !1
|
745
|
-
},
|
746
|
-
/**
|
747
|
-
* Disables the multiselect if true.
|
748
|
-
* @default false
|
749
|
-
* @type {Boolean}
|
750
|
-
*/
|
751
|
-
disabled: {
|
752
|
-
type: Boolean,
|
753
|
-
default: !1
|
754
|
-
},
|
755
|
-
/**
|
756
|
-
* Fixed opening direction
|
757
|
-
* @default ''
|
758
|
-
* @type {String}
|
759
|
-
*/
|
760
|
-
openDirection: {
|
761
|
-
type: String,
|
762
|
-
default: ""
|
763
|
-
},
|
764
|
-
/**
|
765
|
-
* Shows slot with message about empty options
|
766
|
-
* @default true
|
767
|
-
* @type {Boolean}
|
768
|
-
*/
|
769
|
-
showNoOptions: {
|
770
|
-
type: Boolean,
|
771
|
-
default: !0
|
772
|
-
},
|
773
|
-
showNoResults: {
|
774
|
-
type: Boolean,
|
775
|
-
default: !0
|
776
|
-
},
|
777
|
-
tabindex: {
|
778
|
-
type: Number,
|
779
|
-
default: 0
|
780
|
-
}
|
781
|
-
},
|
782
|
-
computed: {
|
783
|
-
hasOptionGroup() {
|
784
|
-
return this.groupValues && this.groupLabel && this.groupSelect;
|
785
|
-
},
|
786
|
-
isSingleLabelVisible() {
|
787
|
-
return (this.singleValue || this.singleValue === 0) && (!this.isOpen || !this.searchable) && !this.visibleValues.length;
|
788
|
-
},
|
789
|
-
isPlaceholderVisible() {
|
790
|
-
return !this.internalValue.length && (!this.searchable || !this.isOpen);
|
791
|
-
},
|
792
|
-
visibleValues() {
|
793
|
-
return this.multiple ? this.internalValue.slice(0, this.limit) : [];
|
794
|
-
},
|
795
|
-
singleValue() {
|
796
|
-
return this.internalValue[0];
|
797
|
-
},
|
798
|
-
deselectLabelText() {
|
799
|
-
return this.showLabels ? this.deselectLabel : "";
|
800
|
-
},
|
801
|
-
deselectGroupLabelText() {
|
802
|
-
return this.showLabels ? this.deselectGroupLabel : "";
|
803
|
-
},
|
804
|
-
selectLabelText() {
|
805
|
-
return this.showLabels ? this.selectLabel : "";
|
806
|
-
},
|
807
|
-
selectGroupLabelText() {
|
808
|
-
return this.showLabels ? this.selectGroupLabel : "";
|
809
|
-
},
|
810
|
-
selectedLabelText() {
|
811
|
-
return this.showLabels ? this.selectedLabel : "";
|
812
|
-
},
|
813
|
-
inputStyle() {
|
814
|
-
return this.searchable || this.multiple && this.modelValue && this.modelValue.length ? this.isOpen ? { width: "100%" } : { width: "0", position: "absolute", padding: "0" } : "";
|
815
|
-
},
|
816
|
-
contentStyle() {
|
817
|
-
return this.options.length ? { display: "inline-block" } : { display: "block" };
|
818
|
-
},
|
819
|
-
isAbove() {
|
820
|
-
return this.openDirection === "above" || this.openDirection === "top" ? !0 : this.openDirection === "below" || this.openDirection === "bottom" ? !1 : this.preferredOpenDirection === "above";
|
821
|
-
},
|
822
|
-
showSearchInput() {
|
823
|
-
return this.searchable && (this.hasSingleSelectedSlot && (this.visibleSingleValue || this.visibleSingleValue === 0) ? this.isOpen : !0);
|
824
|
-
}
|
825
|
-
}
|
826
|
-
}, Q = ["tabindex", "aria-owns"], W = {
|
827
|
-
ref: "tags",
|
828
|
-
class: "multiselect__tags"
|
829
|
-
}, X = { class: "multiselect__tags-wrap" }, Y = ["textContent"], Z = ["onKeypress", "onMousedown"], x = ["textContent"], ee = { class: "multiselect__spinner" }, te = ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"], ie = ["id"], se = { key: 0 }, le = { class: "multiselect__option" }, ne = ["id", "role"], re = ["onClick", "onMouseenter", "data-select", "data-selected", "data-deselect"], ae = ["data-select", "data-deselect", "onMouseenter", "onMousedown"], oe = { class: "multiselect__option" }, ue = { class: "multiselect__option" };
|
830
|
-
function he(e, t, i, l, h, n) {
|
831
|
-
return o(), d("div", {
|
832
|
-
tabindex: e.searchable ? -1 : i.tabindex,
|
833
|
-
class: S([{ "multiselect--active": e.isOpen, "multiselect--disabled": i.disabled, "multiselect--above": n.isAbove, "multiselect--has-options-group": n.hasOptionGroup }, "multiselect"]),
|
834
|
-
onFocus: t[13] || (t[13] = (s) => e.activate()),
|
835
|
-
onBlur: t[14] || (t[14] = (s) => e.searchable ? !1 : e.deactivate()),
|
836
|
-
onKeydown: [
|
837
|
-
t[15] || (t[15] = c(r((s) => e.pointerForward(), ["self", "prevent"]), ["down"])),
|
838
|
-
t[16] || (t[16] = c(r((s) => e.pointerBackward(), ["self", "prevent"]), ["up"]))
|
839
|
-
],
|
840
|
-
onKeypress: t[17] || (t[17] = c(r((s) => e.addPointerElement(s), ["stop", "self"]), ["enter", "tab"])),
|
841
|
-
onKeyup: t[18] || (t[18] = c((s) => e.deactivate(), ["esc"])),
|
842
|
-
role: "combobox",
|
843
|
-
"aria-owns": "listbox-" + e.id
|
844
|
-
}, [
|
845
|
-
u(e.$slots, "caret", { toggle: e.toggle }, () => [
|
846
|
-
a("div", {
|
847
|
-
onMousedown: t[0] || (t[0] = r((s) => e.toggle(), ["prevent", "stop"])),
|
848
|
-
class: "multiselect__select"
|
849
|
-
}, null, 32)
|
850
|
-
]),
|
851
|
-
u(e.$slots, "clear", { search: e.search }),
|
852
|
-
a("div", W, [
|
853
|
-
u(e.$slots, "selection", {
|
854
|
-
search: e.search,
|
855
|
-
remove: e.removeElement,
|
856
|
-
values: n.visibleValues,
|
857
|
-
isOpen: e.isOpen
|
858
|
-
}, () => [
|
859
|
-
b(a("div", X, [
|
860
|
-
(o(!0), d($, null, B(n.visibleValues, (s, p) => u(e.$slots, "tag", {
|
861
|
-
option: s,
|
862
|
-
search: e.search,
|
863
|
-
remove: e.removeElement
|
864
|
-
}, () => [
|
865
|
-
(o(), d("span", {
|
866
|
-
class: "multiselect__tag",
|
867
|
-
key: p
|
868
|
-
}, [
|
869
|
-
a("span", {
|
870
|
-
textContent: m(e.getOptionLabel(s))
|
871
|
-
}, null, 8, Y),
|
872
|
-
a("i", {
|
873
|
-
tabindex: "1",
|
874
|
-
onKeypress: c(r((g) => e.removeElement(s), ["prevent"]), ["enter"]),
|
875
|
-
onMousedown: r((g) => e.removeElement(s), ["prevent"]),
|
876
|
-
class: "multiselect__tag-icon"
|
877
|
-
}, null, 40, Z)
|
878
|
-
]))
|
879
|
-
])), 256))
|
880
|
-
], 512), [
|
881
|
-
[y, n.visibleValues.length > 0]
|
882
|
-
]),
|
883
|
-
e.internalValue && e.internalValue.length > i.limit ? u(e.$slots, "limit", { key: 0 }, () => [
|
884
|
-
a("strong", {
|
885
|
-
class: "multiselect__strong",
|
886
|
-
textContent: m(i.limitText(e.internalValue.length - i.limit))
|
887
|
-
}, null, 8, x)
|
888
|
-
]) : f("", !0)
|
889
|
-
]),
|
890
|
-
k(D, { name: "multiselect__loading" }, {
|
891
|
-
default: E(() => [
|
892
|
-
u(e.$slots, "loading", {}, () => [
|
893
|
-
b(a("div", ee, null, 512), [
|
894
|
-
[y, i.loading]
|
895
|
-
])
|
896
|
-
])
|
897
|
-
]),
|
898
|
-
_: 3
|
899
|
-
}),
|
900
|
-
e.searchable ? (o(), d("input", {
|
901
|
-
key: 0,
|
902
|
-
ref: "search",
|
903
|
-
name: i.name,
|
904
|
-
id: e.id,
|
905
|
-
type: "text",
|
906
|
-
autocomplete: "off",
|
907
|
-
spellcheck: "false",
|
908
|
-
placeholder: e.placeholder,
|
909
|
-
style: O(n.inputStyle),
|
910
|
-
value: e.search,
|
911
|
-
disabled: i.disabled,
|
912
|
-
tabindex: i.tabindex,
|
913
|
-
onInput: t[1] || (t[1] = (s) => e.updateSearch(s.target.value)),
|
914
|
-
onFocus: t[2] || (t[2] = r((s) => e.activate(), ["prevent"])),
|
915
|
-
onBlur: t[3] || (t[3] = r((s) => e.deactivate(), ["prevent"])),
|
916
|
-
onKeyup: t[4] || (t[4] = c((s) => e.deactivate(), ["esc"])),
|
917
|
-
onKeydown: [
|
918
|
-
t[5] || (t[5] = c(r((s) => e.pointerForward(), ["prevent"]), ["down"])),
|
919
|
-
t[6] || (t[6] = c(r((s) => e.pointerBackward(), ["prevent"]), ["up"])),
|
920
|
-
t[8] || (t[8] = c(r((s) => e.removeLastElement(), ["stop"]), ["delete"]))
|
921
|
-
],
|
922
|
-
onKeypress: t[7] || (t[7] = c(r((s) => e.addPointerElement(s), ["prevent", "stop", "self"]), ["enter"])),
|
923
|
-
class: "multiselect__input",
|
924
|
-
"aria-controls": "listbox-" + e.id
|
925
|
-
}, null, 44, te)) : f("", !0),
|
926
|
-
n.isSingleLabelVisible ? (o(), d("span", {
|
927
|
-
key: 1,
|
928
|
-
class: "multiselect__single",
|
929
|
-
onMousedown: t[9] || (t[9] = r((...s) => e.toggle && e.toggle(...s), ["prevent"]))
|
930
|
-
}, [
|
931
|
-
u(e.$slots, "singleLabel", { option: n.singleValue }, () => [
|
932
|
-
v(m(e.currentOptionLabel), 1)
|
933
|
-
])
|
934
|
-
], 32)) : f("", !0),
|
935
|
-
n.isPlaceholderVisible ? (o(), d("span", {
|
936
|
-
key: 2,
|
937
|
-
class: "multiselect__placeholder",
|
938
|
-
onMousedown: t[10] || (t[10] = r((...s) => e.toggle && e.toggle(...s), ["prevent"]))
|
939
|
-
}, [
|
940
|
-
u(e.$slots, "placeholder", {}, () => [
|
941
|
-
v(m(e.placeholder), 1)
|
942
|
-
])
|
943
|
-
], 32)) : f("", !0)
|
944
|
-
], 512),
|
945
|
-
k(D, { name: "multiselect" }, {
|
946
|
-
default: E(() => [
|
947
|
-
b(a("div", {
|
948
|
-
class: S(["multiselect__content-wrapper", e.$attrs.class]),
|
949
|
-
onFocus: t[11] || (t[11] = (...s) => e.activate && e.activate(...s)),
|
950
|
-
tabindex: "-1",
|
951
|
-
onMousedown: t[12] || (t[12] = r(() => {
|
952
|
-
}, ["prevent"])),
|
953
|
-
style: O({ maxHeight: e.optimizedHeight + "px" }),
|
954
|
-
ref: "list"
|
955
|
-
}, [
|
956
|
-
a("ul", {
|
957
|
-
class: "multiselect__content",
|
958
|
-
style: O(n.contentStyle),
|
959
|
-
role: "listbox",
|
960
|
-
id: "listbox-" + e.id
|
961
|
-
}, [
|
962
|
-
u(e.$slots, "beforeList"),
|
963
|
-
e.multiple && e.max === e.internalValue.length ? (o(), d("li", se, [
|
964
|
-
a("span", le, [
|
965
|
-
u(e.$slots, "maxElements", {}, () => [
|
966
|
-
v("Maximum of " + m(e.max) + " options selected. First remove a selected option to select another.", 1)
|
967
|
-
])
|
968
|
-
])
|
969
|
-
])) : f("", !0),
|
970
|
-
!e.max || e.internalValue.length < e.max ? (o(!0), d($, { key: 1 }, B(e.filteredOptions, (s, p) => (o(), d("li", {
|
971
|
-
class: "multiselect__element",
|
972
|
-
key: p,
|
973
|
-
id: e.id + "-" + p,
|
974
|
-
role: s && (s.$isLabel || s.$isDisabled) ? null : "option"
|
975
|
-
}, [
|
976
|
-
s && (s.$isLabel || s.$isDisabled) ? f("", !0) : (o(), d("span", {
|
977
|
-
key: 0,
|
978
|
-
class: S([e.optionHighlight(p, s), "multiselect__option"]),
|
979
|
-
onClick: r((g) => e.select(s), ["stop"]),
|
980
|
-
onMouseenter: r((g) => e.pointerSet(p), ["self"]),
|
981
|
-
"data-select": s && s.isTag ? e.tagPlaceholder : n.selectLabelText,
|
982
|
-
"data-selected": n.selectedLabelText,
|
983
|
-
"data-deselect": n.deselectLabelText
|
984
|
-
}, [
|
985
|
-
u(e.$slots, "option", {
|
986
|
-
option: s,
|
987
|
-
search: e.search,
|
988
|
-
index: p
|
989
|
-
}, () => [
|
990
|
-
a("span", null, m(e.getOptionLabel(s)), 1)
|
991
|
-
])
|
992
|
-
], 42, re)),
|
993
|
-
s && (s.$isLabel || s.$isDisabled) ? (o(), d("span", {
|
994
|
-
key: 1,
|
995
|
-
"data-select": e.groupSelect && n.selectGroupLabelText,
|
996
|
-
"data-deselect": e.groupSelect && n.deselectGroupLabelText,
|
997
|
-
class: S([e.groupHighlight(p, s), "multiselect__option"]),
|
998
|
-
onMouseenter: r((g) => e.groupSelect && e.pointerSet(p), ["self"]),
|
999
|
-
onMousedown: r((g) => e.selectGroup(s), ["prevent"])
|
1000
|
-
}, [
|
1001
|
-
u(e.$slots, "option", {
|
1002
|
-
option: s,
|
1003
|
-
search: e.search,
|
1004
|
-
index: p
|
1005
|
-
}, () => [
|
1006
|
-
a("span", null, m(e.getOptionLabel(s)), 1)
|
1007
|
-
])
|
1008
|
-
], 42, ae)) : f("", !0)
|
1009
|
-
], 8, ne))), 128)) : f("", !0),
|
1010
|
-
b(a("li", null, [
|
1011
|
-
a("span", oe, [
|
1012
|
-
u(e.$slots, "noResult", { search: e.search }, () => [
|
1013
|
-
v("No elements found. Consider changing the search query.")
|
1014
|
-
])
|
1015
|
-
])
|
1016
|
-
], 512), [
|
1017
|
-
[y, i.showNoResults && e.filteredOptions.length === 0 && e.search && !i.loading]
|
1018
|
-
]),
|
1019
|
-
b(a("li", null, [
|
1020
|
-
a("span", ue, [
|
1021
|
-
u(e.$slots, "noOptions", {}, () => [
|
1022
|
-
v("List is empty.")
|
1023
|
-
])
|
1024
|
-
])
|
1025
|
-
], 512), [
|
1026
|
-
[y, i.showNoOptions && (e.options.length === 0 || n.hasOptionGroup === !0 && e.filteredOptions.length === 0) && !e.search && !i.loading]
|
1027
|
-
]),
|
1028
|
-
u(e.$slots, "afterList")
|
1029
|
-
], 12, ie)
|
1030
|
-
], 38), [
|
1031
|
-
[y, e.isOpen]
|
1032
|
-
])
|
1033
|
-
]),
|
1034
|
-
_: 3
|
1035
|
-
})
|
1036
|
-
], 42, Q);
|
1037
|
-
}
|
1038
|
-
const ye = /* @__PURE__ */ C(J, [["render", he]]);
|
1039
|
-
const de = { class: "w-100 o-scroll" }, pe = {
|
1040
|
-
key: 1,
|
1041
|
-
class: "w-max flex-nowrap flex"
|
1042
|
-
}, ve = {
|
1043
|
-
__name: "Publics",
|
1044
|
-
setup(e) {
|
1045
|
-
let t = H(null);
|
1046
|
-
G(async () => {
|
1047
|
-
t.value = await K.read({
|
1048
|
-
user: M.user._id,
|
1049
|
-
sort: "numberOfMemberships",
|
1050
|
-
limit: 10,
|
1051
|
-
types: ["public"]
|
1052
|
-
});
|
1053
|
-
});
|
1054
|
-
const i = ({ membership: l, isMember: h, targetId: n }) => {
|
1055
|
-
z.handleMembershipUpdate(t.value, l, h, n);
|
1056
|
-
};
|
1057
|
-
return (l, h) => (o(), d("div", de, [
|
1058
|
-
!V(t) || V(t).length < 1 ? (o(), T(N, {
|
1059
|
-
key: 0,
|
1060
|
-
title: "Unfortunately, we couldn't find any recommendations for you",
|
1061
|
-
description: "Explore and find a community or organization that suits your interests.",
|
1062
|
-
class: "radius-big bg-grey pd-medium"
|
1063
|
-
})) : (o(), d("div", pe, [
|
1064
|
-
V(t) ? (o(!0), d($, { key: 0 }, B(V(t), (n, s) => (o(), T(F, {
|
1065
|
-
key: n._id,
|
1066
|
-
organization: n,
|
1067
|
-
user: M.user,
|
1068
|
-
onUpdateMembership: i,
|
1069
|
-
class: S(["flex-child-shrink-0 flex-child", { "mn-r-small": s !== V(t).length - 1 }])
|
1070
|
-
}, null, 8, ["organization", "user", "class"]))), 128)) : f("", !0)
|
1071
|
-
]))
|
1072
|
-
]));
|
1073
|
-
}
|
1074
|
-
};
|
1075
|
-
export {
|
1076
|
-
ye as S,
|
1077
|
-
ve as _
|
1078
|
-
};
|