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
@@ -29,8 +29,8 @@ IglooMessage.success = function (content, duration) {
29
29
  content: (0, _jsxRuntime.jsx)(_alertMessage.default, {
30
30
  type: "success",
31
31
  message: content
32
- }, void 0),
33
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
32
+ }),
33
+ icon: (0, _jsxRuntime.jsx)("div", {}),
34
34
  duration: duration === undefined ? 3 : duration
35
35
  });
36
36
 
@@ -38,7 +38,7 @@ IglooMessage.success = function (content, duration) {
38
38
  return _message2.default.success({
39
39
  className: 'iglooform-global-message',
40
40
  content: content,
41
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
41
+ icon: (0, _jsxRuntime.jsx)("div", {}),
42
42
  duration: duration === undefined ? 3 : duration
43
43
  });
44
44
  }
@@ -52,8 +52,8 @@ IglooMessage.error = function (content, duration) {
52
52
  content: (0, _jsxRuntime.jsx)(_alertMessage.default, {
53
53
  type: "error",
54
54
  message: content
55
- }, void 0),
56
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
55
+ }),
56
+ icon: (0, _jsxRuntime.jsx)("div", {}),
57
57
  duration: duration === undefined ? 3 : duration
58
58
  });
59
59
 
@@ -61,7 +61,7 @@ IglooMessage.error = function (content, duration) {
61
61
  return _message2.default.error({
62
62
  className: 'iglooform-global-message',
63
63
  content: content,
64
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
64
+ icon: (0, _jsxRuntime.jsx)("div", {}),
65
65
  duration: duration === undefined ? 3 : duration
66
66
  });
67
67
  }
@@ -75,8 +75,8 @@ IglooMessage.warning = function (content, duration) {
75
75
  content: (0, _jsxRuntime.jsx)(_alertMessage.default, {
76
76
  type: "warning",
77
77
  message: content
78
- }, void 0),
79
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
78
+ }),
79
+ icon: (0, _jsxRuntime.jsx)("div", {}),
80
80
  duration: duration === undefined ? 3 : duration
81
81
  });
82
82
 
@@ -84,7 +84,7 @@ IglooMessage.warning = function (content, duration) {
84
84
  return _message2.default.warning({
85
85
  className: 'iglooform-global-message',
86
86
  content: content,
87
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
87
+ icon: (0, _jsxRuntime.jsx)("div", {}),
88
88
  duration: duration === undefined ? 3 : duration
89
89
  });
90
90
  }
@@ -98,8 +98,8 @@ IglooMessage.info = function (content, duration) {
98
98
  content: (0, _jsxRuntime.jsx)(_alertMessage.default, {
99
99
  type: "info",
100
100
  message: content
101
- }, void 0),
102
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
101
+ }),
102
+ icon: (0, _jsxRuntime.jsx)("div", {}),
103
103
  duration: duration === undefined ? 3 : duration
104
104
  });
105
105
 
@@ -107,7 +107,7 @@ IglooMessage.info = function (content, duration) {
107
107
  return _message2.default.info({
108
108
  className: 'iglooform-global-message',
109
109
  content: content,
110
- icon: (0, _jsxRuntime.jsx)("div", {}, void 0),
110
+ icon: (0, _jsxRuntime.jsx)("div", {}),
111
111
  duration: duration === undefined ? 3 : duration
112
112
  });
113
113
  }
@@ -85,12 +85,12 @@ var HomeMenu = function HomeMenu(props) {
85
85
  children: [(0, _jsxRuntime.jsx)(_avatar.default, {
86
86
  size: 32,
87
87
  src: userAvatar
88
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
88
+ }), (0, _jsxRuntime.jsxs)("div", {
89
89
  className: "top-info",
90
90
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
91
91
  level: "body1",
92
92
  children: userName
93
- }, void 0), (0, _jsxRuntime.jsx)("div", {
93
+ }), (0, _jsxRuntime.jsx)("div", {
94
94
  style: {
95
95
  marginTop: 4
96
96
  },
@@ -100,9 +100,9 @@ var HomeMenu = function HomeMenu(props) {
100
100
  children: [info.title, " ", info.value]
101
101
  }, index);
102
102
  })
103
- }, void 0)]
104
- }, void 0)]
105
- }, void 0), (0, _jsxRuntime.jsx)("div", {
103
+ })]
104
+ })]
105
+ }), (0, _jsxRuntime.jsx)("div", {
106
106
  className: "menu-actions",
107
107
  children: actions.map(function (action, index) {
108
108
  var _onClick = action.onClick;
@@ -118,8 +118,8 @@ var HomeMenu = function HomeMenu(props) {
118
118
  }, index)
119
119
  }, index);
120
120
  })
