@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.
Files changed (228) hide show
  1. package/dist/configs/components/dataView.js +3 -0
  2. package/dist/configs/components/echart.js +505 -0
  3. package/dist/configs/components/form-date.js +1 -1
  4. package/dist/configs/components/form-depart-tree-select.js +1 -1
  5. package/dist/configs/components/form-location.js +1 -1
  6. package/dist/configs/components/form-multi-region.js +1 -1
  7. package/dist/configs/components/form-rich-text.js +1 -1
  8. package/dist/configs/components/form-select-multiple.js +1 -1
  9. package/dist/configs/components/form-select.js +1 -1
  10. package/dist/configs/components/form-switch.js +1 -1
  11. package/dist/configs/components/form-time.js +1 -1
  12. package/dist/configs/components/form-user-tree-select.js +1 -1
  13. package/dist/configs/components/listView.js +1 -0
  14. package/dist/configs/components/wd-checkbox.js +1 -1
  15. package/dist/configs/components/wd-input.js +1 -1
  16. package/dist/configs/components/wd-official-account.js +1 -0
  17. package/dist/configs/components/wd-radio.js +1 -1
  18. package/dist/configs/components/wd-table.js +3 -3
  19. package/dist/configs/components/wd-textarea.js +1 -1
  20. package/dist/configs/index.js +2 -0
  21. package/dist/style/index.scss +1 -1
  22. package/dist/web/actions/showMessage/index.js +1 -1
  23. package/dist/web/actions/showMessage/style.js +2 -0
  24. package/dist/web/actions/showModal/index.js +1 -1
  25. package/dist/web/actions/showModal/style.js +2 -0
  26. package/dist/web/components/button/index.js +1 -1
  27. package/dist/web/components/button/style.js +2 -0
  28. package/dist/web/components/calendar/index.js +1 -1
  29. package/dist/web/components/calendar/style.js +2 -0
  30. package/dist/web/components/carousel/index.js +1 -1
  31. package/dist/web/components/carousel/style.js +2 -0
  32. package/dist/web/components/chart/common/echarts.js +1 -0
  33. package/dist/web/components/chart/statisticsCard/index.js +1 -1
  34. package/dist/web/components/chart/statisticsCard/style.js +2 -0
  35. package/dist/web/components/customer-service/customer-service.js +1 -0
  36. package/dist/web/components/echart/echart.js +82 -0
  37. package/dist/web/components/echart/index.js +3 -0
  38. package/dist/web/components/flow/process/constants.js +3 -1
  39. package/dist/web/components/form/checkbox/index.js +1 -0
  40. package/dist/web/components/form/checkbox/style.js +2 -0
  41. package/dist/web/components/form/enumSelect/index.js +2 -0
  42. package/dist/web/components/form/enumSelect/style.js +1 -0
  43. package/dist/web/components/form/form/index.js +1 -1
  44. package/dist/web/components/form/form/style.js +2 -0
  45. package/dist/web/components/form/formcell/index.js +1 -1
  46. package/dist/web/components/form/formcell/style.js +2 -0
  47. package/dist/web/components/form/input/index.js +1 -1
  48. package/dist/web/components/form/input/style.js +2 -0
  49. package/dist/web/components/form/location/common/mapChoose.js +1 -1
  50. package/dist/web/components/form/location/common/selectModal.js +1 -1
  51. package/dist/web/components/form/location/common/style.js +3 -0
  52. package/dist/web/components/form/location/components/LocationH5/location.h5.js +1 -1
  53. package/dist/web/components/form/location/components/LocationH5/style.js +2 -0
  54. package/dist/web/components/form/location/components/LocationPC/location.PC.js +1 -1
  55. package/dist/web/components/form/location/components/LocationPC/style.js +2 -0
  56. package/dist/web/components/form/location/index.js +1 -1
  57. package/dist/web/components/form/location/style.js +1 -0
  58. package/dist/web/components/form/radio/index.js +1 -1
  59. package/dist/web/components/form/radio/style.js +2 -0
  60. package/dist/web/components/form/select/allTimePicker/calendar.js +1 -1
  61. package/dist/web/components/form/select/allTimePicker/index.js +1 -1
  62. package/dist/web/components/form/select/allTimePicker/style.js +3 -0
  63. package/dist/web/components/form/select/dropdown-select/h5.js +1 -1
  64. package/dist/web/components/form/select/dropdown-select/index.js +3 -3
  65. package/dist/web/components/form/select/dropdown-select/pc.js +1 -1
  66. package/dist/web/components/form/select/dropdown-select/style.js +2 -0
  67. package/dist/web/components/form/select/index.js +2 -2
  68. package/dist/web/components/form/select/moment-locale.js +1 -0
  69. package/dist/web/components/form/select/status/allEmpty.js +1 -1
  70. package/dist/web/components/form/select/status/empty.js +1 -1
  71. package/dist/web/components/form/select/status/loading.js +1 -1
  72. package/dist/web/components/form/select/status/retry.js +1 -1
  73. package/dist/web/components/form/select/status/style.js +2 -0
  74. package/dist/web/components/form/select/style.js +2 -0
  75. package/dist/web/components/form/select/year.js +1 -1
  76. package/dist/web/components/form/selectMultiple/dropdown-select/h5.js +1 -1
  77. package/dist/web/components/form/selectMultiple/dropdown-select/pc.js +1 -1
  78. package/dist/web/components/form/selectMultiple/dropdown-select/style.js +2 -0
  79. package/dist/web/components/form/selectMultiple/index.css +37 -0
  80. package/dist/web/components/form/selectMultiple/index.js +1 -0
  81. package/dist/web/components/form/selectMultiple/status/allEmpty.js +1 -1
  82. package/dist/web/components/form/selectMultiple/status/empty.js +1 -1
  83. package/dist/web/components/form/selectMultiple/status/loading.js +1 -1
  84. package/dist/web/components/form/selectMultiple/status/retry.js +1 -1
  85. package/dist/web/components/form/selectMultiple/status/style.js +2 -0
  86. package/dist/web/components/form/selectMultiple/style.js +2 -0
  87. package/dist/web/components/form/switch/index.js +1 -0
  88. package/dist/web/components/form/switch/style.js +2 -0
  89. package/dist/web/components/form/textarea/index.js +1 -1
  90. package/dist/web/components/form/textarea/style.js +2 -0
  91. package/dist/web/components/form/tips/index.js +1 -1
  92. package/dist/web/components/form/tips/style.js +3 -0
  93. package/dist/web/components/form/uploader/index.js +1 -1
  94. package/dist/web/components/form/uploader/style.js +2 -0
  95. package/dist/web/components/form/uploaderFile/index.js +1 -1
  96. package/dist/web/components/form/uploaderFile/style.js +2 -0
  97. package/dist/web/components/form/userOrgSelect/component/depart-select/index.js +0 -1
  98. package/dist/web/components/form/userOrgSelect/component/user-select-h5/index.js +21 -7
  99. package/dist/web/components/form/userOrgSelect/component/user-select-h5/style.js +3 -0
  100. package/dist/web/components/form/userOrgSelect/hooks/use-depart-data.js +8 -4
  101. package/dist/web/components/form-checkbox/index.js +1 -0
  102. package/dist/web/components/form-date/index.js +1 -0
  103. package/dist/web/components/form-depart-tree-select/index.js +1 -0
  104. package/dist/web/components/form-image-uploader/index.js +1 -0
  105. package/dist/web/components/form-image-uploader/style.js +1 -0
  106. package/dist/web/components/form-input/index.js +1 -0
  107. package/dist/web/components/form-input-hooks/index.js +3 -2
  108. package/dist/web/components/form-location/index.js +1 -0
  109. package/dist/web/components/form-multi-region/index.js +1 -0
  110. package/dist/web/components/form-phone/index.js +1 -0
  111. package/dist/web/components/form-radio/index.js +1 -0
  112. package/dist/web/components/form-rich-text/index.js +1 -0
  113. package/dist/web/components/form-select/index.js +1 -0
  114. package/dist/web/components/form-select-multiple/index.js +1 -0
  115. package/dist/web/components/form-switch/index.js +1 -0
  116. package/dist/web/components/form-text-area/index.js +1 -0
  117. package/dist/web/components/form-time/index.js +1 -0
  118. package/dist/web/components/form-upload-file/index.js +1 -1
  119. package/dist/web/components/form-url/index.js +1 -0
  120. package/dist/web/components/form-user-tree-select/index.js +1 -0
  121. package/dist/web/components/formdetail/index.js +4 -2
  122. package/dist/web/components/formdetail/style.js +2 -0
  123. package/dist/web/components/graphicCard/index.js +1 -1
  124. package/dist/web/components/graphicCard/style.js +2 -0
  125. package/dist/web/components/grid/col.js +1 -1
  126. package/dist/web/components/grid/grid.js +1 -2
  127. package/dist/web/components/grid/row.js +1 -1
  128. package/dist/web/components/grid/style.js +2 -0
  129. package/dist/web/components/image/index.js +1 -1
  130. package/dist/web/components/image/style.js +2 -0
  131. package/dist/web/components/index.js +12 -41
  132. package/dist/web/components/link/index.js +1 -1
  133. package/dist/web/components/link/style.js +2 -0
  134. package/dist/web/components/listView/index.js +1 -1
  135. package/dist/web/components/listView/style.js +2 -0
  136. package/dist/web/components/lottery/index.js +5 -3
  137. package/dist/web/components/lottery/style.js +2 -0
  138. package/dist/web/components/modal/modal.h5.js +1 -1
  139. package/dist/web/components/modal/modal.pc.js +1 -0
  140. package/dist/web/components/modal/style.js +3 -0
  141. package/dist/web/components/navLayout/index.js +1 -1
  142. package/dist/web/components/navLayout/style.js +3 -0
  143. package/dist/web/components/navigationBar/common.js +1 -1
  144. package/dist/web/components/navigationBar/horizontalMenu.js +1 -1
  145. package/dist/web/components/navigationBar/index.css +11 -0
  146. package/dist/web/components/navigationBar/index.js +9 -2
  147. package/dist/web/components/navigationBar/style.js +2 -0
  148. package/dist/web/components/pageLayout/PageContent/index.js +1 -1
  149. package/dist/web/components/pageLayout/PageContent/style.js +2 -0
  150. package/dist/web/components/pageLayout/index.js +1 -1
  151. package/dist/web/components/pageLayout/style.js +2 -0
  152. package/dist/web/components/phone/index.js +1 -0
  153. package/dist/web/components/phoneCode/index.js +1 -0
  154. package/dist/web/components/picker/datePicker.js +1 -0
  155. package/dist/web/components/picker/picker.js +1 -0
  156. package/dist/web/components/picker/style.js +1 -0
  157. package/dist/web/components/picker/timePicker.js +1 -0
  158. package/dist/web/components/qrcode/qr-code.js +1 -0
  159. package/dist/web/components/richText/index.js +7 -5
  160. package/dist/web/components/richText/style.js +2 -0
  161. package/dist/web/components/richTextView/index.js +1 -1
  162. package/dist/web/components/richTextView/style.js +2 -0
  163. package/dist/web/components/scrollView/index.js +1 -0
  164. package/dist/web/components/scrollView/style.js +1 -0
  165. package/dist/web/components/share/index.js +1 -0
  166. package/dist/web/components/statusContent/index.js +1 -1
  167. package/dist/web/components/statusContent/style.js +2 -0
  168. package/dist/web/components/style.js +5 -0
  169. package/dist/web/components/swiper/index.js +1 -1
  170. package/dist/web/components/swiper/style.js +2 -0
  171. package/dist/web/components/table/BaseTable.js +1 -2
  172. package/dist/web/components/table/ExportFileModalByApi/index.js +1 -1
  173. package/dist/web/components/table/ExportFileModalByApi/style.js +3 -0
  174. package/dist/web/components/table/Form/Location.js +1 -1
  175. package/dist/web/components/table/Form/style.js +2 -0
  176. package/dist/web/components/table/ImportFileModal/index.js +1 -1
  177. package/dist/web/components/table/ImportFileModal/style.js +2 -0
  178. package/dist/web/components/table/ImportFileModalByApi/index.js +0 -2
  179. package/dist/web/components/table/ImportFileModalByApi/style.js +3 -0
  180. package/dist/web/components/table/ImportFileModalByApi/uploadCSVFile.js +1 -1
  181. package/dist/web/components/table/SelectableBlock/index.js +1 -1
  182. package/dist/web/components/table/SelectableBlock/style.js +2 -0
  183. package/dist/web/components/table/UserDepartment/ViewCell.js +1 -1
  184. package/dist/web/components/table/UserDepartment/style.js +2 -0
  185. package/dist/web/components/table/index.js +1 -1
  186. package/dist/web/components/table/style.js +4 -0
  187. package/dist/web/components/tabs/index.js +1 -0
  188. package/dist/web/components/tabs/style.js +2 -0
  189. package/dist/web/components/tabs/tabs.h5.js +0 -1
  190. package/dist/web/components/text/index.js +1 -1
  191. package/dist/web/components/text/style.js +3 -0
  192. package/dist/web/components/uploaderFileView/index.js +1 -1
  193. package/dist/web/components/uploaderFileView/style.js +2 -0
  194. package/dist/web/components/uploaderView/index.js +1 -1
  195. package/dist/web/components/uploaderView/style.js +2 -0
  196. package/dist/web/components/userInfo/index.js +1 -0
  197. package/dist/web/components/wd-bubble/wd-bubble.js +1 -0
  198. package/dist/web/components/wd-button/wd-button.js +1 -0
  199. package/dist/web/components/wd-form/hooks/use-remote-value.js +9 -2
  200. package/dist/web/components/wd-form/index.js +46 -23
  201. package/dist/web/components/wd-icon/wd-icon.js +10 -2
  202. package/dist/web/components/wd-image/index.js +1 -0
  203. package/dist/web/components/wd-link/wd-link.js +1 -0
  204. package/dist/web/components/wd-official-account/index.js +1 -1
  205. package/dist/web/components/wd-official-account/style.js +2 -0
  206. package/dist/web/components/wd-table/components/ExportFileModalByApi/ExportFileModalByApi.js +1 -1
  207. package/dist/web/components/wd-table/components/ExportFileModalByApi/index.js +7 -14
  208. package/dist/web/components/wd-table/components/ExportFileModalByApi/style.js +2 -0
  209. package/dist/web/components/wd-table/components/FieldRender/Form/Location.js +1 -1
  210. package/dist/web/components/wd-table/components/FieldRender/Form/style.js +2 -0
  211. package/dist/web/components/wd-table/components/FieldRender/UserDepartment/ViewCell.js +1 -1
  212. package/dist/web/components/wd-table/components/FieldRender/UserDepartment/style.js +2 -0
  213. package/dist/web/components/wd-table/components/FilterFieldsPanel/FilterFieldItem.js +4 -0
  214. package/dist/web/components/wd-table/components/ImportFileModalByApi/index.js +1 -0
  215. package/dist/web/components/wd-table/components/ImportFileModalByApi/style.js +1 -0
  216. package/dist/web/components/wd-table/components/Table/index.js +28 -7
  217. package/dist/web/components/wd-table/hooks/useTableData.js +6 -1
  218. package/dist/web/components/wd-table/hooks/useViewFields.js +1 -1
  219. package/dist/web/components/wd-table/wd-table.js +58 -44
  220. package/dist/web/components/wd-text/wd-text.js +1 -0
  221. package/dist/web/components/web-view/style.js +2 -0
  222. package/dist/web/components/web-view/web-view.js +1 -1
  223. package/dist/web/components/wedaVideo/index.js +1 -2
  224. package/dist/web/components/wedaVideo/style.js +4 -0
  225. package/dist/web/utils/hooks/useFormLegacy.js +3 -2
  226. package/dist/web/utils/platform.js +1 -1
  227. package/dist/web/weda-ui.css +4 -0
  228. package/package.json +16 -1
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from '../../utils/classnames';
3
3
  import { textToString } from '../../utils/platform';
