@xaypay/tui 0.0.28 → 0.0.30

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.js CHANGED
@@ -56,9 +56,9 @@ function styleInject(css, ref) {
56
56
  }
57
57
  }
58
58
 
59
- var css_248z$c = ".button-module_btn__ffRtT{border:none;border-radius:6px;box-sizing:border-box;cursor:pointer;font-size:16px;line-height:20px;max-height:46px;min-height:46px;outline:none;overflow:hidden;padding:12px 20px;text-transform:none;transition:background-color .24s,color .24s}.button-module_btn__ffRtT.button-module_full-size__vmV2E{width:100%}.button-module_btn__ffRtT.button-module_content-size__f7JSE{width:auto}.button-module_btn__ffRtT.button-module_type-filled__BiyVo{background-color:#00236a;color:#fff}.button-module_btn__ffRtT.button-module_type-filled__BiyVo:hover{background-color:#001745}.button-module_btn__ffRtT.button-module_type-filled__BiyVo:disabled{background-color:#eee;color:#3c393e;pointer-events:none}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V{background-color:#fff;box-shadow:inset 0 0 0 2px #00236a}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V:hover{background-color:#001745;color:#fff}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V:disabled{box-shadow:inset 0 0 0 2px #eee;color:#3c393e;pointer-events:none}";
60
- var styles$a = {"btn":"button-module_btn__ffRtT","full-size":"button-module_full-size__vmV2E","content-size":"button-module_content-size__f7JSE","size-default":"button-module_size-default__ydEgl","type-filled":"button-module_type-filled__BiyVo","with-icon":"button-module_with-icon__mfKU-","type-outline":"button-module_type-outline__RpZ2V"};
61
- styleInject(css_248z$c);
59
+ var css_248z$d = ".button-module_btn__ffRtT{border:none;border-radius:6px;box-sizing:border-box;cursor:pointer;font-size:16px;line-height:20px;max-height:46px;min-height:46px;outline:none;overflow:hidden;padding:12px 20px;text-transform:none;transition:background-color .24s,color .24s}.button-module_btn__ffRtT.button-module_full-size__vmV2E{width:100%}.button-module_btn__ffRtT.button-module_content-size__f7JSE{width:auto}.button-module_btn__ffRtT.button-module_type-filled__BiyVo{background-color:#00236a;color:#fff}.button-module_btn__ffRtT.button-module_type-filled__BiyVo:hover{background-color:#001745}.button-module_btn__ffRtT.button-module_type-filled__BiyVo:disabled{background-color:#eee;color:#3c393e;pointer-events:none}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V{background-color:#fff;box-shadow:inset 0 0 0 2px #00236a}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V:hover{background-color:#001745;color:#fff}.button-module_btn__ffRtT.button-module_type-outline__RpZ2V:disabled{box-shadow:inset 0 0 0 2px #eee;color:#3c393e;pointer-events:none}";
60
+ var styles$b = {"btn":"button-module_btn__ffRtT","full-size":"button-module_full-size__vmV2E","content-size":"button-module_content-size__f7JSE","size-default":"button-module_size-default__ydEgl","type-filled":"button-module_type-filled__BiyVo","with-icon":"button-module_with-icon__mfKU-","type-outline":"button-module_type-outline__RpZ2V"};
61
+ styleInject(css_248z$d);
62
62
 
