@gooddata/sdk-ui-ext 11.55.0 → 11.56.0-alpha.1

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 (440) hide show
  1. package/NOTICE +5 -5
  2. package/esm/automations/AutomationsCore.js +1 -2
  3. package/esm/automations/UserContext.d.ts.map +1 -1
  4. package/esm/automations/actions/useAutomationActions.d.ts.map +1 -1
  5. package/esm/automations/actions/useAutomationBulkActions.d.ts.map +1 -1
  6. package/esm/automations/columns/AutomationIcon.js +1 -3
  7. package/esm/automations/columns/AutomationIconTooltip.js +2 -8
  8. package/esm/automations/columns/AutomationMenu.js +1 -2
  9. package/esm/automations/columns/useAutomationColumns.d.ts.map +1 -1
  10. package/esm/automations/constants.d.ts +4 -4
  11. package/esm/automations/constants.d.ts.map +1 -1
  12. package/esm/automations/data/useLoadAutomations.d.ts.map +1 -1
  13. package/esm/automations/filters/FilterOptionsContext.d.ts.map +1 -1
  14. package/esm/automations/filters/useAutomationFilters.d.ts +2 -2
  15. package/esm/automations/filters/useAutomationFilters.d.ts.map +1 -1
  16. package/esm/automations/format.d.ts +4 -4
  17. package/esm/automations/format.d.ts.map +1 -1
  18. package/esm/automations/messages.d.ts.map +1 -1
  19. package/esm/automations/useAutomationService.d.ts.map +1 -1
  20. package/esm/automations/useAutomationsSmallLayout.d.ts.map +1 -1
  21. package/esm/automations/useAutomationsState.d.ts +1 -1
  22. package/esm/automations/useAutomationsState.d.ts.map +1 -1
  23. package/esm/automations/utils.d.ts.map +1 -1
  24. package/esm/dataLoaders/DataLoaderAbstractFactory.d.ts.map +1 -1
  25. package/esm/index.d.ts +2 -1
  26. package/esm/index.d.ts.map +1 -1
  27. package/esm/index.js +2 -1
  28. package/esm/insightPicker/InsightPickerCore.js +2 -4
  29. package/esm/insightPicker/InsightPickerFilterBar.js +1 -3
  30. package/esm/insightPicker/InsightPickerMenu.js +1 -2
  31. package/esm/insightPicker/InsightPickerRow.js +1 -2
  32. package/esm/insightPicker/InsightPickerSortDropdown.js +3 -8
  33. package/esm/insightPicker/messages.d.ts.map +1 -1
  34. package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -1
  35. package/esm/insightPicker/useInsightPickerState.d.ts.map +1 -1
  36. package/esm/insightView/InsightRenderer.d.ts +2 -4
  37. package/esm/insightView/InsightRenderer.d.ts.map +1 -1
  38. package/esm/insightView/InsightRenderer.js +1 -4
  39. package/esm/insightView/InsightView.js +1 -2
  40. package/esm/internal/FluidLayoutDescriptor.d.ts.map +1 -1
  41. package/esm/internal/components/DisabledBubbleMessage.d.ts +1 -1
  42. package/esm/internal/components/DisabledBubbleMessage.d.ts.map +1 -1
  43. package/esm/internal/components/DisabledBubbleMessage.js +1 -2
  44. package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.js +2 -4
  45. package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.js +1 -2
  46. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js +1 -5
  47. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.js +1 -2
  48. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.js +1 -3
  49. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +2 -9
  50. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.js +1 -3
  51. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.js +1 -4
  52. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.js +1 -2
  53. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.js +1 -2
  54. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.js +1 -2
  55. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -1
  56. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
  57. package/esm/internal/components/configurationControls/BasemapDropdownControl.d.ts +1 -1
  58. package/esm/internal/components/configurationControls/BasemapDropdownControl.d.ts.map +1 -1
  59. package/esm/internal/components/configurationControls/CheckboxControl.js +1 -2
  60. package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.js +1 -2
  61. package/esm/internal/components/configurationControls/ConfigSection.js +2 -6
  62. package/esm/internal/components/configurationControls/ConfigSubsection.js +2 -7
  63. package/esm/internal/components/configurationControls/ContinuousLineControl.js +1 -4
  64. package/esm/internal/components/configurationControls/DataLabelsControl.js +1 -2
  65. package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +1 -4
  66. package/esm/internal/components/configurationControls/DropdownControl.d.ts +1 -1
  67. package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
  68. package/esm/internal/components/configurationControls/DropdownControl.js +1 -2
  69. package/esm/internal/components/configurationControls/GeoViewportControl.js +1 -10
  70. package/esm/internal/components/configurationControls/InputControl.js +1 -4
  71. package/esm/internal/components/configurationControls/MinMaxControl.js +1 -2
  72. package/esm/internal/components/configurationControls/OrientationDropdownControl.d.ts +1 -1
  73. package/esm/internal/components/configurationControls/OrientationDropdownControl.d.ts.map +1 -1
  74. package/esm/internal/components/configurationControls/PushpinShapeControl.js +1 -2
  75. package/esm/internal/components/configurationControls/PushpinSizeControl.js +1 -3
  76. package/esm/internal/components/configurationControls/RadarGridLineShapeControl.d.ts +1 -1
  77. package/esm/internal/components/configurationControls/RadarGridLineShapeControl.d.ts.map +1 -1
  78. package/esm/internal/components/configurationControls/RadarRenderAsControl.d.ts +1 -1
  79. package/esm/internal/components/configurationControls/RadarRenderAsControl.d.ts.map +1 -1
  80. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts +1 -1
  81. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
  82. package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +1 -3
  83. package/esm/internal/components/configurationControls/advanced/ConfigEditor.js +2 -15
  84. package/esm/internal/components/configurationControls/advanced/SnippetItem.js +2 -8
  85. package/esm/internal/components/configurationControls/advanced/useOverflow.d.ts.map +1 -1
  86. package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.d.ts +1 -1
  87. package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.d.ts.map +1 -1
  88. package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.js +1 -5
  89. package/esm/internal/components/configurationControls/anomalies/AnomalyColorControl.d.ts +1 -1
  90. package/esm/internal/components/configurationControls/anomalies/AnomalyColorControl.d.ts.map +1 -1
  91. package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.d.ts +1 -1
  92. package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.d.ts.map +1 -1
  93. package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.js +1 -3
  94. package/esm/internal/components/configurationControls/anomalies/AnomalySensitivityControl.d.ts +1 -1
  95. package/esm/internal/components/configurationControls/anomalies/AnomalySensitivityControl.d.ts.map +1 -1
  96. package/esm/internal/components/configurationControls/anomalies/AnomalySizeControl.d.ts +1 -1
  97. package/esm/internal/components/configurationControls/anomalies/AnomalySizeControl.d.ts.map +1 -1
  98. package/esm/internal/components/configurationControls/axis/LabelRotationControl.d.ts +1 -1
  99. package/esm/internal/components/configurationControls/axis/LabelRotationControl.d.ts.map +1 -1
  100. package/esm/internal/components/configurationControls/axis/LabelSubsection.d.ts +1 -1
  101. package/esm/internal/components/configurationControls/axis/LabelSubsection.d.ts.map +1 -1
  102. package/esm/internal/components/configurationControls/axis/LabelSubsection.js +1 -2
  103. package/esm/internal/components/configurationControls/axis/NamePositionControl.d.ts +1 -1
  104. package/esm/internal/components/configurationControls/axis/NamePositionControl.d.ts.map +1 -1
  105. package/esm/internal/components/configurationControls/axis/NameSubsection.d.ts +1 -1
  106. package/esm/internal/components/configurationControls/axis/NameSubsection.d.ts.map +1 -1
  107. package/esm/internal/components/configurationControls/colors/ColorsSection.js +1 -2
  108. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.d.ts +1 -1
  109. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.d.ts.map +1 -1
  110. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.js +3 -7
  111. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.d.ts +1 -1
  112. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.d.ts.map +1 -1
  113. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.js +1 -2
  114. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPalette.d.ts +1 -1
  115. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPalette.d.ts.map +1 -1
  116. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPaletteItem.d.ts +2 -2
  117. package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPaletteItem.d.ts.map +1 -1
  118. package/esm/internal/components/configurationControls/colors/colorDropdown/CustomColorButton.d.ts +1 -1
  119. package/esm/internal/components/configurationControls/colors/colorDropdown/CustomColorButton.d.ts.map +1 -1
  120. package/esm/internal/components/configurationControls/colors/colorDropdown/ResetColorButton.d.ts +1 -1
  121. package/esm/internal/components/configurationControls/colors/colorDropdown/ResetColorButton.d.ts.map +1 -1
  122. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItem.d.ts +1 -1
  123. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItem.d.ts.map +1 -1
  124. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemContent.d.ts +1 -1
  125. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemContent.d.ts.map +1 -1
  126. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemsList.d.ts +1 -1
  127. package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemsList.d.ts.map +1 -1
  128. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.d.ts +1 -1
  129. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.d.ts.map +1 -1
  130. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.js +1 -2
  131. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.d.ts +1 -1
  132. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.d.ts.map +1 -1
  133. package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.js +3 -10
  134. package/esm/internal/components/configurationControls/comparison/ComparisonSection.js +1 -3
  135. package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItem.js +1 -5
  136. package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfo.js +1 -5
  137. package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfoSection.js +1 -2
  138. package/esm/internal/components/configurationControls/comparison/indicators/IndicatorSubSection.js +1 -3
  139. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorsControl.js +1 -5
  140. package/esm/internal/components/configurationControls/comparison/label/LabelSubSection.js +1 -4
  141. package/esm/internal/components/configurationControls/comparison/values/ValueSubSection.js +1 -3
  142. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +1 -3
  143. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.js +7 -20
  144. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
  145. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +6 -17
  146. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +5 -18
  147. package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.js +1 -3
  148. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingColors.d.ts.map +1 -1
  149. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts +6 -6
  150. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts.map +1 -1
  151. package/esm/internal/components/configurationControls/conditionalFormatting/reorderListModel.d.ts.map +1 -1
  152. package/esm/internal/components/configurationControls/conditionalFormatting/useCfDateFilterOptions.d.ts.map +1 -1
  153. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +1 -5
  154. package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts +1 -1
  155. package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts.map +1 -1
  156. package/esm/internal/components/configurationControls/forecast/ForecastSection.d.ts +1 -1
  157. package/esm/internal/components/configurationControls/forecast/ForecastSection.d.ts.map +1 -1
  158. package/esm/internal/components/configurationControls/forecast/ForecastSection.js +1 -4
  159. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -1
  160. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
  161. package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +5 -17
  162. package/esm/internal/components/configurationControls/legend/GeoLegendPositionControl.d.ts +1 -1
  163. package/esm/internal/components/configurationControls/legend/GeoLegendPositionControl.d.ts.map +1 -1
  164. package/esm/internal/components/configurationControls/legend/GeoLegendSection.d.ts +1 -1
  165. package/esm/internal/components/configurationControls/legend/GeoLegendSection.d.ts.map +1 -1
  166. package/esm/internal/components/configurationControls/legend/LegendPositionControl.d.ts +1 -1
  167. package/esm/internal/components/configurationControls/legend/LegendPositionControl.d.ts.map +1 -1
  168. package/esm/internal/components/configurationControls/legend/LegendSection.d.ts +1 -1
  169. package/esm/internal/components/configurationControls/legend/LegendSection.d.ts.map +1 -1
  170. package/esm/internal/components/configurationControls/total/TotalSection.d.ts +1 -1
  171. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  172. package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +4 -9
  173. package/esm/internal/components/configurationPanels/BubbleChartConfigurationPanel.js +1 -7
  174. package/esm/internal/components/configurationPanels/BulletChartConfigurationPanel.js +1 -6
  175. package/esm/internal/components/configurationPanels/FunnelChartConfigurationPanel.js +1 -3
  176. package/esm/internal/components/configurationPanels/GeoPushpinConfigurationPanel.js +2 -5
  177. package/esm/internal/components/configurationPanels/HeadlineConfigurationPanel.js +1 -4
  178. package/esm/internal/components/configurationPanels/HeatMapConfigurationPanel.js +1 -7
  179. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -5
  180. package/esm/internal/components/configurationPanels/PieChartConfigurationPanel.js +1 -3
  181. package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js +3 -8
  182. package/esm/internal/components/configurationPanels/PyramidChartConfigurationPanel.js +1 -3
  183. package/esm/internal/components/configurationPanels/RadarChartConfigurationPanel.js +2 -10
  184. package/esm/internal/components/configurationPanels/RepeaterConfigurationPanel.js +1 -5
  185. package/esm/internal/components/configurationPanels/SankeyChartConfigurationPanel.js +1 -3
  186. package/esm/internal/components/configurationPanels/ScatterPlotConfigurationPanel.js +1 -10
  187. package/esm/internal/components/configurationPanels/TreeMapConfigurationPanel.js +1 -3
  188. package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.js +2 -7
  189. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSource.js +1 -3
  190. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceItem.js +1 -2
  191. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdown.js +2 -4
  192. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownItem.js +1 -3
  193. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownList.js +1 -2
  194. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/backend/loadUserDataSourceOptionsPromise.d.ts.map +1 -1
  195. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/locales.d.ts.map +1 -1
  196. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/useAddDataSource.d.ts.map +1 -1
  197. package/esm/internal/components/dialogs/userManagementDialogs/DataSources/usePermissionsDropdownState.d.ts.map +1 -1
  198. package/esm/internal/components/dialogs/userManagementDialogs/Details/DetailRow.js +1 -2
  199. package/esm/internal/components/dialogs/userManagementDialogs/Details/OrganizationMemberDropdown.js +3 -9
  200. package/esm/internal/components/dialogs/userManagementDialogs/Details/UserDetailsView.js +3 -11
  201. package/esm/internal/components/dialogs/userManagementDialogs/Details/UserGroupDetailsView.js +1 -3
  202. package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.d.ts.map +1 -1
  203. package/esm/internal/components/dialogs/userManagementDialogs/ErrorDialog.js +1 -5
  204. package/esm/internal/components/dialogs/userManagementDialogs/RemoveIcon.js +1 -3
  205. package/esm/internal/components/dialogs/userManagementDialogs/TelemetryContext.d.ts.map +1 -1
  206. package/esm/internal/components/dialogs/userManagementDialogs/UserEditDialog.js +2 -5
  207. package/esm/internal/components/dialogs/userManagementDialogs/UserGroupEditDialog.js +2 -5
  208. package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.js +2 -4
  209. package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.js +1 -3
  210. package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/backend/loadUserGroupOptionsPromise.d.ts +1 -1
  211. package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/backend/loadUserGroupOptionsPromise.d.ts.map +1 -1
  212. package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.d.ts.map +1 -1
  213. package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUserContent.js +2 -4
  214. package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.d.ts +1 -1
  215. package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.d.ts.map +1 -1
  216. package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.js +1 -2
  217. package/esm/internal/components/dialogs/userManagementDialogs/Users/UserItem.js +3 -9
  218. package/esm/internal/components/dialogs/userManagementDialogs/Users/backend/loadUsersOptionsPromise.d.ts +1 -1
  219. package/esm/internal/components/dialogs/userManagementDialogs/Users/backend/loadUsersOptionsPromise.d.ts.map +1 -1
  220. package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.d.ts.map +1 -1
  221. package/esm/internal/components/dialogs/userManagementDialogs/ViewDialog.js +1 -8
  222. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js +1 -3
  223. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.d.ts +1 -1
  224. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.d.ts.map +1 -1
  225. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.js +1 -6
  226. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsItems.js +2 -7
  227. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsWorkspaceItem.js +1 -4
  228. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionDropdownItem.js +2 -4
  229. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdown.js +2 -4
  230. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdownList.js +1 -3
  231. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionDropdownItem.js +1 -3
  232. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdown.js +2 -4
  233. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.js +1 -2
  234. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/WorkspaceItem.js +1 -3
  235. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
  236. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/locales.d.ts.map +1 -1
  237. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/usePermissionsDropdownState.d.ts.map +1 -1
  238. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/backend/loadWorkspaceOptionsPromise.d.ts +2 -2
  239. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/backend/loadWorkspaceOptionsPromise.d.ts.map +1 -1
  240. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/useAddWorkspace.d.ts +1 -1
  241. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/useAddWorkspace.d.ts.map +1 -1
  242. package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts +1 -1
  243. package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts.map +1 -1
  244. package/esm/internal/components/dialogs/userManagementDialogs/hooks/usePermissions.d.ts.map +1 -1
  245. package/esm/internal/components/dialogs/userManagementDialogs/locales.d.ts.map +1 -1
  246. package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
  247. package/esm/internal/components/dialogs/userManagementDialogs/utils.d.ts +1 -1
  248. package/esm/internal/components/dialogs/userManagementDialogs/utils.d.ts.map +1 -1
  249. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts +1 -1
  250. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
  251. package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.d.ts +4 -6
  252. package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.d.ts.map +1 -1
  253. package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.js +4 -4
  254. package/esm/internal/components/pluggableVisualizations/alerts.d.ts +4 -4
  255. package/esm/internal/components/pluggableVisualizations/alerts.d.ts.map +1 -1
  256. package/esm/internal/components/pluggableVisualizations/areaChart/AreaChartDescriptor.d.ts +1 -1
  257. package/esm/internal/components/pluggableVisualizations/areaChart/AreaChartDescriptor.d.ts.map +1 -1
  258. package/esm/internal/components/pluggableVisualizations/barChart/BarChartDescriptor.d.ts +1 -1
  259. package/esm/internal/components/pluggableVisualizations/barChart/BarChartDescriptor.d.ts.map +1 -1
  260. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
  261. package/esm/internal/components/pluggableVisualizations/bubbleChart/BubbleChartDescriptor.d.ts +1 -1
  262. package/esm/internal/components/pluggableVisualizations/bubbleChart/BubbleChartDescriptor.d.ts.map +1 -1
  263. package/esm/internal/components/pluggableVisualizations/bulletChart/BulletChartDescriptor.d.ts +1 -1
  264. package/esm/internal/components/pluggableVisualizations/bulletChart/BulletChartDescriptor.d.ts.map +1 -1
  265. package/esm/internal/components/pluggableVisualizations/bulletChart/bucketHelper.d.ts.map +1 -1
  266. package/esm/internal/components/pluggableVisualizations/columnChart/ColumnChartDescriptor.d.ts +1 -1
  267. package/esm/internal/components/pluggableVisualizations/columnChart/ColumnChartDescriptor.d.ts.map +1 -1
  268. package/esm/internal/components/pluggableVisualizations/comboChart/ComboChartDescriptor.d.ts +1 -1
  269. package/esm/internal/components/pluggableVisualizations/comboChart/ComboChartDescriptor.d.ts.map +1 -1
  270. package/esm/internal/components/pluggableVisualizations/dependencyWheelChart/DependencyWheelChartDescriptor.d.ts +1 -1
  271. package/esm/internal/components/pluggableVisualizations/dependencyWheelChart/DependencyWheelChartDescriptor.d.ts.map +1 -1
  272. package/esm/internal/components/pluggableVisualizations/donutChart/DonutChartDescriptor.d.ts +1 -1
  273. package/esm/internal/components/pluggableVisualizations/donutChart/DonutChartDescriptor.d.ts.map +1 -1
  274. package/esm/internal/components/pluggableVisualizations/drillDownUtil.d.ts +1 -1
  275. package/esm/internal/components/pluggableVisualizations/drillDownUtil.d.ts.map +1 -1
  276. package/esm/internal/components/pluggableVisualizations/funnelChart/FunnelChartDescriptor.d.ts +1 -1
  277. package/esm/internal/components/pluggableVisualizations/funnelChart/FunnelChartDescriptor.d.ts.map +1 -1
  278. package/esm/internal/components/pluggableVisualizations/geoChart/GeoPushpinChartDescriptor.d.ts +1 -1
  279. package/esm/internal/components/pluggableVisualizations/geoChart/GeoPushpinChartDescriptor.d.ts.map +1 -1
  280. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
  281. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +1 -3
  282. package/esm/internal/components/pluggableVisualizations/geoCommon/liveMapViewTracking.d.ts.map +1 -1
  283. package/esm/internal/components/pluggableVisualizations/headline/HeadlineDescriptor.d.ts +1 -1
  284. package/esm/internal/components/pluggableVisualizations/headline/HeadlineDescriptor.d.ts.map +1 -1
  285. package/esm/internal/components/pluggableVisualizations/heatMap/HeatmapDescriptor.d.ts +1 -1
  286. package/esm/internal/components/pluggableVisualizations/heatMap/HeatmapDescriptor.d.ts.map +1 -1
  287. package/esm/internal/components/pluggableVisualizations/keyDriverAnalysis.d.ts +1 -1
  288. package/esm/internal/components/pluggableVisualizations/keyDriverAnalysis.d.ts.map +1 -1
  289. package/esm/internal/components/pluggableVisualizations/lineChart/LineChartDescriptor.d.ts +1 -1
  290. package/esm/internal/components/pluggableVisualizations/lineChart/LineChartDescriptor.d.ts.map +1 -1
  291. package/esm/internal/components/pluggableVisualizations/mekko/MekkoDescriptor.d.ts +1 -1
  292. package/esm/internal/components/pluggableVisualizations/mekko/MekkoDescriptor.d.ts.map +1 -1
  293. package/esm/internal/components/pluggableVisualizations/mekko/bucketHelper.d.ts.map +1 -1
  294. package/esm/internal/components/pluggableVisualizations/pieChart/PieChartDescriptor.d.ts +1 -1
  295. package/esm/internal/components/pluggableVisualizations/pieChart/PieChartDescriptor.d.ts.map +1 -1
  296. package/esm/internal/components/pluggableVisualizations/pivotTable/PivotTableDescriptor.d.ts +1 -1
  297. package/esm/internal/components/pluggableVisualizations/pivotTable/PivotTableDescriptor.d.ts.map +1 -1
  298. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
  299. package/esm/internal/components/pluggableVisualizations/pivotTable/mockReferencePoint.test.helpers.d.ts.map +1 -1
  300. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PivotTableNextDescriptor.d.ts +1 -1
  301. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PivotTableNextDescriptor.d.ts.map +1 -1
  302. package/esm/internal/components/pluggableVisualizations/pivotTableNext/helpers.d.ts.map +1 -1
  303. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
  304. package/esm/internal/components/pluggableVisualizations/pivotTableNext/totalsHelpers.d.ts.map +1 -1
  305. package/esm/internal/components/pluggableVisualizations/pivotTableNext/widthItemsHelpers.d.ts +1 -1
  306. package/esm/internal/components/pluggableVisualizations/pivotTableNext/widthItemsHelpers.d.ts.map +1 -1
  307. package/esm/internal/components/pluggableVisualizations/pyramidChart/PyramidChartDescriptor.d.ts +1 -1
  308. package/esm/internal/components/pluggableVisualizations/pyramidChart/PyramidChartDescriptor.d.ts.map +1 -1
  309. package/esm/internal/components/pluggableVisualizations/radarChart/RadarChartDescriptor.d.ts +1 -1
  310. package/esm/internal/components/pluggableVisualizations/radarChart/RadarChartDescriptor.d.ts.map +1 -1
  311. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  312. package/esm/internal/components/pluggableVisualizations/repeater/RepeaterDescriptor.d.ts +1 -1
  313. package/esm/internal/components/pluggableVisualizations/repeater/RepeaterDescriptor.d.ts.map +1 -1
  314. package/esm/internal/components/pluggableVisualizations/sankeyChart/SankeyChartDescriptor.d.ts +1 -1
  315. package/esm/internal/components/pluggableVisualizations/sankeyChart/SankeyChartDescriptor.d.ts.map +1 -1
  316. package/esm/internal/components/pluggableVisualizations/scatterPlot/ScatterPlotDescriptor.d.ts +1 -1
  317. package/esm/internal/components/pluggableVisualizations/scatterPlot/ScatterPlotDescriptor.d.ts.map +1 -1
  318. package/esm/internal/components/pluggableVisualizations/scatterPlot/bucketHelper.d.ts.map +1 -1
  319. package/esm/internal/components/pluggableVisualizations/treeMap/TreemapDescriptor.d.ts +1 -1
  320. package/esm/internal/components/pluggableVisualizations/treeMap/TreemapDescriptor.d.ts.map +1 -1
  321. package/esm/internal/components/pluggableVisualizations/waterfallChart/WaterfallChartDescriptor.d.ts +1 -1
  322. package/esm/internal/components/pluggableVisualizations/waterfallChart/WaterfallChartDescriptor.d.ts.map +1 -1
  323. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts +1 -1
  324. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
  325. package/esm/internal/components/pluggableVisualizations/xirr/XirrDescriptor.d.ts +1 -1
  326. package/esm/internal/components/pluggableVisualizations/xirr/XirrDescriptor.d.ts.map +1 -1
  327. package/esm/internal/components/pluggableVisualizations/xirr/xirrBucketHelper.d.ts.map +1 -1
  328. package/esm/internal/components/visConstruct.test.helpers.d.ts.map +1 -1
  329. package/esm/internal/constants/axis.d.ts.map +1 -1
  330. package/esm/internal/constants/axis.js +1 -2
  331. package/esm/internal/constants/bucket.d.ts.map +1 -1
  332. package/esm/internal/constants/uiConfig.d.ts.map +1 -1
  333. package/esm/internal/constants/uiConfig.js +8 -8
  334. package/esm/internal/interfaces/SortConfig.d.ts +1 -1
  335. package/esm/internal/interfaces/SortConfig.d.ts.map +1 -1
  336. package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
  337. package/esm/internal/testDataProvider.d.ts +6 -6
  338. package/esm/internal/testDataProvider.d.ts.map +1 -1
  339. package/esm/internal/translations/de-DE.localization-bundle.d.ts +2 -2
  340. package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
  341. package/esm/internal/translations/en-AU.localization-bundle.d.ts +2 -2
  342. package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
  343. package/esm/internal/translations/en-GB.localization-bundle.d.ts +2 -2
  344. package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
  345. package/esm/internal/translations/en-US.localization-bundle.d.ts +1408 -1408
  346. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  347. package/esm/internal/translations/en-US.localization-bundle.js +3 -3
  348. package/esm/internal/translations/es-419.localization-bundle.d.ts +2 -2
  349. package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
  350. package/esm/internal/translations/es-ES.localization-bundle.d.ts +2 -2
  351. package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
  352. package/esm/internal/translations/fi-FI.localization-bundle.d.ts +2 -2
  353. package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
  354. package/esm/internal/translations/fr-CA.localization-bundle.d.ts +2 -2
  355. package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
  356. package/esm/internal/translations/fr-FR.localization-bundle.d.ts +2 -2
  357. package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
  358. package/esm/internal/translations/id-ID.localization-bundle.d.ts +2 -2
  359. package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
  360. package/esm/internal/translations/it-IT.localization-bundle.d.ts +2 -2
  361. package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
  362. package/esm/internal/translations/ja-JP.localization-bundle.d.ts +2 -2
  363. package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
  364. package/esm/internal/translations/ko-KR.localization-bundle.d.ts +2 -2
  365. package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
  366. package/esm/internal/translations/nl-NL.localization-bundle.d.ts +2 -2
  367. package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
  368. package/esm/internal/translations/pl-PL.localization-bundle.d.ts +2 -2
  369. package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
  370. package/esm/internal/translations/pt-BR.localization-bundle.d.ts +2 -2
  371. package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
  372. package/esm/internal/translations/pt-PT.localization-bundle.d.ts +2 -2
  373. package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
  374. package/esm/internal/translations/ru-RU.localization-bundle.d.ts +2 -2
  375. package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
  376. package/esm/internal/translations/sl-SI.localization-bundle.d.ts +2 -2
  377. package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
  378. package/esm/internal/translations/th-TH.localization-bundle.d.ts +2 -2
  379. package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
  380. package/esm/internal/translations/tr-TR.localization-bundle.d.ts +2 -2
  381. package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
  382. package/esm/internal/translations/uk-UA.localization-bundle.d.ts +2 -2
  383. package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
  384. package/esm/internal/translations/vi-VN.localization-bundle.d.ts +2 -2
  385. package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
  386. package/esm/internal/translations/zh-HK.localization-bundle.d.ts +2 -2
  387. package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
  388. package/esm/internal/translations/zh-Hans.localization-bundle.d.ts +2 -2
  389. package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
  390. package/esm/internal/translations/zh-Hant.localization-bundle.d.ts +2 -2
  391. package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
  392. package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
  393. package/esm/internal/utils/comparisonHelper.d.ts +2 -2
  394. package/esm/internal/utils/comparisonHelper.d.ts.map +1 -1
  395. package/esm/internal/utils/embeddingCodeGenerator/getWebComponentsCodeGenerator.d.ts.map +1 -1
  396. package/esm/internal/utils/embeddingCodeGenerator/insightToPropsConverter/convenience.d.ts.map +1 -1
  397. package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewCodeGenerator.d.ts +2 -2
  398. package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewCodeGenerator.d.ts.map +1 -1
  399. package/esm/internal/utils/internalIntlProvider.d.ts.map +1 -1
  400. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.d.ts.map +1 -1
  401. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  402. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  403. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  404. package/esm/internal/utils/uiConfigMocks.test.helpers.d.ts.map +1 -1
  405. package/esm/locales.d.ts.map +1 -1
  406. package/esm/notificationsPanel/Notification/Notification.js +7 -21
  407. package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js +1 -3
  408. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js +1 -2
  409. package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js +1 -6
  410. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js +2 -4
  411. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js +1 -2
  412. package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js +1 -3
  413. package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js +1 -2
  414. package/esm/notificationsPanel/bem.d.ts +2 -2
  415. package/esm/notificationsPanel/bem.d.ts.map +1 -1
  416. package/esm/notificationsPanel/components/DetailsDialog.js +1 -5
  417. package/esm/notificationsPanel/components/Tooltip.js +1 -2
  418. package/esm/notificationsPanel/data/useNotifications.d.ts.map +1 -1
  419. package/esm/sdk-ui-ext.d.ts +75 -7
  420. package/esm/share/ObjectShareDialog.js +4 -6
  421. package/esm/share/accessSummary.d.ts +28 -3
  422. package/esm/share/accessSummary.d.ts.map +1 -1
  423. package/esm/share/accessSummary.js +42 -3
  424. package/esm/share/messages.d.ts.map +1 -1
  425. package/esm/share/objectShareController.helpers.d.ts.map +1 -1
  426. package/esm/share/objectShareController.types.d.ts +3 -0
  427. package/esm/share/objectShareController.types.d.ts.map +1 -1
  428. package/esm/share/types.d.ts +3 -0
  429. package/esm/share/types.d.ts.map +1 -1
  430. package/esm/share/useAccessList.d.ts.map +1 -1
  431. package/esm/share/useAccessList.js +5 -2
  432. package/esm/share/useLabelScope.d.ts.map +1 -1
  433. package/esm/share/useObjectAccessLevel.d.ts +40 -0
  434. package/esm/share/useObjectAccessLevel.d.ts.map +1 -0
  435. package/esm/share/useObjectAccessLevel.js +48 -0
  436. package/esm/share/useObjectShareController.js +5 -6
  437. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  438. package/package.json +23 -23
  439. package/styles/css/main.css.map +1 -1
  440. package/styles/internal/css/charts.css.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,mCAAmC,CAAC;AAkDvG,eAAO,MAAM,aAAa,8EAoBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,0HAkBhC,CAAC"}
