@gooddata/sdk-ui-dashboard 10.14.0-alpha.8 → 10.14.0-beta.0

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 (144) hide show
  1. package/NOTICE +3 -3
  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/model/store/config/configSelectors.js +1 -1
  7. package/esm/model/store/config/configSelectors.js.map +1 -1
  8. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  9. package/esm/model/store/layout/layoutSelectors.js +18 -6
  10. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  11. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
  12. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +13 -6
  13. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
  14. package/esm/presentation/constants/layout.d.ts +1 -0
  15. package/esm/presentation/constants/layout.d.ts.map +1 -1
  16. package/esm/presentation/constants/layout.js +1 -1
  17. package/esm/presentation/constants/layout.js.map +1 -1
  18. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
  19. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
  20. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
  21. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
  22. package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
  23. package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
  24. package/esm/presentation/flexibleLayout/DashboardLayout.d.ts +7 -0
  25. package/esm/presentation/flexibleLayout/DashboardLayout.d.ts.map +1 -0
  26. package/esm/presentation/flexibleLayout/DashboardLayout.js +11 -0
  27. package/esm/presentation/flexibleLayout/DashboardLayout.js.map +1 -0
  28. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  29. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +2 -2
  30. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  31. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  32. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +14 -17
  33. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  34. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
  35. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +8 -5
  36. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  37. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  38. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +1 -2
  39. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  40. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  41. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +2 -4
  42. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  43. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
  44. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +5 -4
  45. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
  46. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +2 -1
  47. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  48. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +3 -2
  49. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  50. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  51. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +9 -4
  52. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
  53. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
  54. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +3 -5
  55. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
  56. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  57. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +2 -12
  58. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  59. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
  60. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +3 -5
  61. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  62. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +39 -0
  63. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -0
  64. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +63 -0
  65. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -0
  66. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +2 -0
  67. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +1 -0
  68. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +3 -0
  69. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +1 -0
  70. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +20 -14
  71. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  72. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +4 -0
  73. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +1 -0
  74. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +34 -0
  75. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +1 -0
  76. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
  77. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  78. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +4 -4
  79. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  80. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +10 -2
  81. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  82. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +19 -5
  83. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  84. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  85. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +4 -4
  86. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  87. package/esm/presentation/flexibleLayout/index.d.ts +1 -0
  88. package/esm/presentation/flexibleLayout/index.d.ts.map +1 -1
  89. package/esm/presentation/flexibleLayout/index.js +1 -0
  90. package/esm/presentation/flexibleLayout/index.js.map +1 -1
  91. package/esm/presentation/flexibleLayout/types.d.ts +5 -1
  92. package/esm/presentation/flexibleLayout/types.d.ts.map +1 -1
  93. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.d.ts +1 -1
  94. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.d.ts.map +1 -1
  95. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.js +26 -12
  96. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.js.map +1 -1
  97. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +2 -1
  98. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
  99. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +2 -2
  100. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
  101. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +2 -1
  102. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -1
  103. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +11 -3
  104. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -1
  105. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js +5 -2
  106. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js.map +1 -1
  107. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +1 -0
  108. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
  109. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +3 -1
  110. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
  111. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +1 -1
  112. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
  113. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +43 -4
  114. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -1
  115. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
  116. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +2 -2
  117. package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
  118. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  119. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +8 -3
  120. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  121. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -1
  122. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js +11 -2
  123. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js.map +1 -1
  124. package/esm/presentation/widget/widget/types.d.ts +7 -1
  125. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  126. package/esm/sdk-ui-dashboard.d.ts +6 -0
  127. package/package.json +15 -15
  128. package/styles/css/alerting.css +7 -3
  129. package/styles/css/alerting.css.map +1 -1
  130. package/styles/css/dashboard.css +80 -287
  131. package/styles/css/dashboard.css.map +1 -1
  132. package/styles/css/dragAndDrop.css +5 -0
  133. package/styles/css/dragAndDrop.css.map +1 -1
  134. package/styles/css/layout.css +111 -0
  135. package/styles/css/layout.css.map +1 -1
  136. package/styles/css/main.css +99 -291
  137. package/styles/css/main.css.map +1 -1
  138. package/styles/css/visualization.css +7 -1
  139. package/styles/css/visualization.css.map +1 -1
  140. package/styles/scss/alerting.scss +7 -3
  141. package/styles/scss/dashboard.scss +12 -1
  142. package/styles/scss/dragAndDrop.scss +8 -0
  143. package/styles/scss/layout.scss +77 -0
  144. package/styles/scss/visualization.scss +10 -2
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardWidget.js","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAa,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,6BAA6B,GAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,GAC3B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,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AAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,EAC1C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;QACN,CAAC;aAAM,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,YAAY,GAAG,CACX,oBAAC,sCAAsC,IACnC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;QACN,CAAC;aAAM,IAAI,6BAA6B,CAAC,MAAM,CAAC,EAAE,CAAC;YAC/C,YAAY,GAAG,CACX,oBAAC,mDAAmD,IAChD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;QACN,CAAC;QAED,OAAO,oBAAC,eAAe,IAAC,OAAO,EAAE,mBAAmB,IAAG,YAAY,CAAmB,CAAC;IAC3F,CAAC;IAED,OAAO,kDAAyB,CAAC;AACrC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"DefaultDashboardWidget.js","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/DefaultDashboardWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAa,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,6BAA6B,EAC7B,iBAAiB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EACH,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAA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AAC;YAC1B,YAAY,GAAG,CACX,oBAAC,qCAAqC,IAClC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;QACN,CAAC;aAAM,IAAI,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7B,YAAY,GAAG,CACX,oBAAC,yBAAyB,IACtB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,EAC1C,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,OAAO,GAClB,CACL,CAAC;QACN,CAAC;aAAM,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,YAAY,GAAG,CACX,oBAAC,sCAAsC,IACnC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;QACN,CAAC;aAAM,IAAI,6BAA6B,CAAC,MAAM,CAAC,EAAE,CAAC;YAC/C,YAAY,GAAG,CACX,oBAAC,mDAAmD,IAChD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;QACN,CAAC;QAED,OAAO,oBAAC,eAAe,IAAC,OAAO,EAAE,mBAAmB,IAAG,YAAY,CAAmB,CAAC;IAC3F,CAAC;SAAM,IAAI,uBAAuB,IAAI,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9D,OAAO,CACH,oBAAC,eAAe,IACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,GAC5C,CACL,CAAC;IACN,CAAC;IAED,OAAO,kDAAyB,CAAC;AACrC,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertingAndScheduling.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAO/D,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ9F,KAAK,8BAA8B,GAAG;IAClC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,6BAA6B,EAAE,MAAM,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,wBAAwB,wDAIlC,8BAA8B;uBACV,OAAO;sBACR,OAAO;;4BAED,OAAO;sCACG,OAAO;;CAqD5C,CAAC"}
1
+ {"version":3,"file":"useAlertingAndScheduling.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ9F,KAAK,8BAA8B,GAAG;IAClC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,6BAA6B,EAAE,MAAM,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,wBAAwB,wDAIlC,8BAA8B;uBACV,OAAO;sBACR,OAAO;;4BAED,OAAO;sCACG,OAAO;;CA8D5C,CAAC"}
@@ -1,9 +1,14 @@
1
1
  // (C) 2024 GoodData Corporation
