dtable-ui-component 6.0.54 → 6.0.55-beta.1
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/ActionSheet/index.js +21 -21
- package/lib/ActivityIndicator/index.js +9 -9
- package/lib/AsyncUserSelect/index.js +3 -3
- package/lib/Badge/index.js +10 -10
- package/lib/CheckboxEditor/mb-editor.js +2 -10
- package/lib/CheckboxEditor/pc-editor.js +2 -10
- package/lib/CheckboxFormatter/index.js +4 -13
- package/lib/CollaboratorEditor/pc-editor/index.js +1 -1
- package/lib/CollapsibleSettingLayout/index.js +1 -1
- package/lib/Comment/body/comment.js +1 -1
- package/lib/Comment/footer/index.js +1 -1
- package/lib/Comment/footer/input/index.js +5 -5
- package/lib/Comment/footer/input/participant/index.js +1 -1
- package/lib/Comment/footer/participants/participant-select/index.js +2 -2
- package/lib/Comment/utils/utilities.js +1 -1
- package/lib/DTableColorPicker/ColorPickerPortal/index.js +4 -4
- package/lib/DTableColorPicker/index.js +6 -6
- package/lib/DTableColorPicker/utils.js +1 -1
- package/lib/DTableColumnIcon/index.js +71 -0
- package/lib/DTableCommonAddTool/index.js +2 -2
- package/lib/DTableFiltersPopover/index.js +1 -1
- package/lib/DTableFiltersPopover/utils/filter-item-utils.js +7 -4
- package/lib/DTableFiltersPopover/utils/index.js +92 -27
- package/lib/DTableFiltersPopover/widgets/filter-group.js +2 -2
- package/lib/DTableFiltersPopover/widgets/filter-item.js +2 -2
- package/lib/DTableFiltersPopover/widgets/filter-list/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/rate-item.js +2 -2
- package/lib/DTableGroupSelect/select-option-group.js +1 -1
- package/lib/{SvgIcon → DTableIcon}/index.css +2 -2
- package/lib/DTableIcon/index.js +44 -0
- package/lib/DTableIcon/svg-icon.js +56 -0
- package/lib/DTableRadioGroup/index.js +3 -3
- package/lib/DTableSearchInput/index.js +1 -1
- package/lib/DTableSelect/dtable-select-label.js +1 -1
- package/lib/DateEditor/pc-editor.js +1 -1
- package/lib/DatePicker/utils.js +4 -4
- package/lib/DepartmentMultipleSelectEditor/index.js +3 -3
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +2 -2
- package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +2 -2
- package/lib/DigitalSignEditor/service.js +1 -1
- package/lib/DigitalSignEditor/signature-board/index.js +2 -2
- package/lib/DigitalSignFormatter/utils.js +1 -1
- package/lib/FieldDisplaySetting/field-item.js +9 -4
- package/lib/FieldDisplaySetting/index.js +6 -6
- package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +2 -2
- package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +3 -3
- package/lib/FileEditor/pc-editor/addition-previewer/index.js +1 -1
- package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +6 -6
- package/lib/FileFormatter/index.js +1 -1
- package/lib/FileItemFormatter/index.js +1 -1
- package/lib/FileUploader/index.js +1 -1
- package/lib/FormulaFormatter/index.js +4 -4
- package/lib/GeolocationEditor/index.js +3 -3
- package/lib/GeolocationEditor/map-editor-utils.js +2 -2
- package/lib/GeolocationEditor/pc-editor/country-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/location-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +20 -3
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +20 -3
- package/lib/GeolocationEditor/pc-editor/province-city-editor.js +1 -1
- package/lib/GeolocationEditor/pc-editor/province-editor.js +3 -3
- package/lib/GeolocationEditor/pc-editor/selector-list.js +1 -1
- package/lib/HtmlLongTextFormatter/index.js +1 -1
- package/lib/Icon/index.js +2 -2
- package/lib/Icon/load-sprite.js +13 -2
- package/lib/IconButton/index.js +1 -1
- package/lib/ImageEditor/images-previewer/image-preview/index.js +1 -1
- package/lib/ImageEditor/pc-editor/addition-previewer/index.js +2 -2
- package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +5 -5
- package/lib/ImageEditor/pc-editor/images-previewer/index.js +1 -1
- package/lib/ImageFormatter/index.js +1 -1
- package/lib/ImageThumbnail/index.js +2 -2
- package/lib/InputItem/custom-input.js +9 -9
- package/lib/InputItem/custom-keyboard.js +5 -5
- package/lib/InputItem/index.js +21 -21
- package/lib/List/index.js +3 -3
- package/lib/List/list-item.js +23 -23
- package/lib/MBEditorHeader/index.js +1 -1
- package/lib/MobileFullScreenPage/body/index.js +1 -1
- package/lib/MobileFullScreenPage/header/index.js +4 -4
- package/lib/MobileFullScreenPage/index.js +1 -1
- package/lib/Modal/alert.js +3 -3
- package/lib/Modal/modal.js +8 -8
- package/lib/Modal/operation.js +1 -1
- package/lib/Modal/prompt.js +11 -11
- package/lib/MultipleSelectFormatter/index.js +1 -1
- package/lib/Popover/index.js +1 -1
- package/lib/Popover/item.js +7 -7
- package/lib/Progress/index.js +6 -6
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/RadioItem.js +2 -2
- package/lib/RateFormatter/index.js +3 -3
- package/lib/RoleStatusEditor/index.js +1 -1
- package/lib/RowExpandDialog/body/index.js +1 -1
- package/lib/RowExpandDialog/column-content/index.js +7 -4
- package/lib/RowExpandDialog/header/index.js +1 -1
- package/lib/RowExpandDialog/index.js +3 -3
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandEditor/email-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/email-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandEditor/image-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/image-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +5 -5
- package/lib/RowExpandEditor/rate-editor/mb-editor.js +1 -1
- package/lib/RowExpandEditor/rate-editor/pc-editor.js +2 -2
- package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +3 -3
- package/lib/RowExpandEditor/url-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/url-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandFormatter/email-formatter/index.js +1 -1
- package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +2 -2
- package/lib/RowExpandFormatter/formula-formatter/index.js +7 -7
- package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +2 -2
- package/lib/RowExpandFormatter/index.js +1 -1
- package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +1 -1
- package/lib/RowExpandFormatter/link-formatter/index.js +6 -6
- package/lib/RowExpandFormatter/rate-formatter/index.js +3 -3
- package/lib/RowExpandFormatter/url-formatter/index.js +1 -1
- package/lib/RowExpandView/body/index.js +1 -1
- package/lib/SelectOptionGroup/index.js +1 -1
- package/lib/SelectedDepartments/index.js +3 -3
- package/lib/SimpleLongTextFormatter/index.js +2 -2
- package/lib/TabBar/Tab.js +6 -6
- package/lib/TabBar/index.js +3 -3
- package/lib/TextareaItem/index.js +19 -19
- package/lib/Toast/index.js +5 -5
- package/lib/assets/icons/telephone.svg +14 -0
- package/lib/index.js +14 -7
- package/lib/select-editor/pc-editor/index.js +2 -2
- package/lib/toaster/alert.js +1 -1
- package/lib/toaster/toast.js +1 -1
- package/lib/toaster/toastManager.js +1 -1
- package/lib/toaster/toaster.js +1 -1
- package/lib/utils/class.js +3 -3
- package/lib/utils/object-utils.js +1 -1
- package/lib/utils/url.js +4 -4
- package/package.json +14 -30
- package/lib/SvgIcon/index.js +0 -38
package/lib/ActionSheet/index.js
CHANGED
|
@@ -72,10 +72,10 @@ function createActionSheet(flag, config, callback) {
|
|
|
72
72
|
badges = []
|
|
73
73
|
} = props;
|
|
74
74
|
const titleMsg = [title ? /*#__PURE__*/(0, _jsxRuntime.jsx)("h3", {
|
|
75
|
-
className:
|
|
75
|
+
className: `${prefixCls}-title`,
|
|
76
76
|
children: title
|
|
77
77
|
}, "0") : null, message ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
78
|
-
className:
|
|
78
|
+
className: `${prefixCls}-message`,
|
|
79
79
|
children: message
|
|
80
80
|
}, "1") : null];
|
|
81
81
|
let children = null;
|
|
@@ -97,13 +97,13 @@ function createActionSheet(flag, config, callback) {
|
|
|
97
97
|
children = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
98
98
|
...(0, _getDataAttr.default)(props),
|
|
99
99
|
children: [titleMsg, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
100
|
-
className:
|
|
100
|
+
className: `${prefixCls}-button-list`,
|
|
101
101
|
role: "group",
|
|
102
102
|
children: normalOptions.map((item, index) => {
|
|
103
103
|
const itemProps = {
|
|
104
|
-
className: (0, _classnames.default)(
|
|
105
|
-
[
|
|
106
|
-
[
|
|
104
|
+
className: (0, _classnames.default)(`${prefixCls}-button-list-item`, {
|
|
105
|
+
[`${prefixCls}-destructive-button`]: destructiveButtonIndex === index,
|
|
106
|
+
[`${prefixCls}-cancel-button`]: cancelButtonIndex === index
|
|
107
107
|
}),
|
|
108
108
|
onClick: () => cb(index),
|
|
109
109
|
role: 'button'
|
|
@@ -116,24 +116,24 @@ function createActionSheet(flag, config, callback) {
|
|
|
116
116
|
if (badgesMap[index]) {
|
|
117
117
|
bContent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
118
118
|
...itemProps,
|
|
119
|
-
className:
|
|
119
|
+
className: `${itemProps.className} ${prefixCls}-button-list-badge`,
|
|
120
120
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
121
|
-
className:
|
|
121
|
+
className: `${prefixCls}-button-list-item-content`,
|
|
122
122
|
children: item
|
|
123
123
|
}), badgesMap[index]]
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
let bItem = /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
|
|
127
|
-
activeClassName:
|
|
127
|
+
activeClassName: `${prefixCls}-button-list-item-active`,
|
|
128
128
|
children: bContent
|
|
129
129
|
}, index);
|
|
130
130
|
if (cancelButtonIndex === index || destructiveButtonIndex === index) {
|
|
131
131
|
bItem = /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
|
|
132
|
-
activeClassName:
|
|
132
|
+
activeClassName: `${prefixCls}-button-list-item-active`,
|
|
133
133
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
134
134
|
...itemProps,
|
|
135
135
|
children: [item, cancelButtonIndex === index ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
136
|
-
className:
|
|
136
|
+
className: `${prefixCls}-cancel-button-mask`
|
|
137
137
|
}) : null]
|
|
138
138
|
})
|
|
139
139
|
}, index);
|
|
@@ -149,14 +149,14 @@ function createActionSheet(flag, config, callback) {
|
|
|
149
149
|
const createList = function (item, index) {
|
|
150
150
|
let rowIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
151
151
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
152
|
-
className:
|
|
152
|
+
className: `${prefixCls}-share-list-item`,
|
|
153
153
|
role: "button",
|
|
154
154
|
onClick: () => cb(index, rowIndex),
|
|
155
155
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
156
|
-
className:
|
|
156
|
+
className: `${prefixCls}-share-list-item-icon`,
|
|
157
157
|
children: item.icon
|
|
158
158
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
159
|
-
className:
|
|
159
|
+
className: `${prefixCls}-share-list-item-title`,
|
|
160
160
|
children: item.title
|
|
161
161
|
})]
|
|
162
162
|
}, index);
|
|
@@ -164,17 +164,17 @@ function createActionSheet(flag, config, callback) {
|
|
|
164
164
|
children = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
165
165
|
...(0, _getDataAttr.default)(props),
|
|
166
166
|
children: [titleMsg, /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
167
|
-
className:
|
|
167
|
+
className: `${prefixCls}-share`,
|
|
168
168
|
children: [multipleLine ? options.map((item, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
169
|
-
className:
|
|
169
|
+
className: `${prefixCls}-share-list`,
|
|
170
170
|
children: item.map((ii, ind) => createList(ii, ind, index))
|
|
171
171
|
}, index)) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
172
|
-
className:
|
|
172
|
+
className: `${prefixCls}-share-list`,
|
|
173
173
|
children: options.map((item, index) => createList(item, index))
|
|
174
174
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
|
|
175
|
-
activeClassName:
|
|
175
|
+
activeClassName: `${prefixCls}-share-cancel-button-active`,
|
|
176
176
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
177
|
-
className:
|
|
177
|
+
className: `${prefixCls}-share-cancel-button`,
|
|
178
178
|
role: "button",
|
|
179
179
|
onClick: () => cb(-1),
|
|
180
180
|
children: cancelButtonText
|
|
@@ -186,8 +186,8 @@ function createActionSheet(flag, config, callback) {
|
|
|
186
186
|
default:
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
|
-
const rootCls = (0, _classnames.default)(
|
|
190
|
-
root.render(
|
|
189
|
+
const rootCls = (0, _classnames.default)(`${prefixCls}-${mode}`, className);
|
|
190
|
+
root.render(/*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcDialog.default, {
|
|
191
191
|
visible: true,
|
|
192
192
|
title: "",
|
|
193
193
|
footer: "",
|
|
@@ -23,28 +23,28 @@ class ActivityIndicator extends React.Component {
|
|
|
23
23
|
text
|
|
24
24
|
} = this.props;
|
|
25
25
|
const wrapClass = (0, _classnames.default)(prefixCls, className, {
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
26
|
+
[`${prefixCls}-lg`]: size === 'large',
|
|
27
|
+
[`${prefixCls}-sm`]: size === 'small',
|
|
28
|
+
[`${prefixCls}-toast`]: !!toast
|
|
29
29
|
});
|
|
30
|
-
const spinnerClass = (0, _classnames.default)(
|
|
31
|
-
[
|
|
30
|
+
const spinnerClass = (0, _classnames.default)(`${prefixCls}-spinner`, {
|
|
31
|
+
[`${prefixCls}-spinner-lg`]: !!toast || size === 'large'
|
|
32
32
|
});
|
|
33
33
|
if (animating) {
|
|
34
34
|
if (toast) {
|
|
35
35
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
36
36
|
className: wrapClass,
|
|
37
37
|
children: text ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
38
|
-
className:
|
|
38
|
+
className: `${prefixCls}-content`,
|
|
39
39
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
40
40
|
className: spinnerClass,
|
|
41
41
|
"aria-hidden": "true"
|
|
42
42
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
43
|
-
className:
|
|
43
|
+
className: `${prefixCls}-toast`,
|
|
44
44
|
children: text
|
|
45
45
|
})]
|
|
46
46
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
47
|
-
className:
|
|
47
|
+
className: `${prefixCls}-content`,
|
|
48
48
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
49
49
|
className: spinnerClass,
|
|
50
50
|
"aria-label": "Loading"
|
|
@@ -58,7 +58,7 @@ class ActivityIndicator extends React.Component {
|
|
|
58
58
|
className: spinnerClass,
|
|
59
59
|
"aria-hidden": "true"
|
|
60
60
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
61
|
-
className:
|
|
61
|
+
className: `${prefixCls}-tip`,
|
|
62
62
|
children: text
|
|
63
63
|
})]
|
|
64
64
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -169,7 +169,7 @@ const AsyncUserSelect = _ref => {
|
|
|
169
169
|
bottom
|
|
170
170
|
} = userSelectContainerRef.current.getBoundingClientRect();
|
|
171
171
|
if (bottom > window.innerHeight) {
|
|
172
|
-
userSelectContainerRef.current.style.top =
|
|
172
|
+
userSelectContainerRef.current.style.top = `${window.innerHeight - bottom}px`;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
if (userListContainerRef.current && userItemContainerRef.current) {
|
|
@@ -200,7 +200,7 @@ const AsyncUserSelect = _ref => {
|
|
|
200
200
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_userItem.default, {
|
|
201
201
|
user: user,
|
|
202
202
|
deleteUser: deselectUser
|
|
203
|
-
},
|
|
203
|
+
}, `dtable-ui-user-selector-selected-user-${index}`);
|
|
204
204
|
}), selectedUsers.length === 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
205
205
|
className: "dtable-ui-user-select-placeholder",
|
|
206
206
|
children: emptyPlaceholder || (0, _lang.getLocale)('Search_users')
|
|
@@ -239,7 +239,7 @@ const AsyncUserSelect = _ref => {
|
|
|
239
239
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_userItem.default, {
|
|
240
240
|
user: user,
|
|
241
241
|
enableShowIDInOrgWhenSearchUser: enableShowIDInOrgWhenSearchUser
|
|
242
|
-
},
|
|
242
|
+
}, `dtable-ui-user-selector-searched-user-${index}`), selectedUsers.find(u => u.email === user.email) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
243
243
|
className: "dtable-ui-collaborator-check-icon",
|
|
244
244
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
245
245
|
className: "dtable-font dtable-icon-check-mark",
|
package/lib/Badge/index.js
CHANGED
|
@@ -27,24 +27,24 @@ class Badge extends React.Component {
|
|
|
27
27
|
} = this.props;
|
|
28
28
|
// eslint-disable-next-line no-self-assign
|
|
29
29
|
overflowCount = overflowCount;
|
|
30
|
-
text = typeof text === 'number' && text > overflowCount ?
|
|
30
|
+
text = typeof text === 'number' && text > overflowCount ? `${overflowCount}+` : text;
|
|
31
31
|
|
|
32
32
|
// dot mode don't need text
|
|
33
33
|
if (dot) {
|
|
34
34
|
text = '';
|
|
35
35
|
}
|
|
36
36
|
const scrollNumberCls = (0, _classnames.default)({
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
37
|
+
[`${prefixCls}-dot`]: dot,
|
|
38
|
+
[`${prefixCls}-dot-large`]: dot && size === 'large',
|
|
39
|
+
[`${prefixCls}-text`]: !dot && !corner,
|
|
40
|
+
[`${prefixCls}-corner`]: corner,
|
|
41
|
+
[`${prefixCls}-corner-large`]: corner && size === 'large'
|
|
42
42
|
});
|
|
43
43
|
const badgeCls = (0, _classnames.default)(prefixCls, className, {
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
44
|
+
[`${prefixCls}-not-a-wrapper`]: !children,
|
|
45
|
+
[`${prefixCls}-corner-wrapper`]: corner,
|
|
46
|
+
[`${prefixCls}-hot`]: !!hot,
|
|
47
|
+
[`${prefixCls}-corner-wrapper-large`]: corner && size === 'large'
|
|
48
48
|
});
|
|
49
49
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
50
50
|
className: badgeCls,
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var
|
|
11
|
+
var _DTableIcon = _interopRequireDefault(require("../DTableIcon"));
|
|
12
12
|
var _constants = require("../constants");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
class MBCheckboxEditor extends _react.Component {
|
|
@@ -52,15 +52,7 @@ class MBCheckboxEditor extends _react.Component {
|
|
|
52
52
|
const className = (0, _classnames.default)('dtable-ui-checkbox-check-mark', {
|
|
53
53
|
'dtable-ui-checkbox-check-svg': !(symbol !== null && symbol !== void 0 && symbol.startsWith('dtable-icon'))
|
|
54
54
|
});
|
|
55
|
-
|
|
56
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
57
|
-
className: "dtable-font ".concat(symbol, " ").concat(className || ''),
|
|
58
|
-
style: {
|
|
59
|
-
color
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
55
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableIcon.default, {
|
|
64
56
|
className: className,
|
|
65
57
|
symbol: symbol,
|
|
66
58
|
color: color
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var
|
|
11
|
+
var _DTableIcon = _interopRequireDefault(require("../DTableIcon"));
|
|
12
12
|
var _constants = require("../constants");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
class PCCheckboxEditor extends _react.Component {
|
|
@@ -65,15 +65,7 @@ class PCCheckboxEditor extends _react.Component {
|
|
|
65
65
|
const className = (0, _classnames.default)('dtable-ui-checkbox-check-mark', {
|
|
66
66
|
'dtable-ui-checkbox-check-svg': !(symbol !== null && symbol !== void 0 && symbol.startsWith('dtable-icon'))
|
|
67
67
|
});
|
|
68
|
-
|
|
69
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
70
|
-
className: "dtable-font ".concat(symbol, " ").concat(className || ''),
|
|
71
|
-
style: {
|
|
72
|
-
color
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
68
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableIcon.default, {
|
|
77
69
|
className: className,
|
|
78
70
|
symbol: symbol,
|
|
79
71
|
color: color
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var
|
|
10
|
+
var _DTableIcon = _interopRequireDefault(require("../DTableIcon"));
|
|
11
11
|
var _constants = require("../constants");
|
|
12
12
|
require("./index.css");
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -15,20 +15,11 @@ class CheckboxFormatter extends _react.default.PureComponent {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this.renderIcon = (symbol, color) => {
|
|
18
|
-
|
|
19
|
-
if (symbol.startsWith('dtable-icon')) {
|
|
20
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
21
|
-
className: "dtable-font ".concat(symbol, " ").concat(className || ''),
|
|
22
|
-
style: {
|
|
23
|
-
color
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
className = (0, _classnames.default)(className, {
|
|
18
|
+
const className = (0, _classnames.default)('dtable-ui-checkbox-check-mark', {
|
|
28
19
|
'dtable-ui-checkbox-check-svg': !(symbol !== null && symbol !== void 0 && symbol.startsWith('dtable-icon')),
|
|
29
|
-
'scale-icon': _constants.isMobile
|
|
20
|
+
'scale-icon-150': _constants.isMobile
|
|
30
21
|
});
|
|
31
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableIcon.default, {
|
|
32
23
|
className: className,
|
|
33
24
|
symbol: symbol,
|
|
34
25
|
color: color
|
|
@@ -176,7 +176,7 @@ class PCCollaboratorEditor extends _react.default.Component {
|
|
|
176
176
|
bottom
|
|
177
177
|
} = this.ref.getBoundingClientRect();
|
|
178
178
|
if (bottom > window.innerHeight) {
|
|
179
|
-
this.ref.style.top =
|
|
179
|
+
this.ref.style.top = `${window.innerHeight - bottom}px`;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
if (this.container && this.collaboratorItem) {
|
|
@@ -26,7 +26,7 @@ const CollapsibleSettingLayout = props => {
|
|
|
26
26
|
className: "collapsible-setting-layout-title",
|
|
27
27
|
children: title
|
|
28
28
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
29
|
-
className:
|
|
29
|
+
className: `dtable-font dtable-icon-right${isShowSettings ? ' dtable-icon-spin' : ''}`
|
|
30
30
|
})]
|
|
31
31
|
}), isShowSettings && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
32
32
|
className: "collapsible-setting-layout-body mt-3 pl-2",
|
|
@@ -140,7 +140,7 @@ class Comment extends _react.PureComponent {
|
|
|
140
140
|
if (!this.isCommentUserExist(comment)) return null;
|
|
141
141
|
const isShowDropdownMenu = comment.author === username || !comment.resolved;
|
|
142
142
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
143
|
-
className:
|
|
143
|
+
className: `dtable-ui-comment-container ${comment.resolved ? 'dtable-ui-comment-container-resolved' : ''}`,
|
|
144
144
|
id: comment.id,
|
|
145
145
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
146
146
|
className: "dtable-ui-comment-info",
|
|
@@ -64,7 +64,7 @@ class Footer extends _react.default.Component {
|
|
|
64
64
|
let start = 0;
|
|
65
65
|
let newValue = '';
|
|
66
66
|
while ((match = regex.exec(value)) !== null) {
|
|
67
|
-
let notificationName =
|
|
67
|
+
let notificationName = `${match[1]}`;
|
|
68
68
|
let substr = value.substring(start, match.index);
|
|
69
69
|
start = regex.lastIndex;
|
|
70
70
|
newValue += substr + notificationName;
|
|
@@ -49,12 +49,12 @@ class Input extends _react.default.Component {
|
|
|
49
49
|
right,
|
|
50
50
|
left
|
|
51
51
|
} = this.commentRef.getBoundingClientRect();
|
|
52
|
-
this.commentPopoverRef.style.left =
|
|
53
|
-
this.commentPopoverRef.style.top =
|
|
52
|
+
this.commentPopoverRef.style.left = `${caretPosition.x + FONT_SIZE_WIDTH}px`;
|
|
53
|
+
this.commentPopoverRef.style.top = `${caretPosition.y - this.commentPopoverRef.offsetHeight}px`;
|
|
54
54
|
if (caretPosition.x + FONT_SIZE_WIDTH > right - PADDING_WIDTH) {
|
|
55
55
|
// is last code
|
|
56
|
-
this.commentPopoverRef.style.left =
|
|
57
|
-
this.commentPopoverRef.style.top =
|
|
56
|
+
this.commentPopoverRef.style.left = `${left + PADDING_WIDTH + FONT_SIZE_WIDTH}px`;
|
|
57
|
+
this.commentPopoverRef.style.top = `${caretPosition.y - this.commentPopoverRef.offsetHeight + LINE_HEIGHT}px`;
|
|
58
58
|
}
|
|
59
59
|
if (caretPosition.x + FONT_SIZE_WIDTH + this.commentPopoverRef.offsetWidth > document.body.clientWidth) {
|
|
60
60
|
this.commentPopoverRef.style.right = 0;
|
|
@@ -166,7 +166,7 @@ class Input extends _react.default.Component {
|
|
|
166
166
|
spanNode2 = document.createElement('span');
|
|
167
167
|
spanNode1.className = 'at-text';
|
|
168
168
|
spanNode1.contentEditable = 'false';
|
|
169
|
-
spanNode1.innerHTML =
|
|
169
|
+
spanNode1.innerHTML = `@${content.name}`;
|
|
170
170
|
spanNode2.innerHTML = ' ';
|
|
171
171
|
}
|
|
172
172
|
let frag = document.createDocumentFragment();
|
|
@@ -35,7 +35,7 @@ class Participant extends _react.default.Component {
|
|
|
35
35
|
} = this.props;
|
|
36
36
|
const active = index === activeIndex;
|
|
37
37
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
38
|
-
className:
|
|
38
|
+
className: `comment-participant-item ${active ? 'active' : ''}`,
|
|
39
39
|
ref: ref => this.participantItem = ref,
|
|
40
40
|
onClick: this.onSelect,
|
|
41
41
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -127,12 +127,12 @@ class ParticipantSelect extends _react.Component {
|
|
|
127
127
|
}
|
|
128
128
|
componentDidMount() {
|
|
129
129
|
let collaboratorListHeight = this.participantsRef.offsetHeight;
|
|
130
|
-
this.participantsRef.style.top =
|
|
130
|
+
this.participantsRef.style.top = `${-collaboratorListHeight + 10}px`;
|
|
131
131
|
this.registerHandlers();
|
|
132
132
|
}
|
|
133
133
|
componentDidUpdate() {
|
|
134
134
|
let collaboratorListHeight = this.participantsRef.offsetHeight;
|
|
135
|
-
this.participantsRef.style.top =
|
|
135
|
+
this.participantsRef.style.top = `${-collaboratorListHeight + 10}px`;
|
|
136
136
|
}
|
|
137
137
|
componentWillUnmount() {
|
|
138
138
|
this.unregisterHandlers();
|
|
@@ -74,7 +74,7 @@ class Utilities {
|
|
|
74
74
|
spanNode2 = document.createElement('span');
|
|
75
75
|
spanNode1.className = 'at-text';
|
|
76
76
|
spanNode1.contentEditable = 'true';
|
|
77
|
-
spanNode1.innerHTML =
|
|
77
|
+
spanNode1.innerHTML = `@${content.name}`;
|
|
78
78
|
spanNode2.innerHTML = ' ';
|
|
79
79
|
}
|
|
80
80
|
let frag = document.createDocumentFragment();
|
|
@@ -35,13 +35,13 @@ function ColorPickerPortal(_ref) {
|
|
|
35
35
|
} = targetRect;
|
|
36
36
|
const portalRectHeight = containerRef.current.clientHeight;
|
|
37
37
|
const newPosition = {
|
|
38
|
-
left:
|
|
38
|
+
left: `${left + 1}px`,
|
|
39
39
|
visibility: 'visible'
|
|
40
40
|
};
|
|
41
41
|
if (spaceAbove < portalRectHeight) {
|
|
42
|
-
newPosition.top =
|
|
42
|
+
newPosition.top = `calc(${spaceAbove}px + 2.375rem)`;
|
|
43
43
|
} else {
|
|
44
|
-
newPosition.top =
|
|
44
|
+
newPosition.top = `calc(${spaceAbove - portalRectHeight}px)`;
|
|
45
45
|
}
|
|
46
46
|
setPosition(prev => ({
|
|
47
47
|
...prev,
|
|
@@ -73,7 +73,7 @@ function ColorPickerPortal(_ref) {
|
|
|
73
73
|
};
|
|
74
74
|
}, [target, scrollContainerId, throttleDelay, updatePosition]);
|
|
75
75
|
if (!target) return null;
|
|
76
|
-
return /*#__PURE__*/_reactDom.default.createPortal(
|
|
76
|
+
return /*#__PURE__*/_reactDom.default.createPortal(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
77
77
|
className: "dtable-color-picker-portal",
|
|
78
78
|
style: {
|
|
79
79
|
position: 'fixed',
|
|
@@ -246,18 +246,18 @@ const DTableColorPicker = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
246
246
|
children: colors.map((color, index) => {
|
|
247
247
|
const isLight = (0, _utils.isLightColor)(color);
|
|
248
248
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
249
|
-
className:
|
|
249
|
+
className: `color-item mr-2 ${isLight ? '' : 'dark'}`,
|
|
250
250
|
onClick: () => onSelectDefaultColor(color),
|
|
251
251
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
252
252
|
className: "colorinput-color d-flex align-items-center justify-content-center",
|
|
253
253
|
style: {
|
|
254
254
|
backgroundColor: color
|
|
255
255
|
},
|
|
256
|
-
children: color ===
|
|
256
|
+
children: color === `${(0, _utils.rgbaToHex)(value)}` && alphaVal === 100 && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
257
257
|
className: "dtable-icon-color-check dtable-font dtable-icon-check-mark"
|
|
258
258
|
})
|
|
259
259
|
})
|
|
260
|
-
},
|
|
260
|
+
}, `default-color-${index}`);
|
|
261
261
|
})
|
|
262
262
|
})]
|
|
263
263
|
});
|
|
@@ -271,7 +271,7 @@ const DTableColorPicker = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
271
271
|
color: value,
|
|
272
272
|
onChange: onChangeChromePicker
|
|
273
273
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
274
|
-
className:
|
|
274
|
+
className: `color-setting d-flex align-items-center ${colorMode}`,
|
|
275
275
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
276
276
|
className: "mode-btn d-flex",
|
|
277
277
|
onClick: onChangeMode,
|
|
@@ -345,7 +345,7 @@ const DTableColorPicker = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
345
345
|
children: currentUsedColors.map((color, index) => {
|
|
346
346
|
const isLight = (0, _utils.isLightColor)(color);
|
|
347
347
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
348
|
-
className:
|
|
348
|
+
className: `color-item mr-2 ${isLight ? '' : 'dark'}`,
|
|
349
349
|
onClick: () => onSelectDefaultColor(color),
|
|
350
350
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
351
351
|
className: "colorinput-color d-flex align-items-center justify-content-center",
|
|
@@ -353,7 +353,7 @@ const DTableColorPicker = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
353
353
|
backgroundColor: color
|
|
354
354
|
}
|
|
355
355
|
})
|
|
356
|
-
},
|
|
356
|
+
}, `default-color-${index}`);
|
|
357
357
|
})
|
|
358
358
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
359
359
|
className: "blank-placeholder d-flex align-items-center justify-content-center",
|
|
@@ -54,7 +54,7 @@ const rgbaToHex = function (color) {
|
|
|
54
54
|
return hex.length === 1 ? '0' + hex : hex;
|
|
55
55
|
};
|
|
56
56
|
const alpha = a !== undefined && a !== 1 ? toHex(Math.round(a * 255)) : '';
|
|
57
|
-
return
|
|
57
|
+
return `${isNeedPrefix ? '#' : ''}${toHex(r)}${toHex(g)}${toHex(b)}${isNeedAlpha ? alpha : ''}`;
|
|
58
58
|
};
|
|
59
59
|
exports.rgbaToHex = rgbaToHex;
|
|
60
60
|
const isLightColor = color => {
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
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 _dtableUtils = require("dtable-utils");
|
|
9
|
+
var _DTableIcon = _interopRequireDefault(require("../DTableIcon"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const COLUMNS_ICON_CONFIG = {
|
|
12
|
+
[_dtableUtils.CellType.DEFAULT]: 'dtable-font dtable-icon-single-line-text',
|
|
13
|
+
[_dtableUtils.CellType.TEXT]: 'dtable-font dtable-icon-single-line-text',
|
|
14
|
+
[_dtableUtils.CellType.STRING]: 'dtable-font dtable-icon-single-line-text',
|
|
15
|
+
[_dtableUtils.CellType.NUMBER]: 'dtable-font dtable-icon-number',
|
|
16
|
+
[_dtableUtils.CellType.CHECKBOX]: 'dtable-font dtable-icon-check-square-solid',
|
|
17
|
+
[_dtableUtils.CellType.DATE]: 'dtable-font dtable-icon-calendar-alt-solid',
|
|
18
|
+
[_dtableUtils.CellType.SINGLE_SELECT]: 'dtable-font dtable-icon-single-election',
|
|
19
|
+
[_dtableUtils.CellType.LONG_TEXT]: 'dtable-font dtable-icon-long-text',
|
|
20
|
+
[_dtableUtils.CellType.IMAGE]: 'dtable-font dtable-icon-picture',
|
|
21
|
+
[_dtableUtils.CellType.FILE]: 'dtable-font dtable-icon-file-alt-solid',
|
|
22
|
+
[_dtableUtils.CellType.MULTIPLE_SELECT]: 'dtable-font dtable-icon-multiple-selection',
|
|
23
|
+
[_dtableUtils.CellType.COLLABORATOR]: 'dtable-font dtable-icon-collaborator',
|
|
24
|
+
[_dtableUtils.CellType.LINK]: 'dtable-font dtable-icon-link-other-record',
|
|
25
|
+
[_dtableUtils.CellType.FORMULA]: 'dtable-font dtable-icon-formula',
|
|
26
|
+
[_dtableUtils.CellType.LINK_FORMULA]: 'dtable-font dtable-icon-link-formulas',
|
|
27
|
+
[_dtableUtils.CellType.CREATOR]: 'dtable-font dtable-icon-creator',
|
|
28
|
+
[_dtableUtils.CellType.CTIME]: 'dtable-font dtable-icon-creation-time',
|
|
29
|
+
[_dtableUtils.CellType.LAST_MODIFIER]: 'dtable-font dtable-icon-creator',
|
|
30
|
+
[_dtableUtils.CellType.MTIME]: 'dtable-font dtable-icon-creation-time',
|
|
31
|
+
[_dtableUtils.CellType.GEOLOCATION]: 'dtable-font dtable-icon-location',
|
|
32
|
+
[_dtableUtils.CellType.AUTO_NUMBER]: 'dtable-font dtable-icon-autonumber',
|
|
33
|
+
[_dtableUtils.CellType.URL]: 'dtable-font dtable-icon-url',
|
|
34
|
+
[_dtableUtils.CellType.EMAIL]: 'dtable-font dtable-icon-email',
|
|
35
|
+
[_dtableUtils.CellType.DURATION]: 'dtable-font dtable-icon-duration',
|
|
36
|
+
[_dtableUtils.CellType.BUTTON]: 'dtable-font dtable-icon-button',
|
|
37
|
+
[_dtableUtils.CellType.RATE]: 'dtable-font dtable-icon-rate',
|
|
38
|
+
[_dtableUtils.CellType.DIGITAL_SIGN]: 'dtable-font dtable-icon-handwritten-signature',
|
|
39
|
+
[_dtableUtils.CellType.DEPARTMENT_SINGLE_SELECT]: 'dtable-font dtable-icon-department-single-selection'
|
|
40
|
+
};
|
|
41
|
+
const COLUMN_DISPLAY_TYPE_ICON_CONFIG = {
|
|
42
|
+
[_dtableUtils.CellType.TEXT]: {
|
|
43
|
+
[_dtableUtils.TEXT_DISPLAY_TYPE_MAP.PHONE]: 'telephone'
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const DTableColumnIcon = _ref => {
|
|
47
|
+
let {
|
|
48
|
+
columnType,
|
|
49
|
+
columnDisplayType,
|
|
50
|
+
color,
|
|
51
|
+
className,
|
|
52
|
+
ariaHidden = false,
|
|
53
|
+
getSvg
|
|
54
|
+
} = _ref;
|
|
55
|
+
let symbol = null;
|
|
56
|
+
let displayTypeIconConfig = COLUMN_DISPLAY_TYPE_ICON_CONFIG[columnType];
|
|
57
|
+
if (displayTypeIconConfig && columnDisplayType) {
|
|
58
|
+
symbol = displayTypeIconConfig[columnDisplayType];
|
|
59
|
+
}
|
|
60
|
+
if (!symbol) {
|
|
61
|
+
symbol = COLUMNS_ICON_CONFIG[columnType];
|
|
62
|
+
}
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableIcon.default, {
|
|
64
|
+
className: className,
|
|
65
|
+
symbol: symbol,
|
|
66
|
+
color: color,
|
|
67
|
+
ariaHidden: ariaHidden,
|
|
68
|
+
getSvg: getSvg
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
var _default = exports.default = DTableColumnIcon;
|
|
@@ -18,11 +18,11 @@ function DTableCommonAddTool(_ref) {
|
|
|
18
18
|
style
|
|
19
19
|
} = _ref;
|
|
20
20
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
21
|
-
className:
|
|
21
|
+
className: `dtable-ui add-item-btn ${className ? className : ''}`,
|
|
22
22
|
style: style,
|
|
23
23
|
onClick: e => callBack(e),
|
|
24
24
|
children: [!hideIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
25
|
-
className:
|
|
25
|
+
className: `dtable-font dtable-icon-add-table ${addIconClassName || ''}`
|
|
26
26
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
27
27
|
className: "add-new-option text-truncate",
|
|
28
28
|
children: footerName
|
|
@@ -156,7 +156,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
156
156
|
firstDayOfWeek: firstDayOfWeek,
|
|
157
157
|
updateFilters: this.updateFilters
|
|
158
158
|
}), !isSupportAdvanced && !readOnly && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCommonAddTool.default, {
|
|
159
|
-
className:
|
|
159
|
+
className: `popover-add-tool ${canAddFilter ? '' : 'disabled'}`,
|
|
160
160
|
callBack: canAddFilter ? () => this.addFilter() : () => {},
|
|
161
161
|
footerName: (0, _lang.getLocale)('Add_filter'),
|
|
162
162
|
addIconClassName: "popover-add-icon"
|