1
+ {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,mCAAmC,CAAC;AAkDvG,eAAO,MAAM,aAAa,2BAA4B,uBAAuB,KAAG,uBAoB/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,2BACL,uBAAuB,QACzC,SAAS,qBACI,MAAM,KAC1B,uBAcF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"xirrUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/xirrUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAI5G,eAAO,MAAM,sBAAsB,iBAAoD,CAAC;AAmBxF,eAAO,MAAM,eAAe,iEAqB3B,CAAC"}
1
+ {"version":3,"file":"xirrUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/xirrUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAI5G,eAAO,MAAM,sBAAsB,QAAO,SAA6C,CAAC;AAmBxF,eAAO,MAAM,eAAe,mBAAoB,eAAe,QAAQ,SAAS,KAAG,SAqBlF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"uiConfigMocks.test.helpers.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/uiConfigMocks.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAS3F,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAgEtF,eAAO,MAAM,4BAA4B;;;;;;;;;;;CAWxC,CAAC;AAoBF,eAAO,MAAM,yBAAyB,EAAE,SAmBvC,CAAC;AAGF,eAAO,MAAM,wCAAwC,EAAE,SAkBtD,CAAC"}
1
+ {"version":3,"file":"uiConfigMocks.test.helpers.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/uiConfigMocks.test.helpers.ts"],"names":[],"mappings":"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AE;;;QACW,EAAE;;;QACX,EAAE;;;QACD,EAAE;;;QACF,EAAE;;;QACG,EAAE;;;QACE,EAAE;;;QACD,EAAE;;;QACf,EAAE;;;QACI,EAAE;;;QACL,EAAE;;;QACL,EAAE;;;QACI,EAAE;;;QACC,EAAE;;;QACR,EAAE;;;QACF,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACH,EAAE;;;QACM,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACJ,EAAE;;;QACP,EAAE;;;QACJ,EAAE;;;QACM,EAAE;;;QACC,EAAE;;;QACF,EAAE;;;QACL,EAAE;;;QACO,EAAE;;CACnC,CAAC;AAEH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,6BAA6B,EAAE,iBAAiB,CAmBrG,CAAC;AAEP,sGAAsG;AACtG,eAAO,MAAM,yCAAyC,EAAE,OAAO,CAC3D,MAAM,CAAC,6BAA6B,EAAE,iBAAiB,CAAC,CAS1D,CAAC"}
@@ -84,18 +84,12 @@ export function Notification({ notification, markNotificationAsRead, onNotificat
84
84
  handleNotificationClick();
85
85
  }
86
86
  };
