iglooform 2.4.23 → 2.4.26
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/es/admin-upload/float.js +14 -14
- package/es/admin-upload/index.js +13 -13
- package/es/admin-upload/job-list.js +49 -49
- package/es/admin-upload/modal.js +10 -10
- package/es/alert-message/index.js +9 -9
- package/es/amount/index.js +4 -4
- package/es/back-top/index.js +6 -6
- package/es/button/index.js +11 -11
- package/es/card-detail/card-group.js +6 -6
- package/es/card-detail/card-item.js +6 -6
- package/es/card-detail/card-page.js +5 -5
- package/es/card-detail/card.js +9 -9
- package/es/card-detail/utils.js +3 -3
- package/es/checkbox/index.js +8 -8
- package/es/claim-list/index.js +21 -21
- package/es/confirmation/index.js +4 -4
- package/es/date-picker/buddhist.js +4 -4
- package/es/date-picker/index.js +11 -11
- package/es/declaration/index.js +7 -7
- package/es/detail-panel/index.js +28 -28
- package/es/documents/index.js +2 -2
- package/es/example/index.js +7 -7
- package/es/filter/checkBox.js +10 -10
- package/es/filter/customize.js +1 -1
- package/es/filter/index.js +46 -46
- package/es/filter/radioBox.js +7 -7
- package/es/filter/rangePicker.js +23 -23
- package/es/filter/style/index.less +10 -2
- package/es/form/addable-section/index.js +35 -20
- package/es/form/addable-section/style/index.less +6 -10
- package/es/form/divider/index.js +3 -3
- package/es/form/element/index.js +20 -20
- package/es/form/elements.js +5 -2
- package/es/form/index.js +9 -9
- package/es/form/login/index.js +6 -6
- package/es/form/page/index.js +8 -8
- package/es/form/pages/index.js +10 -10
- package/es/form/render/index.js +1 -1
- package/es/form/section/index.js +6 -6
- package/es/form/step/index.js +17 -16
- package/es/form/steps/index.js +2 -2
- package/es/free-form/addable-section/index.js +32 -17
- package/es/free-form/addable-section/style/index.less +0 -4
- package/es/free-form/element/index.js +13 -13
- package/es/free-form/index.js +5 -5
- package/es/free-form/page/index.js +17 -17
- package/es/free-form/pages/index.js +4 -4
- package/es/free-form/section/index.js +7 -7
- package/es/free-form/step/index.d.ts +1 -0
- package/es/free-form/step/index.js +20 -19
- package/es/free-form/steps/index.js +4 -4
- package/es/global-message/index.js +13 -13
- package/es/home-menu/index.js +18 -18
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/input/amount.js +4 -4
- package/es/input/credit-card.js +6 -6
- package/es/input/email.js +3 -3
- package/es/input/expiry-date.js +5 -5
- package/es/input/input-date.js +3 -3
- package/es/input/input-number.js +5 -5
- package/es/input/input.js +3 -3
- package/es/input/otp.js +8 -8
- package/es/input/password.js +6 -6
- package/es/input/phone-number.js +4 -4
- package/es/input/text-area.js +6 -6
- package/es/layout/defaultFooter.js +28 -28
- package/es/layout/defaultHeader.js +6 -6
- package/es/layout/footer.js +66 -66
- package/es/layout/header.js +28 -28
- package/es/layout/index.js +6 -6
- package/es/locale/en-US/messages.json +1 -0
- package/es/locale/id-ID/messages.json +1 -0
- package/es/locale/locale-provider.js +4 -4
- package/es/locale/th-TH/messages.json +1 -0
- package/es/locale/vi-VN/messages.json +1 -0
- package/es/locale/zh-CN/messages.json +1 -0
- package/es/login-page/index.js +16 -16
- package/es/media/index.js +15 -15
- package/es/media/media.js +8 -8
- package/es/media/preview.js +8 -8
- package/es/mobile-insurer-detail/index.js +20 -20
- package/es/mobile-insurer-list/index.js +13 -13
- package/es/modal/index.js +10 -10
- package/es/platform/platform-card/index.d.ts +4 -1
- package/es/platform/platform-card/index.js +9 -7
- package/es/platform/switch-platform/index.d.ts +4 -1
- package/es/platform/switch-platform/index.js +47 -16
- package/es/policy-list/index.js +6 -6
- package/es/policy-list/policy-card.js +34 -34
- package/es/radio/index.d.ts +2 -1
- package/es/radio/index.js +15 -14
- package/es/radio/radio-group-with-other.d.ts +6 -0
- package/es/radio/radio-group-with-other.js +85 -0
- package/es/select/attached-select.js +19 -22
- package/es/select/select.js +8 -11
- package/es/select/time-select.js +20 -20
- package/es/status-box/index.js +4 -4
- package/es/table/index.js +36 -36
- package/es/tabs/index.js +3 -3
- package/es/typography/index.js +10 -3
- package/es/upload/index.js +31 -31
- package/es/upload-photo/index.js +31 -31
- package/es/upload-photo/media.js +4 -4
- package/es/upload-preview/index.js +10 -10
- package/es/upload-preview/media.js +8 -8
- package/es/utils/form-utils.d.ts +1 -1
- package/es/utils/form-utils.js +13 -13
- package/lib/admin-upload/float.js +14 -14
- package/lib/admin-upload/index.js +13 -13
- package/lib/admin-upload/job-list.js +49 -49
- package/lib/admin-upload/modal.js +10 -10
- package/lib/alert-message/index.js +9 -9
- package/lib/amount/index.js +4 -4
- package/lib/back-top/index.js +6 -6
- package/lib/button/index.js +11 -11
- package/lib/card-detail/card-group.js +6 -6
- package/lib/card-detail/card-item.js +6 -6
- package/lib/card-detail/card-page.js +5 -5
- package/lib/card-detail/card.js +9 -9
- package/lib/card-detail/utils.js +3 -3
- package/lib/checkbox/index.js +8 -8
- package/lib/claim-list/index.js +21 -21
- package/lib/confirmation/index.js +4 -4
- package/lib/date-picker/buddhist.js +4 -4
- package/lib/date-picker/index.js +11 -11
- package/lib/declaration/index.js +7 -7
- package/lib/detail-panel/index.js +28 -28
- package/lib/documents/index.js +2 -2
- package/lib/example/index.js +8 -8
- package/lib/filter/checkBox.js +10 -10
- package/lib/filter/customize.js +1 -1
- package/lib/filter/index.js +46 -46
- package/lib/filter/radioBox.js +7 -7
- package/lib/filter/rangePicker.js +23 -23
- package/lib/filter/style/index.less +10 -2
- package/lib/form/addable-section/index.js +39 -19
- package/lib/form/addable-section/style/index.less +6 -10
- package/lib/form/divider/index.js +3 -3
- package/lib/form/element/index.js +20 -20
- package/lib/form/elements.js +6 -2
- package/lib/form/index.js +9 -9
- package/lib/form/login/index.js +6 -6
- package/lib/form/page/index.js +8 -8
- package/lib/form/pages/index.js +10 -10
- package/lib/form/render/index.js +1 -1
- package/lib/form/section/index.js +6 -6
- package/lib/form/step/index.js +17 -16
- package/lib/form/steps/index.js +2 -2
- package/lib/free-form/addable-section/index.js +36 -16
- package/lib/free-form/addable-section/style/index.less +0 -4
- package/lib/free-form/element/index.js +13 -13
- package/lib/free-form/index.js +5 -5
- package/lib/free-form/page/index.js +17 -17
- package/lib/free-form/pages/index.js +4 -4
- package/lib/free-form/section/index.js +7 -7
- package/lib/free-form/step/index.d.ts +1 -0
- package/lib/free-form/step/index.js +20 -19
- package/lib/free-form/steps/index.js +5 -5
- package/lib/global-message/index.js +13 -13
- package/lib/home-menu/index.js +18 -18
- package/lib/index.d.ts +1 -1
- package/lib/index.js +8 -1
- package/lib/input/amount.js +4 -4
- package/lib/input/credit-card.js +6 -6
- package/lib/input/email.js +3 -3
- package/lib/input/expiry-date.js +5 -5
- package/lib/input/input-date.js +3 -3
- package/lib/input/input-number.js +5 -5
- package/lib/input/input.js +3 -3
- package/lib/input/otp.js +8 -8
- package/lib/input/password.js +6 -6
- package/lib/input/phone-number.js +4 -4
- package/lib/input/text-area.js +6 -6
- package/lib/layout/defaultFooter.js +28 -28
- package/lib/layout/defaultHeader.js +6 -6
- package/lib/layout/footer.js +66 -66
- package/lib/layout/header.js +28 -28
- package/lib/layout/index.js +6 -6
- package/lib/locale/en-US/messages.json +1 -0
- package/lib/locale/id-ID/messages.json +1 -0
- package/lib/locale/locale-provider.js +4 -4
- package/lib/locale/th-TH/messages.json +1 -0
- package/lib/locale/vi-VN/messages.json +1 -0
- package/lib/locale/zh-CN/messages.json +1 -0
- package/lib/login-page/index.js +16 -16
- package/lib/media/index.js +15 -15
- package/lib/media/media.js +8 -8
- package/lib/media/preview.js +8 -8
- package/lib/mobile-insurer-detail/index.js +20 -20
- package/lib/mobile-insurer-list/index.js +13 -13
- package/lib/modal/index.js +10 -10
- package/lib/platform/platform-card/index.d.ts +4 -1
- package/lib/platform/platform-card/index.js +9 -7
- package/lib/platform/switch-platform/index.d.ts +4 -1
- package/lib/platform/switch-platform/index.js +46 -15
- package/lib/policy-list/index.js +6 -6
- package/lib/policy-list/policy-card.js +34 -34
- package/lib/radio/index.d.ts +2 -1
- package/lib/radio/index.js +23 -14
- package/lib/radio/radio-group-with-other.d.ts +6 -0
- package/lib/radio/radio-group-with-other.js +98 -0
- package/lib/select/attached-select.js +18 -21
- package/lib/select/select.js +7 -10
- package/lib/select/time-select.js +20 -20
- package/lib/status-box/index.js +4 -4
- package/lib/table/index.js +36 -36
- package/lib/tabs/index.js +3 -3
- package/lib/typography/index.js +10 -3
- package/lib/upload/index.js +31 -31
- package/lib/upload-photo/index.js +31 -31
- package/lib/upload-photo/media.js +4 -4
- package/lib/upload-preview/index.js +10 -10
- package/lib/upload-preview/media.js +8 -8
- package/lib/utils/form-utils.d.ts +1 -1
- package/lib/utils/form-utils.js +12 -12
- package/package.json +1 -1
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
height: 48px;
|
|
14
14
|
|
|
15
15
|
.ant-select-selector {
|
|
16
|
-
|
|
16
|
+
&:hover {
|
|
17
|
+
border-color: #7373ff !important;
|
|
18
|
+
}
|
|
19
|
+
border-color: #eeeeee !important;
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -71,7 +74,7 @@
|
|
|
71
74
|
// input 框样式
|
|
72
75
|
.igloo-form-filter-default-input {
|
|
73
76
|
width: 600px;
|
|
74
|
-
border-radius: 3px
|
|
77
|
+
border-radius: 3px;
|
|
75
78
|
padding: 12px 16px;
|
|
76
79
|
}
|
|
77
80
|
|
|
@@ -126,6 +129,10 @@
|
|
|
126
129
|
|
|
127
130
|
.igloo-form-filter-default-tag-container,
|
|
128
131
|
.igloo-form-filter-has-select-tag-container {
|
|
132
|
+
&:hover {
|
|
133
|
+
border-color: #7373ff;
|
|
134
|
+
}
|
|
135
|
+
|
|
129
136
|
border: 1px solid #eeeeee;
|
|
130
137
|
display: flex;
|
|
131
138
|
|
|
@@ -171,6 +178,7 @@
|
|
|
171
178
|
position: absolute;
|
|
172
179
|
top: 0;
|
|
173
180
|
right: 0;
|
|
181
|
+
background-color: white;
|
|
174
182
|
|
|
175
183
|
.igloo-form-filter-filter-button {
|
|
176
184
|
border-radius: 0px 3px 3px 0px;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import "antd/es/row/style";
|
|
2
2
|
import _Row from "antd/es/row";
|
|
3
|
+
import "antd/es/divider/style";
|
|
4
|
+
import _Divider from "antd/es/divider";
|
|
3
5
|
import "antd/es/col/style";
|
|
4
6
|
import _Col from "antd/es/col";
|
|
7
|
+
import "antd/es/grid/style";
|
|
8
|
+
import _Grid from "antd/es/grid";
|
|
5
9
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
11
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
13
|
|
|
10
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
15
|
|
|
@@ -29,7 +33,7 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
29
33
|
|
|
30
34
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
31
35
|
|
|
32
|
-
import {
|
|
36
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
37
|
import { useReducer, useContext, useCallback } from 'react';
|
|
34
38
|
import Element from '../element';
|
|
35
39
|
import FormContext from '../../form-context';
|
|
@@ -38,6 +42,7 @@ import Typography from '../../typography';
|
|
|
38
42
|
import Button from '../../button';
|
|
39
43
|
import { LocaleContext } from '../../locale';
|
|
40
44
|
import './style/index.less';
|
|
45
|
+
var useBreakpoint = _Grid.useBreakpoint;
|
|
41
46
|
|
|
42
47
|
var AddableSection = function AddableSection(_ref) {
|
|
43
48
|
var parentName = _ref.parentName,
|
|
@@ -64,6 +69,9 @@ var AddableSection = function AddableSection(_ref) {
|
|
|
64
69
|
addButtonText = config.addButtonText,
|
|
65
70
|
addButtonIcon = config.addButtonIcon;
|
|
66
71
|
|
|
72
|
+
var _useBreakpoint = useBreakpoint(),
|
|
73
|
+
md = _useBreakpoint.md;
|
|
74
|
+
|
|
67
75
|
var _useContext = useContext(LocaleContext),
|
|
68
76
|
formatMessage = _useContext.formatMessage;
|
|
69
77
|
|
|
@@ -142,15 +150,19 @@ var AddableSection = function AddableSection(_ref) {
|
|
|
142
150
|
var parentName = calcNamePath(namePath, index);
|
|
143
151
|
return _jsxs(_Col, {
|
|
144
152
|
span: 24,
|
|
145
|
-
className: 'igloo-
|
|
146
|
-
children: [
|
|
153
|
+
className: 'igloo-form-addable-section',
|
|
154
|
+
children: [index > 0 && _jsx(_Divider, {
|
|
155
|
+
style: {
|
|
156
|
+
margin: !md ? preview ? '16px 0 24px 0' : '24px 0' : '32px 0 24px 0'
|
|
157
|
+
}
|
|
158
|
+
}), (groupKeys.length > min && !preview || label) && _jsxs(_Row, {
|
|
147
159
|
justify: "space-between",
|
|
148
160
|
className: 'igloo-addable-section-label',
|
|
149
|
-
children: [label ?
|
|
150
|
-
level:
|
|
161
|
+
children: [label ? _jsx(Typography, _objectSpread(_objectSpread({}, labelProps), {}, {
|
|
162
|
+
level: !md ? 'body1' : 'h3b',
|
|
151
163
|
wrapElement: "div",
|
|
152
|
-
children:
|
|
153
|
-
})
|
|
164
|
+
children: label
|
|
165
|
+
})) : _jsx("div", {}), groupKeys.length > min && !preview && _jsx(Button, {
|
|
154
166
|
type: "link",
|
|
155
167
|
className: "igloo-addable-section-label-remove",
|
|
156
168
|
onClick: function onClick() {
|
|
@@ -162,10 +174,13 @@ var AddableSection = function AddableSection(_ref) {
|
|
|
162
174
|
children: formatMessage({
|
|
163
175
|
id: 'Remove'
|
|
164
176
|
})
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
className: 'igloo-
|
|
177
|
+
})]
|
|
178
|
+
}), _jsx("div", _objectSpread(_objectSpread({
|
|
179
|
+
className: 'igloo-form-addable-section-content'
|
|
168
180
|
}, contentProps), {}, {
|
|
181
|
+
style: {
|
|
182
|
+
marginTop: !md ? 16 : 24
|
|
183
|
+
},
|
|
169
184
|
children: _jsx(_Row, {
|
|
170
185
|
gutter: [32, preview ? 16 : 24],
|
|
171
186
|
children: elements.map(function (child, index) {
|
|
@@ -177,19 +192,19 @@ var AddableSection = function AddableSection(_ref) {
|
|
|
177
192
|
setShowStepButton: setShowStepButton
|
|
178
193
|
}, index);
|
|
179
194
|
})
|
|
180
|
-
}
|
|
181
|
-
})
|
|
195
|
+
})
|
|
196
|
+
}))]
|
|
182
197
|
}, key);
|
|
183
198
|
});
|
|
184
199
|
return _jsxs("div", {
|
|
185
|
-
className: "igloo-
|
|
200
|
+
className: "igloo-form-addable-section-container",
|
|
186
201
|
style: {
|
|
187
202
|
width: '100%'
|
|
188
203
|
},
|
|
189
204
|
children: [groups, groupKeys.length < max && !preview && _jsx(_Col, {
|
|
190
205
|
span: 24,
|
|
191
206
|
style: {
|
|
192
|
-
marginTop:
|
|
207
|
+
marginTop: !md ? 24 : 32
|
|
193
208
|
},
|
|
194
209
|
children: _jsx(Button, {
|
|
195
210
|
onClick: function onClick() {
|
|
@@ -198,14 +213,14 @@ var AddableSection = function AddableSection(_ref) {
|
|
|
198
213
|
key: Date.now()
|
|
199
214
|
});
|
|
200
215
|
},
|
|
201
|
-
className: "igloo-addable-section-button",
|
|
216
|
+
className: "igloo-form-addable-section-button",
|
|
202
217
|
icon: addButtonIcon,
|
|
203
218
|
children: addButtonText || "".concat(formatMessage({
|
|
204
219
|
id: 'Add'
|
|
205
220
|
}), " ").concat(label)
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
221
|
+
})
|
|
222
|
+
})]
|
|
223
|
+
});
|
|
209
224
|
};
|
|
210
225
|
|
|
211
226
|
export default AddableSection;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
.igloo-
|
|
2
|
-
.igloo-
|
|
3
|
-
.igloo-
|
|
4
|
-
.igloo-
|
|
1
|
+
.igloo-form-addable-section-container {
|
|
2
|
+
.igloo-form-addable-section {
|
|
3
|
+
.igloo-form-addable-section-label {
|
|
4
|
+
.igloo-form-addable-section-label-remove {
|
|
5
5
|
height: auto;
|
|
6
6
|
border: none;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.igloo-
|
|
10
|
+
.igloo-form-addable-section-content {
|
|
11
11
|
margin-top: 16px;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
& + .igloo-freeform-addable-section {
|
|
15
|
-
margin-top: 24px;
|
|
16
|
-
}
|
|
17
13
|
}
|
|
18
14
|
|
|
19
|
-
.igloo-
|
|
15
|
+
.igloo-form-addable-section-button {
|
|
20
16
|
min-width: 221px;
|
|
21
17
|
}
|
|
22
18
|
}
|
package/es/form/divider/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import "antd/es/divider/style";
|
|
|
2
2
|
import _Divider from "antd/es/divider";
|
|
3
3
|
var _excluded = ["className"];
|
|
4
4
|
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
8
|
|
|
9
9
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ var DividerElement = function DividerElement(_ref) {
|
|
|
24
24
|
|
|
25
25
|
return _jsx(_Divider, _objectSpread({
|
|
26
26
|
className: classNames(className, 'igloo-form-divider')
|
|
27
|
-
}, omit(props, formMethods))
|
|
27
|
+
}, omit(props, formMethods)));
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
DividerElement.formItemPropsHandler = function () {
|
package/es/form/element/index.js
CHANGED
|
@@ -13,13 +13,13 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
13
13
|
|
|
14
14
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
15
15
|
|
|
16
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
16
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
17
|
|
|
18
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
19
|
|
|
20
20
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
21
|
|
|
22
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
22
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
23
23
|
|
|
24
24
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
25
25
|
|
|
@@ -157,7 +157,7 @@ var Element = function Element(_ref) {
|
|
|
157
157
|
preview: preview,
|
|
158
158
|
disabled: disabled,
|
|
159
159
|
setShowStepButton: setShowStepButton
|
|
160
|
-
}
|
|
160
|
+
});
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
if (type === 'AddableSection') {
|
|
@@ -167,7 +167,7 @@ var Element = function Element(_ref) {
|
|
|
167
167
|
preview: preview,
|
|
168
168
|
disabled: disabled,
|
|
169
169
|
setShowStepButton: setShowStepButton
|
|
170
|
-
}
|
|
170
|
+
});
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
var _calcFormItemProps = calcFormItemProps(config, _objectSpread(_objectSpread({}, extraConfig), {}, {
|
|
@@ -242,7 +242,7 @@ var Element = function Element(_ref) {
|
|
|
242
242
|
return null;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
return hideWhenEdit ? null : _jsx(_Col, _objectSpread(_objectSpread({}, restColProps), {}, {
|
|
245
|
+
return hideWhenEdit || !display ? null : _jsx(_Col, _objectSpread(_objectSpread({}, restColProps), {}, {
|
|
246
246
|
className: "igloo-form-item",
|
|
247
247
|
children: _jsx("div", {
|
|
248
248
|
style: {
|
|
@@ -258,9 +258,9 @@ var Element = function Element(_ref) {
|
|
|
258
258
|
setShowStepButton: setShowStepButton,
|
|
259
259
|
getFormInstance: getFormInstance,
|
|
260
260
|
validateField: validateField
|
|
261
|
-
})
|
|
262
|
-
}
|
|
263
|
-
})
|
|
261
|
+
}))
|
|
262
|
+
})
|
|
263
|
+
}));
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
if (!display) return null;
|
|
@@ -299,7 +299,7 @@ var Element = function Element(_ref) {
|
|
|
299
299
|
xs: 24,
|
|
300
300
|
className: "igloo-element-preview-label",
|
|
301
301
|
children: previewLabel || label
|
|
302
|
-
}
|
|
302
|
+
}), _jsxs(_Col, {
|
|
303
303
|
span: label ? 12 : 24,
|
|
304
304
|
md: label ? 12 : 24,
|
|
305
305
|
sm: 24,
|
|
@@ -307,13 +307,13 @@ var Element = function Element(_ref) {
|
|
|
307
307
|
className: "igloo-element-preview-value",
|
|
308
308
|
children: [error && !!error.length && _jsx(AlertFilled, {
|
|
309
309
|
className: "igloo-element-preview-value-icon"
|
|
310
|
-
}
|
|
310
|
+
}), _jsx("div", {
|
|
311
311
|
children: previewFormater ? previewFormater(value, form) : _typeof(value) === 'object' ? JSON.stringify(value) : value
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
})
|
|
316
|
-
}
|
|
312
|
+
})]
|
|
313
|
+
})]
|
|
314
|
+
})
|
|
315
|
+
}))
|
|
316
|
+
});
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
return config.hideWhenEdit ? null : _jsx(_Col, _objectSpread(_objectSpread({}, restColProps), {}, {
|
|
@@ -341,10 +341,10 @@ var Element = function Element(_ref) {
|
|
|
341
341
|
setShowStepButton: setShowStepButton,
|
|
342
342
|
getFormInstance: getFormInstance,
|
|
343
343
|
validateField: validateField
|
|
344
|
-
})
|
|
345
|
-
})
|
|
346
|
-
}
|
|
347
|
-
})
|
|
344
|
+
}))
|
|
345
|
+
}))
|
|
346
|
+
})
|
|
347
|
+
}));
|
|
348
348
|
};
|
|
349
349
|
|
|
350
350
|
export default Element;
|
package/es/form/elements.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
import Button from '../button';
|
|
3
|
-
import Radio, { RadioGroup } from '../radio';
|
|
3
|
+
import Radio, { RadioGroup, RadioGroupWithOther } from '../radio';
|
|
4
4
|
import Input, { PhoneNumber, Amount, Email, Password, InputNumber, TextArea, InputDate, CreditCard, Otp, ExpiryDate } from '../input';
|
|
5
5
|
import DatePicker, { IglooBuddhistDatePicker as BuddhistDatePicker, IglooRangePicker as RangePicker, IglooWeekPicker as WeekPicker, IglooMonthPicker as MonthPicker } from '../date-picker';
|
|
6
6
|
import Confirmation from '../confirmation';
|
|
@@ -11,6 +11,7 @@ import Declaration from '../declaration';
|
|
|
11
11
|
import Divider from './divider';
|
|
12
12
|
import UploadPhoto from '../upload-photo';
|
|
13
13
|
import RenderElement from './render';
|
|
14
|
+
import Typography from '../typography';
|
|
14
15
|
var elementMap = {
|
|
15
16
|
Input: Input,
|
|
16
17
|
PhoneNumber: PhoneNumber,
|
|
@@ -26,6 +27,7 @@ var elementMap = {
|
|
|
26
27
|
RangePicker: RangePicker,
|
|
27
28
|
Radio: Radio,
|
|
28
29
|
RadioGroup: RadioGroup,
|
|
30
|
+
RadioGroupWithOther: RadioGroupWithOther,
|
|
29
31
|
Button: Button,
|
|
30
32
|
Select: Select,
|
|
31
33
|
TimeSelect: TimeSelect,
|
|
@@ -39,7 +41,8 @@ var elementMap = {
|
|
|
39
41
|
UploadPhoto: UploadPhoto,
|
|
40
42
|
InputDate: InputDate,
|
|
41
43
|
Confirmation: Confirmation,
|
|
42
|
-
ExpiryDate: ExpiryDate
|
|
44
|
+
ExpiryDate: ExpiryDate,
|
|
45
|
+
Typography: Typography
|
|
43
46
|
};
|
|
44
47
|
|
|
45
48
|
var Unknown = function Unknown() {
|
package/es/form/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import "antd/es/form/style";
|
|
|
2
2
|
import _Form from "antd/es/form";
|
|
3
3
|
var _excluded = ["validateMessages"];
|
|
4
4
|
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
8
|
|
|
9
9
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
10
|
|
|
@@ -251,16 +251,16 @@ var IglooForm = function IglooForm(props, ref) {
|
|
|
251
251
|
scrollToFirstError: true,
|
|
252
252
|
children: [type === 'Pages' && _jsx(Pages, {
|
|
253
253
|
config: config
|
|
254
|
-
}
|
|
254
|
+
}), type === 'Page' && _jsx(Page, {
|
|
255
255
|
config: config
|
|
256
|
-
}
|
|
256
|
+
}), type === 'Steps' && _jsx(Steps, {
|
|
257
257
|
config: config
|
|
258
|
-
}
|
|
258
|
+
}), type === 'Login' && _jsx(Login, {
|
|
259
259
|
config: config
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
260
|
+
})]
|
|
261
|
+
})
|
|
262
|
+
})
|
|
263
|
+
});
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
var ExportedForm = function () {
|
package/es/form/login/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var Login = function Login(_ref) {
|
|
|
36
36
|
children: [label && _jsx("div", {
|
|
37
37
|
className: 'igloo-login-label',
|
|
38
38
|
children: label
|
|
39
|
-
}
|
|
39
|
+
}), _jsx("div", {
|
|
40
40
|
className: 'igloo-login-content',
|
|
41
41
|
children: _jsx(_Row, {
|
|
42
42
|
gutter: [32, 24],
|
|
@@ -46,8 +46,8 @@ var Login = function Login(_ref) {
|
|
|
46
46
|
config: child
|
|
47
47
|
}, index);
|
|
48
48
|
})
|
|
49
|
-
}
|
|
50
|
-
}
|
|
49
|
+
})
|
|
50
|
+
}), showSubmitButton && _jsx(_Form.Item, {
|
|
51
51
|
children: _jsx(_Button, {
|
|
52
52
|
type: "primary",
|
|
53
53
|
htmlType: "submit",
|
|
@@ -56,9 +56,9 @@ var Login = function Login(_ref) {
|
|
|
56
56
|
children: submitText || formatMessage({
|
|
57
57
|
id: 'Log in'
|
|
58
58
|
})
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
59
|
+
})
|
|
60
|
+
})]
|
|
61
|
+
});
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
export default Login;
|
package/es/form/page/index.js
CHANGED
|
@@ -76,8 +76,8 @@ var Page = function Page(_ref) {
|
|
|
76
76
|
parentName: calcNamePath(parentName, name)
|
|
77
77
|
}, index);
|
|
78
78
|
})
|
|
79
|
-
}
|
|
80
|
-
}
|
|
79
|
+
})
|
|
80
|
+
}), showFooter && showSubmitButton && _jsxs("div", {
|
|
81
81
|
className: 'igloo-page-footer',
|
|
82
82
|
children: [onCancel && _jsx(_Col, {
|
|
83
83
|
children: _jsx(Button, {
|
|
@@ -86,8 +86,8 @@ var Page = function Page(_ref) {
|
|
|
86
86
|
children: cancelText || formatMessage({
|
|
87
87
|
id: 'Cancel'
|
|
88
88
|
})
|
|
89
|
-
}
|
|
90
|
-
}
|
|
89
|
+
})
|
|
90
|
+
}), !onCancel && _jsx("div", {}), _jsx(_Form.Item, {
|
|
91
91
|
children: _jsx(Button, {
|
|
92
92
|
type: "primary",
|
|
93
93
|
htmlType: "submit",
|
|
@@ -97,10 +97,10 @@ var Page = function Page(_ref) {
|
|
|
97
97
|
children: submitText || formatMessage({
|
|
98
98
|
id: 'Submit'
|
|
99
99
|
})
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
100
|
+
})
|
|
101
|
+
})]
|
|
102
|
+
})]
|
|
103
|
+
});
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
export default Page;
|
package/es/form/pages/index.js
CHANGED
|
@@ -177,7 +177,7 @@ var Pages = function Pages(_ref) {
|
|
|
177
177
|
padding: md ? 0 : '0 16px'
|
|
178
178
|
},
|
|
179
179
|
children: renderElements[current].label
|
|
180
|
-
}
|
|
180
|
+
}), _jsxs("div", {
|
|
181
181
|
className: 'igloo-pages-content',
|
|
182
182
|
children: [renderElements.map(function (child, index) {
|
|
183
183
|
invariant(child.type === 'Page', 'Child of Pages should be Page');
|
|
@@ -192,11 +192,11 @@ var Pages = function Pages(_ref) {
|
|
|
192
192
|
config: child,
|
|
193
193
|
parentName: calcNamePath(parentName, name),
|
|
194
194
|
showFooter: false
|
|
195
|
-
}
|
|
195
|
+
})
|
|
196
196
|
}, child.key || child.name);
|
|
197
197
|
}), _jsxs("div", {
|
|
198
198
|
className: 'igloo-pages-footer',
|
|
199
|
-
children: [current === 0 && _jsx("div", {}
|
|
199
|
+
children: [current === 0 && _jsx("div", {}), current > 0 && _jsx(Button, {
|
|
200
200
|
className: 'igloo-pages-preview-button',
|
|
201
201
|
onClick: function onClick() {
|
|
202
202
|
return setCurrent(current - 1);
|
|
@@ -205,7 +205,7 @@ var Pages = function Pages(_ref) {
|
|
|
205
205
|
children: previewText || formatMessage({
|
|
206
206
|
id: 'Previous'
|
|
207
207
|
})
|
|
208
|
-
}
|
|
208
|
+
}), current < renderElements.length - 1 && _jsx(Button, {
|
|
209
209
|
className: 'igloo-pages-next-button',
|
|
210
210
|
onClick: handleNext,
|
|
211
211
|
disabled: buttonDisabled,
|
|
@@ -213,7 +213,7 @@ var Pages = function Pages(_ref) {
|
|
|
213
213
|
children: nextText || formatMessage({
|
|
214
214
|
id: 'Next'
|
|
215
215
|
})
|
|
216
|
-
}
|
|
216
|
+
}), current === renderElements.length - 1 && showSubmitButton && _jsx(_Form.Item, {
|
|
217
217
|
children: _jsx(Button, {
|
|
218
218
|
type: "primary",
|
|
219
219
|
htmlType: "submit",
|
|
@@ -223,11 +223,11 @@ var Pages = function Pages(_ref) {
|
|
|
223
223
|
children: submitText || formatMessage({
|
|
224
224
|
id: 'Submit'
|
|
225
225
|
})
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
226
|
+
})
|
|
227
|
+
})]
|
|
228
|
+
})]
|
|
229
|
+
})]
|
|
230
|
+
});
|
|
231
231
|
};
|
|
232
232
|
|
|
233
233
|
export default Pages;
|
package/es/form/render/index.js
CHANGED
package/es/form/section/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import "antd/es/col/style";
|
|
|
4
4
|
import _Col from "antd/es/col";
|
|
5
5
|
var _excluded = ["elements", "name", "label", "labelProps", "contentProps", "style"];
|
|
6
6
|
|
|
7
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
7
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
9
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
9
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10
10
|
|
|
11
11
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
12
|
|
|
@@ -75,7 +75,7 @@ var Section = function Section(_ref) {
|
|
|
75
75
|
level: "h4",
|
|
76
76
|
wrapElement: "div",
|
|
77
77
|
children: label
|
|
78
|
-
})
|
|
78
|
+
})), _jsx("div", _objectSpread(_objectSpread({
|
|
79
79
|
className: 'igloo-section-content'
|
|
80
80
|
}, contentProps), {}, {
|
|
81
81
|
children: _jsx(_Row, {
|
|
@@ -89,9 +89,9 @@ var Section = function Section(_ref) {
|
|
|
89
89
|
setShowStepButton: setShowStepButton
|
|
90
90
|
}, index);
|
|
91
91
|
})
|
|
92
|
-
}
|
|
93
|
-
})
|
|
94
|
-
}
|
|
92
|
+
})
|
|
93
|
+
}))]
|
|
94
|
+
}) : null;
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
export default Section;
|
package/es/form/step/index.js
CHANGED
|
@@ -43,6 +43,7 @@ var Step = function Step(_ref) {
|
|
|
43
43
|
editButtonLabel = _ref$config.editButtonLabel,
|
|
44
44
|
getButtonDisabledState = _ref$config.getButtonDisabledState,
|
|
45
45
|
disableEditButton = _ref$config.disableEditButton,
|
|
46
|
+
buttonText = _ref$config.buttonText,
|
|
46
47
|
edit = _ref.edit,
|
|
47
48
|
preview = _ref.preview,
|
|
48
49
|
index = _ref.index,
|
|
@@ -99,11 +100,11 @@ var Step = function Step(_ref) {
|
|
|
99
100
|
children: [(index !== total - 1 || showLastIndex) && _jsx("span", {
|
|
100
101
|
className: "igloo-step-label-index",
|
|
101
102
|
children: specialDisplayIndex(index + 1)
|
|
102
|
-
}
|
|
103
|
+
}), _jsx("span", {
|
|
103
104
|
className: "igloo-step-label-text",
|
|
104
105
|
children: label
|
|
105
|
-
}
|
|
106
|
-
}
|
|
106
|
+
})]
|
|
107
|
+
}), !preview && (index !== total - 1 || showLastIndex) && _jsx("div", {
|
|
107
108
|
className: "igloo-step-label-step-count",
|
|
108
109
|
children: formatMessage({
|
|
109
110
|
id: "{currentStep} of {allSteps}",
|
|
@@ -112,7 +113,7 @@ var Step = function Step(_ref) {
|
|
|
112
113
|
allSteps: displayTotal
|
|
113
114
|
}
|
|
114
115
|
})
|
|
115
|
-
}
|
|
116
|
+
}), preview && _jsx(Button, {
|
|
116
117
|
type: "link",
|
|
117
118
|
className: "igloo-step-label-edit",
|
|
118
119
|
onClick: handleEdit,
|
|
@@ -120,8 +121,8 @@ var Step = function Step(_ref) {
|
|
|
120
121
|
children: editButtonLabel || formatMessage({
|
|
121
122
|
id: 'Edit'
|
|
122
123
|
})
|
|
123
|
-
}
|
|
124
|
-
}
|
|
124
|
+
})]
|
|
125
|
+
}), (edit || preview) && _jsxs("div", {
|
|
125
126
|
className: 'igloo-step-content',
|
|
126
127
|
children: [_jsx(_Row, {
|
|
127
128
|
gutter: [32, preview ? 16 : 24],
|
|
@@ -133,17 +134,17 @@ var Step = function Step(_ref) {
|
|
|
133
134
|
preview: preview
|
|
134
135
|
}, index);
|
|
135
136
|
})
|
|
136
|
-
}
|
|
137
|
+
}), edit && index !== total - 1 && showButton && _jsx(_Row, {
|
|
137
138
|
children: _jsx(Button, {
|
|
138
139
|
onClick: handleNext,
|
|
139
140
|
className: 'igloo-step-button',
|
|
140
141
|
type: "primary",
|
|
141
142
|
disabled: buttonDisabled,
|
|
142
|
-
children: continueText || formatMessage({
|
|
143
|
+
children: buttonText || continueText || formatMessage({
|
|
143
144
|
id: 'Continue'
|
|
144
145
|
})
|
|
145
|
-
}
|
|
146
|
-
}
|
|
146
|
+
})
|
|
147
|
+
}), edit && index === total - 1 && showButton && showSubmitButton && _jsx(_Form.Item, {
|
|
147
148
|
style: {
|
|
148
149
|
marginBottom: 0
|
|
149
150
|
},
|
|
@@ -153,15 +154,15 @@ var Step = function Step(_ref) {
|
|
|
153
154
|
className: 'igloo-step-button',
|
|
154
155
|
loading: submitting,
|
|
155
156
|
disabled: buttonDisabled,
|
|
156
|
-
children: submitText || formatMessage({
|
|
157
|
+
children: buttonText || submitText || formatMessage({
|
|
157
158
|
id: 'Submit'
|
|
158
159
|
})
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
160
|
+
})
|
|
161
|
+
})]
|
|
162
|
+
}), !edit && !preview && _jsx(_Divider, {
|
|
162
163
|
className: "igloo-step-divider"
|
|
163
|
-
}
|
|
164
|
-
}
|
|
164
|
+
})]
|
|
165
|
+
});
|
|
165
166
|
};
|
|
166
167
|
|
|
167
168
|
export default Step;
|