@gen3/frontend 0.10.93 → 0.10.95

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 (502) hide show
  1. package/dist/cjs/index.js +5530 -3555
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts +64 -0
  4. package/dist/dts/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  5. package/dist/dts/components/DropdownMenu/DropdownMenu.js +38 -0
  6. package/dist/dts/components/DropdownMenu/DropdownMenu.js.map +1 -0
  7. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts +2 -0
  8. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.d.ts.map +1 -0
  9. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js +141 -0
  10. package/dist/dts/components/DropdownMenu/DropdownMenu.unit.test.js.map +1 -0
  11. package/dist/dts/components/DropdownMenu/index.d.ts +3 -0
  12. package/dist/dts/components/DropdownMenu/index.d.ts.map +1 -0
  13. package/dist/dts/components/DropdownMenu/index.js +3 -0
  14. package/dist/dts/components/DropdownMenu/index.js.map +1 -0
  15. package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
  16. package/dist/dts/components/Login/LoginProvidersPanel.js +1 -1
  17. package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
  18. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts +5 -0
  19. package/dist/dts/components/MessageCards/EmptyTableMessage.d.ts.map +1 -0
  20. package/dist/dts/components/MessageCards/EmptyTableMessage.js +9 -0
  21. package/dist/dts/components/MessageCards/EmptyTableMessage.js.map +1 -0
  22. package/dist/dts/components/MessageCards/ErrorMessage.d.ts +7 -0
  23. package/dist/dts/components/MessageCards/ErrorMessage.d.ts.map +1 -0
  24. package/dist/dts/components/MessageCards/ErrorMessage.js +8 -0
  25. package/dist/dts/components/MessageCards/ErrorMessage.js.map +1 -0
  26. package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
  27. package/dist/dts/components/charts/echarts/BarChart.js +42 -4
  28. package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
  29. package/dist/dts/components/charts/echarts/ReactECharts.js +1 -1
  30. package/dist/dts/components/charts/echarts/ReactECharts.js.map +1 -1
  31. package/dist/dts/components/charts/utils.d.ts +1 -1
  32. package/dist/dts/components/charts/utils.d.ts.map +1 -1
  33. package/dist/dts/components/charts/utils.js +2 -4
  34. package/dist/dts/components/charts/utils.js.map +1 -1
  35. package/dist/dts/components/facets/EnumFacet.d.ts +2 -1
  36. package/dist/dts/components/facets/EnumFacet.d.ts.map +1 -1
  37. package/dist/dts/components/facets/EnumFacet.js.map +1 -1
  38. package/dist/dts/components/facets/FacetEnumList.d.ts.map +1 -1
  39. package/dist/dts/components/facets/FacetEnumList.js +7 -30
  40. package/dist/dts/components/facets/FacetEnumList.js.map +1 -1
  41. package/dist/dts/components/facets/FacetSelector.d.ts +1 -1
  42. package/dist/dts/components/facets/FacetSelector.d.ts.map +1 -1
  43. package/dist/dts/components/facets/FacetSelector.js +3 -1
  44. package/dist/dts/components/facets/FacetSelector.js.map +1 -1
  45. package/dist/dts/components/facets/types.d.ts +1 -0
  46. package/dist/dts/components/facets/types.d.ts.map +1 -1
  47. package/dist/dts/components/facets/types.js.map +1 -1
  48. package/dist/dts/components/facets/utils.d.ts +4 -2
  49. package/dist/dts/components/facets/utils.d.ts.map +1 -1
  50. package/dist/dts/components/facets/utils.js +27 -1
  51. package/dist/dts/components/facets/utils.js.map +1 -1
  52. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
  53. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts +8 -0
  54. package/dist/dts/features/CohortBuilder/AccessLevel.d.ts.map +1 -0
  55. package/dist/dts/features/CohortBuilder/AccessLevel.js +20 -0
  56. package/dist/dts/features/CohortBuilder/AccessLevel.js.map +1 -0
  57. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +1 -0
  58. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  59. package/dist/dts/features/CohortBuilder/CohortBuilder.js +4 -19
  60. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  61. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +20 -0
  62. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +1 -0
  63. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +37 -0
  64. package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +1 -0
  65. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +18 -0
  66. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -0
  67. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +149 -0
  68. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -0
  69. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts +9 -0
  70. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.d.ts.map +1 -0
  71. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js +122 -0
  72. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotificationProvider.js.map +1 -0
  73. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts +19 -0
  74. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.d.ts.map +1 -0
  75. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js +52 -0
  76. package/dist/dts/features/CohortBuilder/CohortManager/CohortNotifications.js.map +1 -0
  77. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +10 -0
  78. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +1 -0
  79. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +37 -0
  80. package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +1 -0
  81. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts +13 -0
  82. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.d.ts.map +1 -0
  83. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js +33 -0
  84. package/dist/dts/features/CohortBuilder/CohortManager/CustomCohortSelectItem.js.map +1 -0
  85. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts +7 -0
  86. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.d.ts.map +1 -0
  87. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js +80 -0
  88. package/dist/dts/features/CohortBuilder/CohortManager/cohortActionHooks.js.map +1 -0
  89. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts +5 -0
  90. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.d.ts.map +1 -0
  91. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js +5 -0
  92. package/dist/dts/features/CohortBuilder/CohortManager/commonIcons.js.map +1 -0
  93. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts +5 -0
  94. package/dist/dts/features/CohortBuilder/CohortManager/index.d.ts.map +1 -0
  95. package/dist/dts/features/CohortBuilder/CohortManager/index.js +4 -0
  96. package/dist/dts/features/CohortBuilder/CohortManager/index.js.map +1 -0
  97. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts +13 -0
  98. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.d.ts.map +1 -0
  99. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js +15 -0
  100. package/dist/dts/features/CohortBuilder/CohortManager/modals/GenericCohortModal.js.map +1 -0
  101. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts +4 -0
  102. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.d.ts.map +1 -0
  103. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js +8 -0
  104. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortErrorModal.js.map +1 -0
  105. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +32 -0
  106. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +1 -0
  107. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +190 -0
  108. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +1 -0
  109. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts +2 -0
  110. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.d.ts.map +1 -0
  111. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js +145 -0
  112. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.unit.test.js.map +1 -0
  113. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +29 -0
  114. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +1 -0
  115. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +79 -0
  116. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +1 -0
  117. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts +5 -0
  118. package/dist/dts/features/CohortBuilder/CohortManager/style.d.ts.map +1 -0
  119. package/dist/dts/features/CohortBuilder/CohortManager/style.js +21 -0
  120. package/dist/dts/features/CohortBuilder/CohortManager/style.js.map +1 -0
  121. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts +49 -0
  122. package/dist/dts/features/CohortBuilder/CohortManager/types.d.ts.map +1 -0
  123. package/dist/dts/features/CohortBuilder/CohortManager/types.js +2 -0
  124. package/dist/dts/features/CohortBuilder/CohortManager/types.js.map +1 -0
  125. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts +6 -0
  126. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.d.ts.map +1 -0
  127. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js +21 -0
  128. package/dist/dts/features/CohortBuilder/CohortManagerAndExpression.js.map +1 -0
  129. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts +6 -2
  130. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  131. package/dist/dts/features/CohortBuilder/CohortPanel.js +15 -19
  132. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  133. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +8 -1
  134. package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -1
  135. package/dist/dts/features/CohortBuilder/CohortSelector.js +51 -10
  136. package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -1
  137. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +6 -0
  138. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -0
  139. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js +32 -0
  140. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -0
  141. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts +1 -1
  142. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  143. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +1 -1
  144. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  145. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +2 -0
  146. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
  147. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +3 -2
  148. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  149. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +56 -60
  150. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  151. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts +4 -0
  152. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.d.ts.map +1 -0
  153. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +48 -0
  154. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -0
  155. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts +4 -0
  156. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.d.ts.map +1 -0
  157. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js +81 -0
  158. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExplorerTableSubtable.js.map +1 -0
  159. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts +9 -0
  160. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -0
  161. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +22 -0
  162. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -0
  163. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts +9 -0
  164. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.d.ts.map +1 -0
  165. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js +17 -0
  166. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableStack.js.map +1 -0
  167. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts +12 -0
  168. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.d.ts.map +1 -0
  169. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js +2 -0
  170. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/types.js.map +1 -0
  171. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +52 -12
  172. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
  173. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +4 -1
  174. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
  175. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +70 -0
  176. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
  177. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts +1 -1
  178. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.d.ts.map +1 -1
  179. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js +2 -2
  180. package/dist/dts/features/CohortBuilder/Panels/AccordianPanel.js.map +1 -1
  181. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts +1 -1
  182. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.d.ts.map +1 -1
  183. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js +5 -4
  184. package/dist/dts/features/CohortBuilder/Panels/DropdownPanel.js.map +1 -1
  185. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.d.ts.map +1 -1
  186. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js +2 -1
  187. package/dist/dts/features/CohortBuilder/Panels/TabbedPanel.js.map +1 -1
  188. package/dist/dts/features/CohortBuilder/Panels/types.d.ts +4 -1
  189. package/dist/dts/features/CohortBuilder/Panels/types.d.ts.map +1 -1
  190. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +1 -1
  191. package/dist/dts/features/CohortBuilder/index.d.ts +5 -2
  192. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  193. package/dist/dts/features/CohortBuilder/index.js +4 -1
  194. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  195. package/dist/dts/features/CohortBuilder/types.d.ts +13 -5
  196. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  197. package/dist/dts/features/CohortBuilder/types.js +6 -0
  198. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  199. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
  200. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +19 -11
  201. package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
  202. package/dist/dts/features/CohortDiscovery/CohortDiscovery.d.ts.map +1 -1
  203. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js +23 -8
  204. package/dist/dts/features/CohortDiscovery/CohortDiscovery.js.map +1 -1
  205. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +6 -0
  206. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -0
  207. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +71 -0
  208. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -0
  209. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts +2 -0
  210. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -0
  211. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +36 -0
  212. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -0
  213. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +417 -0
  214. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -0
  215. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +45 -0
  216. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -0
  217. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +95 -0
  218. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -0
  219. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +388 -0
  220. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -0
  221. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts +64 -0
  222. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.d.ts.map +1 -0
  223. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js +574 -0
  224. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortStorage.js.map +1 -0
  225. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts +7 -0
  226. package/dist/dts/features/CohortDiscovery/CohortManagment/types.d.ts.map +1 -0
  227. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js +2 -0
  228. package/dist/dts/features/CohortDiscovery/CohortManagment/types.js.map +1 -0
  229. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts +1 -1
  230. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.d.ts.map +1 -1
  231. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js +1 -1
  232. package/dist/dts/features/CohortDiscovery/FacetSelectionPanel.js.map +1 -1
  233. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts +1 -1
  234. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.d.ts.map +1 -1
  235. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js +1 -1
  236. package/dist/dts/features/CohortDiscovery/FilterExpandSlice.js.map +1 -1
  237. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts +2 -1
  238. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.d.ts.map +1 -1
  239. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js +22 -6
  240. package/dist/dts/features/CohortDiscovery/FilterPanels/EnumFacetPanel.js.map +1 -1
  241. package/dist/dts/features/CohortDiscovery/FilterPanels/FacetPanelDataHeader.js.map +1 -1
  242. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts +1 -1
  243. package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
  244. package/dist/dts/features/CohortDiscovery/IndexPanel.js +41 -33
  245. package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
  246. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts +22 -0
  247. package/dist/dts/features/CohortDiscovery/Requests/hooks.d.ts.map +1 -0
  248. package/dist/dts/features/CohortDiscovery/Requests/hooks.js +147 -0
  249. package/dist/dts/features/CohortDiscovery/Requests/hooks.js.map +1 -0
  250. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts +1 -0
  251. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.d.ts.map +1 -0
  252. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js +284 -0
  253. package/dist/dts/features/CohortDiscovery/SavedCohortManagerSlice.js.map +1 -0
  254. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts +8 -0
  255. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.d.ts.map +1 -0
  256. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js +9 -0
  257. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsPanel.js.map +1 -0
  258. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts +10 -0
  259. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -0
  260. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +231 -0
  261. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -0
  262. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts +3 -4
  263. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.d.ts.map +1 -1
  264. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js +6 -11
  265. package/dist/dts/features/CohortDiscovery/SelectedFacetsSlice.js.map +1 -1
  266. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts +8 -0
  267. package/dist/dts/features/CohortDiscovery/TabbedIndex.d.ts.map +1 -0
  268. package/dist/dts/features/CohortDiscovery/TabbedIndex.js +15 -0
  269. package/dist/dts/features/CohortDiscovery/TabbedIndex.js.map +1 -0
  270. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js +2 -2
  271. package/dist/dts/features/CohortDiscovery/api/analysisApiCohortDiscovery.js.map +1 -1
  272. package/dist/dts/features/CohortDiscovery/appApi.d.ts +19 -3
  273. package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
  274. package/dist/dts/features/CohortDiscovery/appApi.js +11 -3
  275. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  276. package/dist/dts/features/CohortDiscovery/hooks.d.ts +12 -0
  277. package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
  278. package/dist/dts/features/CohortDiscovery/hooks.js +42 -1
  279. package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
  280. package/dist/dts/features/CohortDiscovery/registerApp.d.ts.map +1 -1
  281. package/dist/dts/features/CohortDiscovery/registerApp.js +5 -3
  282. package/dist/dts/features/CohortDiscovery/registerApp.js.map +1 -1
  283. package/dist/dts/features/CohortDiscovery/types.d.ts +57 -0
  284. package/dist/dts/features/CohortDiscovery/types.d.ts.map +1 -1
  285. package/dist/dts/features/CohortDiscovery/types.js +35 -1
  286. package/dist/dts/features/CohortDiscovery/types.js.map +1 -1
  287. package/dist/dts/features/CohortSimilarity/appApi.d.ts +4 -6
  288. package/dist/dts/features/CohortSimilarity/appApi.d.ts.map +1 -1
  289. package/dist/dts/features/CohortSimilarity/appApi.js +3 -1
  290. package/dist/dts/features/CohortSimilarity/appApi.js.map +1 -1
  291. package/dist/dts/features/CohortSimilarity/registerApp.d.ts.map +1 -1
  292. package/dist/dts/features/CohortSimilarity/registerApp.js +1 -3
  293. package/dist/dts/features/CohortSimilarity/registerApp.js.map +1 -1
  294. package/dist/dts/features/DataLibrary/DatasetAccordionControl.d.ts.map +1 -1
  295. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js +2 -2
  296. package/dist/dts/features/DataLibrary/DatasetAccordionControl.js.map +1 -1
  297. package/dist/dts/features/DataLibrary/SearchAndActions.js +1 -1
  298. package/dist/dts/features/DataLibrary/SearchAndActions.js.map +1 -1
  299. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
  300. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +1 -1
  301. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
  302. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js +2 -1
  303. package/dist/dts/features/DataLibrary/tests/utils.unit.test.js.map +1 -1
  304. package/dist/dts/features/DataLibrary/utils.d.ts +0 -10
  305. package/dist/dts/features/DataLibrary/utils.d.ts.map +1 -1
  306. package/dist/dts/features/DataLibrary/utils.js +0 -34
  307. package/dist/dts/features/DataLibrary/utils.js.map +1 -1
  308. package/dist/dts/features/Dictionary/CategoryPanel.d.ts.map +1 -1
  309. package/dist/dts/features/Dictionary/CategoryPanel.js +9 -9
  310. package/dist/dts/features/Dictionary/CategoryPanel.js.map +1 -1
  311. package/dist/dts/features/Dictionary/DictionaryWithContext.d.ts.map +1 -1
  312. package/dist/dts/features/Dictionary/DictionaryWithContext.js.map +1 -1
  313. package/dist/dts/features/Discovery/DataLoaders/IndexedMetadata/DataLoader.js.map +1 -1
  314. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.d.ts.map +1 -1
  315. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js +2 -2
  316. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/DataLoader.js.map +1 -1
  317. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.d.ts.map +1 -1
  318. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js +1 -1
  319. package/dist/dts/features/Discovery/DataLoaders/MDSAllLocal/filterByTags.js.map +1 -1
  320. package/dist/dts/features/Discovery/DataLoaders/utils.d.ts.map +1 -1
  321. package/dist/dts/features/Discovery/DataLoaders/utils.js +1 -1
  322. package/dist/dts/features/Discovery/DataLoaders/utils.js.map +1 -1
  323. package/dist/dts/features/Discovery/DiscoveryIndexPanel.d.ts.map +1 -1
  324. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js +8 -6
  325. package/dist/dts/features/Discovery/DiscoveryIndexPanel.js.map +1 -1
  326. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts +0 -3
  327. package/dist/dts/features/Discovery/DiscoveryProvider.d.ts.map +1 -1
  328. package/dist/dts/features/Discovery/DiscoveryProvider.js +0 -5
  329. package/dist/dts/features/Discovery/DiscoveryProvider.js.map +1 -1
  330. package/dist/dts/features/Discovery/DiscoveryTable.d.ts.map +1 -1
  331. package/dist/dts/features/Discovery/DiscoveryTable.js +7 -5
  332. package/dist/dts/features/Discovery/DiscoveryTable.js.map +1 -1
  333. package/dist/dts/features/Discovery/StudyDetails/StudyItems.d.ts.map +1 -1
  334. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js +3 -1
  335. package/dist/dts/features/Discovery/StudyDetails/StudyItems.js.map +1 -1
  336. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts +2 -3
  337. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.d.ts.map +1 -1
  338. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js +3 -3
  339. package/dist/dts/features/Discovery/TableRenderers/CellRenderers.js.map +1 -1
  340. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts +1 -2
  341. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.d.ts.map +1 -1
  342. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js +5 -6
  343. package/dist/dts/features/Discovery/TableRenderers/DataAccessCellRenderers.js.map +1 -1
  344. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts +1 -1
  345. package/dist/dts/features/Discovery/TableRenderers/RowRendererFactory.d.ts.map +1 -1
  346. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts +1 -1
  347. package/dist/dts/features/Discovery/TableRenderers/RowRenderers.d.ts.map +1 -1
  348. package/dist/dts/features/Discovery/index.d.ts +2 -4
  349. package/dist/dts/features/Discovery/index.d.ts.map +1 -1
  350. package/dist/dts/features/Discovery/index.js +1 -3
  351. package/dist/dts/features/Discovery/index.js.map +1 -1
  352. package/dist/dts/features/Discovery/types.d.ts +3 -107
  353. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  354. package/dist/dts/features/Discovery/types.js +0 -16
  355. package/dist/dts/features/Discovery/types.js.map +1 -1
  356. package/dist/dts/features/Discovery/utils.d.ts +2 -8
  357. package/dist/dts/features/Discovery/utils.d.ts.map +1 -1
  358. package/dist/dts/features/Discovery/utils.js +1 -28
  359. package/dist/dts/features/Discovery/utils.js.map +1 -1
  360. package/dist/dts/features/Navigation/Banner.d.ts +2 -1
  361. package/dist/dts/features/Navigation/Banner.d.ts.map +1 -1
  362. package/dist/dts/features/Navigation/Banner.js +0 -1
  363. package/dist/dts/features/Navigation/Banner.js.map +1 -1
  364. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  365. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  366. package/dist/dts/features/Navigation/NavPageLayout.js +2 -2
  367. package/dist/dts/features/Navigation/NavPageLayout.js.map +1 -1
  368. package/dist/dts/features/Navigation/index.d.ts +2 -2
  369. package/dist/dts/features/Navigation/index.d.ts.map +1 -1
  370. package/dist/dts/features/Navigation/index.js.map +1 -1
  371. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts +9 -0
  372. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -0
  373. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js +11 -0
  374. package/dist/dts/features/Study/StudyDetails/DetailsAuthorizationIcon.js.map +1 -0
  375. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts +19 -0
  376. package/dist/dts/features/Study/StudyDetails/RendererFactory.d.ts.map +1 -0
  377. package/dist/dts/features/Study/StudyDetails/RendererFactory.js +56 -0
  378. package/dist/dts/features/Study/StudyDetails/RendererFactory.js.map +1 -0
  379. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts +15 -0
  380. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.d.ts.map +1 -0
  381. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +44 -0
  382. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -0
  383. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts +10 -0
  384. package/dist/dts/features/Study/StudyDetails/StudyDetails.d.ts.map +1 -0
  385. package/dist/dts/features/Study/StudyDetails/StudyDetails.js +36 -0
  386. package/dist/dts/features/Study/StudyDetails/StudyDetails.js.map +1 -0
  387. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts +10 -0
  388. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.d.ts.map +1 -0
  389. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js +19 -0
  390. package/dist/dts/features/Study/StudyDetails/StudyDetailsPanel.js.map +1 -0
  391. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts +8 -0
  392. package/dist/dts/features/Study/StudyDetails/StudyGroup.d.ts.map +1 -0
  393. package/dist/dts/features/Study/StudyDetails/StudyGroup.js +31 -0
  394. package/dist/dts/features/Study/StudyDetails/StudyGroup.js.map +1 -0
  395. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts +9 -0
  396. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.d.ts.map +1 -0
  397. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js +11 -0
  398. package/dist/dts/features/Study/StudyDetails/StudyGroupPanel.js.map +1 -0
  399. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts +5 -0
  400. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -0
  401. package/dist/dts/features/Study/StudyDetails/StudyItems.js +283 -0
  402. package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -0
  403. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts +10 -0
  404. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.d.ts.map +1 -0
  405. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js +45 -0
  406. package/dist/dts/features/Study/StudyPage/DownloadLinksPanel.js.map +1 -0
  407. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts +10 -0
  408. package/dist/dts/features/Study/StudyPage/StudyPage.d.ts.map +1 -0
  409. package/dist/dts/features/Study/StudyPage/StudyPage.js +11 -0
  410. package/dist/dts/features/Study/StudyPage/StudyPage.js.map +1 -0
  411. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts +9 -0
  412. package/dist/dts/features/Study/StudyPage/StudyPageGroup.d.ts.map +1 -0
  413. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js +8 -0
  414. package/dist/dts/features/Study/StudyPage/StudyPageGroup.js.map +1 -0
  415. package/dist/dts/features/Study/StudyProvider.d.ts +12 -0
  416. package/dist/dts/features/Study/StudyProvider.d.ts.map +1 -0
  417. package/dist/dts/features/Study/StudyProvider.js +23 -0
  418. package/dist/dts/features/Study/StudyProvider.js.map +1 -0
  419. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts +3 -0
  420. package/dist/dts/features/Study/TableRenderers/CellRenderers.d.ts.map +1 -0
  421. package/dist/dts/features/Study/TableRenderers/CellRenderers.js +20 -0
  422. package/dist/dts/features/Study/TableRenderers/CellRenderers.js.map +1 -0
  423. package/dist/dts/features/Study/TableRenderers/types.d.ts +14 -0
  424. package/dist/dts/features/Study/TableRenderers/types.d.ts.map +1 -0
  425. package/dist/dts/features/Study/TableRenderers/types.js +2 -0
  426. package/dist/dts/features/Study/TableRenderers/types.js.map +1 -0
  427. package/dist/dts/features/Study/index.d.ts +5 -0
  428. package/dist/dts/features/Study/index.d.ts.map +1 -0
  429. package/dist/dts/features/Study/index.js +4 -0
  430. package/dist/dts/features/Study/index.js.map +1 -0
  431. package/dist/dts/features/Study/types.d.ts +91 -0
  432. package/dist/dts/features/Study/types.d.ts.map +1 -0
  433. package/dist/dts/features/Study/types.js +8 -0
  434. package/dist/dts/features/Study/types.js.map +1 -0
  435. package/dist/dts/features/Study/utils.d.ts +10 -0
  436. package/dist/dts/features/Study/utils.d.ts.map +1 -0
  437. package/dist/dts/features/Study/utils.js +28 -0
  438. package/dist/dts/features/Study/utils.js.map +1 -0
  439. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.d.ts.map +1 -1
  440. package/dist/dts/features/Workspace/admin/WorkspacePanelsEditor.js.map +1 -1
  441. package/dist/dts/index.d.ts +3 -1
  442. package/dist/dts/index.d.ts.map +1 -1
  443. package/dist/dts/index.js +7 -1
  444. package/dist/dts/index.js.map +1 -1
  445. package/dist/dts/lib/session/session.d.ts.map +1 -1
  446. package/dist/dts/lib/session/session.js +16 -32
  447. package/dist/dts/lib/session/session.js.map +1 -1
  448. package/dist/dts/pages/Explorer/data.d.ts.map +1 -1
  449. package/dist/dts/pages/Explorer/data.js +28 -22
  450. package/dist/dts/pages/Explorer/data.js.map +1 -1
  451. package/dist/dts/pages/admin/analysis/Analysis.d.ts +1 -1
  452. package/dist/dts/pages/admin/analysis/Analysis.d.ts.map +1 -1
  453. package/dist/dts/pages/admin/analysis/Analysis.js +1 -1
  454. package/dist/dts/pages/admin/analysis/Analysis.js.map +1 -1
  455. package/dist/dts/types/icons.d.ts +4 -0
  456. package/dist/dts/types/icons.d.ts.map +1 -0
  457. package/dist/dts/types/icons.js +5 -0
  458. package/dist/dts/types/icons.js.map +1 -0
  459. package/dist/dts/utils/access.d.ts +10 -0
  460. package/dist/dts/utils/access.d.ts.map +1 -0
  461. package/dist/dts/utils/access.js +11 -0
  462. package/dist/dts/utils/access.js.map +1 -0
  463. package/dist/dts/utils/authMapping.d.ts +4 -0
  464. package/dist/dts/utils/authMapping.d.ts.map +1 -1
  465. package/dist/dts/utils/authMapping.js.map +1 -1
  466. package/dist/dts/utils/convertResourcePathsToTree.d.ts +8 -0
  467. package/dist/dts/utils/convertResourcePathsToTree.d.ts.map +1 -0
  468. package/dist/dts/utils/convertResourcePathsToTree.js +43 -0
  469. package/dist/dts/utils/convertResourcePathsToTree.js.map +1 -0
  470. package/dist/dts/utils/dataAuthorization.d.ts +11 -0
  471. package/dist/dts/utils/dataAuthorization.d.ts.map +1 -0
  472. package/dist/dts/utils/dataAuthorization.js +2 -0
  473. package/dist/dts/utils/dataAuthorization.js.map +1 -0
  474. package/dist/dts/utils/date.d.ts +16 -0
  475. package/dist/dts/utils/date.d.ts.map +1 -1
  476. package/dist/dts/utils/date.js +54 -8
  477. package/dist/dts/utils/date.js.map +1 -1
  478. package/dist/dts/utils/index.d.ts +2 -0
  479. package/dist/dts/utils/index.d.ts.map +1 -1
  480. package/dist/dts/utils/index.js +2 -0
  481. package/dist/dts/utils/index.js.map +1 -1
  482. package/dist/dts/utils/layout.d.ts +2 -0
  483. package/dist/dts/utils/layout.d.ts.map +1 -0
  484. package/dist/dts/utils/layout.js +20 -0
  485. package/dist/dts/utils/layout.js.map +1 -0
  486. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts +2 -0
  487. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.d.ts.map +1 -0
  488. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js +150 -0
  489. package/dist/dts/utils/tests/convertResourcePathsToTree.unit.test.js.map +1 -0
  490. package/dist/esm/index.js +5935 -3966
  491. package/dist/esm/index.js.map +1 -1
  492. package/dist/index.d.ts +216 -146
  493. package/dist/tsconfig.tsbuildinfo +1 -1
  494. package/package.json +7 -7
  495. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
  496. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
  497. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
  498. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
  499. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts +0 -3
  500. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.d.ts.map +0 -1
  501. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js +0 -13
  502. package/dist/dts/features/CohortDiscovery/ActionButtonGroup.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.js","sourceRoot":"","sources":["../../../src/utils/access.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,IAAM,mBAAmB,GAAG,cAAc,CAAC;AAElD,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,yDAAc,CAAA;IACd,6DAAgB,CAAA;IAChB,mDAAW,CAAA;IACX,+DAAiB,CAAA;IACjB,+CAAS,CAAA;IACT,+CAAS,CAAA;AACX,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB"}
