synapse-react-client 4.0.35 → 4.0.36

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 (260) hide show
  1. package/dist/SWC.index.js +1 -1
  2. package/dist/aridhia-queries/AridhiaKeyFactory.d.ts +24 -0
  3. package/dist/aridhia-queries/AridhiaKeyFactory.d.ts.map +1 -0
  4. package/dist/aridhia-queries/AridhiaKeyFactory.js +49 -0
  5. package/dist/aridhia-queries/AridhiaKeyFactory.js.map +1 -0
  6. package/dist/aridhia-queries/FairFormPayload.d.ts +45 -0
  7. package/dist/aridhia-queries/FairFormPayload.d.ts.map +1 -0
  8. package/dist/aridhia-queries/FairFormPayload.js +0 -0
  9. package/dist/aridhia-queries/TransferType.d.ts +10 -0
  10. package/dist/aridhia-queries/TransferType.d.ts.map +1 -0
  11. package/dist/aridhia-queries/TransferType.js +0 -0
  12. package/dist/aridhia-queries/aridhiaTokenExchange.js +6 -6
  13. package/dist/aridhia-queries/index.d.ts +12 -0
  14. package/dist/aridhia-queries/index.d.ts.map +1 -1
  15. package/dist/aridhia-queries/index.js +12 -2
  16. package/dist/aridhia-queries/useAridhiaQuery.d.ts +37 -0
  17. package/dist/aridhia-queries/useAridhiaQuery.d.ts.map +1 -0
  18. package/dist/aridhia-queries/useAridhiaQuery.js +71 -0
  19. package/dist/aridhia-queries/useAridhiaQuery.js.map +1 -0
  20. package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.d.ts +6 -0
  21. package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.d.ts.map +1 -0
  22. package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.js +13 -0
  23. package/dist/aridhia-queries/useGetAridhiaDatasetCatalogue.js.map +1 -0
  24. package/dist/aridhia-queries/useGetAridhiaDatasetSettings.d.ts +6 -0
  25. package/dist/aridhia-queries/useGetAridhiaDatasetSettings.d.ts.map +1 -0
  26. package/dist/aridhia-queries/useGetAridhiaDatasetSettings.js +13 -0
  27. package/dist/aridhia-queries/useGetAridhiaDatasetSettings.js.map +1 -0
  28. package/dist/aridhia-queries/useGetAridhiaDictionaries.d.ts +6 -0
  29. package/dist/aridhia-queries/useGetAridhiaDictionaries.d.ts.map +1 -0
  30. package/dist/aridhia-queries/useGetAridhiaDictionaries.js +13 -0
  31. package/dist/aridhia-queries/useGetAridhiaDictionaries.js.map +1 -0
  32. package/dist/aridhia-queries/useGetAridhiaRequests.d.ts +5 -4
  33. package/dist/aridhia-queries/useGetAridhiaRequests.d.ts.map +1 -1
  34. package/dist/aridhia-queries/useGetAridhiaRequests.js +11 -18
  35. package/dist/aridhia-queries/useGetAridhiaRequests.js.map +1 -1
  36. package/dist/aridhia-queries/useGetAridhiaWorkflow.d.ts +13 -0
  37. package/dist/aridhia-queries/useGetAridhiaWorkflow.d.ts.map +1 -0
  38. package/dist/aridhia-queries/useGetAridhiaWorkflow.js +19 -0
  39. package/dist/aridhia-queries/useGetAridhiaWorkflow.js.map +1 -0
  40. package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.d.ts +6 -0
  41. package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.d.ts.map +1 -0
  42. package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.js +13 -0
  43. package/dist/aridhia-queries/useGetAridhiaWorkspaceLocations.js.map +1 -0
  44. package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.d.ts +19 -0
  45. package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.d.ts.map +1 -0
  46. package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.js +17 -0
  47. package/dist/aridhia-queries/useGetAridhiaWorkspaceRequestForm.js.map +1 -0
  48. package/dist/aridhia-queries/useGetAridhiaWorkspaces.d.ts +6 -0
  49. package/dist/aridhia-queries/useGetAridhiaWorkspaces.d.ts.map +1 -0
  50. package/dist/aridhia-queries/useGetAridhiaWorkspaces.js +19 -0
  51. package/dist/aridhia-queries/useGetAridhiaWorkspaces.js.map +1 -0
  52. package/dist/aridhia-queries/useSubmitAridhiaDar.d.ts +27 -0
  53. package/dist/aridhia-queries/useSubmitAridhiaDar.d.ts.map +1 -0
  54. package/dist/aridhia-queries/useSubmitAridhiaDar.js +38 -0
  55. package/dist/aridhia-queries/useSubmitAridhiaDar.js.map +1 -0
  56. package/dist/components/AccessRequirement/EntityActionsRequired.d.ts +0 -1
  57. package/dist/components/AccessRequirement/EntityActionsRequired.d.ts.map +1 -1
  58. package/dist/components/AccessRequirement/EntityActionsRequired.js +3 -6
  59. package/dist/components/AccessRequirement/EntityActionsRequired.js.map +1 -1
  60. package/dist/components/AccessRequirementList/AccessRequirementList.d.ts.map +1 -1
  61. package/dist/components/AccessRequirementList/AccessRequirementList.js +116 -115
  62. package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
  63. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.d.ts.map +1 -1
  64. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js +67 -57
  65. package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/EDucPreviewStep/EDucPreviewStep.js.map +1 -1
  66. package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts +3 -3
  67. package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts.map +1 -1
  68. package/dist/components/Aridhia/aridhiaAccessStatusUtils.js +1 -1
  69. package/dist/components/Aridhia/aridhiaAccessStatusUtils.js.map +1 -1
  70. package/dist/components/CardContainer/CardConfiguration.d.ts +8 -0
  71. package/dist/components/CardContainer/CardConfiguration.d.ts.map +1 -1
  72. package/dist/components/ChangePassword/ChangePasswordWithToken.d.ts.map +1 -1
  73. package/dist/components/ChangePassword/ChangePasswordWithToken.js +58 -23
  74. package/dist/components/ChangePassword/ChangePasswordWithToken.js.map +1 -1
  75. package/dist/components/ChangePassword/useChangePasswordFormState.d.ts.map +1 -1
  76. package/dist/components/ChangePassword/useChangePasswordFormState.js +13 -3
  77. package/dist/components/ChangePassword/useChangePasswordFormState.js.map +1 -1
  78. package/dist/components/CreateTableViewWizard/TableNameForm.d.ts.map +1 -1
  79. package/dist/components/CreateTableViewWizard/TableNameForm.js +11 -14
  80. package/dist/components/CreateTableViewWizard/TableNameForm.js.map +1 -1
  81. package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts +1 -1
  82. package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -1
  83. package/dist/components/DataGrid/SyncGridWithSourceButton.js +55 -61
  84. package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
  85. package/dist/components/DataGrid/components/contextMenu.d.ts.map +1 -1
  86. package/dist/components/DataGrid/components/contextMenu.js +15 -15
  87. package/dist/components/DataGrid/components/contextMenu.js.map +1 -1
  88. package/dist/components/DataGrid/useMergeGridWithSource.d.ts +1 -5
  89. package/dist/components/DataGrid/useMergeGridWithSource.d.ts.map +1 -1
  90. package/dist/components/DataGrid/useMergeGridWithSource.js +21 -28
  91. package/dist/components/DataGrid/useMergeGridWithSource.js.map +1 -1
  92. package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts +35 -0
  93. package/dist/components/DatasetHosting/DatasetDownloadButton.d.ts.map +1 -0
  94. package/dist/components/DatasetHosting/DatasetDownloadButton.js +132 -0
  95. package/dist/components/DatasetHosting/DatasetDownloadButton.js.map +1 -0
  96. package/dist/components/DatasetHosting/DatasetHosting.d.ts +91 -0
  97. package/dist/components/DatasetHosting/DatasetHosting.d.ts.map +1 -0
  98. package/dist/components/DatasetHosting/DatasetHosting.js +58 -0
  99. package/dist/components/DatasetHosting/DatasetHosting.js.map +1 -0
  100. package/dist/components/DatasetHosting/index.d.ts +5 -0
  101. package/dist/components/DatasetHosting/index.d.ts.map +1 -0
  102. package/dist/components/DatasetHosting/index.js +3 -0
  103. package/dist/components/DownloadCart/ActionRequiredListItem.d.ts +0 -2
  104. package/dist/components/DownloadCart/ActionRequiredListItem.d.ts.map +1 -1
  105. package/dist/components/DownloadCart/ActionRequiredListItem.js +2 -3
  106. package/dist/components/DownloadCart/ActionRequiredListItem.js.map +1 -1
  107. package/dist/components/DownloadCart/DownloadCartPage.d.ts +1 -2
  108. package/dist/components/DownloadCart/DownloadCartPage.d.ts.map +1 -1
  109. package/dist/components/DownloadCart/DownloadCartPage.js +49 -49
  110. package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
  111. package/dist/components/DownloadCart/DownloadListActionsRequired.d.ts +1 -5
  112. package/dist/components/DownloadCart/DownloadListActionsRequired.d.ts.map +1 -1
  113. package/dist/components/DownloadCart/DownloadListActionsRequired.js +5 -6
  114. package/dist/components/DownloadCart/DownloadListActionsRequired.js.map +1 -1
  115. package/dist/components/DownloadCart/RequestDownloadCard.d.ts +0 -2
  116. package/dist/components/DownloadCart/RequestDownloadCard.d.ts.map +1 -1
  117. package/dist/components/DownloadCart/RequestDownloadCard.js +28 -32
  118. package/dist/components/DownloadCart/RequestDownloadCard.js.map +1 -1
  119. package/dist/components/DownloadCart/TableQueryActionsRequired.d.ts +0 -2
  120. package/dist/components/DownloadCart/TableQueryActionsRequired.d.ts.map +1 -1
  121. package/dist/components/DownloadCart/TableQueryActionsRequired.js +7 -8
  122. package/dist/components/DownloadCart/TableQueryActionsRequired.js.map +1 -1
  123. package/dist/components/DownloadCart/index.d.ts +1 -2
  124. package/dist/components/DownloadCart/index.d.ts.map +1 -1
  125. package/dist/components/GenericCard/CardActionButtonStyleContext.d.ts +10 -0
  126. package/dist/components/GenericCard/CardActionButtonStyleContext.d.ts.map +1 -0
  127. package/dist/components/GenericCard/CardActionButtonStyleContext.js +10 -0
  128. package/dist/components/GenericCard/CardActionButtonStyleContext.js.map +1 -0
  129. package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js +41 -41
  130. package/dist/components/GenericCard/GenericCardActionButton.d.ts +5 -0
  131. package/dist/components/GenericCard/GenericCardActionButton.d.ts.map +1 -1
  132. package/dist/components/GenericCard/GenericCardActionButton.js +28 -11
  133. package/dist/components/GenericCard/GenericCardActionButton.js.map +1 -1
  134. package/dist/components/GenericCard/TableRowGenericCard.d.ts +24 -0
  135. package/dist/components/GenericCard/TableRowGenericCard.d.ts.map +1 -1
  136. package/dist/components/GenericCard/TableRowGenericCard.js +205 -190
  137. package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
  138. package/dist/components/JSONArrayEditor/JSONArrayEditor.d.ts.map +1 -1
  139. package/dist/components/JSONArrayEditor/JSONArrayEditor.js +42 -42
  140. package/dist/components/JSONArrayEditor/JSONArrayEditor.js.map +1 -1
  141. package/dist/components/JsonSchemaForm/JsonSchemaForm.css +1 -0
  142. package/dist/components/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  143. package/dist/components/JsonSchemaForm/JsonSchemaForm.js +13 -12
  144. package/dist/components/JsonSchemaForm/JsonSchemaForm.js.map +1 -1
  145. package/dist/components/JsonSchemaForm/JsonSchemaForm.module.js +5 -0
  146. package/dist/components/JsonSchemaForm/JsonSchemaForm.module.js.map +1 -0
  147. package/dist/components/JsonSchemaForm/JsonSchemaForm.module.scss +109 -0
  148. package/dist/components/QueryBuilder/QueryBuilderTypes.d.ts +39 -0
  149. package/dist/components/QueryBuilder/QueryBuilderTypes.d.ts.map +1 -0
  150. package/dist/components/QueryBuilder/QueryBuilderTypes.js +11 -0
  151. package/dist/components/QueryBuilder/QueryBuilderTypes.js.map +1 -0
  152. package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts +48 -0
  153. package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts.map +1 -0
  154. package/dist/components/QueryBuilder/queryBuilderTranslation.js +256 -0
  155. package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -0
  156. package/dist/components/QueryContext/QueryContext.d.ts +0 -1
  157. package/dist/components/QueryContext/QueryContext.d.ts.map +1 -1
  158. package/dist/components/QueryContext/QueryContext.js.map +1 -1
  159. package/dist/components/QueryWrapper/QueryWrapper.d.ts +0 -1
  160. package/dist/components/QueryWrapper/QueryWrapper.d.ts.map +1 -1
  161. package/dist/components/QueryWrapper/QueryWrapper.js +52 -53
  162. package/dist/components/QueryWrapper/QueryWrapper.js.map +1 -1
  163. package/dist/components/QueryWrapperErrorBoundary.d.ts.map +1 -1
  164. package/dist/components/QueryWrapperErrorBoundary.js +4 -11
  165. package/dist/components/QueryWrapperErrorBoundary.js.map +1 -1
  166. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +0 -1
  167. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
  168. package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
  169. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js +123 -123
  170. package/dist/components/SchemaDrivenAnnotationEditor/SchemaDrivenAnnotationEditor.js.map +1 -1
  171. package/dist/components/SearchQueryWrapper/SearchQueryWrapper.d.ts.map +1 -1
  172. package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js +0 -1
  173. package/dist/components/SearchQueryWrapper/SearchQueryWrapper.js.map +1 -1
  174. package/dist/components/ShareThisPage/ShareThisPage.js +30 -29
  175. package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
  176. package/dist/components/SynapseChat/GridAgentChat.d.ts.map +1 -1
  177. package/dist/components/SynapseChat/GridAgentChat.js +29 -31
  178. package/dist/components/SynapseChat/GridAgentChat.js.map +1 -1
  179. package/dist/components/SynapseTable/SynapseTable.d.ts.map +1 -1
  180. package/dist/components/SynapseTable/SynapseTable.js +2 -1
  181. package/dist/components/SynapseTable/SynapseTable.js.map +1 -1
  182. package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.d.ts.map +1 -1
  183. package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js +29 -30
  184. package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js.map +1 -1
  185. package/dist/components/TanStackTable/StyledTanStackTable.d.ts +7 -0
  186. package/dist/components/TanStackTable/StyledTanStackTable.d.ts.map +1 -1
  187. package/dist/components/TanStackTable/StyledTanStackTable.js +68 -48
  188. package/dist/components/TanStackTable/StyledTanStackTable.js.map +1 -1
  189. package/dist/components/TanStackTable/useSyncedTopScrollbar.d.ts +13 -0
  190. package/dist/components/TanStackTable/useSyncedTopScrollbar.d.ts.map +1 -0
  191. package/dist/components/TanStackTable/useSyncedTopScrollbar.js +32 -0
  192. package/dist/components/TanStackTable/useSyncedTopScrollbar.js.map +1 -0
  193. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.d.ts.map +1 -1
  194. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js +36 -34
  195. package/dist/components/dataaccess/UserAccessRequestHistory/InFlightEDucSignaturesTable.js.map +1 -1
  196. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js +1 -1
  197. package/dist/components/dataaccess/UserAccessRequestHistory/UserAccessRequestHistoryPage.js.map +1 -1
  198. package/dist/components/doi/CreateOrUpdateDoiModal.d.ts.map +1 -1
  199. package/dist/components/doi/CreateOrUpdateDoiModal.js +10 -13
  200. package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
  201. package/dist/components/index.d.ts +1 -0
  202. package/dist/components/index.d.ts.map +1 -1
  203. package/dist/components/index.js +143 -140
  204. package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
  205. package/dist/components/menu/DropdownMenu.js +6 -6
  206. package/dist/components/menu/DropdownMenu.js.map +1 -1
  207. package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +5 -5
  208. package/dist/index.js +161 -159
  209. package/dist/index.js.map +1 -1
  210. package/dist/mocks/msw/handlers/dataAccessRequestHandlers.d.ts.map +1 -1
  211. package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js +30 -26
  212. package/dist/mocks/msw/handlers/dataAccessRequestHandlers.js.map +1 -1
  213. package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.d.ts +1 -0
  214. package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.d.ts.map +1 -1
  215. package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.js +7 -1
  216. package/dist/mocks/msw/handlers/resetTwoFactorAuthHandlers.js.map +1 -1
  217. package/dist/mocks/msw/handlers/userProfileHandlers.d.ts.map +1 -1
  218. package/dist/mocks/msw/handlers/userProfileHandlers.js +4 -0
  219. package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
  220. package/dist/style/components/_all.scss +0 -1
  221. package/dist/style/components/_cards.scss +4 -2
  222. package/dist/style/main.css +1 -1
  223. package/dist/synapse-queries/KeyFactory.d.ts +1 -0
  224. package/dist/synapse-queries/KeyFactory.d.ts.map +1 -1
  225. package/dist/synapse-queries/KeyFactory.js +3 -0
  226. package/dist/synapse-queries/KeyFactory.js.map +1 -1
  227. package/dist/synapse-queries/dataaccess/index.js +4 -4
  228. package/dist/synapse-queries/dataaccess/useEDuc.d.ts +7 -0
  229. package/dist/synapse-queries/dataaccess/useEDuc.d.ts.map +1 -1
  230. package/dist/synapse-queries/dataaccess/useEDuc.js +11 -3
  231. package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
  232. package/dist/synapse-queries/index.js +190 -189
  233. package/dist/tsconfig.build.tsbuildinfo +1 -1
  234. package/dist/utils/APIConstants.d.ts +1 -0
  235. package/dist/utils/APIConstants.d.ts.map +1 -1
  236. package/dist/utils/APIConstants.js +2 -2
  237. package/dist/utils/APIConstants.js.map +1 -1
  238. package/dist/utils/featureflag/FeatureFlags.d.ts +1 -4
  239. package/dist/utils/featureflag/FeatureFlags.d.ts.map +1 -1
  240. package/dist/utils/featureflag/FeatureFlags.js +1 -1
  241. package/dist/utils/featureflag/FeatureFlags.js.map +1 -1
  242. package/dist/utils/functions/RegularExpressions.d.ts +10 -0
  243. package/dist/utils/functions/RegularExpressions.d.ts.map +1 -1
  244. package/dist/utils/functions/RegularExpressions.js +7 -1
  245. package/dist/utils/functions/RegularExpressions.js.map +1 -1
  246. package/dist/utils/functions/SqlFunctions.d.ts.map +1 -1
  247. package/dist/utils/functions/SqlFunctions.js +19 -3
  248. package/dist/utils/functions/SqlFunctions.js.map +1 -1
  249. package/dist/utils/index.js +16 -16
  250. package/dist/utils/types/IsType.d.ts +4 -1
  251. package/dist/utils/types/IsType.d.ts.map +1 -1
  252. package/dist/utils/types/IsType.js +4 -4
  253. package/dist/utils/types/IsType.js.map +1 -1
  254. package/dist/utils/types/index.js +2 -2
  255. package/package.json +7 -7
  256. package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts +0 -12
  257. package/dist/components/DataGrid/useMergeGridWithRecordSet.d.ts.map +0 -1
  258. package/dist/components/DataGrid/useMergeGridWithRecordSet.js +0 -25
  259. package/dist/components/DataGrid/useMergeGridWithRecordSet.js.map +0 -1
  260. package/dist/style/components/_annotations.scss +0 -110
