iglooform 2.4.24 → 2.4.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +43 -14
  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 +42 -13
  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
@@ -45,51 +45,51 @@ var LayoutFooter = function LayoutFooter(_ref) {
45
45
  style: {
46
46
  alignItems: 'center'
47
47
  },
48
- children: [(0, _jsxRuntime.jsx)(_iglooicon.PhoneOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
48
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.PhoneOutlined, {}), (0, _jsxRuntime.jsx)("div", {
49
49
  children: typeof tel === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
50
50
  level: "body2",
51
51
  className: "info-span",
52
52
  children: tel
53
- }, void 0) : tel
54
- }, void 0)]
55
- }, void 0), email && (0, _jsxRuntime.jsxs)("div", {
53
+ }) : tel
54
+ })]
55
+ }), email && (0, _jsxRuntime.jsxs)("div", {
56
56
  className: "info-container",
57
57
  style: {
58
58
  alignItems: 'center'
59
59
  },
60
- children: [(0, _jsxRuntime.jsx)(_iglooicon.EmailOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
60
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.EmailOutlined, {}), (0, _jsxRuntime.jsx)("div", {
61
61
  children: typeof email === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
62
62
  level: "body2",
63
63
  className: "info-span",
64
64
  children: email
65
- }, void 0) : email
66
- }, void 0)]
67
- }, void 0), workTime && (0, _jsxRuntime.jsxs)("div", {
65
+ }) : email
66
+ })]
67
+ }), workTime && (0, _jsxRuntime.jsxs)("div", {
68
68
  className: "info-container",
69
- children: [(0, _jsxRuntime.jsx)(_iglooicon.TimeOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
69
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.TimeOutlined, {}), (0, _jsxRuntime.jsx)("div", {
70
70
  children: typeof workTime === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
71
71
  level: "body2",
72
72
  className: "info-span",
73
73
  children: workTime
74
- }, void 0) : workTime
75
- }, void 0)]
76
- }, void 0)]
77
- }, void 0), address && (0, _jsxRuntime.jsxs)(_space.default, {
74
+ }) : workTime
75
+ })]
76
+ })]
77
+ }), address && (0, _jsxRuntime.jsxs)(_space.default, {
78
78
  size: 16,
79
79
  align: "start",
80
80
  children: [(0, _jsxRuntime.jsx)(_iglooicon.LocationOutlined, {
81
81
  style: {
82
82
  fontSize: 24
83
83
  }
84
- }, void 0), (0, _jsxRuntime.jsx)("div", {
84
+ }), (0, _jsxRuntime.jsx)("div", {
85
85
  children: typeof address === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
86
86
  level: "body2",
87
87
  className: "info-span",
88
88
  children: address
89
- }, void 0) : address
90
- }, void 0)]
91
- }, void 0)]
92
- }, void 0);
89
+ }) : address
90
+ })]
91
+ })]
92
+ });
93
93
 
