iglooform 2.4.25 → 2.4.28

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 +6 -3
  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 +3 -2
  72. package/es/locale/locale-provider.js +2 -2
  73. package/es/locale/th-TH/messages.json +3 -2
  74. package/es/locale/vi-VN/messages.json +3 -2
  75. package/es/locale/zh-CN/messages.json +3 -2
  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 +30 -34
  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 +6 -2
  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 +3 -2
  176. package/lib/locale/locale-provider.js +2 -2
  177. package/lib/locale/th-TH/messages.json +3 -2
  178. package/lib/locale/vi-VN/messages.json +3 -2
  179. package/lib/locale/zh-CN/messages.json +3 -2
  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 +30 -34
  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,51 +28,51 @@ var LayoutFooter = function LayoutFooter(_ref) {
28
28
  style: {
29
29
  alignItems: 'center'
30
30
  },
31
- children: [_jsx(PhoneOutlined, {}, void 0), _jsx("div", {
31
+ children: [_jsx(PhoneOutlined, {}), _jsx("div", {
32
32
  children: typeof tel === 'string' ? _jsx(Typography, {
33
33
  level: "body2",
34
34
  className: "info-span",
35
35
  children: tel
36
- }, void 0) : tel
37
- }, void 0)]
38
- }, void 0), email && _jsxs("div", {
36
+ }) : tel
37
+ })]
38
+ }), email && _jsxs("div", {
39
39
  className: "info-container",
40
40
  style: {
41
41
  alignItems: 'center'
42
42
  },
43
- children: [_jsx(EmailOutlined, {}, void 0), _jsx("div", {
43
+ children: [_jsx(EmailOutlined, {}), _jsx("div", {
44
44
  children: typeof email === 'string' ? _jsx(Typography, {
45
45
  level: "body2",
46
46
  className: "info-span",
47
47
  children: email
48
- }, void 0) : email
49
- }, void 0)]
50
- }, void 0), workTime && _jsxs("div", {
48
+ }) : email
49
+ })]
50
+ }), workTime && _jsxs("div", {
51
51
  className: "info-container",
52
- children: [_jsx(TimeOutlined, {}, void 0), _jsx("div", {
52
+ children: [_jsx(TimeOutlined, {}), _jsx("div", {
53
53
  children: typeof workTime === 'string' ? _jsx(Typography, {
54
54
  level: "body2",
55
55
  className: "info-span",
56
56
  children: workTime
57
- }, void 0) : workTime
58
- }, void 0)]
59
- }, void 0)]
60
- }, void 0), address && _jsxs(_Space, {
57
+ }) : workTime
58
+ })]
59
+ })]
60
+ }), address && _jsxs(_Space, {
61
61
  size: 16,
62
62
  align: "start",
63
63
  children: [_jsx(LocationOutlined, {
64
64
  style: {
65
65
  fontSize: 24
66
66
  }
67
- }, void 0), _jsx("div", {
67
+ }), _jsx("div", {
68
68
  children: typeof address === 'string' ? _jsx(Typography, {
69
69
  level: "body2",
70
70
  className: "info-span",
71
71
  children: address
72
- }, void 0) : address
73
- }, void 0)]
74
- }, void 0)]
75
- }, void 0);
72
+ }) : address
73
+ })]
74
+ })]
75
+ });
76
76
 
