@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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { hexFromPercentage as o } from "./hexFromPercentage.js";
|
|
2
|
+
const a = /^#([a-f\d])([a-f\d])([a-f\d])$/i, n = "#$1$1$2$2$3$3";
|
|
3
|
+
function m({
|
|
4
|
+
color: t,
|
|
5
|
+
opacity: r
|
|
6
|
+
}) {
|
|
7
|
+
let e = t;
|
|
8
|
+
return a.test(t) && (e = e.replace(a, n)), e + o(r.toString());
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
m as makeHexWithOpacity
|
|
12
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { css as a } from "./styled-components.browser.esm.js";
|
|
2
|
+
import { darkThemeClass as i, lightThemeClass as c } from "./theme.js";
|
|
3
|
+
function m({
|
|
4
|
+
lightTheme: e,
|
|
5
|
+
darkTheme: s
|
|
6
|
+
}) {
|
|
7
|
+
const n = {};
|
|
8
|
+
Object.keys(e).forEach((t) => {
|
|
9
|
+
n[t] = `var(--ds-${t})`;
|
|
10
|
+
});
|
|
11
|
+
const r = a(["&,.", " &{", "}.", " &{", "}"], c, o(e), i, o(s));
|
|
12
|
+
return {
|
|
13
|
+
internalTokens: n,
|
|
14
|
+
declareTokens: r
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function o(e) {
|
|
18
|
+
return Object.entries(e).map(([n, r]) => `--ds-${n}: ${r}`).join(";") + ";";
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
m as makeInternalTokens
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { match as l } from "./index72.js";
|
|
2
|
+
import { getCleanUrl as i } from "./index82.js";
|
|
3
|
+
import { normalizePath as p } from "./normalizePath.js";
|
|
4
|
+
function f(e) {
|
|
5
|
+
return e.replace(
|
|
6
|
+
/([:a-zA-Z_-]*)(\*{1,2})+/g,
|
|
7
|
+
(c, t, o) => {
|
|
8
|
+
const r = "(.*)";
|
|
9
|
+
return t ? t.startsWith(":") ? `${t}${o}` : `${t}${r}` : r;
|
|
10
|
+
}
|
|
11
|
+
).replace(/([^\/])(:)(?=\d+)/, "$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/, "$1\\$2");
|
|
12
|
+
}
|
|
13
|
+
function $(e, c, t) {
|
|
14
|
+
const o = p(c, t), r = typeof o == "string" ? f(o) : o, s = i(e), n = l(r, { decode: decodeURIComponent })(s), a = n && n.params || {};
|
|
15
|
+
return {
|
|
16
|
+
matches: n !== !1,
|
|
17
|
+
params: a
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
f as coercePath,
|
|
22
|
+
$ as matchRequestUrl
|
|
23
|
+
};
|
package/memo.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function l() {
|
|
2
|
+
const r = typeof WeakSet == "function", e = r ? /* @__PURE__ */ new WeakSet() : [];
|
|
3
|
+
function i(n) {
|
|
4
|
+
if (r)
|
|
5
|
+
return e.has(n) ? !0 : (e.add(n), !1);
|
|
6
|
+
for (let t = 0; t < e.length; t++)
|
|
7
|
+
if (e[t] === n)
|
|
8
|
+
return !0;
|
|
9
|
+
return e.push(n), !1;
|
|
10
|
+
}
|
|
11
|
+
function u(n) {
|
|
12
|
+
if (r)
|
|
13
|
+
e.delete(n);
|
|
14
|
+
else
|
|
15
|
+
for (let t = 0; t < e.length; t++)
|
|
16
|
+
if (e[t] === n) {
|
|
17
|
+
e.splice(t, 1);
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return [i, u];
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
l as memoBuilder
|
|
25
|
+
};
|
package/merge.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function p(n, t, f = 2) {
|
|
2
|
+
if (!t || typeof t != "object" || f <= 0)
|
|
3
|
+
return t;
|
|
4
|
+
if (n && t && Object.keys(t).length === 0)
|
|
5
|
+
return n;
|
|
6
|
+
const c = { ...n };
|
|
7
|
+
for (const o in t)
|
|
8
|
+
Object.prototype.hasOwnProperty.call(t, o) && (c[o] = p(c[o], t[o], f - 1));
|
|
9
|
+
return c;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
p as merge
|
|
13
|
+
};
|
package/mergeConfig.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import i from "./utils6.js";
|
|
2
|
+
import h from "./AxiosHeaders.js";
|
|
3
|
+
const c = (s) => s instanceof h ? { ...s } : s;
|
|
4
|
+
function C(s, a) {
|
|
5
|
+
a = a || {};
|
|
6
|
+
const u = {};
|
|
7
|
+
function d(t, e, r, o) {
|
|
8
|
+
return i.isPlainObject(t) && i.isPlainObject(e) ? i.merge.call({ caseless: o }, t, e) : i.isPlainObject(e) ? i.merge({}, e) : i.isArray(e) ? e.slice() : e;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e, r, o) {
|
|
11
|
+
if (i.isUndefined(e)) {
|
|
12
|
+
if (!i.isUndefined(t))
|
|
13
|
+
return d(void 0, t, r, o);
|
|
14
|
+
} else return d(t, e, r, o);
|
|
15
|
+
}
|
|
16
|
+
function f(t, e) {
|
|
17
|
+
if (!i.isUndefined(e))
|
|
18
|
+
return d(void 0, e);
|
|
19
|
+
}
|
|
20
|
+
function n(t, e) {
|
|
21
|
+
if (i.isUndefined(e)) {
|
|
22
|
+
if (!i.isUndefined(t))
|
|
23
|
+
return d(void 0, t);
|
|
24
|
+
} else return d(void 0, e);
|
|
25
|
+
}
|
|
26
|
+
function m(t, e, r) {
|
|
27
|
+
if (r in a)
|
|
28
|
+
return d(t, e);
|
|
29
|
+
if (r in s)
|
|
30
|
+
return d(void 0, t);
|
|
31
|
+
}
|
|
32
|
+
const g = {
|
|
33
|
+
url: f,
|
|
34
|
+
method: f,
|
|
35
|
+
data: f,
|
|
36
|
+
baseURL: n,
|
|
37
|
+
transformRequest: n,
|
|
38
|
+
transformResponse: n,
|
|
39
|
+
paramsSerializer: n,
|
|
40
|
+
timeout: n,
|
|
41
|
+
timeoutMessage: n,
|
|
42
|
+
withCredentials: n,
|
|
43
|
+
withXSRFToken: n,
|
|
44
|
+
adapter: n,
|
|
45
|
+
responseType: n,
|
|
46
|
+
xsrfCookieName: n,
|
|
47
|
+
xsrfHeaderName: n,
|
|
48
|
+
onUploadProgress: n,
|
|
49
|
+
onDownloadProgress: n,
|
|
50
|
+
decompress: n,
|
|
51
|
+
maxContentLength: n,
|
|
52
|
+
maxBodyLength: n,
|
|
53
|
+
beforeRedirect: n,
|
|
54
|
+
transport: n,
|
|
55
|
+
httpAgent: n,
|
|
56
|
+
httpsAgent: n,
|
|
57
|
+
cancelToken: n,
|
|
58
|
+
socketPath: n,
|
|
59
|
+
responseEncoding: n,
|
|
60
|
+
validateStatus: m,
|
|
61
|
+
headers: (t, e, r) => l(c(t), c(e), r, !0)
|
|
62
|
+
};
|
|
63
|
+
return i.forEach(Object.keys(Object.assign({}, s, a)), function(e) {
|
|
64
|
+
const r = g[e] || l, o = r(s[e], a[e], e);
|
|
65
|
+
i.isUndefined(o) && r !== m || (u[e] = o);
|
|
66
|
+
}), u;
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
C as default
|
|
70
|
+
};
|
package/mergeProps.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { chain as n } from "./chain.js";
|
|
2
|
+
import { mergeIds as s } from "./useId2.js";
|
|
3
|
+
import { clsx as l } from "./clsx.js";
|
|
4
|
+
function a(...r) {
|
|
5
|
+
let o = {
|
|
6
|
+
...r[0]
|
|
7
|
+
};
|
|
8
|
+
for (let c = 1; c < r.length; c++) {
|
|
9
|
+
let i = r[c];
|
|
10
|
+
for (let e in i) {
|
|
11
|
+
let f = o[e], t = i[e];
|
|
12
|
+
typeof f == "function" && typeof t == "function" && // This is a lot faster than a regex.
|
|
13
|
+
e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= /* 'A' */
|
|
14
|
+
65 && e.charCodeAt(2) <= /* 'Z' */
|
|
15
|
+
90 ? o[e] = n(f, t) : (e === "className" || e === "UNSAFE_className") && typeof f == "string" && typeof t == "string" ? o[e] = l(f, t) : e === "id" && f && t ? o.id = s(f, t) : o[e] = t !== void 0 ? t : f;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
a as mergeProps
|
|
22
|
+
};
|
package/mergeRefs.js
ADDED
package/middleware.js
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
const g = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, S = /* @__PURE__ */ new Map(), h = (i) => {
|
|
2
|
+
const c = S.get(i);
|
|
3
|
+
return c ? Object.fromEntries(
|
|
4
|
+
Object.entries(c.stores).map(([o, d]) => [o, d.getState()])
|
|
5
|
+
) : {};
|
|
6
|
+
}, E = (i, c, o) => {
|
|
7
|
+
if (i === void 0)
|
|
8
|
+
return {
|
|
9
|
+
type: "untracked",
|
|
10
|
+
connection: c.connect(o)
|
|
11
|
+
};
|
|
12
|
+
const d = S.get(o.name);
|
|
13
|
+
if (d)
|
|
14
|
+
return { type: "tracked", store: i, ...d };
|
|
15
|
+
const e = {
|
|
16
|
+
connection: c.connect(o),
|
|
17
|
+
stores: {}
|
|
18
|
+
};
|
|
19
|
+
return S.set(o.name, e), { type: "tracked", store: i, ...e };
|
|
20
|
+
}, C = (i, c) => {
|
|
21
|
+
if (c === void 0) return;
|
|
22
|
+
const o = S.get(i);
|
|
23
|
+
o && (delete o.stores[c], Object.keys(o.stores).length === 0 && S.delete(i));
|
|
24
|
+
}, w = (i) => {
|
|
25
|
+
var c, o;
|
|
26
|
+
if (!i) return;
|
|
27
|
+
const d = i.split(`
|
|
28
|
+
`), e = d.findIndex(
|
|
29
|
+
(m) => m.includes("api.setState")
|
|
30
|
+
);
|
|
31
|
+
if (e < 0) return;
|
|
32
|
+
const y = ((c = d[e + 1]) == null ? void 0 : c.trim()) || "";
|
|
33
|
+
return (o = /.+ (.+) .+/.exec(y)) == null ? void 0 : o[1];
|
|
34
|
+
}, I = (i, c = {}) => (o, d, e) => {
|
|
35
|
+
const { enabled: y, anonymousActionType: m, store: s, ...f } = c;
|
|
36
|
+
let O;
|
|
37
|
+
try {
|
|
38
|
+
O = (y ?? (g ? "production" : void 0) !== "production") && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
39
|
+
} catch {
|
|
40
|
+
}
|
|
41
|
+
if (!O)
|
|
42
|
+
return i(o, d, e);
|
|
43
|
+
const { connection: t, ...p } = E(s, O, f);
|
|
44
|
+
let v = !0;
|
|
45
|
+
e.setState = (r, l, n) => {
|
|
46
|
+
const a = o(r, l);
|
|
47
|
+
if (!v) return a;
|
|
48
|
+
const b = n === void 0 ? {
|
|
49
|
+
type: m || w(new Error().stack) || "anonymous"
|
|
50
|
+
} : typeof n == "string" ? { type: n } : n;
|
|
51
|
+
return s === void 0 ? (t?.send(b, d()), a) : (t?.send(
|
|
52
|
+
{
|
|
53
|
+
...b,
|
|
54
|
+
type: `${s}/${b.type}`
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
...h(f.name),
|
|
58
|
+
[s]: e.getState()
|
|
59
|
+
}
|
|
60
|
+
), a);
|
|
61
|
+
}, e.devtools = {
|
|
62
|
+
cleanup: () => {
|
|
63
|
+
t && typeof t.unsubscribe == "function" && t.unsubscribe(), C(f.name, s);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const u = (...r) => {
|
|
67
|
+
const l = v;
|
|
68
|
+
v = !1, o(...r), v = l;
|
|
69
|
+
}, _ = i(e.setState, d, e);
|
|
70
|
+
if (p.type === "untracked" ? t?.init(_) : (p.stores[p.store] = e, t?.init(
|
|
71
|
+
Object.fromEntries(
|
|
72
|
+
Object.entries(p.stores).map(([r, l]) => [
|
|
73
|
+
r,
|
|
74
|
+
r === p.store ? _ : l.getState()
|
|
75
|
+
])
|
|
76
|
+
)
|
|
77
|
+
)), e.dispatchFromDevtools && typeof e.dispatch == "function") {
|
|
78
|
+
let r = !1;
|
|
79
|
+
const l = e.dispatch;
|
|
80
|
+
e.dispatch = (...n) => {
|
|
81
|
+
(g ? "production" : void 0) !== "production" && n[0].type === "__setState" && !r && (console.warn(
|
|
82
|
+
'[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'
|
|
83
|
+
), r = !0), l(...n);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
return t.subscribe((r) => {
|
|
87
|
+
var l;
|
|
88
|
+
switch (r.type) {
|
|
89
|
+
case "ACTION":
|
|
90
|
+
if (typeof r.payload != "string") {
|
|
91
|
+
console.error(
|
|
92
|
+
"[zustand devtools middleware] Unsupported action format"
|
|
93
|
+
);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
return T(
|
|
97
|
+
r.payload,
|
|
98
|
+
(n) => {
|
|
99
|
+
if (n.type === "__setState") {
|
|
100
|
+
if (s === void 0) {
|
|
101
|
+
u(n.state);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
Object.keys(n.state).length !== 1 && console.error(
|
|
105
|
+
`
|
|
106
|
+
[zustand devtools middleware] Unsupported __setState action format.
|
|
107
|
+
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
108
|
+
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
109
|
+
`
|
|
110
|
+
);
|
|
111
|
+
const a = n.state[s];
|
|
112
|
+
if (a == null)
|
|
113
|
+
return;
|
|
114
|
+
JSON.stringify(e.getState()) !== JSON.stringify(a) && u(a);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
e.dispatchFromDevtools && typeof e.dispatch == "function" && e.dispatch(n);
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
case "DISPATCH":
|
|
121
|
+
switch (r.payload.type) {
|
|
122
|
+
case "RESET":
|
|
123
|
+
return u(_), s === void 0 ? t?.init(e.getState()) : t?.init(h(f.name));
|
|
124
|
+
case "COMMIT":
|
|
125
|
+
if (s === void 0) {
|
|
126
|
+
t?.init(e.getState());
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
return t?.init(h(f.name));
|
|
130
|
+
case "ROLLBACK":
|
|
131
|
+
return T(r.state, (n) => {
|
|
132
|
+
if (s === void 0) {
|
|
133
|
+
u(n), t?.init(e.getState());
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
u(n[s]), t?.init(h(f.name));
|
|
137
|
+
});
|
|
138
|
+
case "JUMP_TO_STATE":
|
|
139
|
+
case "JUMP_TO_ACTION":
|
|
140
|
+
return T(r.state, (n) => {
|
|
141
|
+
if (s === void 0) {
|
|
142
|
+
u(n);
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
JSON.stringify(e.getState()) !== JSON.stringify(n[s]) && u(n[s]);
|
|
146
|
+
});
|
|
147
|
+
case "IMPORT_STATE": {
|
|
148
|
+
const { nextLiftedState: n } = r.payload, a = (l = n.computedStates.slice(-1)[0]) == null ? void 0 : l.state;
|
|
149
|
+
if (!a) return;
|
|
150
|
+
u(s === void 0 ? a : a[s]), t?.send(
|
|
151
|
+
null,
|
|
152
|
+
// FIXME no-any
|
|
153
|
+
n
|
|
154
|
+
);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
case "PAUSE_RECORDING":
|
|
158
|
+
return v = !v;
|
|
159
|
+
}
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
}), _;
|
|
163
|
+
}, D = I, T = (i, c) => {
|
|
164
|
+
let o;
|
|
165
|
+
try {
|
|
166
|
+
o = JSON.parse(i);
|
|
167
|
+
} catch (d) {
|
|
168
|
+
console.error(
|
|
169
|
+
"[zustand devtools middleware] Could not parse the received json",
|
|
170
|
+
d
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
o !== void 0 && c(o);
|
|
174
|
+
};
|
|
175
|
+
export {
|
|
176
|
+
D as devtools
|
|
177
|
+
};
|
package/middleware2.js
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
const g = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, S = /* @__PURE__ */ new Map(), h = (i) => {
|
|
2
|
+
const c = S.get(i);
|
|
3
|
+
return c ? Object.fromEntries(
|
|
4
|
+
Object.entries(c.stores).map(([o, d]) => [o, d.getState()])
|
|
5
|
+
) : {};
|
|
6
|
+
}, E = (i, c, o) => {
|
|
7
|
+
if (i === void 0)
|
|
8
|
+
return {
|
|
9
|
+
type: "untracked",
|
|
10
|
+
connection: c.connect(o)
|
|
11
|
+
};
|
|
12
|
+
const d = S.get(o.name);
|
|
13
|
+
if (d)
|
|
14
|
+
return { type: "tracked", store: i, ...d };
|
|
15
|
+
const e = {
|
|
16
|
+
connection: c.connect(o),
|
|
17
|
+
stores: {}
|
|
18
|
+
};
|
|
19
|
+
return S.set(o.name, e), { type: "tracked", store: i, ...e };
|
|
20
|
+
}, C = (i, c) => {
|
|
21
|
+
if (c === void 0) return;
|
|
22
|
+
const o = S.get(i);
|
|
23
|
+
o && (delete o.stores[c], Object.keys(o.stores).length === 0 && S.delete(i));
|
|
24
|
+
}, w = (i) => {
|
|
25
|
+
var c, o;
|
|
26
|
+
if (!i) return;
|
|
27
|
+
const d = i.split(`
|
|
28
|
+
`), e = d.findIndex(
|
|
29
|
+
(m) => m.includes("api.setState")
|
|
30
|
+
);
|
|
31
|
+
if (e < 0) return;
|
|
32
|
+
const y = ((c = d[e + 1]) == null ? void 0 : c.trim()) || "";
|
|
33
|
+
return (o = /.+ (.+) .+/.exec(y)) == null ? void 0 : o[1];
|
|
34
|
+
}, I = (i, c = {}) => (o, d, e) => {
|
|
35
|
+
const { enabled: y, anonymousActionType: m, store: s, ...f } = c;
|
|
36
|
+
let O;
|
|
37
|
+
try {
|
|
38
|
+
O = (y ?? (g ? "production" : void 0) !== "production") && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
39
|
+
} catch {
|
|
40
|
+
}
|
|
41
|
+
if (!O)
|
|
42
|
+
return i(o, d, e);
|
|
43
|
+
const { connection: t, ...p } = E(s, O, f);
|
|
44
|
+
let v = !0;
|
|
45
|
+
e.setState = (r, l, n) => {
|
|
46
|
+
const a = o(r, l);
|
|
47
|
+
if (!v) return a;
|
|
48
|
+
const b = n === void 0 ? {
|
|
49
|
+
type: m || w(new Error().stack) || "anonymous"
|
|
50
|
+
} : typeof n == "string" ? { type: n } : n;
|
|
51
|
+
return s === void 0 ? (t?.send(b, d()), a) : (t?.send(
|
|
52
|
+
{
|
|
53
|
+
...b,
|
|
54
|
+
type: `${s}/${b.type}`
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
...h(f.name),
|
|
58
|
+
[s]: e.getState()
|
|
59
|
+
}
|
|
60
|
+
), a);
|
|
61
|
+
}, e.devtools = {
|
|
62
|
+
cleanup: () => {
|
|
63
|
+
t && typeof t.unsubscribe == "function" && t.unsubscribe(), C(f.name, s);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const u = (...r) => {
|
|
67
|
+
const l = v;
|
|
68
|
+
v = !1, o(...r), v = l;
|
|
69
|
+
}, _ = i(e.setState, d, e);
|
|
70
|
+
if (p.type === "untracked" ? t?.init(_) : (p.stores[p.store] = e, t?.init(
|
|
71
|
+
Object.fromEntries(
|
|
72
|
+
Object.entries(p.stores).map(([r, l]) => [
|
|
73
|
+
r,
|
|
74
|
+
r === p.store ? _ : l.getState()
|
|
75
|
+
])
|
|
76
|
+
)
|
|
77
|
+
)), e.dispatchFromDevtools && typeof e.dispatch == "function") {
|
|
78
|
+
let r = !1;
|
|
79
|
+
const l = e.dispatch;
|
|
80
|
+
e.dispatch = (...n) => {
|
|
81
|
+
(g ? "production" : void 0) !== "production" && n[0].type === "__setState" && !r && (console.warn(
|
|
82
|
+
'[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'
|
|
83
|
+
), r = !0), l(...n);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
return t.subscribe((r) => {
|
|
87
|
+
var l;
|
|
88
|
+
switch (r.type) {
|
|
89
|
+
case "ACTION":
|
|
90
|
+
if (typeof r.payload != "string") {
|
|
91
|
+
console.error(
|
|
92
|
+
"[zustand devtools middleware] Unsupported action format"
|
|
93
|
+
);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
return T(
|
|
97
|
+
r.payload,
|
|
98
|
+
(n) => {
|
|
99
|
+
if (n.type === "__setState") {
|
|
100
|
+
if (s === void 0) {
|
|
101
|
+
u(n.state);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
Object.keys(n.state).length !== 1 && console.error(
|
|
105
|
+
`
|
|
106
|
+
[zustand devtools middleware] Unsupported __setState action format.
|
|
107
|
+
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
108
|
+
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
109
|
+
`
|
|
110
|
+
);
|
|
111
|
+
const a = n.state[s];
|
|
112
|
+
if (a == null)
|
|
113
|
+
return;
|
|
114
|
+
JSON.stringify(e.getState()) !== JSON.stringify(a) && u(a);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
e.dispatchFromDevtools && typeof e.dispatch == "function" && e.dispatch(n);
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
case "DISPATCH":
|
|
121
|
+
switch (r.payload.type) {
|
|
122
|
+
case "RESET":
|
|
123
|
+
return u(_), s === void 0 ? t?.init(e.getState()) : t?.init(h(f.name));
|
|
124
|
+
case "COMMIT":
|
|
125
|
+
if (s === void 0) {
|
|
126
|
+
t?.init(e.getState());
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
return t?.init(h(f.name));
|
|
130
|
+
case "ROLLBACK":
|
|
131
|
+
return T(r.state, (n) => {
|
|
132
|
+
if (s === void 0) {
|
|
133
|
+
u(n), t?.init(e.getState());
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
u(n[s]), t?.init(h(f.name));
|
|
137
|
+
});
|
|
138
|
+
case "JUMP_TO_STATE":
|
|
139
|
+
case "JUMP_TO_ACTION":
|
|
140
|
+
return T(r.state, (n) => {
|
|
141
|
+
if (s === void 0) {
|
|
142
|
+
u(n);
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
JSON.stringify(e.getState()) !== JSON.stringify(n[s]) && u(n[s]);
|
|
146
|
+
});
|
|
147
|
+
case "IMPORT_STATE": {
|
|
148
|
+
const { nextLiftedState: n } = r.payload, a = (l = n.computedStates.slice(-1)[0]) == null ? void 0 : l.state;
|
|
149
|
+
if (!a) return;
|
|
150
|
+
u(s === void 0 ? a : a[s]), t?.send(
|
|
151
|
+
null,
|
|
152
|
+
// FIXME no-any
|
|
153
|
+
n
|
|
154
|
+
);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
case "PAUSE_RECORDING":
|
|
158
|
+
return v = !v;
|
|
159
|
+
}
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
}), _;
|
|
163
|
+
}, D = I, T = (i, c) => {
|
|
164
|
+
let o;
|
|
165
|
+
try {
|
|
166
|
+
o = JSON.parse(i);
|
|
167
|
+
} catch (d) {
|
|
168
|
+
console.error(
|
|
169
|
+
"[zustand devtools middleware] Could not parse the received json",
|
|
170
|
+
d
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
o !== void 0 && c(o);
|
|
174
|
+
};
|
|
175
|
+
export {
|
|
176
|
+
D as devtools
|
|
177
|
+
};
|
package/misc.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { addNonEnumerableProperty as c } from "./object.js";
|
|
2
|
+
import { GLOBAL_OBJ as i } from "./worldwide.js";
|
|
3
|
+
function p() {
|
|
4
|
+
const t = i, e = t.crypto || t.msCrypto;
|
|
5
|
+
let n = () => Math.random() * 16;
|
|
6
|
+
try {
|
|
7
|
+
if (e && e.randomUUID)
|
|
8
|
+
return e.randomUUID().replace(/-/g, "");
|
|
9
|
+
e && e.getRandomValues && (n = () => {
|
|
10
|
+
const r = new Uint8Array(1);
|
|
11
|
+
return e.getRandomValues(r), r[0];
|
|
12
|
+
});
|
|
13
|
+
} catch {
|
|
14
|
+
}
|
|
15
|
+
return ("10000000100040008000" + 1e11).replace(
|
|
16
|
+
/[018]/g,
|
|
17
|
+
(r) => (
|
|
18
|
+
// eslint-disable-next-line no-bitwise
|
|
19
|
+
(r ^ (n() & 15) >> r / 4).toString(16)
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
function u(t) {
|
|
24
|
+
return t.exception && t.exception.values ? t.exception.values[0] : void 0;
|
|
25
|
+
}
|
|
26
|
+
function f(t, e, n) {
|
|
27
|
+
const r = t.exception = t.exception || {}, a = r.values = r.values || [], o = a[0] = a[0] || {};
|
|
28
|
+
o.value || (o.value = e || ""), o.type || (o.type = "Error");
|
|
29
|
+
}
|
|
30
|
+
function l(t, e) {
|
|
31
|
+
const n = u(t);
|
|
32
|
+
if (!n)
|
|
33
|
+
return;
|
|
34
|
+
const r = { type: "generic", handled: !0 }, a = n.mechanism;
|
|
35
|
+
if (n.mechanism = { ...r, ...a, ...e }, e && "data" in e) {
|
|
36
|
+
const o = { ...a && a.data, ...e.data };
|
|
37
|
+
n.mechanism.data = o;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function y(t) {
|
|
41
|
+
if (t && t.__sentry_captured__)
|
|
42
|
+
return !0;
|
|
43
|
+
try {
|
|
44
|
+
c(t, "__sentry_captured__", !0);
|
|
45
|
+
} catch {
|
|
46
|
+
}
|
|
47
|
+
return !1;
|
|
48
|
+
}
|
|
49
|
+
function m(t) {
|
|
50
|
+
return Array.isArray(t) ? t : [t];
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
l as addExceptionMechanism,
|
|
54
|
+
f as addExceptionTypeValue,
|
|
55
|
+
m as arrayify,
|
|
56
|
+
y as checkOrSetAlreadyCaught,
|
|
57
|
+
p as uuid4
|
|
58
|
+
};
|
package/misc2.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GLOBAL_OBJ as o } from "./worldwide2.js";
|
|
2
|
+
function c() {
|
|
3
|
+
const r = o, t = r.crypto || r.msCrypto;
|
|
4
|
+
let n = () => Math.random() * 16;
|
|
5
|
+
try {
|
|
6
|
+
if (t && t.randomUUID)
|
|
7
|
+
return t.randomUUID().replace(/-/g, "");
|
|
8
|
+
t && t.getRandomValues && (n = () => {
|
|
9
|
+
const e = new Uint8Array(1);
|
|
10
|
+
return t.getRandomValues(e), e[0];
|
|
11
|
+
});
|
|
12
|
+
} catch {
|
|
13
|
+
}
|
|
14
|
+
return ("10000000100040008000" + 1e11).replace(
|
|
15
|
+
/[018]/g,
|
|
16
|
+
(e) => (
|
|
17
|
+
// eslint-disable-next-line no-bitwise
|
|
18
|
+
(e ^ (n() & 15) >> e / 4).toString(16)
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function i(r) {
|
|
23
|
+
return Array.isArray(r) ? r : [r];
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
i as arrayify,
|
|
27
|
+
c as uuid4
|
|
28
|
+
};
|
package/misc3.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GLOBAL_OBJ as o } from "./worldwide3.js";
|
|
2
|
+
function c() {
|
|
3
|
+
const e = o, t = e.crypto || e.msCrypto;
|
|
4
|
+
let n = () => Math.random() * 16;
|
|
5
|
+
try {
|
|
6
|
+
if (t && t.randomUUID)
|
|
7
|
+
return t.randomUUID().replace(/-/g, "");
|
|
8
|
+
t && t.getRandomValues && (n = () => {
|
|
9
|
+
const r = new Uint8Array(1);
|
|
10
|
+
return t.getRandomValues(r), r[0];
|
|
11
|
+
});
|
|
12
|
+
} catch {
|
|
13
|
+
}
|
|
14
|
+
return ("10000000100040008000" + 1e11).replace(
|
|
15
|
+
/[018]/g,
|
|
16
|
+
(r) => (
|
|
17
|
+
// eslint-disable-next-line no-bitwise
|
|
18
|
+
(r ^ (n() & 15) >> r / 4).toString(16)
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
c as uuid4
|
|
24
|
+
};
|
package/nl_NL.json.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"colorpicker.opacity-input": "Ondoorzichtigheid",
|
|
3
|
+
"datepicker.clear-date": "Datum legen",
|
|
4
|
+
"datepicker.next-month": "Volgende maand",
|
|
5
|
+
"datepicker.open-calendar": "Kalender openen",
|
|
6
|
+
"datepicker.previous-month": "Vorige maand",
|
|
7
|
+
"input.clear": "Invoer wissen",
|
|
8
|
+
"input.hide-password": "Verberg wachtwoord",
|
|
9
|
+
"input.show-password": "Laat wachtwoord zien",
|
|
10
|
+
"modal.close": "Sluiten",
|
|
11
|
+
"multiselectchips.add-value": "Voeg ‘{value}’ toe",
|
|
12
|
+
"multiselectchips.remove-all": "Verwijder alles",
|
|
13
|
+
"pagination.next-page": "Volgende pagina",
|
|
14
|
+
"pagination.previous-page": "Vorige pagina"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
e as default
|
|
18
|
+
};
|