vap1 0.2.2 → 0.2.4
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/components/Box/Box.js +75 -42
- package/components/Box/SelectBar.js +51 -24
- package/components/Box/_register.d.ts +4 -0
- package/components/Box/_register.js +10 -8
- package/components/Box/index.js +1 -1
- package/components/Lists/SList.js +76 -48
- package/components/SearchBar/ActionButtons.js +75 -42
- package/components/SearchBar/ByField.js +80 -52
- package/components/SearchBar/ByKeyword.js +44 -17
- package/components/SearchBar/SearchField.js +8 -8
- package/components/SearchBar/SearchTags.js +4 -4
- package/components/SearchBar/_register.js +9 -8
- package/components/SearchBar/index.js +22 -11
- package/components/Tables/ApiTable.d.ts +1 -1
- package/components/Tables/ApiTable.js +19 -8
- package/components/Tables/ApiTableModal.d.ts +1 -1
- package/components/Tables/ApiTableModal.js +40 -13
- package/components/Tables/Components/ActionBar.js +53 -26
- package/components/Tables/Components/Actions.js +40 -29
- package/components/Tables/Components/Summary.js +2 -2
- package/components/Tables/Components/index.js +3 -3
- package/components/Tables/STable.js +21 -10
- package/components/Tables/TopTable.d.ts +3 -2
- package/components/Tables/TopTable.js +64 -37
- package/components/Tables/TopTableModal.js +21 -10
- package/components/Tables/Util.d.ts +2 -2
- package/components/Tables/Util.js +11 -9
- package/components/Tables/VTable.d.ts +2 -2
- package/components/Tables/VTable.js +137 -65
- package/components/Tables/index.d.ts +7 -2
- package/components/Tables/index.js +5 -5
- package/components/TreeSelect/BaseTreeSelect.js +81 -45
- package/components/TreeSelect/DTreeSelect.js +191 -66
- package/components/TreeSelect/FTreeSelect.js +67 -20
- package/components/TreeSelect/STreeSelect.js +22 -11
- package/components/Trees/ActionTree.js +562 -431
- package/components/Trees/BaseTree.js +85 -38
- package/components/Trees/COTree/COButton.js +48 -21
- package/components/Trees/COTree/COSelect.js +31 -20
- package/components/Trees/COTree/COTree.js +223 -107
- package/components/Trees/COTree/COTreeUtil.js +160 -115
- package/components/Trees/DTree.js +139 -68
- package/components/Trees/FTree.js +76 -29
- package/components/Trees/STree.js +59 -23
- package/components/UForm/FormWrapper.js +70 -53
- package/components/UForm/UDescriptions.js +38 -38
- package/components/UForm/UForm.js +240 -135
- package/components/UForm/UFormModal.js +99 -44
- package/components/UForm/UInfo.js +33 -22
- package/components/UForm/UInfoModal.js +31 -20
- package/components/UForm/UModal.js +40 -13
- package/components/UForm/_FormUtils.js +29 -18
- package/components/UForm/_input.js +75 -39
- package/components/UForm/_register.js +11 -9
- package/components/Upload/UploadFile.js +38 -11
- package/components/Upload/UploadImage.js +50 -23
- package/components/Upload/UploadModal.js +149 -84
- package/components/Upload/useUpload.js +35 -19
- package/components/_RegisterUtil.js +20 -8
- package/components/_adapt/Alert.js +20 -9
- package/components/_adapt/Breadcrumb.js +18 -7
- package/components/_adapt/Button.js +24 -13
- package/components/_adapt/Col.js +34 -23
- package/components/_adapt/Collapse.js +21 -10
- package/components/_adapt/ColorPicker.js +55 -28
- package/components/_adapt/ConfigProvider.js +14 -3
- package/components/_adapt/Drawer.js +18 -7
- package/components/_adapt/Dropdown.js +23 -12
- package/components/_adapt/FloatButton.js +21 -10
- package/components/_adapt/Icon.js +18 -7
- package/components/_adapt/Input.js +17 -6
- package/components/_adapt/InputNumber.js +16 -5
- package/components/_adapt/Layout.js +84 -28
- package/components/_adapt/Menu.js +28 -17
- package/components/_adapt/Modal.js +72 -25
- package/components/_adapt/Pagination.js +14 -3
- package/components/_adapt/Popconfirm.js +17 -6
- package/components/_adapt/Popover.js +17 -6
- package/components/_adapt/Progress.js +42 -11
- package/components/_adapt/Radio.js +21 -10
- package/components/_adapt/Row.js +18 -7
- package/components/_adapt/Select.js +54 -43
- package/components/_adapt/Slider.js +1 -1
- package/components/_adapt/Space.js +2 -2
- package/components/_adapt/Table.js +16 -5
- package/components/_adapt/Tabs.js +17 -6
- package/components/_adapt/Tag.js +19 -8
- package/components/_adapt/Tooltip.js +15 -4
- package/components/_adapt/TreeSelect.js +18 -7
- package/components/_adapt/notification.js +1 -1
- package/components/_adapt/todo/Image.js +2 -2
- package/components/_adapt/todo/NotEffectOnV15.js +1 -1
- package/components/_adapt/todo/Segmented.js +2 -2
- package/components/_adapt/utils.js +28 -8
- package/components/_common/AutoComplete.js +101 -34
- package/components/_common/CountUp.js +30 -14
- package/components/_common/DateRange.d.ts +10 -2
- package/components/_common/DateRange.js +65 -69
- package/components/_common/HighLight.js +22 -6
- package/components/_common/I18N.js +27 -2
- package/components/_common/Loading.js +25 -9
- package/components/_common/MonthRange.js +26 -26
- package/components/_common/PromiseLabel.js +68 -15
- package/components/_common/Role.js +2 -2
- package/components/_common/Upagination.js +45 -34
- package/components/_setup/Const.js +2 -2
- package/components/_setup/I18N/enUS.js +2 -2
- package/components/_setup/I18N/zhCN.js +3 -3
- package/components/_setup/I18N/zhHK.js +2 -2
- package/components/_setup/ICON/IconTypes.js +2 -2
- package/components/_setup/SearchField/SearchFieldAdvance.js +22 -11
- package/components/_setup/SearchField/SearchFieldDate.js +116 -79
- package/components/_setup/SearchField/SearchFieldInput.js +21 -10
- package/components/_setup/SearchField/SearchFieldSelect.js +55 -44
- package/components/_setup/SearchField/SearchFieldTree.js +63 -52
- package/components/_setup/SelectBar/SelectList.js +21 -10
- package/components/_setup/SelectBar/SelectTree.js +17 -6
- package/components/_setup/UForm/UFormAdvanceInput.js +105 -78
- package/components/_setup/UForm/UFormCOTree.js +21 -10
- package/components/_setup/UForm/UFormCrontab.js +51 -35
- package/components/_setup/UForm/UFormDate.js +160 -124
- package/components/_setup/UForm/UFormInput.js +113 -72
- package/components/_setup/UForm/UFormJSON.js +95 -57
- package/components/_setup/UForm/UFormJSONTable.js +79 -41
- package/components/_setup/UForm/UFormOrg.js +112 -48
- package/components/_setup/UForm/UFormRole.js +31 -20
- package/components/_setup/UForm/UFormSelect.js +116 -86
- package/components/_setup/UForm/UFormTree.js +52 -41
- package/components/_setup/UForm/UFormUpload.js +62 -34
- package/components/_setup/UForm/_utils.js +9 -9
- package/deps/JsonView.js +18 -7
- package/deps/SpringBoot.js +1 -1
- package/deps/SpringCloud.js +4 -4
- package/deps/_editor/advance/_Image.js +33 -20
- package/deps/_editor/base/Element.js +28 -17
- package/deps/_editor/base/Leaf.js +18 -7
- package/deps/_editor/base/Support.js +4 -4
- package/deps/_editor/i18n.js +1 -1
- package/deps/_editor/tools/Button.js +31 -19
- package/deps/_editor/tools/ToolBar.js +3 -3
- package/deps/_editor/tools/_BlockButton.js +49 -27
- package/deps/_editor/tools/_InsertButton.js +32 -28
- package/deps/_editor/tools/_MarkButton.js +15 -14
- package/deps/_editor/tools/_TxtButton.js +90 -58
- package/deps/api-audit.js +1 -1
- package/deps/echarts.js +65 -18
- package/deps/editor.js +52 -26
- package/deps/registerEditor.js +18 -7
- package/hooks/_list.js +1 -1
- package/hooks/useAjax.js +43 -19
- package/hooks/useAjaxAction.js +57 -20
- package/hooks/useAjaxQuery.js +121 -51
- package/hooks/useApi.js +35 -8
- package/hooks/useApiBase.js +291 -184
- package/hooks/useApiGlobal.js +40 -13
- package/hooks/useApp.js +4 -4
- package/hooks/useArray.js +114 -52
- package/hooks/useDefault.js +19 -3
- package/hooks/useDoLoad.js +25 -9
- package/hooks/useEffectFunction.js +4 -3
- package/hooks/useEffectOnce.js +5 -5
- package/hooks/useError.js +21 -5
- package/hooks/useFirstMountState.js +3 -3
- package/hooks/useGenkey.js +7 -7
- package/hooks/useGetSet.js +9 -9
- package/hooks/useGlobal.js +58 -29
- package/hooks/useHover.js +25 -9
- package/hooks/useMemoPromise.js +62 -22
- package/hooks/useModals.js +71 -36
- package/hooks/useMountedState.js +6 -6
- package/hooks/useOpenState.js +26 -10
- package/hooks/usePromise.js +15 -13
- package/hooks/useQueue.js +35 -8
- package/hooks/useSetState.js +25 -8
- package/hooks/useStateList.js +30 -18
- package/hooks/useSyncExternalStore.js +31 -15
- package/hooks/useToggle.js +6 -3
- package/hooks/useUnmountPromise.js +11 -11
- package/hooks/useUpdate.js +20 -4
- package/hooks/useUpdateEffect.js +5 -5
- package/login/Base65.js +15 -14
- package/login/Password.js +91 -38
- package/login/SM4.js +50 -49
- package/login/cems/index.js +2 -2
- package/login/jit/index.js +16 -71
- package/login/jit/pnxclient.js +6 -4
- package/login/vap/index.js +1 -1
- package/login/xrtx/index.js +2 -2
- package/package.json +1 -1
- package/screen/Comment.js +16 -5
- package/screen/Page.js +14 -14
- package/screen/render.js +2 -2
- package/uform/FormEditor.js +43 -26
- package/uform/FormViewer.js +30 -19
- package/uform/hooks/useEditor.js +83 -47
- package/uform/hooks/useForm.js +2 -2
- package/uform/index.js +10 -10
- package/uform/inputs/_advance.js +12 -12
- package/uform/inputs/_date.js +63 -52
- package/uform/inputs/_input.js +49 -38
- package/uform/inputs/_select.js +53 -42
- package/uform/inputs/_specific.js +33 -22
- package/uform/inputs/index.js +5 -5
- package/uform/inputs/register.js +14 -14
- package/uform/panel/Editor/GroupEditor.js +31 -31
- package/uform/panel/Editor/ListEditor.js +22 -22
- package/uform/panel/Editor/_FieldItems.js +16 -16
- package/uform/panel/Editor/_GroupCollapse.js +9 -9
- package/uform/panel/Editor/_GroupDefault.js +9 -9
- package/uform/panel/Editor/_GroupStep.js +18 -18
- package/uform/panel/Editor/_GroupTab.js +16 -16
- package/uform/panel/Editor/index.js +17 -17
- package/uform/panel/Items/index.js +22 -11
- package/uform/panel/Propreties/CanvasProperties.js +14 -14
- package/uform/panel/Propreties/Component/FieldPlugin.js +5 -5
- package/uform/panel/Propreties/Component/LinkAsyncFunction.js +22 -47
- package/uform/panel/Propreties/Component/LinkSyncFunction.js +20 -43
- package/uform/panel/Propreties/Component/Links.js +40 -29
- package/uform/panel/Propreties/Component/OptionTable.js +97 -52
- package/uform/panel/Propreties/Component/RegexpModal.js +11 -11
- package/uform/panel/Propreties/Component/Validate.js +35 -24
- package/uform/panel/Propreties/Component/ValidateAsyncFunction.js +13 -24
- package/uform/panel/Propreties/Component/ValidateSyncFunction.js +15 -38
- package/uform/panel/Propreties/FieldOptions.js +78 -44
- package/uform/panel/Propreties/FieldProperties.js +47 -20
- package/uform/panel/Propreties/GroupProperties.js +9 -9
- package/uform/panel/Propreties/_ItemAdvance.js +37 -26
- package/uform/panel/Propreties/_ItemBase.js +30 -19
- package/uform/panel/Propreties/_ItemLink.js +20 -9
- package/uform/panel/Propreties/_ItemValidate.js +33 -22
- package/uform/plugins/index.js +7 -7
- package/uform/utils/Convert.js +137 -94
- package/uform/utils/SchemaConvert.js +43 -68
- package/uform/utils/arr.js +103 -75
- package/utils/Ajax.d.ts +1 -11
- package/utils/Ajax.js +154 -68
- package/utils/ArrayUtil.js +14 -12
- package/utils/CacheUtil.js +19 -13
- package/utils/Const.js +13 -13
- package/utils/CustomApp.js +15 -10
- package/utils/EventUtil.js +78 -14
- package/utils/Format.js +59 -38
- package/utils/Global.js +8 -8
- package/utils/Logger.js +56 -11
- package/utils/PageUtil.d.ts +12 -6
- package/utils/PageUtil.js +105 -35
- package/utils/Renders/ApiGetRender.js +187 -100
- package/utils/Renders/ApiPostRender.js +123 -69
- package/utils/Renders/DateRender.js +9 -9
- package/utils/Renders/DictRender.js +82 -55
- package/utils/Renders/FileRender.js +34 -12
- package/utils/Renders/ListRender.js +21 -21
- package/utils/Renders/NumberRender.js +14 -13
- package/utils/Renders/StatusRender.js +20 -20
- package/utils/Renders/StringRender.js +17 -17
- package/utils/Renders/_define.d.ts +2 -2
- package/utils/Renders/_define.js +7 -7
- package/utils/StringUtil.js +98 -67
- package/utils/TreeUtil.js +71 -20
- package/utils/VAP.js +14 -14
- package/utils/XHR.js +27 -11
- package/utils/_AjaxUtil.d.ts +10 -0
- package/utils/_AjaxUtil.js +35 -12
- package/utils/_Support.js +26 -26
- package/utils/i18n.js +78 -44
- package/utils/index.d.ts +9 -1
- package/utils/index.js +34 -5
- package/utils/screenful.js +82 -29
- package/widget/index.js +4 -4
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
2
28
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
29
|
if (k2 === undefined) k2 = k;
|
|
4
30
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -33,49 +59,79 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
33
59
|
}
|
|
34
60
|
return t;
|
|
35
61
|
};
|
|
62
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
63
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
64
|
+
if (!m) return o;
|
|
65
|
+
var i = m.call(o), r, ar = [], e;
|
|
66
|
+
try {
|
|
67
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
68
|
+
}
|
|
69
|
+
catch (error) { e = { error: error }; }
|
|
70
|
+
finally {
|
|
71
|
+
try {
|
|
72
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
73
|
+
}
|
|
74
|
+
finally { if (e) throw e.error; }
|
|
75
|
+
}
|
|
76
|
+
return ar;
|
|
77
|
+
};
|
|
78
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
79
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
80
|
+
if (ar || !(i in from)) {
|
|
81
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
82
|
+
ar[i] = from[i];
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
86
|
+
};
|
|
36
87
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
88
|
exports.Layout = void 0;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
89
|
+
var react_1 = __importStar(require("react"));
|
|
90
|
+
var context_1 = require("antd/es/config-provider/context");
|
|
91
|
+
var layout_1 = require("antd/es/layout/layout");
|
|
92
|
+
var antd_1 = require("antd");
|
|
93
|
+
var BasicLayout = /** @class */ (function (_super) {
|
|
94
|
+
__extends(BasicLayout, _super);
|
|
95
|
+
function BasicLayout() {
|
|
96
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
97
|
+
_this.state = { siders: [] };
|
|
98
|
+
return _this;
|
|
46
99
|
}
|
|
47
|
-
getSiderHook() {
|
|
100
|
+
BasicLayout.prototype.getSiderHook = function () {
|
|
101
|
+
var _this = this;
|
|
48
102
|
return {
|
|
49
|
-
addSider: (id)
|
|
50
|
-
|
|
51
|
-
siders: [
|
|
52
|
-
}));
|
|
103
|
+
addSider: function (id) {
|
|
104
|
+
_this.setState(function (state) { return ({
|
|
105
|
+
siders: __spreadArray(__spreadArray([], __read(state.siders), false), [id], false),
|
|
106
|
+
}); });
|
|
53
107
|
},
|
|
54
|
-
removeSider: (id)
|
|
55
|
-
|
|
56
|
-
siders: state.siders.filter(currentId
|
|
57
|
-
}));
|
|
108
|
+
removeSider: function (id) {
|
|
109
|
+
_this.setState(function (state) { return ({
|
|
110
|
+
siders: state.siders.filter(function (currentId) { return currentId !== id; }),
|
|
111
|
+
}); });
|
|
58
112
|
},
|
|
59
113
|
};
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
|
|
63
|
-
|
|
114
|
+
};
|
|
115
|
+
BasicLayout.prototype.render = function () {
|
|
116
|
+
var _this = this;
|
|
117
|
+
var _a = this.props, className = _a.className, children = _a.children, hasSider = _a.hasSider, others = __rest(_a, ["className", "children", "hasSider"]);
|
|
118
|
+
var clazz = ['ant-layout'];
|
|
64
119
|
if (typeof hasSider === 'boolean' ? hasSider : this.state.siders.length > 0)
|
|
65
120
|
clazz.push('ant-layout-has-sider');
|
|
66
121
|
if (className)
|
|
67
122
|
clazz.push(className);
|
|
68
123
|
return react_1.default.createElement(layout_1.LayoutContext.Provider, { value: { siderHook: this.getSiderHook() } },
|
|
69
|
-
react_1.default.createElement("section",
|
|
70
|
-
if (el &&
|
|
124
|
+
react_1.default.createElement("section", __assign({ className: clazz.join(' ') }, others, { ref: function (el) {
|
|
125
|
+
if (el && _this.props.elref) {
|
|
71
126
|
// console.log('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx set er')
|
|
72
|
-
|
|
127
|
+
_this.props.elref.current = el;
|
|
73
128
|
}
|
|
74
129
|
} }), children));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
BasicLayout
|
|
78
|
-
|
|
130
|
+
};
|
|
131
|
+
BasicLayout.displayName = 'Layout';
|
|
132
|
+
return BasicLayout;
|
|
133
|
+
}(react_1.default.Component));
|
|
134
|
+
var _Layout = (0, react_1.forwardRef)(function (props, ref) { return react_1.default.createElement(context_1.ConfigConsumer, null, function () { return react_1.default.createElement(BasicLayout, __assign({}, props, { elref: ref })); }); });
|
|
79
135
|
// const Content = generator({
|
|
80
136
|
// suffixCls: 'layout-content',
|
|
81
137
|
// tagName: 'main',
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
exports.Menu = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var lodash_1 = __importDefault(require("lodash"));
|
|
20
|
+
var antd_1 = require("antd");
|
|
21
|
+
var i18n_1 = require("../../utils/i18n");
|
|
22
|
+
var Icon_1 = require("../_adapt/Icon");
|
|
23
|
+
var getMenuProps = function (props) {
|
|
24
|
+
var result = lodash_1.default.pick(props, ['className', 'key', 'disabled', 'onClick', 'level', 'onTitleClick']);
|
|
14
25
|
var title = props.label || props.title;
|
|
15
26
|
if (props.ik) {
|
|
16
27
|
title = (0, i18n_1.txt)(props.ik);
|
|
@@ -26,27 +37,27 @@ const getMenuProps = (props) => {
|
|
|
26
37
|
}
|
|
27
38
|
return result;
|
|
28
39
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return react_1.default.createElement(antd_1.Menu.SubMenu,
|
|
40
|
+
var renderGroup = function (props) {
|
|
41
|
+
var menuProps = getMenuProps(props);
|
|
42
|
+
return react_1.default.createElement(antd_1.Menu.SubMenu, __assign({ key: props.key }, menuProps, { onTitleClick: menuProps.onClick }), props.children.map(function (item) {
|
|
32
43
|
if (lodash_1.default.isArray(item.children)) {
|
|
33
44
|
return renderGroup(item);
|
|
34
45
|
}
|
|
35
|
-
|
|
36
|
-
return react_1.default.createElement(antd_1.Menu.Item,
|
|
46
|
+
var itemProps = getMenuProps(item);
|
|
47
|
+
return react_1.default.createElement(antd_1.Menu.Item, __assign({ key: item.key }, lodash_1.default.omit(itemProps, ['title'])), itemProps.title);
|
|
37
48
|
}));
|
|
38
49
|
};
|
|
39
|
-
|
|
50
|
+
var _Menu = function (props) {
|
|
40
51
|
if (lodash_1.default.isArray(props.items) && props.items.length) {
|
|
41
|
-
return react_1.default.createElement(antd_1.Menu,
|
|
52
|
+
return react_1.default.createElement(antd_1.Menu, __assign({}, lodash_1.default.omit(props, ['children', 'items'])), props.items.map(function (item) {
|
|
42
53
|
if (lodash_1.default.isArray(item.children)) {
|
|
43
54
|
return renderGroup(item);
|
|
44
55
|
}
|
|
45
|
-
|
|
46
|
-
return react_1.default.createElement(antd_1.Menu.Item,
|
|
56
|
+
var itemProps = getMenuProps(item);
|
|
57
|
+
return react_1.default.createElement(antd_1.Menu.Item, __assign({ key: item.key }, lodash_1.default.omit(itemProps, ['title'])), itemProps.title);
|
|
47
58
|
}));
|
|
48
59
|
}
|
|
49
|
-
return react_1.default.createElement(antd_1.Menu,
|
|
60
|
+
return react_1.default.createElement(antd_1.Menu, __assign({}, props));
|
|
50
61
|
};
|
|
51
62
|
exports.Menu = _Menu;
|
|
52
63
|
exports.Menu.Item = antd_1.Menu.Item;
|
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
2
28
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
29
|
if (k2 === undefined) k2 = k;
|
|
4
30
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -22,40 +48,61 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
48
|
__setModuleDefault(result, mod);
|
|
23
49
|
return result;
|
|
24
50
|
};
|
|
51
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
52
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
53
|
+
if (!m) return o;
|
|
54
|
+
var i = m.call(o), r, ar = [], e;
|
|
55
|
+
try {
|
|
56
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
57
|
+
}
|
|
58
|
+
catch (error) { e = { error: error }; }
|
|
59
|
+
finally {
|
|
60
|
+
try {
|
|
61
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
62
|
+
}
|
|
63
|
+
finally { if (e) throw e.error; }
|
|
64
|
+
}
|
|
65
|
+
return ar;
|
|
66
|
+
};
|
|
25
67
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
68
|
exports.Modal = exports.useDestoryModal = void 0;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
(0, react_1.useLayoutEffect)(()
|
|
69
|
+
var react_1 = __importStar(require("react"));
|
|
70
|
+
var utils_1 = require("../../utils");
|
|
71
|
+
var antd_1 = require("antd");
|
|
72
|
+
var Button_1 = require("./Button");
|
|
73
|
+
var useDestoryModal = function (props) {
|
|
74
|
+
var _a = __read((0, react_1.useState)(false), 2), open = _a[0], setOpen = _a[1];
|
|
75
|
+
(0, react_1.useLayoutEffect)(function () {
|
|
34
76
|
if (props.open)
|
|
35
77
|
setOpen(true);
|
|
36
78
|
}, [props.open]);
|
|
37
|
-
return [open, ()
|
|
79
|
+
return [open, function () { return setOpen(false); }];
|
|
38
80
|
};
|
|
39
81
|
exports.useDestoryModal = useDestoryModal;
|
|
40
|
-
|
|
82
|
+
var Modal = /** @class */ (function (_super) {
|
|
83
|
+
__extends(Modal, _super);
|
|
84
|
+
function Modal() {
|
|
85
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
86
|
+
}
|
|
41
87
|
// static useDestoryModal = useDestoryModal;
|
|
42
|
-
renderFooter() {
|
|
43
|
-
|
|
88
|
+
Modal.prototype.renderFooter = function () {
|
|
89
|
+
var _a = this.props, okText = _a.okText, _b = _a.okType, okType = _b === void 0 ? 'primary' : _b, cancelText = _a.cancelText, confirmLoading = _a.confirmLoading, onOk = _a.onOk, onCancel = _a.onCancel, okButtonProps = _a.okButtonProps, cancelButtonProps = _a.cancelButtonProps, footer = _a.footer;
|
|
44
90
|
if (footer !== undefined)
|
|
45
91
|
return footer;
|
|
46
92
|
return react_1.default.createElement(react_1.default.Fragment, null,
|
|
47
|
-
react_1.default.createElement(Button_1.Button,
|
|
48
|
-
react_1.default.createElement(Button_1.Button,
|
|
49
|
-
}
|
|
50
|
-
render() {
|
|
51
|
-
return react_1.default.createElement(antd_1.Modal,
|
|
52
|
-
}
|
|
53
|
-
|
|
93
|
+
react_1.default.createElement(Button_1.Button, __assign({ type: okType, loading: confirmLoading, onClick: function (evt) { return utils_1.PageUtil.stopEvent(evt, function () { return onOk(); }); } }, okButtonProps), okText || utils_1.i18n.ant('Modal.okText')),
|
|
94
|
+
react_1.default.createElement(Button_1.Button, __assign({ onClick: function (evt) { return utils_1.PageUtil.stopEvent(evt, function () { return onCancel(); }); } }, cancelButtonProps), cancelText || utils_1.i18n.ant('Modal.cancelText')));
|
|
95
|
+
};
|
|
96
|
+
Modal.prototype.render = function () {
|
|
97
|
+
return react_1.default.createElement(antd_1.Modal, __assign({ getContainer: function () { return document.body; } }, this.props, { visible: this.props.open, footer: this.props.footer === null ? null : this.renderFooter() }));
|
|
98
|
+
};
|
|
99
|
+
Modal.info = antd_1.Modal.info;
|
|
100
|
+
Modal.success = antd_1.Modal.success;
|
|
101
|
+
Modal.error = antd_1.Modal.error;
|
|
102
|
+
Modal.warn = antd_1.Modal.warn;
|
|
103
|
+
Modal.warning = antd_1.Modal.warning;
|
|
104
|
+
Modal.confirm = antd_1.Modal.confirm;
|
|
105
|
+
Modal.destroyAll = antd_1.Modal.destroyAll;
|
|
106
|
+
return Modal;
|
|
107
|
+
}(react_1.Component));
|
|
54
108
|
exports.Modal = Modal;
|
|
55
|
-
Modal.info = antd_1.Modal.info;
|
|
56
|
-
Modal.success = antd_1.Modal.success;
|
|
57
|
-
Modal.error = antd_1.Modal.error;
|
|
58
|
-
Modal.warn = antd_1.Modal.warn;
|
|
59
|
-
Modal.warning = antd_1.Modal.warning;
|
|
60
|
-
Modal.confirm = antd_1.Modal.confirm;
|
|
61
|
-
Modal.destroyAll = antd_1.Modal.destroyAll;
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
exports.Pagination = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var antd_1 = require("antd");
|
|
20
|
+
var Pagination = function (props) { return react_1.default.createElement(antd_1.Pagination, __assign({}, props)); };
|
|
10
21
|
exports.Pagination = Pagination;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -24,11 +35,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
35
|
};
|
|
25
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
37
|
exports.Popconfirm = void 0;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return react_1.default.createElement(antd_1.Popconfirm,
|
|
38
|
+
var react_1 = __importStar(require("react"));
|
|
39
|
+
var antd_1 = require("antd");
|
|
40
|
+
var utils_1 = require("./utils");
|
|
41
|
+
var Popconfirm = function (props) {
|
|
42
|
+
var confirmProps = (0, react_1.useMemo)(function () { return (0, utils_1.converTooltip)(props); }, [props.open]);
|
|
43
|
+
return react_1.default.createElement(antd_1.Popconfirm, __assign({}, confirmProps));
|
|
33
44
|
};
|
|
34
45
|
exports.Popconfirm = Popconfirm;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -24,11 +35,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
35
|
};
|
|
25
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
37
|
exports.Popover = void 0;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return react_1.default.createElement(antd_1.Popover,
|
|
38
|
+
var react_1 = __importStar(require("react"));
|
|
39
|
+
var antd_1 = require("antd");
|
|
40
|
+
var utils_1 = require("./utils");
|
|
41
|
+
var Popover = function (props) {
|
|
42
|
+
var confirmProps = (0, react_1.useMemo)(function () { return (0, utils_1.converTooltip)(props); }, [props.open]);
|
|
43
|
+
return react_1.default.createElement(antd_1.Popover, __assign({}, confirmProps));
|
|
33
44
|
};
|
|
34
45
|
exports.Popover = Popover;
|
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __assign = (this && this.__assign) || function () {
|
|
18
|
+
__assign = Object.assign || function(t) {
|
|
19
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
+
s = arguments[i];
|
|
21
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
+
t[p] = s[p];
|
|
23
|
+
}
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
return __assign.apply(this, arguments);
|
|
27
|
+
};
|
|
2
28
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
29
|
if (k2 === undefined) k2 = k;
|
|
4
30
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -27,19 +53,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
53
|
};
|
|
28
54
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
55
|
exports.Progress = void 0;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
56
|
+
var react_1 = __importStar(require("react"));
|
|
57
|
+
var utils_1 = require("./utils");
|
|
58
|
+
var lodash_1 = __importDefault(require("lodash"));
|
|
33
59
|
/**
|
|
34
60
|
* 说明: 排除 Progress 组件已被 antd 标记为 deprecated 的属性:
|
|
35
61
|
* 1. width : Use `size` instead
|
|
36
62
|
* 2. successPercent: Use `success` instead
|
|
37
63
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
64
|
+
var antd_1 = require("antd");
|
|
65
|
+
var Progress = /** @class */ (function (_super) {
|
|
66
|
+
__extends(Progress, _super);
|
|
67
|
+
function Progress() {
|
|
68
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
69
|
+
}
|
|
70
|
+
Progress.prototype.render = function () {
|
|
71
|
+
var oldProps = (0, utils_1.convertProps)(this.props, [
|
|
72
|
+
'successPercent', 'success', function (props) {
|
|
43
73
|
var _a;
|
|
44
74
|
return ((_a = props.success) === null || _a === void 0 ? void 0 : _a.percent) || 0;
|
|
45
75
|
}
|
|
@@ -50,7 +80,8 @@ class Progress extends react_1.Component {
|
|
|
50
80
|
delete oldProps.size;
|
|
51
81
|
}
|
|
52
82
|
}
|
|
53
|
-
return react_1.default.createElement(antd_1.Progress,
|
|
54
|
-
}
|
|
55
|
-
|
|
83
|
+
return react_1.default.createElement(antd_1.Progress, __assign({}, oldProps));
|
|
84
|
+
};
|
|
85
|
+
return Progress;
|
|
86
|
+
}(react_1.Component));
|
|
56
87
|
exports.Progress = Progress;
|
|
@@ -1,24 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
exports.Radio = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var antd_1 = require("antd");
|
|
20
|
+
var lodash_1 = __importDefault(require("lodash"));
|
|
21
|
+
var RadioGroupWithOptions = function (props) {
|
|
11
22
|
if (props.buttonStyle) {
|
|
12
|
-
return react_1.default.createElement(antd_1.Radio.Group,
|
|
23
|
+
return react_1.default.createElement(antd_1.Radio.Group, __assign({}, lodash_1.default.omit(props, ['children', 'options']), { buttonStyle: "solid" }), props.options.map(function (item) { return react_1.default.createElement(antd_1.Radio.Button, { value: item.value }, item.label); }));
|
|
13
24
|
}
|
|
14
|
-
return react_1.default.createElement(antd_1.Radio.Group,
|
|
25
|
+
return react_1.default.createElement(antd_1.Radio.Group, __assign({}, lodash_1.default.omit(props, ['children', 'options'])), props.options.map(function (item) { return react_1.default.createElement(antd_1.Radio, { value: item.value }, item.label); }));
|
|
15
26
|
};
|
|
16
|
-
|
|
27
|
+
var RadioGroup = function (props) {
|
|
17
28
|
if (lodash_1.default.isArray(props.options))
|
|
18
|
-
return react_1.default.createElement(RadioGroupWithOptions,
|
|
19
|
-
return react_1.default.createElement(antd_1.Radio.Group,
|
|
29
|
+
return react_1.default.createElement(RadioGroupWithOptions, __assign({}, props));
|
|
30
|
+
return react_1.default.createElement(antd_1.Radio.Group, __assign({}, props));
|
|
20
31
|
};
|
|
21
|
-
|
|
32
|
+
var _Radio = function (props) { return react_1.default.createElement(antd_1.Radio, __assign({}, props)); };
|
|
22
33
|
exports.Radio = _Radio;
|
|
23
34
|
exports.Radio.Group = RadioGroup;
|
|
24
35
|
exports.Radio.Button = antd_1.Radio.Button;
|
package/components/_adapt/Row.js
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
17
|
exports.Row = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var antd_1 = require("antd");
|
|
20
|
+
var Global_1 = require("../../utils/Global");
|
|
21
|
+
var Row = function (props) {
|
|
22
|
+
var clazz = ['ant-row', 'v-row'];
|
|
12
23
|
if (props.className)
|
|
13
24
|
clazz.push(props.className);
|
|
14
25
|
if (props.wrap)
|
|
15
26
|
clazz.push('v-row-direction-wrap');
|
|
16
27
|
if (props.direction != 'column')
|
|
17
|
-
return react_1.default.createElement(antd_1.Row,
|
|
28
|
+
return react_1.default.createElement(antd_1.Row, __assign({ type: "flex", gutter: Global_1.CONFIG.GRID.GUTTER }, props, { className: clazz.join(' ') }));
|
|
18
29
|
clazz.push('v-row-direction-column');
|
|
19
|
-
return react_1.default.createElement(antd_1.Row,
|
|
30
|
+
return react_1.default.createElement(antd_1.Row, __assign({ type: "flex", gutter: Global_1.CONFIG.GRID.GUTTER }, props, { className: clazz.join(' ') }));
|
|
20
31
|
};
|
|
21
32
|
exports.Row = Row;
|