121
- }, void 0)]
122
- }, void 0),
121
+ })]
122
+ }),
123
123
  children: (0, _jsxRuntime.jsxs)("div", {
124
124
  className: "arrow-container",
125
125
  children: [(0, _jsxRuntime.jsx)(_iglooicon.CrossOutlined, {
@@ -127,14 +127,14 @@ var HomeMenu = function HomeMenu(props) {
127
127
  style: {
128
128
  opacity: "".concat(open ? 1 : 0)
129
129
  }
130
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.BurgerMenuOutlined, {
130
+ }), (0, _jsxRuntime.jsx)(_iglooicon.BurgerMenuOutlined, {
131
131
  className: "arrow-default",
132
132
  style: {
133
133
  opacity: "".concat(open ? 0 : 1)
134
134
  }
135
- }, void 0)]
136
- }, void 0)
137
- }, void 0);
135
+ })]
136
+ })
137
+ });
138
138
  }
139
139
 
140
140
  return (0, _jsxRuntime.jsx)(_dropdown.default, {
@@ -161,7 +161,7 @@ var HomeMenu = function HomeMenu(props) {
161
161
  children: [info.title, " ", info.value]
162
162
  }, index);
163
163
  })
164
- }, void 0), (0, _jsxRuntime.jsx)("div", {
164
+ }), (0, _jsxRuntime.jsx)("div", {
165
165
  className: "menu-actions",
166
166
  children: actions.map(function (action, index) {
167
167
  var _onClick2 = action.onClick;
@@ -177,8 +177,8 @@ var HomeMenu = function HomeMenu(props) {
177
177
  }, index)
178
178
  }, index);
179
179
  })
180
- }, void 0)]
181
- }, void 0),
180
+ })]
181
+ }),
182
182
  children: (0, _jsxRuntime.jsxs)("div", {
183
183
  className: "arrow-container",
184
184
  children: [(0, _jsxRuntime.jsx)(_iglooicon.ArrowUpOutlined, {
@@ -186,14 +186,14 @@ var HomeMenu = function HomeMenu(props) {
186
186
  style: {
187
187
  opacity: "".concat(open ? 1 : 0)
188
188
  }
189
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
189
+ }), (0, _jsxRuntime.jsx)(_iglooicon.ArrowDownOutlined, {
190
190
  className: "arrow-default",
191
191
  style: {
192
192
  opacity: "".concat(open ? 0 : 1)
193
193
  }
194
- }, void 0)]
195
- }, void 0)
196
- }, void 0);
194
+ })]
195
+ })
196
+ });
197
197
  };
198
198
 
199
199
  var _default = HomeMenu;
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { default as Button, GreenButton, YellowButton, RedButton, } from './butt
3
3
  export { default as DatePicker, IglooBuddhistDatePicker as BuddhistDatePicker, IglooRangePicker as RangePicker, IglooWeekPicker as WeekPicker, IglooMonthPicker as MonthPicker, } from './date-picker';
4
4
  export { default as Input, PhoneNumber, Amount, Password, Email, InputNumber, TextArea, InputDate, CreditCard, ExpiryDate, } from './input';
5
5
  export { default as Select, TimeSelect, AttachedSelect } from './select';
6
- export { default as Radio, RadioGroup } from './radio';
6
+ export { default as Radio, RadioGroup, RadioGroupWithOther } from './radio';
7
7
  export { default as Example } from './example';
8
8
  export { default as Upload } from './upload';
9
9
  export { default as Checkbox, CheckboxGroup } from './checkbox';
package/lib/index.js CHANGED
@@ -31,6 +31,7 @@ var _exportNames = {
31
31
  AttachedSelect: true,
32
32
  Radio: true,
33
33
  RadioGroup: true,
34
+ RadioGroupWithOther: true,
34
35
  Example: true,
35
36
  Upload: true,
36
37
  Checkbox: true,
@@ -386,6 +387,12 @@ Object.defineProperty(exports, "RadioGroup", {
386
387
  return _radio.RadioGroup;
387
388
  }
388
389
  });
390
+ Object.defineProperty(exports, "RadioGroupWithOther", {
391
+ enumerable: true,
392
+ get: function get() {
393
+ return _radio.RadioGroupWithOther;
394
+ }
395
+ });
389
396
  Object.defineProperty(exports, "RangePicker", {
390
397
  enumerable: true,
391
398
  get: function get() {
@@ -69,8 +69,8 @@ var Amount = function Amount(_ref) {
69
69
  addonBefore: currency ? (0, _jsxRuntime.jsx)("span", {
70
70
  className: "igloo-input-areacode",
71
71
  children: currency
72
- }, void 0) : null
73
- }), void 0);
72
+ }) : null
73
+ }));
74
74
  };
