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.
Files changed (209) hide show
  1. package/es/admin-upload/float.js +14 -14
  2. package/es/admin-upload/index.js +11 -11
  3. package/es/admin-upload/job-list.js +47 -47
  4. package/es/admin-upload/modal.js +10 -10
  5. package/es/alert-message/index.js +7 -7
  6. package/es/amount/index.js +2 -2
  7. package/es/back-top/index.js +4 -4
  8. package/es/button/index.js +9 -9
  9. package/es/card-detail/card-group.js +6 -6
  10. package/es/card-detail/card-item.js +5 -5
  11. package/es/card-detail/card-page.js +5 -5
  12. package/es/card-detail/card.js +7 -7
  13. package/es/checkbox/index.js +6 -6
  14. package/es/claim-list/index.js +19 -19
  15. package/es/confirmation/index.js +4 -4
  16. package/es/date-picker/buddhist.js +2 -2
  17. package/es/date-picker/index.js +9 -9
  18. package/es/declaration/index.js +5 -5
  19. package/es/detail-panel/index.js +26 -26
  20. package/es/documents/index.js +2 -2
  21. package/es/example/index.js +5 -5
  22. package/es/filter/checkBox.js +10 -10
  23. package/es/filter/customize.js +1 -1
  24. package/es/filter/index.js +43 -43
  25. package/es/filter/radioBox.js +7 -7
  26. package/es/filter/rangePicker.js +23 -23
  27. package/es/filter/style/index.less +10 -2
  28. package/es/form/addable-section/index.js +33 -18
  29. package/es/form/addable-section/style/index.less +6 -10
  30. package/es/form/divider/index.js +1 -1
  31. package/es/form/element/index.js +17 -17
  32. package/es/form/elements.js +5 -2
  33. package/es/form/index.js +7 -7
  34. package/es/form/login/index.js +6 -6
  35. package/es/form/page/index.js +8 -8
  36. package/es/form/pages/index.js +10 -10
  37. package/es/form/render/index.js +1 -1
  38. package/es/form/section/index.js +4 -4
  39. package/es/form/step/index.js +14 -14
  40. package/es/form/steps/index.js +2 -2
  41. package/es/free-form/addable-section/index.js +29 -14
  42. package/es/free-form/addable-section/style/index.less +0 -4
  43. package/es/free-form/element/index.js +10 -10
  44. package/es/free-form/index.js +3 -3
  45. package/es/free-form/page/index.js +15 -15
  46. package/es/free-form/pages/index.js +2 -2
  47. package/es/free-form/section/index.js +4 -4
  48. package/es/free-form/step/index.js +14 -14
  49. package/es/free-form/steps/index.js +2 -2
  50. package/es/global-message/index.js +12 -12
  51. package/es/home-menu/index.js +18 -18
  52. package/es/index.d.ts +1 -1
  53. package/es/index.js +1 -1
  54. package/es/input/amount.js +2 -2
  55. package/es/input/credit-card.js +4 -4
  56. package/es/input/email.js +1 -1
  57. package/es/input/expiry-date.js +3 -3
  58. package/es/input/input-date.js +3 -3
  59. package/es/input/input-number.js +1 -1
  60. package/es/input/input.js +1 -1
  61. package/es/input/otp.js +6 -6
  62. package/es/input/password.js +4 -4
  63. package/es/input/phone-number.js +4 -4
  64. package/es/input/text-area.js +4 -4
  65. package/es/layout/defaultFooter.js +28 -28
  66. package/es/layout/defaultHeader.js +6 -6
  67. package/es/layout/footer.js +66 -66
  68. package/es/layout/header.js +25 -25
  69. package/es/layout/index.js +4 -4
  70. package/es/locale/en-US/messages.json +1 -0
  71. package/es/locale/id-ID/messages.json +1 -0
  72. package/es/locale/locale-provider.js +2 -2
  73. package/es/locale/th-TH/messages.json +1 -0
  74. package/es/locale/vi-VN/messages.json +1 -0
  75. package/es/locale/zh-CN/messages.json +1 -0
  76. package/es/login-page/index.js +16 -16
  77. package/es/media/index.js +15 -15
  78. package/es/media/media.js +8 -8
  79. package/es/media/preview.js +6 -6
  80. package/es/mobile-insurer-detail/index.js +18 -18
  81. package/es/mobile-insurer-list/index.js +11 -11
  82. package/es/modal/index.js +8 -8
  83. package/es/platform/platform-card/index.js +5 -5
  84. package/es/platform/switch-platform/index.js +12 -12
  85. package/es/policy-list/index.js +4 -4
  86. package/es/policy-list/policy-card.js +32 -32
  87. package/es/radio/index.d.ts +2 -1
  88. package/es/radio/index.js +13 -12
  89. package/es/radio/radio-group-with-other.d.ts +6 -0
  90. package/es/radio/radio-group-with-other.js +85 -0
  91. package/es/select/attached-select.js +17 -20
  92. package/es/select/select.js +6 -9
  93. package/es/select/time-select.js +20 -20
  94. package/es/status-box/index.js +2 -2
  95. package/es/table/index.js +33 -33
  96. package/es/tabs/index.js +1 -1
  97. package/es/typography/index.js +10 -3
  98. package/es/upload/index.js +28 -28
  99. package/es/upload-photo/index.js +28 -28
  100. package/es/upload-photo/media.js +4 -4
  101. package/es/upload-preview/index.js +10 -10
  102. package/es/upload-preview/media.js +8 -8
  103. package/es/utils/form-utils.d.ts +1 -1
  104. package/es/utils/form-utils.js +11 -11
  105. package/lib/admin-upload/float.js +14 -14
  106. package/lib/admin-upload/index.js +11 -11
  107. package/lib/admin-upload/job-list.js +47 -47
  108. package/lib/admin-upload/modal.js +10 -10
  109. package/lib/alert-message/index.js +7 -7
  110. package/lib/amount/index.js +2 -2
  111. package/lib/back-top/index.js +4 -4
  112. package/lib/button/index.js +9 -9
  113. package/lib/card-detail/card-group.js +6 -6
  114. package/lib/card-detail/card-item.js +5 -5
  115. package/lib/card-detail/card-page.js +5 -5
  116. package/lib/card-detail/card.js +7 -7
  117. package/lib/checkbox/index.js +6 -6
  118. package/lib/claim-list/index.js +19 -19
  119. package/lib/confirmation/index.js +4 -4
  120. package/lib/date-picker/buddhist.js +2 -2
  121. package/lib/date-picker/index.js +9 -9
  122. package/lib/declaration/index.js +5 -5
  123. package/lib/detail-panel/index.js +26 -26
  124. package/lib/documents/index.js +2 -2
  125. package/lib/example/index.js +5 -5
  126. package/lib/filter/checkBox.js +10 -10
  127. package/lib/filter/customize.js +1 -1
  128. package/lib/filter/index.js +43 -43
  129. package/lib/filter/radioBox.js +7 -7
  130. package/lib/filter/rangePicker.js +23 -23
  131. package/lib/filter/style/index.less +10 -2
  132. package/lib/form/addable-section/index.js +37 -17
  133. package/lib/form/addable-section/style/index.less +6 -10
  134. package/lib/form/divider/index.js +1 -1
  135. package/lib/form/element/index.js +17 -17
  136. package/lib/form/elements.js +5 -1
  137. package/lib/form/index.js +7 -7
  138. package/lib/form/login/index.js +6 -6
  139. package/lib/form/page/index.js +8 -8
  140. package/lib/form/pages/index.js +10 -10
  141. package/lib/form/render/index.js +1 -1
  142. package/lib/form/section/index.js +4 -4
  143. package/lib/form/step/index.js +14 -14
  144. package/lib/form/steps/index.js +2 -2
  145. package/lib/free-form/addable-section/index.js +33 -13
  146. package/lib/free-form/addable-section/style/index.less +0 -4
  147. package/lib/free-form/element/index.js +10 -10
  148. package/lib/free-form/index.js +3 -3
  149. package/lib/free-form/page/index.js +15 -15
  150. package/lib/free-form/pages/index.js +2 -2
  151. package/lib/free-form/section/index.js +4 -4
  152. package/lib/free-form/step/index.js +14 -14
  153. package/lib/free-form/steps/index.js +2 -2
  154. package/lib/global-message/index.js +12 -12
  155. package/lib/home-menu/index.js +18 -18
  156. package/lib/index.d.ts +1 -1
  157. package/lib/index.js +7 -0
  158. package/lib/input/amount.js +2 -2
  159. package/lib/input/credit-card.js +4 -4
  160. package/lib/input/email.js +1 -1
  161. package/lib/input/expiry-date.js +3 -3
  162. package/lib/input/input-date.js +3 -3
  163. package/lib/input/input-number.js +1 -1
  164. package/lib/input/input.js +1 -1
  165. package/lib/input/otp.js +6 -6
  166. package/lib/input/password.js +4 -4
  167. package/lib/input/phone-number.js +4 -4
  168. package/lib/input/text-area.js +4 -4
  169. package/lib/layout/defaultFooter.js +28 -28
  170. package/lib/layout/defaultHeader.js +6 -6
  171. package/lib/layout/footer.js +66 -66
  172. package/lib/layout/header.js +25 -25
  173. package/lib/layout/index.js +4 -4
  174. package/lib/locale/en-US/messages.json +1 -0
  175. package/lib/locale/id-ID/messages.json +1 -0
  176. package/lib/locale/locale-provider.js +2 -2
  177. package/lib/locale/th-TH/messages.json +1 -0
  178. package/lib/locale/vi-VN/messages.json +1 -0
  179. package/lib/locale/zh-CN/messages.json +1 -0
  180. package/lib/login-page/index.js +16 -16
  181. package/lib/media/index.js +15 -15
  182. package/lib/media/media.js +8 -8
  183. package/lib/media/preview.js +6 -6
  184. package/lib/mobile-insurer-detail/index.js +18 -18
  185. package/lib/mobile-insurer-list/index.js +11 -11
  186. package/lib/modal/index.js +8 -8
  187. package/lib/platform/platform-card/index.js +5 -5
  188. package/lib/platform/switch-platform/index.js +12 -12
  189. package/lib/policy-list/index.js +4 -4
  190. package/lib/policy-list/policy-card.js +32 -32
  191. package/lib/radio/index.d.ts +2 -1
  192. package/lib/radio/index.js +21 -12
  193. package/lib/radio/radio-group-with-other.d.ts +6 -0
  194. package/lib/radio/radio-group-with-other.js +98 -0
  195. package/lib/select/attached-select.js +16 -19
  196. package/lib/select/select.js +5 -8
  197. package/lib/select/time-select.js +20 -20
  198. package/lib/status-box/index.js +2 -2
  199. package/lib/table/index.js +33 -33
  200. package/lib/tabs/index.js +1 -1
  201. package/lib/typography/index.js +10 -3
  202. package/lib/upload/index.js +28 -28
  203. package/lib/upload-photo/index.js +28 -28
  204. package/lib/upload-photo/media.js +4 -4
  205. package/lib/upload-preview/index.js +10 -10
  206. package/lib/upload-preview/media.js +8 -8
  207. package/lib/utils/form-utils.d.ts +1 -1
  208. package/lib/utils/form-utils.js +10 -10
  209. package/package.json +1 -1
