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.
- package/es/admin-upload/float.js +14 -14
- package/es/admin-upload/index.js +11 -11
- package/es/admin-upload/job-list.js +47 -47
- package/es/admin-upload/modal.js +10 -10
- package/es/alert-message/index.js +7 -7
- package/es/amount/index.js +2 -2
- package/es/back-top/index.js +4 -4
- package/es/button/index.js +9 -9
- package/es/card-detail/card-group.js +6 -6
- package/es/card-detail/card-item.js +5 -5
- package/es/card-detail/card-page.js +5 -5
- package/es/card-detail/card.js +7 -7
- package/es/checkbox/index.js +6 -6
- package/es/claim-list/index.js +19 -19
- package/es/confirmation/index.js +4 -4
- package/es/date-picker/buddhist.js +2 -2
- package/es/date-picker/index.js +9 -9
- package/es/declaration/index.js +5 -5
- package/es/detail-panel/index.js +26 -26
- package/es/documents/index.js +2 -2
- package/es/example/index.js +5 -5
- package/es/filter/checkBox.js +10 -10
- package/es/filter/customize.js +1 -1
- package/es/filter/index.js +43 -43
- package/es/filter/radioBox.js +7 -7
- package/es/filter/rangePicker.js +23 -23
- package/es/filter/style/index.less +10 -2
- package/es/form/addable-section/index.js +33 -18
- package/es/form/addable-section/style/index.less +6 -10
- package/es/form/divider/index.js +1 -1
- package/es/form/element/index.js +17 -17
- package/es/form/elements.js +6 -3
- package/es/form/index.js +7 -7
- package/es/form/login/index.js +6 -6
- package/es/form/page/index.js +8 -8
- package/es/form/pages/index.js +10 -10
- package/es/form/render/index.js +1 -1
- package/es/form/section/index.js +4 -4
- package/es/form/step/index.js +14 -14
- package/es/form/steps/index.js +2 -2
- package/es/free-form/addable-section/index.js +29 -14
- package/es/free-form/addable-section/style/index.less +0 -4
- package/es/free-form/element/index.js +10 -10
- package/es/free-form/index.js +3 -3
- package/es/free-form/page/index.js +15 -15
- package/es/free-form/pages/index.js +2 -2
- package/es/free-form/section/index.js +4 -4
- package/es/free-form/step/index.js +14 -14
- package/es/free-form/steps/index.js +2 -2
- package/es/global-message/index.js +12 -12
- package/es/home-menu/index.js +18 -18
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/input/amount.js +2 -2
- package/es/input/credit-card.js +4 -4
- package/es/input/email.js +1 -1
- package/es/input/expiry-date.js +3 -3
- package/es/input/input-date.js +3 -3
- package/es/input/input-number.js +1 -1
- package/es/input/input.js +1 -1
- package/es/input/otp.js +6 -6
- package/es/input/password.js +4 -4
- package/es/input/phone-number.js +4 -4
- package/es/input/text-area.js +4 -4
- package/es/layout/defaultFooter.js +28 -28
- package/es/layout/defaultHeader.js +6 -6
- package/es/layout/footer.js +66 -66
- package/es/layout/header.js +25 -25
- package/es/layout/index.js +4 -4
- package/es/locale/en-US/messages.json +1 -0
- package/es/locale/id-ID/messages.json +3 -2
- package/es/locale/locale-provider.js +2 -2
- package/es/locale/th-TH/messages.json +3 -2
- package/es/locale/vi-VN/messages.json +3 -2
- package/es/locale/zh-CN/messages.json +3 -2
- package/es/login-page/index.js +16 -16
- package/es/media/index.js +15 -15
- package/es/media/media.js +8 -8
- package/es/media/preview.js +6 -6
- package/es/mobile-insurer-detail/index.js +18 -18
- package/es/mobile-insurer-list/index.js +11 -11
- package/es/modal/index.js +8 -8
- package/es/platform/platform-card/index.js +5 -5
- package/es/platform/switch-platform/index.js +12 -12
- package/es/policy-list/index.js +4 -4
- package/es/policy-list/policy-card.js +32 -32
- package/es/radio/index.d.ts +2 -1
- package/es/radio/index.js +13 -12
- package/es/radio/radio-group-with-other.d.ts +6 -0
- package/es/radio/radio-group-with-other.js +85 -0
- package/es/select/attached-select.js +17 -20
- package/es/select/select.js +6 -9
- package/es/select/time-select.js +20 -20
- package/es/status-box/index.js +2 -2
- package/es/table/index.js +33 -33
- package/es/tabs/index.js +1 -1
- package/es/typography/index.js +10 -3
- package/es/upload/index.js +28 -28
- package/es/upload-photo/index.js +30 -34
- package/es/upload-photo/media.js +4 -4
- package/es/upload-preview/index.js +10 -10
- package/es/upload-preview/media.js +8 -8
- package/es/utils/form-utils.d.ts +1 -1
- package/es/utils/form-utils.js +11 -11
- package/lib/admin-upload/float.js +14 -14
- package/lib/admin-upload/index.js +11 -11
- package/lib/admin-upload/job-list.js +47 -47
- package/lib/admin-upload/modal.js +10 -10
- package/lib/alert-message/index.js +7 -7
- package/lib/amount/index.js +2 -2
- package/lib/back-top/index.js +4 -4
- package/lib/button/index.js +9 -9
- package/lib/card-detail/card-group.js +6 -6
- package/lib/card-detail/card-item.js +5 -5
- package/lib/card-detail/card-page.js +5 -5
- package/lib/card-detail/card.js +7 -7
- package/lib/checkbox/index.js +6 -6
- package/lib/claim-list/index.js +19 -19
- package/lib/confirmation/index.js +4 -4
- package/lib/date-picker/buddhist.js +2 -2
- package/lib/date-picker/index.js +9 -9
- package/lib/declaration/index.js +5 -5
- package/lib/detail-panel/index.js +26 -26
- package/lib/documents/index.js +2 -2
- package/lib/example/index.js +5 -5
- package/lib/filter/checkBox.js +10 -10
- package/lib/filter/customize.js +1 -1
- package/lib/filter/index.js +43 -43
- package/lib/filter/radioBox.js +7 -7
- package/lib/filter/rangePicker.js +23 -23
- package/lib/filter/style/index.less +10 -2
- package/lib/form/addable-section/index.js +37 -17
- package/lib/form/addable-section/style/index.less +6 -10
- package/lib/form/divider/index.js +1 -1
- package/lib/form/element/index.js +17 -17
- package/lib/form/elements.js +6 -2
- package/lib/form/index.js +7 -7
- package/lib/form/login/index.js +6 -6
- package/lib/form/page/index.js +8 -8
- package/lib/form/pages/index.js +10 -10
- package/lib/form/render/index.js +1 -1
- package/lib/form/section/index.js +4 -4
- package/lib/form/step/index.js +14 -14
- package/lib/form/steps/index.js +2 -2
- package/lib/free-form/addable-section/index.js +33 -13
- package/lib/free-form/addable-section/style/index.less +0 -4
- package/lib/free-form/element/index.js +10 -10
- package/lib/free-form/index.js +3 -3
- package/lib/free-form/page/index.js +15 -15
- package/lib/free-form/pages/index.js +2 -2
- package/lib/free-form/section/index.js +4 -4
- package/lib/free-form/step/index.js +14 -14
- package/lib/free-form/steps/index.js +2 -2
- package/lib/global-message/index.js +12 -12
- package/lib/home-menu/index.js +18 -18
- package/lib/index.d.ts +1 -1
- package/lib/index.js +7 -0
- package/lib/input/amount.js +2 -2
- package/lib/input/credit-card.js +4 -4
- package/lib/input/email.js +1 -1
- package/lib/input/expiry-date.js +3 -3
- package/lib/input/input-date.js +3 -3
- package/lib/input/input-number.js +1 -1
- package/lib/input/input.js +1 -1
- package/lib/input/otp.js +6 -6
- package/lib/input/password.js +4 -4
- package/lib/input/phone-number.js +4 -4
- package/lib/input/text-area.js +4 -4
- package/lib/layout/defaultFooter.js +28 -28
- package/lib/layout/defaultHeader.js +6 -6
- package/lib/layout/footer.js +66 -66
- package/lib/layout/header.js +25 -25
- package/lib/layout/index.js +4 -4
- package/lib/locale/en-US/messages.json +1 -0
- package/lib/locale/id-ID/messages.json +3 -2
- package/lib/locale/locale-provider.js +2 -2
- package/lib/locale/th-TH/messages.json +3 -2
- package/lib/locale/vi-VN/messages.json +3 -2
- package/lib/locale/zh-CN/messages.json +3 -2
- package/lib/login-page/index.js +16 -16
- package/lib/media/index.js +15 -15
- package/lib/media/media.js +8 -8
- package/lib/media/preview.js +6 -6
- package/lib/mobile-insurer-detail/index.js +18 -18
- package/lib/mobile-insurer-list/index.js +11 -11
- package/lib/modal/index.js +8 -8
- package/lib/platform/platform-card/index.js +5 -5
- package/lib/platform/switch-platform/index.js +12 -12
- package/lib/policy-list/index.js +4 -4
- package/lib/policy-list/policy-card.js +32 -32
- package/lib/radio/index.d.ts +2 -1
- package/lib/radio/index.js +21 -12
- package/lib/radio/radio-group-with-other.d.ts +6 -0
- package/lib/radio/radio-group-with-other.js +98 -0
- package/lib/select/attached-select.js +16 -19
- package/lib/select/select.js +5 -8
- package/lib/select/time-select.js +20 -20
- package/lib/status-box/index.js +2 -2
- package/lib/table/index.js +33 -33
- package/lib/tabs/index.js +1 -1
- package/lib/typography/index.js +10 -3
- package/lib/upload/index.js +28 -28
- package/lib/upload-photo/index.js +30 -34
- package/lib/upload-photo/media.js +4 -4
- package/lib/upload-preview/index.js +10 -10
- package/lib/upload-preview/media.js +8 -8
- package/lib/utils/form-utils.d.ts +1 -1
- package/lib/utils/form-utils.js +10 -10
- package/package.json +1 -1
package/es/layout/footer.js
CHANGED
|
@@ -28,51 +28,51 @@ var LayoutFooter = function LayoutFooter(_ref) {
|
|
|
28
28
|
style: {
|
|
29
29
|
alignItems: 'center'
|
|
30
30
|
},
|
|
31
|
-
children: [_jsx(PhoneOutlined, {}
|
|
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
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
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, {}
|
|
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
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
48
|
+
}) : email
|
|
49
|
+
})]
|
|
50
|
+
}), workTime && _jsxs("div", {
|
|
51
51
|
className: "info-container",
|
|
52
|
-
children: [_jsx(TimeOutlined, {}
|
|
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
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
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
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
90
|
+
})
|
|
91
|
+
}), topRightContent]
|
|
92
|
+
}), _jsx("div", {
|
|
93
93
|
className: "footer-divider"
|
|
94
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
110
|
-
}
|
|
109
|
+
})
|
|
110
|
+
}), ' ', _jsx("span", {
|
|
111
111
|
style: {
|
|
112
112
|
margin: '0px 16px'
|
|
113
113
|
},
|
|
114
114
|
children: "|"
|
|
115
|
-
}
|
|
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
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
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
|
-
}
|
|
136
|
+
}), _jsxs("div", {
|
|
137
137
|
className: "compony-info",
|
|
138
138
|
children: [tel && _jsxs("div", {
|
|
139
139
|
className: "info-item",
|
|
140
|
-
children: [_jsx(PhoneOutlined, {}
|
|
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
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
145
|
+
}) : tel
|
|
146
|
+
})]
|
|
147
|
+
}), email && _jsxs("div", {
|
|
148
148
|
className: "info-item",
|
|
149
|
-
children: [_jsx(EmailOutlined, {}
|
|
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
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
154
|
+
}) : email
|
|
155
|
+
})]
|
|
156
|
+
}), workTime && _jsxs("div", {
|
|
157
157
|
className: "info-item",
|
|
158
|
-
children: [_jsx(TimeOutlined, {}
|
|
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
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
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
|
-
}
|
|
185
|
+
}), _jsx("div", {
|
|
186
186
|
children: "All Rights Reserved."
|
|
187
|
-
}
|
|
188
|
-
}
|
|
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
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
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
|
-
}
|
|
206
|
-
}
|
|
205
|
+
})
|
|
206
|
+
}), ' ', _jsx("span", {
|
|
207
207
|
style: {
|
|
208
208
|
margin: '0px 16px'
|
|
209
209
|
},
|
|
210
210
|
children: "|"
|
|
211
|
-
}
|
|
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
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
219
|
+
})
|
|
220
|
+
})]
|
|
221
|
+
})
|
|
222
|
+
})]
|
|
223
|
+
})]
|
|
224
|
+
})
|
|
225
|
+
});
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
|
package/es/layout/header.js
CHANGED
|
@@ -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
|
-
}
|
|
92
|
+
}), _jsx(_Badge, {
|
|
93
93
|
dot: true,
|
|
94
94
|
color: '#F52209'
|
|
95
|
-
}
|
|
96
|
-
}
|
|
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
|
-
}
|
|
106
|
+
}), _jsx(_Badge, {
|
|
107
107
|
count: badge,
|
|
108
108
|
style: {
|
|
109
109
|
backgroundColor: '#F52209'
|
|
110
110
|
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
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
|
-
}
|
|
123
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
143
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
172
|
-
}
|
|
171
|
+
})]
|
|
172
|
+
}), dropMenuConfig && !children && _jsxs(_Space, {
|
|
173
173
|
size: 8,
|
|
174
174
|
children: [_jsx(_Avatar, {
|
|
175
175
|
size: 32,
|
|
176
176
|
src: userAvatar
|
|
177
|
-
}
|
|
177
|
+
}), _jsx(Typography, {
|
|
178
178
|
level: "body1",
|
|
179
179
|
style: {
|
|
180
180
|
color: '#666666'
|
|
181
181
|
},
|
|
182
182
|
children: userName
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
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
|
-
}
|
|
196
|
+
}), dropMenuConfig && !children && _jsx(HomeMenu, _objectSpread({
|
|
197
197
|
userAvatar: userAvatar,
|
|
198
198
|
userName: userName
|
|
199
|
-
}, dropMenuConfig)
|
|
200
|
-
}
|
|
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
|
-
}
|
|
216
|
+
})
|
|
217
217
|
}, menu.key);
|
|
218
218
|
})
|
|
219
|
-
}
|
|
220
|
-
}
|
|
219
|
+
})]
|
|
220
|
+
});
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
|
package/es/layout/index.js
CHANGED
|
@@ -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, {}
|
|
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
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
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",
|
|
@@ -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": "重置所有过滤条件",
|
package/es/login-page/index.js
CHANGED
|
@@ -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
|
-
}
|
|
20
|
+
}), _jsx("div", {
|
|
21
21
|
className: "igloo-login-page-mobile-child-box",
|
|
22
22
|
children: children
|
|
23
|
-
}
|
|
24
|
-
}
|
|
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
|
-
}
|
|
31
|
+
}), _jsx("div", {
|
|
32
32
|
className: "igloo-login-page-child-box",
|
|
33
33
|
children: children
|
|
34
|
-
}
|
|
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
|
-
}
|
|
44
|
+
}), _jsx("div", {
|
|
45
45
|
style: {
|
|
46
46
|
fontSize: 80,
|
|
47
47
|
lineHeight: '88px'
|
|
48
48
|
},
|
|
49
49
|
children: "Painless."
|
|
50
|
-
}
|
|
50
|
+
}), _jsx("div", {
|
|
51
51
|
style: {
|
|
52
52
|
fontSize: 80,
|
|
53
53
|
lineHeight: '88px'
|
|
54
54
|
},
|
|
55
55
|
children: "Honest."
|
|
56
|
-
}
|
|
56
|
+
}), _jsx("div", {
|
|
57
57
|
style: {
|
|
58
58
|
fontSize: 48,
|
|
59
59
|
marginTop: 48
|
|
60
60
|
},
|
|
61
61
|
children: "Insurance for all."
|
|
62
|
-
}
|
|
62
|
+
}), _jsx("div", {
|
|
63
63
|
style: {
|
|
64
64
|
fontSize: 26,
|
|
65
65
|
marginTop: 75
|
|
66
66
|
},
|
|
67
67
|
children: "iglooinsure.com"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
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
|
-
}
|
|
73
|
+
}), _jsx("div", {
|
|
74
74
|
className: classnames('igloo-login-page-text-box-buttons-button', 'igloo-login-page-text-box-buttons-google')
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
75
|
+
})]
|
|
76
|
+
})]
|
|
77
|
+
})]
|
|
78
|
+
});
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
export default LoginPage;
|