75
75
 
76
76
  Amount.formItemPropsHandler = function (_ref2) {
@@ -60,7 +60,7 @@ var defaultCheck = [{
60
60
  style: {
61
61
  fontSize: 24
62
62
  }
63
- }, void 0)
63
+ })
64
64
  }, {
65
65
  name: 'MasterCard',
66
66
  reg: '^5[1-5][0-9]{14}$',
@@ -68,14 +68,14 @@ var defaultCheck = [{
68
68
  style: {
69
69
  fontSize: 24
70
70
  }
71
- }, void 0)
71
+ })
72
72
  }];
73
73
  var defaultCardIcon = (0, _jsxRuntime.jsx)(_iglooicon.CreditCardOutlined, {
74
74
  style: {
75
75
  color: '#eeeeee',
76
76
  fontSize: 24
77
77
  }
78
- }, void 0);
78
+ });
79
79
 
80
80
  function getErrorMessage(cardRules) {
81
81
  var finalConfig = cardRules.pop();
@@ -206,7 +206,7 @@ var IglooCredit = function IglooCredit(props) {
206
206
  onChange: function onChange(e) {
207
207
  return handleOnChange(e.target.value, [].concat(_toConsumableArray(cardConfig), defaultCheck), formChangeProps);
208
208
  }
209
- }), void 0);
209
+ }));
210
210
  };
211
211
 
212
212
  function checkCard(value, cardRules) {
@@ -28,7 +28,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
28
28
  var Email = function Email(props) {
29
29
  return (0, _jsxRuntime.jsx)(_input.default, _objectSpread({
30
30
  className: "igloo-input"
31
- }, (0, _omit.default)(props, _formMethods.default)), void 0);
31
+ }, (0, _omit.default)(props, _formMethods.default)));
32
32
  };
33
33
 
34
34
  Email.formItemPropsHandler = function () {
@@ -268,11 +268,11 @@ var IglooExpiryDate = function IglooExpiryDate(props) {
268
268
  color: '#999999'
269
269
  },
270
270
  children: delimiter
271
- }, void 0)]
271
+ })]
272
272
  }, item);
273
273
  })
274
- }, void 0)
275
- }, void 0);
274
+ })
275
+ });
276
276
  };
277
277
 
278
278
  function checkTime(value, check) {
@@ -268,11 +268,11 @@ var IglooInputDate = function IglooInputDate(props) {
268
268
  color: '#999999'
269
269
  },
270
270
  children: delimiter
271
- }, void 0)]
271
+ })]
272
272
  }, item);
273
273
  })
274
- }, void 0)
275
- }, void 0);
274
+ })
275
+ });
276
276
  };
277
277
 
278
278
  function checkTime(value, format) {
@@ -41,7 +41,7 @@ var IglooInputNumber = function IglooInputNumber(props) {
41
41
  }, (0, _omit.default)(props, _formMethods.default)), {}, {
42
42
  onBlur: handleOnBlur,
43
43
  type: "number"
44
- }), void 0);
44
+ }));
45
45
  };
46
46
 
47
47
  IglooInputNumber.formItemPropsHandler = function (config) {
@@ -32,7 +32,7 @@ var IglooInput = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
32
32
  className: "igloo-input"
33
33
  }, (0, _omit.default)(props, _formMethods.default)), {}, {
34
34
  ref: ref
35
- }), void 0);
35
+ }));
36
36
  });
37
37
 
38
38
  IglooInput.formItemPropsHandler = function (config) {
package/lib/input/otp.js CHANGED
@@ -141,8 +141,8 @@ var Otp = function Otp(_ref) {
141
141
  }) : formatMessage({
142
142
  id: 'Resend OTP'
143
143
  })