94
94
  if (md) {
95
95
  return (0, _jsxRuntime.jsx)("div", {
@@ -104,16 +104,16 @@ var LayoutFooter = function LayoutFooter(_ref) {
104
104
  className: "top-left",
105
105
  children: (0, _jsxRuntime.jsx)("div", {
106
106
  className: "igloo-logo"
107
- }, void 0)
108
- }, void 0), topRightContent]
109
- }, void 0), (0, _jsxRuntime.jsx)("div", {
107
+ })
108
+ }), topRightContent]
109
+ }), (0, _jsxRuntime.jsx)("div", {
110
110
  className: "footer-divider"
111
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
111
+ }), (0, _jsxRuntime.jsxs)("div", {
112
112
  className: "footer-bottom",
113
113
  children: [copyRightRender ? copyRightRender("\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo. All Rights Reserved.")) : (0, _jsxRuntime.jsx)(_typography.default, {
114
114
  level: "body3",
115
115
  children: "\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo. All Rights Reserved.")
116
- }, void 0), (0, _jsxRuntime.jsxs)(_typography.default, {
116
+ }), (0, _jsxRuntime.jsxs)(_typography.default, {
117
117
  level: "body3",
118
118
  children: [(0, _jsxRuntime.jsx)(_button.default, {
119
119
  type: "text",
@@ -123,13 +123,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
123
123
  children: (0, _jsxRuntime.jsx)(_typography.default, {
124
124
  level: "body3",
125
125
  children: "Privacy Policy"
126
- }, void 0)
127
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
126
+ })
127
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
128
128
  style: {
129
129
  margin: '0px 16px'
130
130
  },
131
131
  children: "|"
132
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
132
+ }), (0, _jsxRuntime.jsx)(_button.default, {
133
133
  type: "text",
134
134
  onClick: function onClick() {
135
135
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -137,12 +137,12 @@ var LayoutFooter = function LayoutFooter(_ref) {
137
137
  children: (0, _jsxRuntime.jsx)(_typography.default, {
138
138
  level: "body3",
139
139
  children: "Terms of Service"
140
- }, void 0)
141
- }, void 0)]
142
- }, void 0)]
143
- }, void 0)]
144
- }, void 0)
145
- }, void 0);
140
+ })
141
+ })]
142
+ })]
143
+ })]
144
+ })
145
+ });
146
146
  } else {
147
147
  return (0, _jsxRuntime.jsx)("div", {
148
148
  className: "igloo-layout-footer",
@@ -150,65 +150,65 @@ var LayoutFooter = function LayoutFooter(_ref) {
150
150
  className: "footer-content",
151
151
  children: [(0, _jsxRuntime.jsx)("div", {
152
152
  className: "igloo-logo"
153
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
153
+ }), (0, _jsxRuntime.jsxs)("div", {
154
154
  className: "compony-info",
155
155
  children: [tel && (0, _jsxRuntime.jsxs)("div", {
156
156
  className: "info-item",
157
- children: [(0, _jsxRuntime.jsx)(_iglooicon.PhoneOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
157
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.PhoneOutlined, {}), (0, _jsxRuntime.jsx)("div", {
158
158
  children: typeof tel === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
159
159
  level: "body3",
160
160
  className: "info-span",
161
161
  children: tel
162
- }, void 0) : tel
163
- }, void 0)]
164
- }, void 0), email && (0, _jsxRuntime.jsxs)("div", {
162
+ }) : tel
163
+ })]
164
+ }), email && (0, _jsxRuntime.jsxs)("div", {
165
165
  className: "info-item",
166
- children: [(0, _jsxRuntime.jsx)(_iglooicon.EmailOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
166
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.EmailOutlined, {}), (0, _jsxRuntime.jsx)("div", {
167
167
  children: typeof email === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
168
168
  level: "body3",
169
169
  className: "info-span",
170
170
  children: email
171
- }, void 0) : email
172
- }, void 0)]
173
- }, void 0), workTime && (0, _jsxRuntime.jsxs)("div", {
171
+ }) : email
172
+ })]
173
+ }), workTime && (0, _jsxRuntime.jsxs)("div", {
174
174
  className: "info-item",
175
- children: [(0, _jsxRuntime.jsx)(_iglooicon.TimeOutlined, {}, void 0), (0, _jsxRuntime.jsx)("div", {
175
+ children: [(0, _jsxRuntime.jsx)(_iglooicon.TimeOutlined, {}), (0, _jsxRuntime.jsx)("div", {
176
176
  children: typeof workTime === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
177
177
  level: "body3",
178
178
  className: "info-span",
179
179
  children: workTime
180
- }, void 0) : workTime
181
- }, void 0)]
182
- }, void 0), address && (0, _jsxRuntime.jsxs)("div", {
180
+ }) : workTime
181
+ })]
182
+ }), address && (0, _jsxRuntime.jsxs)("div", {
183
183
  className: "info-item",
184
184
  children: [(0, _jsxRuntime.jsx)(_iglooicon.LocationOutlined, {
185
185
  style: {
186
186
  fontSize: 24
187
187
  }
188
- }, void 0), (0, _jsxRuntime.jsx)("div", {
188
+ }), (0, _jsxRuntime.jsx)("div", {
189
189
  children: typeof address === 'string' ? (0, _jsxRuntime.jsx)(_typography.default, {
190
190
  level: "body3",
191
191
  className: "info-span",
192
192
  children: address
193
- }, void 0) : address
194
- }, void 0)]
195
- }, void 0)]
196
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
193
+ }) : address
194
+ })]
195
+ })]
196
+ }), (0, _jsxRuntime.jsxs)("div", {
197
197
  className: "footer-bottom",
198
198
  children: [(0, _jsxRuntime.jsx)("div", {
199
199
  children: copyRightRender ? copyRightRender((0, _jsxRuntime.jsxs)("div", {
200
200
  children: [(0, _jsxRuntime.jsxs)("div", {
201
201
  children: ["\xA9 ", new Date().getFullYear(), " Powered by Igloo."]
202
- }, void 0), (0, _jsxRuntime.jsx)("div", {
202
+ }), (0, _jsxRuntime.jsx)("div", {
203
203
  children: "All Rights Reserved."
204
- }, void 0)]
205
- }, void 0)) : (0, _jsxRuntime.jsxs)(_typography.default, {
204
+ })]
205
+ })) : (0, _jsxRuntime.jsxs)(_typography.default, {
206
206
  level: "body3",
207
207
  children: ["\xA9 ".concat(new Date().getFullYear(), " Powered by Igloo."), (0, _jsxRuntime.jsx)("div", {
208
208
  children: "All Rights Reserved."
209
- }, void 0)]
210
- }, void 0)
211
- }, void 0), (0, _jsxRuntime.jsx)("div", {
209
+ })]
210
+ })
211
+ }), (0, _jsxRuntime.jsx)("div", {
212
212
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
213
213
  level: "body3",
214
214
  children: [(0, _jsxRuntime.jsx)(_button.default, {
@@ -219,13 +219,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
219
219
  children: (0, _jsxRuntime.jsx)(_typography.default, {
220
220
  level: "body3",
221
221
  children: "Privacy Policy"
222
- }, void 0)
223
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
222
+ })
223
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
224
224
  style: {
225
225
  margin: '0px 16px'
226
226
  },
227
227
  children: "|"
228
- }, void 0), ' ', (0, _jsxRuntime.jsx)(_button.default, {
228
+ }), ' ', (0, _jsxRuntime.jsx)(_button.default, {
229
229
  type: "text",
230
230
  onClick: function onClick() {
231
231
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -233,13 +233,13 @@ var LayoutFooter = function LayoutFooter(_ref) {
233
233
  children: (0, _jsxRuntime.jsx)(_typography.default, {
234
234
  level: "body3",
235
235
  children: "Terms of Service"
236
- }, void 0)
237
- }, void 0)]
238
- }, void 0)
239
- }, void 0)]
240
- }, void 0)]
241
- }, void 0)
242
- }, void 0);
236
+ })
237
+ })]
238
+ })
239
+ })]
240
+ })]
241
+ })
242
+ });
243
243
  }
