dtable-statistic 4.4.24-alpha.9 → 5.0.0-alpha.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/es/assets/css/dialog.css +9 -4
- package/es/components/dialog/chart-edit-dialog.js +1 -1
- package/es/components/dialog/statistic-record-dialog/index.js +4 -3
- package/es/constants/index.js +3 -498
- package/es/dashboard.js +2 -58
- package/es/index.js +56 -1
- package/es/service/chart-service.js +0 -12
- package/es/stat-list/index.js +2 -2
- package/es/stat-view/index.js +1 -1
- package/es/tabs/tab.js +17 -14
- package/package.json +3 -3
- package/es/components/dtable-popover.js +0 -97
- package/es/components/dtable-search-input.js +0 -135
- package/es/components/index.js +0 -41
- package/es/components/loading.js +0 -15
- package/es/components/modal-portal.js +0 -26
- package/es/constants/color-rules.js +0 -17
- package/es/constants/map.js +0 -13
- package/es/constants/model.js +0 -26
- package/es/constants/regions.js +0 -2111
- package/es/constants/zIndexes.js +0 -7
- package/es/service/map-json.js +0 -140
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.FILTER_TYPE_2_CELL_TYPE = exports.EMPTY_PREDICATE = exports.DISPLAY_COLOR_RULE_FILTER_TYPE = exports.COLOR_RULE_FILTER_TYPE_MAP = void 0;
|
|
7
|
-
var _dtableUtils = require("dtable-utils");
|
|
8
|
-
const COLOR_RULE_FILTER_TYPE_MAP = exports.COLOR_RULE_FILTER_TYPE_MAP = {
|
|
9
|
-
NUMERIC_VALUE: 'numeric_value'
|
|
10
|
-
};
|
|
11
|
-
const DISPLAY_COLOR_RULE_FILTER_TYPE = exports.DISPLAY_COLOR_RULE_FILTER_TYPE = {
|
|
12
|
-
[COLOR_RULE_FILTER_TYPE_MAP.NUMERIC_VALUE]: 'Numeric_value'
|
|
13
|
-
};
|
|
14
|
-
const FILTER_TYPE_2_CELL_TYPE = exports.FILTER_TYPE_2_CELL_TYPE = {
|
|
15
|
-
[COLOR_RULE_FILTER_TYPE_MAP.NUMERIC_VALUE]: _dtableUtils.CellType.NUMBER
|
|
16
|
-
};
|
|
17
|
-
const EMPTY_PREDICATE = exports.EMPTY_PREDICATE = [_dtableUtils.FILTER_PREDICATE_TYPE.EMPTY, _dtableUtils.FILTER_PREDICATE_TYPE.NOT_EMPTY];
|
package/es/constants/map.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MUNICIPALITIES = exports.MAP_LEVEL = void 0;
|
|
7
|
-
const MAP_LEVEL = exports.MAP_LEVEL = {
|
|
8
|
-
WORLD: 'world',
|
|
9
|
-
COUNTRY: 'country',
|
|
10
|
-
PROVINCE: 'province',
|
|
11
|
-
CITY: 'city'
|
|
12
|
-
};
|
|
13
|
-
const MUNICIPALITIES = exports.MUNICIPALITIES = ['北京市', '天津市', '上海市', '重庆市'];
|
package/es/constants/model.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Y_SUMMARY_TYPE_KEYS = exports.Y_SUMMARY_METHOD_KEYS = exports.Y_SUMMARY_BY_KEYS = exports.Y_SHOW_AXIS_LABEL_KEYS = exports.Y_LABEL_POSITION_KEYS = exports.Y_LABEL_COLOR_RULES_KEYS = exports.Y_LABEL_COLOR_KEYS = exports.Y_AUTO_RANGE_MIN_KEYS = exports.Y_AUTO_RANGE_MAX_KEYS = exports.Y_AUTO_RANGE_KEYS = exports.X_SHOW_AXIS_LABEL = exports.X_LABEL_POSITION_KEYS = exports.X_INCLUDE_EMPTY_KEYS = exports.X_GROUPBY_KEYS = exports.X_GEO_GRANULARITY_KEYS = exports.X_DATE_GRANULARITY_KEYS = exports.LABEL_FRONT_SIZE_KEYS = exports.COLUMN_GROUPBY_KEYS = exports.COLUMN_GEO_GRANULARITY_KEYS = exports.COLUMN_DATE_GRANULARITY_KEYS = void 0;
|
|
7
|
-
const X_GROUPBY_KEYS = exports.X_GROUPBY_KEYS = ['x_axis_column_key', 'groupby_column_key', 'vertical_axis_column_key', 'date_column', 'time_column', 'column', 'geo_column', 'x_axis_column', 'numeric_column', 'name_column'];
|
|
8
|
-
const X_GEO_GRANULARITY_KEYS = exports.X_GEO_GRANULARITY_KEYS = ['x_axis_geolocation_granularity', 'groupby_geolocation_granularity', 'vertical_geolocation_granularity', 'geolocation_granularity'];
|
|
9
|
-
const X_DATE_GRANULARITY_KEYS = exports.X_DATE_GRANULARITY_KEYS = ['x_axis_date_granularity', 'groupby_date_granularity', 'vertical_date_granularity', 'date_granularity'];
|
|
10
|
-
const X_INCLUDE_EMPTY_KEYS = exports.X_INCLUDE_EMPTY_KEYS = ['x_axis_include_empty', 'groupby_include_empty_cells', 'vertical_axis_include_empty'];
|
|
11
|
-
const X_SHOW_AXIS_LABEL = exports.X_SHOW_AXIS_LABEL = ['show_x_axis_label', 'show_vertical_axis_label'];
|
|
12
|
-
const X_LABEL_POSITION_KEYS = exports.X_LABEL_POSITION_KEYS = ['x_axis_label_position', 'vertical_axis_label_position'];
|
|
13
|
-
const Y_SUMMARY_BY_KEYS = exports.Y_SUMMARY_BY_KEYS = ['y_axis_column_key', 'y_axis_column', 'y_axis_summary_column', 'summary_column_key', 'horizontal_axis_column_key'];
|
|
14
|
-
const Y_SUMMARY_METHOD_KEYS = exports.Y_SUMMARY_METHOD_KEYS = ['y_axis_summary_method', 'horizontal_axis_summary_method', 'summary_method'];
|
|
15
|
-
const Y_SUMMARY_TYPE_KEYS = exports.Y_SUMMARY_TYPE_KEYS = ['y_axis_summary_type', 'horizontal_axis_summary_type', 'summary_type'];
|
|
16
|
-
const Y_LABEL_COLOR_KEYS = exports.Y_LABEL_COLOR_KEYS = ['y_axis_label_color', 'horizontal_axis_label_color'];
|
|
17
|
-
const Y_LABEL_COLOR_RULES_KEYS = exports.Y_LABEL_COLOR_RULES_KEYS = ['y_axis_label_color_rules', 'horizontal_axis_label_color_rules'];
|
|
18
|
-
const Y_SHOW_AXIS_LABEL_KEYS = exports.Y_SHOW_AXIS_LABEL_KEYS = ['show_y_axis_label', 'show_horizontal_axis_label'];
|
|
19
|
-
const Y_LABEL_POSITION_KEYS = exports.Y_LABEL_POSITION_KEYS = ['y_axis_label_position', 'horizontal_axis_label_position'];
|
|
20
|
-
const Y_AUTO_RANGE_KEYS = exports.Y_AUTO_RANGE_KEYS = ['y_axis_auto_range', 'h_axis_auto_range'];
|
|
21
|
-
const Y_AUTO_RANGE_MIN_KEYS = exports.Y_AUTO_RANGE_MIN_KEYS = ['y_axis_min', 'h_axis_min'];
|
|
22
|
-
const Y_AUTO_RANGE_MAX_KEYS = exports.Y_AUTO_RANGE_MAX_KEYS = ['y_axis_max', 'h_axis_max'];
|
|
23
|
-
const COLUMN_GROUPBY_KEYS = exports.COLUMN_GROUPBY_KEYS = ['column_groupby_column_key', 'group_column'];
|
|
24
|
-
const COLUMN_DATE_GRANULARITY_KEYS = exports.COLUMN_DATE_GRANULARITY_KEYS = ['column_groupby_date_granularity', 'date_granularity'];
|
|
25
|
-
const COLUMN_GEO_GRANULARITY_KEYS = exports.COLUMN_GEO_GRANULARITY_KEYS = ['column_groupby_geolocation_granularity', 'geolocation_granularity'];
|
|
26
|
-
const LABEL_FRONT_SIZE_KEYS = exports.LABEL_FRONT_SIZE_KEYS = ['label_font_size', 'annotation_font_size'];
|