sea-chart 2.0.37 → 2.0.38
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/dist/api/index.js +20 -69
- package/dist/assets/css/sea-chart-d3-tooltip.css +0 -1
- package/dist/components/cell-factory/FormatterConfig.js +55 -62
- package/dist/components/cell-factory/SimpleCellFormatter.js +5 -12
- package/dist/components/cell-factory/SingleSelectOption.js +11 -18
- package/dist/components/cell-factory/cell-editor-factory.js +5 -12
- package/dist/components/cell-factory/cell-formatter-factory.js +4 -11
- package/dist/components/cell-factory/link-content.js +30 -38
- package/dist/components/chart-color-selector/color-selector.js +11 -18
- package/dist/components/collaborator/index.js +7 -14
- package/dist/components/color-picker/index.js +12 -19
- package/dist/components/color-popover/color-rules/color-rule.js +26 -34
- package/dist/components/color-popover/color-rules/index.js +7 -15
- package/dist/components/color-popover/color-rules/rule-filters/filter.js +27 -34
- package/dist/components/color-popover/color-rules/rule-filters/index.js +17 -25
- package/dist/components/color-popover/color-rules/rule-filters/number-input.js +9 -17
- package/dist/components/color-popover/color-rules-popover.js +31 -37
- package/dist/components/color-popover/color-selector-popover.js +12 -20
- package/dist/components/color-setting/color-group-selector.js +13 -21
- package/dist/components/common-add-tool/index.js +8 -15
- package/dist/components/data-process-setter/data-setting-header.js +7 -14
- package/dist/components/data-process-setter/hide-column-setter.js +13 -20
- package/dist/components/data-process-setter/index.js +4 -27
- package/dist/components/data-process-setter/sort-setter.js +18 -26
- package/dist/components/draggable/Draggable.js +7 -13
- package/dist/components/drill-down-settings/drill-down-fields-popover/index.js +41 -48
- package/dist/components/drill-down-settings/drill-down-fields-settings/index.js +10 -18
- package/dist/components/drill-down-settings/index.js +11 -18
- package/dist/components/dtable-popover/index.js +13 -20
- package/dist/components/dtable-search-input/index.js +13 -21
- package/dist/components/font-settings/index.js +14 -22
- package/dist/components/goal-line-setting/goal-setting-item.js +6 -14
- package/dist/components/goal-line-setting/index.js +12 -19
- package/dist/components/highlighter/highlighter.js +7 -14
- package/dist/components/icon/index.js +12 -23
- package/dist/components/index.js +7 -48
- package/dist/components/loading/index.js +6 -13
- package/dist/components/number-input/index.js +11 -24
- package/dist/components/pixel-editor/index.js +15 -23
- package/dist/components/popover/hide-column-popover/hide-column-popover-widgets/hide-column-item.js +13 -16
- package/dist/components/popover/hide-column-popover/hide-column-popover.css +5 -1
- package/dist/components/popover/hide-column-popover/hide-column-popover.js +28 -38
- package/dist/components/popover/sort-popover/sort-popover-widgets/sort-utils.js +9 -18
- package/dist/components/popover/sort-popover/sort-popover.js +58 -69
- package/dist/components/resize-handle/ResizeHandle.js +6 -13
- package/dist/components/row-card/row-card-header-cell.js +17 -24
- package/dist/components/row-card/row-card-header.js +15 -22
- package/dist/components/row-card/row-card-item.js +35 -43
- package/dist/components/row-card/row-card.js +17 -25
- package/dist/components/statistic-record-dialog/index.js +61 -68
- package/dist/components/tooltip/index.js +39 -28
- package/dist/components/types-dialog/index.js +62 -70
- package/dist/components/types-dialog/use-force-update.js +4 -10
- package/dist/constants/color-rules.js +8 -14
- package/dist/constants/common-constants.js +8 -14
- package/dist/constants/error.js +2 -8
- package/dist/constants/geolocation.js +9 -15
- package/dist/constants/index.js +142 -271
- package/dist/constants/key-codes.js +0 -2
- package/dist/constants/model.js +3 -9
- package/dist/constants/regions.js +3 -8
- package/dist/constants/style.js +6 -12
- package/dist/constants/table.js +1 -7
- package/dist/constants/type-image.js +33 -39
- package/dist/constants/type.js +3 -9
- package/dist/context.js +13 -20
- package/dist/editor/index.js +13 -16
- package/dist/index.js +13 -104
- package/dist/intl.js +10 -17
- package/dist/locale/index.js +16 -23
- package/dist/locale/lang/de.js +2 -7
- package/dist/locale/lang/en.js +2 -7
- package/dist/locale/lang/es.js +2 -7
- package/dist/locale/lang/fr.js +2 -7
- package/dist/locale/lang/pt.js +2 -7
- package/dist/locale/lang/ru.js +2 -7
- package/dist/locale/lang/zh_CN.js +2 -7
- package/dist/model/area-group.js +12 -19
- package/dist/model/area.js +12 -19
- package/dist/model/bar-custom.js +11 -18
- package/dist/model/bar-group.js +12 -19
- package/dist/model/bar-stack.js +10 -17
- package/dist/model/bar.js +11 -18
- package/dist/model/base-model.js +4 -11
- package/dist/model/basic-number-card.js +13 -20
- package/dist/model/chart.js +7 -13
- package/dist/model/combination.js +15 -22
- package/dist/model/compare-bar.js +14 -21
- package/dist/model/completeness-group.js +11 -18
- package/dist/model/completeness.js +10 -17
- package/dist/model/dashboard.js +7 -14
- package/dist/model/funnel.js +14 -21
- package/dist/model/generic-model.js +135 -143
- package/dist/model/heat-map.js +9 -16
- package/dist/model/horizontal-bar.js +11 -18
- package/dist/model/horizontal-group-bar.js +10 -17
- package/dist/model/index.js +69 -93
- package/dist/model/line-group.js +13 -20
- package/dist/model/line.js +12 -19
- package/dist/model/map-bubble.js +14 -17
- package/dist/model/map.js +12 -19
- package/dist/model/mirror.js +13 -20
- package/dist/model/pie.js +12 -19
- package/dist/model/ring.js +12 -19
- package/dist/model/scatter.js +10 -17
- package/dist/model/stacked-horizontal-bar.js +11 -18
- package/dist/model/table-element.js +5 -12
- package/dist/model/table.js +7 -14
- package/dist/model/tree-map.js +7 -14
- package/dist/model/trend.js +11 -18
- package/dist/model/user.js +1 -7
- package/dist/model/world-map-bubble.js +12 -19
- package/dist/model/world-map.js +12 -19
- package/dist/services/map-json.js +14 -17
- package/dist/settings/advance-bar-settings/data-settings.js +36 -44
- package/dist/settings/advance-bar-settings/index.js +3 -20
- package/dist/settings/advance-bar-settings/style-settings.js +66 -73
- package/dist/settings/bar-settings/data-settings.js +39 -47
- package/dist/settings/bar-settings/index.js +3 -20
- package/dist/settings/bar-settings/style-settings.js +51 -59
- package/dist/settings/basic-number-card/data-settings.js +50 -57
- package/dist/settings/basic-number-card/index.js +3 -20
- package/dist/settings/basic-number-card/style-settings.js +19 -27
- package/dist/settings/combination-settings/data-settings.js +55 -64
- package/dist/settings/combination-settings/index.js +3 -20
- package/dist/settings/combination-settings/style-settings.js +67 -75
- package/dist/settings/completeness-settings/callbacks/callbacks.js +16 -27
- package/dist/settings/completeness-settings/data-settings/completion-settings.js +21 -28
- package/dist/settings/completeness-settings/data-settings/data-settings.js +25 -32
- package/dist/settings/completeness-settings/index.js +3 -20
- package/dist/settings/completeness-settings/style-settings.js +19 -26
- package/dist/settings/dashboard-settings/data-settings.js +44 -51
- package/dist/settings/dashboard-settings/index.js +2 -13
- package/dist/settings/data-settings.js +72 -79
- package/dist/settings/funnel-settings/components/dnd-item/dnd-item.js +12 -19
- package/dist/settings/funnel-settings/components/dnd-list.js +15 -23
- package/dist/settings/funnel-settings/components/funnel-label-setting.js +32 -40
- package/dist/settings/funnel-settings/components/funnel-layer-setting.js +22 -30
- package/dist/settings/funnel-settings/data-settings.js +23 -31
- package/dist/settings/funnel-settings/index.js +3 -20
- package/dist/settings/funnel-settings/style-settings.js +11 -19
- package/dist/settings/heat-map-settings/data-settings.js +18 -26
- package/dist/settings/heat-map-settings/index.js +3 -20
- package/dist/settings/heat-map-settings/style-settings.js +18 -26
- package/dist/settings/horizontal-bar-settings/data-settings.js +12 -19
- package/dist/settings/horizontal-bar-settings/index.js +3 -20
- package/dist/settings/horizontal-bar-settings/style-settings.js +12 -19
- package/dist/settings/index.js +57 -70
- package/dist/settings/map-settings/components/location-field-selector.js +10 -17
- package/dist/settings/map-settings/components/map-level-selector.js +11 -18
- package/dist/settings/map-settings/components/map-province-city-selector.js +19 -26
- package/dist/settings/map-settings/index.js +3 -20
- package/dist/settings/map-settings/map-data-settings.js +23 -30
- package/dist/settings/map-settings/map-style-settings.js +27 -35
- package/dist/settings/mirror-settings/data-settings.js +26 -34
- package/dist/settings/mirror-settings/index.js +2 -13
- package/dist/settings/pie-settings/data-settings.js +33 -41
- package/dist/settings/pie-settings/index.js +3 -20
- package/dist/settings/pie-settings/style-settings.js +47 -55
- package/dist/settings/scatter/data-settings.js +27 -34
- package/dist/settings/scatter/index.js +3 -12
- package/dist/settings/stacks-settings/index.js +19 -27
- package/dist/settings/stacks-settings/stack-item-settings.js +19 -27
- package/dist/settings/style-settings.js +65 -73
- package/dist/settings/table-element-settings/components/data-filter.js +49 -58
- package/dist/settings/table-element-settings/data-settings.js +21 -29
- package/dist/settings/table-element-settings/index.css +1 -31
- package/dist/settings/table-element-settings/index.js +2 -13
- package/dist/settings/table-settings/data-settings.js +113 -120
- package/dist/settings/table-settings/index.js +2 -13
- package/dist/settings/time-comparison-settings/data-settings.js +43 -51
- package/dist/settings/time-comparison-settings/index.js +3 -20
- package/dist/settings/time-comparison-settings/style-settings.js +44 -52
- package/dist/settings/trend-settings/data-settings.js +24 -32
- package/dist/settings/trend-settings/index.js +3 -20
- package/dist/settings/trend-settings/style-setting.js +19 -27
- package/dist/settings/widgets/basic-summary/index.js +59 -66
- package/dist/settings/widgets/chart-type/index.js +18 -26
- package/dist/settings/widgets/color-settings/index.js +72 -80
- package/dist/settings/widgets/common-data-settings.js +27 -34
- package/dist/settings/widgets/data-filter/index.js +59 -59
- package/dist/settings/widgets/data-sort.js +16 -24
- package/dist/settings/widgets/date-summary-item.js +26 -34
- package/dist/settings/widgets/display-values-settings/index.js +14 -22
- package/dist/settings/widgets/divider/index.js +8 -16
- package/dist/settings/widgets/font-settings/font-color-settings.js +11 -19
- package/dist/settings/widgets/font-settings/font-size-settings.js +14 -22
- package/dist/settings/widgets/font-settings/font-weight-settings.js +17 -25
- package/dist/settings/widgets/font-settings/index.js +4 -27
- package/dist/settings/widgets/group-by.js +52 -59
- package/dist/settings/widgets/min-max-setting.js +10 -18
- package/dist/settings/widgets/mininum-slice-percent.js +10 -18
- package/dist/settings/widgets/numeric-summary-item.js +25 -33
- package/dist/settings/widgets/select-line-type/index.js +10 -17
- package/dist/settings/widgets/select-table/index.js +9 -16
- package/dist/settings/widgets/select-view/index.js +20 -28
- package/dist/settings/widgets/stack.js +14 -22
- package/dist/settings/widgets/summary-method-setting.js +17 -25
- package/dist/settings/widgets/summary-settings.js +75 -82
- package/dist/settings/widgets/switch/index.js +9 -16
- package/dist/settings/widgets/text-horizontal-settings.js +15 -23
- package/dist/settings/widgets/time-picker.js +29 -37
- package/dist/settings/widgets/title-settings/index.js +29 -37
- package/dist/settings/widgets/title-settings/title-text.js +5 -12
- package/dist/settings/widgets/x-axios.js +0 -1
- package/dist/settings/widgets/y-axis-group-settings.js +65 -72
- package/dist/utils/cell-format-utils.js +25 -33
- package/dist/utils/cell-value-utils.js +4 -11
- package/dist/utils/chart-utils/base-utils.js +467 -367
- package/dist/utils/chart-utils/index.js +29 -40
- package/dist/utils/chart-utils/original-data-utils/basic-chart-calculator.js +78 -85
- package/dist/utils/chart-utils/original-data-utils/card-calculator.js +20 -21
- package/dist/utils/chart-utils/original-data-utils/combination-calculator.js +45 -52
- package/dist/utils/chart-utils/original-data-utils/compare-bar-chart-calculator.js +21 -28
- package/dist/utils/chart-utils/original-data-utils/completeness-calculator.js +33 -40
- package/dist/utils/chart-utils/original-data-utils/dashboard-calculator.js +28 -26
- package/dist/utils/chart-utils/original-data-utils/index.js +50 -57
- package/dist/utils/chart-utils/original-data-utils/mirror-calculator.js +19 -26
- package/dist/utils/chart-utils/original-data-utils/pivot-table-calculator.js +94 -97
- package/dist/utils/chart-utils/original-data-utils/scatter-calculator.js +19 -25
- package/dist/utils/chart-utils/original-data-utils/trend-calculator.js +50 -36
- package/dist/utils/chart-utils/sql-statistics-utils.js +385 -388
- package/dist/utils/chart.js +9 -17
- package/dist/utils/collaborator-manager.js +3 -9
- package/dist/utils/collaborator-utils.js +19 -31
- package/dist/utils/collaborator.js +6 -15
- package/dist/utils/color-utils.js +18 -29
- package/dist/utils/column-utils.js +88 -102
- package/dist/utils/common-utils.js +28 -53
- package/dist/utils/concurrency-manager.js +1 -7
- package/dist/utils/contexts.js +7 -11
- package/dist/utils/date-translate.js +12 -20
- package/dist/utils/digital-sign-utils.js +7 -14
- package/dist/utils/event-bus.js +1 -7
- package/dist/utils/hotkey.js +5 -11
- package/dist/utils/index.js +73 -219
- package/dist/utils/key-generator.js +2 -9
- package/dist/utils/map.js +22 -31
- package/dist/utils/object-utils.js +2 -8
- package/dist/utils/options-utils.js +10 -18
- package/dist/utils/row-record-utils.js +251 -183
- package/dist/utils/row-utils.js +27 -38
- package/dist/utils/search.js +24 -32
- package/dist/utils/sql/chart-data-sql.js +106 -112
- package/dist/utils/sql/column-2-sql-column.js +162 -172
- package/dist/utils/sql/index.js +3 -27
- package/dist/utils/trend-utils.js +50 -45
- package/dist/view/index.css +2 -8
- package/dist/view/index.js +102 -103
- package/dist/view/title/index.js +16 -24
- package/dist/view/wrapper/area-group.js +57 -57
- package/dist/view/wrapper/area.js +43 -51
- package/dist/view/wrapper/bar-compare.js +56 -48
- package/dist/view/wrapper/bar-custom-stack.js +73 -55
- package/dist/view/wrapper/bar-group.js +94 -73
- package/dist/view/wrapper/bar-stack.js +49 -57
- package/dist/view/wrapper/bar.js +40 -48
- package/dist/view/wrapper/basic-number-card.js +50 -34
- package/dist/view/wrapper/chart-component.js +164 -569
- package/dist/view/wrapper/combination.js +55 -63
- package/dist/view/wrapper/completeness-group.js +140 -93
- package/dist/view/wrapper/completeness.js +36 -44
- package/dist/view/wrapper/dashboard.js +104 -59
- package/dist/view/wrapper/funnel.js +40 -43
- package/dist/view/wrapper/heat-map.js +62 -70
- package/dist/view/wrapper/horizontal-bar-group.js +70 -58
- package/dist/view/wrapper/horizontal-bar-stack.js +48 -56
- package/dist/view/wrapper/horizontal-bar.js +41 -49
- package/dist/view/wrapper/index.js +107 -115
- package/dist/view/wrapper/line-group.js +49 -52
- package/dist/view/wrapper/line.js +42 -50
- package/dist/view/wrapper/map-bubble.js +40 -48
- package/dist/view/wrapper/map-world-bubble.js +40 -47
- package/dist/view/wrapper/map-world.js +42 -49
- package/dist/view/wrapper/map.js +42 -50
- package/dist/view/wrapper/mirror.js +41 -49
- package/dist/view/wrapper/pie.js +45 -53
- package/dist/view/wrapper/ring.js +50 -58
- package/dist/view/wrapper/scatter.js +50 -56
- package/dist/view/wrapper/table/index.js +14 -22
- package/dist/view/wrapper/table/one-dimension-table-no-numeric-columns.js +49 -57
- package/dist/view/wrapper/table/one-dimension-table-with-numeric-columns.js +53 -61
- package/dist/view/wrapper/table/pivot-table-display-name.js +82 -90
- package/dist/view/wrapper/table/two-dimension-table.js +85 -92
- package/dist/view/wrapper/table-element/components/dataset-utils.js +23 -36
- package/dist/view/wrapper/table-element/components/formatter.js +90 -99
- package/dist/view/wrapper/table-element/components/formatters/FileFormatter/index.js +23 -32
- package/dist/view/wrapper/table-element/components/formatters/formula-formatter.js +9 -16
- package/dist/view/wrapper/table-element/components/formatters/link-formatter.js +90 -97
- package/dist/view/wrapper/table-element/components/formula-formatter.js +9 -16
- package/dist/view/wrapper/table-element/components/link-formatter.js +90 -97
- package/dist/view/wrapper/table-element/components/record.js +13 -20
- package/dist/view/wrapper/table-element/components/records-body.js +9 -17
- package/dist/view/wrapper/table-element/components/records-header/index.js +7 -16
- package/dist/view/wrapper/table-element/components/records-header/records-header-cell.js +8 -16
- package/dist/view/wrapper/table-element/components/records.js +25 -33
- package/dist/view/wrapper/table-element/components/resize-column-handle/resize-column-handle.js +8 -13
- package/dist/view/wrapper/table-element/components/utils.js +6 -16
- package/dist/view/wrapper/table-element/components/value-display-utils.js +4 -11
- package/dist/view/wrapper/table-element/components/vertical-scrollbar/index.js +6 -13
- package/dist/view/wrapper/table-element/index.js +30 -43
- package/dist/view/wrapper/treemap.js +38 -46
- package/dist/view/wrapper/trend.js +80 -65
- package/package.json +15 -12
|
@@ -1,44 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var _TextFormatter2 = _interopRequireDefault(require("dtable-ui-component/lib/TextFormatter"));
|
|
30
|
-
var _toaster2 = _interopRequireDefault(require("dtable-ui-component/lib/toaster"));
|
|
31
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
32
|
-
var _dtableUtils = require("dtable-utils");
|
|
33
|
-
var _intl = _interopRequireDefault(require("../../../../intl"));
|
|
34
|
-
var _formulaFormatter = _interopRequireDefault(require("./formatters/formula-formatter"));
|
|
35
|
-
var _linkFormatter = _interopRequireDefault(require("./formatters/link-formatter"));
|
|
36
|
-
var _index = _interopRequireDefault(require("./formatters/FileFormatter/index"));
|
|
37
|
-
var _utils = require("./utils");
|
|
1
|
+
import _ButtonFormatter from "dtable-ui-component/lib/ButtonFormatter";
|
|
2
|
+
import _RateFormatter from "dtable-ui-component/lib/RateFormatter";
|
|
3
|
+
import _DurationFormatter from "dtable-ui-component/lib/DurationFormatter";
|
|
4
|
+
import _EmailFormatter from "dtable-ui-component/lib/EmailFormatter";
|
|
5
|
+
import _UrlFormatter from "dtable-ui-component/lib/UrlFormatter";
|
|
6
|
+
import _AutoNumberFormatter from "dtable-ui-component/lib/AutoNumberFormatter";
|
|
7
|
+
import _LastModifierFormatter from "dtable-ui-component/lib/LastModifierFormatter";
|
|
8
|
+
import _CreatorFormatter from "dtable-ui-component/lib/CreatorFormatter";
|
|
9
|
+
import _MTimeFormatter from "dtable-ui-component/lib/MTimeFormatter";
|
|
10
|
+
import _CTimeFormatter from "dtable-ui-component/lib/CTimeFormatter";
|
|
11
|
+
import _CheckboxFormatter from "dtable-ui-component/lib/CheckboxFormatter";
|
|
12
|
+
import _DepartmentSingleSelectFormatter from "dtable-ui-component/lib/DepartmentSingleSelectFormatter";
|
|
13
|
+
import _SingleSelectFormatter from "dtable-ui-component/lib/SingleSelectFormatter";
|
|
14
|
+
import _MultipleSelectFormatter from "dtable-ui-component/lib/MultipleSelectFormatter";
|
|
15
|
+
import _DateFormatter from "dtable-ui-component/lib/DateFormatter";
|
|
16
|
+
import _NumberFormatter from "dtable-ui-component/lib/NumberFormatter";
|
|
17
|
+
import _GeolocationFormatter from "dtable-ui-component/lib/GeolocationFormatter";
|
|
18
|
+
import _ImageFormatter from "dtable-ui-component/lib/ImageFormatter";
|
|
19
|
+
import _LongTextFormatter from "dtable-ui-component/lib/LongTextFormatter";
|
|
20
|
+
import _CollaboratorFormatter from "dtable-ui-component/lib/CollaboratorFormatter";
|
|
21
|
+
import _TextFormatter from "dtable-ui-component/lib/TextFormatter";
|
|
22
|
+
import _toaster from "dtable-ui-component/lib/toaster";
|
|
23
|
+
import React, { Fragment } from 'react';
|
|
24
|
+
import { CellType } from 'dtable-utils';
|
|
25
|
+
import intl from '../../../../intl';
|
|
26
|
+
import DtableFormulaFormatter from './formatters/formula-formatter';
|
|
27
|
+
import LinkFormatter from './formatters/link-formatter';
|
|
28
|
+
import FileFormatter from './formatters/FileFormatter/index';
|
|
38
29
|
// import UrlFormatter from './formatters/UrlFormatter/index';
|
|
39
30
|
// import EmailFormatter from './formatters/EmailFormatter/index';
|
|
40
|
-
|
|
41
|
-
class Formatter extends
|
|
31
|
+
import { getTrimmedString, getValidUrl, openUrlLink } from './utils';
|
|
32
|
+
class Formatter extends React.Component {
|
|
42
33
|
constructor() {
|
|
43
34
|
super(...arguments);
|
|
44
35
|
this.renderEmptyFormatter = () => {
|
|
@@ -49,7 +40,7 @@ class Formatter extends _react.default.Component {
|
|
|
49
40
|
component
|
|
50
41
|
} = empty || {};
|
|
51
42
|
if (component) return component;
|
|
52
|
-
return /*#__PURE__*/
|
|
43
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
53
44
|
className: "row-cell-value-empty"
|
|
54
45
|
});
|
|
55
46
|
};
|
|
@@ -59,19 +50,19 @@ class Formatter extends _react.default.Component {
|
|
|
59
50
|
window.location.href = url + '?dl=1';
|
|
60
51
|
};
|
|
61
52
|
this.onUrlClick = url => {
|
|
62
|
-
const vaildUrl =
|
|
53
|
+
const vaildUrl = getValidUrl(url);
|
|
63
54
|
if (url.startsWith('file:///')) {
|
|
64
|
-
|
|
55
|
+
_toaster.danger(intl.get('Open_local_file_is_not_supported'));
|
|
65
56
|
return;
|
|
66
57
|
}
|
|
67
58
|
try {
|
|
68
|
-
|
|
59
|
+
openUrlLink(vaildUrl);
|
|
69
60
|
} catch {
|
|
70
|
-
|
|
61
|
+
_toaster.danger(intl.get('URL_is_invalid'));
|
|
71
62
|
}
|
|
72
63
|
};
|
|
73
64
|
this.onEmailClick = email => {
|
|
74
|
-
window.location.href =
|
|
65
|
+
window.location.href = `mailto:${getTrimmedString(email)}`;
|
|
75
66
|
};
|
|
76
67
|
this.renderFormatter = () => {
|
|
77
68
|
let {
|
|
@@ -85,41 +76,41 @@ class Formatter extends _react.default.Component {
|
|
|
85
76
|
const {
|
|
86
77
|
type: columnType
|
|
87
78
|
} = column || {};
|
|
88
|
-
const containerClassName =
|
|
79
|
+
const containerClassName = `table-element-${columnType}-formatter`;
|
|
89
80
|
switch (columnType) {
|
|
90
|
-
case
|
|
81
|
+
case CellType.TEXT:
|
|
91
82
|
{
|
|
92
83
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
93
|
-
return /*#__PURE__*/
|
|
84
|
+
return /*#__PURE__*/React.createElement(_TextFormatter, {
|
|
94
85
|
value: cellValue,
|
|
95
86
|
containerClassName: containerClassName
|
|
96
87
|
});
|
|
97
88
|
}
|
|
98
|
-
case
|
|
89
|
+
case CellType.COLLABORATOR:
|
|
99
90
|
{
|
|
100
91
|
if (!Array.isArray(cellValue) || cellValue.length === 0) return this.renderEmptyFormatter();
|
|
101
92
|
cellValue = cellValue.filter(item => item);
|
|
102
93
|
if (cellValue.length === 0) return this.renderEmptyFormatter();
|
|
103
94
|
this.props.queryUsers(cellValue);
|
|
104
|
-
return /*#__PURE__*/
|
|
95
|
+
return /*#__PURE__*/React.createElement(_CollaboratorFormatter, {
|
|
105
96
|
value: cellValue,
|
|
106
97
|
collaborators: collaborators,
|
|
107
98
|
containerClassName: containerClassName
|
|
108
99
|
});
|
|
109
100
|
}
|
|
110
|
-
case
|
|
101
|
+
case CellType.LONG_TEXT:
|
|
111
102
|
{
|
|
112
103
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
113
|
-
return /*#__PURE__*/
|
|
104
|
+
return /*#__PURE__*/React.createElement(_LongTextFormatter, {
|
|
114
105
|
isSample: !isRowExpand,
|
|
115
106
|
value: cellValue,
|
|
116
107
|
containerClassName: containerClassName
|
|
117
108
|
});
|
|
118
109
|
}
|
|
119
|
-
case
|
|
110
|
+
case CellType.IMAGE:
|
|
120
111
|
{
|
|
121
112
|
if (!cellValue || Array.isArray(cellValue) && cellValue.length === 0) return this.renderEmptyFormatter();
|
|
122
|
-
return /*#__PURE__*/
|
|
113
|
+
return /*#__PURE__*/React.createElement(_ImageFormatter, {
|
|
123
114
|
value: cellValue,
|
|
124
115
|
containerClassName: containerClassName,
|
|
125
116
|
isSample: isSample,
|
|
@@ -128,34 +119,34 @@ class Formatter extends _react.default.Component {
|
|
|
128
119
|
downloadImage: this.downloadImage
|
|
129
120
|
});
|
|
130
121
|
}
|
|
131
|
-
case
|
|
122
|
+
case CellType.FILE:
|
|
132
123
|
{
|
|
133
124
|
if (!cellValue || Array.isArray(cellValue) && cellValue.length === 0) return this.renderEmptyFormatter();
|
|
134
|
-
return /*#__PURE__*/
|
|
125
|
+
return /*#__PURE__*/React.createElement(FileFormatter, {
|
|
135
126
|
value: cellValue,
|
|
136
127
|
containerClassName: containerClassName,
|
|
137
128
|
isSample: isSample
|
|
138
129
|
});
|
|
139
130
|
}
|
|
140
|
-
case
|
|
131
|
+
case CellType.GEOLOCATION:
|
|
141
132
|
{
|
|
142
133
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
143
|
-
return /*#__PURE__*/
|
|
134
|
+
return /*#__PURE__*/React.createElement(_GeolocationFormatter, {
|
|
144
135
|
value: cellValue,
|
|
145
136
|
data: column.data || {},
|
|
146
137
|
containerClassName: containerClassName
|
|
147
138
|
});
|
|
148
139
|
}
|
|
149
|
-
case
|
|
140
|
+
case CellType.NUMBER:
|
|
150
141
|
{
|
|
151
142
|
if (!cellValue && cellValue !== 0) return this.renderEmptyFormatter();
|
|
152
|
-
return /*#__PURE__*/
|
|
143
|
+
return /*#__PURE__*/React.createElement(_NumberFormatter, {
|
|
153
144
|
value: cellValue,
|
|
154
145
|
data: column.data || {},
|
|
155
146
|
containerClassName: containerClassName
|
|
156
147
|
});
|
|
157
148
|
}
|
|
158
|
-
case
|
|
149
|
+
case CellType.DATE:
|
|
159
150
|
{
|
|
160
151
|
if (!cellValue || typeof cellValue !== 'string') return this.renderEmptyFormatter();
|
|
161
152
|
const {
|
|
@@ -164,13 +155,13 @@ class Formatter extends _react.default.Component {
|
|
|
164
155
|
const {
|
|
165
156
|
format
|
|
166
157
|
} = data || {};
|
|
167
|
-
return /*#__PURE__*/
|
|
158
|
+
return /*#__PURE__*/React.createElement(_DateFormatter, {
|
|
168
159
|
value: cellValue,
|
|
169
160
|
format: format,
|
|
170
161
|
containerClassName: containerClassName
|
|
171
162
|
});
|
|
172
163
|
}
|
|
173
|
-
case
|
|
164
|
+
case CellType.MULTIPLE_SELECT:
|
|
174
165
|
{
|
|
175
166
|
if (!cellValue || cellValue.length === 0) return this.renderEmptyFormatter();
|
|
176
167
|
const {
|
|
@@ -179,13 +170,13 @@ class Formatter extends _react.default.Component {
|
|
|
179
170
|
const {
|
|
180
171
|
options
|
|
181
172
|
} = data || {};
|
|
182
|
-
return /*#__PURE__*/
|
|
173
|
+
return /*#__PURE__*/React.createElement(_MultipleSelectFormatter, {
|
|
183
174
|
value: cellValue,
|
|
184
175
|
options: options || [],
|
|
185
176
|
containerClassName: containerClassName
|
|
186
177
|
});
|
|
187
178
|
}
|
|
188
|
-
case
|
|
179
|
+
case CellType.SINGLE_SELECT:
|
|
189
180
|
{
|
|
190
181
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
191
182
|
const {
|
|
@@ -194,115 +185,115 @@ class Formatter extends _react.default.Component {
|
|
|
194
185
|
const {
|
|
195
186
|
options
|
|
196
187
|
} = data || {};
|
|
197
|
-
return /*#__PURE__*/
|
|
188
|
+
return /*#__PURE__*/React.createElement(_SingleSelectFormatter, {
|
|
198
189
|
value: cellValue,
|
|
199
190
|
options: options || [],
|
|
200
191
|
containerClassName: containerClassName
|
|
201
192
|
});
|
|
202
193
|
}
|
|
203
|
-
case
|
|
194
|
+
case CellType.DEPARTMENT_SINGLE_SELECT:
|
|
204
195
|
{
|
|
205
196
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
206
|
-
return /*#__PURE__*/
|
|
197
|
+
return /*#__PURE__*/React.createElement(_DepartmentSingleSelectFormatter, {
|
|
207
198
|
value: cellValue,
|
|
208
199
|
departments: departments || []
|
|
209
200
|
});
|
|
210
201
|
}
|
|
211
|
-
case
|
|
202
|
+
case CellType.CHECKBOX:
|
|
212
203
|
{
|
|
213
|
-
return /*#__PURE__*/
|
|
204
|
+
return /*#__PURE__*/React.createElement(_CheckboxFormatter, {
|
|
214
205
|
value: cellValue,
|
|
215
206
|
containerClassName: containerClassName
|
|
216
207
|
});
|
|
217
208
|
}
|
|
218
|
-
case
|
|
209
|
+
case CellType.CTIME:
|
|
219
210
|
{
|
|
220
211
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
221
|
-
return /*#__PURE__*/
|
|
212
|
+
return /*#__PURE__*/React.createElement(_CTimeFormatter, {
|
|
222
213
|
value: cellValue,
|
|
223
214
|
containerClassName: containerClassName
|
|
224
215
|
});
|
|
225
216
|
}
|
|
226
|
-
case
|
|
217
|
+
case CellType.MTIME:
|
|
227
218
|
{
|
|
228
219
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
229
|
-
return /*#__PURE__*/
|
|
220
|
+
return /*#__PURE__*/React.createElement(_MTimeFormatter, {
|
|
230
221
|
value: cellValue,
|
|
231
222
|
containerClassName: containerClassName
|
|
232
223
|
});
|
|
233
224
|
}
|
|
234
|
-
case
|
|
225
|
+
case CellType.CREATOR:
|
|
235
226
|
{
|
|
236
227
|
this.props.queryUsers([cellValue]);
|
|
237
|
-
return /*#__PURE__*/
|
|
228
|
+
return /*#__PURE__*/React.createElement(_CreatorFormatter, {
|
|
238
229
|
collaborators: collaborators,
|
|
239
230
|
value: cellValue
|
|
240
231
|
});
|
|
241
232
|
}
|
|
242
|
-
case
|
|
233
|
+
case CellType.LAST_MODIFIER:
|
|
243
234
|
{
|
|
244
235
|
this.props.queryUsers([cellValue]);
|
|
245
|
-
return /*#__PURE__*/
|
|
236
|
+
return /*#__PURE__*/React.createElement(_LastModifierFormatter, {
|
|
246
237
|
collaborators: collaborators,
|
|
247
238
|
value: cellValue
|
|
248
239
|
});
|
|
249
240
|
}
|
|
250
|
-
case
|
|
241
|
+
case CellType.AUTO_NUMBER:
|
|
251
242
|
{
|
|
252
243
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
253
|
-
return /*#__PURE__*/
|
|
244
|
+
return /*#__PURE__*/React.createElement(_AutoNumberFormatter, {
|
|
254
245
|
value: cellValue,
|
|
255
246
|
containerClassName: containerClassName
|
|
256
247
|
});
|
|
257
248
|
}
|
|
258
|
-
case
|
|
249
|
+
case CellType.URL:
|
|
259
250
|
{
|
|
260
251
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
261
|
-
return /*#__PURE__*/
|
|
252
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
262
253
|
onClick: () => this.onUrlClick(cellValue)
|
|
263
|
-
}, /*#__PURE__*/
|
|
254
|
+
}, /*#__PURE__*/React.createElement(_UrlFormatter, {
|
|
264
255
|
value: cellValue,
|
|
265
256
|
containerClassName: containerClassName
|
|
266
257
|
}), ";");
|
|
267
258
|
}
|
|
268
|
-
case
|
|
259
|
+
case CellType.EMAIL:
|
|
269
260
|
{
|
|
270
261
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
271
|
-
return /*#__PURE__*/
|
|
262
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
272
263
|
onClick: () => this.onEmailClick(cellValue)
|
|
273
|
-
}, /*#__PURE__*/
|
|
264
|
+
}, /*#__PURE__*/React.createElement(_EmailFormatter, {
|
|
274
265
|
value: cellValue,
|
|
275
266
|
containerClassName: containerClassName
|
|
276
267
|
}), ";");
|
|
277
268
|
}
|
|
278
|
-
case
|
|
269
|
+
case CellType.DURATION:
|
|
279
270
|
{
|
|
280
271
|
if (!cellValue) return this.renderEmptyFormatter();
|
|
281
|
-
return /*#__PURE__*/
|
|
272
|
+
return /*#__PURE__*/React.createElement(_DurationFormatter, {
|
|
282
273
|
value: cellValue,
|
|
283
274
|
format: column.data.duration_format,
|
|
284
275
|
containerClassName: containerClassName
|
|
285
276
|
});
|
|
286
277
|
}
|
|
287
|
-
case
|
|
278
|
+
case CellType.RATE:
|
|
288
279
|
{
|
|
289
|
-
return /*#__PURE__*/
|
|
280
|
+
return /*#__PURE__*/React.createElement(_RateFormatter, {
|
|
290
281
|
value: cellValue,
|
|
291
282
|
data: column.data || {},
|
|
292
283
|
containerClassName: containerClassName
|
|
293
284
|
});
|
|
294
285
|
}
|
|
295
|
-
case
|
|
286
|
+
case CellType.BUTTON:
|
|
296
287
|
{
|
|
297
|
-
return /*#__PURE__*/
|
|
288
|
+
return /*#__PURE__*/React.createElement(_ButtonFormatter, {
|
|
298
289
|
data: column.data || {},
|
|
299
290
|
containerClassName: containerClassName
|
|
300
291
|
});
|
|
301
292
|
}
|
|
302
|
-
case
|
|
303
|
-
case
|
|
293
|
+
case CellType.FORMULA:
|
|
294
|
+
case CellType.LINK_FORMULA:
|
|
304
295
|
{
|
|
305
|
-
return /*#__PURE__*/
|
|
296
|
+
return /*#__PURE__*/React.createElement(DtableFormulaFormatter, {
|
|
306
297
|
value: cellValue,
|
|
307
298
|
column: column,
|
|
308
299
|
collaborators: collaborators,
|
|
@@ -311,10 +302,10 @@ class Formatter extends _react.default.Component {
|
|
|
311
302
|
renderEmptyFormatter: this.renderEmptyFormatter
|
|
312
303
|
});
|
|
313
304
|
}
|
|
314
|
-
case
|
|
305
|
+
case CellType.LINK:
|
|
315
306
|
{
|
|
316
307
|
if (!Array.isArray(cellValue) || cellValue.length === 0) return this.renderEmptyFormatter();
|
|
317
|
-
return /*#__PURE__*/
|
|
308
|
+
return /*#__PURE__*/React.createElement(LinkFormatter, {
|
|
318
309
|
value: cellValue,
|
|
319
310
|
column: column,
|
|
320
311
|
collaborators: collaborators,
|
|
@@ -331,7 +322,7 @@ class Formatter extends _react.default.Component {
|
|
|
331
322
|
};
|
|
332
323
|
}
|
|
333
324
|
render() {
|
|
334
|
-
return /*#__PURE__*/
|
|
325
|
+
return /*#__PURE__*/React.createElement(Fragment, null, this.renderFormatter());
|
|
335
326
|
}
|
|
336
327
|
}
|
|
337
328
|
Formatter.defaultProps = {
|
|
@@ -339,4 +330,4 @@ Formatter.defaultProps = {
|
|
|
339
330
|
isRowExpand: false,
|
|
340
331
|
queryUsers: () => {}
|
|
341
332
|
};
|
|
342
|
-
|
|
333
|
+
export default Formatter;
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _ImagePreviewerLightbox2 = _interopRequireDefault(require("dtable-ui-component/lib/ImagePreviewerLightbox"));
|
|
10
|
-
var _FileItemFormatter2 = _interopRequireDefault(require("dtable-ui-component/lib/FileItemFormatter"));
|
|
11
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
var _commonUtils = require("../../../../../../utils/common-utils");
|
|
14
|
-
var _context = _interopRequireDefault(require("../../../../../../context"));
|
|
15
|
-
require("./index.css");
|
|
16
|
-
class FileFormatter extends _react.default.PureComponent {
|
|
1
|
+
import _ImagePreviewerLightbox from "dtable-ui-component/lib/ImagePreviewerLightbox";
|
|
2
|
+
import _FileItemFormatter from "dtable-ui-component/lib/FileItemFormatter";
|
|
3
|
+
import React, { Fragment } from 'react';
|
|
4
|
+
import classnames from 'classnames';
|
|
5
|
+
import { imageCheck } from '../../../../../../utils/common-utils';
|
|
6
|
+
import context from '../../../../../../context';
|
|
7
|
+
import './index.css';
|
|
8
|
+
export default class FileFormatter extends React.PureComponent {
|
|
17
9
|
constructor(props) {
|
|
18
10
|
super(props);
|
|
19
11
|
this.getFileItemImageUrlList = value => {
|
|
@@ -25,7 +17,7 @@ class FileFormatter extends _react.default.PureComponent {
|
|
|
25
17
|
} = fileItem;
|
|
26
18
|
let assetFileIndex = typeof url === 'string' ? url.indexOf('/asset') : -1;
|
|
27
19
|
if (assetFileIndex > -1) {
|
|
28
|
-
const isImage =
|
|
20
|
+
const isImage = imageCheck(name);
|
|
29
21
|
if (isImage) {
|
|
30
22
|
fileImageUrlList.push(url);
|
|
31
23
|
}
|
|
@@ -40,7 +32,7 @@ class FileFormatter extends _react.default.PureComponent {
|
|
|
40
32
|
let previewerUrl;
|
|
41
33
|
let assetFileIndex = openFileUrl.indexOf('/asset');
|
|
42
34
|
if (assetFileIndex > -1) {
|
|
43
|
-
if (
|
|
35
|
+
if (imageCheck(fileItem.name)) {
|
|
44
36
|
this.showLargeImage(fileItem.url);
|
|
45
37
|
return;
|
|
46
38
|
}
|
|
@@ -79,9 +71,9 @@ class FileFormatter extends _react.default.PureComponent {
|
|
|
79
71
|
largeImageIndex: -1
|
|
80
72
|
});
|
|
81
73
|
};
|
|
82
|
-
this.server =
|
|
83
|
-
this.workspaceID =
|
|
84
|
-
this.dtableUuid =
|
|
74
|
+
this.server = context.getSetting('server');
|
|
75
|
+
this.workspaceID = context.getSetting('workspaceID');
|
|
76
|
+
this.dtableUuid = context.getSetting('dtableUuid');
|
|
85
77
|
this.state = {
|
|
86
78
|
isShowLargeImage: false,
|
|
87
79
|
largeImageIndex: -1,
|
|
@@ -105,28 +97,28 @@ class FileFormatter extends _react.default.PureComponent {
|
|
|
105
97
|
if (!Array.isArray(value) || value.length === 0) {
|
|
106
98
|
return null;
|
|
107
99
|
}
|
|
108
|
-
let className = (
|
|
100
|
+
let className = classnames('dtable-ui cell-formatter-container file-formatter', containerClassName);
|
|
109
101
|
if (isSample) {
|
|
110
102
|
let item = value[0];
|
|
111
|
-
return /*#__PURE__*/
|
|
103
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
112
104
|
className: className
|
|
113
|
-
}, /*#__PURE__*/
|
|
105
|
+
}, /*#__PURE__*/React.createElement(_FileItemFormatter, {
|
|
114
106
|
file: item
|
|
115
|
-
}), value.length !== 1 && /*#__PURE__*/
|
|
107
|
+
}), value.length !== 1 && /*#__PURE__*/React.createElement("span", {
|
|
116
108
|
className: "file-item-count"
|
|
117
|
-
},
|
|
109
|
+
}, `+${value.length}`));
|
|
118
110
|
}
|
|
119
|
-
return /*#__PURE__*/
|
|
111
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
120
112
|
className: className
|
|
121
113
|
}, value.map((item, index) => {
|
|
122
|
-
return /*#__PURE__*/
|
|
114
|
+
return /*#__PURE__*/React.createElement(Fragment, {
|
|
123
115
|
key: index
|
|
124
|
-
}, /*#__PURE__*/
|
|
116
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
125
117
|
onClick: () => this.openFile(item)
|
|
126
|
-
}, /*#__PURE__*/
|
|
118
|
+
}, /*#__PURE__*/React.createElement(_FileItemFormatter, {
|
|
127
119
|
file: item
|
|
128
120
|
})));
|
|
129
|
-
}), this.state.isShowLargeImage && /*#__PURE__*/
|
|
121
|
+
}), this.state.isShowLargeImage && /*#__PURE__*/React.createElement(_ImagePreviewerLightbox, {
|
|
130
122
|
server: this.server,
|
|
131
123
|
workspaceID: this.workspaceID,
|
|
132
124
|
dtableUuid: this.dtableUuid,
|
|
@@ -139,7 +131,6 @@ class FileFormatter extends _react.default.PureComponent {
|
|
|
139
131
|
}));
|
|
140
132
|
}
|
|
141
133
|
}
|
|
142
|
-
exports.default = FileFormatter;
|
|
143
134
|
FileFormatter.defaultProps = {
|
|
144
135
|
isSample: false,
|
|
145
136
|
value: [],
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _FormulaFormatter2 = _interopRequireDefault(require("dtable-ui-component/lib/FormulaFormatter"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _dtableUtils = require("dtable-utils");
|
|
11
|
-
var _datasetUtils = require("../dataset-utils");
|
|
1
|
+
import _FormulaFormatter from "dtable-ui-component/lib/FormulaFormatter";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CellType, COLLABORATOR_COLUMN_TYPES, FORMULA_RESULT_TYPE } from 'dtable-utils';
|
|
4
|
+
import { convertValueToDtableLongTextValue } from '../dataset-utils';
|
|
12
5
|
function DtableFormulaFormatter(props) {
|
|
13
6
|
const {
|
|
14
7
|
value,
|
|
@@ -25,19 +18,19 @@ function DtableFormulaFormatter(props) {
|
|
|
25
18
|
} = column.data || {};
|
|
26
19
|
let cellValue = value;
|
|
27
20
|
if (Array.isArray(cellValue)) {
|
|
28
|
-
if (array_type ===
|
|
29
|
-
cellValue = cellValue.map(item =>
|
|
21
|
+
if (array_type === CellType.LONG_TEXT) {
|
|
22
|
+
cellValue = cellValue.map(item => convertValueToDtableLongTextValue(item));
|
|
30
23
|
}
|
|
31
24
|
}
|
|
32
|
-
if (result_type ===
|
|
25
|
+
if (result_type === FORMULA_RESULT_TYPE.ARRAY && COLLABORATOR_COLUMN_TYPES.includes(array_type)) {
|
|
33
26
|
// need query user if not loaded
|
|
34
27
|
props.queryUsers(Array.isArray(cellValue) ? cellValue : [cellValue]);
|
|
35
28
|
}
|
|
36
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/React.createElement(_FormulaFormatter, {
|
|
37
30
|
value: cellValue,
|
|
38
31
|
column: column,
|
|
39
32
|
collaborators: collaborators,
|
|
40
33
|
containerClassName: containerClassName
|
|
41
34
|
});
|
|
42
35
|
}
|
|
43
|
-
|
|
36
|
+
export default DtableFormulaFormatter;
|