@ozdao/prometheus-framework 0.2.34 → 0.2.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +2 -1
- package/dist/events.server.mjs +2 -1
- package/dist/main.css +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.js +97 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.js +173 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +337 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +109 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.js +47 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +73 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +117 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +59 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +72 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +14 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +13 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +88 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +84 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +51 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +224 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.js +44 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.js +38 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.js +16 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.js +42 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +22 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.js +59 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +23 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +29 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +3 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +35 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +60 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +80 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.js +17 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.js +16 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.js +42 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.js +20 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.js +34 -0
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +62 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +42 -34
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -93
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +93 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +99 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +2 -73
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +30 -28
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +25 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +381 -140
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +4 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +122 -48
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +116 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +3 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +117 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +108 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +70 -0
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +20 -16
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +58 -55
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +13 -14
- package/dist/prometheus-framework.es.js +594 -805
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +26 -19
- package/src/components/FieldBig/FieldBig.vue +1 -1
- package/src/components/FieldPhone/FieldPhone.vue +55 -304
- package/src/components/FieldPhone/FieldPhone2.vue +671 -0
- package/src/components/FieldPhone/click-outside.js +16 -11
- package/src/components/Footer/Footer.vue +4 -4
- package/src/components/Header/Header.vue +2 -1
- package/src/components/Select/Select.vue +2 -1
- package/src/modules/chats/components/sections/ChatWindow.vue +3 -1
- package/src/modules/chats/store/chat.store.js +1 -3
- package/src/modules/events/components/pages/EditEvent.vue +2 -1
- package/src/modules/events/components/pages/Event.vue +8 -2
- package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -1
- package/src/modules/events/store/events.js +23 -3
- package/src/modules/globals/mixins/mixins.js +33 -2
- package/src/modules/globals/store/globals.js +1 -0
- package/src/modules/landing/components/sections/HeroGovernance.vue +156 -0
- package/src/modules/marketplace/components/sections/Filters.vue +3 -0
- package/src/modules/marketplace/router/marketplace.js +1 -0
- package/src/modules/orders/components/blocks/StatusHistory.vue +8 -3
- package/src/modules/orders/components/pages/EditOrder.vue +9 -11
- package/src/modules/orders/components/pages/FormOrder.vue +58 -46
- package/src/modules/orders/components/pages/Order.vue +63 -42
- package/src/modules/orders/components/sections/FormOrderDetails.vue +50 -18
- package/src/modules/orders/controllers/orders.controller.js +10 -1
- package/src/modules/orders/models/order.model.js +1 -0
- package/src/modules/orders/store/orders.js +21 -27
- package/src/modules/orders/store/shopcart.js +14 -2
- package/src/modules/organizations/components/sections/DetailsTab.vue +2 -2
- package/src/modules/products/components/sections/FilterProducts.vue +3 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +29 -2
- package/src/modules/products/components/sections/SectionProduct.vue +14 -9
- package/src/modules/products/controllers/products.controller.js +26 -17
- package/src/modules/products/routes/products.routes.js +6 -6
- package/src/modules/products/store/products.js +10 -10
- package/src/styles/config.scss +10 -3
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("../env/data.cjs"),o=require("../core/AxiosError.cjs"),a={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{a[t]=function(r){return typeof r===t||"a"+(n<1?"n ":" ")+t}});const l={};a.transitional=function(t,n,r){function i(u,e){return"[Axios v"+d.VERSION+"] Transitional option '"+u+"'"+e+(r?". "+r:"")}return(u,e,s)=>{if(t===!1)throw new o.default(i(e," has been removed"+(n?" in "+n:"")),o.default.ERR_DEPRECATED);return n&&!l[e]&&(l[e]=!0,console.warn(i(e," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(u,e,s):!0}};function b(t,n,r){if(typeof t!="object")throw new o.default("options must be an object",o.default.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let u=i.length;for(;u-- >0;){const e=i[u],s=n[e];if(s){const f=t[e],c=f===void 0||s(f,e,t);if(c!==!0)throw new o.default("option "+e+" must be "+c,o.default.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new o.default("Unknown option "+e,o.default.ERR_BAD_OPTION)}}const E={assertOptions:b,validators:a};exports.default=E;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { VERSION as l } from "../env/data.js";
|
2
|
+
import t from "../core/AxiosError.js";
|
3
|
+
const a = {};
|
4
|
+
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, e) => {
|
5
|
+
a[n] = function(r) {
|
6
|
+
return typeof r === n || "a" + (e < 1 ? "n " : " ") + n;
|
7
|
+
};
|
8
|
+
});
|
9
|
+
const b = {};
|
10
|
+
a.transitional = function(n, e, r) {
|
11
|
+
function i(s, o) {
|
12
|
+
return "[Axios v" + l + "] Transitional option '" + s + "'" + o + (r ? ". " + r : "");
|
13
|
+
}
|
14
|
+
return (s, o, c) => {
|
15
|
+
if (n === !1)
|
16
|
+
throw new t(
|
17
|
+
i(o, " has been removed" + (e ? " in " + e : "")),
|
18
|
+
t.ERR_DEPRECATED
|
19
|
+
);
|
20
|
+
return e && !b[o] && (b[o] = !0, console.warn(
|
21
|
+
i(
|
22
|
+
o,
|
23
|
+
" has been deprecated since v" + e + " and will be removed in the near future"
|
24
|
+
)
|
25
|
+
)), n ? n(s, o, c) : !0;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
function p(n, e, r) {
|
29
|
+
if (typeof n != "object")
|
30
|
+
throw new t("options must be an object", t.ERR_BAD_OPTION_VALUE);
|
31
|
+
const i = Object.keys(n);
|
32
|
+
let s = i.length;
|
33
|
+
for (; s-- > 0; ) {
|
34
|
+
const o = i[s], c = e[o];
|
35
|
+
if (c) {
|
36
|
+
const f = n[o], u = f === void 0 || c(f, o, n);
|
37
|
+
if (u !== !0)
|
38
|
+
throw new t("option " + o + " must be " + u, t.ERR_BAD_OPTION_VALUE);
|
39
|
+
continue;
|
40
|
+
}
|
41
|
+
if (r !== !0)
|
42
|
+
throw new t("Unknown option " + o, t.ERR_BAD_OPTION);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
const h = {
|
46
|
+
assertOptions: p,
|
47
|
+
validators: a
|
48
|
+
};
|
49
|
+
export {
|
50
|
+
h as default
|
51
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=typeof Blob<"u"?Blob:null;exports.default=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=typeof FormData<"u"?FormData:null;exports.default=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../../helpers/AxiosURLSearchParams.cjs"),a=typeof URLSearchParams<"u"?URLSearchParams:e.default;exports.default=a;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./classes/URLSearchParams.cjs"),t=require("./classes/FormData.cjs"),r=require("./classes/Blob.cjs"),a={isBrowser:!0,classes:{URLSearchParams:e.default,FormData:t.default,Blob:r.default},protocols:["http","https","file","blob","url","data"]};exports.default=a;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import o from "./classes/URLSearchParams.js";
|
2
|
+
import r from "./classes/FormData.js";
|
3
|
+
import t from "./classes/Blob.js";
|
4
|
+
const m = {
|
5
|
+
isBrowser: !0,
|
6
|
+
classes: {
|
7
|
+
URLSearchParams: o,
|
8
|
+
FormData: r,
|
9
|
+
Blob: t
|
10
|
+
},
|
11
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
12
|
+
};
|
13
|
+
export {
|
14
|
+
m as default
|
15
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=typeof window<"u"&&typeof document<"u",t=(o=>e&&["ReactNative","NativeScript","NS"].indexOf(o)<0)(typeof navigator<"u"&&navigator.product),r=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")();exports.hasBrowserEnv=e;exports.hasStandardBrowserEnv=t;exports.hasStandardBrowserWebWorkerEnv=r;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
const e = typeof window < "u" && typeof document < "u", r = ((o) => e && ["ReactNative", "NativeScript", "NS"].indexOf(o) < 0)(typeof navigator < "u" && navigator.product), t = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
2
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")();
|
3
|
+
export {
|
4
|
+
e as hasBrowserEnv,
|
5
|
+
r as hasStandardBrowserEnv,
|
6
|
+
t as hasStandardBrowserWebWorkerEnv
|
7
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./browser/index.cjs"),t=require("./common/utils.cjs"),u={...t,...e.default};exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x=require("./helpers/bind.cjs"),{toString:C}=Object.prototype,{getPrototypeOf:h}=Object,b=(t=>r=>{const n=C.call(r);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=t=>(t=t.toLowerCase(),r=>b(r)===t),g=t=>r=>typeof r===t,{isArray:u}=Array,f=g("undefined");function E(t){return t!==null&&!f(t)&&t.constructor!==null&&!f(t.constructor)&&l(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const F=c("ArrayBuffer");function v(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&F(t.buffer),r}const M=g("string"),l=g("function"),S=g("number"),O=t=>t!==null&&typeof t=="object",N=t=>t===!0||t===!1,y=t=>{if(b(t)!=="object")return!1;const r=h(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},U=c("Date"),H=c("File"),I=c("Blob"),k=c("FileList"),_=t=>O(t)&&l(t.pipe),K=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||l(t.append)&&((r=b(t))==="formdata"||r==="object"&&l(t.toString)&&t.toString()==="[object FormData]"))},R=c("URLSearchParams"),z=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function p(t,r,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let e,o;if(typeof t!="object"&&(t=[t]),u(t))for(e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(e=0;e<s;e++)a=i[e],r.call(null,t[a],a,t)}}function P(t,r){r=r.toLowerCase();const n=Object.keys(t);let e=n.length,o;for(;e-- >0;)if(o=n[e],r===o.toLowerCase())return o;return null}const L=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),B=t=>!f(t)&&t!==L;function d(){const{caseless:t}=B(this)&&this||{},r={},n=(e,o)=>{const i=t&&P(r,o)||o;y(r[i])&&y(e)?r[i]=d(r[i],e):y(e)?r[i]=d({},e):u(e)?r[i]=e.slice():r[i]=e};for(let e=0,o=arguments.length;e<o;e++)arguments[e]&&p(arguments[e],n);return r}const G=(t,r,n,{allOwnKeys:e}={})=>(p(r,(o,i)=>{n&&l(o)?t[i]=x.default(o,n):t[i]=o},{allOwnKeys:e}),t),V=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),q=(t,r,n,e)=>{t.prototype=Object.create(r.prototype,e),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},J=(t,r,n,e)=>{let o,i,s;const a={};if(r=r||{},t==null)return r;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!e||e(s,t,r))&&!a[s]&&(r[s]=t[s],a[s]=!0);t=n!==!1&&h(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},W=(t,r,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=r.length;const e=t.indexOf(r,n);return e!==-1&&e===n},$=t=>{if(!t)return null;if(u(t))return t;let r=t.length;if(!S(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=t[r];return n},Q=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&h(Uint8Array)),X=(t,r)=>{const n=(t&&t[Symbol.iterator]).call(t);let e;for(;(e=n.next())&&!e.done;){const o=e.value;r.call(t,o[0],o[1])}},Y=(t,r)=>{let n;const e=[];for(;(n=t.exec(r))!==null;)e.push(n);return e},Z=c("HTMLFormElement"),tt=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,e){return n.toUpperCase()+e}),A=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),rt=c("RegExp"),T=(t,r)=>{const n=Object.getOwnPropertyDescriptors(t),e={};p(n,(o,i)=>{let s;(s=r(o,i,t))!==!1&&(e[i]=s||o)}),Object.defineProperties(t,e)},et=t=>{T(t,(r,n)=>{if(l(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const e=t[n];if(l(e)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nt=(t,r)=>{const n={},e=o=>{o.forEach(i=>{n[i]=!0})};return u(t)?e(t):e(String(t).split(r)),n},ot=()=>{},it=(t,r)=>(t=+t,Number.isFinite(t)?t:r),m="abcdefghijklmnopqrstuvwxyz",j="0123456789",D={DIGIT:j,ALPHA:m,ALPHA_DIGIT:m+m.toUpperCase()+j},st=(t=16,r=D.ALPHA_DIGIT)=>{let n="";const{length:e}=r;for(;t--;)n+=r[Math.random()*e|0];return n};function lt(t){return!!(t&&l(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ct=t=>{const r=new Array(10),n=(e,o)=>{if(O(e)){if(r.indexOf(e)>=0)return;if(!("toJSON"in e)){r[o]=e;const i=u(e)?[]:{};return p(e,(s,a)=>{const w=n(s,o+1);!f(w)&&(i[a]=w)}),r[o]=void 0,i}}return e};return n(t,0)},at=c("AsyncFunction"),ut=t=>t&&(O(t)||l(t))&&l(t.then)&&l(t.catch),ft={isArray:u,isArrayBuffer:F,isBuffer:E,isFormData:K,isArrayBufferView:v,isString:M,isNumber:S,isBoolean:N,isObject:O,isPlainObject:y,isUndefined:f,isDate:U,isFile:H,isBlob:I,isRegExp:rt,isFunction:l,isStream:_,isURLSearchParams:R,isTypedArray:Q,isFileList:k,forEach:p,merge:d,extend:G,trim:z,stripBOM:V,inherits:q,toFlatObject:J,kindOf:b,kindOfTest:c,endsWith:W,toArray:$,forEachEntry:X,matchAll:Y,isHTMLForm:Z,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:T,freezeMethods:et,toObjectSet:nt,toCamelCase:tt,noop:ot,toFiniteNumber:it,findKey:P,global:L,isContextDefined:B,ALPHABET:D,generateString:st,isSpecCompliantForm:lt,toJSONObject:ct,isAsyncFn:at,isThenable:ut};exports.default=ft;
|
@@ -0,0 +1,224 @@
|
|
1
|
+
import T from "./helpers/bind.js";
|
2
|
+
const { toString: C } = Object.prototype, { getPrototypeOf: d } = Object, b = ((t) => (r) => {
|
3
|
+
const n = C.call(r);
|
4
|
+
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
5
|
+
})(/* @__PURE__ */ Object.create(null)), c = (t) => (t = t.toLowerCase(), (r) => b(r) === t), g = (t) => (r) => typeof r === t, { isArray: u } = Array, f = g("undefined");
|
6
|
+
function E(t) {
|
7
|
+
return t !== null && !f(t) && t.constructor !== null && !f(t.constructor) && l(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
8
|
+
}
|
9
|
+
const F = c("ArrayBuffer");
|
10
|
+
function N(t) {
|
11
|
+
let r;
|
12
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && F(t.buffer), r;
|
13
|
+
}
|
14
|
+
const U = g("string"), l = g("function"), S = g("number"), m = (t) => t !== null && typeof t == "object", H = (t) => t === !0 || t === !1, y = (t) => {
|
15
|
+
if (b(t) !== "object")
|
16
|
+
return !1;
|
17
|
+
const r = d(t);
|
18
|
+
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
19
|
+
}, I = c("Date"), k = c("File"), v = c("Blob"), M = c("FileList"), K = (t) => m(t) && l(t.pipe), R = (t) => {
|
20
|
+
let r;
|
21
|
+
return t && (typeof FormData == "function" && t instanceof FormData || l(t.append) && ((r = b(t)) === "formdata" || // detect form-data instance
|
22
|
+
r === "object" && l(t.toString) && t.toString() === "[object FormData]"));
|
23
|
+
}, z = c("URLSearchParams"), G = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
24
|
+
function p(t, r, { allOwnKeys: n = !1 } = {}) {
|
25
|
+
if (t === null || typeof t > "u")
|
26
|
+
return;
|
27
|
+
let e, o;
|
28
|
+
if (typeof t != "object" && (t = [t]), u(t))
|
29
|
+
for (e = 0, o = t.length; e < o; e++)
|
30
|
+
r.call(null, t[e], e, t);
|
31
|
+
else {
|
32
|
+
const i = n ? Object.getOwnPropertyNames(t) : Object.keys(t), s = i.length;
|
33
|
+
let a;
|
34
|
+
for (e = 0; e < s; e++)
|
35
|
+
a = i[e], r.call(null, t[a], a, t);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
function P(t, r) {
|
39
|
+
r = r.toLowerCase();
|
40
|
+
const n = Object.keys(t);
|
41
|
+
let e = n.length, o;
|
42
|
+
for (; e-- > 0; )
|
43
|
+
if (o = n[e], r === o.toLowerCase())
|
44
|
+
return o;
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
const L = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), B = (t) => !f(t) && t !== L;
|
48
|
+
function h() {
|
49
|
+
const { caseless: t } = B(this) && this || {}, r = {}, n = (e, o) => {
|
50
|
+
const i = t && P(r, o) || o;
|
51
|
+
y(r[i]) && y(e) ? r[i] = h(r[i], e) : y(e) ? r[i] = h({}, e) : u(e) ? r[i] = e.slice() : r[i] = e;
|
52
|
+
};
|
53
|
+
for (let e = 0, o = arguments.length; e < o; e++)
|
54
|
+
arguments[e] && p(arguments[e], n);
|
55
|
+
return r;
|
56
|
+
}
|
57
|
+
const V = (t, r, n, { allOwnKeys: e } = {}) => (p(r, (o, i) => {
|
58
|
+
n && l(o) ? t[i] = T(o, n) : t[i] = o;
|
59
|
+
}, { allOwnKeys: e }), t), _ = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), J = (t, r, n, e) => {
|
60
|
+
t.prototype = Object.create(r.prototype, e), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
61
|
+
value: r.prototype
|
62
|
+
}), n && Object.assign(t.prototype, n);
|
63
|
+
}, $ = (t, r, n, e) => {
|
64
|
+
let o, i, s;
|
65
|
+
const a = {};
|
66
|
+
if (r = r || {}, t == null)
|
67
|
+
return r;
|
68
|
+
do {
|
69
|
+
for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
|
70
|
+
s = o[i], (!e || e(s, t, r)) && !a[s] && (r[s] = t[s], a[s] = !0);
|
71
|
+
t = n !== !1 && d(t);
|
72
|
+
} while (t && (!n || n(t, r)) && t !== Object.prototype);
|
73
|
+
return r;
|
74
|
+
}, q = (t, r, n) => {
|
75
|
+
t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= r.length;
|
76
|
+
const e = t.indexOf(r, n);
|
77
|
+
return e !== -1 && e === n;
|
78
|
+
}, W = (t) => {
|
79
|
+
if (!t)
|
80
|
+
return null;
|
81
|
+
if (u(t))
|
82
|
+
return t;
|
83
|
+
let r = t.length;
|
84
|
+
if (!S(r))
|
85
|
+
return null;
|
86
|
+
const n = new Array(r);
|
87
|
+
for (; r-- > 0; )
|
88
|
+
n[r] = t[r];
|
89
|
+
return n;
|
90
|
+
}, Q = ((t) => (r) => t && r instanceof t)(typeof Uint8Array < "u" && d(Uint8Array)), X = (t, r) => {
|
91
|
+
const n = (t && t[Symbol.iterator]).call(t);
|
92
|
+
let e;
|
93
|
+
for (; (e = n.next()) && !e.done; ) {
|
94
|
+
const o = e.value;
|
95
|
+
r.call(t, o[0], o[1]);
|
96
|
+
}
|
97
|
+
}, Y = (t, r) => {
|
98
|
+
let n;
|
99
|
+
const e = [];
|
100
|
+
for (; (n = t.exec(r)) !== null; )
|
101
|
+
e.push(n);
|
102
|
+
return e;
|
103
|
+
}, Z = c("HTMLFormElement"), tt = (t) => t.toLowerCase().replace(
|
104
|
+
/[-_\s]([a-z\d])(\w*)/g,
|
105
|
+
function(r, n, e) {
|
106
|
+
return n.toUpperCase() + e;
|
107
|
+
}
|
108
|
+
), A = (({ hasOwnProperty: t }) => (r, n) => t.call(r, n))(Object.prototype), rt = c("RegExp"), x = (t, r) => {
|
109
|
+
const n = Object.getOwnPropertyDescriptors(t), e = {};
|
110
|
+
p(n, (o, i) => {
|
111
|
+
let s;
|
112
|
+
(s = r(o, i, t)) !== !1 && (e[i] = s || o);
|
113
|
+
}), Object.defineProperties(t, e);
|
114
|
+
}, et = (t) => {
|
115
|
+
x(t, (r, n) => {
|
116
|
+
if (l(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
117
|
+
return !1;
|
118
|
+
const e = t[n];
|
119
|
+
if (l(e)) {
|
120
|
+
if (r.enumerable = !1, "writable" in r) {
|
121
|
+
r.writable = !1;
|
122
|
+
return;
|
123
|
+
}
|
124
|
+
r.set || (r.set = () => {
|
125
|
+
throw Error("Can not rewrite read-only method '" + n + "'");
|
126
|
+
});
|
127
|
+
}
|
128
|
+
});
|
129
|
+
}, nt = (t, r) => {
|
130
|
+
const n = {}, e = (o) => {
|
131
|
+
o.forEach((i) => {
|
132
|
+
n[i] = !0;
|
133
|
+
});
|
134
|
+
};
|
135
|
+
return u(t) ? e(t) : e(String(t).split(r)), n;
|
136
|
+
}, ot = () => {
|
137
|
+
}, it = (t, r) => (t = +t, Number.isFinite(t) ? t : r), O = "abcdefghijklmnopqrstuvwxyz", j = "0123456789", D = {
|
138
|
+
DIGIT: j,
|
139
|
+
ALPHA: O,
|
140
|
+
ALPHA_DIGIT: O + O.toUpperCase() + j
|
141
|
+
}, st = (t = 16, r = D.ALPHA_DIGIT) => {
|
142
|
+
let n = "";
|
143
|
+
const { length: e } = r;
|
144
|
+
for (; t--; )
|
145
|
+
n += r[Math.random() * e | 0];
|
146
|
+
return n;
|
147
|
+
};
|
148
|
+
function lt(t) {
|
149
|
+
return !!(t && l(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
150
|
+
}
|
151
|
+
const ct = (t) => {
|
152
|
+
const r = new Array(10), n = (e, o) => {
|
153
|
+
if (m(e)) {
|
154
|
+
if (r.indexOf(e) >= 0)
|
155
|
+
return;
|
156
|
+
if (!("toJSON" in e)) {
|
157
|
+
r[o] = e;
|
158
|
+
const i = u(e) ? [] : {};
|
159
|
+
return p(e, (s, a) => {
|
160
|
+
const w = n(s, o + 1);
|
161
|
+
!f(w) && (i[a] = w);
|
162
|
+
}), r[o] = void 0, i;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
return e;
|
166
|
+
};
|
167
|
+
return n(t, 0);
|
168
|
+
}, at = c("AsyncFunction"), ut = (t) => t && (m(t) || l(t)) && l(t.then) && l(t.catch), pt = {
|
169
|
+
isArray: u,
|
170
|
+
isArrayBuffer: F,
|
171
|
+
isBuffer: E,
|
172
|
+
isFormData: R,
|
173
|
+
isArrayBufferView: N,
|
174
|
+
isString: U,
|
175
|
+
isNumber: S,
|
176
|
+
isBoolean: H,
|
177
|
+
isObject: m,
|
178
|
+
isPlainObject: y,
|
179
|
+
isUndefined: f,
|
180
|
+
isDate: I,
|
181
|
+
isFile: k,
|
182
|
+
isBlob: v,
|
183
|
+
isRegExp: rt,
|
184
|
+
isFunction: l,
|
185
|
+
isStream: K,
|
186
|
+
isURLSearchParams: z,
|
187
|
+
isTypedArray: Q,
|
188
|
+
isFileList: M,
|
189
|
+
forEach: p,
|
190
|
+
merge: h,
|
191
|
+
extend: V,
|
192
|
+
trim: G,
|
193
|
+
stripBOM: _,
|
194
|
+
inherits: J,
|
195
|
+
toFlatObject: $,
|
196
|
+
kindOf: b,
|
197
|
+
kindOfTest: c,
|
198
|
+
endsWith: q,
|
199
|
+
toArray: W,
|
200
|
+
forEachEntry: X,
|
201
|
+
matchAll: Y,
|
202
|
+
isHTMLForm: Z,
|
203
|
+
hasOwnProperty: A,
|
204
|
+
hasOwnProp: A,
|
205
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
206
|
+
reduceDescriptors: x,
|
207
|
+
freezeMethods: et,
|
208
|
+
toObjectSet: nt,
|
209
|
+
toCamelCase: tt,
|
210
|
+
noop: ot,
|
211
|
+
toFiniteNumber: it,
|
212
|
+
findKey: P,
|
213
|
+
global: L,
|
214
|
+
isContextDefined: B,
|
215
|
+
ALPHABET: D,
|
216
|
+
generateString: st,
|
217
|
+
isSpecCompliantForm: lt,
|
218
|
+
toJSONObject: ct,
|
219
|
+
isAsyncFn: at,
|
220
|
+
isThenable: ut
|
221
|
+
};
|
222
|
+
export {
|
223
|
+
pt as default
|
224
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("../../../../../node_modules/js-cookie/src/js.cookie.cjs"),d=require("../../../../node_modules/@capacitor/preferences/dist/esm/index.cjs"),n=require("vue");require("../../globals/store/globals.cjs");require("./twofa.cjs");const p=u.default.create({baseURL:process.env.API_URL,withCredentials:!0}),o=n.reactive({user:{_id:void 0,username:"",email:"",phone:"",password:"",passwordRepeat:""},access:{roles:null,token:null,status:!1}});async function m(){const s=await v("user");if(console.log("user cookie is "+s),s){const{_id:e,email:c,phone:i,roles:a,accessToken:t}=s;Object.assign(o.user,{_id:e,email:c,phone:i}),Object.assign(o.access,{token:t,roles:a,status:!!t}),p.interceptors.request.use(r=>(t&&(r.headers["x-access-token"]=t),r),r=>Promise.reject(r))}}m();process.env.API_URL;async function v(s){if(process.env.MOBILE_APP){const{value:e}=await d.Preferences.get({key:s});return e?JSON.parse(e):null}else{const e=l.default.get(s);return e?JSON.parse(e):null}}n.watch(o,(s,e)=>{});exports.state=o;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import i from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import p from "../../../../../node_modules/js-cookie/src/js.cookie.js";
|
3
|
+
import { Preferences as u } from "../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
|
4
|
+
import { reactive as l, watch as m } from "vue";
|
5
|
+
import "../../globals/store/globals.js";
|
6
|
+
import "./twofa.js";
|
7
|
+
const d = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = l({
|
8
|
+
user: {
|
9
|
+
_id: void 0,
|
10
|
+
username: "",
|
11
|
+
email: "",
|
12
|
+
phone: "",
|
13
|
+
password: "",
|
14
|
+
passwordRepeat: ""
|
15
|
+
},
|
16
|
+
access: {
|
17
|
+
roles: null,
|
18
|
+
token: null,
|
19
|
+
status: !1
|
20
|
+
}
|
21
|
+
});
|
22
|
+
async function f() {
|
23
|
+
const s = await h("user");
|
24
|
+
if (console.log("user cookie is " + s), s) {
|
25
|
+
const { _id: e, email: n, phone: a, roles: c, accessToken: t } = s;
|
26
|
+
Object.assign(r.user, { _id: e, email: n, phone: a }), Object.assign(r.access, { token: t, roles: c, status: !!t }), d.interceptors.request.use((o) => (t && (o.headers["x-access-token"] = t), o), (o) => Promise.reject(o));
|
27
|
+
}
|
28
|
+
}
|
29
|
+
f();
|
30
|
+
process.env.API_URL;
|
31
|
+
async function h(s) {
|
32
|
+
if (process.env.MOBILE_APP) {
|
33
|
+
const { value: e } = await u.get({ key: s });
|
34
|
+
return e ? JSON.parse(e) : null;
|
35
|
+
} else {
|
36
|
+
const e = p.get(s);
|
37
|
+
return e ? JSON.parse(e) : null;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
m(r, (s, e) => {
|
41
|
+
});
|
42
|
+
export {
|
43
|
+
r as state
|
44
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../node_modules/axios/lib/axios.cjs");require("../../../../../node_modules/js-cookie/src/js.cookie.cjs");const e=require("vue");require("../../globals/store/globals.cjs");r.default.create({baseURL:process.env.API_URL,withCredentials:!0});const t=e.reactive({code:{value:"",type:"",method:"",isSended:!1,isValid:!1}});e.watch(t,(i,a)=>{});exports.state=t;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import e from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import "../../../../../node_modules/js-cookie/src/js.cookie.js";
|
3
|
+
import { reactive as t, watch as o } from "vue";
|
4
|
+
import "../../globals/store/globals.js";
|
5
|
+
e.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
6
|
+
const r = t({
|
7
|
+
code: {
|
8
|
+
value: "",
|
9
|
+
type: "",
|
10
|
+
method: "",
|
11
|
+
isSended: !1,
|
12
|
+
isValid: !1
|
13
|
+
}
|
14
|
+
});
|
15
|
+
o(r, (a, i) => {
|
16
|
+
});
|
17
|
+
export {
|
18
|
+
r as state
|
19
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../node_modules/axios/lib/axios.cjs"),e=require("vue");require("../../globals/store/globals.cjs");r.default.create({baseURL:process.env.API_URL,withCredentials:!0});const t=e.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},date:"",views:0,content:[]}});e.watch(t,(a,i)=>{});exports.state=t;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import e from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import { reactive as t, watch as r } from "vue";
|
3
|
+
import "../../globals/store/globals.js";
|
4
|
+
e.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
5
|
+
const a = t({
|
6
|
+
all: [],
|
7
|
+
filter: {
|
8
|
+
// query
|
9
|
+
tags: [],
|
10
|
+
period: ""
|
11
|
+
// pagination
|
12
|
+
},
|
13
|
+
pagination: {
|
14
|
+
page: 1,
|
15
|
+
perPage: 18
|
16
|
+
},
|
17
|
+
// Sort
|
18
|
+
sort: {
|
19
|
+
current: "popularity",
|
20
|
+
ascending: !1
|
21
|
+
},
|
22
|
+
current: {
|
23
|
+
_id: "",
|
24
|
+
url: "",
|
25
|
+
status: "",
|
26
|
+
name: "",
|
27
|
+
tags: [],
|
28
|
+
owner: {},
|
29
|
+
date: "",
|
30
|
+
views: 0,
|
31
|
+
content: []
|
32
|
+
}
|
33
|
+
});
|
34
|
+
r(a, (i, o) => {
|
35
|
+
});
|
36
|
+
export {
|
37
|
+
a as state
|
38
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../node_modules/axios/lib/axios.cjs"),e=require("vue");require("../../globals/store/globals.cjs");t.default.create({baseURL:process.env.API_URL,withCredentials:!0});const r=e.reactive({reactions:[],error:null});e.watch(r,a=>{});exports.state=r;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import r from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import { reactive as e, watch as t } from "vue";
|
3
|
+
import "../../globals/store/globals.js";
|
4
|
+
r.create({
|
5
|
+
baseURL: process.env.API_URL,
|
6
|
+
withCredentials: !0
|
7
|
+
});
|
8
|
+
const o = e({
|
9
|
+
reactions: [],
|
10
|
+
error: null
|
11
|
+
});
|
12
|
+
t(o, (a) => {
|
13
|
+
});
|
14
|
+
export {
|
15
|
+
o as state
|
16
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../../node_modules/axios/lib/axios.cjs"),e=require("vue");require("../../globals/store/globals.cjs");r.default.create({baseURL:process.env.API_URL,withCredentials:!0});const t=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});e.watch(t,(a,s)=>{});exports.state=t;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import t from "../../../../node_modules/axios/lib/axios.js";
|
2
|
+
import { reactive as e, watch as a } from "vue";
|
3
|
+
import "../../globals/store/globals.js";
|
4
|
+
t.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
5
|
+
const r = e({
|
6
|
+
all: [],
|
7
|
+
filter: {
|
8
|
+
// query
|
9
|
+
tags: [],
|
10
|
+
period: "",
|
11
|
+
date: null
|
12
|
+
// pagination
|
13
|
+
},
|
14
|
+
pagination: {
|
15
|
+
page: 1,
|
16
|
+
perPage: 18
|
17
|
+
},
|
18
|
+
// Sort
|
19
|
+
sort: {
|
20
|
+
current: "popularity",
|
21
|
+
ascending: !1
|
22
|
+
},
|
23
|
+
current: {
|
24
|
+
_id: "",
|
25
|
+
cover: "",
|
26
|
+
url: "",
|
27
|
+
status: "",
|
28
|
+
name: "",
|
29
|
+
tags: [],
|
30
|
+
date: {
|
31
|
+
start: null,
|
32
|
+
false: null
|
33
|
+
},
|
34
|
+
views: 0,
|
35
|
+
content: []
|
36
|
+
}
|
37
|
+
});
|
38
|
+
a(r, (s, n) => {
|
39
|
+
});
|
40
|
+
export {
|
41
|
+
r as state
|
42
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue-i18n"),e={en:"🌎 EN",ru:"🇷🇺 RU",zh:"🇨🇳 ZH",fr:"🇫🇷 FR",de:"🇩🇪 DE",it:"🇮🇹 IT"},a={};for(const l of Object.keys(e))a[l]={};const t=o.createI18n({locale:"en",fallbackLocale:"en",legacy:!1,globalInjection:!0,messages:a,availableLocales:Object.keys(e)});exports.default=t;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { createI18n as c } from "vue-i18n";
|
2
|
+
const e = {
|
3
|
+
en: "🌎 EN",
|
4
|
+
ru: "🇷🇺 RU",
|
5
|
+
zh: "🇨🇳 ZH",
|
6
|
+
fr: "🇫🇷 FR",
|
7
|
+
de: "🇩🇪 DE",
|
8
|
+
it: "🇮🇹 IT"
|
9
|
+
}, a = {};
|
10
|
+
for (const o of Object.keys(e))
|
11
|
+
a[o] = {};
|
12
|
+
const t = c({
|
13
|
+
locale: "en",
|
14
|
+
fallbackLocale: "en",
|
15
|
+
legacy: !1,
|
16
|
+
globalInjection: !0,
|
17
|
+
messages: a,
|
18
|
+
availableLocales: Object.keys(e)
|
19
|
+
});
|
20
|
+
export {
|
21
|
+
t as default
|
22
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const E=require("vue"),e=require("../localization/vue-i18n.cjs");E.reactive({loading:!1,isLocationPopupOpen:!1,position:{country:"",state:"",city:"",address:"",location:""},error:{status:"",headers:"",data:"",show:"",name:"",message:""}});const r={ru:{errors:{USER_ALREADY_REGISTERED:"Такой пользователь уже зарегистрирован!",USER_NOT_REGISTERED_YET:"Такой пользователь еще не зарегистрирован!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"Пользователь с таким телефоном или паролем не найден!",INCORRECT_PASSWORD_ENTERED:"Вы ввели неверный пароль!",INVALID_INVITATION_CODE:"Неверный код приглашения",MISSING_REQUIRED_PARAMETERS:"Отсутствуют необходимые параметры.",ERROR_UPDATING_USER:"Произошла ошибка при обновлении пользователя.",PASSWORDS_DO_NOT_MATCH:"Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",CODE_NOT_SENT:"Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",INPUT_ERROR:"Вставьте только четырехзначный код.",WRONG_CODE:"Вы ввели неверный код. Попробуйте еще раз.",POST_URL_ALREADY_IN_USE:"Ошибка! Публикация с этим URL уже используется!",NAME_CANNOT_BE_EMPTY:"Ошибка: Название не может быть пустым. Пожалуйста, введите название."}},en:{errors:{USER_ALREADY_REGISTERED:"Such user is already registered!",USER_NOT_REGISTERED_YET:"This user has not been registered yet!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"User with such phone or password not found!",INCORRECT_PASSWORD_ENTERED:"You entered an incorrect password!",INVALID_INVITATION_CODE:"Incorrect invitation code.",MISSING_REQUIRED_PARAMETERS:"Missing required parameters.",ERROR_UPDATING_USER:"Something wrong when updating user.",PASSWORDS_DO_NOT_MATCH:"The passwords you entered do not match. Please correct the errors and try again.",CODE_NOT_SENT:"Something went wrong and the code was not sent. Please try again.",INPUT_ERROR:"Please enter only a four-digit code.",WRONG_CODE:"You entered an incorrect code. Please try again.",POST_URL_ALREADY_IN_USE:"Failed! Blogpost with this URL is already in use!",NAME_CANNOT_BE_EMPTY:"Error: Name cannot be empty. Please enter a name."}}};e.default.global.mergeLocaleMessage("ru",r.ru);e.default.global.mergeLocaleMessage("en",r.en);
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { reactive as E } from "vue";
|
2
|
+
import e from "../localization/vue-i18n.js";
|
3
|
+
E({
|
4
|
+
loading: !1,
|
5
|
+
isLocationPopupOpen: !1,
|
6
|
+
position: {
|
7
|
+
country: "",
|
8
|
+
state: "",
|
9
|
+
city: "",
|
10
|
+
address: "",
|
11
|
+
location: ""
|
12
|
+
},
|
13
|
+
error: {
|
14
|
+
status: "",
|
15
|
+
headers: "",
|
16
|
+
data: "",
|
17
|
+
show: "",
|
18
|
+
name: "",
|
19
|
+
message: ""
|
20
|
+
}
|
21
|
+
});
|
22
|
+
const r = {
|
23
|
+
ru: {
|
24
|
+
errors: {
|
25
|
+
USER_ALREADY_REGISTERED: "Такой пользователь уже зарегистрирован!",
|
26
|
+
USER_NOT_REGISTERED_YET: "Такой пользователь еще не зарегистрирован!",
|
27
|
+
USER_PHONE_OR_PASSWORD_NOT_FOUND: "Пользователь с таким телефоном или паролем не найден!",
|
28
|
+
INCORRECT_PASSWORD_ENTERED: "Вы ввели неверный пароль!",
|
29
|
+
INVALID_INVITATION_CODE: "Неверный код приглашения",
|
30
|
+
MISSING_REQUIRED_PARAMETERS: "Отсутствуют необходимые параметры.",
|
31
|
+
ERROR_UPDATING_USER: "Произошла ошибка при обновлении пользователя.",
|
32
|
+
PASSWORDS_DO_NOT_MATCH: "Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",
|
33
|
+
CODE_NOT_SENT: "Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",
|
34
|
+
INPUT_ERROR: "Вставьте только четырехзначный код.",
|
35
|
+
WRONG_CODE: "Вы ввели неверный код. Попробуйте еще раз.",
|
36
|
+
POST_URL_ALREADY_IN_USE: "Ошибка! Публикация с этим URL уже используется!",
|
37
|
+
NAME_CANNOT_BE_EMPTY: "Ошибка: Название не может быть пустым. Пожалуйста, введите название."
|
38
|
+
}
|
39
|
+
},
|
40
|
+
en: {
|
41
|
+
errors: {
|
42
|
+
USER_ALREADY_REGISTERED: "Such user is already registered!",
|
43
|
+
USER_NOT_REGISTERED_YET: "This user has not been registered yet!",
|
44
|
+
USER_PHONE_OR_PASSWORD_NOT_FOUND: "User with such phone or password not found!",
|
45
|
+
INCORRECT_PASSWORD_ENTERED: "You entered an incorrect password!",
|
46
|
+
INVALID_INVITATION_CODE: "Incorrect invitation code.",
|
47
|
+
MISSING_REQUIRED_PARAMETERS: "Missing required parameters.",
|
48
|
+
ERROR_UPDATING_USER: "Something wrong when updating user.",
|
49
|
+
PASSWORDS_DO_NOT_MATCH: "The passwords you entered do not match. Please correct the errors and try again.",
|
50
|
+
CODE_NOT_SENT: "Something went wrong and the code was not sent. Please try again.",
|
51
|
+
INPUT_ERROR: "Please enter only a four-digit code.",
|
52
|
+
WRONG_CODE: "You entered an incorrect code. Please try again.",
|
53
|
+
POST_URL_ALREADY_IN_USE: "Failed! Blogpost with this URL is already in use!",
|
54
|
+
NAME_CANNOT_BE_EMPTY: "Error: Name cannot be empty. Please enter a name."
|
55
|
+
}
|
56
|
+
}
|
57
|
+
};
|
58
|
+
e.global.mergeLocaleMessage("ru", r.ru);
|
59
|
+
e.global.mergeLocaleMessage("en", r.en);
|