87
- return (_jsxs(BubbleHoverTrigger, { enabled: hasExports && !isExpired ? !isError : undefined, children: [
88
- _jsxs("div", { className: b({ isRead: notification.isRead }), onClick: handleNotificationClick, onKeyDown: handleKeyDown, role: "listitem", tabIndex: 0, "aria-label": intl.formatMessage(messages.alertNotificationTypeLabel), children: [
89
- _jsxs("div", { className: e("icon"), children: [!notification.isRead && _jsx("div", { className: e("unread-status") }), isAlertNotification ? (_jsx(UiIcon, { type: "alert", size: 14, color: "complementary-6" })) : (_jsx(UiIcon, { type: "download", size: 14, color: "complementary-6" }))] }), _jsxs("div", { className: e("details"), children: [
90
- _jsxs("div", { className: e("title", { isRead: notification.isRead }), title: notificationTitle, children: [isScheduleNotification ? (_jsx(FormattedMessage, { id: "notifications.panel.download" })) : null, " ", notificationTitle] }), _jsx(NotificationContent, { isError: isError, errorTitle: errorTitle, errorMessage: errorMessage, traceId: traceId, actions: actions })
91
- ] }), _jsx("div", { className: e("time"), children: _jsx(NotificationTime, { config: getDateTimeConfig(notification.createdAt) }) }), _jsx("div", { className: e("mark-as-read-button"), children: _jsx(Tooltip, { tooltip: intl.formatMessage(messages.markAsRead), children: _jsx(UiIconButton, { onClick: (e) => {
87
+ return (_jsxs(BubbleHoverTrigger, { enabled: hasExports && !isExpired ? !isError : undefined, children: [_jsxs("div", { className: b({ isRead: notification.isRead }), onClick: handleNotificationClick, onKeyDown: handleKeyDown, role: "listitem", tabIndex: 0, "aria-label": intl.formatMessage(messages.alertNotificationTypeLabel), children: [_jsxs("div", { className: e("icon"), children: [!notification.isRead && _jsx("div", { className: e("unread-status") }), isAlertNotification ? (_jsx(UiIcon, { type: "alert", size: 14, color: "complementary-6" })) : (_jsx(UiIcon, { type: "download", size: 14, color: "complementary-6" }))] }), _jsxs("div", { className: e("details"), children: [_jsxs("div", { className: e("title", { isRead: notification.isRead }), title: notificationTitle, children: [isScheduleNotification ? (_jsx(FormattedMessage, { id: "notifications.panel.download" })) : null, " ", notificationTitle] }), _jsx(NotificationContent, { isError: isError, errorTitle: errorTitle, errorMessage: errorMessage, traceId: traceId, actions: actions })] }), _jsx("div", { className: e("time"), children: _jsx(NotificationTime, { config: getDateTimeConfig(notification.createdAt) }) }), _jsx("div", { className: e("mark-as-read-button"), children: _jsx(Tooltip, { tooltip: intl.formatMessage(messages.markAsRead), children: _jsx(UiIconButton, { onClick: (e) => {
92
88
  e.stopPropagation();
93
89
  markNotificationAsRead(notification.id);
94
90
  }, onKeyDown: (e) => {
95
91
  e.stopPropagation();
96
- }, icon: "check", size: "small", variant: "tertiary", label: intl.formatMessage(messages.markAsRead) }) }) })
97
- ] }), _jsx(Bubble, { alignPoints: [{ align: "bc tc" }], children: _jsx(FormattedMessage, { id: "notifications.panel.downloadFilesHint" }) })
98
- ] }));
92
+ }, icon: "check", size: "small", variant: "tertiary", label: intl.formatMessage(messages.markAsRead) }) }) })] }), _jsx(Bubble, { alignPoints: [{ align: "bc tc" }], children: _jsx(FormattedMessage, { id: "notifications.panel.downloadFilesHint" }) })] }));
99
93
  }