@@ -28,7 +28,7 @@ var MediaItem = function MediaItem(_ref) {
28
28
  maxHeight: 80
29
29
  },
30
30
  autoPlay: false
31
- }, void 0);
31
+ });
32
32
 
33
33
  case 'pdf':
34
34
  return (0, _jsxRuntime.jsx)("div", {
@@ -40,8 +40,8 @@ var MediaItem = function MediaItem(_ref) {
40
40
  children: (0, _jsxRuntime.jsx)(_reactPdf.default, {
41
41
  file: src,
42
42
  scale: 0.1
43
- }, void 0)
44
- }, void 0);
43
+ })
44
+ });
45
45
 
46
46
  default:
47
47
  return (0, _jsxRuntime.jsx)("img", {
@@ -51,7 +51,7 @@ var MediaItem = function MediaItem(_ref) {
51
51
  maxHeight: 80,
52
52
  position: 'absolute'
53
53
  }
54
- }, void 0);
54
+ });
55
55
  }
56
56
  };
57
57
 
@@ -78,7 +78,7 @@ var Media = function Media(_ref2) {
78
78
  children: [(0, _jsxRuntime.jsx)(MediaItem, {
79
79
  type: type,
80
80
  src: src
81
- }, void 0), (0, _jsxRuntime.jsx)("div", {
81
+ }), (0, _jsxRuntime.jsx)("div", {
82
82
  style: {
83
83
  position: 'absolute',
84
84
  width: '100%',
@@ -86,9 +86,9 @@ var Media = function Media(_ref2) {
86
86
  cursor: 'pointer'
87
87
  },
88
88
  onClick: onClick
89
- }, void 0)]
90
- }, void 0)
91
- }, void 0);
89
+ })]
90
+ })
91
+ });
92
92
  };