244
244
  };
245
245
 
@@ -115,11 +115,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
115
115
  }),
116
116
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
117
117
  children: menuInfo.title
118
- }, void 0), (0, _jsxRuntime.jsx)(_badge.default, {
118
+ }), (0, _jsxRuntime.jsx)(_badge.default, {
119
119
  dot: true,
120
120
  color: '#F52209'
121
- }, void 0)]
122
- }, void 0);
121
+ })]
122
+ });
123
123
 
124
124
  case 'number':
125
125
  return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -129,13 +129,13 @@ var LayoutHeader = function LayoutHeader(_ref) {
129
129
  }),
130
130
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
131
131
  children: menuInfo.title
132
- }, void 0), (0, _jsxRuntime.jsx)(_badge.default, {
132
+ }), (0, _jsxRuntime.jsx)(_badge.default, {
133
133
  count: badge,
134
134
  style: {
135
135
  backgroundColor: '#F52209'
136
136
  }
137
- }, void 0)]
138
- }, void 0);
137
+ })]
138
+ });
139
139
 
140
140
  case 'object':
141
141
  return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -145,8 +145,8 @@ var LayoutHeader = function LayoutHeader(_ref) {
145
145
  }),
146
146
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
147
147
  children: menuInfo.title
148
- }, void 0), (0, _jsxRuntime.jsx)(_badge.default, _objectSpread({}, badge), void 0)]
149
- }, void 0);
148
+ }), (0, _jsxRuntime.jsx)(_badge.default, _objectSpread({}, badge))]
149
+ });
150
150
 