100
94
  function mapToDownloadableFile(exportFile) {
101
95
  if (!exportFile.fileUri) {
@@ -165,25 +159,19 @@ function NotificationTime({ config }) {
165
159
  return _jsx(FormattedDate, { value: config.date, format: "shortWithYear" });
166
160
  }
167
161
  function FileLink({ notification }) {
168
- return (_jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [
169
- _jsx("a", { href: notification.details.data.automation.dashboardURL, onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), className: e("link"), children: _jsx(FormattedMessage, { id: "notifications.panel.dashboardLink", values: { dashboardTitle: notification.details.data.automation.dashboardTitle } }) }), _jsxs(Bubble, { alignPoints: [{ align: "bc tc" }], children: [" ", _jsx(FormattedMessage, { id: "notifications.panel.dashboardLinkHint" }), " "] })
170
- ] }));
162
+ return (_jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx("a", { href: notification.details.data.automation.dashboardURL, onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), className: e("link"), children: _jsx(FormattedMessage, { id: "notifications.panel.dashboardLink", values: { dashboardTitle: notification.details.data.automation.dashboardTitle } }) }), _jsxs(Bubble, { alignPoints: [{ align: "bc tc" }], children: [" ", _jsx(FormattedMessage, { id: "notifications.panel.dashboardLinkHint" }), " "] })] }));
171
163
  }