144
- }, void 0)
145
- }, void 0), countDown && (0, _jsxRuntime.jsxs)("div", {
144
+ })
145
+ }), countDown && (0, _jsxRuntime.jsxs)("div", {
146
146
  className: "igloo-otp-extra igloo-otp-count-down",
147
147
  children: [formatMessage({
148
148
  id: 'Resend in'
@@ -151,11 +151,11 @@ var Otp = function Otp(_ref) {
151
151
  value: ddl,
152
152
  format: "s",
153
153
  onFinish: reset
154
- }, void 0), "s)"]
155
- }, void 0), (0, _jsxRuntime.jsx)(_input.default, _objectSpread(_objectSpread({}, (0, _omit.default)(props, _formMethods.default)), {}, {
154
+ }), "s)"]
155
+ }), (0, _jsxRuntime.jsx)(_input.default, _objectSpread(_objectSpread({}, (0, _omit.default)(props, _formMethods.default)), {}, {
156
156
  className: (0, _classnames.default)(className)
157
- }), void 0)]
158
- }, void 0);
157
+ }))]
158
+ });
159
159
  };
160
160
 
161
161
  Otp.formItemPropsHandler = function (config) {
@@ -37,7 +37,7 @@ var IglooPassword = function IglooPassword(props) {
37
37
  fontSize: 22,
38
38
  color: '#666666'
39
39
  }
40
- }, void 0) : (0, _jsxRuntime.jsx)("span", {
40
+ }) : (0, _jsxRuntime.jsx)("span", {
41
41
  onClickCapture: function onClickCapture(e) {
42
42
  if (!props.value) {
43
43
  e.stopPropagation();
@@ -49,10 +49,10 @@ var IglooPassword = function IglooPassword(props) {
49
49
  color: props.value ? '#666666' : '#bdbdbd',
50
50
  cursor: props.value ? 'pointer' : 'not-allowed'
51
51
  }
52
- }, void 0)
53
- }, void 0);
52
+ })
53
+ });
54
54
  }
55
- }), void 0);
55
+ }));
56
56
  };
57
57
 
58
58
  IglooPassword.formItemPropsHandler = function (config) {
@@ -85,10 +85,10 @@ var PhoneNumber = function PhoneNumber(_ref) {
85
85
  value: area
86
86
  };
87
87
  })
88
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
88
+ }) : (0, _jsxRuntime.jsx)("div", {
89
89
  className: "igloo-phone-number-addon-before",
90
90
  children: areaCode
91
- }, void 0);
91
+ });
92
92
  return (0, _jsxRuntime.jsxs)("div", {
93
93
  style: style,
94
94
  className: (0, _classnames.default)('igloo-input-phone', {
@@ -105,8 +105,8 @@ var PhoneNumber = function PhoneNumber(_ref) {
105
105
  } : undefined);
106
106
  },
107
107
  disabled: disabled
108
- }, void 0)]
109
- }, void 0);
108
+ })]
109
+ });
110
110
  };
111
111
 
112
112
  PhoneNumber.formItemPropsHandler = function (_ref2) {
@@ -102,9 +102,9 @@ var IglooTextArea = function IglooTextArea(props) {
102
102
  onChange: function onChange(e) {
103
103
  return handleOnChange(e, onChangeProps, maxLength);
104
104
  }
105
- }), void 0), (0, _jsxRuntime.jsx)("div", {
105
+ })), (0, _jsxRuntime.jsx)("div", {
106
106
  className: "igloo-input-text-area-right-bottom-cover"
107
- }, void 0), showLeft && (0, _jsxRuntime.jsx)("div", {
107
+ }), showLeft && (0, _jsxRuntime.jsx)("div", {
108
108
  className: "".concat(canInputNum < 0 ? 'igloo-input-text-area-remind-has-error' : 'igloo-input-text-area-remind'),
109
109
  children: canInputNum < 0 ? formatMessage({
110
110
  id: '{canInputNum} characters over',
@@ -117,8 +117,8 @@ var IglooTextArea = function IglooTextArea(props) {
117
117
  canInputNum: canInputNum
118
118
  }
119
119
  })
120
- }, void 0)]
121
- }, void 0);
120
+ })]
121
+ });
122
122
  };
123
123
 