77
77
  if (md) {
78
78
  return _jsx("div", {
@@ -87,16 +87,16 @@ var LayoutFooter = function LayoutFooter(_ref) {
87
87
  className: "top-left",
88
88
  children: _jsx("div", {
89
89
  className: "igloo-logo"
90
- }, void 0)
91
- }, void 0), topRightContent]
92
- }, void 0), _jsx("div", {
90
+ })
91
+ }), topRightContent]
92
+ }), _jsx("div", {
93
93
  className: "footer-divider"
94
- }, void 0), _jsxs("div", {
94
+ }), _jsxs("div", {
95
95
  className: "footer-bottom",
96
96
  children: [copyRightRender ? copyRightRender("\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo. All Rights Reserved.")) : _jsx(Typography, {
97
97
  level: "body3",
98
98
  children: "\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo. All Rights Reserved.")
99
- }, void 0), _jsxs(Typography, {
99
+ }), _jsxs(Typography, {
100
100
  level: "body3",
101
101
  children: [_jsx(Button, {
102
102
  type: "text",
@@ -106,13 +106,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
106
106
  children: _jsx(Typography, {
107
107
  level: "body3",
108
108
  children: "Privacy Policy"
109
- }, void 0)
110
- }, void 0), ' ', _jsx("span", {
109
+ })
110
+ }), ' ', _jsx("span", {
111
111
  style: {
112
112
  margin: '0px 16px'
113
113
  },
114
114
  children: "|"
115
- }, void 0), _jsx(Button, {
115
+ }), _jsx(Button, {
116
116
  type: "text",
117
117
  onClick: function onClick() {
118
118
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -120,12 +120,12 @@ var LayoutFooter = function LayoutFooter(_ref) {
120
120
  children: _jsx(Typography, {
121
121
  level: "body3",
122
122
  children: "Terms of Service"
123
- }, void 0)
124
- }, void 0)]
125
- }, void 0)]
126
- }, void 0)]
127
- }, void 0)
128
- }, void 0);
123
+ })
124
+ })]
125
+ })]
126
+ })]
127
+ })
128
+ });
129
129
  } else {
130
130
  return _jsx("div", {
131
131
  className: "igloo-layout-footer",
@@ -133,65 +133,65 @@ var LayoutFooter = function LayoutFooter(_ref) {
133
133
  className: "footer-content",
134
134
  children: [_jsx("div", {
135
135
  className: "igloo-logo"
136
- }, void 0), _jsxs("div", {
136
+ }), _jsxs("div", {
137
137
  className: "compony-info",
138
138
  children: [tel && _jsxs("div", {
139
139
  className: "info-item",
140
- children: [_jsx(PhoneOutlined, {}, void 0), _jsx("div", {
140
+ children: [_jsx(PhoneOutlined, {}), _jsx("div", {
141
141
  children: typeof tel === 'string' ? _jsx(Typography, {
142
142
  level: "body3",
143
143
  className: "info-span",
144
144
  children: tel
145
- }, void 0) : tel
146
- }, void 0)]
147
- }, void 0), email && _jsxs("div", {
145
+ }) : tel
146
+ })]
147
+ }), email && _jsxs("div", {
148
148
  className: "info-item",
149
- children: [_jsx(EmailOutlined, {}, void 0), _jsx("div", {
149
+ children: [_jsx(EmailOutlined, {}), _jsx("div", {
150
150
  children: typeof email === 'string' ? _jsx(Typography, {
151
151
  level: "body3",
152
152
  className: "info-span",
153
153
  children: email
154
- }, void 0) : email
155
- }, void 0)]
156
- }, void 0), workTime && _jsxs("div", {
154
+ }) : email
155
+ })]
156
+ }), workTime && _jsxs("div", {
157
157
  className: "info-item",
158
- children: [_jsx(TimeOutlined, {}, void 0), _jsx("div", {
158
+ children: [_jsx(TimeOutlined, {}), _jsx("div", {
159
159
  children: typeof workTime === 'string' ? _jsx(Typography, {
160
160
  level: "body3",
161
161
  className: "info-span",
162
162
  children: workTime
163
- }, void 0) : workTime
164
- }, void 0)]
165
- }, void 0), address && _jsxs("div", {
163
+ }) : workTime
164
+ })]
165
+ }), address && _jsxs("div", {
166
166
  className: "info-item",
167
167
  children: [_jsx(LocationOutlined, {
168
168
  style: {
169
169
  fontSize: 24
170
170
  }
171
- }, void 0), _jsx("div", {
171
+ }), _jsx("div", {
172
172
  children: typeof address === 'string' ? _jsx(Typography, {
173
173
  level: "body3",
174
174
  className: "info-span",
175
175
  children: address
176
- }, void 0) : address
177
- }, void 0)]
178
- }, void 0)]
179
- }, void 0), _jsxs("div", {
176
+ }) : address
177
+ })]
178
+ })]
179
+ }), _jsxs("div", {
180
180
  className: "footer-bottom",
181
181
  children: [_jsx("div", {
182
182
  children: copyRightRender ? copyRightRender(_jsxs("div", {
183
183
  children: [_jsxs("div", {
184
184
  children: ["\xA9 ", new Date().getFullYear(), " Powered by Igloo."]
185
- }, void 0), _jsx("div", {
185
+ }), _jsx("div", {
186
186
  children: "All Rights Reserved."
187
- }, void 0)]
188
- }, void 0)) : _jsxs(Typography, {
187
+ })]
188
+ })) : _jsxs(Typography, {
189
189
  level: "body3",
190
190
  children: ["\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo."), _jsx("div", {
191
191
  children: "All Rights Reserved."
192
- }, void 0)]
193
- }, void 0)
194
- }, void 0), _jsx("div", {
192
+ })]
193
+ })
194
+ }), _jsx("div", {
195
195
  children: _jsxs(Typography, {
196
196
  level: "body3",
197
197
  children: [_jsx(Button, {
@@ -202,13 +202,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
202
202
  children: _jsx(Typography, {
203
203
  level: "body3",
204
204
  children: "Privacy Policy"
205
- }, void 0)
206
- }, void 0), ' ', _jsx("span", {
205
+ })
206
+ }), ' ', _jsx("span", {
207
207
  style: {
208
208
  margin: '0px 16px'
209
209
  },
210
210
  children: "|"
211
- }, void 0), ' ', _jsx(Button, {
211
+ }), ' ', _jsx(Button, {
212
212
  type: "text",
213
213
  onClick: function onClick() {
214
214
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -216,13 +216,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
216
216
  children: _jsx(Typography, {
217
217
  level: "body3",
218
218
  children: "Terms of Service"
219
- }, void 0)
220
- }, void 0)]
221
- }, void 0)
222
- }, void 0)]
223
- }, void 0)]
224
- }, void 0)
225
- }, void 0);
219
+ })
220
+ })]
221
+ })
222
+ })]
223
+ })]
224
+ })
225
+ });
226
226
  }
