@gooddata/sdk-ui-dashboard 10.33.0-alpha.39 → 10.33.0-alpha.4

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 (192) hide show
  1. package/NOTICE +10148 -880
  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 +6 -0
  30. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  31. package/esm/model/store/config/configSelectors.js +8 -0
  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/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.d.ts.map +1 -1
  38. package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js +11 -6
  39. package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js.map +1 -1
  40. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  41. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +3 -2
  42. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  43. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  44. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +1 -2
  45. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  46. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
  47. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +1 -2
  48. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  49. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
  50. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +1 -14
  51. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
  52. package/esm/presentation/localization/bundles/de-DE.json +1 -8
  53. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -7
  54. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  55. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +1 -8
  56. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
  57. package/esm/presentation/localization/bundles/en-AU.json +1 -8
  58. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -7
  59. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  60. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +1 -8
  61. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
  62. package/esm/presentation/localization/bundles/en-GB.json +1 -8
  63. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -7
  64. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  65. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +1 -8
  66. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
  67. package/esm/presentation/localization/bundles/en-US.json +5 -0
  68. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +5 -0
  69. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  70. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +5 -0
  71. package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
  72. package/esm/presentation/localization/bundles/es-419.json +1 -8
  73. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -7
  74. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  75. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +1 -8
  76. package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
  77. package/esm/presentation/localization/bundles/es-ES.json +1 -8
  78. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -7
  79. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  80. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +1 -8
  81. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
  82. package/esm/presentation/localization/bundles/fi-FI.json +1 -8
  83. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -7
  84. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  85. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +1 -8
  86. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
  87. package/esm/presentation/localization/bundles/fr-CA.json +1 -8
  88. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -7
  89. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  90. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +1 -8
  91. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
  92. package/esm/presentation/localization/bundles/fr-FR.json +1 -8
  93. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -7
  94. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  95. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +1 -8
  96. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
  97. package/esm/presentation/localization/bundles/it-IT.json +1 -8
  98. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -7
  99. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  100. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +1 -8
  101. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
  102. package/esm/presentation/localization/bundles/ja-JP.json +1 -8
  103. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -7
  104. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  105. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +1 -8
  106. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
  107. package/esm/presentation/localization/bundles/ko-KR.json +1 -8
  108. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -7
  109. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  110. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +1 -8
  111. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
  112. package/esm/presentation/localization/bundles/nl-NL.json +1 -8
  113. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -7
  114. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  115. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +1 -8
  116. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
  117. package/esm/presentation/localization/bundles/pl-PL.json +1 -8
  118. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -7
  119. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  120. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +1 -8
  121. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
  122. package/esm/presentation/localization/bundles/pt-BR.json +1 -8
  123. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -7
  124. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  125. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +1 -8
  126. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
  127. package/esm/presentation/localization/bundles/pt-PT.json +1 -8
  128. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -7
  129. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  130. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +1 -8
  131. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
  132. package/esm/presentation/localization/bundles/ru-RU.json +1 -8
  133. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -7
  134. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  135. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +1 -8
  136. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
  137. package/esm/presentation/localization/bundles/tr-TR.json +1 -8
  138. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -7
  139. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  140. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +1 -8
  141. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
  142. package/esm/presentation/localization/bundles/zh-HK.json +1 -8
  143. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -7
  144. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  145. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +1 -8
  146. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
  147. package/esm/presentation/localization/bundles/zh-Hans.json +1 -8
  148. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -7
  149. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  150. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +1 -8
  151. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
  152. package/esm/presentation/localization/bundles/zh-Hant.json +1 -8
  153. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -7
  154. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  155. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +1 -8
  156. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
  157. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts.map +1 -1
  158. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js +2 -13
  159. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js.map +1 -1
  160. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  161. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +3 -12
  162. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  163. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -1
  164. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +3 -3
  165. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -1
  166. package/esm/sdk-ui-dashboard.d.ts +7 -0
  167. package/package.json +18 -17
  168. package/styles/css/attributeFilterConfig.css +1 -1
  169. package/styles/css/dashboard.css +3 -6
  170. package/styles/css/dashboard.css.map +1 -1
  171. package/styles/css/dragAndDrop.css +7 -8
  172. package/styles/css/dragAndDrop.css.map +1 -1
  173. package/styles/css/drillConfigPanel.css +14 -14
  174. package/styles/css/icons.css +15 -15
  175. package/styles/css/main.css +56 -60
  176. package/styles/css/main.css.map +1 -1
  177. package/styles/css/notifications_channels_dialog.css +1 -1
  178. package/styles/css/poweredByGDLogo.css +2 -2
  179. package/styles/css/sidebar.css +1 -1
  180. package/styles/scss/attributeFilterConfig.scss +1 -1
  181. package/styles/scss/dashboard.scss +2 -5
  182. package/styles/scss/dragAndDrop.scss +8 -8
  183. package/styles/scss/drillConfigPanel.scss +14 -14
  184. package/styles/scss/icons.scss +15 -15
  185. package/styles/scss/notifications_channels_dialog.scss +1 -1
  186. package/styles/scss/poweredByGDLogo.scss +3 -3
  187. package/styles/scss/sidebar.scss +1 -1
  188. package/esm/assets/flexible-layouts-tooltip.gif +0 -0
  189. package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts +0 -15
  190. package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts.map +0 -1
  191. package/esm/model/commandHandlers/layout/rowContainerSanitization.js +0 -82
  192. package/esm/model/commandHandlers/layout/rowContainerSanitization.js.map +0 -1
