devexpress-dashboard-react 21.2.7 → 22.1.2-beta

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.
@@ -8,7 +8,7 @@ interface IDashboardControlOptions extends IOptions, IHtmlOptions {
8
8
  onWorkingModeChange?: (value: any) => void;
9
9
  }
10
10
  declare class DashboardControl extends BaseComponent<IDashboardControlOptions> {
11
- readonly instance: dxDashboardControl;
11
+ get instance(): dxDashboardControl;
12
12
  protected _WidgetClass: typeof dxDashboardControl;
13
13
  protected subscribableOptions: string[];
14
14
  protected independentEvents: string[];
@@ -235,6 +235,7 @@ declare class ViewerApi extends NestedOption<IViewerApiProps> {
235
235
  static OptionName: string;
236
236
  }
237
237
  interface IWizardSettingsProps {
238
+ enableFederationDataSource?: any;
238
239
  enableJsonDataSource?: any;
239
240
  enableOlapDataSource?: any;
240
241
  enableSqlDataSource?: any;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WizardSettings = exports.ViewerApi = exports.MobileLayout = exports.ItemOptionsPanel = exports.ItemBindingPanel = exports.Extensions = exports.DesignerToolbar = exports.DataSourceWizard = exports.DataRequestOptions = exports.DataInspector = exports.DashboardParameterDialog = exports.DashboardExport = exports.AjaxRemoteService = exports.DashboardControl = void 0;
3
4
  const index_1 = require("devexpress-dashboard/integration/index");
4
5
  const PropTypes = require("prop-types");
5
6
  const component_1 = require("devextreme-react/core/component");
@@ -54,37 +55,38 @@ DashboardControl.propTypes = {
54
55
  };
55
56
  class AjaxRemoteService extends nested_option_1.default {
56
57
  }
57
- AjaxRemoteService.OptionName = "ajaxRemoteService";
58
58
  exports.AjaxRemoteService = AjaxRemoteService;
59
+ AjaxRemoteService.OptionName = "ajaxRemoteService";
59
60
  class DashboardExport extends nested_option_1.default {
60
61
  }
61
- DashboardExport.OptionName = "dashboardExport";
62
62
  exports.DashboardExport = DashboardExport;
63
+ DashboardExport.OptionName = "dashboardExport";
63
64
  class DashboardParameterDialog extends nested_option_1.default {
64
65
  }
65
- DashboardParameterDialog.OptionName = "dashboardParameterDialog";
66
66
  exports.DashboardParameterDialog = DashboardParameterDialog;
67
+ DashboardParameterDialog.OptionName = "dashboardParameterDialog";
67
68
  class DataInspector extends nested_option_1.default {
68
69
  }
69
- DataInspector.OptionName = "dataInspector";
70
70
  exports.DataInspector = DataInspector;
71
+ DataInspector.OptionName = "dataInspector";
71
72
  class DataRequestOptions extends nested_option_1.default {
72
73
  }
73
- DataRequestOptions.OptionName = "dataRequestOptions";
74
74
  exports.DataRequestOptions = DataRequestOptions;
75
+ DataRequestOptions.OptionName = "dataRequestOptions";
75
76
  class DataSourceWizard extends nested_option_1.default {
76
77
  }
78
+ exports.DataSourceWizard = DataSourceWizard;
77
79
  DataSourceWizard.OptionName = "dataSourceWizard";
78
80
  DataSourceWizard.ExpectedChildren = {
79
81
  wizardSettings: { optionName: "wizardSettings", isCollectionItem: false }
80
82
  };
81
- exports.DataSourceWizard = DataSourceWizard;
82
83
  class DesignerToolbar extends nested_option_1.default {
83
84
  }
84
- DesignerToolbar.OptionName = "designerToolbar";
85
85
  exports.DesignerToolbar = DesignerToolbar;
86
+ DesignerToolbar.OptionName = "designerToolbar";
86
87
  class Extensions extends nested_option_1.default {
87
88
  }
89
+ exports.Extensions = Extensions;
88
90
  Extensions.OptionName = "extensions";
89
91
  Extensions.ExpectedChildren = {
90
92
  dashboardExport: { optionName: "dashboardExport", isCollectionItem: false },
@@ -97,25 +99,24 @@ Extensions.ExpectedChildren = {
97
99
  mobileLayout: { optionName: "mobileLayout", isCollectionItem: false },
98
100
  viewerApi: { optionName: "viewerApi", isCollectionItem: false }
99
101
  };
100
- exports.Extensions = Extensions;
101
102
  class ItemBindingPanel extends nested_option_1.default {
102
103
  }
103
- ItemBindingPanel.OptionName = "itemBindingPanel";
104
104
  exports.ItemBindingPanel = ItemBindingPanel;
105
+ ItemBindingPanel.OptionName = "itemBindingPanel";
105
106
  class ItemOptionsPanel extends nested_option_1.default {
106
107
  }
107
- ItemOptionsPanel.OptionName = "itemOptionsPanel";
108
108
  exports.ItemOptionsPanel = ItemOptionsPanel;
109
+ ItemOptionsPanel.OptionName = "itemOptionsPanel";
109
110
  class MobileLayout extends nested_option_1.default {
110
111
  }
111
- MobileLayout.OptionName = "mobileLayout";
112
112
  exports.MobileLayout = MobileLayout;
113
+ MobileLayout.OptionName = "mobileLayout";
113
114
  class ViewerApi extends nested_option_1.default {
114
115
  }
115
- ViewerApi.OptionName = "viewerApi";
116
116
  exports.ViewerApi = ViewerApi;
117
+ ViewerApi.OptionName = "viewerApi";
117
118
  class WizardSettings extends nested_option_1.default {
118
119
  }
119
- WizardSettings.OptionName = "wizardSettings";
120
120
  exports.WizardSettings = WizardSettings;
121
+ WizardSettings.OptionName = "wizardSettings";
121
122
  exports.default = DashboardControl;
package/index.d.ts CHANGED
@@ -1 +1,3 @@
1
+ import DashboardControl from "./dashboard-control";
2
+ export default DashboardControl;
1
3
  export * from "./dashboard-control";
package/index.js CHANGED
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
5
12
  Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./dashboard-control"));
13
+ const dashboard_control_1 = require("./dashboard-control");
14
+ exports.default = dashboard_control_1.default;
15
+ __exportStar(require("./dashboard-control"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devexpress-dashboard-react",
3
3
  "author": "Developer Express Inc.",
4
- "version": "21.2.7",
4
+ "version": "22.1.2-beta",
5
5
  "description": "A component that integrates DevExpress Web Dashboard in a React application",
6
6
  "homepage": "https://www.devexpress.com/products/net/dashboard/",
7
7
  "bugs": "https://www.devexpress.com/support/",
@@ -17,9 +17,9 @@
17
17
  "prop-types": "^15.6.1"
18
18
  },
19
19
  "peerDependencies": {
20
- "devexpress-dashboard": "21.2.7",
21
- "devextreme": "21.2.7",
22
- "devextreme-react": "21.2.7",
23
- "@devexpress/analytics-core": "21.2.7"
20
+ "devexpress-dashboard": "22.1.2-beta",
21
+ "devextreme": "22.1.2-beta",
22
+ "devextreme-react": "22.1.2-beta",
23
+ "@devexpress/analytics-core": "22.1.2-beta"
24
24
  }
25
25
  }
@@ -1,9 +1,17 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
5
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.default = void 0;
6
14
  /** @deprecated Use 'devextreme-react/dashboard-control' file instead */
7
- __export(require("../dashboard-control"));
15
+ __exportStar(require("../dashboard-control"), exports);
8
16
  var dashboard_control_1 = require("../dashboard-control");
9
- exports.default = dashboard_control_1.default;
17
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return dashboard_control_1.default; } });