@jiovan-labs/ant-buddy-pro 2.0.2 → 2.0.3
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/cjs/form/AvatarUpload/index.d.ts +2 -2
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/layout/EvenDescriptions/index.d.ts +10 -0
- package/dist/cjs/layout/EvenDescriptions/index.js +63 -0
- package/dist/cjs/layout/EvenDescriptions/styles.d.ts +2 -0
- package/dist/cjs/layout/EvenDescriptions/styles.js +51 -0
- package/dist/esm/form/AvatarUpload/index.d.ts +2 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/layout/EvenDescriptions/index.d.ts +10 -0
- package/dist/esm/layout/EvenDescriptions/index.js +43 -0
- package/dist/esm/layout/EvenDescriptions/styles.d.ts +2 -0
- package/dist/esm/layout/EvenDescriptions/styles.js +23 -0
- package/package.json +8 -8
|
@@ -53,8 +53,8 @@ export declare const AvatarUpload: React.ForwardRefExoticComponent<Omit<ProFormF
|
|
|
53
53
|
imageSrc?: string | undefined;
|
|
54
54
|
fallbackSrc?: string | undefined;
|
|
55
55
|
shape?: CircleSquareShape | undefined;
|
|
56
|
-
avatarProps?: Omit<AvatarProps, "children" | "
|
|
57
|
-
imageProps?: Omit<ImageProps, "title" | "
|
|
56
|
+
avatarProps?: Omit<AvatarProps, "children" | "src" | "srcSet" | "shape"> | undefined;
|
|
57
|
+
imageProps?: Omit<ImageProps, "title" | "src" | "width" | "height" | "srcSet" | "preview" | "fallback"> | undefined;
|
|
58
58
|
uploadEnabled?: boolean | undefined;
|
|
59
59
|
uploadProps?: FileUploadProps | undefined;
|
|
60
60
|
cropEnabled?: boolean | undefined;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export { ApartTitle, type ApartTitleProps } from './layout/ApartTitle';
|
|
|
41
41
|
export { BorderBox, type BorderBoxProps } from './layout/BorderBox';
|
|
42
42
|
export { CardTabs, type CardTabsProps } from './layout/CardTabs';
|
|
43
43
|
export { CodePreview, type CodePreviewProps } from './layout/CodePreview';
|
|
44
|
+
export { EvenDescriptions, type EvenDescriptionsProps } from './layout/EvenDescriptions';
|
|
44
45
|
export { FlexBox, type FlexBoxProps } from './layout/FlexBox';
|
|
45
46
|
export { FoldSection, type FoldSectionProps } from './layout/FoldSection';
|
|
46
47
|
export { LoginPortal, type LoginPortalProps } from './layout/LoginPortal';
|
package/dist/cjs/index.js
CHANGED
|
@@ -46,6 +46,7 @@ __export(src_exports, {
|
|
|
46
46
|
DivideSelect: () => import_DivideSelect.DivideSelect,
|
|
47
47
|
DragModal: () => import_DragModal.DragModal,
|
|
48
48
|
ElementUtils: () => import_ElementUtils.ElementUtils,
|
|
49
|
+
EvenDescriptions: () => import_EvenDescriptions.EvenDescriptions,
|
|
49
50
|
ExactInput: () => import_ExactInput.ExactInput,
|
|
50
51
|
FallbackImage: () => import_FallbackImage.FallbackImage,
|
|
51
52
|
FieldUtils: () => import_FieldUtils.FieldUtils,
|
|
@@ -135,6 +136,7 @@ var import_ApartTitle = require("./layout/ApartTitle");
|
|
|
135
136
|
var import_BorderBox = require("./layout/BorderBox");
|
|
136
137
|
var import_CardTabs = require("./layout/CardTabs");
|
|
137
138
|
var import_CodePreview = require("./layout/CodePreview");
|
|
139
|
+
var import_EvenDescriptions = require("./layout/EvenDescriptions");
|
|
138
140
|
var import_FlexBox = require("./layout/FlexBox");
|
|
139
141
|
var import_FoldSection = require("./layout/FoldSection");
|
|
140
142
|
var import_LoginPortal = require("./layout/LoginPortal");
|
|
@@ -193,6 +195,7 @@ __reExport(src_exports, require("./type/design-token"), module.exports);
|
|
|
193
195
|
DivideSelect,
|
|
194
196
|
DragModal,
|
|
195
197
|
ElementUtils,
|
|
198
|
+
EvenDescriptions,
|
|
196
199
|
ExactInput,
|
|
197
200
|
FallbackImage,
|
|
198
201
|
FieldUtils,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type DescriptionsProps } from 'antd';
|
|
3
|
+
import { type ProDescriptionsProps } from '@ant-design/pro-components';
|
|
4
|
+
export type EvenDescriptionsProps = ProDescriptionsProps & {
|
|
5
|
+
clazzPrefix?: string;
|
|
6
|
+
fixed?: boolean;
|
|
7
|
+
proField?: boolean;
|
|
8
|
+
items?: DescriptionsProps['items'];
|
|
9
|
+
};
|
|
10
|
+
export declare const EvenDescriptions: React.FC<EvenDescriptionsProps>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/layout/EvenDescriptions/index.tsx
|
|
30
|
+
var EvenDescriptions_exports = {};
|
|
31
|
+
__export(EvenDescriptions_exports, {
|
|
32
|
+
EvenDescriptions: () => EvenDescriptions
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(EvenDescriptions_exports);
|
|
35
|
+
var import_antd = require("antd");
|
|
36
|
+
var import_pro_components = require("@ant-design/pro-components");
|
|
37
|
+
var import_util = require("@rc-component/util");
|
|
38
|
+
var import_classnames = __toESM(require("classnames"));
|
|
39
|
+
var import_styles = require("./styles");
|
|
40
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
41
|
+
var EvenDescriptions = (props) => {
|
|
42
|
+
const clazzPrefix = (props == null ? void 0 : props.clazzPrefix) ?? "abp-even-descriptions";
|
|
43
|
+
const {
|
|
44
|
+
fixed = true,
|
|
45
|
+
proField = true
|
|
46
|
+
} = props ?? {};
|
|
47
|
+
const fieldStyle = (0, import_styles.useFieldStyle)(clazzPrefix);
|
|
48
|
+
const entryClazz = (0, import_classnames.default)(clazzPrefix, fieldStyle.hashId, !fixed ? void 0 : `${clazzPrefix}-fixed`, props == null ? void 0 : props.className);
|
|
49
|
+
const selfProps = ["className", "clazzPrefix", "fixed", "proField"];
|
|
50
|
+
if (proField) {
|
|
51
|
+
const restProps2 = !props ? {} : (0, import_util.omit)(props, selfProps);
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pro_components.ProDescriptions, { ...restProps2, className: entryClazz });
|
|
53
|
+
}
|
|
54
|
+
const proOnlyProps = ["params", "onRequestError", "request", "columns", "actionRef", "loading", "onLoadingChange", "tooltip", "formProps", "editable", "dataSource", "onDataSourceChange", "emptyText"];
|
|
55
|
+
const restProps = !props ? {} : (0, import_util.omit)(props, [...selfProps, "styles", ...proOnlyProps]);
|
|
56
|
+
const styles = props == null ? void 0 : props.styles;
|
|
57
|
+
const mergedStyles = typeof styles === "function" ? styles : { ...styles, content: { minWidth: 0, ...styles == null ? void 0 : styles.content } };
|
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_antd.Descriptions, { ...restProps, styles: mergedStyles, className: entryClazz });
|
|
59
|
+
};
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
EvenDescriptions
|
|
63
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/layout/EvenDescriptions/styles.ts
|
|
20
|
+
var styles_exports = {};
|
|
21
|
+
__export(styles_exports, {
|
|
22
|
+
useFieldStyle: () => useFieldStyle
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(styles_exports);
|
|
25
|
+
var import_pro_components = require("@ant-design/pro-components");
|
|
26
|
+
var import_PackageConst = require("../../constant/PackageConst");
|
|
27
|
+
var buildFieldStyle = (token) => {
|
|
28
|
+
return {
|
|
29
|
+
// `&&&` 提升特异性,确保稳定覆盖 antd v6 在 bordered 模式下写入的 `> table { tableLayout: auto }`
|
|
30
|
+
[`${token.componentCls}-fixed`]: {
|
|
31
|
+
[`&&& ${token.antCls}-descriptions-view > table`]: {
|
|
32
|
+
tableLayout: "fixed",
|
|
33
|
+
width: "100%"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
function useFieldStyle(prefixCls) {
|
|
39
|
+
return (0, import_pro_components.useStyle)(`${import_PackageConst.PackageConst.PACKAGE_NAME}:EvenDescriptions`, (token) => {
|
|
40
|
+
const mesh = {
|
|
41
|
+
...token,
|
|
42
|
+
prefixCls,
|
|
43
|
+
componentCls: `.${prefixCls}`
|
|
44
|
+
};
|
|
45
|
+
return [buildFieldStyle(mesh)];
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
useFieldStyle
|
|
51
|
+
});
|
|
@@ -53,8 +53,8 @@ export declare const AvatarUpload: React.ForwardRefExoticComponent<Omit<ProFormF
|
|
|
53
53
|
imageSrc?: string | undefined;
|
|
54
54
|
fallbackSrc?: string | undefined;
|
|
55
55
|
shape?: CircleSquareShape | undefined;
|
|
56
|
-
avatarProps?: Omit<AvatarProps, "children" | "
|
|
57
|
-
imageProps?: Omit<ImageProps, "title" | "
|
|
56
|
+
avatarProps?: Omit<AvatarProps, "children" | "src" | "srcSet" | "shape"> | undefined;
|
|
57
|
+
imageProps?: Omit<ImageProps, "title" | "src" | "width" | "height" | "srcSet" | "preview" | "fallback"> | undefined;
|
|
58
58
|
uploadEnabled?: boolean | undefined;
|
|
59
59
|
uploadProps?: FileUploadProps | undefined;
|
|
60
60
|
cropEnabled?: boolean | undefined;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export { ApartTitle, type ApartTitleProps } from './layout/ApartTitle';
|
|
|
41
41
|
export { BorderBox, type BorderBoxProps } from './layout/BorderBox';
|
|
42
42
|
export { CardTabs, type CardTabsProps } from './layout/CardTabs';
|
|
43
43
|
export { CodePreview, type CodePreviewProps } from './layout/CodePreview';
|
|
44
|
+
export { EvenDescriptions, type EvenDescriptionsProps } from './layout/EvenDescriptions';
|
|
44
45
|
export { FlexBox, type FlexBoxProps } from './layout/FlexBox';
|
|
45
46
|
export { FoldSection, type FoldSectionProps } from './layout/FoldSection';
|
|
46
47
|
export { LoginPortal, type LoginPortalProps } from './layout/LoginPortal';
|
package/dist/esm/index.js
CHANGED
|
@@ -41,6 +41,7 @@ export { ApartTitle } from "./layout/ApartTitle";
|
|
|
41
41
|
export { BorderBox } from "./layout/BorderBox";
|
|
42
42
|
export { CardTabs } from "./layout/CardTabs";
|
|
43
43
|
export { CodePreview } from "./layout/CodePreview";
|
|
44
|
+
export { EvenDescriptions } from "./layout/EvenDescriptions";
|
|
44
45
|
export { FlexBox } from "./layout/FlexBox";
|
|
45
46
|
export { FoldSection } from "./layout/FoldSection";
|
|
46
47
|
export { LoginPortal } from "./layout/LoginPortal";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type DescriptionsProps } from 'antd';
|
|
3
|
+
import { type ProDescriptionsProps } from '@ant-design/pro-components';
|
|
4
|
+
export type EvenDescriptionsProps = ProDescriptionsProps & {
|
|
5
|
+
clazzPrefix?: string;
|
|
6
|
+
fixed?: boolean;
|
|
7
|
+
proField?: boolean;
|
|
8
|
+
items?: DescriptionsProps['items'];
|
|
9
|
+
};
|
|
10
|
+
export declare const EvenDescriptions: React.FC<EvenDescriptionsProps>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { Descriptions } from 'antd';
|
|
9
|
+
import { ProDescriptions } from '@ant-design/pro-components';
|
|
10
|
+
import { omit } from '@rc-component/util';
|
|
11
|
+
import classnames from 'classnames';
|
|
12
|
+
import { useFieldStyle } from "./styles";
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
export var EvenDescriptions = function EvenDescriptions(props) {
|
|
15
|
+
var _props$clazzPrefix;
|
|
16
|
+
var clazzPrefix = (_props$clazzPrefix = props === null || props === void 0 ? void 0 : props.clazzPrefix) !== null && _props$clazzPrefix !== void 0 ? _props$clazzPrefix : 'abp-even-descriptions';
|
|
17
|
+
var _ref = props !== null && props !== void 0 ? props : {},
|
|
18
|
+
_ref$fixed = _ref.fixed,
|
|
19
|
+
fixed = _ref$fixed === void 0 ? true : _ref$fixed,
|
|
20
|
+
_ref$proField = _ref.proField,
|
|
21
|
+
proField = _ref$proField === void 0 ? true : _ref$proField;
|
|
22
|
+
var fieldStyle = useFieldStyle(clazzPrefix);
|
|
23
|
+
var entryClazz = classnames(clazzPrefix, fieldStyle.hashId, !fixed ? undefined : "".concat(clazzPrefix, "-fixed"), props === null || props === void 0 ? void 0 : props.className);
|
|
24
|
+
var selfProps = ['className', 'clazzPrefix', 'fixed', 'proField'];
|
|
25
|
+
if (proField) {
|
|
26
|
+
var _restProps = !props ? {} : omit(props, selfProps);
|
|
27
|
+
return /*#__PURE__*/_jsx(ProDescriptions, _objectSpread(_objectSpread({}, _restProps), {}, {
|
|
28
|
+
className: entryClazz
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
var proOnlyProps = ['params', 'onRequestError', 'request', 'columns', 'actionRef', 'loading', 'onLoadingChange', 'tooltip', 'formProps', 'editable', 'dataSource', 'onDataSourceChange', 'emptyText'];
|
|
32
|
+
var restProps = !props ? {} : omit(props, [].concat(selfProps, ['styles'], proOnlyProps));
|
|
33
|
+
var styles = props === null || props === void 0 ? void 0 : props.styles;
|
|
34
|
+
var mergedStyles = typeof styles === 'function' ? styles : _objectSpread(_objectSpread({}, styles), {}, {
|
|
35
|
+
content: _objectSpread({
|
|
36
|
+
minWidth: 0
|
|
37
|
+
}, styles === null || styles === void 0 ? void 0 : styles.content)
|
|
38
|
+
});
|
|
39
|
+
return /*#__PURE__*/_jsx(Descriptions, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
40
|
+
styles: mergedStyles,
|
|
41
|
+
className: entryClazz
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import { useStyle } from '@ant-design/pro-components';
|
|
8
|
+
import { PackageConst } from "../../constant/PackageConst";
|
|
9
|
+
var buildFieldStyle = function buildFieldStyle(token) {
|
|
10
|
+
return _defineProperty({}, "".concat(token.componentCls, "-fixed"), _defineProperty({}, "&&& ".concat(token.antCls, "-descriptions-view > table"), {
|
|
11
|
+
tableLayout: 'fixed',
|
|
12
|
+
width: '100%'
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
export function useFieldStyle(prefixCls) {
|
|
16
|
+
return useStyle("".concat(PackageConst.PACKAGE_NAME, ":EvenDescriptions"), function (token) {
|
|
17
|
+
var mesh = _objectSpread(_objectSpread({}, token), {}, {
|
|
18
|
+
prefixCls: prefixCls,
|
|
19
|
+
componentCls: ".".concat(prefixCls)
|
|
20
|
+
});
|
|
21
|
+
return [buildFieldStyle(mesh)];
|
|
22
|
+
});
|
|
23
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiovan-labs/ant-buddy-pro",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"title": "Ant Buddy Pro",
|
|
5
5
|
"description": "Awesome components based on Ant Design & Ant ProComponents",
|
|
6
6
|
"homepage": "https://jiovan-labs.github.io/ant-buddy-pro",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@jiovan-labs/ts-lang-utils": "^2.0.1",
|
|
54
54
|
"@jiovan-labs/ts-multi-map": "^2.0.1",
|
|
55
55
|
"ahooks": "^3.11.0",
|
|
56
|
-
"antd": "^6.7.
|
|
56
|
+
"antd": "^6.7.2",
|
|
57
57
|
"antd-img-crop": "^4.30.0",
|
|
58
58
|
"antd-style": "^4.1.0",
|
|
59
59
|
"cron-validate": "^1.5.3",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"@jiovan-labs/babel-plugin-remove-comment": "^2.0.0",
|
|
74
74
|
"cross-env": "^10.1.0",
|
|
75
75
|
"del-cli": "^7.0.0",
|
|
76
|
-
"dumi": "^2.4.
|
|
77
|
-
"eslint": "^10.
|
|
78
|
-
"eslint-plugin-jest": "^29.17.
|
|
79
|
-
"father": "^4.6.
|
|
76
|
+
"dumi": "^2.4.57",
|
|
77
|
+
"eslint": "^10.15.0",
|
|
78
|
+
"eslint-plugin-jest": "^29.17.1",
|
|
79
|
+
"father": "^4.6.44",
|
|
80
80
|
"gh-pages": "^6.3.0",
|
|
81
81
|
"globals": "^17.14.0",
|
|
82
82
|
"less": "^4.9.1",
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
"react-dom": "^19.3.1",
|
|
86
86
|
"stylelint-config-standard-less": "^4.1.0",
|
|
87
87
|
"typescript": "^6.0.3",
|
|
88
|
-
"typescript-eslint": "^8.
|
|
88
|
+
"typescript-eslint": "^8.74.0"
|
|
89
89
|
},
|
|
90
90
|
"overrides": {
|
|
91
|
-
"antd": "^6.7.
|
|
91
|
+
"antd": "^6.7.2",
|
|
92
92
|
"less-loader": "^12.0.0",
|
|
93
93
|
"react": "^19.3.1",
|
|
94
94
|
"react-dom": "^19.3.1"
|