172
164
  function NotificationContent({ isError, errorTitle, errorMessage, traceId, actions, }) {
173
165
  const intl = useIntl();
174
166
  if (isError) {
175
- return (_jsxs("div", { className: e("error"), children: [
176
- _jsx("div", { className: e("error-icon"), children: _jsx(UiIcon, { type: "crossCircle", size: 12, color: "error" }) }), _jsxs("div", { children: [errorTitle, " ", _jsx(Popup, { popup: _jsxs("div", { className: e("error-popup"), children: [errorMessage, _jsx("br", {}), _jsx(FormattedMessage, { id: "notifications.panel.error.traceId" }),
177
- ": ", traceId] }), children: ({ toggle, id }) => (_jsx(UiButton, { dataId: "notification-error", id: id, onClick: (e) => {
167
+ return (_jsxs("div", { className: e("error"), children: [_jsx("div", { className: e("error-icon"), children: _jsx(UiIcon, { type: "crossCircle", size: 12, color: "error" }) }), _jsxs("div", { children: [errorTitle, " ", _jsx(Popup, { popup: _jsxs("div", { className: e("error-popup"), children: [errorMessage, _jsx("br", {}), _jsx(FormattedMessage, { id: "notifications.panel.error.traceId" }), ": ", traceId] }), children: ({ toggle, id }) => (_jsx(UiButton, { dataId: "notification-error", id: id, onClick: (e) => {
178
168
  e.stopPropagation();
179
169
  toggle();
180
170
  }, onKeyDown: (e) => {
181
171
  e.stopPropagation();
182
172
  }, variant: "tertiary", size: "small", label: intl.formatMessage({
183
173
  id: "notifications.panel.error.learnMore",
184
- }) })) })
185
- ] })
186
- ] }));
174
+ }) })) })] })] }));
187
175
  }
188
176
  if (!actions.length) {
189
177
  return null;
@@ -194,11 +182,9 @@ function FileExpiration({ fileExpiresAt, isExpired }) {
194
182
  if (isExpired) {
195
183
  return (_jsx("span", { children: _jsx(FormattedMessage, { id: "notifications.panel.linkHasExpired" }) }));
196
184
  }
197
- return (_jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [
198
- _jsx("span", { children: _jsx(FormattedMessage, { id: "notifications.panel.expiresOn", values: {
185
+ return (_jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx("span", { children: _jsx(FormattedMessage, { id: "notifications.panel.expiresOn", values: {
199
186
  date: (_jsx(FormattedDate, { value: getDateTimeConfig(fileExpiresAt).date, format: "shortWithoutYear" })),
200
- } }) }), _jsxs(Bubble, { alignPoints: [{ align: "bc tc" }], children: [" ", _jsx(FormattedTime, { value: getDateTimeConfig(fileExpiresAt).date, format: "hhmm" }), " "] })
201
- ] }));
187
+ } }) }), _jsxs(Bubble, { alignPoints: [{ align: "bc tc" }], children: [" ", _jsx(FormattedTime, { value: getDateTimeConfig(fileExpiresAt).date, format: "hhmm" }), " "] })] }));
202
188
  }