151
151
  case 'undefined':
152
152
  return (0, _jsxRuntime.jsx)(_typography.default, {
@@ -155,7 +155,7 @@ var LayoutHeader = function LayoutHeader(_ref) {
155
155
  }),
156
156
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
157
157
  children: menuInfo.title
158
- }, void 0);
158
+ });
159
159
 
160
160
  case 'function':
161
161
  return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -165,8 +165,8 @@ var LayoutHeader = function LayoutHeader(_ref) {
165
165
  }),
166
166
  level: activeMenu === menuInfo.key ? 'h4' : 'body1',
167
167
  children: menuInfo.title
168
- }, void 0), badge()]
169
- }, void 0);
168
+ }), badge()]
169
+ });
170
170
  }
171
171
  }
172
172
 
@@ -184,7 +184,7 @@ var LayoutHeader = function LayoutHeader(_ref) {
184
184
  className: "header-left",
185
185
  children: [(0, _jsxRuntime.jsx)("div", {
186
186
  className: "igloo-logo"
187
- }, void 0), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && !children && (0, _jsxRuntime.jsx)(_row.default, {
187
+ }), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && !children && (0, _jsxRuntime.jsx)(_row.default, {
188
188
  children: menus.map(function (menu) {
189
189
  return (0, _jsxRuntime.jsx)(_col.default, {
190
190
  className: (0, _classnames.default)('menu-item'),
@@ -194,22 +194,22 @@ var LayoutHeader = function LayoutHeader(_ref) {
194
194
  children: getMenuDom(selectedMenu || activeMenu, menu)
195
195
  }, menu.key);
196
196
  })
197
- }, void 0)]
198
- }, void 0), dropMenuConfig && !children && (0, _jsxRuntime.jsxs)(_space.default, {
197
+ })]
198
+ }), dropMenuConfig && !children && (0, _jsxRuntime.jsxs)(_space.default, {
199
199
  size: 8,
200
200
  children: [(0, _jsxRuntime.jsx)(_avatar.default, {
201
201
  size: 32,
202
202
  src: userAvatar
203
- }, void 0), (0, _jsxRuntime.jsx)(_typography.default, {
203
+ }), (0, _jsxRuntime.jsx)(_typography.default, {
204
204
  level: "body1",
205
205
  style: {
206
206
  color: '#666666'
207
207
  },
208
208
  children: userName
209
- }, void 0), dropMenuConfig && (0, _jsxRuntime.jsx)(_index.default, _objectSpread({}, dropMenuConfig), void 0)]
210
- }, void 0), children]
211
- }, void 0)
212
- }, void 0);
209
+ }), dropMenuConfig && (0, _jsxRuntime.jsx)(_index.default, _objectSpread({}, dropMenuConfig))]
210
+ }), children]
211
+ })
212
+ });
213
213
  } else {
214
214
  return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
215
215
  children: [(0, _jsxRuntime.jsxs)("div", {
@@ -219,11 +219,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
219
219
  }),
220
220
  children: [(0, _jsxRuntime.jsx)("div", {
221
221
  className: "igloo-logo"
222
- }, void 0), dropMenuConfig && !children && (0, _jsxRuntime.jsx)(_index.default, _objectSpread({
222
+ }), dropMenuConfig && !children && (0, _jsxRuntime.jsx)(_index.default, _objectSpread({
223
223
  userAvatar: userAvatar,
224
224
  userName: userName
225
- }, dropMenuConfig), void 0), children]
226
- }, void 0), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && (0, _jsxRuntime.jsx)(_row.default, {
225
+ }, dropMenuConfig)), children]
226
+ }), Boolean(menus === null || menus === void 0 ? void 0 : menus.length) && (0, _jsxRuntime.jsx)(_row.default, {
227
227
  className: "igloo-layout-menu",
228
228
  children: menus.map(function (menu) {
229
229
  var span = 24 / menus.length;
@@ -239,11 +239,11 @@ var LayoutHeader = function LayoutHeader(_ref) {
239
239
  alignItems: 'flex-start'
240
240
  },
241
241
  children: getMenuDom(selectedMenu || activeMenu, menu)
242
- }, void 0)
242
+ })
243
243
  }, menu.key);