227
227
  };
228
228
 
@@ -89,11 +89,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
89
89
  }),
90
90
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
91
91
  children: menuInfo.title
92
- }, void 0), _jsx(_Badge, {
92
+ }), _jsx(_Badge, {
93
93
  dot: true,
94
94
  color: '#F52209'
95
- }, void 0)]
96
- }, void 0);
95
+ })]
96
+ });
97
97
 
98
98
  case 'number':
99
99
  return _jsxs(_Fragment, {
@@ -103,13 +103,13 @@ var LayoutHeader = function LayoutHeader(_ref) {
103
103
  }),
104
104
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
105
105
  children: menuInfo.title
106
- }, void 0), _jsx(_Badge, {
106
+ }), _jsx(_Badge, {
107
107
  count: badge,
108
108
  style: {
109
109
  backgroundColor: '#F52209'
110
110
  }
111
- }, void 0)]
112
- }, void 0);
111
+ })]
112
+ });
113
113
 
114
114
  case 'object':
115
115
  return _jsxs(_Fragment, {
@@ -119,8 +119,8 @@ var LayoutHeader = function LayoutHeader(_ref) {
119
119
  }),
120
120
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
121
121
  children: menuInfo.title
122
- }, void 0), _jsx(_Badge, _objectSpread({}, badge), void 0)]
123
- }, void 0);
122
+ }), _jsx(_Badge, _objectSpread({}, badge))]
123
+ });
124
124
 
125
125
  case 'undefined':
126
126
  return _jsx(Typography, {
@@ -129,7 +129,7 @@ var LayoutHeader = function LayoutHeader(_ref) {
129
129
  }),
130
130
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
131
131
  children: menuInfo.title
132
- }, void 0);
132
+ });
133
133
 
134
134
  case 'function':
135
135
  return _jsxs(_Fragment, {
@@ -139,8 +139,8 @@ var LayoutHeader = function LayoutHeader(_ref) {
139
139
  }),
140
140
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
141
141
  children: menuInfo.title
142
- }, void 0), badge()]
143
- }, void 0);
142
+ }), badge()]
143
+ });
144
144
  }
145
145
  }
146
146
 
