@gooddata/sdk-ui-dashboard 10.33.0-alpha.48 → 10.33.0-alpha.5

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 (272) hide show
  1. package/NOTICE +374 -519
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/_staging/dashboard/flexibleLayout/config.d.ts +0 -1
  7. package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -1
  8. package/esm/_staging/dashboard/flexibleLayout/config.js +1 -2
  9. package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -1
  10. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  11. package/esm/_staging/layout/sizing.js +4 -6
  12. package/esm/_staging/layout/sizing.js.map +1 -1
  13. package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts +3 -16
  14. package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts.map +1 -1
  15. package/esm/model/commandHandlers/layout/containerWidthSanitization.js +6 -39
  16. package/esm/model/commandHandlers/layout/containerWidthSanitization.js.map +1 -1
  17. package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
  18. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +7 -10
  19. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
  20. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +6 -9
  22. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
  23. package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.js +1 -32
  25. package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.js.map +1 -1
  26. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +7 -8
  28. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
  29. package/esm/model/store/config/configSelectors.d.ts +2 -2
  30. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  31. package/esm/model/store/config/configSelectors.js +3 -3
  32. package/esm/model/store/config/configSelectors.js.map +1 -1
  33. package/esm/model/store/index.d.ts +1 -1
  34. package/esm/model/store/index.d.ts.map +1 -1
  35. package/esm/model/store/index.js +1 -1
  36. package/esm/model/store/index.js.map +1 -1
  37. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
  38. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +0 -1
  39. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
  40. package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.d.ts.map +1 -1
  41. package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js +11 -7
  42. package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js.map +1 -1
  43. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  44. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +3 -2
  45. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  46. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  47. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +7 -6
  48. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  49. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts +2 -2
  50. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts.map +1 -1
  51. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js +5 -5
  52. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js.map +1 -1
  53. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  54. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +3 -12
  55. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  56. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
  57. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +1 -2
  58. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  59. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +2 -5
  60. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
  61. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +17 -29
  62. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
  63. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
  64. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +3 -1
  65. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
  66. package/esm/presentation/localization/bundles/de-DE.json +1 -8
  67. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -7
  68. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  69. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +1 -8
  70. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
  71. package/esm/presentation/localization/bundles/en-AU.json +1 -8
  72. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -7
  73. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  74. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +1 -8
  75. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
  76. package/esm/presentation/localization/bundles/en-GB.json +1 -8
  77. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -7
  78. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  79. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +1 -8
  80. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
  81. package/esm/presentation/localization/bundles/en-US.json +5 -70
  82. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +5 -70
  83. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  84. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +5 -70
  85. package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
  86. package/esm/presentation/localization/bundles/es-419.json +1 -8
  87. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -7
  88. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  89. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +1 -8
  90. package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
  91. package/esm/presentation/localization/bundles/es-ES.json +1 -8
  92. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -7
  93. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  94. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +1 -8
  95. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
  96. package/esm/presentation/localization/bundles/fi-FI.json +1 -8
  97. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -7
  98. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  99. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +1 -8
  100. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
  101. package/esm/presentation/localization/bundles/fr-CA.json +1 -8
  102. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -7
  103. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  104. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +1 -8
  105. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
  106. package/esm/presentation/localization/bundles/fr-FR.json +1 -8
  107. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -7
  108. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  109. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +1 -8
  110. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
  111. package/esm/presentation/localization/bundles/it-IT.json +1 -8
  112. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -7
  113. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  114. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +1 -8
  115. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
  116. package/esm/presentation/localization/bundles/ja-JP.json +1 -8
  117. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -7
  118. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  119. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +1 -8
  120. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
  121. package/esm/presentation/localization/bundles/ko-KR.json +1 -8
  122. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -7
  123. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  124. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +1 -8
  125. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
  126. package/esm/presentation/localization/bundles/nl-NL.json +1 -8
  127. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -7
  128. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  129. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +1 -8
  130. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
  131. package/esm/presentation/localization/bundles/pl-PL.json +1 -8
  132. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -7
  133. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  134. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +1 -8
  135. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
  136. package/esm/presentation/localization/bundles/pt-BR.json +1 -8
  137. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -7
  138. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  139. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +1 -8
  140. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
  141. package/esm/presentation/localization/bundles/pt-PT.json +1 -8
  142. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -7
  143. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  144. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +1 -8
  145. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
  146. package/esm/presentation/localization/bundles/ru-RU.json +1 -8
  147. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -7
  148. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  149. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +1 -8
  150. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
  151. package/esm/presentation/localization/bundles/tr-TR.json +1 -8
  152. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -7
  153. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  154. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +1 -8
  155. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
  156. package/esm/presentation/localization/bundles/zh-HK.json +1 -8
  157. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -7
  158. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  159. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +1 -8
  160. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
  161. package/esm/presentation/localization/bundles/zh-Hans.json +1 -8
  162. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -7
  163. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  164. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +1 -8
  165. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
  166. package/esm/presentation/localization/bundles/zh-Hant.json +1 -8
  167. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -7
  168. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  169. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +1 -8
  170. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
  171. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts.map +1 -1
  172. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js +2 -13
  173. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js.map +1 -1
  174. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  175. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +5 -12
  176. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  177. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -0
  178. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -0
  179. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +1 -0
  180. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFiltersList.js +1 -1
  181. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +1 -0
  182. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentItems.d.ts +2 -2
  183. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +1 -0
  184. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +1 -0
  185. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +11 -6
  186. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  187. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +37 -31
  188. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
  189. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +16 -6
  190. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  191. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +27 -30
  192. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -1
  193. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +5 -10
  194. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  195. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +19 -76
  196. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  197. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts +2 -2
  198. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts.map +1 -1
  199. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js +1 -1
  200. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js.map +1 -1
  201. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  202. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +3 -12
  203. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  204. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -1
  205. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +4 -0
  206. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -1
  207. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -1
  208. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +3 -3
  209. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -1
  210. package/esm/sdk-ui-dashboard.d.ts +7 -7
  211. package/package.json +19 -18
  212. package/styles/css/attributeFilterConfig.css +1 -1
  213. package/styles/css/dashboard.css +4 -96
  214. package/styles/css/dashboard.css.map +1 -1
  215. package/styles/css/dashboardNestedLayoutWidget.css +48 -78
  216. package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
  217. package/styles/css/dragAndDrop.css +20 -18
  218. package/styles/css/dragAndDrop.css.map +1 -1
  219. package/styles/css/drillConfigPanel.css +14 -14
  220. package/styles/css/icons.css +24 -32
  221. package/styles/css/icons.css.map +1 -1
  222. package/styles/css/main.css +130 -260
  223. package/styles/css/main.css.map +1 -1
  224. package/styles/css/notifications_channels_dialog.css +2 -88
  225. package/styles/css/notifications_channels_dialog.css.map +1 -1
  226. package/styles/css/poweredByGDLogo.css +2 -2
  227. package/styles/css/sidebar.css +4 -6
  228. package/styles/css/sidebar.css.map +1 -1
  229. package/styles/scss/attributeFilterConfig.scss +1 -1
  230. package/styles/scss/dashboard.scss +2 -10
  231. package/styles/scss/dashboardNestedLayoutWidget.scss +76 -131
  232. package/styles/scss/dragAndDrop.scss +48 -43
  233. package/styles/scss/drillConfigPanel.scss +14 -14
  234. package/styles/scss/icons.scss +79 -77
  235. package/styles/scss/notifications_channels_dialog.scss +1 -89
  236. package/styles/scss/poweredByGDLogo.scss +3 -3
  237. package/styles/scss/sidebar.scss +4 -6
  238. package/esm/assets/flexible-layouts-tooltip.gif +0 -0
  239. package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts +0 -15
  240. package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts.map +0 -1
  241. package/esm/model/commandHandlers/layout/rowContainerSanitization.js +0 -82
  242. package/esm/model/commandHandlers/layout/rowContainerSanitization.js.map +0 -1
  243. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +0 -10
  244. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +0 -1
  245. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +0 -64
  246. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js.map +0 -1
  247. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts +0 -20
  248. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts.map +0 -1
  249. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js +0 -82
  250. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js.map +0 -1
  251. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.d.ts.map +0 -1
  252. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.js.map +0 -1
  253. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.d.ts.map +0 -1
  254. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.js.map +0 -1
  255. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.d.ts.map +0 -1
  256. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.js.map +0 -1
  257. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts +0 -5
  258. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts.map +0 -1
  259. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js +0 -10
  260. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js.map +0 -1
  261. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts +0 -17
  262. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts.map +0 -1
  263. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js +0 -47
  264. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js.map +0 -1
  265. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts +0 -20
  266. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts.map +0 -1
  267. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js +0 -33
  268. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js.map +0 -1
  269. /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFilters.d.ts +0 -0
  270. /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFilters.js +0 -0
  271. /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFiltersList.d.ts +0 -0
  272. /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentItems.js +0 -0
