iglooform 2.4.23 → 2.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/es/admin-upload/float.js +14 -14
  2. package/es/admin-upload/index.js +13 -13
  3. package/es/admin-upload/job-list.js +49 -49
  4. package/es/admin-upload/modal.js +10 -10
  5. package/es/alert-message/index.js +9 -9
  6. package/es/amount/index.js +4 -4
  7. package/es/back-top/index.js +6 -6
  8. package/es/button/index.js +11 -11
  9. package/es/card-detail/card-group.js +6 -6
  10. package/es/card-detail/card-item.js +6 -6
  11. package/es/card-detail/card-page.js +5 -5
  12. package/es/card-detail/card.js +9 -9
  13. package/es/card-detail/utils.js +3 -3
  14. package/es/checkbox/index.js +8 -8
  15. package/es/claim-list/index.js +21 -21
  16. package/es/confirmation/index.js +4 -4
  17. package/es/date-picker/buddhist.js +4 -4
  18. package/es/date-picker/index.js +11 -11
  19. package/es/declaration/index.js +7 -7
  20. package/es/detail-panel/index.js +28 -28
  21. package/es/documents/index.js +2 -2
  22. package/es/example/index.js +7 -7
  23. package/es/filter/checkBox.js +10 -10
  24. package/es/filter/customize.js +1 -1
  25. package/es/filter/index.js +46 -46
  26. package/es/filter/radioBox.js +7 -7
  27. package/es/filter/rangePicker.js +23 -23
  28. package/es/filter/style/index.less +10 -2
  29. package/es/form/addable-section/index.js +35 -20
  30. package/es/form/addable-section/style/index.less +6 -10
  31. package/es/form/divider/index.js +3 -3
  32. package/es/form/element/index.js +20 -20
  33. package/es/form/elements.js +5 -2
  34. package/es/form/index.js +9 -9
  35. package/es/form/login/index.js +6 -6
  36. package/es/form/page/index.js +8 -8
  37. package/es/form/pages/index.js +10 -10
  38. package/es/form/render/index.js +1 -1
  39. package/es/form/section/index.js +6 -6
  40. package/es/form/step/index.js +17 -16
  41. package/es/form/steps/index.js +2 -2
  42. package/es/free-form/addable-section/index.js +32 -17
  43. package/es/free-form/addable-section/style/index.less +0 -4
  44. package/es/free-form/element/index.js +13 -13
  45. package/es/free-form/index.js +5 -5
  46. package/es/free-form/page/index.js +17 -17
  47. package/es/free-form/pages/index.js +4 -4
  48. package/es/free-form/section/index.js +7 -7
  49. package/es/free-form/step/index.d.ts +1 -0
  50. package/es/free-form/step/index.js +20 -19
  51. package/es/free-form/steps/index.js +4 -4
  52. package/es/global-message/index.js +13 -13
  53. package/es/home-menu/index.js +18 -18
  54. package/es/index.d.ts +1 -1
  55. package/es/index.js +1 -1
  56. package/es/input/amount.js +4 -4
  57. package/es/input/credit-card.js +6 -6
  58. package/es/input/email.js +3 -3
  59. package/es/input/expiry-date.js +5 -5
  60. package/es/input/input-date.js +3 -3
  61. package/es/input/input-number.js +5 -5
  62. package/es/input/input.js +3 -3
  63. package/es/input/otp.js +8 -8
  64. package/es/input/password.js +6 -6
  65. package/es/input/phone-number.js +4 -4
  66. package/es/input/text-area.js +6 -6
  67. package/es/layout/defaultFooter.js +28 -28
  68. package/es/layout/defaultHeader.js +6 -6
  69. package/es/layout/footer.js +66 -66
  70. package/es/layout/header.js +28 -28
  71. package/es/layout/index.js +6 -6
  72. package/es/locale/en-US/messages.json +1 -0
  73. package/es/locale/id-ID/messages.json +1 -0
  74. package/es/locale/locale-provider.js +4 -4
  75. package/es/locale/th-TH/messages.json +1 -0
  76. package/es/locale/vi-VN/messages.json +1 -0
  77. package/es/locale/zh-CN/messages.json +1 -0
  78. package/es/login-page/index.js +16 -16
  79. package/es/media/index.js +15 -15
  80. package/es/media/media.js +8 -8
  81. package/es/media/preview.js +8 -8
  82. package/es/mobile-insurer-detail/index.js +20 -20
  83. package/es/mobile-insurer-list/index.js +13 -13
  84. package/es/modal/index.js +10 -10
  85. package/es/platform/platform-card/index.d.ts +4 -1
  86. package/es/platform/platform-card/index.js +9 -7
  87. package/es/platform/switch-platform/index.d.ts +4 -1
  88. package/es/platform/switch-platform/index.js +47 -16
  89. package/es/policy-list/index.js +6 -6
  90. package/es/policy-list/policy-card.js +34 -34
  91. package/es/radio/index.d.ts +2 -1
  92. package/es/radio/index.js +15 -14
  93. package/es/radio/radio-group-with-other.d.ts +6 -0
  94. package/es/radio/radio-group-with-other.js +85 -0
  95. package/es/select/attached-select.js +19 -22
  96. package/es/select/select.js +8 -11
  97. package/es/select/time-select.js +20 -20
  98. package/es/status-box/index.js +4 -4
  99. package/es/table/index.js +36 -36
  100. package/es/tabs/index.js +3 -3
  101. package/es/typography/index.js +10 -3
  102. package/es/upload/index.js +31 -31
  103. package/es/upload-photo/index.js +31 -31
  104. package/es/upload-photo/media.js +4 -4
  105. package/es/upload-preview/index.js +10 -10
  106. package/es/upload-preview/media.js +8 -8
  107. package/es/utils/form-utils.d.ts +1 -1
  108. package/es/utils/form-utils.js +13 -13
  109. package/lib/admin-upload/float.js +14 -14
  110. package/lib/admin-upload/index.js +13 -13
  111. package/lib/admin-upload/job-list.js +49 -49
  112. package/lib/admin-upload/modal.js +10 -10
  113. package/lib/alert-message/index.js +9 -9
  114. package/lib/amount/index.js +4 -4
  115. package/lib/back-top/index.js +6 -6
  116. package/lib/button/index.js +11 -11
  117. package/lib/card-detail/card-group.js +6 -6
  118. package/lib/card-detail/card-item.js +6 -6
  119. package/lib/card-detail/card-page.js +5 -5
  120. package/lib/card-detail/card.js +9 -9
  121. package/lib/card-detail/utils.js +3 -3
  122. package/lib/checkbox/index.js +8 -8
  123. package/lib/claim-list/index.js +21 -21
  124. package/lib/confirmation/index.js +4 -4
  125. package/lib/date-picker/buddhist.js +4 -4
  126. package/lib/date-picker/index.js +11 -11
  127. package/lib/declaration/index.js +7 -7
  128. package/lib/detail-panel/index.js +28 -28
  129. package/lib/documents/index.js +2 -2
  130. package/lib/example/index.js +8 -8
  131. package/lib/filter/checkBox.js +10 -10
  132. package/lib/filter/customize.js +1 -1
  133. package/lib/filter/index.js +46 -46
  134. package/lib/filter/radioBox.js +7 -7
  135. package/lib/filter/rangePicker.js +23 -23
  136. package/lib/filter/style/index.less +10 -2
  137. package/lib/form/addable-section/index.js +39 -19
  138. package/lib/form/addable-section/style/index.less +6 -10
  139. package/lib/form/divider/index.js +3 -3
  140. package/lib/form/element/index.js +20 -20
  141. package/lib/form/elements.js +6 -2
  142. package/lib/form/index.js +9 -9
  143. package/lib/form/login/index.js +6 -6
  144. package/lib/form/page/index.js +8 -8
  145. package/lib/form/pages/index.js +10 -10
  146. package/lib/form/render/index.js +1 -1
  147. package/lib/form/section/index.js +6 -6
  148. package/lib/form/step/index.js +17 -16
  149. package/lib/form/steps/index.js +2 -2
  150. package/lib/free-form/addable-section/index.js +36 -16
  151. package/lib/free-form/addable-section/style/index.less +0 -4
  152. package/lib/free-form/element/index.js +13 -13
  153. package/lib/free-form/index.js +5 -5
  154. package/lib/free-form/page/index.js +17 -17
  155. package/lib/free-form/pages/index.js +4 -4
  156. package/lib/free-form/section/index.js +7 -7
  157. package/lib/free-form/step/index.d.ts +1 -0
  158. package/lib/free-form/step/index.js +20 -19
  159. package/lib/free-form/steps/index.js +5 -5
  160. package/lib/global-message/index.js +13 -13
  161. package/lib/home-menu/index.js +18 -18
  162. package/lib/index.d.ts +1 -1
  163. package/lib/index.js +8 -1
  164. package/lib/input/amount.js +4 -4
  165. package/lib/input/credit-card.js +6 -6
  166. package/lib/input/email.js +3 -3
  167. package/lib/input/expiry-date.js +5 -5
  168. package/lib/input/input-date.js +3 -3
  169. package/lib/input/input-number.js +5 -5
  170. package/lib/input/input.js +3 -3
  171. package/lib/input/otp.js +8 -8
  172. package/lib/input/password.js +6 -6
  173. package/lib/input/phone-number.js +4 -4
  174. package/lib/input/text-area.js +6 -6
  175. package/lib/layout/defaultFooter.js +28 -28
  176. package/lib/layout/defaultHeader.js +6 -6
  177. package/lib/layout/footer.js +66 -66
  178. package/lib/layout/header.js +28 -28
  179. package/lib/layout/index.js +6 -6
  180. package/lib/locale/en-US/messages.json +1 -0
  181. package/lib/locale/id-ID/messages.json +1 -0
  182. package/lib/locale/locale-provider.js +4 -4
  183. package/lib/locale/th-TH/messages.json +1 -0
  184. package/lib/locale/vi-VN/messages.json +1 -0
  185. package/lib/locale/zh-CN/messages.json +1 -0
  186. package/lib/login-page/index.js +16 -16
  187. package/lib/media/index.js +15 -15
  188. package/lib/media/media.js +8 -8
  189. package/lib/media/preview.js +8 -8
  190. package/lib/mobile-insurer-detail/index.js +20 -20
  191. package/lib/mobile-insurer-list/index.js +13 -13
  192. package/lib/modal/index.js +10 -10
  193. package/lib/platform/platform-card/index.d.ts +4 -1
  194. package/lib/platform/platform-card/index.js +9 -7
  195. package/lib/platform/switch-platform/index.d.ts +4 -1
  196. package/lib/platform/switch-platform/index.js +46 -15
  197. package/lib/policy-list/index.js +6 -6
  198. package/lib/policy-list/policy-card.js +34 -34
  199. package/lib/radio/index.d.ts +2 -1
  200. package/lib/radio/index.js +23 -14
  201. package/lib/radio/radio-group-with-other.d.ts +6 -0
  202. package/lib/radio/radio-group-with-other.js +98 -0
  203. package/lib/select/attached-select.js +18 -21
  204. package/lib/select/select.js +7 -10
  205. package/lib/select/time-select.js +20 -20
  206. package/lib/status-box/index.js +4 -4
  207. package/lib/table/index.js +36 -36
  208. package/lib/tabs/index.js +3 -3
  209. package/lib/typography/index.js +10 -3
  210. package/lib/upload/index.js +31 -31
  211. package/lib/upload-photo/index.js +31 -31
  212. package/lib/upload-photo/media.js +4 -4
  213. package/lib/upload-preview/index.js +10 -10
  214. package/lib/upload-preview/media.js +8 -8
  215. package/lib/utils/form-utils.d.ts +1 -1
  216. package/lib/utils/form-utils.js +12 -12
  217. package/package.json +1 -1