@@ -158,7 +158,7 @@ var LayoutHeader = function LayoutHeader(_ref) {
158
158
  className: "header-left",
159
159
  children: [_jsx("div", {
160
160
  className: "igloo-logo"
161
- }, void 0), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && !children && _jsx(_Row, {
161
+ }), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && !children && _jsx(_Row, {
162
162
  children: menus.map(function (menu) {
163
163
  return _jsx(_Col, {
164
164
  className: classnames('menu-item'),
@@ -168,22 +168,22 @@ var LayoutHeader = function LayoutHeader(_ref) {
168
168
  children: getMenuDom(selectedMenu || activeMenu, menu)
169
169
  }, menu.key);
170
170
  })
171
- }, void 0)]
172
- }, void 0), dropMenuConfig && !children && _jsxs(_Space, {
171
+ })]
172
+ }), dropMenuConfig && !children && _jsxs(_Space, {
173
173
  size: 8,
174
174
  children: [_jsx(_Avatar, {
175
175
  size: 32,
176
176
  src: userAvatar
177
- }, void 0), _jsx(Typography, {
177
+ }), _jsx(Typography, {
178
178
  level: "body1",
179
179
  style: {
180
180
  color: '#666666'
181
181
  },
182
182
  children: userName
183
- }, void 0), dropMenuConfig && _jsx(HomeMenu, _objectSpread({}, dropMenuConfig), void 0)]
184
- }, void 0), children]
185
- }, void 0)
186
- }, void 0);
183
+ }), dropMenuConfig && _jsx(HomeMenu, _objectSpread({}, dropMenuConfig))]
184
+ }), children]
185
+ })
186
+ });
187
187
  } else {
188
188
  return _jsxs(_Fragment, {
189
189
  children: [_jsxs("div", {
@@ -193,11 +193,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
193
193
  }),
194
194
  children: [_jsx("div", {
195
195
  className: "igloo-logo"
196
- }, void 0), dropMenuConfig && !children && _jsx(HomeMenu, _objectSpread({
196
+ }), dropMenuConfig && !children && _jsx(HomeMenu, _objectSpread({
197
197
  userAvatar: userAvatar,
198
198
  userName: userName
199
- }, dropMenuConfig), void 0), children]
200
- }, void 0), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && _jsx(_Row, {
199
+ }, dropMenuConfig)), children]
200
+ }), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && _jsx(_Row, {
201
201
  className: "igloo-layout-menu",
202
202
  children: menus.map(function (menu) {
203
203
  var span = 24 / menus.length;
@@ -213,11 +213,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
213
213
  alignItems: 'flex-start'
214
214
  },
215
215
  children: getMenuDom(selectedMenu || activeMenu, menu)
216
- }, void 0)
216
+ })
217
217
  }, menu.key);
218
218
  })
219
- }, void 0)]
220
- }, void 0);
219
+ })]
220
+ });
221
221
  }
222
222
  };
223
223
 
@@ -95,14 +95,14 @@ var Layout = function Layout(props) {
95
95
  return _jsxs("div", {
96
96
  style: style,
97
97
  className: classnames(layoutContainerClass, className),
98
- children: [!headerDom && !headerConfig && _jsx(DefaultHeader, {}, void 0), headerConfig && _jsx(LayoutHeader, _objectSpread({}, headerConfig), void 0), headerDom, _jsx("div", {
98
+ children: [!headerDom && !headerConfig && _jsx(DefaultHeader, {}), headerConfig && _jsx(LayoutHeader, _objectSpread({}, headerConfig)), headerDom, _jsx("div", {
99
99
  className: "igloo-layout-center",
100
100
  children: _jsx("div", {
101
101
  className: "igloo-layout-content",
102
102
  children: contentDom
103
- }, void 0)
104
- }, void 0), !footerDom && !footerConfig && _jsx(DefaultFooter, {}, void 0), footerConfig && _jsx(LayoutFooter, _objectSpread({}, footerConfig), void 0), footerDom]
105
- }, void 0);
103
+ })
104
+ }), !footerDom && !footerConfig && _jsx(DefaultFooter, {}), footerConfig && _jsx(LayoutFooter, _objectSpread({}, footerConfig)), footerDom]
105
+ });
106
106
  };
107
107
 
108
108
  Layout.Header = LayoutHeader;
@@ -38,6 +38,7 @@
38
38
  "OK": "OK",
39
39
  "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.",
40
40
  "Optional": "Optional",
41
+ "Other Reason": "Other Reason",
41
42
  "Please enter a valid date.": "Please enter a valid date.",
42
43
  "Please enter a valid time.": "Please enter a valid time.",
43
44
  "Please select": "Please select",
@@ -4,7 +4,7 @@
4
4
  "1 file in progress...": "1 data dalam proses",
5
5
  "Accept": "Menerima",
6
6
  "Action": "Beroperasi",
7
- "Add": "",
7
+ "Add": "Menambahkan",
8
8
  "Apply": "Terapkan",
9
9
  "Apply Columns": "Terapkan Kolom",
10
10
  "Cancel": "Batal",
@@ -38,6 +38,7 @@
38
38
  "OK": "oke",
39
39
  "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "Jika Anda puas dengan apa yang telah disampaikan, dan Anda telah memeriksa deklarasi tersebut, silakan lanjutkan dan ajukan klaim Anda.",
40
40
  "Optional": "Pilihan",
