@xaypay/tui 0.0.81 → 0.0.82
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/dist/index.es.js +210 -135
- package/dist/index.js +210 -135
- package/package.json +1 -1
- package/src/components/icon/Arrow.js +2 -2
- package/src/components/icon/CaptchaArrowDown.js +2 -2
- package/src/components/icon/CaptchaArrowUp.js +2 -2
- package/src/components/icon/CheckboxChecked.js +2 -2
- package/src/components/icon/CheckboxUnchecked.js +2 -2
- package/src/components/icon/Close.js +2 -2
- package/src/components/icon/CloseIcon.js +2 -2
- package/src/components/icon/CloseSlide.js +2 -2
- package/src/components/icon/DeleteComponent.js +2 -2
- package/src/components/icon/Dots.js +2 -2
- package/src/components/icon/HeartFilled.js +2 -2
- package/src/components/icon/HeartOutline.js +2 -2
- package/src/components/icon/ListItemDelete.js +2 -2
- package/src/components/icon/ListItemJpeg.js +2 -2
- package/src/components/icon/ListItemJpg.js +2 -2
- package/src/components/icon/ListItemPdf.js +2 -2
- package/src/components/icon/ListItemPng.js +2 -2
- package/src/components/icon/Next.js +2 -2
- package/src/components/icon/Nextarrow.js +2 -2
- package/src/components/icon/PDF.js +2 -2
- package/src/components/icon/Prev.js +2 -2
- package/src/components/icon/RangeArrowDefault.js +2 -2
- package/src/components/icon/RangeArrowError.js +2 -2
- package/src/components/icon/RangeArrowSuccess.js +2 -2
- package/src/components/icon/RemoveFile.js +2 -2
- package/src/components/icon/ToasterClose.js +2 -2
- package/src/components/icon/ToasterError.js +2 -2
- package/src/components/icon/ToasterInfo.js +2 -2
- package/src/components/icon/ToasterSuccess.js +2 -2
- package/src/components/icon/ToasterWarning.js +2 -2
- package/src/components/icon/Tooltip.js +2 -2
- package/src/components/icon/Upload.js +2 -2
- package/src/components/input/index.js +11 -21
- package/src/components/modal/index.js +26 -15
- package/src/components/modal/modal.stories.js +1 -1
- package/src/components/newAutocomplete/index.js +9 -5
- package/src/components/select/index.js +9 -2
- package/src/components/singleCheckbox/index.js +27 -5
- package/src/components/table/index.js +28 -11
- package/src/components/table/table.stories.js +382 -256
- package/src/components/table/td.js +26 -8
- package/src/components/table/th.js +28 -5
- package/src/components/textarea/index.js +21 -15
- package/src/components/textarea/textarea.stories.js +4 -0
- package/src/stories/configuration.stories.mdx +17 -5
- package/tui.config.js +17 -6
package/dist/index.es.js
CHANGED
|
@@ -23,6 +23,7 @@ function _extends() {
|
|
|
23
23
|
const SvgPdf = ({
|
|
24
24
|
title,
|
|
25
25
|
titleId,
|
|
26
|
+
fillColor,
|
|
26
27
|
...props
|
|
27
28
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
29
|
width: "40",
|
|
@@ -35,7 +36,7 @@ const SvgPdf = ({
|
|
|
35
36
|
id: titleId
|
|
36
37
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
37
38
|
d: "M39.1304 13.1106V36.2849V36.2853C39.394 36.4388 39.6133 36.6599 39.7659 36.9263C39.9189 37.1931 39.9992 37.4956 40 37.8037V47.5932C39.9984 48.7614 39.54 49.8816 38.7252 50.7079C37.91 51.5337 36.8048 51.9984 35.6522 52H4.34783C3.19523 51.9984 2.09005 51.5338 1.27483 50.7079C0.460015 49.8816 0.0015528 48.7614 0 47.5932V34.7817C0.000775155 34.4736 0.0815204 34.1714 0.234087 33.9051C0.386643 33.6383 0.605983 33.4176 0.869565 33.2641V3.52545C0.869565 2.5906 1.23602 1.69387 1.8882 1.03245C2.54072 0.371431 3.42547 0 4.34783 0H26.1953L39.1304 13.1106ZM13.872 45.3893C14.6037 45.4385 15.3293 45.2261 15.9225 44.7893C16.4303 44.3463 16.7036 43.6872 16.6605 43.0096C16.671 42.6272 16.598 42.2471 16.4478 41.8965C16.3154 41.6026 16.1136 41.3464 15.8597 41.1509C15.5976 40.9542 15.2991 40.8137 14.9816 40.7385C14.6225 40.6512 14.2541 40.6083 13.8849 40.6115H11.0258V48.4741H12.6849V45.3893H13.872ZM22.6954 47.4563C23.0149 47.1041 23.2498 46.6815 23.3814 46.2224C23.5347 45.6809 23.6084 45.1195 23.5999 44.5564C23.6065 44.008 23.5362 43.4614 23.3918 42.933C23.2672 42.477 23.0475 42.0532 22.7474 41.6904C22.4465 41.3379 22.0669 41.064 21.6398 40.8917C21.1305 40.6934 20.5882 40.5982 20.0432 40.6116H17.506V48.4821H20.0642C21.0475 48.5494 22.0103 48.1743 22.6954 47.4563ZM26.1252 42.05H29.4956L29.4956 40.6115H24.4661V48.4804L26.1287 48.4808V45.1068L28.6505 45.0962L28.64 43.6577H26.1252V42.05ZM18.3352 36.0407H37.3911L37.3908 14.3567H28.4428C27.5205 14.3567 26.6358 13.9852 25.9836 13.3238C25.331 12.6628 24.9646 11.7661 24.9646 10.8312V1.76186H4.34743C3.88625 1.76186 3.4437 1.94758 3.11762 2.27808C2.79153 2.60859 2.6083 3.05715 2.6083 3.52458V33.0185H14.9392C15.4408 33.0185 15.9179 33.238 16.2482 33.6205L18.3352 36.0407ZM6.08594 13.7151C6.08594 13.2283 6.48054 12.8337 6.9673 12.8337H20.6043C21.0911 12.8337 21.4857 13.2283 21.4857 13.7151C21.4857 14.2019 21.0911 14.5965 20.6043 14.5965H6.9673C6.48054 14.5965 6.08594 14.2019 6.08594 13.7151ZM18.5137 25.3369C18.5137 24.8502 18.9083 24.4556 19.395 24.4556H33.0321C33.5188 24.4556 33.9134 24.8502 33.9134 25.3369C33.9134 25.8237 33.5188 26.2183 33.0321 26.2183H19.395C18.9083 26.2183 18.5137 25.8237 18.5137 25.3369ZM6.9673 16.7056C6.48054 16.7056 6.08594 17.1002 6.08594 17.5869C6.08594 18.0737 6.48054 18.4683 6.9673 18.4683H33.0307C33.5174 18.4683 33.912 18.0737 33.912 17.5869C33.912 17.1002 33.5174 16.7056 33.0307 16.7056H6.9673ZM6.08594 21.4618C6.08594 20.975 6.48054 20.5804 6.9673 20.5804H33.0307C33.5174 20.5804 33.912 20.975 33.912 21.4618C33.912 21.9486 33.5174 22.3432 33.0307 22.3432H6.9673C6.48054 22.3432 6.08594 21.9486 6.08594 21.4618ZM21.4704 42.6691C21.1241 42.239 20.5919 42.0085 20.0457 42.0521H19.166V47.0441H20.0251C20.352 47.0567 20.6773 46.9886 20.9727 46.8469C21.213 46.7226 21.4156 46.5345 21.5589 46.3032C21.7076 46.0577 21.8089 45.7862 21.8582 45.5029C21.9164 45.1846 21.9455 44.8615 21.9451 44.5377C21.951 44.1698 21.9106 43.8023 21.8252 43.4446C21.758 43.1653 21.6373 42.9016 21.4704 42.6691ZM13.7445 42.0508C14.085 42.0213 14.4258 42.1008 14.7193 42.2782C14.8136 42.3518 14.8858 42.4501 14.9282 42.5627C14.9825 42.7134 15.0077 42.8731 15.0019 43.0333C15.0093 43.1969 14.9728 43.3594 14.8967 43.5039C14.8311 43.6211 14.7352 43.7175 14.6195 43.7832C14.4961 43.8525 14.361 43.8981 14.2212 43.9182C14.0636 43.9426 13.9041 43.9548 13.7445 43.9544H12.6855V42.0508H13.7445Z",
|
|
38
|
-
fill:
|
|
39
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
39
40
|
}));
|
|
40
41
|
|
|
41
42
|
function styleInject(css, ref) {
|
|
@@ -189,6 +190,84 @@ File.defaultProps = {
|
|
|
189
190
|
fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
|
|
190
191
|
};
|
|
191
192
|
|
|
193
|
+
const SvgCheckboxUnchecked = ({
|
|
194
|
+
title,
|
|
195
|
+
titleId,
|
|
196
|
+
fillColor,
|
|
197
|
+
...props
|
|
198
|
+
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
199
|
+
width: "16",
|
|
200
|
+
height: "16",
|
|
201
|
+
viewBox: "0 0 16 16",
|
|
202
|
+
fill: "none",
|
|
203
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
204
|
+
"aria-labelledby": titleId
|
|
205
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
206
|
+
id: titleId
|
|
207
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
208
|
+
fillRule: "evenodd",
|
|
209
|
+
clipRule: "evenodd",
|
|
210
|
+
d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
|
|
211
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
const SvgCheckboxChecked = ({
|
|
215
|
+
title,
|
|
216
|
+
titleId,
|
|
217
|
+
fillColor,
|
|
218
|
+
...props
|
|
219
|
+
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
220
|
+
width: "16",
|
|
221
|
+
height: "16",
|
|
222
|
+
viewBox: "0 0 16 16",
|
|
223
|
+
fill: "none",
|
|
224
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
225
|
+
"aria-labelledby": titleId
|
|
226
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
227
|
+
id: titleId
|
|
228
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
229
|
+
fillRule: "evenodd",
|
|
230
|
+
clipRule: "evenodd",
|
|
231
|
+
d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
|
|
232
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
233
|
+
}));
|
|
234
|
+
|
|
235
|
+
const SingleCheckbox = ({
|
|
236
|
+
id,
|
|
237
|
+
float,
|
|
238
|
+
checked,
|
|
239
|
+
onClick,
|
|
240
|
+
content,
|
|
241
|
+
disabled,
|
|
242
|
+
checkedColor,
|
|
243
|
+
unCheckedColor
|
|
244
|
+
}) => {
|
|
245
|
+
const [innerCheckd, setInnerChecked] = useState(false);
|
|
246
|
+
useEffect(() => {
|
|
247
|
+
setInnerChecked(checked);
|
|
248
|
+
}, [checked]);
|
|
249
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
250
|
+
style: {
|
|
251
|
+
width: '16px',
|
|
252
|
+
height: '16px',
|
|
253
|
+
marginRight: '9px',
|
|
254
|
+
display: 'inline-block',
|
|
255
|
+
float: float ? float : '',
|
|
256
|
+
cursor: !disabled && onClick ? 'pointer' : 'normal'
|
|
257
|
+
}
|
|
258
|
+
}, innerCheckd ? /*#__PURE__*/React__default.createElement(SvgCheckboxChecked, {
|
|
259
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
260
|
+
fillColor: checkedColor ? checkedColor : ''
|
|
261
|
+
}) : /*#__PURE__*/React__default.createElement(SvgCheckboxUnchecked, {
|
|
262
|
+
onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
|
|
263
|
+
fillColor: unCheckedColor ? unCheckedColor : ''
|
|
264
|
+
}));
|
|
265
|
+
};
|
|
266
|
+
SingleCheckbox.propTypes = {
|
|
267
|
+
disabled: PropTypes.bool,
|
|
268
|
+
checked: PropTypes.bool.isRequired
|
|
269
|
+
};
|
|
270
|
+
|
|
192
271
|
var css_248z$d = ".table-module_sorting-arrows__BaN-G:after{content:\"▲\";font-size:11px;position:absolute;right:0;top:calc(50% - 12px)}.table-module_sorting-arrows__BaN-G:before{bottom:calc(50% - 12px);content:\"▼\";font-size:11px;position:absolute;right:0}.table-module_td-span__XHo6k{cursor:pointer;display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}";
|
|
193
272
|
styleInject(css_248z$d);
|
|
194
273
|
|
|
@@ -216,7 +295,8 @@ const compereConfigs = () => {
|
|
|
216
295
|
};
|
|
217
296
|
|
|
218
297
|
({
|
|
219
|
-
|
|
298
|
+
dataBody: PropTypes.array,
|
|
299
|
+
dataHeader: PropTypes.array,
|
|
220
300
|
tHeadColor: PropTypes.string,
|
|
221
301
|
tHeadFamily: PropTypes.string,
|
|
222
302
|
tHeadPadding: PropTypes.string,
|
|
@@ -229,7 +309,11 @@ const compereConfigs = () => {
|
|
|
229
309
|
tBodyTextAlign: PropTypes.string,
|
|
230
310
|
tBodyFontWeight: PropTypes.string,
|
|
231
311
|
tBodyFontFamily: PropTypes.string,
|
|
232
|
-
tBodyRowBorder: PropTypes.string
|
|
312
|
+
tBodyRowBorder: PropTypes.string,
|
|
313
|
+
handleCheckedBody: PropTypes.func,
|
|
314
|
+
handleCheckedHeader: PropTypes.func,
|
|
315
|
+
handleHeaderItemClick: PropTypes.func,
|
|
316
|
+
handleBodyActionClick: PropTypes.func
|
|
233
317
|
});
|
|
234
318
|
|
|
235
319
|
var css_248z$c = ".modal-module_animation__modal__3mt48{animation:modal-module_show-popup__WrH7a .15s;-webkit-animation:modal-module_show-popup__WrH7a .15s}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-o-transform:translate3d(0,-50%,0)}to{opacity:1;transform:translateZ(0);-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}}";
|
|
@@ -239,6 +323,7 @@ styleInject(css_248z$c);
|
|
|
239
323
|
const SvgNext = ({
|
|
240
324
|
title,
|
|
241
325
|
titleId,
|
|
326
|
+
fillColor,
|
|
242
327
|
...props
|
|
243
328
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
244
329
|
width: "24",
|
|
@@ -253,12 +338,13 @@ const SvgNext = ({
|
|
|
253
338
|
fillRule: "evenodd",
|
|
254
339
|
clipRule: "evenodd",
|
|
255
340
|
d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm3.4-11.443a.854.854 0 0 0 .198-.548.855.855 0 0 0-.146-.539l-4.137-5.134a.857.857 0 0 0-1.251-.12.856.856 0 0 0-.129 1.207l3.701 4.586-3.838 4.587a.856.856 0 0 0 .739 1.4.858.858 0 0 0 .58-.305l4.284-5.134Z",
|
|
256
|
-
fill:
|
|
341
|
+
fill: fillColor ? fillColor : '#fff'
|
|
257
342
|
}));
|
|
258
343
|
|
|
259
344
|
const SvgPrev = ({
|
|
260
345
|
title,
|
|
261
346
|
titleId,
|
|
347
|
+
fillColor,
|
|
262
348
|
...props
|
|
263
349
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
264
350
|
width: "24",
|
|
@@ -273,12 +359,13 @@ const SvgPrev = ({
|
|
|
273
359
|
fillRule: "evenodd",
|
|
274
360
|
clipRule: "evenodd",
|
|
275
361
|
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.6 11.443a.855.855 0 0 0-.198.548c-.013.19.038.38.146.539l4.137 5.133a.857.857 0 0 0 1.251.12.856.856 0 0 0 .129-1.206l-3.701-4.586 3.838-4.587a.856.856 0 0 0-.739-1.4.858.858 0 0 0-.58.305l-4.284 5.134Z",
|
|
276
|
-
fill:
|
|
362
|
+
fill: fillColor ? fillColor : '#fff'
|
|
277
363
|
}));
|
|
278
364
|
|
|
279
365
|
const SvgCloseIcon = ({
|
|
280
366
|
title,
|
|
281
367
|
titleId,
|
|
368
|
+
fillColor,
|
|
282
369
|
...props
|
|
283
370
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
284
371
|
width: "14",
|
|
@@ -291,12 +378,13 @@ const SvgCloseIcon = ({
|
|
|
291
378
|
id: titleId
|
|
292
379
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
293
380
|
d: "m12.425.241.006-.005a.95.95 0 0 1 1.34 1.34l-.005.006-5.38 5.38 5.38 5.38.005.007a.95.95 0 0 1-1.34 1.34l-.006-.005-5.38-5.38-5.378 5.37a.951.951 0 1 1-1.34-1.341l5.377-5.37-5.38-5.388-.005-.006a.95.95 0 0 1 1.34-1.34l.006.005 5.38 5.387 5.38-5.38Z",
|
|
294
|
-
fill:
|
|
381
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
295
382
|
}));
|
|
296
383
|
|
|
297
384
|
const SvgCloseSlide = ({
|
|
298
385
|
title,
|
|
299
386
|
titleId,
|
|
387
|
+
fillColor,
|
|
300
388
|
...props
|
|
301
389
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
302
390
|
width: "18",
|
|
@@ -309,13 +397,15 @@ const SvgCloseSlide = ({
|
|
|
309
397
|
id: titleId
|
|
310
398
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
311
399
|
d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
|
|
312
|
-
fill:
|
|
400
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
313
401
|
}));
|
|
314
402
|
|
|
315
403
|
const Modal = ({
|
|
316
404
|
type,
|
|
317
405
|
data,
|
|
406
|
+
width,
|
|
318
407
|
radius,
|
|
408
|
+
height,
|
|
319
409
|
padding,
|
|
320
410
|
setShow,
|
|
321
411
|
selected,
|
|
@@ -323,13 +413,18 @@ const Modal = ({
|
|
|
323
413
|
minWidth,
|
|
324
414
|
minHeight,
|
|
325
415
|
className,
|
|
416
|
+
mMaxWidth,
|
|
417
|
+
alignItems,
|
|
418
|
+
mMaxHeight,
|
|
326
419
|
headerText,
|
|
327
420
|
imageWidth,
|
|
328
421
|
headerSize,
|
|
329
422
|
imageHeight,
|
|
330
423
|
headerColor,
|
|
424
|
+
outsideClose,
|
|
331
425
|
headerWeight,
|
|
332
426
|
headerHeight,
|
|
427
|
+
justifyContent,
|
|
333
428
|
backgroundColor,
|
|
334
429
|
layerBackgroundColor
|
|
335
430
|
}) => {
|
|
@@ -343,8 +438,7 @@ const Modal = ({
|
|
|
343
438
|
const handleStopClosing = e => {
|
|
344
439
|
e.stopPropagation();
|
|
345
440
|
};
|
|
346
|
-
const handleGoTo =
|
|
347
|
-
const goTo = e.target.getAttribute('data-go');
|
|
441
|
+
const handleGoTo = goTo => {
|
|
348
442
|
if (goTo === 'next') {
|
|
349
443
|
if (select >= data.length - 1) {
|
|
350
444
|
setSelect(0);
|
|
@@ -390,7 +484,7 @@ const Modal = ({
|
|
|
390
484
|
};
|
|
391
485
|
}, []);
|
|
392
486
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
393
|
-
onClick: handleCloseModal,
|
|
487
|
+
onClick: outsideClose || configStyles.MODAL.outsideClose ? handleCloseModal : _ => _,
|
|
394
488
|
style: {
|
|
395
489
|
top: '0px',
|
|
396
490
|
left: '0px',
|
|
@@ -406,24 +500,24 @@ const Modal = ({
|
|
|
406
500
|
display: 'flex',
|
|
407
501
|
width: '100%',
|
|
408
502
|
height: '100vh',
|
|
409
|
-
alignItems:
|
|
410
|
-
justifyContent:
|
|
503
|
+
alignItems: alignItems ? alignItems : configStyles.MODAL.alignItems,
|
|
504
|
+
justifyContent: justifyContent ? justifyContent : configStyles.MODAL.justifyContent
|
|
411
505
|
}
|
|
412
506
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
413
507
|
className: `${classProps} ${styles$a['animation__modal']}`,
|
|
414
508
|
onClick: handleStopClosing,
|
|
415
509
|
style: {
|
|
416
|
-
maxWidth: '95%',
|
|
417
510
|
overflow: 'auto',
|
|
418
|
-
maxHeight: '95vh',
|
|
419
|
-
width: 'fit-content',
|
|
420
|
-
height: 'fit-content',
|
|
421
511
|
boxSizing: 'border-box',
|
|
512
|
+
width: width ? width : configStyles.MODAL.width,
|
|
513
|
+
height: height ? height : configStyles.MODAL.height,
|
|
422
514
|
borderRadius: radius ? radius : configStyles.MODAL.radius,
|
|
423
|
-
|
|
424
|
-
|
|
515
|
+
maxWidth: mMaxWidth ? mMaxWidth : configStyles.MODAL.mMaxWidth,
|
|
516
|
+
maxHeight: mMaxHeight ? mMaxHeight : configStyles.MODAL.mMaxHeight,
|
|
517
|
+
minWidth: type === 'content' ? minWidth ? minWidth : configStyles.MODAL.minWidth : '',
|
|
425
518
|
padding: type === 'content' ? padding ? padding : configStyles.MODAL.padding : '10px',
|
|
426
|
-
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor
|
|
519
|
+
backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor,
|
|
520
|
+
minHeight: type === 'content' ? minHeight ? minHeight : configStyles.MODAL.minHeight : ''
|
|
427
521
|
}
|
|
428
522
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
429
523
|
style: {
|
|
@@ -503,8 +597,7 @@ const Modal = ({
|
|
|
503
597
|
}
|
|
504
598
|
}
|
|
505
599
|
}), innerData && innerData.length > 1 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("button", {
|
|
506
|
-
onClick: handleGoTo,
|
|
507
|
-
"data-go": "prev",
|
|
600
|
+
onClick: _ => handleGoTo('prev'),
|
|
508
601
|
style: {
|
|
509
602
|
position: 'absolute',
|
|
510
603
|
left: '14px',
|
|
@@ -518,8 +611,7 @@ const Modal = ({
|
|
|
518
611
|
backgroundColor: 'transparent'
|
|
519
612
|
}
|
|
520
613
|
}, /*#__PURE__*/React__default.createElement(SvgPrev, null)), /*#__PURE__*/React__default.createElement("button", {
|
|
521
|
-
onClick: handleGoTo,
|
|
522
|
-
"data-go": "next",
|
|
614
|
+
onClick: _ => handleGoTo('next'),
|
|
523
615
|
style: {
|
|
524
616
|
position: 'absolute',
|
|
525
617
|
width: '24px',
|
|
@@ -538,19 +630,26 @@ Modal.propTypes = {
|
|
|
538
630
|
data: PropTypes.array,
|
|
539
631
|
type: PropTypes.string,
|
|
540
632
|
setShow: PropTypes.func,
|
|
633
|
+
width: PropTypes.string,
|
|
541
634
|
radius: PropTypes.string,
|
|
635
|
+
height: PropTypes.string,
|
|
542
636
|
padding: PropTypes.string,
|
|
543
637
|
selected: PropTypes.number,
|
|
544
638
|
minWidth: PropTypes.string,
|
|
639
|
+
mMaxWidth: PropTypes.string,
|
|
545
640
|
minHeight: PropTypes.string,
|
|
546
641
|
className: PropTypes.string,
|
|
642
|
+
alignItems: PropTypes.string,
|
|
643
|
+
mMaxHeight: PropTypes.string,
|
|
547
644
|
headerText: PropTypes.string,
|
|
548
645
|
imageWidth: PropTypes.string,
|
|
549
646
|
headerSize: PropTypes.string,
|
|
647
|
+
outsideClose: PropTypes.bool,
|
|
550
648
|
headerColor: PropTypes.string,
|
|
551
649
|
imageHeight: PropTypes.string,
|
|
552
650
|
headerWeight: PropTypes.string,
|
|
553
651
|
headerHeight: PropTypes.string,
|
|
652
|
+
justifyContent: PropTypes.string,
|
|
554
653
|
backgroundColor: PropTypes.string,
|
|
555
654
|
layerBackgroundColor: PropTypes.string
|
|
556
655
|
};
|
|
@@ -567,7 +666,7 @@ const InputTypes = {
|
|
|
567
666
|
TEXT: "text",
|
|
568
667
|
PASSWORD: "password"
|
|
569
668
|
};
|
|
570
|
-
const P = styled.
|
|
669
|
+
const P = styled.span`
|
|
571
670
|
animation: ${props => props.errorAnimation ? props.animation : 'none'};
|
|
572
671
|
`;
|
|
573
672
|
const Input = ({
|
|
@@ -587,6 +686,7 @@ const Input = ({
|
|
|
587
686
|
leftIcon,
|
|
588
687
|
required,
|
|
589
688
|
disabled,
|
|
689
|
+
marginTop,
|
|
590
690
|
transform,
|
|
591
691
|
iconWidth,
|
|
592
692
|
rightIcon,
|
|
@@ -602,7 +702,6 @@ const Input = ({
|
|
|
602
702
|
borderRight,
|
|
603
703
|
placeholder,
|
|
604
704
|
errorZindex,
|
|
605
|
-
errorBottom,
|
|
606
705
|
labelWeight,
|
|
607
706
|
phoneDisplay,
|
|
608
707
|
errorMessage,
|
|
@@ -657,10 +756,6 @@ const Input = ({
|
|
|
657
756
|
if (!phoneNumberRegex.test(currentValue)) {
|
|
658
757
|
if (currentValue === '') {
|
|
659
758
|
setInnerErrorMessage('');
|
|
660
|
-
setInnerValue('');
|
|
661
|
-
if (change) {
|
|
662
|
-
change('');
|
|
663
|
-
}
|
|
664
759
|
} else {
|
|
665
760
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
666
761
|
setInnerValue(prevValue);
|
|
@@ -675,11 +770,6 @@ const Input = ({
|
|
|
675
770
|
if (change) {
|
|
676
771
|
change(currentValue.substr(0, 8));
|
|
677
772
|
}
|
|
678
|
-
} else {
|
|
679
|
-
setInnerValue(currentValue);
|
|
680
|
-
if (change) {
|
|
681
|
-
change(currentValue);
|
|
682
|
-
}
|
|
683
773
|
}
|
|
684
774
|
}
|
|
685
775
|
}
|
|
@@ -720,13 +810,11 @@ const Input = ({
|
|
|
720
810
|
} else {
|
|
721
811
|
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
722
812
|
}
|
|
723
|
-
setInnerValue('');
|
|
724
813
|
} else {
|
|
725
|
-
|
|
726
|
-
|
|
814
|
+
if (value.length < 8) {
|
|
815
|
+
telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
|
|
816
|
+
} else if (value.length > 8) {
|
|
727
817
|
setInnerValue(value.substr(0, 8));
|
|
728
|
-
} else {
|
|
729
|
-
setInnerValue(value);
|
|
730
818
|
}
|
|
731
819
|
}
|
|
732
820
|
}
|
|
@@ -814,8 +902,8 @@ const Input = ({
|
|
|
814
902
|
padding: padding ? padding : configStyles.INPUT.padding,
|
|
815
903
|
borderRadius: radius ? radius : configStyles.INPUT.radius,
|
|
816
904
|
boxSizing: boxSizing ? boxSizing : configStyles.INPUT.boxSizing,
|
|
817
|
-
|
|
818
|
-
|
|
905
|
+
color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color,
|
|
906
|
+
backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor
|
|
819
907
|
}
|
|
820
908
|
})), rightIcon && rightIcon.length > 0 ? /*#__PURE__*/React__default.createElement("div", {
|
|
821
909
|
onMouseUp: type === 'password' ? _ => setShow(false) : _ => _,
|
|
@@ -836,13 +924,14 @@ const Input = ({
|
|
|
836
924
|
animation: animation,
|
|
837
925
|
style: {
|
|
838
926
|
margin: '0px',
|
|
927
|
+
position: 'absolute',
|
|
928
|
+
width: width ? width : configStyles.INPUT.width,
|
|
839
929
|
left: errorLeft ? errorLeft : configStyles.INPUT.errorLeft,
|
|
840
930
|
color: errorColor ? errorColor : configStyles.INPUT.errorColor,
|
|
841
931
|
fontSize: errorSize ? errorSize : configStyles.INPUT.errorSize,
|
|
842
|
-
bottom: errorBottom ? errorBottom : configStyles.INPUT.errorBottom,
|
|
843
932
|
zIndex: errorZindex ? errorZindex : configStyles.INPUT.errorZindex,
|
|
844
|
-
position: errorPosition ? errorPosition : configStyles.INPUT.errorPosition,
|
|
845
933
|
lineHeight: errorLineHeight ? errorLineHeight : configStyles.INPUT.errorLineHeight,
|
|
934
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
846
935
|
transform: !errorAnimation ? 'scale3d(1,1,1)' : transform ? transform : configStyles.INPUT.transform
|
|
847
936
|
},
|
|
848
937
|
className: errorClassName ? errorClassName : configStyles.INPUT.errorClassName
|
|
@@ -861,6 +950,7 @@ Input.propTypes = {
|
|
|
861
950
|
padding: PropTypes.string,
|
|
862
951
|
fontSize: PropTypes.string,
|
|
863
952
|
tooltip: PropTypes.element,
|
|
953
|
+
marginTop: PropTypes.string,
|
|
864
954
|
transform: PropTypes.string,
|
|
865
955
|
className: PropTypes.string,
|
|
866
956
|
iconWidth: PropTypes.string,
|
|
@@ -875,7 +965,6 @@ Input.propTypes = {
|
|
|
875
965
|
borderRight: PropTypes.string,
|
|
876
966
|
placeholder: PropTypes.string,
|
|
877
967
|
errorZindex: PropTypes.string,
|
|
878
|
-
errorBottom: PropTypes.string,
|
|
879
968
|
labelWeight: PropTypes.string,
|
|
880
969
|
errorMessage: PropTypes.string,
|
|
881
970
|
phoneDisplay: PropTypes.string,
|
|
@@ -1059,62 +1148,10 @@ Button.propTypes = {
|
|
|
1059
1148
|
disabledBackgroundColor: PropTypes.string
|
|
1060
1149
|
};
|
|
1061
1150
|
|
|
1062
|
-
const SvgCheckboxUnchecked = ({
|
|
1063
|
-
title,
|
|
1064
|
-
titleId,
|
|
1065
|
-
...props
|
|
1066
|
-
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1067
|
-
width: "16",
|
|
1068
|
-
height: "16",
|
|
1069
|
-
viewBox: "0 0 16 16",
|
|
1070
|
-
fill: "none",
|
|
1071
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1072
|
-
"aria-labelledby": titleId
|
|
1073
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
1074
|
-
id: titleId
|
|
1075
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1076
|
-
fillRule: "evenodd",
|
|
1077
|
-
clipRule: "evenodd",
|
|
1078
|
-
d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
|
|
1079
|
-
fill: "#D1D1D1"
|
|
1080
|
-
}));
|
|
1081
|
-
|
|
1082
|
-
const SvgCheckboxChecked = ({
|
|
1083
|
-
title,
|
|
1084
|
-
titleId,
|
|
1085
|
-
...props
|
|
1086
|
-
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1087
|
-
width: "16",
|
|
1088
|
-
height: "16",
|
|
1089
|
-
viewBox: "0 0 16 16",
|
|
1090
|
-
fill: "none",
|
|
1091
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1092
|
-
"aria-labelledby": titleId
|
|
1093
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
1094
|
-
id: titleId
|
|
1095
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1096
|
-
fillRule: "evenodd",
|
|
1097
|
-
clipRule: "evenodd",
|
|
1098
|
-
d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
|
|
1099
|
-
fill: "#00236A"
|
|
1100
|
-
}));
|
|
1101
|
-
|
|
1102
|
-
const SingleCheckbox = ({
|
|
1103
|
-
checked
|
|
1104
|
-
}) => {
|
|
1105
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
1106
|
-
style: {
|
|
1107
|
-
marginRight: '9px'
|
|
1108
|
-
}
|
|
1109
|
-
}, checked ? /*#__PURE__*/React__default.createElement(SvgCheckboxChecked, null) : /*#__PURE__*/React__default.createElement(SvgCheckboxUnchecked, null));
|
|
1110
|
-
};
|
|
1111
|
-
SingleCheckbox.propTypes = {
|
|
1112
|
-
checked: PropTypes.bool
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
1151
|
const SvgArrow = ({
|
|
1116
1152
|
title,
|
|
1117
1153
|
titleId,
|
|
1154
|
+
fillColor,
|
|
1118
1155
|
...props
|
|
1119
1156
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1120
1157
|
width: "15",
|
|
@@ -1127,7 +1164,7 @@ const SvgArrow = ({
|
|
|
1127
1164
|
id: titleId
|
|
1128
1165
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1129
1166
|
d: "M7.988 8a.997.997 0 0 1-.64-.23l-5.989-5a1.002 1.002 0 0 1 .548-1.767.998.998 0 0 1 .73.227l5.35 4.48 5.351-4.32a.997.997 0 0 1 1.408.15 1 1 0 0 1-.14 1.46l-5.99 4.83a.997.997 0 0 1-.628.17Z",
|
|
1130
|
-
fill:
|
|
1167
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
1131
1168
|
}));
|
|
1132
1169
|
|
|
1133
1170
|
var css_248z$9 = ".select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;-webkit-animation:select-module_select-show__391hQ .64s linear forwards;left:0;max-height:0;overflow:hidden;position:absolute;width:100%;z-index:9}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}.select-module_select-content-top-icon__MBrGK{align-items:center;box-sizing:border-box;display:flex;flex:0 0 auto;padding:0 5px 0 20px}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:14px;justify-content:center;width:14px}.select-module_close-icon__SFNaJ{border-right:1px solid #eee;box-sizing:content-box;padding-right:9px}.select-module_arrow-icon__rjHt-{margin-left:9px;transform-origin:center;transition:all .64s ease;-webkit-transition:all .64s ease;-moz-transition:all .64s ease;-ms-transition:all .64s ease;-o-transition:all .64s ease}.select-module_select-content-bottom-row__eKq5L{align-items:center;display:flex;transition:background-color .24s,color .24s;-webkit-transition:background-color .24s,color .24s;-moz-transition:background-color .24s,color .24s;-ms-transition:background-color .24s,color .24s;-o-transition:background-color .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
|
|
@@ -1143,8 +1180,10 @@ const Select = ({
|
|
|
1143
1180
|
keyNames,
|
|
1144
1181
|
selected,
|
|
1145
1182
|
className,
|
|
1183
|
+
marginTop,
|
|
1146
1184
|
arrowIcon,
|
|
1147
1185
|
closeIcon,
|
|
1186
|
+
errorZindex,
|
|
1148
1187
|
errorMessage,
|
|
1149
1188
|
defaultOption,
|
|
1150
1189
|
multipleCheckbox,
|
|
@@ -1294,7 +1333,10 @@ const Select = ({
|
|
|
1294
1333
|
}
|
|
1295
1334
|
}, [options, multiple, selected, selected?.length]);
|
|
1296
1335
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
1297
|
-
className: classProps
|
|
1336
|
+
className: classProps,
|
|
1337
|
+
style: {
|
|
1338
|
+
position: 'relative'
|
|
1339
|
+
}
|
|
1298
1340
|
}, label ? /*#__PURE__*/React__default.createElement("label", {
|
|
1299
1341
|
style: {
|
|
1300
1342
|
color: labelColor ? labelColor : configStyles.SELECT.labelColor,
|
|
@@ -1392,8 +1434,11 @@ const Select = ({
|
|
|
1392
1434
|
}) : '', option[keyNames.name]);
|
|
1393
1435
|
}))) : null)), errorMessage ? /*#__PURE__*/React__default.createElement("span", {
|
|
1394
1436
|
style: {
|
|
1437
|
+
position: 'absolute',
|
|
1395
1438
|
color: errorColor ? errorColor : configStyles.SELECT.errorColor,
|
|
1396
|
-
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize
|
|
1439
|
+
fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize,
|
|
1440
|
+
zIndex: errorZindex ? errorZindex : configStyles.SELECT.errorZindex,
|
|
1441
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`
|
|
1397
1442
|
}
|
|
1398
1443
|
}, errorMessage) : '');
|
|
1399
1444
|
};
|
|
@@ -1405,9 +1450,11 @@ Select.propTypes = {
|
|
|
1405
1450
|
disabled: PropTypes.bool,
|
|
1406
1451
|
selected: PropTypes.array,
|
|
1407
1452
|
keyNames: PropTypes.object,
|
|
1453
|
+
marginTop: PropTypes.string,
|
|
1408
1454
|
className: PropTypes.string,
|
|
1409
1455
|
arrowIcon: PropTypes.element,
|
|
1410
1456
|
closeIcon: PropTypes.element,
|
|
1457
|
+
errorZindex: PropTypes.number,
|
|
1411
1458
|
errorMessage: PropTypes.string,
|
|
1412
1459
|
defaultOption: PropTypes.string,
|
|
1413
1460
|
multipleCheckbox: PropTypes.bool,
|
|
@@ -1454,6 +1501,7 @@ Select.propTypes = {
|
|
|
1454
1501
|
const SvgToasterInfo = ({
|
|
1455
1502
|
title,
|
|
1456
1503
|
titleId,
|
|
1504
|
+
fillColor,
|
|
1457
1505
|
...props
|
|
1458
1506
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1459
1507
|
width: "24",
|
|
@@ -1466,12 +1514,13 @@ const SvgToasterInfo = ({
|
|
|
1466
1514
|
id: titleId
|
|
1467
1515
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1468
1516
|
d: "M12 18c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854v-4.83c0-.34-.115-.62-.346-.84A1.19 1.19 0 0 0 12 10.8c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854v4.83c0 .34.115.62.346.84.23.22.515.33.854.33Zm0-9.6c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854 0-.34-.115-.625-.346-.856A1.157 1.157 0 0 0 12 6c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854 0 .34.115.625.346.856.23.23.515.345.854.344ZM12 24c-1.66 0-3.22-.315-4.68-.946a12.137 12.137 0 0 1-3.81-2.564 12.11 12.11 0 0 1-2.564-3.81C.316 15.22 0 13.66 0 12c0-1.66.315-3.22.946-4.68.63-1.46 1.485-2.73 2.564-3.81A12.11 12.11 0 0 1 7.32.946C8.78.316 10.34 0 12 0c1.66 0 3.22.315 4.68.946 1.46.63 2.73 1.485 3.81 2.564a12.127 12.127 0 0 1 2.566 3.81c.63 1.46.945 3.02.944 4.68 0 1.66-.315 3.22-.946 4.68a12.137 12.137 0 0 1-2.564 3.81 12.127 12.127 0 0 1-3.81 2.566c-1.46.63-3.02.945-4.68.944Z",
|
|
1469
|
-
fill:
|
|
1517
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1470
1518
|
}));
|
|
1471
1519
|
|
|
1472
1520
|
const SvgToasterError = ({
|
|
1473
1521
|
title,
|
|
1474
1522
|
titleId,
|
|
1523
|
+
fillColor,
|
|
1475
1524
|
...props
|
|
1476
1525
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1477
1526
|
width: "24",
|
|
@@ -1484,12 +1533,13 @@ const SvgToasterError = ({
|
|
|
1484
1533
|
id: titleId
|
|
1485
1534
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1486
1535
|
d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm0 16a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-11a1 1 0 0 0-.984.82L11 6v7l.016.18a1 1 0 0 0 1.968 0L13 13V6l-.016-.18A1 1 0 0 0 12 5Z",
|
|
1487
|
-
fill:
|
|
1536
|
+
fill: fillColor ? fillColor : '#E00'
|
|
1488
1537
|
}));
|
|
1489
1538
|
|
|
1490
1539
|
const SvgToasterClose = ({
|
|
1491
1540
|
title,
|
|
1492
1541
|
titleId,
|
|
1542
|
+
fillColor,
|
|
1493
1543
|
...props
|
|
1494
1544
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1495
1545
|
width: "18",
|
|
@@ -1502,12 +1552,13 @@ const SvgToasterClose = ({
|
|
|
1502
1552
|
id: titleId
|
|
1503
1553
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1504
1554
|
d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
|
|
1505
|
-
fill:
|
|
1555
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1506
1556
|
}));
|
|
1507
1557
|
|
|
1508
1558
|
const SvgToasterWarning = ({
|
|
1509
1559
|
title,
|
|
1510
1560
|
titleId,
|
|
1561
|
+
fillColor,
|
|
1511
1562
|
...props
|
|
1512
1563
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1513
1564
|
width: "24",
|
|
@@ -1520,12 +1571,13 @@ const SvgToasterWarning = ({
|
|
|
1520
1571
|
id: titleId
|
|
1521
1572
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1522
1573
|
d: "M1.156 21a1.143 1.143 0 0 1-.994-.583 1.285 1.285 0 0 1-.16-.57c-.01-.204.043-.403.16-.597L10.978.583c.117-.194.268-.34.454-.437C11.616.049 11.806 0 12 0c.194 0 .384.049.57.146.185.097.336.243.452.437L23.838 19.25c.116.194.17.394.161.599a1.26 1.26 0 0 1-.161.568 1.14 1.14 0 0 1-.41.423 1.09 1.09 0 0 1-.584.16H1.156ZM12 17.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83 0-.331-.112-.608-.337-.832a1.128 1.128 0 0 0-.832-.335c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83 0 .33.112.608.337.832.224.224.502.336.832.335Zm0-3.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83v-3.5c0-.331-.112-.608-.337-.832A1.128 1.128 0 0 0 12 8.166c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83v3.5c0 .33.112.608.337.832.224.224.502.336.832.335Z",
|
|
1523
|
-
fill:
|
|
1574
|
+
fill: fillColor ? fillColor : '#FF8A00'
|
|
1524
1575
|
}));
|
|
1525
1576
|
|
|
1526
1577
|
const SvgToasterSuccess = ({
|
|
1527
1578
|
title,
|
|
1528
1579
|
titleId,
|
|
1580
|
+
fillColor,
|
|
1529
1581
|
...props
|
|
1530
1582
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1531
1583
|
width: "24",
|
|
@@ -1538,7 +1590,7 @@ const SvgToasterSuccess = ({
|
|
|
1538
1590
|
id: titleId
|
|
1539
1591
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1540
1592
|
d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm-1.495 14.367L7.84 11.7a1.028 1.028 0 1 0-1.455 1.455l3.394 3.395a1.024 1.024 0 0 0 1.456 0l7.028-7.03a1.03 1.03 0 1 0-1.453-1.456l-6.304 6.303Z",
|
|
1541
|
-
fill:
|
|
1593
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
1542
1594
|
}));
|
|
1543
1595
|
|
|
1544
1596
|
var css_248z$8 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}";
|
|
@@ -1800,6 +1852,7 @@ const Toaster = () => {
|
|
|
1800
1852
|
const SvgTooltip = ({
|
|
1801
1853
|
title,
|
|
1802
1854
|
titleId,
|
|
1855
|
+
fillColor,
|
|
1803
1856
|
...props
|
|
1804
1857
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1805
1858
|
width: "16",
|
|
@@ -1812,7 +1865,7 @@ const SvgTooltip = ({
|
|
|
1812
1865
|
id: titleId
|
|
1813
1866
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1814
1867
|
d: "M8 0a8 8 0 1 0 .001 16.001A8 8 0 0 0 8 0Zm.571 11.857A.143.143 0 0 1 8.43 12H7.57a.143.143 0 0 1-.142-.143V7c0-.079.064-.143.142-.143h.858c.078 0 .142.064.142.143v4.857ZM8 5.714A.857.857 0 0 1 8 4a.857.857 0 0 1 0 1.714Z",
|
|
1815
|
-
fill:
|
|
1868
|
+
fill: fillColor ? fillColor : '#D1D1D1'
|
|
1816
1869
|
}));
|
|
1817
1870
|
|
|
1818
1871
|
var css_248z$7 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{padding:10px;position:absolute;z-index:1}.tooltip-module_tooltip-rel__to9gq{align-items:center;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;display:flex;height:auto;justify-content:center;min-height:10px;min-width:30px;position:relative;width:auto}.tooltip-module_tooltip-decor__qvt7t{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;height:10px;position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);width:10px;z-index:-1}";
|
|
@@ -1914,6 +1967,7 @@ Tooltip.defaultProps = {
|
|
|
1914
1967
|
const SvgCaptchaArrowUp = ({
|
|
1915
1968
|
title,
|
|
1916
1969
|
titleId,
|
|
1970
|
+
fillColor,
|
|
1917
1971
|
...props
|
|
1918
1972
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1919
1973
|
width: "12",
|
|
@@ -1926,12 +1980,13 @@ const SvgCaptchaArrowUp = ({
|
|
|
1926
1980
|
id: titleId
|
|
1927
1981
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1928
1982
|
d: "M6 14.9988C6.22729 14.9988 6.44527 14.9066 6.60598 14.7425C6.7667 14.5785 6.85699 14.3559 6.85699 14.1239L6.85699 3.98726L10.5352 7.74409C10.6149 7.82543 10.7095 7.88996 10.8136 7.93398C10.9177 7.97801 11.0292 8.00067 11.1419 8.00067C11.2546 8.00067 11.3662 7.97801 11.4703 7.93398C11.5744 7.88996 11.669 7.82543 11.7487 7.74409C11.8284 7.66274 11.8916 7.56617 11.9347 7.45989C11.9778 7.35361 12 7.2397 12 7.12466C12 7.00962 11.9778 6.89571 11.9347 6.78943C11.8916 6.68314 11.8284 6.58657 11.7487 6.50523L6.60675 1.25581C6.52714 1.17434 6.43257 1.1097 6.32845 1.06559C6.22434 1.02148 6.11272 0.998779 6 0.998779C5.88728 0.998779 5.77566 1.02148 5.67154 1.06559C5.56743 1.1097 5.47286 1.17434 5.39325 1.25581L0.251323 6.50523C0.0904038 6.66951 0 6.89233 0 7.12466C0 7.35699 0.0904038 7.57981 0.251323 7.74409C0.412243 7.90837 0.630497 8.00067 0.858071 8.00067C1.08565 8.00067 1.3039 7.90837 1.46482 7.74409L5.14301 3.98726L5.14301 14.1239C5.14301 14.3559 5.2333 14.5785 5.39402 14.7425C5.55473 14.9066 5.77271 14.9988 6 14.9988Z",
|
|
1929
|
-
fill:
|
|
1983
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1930
1984
|
}));
|
|
1931
1985
|
|
|
1932
1986
|
const SvgCaptchaArrowDown = ({
|
|
1933
1987
|
title,
|
|
1934
1988
|
titleId,
|
|
1989
|
+
fillColor,
|
|
1935
1990
|
...props
|
|
1936
1991
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
1937
1992
|
width: "12",
|
|
@@ -1944,7 +1999,7 @@ const SvgCaptchaArrowDown = ({
|
|
|
1944
1999
|
id: titleId
|
|
1945
2000
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
1946
2001
|
d: "M6 0.00146537C5.77271 0.00146539 5.55473 0.0936418 5.39402 0.257718C5.2333 0.421795 5.14301 0.64433 5.14301 0.876368L5.14301 11.013L1.46482 7.25615C1.38514 7.17481 1.29055 7.11028 1.18644 7.06626C1.08233 7.02224 0.970753 6.99958 0.85807 6.99958C0.745386 6.99958 0.633807 7.02224 0.529701 7.06626C0.425595 7.11028 0.331002 7.17481 0.251322 7.25616C0.171643 7.3375 0.108438 7.43407 0.0653156 7.54035C0.0221934 7.64663 -5.45598e-07 7.76055 -5.35541e-07 7.87559C-5.25484e-07 7.99063 0.0221934 8.10454 0.0653157 8.21082C0.108438 8.3171 0.171643 8.41367 0.251322 8.49502L5.39325 13.7444C5.47286 13.8259 5.56743 13.8905 5.67155 13.9347C5.77566 13.9788 5.88728 14.0015 6 14.0015C6.11272 14.0015 6.22434 13.9788 6.32846 13.9347C6.43257 13.8905 6.52714 13.8259 6.60675 13.7444L11.7487 8.49502C11.9096 8.33073 12 8.10792 12 7.87559C12 7.64325 11.9096 7.42044 11.7487 7.25615C11.5878 7.09187 11.3695 6.99958 11.1419 6.99958C10.9144 6.99958 10.6961 7.09187 10.5352 7.25615L6.85699 11.013L6.85699 0.876368C6.85699 0.64433 6.7667 0.421794 6.60598 0.257718C6.44526 0.0936418 6.22729 0.00146535 6 0.00146537Z",
|
|
1947
|
-
fill:
|
|
2002
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
1948
2003
|
}));
|
|
1949
2004
|
|
|
1950
2005
|
var css_248z$6 = ".captcha-module_start-point__LkOqy:after{background-color:#d1d1d1;border:2px solid #fff;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;content:\"\";height:10px;left:0;position:absolute;top:7.5px;width:10px;z-index:-1}.captcha-module_range__k24I2{-webkit-appearance:none;margin:0}.captcha-module_range__k24I2::-webkit-slider-runnable-track{-webkit-appearance:none;width:100%}.captcha-module_range-default__-O0QD::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-default.svg)}.captcha-module_range-default__-O0QD::-webkit-slider-thumb,.captcha-module_range-error__FKMfG::-webkit-slider-thumb{-webkit-appearance:none;background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}.captcha-module_range-error__FKMfG::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-error.svg)}.captcha-module_range-success__VzLPq::-webkit-slider-thumb{-webkit-appearance:none;background-image:url(../../assets/range-arrow-success.svg);background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}";
|
|
@@ -2181,6 +2236,7 @@ function v4(options, buf, offset) {
|
|
|
2181
2236
|
const SvgListItemPdf = ({
|
|
2182
2237
|
title,
|
|
2183
2238
|
titleId,
|
|
2239
|
+
fillColor,
|
|
2184
2240
|
...props
|
|
2185
2241
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2186
2242
|
width: "32",
|
|
@@ -2195,12 +2251,13 @@ const SvgListItemPdf = ({
|
|
|
2195
2251
|
fillRule: "evenodd",
|
|
2196
2252
|
clipRule: "evenodd",
|
|
2197
2253
|
d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024ZM10.43 36.013H9.103v2.385H8V32h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.754 1.754 0 0 1-.796.68c-.345.16-.766.238-1.26.238Zm-1.327-3.134v2.259h1.327c.29 0 .525-.047.703-.14a.877.877 0 0 0 .391-.388c.085-.167.128-.357.128-.57 0-.203-.043-.392-.128-.568a.971.971 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163H9.103Zm6.504 5.52h-1.859V32H15.646c.425 0 .813.072 1.165.215.352.141.655.345.91.611.258.267.455.586.593.958.138.372.206.788.206 1.248v.339c0 .46-.068.876-.206 1.248a2.714 2.714 0 0 1-.593.958 2.662 2.662 0 0 1-.923.61c-.355.141-.752.211-1.191.211Zm0-.875h-.756v-4.645h.795c.285 0 .535.047.752.14.22.094.404.232.554.414a1.8 1.8 0 0 1 .342.672c.08.267.12.573.12.918v.348c0 .445-.07.829-.208 1.151-.134.322-.336.57-.606.743-.267.172-.598.259-.993.259Zm5.124-2.725v-1.92h2.975V32h-4.078v6.398h1.103v-2.724h2.61v-.875h-2.61Z",
|
|
2198
|
-
fill:
|
|
2254
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2199
2255
|
}));
|
|
2200
2256
|
|
|
2201
2257
|
const SvgListItemJpg = ({
|
|
2202
2258
|
title,
|
|
2203
2259
|
titleId,
|
|
2260
|
+
fillColor,
|
|
2204
2261
|
...props
|
|
2205
2262
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2206
2263
|
width: "32",
|
|
@@ -2215,12 +2272,13 @@ const SvgListItemJpg = ({
|
|
|
2215
2272
|
fillRule: "evenodd",
|
|
2216
2273
|
clipRule: "evenodd",
|
|
2217
2274
|
d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024Zm2.071 27.737v-2.443h-2.43v.822h1.331v1.27a1.19 1.19 0 0 1-.224.175c-.094.059-.221.11-.382.154a2.579 2.579 0 0 1-.62.062c-.258 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.72.154.188.1.332.238.431.413.103.176.172.375.207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.343-.176-.776-.264-1.3-.264-.41 0-.778.069-1.104.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.527.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.197 1.3.132.378.318.7.559.963.243.264.531.464.865.602.334.135.702.202 1.103.202.472 0 .866-.051 1.182-.154.317-.102.57-.224.76-.364a2.13 2.13 0 0 0 .427-.396Zm-13.03-1.094v-4.478h1.099v4.478c0 .425-.091.786-.273 1.085-.181.3-.429.528-.742.686-.314.158-.67.237-1.068.237-.407 0-.77-.069-1.086-.206a1.622 1.622 0 0 1-.738-.633C8.09 37.45 8 37.09 8 36.654h1.107c0 .252.04.455.12.61a.755.755 0 0 0 .342.335c.15.067.324.1.523.1a.99.99 0 0 0 .505-.127.909.909 0 0 0 .352-.382c.085-.17.127-.378.127-.624Zm4.799-.466h-1.327v2.386h-1.103v-6.398h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.753 1.753 0 0 1-.796.68c-.345.159-.766.238-1.261.238Zm-1.327-3.133v2.259h1.327c.29 0 .524-.047.703-.141a.876.876 0 0 0 .391-.387c.085-.167.128-.357.128-.571 0-.202-.043-.391-.128-.567a.97.97 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163h-1.327Z",
|
|
2218
|
-
fill:
|
|
2275
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2219
2276
|
}));
|
|
2220
2277
|
|
|
2221
2278
|
const SvgListItemPng = ({
|
|
2222
2279
|
title,
|
|
2223
2280
|
titleId,
|
|
2281
|
+
fillColor,
|
|
2224
2282
|
...props
|
|
2225
2283
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2226
2284
|
width: "32",
|
|
@@ -2235,12 +2293,13 @@ const SvgListItemPng = ({
|
|
|
2235
2293
|
fillRule: "evenodd",
|
|
2236
2294
|
clipRule: "evenodd",
|
|
2237
2295
|
d: "m31.873 10.655-.011-.014c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.476.476 0 0 0-.029-.025l-.029-.026L21.178 0H2.91C2.138 0 1.398.305.852.848A2.891 2.891 0 0 0 0 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 2.909 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108a.21.21 0 0 1-.01-.012Zm-1.327 28.449a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H2.91a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.088 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.088Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.48a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.088a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.088 11.99a.724.724 0 1 1 0-1.448H16.52a.724.724 0 0 1 0 1.449H5.088Zm17.974-1.643A1.451 1.451 0 0 1 21.607 8.9V2.47l7.913 7.878h-6.458ZM9.103 36.012h1.327c.495 0 .916-.079 1.261-.237.349-.158.614-.385.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.74-.272-1.046a1.85 1.85 0 0 0-.796-.72c-.345-.176-.766-.264-1.26-.264H8v6.398h1.103v-2.386Zm0-.874v-2.26h1.327c.29 0 .525.055.703.163.179.109.31.253.391.431.085.176.128.365.128.567 0 .214-.043.404-.128.571a.877.877 0 0 1-.39.387c-.18.094-.414.14-.704.14H9.103ZM13.7 32h1.09l3.292 5.106a63.566 63.566 0 0 1-.044-1.379V32h.956v6.398h-1.1l-3.303-4.9.002.044c.012.134.02.279.027.435l.018.468c.006.163.009.327.009.49v3.463H13.7V32Zm11.393 5.66v-2.443h-2.43v.822h1.332v1.27a1.19 1.19 0 0 1-.225.175c-.093.059-.22.11-.382.154a2.578 2.578 0 0 1-.62.062c-.257 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.721.154.188.1.331.238.43.413a1.7 1.7 0 0 1 .207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.342-.176-.776-.264-1.3-.264-.41 0-.778.069-1.103.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.528.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.198 1.3.132.378.318.7.558.963.243.264.532.464.866.602.334.135.701.202 1.103.202.471 0 .865-.051 1.182-.154.316-.102.57-.224.76-.364.193-.144.335-.276.426-.396Z",
|
|
2238
|
-
fill:
|
|
2296
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2239
2297
|
}));
|
|
2240
2298
|
|
|
2241
2299
|
const SvgListItemJpeg = ({
|
|
2242
2300
|
title,
|
|
2243
2301
|
titleId,
|
|
2302
|
+
fillColor,
|
|
2244
2303
|
...props
|
|
2245
2304
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2246
2305
|
width: "33",
|
|
@@ -2255,12 +2314,13 @@ const SvgListItemJpeg = ({
|
|
|
2255
2314
|
fillRule: "evenodd",
|
|
2256
2315
|
clipRule: "evenodd",
|
|
2257
2316
|
d: "m32.384 10.667-.022-.026-.021-.025a.356.356 0 0 0-.052-.058L21.896.21 21.87.188l-.025-.021-.029-.026a.477.477 0 0 1-.029-.025L21.678 0H3.41c-.771 0-1.511.305-2.057.848A2.891 2.891 0 0 0 .5 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 3.409 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108Zm-1.338 28.437a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H3.41a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.588 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.588Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.98a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.588a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.588 11.99a.724.724 0 1 1 0-1.448H17.02a.724.724 0 0 1 0 1.449H5.588Zm17.974-1.643A1.451 1.451 0 0 1 22.107 8.9V2.47l7.913 7.878h-6.458ZM8.576 32.088v4.478c0 .246-.042.454-.127.624a.91.91 0 0 1-.352.382.99.99 0 0 1-.505.128c-.2 0-.374-.034-.523-.101a.755.755 0 0 1-.343-.334c-.079-.156-.119-.36-.119-.611H5.5c0 .436.09.797.268 1.08.179.285.425.496.738.634.317.137.679.206 1.086.206.398 0 .754-.079 1.068-.237.313-.158.56-.387.742-.686.182-.299.273-.66.273-1.085v-4.478H8.576Zm3.472 4.012h1.327c.495 0 .915-.079 1.261-.237.349-.158.614-.386.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.741-.272-1.046a1.849 1.849 0 0 0-.796-.72c-.345-.176-.766-.264-1.261-.264h-2.43v6.398h1.103V36.1Zm0-.874v-2.26h1.327c.29 0 .524.055.703.163a.97.97 0 0 1 .391.431c.085.176.128.365.128.567 0 .214-.043.404-.128.571a.876.876 0 0 1-.39.387c-.18.094-.414.14-.704.14h-1.327Zm14.545.087v2.444c-.09.12-.233.252-.426.395-.19.141-.444.263-.76.365-.317.103-.71.154-1.182.154-.402 0-.77-.068-1.103-.202a2.415 2.415 0 0 1-.866-.602 2.755 2.755 0 0 1-.558-.963 3.964 3.964 0 0 1-.198-1.3v-.444c0-.484.06-.914.18-1.292.123-.381.299-.703.527-.967.229-.264.504-.463.827-.598a2.805 2.805 0 0 1 1.103-.206c.524 0 .958.088 1.3.263.346.173.613.413.8.721.188.308.307.66.356 1.055h-1.08a1.7 1.7 0 0 0-.207-.598 1.046 1.046 0 0 0-.431-.413c-.185-.102-.425-.154-.72-.154-.256 0-.48.049-.673.145a1.271 1.271 0 0 0-.483.426 2.093 2.093 0 0 0-.286.686c-.065.27-.097.577-.097.923v.452c0 .352.037.664.11.937.076.272.185.502.325.69.144.187.318.33.523.426.205.093.437.14.695.14.252 0 .458-.02.62-.061.16-.044.288-.095.381-.154.097-.062.172-.12.225-.176v-1.27h-1.332v-.822h2.43ZM16.7 32.085h3.791v.884h-2.78v1.754h2.618v.875H17.71v2.033h2.781v.884h-3.79v-6.43Z",
|
|
2258
|
-
fill:
|
|
2317
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2259
2318
|
}));
|
|
2260
2319
|
|
|
2261
2320
|
const SvgListItemDelete = ({
|
|
2262
2321
|
title,
|
|
2263
2322
|
titleId,
|
|
2323
|
+
fillColor,
|
|
2264
2324
|
...props
|
|
2265
2325
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2266
2326
|
width: "22",
|
|
@@ -2273,7 +2333,7 @@ const SvgListItemDelete = ({
|
|
|
2273
2333
|
id: titleId
|
|
2274
2334
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
2275
2335
|
d: "M7.071 3.144V.786A.786.786 0 0 1 7.857 0h6.286a.786.786 0 0 1 .786.786v2.358h6.285a.786.786 0 0 1 0 1.572H.786a.786.786 0 1 1 0-1.572H7.07Zm1.572 0h4.714V1.573H8.643v1.571ZM3.143 22a.786.786 0 0 1-.786-.786V4.716h17.286v16.498a.786.786 0 0 1-.786.786H3.143Zm5.5-4.714a.786.786 0 0 0 .786-.786V8.644a.786.786 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Zm4.714 0a.785.785 0 0 0 .786-.786V8.644a.785.785 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Z",
|
|
2276
|
-
fill:
|
|
2336
|
+
fill: fillColor ? fillColor : '#051942'
|
|
2277
2337
|
}));
|
|
2278
2338
|
|
|
2279
2339
|
const FileItem = /*#__PURE__*/React__default.memo(({
|
|
@@ -2433,6 +2493,7 @@ const FileItem = /*#__PURE__*/React__default.memo(({
|
|
|
2433
2493
|
const SvgUpload = ({
|
|
2434
2494
|
title,
|
|
2435
2495
|
titleId,
|
|
2496
|
+
fillColor,
|
|
2436
2497
|
...props
|
|
2437
2498
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2438
2499
|
width: "51",
|
|
@@ -2450,12 +2511,13 @@ const SvgUpload = ({
|
|
|
2450
2511
|
fillRule: "evenodd",
|
|
2451
2512
|
clipRule: "evenodd",
|
|
2452
2513
|
d: "M41.822 17.245c-4.864 0-8.822 3.982-8.822 8.878C33 31.018 36.958 35 41.822 35c4.864 0 8.822-3.982 8.822-8.877 0-4.896-3.959-8.878-8.822-8.878Zm-.536 13.005v-6.689l-3.067 3.22a.69.69 0 0 1-1.01 0 .777.777 0 0 1 0-1.06l4.286-4.5A.71.71 0 0 1 42 21a.684.684 0 0 1 .505.22l4.286 4.5a.777.777 0 0 1 0 1.06.69.69 0 0 1-1.01 0l-3.067-3.22v6.69c0 .414-.32.75-.714.75-.395 0-.714-.336-.714-.75Z",
|
|
2453
|
-
fill:
|
|
2514
|
+
fill: fillColor ? fillColor : '#0DA574'
|
|
2454
2515
|
}));
|
|
2455
2516
|
|
|
2456
2517
|
const SvgRemoveFile = ({
|
|
2457
2518
|
title,
|
|
2458
2519
|
titleId,
|
|
2520
|
+
fillColor,
|
|
2459
2521
|
...props
|
|
2460
2522
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2461
2523
|
width: "26",
|
|
@@ -2473,12 +2535,13 @@ const SvgRemoveFile = ({
|
|
|
2473
2535
|
fill: "#FBFBFB"
|
|
2474
2536
|
}), /*#__PURE__*/React.createElement("path", {
|
|
2475
2537
|
d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
|
|
2476
|
-
fill:
|
|
2538
|
+
fill: fillColor ? fillColor : '#00236A'
|
|
2477
2539
|
}));
|
|
2478
2540
|
|
|
2479
2541
|
const SvgDeleteComponent = ({
|
|
2480
2542
|
title,
|
|
2481
2543
|
titleId,
|
|
2544
|
+
fillColor,
|
|
2482
2545
|
...props
|
|
2483
2546
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
2484
2547
|
width: "26",
|
|
@@ -2498,7 +2561,7 @@ const SvgDeleteComponent = ({
|
|
|
2498
2561
|
stroke: "#D1D1D1"
|
|
2499
2562
|
}), /*#__PURE__*/React.createElement("path", {
|
|
2500
2563
|
d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
|
|
2501
|
-
fill:
|
|
2564
|
+
fill: fillColor ? fillColor : '#E00'
|
|
2502
2565
|
}));
|
|
2503
2566
|
|
|
2504
2567
|
const NewFile = ({
|
|
@@ -3002,29 +3065,30 @@ const Textarea = ({
|
|
|
3002
3065
|
value,
|
|
3003
3066
|
height,
|
|
3004
3067
|
resize,
|
|
3005
|
-
border,
|
|
3006
3068
|
radius,
|
|
3007
3069
|
padding,
|
|
3008
3070
|
required,
|
|
3009
3071
|
onChange,
|
|
3010
3072
|
minWidth,
|
|
3011
3073
|
maxWidth,
|
|
3074
|
+
boxShadow,
|
|
3012
3075
|
minHeight,
|
|
3013
3076
|
maxHeight,
|
|
3014
3077
|
boxSizing,
|
|
3015
3078
|
maxLength,
|
|
3016
3079
|
labelSize,
|
|
3017
3080
|
errorSize,
|
|
3081
|
+
marginTop,
|
|
3018
3082
|
labelColor,
|
|
3019
3083
|
errorColor,
|
|
3020
|
-
borderColor,
|
|
3021
3084
|
labelWeight,
|
|
3022
3085
|
placeholder,
|
|
3023
3086
|
labelDisplay,
|
|
3024
|
-
|
|
3087
|
+
errorMessage,
|
|
3025
3088
|
backgroundColor,
|
|
3026
3089
|
borderFocusColor,
|
|
3027
3090
|
borderHoverColor,
|
|
3091
|
+
labelMarginBottom,
|
|
3028
3092
|
showCharacterCount,
|
|
3029
3093
|
labelRequiredColor
|
|
3030
3094
|
}) => {
|
|
@@ -3074,12 +3138,12 @@ const Textarea = ({
|
|
|
3074
3138
|
setInnerValue(value);
|
|
3075
3139
|
}, [value, onChange]);
|
|
3076
3140
|
useEffect(() => {
|
|
3077
|
-
if (
|
|
3078
|
-
setError(
|
|
3141
|
+
if (errorMessage) {
|
|
3142
|
+
setError(errorMessage);
|
|
3079
3143
|
} else {
|
|
3080
3144
|
setError('');
|
|
3081
3145
|
}
|
|
3082
|
-
}, [
|
|
3146
|
+
}, [errorMessage]);
|
|
3083
3147
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
3084
3148
|
style: {
|
|
3085
3149
|
width: width ? width : configStyles.TEXTAREA.width
|
|
@@ -3088,7 +3152,8 @@ const Textarea = ({
|
|
|
3088
3152
|
style: {
|
|
3089
3153
|
display: 'flex',
|
|
3090
3154
|
alignItems: 'center',
|
|
3091
|
-
justifyContent: label ? 'space-between' : 'flex-end'
|
|
3155
|
+
justifyContent: label ? 'space-between' : 'flex-end',
|
|
3156
|
+
marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.TEXTAREA.labelMarginBottom
|
|
3092
3157
|
}
|
|
3093
3158
|
}, label ? /*#__PURE__*/React__default.createElement("label", {
|
|
3094
3159
|
style: {
|
|
@@ -3109,11 +3174,11 @@ const Textarea = ({
|
|
|
3109
3174
|
}, maxLength - value.length, " \u0576\u056B\u0577")), /*#__PURE__*/React__default.createElement("textarea", {
|
|
3110
3175
|
style: {
|
|
3111
3176
|
width: '100%',
|
|
3177
|
+
border: 'none',
|
|
3112
3178
|
outline: 'none',
|
|
3113
3179
|
overflow: 'auto',
|
|
3114
3180
|
fontSize: size ? size : configStyles.TEXTAREA.size,
|
|
3115
3181
|
height: height ? height : configStyles.TEXTAREA.height,
|
|
3116
|
-
border: border ? border : configStyles.TEXTAREA.border,
|
|
3117
3182
|
padding: padding ? padding : configStyles.TEXTAREA.padding,
|
|
3118
3183
|
borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
|
|
3119
3184
|
minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
|
|
@@ -3122,7 +3187,7 @@ const Textarea = ({
|
|
|
3122
3187
|
maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
|
|
3123
3188
|
boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
|
|
3124
3189
|
backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
|
|
3125
|
-
|
|
3190
|
+
boxShadow: error ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.TEXTAREA.errorColor}` : isFocus ? borderFocusColor ? `0 0 0 2px ${borderFocusColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderFocusColor}` : isHover ? borderHoverColor ? `0 0 0 2px ${borderHoverColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderHoverColor}` : boxShadow ? boxShadow : configStyles.INPUT.boxShadow,
|
|
3126
3191
|
resize: resize ? resize : configStyles.TEXTAREA.resize
|
|
3127
3192
|
},
|
|
3128
3193
|
value: innerValue,
|
|
@@ -3134,10 +3199,10 @@ const Textarea = ({
|
|
|
3134
3199
|
onMouseLeave: handleMouseLeave
|
|
3135
3200
|
}), error ? /*#__PURE__*/React__default.createElement("span", {
|
|
3136
3201
|
style: {
|
|
3137
|
-
marginTop: '6px',
|
|
3138
3202
|
display: 'inline-block',
|
|
3139
3203
|
fontSize: errorSize ? errorSize : configStyles.TEXTAREA.errorSize,
|
|
3140
|
-
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor
|
|
3204
|
+
color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor,
|
|
3205
|
+
marginTop: marginTop ? marginTop : configStyles.TEXTAREA.marginTop
|
|
3141
3206
|
}
|
|
3142
3207
|
}, error) : '');
|
|
3143
3208
|
};
|
|
@@ -3147,27 +3212,31 @@ Textarea.propTypes = {
|
|
|
3147
3212
|
width: PropTypes.string,
|
|
3148
3213
|
height: PropTypes.string,
|
|
3149
3214
|
resize: PropTypes.string,
|
|
3150
|
-
border: PropTypes.string,
|
|
3151
3215
|
radius: PropTypes.string,
|
|
3152
3216
|
required: PropTypes.bool,
|
|
3153
3217
|
padding: PropTypes.string,
|
|
3154
3218
|
minWidth: PropTypes.string,
|
|
3155
3219
|
maxWidth: PropTypes.string,
|
|
3220
|
+
boxShadow: PropTypes.string,
|
|
3221
|
+
marginTop: PropTypes.string,
|
|
3156
3222
|
boxSizing: PropTypes.string,
|
|
3157
3223
|
minHeight: PropTypes.string,
|
|
3158
3224
|
maxHeight: PropTypes.string,
|
|
3159
3225
|
maxLength: PropTypes.number,
|
|
3160
3226
|
labelSize: PropTypes.string,
|
|
3227
|
+
errorSize: PropTypes.string,
|
|
3161
3228
|
labelColor: PropTypes.string,
|
|
3229
|
+
errorColor: PropTypes.string,
|
|
3162
3230
|
labelWeight: PropTypes.string,
|
|
3163
|
-
borderColor: PropTypes.string,
|
|
3164
3231
|
placeholder: PropTypes.string,
|
|
3232
|
+
errorMessage: PropTypes.string,
|
|
3165
3233
|
labelDisplay: PropTypes.string,
|
|
3166
3234
|
backgroundColor: PropTypes.string,
|
|
3167
3235
|
showCharacterCount: PropTypes.bool,
|
|
3168
3236
|
value: PropTypes.string.isRequired,
|
|
3169
3237
|
borderFocusColor: PropTypes.string,
|
|
3170
3238
|
borderHoverColor: PropTypes.string,
|
|
3239
|
+
labelMarginBottom: PropTypes.string,
|
|
3171
3240
|
onChange: PropTypes.func.isRequired,
|
|
3172
3241
|
labelRequiredColor: PropTypes.string
|
|
3173
3242
|
};
|
|
@@ -3326,6 +3395,7 @@ const PaginationRange = ({
|
|
|
3326
3395
|
const SvgDots = ({
|
|
3327
3396
|
title,
|
|
3328
3397
|
titleId,
|
|
3398
|
+
fillColor,
|
|
3329
3399
|
...props
|
|
3330
3400
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
3331
3401
|
width: "11",
|
|
@@ -3338,12 +3408,13 @@ const SvgDots = ({
|
|
|
3338
3408
|
id: titleId
|
|
3339
3409
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
3340
3410
|
d: "M.23 1.136C.23.742.326.464.518.304c.192-.16.421-.24.688-.24.277 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256C.326 1.798.23 1.52.23 1.136Zm4.281 0c0-.394.096-.672.288-.832.192-.16.422-.24.688-.24.278 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.426.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Zm4.282 0c0-.394.096-.672.288-.832.192-.16.421-.24.688-.24.277 0 .512.08.704.24.202.16.304.438.304.832 0 .384-.102.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Z",
|
|
3341
|
-
fill:
|
|
3411
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3342
3412
|
}));
|
|
3343
3413
|
|
|
3344
3414
|
const SvgNextarrow = ({
|
|
3345
3415
|
title,
|
|
3346
3416
|
titleId,
|
|
3417
|
+
fillColor,
|
|
3347
3418
|
...props
|
|
3348
3419
|
}) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
3349
3420
|
width: "6",
|
|
@@ -3356,7 +3427,7 @@ const SvgNextarrow = ({
|
|
|
3356
3427
|
id: titleId
|
|
3357
3428
|
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
3358
3429
|
d: "M.851 11.998a.847.847 0 0 1-.847-.776.86.86 0 0 1 .193-.626l3.808-4.584L.333 1.419A.857.857 0 0 1 .46.213a.849.849 0 0 1 1.241.128l4.106 5.132a.859.859 0 0 1 0 1.086l-4.25 5.132a.85.85 0 0 1-.706.307Z",
|
|
3359
|
-
fill:
|
|
3430
|
+
fill: fillColor ? fillColor : '#3C393E'
|
|
3360
3431
|
}));
|
|
3361
3432
|
|
|
3362
3433
|
const Pagination = ({
|
|
@@ -3670,6 +3741,7 @@ const NewAutocomplete = ({
|
|
|
3670
3741
|
selected,
|
|
3671
3742
|
errorSize,
|
|
3672
3743
|
labelSize,
|
|
3744
|
+
marginTop,
|
|
3673
3745
|
errorColor,
|
|
3674
3746
|
labelColor,
|
|
3675
3747
|
labelWeight,
|
|
@@ -3827,11 +3899,12 @@ const NewAutocomplete = ({
|
|
|
3827
3899
|
backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
|
|
3828
3900
|
}
|
|
3829
3901
|
}, item.name);
|
|
3830
|
-
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default.createElement("
|
|
3902
|
+
}))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default.createElement("span", {
|
|
3831
3903
|
style: {
|
|
3832
|
-
|
|
3904
|
+
position: 'absolute',
|
|
3833
3905
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3834
3906
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
3907
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3835
3908
|
height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
3836
3909
|
padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
|
|
3837
3910
|
lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
|
|
@@ -3917,10 +3990,11 @@ const NewAutocomplete = ({
|
|
|
3917
3990
|
}
|
|
3918
3991
|
}, props)), errorMessage ? /*#__PURE__*/React__default.createElement("span", {
|
|
3919
3992
|
style: {
|
|
3920
|
-
|
|
3921
|
-
|
|
3993
|
+
left: '0px',
|
|
3994
|
+
position: 'absolute',
|
|
3922
3995
|
color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
|
|
3923
3996
|
fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
|
|
3997
|
+
top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
|
|
3924
3998
|
maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
|
|
3925
3999
|
}
|
|
3926
4000
|
}, errorMessage) : '', optionList));
|
|
@@ -3931,6 +4005,7 @@ NewAutocomplete.propTypes = {
|
|
|
3931
4005
|
disabled: PropTypes.bool,
|
|
3932
4006
|
selected: PropTypes.string,
|
|
3933
4007
|
errorSize: PropTypes.string,
|
|
4008
|
+
marginTop: PropTypes.string,
|
|
3934
4009
|
labelSize: PropTypes.string,
|
|
3935
4010
|
errorColor: PropTypes.string,
|
|
3936
4011
|
labelColor: PropTypes.string,
|