2
- import { useDashboardSelector, selectSettings, isCustomWidget, selectIsReadOnly, } from "../../../../model/index.js";
2
+ import { useDashboardSelector, selectSettings, isCustomWidget, selectIsReadOnly, selectCanManageWorkspace, } from "../../../../model/index.js";
3
3
  import { isInsightAlertingConfigurationEnabled, isInsightScheduledExportsConfigurationEnabled, isInsightSupportedForAlerts, isInsightSupportedForScheduledExports, } from "@gooddata/sdk-ui-ext";
4
4
  export const useAlertingAndScheduling = ({ widget, insight, numberOfAvailableDestinations, }) => {
5
5
  const settings = useDashboardSelector(selectSettings);
6
6
  const isReadOnly = useDashboardSelector(selectIsReadOnly);
7
+ const isWorkspaceManager = useDashboardSelector(selectCanManageWorkspace);
8
+ /**
9
+ * We want to hide automations when there are no destinations unless the user is admin.
10
+ */
11
+ const showDueToNumberOfAvailableDestinations = numberOfAvailableDestinations > 0 || isWorkspaceManager;
7
12
  const isStandardWidget = !isCustomWidget(widget);
8
13
  const hasNoDestinations = numberOfAvailableDestinations === 0;
9
14
  //NOTE: Check if widget has localIdentifier, if not that is probably widget from old dashboard
@@ -12,7 +17,11 @@ export const useAlertingAndScheduling = ({ widget, insight, numberOfAvailableDes
12
17
  const isAlertingEnabled = settings.enableAlerting === true;
13
18
  const isInsightTypeSupportedForAlerting = isInsightSupportedForAlerts(insight);
14
19
  const isInsightEnabledForAlerting = isInsightAlertingConfigurationEnabled(insight);
15
- const isAlertingVisible = isAlertingEnabled && isStandardWidget && isInsightTypeSupportedForAlerting && !isReadOnly;
20
+ const isAlertingVisible = isAlertingEnabled &&
21
+ isStandardWidget &&
22
+ isInsightTypeSupportedForAlerting &&
23
+ !isReadOnly &&
24
+ showDueToNumberOfAvailableDestinations;
16
25
  const alertingDisabled = hasNoDestinations || !isInsightEnabledForAlerting || widgetHasNoLocalIdentifier;
17
26
  let alertingDisabledReason = undefined;
18
27
  if (widgetHasNoLocalIdentifier) {
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertingAndScheduling.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,gBAAgB,GACnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,qCAAqC,EACrC,6CAA6C,EAC7C,2BAA2B,EAC3B,qCAAqC,GACxC,MAAM,sBAAsB,CAAC;AAQ9B,MAAM,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AAC,6BAA6B;QAC9B,0BAA0B,CAAC;IAC/B,MAAM,gCAAgC,GAAG,CAAC,gBAAgB,CAAC;IAC3D,IAAI,4BAA4B,GAAyC,SAAS,CAAC;IACnF,IAAI,0BAA0B,EAAE,CAAC;QAC7B,4BAA4B,GAAG,WAAW,CAAC;IAC/C,CAAC;SAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC3B,4BAA4B,GAAG,oBAAoB,CAAC;IACxD,CAAC;SAAM,IAAI,CAAC,6BAA6B,IAAI,CAAC,mCAAmC,EAAE,CAAC;QAChF,4BAA4B,GAAG,mBAAmB,CAAC;IACvD,CAAC;IAED,OAAO;QACH,iBAAiB;QACjB,gBAAgB;QAChB,sBAAsB;QACtB,sBAAsB;QACtB,gCAAgC;QAChC,4BAA4B;KAC/B,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useAlertingAndScheduling.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,wBAAwB,GAC3B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,qCAAqC,EACrC,6CAA6C,EAC7C,2BAA2B,EAC3B,qCAAqC,GACxC,MAAM,sBAAsB,CAAC;AAQ9B,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACrC,MAAM,EACN,OAAO,EACP,6BAA6B,GACA,EAO/B,EAAE;IACA,MAAM,QAAQ,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACtD,MAAM,UAAU,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IAC1D,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;IAE1E;;OAEG;IACH,MAAM,sCAAsC,GAAG,6BAA6B,GAAG,CAAC,IAAI,kBAAkB,CAAC;IACvG,MAAM,gBAAgB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IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC3B,4BAA4B,GAAG,oBAAoB,CAAC;IACxD,CAAC;SAAM,IAAI,CAAC,6BAA6B,IAAI,CAAC,mCAAmC,EAAE,CAAC;QAChF,4BAA4B,GAAG,mBAAmB,CAAC;IACvD,CAAC;IAED,OAAO;QACH,iBAAiB;QACjB,gBAAgB;QAChB,sBAAsB;QACtB,sBAAsB;QACtB,gCAAgC;QAChC,4BAA4B;KAC/B,CAAC;AACN,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { ComponentType } from "react";
2
2
  import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
3
3
  import { IErrorProps, ILoadingProps, OnError } from "@gooddata/sdk-ui";
4
+ import { ObjRef, ObjRefInScope, FilterContextItem, ScreenSize, IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
4
5
  import { IDashboardFilter, OnFiredDashboardDrillEvent } from "../../../types.js";
5
- import { ObjRef, ObjRefInScope, FilterContextItem, ScreenSize } from "@gooddata/sdk-model";
6
6
  import { ExtendedDashboardWidget } from "../../../model/index.js";
7
7
  /**
8
8
  * Dashboard widget props.
@@ -39,6 +39,12 @@ export interface IDashboardWidgetProps {
39
39
  * @public
40
40
  */
41
41
  widget?: ExtendedDashboardWidget;
42
+ /**
43
+ * The size of layout item in which the item is nested. Undefined, when item is in the root layout.
44
+ *
45
+ * @alpha
46
+ */
47
+ parentLayoutItemSize?: IDashboardLayoutSizeByScreenSize;
42
48
  /**
43
49
  * Specify date data set to use when passing dashboard date filter to rendered visualization.
44
50
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,k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EAAE,OAAO,KAAK,IAAI,CAAC;IAErG;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAE7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAMD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC"}
@@ -9637,6 +9637,12 @@ export declare interface IDashboardWidgetProps {
9637
9637
  * @public
9638
9638
  */
9639
9639
  widget?: ExtendedDashboardWidget;
9640
+ /**
9641
+ * The size of layout item in which the item is nested. Undefined, when item is in the root layout.
9642
+ *
9643
+ * @alpha
9644
+ */
9645
+ parentLayoutItemSize?: IDashboardLayoutSizeByScreenSize;
9640
9646
  /**
9641
9647
  * Specify date data set to use when passing dashboard date filter to rendered visualization.
9642
9648
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.14.0-alpha.8",
3
+ "version": "10.14.0-beta.0",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "ts-invariant": "^0.7.5",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2",
60
- "@gooddata/sdk-backend-base": "10.14.0-alpha.8",
61
- "@gooddata/sdk-backend-spi": "10.14.0-alpha.8",
62
- "@gooddata/sdk-ui": "10.14.0-alpha.8",
63
- "@gooddata/sdk-model": "10.14.0-alpha.8",
64
- "@gooddata/sdk-ui-ext": "10.14.0-alpha.8",
65
- "@gooddata/sdk-ui-filters": "10.14.0-alpha.8",
66
- "@gooddata/sdk-ui-geo": "10.14.0-alpha.8",
67
- "@gooddata/sdk-ui-kit": "10.14.0-alpha.8",
68
- "@gooddata/sdk-ui-theme-provider": "10.14.0-alpha.8",
69
- "@gooddata/sdk-ui-vis-commons": "10.14.0-alpha.8",
70
- "@gooddata/util": "10.14.0-alpha.8"
60
+ "@gooddata/sdk-backend-spi": "10.14.0-beta.0",
61
+ "@gooddata/sdk-backend-base": "10.14.0-beta.0",
62
+ "@gooddata/sdk-model": "10.14.0-beta.0",
63
+ "@gooddata/sdk-ui": "10.14.0-beta.0",
64
+ "@gooddata/sdk-ui-filters": "10.14.0-beta.0",
65
+ "@gooddata/sdk-ui-ext": "10.14.0-beta.0",
66
+ "@gooddata/sdk-ui-geo": "10.14.0-beta.0",
67
+ "@gooddata/sdk-ui-kit": "10.14.0-beta.0",
68
+ "@gooddata/sdk-ui-theme-provider": "10.14.0-beta.0",
69
+ "@gooddata/sdk-ui-vis-commons": "10.14.0-beta.0",
70
+ "@gooddata/util": "10.14.0-beta.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -120,9 +120,9 @@
120
120
  "typescript": "5.3.3",
121
121
  "vitest": "1.0.4",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/i18n-toolkit": "10.14.0-alpha.8",
124
- "@gooddata/reference-workspace": "10.14.0-alpha.8",
125
- "@gooddata/sdk-backend-mockingbird": "10.14.0-alpha.8"
123
+ "@gooddata/i18n-toolkit": "10.14.0-beta.0",
124
+ "@gooddata/reference-workspace": "10.14.0-beta.0",
125
+ "@gooddata/sdk-backend-mockingbird": "10.14.0-beta.0"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -295,7 +295,7 @@
295
295
  }
296
296
 
297
297
  .gd-alert-attribute-select__menu-item_wrapper {
298
- padding: 2px 10px !important;
298
+ padding: 5px 10px !important;
299
299
  }
300
300
  .gd-alert-attribute-select__menu-item_wrapper::before {
301
301
  content: none !important;
@@ -305,9 +305,13 @@
305
305
  font-weight: 700;
306
306
  }
307
307
 
308
+ .gd-alert-attribute-select__submenu-content {
309
+ min-width: 200px;
310
+ }
311
+
308
312
  .gd-alert-attribute-select__menu-item_search {
309
313
  font-size: 13px;
310
- margin: 5px 10px 5px 10px;
314
+ margin: 5px 10px 10px 10px;
311
315
  width: auto;
312
316
  }
313
317
 
@@ -319,7 +323,7 @@
319
323
  }
320
324
 
321
325
  .gd-alert-attribute-select__menu-item__values {
322
- max-height: 80vh;
326
+ max-height: 375px;
323
327
  overflow-y: auto;
324
328
  }
325
329
 
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AC3CJ;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAKZ;EACI;EACA;EACA;EACA;EACA,OCtCmB;;;AD4CvB;EACI;EACA;EACA;EACA;;AAEA;EACI,kBCmCgB;;ADhCpB;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCkBoB;EDjBpB;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBCzCkB;;;AD6C1B;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OCvFY;EDwFZ;;;AAGJ;EACI;EACA;EACA,OCrGmB;EDsGnB;EACA;;;AAMJ;EACI;EACA;EACA,OCzGY;ED0GZ;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA,OC/HY;;ADiIZ;EACI;;;AAIR;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI,OCvKmB;;;AD0KvB;EACI;;AAEA;EACI;EACA;;;AAOR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI,OC3LY;ED4LZ;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAOA;EACI;EACA;EACA;;;AAOR;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;;AAEJ;EACI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;AAEA;AAAA;EACI;;;AAIR;EACI;;;AAGJ;EACI;;;AAGJ;EAEI;;AAEA;EAEI;;AAGJ;EACI,OCnQkB;EDoQlB;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;;;AAIA;EAEI;EAEA;;AAGJ;EACI;;;AAKJ;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBChQe;;ADmQnB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OC7YY;ED8YZ,kBC7VkB","file":"alerting.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;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;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;;;AAIA;EAEI;EAEA;;AAGJ;EACI;;;AAKJ;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBCpQe;;ADuQnB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OCjZY;EDkZZ,kBCjWkB","file":"alerting.css"}
@@ -422,328 +422,115 @@
422
422
  color: var(--gd-palette-complementary-6, #94a1ad);
423
423
  }
424
424
 
425
- .gd-fluidlayout-container {
426
- width: 100%;
427
- }
428
- .gd-fluidlayout-container .visualization {
429
- display: flex;
430
- flex: 1 1 auto;
431
- flex-direction: column;
432
- }
433
- .gd-fluidlayout-container .dash-item {
434
- max-width: 100%;
435
- height: 100%;
436
- max-height: 100%;
437
- min-height: inherit;
425
+ .gd-grid-layout {
438
426
  flex-direction: column;
439
427
  }
440
- .gd-fluidlayout-container.is-resizing {
441
- cursor: col-resize;
442
- }
443
- .gd-fluidlayout-container.is-row-resizing {
444
- cursor: row-resize;
445
- }
446
428
 
447
- .gd-fluidlayout-layout {
448
- width: 100%;
429
+ .gd-grid-layout__container--root {
430
+ display: grid;
431
+ grid-template-columns: repeat(12, 1fr);
432
+ grid-auto-rows: min-content;
433
+ flex-grow: 1;
449
434
  }
450
435
 
451
- .gd-fluidlayout-column-container {
452
- width: 100%;
453
- height: 100%;
454
- }
455
- @media only screen and (max-width: 320px) {
456
- .gd-fluidlayout-column-container {
457
- flex-direction: column;
458
- }
459
- .gd-fluidlayout-column-container::after {
460
- content: "";
461
- position: absolute;
462
- right: 10px;
463
- bottom: 5px;
464
- left: 10px;
465
- height: 0;
466
- border-bottom: 1px dashed var(--gd-palette-complementary-5, #b0beca);
467
- }
468
- .gd-fluidlayout-column-container.last::after {
469
- display: none;
470
- }
436
+ .gd-grid-layout__container--nested {
437
+ display: grid;
438
+ grid-template-columns: subgrid;
471
439
  }
472
440
 
473
- .gd-fluidlayout-column-container.custom-height .kpi {
474
- min-height: 100%;
475
- }
476
- .gd-fluidlayout-column-container.custom-height .gd-visualization-content {
477
- position: absolute;
478
- width: 100%;
479
- height: 100%;
441
+ .gd-grid-layout__section {
442
+ display: grid;
443
+ grid-template-columns: subgrid;
480
444
  }
481
445
 
482
- .gd-fluidlayout-row {
483
- position: relative;
446
+ .gd-grid-layout__item--span-1 {
447
+ grid-column: span 1;
484
448
  }
485
449
 
486
- .gd-fluidlayout-row-debug {
487
- background-color: #fff;
488
- }
489
- .gd-fluidlayout-row-debug:nth-of-type(even) {
490
- color: #f2f2f2;
450
+ .gd-grid-layout__item--span-2 {
451
+ grid-column: span 2;
491
452
  }
492
453
 
493
- .gd-fluid-layout-row-header {
494
- padding-right: 20px;
495
- padding-left: 20px;
496
- text-align: center;
497
- }
498
- .gd-fluid-layout-row-header .gd-fluid-layout-row-header-container {
499
- margin-top: 16px;
500
- }
501
- @media only screen and (min-width:641px) {
502
- .gd-fluid-layout-row-header {
503
- padding-right: 0;
504
- padding-left: 0;
505
- text-align: left;
506
- }
507
- }
508
- .gd-fluid-layout-row-header .gd-row-header-view .title {
509
- padding: 3px 5px;
510
- white-space: pre-wrap;
511
- overflow-wrap: break-word;
512
- }
513
- .gd-fluid-layout-row-header .gd-row-header-view .description {
514
- padding: 4px 5px 2px;
515
- }
516
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper {
517
- display: flex;
518
- }
519
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper h2 {
520
- color: var(--gd-dashboards-section-title-color, var(--gd-palette-complementary-8, #464e56));
521
- }
522
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper::before, .gd-fluid-layout-row-header .gd-row-header-title-wrapper::after {
523
- content: "";
524
- position: relative;
525
- top: 16px;
526
- flex: 1 1 auto;
527
- height: 0;
528
- border-top: 1px solid var(--gd-dashboards-section-title-lineColor, var(--gd-palette-complementary-3, #dde4eb));
454
+ .gd-grid-layout__item--span-3 {
455
+ grid-column: span 3;
529
456
  }
530
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper::before {
531
- margin-right: 20px;
532
- }
533
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper::after {
534
- margin-left: 20px;
535
- }
536
- @media only screen and (min-width:641px) {
537
- .gd-fluid-layout-row-header .gd-row-header-title-wrapper::before {
538
- display: none;
539
- }
540
- }
541
- .gd-fluid-layout-row-header .gd-row-header-description-wrapper {
542
- overflow: hidden;
543
- }
544
- @media only screen and (min-width:641px) {
545
- .gd-fluid-layout-row-header .title-align-center {
546
- text-align: center;
547
- }
548
- .gd-fluid-layout-row-header .title-align-center::before {
549
- display: block;
550
- }
551
- }
552
- @media only screen and (min-width:641px) {
553
- .gd-fluid-layout-row-header .title-align-right {
554
- text-align: right;
555
- }
556
- .gd-fluid-layout-row-header .title-align-right::before {
557
- display: block;
558
- }
559
- .gd-fluid-layout-row-header .title-align-right::after {
560
- display: none;
561
- }
562
- }
563
- @media only screen and (min-width:641px) {
564
- .gd-fluid-layout-row-header .title,
565
- .gd-fluid-layout-row-header .gd-row-header-view .description {
566
- max-width: 95%;
567
- }
568
- }
569
- .gd-fluid-layout-row-header .title {
570
- color: var(--gd-palette-complementary-9, #000);
571
- font-family: gdcustomfont, avenir, "Helvetica Neue", arial, sans-serif;
572
- font-weight: 400;
573
- font-weight: 700;
574
- line-height: 26px;
575
- font-size: 20px;
576
- flex: 0 1 auto;
577
- overflow: hidden;
578
- color: var(--gd-dashboards-section-title-color, var(--gd-palette-complementary-8, #464e56));
579
- }
580
- .gd-fluid-layout-row-header .description {
581
- white-space: pre-wrap;
582
- overflow-wrap: break-word;
583
- color: var(--gd-dashboards-section-description-color, var(--gd-palette-complementary-6, #94a1ad));
584
- }
585
- .gd-fluid-layout-row-header .description.collapsible {
586
- cursor: pointer;
587
- }
588
- .gd-fluid-layout-row-header .description:hover .more-link {
589
- color: var(--gd-palette-complementary-7, #6d7680);
590
- }
591
- .gd-fluid-layout-row-header .description:hover .underline {
592
- text-decoration: none;
593
- }
594
- .gd-fluid-layout-row-header .more-link {
595
- display: inline-block;
596
- color: var(--gd-palette-complementary-6, #94a1ad);
597
- }
598
- .gd-fluid-layout-row-header .more-link::before {
599
- vertical-align: top;
600
- margin-left: 0.5em;
601
- margin-right: 0.1em;
602
- font-family: "Indigo", sans-serif;
603
- }
604
- .gd-fluid-layout-row-header .more-link.active::before {
605
- content: "\e612";
606
- }
607
- .gd-fluid-layout-row-header .more-link.passive::before {
608
- content: "\e613";
609
- }
610
- .gd-fluid-layout-row-header .underline {
611
- text-decoration: underline;
612
- }
613
- .gd-fluid-layout-row-header .gd-editable-label-container {
614
- font-size: 0;
615
- }
616
- .gd-fluid-layout-row-header .gd-editable-label {
617
- display: inline-block;
618
- overflow: hidden;
619
- width: auto;
620
- max-height: inherit;
621
- padding: 2px 4px 0;
622
- }
623
- .gd-fluid-layout-row-header .gd-editable-label:hover, .gd-fluid-layout-row-header .gd-editable-label:focus, .gd-fluid-layout-row-header .gd-editable-label:active {
624
- border-color: var(--gd-palette-complementary-4, rgba(177, 193, 209, 0.5));
625
- }
626
- .gd-fluid-layout-row-header .gd-editable-label.is-editing {
627
- width: 100%;
628
- border-color: var(--gd-palette-complementary-4, rgba(177, 193, 209, 0.5));
629
- }
630
- .gd-fluid-layout-row-header .gd-editable-label.title {
631
- min-width: 0;
632
- }
633
- .gd-fluid-layout-row-header .gd-editable-label.description {
634
- margin-top: 2px;
635
- font-size: 14px;
636
- }
637
- @media only screen and (min-width:641px) {
638
- .gd-fluid-layout-row-header .gd-editable-label.description {
639
- max-width: 95%;
640
- }
641
- }
642
- .gd-fluid-layout-row-header .gd-editable-label .description.gd-paragraph {
643
- height: 21px;
644
- padding-top: 1px;
645
- }
646
- .gd-fluid-layout-row-header .gd-editable-label.placeholder {
647
- color: var(--gd-palette-complementary-6, #94a1ad);
648
- }
649
- .gd-fluid-layout-row-header .gd-layout-row-description-richtext {
650
- white-space: initial;
651
- }
652
- .gd-fluid-layout-row-header .gd-editable-label-richtext {
653
- padding: 0 5px;
654
- margin-top: 3px;
655
- border: 1px solid transparent;
457
+
458
+ .gd-grid-layout__item--span-4 {
459
+ grid-column: span 4;
656
460
  }
657
- .gd-fluid-layout-row-header .gd-editable-label-richtext textarea {
658
- padding: 0;
659
- font-size: 14px;
660
- line-height: 19px;
661
- color: var(--gd-palette-complementary-7, #6d7680);
461
+
462
+ .gd-grid-layout__item--span-5 {
463
+ grid-column: span 5;
662
464
  }
663
- .gd-fluid-layout-row-header .gd-editable-label-richtext textarea::placeholder {
664
- color: var(--gd-palette-complementary-6, #94a1ad);
465
+
466
+ .gd-grid-layout__item--span-6 {
467
+ grid-column: span 6;
665
468
  }
666
- .gd-fluid-layout-row-header .gd-editable-label-richtext:hover, .gd-fluid-layout-row-header .gd-editable-label-richtext:focus, .gd-fluid-layout-row-header .gd-editable-label-richtext:active {
667
- border-color: var(--gd-palette-complementary-4, rgba(177, 193, 209, 0.5));
469
+
470
+ .gd-grid-layout__item--span-7 {
471
+ grid-column: span 7;
668
472
  }
669
- .gd-fluid-layout-row-header .gd-editable-label-richtext.is-editing {
670
- border-color: var(--gd-palette-complementary-4, rgba(177, 193, 209, 0.5));
473
+
474
+ .gd-grid-layout__item--span-8 {
475
+ grid-column: span 8;
671
476
  }
672
- .gd-fluid-layout-row-header .gd-editable-label-richtext .gd-editable-label-richtext-empty {
673
- display: flex;
674
- align-items: center;
675
- font-size: 14px;
676
- font-style: normal;
677
- font-weight: 400;
678
- line-height: 19px;
477
+
478
+ .gd-grid-layout__item--span-9 {
479
+ grid-column: span 9;
679
480
  }
680
481
 
681
- .gd-rich-text-content-view .gd-editable-label-richtext-empty {
682
- color: var(--gd-palette-complementary-6, #94a1ad);
482
+ .gd-grid-layout__item--span-10 {
483
+ grid-column: span 10;
683
484
  }
684
485
 
685
- .gd-visualization-content.relative {
686
- position: relative !important;
486
+ .gd-grid-layout__item--span-11 {
487
+ grid-column: span 11;
687
488
  }
688
- .gd-visualization-content.absolute {
689
- position: absolute !important;
489
+
490
+ .gd-grid-layout__item--span-12 {
491
+ grid-column: span 12;
690
492
  }
691
493
 
692
- .gd-fluidlayout-item-changed {
494
+ .gd-grid-layout__debug {
693
495
  position: absolute;
694
- z-index: 11;
695
- top: 0;
696
- left: 0;
697
- right: 0;
698
- bottom: 0;
699
- display: flex;
700
- align-content: center;
701
- justify-content: center;
702
- align-items: center;
703
- }
704
- .gd-fluidlayout-item-changed.none {
705
- display: none;
706
- }
707
- .gd-fluidlayout-item-changed.added, .gd-fluidlayout-item-changed.modified {
708
- background: var(--gd-dashboards-content-backgroundColor, var(--gd-palette-complementary-0, rgba(255, 255, 255, 0.95)));
496
+ color: #fff;
497
+ font-size: 8px;
498
+ padding: 0 3px;
499
+ z-index: 1000;
709
500
  }
710
- .gd-fluidlayout-item-changed .gd-fluidlayout-item-changed-content {
711
- display: flex;
712
- flex-direction: column;
713
- align-items: center;
714
- gap: 8px;
501
+
502
+ .gd-grid-layout__container--root--debug {
503
+ border: 4px solid #efca17;
715
504
  }
716
- .gd-fluidlayout-item-changed.small .gd-fluidlayout-item-changed-content {
717
- display: flex;
718
- flex-direction: row;
719
- gap: 10px;
720
- max-height: 100%;
505
+
506
+ .gd-grid-layout__debug--root {
507
+ background: #efca17;
721
508
  }
722
- .gd-fluidlayout-item-changed .gd-fluidlayout-item-changed-icon {
723
- display: flex;
724
- align-items: center;
509
+
510
+ .gd-grid-layout__container--nested--debug {
511
+ border: 4px solid #e45e5e;
725
512
  }
726
- .gd-fluidlayout-item-changed .gd-fluidlayout-item-changed-icon svg {
727
- max-height: 100%;
513
+
514
+ .gd-grid-layout__debug--nested {
515
+ background: #e45e5e;
728
516
  }
729
- .gd-fluidlayout-item-changed.small .gd-fluidlayout-item-changed-icon svg {
730
- top: -4px;
731
- position: relative;
517
+
518
+ .gd-grid-layout__section--debug {
519
+ border: 4px solid #57834d;
732
520
  }
733
- .gd-fluidlayout-item-changed.big .gd-fluidlayout-item-changed-icon {
734
- height: auto !important;
521
+
522
+ .gd-grid-layout__debug--section {
523
+ background: #57834d;
524
+ margin-left: 30px;
735
525
  }
736
- .gd-fluidlayout-item-changed .gd-fluidlayout-item-changed-info {
737
- display: block;
738
- font-weight: 400;
739
- font-size: 14px;
740
- line-height: 19px;
526
+
527
+ .gd-grid-layout__item--debug {
528
+ border: 4px solid #9f3d8e;
741
529
  }
742
- .gd-fluidlayout-item-changed .gd-button {
743
- font-weight: 400;
744
- font-size: 14px;
745
- line-height: 19px;
746
- color: var(--gd-palette-complementary-6, #94a1ad);
530
+
531
+ .gd-grid-layout__debug--item {
532
+ background: #9f3d8e;
533
+ margin-left: 60px;
747
534
  }
748
535
 
749
536
  .kpi {
@@ -2422,6 +2209,12 @@
2422
2209
  display: flex;
2423
2210
  }
2424
2211
 
2212
+ .gd-grid-layout .dash-item {
2213
+ height: 100%;
2214
+ flex: unset;
2215
+ max-width: unset;
2216
+ }
2217
+
2425
2218
  @keyframes alert-highlighted {
2426
2219
  0% {
2427
2220
  top: 50%;