iglooform 2.4.24 → 2.4.27
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 +11 -11
- package/es/admin-upload/job-list.js +47 -47
- package/es/admin-upload/modal.js +10 -10
- package/es/alert-message/index.js +7 -7
- package/es/amount/index.js +2 -2
- package/es/back-top/index.js +4 -4
- package/es/button/index.js +9 -9
- package/es/card-detail/card-group.js +6 -6
- package/es/card-detail/card-item.js +5 -5
- package/es/card-detail/card-page.js +5 -5
- package/es/card-detail/card.js +7 -7
- package/es/checkbox/index.js +6 -6
- package/es/claim-list/index.js +19 -19
- package/es/confirmation/index.js +4 -4
- package/es/date-picker/buddhist.js +2 -2
- package/es/date-picker/index.js +9 -9
- package/es/declaration/index.js +5 -5
- package/es/detail-panel/index.js +26 -26
- package/es/documents/index.js +2 -2
- package/es/example/index.js +5 -5
- package/es/filter/checkBox.js +10 -10
- package/es/filter/customize.js +1 -1
- package/es/filter/index.js +43 -43
- 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 +33 -18
- package/es/form/addable-section/style/index.less +6 -10
- package/es/form/divider/index.js +1 -1
- package/es/form/element/index.js +17 -17
- package/es/form/elements.js +5 -2
- package/es/form/index.js +7 -7
- 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 +4 -4
- package/es/form/step/index.js +14 -14
- package/es/form/steps/index.js +2 -2
- package/es/free-form/addable-section/index.js +29 -14
- package/es/free-form/addable-section/style/index.less +0 -4
- package/es/free-form/element/index.js +10 -10
- package/es/free-form/index.js +3 -3
- package/es/free-form/page/index.js +15 -15
- package/es/free-form/pages/index.js +2 -2
- package/es/free-form/section/index.js +4 -4
- package/es/free-form/step/index.js +14 -14
- package/es/free-form/steps/index.js +2 -2
- package/es/global-message/index.js +12 -12
- 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 +2 -2
- package/es/input/credit-card.js +4 -4
- package/es/input/email.js +1 -1
- package/es/input/expiry-date.js +3 -3
- package/es/input/input-date.js +3 -3
- package/es/input/input-number.js +1 -1
- package/es/input/input.js +1 -1
- package/es/input/otp.js +6 -6
- package/es/input/password.js +4 -4
- package/es/input/phone-number.js +4 -4
- package/es/input/text-area.js +4 -4
- 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 +25 -25
- package/es/layout/index.js +4 -4
- package/es/locale/en-US/messages.json +1 -0
- package/es/locale/id-ID/messages.json +1 -0
- package/es/locale/locale-provider.js +2 -2
- 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 +6 -6
- package/es/mobile-insurer-detail/index.js +18 -18
- package/es/mobile-insurer-list/index.js +11 -11
- package/es/modal/index.js +8 -8
- package/es/platform/platform-card/index.js +5 -5
- package/es/platform/switch-platform/index.js +43 -14
- package/es/policy-list/index.js +4 -4
- package/es/policy-list/policy-card.js +32 -32
- package/es/radio/index.d.ts +2 -1
- package/es/radio/index.js +13 -12
- 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 +17 -20
- package/es/select/select.js +6 -9
- package/es/select/time-select.js +20 -20
- package/es/status-box/index.js +2 -2
- package/es/table/index.js +33 -33
- package/es/tabs/index.js +1 -1
- package/es/typography/index.js +10 -3
- package/es/upload/index.js +28 -28
- package/es/upload-photo/index.js +28 -28
- 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 +11 -11
- package/lib/admin-upload/float.js +14 -14
- package/lib/admin-upload/index.js +11 -11
- package/lib/admin-upload/job-list.js +47 -47
- package/lib/admin-upload/modal.js +10 -10
- package/lib/alert-message/index.js +7 -7
- package/lib/amount/index.js +2 -2
- package/lib/back-top/index.js +4 -4
- package/lib/button/index.js +9 -9
- package/lib/card-detail/card-group.js +6 -6
- package/lib/card-detail/card-item.js +5 -5
- package/lib/card-detail/card-page.js +5 -5
- package/lib/card-detail/card.js +7 -7
- package/lib/checkbox/index.js +6 -6
- package/lib/claim-list/index.js +19 -19
- package/lib/confirmation/index.js +4 -4
- package/lib/date-picker/buddhist.js +2 -2
- package/lib/date-picker/index.js +9 -9
- package/lib/declaration/index.js +5 -5
- package/lib/detail-panel/index.js +26 -26
- package/lib/documents/index.js +2 -2
- package/lib/example/index.js +5 -5
- package/lib/filter/checkBox.js +10 -10
- package/lib/filter/customize.js +1 -1
- package/lib/filter/index.js +43 -43
- 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 +37 -17
- package/lib/form/addable-section/style/index.less +6 -10
- package/lib/form/divider/index.js +1 -1
- package/lib/form/element/index.js +17 -17
- package/lib/form/elements.js +5 -1
- package/lib/form/index.js +7 -7
- 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 +4 -4
- package/lib/form/step/index.js +14 -14
- package/lib/form/steps/index.js +2 -2
- package/lib/free-form/addable-section/index.js +33 -13
- package/lib/free-form/addable-section/style/index.less +0 -4
- package/lib/free-form/element/index.js +10 -10
- package/lib/free-form/index.js +3 -3
- package/lib/free-form/page/index.js +15 -15
- package/lib/free-form/pages/index.js +2 -2
- package/lib/free-form/section/index.js +4 -4
- package/lib/free-form/step/index.js +14 -14
- package/lib/free-form/steps/index.js +2 -2
- package/lib/global-message/index.js +12 -12
- package/lib/home-menu/index.js +18 -18
- package/lib/index.d.ts +1 -1
- package/lib/index.js +7 -0
- package/lib/input/amount.js +2 -2
- package/lib/input/credit-card.js +4 -4
- package/lib/input/email.js +1 -1
- package/lib/input/expiry-date.js +3 -3
- package/lib/input/input-date.js +3 -3
- package/lib/input/input-number.js +1 -1
- package/lib/input/input.js +1 -1
- package/lib/input/otp.js +6 -6
- package/lib/input/password.js +4 -4
- package/lib/input/phone-number.js +4 -4
- package/lib/input/text-area.js +4 -4
- 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 +25 -25
- package/lib/layout/index.js +4 -4
- package/lib/locale/en-US/messages.json +1 -0
- package/lib/locale/id-ID/messages.json +1 -0
- package/lib/locale/locale-provider.js +2 -2
- 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 +6 -6
- package/lib/mobile-insurer-detail/index.js +18 -18
- package/lib/mobile-insurer-list/index.js +11 -11
- package/lib/modal/index.js +8 -8
- package/lib/platform/platform-card/index.js +5 -5
- package/lib/platform/switch-platform/index.js +42 -13
- package/lib/policy-list/index.js +4 -4
- package/lib/policy-list/policy-card.js +32 -32
- package/lib/radio/index.d.ts +2 -1
- package/lib/radio/index.js +21 -12
- 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 +16 -19
- package/lib/select/select.js +5 -8
- package/lib/select/time-select.js +20 -20
- package/lib/status-box/index.js +2 -2
- package/lib/table/index.js +33 -33
- package/lib/tabs/index.js +1 -1
- package/lib/typography/index.js +10 -3
- package/lib/upload/index.js +28 -28
- package/lib/upload-photo/index.js +28 -28
- 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 +10 -10
- package/package.json +1 -1
package/es/checkbox/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import classnames from 'classnames';
|
|
|
25
25
|
import './style/index.less';
|
|
26
26
|
|
|
27
27
|
var IglooCheckbox = function IglooCheckbox(props) {
|
|
28
|
-
return _jsx(_Checkbox, _objectSpread({}, omit(props, formMethods))
|
|
28
|
+
return _jsx(_Checkbox, _objectSpread({}, omit(props, formMethods)));
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
IglooCheckbox.formItemPropsHandler = function (config) {
|
|
@@ -65,15 +65,15 @@ export var CheckboxGroup = function CheckboxGroup(_ref) {
|
|
|
65
65
|
children: _jsx(Typography, {
|
|
66
66
|
level: "body1",
|
|
67
67
|
children: label
|
|
68
|
-
}
|
|
69
|
-
})
|
|
68
|
+
})
|
|
69
|
+
})), _jsx("div", {
|
|
70
70
|
className: "igloo-checkbox-extra",
|
|
71
71
|
children: extraInfo && (extraInfo.shownTrigger === 'all' || extraInfo.shownTrigger === 'checked' && value === key || extraInfo.shownTrigger === 'unchecked' && value !== key) && extraInfo.content
|
|
72
|
-
}
|
|
72
|
+
})]
|
|
73
73
|
}, key);
|
|
74
74
|
})
|
|
75
|
-
}
|
|
76
|
-
})
|
|
75
|
+
})
|
|
76
|
+
}));
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
CheckboxGroup.formItemPropsHandler = function () {
|
package/es/claim-list/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
166
166
|
dataList: getSomeMustProps,
|
|
167
167
|
className: className,
|
|
168
168
|
style: style
|
|
169
|
-
}
|
|
169
|
+
});
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
var columnsAddWidth = columns.map(function (column, index) {
|
|
@@ -224,14 +224,14 @@ var ClaimList = function ClaimList(props) {
|
|
|
224
224
|
onClick: function onClick(e) {
|
|
225
225
|
return onExpand(record, e);
|
|
226
226
|
}
|
|
227
|
-
}
|
|
227
|
+
}) : _jsx(ArrowDownOutlined, {
|
|
228
228
|
style: {
|
|
229
229
|
fontSize: 24
|
|
230
230
|
},
|
|
231
231
|
onClick: function onClick(e) {
|
|
232
232
|
return onExpand(record, e);
|
|
233
233
|
}
|
|
234
|
-
}
|
|
234
|
+
});
|
|
235
235
|
},
|
|
236
236
|
expandedRowRender: function expandedRowRender(record) {
|
|
237
237
|
var messageBar = record.messageBar,
|
|
@@ -250,13 +250,13 @@ var ClaimList = function ClaimList(props) {
|
|
|
250
250
|
children: [messageBar && _jsxs(_Fragment, {
|
|
251
251
|
children: [_jsx(AlertMessage, _objectSpread(_objectSpread({}, messageBar), {}, {
|
|
252
252
|
className: classnames('claim-detail-message-bar-container')
|
|
253
|
-
})
|
|
253
|
+
})), !showDetailStatus && _jsx("div", {
|
|
254
254
|
style: {
|
|
255
255
|
marginTop: 16,
|
|
256
256
|
width: '100%'
|
|
257
257
|
}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
258
|
+
})]
|
|
259
|
+
}), infoGroups && _jsx(_Collapse, {
|
|
260
260
|
className: "igloo-policy-collapse-container",
|
|
261
261
|
activeKey: showDetailKeys.includes(key) ? allkeys : [],
|
|
262
262
|
children: infoGroups.map(function (group, index) {
|
|
@@ -271,8 +271,8 @@ var ClaimList = function ClaimList(props) {
|
|
|
271
271
|
children: _jsx(Typography, {
|
|
272
272
|
level: "h4",
|
|
273
273
|
children: sectionName
|
|
274
|
-
}
|
|
275
|
-
}
|
|
274
|
+
})
|
|
275
|
+
}), _jsx(_Row, {
|
|
276
276
|
gutter: [24, 32],
|
|
277
277
|
children: infoItems.map(function (item, index) {
|
|
278
278
|
var _item$span = item.span,
|
|
@@ -293,8 +293,8 @@ var ClaimList = function ClaimList(props) {
|
|
|
293
293
|
children: _jsx(Typography, {
|
|
294
294
|
level: "body1",
|
|
295
295
|
children: title
|
|
296
|
-
}
|
|
297
|
-
}
|
|
296
|
+
})
|
|
297
|
+
}), textArr.map(function (textItem, index) {
|
|
298
298
|
var text = textItem.text,
|
|
299
299
|
link = textItem.link;
|
|
300
300
|
|
|
@@ -304,7 +304,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
304
304
|
children: _jsx(Typography, {
|
|
305
305
|
level: "body1",
|
|
306
306
|
children: textItem
|
|
307
|
-
}
|
|
307
|
+
})
|
|
308
308
|
}, index);
|
|
309
309
|
} // 处理link (一个or多个,换行or不换行)
|
|
310
310
|
|
|
@@ -319,13 +319,13 @@ var ClaimList = function ClaimList(props) {
|
|
|
319
319
|
children: [_jsx(Typography, {
|
|
320
320
|
level: "body1",
|
|
321
321
|
children: text
|
|
322
|
-
}
|
|
322
|
+
}), _jsx(Button, {
|
|
323
323
|
onClick: onClick ? function () {
|
|
324
324
|
return onClick(record);
|
|
325
325
|
} : function () {},
|
|
326
326
|
type: "link",
|
|
327
327
|
children: link.linkText
|
|
328
|
-
}
|
|
328
|
+
})]
|
|
329
329
|
}, index);
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -334,7 +334,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
334
334
|
children: [_jsx(Typography, {
|
|
335
335
|
level: "body1",
|
|
336
336
|
children: text
|
|
337
|
-
}
|
|
337
|
+
}), linkArr.map(function (linkObj, index) {
|
|
338
338
|
var onClick = linkObj.onClick;
|
|
339
339
|
return _jsx("div", {
|
|
340
340
|
style: {
|
|
@@ -346,21 +346,21 @@ var ClaimList = function ClaimList(props) {
|
|
|
346
346
|
} : function () {},
|
|
347
347
|
type: "link",
|
|
348
348
|
children: linkObj.linkText
|
|
349
|
-
}
|
|
349
|
+
})
|
|
350
350
|
}, index);
|
|
351
351
|
})]
|
|
352
352
|
}, index);
|
|
353
353
|
})]
|
|
354
354
|
}, index);
|
|
355
355
|
})
|
|
356
|
-
}
|
|
356
|
+
})]
|
|
357
357
|
}, index);
|
|
358
358
|
})
|
|
359
|
-
}
|
|
360
|
-
}
|
|
359
|
+
})]
|
|
360
|
+
});
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
}, restProps)
|
|
363
|
+
}, restProps));
|
|
364
364
|
};
|
|
365
365
|
|
|
366
366
|
export default ClaimList;
|
package/es/confirmation/index.js
CHANGED
|
@@ -62,7 +62,7 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
62
62
|
children: [_jsx(Checkbox, {
|
|
63
63
|
onChange: handleCheckbox,
|
|
64
64
|
checked: value
|
|
65
|
-
}
|
|
65
|
+
}), _jsx(Typography, {
|
|
66
66
|
level: "body1",
|
|
67
67
|
onClick: function onClick(e) {
|
|
68
68
|
e.stopPropagation();
|
|
@@ -78,7 +78,7 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
78
78
|
marginLeft: 8
|
|
79
79
|
},
|
|
80
80
|
children: message
|
|
81
|
-
}
|
|
81
|
+
}), modalContent && _jsx(Modal, {
|
|
82
82
|
title: modalTitle,
|
|
83
83
|
visible: visible,
|
|
84
84
|
onOk: handleAccept,
|
|
@@ -91,8 +91,8 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
91
91
|
id: 'Reject'
|
|
92
92
|
}),
|
|
93
93
|
children: modalContent
|
|
94
|
-
}
|
|
95
|
-
}
|
|
94
|
+
})]
|
|
95
|
+
});
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
Confirmation.formItemPropsHandler = function () {
|
|
@@ -62,7 +62,7 @@ var IglooBuddhistDatePicker = function IglooBuddhistDatePicker(_ref) {
|
|
|
62
62
|
style: {
|
|
63
63
|
fontSize: 24
|
|
64
64
|
}
|
|
65
|
-
}
|
|
65
|
+
}) : _ref$suffixIcon,
|
|
66
66
|
className = _ref.className,
|
|
67
67
|
_onOpenChange = _ref.onOpenChange,
|
|
68
68
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -87,7 +87,7 @@ var IglooBuddhistDatePicker = function IglooBuddhistDatePicker(_ref) {
|
|
|
87
87
|
},
|
|
88
88
|
dropdownClassName: "igloo-date-picker-panel",
|
|
89
89
|
showToday: false
|
|
90
|
-
})
|
|
90
|
+
}));
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
IglooBuddhistDatePicker.formItemPropsHandler = function (_ref2) {
|
package/es/date-picker/index.js
CHANGED
|
@@ -51,7 +51,7 @@ var IglooDatePicker = function IglooDatePicker(_ref) {
|
|
|
51
51
|
style: {
|
|
52
52
|
fontSize: 24
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}) : _ref$suffixIcon,
|
|
55
55
|
className = _ref.className,
|
|
56
56
|
_onOpenChange = _ref.onOpenChange,
|
|
57
57
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -76,7 +76,7 @@ var IglooDatePicker = function IglooDatePicker(_ref) {
|
|
|
76
76
|
typeof _onOpenChange === 'function' && _onOpenChange(open);
|
|
77
77
|
},
|
|
78
78
|
dropdownClassName: "igloo-date-picker-panel"
|
|
79
|
-
})
|
|
79
|
+
}));
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
IglooDatePicker.formItemPropsHandler = function (_ref2) {
|
|
@@ -104,7 +104,7 @@ export var IglooRangePicker = function IglooRangePicker(_ref3) {
|
|
|
104
104
|
style: {
|
|
105
105
|
fontSize: 24
|
|
106
106
|
}
|
|
107
|
-
}
|
|
107
|
+
}) : _ref3$suffixIcon,
|
|
108
108
|
className = _ref3.className,
|
|
109
109
|
_onOpenChange2 = _ref3.onOpenChange,
|
|
110
110
|
props = _objectWithoutProperties(_ref3, _excluded2);
|
|
@@ -129,8 +129,8 @@ export var IglooRangePicker = function IglooRangePicker(_ref3) {
|
|
|
129
129
|
dropdownClassName: "igloo-date-picker-panel",
|
|
130
130
|
separator: _jsx("div", {
|
|
131
131
|
className: "igloo-date-picker-separate"
|
|
132
|
-
}
|
|
133
|
-
})
|
|
132
|
+
})
|
|
133
|
+
}));
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
IglooRangePicker.formItemPropsHandler = function (_ref4) {
|
|
@@ -173,7 +173,7 @@ export var IglooWeekPicker = function IglooWeekPicker(_ref9) {
|
|
|
173
173
|
style: {
|
|
174
174
|
fontSize: 24
|
|
175
175
|
}
|
|
176
|
-
}
|
|
176
|
+
}) : _ref9$suffixIcon,
|
|
177
177
|
className = _ref9.className,
|
|
178
178
|
_onOpenChange3 = _ref9.onOpenChange,
|
|
179
179
|
props = _objectWithoutProperties(_ref9, _excluded3);
|
|
@@ -197,7 +197,7 @@ export var IglooWeekPicker = function IglooWeekPicker(_ref9) {
|
|
|
197
197
|
typeof _onOpenChange3 === 'function' && _onOpenChange3(open);
|
|
198
198
|
},
|
|
199
199
|
dropdownClassName: "igloo-date-picker-panel"
|
|
200
|
-
})
|
|
200
|
+
}));
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
IglooWeekPicker.formItemPropsHandler = function (_ref10) {
|
|
@@ -225,7 +225,7 @@ export var IglooMonthPicker = function IglooMonthPicker(_ref11) {
|
|
|
225
225
|
style: {
|
|
226
226
|
fontSize: 24
|
|
227
227
|
}
|
|
228
|
-
}
|
|
228
|
+
}) : _ref11$suffixIcon,
|
|
229
229
|
_onOpenChange4 = _ref11.onOpenChange,
|
|
230
230
|
className = _ref11.className,
|
|
231
231
|
props = _objectWithoutProperties(_ref11, _excluded4);
|
|
@@ -249,7 +249,7 @@ export var IglooMonthPicker = function IglooMonthPicker(_ref11) {
|
|
|
249
249
|
typeof _onOpenChange4 === 'function' && _onOpenChange4(open);
|
|
250
250
|
},
|
|
251
251
|
dropdownClassName: "igloo-date-picker-panel"
|
|
252
|
-
})
|
|
252
|
+
}));
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
IglooMonthPicker.formItemPropsHandler = function (_ref12) {
|
package/es/declaration/index.js
CHANGED
|
@@ -37,21 +37,21 @@ var Declaration = function Declaration(_ref) {
|
|
|
37
37
|
children: [title, title === undefined && formatMessage({
|
|
38
38
|
id: 'Please take a moment to review what you’ve told us above.'
|
|
39
39
|
})]
|
|
40
|
-
}
|
|
40
|
+
}), _jsxs("div", {
|
|
41
41
|
className: "igloo-form-declaration-description",
|
|
42
42
|
children: [description, description === undefined && formatMessage({
|
|
43
43
|
id: 'Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.'
|
|
44
44
|
})]
|
|
45
|
-
}
|
|
45
|
+
}), _jsx(_Divider, {
|
|
46
46
|
className: "igloo-form-declaration-divider"
|
|
47
|
-
}
|
|
47
|
+
}), _jsx(_Checkbox, _objectSpread(_objectSpread({
|
|
48
48
|
className: "igloo-form-declaration-declaration"
|
|
49
49
|
}, omit(rest, formMethods)), {}, {
|
|
50
50
|
children: declaration || formatMessage({
|
|
51
51
|
id: 'I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.'
|
|
52
52
|
})
|
|
53
|
-
})
|
|
54
|
-
}
|
|
53
|
+
}))]
|
|
54
|
+
});
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
Declaration.formItemPropsHandler = function (config) {
|
package/es/detail-panel/index.js
CHANGED
|
@@ -61,38 +61,38 @@ var DetailPanel = function DetailPanel(_ref) {
|
|
|
61
61
|
children: [_jsx(Typography, {
|
|
62
62
|
level: "body1",
|
|
63
63
|
children: title
|
|
64
|
-
}
|
|
64
|
+
}), _jsx(ArrowDownOutlined, {
|
|
65
65
|
style: {
|
|
66
66
|
opacity: visible ? 1 : 0
|
|
67
67
|
},
|
|
68
68
|
className: "igloo-detail-panel-arrow"
|
|
69
|
-
}
|
|
69
|
+
}), _jsx(ArrowUpOutlined, {
|
|
70
70
|
style: {
|
|
71
71
|
opacity: visible ? 0 : 1
|
|
72
72
|
},
|
|
73
73
|
className: "igloo-detail-panel-arrow"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
74
|
+
})]
|
|
75
|
+
}), visible && _jsxs("div", {
|
|
76
76
|
className: "igloo-detail-panel-content",
|
|
77
77
|
children: [needSubContent && _jsxs("div", {
|
|
78
78
|
className: "igloo-detail-panel-sub-title",
|
|
79
79
|
children: [icon && _jsx("div", {
|
|
80
80
|
className: "sub-title-icon",
|
|
81
81
|
children: icon
|
|
82
|
-
}
|
|
82
|
+
}), _jsxs("div", {
|
|
83
83
|
className: "sub-title-content",
|
|
84
84
|
children: [subTitle && _jsx(Typography, {
|
|
85
85
|
level: "h4",
|
|
86
86
|
className: "sub-title-title",
|
|
87
87
|
children: subTitle
|
|
88
|
-
}
|
|
88
|
+
}), status && _jsx("div", {
|
|
89
89
|
className: "sub-title-status",
|
|
90
|
-
children: _jsx(Status, _objectSpread({}, status)
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
90
|
+
children: _jsx(Status, _objectSpread({}, status))
|
|
91
|
+
})]
|
|
92
|
+
})]
|
|
93
|
+
}), children]
|
|
94
|
+
})]
|
|
95
|
+
});
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
return _jsxs("div", {
|
|
@@ -100,27 +100,27 @@ var DetailPanel = function DetailPanel(_ref) {
|
|
|
100
100
|
children: [_jsx(Typography, {
|
|
101
101
|
level: "h3b",
|
|
102
102
|
children: title
|
|
103
|
-
}
|
|
103
|
+
}), _jsxs("div", {
|
|
104
104
|
className: "igloo-detail-panel-content",
|
|
105
105
|
children: [needSubContent && _jsxs("div", {
|
|
106
106
|
className: "igloo-detail-panel-sub-title",
|
|
107
107
|
children: [icon && _jsx("div", {
|
|
108
108
|
className: "sub-title-icon",
|
|
109
109
|
children: icon
|
|
110
|
-
}
|
|
110
|
+
}), _jsxs("div", {
|
|
111
111
|
className: "sub-title-content",
|
|
112
112
|
children: [subTitle && _jsx(Typography, {
|
|
113
113
|
level: "h4",
|
|
114
114
|
className: "sub-title-title",
|
|
115
115
|
children: subTitle
|
|
116
|
-
}
|
|
116
|
+
}), status && _jsx("div", {
|
|
117
117
|
className: "sub-title-status",
|
|
118
|
-
children: _jsx(Status, _objectSpread({}, status)
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
118
|
+
children: _jsx(Status, _objectSpread({}, status))
|
|
119
|
+
})]
|
|
120
|
+
})]
|
|
121
|
+
}), children]
|
|
122
|
+
})]
|
|
123
|
+
});
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
DetailPanel.DetailItem = function (_ref2) {
|
|
@@ -135,16 +135,16 @@ DetailPanel.DetailItem = function (_ref2) {
|
|
|
135
135
|
level: "body1",
|
|
136
136
|
className: "igloo-detail-panel-item-title",
|
|
137
137
|
children: title
|
|
138
|
-
}
|
|
139
|
-
}
|
|
138
|
+
})
|
|
139
|
+
}), _jsx(_Col, {
|
|
140
140
|
span: 24,
|
|
141
141
|
children: _jsx(Typography, {
|
|
142
142
|
level: "body1",
|
|
143
143
|
className: "igloo-detail-panel-item-value",
|
|
144
144
|
children: value
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
145
|
+
})
|
|
146
|
+
})]
|
|
147
|
+
});
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
export default DetailPanel;
|
package/es/documents/index.js
CHANGED
package/es/example/index.js
CHANGED
|
@@ -89,12 +89,12 @@ var Excample = function Excample(_ref) {
|
|
|
89
89
|
setResult(undefined);
|
|
90
90
|
},
|
|
91
91
|
shape: "circle",
|
|
92
|
-
icon: _jsx(RedoOutlined, {}
|
|
92
|
+
icon: _jsx(RedoOutlined, {}),
|
|
93
93
|
type: "primary",
|
|
94
94
|
style: {
|
|
95
95
|
marginBottom: 16
|
|
96
96
|
}
|
|
97
|
-
}
|
|
97
|
+
}), _jsx(Select, {
|
|
98
98
|
defaultValue: currentLang,
|
|
99
99
|
style: {
|
|
100
100
|
width: 200,
|
|
@@ -104,7 +104,7 @@ var Excample = function Excample(_ref) {
|
|
|
104
104
|
onChange: function onChange(e) {
|
|
105
105
|
return setLang(e);
|
|
106
106
|
}
|
|
107
|
-
}
|
|
107
|
+
}), /*#__PURE__*/React.cloneElement(children, _objectSpread(_objectSpread({}, rest), {}, {
|
|
108
108
|
onSubmit: handleSubmit,
|
|
109
109
|
key: key
|
|
110
110
|
})), result && _jsx(ReactJson, {
|
|
@@ -112,8 +112,8 @@ var Excample = function Excample(_ref) {
|
|
|
112
112
|
displayDataTypes: false,
|
|
113
113
|
name: false,
|
|
114
114
|
displayObjectSize: false
|
|
115
|
-
}
|
|
116
|
-
}
|
|
115
|
+
})]
|
|
116
|
+
});
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
export default Excample;
|
package/es/filter/checkBox.js
CHANGED
|
@@ -80,7 +80,7 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
80
80
|
children: [_jsx(Typography, {
|
|
81
81
|
level: "h4",
|
|
82
82
|
children: title
|
|
83
|
-
}
|
|
83
|
+
}), allChoose ? _jsx("span", {
|
|
84
84
|
className: "igloo-form-filter-drop-down-container-content-group-title-action",
|
|
85
85
|
onClick: function onClick() {
|
|
86
86
|
valueConfirm({
|
|
@@ -94,8 +94,8 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
94
94
|
children: formatMessage({
|
|
95
95
|
id: 'Unselect All'
|
|
96
96
|
})
|
|
97
|
-
}
|
|
98
|
-
}
|
|
97
|
+
})
|
|
98
|
+
}) : _jsx("span", {
|
|
99
99
|
className: "igloo-form-filter-drop-down-container-content-group-title-action",
|
|
100
100
|
onClick: function onClick() {
|
|
101
101
|
valueConfirm({
|
|
@@ -109,9 +109,9 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
109
109
|
children: formatMessage({
|
|
110
110
|
id: 'Select All'
|
|
111
111
|
})
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
112
|
+
})
|
|
113
|
+
})]
|
|
114
|
+
}), _jsx(_Checkbox.Group, {
|
|
115
115
|
value: handleFilterDisable(chooseed, disabled),
|
|
116
116
|
style: {
|
|
117
117
|
width: '100%'
|
|
@@ -133,16 +133,16 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
133
133
|
children: _jsx(Typography, {
|
|
134
134
|
level: "body1",
|
|
135
135
|
children: item.label
|
|
136
|
-
}
|
|
137
|
-
}
|
|
136
|
+
})
|
|
137
|
+
})
|
|
138
138
|
}, item.value);
|
|
139
139
|
})
|
|
140
|
-
}
|
|
140
|
+
})
|
|
141
141
|
}, String(timeKey.valueOf())), _jsx(_Divider, {
|
|
142
142
|
style: {
|
|
143
143
|
margin: '16px 0px'
|
|
144
144
|
}
|
|
145
|
-
}
|
|
145
|
+
})]
|
|
146
146
|
}, optionKey);
|
|
147
147
|
};
|
|
148
148
|
|