244
244
  })
245
- }, void 0)]
246
- }, void 0);
245
+ })]
246
+ });
247
247
  }
248
248
  };
249
249
 
@@ -111,14 +111,14 @@ var Layout = function Layout(props) {
111
111
  return (0, _jsxRuntime.jsxs)("div", {
112
112
  style: style,
113
113
  className: (0, _classnames.default)(layoutContainerClass, className),
114
- children: [!headerDom && !headerConfig && (0, _jsxRuntime.jsx)(_defaultHeader.default, {}, void 0), headerConfig && (0, _jsxRuntime.jsx)(_header.default, _objectSpread({}, headerConfig), void 0), headerDom, (0, _jsxRuntime.jsx)("div", {
114
+ children: [!headerDom && !headerConfig && (0, _jsxRuntime.jsx)(_defaultHeader.default, {}), headerConfig && (0, _jsxRuntime.jsx)(_header.default, _objectSpread({}, headerConfig)), headerDom, (0, _jsxRuntime.jsx)("div", {
115
115
  className: "igloo-layout-center",
116
116
  children: (0, _jsxRuntime.jsx)("div", {
117
117
  className: "igloo-layout-content",
118
118
  children: contentDom
119
- }, void 0)
120
- }, void 0), !footerDom && !footerConfig && (0, _jsxRuntime.jsx)(_defaultFooter.default, {}, void 0), footerConfig && (0, _jsxRuntime.jsx)(_footer.default, _objectSpread({}, footerConfig), void 0), footerDom]
121
- }, void 0);
119
+ })
120
+ }), !footerDom && !footerConfig && (0, _jsxRuntime.jsx)(_defaultFooter.default, {}), footerConfig && (0, _jsxRuntime.jsx)(_footer.default, _objectSpread({}, footerConfig)), footerDom]
121
+ });
122
122
  };
123
123
 
124
124
  Layout.Header = _header.default;
@@ -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",
@@ -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": "",
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",
@@ -98,8 +98,8 @@ var LocaleProvider = function LocaleProvider(_ref) {
98
98
  children: (0, _jsxRuntime.jsx)(_configProvider.default, {
99
99
  locale: antdLocale[currentLang] || _default2.default,
100
100
  children: children
101
- }, void 0)
102
- }, void 0);
101
+ })
102
+ });
103
103
  };
104
104
 
105
105
  var _default = LocaleProvider;
