@cloudbase/weda-ui 3.4.12 → 3.4.14
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/configs/components/dataView.js +3 -0
- package/dist/configs/components/echart.js +505 -0
- package/dist/configs/components/form-date.js +1 -1
- package/dist/configs/components/form-depart-tree-select.js +1 -1
- package/dist/configs/components/form-location.js +1 -1
- package/dist/configs/components/form-multi-region.js +1 -1
- package/dist/configs/components/form-rich-text.js +1 -1
- package/dist/configs/components/form-select-multiple.js +1 -1
- package/dist/configs/components/form-select.js +1 -1
- package/dist/configs/components/form-switch.js +1 -1
- package/dist/configs/components/form-time.js +1 -1
- package/dist/configs/components/form-user-tree-select.js +1 -1
- package/dist/configs/components/listView.js +1 -0
- package/dist/configs/components/wd-checkbox.js +1 -1
- package/dist/configs/components/wd-input.js +1 -1
- package/dist/configs/components/wd-official-account.js +1 -0
- package/dist/configs/components/wd-radio.js +1 -1
- package/dist/configs/components/wd-table.js +3 -3
- package/dist/configs/components/wd-textarea.js +1 -1
- package/dist/configs/index.js +2 -0
- package/dist/style/index.scss +1 -1
- package/dist/web/actions/showMessage/index.js +1 -1
- package/dist/web/actions/showMessage/style.js +2 -0
- package/dist/web/actions/showModal/index.js +1 -1
- package/dist/web/actions/showModal/style.js +2 -0
- package/dist/web/components/button/index.js +1 -1
- package/dist/web/components/button/style.js +2 -0
- package/dist/web/components/calendar/index.js +1 -1
- package/dist/web/components/calendar/style.js +2 -0
- package/dist/web/components/carousel/index.js +1 -1
- package/dist/web/components/carousel/style.js +2 -0
- package/dist/web/components/chart/common/echarts.js +1 -0
- package/dist/web/components/chart/statisticsCard/index.js +1 -1
- package/dist/web/components/chart/statisticsCard/style.js +2 -0
- package/dist/web/components/customer-service/customer-service.js +1 -0
- package/dist/web/components/echart/echart.js +82 -0
- package/dist/web/components/echart/index.js +3 -0
- package/dist/web/components/flow/process/constants.js +3 -1
- package/dist/web/components/form/checkbox/index.js +1 -0
- package/dist/web/components/form/checkbox/style.js +2 -0
- package/dist/web/components/form/enumSelect/index.js +2 -0
- package/dist/web/components/form/enumSelect/style.js +1 -0
- package/dist/web/components/form/form/index.js +1 -1
- package/dist/web/components/form/form/style.js +2 -0
- package/dist/web/components/form/formcell/index.js +1 -1
- package/dist/web/components/form/formcell/style.js +2 -0
- package/dist/web/components/form/input/index.js +1 -1
- package/dist/web/components/form/input/style.js +2 -0
- package/dist/web/components/form/location/common/mapChoose.js +1 -1
- package/dist/web/components/form/location/common/selectModal.js +1 -1
- package/dist/web/components/form/location/common/style.js +3 -0
- package/dist/web/components/form/location/components/LocationH5/location.h5.js +1 -1
- package/dist/web/components/form/location/components/LocationH5/style.js +2 -0
- package/dist/web/components/form/location/components/LocationPC/location.PC.js +1 -1
- package/dist/web/components/form/location/components/LocationPC/style.js +2 -0
- package/dist/web/components/form/location/index.js +1 -1
- package/dist/web/components/form/location/style.js +1 -0
- package/dist/web/components/form/radio/index.js +1 -1
- package/dist/web/components/form/radio/style.js +2 -0
- package/dist/web/components/form/select/allTimePicker/calendar.js +1 -1
- package/dist/web/components/form/select/allTimePicker/index.js +1 -1
- package/dist/web/components/form/select/allTimePicker/style.js +3 -0
- package/dist/web/components/form/select/dropdown-select/h5.js +1 -1
- package/dist/web/components/form/select/dropdown-select/index.js +3 -3
- package/dist/web/components/form/select/dropdown-select/pc.js +1 -1
- package/dist/web/components/form/select/dropdown-select/style.js +2 -0
- package/dist/web/components/form/select/index.js +2 -2
- package/dist/web/components/form/select/moment-locale.js +1 -0
- package/dist/web/components/form/select/status/allEmpty.js +1 -1
- package/dist/web/components/form/select/status/empty.js +1 -1
- package/dist/web/components/form/select/status/loading.js +1 -1
- package/dist/web/components/form/select/status/retry.js +1 -1
- package/dist/web/components/form/select/status/style.js +2 -0
- package/dist/web/components/form/select/style.js +2 -0
- package/dist/web/components/form/select/year.js +1 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/h5.js +1 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/pc.js +1 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/style.js +2 -0
- package/dist/web/components/form/selectMultiple/index.css +37 -0
- package/dist/web/components/form/selectMultiple/index.js +1 -0
- package/dist/web/components/form/selectMultiple/status/allEmpty.js +1 -1
- package/dist/web/components/form/selectMultiple/status/empty.js +1 -1
- package/dist/web/components/form/selectMultiple/status/loading.js +1 -1
- package/dist/web/components/form/selectMultiple/status/retry.js +1 -1
- package/dist/web/components/form/selectMultiple/status/style.js +2 -0
- package/dist/web/components/form/selectMultiple/style.js +2 -0
- package/dist/web/components/form/switch/index.js +1 -0
- package/dist/web/components/form/switch/style.js +2 -0
- package/dist/web/components/form/textarea/index.js +1 -1
- package/dist/web/components/form/textarea/style.js +2 -0
- package/dist/web/components/form/tips/index.js +1 -1
- package/dist/web/components/form/tips/style.js +3 -0
- package/dist/web/components/form/uploader/index.js +1 -1
- package/dist/web/components/form/uploader/style.js +2 -0
- package/dist/web/components/form/uploaderFile/index.js +1 -1
- package/dist/web/components/form/uploaderFile/style.js +2 -0
- package/dist/web/components/form/userOrgSelect/component/depart-select/index.js +0 -1
- package/dist/web/components/form/userOrgSelect/component/user-select-h5/index.js +21 -7
- package/dist/web/components/form/userOrgSelect/component/user-select-h5/style.js +3 -0
- package/dist/web/components/form/userOrgSelect/hooks/use-depart-data.js +8 -4
- package/dist/web/components/form-checkbox/index.js +1 -0
- package/dist/web/components/form-date/index.js +1 -0
- package/dist/web/components/form-depart-tree-select/index.js +1 -0
- package/dist/web/components/form-image-uploader/index.js +1 -0
- package/dist/web/components/form-image-uploader/style.js +1 -0
- package/dist/web/components/form-input/index.js +1 -0
- package/dist/web/components/form-input-hooks/index.js +3 -2
- package/dist/web/components/form-location/index.js +1 -0
- package/dist/web/components/form-multi-region/index.js +1 -0
- package/dist/web/components/form-phone/index.js +1 -0
- package/dist/web/components/form-radio/index.js +1 -0
- package/dist/web/components/form-rich-text/index.js +1 -0
- package/dist/web/components/form-select/index.js +1 -0
- package/dist/web/components/form-select-multiple/index.js +1 -0
- package/dist/web/components/form-switch/index.js +1 -0
- package/dist/web/components/form-text-area/index.js +1 -0
- package/dist/web/components/form-time/index.js +1 -0
- package/dist/web/components/form-upload-file/index.js +1 -1
- package/dist/web/components/form-url/index.js +1 -0
- package/dist/web/components/form-user-tree-select/index.js +1 -0
- package/dist/web/components/formdetail/index.js +4 -2
- package/dist/web/components/formdetail/style.js +2 -0
- package/dist/web/components/graphicCard/index.js +1 -1
- package/dist/web/components/graphicCard/style.js +2 -0
- package/dist/web/components/grid/col.js +1 -1
- package/dist/web/components/grid/grid.js +1 -2
- package/dist/web/components/grid/row.js +1 -1
- package/dist/web/components/grid/style.js +2 -0
- package/dist/web/components/image/index.js +1 -1
- package/dist/web/components/image/style.js +2 -0
- package/dist/web/components/index.js +12 -41
- package/dist/web/components/link/index.js +1 -1
- package/dist/web/components/link/style.js +2 -0
- package/dist/web/components/listView/index.js +1 -1
- package/dist/web/components/listView/style.js +2 -0
- package/dist/web/components/lottery/index.js +5 -3
- package/dist/web/components/lottery/style.js +2 -0
- package/dist/web/components/modal/modal.h5.js +1 -1
- package/dist/web/components/modal/modal.pc.js +1 -0
- package/dist/web/components/modal/style.js +3 -0
- package/dist/web/components/navLayout/index.js +1 -1
- package/dist/web/components/navLayout/style.js +3 -0
- package/dist/web/components/navigationBar/common.js +1 -1
- package/dist/web/components/navigationBar/horizontalMenu.js +1 -1
- package/dist/web/components/navigationBar/index.css +11 -0
- package/dist/web/components/navigationBar/index.js +9 -2
- package/dist/web/components/navigationBar/style.js +2 -0
- package/dist/web/components/pageLayout/PageContent/index.js +1 -1
- package/dist/web/components/pageLayout/PageContent/style.js +2 -0
- package/dist/web/components/pageLayout/index.js +1 -1
- package/dist/web/components/pageLayout/style.js +2 -0
- package/dist/web/components/phone/index.js +1 -0
- package/dist/web/components/phoneCode/index.js +1 -0
- package/dist/web/components/picker/datePicker.js +1 -0
- package/dist/web/components/picker/picker.js +1 -0
- package/dist/web/components/picker/style.js +1 -0
- package/dist/web/components/picker/timePicker.js +1 -0
- package/dist/web/components/qrcode/qr-code.js +1 -0
- package/dist/web/components/richText/index.js +7 -5
- package/dist/web/components/richText/style.js +2 -0
- package/dist/web/components/richTextView/index.js +1 -1
- package/dist/web/components/richTextView/style.js +2 -0
- package/dist/web/components/scrollView/index.js +1 -0
- package/dist/web/components/scrollView/style.js +1 -0
- package/dist/web/components/share/index.js +1 -0
- package/dist/web/components/statusContent/index.js +1 -1
- package/dist/web/components/statusContent/style.js +2 -0
- package/dist/web/components/style.js +5 -0
- package/dist/web/components/swiper/index.js +1 -1
- package/dist/web/components/swiper/style.js +2 -0
- package/dist/web/components/table/BaseTable.js +1 -2
- package/dist/web/components/table/ExportFileModalByApi/index.js +1 -1
- package/dist/web/components/table/ExportFileModalByApi/style.js +3 -0
- package/dist/web/components/table/Form/Location.js +1 -1
- package/dist/web/components/table/Form/style.js +2 -0
- package/dist/web/components/table/ImportFileModal/index.js +1 -1
- package/dist/web/components/table/ImportFileModal/style.js +2 -0
- package/dist/web/components/table/ImportFileModalByApi/index.js +0 -2
- package/dist/web/components/table/ImportFileModalByApi/style.js +3 -0
- package/dist/web/components/table/ImportFileModalByApi/uploadCSVFile.js +1 -1
- package/dist/web/components/table/SelectableBlock/index.js +1 -1
- package/dist/web/components/table/SelectableBlock/style.js +2 -0
- package/dist/web/components/table/UserDepartment/ViewCell.js +1 -1
- package/dist/web/components/table/UserDepartment/style.js +2 -0
- package/dist/web/components/table/index.js +1 -1
- package/dist/web/components/table/style.js +4 -0
- package/dist/web/components/tabs/index.js +1 -0
- package/dist/web/components/tabs/style.js +2 -0
- package/dist/web/components/tabs/tabs.h5.js +0 -1
- package/dist/web/components/text/index.js +1 -1
- package/dist/web/components/text/style.js +3 -0
- package/dist/web/components/uploaderFileView/index.js +1 -1
- package/dist/web/components/uploaderFileView/style.js +2 -0
- package/dist/web/components/uploaderView/index.js +1 -1
- package/dist/web/components/uploaderView/style.js +2 -0
- package/dist/web/components/userInfo/index.js +1 -0
- package/dist/web/components/wd-bubble/wd-bubble.js +1 -0
- package/dist/web/components/wd-button/wd-button.js +1 -0
- package/dist/web/components/wd-form/hooks/use-remote-value.js +9 -2
- package/dist/web/components/wd-form/index.js +46 -23
- package/dist/web/components/wd-icon/wd-icon.js +10 -2
- package/dist/web/components/wd-image/index.js +1 -0
- package/dist/web/components/wd-link/wd-link.js +1 -0
- package/dist/web/components/wd-official-account/index.js +1 -1
- package/dist/web/components/wd-official-account/style.js +2 -0
- package/dist/web/components/wd-table/components/ExportFileModalByApi/ExportFileModalByApi.js +1 -1
- package/dist/web/components/wd-table/components/ExportFileModalByApi/index.js +7 -14
- package/dist/web/components/wd-table/components/ExportFileModalByApi/style.js +2 -0
- package/dist/web/components/wd-table/components/FieldRender/Form/Location.js +1 -1
- package/dist/web/components/wd-table/components/FieldRender/Form/style.js +2 -0
- package/dist/web/components/wd-table/components/FieldRender/UserDepartment/ViewCell.js +1 -1
- package/dist/web/components/wd-table/components/FieldRender/UserDepartment/style.js +2 -0
- package/dist/web/components/wd-table/components/FilterFieldsPanel/FilterFieldItem.js +4 -0
- package/dist/web/components/wd-table/components/ImportFileModalByApi/index.js +1 -0
- package/dist/web/components/wd-table/components/ImportFileModalByApi/style.js +1 -0
- package/dist/web/components/wd-table/components/Table/index.js +28 -7
- package/dist/web/components/wd-table/hooks/useTableData.js +6 -1
- package/dist/web/components/wd-table/hooks/useViewFields.js +1 -1
- package/dist/web/components/wd-table/wd-table.js +58 -44
- package/dist/web/components/wd-text/wd-text.js +1 -0
- package/dist/web/components/web-view/style.js +2 -0
- package/dist/web/components/web-view/web-view.js +1 -1
- package/dist/web/components/wedaVideo/index.js +1 -2
- package/dist/web/components/wedaVideo/style.js +4 -0
- package/dist/web/utils/hooks/useFormLegacy.js +3 -2
- package/dist/web/utils/platform.js +1 -1
- package/dist/web/weda-ui.css +4 -0
- package/package.json +16 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import './
|
|
2
|
+
import './style';
|
|
3
3
|
export default function AllEmpty({ height }) {
|
|
4
4
|
return (_jsx("div", { className: "weda-ui-custom-picker__empty", style: { height }, children: "\u6682\u65E0\u6570\u636E" }));
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import './index.css';
|
|
4
3
|
import { usePlatform } from '../../../../utils/platform';
|
|
4
|
+
import './style';
|
|
5
5
|
export default function Empty({ height }) {
|
|
6
6
|
const platform = usePlatform();
|
|
7
7
|
const loadingHeight = useMemo(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import './index.css';
|
|
4
3
|
import { usePlatform } from '../../../../utils/platform';
|
|
4
|
+
import './style';
|
|
5
5
|
export default function Loading({ height }) {
|
|
6
6
|
const platform = usePlatform();
|
|
7
7
|
const loadingHeight = useMemo(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import './index.css';
|
|
4
3
|
import { usePlatform } from '../../../../utils/platform';
|
|
4
|
+
import './style';
|
|
5
5
|
export default function Retry({ reTry, height }) {
|
|
6
6
|
const platform = usePlatform();
|
|
7
7
|
const loadingHeight = useMemo(() => {
|
|
@@ -6,6 +6,7 @@ import { ConfigProvider, Switch as TeaSwitch } from 'tea-component';
|
|
|
6
6
|
import { renderDecorator } from '../renderDecorator';
|
|
7
7
|
import { useSyncValue } from '../../../utils/hooks/useSyncValue';
|
|
8
8
|
import { emptyObject } from '../../../utils/constant';
|
|
9
|
+
import './style';
|
|
9
10
|
import styles from './switch.module.css';
|
|
10
11
|
export default function Switch({
|
|
11
12
|
// 系统属性
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import classNames from '../../../utils/classnames';
|
|
4
|
-
import './index.css';
|
|
5
4
|
import { ConfigProvider, Input } from 'tea-component';
|
|
6
5
|
import { usePlatform } from '../../../utils/platform';
|
|
7
6
|
import { renderDecorator } from '../renderDecorator';
|
|
8
7
|
import { useSyncValue } from '../../../utils/hooks/useSyncValue';
|
|
9
8
|
import { emptyObject } from '../../../utils/constant';
|
|
9
|
+
import './style';
|
|
10
10
|
export default function Textarea({
|
|
11
11
|
// 系统属性
|
|
12
12
|
id, className, style, events = emptyObject,
|
|
@@ -5,7 +5,7 @@ import { usePlatform } from '../../../utils/platform';
|
|
|
5
5
|
import { ImageUploaderH5 as UploaderH5 } from './uploader.h5';
|
|
6
6
|
import classNames from '../../../utils/classnames';
|
|
7
7
|
import { UploaderPCInner } from './uploader.pc';
|
|
8
|
-
import './
|
|
8
|
+
import './style';
|
|
9
9
|
import { renderDecorator } from '../renderDecorator';
|
|
10
10
|
/**
|
|
11
11
|
* 图片组件上传,区分 h5端/pc端
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { usePlatform } from '../../../utils/platform';
|
|
5
5
|
import { UploadFileH5 as UploaderH5 } from './uploadFile.h5';
|
|
6
6
|
import { UploadFilePc } from './uploadFile.pc';
|
|
7
|
-
import './
|
|
7
|
+
import './style';
|
|
8
8
|
/**
|
|
9
9
|
* 文件组件上传,区分 h5端/pc端
|
|
10
10
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import { ConfigProvider } from 'tea-component';
|
|
4
|
-
// import './index.less';
|
|
5
4
|
import { useSyncValue } from '../../../../../utils/hooks/useSyncValue';
|
|
6
5
|
import { usePlatform, isInIde } from '../../../../../utils/platform';
|
|
7
6
|
import { deepClone } from '../../../../../utils/tool';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
3
3
|
import { UserSelectPC } from '../user-select-pc/user-select-pc';
|
|
4
4
|
import { UserTreeSelectH5 as UserSelectH5 } from './user-select-h5';
|
|
5
|
-
import '../userOrgSelect.css';
|
|
6
5
|
import { isInIde, filterStrList, getUserInfo, usePlatform, } from '../../../../../utils/platform';
|
|
7
6
|
import { useSyncValue } from '../../../../../utils/hooks/useSyncValue';
|
|
8
7
|
import isObjectEqual from '../../../../../utils/isObjectEqual';
|
|
@@ -12,6 +11,8 @@ import { useViewData } from '../../hooks/use-views-data';
|
|
|
12
11
|
import { useDepartData } from '../../hooks/use-depart-data';
|
|
13
12
|
import { parseStrToArr } from '../../common/utils';
|
|
14
13
|
import { useDeepCompareEffect } from '@react-hookz/web';
|
|
14
|
+
import { getUuid } from '../../../../../utils/tool';
|
|
15
|
+
import './style';
|
|
15
16
|
export default function UserTreeSelect(props) {
|
|
16
17
|
const { events = emptyObject, defaultValue = emptyArray, confirmValue = '', defaultValueType = 'noneUser', onChange = null, multiple = false, request = defaultRequest, where, confirmAction, closeAction, secondDisplay, // 辅助信息
|
|
17
18
|
corpScope, // 展示企业范围
|
|
@@ -21,7 +22,9 @@ export default function UserTreeSelect(props) {
|
|
|
21
22
|
* containerClass: string
|
|
22
23
|
* triggerElement: React.ReactNode
|
|
23
24
|
*/
|
|
24
|
-
naked = false, containerClass = '', triggerElement = null,
|
|
25
|
+
naked = false, containerClass = '', triggerElement = null,
|
|
26
|
+
/** 是否展示未关联部门用户 */
|
|
27
|
+
displayUncategorizedUsers = true, } = props;
|
|
25
28
|
const platform = usePlatform();
|
|
26
29
|
const [errInfo, setErrInfo] = useState({
|
|
27
30
|
errorStatus: false,
|
|
@@ -29,6 +32,7 @@ export default function UserTreeSelect(props) {
|
|
|
29
32
|
});
|
|
30
33
|
const [open, setOpen] = useState(false);
|
|
31
34
|
const [selectUserIds, setSelectUserIds] = useSyncValue(defaultValue, isObjectEqual);
|
|
35
|
+
const fetchRef = useRef({ version: '' });
|
|
32
36
|
// 两次默认值不同, 需要刷新
|
|
33
37
|
const prevDefaultRef = React.useRef(null);
|
|
34
38
|
// 当前选中的部门id
|
|
@@ -55,6 +59,7 @@ export default function UserTreeSelect(props) {
|
|
|
55
59
|
const { treeData, error } = useDepartData({
|
|
56
60
|
request,
|
|
57
61
|
params: { corpScopes },
|
|
62
|
+
displayUncategorizedUsers,
|
|
58
63
|
});
|
|
59
64
|
// 默认选中第一个部门
|
|
60
65
|
useEffect(() => {
|
|
@@ -90,11 +95,14 @@ export default function UserTreeSelect(props) {
|
|
|
90
95
|
setErrInfo({ errorStatus: false, errorMessage: null });
|
|
91
96
|
// 避免ide mock值请求数据异常
|
|
92
97
|
if (defaultValue && defaultValue.length !== 0 && !isInIde()) {
|
|
98
|
+
const fetchVersion = (fetchRef.current.version = getUuid());
|
|
93
99
|
const userSelectList = await getUserListByIds({
|
|
94
100
|
selectUserIds: filterStrList(parseStrToArr(defaultValue)) || [],
|
|
95
101
|
IsNoRelatedOrgFlag: false,
|
|
96
102
|
request,
|
|
97
103
|
});
|
|
104
|
+
if (fetchVersion !== fetchRef.current.version)
|
|
105
|
+
return;
|
|
98
106
|
setConfirmUserList(userSelectList);
|
|
99
107
|
}
|
|
100
108
|
else {
|
|
@@ -107,7 +115,8 @@ export default function UserTreeSelect(props) {
|
|
|
107
115
|
};
|
|
108
116
|
useEffect(() => {
|
|
109
117
|
try {
|
|
110
|
-
if (
|
|
118
|
+
if (selectUserIds &&
|
|
119
|
+
!isObjectEqual(prevDefaultRef.current, selectUserIds)) {
|
|
111
120
|
getDefaultUser(selectUserIds);
|
|
112
121
|
prevDefaultRef.current = selectUserIds;
|
|
113
122
|
}
|
|
@@ -116,10 +125,15 @@ export default function UserTreeSelect(props) {
|
|
|
116
125
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
117
126
|
}, [defaultValueType, selectUserIds]);
|
|
118
127
|
useDeepCompareEffect(() => {
|
|
119
|
-
var _a;
|
|
128
|
+
var _a, _b;
|
|
120
129
|
setSelectedUserList(confirmUserList);
|
|
121
|
-
|
|
122
|
-
|
|
130
|
+
const _value = (_a = setOnChangeValue(multiple, confirmUserList)) !== null && _a !== void 0 ? _a : null;
|
|
131
|
+
const _eventValue = setOnChangeValue(multiple, confirmUserList, true);
|
|
132
|
+
// 值和默认值相同时,不触发 change 事件
|
|
133
|
+
if (isObjectEqual(_value, defaultValue))
|
|
134
|
+
return;
|
|
135
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
136
|
+
(_b = events === null || events === void 0 ? void 0 : events.change) === null || _b === void 0 ? void 0 : _b.call(events, _eventValue);
|
|
123
137
|
}, [confirmUserList === null || confirmUserList === void 0 ? void 0 : confirmUserList.map((user) => filterUserInfo(user))]);
|
|
124
138
|
/** 点击确认时获取所选用户,调用confirmAction,将所选用户向外传出 */
|
|
125
139
|
const onConfirmSelectUser = (selectedUserList) => {
|
|
@@ -64,14 +64,18 @@ const isNoOrgList = {
|
|
|
64
64
|
icon: Icon,
|
|
65
65
|
};
|
|
66
66
|
export const useDepartData = (props) => {
|
|
67
|
-
const { request, params } = props;
|
|
67
|
+
const { request, params, displayUncategorizedUsers } = props;
|
|
68
68
|
const { data: treeData, error } = useSWR(`${DescribeOrgs}_${JSON.stringify(params)}`, async () => {
|
|
69
69
|
const tempList = await DescribeOrgs(request, params);
|
|
70
70
|
const orgsData = destr(tempList);
|
|
71
71
|
const { res: tempTreeData, tempOrgList } = buildTreeData(orgsData);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
// 是否展示非组织节点
|
|
73
|
+
let userDataTotal = 0;
|
|
74
|
+
if (displayUncategorizedUsers) {
|
|
75
|
+
const res = await fetchUserData({ pageNo: 1, pageSize: 1 }, request);
|
|
76
|
+
userDataTotal = res === null || res === void 0 ? void 0 : res.total;
|
|
77
|
+
}
|
|
78
|
+
const finalTempTreeData = userDataTotal > 0
|
|
75
79
|
? (tempTreeData || []).concat(isNoOrgList)
|
|
76
80
|
: tempTreeData;
|
|
77
81
|
return {
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Checkbox from '../form/checkbox';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormCheckbox = React.forwardRef(function FormCheckbox(props, inputRef) {
|
|
8
9
|
const { className, id, style, required, requiredFlag, events, label, labelVisible, enumName, format,
|
|
9
10
|
// tipBlock,
|
|
@@ -5,6 +5,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
5
5
|
import Select from '../form/select';
|
|
6
6
|
import Tips from '../form/tips';
|
|
7
7
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
8
|
+
import '../style';
|
|
8
9
|
const submitFormatter = (value) => {
|
|
9
10
|
if (value == undefined) {
|
|
10
11
|
return NaN;
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Tips from '../form/tips';
|
|
5
5
|
import DepartTreeSelect from '../form/userOrgSelect/component/depart-select';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormDepartTreeSelect = React.forwardRef(function FormDepartTreeSelect(props, inputRef) {
|
|
8
9
|
const { className, id, style, confirmValue, label, labelVisible, multiple, defaultValueType, placeholder, required, requiredFlag, size, events, departmentScope, ...restProps } = props;
|
|
9
10
|
const { name, value, onChange, disabled, layout,
|
|
@@ -5,6 +5,7 @@ import { useFormInputTrait } from '../form-input-hooks';
|
|
|
5
5
|
import { Uploader } from '../../components';
|
|
6
6
|
import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
8
|
+
import './style';
|
|
8
9
|
const FormImageUploader = React.forwardRef(function FormImageUploader(props, ref) {
|
|
9
10
|
const { className, id, style, events, required, requiredFlag, labelVisible, value: propValue, title, acceptTypes, maxSize, maxUploadCount, single, showShape, ...restProps } = props;
|
|
10
11
|
const normalizedValue = typeof propValue === 'string'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../style';
|
|
@@ -5,6 +5,7 @@ import { useFormInputTrait } from '../form-input-hooks';
|
|
|
5
5
|
import Input from '../form/input';
|
|
6
6
|
import Tips from '../form/tips';
|
|
7
7
|
import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
8
|
+
import '../style';
|
|
8
9
|
const logger = debug('wd-input');
|
|
9
10
|
const WdInput = React.forwardRef(function WdInput(props, inputRef) {
|
|
10
11
|
const { className, id, style, required, requiredFlag, label, labelVisible, placeholder, size, type, maxLength, password, focus, clearable, events, ...restProps } = props;
|
|
@@ -109,8 +109,9 @@ export function useFormInputTrait(inputParams) {
|
|
|
109
109
|
setHidden() {
|
|
110
110
|
setVisible(false);
|
|
111
111
|
},
|
|
112
|
-
initialDisabled:
|
|
113
|
-
|
|
112
|
+
initialDisabled: statusParams.disabled,
|
|
113
|
+
initialReadOnly: statusParams.readOnly,
|
|
114
|
+
setDisabled(val) {
|
|
114
115
|
const originalValue = disabled;
|
|
115
116
|
const value = convertMethodParam(val);
|
|
116
117
|
setDisabled(value);
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Location from '../form/location';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormLocation = React.forwardRef(function FormLocation(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, customRange, dataSource, defauleShowLocation, locationRange, locationType, showLngLat, showMap, zoom, drag,
|
|
9
10
|
// @ts-expect-error 里面有,但dataForm没有,但json有传
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Select from '../form/select';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormSwitch = React.forwardRef(function FormSwitch(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, regionType, size, placeholder, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Radio from '../form/radio';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormRadio = React.forwardRef(function FormRadio(props, inputRef) {
|
|
8
9
|
const { className, id, style, label, labelVisible,
|
|
9
10
|
// size,
|
|
@@ -4,6 +4,7 @@ import { useFormInputTrait } from '../form-input-hooks';
|
|
|
4
4
|
import Tips from '../form/tips';
|
|
5
5
|
import RichText from '../richText';
|
|
6
6
|
import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FromRichText = React.forwardRef(function FormRichText(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, title, titleVisible, maxSize, acceptTypes, required, requiredFlag, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Select from '../form/select';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormSelect = React.forwardRef(function FormSelect(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, dataSourceName, enumName, format, placeholder, primaryField, range, size, tipBlock, viewId, where, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import SelectMultiple from '../form/selectMultiple';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormSelectMultiple = React.forwardRef(function FormSelectMultiple(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, dataSourceName, enumName, format, placeholder, primaryField, range, size, tipBlock, viewId,
|
|
9
10
|
// where,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Switch from '../form/switch';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormSwitch = React.forwardRef(function FormSwitch(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Textarea from '../form/textarea';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormTextArea = React.forwardRef(function FormTextArea(props, inputRef) {
|
|
8
9
|
const { className, id, style, required, requiredFlag, label, labelVisible, placeholder, size, maxLength, focus, events, counterVisible, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -4,6 +4,7 @@ import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
|
4
4
|
import Select from '../form/select';
|
|
5
5
|
import Tips from '../form/tips';
|
|
6
6
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormTime = React.forwardRef(function FormTime(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, end, size, start, placeholder, ...restProps } = props;
|
|
9
10
|
const { value, name, onChange, disabled, layout,
|
|
@@ -5,6 +5,7 @@ import { useFormInputTrait } from '../form-input-hooks';
|
|
|
5
5
|
import { UploaderFile } from '../../components';
|
|
6
6
|
import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
7
7
|
import { useRef, useState } from 'react';
|
|
8
|
+
import '../style';
|
|
8
9
|
const FormUploadFile = React.forwardRef(function FormUploadFile(props, ref) {
|
|
9
10
|
const { className, id, style, events, required, requiredFlag, labelVisible, value: propValue, label, acceptTypes, maxSize, maxUploadCount, single, deleteVisible, downloadVisible, ...restProps } = props;
|
|
10
11
|
const normalizedValue = typeof propValue === 'string'
|
|
@@ -43,5 +44,4 @@ const FormUploadFile = React.forwardRef(function FormUploadFile(props, ref) {
|
|
|
43
44
|
}
|
|
44
45
|
return (_jsxs(FormItemWrapper, { children: [_jsx(UploaderFile, { id: id, style: style, className: className, events: events, name: name, onChange: onChange, disabled: disabled, label: label, labelVisible: labelVisible, layout: layout, requiredFlag: required && requiredFlag, acceptTypes: acceptTypes, defaultValue: value, deleteVisible: deleteVisible, downloadVisible: downloadVisible, maxSize: maxSize, maxUploadCount: maxUploadCount, single: single }), (validateState === 'error' || validateState === 'warn') && (_jsx(Tips, { tips: validateErrorMsg, type: "warn" }))] }));
|
|
45
46
|
});
|
|
46
|
-
FormUploadFile.whyDidYouRender = true;
|
|
47
47
|
export default FormUploadFile;
|
|
@@ -4,6 +4,7 @@ import { UserTreeSelect } from '../../components';
|
|
|
4
4
|
import Tips from '../form/tips';
|
|
5
5
|
import { useFormInputTrait } from '../form-input-hooks';
|
|
6
6
|
import { FormItemWrapper } from '../common/form-item-wrapper';
|
|
7
|
+
import '../style';
|
|
7
8
|
const FormUserTreeSelect = React.forwardRef(function FormUserTreeSelect(props, inputRef) {
|
|
8
9
|
const { className, id, style, events, required, requiredFlag, label, labelVisible, confirmValue, defaultValueType, multiple, size, where, secondDisplay, corpScope, ...restProps } = props;
|
|
9
10
|
const { value, name,
|
|
@@ -5,11 +5,11 @@ import { useResizeObserver } from '@react-hookz/web';
|
|
|
5
5
|
import classNames from '../../utils/classnames';
|
|
6
6
|
import { usePlatform, randomStr, isInIde } from '../../utils/platform';
|
|
7
7
|
import isObjectEqual from '../../utils/isObjectEqual';
|
|
8
|
-
import './index.css';
|
|
9
8
|
import { useFormInputTrait, useParentForm } from '../form-input-hooks';
|
|
10
9
|
import { debug } from '../../utils/console';
|
|
11
10
|
import { noop } from '../../utils/constant';
|
|
12
11
|
import { WdText } from '../wd-text';
|
|
12
|
+
import './style';
|
|
13
13
|
// 获取明细组件子项初始值
|
|
14
14
|
const getChildFormItem = (isPureArray, name, parent) => {
|
|
15
15
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -206,7 +206,9 @@ const FormDetailCom = forwardRef(function FormDetail(props, ref) {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
parent
|
|
209
|
+
if (Object.keys(parent.initialValues || {}).length == 0) {
|
|
210
|
+
parent === null || parent === void 0 ? void 0 : parent.setValue(formDetailItemValue);
|
|
211
|
+
}
|
|
210
212
|
setIsInit(false);
|
|
211
213
|
}
|
|
212
214
|
}, [
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React, { useEffect, useMemo } from 'react';
|
|
3
|
-
import './index.css';
|
|
4
3
|
import classNames from '../../utils/classnames';
|
|
5
4
|
import { Row, Col, ConfigProvider, Button, Text } from 'tea-component';
|
|
6
5
|
import { usePlatform } from '../../utils/platform';
|
|
@@ -9,6 +8,7 @@ import Image from '../image';
|
|
|
9
8
|
import { useWindowSize } from '@react-hookz/web';
|
|
10
9
|
import isObjectEqual from '../../utils/isObjectEqual';
|
|
11
10
|
import { emptyArray } from '../../utils/constant';
|
|
11
|
+
import './style';
|
|
12
12
|
const CLASS_PREFIX = 'weda-graphic-card';
|
|
13
13
|
export default function GraphicCard({ navOption = emptyArray, ColMobile, ColPC, iconWidthSize, iconHeightSize, titleVisible, desVisible, buttonVisible, textAlign, className, titleColor, titleFontWeight, titleFontSize, titleLineHeight, titleMaxLines, desColor, desFontWeight, desFontSize, desLineHeight, desMaxLines, buttonText, tips, style, }) {
|
|
14
14
|
const platform = usePlatform();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import classNames from '../../utils/classnames';
|
|
4
4
|
import { usePlatform } from '../../utils/platform';
|
|
5
|
-
import './
|
|
5
|
+
import './style';
|
|
6
6
|
// 和编辑器对应
|
|
7
7
|
const manualCheckedType = {
|
|
8
8
|
twelveAdjust: 'twelve-adjust',
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
-
import './grid.css';
|
|
4
|
-
import './_utils.css';
|
|
5
3
|
import classNames from '../../utils/classnames';
|
|
6
4
|
import { isNil } from '../../utils/lodash';
|
|
5
|
+
import './style';
|
|
7
6
|
export default function Grid(props) {
|
|
8
7
|
const { className: userClassName, gutterX, gutterY, events } = props;
|
|
9
8
|
const className = useMemo(() => {
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import classNames from '../../utils/classnames';
|
|
4
4
|
import { isNil } from '../../utils/lodash';
|
|
5
|
-
import './
|
|
5
|
+
import './style';
|
|
6
6
|
export default function Row(props) {
|
|
7
7
|
const { className: userClassName, id, style, children, events, alignItems, gutterX, } = props;
|
|
8
8
|
const className = useMemo(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
3
|
import classNames from '../../utils/classnames';
|
|
4
|
-
import './index.css';
|
|
5
4
|
import { ImageInner } from './image';
|
|
6
5
|
import { emptyObject } from '../../utils/constant';
|
|
7
6
|
import { useTempUrl } from '../../utils/hooks/use-cloud-id-temp-url';
|
|
7
|
+
import './style';
|
|
8
8
|
export default function Image({
|
|
9
9
|
// 系统属性
|
|
10
10
|
className, events = emptyObject, style,
|
|
@@ -1,42 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
import './style';
|
|
2
|
+
// import React from 'react';
|
|
3
|
+
// if (process.env.NODE_ENV === 'development') {
|
|
4
|
+
// // eslint-disable-next-line rulesdir/no-phantom-deps, @typescript-eslint/no-var-requires
|
|
5
|
+
// import('@welldone-software/why-did-you-render').then((whyDidYouRender) => {
|
|
6
|
+
// whyDidYouRender.default(React, {
|
|
7
|
+
// trackHooks: false,
|
|
8
|
+
// trackAllPureComponents: true,
|
|
9
|
+
// });
|
|
10
|
+
// });
|
|
11
|
+
// }
|
|
12
12
|
import loadable from '@loadable/component';
|
|
13
13
|
import { fallback } from '../utils/loading-fallback';
|
|
14
|
-
// export const Button = loadable(() => import('./button'), {fallback});
|
|
15
|
-
// export const Container = loadable(() => import('./container'), {fallback});
|
|
16
|
-
// export const Slot = loadable(() => import('./slot'), {fallback});
|
|
17
|
-
// export const ScrollView = loadable(() => import('./scrollView'), {fallback});
|
|
18
|
-
// export const Swiper = loadable(() => import('./swiper'), {fallback});
|
|
19
|
-
// export const Modal = loadable(() => import('./modal'), {fallback});
|
|
20
|
-
// export const RichText = loadable(() => import('./richText'), {fallback});
|
|
21
|
-
// export const RichTextView = loadable(() => import('./richTextView'), {fallback});
|
|
22
|
-
// export const Link = loadable(() => import('./link'), {fallback});
|
|
23
|
-
// export const Drawer = loadable(() => import('./drawer'), {fallback});
|
|
24
|
-
// export const UploaderView = loadable(() => import('./uploaderView'), {fallback});
|
|
25
|
-
// // picker
|
|
26
|
-
// export const Picker = loadable(() => import('./picker/picker'), {fallback});
|
|
27
|
-
// export const DatePicker = loadable(() => import('./picker/datePicker'), {fallback});
|
|
28
|
-
// export const TimePicker = loadable(() => import('./picker/timePicker'), {fallback});
|
|
29
|
-
// // form
|
|
30
|
-
// export const Form = loadable(() => import('./form/form'), {fallback});
|
|
31
|
-
// export const Input = loadable(() => import('./form/input'), {fallback});
|
|
32
|
-
// export const Textarea = loadable(() => import('./form/textarea'), {fallback});
|
|
33
|
-
// export const Checkbox = loadable(() => import('./form/checkbox'), {fallback});
|
|
34
|
-
// export const Radio = loadable(() => import('./form/radio'), {fallback});
|
|
35
|
-
// export const Switch = loadable(() => import('./form/switch'), {fallback});
|
|
36
|
-
// export const Uploader = loadable(() => import('./form/uploader'), {fallback});
|
|
37
|
-
// export const Tips = loadable(() => import('./form/tips'), {fallback});
|
|
38
|
-
// export const EnumSelect = loadable(() => import('./form/enumSelect'), {fallback});
|
|
39
|
-
// export const Tabs = loadable(() => import('./tabs'), {fallback});
|
|
40
14
|
export { default as Button } from './button';
|
|
41
15
|
// export { default as Text } from './text';
|
|
42
16
|
export const Text = loadable(() => import('./text'), { fallback });
|
|
@@ -161,10 +135,7 @@ export { default as WdFormDetail } from './formdetail';
|
|
|
161
135
|
export { default as QrCode } from './qrcode';
|
|
162
136
|
export { default as CustomerService } from './customer-service';
|
|
163
137
|
export { default as WdOfficialAccount } from './wd-official-account';
|
|
164
|
-
|
|
165
|
-
import '../weda-ui.css';
|
|
166
|
-
// 组件标准化
|
|
167
|
-
import '../../style/index.scss';
|
|
138
|
+
export { default as Chart } from './echart';
|
|
168
139
|
export { default as WdButton } from './wd-button';
|
|
169
140
|
export { default as WdDivider } from './wd-divider';
|
|
170
141
|
export const WdTable = loadable(() => import('./wd-table'), { fallback });
|