@@ -2,44 +2,47 @@ import { EXPERIMENTAL as e } from "../../utils/SynapseConstants.js";
2
2
  import { PRODUCTION_ENDPOINT_CONFIG as t } from "../../utils/functions/getEndpoint.js";
3
3
  import { calculateFriendlyFileSize as n } from "../../utils/functions/calculateFriendlyFileSize.js";
4
4
  import { isDatasetCollection as r, isTableEntity as i } from "../../utils/functions/EntityTypeUtils.js";
5
- import { parseSynId as a } from "../../utils/functions/RegularExpressions.js";
6
- import { getColumnIndex as o } from "../../utils/functions/SqlFunctions.js";
7
- import { useGetEntity as ee } from "../../synapse-queries/entity/useEntity.js";
5
+ import { extractMarkdownLinkHref as a, parseSynId as o } from "../../utils/functions/RegularExpressions.js";
6
+ import { getColumnIndex as ee } from "../../utils/functions/SqlFunctions.js";
7
+ import { useGetEntity as te } from "../../synapse-queries/entity/useEntity.js";
8
8
  import "../../synapse-queries/index.js";
9
9
  import { TargetEnum as s } from "../../utils/html/TargetEnum.js";
10
- import { getFileHandleAssociation as te, getLinkParams as c, getValueOrMultiValue as ne } from "./CardUtils.js";
11
- import re from "./GenericCardActionButton.js";
12
- import ie from "./CroissantButton/CroissantButton.js";
13
- import { GenericCardIcon as ae } from "./GenericCardIcon.js";
14
- import oe from "./PortalDOI/PortalDOI.js";
15
- import { getCandidateDoiId as se, useShowDoiCardLabel as ce } from "./PortalDOI/PortalDOIUtils.js";
16
- import { mapRowToRecord as le } from "../SynapseTable/SynapseTableUtils.js";
17
- import ue from "../CitationPopover/index.js";
18
- import { EntityDownloadConfirmation as de } from "../EntityDownloadConfirmation/EntityDownloadConfirmation.js";
10
+ import { getFileHandleAssociation as ne, getLinkParams as re, getValueOrMultiValue as ie } from "./CardUtils.js";
11
+ import { CardActionButtonStyleContext as ae } from "./CardActionButtonStyleContext.js";
12
+ import oe from "./GenericCardActionButton.js";
13
+ import se from "./CroissantButton/CroissantButton.js";
14
+ import { GenericCardIcon as ce } from "./GenericCardIcon.js";
15
+ import le from "./PortalDOI/PortalDOI.js";
16
+ import { getCandidateDoiId as ue, useShowDoiCardLabel as de } from "./PortalDOI/PortalDOIUtils.js";
17
+ import { mapRowToRecord as fe } from "../SynapseTable/SynapseTableUtils.js";
18
+ import pe from "../CitationPopover/index.js";
19
+ import { DATASET_HOSTING_CONFIG as me, normalizeHosting as he } from "../DatasetHosting/DatasetHosting.js";
20
+ import { EntityDownloadConfirmation as ge } from "../EntityDownloadConfirmation/EntityDownloadConfirmation.js";
19
21
  import "../EntityDownloadConfirmation/index.js";
