dtable-statistic 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/api/dtable-db-api.js +3 -10
- package/es/calculator/base-calculator.js +12 -20
- package/es/calculator/basic-chart-calculator.js +65 -72
- package/es/calculator/combination-calculator.js +57 -64
- package/es/calculator/compare-bar-calculator.js +26 -33
- package/es/calculator/completeness-calculator.js +30 -37
- package/es/calculator/copy-value.js +1 -7
- package/es/calculator/dashboard-calculator.js +13 -20
- package/es/calculator/heat-map-calculator.js +18 -25
- package/es/calculator/horizontal-bar-calculator.js +8 -15
- package/es/calculator/index.js +35 -42
- package/es/calculator/map-calculator.js +22 -29
- package/es/calculator/mirror-calculator.js +20 -27
- package/es/calculator/number-card-calculator.js +10 -17
- package/es/calculator/pivot-table-calculator.js +58 -65
- package/es/calculator/scatter-calculator.js +14 -21
- package/es/calculator/thread-manager.js +1 -7
- package/es/calculator/trend-calculator.js +22 -29
- package/es/calculator/workers/basic-chart-calculator-worker.js +76 -83
- package/es/calculator/workers/calculator.worker.js +30 -33
- package/es/calculator/workers/card-calculator-worker.js +13 -19
- package/es/calculator/workers/combination-calculator-worker.js +46 -53
- package/es/calculator/workers/compare-bar-chart-calculator-worker.js +22 -29
- package/es/calculator/workers/completeness-calculator-worker.js +34 -41
- package/es/calculator/workers/dashboard-calculator-worker.js +18 -24
- package/es/calculator/workers/mirror-calculator-worker.js +22 -29
- package/es/calculator/workers/pivot-table-calculator-worker.js +77 -84
- package/es/calculator/workers/scatter-calculator-worker.js +20 -27
- package/es/calculator/workers/trend-calculator-worker.js +27 -34
- package/es/calculator/world-map-calculator.js +17 -24
- package/es/components/common-add-tool.js +5 -12
- package/es/components/dialog/chart-addition-edit-dialog.js +12 -20
- package/es/components/dialog/chart-addition-widgets/chart-selector.js +101 -108
- package/es/components/dialog/color-theme-dialog.js +15 -22
- package/es/components/dialog/delete-confirmation-dialog.js +11 -18
- package/es/components/dialog/enlarged-chart-dialog.js +20 -28
- package/es/components/dialog/new-table-dialog.js +16 -23
- package/es/components/dialog/new-view-dialog.js +14 -21
- package/es/components/dialog/rename-view-dialog.js +14 -22
- package/es/components/dialog/statistic-record-dialog/index.js +37 -45
- package/es/components/dialog/statistic-types-dialog/index.js +14 -22
- package/es/components/dialog/table-select-dialog.js +15 -23
- package/es/components/dropdown-menu/statistic-dropdown-menu.js +41 -49
- package/es/components/dtable-popover.js +12 -19
- package/es/components/dtable-search-input.js +13 -21
- package/es/components/dtable-select.js +15 -21
- package/es/components/icon.js +4 -11
- package/es/components/index.js +11 -76
- package/es/components/loading.js +3 -10
- package/es/components/modal-portal.js +5 -12
- package/es/components/popover/color-rules/color-rule.js +25 -33
- package/es/components/popover/color-rules/index.js +6 -14
- package/es/components/popover/color-rules/rule-filters/filter.js +27 -34
- package/es/components/popover/color-rules/rule-filters/index.js +17 -25
- package/es/components/popover/color-rules/rule-filters/number-input.js +9 -17
- package/es/components/popover/color-rules-popover.js +24 -32
- package/es/components/popover/color-selector-popover.js +10 -17
- package/es/components/seatable-radio/index.js +9 -16
- package/es/components/select/index.js +2 -9
- package/es/components/select/option-group.js +19 -27
- package/es/components/select/option.js +6 -14
- package/es/components/select/select.js +17 -25
- package/es/components/toast/alert.js +24 -31
- package/es/components/toast/index.js +3 -10
- package/es/components/toast/toast.js +12 -20
- package/es/components/toast/toastManager.js +9 -17
- package/es/components/toast/toaster.js +6 -14
- package/es/constants/color-rules.js +6 -12
- package/es/constants/dtable-select-style.js +4 -9
- package/es/constants/event-types.js +4 -10
- package/es/constants/index.js +67 -96
- package/es/constants/key-codes.js +0 -2
- package/es/constants/map.js +2 -8
- package/es/constants/model.js +20 -26
- package/es/constants/regions.js +3 -8
- package/es/constants/zIndexes.js +1 -7
- package/es/custom-g2.js +208 -236
- package/es/dashboard.js +50 -58
- package/es/desktop-dashboard.js +47 -55
- package/es/index.js +3 -6
- package/es/locale/index.js +10 -13
- package/es/locale/lang/de.js +1 -7
- package/es/locale/lang/en.js +1 -7
- package/es/locale/lang/fr.js +1 -7
- package/es/locale/lang/zh_CN.js +1 -7
- package/es/mobile-dashboard.js +38 -46
- package/es/model/bar-group.js +11 -19
- package/es/model/bar.js +10 -18
- package/es/model/base-model.js +2 -9
- package/es/model/basic-number-card.js +8 -16
- package/es/model/collaborators.js +2 -9
- package/es/model/combination.js +12 -20
- package/es/model/compare-bar.js +16 -24
- package/es/model/completeness-group.js +8 -16
- package/es/model/completeness.js +5 -13
- package/es/model/custom-bar.js +6 -14
- package/es/model/dashboard.js +6 -14
- package/es/model/generic-model.js +133 -141
- package/es/model/heat-map.js +11 -19
- package/es/model/horizontal-bar-group.js +10 -18
- package/es/model/horizontal-bar.js +10 -18
- package/es/model/index.js +53 -185
- package/es/model/map.js +15 -23
- package/es/model/mirror.js +13 -21
- package/es/model/pie.js +10 -18
- package/es/model/ring.js +11 -19
- package/es/model/scatter.js +6 -14
- package/es/model/statistic-dashboard.js +2 -9
- package/es/model/table.js +10 -18
- package/es/model/trend.js +12 -20
- package/es/model/world-map.js +13 -21
- package/es/service/chart-service.js +7 -14
- package/es/service/dashboard-service.js +34 -41
- package/es/service/map-json.js +8 -14
- package/es/stat-editor/chart-name-editor.js +8 -15
- package/es/stat-editor/index.js +16 -24
- package/es/stat-editor/stat-settings/advance-chart-settings/basic-number-card-settings.js +21 -29
- package/es/stat-editor/stat-settings/advance-chart-settings/combination-settings.js +49 -57
- package/es/stat-editor/stat-settings/advance-chart-settings/dashboard-chart-settings.js +23 -31
- package/es/stat-editor/stat-settings/advance-chart-settings/geo-granularity-settings.js +4 -11
- package/es/stat-editor/stat-settings/advance-chart-settings/heat-map-settings.js +19 -27
- package/es/stat-editor/stat-settings/advance-chart-settings/index.js +43 -51
- package/es/stat-editor/stat-settings/advance-chart-settings/map-settings.js +23 -31
- package/es/stat-editor/stat-settings/advance-chart-settings/mirror-settings.js +23 -31
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/combination-style-setting.js +37 -45
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/heat-map-settings.js +19 -27
- package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/map-setting.js +26 -34
- package/es/stat-editor/stat-settings/advance-chart-settings/summary-settings.js +47 -55
- package/es/stat-editor/stat-settings/advance-chart-settings/trend-chart-settings.js +22 -30
- package/es/stat-editor/stat-settings/advance-chart-settings/world-map-settings.js +18 -26
- package/es/stat-editor/stat-settings/basic-chart-settings/advance-bar-chart-settings.js +27 -35
- package/es/stat-editor/stat-settings/basic-chart-settings/bar-settings.js +24 -32
- package/es/stat-editor/stat-settings/basic-chart-settings/completeness-chart-settings.js +33 -41
- package/es/stat-editor/stat-settings/basic-chart-settings/custom-bar-settings.js +22 -30
- package/es/stat-editor/stat-settings/basic-chart-settings/groupby-settings.js +27 -26
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-axis-group-settings.js +46 -54
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-bar-settings.js +23 -31
- package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-group-chart-settings.js +26 -34
- package/es/stat-editor/stat-settings/basic-chart-settings/index.js +77 -85
- package/es/stat-editor/stat-settings/basic-chart-settings/pie-settings.js +21 -29
- package/es/stat-editor/stat-settings/basic-chart-settings/pivot-table-settings.js +73 -81
- package/es/stat-editor/stat-settings/basic-chart-settings/scatter-settings.js +16 -24
- package/es/stat-editor/stat-settings/basic-chart-settings/stack-item-settings.js +19 -27
- package/es/stat-editor/stat-settings/basic-chart-settings/stacks-settings.js +18 -26
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/bar-chart-style-setting.js +49 -57
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/completeness-style.js +17 -25
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/horizontal-bar-chart-style.js +47 -55
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/label-font-size-editor.js +11 -19
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/pie-chart-style-settings.js +45 -53
- package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/time-compare-style.js +9 -17
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-method-setting.js +20 -28
- package/es/stat-editor/stat-settings/basic-chart-settings/summary-settings.js +30 -38
- package/es/stat-editor/stat-settings/basic-chart-settings/time-comparison-settings.js +50 -58
- package/es/stat-editor/stat-settings/basic-chart-settings/timer-picker.js +17 -25
- package/es/stat-editor/stat-settings/basic-chart-settings/y-axis-group-settings.js +47 -55
- package/es/stat-editor/stat-settings/color-setting/color-group-selector.js +11 -19
- package/es/stat-editor/stat-settings/color-setting/color-picker.js +12 -19
- package/es/stat-editor/stat-settings/color-setting/color-use-type-selector.js +62 -70
- package/es/stat-editor/stat-settings/map/map-level.js +13 -20
- package/es/stat-editor/stat-settings/map/map-province-city.js +20 -27
- package/es/stat-editor/stat-settings/public-setting/axis-label-position-setting.js +11 -19
- package/es/stat-editor/stat-settings/public-setting/base-settings.js +20 -28
- package/es/stat-editor/stat-settings/public-setting/calender.js +22 -29
- package/es/stat-editor/stat-settings/public-setting/column-settings.js +6 -13
- package/es/stat-editor/stat-settings/public-setting/custom-title-setting.js +9 -16
- package/es/stat-editor/stat-settings/public-setting/data-sort-setting.js +13 -21
- package/es/stat-editor/stat-settings/public-setting/ind-toggle-setting.js +8 -15
- package/es/stat-editor/stat-settings/public-setting/min-max-setting.js +11 -19
- package/es/stat-editor/stat-settings/public-setting/numeric-summary-item.js +27 -35
- package/es/stat-editor/stat-settings/public-setting/toggle-setting.js +8 -15
- package/es/stat-editor/stat-settings/public-setting/type-settings/index.js +18 -26
- package/es/stat-list/chart-preview.js +20 -28
- package/es/stat-list/index.js +27 -35
- package/es/stat-view/area-chart.js +43 -50
- package/es/stat-view/bar-chart.js +47 -54
- package/es/stat-view/base-chart.js +24 -32
- package/es/stat-view/basic-number-card.js +19 -26
- package/es/stat-view/combination-chart.js +49 -56
- package/es/stat-view/compare-chart.js +39 -46
- package/es/stat-view/completeness-chart.js +28 -35
- package/es/stat-view/custom-bar.js +31 -38
- package/es/stat-view/dashboard-chart.js +15 -22
- package/es/stat-view/heat-map.js +43 -50
- package/es/stat-view/horizontal-bar-chart.js +51 -58
- package/es/stat-view/index.js +73 -80
- package/es/stat-view/line-chart.js +39 -46
- package/es/stat-view/map.js +33 -40
- package/es/stat-view/mirror.js +21 -28
- package/es/stat-view/pie-chart.js +29 -36
- package/es/stat-view/pivot-table/index.js +32 -39
- package/es/stat-view/pivot-table/one-dimension-table-no-numeric-columns.js +31 -39
- package/es/stat-view/pivot-table/one-dimension-table-with-numeric-columns.js +29 -37
- package/es/stat-view/pivot-table/pivot-table-display-name.js +46 -54
- package/es/stat-view/pivot-table/two-dimension-table.js +62 -70
- package/es/stat-view/ring-chart.js +38 -45
- package/es/stat-view/scatter-chart.js +30 -37
- package/es/stat-view/treemap-chart.js +37 -44
- package/es/stat-view/trend-chart.js +32 -39
- package/es/stat-view/world-map.js +33 -40
- package/es/tabs/index.js +32 -40
- package/es/tabs/tab.js +26 -34
- package/es/utils/basic-chart-utils.js +2 -9
- package/es/utils/cell-format.js +14 -22
- package/es/utils/cell-value.js +7 -14
- package/es/utils/collaborator.js +4 -13
- package/es/utils/color-utils.js +18 -29
- package/es/utils/column-utils.js +18 -29
- package/es/utils/column.js +4 -11
- package/es/utils/common-utils.js +41 -65
- package/es/utils/date-format.js +2 -8
- package/es/utils/export-table-utils.js +82 -91
- package/es/utils/index.js +11 -100
- package/es/utils/map.js +26 -36
- package/es/utils/model.js +6 -14
- package/es/utils/object.js +6 -15
- package/es/utils/pivot-table.js +16 -23
- package/es/utils/row-utils.js +23 -33
- package/es/utils/search.js +21 -29
- package/es/utils/sql-utils.js +65 -75
- package/es/utils/stat-utils.js +60 -66
- package/es/utils/trend-utils.js +32 -40
- package/package.json +1 -1
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _reactIntlUniversal = _interopRequireDefault(require("react-intl-universal"));
|
|
11
|
-
var _reactstrap = require("reactstrap");
|
|
12
|
-
var _components = require("../../components");
|
|
13
|
-
var _constants = require("../../constants");
|
|
14
|
-
class TableSelectDialog extends _react.Component {
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import intl from 'react-intl-universal';
|
|
3
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, Button, Label, FormGroup } from 'reactstrap';
|
|
4
|
+
import { DTableSelect } from '../../components';
|
|
5
|
+
import { KeyCodes } from '../../constants';
|
|
6
|
+
class TableSelectDialog extends Component {
|
|
15
7
|
constructor(props) {
|
|
16
8
|
super(props);
|
|
17
9
|
this.createTableOptions = tables => {
|
|
@@ -21,7 +13,7 @@ class TableSelectDialog extends _react.Component {
|
|
|
21
13
|
name,
|
|
22
14
|
_id: value
|
|
23
15
|
} = table;
|
|
24
|
-
const label = /*#__PURE__*/
|
|
16
|
+
const label = /*#__PURE__*/React.createElement("span", {
|
|
25
17
|
className: "select-module select-module-name"
|
|
26
18
|
}, name);
|
|
27
19
|
return {
|
|
@@ -31,7 +23,7 @@ class TableSelectDialog extends _react.Component {
|
|
|
31
23
|
});
|
|
32
24
|
};
|
|
33
25
|
this.onHotKey = e => {
|
|
34
|
-
if (e.keyCode ===
|
|
26
|
+
if (e.keyCode === KeyCodes.Enter) {
|
|
35
27
|
e.preventDefault();
|
|
36
28
|
this.handleSubmit();
|
|
37
29
|
}
|
|
@@ -69,24 +61,24 @@ class TableSelectDialog extends _react.Component {
|
|
|
69
61
|
const {
|
|
70
62
|
title
|
|
71
63
|
} = this.props;
|
|
72
|
-
return /*#__PURE__*/
|
|
64
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
73
65
|
isOpen: true,
|
|
74
66
|
toggle: this.toggle,
|
|
75
67
|
autoFocus: false
|
|
76
|
-
}, /*#__PURE__*/
|
|
68
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
77
69
|
toggle: this.toggle
|
|
78
|
-
}, title), /*#__PURE__*/
|
|
70
|
+
}, title), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(FormGroup, null, /*#__PURE__*/React.createElement(Label, null, intl.get('Select_table')), /*#__PURE__*/React.createElement(DTableSelect, {
|
|
79
71
|
options: this.tables,
|
|
80
72
|
value: this.state.selectedTable,
|
|
81
73
|
onChange: this.onSelectTable,
|
|
82
74
|
menuPortalTarget: '#wrapper'
|
|
83
|
-
}))), /*#__PURE__*/
|
|
75
|
+
}))), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
84
76
|
color: "secondary",
|
|
85
77
|
onClick: this.toggle
|
|
86
|
-
},
|
|
78
|
+
}, intl.get('Cancel')), /*#__PURE__*/React.createElement(Button, {
|
|
87
79
|
color: "primary",
|
|
88
80
|
onClick: this.handleSubmit
|
|
89
|
-
},
|
|
81
|
+
}, intl.get('Submit'))));
|
|
90
82
|
}
|
|
91
83
|
}
|
|
92
|
-
|
|
84
|
+
export default TableSelectDialog;
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _reactIntlUniversal = _interopRequireDefault(require("react-intl-universal"));
|
|
11
|
-
var _reactstrap = require("reactstrap");
|
|
12
|
-
var _constants = require("../../constants");
|
|
13
|
-
var _icon = _interopRequireDefault(require("../icon"));
|
|
14
|
-
class StatisticDropdownMenu extends _react.default.Component {
|
|
1
|
+
import React, { Fragment } from 'react';
|
|
2
|
+
import intl from 'react-intl-universal';
|
|
3
|
+
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
|
|
4
|
+
import { STAT_TYPE } from '../../constants';
|
|
5
|
+
import Icon from '../icon';
|
|
6
|
+
class StatisticDropdownMenu extends React.Component {
|
|
15
7
|
constructor(props) {
|
|
16
8
|
super(props);
|
|
17
9
|
this.onMouseDown = event => {
|
|
@@ -64,51 +56,51 @@ class StatisticDropdownMenu extends _react.default.Component {
|
|
|
64
56
|
} = this.props;
|
|
65
57
|
const otherViews = this.props.getOtherStatistics();
|
|
66
58
|
const hasOtherViews = otherViews && otherViews.length > 0;
|
|
67
|
-
return /*#__PURE__*/
|
|
59
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Dropdown, {
|
|
68
60
|
className: "dtable-dropdown-menu",
|
|
69
61
|
isOpen: this.state.isItemMenuShow,
|
|
70
62
|
onMouseDown: this.onMouseDown,
|
|
71
63
|
toggle: this.onDropdownToggleClick
|
|
72
|
-
}, /*#__PURE__*/
|
|
64
|
+
}, /*#__PURE__*/React.createElement(DropdownToggle, {
|
|
73
65
|
tag: "span",
|
|
74
66
|
"data-toggle": "dropdown",
|
|
75
67
|
"aria-expanded": this.state.isItemMenuShow
|
|
76
|
-
}, /*#__PURE__*/
|
|
68
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
77
69
|
className: "toggle-icon dtable-font dtable-icon-more-level"
|
|
78
|
-
})), /*#__PURE__*/
|
|
70
|
+
})), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
79
71
|
className: "stat-item-dropdown-menu",
|
|
80
72
|
right: true
|
|
81
|
-
}, !isTableReadOnly && /*#__PURE__*/
|
|
73
|
+
}, !isTableReadOnly && /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
82
74
|
onMouseDown: this.editStatItem
|
|
83
|
-
}, /*#__PURE__*/
|
|
75
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
84
76
|
className: "item-icon dtable-font dtable-icon-rename"
|
|
85
|
-
}), /*#__PURE__*/
|
|
77
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
86
78
|
className: "item-text"
|
|
87
|
-
},
|
|
79
|
+
}, intl.get('Edit'))), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
88
80
|
onMouseDown: this.props.copyStatItem
|
|
89
|
-
}, /*#__PURE__*/
|
|
81
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
90
82
|
className: "item-icon dtable-font dtable-icon-copy"
|
|
91
|
-
}), /*#__PURE__*/
|
|
83
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
92
84
|
className: "item-text"
|
|
93
|
-
},
|
|
85
|
+
}, intl.get('Copy')))), chartType === STAT_TYPE.PIVOT_TABLE && !isTableReadOnly && /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
94
86
|
onClick: this.props.onNewTableDialogToggle
|
|
95
|
-
}, /*#__PURE__*/
|
|
87
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
96
88
|
className: "item-icon dtable-font dtable-icon-export"
|
|
97
|
-
}), /*#__PURE__*/
|
|
89
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
98
90
|
className: "item-text"
|
|
99
|
-
},
|
|
91
|
+
}, intl.get('Export_to_a_new_table'))), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
100
92
|
onClick: this.props.onUpdateTableDialogToggle
|
|
101
|
-
}, /*#__PURE__*/
|
|
93
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
102
94
|
className: "item-icon dtable-font dtable-icon-update"
|
|
103
|
-
}), /*#__PURE__*/
|
|
95
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
104
96
|
className: "item-text"
|
|
105
|
-
},
|
|
97
|
+
}, intl.get('Update_to_a_table')))), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
106
98
|
onMouseDown: this.props.onExportChart
|
|
107
|
-
}, /*#__PURE__*/
|
|
99
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
108
100
|
className: "item-icon dtable-font dtable-icon-download"
|
|
109
|
-
}), /*#__PURE__*/
|
|
101
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
110
102
|
className: "item-text"
|
|
111
|
-
},
|
|
103
|
+
}, intl.get('Export_as_picture'))), !isTableReadOnly && /*#__PURE__*/React.createElement(Fragment, null, hasOtherViews && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
112
104
|
className: "pr-2 btn-move-to-statistic-view",
|
|
113
105
|
tag: "div",
|
|
114
106
|
onClick: evt => {
|
|
@@ -118,26 +110,26 @@ class StatisticDropdownMenu extends _react.default.Component {
|
|
|
118
110
|
},
|
|
119
111
|
onMouseEnter: this.onShowViewsMenu,
|
|
120
112
|
onMouseLeave: this.onHideViewsMenu
|
|
121
|
-
}, /*#__PURE__*/
|
|
113
|
+
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
122
114
|
className: "statistic-views-dropdown",
|
|
123
115
|
direction: "right",
|
|
124
116
|
isOpen: this.state.isShowViewsMenu,
|
|
125
117
|
toggle: this.onToggleViewsMenu
|
|
126
|
-
}, /*#__PURE__*/
|
|
118
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
127
119
|
className: "statistic-views-dropdown-toggle",
|
|
128
120
|
ref: ref => this.viewsDropdownToggle = ref
|
|
129
|
-
}, /*#__PURE__*/
|
|
121
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
130
122
|
symbol: "move-to",
|
|
131
123
|
className: "statistic-type-move-to item-icon"
|
|
132
|
-
}), /*#__PURE__*/
|
|
124
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
133
125
|
className: "item-text"
|
|
134
|
-
},
|
|
126
|
+
}, intl.get('Move_to')), /*#__PURE__*/React.createElement("span", {
|
|
135
127
|
className: "icon-dropdown-toggle"
|
|
136
|
-
}, /*#__PURE__*/
|
|
128
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
137
129
|
className: "item-icon dtable-font dtable-icon-right-slide"
|
|
138
|
-
})), /*#__PURE__*/
|
|
130
|
+
})), /*#__PURE__*/React.createElement(DropdownToggle, {
|
|
139
131
|
className: "move-to-statistic-views-toggle"
|
|
140
|
-
})), this.state.isShowViewsMenu && /*#__PURE__*/
|
|
132
|
+
})), this.state.isShowViewsMenu && /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
141
133
|
className: "statistic-views-dropdown-menu",
|
|
142
134
|
flip: false,
|
|
143
135
|
positionFixed: true,
|
|
@@ -151,20 +143,20 @@ class StatisticDropdownMenu extends _react.default.Component {
|
|
|
151
143
|
_id,
|
|
152
144
|
name
|
|
153
145
|
} = view;
|
|
154
|
-
return /*#__PURE__*/
|
|
146
|
+
return /*#__PURE__*/React.createElement(DropdownItem, {
|
|
155
147
|
key: "move-to-statistic-view-".concat(_id),
|
|
156
148
|
onClick: this.onMoveChartToView.bind(this, _id)
|
|
157
|
-
}, /*#__PURE__*/
|
|
149
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
158
150
|
className: "statistic-view-name text-truncate",
|
|
159
151
|
title: name
|
|
160
152
|
}, name));
|
|
161
|
-
})))), /*#__PURE__*/
|
|
153
|
+
})))), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
162
154
|
onMouseDown: this.deleteStatItem
|
|
163
|
-
}, /*#__PURE__*/
|
|
155
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
164
156
|
className: "item-icon dtable-font dtable-icon-delete"
|
|
165
|
-
}), /*#__PURE__*/
|
|
157
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
166
158
|
className: "item-text"
|
|
167
|
-
},
|
|
159
|
+
}, intl.get('Delete')))))));
|
|
168
160
|
}
|
|
169
161
|
}
|
|
170
|
-
|
|
162
|
+
export default StatisticDropdownMenu;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _reactstrap = require("reactstrap");
|
|
10
|
-
var _utils = require("../utils");
|
|
11
|
-
var _constants = require("../constants");
|
|
12
|
-
class DTablePopover extends _react.default.Component {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Popover } from 'reactstrap';
|
|
3
|
+
import { getEventClassName } from '../utils';
|
|
4
|
+
import { CommonEventTypes, KeyCodes } from '../constants';
|
|
5
|
+
class DTablePopover extends React.Component {
|
|
13
6
|
constructor() {
|
|
14
7
|
super(...arguments);
|
|
15
8
|
this.dtablePopoverRef = null;
|
|
@@ -23,10 +16,10 @@ class DTablePopover extends _react.default.Component {
|
|
|
23
16
|
canHideDTablePopover,
|
|
24
17
|
hideDTablePopoverWithEsc
|
|
25
18
|
} = this.props;
|
|
26
|
-
if (e.keyCode ===
|
|
19
|
+
if (e.keyCode === KeyCodes.Escape && typeof hideDTablePopoverWithEsc === 'function' && !this.isSelectOpen) {
|
|
27
20
|
e.preventDefault();
|
|
28
21
|
hideDTablePopoverWithEsc();
|
|
29
|
-
} else if (e.keyCode ===
|
|
22
|
+
} else if (e.keyCode === KeyCodes.Enter) {
|
|
30
23
|
// Resolve the default behavior of the enter key when entering formulas is blocked
|
|
31
24
|
if (canHideDTablePopover) return;
|
|
32
25
|
e.stopImmediatePropagation();
|
|
@@ -40,7 +33,7 @@ class DTablePopover extends _react.default.Component {
|
|
|
40
33
|
canHideDTablePopover
|
|
41
34
|
} = this.props;
|
|
42
35
|
if (!canHideDTablePopover) return;
|
|
43
|
-
if (this.dtablePopoverRef && e &&
|
|
36
|
+
if (this.dtablePopoverRef && e && getEventClassName(e).indexOf('popover') === -1 && !this.dtablePopoverRef.contains(e.target)) {
|
|
44
37
|
this.props.hideDTablePopover(e);
|
|
45
38
|
}
|
|
46
39
|
};
|
|
@@ -52,7 +45,7 @@ class DTablePopover extends _react.default.Component {
|
|
|
52
45
|
document.addEventListener('mousedown', this.onMouseDown);
|
|
53
46
|
document.addEventListener('keydown', this.onKeyDown);
|
|
54
47
|
window.addEventListener('popstate', this.onHistoryState);
|
|
55
|
-
this.unsubscribeOpenSelect = window.app.eventBus.subscribe(
|
|
48
|
+
this.unsubscribeOpenSelect = window.app.eventBus.subscribe(CommonEventTypes.OPEN_SELECT, this.setSelectStatus);
|
|
56
49
|
}
|
|
57
50
|
componentWillUnmount() {
|
|
58
51
|
document.removeEventListener('mousedown', this.onMouseDown);
|
|
@@ -74,7 +67,7 @@ class DTablePopover extends _react.default.Component {
|
|
|
74
67
|
if (boundariesElement) {
|
|
75
68
|
additionalProps.boundariesElement = boundariesElement;
|
|
76
69
|
}
|
|
77
|
-
return /*#__PURE__*/
|
|
70
|
+
return /*#__PURE__*/React.createElement(Popover, Object.assign({
|
|
78
71
|
placement: placement,
|
|
79
72
|
isOpen: true,
|
|
80
73
|
target: target,
|
|
@@ -83,7 +76,7 @@ class DTablePopover extends _react.default.Component {
|
|
|
83
76
|
innerClassName: innerClassName,
|
|
84
77
|
className: popoverClassName,
|
|
85
78
|
modifiers: modifiers
|
|
86
|
-
}, additionalProps), /*#__PURE__*/
|
|
79
|
+
}, additionalProps), /*#__PURE__*/React.createElement("div", {
|
|
87
80
|
ref: ref => this.dtablePopoverRef = ref,
|
|
88
81
|
onClick: this.onPopoverInsideClick
|
|
89
82
|
}, this.props.children));
|
|
@@ -94,4 +87,4 @@ DTablePopover.defaultProps = {
|
|
|
94
87
|
hideArrow: true,
|
|
95
88
|
canHideDTablePopover: true
|
|
96
89
|
};
|
|
97
|
-
|
|
90
|
+
export default DTablePopover;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var _utils = require("../utils");
|
|
12
|
-
class DtableSearchInput extends _react.Component {
|
|
1
|
+
import React, { Component, Fragment } from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { isFunction } from '../utils';
|
|
4
|
+
class DtableSearchInput extends Component {
|
|
13
5
|
constructor(props) {
|
|
14
6
|
super(props);
|
|
15
7
|
this.onCompositionStart = () => {
|
|
@@ -66,17 +58,17 @@ class DtableSearchInput extends _react.Component {
|
|
|
66
58
|
const {
|
|
67
59
|
ClearIndicator
|
|
68
60
|
} = components;
|
|
69
|
-
if (
|
|
70
|
-
return
|
|
61
|
+
if (React.isValidElement(ClearIndicator)) {
|
|
62
|
+
return React.cloneElement(ClearIndicator, {
|
|
71
63
|
clearValue: this.clearSearch
|
|
72
64
|
});
|
|
73
|
-
} else if (
|
|
74
|
-
return /*#__PURE__*/
|
|
65
|
+
} else if (isFunction(ClearIndicator)) {
|
|
66
|
+
return /*#__PURE__*/React.createElement(ClearIndicator, {
|
|
75
67
|
clearValue: this.clearSearch
|
|
76
68
|
});
|
|
77
69
|
}
|
|
78
|
-
return /*#__PURE__*/
|
|
79
|
-
className: (
|
|
70
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
71
|
+
className: classnames('search-text-clear input-icon-addon', clearClassName),
|
|
80
72
|
onClick: this.clearSearch
|
|
81
73
|
}, "\xD7");
|
|
82
74
|
};
|
|
@@ -111,10 +103,10 @@ class DtableSearchInput extends _react.Component {
|
|
|
111
103
|
const {
|
|
112
104
|
searchValue
|
|
113
105
|
} = this.state;
|
|
114
|
-
return /*#__PURE__*/
|
|
106
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("input", {
|
|
115
107
|
type: "text",
|
|
116
108
|
value: searchValue,
|
|
117
|
-
className: (
|
|
109
|
+
className: classnames('form-control', className),
|
|
118
110
|
onChange: this.onChange,
|
|
119
111
|
autoFocus: autoFocus,
|
|
120
112
|
placeholder: placeholder,
|
|
@@ -132,4 +124,4 @@ DtableSearchInput.defaultProps = {
|
|
|
132
124
|
disabled: false,
|
|
133
125
|
value: ''
|
|
134
126
|
};
|
|
135
|
-
|
|
127
|
+
export default DtableSearchInput;
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _reactSelect = _interopRequireWildcard(require("react-select"));
|
|
11
|
-
var _constants = require("../constants");
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Select, { components } from 'react-select';
|
|
3
|
+
import { MenuSelectStyle } from '../constants';
|
|
12
4
|
const DropdownIndicator = props => {
|
|
13
|
-
return
|
|
5
|
+
return components.DropdownIndicator && /*#__PURE__*/React.createElement(components.DropdownIndicator, props, /*#__PURE__*/React.createElement("span", {
|
|
14
6
|
className: "dtable-font dtable-icon-drop-down",
|
|
15
7
|
style: {
|
|
16
8
|
fontSize: '12px'
|
|
17
9
|
}
|
|
18
10
|
}));
|
|
19
11
|
};
|
|
20
|
-
const MenuList = props => /*#__PURE__*/
|
|
12
|
+
const MenuList = props => /*#__PURE__*/React.createElement("div", {
|
|
21
13
|
onClick: e => e.nativeEvent.stopImmediatePropagation(),
|
|
22
14
|
onMouseDown: e => e.nativeEvent.stopImmediatePropagation()
|
|
23
|
-
}, /*#__PURE__*/
|
|
15
|
+
}, /*#__PURE__*/React.createElement(components.MenuList, props, props.children));
|
|
24
16
|
const Option = props => {
|
|
25
|
-
return /*#__PURE__*/
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
26
18
|
style: props.data.style
|
|
27
|
-
}, /*#__PURE__*/
|
|
19
|
+
}, /*#__PURE__*/React.createElement(components.Option, props));
|
|
28
20
|
};
|
|
29
|
-
class DTableSelect extends
|
|
21
|
+
class DTableSelect extends React.Component {
|
|
30
22
|
constructor() {
|
|
31
23
|
super(...arguments);
|
|
32
24
|
this.getMenuPortalTarget = () => {
|
|
@@ -49,17 +41,19 @@ class DTableSelect extends _react.default.Component {
|
|
|
49
41
|
noOptionsMessage,
|
|
50
42
|
classNamePrefix,
|
|
51
43
|
innerRef,
|
|
52
|
-
isDisabled
|
|
44
|
+
isDisabled,
|
|
45
|
+
customFilterOption
|
|
53
46
|
} = this.props;
|
|
54
|
-
return /*#__PURE__*/
|
|
47
|
+
return /*#__PURE__*/React.createElement(Select, {
|
|
55
48
|
value: value,
|
|
56
49
|
isDisabled: isDisabled,
|
|
57
50
|
ref: innerRef,
|
|
58
51
|
onChange: onChange,
|
|
59
52
|
options: options,
|
|
53
|
+
filterOption: customFilterOption,
|
|
60
54
|
isMulti: isMulti,
|
|
61
55
|
classNamePrefix: classNamePrefix,
|
|
62
|
-
styles:
|
|
56
|
+
styles: MenuSelectStyle,
|
|
63
57
|
components: {
|
|
64
58
|
Option,
|
|
65
59
|
DropdownIndicator,
|
|
@@ -90,4 +84,4 @@ DTableSelect.defaultProps = {
|
|
|
90
84
|
return null;
|
|
91
85
|
}
|
|
92
86
|
};
|
|
93
|
-
|
|
87
|
+
export default DTableSelect;
|
package/es/components/icon.js
CHANGED
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
1
|
+
import React from 'react';
|
|
9
2
|
function Icon(props) {
|
|
10
3
|
const {
|
|
11
4
|
className,
|
|
12
5
|
symbol
|
|
13
6
|
} = props;
|
|
14
7
|
const iconClass = "multicolor-icon multicolor-icon-".concat(symbol, " ").concat(className || '');
|
|
15
|
-
return /*#__PURE__*/
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16
9
|
className: iconClass
|
|
17
|
-
}, /*#__PURE__*/
|
|
10
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
18
11
|
xlinkHref: "#".concat(symbol)
|
|
19
12
|
}));
|
|
20
13
|
}
|
|
21
|
-
|
|
14
|
+
export default Icon;
|
package/es/components/index.js
CHANGED
|
@@ -1,76 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "DTablePopover", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return _dtablePopover.default;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "DTableSelect", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return _dtableSelect.default;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "DtableSearchInput", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _dtableSearchInput.default;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "Loading", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () {
|
|
34
|
-
return _loading.default;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "ModalPortal", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return _modalPortal.default;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "NewTableDialog", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _newTableDialog.default;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "SeaTableRadio", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return _seatableRadio.default;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "Select", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return _select.default;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "toaster", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () {
|
|
64
|
-
return _toast.default;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
var _commonAddTool = _interopRequireDefault(require("./common-add-tool"));
|
|
68
|
-
var _dtablePopover = _interopRequireDefault(require("./dtable-popover"));
|
|
69
|
-
var _dtableSearchInput = _interopRequireDefault(require("./dtable-search-input"));
|
|
70
|
-
var _dtableSelect = _interopRequireDefault(require("./dtable-select"));
|
|
71
|
-
var _loading = _interopRequireDefault(require("./loading"));
|
|
72
|
-
var _modalPortal = _interopRequireDefault(require("./modal-portal"));
|
|
73
|
-
var _newTableDialog = _interopRequireDefault(require("./dialog/new-table-dialog"));
|
|
74
|
-
var _seatableRadio = _interopRequireDefault(require("./seatable-radio"));
|
|
75
|
-
var _select = _interopRequireDefault(require("./select"));
|
|
76
|
-
var _toast = _interopRequireDefault(require("./toast"));
|
|
1
|
+
import CommonAddTool from './common-add-tool';
|
|
2
|
+
import DTablePopover from './dtable-popover';
|
|
3
|
+
import DtableSearchInput from './dtable-search-input';
|
|
4
|
+
import DTableSelect from './dtable-select';
|
|
5
|
+
import Loading from './loading';
|
|
6
|
+
import ModalPortal from './modal-portal';
|
|
7
|
+
import NewTableDialog from './dialog/new-table-dialog';
|
|
8
|
+
import SeaTableRadio from './seatable-radio';
|
|
9
|
+
import Select from './select';
|
|
10
|
+
import toaster from './toast';
|
|
11
|
+
export { toaster, CommonAddTool, DTablePopover, DtableSearchInput, DTableSelect, Loading, ModalPortal, NewTableDialog, SeaTableRadio, Select };
|
package/es/components/loading.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
1
|
+
import React from 'react';
|
|
9
2
|
function Loading() {
|
|
10
3
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
11
|
-
return /*#__PURE__*/
|
|
4
|
+
return /*#__PURE__*/React.createElement("span", Object.assign({}, props, {
|
|
12
5
|
className: "loading-icon loading-tip"
|
|
13
6
|
}));
|
|
14
7
|
}
|
|
15
|
-
|
|
8
|
+
export default Loading;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ReactDOM from 'react-dom';
|
|
10
3
|
const modalRoot = document.getElementById('modal-wrapper');
|
|
11
|
-
class ModalPortal extends
|
|
4
|
+
class ModalPortal extends React.Component {
|
|
12
5
|
constructor(props) {
|
|
13
6
|
super(props);
|
|
14
7
|
this.el = document.createElement('div');
|
|
@@ -20,7 +13,7 @@ class ModalPortal extends _react.default.Component {
|
|
|
20
13
|
modalRoot.removeChild(this.el);
|
|
21
14
|
}
|
|
22
15
|
render() {
|
|
23
|
-
return
|
|
16
|
+
return ReactDOM.createPortal(this.props.children, this.el);
|
|
24
17
|
}
|
|
25
18
|
}
|
|
26
|
-
|
|
19
|
+
export default ModalPortal;
|