@@ -179,15 +179,15 @@
179
179
 
180
180
  .add-kpi-placeholder::before,
181
181
  .move-kpi-placeholder::before {
182
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/add-kpi-placeholder.svg");
183
- }
184
-
185
- .add-attribute-filter-placeholder.disabled::before {
186
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/add-attribute-filter-placeholder-disabled.svg");
182
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/add-kpi-placeholder.svg");
187
183
  }
188
184
 
189
185
  .add-attribute-filter-placeholder::before {
190
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/add-attribute-filter-placeholder.svg");
186
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/add-attribute-filter-placeholder.svg");
187
+
188
+ &:disabled {
189
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/add-attribute-filter-placeholder-disabled.svg");
190
+ }
191
191
  }
192
192
 
193
193
  .dropzone {
@@ -441,7 +441,7 @@
441
441
 
442
442
  .gd-icon-insight {
443
443
  &::before {
444
- content: url("@gooddata/sdk-ui-dashboard/esm/assets/add-insight-placeholder.svg");
444
+ content: url("~@gooddata/sdk-ui-dashboard/esm/assets/add-insight-placeholder.svg");
445
445
  display: inline-block;
446
446
  margin-right: 10px;
447
447
  }
@@ -561,7 +561,7 @@
561
561
  cursor: pointer;
562
562
 
563
563
  &.select-measure {
564
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/dummy-kpi-simple.svg") no-repeat center center;
564
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/dummy-kpi-simple.svg") no-repeat center center;
565
565
  background-size: 130px;
566
566
  }
567
567
  }
@@ -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 {
@@ -102,7 +102,7 @@
102
102
  .gd-icon-list {
103
103
  &::before {
104
104
  content: "";
105
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/list.svg") no-repeat center;
105
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/list.svg") no-repeat center;
106
106
  width: 16px;
107
107
  height: 16px;
108
108
  display: inline-block;
@@ -111,7 +111,7 @@
111
111
  .gd-icon-save-as-new {
112
112
  &::before {
113
113
  content: "";
114
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/save-as-new.svg") no-repeat center;
114
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/save-as-new.svg") no-repeat center;
115
115
  width: 16px;
116
116
  height: 16px;
117
117
  display: inline-block;
@@ -120,7 +120,7 @@
120
120
  .gd-icon-filter {
121
121
  &::before {
122
122
  content: "";
123
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/filter.svg") no-repeat center;
123
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/filter.svg") no-repeat center;
124
124
  width: 16px;
125
125
  height: 16px;
126
126
  display: inline-block;
@@ -129,7 +129,7 @@
129
129
  .gd-icon-type-pdf {
130
130
  &::before {
131
131
  content: "";
132
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-pdf.svg") no-repeat center;
132
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-pdf.svg") no-repeat center;
133
133
  width: 16px;
134
134
  height: 16px;
135
135
  display: inline-block;
@@ -138,7 +138,7 @@
138
138
  .gd-icon-type-sheet {
139
139
  &::before {
140
140
  content: "";
141
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-sheet.svg") no-repeat center;
141
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-sheet.svg") no-repeat center;
142
142
  width: 16px;
143
143
  height: 16px;
144
144
  display: inline-block;
@@ -147,7 +147,7 @@
147
147
  .gd-icon-type-slides {
148
148
  &::before {
149
149
  content: "";
150
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-slides.svg") no-repeat center;
150
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-slides.svg") no-repeat center;
151
151
  width: 16px;
152
152
  height: 16px;
153
153
  display: inline-block;
@@ -156,7 +156,7 @@
156
156
  .gd-icon-type-image {
157
157
  &::before {
158
158
  content: "";
159
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-image.svg") no-repeat center;
159
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-image.svg") no-repeat center;
160
160
  width: 16px;
161
161
  height: 16px;
162
162
  display: inline-block;
@@ -165,7 +165,7 @@
165
165
  .gd-icon-type-csv-raw {
166
166
  &::before {
167
167
  content: "";
168
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-csv-raw.svg") no-repeat center;
168
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-csv-raw.svg") no-repeat center;
169
169
  width: 16px;
170
170
  height: 16px;
171
171
  display: inline-block;
@@ -174,7 +174,7 @@
174
174
  .gd-icon-type-csv-formatted {
175
175
  &::before {
176
176
  content: "";
177
- background: url("@gooddata/sdk-ui-dashboard/esm/assets/type-csv-formatted.svg") no-repeat center;
177
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/type-csv-formatted.svg") no-repeat center;
178
178
  width: 16px;
179
179
  height: 16px;
180
180
  display: inline-block;
@@ -447,7 +447,7 @@ $min-content-height: 110px;
447
447
  border: none;
448
448
  cursor: pointer;
449
449
 
450
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
450
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
451
451
  background-color: transparent;
452
452
  background-position: center center;
453
453
  }
@@ -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
  }
@@ -113,7 +113,7 @@
113
113
  max-width: 260px;
114
114
 
115
115
  &__image {
116
- background-image: url("@gooddata/sdk-ui-dashboard/esm/assets/flexible-layouts-tooltip.gif");
116
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/flexible-layouts-tooltip.gif");
117
117
  background-repeat: no-repeat;
118
118
  background-position: left top;
119
119
  background-size: contain;
@@ -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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"}