4
4
  import { emptyArray, emptyObject } from '../../utils/constant';
5
- import './index.css';
5
+ import './style';
6
6
  // 所有绝对地址直接交由浏览器,新开窗口交由浏览器
7
7
  // 当前窗口相对地址交给平台
8
8
  export default function Link({ content, url = '', events = emptyObject, style, className, contentSlot, params = emptyArray, // TODO 格式定义,
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -4,7 +4,7 @@ import { callDataSource } from '../../utils/tcb';
4
4
  import { isInIde, alertErrorMessage } from '../../utils/platform';
5
5
  import classNames from '../../utils/classnames';
6
6
  import isequal from 'lodash.isequal';
7
- import './index.css';
7
+ import './style';
8
8
  import { isNil } from '../../utils/lodash';
9
9
  import { getUuid } from '../../utils/tool';
10
10
  import EmptyContent from '../statusContent';
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -1,19 +1,21 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /* eslint-disable react/jsx-key */
3
- import React, { useState, useEffect, useCallback, useImperativeHandle, } from 'react';
3
+ import React, { useState, useEffect, useCallback, useImperativeHandle, useMemo, } from 'react';
4
4
  import { usePlatform } from '../../utils/platform';
5
5
  import classNames from '../../utils/classnames';
6
- import './index.css';
7
6
  import { ConfigProvider } from 'tea-component';
8
7
  import LotteryAction from './lotteryUtil';
8
+ import './style';
9
9
  const CLASS_PREFIX = 'weda-lottery';
10
- const lotteryAction = new LotteryAction();
11
10
  export default React.forwardRef(function Lottery({ className, id, style, prizeList, enablePrize, prizeResult, events }, ref) {
12
11
  const platform = usePlatform();
13
12
  const [activedId, setActivedId] = useState(-1);
14
13
  const [isStartLottery, setIsStartLottery] = useState(false);
15
14
  const [lotteryList, setLotteryList] = useState([]);
16
15
  const [btnActived, setBtnActived] = useState(false);
16
+ const lotteryAction = useMemo(() => {
17
+ return new LotteryAction();
18
+ }, []);
17
19
  //获取初始化默认数据,数据不足8条设置默认,超过8条获取前8条
18
20
  const lotteryListDefault = () => {
19
21
  const list = [];
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { Container, Text, Button } from '../index';
4
4
  import { Popover } from 'tea-component';
5
- import './h5.css';
5
+ import './style';
6
6
  import { useSyncValue } from '../../utils/hooks/useSyncValue';
7
7
  export function ModalH5(props) {
8
8
  const { events, visible, content, isDefaultButton, customButton, customContent, outerRef, disableCloseIcon = false, } = props;
@@ -3,6 +3,7 @@ import * as React from 'react';
3
3
  import { Modal, Button, ConfigProvider } from 'tea-component';
4
4
  import classNames from '../../utils/classnames';
5
5
  import { useSyncValue } from '../../utils/hooks/useSyncValue';
6
+ import './style';
6
7
  export function ModalPc(props) {
7
8
  const { className, content, visible, customButton, customContent, isDefaultButton, size, events, outerRef, ...restProps } = props;
8
9
  const [isVisible, setIsVisible] = useSyncValue(visible);
@@ -0,0 +1,3 @@
1
+ import './h5.css';
2
+ // common style
3
+ import '../style';
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import classNames from '../../utils/classnames';
4
4
  import { Row, Col, ConfigProvider } from 'tea-component';
5
5
  import { usePlatform } from '../../utils/platform';
6
- import './index.css';
6
+ import './style';
7
7
  import { IconFont } from 'tdesign-icons-react';
8
8
  import Image from '../image';
9
9
  import isObjectEqual from '../../utils/isObjectEqual';
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ // common style
3
+ import '../style';
@@ -6,7 +6,7 @@ const CLASS_PREFIX = 'weda-menu';
6
6
  // 标题
7
7
  export const renderTitle = (navigationStyle) => {
8
8
  const { title, titleColor, showTitle, titleFontSize } = navigationStyle;
9
- return (showTitle && (_jsx("span", { "data-testid": "navigationBar-title", style: {
9
+ return (showTitle && (_jsx("span", { "data-testid": "navigationBar-title", className: "weda-menu__title_text", style: {
10
10
  display: 'inline-block',
11
11
  color: titleColor,
12
12
  fontSize: titleFontSize,
@@ -64,7 +64,7 @@ const HorizontalMenu = ({ menuData, navigationStyle, selected, setSelected, navi
64
64
  }, children: renderMenuTitle(navigationStyle, { title }, false) }, key)) : (_jsx(List.SubMenu, { className: `${CLASS_PREFIX}__dropdown-list-item`, label: renderMenuTitle(navigationStyle, { title }, false), children: renderMenuList(children, navigationStyle) }, key));
65
65
  }) }));
66
66
  };
67
- return (_jsx(NavMenu, { style: menuStyle, className: `${CLASS_PREFIX}__nav`, left: _jsxs(_Fragment, { children: [_jsx(NavMenu.Item, { type: "logo", className: `${CLASS_PREFIX}__nav-logo`, children: _jsx(MenuLogo, { navigationStyle: navigationStyle, className: `${CLASS_PREFIX}__nav-logo--img` }) }), _jsx(NavMenu.Item, { className: `${CLASS_PREFIX}__nav-title`, children: _jsx("span", { className: `${CLASS_PREFIX}__title`, children: renderTitle(navigationStyle) }) })] }), right: _jsxs("div", { className: `${CLASS_PREFIX}__nav-wrap`, children: [_jsxs(_Fragment, { children: [showButton && position.index > 0 && (_jsxs("div", { className: `${CLASS_PREFIX}__nav-shadow leftButton`, onClick: () => {
67
+ return (_jsx(NavMenu, { style: menuStyle, className: `${CLASS_PREFIX}__nav`, left: _jsxs(_Fragment, { children: [navigationStyle.showLogo && (_jsx(NavMenu.Item, { type: "logo", className: `${CLASS_PREFIX}__nav-logo`, children: _jsx(MenuLogo, { navigationStyle: navigationStyle, className: `${CLASS_PREFIX}__nav-logo--img` }) })), _jsx(NavMenu.Item, { className: `${CLASS_PREFIX}__nav-title`, children: _jsx("span", { className: `${CLASS_PREFIX}__title`, children: renderTitle(navigationStyle) }) })] }), right: _jsxs("div", { className: `${CLASS_PREFIX}__nav-wrap`, children: [_jsxs(_Fragment, { children: [showButton && position.index > 0 && (_jsxs("div", { className: `${CLASS_PREFIX}__nav-shadow leftButton`, onClick: () => {
68
68
  const result = position.offset + menuOffset[position.index];
69
69
  setPosition({ index: position.index - 1, offset: result });
70
70
  }, children: [_jsx("div", { className: `${CLASS_PREFIX}__shadow--icon` }), _jsx("div", { className: `${CLASS_PREFIX}__shadow` }), _jsx("div", { className: `${CLASS_PREFIX}__shadow--white` })] })), _jsx("div", { className: `${CLASS_PREFIX}__nav-content box`, children: _jsx("div", { ref: navWrapRef, className: `${CLASS_PREFIX}__nav-content`, style: { transform: `translate(${position.offset}px, 0px)` }, children: menuData === null || menuData === void 0 ? void 0 : menuData.map((i) => {
@@ -301,6 +301,17 @@
301
301
  font-size: 16px;
302
302
  color: #000000;
303
303
  margin-left: 12px;
304
+ display: flex;
305
+ }
306
+ .weda-menu-horizontal
307
+ .weda-menu__nav
308
+ .weda-menu__nav-title
309
+ .weda-menu__title
310
+ .weda-menu__title_text {
311
+ white-space: nowrap;
312
+ max-width: 300px;
313
+ text-overflow: ellipsis;
314
+ overflow: hidden;
304
315
  }
305
316
 
306
317
  .weda-menu-horizontal .weda-menu__nav .wedatea2td-nav__flex-end {
@@ -4,13 +4,13 @@ import classNames from '../../utils/classnames';
4
4
  import { ConfigProvider } from 'tea-component';
5
5
  import { usePlatform } from '../../utils/platform';
6
6
  import { getAppCustomNav } from '../../utils/tcb';
7
- import './index.css';
8
7
  import VerticalMenu from './verticalMenu';
9
8
  import HorizontalMenu from './horizontalMenu';
10
9
  import H5Menu from './h5Menu';
11
10
  import { expandMenu, findMenuItemByPath } from './common';
12
11
  import isObjectEqual from '../../utils/isObjectEqual';
13
12
  import destr from 'destr';
13
+ import './style';
14
14
  /**
15
15
  * Web端
16
16
  */
@@ -155,7 +155,14 @@ export default function NavigationBar({ navigationbar, contentSlot, navigationSl
155
155
  const MenuRender = () => {
156
156
  return (_jsxs("div", { className: `${CLASS_PREFIX}__wrapper`, style: {
157
157
  background: (navigationStyle === null || navigationStyle === void 0 ? void 0 : navigationStyle.menuBackgroundColor) || '#fff',
158
- }, children: [platform !== 'h5' && !isHorizontal && (_jsx(VerticalMenu, { menuData: menuData, navigationStyle: navigationStyle, setMenuData: setMenuData, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot })), platform !== 'h5' && isHorizontal && (_jsx(HorizontalMenu, { menuData: menuData, navigationStyle: navigationStyle, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot })), platform === 'h5' && (_jsx(H5Menu, { menuData: isMultiTerminal ? mobileMenuData : menuData, navigationStyle: navigationStyle, setMenuData: setMenuData, className: className, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot, visible: visible, setVisible: setVisible }))] }));
158
+ }, children: [platform !== 'h5' && !isHorizontal && (_jsx(VerticalMenu, { menuData: menuData, navigationStyle: navigationStyle, setMenuData: setMenuData, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot })), platform !== 'h5' && isHorizontal && (_jsx(HorizontalMenu, { menuData: menuData, navigationStyle: navigationStyle, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot })), platform === 'h5' && (_jsx(H5Menu, { menuData: isMultiTerminal ? mobileMenuData : menuData, navigationStyle: navigationStyle, setMenuData: (menus) => {
159
+ if (isMultiTerminal) {
160
+ setMobileMenuData(menus);
161
+ }
162
+ else {
163
+ setMenuData(menus);
164
+ }
165
+ }, className: className, selected: selected, setSelected: setSelected, navigationSlot: navigationSlot, visible: visible, setVisible: setVisible }))] }));
159
166
  };
160
167
  return (_jsx(ConfigProvider, { classPrefix: "wedatea2td", children: _jsxs("div", { className: cls, style: navigationWrapStyle, "data-testid": "navigationBar", children: [showNav && _jsx(MenuRender, {}), _jsx("div", { className: "menu-solt", children: contentSlot })] }) }));
161
168
  }
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect, useRef } from 'react';
4
4
  import { Status, List } from 'tea-component';
5
5
  import { navigateToModelPage } from '../../../utils/platform';
6
- import './index.css';
6
+ import './style';
7
7
  const StatusTitle = {
8
8
  blank: '内容为空',
9
9
  chart: '图表为空或异常',
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../../style';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Layout, Card, ConfigProvider } from 'tea-component';
3
- import './index.css';
4
3
  import { navigateBack } from '../../utils/platform';
5
4
  import { useConfig } from '../../utils/config-context';
5
+ import './style';
6
6
  const { Body, Content } = Layout;
7
7
  /**
8
8
  * 页面基本布局组件
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -7,6 +7,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
7
7
  import * as React from 'react';
8
8
  import Button from '../../components/button';
9
9
  import { Bubble, ConfigProvider } from 'tea-component';
10
+ import '../style';
10
11
  // @ts-ignore忽略ts交验
11
12
  // eslint-disable-next-line rulesdir/no-phantom-deps,import/no-unresolved
12
13
  import { autorun } from 'mobx';
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import Button from '../../components/button';
3
3
  import { Bubble, ConfigProvider } from 'tea-component';
4
+ import '../style';
4
5
  // export type PhoneCodeProps =
5
6
  const PhoneCode = (props) => {
6
7
  return (_jsx(ConfigProvider, { classPrefix: "wedatea2td", children: _jsx(Bubble, { content: "\u8BE5\u7EC4\u4EF6\u5FC5\u987B\u5728\u5C0F\u7A0B\u5E8F\u771F\u5B9E\u73AF\u5883\u4F7F\u7528\u624D\u80FD\u591F\u770B\u5230\u5B9E\u9645\u6548\u679C, \u5E76\u4E14\u5C0F\u7A0B\u5E8F\u5FC5\u987B\u4E3A\u4F01\u4E1A\u4E3B\u4F53\u3002", children: _jsx(Button, { ...props }) }) }));
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import weui from '../../utils/weui';
3
3
  import classNames from '../../utils/classnames';
4
+ import '../style';
4
5
  export default function DatePicker(props) {
5
6
  const { start, end, defaultValue, title, children, className } = props;
6
7
  const click = function () {
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import weui from '../../utils/weui';
3
3
  import classNames from '../../utils/classnames';
4
+ import './style';
4
5
  export default function Picker(props) {
5
6
  const { title, children, className } = props;
6
7
  const click = function () {
@@ -0,0 +1 @@
1
+ import '../style';
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import weui from '../../utils/weui';
3
3
  import classNames from '../../utils/classnames';
4
+ import '../style';
4
5
  export default function TimePicker(props) {
5
6
  const { title, defaultValue = '', children, className } = props;
6
7
  const click = function () {
@@ -4,6 +4,7 @@ import classNames from '../../utils/classnames';
4
4
  import { useConfig } from '../../utils/config-context';
5
5
  import QRCode from 'qrcode.react';
6
6
  import { usePlatform } from '../../utils/platform';
7
+ import '../style';
7
8
  export const QrCode = forwardRef(function QrCode({ text, backgroundColor, foregroundColor, style, className, showMenuByLongpress, }, ref) {
8
9
  const platform = usePlatform();
9
10
  // 样式
@@ -1,15 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import classNames from '../../utils/classnames';
4
- import { usePlatform } from '../../utils/platform';
5
4
  import { getTempFileURL } from '../../utils/tcb';
6
5
  import { v4 as uuidv4 } from 'uuid';
7
- import styleM from './richtext.module.css';
8
6
  import { LOAD_ERR_IMG_BASE64, RICH_TEXT_ICON_PACK } from '../../utils/constant';
9
7
  import { message } from 'tea-component';
10
- import './index.css';
11
8
  import { useEventListener, useResizeObserver } from '@react-hookz/web';
12
9
  import { renderDecorator } from '../form/renderDecorator';
10
+ import { usePlatform } from '../../utils/platform';
11
+ import styleM from './richtext.module.css';
12
+ import './style';
13
13
  // 默认图片类型
14
14
  const IMAGE_TYPES = [
15
15
  'image/jpeg',
@@ -91,9 +91,10 @@ initialContent, placeholder, iconPack, maxSize, cloudPath, visible, }) {
91
91
  });
92
92
  const previousValueRef = React.useRef();
93
93
  const onDataChange = function (value) {
94
+ var _a;
94
95
  if (previousValueRef.current !== value) {
95
96
  previousValueRef.current = value;
96
- events === null || events === void 0 ? void 0 : events.change({ value: value === '<p></p>' ? '' : value });
97
+ (_a = events === null || events === void 0 ? void 0 : events.change) === null || _a === void 0 ? void 0 : _a.call(events, { value: value === '<p></p>' ? '' : value });
97
98
  if (onChange) {
98
99
  if (value === '<p></p>') {
99
100
  onChange('');
@@ -309,10 +310,11 @@ initialContent, placeholder, iconPack, maxSize, cloudPath, visible, }) {
309
310
  }
310
311
  }, [value]);
311
312
  React.useEffect(() => {
313
+ var _a;
312
314
  const map = currentMap;
313
315
  if (map && Object.keys(map).length > 0) {
314
316
  Object.keys(map).every((key) => map[key]) &&
315
- (events === null || events === void 0 ? void 0 : events.finishUploadAll({ value: map }));
317
+ ((_a = events === null || events === void 0 ? void 0 : events.finishUploadAll) === null || _a === void 0 ? void 0 : _a.call(events, { value: map }));
316
318
  }
317
319
  }, [currentMap]);
318
320
  const children = (_g = (_f = (_e = toolbarDomRef === null || toolbarDomRef === void 0 ? void 0 : toolbarDomRef.current) === null || _e === void 0 ? void 0 : _e.children) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.children;
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from 'react';
3
3
  import classNames from '../../utils/classnames';
4
4
  import { getTempFileURL } from '../../utils/tcb';
5
- import './index.css';
6
5
  import { LOAD_ERR_IMG_BASE64 } from '../../utils/constant';
7
6
  import destr from 'destr';
7
+ import './style';
8
8
  export default function RichTextView({ value = '', className, style, id, }) {
9
9
  const parseValue = destr(value);
10
10
  const cls = classNames({
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import classNames from '../../utils/classnames';
4
+ import './style';
4
5
  export default function ScrollView({ id, scrollX = false, scrollY = true, style, scrollTop, scrollLeft, scrollIntoView, className, children, upperThreshold = 50, lowerThreshold = 50, events, }) {
5
6
  const [toUpper, setToUpper] = React.useState(false);
6
7
  const [toLower, setToLower] = React.useState(false);
@@ -0,0 +1 @@
1
+ import '../style';
@@ -7,6 +7,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
7
7
  import * as React from 'react';
8
8
  import { Bubble, ConfigProvider } from 'tea-component';
9
9
  import Button from '../../components/button';
10
+ import '../style';
10
11
  // @ts-ignore忽略ts交验
11
12
  // eslint-disable-next-line rulesdir/no-phantom-deps,import/no-unresolved
12
13
  import { autorun } from 'mobx';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
- import './index.css';
3
+ import './style';
4
4
  const BLOCK_NAME = 'weda-list-view';
5
5
  export default function StatusContent(props) {
6
6
  const { emptyText, component, isH5, icon = 'empty' } = props;
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -0,0 +1,5 @@
1
+ import '@tcwd/style-wedatheme/index.css';
2
+ import 'weui/dist/style/weui.css';
3
+ import '../weda-ui.css';
4
+ // 组件标准化
5
+ import '../../style/index.scss';
@@ -4,8 +4,8 @@ import { useState, useEffect, useRef } from 'react';
4
4
  import classNames from '../../utils/classnames';
5
5
  import Swipe from 'react-easy-swipe';
6
6
  import { useDebouncedCallback, useEventListener, useResizeObserver, } from '@react-hookz/web';
7
- import './index.css';
8
7
  import { emptyObject } from '../../utils/constant';
8
+ import './style';
9
9
  export default function Swiper({ children, className, style, autoplay = true, circular = true, vertical = false, indicatorDots, indicatorColor = 'rgba(200, 200, 200, 0.9)', indicatorActiveColor = 'rgba(0, 0, 0, 0.9)', duration = 500, interval = 5000, current = 0, events = emptyObject, id, }) {
10
10
  const originChildrenRef = useRef(null);
11
11
  const [realChildren, setRealChildren] = useState([]);
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -18,8 +18,7 @@ import { exportData } from '../../utils/file';
18
18
  import { DataSource, getDataSourceByName, getPrimaryField, getDataSourceFieldsWithAuth, } from '../../utils/datasource';
19
19
  import { getUuid, getFieldsTypeName } from '../../utils/tool';
20
20
  import EmptyContent from '../statusContent';
21
- import './baseTable.css';
22
- // eslint-disable-next-line prettier/prettier
21
+ import './style';
23
22
  const { sortable, radioable, selectable, pageable, autotip, injectable } = Table.addons;
24
23
  /**
25
24
  * 基础表格
@@ -3,7 +3,7 @@ import { useState, useEffect } from 'react';
3
3
  import { Modal, Button, Radio, Form, Table, Checkbox, Icon, List, Status, Bubble, } from 'tea-component';
4
4
  import { useImportingStatus } from '../hooks/useImportingStatus';
5
5
  import { callWedaApi } from '../../../utils/tcb';
6
- import './index.css';
6
+ import './style';
7
7
  const { selectable, scrollable } = Table.addons;
8
8
  export function ExportFileModalByApi({ onCancel, visible, fields, selectedKeysList, handleInOrOutRecordModealVisible, dbName, where, whereList, orderBy, orderType, tableColumns, }) {
9
9
  const [step, setStep] = useState('fieldMap');
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ // common style
3
+ import '../../style';
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect } from 'react';
3
3
  import classNames from '../../../utils/classnames';
4
4
  import { Form, Input, Text } from 'tea-component';
5
- import './Location.css';
5
+ import './style';
6
6
  export const locationProperties = {
7
7
  address: {
8
8
  title: '地点',
@@ -0,0 +1,2 @@
1
+ import './Location.css';
2
+ import '../../style';
@@ -7,7 +7,7 @@ import csvTemplate from './csvTemplate.json';
7
7
  import { validateHandle, fieldsValidateTypeGenerate, formatTableDate, } from './validate';
8
8
  import { submitFormatter } from './submitFormatter';
9
9
  import { useEnumContext } from '../../../utils/hooks/context';
10
- import './index.css';
10
+ import './style';
11
11
  // 下载模版
12
12
  const getCSVTemplate = (fields, datasourceTitle) => {
13
13
  const header = [];
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../../style';
@@ -5,8 +5,6 @@ import { UploadCSVFile } from './uploadCSVFile';
5
5
  import { alertErrorMessage } from '../../../utils/platform';
6
6
  import { deepClone } from '../../../utils/tool';
7
7
  import { useImportingStatus } from '../hooks/useImportingStatus';
8
- import '../ImportFileModal/index.css';
9
- import './index.css';
10
8
  import { callWedaApi } from '../../../utils/tcb';
11
9
  // 字段映射
12
10
  const FileTitleDropdown = ({ fileHeader, fileItem, upddateFileJsonMap }) => {
@@ -0,0 +1,3 @@
1
+ import '../ImportFileModal/index.css';
2
+ import './index.css';
3
+ import '../../style';
@@ -87,5 +87,5 @@ export function UploadCSVFile({ parseFile, fields, datasourceTitle, dbName, setD
87
87
  setDisableNext(true);
88
88
  }, children: "\u5220\u9664" })] }) }), children: isDragging ? ('释放鼠标') : (_jsx(Status, { className: "upload-file", icon: 'blank', size: 's', operation: _jsxs(_Fragment, { children: [_jsx("a", { onClick: open, children: "\u70B9\u51FB\u4E0A\u4F20" }), " /", ' ', _jsx(Text, { theme: "weak", children: "\u62D6\u62FD\u5230\u6B64\u533A\u57DF" })] }) })) })) }) }), _jsx("div", { className: "modal-upload-text-wrap", children: _jsxs("ul", { children: [_jsxs("li", { children: ["1\u3001\u8BF7\u4E0B\u8F7D\u4F7F\u7528", _jsx("span", { onClick: () => {
89
89
  getCSVTemplate(fields, datasourceTitle);
90
- }, children: "\u00A0 \u5BFC\u5165\u6A21\u7248" }), "\uFF0C\u5E76\u6309\u7167\u793A\u4F8B\u586B\u5199\u6570\u636E\uFF0C\u4EE5\u4FDD\u8BC1\u6570\u636E\u5BFC\u5165\u987A\u5229"] }), _jsx("li", { children: "2\u3001\u652F\u6301xlsx\u7C7B\u578B\u6587\u4EF6\uFF0C\u8981\u6C42\u6587\u4EF6\u5927\u5C0F2M\u4EE5\u5185\uFF0C\u4E0D\u80FD\u8D85\u8FC710000\u884C" }), _jsxs("li", { children: [_jsx("div", { children: "3\u3001\u5BFC\u5165\u66F4\u65B0\u8BF4\u660E" }), _jsx("div", { children: "\u00A01\uFF09\u652F\u6301\u9009\u62E9\u5F00\u542F\u552F\u4E00\u5C5E\u6027\u7684\u5B57\u6BB5\uFF0C\u7528\u4E8E\u5339\u914D\u5E76\u66F4\u65B0\u5DF2\u6709\u7684\u6570\u636E\u8BB0\u5F55" }), _jsx("div", { children: "\u00A02\uFF09\u5BFC\u5165\u6A21\u5F0F\u4E3A\u300C\u65B0\u589E\u6216\u66F4\u65B0\u300D\u65F6\uFF0C\u5982\u300C\u6570\u636E\u6807\u8BC6\u300D\u5217\u4E3A\u7A7A\uFF0C\u8BE5\u884C\u6570\u636E\u4F1A\u6267\u884C\u65B0\u589E\u64CD\u4F5C" })] }), _jsxs("li", { children: [_jsx("div", { children: "4\u3001\u6570\u636E\u683C\u5F0F\u8BF4\u660E" }), _jsx("div", { children: "\u00A0 1\uFF09\u679A\u4E3E\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u9009\u62E9\u9009\u9879\u6807\u8BC6\u6216\u9009\u9879\u503C\u8FDB\u884C\u5BFC\u5165\uFF1A\u9009\u9879\u6807\u8BC6\u4E3A\u8868\u683C\u4E2D\u5C55\u793A\u7684\u4E1A\u52A1\u540D\u79F0\uFF1B\u9009\u9879\u503C\u4E3A\u9009\u9879\u7684\u7CFB\u7EDF\u552F\u4E00\u6807\u8BC6" }), _jsx("div", { children: "\u00A02\uFF09\u5173\u8054\u5173\u7CFB\u3001\u4E3B\u5B50\u660E\u7EC6\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u9009\u62E9\u4E3B\u5217\u5B57\u6BB5\u6216\u6570\u636E\u6807\u8BC6\u8FDB\u884C\u5BFC\u5165\uFF1A\u4E3B\u5217\u5B57\u6BB5\u4E3A\u8868\u683C\u4E2D\u5C55\u793A\u7684\u5173\u8054\u6570\u636E\u4E1A\u52A1\u540D\u79F0\uFF1B\u6570\u636E\u6807\u8BC6\u4E3A\u5173\u8054\u6570\u636E\u7684\u7CFB\u7EDF\u552F\u4E00\u6807\u8BC6" }), _jsx("div", { children: "\u00A03\uFF09\u5E03\u5C14\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u5BFC\u5165\u300C\u662F/\u5426\u300D\u6216\u300Ctrue/false\u300D" }), _jsx("div", { children: "\u00A04\uFF09\u56FE\u7247\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u5BFC\u5165https\u6216cloud\u534F\u8BAE\u7684\u56FE\u7247\u5730\u5740" }), _jsx("div", { children: "\u00A05\uFF09\u6587\u4EF6\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301cloud\u534F\u8BAE\u7684\u6587\u4EF6\u5730\u5740" }), _jsx("div", { children: "\u00A06\uFF09\u5730\u7406\u4F4D\u7F6E\u7C7B\u578B\u6570\u636E\uFF1A\u6570\u636E\u683C\u5F0F\u8981\u6C42\u4E3A\u5730\u70B9\u540D\u79F0(\u5750\u6807\u7ECF\u5EA6\uFF0C\u5750\u6807\u7EF4\u5EA6)" })] })] }) })] }));
90
+ }, children: "\u00A0 \u5BFC\u5165\u6A21\u7248" }), "\uFF0C\u5E76\u6309\u7167\u793A\u4F8B\u586B\u5199\u6570\u636E\uFF0C\u4EE5\u4FDD\u8BC1\u6570\u636E\u5BFC\u5165\u987A\u5229"] }), _jsx("li", { children: "2\u3001\u652F\u6301xlsx\u7C7B\u578B\u6587\u4EF6\uFF0C\u8981\u6C42\u6587\u4EF6\u5927\u5C0F2M\u4EE5\u5185\uFF0C\u4E0D\u80FD\u8D85\u8FC710000\u884C" }), _jsxs("li", { children: [_jsx("div", { children: "3\u3001\u5BFC\u5165\u66F4\u65B0\u8BF4\u660E" }), _jsx("div", { children: "\u00A01\uFF09\u652F\u6301\u9009\u62E9\u5F00\u542F\u552F\u4E00\u5C5E\u6027\u7684\u5B57\u6BB5\uFF0C\u7528\u4E8E\u5339\u914D\u5E76\u66F4\u65B0\u5DF2\u6709\u7684\u6570\u636E\u8BB0\u5F55" }), _jsx("div", { children: "\u00A02\uFF09\u5BFC\u5165\u6A21\u5F0F\u4E3A\u300C\u65B0\u589E\u6216\u66F4\u65B0\u300D\u65F6\uFF0C\u5982\u300C\u6570\u636E\u6807\u8BC6\u300D\u5217\u4E3A\u7A7A\uFF0C\u8BE5\u884C\u6570\u636E\u4F1A\u6267\u884C\u65B0\u589E\u64CD\u4F5C" }), _jsx("div", { children: "\u00A03\uFF09\u5355\u5143\u683C\u5185\u5BB9\u4E3A\u7A7A\u65F6\uFF0C\u8BE5\u7A7A\u503C\u5C06\u8986\u76D6\u539F\u6709\u6570\u636E\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C" })] }), _jsxs("li", { children: [_jsx("div", { children: "4\u3001\u6570\u636E\u683C\u5F0F\u8BF4\u660E" }), _jsx("div", { children: "\u00A0 1\uFF09\u679A\u4E3E\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u9009\u62E9\u9009\u9879\u6807\u8BC6\u6216\u9009\u9879\u503C\u8FDB\u884C\u5BFC\u5165\uFF1A\u9009\u9879\u6807\u8BC6\u4E3A\u8868\u683C\u4E2D\u5C55\u793A\u7684\u4E1A\u52A1\u540D\u79F0\uFF1B\u9009\u9879\u503C\u4E3A\u9009\u9879\u7684\u7CFB\u7EDF\u552F\u4E00\u6807\u8BC6" }), _jsx("div", { children: "\u00A02\uFF09\u5173\u8054\u5173\u7CFB\u3001\u4E3B\u5B50\u660E\u7EC6\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u9009\u62E9\u4E3B\u5217\u5B57\u6BB5\u6216\u6570\u636E\u6807\u8BC6\u8FDB\u884C\u5BFC\u5165\uFF1A\u4E3B\u5217\u5B57\u6BB5\u4E3A\u8868\u683C\u4E2D\u5C55\u793A\u7684\u5173\u8054\u6570\u636E\u4E1A\u52A1\u540D\u79F0\uFF1B\u6570\u636E\u6807\u8BC6\u4E3A\u5173\u8054\u6570\u636E\u7684\u7CFB\u7EDF\u552F\u4E00\u6807\u8BC6" }), _jsx("div", { children: "\u00A03\uFF09\u5E03\u5C14\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u5BFC\u5165\u300C\u662F/\u5426\u300D\u6216\u300Ctrue/false\u300D" }), _jsx("div", { children: "\u00A04\uFF09\u56FE\u7247\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301\u5BFC\u5165https\u6216cloud\u534F\u8BAE\u7684\u56FE\u7247\u5730\u5740" }), _jsx("div", { children: "\u00A05\uFF09\u6587\u4EF6\u7C7B\u578B\u6570\u636E\uFF1A\u652F\u6301cloud\u534F\u8BAE\u7684\u6587\u4EF6\u5730\u5740" }), _jsx("div", { children: "\u00A06\uFF09\u5730\u7406\u4F4D\u7F6E\u7C7B\u578B\u6570\u636E\uFF1A\u6570\u636E\u683C\u5F0F\u8981\u6C42\u4E3A\u5730\u70B9\u540D\u79F0(\u5750\u6807\u7ECF\u5EA6\uFF0C\u5750\u6807\u7EF4\u5EA6)" })] })] }) })] }));
91
91
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ConfigProvider, Button, Popover } from 'tea-component';
3
3
  import { isInIde, isWXIDE } from '../../../utils/platform';
4
- import './index.css';
4
+ import './style';
5
5
  /**
6
6
  * 选区组件
7
7
  */
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../../style';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Text } from 'tea-component';
3
3
  import { getRelationData } from './utils';
4
- import './viewCell.css';
4
+ import './style';
5
5
  export const ViewCell = ({ data, showType, relation }) => {
6
6
  if (showType === 'tree') {
7
7
  return _jsx(Text, { verticalAlign: "middle", children: (data === null || data === void 0 ? void 0 : data.content) || '-' });
@@ -0,0 +1,2 @@
1
+ import './viewCell.css';
2
+ import '../../style';
@@ -8,7 +8,7 @@ import classNames from '../../utils/classnames';
8
8
  import { TABLE_BUTTONS, TABLE_SETTINGS, TABLE_SLOT_PREFIX, GLOBAL_BUTTON, } from '../../utils/constant';
9
9
  import { EnumHoc } from '../../utils/hooks/EnumHoc';
10
10
  import { alertErrorMessage } from '../../utils/platform';
11
- import './index.css';
11
+ import './style';
12
12
  /**
13
13
  * 列表组件
14
14
  */
@@ -0,0 +1,4 @@
1
+ import './index.css';
2
+ import './baseTable.css';
3
+ // common style
4
+ import '../style';
@@ -4,6 +4,7 @@ import { CommonErrorBoundary } from '../common/error-boundary';
4
4
  // import { fallback } from '../../utils/loading-fallback';
5
5
  import TabsH5 from './tabs.h5';
6
6
  import TabsPc from './tabs.pc';
7
+ import './style';
7
8
  function TabsImpl(props) {
8
9
  const platform = usePlatform();
9
10
  if ((props === null || props === void 0 ? void 0 : props.showType) === 'pc') {
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import './index.css';
3
2
  import classNames from '../../utils/classnames';
4
3
  import { useSyncValue } from '../../utils/hooks/useSyncValue';
5
4
  import { useCustomCompareEffect, useSyncedRef } from '@react-hookz/web';
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import classNames from '../../utils/classnames';
4
4
  import { textToString } from '../../utils/platform';
5
- import './index.css';
5
+ import './style';
6
6
  export default function Text({ text, maxLines, space, tips, userSelect, style, className, events, id, level, contenteditable, onInput, onBlur, }) {
7
7
  const textStyle = React.useMemo(() => ({
8
8
  WebkitLineClamp: maxLines,
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ // common style
3
+ import '../style';
@@ -3,8 +3,8 @@ import * as React from 'react';
3
3
  import { UploadFilePc } from '../form/uploaderFile/uploadFile.pc';
4
4
  import { UploadFileH5 } from '../form/uploaderFile/uploadFile.h5';
5
5
  import { filterStrList, isCloudFileID, downloadFile, usePlatform, transFileCloudidToName, } from '../../utils/platform';
6
- import './index.css';
7
6
  import { useTempUrl } from '../../utils/hooks/use-cloud-id-temp-url';
7
+ import './style';
8
8
  const CLASS_PREFIX = 'weda-uploader-file-view';
9
9
  /**
10
10
  * 上传文件回显,传showType强制展示某端样式,否则根据平台自动判断
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { TcbImage } from '../form/uploader/uploader.pc';
4
4
  import classNames from '../../utils/classnames';
5
- import './index.css';
6
5
  import { emptyObject } from '../../utils/constant';
6
+ import './style';
7
7
  const CLASS_PREFIX = 'g-uploader-view';
8
8
  /**
9
9
  * 图片上传-展示组件
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import '../style';
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Bubble, ConfigProvider } from 'tea-component';
3
3
  import Button from '../../components/button';
4
+ import '../style';
4
5
  const UserInfo = (props) => (_jsx(ConfigProvider, { classPrefix: "wedatea2td", children: _jsx(Bubble, { content: "\u8BE5\u7EC4\u4EF6\u5FC5\u987B\u5728\u5C0F\u7A0B\u5E8F\u771F\u5B9E\u73AF\u5883\u4F7F\u7528\u624D\u80FD\u591F\u770B\u5230\u5B9E\u9645\u6548\u679C\u3002", children: _jsx(Button, { ...props }) }) }));
5
6
  export default UserInfo;