93
93
 
94
94
  var _default = Media;
@@ -73,7 +73,7 @@ var PdfViewer = function PdfViewer(_ref) {
73
73
  position: 'absolute'
74
74
  },
75
75
  children: pages
76
- }, void 0);
76
+ });
77
77
  };
78
78
 
79
79
  var MediaItem = function MediaItem(_ref3) {
@@ -94,7 +94,7 @@ var MediaItem = function MediaItem(_ref3) {
94
94
  maxHeight: '100%'
95
95
  },
96
96
  autoPlay: true
97
- }, void 0);
97
+ });
98
98
 
99
99
  case 'pdf':
100
100
  return (0, _jsxRuntime.jsx)(PdfViewer, {
@@ -103,7 +103,7 @@ var MediaItem = function MediaItem(_ref3) {
103
103
  left: left,
104
104
  scale: scale,
105
105
  isCurrent: isCurrent
106
- }, void 0);
106
+ });
107
107
 
108
108
  default:
109
109
  return (0, _jsxRuntime.jsx)("img", {
@@ -114,7 +114,7 @@ var MediaItem = function MediaItem(_ref3) {
114
114
  transform: "scale(".concat(scale, ") translate(").concat(left, "px, ").concat(top, "px)"),
115
115
  position: 'absolute'
116
116
  }
117
- }, void 0);
117
+ });
118
118
  }
