@mwater/visualization 5.0.1 → 5.2.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.
- package/lib/GlobalFilter.d.ts +13 -0
- package/lib/GlobalFilter.js +2 -0
- package/lib/MWaterAddRelatedFormComponent.d.ts +1 -1
- package/lib/MWaterAddRelatedFormComponent.js +10 -17
- package/lib/MWaterCompleteTableSelectComponent.d.ts +2 -9
- package/lib/MWaterContextComponent.d.ts +31 -9
- package/lib/MWaterContextComponent.js +85 -76
- package/lib/MWaterCustomTablesetListComponent.js +9 -3
- package/lib/MWaterGlobalFiltersComponent.d.ts +6 -5
- package/lib/MWaterGlobalFiltersComponent.js +4 -4
- package/lib/MWaterLoaderComponent.d.ts +14 -4
- package/lib/MWaterLoaderComponent.js +10 -2
- package/lib/MWaterTableSelectComponent.d.ts +0 -1
- package/lib/MWaterTableSelectComponent.js +20 -41
- package/lib/axes/Axis.d.ts +20 -25
- package/lib/axes/AxisBuilder.js +9 -7
- package/lib/axes/AxisComponent.d.ts +4 -4
- package/lib/axes/RangesComponent.d.ts +12 -6
- package/lib/axes/RangesComponent.js +21 -10
- package/lib/dashboards/DashboardComponent.d.ts +1 -14
- package/lib/dashboards/DashboardComponent.js +18 -56
- package/lib/dashboards/DashboardDesign.d.ts +2 -17
- package/lib/dashboards/DashboardViewComponent.js +3 -4
- package/lib/dashboards/LayoutOptionsComponent.js +4 -3
- package/lib/dashboards/ServerDashboardDataSource.d.ts +1 -0
- package/lib/dashboards/ServerDashboardDataSource.js +3 -0
- package/lib/dashboards/SettingsModalComponent.d.ts +4 -15
- package/lib/dashboards/SettingsModalComponent.js +24 -38
- package/lib/datagrids/DatagridComponent.d.ts +10 -13
- package/lib/datagrids/DatagridComponent.js +27 -5
- package/lib/datagrids/DatagridDataSource.d.ts +3 -2
- package/lib/datagrids/DatagridDataSource.js +0 -11
- package/lib/datagrids/DatagridDesign.d.ts +2 -0
- package/lib/datagrids/DatagridDesignerComponent.d.ts +2 -93
- package/lib/datagrids/DatagridDesignerComponent.js +11 -8
- package/lib/datagrids/DatagridViewComponent.js +2 -2
- package/lib/datagrids/DirectDatagridDataSource.d.ts +1 -0
- package/lib/datagrids/DirectDatagridDataSource.js +26 -0
- package/lib/datagrids/FindReplaceModalComponent.d.ts +4 -20
- package/lib/datagrids/FindReplaceModalComponent.js +27 -13
- package/lib/datagrids/ServerDatagridDataSource.d.ts +2 -1
- package/lib/datagrids/ServerDatagridDataSource.js +16 -3
- package/lib/demo.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -4
- package/lib/layouts/blocks/BlocksDisplayComponent.d.ts +2 -1
- package/lib/layouts/blocks/BlocksDisplayComponent.js +2 -2
- package/lib/layouts/grid/GridLayoutManager.d.ts +2 -1
- package/lib/layouts/grid/LegoLayoutEngine.d.ts +1 -1
- package/lib/maps/BufferLayer.js +3 -1
- package/lib/maps/BufferLayerDesignerComponent.js +2 -2
- package/lib/maps/ChoroplethLayerDesigner.js +2 -2
- package/lib/maps/ClusterLayer.js +3 -1
- package/lib/maps/ClusterLayerDesignerComponent.js +2 -2
- package/lib/maps/DirectMapDataSource.js +1 -2
- package/lib/maps/GridLayer.js +5 -3
- package/lib/maps/GridLayerDesigner.js +2 -3
- package/lib/maps/LayerSwitcherComponent.js +1 -1
- package/lib/maps/MapComponent.d.ts +2 -7
- package/lib/maps/MapDesign.d.ts +2 -13
- package/lib/maps/MapDesignerComponent.d.ts +1 -12
- package/lib/maps/MapDesignerComponent.js +5 -12
- package/lib/maps/MapFiltersDesignerComponent.d.ts +0 -4
- package/lib/maps/MapFiltersDesignerComponent.js +4 -5
- package/lib/maps/MarkersLayerDesignerComponent.js +2 -2
- package/lib/maps/PopupFilterJoinsUtils.d.ts +6 -1
- package/lib/maps/PopupFilterJoinsUtils.js +4 -3
- package/lib/maps/RasterMapViewComponent.d.ts +2 -9
- package/lib/maps/RegionSelectComponent.d.ts +2 -1
- package/lib/maps/ServerMapDataSource.d.ts +1 -1
- package/lib/maps/UtfGridLayer.js +1 -1
- package/lib/maps/vectorMaps.d.ts +1 -0
- package/lib/maps/vectorMaps.js +10 -2
- package/lib/quickfilter/QuickfilterCompiler.d.ts +1 -1
- package/lib/widgets/IFrameWidgetComponent.d.ts +2 -9
- package/lib/widgets/ImageWidgetComponent.d.ts +6 -24
- package/lib/widgets/ImageWidgetComponent.js +2 -2
- package/lib/widgets/MapWidget.d.ts +2 -7
- package/lib/widgets/MarkdownWidget.d.ts +2 -7
- package/lib/widgets/TOCWidget.d.ts +2 -9
- package/lib/widgets/charts/ChartWidget.d.ts +3 -15
- package/lib/widgets/charts/calendar/CalendarChartDesignerComponent.js +2 -2
- package/lib/widgets/charts/imagemosaic/ImageMosaicChart.d.ts +1 -1
- package/lib/widgets/charts/imagemosaic/ImageMosaicChart.js +1 -1
- package/lib/widgets/charts/imagemosaic/ImageMosaicChartDesignerComponent.js +2 -2
- package/lib/widgets/charts/imagemosaic/ImagePopupComponent.d.ts +2 -7
- package/lib/widgets/charts/layered/LayeredChartDesignerComponent.d.ts +2 -31
- package/lib/widgets/charts/layered/LayeredChartLayerDesignerComponent.d.ts +2 -7
- package/lib/widgets/charts/layered/LayeredChartLayerDesignerComponent.js +2 -2
- package/lib/widgets/charts/pivot/IntersectionDesignerComponent.d.ts +73 -66
- package/lib/widgets/charts/pivot/PivotChartDesignerComponent.d.ts +10 -6
- package/lib/widgets/charts/pivot/PivotChartDesignerComponent.js +2 -2
- package/lib/widgets/charts/pivot/PivotChartViewComponent.d.ts +3 -22
- package/lib/widgets/charts/pivot/SegmentDesignerComponent.d.ts +55 -58
- package/lib/widgets/charts/table/TableChartDesignerComponent.js +2 -2
- package/lib/widgets/charts/table/TableChartViewComponent.js +21 -7
- package/lib/widgets/text/ExprInsertModalComponent.d.ts +2 -13
- package/lib/widgets/text/ExprItemEditorComponent.js +2 -2
- package/lib/widgets/text/ExprUpdateModalComponent.d.ts +2 -13
- package/lib/widgets/text/TextWidgetDesign.d.ts +3 -1
- package/package.json +1 -1
- package/src/GlobalFilter.ts +17 -0
- package/src/MWaterAddRelatedFormComponent.ts +15 -20
- package/src/MWaterContextComponent.tsx +158 -0
- package/src/MWaterCustomTablesetListComponent.tsx +21 -3
- package/src/MWaterGlobalFiltersComponent.ts +8 -8
- package/src/MWaterLoaderComponent.ts +10 -3
- package/src/{MWaterTableSelectComponent.ts → MWaterTableSelectComponent.tsx} +61 -66
- package/src/axes/Axis.ts +24 -25
- package/src/axes/AxisBuilder.ts +10 -9
- package/src/axes/RangesComponent.ts +27 -16
- package/src/dashboards/{DashboardComponent.ts → DashboardComponent.tsx} +39 -80
- package/src/dashboards/DashboardDesign.ts +2 -22
- package/src/dashboards/DashboardViewComponent.ts +4 -5
- package/src/dashboards/LayoutOptionsComponent.tsx +6 -4
- package/src/dashboards/ServerDashboardDataSource.ts +16 -12
- package/src/dashboards/SettingsModalComponent.tsx +170 -0
- package/src/datagrids/DatagridComponent.ts +45 -14
- package/src/datagrids/DatagridDataSource.ts +10 -8
- package/src/datagrids/DatagridDesign.ts +3 -0
- package/src/datagrids/DatagridDesignerComponent.tsx +31 -19
- package/src/datagrids/DatagridViewComponent.ts +4 -4
- package/src/datagrids/DirectDatagridDataSource.ts +35 -0
- package/src/datagrids/ExprCellComponent.ts +0 -1
- package/src/datagrids/FindReplaceModalComponent.ts +39 -22
- package/src/datagrids/ServerDatagridDataSource.ts +23 -6
- package/src/demo.ts +1 -1
- package/src/index.ts +1 -2
- package/src/layouts/blocks/BlocksDisplayComponent.ts +2 -2
- package/src/layouts/grid/LegoLayoutEngine.ts +2 -2
- package/src/layouts/grid/WidgetContainerComponent.ts +2 -2
- package/src/maps/BingLayer.ts +2 -2
- package/src/maps/BufferLayer.ts +3 -1
- package/src/maps/BufferLayerDesignerComponent.ts +1 -1
- package/src/maps/ChoroplethLayerDesigner.tsx +1 -1
- package/src/maps/ClusterLayer.ts +3 -1
- package/src/maps/ClusterLayerDesignerComponent.ts +1 -1
- package/src/maps/DirectMapDataSource.ts +1 -2
- package/src/maps/GridLayer.ts +5 -3
- package/src/maps/GridLayerDesigner.tsx +1 -2
- package/src/maps/LayerSwitcherComponent.tsx +1 -1
- package/src/maps/LegendGroup.ts +1 -1
- package/src/maps/MWaterServerLayer.ts +2 -2
- package/src/maps/MapDesign.ts +2 -17
- package/src/maps/{MapDesignerComponent.ts → MapDesignerComponent.tsx} +8 -16
- package/src/maps/{MapFiltersDesignerComponent.ts → MapFiltersDesignerComponent.tsx} +25 -25
- package/src/maps/MarkersLayerDesignerComponent.ts +1 -1
- package/src/maps/PopupFilterJoinsUtils.ts +4 -4
- package/src/maps/ServerMapDataSource.ts +7 -7
- package/src/maps/SwitchableTileUrlLayerDesigner.tsx +1 -13
- package/src/maps/UtfGridLayer.ts +4 -4
- package/src/maps/VectorMapViewComponent.tsx +0 -1
- package/src/maps/mapboxUtils.ts +2 -2
- package/src/maps/vectorMaps.tsx +10 -1
- package/src/quickfilter/QuickfilterCompiler.ts +1 -1
- package/src/richtext/ExprItemsHtmlConverter.ts +1 -1
- package/src/richtext/FontColorPaletteItem.ts +1 -1
- package/src/richtext/FontSizePaletteItem.ts +1 -1
- package/src/richtext/ItemsHtmlConverter.ts +2 -2
- package/src/widgets/ImageWidgetComponent.ts +1 -1
- package/src/widgets/charts/calendar/CalendarChartDesignerComponent.ts +1 -1
- package/src/widgets/charts/imagemosaic/ImageMosaicChart.ts +1 -1
- package/src/widgets/charts/imagemosaic/ImageMosaicChartDesignerComponent.ts +1 -1
- package/src/widgets/charts/layered/LayeredChartLayerDesignerComponent.tsx +1 -1
- package/src/widgets/charts/pivot/PivotChartDesignerComponent.tsx +1 -1
- package/src/widgets/charts/table/TableChartDesignerComponent.ts +1 -1
- package/src/widgets/charts/table/TableChartViewComponent.ts +21 -7
- package/src/widgets/text/ExprItemEditorComponent.tsx +1 -1
- package/src/widgets/text/TextWidgetDesign.ts +4 -1
- package/src/MWaterContextComponent.ts +0 -141
- package/src/TableSelectComponent.ts +0 -60
- package/src/dashboards/SettingsModalComponent.ts +0 -169
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import AsyncLoadComponent from "@mwater/react-library/lib/AsyncLoadComponent";
|
|
3
|
+
import AutoSizeComponent from "@mwater/react-library/lib/AutoSizeComponent";
|
|
3
4
|
import DropdownWidgetComponent from "./DropdownWidgetComponent";
|
|
5
|
+
import ModalPopupComponent from "@mwater/react-library/lib/ModalPopupComponent";
|
|
4
6
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
5
7
|
import { WidgetDataSource } from "./WidgetDataSource";
|
|
6
8
|
import { ImageWidgetDesign } from "./ImageWidget";
|
|
@@ -30,16 +32,8 @@ export default class ImageWidgetComponent extends AsyncLoadComponent<ImageWidget
|
|
|
30
32
|
onClick: () => void;
|
|
31
33
|
}, HTMLElement>;
|
|
32
34
|
renderEditor(): React.CElement<any, ImageWidgetDesignComponent>;
|
|
33
|
-
renderExpression(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement> | React.CElement<
|
|
34
|
-
|
|
35
|
-
}, React.Component<{
|
|
36
|
-
injectHeight: boolean;
|
|
37
|
-
}, any, any>> | null;
|
|
38
|
-
renderContent(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement> | React.CElement<{
|
|
39
|
-
injectHeight: boolean;
|
|
40
|
-
}, React.Component<{
|
|
41
|
-
injectHeight: boolean;
|
|
42
|
-
}, any, any>> | React.CElement<RotatedImageComponentProps, RotatedImageComponent> | null;
|
|
35
|
+
renderExpression(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement> | React.CElement<import("@mwater/react-library/lib/AutoSizeComponent").AutoSizeComponentProps, AutoSizeComponent> | null;
|
|
36
|
+
renderContent(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement> | React.CElement<import("@mwater/react-library/lib/AutoSizeComponent").AutoSizeComponentProps, AutoSizeComponent> | React.CElement<RotatedImageComponentProps, RotatedImageComponent> | null;
|
|
43
37
|
render(): React.CElement<import("./DropdownWidgetComponent").DropdownWidgetComponentProps, DropdownWidgetComponent>;
|
|
44
38
|
}
|
|
45
39
|
interface ImageWidgetDesignComponentProps {
|
|
@@ -96,13 +90,7 @@ declare class ImageWidgetDesignComponent extends React.Component<ImageWidgetDesi
|
|
|
96
90
|
renderUrlEditor(): React.DetailedReactHTMLElement<{
|
|
97
91
|
className: string;
|
|
98
92
|
}, HTMLElement>;
|
|
99
|
-
render(): React.CElement<
|
|
100
|
-
header: string;
|
|
101
|
-
footer: React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
102
|
-
}, React.Component<{
|
|
103
|
-
header: string;
|
|
104
|
-
footer: React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
105
|
-
}, any, any>> | null;
|
|
93
|
+
render(): React.CElement<import("@mwater/react-library/lib/ModalPopupComponent").ModalPopupComponentProps, ModalPopupComponent> | null;
|
|
106
94
|
}
|
|
107
95
|
interface RotatedImageComponentProps {
|
|
108
96
|
/** Url of the image */
|
|
@@ -114,12 +102,6 @@ interface RotatedImageComponentProps {
|
|
|
114
102
|
openUrlInSameTab?: boolean;
|
|
115
103
|
}
|
|
116
104
|
declare class RotatedImageComponent extends React.Component<RotatedImageComponentProps> {
|
|
117
|
-
render(): React.CElement<
|
|
118
|
-
injectWidth: boolean;
|
|
119
|
-
injectHeight: boolean;
|
|
120
|
-
}, React.Component<{
|
|
121
|
-
injectWidth: boolean;
|
|
122
|
-
injectHeight: boolean;
|
|
123
|
-
}, any, any>>;
|
|
105
|
+
render(): React.CElement<import("@mwater/react-library/lib/AutoSizeComponent").AutoSizeComponentProps, AutoSizeComponent>;
|
|
124
106
|
}
|
|
125
107
|
export {};
|
|
@@ -37,7 +37,7 @@ const DropdownWidgetComponent_1 = __importDefault(require("./DropdownWidgetCompo
|
|
|
37
37
|
const ModalPopupComponent_1 = __importDefault(require("@mwater/react-library/lib/ModalPopupComponent"));
|
|
38
38
|
const TabbedComponent_1 = __importDefault(require("@mwater/react-library/lib/TabbedComponent"));
|
|
39
39
|
const expressions_ui_1 = require("@mwater/expressions-ui");
|
|
40
|
-
const
|
|
40
|
+
const expressions_ui_2 = require("@mwater/expressions-ui");
|
|
41
41
|
const ImageUploaderComponent_1 = __importDefault(require("./ImageUploaderComponent"));
|
|
42
42
|
const ImagelistCarouselComponent_1 = __importDefault(require("./ImagelistCarouselComponent"));
|
|
43
43
|
class ImageWidgetComponent extends AsyncLoadComponent_1.default {
|
|
@@ -257,7 +257,7 @@ class ImageWidgetDesignComponent extends react_1.default.Component {
|
|
|
257
257
|
});
|
|
258
258
|
};
|
|
259
259
|
renderExpressionEditor() {
|
|
260
|
-
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(
|
|
260
|
+
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(expressions_ui_2.TableSelectComponent, { schema: this.props.schema, value: this.state.table, onChange: this.handleTableChange }), R("br"), this.state.table
|
|
261
261
|
? R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, "Field"), ": ", R(expressions_ui_1.ExprComponent, {
|
|
262
262
|
schema: this.props.schema,
|
|
263
263
|
dataSource: this.props.dataSource,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Widget, { CreateViewElementOptions } from "./Widget";
|
|
3
|
+
import ModalWindowComponent from "@mwater/react-library/lib/ModalWindowComponent";
|
|
3
4
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
4
5
|
import { WidgetDataSource } from "./WidgetDataSource";
|
|
5
6
|
export default class MapWidget extends Widget {
|
|
@@ -36,13 +37,7 @@ declare class MapWidgetComponent extends React.Component<MapWidgetComponentProps
|
|
|
36
37
|
handleStartEditing: () => void;
|
|
37
38
|
handleEndEditing: () => void;
|
|
38
39
|
handleEditDesignChange: (design: any) => void;
|
|
39
|
-
renderEditor(): React.CElement<
|
|
40
|
-
isOpen: boolean;
|
|
41
|
-
onRequestClose: () => void;
|
|
42
|
-
}, React.Component<{
|
|
43
|
-
isOpen: boolean;
|
|
44
|
-
onRequestClose: () => void;
|
|
45
|
-
}, any, any>> | null;
|
|
40
|
+
renderEditor(): React.CElement<import("@mwater/react-library/lib/ModalWindowComponent").ModalWindowComponentProps, ModalWindowComponent> | null;
|
|
46
41
|
renderContent(design: any, onDesignChange: any, width: any, height: any): React.DetailedReactHTMLElement<{
|
|
47
42
|
style: {
|
|
48
43
|
width: any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Widget, { CreateViewElementOptions } from "./Widget";
|
|
3
|
+
import ModalWindowComponent from "@mwater/react-library/lib/ModalWindowComponent";
|
|
3
4
|
export default class MarkdownWidget extends Widget {
|
|
4
5
|
createViewElement(options: CreateViewElementOptions): React.CElement<any, MarkdownWidgetComponent>;
|
|
5
6
|
isAutoHeight(): boolean;
|
|
@@ -20,13 +21,7 @@ declare class MarkdownWidgetComponent extends React.Component<MarkdownWidgetComp
|
|
|
20
21
|
handleStartEditing: () => void;
|
|
21
22
|
handleEndEditing: () => void;
|
|
22
23
|
handleEditDesignChange: (design: any) => void;
|
|
23
|
-
renderEditor(): React.CElement<
|
|
24
|
-
isOpen: boolean;
|
|
25
|
-
onRequestClose: () => void;
|
|
26
|
-
}, React.Component<{
|
|
27
|
-
isOpen: boolean;
|
|
28
|
-
onRequestClose: () => void;
|
|
29
|
-
}, any, any>> | null;
|
|
24
|
+
renderEditor(): React.CElement<import("@mwater/react-library/lib/ModalWindowComponent").ModalWindowComponentProps, ModalWindowComponent> | null;
|
|
30
25
|
renderContent(design: any): React.CElement<MarkdownWidgetViewComponentProps, MarkdownWidgetViewComponent>;
|
|
31
26
|
render(): React.DetailedReactHTMLElement<{
|
|
32
27
|
onDoubleClick: () => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from "prop-types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import Widget, { CreateViewElementOptions } from "./Widget";
|
|
4
|
+
import ModalPopupComponent from "@mwater/react-library/lib/ModalPopupComponent";
|
|
4
5
|
export default class TOCWidget extends Widget {
|
|
5
6
|
createViewElement(options: CreateViewElementOptions): React.CElement<any, TOCWidgetComponent>;
|
|
6
7
|
isAutoHeight(): boolean;
|
|
@@ -22,15 +23,7 @@ declare class TOCWidgetComponent extends React.Component {
|
|
|
22
23
|
constructor(props: any);
|
|
23
24
|
handleStartEditing: () => void;
|
|
24
25
|
handleEndEditing: () => void;
|
|
25
|
-
renderEditor(): React.CElement<
|
|
26
|
-
showCloseX: boolean;
|
|
27
|
-
header: string;
|
|
28
|
-
onClose: () => void;
|
|
29
|
-
}, React.Component<{
|
|
30
|
-
showCloseX: boolean;
|
|
31
|
-
header: string;
|
|
32
|
-
onClose: () => void;
|
|
33
|
-
}, any, any>> | null;
|
|
26
|
+
renderEditor(): React.CElement<import("@mwater/react-library/lib/ModalPopupComponent").ModalPopupComponentProps, ModalPopupComponent> | null;
|
|
34
27
|
renderContent(): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
35
28
|
render(): React.DetailedReactHTMLElement<{
|
|
36
29
|
onDoubleClick: () => void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import PropTypes from "prop-types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import Widget, { CreateViewElementOptions } from "./../Widget";
|
|
4
|
+
import ActionCancelModalComponent from "@mwater/react-library/lib/ActionCancelModalComponent";
|
|
4
5
|
import ChartViewComponent from "./ChartViewComponent";
|
|
6
|
+
import ModalWindowComponent from "@mwater/react-library/lib/ModalWindowComponent";
|
|
5
7
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
6
8
|
import { WidgetDataSource } from "../WidgetDataSource";
|
|
7
9
|
import Chart from "./Chart";
|
|
@@ -57,21 +59,7 @@ declare class ChartWidgetComponent extends React.PureComponent<ChartWidgetCompon
|
|
|
57
59
|
handleCancelEditing: () => void;
|
|
58
60
|
handleEditDesignChange: (design: any) => void;
|
|
59
61
|
renderChart(design: any, onDesignChange: any, width: any, height: any): React.CElement<import("./ChartViewComponent").ChartViewComponentProps, ChartViewComponent>;
|
|
60
|
-
renderEditor(): React.CElement<
|
|
61
|
-
isOpen: boolean;
|
|
62
|
-
onRequestClose: () => void;
|
|
63
|
-
}, React.Component<{
|
|
64
|
-
isOpen: boolean;
|
|
65
|
-
onRequestClose: () => void;
|
|
66
|
-
}, any, any>> | React.CElement<{
|
|
67
|
-
size: string;
|
|
68
|
-
onCancel: () => void;
|
|
69
|
-
onAction: () => void;
|
|
70
|
-
}, React.Component<{
|
|
71
|
-
size: string;
|
|
72
|
-
onCancel: () => void;
|
|
73
|
-
onAction: () => void;
|
|
74
|
-
}, any, any>> | null;
|
|
62
|
+
renderEditor(): React.CElement<import("@mwater/react-library/lib/ModalWindowComponent").ModalWindowComponentProps, ModalWindowComponent> | React.CElement<import("@mwater/react-library/lib/ActionCancelModalComponent").ActionCancelModalComponentProps, ActionCancelModalComponent> | null;
|
|
75
63
|
renderEditLink(): React.DetailedReactHTMLElement<{
|
|
76
64
|
className: string;
|
|
77
65
|
onClick: () => void;
|
|
@@ -32,7 +32,7 @@ const R = react_1.default.createElement;
|
|
|
32
32
|
const ui = __importStar(require("../../../UIComponents"));
|
|
33
33
|
const AxisComponent_1 = __importDefault(require("../../../axes/AxisComponent"));
|
|
34
34
|
const expressions_ui_1 = require("@mwater/expressions-ui");
|
|
35
|
-
const
|
|
35
|
+
const expressions_ui_2 = require("@mwater/expressions-ui");
|
|
36
36
|
const ColorComponent_1 = __importDefault(require("../../../ColorComponent"));
|
|
37
37
|
class CalendarChartDesignerComponent extends react_1.default.Component {
|
|
38
38
|
// Updates design with the specified changes
|
|
@@ -67,7 +67,7 @@ class CalendarChartDesignerComponent extends react_1.default.Component {
|
|
|
67
67
|
this.updateDesign({ cellColor });
|
|
68
68
|
};
|
|
69
69
|
renderTable() {
|
|
70
|
-
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(
|
|
70
|
+
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(expressions_ui_2.TableSelectComponent, {
|
|
71
71
|
schema: this.props.schema,
|
|
72
72
|
value: this.props.design.table,
|
|
73
73
|
onChange: this.handleTableChange,
|
|
@@ -15,7 +15,7 @@ export default class ImageMosaicChart extends Chart {
|
|
|
15
15
|
}>;
|
|
16
16
|
getData(design: any, schema: Schema, dataSource: DataSource, filters: JsonQLFilter[] | null, callback: any): void;
|
|
17
17
|
createViewElement(options: ChartCreateViewElementOptions): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
18
|
-
createDataTable(design: any, schema: Schema, dataSource: DataSource, data: any):
|
|
18
|
+
createDataTable(design: any, schema: Schema, dataSource: DataSource, data: any): never[];
|
|
19
19
|
getFilterableTables(design: any, schema: Schema): any[];
|
|
20
20
|
getPlaceholderIcon(): string;
|
|
21
21
|
}
|
|
@@ -32,7 +32,7 @@ const R = react_1.default.createElement;
|
|
|
32
32
|
const ui = __importStar(require("../../../UIComponents"));
|
|
33
33
|
const AxisComponent_1 = __importDefault(require("../../../axes/AxisComponent"));
|
|
34
34
|
const expressions_ui_1 = require("@mwater/expressions-ui");
|
|
35
|
-
const
|
|
35
|
+
const expressions_ui_2 = require("@mwater/expressions-ui");
|
|
36
36
|
class ImageMosaicChartDesignerComponent extends react_1.default.Component {
|
|
37
37
|
// Updates design with the specified changes
|
|
38
38
|
updateDesign(changes) {
|
|
@@ -52,7 +52,7 @@ class ImageMosaicChartDesignerComponent extends react_1.default.Component {
|
|
|
52
52
|
return this.updateDesign({ imageAxis });
|
|
53
53
|
};
|
|
54
54
|
renderTable() {
|
|
55
|
-
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(
|
|
55
|
+
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(expressions_ui_2.TableSelectComponent, {
|
|
56
56
|
schema: this.props.schema,
|
|
57
57
|
value: this.props.design.table,
|
|
58
58
|
onChange: this.handleTableChange,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import ModalWindowComponent from "@mwater/react-library/lib/ModalWindowComponent";
|
|
2
3
|
export interface ImagePopupComponentProps {
|
|
3
4
|
imageManager: any;
|
|
4
5
|
}
|
|
@@ -9,12 +10,6 @@ interface ImagePopupComponentState {
|
|
|
9
10
|
export default class ImagePopupComponent extends React.Component<ImagePopupComponentProps, ImagePopupComponentState> {
|
|
10
11
|
constructor(props: any);
|
|
11
12
|
show(image: any): any;
|
|
12
|
-
render(): React.CElement<
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
onRequestClose: () => void;
|
|
15
|
-
}, React.Component<{
|
|
16
|
-
isOpen: boolean;
|
|
17
|
-
onRequestClose: () => void;
|
|
18
|
-
}, any, any>> | null;
|
|
13
|
+
render(): React.CElement<import("@mwater/react-library/lib/ModalWindowComponent").ModalWindowComponentProps, ModalWindowComponent> | null;
|
|
19
14
|
}
|
|
20
15
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import TabbedComponent from "@mwater/react-library/lib/TabbedComponent";
|
|
2
3
|
import * as uiComponents from "../../../UIComponents";
|
|
3
4
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
4
5
|
import { LayeredChartDesign } from "./LayeredChartDesign";
|
|
@@ -46,35 +47,5 @@ export default class LayeredChartDesignerComponent extends React.Component<Layer
|
|
|
46
47
|
}, HTMLElement> | undefined;
|
|
47
48
|
renderThresholds(): React.CElement<uiComponents.SectionComponentProps, uiComponents.SectionComponent> | null;
|
|
48
49
|
renderYRange(): React.CElement<uiComponents.SectionComponentProps, uiComponents.SectionComponent> | null;
|
|
49
|
-
render(): React.CElement<
|
|
50
|
-
initialTabId: string;
|
|
51
|
-
tabs: ({
|
|
52
|
-
id: string;
|
|
53
|
-
label: string;
|
|
54
|
-
elem: React.DetailedReactHTMLElement<{
|
|
55
|
-
style: {
|
|
56
|
-
paddingBottom: number;
|
|
57
|
-
};
|
|
58
|
-
}, HTMLElement>;
|
|
59
|
-
} | {
|
|
60
|
-
id: string;
|
|
61
|
-
label: string;
|
|
62
|
-
elem: React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
63
|
-
})[];
|
|
64
|
-
}, React.Component<{
|
|
65
|
-
initialTabId: string;
|
|
66
|
-
tabs: ({
|
|
67
|
-
id: string;
|
|
68
|
-
label: string;
|
|
69
|
-
elem: React.DetailedReactHTMLElement<{
|
|
70
|
-
style: {
|
|
71
|
-
paddingBottom: number;
|
|
72
|
-
};
|
|
73
|
-
}, HTMLElement>;
|
|
74
|
-
} | {
|
|
75
|
-
id: string;
|
|
76
|
-
label: string;
|
|
77
|
-
elem: React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
78
|
-
})[];
|
|
79
|
-
}, any, any>>;
|
|
50
|
+
render(): React.CElement<any, TabbedComponent>;
|
|
80
51
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
3
3
|
import * as uiComponents from "../../../UIComponents";
|
|
4
|
+
import * as ui from "@mwater/react-library/lib/bootstrap";
|
|
4
5
|
export interface LayeredChartLayerDesignerComponentProps {
|
|
5
6
|
design: any;
|
|
6
7
|
schema: Schema;
|
|
@@ -46,13 +47,7 @@ export default class LayeredChartLayerDesignerComponent extends React.Component<
|
|
|
46
47
|
}, HTMLElement> | null;
|
|
47
48
|
renderTable(): React.CElement<uiComponents.SectionComponentProps, uiComponents.SectionComponent>;
|
|
48
49
|
handlexAxisOnlyValuesPresentChange: (xAxisOnlyValuesPresent: boolean) => void;
|
|
49
|
-
renderXAxis(): (React.CElement<uiComponents.SectionComponentProps, uiComponents.SectionComponent> |
|
|
50
|
-
value: any;
|
|
51
|
-
onChange: (xAxisOnlyValuesPresent: boolean) => void;
|
|
52
|
-
}, React.Component<{
|
|
53
|
-
value: any;
|
|
54
|
-
onChange: (xAxisOnlyValuesPresent: boolean) => void;
|
|
55
|
-
}, any, any>> | undefined)[] | undefined;
|
|
50
|
+
renderXAxis(): (React.CElement<ui.CheckboxProps, ui.Checkbox> | React.CElement<uiComponents.SectionComponentProps, uiComponents.SectionComponent> | undefined)[] | undefined;
|
|
56
51
|
renderColorAxis(): React.DetailedReactHTMLElement<{
|
|
57
52
|
className: string;
|
|
58
53
|
}, HTMLElement> | undefined;
|
|
@@ -37,7 +37,7 @@ const ColorComponent_1 = __importDefault(require("../../../ColorComponent"));
|
|
|
37
37
|
const LayeredChartUtils = __importStar(require("./LayeredChartUtils"));
|
|
38
38
|
const LayeredChartCompiler_1 = __importDefault(require("./LayeredChartCompiler"));
|
|
39
39
|
const uiComponents = __importStar(require("../../../UIComponents"));
|
|
40
|
-
const
|
|
40
|
+
const expressions_ui_2 = require("@mwater/expressions-ui");
|
|
41
41
|
const ui = __importStar(require("@mwater/react-library/lib/bootstrap"));
|
|
42
42
|
const bootstrap_1 = require("@mwater/react-library/lib/bootstrap");
|
|
43
43
|
const PopoverHelpComponent_1 = __importDefault(require("@mwater/react-library/lib/PopoverHelpComponent"));
|
|
@@ -165,7 +165,7 @@ class LayeredChartLayerDesignerComponent extends react_1.default.Component {
|
|
|
165
165
|
}
|
|
166
166
|
renderTable() {
|
|
167
167
|
const layer = this.props.design.layers[this.props.index];
|
|
168
|
-
return R(uiComponents.SectionComponent, { icon: "fa-database", label: "Data Source" }, R(
|
|
168
|
+
return R(uiComponents.SectionComponent, { icon: "fa-database", label: "Data Source" }, R(expressions_ui_2.TableSelectComponent, {
|
|
169
169
|
schema: this.props.schema,
|
|
170
170
|
value: layer.table,
|
|
171
171
|
onChange: this.handleTableChange,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import * as ui from "@mwater/react-library/lib/bootstrap";
|
|
2
3
|
import { DataSource, Expr, Schema } from "@mwater/expressions";
|
|
3
4
|
import { PivotChartIntersection } from "./PivotChartDesign";
|
|
4
5
|
import { JsonQLFilter } from "../../../JsonQLFilter";
|
|
@@ -19,71 +20,76 @@ export default class IntersectionDesignerComponent extends React.Component<Inter
|
|
|
19
20
|
handleBackgroundColorOpacityChange: (newValue: any) => any;
|
|
20
21
|
handleFilterChange: (filter: any) => any;
|
|
21
22
|
renderValueAxis(): React.CElement<{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
label: React.ReactNode;
|
|
24
|
+
labelMuted?: boolean | undefined;
|
|
25
|
+
hint?: React.ReactNode;
|
|
26
|
+
help?: React.ReactNode;
|
|
27
|
+
required?: boolean | undefined;
|
|
28
|
+
hasSuccess?: boolean | undefined;
|
|
29
|
+
hasWarnings?: boolean | undefined;
|
|
30
|
+
hasErrors?: boolean | undefined;
|
|
31
|
+
}, ui.FormGroup>;
|
|
30
32
|
renderNullValue(): React.CElement<{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
label: React.ReactNode;
|
|
34
|
+
labelMuted?: boolean | undefined;
|
|
35
|
+
hint?: React.ReactNode;
|
|
36
|
+
help?: React.ReactNode;
|
|
37
|
+
required?: boolean | undefined;
|
|
38
|
+
hasSuccess?: boolean | undefined;
|
|
39
|
+
hasWarnings?: boolean | undefined;
|
|
40
|
+
hasErrors?: boolean | undefined;
|
|
41
|
+
}, ui.FormGroup> | null;
|
|
37
42
|
renderFilter(): React.CElement<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
id: string;
|
|
48
|
-
}, React.Component<{
|
|
49
|
-
id: string;
|
|
50
|
-
}, any, any>>)[];
|
|
51
|
-
}, any, any>>;
|
|
43
|
+
label: React.ReactNode;
|
|
44
|
+
labelMuted?: boolean | undefined;
|
|
45
|
+
hint?: React.ReactNode;
|
|
46
|
+
help?: React.ReactNode;
|
|
47
|
+
required?: boolean | undefined;
|
|
48
|
+
hasSuccess?: boolean | undefined;
|
|
49
|
+
hasWarnings?: boolean | undefined;
|
|
50
|
+
hasErrors?: boolean | undefined;
|
|
51
|
+
}, ui.FormGroup>;
|
|
52
52
|
renderStyling(): React.CElement<{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
label: React.ReactNode;
|
|
54
|
+
labelMuted?: boolean | undefined;
|
|
55
|
+
hint?: React.ReactNode;
|
|
56
|
+
help?: React.ReactNode;
|
|
57
|
+
required?: boolean | undefined;
|
|
58
|
+
hasSuccess?: boolean | undefined;
|
|
59
|
+
hasWarnings?: boolean | undefined;
|
|
60
|
+
hasErrors?: boolean | undefined;
|
|
61
|
+
}, ui.FormGroup>;
|
|
61
62
|
renderBackgroundColorConditions(): React.CElement<BackgroundColorConditionsComponentProps, BackgroundColorConditionsComponent>;
|
|
62
63
|
renderBackgroundColorAxis(): React.CElement<{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
label: React.ReactNode;
|
|
65
|
+
labelMuted?: boolean | undefined;
|
|
66
|
+
hint?: React.ReactNode;
|
|
67
|
+
help?: React.ReactNode;
|
|
68
|
+
required?: boolean | undefined;
|
|
69
|
+
hasSuccess?: boolean | undefined;
|
|
70
|
+
hasWarnings?: boolean | undefined;
|
|
71
|
+
hasErrors?: boolean | undefined;
|
|
72
|
+
}, ui.FormGroup>;
|
|
71
73
|
renderBackgroundColor(): React.CElement<{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
label: React.ReactNode;
|
|
75
|
+
labelMuted?: boolean | undefined;
|
|
76
|
+
hint?: React.ReactNode;
|
|
77
|
+
help?: React.ReactNode;
|
|
78
|
+
required?: boolean | undefined;
|
|
79
|
+
hasSuccess?: boolean | undefined;
|
|
80
|
+
hasWarnings?: boolean | undefined;
|
|
81
|
+
hasErrors?: boolean | undefined;
|
|
82
|
+
}, ui.FormGroup> | undefined;
|
|
80
83
|
renderBackgroundColorOpacityControl(): React.CElement<{
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
label: React.ReactNode;
|
|
85
|
+
labelMuted?: boolean | undefined;
|
|
86
|
+
hint?: React.ReactNode;
|
|
87
|
+
help?: React.ReactNode;
|
|
88
|
+
required?: boolean | undefined;
|
|
89
|
+
hasSuccess?: boolean | undefined;
|
|
90
|
+
hasWarnings?: boolean | undefined;
|
|
91
|
+
hasErrors?: boolean | undefined;
|
|
92
|
+
}, ui.FormGroup> | undefined;
|
|
87
93
|
render(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
88
94
|
}
|
|
89
95
|
interface BackgroundColorConditionsComponentProps {
|
|
@@ -103,13 +109,14 @@ interface BackgroundColorConditionsComponentProps {
|
|
|
103
109
|
declare class BackgroundColorConditionsComponent extends React.Component<BackgroundColorConditionsComponentProps> {
|
|
104
110
|
handleAdd: () => void;
|
|
105
111
|
render(): React.CElement<{
|
|
106
|
-
label:
|
|
107
|
-
labelMuted
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
label: React.ReactNode;
|
|
113
|
+
labelMuted?: boolean | undefined;
|
|
114
|
+
hint?: React.ReactNode;
|
|
115
|
+
help?: React.ReactNode;
|
|
116
|
+
required?: boolean | undefined;
|
|
117
|
+
hasSuccess?: boolean | undefined;
|
|
118
|
+
hasWarnings?: boolean | undefined;
|
|
119
|
+
hasErrors?: boolean | undefined;
|
|
120
|
+
}, ui.FormGroup>;
|
|
114
121
|
}
|
|
115
122
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import * as ui from "@mwater/react-library/lib/bootstrap";
|
|
2
3
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
3
4
|
export interface PivotChartDesignerComponentProps {
|
|
4
5
|
design: any;
|
|
@@ -25,12 +26,15 @@ export default class PivotChartDesignerComponent extends React.Component<PivotCh
|
|
|
25
26
|
className: string;
|
|
26
27
|
}, HTMLElement> | null;
|
|
27
28
|
renderStriping(): React.CElement<{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
label: React.ReactNode;
|
|
30
|
+
labelMuted?: boolean | undefined;
|
|
31
|
+
hint?: React.ReactNode;
|
|
32
|
+
help?: React.ReactNode;
|
|
33
|
+
required?: boolean | undefined;
|
|
34
|
+
hasSuccess?: boolean | undefined;
|
|
35
|
+
hasWarnings?: boolean | undefined;
|
|
36
|
+
hasErrors?: boolean | undefined;
|
|
37
|
+
}, ui.FormGroup> | null;
|
|
34
38
|
renderSetup(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
35
39
|
render(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
36
40
|
}
|
|
@@ -32,7 +32,7 @@ const R = react_1.default.createElement;
|
|
|
32
32
|
const uuid_1 = __importDefault(require("uuid"));
|
|
33
33
|
const ui = __importStar(require("@mwater/react-library/lib/bootstrap"));
|
|
34
34
|
const expressions_ui_1 = require("@mwater/expressions-ui");
|
|
35
|
-
const
|
|
35
|
+
const expressions_ui_2 = require("@mwater/expressions-ui");
|
|
36
36
|
const AxisComponent_1 = __importDefault(require("../../../axes/AxisComponent"));
|
|
37
37
|
// Designer for overall chart. Has a special setup mode first time it is run
|
|
38
38
|
class PivotChartDesignerComponent extends react_1.default.Component {
|
|
@@ -76,7 +76,7 @@ class PivotChartDesignerComponent extends react_1.default.Component {
|
|
|
76
76
|
return this.updateDesign({ intersections });
|
|
77
77
|
};
|
|
78
78
|
renderTable() {
|
|
79
|
-
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(
|
|
79
|
+
return R("div", { className: "mb-3" }, R("label", { className: "text-muted" }, R("i", { className: "fa fa-database" }), " ", "Data Source"), ": ", R(expressions_ui_2.TableSelectComponent, {
|
|
80
80
|
schema: this.props.schema,
|
|
81
81
|
value: this.props.design.table,
|
|
82
82
|
onChange: this.handleTableChange,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PropTypes from "prop-types";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import ActionCancelModalComponent from "@mwater/react-library/lib/ActionCancelModalComponent";
|
|
3
4
|
import { DataSource, Schema } from "@mwater/expressions";
|
|
4
5
|
import { JsonQLFilter, WidgetScope } from "../../..";
|
|
5
6
|
import { PivotChartDesign } from "./PivotChartDesign";
|
|
@@ -52,28 +53,8 @@ export default class PivotChartViewComponent extends React.Component<PivotChartV
|
|
|
52
53
|
paddingRight: number;
|
|
53
54
|
};
|
|
54
55
|
}, HTMLElement>;
|
|
55
|
-
renderEditSegmentModal(): React.CElement<
|
|
56
|
-
|
|
57
|
-
onAction: () => void;
|
|
58
|
-
onCancel: () => void;
|
|
59
|
-
size: string;
|
|
60
|
-
}, React.Component<{
|
|
61
|
-
title: string;
|
|
62
|
-
onAction: () => void;
|
|
63
|
-
onCancel: () => void;
|
|
64
|
-
size: string;
|
|
65
|
-
}, any, any>> | undefined;
|
|
66
|
-
renderEditIntersectionModal(): React.CElement<{
|
|
67
|
-
title: string;
|
|
68
|
-
onAction: () => void;
|
|
69
|
-
onCancel: () => void;
|
|
70
|
-
size: string;
|
|
71
|
-
}, React.Component<{
|
|
72
|
-
title: string;
|
|
73
|
-
onAction: () => void;
|
|
74
|
-
onCancel: () => void;
|
|
75
|
-
size: string;
|
|
76
|
-
}, any, any>> | undefined;
|
|
56
|
+
renderEditSegmentModal(): React.CElement<import("@mwater/react-library/lib/ActionCancelModalComponent").ActionCancelModalComponentProps, ActionCancelModalComponent> | undefined;
|
|
57
|
+
renderEditIntersectionModal(): React.CElement<import("@mwater/react-library/lib/ActionCancelModalComponent").ActionCancelModalComponentProps, ActionCancelModalComponent> | undefined;
|
|
77
58
|
render(): React.DetailedReactHTMLElement<{
|
|
78
59
|
style: {
|
|
79
60
|
width: number;
|