@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
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js");const _=require("./Select-3ca5ab39.js"),b=require("./SelectMulti-c25765cf.js"),m=require("vue-router"),p=require("./Field-e2a43424.js"),o=require("./leftovers-b60180cf.js"),v=require("./products-3c43eb18.js");require("./_plugin-vue_export-helper-f246444f.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");const g={class:"flex-column flex-wrap block"},V={key:0,class:"w-100"},k={class:"mn-r-regular w-100"},N=["onClick"],h={__name:"LeftoverPositions",props:{order:Object},setup(i){const s=i;m.useRouter(),m.useRoute();function a(n){o.actions.deleteItemFromLeftover(s.order.positions[n])}return(n,d)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",g,[i.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",V," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.order.positions,(l,u)=>(e.openBlock(),e.createElementBlock("li",{key:l._id,class:"w-100 flex-center flex-nowrap flex"},[e.createElementVNode("span",k,e.toDisplayString(l.name),1),e.createVNode(p.Field,{field:l.price,"onUpdate:field":c=>l.price=c,type:"number",label:"Price",symbol:n.returnCurrency(),class:"bg-grey pd-medium radius-small"},null,8,["field","onUpdate:field","symbol"]),e.createVNode(p.Field,{field:l.quantity,"onUpdate:field":c=>l.quantity=c,type:"number",label:"Quantity",class:"bg-grey pd-medium radius-small",symbol:l.type},null,8,["field","onUpdate:field","symbol"]),e.createElementVNode("a",{class:"button",onClick:c=>a(u)}," Delete ",8,N)]))),128))])]))}},E=["disabled"],q={__name:"CardPosition",props:{product:Object,products:Array,quantity:Number,type:String,price:Number},emits:["add","remove"],setup(i,{emit:s}){const a=e.ref(null),n=e.ref(null),d=e.ref("pcs"),l=e.ref(null),u=e.computed(()=>a.value&&n.value>0&&l.value>0);function c(){s("add",{product:a.value,price:l.value,quantity:n.value,type:d.value})}return(f,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(b.SelectMulti,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=r=>a.value=r),options:i.products,label:"name",multiple:!1,taggable:!1,placeholder:"Select a product",class:"bg-grey pd-medium radius-small"},null,8,["modelValue","options"]),e.createVNode(p.Field,{field:l.value,"onUpdate:field":t[1]||(t[1]=r=>l.value=r),type:"number",label:"Price",symbol:f.returnCurrency(),class:"bg-grey pd-medium radius-small"},null,8,["field","symbol"]),e.createVNode(p.Field,{field:n.value,"onUpdate:field":t[3]||(t[3]=r=>n.value=r),type:"number",label:"Quantity",class:"bg-grey pd-medium radius-small"},{default:e.withCtx(()=>[e.createVNode(_.Select,{select:d.value,"onUpdate:select":t[2]||(t[2]=r=>d.value=r),options:["pcs","g","ml"],class:"bg-white pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),e.createElementVNode("button",{disabled:!e.unref(u),onClick:c,class:"bg-main button"}," Add ",8,E)],64))}};const x=e.createElementVNode("header",{class:"mn-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory")],-1),B=e.createElementVNode("h5",{class:"mn-small"},"Select Type",-1),P=e.createElementVNode("h5",{class:"mn-small"},"Add Position",-1),S={class:"mn-semi gap-thin flex-nowrap flex"},w={class:"gap-thin flex-v-center flex-nojustify flex"},C={class:"mn-r-auto"},$={__name:"LeftoverAdd",setup(i){const s=m.useRoute(),a=m.useRouter(),n=e.ref(v.state.all),d=e.computed(()=>o.state.current.positions.reduce((t,r)=>t+r.price*(r.quantity||1),0));e.onMounted(async()=>{if(s.params._id)try{await o.actions.fetch(s.params._id)}catch{console.error("error")}else o.state.current={type:"",order:"",positions:[]};try{const t=await v.actions.read({organization:"65141c476cf9860013b49f6d"});n.value=t}catch{console.error("error")}});function l(){s.params._id?o.actions.fetch(s.params._id):o.state.current={type:"",order:"",positions:[]}}function u(t){o.actions.addProductToLeftover(t)}function c(){s.params._id?o.actions.update(o.state.current).then(()=>a.push({name:"Backoffice Leftovers"}),t=>console.error("error")):o.actions.create(o.state.current).then(()=>a.push({name:"Backoffice Leftovers"}),t=>console.error("error"))}function f(){o.actions.delete(s.params._id).then(()=>a.push({name:"Backoffice Leftovers"}),t=>console.error("error"))}return(t,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[x,B,e.createVNode(_.Select,{select:o.state.current.type,"onUpdate:select":r[0]||(r[0]=y=>o.state.current.type=y),options:["stock-in","stock-out","write-off"],placeholder:"Select type",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["select"]),P,e.createElementVNode("div",S,[e.createVNode(q,{onAdd:u,products:n.value},null,8,["products"])]),e.createElementVNode("h5",{class:"mn-small"},[e.createTextVNode(" Invetory Sheet "),e.createElementVNode("a",{class:"mn-l-thin t-main",onClick:l}," Reset ")]),e.createVNode(h,{order:o.state.current,products:n.value,class:"mn-semi"},null,8,["order","products"]),e.createElementVNode("section",w,[e.createElementVNode("h3",C," In total: "+e.toDisplayString(t.formatPrice(e.unref(d))),1),e.createElementVNode("a",{onClick:r[1]||(r[1]=y=>c()),class:"bg-main button"}," Save "),e.unref(s).params._id?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:r[2]||(r[2]=y=>f()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])],64))}};exports.default=$;
|
@@ -4,13 +4,12 @@ import { S } from "./Select-11ddabf5.mjs";
|
|
4
4
|
import { S as A } from "./SelectMulti-58704d69.mjs";
|
5
5
|
import { useRouter as $, useRoute as C } from "vue-router";
|
6
6
|
import { F as v } from "./Field-e5ad88d3.mjs";
|
7
|
-
import { a as d, s as u } from "./leftovers-
|
8
|
-
import { s as q, a as B } from "./products-
|
7
|
+
import { a as d, s as u } from "./leftovers-5d1ff88b.mjs";
|
8
|
+
import { s as q, a as B } from "./products-943fb95e.mjs";
|
9
9
|
import "./_plugin-vue_export-helper-dad06003.mjs";
|
10
10
|
import "./index-a661083c.mjs";
|
11
11
|
import "./globals-96ba60e4.mjs";
|
12
12
|
import "vue-i18n";
|
13
|
-
import "./auth-ec618cb3.mjs";
|
14
13
|
const D = { class: "flex-column flex-wrap block" }, F = {
|
15
14
|
key: 0,
|
16
15
|
class: "w-100"
|
@@ -132,7 +131,7 @@ const D = { class: "flex-column flex-wrap block" }, F = {
|
|
132
131
|
};
|
133
132
|
const O = /* @__PURE__ */ o("header", { class: "mn-medium flex-v-center flex-nowrap flex" }, [
|
134
133
|
/* @__PURE__ */ o("h2", { class: "mn-r-medium" }, "Inventory")
|
135
|
-
], -1), E = /* @__PURE__ */ o("h5", { class: "mn-small" }, "Select Type", -1), M = /* @__PURE__ */ o("h5", { class: "mn-small" }, "Add Position", -1), z = { class: "mn-semi gap-thin flex-nowrap flex" }, G = { class: "gap-thin flex-v-center flex-nojustify flex" }, H = { class: "mn-r-auto" },
|
134
|
+
], -1), E = /* @__PURE__ */ o("h5", { class: "mn-small" }, "Select Type", -1), M = /* @__PURE__ */ o("h5", { class: "mn-small" }, "Add Position", -1), z = { class: "mn-semi gap-thin flex-nowrap flex" }, G = { class: "gap-thin flex-v-center flex-nojustify flex" }, H = { class: "mn-r-auto" }, ne = {
|
136
135
|
__name: "LeftoverAdd",
|
137
136
|
setup(p) {
|
138
137
|
const l = C(), n = $(), s = _(q.all), f = w(() => u.current.positions.reduce((e, t) => e + t.price * (t.quantity || 1), 0));
|
@@ -224,5 +223,5 @@ const O = /* @__PURE__ */ o("header", { class: "mn-medium flex-v-center flex-now
|
|
224
223
|
}
|
225
224
|
};
|
226
225
|
export {
|
227
|
-
|
226
|
+
ne as default
|
228
227
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("vue-router"),_=require("./Tab-2c1e4224.js"),p=require("./Feed-98b47c6f.js"),v=require("./vuex.esm-bundler-685cf29f.js"),f=require("./IconEdit-c0469b45.js"),h=require("./_plugin-vue_export-helper-f246444f.js"),u=require("./leftovers-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("vue-router"),_=require("./Tab-2c1e4224.js"),p=require("./Feed-98b47c6f.js"),v=require("./vuex.esm-bundler-685cf29f.js"),f=require("./IconEdit-c0469b45.js"),h=require("./_plugin-vue_export-helper-f246444f.js"),u=require("./leftovers-b60180cf.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./SkeletonEvent-eb284de8.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./EmptyState-d65bab5b.js");require("vue-i18n");require("./index-b41aac19.js");require("./globals-928eb13c.js");const m=o=>(e.pushScopeId("data-v-82e8929d"),o=o(),e.popScopeId(),o),g={class:"flex-column flex-wrap block"},E={class:"w-100 mn-thin flex"},N={class:"p-big"},V=m(()=>e.createElementVNode("p",{class:"p-small"},null,-1)),y=m(()=>e.createElementVNode("hr",{class:"mn-t-small mn-thin"},null,-1)),k={class:"w-100 spoiler"},q={key:0},x={class:"w-100 mn-thin flex"},b={class:"w-50 flex"},S={class:"t-right w-50 flex"},B={class:"w-100"},w={class:"t-transp"},$={__name:"CardLeftover",props:{leftover:Object},setup(o){v.useStore(),i.useRouter();const s=e.ref(!1);function a(n,r){return r[n%100>4&&n%100<20?2:[2,0,1,1,1,2][n%10<5?n%10:5]]}return(n,r)=>(e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",E,[e.createElementVNode("div",null,[e.createElementVNode("p",N,e.toDisplayString(o.leftover.type)+" #"+e.toDisplayString(o.leftover._id),1),V]),e.createElementVNode("div",null,[e.createVNode(f.IconEdit,{onClick:r[0]||(r[0]=t=>n.$router.push({name:"LeftoverEdit",params:{_id:o.leftover._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})]),y]),e.createElementVNode("div",k,[e.createElementVNode("div",{onClick:r[1]||(r[1]=t=>s.value=!s.value),class:"mn-small flex"},[e.createElementVNode("span",null,"Всего товаров "+e.toDisplayString(o.leftover.positions.length),1)]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.leftover.positions,t=>(e.openBlock(),e.createElementBlock("div",x,[e.createElementVNode("div",b,[e.createElementVNode("span",null,e.toDisplayString(t.name),1)]),e.createElementVNode("div",S,[e.createElementVNode("span",B,[e.createTextVNode(e.toDisplayString(t.quantity)+" ",1),e.createElementVNode("span",w,e.toDisplayString(a(t.quantity,["единица"," единицы"," единиц"])),1)])])]))),256))])):e.createCommentVNode("",!0)]),_:1})])]))}},C=h._export_sfc($,[["__scopeId","data-v-82e8929d"]]);const L={class:"mn-medium flex-v-center flex-nowrap flex"},I=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),D={class:"mn-semi pd-medium bg-grey radius-big"},F=e.createElementVNode("p",{class:"mn-thin"},"Spended:",-1),O={__name:"Leftovers",setup(o){const s=i.useRoute();i.useRouter();const a=e.ref(s.query.tab?s.query.tab:"all"),n=e.computed(()=>u.state.all.reduce((r,t)=>{const l=t.positions.reduce((c,d)=>c+d.price*(d.quantity||1),0);return r+l},0));return(r,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",L,[I,e.createElementVNode("button",{onClick:t[0]||(t[0]=l=>r.$router.push({name:"LeftoverAdd"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",D,[F,e.createElementVNode("h3",null,e.toDisplayString(r.formatPrice(e.unref(n))),1)]),e.createVNode(_._sfc_main,{selected:a.value,"onUpdate:selected":t[1]||(t[1]=l=>a.value=l),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"},{name:"Write-Off",value:"write-off"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(p._sfc_main,{states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:l=>u.actions.read(l)},options:{limit:15}},{default:e.withCtx(({items:l})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,c=>(e.openBlock(),e.createBlock(C,{leftover:c},null,8,["leftover"]))),256))]),_:1},8,["states","store"])],64))}};exports.default=O;
|
@@ -5,7 +5,7 @@ import { _ as q } from "./Feed-d114330c.mjs";
|
|
5
5
|
import { u as E } from "./vuex.esm-bundler-57d8b6ba.mjs";
|
6
6
|
import { I as O } from "./IconEdit-9edfd74d.mjs";
|
7
7
|
import { _ as V } from "./_plugin-vue_export-helper-dad06003.mjs";
|
8
|
-
import { s as B, a as T } from "./leftovers-
|
8
|
+
import { s as B, a as T } from "./leftovers-5d1ff88b.mjs";
|
9
9
|
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
10
10
|
import "./SkeletonEvent-8690422d.mjs";
|
11
11
|
import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as l, onMounted as _, resolveComponent as v, openBlock as f, createBlock as b, Transition as h, withCtx as n, createElementVNode as i, createVNode as r, unref as g } from "vue";
|
2
2
|
import { useRoute as w } from "vue-router";
|
3
|
-
import { a as m, _ as $, b as I, s as z } from "./organizations.client-
|
3
|
+
import { a as m, _ as $, b as I, s as z } from "./organizations.client-e519ef17.mjs";
|
4
4
|
import { _ as y } from "./MenuItem-4a5881bd.mjs";
|
5
5
|
import { s as E } from "./auth-076a83d0.mjs";
|
6
6
|
import { a as s } from "./memberships-12210953.mjs";
|
@@ -33,11 +33,11 @@ import "./CardOrganization-ae384e54.mjs";
|
|
33
33
|
import "./ButtonToggleMembership-e337e704.mjs";
|
34
34
|
import "./Socials-8193477c.mjs";
|
35
35
|
import "./Checkbox-5dbe7b23.mjs";
|
36
|
-
import "./categories-
|
36
|
+
import "./categories-5b08da53.mjs";
|
37
37
|
import "./Feed-d114330c.mjs";
|
38
38
|
import "./CardProduct-fca53299.mjs";
|
39
39
|
import "./vuex.esm-bundler-57d8b6ba.mjs";
|
40
|
-
import "./products-
|
40
|
+
import "./products-943fb95e.mjs";
|
41
41
|
import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
|
42
42
|
import "./inputs.validation-db65277a.mjs";
|
43
43
|
import "./BlockTags-ee310572.mjs";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("vue-router"),i=require("./organizations.client-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("vue-router"),i=require("./organizations.client-7e11a989.js"),l=require("./MenuItem-f35cad93.js"),_=require("./auth-df5a20c6.js"),u=require("./memberships-393765d8.js"),s=require("./organizations-d12c42b6.js");require("vue-i18n");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Tab-2c1e4224.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Feed-6ca0541a.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./EmptyState-d65bab5b.js");require("./Chips-edf2b573.js");require("./Dropdown-f2564c92.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Popup-eb11fa82.js");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Button-7643c9aa.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Select-3ca5ab39.js");require("./reports-270f69df.js");require("./index-b41aac19.js");require("./click-outside-0b0727d1.js");require("./IconEdit-c0469b45.js");require("./SkeletonEvent-eb284de8.js");require("./Feed-5a359bb7.js");require("./Loader-21f016da.js");require("./CardBlogpost-f308ff64.js");require("./CardOrganization-22beb83d.js");require("./ButtonToggleMembership-738720bd.js");require("./Socials-43293869.js");require("./Checkbox-76f09248.js");require("./categories-7ccd6be9.js");require("./Feed-98b47c6f.js");require("./CardProduct-92affca1.js");require("./vuex.esm-bundler-685cf29f.js");require("./products-3c43eb18.js");require("./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js");require("./inputs.validation-d7cef32b.js");require("./BlockTags-8cddaef7.js");require("./Field-e2a43424.js");require("./SelectMulti-c25765cf.js");require("./UploadImage-0f488170.js");require("./Organizations-ed6d36d6.js");require("./Feed-5653cf8b.js");require("./Publics-a31d7fe7.js");require("./auth.validation-80b133df.js");const p=e.createElementVNode("section",{class:"mn-medium radius-medium pd-semi bg-white"},[e.createElementVNode("h2",{class:"mn-regular"},"Участники"),e.createElementVNode("p",{class:"t-transp p-big"},"Добавляйте новых участников организации и настраивайте права доступа.")],-1),v=e.createElementVNode("span",null,"Departments",-1),f={__name:"Members",setup(g){const n=d.useRoute(),t=e.ref(null);e.onMounted(async()=>{t.value=(await s.actions.read({_id:n.params._id,user:_.state.user._id}))[0],await u.actions.read(n.params._id),await i.actions.read(t.value._id)});async function o(r){await i.actions.create(t.value._id,r)}async function c(r){await u.actions.delete(r._id)}async function q(r){await i.actions.delete(r._id)}return(r,a)=>{const m=e.resolveComponent("IconEvents");return e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[p,e.createVNode(l._sfc_main,{onClick:a[0]||(a[0]=h=>r.router.push({name:"User Events",params:{_id:e.unref(n).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(m,{class:"i-semi",icon:!0}),v]),_:1}),e.createVNode(i._sfc_main,{organization:t.value,onSendInvite:o},null,8,["organization"]),e.createVNode(i._sfc_main$1,{organization:s.organization,memberships:r.memberships,invites:i.state.invites,onRemoveInvite:q,onRemoveMember:c},null,8,["memberships","invites"])])]),_:1})}}};exports.default=f;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { getCurrentInstance as D, isProxy as X, watch as O, defineComponent as U, withAsyncContext as N, ref as y, onMounted as F, openBlock as i, createElementBlock as r, createElementVNode as o, toDisplayString as f, unref as l, createVNode as C, withCtx as M, Fragment as R, renderList as z, createBlock as T, computed as S, onUnmounted as W, Transition as Z, withModifiers as J, createCommentVNode as v, createStaticVNode as Y, normalizeStyle as G, reactive as Q } from "vue";
|
2
|
-
import { _ as K } from "./categories-
|
2
|
+
import { _ as K } from "./categories-5b08da53.mjs";
|
3
3
|
import { useRouter as H, useRoute as tt } from "vue-router";
|
4
4
|
import { useI18n as E } from "vue-i18n";
|
5
5
|
import { C as et, S as st } from "./carousel.es-44c501bc.mjs";
|
6
6
|
import { _ as ot, a as at } from "./CardProduct-fca53299.mjs";
|
7
|
-
import { a as q, s as $ } from "./products-
|
7
|
+
import { a as q, s as $ } from "./products-943fb95e.mjs";
|
8
8
|
import { L as nt } from "./Loader-cd422786.mjs";
|
9
9
|
import { _ as A } from "./_plugin-vue_export-helper-dad06003.mjs";
|
10
10
|
import { _ as it } from "./Popup-0d8e1392.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),B=require("./categories-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),B=require("./categories-7ccd6be9.js"),V=require("vue-router"),E=require("vue-i18n"),S=require("./carousel.es-cdfb392c.js"),b=require("./CardProduct-92affca1.js"),f=require("./products-3c43eb18.js"),I=require("./Loader-21f016da.js"),w=require("./_plugin-vue_export-helper-f246444f.js"),M=require("./Popup-eb11fa82.js"),L=require("./IconEdit-c0469b45.js");require("./auth-df5a20c6.js");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./index-b41aac19.js");require("./vuex.esm-bundler-685cf29f.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");/**
|
2
2
|
* vue-meta v3.0.0-alpha.10
|
3
3
|
* (c) 2022
|
4
4
|
* - Pim (@pimlie)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { toRefs as I, openBlock as n, createElementBlock as d, createTextVNode as C, toDisplayString as w, unref as e, createVNode as r, createElementVNode as t, createCommentVNode as k, createBlock as U, withCtx as z, Fragment as N, renderList as P, withAsyncContext as E } from "vue";
|
2
2
|
import { useRoute as B, useRouter as V } from "vue-router";
|
3
|
-
import { a as R, _ as D, s as j } from "./categories-
|
3
|
+
import { a as R, _ as D, s as j } from "./categories-5b08da53.mjs";
|
4
4
|
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
5
5
|
import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
|
6
6
|
import { S as F } from "./Select-11ddabf5.mjs";
|
@@ -13,10 +13,9 @@ import { F as h } from "./Field-e5ad88d3.mjs";
|
|
13
13
|
import { u as O } from "./vuex.esm-bundler-57d8b6ba.mjs";
|
14
14
|
import { V as T } from "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
15
15
|
import { _ as q } from "./UploadImageMultiple-cb6c7188.mjs";
|
16
|
-
import { s as l, a as $ } from "./products-
|
16
|
+
import { s as l, a as $ } from "./products-943fb95e.mjs";
|
17
17
|
import "./globals-96ba60e4.mjs";
|
18
18
|
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
19
|
-
import "./auth-076a83d0.mjs";
|
20
19
|
import "./index-a661083c.mjs";
|
21
20
|
import "./_plugin-vue_export-helper-dad06003.mjs";
|
22
21
|
const G = { class: "mn-big flex-column flex" }, H = {
|
@@ -198,7 +197,7 @@ const ne = { class: "for-transition w-100" }, re = { class: "pd-b-zero pd-t-zero
|
|
198
197
|
}, ue = {
|
199
198
|
key: 1,
|
200
199
|
class: "mn-r-auto"
|
201
|
-
}, me = { class: "flex-nowrap flex pd-thin" }, pe = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, _e = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, he = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Profile", -1), fe = { class: "mn-semi" }, ge = /* @__PURE__ */ t("h5", null, "Categories", -1), be = { class: "" }, ve = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, we = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Images", -1),
|
200
|
+
}, me = { class: "flex-nowrap flex pd-thin" }, pe = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, _e = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, he = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Profile", -1), fe = { class: "mn-semi" }, ge = /* @__PURE__ */ t("h5", null, "Categories", -1), be = { class: "" }, ve = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, we = /* @__PURE__ */ t("h3", { class: "mn-semi" }, "Images", -1), Me = {
|
202
201
|
__name: "ProductEdit",
|
203
202
|
async setup(u) {
|
204
203
|
let c, o;
|
@@ -292,5 +291,5 @@ const ne = { class: "for-transition w-100" }, re = { class: "pd-b-zero pd-t-zero
|
|
292
291
|
}
|
293
292
|
};
|
294
293
|
export {
|
295
|
-
|
294
|
+
Me as default
|
296
295
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("vue-router"),b=require("./categories-7ccd6be9.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js");const V=require("./Select-3ca5ab39.js"),y=require("./Checkbox-76f09248.js"),v=require("./Button-7643c9aa.js");require("vue-i18n");require("./Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const u=require("./Field-e2a43424.js"),B=require("./vuex.esm-bundler-685cf29f.js"),w=require("./vue-draggable-next.esm-bundler-21a209c6.js"),x=require("./UploadImageMultiple-eddaac87.js"),n=require("./products-3c43eb18.js");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./index-b41aac19.js");require("./_plugin-vue_export-helper-f246444f.js");const q={class:"mn-big flex-column flex"},C={__name:"EditProductInfo",props:{product:Object},setup(s){const a=s,o=B.useStore();return e.toRefs(a),(t,l)=>(e.openBlock(),e.createElementBlock("div",q,[e.createTextVNode(e.toDisplayString(e.unref(o).products.current)+" ",1),e.createVNode(V.Select,{options:["unpublished","published","archivied"],select:e.unref(o).products.state.current.status,"onUpdate:select":l[0]||(l[0]=r=>e.unref(o).products.state.current.status=r),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.name,"onUpdate:field":l[1]||(l[1]=r=>e.unref(o).products.state.current.name=r),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.price,"onUpdate:field":l[2]||(l[2]=r=>e.unref(o).products.state.current.price=r),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(u.Field,{field:e.unref(o).products.state.current.description,"onUpdate:field":l[3]||(l[3]=r=>e.unref(o).products.state.current.description=r),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}},$={class:"mn-big"},S={class:"mn-small flex-nowrap flex"},z={class:"mn-r-thin"},P={class:"flex-column flex"},I={key:0,class:"w-100 mn-small"},L=["onClick"],U=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),A=[U],k={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(s,{emit:a}){const o=s;function t(){a("add-info",{})}function l(c){a("delete-info",c)}const{items:r,title:d,emptyMessage:m,addButtonLabel:h,keyName:p,valueName:f}=e.toRefs(o);return(c,E)=>(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("div",S,[e.createElementVNode("h5",z,e.toDisplayString(e.unref(d)),1),e.createElementVNode("button",{onClick:t,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",P,[e.unref(r).length==0?(e.openBlock(),e.createElementBlock("p",I,e.toDisplayString(e.unref(m)),1)):e.createCommentVNode("",!0),e.unref(r).length==0?(e.openBlock(),e.createBlock(v._sfc_main,{key:1,onClick:t,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(h)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),(i,g)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:g},[e.createVNode(u.Field,{field:i[e.unref(p)],"onUpdate:field":_=>i[e.unref(p)]=_,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.Field,{field:i[e.unref(f)],"onUpdate:field":_=>i[e.unref(f)]=_,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:_=>l(g),class:"mn-l-small button"},A,8,L)]))),128))])]))}},F={key:0,class:"mn-big"},D={class:"flex-column block"},R=["src"],M=["onClick"],T={__name:"EditProductImages",props:{product:Object},setup(s){function a(t){console.log(t),console.log(n.state.current.images),n.state.current.images.push(...t)}function o(t){n.state.current.images.splice(t,1)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",null,[s.product.images.length<1?(e.openBlock(),e.createElementBlock("p",F," The product doesn't have any images yet. ")):e.createCommentVNode("",!0),e.createVNode(e.unref(w.VueDraggableNext),{class:"cols-4 dragArea list-group w-full",list:s.product.images,sort:!0,onChange:t.log},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.product.images,(r,d)=>(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("img",{class:"w-100 mn-small",src:(t.FILE_SERVER_URL||"")+r},null,8,R),e.createElementVNode("a",{onClick:m=>o(d),class:"w-100 br-grey br-solid br-1px button"},"Удалить",8,M)]))),256))]),_:1},8,["list","onChange"]),e.createVNode(x._sfc_main,{"onUpdate:images":a,uploadPath:"organizations/"+t.$route.params._id+"/products",class:"mn-t-semi pd-small w-100 button bg-main"},null,8,["uploadPath"])]))}};const j={class:"for-transition w-100"},O={class:"pd-b-zero pd-t-zero pd-thin"},G={class:"pd-thin"},H={class:"flex-nowrap flex bg-grey pd-medium radius-big"},J={key:0,class:"mn-r-auto"},K={key:1,class:"mn-r-auto"},Q={class:"flex-nowrap flex pd-thin"},W={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},X={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},Y=e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1),Z={class:"mn-semi"},ee=e.createElementVNode("h5",null,"Categories",-1),te={class:""},oe={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},ne=e.createElementVNode("h3",{class:"mn-semi"},"Images",-1),re={__name:"ProductEdit",async setup(s){let a,o;const t=N.useRoute(),l=N.useRouter();[a,o]=e.withAsyncContext(()=>b.actions.fetchCategories()),await a,o(),t.params.product&&([a,o]=e.withAsyncContext(()=>n.actions.read({_id:t.params.product})),await a,o());function r(){n.state.current.information.push({name:"",value:""})}function d(c){n.state.current.information.splice(c,1)}function m(){n.state.current.localization.push({locale:"",text:""})}function h(c){n.state.current.localization.splice(c,1)}function p(){t.params.product?n.actions.update(t.params.product,n.state.current):n.actions.create(t.params._id,n.state.current)}function f(){l.push({name:"ProductEdit",params:{_id:t.params._id,product:n.state.current._id}})}return(c,E)=>(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("div",O,[e.createVNode(b._sfc_main,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",G,[e.createElementVNode("header",H,[e.unref(t).params.product?(e.openBlock(),e.createElementBlock("h1",J,"Edit Product")):(e.openBlock(),e.createElementBlock("h1",K,"Create Product")),e.createElementVNode("section",Q,[e.createVNode(v._sfc_main,{submit:p,callback:f},{default:e.withCtx(()=>[e.createTextVNode("Save Product")]),_:1})])])]),e.createElementVNode("div",W,[e.createElementVNode("div",X,[Y,e.createVNode(C,{product:n.state.current},null,8,["product"]),e.createElementVNode("div",Z,[ee,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.state.all,(i,g)=>(e.openBlock(),e.createBlock(y.Checkbox,{label:i.name,name:"categories",value:i.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:n.state.current.category},null,8,["label","value","radio"]))),256))]),e.createVNode(k,{items:n.state.current.information,title:"Parameters",emptyMessage:"No parameters",addButtonLabel:"Add parameter",keyName:"name",valueName:"value",onAddInfo:r,onDeleteInfo:d},null,8,["items"]),e.createVNode(k,{items:n.state.current.localization,title:"Localization",emptyMessage:"No localizations",addButtonLabel:"Add localization",keyName:"locale",valueName:"text",onAddInfo:m,onDeleteInfo:h},null,8,["items"])]),e.createElementVNode("div",te,[e.createElementVNode("div",oe,[ne,e.createVNode(T,{product:n.state.current},null,8,["product"])])])])]))}};exports.default=re;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("vue-router"),s=require("./products-3c43eb18.js"),c=require("./Feed-98b47c6f.js"),d=require("./CardProduct-92affca1.js"),m=require("./Tab-2c1e4224.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");require("./SkeletonEvent-eb284de8.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./EmptyState-d65bab5b.js");require("./vuex.esm-bundler-685cf29f.js");require("./Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const p={class:"mn-medium flex-v-center flex-nowrap flex"},q=e.createElementVNode("h2",{class:"mn-r-medium"},"Products",-1),b={__name:"ProductsBackoffice",setup(_){const r=i.useRoute(),l=i.useRouter(),u=e.ref(r.query.tab?r.query.tab:"posts");return r.query.tab=u.value,e.watch(u,a=>{l.replace({query:{...r.query,tab:a}})}),e.onMounted(async()=>{await s.actions.fetchProducts()}),(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",p,[q,e.createElementVNode("button",{onClick:o[0]||(o[0]=t=>a.$router.push({name:"AddProduct"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(m._sfc_main,{selected:u.value,"onUpdate:selected":o[1]||(o[1]=t=>u.value=t),tabs:[{name:"All",value:"all"},{name:"Published",value:"published"},{name:"Unpublished",value:"unpublished"},{name:"Archivied",value:"archivied"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(c._sfc_main,{states:{empty:{title:"No Products Found",description:"Currently, there are no products available."}},store:{read:t=>s.actions.read(t),state:s.state},options:{limit:15,organization:e.unref(r).params._id,status:u.value}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(d._sfc_main,{key:n._id,product:n,onClick:h=>a.$router.push({name:"Product Organization",params:{_id:e.unref(r).params._id,product:n._id}})},null,8,["product","onClick"]))),128))]),_:1},8,["states","store","options"])],64))}};exports.default=b;
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import { ref as _, watch as f, onMounted as h, openBlock as i, createElementBlock as u, Fragment as l, createElementVNode as n, createVNode as m, unref as d, withCtx as b, renderList as v, createBlock as y } from "vue";
|
2
2
|
import { useRoute as g, useRouter as k } from "vue-router";
|
3
|
-
import { a as c, s as P } from "./products-
|
3
|
+
import { a as c, s as P } from "./products-943fb95e.mjs";
|
4
4
|
import { _ as $ } from "./Feed-d114330c.mjs";
|
5
5
|
import { _ as q } from "./CardProduct-fca53299.mjs";
|
6
6
|
import { _ as w } from "./Tab-054b61f7.mjs";
|
7
|
-
import "./auth-ec618cb3.mjs";
|
8
7
|
import "./index-a661083c.mjs";
|
9
8
|
import "./globals-96ba60e4.mjs";
|
10
9
|
import "vue-i18n";
|
@@ -14,7 +13,7 @@ import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
|
14
13
|
import "./EmptyState-e404b05d.mjs";
|
15
14
|
import "./vuex.esm-bundler-57d8b6ba.mjs";
|
16
15
|
import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
17
|
-
const C = { class: "mn-medium flex-v-center flex-nowrap flex" }, x = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Products", -1),
|
16
|
+
const C = { class: "mn-medium flex-v-center flex-nowrap flex" }, x = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Products", -1), J = {
|
18
17
|
__name: "ProductsBackoffice",
|
19
18
|
setup(B) {
|
20
19
|
const e = g(), p = k(), r = _(e.query.tab ? e.query.tab : "posts");
|
@@ -82,5 +81,5 @@ const C = { class: "mn-medium flex-v-center flex-nowrap flex" }, x = /* @__PURE_
|
|
82
81
|
}
|
83
82
|
};
|
84
83
|
export {
|
85
|
-
|
84
|
+
J as default
|
86
85
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./_plugin-vue_export-helper-f246444f.js"),o=require("./auth.validation-80b133df.js");require("vue-router");require("./auth-df5a20c6.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");const c={},s={id:"account",class:"cols-1 gap-medium pd-medium"},m={class:"w-100"};function u(t,p){const r=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("section",s,[e.createElementVNode("div",m,[e.createVNode(r,null,{default:e.withCtx(({Component:n,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{ref:"page",key:i.path}))]),_:2},1024)]),_:1})])])}const f=a._export_sfc(c,[["render",u]]),l=[{path:"backoffice",component:f,beforeEnter:[o.requiresAdmin],children:[{path:"",name:"Backoffice",meta:{title:{en:"Backoffice",ru:"Управление"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Dashboard-73b50724.js"))},{path:"gallery",name:"Backoffice Gallery",meta:{title:{en:"Backoffice Gallery",ru:"Управление Галерей"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./BackofficeGallery-568b55bb.js"))},{path:"reports",name:"Backoffice Reports",meta:{title:{en:"Backoffice Reports",ru:"Управление Жалобами"}},component:()=>Promise.resolve().then(()=>require("./BackofficeReports-d021871f.js"))},{path:"organizations",name:"Backoffice Organizations",meta:{title:{en:"Backoffice Organizations",ru:"Управление Организациями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Organizations-ed6d36d6.js"))},{path:"events",name:"Backoffice Events",meta:{title:{en:"Backoffice Events",ru:"Управление Событиями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Events-41d71b0e.js")).then(t=>t.Events)},{path:"community",name:"Backoffice Community",meta:{title:{en:"Backoffice Community",ru:"Управление Сообществом"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Community-2f6fee0f.js"))},{path:"products",name:"Backoffice Products",meta:{title:{en:"Backoffice Products",ru:"Управление Продуктами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./ProductsBackoffice-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./_plugin-vue_export-helper-f246444f.js"),o=require("./auth.validation-80b133df.js");require("vue-router");require("./auth-df5a20c6.js");require("./index-b41aac19.js");require("./globals-928eb13c.js");require("vue-i18n");const c={},s={id:"account",class:"cols-1 gap-medium pd-medium"},m={class:"w-100"};function u(t,p){const r=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("section",s,[e.createElementVNode("div",m,[e.createVNode(r,null,{default:e.withCtx(({Component:n,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{ref:"page",key:i.path}))]),_:2},1024)]),_:1})])])}const f=a._export_sfc(c,[["render",u]]),l=[{path:"backoffice",component:f,beforeEnter:[o.requiresAdmin],children:[{path:"",name:"Backoffice",meta:{title:{en:"Backoffice",ru:"Управление"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Dashboard-73b50724.js"))},{path:"gallery",name:"Backoffice Gallery",meta:{title:{en:"Backoffice Gallery",ru:"Управление Галерей"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./BackofficeGallery-568b55bb.js"))},{path:"reports",name:"Backoffice Reports",meta:{title:{en:"Backoffice Reports",ru:"Управление Жалобами"}},component:()=>Promise.resolve().then(()=>require("./BackofficeReports-d021871f.js"))},{path:"organizations",name:"Backoffice Organizations",meta:{title:{en:"Backoffice Organizations",ru:"Управление Организациями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Organizations-ed6d36d6.js"))},{path:"events",name:"Backoffice Events",meta:{title:{en:"Backoffice Events",ru:"Управление Событиями"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Events-41d71b0e.js")).then(t=>t.Events)},{path:"community",name:"Backoffice Community",meta:{title:{en:"Backoffice Community",ru:"Управление Сообществом"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Community-2f6fee0f.js"))},{path:"products",name:"Backoffice Products",meta:{title:{en:"Backoffice Products",ru:"Управление Продуктами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./ProductsBackoffice-0716123f.js"))},{path:"products/add",name:"AddProduct",component:()=>Promise.resolve().then(()=>require("./ProductEdit-bae5e898.js"))},{path:"products/:product",name:"Product Backofffice",meta:{title:{en:"Product",ru:"Продукт"}},component:()=>Promise.resolve().then(()=>require("./Product-4a834930.js"))},{path:"products/:product/edit",name:"ProductEdit",beforeEnter:[o.requiresAuth],component:()=>Promise.resolve().then(()=>require("./ProductEdit-bae5e898.js"))},{path:"leftovers",name:"Backoffice Leftovers",meta:{title:{en:"Backoffice Leftovers",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Leftovers-470a1689.js"))},{path:"leftovers/add",name:"LeftoverAdd",meta:{title:{en:"Backoffice Leftovers",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./LeftoverAdd-5a8988d9.js"))},{path:"leftovers/:_id",name:"LeftoverEdit",meta:{title:{en:"Backoffice Leftovers",ru:"Управление Остатками"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./LeftoverAdd-5a8988d9.js"))},{path:"orders",name:"Backoffice Orders",meta:{title:{en:"Backoffice Orders",ru:"Управление Заказами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Orders-b64e8cb9.js"))},{path:"orders/add",name:"AdminOrder",component:()=>Promise.resolve().then(()=>require("./EditOrder-c070d474.js"))},{path:"orders/:_id",name:"AdminOrderEdit",component:()=>Promise.resolve().then(()=>require("./EditOrder-c070d474.js"))},{path:"payments",name:"Backoffice Payments",meta:{title:{en:"Backoffice Payments",ru:"Управление Платежами"},authorize:[]},component:()=>Promise.resolve().then(()=>require("./Payments-53e5fecf.js"))}]}];exports.backofficeRoutes=l;
|
@@ -142,13 +142,13 @@ const y = /* @__PURE__ */ d(k, [["render", v]]), b = [{
|
|
142
142
|
},
|
143
143
|
component: () => import(
|
144
144
|
/* webpackChunkName: 'BackofficeProducts' */
|
145
|
-
"./ProductsBackoffice-
|
145
|
+
"./ProductsBackoffice-a36ecbc6.mjs"
|
146
146
|
)
|
147
147
|
},
|
148
148
|
{
|
149
149
|
path: "products/add",
|
150
150
|
name: "AddProduct",
|
151
|
-
component: () => import("./ProductEdit-
|
151
|
+
component: () => import("./ProductEdit-959b3cd3.mjs")
|
152
152
|
},
|
153
153
|
{
|
154
154
|
path: "products/:product",
|
@@ -159,13 +159,13 @@ const y = /* @__PURE__ */ d(k, [["render", v]]), b = [{
|
|
159
159
|
ru: "Продукт"
|
160
160
|
}
|
161
161
|
},
|
162
|
-
component: () => import("./Product-
|
162
|
+
component: () => import("./Product-2f8e6943.mjs")
|
163
163
|
},
|
164
164
|
{
|
165
165
|
path: "products/:product/edit",
|
166
166
|
name: "ProductEdit",
|
167
167
|
beforeEnter: [h],
|
168
|
-
component: () => import("./ProductEdit-
|
168
|
+
component: () => import("./ProductEdit-959b3cd3.mjs")
|
169
169
|
},
|
170
170
|
{
|
171
171
|
path: "leftovers",
|
@@ -179,7 +179,7 @@ const y = /* @__PURE__ */ d(k, [["render", v]]), b = [{
|
|
179
179
|
},
|
180
180
|
component: () => import(
|
181
181
|
/* webpackChunkName: 'BackofficeLeftovers' */
|
182
|
-
"./Leftovers-
|
182
|
+
"./Leftovers-69c7dcd9.mjs"
|
183
183
|
)
|
184
184
|
},
|
185
185
|
{
|
@@ -194,7 +194,7 @@ const y = /* @__PURE__ */ d(k, [["render", v]]), b = [{
|
|
194
194
|
},
|
195
195
|
component: () => import(
|
196
196
|
/* webpackChunkName: 'LeftoverEdit' */
|
197
|
-
"./LeftoverAdd-
|
197
|
+
"./LeftoverAdd-c4f37f47.mjs"
|
198
198
|
)
|
199
199
|
},
|
200
200
|
{
|
@@ -209,7 +209,7 @@ const y = /* @__PURE__ */ d(k, [["render", v]]), b = [{
|
|
209
209
|
},
|
210
210
|
component: () => import(
|
211
211
|
/* webpackChunkName: 'LeftoverEdit' */
|
212
|
-
"./LeftoverAdd-
|
212
|
+
"./LeftoverAdd-c4f37f47.mjs"
|
213
213
|
)
|
214
214
|
},
|
215
215
|
{
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { computed as b, resolveComponent as k, openBlock as a, createElementBlock as o, Fragment as P, renderList as V, unref as p, normalizeClass as y, createCommentVNode as w, createBlock as H, withCtx as B, createTextVNode as j, toDisplayString as v, createElementVNode as L, reactive as
|
2
|
-
import { useRoute as
|
3
|
-
import { useI18n as
|
1
|
+
import { computed as b, resolveComponent as k, openBlock as a, createElementBlock as o, Fragment as P, renderList as V, unref as p, normalizeClass as y, createCommentVNode as w, createBlock as H, withCtx as B, createTextVNode as j, toDisplayString as v, createElementVNode as L, reactive as E, watch as I } from "vue";
|
2
|
+
import { useRoute as M } from "vue-router";
|
3
|
+
import { useI18n as N } from "vue-i18n";
|
4
4
|
import { s as l } from "./globals-96ba60e4.mjs";
|
5
5
|
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
6
|
-
import "./
|
7
|
-
|
8
|
-
const R = {
|
6
|
+
import { a as R } from "./index-a661083c.mjs";
|
7
|
+
const U = {
|
9
8
|
class: "breadcrumbs flex-row flex-nowrap flex-left flex",
|
10
9
|
"aria-label": "breadcrumbs"
|
11
10
|
}, Z = {
|
@@ -30,17 +29,17 @@ const R = {
|
|
30
29
|
fill: "black"
|
31
30
|
}, null, -1), T = [
|
32
31
|
F
|
33
|
-
],
|
32
|
+
], W = {
|
34
33
|
__name: "Breadcrumbs",
|
35
34
|
setup(e) {
|
36
|
-
const t =
|
35
|
+
const t = M(), { t: C, locale: i } = N(), m = b(() => t.matched.map((n) => {
|
37
36
|
var _, f, g;
|
38
|
-
const h = (_ = n.meta) == null ? void 0 : _.title, d = i == null ? void 0 : i.value, u = h && d && h[d], s = n.path.replace(/:.+?\//g, (
|
37
|
+
const h = (_ = n.meta) == null ? void 0 : _.title, d = i == null ? void 0 : i.value, u = h && d && h[d], s = n.path.replace(/:.+?\//g, ($) => ""), x = (g = (f = n.meta) == null ? void 0 : f.breadcrumbs) == null ? void 0 : g.hidden;
|
39
38
|
return { name: u, path: s, isHidden: x };
|
40
39
|
}).filter((n) => n.name && !n.isHidden));
|
41
40
|
return (n, h) => {
|
42
41
|
const d = k("router-link");
|
43
|
-
return a(), o("ol",
|
42
|
+
return a(), o("ol", U, [
|
44
43
|
(a(!0), o(P, null, V(p(m), (u, s) => (a(), o("li", {
|
45
44
|
key: s,
|
46
45
|
class: y(["flex-v-center flex-nowrap flex", { "t-main": s === p(m).length - 1 }])
|
@@ -60,7 +59,7 @@ const R = {
|
|
60
59
|
]);
|
61
60
|
};
|
62
61
|
}
|
63
|
-
},
|
62
|
+
}, c = R.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = E({
|
64
63
|
all: [],
|
65
64
|
current: {
|
66
65
|
order: "1",
|
@@ -70,7 +69,7 @@ const R = {
|
|
70
69
|
filters: [],
|
71
70
|
localization: []
|
72
71
|
}
|
73
|
-
}),
|
72
|
+
}), X = {
|
74
73
|
async fetchCategories() {
|
75
74
|
return await c.get("/categories").then(
|
76
75
|
(e) => (r.all = e.data, Promise.resolve(e.data)),
|
@@ -113,10 +112,10 @@ const R = {
|
|
113
112
|
);
|
114
113
|
}
|
115
114
|
};
|
116
|
-
|
115
|
+
I(r, (e) => {
|
117
116
|
});
|
118
117
|
export {
|
119
|
-
|
120
|
-
|
118
|
+
W as _,
|
119
|
+
X as a,
|
121
120
|
r as s
|
122
121
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),g=require("vue-router"),k=require("vue-i18n"),a=require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const v=require("./index-b41aac19.js"),w={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},B={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L=e.createElementVNode("path",{fill:"black",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),x=[L],E={key:2},b={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V=e.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"black"},null,-1),P=[V],y={__name:"Breadcrumbs",setup(t){const r=g.useRoute(),{t:p,locale:c}=k.useI18n(),u=e.computed(()=>r.matched.map(s=>{var h,C,_;const m=(h=s.meta)==null?void 0:h.title,d=c==null?void 0:c.value,i=m&&d&&m[d],o=s.path.replace(/:.+?\//g,H=>""),f=(_=(C=s.meta)==null?void 0:C.breadcrumbs)==null?void 0:_.hidden;return{name:i,path:o,isHidden:f}}).filter(s=>s.name&&!s.isHidden));return(s,m)=>{const d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",w,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),(i,o)=>(e.openBlock(),e.createElementBlock("li",{key:o,class:e.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":o===e.unref(u).length-1}])},[o===0?(e.openBlock(),e.createElementBlock("svg",B,x)):e.createCommentVNode("",!0),o!==e.unref(u).length-1?(e.openBlock(),e.createBlock(d,{key:1,to:o===0?"/":i.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.name),1)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(i.name),1)),o!==e.unref(u).length-1?(e.openBlock(),e.createElementBlock("svg",b,P)):e.createCommentVNode("",!0)],2))),128))])}}},l=v.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),n=e.reactive({all:[],current:{order:"1",name:"",url:"",subcategories:[],filters:[],localization:[]}}),q={async fetchCategories(){return await l.get("/categories").then(t=>(n.all=t.data,Promise.resolve(t.data)),t=>(a.setError(t),Promise.reject(t)))},updateCategories(t){return l.post("/categories",t).then(r=>(n.all=t,Promise.resolve(t)),r=>(a.setError(r),Promise.reject(r)))},fetchCategory(t){return l.get("/categories/"+t).then(r=>(n.current=r.data,Promise.resolve(r.data)),r=>(a.setError(r),Promise.reject(r)))},addCategory(){return l.post("/categories/add",n.current).then(t=>(n.all.push(t.data),Promise.resolve(t.data)),t=>(a.setError(t),Promise.reject(t)))},updateCategory(t){return l.post("/categories/"+t,n.current).then(r=>(n.current=r.data,Promise.resolve(r.data)),r=>(a.setError(r),Promise.reject(r)))},deleteCategory(t){return l.delete("/categories/"+t).then(r=>{const p=n.all.findIndex(c=>c.url===t);n.all.splice(p,1)},r=>{a.setError(r)})}};e.watch(n,t=>{});exports._sfc_main=y;exports.actions=q;exports.state=n;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { reactive as d, watch as
|
2
|
-
import { a as
|
1
|
+
import { reactive as d, watch as p } from "vue";
|
2
|
+
import { a as l } from "./index-a661083c.mjs";
|
3
3
|
import { s as o } from "./globals-96ba60e4.mjs";
|
4
|
-
const
|
4
|
+
const n = l.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = d({
|
5
5
|
all: [],
|
6
6
|
current: {
|
7
7
|
type: "",
|
8
8
|
order: "",
|
9
9
|
positions: []
|
10
10
|
}
|
11
|
-
}),
|
11
|
+
}), w = {
|
12
12
|
async read(e) {
|
13
13
|
try {
|
14
14
|
const t = await n.get("/leftovers");
|
@@ -59,9 +59,9 @@ const u = process.env.API_URL, n = p.create({ baseURL: u, withCredentials: !0 })
|
|
59
59
|
t !== -1 && r.current.positions.splice(t, 1);
|
60
60
|
}
|
61
61
|
};
|
62
|
-
|
62
|
+
p(r, (e) => {
|
63
63
|
});
|
64
64
|
export {
|
65
|
-
|
65
|
+
w as a,
|
66
66
|
r as s
|
67
67
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const i=require("vue"),l=require("./index-b41aac19.js"),a=require("./globals-928eb13c.js"),n=l.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),r=i.reactive({all:[],current:{type:"",order:"",positions:[]}}),u={async read(e){try{const t=await n.get("/leftovers");return r.all=t.data,t.data}catch(t){throw a.setError(t),t}},async fetch(e){try{const t=await n.get("/leftovers/"+e);return r.current=t.data,t.data}catch(t){throw a.setError(t),t}},async create({type:e,order:t,positions:s}){try{const o=await n.post("/leftovers",{type:e,order:t,positions:s});return r.all.push(o.data),o.data}catch(o){throw a.setError(o),o}},async update(e){try{const t=await n.post("/leftovers/"+e._id,e);return r.current=t.data,t.data}catch(t){throw a.setError(t),t}},async delete(e){try{const t=await n.delete("/leftovers/"+e);return r.all.splice(r.all.findIndex(s=>s._id==e),1),t.data}catch(t){throw a.setError(t),t}},addProductToLeftover({product:e,price:t,quantity:s,type:o}){const c=r.current.positions.find(d=>d._id===e._id);c?(c.quantity+=s,c.price=t,c.type=o):r.current.positions.push({...e,price:t,quantity:s,type:o})},deleteItemFromLeftover(e){const t=r.current.positions.findIndex(s=>s._id===e._id);t!==-1&&r.current.positions.splice(t,1)}};i.watch(r,e=>{});exports.actions=u;exports.state=r;
|