119
119
  };
120
120
 
@@ -224,8 +224,8 @@ var Media = function Media(_ref4) {
224
224
  scale: scale,
225
225
  offset: offset,
226
226
  isCurrent: isCurrent
227
- }, void 0)
228
- }, void 0);
227
+ })
228
+ });
229
229
  };
230
230
 
231
231
  var _default = Media;
@@ -46,22 +46,22 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
46
46
  style: {
47
47
  marginBottom: 24
48
48
  }
49
- }), void 0), (0, _jsxRuntime.jsxs)("div", {
49
+ })), (0, _jsxRuntime.jsxs)("div", {
50
50
  className: "mobile-detail-top",
51
51
  children: [insurerLogo && (0, _jsxRuntime.jsx)("div", {
52
52
  className: "mobile-detail-top-insurer-logo",
53
53
  children: insurerLogo
54
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
54
+ }), (0, _jsxRuntime.jsxs)("div", {
55
55
  className: "mobile-detail-top-insurer-info",
56
56
  children: [(0, _jsxRuntime.jsx)("div", {
57
57
  className: "insurer-name",
58
58
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
59
59
  level: "h4",
60
60
  children: [insurerName, " ", insurerType]
61
- }, void 0)
62
- }, void 0), (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps), void 0)]
63
- }, void 0)]
64
- }, void 0), buttons && buttons.map(function (item, index) {
61
+ })
62
+ }), (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps))]
63
+ })]
64
+ }), buttons && buttons.map(function (item, index) {
65
65
  return item.render ? item.render() : (0, _jsxRuntime.jsx)(_button.default, {
66
66
  icon: item.icon,
67
67
  onClick: function onClick() {
@@ -75,11 +75,11 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
75
75
  children: (0, _jsxRuntime.jsx)(_typography.default, {
76
76
  level: "h4",
77
77
  children: item.label
78
- }, void 0)
78
+ })
79
79
  }, String(item) + index);
80
80
  }), (0, _jsxRuntime.jsx)("div", {
81
81
  className: "dividing-line"
82
- }, void 0), infoGroups.map(function (group, index) {
82
+ }), infoGroups.map(function (group, index) {
83
83
  var sectionName = group.sectionName,
84
84
  infoItems = group.infoItems,
85
85
  hideBottomLine = group.hideBottomLine;
@@ -92,8 +92,8 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
92
92
  children: (0, _jsxRuntime.jsx)(_typography.default, {
93
93
  level: "h4",
94
94
  children: sectionName
95
- }, void 0)
96
- }, void 0), infoItems.map(function (item, index) {
95
+ })
96
+ }), infoItems.map(function (item, index) {
97
97
  var title = item.title,
98
98
  info = item.info,
99
99
  hide = item.hide;
@@ -110,8 +110,8 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
110
110
  children: (0, _jsxRuntime.jsx)(_typography.default, {
111
111
  level: "body1",
112
112
  children: title
113
- }, void 0)
114
- }, void 0), textArr.map(function (textItem, index) {
113
+ })
114
+ }), textArr.map(function (textItem, index) {
115
115
  var text = textItem.text,
116
116
  link = textItem.link;
117
117
 
@@ -121,7 +121,7 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
121
121
  children: (0, _jsxRuntime.jsx)(_typography.default, {
122
122
  level: "body1",
123
123
  children: textItem
124
- }, void 0)
124
+ })
125
125
  }, index);
126
126
  }
127
127
 
@@ -135,13 +135,13 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
135
135
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
136
136
  level: "body1",
137
137
  children: text
138
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
138
+ }), (0, _jsxRuntime.jsx)(_button.default, {
139
139
  onClick: onClick ? function () {
140
140
  return onClick(props);
141
141
  } : function () {},
142
142
  type: "link",
143
143
  children: link.linkText
144
- }, void 0)]
144
+ })]
145
145
  }, index);
