@bynder/compact-view 5.2.1 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/AccessToken.js +5 -0
  2. package/AccessToken2.js +176 -0
  3. package/AccessToken3.js +4 -0
  4. package/ActiveFilter.js +6 -5
  5. package/ActiveFilters.js +24 -24
  6. package/AddMedia.js +1 -1
  7. package/AdditionalInfo.js +18 -0
  8. package/Advanced.js +3 -3
  9. package/App.js +46 -43
  10. package/Arrow.js +14 -0
  11. package/AssetCard.js +32 -29
  12. package/AssetCardMetaproperties.js +14 -13
  13. package/AssetFilter.js +36 -35
  14. package/AssetFilterContext.js +3 -3
  15. package/AssetItem.js +14 -13
  16. package/AssetList.js +7 -7
  17. package/AssetTypeItem.js +13 -12
  18. package/Autocomplete_new.js +41 -37
  19. package/Axios2.js +136 -0
  20. package/AxiosError.js +54 -0
  21. package/AxiosHeaders.js +181 -0
  22. package/AxiosURLSearchParams.js +33 -0
  23. package/Badge.js +44 -0
  24. package/Baloon.js +42 -0
  25. package/BaseStyles.js +10 -0
  26. package/Blob.js +4 -0
  27. package/Box.js +22 -0
  28. package/Button.js +39 -0
  29. package/Button.styles.js +40 -0
  30. package/ButtonAction.js +3 -3
  31. package/ButtonLegacy.js +48 -0
  32. package/ButtonLegacy.styles.js +28 -0
  33. package/CancelToken.js +77 -0
  34. package/CanceledError.js +11 -0
  35. package/Card.js +84 -0
  36. package/CardSkeleton.js +15 -14
  37. package/Checkbox.js +85 -0
  38. package/Checkbox.styles.js +2 -2
  39. package/Checkmark.js +7 -0
  40. package/Chip.js +70 -40
  41. package/Chip2.js +42 -0
  42. package/CollectionCard.js +9 -8
  43. package/CollectionItem.js +15 -14
  44. package/CollectionList.js +2 -2
  45. package/CollectionView.js +2 -2
  46. package/CollectionsView.js +6 -6
  47. package/ColorHexInput.js +31 -0
  48. package/ColorPicker.js +66 -0
  49. package/ColorPickerSolid.js +20 -0
  50. package/ColorPickerWithOpacity.js +37 -0
  51. package/Combobox.js +61 -0
  52. package/ConcealedAction.js +16 -0
  53. package/ConnectButton.js +1 -1
  54. package/Container.js +14 -13
  55. package/Container2.js +31 -0
  56. package/Content.js +16 -0
  57. package/ContextAction.js +18 -17
  58. package/ContextActionButton.js +29 -0
  59. package/ControlGroup.js +32 -0
  60. package/DOMFunctions.js +27 -0
  61. package/Dat.js +62 -50
  62. package/DatDropdownItem.js +20 -19
  63. package/DesignSystemContext.js +4 -4
  64. package/DesignSystemProvider.js +29 -0
  65. package/DirectionSelect.js +16 -15
  66. package/Divider.js +21 -0
  67. package/DomainInput.js +15 -14
  68. package/DragRange.js +25 -0
  69. package/DragSelect.js +11 -11
  70. package/Dropdown.js +12 -11
  71. package/Dropdown2.js +169 -0
  72. package/DropdownContent.js +2 -2
  73. package/DropdownListItem.js +3 -3
  74. package/Enum.js +12 -0
  75. package/ErrorMessage.js +20 -19
  76. package/FieldSelect.js +4 -4
  77. package/FilePlaceholder.js +19 -0
  78. package/FileSelector.js +11 -10
  79. package/Flex.js +21 -0
  80. package/FontPicker.js +104 -0
  81. package/Footer.js +16 -0
  82. package/Form.js +23 -0
  83. package/FormData.js +4 -0
  84. package/Frame.js +64 -0
  85. package/Group.js +17 -0
  86. package/Group2.js +26 -0
  87. package/Header2.js +43 -0
  88. package/Header22.js +15 -0
  89. package/HelperText.js +26 -0
  90. package/HorizontalScroll.js +4 -4
  91. package/HttpHandler.js +74 -0
  92. package/HttpResponse.js +85 -0
  93. package/HttpStatusCode.js +71 -0
  94. package/IconPlaceholder.js +18 -0
  95. package/Image.js +19 -0
  96. package/Images.js +30 -0
  97. package/Indicator.js +74 -0
  98. package/InfiniteScroll.js +8 -8
  99. package/InlineBanner.js +51 -0
  100. package/Input.js +109 -0
  101. package/Input.styles.js +71 -0
  102. package/InputContainer.js +9 -0
  103. package/InputField.js +74 -0
  104. package/InputRow.js +18 -0
  105. package/Inspector.js +34 -0
  106. package/InteractiveIcon.js +28 -0
  107. package/InterceptorManager.js +58 -0
  108. package/Item.js +107 -0
  109. package/Item2.js +14 -0
  110. package/Item4.js +190 -0
  111. package/Label.js +33 -0
  112. package/LeftArrow.js +3 -3
  113. package/List.js +25 -0
  114. package/ListItem.js +11 -0
  115. package/ListItem2.js +58 -0
  116. package/ListItem4.js +37 -0
  117. package/MetapropertyFilterContent.js +2 -2
  118. package/MetapropertyOption.js +2 -3
  119. package/Middleware.js +49 -0
  120. package/Middleware2.js +49 -0
  121. package/Modal.js +2 -2
  122. package/Modal2.js +31 -0
  123. package/ModalBase.js +117 -0
  124. package/ModalBase.styles.js +75 -0
  125. package/ModalConfirmation.js +8 -0
  126. package/NoResults.js +16 -15
  127. package/OffsetContext.js +9 -0
  128. package/Oops.js +1 -1
  129. package/OpacityInput.js +17 -0
  130. package/Option_new.js +19 -18
  131. package/Overlay.js +35 -0
  132. package/Parser.js +131 -0
  133. package/Prefixer.js +187 -0
  134. package/Radio.js +78 -0
  135. package/RadioGroup.js +25 -0
  136. package/RangeInput.js +41 -0
  137. package/RefreshingSpinner.js +3 -3
  138. package/ReportModal.js +16 -14
  139. package/RequestHandler.js +119 -0
  140. package/RightArrow.js +4 -4
  141. package/Row.js +16 -0
  142. package/SearchInput.js +15 -15
  143. package/SearchInput2.js +46 -0
  144. package/SectionTitle.js +17 -0
  145. package/Select.js +49 -0
  146. package/SelectButtonText.js +16 -0
  147. package/SelectedItemContainer.js +11 -10
  148. package/SelectedItems.js +2 -2
  149. package/SelectionFooter.js +8 -7
  150. package/Serializer.js +27 -0
  151. package/ShadowRootInternal.js +17 -17
  152. package/Sidebar.js +17 -0
  153. package/Skeleton.js +6 -6
  154. package/Slider.constants.js +6 -0
  155. package/Slider.js +128 -0
  156. package/SmartFilterContent.js +2 -2
  157. package/SmartFilterSelect_new.js +2 -2
  158. package/Smartfilters_new.js +53 -50
  159. package/Spinner.js +2 -2
  160. package/Spinner2.js +15 -0
  161. package/StatefulAssetList.js +15 -15
  162. package/Stats.js +16 -0
  163. package/StatsItem.js +23 -0
  164. package/Status.js +32 -0
  165. package/Switch.js +82 -0
  166. package/SwitchNLS.js +26 -23
  167. package/Tabs2.js +10 -0
  168. package/TagItem.js +8 -8
  169. package/Tags.js +9 -9
  170. package/Text2.js +11 -0
  171. package/Text22.js +18 -0
  172. package/Text4.js +18 -0
  173. package/Textarea.js +92 -0
  174. package/Theming.js +4 -4
  175. package/Thumb.js +28 -0
  176. package/Thumbnail.js +91 -0
  177. package/Tokenizer.js +147 -0
  178. package/Toolbar.js +13 -12
  179. package/Tooltip.js +2 -2
  180. package/Tooltip2.js +111 -0
  181. package/TruncatedText.js +34 -0
  182. package/URLSearchParams.js +5 -0
  183. package/Utility.js +56 -0
  184. package/ViewSwitch.js +8 -7
  185. package/_check_private_redeclaration.js +7 -0
  186. package/_class_apply_descriptor_get.js +6 -0
  187. package/_class_apply_descriptor_set.js +11 -0
  188. package/_class_extract_field_descriptor.js +7 -0
  189. package/_class_private_field_get.js +9 -0
  190. package/_class_private_field_init.js +7 -0
  191. package/_class_private_field_set.js +9 -0
  192. package/_commonjsHelpers.js +6 -0
  193. package/adapters.js +53 -0
  194. package/api.js +25 -0
  195. package/api2.js +40 -0
  196. package/api3.js +406 -0
  197. package/applyScopeDataToEvent.js +83 -0
  198. package/applyScopeDataToEvent2.js +55 -0
  199. package/asset.type.js +9 -9
  200. package/autocomplete.js +2 -2
  201. package/axios.js +46 -0
  202. package/base.js +57 -0
  203. package/baseclient.js +498 -0
  204. package/bind.js +8 -0
  205. package/browser.js +44 -0
  206. package/buildFullPath.js +9 -0
  207. package/buildURL.js +23 -0
  208. package/bundle.esm.js +81 -0
  209. package/calculateContainerMaxHeight.js +12 -0
  210. package/calculateNodeHeight.js +35 -0
  211. package/carrier.js +13 -0
  212. package/chain.js +8 -0
  213. package/checkGlobals.js +13 -0
  214. package/checks.js +178 -0
  215. package/chunk-6HYIRFX2.js +1 -0
  216. package/cleanUrl.js +11 -0
  217. package/client.js +76 -0
  218. package/clientreport.js +15 -0
  219. package/clsx.js +17 -0
  220. package/colorTransforms.js +12 -0
  221. package/combineMetaproperties.js +1 -1
  222. package/combineURLs.js +6 -0
  223. package/composeSignals.js +30 -0
  224. package/constants.js +2 -12
  225. package/constants2.js +82 -0
  226. package/constants3.js +14 -0
  227. package/constants4.js +8 -0
  228. package/constants5.js +4 -0
  229. package/constants6.js +4 -0
  230. package/context.js +12 -0
  231. package/context10.js +12 -0
  232. package/context2.js +9 -0
  233. package/context3.js +12 -0
  234. package/context6.js +5 -0
  235. package/cookieStore.js +116 -0
  236. package/cookies.js +32 -0
  237. package/core.js +42 -0
  238. package/currentScopes.js +9 -0
  239. package/data.js +4 -0
  240. package/de_DE.json.js +18 -0
  241. package/debug-build.js +4 -0
  242. package/debug-build2.js +4 -0
  243. package/debug-build3.js +4 -0
  244. package/debug-build4.js +4 -0
  245. package/debug-build5.js +4 -0
  246. package/debug-build6.js +4 -0
  247. package/decorators.js +37 -0
  248. package/defaultScopes.js +12 -0
  249. package/devUtils.js +20 -0
  250. package/dispatchRequest.js +31 -0
  251. package/doc.js +26 -0
  252. package/domHelpers.js +15 -0
  253. package/dsn.js +54 -0
  254. package/dynamicSamplingContext.js +34 -0
  255. package/dynamicSamplingContext2.js +34 -0
  256. package/emotion-unitless.esm.js +52 -0
  257. package/en_US.json.js +23 -0
  258. package/englishText-12403056.js +6 -0
  259. package/env.js +6 -0
  260. package/envelope.js +113 -0
  261. package/envelope2.js +23 -0
  262. package/envelope3.js +24 -0
  263. package/error.js +9 -0
  264. package/errors.js +33 -0
  265. package/errors2.js +55 -0
  266. package/es_ES.json.js +18 -0
  267. package/es_MX.json.js +18 -0
  268. package/eventProcessors.js +27 -0
  269. package/eventProcessors2.js +23 -0
  270. package/eventbuilder.js +128 -0
  271. package/exports.js +11 -0
  272. package/exports2.js +16 -0
  273. package/exports3.js +8 -0
  274. package/fetch.js +44 -0
  275. package/fetch2.js +141 -0
  276. package/filterAssets.js +1 -1
  277. package/fixFontSpaceInUrl.js +8 -0
  278. package/focusWithoutScrolling.js +45 -0
  279. package/forceHiddenStyles.js +19 -0
  280. package/formDataToJSON.js +31 -0
  281. package/fr_FR.json.js +18 -0
  282. package/getAbsoluteUrl.js +13 -0
  283. package/getAsset.js +1 -1
  284. package/getAssetCounts.js +1 -1
  285. package/getAssets.js +2 -2
  286. package/getCallFrame.js +12 -0
  287. package/getCollections.js +1 -1
  288. package/getFilterOptions.js +1 -1
  289. package/getFilters.js +1 -1
  290. package/getFilters_new.js +1 -1
  291. package/getRequestCookies.js +40 -0
  292. package/getRootSpan.js +6 -0
  293. package/getRootSpan2.js +6 -0
  294. package/getSimilarityAssets.js +1 -1
  295. package/getSizingData.js +45 -0
  296. package/getStatusCodeColor.js +6 -0
  297. package/getThumbPosition.js +6 -0
  298. package/getTimestamp.js +7 -0
  299. package/getUseLayerOptions.js +49 -0
  300. package/handlers.js +92 -6
  301. package/handlers2.js +6 -0
  302. package/helpers.js +3 -4
  303. package/helpers2.js +6 -0
  304. package/hexFromPercentage.js +7 -0
  305. package/http.js +17 -0
  306. package/hub.js +446 -0
  307. package/hub2.js +442 -0
  308. package/immer.js +472 -0
  309. package/import.js +7 -0
  310. package/index-esm.js +10781 -0
  311. package/index-esm2.js +138 -0
  312. package/index-esm3.js +131 -0
  313. package/index.browser.js +11 -0
  314. package/index.module.js +57 -0
  315. package/index.module2.js +72 -0
  316. package/index.module3.js +57 -0
  317. package/index10.js +20 -0
  318. package/index102.js +273 -0
  319. package/index11.js +18 -0
  320. package/index112.js +29 -0
  321. package/index12.js +38 -0
  322. package/index13.js +2432 -0
  323. package/index14.js +558 -0
  324. package/index15.js +58 -0
  325. package/index16.js +4 -0
  326. package/index17.js +89 -0
  327. package/index18.js +9 -0
  328. package/index19.js +62 -0
  329. package/index20.js +15 -0
  330. package/index21.js +11 -0
  331. package/index22.js +42 -0
  332. package/index23.js +9 -0
  333. package/index24.js +10 -0
  334. package/index25.js +7 -0
  335. package/index26.js +12 -0
  336. package/index27.js +11 -0
  337. package/index28.js +639 -0
  338. package/index29.js +76 -0
  339. package/index3.js +5 -53
  340. package/index30.js +7 -0
  341. package/index31.js +22 -0
  342. package/index32.js +2 -0
  343. package/index33.js +7 -0
  344. package/index34.js +20 -0
  345. package/index35.js +8 -0
  346. package/index36.js +4 -0
  347. package/index37.js +13 -0
  348. package/index38.js +13 -0
  349. package/index39.js +15 -0
  350. package/index4.js +1684 -17
  351. package/index40.js +13 -0
  352. package/index41.js +21 -0
  353. package/index42.js +66 -0
  354. package/index43.js +8 -0
  355. package/index44.js +57 -0
  356. package/index45.js +69 -0
  357. package/index46.js +33 -0
  358. package/index47.js +13 -0
  359. package/index48.js +123 -0
  360. package/index49.js +88 -0
  361. package/index5.js +27 -0
  362. package/index50.js +10 -0
  363. package/index51.js +13 -0
  364. package/index52.js +16 -0
  365. package/index53.js +16 -0
  366. package/index54.js +9 -0
  367. package/index55.js +9 -0
  368. package/index56.js +17 -0
  369. package/index57.js +31 -0
  370. package/index58.js +18 -0
  371. package/index6.js +315 -0
  372. package/index7.js +4 -0
  373. package/index72.js +228 -0
  374. package/index8.js +5051 -0
  375. package/index82.js +8 -0
  376. package/index9.js +55 -0
  377. package/index92.js +12 -0
  378. package/integration.js +38 -0
  379. package/is.js +77 -0
  380. package/is2.js +14 -0
  381. package/is3.js +14 -0
  382. package/isAbsoluteURL.js +6 -0
  383. package/isAbsoluteUrl2.js +6 -0
  384. package/isAxiosError.js +7 -0
  385. package/isCancel.js +6 -0
  386. package/isIterable.js +6 -0
  387. package/isStringEqual.js +6 -0
  388. package/isURLSameOrigin.js +8 -0
  389. package/isValidHexValue.js +6 -0
  390. package/isVirtualEvent.js +11 -0
  391. package/iso.js +38 -0
  392. package/it_IT.json.js +18 -0
  393. package/itemContext.js +5 -0
  394. package/ja_JP.json.js +18 -0
  395. package/ko_KR.json.js +18 -0
  396. package/localStorageHelper.js +32 -0
  397. package/localStorageHelper2.js +4 -0
  398. package/localization.js +46 -0
  399. package/logger2.js +56 -0
  400. package/logger3.js +56 -0
  401. package/logger4.js +56 -0
  402. package/makeHexWithOpacity.js +12 -0
  403. package/makeInternalTokens.js +22 -0
  404. package/matchRequestUrl.js +23 -0
  405. package/memo.js +25 -0
  406. package/merge.js +13 -0
  407. package/mergeConfig.js +70 -0
  408. package/mergeProps.js +22 -0
  409. package/mergeRefs.js +9 -0
  410. package/middleware.js +177 -0
  411. package/middleware2.js +177 -0
  412. package/misc.js +58 -0
  413. package/misc2.js +28 -0
  414. package/misc3.js +24 -0
  415. package/nl_NL.json.js +18 -0
  416. package/normalize.js +97 -0
  417. package/normalizePath.js +11 -0
  418. package/normalizeResponse.js +1 -1
  419. package/normalizeRows.js +10 -0
  420. package/notify.js +52 -0
  421. package/null.js +4 -0
  422. package/object.js +110 -0
  423. package/object2.js +39 -0
  424. package/object3.js +17 -0
  425. package/opacityPercentageFromHex.js +9 -0
  426. package/openLink.js +27 -0
  427. package/package.json +1 -1
  428. package/packageVersion.js +4 -0
  429. package/parse.js +9 -0
  430. package/parse2.js +44 -0
  431. package/parseHeaders.js +30 -0
  432. package/parseProtocol.js +7 -0
  433. package/pl_PL.json.js +18 -0
  434. package/platform.js +42 -0
  435. package/prepareEvent.js +141 -0
  436. package/prepareEvent2.js +5 -0
  437. package/prepareEvent3.js +5 -0
  438. package/progressEventReducer.js +35 -0
  439. package/promisebuffer.js +44 -0
  440. package/propagationContext.js +11 -0
  441. package/pt_BR.json.js +18 -0
  442. package/ratelimit.js +37 -0
  443. package/react.js +19 -0
  444. package/react2.js +19 -0
  445. package/regexes.js +51 -0
  446. package/registries.js +41 -0
  447. package/resolveConfig.js +33 -0
  448. package/ru_RU.json.js +18 -0
  449. package/runAfterTransition.js +35 -0
  450. package/schemas.js +368 -0
  451. package/schemas2.js +691 -0
  452. package/scope.js +412 -0
  453. package/scope2.js +407 -0
  454. package/scope3.js +348 -0
  455. package/sdk-DhxX43BH.js +4813 -0
  456. package/sdkMetadata.js +15 -0
  457. package/serializeRequest.js +12 -0
  458. package/serializeResponse.js +14 -0
  459. package/session.js +57 -0
  460. package/session2.js +57 -0
  461. package/session3.js +16 -0
  462. package/settle.js +14 -0
  463. package/shadowdom.js +13 -0
  464. package/shadowdom2.js +13 -0
  465. package/spanOnScope.js +12 -0
  466. package/spanUtils.js +31 -0
  467. package/spanUtils2.js +31 -0
  468. package/speedometer.js +19 -0
  469. package/spread.js +8 -0
  470. package/stack-parsers.js +48 -0
  471. package/stackStrategy.js +98 -0
  472. package/stacktrace.js +49 -0
  473. package/state.js +106 -0
  474. package/store/useDatStore.d.ts +11 -8
  475. package/string.js +6 -0
  476. package/styled-components.browser.esm.js +530 -0
  477. package/styles.js +55 -0
  478. package/styles2.js +17 -0
  479. package/supports.js +6 -0
  480. package/syncpromise.js +121 -0
  481. package/syncpromise2.js +109 -0
  482. package/textSelection.js +33 -0
  483. package/textStyles.js +20 -0
  484. package/theme.js +238 -0
  485. package/themeContainers.js +20 -0
  486. package/themes3.js +26 -0
  487. package/throttle.js +15 -0
  488. package/time.js +24 -0
  489. package/time2.js +24 -0
  490. package/time3.js +24 -0
  491. package/toFormData.js +85 -0
  492. package/toPublicUrl.js +9 -0
  493. package/toURLEncodedForm.js +13 -0
  494. package/token.js +236 -0
  495. package/tokenExpirationHelper.js +48 -0
  496. package/tokenExpirationHelper2.js +4 -0
  497. package/tokensAndThemes.js +92 -0
  498. package/tr_TR.json.js +18 -0
  499. package/trackStream.js +63 -0
  500. package/transformData.js +13 -0
  501. package/transitional.js +8 -0
  502. package/trimMetapropertyValue.js +1 -1
  503. package/tslib.es6.js +18 -0
  504. package/typeof.js +11 -0
  505. package/urlHelper.js +15 -0
  506. package/urlHelper2.js +4 -0
  507. package/useAutoHeight.js +25 -0
  508. package/useDatStore.js +31 -27
  509. package/useEffectEvent.js +18 -0
  510. package/useFocus.js +30 -0
  511. package/useFocusRing.js +34 -0
  512. package/useFocusVisible.js +92 -0
  513. package/useFocusWithin.js +57 -0
  514. package/useFonts.js +118 -0
  515. package/useGlobalListeners.js +34 -0
  516. package/useGroupContext.js +10 -0
  517. package/useHover.js +79 -0
  518. package/useId.js +8 -0
  519. package/useId2.js +17 -0
  520. package/useKeyDown.js +14 -0
  521. package/useLayoutEffect.js +6 -0
  522. package/useOrderingStore.js +6 -6
  523. package/usePress.js +359 -0
  524. package/useRouterStore.js +6 -6
  525. package/useScrollHighlightedIntoView.js +24 -0
  526. package/useSearchStore.js +5 -5
  527. package/useSimilaritySearchStore.js +6 -6
  528. package/useSyncRef.js +12 -0
  529. package/useTranslate.js +13 -0
  530. package/useZIndex.js +9 -0
  531. package/userfeedback.js +28 -0
  532. package/util.js +265 -0
  533. package/utils/fixFontSpaceInUrl.d.ts +1 -0
  534. package/utils.js +26 -44
  535. package/utils2.js +43 -45
  536. package/utils3.js +50 -0
  537. package/utils4.js +12 -0
  538. package/utils5.js +71 -0
  539. package/utils6.js +222 -0
  540. package/utils7.js +9 -0
  541. package/utils8.js +70 -0
  542. package/validator.js +54 -0
  543. package/vanilla.js +14 -0
  544. package/vanilla2.js +14 -0
  545. package/version.js +4 -0
  546. package/version2.js +4 -0
  547. package/version3.js +4 -0
  548. package/versionContext.js +9 -0
  549. package/versions.js +8 -0
  550. package/worldwide.js +19 -0
  551. package/worldwide2.js +15 -0
  552. package/worldwide3.js +10 -0
  553. package/xhr.js +71 -0
  554. package/zh_CN.json.js +18 -0
  555. package/zh_TW.json.js +18 -0