41
+ "Other Reason": "Alasan lain",
41
42
  "Please enter a valid date.": "Silakan tulis tanggal valid",
42
43
  "Please enter a valid time.": "Harap masukkan waktu yang valid",
43
44
  "Please select": "Silahkan pilih",
@@ -48,7 +49,7 @@
48
49
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "Perkembangan terkait proses belum dapat diperbarui saat ini. Jangan khawatir! Semua data Anda masih dalam proses .",
49
50
  "Quantity of files should be less than {limit}": "Jumlah dokumen tidak bisa lebih dari {limit}",
50
51
  "Reject": "Menolak",
51
- "Remove": "",
52
+ "Remove": "Menghapus",
52
53
  "Resend OTP": "Kirim ulang OTP",
53
54
  "Resend in": "Kirim ulang",
54
55
  "Reset All Filters": "Setel ulang filter",
@@ -70,8 +70,8 @@ var LocaleProvider = function LocaleProvider(_ref) {
70
70
  children: _jsx(_ConfigProvider, {
71
71
  locale: antdLocale[currentLang] || antdDefault,
72
72
  children: children
73
- }, void 0)
74
- }, void 0);
73
+ })
74
+ });
75
75
  };
76
76
 
77
77
  export default LocaleProvider;
@@ -4,7 +4,7 @@
4
4
  "1 file in progress...": "กำลังดำเนินการ 1 ไฟล์...",
5
5
  "Accept": "ยอมรับ",
6
6
  "Action": "ดำเนินงาน",
7
- "Add": "",
7
+ "Add": "เพิ่ม",
8
8
  "Apply": "ใช้",
9
9
  "Apply Columns": "ใช้คอลัมน์",
10
10
  "Cancel": "ยกเลิก",
@@ -38,6 +38,7 @@
38
38
  "OK": "ตกลง",
39
39
  "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "หากตรวจสอบแล้วและต้องการยืนยันข้อมูลข้างต้น กรุณากดดำเนินการต่อและยืนยันการเคลมของคุณ",
40
40
  "Optional": "ไม่จำเป็น",
41
+ "Other Reason": "เหตุผลอื่น",
41
42
  "Please enter a valid date.": "กรุณากรอกวันที่ถูกต้อง",
42
43
  "Please enter a valid time.": "กรุณากรอกเวลาที่ถูกต้อง",
43
44
  "Please select": "โปรดเลือก",
@@ -48,7 +49,7 @@
48
49
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "ไม่สามารถอัปเดตการประมวลผลได้ในขณะนี้ ไม่ต้องกังวล! ไฟล์ของคุณทั้งหมดกำลังอยู่ระหว่างดำเนินการ",
49
50
  "Quantity of files should be less than {limit}": "จำนวนไฟล์ควรน้อยกว่า {limit}",
50
51
  "Reject": "ปฏิเสธ",
51
- "Remove": "",
52
+ "Remove": "ลบ",
52
53
  "Resend OTP": "ขอ OTP อีกครั้ง",
53
54
  "Resend in": "ส่งอีกครั้งใน",
54
55
  "Reset All Filters": "รีเซทตัวกรอง",
@@ -4,7 +4,7 @@
4
4
  "1 file in progress...": "1 tệp đang được xử lý",
5
5
  "Accept": "Chấp nhận",
6
6
  "Action": "Chạy",
7
- "Add": "",
7
+ "Add": "Thêm vào",
8
8
  "Apply": "Áp dụng",
9
9
  "Apply Columns": "Áp dụng Cột",
10
10
  "Cancel": "Hủy",
@@ -38,6 +38,7 @@
38
38
  "OK": "Vâng",
39
39
  "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "Vui lòng xác nhận và gửi yêu cầu bồi thường.",
40
40
  "Optional": "Không bắt buộc",
41
+ "Other Reason": "Lý do khác",
41
42
  "Please enter a valid date.": "Vui lòng nhập đúng ngày:",
42
43
  "Please enter a valid time.": "Vui lòng nhập thời gian hợp lệ.",
43
44
  "Please select": "Xin hãy lựa chọn",
@@ -48,7 +49,7 @@
48
49
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "Dữ liệu chưa được cập nhật và đang trong quá trình xử lý.",
49
50
  "Quantity of files should be less than {limit}": "Số lượng tệp tin không vượt quá {limit}",
50
51
  "Reject": "Từ chối",
51
- "Remove": "",
52
+ "Remove": "tẩy",
52
53
  "Resend OTP": "Gửi lại OTP",