146
146
  }
147
147
 
@@ -150,7 +150,7 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
150
150
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
151
151
  level: "body1",
152
152
  children: text
153
- }, void 0), linkArr.map(function (linkObj, index) {
153
+ }), linkArr.map(function (linkObj, index) {
154
154
  var onClick = linkObj.onClick;
155
155
  return (0, _jsxRuntime.jsx)("div", {
156
156
  style: {
@@ -162,7 +162,7 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
162
162
  } : function () {},
163
163
  type: "link",
164
164
  children: linkObj.linkText
165
- }, void 0)
165
+ })
166
166
  }, index);
167
167
  })]
168
168
  }, index);
@@ -171,7 +171,7 @@ var MobileInsurerDetail = function MobileInsurerDetail(props) {
171
171
  })]
172
172
  }, index);
173
173
  })]
174
- }, void 0);
174
+ });
175
175
  };
176
176
 
177
177
  var _default = MobileInsurerDetail;
@@ -53,31 +53,31 @@ var MobileInsurerList = function MobileInsurerList(props) {
53
53
  children: [insurerLogo && (0, _jsxRuntime.jsx)("div", {
54
54
  className: "left-insurer-icon",
55
55
  children: insurerLogo
56
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
56
+ }), (0, _jsxRuntime.jsxs)("div", {
57
57
  className: "left-insurer-info-container",
58
58
  children: [(0, _jsxRuntime.jsxs)("div", {
59
59
  className: "left-insurer-title",
60
60
  children: [(0, _jsxRuntime.jsxs)(_typography.default, {
61
61
  level: "h4",
62
62
  children: [insurerName, " ", insurerType]
63
- }, void 0), mobileRedDot && (0, _jsxRuntime.jsx)("div", {
63
+ }), mobileRedDot && (0, _jsxRuntime.jsx)("div", {
64
64
  className: "left-insurer-title-red-dot"
65
- }, void 0)]
66
- }, void 0), mobileSubTitle && (0, _jsxRuntime.jsx)("div", {
65
+ })]
66
+ }), mobileSubTitle && (0, _jsxRuntime.jsx)("div", {
67
67
  className: "left-insurer-sub-title",
68
68
  children: (0, _jsxRuntime.jsx)(_typography.default, {
69
69
  level: "body2",
70
70
  children: mobileSubTitle
71
- }, void 0)
72
- }, void 0), statusProps && (0, _jsxRuntime.jsx)("div", {
71
+ })
72
+ }), statusProps && (0, _jsxRuntime.jsx)("div", {
73
73
  className: "left-insurer-status",
74
- children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps), void 0)
75
- }, void 0)]
76
- }, void 0)]
77
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.ArrowRightOutlined, {}, void 0)]
74
+ children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps))
75
+ })]
76
+ })]
77
+ }), (0, _jsxRuntime.jsx)(_iglooicon.ArrowRightOutlined, {})]
78
78
  }, index);
79
79
  })
80
- }, void 0);
80
+ });
81
81
  };
82
82
 
83
83
  var _default = MobileInsurerList;
@@ -157,7 +157,7 @@ var IglooModal = function IglooModal(props) {
157
157
  fontSize: 24,
158
158
  color: '#666666'
159
159
  }
160
- }, void 0),
160
+ }),
161
161
  footer: footer === undefined ? (0, _jsxRuntime.jsxs)("div", {
162
162
  className: "igloo-modal-footer-btns",
163
163
  children: [(0, _jsxRuntime.jsx)(_button.default, _objectSpread(_objectSpread({
@@ -165,21 +165,21 @@ var IglooModal = function IglooModal(props) {
165
165
  }, cancelButtonProps), {}, {
166
166
  className: (0, _classnames.default)('igloo-modal-footer-button', cancelButtonProps.className),
167
167
  children: cancelText
168
- }), void 0), (0, _jsxRuntime.jsx)(_button.default, _objectSpread(_objectSpread({
168
+ })), (0, _jsxRuntime.jsx)(_button.default, _objectSpread(_objectSpread({
169
169
  type: okType
170
170
  }, okButtonProps), {}, {
171
171
  className: (0, _classnames.default)('igloo-modal-footer-button', okButtonProps.className),
172
172
  onClick: handleOk,
173
173
  children: okText
174
- }), void 0)]
175
- }, void 0) : footer,
174
+ }))]
175
+ }) : footer,
176
176
  width: width || 'noStyleWidth',
