@bynder/compact-view 5.2.0 → 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 -6
- package/ActiveFilters.js +24 -25
- package/AddMedia.js +21 -22
- package/AdditionalInfo.js +18 -0
- package/Advanced.js +3 -4
- package/App.js +68 -61
- package/Arrow.js +14 -0
- package/AssetCard.js +68 -57
- package/AssetCardMetaproperties.js +14 -14
- package/AssetFilter.js +36 -36
- package/AssetFilterContext.js +3 -4
- package/AssetItem.js +14 -14
- package/AssetList.js +46 -46
- package/AssetTypeItem.js +13 -13
- package/AssetsView.js +0 -1
- package/Autocomplete_new.js +70 -82
- 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 -4
- 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 -15
- package/Checkbox.js +85 -0
- package/Checkbox.styles.js +2 -3
- package/Checkmark.js +7 -0
- package/Chip.js +70 -41
- package/Chip2.js +42 -0
- package/CollectionCard.js +9 -9
- package/CollectionItem.js +15 -15
- package/CollectionList.js +2 -3
- package/CollectionView.js +2 -3
- package/CollectionsView.js +6 -7
- 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/ConfigContext.js +0 -1
- package/ConnectButton.js +1 -2
- package/Container.js +14 -14
- package/Container2.js +31 -0
- package/Content.js +16 -0
- package/ContextAction.js +26 -18
- package/ContextActionButton.js +29 -0
- package/ControlGroup.js +32 -0
- package/DOMFunctions.js +27 -0
- package/Dat.js +62 -51
- package/DatDropdownItem.js +20 -20
- package/DesignSystemContext.js +4 -5
- package/DesignSystemProvider.js +29 -0
- package/DirectionSelect.js +16 -16
- package/Divider.js +21 -0
- package/DocumentIcon.js +0 -1
- package/DomainInput.js +15 -15
- package/DragRange.js +25 -0
- package/DragSelect.js +68 -63
- package/Dropdown.js +12 -12
- package/Dropdown2.js +169 -0
- package/DropdownContent.js +54 -39
- package/DropdownListItem.js +3 -4
- package/Enum.js +12 -0
- package/ErrorIcon.js +0 -1
- package/ErrorMessage.js +20 -20
- package/FieldSelect.js +4 -5
- package/FilePlaceholder.js +19 -0
- package/FileSelector.js +126 -141
- 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/Header.js +0 -1
- package/Header2.js +43 -0
- package/Header22.js +15 -0
- package/HelperText.js +26 -0
- package/HorizontalScroll.js +4 -5
- 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 -9
- 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 -4
- package/List.js +25 -0
- package/ListItem.js +11 -0
- package/ListItem2.js +58 -0
- package/ListItem4.js +37 -0
- package/LoginComponent.js +0 -1
- package/LoginContext.js +0 -1
- package/MetapropertyFilterContent.js +2 -3
- package/MetapropertyOption.js +2 -4
- package/Middleware.js +49 -0
- package/Middleware2.js +49 -0
- package/Modal.js +2 -3
- 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 -16
- package/OffsetContext.js +9 -0
- package/Oops.js +1 -2
- package/OpacityInput.js +17 -0
- package/Option_new.js +19 -19
- 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 -4
- package/ReportModal.js +16 -15
- package/RequestHandler.js +119 -0
- package/RightArrow.js +4 -5
- package/RootElementContext.js +0 -1
- package/Row.js +16 -0
- package/SearchInput.js +27 -23
- package/SearchInput2.js +46 -0
- package/SectionTitle.js +17 -0
- package/Select.js +49 -0
- package/SelectButtonText.js +16 -0
- package/SelectedItemContainer.js +11 -11
- package/SelectedItems.js +2 -3
- package/SelectionContext.js +0 -1
- package/SelectionFooter.js +8 -8
- package/Serializer.js +27 -0
- package/ShadowRoot.js +0 -1
- package/ShadowRootInternal.js +17 -18
- package/Shield.js +0 -1
- package/Sidebar.js +17 -0
- package/Skeleton.js +6 -7
- package/Slider.constants.js +6 -0
- package/Slider.js +128 -0
- package/SmartFilterContent.js +2 -3
- package/SmartFilterSelect_new.js +2 -3
- package/Smartfilters_new.js +86 -77
- package/Spinner.js +2 -3
- package/Spinner2.js +15 -0
- package/StatefulAssetList.js +15 -16
- package/Stats.js +16 -0
- package/StatsItem.js +23 -0
- package/Status.js +32 -0
- package/StoreInitializer.js +29 -0
- package/Styles.css.js +0 -1
- package/Switch.js +82 -0
- package/SwitchNLS.js +26 -24
- package/Tabs2.js +10 -0
- package/TagItem.js +8 -9
- package/Tags.js +9 -10
- package/Text2.js +11 -0
- package/Text22.js +18 -0
- package/Text4.js +18 -0
- package/Textarea.js +92 -0
- package/Theming.js +4 -5
- package/Thumb.js +28 -0
- package/Thumbnail.js +91 -0
- package/Tokenizer.js +147 -0
- package/Toolbar.js +13 -13
- package/Tooltip.js +2 -3
- package/Tooltip2.js +111 -0
- package/TruncatedText.js +34 -0
- package/URLSearchParams.js +5 -0
- package/Utility.js +56 -0
- package/ViewSwitch.js +8 -8
- 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/types/getFilters_new.d.ts +8 -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 -10
- package/asyncDebounce.js +0 -1
- package/auth.js +0 -1
- package/autocomplete.js +2 -3
- package/axios.js +46 -0
- package/base.js +57 -0
- package/base64Converter.js +0 -1
- 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/chunk.js +0 -1
- package/class.js +0 -1
- 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/combineFilters.js +0 -1
- package/combineMetaproperties.js +1 -2
- package/combineURLs.js +6 -0
- package/composeSignals.js +30 -0
- package/constants.js +2 -13
- 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/createSelectors.js +0 -1
- package/crypto.js +0 -1
- 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/filter/filters/smartfilters/Metaproperties/Autocomplete_new.d.ts +1 -1
- package/filter/filters/smartfilters/Metaproperties/Option_new.d.ts +3 -3
- package/filterAssets.js +1 -2
- 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 -2
- package/getAssetCounts.js +1 -2
- package/getAssets.js +2 -3
- package/getCallFrame.js +12 -0
- package/getCollections.js +1 -2
- package/getFilterOptions.js +1 -2
- package/getFilters.js +1 -2
- package/getFilters_new.js +1 -2
- package/getLimitedUseThumbnails.js +0 -1
- package/getRequestCookies.js +40 -0
- package/getRootSpan.js +6 -0
- package/getRootSpan2.js +6 -0
- package/getSimilarityAssets.js +1 -2
- 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 -7
- package/handlers2.js +6 -0
- package/helpers.js +3 -5
- 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.js +0 -1
- 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/index2.js +0 -1
- 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 -54
- 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 -18
- 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/logger.js +0 -1
- package/logger2.js +56 -0
- package/logger3.js +56 -0
- package/logger4.js +56 -0
- package/loginwindow.js +0 -1
- 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 -2
- package/normalizeRows.js +10 -0
- package/notify.js +52 -0
- package/null.js +4 -0
- package/oauth2.js +0 -1
- 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/result.type.js +0 -1
- 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/StoreInitializer.d.ts +8 -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/text.js +0 -1
- 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 -2
- package/tslib.es6.js +18 -0
- package/typeof.js +11 -0
- package/url.js +0 -1
- package/urlHelper.js +15 -0
- package/urlHelper2.js +4 -0
- package/useAccountDomain.js +0 -1
- package/useAuthInformation.js +0 -1
- package/useAutoHeight.js +25 -0
- package/useClickOutside.js +0 -1
- package/useDatStore.js +31 -28
- package/useDimensions.js +0 -1
- 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 -7
- package/usePress.js +359 -0
- package/useRouterStore.js +6 -7
- package/useScrollHighlightedIntoView.js +24 -0
- package/useSearchStore.js +5 -6
- package/useSimilaritySearchStore.js +6 -7
- 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 -45
- package/utils2.js +43 -46
- 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/views/asset/asset-card/AssetCard.d.ts +4 -2
- package/views/asset/asset-card/ContextAction.d.ts +3 -1
- 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/ActiveFilter.js.map +0 -1
- package/ActiveFilters.js.map +0 -1
- package/AddMedia.js.map +0 -1
- package/Advanced.js.map +0 -1
- package/App.js.map +0 -1
- package/AssetCard.js.map +0 -1
- package/AssetCardMetaproperties.js.map +0 -1
- package/AssetFilter.js.map +0 -1
- package/AssetFilterContext.js.map +0 -1
- package/AssetItem.js.map +0 -1
- package/AssetList.js.map +0 -1
- package/AssetTypeItem.js.map +0 -1
- package/AssetsView.js.map +0 -1
- package/Autocomplete_new.js.map +0 -1
- package/ButtonAction.js.map +0 -1
- package/CardSkeleton.js.map +0 -1
- package/Checkbox.styles.js.map +0 -1
- package/Chip.js.map +0 -1
- package/CollectionCard.js.map +0 -1
- package/CollectionItem.js.map +0 -1
- package/CollectionList.js.map +0 -1
- package/CollectionView.js.map +0 -1
- package/CollectionsView.js.map +0 -1
- package/ConfigContext.js.map +0 -1
- package/ConnectButton.js.map +0 -1
- package/Container.js.map +0 -1
- package/ContextAction.js.map +0 -1
- package/Dat.js.map +0 -1
- package/DatDropdownItem.js.map +0 -1
- package/DesignSystemContext.js.map +0 -1
- package/DirectionSelect.js.map +0 -1
- package/DocumentIcon.js.map +0 -1
- package/DomainInput.js.map +0 -1
- package/DragSelect.js.map +0 -1
- package/Dropdown.js.map +0 -1
- package/DropdownContent.js.map +0 -1
- package/DropdownListItem.js.map +0 -1
- package/ErrorIcon.js.map +0 -1
- package/ErrorMessage.js.map +0 -1
- package/FieldSelect.js.map +0 -1
- package/FileSelector.js.map +0 -1
- package/Header.js.map +0 -1
- package/HorizontalScroll.js.map +0 -1
- package/InfiniteScroll.js.map +0 -1
- package/LeftArrow.js.map +0 -1
- package/LoginComponent.js.map +0 -1
- package/LoginContext.js.map +0 -1
- package/MetapropertyFilterContent.js.map +0 -1
- package/MetapropertyOption.js.map +0 -1
- package/Modal.js.map +0 -1
- package/NoResults.js.map +0 -1
- package/Oops.js.map +0 -1
- package/Option_new.js.map +0 -1
- package/RefreshingSpinner.js.map +0 -1
- package/ReportModal.js.map +0 -1
- package/RightArrow.js.map +0 -1
- package/RootElementContext.js.map +0 -1
- package/SearchInput.js.map +0 -1
- package/SelectedItemContainer.js.map +0 -1
- package/SelectedItems.js.map +0 -1
- package/SelectionContext.js.map +0 -1
- package/SelectionFooter.js.map +0 -1
- package/ShadowRoot.js.map +0 -1
- package/ShadowRootInternal.js.map +0 -1
- package/Shield.js.map +0 -1
- package/Skeleton.js.map +0 -1
- package/SmartFilterContent.js.map +0 -1
- package/SmartFilterSelect_new.js.map +0 -1
- package/Smartfilters_new.js.map +0 -1
- package/Spinner.js.map +0 -1
- package/StatefulAssetList.js.map +0 -1
- package/Styles.css.js.map +0 -1
- package/SwitchNLS.js.map +0 -1
- package/TagItem.js.map +0 -1
- package/Tags.js.map +0 -1
- package/Theming.js.map +0 -1
- package/Toolbar.js.map +0 -1
- package/Tooltip.js.map +0 -1
- package/ViewSwitch.js.map +0 -1
- package/asset.type.js.map +0 -1
- package/asyncDebounce.js.map +0 -1
- package/auth.js.map +0 -1
- package/autocomplete.js.map +0 -1
- package/base64Converter.js.map +0 -1
- package/chunk.js.map +0 -1
- package/class.js.map +0 -1
- package/combineFilters.js.map +0 -1
- package/combineMetaproperties.js.map +0 -1
- package/constants.js.map +0 -1
- package/createSelectors.js.map +0 -1
- package/crypto.js.map +0 -1
- package/filterAssets.js.map +0 -1
- package/getAsset.js.map +0 -1
- package/getAssetCounts.js.map +0 -1
- package/getAssets.js.map +0 -1
- package/getCollections.js.map +0 -1
- package/getFilterOptions.js.map +0 -1
- package/getFilters.js.map +0 -1
- package/getFilters_new.js.map +0 -1
- package/getLimitedUseThumbnails.js.map +0 -1
- package/getSimilarityAssets.js.map +0 -1
- package/handlers.js.map +0 -1
- package/helpers.js.map +0 -1
- package/index.js.map +0 -1
- package/index2.js.map +0 -1
- package/index3.js.map +0 -1
- package/index4.js.map +0 -1
- package/logger.js.map +0 -1
- package/loginwindow.js.map +0 -1
- package/normalizeResponse.js.map +0 -1
- package/oauth2.js.map +0 -1
- package/result.type.js.map +0 -1
- package/router/RouterContext.d.ts +0 -19
- package/text.js.map +0 -1
- package/trimMetapropertyValue.js.map +0 -1
- package/url.js.map +0 -1
- package/useAccountDomain.js.map +0 -1
- package/useAuthInformation.js.map +0 -1
- package/useClickOutside.js.map +0 -1
- package/useDatStore.js.map +0 -1
- package/useDimensions.js.map +0 -1
- package/useOrderingStore.js.map +0 -1
- package/useRouterStore.js.map +0 -1
- package/useSearchStore.js.map +0 -1
- package/useSimilaritySearchStore.js.map +0 -1
- package/utils.js.map +0 -1
- package/utils2.js.map +0 -1
package/api3.js
ADDED
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import { $ZodCheckOverwrite as i, $ZodCheckRegex as c, $ZodCheckIncludes as a, $ZodCheckStartsWith as f, $ZodCheckEndsWith as u, $ZodCheckMinLength as s, $ZodCheckMaxLength as m, $ZodCheckLengthEquals as _, $ZodCheckLowerCase as g, $ZodCheckUpperCase as h } from "./checks.js";
|
|
2
|
+
import { normalizeParams as n } from "./util.js";
|
|
3
|
+
function p(t, r) {
|
|
4
|
+
return new t({
|
|
5
|
+
type: "string",
|
|
6
|
+
...n(r)
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function d(t, r) {
|
|
10
|
+
return new t({
|
|
11
|
+
type: "string",
|
|
12
|
+
format: "email",
|
|
13
|
+
check: "string_format",
|
|
14
|
+
abort: !1,
|
|
15
|
+
...n(r)
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function y(t, r) {
|
|
19
|
+
return new t({
|
|
20
|
+
type: "string",
|
|
21
|
+
format: "guid",
|
|
22
|
+
check: "string_format",
|
|
23
|
+
abort: !1,
|
|
24
|
+
...n(r)
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function b(t, r) {
|
|
28
|
+
return new t({
|
|
29
|
+
type: "string",
|
|
30
|
+
format: "uuid",
|
|
31
|
+
check: "string_format",
|
|
32
|
+
abort: !1,
|
|
33
|
+
...n(r)
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function v(t, r) {
|
|
37
|
+
return new t({
|
|
38
|
+
type: "string",
|
|
39
|
+
format: "uuid",
|
|
40
|
+
check: "string_format",
|
|
41
|
+
abort: !1,
|
|
42
|
+
version: "v4",
|
|
43
|
+
...n(r)
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function C(t, r) {
|
|
47
|
+
return new t({
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "uuid",
|
|
50
|
+
check: "string_format",
|
|
51
|
+
abort: !1,
|
|
52
|
+
version: "v6",
|
|
53
|
+
...n(r)
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function Z(t, r) {
|
|
57
|
+
return new t({
|
|
58
|
+
type: "string",
|
|
59
|
+
format: "uuid",
|
|
60
|
+
check: "string_format",
|
|
61
|
+
abort: !1,
|
|
62
|
+
version: "v7",
|
|
63
|
+
...n(r)
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function $(t, r) {
|
|
67
|
+
return new t({
|
|
68
|
+
type: "string",
|
|
69
|
+
format: "url",
|
|
70
|
+
check: "string_format",
|
|
71
|
+
abort: !1,
|
|
72
|
+
...n(r)
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function x(t, r) {
|
|
76
|
+
return new t({
|
|
77
|
+
type: "string",
|
|
78
|
+
format: "emoji",
|
|
79
|
+
check: "string_format",
|
|
80
|
+
abort: !1,
|
|
81
|
+
...n(r)
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function L(t, r) {
|
|
85
|
+
return new t({
|
|
86
|
+
type: "string",
|
|
87
|
+
format: "nanoid",
|
|
88
|
+
check: "string_format",
|
|
89
|
+
abort: !1,
|
|
90
|
+
...n(r)
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function j(t, r) {
|
|
94
|
+
return new t({
|
|
95
|
+
type: "string",
|
|
96
|
+
format: "cuid",
|
|
97
|
+
check: "string_format",
|
|
98
|
+
abort: !1,
|
|
99
|
+
...n(r)
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
function W(t, r) {
|
|
103
|
+
return new t({
|
|
104
|
+
type: "string",
|
|
105
|
+
format: "cuid2",
|
|
106
|
+
check: "string_format",
|
|
107
|
+
abort: !1,
|
|
108
|
+
...n(r)
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
function z(t, r) {
|
|
112
|
+
return new t({
|
|
113
|
+
type: "string",
|
|
114
|
+
format: "ulid",
|
|
115
|
+
check: "string_format",
|
|
116
|
+
abort: !1,
|
|
117
|
+
...n(r)
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function D(t, r) {
|
|
121
|
+
return new t({
|
|
122
|
+
type: "string",
|
|
123
|
+
format: "xid",
|
|
124
|
+
check: "string_format",
|
|
125
|
+
abort: !1,
|
|
126
|
+
...n(r)
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function U(t, r) {
|
|
130
|
+
return new t({
|
|
131
|
+
type: "string",
|
|
132
|
+
format: "ksuid",
|
|
133
|
+
check: "string_format",
|
|
134
|
+
abort: !1,
|
|
135
|
+
...n(r)
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
function q(t, r) {
|
|
139
|
+
return new t({
|
|
140
|
+
type: "string",
|
|
141
|
+
format: "ipv4",
|
|
142
|
+
check: "string_format",
|
|
143
|
+
abort: !1,
|
|
144
|
+
...n(r)
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function E(t, r) {
|
|
148
|
+
return new t({
|
|
149
|
+
type: "string",
|
|
150
|
+
format: "ipv6",
|
|
151
|
+
check: "string_format",
|
|
152
|
+
abort: !1,
|
|
153
|
+
...n(r)
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
function M(t, r) {
|
|
157
|
+
return new t({
|
|
158
|
+
type: "string",
|
|
159
|
+
format: "cidrv4",
|
|
160
|
+
check: "string_format",
|
|
161
|
+
abort: !1,
|
|
162
|
+
...n(r)
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
function T(t, r) {
|
|
166
|
+
return new t({
|
|
167
|
+
type: "string",
|
|
168
|
+
format: "cidrv6",
|
|
169
|
+
check: "string_format",
|
|
170
|
+
abort: !1,
|
|
171
|
+
...n(r)
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
function I(t, r) {
|
|
175
|
+
return new t({
|
|
176
|
+
type: "string",
|
|
177
|
+
format: "base64",
|
|
178
|
+
check: "string_format",
|
|
179
|
+
abort: !1,
|
|
180
|
+
...n(r)
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
function O(t, r) {
|
|
184
|
+
return new t({
|
|
185
|
+
type: "string",
|
|
186
|
+
format: "base64url",
|
|
187
|
+
check: "string_format",
|
|
188
|
+
abort: !1,
|
|
189
|
+
...n(r)
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
function P(t, r) {
|
|
193
|
+
return new t({
|
|
194
|
+
type: "string",
|
|
195
|
+
format: "e164",
|
|
196
|
+
check: "string_format",
|
|
197
|
+
abort: !1,
|
|
198
|
+
...n(r)
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
function R(t, r) {
|
|
202
|
+
return new t({
|
|
203
|
+
type: "string",
|
|
204
|
+
format: "jwt",
|
|
205
|
+
check: "string_format",
|
|
206
|
+
abort: !1,
|
|
207
|
+
...n(r)
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
function S(t, r) {
|
|
211
|
+
return new t({
|
|
212
|
+
type: "string",
|
|
213
|
+
format: "datetime",
|
|
214
|
+
check: "string_format",
|
|
215
|
+
offset: !1,
|
|
216
|
+
local: !1,
|
|
217
|
+
precision: null,
|
|
218
|
+
...n(r)
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
function A(t, r) {
|
|
222
|
+
return new t({
|
|
223
|
+
type: "string",
|
|
224
|
+
format: "date",
|
|
225
|
+
check: "string_format",
|
|
226
|
+
...n(r)
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function B(t, r) {
|
|
230
|
+
return new t({
|
|
231
|
+
type: "string",
|
|
232
|
+
format: "time",
|
|
233
|
+
check: "string_format",
|
|
234
|
+
precision: null,
|
|
235
|
+
...n(r)
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
function F(t, r) {
|
|
239
|
+
return new t({
|
|
240
|
+
type: "string",
|
|
241
|
+
format: "duration",
|
|
242
|
+
check: "string_format",
|
|
243
|
+
...n(r)
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
function G(t) {
|
|
247
|
+
return new t({
|
|
248
|
+
type: "unknown"
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
function H(t, r) {
|
|
252
|
+
return new t({
|
|
253
|
+
type: "never",
|
|
254
|
+
...n(r)
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
function J(t, r) {
|
|
258
|
+
return new m({
|
|
259
|
+
check: "max_length",
|
|
260
|
+
...n(r),
|
|
261
|
+
maximum: t
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
function K(t, r) {
|
|
265
|
+
return new s({
|
|
266
|
+
check: "min_length",
|
|
267
|
+
...n(r),
|
|
268
|
+
minimum: t
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function N(t, r) {
|
|
272
|
+
return new _({
|
|
273
|
+
check: "length_equals",
|
|
274
|
+
...n(r),
|
|
275
|
+
length: t
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
function Q(t, r) {
|
|
279
|
+
return new c({
|
|
280
|
+
check: "string_format",
|
|
281
|
+
format: "regex",
|
|
282
|
+
...n(r),
|
|
283
|
+
pattern: t
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
function V(t) {
|
|
287
|
+
return new g({
|
|
288
|
+
check: "string_format",
|
|
289
|
+
format: "lowercase",
|
|
290
|
+
...n(t)
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
function X(t) {
|
|
294
|
+
return new h({
|
|
295
|
+
check: "string_format",
|
|
296
|
+
format: "uppercase",
|
|
297
|
+
...n(t)
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
function Y(t, r) {
|
|
301
|
+
return new a({
|
|
302
|
+
check: "string_format",
|
|
303
|
+
format: "includes",
|
|
304
|
+
...n(r),
|
|
305
|
+
includes: t
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
function tt(t, r) {
|
|
309
|
+
return new f({
|
|
310
|
+
check: "string_format",
|
|
311
|
+
format: "starts_with",
|
|
312
|
+
...n(r),
|
|
313
|
+
prefix: t
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
function rt(t, r) {
|
|
317
|
+
return new u({
|
|
318
|
+
check: "string_format",
|
|
319
|
+
format: "ends_with",
|
|
320
|
+
...n(r),
|
|
321
|
+
suffix: t
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
function o(t) {
|
|
325
|
+
return new i({
|
|
326
|
+
check: "overwrite",
|
|
327
|
+
tx: t
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
function nt(t) {
|
|
331
|
+
return o((r) => r.normalize(t));
|
|
332
|
+
}
|
|
333
|
+
function et() {
|
|
334
|
+
return o((t) => t.trim());
|
|
335
|
+
}
|
|
336
|
+
function ot() {
|
|
337
|
+
return o((t) => t.toLowerCase());
|
|
338
|
+
}
|
|
339
|
+
function it() {
|
|
340
|
+
return o((t) => t.toUpperCase());
|
|
341
|
+
}
|
|
342
|
+
function ct(t, r, e) {
|
|
343
|
+
return new t({
|
|
344
|
+
type: "array",
|
|
345
|
+
element: r,
|
|
346
|
+
// get element() {
|
|
347
|
+
// return element;
|
|
348
|
+
// },
|
|
349
|
+
...n(e)
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
function at(t, r, e) {
|
|
353
|
+
return new t({
|
|
354
|
+
type: "custom",
|
|
355
|
+
check: "custom",
|
|
356
|
+
fn: r,
|
|
357
|
+
...n(e)
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
export {
|
|
361
|
+
ct as _array,
|
|
362
|
+
I as _base64,
|
|
363
|
+
O as _base64url,
|
|
364
|
+
M as _cidrv4,
|
|
365
|
+
T as _cidrv6,
|
|
366
|
+
j as _cuid,
|
|
367
|
+
W as _cuid2,
|
|
368
|
+
P as _e164,
|
|
369
|
+
d as _email,
|
|
370
|
+
x as _emoji,
|
|
371
|
+
rt as _endsWith,
|
|
372
|
+
y as _guid,
|
|
373
|
+
Y as _includes,
|
|
374
|
+
q as _ipv4,
|
|
375
|
+
E as _ipv6,
|
|
376
|
+
A as _isoDate,
|
|
377
|
+
S as _isoDateTime,
|
|
378
|
+
F as _isoDuration,
|
|
379
|
+
B as _isoTime,
|
|
380
|
+
R as _jwt,
|
|
381
|
+
U as _ksuid,
|
|
382
|
+
N as _length,
|
|
383
|
+
V as _lowercase,
|
|
384
|
+
J as _maxLength,
|
|
385
|
+
K as _minLength,
|
|
386
|
+
L as _nanoid,
|
|
387
|
+
H as _never,
|
|
388
|
+
nt as _normalize,
|
|
389
|
+
o as _overwrite,
|
|
390
|
+
at as _refine,
|
|
391
|
+
Q as _regex,
|
|
392
|
+
tt as _startsWith,
|
|
393
|
+
p as _string,
|
|
394
|
+
ot as _toLowerCase,
|
|
395
|
+
it as _toUpperCase,
|
|
396
|
+
et as _trim,
|
|
397
|
+
z as _ulid,
|
|
398
|
+
G as _unknown,
|
|
399
|
+
X as _uppercase,
|
|
400
|
+
$ as _url,
|
|
401
|
+
b as _uuid,
|
|
402
|
+
v as _uuidv4,
|
|
403
|
+
C as _uuidv6,
|
|
404
|
+
Z as _uuidv7,
|
|
405
|
+
D as _xid
|
|
406
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { getDynamicSamplingContextFromSpan as y } from "./dynamicSamplingContext.js";
|
|
2
|
+
import { getRootSpan as d } from "./getRootSpan.js";
|
|
3
|
+
import { spanToTraceContext as h, spanToJSON as k } from "./spanUtils.js";
|
|
4
|
+
import { dropUndefinedKeys as m } from "./object.js";
|
|
5
|
+
import { arrayify as P } from "./misc.js";
|
|
6
|
+
function B(t, n) {
|
|
7
|
+
const { fingerprint: r, span: s, breadcrumbs: a, sdkProcessingMetadata: p } = n;
|
|
8
|
+
S(t, n), s && M(t, s), C(t, r), T(t, a), O(t, p);
|
|
9
|
+
}
|
|
10
|
+
function F(t, n) {
|
|
11
|
+
const {
|
|
12
|
+
extra: r,
|
|
13
|
+
tags: s,
|
|
14
|
+
user: a,
|
|
15
|
+
contexts: p,
|
|
16
|
+
level: f,
|
|
17
|
+
sdkProcessingMetadata: l,
|
|
18
|
+
breadcrumbs: o,
|
|
19
|
+
fingerprint: e,
|
|
20
|
+
eventProcessors: i,
|
|
21
|
+
attachments: c,
|
|
22
|
+
propagationContext: b,
|
|
23
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
24
|
+
transactionName: u,
|
|
25
|
+
span: x
|
|
26
|
+
} = n;
|
|
27
|
+
g(t, "extra", r), g(t, "tags", s), g(t, "user", a), g(t, "contexts", p), g(t, "sdkProcessingMetadata", l), f && (t.level = f), u && (t.transactionName = u), x && (t.span = x), o.length && (t.breadcrumbs = [...t.breadcrumbs, ...o]), e.length && (t.fingerprint = [...t.fingerprint, ...e]), i.length && (t.eventProcessors = [...t.eventProcessors, ...i]), c.length && (t.attachments = [...t.attachments, ...c]), t.propagationContext = { ...t.propagationContext, ...b };
|
|
28
|
+
}
|
|
29
|
+
function g(t, n, r) {
|
|
30
|
+
if (r && Object.keys(r).length) {
|
|
31
|
+
t[n] = { ...t[n] };
|
|
32
|
+
for (const s in r)
|
|
33
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[n][s] = r[s]);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function S(t, n) {
|
|
37
|
+
const {
|
|
38
|
+
extra: r,
|
|
39
|
+
tags: s,
|
|
40
|
+
user: a,
|
|
41
|
+
contexts: p,
|
|
42
|
+
level: f,
|
|
43
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
44
|
+
transactionName: l
|
|
45
|
+
} = n, o = m(r);
|
|
46
|
+
o && Object.keys(o).length && (t.extra = { ...o, ...t.extra });
|
|
47
|
+
const e = m(s);
|
|
48
|
+
e && Object.keys(e).length && (t.tags = { ...e, ...t.tags });
|
|
49
|
+
const i = m(a);
|
|
50
|
+
i && Object.keys(i).length && (t.user = { ...i, ...t.user });
|
|
51
|
+
const c = m(p);
|
|
52
|
+
c && Object.keys(c).length && (t.contexts = { ...c, ...t.contexts }), f && (t.level = f), l && (t.transaction = l);
|
|
53
|
+
}
|
|
54
|
+
function T(t, n) {
|
|
55
|
+
const r = [...t.breadcrumbs || [], ...n];
|
|
56
|
+
t.breadcrumbs = r.length ? r : void 0;
|
|
57
|
+
}
|
|
58
|
+
function O(t, n) {
|
|
59
|
+
t.sdkProcessingMetadata = {
|
|
60
|
+
...t.sdkProcessingMetadata,
|
|
61
|
+
...n
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function M(t, n) {
|
|
65
|
+
t.contexts = { trace: h(n), ...t.contexts };
|
|
66
|
+
const r = d(n);
|
|
67
|
+
if (r) {
|
|
68
|
+
t.sdkProcessingMetadata = {
|
|
69
|
+
dynamicSamplingContext: y(n),
|
|
70
|
+
...t.sdkProcessingMetadata
|
|
71
|
+
};
|
|
72
|
+
const s = k(r).description;
|
|
73
|
+
s && (t.tags = { transaction: s, ...t.tags });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function C(t, n) {
|
|
77
|
+
t.fingerprint = t.fingerprint ? P(t.fingerprint) : [], n && (t.fingerprint = t.fingerprint.concat(n)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
B as applyScopeDataToEvent,
|
|
81
|
+
g as mergeAndOverwriteScopeData,
|
|
82
|
+
F as mergeScopeData
|
|
83
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { getDynamicSamplingContextFromSpan as l } from "./dynamicSamplingContext2.js";
|
|
2
|
+
import { getRootSpan as m } from "./getRootSpan2.js";
|
|
3
|
+
import { spanToTraceContext as u, spanToJSON as y } from "./spanUtils2.js";
|
|
4
|
+
import { dropUndefinedKeys as o } from "./object2.js";
|
|
5
|
+
import { arrayify as x } from "./misc2.js";
|
|
6
|
+
function C(t, a) {
|
|
7
|
+
const { fingerprint: n, span: r, breadcrumbs: i, sdkProcessingMetadata: s } = a;
|
|
8
|
+
b(t, a), r && S(t, r), E(t, n), k(t, i), T(t, s);
|
|
9
|
+
}
|
|
10
|
+
function b(t, a) {
|
|
11
|
+
const {
|
|
12
|
+
extra: n,
|
|
13
|
+
tags: r,
|
|
14
|
+
user: i,
|
|
15
|
+
contexts: s,
|
|
16
|
+
level: g,
|
|
17
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
18
|
+
transactionName: d
|
|
19
|
+
} = a, c = o(n);
|
|
20
|
+
c && Object.keys(c).length && (t.extra = { ...c, ...t.extra });
|
|
21
|
+
const e = o(r);
|
|
22
|
+
e && Object.keys(e).length && (t.tags = { ...e, ...t.tags });
|
|
23
|
+
const p = o(i);
|
|
24
|
+
p && Object.keys(p).length && (t.user = { ...p, ...t.user });
|
|
25
|
+
const f = o(s);
|
|
26
|
+
f && Object.keys(f).length && (t.contexts = { ...f, ...t.contexts }), g && (t.level = g), d && (t.transaction = d);
|
|
27
|
+
}
|
|
28
|
+
function k(t, a) {
|
|
29
|
+
const n = [...t.breadcrumbs || [], ...a];
|
|
30
|
+
t.breadcrumbs = n.length ? n : void 0;
|
|
31
|
+
}
|
|
32
|
+
function T(t, a) {
|
|
33
|
+
t.sdkProcessingMetadata = {
|
|
34
|
+
...t.sdkProcessingMetadata,
|
|
35
|
+
...a
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function S(t, a) {
|
|
39
|
+
t.contexts = { trace: u(a), ...t.contexts };
|
|
40
|
+
const n = m(a);
|
|
41
|
+
if (n) {
|
|
42
|
+
t.sdkProcessingMetadata = {
|
|
43
|
+
dynamicSamplingContext: l(a),
|
|
44
|
+
...t.sdkProcessingMetadata
|
|
45
|
+
};
|
|
46
|
+
const r = y(n).description;
|
|
47
|
+
r && (t.tags = { transaction: r, ...t.tags });
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function E(t, a) {
|
|
51
|
+
t.fingerprint = t.fingerprint ? x(t.fingerprint) : [], a && (t.fingerprint = t.fingerprint.concat(a)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
C as applyScopeDataToEvent
|
|
55
|
+
};
|
package/asset.type.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconArchive as o, IconVideocam as
|
|
2
|
-
import { __ as
|
|
3
|
-
function
|
|
1
|
+
import { IconArchive as o, IconVideocam as t, IconCamera as c, IconFile as n, IconVolumeUp as s } from "./index4.js";
|
|
2
|
+
import { __ as a } from "./index2.js";
|
|
3
|
+
function u(e) {
|
|
4
4
|
const r = {
|
|
5
5
|
AUDIO: "Audio",
|
|
6
6
|
DOCUMENT: "Document",
|
|
@@ -8,24 +8,23 @@ function a(e) {
|
|
|
8
8
|
VIDEO: "Video",
|
|
9
9
|
ARCHIVE: "Archive"
|
|
10
10
|
}[e];
|
|
11
|
-
return
|
|
11
|
+
return a(r);
|
|
12
12
|
}
|
|
13
13
|
function A(e) {
|
|
14
14
|
switch (e) {
|
|
15
15
|
case "AUDIO":
|
|
16
|
-
return
|
|
16
|
+
return s;
|
|
17
17
|
case "DOCUMENT":
|
|
18
|
-
return t;
|
|
19
|
-
case "IMAGE":
|
|
20
18
|
return n;
|
|
21
|
-
case "
|
|
19
|
+
case "IMAGE":
|
|
22
20
|
return c;
|
|
21
|
+
case "VIDEO":
|
|
22
|
+
return t;
|
|
23
23
|
case "ARCHIVE":
|
|
24
24
|
return o;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
u as assetTypeToString,
|
|
29
29
|
A as getAssetTypeIcon
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=asset.type.js.map
|
package/asyncDebounce.js
CHANGED
package/auth.js
CHANGED
package/autocomplete.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getRequest as a } from "./
|
|
2
|
-
import { handlers as m } from "./
|
|
1
|
+
import { getRequest as a } from "./index10.js";
|
|
2
|
+
import { handlers as m } from "./handlers2.js";
|
|
3
3
|
import { ensureValidUrl as d } from "./url.js";
|
|
4
4
|
const f = async ({
|
|
5
5
|
metapropertyId: t,
|
|
@@ -22,4 +22,3 @@ const f = async ({
|
|
|
22
22
|
export {
|
|
23
23
|
f as getAutocompleteOptions
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=autocomplete.js.map
|
package/axios.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import a from "./utils6.js";
|
|
2
|
+
import p from "./bind.js";
|
|
3
|
+
import m from "./Axios2.js";
|
|
4
|
+
import i from "./mergeConfig.js";
|
|
5
|
+
import f from "./index17.js";
|
|
6
|
+
import l from "./formDataToJSON.js";
|
|
7
|
+
import c from "./CanceledError.js";
|
|
8
|
+
import d from "./CancelToken.js";
|
|
9
|
+
import u from "./isCancel.js";
|
|
10
|
+
import { VERSION as x } from "./data.js";
|
|
11
|
+
import C from "./toFormData.js";
|
|
12
|
+
import A from "./AxiosError.js";
|
|
13
|
+
import E from "./spread.js";
|
|
14
|
+
import O from "./isAxiosError.js";
|
|
15
|
+
import S from "./AxiosHeaders.js";
|
|
16
|
+
import H from "./adapters.js";
|
|
17
|
+
import T from "./HttpStatusCode.js";
|
|
18
|
+
function n(o) {
|
|
19
|
+
const t = new m(o), e = p(m.prototype.request, t);
|
|
20
|
+
return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
|
|
21
|
+
return n(i(o, s));
|
|
22
|
+
}, e;
|
|
23
|
+
}
|
|
24
|
+
const r = n(f);
|
|
25
|
+
r.Axios = m;
|
|
26
|
+
r.CanceledError = c;
|
|
27
|
+
r.CancelToken = d;
|
|
28
|
+
r.isCancel = u;
|
|
29
|
+
r.VERSION = x;
|
|
30
|
+
r.toFormData = C;
|
|
31
|
+
r.AxiosError = A;
|
|
32
|
+
r.Cancel = r.CanceledError;
|
|
33
|
+
r.all = function(t) {
|
|
34
|
+
return Promise.all(t);
|
|
35
|
+
};
|
|
36
|
+
r.spread = E;
|
|
37
|
+
r.isAxiosError = O;
|
|
38
|
+
r.mergeConfig = i;
|
|
39
|
+
r.AxiosHeaders = S;
|
|
40
|
+
r.formToJSON = (o) => l(a.isHTMLForm(o) ? new FormData(o) : o);
|
|
41
|
+
r.getAdapter = H.getAdapter;
|
|
42
|
+
r.HttpStatusCode = T;
|
|
43
|
+
r.default = r;
|
|
44
|
+
export {
|
|
45
|
+
r as default
|
|
46
|
+
};
|
package/base.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { DEBUG_BUILD as l } from "./debug-build2.js";
|
|
2
|
+
import { makePromiseBuffer as y } from "./promisebuffer.js";
|
|
3
|
+
import { forEachEnvelopeItem as v, createEnvelope as S, serializeEnvelope as w, envelopeItemTypeToDataCategory as E } from "./envelope.js";
|
|
4
|
+
import { resolvedSyncPromise as p } from "./syncpromise.js";
|
|
5
|
+
import { SentryError as C } from "./error.js";
|
|
6
|
+
import { logger as _ } from "./logger2.js";
|
|
7
|
+
import { updateRateLimits as D, isRateLimited as I } from "./ratelimit.js";
|
|
8
|
+
const L = 30;
|
|
9
|
+
function P(t, o, f = y(
|
|
10
|
+
t.bufferSize || L
|
|
11
|
+
)) {
|
|
12
|
+
let a = {};
|
|
13
|
+
const T = (n) => f.drain(n);
|
|
14
|
+
function u(n) {
|
|
15
|
+
const s = [];
|
|
16
|
+
if (v(n, (e, i) => {
|
|
17
|
+
const r = E(i);
|
|
18
|
+
if (I(a, r)) {
|
|
19
|
+
const d = h(e, i);
|
|
20
|
+
t.recordDroppedEvent("ratelimit_backoff", r, d);
|
|
21
|
+
} else
|
|
22
|
+
s.push(e);
|
|
23
|
+
}), s.length === 0)
|
|
24
|
+
return p();
|
|
25
|
+
const c = S(n[0], s), m = (e) => {
|
|
26
|
+
v(c, (i, r) => {
|
|
27
|
+
const d = h(i, r);
|
|
28
|
+
t.recordDroppedEvent(e, E(r), d);
|
|
29
|
+
});
|
|
30
|
+
}, g = () => o({ body: w(c, t.textEncoder) }).then(
|
|
31
|
+
(e) => (e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && l && _.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), a = D(a, e), e),
|
|
32
|
+
(e) => {
|
|
33
|
+
throw m("network_error"), e;
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
return f.add(g).then(
|
|
37
|
+
(e) => e,
|
|
38
|
+
(e) => {
|
|
39
|
+
if (e instanceof C)
|
|
40
|
+
return l && _.error("Skipped sending event because buffer is full."), m("queue_overflow"), p();
|
|
41
|
+
throw e;
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
return u.__sentry__baseTransport__ = !0, {
|
|
46
|
+
send: u,
|
|
47
|
+
flush: T
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function h(t, o) {
|
|
51
|
+
if (!(o !== "event" && o !== "transaction"))
|
|
52
|
+
return Array.isArray(t) ? t[1] : void 0;
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
L as DEFAULT_TRANSPORT_BUFFER_SIZE,
|
|
56
|
+
P as createTransport
|
|
57
|
+
};
|