20
- import { useQueryContext as fe } from "../QueryContext/QueryContext.js";
21
- import pe from "../IconList.js";
22
- import { parseDuoModifiers as me } from "./DuoTermTags/duoTerms.js";
23
- import he from "./DuoTermTags/DuoTermTags.js";
24
- import { useQueryVisualizationContext as ge } from "../QueryVisualizationWrapper/QueryVisualizationContext.js";
22
+ import { DatasetDownloadButton as _e } from "../DatasetHosting/DatasetDownloadButton.js";
23
+ import { useQueryContext as ve } from "../QueryContext/QueryContext.js";
24
+ import ye from "../IconList.js";
25
+ import { parseDuoModifiers as be } from "./DuoTermTags/duoTerms.js";
26
+ import xe from "./DuoTermTags/DuoTermTags.js";
27
+ import { useQueryVisualizationContext as Se } from "../QueryVisualizationWrapper/QueryVisualizationContext.js";
25
28
  import "../QueryVisualizationWrapper/index.js";
26
- import _e from "../ShareThisPage/ShareThisPage.js";
27
- import { GenericCard as ve } from "./GenericCard.js";
28
- import { SynapseCardLabel as l } from "./SynapseCardLabel.js";
29
- import { useResolvedSynapseEntity as ye } from "./useResolvedSynapseEntity.js";
30
- import { useCallback as be, useMemo as u, useState as d } from "react";
31
- import { Box as xe, Collapse as Se, Link as Ce, Stack as f, Typography as we } from "@mui/material";
32
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
33
- import { ColumnTypeEnum as Te } from "@sage-bionetworks/synapse-types";
34
- import { GetAppTwoTone as Ee } from "@mui/icons-material";
35
- import { useInView as De } from "react-intersection-observer";
29
+ import Ce from "../ShareThisPage/ShareThisPage.js";
30
+ import { GenericCard as we } from "./GenericCard.js";
31
+ import { SynapseCardLabel as c } from "./SynapseCardLabel.js";
32
+ import { useResolvedSynapseEntity as Te } from "./useResolvedSynapseEntity.js";
33
+ import { useCallback as Ee, useMemo as l, useRef as De, useState as u } from "react";
34
+ import { Box as Oe, Collapse as ke, Link as Ae, Stack as d, Typography as je } from "@mui/material";
35
+ import { Fragment as Me, jsx as f, jsxs as p } from "react/jsx-runtime";
36
+ import { ColumnTypeEnum as Ne } from "@sage-bionetworks/synapse-types";
37
+ import { GetAppTwoTone as Pe } from "@mui/icons-material";
38
+ import { useInView as Fe } from "react-intersection-observer";
36
39
  //#region src/components/GenericCard/TableRowGenericCard.tsx