177
177
  children: formConfig ? (0, _jsxRuntime.jsx)(_form.default, _objectSpread({
178
178
  config: formConfig,
179
179
  showSubmitButton: false,
180
180
  ref: formRef
181
- }, formProps), void 0) : children
182
- }), void 0);
181
+ }, formProps)) : children
182
+ }));
183
183
  };
184
184
 
185
185
  var modalFunction = function modalFunction(_ref2) {
@@ -235,8 +235,8 @@ var modalFunction = function modalFunction(_ref2) {
235
235
  return rst;
236
236
  },
237
237
  children: content
238
- }), void 0)
239
- }, void 0), ele);
238
+ }))
239
+ }), ele);
240
240
  };
241
241
 
242
242
  var destroy = function destroy() {
@@ -57,11 +57,11 @@ var PlatformCard = function PlatformCard(_ref) {
57
57
  children: [(0, _jsxRuntime.jsx)("img", {
58
58
  src: _default2.default,
59
59
  className: "igloo-platform-defaultLogo"
60
- }, void 0), (0, _jsxRuntime.jsx)("div", {
60
+ }), (0, _jsxRuntime.jsx)("div", {
61
61
  className: "igloo-platform-name",
62
62
  children: name
63
- }, void 0)]
64
- }, void 0), !showDefault && (0, _jsxRuntime.jsx)(_image.default, {
63
+ })]
64
+ }), !showDefault && (0, _jsxRuntime.jsx)(_image.default, {
65
65
  width: 200,
66
66
  height: 200,
67
67
  src: "https://static.iglooinsure.com/partner/normal/".concat(key.toLowerCase(), ".svg"),
@@ -69,8 +69,8 @@ var PlatformCard = function PlatformCard(_ref) {
69
69
  return setShowDefault(true);
70
70
  },
71
71
  preview: false
72
- }, void 0)]
73
- }, void 0);
72
+ })]
73
+ });
74
74
  };
75
75
 
76
76
  var _default = PlatformCard;
@@ -104,17 +104,17 @@ var SwitchPlatform = function SwitchPlatform(_ref) {
104
104
  className: "igloo-switch-platform-default-logo",
105
105
  fallback: _default2.default,
106
106
  preview: false
107
- }, void 0), (0, _jsxRuntime.jsx)("span", {
107
+ }), (0, _jsxRuntime.jsx)("span", {
108
108
  className: "igloo-switch-platform-name",
109
109
  children: name
110
- }, void 0)]
110
+ })]
111
111
  }, key);
112
112
  })
113
- }, void 0),
113
+ }),
114
114
  getPopupContainer: function getPopupContainer(trigger) {
115
115
  return trigger.parentElement;
116
116
  },
117
- placement: "bottomCenter",
117
+ placement: "bottom",
118
118
  children: (0, _jsxRuntime.jsxs)(_space.default, {
119
119
  size: 8,
120
120
  align: "center",
@@ -127,22 +127,22 @@ var SwitchPlatform = function SwitchPlatform(_ref) {
127
127
  return setShowDefault(true);
128
128
  },
129
129
  preview: false
130
- }, void 0) : (0, _jsxRuntime.jsxs)(_space.default, {
130
+ }) : (0, _jsxRuntime.jsxs)(_space.default, {
131
131
  size: 8,
132
132
  align: "center",
133
133
  children: [(0, _jsxRuntime.jsx)("img", {
134
134
  src: _default2.default,
135
135
  className: "igloo-switch-platform-default-logo"
136
- }, void 0), (0, _jsxRuntime.jsx)("span", {
136
+ }), (0, _jsxRuntime.jsx)("span", {
137
137
  className: "igloo-switch-platform-name",
138
138
  children: currentName
139
- }, void 0)]
140
- }, void 0)
141
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
139
+ })]
140
+ })
141
+ }), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
142
142
  className: "igloo-switch-platform-arrow"
143
- }, void 0)]
144
- }, void 0)
145
- }, void 0);
143
+ })]
144
+ })
145
+ });
146
146
  };
147
147
 
148
148
  var _default = SwitchPlatform;
@@ -49,8 +49,8 @@ var PolicyList = function PolicyList(props) {
49
49
  children: (0, _jsxRuntime.jsx)(_typography.default, {
50
50
  level: "body1",
51
51
  children: emptyText
52
- }, void 0)
53
- }, void 0);
52
+ })
53
+ });
54
54
  }
55
55
 
56
56
  if (!md) {
@@ -58,7 +58,7 @@ var PolicyList = function PolicyList(props) {
58
58
  dataList: dataList,
59
59
  style: style,
60
60
  className: className
61
- }, void 0);
61
+ });
62
62
  }
63
63
 