@@ -116,7 +116,7 @@
116
116
  display: block;
117
117
  width: 18px;
118
118
  height: 24px;
119
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
119
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
120
120
  background-repeat: no-repeat;
121
121
  background-position: left top;
122
122
  background-size: contain;
@@ -128,20 +128,20 @@
128
128
  }
129
129
 
130
130
  .gd-drill-measure-selector-list-item::before {
131
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
131
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
132
132
  }
133
133
  .gd-drill-metric-selector-list-item::before {
134
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/metric.svg");
134
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/metric.svg");
135
135
  top: 8px;
136
136
  height: 18px;
137
137
  }
138
138
  .gd-drill-attribute-selector-list-item::before {
139
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg");
139
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg");
140
140
  }
141
141
  .gd-drill-attribute-date-selector-list-item::before {
142
142
  top: 9px;
143
143
  height: 16px;
144
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg");
144
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg");
145
145
  }
146
146
  }
147
147
 
@@ -227,7 +227,7 @@
227
227
  display: block;
228
228
  width: 18px;
229
229
  height: 24px;
230
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/attribute-hierarchy.svg");
230
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/attribute-hierarchy.svg");
231
231
  background-repeat: no-repeat;
232
232
  background-position: left top;
233
233
  background-size: contain;
@@ -262,16 +262,16 @@
262
262
  }