@@ -85,10 +85,10 @@ var PhoneNumber = function PhoneNumber(_ref) {
85
85
  value: area
86
86
  };
87
87
  })
88
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
88
+ }) : (0, _jsxRuntime.jsx)("div", {
89
89
  className: "igloo-phone-number-addon-before",
90
90
  children: areaCode
91
- }, void 0);
91
+ });
92
92
  return (0, _jsxRuntime.jsxs)("div", {
93
93
  style: style,
94
94
  className: (0, _classnames.default)('igloo-input-phone', {
@@ -105,8 +105,8 @@ var PhoneNumber = function PhoneNumber(_ref) {
105
105
  } : undefined);
106
106
  },
107
107
  disabled: disabled
108
- }, void 0)]
109
- }, void 0);
108
+ })]
109
+ });
110
110
  };
111
111
 
112
112
  PhoneNumber.formItemPropsHandler = function (_ref2) {
@@ -33,9 +33,9 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
33
33
 
34
34
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
35
35
 
36
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
36
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
37
37
 
38
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
38
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
39
39
 
40
40
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
41
41
 
@@ -102,9 +102,9 @@ var IglooTextArea = function IglooTextArea(props) {
102
102
  onChange: function onChange(e) {
103
103
  return handleOnChange(e, onChangeProps, maxLength);
104
104
  }
105
- }), void 0), (0, _jsxRuntime.jsx)("div", {
105
+ })), (0, _jsxRuntime.jsx)("div", {
106
106
  className: "igloo-input-text-area-right-bottom-cover"
107
- }, void 0), showLeft && (0, _jsxRuntime.jsx)("div", {
107
+ }), showLeft && (0, _jsxRuntime.jsx)("div", {
108
108
  className: "".concat(canInputNum < 0 ? 'igloo-input-text-area-remind-has-error' : 'igloo-input-text-area-remind'),
109
109
  children: canInputNum < 0 ? formatMessage({
110
110
  id: '{canInputNum} characters over',
@@ -117,8 +117,8 @@ var IglooTextArea = function IglooTextArea(props) {
117
117
  canInputNum: canInputNum
118
118
  }
119
119
  })
120
- }, void 0)]
121
- }, void 0);
120
+ })]
121
+ });
122
122
  };