64
64
  return (0, _jsxRuntime.jsx)("div", {
@@ -69,7 +69,7 @@ var PolicyList = function PolicyList(props) {
69
69
  key: index
70
70
  }));
71
71
  })
72
- }, void 0);
72
+ });
73
73
  };
74
74
 
75
75
  var _default = PolicyList;
@@ -134,23 +134,23 @@ var PolicyCard = function PolicyCard(props) {
134
134
  className: (0, _classnames.default)({
135
135
  'hide-icon': !extend
136
136
  })
137
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
137
+ }), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
138
138
  className: (0, _classnames.default)({
139
139
  'hide-icon': extend
140
140
  })
141
- }, void 0)]
142
- }, void 0), (0, _jsxRuntime.jsx)("div", {
141
+ })]
142
+ }), (0, _jsxRuntime.jsx)("div", {
143
143
  className: "left-logo-container",
144
144
  children: insurerLogo
145
- }, void 0), (0, _jsxRuntime.jsxs)(_typography.default, {
145
+ }), (0, _jsxRuntime.jsxs)(_typography.default, {
146
146
  level: "h4",
147
147
  className: "left-title-container",
148
148
  children: [insurerName, " ", insurerType]
149
- }, void 0), (0, _jsxRuntime.jsx)("div", {
149
+ }), (0, _jsxRuntime.jsx)("div", {
150
150
  className: "left-status",
151
- children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps), void 0)
152
- }, void 0)]
153
- }, void 0), buttons && buttons.map(function (item, index) {
151
+ children: (0, _jsxRuntime.jsx)(_statusBox.default, _objectSpread({}, statusProps))
152
+ })]
153
+ }), buttons && buttons.map(function (item, index) {
154
154
  return item.render ? item.render() : (0, _jsxRuntime.jsx)(_button.default, {
155
155
  icon: item.icon,
156
156
  onClick: function onClick(e) {
@@ -164,13 +164,13 @@ var PolicyCard = function PolicyCard(props) {
164
164
  children: (0, _jsxRuntime.jsx)(_typography.default, {
165
165
  level: "h4",
166
166
  children: item.label
167
- }, void 0)
167
+ })
168
168
  }, String(item) + index);
169
169
  })]
170
- }, void 0), messageBar && (0, _jsxRuntime.jsx)("div", {
170
+ }), messageBar && (0, _jsxRuntime.jsx)("div", {
171
171
  className: "message-container",
172
- children: (0, _jsxRuntime.jsx)(_alertMessage.default, _objectSpread({}, messageBar), void 0)
173
- }, void 0), defaultItems && (0, _jsxRuntime.jsx)("div", {
172
+ children: (0, _jsxRuntime.jsx)(_alertMessage.default, _objectSpread({}, messageBar))
173
+ }), defaultItems && (0, _jsxRuntime.jsx)("div", {
174
174
  className: "container-bottom",
175
175
  children: (0, _jsxRuntime.jsx)(_row.default, {
176
176
  gutter: [24, 32],
@@ -194,8 +194,8 @@ var PolicyCard = function PolicyCard(props) {
194
194
  children: (0, _jsxRuntime.jsx)(_typography.default, {
195
195
  level: "body1",
196
196
  children: title
197
- }, void 0)
198
- }, void 0), textArr.map(function (textItem, index) {
197
+ })
198
+ }), textArr.map(function (textItem, index) {
199
199
  var text = textItem.text,
200
200
  link = textItem.link;
201
201
 
@@ -205,7 +205,7 @@ var PolicyCard = function PolicyCard(props) {
205
205
  children: (0, _jsxRuntime.jsx)(_typography.default, {
206
206
  level: "body1",
207
207
  children: textItem
208
- }, void 0)
208
+ })
209
209
  }, index);
210
210
  } // 处理link (一个or多个,换行or不换行)
211
211
 
@@ -220,13 +220,13 @@ var PolicyCard = function PolicyCard(props) {
220
220
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
221
221
  level: "body1",
222
222
  children: text
223
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
223
+ }), (0, _jsxRuntime.jsx)(_button.default, {
224
224
  onClick: onClick ? function () {
225
225
  return onClick(props);
226
226
  } : function () {},
227
227
  type: "link",
228
228
  children: link.linkText
229
- }, void 0)]
229
+ })]
230
230
  }, index);
231
231
  }
232
232
 
