@ozdao/prometheus-framework 0.1.41 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/LeftoverAdd-5a8988d9.js +1 -0
- package/dist/{LeftoverAdd-08d9fb54.mjs → LeftoverAdd-c4f37f47.mjs} +4 -5
- package/dist/{Leftovers-296c0042.js → Leftovers-470a1689.js} +1 -1
- package/dist/{Leftovers-685d9f19.mjs → Leftovers-69c7dcd9.mjs} +1 -1
- package/dist/{Members-7251dd52.mjs → Members-87278466.mjs} +3 -3
- package/dist/{Members-d35ab7e8.js → Members-bbcb79ae.js} +1 -1
- package/dist/{Product-299070ad.mjs → Product-2f8e6943.mjs} +2 -2
- package/dist/{Product-aacb05f3.js → Product-4a834930.js} +1 -1
- package/dist/{ProductEdit-70bed802.mjs → ProductEdit-959b3cd3.mjs} +4 -5
- package/dist/ProductEdit-bae5e898.js +1 -0
- package/dist/ProductsBackoffice-0716123f.js +1 -0
- package/dist/{ProductsBackoffice-3d987c60.mjs → ProductsBackoffice-a36ecbc6.mjs} +3 -4
- package/dist/backoffice.client.cjs +1 -1
- package/dist/backoffice.client.js +7 -7
- package/dist/{categories-52a561a4.mjs → categories-5b08da53.mjs} +14 -15
- package/dist/categories-7ccd6be9.js +1 -0
- package/dist/{leftovers-be37c7a5.mjs → leftovers-5d1ff88b.mjs} +6 -6
- package/dist/leftovers-b60180cf.js +1 -0
- package/dist/{organizations.client-8f263e28.js → organizations.client-7e11a989.js} +2 -2
- package/dist/{organizations.client-9ffc023f.mjs → organizations.client-e519ef17.mjs} +6 -6
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +3 -3
- package/dist/products-3c43eb18.js +1 -0
- package/dist/{products-aabe5c02.mjs → products-943fb95e.mjs} +2 -3
- package/package.json +1 -1
- package/dist/BackofficeGallery-02c9721b.mjs +0 -304
- package/dist/BackofficeGallery-08d96af1.mjs +0 -305
- package/dist/BackofficeGallery-0e0132f5.mjs +0 -306
- package/dist/BackofficeGallery-1d117a40.js +0 -1
- package/dist/BackofficeGallery-2e695fed.js +0 -1
- package/dist/BackofficeGallery-3bb55ea2.mjs +0 -357
- package/dist/BackofficeGallery-7ae8fbba.mjs +0 -307
- package/dist/BackofficeGallery-a52a27b6.js +0 -1
- package/dist/BackofficeGallery-e54a33a3.js +0 -1
- package/dist/BackofficeGallery-fe39cff3.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2426cb6f.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-505c3ca5.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-561d6db3.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-579e2c7a.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8660f9cb.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-97217d38.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-9e474158.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-b1873cb7.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6aba800.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cab2bcd2.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cf9f6aed.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +0 -1
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-ec801e39.mjs +0 -1945
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +0 -1
- package/dist/Button-2ca405bd.js +0 -1
- package/dist/Button-c59d387c.mjs +0 -283
- package/dist/Button-d8e72ac0.mjs +0 -296
- package/dist/Button-ee08e6bf.js +0 -1
- package/dist/ButtonFollow-00d85977.mjs +0 -133
- package/dist/ButtonFollow-23c4d9fc.mjs +0 -132
- package/dist/ButtonFollow-351486b0.js +0 -1
- package/dist/ButtonFollow-38d9a720.mjs +0 -131
- package/dist/ButtonFollow-3a05d29f.mjs +0 -132
- package/dist/ButtonFollow-4049a57e.js +0 -1
- package/dist/ButtonFollow-5e19fc49.mjs +0 -131
- package/dist/ButtonFollow-6765c266.mjs +0 -131
- package/dist/ButtonFollow-7c0180b3.js +0 -1
- package/dist/ButtonFollow-81508d85.mjs +0 -132
- package/dist/ButtonFollow-959861db.js +0 -1
- package/dist/ButtonFollow-9a33ab06.js +0 -1
- package/dist/ButtonFollow-bf5e6d42.js +0 -1
- package/dist/ButtonFollow-d4552677.mjs +0 -131
- package/dist/ButtonFollow-daa0e9e4.js +0 -1
- package/dist/ButtonFollow-df6317f0.js +0 -1
- package/dist/ButtonFollow-f0cefb85.mjs +0 -131
- package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-0ea8fbf8.js +0 -1
- package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs +0 -1
- package/dist/ButtonToggleMembership-15f149cb.js +0 -1
- package/dist/ButtonToggleMembership-3bb9139e.mjs +0 -90
- package/dist/CardBlogpost-38016b80.mjs +0 -246
- package/dist/CardBlogpost-ae3b4d23.js +0 -1
- package/dist/CardBlogpost-cc208f93.js +0 -1
- package/dist/CardBlogpost-d6f49156.mjs +0 -246
- package/dist/CardOrganization-01c2e248.mjs +0 -210
- package/dist/CardOrganization-18c1e3fa.mjs +0 -297
- package/dist/CardOrganization-1b0da77c.mjs +0 -230
- package/dist/CardOrganization-1be3651b.js +0 -1
- package/dist/CardOrganization-26714a5e.mjs +0 -297
- package/dist/CardOrganization-3049931d.mjs +0 -230
- package/dist/CardOrganization-3f4a13d3.mjs +0 -230
- package/dist/CardOrganization-43e80590.js +0 -1
- package/dist/CardOrganization-4d22037e.js +0 -1
- package/dist/CardOrganization-522845c7.mjs +0 -230
- package/dist/CardOrganization-63dcc83b.js +0 -1
- package/dist/CardOrganization-79eb2b6f.js +0 -1
- package/dist/CardOrganization-7d679e75.js +0 -1
- package/dist/CardOrganization-82c5b4c6.js +0 -1
- package/dist/CardOrganization-88c6d479.js +0 -1
- package/dist/CardOrganization-8b376cbb.js +0 -1
- package/dist/CardOrganization-8c5b582b.mjs +0 -230
- package/dist/CardOrganization-b2098e42.js +0 -1
- package/dist/CardOrganization-bf366e4e.js +0 -1
- package/dist/CardOrganization-c2e7e903.mjs +0 -229
- package/dist/CardOrganization-d3a9d898.mjs +0 -230
- package/dist/CardOrganization-d8f209ee.js +0 -1
- package/dist/CardOrganization-d93c9bdb.js +0 -1
- package/dist/CardOrganization-de8ec36e.mjs +0 -230
- package/dist/CardOrganization-df0a4506.mjs +0 -229
- package/dist/CardOrganization-e530c9d5.mjs +0 -230
- package/dist/CardOrganization-e920be73.mjs +0 -234
- package/dist/Chips-03ff0c34.mjs +0 -108
- package/dist/Chips-0e5bdd54.js +0 -1
- package/dist/Chips-2a0d9bfe.js +0 -1
- package/dist/Chips-2ada5eda.mjs +0 -200
- package/dist/Chips-32092a52.js +0 -1
- package/dist/Chips-3a07f374.js +0 -1
- package/dist/Chips-3dac276c.js +0 -1
- package/dist/Chips-41cd6570.mjs +0 -203
- package/dist/Chips-4316f652.mjs +0 -110
- package/dist/Chips-493042f7.js +0 -1
- package/dist/Chips-4d8ac62e.js +0 -1
- package/dist/Chips-5e32c8cb.mjs +0 -200
- package/dist/Chips-8d0a1d2c.js +0 -1
- package/dist/Chips-92ccc11f.js +0 -1
- package/dist/Chips-9cf6c0da.mjs +0 -286
- package/dist/Chips-9d81b215.mjs +0 -214
- package/dist/Chips-a8681edd.mjs +0 -213
- package/dist/Chips-c3d7341e.js +0 -1
- package/dist/Chips-cc08d85a.mjs +0 -108
- package/dist/Chips-d47704e6.js +0 -1
- package/dist/Chips-f0b7ce36.mjs +0 -110
- package/dist/Community-72dbb933.js +0 -1
- package/dist/Community-87522a04.mjs +0 -132
- package/dist/Community-aef23aee.js +0 -1
- package/dist/Community-b4d10da6.mjs +0 -130
- package/dist/Dashboard-239fb7a6.mjs +0 -52
- package/dist/Dashboard-91d73bc5.js +0 -1
- package/dist/Dashboard-94267906.js +0 -1
- package/dist/Dashboard-ea9035bc.mjs +0 -152
- package/dist/Dropdown-31115457.js +0 -1
- package/dist/Dropdown-cab3605b.mjs +0 -146
- package/dist/EULA-8265b0cf.mjs +0 -4218
- package/dist/EULA-cbb27503.js +0 -1
- package/dist/EULA-f5fba925.js +0 -1
- package/dist/EmptyState-34d85f10.mjs +0 -36
- package/dist/EmptyState-7658d7d6.js +0 -1
- package/dist/Events-0c6e3ef4.mjs +0 -134
- package/dist/Events-4742f070.js +0 -1
- package/dist/Events-cdfbca78.js +0 -1
- package/dist/Events-e9dd58f7.mjs +0 -123
- package/dist/Feed-046852fc.js +0 -1
- package/dist/Feed-09b0790d.js +0 -1
- package/dist/Feed-0b1dad65.js +0 -1
- package/dist/Feed-0dbe15b9.js +0 -1
- package/dist/Feed-12b12380.js +0 -1
- package/dist/Feed-13499a3a.mjs +0 -428
- package/dist/Feed-1d0d9853.js +0 -1
- package/dist/Feed-22464fcd.js +0 -1
- package/dist/Feed-275a14d8.mjs +0 -371
- package/dist/Feed-27f62b1c.mjs +0 -368
- package/dist/Feed-2c92ceed.js +0 -1
- package/dist/Feed-345d8513.mjs +0 -355
- package/dist/Feed-361761f5.mjs +0 -366
- package/dist/Feed-3a187776.js +0 -1
- package/dist/Feed-406e3b66.mjs +0 -368
- package/dist/Feed-416d84b0.mjs +0 -439
- package/dist/Feed-44beaa4c.mjs +0 -368
- package/dist/Feed-44f715a7.mjs +0 -439
- package/dist/Feed-4d9001aa.mjs +0 -368
- package/dist/Feed-4df9352b.js +0 -1
- package/dist/Feed-4efa2a93.mjs +0 -394
- package/dist/Feed-505b3fa8.mjs +0 -383
- package/dist/Feed-51eef23f.js +0 -1
- package/dist/Feed-530e40ab.mjs +0 -428
- package/dist/Feed-536c8a92.mjs +0 -439
- package/dist/Feed-585d5821.mjs +0 -124
- package/dist/Feed-5d8c16da.mjs +0 -368
- package/dist/Feed-5ecd756e.js +0 -1
- package/dist/Feed-66095e66.js +0 -1
- package/dist/Feed-67f403fb.mjs +0 -366
- package/dist/Feed-6e96d3dd.mjs +0 -124
- package/dist/Feed-6fd26cb4.mjs +0 -367
- package/dist/Feed-76fc4475.mjs +0 -383
- package/dist/Feed-793b3eef.mjs +0 -146
- package/dist/Feed-79839e67.mjs +0 -368
- package/dist/Feed-7b80704d.mjs +0 -361
- package/dist/Feed-7c8c901a.mjs +0 -380
- package/dist/Feed-807d265b.mjs +0 -156
- package/dist/Feed-8110366a.mjs +0 -439
- package/dist/Feed-82ad8e29.mjs +0 -368
- package/dist/Feed-8a151970.js +0 -1
- package/dist/Feed-8a867bfc.js +0 -1
- package/dist/Feed-8acc6844.js +0 -1
- package/dist/Feed-8bbb7077.mjs +0 -428
- package/dist/Feed-8f6eb29d.mjs +0 -439
- package/dist/Feed-90f74d6c.mjs +0 -361
- package/dist/Feed-986ddd21.mjs +0 -355
- package/dist/Feed-a0df5d24.js +0 -1
- package/dist/Feed-a2870bbf.js +0 -1
- package/dist/Feed-a47977d3.js +0 -1
- package/dist/Feed-a5229528.js +0 -1
- package/dist/Feed-a75d053e.js +0 -1
- package/dist/Feed-a7a6bd2e.mjs +0 -368
- package/dist/Feed-acfbb839.mjs +0 -371
- package/dist/Feed-aee74095.js +0 -1
- package/dist/Feed-af94027c.js +0 -1
- package/dist/Feed-b30ef609.js +0 -1
- package/dist/Feed-b616f102.mjs +0 -439
- package/dist/Feed-bbe44c17.mjs +0 -368
- package/dist/Feed-bf575b72.mjs +0 -428
- package/dist/Feed-bfd7d1d9.js +0 -1
- package/dist/Feed-c25dc839.js +0 -1
- package/dist/Feed-c4084664.mjs +0 -368
- package/dist/Feed-c5d4390a.js +0 -1
- package/dist/Feed-c6b67df4.js +0 -1
- package/dist/Feed-c88eb3aa.js +0 -1
- package/dist/Feed-c8b1c72d.js +0 -1
- package/dist/Feed-c8dc4359.js +0 -1
- package/dist/Feed-c9e6190e.js +0 -1
- package/dist/Feed-d0da2943.js +0 -1
- package/dist/Feed-d78d4b91.mjs +0 -439
- package/dist/Feed-e55bc6fa.js +0 -1
- package/dist/Feed-e6e84388.js +0 -1
- package/dist/Feed-e77e3bb3.js +0 -1
- package/dist/Feed-e9bddb71.mjs +0 -439
- package/dist/Feed-ee36f80b.js +0 -1
- package/dist/Feed-ef6c6ca3.mjs +0 -371
- package/dist/Feed-f0a40b33.js +0 -1
- package/dist/Feed-f3b2bd74.mjs +0 -439
- package/dist/Feed-f4e9769e.js +0 -1
- package/dist/Feed-f987d8bb.js +0 -1
- package/dist/Feed-fb4f7ee6.mjs +0 -368
- package/dist/Feed-fea84ce7.mjs +0 -439
- package/dist/Feed-ff3b96b2.js +0 -1
- package/dist/Gallery-1f82841a.mjs +0 -357
- package/dist/Gallery-9305f294.mjs +0 -357
- package/dist/Gallery-dd29c7f6.js +0 -1
- package/dist/Gallery-dea27e94.js +0 -1
- package/dist/IconChevronRight-a55f838e.js +0 -1
- package/dist/IconChevronRight-fae9d012.mjs +0 -28
- package/dist/IconCommunity-468dc457.mjs +0 -65
- package/dist/IconCommunity-b339e806.js +0 -1
- package/dist/IconCross-5bf93179.js +0 -1
- package/dist/IconCross-84cb1292.mjs +0 -28
- package/dist/IconEdit-1b7b5874.js +0 -1
- package/dist/IconEdit-4cfe2115.js +0 -1
- package/dist/IconEdit-680dc269.mjs +0 -339
- package/dist/IconEdit-823ddda9.js +0 -1
- package/dist/IconEdit-c98d3d06.mjs +0 -339
- package/dist/IconEdit-e4d0cc6e.js +0 -1
- package/dist/IconEdit-eacf3856.mjs +0 -44
- package/dist/IconEdit-f0ad8b9a.mjs +0 -205
- package/dist/Image-04944a2f.js +0 -9
- package/dist/Image-052a3cc2.mjs +0 -480
- package/dist/Image-0e21ae0a.mjs +0 -477
- package/dist/Image-0f2814f0.js +0 -9
- package/dist/Image-1281bc48.mjs +0 -477
- package/dist/Image-1f7252c0.mjs +0 -477
- package/dist/Image-2269667e.js +0 -9
- package/dist/Image-22e17cef.js +0 -9
- package/dist/Image-245c003d.mjs +0 -480
- package/dist/Image-268e2a1b.js +0 -9
- package/dist/Image-2d2e606a.js +0 -9
- package/dist/Image-35d31936.js +0 -9
- package/dist/Image-3fee8409.mjs +0 -477
- package/dist/Image-448f9228.js +0 -9
- package/dist/Image-5423e8ce.mjs +0 -480
- package/dist/Image-58efaf35.mjs +0 -477
- package/dist/Image-661e2fbc.mjs +0 -477
- package/dist/Image-75f5becb.js +0 -9
- package/dist/Image-7dcfe90d.mjs +0 -477
- package/dist/Image-89b2a540.js +0 -9
- package/dist/Image-8e67dd2d.js +0 -9
- package/dist/Image-93c3a270.mjs +0 -480
- package/dist/Image-95c0fb07.mjs +0 -480
- package/dist/Image-9e90a5f6.mjs +0 -477
- package/dist/Image-a2c2ab9c.js +0 -9
- package/dist/Image-ad6d4f0f.mjs +0 -477
- package/dist/Image-b2131fa0.mjs +0 -477
- package/dist/Image-be69af9c.mjs +0 -477
- package/dist/Image-c0ae2c5f.mjs +0 -477
- package/dist/Image-c90ee624.js +0 -9
- package/dist/Image-d01026cf.js +0 -9
- package/dist/Image-d42a89db.mjs +0 -477
- package/dist/Image-d5c4d8d9.js +0 -9
- package/dist/Image-d74c19ee.mjs +0 -477
- package/dist/Image-de94b883.js +0 -9
- package/dist/Image-f66dbbf4.js +0 -9
- package/dist/Image-fd501859.js +0 -9
- package/dist/LabelGooglePlay-24feb437.mjs +0 -31
- package/dist/LabelGooglePlay-f80e5ff0.js +0 -1
- package/dist/LeftoverAdd-21311275.js +0 -1
- package/dist/LeftoverAdd-ccf4595f.mjs +0 -228
- package/dist/LeftoverAdd-fc673884.js +0 -1
- package/dist/Members-2cb2ff58.mjs +0 -114
- package/dist/Members-85534d1f.js +0 -1
- package/dist/Members-9b013515.js +0 -1
- package/dist/Members-d64149f3.mjs +0 -109
- package/dist/Menu-b5d6a0c7.js +0 -1
- package/dist/Menu-dd7645c1.mjs +0 -13
- package/dist/MenuItem-0b249b94.mjs +0 -93
- package/dist/MenuItem-1216a99f.js +0 -1
- package/dist/MenuItem-56ae7f94.js +0 -1
- package/dist/MenuItem-6296d02f.mjs +0 -63
- package/dist/MenuItem-8b70d2cf.js +0 -1
- package/dist/MenuItem-97c50b97.mjs +0 -93
- package/dist/Organizations-0cb37d68.js +0 -1
- package/dist/Organizations-0fd5bc8b.mjs +0 -72
- package/dist/Organizations-d360c360.js +0 -1
- package/dist/Organizations-d6ef2113.mjs +0 -73
- package/dist/PlaceholderUserpic-14c6ea7e.mjs +0 -28
- package/dist/PlaceholderUserpic-20d58460.js +0 -1
- package/dist/PlaceholderUserpic-47f6f319.js +0 -1
- package/dist/Popup-0106ee0c.js +0 -1
- package/dist/Popup-0420381f.js +0 -1
- package/dist/Popup-0915427c.mjs +0 -74
- package/dist/Popup-0b38b537.js +0 -1
- package/dist/Popup-31c7ffc6.mjs +0 -76
- package/dist/Popup-383abb2e.js +0 -1
- package/dist/Popup-47b37484.mjs +0 -76
- package/dist/Popup-709634dc.mjs +0 -76
- package/dist/Popup-795f5c88.js +0 -1
- package/dist/Popup-ad5f59d0.js +0 -1
- package/dist/Popup-b7609baa.js +0 -1
- package/dist/Popup-d5c4cb46.mjs +0 -76
- package/dist/Popup-d7dbc670.mjs +0 -76
- package/dist/Popup-e6685f31.mjs +0 -76
- package/dist/Popup-e7c9a43e.mjs +0 -76
- package/dist/Popup-ee4bd834.js +0 -1
- package/dist/Popup-f5cdd3c1.js +0 -1
- package/dist/Popup-f7a5e86b.mjs +0 -76
- package/dist/Popup-fca78130.mjs +0 -76
- package/dist/Product-0095681c.mjs +0 -838
- package/dist/Product-09a39f0b.js +0 -7
- package/dist/Product-1892b14a.js +0 -7
- package/dist/Product-2459e9da.mjs +0 -838
- package/dist/Product-2c6df98d.mjs +0 -838
- package/dist/Product-2d05acc8.mjs +0 -839
- package/dist/Product-3001d998.mjs +0 -838
- package/dist/Product-3c2ae338.js +0 -7
- package/dist/Product-3c7b2921.mjs +0 -841
- package/dist/Product-3c9c8197.js +0 -7
- package/dist/Product-4b58701f.js +0 -7
- package/dist/Product-54854cd1.js +0 -7
- package/dist/Product-58a83c67.mjs +0 -838
- package/dist/Product-5994a8c9.mjs +0 -653
- package/dist/Product-601a9d5b.mjs +0 -838
- package/dist/Product-68fa1e9e.js +0 -7
- package/dist/Product-6aa1c9ee.mjs +0 -844
- package/dist/Product-6ca8d04d.js +0 -7
- package/dist/Product-6d05d027.js +0 -7
- package/dist/Product-6df77924.js +0 -7
- package/dist/Product-748ec8b7.mjs +0 -842
- package/dist/Product-7f86f9d4.js +0 -7
- package/dist/Product-84e2c789.js +0 -7
- package/dist/Product-852f952c.js +0 -7
- package/dist/Product-86bb1a63.mjs +0 -838
- package/dist/Product-89ca1bff.js +0 -7
- package/dist/Product-8bee8d1c.mjs +0 -838
- package/dist/Product-9170a446.mjs +0 -838
- package/dist/Product-943b64bb.mjs +0 -838
- package/dist/Product-977a8a7f.js +0 -7
- package/dist/Product-a23f852f.js +0 -7
- package/dist/Product-a39f3ca3.js +0 -7
- package/dist/Product-a6251018.mjs +0 -844
- package/dist/Product-a9efa410.js +0 -7
- package/dist/Product-abf86516.js +0 -7
- package/dist/Product-b054c74c.mjs +0 -838
- package/dist/Product-b1336cde.js +0 -7
- package/dist/Product-b32fb0e1.js +0 -7
- package/dist/Product-b7c53f33.mjs +0 -838
- package/dist/Product-bbdc8460.mjs +0 -841
- package/dist/Product-bbe7171a.mjs +0 -842
- package/dist/Product-c085f00f.mjs +0 -838
- package/dist/Product-d01e3a0d.mjs +0 -839
- package/dist/Product-d3f1d10a.mjs +0 -844
- package/dist/Product-d9c3b9b9.js +0 -7
- package/dist/Product-dc5024f6.js +0 -7
- package/dist/Product-dccb371a.mjs +0 -838
- package/dist/Product-e43dd2f1.js +0 -7
- package/dist/Product-e4e583f0.mjs +0 -652
- package/dist/Product-e825edfc.mjs +0 -838
- package/dist/Product-f017e6cd.js +0 -7
- package/dist/ProductEdit-052b0aef.mjs +0 -350
- package/dist/ProductEdit-171c9923.js +0 -1
- package/dist/ProductEdit-17f4e395.mjs +0 -304
- package/dist/ProductEdit-23d35d67.mjs +0 -350
- package/dist/ProductEdit-2b4d1d88.js +0 -1
- package/dist/ProductEdit-2e309add.js +0 -1
- package/dist/ProductEdit-3350274e.js +0 -1
- package/dist/ProductEdit-36e5cfdd.js +0 -1
- package/dist/ProductEdit-3aecb5bf.js +0 -1
- package/dist/ProductEdit-3d7f2823.js +0 -1
- package/dist/ProductEdit-3ff2af92.js +0 -1
- package/dist/ProductEdit-4af06681.js +0 -1
- package/dist/ProductEdit-4f9b6d56.js +0 -1
- package/dist/ProductEdit-55b6cb06.mjs +0 -350
- package/dist/ProductEdit-56752bbe.mjs +0 -350
- package/dist/ProductEdit-576c9ff8.js +0 -1
- package/dist/ProductEdit-590b7a01.js +0 -1
- package/dist/ProductEdit-5e479343.mjs +0 -300
- package/dist/ProductEdit-64207814.mjs +0 -296
- package/dist/ProductEdit-6abcc97b.mjs +0 -306
- package/dist/ProductEdit-70ddae4d.js +0 -1
- package/dist/ProductEdit-737e2a5a.mjs +0 -302
- package/dist/ProductEdit-777bb9e2.mjs +0 -350
- package/dist/ProductEdit-82658f2f.mjs +0 -350
- package/dist/ProductEdit-86fedffe.mjs +0 -350
- package/dist/ProductEdit-8e779ed8.js +0 -1
- package/dist/ProductEdit-a1050ab6.mjs +0 -303
- package/dist/ProductEdit-a322f1ba.js +0 -1
- package/dist/ProductEdit-a434240f.js +0 -1
- package/dist/ProductEdit-a57fd2b0.mjs +0 -350
- package/dist/ProductEdit-ab0530e8.js +0 -1
- package/dist/ProductEdit-ab5d71ce.mjs +0 -350
- package/dist/ProductEdit-aca44ef7.mjs +0 -300
- package/dist/ProductEdit-ba3fef8c.mjs +0 -350
- package/dist/ProductEdit-c08ee26f.mjs +0 -350
- package/dist/ProductEdit-c99ab559.js +0 -1
- package/dist/ProductEdit-cdc3415a.mjs +0 -350
- package/dist/ProductEdit-d2666662.js +0 -1
- package/dist/ProductEdit-d5dec3cf.js +0 -1
- package/dist/ProductEdit-d74fddb1.mjs +0 -350
- package/dist/ProductEdit-dae66a53.js +0 -1
- package/dist/ProductEdit-e22cc4ef.js +0 -1
- package/dist/ProductEdit-e4cad9d1.js +0 -1
- package/dist/ProductEdit-e5a2e0f6.js +0 -1
- package/dist/ProductEdit-e71dbe52.js +0 -1
- package/dist/ProductEdit-e827ea38.mjs +0 -350
- package/dist/ProductEdit-ebcc3f98.mjs +0 -306
- package/dist/ProductEdit-f7a9af17.mjs +0 -303
- package/dist/ProductEdit-f901314c.mjs +0 -306
- package/dist/ProductEdit-fa0117b6.mjs +0 -350
- package/dist/ProductsBackoffice-0c93f9b6.js +0 -1
- package/dist/ProductsBackoffice-3c182d6a.mjs +0 -86
- package/dist/ProductsBackoffice-b684913d.js +0 -1
- package/dist/ProfileBlogposts-03d04b92.mjs +0 -66
- package/dist/ProfileBlogposts-070cb7e9.mjs +0 -65
- package/dist/ProfileBlogposts-08f784c3.mjs +0 -64
- package/dist/ProfileBlogposts-0b81d964.js +0 -1
- package/dist/ProfileBlogposts-2063c511.mjs +0 -65
- package/dist/ProfileBlogposts-39c20b79.mjs +0 -64
- package/dist/ProfileBlogposts-3aea0091.mjs +0 -64
- package/dist/ProfileBlogposts-4293a1e3.js +0 -1
- package/dist/ProfileBlogposts-4c326fed.mjs +0 -65
- package/dist/ProfileBlogposts-5379335e.js +0 -1
- package/dist/ProfileBlogposts-5382274b.mjs +0 -64
- package/dist/ProfileBlogposts-57931834.mjs +0 -70
- package/dist/ProfileBlogposts-5c0f3b58.js +0 -1
- package/dist/ProfileBlogposts-5c6ab74a.mjs +0 -64
- package/dist/ProfileBlogposts-5deee0c5.mjs +0 -65
- package/dist/ProfileBlogposts-62d5e809.mjs +0 -70
- package/dist/ProfileBlogposts-67e1bd8f.mjs +0 -64
- package/dist/ProfileBlogposts-69beaa14.js +0 -1
- package/dist/ProfileBlogposts-6c715a38.js +0 -1
- package/dist/ProfileBlogposts-6f80b734.mjs +0 -64
- package/dist/ProfileBlogposts-8b66ae1b.js +0 -1
- package/dist/ProfileBlogposts-8c10a505.js +0 -1
- package/dist/ProfileBlogposts-8f6191d6.js +0 -1
- package/dist/ProfileBlogposts-92c4addb.mjs +0 -64
- package/dist/ProfileBlogposts-a2d04221.js +0 -1
- package/dist/ProfileBlogposts-a2f7cd4c.mjs +0 -70
- package/dist/ProfileBlogposts-a798df3d.js +0 -1
- package/dist/ProfileBlogposts-aa839fcb.mjs +0 -77
- package/dist/ProfileBlogposts-af88ce98.js +0 -1
- package/dist/ProfileBlogposts-b59992cf.mjs +0 -79
- package/dist/ProfileBlogposts-b6bf0c42.js +0 -1
- package/dist/ProfileBlogposts-bf3cd8e5.mjs +0 -64
- package/dist/ProfileBlogposts-c31917ec.js +0 -1
- package/dist/ProfileBlogposts-d1d3326e.js +0 -1
- package/dist/ProfileBlogposts-d6bba033.js +0 -1
- package/dist/ProfileBlogposts-e3ea2c82.js +0 -1
- package/dist/ProfileBlogposts-eaecd267.js +0 -1
- package/dist/ProfileBlogposts-f90f947b.mjs +0 -64
- package/dist/ProfileBlogposts-f9312adf.js +0 -1
- package/dist/ProfileComments-03f88b54.mjs +0 -44
- package/dist/ProfileComments-061ea40b.mjs +0 -44
- package/dist/ProfileComments-06985576.mjs +0 -44
- package/dist/ProfileComments-0d22a8ec.js +0 -1
- package/dist/ProfileComments-12b51ae3.js +0 -1
- package/dist/ProfileComments-1525663e.mjs +0 -44
- package/dist/ProfileComments-17352b6a.mjs +0 -44
- package/dist/ProfileComments-1ae70859.js +0 -1
- package/dist/ProfileComments-1cbf5c45.js +0 -1
- package/dist/ProfileComments-1e0d72cc.mjs +0 -44
- package/dist/ProfileComments-3cf3e265.mjs +0 -44
- package/dist/ProfileComments-473c3413.js +0 -1
- package/dist/ProfileComments-6d863cd3.mjs +0 -45
- package/dist/ProfileComments-761ce00e.js +0 -1
- package/dist/ProfileComments-78231e6a.mjs +0 -44
- package/dist/ProfileComments-8a0c489c.mjs +0 -44
- package/dist/ProfileComments-8c9146ef.js +0 -1
- package/dist/ProfileComments-9398be62.mjs +0 -44
- package/dist/ProfileComments-96f6cde8.mjs +0 -44
- package/dist/ProfileComments-bae499e9.js +0 -1
- package/dist/ProfileComments-c3290211.js +0 -1
- package/dist/ProfileComments-c7230f42.mjs +0 -44
- package/dist/ProfileComments-cdaccefe.mjs +0 -44
- package/dist/ProfileComments-d6779ee2.mjs +0 -44
- package/dist/ProfileComments-db4b6fbc.js +0 -1
- package/dist/ProfileComments-dd923865.js +0 -1
- package/dist/ProfileComments-e0116e5f.js +0 -1
- package/dist/ProfileComments-e6970923.js +0 -1
- package/dist/ProfileComments-f0000ea6.js +0 -1
- package/dist/ProfileEvents-0bdd36e4.mjs +0 -57
- package/dist/ProfileEvents-11dc4034.mjs +0 -56
- package/dist/ProfileEvents-1ca72873.mjs +0 -56
- package/dist/ProfileEvents-1e0c1291.js +0 -1
- package/dist/ProfileEvents-26a72fe2.mjs +0 -56
- package/dist/ProfileEvents-2f22e7cf.mjs +0 -56
- package/dist/ProfileEvents-3089a526.mjs +0 -56
- package/dist/ProfileEvents-314eadc3.js +0 -1
- package/dist/ProfileEvents-3f7ca2c1.js +0 -1
- package/dist/ProfileEvents-47409c9e.mjs +0 -62
- package/dist/ProfileEvents-48c70286.mjs +0 -56
- package/dist/ProfileEvents-4a2fa422.mjs +0 -57
- package/dist/ProfileEvents-588eadf9.js +0 -1
- package/dist/ProfileEvents-6b3fb52e.mjs +0 -68
- package/dist/ProfileEvents-7502ed90.mjs +0 -57
- package/dist/ProfileEvents-76166bc5.mjs +0 -56
- package/dist/ProfileEvents-7b202655.js +0 -1
- package/dist/ProfileEvents-82517a3b.mjs +0 -56
- package/dist/ProfileEvents-893285bb.js +0 -1
- package/dist/ProfileEvents-89471c05.js +0 -1
- package/dist/ProfileEvents-8b88287a.js +0 -1
- package/dist/ProfileEvents-90448f97.js +0 -1
- package/dist/ProfileEvents-917169c6.mjs +0 -58
- package/dist/ProfileEvents-980b0281.mjs +0 -56
- package/dist/ProfileEvents-996bce18.js +0 -1
- package/dist/ProfileEvents-a28a4ee5.js +0 -1
- package/dist/ProfileEvents-a9b96fec.js +0 -1
- package/dist/ProfileEvents-af2536a3.js +0 -1
- package/dist/ProfileEvents-ba769f57.mjs +0 -56
- package/dist/ProfileEvents-bbdd62e7.mjs +0 -70
- package/dist/ProfileEvents-bff6e071.js +0 -1
- package/dist/ProfileEvents-c9aa3d41.mjs +0 -56
- package/dist/ProfileEvents-cc65404c.js +0 -1
- package/dist/ProfileEvents-cdebd612.js +0 -1
- package/dist/ProfileEvents-d0c5e3dc.js +0 -1
- package/dist/ProfileEvents-d978617d.mjs +0 -57
- package/dist/ProfileEvents-db12cf78.js +0 -1
- package/dist/ProfileEvents-e070d9d4.mjs +0 -62
- package/dist/ProfileEvents-e62e76cf.js +0 -1
- package/dist/ProfileEvents-ea023c17.js +0 -1
- package/dist/ProfileEvents-ed7f9603.mjs +0 -62
- package/dist/ProfileLikes-0402d1fb.js +0 -1
- package/dist/ProfileLikes-05911934.mjs +0 -44
- package/dist/ProfileLikes-0c8a7255.mjs +0 -44
- package/dist/ProfileLikes-11ca8c11.js +0 -1
- package/dist/ProfileLikes-23b6f2f9.js +0 -1
- package/dist/ProfileLikes-36373ac1.mjs +0 -44
- package/dist/ProfileLikes-3c5c02be.mjs +0 -44
- package/dist/ProfileLikes-3edf6fb8.mjs +0 -44
- package/dist/ProfileLikes-51729962.js +0 -1
- package/dist/ProfileLikes-553c52df.js +0 -1
- package/dist/ProfileLikes-5b52e4ae.mjs +0 -44
- package/dist/ProfileLikes-6cf19687.js +0 -1
- package/dist/ProfileLikes-74c78a16.mjs +0 -44
- package/dist/ProfileLikes-75215d15.mjs +0 -44
- package/dist/ProfileLikes-92196922.mjs +0 -45
- package/dist/ProfileLikes-a2c1b585.js +0 -1
- package/dist/ProfileLikes-b1060d1e.js +0 -1
- package/dist/ProfileLikes-b48ce0ef.js +0 -1
- package/dist/ProfileLikes-c068c6c6.js +0 -1
- package/dist/ProfileLikes-c8dab14d.mjs +0 -44
- package/dist/ProfileLikes-ca197731.mjs +0 -44
- package/dist/ProfileLikes-d5f9f058.js +0 -1
- package/dist/ProfileLikes-da6303a4.js +0 -1
- package/dist/ProfileLikes-e31f28dc.js +0 -1
- package/dist/ProfileLikes-e4fa0792.mjs +0 -44
- package/dist/ProfileLikes-e88dae8f.mjs +0 -44
- package/dist/ProfileLikes-f5ad4497.mjs +0 -44
- package/dist/ProfileLikes-f838ff5e.mjs +0 -44
- package/dist/ProfileLikes-fa41bad0.js +0 -1
- package/dist/ProfileOrganizations-1f9f1841.js +0 -1
- package/dist/ProfileOrganizations-3a879480.mjs +0 -212
- package/dist/ProfileOrganizations-422d1fa5.js +0 -1
- package/dist/ProfileOrganizations-43710687.js +0 -1
- package/dist/ProfileOrganizations-4734c02e.mjs +0 -73
- package/dist/ProfileOrganizations-5348e892.js +0 -1
- package/dist/ProfileOrganizations-55914b43.js +0 -1
- package/dist/ProfileOrganizations-58ebfe44.mjs +0 -212
- package/dist/ProfileOrganizations-5b5480d5.mjs +0 -212
- package/dist/ProfileOrganizations-600d310d.js +0 -1
- package/dist/ProfileOrganizations-6b1bc5b2.mjs +0 -213
- package/dist/ProfileOrganizations-6f4df3da.js +0 -1
- package/dist/ProfileOrganizations-738f444a.js +0 -1
- package/dist/ProfileOrganizations-769325c7.js +0 -1
- package/dist/ProfileOrganizations-774c6508.mjs +0 -212
- package/dist/ProfileOrganizations-78fef72e.js +0 -1
- package/dist/ProfileOrganizations-7911deec.mjs +0 -219
- package/dist/ProfileOrganizations-8961aaee.mjs +0 -213
- package/dist/ProfileOrganizations-930ca51f.mjs +0 -212
- package/dist/ProfileOrganizations-974a50ca.mjs +0 -212
- package/dist/ProfileOrganizations-ae258581.js +0 -1
- package/dist/ProfileOrganizations-bee6a3ae.js +0 -1
- package/dist/ProfileOrganizations-c4fb03a1.mjs +0 -72
- package/dist/ProfileOrganizations-c5151835.mjs +0 -214
- package/dist/ProfileOrganizations-cef668b5.mjs +0 -212
- package/dist/ProfileOrganizations-cf8a12f5.mjs +0 -213
- package/dist/ProfileOrganizations-d4ec181b.js +0 -1
- package/dist/ProfileOrganizations-d55ee487.js +0 -1
- package/dist/ProfileOrganizations-db313b5e.mjs +0 -219
- package/dist/ProfileOrganizations-ec908108.mjs +0 -212
- package/dist/ProfileOrganizations-f52e62e1.js +0 -1
- package/dist/Publics-0762210a.js +0 -1
- package/dist/Publics-103da60e.js +0 -1
- package/dist/Publics-24f055eb.js +0 -1
- package/dist/Publics-4438ca51.js +0 -1
- package/dist/Publics-4db36606.js +0 -1
- package/dist/Publics-50c0ff6c.js +0 -1
- package/dist/Publics-538180a8.mjs +0 -45
- package/dist/Publics-5472f70c.mjs +0 -123
- package/dist/Publics-5ae33b91.mjs +0 -123
- package/dist/Publics-640d32fc.mjs +0 -123
- package/dist/Publics-660e851c.mjs +0 -45
- package/dist/Publics-6b7c97bd.js +0 -1
- package/dist/Publics-70a0ca9c.mjs +0 -45
- package/dist/Publics-71b9efbe.js +0 -1
- package/dist/Publics-8595ab7e.js +0 -1
- package/dist/Publics-8bb9a680.js +0 -1
- package/dist/Publics-8bc74cc3.js +0 -1
- package/dist/Publics-abbe2e0c.mjs +0 -123
- package/dist/Publics-b1cbfd97.mjs +0 -45
- package/dist/Publics-bbab7a79.js +0 -1
- package/dist/Publics-bed70f0c.mjs +0 -123
- package/dist/Publics-cbb8eaaa.mjs +0 -123
- package/dist/Publics-e14d36ed.js +0 -1
- package/dist/Publics-f34131bf.mjs +0 -45
- package/dist/Publics-f4c3ef5b.mjs +0 -123
- package/dist/Publics-fcb1f708.mjs +0 -123
- package/dist/Publics-ffc08ad7.mjs +0 -123
- package/dist/Select-90d4b7c8.mjs +0 -81
- package/dist/Select-b9299fb6.js +0 -1
- 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/SkeletonBlogpost-95db0fa9.js +0 -1
- package/dist/SkeletonBlogpost-e0621af7.mjs +0 -16
- package/dist/SkeletonEventShort-6c9e3940.js +0 -1
- package/dist/SkeletonEventShort-f030e56f.mjs +0 -16
- package/dist/SkeletonOrganization-5c09cfc5.js +0 -1
- package/dist/SkeletonOrganization-8690422d.mjs +0 -16
- package/dist/Socials-31c06635.mjs +0 -74
- package/dist/Socials-3fe01af1.mjs +0 -275
- package/dist/Socials-821bd677.js +0 -1
- package/dist/Socials-9b2d27a6.js +0 -1
- package/dist/Socials-b19d0cb1.js +0 -1
- package/dist/Socials-becde7dc.mjs +0 -275
- package/dist/Socials-cceaeaf2.js +0 -1
- package/dist/Tab-6f0a4909.js +0 -1
- package/dist/Tab-a243605d.mjs +0 -46
- package/dist/Tab-dcd62005.js +0 -1
- package/dist/UploadImage-15e24d71.mjs +0 -83
- package/dist/UploadImage-1b4c2a5e.mjs +0 -83
- package/dist/UploadImage-2170c4df.js +0 -1
- package/dist/UploadImage-33f6a9f4.js +0 -1
- package/dist/UploadImage-39483aee.mjs +0 -83
- package/dist/UploadImage-39d42048.js +0 -1
- package/dist/UploadImage-6344f789.js +0 -1
- package/dist/UploadImage-739cab04.js +0 -1
- package/dist/UploadImage-73d66f27.js +0 -1
- package/dist/UploadImage-802b81db.js +0 -1
- package/dist/UploadImage-86fda95d.mjs +0 -83
- package/dist/UploadImage-8835be69.mjs +0 -83
- package/dist/UploadImage-a3ef4012.mjs +0 -83
- package/dist/UploadImage-c9711af2.js +0 -1
- package/dist/UploadImage-dfb36cdb.js +0 -1
- package/dist/UploadImage-e4418b43.mjs +0 -83
- package/dist/UploadImage-ec3714e8.mjs +0 -83
- package/dist/UploadImage-f04e4bc0.mjs +0 -83
- package/dist/UploadImage-f7b0335f.mjs +0 -83
- package/dist/UploadImageMultiple-297b3897.js +0 -1
- package/dist/UploadImageMultiple-7b132ba0.mjs +0 -58
- package/dist/UploadImageMultiple-b4c8d627.js +0 -1
- package/dist/UploadImageMultiple-c9a7b54f.js +0 -1
- package/dist/UploadImageMultiple-d2d48f39.mjs +0 -58
- package/dist/UploadImageMultiple-ebcc51e6.mjs +0 -58
- package/dist/addMembersQuantity-ea216f92.mjs +0 -85
- package/dist/addMembersQuantity-f922d82b.js +0 -84
- package/dist/auth-06d35b82.js +0 -7
- package/dist/auth-2f9b2dfc.js +0 -7
- package/dist/auth-3dedf391.js +0 -8
- package/dist/auth-4415a97a.js +0 -7
- package/dist/auth-45a454f2.js +0 -7
- package/dist/auth-5217f6a5.mjs +0 -1498
- package/dist/auth-5a58f8cb.js +0 -8
- package/dist/auth-5cd34aae.mjs +0 -905
- package/dist/auth-60c81f40.mjs +0 -1836
- package/dist/auth-78d9392a.mjs +0 -612
- package/dist/auth-962e3b73.mjs +0 -1836
- package/dist/auth-96449d96.js +0 -7
- package/dist/auth-98fe3efb.mjs +0 -612
- package/dist/auth-acbe3ae1.js +0 -7
- package/dist/auth-afa25b86.mjs +0 -905
- package/dist/auth-b047fdc0.mjs +0 -612
- package/dist/auth-b61483ce.js +0 -8
- package/dist/auth-c3234662.mjs +0 -1836
- package/dist/auth-cfeacd61.mjs +0 -1839
- package/dist/auth-e8f6d979.js +0 -8
- package/dist/auth-ec618cb3.mjs +0 -627
- package/dist/auth.validation-02e0629b.mjs +0 -20
- package/dist/auth.validation-0ce9e326.js +0 -1
- package/dist/auth.validation-1b60cef5.mjs +0 -20
- package/dist/auth.validation-1d5f2990.mjs +0 -20
- package/dist/auth.validation-2cdd2231.mjs +0 -17
- package/dist/auth.validation-2dfb450f.js +0 -1
- package/dist/auth.validation-2f00457e.js +0 -1
- package/dist/auth.validation-30bb0efd.js +0 -1
- package/dist/auth.validation-3e93dc23.mjs +0 -20
- package/dist/auth.validation-3fd4cc7c.mjs +0 -20
- package/dist/auth.validation-495e9d6d.js +0 -1
- package/dist/auth.validation-4b016fa5.js +0 -1
- package/dist/auth.validation-6a59443b.js +0 -1
- package/dist/auth.validation-892bea9b.js +0 -1
- package/dist/auth.validation-9e493d2f.mjs +0 -20
- package/dist/auth.validation-9f87ea95.mjs +0 -20
- package/dist/auth.validation-a17cd085.js +0 -1
- package/dist/auth.validation-a52304cf.mjs +0 -20
- package/dist/auth.validation-ba3606bf.mjs +0 -24
- package/dist/auth.validation-be05e981.js +0 -1
- package/dist/auth.validation-c8d5adf5.mjs +0 -20
- package/dist/auth.validation-d4795c25.js +0 -1
- package/dist/auth.validation-e265b496.mjs +0 -23
- package/dist/carousel.es-ee047568.js +0 -5
- package/dist/categories-4327a81c.js +0 -1
- package/dist/categories-82b28618.js +0 -1
- package/dist/categories-df3240a7.mjs +0 -122
- package/dist/components/CardFooter/CardFooter.vue.d.ts +0 -8
- package/dist/components/CardHeader/CardHeader.vue.d.ts +0 -15
- package/dist/dribbble-8e8e169b.js +0 -1
- package/dist/dribbble-ae37c2ac.mjs +0 -127
- package/dist/icons.client.cjs +0 -1
- package/dist/icons.client.js +0 -84
- package/dist/index-0ab9d59c.mjs +0 -934
- package/dist/index-2059e444.js +0 -2
- package/dist/index-2a0269fc.js +0 -2
- package/dist/index-4e469a71.mjs +0 -941
- package/dist/index-7ecbf72a.js +0 -2
- package/dist/index-9128ade5.mjs +0 -1228
- package/dist/inputs.validation-14e8e01f.mjs +0 -93
- package/dist/inputs.validation-24ae76b9.js +0 -1
- package/dist/leftovers-66951de6.js +0 -1
- package/dist/mailing-25d08f4c.js +0 -49
- package/dist/mailing-ebc6e90f.mjs +0 -50
- package/dist/metadata.schema-147f9902.mjs +0 -212
- package/dist/metadata.schema-4f856191.js +0 -85
- package/dist/metadata.schema-7f36e829.mjs +0 -86
- package/dist/metadata.schema-93397f9f.js +0 -211
- package/dist/modules/backoffice/components/admin/LeftoverAdd.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/admin/Leftovers.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/admin/Order.vue.d.ts +0 -6
- package/dist/modules/backoffice/components/admin/Orders.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/admin/Product.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/admin/Products.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/layouts/Account.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/pages/Favorites.vue.d.ts +0 -6
- package/dist/modules/backoffice/components/pages/History.vue.d.ts +0 -6
- package/dist/modules/backoffice/components/pages/Organizations.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/pages/Profile.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/pages/Wallet.vue.d.ts +0 -2
- package/dist/modules/backoffice/components/pages/profile/ProfileEdit.vue.d.ts +0 -2
- package/dist/modules/gallery/components/sections/Gallery.vue.d.ts +0 -2
- package/dist/modules/landing/components/pages/Legal.vue.d.ts +0 -2
- package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +0 -2
- package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +0 -2
- package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +0 -2
- package/dist/modules/orders/components/pages/History.vue.d.ts +0 -6
- package/dist/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue.d.ts +0 -11
- package/dist/modules/organizations/components/elements/ButtonFollow.vue.d.ts +0 -10
- package/dist/modules/organizations/components/pages/OrganizationsAccount.vue.d.ts +0 -2
- package/dist/modules/organizations/components/sections/Department.vue.d.ts +0 -7
- package/dist/modules/organizations/components/sections/Department2.vue.d.ts +0 -7
- package/dist/modules/organizations/components/sections/MembersTab.vue.d.ts +0 -7
- package/dist/modules/organizations/components/sections/PlaceModify.vue.d.ts +0 -9
- package/dist/modules/organizations/components/sections/Places.vue.d.ts +0 -9
- package/dist/modules/organizations/components/sections/StructureTab.vue.d.ts +0 -8
- package/dist/modules/products/components/blocks/Leftover.vue.d.ts +0 -6
- package/dist/modules/products/components/blocks/ProductCard.vue.d.ts +0 -6
- package/dist/organizations-0fb56927.mjs +0 -122
- package/dist/organizations-195ec134.js +0 -1
- package/dist/organizations-2adff182.mjs +0 -121
- package/dist/organizations-4157d81d.js +0 -1
- package/dist/organizations-49a10611.js +0 -1
- package/dist/organizations-4d18a2e2.js +0 -1
- package/dist/organizations-52438d24.mjs +0 -121
- package/dist/organizations-65937ba4.js +0 -1
- package/dist/organizations-6ed907e3.mjs +0 -122
- package/dist/organizations-81e762e7.mjs +0 -122
- package/dist/organizations-8408770b.mjs +0 -121
- package/dist/organizations-8ffdf84d.mjs +0 -121
- package/dist/organizations-a241b21d.js +0 -1
- package/dist/organizations-aed4245d.mjs +0 -122
- package/dist/organizations-af965fcf.mjs +0 -122
- package/dist/organizations-bb8f676d.js +0 -1
- package/dist/organizations-cf1ab766.js +0 -1
- package/dist/organizations-e1bfd3a8.mjs +0 -121
- package/dist/organizations-e74f4f84.js +0 -1
- package/dist/organizations-e97a0f85.js +0 -1
- package/dist/organizations-ea9de495.mjs +0 -122
- package/dist/organizations.client-0071acee.js +0 -3
- package/dist/organizations.client-01593e4d.js +0 -3
- package/dist/organizations.client-13fc2cbe.js +0 -3
- package/dist/organizations.client-16ee6b43.js +0 -3
- package/dist/organizations.client-1b0906f9.js +0 -3
- package/dist/organizations.client-1b9fa66e.mjs +0 -2997
- package/dist/organizations.client-1e9361ec.js +0 -3
- package/dist/organizations.client-1eb0b49c.js +0 -3
- package/dist/organizations.client-21cfcf36.mjs +0 -3038
- package/dist/organizations.client-292e8444.js +0 -3
- package/dist/organizations.client-2e452fee.js +0 -3
- package/dist/organizations.client-37ec4817.js +0 -3
- package/dist/organizations.client-39196bef.mjs +0 -3041
- package/dist/organizations.client-43816e25.mjs +0 -3018
- package/dist/organizations.client-48568171.mjs +0 -3017
- package/dist/organizations.client-49eaeca6.mjs +0 -3017
- package/dist/organizations.client-52d2951c.mjs +0 -3017
- package/dist/organizations.client-5548024c.js +0 -3
- package/dist/organizations.client-63b476ff.mjs +0 -2996
- package/dist/organizations.client-6947e530.js +0 -3
- package/dist/organizations.client-696eacbb.js +0 -3
- package/dist/organizations.client-6a69b54a.js +0 -3
- package/dist/organizations.client-6f1f8b73.mjs +0 -3017
- package/dist/organizations.client-6fc91683.mjs +0 -3072
- package/dist/organizations.client-723ebb3b.js +0 -3
- package/dist/organizations.client-76c3660a.mjs +0 -3072
- package/dist/organizations.client-7e51b4a8.js +0 -3
- package/dist/organizations.client-85a2ae66.js +0 -3
- package/dist/organizations.client-88d41199.mjs +0 -3038
- package/dist/organizations.client-8aa34e80.mjs +0 -3017
- package/dist/organizations.client-91e84d4f.mjs +0 -3022
- package/dist/organizations.client-976762d2.mjs +0 -3021
- package/dist/organizations.client-9e480f60.js +0 -3
- package/dist/organizations.client-b0878617.js +0 -3
- package/dist/organizations.client-b39db194.js +0 -3
- package/dist/organizations.client-b692a78a.mjs +0 -3018
- package/dist/organizations.client-bae43c7c.mjs +0 -3017
- package/dist/organizations.client-bdc9b044.js +0 -3
- package/dist/organizations.client-be1224a1.mjs +0 -3017
- package/dist/organizations.client-bf73e73d.mjs +0 -3017
- package/dist/organizations.client-c288ff44.mjs +0 -3072
- package/dist/organizations.client-c6fd9351.js +0 -3
- package/dist/organizations.client-c7844bc2.mjs +0 -3038
- package/dist/organizations.client-cdbaf6aa.mjs +0 -3017
- package/dist/organizations.client-d0cae5f4.mjs +0 -3017
- package/dist/organizations.client-d21a22ec.js +0 -3
- package/dist/organizations.client-d47f0b3f.js +0 -3
- package/dist/organizations.client-ddbf8809.js +0 -3
- package/dist/organizations.client-df5e8a6f.mjs +0 -3020
- package/dist/organizations.client-f4dff584.mjs +0 -3017
- package/dist/organizations.client-fa3b0839.mjs +0 -3017
- package/dist/products-7960bbd4.js +0 -1
- package/dist/products-7e4253eb.js +0 -1
- package/dist/products-bf5783aa.mjs +0 -108
- package/dist/states.validation-02ba0aee.js +0 -1
- package/dist/states.validation-03f7cd49.js +0 -1
- package/dist/states.validation-50e3a5a0.mjs +0 -13
- package/dist/states.validation-766a62a6.mjs +0 -13
- package/dist/states.validation-92231934.js +0 -1
- package/dist/states.validation-e5f4fa3a.mjs +0 -13
- package/dist/vue-draggable-next.esm-bundler-80731ae0.js +0 -10
- package/dist/vuex.esm-bundler-e8cf3cd2.js +0 -5
@@ -1,3038 +0,0 @@
|
|
1
|
-
import { computed as A, resolveComponent as ue, openBlock as o, createElementBlock as r, Fragment as O, renderList as L, unref as x, normalizeClass as te, createCommentVNode as g, createBlock as $, withCtx as k, createTextVNode as N, toDisplayString as f, createElementVNode as n, ref as b, Transition as R, createVNode as h, renderSlot as z, reactive as oe, watch as F, onMounted as pe, pushScopeId as me, popScopeId as he, withAsyncContext as Y, withModifiers as re, watchEffect as de, resolveDirective as Ie, normalizeProps as I, guardReactiveProps as B, resolveDynamicComponent as le, mergeProps as ve, toHandlers as Te, withDirectives as ne, vShow as ye, toRefs as Be, vModelText as we } from "vue";
|
2
|
-
import { useRoute as q, useRouter as H } from "vue-router";
|
3
|
-
import { useI18n as je } from "vue-i18n";
|
4
|
-
import { s as C } from "./globals-96ba60e4.mjs";
|
5
|
-
import { S as Ue, _ as Ee, C as J } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs";
|
6
|
-
import { _ as Pe } from "./Tab-a243605d.mjs";
|
7
|
-
import { a as ge, B as Fe, m as qe, s as He } from "./ButtonFollow-5e19fc49.mjs";
|
8
|
-
import { _ as Ze } from "./Feed-986ddd21.mjs";
|
9
|
-
import { _ as Ne } from "./Feed-bf575b72.mjs";
|
10
|
-
import { I as Re, _ as Ke } from "./IconEdit-f0ad8b9a.mjs";
|
11
|
-
import { P as We } from "./PlaceholderUserpic-14c6ea7e.mjs";
|
12
|
-
import { a as _e, s as S, F as D, _ as ce } from "./auth-5217f6a5.mjs";
|
13
|
-
import { v as Ye, a as Je } from "./inputs.validation-14e8e01f.mjs";
|
14
|
-
import { a as Z, s as v } from "./organizations-2adff182.mjs";
|
15
|
-
import { _ as V } from "./_plugin-vue_export-helper-dad06003.mjs";
|
16
|
-
import { _ as ze } from "./UploadImage-a3ef4012.mjs";
|
17
|
-
import { _ as Qe } from "./CardOrganization-01c2e248.mjs";
|
18
|
-
import { S as Me } from "./Publics-fcb1f708.mjs";
|
19
|
-
const Xe = {
|
20
|
-
class: "breadcrumbs flex-row flex-nowrap flex-left flex",
|
21
|
-
"aria-label": "breadcrumbs"
|
22
|
-
}, Ge = {
|
23
|
-
key: 0,
|
24
|
-
class: "i-small mn-r-thin",
|
25
|
-
viewBox: "0 0 10 9",
|
26
|
-
fill: "none",
|
27
|
-
xmlns: "http://www.w3.org/2000/svg"
|
28
|
-
}, et = /* @__PURE__ */ n("path", {
|
29
|
-
fill: "black",
|
30
|
-
d: "M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"
|
31
|
-
}, null, -1), tt = [
|
32
|
-
et
|
33
|
-
], st = { key: 2 }, nt = {
|
34
|
-
key: 3,
|
35
|
-
class: "i-small chevron",
|
36
|
-
viewBox: "0 0 4 8",
|
37
|
-
fill: "none",
|
38
|
-
xmlns: "http://www.w3.org/2000/svg"
|
39
|
-
}, at = /* @__PURE__ */ n("path", {
|
40
|
-
d: "M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",
|
41
|
-
fill: "black"
|
42
|
-
}, null, -1), ot = [
|
43
|
-
at
|
44
|
-
], it = {
|
45
|
-
__name: "Breadcrumbs",
|
46
|
-
setup(e) {
|
47
|
-
const t = q(), { t: s, locale: a } = je(), d = A(() => t.matched.map((c) => {
|
48
|
-
var w, P, T;
|
49
|
-
const p = (w = c.meta) == null ? void 0 : w.title, l = a == null ? void 0 : a.value, u = p && l && p[l], i = c.path.replace(/:.+?\//g, (K) => ""), m = (T = (P = c.meta) == null ? void 0 : P.breadcrumbs) == null ? void 0 : T.hidden;
|
50
|
-
return { name: u, path: i, isHidden: m };
|
51
|
-
}).filter((c) => c.name && !c.isHidden));
|
52
|
-
return (c, p) => {
|
53
|
-
const l = ue("router-link");
|
54
|
-
return o(), r("ol", Xe, [
|
55
|
-
(o(!0), r(O, null, L(x(d), (u, i) => (o(), r("li", {
|
56
|
-
key: i,
|
57
|
-
class: te(["flex-v-center flex-nowrap flex", { "t-main": i === x(d).length - 1 }])
|
58
|
-
}, [
|
59
|
-
i === 0 ? (o(), r("svg", Ge, tt)) : g("", !0),
|
60
|
-
i !== x(d).length - 1 ? (o(), $(l, {
|
61
|
-
key: 1,
|
62
|
-
to: i === 0 ? "/" : u.path
|
63
|
-
}, {
|
64
|
-
default: k(() => [
|
65
|
-
N(f(u.name), 1)
|
66
|
-
]),
|
67
|
-
_: 2
|
68
|
-
}, 1032, ["to"])) : (o(), r("span", st, f(u.name), 1)),
|
69
|
-
i !== x(d).length - 1 ? (o(), r("svg", nt, ot)) : g("", !0)
|
70
|
-
], 2))), 128))
|
71
|
-
]);
|
72
|
-
};
|
73
|
-
}
|
74
|
-
}, lt = { class: "mn-small w-100" }, rt = ["href"], dt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Website", -1), ct = [
|
75
|
-
dt
|
76
|
-
], ut = ["href"], pt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Phone", -1), mt = [
|
77
|
-
pt
|
78
|
-
], ht = ["href"], _t = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Email", -1), ft = [
|
79
|
-
_t
|
80
|
-
], gt = ["href"], bt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Address", -1), vt = [
|
81
|
-
bt
|
82
|
-
], bi = {
|
83
|
-
__name: "Contacts",
|
84
|
-
props: {
|
85
|
-
website: String,
|
86
|
-
phone: String,
|
87
|
-
email: String,
|
88
|
-
address: String
|
89
|
-
},
|
90
|
-
setup(e) {
|
91
|
-
const t = e, s = A(() => t.website ? !t.website.startsWith("http://") && !t.website.startsWith("https://") ? `http://${t.website}` : t.website : null), a = A(() => t.address ? encodeURIComponent(t.address) : null);
|
92
|
-
return (d, c) => (o(), r("div", lt, [
|
93
|
-
x(s) ? (o(), r("a", {
|
94
|
-
key: 0,
|
95
|
-
href: x(s),
|
96
|
-
target: "_blank",
|
97
|
-
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
98
|
-
}, ct, 8, rt)) : g("", !0),
|
99
|
-
t.phone ? (o(), r("a", {
|
100
|
-
key: 1,
|
101
|
-
href: `tel:${t.phone}`,
|
102
|
-
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
103
|
-
}, mt, 8, ut)) : g("", !0),
|
104
|
-
t.email ? (o(), r("a", {
|
105
|
-
key: 2,
|
106
|
-
href: `mailto:${t.email}`,
|
107
|
-
target: "_blank",
|
108
|
-
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
109
|
-
}, ft, 8, ht)) : g("", !0),
|
110
|
-
x(a) ? (o(), r("a", {
|
111
|
-
key: 3,
|
112
|
-
href: `https://www.google.com/maps/search/?api=1&query=${x(a)}`,
|
113
|
-
target: "_blank",
|
114
|
-
class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
|
115
|
-
}, vt, 8, gt)) : g("", !0)
|
116
|
-
]));
|
117
|
-
}
|
118
|
-
}, yt = { class: "w-100 mn-small star-container flex-v-center flex" }, wt = { class: "p-big t-semi mn-r-small" }, $t = /* @__PURE__ */ n("path", {
|
119
|
-
fill: "#00FF88",
|
120
|
-
d: "M62.2406 5.85971L75.413 32.6098L105.203 36.8654C110.472 37.676 112.498 44.3636 108.648 48.0113L87.1668 68.8844L92.2331 98.2689C93.2464 103.741 87.5721 107.591 82.9111 105.159L56.3637 91.3788L29.8163 105.159C25.1553 107.794 19.4811 103.741 20.4944 98.4716L25.5607 68.8844L4.07956 48.0113C0.22917 44.3636 2.25569 37.676 7.52464 36.8654L37.3145 32.6098L50.4868 5.85971C52.9186 0.996063 59.8088 0.996063 62.2406 5.85971Z"
|
121
|
-
}, null, -1), Ct = [
|
122
|
-
$t
|
123
|
-
], xt = { class: "" }, vi = {
|
124
|
-
__name: "Rating",
|
125
|
-
props: {
|
126
|
-
rating: {
|
127
|
-
type: Number,
|
128
|
-
required: !0
|
129
|
-
},
|
130
|
-
amount: {
|
131
|
-
type: Number,
|
132
|
-
required: !0
|
133
|
-
}
|
134
|
-
},
|
135
|
-
setup(e) {
|
136
|
-
return (t, s) => (o(), r("section", null, [
|
137
|
-
n("div", yt, [
|
138
|
-
n("span", wt, f(e.rating), 1),
|
139
|
-
(o(), r(O, null, L(5, (a) => n("svg", {
|
140
|
-
class: te(["i-semi mn-r-small", { "t-transp": a > e.rating }]),
|
141
|
-
width: "113",
|
142
|
-
height: "108",
|
143
|
-
viewBox: "0 0 113 108",
|
144
|
-
fill: "none",
|
145
|
-
xmlns: "http://www.w3.org/2000/svg"
|
146
|
-
}, Ct, 2)), 64))
|
147
|
-
]),
|
148
|
-
n("p", xt, "Based on " + f(e.amount) + " reviews", 1)
|
149
|
-
]));
|
150
|
-
}
|
151
|
-
}, kt = {
|
152
|
-
key: 0,
|
153
|
-
class: "cursor-pointer t-second"
|
154
|
-
}, Ot = {
|
155
|
-
__name: "Text",
|
156
|
-
props: {
|
157
|
-
maxLen: { type: Number, required: !0 },
|
158
|
-
text: { type: String, required: !0 }
|
159
|
-
},
|
160
|
-
setup(e) {
|
161
|
-
const t = e, s = b(!1), a = A(() => t.text.length > t.maxLen ? t.text.slice(0, t.maxLen) + "..." : t.text), d = A(() => t.text), c = () => {
|
162
|
-
s.value = !s.value;
|
163
|
-
}, p = A(() => s.value ? d.value : a.value), l = A(() => t.text.length > t.maxLen), u = A(() => s.value ? "Hide" : "Show more");
|
164
|
-
return (i, m) => (o(), r("span", {
|
165
|
-
onClick: c,
|
166
|
-
class: ""
|
167
|
-
}, [
|
168
|
-
N(f(x(p)) + " ", 1),
|
169
|
-
x(l) ? (o(), r("span", kt, f(x(u)), 1)) : g("", !0)
|
170
|
-
]));
|
171
|
-
}
|
172
|
-
}, Lt = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, St = ["src"], Pt = { class: "mn-thin" }, zt = { class: "mn-medium p-big" }, Mt = { class: "flex-center flex-wrap gap-thin flex mn-semi" }, Dt = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, At = {
|
173
|
-
key: 3,
|
174
|
-
class: "mn-t-small mn-thin"
|
175
|
-
}, Vt = {
|
176
|
-
__name: "DetailsTab",
|
177
|
-
props: {
|
178
|
-
organization: Object,
|
179
|
-
user: Object
|
180
|
-
},
|
181
|
-
setup(e) {
|
182
|
-
return (t, s) => (o(), $(R, { name: "slide-fade" }, {
|
183
|
-
default: k(() => [
|
184
|
-
n("section", Lt, [
|
185
|
-
e.user._id === e.organization.owner ? (o(), $(Re, {
|
186
|
-
key: 0,
|
187
|
-
onClick: s[0] || (s[0] = (a) => t.$router.push({
|
188
|
-
name: "Organization Edit",
|
189
|
-
params: {
|
190
|
-
_id: e.organization._id
|
191
|
-
}
|
192
|
-
})),
|
193
|
-
class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
194
|
-
})) : g("", !0),
|
195
|
-
e.organization.profile.photo ? (o(), r("img", {
|
196
|
-
key: 1,
|
197
|
-
src: e.organization.profile.photo,
|
198
|
-
class: "radius-big bg-grey flex-center flex mn-small i-extra"
|
199
|
-
}, null, 8, St)) : (o(), $(We, {
|
200
|
-
key: 2,
|
201
|
-
class: "radius-medium mn-small i-extra"
|
202
|
-
})),
|
203
|
-
n("h1", Pt, f(e.organization.profile.name), 1),
|
204
|
-
n("p", zt, [
|
205
|
-
h(Ot, {
|
206
|
-
text: e.organization.profile.description ? e.organization.profile.description : "",
|
207
|
-
maxLen: 240
|
208
|
-
}, null, 8, ["text"])
|
209
|
-
]),
|
210
|
-
n("div", Mt, [
|
211
|
-
(o(!0), r(O, null, L(e.organization.profile.tags, (a) => (o(), r("span", Dt, f(a), 1))), 256))
|
212
|
-
]),
|
213
|
-
z(t.$slots, "default"),
|
214
|
-
Object.values(e.organization.socials).some((a) => a) ? (o(), r("h4", At, " Find us in socials ")) : g("", !0),
|
215
|
-
h(Ke, {
|
216
|
-
telegram: e.organization.socials.telegram,
|
217
|
-
facebook: e.organization.socials.facebook,
|
218
|
-
instagram: e.organization.socials.instagram,
|
219
|
-
twitter: e.organization.socials.twitter
|
220
|
-
}, null, 8, ["telegram", "facebook", "instagram", "twitter"])
|
221
|
-
])
|
222
|
-
]),
|
223
|
-
_: 3
|
224
|
-
}));
|
225
|
-
}
|
226
|
-
};
|
227
|
-
const It = {
|
228
|
-
key: 0,
|
229
|
-
class: "spoiler"
|
230
|
-
}, $e = {
|
231
|
-
__name: "Spoiler",
|
232
|
-
props: {
|
233
|
-
status: {
|
234
|
-
type: Boolean,
|
235
|
-
default: !1
|
236
|
-
}
|
237
|
-
},
|
238
|
-
setup(e) {
|
239
|
-
const t = e, s = b(!1);
|
240
|
-
return t.status && (s.value = t.status), (a, d) => (o(), r("div", null, [
|
241
|
-
n("div", {
|
242
|
-
onClick: d[0] || (d[0] = (c) => s.value = !s.value),
|
243
|
-
class: "flex-v-center flex-nowrap flex"
|
244
|
-
}, [
|
245
|
-
z(a.$slots, "header")
|
246
|
-
]),
|
247
|
-
h(R, { name: "collapse" }, {
|
248
|
-
default: k(() => [
|
249
|
-
s.value ? (o(), r("div", It, [
|
250
|
-
z(a.$slots, "content")
|
251
|
-
])) : g("", !0)
|
252
|
-
]),
|
253
|
-
_: 3
|
254
|
-
})
|
255
|
-
]));
|
256
|
-
}
|
257
|
-
}, j = _e.create({ baseURL: process.env.API_URL, withCredentials: !0 }), y = oe({
|
258
|
-
all: [],
|
259
|
-
current: {
|
260
|
-
recommendation: !1,
|
261
|
-
category: [],
|
262
|
-
status: "unpublished",
|
263
|
-
information: [],
|
264
|
-
coverImage: "",
|
265
|
-
images: [],
|
266
|
-
files: [],
|
267
|
-
image3d: !1,
|
268
|
-
name: "",
|
269
|
-
sale: 0,
|
270
|
-
price: 0,
|
271
|
-
localization: [],
|
272
|
-
modifications: [],
|
273
|
-
description: ""
|
274
|
-
}
|
275
|
-
}), yi = {
|
276
|
-
async create(e, t) {
|
277
|
-
const s = {
|
278
|
-
...t,
|
279
|
-
organization: e
|
280
|
-
};
|
281
|
-
return await j.post("/products/create", s).then(
|
282
|
-
(a) => (Tt(a.data, "current"), Promise.resolve(a.data)),
|
283
|
-
(a) => (C(a), Promise.reject(a))
|
284
|
-
);
|
285
|
-
},
|
286
|
-
async read(e = {}) {
|
287
|
-
e._id && (e.params = { _id: e._id }), e.category && (e.params = e.params || {}, e.params.category = e.category), e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 10, e.organization && (e.params.organization = e.organization), e.params.sort = "createdAt";
|
288
|
-
try {
|
289
|
-
console.log("Request params:" + e.params);
|
290
|
-
const t = await j.get("/products/read", { params: e.params });
|
291
|
-
return e._id ? y.current = t.data[0] : y.all = t.data, Promise.resolve(t.data);
|
292
|
-
} catch (t) {
|
293
|
-
return C(t), Promise.reject(t);
|
294
|
-
}
|
295
|
-
},
|
296
|
-
async update(e, t) {
|
297
|
-
return await j.post("/products/" + e, t).then(
|
298
|
-
(s) => Promise.resolve(s.data),
|
299
|
-
(s) => (C(s), Promise.reject(s))
|
300
|
-
);
|
301
|
-
},
|
302
|
-
async deleteProduct(e) {
|
303
|
-
return await j.delete("/products/" + e).then(
|
304
|
-
(t) => Promise.resolve(t.data),
|
305
|
-
(t) => (C(t), Promise.reject(t))
|
306
|
-
);
|
307
|
-
},
|
308
|
-
async submitMood(e = null) {
|
309
|
-
return console.log(e), j.post("/product/recommended", { mood: e }).then(
|
310
|
-
(t) => (y.current = t.data.product, y.current.recommendation = t.data.recommendationText, Promise.resolve(t.data)),
|
311
|
-
(t) => (console.log(t), C(t), Promise.reject(t))
|
312
|
-
);
|
313
|
-
},
|
314
|
-
async fetchProducts() {
|
315
|
-
return await j.get("/products").then(
|
316
|
-
(e) => (y.all = e.data, y.filtered = e.data.slice(), y.filteredPrice = y.filtered, y.filteredPrice.sort(function(t, s) {
|
317
|
-
return t[y.sort.current] > s[y.sort.current] ? y.sort.ascending ? 1 : -1 : t[y.sort.current] < s[y.sort.current] ? y.sort.ascending ? -1 : 1 : 0;
|
318
|
-
}), Promise.resolve(e.data)),
|
319
|
-
(e) => (C(e), Promise.reject(e))
|
320
|
-
);
|
321
|
-
},
|
322
|
-
async fetchProductsPopular() {
|
323
|
-
return await j.get("/products/popular").then(
|
324
|
-
(e) => (y.popular = e.data, Promise.resolve(e.data)),
|
325
|
-
(e) => (C(e), Promise.reject(e))
|
326
|
-
);
|
327
|
-
},
|
328
|
-
async fetchProductsPublished() {
|
329
|
-
return await j.get("/products").then(
|
330
|
-
(e) => {
|
331
|
-
let t = e.data.filter(function(s, a) {
|
332
|
-
return s.status !== "unpublished";
|
333
|
-
});
|
334
|
-
return y.all = t, y.filtered = t.slice(), y.filteredPrice = y.filtered, y.filteredPrice.sort(function(s, a) {
|
335
|
-
return s[y.sort.current] > a[y.sort.current] ? y.sort.ascending ? 1 : -1 : s[y.sort.current] < a[y.sort.current] ? y.sort.ascending ? -1 : 1 : 0;
|
336
|
-
}), Promise.resolve(e.data);
|
337
|
-
},
|
338
|
-
(e) => (C(e), Promise.reject(e))
|
339
|
-
);
|
340
|
-
},
|
341
|
-
async fetchProduct(e) {
|
342
|
-
return await j.get("/products/" + e).then(
|
343
|
-
(t) => (t.localization || (t.localization = []), y.current = t.data, Promise.resolve(t.data)),
|
344
|
-
(t) => (C(t), Promise.reject(t))
|
345
|
-
);
|
346
|
-
},
|
347
|
-
async fetchProductPopular() {
|
348
|
-
return await j.get("/products").then(
|
349
|
-
(e) => (y.all = e.data.slice(1, 5), Promise.resolve(e.data.slice(1, 5))),
|
350
|
-
(e) => (C(e), Promise.reject(e))
|
351
|
-
);
|
352
|
-
}
|
353
|
-
};
|
354
|
-
function Tt(e, t) {
|
355
|
-
y[t] = e;
|
356
|
-
}
|
357
|
-
F(y, (e, t) => {
|
358
|
-
});
|
359
|
-
const Bt = process.env.API_URL, Q = _e.create({ baseURL: Bt, withCredentials: !0 }), U = oe({
|
360
|
-
all: [],
|
361
|
-
current: {
|
362
|
-
order: "1",
|
363
|
-
name: "",
|
364
|
-
url: "",
|
365
|
-
subcategories: [],
|
366
|
-
filters: [],
|
367
|
-
localization: []
|
368
|
-
}
|
369
|
-
}), wi = {
|
370
|
-
async fetchCategories() {
|
371
|
-
return await Q.get("/categories").then(
|
372
|
-
(e) => (U.all = e.data, Promise.resolve(e.data)),
|
373
|
-
(e) => (C(e), Promise.reject(e))
|
374
|
-
);
|
375
|
-
},
|
376
|
-
updateCategories(e) {
|
377
|
-
return Q.post("/categories", e).then(
|
378
|
-
(t) => (U.all = e, Promise.resolve(e)),
|
379
|
-
(t) => (C(t), Promise.reject(t))
|
380
|
-
);
|
381
|
-
},
|
382
|
-
fetchCategory(e) {
|
383
|
-
return Q.get("/categories/" + e).then(
|
384
|
-
(t) => (U.current = t.data, Promise.resolve(t.data)),
|
385
|
-
(t) => (C(t), Promise.reject(t))
|
386
|
-
);
|
387
|
-
},
|
388
|
-
addCategory() {
|
389
|
-
return Q.post("/categories/add", U.current).then(
|
390
|
-
(e) => (U.all.push(e.data), Promise.resolve(e.data)),
|
391
|
-
(e) => (C(e), Promise.reject(e))
|
392
|
-
);
|
393
|
-
},
|
394
|
-
updateCategory(e) {
|
395
|
-
return Q.post("/categories/" + e, U.current).then(
|
396
|
-
(t) => (U.current = t.data, Promise.resolve(t.data)),
|
397
|
-
(t) => (C(t), Promise.reject(t))
|
398
|
-
);
|
399
|
-
},
|
400
|
-
deleteCategory(e) {
|
401
|
-
return Q.delete("/categories/" + e).then(
|
402
|
-
(t) => {
|
403
|
-
const s = U.all.findIndex((a) => a.url === e);
|
404
|
-
U.all.splice(s, 1);
|
405
|
-
},
|
406
|
-
(t) => {
|
407
|
-
C(t);
|
408
|
-
}
|
409
|
-
);
|
410
|
-
}
|
411
|
-
};
|
412
|
-
F(U, (e) => {
|
413
|
-
});
|
414
|
-
const jt = { class: "mn-big radius-medium pd-big bg-white" }, Ut = { class: "mn-regular" }, Et = { class: "mn-small t-transp p-medium" }, fe = {
|
415
|
-
__name: "EmptyState",
|
416
|
-
props: {
|
417
|
-
title: {
|
418
|
-
type: String,
|
419
|
-
default: "У вас еще нет организации"
|
420
|
-
},
|
421
|
-
description: {
|
422
|
-
type: String,
|
423
|
-
default: "Для использования сервиса, вам необходимо добавить вашу организацию."
|
424
|
-
},
|
425
|
-
action: {
|
426
|
-
type: String,
|
427
|
-
default: "Создать организацию"
|
428
|
-
},
|
429
|
-
callback: {
|
430
|
-
type: Function,
|
431
|
-
default: () => {
|
432
|
-
}
|
433
|
-
}
|
434
|
-
},
|
435
|
-
setup(e) {
|
436
|
-
return (t, s) => (o(), r("section", jt, [
|
437
|
-
n("h3", Ut, f(e.title), 1),
|
438
|
-
n("p", Et, f(e.description), 1),
|
439
|
-
n("button", {
|
440
|
-
onClick: s[0] || (s[0] = (...a) => e.callback && e.callback(...a)),
|
441
|
-
class: "t-white bg-second w-100 button"
|
442
|
-
}, f(e.action), 1)
|
443
|
-
]));
|
444
|
-
}
|
445
|
-
};
|
446
|
-
const Ft = {
|
447
|
-
__name: "Map",
|
448
|
-
props: {
|
449
|
-
location: Object
|
450
|
-
},
|
451
|
-
setup(e) {
|
452
|
-
const t = e;
|
453
|
-
let s = b(null), a = null, d = null;
|
454
|
-
return pe(async () => {
|
455
|
-
a = new google.maps.Map(s.value, {
|
456
|
-
zoom: 13,
|
457
|
-
center: {
|
458
|
-
lat: t.location.lat,
|
459
|
-
lng: t.location.lng
|
460
|
-
}
|
461
|
-
}), d = new google.maps.Marker({
|
462
|
-
position: {
|
463
|
-
lat: t.location.lat,
|
464
|
-
lng: t.location.lng
|
465
|
-
},
|
466
|
-
map: a
|
467
|
-
});
|
468
|
-
}), F(() => t.location, () => {
|
469
|
-
a && d && (d.setPosition(new google.maps.LatLng(t.location.lat, t.location.lng)), a.setCenter(new google.maps.LatLng(t.location.lat, t.location.lng)));
|
470
|
-
}, { deep: !0 }), (c, p) => (o(), r("div", {
|
471
|
-
ref_key: "gmap",
|
472
|
-
ref: s,
|
473
|
-
class: "gmap"
|
474
|
-
}, null, 512));
|
475
|
-
}
|
476
|
-
}, qt = /* @__PURE__ */ V(Ft, [["__scopeId", "data-v-c194b4a5"]]);
|
477
|
-
const Ht = { class: "pd-small flex-nowrap flex" }, Zt = { class: "user-card__info" }, Nt = { class: "user-card__name" }, Rt = { class: "user-card__position" }, Kt = {
|
478
|
-
__name: "DepartmentSub",
|
479
|
-
props: {
|
480
|
-
department: {
|
481
|
-
type: Object,
|
482
|
-
required: !0
|
483
|
-
}
|
484
|
-
// Define other props here
|
485
|
-
},
|
486
|
-
setup(e) {
|
487
|
-
return (t, s) => (o(), r("div", Ht, [
|
488
|
-
n("div", Zt, [
|
489
|
-
n("p", Nt, f(e.department.name ? e.department.name : "Безымянный"), 1),
|
490
|
-
n("p", Rt, f(e.department.members ? e.department.members.length : "0") + " человек", 1)
|
491
|
-
])
|
492
|
-
]));
|
493
|
-
}
|
494
|
-
}, De = /* @__PURE__ */ V(Kt, [["__scopeId", "data-v-3a07133c"]]);
|
495
|
-
const Wt = { class: "pd-small flex-nowrap flex" }, Yt = { class: "user-card__info" }, Jt = { class: "user-card__name" }, Qt = { class: "t-transp" }, Xt = {
|
496
|
-
__name: "User",
|
497
|
-
props: {
|
498
|
-
user: {
|
499
|
-
type: Object,
|
500
|
-
required: !0
|
501
|
-
},
|
502
|
-
position: {
|
503
|
-
type: String,
|
504
|
-
required: !0
|
505
|
-
}
|
506
|
-
// Define other props here
|
507
|
-
},
|
508
|
-
setup(e) {
|
509
|
-
return (t, s) => (o(), r("div", Wt, [
|
510
|
-
n("div", Yt, [
|
511
|
-
n("p", Jt, f(e.user.name ? e.user.name : "Безымянный"), 1),
|
512
|
-
n("p", Qt, f(e.position), 1)
|
513
|
-
])
|
514
|
-
]));
|
515
|
-
}
|
516
|
-
}, Ae = /* @__PURE__ */ V(Xt, [["__scopeId", "data-v-c0ea3801"]]);
|
517
|
-
const ie = (e) => (me("data-v-1d33cf95"), e = e(), he(), e), Gt = { class: "radius-big o-hidden cols-2-1_3" }, es = { class: "pd-medium w-100" }, ts = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("path", {
|
518
|
-
d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
|
519
|
-
fill: "black"
|
520
|
-
}, null, -1)), ss = [
|
521
|
-
ts
|
522
|
-
], ns = ["innerHTML"], as = ["innerHTML"], os = { class: "pd-small flex-v-center flex-nowrap flex" }, is = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Contacts ", -1)), ls = { class: "mn-r-small" }, rs = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("svg", {
|
523
|
-
width: "14",
|
524
|
-
height: "9",
|
525
|
-
viewBox: "0 0 14 9",
|
526
|
-
fill: "none",
|
527
|
-
xmlns: "http://www.w3.org/2000/svg"
|
528
|
-
}, [
|
529
|
-
/* @__PURE__ */ n("path", {
|
530
|
-
"fill-rule": "evenodd",
|
531
|
-
"clip-rule": "evenodd",
|
532
|
-
d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
|
533
|
-
fill: "#8A8A8A"
|
534
|
-
})
|
535
|
-
], -1)), ds = { key: 0 }, cs = { class: "pd-small flex-v-center flex-nowrap flex" }, us = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Working Hours ", -1)), ps = { class: "mn-r-small" }, ms = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("svg", {
|
536
|
-
width: "14",
|
537
|
-
height: "9",
|
538
|
-
viewBox: "0 0 14 9",
|
539
|
-
fill: "none",
|
540
|
-
xmlns: "http://www.w3.org/2000/svg"
|
541
|
-
}, [
|
542
|
-
/* @__PURE__ */ n("path", {
|
543
|
-
"fill-rule": "evenodd",
|
544
|
-
"clip-rule": "evenodd",
|
545
|
-
d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
|
546
|
-
fill: "#8A8A8A"
|
547
|
-
})
|
548
|
-
], -1)), hs = { key: 0 }, _s = {
|
549
|
-
__name: "Department",
|
550
|
-
props: {
|
551
|
-
department: Object,
|
552
|
-
organization: Object
|
553
|
-
},
|
554
|
-
setup(e) {
|
555
|
-
const t = e;
|
556
|
-
return (s, a) => (o(), r("div", Gt, [
|
557
|
-
h(qt, {
|
558
|
-
location: { lat: e.department.location.coordinates[1], lng: e.department.location.coordinates[0] },
|
559
|
-
class: ""
|
560
|
-
}, null, 8, ["location"]),
|
561
|
-
n("div", es, [
|
562
|
-
(o(), r("svg", {
|
563
|
-
onClick: a[0] || (a[0] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}/edit`)),
|
564
|
-
class: "i-regular pos-absolute pos-r-0 pos-t-0 t-transp",
|
565
|
-
width: "652",
|
566
|
-
height: "652",
|
567
|
-
viewBox: "0 0 652 652",
|
568
|
-
fill: "none",
|
569
|
-
xmlns: "http://www.w3.org/2000/svg"
|
570
|
-
}, ss)),
|
571
|
-
n("h3", {
|
572
|
-
onClick: a[1] || (a[1] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}`)),
|
573
|
-
class: "mn-small w-100",
|
574
|
-
innerHTML: e.department.profile.name
|
575
|
-
}, null, 8, ns),
|
576
|
-
n("p", {
|
577
|
-
onClick: a[2] || (a[2] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}`)),
|
578
|
-
class: "mn-small p-big w-100",
|
579
|
-
innerHTML: e.department.address
|
580
|
-
}, null, 8, as),
|
581
|
-
h($e, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
|
582
|
-
header: k(() => [
|
583
|
-
n("div", os, [
|
584
|
-
is,
|
585
|
-
n("p", ls, f(e.department.members.length) + " человек", 1),
|
586
|
-
rs
|
587
|
-
])
|
588
|
-
]),
|
589
|
-
content: k(() => [
|
590
|
-
n("ul", null, [
|
591
|
-
e.department.members.length < 1 ? (o(), r("li", ds, "В отделе еще нет участников")) : g("", !0),
|
592
|
-
(o(!0), r(O, null, L(e.department.members, (d, c) => (o(), $(Ae, {
|
593
|
-
class: "br-b br-solid br-grey",
|
594
|
-
key: c,
|
595
|
-
user: d.user,
|
596
|
-
position: d.position,
|
597
|
-
onClick: (p) => s.$router.push(`/app/profile/${d.user._id}`)
|
598
|
-
}, null, 8, ["user", "position", "onClick"]))), 128))
|
599
|
-
])
|
600
|
-
]),
|
601
|
-
_: 1
|
602
|
-
}),
|
603
|
-
h($e, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
|
604
|
-
header: k(() => [
|
605
|
-
n("div", cs, [
|
606
|
-
us,
|
607
|
-
n("p", ps, f(e.department.subdepartments ? e.department.subdepartments.length : 0) + " отделов", 1),
|
608
|
-
ms
|
609
|
-
])
|
610
|
-
]),
|
611
|
-
content: k(() => [
|
612
|
-
n("ul", null, [
|
613
|
-
e.department.subdepartments.length < 1 ? (o(), r("li", hs, "В отделе еще нет подотделов")) : g("", !0),
|
614
|
-
(o(!0), r(O, null, L(e.department.subdepartments, (d, c) => (o(), $(De, {
|
615
|
-
onClick: (p) => s.$router.push(`/app/organization/departments/${d._id}`),
|
616
|
-
key: c,
|
617
|
-
class: "br-b br-solid br-grey",
|
618
|
-
department: d
|
619
|
-
}, null, 8, ["onClick", "department"]))), 128))
|
620
|
-
])
|
621
|
-
]),
|
622
|
-
_: 1
|
623
|
-
})
|
624
|
-
])
|
625
|
-
]));
|
626
|
-
}
|
627
|
-
}, fs = /* @__PURE__ */ V(_s, [["__scopeId", "data-v-1d33cf95"]]), G = _e.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
628
|
-
G.defaults.withCredentials = !0;
|
629
|
-
const _ = oe({
|
630
|
-
departments: [],
|
631
|
-
department: {
|
632
|
-
organization: "",
|
633
|
-
profile: {
|
634
|
-
photo: "",
|
635
|
-
name: "",
|
636
|
-
description: "",
|
637
|
-
categories: []
|
638
|
-
},
|
639
|
-
address: "",
|
640
|
-
location: {
|
641
|
-
lat: null,
|
642
|
-
lng: null
|
643
|
-
},
|
644
|
-
worktime: [],
|
645
|
-
delivery: [],
|
646
|
-
payment: [],
|
647
|
-
members: [],
|
648
|
-
subdepartments: []
|
649
|
-
},
|
650
|
-
error: null
|
651
|
-
}), W = {
|
652
|
-
async readOne(e) {
|
653
|
-
await G.get(`/api/departments/get/${e}`).then((t) => {
|
654
|
-
_.department = t.data, _.error = null;
|
655
|
-
}).catch((t) => {
|
656
|
-
C(t);
|
657
|
-
});
|
658
|
-
},
|
659
|
-
async read(e) {
|
660
|
-
await G.get(`/api/departments/${e}`).then((t) => {
|
661
|
-
console.log("Response:", t), _.departments = t.data, _.error = null;
|
662
|
-
}).catch((t) => {
|
663
|
-
C(t);
|
664
|
-
});
|
665
|
-
},
|
666
|
-
async create(e, t) {
|
667
|
-
await G.post(`/api/departments/${e}/create`, t).then((s) => {
|
668
|
-
_.error = null, _.department = s.data;
|
669
|
-
}).catch((s) => {
|
670
|
-
C(s);
|
671
|
-
});
|
672
|
-
},
|
673
|
-
async update(e, t) {
|
674
|
-
await G.post(`/api/departments/${e}/update`, t).then(() => {
|
675
|
-
_.error = null;
|
676
|
-
}).catch((s) => {
|
677
|
-
C(s);
|
678
|
-
});
|
679
|
-
},
|
680
|
-
async delete(e, t) {
|
681
|
-
await G.delete(`/api/departments/${e}/delete`, { data: { _id: t } }).then(() => {
|
682
|
-
_.error = null;
|
683
|
-
}).catch((s) => {
|
684
|
-
C(s);
|
685
|
-
});
|
686
|
-
}
|
687
|
-
};
|
688
|
-
F(_, (e, t) => {
|
689
|
-
});
|
690
|
-
const $i = {
|
691
|
-
__name: "StructureTab",
|
692
|
-
props: {
|
693
|
-
organization: Object,
|
694
|
-
units: Array,
|
695
|
-
memberships: Array
|
696
|
-
},
|
697
|
-
async setup(e) {
|
698
|
-
let t, s;
|
699
|
-
const a = e;
|
700
|
-
b("departments"), [t, s] = Y(() => W.read(a.organization._id)), await t, s();
|
701
|
-
const d = A(() => {
|
702
|
-
const c = _.departments, p = c.flatMap(
|
703
|
-
(l) => l.subdepartments.map((u) => u._id)
|
704
|
-
);
|
705
|
-
return c.filter(
|
706
|
-
(l) => !p.includes(l._id)
|
707
|
-
);
|
708
|
-
});
|
709
|
-
return (c, p) => (o(), $(R, { name: "slide-fade" }, {
|
710
|
-
default: k(() => [
|
711
|
-
n("div", null, [
|
712
|
-
x(d).length < 1 ? (o(), $(fe, {
|
713
|
-
key: 0,
|
714
|
-
title: "You don't have any spots yet.",
|
715
|
-
description: "Add spots to your hub.",
|
716
|
-
action: "Add spot",
|
717
|
-
callback: () => c.$router.push(`/app/organization/${a.organization._id}/departments/create`)
|
718
|
-
}, null, 8, ["callback"])) : g("", !0),
|
719
|
-
n("div", null, [
|
720
|
-
(o(!0), r(O, null, L(x(d), (l, u) => (o(), $(fs, {
|
721
|
-
key: u,
|
722
|
-
department: l,
|
723
|
-
organization: e.organization,
|
724
|
-
class: "radius-big bg-grey mn-thin"
|
725
|
-
}, null, 8, ["department", "organization"]))), 128)),
|
726
|
-
x(d).length > 0 && S.user._id === e.organization.owner ? (o(), r("button", {
|
727
|
-
key: 0,
|
728
|
-
onClick: p[0] || (p[0] = (l) => c.$router.push(`/app/organization/${a.organization._id}/departments/create`)),
|
729
|
-
class: "mn-thin button w-100"
|
730
|
-
}, " Add spot ")) : g("", !0)
|
731
|
-
])
|
732
|
-
])
|
733
|
-
]),
|
734
|
-
_: 1
|
735
|
-
}));
|
736
|
-
}
|
737
|
-
}, ee = _e.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
738
|
-
ee.defaults.withCredentials = !0;
|
739
|
-
const E = oe({
|
740
|
-
invites: [],
|
741
|
-
invite: null,
|
742
|
-
error: null
|
743
|
-
}), ae = {
|
744
|
-
async read(e) {
|
745
|
-
await ee.get(`/api/invites/${e}`).then((t) => {
|
746
|
-
E.invites = t.data, E.error = null;
|
747
|
-
}).catch((t) => {
|
748
|
-
C(t);
|
749
|
-
});
|
750
|
-
},
|
751
|
-
async readOne(e) {
|
752
|
-
await ee.get(`/api/invites/get/${e}`).then((t) => {
|
753
|
-
E.invite = t.data, S.user.phone = t.data.invitedPhone, S.user.email = t.data.invitedEmail;
|
754
|
-
}).catch((t) => {
|
755
|
-
C(t);
|
756
|
-
});
|
757
|
-
},
|
758
|
-
async create(e, t) {
|
759
|
-
await ee.post(`/api/invites/${e}/create`, t).then(() => {
|
760
|
-
E.error = null;
|
761
|
-
}).catch((s) => {
|
762
|
-
C(s);
|
763
|
-
});
|
764
|
-
},
|
765
|
-
async update(e, t) {
|
766
|
-
await ee.put(`/api/invites/${e}/update`, t).then(() => {
|
767
|
-
E.error = null;
|
768
|
-
}).catch((s) => {
|
769
|
-
C(s);
|
770
|
-
});
|
771
|
-
},
|
772
|
-
async delete(e) {
|
773
|
-
await ee.delete(`/api/invites/${e}/delete`).then(() => {
|
774
|
-
E.error = null;
|
775
|
-
}).catch((t) => {
|
776
|
-
C(t);
|
777
|
-
});
|
778
|
-
}
|
779
|
-
};
|
780
|
-
F(E, (e, t) => {
|
781
|
-
});
|
782
|
-
const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
783
|
-
__proto__: null,
|
784
|
-
actions: ae,
|
785
|
-
state: E
|
786
|
-
}, Symbol.toStringTag, { value: "Module" })), gs = { class: "mn-medium radius-medium pd-semi bg-white" }, bs = /* @__PURE__ */ n("h3", { class: "mn-medium" }, "Добавить участников", -1), vs = /* @__PURE__ */ n("p", { class: "mn-small t-transp p-medium" }, "Укажите email или телефон, чтобы отправить ссылку с приглашением:", -1), ys = { class: "w-100 flex-nowrap flex" }, ws = {
|
787
|
-
key: 0,
|
788
|
-
class: "mn-r-medium flex-v-center flex"
|
789
|
-
}, $s = ["onClick"], Cs = /* @__PURE__ */ n("p", { class: "t-blue mn-r-small" }, "+ Добавить приглашение", -1), xs = [
|
790
|
-
Cs
|
791
|
-
], ks = /* @__PURE__ */ n("span", null, "Отправить приглашения ", -1), Os = {
|
792
|
-
__name: "MembersAdd",
|
793
|
-
props: {
|
794
|
-
organization: Object
|
795
|
-
},
|
796
|
-
emits: ["send-invite"],
|
797
|
-
setup(e, { emit: t }) {
|
798
|
-
const s = e, a = b(null), d = b([{ contact: "", role: "" }]);
|
799
|
-
function c() {
|
800
|
-
d.value.push({ contact: "", role: "" });
|
801
|
-
}
|
802
|
-
function p(i) {
|
803
|
-
d.value.splice(i, 1);
|
804
|
-
}
|
805
|
-
async function l(i) {
|
806
|
-
await ae.create(s.organization._id, d.value);
|
807
|
-
}
|
808
|
-
function u() {
|
809
|
-
}
|
810
|
-
return (i, m) => (o(), r("div", null, [
|
811
|
-
n("section", gs, [
|
812
|
-
bs,
|
813
|
-
vs,
|
814
|
-
(o(!0), r(O, null, L(d.value, (w, P) => (o(), r("div", {
|
815
|
-
key: P,
|
816
|
-
class: "br-1px br-solid br-grey flex radius-small mn-thin"
|
817
|
-
}, [
|
818
|
-
n("div", ys, [
|
819
|
-
h(D, {
|
820
|
-
field: w.contact,
|
821
|
-
"onUpdate:field": (T) => w.contact = T,
|
822
|
-
placeholder: "Email или телефон",
|
823
|
-
class: "w-100 bg-white",
|
824
|
-
validation: a.value
|
825
|
-
}, null, 8, ["field", "onUpdate:field", "validation"]),
|
826
|
-
P > 0 ? (o(), r("div", ws, [
|
827
|
-
n("button", {
|
828
|
-
onClick: (T) => p(P),
|
829
|
-
class: "button-small button"
|
830
|
-
}, "×", 8, $s)
|
831
|
-
])) : g("", !0)
|
832
|
-
]),
|
833
|
-
h(Me, {
|
834
|
-
options: [
|
835
|
-
{ name: "Директор", value: "director" },
|
836
|
-
{ name: "Менеджер", value: "manager" },
|
837
|
-
{ name: "Сотрудник", value: "member" }
|
838
|
-
],
|
839
|
-
prop: w,
|
840
|
-
content: "role",
|
841
|
-
placeholder: "Роль",
|
842
|
-
size: "small",
|
843
|
-
class: "w-80"
|
844
|
-
}, null, 8, ["prop"])
|
845
|
-
]))), 128)),
|
846
|
-
n("div", {
|
847
|
-
onClick: c,
|
848
|
-
class: "mn-small flex-v-center flex-nowrap flex"
|
849
|
-
}, xs),
|
850
|
-
h(ce, {
|
851
|
-
submit: i.a = () => l(E.invites),
|
852
|
-
callback: u,
|
853
|
-
class: "mn-t-medium"
|
854
|
-
}, {
|
855
|
-
default: k(() => [
|
856
|
-
ks
|
857
|
-
]),
|
858
|
-
_: 1
|
859
|
-
}, 8, ["submit"])
|
860
|
-
])
|
861
|
-
]));
|
862
|
-
}
|
863
|
-
}, Ls = { class: "mn-big radius-medium bg-white" }, Ss = {
|
864
|
-
key: 0,
|
865
|
-
class: "pd-semi"
|
866
|
-
}, Ps = { class: "br-grey br-1px br-solid radius-small flex-nowrap flex-v-center flex pd-medium" }, zs = { class: "w-100 mn-r-small" }, Ms = { class: "t-transp" }, Ds = {
|
867
|
-
key: 0,
|
868
|
-
class: "mn-l-medium flex-v-center flex"
|
869
|
-
}, As = ["onClick"], Vs = {
|
870
|
-
key: 1,
|
871
|
-
class: "pd-semi"
|
872
|
-
}, Is = { key: 0 }, Ts = { class: "br-grey br-1px br-solid radius-small mn-thin flex-nowrap flex-v-center flex pd-medium" }, Bs = { class: "w-100 mn-r-small" }, js = { class: "t-transp" }, Us = { class: "mn-l-medium flex-v-center flex" }, Es = ["onClick"], Fs = {
|
873
|
-
__name: "MembersList",
|
874
|
-
props: {
|
875
|
-
organization: Object,
|
876
|
-
memberships: Array,
|
877
|
-
invites: Array
|
878
|
-
},
|
879
|
-
emits: [["removeMember", "removeInvite"]],
|
880
|
-
setup(e, { emit: t }) {
|
881
|
-
const s = e, a = b("members");
|
882
|
-
function d(p, l) {
|
883
|
-
s.memberships.splice(p, 1), t("removeMember", l);
|
884
|
-
}
|
885
|
-
function c(p, l) {
|
886
|
-
s.invites.splice(p, 1), t("removeInvite", l);
|
887
|
-
}
|
888
|
-
return (p, l) => (o(), r("section", Ls, [
|
889
|
-
h(Pe, {
|
890
|
-
selected: a.value,
|
891
|
-
"onUpdate:selected": l[0] || (l[0] = (u) => a.value = u),
|
892
|
-
class: "br-grey br-b br-solid radius-small",
|
893
|
-
tabs: [
|
894
|
-
{ name: "Участники", value: "members" },
|
895
|
-
{ name: "Приглашения", value: "invites" }
|
896
|
-
]
|
897
|
-
}, null, 8, ["selected"]),
|
898
|
-
a.value === "members" ? (o(), r("div", Ss, [
|
899
|
-
(o(!0), r(O, null, L(e.memberships, (u, i) => (o(), r("div", Ps, [
|
900
|
-
n("span", zs, f(u.user.email) + " " + f(u.user.phone), 1),
|
901
|
-
n("span", Ms, f(u.position), 1),
|
902
|
-
u.position !== "Основатель" ? (o(), r("div", Ds, [
|
903
|
-
n("button", {
|
904
|
-
onClick: (m) => d(i, u),
|
905
|
-
class: "button-small button"
|
906
|
-
}, "×", 8, As)
|
907
|
-
])) : g("", !0)
|
908
|
-
]))), 256))
|
909
|
-
])) : g("", !0),
|
910
|
-
a.value === "invites" ? (o(), r("div", Vs, [
|
911
|
-
e.invites.length < 1 ? (o(), r("span", Is, "В организации нет приглашений")) : g("", !0),
|
912
|
-
(o(!0), r(O, null, L(e.invites, (u, i) => (o(), r("div", Ts, [
|
913
|
-
n("span", Bs, f(u.invitedEmail) + " " + f(u.invitedPhone), 1),
|
914
|
-
n("span", js, f(u.status), 1),
|
915
|
-
n("div", Us, [
|
916
|
-
n("button", {
|
917
|
-
onClick: (m) => c(i, u),
|
918
|
-
class: "button-small button"
|
919
|
-
}, "×", 8, Es)
|
920
|
-
])
|
921
|
-
]))), 256))
|
922
|
-
])) : g("", !0)
|
923
|
-
]));
|
924
|
-
}
|
925
|
-
}, qs = /* @__PURE__ */ n("section", { class: "mn-medium radius-medium pd-semi bg-white" }, [
|
926
|
-
/* @__PURE__ */ n("h2", { class: "mn-regular" }, "Участники"),
|
927
|
-
/* @__PURE__ */ n("p", { class: "t-transp p-big" }, "Добавляйте новых участников организации и настраивайте права доступа.")
|
928
|
-
], -1), xi = {
|
929
|
-
__name: "MembersTab",
|
930
|
-
props: {
|
931
|
-
organization: Object,
|
932
|
-
memberships: Array
|
933
|
-
},
|
934
|
-
async setup(e) {
|
935
|
-
let t, s;
|
936
|
-
const a = e;
|
937
|
-
[t, s] = Y(() => ae.read(a.organization._id)), await t, s();
|
938
|
-
async function d(l) {
|
939
|
-
await ae.create(a.organization._id, l);
|
940
|
-
}
|
941
|
-
async function c(l) {
|
942
|
-
await ge.delete(l._id);
|
943
|
-
}
|
944
|
-
async function p(l) {
|
945
|
-
await ae.delete(l._id);
|
946
|
-
}
|
947
|
-
return (l, u) => (o(), $(R, { name: "slide-fade" }, {
|
948
|
-
default: k(() => [
|
949
|
-
n("div", null, [
|
950
|
-
qs,
|
951
|
-
h(Os, {
|
952
|
-
organization: e.organization,
|
953
|
-
onSendInvite: d
|
954
|
-
}, null, 8, ["organization"]),
|
955
|
-
h(Fs, {
|
956
|
-
organization: e.organization,
|
957
|
-
memberships: e.memberships,
|
958
|
-
invites: E.invites,
|
959
|
-
onRemoveInvite: p,
|
960
|
-
onRemoveMember: c
|
961
|
-
}, null, 8, ["organization", "memberships", "invites"])
|
962
|
-
])
|
963
|
-
]),
|
964
|
-
_: 1
|
965
|
-
}));
|
966
|
-
}
|
967
|
-
};
|
968
|
-
const Hs = {
|
969
|
-
key: 0,
|
970
|
-
class: "pd-thin for-transition w-100"
|
971
|
-
}, Zs = { class: "t-semi mn-small" }, Ns = {
|
972
|
-
__name: "Organization",
|
973
|
-
setup(e) {
|
974
|
-
const t = H(), s = q();
|
975
|
-
let a = s.query.tab ? s.query.tab : "events";
|
976
|
-
const d = b(null);
|
977
|
-
pe(async () => {
|
978
|
-
d.value = await Z.read({ _id: s.params._id, user: S.user._id }), await ge.read(s.params._id);
|
979
|
-
});
|
980
|
-
const c = b(a);
|
981
|
-
s.query.tab = c.value, F(c, (l) => {
|
982
|
-
t.push({ query: { ...s.query, tab: l } });
|
983
|
-
});
|
984
|
-
const p = ({ membership: l, isMember: u, targetId: i }) => {
|
985
|
-
qe.handleMembershipUpdate(v.current, l, u, i);
|
986
|
-
};
|
987
|
-
return (l, u) => d.value ? (o(), r("div", Hs, [
|
988
|
-
h(Vt, {
|
989
|
-
organization: v.current,
|
990
|
-
user: S.user,
|
991
|
-
class: "mn-semi"
|
992
|
-
}, {
|
993
|
-
default: k(() => [
|
994
|
-
n("p", Zs, " 👨👨👧👧 " + f(v.current.numberOfMemberships) + " followers ", 1),
|
995
|
-
S.user._id && x(s).params._id && x(s).params._id !== S.user._id && v.current.owner !== S.user._id ? (o(), $(Fe, {
|
996
|
-
key: 0,
|
997
|
-
type: "organization",
|
998
|
-
isMember: v.current.isMember,
|
999
|
-
targetId: v.current._id,
|
1000
|
-
userId: S.user._id,
|
1001
|
-
class: "w-min mn-auto",
|
1002
|
-
onUpdateMembership: p
|
1003
|
-
}, null, 8, ["isMember", "targetId", "userId"])) : g("", !0)
|
1004
|
-
]),
|
1005
|
-
_: 1
|
1006
|
-
}, 8, ["organization", "user"]),
|
1007
|
-
h(Pe, {
|
1008
|
-
selected: c.value,
|
1009
|
-
"onUpdate:selected": u[0] || (u[0] = (i) => c.value = i),
|
1010
|
-
tabs: [
|
1011
|
-
{ name: "Events", value: "events" },
|
1012
|
-
{ name: "Community", value: "community" }
|
1013
|
-
],
|
1014
|
-
class: "mn-small o-hidden h5 radius-big bg-grey"
|
1015
|
-
}, null, 8, ["selected"]),
|
1016
|
-
h(R, { name: "slide-fade" }, {
|
1017
|
-
default: k(() => [
|
1018
|
-
c.value === "events" ? (o(), $(Ze, {
|
1019
|
-
key: 0,
|
1020
|
-
user: S.user._id,
|
1021
|
-
owner: x(s).params._id,
|
1022
|
-
sortOrder: "asc"
|
1023
|
-
}, null, 8, ["user", "owner"])) : g("", !0)
|
1024
|
-
]),
|
1025
|
-
_: 1
|
1026
|
-
}),
|
1027
|
-
h(R, { name: "slide-fade" }, {
|
1028
|
-
default: k(() => [
|
1029
|
-
c.value === "community" ? (o(), $(Ne, {
|
1030
|
-
key: 0,
|
1031
|
-
user: S.user._id,
|
1032
|
-
owner: x(s).params._id
|
1033
|
-
}, null, 8, ["user", "owner"])) : g("", !0)
|
1034
|
-
]),
|
1035
|
-
_: 1
|
1036
|
-
})
|
1037
|
-
])) : g("", !0);
|
1038
|
-
}
|
1039
|
-
}, Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1040
|
-
__proto__: null,
|
1041
|
-
default: Ns
|
1042
|
-
}, Symbol.toStringTag, { value: "Module" })), Ks = { class: "for-transition w-100" }, Ws = {
|
1043
|
-
id: "dash",
|
1044
|
-
class: "pd-medium bg-grey"
|
1045
|
-
}, Ys = { class: "mn-medium radius-medium pd-semi bg-white" }, Js = { class: "flex-nowrap flex mn-small" }, Qs = { class: "w-100" }, Xs = /* @__PURE__ */ n("path", {
|
1046
|
-
d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
|
1047
|
-
fill: "black"
|
1048
|
-
}, null, -1), Gs = [
|
1049
|
-
Xs
|
1050
|
-
], en = ["innerHTML"], tn = { class: "mn-medium radius-medium pd-semi bg-white" }, sn = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Команда", -1), nn = { key: 0 }, an = { class: "mn-medium radius-medium pd-semi bg-white" }, on = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Подотделы", -1), ln = { key: 0 }, rn = {
|
1051
|
-
__name: "Department",
|
1052
|
-
async setup(e) {
|
1053
|
-
let t, s;
|
1054
|
-
H();
|
1055
|
-
const a = q();
|
1056
|
-
return [t, s] = Y(() => W.readOne(a.params._id)), await t, s(), (d, c) => (o(), r("div", Ks, [
|
1057
|
-
n("div", Ws, [
|
1058
|
-
n("section", Ys, [
|
1059
|
-
n("div", Js, [
|
1060
|
-
n("h2", Qs, f(_.department.name), 1),
|
1061
|
-
(o(), r("svg", {
|
1062
|
-
onClick: c[0] || (c[0] = (p) => d.$router.push(`/app/organization/departments/${_.department._id}/edit`)),
|
1063
|
-
class: "i-regular t-transp",
|
1064
|
-
width: "652",
|
1065
|
-
height: "652",
|
1066
|
-
viewBox: "0 0 652 652",
|
1067
|
-
fill: "none",
|
1068
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1069
|
-
}, Gs))
|
1070
|
-
]),
|
1071
|
-
n("p", {
|
1072
|
-
class: "t-transp p-big",
|
1073
|
-
innerHTML: _.department.description
|
1074
|
-
}, null, 8, en)
|
1075
|
-
]),
|
1076
|
-
n("section", tn, [
|
1077
|
-
sn,
|
1078
|
-
n("ul", null, [
|
1079
|
-
_.department.members.length < 1 ? (o(), r("li", nn, "В отделе еще нет участников")) : g("", !0),
|
1080
|
-
(o(!0), r(O, null, L(_.department.members, (p, l) => (o(), $(Ae, {
|
1081
|
-
class: "br-b br-solid br-grey",
|
1082
|
-
key: l,
|
1083
|
-
user: p.user,
|
1084
|
-
position: p.position,
|
1085
|
-
onClick: (u) => d.$router.push(`/app/profile/${p.user._id}`)
|
1086
|
-
}, null, 8, ["user", "position", "onClick"]))), 128))
|
1087
|
-
])
|
1088
|
-
]),
|
1089
|
-
n("section", an, [
|
1090
|
-
on,
|
1091
|
-
n("ul", null, [
|
1092
|
-
_.department.subdepartments.length < 1 ? (o(), r("li", ln, "В отделе еще нет подотделов")) : g("", !0),
|
1093
|
-
(o(!0), r(O, null, L(_.department.subdepartments, (p, l) => (o(), $(De, {
|
1094
|
-
onClick: (u) => d.$router.push(`/app/organization/departments/${p._id}`),
|
1095
|
-
key: l,
|
1096
|
-
class: "br-b br-solid br-grey",
|
1097
|
-
department: p
|
1098
|
-
}, null, 8, ["onClick", "department"]))), 128))
|
1099
|
-
])
|
1100
|
-
])
|
1101
|
-
])
|
1102
|
-
]));
|
1103
|
-
}
|
1104
|
-
}, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1105
|
-
__proto__: null,
|
1106
|
-
default: rn
|
1107
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
1108
|
-
const cn = { class: "for-transition bg-white radius-big w-100" }, un = { class: "flex-v-center flex-nowrap flex pd-semi" }, pn = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Organizations", -1), mn = { class: "pd-semi" }, hn = {
|
1109
|
-
key: 1,
|
1110
|
-
class: "cols-3"
|
1111
|
-
}, _n = ["onClick"], fn = ["src"], gn = {
|
1112
|
-
key: 1,
|
1113
|
-
class: "radius-medium mn-small i-thin",
|
1114
|
-
width: "42",
|
1115
|
-
height: "42",
|
1116
|
-
viewBox: "0 0 42 42",
|
1117
|
-
fill: "none",
|
1118
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1119
|
-
}, bn = /* @__PURE__ */ n("circle", {
|
1120
|
-
fill: "rgb(var(--main))",
|
1121
|
-
cx: "21",
|
1122
|
-
cy: "21",
|
1123
|
-
r: "21"
|
1124
|
-
}, null, -1), vn = /* @__PURE__ */ n("path", {
|
1125
|
-
fill: "#242424",
|
1126
|
-
"fill-opacity": "0.1",
|
1127
|
-
"fill-rule": "evenodd",
|
1128
|
-
"clip-rule": "evenodd",
|
1129
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
1130
|
-
}, null, -1), yn = [
|
1131
|
-
bn,
|
1132
|
-
vn
|
1133
|
-
], wn = { class: "h4 mn-r-semi mn-small" }, $n = ["onClick"], Cn = /* @__PURE__ */ n("path", {
|
1134
|
-
fill: "black",
|
1135
|
-
d: "M6.41357 11.979C9.6831 11.979 12.3901 9.26611 12.3901 6.00244C12.3901 2.73291 9.67724 0.0258789 6.40771 0.0258789C3.14404 0.0258789 0.437008 2.73291 0.437008 6.00244C0.437008 9.26611 3.1499 11.979 6.41357 11.979ZM6.41357 10.9829C3.64795 10.9829 1.43896 8.76807 1.43896 6.00244C1.43896 3.23682 3.64209 1.02197 6.40771 1.02197C9.17334 1.02197 11.3882 3.23682 11.394 6.00244C11.3999 8.76807 9.1792 10.9829 6.41357 10.9829ZM8.72802 4.36182L9.1499 3.93408C9.3374 3.74072 9.35498 3.52979 9.1792 3.34814L9.04443 3.21924C8.86865 3.0376 8.65185 3.06104 8.46435 3.24854L8.03662 3.67041L8.72802 4.36182ZM4.53271 8.53955L8.37646 4.71338L7.68505 4.02197L3.84716 7.84814L3.51318 8.62158C3.45459 8.76807 3.59521 8.89697 3.72412 8.8501L4.53271 8.53955Z"
|
1136
|
-
}, null, -1), xn = [
|
1137
|
-
Cn
|
1138
|
-
], kn = { class: "t-black p-small" }, ki = {
|
1139
|
-
__name: "OrganizationsAccount",
|
1140
|
-
async setup(e) {
|
1141
|
-
let t, s;
|
1142
|
-
S.user._id && ([t, s] = Y(() => Z.read({ owner: S.user._id })), await t, s());
|
1143
|
-
const a = H(), d = q();
|
1144
|
-
let c = d.query.tab ? d.query.tab : "details";
|
1145
|
-
const p = b(c);
|
1146
|
-
return d.query.tab = p.value, F(p, (l) => {
|
1147
|
-
a.push({ query: { ...d.query, tab: l } });
|
1148
|
-
}), (l, u) => (o(), r("div", cn, [
|
1149
|
-
n("header", un, [
|
1150
|
-
pn,
|
1151
|
-
n("button", {
|
1152
|
-
onClick: u[0] || (u[0] = (i) => l.$router.push({ name: "Create Organization" })),
|
1153
|
-
class: "radius-100p i-semi hover-scale-1 cursor-pointer t-white bg-second"
|
1154
|
-
}, "+")
|
1155
|
-
]),
|
1156
|
-
n("div", mn, [
|
1157
|
-
v.all.length < 1 ? (o(), $(fe, {
|
1158
|
-
key: 0,
|
1159
|
-
title: "You Haven't Joined Any Organization Yet",
|
1160
|
-
description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
|
1161
|
-
action: "Create organization",
|
1162
|
-
callback: l.a = () => l.$router.push("/app/organization/create/details")
|
1163
|
-
}, null, 8, ["callback"])) : (o(), r("div", hn, [
|
1164
|
-
(o(!0), r(O, null, L(v.all, (i) => (o(), r("div", {
|
1165
|
-
key: i._id,
|
1166
|
-
class: "mn-small radius-medium pd-medium br-2px br-solid br-grey",
|
1167
|
-
onClick: (m) => l.$router.push({ name: "Organization", params: { _id: i._id } })
|
1168
|
-
}, [
|
1169
|
-
i.profile.photo.length > 0 ? (o(), r("img", {
|
1170
|
-
key: 0,
|
1171
|
-
src: i.profile.photo,
|
1172
|
-
class: "radius-medium mn-small i-thin"
|
1173
|
-
}, null, 8, fn)) : (o(), r("svg", gn, yn)),
|
1174
|
-
n("p", wn, f(i.profile.name), 1),
|
1175
|
-
(o(), r("svg", {
|
1176
|
-
onClick: re((m) => l.$router.push({ name: "Organization Edit", params: { _id: i._id } }), ["stop"]),
|
1177
|
-
class: "t-transp hover-scale-1 z-index-1 pos-absolute pos-t-regular pos-r-regular i-medium",
|
1178
|
-
width: "13",
|
1179
|
-
height: "12",
|
1180
|
-
viewBox: "0 0 13 12",
|
1181
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1182
|
-
}, xn, 8, $n)),
|
1183
|
-
n("p", kn, f(i.profile.description.slice(0, 120) + "..."), 1)
|
1184
|
-
], 8, _n))), 128))
|
1185
|
-
]))
|
1186
|
-
])
|
1187
|
-
]));
|
1188
|
-
}
|
1189
|
-
}, On = { class: "for-transition pd-thin" }, Ln = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Type of group", -1), Sn = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), Pn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Profile", -1), zn = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Mn = /* @__PURE__ */ n("h4", null, "Upload photo", -1), Dn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Socials", -1), An = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Vn = {
|
1190
|
-
__name: "OrganizationEdit",
|
1191
|
-
async setup(e) {
|
1192
|
-
let t, s;
|
1193
|
-
const a = q(), d = H();
|
1194
|
-
Z.reset(), a.params._id && ([t, s] = Y(() => Z.read({ _id: a.params._id })), await t, s());
|
1195
|
-
const c = A(() => v.current);
|
1196
|
-
async function p() {
|
1197
|
-
a.params._id ? await Z.update(a.params._id, c.value) : await Z.create(v.current, S.user._id);
|
1198
|
-
}
|
1199
|
-
function l() {
|
1200
|
-
d.replace({ name: "Organization", params: { _id: v.current._id } });
|
1201
|
-
}
|
1202
|
-
return (u, i) => (o(), r("div", On, [
|
1203
|
-
Ln,
|
1204
|
-
Sn,
|
1205
|
-
h(Ue, {
|
1206
|
-
modelValue: v.current.types,
|
1207
|
-
"onUpdate:modelValue": i[0] || (i[0] = (m) => v.current.types = m),
|
1208
|
-
options: ["public", "exclusive", "hidden"],
|
1209
|
-
multiple: !1,
|
1210
|
-
taggable: !1,
|
1211
|
-
placeholder: "Type to search or add type of organization",
|
1212
|
-
class: "mn-semi bg-grey pd-medium radius-small"
|
1213
|
-
}, null, 8, ["modelValue"]),
|
1214
|
-
Pn,
|
1215
|
-
n("div", zn, [
|
1216
|
-
h(ze, {
|
1217
|
-
photo: v.current.profile.photo,
|
1218
|
-
"onUpdate:photo": i[1] || (i[1] = (m) => v.current.profile.photo = m),
|
1219
|
-
uploadPath: "organizations/" + v.current._id + "/avatars",
|
1220
|
-
class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
|
1221
|
-
}, null, 8, ["photo", "uploadPath"]),
|
1222
|
-
Mn
|
1223
|
-
]),
|
1224
|
-
h(D, {
|
1225
|
-
field: v.current.profile.name,
|
1226
|
-
"onUpdate:field": i[2] || (i[2] = (m) => v.current.profile.name = m),
|
1227
|
-
placeholder: "Name of organization",
|
1228
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1229
|
-
}, null, 8, ["field"]),
|
1230
|
-
h(D, {
|
1231
|
-
field: v.current.profile.description,
|
1232
|
-
"onUpdate:field": i[3] || (i[3] = (m) => v.current.profile.description = m),
|
1233
|
-
placeholder: "Brief description of your group",
|
1234
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1235
|
-
}, null, 8, ["field"]),
|
1236
|
-
h(Ee, {
|
1237
|
-
onTagsChanged: i[4] || (i[4] = (m) => v.current.profile.tags = m),
|
1238
|
-
tags: v.current.profile.tags
|
1239
|
-
}, null, 8, ["tags"]),
|
1240
|
-
Dn,
|
1241
|
-
An,
|
1242
|
-
h(D, {
|
1243
|
-
field: v.current.socials.instagram,
|
1244
|
-
"onUpdate:field": i[5] || (i[5] = (m) => v.current.socials.instagram = m),
|
1245
|
-
label: "Instagram",
|
1246
|
-
placeholder: "",
|
1247
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1248
|
-
}, null, 8, ["field"]),
|
1249
|
-
h(D, {
|
1250
|
-
field: v.current.socials.twitter,
|
1251
|
-
"onUpdate:field": i[6] || (i[6] = (m) => v.current.socials.twitter = m),
|
1252
|
-
label: "Twitter",
|
1253
|
-
placeholder: "",
|
1254
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1255
|
-
}, null, 8, ["field"]),
|
1256
|
-
h(D, {
|
1257
|
-
field: v.current.socials.facebook,
|
1258
|
-
"onUpdate:field": i[7] || (i[7] = (m) => v.current.socials.facebook = m),
|
1259
|
-
label: "Facebook",
|
1260
|
-
placeholder: "",
|
1261
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1262
|
-
}, null, 8, ["field"]),
|
1263
|
-
h(D, {
|
1264
|
-
field: v.current.socials.telegram,
|
1265
|
-
"onUpdate:field": i[8] || (i[8] = (m) => v.current.socials.telegram = m),
|
1266
|
-
label: "Telegram",
|
1267
|
-
placeholder: "",
|
1268
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
1269
|
-
}, null, 8, ["field"]),
|
1270
|
-
h(ce, {
|
1271
|
-
submit: p,
|
1272
|
-
callback: l,
|
1273
|
-
class: "mn-thin"
|
1274
|
-
}, {
|
1275
|
-
default: k(() => [
|
1276
|
-
N("Save")
|
1277
|
-
]),
|
1278
|
-
_: 1
|
1279
|
-
})
|
1280
|
-
]));
|
1281
|
-
}
|
1282
|
-
}, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1283
|
-
__proto__: null,
|
1284
|
-
default: Vn
|
1285
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
1286
|
-
const In = { class: "for-transition bg-white radius-big w-100" }, Tn = /* @__PURE__ */ n("header", { class: "flex-v-center flex-nowrap flex pd-semi" }, [
|
1287
|
-
/* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Weed dispensaries in Thailand")
|
1288
|
-
], -1), Bn = { class: "pd-semi" }, jn = {
|
1289
|
-
key: 1,
|
1290
|
-
class: "cols-3"
|
1291
|
-
}, Un = ["onClick"], En = ["src"], Fn = {
|
1292
|
-
key: 1,
|
1293
|
-
class: "radius-medium mn-small i-thin",
|
1294
|
-
width: "42",
|
1295
|
-
height: "42",
|
1296
|
-
viewBox: "0 0 42 42",
|
1297
|
-
fill: "none",
|
1298
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1299
|
-
}, qn = /* @__PURE__ */ n("circle", {
|
1300
|
-
fill: "rgb(var(--main))",
|
1301
|
-
cx: "21",
|
1302
|
-
cy: "21",
|
1303
|
-
r: "21"
|
1304
|
-
}, null, -1), Hn = /* @__PURE__ */ n("path", {
|
1305
|
-
fill: "#242424",
|
1306
|
-
"fill-opacity": "0.1",
|
1307
|
-
"fill-rule": "evenodd",
|
1308
|
-
"clip-rule": "evenodd",
|
1309
|
-
d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
|
1310
|
-
}, null, -1), Zn = [
|
1311
|
-
qn,
|
1312
|
-
Hn
|
1313
|
-
], Nn = { class: "h4 mn-r-semi mn-small" }, Rn = ["onClick"], Kn = /* @__PURE__ */ n("path", {
|
1314
|
-
fill: "black",
|
1315
|
-
d: "M6.41357 11.979C9.6831 11.979 12.3901 9.26611 12.3901 6.00244C12.3901 2.73291 9.67724 0.0258789 6.40771 0.0258789C3.14404 0.0258789 0.437008 2.73291 0.437008 6.00244C0.437008 9.26611 3.1499 11.979 6.41357 11.979ZM6.41357 10.9829C3.64795 10.9829 1.43896 8.76807 1.43896 6.00244C1.43896 3.23682 3.64209 1.02197 6.40771 1.02197C9.17334 1.02197 11.3882 3.23682 11.394 6.00244C11.3999 8.76807 9.1792 10.9829 6.41357 10.9829ZM8.72802 4.36182L9.1499 3.93408C9.3374 3.74072 9.35498 3.52979 9.1792 3.34814L9.04443 3.21924C8.86865 3.0376 8.65185 3.06104 8.46435 3.24854L8.03662 3.67041L8.72802 4.36182ZM4.53271 8.53955L8.37646 4.71338L7.68505 4.02197L3.84716 7.84814L3.51318 8.62158C3.45459 8.76807 3.59521 8.89697 3.72412 8.8501L4.53271 8.53955Z"
|
1316
|
-
}, null, -1), Wn = [
|
1317
|
-
Kn
|
1318
|
-
], Yn = { class: "t-black p-small" }, Oi = {
|
1319
|
-
__name: "Organizations",
|
1320
|
-
async setup(e) {
|
1321
|
-
let t, s;
|
1322
|
-
S.user._id && ([t, s] = Y(() => Z.read({ owner: S.user._id })), await t, s());
|
1323
|
-
const a = H(), d = q();
|
1324
|
-
let c = d.query.tab ? d.query.tab : "details";
|
1325
|
-
const p = b(c);
|
1326
|
-
return d.query.tab = p.value, F(p, (l) => {
|
1327
|
-
a.push({ query: { ...d.query, tab: l } });
|
1328
|
-
}), (l, u) => (o(), r("div", In, [
|
1329
|
-
Tn,
|
1330
|
-
n("div", Bn, [
|
1331
|
-
v.all.length < 1 ? (o(), $(fe, {
|
1332
|
-
key: 0,
|
1333
|
-
title: "You Haven't Joined Any Organization Yet",
|
1334
|
-
description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
|
1335
|
-
action: "Create organization",
|
1336
|
-
callback: l.a = () => l.$router.push("/app/organization/create/details")
|
1337
|
-
}, null, 8, ["callback"])) : (o(), r("div", jn, [
|
1338
|
-
(o(!0), r(O, null, L(v.all, (i) => (o(), r("div", {
|
1339
|
-
key: i._id,
|
1340
|
-
class: "mn-small radius-medium pd-medium br-2px br-solid br-grey",
|
1341
|
-
onClick: (m) => l.$router.push({ name: "Organization", params: { _id: i._id } })
|
1342
|
-
}, [
|
1343
|
-
i.profile.photo.length > 0 ? (o(), r("img", {
|
1344
|
-
key: 0,
|
1345
|
-
src: i.profile.photo,
|
1346
|
-
class: "radius-medium mn-small i-thin"
|
1347
|
-
}, null, 8, En)) : (o(), r("svg", Fn, Zn)),
|
1348
|
-
n("p", Nn, f(i.profile.name), 1),
|
1349
|
-
(o(), r("svg", {
|
1350
|
-
onClick: re((m) => l.$router.push({ name: "Organization Edit", params: { _id: i._id } }), ["stop"]),
|
1351
|
-
class: "t-transp hover-scale-1 z-index-1 pos-absolute pos-t-regular pos-r-regular i-medium",
|
1352
|
-
width: "13",
|
1353
|
-
height: "12",
|
1354
|
-
viewBox: "0 0 13 12",
|
1355
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1356
|
-
}, Wn, 8, Rn)),
|
1357
|
-
n("p", Yn, f(i.profile.description.slice(0, 120) + "..."), 1)
|
1358
|
-
], 8, Un))), 128))
|
1359
|
-
]))
|
1360
|
-
])
|
1361
|
-
]));
|
1362
|
-
}
|
1363
|
-
};
|
1364
|
-
const Jn = {
|
1365
|
-
key: 0,
|
1366
|
-
class: "t-transp mn-r-small"
|
1367
|
-
}, Qn = ["placeholder", "value"], Xn = {
|
1368
|
-
key: 0,
|
1369
|
-
class: "mn-t-thin invalid-feedback"
|
1370
|
-
}, Gn = {
|
1371
|
-
__name: "Address",
|
1372
|
-
props: {
|
1373
|
-
apiKey: {
|
1374
|
-
type: String,
|
1375
|
-
required: !0
|
1376
|
-
},
|
1377
|
-
label: null,
|
1378
|
-
placeholder: "Enter something here",
|
1379
|
-
field: null,
|
1380
|
-
location: {
|
1381
|
-
type: Object,
|
1382
|
-
default: { lat: 48.6900735, lng: 41.1620239 }
|
1383
|
-
},
|
1384
|
-
address: {
|
1385
|
-
type: String,
|
1386
|
-
default: ""
|
1387
|
-
}
|
1388
|
-
},
|
1389
|
-
emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
|
1390
|
-
setup(e, { emit: t }) {
|
1391
|
-
const s = e, a = b(null);
|
1392
|
-
let d;
|
1393
|
-
const c = () => {
|
1394
|
-
d = new google.maps.places.Autocomplete(a.value), d.addListener("place_changed", l);
|
1395
|
-
}, p = () => {
|
1396
|
-
d || c();
|
1397
|
-
}, l = () => {
|
1398
|
-
const u = d.getPlace();
|
1399
|
-
if (!u.geometry || !u.address_components)
|
1400
|
-
return;
|
1401
|
-
let i = "", m = "", w = "";
|
1402
|
-
for (let K = 0; K < u.address_components.length; K++) {
|
1403
|
-
console.log(u.address_components);
|
1404
|
-
let M = u.address_components[K];
|
1405
|
-
M.types.includes("country") && (i = M.long_name), M.types.includes("administrative_area_level_1") && (m = M.long_name), M.types.includes("locality") && (w = M.long_name);
|
1406
|
-
}
|
1407
|
-
const P = u.formatted_address, T = { lat: u.geometry.location.lat(), lng: u.geometry.location.lng() };
|
1408
|
-
t("update:address", P), t("update:location", T), t("update:country", i), t("update:state", m), t("update:city", w);
|
1409
|
-
};
|
1410
|
-
return de(() => {
|
1411
|
-
s.address !== a.value && (a.value = s.address);
|
1412
|
-
}), pe(() => {
|
1413
|
-
c();
|
1414
|
-
}), (u, i) => (o(), r("div", {
|
1415
|
-
class: te([u.$attrs.class, "flex-nowrap flex"])
|
1416
|
-
}, [
|
1417
|
-
e.label ? (o(), r("div", Jn, [
|
1418
|
-
n("span", null, f(e.label), 1)
|
1419
|
-
])) : g("", !0),
|
1420
|
-
n("input", {
|
1421
|
-
ref_key: "addressInput",
|
1422
|
-
ref: a,
|
1423
|
-
class: "w-100",
|
1424
|
-
placeholder: e.placeholder,
|
1425
|
-
value: e.address,
|
1426
|
-
onInput: p
|
1427
|
-
}, null, 40, Qn),
|
1428
|
-
h(R, {
|
1429
|
-
mode: "out-in",
|
1430
|
-
name: "fade"
|
1431
|
-
}, {
|
1432
|
-
default: k(() => [
|
1433
|
-
u.validation ? (o(), r("div", Xn, " * " + f(u.validation.message), 1)) : g("", !0)
|
1434
|
-
]),
|
1435
|
-
_: 1
|
1436
|
-
})
|
1437
|
-
], 2));
|
1438
|
-
}
|
1439
|
-
}, ea = /* @__PURE__ */ V(Gn, [["__scopeId", "data-v-faece1a6"]]);
|
1440
|
-
const ta = (e) => (me("data-v-1c7971e5"), e = e(), he(), e), sa = { class: "map-container" }, na = /* @__PURE__ */ ta(() => /* @__PURE__ */ n("svg", {
|
1441
|
-
class: "i-medium",
|
1442
|
-
width: "98",
|
1443
|
-
height: "98",
|
1444
|
-
viewBox: "0 0 98 98",
|
1445
|
-
fill: "none",
|
1446
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1447
|
-
}, [
|
1448
|
-
/* @__PURE__ */ n("path", {
|
1449
|
-
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
1450
|
-
fill: "white"
|
1451
|
-
}),
|
1452
|
-
/* @__PURE__ */ n("path", {
|
1453
|
-
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
1454
|
-
fill: "white"
|
1455
|
-
})
|
1456
|
-
], -1)), aa = [
|
1457
|
-
na
|
1458
|
-
], oa = {
|
1459
|
-
__name: "LocationMarker",
|
1460
|
-
props: {
|
1461
|
-
location: {
|
1462
|
-
type: Object,
|
1463
|
-
default: { lat: 48.6900735, lng: 41.1620239 }
|
1464
|
-
},
|
1465
|
-
address: {
|
1466
|
-
type: String,
|
1467
|
-
default: ""
|
1468
|
-
},
|
1469
|
-
apiKey: String
|
1470
|
-
},
|
1471
|
-
emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
|
1472
|
-
setup(e, { emit: t }) {
|
1473
|
-
const s = e, a = b(null);
|
1474
|
-
let d, c;
|
1475
|
-
pe(() => {
|
1476
|
-
d = new google.maps.Map(a.value, {
|
1477
|
-
center: s.location,
|
1478
|
-
zoom: 15,
|
1479
|
-
mapTypeControl: !1,
|
1480
|
-
fullscreenControl: !1
|
1481
|
-
}), c = new google.maps.Marker({
|
1482
|
-
position: s.location,
|
1483
|
-
map: d,
|
1484
|
-
draggable: !0
|
1485
|
-
}), c.addListener("dragend", (u) => {
|
1486
|
-
const i = { lat: u.latLng.lat(), lng: u.latLng.lng() };
|
1487
|
-
t("update:location", i), p(i);
|
1488
|
-
});
|
1489
|
-
}), de(() => {
|
1490
|
-
s.location && c && c.setPosition(new google.maps.LatLng(s.location.lat, s.location.lng));
|
1491
|
-
}), de(() => {
|
1492
|
-
if (s.location && d) {
|
1493
|
-
const u = new google.maps.LatLng(s.location.lat, s.location.lng);
|
1494
|
-
d.setCenter(u);
|
1495
|
-
}
|
1496
|
-
});
|
1497
|
-
function p(u) {
|
1498
|
-
new google.maps.Geocoder().geocode({ location: u }, (m, w) => {
|
1499
|
-
if (w === "OK")
|
1500
|
-
if (m[0]) {
|
1501
|
-
t("update:address", m[0].formatted_address);
|
1502
|
-
let P = "", T = "", K = "";
|
1503
|
-
m[0].address_components.forEach((M) => {
|
1504
|
-
M.types.includes("country") && (P = M.long_name), M.types.includes("administrative_area_level_1") && (T = M.long_name), M.types.includes("locality") && (K = M.long_name);
|
1505
|
-
}), t("update:country", P), t("update:state", T), t("update:city", K);
|
1506
|
-
} else
|
1507
|
-
console.error("No results found");
|
1508
|
-
else
|
1509
|
-
console.error("Geocoder failed due to: " + w);
|
1510
|
-
});
|
1511
|
-
}
|
1512
|
-
async function l() {
|
1513
|
-
navigator.geolocation ? navigator.geolocation.getCurrentPosition((u) => {
|
1514
|
-
const i = { lat: u.coords.latitude, lng: u.coords.longitude };
|
1515
|
-
t("update:location", i), p(i);
|
1516
|
-
}, () => {
|
1517
|
-
console.error("Error getting location");
|
1518
|
-
}) : console.error("Geolocation is not supported by this browser.");
|
1519
|
-
}
|
1520
|
-
return (u, i) => (o(), r("div", sa, [
|
1521
|
-
n("div", {
|
1522
|
-
ref_key: "mapContainer",
|
1523
|
-
ref: a,
|
1524
|
-
class: "w-100 h-100"
|
1525
|
-
}, null, 512),
|
1526
|
-
n("button", {
|
1527
|
-
class: "pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",
|
1528
|
-
onClick: l
|
1529
|
-
}, aa)
|
1530
|
-
]));
|
1531
|
-
}
|
1532
|
-
}, ia = /* @__PURE__ */ V(oa, [["__scopeId", "data-v-1c7971e5"]]);
|
1533
|
-
var la = Object.defineProperty, ra = Object.defineProperties, da = Object.getOwnPropertyDescriptors, xe = Object.getOwnPropertySymbols, ca = Object.prototype.hasOwnProperty, ua = Object.prototype.propertyIsEnumerable, ke = (e, t, s) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, X = (e, t) => {
|
1534
|
-
for (var s in t || (t = {}))
|
1535
|
-
ca.call(t, s) && ke(e, s, t[s]);
|
1536
|
-
if (xe)
|
1537
|
-
for (var s of xe(t))
|
1538
|
-
ua.call(t, s) && ke(e, s, t[s]);
|
1539
|
-
return e;
|
1540
|
-
}, Oe = (e, t) => ra(e, da(t));
|
1541
|
-
const pa = {
|
1542
|
-
props: {
|
1543
|
-
autoscroll: {
|
1544
|
-
type: Boolean,
|
1545
|
-
default: !0
|
1546
|
-
}
|
1547
|
-
},
|
1548
|
-
watch: {
|
1549
|
-
typeAheadPointer() {
|
1550
|
-
this.autoscroll && this.maybeAdjustScroll();
|
1551
|
-
},
|
1552
|
-
open(e) {
|
1553
|
-
this.autoscroll && e && this.$nextTick(() => this.maybeAdjustScroll());
|
1554
|
-
}
|
1555
|
-
},
|
1556
|
-
methods: {
|
1557
|
-
maybeAdjustScroll() {
|
1558
|
-
var e;
|
1559
|
-
const t = ((e = this.$refs.dropdownMenu) == null ? void 0 : e.children[this.typeAheadPointer]) || !1;
|
1560
|
-
if (t) {
|
1561
|
-
const s = this.getDropdownViewport(), { top: a, bottom: d, height: c } = t.getBoundingClientRect();
|
1562
|
-
if (a < s.top)
|
1563
|
-
return this.$refs.dropdownMenu.scrollTop = t.offsetTop;
|
1564
|
-
if (d > s.bottom)
|
1565
|
-
return this.$refs.dropdownMenu.scrollTop = t.offsetTop - (s.height - c);
|
1566
|
-
}
|
1567
|
-
},
|
1568
|
-
getDropdownViewport() {
|
1569
|
-
return this.$refs.dropdownMenu ? this.$refs.dropdownMenu.getBoundingClientRect() : {
|
1570
|
-
height: 0,
|
1571
|
-
top: 0,
|
1572
|
-
bottom: 0
|
1573
|
-
};
|
1574
|
-
}
|
1575
|
-
}
|
1576
|
-
}, ma = {
|
1577
|
-
data() {
|
1578
|
-
return {
|
1579
|
-
typeAheadPointer: -1
|
1580
|
-
};
|
1581
|
-
},
|
1582
|
-
watch: {
|
1583
|
-
filteredOptions() {
|
1584
|
-
for (let e = 0; e < this.filteredOptions.length; e++)
|
1585
|
-
if (this.selectable(this.filteredOptions[e])) {
|
1586
|
-
this.typeAheadPointer = e;
|
1587
|
-
break;
|
1588
|
-
}
|
1589
|
-
},
|
1590
|
-
open(e) {
|
1591
|
-
e && this.typeAheadToLastSelected();
|
1592
|
-
},
|
1593
|
-
selectedValue() {
|
1594
|
-
this.open && this.typeAheadToLastSelected();
|
1595
|
-
}
|
1596
|
-
},
|
1597
|
-
methods: {
|
1598
|
-
typeAheadUp() {
|
1599
|
-
for (let e = this.typeAheadPointer - 1; e >= 0; e--)
|
1600
|
-
if (this.selectable(this.filteredOptions[e])) {
|
1601
|
-
this.typeAheadPointer = e;
|
1602
|
-
break;
|
1603
|
-
}
|
1604
|
-
},
|
1605
|
-
typeAheadDown() {
|
1606
|
-
for (let e = this.typeAheadPointer + 1; e < this.filteredOptions.length; e++)
|
1607
|
-
if (this.selectable(this.filteredOptions[e])) {
|
1608
|
-
this.typeAheadPointer = e;
|
1609
|
-
break;
|
1610
|
-
}
|
1611
|
-
},
|
1612
|
-
typeAheadSelect() {
|
1613
|
-
const e = this.filteredOptions[this.typeAheadPointer];
|
1614
|
-
e && this.selectable(e) && this.select(e);
|
1615
|
-
},
|
1616
|
-
typeAheadToLastSelected() {
|
1617
|
-
this.typeAheadPointer = this.selectedValue.length !== 0 ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;
|
1618
|
-
}
|
1619
|
-
}
|
1620
|
-
}, ha = {
|
1621
|
-
props: {
|
1622
|
-
loading: {
|
1623
|
-
type: Boolean,
|
1624
|
-
default: !1
|
1625
|
-
}
|
1626
|
-
},
|
1627
|
-
data() {
|
1628
|
-
return {
|
1629
|
-
mutableLoading: !1
|
1630
|
-
};
|
1631
|
-
},
|
1632
|
-
watch: {
|
1633
|
-
search() {
|
1634
|
-
this.$emit("search", this.search, this.toggleLoading);
|
1635
|
-
},
|
1636
|
-
loading(e) {
|
1637
|
-
this.mutableLoading = e;
|
1638
|
-
}
|
1639
|
-
},
|
1640
|
-
methods: {
|
1641
|
-
toggleLoading(e = null) {
|
1642
|
-
return e == null ? this.mutableLoading = !this.mutableLoading : this.mutableLoading = e;
|
1643
|
-
}
|
1644
|
-
}
|
1645
|
-
}, be = (e, t) => {
|
1646
|
-
const s = e.__vccOpts || e;
|
1647
|
-
for (const [a, d] of t)
|
1648
|
-
s[a] = d;
|
1649
|
-
return s;
|
1650
|
-
}, _a = {}, fa = {
|
1651
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1652
|
-
width: "10",
|
1653
|
-
height: "10"
|
1654
|
-
}, ga = /* @__PURE__ */ n("path", { d: "M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z" }, null, -1), ba = [
|
1655
|
-
ga
|
1656
|
-
];
|
1657
|
-
function va(e, t) {
|
1658
|
-
return o(), r("svg", fa, ba);
|
1659
|
-
}
|
1660
|
-
const ya = /* @__PURE__ */ be(_a, [["render", va]]), wa = {}, $a = {
|
1661
|
-
xmlns: "http://www.w3.org/2000/svg",
|
1662
|
-
width: "14",
|
1663
|
-
height: "10"
|
1664
|
-
}, Ca = /* @__PURE__ */ n("path", { d: "M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z" }, null, -1), xa = [
|
1665
|
-
Ca
|
1666
|
-
];
|
1667
|
-
function ka(e, t) {
|
1668
|
-
return o(), r("svg", $a, xa);
|
1669
|
-
}
|
1670
|
-
const Oa = /* @__PURE__ */ be(wa, [["render", ka]]), Le = {
|
1671
|
-
Deselect: ya,
|
1672
|
-
OpenIndicator: Oa
|
1673
|
-
}, La = {
|
1674
|
-
mounted(e, { instance: t }) {
|
1675
|
-
if (t.appendToBody) {
|
1676
|
-
const {
|
1677
|
-
height: s,
|
1678
|
-
top: a,
|
1679
|
-
left: d,
|
1680
|
-
width: c
|
1681
|
-
} = t.$refs.toggle.getBoundingClientRect();
|
1682
|
-
let p = window.scrollX || window.pageXOffset, l = window.scrollY || window.pageYOffset;
|
1683
|
-
e.unbindPosition = t.calculatePosition(e, t, {
|
1684
|
-
width: c + "px",
|
1685
|
-
left: p + d + "px",
|
1686
|
-
top: l + a + s + "px"
|
1687
|
-
}), document.body.appendChild(e);
|
1688
|
-
}
|
1689
|
-
},
|
1690
|
-
unmounted(e, { instance: t }) {
|
1691
|
-
t.appendToBody && (e.unbindPosition && typeof e.unbindPosition == "function" && e.unbindPosition(), e.parentNode && e.parentNode.removeChild(e));
|
1692
|
-
}
|
1693
|
-
};
|
1694
|
-
function Sa(e) {
|
1695
|
-
const t = {};
|
1696
|
-
return Object.keys(e).sort().forEach((s) => {
|
1697
|
-
t[s] = e[s];
|
1698
|
-
}), JSON.stringify(t);
|
1699
|
-
}
|
1700
|
-
let Pa = 0;
|
1701
|
-
function za() {
|
1702
|
-
return ++Pa;
|
1703
|
-
}
|
1704
|
-
const Ma = {
|
1705
|
-
components: X({}, Le),
|
1706
|
-
directives: { appendToBody: La },
|
1707
|
-
mixins: [pa, ma, ha],
|
1708
|
-
compatConfig: {
|
1709
|
-
MODE: 3
|
1710
|
-
},
|
1711
|
-
emits: [
|
1712
|
-
"open",
|
1713
|
-
"close",
|
1714
|
-
"update:modelValue",
|
1715
|
-
"search",
|
1716
|
-
"search:compositionstart",
|
1717
|
-
"search:compositionend",
|
1718
|
-
"search:keydown",
|
1719
|
-
"search:blur",
|
1720
|
-
"search:focus",
|
1721
|
-
"search:input",
|
1722
|
-
"option:created",
|
1723
|
-
"option:selecting",
|
1724
|
-
"option:selected",
|
1725
|
-
"option:deselecting",
|
1726
|
-
"option:deselected"
|
1727
|
-
],
|
1728
|
-
props: {
|
1729
|
-
modelValue: {},
|
1730
|
-
components: {
|
1731
|
-
type: Object,
|
1732
|
-
default: () => ({})
|
1733
|
-
},
|
1734
|
-
options: {
|
1735
|
-
type: Array,
|
1736
|
-
default() {
|
1737
|
-
return [];
|
1738
|
-
}
|
1739
|
-
},
|
1740
|
-
disabled: {
|
1741
|
-
type: Boolean,
|
1742
|
-
default: !1
|
1743
|
-
},
|
1744
|
-
clearable: {
|
1745
|
-
type: Boolean,
|
1746
|
-
default: !0
|
1747
|
-
},
|
1748
|
-
deselectFromDropdown: {
|
1749
|
-
type: Boolean,
|
1750
|
-
default: !1
|
1751
|
-
},
|
1752
|
-
searchable: {
|
1753
|
-
type: Boolean,
|
1754
|
-
default: !0
|
1755
|
-
},
|
1756
|
-
multiple: {
|
1757
|
-
type: Boolean,
|
1758
|
-
default: !1
|
1759
|
-
},
|
1760
|
-
placeholder: {
|
1761
|
-
type: String,
|
1762
|
-
default: ""
|
1763
|
-
},
|
1764
|
-
transition: {
|
1765
|
-
type: String,
|
1766
|
-
default: "vs__fade"
|
1767
|
-
},
|
1768
|
-
clearSearchOnSelect: {
|
1769
|
-
type: Boolean,
|
1770
|
-
default: !0
|
1771
|
-
},
|
1772
|
-
closeOnSelect: {
|
1773
|
-
type: Boolean,
|
1774
|
-
default: !0
|
1775
|
-
},
|
1776
|
-
label: {
|
1777
|
-
type: String,
|
1778
|
-
default: "label"
|
1779
|
-
},
|
1780
|
-
autocomplete: {
|
1781
|
-
type: String,
|
1782
|
-
default: "off"
|
1783
|
-
},
|
1784
|
-
reduce: {
|
1785
|
-
type: Function,
|
1786
|
-
default: (e) => e
|
1787
|
-
},
|
1788
|
-
selectable: {
|
1789
|
-
type: Function,
|
1790
|
-
default: (e) => !0
|
1791
|
-
},
|
1792
|
-
getOptionLabel: {
|
1793
|
-
type: Function,
|
1794
|
-
default(e) {
|
1795
|
-
return typeof e == "object" ? e.hasOwnProperty(this.label) ? e[this.label] : console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
|
1796
|
-
https://vue-select.org/api/props.html#getoptionlabel`) : e;
|
1797
|
-
}
|
1798
|
-
},
|
1799
|
-
getOptionKey: {
|
1800
|
-
type: Function,
|
1801
|
-
default(e) {
|
1802
|
-
if (typeof e != "object")
|
1803
|
-
return e;
|
1804
|
-
try {
|
1805
|
-
return e.hasOwnProperty("id") ? e.id : Sa(e);
|
1806
|
-
} catch (t) {
|
1807
|
-
return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
|
1808
|
-
https://vue-select.org/api/props.html#getoptionkey`, e, t);
|
1809
|
-
}
|
1810
|
-
}
|
1811
|
-
},
|
1812
|
-
onTab: {
|
1813
|
-
type: Function,
|
1814
|
-
default: function() {
|
1815
|
-
this.selectOnTab && !this.isComposing && this.typeAheadSelect();
|
1816
|
-
}
|
1817
|
-
},
|
1818
|
-
taggable: {
|
1819
|
-
type: Boolean,
|
1820
|
-
default: !1
|
1821
|
-
},
|
1822
|
-
tabindex: {
|
1823
|
-
type: Number,
|
1824
|
-
default: null
|
1825
|
-
},
|
1826
|
-
pushTags: {
|
1827
|
-
type: Boolean,
|
1828
|
-
default: !1
|
1829
|
-
},
|
1830
|
-
filterable: {
|
1831
|
-
type: Boolean,
|
1832
|
-
default: !0
|
1833
|
-
},
|
1834
|
-
filterBy: {
|
1835
|
-
type: Function,
|
1836
|
-
default(e, t, s) {
|
1837
|
-
return (t || "").toLocaleLowerCase().indexOf(s.toLocaleLowerCase()) > -1;
|
1838
|
-
}
|
1839
|
-
},
|
1840
|
-
filter: {
|
1841
|
-
type: Function,
|
1842
|
-
default(e, t) {
|
1843
|
-
return e.filter((s) => {
|
1844
|
-
let a = this.getOptionLabel(s);
|
1845
|
-
return typeof a == "number" && (a = a.toString()), this.filterBy(s, a, t);
|
1846
|
-
});
|
1847
|
-
}
|
1848
|
-
},
|
1849
|
-
createOption: {
|
1850
|
-
type: Function,
|
1851
|
-
default(e) {
|
1852
|
-
return typeof this.optionList[0] == "object" ? { [this.label]: e } : e;
|
1853
|
-
}
|
1854
|
-
},
|
1855
|
-
resetOnOptionsChange: {
|
1856
|
-
default: !1,
|
1857
|
-
validator: (e) => ["function", "boolean"].includes(typeof e)
|
1858
|
-
},
|
1859
|
-
clearSearchOnBlur: {
|
1860
|
-
type: Function,
|
1861
|
-
default: function({ clearSearchOnSelect: e, multiple: t }) {
|
1862
|
-
return e && !t;
|
1863
|
-
}
|
1864
|
-
},
|
1865
|
-
noDrop: {
|
1866
|
-
type: Boolean,
|
1867
|
-
default: !1
|
1868
|
-
},
|
1869
|
-
inputId: {
|
1870
|
-
type: String
|
1871
|
-
},
|
1872
|
-
dir: {
|
1873
|
-
type: String,
|
1874
|
-
default: "auto"
|
1875
|
-
},
|
1876
|
-
selectOnTab: {
|
1877
|
-
type: Boolean,
|
1878
|
-
default: !1
|
1879
|
-
},
|
1880
|
-
selectOnKeyCodes: {
|
1881
|
-
type: Array,
|
1882
|
-
default: () => [13]
|
1883
|
-
},
|
1884
|
-
searchInputQuerySelector: {
|
1885
|
-
type: String,
|
1886
|
-
default: "[type=search]"
|
1887
|
-
},
|
1888
|
-
mapKeydown: {
|
1889
|
-
type: Function,
|
1890
|
-
default: (e, t) => e
|
1891
|
-
},
|
1892
|
-
appendToBody: {
|
1893
|
-
type: Boolean,
|
1894
|
-
default: !1
|
1895
|
-
},
|
1896
|
-
calculatePosition: {
|
1897
|
-
type: Function,
|
1898
|
-
default(e, t, { width: s, top: a, left: d }) {
|
1899
|
-
e.style.top = a, e.style.left = d, e.style.width = s;
|
1900
|
-
}
|
1901
|
-
},
|
1902
|
-
dropdownShouldOpen: {
|
1903
|
-
type: Function,
|
1904
|
-
default({ noDrop: e, open: t, mutableLoading: s }) {
|
1905
|
-
return e ? !1 : t && !s;
|
1906
|
-
}
|
1907
|
-
},
|
1908
|
-
uid: {
|
1909
|
-
type: [String, Number],
|
1910
|
-
default: () => za()
|
1911
|
-
}
|
1912
|
-
},
|
1913
|
-
data() {
|
1914
|
-
return {
|
1915
|
-
search: "",
|
1916
|
-
open: !1,
|
1917
|
-
isComposing: !1,
|
1918
|
-
pushedTags: [],
|
1919
|
-
_value: [],
|
1920
|
-
deselectButtons: []
|
1921
|
-
};
|
1922
|
-
},
|
1923
|
-
computed: {
|
1924
|
-
isReducingValues() {
|
1925
|
-
return this.$props.reduce !== this.$options.props.reduce.default;
|
1926
|
-
},
|
1927
|
-
isTrackingValues() {
|
1928
|
-
return typeof this.modelValue > "u" || this.isReducingValues;
|
1929
|
-
},
|
1930
|
-
selectedValue() {
|
1931
|
-
let e = this.modelValue;
|
1932
|
-
return this.isTrackingValues && (e = this.$data._value), e != null && e !== "" ? [].concat(e) : [];
|
1933
|
-
},
|
1934
|
-
optionList() {
|
1935
|
-
return this.options.concat(this.pushTags ? this.pushedTags : []);
|
1936
|
-
},
|
1937
|
-
searchEl() {
|
1938
|
-
return this.$slots.search ? this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector) : this.$refs.search;
|
1939
|
-
},
|
1940
|
-
scope() {
|
1941
|
-
const e = {
|
1942
|
-
search: this.search,
|
1943
|
-
loading: this.loading,
|
1944
|
-
searching: this.searching,
|
1945
|
-
filteredOptions: this.filteredOptions
|
1946
|
-
};
|
1947
|
-
return {
|
1948
|
-
search: {
|
1949
|
-
attributes: X({
|
1950
|
-
disabled: this.disabled,
|
1951
|
-
placeholder: this.searchPlaceholder,
|
1952
|
-
tabindex: this.tabindex,
|
1953
|
-
readonly: !this.searchable,
|
1954
|
-
id: this.inputId,
|
1955
|
-
"aria-autocomplete": "list",
|
1956
|
-
"aria-labelledby": `vs${this.uid}__combobox`,
|
1957
|
-
"aria-controls": `vs${this.uid}__listbox`,
|
1958
|
-
ref: "search",
|
1959
|
-
type: "search",
|
1960
|
-
autocomplete: this.autocomplete,
|
1961
|
-
value: this.search
|
1962
|
-
}, this.dropdownOpen && this.filteredOptions[this.typeAheadPointer] ? {
|
1963
|
-
"aria-activedescendant": `vs${this.uid}__option-${this.typeAheadPointer}`
|
1964
|
-
} : {}),
|
1965
|
-
events: {
|
1966
|
-
compositionstart: () => this.isComposing = !0,
|
1967
|
-
compositionend: () => this.isComposing = !1,
|
1968
|
-
keydown: this.onSearchKeyDown,
|
1969
|
-
blur: this.onSearchBlur,
|
1970
|
-
focus: this.onSearchFocus,
|
1971
|
-
input: (t) => this.search = t.target.value
|
1972
|
-
}
|
1973
|
-
},
|
1974
|
-
spinner: {
|
1975
|
-
loading: this.mutableLoading
|
1976
|
-
},
|
1977
|
-
noOptions: {
|
1978
|
-
search: this.search,
|
1979
|
-
loading: this.mutableLoading,
|
1980
|
-
searching: this.searching
|
1981
|
-
},
|
1982
|
-
openIndicator: {
|
1983
|
-
attributes: {
|
1984
|
-
ref: "openIndicator",
|
1985
|
-
role: "presentation",
|
1986
|
-
class: "vs__open-indicator"
|
1987
|
-
}
|
1988
|
-
},
|
1989
|
-
listHeader: e,
|
1990
|
-
listFooter: e,
|
1991
|
-
header: Oe(X({}, e), { deselect: this.deselect }),
|
1992
|
-
footer: Oe(X({}, e), { deselect: this.deselect })
|
1993
|
-
};
|
1994
|
-
},
|
1995
|
-
childComponents() {
|
1996
|
-
return X(X({}, Le), this.components);
|
1997
|
-
},
|
1998
|
-
stateClasses() {
|
1999
|
-
return {
|
2000
|
-
"vs--open": this.dropdownOpen,
|
2001
|
-
"vs--single": !this.multiple,
|
2002
|
-
"vs--multiple": this.multiple,
|
2003
|
-
"vs--searching": this.searching && !this.noDrop,
|
2004
|
-
"vs--searchable": this.searchable && !this.noDrop,
|
2005
|
-
"vs--unsearchable": !this.searchable,
|
2006
|
-
"vs--loading": this.mutableLoading,
|
2007
|
-
"vs--disabled": this.disabled
|
2008
|
-
};
|
2009
|
-
},
|
2010
|
-
searching() {
|
2011
|
-
return !!this.search;
|
2012
|
-
},
|
2013
|
-
dropdownOpen() {
|
2014
|
-
return this.dropdownShouldOpen(this);
|
2015
|
-
},
|
2016
|
-
searchPlaceholder() {
|
2017
|
-
return this.isValueEmpty && this.placeholder ? this.placeholder : void 0;
|
2018
|
-
},
|
2019
|
-
filteredOptions() {
|
2020
|
-
const e = [].concat(this.optionList);
|
2021
|
-
if (!this.filterable && !this.taggable)
|
2022
|
-
return e;
|
2023
|
-
const t = this.search.length ? this.filter(e, this.search, this) : e;
|
2024
|
-
if (this.taggable && this.search.length) {
|
2025
|
-
const s = this.createOption(this.search);
|
2026
|
-
this.optionExists(s) || t.unshift(s);
|
2027
|
-
}
|
2028
|
-
return t;
|
2029
|
-
},
|
2030
|
-
isValueEmpty() {
|
2031
|
-
return this.selectedValue.length === 0;
|
2032
|
-
},
|
2033
|
-
showClearButton() {
|
2034
|
-
return !this.multiple && this.clearable && !this.open && !this.isValueEmpty;
|
2035
|
-
}
|
2036
|
-
},
|
2037
|
-
watch: {
|
2038
|
-
options(e, t) {
|
2039
|
-
const s = () => typeof this.resetOnOptionsChange == "function" ? this.resetOnOptionsChange(e, t, this.selectedValue) : this.resetOnOptionsChange;
|
2040
|
-
!this.taggable && s() && this.clearSelection(), this.modelValue && this.isTrackingValues && this.setInternalValueFromOptions(this.modelValue);
|
2041
|
-
},
|
2042
|
-
modelValue: {
|
2043
|
-
immediate: !0,
|
2044
|
-
handler(e) {
|
2045
|
-
this.isTrackingValues && this.setInternalValueFromOptions(e);
|
2046
|
-
}
|
2047
|
-
},
|
2048
|
-
multiple() {
|
2049
|
-
this.clearSelection();
|
2050
|
-
},
|
2051
|
-
open(e) {
|
2052
|
-
this.$emit(e ? "open" : "close");
|
2053
|
-
}
|
2054
|
-
},
|
2055
|
-
created() {
|
2056
|
-
this.mutableLoading = this.loading;
|
2057
|
-
},
|
2058
|
-
methods: {
|
2059
|
-
setInternalValueFromOptions(e) {
|
2060
|
-
Array.isArray(e) ? this.$data._value = e.map((t) => this.findOptionFromReducedValue(t)) : this.$data._value = this.findOptionFromReducedValue(e);
|
2061
|
-
},
|
2062
|
-
select(e) {
|
2063
|
-
this.$emit("option:selecting", e), this.isOptionSelected(e) ? this.deselectFromDropdown && (this.clearable || this.multiple && this.selectedValue.length > 1) && this.deselect(e) : (this.taggable && !this.optionExists(e) && (this.$emit("option:created", e), this.pushTag(e)), this.multiple && (e = this.selectedValue.concat(e)), this.updateValue(e), this.$emit("option:selected", e)), this.onAfterSelect(e);
|
2064
|
-
},
|
2065
|
-
deselect(e) {
|
2066
|
-
this.$emit("option:deselecting", e), this.updateValue(this.selectedValue.filter((t) => !this.optionComparator(t, e))), this.$emit("option:deselected", e);
|
2067
|
-
},
|
2068
|
-
clearSelection() {
|
2069
|
-
this.updateValue(this.multiple ? [] : null);
|
2070
|
-
},
|
2071
|
-
onAfterSelect(e) {
|
2072
|
-
this.closeOnSelect && (this.open = !this.open, this.searchEl.blur()), this.clearSearchOnSelect && (this.search = "");
|
2073
|
-
},
|
2074
|
-
updateValue(e) {
|
2075
|
-
typeof this.modelValue > "u" && (this.$data._value = e), e !== null && (Array.isArray(e) ? e = e.map((t) => this.reduce(t)) : e = this.reduce(e)), this.$emit("update:modelValue", e);
|
2076
|
-
},
|
2077
|
-
toggleDropdown(e) {
|
2078
|
-
const t = e.target !== this.searchEl;
|
2079
|
-
t && e.preventDefault();
|
2080
|
-
const s = [
|
2081
|
-
...this.deselectButtons || [],
|
2082
|
-
this.$refs.clearButton
|
2083
|
-
];
|
2084
|
-
if (this.searchEl === void 0 || s.filter(Boolean).some((a) => a.contains(e.target) || a === e.target)) {
|
2085
|
-
e.preventDefault();
|
2086
|
-
return;
|
2087
|
-
}
|
2088
|
-
this.open && t ? this.searchEl.blur() : this.disabled || (this.open = !0, this.searchEl.focus());
|
2089
|
-
},
|
2090
|
-
isOptionSelected(e) {
|
2091
|
-
return this.selectedValue.some((t) => this.optionComparator(t, e));
|
2092
|
-
},
|
2093
|
-
isOptionDeselectable(e) {
|
2094
|
-
return this.isOptionSelected(e) && this.deselectFromDropdown;
|
2095
|
-
},
|
2096
|
-
optionComparator(e, t) {
|
2097
|
-
return this.getOptionKey(e) === this.getOptionKey(t);
|
2098
|
-
},
|
2099
|
-
findOptionFromReducedValue(e) {
|
2100
|
-
const t = (a) => JSON.stringify(this.reduce(a)) === JSON.stringify(e), s = [...this.options, ...this.pushedTags].filter(t);
|
2101
|
-
return s.length === 1 ? s[0] : s.find((a) => this.optionComparator(a, this.$data._value)) || e;
|
2102
|
-
},
|
2103
|
-
closeSearchOptions() {
|
2104
|
-
this.open = !1, this.$emit("search:blur");
|
2105
|
-
},
|
2106
|
-
maybeDeleteValue() {
|
2107
|
-
if (!this.searchEl.value.length && this.selectedValue && this.selectedValue.length && this.clearable) {
|
2108
|
-
let e = null;
|
2109
|
-
this.multiple && (e = [
|
2110
|
-
...this.selectedValue.slice(0, this.selectedValue.length - 1)
|
2111
|
-
]), this.updateValue(e);
|
2112
|
-
}
|
2113
|
-
},
|
2114
|
-
optionExists(e) {
|
2115
|
-
return this.optionList.some((t) => this.optionComparator(t, e));
|
2116
|
-
},
|
2117
|
-
normalizeOptionForSlot(e) {
|
2118
|
-
return typeof e == "object" ? e : { [this.label]: e };
|
2119
|
-
},
|
2120
|
-
pushTag(e) {
|
2121
|
-
this.pushedTags.push(e);
|
2122
|
-
},
|
2123
|
-
onEscape() {
|
2124
|
-
this.search.length ? this.search = "" : this.searchEl.blur();
|
2125
|
-
},
|
2126
|
-
onSearchBlur() {
|
2127
|
-
if (this.mousedown && !this.searching)
|
2128
|
-
this.mousedown = !1;
|
2129
|
-
else {
|
2130
|
-
const { clearSearchOnSelect: e, multiple: t } = this;
|
2131
|
-
this.clearSearchOnBlur({ clearSearchOnSelect: e, multiple: t }) && (this.search = ""), this.closeSearchOptions();
|
2132
|
-
return;
|
2133
|
-
}
|
2134
|
-
if (this.search.length === 0 && this.options.length === 0) {
|
2135
|
-
this.closeSearchOptions();
|
2136
|
-
return;
|
2137
|
-
}
|
2138
|
-
},
|
2139
|
-
onSearchFocus() {
|
2140
|
-
this.open = !0, this.$emit("search:focus");
|
2141
|
-
},
|
2142
|
-
onMousedown() {
|
2143
|
-
this.mousedown = !0;
|
2144
|
-
},
|
2145
|
-
onMouseUp() {
|
2146
|
-
this.mousedown = !1;
|
2147
|
-
},
|
2148
|
-
onSearchKeyDown(e) {
|
2149
|
-
const t = (d) => (d.preventDefault(), !this.isComposing && this.typeAheadSelect()), s = {
|
2150
|
-
8: (d) => this.maybeDeleteValue(),
|
2151
|
-
9: (d) => this.onTab(),
|
2152
|
-
27: (d) => this.onEscape(),
|
2153
|
-
38: (d) => (d.preventDefault(), this.typeAheadUp()),
|
2154
|
-
40: (d) => (d.preventDefault(), this.typeAheadDown())
|
2155
|
-
};
|
2156
|
-
this.selectOnKeyCodes.forEach((d) => s[d] = t);
|
2157
|
-
const a = this.mapKeydown(s, this);
|
2158
|
-
if (typeof a[e.keyCode] == "function")
|
2159
|
-
return a[e.keyCode](e);
|
2160
|
-
}
|
2161
|
-
}
|
2162
|
-
}, Da = ["dir"], Aa = ["id", "aria-expanded", "aria-owns"], Va = {
|
2163
|
-
ref: "selectedOptions",
|
2164
|
-
class: "vs__selected-options"
|
2165
|
-
}, Ia = ["disabled", "title", "aria-label", "onClick"], Ta = {
|
2166
|
-
ref: "actions",
|
2167
|
-
class: "vs__actions"
|
2168
|
-
}, Ba = ["disabled"], ja = { class: "vs__spinner" }, Ua = ["id"], Ea = ["id", "aria-selected", "onMouseover", "onClick"], Fa = {
|
2169
|
-
key: 0,
|
2170
|
-
class: "vs__no-options"
|
2171
|
-
}, qa = /* @__PURE__ */ N(" Sorry, no matching options. "), Ha = ["id"];
|
2172
|
-
function Za(e, t, s, a, d, c) {
|
2173
|
-
const p = Ie("append-to-body");
|
2174
|
-
return o(), r("div", {
|
2175
|
-
dir: s.dir,
|
2176
|
-
class: te(["v-select", c.stateClasses])
|
2177
|
-
}, [
|
2178
|
-
z(e.$slots, "header", I(B(c.scope.header))),
|
2179
|
-
n("div", {
|
2180
|
-
id: `vs${s.uid}__combobox`,
|
2181
|
-
ref: "toggle",
|
2182
|
-
class: "vs__dropdown-toggle",
|
2183
|
-
role: "combobox",
|
2184
|
-
"aria-expanded": c.dropdownOpen.toString(),
|
2185
|
-
"aria-owns": `vs${s.uid}__listbox`,
|
2186
|
-
"aria-label": "Search for option",
|
2187
|
-
onMousedown: t[1] || (t[1] = (l) => c.toggleDropdown(l))
|
2188
|
-
}, [
|
2189
|
-
n("div", Va, [
|
2190
|
-
(o(!0), r(O, null, L(c.selectedValue, (l, u) => z(e.$slots, "selected-option-container", {
|
2191
|
-
option: c.normalizeOptionForSlot(l),
|
2192
|
-
deselect: c.deselect,
|
2193
|
-
multiple: s.multiple,
|
2194
|
-
disabled: s.disabled
|
2195
|
-
}, () => [
|
2196
|
-
(o(), r("span", {
|
2197
|
-
key: s.getOptionKey(l),
|
2198
|
-
class: "vs__selected"
|
2199
|
-
}, [
|
2200
|
-
z(e.$slots, "selected-option", I(B(c.normalizeOptionForSlot(l))), () => [
|
2201
|
-
N(f(s.getOptionLabel(l)), 1)
|
2202
|
-
]),
|
2203
|
-
s.multiple ? (o(), r("button", {
|
2204
|
-
key: 0,
|
2205
|
-
ref_for: !0,
|
2206
|
-
ref: (i) => d.deselectButtons[u] = i,
|
2207
|
-
disabled: s.disabled,
|
2208
|
-
type: "button",
|
2209
|
-
class: "vs__deselect",
|
2210
|
-
title: `Deselect ${s.getOptionLabel(l)}`,
|
2211
|
-
"aria-label": `Deselect ${s.getOptionLabel(l)}`,
|
2212
|
-
onClick: (i) => c.deselect(l)
|
2213
|
-
}, [
|
2214
|
-
(o(), $(le(c.childComponents.Deselect)))
|
2215
|
-
], 8, Ia)) : g("", !0)
|
2216
|
-
]))
|
2217
|
-
])), 256)),
|
2218
|
-
z(e.$slots, "search", I(B(c.scope.search)), () => [
|
2219
|
-
n("input", ve({ class: "vs__search" }, c.scope.search.attributes, Te(c.scope.search.events)), null, 16)
|
2220
|
-
])
|
2221
|
-
], 512),
|
2222
|
-
n("div", Ta, [
|
2223
|
-
ne(n("button", {
|
2224
|
-
ref: "clearButton",
|
2225
|
-
disabled: s.disabled,
|
2226
|
-
type: "button",
|
2227
|
-
class: "vs__clear",
|
2228
|
-
title: "Clear Selected",
|
2229
|
-
"aria-label": "Clear Selected",
|
2230
|
-
onClick: t[0] || (t[0] = (...l) => c.clearSelection && c.clearSelection(...l))
|
2231
|
-
}, [
|
2232
|
-
(o(), $(le(c.childComponents.Deselect)))
|
2233
|
-
], 8, Ba), [
|
2234
|
-
[ye, c.showClearButton]
|
2235
|
-
]),
|
2236
|
-
z(e.$slots, "open-indicator", I(B(c.scope.openIndicator)), () => [
|
2237
|
-
s.noDrop ? g("", !0) : (o(), $(le(c.childComponents.OpenIndicator), I(ve({ key: 0 }, c.scope.openIndicator.attributes)), null, 16))
|
2238
|
-
]),
|
2239
|
-
z(e.$slots, "spinner", I(B(c.scope.spinner)), () => [
|
2240
|
-
ne(n("div", ja, "Loading...", 512), [
|
2241
|
-
[ye, e.mutableLoading]
|
2242
|
-
])
|
2243
|
-
])
|
2244
|
-
], 512)
|
2245
|
-
], 40, Aa),
|
2246
|
-
h(R, { name: s.transition }, {
|
2247
|
-
default: k(() => [
|
2248
|
-
c.dropdownOpen ? ne((o(), r("ul", {
|
2249
|
-
id: `vs${s.uid}__listbox`,
|
2250
|
-
ref: "dropdownMenu",
|
2251
|
-
key: `vs${s.uid}__listbox`,
|
2252
|
-
class: "vs__dropdown-menu",
|
2253
|
-
role: "listbox",
|
2254
|
-
tabindex: "-1",
|
2255
|
-
onMousedown: t[2] || (t[2] = re((...l) => c.onMousedown && c.onMousedown(...l), ["prevent"])),
|
2256
|
-
onMouseup: t[3] || (t[3] = (...l) => c.onMouseUp && c.onMouseUp(...l))
|
2257
|
-
}, [
|
2258
|
-
z(e.$slots, "list-header", I(B(c.scope.listHeader))),
|
2259
|
-
(o(!0), r(O, null, L(c.filteredOptions, (l, u) => (o(), r("li", {
|
2260
|
-
id: `vs${s.uid}__option-${u}`,
|
2261
|
-
key: s.getOptionKey(l),
|
2262
|
-
role: "option",
|
2263
|
-
class: te(["vs__dropdown-option", {
|
2264
|
-
"vs__dropdown-option--deselect": c.isOptionDeselectable(l) && u === e.typeAheadPointer,
|
2265
|
-
"vs__dropdown-option--selected": c.isOptionSelected(l),
|
2266
|
-
"vs__dropdown-option--highlight": u === e.typeAheadPointer,
|
2267
|
-
"vs__dropdown-option--disabled": !s.selectable(l)
|
2268
|
-
}]),
|
2269
|
-
"aria-selected": u === e.typeAheadPointer ? !0 : null,
|
2270
|
-
onMouseover: (i) => s.selectable(l) ? e.typeAheadPointer = u : null,
|
2271
|
-
onClick: re((i) => s.selectable(l) ? c.select(l) : null, ["prevent", "stop"])
|
2272
|
-
}, [
|
2273
|
-
z(e.$slots, "option", I(B(c.normalizeOptionForSlot(l))), () => [
|
2274
|
-
N(f(s.getOptionLabel(l)), 1)
|
2275
|
-
])
|
2276
|
-
], 42, Ea))), 128)),
|
2277
|
-
c.filteredOptions.length === 0 ? (o(), r("li", Fa, [
|
2278
|
-
z(e.$slots, "no-options", I(B(c.scope.noOptions)), () => [
|
2279
|
-
qa
|
2280
|
-
])
|
2281
|
-
])) : g("", !0),
|
2282
|
-
z(e.$slots, "list-footer", I(B(c.scope.listFooter)))
|
2283
|
-
], 40, Ua)), [
|
2284
|
-
[p]
|
2285
|
-
]) : (o(), r("ul", {
|
2286
|
-
key: 1,
|
2287
|
-
id: `vs${s.uid}__listbox`,
|
2288
|
-
role: "listbox",
|
2289
|
-
style: { display: "none", visibility: "hidden" }
|
2290
|
-
}, null, 8, Ha))
|
2291
|
-
]),
|
2292
|
-
_: 3
|
2293
|
-
}, 8, ["name"]),
|
2294
|
-
z(e.$slots, "footer", I(B(c.scope.footer)))
|
2295
|
-
], 10, Da);
|
2296
|
-
}
|
2297
|
-
const Ve = /* @__PURE__ */ be(Ma, [["render", Za]]);
|
2298
|
-
const Na = { class: "w-100" }, Ra = { class: "flex" }, Ka = { class: "mn-regular" }, Wa = { class: "flex-column flex-wrap block" }, Ya = {
|
2299
|
-
key: 0,
|
2300
|
-
class: "w-100"
|
2301
|
-
}, Ja = { class: "w-100 flex-center flex-nowrap flex" }, Qa = { class: "mn-r-regular w-100" }, Xa = ["onClick"], Ga = {
|
2302
|
-
key: 0,
|
2303
|
-
class: "mn-t-small mn-small w-100"
|
2304
|
-
}, Li = {
|
2305
|
-
__name: "EditArray",
|
2306
|
-
props: {
|
2307
|
-
name: Object,
|
2308
|
-
items: Array
|
2309
|
-
},
|
2310
|
-
emits: ["add", "remove"],
|
2311
|
-
setup(e, { emit: t }) {
|
2312
|
-
H(), q();
|
2313
|
-
let s = oe([]);
|
2314
|
-
Be(s);
|
2315
|
-
const a = b(null), d = b(null), c = b(null);
|
2316
|
-
A(() => {
|
2317
|
-
if (a.value === null || c.value === null || c.value === "")
|
2318
|
-
return !0;
|
2319
|
-
if (a.value.modifications.length > 0)
|
2320
|
-
return d.value === null;
|
2321
|
-
});
|
2322
|
-
function p(l) {
|
2323
|
-
store.commit("leftovers/deleteItemFromLeftover", l);
|
2324
|
-
}
|
2325
|
-
return (l, u) => (o(), r("div", Na, [
|
2326
|
-
n("div", Ra, [
|
2327
|
-
n("h3", Ka, f(e.name), 1)
|
2328
|
-
]),
|
2329
|
-
n("ul", Wa, [
|
2330
|
-
e.items.length < 1 ? (o(), r("span", Ya, "Вы еще не добавили позиции")) : g("", !0),
|
2331
|
-
(o(!0), r(O, null, L(e.items, (i, m) => (o(), r("li", {
|
2332
|
-
key: i._id,
|
2333
|
-
class: "w-100"
|
2334
|
-
}, [
|
2335
|
-
n("div", Ja, [
|
2336
|
-
n("span", Qa, f(i.name), 1),
|
2337
|
-
n("a", {
|
2338
|
-
class: "w-20 button",
|
2339
|
-
onClick: (w) => p(i)
|
2340
|
-
}, "Удалить", 8, Xa)
|
2341
|
-
]),
|
2342
|
-
m != e.items.length - 1 ? (o(), r("hr", Ga)) : g("", !0)
|
2343
|
-
]))), 128))
|
2344
|
-
])
|
2345
|
-
]));
|
2346
|
-
}
|
2347
|
-
};
|
2348
|
-
const eo = { class: "br-grey radius-small mn-small" }, to = {
|
2349
|
-
key: 1,
|
2350
|
-
class: "pd-small br-grey br-1px br-solid"
|
2351
|
-
}, so = ["disabled"], no = {
|
2352
|
-
__name: "DepartmentMemberModify",
|
2353
|
-
props: {
|
2354
|
-
isPopupOpen: Boolean,
|
2355
|
-
department: Number,
|
2356
|
-
departments: Array,
|
2357
|
-
maindepartment: Object,
|
2358
|
-
alldepartments: Array
|
2359
|
-
},
|
2360
|
-
emits: ["callback", "remove"],
|
2361
|
-
setup(e, { emit: t }) {
|
2362
|
-
const s = e, a = b({
|
2363
|
-
subdepartment: null
|
2364
|
-
});
|
2365
|
-
s.department !== null && (a.value = s.departments[s.department]);
|
2366
|
-
function d(u, i, m) {
|
2367
|
-
return u.filter((w) => !(i.some((P) => P._id === w._id) || m._id === w._id));
|
2368
|
-
}
|
2369
|
-
const c = A(() => d(s.alldepartments, s.departments, s.maindepartment));
|
2370
|
-
async function p() {
|
2371
|
-
s.departments.push(a.value.subdepartment), t("callback");
|
2372
|
-
}
|
2373
|
-
async function l() {
|
2374
|
-
s.departments.splice(s.department, 1), t("callback");
|
2375
|
-
}
|
2376
|
-
return (u, i) => (o(), r("div", null, [
|
2377
|
-
n("div", eo, [
|
2378
|
-
s.department === null ? (o(), $(x(Ve), {
|
2379
|
-
key: 0,
|
2380
|
-
modelValue: a.value.subdepartment,
|
2381
|
-
"onUpdate:modelValue": i[0] || (i[0] = (m) => a.value.subdepartment = m),
|
2382
|
-
options: x(c),
|
2383
|
-
"get-option-label": (m) => m.name,
|
2384
|
-
class: "w-100 mn-small"
|
2385
|
-
}, null, 8, ["modelValue", "options", "get-option-label"])) : (o(), r("div", to, f(a.value.name ? a.value.name : "Безымянный"), 1))
|
2386
|
-
]),
|
2387
|
-
s.department === null ? (o(), r("button", {
|
2388
|
-
key: 0,
|
2389
|
-
disabled: !a.value.subdepartment,
|
2390
|
-
onClick: p,
|
2391
|
-
class: "w-100 button bg-second t-white"
|
2392
|
-
}, " Добавить отдел ", 8, so)) : g("", !0),
|
2393
|
-
s.department !== null ? (o(), r("button", {
|
2394
|
-
key: 1,
|
2395
|
-
onClick: l,
|
2396
|
-
class: "w-100 button bg-fourth t-white"
|
2397
|
-
}, " Удалить отдел ")) : g("", !0)
|
2398
|
-
]));
|
2399
|
-
}
|
2400
|
-
}, Si = /* @__PURE__ */ V(no, [["__scopeId", "data-v-21f393e1"]]);
|
2401
|
-
const ao = { class: "br-grey radius-small mn-small" }, oo = {
|
2402
|
-
key: 1,
|
2403
|
-
class: "pd-small br-grey br-1px br-solid"
|
2404
|
-
}, io = ["disabled"], lo = {
|
2405
|
-
__name: "DepartmentSubDepartmentModify",
|
2406
|
-
props: {
|
2407
|
-
isPopupOpen: Boolean,
|
2408
|
-
department: Number,
|
2409
|
-
departments: Array,
|
2410
|
-
maindepartment: Object,
|
2411
|
-
alldepartments: Array
|
2412
|
-
},
|
2413
|
-
emits: ["callback", "remove"],
|
2414
|
-
setup(e, { emit: t }) {
|
2415
|
-
const s = e, a = b({
|
2416
|
-
subdepartment: null
|
2417
|
-
});
|
2418
|
-
s.department !== null && (a.value = s.departments[s.department]);
|
2419
|
-
function d(u, i, m) {
|
2420
|
-
return u.filter((w) => !(i.some((P) => P._id === w._id) || m._id === w._id));
|
2421
|
-
}
|
2422
|
-
const c = A(() => d(s.alldepartments, s.departments, s.maindepartment));
|
2423
|
-
async function p() {
|
2424
|
-
s.departments.push(a.value.subdepartment), t("callback");
|
2425
|
-
}
|
2426
|
-
async function l() {
|
2427
|
-
s.departments.splice(s.department, 1), t("callback");
|
2428
|
-
}
|
2429
|
-
return (u, i) => (o(), r("div", null, [
|
2430
|
-
n("div", ao, [
|
2431
|
-
s.department === null ? (o(), $(x(Ve), {
|
2432
|
-
key: 0,
|
2433
|
-
modelValue: a.value.subdepartment,
|
2434
|
-
"onUpdate:modelValue": i[0] || (i[0] = (m) => a.value.subdepartment = m),
|
2435
|
-
options: x(c),
|
2436
|
-
"get-option-label": (m) => m.name,
|
2437
|
-
class: "w-100 mn-small"
|
2438
|
-
}, null, 8, ["modelValue", "options", "get-option-label"])) : (o(), r("div", oo, f(a.value.name ? a.value.name : "Безымянный"), 1))
|
2439
|
-
]),
|
2440
|
-
s.department === null ? (o(), r("button", {
|
2441
|
-
key: 0,
|
2442
|
-
disabled: !a.value.subdepartment,
|
2443
|
-
onClick: p,
|
2444
|
-
class: "w-100 button bg-second t-white"
|
2445
|
-
}, " Добавить отдел ", 8, io)) : g("", !0),
|
2446
|
-
s.department !== null ? (o(), r("button", {
|
2447
|
-
key: 1,
|
2448
|
-
onClick: l,
|
2449
|
-
class: "w-100 button bg-fourth t-white"
|
2450
|
-
}, " Удалить отдел ")) : g("", !0)
|
2451
|
-
]));
|
2452
|
-
}
|
2453
|
-
}, Pi = /* @__PURE__ */ V(lo, [["__scopeId", "data-v-d3c6f191"]]);
|
2454
|
-
const se = (e) => (me("data-v-195322bd"), e = e(), he(), e), ro = { class: "for-transition w-100" }, co = { class: "pd-b-zero pd-t-zero pd-thin" }, uo = { class: "pd-thin" }, po = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, mo = {
|
2455
|
-
key: 0,
|
2456
|
-
class: "mn-r-auto"
|
2457
|
-
}, ho = {
|
2458
|
-
key: 1,
|
2459
|
-
class: "mn-r-auto"
|
2460
|
-
}, _o = { class: "flex-nowrap flex pd-thin" }, fo = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, go = { class: "flex-stretch flex-column flex" }, bo = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, vo = /* @__PURE__ */ se(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Profile", -1)), yo = { class: "radius-small flex-nowrap flex" }, wo = { class: "w-100 flex-child-grow-1 flex-child" }, $o = { class: "bg-grey pd-medium o-hidden radius-big" }, Co = /* @__PURE__ */ se(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Details", -1)), xo = /* @__PURE__ */ se(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please the available delivery options:", -1)), ko = { class: "mn-medium flex-nowrap flex" }, Oo = /* @__PURE__ */ se(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please select the available payment methods:", -1)), Lo = { class: "flex-nowrap flex" }, So = { class: "bg-grey pd-medium o-hidden radius-big" }, Po = /* @__PURE__ */ se(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Location", -1)), zo = /* @__PURE__ */ se(() => /* @__PURE__ */ n("p", { class: "mn-small p-medium" }, "Or choose on map:", -1)), Mo = { class: "flex-nowrap flex pd-thin" }, Do = {
|
2461
|
-
__name: "DepartmentEdit",
|
2462
|
-
setup(e) {
|
2463
|
-
const t = H(), s = q();
|
2464
|
-
b("details"), b(!1);
|
2465
|
-
async function a() {
|
2466
|
-
s.params.department && await ge.read(s.params.department), b(He.memberships), await W.read(s.params._id), s.params.department && await W.readOne(s.params.department);
|
2467
|
-
}
|
2468
|
-
a(), b(_.department.members), b(!1), b(null), b(!1), b(null);
|
2469
|
-
async function d() {
|
2470
|
-
s.params.department && await W.update(
|
2471
|
-
s.params._id,
|
2472
|
-
_.department
|
2473
|
-
), s.params.department || await W.create(
|
2474
|
-
s.params._id,
|
2475
|
-
_.department
|
2476
|
-
);
|
2477
|
-
}
|
2478
|
-
function c() {
|
2479
|
-
t.replace({ name: "Department", params: { _id: s.params._id, department: _.department._id } });
|
2480
|
-
}
|
2481
|
-
async function p() {
|
2482
|
-
await W.delete(
|
2483
|
-
s.params._id,
|
2484
|
-
_.department
|
2485
|
-
);
|
2486
|
-
}
|
2487
|
-
return (l, u) => (o(), r("div", ro, [
|
2488
|
-
n("div", co, [
|
2489
|
-
h(it, { class: "pd-medium bg-grey radius-big" })
|
2490
|
-
]),
|
2491
|
-
n("div", uo, [
|
2492
|
-
n("header", po, [
|
2493
|
-
x(s).params.department ? (o(), r("h1", mo, "Edit Spot")) : (o(), r("h1", ho, "Create Spot")),
|
2494
|
-
n("section", _o, [
|
2495
|
-
h(ce, {
|
2496
|
-
submit: d,
|
2497
|
-
callback: c
|
2498
|
-
}, {
|
2499
|
-
default: k(() => [
|
2500
|
-
N("Save Spot")
|
2501
|
-
]),
|
2502
|
-
_: 1
|
2503
|
-
})
|
2504
|
-
])
|
2505
|
-
])
|
2506
|
-
]),
|
2507
|
-
n("div", fo, [
|
2508
|
-
n("div", go, [
|
2509
|
-
n("div", bo, [
|
2510
|
-
vo,
|
2511
|
-
n("div", yo, [
|
2512
|
-
h(ze, {
|
2513
|
-
photo: _.department.profile.photo,
|
2514
|
-
"onUpdate:photo": u[0] || (u[0] = (i) => _.department.profile.photo = i),
|
2515
|
-
uploadPath: "organizations/" + _.department.name + "/avatars",
|
2516
|
-
class: "w-8r aspect-1x1 o-hidden mn-r-small radius-extra"
|
2517
|
-
}, null, 8, ["photo", "uploadPath"]),
|
2518
|
-
n("div", wo, [
|
2519
|
-
h(D, {
|
2520
|
-
field: _.department.profile.name,
|
2521
|
-
"onUpdate:field": u[1] || (u[1] = (i) => _.department.profile.name = i),
|
2522
|
-
label: "Name",
|
2523
|
-
placeholder: "Spot Name",
|
2524
|
-
class: "mn-small bg-white radius-small pd-medium",
|
2525
|
-
validation: l.organizationName
|
2526
|
-
}, null, 8, ["field", "validation"]),
|
2527
|
-
h(D, {
|
2528
|
-
field: _.department.profile.description,
|
2529
|
-
"onUpdate:field": u[2] || (u[2] = (i) => _.department.profile.description = i),
|
2530
|
-
label: "Description",
|
2531
|
-
placeholder: "Spot description (max 120 symbols)",
|
2532
|
-
class: "bg-white radius-small pd-medium",
|
2533
|
-
validation: l.organizationName
|
2534
|
-
}, null, 8, ["field", "validation"])
|
2535
|
-
])
|
2536
|
-
])
|
2537
|
-
]),
|
2538
|
-
n("div", $o, [
|
2539
|
-
Co,
|
2540
|
-
xo,
|
2541
|
-
n("div", ko, [
|
2542
|
-
h(J, {
|
2543
|
-
label: "Pickup",
|
2544
|
-
name: "Delivery",
|
2545
|
-
value: "pickup",
|
2546
|
-
class: "w-100 mn-r-small bg-white radius-small pd-small",
|
2547
|
-
radio: _.department.delivery
|
2548
|
-
}, null, 8, ["radio"]),
|
2549
|
-
h(J, {
|
2550
|
-
label: "Delivery",
|
2551
|
-
name: "Delivery",
|
2552
|
-
value: "courier",
|
2553
|
-
class: "w-100 mn-r-small bg-white radius-small pd-small",
|
2554
|
-
radio: _.department.delivery
|
2555
|
-
}, null, 8, ["radio"]),
|
2556
|
-
h(J, {
|
2557
|
-
label: "Post",
|
2558
|
-
name: "Delivery",
|
2559
|
-
value: "post",
|
2560
|
-
class: "w-100 bg-white radius-small pd-small",
|
2561
|
-
radio: _.department.delivery
|
2562
|
-
}, null, 8, ["radio"])
|
2563
|
-
]),
|
2564
|
-
Oo,
|
2565
|
-
n("div", Lo, [
|
2566
|
-
h(J, {
|
2567
|
-
label: "Cash",
|
2568
|
-
name: "Payment",
|
2569
|
-
value: "cash",
|
2570
|
-
class: "w-100 mn-r-small bg-white radius-small pd-small",
|
2571
|
-
radio: _.department.payment
|
2572
|
-
}, null, 8, ["radio"]),
|
2573
|
-
h(J, {
|
2574
|
-
label: "Bank Transfer",
|
2575
|
-
name: "Payment",
|
2576
|
-
value: "bank",
|
2577
|
-
class: "w-100 mn-r-small bg-white radius-small pd-small",
|
2578
|
-
radio: _.department.payment
|
2579
|
-
}, null, 8, ["radio"]),
|
2580
|
-
h(J, {
|
2581
|
-
label: "Crypto",
|
2582
|
-
name: "Payment",
|
2583
|
-
value: "crypto",
|
2584
|
-
class: "w-100 bg-white radius-small pd-small",
|
2585
|
-
radio: _.department.payment
|
2586
|
-
}, null, 8, ["radio"])
|
2587
|
-
])
|
2588
|
-
])
|
2589
|
-
]),
|
2590
|
-
n("div", So, [
|
2591
|
-
Po,
|
2592
|
-
h(ea, {
|
2593
|
-
apiKey: "AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",
|
2594
|
-
address: _.department.address,
|
2595
|
-
location: _.department.location,
|
2596
|
-
label: "Address",
|
2597
|
-
placeholder: "Enter delivery address",
|
2598
|
-
class: "bg-white radius-small pd-small mn-small",
|
2599
|
-
"onUpdate:location": u[3] || (u[3] = (i) => {
|
2600
|
-
_.department.location = i;
|
2601
|
-
}),
|
2602
|
-
"onUpdate:address": u[4] || (u[4] = (i) => {
|
2603
|
-
_.department.address = i;
|
2604
|
-
})
|
2605
|
-
}, null, 8, ["address", "location"]),
|
2606
|
-
zo,
|
2607
|
-
h(ia, {
|
2608
|
-
address: _.department.address,
|
2609
|
-
location: _.department.location,
|
2610
|
-
apiKey: "AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",
|
2611
|
-
class: "radius-big o-hidden",
|
2612
|
-
"onUpdate:location": u[5] || (u[5] = (i) => {
|
2613
|
-
_.department.location = i;
|
2614
|
-
}),
|
2615
|
-
"onUpdate:address": u[6] || (u[6] = (i) => {
|
2616
|
-
_.department.address = i;
|
2617
|
-
})
|
2618
|
-
}, null, 8, ["address", "location"])
|
2619
|
-
])
|
2620
|
-
]),
|
2621
|
-
n("section", Mo, [
|
2622
|
-
h(ce, {
|
2623
|
-
submit: p,
|
2624
|
-
callback: l.redirectToDash,
|
2625
|
-
class: "bg-grey"
|
2626
|
-
}, {
|
2627
|
-
default: k(() => [
|
2628
|
-
N("Delete Spot")
|
2629
|
-
]),
|
2630
|
-
_: 1
|
2631
|
-
}, 8, ["callback"])
|
2632
|
-
])
|
2633
|
-
]));
|
2634
|
-
}
|
2635
|
-
}, Ao = /* @__PURE__ */ V(Do, [["__scopeId", "data-v-195322bd"]]), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2636
|
-
__proto__: null,
|
2637
|
-
default: Ao
|
2638
|
-
}, Symbol.toStringTag, { value: "Module" })), Vo = { class: "unit" }, Io = { class: "unit-details" }, To = { key: 0 }, Bo = { class: "subunits" }, zi = {
|
2639
|
-
__name: "Unit",
|
2640
|
-
props: {
|
2641
|
-
unit: {
|
2642
|
-
type: Object,
|
2643
|
-
required: !0
|
2644
|
-
},
|
2645
|
-
editMode: {
|
2646
|
-
type: Boolean,
|
2647
|
-
required: !0
|
2648
|
-
}
|
2649
|
-
},
|
2650
|
-
setup(e) {
|
2651
|
-
const t = e, s = b({ ...t.unit });
|
2652
|
-
F(t.unit, () => {
|
2653
|
-
s.value = { ...t.unit };
|
2654
|
-
});
|
2655
|
-
async function a() {
|
2656
|
-
emit("unit-updated", s.value);
|
2657
|
-
}
|
2658
|
-
async function d() {
|
2659
|
-
emit("subunit-added", t.unit._id);
|
2660
|
-
}
|
2661
|
-
return (c, p) => {
|
2662
|
-
const l = ue("unit-component");
|
2663
|
-
return o(), r("div", Vo, [
|
2664
|
-
n("div", Io, [
|
2665
|
-
n("h3", null, f(e.unit.name), 1),
|
2666
|
-
n("p", null, f(e.unit.description), 1),
|
2667
|
-
e.editMode ? (o(), r("div", To, [
|
2668
|
-
ne(n("input", {
|
2669
|
-
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.value.name = u),
|
2670
|
-
placeholder: "Название отдела"
|
2671
|
-
}, null, 512), [
|
2672
|
-
[we, s.value.name]
|
2673
|
-
]),
|
2674
|
-
ne(n("input", {
|
2675
|
-
"onUpdate:modelValue": p[1] || (p[1] = (u) => s.value.description = u),
|
2676
|
-
placeholder: "Описание отдела"
|
2677
|
-
}, null, 512), [
|
2678
|
-
[we, s.value.description]
|
2679
|
-
]),
|
2680
|
-
n("button", { onClick: a }, "Сохранить"),
|
2681
|
-
n("button", { onClick: d }, "Добавить подотдел")
|
2682
|
-
])) : g("", !0)
|
2683
|
-
]),
|
2684
|
-
n("div", Bo, [
|
2685
|
-
(o(!0), r(O, null, L(e.unit.subunits, (u, i) => (o(), $(l, {
|
2686
|
-
key: i,
|
2687
|
-
unit: u,
|
2688
|
-
"edit-mode": e.editMode
|
2689
|
-
}, null, 8, ["unit", "edit-mode"]))), 128))
|
2690
|
-
])
|
2691
|
-
]);
|
2692
|
-
};
|
2693
|
-
}
|
2694
|
-
};
|
2695
|
-
const jo = { class: "br-grey radius-small mn-small" }, Uo = {
|
2696
|
-
__name: "Places",
|
2697
|
-
props: {
|
2698
|
-
isPopupOpen: Boolean,
|
2699
|
-
place: Number,
|
2700
|
-
places: Array
|
2701
|
-
},
|
2702
|
-
emits: ["callback"],
|
2703
|
-
setup(e, { emit: t }) {
|
2704
|
-
const s = e, a = b({
|
2705
|
-
logo: "",
|
2706
|
-
name: "",
|
2707
|
-
address: ""
|
2708
|
-
});
|
2709
|
-
s.place !== null && (a.value = s.places[s.place]);
|
2710
|
-
const d = b(null);
|
2711
|
-
async function c() {
|
2712
|
-
try {
|
2713
|
-
await Ye(
|
2714
|
-
d,
|
2715
|
-
Je,
|
2716
|
-
a.value.name,
|
2717
|
-
"Некорректное название"
|
2718
|
-
);
|
2719
|
-
} catch {
|
2720
|
-
throw new Error();
|
2721
|
-
}
|
2722
|
-
s.place !== null ? (s.places[s.place] = a.value, t("callback")) : (s.places.push(a.value), t("callback"));
|
2723
|
-
}
|
2724
|
-
return (p, l) => (o(), r("div", null, [
|
2725
|
-
n("div", jo, [
|
2726
|
-
h(Me, {
|
2727
|
-
options: [
|
2728
|
-
{ name: "Кафе", value: "cafe" },
|
2729
|
-
{ name: "Бар", value: "bar" },
|
2730
|
-
{ name: "Ресторан", value: "restaraunt" },
|
2731
|
-
{ name: "Пиццерия", value: "pizzeria" },
|
2732
|
-
{ name: "Ночной клуб", value: "night-club" },
|
2733
|
-
{ name: "Шаверма", value: "shaverma" },
|
2734
|
-
{ name: "Кофейня", value: "coffee" }
|
2735
|
-
],
|
2736
|
-
prop: a.value,
|
2737
|
-
content: "type",
|
2738
|
-
label: "Тип",
|
2739
|
-
placeholder: "Тип заведения",
|
2740
|
-
size: "small"
|
2741
|
-
}, null, 8, ["prop"]),
|
2742
|
-
h(D, {
|
2743
|
-
field: a.value.name,
|
2744
|
-
"onUpdate:field": l[0] || (l[0] = (u) => a.value.name = u),
|
2745
|
-
label: "Название",
|
2746
|
-
validation: d.value,
|
2747
|
-
placeholder: "Введите название места"
|
2748
|
-
}, null, 8, ["field", "validation"]),
|
2749
|
-
h(D, {
|
2750
|
-
field: a.value.address,
|
2751
|
-
"onUpdate:field": l[1] || (l[1] = (u) => a.value.address = u),
|
2752
|
-
label: "Адрес",
|
2753
|
-
validation: d.value,
|
2754
|
-
placeholder: "Введите адрес места"
|
2755
|
-
}, null, 8, ["field", "validation"]),
|
2756
|
-
h(D, {
|
2757
|
-
field: a.value.phone,
|
2758
|
-
"onUpdate:field": l[2] || (l[2] = (u) => a.value.phone = u),
|
2759
|
-
label: "Телефон",
|
2760
|
-
validation: d.value,
|
2761
|
-
placeholder: "Введите телефон места"
|
2762
|
-
}, null, 8, ["field", "validation"])
|
2763
|
-
]),
|
2764
|
-
n("button", {
|
2765
|
-
onClick: c,
|
2766
|
-
class: "w-100 button bg-second t-white"
|
2767
|
-
}, f(s.place !== null ? "Редактировать заведение" : "Добавить заведение"), 1)
|
2768
|
-
]));
|
2769
|
-
}
|
2770
|
-
}, Mi = /* @__PURE__ */ V(Uo, [["__scopeId", "data-v-de5143c5"]]);
|
2771
|
-
const Eo = (e) => (me("data-v-20739d92"), e = e(), he(), e), Fo = { class: "documents" }, qo = /* @__PURE__ */ Eo(() => /* @__PURE__ */ n("h3", { class: "mn-small" }, "Список документов", -1)), Ho = { class: "mn-big cols-4" }, Zo = ["onClick"], No = { class: "mn-small" }, Ro = { class: "t-semi t-transp radius-small" }, Ko = {
|
2772
|
-
__name: "Documents",
|
2773
|
-
setup(e) {
|
2774
|
-
H(), q();
|
2775
|
-
let t = [{
|
2776
|
-
name: "Паспорт",
|
2777
|
-
status: "Не добавлен",
|
2778
|
-
inputs: [{
|
2779
|
-
type: "text",
|
2780
|
-
name: "Номер и серия"
|
2781
|
-
}, {
|
2782
|
-
type: "text",
|
2783
|
-
name: "Место выдачи"
|
2784
|
-
}, {
|
2785
|
-
type: "text",
|
2786
|
-
name: "Дата выдачи"
|
2787
|
-
}]
|
2788
|
-
}, {
|
2789
|
-
name: "ИНН",
|
2790
|
-
status: "Не добавлен",
|
2791
|
-
inputs: [{
|
2792
|
-
type: "text",
|
2793
|
-
name: "Дата регистрации"
|
2794
|
-
}]
|
2795
|
-
}, {
|
2796
|
-
name: "СНИЛС",
|
2797
|
-
status: "Не добавлен",
|
2798
|
-
inputs: [{
|
2799
|
-
type: "text",
|
2800
|
-
name: "Дата регистрации"
|
2801
|
-
}]
|
2802
|
-
}, {
|
2803
|
-
name: "Военный билет",
|
2804
|
-
status: "Не добавлен",
|
2805
|
-
inputs: [{
|
2806
|
-
type: "text",
|
2807
|
-
name: "Дата регистрации"
|
2808
|
-
}]
|
2809
|
-
}];
|
2810
|
-
const s = b(!1), a = b(null), d = (l) => {
|
2811
|
-
a.value = l, s.value = !0;
|
2812
|
-
}, c = () => {
|
2813
|
-
s.value = !1;
|
2814
|
-
}, p = () => {
|
2815
|
-
c();
|
2816
|
-
};
|
2817
|
-
return de(() => {
|
2818
|
-
}), (l, u) => {
|
2819
|
-
const i = ue("Popup");
|
2820
|
-
return o(), r("div", Fo, [
|
2821
|
-
qo,
|
2822
|
-
n("div", Ho, [
|
2823
|
-
(o(!0), r(O, null, L(x(t), (m, w) => (o(), r("div", {
|
2824
|
-
key: w,
|
2825
|
-
onClick: (P) => d(w),
|
2826
|
-
class: "h-100 pd-medium bg-white radius-small"
|
2827
|
-
}, [
|
2828
|
-
n("h3", No, f(m.name), 1),
|
2829
|
-
n("p", Ro, f(m.status), 1)
|
2830
|
-
], 8, Zo))), 128))
|
2831
|
-
]),
|
2832
|
-
h(i, {
|
2833
|
-
title: "Добавить документ",
|
2834
|
-
onClosePopup: c,
|
2835
|
-
isPopupOpen: s.value
|
2836
|
-
}, {
|
2837
|
-
default: k(() => [
|
2838
|
-
(o(!0), r(O, null, L(x(t)[a.value].inputs, (m) => (o(), r("div", {
|
2839
|
-
key: m.name
|
2840
|
-
}, [
|
2841
|
-
h(D, {
|
2842
|
-
field: m.value,
|
2843
|
-
"onUpdate:field": (w) => m.value = w,
|
2844
|
-
label: m.name,
|
2845
|
-
_id: m.name,
|
2846
|
-
placeholder: m.name,
|
2847
|
-
class: "w-100"
|
2848
|
-
}, null, 8, ["field", "onUpdate:field", "label", "_id", "placeholder"])
|
2849
|
-
]))), 128)),
|
2850
|
-
n("button", {
|
2851
|
-
onClick: p,
|
2852
|
-
class: "w-100 mn-small button"
|
2853
|
-
}, "Отправить на верификацию")
|
2854
|
-
]),
|
2855
|
-
_: 1
|
2856
|
-
}, 8, ["isPopupOpen"])
|
2857
|
-
]);
|
2858
|
-
};
|
2859
|
-
}
|
2860
|
-
}, Di = /* @__PURE__ */ V(Ko, [["__scopeId", "data-v-20739d92"]]);
|
2861
|
-
const Wo = { class: "for-transition bg-white radius-big w-100" }, Yo = { class: "" }, Jo = {
|
2862
|
-
key: 1,
|
2863
|
-
class: "cols-1"
|
2864
|
-
}, Ai = {
|
2865
|
-
__name: "Organizations",
|
2866
|
-
props: {
|
2867
|
-
owner: {
|
2868
|
-
type: String,
|
2869
|
-
default: null
|
2870
|
-
},
|
2871
|
-
user: {
|
2872
|
-
type: [String, Number],
|
2873
|
-
default: null
|
2874
|
-
},
|
2875
|
-
onlyuser: {
|
2876
|
-
type: [String, Number],
|
2877
|
-
default: null
|
2878
|
-
}
|
2879
|
-
},
|
2880
|
-
async setup(e) {
|
2881
|
-
let t, s;
|
2882
|
-
const a = e, d = b(null);
|
2883
|
-
d.value = ([t, s] = Y(() => Z.read({ owner: a.owner, user: a.user, onlyuser: a.onlyuser })), t = await t, s(), t);
|
2884
|
-
const c = H(), p = q();
|
2885
|
-
let l = p.query.tab ? p.query.tab : "details";
|
2886
|
-
const u = b(l);
|
2887
|
-
return p.query.tab = u.value, F(u, (i) => {
|
2888
|
-
c.push({ query: { ...p.query, tab: i } });
|
2889
|
-
}), (i, m) => (o(), r("div", Wo, [
|
2890
|
-
n("div", Yo, [
|
2891
|
-
d.value < 1 ? (o(), $(fe, {
|
2892
|
-
key: 0,
|
2893
|
-
title: "You Haven't Joined Any Organization Yet",
|
2894
|
-
description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
|
2895
|
-
action: "Create organization",
|
2896
|
-
callback: i.a = () => i.$router.push("/app/organization/create/details")
|
2897
|
-
}, null, 8, ["callback"])) : (o(), r("div", Jo, [
|
2898
|
-
(o(!0), r(O, null, L(d.value, (w) => (o(), $(Qe, {
|
2899
|
-
key: w._id,
|
2900
|
-
organization: w,
|
2901
|
-
user: S.user,
|
2902
|
-
onUpdateMembership: i.handleMembershipUpdate,
|
2903
|
-
class: te(["w-100", { "mn-r-small": i.index !== d.value.length - 1 }])
|
2904
|
-
}, null, 8, ["organization", "user", "onUpdateMembership", "class"]))), 128))
|
2905
|
-
]))
|
2906
|
-
])
|
2907
|
-
]));
|
2908
|
-
}
|
2909
|
-
}, Qo = {};
|
2910
|
-
function Xo(e, t) {
|
2911
|
-
const s = ue("router-view");
|
2912
|
-
return o(), $(s, null, {
|
2913
|
-
default: k(({ Component: a, route: d }) => [
|
2914
|
-
(o(), $(le(a)))
|
2915
|
-
]),
|
2916
|
-
_: 1
|
2917
|
-
});
|
2918
|
-
}
|
2919
|
-
const Go = /* @__PURE__ */ V(Qo, [["render", Xo]]), Vi = [{
|
2920
|
-
path: "organizations",
|
2921
|
-
component: Go,
|
2922
|
-
meta: {
|
2923
|
-
title: {
|
2924
|
-
en: "Organizations",
|
2925
|
-
ru: "Организации"
|
2926
|
-
}
|
2927
|
-
},
|
2928
|
-
children: [{
|
2929
|
-
path: ":_id",
|
2930
|
-
name: "Organization",
|
2931
|
-
meta: {
|
2932
|
-
title: {
|
2933
|
-
en: "Organization",
|
2934
|
-
ru: "Организация"
|
2935
|
-
}
|
2936
|
-
},
|
2937
|
-
component: () => Promise.resolve().then(() => Rs)
|
2938
|
-
}, {
|
2939
|
-
path: "create",
|
2940
|
-
name: "Create Organization",
|
2941
|
-
title: {
|
2942
|
-
en: "Create Organization",
|
2943
|
-
ru: "Создать Организацию"
|
2944
|
-
},
|
2945
|
-
component: () => Promise.resolve().then(() => Ce)
|
2946
|
-
}, {
|
2947
|
-
path: ":_id/edit",
|
2948
|
-
name: "Organization Edit",
|
2949
|
-
meta: {
|
2950
|
-
title: {
|
2951
|
-
en: "Edit Organization",
|
2952
|
-
ru: "Редактировать Организацию"
|
2953
|
-
}
|
2954
|
-
},
|
2955
|
-
component: () => Promise.resolve().then(() => Ce)
|
2956
|
-
}, {
|
2957
|
-
path: ":_id/departments/create",
|
2958
|
-
name: "Department Creation",
|
2959
|
-
meta: {
|
2960
|
-
title: "Создание отдела"
|
2961
|
-
},
|
2962
|
-
component: () => Promise.resolve().then(() => Se)
|
2963
|
-
}, {
|
2964
|
-
path: ":_id/departments/:deparment",
|
2965
|
-
name: "Department",
|
2966
|
-
meta: {
|
2967
|
-
title: "Отдел"
|
2968
|
-
},
|
2969
|
-
component: () => Promise.resolve().then(() => dn)
|
2970
|
-
}, {
|
2971
|
-
path: ":_id/departments/:department/edit",
|
2972
|
-
name: "Department Edit",
|
2973
|
-
meta: {
|
2974
|
-
title: "Редактирование отдела"
|
2975
|
-
},
|
2976
|
-
component: () => Promise.resolve().then(() => Se)
|
2977
|
-
}, {
|
2978
|
-
path: ":_id/products/:product",
|
2979
|
-
name: "Product Organization",
|
2980
|
-
meta: {
|
2981
|
-
title: {
|
2982
|
-
en: "Product",
|
2983
|
-
ru: "Продукт"
|
2984
|
-
}
|
2985
|
-
},
|
2986
|
-
component: () => import(
|
2987
|
-
/* webpackChunkName: 'Product' */
|
2988
|
-
"./Product-2459e9da.mjs"
|
2989
|
-
)
|
2990
|
-
}, {
|
2991
|
-
path: ":_id/products/:product/edit",
|
2992
|
-
name: "ProductEdit",
|
2993
|
-
component: () => import(
|
2994
|
-
/* webpackChunkName: 'ProductPageEdit' */
|
2995
|
-
"./ProductEdit-cdc3415a.mjs"
|
2996
|
-
)
|
2997
|
-
}, {
|
2998
|
-
path: ":_id/products/add",
|
2999
|
-
name: "AddProduct",
|
3000
|
-
component: () => import(
|
3001
|
-
/* webpackChunkName: 'ProductPageEdit' */
|
3002
|
-
"./ProductEdit-cdc3415a.mjs"
|
3003
|
-
)
|
3004
|
-
}]
|
3005
|
-
}];
|
3006
|
-
export {
|
3007
|
-
Vi as A,
|
3008
|
-
Ao as D,
|
3009
|
-
Mi as P,
|
3010
|
-
Ae as U,
|
3011
|
-
it as _,
|
3012
|
-
wi as a,
|
3013
|
-
yi as b,
|
3014
|
-
U as c,
|
3015
|
-
Ns as d,
|
3016
|
-
rn as e,
|
3017
|
-
ki as f,
|
3018
|
-
Vn as g,
|
3019
|
-
Oi as h,
|
3020
|
-
Li as i,
|
3021
|
-
zi as j,
|
3022
|
-
De as k,
|
3023
|
-
Si as l,
|
3024
|
-
Pi as m,
|
3025
|
-
fe as n,
|
3026
|
-
bi as o,
|
3027
|
-
vi as p,
|
3028
|
-
Os as q,
|
3029
|
-
$i as r,
|
3030
|
-
y as s,
|
3031
|
-
Vt as t,
|
3032
|
-
xi as u,
|
3033
|
-
Di as v,
|
3034
|
-
Fs as w,
|
3035
|
-
fs as x,
|
3036
|
-
Ai as y,
|
3037
|
-
Ci as z
|
3038
|
-
};
|