203
189
  const messages = defineMessages({
204
190
  markAsRead: {
@@ -14,7 +14,5 @@ const messages = defineMessages({
14
14
  */
15
15
  export function NotificationFiltersDetailDialog({ items, onClose }) {
16
16
  const intl = useIntl();
17
- return (_jsx(DetailsDialog, { title: `${intl.formatMessage(messages.title)} (${items.length})`, content: _jsx("div", { className: b(), children: items.map(({ title, value }, idx) => (_jsxs("div", { className: e("item"), children: [
18
- _jsx("div", { className: e("label"), children: title }), _jsx("div", { className: e("values"), children: value })
19
- ] }, idx))) }), onClose: onClose }));
17
+ return (_jsx(DetailsDialog, { title: `${intl.formatMessage(messages.title)} (${items.length})`, content: _jsx("div", { className: b(), children: items.map(({ title, value }, idx) => (_jsxs("div", { className: e("item"), children: [_jsx("div", { className: e("label"), children: title }), _jsx("div", { className: e("values"), children: value })] }, idx))) }), onClose: onClose }));
20
18
  }
@@ -32,8 +32,7 @@ export function NotificationTriggerDetail({ notification }) {
32
32
  const ref = useRef(null);
33
33
  const isSliced = notification.details.data.alert.attribute;
34
34
  const triggersTitle = isSliced ? getTriggersTitle(intl, notification.details.data.alert) : "";
35
- return (_jsxs(_Fragment, { children: [
36
- _jsx(UiButton, { ref: ref, onClick: (e) => {
35
+ return (_jsxs(_Fragment, { children: [_jsx(UiButton, { ref: ref, onClick: (e) => {
37
36
  e.stopPropagation();
38
37
  toggleTriggersDialog();
39
38
  }, onKeyDown: (e) => {
@@ -22,12 +22,7 @@ export function NotificationTriggersDetailDialog({ notification, onClose, }) {
22
22
  const intl = useIntl();
23
23
  const values = notification.details.data.alert?.currentValues;
24
24
  const hiddenValuesCount = (notification.details.data.alert?.triggeredCount ?? 0) - (values?.length ?? 0);
25
- return (_jsx(DetailsDialog, { title: intl.formatMessage(messages.triggersTitle), content: _jsxs("div", { className: b(), children: [
26
- _jsxs("div", { className: e("header"), children: [
27
- _jsx("div", { className: e("header-title"), children: notification.details.data.alert.metric }), _jsx("div", { className: e("header-title"), children: intl.formatMessage(messages.newValue) })
28
- ] }), _jsxs("div", { className: e("table"), children: [
29
- _jsx("div", { className: e("values-labels"), children: values?.map((item, i) => (_jsx("div", { className: e("values-label"), children: item.labelValue }, i))) }), _jsx("div", { className: e("values"), children: values?.map((item, i) => (_jsx("div", { className: e("values-value"), children: item.primaryMetric.formattedValue }, i))) })
30
- ] }), hiddenValuesCount > 0 && (_jsx("div", { className: e("values-truncated"), children: intl.formatMessage(messages.truncatedValues, {
25
+ return (_jsx(DetailsDialog, { title: intl.formatMessage(messages.triggersTitle), content: _jsxs("div", { className: b(), children: [_jsxs("div", { className: e("header"), children: [_jsx("div", { className: e("header-title"), children: notification.details.data.alert.metric }), _jsx("div", { className: e("header-title"), children: intl.formatMessage(messages.newValue) })] }), _jsxs("div", { className: e("table"), children: [_jsx("div", { className: e("values-labels"), children: values?.map((item, i) => (_jsx("div", { className: e("values-label"), children: item.labelValue }, i))) }), _jsx("div", { className: e("values"), children: values?.map((item, i) => (_jsx("div", { className: e("values-value"), children: item.primaryMetric.formattedValue }, i))) })] }), hiddenValuesCount > 0 && (_jsx("div", { className: e("values-truncated"), children: intl.formatMessage(messages.truncatedValues, {
31
26
  count: hiddenValuesCount,
32
27
  }) }))] }), onClose: onClose }));
33
28
  }
@@ -8,9 +8,7 @@ export const NOTIFICATIONS_PANEL_ID = "gd-ui-ext-notifications-panel-id";
8
8
  * @public
9
9
  */
10
10
  export function DefaultNotificationsPanel({ NotificationsPanelHeader, NotificationsList, NotificationsListEmptyState, NotificationsListErrorState, Notification, NotificationSkeletonItem, activeView, changeActiveView, markNotificationAsRead, markAllNotificationsAsRead, unreadNotificationsCount, hasUnreadNotifications, activeNotifications, onNotificationClick, closeNotificationsPanel, status, error, loadNextPage, hasNextPage, itemHeight, itemsGap, itemPadding, skeletonItemsCount, maxListHeight, }) {
11
- return (_jsxs("div", { className: b(), id: NOTIFICATIONS_PANEL_ID, children: [
12
- _jsx(NotificationsPanelHeader, { activeView: activeView, changeActiveView: changeActiveView, markAllNotificationsAsRead: () => {
11
+ return (_jsxs("div", { className: b(), id: NOTIFICATIONS_PANEL_ID, children: [_jsx(NotificationsPanelHeader, { activeView: activeView, changeActiveView: changeActiveView, markAllNotificationsAsRead: () => {
13
12
  void markAllNotificationsAsRead();
14
- }, hasUnreadNotifications: hasUnreadNotifications, unreadNotificationsCount: unreadNotificationsCount }), _jsx(NotificationsList, { NotificationsListEmptyState: NotificationsListEmptyState, NotificationsListErrorState: NotificationsListErrorState, Notification: Notification, NotificationSkeletonItem: NotificationSkeletonItem, activeView: activeView, onNotificationClick: onNotificationClick, activeNotifications: activeNotifications, markNotificationAsRead: markNotificationAsRead, status: status, error: error, loadNextPage: loadNextPage, hasNextPage: hasNextPage, itemHeight: itemHeight, itemsGap: itemsGap, itemPadding: itemPadding, skeletonItemsCount: skeletonItemsCount, maxListHeight: maxListHeight, closeNotificationsPanel: closeNotificationsPanel })
15
- ] }));
13
+ }, hasUnreadNotifications: hasUnreadNotifications, unreadNotificationsCount: unreadNotificationsCount }), _jsx(NotificationsList, { NotificationsListEmptyState: NotificationsListEmptyState, NotificationsListErrorState: NotificationsListErrorState, Notification: Notification, NotificationSkeletonItem: NotificationSkeletonItem, activeView: activeView, onNotificationClick: onNotificationClick, activeNotifications: activeNotifications, markNotificationAsRead: markNotificationAsRead, status: status, error: error, loadNextPage: loadNextPage, hasNextPage: hasNextPage, itemHeight: itemHeight, itemsGap: itemsGap, itemPadding: itemPadding, skeletonItemsCount: skeletonItemsCount, maxListHeight: maxListHeight, closeNotificationsPanel: closeNotificationsPanel })] }));
16
14
  }
@@ -11,6 +11,5 @@ const { b, e } = bem("gd-ui-ext-notifications-panel-button");
11
11
  export function DefaultNotificationsPanelButton({ buttonRef, isNotificationPanelOpen, toggleNotificationPanel, hasUnreadNotifications, }) {
12
12
  const intl = useIntl();
13
13
  const ariaControls = isNotificationPanelOpen ? { "aria-controls": NOTIFICATIONS_PANEL_ID } : {};
14
- return (_jsx("button", { ref: buttonRef, className: cx(`gd-button gd-header-button ${b({ isOpen: isNotificationPanelOpen })}`), onClick: toggleNotificationPanel, "aria-label": intl.formatMessage({ id: "notifications.panel.button.label" }), "aria-expanded": isNotificationPanelOpen, "aria-haspopup": "true", ...ariaControls, children: _jsxs("span", { className: e("icon"), children: [hasUnreadNotifications ? _jsx("span", { className: e("unread-status") }) : null, _jsx(UiIcon, { type: "alert", size: 14 })
15
- ] }) }));
14
+ return (_jsx("button", { ref: buttonRef, className: cx(`gd-button gd-header-button ${b({ isOpen: isNotificationPanelOpen })}`), onClick: toggleNotificationPanel, "aria-label": intl.formatMessage({ id: "notifications.panel.button.label" }), "aria-expanded": isNotificationPanelOpen, "aria-haspopup": "true", ...ariaControls, children: _jsxs("span", { className: e("icon"), children: [hasUnreadNotifications ? _jsx("span", { className: e("unread-status") }) : null, _jsx(UiIcon, { type: "alert", size: 14 })] }) }));
16
15
  }
@@ -18,9 +18,7 @@ export function DefaultNotificationsPanelHeader({ activeView, changeActiveView,
18
18
  const targetView = tab.id === messages.tabUnread.id ? "unread" : "all";
19
19
  changeActiveView(targetView);
20
20
  }, [changeActiveView]);
21
- return (_jsxs("div", { className: b(), children: [
22
- _jsx("div", { className: e("tabs"), children: _jsx(Tabs, { tabs: tabs, selectedTabId: activeTabId, onTabSelect: onTabSelect }) }), _jsx("div", { className: e("mark-all-as-read-button"), children: _jsx(UiButton, { variant: "popout", size: "small", label: intl.formatMessage(messages.markAllAsRead), onClick: markAllNotificationsAsRead, isDisabled: !hasUnreadNotifications }) })
23
- ] }));
21
+ return (_jsxs("div", { className: b(), children: [_jsx("div", { className: e("tabs"), children: _jsx(Tabs, { tabs: tabs, selectedTabId: activeTabId, onTabSelect: onTabSelect }) }), _jsx("div", { className: e("mark-all-as-read-button"), children: _jsx(UiButton, { variant: "popout", size: "small", label: intl.formatMessage(messages.markAllAsRead), onClick: markAllNotificationsAsRead, isDisabled: !hasUnreadNotifications }) })] }));
24
22
  }
25
23
  function getTabs(unreadNotificationsCount = 0) {
26
24
  return [
@@ -47,8 +47,7 @@ function NotificationsPanelController({ NotificationsPanelButton, NotificationsP
47
47
  return notificationsPanel;
48
48
  }
49
49
  invariant(NotificationsPanelButton, "If renderInline is not enabled, NotificationsPanelButton is required.");
50
- return (_jsxs(_Fragment, { children: [
51
- _jsx(NotificationsPanelButton, { buttonRef: buttonRef, isNotificationPanelOpen: isOpen, toggleNotificationPanel: toggleNotificationsPanel, openNotificationPanel: openNotificationsPanel, closeNotificationPanel: closeNotificationsPanel, hasUnreadNotifications: hasUnreadNotifications }), isOpen ? (_jsx(Overlay, { isModal: false, alignTo: buttonRef.current, alignPoints: ALIGN_POINTS, closeOnEscape: true, closeOnOutsideClick: true, closeOnParentScroll: false, closeOnMouseDrag: false, onClose: closeNotificationsPanel, width: "100%", maxWidth: maxWidth, children: notificationsPanel })) : null] }));
50
+ return (_jsxs(_Fragment, { children: [_jsx(NotificationsPanelButton, { buttonRef: buttonRef, isNotificationPanelOpen: isOpen, toggleNotificationPanel: toggleNotificationsPanel, openNotificationPanel: openNotificationsPanel, closeNotificationPanel: closeNotificationsPanel, hasUnreadNotifications: hasUnreadNotifications }), isOpen ? (_jsx(Overlay, { isModal: false, alignTo: buttonRef.current, alignPoints: ALIGN_POINTS, closeOnEscape: true, closeOnOutsideClick: true, closeOnParentScroll: false, closeOnMouseDrag: false, onClose: closeNotificationsPanel, width: "100%", maxWidth: maxWidth, children: notificationsPanel })) : null] }));
52
51
  }
53
52
  function useNotificationsPanelController() {
54
53
  const [isOpen, setIsOpen] = useState(false);
@@ -4,7 +4,7 @@
4
4
  * @internal
5
5
  */
6
6
  export declare const bem: (block: `gd-ui-ext-${string}`) => {
7
- b: (props?: import("@gooddata/sdk-ui-kit").StyleProps | undefined) => string;
8
- e: (element: string, props?: import("@gooddata/sdk-ui-kit").StyleProps | undefined) => string;
7
+ b: (props?: import("@gooddata/sdk-ui-kit").StyleProps) => string;
8
+ e: (element: string, props?: import("@gooddata/sdk-ui-kit").StyleProps) => string;
9
9
  };
10
10
  //# sourceMappingURL=bem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bem.d.ts","sourceRoot":"","sources":["../../src/notificationsPanel/bem.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,GAAG;;;CAAmE,CAAC"}
1
+ {"version":3,"file":"bem.d.ts","sourceRoot":"","sources":["../../src/notificationsPanel/bem.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,GAAG,UAAW,aAAa,MAAM,EAAE;;;CAAmC,CAAC"}
@@ -10,9 +10,5 @@ const messages = defineMessages({
10
10
  });
11
11
  export function DetailsDialog({ onClose, title, content }) {
12
12
  const intl = useIntl();
13
- return (_jsxs("div", { className: b(), children: [
14
- _jsxs("div", { className: e("header"), children: [
15
- _jsx("div", { className: e("header-title"), children: title }), _jsx("div", { role: "button", className: e("header-close-button"), onClick: onClose, children: _jsx(UiIcon, { type: "close", size: 14, color: "complementary-7" }) })
16
- ] }), _jsx("div", { className: e("content"), children: content }), _jsx("div", { className: e("footer"), children: _jsx(UiButton, { variant: "secondary", label: intl.formatMessage(messages.closeButtonLabel), size: "small", onClick: onClose }) })
17
- ] }));
13
+ return (_jsxs("div", { className: b(), children: [_jsxs("div", { className: e("header"), children: [_jsx("div", { className: e("header-title"), children: title }), _jsx("div", { role: "button", className: e("header-close-button"), onClick: onClose, children: _jsx(UiIcon, { type: "close", size: 14, color: "complementary-7" }) })] }), _jsx("div", { className: e("content"), children: content }), _jsx("div", { className: e("footer"), children: _jsx(UiButton, { variant: "secondary", label: intl.formatMessage(messages.closeButtonLabel), size: "small", onClick: onClose }) })] }));
18
14
  }
@@ -2,6 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Bubble, BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
3
3
  const ALIGN_POINTS = [{ align: "bc tr" }, { align: "tc br" }];
4
4
  export function Tooltip({ children, tooltip }) {
5
- return (_jsxs(BubbleHoverTrigger, { children: [children, _jsx(Bubble, { alignPoints: ALIGN_POINTS, children: tooltip })
6
- ] }));
5
+ return (_jsxs(BubbleHoverTrigger, { children: [children, _jsx(Bubble, { alignPoints: ALIGN_POINTS, children: tooltip })] }));
7
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/data/useNotifications.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAC;AA4C9E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC7B,SAAS,EACT,eAAe,EACf,YAAY,EACZ,2BAA2B,EAC9B,EAAE,sBAAsB;;;;;;;;;;;;;;;;EAkHxB"}
1
+ {"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/data/useNotifications.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAC;AA4C9E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC7B,SAAS,EACT,eAAe,EACf,YAAY,EACZ,2BAA2B,EAC9B,EAAE,sBAAsB;;;;;;;;;;;;;;6CAmCM,MAAM;;EA+EpC"}
@@ -49,7 +49,7 @@ import { ILocale } from '@gooddata/sdk-ui';
49
49
  import { INotification } from '@gooddata/sdk-model';
50
50
  import { IntlShape } from 'react-intl';
51
51
  import type { IObjectAccessList } from '@gooddata/sdk-model';
52
- import type { IObjectPermissionsObject } from '@gooddata/sdk-backend-spi';
52
+ import { IObjectPermissionsObject } from '@gooddata/sdk-backend-spi';
53
53
  import { IPivotTableConfig } from '@gooddata/sdk-ui-pivot';
54
54
  import { ISemanticConditionalFormatting } from '@gooddata/sdk-model';
55
55
  import { ISeparators } from '@gooddata/sdk-model';
@@ -82,7 +82,7 @@ import { WeekStart } from '@gooddata/sdk-model';
82
82
  *
83
83
  * @internal
84
84
  */
85
- export declare function accessListToSummary(list: IObjectAccessList): IObjectAccessSummary;
85
+ export declare function accessListToSummary(list: IObjectAccessList, self?: ObjRef): IObjectAccessSummary;
86
86
 
87
87
  /**
88
88
  * @internal
@@ -394,6 +394,14 @@ export declare const DeleteUsersDialog: {
394
394
  displayName: string | undefined;
395
395
  };
396
396
 
397
+ /**
398
+ * The same summary for a draft, so it reads like a fetched list. Untouched general access
399
+ * falls back to `initialGeneralAccess`.
400
+ *
401
+ * @internal
402
+ */
403
+ export declare function draftToSummary(draft: IObjectShareDraft, initialGeneralAccess: GeneralAccessValue): IObjectAccessSummary;
404
+
397
405
  /**
398
406
  * @internal
399
407
  */
@@ -1581,6 +1589,18 @@ export declare function InsightRenderer(props: IInsightRendererProps): JSX.Eleme
1581
1589
  */
1582
1590
  export declare function InsightView(props: IInsightViewProps): JSX.Element;
1583
1591
 
1592
+ /**
1593
+ * @internal
1594
+ */
1595
+ export declare interface IObjectAccessLevel {
1596
+ summary: IObjectAccessSummary | undefined;
1597
+ /** Undefined while loading, or when the read failed. */
1598
+ level: ObjectShareLevel | undefined;
1599
+ isLoading: boolean;
1600
+ /** Hand the dialog's reported summary back, so an edit shows without a refetch. */
1601
+ onSummaryChange: (summary: IObjectAccessSummary) => void;
1602
+ }
1603
+
1584
1604
  /**
1585
1605
  * Aggregated, read-only access state for an object — what the inline access row
1586
1606
  * in a host UI needs to render the current sharing state without opening the
@@ -1592,6 +1612,8 @@ export declare function InsightView(props: IInsightViewProps): JSX.Element;
1592
1612
  * rule permits, `VIEW` by default.
1593
1613
  * - `granteeCount` — number of named grantees (users + groups). Excludes the
1594
1614
  * workspace-wide rule grant itself.
1615
+ * - `selfIsGrantee` — whether the signed-in user is one of them. The creator is granted
1616
+ * access when the object is made, so their own grant says nothing about who else can.
1595
1617
  *
1596
1618
  * @internal
1597
1619
  */
@@ -1599,6 +1621,7 @@ export declare interface IObjectAccessSummary {
1599
1621
  generalAccess: GeneralAccessValue;
1600
1622
  workspaceLevel: AccessGranularPermission;
1601
1623
  granteeCount: number;
1624
+ selfIsGrantee: boolean;
1602
1625
  }
1603
1626
 
1604
1627
  /**
@@ -1778,27 +1801,27 @@ export declare function isEmptyAfm(obj: unknown): obj is EmptyAfmSdkError;
1778
1801
  /**
1779
1802
  * @internal
1780
1803
  */
1781
- export declare const isInsightAlertingConfigurationEnabled: (insight: IInsightDefinition | IInsight | undefined) => boolean;
1804
+ export declare const isInsightAlertingConfigurationEnabled: (insight: IInsight | IInsightDefinition | undefined) => boolean;
1782
1805
 
1783
1806
  /**
1784
1807
  * @internal
1785
1808
  */
1786
- export declare const isInsightKeyDriverAnalysisEnabled: (insight: IInsightDefinition | IInsight | undefined) => boolean;
1809
+ export declare const isInsightKeyDriverAnalysisEnabled: (insight: IInsight | IInsightDefinition | undefined) => boolean;
1787
1810
 
1788
1811
  /**
1789
1812
  * @internal
1790
1813
  */
1791
- export declare const isInsightScheduledExportsConfigurationEnabled: (insight: IInsightDefinition | IInsight | undefined) => boolean;
1814
+ export declare const isInsightScheduledExportsConfigurationEnabled: (insight: IInsight | IInsightDefinition | undefined) => boolean;
1792
1815
 
1793
1816
  /**
1794
1817
  * @internal
1795
1818
  */
1796
- export declare const isInsightSupportedForAlerts: (insight: IInsightDefinition | IInsight | null | undefined) => boolean;
1819
+ export declare const isInsightSupportedForAlerts: (insight: IInsight | IInsightDefinition | null | undefined) => boolean;
1797
1820
 
1798
1821
  /**
1799
1822
  * @internal
1800
1823
  */
1801
- export declare const isInsightSupportedForScheduledExports: (insight: IInsightDefinition | IInsight | null | undefined) => boolean;
1824
+ export declare const isInsightSupportedForScheduledExports: (insight: IInsight | IInsightDefinition | null | undefined) => boolean;
1802
1825
 
1803
1826
  /**
1804
1827
  * Info about min, max and default in layout units.
@@ -1881,6 +1904,20 @@ export declare interface ITargetOption {
1881
1904
  date?: ICfDateMeta;
1882
1905
  }
1883
1906
 
1907
+ /**
1908
+ * @internal
1909
+ */
1910
+ export declare interface IUseObjectAccessLevelOptions {
1911
+ /** The object to read. Undefined describes one that does not exist yet. */
1912
+ target: IObjectPermissionsObject | undefined;
1913
+ /** Whether to read at all. False keeps the level unresolved without a request. */
1914
+ enabled?: boolean;
1915
+ /** Share edits staged for an object that does not exist yet. */
1916
+ draft?: IObjectShareDraft;
1917
+ /** General access such an object starts from. Defaults to `RESTRICTED`. */
1918
+ initialDraftGeneralAccess?: GeneralAccessValue;
1919
+ }
1920
+
1884
1921
  /**
1885
1922
  * Config for useInsightPagedList hook
1886
1923
  * @internal
@@ -2062,6 +2099,13 @@ export declare function NotificationsPanel(props: INotificationsPanelProps): JSX
2062
2099
  */
2063
2100
  export declare function ObjectShareDialog(props: IObjectShareDialogProps): JSX.Element | null;
2064
2101
 
2102
+ /**
2103
+ * How an object's access reads: nobody, named grantees, or the whole workspace.
2104
+ *
2105
+ * @internal
2106
+ */
2107
+ export declare type ObjectShareLevel = "PRIVATE" | "SHARED" | "WORKSPACE";
2108
+
2065
2109
  /**
2066
2110
  * Permission level surfaced in the share dialog — the model's granular access
2067
2111
  * permission (VIEW / SHARE / EDIT), assignable from the permission menu.
@@ -2141,6 +2185,19 @@ export declare type ScheduleAutomationsColumnName = "nextRun" | "attachments";
2141
2185
  */
2142
2186
  export declare function sortShareableLabels(labels: readonly IObjectShareLabel[]): IObjectShareLabel[];
2143
2187
 
2188
+ /**
2189
+ * The access level to display for a summary.
2190
+ *
2191
+ * @remarks
2192
+ * The caller's own grant does not count: the creator is granted access when the object is
2193
+ * made, so counting it would read an object only they can see as SHARED. The summary must
2194
+ * therefore come from `accessListToSummary` WITH a caller ref, or a sole own grant reads
2195
+ * SHARED.
2196
+ *
2197
+ * @internal
2198
+ */
2199
+ export declare function summaryToShareLevel(summary: IObjectAccessSummary): ObjectShareLevel;
2200
+
2144
2201
  /**
2145
2202
  * @internal
2146
2203
  */
@@ -2210,6 +2267,17 @@ export declare function useInsightPickerState(author?: string): {
2210
2267
  onTagFilterChange: Dispatch<SetStateAction<string[]>>;
2211
2268
  };
2212
2269
 
2270
+ /**
2271
+ * An object's access level, for showing it outside the share dialog.
2272
+ *
2273
+ * @remarks
2274
+ * A saved object is read once and then kept in sync by the dialog through `onSummaryChange`.
2275
+ * An object that does not exist yet is described by its draft, with no request made.
2276
+ *
2277
+ * @internal
2278
+ */
2279
+ export declare function useObjectAccessLevel({ target, enabled, draft, initialDraftGeneralAccess }: IUseObjectAccessLevelOptions): IObjectAccessLevel;
2280
+
2213
2281
  /**
2214
2282
  * @internal
2215
2283
  */
@@ -112,9 +112,8 @@ function ObjectShareDialogSession({ target, objectTitle, onClose, onSummaryChang
112
112
  }, onPermissionChange: (level) => onRowPermissionChange(g, level), onRemoveAccess: () => onRowRemove(g) })),
113
113
  };
114
114
  };
115
- // Synthesized empty-state row: the controller reports it only while the list
116
- // holds no grantees (adding one replaces it, removing the last one restores
117
- // it — see `adminSelfRow`). The controller decides; this only renders it.
115
+ // Synthesized by the controller, not granted. The tag explains a FETCHED list the
116
+ // caller reached without a grant of their own; a draft needs no explaining.
118
117
  const rows = [
119
118
  ...(state.adminSelfRow
120
119
  ? [
@@ -125,7 +124,7 @@ function ObjectShareDialogSession({ target, objectTitle, onClose, onSummaryChang
125
124
  name: state.adminSelfRow.name,
126
125
  }),
127
126
  email: state.adminSelfRow.email,
128
- controls: _jsx(AdminSelfTag, {}),
127
+ controls: draft ? undefined : _jsx(AdminSelfTag, {}),
129
128
  },
130
129
  ]
131
130
  : []),
@@ -174,6 +173,5 @@ function ObjectShareDialogSession({ target, objectTitle, onClose, onSummaryChang
174
173
  ? objectShareMessages.confirmRestrictDescription
175
174
  : objectShareMessages.confirmGrantWorkspaceDescription, { title: objectTitle }), confirmLabel: intl.formatMessage(objectShareMessages.confirmButton), confirmVariant: "primary", onCancel: actions.cancelGeneralAccessChange, onClose: actions.cancelGeneralAccessChange, onConfirm: () => {
176
175
  void actions.confirmGeneralAccessChange();
177
- } }), _jsx(UiConfirmDialog, { isOpen: isSelfRestrictConfirmOpen, title: intl.formatMessage(objectShareMessages.selfRestrictTitle), description: intl.formatMessage(objectShareMessages.selfRestrictWarning), confirmLabel: intl.formatMessage(objectShareMessages.confirmButton), confirmVariant: "primary", onCancel: onSelfRestrictCancel, onClose: onSelfRestrictCancel, onConfirm: onSelfRestrictConfirm })
178
- ] }));
176
+ } }), _jsx(UiConfirmDialog, { isOpen: isSelfRestrictConfirmOpen, title: intl.formatMessage(objectShareMessages.selfRestrictTitle), description: intl.formatMessage(objectShareMessages.selfRestrictWarning), confirmLabel: intl.formatMessage(objectShareMessages.confirmButton), confirmVariant: "primary", onCancel: onSelfRestrictCancel, onClose: onSelfRestrictCancel, onConfirm: onSelfRestrictConfirm })] }));
179
177
  }
@@ -1,6 +1,6 @@
1
- import type { AccessGranteeDetail, IGranularRulesAccess, IObjectAccessList } from "@gooddata/sdk-model";
1
+ import type { AccessGranteeDetail, IGranularRulesAccess, IObjectAccessList, ObjRef } from "@gooddata/sdk-model";
2
2
  import type { GeneralAccessValue } from "@gooddata/sdk-ui-kit";
3
- import type { ObjectSharePermissionLevel } from "./objectShareController.types.js";
3
+ import type { IObjectShareDraft, ObjectSharePermissionLevel } from "./objectShareController.types.js";
4
4
  import type { IObjectAccessSummary } from "./types.js";
5
5
  /**
6
6
  * All `allWorkspaceUsers` rule grants. With workspace hierarchy the backend
@@ -48,5 +48,30 @@ export declare function composeEffectiveWorkspaceAccess(direct: GeneralAccessVal
48
48
  *
49
49
  * @internal
50
50
  */
51
- export declare function accessListToSummary(list: IObjectAccessList): IObjectAccessSummary;
51
+ export declare function accessListToSummary(list: IObjectAccessList, self?: ObjRef): IObjectAccessSummary;
52
+ /**
53
+ * How an object's access reads: nobody, named grantees, or the whole workspace.
54
+ *
55
+ * @internal
56
+ */
57
+ export type ObjectShareLevel = "PRIVATE" | "SHARED" | "WORKSPACE";
58
+ /**
59
+ * The access level to display for a summary.
60
+ *
61
+ * @remarks
62
+ * The caller's own grant does not count: the creator is granted access when the object is
63
+ * made, so counting it would read an object only they can see as SHARED. The summary must
64
+ * therefore come from `accessListToSummary` WITH a caller ref, or a sole own grant reads
65
+ * SHARED.
66
+ *
67
+ * @internal
68
+ */
69
+ export declare function summaryToShareLevel(summary: IObjectAccessSummary): ObjectShareLevel;
70
+ /**
71
+ * The same summary for a draft, so it reads like a fetched list. Untouched general access
72
+ * falls back to `initialGeneralAccess`.
73
+ *
74
+ * @internal
75
+ */
76
+ export declare function draftToSummary(draft: IObjectShareDraft, initialGeneralAccess: GeneralAccessValue): IObjectAccessSummary;
52
77
  //# sourceMappingURL=accessSummary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accessSummary.d.ts","sourceRoot":"","sources":["../../src/share/accessSummary.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,k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;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,EAAE,GAAG,kBAAkB,CAIrF;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,GAAG,0BAA0B,CAExG;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CACzC,MAAM,EAAE,mBAAmB,EAAE,GAC9B,0BAA0B,GAAG,SAAS,CAExC;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,MAAM,EAAE,kBAAkB,EAC1B,gBAAgB,EAAE,0BAA0B,EAC5C,cAAc,EAAE,0BAA0B,GAAG,SAAS,GACvD;IAAE,aAAa,EAAE,kBAAkB,CAAC;IAAC,cAAc,EAAE,0BAA0B,CAAA;CAAE,CAOnF;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,oBAAoB,CAahG;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAElE;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,gBAAgB,CAMnF;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC1B,KAAK,EAAE,iBAAiB,EACxB,oBAAoB,EAAE,kBAAkB,GACzC,oBAAoB,CAWtB"}
@@ -1,5 +1,5 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { directLevel, granteesFromAccessList, strongestLevel } from "./objectShareController.helpers.js";
2
+ import { directLevel, granteeId, granteesFromAccessList, strongestLevel, } from "./objectShareController.helpers.js";
3
3
  /**
4
4
  * All `allWorkspaceUsers` rule grants. With workspace hierarchy the backend
5
5
  * returns one entry per granting workspace — this workspace's own grant carries
@@ -60,10 +60,49 @@ export function composeEffectiveWorkspaceAccess(direct, directLevelValue, inheri
60
60
  *
61
61
  * @internal
62
62
  */
63
- export function accessListToSummary(list) {
63
+ export function accessListToSummary(list, self) {
64
64
  const inheritedLevel = deriveInheritedWorkspaceLevel(list.grants);
65
+ const grantees = granteesFromAccessList(list);
66
+ const selfId = self ? granteeId("user", self) : undefined;
65
67
  return {
66
68
  ...composeEffectiveWorkspaceAccess(deriveGeneralAccess(list.grants), deriveWorkspacePermissionLevel(list.grants), inheritedLevel),
67
- granteeCount: granteesFromAccessList(list).length,
69
+ granteeCount: grantees.length,
70
+ selfIsGrantee: selfId !== undefined && grantees.some((g) => g.id === selfId),
71
+ };
72
+ }
73
+ /**
74
+ * The access level to display for a summary.
75
+ *
76
+ * @remarks
77
+ * The caller's own grant does not count: the creator is granted access when the object is
78
+ * made, so counting it would read an object only they can see as SHARED. The summary must
79
+ * therefore come from `accessListToSummary` WITH a caller ref, or a sole own grant reads
80
+ * SHARED.
81
+ *
82
+ * @internal
83
+ */
84
+ export function summaryToShareLevel(summary) {
85
+ if (summary.generalAccess === "WORKSPACE") {
86
+ return "WORKSPACE";
87
+ }
88
+ const others = summary.granteeCount - (summary.selfIsGrantee ? 1 : 0);
89
+ return others > 0 ? "SHARED" : "PRIVATE";
90
+ }
91
+ /**
92
+ * The same summary for a draft, so it reads like a fetched list. Untouched general access
93
+ * falls back to `initialGeneralAccess`.
94
+ *
95
+ * @internal
96
+ */
97
+ export function draftToSummary(draft, initialGeneralAccess) {
98
+ const { ruleEdit } = draft;
99
+ const generalAccess = ruleEdit?.generalAccess ?? initialGeneralAccess;
100
+ const granteeCount = Object.values(draft.granteeEdits).filter((edit) => edit.kind === "added").length;
101
+ return {
102
+ generalAccess,
103
+ workspaceLevel: ruleEdit?.level ?? "VIEW",
104
+ granteeCount,
105
+ // The caller's own grant is made on save, so no draft edit can hold it.
106
+ selfIsGrantee: false,
68
107
  };
69
108
  }
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/share/messages.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;IAO5B;;;;OAIG;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;;;IAEH,0EAA0E;;;;IAE1E;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWL,CAAC"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/share/messages.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;QACJ,EAAE;;;QACI,EAAE;;;QACF,EAAE;;;QACI,EAAE;;;QACrB,EAAE;;;QACE,EAAE;;IACvB;;;;OAIG;;QACoB,EAAE;;IACzB;;;OAGG;;QACwB,EAAE;;IAC7B;;;OAGG;;QACuB,EAAE;;IAC5B,0EAA0E;;QAC1C,EAAE;;IAClC;;;OAGG;;QACuB,EAAE;;;QACd,EAAE;;;QACC,EAAE;;;QACA,EAAE;;;QACA,EAAE;;;QACD,EAAE;;;QACK,EAAE;;;QACjB,EAAE;;;QACU,EAAE;;;QACf,EAAE;;CACjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"objectShareController.helpers.d.ts","sourceRoot":"","sources":["../../src/share/objectShareController.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACR,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC7B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,6FAA6F;AAC7F,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CA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AAQ,EAAE,sBAAsB,EAAE,CAAA;CAAE,CAAC,CAaxE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACxC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CACxC,OAAO,EAAE,SAAS,iBAAiB,EAAE,EACrC,MAAM,EAAE,iBAAiB,EAAE,GAC5B,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,sBAAsB,EAAE,CAAA;CAAE,CAAC,CAmBxE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,GAAG,sBAAsB,EAAE,CAiBrF;AAED,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,iBAAiB,EAAO,CAAC;AAEjD,0DAA0D;AAC1D,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAAqB,CAAC;AAEhE;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,EAAE,EAAE,MAAM,GACX;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,CAcrD"}
1
+ {"version":3,"file":"objectShareController.helpers.d.ts","sourceRoot":"","sources":["../../src/share/objectShareController.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACR,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC7B,MAAM,kCAAkC,CA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AACH,wBAAgB,kBAAkB,CAC9B,UAAU,EAAE,mBAAmB,EAAE,EACjC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,EAClC,MAAM,EAAE,iBAAiB,EAAE,GAC5B,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,sBAAsB,EAAE,CAAA;CAAE,CAAC,CAaxE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACxC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CACxC,OAAO,EAAE,SAAS,iBAAiB,EAAE,EACrC,MAAM,EAAE,iBAAiB,EAAE,GAC5B,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,sBAAsB,EAAE,CAAA;CAAE,CAAC,CAmBxE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,GAAG,sBAAsB,EAAE,CAiBrF;AAED,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,iBAAiB,EAAO,CAAC;AAEjD,0DAA0D;AAC1D,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAAqB,CAAC;AAEhE;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,EAAE,EAAE,MAAM,GACX;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,CAcrD"}
@@ -134,6 +134,9 @@ export interface IObjectShareControllerState {
134
134
  * through administrator/manager rights. Adding a grantee hides the row;
135
135
  * removing the last one brings it back. (Derived from the immutable seed:
136
136
  * removing your own grant empties the list but never synthesizes this row.)
137
+ *
138
+ * Also set for the whole of a draft, where the caller will own what they create — the
139
+ * list is theirs either way, so the row holds as grantees are added.
137
140
  */
138
141
  adminSelfRow: {
139
142
  name: string;