@@ -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": "โปรดเลือก",
@@ -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": "",
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",
@@ -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": "请选择",
@@ -30,21 +30,21 @@ var LoginPage = function LoginPage(_ref) {
30
30
  className: "igloo-login-page-mobile",
31
31
  children: [(0, _jsxRuntime.jsx)("div", {
32
32
  className: "igloo-login-page-mobile-logo"
33
- }, void 0), (0, _jsxRuntime.jsx)("div", {
33
+ }), (0, _jsxRuntime.jsx)("div", {
34
34
  className: "igloo-login-page-mobile-child-box",
35
35
  children: children
36
- }, void 0)]
37
- }, void 0);
36
+ })]
37
+ });
38
38
  }
39
39
 
40
40
  return (0, _jsxRuntime.jsxs)("div", {
41
41
  className: "igloo-login-page",
42
42
  children: [(0, _jsxRuntime.jsx)("div", {
43
43
  className: "igloo-login-page-logo"
44
- }, void 0), (0, _jsxRuntime.jsx)("div", {
44
+ }), (0, _jsxRuntime.jsx)("div", {
45
45
  className: "igloo-login-page-child-box",
46
46
  children: children
47
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
47
+ }), (0, _jsxRuntime.jsxs)("div", {
48
48
  className: "igloo-login-page-text-box",
49
49
  children: [(0, _jsxRuntime.jsxs)("div", {
50
50
  className: "igloo-login-page-text-box-text",
@@ -54,41 +54,41 @@ var LoginPage = function LoginPage(_ref) {
54
54
  lineHeight: '88px'
55
55
  },
56
56
  children: "Simple."
57
- }, void 0), (0, _jsxRuntime.jsx)("div", {
57
+ }), (0, _jsxRuntime.jsx)("div", {
58
58
  style: {
59
59
  fontSize: 80,
60
60
  lineHeight: '88px'
61
61
  },
62
62
  children: "Painless."
63
- }, void 0), (0, _jsxRuntime.jsx)("div", {
63
+ }), (0, _jsxRuntime.jsx)("div", {
64
64
  style: {
65
65
  fontSize: 80,
66
66
  lineHeight: '88px'
67
67
  },
68
68
  children: "Honest."
69
- }, void 0), (0, _jsxRuntime.jsx)("div", {
69
+ }), (0, _jsxRuntime.jsx)("div", {
70
70
  style: {
71
71
  fontSize: 48,
72
72
  marginTop: 48
73
73
  },
74
74
  children: "Insurance for all."
75
- }, void 0), (0, _jsxRuntime.jsx)("div", {
75
+ }), (0, _jsxRuntime.jsx)("div", {
76
76
  style: {
77
77
  fontSize: 26,
78
78
  marginTop: 75
79
79
  },
80
80
  children: "iglooinsure.com"
81
- }, void 0)]
82
- }, void 0), showAppStore && (0, _jsxRuntime.jsxs)("div", {
81
+ })]
82
+ }), showAppStore && (0, _jsxRuntime.jsxs)("div", {
83
83
  className: "igloo-login-page-text-box-buttons",
84
84
  children: [(0, _jsxRuntime.jsx)("div", {
85
85
  className: (0, _classnames.default)('igloo-login-page-text-box-buttons-button', 'igloo-login-page-text-box-buttons-apple')
86
- }, void 0), (0, _jsxRuntime.jsx)("div", {
86
+ }), (0, _jsxRuntime.jsx)("div", {
87
87
  className: (0, _classnames.default)('igloo-login-page-text-box-buttons-button', 'igloo-login-page-text-box-buttons-google')
88
- }, void 0)]
89
- }, void 0)]
90
- }, void 0)]
91
- }, void 0);
88
+ })]
89
+ })]
90
+ })]
91
+ });
92
92
  };
93
93
 
94
94
  var _default = LoginPage;
@@ -231,7 +231,7 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
231
231
  src: src,
232
232
  onClick: open,
233
233
  name: name