123
123
 
124
124
  function checkNumber(value, maxLength, required) {
@@ -41,16 +41,16 @@ var DefaultFooter = function DefaultFooter() {
41
41
  className: "top-left",
42
42
  children: (0, _jsxRuntime.jsx)("div", {
43
43
  className: "igloo-logo"
44
- }, void 0)
45
- }, void 0)
46
- }, void 0), (0, _jsxRuntime.jsx)("div", {
44
+ })
45
+ })
46
+ }), (0, _jsxRuntime.jsx)("div", {
47
47
  className: "footer-divider"
48
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
48
+ }), (0, _jsxRuntime.jsxs)("div", {
49
49
  className: "footer-bottom",
50
50
  children: [(0, _jsxRuntime.jsx)(_typography.default, {
51
51
  level: "body3",
52
52
  children: "\xA9 ".concat(new Date().getFullYear(), " Powered by Axinan Pte Ltd. All Rights Reserved.")
53
- }, void 0), (0, _jsxRuntime.jsxs)(_typography.default, {
53
+ }), (0, _jsxRuntime.jsxs)(_typography.default, {
54
54
  level: "body3",
55
55
  children: [(0, _jsxRuntime.jsx)(_button.default, {
56
56
  type: "text",
@@ -60,13 +60,13 @@ var DefaultFooter = function DefaultFooter() {
60
60
  children: (0, _jsxRuntime.jsx)(_typography.default, {
61
61
  level: "body3",
62
62
  children: "Privacy Policy"
63
- }, void 0)
64
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
63
+ })
64
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
65
65
  style: {
66
66
  margin: '0px 16px'
67
67
  },
68
68
  children: "|"
69
- }, void 0), (0, _jsxRuntime.jsx)(_button.default, {
69
+ }), (0, _jsxRuntime.jsx)(_button.default, {
70
70
  type: "text",
71
71
  onClick: function onClick() {
72
72
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -74,27 +74,27 @@ var DefaultFooter = function DefaultFooter() {
74
74
  children: (0, _jsxRuntime.jsx)(_typography.default, {
75
75
  level: "body3",
76
76
  children: "Terms of Service"
77
- }, void 0)
78
- }, void 0)]
79
- }, void 0)]
80
- }, void 0)]
81
- }, void 0)
82
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
77
+ })
78
+ })]
79
+ })]
80
+ })]
81
+ })
82
+ }) : (0, _jsxRuntime.jsx)("div", {
83
83
  className: "igloo-layout-footer",
84
84
  children: (0, _jsxRuntime.jsxs)("div", {
85
85
  className: "footer-content",
86
86
  children: [(0, _jsxRuntime.jsx)("div", {
87
87
  className: "igloo-logo"
88
- }, void 0), (0, _jsxRuntime.jsxs)("div", {
88
+ }), (0, _jsxRuntime.jsxs)("div", {
89
89
  className: "footer-bottom",
90
90
  children: [(0, _jsxRuntime.jsx)("div", {
91
91
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
92
92
  level: "body3",
93
93
  children: ["\xA9 ".concat(new Date().getFullYear(), " Powered by Axinan Pte Ltd."), (0, _jsxRuntime.jsx)("div", {
94
94
  children: "All Rights Reserved."
95
- }, void 0)]
96
- }, void 0)
97
- }, void 0), (0, _jsxRuntime.jsx)("div", {
95
+ })]
96
+ })
97
+ }), (0, _jsxRuntime.jsx)("div", {
98
98
  children: (0, _jsxRuntime.jsxs)(_typography.default, {
99
99
  level: "body3",
100
100
  children: [(0, _jsxRuntime.jsx)(_button.default, {
@@ -105,13 +105,13 @@ var DefaultFooter = function DefaultFooter() {
105
105
  children: (0, _jsxRuntime.jsx)(_typography.default, {
106
106
  level: "body3",
107
107
  children: "Privacy Policy"
108
- }, void 0)
109
- }, void 0), ' ', (0, _jsxRuntime.jsx)("span", {
108
+ })
109
+ }), ' ', (0, _jsxRuntime.jsx)("span", {
110
110
  style: {
111
111
  margin: '0px 16px'
112
112
  },
113
113
  children: "|"
114
- }, void 0), ' ', (0, _jsxRuntime.jsx)(_button.default, {
114
+ }), ' ', (0, _jsxRuntime.jsx)(_button.default, {
115
115
  type: "text",
116
116
  onClick: function onClick() {
117
117
  return window.open('https://contents.iglooinsure.com/termsofservice');
@@ -119,13 +119,13 @@ var DefaultFooter = function DefaultFooter() {
119
119
  children: (0, _jsxRuntime.jsx)(_typography.default, {
120
120
  level: "body3",
121
121
  children: "Terms of Service"
122
- }, void 0)
123
- }, void 0)]
124
- }, void 0)
125
- }, void 0)]
126
- }, void 0)]
127
- }, void 0)
128
- }, void 0);
122
+ })
123
+ })]
124
+ })
125
+ })]
126
+ })]
127
+ })
128
+ });
129
129
  };