@@ -1,4 +1,8 @@
1
1
  import { ServiceAndMethod } from '@gen3/core';
2
+ export interface UserAuthMapping {
3
+ service: string;
4
+ method: string;
5
+ }
2
6
  export declare const resourcePathFromProjectID: (projectID: string) => string;
3
7
  export declare const userHasMethodForServiceOnResource: (method: string, service: string, resourcePath: string, userAuthMapping?: Record<string, Array<ServiceAndMethod>>) => boolean;
4
8
  //# sourceMappingURL=authMapping.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authMapping.d.ts","sourceRoot":"","sources":["../../../src/utils/authMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,yBAAyB,GAAI,WAAW,MAAM,WAK1D,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAC5C,QAAQ,MAAM,EACd,SAAS,MAAM,EACf,cAAc,MAAM,EACpB,kBAAiB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAM,YAoB9D,CAAC"}
1
+ {"version":3,"file":"authMapping.d.ts","sourceRoot":"","sources":["../../../src/utils/authMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,yBAAyB,GAAI,WAAW,MAAM,WAK1D,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAC5C,QAAQ,MAAM,EACd,SAAS,MAAM,EACf,cAAc,MAAM,EACpB,kBAAiB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAM,YAoB9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"authMapping.js","sourceRoot":"","sources":["../../../src/utils/authMapping.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,yBAAyB,GAAG,UAAC,SAAiB;IACzD,IAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACnC,IAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IACzB,IAAM,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CA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,OAAe,EACf,YAAoB,EACpB,eAA6D;IAA7D,gCAAA,EAAA,oBAA6D;IAE7D,IAAM,OAAO,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;IAC9C,4BAA4B;IAC5B,yEAAyE;IACzE,4CAA4C;IAC5C,kEAAkE;IAClE,qCAAqC;IACrC,yCAAyC;IACzC,oCAAoC;IACpC,kCAAkC;IAClC,6BAA6B;IAC7B,OAAO,CACL,OAAO,KAAK,SAAS;QACrB,OAAO,CAAC,IAAI,CACV,UAAC,CAAC;YACA,OAAA,CAAC,CAAC,CAAC,OAAO,KAAK,OAAO,IAAI,CAAC,CAAC,OAAO,KAAK,GAAG,CAAC;gBAC5C,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,CAAC;QADzC,CACyC,CAC5C,CACF,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ interface ResourceEntry {
2
+ value: string;
3
+ label: string;
4
+ children?: Array<ResourceEntry>;
5
+ }
6
+ export declare const convertPathsToTree: (paths: Array<string>) => ResourceEntry[];
7
+ export {};
8
+ //# sourceMappingURL=convertResourcePathsToTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertResourcePathsToTree.d.ts","sourceRoot":"","sources":["../../../src/utils/convertResourcePathsToTree.ts"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACjC;AAOD,eAAO,MAAM,kBAAkB,GAAI,OAAO,KAAK,CAAC,MAAM,CAAC,oBAkDtD,CAAC"}
@@ -0,0 +1,43 @@
1
+ export var convertPathsToTree = function (paths) {
2
+ var tree = {};
3
+ paths.forEach(function (path) {
4
+ var parts = path.split('/').filter(function (part) { return part !== ''; });
5
+ var current = tree;
6
+ // Build the path through the tree
7
+ for (var i = 0; i < parts.length; i++) {
8
+ var part = parts[i];
9
+ var fullPath = parts.slice(0, i + 1).join('/');
10
+ if (!current[part]) {
11
+ current[part] = {
12
+ value: fullPath,
13
+ label: part,
14
+ children: {},
15
+ _hasChildren: false,
16
+ };
17
+ }
18
+ // Mark parent as having children
19
+ if (i < parts.length - 1) {
20
+ current[part]._hasChildren = true;
21
+ }
22
+ current = current[part].children;
23
+ }
24
+ });
25
+ // Convert to final format
26
+ var convertToFinalFormat = function (node) {
27
+ var result = {
28
+ value: node.value,
29
+ label: node.label,
30
+ };
31
+ var childKeys = Object.keys(node.children);
32
+ if (childKeys.length > 0) {
33
+ result.children = childKeys.map(function (key) {
34
+ return convertToFinalFormat(node.children[key]);
35
+ });
36
+ }
37
+ return result;
38
+ };
39
+ // Get the root nodes and convert them
40
+ var rootKeys = Object.keys(tree);
41
+ return rootKeys.map(function (key) { return convertToFinalFormat(tree[key]); });
42
+ };
43
+ //# sourceMappingURL=convertResourcePathsToTree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertResourcePathsToTree.js","sourceRoot":"","sources":["../../../src/utils/convertResourcePathsToTree.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,IAAM,kBAAkB,GAAG,UAAC,KAAoB;IACrD,IAAM,IAAI,GAA4C,EAAE,CAAC;IAEzD,KAAK,CAAC,OAAO,CAAC,UAAC,IAAI;QACjB,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,KAAK,EAAE,EAAX,CAAW,CAAC,CAAC;QAC5D,IAAI,OAAO,GAAG,IAAI,CAAC;QAEnB,kCAAkC;QAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,IAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACtB,IAAM,QAAQ,GAAG,KAAK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,IAAI,CAAC,GAAG,CAAC,CAAC,EAA/B,CAA+B,CAAC,CAAC;AAChE,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export interface AuthorizationValues {
2
+ enabled: boolean;
3
+ menuText: string;
4
+ }
5
+ export interface DataAuthorization {
6
+ columnTooltip?: string;
7
+ supportedValues?: Record<string, AuthorizationValues>;
8
+ isMesh?: boolean;
9
+ enabled?: boolean;
10
+ }
11
+ //# sourceMappingURL=dataAuthorization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataAuthorization.d.ts","sourceRoot":"","sources":["../../../src/utils/dataAuthorization.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dataAuthorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataAuthorization.js","sourceRoot":"","sources":["../../../src/utils/dataAuthorization.ts"],"names":[],"mappings":""}
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Converts a date into a string of YYYY-MM-DD padding 0 for months and days \< 10.
3
+ * Note the use of UTC to ensure the GMT timezone.
4
+ * @param d - date to convert
5
+ */
6
+ export declare const convertDateToString: (d: Date | null) => string | undefined;
1
7
  /**
2
8
  * Returns a formatted timestamp string based on the provided date or the current date.
3
9
  *
@@ -14,4 +20,14 @@ export declare function getFormattedTimestamp(options?: {
14
20
  date?: Date | null;
15
21
  includeTimes?: boolean;
16
22
  }): string | undefined;
23
+ /**
24
+ * Formats a given date string into a specific format.
25
+ *
26
+ * @param {string} datestr - The date string to be formatted.
27
+ * @returns {string} The formatted date string.
28
+ * @throws {Error} Throws an error if the provided date string is invalid or the format is incorrect.
29
+ *
30
+ * The function parses the provided date string into a timestamp.
31
+ */
32
+ export declare const formatDate: (datestr: string) => string;
17
33
  //# sourceMappingURL=date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,GAAE;IACP,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACnB,GACL,MAAM,GAAG,SAAS,CA2BpB"}
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,GAAG,IAAI,GAAG,IAAI,KAAG,MAAM,GAAG,SAK7D,CAAC;AAGF;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,GAAE;IACP,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACnB,GACL,MAAM,GAAG,SAAS,CA2BpB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,KAAG,MA2B5C,CAAC"}
@@ -1,3 +1,15 @@
1
+ /**
2
+ * Converts a date into a string of YYYY-MM-DD padding 0 for months and days \< 10.
3
+ * Note the use of UTC to ensure the GMT timezone.
4
+ * @param d - date to convert
5
+ */
6
+ export var convertDateToString = function (d) {
7
+ if (d === null)
8
+ return undefined;
9
+ return "".concat(d.getUTCFullYear(), "-").concat((d.getUTCMonth() + 1) //UTC Months start at 0
10
+ .toString()
11
+ .padStart(2, '0'), "-").concat(d.getUTCDate().toString().padStart(2, '0'));
12
+ };
1
13
  // https://stackoverflow.com/questions/2388115/get-locale-short-date-format-using-javascript
2
14
  /**
3
15
  * Returns a formatted timestamp string based on the provided date or the current date.
@@ -17,25 +29,59 @@ export function getFormattedTimestamp(options) {
17
29
  if (date === null)
18
30
  return undefined;
19
31
  var formatOptions = {
20
- year: "numeric",
21
- month: "2-digit",
22
- day: "2-digit",
32
+ year: 'numeric',
33
+ month: '2-digit',
34
+ day: '2-digit',
23
35
  timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
24
36
  };
25
37
  if (includeTimes) {
26
38
  Object.assign(formatOptions, {
27
- hour: "2-digit",
28
- minute: "2-digit",
29
- second: "2-digit",
39
+ hour: '2-digit',
40
+ minute: '2-digit',
41
+ second: '2-digit',
30
42
  hour12: false,
31
43
  });
32
44
  }
33
- var formattedDate = date.toLocaleString("sv-SE", formatOptions);
45
+ var formattedDate = date.toLocaleString('sv-SE', formatOptions);
34
46
  if (includeTimes) {
35
- return formattedDate.replace(" ", ".").replace(/[:]/g, "");
47
+ return formattedDate.replace(' ', '.').replace(/[:]/g, '');
36
48
  }
37
49
  else {
38
50
  return formattedDate;
39
51
  }
40
52
  }
53
+ /**
54
+ * Formats a given date string into a specific format.
55
+ *
56
+ * @param {string} datestr - The date string to be formatted.
57
+ * @returns {string} The formatted date string.
58
+ * @throws {Error} Throws an error if the provided date string is invalid or the format is incorrect.
59
+ *
60
+ * The function parses the provided date string into a timestamp.
61
+ */
62
+ export var formatDate = function (datestr) {
63
+ var timestamp = Date.parse(datestr);
64
+ if (isNaN(timestamp)) {
65
+ throw new Error('Invalid date string');
66
+ }
67
+ var date = new Date(timestamp);
68
+ var parts = new Intl.DateTimeFormat('en-US', {
69
+ month: 'short',
70
+ day: 'numeric',
71
+ year: 'numeric',
72
+ hour: '2-digit',
73
+ minute: '2-digit',
74
+ second: '2-digit',
75
+ hour12: false,
76
+ timeZone: 'UTC',
77
+ })
78
+ .formatToParts(date)
79
+ .filter(function (p) { return p.type !== 'literal'; }) // Filter out literal types like spaces and commas
80
+ .map(function (p) { return p.value; });
81
+ if (parts.length !== 6)
82
+ throw new Error('format date wrong length');
83
+ var day = parts.slice(0, 3).join('-');
84
+ var time = parts.slice(3).join(':');
85
+ return "".concat(day, " ").concat(time);
86
+ };
41
87
  //# sourceMappingURL=date.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.js","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAGM;IAHN,wBAAA,EAAA,YAGM;IAEE,IAAA,KAA4C,OAAO,KAAlC,EAAjB,IAAI,mBAAG,IAAI,IAAI,EAAE,KAAA,EAAE,KAAyB,OAAO,aAAZ,EAApB,YAAY,mBAAG,KAAK,KAAA,CAAa;IAC5D,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,SAAS,CAAC;IAEpC,IAAM,aAAa,GAA+B;QAChD,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,eAAe,EAAE,CAAC,QAAQ;KAC3D,CAAC;IAEF,IAAI,YAAY,EAAE,CAAC;QACjB,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE;YAC3B,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,KAAK;SACd,CAAC,CAAC;IACL,CAAC;IAED,IAAM,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAElE,IAAI,YAAY,EAAE,CAAC;QACjB,OAAO,aAAa,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;SAAM,CAAC;QACN,OAAO,aAAa,CAAC;IACvB,CAAC;AACH,CAAC"}
1
+ {"version":3,"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AAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,UAAG,GAAG,cAAI,IAAI,CAAE,CAAC;AAC1B,CAAC,CAAC"}
@@ -10,4 +10,6 @@ export * from './strings';
10
10
  export * from './isType';
11
11
  export * from './values';
12
12
  export * from './time';
13
+ export * from './access';
14
+ export * from './dataAuthorization';
13
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CAAC;AAChE,OAAO,EAAE,KAAK,cAAc,EAAE,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,CAAC;AACrD,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CAAC;AAChE,OAAO,EAAE,KAAK,cAAc,EAAE,CAAC;AAC/B,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,CAAC;AACrD,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
@@ -8,4 +8,6 @@ export * from './strings';
8
8
  export * from './isType';
9
9
  export * from './values';
10
10
  export * from './time';
11
+ export * from './access';
12
+ export * from './dataAuthorization';
11
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEhF,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,CAAC;AACrD,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEhF,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,CAAC;AACrD,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TabsLayoutToComponentProp: (tabsLayout?: "left" | "right" | "center") => "center" | "flex-end" | "flex-start";
2
+ //# sourceMappingURL=layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/utils/layout.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,GACpC,aAAa,MAAM,GAAG,OAAO,GAAG,QAAQ,yCAmBzC,CAAC"}
@@ -0,0 +1,20 @@
1
+ export var TabsLayoutToComponentProp = function (tabsLayout) {
2
+ if (!tabsLayout) {
3
+ return 'flex-start';
4
+ }
5
+ switch (tabsLayout) {
6
+ case 'left': {
7
+ return 'flex-start';
8
+ }
9
+ case 'right': {
10
+ return 'flex-end';
11
+ }
12
+ case 'center': {
13
+ return 'center';
14
+ }
15
+ default: {
16
+ return 'flex-start';
17
+ }
18
+ }
19
+ };
20
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../src/utils/layout.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,yBAAyB,GAAG,UACvC,UAAwC;IAExC,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,YAAY,CAAC;IACtB,CAAC;IACD,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,MAAM,CAAC,CAAC,CAAC;YACZ,OAAO,YAAY,CAAC;QACtB,CAAC;QACD,KAAK,OAAO,CAAC,CAAC,CAAC;YACb,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,YAAY,CAAC;QACtB,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=convertResourcePathsToTree.unit.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertResourcePathsToTree.unit.test.d.ts","sourceRoot":"","sources":["../../../../src/utils/tests/convertResourcePathsToTree.unit.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,150 @@
1
+ import { convertPathsToTree } from '../convertResourcePathsToTree';
2
+ describe('convertPathsToTree', function () {
3
+ test('converts simple paths with single root', function () {
4
+ var paths = ['src/components', 'src/hooks'];
5
+ var result = convertPathsToTree(paths);
6
+ expect(result).toEqual([
7
+ {
8
+ value: 'src',
9
+ label: 'src',
10
+ children: [
11
+ { value: 'src/components', label: 'components' },
12
+ { value: 'src/hooks', label: 'hooks' },
13
+ ],
14
+ },
15
+ ]);
16
+ });
17
+ test('handles multiple levels of nesting', function () {
18
+ var paths = [
19
+ 'program/project1/a',
20
+ 'program/project1/b',
21
+ 'program/project2',
22
+ ];
23
+ var result = convertPathsToTree(paths);
24
+ expect(result).toEqual([
25
+ {
26
+ value: 'program',
27
+ label: 'program',
28
+ children: [
29
+ {
30
+ value: 'program/project1',
31
+ label: 'project1',
32
+ children: [
33
+ { value: 'program/project1/a', label: 'a' },
34
+ { value: 'program/project1/b', label: 'b' },
35
+ ],
36
+ },
37
+ { value: 'program/project2', label: 'project2' },
38
+ ],
39
+ },
40
+ ]);
41
+ });
42
+ test('handles multiple root directories', function () {
43
+ var paths = ['src/components', 'src/hooks', 'lib/utils', 'docs/readme'];
44
+ var result = convertPathsToTree(paths);
45
+ expect(result).toHaveLength(3);
46
+ expect(result).toEqual(expect.arrayContaining([
47
+ {
48
+ value: 'src',
49
+ label: 'src',
50
+ children: [
51
+ { value: 'src/components', label: 'components' },
52
+ { value: 'src/hooks', label: 'hooks' },
53
+ ],
54
+ },
55
+ {
56
+ value: 'lib',
57
+ label: 'lib',
58
+ children: [{ value: 'lib/utils', label: 'utils' }],
59
+ },
60
+ {
61
+ value: 'docs',
62
+ label: 'docs',
63
+ children: [{ value: 'docs/readme', label: 'readme' }],
64
+ },
65
+ ]));
66
+ });
67
+ test('handles paths with leading slashes', function () {
68
+ var paths = ['/src/components', '/src/hooks'];
69
+ var result = convertPathsToTree(paths);
70
+ expect(result).toEqual([
71
+ {
72
+ value: 'src',
73
+ label: 'src',
74
+ children: [
75
+ { value: 'src/components', label: 'components' },
76
+ { value: 'src/hooks', label: 'hooks' },
77
+ ],
78
+ },
79
+ ]);
80
+ });
81
+ test('handles single path', function () {
82
+ var paths = ['src/components'];
83
+ var result = convertPathsToTree(paths);
84
+ expect(result).toEqual([
85
+ {
86
+ value: 'src',
87
+ label: 'src',
88
+ children: [{ value: 'src/components', label: 'components' }],
89
+ },
90
+ ]);
91
+ });
92
+ test('handles empty array', function () {
93
+ var paths = [];
94
+ var result = convertPathsToTree(paths);
95
+ expect(result).toEqual([]);
96
+ });
97
+ test('handles single level paths', function () {
98
+ var paths = ['file1', 'file2', 'file3'];
99
+ var result = convertPathsToTree(paths);
100
+ expect(result).toEqual([
101
+ { value: 'file1', label: 'file1' },
102
+ { value: 'file2', label: 'file2' },
103
+ { value: 'file3', label: 'file3' },
104
+ ]);
105
+ });
106
+ test('handles complex nested structure', function () {
107
+ var _a;
108
+ var paths = [
109
+ 'src/components/ui/Button.jsx',
110
+ 'src/components/ui/Input.jsx',
111
+ 'src/components/layout/Header.jsx',
112
+ 'src/hooks/useAuth.js',
113
+ 'src/utils/helpers.js',
114
+ 'tests/unit/components.test.js',
115
+ ];
116
+ var result = convertPathsToTree(paths);
117
+ expect(result).toHaveLength(2); // src and tests
118
+ var srcNode = result.find(function (node) { return node.label === 'src'; });
119
+ expect(srcNode).toBeDefined();
120
+ expect(srcNode === null || srcNode === void 0 ? void 0 : srcNode.children).toHaveLength(3); // components, hooks, utils
121
+ var componentsNode = (_a = srcNode === null || srcNode === void 0 ? void 0 : srcNode.children) === null || _a === void 0 ? void 0 : _a.find(function (node) { return node.label === 'components'; });
122
+ expect(componentsNode === null || componentsNode === void 0 ? void 0 : componentsNode.children).toHaveLength(2); // ui, layout
123
+ });
124
+ test('preserves order of paths at same level', function () {
125
+ var _a;
126
+ var paths = ['a/z', 'a/y', 'a/x'];
127
+ var result = convertPathsToTree(paths);
128
+ // The order should be preserved as they were added
129
+ expect((_a = result[0].children) === null || _a === void 0 ? void 0 : _a.map(function (child) { return child.label; })).toEqual([
130
+ 'z',
131
+ 'y',
132
+ 'x',
133
+ ]);
134
+ });
135
+ test('handles duplicate paths gracefully', function () {
136
+ var paths = ['src/components', 'src/components', 'src/hooks'];
137
+ var result = convertPathsToTree(paths);
138
+ expect(result).toEqual([
139
+ {
140
+ value: 'src',
141
+ label: 'src',
142
+ children: [
143
+ { value: 'src/components', label: 'components' },
144
+ { value: 'src/hooks', label: 'hooks' },
145
+ ],
146
+ },
147
+ ]);
148
+ });
149
+ });
150
+ //# sourceMappingURL=convertResourcePathsToTree.unit.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertResourcePathsToTree.unit.test.js","sourceRoot":"","sources":["../../../../src/utils/tests/convertResourcePathsToTree.unit.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,QAAQ,CAAC,oBAAoB,EAAE;IAC7B,IAAI,CAAC,wCAAwC,EAAE;QAC7C,IAAM,KAAK,GAAG,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;QAC9C,IAAM,MAAM,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;QAEzC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;YACrB;gBACE,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,KAAK;gBACZ,QAAQ,EAAE;oBACR,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,EAAE;oBAChD,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE;iBACvC;aAC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