package/AccessToken.js ADDED
@@ -0,0 +1,5 @@
1
+ import { __require as e } from "./AccessToken2.js";
2
+ var s = e();
3
+ export {
4
+ s as A
5
+ };
@@ -0,0 +1,176 @@
1
+ import { __exports as a } from "./AccessToken3.js";
2
+ import { __require as x } from "./index15.js";
3
+ import { __require as O } from "./localStorageHelper.js";
4
+ import { __require as E } from "./tokenExpirationHelper.js";
5
+ import { __require as H } from "./urlHelper.js";
6
+ var T;
7
+ function J() {
8
+ return T ? a : (T = 1, (function(f) {
9
+ var p = a && a.__createBinding || (Object.create ? (function(i, e, t, u) {
10
+ u === void 0 && (u = t);
11
+ var c = Object.getOwnPropertyDescriptor(e, t);
12
+ (!c || ("get" in c ? !e.__esModule : c.writable || c.configurable)) && (c = { enumerable: !0, get: function() {
13
+ return e[t];
14
+ } }), Object.defineProperty(i, u, c);
15
+ }) : (function(i, e, t, u) {
16
+ u === void 0 && (u = t), i[u] = e[t];
17
+ })), y = a && a.__setModuleDefault || (Object.create ? (function(i, e) {
18
+ Object.defineProperty(i, "default", { enumerable: !0, value: e });
19
+ }) : function(i, e) {
20
+ i.default = e;
21
+ }), g = a && a.__importStar || function(i) {
22
+ if (i && i.__esModule) return i;
23
+ var e = {};
24
+ if (i != null) for (var t in i) t !== "default" && Object.prototype.hasOwnProperty.call(i, t) && p(e, i, t);
25
+ return y(e, i), e;
26
+ }, w = a && a.__awaiter || function(i, e, t, u) {
27
+ function c(r) {
28
+ return r instanceof t ? r : new t(function(o) {
29
+ o(r);
30
+ });
31
+ }
32
+ return new (t || (t = Promise))(function(r, o) {
33
+ function _(s) {
34
+ try {
35
+ n(u.next(s));
36
+ } catch (b) {
37
+ o(b);
38
+ }
39
+ }
40
+ function v(s) {
41
+ try {
42
+ n(u.throw(s));
43
+ } catch (b) {
44
+ o(b);
45
+ }
46
+ }
47
+ function n(s) {
48
+ s.done ? r(s.value) : c(s.value).then(_, v);
49
+ }
50
+ n((u = u.apply(i, e || [])).next());
51
+ });
52
+ }, h = a && a.__generator || function(i, e) {
53
+ var t = { label: 0, sent: function() {
54
+ if (r[0] & 1) throw r[1];
55
+ return r[1];
56
+ }, trys: [], ops: [] }, u, c, r, o;
57
+ return o = { next: _(0), throw: _(1), return: _(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
58
+ return this;
59
+ }), o;
60
+ function _(n) {
61
+ return function(s) {
62
+ return v([n, s]);
63
+ };
64
+ }
65
+ function v(n) {
66
+ if (u) throw new TypeError("Generator is already executing.");
67
+ for (; o && (o = 0, n[0] && (t = 0)), t; ) try {
68
+ if (u = 1, c && (r = n[0] & 2 ? c.return : n[0] ? c.throw || ((r = c.return) && r.call(c), 0) : c.next) && !(r = r.call(c, n[1])).done) return r;
69
+ switch (c = 0, r && (n = [n[0] & 2, r.value]), n[0]) {
70
+ case 0:
71
+ case 1:
72
+ r = n;
73
+ break;
74
+ case 4:
75
+ return t.label++, { value: n[1], done: !1 };
76
+ case 5:
77
+ t.label++, c = n[1], n = [0];
78
+ continue;
79
+ case 7:
80
+ n = t.ops.pop(), t.trys.pop();
81
+ continue;
82
+ default:
83
+ if (r = t.trys, !(r = r.length > 0 && r[r.length - 1]) && (n[0] === 6 || n[0] === 2)) {
84
+ t = 0;
85
+ continue;
86
+ }
87
+ if (n[0] === 3 && (!r || n[1] > r[0] && n[1] < r[3])) {
88
+ t.label = n[1];
89
+ break;
90
+ }
91
+ if (n[0] === 6 && t.label < r[1]) {
92
+ t.label = r[1], r = n;
93
+ break;
94
+ }
95
+ if (r && t.label < r[2]) {
96
+ t.label = r[2], t.ops.push(n);
97
+ break;
98
+ }
99
+ r[2] && t.ops.pop(), t.trys.pop();
100
+ continue;
101
+ }
102
+ n = e.call(i, t);
103
+ } catch (s) {
104
+ n = [6, s], c = 0;
105
+ } finally {
106
+ u = r = 0;
107
+ }
108
+ if (n[0] & 5) throw n[1];
109
+ return { value: n[0] ? n[1] : void 0, done: !0 };
110
+ }
111
+ };
112
+ Object.defineProperty(f, "__esModule", { value: !0 }), f.invalidateAccessToken = void 0, f.getJWT = A, f.decodeJWT = q;
113
+ var j = x(), l = g(O()), d = E();
114
+ Object.defineProperty(f, "invalidateAccessToken", { enumerable: !0, get: function() {
115
+ return d.invalidateAccessToken;
116
+ } });
117
+ var k = H();
118
+ function m(i) {
119
+ return w(this, void 0, void 0, function() {
120
+ var e;
121
+ return h(this, function(t) {
122
+ switch (t.label) {
123
+ case 0:
124
+ return [4, fetch((0, k.getIdpAccessToken)(i), {
125
+ credentials: "include"
126
+ }).then(function(u) {
127
+ return u.json();
128
+ })];
129
+ case 1:
130
+ if (e = t.sent(), !e || !e.access_token)
131
+ throw new Error("Could not retrieve access token");
132
+ return [2, {
133
+ jwt: e.access_token,
134
+ expiryTimestamp: e.expires_in
135
+ }];
136
+ }
137
+ });
138
+ });
139
+ }
140
+ function A(i) {
141
+ return w(this, void 0, void 0, function() {
142
+ var e, t, u, c;
143
+ return h(this, function(r) {
144
+ switch (r.label) {
145
+ case 0:
146
+ if (e = l.loadAccessToken(), t = e?.jwt && !(0, d.isExpired)(e), t)
147
+ return [2, e.jwt];
148
+ if (!l.getIsAccessTokenLoading()) return [3, 4];
149
+ u = 5, c = 0, r.label = 1;
150
+ case 1:
151
+ return c < u && l.getIsAccessTokenLoading() ? [4, new Promise(function(o) {
152
+ return setTimeout(o, 200);
153
+ })] : [3, 4];
154
+ case 2:
155
+ if (r.sent(), e = l.loadAccessToken(), e?.jwt && !(0, d.isExpired)(e))
156
+ return [2, e.jwt];
157
+ r.label = 3;
158
+ case 3:
159
+ return c++, [3, 1];
160
+ case 4:
161
+ return l.setAccessTokenLastRequestTime(Date.now()), [4, m(i)];
162
+ case 5:
163
+ return e = r.sent(), l.storeAccessToken(e), (0, d.setExpiryTimeout)(e), [2, e.jwt];
164
+ }
165
+ });
166
+ });
167
+ }
168
+ function q(i) {
169
+ return (0, j.jwtDecode)(i);
170
+ }
171
+ window.addEventListener("beforeunload", d.invalidateAccessToken);
172
+ })(a), a);
173
+ }
174
+ export {
175
+ J as __require
176
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
package/ActiveFilter.js CHANGED
@@ -1,8 +1,9 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import r from "styled-components";
3
- import { token as i, Chip as o } from "@bynder/design-system";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import e from "./styled-components.browser.esm.js";
3
+ import { Chip as o } from "./Chip.js";
4
+ import { token as i } from "./token.js";
4
5
  function l(t) {
5
- return /* @__PURE__ */ e(
6
+ return /* @__PURE__ */ r(
6
7
  n,
7
8
  {
8
9
  icon: t.icon,
@@ -13,7 +14,7 @@ function l(t) {
13
14
  }
14
15
  );
15
16
  }
16
- const n = r(o)`
17
+ const n = e(o)`
17
18
  background-color: transparent;
18
19
  margin-right: ${i.spacing3};
19
20
  border: 1px solid ${i.gray50};
package/ActiveFilters.js CHANGED
@@ -1,49 +1,49 @@
1
1
  import { jsx as i, jsxs as f } from "react/jsx-runtime";
2
- import h from "styled-components";
3
- import { Button as v } from "@bynder/design-system";
4
- import { assetTypeToString as y, getAssetTypeIcon as u } from "./asset.type.js";
2
+ import h from "./styled-components.browser.esm.js";
3
+ import { Button as v } from "./Button.js";
4
+ import { assetTypeToString as u, getAssetTypeIcon as y } from "./asset.type.js";
5
5
  import { HorizontalScroll as x } from "./HorizontalScroll.js";
6
6
  import { useAssetFilter as A } from "./AssetFilterContext.js";
7
- import { ActiveFilter as s } from "./ActiveFilter.js";
7
+ import { ActiveFilter as o } from "./ActiveFilter.js";
8
8
  import { __ as d } from "./index2.js";
9
9
  import { useSimilaritySearchStore as g } from "./useSimilaritySearchStore.js";
10
10
  function B() {
11
- const t = A(), {
12
- isSelected: o,
11
+ const e = A(), {
12
+ isSelected: s,
13
13
  setIsSelected: l,
14
14
  isNLSSelected: c,
15
15
  setIsNLSSelected: n,
16
16
  NLSSearchText: a,
17
17
  setNLSSearchText: m
18
- } = g(), S = Object.values(t.selectedSmartfilterOptions || {}), p = S.length === 0 && t.assetTypes.length === 0 && t.tags.length === 0 && !o && !(c && a) ? void 0 : /* @__PURE__ */ i(k, { children: /* @__PURE__ */ i(
18
+ } = g(), S = Object.values(e.selectedSmartfilterOptions || {}), p = S.length === 0 && e.assetTypes.length === 0 && e.tags.length === 0 && !s && !(c && a) ? void 0 : /* @__PURE__ */ i(k, { children: /* @__PURE__ */ i(
19
19
  v,
20
20
  {
21
21
  variant: "clean",
22
22
  isSmall: !0,
23
23
  onClick: () => {
24
- t.clear(), l(!1), n(!1), m(void 0);
24
+ e.clear(), l(!1), n(!1), m(void 0);
25
25
  },
26
26
  children: d("Clear filters")
27
27
  }
28
28
  ) });
29
29
  return /* @__PURE__ */ i("div", { "data-testid": "selected-filter-list", children: /* @__PURE__ */ f(x, { isActiveFilter: !0, static: p, children: [
30
- t.assetTypes.map((e) => {
31
- const r = u(e);
30
+ e.assetTypes.map((t) => {
31
+ const r = y(t);
32
32
  return /* @__PURE__ */ i(
33
- s,
33
+ o,
34
34
  {
35
- onClick: () => t.removeAssetType(e),
36
- title: y(e),
35
+ onClick: () => e.removeAssetType(t),
36
+ title: u(t),
37
37
  icon: /* @__PURE__ */ i(r, {})
38
38
  },
39
- e
39
+ t
40
40
  );
41
41
  }),
42
42
  S.map(
43
- (e) => Object.values(e).map((r) => /* @__PURE__ */ i(
44
- s,
43
+ (t) => Object.values(t).map((r) => /* @__PURE__ */ i(
44
+ o,
45
45
  {
46
- onClick: () => t.removeSmartfilterOption(
46
+ onClick: () => e.removeSmartfilterOption(
47
47
  r.metapropertyName,
48
48
  r.id
49
49
  ),
@@ -52,16 +52,16 @@ function B() {
52
52
  r.id
53
53
  ))
54
54
  ),
55
- t.tags.map((e) => /* @__PURE__ */ i(
56
- s,
55
+ e.tags.map((t) => /* @__PURE__ */ i(
56
+ o,
57
57
  {
58
- onClick: () => t.removeTag(e),
59
- title: e
58
+ onClick: () => e.removeTag(t),
59
+ title: t
60
60
  },
61
- e
61
+ t
62
62
  )),
63
- (o || c && a) && /* @__PURE__ */ i(
64
- s,
63
+ (s || c && a) && /* @__PURE__ */ i(
64
+ o,
65
65
  {
66
66
  onClick: () => {
67
67
  l(!1), n(!1), m(void 0);
package/AddMedia.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as x, Fragment as L, jsx as c } from "react/jsx-runtime";
2
2
  import { useRef as b, useState as C, useEffect as E } from "react";
3
- import { Button as A } from "@bynder/design-system";
3
+ import { Button as A } from "./Button.js";
4
4
  import { useConfig as M } from "./ConfigContext.js";
5
5
  import { useAuth as O } from "./LoginContext.js";
6
6
  import { useSelection as T } from "./SelectionContext.js";
@@ -0,0 +1,18 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import r from "./styled-components.browser.esm.js";
3
+ import { textStyles as a } from "./textStyles.js";
4
+ import { token as t } from "./token.js";
5
+ function c({
6
+ children: o,
7
+ padding: d = "all",
8
+ ...i
9
+ }) {
10
+ return /* @__PURE__ */ n(l, { $padding: d, ...i, children: o });
11
+ }
12
+ const l = r.div.withConfig({
13
+ displayName: "AdditionalInfoStyled",
14
+ componentId: "sc-95p2dl-0"
15
+ })(["", " padding:", ";border-top:1px solid ", ";color:", ";"], a.uiTextS, (o) => o.$padding === "all" ? "var(--card-content-padding)" : "0", t.gray100a, t.colorText);
16
+ export {
17
+ c as AdditionalInfo
18
+ };
package/Advanced.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as c, Fragment as d } from "react/jsx-runtime";
2
- import { styled as o } from "styled-components";
3
- import { token as i } from "@bynder/design-system";
4
- import { IconAdjust as g } from "@bynder/icons";
2
+ import o from "./styled-components.browser.esm.js";
3
+ import { token as i } from "./token.js";
4
+ import { IconAdjust as g } from "./index4.js";
5
5
  import { Dropdown as p } from "./Dropdown.js";
6
6
  import { __ as m } from "./index2.js";
7
7
  import { useConfig as l } from "./ConfigContext.js";
package/App.js CHANGED
@@ -1,37 +1,40 @@
1
1
  import { jsx as e, jsxs as n, Fragment as b } from "react/jsx-runtime";
2
- import { BrowserClient as F, makeFetchTransport as I, defaultStackParser as T, Hub as V } from "@sentry/browser";
3
- import { CollectionsView as D } from "./CollectionsView.js";
4
- import { CollectionView as O } from "./CollectionView.js";
5
- import { ConfigProvider as k, useConfig as y } from "./ConfigContext.js";
6
- import { AssetFilter as E } from "./AssetFilter.js";
7
- import { useLocalization as M } from "./index2.js";
8
- import { ShadowRoot as R } from "./ShadowRoot.js";
9
- import { AssetFilterProvider as U } from "./AssetFilterContext.js";
10
- import { SelectionProvider as x } from "./SelectionContext.js";
11
- import { ThemeStyles as j } from "./Theming.js";
12
- import { Toolbar as z } from "./Toolbar.js";
13
- import { AssetsView as H } from "./AssetsView.js";
14
- import { SelectionFooter as N } from "./SelectionFooter.js";
15
- import { Shield as B } from "./Shield.js";
16
- import { Dat as G } from "./Dat.js";
2
+ import { CollectionsView as F } from "./CollectionsView.js";
3
+ import { CollectionView as I } from "./CollectionView.js";
4
+ import { ConfigProvider as T, useConfig as V } from "./ConfigContext.js";
5
+ import { AssetFilter as D } from "./AssetFilter.js";
6
+ import { useLocalization as O } from "./index2.js";
7
+ import { ShadowRoot as k } from "./ShadowRoot.js";
8
+ import { AssetFilterProvider as y } from "./AssetFilterContext.js";
9
+ import { SelectionProvider as E } from "./SelectionContext.js";
10
+ import { ThemeStyles as M } from "./Theming.js";
11
+ import { Toolbar as R } from "./Toolbar.js";
12
+ import { AssetsView as U } from "./AssetsView.js";
13
+ import { SelectionFooter as x } from "./SelectionFooter.js";
14
+ import { Shield as j } from "./Shield.js";
15
+ import { Dat as z } from "./Dat.js";
17
16
  import "./DatDropdownItem.js";
18
- import { useRouterSelectors as L } from "./useRouterStore.js";
19
- import { useClearCollectionOnPageChange as _ } from "./useSearchStore.js";
20
- import { useDat as q } from "./useDatStore.js";
21
- import { StoreInitializer as J } from "./StoreInitializer.js";
17
+ import { useRouterSelectors as H } from "./useRouterStore.js";
18
+ import { useClearCollectionOnPageChange as N } from "./useSearchStore.js";
19
+ import { useDat as B } from "./useDatStore.js";
20
+ import { StoreInitializer as G } from "./StoreInitializer.js";
21
+ import { BrowserClient as L } from "./client.js";
22
+ import { makeFetchTransport as _ } from "./fetch.js";
23
+ import { defaultStackParser as q } from "./stack-parsers.js";
24
+ import { Hub as J } from "./hub.js";
22
25
  let s;
23
- s = new F({
26
+ s = new L({
24
27
  dsn: "https://dd74b64cc05845468f0c3654b458da29@sentry10.bynder.cloud/464",
25
28
  autoSessionTracking: !0,
26
29
  tracesSampleRate: 1,
27
30
  integrations: [],
28
- stackParser: T,
29
- transport: I
30
- }), new V(s);
31
- function he({
31
+ stackParser: q,
32
+ transport: _
33
+ }), new J(s);
34
+ function Ce({
32
35
  assetFieldSelection: o,
33
36
  assetFilter: r,
34
- assetTypes: m = ["IMAGE", "AUDIO", "VIDEO", "DOCUMENT", "ARCHIVE"],
37
+ assetTypes: c = ["IMAGE", "AUDIO", "VIDEO", "DOCUMENT", "ARCHIVE"],
35
38
  defaultSearchTerm: a,
36
39
  language: l = "en_US",
37
40
  mode: p = "MultiSelect",
@@ -43,17 +46,17 @@ function he({
43
46
  hideExternalAccess: g,
44
47
  selectedAssets: S,
45
48
  hideLimitedUse: C,
46
- isContainerMode: c = !1,
49
+ isContainerMode: m = !1,
47
50
  __shouldAddOriginal__: w,
48
51
  hideSwitch: v = !1,
49
52
  noCache: A = !1,
50
53
  selectAllOption: P = !1
51
54
  }) {
52
- M(l);
53
- const { datUrl: i } = q(), t = {
55
+ O(l);
56
+ const { datUrl: i } = B(), t = {
54
57
  assetFieldSelection: o,
55
58
  assetFilter: r,
56
- assetTypes: m,
59
+ assetTypes: c,
57
60
  language: l,
58
61
  onSuccess: f,
59
62
  defaultImageDerivativeName: d,
@@ -66,32 +69,32 @@ function he({
66
69
  noCache: A,
67
70
  selectAllOption: P
68
71
  };
69
- return /* @__PURE__ */ e(B, { sentryClient: s, children: /* @__PURE__ */ e(R, { isContainerMode: c, children: /* @__PURE__ */ e(U, { hideLimitedUse: C, predefinedFilter: r, children: /* @__PURE__ */ e(k, { value: t, children: /* @__PURE__ */ n(x, { preselectedAssetIds: S ?? [], children: [
72
+ return /* @__PURE__ */ e(j, { sentryClient: s, children: /* @__PURE__ */ e(k, { isContainerMode: m, children: /* @__PURE__ */ e(y, { hideLimitedUse: C, predefinedFilter: r, children: /* @__PURE__ */ e(T, { value: t, children: /* @__PURE__ */ n(E, { preselectedAssetIds: S ?? [], children: [
70
73
  /* @__PURE__ */ e(
71
- J,
74
+ G,
72
75
  {
73
76
  defaultSearchTerm: a,
74
- resetOnMount: !c
77
+ resetOnMount: !m
75
78
  }
76
79
  ),
77
- /* @__PURE__ */ e(j, { theme: t.theme }),
80
+ /* @__PURE__ */ e(M, { theme: t.theme }),
78
81
  /* @__PURE__ */ n("div", { className: "cv-root cv-container", children: [
79
- /* @__PURE__ */ e(z, {}),
82
+ /* @__PURE__ */ e(R, {}),
80
83
  /* @__PURE__ */ e(K, {}),
81
- /* @__PURE__ */ e(N, {}),
82
- i && /* @__PURE__ */ e(G, {})
84
+ /* @__PURE__ */ e(x, {}),
85
+ i && /* @__PURE__ */ e(z, {})
83
86
  ] })
84
87
  ] }) }) }) }) });
85
88
  }
86
89
  function K() {
87
- const o = L.use.page(), { assetFilter: r } = y();
88
- return _(o), /* @__PURE__ */ n(b, { children: [
89
- o.page !== "collections" && (r === void 0 || r && r.showToolbar) && /* @__PURE__ */ e(E, {}),
90
- o.page === "assets" && /* @__PURE__ */ e(H, {}),
91
- o.page === "collections" && /* @__PURE__ */ e(D, {}),
92
- o.page === "collection" && /* @__PURE__ */ e(O, { collection: o.collection })
90
+ const o = H.use.page(), { assetFilter: r } = V();
91
+ return N(o), /* @__PURE__ */ n(b, { children: [
92
+ o.page !== "collections" && (r === void 0 || r && r.showToolbar) && /* @__PURE__ */ e(D, {}),
93
+ o.page === "assets" && /* @__PURE__ */ e(U, {}),
94
+ o.page === "collections" && /* @__PURE__ */ e(F, {}),
95
+ o.page === "collection" && /* @__PURE__ */ e(I, { collection: o.collection })
93
96
  ] });
94
97
  }
95
98
  export {
96
- he as App
99
+ Ce as App
97
100
  };
package/Arrow.js ADDED
@@ -0,0 +1,14 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import i from "./styled-components.browser.esm.js";
3
+ import { IconCaretDown as n } from "./index4.js";
4
+ import { token as o } from "./token.js";
5
+ function d(t) {
6
+ return /* @__PURE__ */ r(c, { ...t, children: /* @__PURE__ */ r(n, {}) });
7
+ }
8
+ const c = i.div.withConfig({
9
+ displayName: "ArrowStyled",
10
+ componentId: "sc-1k0ithd-0"
11
+ })(["margin-right:calc(", " * -1);margin-left:calc(", " * -1);"], o.spacing2, o.spacing2);
12
+ export {
13
+ d as Arrow
14
+ };
package/AssetCard.js CHANGED
@@ -1,56 +1,59 @@
1
- import { jsx as i, jsxs as g } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as g } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as w } from "react";
3
- import s from "styled-components";
4
- import { token as o, Card as l, Badge as $, TruncatedText as U } from "@bynder/design-system";
3
+ import s from "./styled-components.browser.esm.js";
4
+ import { Badge as $ } from "./Badge.js";
5
+ import { Card as l } from "./Card.js";
6
+ import { TruncatedText as U } from "./TruncatedText.js";
7
+ import { token as o } from "./token.js";
5
8
  import { useConfig as V } from "./ConfigContext.js";
6
- import { getStatusText as W, getExtension as _, getThumbnail as b } from "./utils.js";
9
+ import { getStatusText as W, getExtension as _, getThumbnail as b } from "./utils2.js";
7
10
  import { __ as d } from "./index2.js";
8
11
  import { ContextAction as z } from "./ContextAction.js";
9
12
  import { AssetCardMetaproperties as L } from "./AssetCardMetaproperties.js";
10
13
  import { useDat as j } from "./useDatStore.js";
11
- function tt({
14
+ function it({
12
15
  className: e,
13
16
  dragState: p,
14
17
  fadeIn: y = !0,
15
18
  asset: t,
16
19
  isSelected: n,
17
20
  isOutlined: C,
18
- onClick: c,
21
+ onClick: m,
19
22
  children: v = null,
20
23
  isSimilaritySearchEnabled: S = !1,
21
24
  onSimilaritySearch: T
22
25
  }) {
23
- const [B, I] = x(), [k, A] = x(), { openDat: M, setTransformation: D } = j(), { theme: m } = V(), h = W(t), u = _(t);
26
+ const [B, I] = x(), [k, A] = x(), { openDat: M, setTransformation: D } = j(), { theme: c } = V(), h = W(t), f = _(t);
24
27
  w(() => {
25
- const r = t.metaproperties?.nodes.filter(
28
+ const i = t.metaproperties?.nodes.filter(
26
29
  (a) => a.showInGridView || a.showInListView
27
30
  );
28
- I(r);
31
+ I(i);
29
32
  }, [t.metaproperties]), w(() => {
30
- const r = t.textMetaproperties?.filter(
33
+ const i = t.textMetaproperties?.filter(
31
34
  (a) => a.showInGridView || a.showInListView
32
35
  );
33
- A(r);
36
+ A(i);
34
37
  }, [t.textMetaproperties]);
35
- const f = (r) => {
36
- c !== void 0 && (r.stopPropagation(), D(), c(t, r));
37
- }, P = (r) => {
38
- r.stopPropagation(), T([t.databaseId ? t.databaseId : t.id]);
38
+ const u = (i) => {
39
+ m !== void 0 && (i.stopPropagation(), D(), m(t, i));
40
+ }, P = (i) => {
41
+ i.stopPropagation(), T([t.databaseId ? t.databaseId : t.id]);
39
42
  };
40
- return /* @__PURE__ */ i(
43
+ return /* @__PURE__ */ r(
41
44
  E,
42
45
  {
43
46
  id: t.id,
44
47
  $dragState: p,
45
- $theme: m,
46
- $isOutlined: (n || C) && m?.colorPrimary !== void 0,
48
+ $theme: c,
49
+ $isOutlined: (n || C) && c?.colorPrimary !== void 0,
47
50
  $fadeIn: y,
48
51
  className: e,
49
52
  "data-drag-select-id": t.id,
50
53
  children: /* @__PURE__ */ g(
51
54
  l,
52
55
  {
53
- contextAction: /* @__PURE__ */ i(
56
+ contextAction: /* @__PURE__ */ r(
54
57
  z,
55
58
  {
56
59
  dragState: p,
@@ -62,8 +65,8 @@ function tt({
62
65
  }
63
66
  ),
64
67
  selectButtonAriaLabel: n ? d("Deselect") : d("Select"),
65
- onSelect: f,
66
- onClick: f,
68
+ onSelect: u,
69
+ onClick: u,
67
70
  isSelected: n,
68
71
  "aria-selected": n,
69
72
  "data-testid": "asset-card",
@@ -71,11 +74,11 @@ function tt({
71
74
  /* @__PURE__ */ g(
72
75
  l.Frame,
73
76
  {
74
- icon: h ? /* @__PURE__ */ i(G, { $limitWidth: !!u, children: /* @__PURE__ */ i($, { color: "black-alpha", "data-testid": "asset-tag", children: /* @__PURE__ */ i(U, { children: h }) }) }) : void 0,
77
+ icon: h ? /* @__PURE__ */ r(G, { $limitWidth: !!f, children: /* @__PURE__ */ r($, { color: "black-alpha", "data-testid": "asset-tag", children: /* @__PURE__ */ r(U, { children: h }) }) }) : void 0,
75
78
  "data-testid": "asset-type",
76
- badge: u,
79
+ badge: f,
77
80
  children: [
78
- /* @__PURE__ */ i(l.Images, { children: b(t) && /* @__PURE__ */ i(
81
+ /* @__PURE__ */ r(l.Images, { children: b(t) && /* @__PURE__ */ r(
79
82
  l.Img,
80
83
  {
81
84
  src: b(t),
@@ -83,7 +86,7 @@ function tt({
83
86
  contentResize: "fit"
84
87
  }
85
88
  ) }),
86
- S && t.__typename === "Image" && /* @__PURE__ */ i(
89
+ S && t.__typename === "Image" && /* @__PURE__ */ r(
87
90
  N,
88
91
  {
89
92
  onClick: P,
@@ -91,15 +94,15 @@ function tt({
91
94
  type: "button",
92
95
  "aria-label": "similarity-search-button",
93
96
  className: "showSimilarButton",
94
- children: /* @__PURE__ */ i($, { isSmall: !0, children: d("Show similar") })
97
+ children: /* @__PURE__ */ r($, { isSmall: !0, children: d("Show similar") })
95
98
  }
96
99
  )
97
100
  ]
98
101
  }
99
102
  ),
100
103
  v,
101
- /* @__PURE__ */ i(H, { "data-testid": "asset-name", children: t.name }),
102
- /* @__PURE__ */ i(
104
+ /* @__PURE__ */ r(H, { "data-testid": "asset-name", children: t.name }),
105
+ /* @__PURE__ */ r(
103
106
  L,
104
107
  {
105
108
  metaproperties: B,
@@ -176,5 +179,5 @@ const E = s.div`
176
179
  z-index: 1;
177
180
  `;
178
181
  export {
179
- tt as AssetCard
182
+ it as AssetCard
180
183
  };