263
263
 
264
264
  .dm-button-icon-metric {
265
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/metric.svg");
265
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/metric.svg");
266
266
  }
267
267
  .dm-button-icon-measure {
268
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
268
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/measure.svg");
269
269
  }
270
270
  .dm-button-icon-attribute {
271
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg");
271
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg");
272
272
  }
273
273
  .dm-button-icon-date {
274
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg");
274
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg");
275
275
  }
276
276
 
277
277
  .dm-button-title {
@@ -434,21 +434,21 @@
434
434
  }
435
435
 
436
436
  .gd-icon-drill-to-dashboard::before {
437
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/drill-to-dashboard.svg");
437
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/drill-to-dashboard.svg");
438
438
  }
439
439
 
440
440
  .gd-icon-drill-to-insight::before {
441
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/drill-to-insight.svg");
441
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/drill-to-insight.svg");
442
442
  }
443
443
 
444
444
  .gd-icon-drill-down::before {
445
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/drill-down.svg");
445
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/drill-down.svg");
446
446
  background-repeat: no-repeat;
447
447
  top: 1px;
448
448
  }
449
449
 
450
450
  .gd-icon-attribute-hierarchy::before {
451
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/attribute-hierarchy.svg");
451
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/attribute-hierarchy.svg");
452
452
  background-repeat: no-repeat;
453
453
  top: 1px;
454
454
  }
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  &::before {
38
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/trend-positive.svg") no-repeat center;
38
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/trend-positive.svg") no-repeat center;
39
39
  }
40
40
 
41
41
  &.is-selected {
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  &::before {
56
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/trend-negative.svg") no-repeat center;
56
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/trend-negative.svg") no-repeat center;
57
57
  }
58
58
 
59
59
  &.is-selected {
@@ -66,20 +66,20 @@
66
66
  }
67
67
 
68
68
  &.type-measure::before {
69
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/measure.svg") no-repeat center;
69
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/measure.svg") no-repeat center;
70
70
  }
71
71
 
72
72
  &.type-metric::before {
73
73
  margin-top: 0;
74
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/metric.svg") no-repeat center;
74
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/metric.svg") no-repeat center;
75
75
  }
76
76
 
77
77
  &.type-attribute::before {
78
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg") no-repeat center;
78
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/attribute.svg") no-repeat center;
79
79
  }
80
80
 
81
81
  &.type-date::before {
82
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg") no-repeat center;
82
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/date-dropdown.svg") no-repeat center;
83
83
  }
84
84
 
85
85
  &.type-comparison::before {
@@ -98,85 +98,87 @@
98
98
  }
99
99
  }
100
100
 