@@ -235,7 +235,7 @@ var PolicyCard = function PolicyCard(props) {
235
235
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
236
236
  level: "body1",
237
237
  children: text
238
- }, void 0), linkArr.map(function (linkObj, index) {
238
+ }), linkArr.map(function (linkObj, index) {
239
239
  var onClick = linkObj.onClick;
240
240
  return (0, _jsxRuntime.jsx)("div", {
241
241
  style: {
@@ -247,15 +247,15 @@ var PolicyCard = function PolicyCard(props) {
247
247
  } : function () {},
248
248
  type: "link",
249
249
  children: linkObj.linkText
250
- }, void 0)
250
+ })
251
251
  }, index);
252
252
  })]
253
253
  }, index);
254
254
  })]
255
255
  }, index);
256
256
  })
257
- }, void 0)
258
- }, void 0), (0, _jsxRuntime.jsx)(_collapse.default, {
257
+ })
258
+ }), (0, _jsxRuntime.jsx)(_collapse.default, {
259
259
  className: "igloo-policy-collapse-container",
260
260
  activeKey: extend ? allActiveKeys : [],
261
261
  children: infoGroups.map(function (group, index) {
@@ -269,7 +269,7 @@ var PolicyCard = function PolicyCard(props) {
269
269
  level: "h4",
270
270
  className: "panel-group-section-name",
271
271
  children: sectionName
272
- }, void 0), (0, _jsxRuntime.jsx)(_row.default, {
272
+ }), (0, _jsxRuntime.jsx)(_row.default, {
273
273
  gutter: [24, 16],
274
274
  children: infoItems.map(function (item, index) {
275
275
  var _item$span = item.span,
@@ -290,8 +290,8 @@ var PolicyCard = function PolicyCard(props) {
290
290
  children: (0, _jsxRuntime.jsx)(_typography.default, {
291
291
  level: "body1",
292
292
  children: title
293
- }, void 0)
294
- }, void 0), textArr.map(function (textItem, index) {
293
+ })
294
+ }), textArr.map(function (textItem, index) {
295
295
  var text = textItem.text,
296
296
  link = textItem.link;
297
297
 
@@ -301,7 +301,7 @@ var PolicyCard = function PolicyCard(props) {
301
301
  children: (0, _jsxRuntime.jsx)(_typography.default, {
302
302
  level: "body1",
303
303
  children: textItem
304
- }, void 0)
304
+ })
305
305
  }, index);
306
306
  } // 处理link (一个or多个,换行or不换行)
307
307
 
@@ -316,13 +316,13 @@ var PolicyCard = function PolicyCard(props) {
316
316
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
317
317
  level: "body1",
318
318
  children: text
319
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
319
+ }), (0, _jsxRuntime.jsx)(_button.default, {
320
320
  onClick: onClick ? function () {
321
321
  return onClick(props);
322
322
  } : function () {},
323
323
  type: "link",
324
324
  children: link.linkText
325
- }, void 0)]
325
+ })]
326
326
  }, index);
327
327
  }
328
328
 
@@ -331,7 +331,7 @@ var PolicyCard = function PolicyCard(props) {
331
331
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
332
332
  level: "body1",
333
333
  children: text
334
- }, void 0), linkArr.map(function (linkObj, index) {
334
+ }), linkArr.map(function (linkObj, index) {
335
335
  var onClick = linkObj.onClick;
336
336
  return (0, _jsxRuntime.jsx)("div", {
337
337
  style: {
@@ -343,18 +343,18 @@ var PolicyCard = function PolicyCard(props) {
343
343
  } : function () {},
344
344
  type: "link",
345
345
  children: linkObj.linkText
346
- }, void 0)
346
+ })
347
347
  }, index);
348
348
  })]
349
349
  }, index);
350
350
  })]
351
351
  }, index);
352
352
  })
353
- }, void 0)]
353
+ })]
354
354
  }, index);
355
355
  })
356
- }, void 0)]
357
- }, void 0);
356
+ })]
357
+ });
358
358
  };
359
359
 
360
360
  var _default = PolicyCard;
@@ -4,7 +4,7 @@ import './style/index.less';
4
4
  import { FormInstance } from 'antd/es/form';
5
5
  declare type Props = RadioProps & IglooComponentProps;
6
6
  declare const IglooRadio: FC<Props>;
7
- interface Option extends RadioProps {
7
+ export interface Option extends RadioProps {
8
8
  extraInfo?: {
9
9
  content: any;
10
10
  shownTrigger: 'unchecked' | 'checked' | 'all';
@@ -19,3 +19,4 @@ export interface IProps extends IglooComponentProps, Omit<RadioGroupProps, 'opti
19
19
  }
20
20
  export declare const RadioGroup: FC<IProps>;
21
21
  export default IglooRadio;
22
+ export { default as RadioGroupWithOther } from './radio-group-with-other';