130
130
 
131
131
  var _default = DefaultFooter;
@@ -33,17 +33,17 @@ var DefaultHeader = function DefaultHeader() {
33
33
  className: "header-left",
34
34
  children: (0, _jsxRuntime.jsx)("div", {
35
35
  className: "igloo-logo"
36
- }, void 0)
37
- }, void 0)
38
- }, void 0)
39
- }, void 0) : (0, _jsxRuntime.jsx)("div", {
36
+ })
37
+ })
38
+ })
39
+ }) : (0, _jsxRuntime.jsx)("div", {
40
40
  className: (0, _classnames.default)({
41
41
  'igloo-layout-header': true
42
42
  }),
43
43
  children: (0, _jsxRuntime.jsx)("div", {
44
44
  className: "igloo-logo"
45
- }, void 0)
46
- }, void 0);
45
+ })
46
+ });
47
47
  };
48
48
 
49
49
  var _default = DefaultHeader;
@@ -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
 
@@ -45,13 +45,13 @@ require("./style/index");
45
45
 
46
46
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
47
47
 
48
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
48
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
49
49
 
50
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
50
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
51
51
 
52
52
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
53
53
 
54
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
54
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
55
55
 
56
56
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
57
57
 
@@ -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
 
@@ -25,9 +25,9 @@ require("./style");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
27
 
28
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
28
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
29
 
30
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
30
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31
31
 
32
32
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
33
 
@@ -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",