53
54
  "Resend in": "Gửi lại trong",
54
55
  "Reset All Filters": "Xóa lọc",
@@ -4,7 +4,7 @@
4
4
  "1 file in progress...": "1个文件正在处理...",
5
5
  "Accept": "接受",
6
6
  "Action": "操作",
7
- "Add": "",
7
+ "Add": "增加",
8
8
  "Apply": "应用",
9
9
  "Apply Columns": "应用",
10
10
  "Cancel": "取消",
@@ -38,6 +38,7 @@
38
38
  "OK": "确定",
39
39
  "Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "如您对上述填写内容满意,在勾选以下申明后,请继续提交您的理赔申请。",
40
40
  "Optional": "可选",
41
+ "Other Reason": "其他原因",
41
42
  "Please enter a valid date.": "请输入一个有效的日期。",
42
43
  "Please enter a valid time.": "请输入一个有效的时间。",
43
44
  "Please select": "请选择",
@@ -48,7 +49,7 @@
48
49
  "Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "文件解析中,请耐心等待。",
49
50
  "Quantity of files should be less than {limit}": "文件数量不能超过{limit}",
50
51
  "Reject": "拒绝",
51
- "Remove": "",
52
+ "Remove": "移除",
52
53
  "Resend OTP": "重新发送OTP",
53
54
  "Resend in": "重新发送",
54
55
  "Reset All Filters": "重置所有过滤条件",
@@ -17,21 +17,21 @@ var LoginPage = function LoginPage(_ref) {
17
17
  className: "igloo-login-page-mobile",
18
18
  children: [_jsx("div", {
19
19
  className: "igloo-login-page-mobile-logo"
20
- }, void 0), _jsx("div", {
20
+ }), _jsx("div", {
21
21
  className: "igloo-login-page-mobile-child-box",
22
22
  children: children
23
- }, void 0)]
24
- }, void 0);
23
+ })]
24
+ });
25
25
  }
26
26
 
27
27
  return _jsxs("div", {
28
28
  className: "igloo-login-page",
29
29
  children: [_jsx("div", {
30
30
  className: "igloo-login-page-logo"
31
- }, void 0), _jsx("div", {
31
+ }), _jsx("div", {
32
32
  className: "igloo-login-page-child-box",
33
33
  children: children
34
- }, void 0), _jsxs("div", {
34
+ }), _jsxs("div", {
35
35
  className: "igloo-login-page-text-box",
36
36
  children: [_jsxs("div", {
37
37
  className: "igloo-login-page-text-box-text",
@@ -41,41 +41,41 @@ var LoginPage = function LoginPage(_ref) {
41
41
  lineHeight: '88px'
42
42
  },
43
43
  children: "Simple."
44
- }, void 0), _jsx("div", {
44
+ }), _jsx("div", {
45
45
  style: {
46
46
  fontSize: 80,
47
47
  lineHeight: '88px'
48
48
  },
49
49
  children: "Painless."
50
- }, void 0), _jsx("div", {
50
+ }), _jsx("div", {
51
51
  style: {
52
52
  fontSize: 80,
53
53
  lineHeight: '88px'
54
54
  },
55
55
  children: "Honest."
56
- }, void 0), _jsx("div", {
56
+ }), _jsx("div", {
57
57
  style: {
58
58
  fontSize: 48,
59
59
  marginTop: 48
60
60
  },
61
61
  children: "Insurance for all."
62
- }, void 0), _jsx("div", {
62
+ }), _jsx("div", {
63
63
  style: {
64
64
  fontSize: 26,
65
65
  marginTop: 75
66
66
  },
67
67
  children: "iglooinsure.com"
68
- }, void 0)]
69
- }, void 0), showAppStore && _jsxs("div", {
68
+ })]
69
+ }), showAppStore && _jsxs("div", {
70
70
  className: "igloo-login-page-text-box-buttons",
71
71
  children: [_jsx("div", {
72
72
  className: classnames('igloo-login-page-text-box-buttons-button', 'igloo-login-page-text-box-buttons-apple')
73
- }, void 0), _jsx("div", {
73
+ }), _jsx("div", {
74
74
  className: classnames('igloo-login-page-text-box-buttons-button', 'igloo-login-page-text-box-buttons-google')
75
- }, void 0)]
76
- }, void 0)]
77
- }, void 0)]
78
- }, void 0);
75
+ })]
76
+ })]
77
+ })]
78
+ });
79
79
  };
80
80
 
81
81
  export default LoginPage;