@bynder/compact-view 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccessToken.js +5 -0
- package/AccessToken2.js +176 -0
- package/AccessToken3.js +4 -0
- package/ActiveFilter.js +6 -5
- package/ActiveFilters.js +24 -24
- package/AddMedia.js +1 -1
- package/AdditionalInfo.js +18 -0
- package/Advanced.js +3 -3
- package/App.js +46 -43
- package/Arrow.js +14 -0
- package/AssetCard.js +32 -29
- package/AssetCardMetaproperties.js +14 -13
- package/AssetFilter.js +36 -35
- package/AssetFilterContext.js +3 -3
- package/AssetItem.js +14 -13
- package/AssetList.js +7 -7
- package/AssetTypeItem.js +13 -12
- package/Autocomplete_new.js +41 -37
- package/Axios2.js +136 -0
- package/AxiosError.js +54 -0
- package/AxiosHeaders.js +181 -0
- package/AxiosURLSearchParams.js +33 -0
- package/Badge.js +44 -0
- package/Baloon.js +42 -0
- package/BaseStyles.js +10 -0
- package/Blob.js +4 -0
- package/Box.js +22 -0
- package/Button.js +39 -0
- package/Button.styles.js +40 -0
- package/ButtonAction.js +3 -3
- package/ButtonLegacy.js +48 -0
- package/ButtonLegacy.styles.js +28 -0
- package/CancelToken.js +77 -0
- package/CanceledError.js +11 -0
- package/Card.js +84 -0
- package/CardSkeleton.js +15 -14
- package/Checkbox.js +85 -0
- package/Checkbox.styles.js +2 -2
- package/Checkmark.js +7 -0
- package/Chip.js +70 -40
- package/Chip2.js +42 -0
- package/CollectionCard.js +9 -8
- package/CollectionItem.js +15 -14
- package/CollectionList.js +2 -2
- package/CollectionView.js +2 -2
- package/CollectionsView.js +6 -6
- package/ColorHexInput.js +31 -0
- package/ColorPicker.js +66 -0
- package/ColorPickerSolid.js +20 -0
- package/ColorPickerWithOpacity.js +37 -0
- package/Combobox.js +61 -0
- package/ConcealedAction.js +16 -0
- package/ConnectButton.js +1 -1
- package/Container.js +14 -13
- package/Container2.js +31 -0
- package/Content.js +16 -0
- package/ContextAction.js +18 -17
- package/ContextActionButton.js +29 -0
- package/ControlGroup.js +32 -0
- package/DOMFunctions.js +27 -0
- package/Dat.js +62 -50
- package/DatDropdownItem.js +20 -19
- package/DesignSystemContext.js +4 -4
- package/DesignSystemProvider.js +29 -0
- package/DirectionSelect.js +16 -15
- package/Divider.js +21 -0
- package/DomainInput.js +15 -14
- package/DragRange.js +25 -0
- package/DragSelect.js +11 -11
- package/Dropdown.js +12 -11
- package/Dropdown2.js +169 -0
- package/DropdownContent.js +2 -2
- package/DropdownListItem.js +3 -3
- package/Enum.js +12 -0
- package/ErrorMessage.js +20 -19
- package/FieldSelect.js +4 -4
- package/FilePlaceholder.js +19 -0
- package/FileSelector.js +11 -10
- package/Flex.js +21 -0
- package/FontPicker.js +104 -0
- package/Footer.js +16 -0
- package/Form.js +23 -0
- package/FormData.js +4 -0
- package/Frame.js +64 -0
- package/Group.js +17 -0
- package/Group2.js +26 -0
- package/Header2.js +43 -0
- package/Header22.js +15 -0
- package/HelperText.js +26 -0
- package/HorizontalScroll.js +4 -4
- package/HttpHandler.js +74 -0
- package/HttpResponse.js +85 -0
- package/HttpStatusCode.js +71 -0
- package/IconPlaceholder.js +18 -0
- package/Image.js +19 -0
- package/Images.js +30 -0
- package/Indicator.js +74 -0
- package/InfiniteScroll.js +8 -8
- package/InlineBanner.js +51 -0
- package/Input.js +109 -0
- package/Input.styles.js +71 -0
- package/InputContainer.js +9 -0
- package/InputField.js +74 -0
- package/InputRow.js +18 -0
- package/Inspector.js +34 -0
- package/InteractiveIcon.js +28 -0
- package/InterceptorManager.js +58 -0
- package/Item.js +107 -0
- package/Item2.js +14 -0
- package/Item4.js +190 -0
- package/Label.js +33 -0
- package/LeftArrow.js +3 -3
- package/List.js +25 -0
- package/ListItem.js +11 -0
- package/ListItem2.js +58 -0
- package/ListItem4.js +37 -0
- package/MetapropertyFilterContent.js +2 -2
- package/MetapropertyOption.js +2 -3
- package/Middleware.js +49 -0
- package/Middleware2.js +49 -0
- package/Modal.js +2 -2
- package/Modal2.js +31 -0
- package/ModalBase.js +117 -0
- package/ModalBase.styles.js +75 -0
- package/ModalConfirmation.js +8 -0
- package/NoResults.js +16 -15
- package/OffsetContext.js +9 -0
- package/Oops.js +1 -1
- package/OpacityInput.js +17 -0
- package/Option_new.js +19 -18
- package/Overlay.js +35 -0
- package/Parser.js +131 -0
- package/Prefixer.js +187 -0
- package/Radio.js +78 -0
- package/RadioGroup.js +25 -0
- package/RangeInput.js +41 -0
- package/RefreshingSpinner.js +3 -3
- package/ReportModal.js +16 -14
- package/RequestHandler.js +119 -0
- package/RightArrow.js +4 -4
- package/Row.js +16 -0
- package/SearchInput.js +15 -15
- package/SearchInput2.js +46 -0
- package/SectionTitle.js +17 -0
- package/Select.js +49 -0
- package/SelectButtonText.js +16 -0
- package/SelectedItemContainer.js +11 -10
- package/SelectedItems.js +2 -2
- package/SelectionFooter.js +8 -7
- package/Serializer.js +27 -0
- package/ShadowRootInternal.js +17 -17
- package/Sidebar.js +17 -0
- package/Skeleton.js +6 -6
- package/Slider.constants.js +6 -0
- package/Slider.js +128 -0
- package/SmartFilterContent.js +2 -2
- package/SmartFilterSelect_new.js +2 -2
- package/Smartfilters_new.js +53 -50
- package/Spinner.js +2 -2
- package/Spinner2.js +15 -0
- package/StatefulAssetList.js +15 -15
- package/Stats.js +16 -0
- package/StatsItem.js +23 -0
- package/Status.js +32 -0
- package/Switch.js +82 -0
- package/SwitchNLS.js +26 -23
- package/Tabs2.js +10 -0
- package/TagItem.js +8 -8
- package/Tags.js +9 -9
- package/Text2.js +11 -0
- package/Text22.js +18 -0
- package/Text4.js +18 -0
- package/Textarea.js +92 -0
- package/Theming.js +4 -4
- package/Thumb.js +28 -0
- package/Thumbnail.js +91 -0
- package/Tokenizer.js +147 -0
- package/Toolbar.js +13 -12
- package/Tooltip.js +2 -2
- package/Tooltip2.js +111 -0
- package/TruncatedText.js +34 -0
- package/URLSearchParams.js +5 -0
- package/Utility.js +56 -0
- package/ViewSwitch.js +8 -7
- package/_check_private_redeclaration.js +7 -0
- package/_class_apply_descriptor_get.js +6 -0
- package/_class_apply_descriptor_set.js +11 -0
- package/_class_extract_field_descriptor.js +7 -0
- package/_class_private_field_get.js +9 -0
- package/_class_private_field_init.js +7 -0
- package/_class_private_field_set.js +9 -0
- package/_commonjsHelpers.js +6 -0
- package/adapters.js +53 -0
- package/api.js +25 -0
- package/api2.js +40 -0
- package/api3.js +406 -0
- package/applyScopeDataToEvent.js +83 -0
- package/applyScopeDataToEvent2.js +55 -0
- package/asset.type.js +9 -9
- package/autocomplete.js +2 -2
- package/axios.js +46 -0
- package/base.js +57 -0
- package/baseclient.js +498 -0
- package/bind.js +8 -0
- package/browser.js +44 -0
- package/buildFullPath.js +9 -0
- package/buildURL.js +23 -0
- package/bundle.esm.js +81 -0
- package/calculateContainerMaxHeight.js +12 -0
- package/calculateNodeHeight.js +35 -0
- package/carrier.js +13 -0
- package/chain.js +8 -0
- package/checkGlobals.js +13 -0
- package/checks.js +178 -0
- package/chunk-6HYIRFX2.js +1 -0
- package/cleanUrl.js +11 -0
- package/client.js +76 -0
- package/clientreport.js +15 -0
- package/clsx.js +17 -0
- package/colorTransforms.js +12 -0
- package/combineMetaproperties.js +1 -1
- package/combineURLs.js +6 -0
- package/composeSignals.js +30 -0
- package/constants.js +2 -12
- package/constants2.js +82 -0
- package/constants3.js +14 -0
- package/constants4.js +8 -0
- package/constants5.js +4 -0
- package/constants6.js +4 -0
- package/context.js +12 -0
- package/context10.js +12 -0
- package/context2.js +9 -0
- package/context3.js +12 -0
- package/context6.js +5 -0
- package/cookieStore.js +116 -0
- package/cookies.js +32 -0
- package/core.js +42 -0
- package/currentScopes.js +9 -0
- package/data.js +4 -0
- package/de_DE.json.js +18 -0
- package/debug-build.js +4 -0
- package/debug-build2.js +4 -0
- package/debug-build3.js +4 -0
- package/debug-build4.js +4 -0
- package/debug-build5.js +4 -0
- package/debug-build6.js +4 -0
- package/decorators.js +37 -0
- package/defaultScopes.js +12 -0
- package/devUtils.js +20 -0
- package/dispatchRequest.js +31 -0
- package/doc.js +26 -0
- package/domHelpers.js +15 -0
- package/dsn.js +54 -0
- package/dynamicSamplingContext.js +34 -0
- package/dynamicSamplingContext2.js +34 -0
- package/emotion-unitless.esm.js +52 -0
- package/en_US.json.js +23 -0
- package/englishText-12403056.js +6 -0
- package/env.js +6 -0
- package/envelope.js +113 -0
- package/envelope2.js +23 -0
- package/envelope3.js +24 -0
- package/error.js +9 -0
- package/errors.js +33 -0
- package/errors2.js +55 -0
- package/es_ES.json.js +18 -0
- package/es_MX.json.js +18 -0
- package/eventProcessors.js +27 -0
- package/eventProcessors2.js +23 -0
- package/eventbuilder.js +128 -0
- package/exports.js +11 -0
- package/exports2.js +16 -0
- package/exports3.js +8 -0
- package/fetch.js +44 -0
- package/fetch2.js +141 -0
- package/filterAssets.js +1 -1
- package/fixFontSpaceInUrl.js +8 -0
- package/focusWithoutScrolling.js +45 -0
- package/forceHiddenStyles.js +19 -0
- package/formDataToJSON.js +31 -0
- package/fr_FR.json.js +18 -0
- package/getAbsoluteUrl.js +13 -0
- package/getAsset.js +1 -1
- package/getAssetCounts.js +1 -1
- package/getAssets.js +2 -2
- package/getCallFrame.js +12 -0
- package/getCollections.js +1 -1
- package/getFilterOptions.js +1 -1
- package/getFilters.js +1 -1
- package/getFilters_new.js +1 -1
- package/getRequestCookies.js +40 -0
- package/getRootSpan.js +6 -0
- package/getRootSpan2.js +6 -0
- package/getSimilarityAssets.js +1 -1
- package/getSizingData.js +45 -0
- package/getStatusCodeColor.js +6 -0
- package/getThumbPosition.js +6 -0
- package/getTimestamp.js +7 -0
- package/getUseLayerOptions.js +49 -0
- package/handlers.js +92 -6
- package/handlers2.js +6 -0
- package/helpers.js +3 -4
- package/helpers2.js +6 -0
- package/hexFromPercentage.js +7 -0
- package/http.js +17 -0
- package/hub.js +446 -0
- package/hub2.js +442 -0
- package/immer.js +472 -0
- package/import.js +7 -0
- package/index-esm.js +10781 -0
- package/index-esm2.js +138 -0
- package/index-esm3.js +131 -0
- package/index.browser.js +11 -0
- package/index.module.js +57 -0
- package/index.module2.js +72 -0
- package/index.module3.js +57 -0
- package/index10.js +20 -0
- package/index102.js +273 -0
- package/index11.js +18 -0
- package/index112.js +29 -0
- package/index12.js +38 -0
- package/index13.js +2432 -0
- package/index14.js +558 -0
- package/index15.js +58 -0
- package/index16.js +4 -0
- package/index17.js +89 -0
- package/index18.js +9 -0
- package/index19.js +62 -0
- package/index20.js +15 -0
- package/index21.js +11 -0
- package/index22.js +42 -0
- package/index23.js +9 -0
- package/index24.js +10 -0
- package/index25.js +7 -0
- package/index26.js +12 -0
- package/index27.js +11 -0
- package/index28.js +639 -0
- package/index29.js +76 -0
- package/index3.js +5 -53
- package/index30.js +7 -0
- package/index31.js +22 -0
- package/index32.js +2 -0
- package/index33.js +7 -0
- package/index34.js +20 -0
- package/index35.js +8 -0
- package/index36.js +4 -0
- package/index37.js +13 -0
- package/index38.js +13 -0
- package/index39.js +15 -0
- package/index4.js +1684 -17
- package/index40.js +13 -0
- package/index41.js +21 -0
- package/index42.js +66 -0
- package/index43.js +8 -0
- package/index44.js +57 -0
- package/index45.js +69 -0
- package/index46.js +33 -0
- package/index47.js +13 -0
- package/index48.js +123 -0
- package/index49.js +88 -0
- package/index5.js +27 -0
- package/index50.js +10 -0
- package/index51.js +13 -0
- package/index52.js +16 -0
- package/index53.js +16 -0
- package/index54.js +9 -0
- package/index55.js +9 -0
- package/index56.js +17 -0
- package/index57.js +31 -0
- package/index58.js +18 -0
- package/index6.js +315 -0
- package/index7.js +4 -0
- package/index72.js +228 -0
- package/index8.js +5051 -0
- package/index82.js +8 -0
- package/index9.js +55 -0
- package/index92.js +12 -0
- package/integration.js +38 -0
- package/is.js +77 -0
- package/is2.js +14 -0
- package/is3.js +14 -0
- package/isAbsoluteURL.js +6 -0
- package/isAbsoluteUrl2.js +6 -0
- package/isAxiosError.js +7 -0
- package/isCancel.js +6 -0
- package/isIterable.js +6 -0
- package/isStringEqual.js +6 -0
- package/isURLSameOrigin.js +8 -0
- package/isValidHexValue.js +6 -0
- package/isVirtualEvent.js +11 -0
- package/iso.js +38 -0
- package/it_IT.json.js +18 -0
- package/itemContext.js +5 -0
- package/ja_JP.json.js +18 -0
- package/ko_KR.json.js +18 -0
- package/localStorageHelper.js +32 -0
- package/localStorageHelper2.js +4 -0
- package/localization.js +46 -0
- package/logger2.js +56 -0
- package/logger3.js +56 -0
- package/logger4.js +56 -0
- package/makeHexWithOpacity.js +12 -0
- package/makeInternalTokens.js +22 -0
- package/matchRequestUrl.js +23 -0
- package/memo.js +25 -0
- package/merge.js +13 -0
- package/mergeConfig.js +70 -0
- package/mergeProps.js +22 -0
- package/mergeRefs.js +9 -0
- package/middleware.js +177 -0
- package/middleware2.js +177 -0
- package/misc.js +58 -0
- package/misc2.js +28 -0
- package/misc3.js +24 -0
- package/nl_NL.json.js +18 -0
- package/normalize.js +97 -0
- package/normalizePath.js +11 -0
- package/normalizeResponse.js +1 -1
- package/normalizeRows.js +10 -0
- package/notify.js +52 -0
- package/null.js +4 -0
- package/object.js +110 -0
- package/object2.js +39 -0
- package/object3.js +17 -0
- package/opacityPercentageFromHex.js +9 -0
- package/openLink.js +27 -0
- package/package.json +1 -1
- package/packageVersion.js +4 -0
- package/parse.js +9 -0
- package/parse2.js +44 -0
- package/parseHeaders.js +30 -0
- package/parseProtocol.js +7 -0
- package/pl_PL.json.js +18 -0
- package/platform.js +42 -0
- package/prepareEvent.js +141 -0
- package/prepareEvent2.js +5 -0
- package/prepareEvent3.js +5 -0
- package/progressEventReducer.js +35 -0
- package/promisebuffer.js +44 -0
- package/propagationContext.js +11 -0
- package/pt_BR.json.js +18 -0
- package/ratelimit.js +37 -0
- package/react.js +19 -0
- package/react2.js +19 -0
- package/regexes.js +51 -0
- package/registries.js +41 -0
- package/resolveConfig.js +33 -0
- package/ru_RU.json.js +18 -0
- package/runAfterTransition.js +35 -0
- package/schemas.js +368 -0
- package/schemas2.js +691 -0
- package/scope.js +412 -0
- package/scope2.js +407 -0
- package/scope3.js +348 -0
- package/sdk-DhxX43BH.js +4813 -0
- package/sdkMetadata.js +15 -0
- package/serializeRequest.js +12 -0
- package/serializeResponse.js +14 -0
- package/session.js +57 -0
- package/session2.js +57 -0
- package/session3.js +16 -0
- package/settle.js +14 -0
- package/shadowdom.js +13 -0
- package/shadowdom2.js +13 -0
- package/spanOnScope.js +12 -0
- package/spanUtils.js +31 -0
- package/spanUtils2.js +31 -0
- package/speedometer.js +19 -0
- package/spread.js +8 -0
- package/stack-parsers.js +48 -0
- package/stackStrategy.js +98 -0
- package/stacktrace.js +49 -0
- package/state.js +106 -0
- package/store/useDatStore.d.ts +11 -8
- package/string.js +6 -0
- package/styled-components.browser.esm.js +530 -0
- package/styles.js +55 -0
- package/styles2.js +17 -0
- package/supports.js +6 -0
- package/syncpromise.js +121 -0
- package/syncpromise2.js +109 -0
- package/textSelection.js +33 -0
- package/textStyles.js +20 -0
- package/theme.js +238 -0
- package/themeContainers.js +20 -0
- package/themes3.js +26 -0
- package/throttle.js +15 -0
- package/time.js +24 -0
- package/time2.js +24 -0
- package/time3.js +24 -0
- package/toFormData.js +85 -0
- package/toPublicUrl.js +9 -0
- package/toURLEncodedForm.js +13 -0
- package/token.js +236 -0
- package/tokenExpirationHelper.js +48 -0
- package/tokenExpirationHelper2.js +4 -0
- package/tokensAndThemes.js +92 -0
- package/tr_TR.json.js +18 -0
- package/trackStream.js +63 -0
- package/transformData.js +13 -0
- package/transitional.js +8 -0
- package/trimMetapropertyValue.js +1 -1
- package/tslib.es6.js +18 -0
- package/typeof.js +11 -0
- package/urlHelper.js +15 -0
- package/urlHelper2.js +4 -0
- package/useAutoHeight.js +25 -0
- package/useDatStore.js +31 -27
- package/useEffectEvent.js +18 -0
- package/useFocus.js +30 -0
- package/useFocusRing.js +34 -0
- package/useFocusVisible.js +92 -0
- package/useFocusWithin.js +57 -0
- package/useFonts.js +118 -0
- package/useGlobalListeners.js +34 -0
- package/useGroupContext.js +10 -0
- package/useHover.js +79 -0
- package/useId.js +8 -0
- package/useId2.js +17 -0
- package/useKeyDown.js +14 -0
- package/useLayoutEffect.js +6 -0
- package/useOrderingStore.js +6 -6
- package/usePress.js +359 -0
- package/useRouterStore.js +6 -6
- package/useScrollHighlightedIntoView.js +24 -0
- package/useSearchStore.js +5 -5
- package/useSimilaritySearchStore.js +6 -6
- package/useSyncRef.js +12 -0
- package/useTranslate.js +13 -0
- package/useZIndex.js +9 -0
- package/userfeedback.js +28 -0
- package/util.js +265 -0
- package/utils/fixFontSpaceInUrl.d.ts +1 -0
- package/utils.js +26 -44
- package/utils2.js +43 -45
- package/utils3.js +50 -0
- package/utils4.js +12 -0
- package/utils5.js +71 -0
- package/utils6.js +222 -0
- package/utils7.js +9 -0
- package/utils8.js +70 -0
- package/validator.js +54 -0
- package/vanilla.js +14 -0
- package/vanilla2.js +14 -0
- package/version.js +4 -0
- package/version2.js +4 -0
- package/version3.js +4 -0
- package/versionContext.js +9 -0
- package/versions.js +8 -0
- package/worldwide.js +19 -0
- package/worldwide2.js +15 -0
- package/worldwide3.js +10 -0
- package/xhr.js +71 -0
- package/zh_CN.json.js +18 -0
- package/zh_TW.json.js +18 -0
package/utils6.js
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import D from "./bind.js";
|
|
2
|
+
const { toString: R } = Object.prototype, { getPrototypeOf: h } = Object, { iterator: y, toStringTag: x } = Symbol, w = /* @__PURE__ */ ((e) => (t) => {
|
|
3
|
+
const r = R.call(t);
|
|
4
|
+
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
5
|
+
})(/* @__PURE__ */ Object.create(null)), l = (e) => (e = e.toLowerCase(), (t) => w(t) === e), F = (e) => (t) => typeof t === e, { isArray: a } = Array, p = F("undefined");
|
|
6
|
+
function T(e) {
|
|
7
|
+
return e !== null && !p(e) && e.constructor !== null && !p(e.constructor) && i(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
8
|
+
}
|
|
9
|
+
const S = l("ArrayBuffer");
|
|
10
|
+
function M(e) {
|
|
11
|
+
let t;
|
|
12
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && S(e.buffer), t;
|
|
13
|
+
}
|
|
14
|
+
const N = F("string"), i = F("function"), B = F("number"), g = (e) => e !== null && typeof e == "object", k = (e) => e === !0 || e === !1, m = (e) => {
|
|
15
|
+
if (w(e) !== "object")
|
|
16
|
+
return !1;
|
|
17
|
+
const t = h(e);
|
|
18
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(x in e) && !(y in e);
|
|
19
|
+
}, I = l("Date"), U = l("File"), V = l("Blob"), _ = l("FileList"), q = (e) => g(e) && i(e.pipe), H = (e) => {
|
|
20
|
+
let t;
|
|
21
|
+
return e && (typeof FormData == "function" && e instanceof FormData || i(e.append) && ((t = w(e)) === "formdata" || // detect form-data instance
|
|
22
|
+
t === "object" && i(e.toString) && e.toString() === "[object FormData]"));
|
|
23
|
+
}, z = l("URLSearchParams"), [J, K, $, W] = ["ReadableStream", "Request", "Response", "Headers"].map(l), G = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
24
|
+
function d(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
25
|
+
if (e === null || typeof e > "u")
|
|
26
|
+
return;
|
|
27
|
+
let n, s;
|
|
28
|
+
if (typeof e != "object" && (e = [e]), a(e))
|
|
29
|
+
for (n = 0, s = e.length; n < s; n++)
|
|
30
|
+
t.call(null, e[n], n, e);
|
|
31
|
+
else {
|
|
32
|
+
const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), c = o.length;
|
|
33
|
+
let f;
|
|
34
|
+
for (n = 0; n < c; n++)
|
|
35
|
+
f = o[n], t.call(null, e[f], f, e);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function E(e, t) {
|
|
39
|
+
t = t.toLowerCase();
|
|
40
|
+
const r = Object.keys(e);
|
|
41
|
+
let n = r.length, s;
|
|
42
|
+
for (; n-- > 0; )
|
|
43
|
+
if (s = r[n], t === s.toLowerCase())
|
|
44
|
+
return s;
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !p(e) && e !== u;
|
|
48
|
+
function O() {
|
|
49
|
+
const { caseless: e } = L(this) && this || {}, t = {}, r = (n, s) => {
|
|
50
|
+
const o = e && E(t, s) || s;
|
|
51
|
+
m(t[o]) && m(n) ? t[o] = O(t[o], n) : m(n) ? t[o] = O({}, n) : a(n) ? t[o] = n.slice() : t[o] = n;
|
|
52
|
+
};
|
|
53
|
+
for (let n = 0, s = arguments.length; n < s; n++)
|
|
54
|
+
arguments[n] && d(arguments[n], r);
|
|
55
|
+
return t;
|
|
56
|
+
}
|
|
57
|
+
const Q = (e, t, r, { allOwnKeys: n } = {}) => (d(t, (s, o) => {
|
|
58
|
+
r && i(s) ? e[o] = D(s, r) : e[o] = s;
|
|
59
|
+
}, { allOwnKeys: n }), e), X = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Y = (e, t, r, n) => {
|
|
60
|
+
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
61
|
+
value: t.prototype
|
|
62
|
+
}), r && Object.assign(e.prototype, r);
|
|
63
|
+
}, Z = (e, t, r, n) => {
|
|
64
|
+
let s, o, c;
|
|
65
|
+
const f = {};
|
|
66
|
+
if (t = t || {}, e == null) return t;
|
|
67
|
+
do {
|
|
68
|
+
for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
|
|
69
|
+
c = s[o], (!n || n(c, e, t)) && !f[c] && (t[c] = e[c], f[c] = !0);
|
|
70
|
+
e = r !== !1 && h(e);
|
|
71
|
+
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
72
|
+
return t;
|
|
73
|
+
}, j = (e, t, r) => {
|
|
74
|
+
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
75
|
+
const n = e.indexOf(t, r);
|
|
76
|
+
return n !== -1 && n === r;
|
|
77
|
+
}, v = (e) => {
|
|
78
|
+
if (!e) return null;
|
|
79
|
+
if (a(e)) return e;
|
|
80
|
+
let t = e.length;
|
|
81
|
+
if (!B(t)) return null;
|
|
82
|
+
const r = new Array(t);
|
|
83
|
+
for (; t-- > 0; )
|
|
84
|
+
r[t] = e[t];
|
|
85
|
+
return r;
|
|
86
|
+
}, ee = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), te = (e, t) => {
|
|
87
|
+
const n = (e && e[y]).call(e);
|
|
88
|
+
let s;
|
|
89
|
+
for (; (s = n.next()) && !s.done; ) {
|
|
90
|
+
const o = s.value;
|
|
91
|
+
t.call(e, o[0], o[1]);
|
|
92
|
+
}
|
|
93
|
+
}, ne = (e, t) => {
|
|
94
|
+
let r;
|
|
95
|
+
const n = [];
|
|
96
|
+
for (; (r = e.exec(t)) !== null; )
|
|
97
|
+
n.push(r);
|
|
98
|
+
return n;
|
|
99
|
+
}, re = l("HTMLFormElement"), se = (e) => e.toLowerCase().replace(
|
|
100
|
+
/[-_\s]([a-z\d])(\w*)/g,
|
|
101
|
+
function(r, n, s) {
|
|
102
|
+
return n.toUpperCase() + s;
|
|
103
|
+
}
|
|
104
|
+
), b = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), oe = l("RegExp"), P = (e, t) => {
|
|
105
|
+
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
106
|
+
d(r, (s, o) => {
|
|
107
|
+
let c;
|
|
108
|
+
(c = t(s, o, e)) !== !1 && (n[o] = c || s);
|
|
109
|
+
}), Object.defineProperties(e, n);
|
|
110
|
+
}, ie = (e) => {
|
|
111
|
+
P(e, (t, r) => {
|
|
112
|
+
if (i(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
113
|
+
return !1;
|
|
114
|
+
const n = e[r];
|
|
115
|
+
if (i(n)) {
|
|
116
|
+
if (t.enumerable = !1, "writable" in t) {
|
|
117
|
+
t.writable = !1;
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
t.set || (t.set = () => {
|
|
121
|
+
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}, ce = (e, t) => {
|
|
126
|
+
const r = {}, n = (s) => {
|
|
127
|
+
s.forEach((o) => {
|
|
128
|
+
r[o] = !0;
|
|
129
|
+
});
|
|
130
|
+
};
|
|
131
|
+
return a(e) ? n(e) : n(String(e).split(t)), r;
|
|
132
|
+
}, le = () => {
|
|
133
|
+
}, fe = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
134
|
+
function ue(e) {
|
|
135
|
+
return !!(e && i(e.append) && e[x] === "FormData" && e[y]);
|
|
136
|
+
}
|
|
137
|
+
const ae = (e) => {
|
|
138
|
+
const t = new Array(10), r = (n, s) => {
|
|
139
|
+
if (g(n)) {
|
|
140
|
+
if (t.indexOf(n) >= 0)
|
|
141
|
+
return;
|
|
142
|
+
if (!("toJSON" in n)) {
|
|
143
|
+
t[s] = n;
|
|
144
|
+
const o = a(n) ? [] : {};
|
|
145
|
+
return d(n, (c, f) => {
|
|
146
|
+
const A = r(c, s + 1);
|
|
147
|
+
!p(A) && (o[f] = A);
|
|
148
|
+
}), t[s] = void 0, o;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return n;
|
|
152
|
+
};
|
|
153
|
+
return r(e, 0);
|
|
154
|
+
}, pe = l("AsyncFunction"), de = (e) => e && (g(e) || i(e)) && i(e.then) && i(e.catch), C = ((e, t) => e ? setImmediate : t ? ((r, n) => (u.addEventListener("message", ({ source: s, data: o }) => {
|
|
155
|
+
s === u && o === r && n.length && n.shift()();
|
|
156
|
+
}, !1), (s) => {
|
|
157
|
+
n.push(s), u.postMessage(r, "*");
|
|
158
|
+
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
|
|
159
|
+
typeof setImmediate == "function",
|
|
160
|
+
i(u.postMessage)
|
|
161
|
+
), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || C, ye = (e) => e != null && i(e[y]), Fe = {
|
|
162
|
+
isArray: a,
|
|
163
|
+
isArrayBuffer: S,
|
|
164
|
+
isBuffer: T,
|
|
165
|
+
isFormData: H,
|
|
166
|
+
isArrayBufferView: M,
|
|
167
|
+
isString: N,
|
|
168
|
+
isNumber: B,
|
|
169
|
+
isBoolean: k,
|
|
170
|
+
isObject: g,
|
|
171
|
+
isPlainObject: m,
|
|
172
|
+
isReadableStream: J,
|
|
173
|
+
isRequest: K,
|
|
174
|
+
isResponse: $,
|
|
175
|
+
isHeaders: W,
|
|
176
|
+
isUndefined: p,
|
|
177
|
+
isDate: I,
|
|
178
|
+
isFile: U,
|
|
179
|
+
isBlob: V,
|
|
180
|
+
isRegExp: oe,
|
|
181
|
+
isFunction: i,
|
|
182
|
+
isStream: q,
|
|
183
|
+
isURLSearchParams: z,
|
|
184
|
+
isTypedArray: ee,
|
|
185
|
+
isFileList: _,
|
|
186
|
+
forEach: d,
|
|
187
|
+
merge: O,
|
|
188
|
+
extend: Q,
|
|
189
|
+
trim: G,
|
|
190
|
+
stripBOM: X,
|
|
191
|
+
inherits: Y,
|
|
192
|
+
toFlatObject: Z,
|
|
193
|
+
kindOf: w,
|
|
194
|
+
kindOfTest: l,
|
|
195
|
+
endsWith: j,
|
|
196
|
+
toArray: v,
|
|
197
|
+
forEachEntry: te,
|
|
198
|
+
matchAll: ne,
|
|
199
|
+
isHTMLForm: re,
|
|
200
|
+
hasOwnProperty: b,
|
|
201
|
+
hasOwnProp: b,
|
|
202
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
|
203
|
+
reduceDescriptors: P,
|
|
204
|
+
freezeMethods: ie,
|
|
205
|
+
toObjectSet: ce,
|
|
206
|
+
toCamelCase: se,
|
|
207
|
+
noop: le,
|
|
208
|
+
toFiniteNumber: fe,
|
|
209
|
+
findKey: E,
|
|
210
|
+
global: u,
|
|
211
|
+
isContextDefined: L,
|
|
212
|
+
isSpecCompliantForm: ue,
|
|
213
|
+
toJSONObject: ae,
|
|
214
|
+
isAsyncFn: pe,
|
|
215
|
+
isThenable: de,
|
|
216
|
+
setImmediate: C,
|
|
217
|
+
asap: me,
|
|
218
|
+
isIterable: ye
|
|
219
|
+
};
|
|
220
|
+
export {
|
|
221
|
+
Fe as default
|
|
222
|
+
};
|
package/utils7.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
|
|
3
|
+
export {
|
|
4
|
+
e as hasBrowserEnv,
|
|
5
|
+
n as hasStandardBrowserEnv,
|
|
6
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
+
o as navigator,
|
|
8
|
+
r as origin
|
|
9
|
+
};
|
package/utils8.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { produce as e } from "./immer.js";
|
|
2
|
+
import { API as a } from "./api2.js";
|
|
3
|
+
function F(i, t) {
|
|
4
|
+
return e(i, (n) => {
|
|
5
|
+
const o = n.findIndex((f) => f.id === t?.id);
|
|
6
|
+
o !== -1 && n.splice(o, 1), n.unshift(t);
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function c(i, t = !1) {
|
|
10
|
+
return t ? i.map((n) => ({
|
|
11
|
+
...n,
|
|
12
|
+
subfamilies: n.subfamilies.filter((o) => !o.is_italic)
|
|
13
|
+
})) : i;
|
|
14
|
+
}
|
|
15
|
+
function r(i, t) {
|
|
16
|
+
return i.subfamilies.find(
|
|
17
|
+
(o) => o.weight === t
|
|
18
|
+
) || i.subfamilies[0];
|
|
19
|
+
}
|
|
20
|
+
async function u(i, t = "400") {
|
|
21
|
+
const n = await s(), o = i || n.family.id;
|
|
22
|
+
if (!o)
|
|
23
|
+
throw new Error(`Fonts: Family not found for (default) id: ${o}`);
|
|
24
|
+
const f = await a.getFontFamilyById(o);
|
|
25
|
+
if (!f)
|
|
26
|
+
throw new Error(`Fonts: Family not found for id: ${o}`);
|
|
27
|
+
const l = r(f, t);
|
|
28
|
+
if (!l)
|
|
29
|
+
throw new Error(`Fonts: Subfamily not found for weight: ${t}`);
|
|
30
|
+
return {
|
|
31
|
+
family: f,
|
|
32
|
+
subfamily: l
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
async function m(i) {
|
|
36
|
+
const t = await a.getSubfamilyById(i);
|
|
37
|
+
if (!t)
|
|
38
|
+
throw new Error(`Fonts: Subfamily not found for id: ${i}`);
|
|
39
|
+
const n = await a.getFontFamilyById(t.font_id);
|
|
40
|
+
if (!n)
|
|
41
|
+
throw new Error(`Fonts: Family not found for id: ${t.font_id}`);
|
|
42
|
+
return {
|
|
43
|
+
family: n,
|
|
44
|
+
subfamily: t
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
async function s() {
|
|
48
|
+
const i = await a.getDefaultGlobalFont();
|
|
49
|
+
if (!i)
|
|
50
|
+
throw new Error("FontManager v2: (Default) Global Font Family not found");
|
|
51
|
+
const t = i.family.subfamilies.find(
|
|
52
|
+
(n) => n.id === i.default_subfamily_id
|
|
53
|
+
);
|
|
54
|
+
if (!t)
|
|
55
|
+
throw new Error("FontManager v2: (Default) Global Font Subfamily not found");
|
|
56
|
+
return {
|
|
57
|
+
family: i.family,
|
|
58
|
+
subfamily: t
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
async function w(i, t) {
|
|
62
|
+
let n;
|
|
63
|
+
return t ? n = await m(t) : n = await u(i), n;
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
c as filterFamilies,
|
|
67
|
+
s as getDefaultFont,
|
|
68
|
+
w as getFamilyAndSubfamily,
|
|
69
|
+
F as moveSelectedFamilyToTop
|
|
70
|
+
};
|
package/validator.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { VERSION as w } from "./data.js";
|
|
2
|
+
import s from "./AxiosError.js";
|
|
3
|
+
const l = {};
|
|
4
|
+
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
|
|
5
|
+
l[n] = function(o) {
|
|
6
|
+
return typeof o === n || "a" + (t < 1 ? "n " : " ") + n;
|
|
7
|
+
};
|
|
8
|
+
});
|
|
9
|
+
const f = {};
|
|
10
|
+
l.transitional = function(t, i, o) {
|
|
11
|
+
function a(r, e) {
|
|
12
|
+
return "[Axios v" + w + "] Transitional option '" + r + "'" + e + (o ? ". " + o : "");
|
|
13
|
+
}
|
|
14
|
+
return (r, e, u) => {
|
|
15
|
+
if (t === !1)
|
|
16
|
+
throw new s(
|
|
17
|
+
a(e, " has been removed" + (i ? " in " + i : "")),
|
|
18
|
+
s.ERR_DEPRECATED
|
|
19
|
+
);
|
|
20
|
+
return i && !f[e] && (f[e] = !0, console.warn(
|
|
21
|
+
a(
|
|
22
|
+
e,
|
|
23
|
+
" has been deprecated since v" + i + " and will be removed in the near future"
|
|
24
|
+
)
|
|
25
|
+
)), t ? t(r, e, u) : !0;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
l.spelling = function(t) {
|
|
29
|
+
return (i, o) => (console.warn(`${o} is likely a misspelling of ${t}`), !0);
|
|
30
|
+
};
|
|
31
|
+
function b(n, t, i) {
|
|
32
|
+
if (typeof n != "object")
|
|
33
|
+
throw new s("options must be an object", s.ERR_BAD_OPTION_VALUE);
|
|
34
|
+
const o = Object.keys(n);
|
|
35
|
+
let a = o.length;
|
|
36
|
+
for (; a-- > 0; ) {
|
|
37
|
+
const r = o[a], e = t[r];
|
|
38
|
+
if (e) {
|
|
39
|
+
const u = n[r], c = u === void 0 || e(u, r, n);
|
|
40
|
+
if (c !== !0)
|
|
41
|
+
throw new s("option " + r + " must be " + c, s.ERR_BAD_OPTION_VALUE);
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
if (i !== !0)
|
|
45
|
+
throw new s("Unknown option " + r, s.ERR_BAD_OPTION);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const m = {
|
|
49
|
+
assertOptions: b,
|
|
50
|
+
validators: l
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
m as default
|
|
54
|
+
};
|
package/vanilla.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const S = (s) => {
|
|
2
|
+
let t;
|
|
3
|
+
const o = /* @__PURE__ */ new Set(), c = (e, r) => {
|
|
4
|
+
const n = typeof e == "function" ? e(t) : e;
|
|
5
|
+
if (!Object.is(n, t)) {
|
|
6
|
+
const b = t;
|
|
7
|
+
t = r ?? (typeof n != "object" || n === null) ? n : Object.assign({}, t, n), o.forEach((l) => l(t, b));
|
|
8
|
+
}
|
|
9
|
+
}, i = () => t, a = { setState: c, getState: i, getInitialState: () => u, subscribe: (e) => (o.add(e), () => o.delete(e)) }, u = t = s(c, i, a);
|
|
10
|
+
return a;
|
|
11
|
+
}, d = (s) => s ? S(s) : S;
|
|
12
|
+
export {
|
|
13
|
+
d as createStore
|
|
14
|
+
};
|
package/vanilla2.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const S = (s) => {
|
|
2
|
+
let t;
|
|
3
|
+
const o = /* @__PURE__ */ new Set(), c = (e, r) => {
|
|
4
|
+
const n = typeof e == "function" ? e(t) : e;
|
|
5
|
+
if (!Object.is(n, t)) {
|
|
6
|
+
const b = t;
|
|
7
|
+
t = r ?? (typeof n != "object" || n === null) ? n : Object.assign({}, t, n), o.forEach((l) => l(t, b));
|
|
8
|
+
}
|
|
9
|
+
}, i = () => t, a = { setState: c, getState: i, getInitialState: () => u, subscribe: (e) => (o.add(e), () => o.delete(e)) }, u = t = s(c, i, a);
|
|
10
|
+
return a;
|
|
11
|
+
}, d = ((s) => s ? S(s) : S);
|
|
12
|
+
export {
|
|
13
|
+
d as createStore
|
|
14
|
+
};
|
package/version.js
ADDED
package/version2.js
ADDED
package/version3.js
ADDED
package/versions.js
ADDED
package/worldwide.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function o(t) {
|
|
2
|
+
return t && t.Math == Math ? t : void 0;
|
|
3
|
+
}
|
|
4
|
+
const l = typeof globalThis == "object" && o(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
5
|
+
typeof window == "object" && o(window) || typeof self == "object" && o(self) || typeof global == "object" && o(global) || /* @__PURE__ */ (function() {
|
|
6
|
+
return this;
|
|
7
|
+
})() || {};
|
|
8
|
+
function b() {
|
|
9
|
+
return l;
|
|
10
|
+
}
|
|
11
|
+
function s(t, i, c) {
|
|
12
|
+
const n = c || l, e = n.__SENTRY__ = n.__SENTRY__ || {};
|
|
13
|
+
return e[t] || (e[t] = i());
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
l as GLOBAL_OBJ,
|
|
17
|
+
b as getGlobalObject,
|
|
18
|
+
s as getGlobalSingleton
|
|
19
|
+
};
|
package/worldwide2.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function o(t) {
|
|
2
|
+
return t && t.Math == Math ? t : void 0;
|
|
3
|
+
}
|
|
4
|
+
const _ = typeof globalThis == "object" && o(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
5
|
+
typeof window == "object" && o(window) || typeof self == "object" && o(self) || typeof global == "object" && o(global) || /* @__PURE__ */ (function() {
|
|
6
|
+
return this;
|
|
7
|
+
})() || {};
|
|
8
|
+
function c(t, l, i) {
|
|
9
|
+
const n = i || _, e = n.__SENTRY__ = n.__SENTRY__ || {};
|
|
10
|
+
return e[t] || (e[t] = l());
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
_ as GLOBAL_OBJ,
|
|
14
|
+
c as getGlobalSingleton
|
|
15
|
+
};
|
package/worldwide3.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SDK_VERSION as r } from "./version3.js";
|
|
2
|
+
const i = globalThis;
|
|
3
|
+
function S(_, e, l) {
|
|
4
|
+
const o = i, t = o.__SENTRY__ = o.__SENTRY__ || {}, n = t[r] = t[r] || {};
|
|
5
|
+
return n[_] || (n[_] = e());
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
i as GLOBAL_OBJ,
|
|
9
|
+
S as getGlobalSingleton
|
|
10
|
+
};
|
package/xhr.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import b from "./utils6.js";
|
|
2
|
+
import D from "./settle.js";
|
|
3
|
+
import L from "./transitional.js";
|
|
4
|
+
import r from "./AxiosError.js";
|
|
5
|
+
import v from "./CanceledError.js";
|
|
6
|
+
import y from "./parseProtocol.js";
|
|
7
|
+
import O from "./index18.js";
|
|
8
|
+
import H from "./AxiosHeaders.js";
|
|
9
|
+
import { progressEventReducer as q } from "./progressEventReducer.js";
|
|
10
|
+
import U from "./resolveConfig.js";
|
|
11
|
+
const N = typeof XMLHttpRequest < "u", Q = N && function(n) {
|
|
12
|
+
return new Promise(function(A, s) {
|
|
13
|
+
const t = U(n);
|
|
14
|
+
let c = t.data;
|
|
15
|
+
const E = H.from(t.headers).normalize();
|
|
16
|
+
let { responseType: i, onUploadProgress: T, onDownloadProgress: R } = t, a, h, w, u, p;
|
|
17
|
+
function g() {
|
|
18
|
+
u && u(), p && p(), t.cancelToken && t.cancelToken.unsubscribe(a), t.signal && t.signal.removeEventListener("abort", a);
|
|
19
|
+
}
|
|
20
|
+
let e = new XMLHttpRequest();
|
|
21
|
+
e.open(t.method.toUpperCase(), t.url, !0), e.timeout = t.timeout;
|
|
22
|
+
function x() {
|
|
23
|
+
if (!e)
|
|
24
|
+
return;
|
|
25
|
+
const o = H.from(
|
|
26
|
+
"getAllResponseHeaders" in e && e.getAllResponseHeaders()
|
|
27
|
+
), d = {
|
|
28
|
+
data: !i || i === "text" || i === "json" ? e.responseText : e.response,
|
|
29
|
+
status: e.status,
|
|
30
|
+
statusText: e.statusText,
|
|
31
|
+
headers: o,
|
|
32
|
+
config: n,
|
|
33
|
+
request: e
|
|
34
|
+
};
|
|
35
|
+
D(function(m) {
|
|
36
|
+
A(m), g();
|
|
37
|
+
}, function(m) {
|
|
38
|
+
s(m), g();
|
|
39
|
+
}, d), e = null;
|
|
40
|
+
}
|
|
41
|
+
"onloadend" in e ? e.onloadend = x : e.onreadystatechange = function() {
|
|
42
|
+
!e || e.readyState !== 4 || e.status === 0 && !(e.responseURL && e.responseURL.indexOf("file:") === 0) || setTimeout(x);
|
|
43
|
+
}, e.onabort = function() {
|
|
44
|
+
e && (s(new r("Request aborted", r.ECONNABORTED, n, e)), e = null);
|
|
45
|
+
}, e.onerror = function() {
|
|
46
|
+
s(new r("Network Error", r.ERR_NETWORK, n, e)), e = null;
|
|
47
|
+
}, e.ontimeout = function() {
|
|
48
|
+
let l = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
49
|
+
const d = t.transitional || L;
|
|
50
|
+
t.timeoutErrorMessage && (l = t.timeoutErrorMessage), s(new r(
|
|
51
|
+
l,
|
|
52
|
+
d.clarifyTimeoutError ? r.ETIMEDOUT : r.ECONNABORTED,
|
|
53
|
+
n,
|
|
54
|
+
e
|
|
55
|
+
)), e = null;
|
|
56
|
+
}, c === void 0 && E.setContentType(null), "setRequestHeader" in e && b.forEach(E.toJSON(), function(l, d) {
|
|
57
|
+
e.setRequestHeader(d, l);
|
|
58
|
+
}), b.isUndefined(t.withCredentials) || (e.withCredentials = !!t.withCredentials), i && i !== "json" && (e.responseType = t.responseType), R && ([w, p] = q(R, !0), e.addEventListener("progress", w)), T && e.upload && ([h, u] = q(T), e.upload.addEventListener("progress", h), e.upload.addEventListener("loadend", u)), (t.cancelToken || t.signal) && (a = (o) => {
|
|
59
|
+
e && (s(!o || o.type ? new v(null, n, e) : o), e.abort(), e = null);
|
|
60
|
+
}, t.cancelToken && t.cancelToken.subscribe(a), t.signal && (t.signal.aborted ? a() : t.signal.addEventListener("abort", a)));
|
|
61
|
+
const f = y(t.url);
|
|
62
|
+
if (f && O.protocols.indexOf(f) === -1) {
|
|
63
|
+
s(new r("Unsupported protocol " + f + ":", r.ERR_BAD_REQUEST, n));
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
e.send(c || null);
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
Q as default
|
|
71
|
+
};
|
package/zh_CN.json.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"colorpicker.opacity-input": "不透明度",
|
|
3
|
+
"datepicker.clear-date": "清除日期",
|
|
4
|
+
"datepicker.next-month": "下个月",
|
|
5
|
+
"datepicker.open-calendar": "打开日历",
|
|
6
|
+
"datepicker.previous-month": "前一个月",
|
|
7
|
+
"input.clear": "清除输入",
|
|
8
|
+
"input.hide-password": "隐藏密码",
|
|
9
|
+
"input.show-password": "显示密码",
|
|
10
|
+
"modal.close": "关闭",
|
|
11
|
+
"multiselectchips.add-value": "添加“ {value} ”",
|
|
12
|
+
"multiselectchips.remove-all": "全部移除",
|
|
13
|
+
"pagination.next-page": "下一页",
|
|
14
|
+
"pagination.previous-page": "前一页"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
e as default
|
|
18
|
+
};
|
package/zh_TW.json.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"colorpicker.opacity-input": "不透明度",
|
|
3
|
+
"datepicker.clear-date": "清除日期",
|
|
4
|
+
"datepicker.next-month": "下個月",
|
|
5
|
+
"datepicker.open-calendar": "打開日曆",
|
|
6
|
+
"datepicker.previous-month": "前一個月",
|
|
7
|
+
"input.clear": "清除輸入",
|
|
8
|
+
"input.hide-password": "隱藏密碼",
|
|
9
|
+
"input.show-password": "顯示密碼",
|
|
10
|
+
"modal.close": "關閉",
|
|
11
|
+
"multiselectchips.add-value": "添加“ {value} ”",
|
|
12
|
+
"multiselectchips.remove-all": "全部移除",
|
|
13
|
+
"pagination.next-page": "下一頁",
|
|
14
|
+
"pagination.previous-page": "前一頁"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
e as default
|
|
18
|
+
};
|