@cuvp1225/antd 0.3.22 → 0.3.24
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/designer.js +1943 -181
- package/dist/index.js +1939 -177
- package/lib/cjs/components/date-picker.d.ts +8 -0
- package/lib/cjs/components/date-picker.js +24 -0
- package/lib/cjs/components/index.d.ts +2 -0
- package/lib/cjs/components/index.js +5 -1
- package/lib/cjs/components/popconfirm.js +7 -5
- package/lib/cjs/components/radio.d.ts +6 -0
- package/lib/cjs/components/radio.js +27 -0
- package/lib/cjs/components/typography.d.ts +1 -0
- package/lib/cjs/components/typography.js +4 -1
- package/lib/cjs/prototypes/radio.js +19 -3
- package/lib/cjs/prototypes/table.js +3 -3
- package/lib/cjs/prototypes/tabs.js +1 -1
- package/lib/cjs/prototypes/typography.js +1 -1
- package/lib/esm/components/date-picker.d.ts +8 -0
- package/lib/esm/components/date-picker.js +21 -0
- package/lib/esm/components/index.d.ts +2 -0
- package/lib/esm/components/index.js +2 -0
- package/lib/esm/components/popconfirm.js +7 -5
- package/lib/esm/components/radio.d.ts +6 -0
- package/lib/esm/components/radio.js +24 -0
- package/lib/esm/components/typography.d.ts +1 -0
- package/lib/esm/components/typography.js +3 -0
- package/lib/esm/prototypes/radio.js +19 -3
- package/lib/esm/prototypes/table.js +3 -3
- package/lib/esm/prototypes/tabs.js +1 -1
- package/lib/esm/prototypes/typography.js +1 -1
- package/package.json +3 -3
@@ -0,0 +1,8 @@
|
|
1
|
+
import moment from 'moment';
|
2
|
+
import 'moment/locale/zh-cn';
|
3
|
+
import React from 'react';
|
4
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<((import("antd/lib/date-picker/generatePicker").PickerProps<moment.Moment> & {
|
5
|
+
status?: "" | "warning" | "error" | undefined;
|
6
|
+
dropdownClassName?: string | undefined;
|
7
|
+
popupClassName?: string | undefined;
|
8
|
+
}) & import("@music163/tango-boot").TangoComponentProps) & React.RefAttributes<unknown>>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DatePicker = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const tango_boot_1 = require("@music163/tango-boot");
|
6
|
+
const antd_1 = require("antd");
|
7
|
+
const zh_CN_1 = tslib_1.__importDefault(require("antd/es/locale/zh_CN"));
|
8
|
+
const moment_1 = tslib_1.__importDefault(require("moment"));
|
9
|
+
require("moment/locale/zh-cn");
|
10
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
11
|
+
moment_1.default.locale('zh-cn');
|
12
|
+
function DataPickerDesigner(_a) {
|
13
|
+
var { style } = _a, rest = tslib_1.__rest(_a, ["style"]);
|
14
|
+
return (react_1.default.createElement(antd_1.ConfigProvider, { locale: zh_CN_1.default },
|
15
|
+
react_1.default.createElement(antd_1.DatePicker, Object.assign({}, rest, { style: style }))));
|
16
|
+
}
|
17
|
+
exports.DatePicker = (0, tango_boot_1.defineComponent)(antd_1.DatePicker, {
|
18
|
+
name: 'DatePicker',
|
19
|
+
designerConfig: {
|
20
|
+
render({ designerProps, originalProps, }) {
|
21
|
+
return react_1.default.createElement(DataPickerDesigner, Object.assign({}, designerProps, originalProps));
|
22
|
+
},
|
23
|
+
},
|
24
|
+
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Drawer = exports.Popconfirm = exports.Row1 = exports.Column = exports.Columns = exports.Paragraph = exports.Title = exports.Typography = exports.Space = exports.Select = exports.Modalnew = exports.TextArea = exports.Input = exports.InputNumber = exports.ButtonGroup = exports.Button = exports.Box = void 0;
|
3
|
+
exports.Radio = exports.DatePicker = exports.Drawer = exports.Popconfirm = exports.Row1 = exports.Column = exports.Columns = exports.Paragraph = exports.Title = exports.Typography = exports.Space = exports.Select = exports.Modalnew = exports.TextArea = exports.Input = exports.InputNumber = exports.ButtonGroup = exports.Button = exports.Box = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
tslib_1.__exportStar(require("antd"), exports);
|
6
6
|
// export { Each, Link, Text, When } from '@cuvp1225/foundation';
|
@@ -37,6 +37,10 @@ var popconfirm_1 = require("./popconfirm");
|
|
37
37
|
Object.defineProperty(exports, "Popconfirm", { enumerable: true, get: function () { return popconfirm_1.Popconfirm; } });
|
38
38
|
var drawer_1 = require("./drawer");
|
39
39
|
Object.defineProperty(exports, "Drawer", { enumerable: true, get: function () { return drawer_1.Drawer; } });
|
40
|
+
var date_picker_1 = require("./date-picker");
|
41
|
+
Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return date_picker_1.DatePicker; } });
|
42
|
+
var radio_1 = require("./radio");
|
43
|
+
Object.defineProperty(exports, "Radio", { enumerable: true, get: function () { return radio_1.Radio; } });
|
40
44
|
//export { MultiColumns } from './multiColumns'
|
41
45
|
//export { Row,Col } from './grid'
|
42
46
|
//export { RowCombination,ColCombination } from './gridCombination'
|
@@ -4,17 +4,19 @@ exports.Popconfirm = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
6
|
const tango_boot_1 = require("@music163/tango-boot");
|
7
|
-
const react_1 = tslib_1.
|
7
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
8
8
|
const tango_helpers_1 = require("@music163/tango-helpers");
|
9
9
|
function PopconfirmDesigner(_a) {
|
10
|
-
var { children } = _a, _b = tango_helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = tango_helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
|
-
|
12
|
-
|
10
|
+
var { children, title } = _a, _b = tango_helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = tango_helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
|
+
(0, react_1.useEffect)(() => {
|
12
|
+
console.log('PopconfirmDesigner', dataDnd, dataId, rest);
|
13
|
+
}, []);
|
14
|
+
return (react_1.default.createElement("div", { id: "popconfirSwrapper", "data-dnd": dataDnd, "data-id": dataId },
|
15
|
+
react_1.default.createElement(antd_1.Popconfirm, Object.assign({ title: title }, rest, { style: style }), children)));
|
13
16
|
}
|
14
17
|
exports.Popconfirm = (0, tango_boot_1.defineComponent)(antd_1.Popconfirm, {
|
15
18
|
name: 'Popconfirm',
|
16
19
|
designerConfig: {
|
17
|
-
hasWrapper: true,
|
18
20
|
render({ designerProps, originalProps }) {
|
19
21
|
return react_1.default.createElement(PopconfirmDesigner, Object.assign({ title: "Are you sure?" }, designerProps, originalProps));
|
20
22
|
},
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { RadioProps } from 'antd';
|
2
|
+
import React from 'react';
|
3
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
4
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
6
|
+
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RadioGroup = exports.Radio = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const tango_boot_1 = require("@music163/tango-boot");
|
6
|
+
const antd_1 = require("antd");
|
7
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
8
|
+
function RadioDesigner(_a) {
|
9
|
+
var { style } = _a, rest = tslib_1.__rest(_a, ["style"]);
|
10
|
+
const { optionType } = rest;
|
11
|
+
if (optionType === 'button') {
|
12
|
+
return react_1.default.createElement(antd_1.Radio.Button, Object.assign({}, rest, { style: style }), rest.label);
|
13
|
+
}
|
14
|
+
return (react_1.default.createElement(antd_1.Radio, Object.assign({}, rest, { style: style }), rest.label));
|
15
|
+
}
|
16
|
+
exports.Radio = (0, tango_boot_1.defineComponent)(antd_1.Radio, {
|
17
|
+
name: 'Radio',
|
18
|
+
designerConfig: {
|
19
|
+
render({ designerProps, originalProps, }) {
|
20
|
+
console.log("designerProps:", designerProps, "originalProps:", originalProps);
|
21
|
+
return react_1.default.createElement(RadioDesigner, Object.assign({ label: '单项1', optionType: '' }, designerProps, originalProps));
|
22
|
+
},
|
23
|
+
},
|
24
|
+
});
|
25
|
+
exports.RadioGroup = (0, tango_boot_1.defineComponent)(antd_1.Radio.Group, {
|
26
|
+
name: 'RadioGroup',
|
27
|
+
});
|
@@ -9,4 +9,5 @@ type TypographyComponent = React.ForwardRefExoticComponent<any & React.RefAttrib
|
|
9
9
|
Text: typeof AntTypography.Text;
|
10
10
|
};
|
11
11
|
export declare const Typography: TypographyComponent;
|
12
|
+
export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
12
13
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Typography = exports.Paragraph = exports.Title = void 0;
|
3
|
+
exports.Text = exports.Typography = exports.Paragraph = exports.Title = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const tango_boot_1 = require("@music163/tango-boot");
|
6
6
|
const antd_1 = require("antd");
|
@@ -20,6 +20,9 @@ exports.Typography = (0, tango_boot_1.defineComponent)(antd_1.Typography, {
|
|
20
20
|
},
|
21
21
|
},
|
22
22
|
});
|
23
|
+
exports.Text = (0, tango_boot_1.defineComponent)(exports.Typography.Text, {
|
24
|
+
name: 'Text',
|
25
|
+
});
|
23
26
|
exports.Typography.Title = exports.Title;
|
24
27
|
exports.Typography.Paragraph = exports.Paragraph;
|
25
28
|
exports.Typography.Link = antd_1.Typography.Link;
|
@@ -23,11 +23,27 @@ exports.Radio = {
|
|
23
23
|
title: '选中',
|
24
24
|
setter: 'boolSetter',
|
25
25
|
},
|
26
|
-
{
|
27
|
-
|
28
|
-
|
26
|
+
// {
|
27
|
+
// name: 'radioGroup',
|
28
|
+
// title: '单选框组',
|
29
|
+
// setter: 'boolSetter',
|
30
|
+
// },
|
31
|
+
{
|
32
|
+
name: 'label',
|
33
|
+
title: '标签',
|
34
|
+
initValue: '单项1',
|
29
35
|
setter: 'textSetter',
|
30
36
|
},
|
37
|
+
{
|
38
|
+
name: 'optionType',
|
39
|
+
title: '选项类型',
|
40
|
+
setter: 'choiceSetter',
|
41
|
+
initValue: 'default',
|
42
|
+
options: [
|
43
|
+
{ label: '默认', value: 'default' },
|
44
|
+
{ label: '按钮类型', value: 'button' },
|
45
|
+
],
|
46
|
+
},
|
31
47
|
{
|
32
48
|
name: 'defaultChecked',
|
33
49
|
title: '初始选中',
|
@@ -7,10 +7,10 @@ const renderChildrenOptions = [
|
|
7
7
|
{ label: '取消自定义', value: '' },
|
8
8
|
{
|
9
9
|
label: '自定义区域',
|
10
|
-
value: '
|
10
|
+
value: 'div',
|
11
11
|
//render: '{(record, index, indent, expanded) => <Box></Box>}',
|
12
|
-
render: '(record, index, indent, expanded) => <
|
13
|
-
relatedImports: ['
|
12
|
+
render: '(record, index, indent, expanded) => <div><Placeholder text="放置替换" /></div>',
|
13
|
+
relatedImports: ['div'],
|
14
14
|
},
|
15
15
|
];
|
16
16
|
exports.Table = {
|
@@ -102,7 +102,7 @@ exports.Tabs = {
|
|
102
102
|
tip: '仅在选项卡类型为可编辑卡片时有效',
|
103
103
|
setter: 'expressionSetter',
|
104
104
|
group: 'event',
|
105
|
-
autoCompleteOptions: ["(action === 'add' ? event : targetKey, action): void"],
|
105
|
+
// autoCompleteOptions: ["(action === 'add' ? event : targetKey, action): void"],
|
106
106
|
getVisible: (form) => form.getValue('type') === 'editable-card',
|
107
107
|
},
|
108
108
|
{
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import moment from 'moment';
|
2
|
+
import 'moment/locale/zh-cn';
|
3
|
+
import React from 'react';
|
4
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<((import("antd/lib/date-picker/generatePicker").PickerProps<moment.Moment> & {
|
5
|
+
status?: "" | "warning" | "error" | undefined;
|
6
|
+
dropdownClassName?: string | undefined;
|
7
|
+
popupClassName?: string | undefined;
|
8
|
+
}) & import("@music163/tango-boot").TangoComponentProps) & React.RefAttributes<unknown>>;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { __rest } from "tslib";
|
2
|
+
import { defineComponent } from '@music163/tango-boot';
|
3
|
+
import { DatePicker as AntDataPicker, ConfigProvider } from 'antd';
|
4
|
+
import zhCN from 'antd/es/locale/zh_CN';
|
5
|
+
import moment from 'moment';
|
6
|
+
import 'moment/locale/zh-cn';
|
7
|
+
import React from 'react';
|
8
|
+
moment.locale('zh-cn');
|
9
|
+
function DataPickerDesigner(_a) {
|
10
|
+
var { style } = _a, rest = __rest(_a, ["style"]);
|
11
|
+
return (React.createElement(ConfigProvider, { locale: zhCN },
|
12
|
+
React.createElement(AntDataPicker, Object.assign({}, rest, { style: style }))));
|
13
|
+
}
|
14
|
+
export const DatePicker = defineComponent(AntDataPicker, {
|
15
|
+
name: 'DatePicker',
|
16
|
+
designerConfig: {
|
17
|
+
render({ designerProps, originalProps, }) {
|
18
|
+
return React.createElement(DataPickerDesigner, Object.assign({}, designerProps, originalProps));
|
19
|
+
},
|
20
|
+
},
|
21
|
+
});
|
@@ -16,6 +16,8 @@ export { Columns, Column } from './columns';
|
|
16
16
|
export { Row1 } from './row';
|
17
17
|
export { Popconfirm } from './popconfirm';
|
18
18
|
export { Drawer } from "./drawer";
|
19
|
+
export { DatePicker } from "./date-picker";
|
20
|
+
export { Radio } from "./radio";
|
19
21
|
//export { MultiColumns } from './multiColumns'
|
20
22
|
//export { Row,Col } from './grid'
|
21
23
|
//export { RowCombination,ColCombination } from './gridCombination'
|
@@ -1,17 +1,19 @@
|
|
1
1
|
import { __rest } from "tslib";
|
2
2
|
import { Popconfirm as AntPopconfirm } from 'antd';
|
3
3
|
import { defineComponent } from '@music163/tango-boot';
|
4
|
-
import React from 'react';
|
4
|
+
import React, { useEffect } from 'react';
|
5
5
|
import { SLOT } from '@music163/tango-helpers';
|
6
6
|
function PopconfirmDesigner(_a) {
|
7
|
-
var { children } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
8
|
-
|
9
|
-
|
7
|
+
var { children, title } = _a, _b = SLOT.dnd, dataDnd = _a[_b], _c = SLOT.id, dataId = _a[_c], { style } = _a, rest = __rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
8
|
+
useEffect(() => {
|
9
|
+
console.log('PopconfirmDesigner', dataDnd, dataId, rest);
|
10
|
+
}, []);
|
11
|
+
return (React.createElement("div", { id: "popconfirSwrapper", "data-dnd": dataDnd, "data-id": dataId },
|
12
|
+
React.createElement(AntPopconfirm, Object.assign({ title: title }, rest, { style: style }), children)));
|
10
13
|
}
|
11
14
|
export const Popconfirm = defineComponent(AntPopconfirm, {
|
12
15
|
name: 'Popconfirm',
|
13
16
|
designerConfig: {
|
14
|
-
hasWrapper: true,
|
15
17
|
render({ designerProps, originalProps }) {
|
16
18
|
return React.createElement(PopconfirmDesigner, Object.assign({ title: "Are you sure?" }, designerProps, originalProps));
|
17
19
|
},
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { RadioProps } from 'antd';
|
2
|
+
import React from 'react';
|
3
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioProps & React.RefAttributes<HTMLElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
4
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
6
|
+
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { __rest } from "tslib";
|
2
|
+
import { defineComponent } from '@music163/tango-boot';
|
3
|
+
import { Radio as AntRadio } from 'antd';
|
4
|
+
import React from 'react';
|
5
|
+
function RadioDesigner(_a) {
|
6
|
+
var { style } = _a, rest = __rest(_a, ["style"]);
|
7
|
+
const { optionType } = rest;
|
8
|
+
if (optionType === 'button') {
|
9
|
+
return React.createElement(AntRadio.Button, Object.assign({}, rest, { style: style }), rest.label);
|
10
|
+
}
|
11
|
+
return (React.createElement(AntRadio, Object.assign({}, rest, { style: style }), rest.label));
|
12
|
+
}
|
13
|
+
export const Radio = defineComponent(AntRadio, {
|
14
|
+
name: 'Radio',
|
15
|
+
designerConfig: {
|
16
|
+
render({ designerProps, originalProps, }) {
|
17
|
+
console.log("designerProps:", designerProps, "originalProps:", originalProps);
|
18
|
+
return React.createElement(RadioDesigner, Object.assign({ label: '单项1', optionType: '' }, designerProps, originalProps));
|
19
|
+
},
|
20
|
+
},
|
21
|
+
});
|
22
|
+
export const RadioGroup = defineComponent(AntRadio.Group, {
|
23
|
+
name: 'RadioGroup',
|
24
|
+
});
|
@@ -9,4 +9,5 @@ type TypographyComponent = React.ForwardRefExoticComponent<any & React.RefAttrib
|
|
9
9
|
Text: typeof AntTypography.Text;
|
10
10
|
};
|
11
11
|
export declare const Typography: TypographyComponent;
|
12
|
+
export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
12
13
|
export {};
|
@@ -16,6 +16,9 @@ export const Typography = defineComponent(AntTypography, {
|
|
16
16
|
},
|
17
17
|
},
|
18
18
|
});
|
19
|
+
export const Text = defineComponent(Typography.Text, {
|
20
|
+
name: 'Text',
|
21
|
+
});
|
19
22
|
Typography.Title = Title;
|
20
23
|
Typography.Paragraph = Paragraph;
|
21
24
|
Typography.Link = AntTypography.Link;
|
@@ -20,11 +20,27 @@ export const Radio = {
|
|
20
20
|
title: '选中',
|
21
21
|
setter: 'boolSetter',
|
22
22
|
},
|
23
|
-
{
|
24
|
-
|
25
|
-
|
23
|
+
// {
|
24
|
+
// name: 'radioGroup',
|
25
|
+
// title: '单选框组',
|
26
|
+
// setter: 'boolSetter',
|
27
|
+
// },
|
28
|
+
{
|
29
|
+
name: 'label',
|
30
|
+
title: '标签',
|
31
|
+
initValue: '单项1',
|
26
32
|
setter: 'textSetter',
|
27
33
|
},
|
34
|
+
{
|
35
|
+
name: 'optionType',
|
36
|
+
title: '选项类型',
|
37
|
+
setter: 'choiceSetter',
|
38
|
+
initValue: 'default',
|
39
|
+
options: [
|
40
|
+
{ label: '默认', value: 'default' },
|
41
|
+
{ label: '按钮类型', value: 'button' },
|
42
|
+
],
|
43
|
+
},
|
28
44
|
{
|
29
45
|
name: 'defaultChecked',
|
30
46
|
title: '初始选中',
|
@@ -4,10 +4,10 @@ const renderChildrenOptions = [
|
|
4
4
|
{ label: '取消自定义', value: '' },
|
5
5
|
{
|
6
6
|
label: '自定义区域',
|
7
|
-
value: '
|
7
|
+
value: 'div',
|
8
8
|
//render: '{(record, index, indent, expanded) => <Box></Box>}',
|
9
|
-
render: '(record, index, indent, expanded) => <
|
10
|
-
relatedImports: ['
|
9
|
+
render: '(record, index, indent, expanded) => <div><Placeholder text="放置替换" /></div>',
|
10
|
+
relatedImports: ['div'],
|
11
11
|
},
|
12
12
|
];
|
13
13
|
export const Table = {
|
@@ -99,7 +99,7 @@ export const Tabs = {
|
|
99
99
|
tip: '仅在选项卡类型为可编辑卡片时有效',
|
100
100
|
setter: 'expressionSetter',
|
101
101
|
group: 'event',
|
102
|
-
autoCompleteOptions: ["(action === 'add' ? event : targetKey, action): void"],
|
102
|
+
// autoCompleteOptions: ["(action === 'add' ? event : targetKey, action): void"],
|
103
103
|
getVisible: (form) => form.getValue('type') === 'editable-card',
|
104
104
|
},
|
105
105
|
{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cuvp1225/antd",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.24",
|
4
4
|
"description": "antd components for tango app",
|
5
5
|
"author": "wwsun <ww.sww@outlook.com>",
|
6
6
|
"homepage": "https://github.com/netease/tango-components#readme",
|
@@ -49,10 +49,10 @@
|
|
49
49
|
"@cuvp1225/formily": "^0.2.6",
|
50
50
|
"@cuvp1225/foundation": "^0.3.2",
|
51
51
|
"@music163/tango-boot": "^0.3.3",
|
52
|
-
"@music163/tango-helpers": "
|
52
|
+
"@music163/tango-helpers": "1.2.8",
|
53
53
|
"antd": "4",
|
54
54
|
"classnames": "^2.3.2",
|
55
55
|
"coral-system": "^1.0.6"
|
56
56
|
},
|
57
|
-
"gitHead": "
|
57
|
+
"gitHead": "cd1802cc91dad8394a3e12afe5c56f99cbda0c5c"
|
58
58
|
}
|