@guo514360255/antd-lib 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CustomDescriptions/descriptions.d.ts +2 -2
- package/dist/CustomDescriptions/index.js +1 -2
- package/dist/CustomDetailModal/detailModal.d.ts +1 -1
- package/dist/CustomDetailModal/index.d.ts +1 -1
- package/dist/CustomForm/form.d.ts +1 -1
- package/dist/CustomFormModal/formModal.d.ts +1 -1
- package/dist/CustomScroll/index.d.ts +1 -1
- package/dist/CustomScroll/item.d.ts +1 -1
- package/dist/CustomTable/index.d.ts +1 -1
- package/dist/CustomTable/table.d.ts +1 -1
- package/dist/CustomTag/index.d.ts +1 -1
- package/dist/CustomTag/tag.d.ts +1 -1
- package/dist/compontent.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { CustomColumnProps } from '@guo514360255/antd-lib/src';
|
|
7
7
|
|
|
8
|
-
interface CustomDescriptionsProps {
|
|
8
|
+
export interface CustomDescriptionsProps {
|
|
9
9
|
/**
|
|
10
10
|
* 处理详情数据
|
|
11
11
|
*/
|
|
12
|
-
handleDetailData
|
|
12
|
+
handleDetailData?: (data: any) => any;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* 请求接口
|
|
@@ -5,12 +5,12 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
5
5
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
6
6
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
7
7
|
var _excluded = ["request", "handleDetailData", "columns", "values"];
|
|
8
|
-
import { findTreeNodeByKey, isEmptyValue } from "../utils/util";
|
|
9
8
|
import { Descriptions, Image, Spin } from 'antd';
|
|
10
9
|
import isNumber from 'lodash/isNumber';
|
|
11
10
|
import isObject from 'lodash/isObject';
|
|
12
11
|
import isString from 'lodash/isString';
|
|
13
12
|
import React, { useEffect, useState } from 'react';
|
|
13
|
+
import { findTreeNodeByKey, isEmptyValue } from "../utils/util";
|
|
14
14
|
/*
|
|
15
15
|
* @Author: 郭郭
|
|
16
16
|
* @Date: 2026/4/8
|
|
@@ -52,7 +52,6 @@ var CustomDescriptions = function CustomDescriptions(_ref) {
|
|
|
52
52
|
_values.forEach(function (item) {
|
|
53
53
|
var _ref3 = findTreeNodeByKey(options, item) || {},
|
|
54
54
|
label = _ref3.label;
|
|
55
|
-
console.log(label, '...label...');
|
|
56
55
|
result.push(label || value);
|
|
57
56
|
});
|
|
58
57
|
return result.join(',');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomDetailModalProps } from
|
|
1
|
+
import type { CustomDetailModalProps } from './detailModal';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const CustomModal: React.ForwardRefExoticComponent<Omit<CustomDetailModalProps, "ref"> & React.RefAttributes<any>>;
|
package/dist/CustomTag/tag.d.ts
CHANGED
package/dist/compontent.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type { Rules } from '@rc-component/async-validator';
|
|
|
9
9
|
import type { ButtonProps } from 'antd';
|
|
10
10
|
import type { ImgCropProps } from 'antd-img-crop';
|
|
11
11
|
|
|
12
|
-
interface CustomColumnProps extends ProColumns {
|
|
12
|
+
export interface CustomColumnProps extends ProColumns {
|
|
13
13
|
/**
|
|
14
14
|
* 字段类型
|
|
15
15
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type { CustomFormProps } from './CustomForm/form';
|
|
|
12
12
|
export { default as CustomDescriptions } from './CustomDescriptions';
|
|
13
13
|
export type { CustomDescriptionsProps } from './CustomDescriptions/descriptions';
|
|
14
14
|
export { default as CustomTag } from './CustomTag';
|
|
15
|
+
export type { CustomTagProps } from './CustomTag/tag';
|
|
15
16
|
export { default as CustomUpload } from './CustomUpload';
|
|
16
17
|
export { default as DynamicIcon } from './DynamicIcon';
|
|
17
18
|
export { default as FormItem } from './FormItem';
|