@zykj2024/much-library 1.1.4-beta.1 → 1.1.4-beta.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.
@@ -70,6 +70,7 @@ export default (function () {
70
70
  height: "100%",
71
71
  immediateQuery: false,
72
72
  loading: loading,
73
+ loadingText: "\u52A0\u8F7D\u4E2D",
73
74
  onQuery: onQuery,
74
75
  queryItems: queryItems,
75
76
  tableProps: {
@@ -19,6 +19,8 @@ export type McContainerPropsType = {
19
19
  immediateQuery?: boolean;
20
20
  /** 加载中(已覆盖table组件的loading) */
21
21
  loading?: boolean;
22
+ /** 加载loading下方的文案,默认为测试中 */
23
+ loadingText?: string;
22
24
  /**
23
25
  * 查询项(不受展开、收起按钮控制显示隐藏的查询项)
24
26
  结合以下组件使用为最佳实现方式:McSelect、McCascader、McDateRange、McInput、McInput.Search、McInput.TextArea
@@ -24,6 +24,8 @@ var McContainer = /*#__PURE__*/forwardRef(function (props, ref) {
24
24
  immediateQuery = _props$immediateQuery === void 0 ? true : _props$immediateQuery,
25
25
  _props$loading = props.loading,
26
26
  loading = _props$loading === void 0 ? false : _props$loading,
27
+ _props$loadingText = props.loadingText,
28
+ loadingText = _props$loadingText === void 0 ? '' : _props$loadingText,
27
29
  queryItems = props.queryItems,
28
30
  _props$showQuery = props.showQuery,
29
31
  showQuery = _props$showQuery === void 0 ? true : _props$showQuery,
@@ -347,6 +349,7 @@ var McContainer = /*#__PURE__*/forwardRef(function (props, ref) {
347
349
  maxHeight: 'none'
348
350
  },
349
351
  spinning: loading,
352
+ tip: loadingText,
350
353
  children: /*#__PURE__*/_jsxs("div", {
351
354
  className: "mc-container ".concat(className || ''),
352
355
  style: _objectSpread({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zykj2024/much-library",
3
- "version": "1.1.4-beta.1",
3
+ "version": "1.1.4-beta.2",
4
4
  "description": "react library",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "build": "BUNDLE_ANALYZE=1 father build",
12
+ "build": "father build",
13
13
  "build:watch": "father dev",
14
14
  "dev": "dumi dev",
15
15
  "dev-build-all": "pnpm -r --parallel run dev & dumi dev",
@@ -67,7 +67,6 @@
67
67
  "devDependencies": {
68
68
  "@commitlint/cli": "^17.1.2",
69
69
  "@commitlint/config-conventional": "^17.1.0",
70
- "@types/html-minifier-terser": "^7.0.2",
71
70
  "@types/lodash": "^4.17.10",
72
71
  "@types/react": "^18.0.0",
73
72
  "@types/react-dom": "^18.0.0",