37
- function Oe(e) {
40
+ function Ie(e) {
38
41
  let { synapseId: n, version: r } = e;
39
- return /* @__PURE__ */ h("span", { children: [
42
+ return /* @__PURE__ */ p("span", { children: [
40
43
  r,
41
44
  "\xA0\xA0",
42
- /* @__PURE__ */ m("a", {
45
+ /* @__PURE__ */ f("a", {
43
46
  target: s.NEW_WINDOW,
44
47
  rel: "noopener noreferrer",
45
48
  href: `${t.PORTAL}Synapse:${n}.${r}`,
@@ -47,149 +50,149 @@ function Oe(e) {
47
50
  })
48
51
  ] });
49
52
  }
50
- function g(t) {
51
- let [s, g] = d(!1), [ke, Ae] = d(!1), { entityId: je, versionNumber: Me } = fe(), { getColumnDisplayName: _ } = ge(), { ref: Ne, inView: Pe } = De(), { data: v } = ee(je, Me), { schema: y, data: b, rowId: x, versionNumber: Fe, genericCardSchema: S, secondaryLabelLimit: Ie, sharePageLinkButtonProps: Le, selectColumns: C, columnModels: w, iconOptions: Re, useTypeColumnForIcon: T = !1, isHeader: E = !1, sustainabilityScorecard: ze, headerCardVariant: Be, titleLinkConfig: D, ctaLinkConfig: O, ctaLinkPosition: Ve, labelLinkConfig: He, descriptionConfig: Ue, columnIconOptions: k, CardTypeAdornment: A, charCountCutoff: We } = t, { link: Ge = "", type: j, includeCitation: Ke, includeShareButton: qe, defaultCitationFormat: Je, citationBoilerplateText: Ye, downloadCartSynId: M, portalDoiConfiguration: N } = S, P = b[y[S.title]], F = S.subTitle && b[y[S.subTitle]];
52
- F = S.subTitle && ne({
53
- value: F,
54
- columnName: S.subTitle,
55
- selectColumns: C,
56
- columnModels: w
53
+ function m(t) {
54
+ let [s, m] = u(!1), [Le, Re] = u(!1), { entityId: ze, versionNumber: Be } = ve(), { getColumnDisplayName: h } = Se(), { ref: Ve, inView: He } = Fe(), { data: g } = te(ze, Be), { schema: _, data: v, rowId: y, versionNumber: Ue, genericCardSchema: b, secondaryLabelLimit: We, sharePageLinkButtonProps: Ge, selectColumns: x, columnModels: S, iconOptions: Ke, useTypeColumnForIcon: C = !1, isHeader: w = !1, sustainabilityScorecard: qe, headerCardVariant: Je, titleLinkConfig: T, ctaLinkConfig: E, ctaLinkPosition: Ye, labelLinkConfig: Xe, descriptionConfig: Ze, columnIconOptions: D, CardTypeAdornment: O, charCountCutoff: Qe, actionButtonStyle: $e = "button" } = t, { link: et = "", type: k, includeCitation: tt, includeShareButton: nt, defaultCitationFormat: rt, citationBoilerplateText: it, downloadCartSynId: A, portalDoiConfiguration: j } = b, M = v[_[b.title]], N = b.subTitle && v[_[b.subTitle]];
55
+ N = b.subTitle && ie({
56
+ value: N,
57
+ columnName: b.subTitle,
58
+ selectColumns: x,
59
+ columnModels: S
57
60
  }).str;
58
- let Xe = b[y[S.description || ""]], I = b[y[S.icon || ""]], L = b[y[S.dataTypeIconNames || ""]], R = b[y[S.imageFileHandleColumnName || ""]], Ze = w?.find((e) => S.link === e.name)?.columnType, z = b[y[Ge]] || "", { href: Qe, target: $e } = c(z, D, b, y, x), et = S.synapseEntityConfig, B = be((e) => {
61
+ let at = v[_[b.description || ""]], P = v[_[b.icon || ""]], F = v[_[b.dataTypeIconNames || ""]], I = v[_[b.imageFileHandleColumnName || ""]], ot = S?.find((e) => b.link === e.name)?.columnType, L = v[_[et]] || "", { href: st, target: ct } = re(L, T, v, _, y), lt = b.synapseEntityConfig, R = Ee((e) => {
59
62
  if (!e) return;
60
- let t = y[e];
61
- if (t !== void 0) return b[t];
62
- }, [y, b]), V = u(() => {
63
- let e = S.dataUseModifiersColumnName;
63
+ let t = _[e];
64
+ if (t !== void 0) return v[t];
65
+ }, [_, v]), z = l(() => {
66
+ let e = b.dataUseModifiersColumnName;
64
67
  if (!e) return;
65
- let t = me(b[y[e]]);
66
- if (t.length !== 0) return /* @__PURE__ */ m(he, { terms: t });
68
+ let t = be(v[_[e]]);
69
+ if (t.length !== 0) return /* @__PURE__ */ f(xe, { terms: t });
67
70
  }, [
68
- S,
69
71
  b,
70
- y
71
- ]), tt = u(() => {
72
- let { titleAreaDetails: e } = S;
72
+ v,
73
+ _
74
+ ]), ut = l(() => {
75
+ let { titleAreaDetails: e } = b;
73
76
  if (!e) return;
74
- let t = typeof e == "function" ? e(y, b) : e;
77
+ let t = typeof e == "function" ? e(_, v) : e;
75
78
  if (t.length === 0) return;
76
79
  let n = t.map((e) => {
77
- let t = b[y[e]];
80
+ let t = v[_[e]];
78
81
  return t ? {
79
- name: _(e),
82
+ name: h(e),
80
83
  rawValue: t,
81
84
  columnName: e
82
85
  } : null;
83
86
  }).filter(Boolean);
84
- if (n.length !== 0) return /* @__PURE__ */ m(f, {
87
+ if (n.length !== 0) return /* @__PURE__ */ f(d, {
85
88
  direction: "column",
86
89
  gap: "4px",
87
- children: n.map(({ name: e, rawValue: t, columnName: n }) => /* @__PURE__ */ h(f, {
90
+ children: n.map(({ name: e, rawValue: t, columnName: n }) => /* @__PURE__ */ p(d, {
88
91
  direction: "row",
89
92
  gap: "4px",
90
93
  alignItems: "center",
91
- children: [/* @__PURE__ */ h(we, {
94
+ children: [/* @__PURE__ */ p(je, {
92
95
  component: "span",
93
96
  variant: "body1",
94
97
  children: [e, ":"]
95
- }), /* @__PURE__ */ m(l, {
98
+ }), /* @__PURE__ */ f(c, {
96
99
  value: t,
97
100
  columnName: n,
98
101
  labelLink: void 0,
99
- isHeader: E,
100
- selectColumns: C,
101
- columnModels: w,
102
- rowData: b,
103
- columnIconOptions: k
102
+ isHeader: w,
103
+ selectColumns: x,
104
+ columnModels: S,
105
+ rowData: v,
106
+ columnIconOptions: D
104
107
  })]
105
108
  }, n))
106
109
  });
107
110
  }, [
108
- S,
109
111
  b,
110
- y,
112
+ v,
111
113
  _,
112
- E,
113
- C,
114
+ h,
114
115
  w,
115
- k
116
- ]), { entityId: H, entityVersionNumber: U } = ye({
117
- synapseEntityConfig: et,
118
- getColumnValue: B,
119
- rowId: x,
120
- rowVersionNumber: Fe
121
- }), W = H, G = U;
122
- if (M) {
123
- let e = a(B(M) ?? "");
124
- W = e?.targetId, G = e?.targetVersionNumber;
116
+ x,
117
+ S,
118
+ D
119
+ ]), { entityId: B, entityVersionNumber: V } = Te({
120
+ synapseEntityConfig: lt,
121
+ getColumnValue: R,
122
+ rowId: y,
123
+ rowVersionNumber: Ue
124
+ }), H = B, U = V;
125
+ if (A) {
126
+ let e = o(R(A) ?? "");
127
+ H = e?.targetId, U = e?.targetVersionNumber;
125
128
  }
126
- let K = se({
127
- data: u(() => le(b, y), [b, y]),
128
- portalDoiConfiguration: N
129
- }), nt = ce({
130
- portalId: N?.portalId,
131
- resourceId: K
132
- }), q = [], { secondaryLabels: J = [] } = S, Y = S.customSecondaryLabelConfig;
133
- if (V && S.dataUseModifiersColumnName && q.push({
134
- columnName: S.dataUseModifiersColumnName,
135
- columnDisplayName: _(S.dataUseModifiersColumnName),
136
- value: V
137
- }), nt && N && K && Pe && q.push({
129
+ let W = b.hostingConfig, G = W ? R(W.hostingColumn) : void 0, K = W ? G && W.hostingValueMap?.[G] || he(G) : void 0, dt = W?.repositoryColumn ? R(W.repositoryColumn) : void 0, q = W?.externalUrlColumn ? R(W.externalUrlColumn) : void 0, ft = q ? a(q) : void 0, J = K ? me[K].downloadable : !0, Y = De(null), X = ue({
130
+ data: l(() => fe(v, _), [v, _]),
131
+ portalDoiConfiguration: j
132
+ }), pt = de({
133
+ portalId: j?.portalId,
134
+ resourceId: X
135
+ }), Z = [], { secondaryLabels: mt = [] } = b, Q = b.customSecondaryLabelConfig;
136
+ if (z && b.dataUseModifiersColumnName && Z.push({
137
+ columnName: b.dataUseModifiersColumnName,
138
+ columnDisplayName: h(b.dataUseModifiersColumnName),
139
+ value: z
140
+ }), pt && j && X && He && Z.push({
138
141
  columnDisplayName: "DOI",
139
- value: /* @__PURE__ */ m(oe, {
140
- portalId: N.portalId,
141
- resourceId: K
142
+ value: /* @__PURE__ */ f(le, {
143
+ portalId: j.portalId,
144
+ resourceId: X
142
145
  })
143
- }), Y?.isVisible(y, b)) {
144
- let { key: e, value: t } = Y;
145
- W ? q.push({
146
+ }), Q?.isVisible(_, v)) {
147
+ let { key: e, value: t } = Q;
148
+ H && J ? Z.push({
146
149
  columnDisplayName: "HOW TO DOWNLOAD",
147
- value: /* @__PURE__ */ m(Ce, {
148
- onClick: () => g((e) => !e),
150
+ value: /* @__PURE__ */ f(Ae, {
151
+ onClick: () => m((e) => !e),
149
152
  children: "Click here to add to Synapse download list"
150
153
  })
151
- }) : q.push({
154
+ }) : Z.push({
152
155
  columnDisplayName: e,
153
156
  value: t
154
157
  });
155
158
  }
156
- let rt = v && !i(v);
157
- for (let e = 0; e < J.length; e += 1) {
158
- let t = J[e], i = b[y[t]], a = i, o;
159
+ let ht = g && !i(g);
160
+ for (let e = 0; e < mt.length; e += 1) {
161
+ let t = mt[e], i = v[_[t]], a = i, o;
159
162
  if (a && i !== "[]" && i !== "[\"\"]") {
160
- if (r(v) && t === "datasetSizeInBytes") o = "Size", a = n(parseInt(i));
161
- else if (rt && t === "currentVersion") {
162
- let e = b[y.id];
163
- a = /* @__PURE__ */ m(Oe, {
163
+ if (r(g) && t === "datasetSizeInBytes") o = "Size", a = n(parseInt(i));
164
+ else if (ht && t === "currentVersion") {
165
+ let e = v[_.id];
166
+ a = /* @__PURE__ */ f(Ie, {
164
167
  synapseId: e,
165
168
  version: i
166
169
  }), o = "Version";
167
170
  } else {
168
- let e = He?.find((e) => e.matchColumnName === t);
169
- a = /* @__PURE__ */ m(l, {
171
+ let e = Xe?.find((e) => e.matchColumnName === t);
172
+ a = /* @__PURE__ */ f(c, {
170
173
  value: i,
171
174
  columnName: t,
172
175
  labelLink: e,
173
- isHeader: E,
174
- selectColumns: C,
175
- columnModels: w,
176
- rowData: b,
177
- columnIconOptions: k
178
- }), o = _(t);
176
+ isHeader: w,
177
+ selectColumns: x,
178
+ columnModels: S,
179
+ rowData: v,
180
+ columnIconOptions: D
181
+ }), o = h(t);
179
182
  }
180
- q.push({
183
+ Z.push({
181
184
  columnDisplayName: o,
182
185
  value: a,
183
186
  columnName: t
184
187
  });
185
188
  }
186
189
  }
187
- let X = te(v, R || z, b[y.id]), it = _(S.description || ""), Z = o("doi", C, w), Q = Z === void 0 ? void 0 : b[Z], at = (O ? Array.isArray(O) ? O : [O] : []).map((e) => {
188
- let t = b[y[e.link]] || "";
190
+ let $ = ne(g, I || L, v[_.id]), gt = h(b.description || ""), _t = ee("doi", x, S), vt = _t === void 0 ? void 0 : v[_t], yt = (E ? Array.isArray(E) ? E : [E] : []).map((e) => {
191
+ let t = v[_[e.link]] || "";
189
192
  if (!t) return null;
190
- let { href: n, target: r } = c(t, void 0, b, y, x);
193
+ let { href: n, target: r } = re(t, void 0, v, _, y);
191
194
  return {
192
- text: e.endIcon ? /* @__PURE__ */ h("div", {
195
+ text: e.endIcon ? /* @__PURE__ */ p("div", {
193
196
  style: {
194
197
  display: "flex",
195
198
  alignItems: "center",
@@ -200,99 +203,111 @@ function g(t) {
200
203
  href: n,
201
204
  target: r
202
205
  };
203
- }).filter(Boolean), ot = /* @__PURE__ */ m(p, {});
204
- H != null && U != null && (ot = /* @__PURE__ */ m(ie, {
205
- datasetId: H,
206
- datasetVersionNumber: U
206
+ }).filter(Boolean), bt = /* @__PURE__ */ f(Me, {});
207
+ B != null && V != null && (bt = /* @__PURE__ */ f(se, {
208
+ datasetId: B,
209
+ datasetVersionNumber: V
207
210
  }));
208
- let st = A ? /* @__PURE__ */ m(A, {
209
- schema: y,
210
- data: b
211
- }) : null, $ = !0;
212
- return E && !R && !I && ($ = !1), /* @__PURE__ */ m(ve, {
213
- ref: Ne,
214
- icon: $ ? /* @__PURE__ */ m(ae, {
215
- type: T ? b[y.type] : S.type,
216
- useTypeForIcon: T,
217
- thumbnailRequiresPadding: S.thumbnailRequiresPadding,
218
- imageFileHandleId: R,
219
- fileHandleAssociation: X,
220
- iconOptions: Re,
221
- iconValue: I
211
+ let xt = O ? /* @__PURE__ */ f(O, {
212
+ schema: _,
213
+ data: v
214
+ }) : null, St = !0;
215
+ return w && !I && !P && (St = !1), /* @__PURE__ */ f(we, {
216
+ ref: Ve,
217
+ icon: St ? /* @__PURE__ */ f(ce, {
218
+ type: C ? v[_.type] : b.type,
219
+ useTypeForIcon: C,
220
+ thumbnailRequiresPadding: b.thumbnailRequiresPadding,
221
+ imageFileHandleId: I,
222
+ fileHandleAssociation: $,
223
+ iconOptions: Ke,
224
+ iconValue: P
222
225
  }) : void 0,
223
- isHeader: E,
224
- sustainabilityScorecard: ze,
225
- headerCardVariant: Be,
226
- type: j,
227
- title: P,
228
- subtitle: F,
226
+ isHeader: w,
227
+ sustainabilityScorecard: qe,
228
+ headerCardVariant: Je,
229
+ type: k,
230
+ title: M,
231
+ subtitle: N,
229
232
  titleLinkConfiguration: {
230
- target: $e,
231
- href: Qe
233
+ target: ct,
234
+ href: st
232
235
  },
233
- cardTypeAdornment: st,
234
- titleAsFileHandleLinkConfiguration: !D && Ze === Te.FILEHANDLEID && X ? {
235
- fileHandleAssociation: X,
236
- showDownloadIcon: j !== e
236
+ cardTypeAdornment: xt,
237
+ titleAsFileHandleLinkConfiguration: !T && ot === Ne.FILEHANDLEID && $ ? {
238
+ fileHandleAssociation: $,
239
+ showDownloadIcon: k !== e
237
240
  } : void 0,
238
- ctaLinkConfig: at.length > 0 ? at : void 0,
239
- ctaLinkPosition: Ve,
240
- titleAreaRightContent: tt,
241
- description: Xe,
242
- descriptionSubTitle: it,
243
- descriptionConfig: Ue,
244
- charCountCutoff: We,
245
- labels: q,
246
- secondaryLabelLimit: Ie,
247
- useStylesForDisplayedImage: !!R,
248
- cardTopContent: /* @__PURE__ */ m(p, { children: W && /* @__PURE__ */ m(Se, {
241
+ ctaLinkConfig: yt.length > 0 ? yt : void 0,
242
+ ctaLinkPosition: Ye,
243
+ titleAreaRightContent: ut,
244
+ description: at,
245
+ descriptionSubTitle: gt,
246
+ descriptionConfig: Ze,
247
+ charCountCutoff: Qe,
248
+ labels: Z,
249
+ secondaryLabelLimit: We,
250
+ useStylesForDisplayedImage: !!I,
251
+ cardTopContent: /* @__PURE__ */ p(Me, { children: [!W && H && /* @__PURE__ */ f(ke, {
249
252
  in: s,
250
- children: /* @__PURE__ */ m(de, {
251
- entityId: W,
252
- versionNumber: G,
253
- handleClose: () => g(!1),
253
+ children: /* @__PURE__ */ f(ge, {
254
+ entityId: H,
255
+ versionNumber: U,
256
+ handleClose: () => m(!1),
254
257
  onIsLoadingChange: (e) => {
255
- Ae(e);
258
+ Re(e);
256
259
  }
257
260
  })
258
- }) }),
259
- renderedIconList: k?.columns?.dataType && L?.length && /* @__PURE__ */ m("div", {
261
+ }), W && /* @__PURE__ */ f("div", { ref: Y })] }),
262
+ renderedIconList: D?.columns?.dataType && F?.length && /* @__PURE__ */ f("div", {
260
263
  style: { marginTop: "20px" },
261
- children: /* @__PURE__ */ m(pe, {
262
- iconConfigs: k.columns.dataType,
263
- iconNames: JSON.parse(L),
264
+ children: /* @__PURE__ */ f(ye, {
265
+ iconConfigs: D.columns.dataType,
266
+ iconNames: JSON.parse(F),
264
267
  commonIconProps: { sx: { fontSize: "40px" } },
265
268
  useBackground: !0,
266
269
  useTheme: !0
267
270
  })
268
271
  }),
269
- cardTopButtons: /* @__PURE__ */ h(xe, {
270
- sx: {
271
- display: "flex",
272
- gap: 1,
273
- alignItems: "center"
274
- },
275
- children: [
276
- ot,
277
- W && /* @__PURE__ */ m(re, {
278
- onClick: () => g((e) => !e),
279
- variant: "outlined",
280
- startIcon: /* @__PURE__ */ m(Ee, { sx: { height: "12px" } }),
281
- loading: ke,
282
- children: "Download"
283
- }),
284
- Ke && Q && /* @__PURE__ */ m(ue, {
285
- title: P,
286
- doi: Q,
287
- boilerplateText: Ye,
288
- defaultCitationFormat: Je
289
- }),
290
- qe && E && /* @__PURE__ */ m(_e, { ...Le })
291
- ]
272
+ cardTopButtons: /* @__PURE__ */ f(ae.Provider, {
273
+ value: $e,
274
+ children: /* @__PURE__ */ p(Oe, {
275
+ sx: {
276
+ display: "flex",
277
+ gap: 1,
278
+ alignItems: "center"
279
+ },
280
+ children: [
281
+ bt,
282
+ W && (H || !J) && /* @__PURE__ */ f(_e, {
283
+ entityId: H,
284
+ name: M,
285
+ version: U,
286
+ hosting: K,
287
+ repository: dt,
288
+ externalUrl: ft,
289
+ downloadConfirmationContainer: Y
290
+ }),
291
+ !W && H && /* @__PURE__ */ f(oe, {
292
+ onClick: () => m((e) => !e),
293
+ variant: "outlined",
294
+ startIcon: /* @__PURE__ */ f(Pe, { sx: { height: "12px" } }),
295
+ loading: Le,
296
+ children: "Download"
297
+ }),
298
+ tt && vt && /* @__PURE__ */ f(pe, {
299
+ title: M,
300
+ doi: vt,
301
+ boilerplateText: it,
302
+ defaultCitationFormat: rt
303
+ }),
304
+ nt && w && /* @__PURE__ */ f(Ce, { ...Ge })
305
+ ]
306
+ })
292
307
  })
293
308
  });
294
309
  }
295
310
  //#endregion
296
- export { g as TableRowGenericCard, g as default };
311
+ export { m as TableRowGenericCard, m as default };
297
312
 
298
313
  //# sourceMappingURL=TableRowGenericCard.js.map