234
- }, void 0), (0, _jsxRuntime.jsxs)(_modal.default, {
234
+ }), (0, _jsxRuntime.jsxs)(_modal.default, {
235
235
  visible: showModal,
236
236
  onCancel: close,
237
237
  footer: null,
@@ -239,7 +239,7 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
239
239
  style: {
240
240
  fontSize: 24
241
241
  }
242
- }, void 0),
242
+ }),
243
243
  wrapClassName: "igloo-media-preview",
244
244
  width: "100%",
245
245
  destroyOnClose: true,
@@ -247,13 +247,13 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
247
247
  className: "igloo-document-name",
248
248
  children: [(0, _jsxRuntime.jsx)("div", {
249
249
  children: docNames[current]
250
- }, void 0), (0, _jsxRuntime.jsx)("div", {
250
+ }), (0, _jsxRuntime.jsx)("div", {
251
251
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
252
252
  level: "body1",
253
253
  children: [current + 1, "/", docNames.length]
254
- }, void 0)
255
- }, void 0)]
256
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
254
+ })
255
+ })]
256
+ }), (0, _jsxRuntime.jsxs)("div", {
257
257
  className: "igloo-media-list",
258
258
  children: [Boolean(list && !!list.length) && list.map(function (_ref2, index) {
259
259
  var src = _ref2.src,
@@ -271,7 +271,7 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
271
271
  src: src,
272
272
  scale: scale,
273
273
  isCurrent: index === current
274
- }, void 0)
274
+ })
275
275
  }, index);
276
276
  }), Boolean(!list || !list.length) && (0, _jsxRuntime.jsx)("div", {
277
277
  className: "igloo-media",
@@ -280,7 +280,7 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
280
280
  src: src,
281
281
  scale: scale,
282
282
  isCurrent: true
283
- }, void 0)
283
+ })
284
284
  }, index), (0, _jsxRuntime.jsx)(_iglooicon.MinusOutlined, {
285
285
  onClick: zoomIn,
286
286
  className: (0, _classnames.default)({
@@ -291,7 +291,7 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
291
291
  style: {
292
292
  fontSize: 24
293
293
  }
294
- }, void 0), (0, _jsxRuntime.jsx)(_iglooicon.PlusOutlined, {
294
+ }), (0, _jsxRuntime.jsx)(_iglooicon.PlusOutlined, {
295
295
  onClick: zoomOut,
296
296
  className: (0, _classnames.default)({
297
297
  'igloo-preview-zoom-btn': true,
@@ -301,24 +301,24 @@ var MediaWithPreview = function MediaWithPreview(_ref) {
301
301
  style: {
302
302
  fontSize: 24
303
303
  }
304
- }, void 0), (list.length > 2 || list.length === 2 && current === 1) && (0, _jsxRuntime.jsx)(_iglooicon.ArrowLeftOutlined, {
304
+ }), (list.length > 2 || list.length === 2 && current === 1) && (0, _jsxRuntime.jsx)(_iglooicon.ArrowLeftOutlined, {
305
305
  className: "igloo-media-page-btn",
306
306
  style: {
307
307
  left: 24,
308
308
  fontSize: 32
309
309
  },
310
310
  onClick: toLeft
311
- }, void 0), (list.length > 2 || list.length === 2 && current === 0) && (0, _jsxRuntime.jsx)(_iglooicon.ArrowRightOutlined, {
311
+ }), (list.length > 2 || list.length === 2 && current === 0) && (0, _jsxRuntime.jsx)(_iglooicon.ArrowRightOutlined, {
312
312
  className: "igloo-media-page-btn",
313
313
  style: {
314
314
  right: 24,
315
315
  fontSize: 32
316
316
  },
317
317
  onClick: toRight
318
- }, void 0)]
319
- }, void 0)]
320
- }, void 0)]
321
- }, void 0);
318
+ })]
319
+ })]
320
+ })]
321
+ });
322
322
  };
323
323
 
324
324
  var _default = MediaWithPreview;