@gooddata/sdk-ui-dashboard 10.9.0-alpha.7 → 10.9.0-alpha.9
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.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +24 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +1 -0
- package/esm/presentation/localization/bundles/en-AU.json +475 -0
- package/esm/presentation/localization/bundles/en-GB.json +1 -0
- package/esm/presentation/localization/bundles/en-US.json +5 -0
- package/esm/presentation/localization/bundles/es-419.json +1 -0
- package/esm/presentation/localization/bundles/es-ES.json +1 -0
- package/esm/presentation/localization/bundles/fi-FI.json +475 -0
- package/esm/presentation/localization/bundles/fr-CA.json +1 -0
- package/esm/presentation/localization/bundles/fr-FR.json +1 -0
- package/esm/presentation/localization/bundles/it-IT.json +1 -0
- package/esm/presentation/localization/bundles/ja-JP.json +1 -0
- package/esm/presentation/localization/bundles/nl-NL.json +1 -0
- package/esm/presentation/localization/bundles/pt-BR.json +1 -0
- package/esm/presentation/localization/bundles/pt-PT.json +1 -0
- package/esm/presentation/localization/bundles/zh-Hans.json +1 -0
- package/esm/presentation/localization/bundles/zh-Hant.json +475 -0
- package/esm/presentation/localization/bundles/zh-Yue.json +475 -0
- package/esm/presentation/localization/translations.d.ts.map +1 -1
- package/esm/presentation/localization/translations.js +8 -0
- package/esm/presentation/localization/translations.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts +10 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js +68 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +8 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +23 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +9 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +23 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +9 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +22 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +8 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +32 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +15 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +12 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +15 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +7 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +17 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +40 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +10 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +34 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +23 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +35 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts +21 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js +95 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts +27 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js +127 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +15 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +85 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts +4 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +38 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js +4 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +3 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +1 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +20 -7
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/types.d.ts +25 -3
- package/esm/presentation/widget/insightMenu/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +4 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +1 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +3 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +27 -3
- package/package.json +15 -15
- package/styles/css/alerting.css +209 -0
- package/styles/css/alerting.css.map +1 -0
- package/styles/css/main.css +208 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/alerting.scss +249 -0
- package/styles/scss/main.scss +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultInsightMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"getDefaultInsightMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAE7E;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACtC,IAAe,EACf,MAcC;IAED,MAAM,EACF,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,4BAA4B,EAC5B,gCAAgC,EAChC,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,iCAAiC,EACjC,WAAW,EACX,iBAAiB,GACpB,GAAG,MAAM,CAAC;IAEX,MAAM,oBAAoB,GAAG,WAAW;QACpC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,gCAAgC,EAAE,CAAC;QAC9D,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,kCAAkC,EAAE,CAAC,CAAC;IACrE,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QACxC,EAAE,EAAE,oCAAoC;KAC3C,CAAC,CAAC;IACH,MAAM,yBAAyB,GAAG,IAAI,CAAC,aAAa,CAAC;QACjD,EAAE,EAAE,6CAA6C;KACpD,CAAC,CAAC;IAEH,MAAM,qBAAqB,GACvB,CAAC,uBAAuB,IAAI,CAAC,sBAAsB,CAAC;QACpD,CAAC,iCAAiC,IAAI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AChC,OAAO,EACH,4BAA4B,KAAK,oBAAoB;gBACjD,CAAC,CAAC,yBAAyB;gBAC3B,CAAC,CAAC,4BAA4B,KAAK,WAAW;oBAC9C,CAAC,CAAC,gBAAgB;oBAClB,CAAC,CAAC,SAAS;YACnB,IAAI,EAAE,eAAe;YACrB,SAAS,EAAE,gCAAgC;SAC9C;QACD,iCAAiC,IAAI;YACjC,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,oBAAoB;YAC5B,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,yCAAyC,EAAE,CAAC;YAC/E,OAAO,EAAE,0BAA0B;YACnC,QAAQ,EAAE,gCAAgC;YAC1C,OAAO,EAAE,oBAAoB;YAC7B,IAAI,EAAE,cAAc;YACpB,SAAS,EAAE,qCAAqC;SACnD;KACJ,CAAC;IAEF,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -2,5 +2,5 @@ export * from "./DefaultDashboardInsightMenu/index.js";
|
|
|
2
2
|
export { DashboardInsightMenuButton } from "./DashboardInsightMenuButton.js";
|
|
3
3
|
export { DashboardInsightMenu } from "./DashboardInsightMenu.js";
|
|
4
4
|
export { DashboardInsightMenuTitle } from "./DashboardInsightMenuTitle.js";
|
|
5
|
-
export { CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, IDashboardInsightMenuButtonProps, IDashboardInsightMenuProps, IDashboardInsightMenuTitleProps, IInsightMenuItem, IInsightMenuSubmenu, IInsightMenuItemButton, IInsightMenuItemSeparator, } from "./types.js";
|
|
5
|
+
export { CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, IDashboardInsightMenuButtonProps, IDashboardInsightMenuProps, IDashboardInsightMenuTitleProps, IInsightMenuItem, IInsightMenuSubmenu, IInsightMenuItemButton, IInsightMenuItemSeparator, IInsightMenuSubmenuComponentProps, } from "./types.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/index.ts"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/index.ts"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,GACpC,MAAM,YAAY,CAAC"}
|
|
@@ -27,6 +27,23 @@ export interface IInsightMenuItemSeparator {
|
|
|
27
27
|
type: "separator";
|
|
28
28
|
itemId: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @alpha
|
|
32
|
+
*/
|
|
33
|
+
export interface IInsightMenuSubmenuComponentProps {
|
|
34
|
+
/**
|
|
35
|
+
* The widget for which the menu is rendered.
|
|
36
|
+
*/
|
|
37
|
+
widget: IInsightWidget;
|
|
38
|
+
/**
|
|
39
|
+
* Closes the insight menu.
|
|
40
|
+
*/
|
|
41
|
+
onClose: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Go back to the root menu.
|
|
44
|
+
*/
|
|
45
|
+
onGoBack: () => void;
|
|
46
|
+
}
|
|
30
47
|
/**
|
|
31
48
|
* @beta
|
|
32
49
|
*/
|
|
@@ -35,9 +52,14 @@ export interface IInsightMenuSubmenu {
|
|
|
35
52
|
itemId: string;
|
|
36
53
|
itemName: string;
|
|
37
54
|
/** @alpha */
|
|
38
|
-
SubmenuComponent: ComponentType<
|
|
39
|
-
|
|
40
|
-
|
|
55
|
+
SubmenuComponent: ComponentType<IInsightMenuSubmenuComponentProps>;
|
|
56
|
+
/**
|
|
57
|
+
* Should the submenu component be rendered only?
|
|
58
|
+
* If so, it won't be wrapped inside the default container
|
|
59
|
+
* and the default header won't be rendered.
|
|
60
|
+
* @alpha
|
|
61
|
+
*/
|
|
62
|
+
renderSubmenuComponentOnly?: boolean;
|
|
41
63
|
/**
|
|
42
64
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
43
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAM/C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa;IACb,gBAAgB,EAAE,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAM/C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AACD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MA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MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAMD;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG,aAAa,CAAC,gCAAgC,CAAC,CAAC;AAExG;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;AAE5F;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG,aAAa,CAAC,+BAA+B,CAAC,CAAC"}
|
|
@@ -20,6 +20,7 @@ export const DefaultDashboardInsightWidget = (props) => {
|
|
|
20
20
|
const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, onExportReady, onLoadingChanged, dashboardItemClasses }) => {
|
|
21
21
|
const intl = useIntl();
|
|
22
22
|
const dashboard = useDashboardSelector(selectDashboardId);
|
|
23
|
+
const settings = useDashboardSelector(selectSettings);
|
|
23
24
|
const { onScheduleEmailingOpen, onScheduleEmailingManagementOpen, isScheduledEmailingVisible, isScheduledManagementEmailingVisible, } = useDashboardScheduledEmails({
|
|
24
25
|
dashboard,
|
|
25
26
|
});
|
|
@@ -38,6 +39,8 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
38
39
|
}, [onScheduleEmailingManagementOpen, widget]);
|
|
39
40
|
const scheduleExportEnabled = !isCustomWidget(widget);
|
|
40
41
|
const scheduleExportManagementEnabled = !isCustomWidget(widget);
|
|
42
|
+
const isHeadline = visType === "headline";
|
|
43
|
+
const isAlertingVisible = isHeadline && !isCustomWidget(widget) && settings.enableAlerting === true;
|
|
41
44
|
const { closeMenu, isMenuOpen, menuItems, openMenu } = useInsightMenu({
|
|
42
45
|
insight,
|
|
43
46
|
widget,
|
|
@@ -51,6 +54,7 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
51
54
|
onScheduleManagementExport,
|
|
52
55
|
isScheduleExportVisible: isScheduledEmailingVisible,
|
|
53
56
|
isScheduleExportManagementVisible: isScheduledManagementEmailingVisible,
|
|
57
|
+
isAlertingVisible,
|
|
54
58
|
});
|
|
55
59
|
const toggleMenu = useCallback(() => {
|
|
56
60
|
if (isMenuOpen) {
|
|
@@ -63,7 +67,6 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
63
67
|
const { InsightMenuButtonComponentProvider, InsightMenuComponentProvider, ErrorComponent, LoadingComponent, } = useDashboardComponentsContext();
|
|
64
68
|
const InsightMenuButtonComponent = useMemo(() => InsightMenuButtonComponentProvider(insight, widget), [InsightMenuButtonComponentProvider, insight, widget]);
|
|
65
69
|
const InsightMenuComponent = useMemo(() => InsightMenuComponentProvider(insight, widget), [InsightMenuComponentProvider, insight, widget]);
|
|
66
|
-
const settings = useDashboardSelector(selectSettings);
|
|
67
70
|
return (React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(widget.type, visType)), screen: screen },
|
|
68
71
|
React.createElement(DashboardItemVisualization, { renderHeadline: (clientHeight) => !widget.configuration?.hideTitle && (React.createElement(DashboardItemHeadline, { title: widget.title, clientHeight: clientHeight })), renderBeforeVisualization: () => (React.createElement("div", { className: "gd-absolute-row" },
|
|
69
72
|
settings?.enableDescriptions ? (React.createElement(InsightWidgetDescriptionTrigger, { insight: insight, widget: widget, screen: screen })) : null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardInsightWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAY,WAAW,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAGtF,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAEvG,MAAM,CAAC,MAAM,6BAA6B,GAAmE,CACzG,KAAK,EACP,EAAE;IACA,OAAO,oBAAC,2BAA2B,OAAK,KAAK,EAAE,SAAS,EAAE,iCAAiC,GAAI,CAAC;AACpG,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,iCAAiC,GAEnC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultDashboardInsightWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,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AAM,EAAE,MAAM,GAChB,CACL,CAAC,CAAC,CAAC,IAAI;gBACR,oBAAC,0BAA0B,IACvB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,SAAS,GAClB,CACA,CACT,EACD,kBAAkB,EAAE,GAAG,EAAE;gBACrB,IAAI,CAAC,UAAU,EAAE,CAAC;oBACd,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,CACH,oBAAC,oBAAoB,IACjB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,SAAS,EAClB,KAAK,EAAE,SAAS,GAClB,CACL,CAAC;YACN,CAAC,IAEA,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAChC,oBAAC,gBAAgB,IACb,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,GACpC,CACL,CACwB,CACjB,CACnB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@ type UseInsightMenuConfig = {
|
|
|
13
13
|
onScheduleManagementExport: () => void;
|
|
14
14
|
isScheduleExportVisible: boolean;
|
|
15
15
|
isScheduleExportManagementVisible: boolean;
|
|
16
|
+
isAlertingVisible: boolean;
|
|
16
17
|
};
|
|
17
18
|
export declare const useInsightMenu: (config: UseInsightMenuConfig) => {
|
|
18
19
|
menuItems: IInsightMenuItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM/D,OAAO,EAA8B,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,+BAA+B,EAAE,OAAO,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM/D,OAAO,EAA8B,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,+BAA+B,EAAE,OAAO,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,iBAAiB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,cAAc,WACf,oBAAoB;eAChB,gBAAgB,EAAE;gBAAc,OAAO;cAAY,MAAM,IAAI;eAAa,MAAM,IAAI;CAiBnG,CAAC"}
|
|
@@ -20,7 +20,7 @@ export const useInsightMenu = (config) => {
|
|
|
20
20
|
return { menuItems, isMenuOpen, openMenu, closeMenu };
|
|
21
21
|
};
|
|
22
22
|
function useDefaultMenuItems(config, setIsMenuOpen) {
|
|
23
|
-
const { exportCSVEnabled, exportXLSXEnabled, scheduleExportEnabled, scheduleExportManagementEnabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, widget, } = config;
|
|
23
|
+
const { exportCSVEnabled, exportXLSXEnabled, scheduleExportEnabled, scheduleExportManagementEnabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, isAlertingVisible, widget, } = config;
|
|
24
24
|
const intl = useIntl();
|
|
25
25
|
const execution = useDashboardSelector(selectExecutionResultByRef(widget.ref));
|
|
26
26
|
//NOTE: Check if widget has localIdentifier, if not that is probably widget from old dashboard
|
|
@@ -58,6 +58,7 @@ function useDefaultMenuItems(config, setIsMenuOpen) {
|
|
|
58
58
|
isScheduleExportVisible,
|
|
59
59
|
isScheduleExportManagementVisible,
|
|
60
60
|
isDataError: isDataError(execution?.error),
|
|
61
|
+
isAlertingVisible,
|
|
61
62
|
});
|
|
62
63
|
}, [
|
|
63
64
|
execution,
|
|
@@ -73,6 +74,7 @@ function useDefaultMenuItems(config, setIsMenuOpen) {
|
|
|
73
74
|
isScheduleExportManagementVisible,
|
|
74
75
|
intl,
|
|
75
76
|
setIsMenuOpen,
|
|
77
|
+
isAlertingVisible,
|
|
76
78
|
]);
|
|
77
79
|
}
|
|
78
80
|
//# sourceMappingURL=useInsightMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAA4B,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAE9F,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAoB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"useInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAA4B,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAE9F,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAoB,MAAM,4BAA4B,CAAC;AAkB1F,MAAM,CAAC,MAAM,cAAc,GAAG,CAC1B,MAA4B,EACuE,EAAE;IACrG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAEnC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,K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AA+B,CAAC;IAE1E,OAAO,OAAO,CAAqB,GAAG,EAAE;QACpC,OAAO,0BAA0B,CAAC,IAAI,EAAE;YACpC,iBAAiB,EAAE,CAAC,gBAAgB;YACpC,kBAAkB,EAAE,CAAC,iBAAiB;YACtC,gCAAgC;YAChC,sBAAsB;YACtB,4BAA4B,EAAE,sBAAsB;gBAChD,CAAC,CAAC,iBAAiB;oBACf,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,oBAAoB;gBAC1B,CAAC,CAAC,SAAS;YACf,WAAW,EAAE,GAAG,EAAE;gBACd,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,WAAW,EAAE,CAAC;YAClB,CAAC;YACD,YAAY,EAAE,GAAG,EAAE;gBACf,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,YAAY,EAAE,CAAC;YACnB,CAAC;YACD,gBAAgB,EAAE,GAAG,EAAE;gBACnB,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,gBAAgB,EAAE,CAAC;YACvB,CAAC;YACD,0BAA0B,EAAE,GAAG,EAAE;gBAC7B,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,0BAA0B,EAAE,CAAC;YACjC,CAAC;YACD,uBAAuB;YACvB,iCAAiC;YACjC,WAAW,EAAE,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC;YAC1C,iBAAiB;SACpB,CAAC,CAAC;IACP,CAAC,EAAE;QACC,SAAS;QACT,gBAAgB;QAChB,iBAAiB;QACjB,qBAAqB;QACrB,+BAA+B;QAC/B,WAAW;QACX,YAAY;QACZ,gBAAgB;QAChB,0BAA0B;QAC1B,uBAAuB;QACvB,iCAAiC;QACjC,IAAI;QACJ,aAAa;QACb,iBAAiB;KACpB,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -7159,6 +7159,7 @@ export declare function getDefaultInsightMenuItems(intl: IntlShape, config: {
|
|
|
7159
7159
|
isScheduleExportVisible: boolean;
|
|
7160
7160
|
isScheduleExportManagementVisible: boolean;
|
|
7161
7161
|
isDataError: boolean;
|
|
7162
|
+
isAlertingVisible: boolean;
|
|
7162
7163
|
}): IInsightMenuItem[];
|
|
7163
7164
|
|
|
7164
7165
|
/**
|
|
@@ -9822,9 +9823,14 @@ export declare interface IInsightMenuSubmenu {
|
|
|
9822
9823
|
itemId: string;
|
|
9823
9824
|
itemName: string;
|
|
9824
9825
|
/** @alpha */
|
|
9825
|
-
SubmenuComponent: ComponentType<
|
|
9826
|
-
|
|
9827
|
-
|
|
9826
|
+
SubmenuComponent: ComponentType<IInsightMenuSubmenuComponentProps>;
|
|
9827
|
+
/**
|
|
9828
|
+
* Should the submenu component be rendered only?
|
|
9829
|
+
* If so, it won't be wrapped inside the default container
|
|
9830
|
+
* and the default header won't be rendered.
|
|
9831
|
+
* @alpha
|
|
9832
|
+
*/
|
|
9833
|
+
renderSubmenuComponentOnly?: boolean;
|
|
9828
9834
|
/**
|
|
9829
9835
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
9830
9836
|
*/
|
|
@@ -9838,6 +9844,24 @@ export declare interface IInsightMenuSubmenu {
|
|
|
9838
9844
|
onClick?: (e: MouseEvent_2) => void;
|
|
9839
9845
|
}
|
|
9840
9846
|
|
|
9847
|
+
/**
|
|
9848
|
+
* @alpha
|
|
9849
|
+
*/
|
|
9850
|
+
export declare interface IInsightMenuSubmenuComponentProps {
|
|
9851
|
+
/**
|
|
9852
|
+
* The widget for which the menu is rendered.
|
|
9853
|
+
*/
|
|
9854
|
+
widget: IInsightWidget;
|
|
9855
|
+
/**
|
|
9856
|
+
* Closes the insight menu.
|
|
9857
|
+
*/
|
|
9858
|
+
onClose: () => void;
|
|
9859
|
+
/**
|
|
9860
|
+
* Go back to the root menu.
|
|
9861
|
+
*/
|
|
9862
|
+
onGoBack: () => void;
|
|
9863
|
+
}
|
|
9864
|
+
|
|
9841
9865
|
/**
|
|
9842
9866
|
* @internal
|
|
9843
9867
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.9.0-alpha.
|
|
3
|
+
"version": "10.9.0-alpha.9",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"ts-invariant": "^0.7.5",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2",
|
|
58
|
-
"@gooddata/sdk-backend-
|
|
59
|
-
"@gooddata/sdk-backend-
|
|
60
|
-
"@gooddata/sdk-
|
|
61
|
-
"@gooddata/sdk-
|
|
62
|
-
"@gooddata/sdk-ui-ext": "10.9.0-alpha.
|
|
63
|
-
"@gooddata/sdk-ui-filters": "10.9.0-alpha.
|
|
64
|
-
"@gooddata/sdk-ui-
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-ui-
|
|
67
|
-
"@gooddata/sdk-ui-
|
|
68
|
-
"@gooddata/util": "10.9.0-alpha.
|
|
58
|
+
"@gooddata/sdk-backend-spi": "10.9.0-alpha.9",
|
|
59
|
+
"@gooddata/sdk-backend-base": "10.9.0-alpha.9",
|
|
60
|
+
"@gooddata/sdk-ui": "10.9.0-alpha.9",
|
|
61
|
+
"@gooddata/sdk-model": "10.9.0-alpha.9",
|
|
62
|
+
"@gooddata/sdk-ui-ext": "10.9.0-alpha.9",
|
|
63
|
+
"@gooddata/sdk-ui-filters": "10.9.0-alpha.9",
|
|
64
|
+
"@gooddata/sdk-ui-geo": "10.9.0-alpha.9",
|
|
65
|
+
"@gooddata/sdk-ui-kit": "10.9.0-alpha.9",
|
|
66
|
+
"@gooddata/sdk-ui-vis-commons": "10.9.0-alpha.9",
|
|
67
|
+
"@gooddata/sdk-ui-theme-provider": "10.9.0-alpha.9",
|
|
68
|
+
"@gooddata/util": "10.9.0-alpha.9"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"typescript": "5.3.3",
|
|
119
119
|
"vitest": "1.0.4",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/i18n-toolkit": "10.9.0-alpha.
|
|
122
|
-
"@gooddata/reference-workspace": "10.9.0-alpha.
|
|
123
|
-
"@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.
|
|
121
|
+
"@gooddata/i18n-toolkit": "10.9.0-alpha.9",
|
|
122
|
+
"@gooddata/reference-workspace": "10.9.0-alpha.9",
|
|
123
|
+
"@gooddata/sdk-backend-mockingbird": "10.9.0-alpha.9"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
.gd-alerts-list {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.gd-alerts-list__items {
|
|
6
|
+
padding: 10px 0 10px 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.gd-alerts-list__buttons {
|
|
10
|
+
padding: 10px 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.gd-alerts-list-item {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
transition: background-color 100ms ease-in-out;
|
|
18
|
+
}
|
|
19
|
+
.gd-alerts-list-item:hover {
|
|
20
|
+
background-color: #ebeff4;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.gd-alerts-list-item__content {
|
|
24
|
+
padding: 5px 0 5px 10px;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
width: 100%;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.gd-alerts-list-item__icon {
|
|
32
|
+
background-color: #ebeff4;
|
|
33
|
+
width: 26px;
|
|
34
|
+
height: 26px;
|
|
35
|
+
border-radius: 51%;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.gd-alerts-list-item__details {
|
|
43
|
+
margin-left: 10px;
|
|
44
|
+
margin-right: 10px;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
line-height: normal;
|
|
47
|
+
width: 100%;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.gd-alerts-list-item__title {
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
text-overflow: ellipsis;
|
|
54
|
+
color: #464e56;
|
|
55
|
+
font-weight: 700;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.gd-alerts-list-item__description {
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
color: #94a1ad;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.gd-edit-alert {
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
line-height: 14px;
|
|
69
|
+
color: #464e56;
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.gd-edit-alert__form {
|
|
74
|
+
padding: 10px 10px 0 10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.gd-edit-alert__measure-label {
|
|
78
|
+
margin-bottom: 5px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.gd-edit-alert__value-input {
|
|
82
|
+
margin-bottom: 10px;
|
|
83
|
+
/* Removes number input arrows for Chrome, Safari, Edge, Opera */
|
|
84
|
+
/* Removes number input arrows for Firefox */
|
|
85
|
+
}
|
|
86
|
+
.gd-edit-alert__value-input input::-webkit-outer-spin-button,
|
|
87
|
+
.gd-edit-alert__value-input input::-webkit-inner-spin-button {
|
|
88
|
+
-webkit-appearance: none;
|
|
89
|
+
margin: 0;
|
|
90
|
+
}
|
|
91
|
+
.gd-edit-alert__value-input input[type=number] {
|
|
92
|
+
appearance: textfield;
|
|
93
|
+
-moz-appearance: textfield;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.gd-edit-alert__buttons {
|
|
97
|
+
padding: 10px;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
border-top: 1px solid #dde4eb;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.gd-edit-alert__configuration-button {
|
|
105
|
+
color: #94a1ad;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.gd-edit-alert-configuration {
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.gd-edit-alert-configuration__form {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
padding: 10px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.gd-edit-alert-configuration__trigger-label {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
width: 50%;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.gd-edit-alert-configuration__trigger-label-icon {
|
|
126
|
+
margin-left: 5px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.gd-edit-alert-configuration__trigger-select {
|
|
130
|
+
width: 50%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.gd-edit-alert-configuration__buttons {
|
|
134
|
+
padding: 10px;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: flex-end;
|
|
138
|
+
border-top: 1px solid #dde4eb;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.gd-alert-measure-select {
|
|
142
|
+
margin-bottom: 10px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.gd-alert-measure-select__button {
|
|
146
|
+
width: 100%;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.gd-alert-measure-select__list {
|
|
150
|
+
height: 100%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.gd-alert-measure-select__icon {
|
|
154
|
+
height: 100%;
|
|
155
|
+
}
|
|
156
|
+
.gd-alert-measure-select__icon::before {
|
|
157
|
+
height: 100%;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.gd-alert-comparison-operator-select {
|
|
161
|
+
margin-bottom: 10px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.gd-alert-comparison-operator-select__button {
|
|
165
|
+
width: 100%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.gd-alert-destination-select {
|
|
169
|
+
margin-bottom: 10px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.gd-button.gd-alert-destination-select__button {
|
|
173
|
+
margin-top: 0;
|
|
174
|
+
width: 105px;
|
|
175
|
+
}
|
|
176
|
+
.gd-button.gd-alert-destination-select__button:not(.gd-button.gd-alert-destination-select__button--open, .gd-button.gd-alert-destination-select__button:hover, .gd-button.gd-alert-destination-select__button:active, .gd-button.gd-alert-destination-select__button:focus) {
|
|
177
|
+
box-shadow: none;
|
|
178
|
+
border-color: transparent;
|
|
179
|
+
}
|
|
180
|
+
.gd-button.gd-alert-destination-select__button:not(.gd-button.gd-alert-destination-select__button--open, .gd-button.gd-alert-destination-select__button:active, .gd-button.gd-alert-destination-select__button:focus) {
|
|
181
|
+
background: transparent;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.gd-edit-alert-trigger-mode-select__button {
|
|
185
|
+
width: 100%;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.gd-button.gd-alert-actions-dropdown__button {
|
|
189
|
+
width: 42px;
|
|
190
|
+
height: 42px;
|
|
191
|
+
padding: 0;
|
|
192
|
+
}
|
|
193
|
+
.gd-button.gd-alert-actions-dropdown__button:hover, .gd-button.gd-alert-actions-dropdown__button.gd-alert-actions-dropdown__button--open {
|
|
194
|
+
background-color: #ccd8e2;
|
|
195
|
+
}
|
|
196
|
+
.gd-button.gd-alert-actions-dropdown__button .gd-button-text {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
justify-content: center;
|
|
200
|
+
width: 100%;
|
|
201
|
+
height: 100%;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.gd-alert-actions-dropdown__list-item-delete:hover {
|
|
205
|
+
color: #e54d40;
|
|
206
|
+
background-color: #fcedec;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/*# sourceMappingURL=alerting.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/alerting.scss"],"names":[],"mappings":"AAKA;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAMJ;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAMJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAMJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAMJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;AAEA;EACI;;;AAOR;EACI;;;AAGJ;EACI;;;AAMJ;EACI;;;AAKJ;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;;;AAOR;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI;EACA","file":"alerting.css"}
|