124
124
  function checkNumber(value, maxLength, required) {
@@ -41,16 +41,16 @@ var DefaultFooter = function DefaultFooter() {
41
41
  className: "top-left",
42
42
  children: (0, _jsxRuntime.jsx)("div", {
43
43
  className: "igloo-logo"
44
- }, void 0)
45
- }, void 0)
46
- }, void 0), (0, _jsxRuntime.jsx)("div", {
44
+ })
45
+ })
46
+ }), (0, _jsxRuntime.jsx)("div", {
47
47
  className: "footer-divider"
48
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
48
+ }), (0, _jsxRuntime.jsxs)("div", {
49
49
  className: "footer-bottom",
50
50
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
51
51
  level: "body3",
52
52
  children: "\xA9 ".concat(new Date().getFullYear(), " Powered by Axinan Pte Ltd. All Rights Reserved.")
53
- }, void 0), (0, _jsxRuntime.jsxs)(_typography.default, {
53
+ }), (0, _jsxRuntime.jsxs)(_typography.default, {
54
54
  level: "body3",
55
55
  children: [(0, _jsxRuntime.jsx)(_button.default, {
56
56
  type: "text",
@@ -60,13 +60,13 @@ var DefaultFooter = function DefaultFooter() {
60
60
  children: (0, _jsxRuntime.jsx)(_typography.default, {
61
61
  level: "body3",
62
62
  children: "Privacy Policy"
63
- }, void 0)
64
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
63
+ })
64
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
65
65
  style: {
66
66
  margin: '0px 16px'
67
67
  },
68
68
  children: "|"
69
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
69
+ }), (0, _jsxRuntime.jsx)(_button.default, {
70
70
  type: "text",
71
71
  onClick: function onClick() {
72
72
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -74,27 +74,27 @@ var DefaultFooter = function DefaultFooter() {
74
74
  children: (0, _jsxRuntime.jsx)(_typography.default, {
75
75
  level: "body3",
76
76
  children: "Terms of Service"
77
- }, void 0)
78
- }, void 0)]
79
- }, void 0)]
80
- }, void 0)]
81
- }, void 0)
82
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
77
+ })
78
+ })]
79
+ })]
80
+ })]
81
+ })
82
+ }) : (0, _jsxRuntime.jsx)("div", {
83
83
  className: "igloo-layout-footer",
84
84
  children: (0, _jsxRuntime.jsxs)("div", {
85
85
  className: "footer-content",
86
86
  children: [(0, _jsxRuntime.jsx)("div", {
87
87
  className: "igloo-logo"
88
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
88
+ }), (0, _jsxRuntime.jsxs)("div", {
89
89
  className: "footer-bottom",
90
90
  children: [(0, _jsxRuntime.jsx)("div", {
91
91
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
92
92
  level: "body3",
93
93
  children: ["\xA9 ".concat(new Date().getFullYear(), " Powered by Axinan Pte Ltd."), (0, _jsxRuntime.jsx)("div", {
94
94
  children: "All Rights Reserved."
95
- }, void 0)]
96
- }, void 0)
97
- }, void 0), (0, _jsxRuntime.jsx)("div", {
95
+ })]
96
+ })
97
+ }), (0, _jsxRuntime.jsx)("div", {
98
98
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
99
99
  level: "body3",
100
100
  children: [(0, _jsxRuntime.jsx)(_button.default, {
@@ -105,13 +105,13 @@ var DefaultFooter = function DefaultFooter() {
105
105
  children: (0, _jsxRuntime.jsx)(_typography.default, {
106
106
  level: "body3",
107
107
  children: "Privacy Policy"
108
- }, void 0)
109
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
108
+ })
109
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
110
110
  style: {
111
111
  margin: '0px 16px'
112
112
  },
113
113
  children: "|"
114
- }, void 0), ' ', (0, _jsxRuntime.jsx)(_button.default, {
114
+ }), ' ', (0, _jsxRuntime.jsx)(_button.default, {
115
115
  type: "text",
116
116
  onClick: function onClick() {
117
117
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -119,13 +119,13 @@ var DefaultFooter = function DefaultFooter() {
119
119
  children: (0, _jsxRuntime.jsx)(_typography.default, {
120
120
  level: "body3",
121
121
  children: "Terms of Service"
122
- }, void 0)
123
- }, void 0)]
124
- }, void 0)
125
- }, void 0)]
126
- }, void 0)]
127
- }, void 0)
128
- }, void 0);
122
+ })
123
+ })]
124
+ })
125
+ })]
126
+ })]
127
+ })
128
+ });
129
129
  };
130
130
 
131
131
  var _default = DefaultFooter;
@@ -33,17 +33,17 @@ var DefaultHeader = function DefaultHeader() {
33
33
  className: "header-left",
34
34
  children: (0, _jsxRuntime.jsx)("div", {
35
35
  className: "igloo-logo"
36
- }, void 0)
37
- }, void 0)
38
- }, void 0)
39
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
36
+ })
37
+ })
38
+ })
39
+ }) : (0, _jsxRuntime.jsx)("div", {
40
40
  className: (0, _classnames.default)({
41
41
  'igloo-layout-header': true
42
42
  }),
43
43
  children: (0, _jsxRuntime.jsx)("div", {
44
44
  className: "igloo-logo"
45
- }, void 0)
46
- }, void 0);
45
+ })
46
+ });
47
47
  };
48
48
 
49
49
  var _default = DefaultHeader;