@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,13 @@
|
|
1
|
+
import n from "../utils.js";
|
2
|
+
import f from "../defaults/index.js";
|
3
|
+
import l from "./AxiosHeaders.js";
|
4
|
+
function u(i, o) {
|
5
|
+
const t = this || f, a = o || t, e = l.from(a.headers);
|
6
|
+
let r = a.data;
|
7
|
+
return n.forEach(i, function(m) {
|
8
|
+
r = m.call(t, r, e.normalize(), o ? o.status : void 0);
|
9
|
+
}), e.normalize(), r;
|
10
|
+
}
|
11
|
+
export {
|
12
|
+
u as default
|
13
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../utils.cjs"),u=require("../core/AxiosError.cjs"),d=require("./transitional.cjs"),c=require("../helpers/toFormData.cjs"),m=require("../helpers/toURLEncodedForm.cjs"),l=require("../platform/index.cjs"),p=require("../helpers/formDataToJSON.cjs");function h(t,a,i){if(e.default.isString(t))try{return(a||JSON.parse)(t),e.default.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(t)}const s={transitional:d.default,adapter:["xhr","http"],transformRequest:[function(t,a){const i=a.getContentType()||"",n=i.indexOf("application/json")>-1,o=e.default.isObject(t);if(o&&e.default.isHTMLForm(t)&&(t=new FormData(t)),e.default.isFormData(t))return n&&n?JSON.stringify(p.default(t)):t;if(e.default.isArrayBuffer(t)||e.default.isBuffer(t)||e.default.isStream(t)||e.default.isFile(t)||e.default.isBlob(t))return t;if(e.default.isArrayBufferView(t))return t.buffer;if(e.default.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let r;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return m.default(t,this.formSerializer).toString();if((r=e.default.isFileList(t))||i.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return c.default(r?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||n?(a.setContentType("application/json",!1),h(t)):t}],transformResponse:[function(t){const a=this.transitional||s.transitional,i=a&&a.forcedJSONParsing,n=this.responseType==="json";if(t&&e.default.isString(t)&&(i&&!this.responseType||n)){const o=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(r){if(o)throw r.name==="SyntaxError"?u.default.from(r,u.default.ERR_BAD_RESPONSE,this,null,this.response):r}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:l.default.classes.FormData,Blob:l.default.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};e.default.forEach(["delete","get","head","post","put","patch"],t=>{s.headers[t]={}});const S=s;exports.default=S;
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import e from "../utils.js";
|
2
|
+
import m from "../core/AxiosError.js";
|
3
|
+
import c from "./transitional.js";
|
4
|
+
import u from "../helpers/toFormData.js";
|
5
|
+
import l from "../helpers/toURLEncodedForm.js";
|
6
|
+
import p from "../platform/index.js";
|
7
|
+
import h from "../helpers/formDataToJSON.js";
|
8
|
+
function S(t, n, r) {
|
9
|
+
if (e.isString(t))
|
10
|
+
try {
|
11
|
+
return (n || JSON.parse)(t), e.trim(t);
|
12
|
+
} catch (i) {
|
13
|
+
if (i.name !== "SyntaxError")
|
14
|
+
throw i;
|
15
|
+
}
|
16
|
+
return (r || JSON.stringify)(t);
|
17
|
+
}
|
18
|
+
const a = {
|
19
|
+
transitional: c,
|
20
|
+
adapter: ["xhr", "http"],
|
21
|
+
transformRequest: [function(t, n) {
|
22
|
+
const r = n.getContentType() || "", i = r.indexOf("application/json") > -1, s = e.isObject(t);
|
23
|
+
if (s && e.isHTMLForm(t) && (t = new FormData(t)), e.isFormData(t))
|
24
|
+
return i && i ? JSON.stringify(h(t)) : t;
|
25
|
+
if (e.isArrayBuffer(t) || e.isBuffer(t) || e.isStream(t) || e.isFile(t) || e.isBlob(t))
|
26
|
+
return t;
|
27
|
+
if (e.isArrayBufferView(t))
|
28
|
+
return t.buffer;
|
29
|
+
if (e.isURLSearchParams(t))
|
30
|
+
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
31
|
+
let o;
|
32
|
+
if (s) {
|
33
|
+
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
34
|
+
return l(t, this.formSerializer).toString();
|
35
|
+
if ((o = e.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
36
|
+
const f = this.env && this.env.FormData;
|
37
|
+
return u(
|
38
|
+
o ? { "files[]": t } : t,
|
39
|
+
f && new f(),
|
40
|
+
this.formSerializer
|
41
|
+
);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
return s || i ? (n.setContentType("application/json", !1), S(t)) : t;
|
45
|
+
}],
|
46
|
+
transformResponse: [function(t) {
|
47
|
+
const n = this.transitional || a.transitional, r = n && n.forcedJSONParsing, i = this.responseType === "json";
|
48
|
+
if (t && e.isString(t) && (r && !this.responseType || i)) {
|
49
|
+
const s = !(n && n.silentJSONParsing) && i;
|
50
|
+
try {
|
51
|
+
return JSON.parse(t);
|
52
|
+
} catch (o) {
|
53
|
+
if (s)
|
54
|
+
throw o.name === "SyntaxError" ? m.from(o, m.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
return t;
|
58
|
+
}],
|
59
|
+
/**
|
60
|
+
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
61
|
+
* timeout is not created.
|
62
|
+
*/
|
63
|
+
timeout: 0,
|
64
|
+
xsrfCookieName: "XSRF-TOKEN",
|
65
|
+
xsrfHeaderName: "X-XSRF-TOKEN",
|
66
|
+
maxContentLength: -1,
|
67
|
+
maxBodyLength: -1,
|
68
|
+
env: {
|
69
|
+
FormData: p.classes.FormData,
|
70
|
+
Blob: p.classes.Blob
|
71
|
+
},
|
72
|
+
validateStatus: function(t) {
|
73
|
+
return t >= 200 && t < 300;
|
74
|
+
},
|
75
|
+
headers: {
|
76
|
+
common: {
|
77
|
+
Accept: "application/json, text/plain, */*",
|
78
|
+
"Content-Type": void 0
|
79
|
+
}
|
80
|
+
}
|
81
|
+
};
|
82
|
+
e.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
83
|
+
a.headers[t] = {};
|
84
|
+
});
|
85
|
+
const F = a;
|
86
|
+
export {
|
87
|
+
F as default
|
88
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};exports.default=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="1.6.2";exports.VERSION=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./toFormData.cjs");function o(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(e){return n[e]})}function r(t,n){this._pairs=[],t&&u.default(t,this,n)}const i=r.prototype;i.append=function(t,n){this._pairs.push([t,n])};i.toString=function(t){const n=t?function(e){return t.call(this,e,o)}:o;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")};exports.default=r;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import c from "./toFormData.js";
|
2
|
+
function i(t) {
|
3
|
+
const n = {
|
4
|
+
"!": "%21",
|
5
|
+
"'": "%27",
|
6
|
+
"(": "%28",
|
7
|
+
")": "%29",
|
8
|
+
"~": "%7E",
|
9
|
+
"%20": "+",
|
10
|
+
"%00": "\0"
|
11
|
+
};
|
12
|
+
return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(o) {
|
13
|
+
return n[o];
|
14
|
+
});
|
15
|
+
}
|
16
|
+
function u(t, n) {
|
17
|
+
this._pairs = [], t && c(t, this, n);
|
18
|
+
}
|
19
|
+
const r = u.prototype;
|
20
|
+
r.append = function(t, n) {
|
21
|
+
this._pairs.push([t, n]);
|
22
|
+
};
|
23
|
+
r.toString = function(t) {
|
24
|
+
const n = t ? function(o) {
|
25
|
+
return t.call(this, o, i);
|
26
|
+
} : i;
|
27
|
+
return this._pairs.map(function(o) {
|
28
|
+
return n(o[0]) + "=" + n(o[1]);
|
29
|
+
}, "").join("&");
|
30
|
+
};
|
31
|
+
export {
|
32
|
+
u as default
|
33
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(e).forEach(([t,o])=>{e[o]=t});const i=e;exports.default=i;
|
@@ -0,0 +1,72 @@
|
|
1
|
+
const e = {
|
2
|
+
Continue: 100,
|
3
|
+
SwitchingProtocols: 101,
|
4
|
+
Processing: 102,
|
5
|
+
EarlyHints: 103,
|
6
|
+
Ok: 200,
|
7
|
+
Created: 201,
|
8
|
+
Accepted: 202,
|
9
|
+
NonAuthoritativeInformation: 203,
|
10
|
+
NoContent: 204,
|
11
|
+
ResetContent: 205,
|
12
|
+
PartialContent: 206,
|
13
|
+
MultiStatus: 207,
|
14
|
+
AlreadyReported: 208,
|
15
|
+
ImUsed: 226,
|
16
|
+
MultipleChoices: 300,
|
17
|
+
MovedPermanently: 301,
|
18
|
+
Found: 302,
|
19
|
+
SeeOther: 303,
|
20
|
+
NotModified: 304,
|
21
|
+
UseProxy: 305,
|
22
|
+
Unused: 306,
|
23
|
+
TemporaryRedirect: 307,
|
24
|
+
PermanentRedirect: 308,
|
25
|
+
BadRequest: 400,
|
26
|
+
Unauthorized: 401,
|
27
|
+
PaymentRequired: 402,
|
28
|
+
Forbidden: 403,
|
29
|
+
NotFound: 404,
|
30
|
+
MethodNotAllowed: 405,
|
31
|
+
NotAcceptable: 406,
|
32
|
+
ProxyAuthenticationRequired: 407,
|
33
|
+
RequestTimeout: 408,
|
34
|
+
Conflict: 409,
|
35
|
+
Gone: 410,
|
36
|
+
LengthRequired: 411,
|
37
|
+
PreconditionFailed: 412,
|
38
|
+
PayloadTooLarge: 413,
|
39
|
+
UriTooLong: 414,
|
40
|
+
UnsupportedMediaType: 415,
|
41
|
+
RangeNotSatisfiable: 416,
|
42
|
+
ExpectationFailed: 417,
|
43
|
+
ImATeapot: 418,
|
44
|
+
MisdirectedRequest: 421,
|
45
|
+
UnprocessableEntity: 422,
|
46
|
+
Locked: 423,
|
47
|
+
FailedDependency: 424,
|
48
|
+
TooEarly: 425,
|
49
|
+
UpgradeRequired: 426,
|
50
|
+
PreconditionRequired: 428,
|
51
|
+
TooManyRequests: 429,
|
52
|
+
RequestHeaderFieldsTooLarge: 431,
|
53
|
+
UnavailableForLegalReasons: 451,
|
54
|
+
InternalServerError: 500,
|
55
|
+
NotImplemented: 501,
|
56
|
+
BadGateway: 502,
|
57
|
+
ServiceUnavailable: 503,
|
58
|
+
GatewayTimeout: 504,
|
59
|
+
HttpVersionNotSupported: 505,
|
60
|
+
VariantAlsoNegotiates: 506,
|
61
|
+
InsufficientStorage: 507,
|
62
|
+
LoopDetected: 508,
|
63
|
+
NotExtended: 510,
|
64
|
+
NetworkAuthenticationRequired: 511
|
65
|
+
};
|
66
|
+
Object.entries(e).forEach(([t, o]) => {
|
67
|
+
e[o] = t;
|
68
|
+
});
|
69
|
+
const n = e;
|
70
|
+
export {
|
71
|
+
n as default
|
72
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(e,t){return function(){return e.apply(t,arguments)}}exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../utils.cjs"),u=require("./AxiosURLSearchParams.cjs");function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function c(e,t,r){if(!t)return e;const l=r&&r.encode||s,a=r&&r.serialize;let n;if(a?n=a(t,r):n=o.default.isURLSearchParams(t)?t.toString():new u.default(t,r).toString(l),n){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}exports.default=c;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import l from "../utils.js";
|
2
|
+
import p from "./AxiosURLSearchParams.js";
|
3
|
+
function c(e) {
|
4
|
+
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
5
|
+
}
|
6
|
+
function s(e, n, r) {
|
7
|
+
if (!n)
|
8
|
+
return e;
|
9
|
+
const i = r && r.encode || c, o = r && r.serialize;
|
10
|
+
let t;
|
11
|
+
if (o ? t = o(n, r) : t = l.isURLSearchParams(n) ? n.toString() : new p(n, r).toString(i), t) {
|
12
|
+
const a = e.indexOf("#");
|
13
|
+
a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + t;
|
14
|
+
}
|
15
|
+
return e;
|
16
|
+
}
|
17
|
+
export {
|
18
|
+
s as default
|
19
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function r(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}exports.default=r;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../utils.cjs"),d=require("../platform/index.cjs"),a=d.default.hasStandardBrowserEnv?{write(e,o,n,u,i,s){const t=[e+"="+encodeURIComponent(o)];r.default.isNumber(n)&&t.push("expires="+new Date(n).toGMTString()),r.default.isString(u)&&t.push("path="+u),r.default.isString(i)&&t.push("domain="+i),s===!0&&t.push("secure"),document.cookie=t.join("; ")},read(e){const o=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};exports.default=a;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import r from "../utils.js";
|
2
|
+
import p from "../platform/index.js";
|
3
|
+
const c = p.hasStandardBrowserEnv ? (
|
4
|
+
// Standard browser envs support document.cookie
|
5
|
+
{
|
6
|
+
write(e, t, n, i, s, m) {
|
7
|
+
const o = [e + "=" + encodeURIComponent(t)];
|
8
|
+
r.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), r.isString(i) && o.push("path=" + i), r.isString(s) && o.push("domain=" + s), m === !0 && o.push("secure"), document.cookie = o.join("; ");
|
9
|
+
},
|
10
|
+
read(e) {
|
11
|
+
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
12
|
+
return t ? decodeURIComponent(t[3]) : null;
|
13
|
+
},
|
14
|
+
remove(e) {
|
15
|
+
this.write(e, "", Date.now() - 864e5);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
) : (
|
19
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
20
|
+
{
|
21
|
+
write() {
|
22
|
+
},
|
23
|
+
read() {
|
24
|
+
return null;
|
25
|
+
},
|
26
|
+
remove() {
|
27
|
+
}
|
28
|
+
}
|
29
|
+
);
|
30
|
+
export {
|
31
|
+
c as default
|
32
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../utils.cjs");function f(a){return i.default.matchAll(/\w+|\[(\w*)]/g,a).map(r=>r[0]==="[]"?"":r[1]||r[0])}function c(a){const r={},l=Object.keys(a);let u;const t=l.length;let s;for(u=0;u<t;u++)s=l[u],r[s]=a[s];return r}function d(a){function r(l,u,t,s){let e=l[s++];const n=Number.isFinite(+e),o=s>=l.length;return e=!e&&i.default.isArray(t)?t.length:e,o?(i.default.hasOwnProp(t,e)?t[e]=[t[e],u]:t[e]=u,!n):((!t[e]||!i.default.isObject(t[e]))&&(t[e]=[]),r(l,u,t[e],s)&&i.default.isArray(t[e])&&(t[e]=c(t[e])),!n)}if(i.default.isFormData(a)&&i.default.isFunction(a.entries)){const l={};return i.default.forEachEntry(a,(u,t)=>{r(f(u),t,l,0)}),l}return null}exports.default=d;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import s from "../utils.js";
|
2
|
+
function a(i) {
|
3
|
+
return s.matchAll(/\w+|\[(\w*)]/g, i).map((n) => n[0] === "[]" ? "" : n[1] || n[0]);
|
4
|
+
}
|
5
|
+
function f(i) {
|
6
|
+
const n = {}, o = Object.keys(i);
|
7
|
+
let e;
|
8
|
+
const t = o.length;
|
9
|
+
let u;
|
10
|
+
for (e = 0; e < t; e++)
|
11
|
+
u = o[e], n[u] = i[u];
|
12
|
+
return n;
|
13
|
+
}
|
14
|
+
function h(i) {
|
15
|
+
function n(o, e, t, u) {
|
16
|
+
let r = o[u++];
|
17
|
+
const c = Number.isFinite(+r), l = u >= o.length;
|
18
|
+
return r = !r && s.isArray(t) ? t.length : r, l ? (s.hasOwnProp(t, r) ? t[r] = [t[r], e] : t[r] = e, !c) : ((!t[r] || !s.isObject(t[r])) && (t[r] = []), n(o, e, t[r], u) && s.isArray(t[r]) && (t[r] = f(t[r])), !c);
|
19
|
+
}
|
20
|
+
if (s.isFormData(i) && s.isFunction(i.entries)) {
|
21
|
+
const o = {};
|
22
|
+
return s.forEachEntry(i, (e, t) => {
|
23
|
+
n(a(e), t, o, 0);
|
24
|
+
}), o;
|
25
|
+
}
|
26
|
+
return null;
|
27
|
+
}
|
28
|
+
export {
|
29
|
+
h as default
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}exports.default=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../utils.cjs");function u(e){return t.default.isObject(e)&&e.isAxiosError===!0}exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../utils.cjs"),c=require("../platform/index.cjs"),h=c.default.hasStandardBrowserEnv?function(){const a=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let o;function n(r){let e=r;return a&&(t.setAttribute("href",e),e=t.href),t.setAttribute("href",e),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return o=n(window.location.href),function(r){const e=s.default.isString(r)?n(r):r;return e.protocol===o.protocol&&e.host===o.host}}():function(){return function(){return!0}}();exports.default=h;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import h from "../utils.js";
|
2
|
+
import s from "../platform/index.js";
|
3
|
+
const i = s.hasStandardBrowserEnv ? (
|
4
|
+
// Standard browser envs have full support of the APIs needed to test
|
5
|
+
// whether the request URL is of the same origin as current location.
|
6
|
+
function() {
|
7
|
+
const a = /(msie|trident)/i.test(navigator.userAgent), t = document.createElement("a");
|
8
|
+
let o;
|
9
|
+
function n(r) {
|
10
|
+
let e = r;
|
11
|
+
return a && (t.setAttribute("href", e), e = t.href), t.setAttribute("href", e), {
|
12
|
+
href: t.href,
|
13
|
+
protocol: t.protocol ? t.protocol.replace(/:$/, "") : "",
|
14
|
+
host: t.host,
|
15
|
+
search: t.search ? t.search.replace(/^\?/, "") : "",
|
16
|
+
hash: t.hash ? t.hash.replace(/^#/, "") : "",
|
17
|
+
hostname: t.hostname,
|
18
|
+
port: t.port,
|
19
|
+
pathname: t.pathname.charAt(0) === "/" ? t.pathname : "/" + t.pathname
|
20
|
+
};
|
21
|
+
}
|
22
|
+
return o = n(window.location.href), function(r) {
|
23
|
+
const e = h.isString(r) ? n(r) : r;
|
24
|
+
return e.protocol === o.protocol && e.host === o.host;
|
25
|
+
};
|
26
|
+
}()
|
27
|
+
) : (
|
28
|
+
// Non standard browser envs (web workers, react-native) lack needed support.
|
29
|
+
function() {
|
30
|
+
return function() {
|
31
|
+
return !0;
|
32
|
+
};
|
33
|
+
}()
|
34
|
+
);
|
35
|
+
export {
|
36
|
+
i as default
|
37
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=null;exports.default=e;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../utils.cjs"),a=s.default.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),u=n=>{const t={};let e,i,r;return n&&n.split(`
|
2
|
+
`).forEach(function(o){r=o.indexOf(":"),e=o.substring(0,r).trim().toLowerCase(),i=o.substring(r+1).trim(),!(!e||t[e]&&a[e])&&(e==="set-cookie"?t[e]?t[e].push(i):t[e]=[i]:t[e]=t[e]?t[e]+", "+i:i)}),t};exports.default=u;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import a from "../utils.js";
|
2
|
+
const s = a.toObjectSet([
|
3
|
+
"age",
|
4
|
+
"authorization",
|
5
|
+
"content-length",
|
6
|
+
"content-type",
|
7
|
+
"etag",
|
8
|
+
"expires",
|
9
|
+
"from",
|
10
|
+
"host",
|
11
|
+
"if-modified-since",
|
12
|
+
"if-unmodified-since",
|
13
|
+
"last-modified",
|
14
|
+
"location",
|
15
|
+
"max-forwards",
|
16
|
+
"proxy-authorization",
|
17
|
+
"referer",
|
18
|
+
"retry-after",
|
19
|
+
"user-agent"
|
20
|
+
]), c = (n) => {
|
21
|
+
const e = {};
|
22
|
+
let t, i, r;
|
23
|
+
return n && n.split(`
|
24
|
+
`).forEach(function(o) {
|
25
|
+
r = o.indexOf(":"), t = o.substring(0, r).trim().toLowerCase(), i = o.substring(r + 1).trim(), !(!t || e[t] && s[t]) && (t === "set-cookie" ? e[t] ? e[t].push(i) : e[t] = [i] : e[t] = e[t] ? e[t] + ", " + i : i);
|
26
|
+
}), e;
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
c as default
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function v(e,t){e=e||10;const a=new Array(e),c=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),d=c[o];i||(i=u),a[r]=s,c[r]=u;let n=o,l=0;for(;n!==r;)l+=a[n++],n=n%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i<t)return;const f=d&&u-d;return f?Math.round(l*1e3/f):void 0}}exports.default=v;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
function l(r, n) {
|
2
|
+
r = r || 10;
|
3
|
+
const c = new Array(r), f = new Array(r);
|
4
|
+
let e = 0, o = 0, a;
|
5
|
+
return n = n !== void 0 ? n : 1e3, function(w) {
|
6
|
+
const t = Date.now(), i = f[o];
|
7
|
+
a || (a = t), c[e] = w, f[e] = t;
|
8
|
+
let u = o, d = 0;
|
9
|
+
for (; u !== e; )
|
10
|
+
d += c[u++], u = u % r;
|
11
|
+
if (e = (e + 1) % r, e === o && (o = (o + 1) % r), t - a < n)
|
12
|
+
return;
|
13
|
+
const s = i && t - i;
|
14
|
+
return s ? Math.round(d * 1e3 / s) : void 0;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
export {
|
18
|
+
l as default
|
19
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return function(u){return e.apply(null,u)}}exports.default=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../utils.cjs"),S=require("../core/AxiosError.cjs");function p(n){return e.default.isPlainObject(n)||e.default.isArray(n)}function B(n){return e.default.endsWith(n,"[]")?n.slice(0,-2):n}function w(n,u,o){return n?n.concat(u).map(function(r,l){return r=B(r),!o&&l?"["+r+"]":r}).join(o?".":""):u}function T(n){return e.default.isArray(n)&&!n.some(p)}const g=e.default.toFlatObject(e.default,{},null,function(n){return/^is[A-Z]/.test(n)});function E(n,u,o){if(!e.default.isObject(n))throw new TypeError("target must be an object");u=u||new FormData,o=e.default.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,i){return!e.default.isUndefined(i[t])});const r=o.metaTokens,l=o.visitor||j,b=o.dots,y=o.indexes,m=(o.Blob||typeof Blob<"u"&&Blob)&&e.default.isSpecCompliantForm(u);if(!e.default.isFunction(l))throw new TypeError("visitor must be a function");function d(t){if(t===null)return"";if(e.default.isDate(t))return t.toISOString();if(!m&&e.default.isBlob(t))throw new S.default("Blob is not supported. Use a Buffer instead.");return e.default.isArrayBuffer(t)||e.default.isTypedArray(t)?m&&typeof Blob=="function"?new Blob([t]):Buffer.from(t):t}function j(t,i,a){let f=t;if(t&&!a&&typeof t=="object"){if(e.default.endsWith(i,"{}"))i=r?i:i.slice(0,-2),t=JSON.stringify(t);else if(e.default.isArray(t)&&T(t)||(e.default.isFileList(t)||e.default.endsWith(i,"[]"))&&(f=e.default.toArray(t)))return i=B(i),f.forEach(function(c,A){!(e.default.isUndefined(c)||c===null)&&u.append(y===!0?w([i],A,b):y===null?i:i+"[]",d(c))}),!1}return p(t)?!0:(u.append(w(a,i,b),d(t)),!1)}const s=[],O=Object.assign(g,{defaultVisitor:j,convertValue:d,isVisitable:p});function h(t,i){if(!e.default.isUndefined(t)){if(s.indexOf(t)!==-1)throw Error("Circular reference detected in "+i.join("."));s.push(t),e.default.forEach(t,function(a,f){(!(e.default.isUndefined(a)||a===null)&&l.call(u,a,e.default.isString(f)?f.trim():f,i,O))===!0&&h(a,i?i.concat(f):[f])}),s.pop()}}if(!e.default.isObject(n))throw new TypeError("data must be an object");return h(n),u}exports.default=E;
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import e from "../utils.js";
|
2
|
+
import F from "../core/AxiosError.js";
|
3
|
+
function p(n) {
|
4
|
+
return e.isPlainObject(n) || e.isArray(n);
|
5
|
+
}
|
6
|
+
function B(n) {
|
7
|
+
return e.endsWith(n, "[]") ? n.slice(0, -2) : n;
|
8
|
+
}
|
9
|
+
function w(n, o, r) {
|
10
|
+
return n ? n.concat(o).map(function(f, c) {
|
11
|
+
return f = B(f), !r && c ? "[" + f + "]" : f;
|
12
|
+
}).join(r ? "." : "") : o;
|
13
|
+
}
|
14
|
+
function T(n) {
|
15
|
+
return e.isArray(n) && !n.some(p);
|
16
|
+
}
|
17
|
+
const E = e.toFlatObject(e, {}, null, function(n) {
|
18
|
+
return /^is[A-Z]/.test(n);
|
19
|
+
});
|
20
|
+
function U(n, o, r) {
|
21
|
+
if (!e.isObject(n))
|
22
|
+
throw new TypeError("target must be an object");
|
23
|
+
o = o || new FormData(), r = e.toFlatObject(r, {
|
24
|
+
metaTokens: !0,
|
25
|
+
dots: !1,
|
26
|
+
indexes: !1
|
27
|
+
}, !1, function(t, i) {
|
28
|
+
return !e.isUndefined(i[t]);
|
29
|
+
});
|
30
|
+
const f = r.metaTokens, c = r.visitor || h, b = r.dots, m = r.indexes, y = (r.Blob || typeof Blob < "u" && Blob) && e.isSpecCompliantForm(o);
|
31
|
+
if (!e.isFunction(c))
|
32
|
+
throw new TypeError("visitor must be a function");
|
33
|
+
function a(t) {
|
34
|
+
if (t === null)
|
35
|
+
return "";
|
36
|
+
if (e.isDate(t))
|
37
|
+
return t.toISOString();
|
38
|
+
if (!y && e.isBlob(t))
|
39
|
+
throw new F("Blob is not supported. Use a Buffer instead.");
|
40
|
+
return e.isArrayBuffer(t) || e.isTypedArray(t) ? y && typeof Blob == "function" ? new Blob([t]) : Buffer.from(t) : t;
|
41
|
+
}
|
42
|
+
function h(t, i, u) {
|
43
|
+
let s = t;
|
44
|
+
if (t && !u && typeof t == "object") {
|
45
|
+
if (e.endsWith(i, "{}"))
|
46
|
+
i = f ? i : i.slice(0, -2), t = JSON.stringify(t);
|
47
|
+
else if (e.isArray(t) && T(t) || (e.isFileList(t) || e.endsWith(i, "[]")) && (s = e.toArray(t)))
|
48
|
+
return i = B(i), s.forEach(function(d, A) {
|
49
|
+
!(e.isUndefined(d) || d === null) && o.append(
|
50
|
+
// eslint-disable-next-line no-nested-ternary
|
51
|
+
m === !0 ? w([i], A, b) : m === null ? i : i + "[]",
|
52
|
+
a(d)
|
53
|
+
);
|
54
|
+
}), !1;
|
55
|
+
}
|
56
|
+
return p(t) ? !0 : (o.append(w(u, i, b), a(t)), !1);
|
57
|
+
}
|
58
|
+
const l = [], O = Object.assign(E, {
|
59
|
+
defaultVisitor: h,
|
60
|
+
convertValue: a,
|
61
|
+
isVisitable: p
|
62
|
+
});
|
63
|
+
function j(t, i) {
|
64
|
+
if (!e.isUndefined(t)) {
|
65
|
+
if (l.indexOf(t) !== -1)
|
66
|
+
throw Error("Circular reference detected in " + i.join("."));
|
67
|
+
l.push(t), e.forEach(t, function(u, s) {
|
68
|
+
(!(e.isUndefined(u) || u === null) && c.call(
|
69
|
+
o,
|
70
|
+
u,
|
71
|
+
e.isString(s) ? s.trim() : s,
|
72
|
+
i,
|
73
|
+
O
|
74
|
+
)) === !0 && j(u, i ? i.concat(s) : [s]);
|
75
|
+
}), l.pop();
|
76
|
+
}
|
77
|
+
}
|
78
|
+
if (!e.isObject(n))
|
79
|
+
throw new TypeError("data must be an object");
|
80
|
+
return j(n), o;
|
81
|
+
}
|
82
|
+
export {
|
83
|
+
U as default
|
84
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../utils.cjs"),n=require("./toFormData.cjs"),t=require("../platform/index.cjs");function o(r,s){return n.default(r,new t.default.classes.URLSearchParams,Object.assign({visitor:function(e,u,l,i){return t.default.isNode&&a.default.isBuffer(e)?(this.append(u,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},s))}exports.default=o;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import a from "../utils.js";
|
2
|
+
import n from "./toFormData.js";
|
3
|
+
import t from "../platform/index.js";
|
4
|
+
function c(e, i) {
|
5
|
+
return n(e, new t.classes.URLSearchParams(), Object.assign({
|
6
|
+
visitor: function(r, s, f, o) {
|
7
|
+
return t.isNode && a.isBuffer(r) ? (this.append(s, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
8
|
+
}
|
9
|
+
}, i));
|
10
|
+
}
|
11
|
+
export {
|
12
|
+
c as default
|
13
|
+
};
|