tntd 2.7.1 → 2.7.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.
Files changed (59) hide show
  1. package/es/affix/index.js +2 -1
  2. package/es/alert/index.js +2 -1
  3. package/es/anchor/index.js +2 -1
  4. package/es/array-input/icon.js +6 -24
  5. package/es/array-input/index.js +119 -203
  6. package/es/auth-context/index.js +2 -1
  7. package/es/auto-complete/index.js +2 -1
  8. package/es/avatar/index.js +2 -1
  9. package/es/back-top/index.js +2 -1
  10. package/es/badge/index.js +2 -1
  11. package/es/breadcrumb/index.js +2 -1
  12. package/es/button/index.js +2 -1
  13. package/es/calendar/index.js +2 -1
  14. package/es/card/index.js +2 -1
  15. package/es/carousel/index.js +2 -1
  16. package/es/cascader/index.js +2 -1
  17. package/es/checkbox/checkbox-group.js +2 -1
  18. package/es/checkbox/index.js +2 -1
  19. package/es/col/index.js +2 -1
  20. package/es/collapse/index.js +2 -1
  21. package/es/color-picker/ColorPicker.js +80 -126
  22. package/es/color-picker/index.js +5 -8
  23. package/es/color-picker/index.less +4 -0
  24. package/es/columns/index.js +30 -66
  25. package/es/columns/style/index.js +2 -1
  26. package/es/comment/index.js +2 -1
  27. package/es/config-provider/DisabledContext.js +5 -9
  28. package/es/config-provider/SizeContext.js +3 -7
  29. package/es/config-provider/config-provider.js +2 -1
  30. package/es/page/index.js +1 -1
  31. package/es/page/index.js.map +1 -1
  32. package/es/switch/switch.js.map +1 -1
  33. package/es/tntd-form/Form.js +13 -1
  34. package/es/tntd-form/Form.js.map +1 -1
  35. package/es/tntd-form/tntd-form.stories.js +14 -2
  36. package/es/tntd-form/tntd-form.stories.js.map +1 -1
  37. package/es/tntd-layout/HeaderActions.js +1 -1
  38. package/es/tntd-layout/HeaderActions.js.map +1 -1
  39. package/es/tree-select/index.js +1 -0
  40. package/es/tree-select/index.js.map +1 -1
  41. package/lib/color-picker/index.less +4 -0
  42. package/lib/page/index.js +1 -1
  43. package/lib/page/index.js.map +1 -1
  44. package/lib/switch/switch.d.ts +1 -1
  45. package/lib/switch/switch.d.ts.map +1 -1
  46. package/lib/switch/switch.js.map +1 -1
  47. package/lib/tntd-form/Form.d.ts.map +1 -1
  48. package/lib/tntd-form/Form.js +12 -0
  49. package/lib/tntd-form/Form.js.map +1 -1
  50. package/lib/tntd-form/tntd-form.stories.d.ts.map +1 -1
  51. package/lib/tntd-form/tntd-form.stories.js +14 -2
  52. package/lib/tntd-form/tntd-form.stories.js.map +1 -1
  53. package/lib/tntd-layout/HeaderActions.js +1 -1
  54. package/lib/tntd-layout/HeaderActions.js.map +1 -1
  55. package/lib/tree-select/index.d.ts +8 -2
  56. package/lib/tree-select/index.d.ts.map +1 -1
  57. package/lib/tree-select/index.js +1 -0
  58. package/lib/tree-select/index.js.map +1 -1
  59. package/package.json +1 -1
package/es/affix/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Affix from 'antd/es/affix';
2
2
  import 'antd/es/affix/style';
3
3
  export * from 'antd/es/affix';
4
- export default Affix;
4
+ export default Affix;
5
+ //# sourceMappingURL=index.js.map
package/es/alert/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Alert from 'antd/es/alert';
2
2
  import 'antd/es/alert/style';