101
- .gd-icon-list {
102
- &::before {
103
- content: "";
104
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/list.svg") no-repeat center;
105
- width: 16px;
106
- height: 16px;
107
- display: inline-block;
101
+ .gd-list-item {
102
+ .gd-icon-list {
103
+ &::before {
104
+ content: "";
105
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/list.svg") no-repeat center;
106
+ width: 16px;
107
+ height: 16px;
108
+ display: inline-block;
109
+ }
108
110
  }
109
- }
110
- .gd-icon-save-as-new {
111
- &::before {
112
- content: "";
113
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/save-as-new.svg") no-repeat center;
114
- width: 16px;
115
- height: 16px;
116
- display: inline-block;
111
+ .gd-icon-save-as-new {
112
+ &::before {
113
+ content: "";
114
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/save-as-new.svg") no-repeat center;
115
+ width: 16px;
116
+ height: 16px;
117
+ display: inline-block;
118
+ }
117
119
  }
118
- }
119
- .gd-icon-filter {
120
- &::before {
121
- content: "";
122
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/filter.svg") no-repeat center;
123
- width: 16px;
124
- height: 16px;
125
- display: inline-block;
120
+ .gd-icon-filter {
121
+ &::before {
122
+ content: "";
123
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/filter.svg") no-repeat center;
124
+ width: 16px;
125
+ height: 16px;
126
+ display: inline-block;
127
+ }
126
128
  }
127
- }
128
- .gd-icon-type-pdf {
129
- &::before {
130
- content: "";
131
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-pdf.svg") no-repeat center;
132
- width: 16px;
133
- height: 16px;
134
- display: inline-block;
129
+ .gd-icon-type-pdf {
130
+ &::before {
131
+ content: "";
132
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-pdf.svg") no-repeat center;
133
+ width: 16px;
134
+ height: 16px;
135
+ display: inline-block;
136
+ }
135
137
  }
136
- }
137
- .gd-icon-type-sheet {
138
- &::before {
139
- content: "";
140
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-sheet.svg") no-repeat center;
141
- width: 16px;
142
- height: 16px;
143
- display: inline-block;
138
+ .gd-icon-type-sheet {
139
+ &::before {
140
+ content: "";
141
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-sheet.svg") no-repeat center;
142
+ width: 16px;
143
+ height: 16px;
144
+ display: inline-block;
145
+ }
144
146
  }
145
- }
146
- .gd-icon-type-slides {
147
- &::before {
148
- content: "";
149
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-slides.svg") no-repeat center;
150
- width: 16px;
151
- height: 16px;
152
- display: inline-block;
147
+ .gd-icon-type-slides {
148
+ &::before {
149
+ content: "";
150
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-slides.svg") no-repeat center;
151
+ width: 16px;
152
+ height: 16px;
153
+ display: inline-block;
154
+ }
153
155
  }
154
- }
155
- .gd-icon-type-image {
156
- &::before {
157
- content: "";
158
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-image.svg") no-repeat center;
159
- width: 16px;
160
- height: 16px;
161
- display: inline-block;
156
+ .gd-icon-type-image {
157
+ &::before {
158
+ content: "";
159
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-image.svg") no-repeat center;
160
+ width: 16px;
161
+ height: 16px;
162
+ display: inline-block;
163
+ }
162
164
  }
163
- }
164
- .gd-icon-type-csv-raw {
165
- &::before {
166
- content: "";
167
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-csv-raw.svg") no-repeat center;
168
- width: 16px;
169
- height: 16px;
170
- display: inline-block;
165
+ .gd-icon-type-csv-raw {
166
+ &::before {
167
+ content: "";
168
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-csv-raw.svg") no-repeat center;
169
+ width: 16px;
170
+ height: 16px;
171
+ display: inline-block;
172
+ }
171
173
  }
172
- }
173
- .gd-icon-type-csv-formatted {
174
- &::before {
175
- content: "";
176
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-csv-formatted.svg") no-repeat center;
177
- width: 16px;
178
- height: 16px;
179
- display: inline-block;
174
+ .gd-icon-type-csv-formatted {
175
+ &::before {
176
+ content: "";
177
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-csv-formatted.svg") no-repeat center;
178
+ width: 16px;
179
+ height: 16px;
180
+ display: inline-block;
181
+ }
180
182
  }
181
183
  }
182
184
 
@@ -143,22 +143,6 @@ $min-content-height: 110px;
143
143
  }
144
144
 
145
145
  .gd-attachment-list {
146
- display: flex;
147
- flex-direction: row;
148
- align-items: center;
149
- flex: 1;
150
- overflow: hidden;
151
- margin: -2px 0;
152
- flex-wrap: wrap;
153
- gap: 5px;
154
- scroll-margin-bottom: 40px;
155
-
156
- @media #{kit-variables.$small-only} {
157
- max-width: none;
158
- }
159
- }
160
-
161
- .gd-attachment-list-old {
162
146
  display: flex;
163
147
  flex-direction: row;
164
148
  align-items: end;
@@ -338,7 +322,6 @@ $min-content-height: 110px;
338
322
  display: flex;
339
323
  flex-direction: column;
340
324
  padding: 15px 10px;
341
- gap: var(--gd-spacing-10px);
342
325
  }
343
326
 
344
327
  .gd-attachment-settings-dropdown-footer {
@@ -464,7 +447,7 @@ $min-content-height: 110px;
464
447
  border: none;
465
448
  cursor: pointer;
466
449
 
467
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
450
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
468
451
  background-color: transparent;
469
452
  background-position: center center;
470
453
  }
@@ -914,74 +897,3 @@ $min-content-height: 110px;
914
897
  .gd-recurrence-form .gd-input-component .gd-label {
915
898
  min-width: unset;
916
899
  }
917
-
918
- .gd-attachment-type-label {
919
- display: inline-flex;
920
- gap: var(--gd-spacing-10px);
921
- align-items: center;
922
- margin-inline-start: 5px;
923
- }
924
-
925
- .gd-attachment-types-content {
926
- padding: var(--gd-spacing-10px);
927
- }
928
-
929
- .gd-attachment-type-item {
930
- padding: 3px 0;
931
- font-size: 12px;
932
- }
933
-
934
- .gd-attachment-chip {
935
- height: 27px;
936
- max-width: 245px;
937
- display: inline-flex;
938
- flex-direction: row;
939
- align-items: center;
940
- justify-content: center;
941
- box-sizing: border-box;
942
- position: relative;
943
- border-radius: 20px;
944
- padding-left: var(--gd-spacing-10px);
945
- font-size: 12px;
946
- border: 1px solid var(--gd-palette-complementary-4);
947
- background-color: var(--gd-palette-complementary-0);
948
- color: var(--gd-palette-complementary-7);
949
- &:has(.gd-attachment-chip-delete:hover) {
950
- background-color: var(--gd-palette-error-dimmed);
951
- color: var(--gd-palette-error-base);
952
- border: 1px solid var(--gd-palette-error-base-t85);
953
- }
954
- }
955
-
956
- .gd-attachment-chip-label {
957
- display: inline-flex;
958
- gap: var(--gd-spacing-5px);
959
- align-items: center;
960
- }
961
-
962
- .gd-attachment-chip-button {
963
- background: none;
964
- border: none;
965
- padding: 0;
966
- font: inherit;
967
- cursor: pointer;
968
- color: var(--gd-palette-complementary-6);
969
- display: grid;
970
- place-items: center;
971
- width: 27px;
972
- height: 100%;
973
- &:hover {
974
- color: var(--gd-palette-complementary-8);
975
- }
976
- }
977
-
978
- .gd-attachment-chip-delete {
979
- &:hover {
980
- color: var(--gd-palette-error-base);
981
- }
982
- }
983
-
984
- .gd-attachment-list-error {
985
- color: var(--gd-palette-error-base);
986
- font-size: 12px;
987
- }
@@ -1,4 +1,4 @@
1
- // (C) 2019-2025 GoodData Corporation
1
+ // (C) 2019-2020 GoodData Corporation
2
2
  .gd-powered-by-logo-wrapper {
3
3
  right: 0;
4
4
  bottom: 0;
@@ -23,14 +23,14 @@
23
23
  &-large {
24
24
  width: 165px;
25
25
  height: 30px;
26
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/powered-by-gd-large.svg?v=2022");
26
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/powered-by-gd-large.svg?v=2022");
27
27
  background-size: 165px 30px;
28
28
  }
29
29
 
30
30
  &-small {
31
31
  width: 146px;
32
32
  height: 16px;
33
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/powered-by-gd-small.svg?v=2022");
33
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/powered-by-gd-small.svg?v=2022");
34
34
  background-size: 146px 16px;
35
35
  }
36
36
  }
@@ -110,14 +110,12 @@
110
110
  flex-direction: column;
111
111
  align-items: stretch;
112
112
  gap: 10px;
113
- max-width: 260px;
113
+ max-width: 240px;
114
114
 
115
115
  &__image {
116
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/flexible-layouts-tooltip.gif");
117
- background-repeat: no-repeat;
118
- background-position: left top;
119
- background-size: contain;
120
- aspect-ratio: 44/27; // This needs to be updated if the image is ever changed
116
+ width: 100%;
117
+ aspect-ratio: 3/2;
118
+ background: fuchsia;
121
119
  }
122
120
 
123
121
  &__actions {
@@ -1,15 +0,0 @@
1
- import { AnyAction } from "@reduxjs/toolkit";
2
- import { IDashboardLayout, ScreenSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
3
- import { ExtendedDashboardWidget } from "../../types/layoutTypes.js";
4
- import { ILayoutItemPath } from "../../../types.js";
5
- import { IDashboardCommand } from "../../commands/index.js";
6
- /**
7
- * Builds actions for row container sanitization when moving items between layouts.
8
- *
9
- * If a container is being moved, we need to check if it has a row direction, and it is being moved to
10
- * a column layout. If yes, we need to change its direction to column. In any case, we need to check all
11
- * its children and find all the row containers and change their direction to column. We will also need to
12
- * update the width of all the children to match the moved container width.
13
- */
14
- export declare function buildRowContainerSanitizationActions(cmd: IDashboardCommand, rootLayout: IDashboardLayout<ExtendedDashboardWidget>, possibleContainer: IDashboardLayoutItem<ExtendedDashboardWidget>, fromItemIndex: ILayoutItemPath, toItemIndex: ILayoutItemPath, screen: ScreenSize): AnyAction[];
15
- //# sourceMappingURL=rowContainerSanitization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rowContainerSanitization.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/rowContainerSanitization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAqB,gBAAgB,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE5G,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAyF5D;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAChD,GAAG,EAAE,iBAAiB,EACtB,UAAU,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACrD,iBAAiB,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,EAChE,aAAa,EAAE,eAAe,EAC9B,WAAW,EAAE,eAAe,EAC5B,MAAM,EAAE,UAAU,GACnB,SAAS,EAAE,CA0Bb"}
@@ -1,82 +0,0 @@
1
- // (C) 2025 GoodData Corporation
2
- import { isDashboardLayout } from "@gooddata/sdk-model";
3
- import { getLayoutConfiguration, getContainerDirectionAtPath, } from "../../../_staging/dashboard/flexibleLayout/layoutConfiguration.js";
4
- import { getParentPath } from "../../../_staging/layout/coordinates.js";
5
- import { layoutActions } from "../../store/layout/index.js";
6
- import { getChildWidgetLayoutPaths, getUpdatedSizesOnly } from "./containerWidthSanitization.js";
7
- function findNestedRowContainers(container, containerLayoutPath) {
8
- if (!isDashboardLayout(container)) {
9
- return [];
10
- }
11
- return [
12
- // include itself if the container has a row direction
13
- ...(getLayoutConfiguration(container).direction === "row" ? [containerLayoutPath] : []),
14
- // process nested items and look for row containers
15
- ...container.sections.flatMap((section, sectionIndex) => section.items.flatMap((item, itemIndex) => {
16
- const currentPath = [...containerLayoutPath, { sectionIndex, itemIndex }];
17
- return item.widget && isDashboardLayout(item.widget)
18
- ? findNestedRowContainers(item.widget, currentPath)
19
- : [];
20
- })),
21
- ];
22
- }
23
- function mapChildrenWithNewWidth(rootLayout, container, containerLayoutPath, newWidth, screen) {
24
- if (!isDashboardLayout(container)) {
25
- return [];
26
- }
27
- const children = getChildWidgetLayoutPaths(container, containerLayoutPath, true);
28
- const childrenWithNewSize = children.map((itemPath) => ({
29
- itemPath,
30
- width: newWidth,
31
- }));
32
- return getUpdatedSizesOnly(rootLayout, childrenWithNewSize, screen);
33
- }
34
- function shouldChangeNestedContainersDirectionToColumn(rootLayout, item, targetItemIndex) {
35
- const targetParentPath = getParentPath(targetItemIndex);
36
- const targetLayoutDirection = getContainerDirectionAtPath(rootLayout, targetParentPath);
37
- return isDashboardLayout(item.widget) && targetLayoutDirection === "column";
38
- }
39
- function calculateRowContainerSanitization(rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen) {
40
- const changeNestedContainersDirectionToColumn = shouldChangeNestedContainersDirectionToColumn(rootLayout, possibleContainer, toItemIndex);
41
- if (!changeNestedContainersDirectionToColumn) {
42
- return {
43
- containersForDirectionChange: [],
44
- childrenWithNewWidth: [],
45
- };
46
- }
47
- const containersForDirectionChange = findNestedRowContainers(possibleContainer.widget, fromItemIndex);
48
- const newWidth = possibleContainer.size.xl.gridWidth;
49
- const childrenWithNewWidth = mapChildrenWithNewWidth(rootLayout, possibleContainer.widget, fromItemIndex, newWidth, screen);
50
- return {
51
- containersForDirectionChange,
52
- childrenWithNewWidth,
53
- };
54
- }
55
- /**
56
- * Builds actions for row container sanitization when moving items between layouts.
57
- *
58
- * If a container is being moved, we need to check if it has a row direction, and it is being moved to
59
- * a column layout. If yes, we need to change its direction to column. In any case, we need to check all
60
- * its children and find all the row containers and change their direction to column. We will also need to
61
- * update the width of all the children to match the moved container width.
62
- */
63
- export function buildRowContainerSanitizationActions(cmd, rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen) {
64
- const { containersForDirectionChange, childrenWithNewWidth } = calculateRowContainerSanitization(rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen);
65
- return [
66
- ...containersForDirectionChange.map((itemPath) => layoutActions.toggleLayoutDirection({
67
- layoutPath: itemPath,
68
- direction: "column",
69
- undo: {
70
- cmd,
71
- },
72
- })),
73
- ...(childrenWithNewWidth.length > 0
74
- ? [
75
- layoutActions.updateWidthOfMultipleItems({
76
- itemsWithSizes: childrenWithNewWidth,
77
- }),
78
- ]
79
- : []),
80
- ];
81
- }
82
- //# sourceMappingURL=rowContainerSanitization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rowContainerSanitization.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/rowContainerSanitization.ts"],"names":[],"mappings":"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"}
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { WidgetAttachmentType, DashboardAttachmentType, IExportDefinitionVisualizationObjectSettings } from "@gooddata/sdk-model";
3
- export declare function AttachmentsList<T extends WidgetAttachmentType | DashboardAttachmentType>({ attachments, onDelete, xlsxSettings, onXlsxSettingsChange, mode, }: {
4
- attachments: T[];
5
- onDelete: (attachment: T) => void;
6
- xlsxSettings: IExportDefinitionVisualizationObjectSettings;
7
- onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
8
- mode: "widget" | "dashboard";
9
- }): React.JSX.Element;
10
- //# sourceMappingURL=AttachmentsList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AttachmentsList.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,4CAA4C,EAC/C,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,eAAe,CAAC,CAAC,SAAS,oBAAoB,GAAG,uBAAuB,EAAE,EACtF,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,IAAI,GACP,EAAE;IACC,WAAW,EAAE,CAAC,EAAE,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,4CAA4C,CAAC;IAC3D,oBAAoB,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACvF,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;CAChC,qBAuHA"}
@@ -1,64 +0,0 @@
1
- // (C) 2025 GoodData Corporation
2
- import React, { useState } from "react";
3
- import { Button, ContentDivider, Dropdown, isEscapeKey, UiIcon } from "@gooddata/sdk-ui-kit";
4
- import { attachmentIcons, dashboardAttachmentLabels, widgetAttachmentLabels } from "./AttachmentsSelect.js";
5
- import { FormattedMessage, useIntl } from "react-intl";
6
- const DROPDOWN_ALIGN_POINTS = [
7
- {
8
- align: "bc tc",
9
- offset: { x: 0, y: 0 },
10
- },
11
- {
12
- align: "tc bc",
13
- offset: { x: 0, y: 0 },
14
- },
15
- ];
16
- const OVERLAY_POSITION_TYPE = "sameAsTarget";
17
- const CLOSE_ON_PARENT_SCROLL = true;
18
- export function AttachmentsList({ attachments, onDelete, xlsxSettings, onXlsxSettingsChange, mode, }) {
19
- const intl = useIntl();
20
- const [mergeHeaders, setMergeHeaders] = useState(xlsxSettings.mergeHeaders ?? true);
21
- const [exportInfo, setExportInfo] = useState(xlsxSettings.exportInfo ?? true);
22
- return (React.createElement(React.Fragment, null, attachments.map((attachment) => (React.createElement("div", { className: "gd-attachment-chip", key: attachment },
23
- React.createElement("span", { className: `gd-attachment-chip-label ${attachmentIcons[attachment]}` }, mode === "widget"
24
- ? widgetAttachmentLabels[attachment]
25
- : dashboardAttachmentLabels[attachment]),
26
- attachment === "XLSX" && (React.createElement(Dropdown, { closeOnParentScroll: CLOSE_ON_PARENT_SCROLL, overlayPositionType: OVERLAY_POSITION_TYPE, alignPoints: DROPDOWN_ALIGN_POINTS, autofocusOnOpen: true, renderButton: ({ toggleDropdown, buttonRef }) => (React.createElement("button", { className: "gd-attachment-chip-button", onClick: toggleDropdown, ref: buttonRef, "aria-label": intl.formatMessage({
27
- id: "dialogs.schedule.management.attachments.xlsx.settings",
28
- }) },
29
- React.createElement(UiIcon, { type: "settings", size: 14, color: "complementary-8" }))), renderBody: ({ closeDropdown }) => (React.createElement("div", { className: "gd-attachment-settings-dropdown", onKeyDown: (e) => {
30
- if (isEscapeKey(e)) {
31
- e.stopPropagation();
32
- closeDropdown();
33
- }
34
- } },
35
- React.createElement("div", { className: "gd-list-title" },
36
- React.createElement(FormattedMessage, { id: "dialogs.schedule.management.attachments.xlsx.settings" }),
37
- React.createElement("div", { className: "gd-close-button" },
38
- React.createElement(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross s-dialog-close-button", value: "", onClick: closeDropdown, accessibilityConfig: {
39
- ariaLabel: intl.formatMessage({ id: "close" }),
40
- } }))),
41
- React.createElement("div", { className: "gd-attachment-settings-dropdown-content" },
42
- React.createElement("label", { className: "input-checkbox-label" },
43
- React.createElement("input", { type: "checkbox", className: "input-checkbox", onChange: () => setMergeHeaders(!mergeHeaders), checked: mergeHeaders }),
44
- React.createElement("span", { className: "input-label-text" },
45
- React.createElement(FormattedMessage, { id: "dialogs.schedule.management.attachments.cells.merged" }))),
46
- React.createElement("label", { className: "input-checkbox-label" },
47
- React.createElement("input", { type: "checkbox", className: "input-checkbox", onChange: () => setExportInfo(!exportInfo), checked: exportInfo }),
48
- React.createElement("span", { className: "input-label-text" },
49
- React.createElement(FormattedMessage, { id: "dialogs.schedule.management.attachments.exportInfo" })))),
50
- React.createElement(ContentDivider, { className: "gd-divider-without-margin" }),
51
- React.createElement("div", { className: "gd-attachment-settings-dropdown-footer" },
52
- React.createElement(Button, { value: intl.formatMessage({ id: "cancel" }), className: "gd-button-secondary", onClick: closeDropdown }),
53
- React.createElement(Button, { value: intl.formatMessage({ id: "save" }), className: "gd-button-action", onClick: () => {
54
- onXlsxSettingsChange({
55
- mergeHeaders,
56
- exportInfo,
57
- });
58
- closeDropdown();
59
- } })))) })),
60
- React.createElement("button", { className: "gd-attachment-chip-button gd-attachment-chip-delete", onClick: () => onDelete(attachment) },
61
- React.createElement("svg", { width: "14", height: "14", viewBox: "0 0 20 20", "aria-hidden": "true", fill: "currentColor" },
62
- React.createElement("path", { d: "M10.7031 10.0049L16.3574 15.6494C16.4551 15.7471 16.5039 15.8643 16.5039 16.001C16.5039 16.1377 16.4551 16.2549 16.3574 16.3525C16.3053 16.4046 16.2467 16.4437 16.1816 16.4697C16.123 16.4893 16.0612 16.499 15.9961 16.499C15.9375 16.499 15.8757 16.4893 15.8105 16.4697C15.752 16.4437 15.6966 16.4046 15.6445 16.3525L10 10.708L4.35547 16.3525C4.30339 16.4046 4.24479 16.4437 4.17969 16.4697C4.12109 16.4893 4.0625 16.499 4.00391 16.499C3.9388 16.499 3.8737 16.4893 3.80859 16.4697C3.75 16.4437 3.69466 16.4046 3.64258 16.3525C3.54492 16.2549 3.49609 16.1377 3.49609 16.001C3.49609 15.8643 3.54492 15.7471 3.64258 15.6494L9.29688 10.0049L3.64258 4.35059C3.54492 4.25293 3.49609 4.13574 3.49609 3.99902C3.49609 3.8623 3.54492 3.74512 3.64258 3.64746C3.74023 3.5498 3.85742 3.50098 3.99414 3.50098C4.13737 3.50098 4.25781 3.5498 4.35547 3.64746L10 9.29199L15.6445 3.64746C15.7422 3.5498 15.8594 3.50098 15.9961 3.50098C16.1393 3.50098 16.2598 3.5498 16.3574 3.64746C16.4551 3.74512 16.5039 3.8623 16.5039 3.99902C16.5039 4.13574 16.4551 4.25293 16.3574 4.35059L10.7031 10.0049Z" }))))))));
63
- }
64
- //# sourceMappingURL=AttachmentsList.js.map