iglooform 2.4.25 → 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 +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 +12 -12
- 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 +12 -12
- 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/lib/claim-list/index.js
CHANGED
|
@@ -193,7 +193,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
193
193
|
dataList: getSomeMustProps,
|
|
194
194
|
className: className,
|
|
195
195
|
style: style
|
|
196
|
-
}
|
|
196
|
+
});
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
var columnsAddWidth = columns.map(function (column, index) {
|
|
@@ -251,14 +251,14 @@ var ClaimList = function ClaimList(props) {
|
|
|
251
251
|
onClick: function onClick(e) {
|
|
252
252
|
return onExpand(record, e);
|
|
253
253
|
}
|
|
254
|
-
}
|
|
254
|
+
}) : (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
|
|
255
255
|
style: {
|
|
256
256
|
fontSize: 24
|
|
257
257
|
},
|
|
258
258
|
onClick: function onClick(e) {
|
|
259
259
|
return onExpand(record, e);
|
|
260
260
|
}
|
|
261
|
-
}
|
|
261
|
+
});
|
|
262
262
|
},
|
|
263
263
|
expandedRowRender: function expandedRowRender(record) {
|
|
264
264
|
var messageBar = record.messageBar,
|
|
@@ -277,13 +277,13 @@ var ClaimList = function ClaimList(props) {
|
|
|
277
277
|
children: [messageBar && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
278
278
|
children: [(0, _jsxRuntime.jsx)(_alertMessage.default, _objectSpread(_objectSpread({}, messageBar), {}, {
|
|
279
279
|
className: (0, _classnames.default)('claim-detail-message-bar-container')
|
|
280
|
-
})
|
|
280
|
+
})), !showDetailStatus && (0, _jsxRuntime.jsx)("div", {
|
|
281
281
|
style: {
|
|
282
282
|
marginTop: 16,
|
|
283
283
|
width: '100%'
|
|
284
284
|
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
285
|
+
})]
|
|
286
|
+
}), infoGroups && (0, _jsxRuntime.jsx)(_collapse.default, {
|
|
287
287
|
className: "igloo-policy-collapse-container",
|
|
288
288
|
activeKey: showDetailKeys.includes(key) ? allkeys : [],
|
|
289
289
|
children: infoGroups.map(function (group, index) {
|
|
@@ -298,8 +298,8 @@ var ClaimList = function ClaimList(props) {
|
|
|
298
298
|
children: (0, _jsxRuntime.jsx)(_typography.default, {
|
|
299
299
|
level: "h4",
|
|
300
300
|
children: sectionName
|
|
301
|
-
}
|
|
302
|
-
}
|
|
301
|
+
})
|
|
302
|
+
}), (0, _jsxRuntime.jsx)(_row.default, {
|
|
303
303
|
gutter: [24, 32],
|
|
304
304
|
children: infoItems.map(function (item, index) {
|
|
305
305
|
var _item$span = item.span,
|
|
@@ -320,8 +320,8 @@ var ClaimList = function ClaimList(props) {
|
|
|
320
320
|
children: (0, _jsxRuntime.jsx)(_typography.default, {
|
|
321
321
|
level: "body1",
|
|
322
322
|
children: title
|
|
323
|
-
}
|
|
324
|
-
}
|
|
323
|
+
})
|
|
324
|
+
}), textArr.map(function (textItem, index) {
|
|
325
325
|
var text = textItem.text,
|
|
326
326
|
link = textItem.link;
|
|
327
327
|
|
|
@@ -331,7 +331,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
331
331
|
children: (0, _jsxRuntime.jsx)(_typography.default, {
|
|
332
332
|
level: "body1",
|
|
333
333
|
children: textItem
|
|
334
|
-
}
|
|
334
|
+
})
|
|
335
335
|
}, index);
|
|
336
336
|
} // 处理link (一个or多个,换行or不换行)
|
|
337
337
|
|
|
@@ -346,13 +346,13 @@ var ClaimList = function ClaimList(props) {
|
|
|
346
346
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
347
347
|
level: "body1",
|
|
348
348
|
children: text
|
|
349
|
-
}
|
|
349
|
+
}), (0, _jsxRuntime.jsx)(_button.default, {
|
|
350
350
|
onClick: onClick ? function () {
|
|
351
351
|
return onClick(record);
|
|
352
352
|
} : function () {},
|
|
353
353
|
type: "link",
|
|
354
354
|
children: link.linkText
|
|
355
|
-
}
|
|
355
|
+
})]
|
|
356
356
|
}, index);
|
|
357
357
|
}
|
|
358
358
|
|
|
@@ -361,7 +361,7 @@ var ClaimList = function ClaimList(props) {
|
|
|
361
361
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
362
362
|
level: "body1",
|
|
363
363
|
children: text
|
|
364
|
-
}
|
|
364
|
+
}), linkArr.map(function (linkObj, index) {
|
|
365
365
|
var onClick = linkObj.onClick;
|
|
366
366
|
return (0, _jsxRuntime.jsx)("div", {
|
|
367
367
|
style: {
|
|
@@ -373,21 +373,21 @@ var ClaimList = function ClaimList(props) {
|
|
|
373
373
|
} : function () {},
|
|
374
374
|
type: "link",
|
|
375
375
|
children: linkObj.linkText
|
|
376
|
-
}
|
|
376
|
+
})
|
|
377
377
|
}, index);
|
|
378
378
|
})]
|
|
379
379
|
}, index);
|
|
380
380
|
})]
|
|
381
381
|
}, index);
|
|
382
382
|
})
|
|
383
|
-
}
|
|
383
|
+
})]
|
|
384
384
|
}, index);
|
|
385
385
|
})
|
|
386
|
-
}
|
|
387
|
-
}
|
|
386
|
+
})]
|
|
387
|
+
});
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
}, restProps)
|
|
390
|
+
}, restProps));
|
|
391
391
|
};
|
|
392
392
|
|
|
393
393
|
var _default = ClaimList;
|
|
@@ -76,7 +76,7 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
76
76
|
children: [(0, _jsxRuntime.jsx)(_checkbox.default, {
|
|
77
77
|
onChange: handleCheckbox,
|
|
78
78
|
checked: value
|
|
79
|
-
}
|
|
79
|
+
}), (0, _jsxRuntime.jsx)(_typography.default, {
|
|
80
80
|
level: "body1",
|
|
81
81
|
onClick: function onClick(e) {
|
|
82
82
|
e.stopPropagation();
|
|
@@ -92,7 +92,7 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
92
92
|
marginLeft: 8
|
|
93
93
|
},
|
|
94
94
|
children: message
|
|
95
|
-
}
|
|
95
|
+
}), modalContent && (0, _jsxRuntime.jsx)(_modal.default, {
|
|
96
96
|
title: modalTitle,
|
|
97
97
|
visible: visible,
|
|
98
98
|
onOk: handleAccept,
|
|
@@ -105,8 +105,8 @@ var Confirmation = function Confirmation(_ref) {
|
|
|
105
105
|
id: 'Reject'
|
|
106
106
|
}),
|
|
107
107
|
children: modalContent
|
|
108
|
-
}
|
|
109
|
-
}
|
|
108
|
+
})]
|
|
109
|
+
});
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
Confirmation.formItemPropsHandler = function () {
|
|
@@ -81,7 +81,7 @@ var IglooBuddhistDatePicker = function IglooBuddhistDatePicker(_ref) {
|
|
|
81
81
|
style: {
|
|
82
82
|
fontSize: 24
|
|
83
83
|
}
|
|
84
|
-
}
|
|
84
|
+
}) : _ref$suffixIcon,
|
|
85
85
|
className = _ref.className,
|
|
86
86
|
_onOpenChange = _ref.onOpenChange,
|
|
87
87
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -106,7 +106,7 @@ var IglooBuddhistDatePicker = function IglooBuddhistDatePicker(_ref) {
|
|
|
106
106
|
},
|
|
107
107
|
dropdownClassName: "igloo-date-picker-panel",
|
|
108
108
|
showToday: false
|
|
109
|
-
})
|
|
109
|
+
}));
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
IglooBuddhistDatePicker.formItemPropsHandler = function (_ref2) {
|
package/lib/date-picker/index.js
CHANGED
|
@@ -78,7 +78,7 @@ var IglooDatePicker = function IglooDatePicker(_ref) {
|
|
|
78
78
|
style: {
|
|
79
79
|
fontSize: 24
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}) : _ref$suffixIcon,
|
|
82
82
|
className = _ref.className,
|
|
83
83
|
_onOpenChange = _ref.onOpenChange,
|
|
84
84
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -103,7 +103,7 @@ var IglooDatePicker = function IglooDatePicker(_ref) {
|
|
|
103
103
|
typeof _onOpenChange === 'function' && _onOpenChange(open);
|
|
104
104
|
},
|
|
105
105
|
dropdownClassName: "igloo-date-picker-panel"
|
|
106
|
-
})
|
|
106
|
+
}));
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
IglooDatePicker.formItemPropsHandler = function (_ref2) {
|
|
@@ -133,7 +133,7 @@ var IglooRangePicker = function IglooRangePicker(_ref3) {
|
|
|
133
133
|
style: {
|
|
134
134
|
fontSize: 24
|
|
135
135
|
}
|
|
136
|
-
}
|
|
136
|
+
}) : _ref3$suffixIcon,
|
|
137
137
|
className = _ref3.className,
|
|
138
138
|
_onOpenChange2 = _ref3.onOpenChange,
|
|
139
139
|
props = _objectWithoutProperties(_ref3, _excluded2);
|
|
@@ -158,8 +158,8 @@ var IglooRangePicker = function IglooRangePicker(_ref3) {
|
|
|
158
158
|
dropdownClassName: "igloo-date-picker-panel",
|
|
159
159
|
separator: (0, _jsxRuntime.jsx)("div", {
|
|
160
160
|
className: "igloo-date-picker-separate"
|
|
161
|
-
}
|
|
162
|
-
})
|
|
161
|
+
})
|
|
162
|
+
}));
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
exports.IglooRangePicker = IglooRangePicker;
|
|
@@ -204,7 +204,7 @@ var IglooWeekPicker = function IglooWeekPicker(_ref9) {
|
|
|
204
204
|
style: {
|
|
205
205
|
fontSize: 24
|
|
206
206
|
}
|
|
207
|
-
}
|
|
207
|
+
}) : _ref9$suffixIcon,
|
|
208
208
|
className = _ref9.className,
|
|
209
209
|
_onOpenChange3 = _ref9.onOpenChange,
|
|
210
210
|
props = _objectWithoutProperties(_ref9, _excluded3);
|
|
@@ -228,7 +228,7 @@ var IglooWeekPicker = function IglooWeekPicker(_ref9) {
|
|
|
228
228
|
typeof _onOpenChange3 === 'function' && _onOpenChange3(open);
|
|
229
229
|
},
|
|
230
230
|
dropdownClassName: "igloo-date-picker-panel"
|
|
231
|
-
})
|
|
231
|
+
}));
|
|
232
232
|
};
|
|
233
233
|
|
|
234
234
|
exports.IglooWeekPicker = IglooWeekPicker;
|
|
@@ -258,7 +258,7 @@ var IglooMonthPicker = function IglooMonthPicker(_ref11) {
|
|
|
258
258
|
style: {
|
|
259
259
|
fontSize: 24
|
|
260
260
|
}
|
|
261
|
-
}
|
|
261
|
+
}) : _ref11$suffixIcon,
|
|
262
262
|
_onOpenChange4 = _ref11.onOpenChange,
|
|
263
263
|
className = _ref11.className,
|
|
264
264
|
props = _objectWithoutProperties(_ref11, _excluded4);
|
|
@@ -282,7 +282,7 @@ var IglooMonthPicker = function IglooMonthPicker(_ref11) {
|
|
|
282
282
|
typeof _onOpenChange4 === 'function' && _onOpenChange4(open);
|
|
283
283
|
},
|
|
284
284
|
dropdownClassName: "igloo-date-picker-panel"
|
|
285
|
-
})
|
|
285
|
+
}));
|
|
286
286
|
};
|
|
287
287
|
|
|
288
288
|
exports.IglooMonthPicker = IglooMonthPicker;
|
package/lib/declaration/index.js
CHANGED
|
@@ -55,21 +55,21 @@ var Declaration = function Declaration(_ref) {
|
|
|
55
55
|
children: [title, title === undefined && formatMessage({
|
|
56
56
|
id: 'Please take a moment to review what you’ve told us above.'
|
|
57
57
|
})]
|
|
58
|
-
}
|
|
58
|
+
}), (0, _jsxRuntime.jsxs)("div", {
|
|
59
59
|
className: "igloo-form-declaration-description",
|
|
60
60
|
children: [description, description === undefined && formatMessage({
|
|
61
61
|
id: 'Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.'
|
|
62
62
|
})]
|
|
63
|
-
}
|
|
63
|
+
}), (0, _jsxRuntime.jsx)(_divider.default, {
|
|
64
64
|
className: "igloo-form-declaration-divider"
|
|
65
|
-
}
|
|
65
|
+
}), (0, _jsxRuntime.jsx)(_checkbox.default, _objectSpread(_objectSpread({
|
|
66
66
|
className: "igloo-form-declaration-declaration"
|
|
67
67
|
}, (0, _omit.default)(rest, _formMethods.default)), {}, {
|
|
68
68
|
children: declaration || formatMessage({
|
|
69
69
|
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.'
|
|
70
70
|
})
|
|
71
|
-
})
|
|
72
|
-
}
|
|
71
|
+
}))]
|
|
72
|
+
});
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
Declaration.formItemPropsHandler = function (config) {
|
|
@@ -81,38 +81,38 @@ var DetailPanel = function DetailPanel(_ref) {
|
|
|
81
81
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
82
82
|
level: "body1",
|
|
83
83
|
children: title
|
|
84
|
-
}
|
|
84
|
+
}), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
|
|
85
85
|
style: {
|
|
86
86
|
opacity: visible ? 1 : 0
|
|
87
87
|
},
|
|
88
88
|
className: "igloo-detail-panel-arrow"
|
|
89
|
-
}
|
|
89
|
+
}), (0, _jsxRuntime.jsx)(_iglooicon.ArrowUpOutlined, {
|
|
90
90
|
style: {
|
|
91
91
|
opacity: visible ? 0 : 1
|
|
92
92
|
},
|
|
93
93
|
className: "igloo-detail-panel-arrow"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
94
|
+
})]
|
|
95
|
+
}), visible && (0, _jsxRuntime.jsxs)("div", {
|
|
96
96
|
className: "igloo-detail-panel-content",
|
|
97
97
|
children: [needSubContent && (0, _jsxRuntime.jsxs)("div", {
|
|
98
98
|
className: "igloo-detail-panel-sub-title",
|
|
99
99
|
children: [icon && (0, _jsxRuntime.jsx)("div", {
|
|
100
100
|
className: "sub-title-icon",
|
|
101
101
|
children: icon
|
|
102
|
-
}
|
|
102
|
+
}), (0, _jsxRuntime.jsxs)("div", {
|
|
103
103
|
className: "sub-title-content",
|
|
104
104
|
children: [subTitle && (0, _jsxRuntime.jsx)(_typography.default, {
|
|
105
105
|
level: "h4",
|
|
106
106
|
className: "sub-title-title",
|
|
107
107
|
children: subTitle
|
|
108
|
-
}
|
|
108
|
+
}), status && (0, _jsxRuntime.jsx)("div", {
|
|
109
109
|
className: "sub-title-status",
|
|
110
|
-
children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, status)
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
110
|
+
children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, status))
|
|
111
|
+
})]
|
|
112
|
+
})]
|
|
113
|
+
}), children]
|
|
114
|
+
})]
|
|
115
|
+
});
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
return (0, _jsxRuntime.jsxs)("div", {
|
|
@@ -120,27 +120,27 @@ var DetailPanel = function DetailPanel(_ref) {
|
|
|
120
120
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
121
121
|
level: "h3b",
|
|
122
122
|
children: title
|
|
123
|
-
}
|
|
123
|
+
}), (0, _jsxRuntime.jsxs)("div", {
|
|
124
124
|
className: "igloo-detail-panel-content",
|
|
125
125
|
children: [needSubContent && (0, _jsxRuntime.jsxs)("div", {
|
|
126
126
|
className: "igloo-detail-panel-sub-title",
|
|
127
127
|
children: [icon && (0, _jsxRuntime.jsx)("div", {
|
|
128
128
|
className: "sub-title-icon",
|
|
129
129
|
children: icon
|
|
130
|
-
}
|
|
130
|
+
}), (0, _jsxRuntime.jsxs)("div", {
|
|
131
131
|
className: "sub-title-content",
|
|
132
132
|
children: [subTitle && (0, _jsxRuntime.jsx)(_typography.default, {
|
|
133
133
|
level: "h4",
|
|
134
134
|
className: "sub-title-title",
|
|
135
135
|
children: subTitle
|
|
136
|
-
}
|
|
136
|
+
}), status && (0, _jsxRuntime.jsx)("div", {
|
|
137
137
|
className: "sub-title-status",
|
|
138
|
-
children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, status)
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
138
|
+
children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, status))
|
|
139
|
+
})]
|
|
140
|
+
})]
|
|
141
|
+
}), children]
|
|
142
|
+
})]
|
|
143
|
+
});
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
DetailPanel.DetailItem = function (_ref2) {
|
|
@@ -155,16 +155,16 @@ DetailPanel.DetailItem = function (_ref2) {
|
|
|
155
155
|
level: "body1",
|
|
156
156
|
className: "igloo-detail-panel-item-title",
|
|
157
157
|
children: title
|
|
158
|
-
}
|
|
159
|
-
}
|
|
158
|
+
})
|
|
159
|
+
}), (0, _jsxRuntime.jsx)(_col.default, {
|
|
160
160
|
span: 24,
|
|
161
161
|
children: (0, _jsxRuntime.jsx)(_typography.default, {
|
|
162
162
|
level: "body1",
|
|
163
163
|
className: "igloo-detail-panel-item-value",
|
|
164
164
|
children: value
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
165
|
+
})
|
|
166
|
+
})]
|
|
167
|
+
});
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
var _default = DetailPanel;
|
package/lib/documents/index.js
CHANGED
package/lib/example/index.js
CHANGED
|
@@ -111,12 +111,12 @@ var Excample = function Excample(_ref) {
|
|
|
111
111
|
setResult(undefined);
|
|
112
112
|
},
|
|
113
113
|
shape: "circle",
|
|
114
|
-
icon: (0, _jsxRuntime.jsx)(_icons.RedoOutlined, {}
|
|
114
|
+
icon: (0, _jsxRuntime.jsx)(_icons.RedoOutlined, {}),
|
|
115
115
|
type: "primary",
|
|
116
116
|
style: {
|
|
117
117
|
marginBottom: 16
|
|
118
118
|
}
|
|
119
|
-
}
|
|
119
|
+
}), (0, _jsxRuntime.jsx)(_select.default, {
|
|
120
120
|
defaultValue: currentLang,
|
|
121
121
|
style: {
|
|
122
122
|
width: 200,
|
|
@@ -126,7 +126,7 @@ var Excample = function Excample(_ref) {
|
|
|
126
126
|
onChange: function onChange(e) {
|
|
127
127
|
return setLang(e);
|
|
128
128
|
}
|
|
129
|
-
}
|
|
129
|
+
}), /*#__PURE__*/_react.default.cloneElement(children, _objectSpread(_objectSpread({}, rest), {}, {
|
|
130
130
|
onSubmit: handleSubmit,
|
|
131
131
|
key: key
|
|
132
132
|
})), result && (0, _jsxRuntime.jsx)(_reactJsonView.default, {
|
|
@@ -134,8 +134,8 @@ var Excample = function Excample(_ref) {
|
|
|
134
134
|
displayDataTypes: false,
|
|
135
135
|
name: false,
|
|
136
136
|
displayObjectSize: false
|
|
137
|
-
}
|
|
138
|
-
}
|
|
137
|
+
})]
|
|
138
|
+
});
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
var _default = Excample;
|
package/lib/filter/checkBox.js
CHANGED
|
@@ -99,7 +99,7 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
99
99
|
children: [(0, _jsxRuntime.jsx)(_typography.default, {
|
|
100
100
|
level: "h4",
|
|
101
101
|
children: title
|
|
102
|
-
}
|
|
102
|
+
}), allChoose ? (0, _jsxRuntime.jsx)("span", {
|
|
103
103
|
className: "igloo-form-filter-drop-down-container-content-group-title-action",
|
|
104
104
|
onClick: function onClick() {
|
|
105
105
|
valueConfirm({
|
|
@@ -113,8 +113,8 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
113
113
|
children: formatMessage({
|
|
114
114
|
id: 'Unselect All'
|
|
115
115
|
})
|
|
116
|
-
}
|
|
117
|
-
}
|
|
116
|
+
})
|
|
117
|
+
}) : (0, _jsxRuntime.jsx)("span", {
|
|
118
118
|
className: "igloo-form-filter-drop-down-container-content-group-title-action",
|
|
119
119
|
onClick: function onClick() {
|
|
120
120
|
valueConfirm({
|
|
@@ -128,9 +128,9 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
128
128
|
children: formatMessage({
|
|
129
129
|
id: 'Select All'
|
|
130
130
|
})
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
131
|
+
})
|
|
132
|
+
})]
|
|
133
|
+
}), (0, _jsxRuntime.jsx)(_checkbox.default.Group, {
|
|
134
134
|
value: handleFilterDisable(chooseed, disabled),
|
|
135
135
|
style: {
|
|
136
136
|
width: '100%'
|
|
@@ -152,16 +152,16 @@ var CratetCheckBoxFilter = function CratetCheckBoxFilter(props) {
|
|
|
152
152
|
children: (0, _jsxRuntime.jsx)(_typography.default, {
|
|
153
153
|
level: "body1",
|
|
154
154
|
children: item.label
|
|
155
|
-
}
|
|
156
|
-
}
|
|
155
|
+
})
|
|
156
|
+
})
|
|
157
157
|
}, item.value);
|
|
158
158
|
})
|
|
159
|
-
}
|
|
159
|
+
})
|
|
160
160
|
}, String(timeKey.valueOf())), (0, _jsxRuntime.jsx)(_divider.default, {
|
|
161
161
|
style: {
|
|
162
162
|
margin: '16px 0px'
|
|
163
163
|
}
|
|
164
|
-
}
|
|
164
|
+
})]
|
|
165
165
|
}, optionKey);
|
|
166
166
|
};
|
|
167
167
|
|