63
63
  /**
64
64
  * Primary UI component for user interaction
@@ -94,7 +94,7 @@ const Button = ({
94
94
  outline,
95
95
  ...props
96
96
  }) => {
97
- const classProps = classnames__default["default"](styles$a.btn, styles$a[theme], styles$a[size], outline ? styles$a['type-outline'] : styles$a['type-filled'], className);
97
+ const classProps = classnames__default["default"](styles$b.btn, styles$b[theme], styles$b[size], outline ? styles$b['type-outline'] : styles$b['type-filled'], className);
98
98
  // className='btn type-outline size-default'
99
99
  return /*#__PURE__*/React__default["default"].createElement("button", _extends({
100
100
  type: "button",
@@ -140,8 +140,8 @@ Button.defaultProps = {
140
140
  outline: false
141
141
  };
142
142
 
143
- var css_248z$b = "h1{font-size:70px;line-height:70px}h1,h2{font-weight:400;text-transform:uppercase}h2{font-size:50px;line-height:50px}h3{font-size:38px;font-weight:400;line-height:38px;text-transform:uppercase}h4{font-size:24px;line-height:24px}h4,h5{font-weight:600;text-transform:uppercase}h5{font-size:20px;line-height:26px}h6{font-size:14px;font-weight:600;line-height:20px;text-transform:none}p{font-size:16px;line-height:22px}p,span{color:#3c393e;font-weight:500;text-transform:none}span{font-size:12px;line-height:16px}i{font-family:icomoon;font-style:inherit}";
144
- styleInject(css_248z$b);
143
+ var css_248z$c = "h1{font-size:70px;line-height:70px}h1,h2{font-weight:400;text-transform:uppercase}h2{font-size:50px;line-height:50px}h3{font-size:38px;font-weight:400;line-height:38px;text-transform:uppercase}h4{font-size:24px;line-height:24px}h4,h5{font-weight:600;text-transform:uppercase}h5{font-size:20px;line-height:26px}h6{font-size:14px;font-weight:600;line-height:20px;text-transform:none}p{font-size:16px;line-height:22px}p,span{color:#3c393e;font-weight:500;text-transform:none}span{font-size:12px;line-height:16px}i{font-family:icomoon;font-style:inherit}";
144
+ styleInject(css_248z$c);
145
145
 
146
146
  const TypographyType = {
147
147
  h1: 'h1',
@@ -192,9 +192,9 @@ Typography.defaultProps = {
192
192
  variant: 'h1'
193
193
  };
194
194
 
195
- var css_248z$a = ".autocomplate-module_autocomplate-content__UbIUT{display:flex;flex-direction:column;position:relative}.autocomplate-module_autocomplate-content-top__FVgCp{border:2px solid #d1d1d1;border-radius:6px;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:500;height:46px;line-height:22px;max-width:400px;padding:0 15px;transition:border-color .24s}.autocomplate-module_autocomplate-content-top__FVgCp.autocomplate-module_active__40fdV{border-color:#00236a}.autocomplate-module_autocomplate-content-top__FVgCp:hover{border-color:#3c393e}.autocomplate-module_autocomplate-content-bottom__yk0zP{animation:autocomplate-module_select-show__7Uap4 .64s linear forwards;background:#fbfbfb;border-radius:6px;box-shadow:0 0 10px rgba(60,57,62,.08);left:0;max-height:0;max-width:400px;overflow:hidden;position:absolute;top:52px;width:100%;z-index:1}.autocomplate-module_autocomplate-content-bottom-inner__rF5IF{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}@keyframes autocomplate-module_select-show__7Uap4{to{max-height:400px}}.autocomplate-module_autocomplate-content-bottom-row__dRsZa{align-items:center;background:#fff;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;font-size:16px;font-weight:500;height:46px;line-height:22px;margin-bottom:2px;padding:0 15px;transition:background .24s,color .24s}.autocomplate-module_autocomplate-content-bottom-row__dRsZa .autocomplate-module_no-option__xv0-E{color:red}.autocomplate-module_autocomplate-content-bottom-row__dRsZa:hover{background:unset;color:#00236a}.autocomplate-module_option-active__WuH4I .autocomplate-module_autocomplate-content-bottom-row__dRsZa{color:#00236a}.autocomplate-module_autocomplate-title__3Qxqz{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}";
196
- var styles$9 = {"autocomplate-content":"autocomplate-module_autocomplate-content__UbIUT","autocomplate-content-top":"autocomplate-module_autocomplate-content-top__FVgCp","active":"autocomplate-module_active__40fdV","autocomplate-content-bottom":"autocomplate-module_autocomplate-content-bottom__yk0zP","select-show":"autocomplate-module_select-show__7Uap4","autocomplate-content-bottom-inner":"autocomplate-module_autocomplate-content-bottom-inner__rF5IF","autocomplate-content-bottom-row":"autocomplate-module_autocomplate-content-bottom-row__dRsZa","no-option":"autocomplate-module_no-option__xv0-E","option-active":"autocomplate-module_option-active__WuH4I","autocomplate-title":"autocomplate-module_autocomplate-title__3Qxqz"};
197
- styleInject(css_248z$a);
195
+ var css_248z$b = ".autocomplate-module_autocomplate-content__UbIUT{display:flex;flex-direction:column;position:relative}.autocomplate-module_autocomplate-content-top__FVgCp{border:2px solid #d1d1d1;border-radius:6px;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:500;height:46px;line-height:22px;max-width:400px;padding:0 15px;transition:border-color .24s}.autocomplate-module_autocomplate-content-top__FVgCp.autocomplate-module_active__40fdV{border-color:#00236a}.autocomplate-module_autocomplate-content-top__FVgCp:hover{border-color:#3c393e}.autocomplate-module_autocomplate-content-bottom__yk0zP{animation:autocomplate-module_select-show__7Uap4 .64s linear forwards;background:#fbfbfb;border-radius:6px;box-shadow:0 0 10px rgba(60,57,62,.08);left:0;max-height:0;max-width:400px;overflow:hidden;position:absolute;top:52px;width:100%;z-index:1}.autocomplate-module_autocomplate-content-bottom-inner__rF5IF{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}@keyframes autocomplate-module_select-show__7Uap4{to{max-height:400px}}.autocomplate-module_autocomplate-content-bottom-row__dRsZa{align-items:center;background:#fff;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;font-size:16px;font-weight:500;height:46px;line-height:22px;margin-bottom:2px;padding:0 15px;transition:background .24s,color .24s}.autocomplate-module_autocomplate-content-bottom-row__dRsZa .autocomplate-module_no-option__xv0-E{color:red}.autocomplate-module_autocomplate-content-bottom-row__dRsZa:hover{background:unset;color:#00236a}.autocomplate-module_option-active__WuH4I .autocomplate-module_autocomplate-content-bottom-row__dRsZa{color:#00236a}.autocomplate-module_autocomplate-title__3Qxqz{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}";
196
+ var styles$a = {"autocomplate-content":"autocomplate-module_autocomplate-content__UbIUT","autocomplate-content-top":"autocomplate-module_autocomplate-content-top__FVgCp","active":"autocomplate-module_active__40fdV","autocomplate-content-bottom":"autocomplate-module_autocomplate-content-bottom__yk0zP","select-show":"autocomplate-module_select-show__7Uap4","autocomplate-content-bottom-inner":"autocomplate-module_autocomplate-content-bottom-inner__rF5IF","autocomplate-content-bottom-row":"autocomplate-module_autocomplate-content-bottom-row__dRsZa","no-option":"autocomplate-module_no-option__xv0-E","option-active":"autocomplate-module_option-active__WuH4I","autocomplate-title":"autocomplate-module_autocomplate-title__3Qxqz"};
197
+ styleInject(css_248z$b);
198
198
 
199
199
  const Autocomplate = ({
200
200
  className,
@@ -211,7 +211,7 @@ const Autocomplate = ({
211
211
  errorMesage,
212
212
  ...props
213
213
  }) => {
214
- classnames__default["default"](styles$9.searchBox, className);
214
+ classnames__default["default"](styles$a.searchBox, className);
215
215
  const parseSelectedOptionsData = jsonSelectedOptionsData ? JSON.parse(jsonSelectedOptionsData) : {
216
216
  name: '',
217
217
  id: ''
@@ -251,43 +251,43 @@ const Autocomplate = ({
251
251
  if (showOptions && inputValue) {
252
252
  if (parseOptionsData.length && inputValue.length >= searchCount) {
253
253
  optionList = /*#__PURE__*/React__default["default"].createElement("div", {
254
- className: styles$9['autocomplate-content-bottom']
254
+ className: styles$a['autocomplate-content-bottom']
255
255
  }, /*#__PURE__*/React__default["default"].createElement("div", {
256
- className: styles$9['autocomplate-content-bottom-inner']
256
+ className: styles$a['autocomplate-content-bottom-inner']
257
257
  }, parseOptionsData.map((optionName, index) => {
258
258
  let className;
259
259
  if (index === activeOption) {
260
260
  className = "option-active";
261
261
  }
262
262
  return /*#__PURE__*/React__default["default"].createElement("div", {
263
- className: styles$9[className],
263
+ className: styles$a[className],
264
264
  key: optionName[keyNames.id],
265
265
  onClick: handleClick
266
266
  }, /*#__PURE__*/React__default["default"].createElement("div", {
267
267
  id: optionName[keyNames.id],
268
- className: styles$9['autocomplate-content-bottom-row']
268
+ className: styles$a['autocomplate-content-bottom-row']
269
269
  }, optionName[keyNames.name]));
270
270
  })));
271
271
  } else {
272
272
  optionList = /*#__PURE__*/React__default["default"].createElement("div", {
273
- className: styles$9['autocomplate-content-bottom']
273
+ className: styles$a['autocomplate-content-bottom']
274
274
  }, /*#__PURE__*/React__default["default"].createElement("div", {
275
- className: styles$9['autocomplate-content-bottom-inner']
275
+ className: styles$a['autocomplate-content-bottom-inner']
276
276
  }, /*#__PURE__*/React__default["default"].createElement("div", {
277
- className: styles$9['autocomplate-content-bottom-row']
277
+ className: styles$a['autocomplate-content-bottom-row']
278
278
  }, /*#__PURE__*/React__default["default"].createElement("div", {
279
- className: styles$9['no-option']
279
+ className: styles$a['no-option']
280
280
  }, "No Option!"))));
281
281
  }
282
282
  }
283
283
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
284
- className: styles$9['autocomplate-title']
284
+ className: styles$a['autocomplate-title']
285
285
  }, label) : "", /*#__PURE__*/React__default["default"].createElement("div", {
286
- className: styles$9['autocomplate-content']
286
+ className: styles$a['autocomplate-content']
287
287
  }, /*#__PURE__*/React__default["default"].createElement("input", _extends({
288
288
  id: inputId,
289
289
  type: "text",
290
- className: styles$9['autocomplate-content-top'],
290
+ className: styles$a['autocomplate-content-top'],
291
291
  required: required,
292
292
  disabled: disabled,
293
293
  onChange: handleChange,
@@ -297,7 +297,7 @@ const Autocomplate = ({
297
297
  value: inputValue,
298
298
  placeholder: placeHolder
299
299
  }, props)), errorMesage ? /*#__PURE__*/React__default["default"].createElement("span", {
300
- className: styles$9.errorMessage
300
+ className: styles$a.errorMessage
301
301
  }, errorMesage) : null, optionList));
302
302
  };
303
303
  Autocomplate.propTypes = {
@@ -315,9 +315,9 @@ Autocomplate.propTypes = {
315
315
  errorMesage: PropTypes__default["default"].string
316
316
  };
317
317
 
318
- var css_248z$9 = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
319
- var styles$8 = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
320
- styleInject(css_248z$9);
318
+ var css_248z$a = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
319
+ var styles$9 = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
320
+ styleInject(css_248z$a);
321
321
 
322
322
  const Checkbox = ({
323
323
  disabled,
@@ -329,9 +329,10 @@ const Checkbox = ({
329
329
  onChange,
330
330
  label,
331
331
  keyNames,
332
+ onClick,
332
333
  ...props
333
334
  }) => {
334
- const classProps = classnames__default["default"](styles$8.checkbox, className);
335
+ const classProps = classnames__default["default"](styles$9.checkbox, className);
335
336
  const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
336
337
  const [data, setData] = React.useState(parseData);
337
338
  React.useEffect(() => {
@@ -339,7 +340,7 @@ const Checkbox = ({
339
340
  setData(parseData);
340
341
  }, [jsonData]);
341
342
  React.useEffect(() => {
342
- onChange(data.filter(d => d.checked));
343
+ onChange ? onChange(data.filter(d => d.checked)) : '';
343
344
  }, [data]);
344
345
  const handleChange = e => {
345
346
  let id;
@@ -364,7 +365,7 @@ const Checkbox = ({
364
365
  } : '';
365
366
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, data.map(element => {
366
367
  return /*#__PURE__*/React__default["default"].createElement("label", {
367
- className: styles$8["checkbox-wrap"],
368
+ className: styles$9["checkbox-wrap"],
368
369
  key: element.value
369
370
  }, /*#__PURE__*/React__default["default"].createElement("input", _extends({
370
371
  type: "checkbox",
@@ -374,11 +375,13 @@ const Checkbox = ({
374
375
  value: keyNames.value ? element[keyNames.value] : '',
375
376
  name: keyNames.name ? element[keyNames.name] : '',
376
377
  id: keyNames.id ? element[keyNames.id] : '',
377
- onChange: handleChange
378
+ onChange: handleChange,
379
+ onClick: onClick ? onClick : () => {},
380
+ defaultChecked: element.checked
378
381
  }, props)), /*#__PURE__*/React__default["default"].createElement("span", {
379
- className: styles$8["checkmark"]
382
+ className: styles$9["checkmark"]
380
383
  }), element[keyNames.label] ? /*#__PURE__*/React__default["default"].createElement("label", {
381
- className: styles$8.labelCheckbox,
384
+ className: styles$9.labelCheckbox,
382
385
  for: element[keyNames.id]
383
386
  }, element[keyNames.label]) : "");
384
387
  }));
@@ -386,6 +389,7 @@ const Checkbox = ({
386
389
  Checkbox.propTypes = {
387
390
  className: PropTypes__default["default"].string,
388
391
  onChange: PropTypes__default["default"].func,
392
+ onClick: PropTypes__default["default"].func,
389
393
  required: PropTypes__default["default"].bool,
390
394
  disabled: PropTypes__default["default"].bool,
391
395
  name: PropTypes__default["default"].string,
@@ -399,21 +403,21 @@ Checkbox.defaultProps = {
399
403
  jsonData: '[{"value":"email", "name":"contact1", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact2", "label":"Phone", "id":"contactChoice2"}]'
400
404
  };
401
405
 
402
- var css_248z$8 = "";
403
- styleInject(css_248z$8);
406
+ var css_248z$9 = "";
407
+ styleInject(css_248z$9);
404
408
 
405
409
  /**
406
410
  * Created by aleksanyan.tigran on 10/7/2022.
407
411
  */
408
412
  const Icon = props => {
409
413
  return /*#__PURE__*/React__default["default"].createElement("i", {
410
- className: css_248z$8[props.className]
414
+ className: css_248z$9[props.className]
411
415
  });
412
416
  };
413
417
 
414
- var css_248z$7 = ".input-module_input-wrap__NunrE{position:relative}.input-module_input__-ipHD{border:none;border-radius:6px;box-shadow:inset 0 0 0 2px #d1d1d1;box-sizing:border-box;color:#3c393e;cursor:pointer;font-size:16px;line-height:20px;outline:none;overflow:hidden;text-transform:none;transition:background-color .24s,color .24s}.input-module_input__-ipHD.input-module_full-size__38YG7{width:100%}.input-module_input__-ipHD.input-module_content-size__rZ5EA{width:auto}.input-module_input__-ipHD.input-module_size-medium__frTDq{max-width:400px;min-height:46px;padding:12px 15px}.input-module_input__-ipHD:hover{box-shadow:inset 0 0 0 2px #3c393e}.input-module_input__-ipHD:active{box-shadow:inset 0 0 0 2px #00236a}.input-module_inputErrorMessages__hx490{animation:input-module_error-message-show__OrVSo .24s forwards;bottom:0;color:#e00;font-size:14px;left:0;line-height:19px;position:absolute;transform:scale3d(0,0,0);z-index:1}.input-module_labelInput__sUMKQ{color:#000}.input-module_input__-ipHD.input-module_state-disabled__402v0{background-color:#fbfbfb;pointer-events:none}.input-module_input__-ipHD.input-module_error-message__7NphF{box-shadow:inset 0 0 0 2px #e00}.input-module_input-title__giCsY{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}@keyframes input-module_error-message-show__OrVSo{to{bottom:-20px;transform:scaleX(1)}}";
415
- var styles$7 = {"input-wrap":"input-module_input-wrap__NunrE","input":"input-module_input__-ipHD","full-size":"input-module_full-size__38YG7","content-size":"input-module_content-size__rZ5EA","size-medium":"input-module_size-medium__frTDq","with-icon":"input-module_with-icon__w3jTW","inputErrorMessages":"input-module_inputErrorMessages__hx490","error-message-show":"input-module_error-message-show__OrVSo","labelInput":"input-module_labelInput__sUMKQ","state-disabled":"input-module_state-disabled__402v0","error-message":"input-module_error-message__7NphF","input-title":"input-module_input-title__giCsY"};
416
- styleInject(css_248z$7);
418
+ var css_248z$8 = ".input-module_input-wrap__NunrE{position:relative}.input-module_input__-ipHD{border:none;border-radius:6px;box-shadow:inset 0 0 0 2px #d1d1d1;box-sizing:border-box;color:#3c393e;cursor:pointer;font-size:16px;line-height:20px;outline:none;overflow:hidden;text-transform:none;transition:background-color .24s,color .24s}.input-module_input__-ipHD.input-module_full-size__38YG7{width:100%}.input-module_input__-ipHD.input-module_content-size__rZ5EA{width:auto}.input-module_input__-ipHD.input-module_size-medium__frTDq{max-width:400px;min-height:46px;padding:12px 15px}.input-module_input__-ipHD:hover{box-shadow:inset 0 0 0 2px #3c393e}.input-module_input__-ipHD:active{box-shadow:inset 0 0 0 2px #00236a}.input-module_inputErrorMessages__hx490{animation:input-module_error-message-show__OrVSo .24s forwards;bottom:0;color:#e00;font-size:14px;left:0;line-height:19px;position:absolute;transform:scale3d(0,0,0);z-index:1}.input-module_labelInput__sUMKQ{color:#000}.input-module_input__-ipHD.input-module_state-disabled__402v0{background-color:#fbfbfb;pointer-events:none}.input-module_input__-ipHD.input-module_error-message__7NphF{box-shadow:inset 0 0 0 2px #e00}.input-module_input-title__giCsY{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}@keyframes input-module_error-message-show__OrVSo{to{bottom:-20px;transform:scaleX(1)}}";
419
+ var styles$8 = {"input-wrap":"input-module_input-wrap__NunrE","input":"input-module_input__-ipHD","full-size":"input-module_full-size__38YG7","content-size":"input-module_content-size__rZ5EA","size-medium":"input-module_size-medium__frTDq","with-icon":"input-module_with-icon__w3jTW","inputErrorMessages":"input-module_inputErrorMessages__hx490","error-message-show":"input-module_error-message-show__OrVSo","labelInput":"input-module_labelInput__sUMKQ","state-disabled":"input-module_state-disabled__402v0","error-message":"input-module_error-message__7NphF","input-title":"input-module_input-title__giCsY"};
420
+ styleInject(css_248z$8);
417
421
 
418
422
  const InputTypes = {
419
423
  TEXT: "text",
@@ -457,11 +461,11 @@ const Input = ({
457
461
  const regex = new RegExp(regexp);
458
462
  eMessage = regex.test(inputValue) ? "" : regexpError;
459
463
  }
460
- const classProps = classnames__default["default"](styles$7.input, styles$7[size], eMessage != '' ? styles$7['error-message'] : "", className);
464
+ const classProps = classnames__default["default"](styles$8.input, styles$8[size], eMessage != '' ? styles$8['error-message'] : "", className);
461
465
  return /*#__PURE__*/React__default["default"].createElement("div", {
462
- className: styles$7['input-wrap']
466
+ className: styles$8['input-wrap']
463
467
  }, label ? /*#__PURE__*/React__default["default"].createElement("label", {
464
- className: styles$7['input-title']
468
+ className: styles$8['input-title']
465
469
  }, label) : "", /*#__PURE__*/React__default["default"].createElement("input", _extends({}, props, {
466
470
  type: type,
467
471
  className: classProps,
@@ -472,7 +476,7 @@ const Input = ({
472
476
  onChange: handleChange,
473
477
  value: inputValue
474
478
  })), eMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
475
- className: styles$7.inputErrorMessages
479
+ className: styles$8.inputErrorMessages
476
480
  }, eMessage) : "");
477
481
  };
478
482
  Input.propTypes = {
@@ -500,9 +504,9 @@ Input.defaultProps = {
500
504
  value: ""
501
505
  };
502
506
 
503
- var css_248z$6 = ".pagination-module_listItem__b1-WN:focus{background-color:#4caf50;color:#fff}.pagination-module_listItem__b1-WN:hover:not(.pagination-module_active__KwBDp){background-color:#ddd}.pagination-module_pagination-bar__MrtYT{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px}.pagination-module_pagination-btn__w8Yh8{border:none;border-radius:6px;outline:none}.pagination-module_pagination-btn__w8Yh8,.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{align-items:center;background-color:#fff;box-shadow:0 0 0 1px #eee;cursor:pointer;display:flex;height:34px;justify-content:center;width:34px}.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{border-radius:6px;flex:0 0 auto;font-size:16px;line-height:22px;position:relative;transition:background-color .24s}.pagination-module_pagination-item__t3emS:hover{background-color:#eee}.pagination-module_pagination-item__t3emS.pagination-module_selected__EXzCA{background-color:#00236a;color:#fff}.pagination-module_pagination-jump-next-arrow__aEVD8,.pagination-module_pagination-jump-next-txt__e7nFj{align-items:center;bottom:0;display:flex;font-size:12px;justify-content:center;left:0;line-height:14px;margin:auto;position:absolute;right:0;top:0;transition:opacity .24s,color .24s}.pagination-module_pagination-jump-next-arrow__aEVD8{opacity:0}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-arrow__aEVD8{opacity:1}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-txt__e7nFj{opacity:0}i{color:#3c393e;font-size:12px;line-height:12px}";
504
- var styles$6 = {"listItem":"pagination-module_listItem__b1-WN","active":"pagination-module_active__KwBDp","pagination-bar":"pagination-module_pagination-bar__MrtYT","pagination-btn":"pagination-module_pagination-btn__w8Yh8","pagination-item":"pagination-module_pagination-item__t3emS","pagination-jump-next":"pagination-module_pagination-jump-next__LAb9Z","selected":"pagination-module_selected__EXzCA","pagination-jump-next-txt":"pagination-module_pagination-jump-next-txt__e7nFj","pagination-jump-next-arrow":"pagination-module_pagination-jump-next-arrow__aEVD8"};
505
- styleInject(css_248z$6);
507
+ var css_248z$7 = ".pagination-module_listItem__b1-WN:focus{background-color:#4caf50;color:#fff}.pagination-module_listItem__b1-WN:hover:not(.pagination-module_active__KwBDp){background-color:#ddd}.pagination-module_pagination-bar__MrtYT{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px}.pagination-module_pagination-btn__w8Yh8{border:none;border-radius:6px;outline:none}.pagination-module_pagination-btn__w8Yh8,.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{align-items:center;background-color:#fff;box-shadow:0 0 0 1px #eee;cursor:pointer;display:flex;height:34px;justify-content:center;width:34px}.pagination-module_pagination-item__t3emS,.pagination-module_pagination-jump-next__LAb9Z{border-radius:6px;flex:0 0 auto;font-size:16px;line-height:22px;position:relative;transition:background-color .24s}.pagination-module_pagination-item__t3emS:hover{background-color:#eee}.pagination-module_pagination-item__t3emS.pagination-module_selected__EXzCA{background-color:#00236a;color:#fff}.pagination-module_pagination-jump-next-arrow__aEVD8,.pagination-module_pagination-jump-next-txt__e7nFj{align-items:center;bottom:0;display:flex;font-size:12px;justify-content:center;left:0;line-height:14px;margin:auto;position:absolute;right:0;top:0;transition:opacity .24s,color .24s}.pagination-module_pagination-jump-next-arrow__aEVD8{opacity:0}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-arrow__aEVD8{opacity:1}.pagination-module_pagination-jump-next__LAb9Z:hover .pagination-module_pagination-jump-next-txt__e7nFj{opacity:0}i{color:#3c393e;font-size:12px;line-height:12px}";
508
+ var styles$7 = {"listItem":"pagination-module_listItem__b1-WN","active":"pagination-module_active__KwBDp","pagination-bar":"pagination-module_pagination-bar__MrtYT","pagination-btn":"pagination-module_pagination-btn__w8Yh8","pagination-item":"pagination-module_pagination-item__t3emS","pagination-jump-next":"pagination-module_pagination-jump-next__LAb9Z","selected":"pagination-module_selected__EXzCA","pagination-jump-next-txt":"pagination-module_pagination-jump-next-txt__e7nFj","pagination-jump-next-arrow":"pagination-module_pagination-jump-next-arrow__aEVD8"};
509
+ styleInject(css_248z$7);
506
510
 
507
511
  // import styles from "./pagination.module.scss";
508
512
 
@@ -589,7 +593,7 @@ const Pagination = ({
589
593
  if (currentPageNumber === 0 || paginationRange.length < 2) {
590
594
  return null;
591
595
  }
592
- const classProps = classnames__default["default"](styles$6.list, className ? className : styles$6["pagination-bar"]);
596
+ const classProps = classnames__default["default"](styles$7.list, className ? className : styles$7["pagination-bar"]);
593
597
  const onNext = () => {
594
598
  onPageChange(currentPageNumber + 1);
595
599
  };
@@ -606,7 +610,7 @@ const Pagination = ({
606
610
  return /*#__PURE__*/React__default["default"].createElement("ul", {
607
611
  className: classProps
608
612
  }, /*#__PURE__*/React__default["default"].createElement("button", {
609
- className: styles$6["pagination-btn"],
613
+ className: styles$7["pagination-btn"],
610
614
  onClick: onPrevious,
611
615
  disabled: currentPage === 1 ? true : false
612
616
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -616,23 +620,23 @@ const Pagination = ({
616
620
  let currentPageIndex = paginationRange.indexOf(currentPageNumber);
617
621
  return /*#__PURE__*/React__default["default"].createElement("li", {
618
622
  key: id,
619
- className: classnames__default["default"](styles$6["pagination-jump-next"], styles$6.listItem),
623
+ className: classnames__default["default"](styles$7["pagination-jump-next"], styles$7.listItem),
620
624
  onClick: id < currentPageIndex ? onPreviousFive : onNextFive,
621
625
  disabled: currentPageIndex === 0 ? true : false
622
626
  }, id < currentPageIndex ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
623
- className: styles$6["pagination-jump-next-txt"]
627
+ className: styles$7["pagination-jump-next-txt"]
624
628
  }, /*#__PURE__*/React__default["default"].createElement("i", {
625
629
  className: "icon-text"
626
630
  })), /*#__PURE__*/React__default["default"].createElement("span", {
627
- className: styles$6["pagination-jump-next-arrow"]
631
+ className: styles$7["pagination-jump-next-arrow"]
628
632
  }, /*#__PURE__*/React__default["default"].createElement("i", {
629
633
  className: "icon-arrow-jump-back"
630
634
  }))) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
631
- className: styles$6["pagination-jump-next-txt"]
635
+ className: styles$7["pagination-jump-next-txt"]
632
636
  }, /*#__PURE__*/React__default["default"].createElement("i", {
633
637
  className: "icon-text"
634
638
  })), /*#__PURE__*/React__default["default"].createElement("span", {
635
- className: styles$6["pagination-jump-next-arrow"]
639
+ className: styles$7["pagination-jump-next-arrow"]
636
640
  }, /*#__PURE__*/React__default["default"].createElement("i", {
637
641
  className: "icon-arrow-jump-next"
638
642
  }))));
@@ -640,11 +644,11 @@ const Pagination = ({
640
644
  return /*#__PURE__*/React__default["default"].createElement("li", {
641
645
  onClick: () => onPageChange(pageNumber),
642
646
  key: id,
643
- className: classnames__default["default"](`${pageNumber === currentPageNumber ? styles$6.selected : styles$6.listItem}`, styles$6["pagination-item"])
647
+ className: classnames__default["default"](`${pageNumber === currentPageNumber ? styles$7.selected : styles$7.listItem}`, styles$7["pagination-item"])
644
648
  }, pageNumber);
645
649
  }), /*#__PURE__*/React__default["default"].createElement("button", {
646
650
  onClick: onNext,
647
- className: styles$6["pagination-btn"],
651
+ className: styles$7["pagination-btn"],
648
652
  disabled: currentPageNumber === lastPage ? true : false
649
653
  }, /*#__PURE__*/React__default["default"].createElement("i", {
650
654
  className: "icon-arrow"
@@ -662,9 +666,9 @@ Pagination.defaultProps = {
662
666
  siblingCount: 2
663
667
  };
664
668
 
665
- var css_248z$5 = ".radio-module_radio-wrap__-lO7V{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.radio-module_radio-wrap__-lO7V>input{height:0;opacity:0;position:absolute;width:0}.radio-module_radio-wrap__-lO7V .radio-module_radio-checkmark__Kvol0{border:1px solid #d9d9d9;border-radius:50%;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.radio-module_radio-wrap__-lO7V>.radio-module_radio-checkmark__Kvol0:after{background-color:#d9d9d9;border-radius:50%;bottom:0;content:\"\";height:8px;left:0;margin:auto;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s,background-color .24s;width:8px}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0:after{background-color:#1890ff;opacity:1}.radio-module_radio-wrap__-lO7V:hover input~.radio-module_radio-checkmark__Kvol0:after{opacity:1}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0{border-color:#1890ff}";
666
- var styles$5 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
667
- styleInject(css_248z$5);
669
+ var css_248z$6 = ".radio-module_radio-wrap__-lO7V{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.radio-module_radio-wrap__-lO7V>input{height:0;opacity:0;position:absolute;width:0}.radio-module_radio-wrap__-lO7V .radio-module_radio-checkmark__Kvol0{border:1px solid #d9d9d9;border-radius:50%;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.radio-module_radio-wrap__-lO7V>.radio-module_radio-checkmark__Kvol0:after{background-color:#d9d9d9;border-radius:50%;bottom:0;content:\"\";height:8px;left:0;margin:auto;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s,background-color .24s;width:8px}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0:after{background-color:#1890ff;opacity:1}.radio-module_radio-wrap__-lO7V:hover input~.radio-module_radio-checkmark__Kvol0:after{opacity:1}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0{border-color:#1890ff}";
670
+ var styles$6 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
671
+ styleInject(css_248z$6);
668
672
 
669
673
  const Radio = ({
670
674
  disabled,
@@ -678,11 +682,11 @@ const Radio = ({
678
682
  keyNames,
679
683
  ...props
680
684
  }) => {
681
- const classProps = classnames__default["default"](styles$5.checkbox, className);
685
+ const classProps = classnames__default["default"](styles$6.checkbox, className);
682
686
  const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
683
687
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, parseData.map((element, id) => {
684
688
  return /*#__PURE__*/React__default["default"].createElement("label", {
685
- className: styles$5["radio-wrap"],
689
+ className: styles$6["radio-wrap"],
686
690
  key: element.value
687
691
  }, /*#__PURE__*/React__default["default"].createElement("input", _extends({
688
692
  type: "radio",
@@ -693,9 +697,9 @@ const Radio = ({
693
697
  value: value ? value : element.value,
694
698
  name: name ? name : element.name
695
699
  }, props)), /*#__PURE__*/React__default["default"].createElement("span", {
696
- className: styles$5["radio-checkmark"]
700
+ className: styles$6["radio-checkmark"]
697
701
  }), element.label ? /*#__PURE__*/React__default["default"].createElement("span", {
698
- className: styles$5.labelRadio
702
+ className: styles$6.labelRadio
699
703
  }, label ? label : element.label) : "");
700
704
  }));
701
705
  };
@@ -716,9 +720,9 @@ Radio.defaultProps = {
716
720
  jsonData: '[{"value":"email", "name":"contact", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact", "label":"Phone", "id":"contactChoice2"}]'
717
721
  };
718
722
 
719
- var css_248z$4 = "*{margin:0;padding:0}.captcha-module_main__Ys3EH{height:74px;max-width:400px;position:relative;width:100%}.captcha-module_slider__KLYny{-webkit-appearance:none;background:#eee;border-radius:2px;bottom:0;height:4px;left:0;margin:auto 0;outline:none;position:absolute;top:0;width:100%}.captcha-module_slider__KLYny::-webkit-slider-thumb{-webkit-appearance:none;height:30px;position:relative;width:30px;z-index:3}.captcha-module_selector__JFhb4{left:0;z-index:2}.captcha-module_selectBtn__GP1iH,.captcha-module_selector__JFhb4{bottom:0;height:30px;margin:auto 0;position:absolute;top:0;width:30px}.captcha-module_selectBtn__GP1iH{background:#00236a;border:2px solid #fff;border-radius:50%;box-shadow:1px 0 6px rgba(60,57,62,.15);cursor:pointer}.captcha-module_progressBar__mhdtM{background:red;bottom:0;height:4px;left:0;margin:auto 0;position:absolute;top:0;width:auto}.captcha-module_range__k24I2{color:blue;margin-bottom:15px;margin-top:15px}";
720
- var styles$4 = {"main":"captcha-module_main__Ys3EH","slider":"captcha-module_slider__KLYny","selector":"captcha-module_selector__JFhb4","selectBtn":"captcha-module_selectBtn__GP1iH","progressBar":"captcha-module_progressBar__mhdtM","range":"captcha-module_range__k24I2"};
721
- styleInject(css_248z$4);
723
+ var css_248z$5 = "*{margin:0;padding:0}.captcha-module_main__Ys3EH{height:74px;max-width:400px;position:relative;width:100%}.captcha-module_slider__KLYny{-webkit-appearance:none;background:#eee;border-radius:2px;bottom:0;height:4px;left:0;margin:auto 0;outline:none;position:absolute;top:0;width:100%}.captcha-module_slider__KLYny::-webkit-slider-thumb{-webkit-appearance:none;height:30px;position:relative;width:30px;z-index:3}.captcha-module_selector__JFhb4{left:0;z-index:2}.captcha-module_selectBtn__GP1iH,.captcha-module_selector__JFhb4{bottom:0;height:30px;margin:auto 0;position:absolute;top:0;width:30px}.captcha-module_selectBtn__GP1iH{background:#00236a;border:2px solid #fff;border-radius:50%;box-shadow:1px 0 6px rgba(60,57,62,.15);cursor:pointer}.captcha-module_progressBar__mhdtM{background:red;bottom:0;height:4px;left:0;margin:auto 0;position:absolute;top:0;width:auto}.captcha-module_range__k24I2{color:blue;margin-bottom:15px;margin-top:15px}";
724
+ var styles$5 = {"main":"captcha-module_main__Ys3EH","slider":"captcha-module_slider__KLYny","selector":"captcha-module_selector__JFhb4","selectBtn":"captcha-module_selectBtn__GP1iH","progressBar":"captcha-module_progressBar__mhdtM","range":"captcha-module_range__k24I2"};
725
+ styleInject(css_248z$5);
722
726
 
723
727
  const Captcha = ({
724
728
  onclick,
@@ -727,7 +731,7 @@ const Captcha = ({
727
731
  const [data, setData] = React.useState("");
728
732
  const [right, setRight] = React.useState(false);
729
733
  let range = rangeCount <= 100 ? rangeCount : 0;
730
- let rangeElement = document.getElementsByClassName(styles$4.range);
734
+ let rangeElement = document.getElementsByClassName(styles$5.range);
731
735
  React.useEffect(() => {
732
736
  for (let element of rangeElement) {
733
737
  element.style.marginLeft = `${range + 60}%`;
@@ -736,9 +740,9 @@ const Captcha = ({
736
740
  }, [range, data]);
737
741
  function sliderInput(event) {
738
742
  setData(rangeCount == event.target.value ? 'green' : 'indianred');
739
- let selector = document.getElementsByClassName(styles$4.selector);
740
- let selectBtn = document.getElementsByClassName(styles$4.selectBtn);
741
- let progressBar = document.getElementsByClassName(styles$4.progressBar);
743
+ let selector = document.getElementsByClassName(styles$5.selector);
744
+ let selectBtn = document.getElementsByClassName(styles$5.selectBtn);
745
+ let progressBar = document.getElementsByClassName(styles$5.progressBar);
742
746
  selector[0].style.left = event.target.value + '%';
743
747
  progressBar[0].style.width = event.target.value + '%';
744
748
  if (rangeCount == event.target.value) {
@@ -751,25 +755,25 @@ const Captcha = ({
751
755
  setRight(rangeCount == e.target.value ? true : false);
752
756
  }
753
757
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
754
- className: styles$4.main
758
+ className: styles$5.main
755
759
  }, /*#__PURE__*/React__default["default"].createElement("div", {
756
- className: styles$4.range
760
+ className: styles$5.range
757
761
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
758
762
  className: "icon-vector-down"
759
763
  })), /*#__PURE__*/React__default["default"].createElement("input", {
760
764
  type: "range",
761
- className: styles$4.slider,
765
+ className: styles$5.slider,
762
766
  onClick: right ? onclick : null,
763
767
  onInput: sliderInput,
764
768
  onMouseUp: sliderChange
765
769
  }), /*#__PURE__*/React__default["default"].createElement("div", {
766
- className: styles$4.selector
770
+ className: styles$5.selector
767
771
  }, /*#__PURE__*/React__default["default"].createElement("div", {
768
- className: styles$4.selectBtn
772
+ className: styles$5.selectBtn
769
773
  })), /*#__PURE__*/React__default["default"].createElement("div", {
770
- className: styles$4.progressBar
774
+ className: styles$5.progressBar
771
775
  }), /*#__PURE__*/React__default["default"].createElement("div", {
772
- className: styles$4.range
776
+ className: styles$5.range
773
777
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
774
778
  className: "icon-vector-up"
775
779
  }))));
@@ -783,9 +787,9 @@ Captcha.defaultProps = {
783
787
  onclick: undefined
784
788
  };
785
789
 
786
- var css_248z$3 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
787
- var styles$3 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
788
- styleInject(css_248z$3);
790
+ var css_248z$4 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
791
+ var styles$4 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
792
+ styleInject(css_248z$4);
789
793
 
790
794
  const Stepper = ({
791
795
  className,
@@ -795,15 +799,15 @@ const Stepper = ({
795
799
  }) => {
796
800
  classnames__default["default"](className);
797
801
  return /*#__PURE__*/React__default["default"].createElement("div", {
798
- className: styles$3['stepper-container']
802
+ className: styles$4['stepper-container']
799
803
  }, (() => {
800
804
  let steppers = [];
801
805
  for (let step = 1; step <= stepLength; step++) {
802
806
  steppers.push( /*#__PURE__*/React__default["default"].createElement("div", {
803
- className: classnames__default["default"](`${step <= activeSteps ? styles$3.activeRing : styles$3.bigRing}`),
807
+ className: classnames__default["default"](`${step <= activeSteps ? styles$4.activeRing : styles$4.bigRing}`),
804
808
  key: step
805
809
  }, /*#__PURE__*/React__default["default"].createElement("div", {
806
- className: classnames__default["default"](`${step <= activeSteps ? styles$3.smallActiveRing : styles$3.smallRing}`)
810
+ className: classnames__default["default"](`${step <= activeSteps ? styles$4.smallActiveRing : styles$4.smallRing}`)
807
811
  }, step <= activeSteps ? step : "")));
808
812
  }
809
813
  return steppers;
@@ -816,9 +820,9 @@ Stepper.propTypes = {
816
820
  activeSteps: PropTypes__default["default"].number
817
821
  };
818
822
 
819
- var css_248z$2 = ".select-module_select-title__c8bR7{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}.select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{border:2px solid #d1d1d1;border-radius:6px;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:500;height:46px;line-height:22px;max-width:400px;padding:0 15px;transition:border-color .24s}.select-module_select-content-top__Aw-fB.select-module_active__v2Dce{border-color:#00236a}.select-module_select-content-top__Aw-fB:hover{border-color:#3c393e}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;background:#fbfbfb;border-radius:6px;box-shadow:0 0 10px rgba(60,57,62,.08);left:0;max-height:0;max-width:400px;overflow:hidden;position:absolute;top:52px;width:100%;z-index:1}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}@keyframes select-module_select-show__391hQ{to{max-height:400px}}.select-module_select-content-top-text__euajq{align-items:center;display:flex;flex:1;flex-direction:row;flex-wrap:nowrap}.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>i{color:#3c393e;font-size:8px}.select-module_select-content-bottom-row__eKq5L{align-items:center;background:#fff;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;font-size:16px;font-weight:500;line-height:22px;margin-bottom:2px;min-height:46px;padding:0 15px;transition:background .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}.select-module_select-content-bottom-row__eKq5L:hover{background:unset;color:#00236a}";
820
- var styles$2 = {"select-title":"select-module_select-title__c8bR7","select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","active":"select-module_active__v2Dce","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-text":"select-module_select-content-top-text__euajq","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L"};
821
- styleInject(css_248z$2);
823
+ var css_248z$3 = ".select-module_select-title__c8bR7{color:#3c393e;display:block;font-size:16px;font-weight:500;line-height:22px;margin-bottom:6px;text-transform:none}.select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{border:2px solid #d1d1d1;border-radius:6px;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:500;height:46px;line-height:22px;max-width:400px;padding:0 15px;transition:border-color .24s}.select-module_select-content-top__Aw-fB.select-module_active__v2Dce{border-color:#00236a}.select-module_select-content-top__Aw-fB:hover{border-color:#3c393e}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;background:#fbfbfb;border-radius:6px;box-shadow:0 0 10px rgba(60,57,62,.08);left:0;max-height:0;max-width:400px;overflow:hidden;position:absolute;top:52px;width:100%;z-index:1}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}@keyframes select-module_select-show__391hQ{to{max-height:400px}}.select-module_select-content-top-text__euajq{align-items:center;display:flex;flex:1;flex-direction:row;flex-wrap:nowrap}.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>i{color:#3c393e;font-size:8px}.select-module_select-content-bottom-row__eKq5L{align-items:center;background:#fff;box-sizing:border-box;color:#3c393e;cursor:pointer;display:flex;font-size:16px;font-weight:500;line-height:22px;margin-bottom:2px;min-height:46px;padding:0 15px;transition:background .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}.select-module_select-content-bottom-row__eKq5L:hover{background:unset;color:#00236a}";
824
+ var styles$3 = {"select-title":"select-module_select-title__c8bR7","select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","active":"select-module_active__v2Dce","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-text":"select-module_select-content-top-text__euajq","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L"};
825
+ styleInject(css_248z$3);
822
826
 
823
827
  const SelectTheme = {
824
828
  DEFAULT: 'select-default',
@@ -855,34 +859,34 @@ const Select = ({
855
859
  const parseSelectedData = selected.length !== 0 ? JSON.parse(selected) : {};
856
860
  setNewSelected(parseSelectedData);
857
861
  }, [selected]);
858
- classnames__default["default"](styles$2[theme], styles$2[size], {
859
- [styles$2.disabled]: disabled,
860
- [styles$2.required]: required
862
+ classnames__default["default"](styles$3[theme], styles$3[size], {
863
+ [styles$3.disabled]: disabled,
864
+ [styles$3.required]: required
861
865
  }, className);
862
866
  return /*#__PURE__*/React__default["default"].createElement("div", null, label ? /*#__PURE__*/React__default["default"].createElement("label", {
863
- className: styles$2['select-title']
867
+ className: styles$3['select-title']
864
868
  }, label) : "", /*#__PURE__*/React__default["default"].createElement("div", {
865
- className: styles$2['select-wrap']
869
+ className: styles$3['select-wrap']
866
870
  }, /*#__PURE__*/React__default["default"].createElement("div", {
867
- className: styles$2['select-content'],
868
- id: styles$2.selector
871
+ className: styles$3['select-content'],
872
+ id: styles$3.selector
869
873
  }, /*#__PURE__*/React__default["default"].createElement("div", {
870
- className: styles$2['select-content-top'],
874
+ className: styles$3['select-content-top'],
871
875
  onClick: () => {
872
876
  setOpened(!opened);
873
877
  }
874
878
  }, /*#__PURE__*/React__default["default"].createElement("div", {
875
- className: styles$2['select-content-top-text']
879
+ className: styles$3['select-content-top-text']
876
880
  }, newSelected && newSelected[keyNames.name] ? newSelected[keyNames.name] : defaultOption), /*#__PURE__*/React__default["default"].createElement("div", {
877
- className: styles$2['select-content-top-icon']
881
+ className: styles$3['select-content-top-icon']
878
882
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
879
883
  className: opened ? 'icon-arrow-up' : 'icon-arrow-down'
880
884
  }))), opened && !disabled ? /*#__PURE__*/React__default["default"].createElement("div", {
881
- className: styles$2['select-content-bottom']
885
+ className: styles$3['select-content-bottom']
882
886
  }, /*#__PURE__*/React__default["default"].createElement("div", {
883
- className: styles$2['select-content-bottom-inner']
887
+ className: styles$3['select-content-bottom-inner']
884
888
  }, /*#__PURE__*/React__default["default"].createElement("div", {
885
- className: styles$2['select-content-bottom-row'],
889
+ className: styles$3['select-content-bottom-row'],
886
890
  onClick: () => {
887
891
  if (!required && !selected) {
888
892
  setNewSelected(defaultOption);
@@ -893,7 +897,7 @@ const Select = ({
893
897
  }, defaultOption), options.map((option, i) => {
894
898
  return /*#__PURE__*/React__default["default"].createElement("div", {
895
899
  key: i,
896
- className: styles$2['select-content-bottom-row'],
900
+ className: styles$3['select-content-bottom-row'],
897
901
  disabled: true,
898
902
  onClick: () => {
899
903
  setNewSelected(option);
@@ -903,7 +907,7 @@ const Select = ({
903
907
  defaultValue: option[keyNames.id]
904
908
  }, option[keyNames.name]);
905
909
  }))) : null)), eMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
906
- className: styles$2.eMessage
910
+ className: styles$3.eMessage
907
911
  }, eMessage) : null);
908
912
  };
909
913
  Select.propTypes = {
@@ -924,9 +928,9 @@ Select.defaultProps = {
924
928
  size: 'medium'
925
929
  };
926
930
 
927
- var css_248z$1 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form__l13d5:hover .file-module_delete-upload-file__DirSm{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-file__DirSm{background:rgba(60,57,62,.4);height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;display:flex;height:26px;justify-content:center;position:absolute;right:10px;top:10px;width:26px;z-index:2}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn>img{display:block}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}";
928
- var styles$1 = {"file-form":"file-module_file-form__l13d5","delete-upload-file":"file-module_delete-upload-file__DirSm","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","delete-upload-icon":"file-module_delete-upload-icon__PWN66","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
929
- styleInject(css_248z$1);
931
+ var css_248z$2 = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:4px 0;position:relative;width:100%}.file-module_file-form__l13d5:hover .file-module_delete-upload-file__DirSm{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-file__DirSm{background:rgba(60,57,62,.4);height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;display:flex;height:26px;justify-content:center;position:absolute;right:10px;top:10px;width:26px;z-index:2}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn>img{display:block}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}";
932
+ var styles$2 = {"file-form":"file-module_file-form__l13d5","delete-upload-file":"file-module_delete-upload-file__DirSm","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","delete-upload-icon":"file-module_delete-upload-icon__PWN66","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
933
+ styleInject(css_248z$2);
930
934
 
931
935
  const File = ({
932
936
  className,
@@ -963,9 +967,9 @@ const File = ({
963
967
  }
964
968
  }
965
969
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("p", {
966
- className: styles$1['file-form-title']
970
+ className: styles$2['file-form-title']
967
971
  }, label), /*#__PURE__*/React__default["default"].createElement("div", {
968
- className: styles$1['file-form'],
972
+ className: styles$2['file-form'],
969
973
  onChange: e => {
970
974
  console.log(e);
971
975
  },
@@ -996,16 +1000,16 @@ const File = ({
996
1000
  }
997
1001
  }
998
1002
  }), image ? /*#__PURE__*/React__default["default"].createElement("div", {
999
- className: styles$1['upload-file-content']
1003
+ className: styles$2['upload-file-content']
1000
1004
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1001
1005
  onClick: () => {
1002
1006
  setFileName('no selected file');
1003
1007
  setImage(null);
1004
1008
  }
1005
1009
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1006
- className: styles$1['delete-upload-file']
1010
+ className: styles$2['delete-upload-file']
1007
1011
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1008
- className: styles$1['delete-upload-icon']
1012
+ className: styles$2['delete-upload-icon']
1009
1013
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1010
1014
  className: "icon-delete"
1011
1015
  })))), /*#__PURE__*/React__default["default"].createElement("img", {
@@ -1013,16 +1017,16 @@ const File = ({
1013
1017
  height: 190,
1014
1018
  alt: fileName
1015
1019
  })) : /*#__PURE__*/React__default["default"].createElement("div", {
1016
- className: styles$1['file-form-inner-upload']
1020
+ className: styles$2['file-form-inner-upload']
1017
1021
  }, /*#__PURE__*/React__default["default"].createElement("img", {
1018
1022
  src: "../../assets/upload.svg",
1019
1023
  alt: ""
1020
1024
  }), /*#__PURE__*/React__default["default"].createElement("span", {
1021
- className: styles$1['upload-info']
1025
+ className: styles$2['upload-info']
1022
1026
  }, "\u054F\u0565\u0572\u0561\u0564\u0580\u0565\u056C \u0586\u0561\u0575\u056C\u0568 \u0561\u0575\u057D\u057F\u0565\u0572 \u056F\u0561\u0574 ", /*#__PURE__*/React__default["default"].createElement("span", {
1023
- className: styles$1['upload-info-txt']
1027
+ className: styles$2['upload-info-txt']
1024
1028
  }, "\u0532\u0565\u057C\u0576\u0565\u056C")), /*#__PURE__*/React__default["default"].createElement("span", {
1025
- className: styles$1['upload-info-size']
1029
+ className: styles$2['upload-info-size']
1026
1030
  }, "\u0531\u057C\u0561\u057E\u0565\u056C\u0561\u0563\u0578\u0582\u0575\u0576\u0568 5\u0544\u0532 ( jpg, jpeg, png, pdf)"))), error ? /*#__PURE__*/React__default["default"].createElement("span", {
1027
1031
  style: {
1028
1032
  color: 'red'
@@ -1039,9 +1043,9 @@ File.propTypes = {
1039
1043
  defaultData: PropTypes__default["default"].object
1040
1044
  };
1041
1045
 
1042
- var css_248z = ".modal-module_modal-wrap__IsXXf{background:rgba(0,0,0,.4);height:100%;left:0;position:fixed;top:0;width:100%;z-index:9}.modal-module_modal-top__ntDBi{box-shadow:0 1px 0 0 rgba(0,0,0,.08);box-sizing:border-box;display:flex;flex-direction:row;height:30px;padding-left:24px;width:100%}.modal-module_modal-title__r-WKl{align-items:center;color:#3c393e;display:flex;flex:1 1;font-size:20px;font-weight:500;justify-content:center;line-height:24px}.modal-module_close-btn__Qf2UD{cursor:pointer;flex:0 0 auto;width:24px}.modal-module_close-btn__Qf2UD,.modal-module_modal-section__Bp8jN{align-items:center;display:flex;height:100%;justify-content:center}.modal-module_modal-section__Bp8jN{flex:1 1;width:100%}.modal-module_modal-content__1F-uE{align-items:center;animation:modal-module_show-popup__WrH7a .24s;background:#fff;border-radius:8px;display:flex;flex-direction:column;height:auto;left:0;margin:auto;min-height:130px;padding:0 10px;position:absolute;right:0;top:110px;width:fit-content}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-30%,0)}to{opacity:1;transform:translateZ(0)}}";
1043
- var styles = {"modal-wrap":"modal-module_modal-wrap__IsXXf","modal-top":"modal-module_modal-top__ntDBi","modal-title":"modal-module_modal-title__r-WKl","close-btn":"modal-module_close-btn__Qf2UD","modal-section":"modal-module_modal-section__Bp8jN","modal-content":"modal-module_modal-content__1F-uE","show-popup":"modal-module_show-popup__WrH7a"};
1044
- styleInject(css_248z);
1046
+ var css_248z$1 = ".modal-module_modal-wrap__IsXXf{background:rgba(0,0,0,.4);height:100%;left:0;position:fixed;top:0;width:100%;z-index:9}.modal-module_modal-top__ntDBi{box-shadow:0 1px 0 0 rgba(0,0,0,.08);box-sizing:border-box;display:flex;flex-direction:row;height:30px;padding-left:24px;width:100%}.modal-module_modal-title__r-WKl{align-items:center;color:#3c393e;display:flex;flex:1 1;font-size:20px;font-weight:500;justify-content:center;line-height:24px}.modal-module_close-btn__Qf2UD{cursor:pointer;flex:0 0 auto;width:24px}.modal-module_close-btn__Qf2UD,.modal-module_modal-section__Bp8jN{align-items:center;display:flex;height:100%;justify-content:center}.modal-module_modal-section__Bp8jN{flex:1 1;width:100%}.modal-module_modal-content__1F-uE{align-items:center;animation:modal-module_show-popup__WrH7a .24s;background:#fff;border-radius:8px;display:flex;flex-direction:column;height:auto;left:0;margin:auto;min-height:130px;padding:0 10px;position:absolute;right:0;top:110px;width:fit-content}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-30%,0)}to{opacity:1;transform:translateZ(0)}}";
1047
+ var styles$1 = {"modal-wrap":"modal-module_modal-wrap__IsXXf","modal-top":"modal-module_modal-top__ntDBi","modal-title":"modal-module_modal-title__r-WKl","close-btn":"modal-module_close-btn__Qf2UD","modal-section":"modal-module_modal-section__Bp8jN","modal-content":"modal-module_modal-content__1F-uE","show-popup":"modal-module_show-popup__WrH7a"};
1048
+ styleInject(css_248z$1);
1045
1049
 
1046
1050
  const Modal = ({
1047
1051
  setShow,
@@ -1052,34 +1056,34 @@ const Modal = ({
1052
1056
  selected,
1053
1057
  children
1054
1058
  }) => {
1055
- classnames__default["default"](styles.modal, className);
1059
+ classnames__default["default"](styles$1.modal, className);
1056
1060
  const [select, setSelect] = React.useState(selected);
1057
1061
  return /*#__PURE__*/React__default["default"].createElement("div", {
1058
- className: styles["modal-wrap"]
1062
+ className: styles$1["modal-wrap"]
1059
1063
  }, type == "content" ? /*#__PURE__*/React__default["default"].createElement("div", {
1060
- className: styles["modal-content"]
1064
+ className: styles$1["modal-content"]
1061
1065
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1062
- className: styles["modal-top"]
1066
+ className: styles$1["modal-top"]
1063
1067
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1064
- className: styles["modal-title"]
1068
+ className: styles$1["modal-title"]
1065
1069
  }, /*#__PURE__*/React__default["default"].createElement(Typography, {
1066
1070
  variant: TypographyType.h5
1067
1071
  }, headerText)), /*#__PURE__*/React__default["default"].createElement("div", {
1068
- className: styles["close-btn"],
1072
+ className: styles$1["close-btn"],
1069
1073
  onClick: () => setShow(false)
1070
1074
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1071
1075
  className: "icon-close"
1072
1076
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
1073
- className: styles["modal-section"]
1077
+ className: styles$1["modal-section"]
1074
1078
  }, children)) : type == "images" ? /*#__PURE__*/React__default["default"].createElement("div", {
1075
- className: styles["modal-content"]
1079
+ className: styles$1["modal-content"]
1076
1080
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1077
- className: styles["close-btn"],
1081
+ className: styles$1["close-btn"],
1078
1082
  onClick: () => setShow(false)
1079
1083
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1080
1084
  className: "icon-close"
1081
1085
  })), /*#__PURE__*/React__default["default"].createElement("div", {
1082
- className: styles["modal-section"]
1086
+ className: styles$1["modal-section"]
1083
1087
  }, /*#__PURE__*/React__default["default"].createElement("div", null, select > 1 ? /*#__PURE__*/React__default["default"].createElement("h1", {
1084
1088
  onClick: () => setSelect(select - 1)
1085
1089
  }, "-") : null, data.map(elem => {
@@ -1105,6 +1109,98 @@ Modal.propTypes = {
1105
1109
  data: PropTypes__default["default"].array
1106
1110
  };
1107
1111
 
1112
+ var css_248z = ".table-module_table-wrap__KKAnM{background:#fff;border-radius:14px 14px 0 0;box-shadow:0 10px 30px rgba(0,35,106,.06);overflow:hidden;width:100%}.table-module_table-wrap__KKAnM:not(:first-child){margin-top:30px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:first-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:first-child{flex:0 0 auto;width:60px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(2),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(2){flex:0 0 auto;width:120px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(3),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(3){flex:0 0 auto;width:170px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(4),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(4){flex:0 0 auto;width:126px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(5),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(6),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(8),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(5),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(6),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(8){flex:0 0 auto;width:100px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:last-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:last-child{flex:0 0 auto;width:104px}.table-module_table-top__tfEKM{background:#00236a;height:44px;width:100%}.table-module_table-top__tfEKM .table-module_table-items__UpFg2{align-items:center;color:#fff;display:flex;flex:1 1;font-size:15px;justify-content:center;line-height:17px;text-align:center}.table-module_table-bottom-inner__0Pus0{background:#fff;min-height:40px;width:100%}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2{align-items:center;border-bottom:1px solid #eee;display:flex;flex:1 1;font-size:14px;justify-content:center;line-height:16px;padding:4px;text-align:center}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:not(:last-child){border-right:1px solid #eee}";
1113
+ var styles = {"table-wrap":"table-module_table-wrap__KKAnM","table-bottom-inner":"table-module_table-bottom-inner__0Pus0","table-items":"table-module_table-items__UpFg2","table-top":"table-module_table-top__tfEKM"};
1114
+ styleInject(css_248z);
1115
+
1116
+ const Table = ({
1117
+ className,
1118
+ onChange,
1119
+ config,
1120
+ jsonData,
1121
+ hearderData,
1122
+ keyNames,
1123
+ actions,
1124
+ ...props
1125
+ }) => {
1126
+ classnames__default["default"](className);
1127
+ let tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
1128
+ React.useEffect(() => {
1129
+ tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
1130
+ }, [jsonData]);
1131
+ const [checked, setChecked] = React.useState(config.isCheckbox && config.isCheckbox.checked ? config.isCheckbox.checked : []);
1132
+ config.isCheckbox && config.isCheckbox.showCheckbox == undefined ? config.isCheckbox.showCheckbox = () => {
1133
+ return true;
1134
+ } : "";
1135
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1136
+ className: styles["table-wrap"]
1137
+ }, config.isHeader && hearderData.map((header, key) => {
1138
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1139
+ className: styles["table-top"],
1140
+ key: key
1141
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1142
+ className: styles["table-items"]
1143
+ }, header));
1144
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
1145
+ className: styles["table-bottom"]
1146
+ }, tbodyData.map((item, key) => {
1147
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1148
+ className: styles["table-bottom-inner"],
1149
+ key: key
1150
+ }, keyNames.map((keyName, keyNameKey) => {
1151
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1152
+ className: styles["table-items"],
1153
+ key: keyNameKey
1154
+ }, config.isCheckbox && config.isCheckbox.showCheckbox && config.isCheckbox.showCheckbox(item) && keyNameKey == 0 && /*#__PURE__*/React__default["default"].createElement(Checkbox, {
1155
+ onClick: e => {
1156
+ const id = e.target.id;
1157
+ const checkedValue = e.target.checked;
1158
+ let ch = [...checked];
1159
+ checkedValue ? ch.push(Number(id)) : ch.splice(ch.indexOf(id), 1);
1160
+ setChecked(ch);
1161
+ config.isCheckbox.onChange(ch);
1162
+ },
1163
+ jsonData: `[{"value":"", "name":"", "label":"", "id":${item.id}, "checked":${checked.indexOf(item.id) > -1 ? true : false}}]`
1164
+ }), typeof keyName === "string" ? item[keyName] : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("i", {
1165
+ className: keyName.icon
1166
+ }), item[keyName.name]));
1167
+ }), actions && /*#__PURE__*/React__default["default"].createElement("div", {
1168
+ className: styles["table-items"]
1169
+ }, actions.filter(a => a.show && a.show(item) || a.show === undefined).map((action, key) => {
1170
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1171
+ key: key
1172
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
1173
+ className: action.icon,
1174
+ onClick: action.click ? action.click : () => {}
1175
+ }, action.icon));
1176
+ })));
1177
+ })));
1178
+ };
1179
+ Table.propTypes = {
1180
+ className: PropTypes__default["default"].string,
1181
+ onChange: PropTypes__default["default"].func,
1182
+ config: PropTypes__default["default"].object,
1183
+ actions: PropTypes__default["default"].arrayOf(PropTypes__default["default"].object),
1184
+ jsonData: PropTypes__default["default"].string,
1185
+ keyNames: PropTypes__default["default"].arrayOf(PropTypes__default["default"].oneOf([PropTypes__default["default"].string, PropTypes__default["default"].object])),
1186
+ hearderData: PropTypes__default["default"].array
1187
+ };
1188
+ Table.defaultProps = {
1189
+ className: "",
1190
+ onChange: undefined,
1191
+ errorMesage: "",
1192
+ config: {
1193
+ isHeader: true,
1194
+ isCheckbox: {
1195
+ checked: []
1196
+ }
1197
+ },
1198
+ actions: [],
1199
+ jsonData: "",
1200
+ keyNames: [],
1201
+ hearderData: []
1202
+ };
1203
+
1108
1204
  exports.Autocomplate = Autocomplate;
1109
1205
  exports.Button = Button;
1110
1206
  exports.ButtonSize = ButtonSize;
@@ -1123,5 +1219,6 @@ exports.Select = Select;
1123
1219
  exports.SelectSize = SelectSize;
1124
1220
  exports.SelectTheme = SelectTheme;
1125
1221
  exports.Stepper = Stepper;
1222
+ exports.Table = Table;
1126
1223
  exports.Typography = Typography;
1127
1224
  exports.TypographyType = TypographyType;