@ozdao/prometheus-framework 0.2.34 → 0.2.35
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 +19 -19
- package/dist/prometheus-framework.es.js +390 -376
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -0,0 +1,73 @@
|
|
1
|
+
import u from "./CanceledError.js";
|
2
|
+
class o {
|
3
|
+
constructor(s) {
|
4
|
+
if (typeof s != "function")
|
5
|
+
throw new TypeError("executor must be a function.");
|
6
|
+
let t;
|
7
|
+
this.promise = new Promise(function(n) {
|
8
|
+
t = n;
|
9
|
+
});
|
10
|
+
const e = this;
|
11
|
+
this.promise.then((n) => {
|
12
|
+
if (!e._listeners)
|
13
|
+
return;
|
14
|
+
let r = e._listeners.length;
|
15
|
+
for (; r-- > 0; )
|
16
|
+
e._listeners[r](n);
|
17
|
+
e._listeners = null;
|
18
|
+
}), this.promise.then = (n) => {
|
19
|
+
let r;
|
20
|
+
const i = new Promise((c) => {
|
21
|
+
e.subscribe(c), r = c;
|
22
|
+
}).then(n);
|
23
|
+
return i.cancel = function() {
|
24
|
+
e.unsubscribe(r);
|
25
|
+
}, i;
|
26
|
+
}, s(function(n, r, i) {
|
27
|
+
e.reason || (e.reason = new u(n, r, i), t(e.reason));
|
28
|
+
});
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Throws a `CanceledError` if cancellation has been requested.
|
32
|
+
*/
|
33
|
+
throwIfRequested() {
|
34
|
+
if (this.reason)
|
35
|
+
throw this.reason;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Subscribe to the cancel signal
|
39
|
+
*/
|
40
|
+
subscribe(s) {
|
41
|
+
if (this.reason) {
|
42
|
+
s(this.reason);
|
43
|
+
return;
|
44
|
+
}
|
45
|
+
this._listeners ? this._listeners.push(s) : this._listeners = [s];
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* Unsubscribe from the cancel signal
|
49
|
+
*/
|
50
|
+
unsubscribe(s) {
|
51
|
+
if (!this._listeners)
|
52
|
+
return;
|
53
|
+
const t = this._listeners.indexOf(s);
|
54
|
+
t !== -1 && this._listeners.splice(t, 1);
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
58
|
+
* cancels the `CancelToken`.
|
59
|
+
*/
|
60
|
+
static source() {
|
61
|
+
let s;
|
62
|
+
return {
|
63
|
+
token: new o(function(t) {
|
64
|
+
s = t;
|
65
|
+
}),
|
66
|
+
cancel: s
|
67
|
+
};
|
68
|
+
}
|
69
|
+
}
|
70
|
+
const l = o;
|
71
|
+
export {
|
72
|
+
l as default
|
73
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../core/AxiosError.cjs"),i=require("../utils.cjs");function t(l,r,u){e.default.call(this,l??"canceled",e.default.ERR_CANCELED,r,u),this.name="CanceledError"}i.default.inherits(t,e.default,{__CANCEL__:!0});exports.default=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return!!(e&&e.__CANCEL__)}exports.default=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("../utils.cjs"),z=require("../helpers/buildURL.cjs"),b=require("./InterceptorManager.cjs"),v=require("./dispatchRequest.cjs"),p=require("./mergeConfig.cjs"),O=require("./buildFullPath.cjs"),y=require("../helpers/validator.cjs"),j=require("./AxiosHeaders.cjs"),s=y.default.validators;class m{constructor(r){this.defaults=r,this.interceptors={request:new b.default,response:new b.default}}request(r,e){typeof r=="string"?(e=e||{},e.url=r):e=r||{},e=p.default(this.defaults,e);const{transitional:h,paramsSerializer:u,headers:a}=e;h!==void 0&&y.default.assertOptions(h,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1),u!=null&&(f.default.isFunction(u)?e.paramsSerializer={serialize:u}:y.default.assertOptions(u,{encode:s.function,serialize:s.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let S=a&&f.default.merge(a.common,a[e.method]);a&&f.default.forEach(["delete","get","head","post","put","patch","common"],t=>{delete a[t]}),e.headers=j.default.concat(S,a);const c=[];let g=!0;this.interceptors.request.forEach(function(t){typeof t.runWhen=="function"&&t.runWhen(e)===!1||(g=g&&t.synchronous,c.unshift(t.fulfilled,t.rejected))});const d=[];this.interceptors.response.forEach(function(t){d.push(t.fulfilled,t.rejected)});let n,o=0,l;if(!g){const t=[v.default.bind(this),void 0];for(t.unshift.apply(t,c),t.push.apply(t,d),l=t.length,n=Promise.resolve(e);o<l;)n=n.then(t[o++],t[o++]);return n}l=c.length;let q=e;for(o=0;o<l;){const t=c[o++],E=c[o++];try{q=t(q)}catch(P){E.call(this,P);break}}try{n=v.default.call(this,q)}catch(t){return Promise.reject(t)}for(o=0,l=d.length;o<l;)n=n.then(d[o++],d[o++]);return n}getUri(r){r=p.default(this.defaults,r);const e=O.default(r.baseURL,r.url);return z.default(e,r.params,r.paramsSerializer)}}f.default.forEach(["delete","get","head","options"],function(i){m.prototype[i]=function(r,e){return this.request(p.default(e||{},{method:i,url:r,data:(e||{}).data}))}});f.default.forEach(["post","put","patch"],function(i){function r(e){return function(h,u,a){return this.request(p.default(a||{},{method:i,headers:e?{"Content-Type":"multipart/form-data"}:{},url:h,data:u}))}}m.prototype[i]=r(),m.prototype[i+"Form"]=r(!0)});const C=m;exports.default=C;
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import p from "../utils.js";
|
2
|
+
import C from "../helpers/buildURL.js";
|
3
|
+
import q from "./InterceptorManager.js";
|
4
|
+
import E from "./dispatchRequest.js";
|
5
|
+
import m from "./mergeConfig.js";
|
6
|
+
import O from "./buildFullPath.js";
|
7
|
+
import b from "../helpers/validator.js";
|
8
|
+
import P from "./AxiosHeaders.js";
|
9
|
+
const i = b.validators;
|
10
|
+
class d {
|
11
|
+
constructor(e) {
|
12
|
+
this.defaults = e, this.interceptors = {
|
13
|
+
request: new q(),
|
14
|
+
response: new q()
|
15
|
+
};
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Dispatch a request
|
19
|
+
*
|
20
|
+
* @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
|
21
|
+
* @param {?Object} config
|
22
|
+
*
|
23
|
+
* @returns {Promise} The Promise to be fulfilled
|
24
|
+
*/
|
25
|
+
request(e, t) {
|
26
|
+
typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = m(this.defaults, t);
|
27
|
+
const { transitional: f, paramsSerializer: l, headers: n } = t;
|
28
|
+
f !== void 0 && b.assertOptions(f, {
|
29
|
+
silentJSONParsing: i.transitional(i.boolean),
|
30
|
+
forcedJSONParsing: i.transitional(i.boolean),
|
31
|
+
clarifyTimeoutError: i.transitional(i.boolean)
|
32
|
+
}, !1), l != null && (p.isFunction(l) ? t.paramsSerializer = {
|
33
|
+
serialize: l
|
34
|
+
} : b.assertOptions(l, {
|
35
|
+
encode: i.function,
|
36
|
+
serialize: i.function
|
37
|
+
}, !0)), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
38
|
+
let z = n && p.merge(
|
39
|
+
n.common,
|
40
|
+
n[t.method]
|
41
|
+
);
|
42
|
+
n && p.forEach(
|
43
|
+
["delete", "get", "head", "post", "put", "patch", "common"],
|
44
|
+
(r) => {
|
45
|
+
delete n[r];
|
46
|
+
}
|
47
|
+
), t.headers = P.concat(z, n);
|
48
|
+
const u = [];
|
49
|
+
let y = !0;
|
50
|
+
this.interceptors.request.forEach(function(r) {
|
51
|
+
typeof r.runWhen == "function" && r.runWhen(t) === !1 || (y = y && r.synchronous, u.unshift(r.fulfilled, r.rejected));
|
52
|
+
});
|
53
|
+
const h = [];
|
54
|
+
this.interceptors.response.forEach(function(r) {
|
55
|
+
h.push(r.fulfilled, r.rejected);
|
56
|
+
});
|
57
|
+
let s, o = 0, c;
|
58
|
+
if (!y) {
|
59
|
+
const r = [E.bind(this), void 0];
|
60
|
+
for (r.unshift.apply(r, u), r.push.apply(r, h), c = r.length, s = Promise.resolve(t); o < c; )
|
61
|
+
s = s.then(r[o++], r[o++]);
|
62
|
+
return s;
|
63
|
+
}
|
64
|
+
c = u.length;
|
65
|
+
let g = t;
|
66
|
+
for (o = 0; o < c; ) {
|
67
|
+
const r = u[o++], S = u[o++];
|
68
|
+
try {
|
69
|
+
g = r(g);
|
70
|
+
} catch (v) {
|
71
|
+
S.call(this, v);
|
72
|
+
break;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
try {
|
76
|
+
s = E.call(this, g);
|
77
|
+
} catch (r) {
|
78
|
+
return Promise.reject(r);
|
79
|
+
}
|
80
|
+
for (o = 0, c = h.length; o < c; )
|
81
|
+
s = s.then(h[o++], h[o++]);
|
82
|
+
return s;
|
83
|
+
}
|
84
|
+
getUri(e) {
|
85
|
+
e = m(this.defaults, e);
|
86
|
+
const t = O(e.baseURL, e.url);
|
87
|
+
return C(t, e.params, e.paramsSerializer);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
p.forEach(["delete", "get", "head", "options"], function(a) {
|
91
|
+
d.prototype[a] = function(e, t) {
|
92
|
+
return this.request(m(t || {}, {
|
93
|
+
method: a,
|
94
|
+
url: e,
|
95
|
+
data: (t || {}).data
|
96
|
+
}));
|
97
|
+
};
|
98
|
+
});
|
99
|
+
p.forEach(["post", "put", "patch"], function(a) {
|
100
|
+
function e(t) {
|
101
|
+
return function(f, l, n) {
|
102
|
+
return this.request(m(n || {}, {
|
103
|
+
method: a,
|
104
|
+
headers: t ? {
|
105
|
+
"Content-Type": "multipart/form-data"
|
106
|
+
} : {},
|
107
|
+
url: f,
|
108
|
+
data: l
|
109
|
+
}));
|
110
|
+
};
|
111
|
+
}
|
112
|
+
d.prototype[a] = e(), d.prototype[a + "Form"] = e(!0);
|
113
|
+
});
|
114
|
+
const T = d;
|
115
|
+
export {
|
116
|
+
T as default
|
117
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../utils.cjs");function s(e,r,i,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",r&&(this.code=r),i&&(this.config=i),o&&(this.request=o),c&&(this.response=c)}a.default.inherits(s,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.default.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const E=s.prototype,R={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{R[e]={value:e}});Object.defineProperties(s,R);Object.defineProperty(E,"isAxiosError",{value:!0});s.from=(e,r,i,o,c,u)=>{const t=Object.create(E);return a.default.toFlatObject(e,t,function(n){return n!==Error.prototype},n=>n!=="isAxiosError"),s.call(t,e.message,r,i,o,c),t.cause=e,t.name=e.name,u&&Object.assign(t,u),t};exports.default=s;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import E from "../utils.js";
|
2
|
+
function t(e, r, i, o, c) {
|
3
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", r && (this.code = r), i && (this.config = i), o && (this.request = o), c && (this.response = c);
|
4
|
+
}
|
5
|
+
E.inherits(t, Error, {
|
6
|
+
toJSON: function() {
|
7
|
+
return {
|
8
|
+
// Standard
|
9
|
+
message: this.message,
|
10
|
+
name: this.name,
|
11
|
+
// Microsoft
|
12
|
+
description: this.description,
|
13
|
+
number: this.number,
|
14
|
+
// Mozilla
|
15
|
+
fileName: this.fileName,
|
16
|
+
lineNumber: this.lineNumber,
|
17
|
+
columnNumber: this.columnNumber,
|
18
|
+
stack: this.stack,
|
19
|
+
// Axios
|
20
|
+
config: E.toJSONObject(this.config),
|
21
|
+
code: this.code,
|
22
|
+
status: this.response && this.response.status ? this.response.status : null
|
23
|
+
};
|
24
|
+
}
|
25
|
+
});
|
26
|
+
const R = t.prototype, u = {};
|
27
|
+
[
|
28
|
+
"ERR_BAD_OPTION_VALUE",
|
29
|
+
"ERR_BAD_OPTION",
|
30
|
+
"ECONNABORTED",
|
31
|
+
"ETIMEDOUT",
|
32
|
+
"ERR_NETWORK",
|
33
|
+
"ERR_FR_TOO_MANY_REDIRECTS",
|
34
|
+
"ERR_DEPRECATED",
|
35
|
+
"ERR_BAD_RESPONSE",
|
36
|
+
"ERR_BAD_REQUEST",
|
37
|
+
"ERR_CANCELED",
|
38
|
+
"ERR_NOT_SUPPORT",
|
39
|
+
"ERR_INVALID_URL"
|
40
|
+
// eslint-disable-next-line func-names
|
41
|
+
].forEach((e) => {
|
42
|
+
u[e] = { value: e };
|
43
|
+
});
|
44
|
+
Object.defineProperties(t, u);
|
45
|
+
Object.defineProperty(R, "isAxiosError", { value: !0 });
|
46
|
+
t.from = (e, r, i, o, c, a) => {
|
47
|
+
const s = Object.create(R);
|
48
|
+
return E.toFlatObject(e, s, function(n) {
|
49
|
+
return n !== Error.prototype;
|
50
|
+
}, (n) => n !== "isAxiosError"), t.call(s, e.message, r, i, o, c), s.cause = e, s.name = e.name, a && Object.assign(s, a), s;
|
51
|
+
};
|
52
|
+
export {
|
53
|
+
t as default
|
54
|
+
};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../utils.cjs"),b=require("../helpers/parseHeaders.cjs"),m=Symbol("internals");function a(i){return i&&String(i).trim().toLowerCase()}function g(i){return i===!1||i==null?i:s.default.isArray(i)?i.map(g):String(i)}function S(i){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let e;for(;e=r.exec(i);)t[e[1]]=e[2];return t}const E=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function y(i,t,r,e,n){if(s.default.isFunction(e))return e.call(this,t,r);if(n&&(t=r),!!s.default.isString(t)){if(s.default.isString(e))return t.indexOf(e)!==-1;if(s.default.isRegExp(e))return e.test(t)}}function O(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,e)=>r.toUpperCase()+e)}function A(i,t){const r=s.default.toCamelCase(" "+t);["get","set","has"].forEach(e=>{Object.defineProperty(i,e+r,{value:function(n,o,c){return this[e].call(this,t,n,o,c)},configurable:!0})})}class p{constructor(t){t&&this.set(t)}set(t,r,e){const n=this;function o(u,f,l){const h=a(f);if(!h)throw new Error("header name must be a non-empty string");const d=s.default.findKey(n,h);(!d||n[d]===void 0||l===!0||l===void 0&&n[d]!==!1)&&(n[d||f]=g(u))}const c=(u,f)=>s.default.forEach(u,(l,h)=>o(l,h,f));return s.default.isPlainObject(t)||t instanceof this.constructor?c(t,r):s.default.isString(t)&&(t=t.trim())&&!E(t)?c(b.default(t),r):t!=null&&o(r,t,e),this}get(t,r){if(t=a(t),t){const e=s.default.findKey(this,t);if(e){const n=this[e];if(!r)return n;if(r===!0)return S(n);if(s.default.isFunction(r))return r.call(this,n,e);if(s.default.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=a(t),t){const e=s.default.findKey(this,t);return!!(e&&this[e]!==void 0&&(!r||y(this,this[e],e,r)))}return!1}delete(t,r){const e=this;let n=!1;function o(c){if(c=a(c),c){const u=s.default.findKey(e,c);u&&(!r||y(e,e[u],u,r))&&(delete e[u],n=!0)}}return s.default.isArray(t)?t.forEach(o):o(t),n}clear(t){const r=Object.keys(this);let e=r.length,n=!1;for(;e--;){const o=r[e];(!t||y(this,this[o],o,t,!0))&&(delete this[o],n=!0)}return n}normalize(t){const r=this,e={};return s.default.forEach(this,(n,o)=>{const c=s.default.findKey(e,o);if(c){r[c]=g(n),delete r[o];return}const u=t?O(o):String(o).trim();u!==o&&delete r[o],r[u]=g(n),e[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return s.default.forEach(this,(e,n)=>{e!=null&&e!==!1&&(r[n]=t&&s.default.isArray(e)?e.join(", "):e)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
2
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const e=new this(t);return r.forEach(n=>e.set(n)),e}static accessor(t){const r=(this[m]=this[m]={accessors:{}}).accessors,e=this.prototype;function n(o){const c=a(o);r[c]||(A(e,o),r[c]=!0)}return s.default.isArray(t)?t.forEach(n):n(t),this}}p.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);s.default.reduceDescriptors(p.prototype,({value:i},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>i,set(e){this[r]=e}}});s.default.freezeMethods(p);const j=p;exports.default=j;
|
@@ -0,0 +1,165 @@
|
|
1
|
+
import i from "../utils.js";
|
2
|
+
import b from "../helpers/parseHeaders.js";
|
3
|
+
const y = Symbol("internals");
|
4
|
+
function u(s) {
|
5
|
+
return s && String(s).trim().toLowerCase();
|
6
|
+
}
|
7
|
+
function g(s) {
|
8
|
+
return s === !1 || s == null ? s : i.isArray(s) ? s.map(g) : String(s);
|
9
|
+
}
|
10
|
+
function S(s) {
|
11
|
+
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
12
|
+
let e;
|
13
|
+
for (; e = r.exec(s); )
|
14
|
+
t[e[1]] = e[2];
|
15
|
+
return t;
|
16
|
+
}
|
17
|
+
const E = (s) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim());
|
18
|
+
function d(s, t, r, e, n) {
|
19
|
+
if (i.isFunction(e))
|
20
|
+
return e.call(this, t, r);
|
21
|
+
if (n && (t = r), !!i.isString(t)) {
|
22
|
+
if (i.isString(e))
|
23
|
+
return t.indexOf(e) !== -1;
|
24
|
+
if (i.isRegExp(e))
|
25
|
+
return e.test(t);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
function A(s) {
|
29
|
+
return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, e) => r.toUpperCase() + e);
|
30
|
+
}
|
31
|
+
function O(s, t) {
|
32
|
+
const r = i.toCamelCase(" " + t);
|
33
|
+
["get", "set", "has"].forEach((e) => {
|
34
|
+
Object.defineProperty(s, e + r, {
|
35
|
+
value: function(n, o, c) {
|
36
|
+
return this[e].call(this, t, n, o, c);
|
37
|
+
},
|
38
|
+
configurable: !0
|
39
|
+
});
|
40
|
+
});
|
41
|
+
}
|
42
|
+
class m {
|
43
|
+
constructor(t) {
|
44
|
+
t && this.set(t);
|
45
|
+
}
|
46
|
+
set(t, r, e) {
|
47
|
+
const n = this;
|
48
|
+
function o(a, f, h) {
|
49
|
+
const l = u(f);
|
50
|
+
if (!l)
|
51
|
+
throw new Error("header name must be a non-empty string");
|
52
|
+
const p = i.findKey(n, l);
|
53
|
+
(!p || n[p] === void 0 || h === !0 || h === void 0 && n[p] !== !1) && (n[p || f] = g(a));
|
54
|
+
}
|
55
|
+
const c = (a, f) => i.forEach(a, (h, l) => o(h, l, f));
|
56
|
+
return i.isPlainObject(t) || t instanceof this.constructor ? c(t, r) : i.isString(t) && (t = t.trim()) && !E(t) ? c(b(t), r) : t != null && o(r, t, e), this;
|
57
|
+
}
|
58
|
+
get(t, r) {
|
59
|
+
if (t = u(t), t) {
|
60
|
+
const e = i.findKey(this, t);
|
61
|
+
if (e) {
|
62
|
+
const n = this[e];
|
63
|
+
if (!r)
|
64
|
+
return n;
|
65
|
+
if (r === !0)
|
66
|
+
return S(n);
|
67
|
+
if (i.isFunction(r))
|
68
|
+
return r.call(this, n, e);
|
69
|
+
if (i.isRegExp(r))
|
70
|
+
return r.exec(n);
|
71
|
+
throw new TypeError("parser must be boolean|regexp|function");
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
has(t, r) {
|
76
|
+
if (t = u(t), t) {
|
77
|
+
const e = i.findKey(this, t);
|
78
|
+
return !!(e && this[e] !== void 0 && (!r || d(this, this[e], e, r)));
|
79
|
+
}
|
80
|
+
return !1;
|
81
|
+
}
|
82
|
+
delete(t, r) {
|
83
|
+
const e = this;
|
84
|
+
let n = !1;
|
85
|
+
function o(c) {
|
86
|
+
if (c = u(c), c) {
|
87
|
+
const a = i.findKey(e, c);
|
88
|
+
a && (!r || d(e, e[a], a, r)) && (delete e[a], n = !0);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
return i.isArray(t) ? t.forEach(o) : o(t), n;
|
92
|
+
}
|
93
|
+
clear(t) {
|
94
|
+
const r = Object.keys(this);
|
95
|
+
let e = r.length, n = !1;
|
96
|
+
for (; e--; ) {
|
97
|
+
const o = r[e];
|
98
|
+
(!t || d(this, this[o], o, t, !0)) && (delete this[o], n = !0);
|
99
|
+
}
|
100
|
+
return n;
|
101
|
+
}
|
102
|
+
normalize(t) {
|
103
|
+
const r = this, e = {};
|
104
|
+
return i.forEach(this, (n, o) => {
|
105
|
+
const c = i.findKey(e, o);
|
106
|
+
if (c) {
|
107
|
+
r[c] = g(n), delete r[o];
|
108
|
+
return;
|
109
|
+
}
|
110
|
+
const a = t ? A(o) : String(o).trim();
|
111
|
+
a !== o && delete r[o], r[a] = g(n), e[a] = !0;
|
112
|
+
}), this;
|
113
|
+
}
|
114
|
+
concat(...t) {
|
115
|
+
return this.constructor.concat(this, ...t);
|
116
|
+
}
|
117
|
+
toJSON(t) {
|
118
|
+
const r = /* @__PURE__ */ Object.create(null);
|
119
|
+
return i.forEach(this, (e, n) => {
|
120
|
+
e != null && e !== !1 && (r[n] = t && i.isArray(e) ? e.join(", ") : e);
|
121
|
+
}), r;
|
122
|
+
}
|
123
|
+
[Symbol.iterator]() {
|
124
|
+
return Object.entries(this.toJSON())[Symbol.iterator]();
|
125
|
+
}
|
126
|
+
toString() {
|
127
|
+
return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
|
128
|
+
`);
|
129
|
+
}
|
130
|
+
get [Symbol.toStringTag]() {
|
131
|
+
return "AxiosHeaders";
|
132
|
+
}
|
133
|
+
static from(t) {
|
134
|
+
return t instanceof this ? t : new this(t);
|
135
|
+
}
|
136
|
+
static concat(t, ...r) {
|
137
|
+
const e = new this(t);
|
138
|
+
return r.forEach((n) => e.set(n)), e;
|
139
|
+
}
|
140
|
+
static accessor(t) {
|
141
|
+
const r = (this[y] = this[y] = {
|
142
|
+
accessors: {}
|
143
|
+
}).accessors, e = this.prototype;
|
144
|
+
function n(o) {
|
145
|
+
const c = u(o);
|
146
|
+
r[c] || (O(e, o), r[c] = !0);
|
147
|
+
}
|
148
|
+
return i.isArray(t) ? t.forEach(n) : n(t), this;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
m.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
152
|
+
i.reduceDescriptors(m.prototype, ({ value: s }, t) => {
|
153
|
+
let r = t[0].toUpperCase() + t.slice(1);
|
154
|
+
return {
|
155
|
+
get: () => s,
|
156
|
+
set(e) {
|
157
|
+
this[r] = e;
|
158
|
+
}
|
159
|
+
};
|
160
|
+
});
|
161
|
+
i.freezeMethods(m);
|
162
|
+
const x = m;
|
163
|
+
export {
|
164
|
+
x as default
|
165
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../utils.cjs");class n{constructor(){this.handlers=[]}use(e,s,l){return this.handlers.push({fulfilled:e,rejected:s,synchronous:l?l.synchronous:!1,runWhen:l?l.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){t.default.forEach(this.handlers,function(s){s!==null&&e(s)})}}const h=n;exports.default=h;
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import e from "../utils.js";
|
2
|
+
class l {
|
3
|
+
constructor() {
|
4
|
+
this.handlers = [];
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* Add a new interceptor to the stack
|
8
|
+
*
|
9
|
+
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
10
|
+
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
11
|
+
*
|
12
|
+
* @return {Number} An ID used to remove interceptor later
|
13
|
+
*/
|
14
|
+
use(s, h, n) {
|
15
|
+
return this.handlers.push({
|
16
|
+
fulfilled: s,
|
17
|
+
rejected: h,
|
18
|
+
synchronous: n ? n.synchronous : !1,
|
19
|
+
runWhen: n ? n.runWhen : null
|
20
|
+
}), this.handlers.length - 1;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* Remove an interceptor from the stack
|
24
|
+
*
|
25
|
+
* @param {Number} id The ID that was returned by `use`
|
26
|
+
*
|
27
|
+
* @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
|
28
|
+
*/
|
29
|
+
eject(s) {
|
30
|
+
this.handlers[s] && (this.handlers[s] = null);
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Clear all interceptors from the stack
|
34
|
+
*
|
35
|
+
* @returns {void}
|
36
|
+
*/
|
37
|
+
clear() {
|
38
|
+
this.handlers && (this.handlers = []);
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Iterate over all the registered interceptors
|
42
|
+
*
|
43
|
+
* This method is particularly useful for skipping over any
|
44
|
+
* interceptors that may have become `null` calling `eject`.
|
45
|
+
*
|
46
|
+
* @param {Function} fn The function to call for each interceptor
|
47
|
+
*
|
48
|
+
* @returns {void}
|
49
|
+
*/
|
50
|
+
forEach(s) {
|
51
|
+
e.forEach(this.handlers, function(h) {
|
52
|
+
h !== null && s(h);
|
53
|
+
});
|
54
|
+
}
|
55
|
+
}
|
56
|
+
const a = l;
|
57
|
+
export {
|
58
|
+
a as default
|
59
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("../helpers/isAbsoluteURL.cjs"),r=require("../helpers/combineURLs.cjs");function l(t,e){return t&&!u.default(e)?r.default(t,e):e}exports.default=l;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./transformData.cjs"),s=require("../cancel/isCancel.cjs"),o=require("../defaults/index.cjs"),d=require("../cancel/CanceledError.cjs"),t=require("./AxiosHeaders.cjs"),u=require("../adapters/adapters.cjs");function n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new d.default(null,e)}function l(e){return n(e),e.headers=t.default.from(e.headers),e.data=a.default.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),u.default.getAdapter(e.adapter||o.default.adapter)(e).then(function(r){return n(e),r.data=a.default.call(e,e.transformResponse,r),r.headers=t.default.from(r.headers),r},function(r){return s.default(r)||(n(e),r&&r.response&&(r.response.data=a.default.call(e,e.transformResponse,r.response),r.response.headers=t.default.from(r.response.headers))),Promise.reject(r)})}exports.default=l;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import e from "./transformData.js";
|
2
|
+
import s from "../cancel/isCancel.js";
|
3
|
+
import t from "../defaults/index.js";
|
4
|
+
import p from "../cancel/CanceledError.js";
|
5
|
+
import n from "./AxiosHeaders.js";
|
6
|
+
import d from "../adapters/adapters.js";
|
7
|
+
function a(r) {
|
8
|
+
if (r.cancelToken && r.cancelToken.throwIfRequested(), r.signal && r.signal.aborted)
|
9
|
+
throw new p(null, r);
|
10
|
+
}
|
11
|
+
function u(r) {
|
12
|
+
return a(r), r.headers = n.from(r.headers), r.data = e.call(
|
13
|
+
r,
|
14
|
+
r.transformRequest
|
15
|
+
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), d.getAdapter(r.adapter || t.adapter)(r).then(function(o) {
|
16
|
+
return a(r), o.data = e.call(
|
17
|
+
r,
|
18
|
+
r.transformResponse,
|
19
|
+
o
|
20
|
+
), o.headers = n.from(o.headers), o;
|
21
|
+
}, function(o) {
|
22
|
+
return s(o) || (a(r), o && o.response && (o.response.data = e.call(
|
23
|
+
r,
|
24
|
+
r.transformResponse,
|
25
|
+
o.response
|
26
|
+
), o.response.headers = n.from(o.response.headers))), Promise.reject(o);
|
27
|
+
});
|
28
|
+
}
|
29
|
+
export {
|
30
|
+
u as default
|
31
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../utils.cjs"),g=require("./AxiosHeaders.cjs"),c=s=>s instanceof g.default?s.toJSON():s;function p(s,o){o=o||{};const d={};function a(n,t,r){return i.default.isPlainObject(n)&&i.default.isPlainObject(t)?i.default.merge.call({caseless:r},n,t):i.default.isPlainObject(t)?i.default.merge({},t):i.default.isArray(t)?t.slice():t}function f(n,t,r){if(i.default.isUndefined(t)){if(!i.default.isUndefined(n))return a(void 0,n,r)}else return a(n,t,r)}function u(n,t){if(!i.default.isUndefined(t))return a(void 0,t)}function e(n,t){if(i.default.isUndefined(t)){if(!i.default.isUndefined(n))return a(void 0,n)}else return a(void 0,t)}function l(n,t,r){if(r in o)return a(n,t);if(r in s)return a(void 0,n)}const m={url:u,method:u,data:u,baseURL:e,transformRequest:e,transformResponse:e,paramsSerializer:e,timeout:e,timeoutMessage:e,withCredentials:e,withXSRFToken:e,adapter:e,responseType:e,xsrfCookieName:e,xsrfHeaderName:e,onUploadProgress:e,onDownloadProgress:e,decompress:e,maxContentLength:e,maxBodyLength:e,beforeRedirect:e,transport:e,httpAgent:e,httpsAgent:e,cancelToken:e,socketPath:e,responseEncoding:e,validateStatus:l,headers:(n,t)=>f(c(n),c(t),!0)};return i.default.forEach(Object.keys(Object.assign({},s,o)),function(n){const t=m[n]||f,r=t(s[n],o[n],n);i.default.isUndefined(r)&&t!==l||(d[n]=r)}),d}exports.default=p;
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import i from "../utils.js";
|
2
|
+
import p from "./AxiosHeaders.js";
|
3
|
+
const l = (o) => o instanceof p ? o.toJSON() : o;
|
4
|
+
function U(o, a) {
|
5
|
+
a = a || {};
|
6
|
+
const c = {};
|
7
|
+
function s(t, n, r) {
|
8
|
+
return i.isPlainObject(t) && i.isPlainObject(n) ? i.merge.call({ caseless: r }, t, n) : i.isPlainObject(n) ? i.merge({}, n) : i.isArray(n) ? n.slice() : n;
|
9
|
+
}
|
10
|
+
function d(t, n, r) {
|
11
|
+
if (i.isUndefined(n)) {
|
12
|
+
if (!i.isUndefined(t))
|
13
|
+
return s(void 0, t, r);
|
14
|
+
} else
|
15
|
+
return s(t, n, r);
|
16
|
+
}
|
17
|
+
function f(t, n) {
|
18
|
+
if (!i.isUndefined(n))
|
19
|
+
return s(void 0, n);
|
20
|
+
}
|
21
|
+
function e(t, n) {
|
22
|
+
if (i.isUndefined(n)) {
|
23
|
+
if (!i.isUndefined(t))
|
24
|
+
return s(void 0, t);
|
25
|
+
} else
|
26
|
+
return s(void 0, n);
|
27
|
+
}
|
28
|
+
function u(t, n, r) {
|
29
|
+
if (r in a)
|
30
|
+
return s(t, n);
|
31
|
+
if (r in o)
|
32
|
+
return s(void 0, t);
|
33
|
+
}
|
34
|
+
const m = {
|
35
|
+
url: f,
|
36
|
+
method: f,
|
37
|
+
data: f,
|
38
|
+
baseURL: e,
|
39
|
+
transformRequest: e,
|
40
|
+
transformResponse: e,
|
41
|
+
paramsSerializer: e,
|
42
|
+
timeout: e,
|
43
|
+
timeoutMessage: e,
|
44
|
+
withCredentials: e,
|
45
|
+
withXSRFToken: e,
|
46
|
+
adapter: e,
|
47
|
+
responseType: e,
|
48
|
+
xsrfCookieName: e,
|
49
|
+
xsrfHeaderName: e,
|
50
|
+
onUploadProgress: e,
|
51
|
+
onDownloadProgress: e,
|
52
|
+
decompress: e,
|
53
|
+
maxContentLength: e,
|
54
|
+
maxBodyLength: e,
|
55
|
+
beforeRedirect: e,
|
56
|
+
transport: e,
|
57
|
+
httpAgent: e,
|
58
|
+
httpsAgent: e,
|
59
|
+
cancelToken: e,
|
60
|
+
socketPath: e,
|
61
|
+
responseEncoding: e,
|
62
|
+
validateStatus: u,
|
63
|
+
headers: (t, n) => d(l(t), l(n), !0)
|
64
|
+
};
|
65
|
+
return i.forEach(Object.keys(Object.assign({}, o, a)), function(t) {
|
66
|
+
const n = m[t] || d, r = n(o[t], a[t], t);
|
67
|
+
i.isUndefined(r) && n !== u || (c[t] = r);
|
68
|
+
}), c;
|
69
|
+
}
|
70
|
+
export {
|
71
|
+
U as default
|
72
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./AxiosError.cjs");function o(s,a,e){const u=e.config.validateStatus;!e.status||!u||u(e.status)?s(e):a(new t.default("Request failed with status code "+e.status,[t.default.ERR_BAD_REQUEST,t.default.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}exports.default=o;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import t from "./AxiosError.js";
|
2
|
+
function f(u, e, s) {
|
3
|
+
const a = s.config.validateStatus;
|
4
|
+
!s.status || !a || a(s.status) ? u(s) : e(new t(
|
5
|
+
"Request failed with status code " + s.status,
|
6
|
+
[t.ERR_BAD_REQUEST, t.ERR_BAD_RESPONSE][Math.floor(s.status / 100) - 4],
|
7
|
+
s.config,
|
8
|
+
s.request,
|
9
|
+
s
|
10
|
+
));
|
11
|
+
}
|
12
|
+
export {
|
13
|
+
f as default
|
14
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../utils.cjs"),n=require("../defaults/index.cjs"),s=require("./AxiosHeaders.cjs");function d(a,e){const r=this||n.default,o=e||r,u=s.default.from(o.headers);let t=o.data;return l.default.forEach(a,function(i){t=i.call(r,t,u.normalize(),e?e.status:void 0)}),u.normalize(),t}exports.default=d;
|