dtable-ui-component 6.0.109 → 6.0.110-aik.2
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 +42 -35
- package/lib/ActivityIndicator/index.js +9 -9
- package/lib/AsyncUserSelect/index.css +54 -12
- package/lib/AsyncUserSelect/index.js +27 -16
- package/lib/Badge/index.js +27 -31
- package/lib/CheckboxEditor/index.js +15 -14
- package/lib/CollaboratorEditor/index.js +16 -15
- 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/body/index.js +7 -9
- 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 +8 -6
- package/lib/DTableColorPicker/index.js +13 -12
- package/lib/DTableColorPicker/utils.js +1 -1
- package/lib/DTableCommonAddTool/index.js +2 -2
- package/lib/DTableFiltersPopover/index.js +1 -1
- package/lib/DTableFiltersPopover/utils/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/filter-group.js +2 -2
- package/lib/DTableFiltersPopover/widgets/filter-item.js +1 -1
- package/lib/DTableFiltersPopover/widgets/filter-list/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/rate-item.js +5 -5
- package/lib/DTableGroupSelect/index.css +42 -5
- package/lib/DTableGroupSelect/select-option-group.css +3 -3
- package/lib/DTableGroupSelect/select-option-group.js +23 -5
- package/lib/DTableIcon/index.js +4 -4
- package/lib/DTableIcon/svg-icon.js +4 -4
- package/lib/DTableModalHeader/index.js +6 -8
- package/lib/DTableRadioGroup/index.js +3 -3
- package/lib/DTableSelect/dtable-select-label.js +1 -1
- package/lib/DTableSelect/utils.js +55 -36
- package/lib/DateEditor/index.js +13 -10
- package/lib/DateEditor/pc-editor.js +1 -1
- package/lib/DatePicker/utils.js +4 -4
- package/lib/DepartmentMultipleSelectEditor/index.js +3 -3
- package/lib/DepartmentSelectFilter/index.js +5 -2
- package/lib/DepartmentSingleSelectEditor/index.js +15 -14
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +2 -2
- package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +6 -6
- package/lib/DigitalSignEditor/index.js +15 -14
- package/lib/DigitalSignEditor/mb-editor/index.js +4 -4
- package/lib/DigitalSignEditor/pc-editor/index.js +7 -6
- 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/Drawer/index.js +3 -2
- package/lib/FieldDisplaySetting/field-item.js +1 -1
- package/lib/FieldDisplaySetting/index.js +11 -9
- package/lib/FileEditor/files-previewer/index.js +15 -14
- 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/index.js +15 -14
- 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/FileEditor/pc-editor/index.js +3 -3
- 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 +15 -9
- package/lib/GeolocationEditor/index.js +23 -19
- package/lib/GeolocationEditor/map-editor-utils.js +10 -6
- package/lib/GeolocationEditor/mb-editor/index.js +27 -23
- package/lib/GeolocationEditor/mb-editor/map-editor/index.js +9 -6
- package/lib/GeolocationEditor/pc-editor/country-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/index.js +21 -15
- package/lib/GeolocationEditor/pc-editor/location-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/map-editor/index.js +13 -9
- package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +9 -6
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +24 -7
- 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 +2 -2
- package/lib/GeolocationEditor/pc-editor/selector-list.js +1 -1
- package/lib/HtmlLongTextFormatter/index.js +1 -1
- package/lib/Icon/index.js +13 -17
- package/lib/Icon/load-sprite.js +13 -2
- package/lib/IconButton/index.js +11 -14
- package/lib/ImageEditor/images-previewer/image-preview/index.js +1 -1
- package/lib/ImageEditor/index.js +15 -14
- 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/ImagePreviewerLightbox/index.css +49 -6
- package/lib/ImagePreviewerLightbox/index.js +46 -25
- package/lib/ImageThumbnail/index.js +2 -2
- package/lib/InputItem/custom-input.js +9 -9
- package/lib/InputItem/custom-keyboard.js +34 -37
- package/lib/InputItem/index.js +52 -49
- package/lib/InputItem/input.js +9 -13
- package/lib/LinkEditor/pc-popover/index.js +3 -2
- package/lib/List/index.js +17 -21
- package/lib/List/list-item.js +50 -52
- 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/MobileModal/index.js +7 -10
- package/lib/Modal/alert.js +2 -2
- package/lib/Modal/modal.js +28 -31
- package/lib/Modal/prompt.js +10 -10
- package/lib/MultipleSelectEditor/index.js +6 -8
- package/lib/MultipleSelectFormatter/index.js +1 -1
- package/lib/PhoneNumberLink/index.js +1 -1
- package/lib/Picker/AbstractPicker.js +26 -28
- package/lib/Popover/index.js +9 -12
- package/lib/Popover/item.js +22 -26
- package/lib/Progress/index.js +10 -8
- package/lib/Radio/Radio.js +13 -15
- package/lib/Radio/RadioItem.js +18 -18
- package/lib/RateFormatter/index.js +2 -2
- package/lib/RoleStatusEditor/index.js +1 -1
- package/lib/RowExpand/index.js +7 -6
- package/lib/RowExpandDialog/body/index.js +14 -14
- package/lib/RowExpandDialog/column-content/index.js +1 -1
- package/lib/RowExpandDialog/header/index.js +4 -3
- package/lib/RowExpandDialog/index.js +43 -32
- package/lib/RowExpandEditor/add-btn/index.js +7 -6
- package/lib/RowExpandEditor/checkbox-editor/index.js +7 -6
- package/lib/RowExpandEditor/collaborator-editor/index.js +7 -6
- package/lib/RowExpandEditor/date-editor/index.js +7 -6
- package/lib/RowExpandEditor/department-editor/index.js +7 -6
- package/lib/RowExpandEditor/digital-sign-editor/index.js +7 -6
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +4 -4
- package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +4 -4
- package/lib/RowExpandEditor/duration-editor/index.js +7 -6
- package/lib/RowExpandEditor/email-editor/index.js +7 -6
- 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/file-editor/index.js +7 -6
- package/lib/RowExpandEditor/geolocation-editor/index.js +7 -6
- package/lib/RowExpandEditor/image-editor/index.js +7 -6
- 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/index.js +11 -10
- package/lib/RowExpandEditor/long-text-editor/index.js +7 -6
- package/lib/RowExpandEditor/multiple-select-editor/index.js +7 -6
- 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/number-editor/index.js +7 -6
- package/lib/RowExpandEditor/rate-editor/index.js +7 -6
- package/lib/RowExpandEditor/rate-editor/mb-editor.js +1 -1
- package/lib/RowExpandEditor/rate-editor/pc-editor.js +5 -5
- package/lib/RowExpandEditor/single-select-editor/index.js +7 -6
- package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +4 -4
- package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +3 -3
- package/lib/RowExpandEditor/text-editor/index.js +7 -6
- package/lib/RowExpandEditor/url-editor/index.js +7 -6
- package/lib/RowExpandEditor/url-editor/mb-editor/index.js +2 -2
- package/lib/RowExpandEditor/url-editor/pc-editor/index.js +2 -2
- package/lib/RowExpandFormatter/department-formatter/index.js +6 -3
- 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 +17 -11
- package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +2 -2
- package/lib/RowExpandFormatter/index.js +11 -7
- 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 +2 -2
- package/lib/RowExpandFormatter/url-formatter/index.js +2 -2
- package/lib/RowExpandView/body/index.js +13 -15
- package/lib/RowExpandView/index.js +39 -28
- package/lib/SelectOptionGroup/index.js +1 -1
- package/lib/SelectedDepartments/index.js +3 -3
- package/lib/SimpleLongTextFormatter/index.js +2 -2
- package/lib/SingleSelectEditor/index.js +6 -8
- package/lib/TabBar/Tab.js +10 -10
- package/lib/TabBar/index.js +7 -6
- package/lib/Tabs/index.js +10 -9
- package/lib/TextareaItem/index.js +43 -45
- package/lib/Toast/index.js +5 -5
- package/lib/formatterConfig/index.js +3 -3
- package/lib/locales/de.json +5 -0
- package/lib/locales/en.json +5 -0
- package/lib/locales/es.json +5 -0
- package/lib/locales/fr.json +5 -0
- package/lib/locales/pt.json +5 -0
- package/lib/locales/ru.json +5 -0
- package/lib/locales/zh-CN.json +5 -0
- package/lib/select-editor/index.js +15 -14
- package/lib/select-editor/pc-editor/index.js +5 -5
- package/lib/toaster/alert.js +1 -1
- package/lib/toaster/toast.js +1 -1
- package/lib/toaster/toastManager.js +12 -14
- package/lib/toaster/toaster.js +12 -9
- package/lib/utils/class.js +3 -3
- package/lib/utils/departments.js +3 -4
- package/lib/utils/getLocale.js +11 -5
- package/lib/utils/object-utils.js +5 -4
- package/lib/utils/url.js +4 -4
- package/package.json +14 -15
package/lib/Tabs/index.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = exports.DefaultTabBar = void 0;
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
10
8
|
var React = _interopRequireWildcard(require("react"));
|
|
11
9
|
var _rmcTabs = require("rmc-tabs");
|
|
12
10
|
require("./index.css");
|
|
13
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
12
|
class DefaultTabBar extends _rmcTabs.DefaultTabBar {}
|
|
15
13
|
exports.DefaultTabBar = DefaultTabBar;
|
|
16
|
-
DefaultTabBar.defaultProps =
|
|
14
|
+
DefaultTabBar.defaultProps = {
|
|
15
|
+
..._rmcTabs.DefaultTabBar.defaultProps,
|
|
17
16
|
prefixCls: 'am-tabs-default-bar'
|
|
18
|
-
}
|
|
17
|
+
};
|
|
19
18
|
class Tabs extends React.PureComponent {
|
|
20
19
|
constructor() {
|
|
21
20
|
super(...arguments);
|
|
@@ -23,15 +22,17 @@ class Tabs extends React.PureComponent {
|
|
|
23
22
|
const {
|
|
24
23
|
renderTab
|
|
25
24
|
} = this.props;
|
|
26
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(DefaultTabBar,
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(DefaultTabBar, {
|
|
26
|
+
...props,
|
|
27
27
|
renderTab: renderTab
|
|
28
|
-
})
|
|
28
|
+
});
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcTabs.Tabs,
|
|
33
|
-
renderTabBar: this.renderTabBar
|
|
34
|
-
|
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcTabs.Tabs, {
|
|
33
|
+
renderTabBar: this.renderTabBar,
|
|
34
|
+
...this.props
|
|
35
|
+
});
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
exports.default = Tabs;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
10
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
11
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
10
|
var React = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
|
|
14
12
|
var _exenv = require("../utils/exenv");
|
|
15
13
|
require("./index.css");
|
|
16
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
const _excluded = ["prefixCls", "prefixListCls", "editable", "style", "clear", "children", "error", "className", "count", "labelNumber", "title", "onErrorClick", "autoHeight", "defaultValue"];
|
|
18
15
|
/* tslint:disable:jsx-no-multiline-js */
|
|
16
|
+
|
|
19
17
|
function noop() {}
|
|
20
18
|
function fixControlledValue(value) {
|
|
21
19
|
if (typeof value === 'undefined' || value === null) {
|
|
@@ -37,7 +35,7 @@ class TextareaItem extends React.Component {
|
|
|
37
35
|
this.reAlignHeight = () => {
|
|
38
36
|
const textareaDom = this.textareaRef;
|
|
39
37
|
textareaDom.style.height = ''; // 字数减少时能自动减小高度
|
|
40
|
-
textareaDom.style.height =
|
|
38
|
+
textareaDom.style.height = `${textareaDom.scrollHeight}px`;
|
|
41
39
|
};
|
|
42
40
|
this.onChange = e => {
|
|
43
41
|
const value = e.target.value;
|
|
@@ -135,24 +133,23 @@ class TextareaItem extends React.Component {
|
|
|
135
133
|
}
|
|
136
134
|
}
|
|
137
135
|
render() {
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
otherProps = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
|
|
136
|
+
const {
|
|
137
|
+
prefixCls,
|
|
138
|
+
prefixListCls,
|
|
139
|
+
editable,
|
|
140
|
+
style,
|
|
141
|
+
clear,
|
|
142
|
+
children,
|
|
143
|
+
error,
|
|
144
|
+
className,
|
|
145
|
+
count,
|
|
146
|
+
labelNumber,
|
|
147
|
+
title,
|
|
148
|
+
onErrorClick,
|
|
149
|
+
autoHeight,
|
|
150
|
+
defaultValue,
|
|
151
|
+
...otherProps
|
|
152
|
+
} = this.props;
|
|
156
153
|
const {
|
|
157
154
|
disabled
|
|
158
155
|
} = otherProps;
|
|
@@ -161,20 +158,20 @@ class TextareaItem extends React.Component {
|
|
|
161
158
|
focus
|
|
162
159
|
} = this.state;
|
|
163
160
|
const hasCount = count > 0 && this.props.rows > 1;
|
|
164
|
-
const wrapCls = (0, _classnames.default)(className,
|
|
165
|
-
[
|
|
166
|
-
[
|
|
167
|
-
[
|
|
168
|
-
[
|
|
169
|
-
[
|
|
161
|
+
const wrapCls = (0, _classnames.default)(className, `${prefixListCls}-item`, `${prefixCls}-item`, {
|
|
162
|
+
[`${prefixCls}-disabled`]: disabled,
|
|
163
|
+
[`${prefixCls}-item-single-line`]: this.props.rows === 1 && !autoHeight,
|
|
164
|
+
[`${prefixCls}-error`]: error,
|
|
165
|
+
[`${prefixCls}-focus`]: focus,
|
|
166
|
+
[`${prefixCls}-has-count`]: hasCount
|
|
170
167
|
});
|
|
171
|
-
const labelCls = (0, _classnames.default)(
|
|
172
|
-
[
|
|
173
|
-
[
|
|
174
|
-
[
|
|
175
|
-
[
|
|
176
|
-
[
|
|
177
|
-
[
|
|
168
|
+
const labelCls = (0, _classnames.default)(`${prefixCls}-label`, {
|
|
169
|
+
[`${prefixCls}-label-2`]: labelNumber === 2,
|
|
170
|
+
[`${prefixCls}-label-3`]: labelNumber === 3,
|
|
171
|
+
[`${prefixCls}-label-4`]: labelNumber === 4,
|
|
172
|
+
[`${prefixCls}-label-5`]: labelNumber === 5,
|
|
173
|
+
[`${prefixCls}-label-6`]: labelNumber === 6,
|
|
174
|
+
[`${prefixCls}-label-7`]: labelNumber === 7
|
|
178
175
|
});
|
|
179
176
|
const characterLength = countSymbols(value);
|
|
180
177
|
const lengthCtrlProps = {};
|
|
@@ -194,28 +191,29 @@ class TextareaItem extends React.Component {
|
|
|
194
191
|
className: labelCls,
|
|
195
192
|
children: title
|
|
196
193
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
197
|
-
className:
|
|
198
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("textarea",
|
|
199
|
-
ref: el => this.textareaRef = el
|
|
200
|
-
|
|
194
|
+
className: `${prefixCls}-control`,
|
|
195
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("textarea", {
|
|
196
|
+
ref: el => this.textareaRef = el,
|
|
197
|
+
...lengthCtrlProps,
|
|
198
|
+
...otherProps,
|
|
201
199
|
value: value,
|
|
202
200
|
onChange: this.onChange,
|
|
203
201
|
onBlur: this.onBlur,
|
|
204
202
|
onFocus: this.onFocus,
|
|
205
203
|
readOnly: !editable,
|
|
206
204
|
style: style
|
|
207
|
-
})
|
|
205
|
+
})
|
|
208
206
|
}), clear && editable && value && characterLength > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
|
|
209
|
-
activeClassName:
|
|
207
|
+
activeClassName: `${prefixCls}-clear-active`,
|
|
210
208
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
211
|
-
className:
|
|
209
|
+
className: `${prefixCls}-clear`,
|
|
212
210
|
onClick: this.clearInput
|
|
213
211
|
})
|
|
214
212
|
}), error && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
215
|
-
className:
|
|
213
|
+
className: `${prefixCls}-error-extra`,
|
|
216
214
|
onClick: this.onErrorClick
|
|
217
215
|
}), hasCount && /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
218
|
-
className:
|
|
216
|
+
className: `${prefixCls}-count`,
|
|
219
217
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
220
218
|
children: value ? characterLength : 0
|
|
221
219
|
}), "/", count]
|
package/lib/Toast/index.js
CHANGED
|
@@ -27,8 +27,8 @@ function getMessageInstance(mask, callback) {
|
|
|
27
27
|
// clear rmc-notification default style
|
|
28
28
|
transitionName: 'am-fade',
|
|
29
29
|
className: (0, _classnames.default)({
|
|
30
|
-
[
|
|
31
|
-
[
|
|
30
|
+
[`${prefixCls}-mask`]: mask,
|
|
31
|
+
[`${prefixCls}-nomask`]: !mask
|
|
32
32
|
})
|
|
33
33
|
}, notification => callback && callback(notification));
|
|
34
34
|
}
|
|
@@ -63,18 +63,18 @@ function notice(content, type) {
|
|
|
63
63
|
duration,
|
|
64
64
|
style: {},
|
|
65
65
|
content: iconType ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66
|
-
className:
|
|
66
|
+
className: `${prefixCls}-text ${prefixCls}-text-icon`,
|
|
67
67
|
role: "alert",
|
|
68
68
|
"aria-live": "assertive",
|
|
69
69
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
70
70
|
type: iconType,
|
|
71
71
|
size: "lg"
|
|
72
72
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
73
|
-
className:
|
|
73
|
+
className: `${prefixCls}-text-info`,
|
|
74
74
|
children: content
|
|
75
75
|
})]
|
|
76
76
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
77
|
-
className:
|
|
77
|
+
className: `${prefixCls}-text`,
|
|
78
78
|
role: "alert",
|
|
79
79
|
"aria-live": "assertive",
|
|
80
80
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _dtableUtils = require("dtable-utils");
|
|
11
10
|
var _baseFormatterConfig = _interopRequireDefault(require("./base-formatter-config"));
|
|
12
11
|
var _LinkFormatter = _interopRequireDefault(require("../LinkFormatter"));
|
|
13
12
|
var _FormulaFormatter = _interopRequireDefault(require("../FormulaFormatter"));
|
|
14
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
const FormatterConfig =
|
|
14
|
+
const FormatterConfig = {
|
|
15
|
+
..._baseFormatterConfig.default,
|
|
16
16
|
[_dtableUtils.CellType.FORMULA]: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FormulaFormatter.default, {}),
|
|
17
17
|
[_dtableUtils.CellType.LINK]: /*#__PURE__*/(0, _jsxRuntime.jsx)(_LinkFormatter.default, {})
|
|
18
|
-
}
|
|
18
|
+
};
|
|
19
19
|
var _default = exports.default = FormatterConfig;
|
package/lib/locales/de.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Mitarbeiter suchen",
|
|
10
10
|
"No_collaborators_available": "Es sind keine Mitarbeiter verfügbar.",
|
|
11
11
|
"Done": "Erledigt",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Wählen Sie einen Mitarbeiter",
|
|
13
18
|
"Please_select": "Auswählen",
|
|
14
19
|
"Clear": "Leeren",
|
package/lib/locales/en.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Search collaborator",
|
|
10
10
|
"No_collaborators_available": "No collaborators available.",
|
|
11
11
|
"Done": "Done",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Choose a collaborator",
|
|
13
18
|
"Please_select": "Please select",
|
|
14
19
|
"Clear": "Clear",
|
package/lib/locales/es.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Search collaborator",
|
|
10
10
|
"No_collaborators_available": "No hay colaboradores disponibles.",
|
|
11
11
|
"Done": "Hecho",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Choose a collaborator",
|
|
13
18
|
"Please_select": "Seleccione",
|
|
14
19
|
"Clear": "Limpiar",
|
package/lib/locales/fr.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Rechercher des collaborateurs",
|
|
10
10
|
"No_collaborators_available": "Aucun collaborateur n'est disponible.",
|
|
11
11
|
"Done": "Fait",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Choisissez un collaborateur",
|
|
13
18
|
"Please_select": "Sélectionner",
|
|
14
19
|
"Clear": "Effacer",
|
package/lib/locales/pt.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Encontre um colaborador",
|
|
10
10
|
"No_collaborators_available": "Nenhum colaborador disponível.",
|
|
11
11
|
"Done": "Feita",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Choose a collaborator",
|
|
13
18
|
"Please_select": "Por favor, selecione",
|
|
14
19
|
"Clear": "Clara",
|
package/lib/locales/ru.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "Поиск сотрудника",
|
|
10
10
|
"No_collaborators_available": "Нет сотрудников.",
|
|
11
11
|
"Done": "Выполнено",
|
|
12
|
+
"Rotate_image": "Rotate image",
|
|
13
|
+
"Delete_image": "delete image",
|
|
14
|
+
"Download_image": "Download image",
|
|
15
|
+
"Zoom_in": "Zoom in",
|
|
16
|
+
"Zoom_out": "Zoom out",
|
|
12
17
|
"Choose_a_collaborator": "Choose a collaborator",
|
|
13
18
|
"Please_select": "Please select",
|
|
14
19
|
"Clear": "Очистить",
|
package/lib/locales/zh-CN.json
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"Search_collaborator": "搜索协作人",
|
|
10
10
|
"No_collaborators_available": "没有找到协作人",
|
|
11
11
|
"Done": "完成",
|
|
12
|
+
"Rotate_image": "旋转",
|
|
13
|
+
"Delete_image": "删除",
|
|
14
|
+
"Download_image": "下载",
|
|
15
|
+
"Zoom_in": "放大",
|
|
16
|
+
"Zoom_out": "缩小",
|
|
12
17
|
"Choose_a_collaborator": "选择一个协作人",
|
|
13
18
|
"Please_select": "请选择",
|
|
14
19
|
"Clear": "清除",
|
|
@@ -6,36 +6,37 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
10
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
11
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
13
11
|
var _pcEditor = _interopRequireDefault(require("./pc-editor"));
|
|
14
12
|
var _mbEditor = _interopRequireDefault(require("./mb-editor"));
|
|
15
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
const _excluded = ["isMobile"];
|
|
17
14
|
const SelectEditor = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
18
15
|
let {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
if (isMobile === false) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default,
|
|
16
|
+
isMobile,
|
|
17
|
+
...props
|
|
18
|
+
} = _ref;
|
|
19
|
+
if (isMobile === false) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, {
|
|
20
|
+
...props,
|
|
23
21
|
ref: ref
|
|
24
|
-
})
|
|
25
|
-
if (isMobile === true) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default,
|
|
22
|
+
});
|
|
23
|
+
if (isMobile === true) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, {
|
|
24
|
+
...props,
|
|
26
25
|
ref: ref
|
|
27
|
-
})
|
|
26
|
+
});
|
|
28
27
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
29
28
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
30
29
|
query: "(min-width: 768px)",
|
|
31
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default,
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, {
|
|
31
|
+
...props,
|
|
32
32
|
ref: ref
|
|
33
|
-
})
|
|
33
|
+
})
|
|
34
34
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
35
35
|
query: "(max-width: 768px)",
|
|
36
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default,
|
|
36
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, {
|
|
37
|
+
...props,
|
|
37
38
|
ref: ref
|
|
38
|
-
})
|
|
39
|
+
})
|
|
39
40
|
})]
|
|
40
41
|
});
|
|
41
42
|
});
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
10
|
var _reactstrap = require("reactstrap");
|
|
@@ -222,7 +221,7 @@ class PCSelectEditor extends _react.default.Component {
|
|
|
222
221
|
let maxWidth = isInModal ? 250 : (column === null || column === void 0 ? void 0 : column.width) > 200 ? column.width - 62 : 138;
|
|
223
222
|
const dom = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
224
223
|
className: (0, _classnames.default)('dtable-ui-editor-container dtable-ui-select-editor-container', className, {
|
|
225
|
-
[
|
|
224
|
+
[`${classNamePrefix}-select-editor-container`]: classNamePrefix
|
|
226
225
|
}),
|
|
227
226
|
ref: ref => this.ref = ref,
|
|
228
227
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -238,9 +237,10 @@ class PCSelectEditor extends _react.default.Component {
|
|
|
238
237
|
ref: ref => this.container = ref,
|
|
239
238
|
children: [this.filteredOptions.length > 0 && this.filteredOptions.map((option, index) => {
|
|
240
239
|
let optionStyle = this.getOptionStyle(option);
|
|
241
|
-
optionStyle =
|
|
240
|
+
optionStyle = {
|
|
241
|
+
...optionStyle,
|
|
242
242
|
maxWidth
|
|
243
|
-
}
|
|
243
|
+
};
|
|
244
244
|
let isSelected = value.includes(option[valueKey]);
|
|
245
245
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
246
246
|
className: "select-option-item",
|
|
@@ -292,7 +292,7 @@ class PCSelectEditor extends _react.default.Component {
|
|
|
292
292
|
hideArrow: true,
|
|
293
293
|
fade: false,
|
|
294
294
|
className: (0, _classnames.default)('dtable-ui dtable-ui-row-expand-select-editor-popover', {
|
|
295
|
-
[
|
|
295
|
+
[`${classNamePrefix}-select-editor-popover`]: classNamePrefix
|
|
296
296
|
}),
|
|
297
297
|
children: dom
|
|
298
298
|
})
|
package/lib/toaster/alert.js
CHANGED
|
@@ -32,7 +32,7 @@ class Alert extends _react.default.PureComponent {
|
|
|
32
32
|
} = this.props;
|
|
33
33
|
const iconClass = this.getIconClass(intent);
|
|
34
34
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
35
|
-
className:
|
|
35
|
+
className: `dtable-toast-alert-container ${intent || 'success'}`,
|
|
36
36
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
37
37
|
className: "toast-alert-icon",
|
|
38
38
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
package/lib/toaster/toast.js
CHANGED
|
@@ -84,7 +84,7 @@ class Toast extends _react.default.PureComponent {
|
|
|
84
84
|
onExited: this.props.onRemove,
|
|
85
85
|
children: state => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
86
86
|
"data-state": state,
|
|
87
|
-
className:
|
|
87
|
+
className: `dtable-toast-container ${state}`,
|
|
88
88
|
onMouseEnter: this.handleMouseEnter,
|
|
89
89
|
onMouseLeave: this.handleMouseLeave,
|
|
90
90
|
style: {
|
|
@@ -5,12 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
var _toast = _interopRequireDefault(require("./toast"));
|
|
12
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
const _excluded = ["id", "description"];
|
|
14
11
|
const hasCustomId = settings => Object.hasOwnProperty.call(settings, 'id');
|
|
15
12
|
class ToastManager extends _react.default.PureComponent {
|
|
16
13
|
constructor(props, context) {
|
|
@@ -42,7 +39,7 @@ class ToastManager extends _react.default.PureComponent {
|
|
|
42
39
|
};
|
|
43
40
|
this.createToastInstance = (title, settings) => {
|
|
44
41
|
const uniqueId = ++ToastManager.idCounter;
|
|
45
|
-
const id = hasCustomId(settings) ?
|
|
42
|
+
const id = hasCustomId(settings) ? `${settings.id}-${uniqueId}` : uniqueId;
|
|
46
43
|
let hasCloseButton = settings.hasCloseButton || true;
|
|
47
44
|
let duration = settings.duration || 2;
|
|
48
45
|
if (settings.hasCloseButton !== undefined) {
|
|
@@ -70,9 +67,10 @@ class ToastManager extends _react.default.PureComponent {
|
|
|
70
67
|
return {
|
|
71
68
|
toasts: previousState.toasts.map(toast => {
|
|
72
69
|
if (toast.id === id) {
|
|
73
|
-
return
|
|
70
|
+
return {
|
|
71
|
+
...toast,
|
|
74
72
|
isShown: false
|
|
75
|
-
}
|
|
73
|
+
};
|
|
76
74
|
}
|
|
77
75
|
return toast;
|
|
78
76
|
})
|
|
@@ -98,15 +96,15 @@ class ToastManager extends _react.default.PureComponent {
|
|
|
98
96
|
className: "dtable-toast-manager",
|
|
99
97
|
children: this.state.toasts.map(_ref => {
|
|
100
98
|
let {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_toast.default,
|
|
106
|
-
onRemove: () => this.removeToast(id)
|
|
107
|
-
|
|
99
|
+
id,
|
|
100
|
+
description,
|
|
101
|
+
...props
|
|
102
|
+
} = _ref;
|
|
103
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_toast.default, {
|
|
104
|
+
onRemove: () => this.removeToast(id),
|
|
105
|
+
...props,
|
|
108
106
|
children: description
|
|
109
|
-
}
|
|
107
|
+
}, id);
|
|
110
108
|
})
|
|
111
109
|
});
|
|
112
110
|
}
|
package/lib/toaster/toaster.js
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _client = require("react-dom/client");
|
|
11
10
|
var _toastManager = _interopRequireDefault(require("./toastManager"));
|
|
@@ -37,27 +36,31 @@ class Toaster {
|
|
|
37
36
|
};
|
|
38
37
|
this.notify = function (title) {
|
|
39
38
|
let settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
40
|
-
return _this.notifyHandler(title,
|
|
39
|
+
return _this.notifyHandler(title, {
|
|
40
|
+
...settings,
|
|
41
41
|
intent: 'none'
|
|
42
|
-
})
|
|
42
|
+
});
|
|
43
43
|
};
|
|
44
44
|
this.success = function (title) {
|
|
45
45
|
let settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46
|
-
return _this.notifyHandler(title,
|
|
46
|
+
return _this.notifyHandler(title, {
|
|
47
|
+
...settings,
|
|
47
48
|
intent: 'success'
|
|
48
|
-
})
|
|
49
|
+
});
|
|
49
50
|
};
|
|
50
51
|
this.warning = function (title) {
|
|
51
52
|
let settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
52
|
-
return _this.notifyHandler(title,
|
|
53
|
+
return _this.notifyHandler(title, {
|
|
54
|
+
...settings,
|
|
53
55
|
intent: 'warning'
|
|
54
|
-
})
|
|
56
|
+
});
|
|
55
57
|
};
|
|
56
58
|
this.danger = function (title) {
|
|
57
59
|
let settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
58
|
-
return _this.notifyHandler(title,
|
|
60
|
+
return _this.notifyHandler(title, {
|
|
61
|
+
...settings,
|
|
59
62
|
intent: 'danger'
|
|
60
|
-
})
|
|
63
|
+
});
|
|
61
64
|
};
|
|
62
65
|
if (!isBrowser) return;
|
|
63
66
|
const container = document.createElement('div');
|
package/lib/utils/class.js
CHANGED
|
@@ -11,14 +11,14 @@ function hasClass(node, className) {
|
|
|
11
11
|
return node.classList.contains(className);
|
|
12
12
|
}
|
|
13
13
|
const originClass = node.className;
|
|
14
|
-
return
|
|
14
|
+
return ` ${originClass} `.indexOf(` ${className} `) > -1;
|
|
15
15
|
}
|
|
16
16
|
function addClass(node, className) {
|
|
17
17
|
if (node.classList) {
|
|
18
18
|
node.classList.add(className);
|
|
19
19
|
} else {
|
|
20
20
|
if (!hasClass(node, className)) {
|
|
21
|
-
node.className =
|
|
21
|
+
node.className = `${node.className} ${className}`;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -28,7 +28,7 @@ function removeClass(node, className) {
|
|
|
28
28
|
} else {
|
|
29
29
|
if (hasClass(node, className)) {
|
|
30
30
|
const originClass = node.className;
|
|
31
|
-
node.className =
|
|
31
|
+
node.className = ` ${originClass} `.replace(` ${className} `, '');
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
package/lib/utils/departments.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.searchDepartments = exports.getNormalizedDepartments = void 0;
|
|
8
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
7
|
const searchDepartments = (departments, searchValue) => {
|
|
10
8
|
const validSearchValue = searchValue ? searchValue.trim().toLowerCase() : '';
|
|
11
9
|
const validDepartments = Array.isArray(departments) ? departments : [];
|
|
@@ -29,10 +27,11 @@ const getNormalizedDepartments = function (departments) {
|
|
|
29
27
|
return departments.map(depart => {
|
|
30
28
|
const hasChild = canExpand && !!parentIdMap[depart.id];
|
|
31
29
|
const isExpanded = depart.parent_id === -1 ? true : false;
|
|
32
|
-
return
|
|
30
|
+
return {
|
|
31
|
+
...depart,
|
|
33
32
|
hasChild,
|
|
34
33
|
isExpanded
|
|
35
|
-
}
|
|
34
|
+
};
|
|
36
35
|
});
|
|
37
36
|
};
|
|
38
37
|
exports.getNormalizedDepartments = getNormalizedDepartments;
|