3
3
  export * from 'antd/es/alert';
4
- export default Alert;
4
+ export default Alert;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Anchor from 'antd/es/anchor';
2
2
  import 'antd/es/anchor/style';
3
3
  export * from 'antd/es/anchor';
4
- export default Anchor;
4
+ export default Anchor;
5
+ //# sourceMappingURL=index.js.map
@@ -1,25 +1,7 @@
1
1
  import React from 'react';
2
- export const plusIcon = React.createElement("svg", {
3
- viewBox: "64 64 896 896",
4
- focusable: "false",
5
- "data-icon": "plus-circle",
6
- width: "1em",
7
- height: "1em",
8
- fill: "currentColor",
9
- "aria-hidden": "true"
10
- }, React.createElement("path", {
11
- d: "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"
12
- }), React.createElement("path", {
13
- d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
14
- }));
15
- export const deleteIcon = React.createElement("svg", {
16
- viewBox: "64 64 896 896",
17
- focusable: "false",
18
- "data-icon": "delete",
19
- width: "1em",
20
- height: "1em",
21
- fill: "currentColor",
22
- "aria-hidden": "true"
23
- }, React.createElement("path", {
24
- d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"
25
- }));
2
+ export const plusIcon = (React.createElement("svg", { viewBox: "64 64 896 896", focusable: "false", "data-icon": "plus-circle", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true" },
3
+ React.createElement("path", { d: "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" }),
4
+ React.createElement("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })));
5
+ export const deleteIcon = (React.createElement("svg", { viewBox: "64 64 896 896", focusable: "false", "data-icon": "delete", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true" },
6
+ React.createElement("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })));
7
+ //# sourceMappingURL=icon.js.map
@@ -1,17 +1,15 @@
1
- import _sumBy from "lodash/sumBy";
2
- import _sum from "lodash/sum";
3
- import _set from "lodash/set";
4
- import _isFunction from "lodash/isFunction";
5
- import _isArray from "lodash/isArray";
6
- import _get from "lodash/get";
7
- var __rest = this && this.__rest || function (s, e) {
8
- var t = {};
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
10
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
11
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
12
- }
13
- return t;
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
14
11
  };
12
+ import { get, isArray, isFunction, set, sum, sumBy } from 'lodash';
15
13
  import React, { isValidElement, useCallback, useEffect, useState } from 'react';
16
14
  import { deleteIcon, plusIcon } from './icon';
17
15
  import Col from '../col';
@@ -19,198 +17,116 @@ import Row from '../row';
19
17
  import Table from '../table';
20
18
  import Tooltip from '../tooltip';
21
19
  import './index.less';
22
- const {
23
- Column
24
- } = Table;
25
- const getWidth = span => 1000 / span;
26
- export default function ArrayInput({
27
- children,
28
- defaultValue,
29
- value,
30
- onChange,
31
- mode = 'list',
32
- gutter = 10,
33
- require = false,
34
- deleteTip = '',
35
- plusTip = '',
36
- addText = '添加'
37
- }) {
38
- if (!_isFunction(children)) {
39
- throw new Error('ArrayInput的children必须是函数');
40
- }
41
- const [_value, setValue] = useState(value || defaultValue);
42
- useEffect(() => {
43
- setValue(value);
44
- }, [value]);
45
- const _onChange = useCallback(value => {
46
- if (onChange) {
47
- onChange(value);
48
- } else {
49
- setValue(value);
20
+ const { Column } = Table;
21
+ const getWidth = (span) => 1000 / span;
22
+ export default function ArrayInput({ children, defaultValue, value, onChange, mode = 'list', gutter = 10, require = false, deleteTip = '', plusTip = '', addText = '添加', }) {
23
+ if (!isFunction(children)) {
24
+ throw new Error('ArrayInput的children必须是函数');
50
25
  }
51
- }, []);
52
- let inValue = _value || [];
53
- if (require && inValue.length === 0) {
54
- inValue = [{}];
55
- }
56
- const changeValue = (index, name, value) => {
57
- inValue[index] = Object.assign(Object.assign({}, inValue[index]), {
58
- [name]: value
59
- });
60
- _onChange([...inValue]);
61
- };
62
- const onAdd = index => {
63
- if (index === undefined) {
64
- _onChange([...inValue, {}]);
65
- } else {
66
- inValue.splice(index + 1, 0, {});
67
- _onChange([...inValue]);
26
+ const [_value, setValue] = useState(value || defaultValue);
27
+ useEffect(() => {
28
+ setValue(value);
29
+ }, [value]);
30
+ const _onChange = useCallback((value) => {
31
+ if (onChange) {
32
+ onChange(value);
33
+ }
34
+ else {
35
+ setValue(value);
36
+ }
37
+ }, []);
38
+ let inValue = _value || [];
39
+ if (require && inValue.length === 0) {
40
+ inValue = [{}];
68
41
  }
69
- };
70
- const onDelete = i => {
71
- inValue.splice(i, 1);
72
- _onChange([...inValue]);
73
- };
74
- if (mode === 'list') {
75
- return React.createElement("div", {
76
- className: "tntd-array-input"
77
- }, inValue.map((item, index) => {
78
- let fields = children(item, index);
79
- if (!_isArray(fields)) {
80
- fields = _get(fields, 'props.children', []);
81
- }
82
- return React.createElement(Row, {
83
- gutter: gutter,
84
- key: index,
85
- className: "tntd-array-input-item"
86
- }, fields.map((field, i) => {
87
- if (!isValidElement(field)) {
88
- return field ? React.createElement(Col, {
89
- span: 4,
90
- key: i
91
- }, field) : '';
42
+ const changeValue = (index, name, value) => {
43
+ inValue[index] = Object.assign(Object.assign({}, inValue[index]), { [name]: value });
44
+ _onChange([...inValue]);
45
+ };
46
+ const onAdd = (index) => {
47
+ if (index === undefined) {
48
+ _onChange([...inValue, {}]);
92
49
  }
93
- const _a = field === null || field === void 0 ? void 0 : field.props,
94
- {
95
- name,
96
- span = 4,
97
- onChange: fieldChange
98
- } = _a,
99
- other = __rest(_a, ["name", "span", "onChange"]);
100
- return React.createElement(Col, {
101
- span: span,
102
- key: i
103
- }, React.cloneElement(field, Object.assign({
104
- value: item[name] || undefined,
105
- onChange: e => {
106
- fieldChange && fieldChange(e, index, changeValue);
107
- const newValue = e.target ? e.target.value : e;
108
- changeValue(index, name, newValue);
109
- }
110
- }, other)));
111
- }), React.createElement(Col, {
112
- span: 24 - _sum(fields.map(f => _get(f, 'props.span', 4))) % 24
113
- }, React.createElement("span", {
114
- className: "tntd-array-input-action"
115
- }, plusTip ? React.createElement(Tooltip, {
116
- title: plusTip,
117
- placement: "left"
118
- }, React.createElement("span", {
119
- className: "mr10",
120
- onClick: () => onAdd(index)
121
- }, plusIcon)) : React.createElement("span", {
122
- className: "mr10",
123
- onClick: () => onAdd(index)
124
- }, plusIcon), deleteTip ? React.createElement(Tooltip, {
125
- title: deleteTip,
126
- placement: "right"
127
- }, React.createElement("span", {
128
- onClick: () => onDelete(index)
129
- }, deleteIcon)) : React.createElement("span", {
130
- onClick: () => onDelete(index)
131
- }, deleteIcon))));
132
- }), inValue.length === 0 && React.createElement("a", {
133
- onClick: () => onAdd()
134
- }, addText));
135
- } else {
136
- let fields = children({}, 0);
137
- if (!_isArray(fields)) {
138
- fields = _get(fields, 'props.children', []);
50
+ else {
51
+ inValue.splice(index + 1, 0, {});
52
+ _onChange([...inValue]);
53
+ }
54
+ };
55
+ const onDelete = (i) => {
56
+ inValue.splice(i, 1);
57
+ _onChange([...inValue]);
58
+ };
59
+ if (mode === 'list') {
60
+ return (React.createElement("div", { className: "tntd-array-input" },
61
+ inValue.map((item, index) => {
62
+ let fields = children(item, index);
63
+ if (!isArray(fields)) {
64
+ fields = get(fields, 'props.children', []);
65
+ }
66
+ return (React.createElement(Row, { gutter: gutter, key: index, className: "tntd-array-input-item" },
67
+ fields.map((field, i) => {
68
+ if (!isValidElement(field)) {
69
+ return field ? (React.createElement(Col, { span: 4, key: i }, field)) : ('');
70
+ }
71
+ const _a = field === null || field === void 0 ? void 0 : field.props, { name, span = 4, onChange: fieldChange } = _a, other = __rest(_a, ["name", "span", "onChange"]);
72
+ return (React.createElement(Col, { span: span, key: i }, React.cloneElement(field, Object.assign({ value: item[name] || undefined, onChange: (e) => {
73
+ fieldChange && fieldChange(e, index, changeValue);
74
+ const newValue = e.target ? e.target.value : e;
75
+ changeValue(index, name, newValue);
76
+ } }, other))));
77
+ }),
78
+ React.createElement(Col, { span: 24 - (sum(fields.map((f) => get(f, 'props.span', 4))) % 24) },
79
+ React.createElement("span", { className: "tntd-array-input-action" },
80
+ plusTip ? (React.createElement(Tooltip, { title: plusTip, placement: "left" },
81
+ React.createElement("span", { className: "mr10", onClick: () => onAdd(index) }, plusIcon))) : (React.createElement("span", { className: "mr10", onClick: () => onAdd(index) }, plusIcon)),
82
+ deleteTip ? (React.createElement(Tooltip, { title: deleteTip, placement: "right" },
83
+ React.createElement("span", { onClick: () => onDelete(index) }, deleteIcon))) : (React.createElement("span", { onClick: () => onDelete(index) }, deleteIcon))))));
84
+ }),
85
+ inValue.length === 0 && React.createElement("a", { onClick: () => onAdd() }, addText)));
139
86
  }
140
- const dataSource = inValue.map((value, index) => {
141
- const fields = children(value, index);
142
- const back = {};
143
- fields.forEach(field => {
144
- var _a;
145
- const name = (_a = field === null || field === void 0 ? void 0 : field.props) === null || _a === void 0 ? void 0 : _a.name;
146
- name && _set(back, name, field);
147
- });
148
- return back;
149
- });
150
- return React.createElement("div", {
151
- className: "tntd-array-input"
152
- }, React.createElement(Table, {
153
- dataSource: dataSource,
154
- pagination: false,
155
- locale: {
156
- emptyText: React.createElement("a", {
157
- onClick: () => onAdd()
158
- }, addText)
159
- }
160
- }, fields.map(field => {
161
- const {
162
- name,
163
- span,
164
- title
165
- } = (field === null || field === void 0 ? void 0 : field.props) || {};
166
- return React.createElement(Column, {
167
- key: name,
168
- dataIndex: name,
169
- title: title,
170
- width: getWidth(span || 24 / (fields.length + 1)),
171
- render: (field, row, index) => {
172
- if (!isValidElement(field)) {
173
- return field;
174
- }
175
- const {
176
- onChange: fieldChange
177
- } = field.props;
178
- return React.cloneElement(field, {
179
- value: inValue[index][name] || undefined,
180
- onChange: e => {
181
- fieldChange && fieldChange(e, index, changeValue);
182
- const newValue = e.target ? e.target.value : e;
183
- changeValue(index, name, newValue);
184
- }
185
- });
87
+ else {
88
+ let fields = children({}, 0);
89
+ if (!isArray(fields)) {
90
+ fields = get(fields, 'props.children', []);
186
91
  }
187
- });
188
- }), React.createElement(Column, {
189
- key: "action",
190
- dataIndex: "action",
191
- title: "\u64CD\u4F5C",
192
- width: getWidth(24 - _sumBy(fields, 'props.span') % 24),
193
- render: (text, row, index) => {
194
- return React.createElement("span", {
195
- className: "tntd-array-input-action"
196
- }, plusTip ? React.createElement(Tooltip, {
197
- title: plusTip,
198
- placement: "left"
199
- }, React.createElement("span", {
200
- className: "mr10",
201
- onClick: () => onAdd(index)
202
- }, plusIcon)) : React.createElement("span", {
203
- className: "mr10",
204
- onClick: () => onAdd(index)
205
- }, plusIcon), deleteTip ? React.createElement(Tooltip, {
206
- title: deleteTip,
207
- placement: "right"
208
- }, React.createElement("span", {
209
- onClick: () => onDelete(index)
210
- }, deleteIcon)) : React.createElement("span", {
211
- onClick: () => onDelete(index)
212
- }, deleteIcon));
213
- }
214
- })));
215
- }
216
- }
92
+ const dataSource = inValue.map((value, index) => {
93
+ const fields = children(value, index);
94
+ const back = {};
95
+ fields.forEach((field) => {
96
+ var _a;
97
+ const name = (_a = field === null || field === void 0 ? void 0 : field.props) === null || _a === void 0 ? void 0 : _a.name;
98
+ name && set(back, name, field);
99
+ });
100
+ return back;
101
+ });
102
+ return (React.createElement("div", { className: "tntd-array-input" },
103
+ React.createElement(Table, { dataSource: dataSource, pagination: false, locale: {
104
+ emptyText: React.createElement("a", { onClick: () => onAdd() }, addText),
105
+ } },
106
+ fields.map((field) => {
107
+ const { name, span, title } = (field === null || field === void 0 ? void 0 : field.props) || {};
108
+ return (React.createElement(Column, { key: name, dataIndex: name, title: title, width: getWidth(span || 24 / (fields.length + 1)), render: (field, row, index) => {
109
+ if (!isValidElement(field)) {
110
+ return field;
111
+ }
112
+ const { onChange: fieldChange } = field.props;
113
+ return React.cloneElement(field, {
114
+ value: inValue[index][name] || undefined,
115
+ onChange: (e) => {
116
+ fieldChange && fieldChange(e, index, changeValue);
117
+ const newValue = e.target ? e.target.value : e;
118
+ changeValue(index, name, newValue);
119
+ },
120
+ });
121
+ } }));
122
+ }),
123
+ React.createElement(Column, { key: "action", dataIndex: "action", title: "\u64CD\u4F5C", width: getWidth(24 - (sumBy(fields, 'props.span') % 24)), render: (text, row, index) => {
124
+ return (React.createElement("span", { className: "tntd-array-input-action" },
125
+ plusTip ? (React.createElement(Tooltip, { title: plusTip, placement: "left" },
126
+ React.createElement("span", { className: "mr10", onClick: () => onAdd(index) }, plusIcon))) : (React.createElement("span", { className: "mr10", onClick: () => onAdd(index) }, plusIcon)),
127
+ deleteTip ? (React.createElement(Tooltip, { title: deleteTip, placement: "right" },
128
+ React.createElement("span", { onClick: () => onDelete(index) }, deleteIcon))) : (React.createElement("span", { onClick: () => onDelete(index) }, deleteIcon))));
129
+ } }))));
130
+ }
131
+ }
132
+ //# sourceMappingURL=index.js.map
@@ -1,2 +1,3 @@
1
1
  import { createContext } from 'react';
2
- export default createContext(() => true);
2
+ export default createContext(() => true);
3
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import AutoComplete from 'antd/es/auto-complete';
2
2
  import 'antd/es/auto-complete/style';
3
3
  export * from 'antd/es/auto-complete';
4
- export default AutoComplete;
4
+ export default AutoComplete;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Avatar from 'antd/es/avatar';
2
2
  import 'antd/es/avatar/style';
3
3
  export * from 'antd/es/avatar';
4
- export default Avatar;
4
+ export default Avatar;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import BackTop from 'antd/es/back-top';
2
2
  import 'antd/es/back-top/style';
3
3
  export * from 'antd/es/back-top';
4
- export default BackTop;
4
+ export default BackTop;
5
+ //# sourceMappingURL=index.js.map
package/es/badge/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Badge from 'antd/es/badge';
2
2
  import 'antd/es/badge/style';
3
3
  export * from 'antd/es/badge';
4
- export default Badge;
4
+ export default Badge;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Breadcrumb from 'antd/es/breadcrumb';
2
2
  import 'antd/es/breadcrumb/style';
3
3
  export * from 'antd/es/breadcrumb';
4
- export default Breadcrumb;
4
+ export default Breadcrumb;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Button from 'antd/es/button';
2
2
  import 'antd/es/button/style';
3
3
  export * from 'antd/es/button';
4
- export default Button;
4
+ export default Button;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Calendar from 'antd/es/calendar';
2
2
  import 'antd/es/calendar/style';
3
3
  export * from 'antd/es/calendar';
4
- export default Calendar;
4
+ export default Calendar;
5
+ //# sourceMappingURL=index.js.map
package/es/card/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Card from 'antd/es/card';
2
2
  import 'antd/es/card/style';
3
3
  export * from 'antd/es/card';
4
- export default Card;
4
+ export default Card;
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import Carousel from 'antd/es/carousel';
2
2
  import 'antd/es/carousel/style';
3
3
  export * from 'antd/es/carousel';
4
- export default Carousel;
4
+ export default Carousel;
5
+ //# sourceMappingURL=index.js.map
@@ -5,4 +5,5 @@ import 'antd/es/cascader/style';
5
5
  export * from 'antd/es/cascader';
6
6
  // @ts-ignore
7
7
  export const Cascader = connectReadonlyComponent(AntdCascader, PreviewText.Cascader);
8
- export default Cascader;
8
+ export default Cascader;
9
+ //# sourceMappingURL=index.js.map
@@ -2,4 +2,5 @@ import 'react';
2
2
  import Checkbox from 'antd/es/checkbox';
3
3
  import { connectReadonlyComponent } from '../connect';
4
4
  import { PreviewText } from '../preview-text';
5
- export default connectReadonlyComponent(Checkbox.Group, PreviewText.Select);
5
+ export default connectReadonlyComponent(Checkbox.Group, PreviewText.Select);
6
+ //# sourceMappingURL=checkbox-group.js.map
@@ -6,4 +6,5 @@ export * from 'antd/es/checkbox';
6
6
  export * from './checkbox-group';
7
7
  // @ts-ignore
8
8
  Checkbox.Group = CheckboxGroup;
9
- export default Checkbox;
9
+ export default Checkbox;
10
+ //# sourceMappingURL=index.js.map
package/es/col/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Col from 'antd/es/col';
2
2
  import 'antd/es/col/style';
3
3
  export * from 'antd/es/col';
4
- export default Col;
4
+ export default Col;
5
+ //# sourceMappingURL=index.js.map
@@ -10,4 +10,5 @@ import Collapse from 'antd/es/collapse';
10
10
  import 'antd/es/collapse/style';
11
11
  import './collapse.less';
12
12
  export * from 'antd/es/collapse';
13
- export default Collapse;
13
+ export default Collapse;
14
+ //# sourceMappingURL=index.js.map