@cuvp1225/antd 0.3.6 → 0.3.7
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 +4 -279
- package/dist/index.js +3 -282
- package/lib/cjs/components/index.d.ts +0 -6
- package/lib/cjs/components/index.js +7 -17
- package/lib/esm/components/index.d.ts +0 -6
- package/lib/esm/components/index.js +6 -6
- package/package.json +1 -1
- package/lib/cjs/components/grid.d.ts +0 -3
- package/lib/cjs/components/grid.js +0 -28
- package/lib/cjs/components/gridCombination.d.ts +0 -7
- package/lib/cjs/components/gridCombination.js +0 -26
- package/lib/cjs/components/multiColumns.d.ts +0 -4
- package/lib/cjs/components/multiColumns.js +0 -17
- package/lib/esm/components/grid.d.ts +0 -3
- package/lib/esm/components/grid.js +0 -24
- package/lib/esm/components/gridCombination.d.ts +0 -7
- package/lib/esm/components/gridCombination.js +0 -22
- package/lib/esm/components/multiColumns.d.ts +0 -4
- package/lib/esm/components/multiColumns.js +0 -13
@@ -1,13 +1,7 @@
|
|
1
1
|
export * from 'antd';
|
2
2
|
export { Box } from './box';
|
3
|
-
export { Button, ButtonGroup } from './button';
|
4
|
-
export { InputNumber } from './input-number';
|
5
|
-
export { Input, TextArea } from './input';
|
6
3
|
export { Modal } from './modal';
|
7
4
|
export * from './page';
|
8
5
|
export * from './placeholder';
|
9
6
|
export * from './section';
|
10
|
-
export { Select } from './select';
|
11
|
-
export { Space } from './space';
|
12
|
-
export { Typography, Title, Paragraph } from './typography';
|
13
7
|
export { Columns, Column } from './columns';
|
@@ -1,33 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Column = exports.Columns = exports.
|
3
|
+
exports.Column = exports.Columns = exports.Modal = 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';
|
7
7
|
var box_1 = require("./box");
|
8
8
|
Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return box_1.Box; } });
|
9
|
-
|
10
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return button_1.Button; } });
|
11
|
-
Object.defineProperty(exports, "ButtonGroup", { enumerable: true, get: function () { return button_1.ButtonGroup; } });
|
9
|
+
//export { Button, ButtonGroup } from './button';
|
12
10
|
//export * from './formily';
|
13
|
-
|
14
|
-
|
15
|
-
var input_1 = require("./input");
|
16
|
-
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return input_1.Input; } });
|
17
|
-
Object.defineProperty(exports, "TextArea", { enumerable: true, get: function () { return input_1.TextArea; } });
|
11
|
+
//export { InputNumber } from './input-number';
|
12
|
+
//export { Input, TextArea } from './input';
|
18
13
|
var modal_1 = require("./modal");
|
19
14
|
Object.defineProperty(exports, "Modal", { enumerable: true, get: function () { return modal_1.Modal; } });
|
20
15
|
tslib_1.__exportStar(require("./page"), exports);
|
21
16
|
tslib_1.__exportStar(require("./placeholder"), exports);
|
22
17
|
tslib_1.__exportStar(require("./section"), exports);
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
Object.defineProperty(exports, "Space", { enumerable: true, get: function () { return space_1.Space; } });
|
27
|
-
var typography_1 = require("./typography");
|
28
|
-
Object.defineProperty(exports, "Typography", { enumerable: true, get: function () { return typography_1.Typography; } });
|
29
|
-
Object.defineProperty(exports, "Title", { enumerable: true, get: function () { return typography_1.Title; } });
|
30
|
-
Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return typography_1.Paragraph; } });
|
18
|
+
//export { Select } from './select';
|
19
|
+
//export { Space } from './space';
|
20
|
+
//export { Typography, Title, Paragraph } from './typography';
|
31
21
|
var columns_1 = require("./columns");
|
32
22
|
Object.defineProperty(exports, "Columns", { enumerable: true, get: function () { return columns_1.Columns; } });
|
33
23
|
Object.defineProperty(exports, "Column", { enumerable: true, get: function () { return columns_1.Column; } });
|
@@ -1,13 +1,7 @@
|
|
1
1
|
export * from 'antd';
|
2
2
|
export { Box } from './box';
|
3
|
-
export { Button, ButtonGroup } from './button';
|
4
|
-
export { InputNumber } from './input-number';
|
5
|
-
export { Input, TextArea } from './input';
|
6
3
|
export { Modal } from './modal';
|
7
4
|
export * from './page';
|
8
5
|
export * from './placeholder';
|
9
6
|
export * from './section';
|
10
|
-
export { Select } from './select';
|
11
|
-
export { Space } from './space';
|
12
|
-
export { Typography, Title, Paragraph } from './typography';
|
13
7
|
export { Columns, Column } from './columns';
|
@@ -1,17 +1,17 @@
|
|
1
1
|
export * from 'antd';
|
2
2
|
// export { Each, Link, Text, When } from '@cuvp1225/foundation';
|
3
3
|
export { Box } from './box';
|
4
|
-
export { Button, ButtonGroup } from './button';
|
4
|
+
//export { Button, ButtonGroup } from './button';
|
5
5
|
//export * from './formily';
|
6
|
-
export { InputNumber } from './input-number';
|
7
|
-
export { Input, TextArea } from './input';
|
6
|
+
//export { InputNumber } from './input-number';
|
7
|
+
//export { Input, TextArea } from './input';
|
8
8
|
export { Modal } from './modal';
|
9
9
|
export * from './page';
|
10
10
|
export * from './placeholder';
|
11
11
|
export * from './section';
|
12
|
-
export { Select } from './select';
|
13
|
-
export { Space } from './space';
|
14
|
-
export { Typography, Title, Paragraph } from './typography';
|
12
|
+
//export { Select } from './select';
|
13
|
+
//export { Space } from './space';
|
14
|
+
//export { Typography, Title, Paragraph } from './typography';
|
15
15
|
export { Columns, Column } from './columns';
|
16
16
|
//export { MultiColumns } from './multiColumns'
|
17
17
|
//export { Row,Col } from './grid'
|
package/package.json
CHANGED
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const Col: React.ForwardRefExoticComponent<Omit<import("antd").ColProps & React.RefAttributes<HTMLDivElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
3
|
-
export declare const Row: React.ForwardRefExoticComponent<Omit<import("antd").RowProps & React.RefAttributes<HTMLDivElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Row = exports.Col = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const tango_boot_1 = require("@music163/tango-boot");
|
6
|
-
//import { Columns as BaseCol, Column as BaseRow } from '@music163/foundation';
|
7
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
8
|
-
const placeholder_1 = require("./placeholder");
|
9
|
-
const antd_1 = require("antd");
|
10
|
-
exports.Col = (0, tango_boot_1.defineComponent)(antd_1.Col, {
|
11
|
-
name: 'Col',
|
12
|
-
designerConfig: {
|
13
|
-
// defaultProps: {
|
14
|
-
// children: <Placeholder />,
|
15
|
-
// span: 24
|
16
|
-
// }
|
17
|
-
defaultProps: react_1.default.createElement(placeholder_1.Placeholder, null),
|
18
|
-
}
|
19
|
-
});
|
20
|
-
exports.Row = (0, tango_boot_1.defineComponent)(antd_1.Row, {
|
21
|
-
name: 'Row',
|
22
|
-
designerConfig: {
|
23
|
-
// defaultProps: {
|
24
|
-
// children: <Placeholder />
|
25
|
-
// }
|
26
|
-
defaultProps: react_1.default.createElement(placeholder_1.Placeholder, null),
|
27
|
-
}
|
28
|
-
});
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const ColCombination: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").ColProps> & import("@cuvp1225/foundation").ColProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").ColProps> & {
|
3
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
5
|
-
export declare const RowCombination: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").RowProps> & import("@cuvp1225/foundation").RowProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").RowProps> & {
|
6
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
7
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RowCombination = exports.ColCombination = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const tango_boot_1 = require("@music163/tango-boot");
|
6
|
-
//import { Grid as AntGrid,Col as AntCol,Row as AntRow } from 'antd';
|
7
|
-
const foundation_1 = require("@cuvp1225/foundation");
|
8
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
9
|
-
const placeholder_1 = require("./placeholder");
|
10
|
-
exports.ColCombination = (0, tango_boot_1.defineComponent)(foundation_1.AntCol, {
|
11
|
-
name: 'ColCombination',
|
12
|
-
designerConfig: {
|
13
|
-
defaultProps: {
|
14
|
-
children: react_1.default.createElement(placeholder_1.Placeholder, null),
|
15
|
-
span: 24
|
16
|
-
}
|
17
|
-
}
|
18
|
-
});
|
19
|
-
exports.RowCombination = (0, tango_boot_1.defineComponent)(foundation_1.AntRow, {
|
20
|
-
name: 'RowCombination',
|
21
|
-
designerConfig: {
|
22
|
-
defaultProps: {
|
23
|
-
children: react_1.default.createElement(placeholder_1.Placeholder, null)
|
24
|
-
}
|
25
|
-
}
|
26
|
-
});
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const MultiColumns: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").multiColumnProps> & import("@cuvp1225/foundation").multiColumnProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").multiColumnProps> & {
|
3
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MultiColumns = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
6
|
-
const tango_boot_1 = require("@music163/tango-boot");
|
7
|
-
const foundation_1 = require("@cuvp1225/foundation");
|
8
|
-
const placeholder_1 = require("./placeholder");
|
9
|
-
exports.MultiColumns = (0, tango_boot_1.defineComponent)(foundation_1.multicolumns, {
|
10
|
-
name: 'MultiColumns',
|
11
|
-
designerConfig: {
|
12
|
-
defaultProps: {
|
13
|
-
children: react_1.default.createElement(placeholder_1.Placeholder, null),
|
14
|
-
columns: 1
|
15
|
-
},
|
16
|
-
},
|
17
|
-
});
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const Col: React.ForwardRefExoticComponent<Omit<import("antd").ColProps & React.RefAttributes<HTMLDivElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
3
|
-
export declare const Row: React.ForwardRefExoticComponent<Omit<import("antd").RowProps & React.RefAttributes<HTMLDivElement> & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { defineComponent } from '@music163/tango-boot';
|
2
|
-
//import { Columns as BaseCol, Column as BaseRow } from '@music163/foundation';
|
3
|
-
import React from 'react';
|
4
|
-
import { Placeholder } from './placeholder';
|
5
|
-
import { Col as AntCol, Row as AntRow } from 'antd';
|
6
|
-
export const Col = defineComponent(AntCol, {
|
7
|
-
name: 'Col',
|
8
|
-
designerConfig: {
|
9
|
-
// defaultProps: {
|
10
|
-
// children: <Placeholder />,
|
11
|
-
// span: 24
|
12
|
-
// }
|
13
|
-
defaultProps: React.createElement(Placeholder, null),
|
14
|
-
}
|
15
|
-
});
|
16
|
-
export const Row = defineComponent(AntRow, {
|
17
|
-
name: 'Row',
|
18
|
-
designerConfig: {
|
19
|
-
// defaultProps: {
|
20
|
-
// children: <Placeholder />
|
21
|
-
// }
|
22
|
-
defaultProps: React.createElement(Placeholder, null),
|
23
|
-
}
|
24
|
-
});
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const ColCombination: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").ColProps> & import("@cuvp1225/foundation").ColProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").ColProps> & {
|
3
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
5
|
-
export declare const RowCombination: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").RowProps> & import("@cuvp1225/foundation").RowProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").RowProps> & {
|
6
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
7
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { defineComponent } from '@music163/tango-boot';
|
2
|
-
//import { Grid as AntGrid,Col as AntCol,Row as AntRow } from 'antd';
|
3
|
-
import { AntCol, AntRow } from '@cuvp1225/foundation';
|
4
|
-
import React from 'react';
|
5
|
-
import { Placeholder } from './placeholder';
|
6
|
-
export const ColCombination = defineComponent(AntCol, {
|
7
|
-
name: 'ColCombination',
|
8
|
-
designerConfig: {
|
9
|
-
defaultProps: {
|
10
|
-
children: React.createElement(Placeholder, null),
|
11
|
-
span: 24
|
12
|
-
}
|
13
|
-
}
|
14
|
-
});
|
15
|
-
export const RowCombination = defineComponent(AntRow, {
|
16
|
-
name: 'RowCombination',
|
17
|
-
designerConfig: {
|
18
|
-
defaultProps: {
|
19
|
-
children: React.createElement(Placeholder, null)
|
20
|
-
}
|
21
|
-
}
|
22
|
-
});
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const MultiColumns: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@cuvp1225/foundation").multiColumnProps> & import("@cuvp1225/foundation").multiColumnProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("@cuvp1225/foundation").multiColumnProps> & {
|
3
|
-
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@music163/tango-boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { defineComponent } from '@music163/tango-boot';
|
3
|
-
import { multicolumns as BaseColumns, } from '@cuvp1225/foundation';
|
4
|
-
import { Placeholder } from './placeholder';
|
5
|
-
export const MultiColumns = defineComponent(BaseColumns, {
|
6
|
-
name: 'MultiColumns',
|
7
|
-
designerConfig: {
|
8
|
-
defaultProps: {
|
9
|
-
children: React.createElement(Placeholder, null),
|
10
|
-
columns: 1
|
11
|
-
},
|
12
|
-
},
|
13
|
-
});
|