@xaypay/tui 0.0.29 → 0.0.31

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 CHANGED
@@ -45,9 +45,9 @@ function styleInject(css, ref) {
45
45
  }
46
46
  }
47
47
 
48
- 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}";
49
- 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"};
50
- styleInject(css_248z$c);
48
+ 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}";
49
+ 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"};
50
+ styleInject(css_248z$d);
51
51
 
52
52
  /**
53
53
  * Primary UI component for user interaction
@@ -83,7 +83,7 @@ const Button = ({
83
83
  outline,
84
84
  ...props
85
85
  }) => {
86
- const classProps = classnames(styles$a.btn, styles$a[theme], styles$a[size], outline ? styles$a['type-outline'] : styles$a['type-filled'], className);
86
+ const classProps = classnames(styles$b.btn, styles$b[theme], styles$b[size], outline ? styles$b['type-outline'] : styles$b['type-filled'], className);
87
87
  // className='btn type-outline size-default'
88
88
  return /*#__PURE__*/React.createElement("button", _extends({
89
89
  type: "button",
@@ -129,8 +129,8 @@ Button.defaultProps = {
129
129
  outline: false
130
130
  };
131
131
 
132
- 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}";
133
- styleInject(css_248z$b);
132
+ 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}";
133
+ styleInject(css_248z$c);
134
134
 
135
135
  const TypographyType = {
136
136
  h1: 'h1',
@@ -181,9 +181,9 @@ Typography.defaultProps = {
181
181
  variant: 'h1'
182
182
  };
183
183
 
184
- 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}";
185
- 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"};
186
- styleInject(css_248z$a);
184
+ 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}";
185
+ 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"};
186
+ styleInject(css_248z$b);
187
187
 
188
188
  const Autocomplate = ({
189
189
  className,
@@ -200,7 +200,7 @@ const Autocomplate = ({
200
200
  errorMesage,
201
201
  ...props
202
202
  }) => {
203
- classnames(styles$9.searchBox, className);
203
+ classnames(styles$a.searchBox, className);
204
204
  const parseSelectedOptionsData = jsonSelectedOptionsData ? JSON.parse(jsonSelectedOptionsData) : {
205
205
  name: '',
206
206
  id: ''
@@ -240,43 +240,43 @@ const Autocomplate = ({
240
240
  if (showOptions && inputValue) {
241
241
  if (parseOptionsData.length && inputValue.length >= searchCount) {
242
242
  optionList = /*#__PURE__*/React.createElement("div", {
243
- className: styles$9['autocomplate-content-bottom']
243
+ className: styles$a['autocomplate-content-bottom']
244
244
  }, /*#__PURE__*/React.createElement("div", {
245
- className: styles$9['autocomplate-content-bottom-inner']
245
+ className: styles$a['autocomplate-content-bottom-inner']
246
246
  }, parseOptionsData.map((optionName, index) => {
247
247
  let className;
248
248
  if (index === activeOption) {
249
249
  className = "option-active";
250
250
  }
251
251
  return /*#__PURE__*/React.createElement("div", {
252
- className: styles$9[className],
252
+ className: styles$a[className],
253
253
  key: optionName[keyNames.id],
254
254
  onClick: handleClick
255
255
  }, /*#__PURE__*/React.createElement("div", {
256
256
  id: optionName[keyNames.id],
257
- className: styles$9['autocomplate-content-bottom-row']
257
+ className: styles$a['autocomplate-content-bottom-row']
258
258
  }, optionName[keyNames.name]));
259
259
  })));
260
260
  } else {
261
261
  optionList = /*#__PURE__*/React.createElement("div", {
262
- className: styles$9['autocomplate-content-bottom']
262
+ className: styles$a['autocomplate-content-bottom']
263
263
  }, /*#__PURE__*/React.createElement("div", {
264
- className: styles$9['autocomplate-content-bottom-inner']
264
+ className: styles$a['autocomplate-content-bottom-inner']
265
265
  }, /*#__PURE__*/React.createElement("div", {
266
- className: styles$9['autocomplate-content-bottom-row']
266
+ className: styles$a['autocomplate-content-bottom-row']
267
267
  }, /*#__PURE__*/React.createElement("div", {
268
- className: styles$9['no-option']
268
+ className: styles$a['no-option']
269
269
  }, "No Option!"))));
270
270
  }
271
271
  }
272
272
  return /*#__PURE__*/React.createElement(React.Fragment, null, label ? /*#__PURE__*/React.createElement("label", {
273
- className: styles$9['autocomplate-title']
273
+ className: styles$a['autocomplate-title']
274
274
  }, label) : "", /*#__PURE__*/React.createElement("div", {
275
- className: styles$9['autocomplate-content']
275
+ className: styles$a['autocomplate-content']
276
276
  }, /*#__PURE__*/React.createElement("input", _extends({
277
277
  id: inputId,
278
278
  type: "text",
279
- className: styles$9['autocomplate-content-top'],
279
+ className: styles$a['autocomplate-content-top'],
280
280
  required: required,
281
281
  disabled: disabled,
282
282
  onChange: handleChange,
@@ -286,7 +286,7 @@ const Autocomplate = ({
286
286
  value: inputValue,
287
287
  placeholder: placeHolder
288
288
  }, props)), errorMesage ? /*#__PURE__*/React.createElement("span", {
289
- className: styles$9.errorMessage
289
+ className: styles$a.errorMessage
290
290
  }, errorMesage) : null, optionList));
291
291
  };
292
292
  Autocomplate.propTypes = {
@@ -304,9 +304,9 @@ Autocomplate.propTypes = {
304
304
  errorMesage: PropTypes.string
305
305
  };
306
306
 
307
- 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}";
308
- var styles$8 = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
309
- styleInject(css_248z$9);
307
+ 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}";
308
+ var styles$9 = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
309
+ styleInject(css_248z$a);
310
310
 
311
311
  const Checkbox = ({
312
312
  disabled,
@@ -321,7 +321,7 @@ const Checkbox = ({
321
321
  onClick,
322
322
  ...props
323
323
  }) => {
324
- const classProps = classnames(styles$8.checkbox, className);
324
+ const classProps = classnames(styles$9.checkbox, className);
325
325
  const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
326
326
  const [data, setData] = useState(parseData);
327
327
  useEffect(() => {
@@ -354,7 +354,7 @@ const Checkbox = ({
354
354
  } : '';
355
355
  return /*#__PURE__*/React.createElement(React.Fragment, null, data.map(element => {
356
356
  return /*#__PURE__*/React.createElement("label", {
357
- className: styles$8["checkbox-wrap"],
357
+ className: styles$9["checkbox-wrap"],
358
358
  key: element.value
359
359
  }, /*#__PURE__*/React.createElement("input", _extends({
360
360
  type: "checkbox",
@@ -365,11 +365,12 @@ const Checkbox = ({
365
365
  name: keyNames.name ? element[keyNames.name] : '',
366
366
  id: keyNames.id ? element[keyNames.id] : '',
367
367
  onChange: handleChange,
368
- onClick: onClick ? onClick : () => {}
368
+ onClick: onClick ? onClick : () => {},
369
+ defaultChecked: element.checked
369
370
  }, props)), /*#__PURE__*/React.createElement("span", {
370
- className: styles$8["checkmark"]
371
+ className: styles$9["checkmark"]
371
372
  }), element[keyNames.label] ? /*#__PURE__*/React.createElement("label", {
372
- className: styles$8.labelCheckbox,
373
+ className: styles$9.labelCheckbox,
373
374
  for: element[keyNames.id]
374
375
  }, element[keyNames.label]) : "");
375
376
  }));
@@ -391,21 +392,21 @@ Checkbox.defaultProps = {
391
392
  jsonData: '[{"value":"email", "name":"contact1", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact2", "label":"Phone", "id":"contactChoice2"}]'
392
393
  };
393
394
 
394
- var css_248z$8 = "";
395
- styleInject(css_248z$8);
395
+ var css_248z$9 = "";
396
+ styleInject(css_248z$9);
396
397
 
397
398
  /**
398
399
  * Created by aleksanyan.tigran on 10/7/2022.
399
400
  */
400
401
  const Icon = props => {
401
402
  return /*#__PURE__*/React.createElement("i", {
402
- className: css_248z$8[props.className]
403
+ className: css_248z$9[props.className]
403
404
  });
404
405
  };
405
406
 
406
- 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)}}";
407
- 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"};
408
- styleInject(css_248z$7);
407
+ 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)}}";
408
+ 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"};
409
+ styleInject(css_248z$8);
409
410
 
410
411
  const InputTypes = {
411
412
  TEXT: "text",
@@ -449,11 +450,11 @@ const Input = ({
449
450
  const regex = new RegExp(regexp);
450
451
  eMessage = regex.test(inputValue) ? "" : regexpError;
451
452
  }
452
- const classProps = classnames(styles$7.input, styles$7[size], eMessage != '' ? styles$7['error-message'] : "", className);
453
+ const classProps = classnames(styles$8.input, styles$8[size], eMessage != '' ? styles$8['error-message'] : "", className);
453
454
  return /*#__PURE__*/React.createElement("div", {
454
- className: styles$7['input-wrap']
455
+ className: styles$8['input-wrap']
455
456
  }, label ? /*#__PURE__*/React.createElement("label", {
456
- className: styles$7['input-title']
457
+ className: styles$8['input-title']
457
458
  }, label) : "", /*#__PURE__*/React.createElement("input", _extends({}, props, {
458
459
  type: type,
459
460
  className: classProps,
@@ -464,7 +465,7 @@ const Input = ({
464
465
  onChange: handleChange,
465
466
  value: inputValue
466
467
  })), eMessage ? /*#__PURE__*/React.createElement("span", {
467
- className: styles$7.inputErrorMessages
468
+ className: styles$8.inputErrorMessages
468
469
  }, eMessage) : "");
469
470
  };
470
471
  Input.propTypes = {
@@ -492,9 +493,9 @@ Input.defaultProps = {
492
493
  value: ""
493
494
  };
494
495
 
495
- 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}";
496
- 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"};
497
- styleInject(css_248z$6);
496
+ 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}";
497
+ 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"};
498
+ styleInject(css_248z$7);
498
499
 
499
500
  // import styles from "./pagination.module.scss";
500
501
 
@@ -581,7 +582,7 @@ const Pagination = ({
581
582
  if (currentPageNumber === 0 || paginationRange.length < 2) {
582
583
  return null;
583
584
  }
584
- const classProps = classnames(styles$6.list, className ? className : styles$6["pagination-bar"]);
585
+ const classProps = classnames(styles$7.list, className ? className : styles$7["pagination-bar"]);
585
586
  const onNext = () => {
586
587
  onPageChange(currentPageNumber + 1);
587
588
  };
@@ -598,7 +599,7 @@ const Pagination = ({
598
599
  return /*#__PURE__*/React.createElement("ul", {
599
600
  className: classProps
600
601
  }, /*#__PURE__*/React.createElement("button", {
601
- className: styles$6["pagination-btn"],
602
+ className: styles$7["pagination-btn"],
602
603
  onClick: onPrevious,
603
604
  disabled: currentPage === 1 ? true : false
604
605
  }, /*#__PURE__*/React.createElement("i", {
@@ -608,23 +609,23 @@ const Pagination = ({
608
609
  let currentPageIndex = paginationRange.indexOf(currentPageNumber);
609
610
  return /*#__PURE__*/React.createElement("li", {
610
611
  key: id,
611
- className: classnames(styles$6["pagination-jump-next"], styles$6.listItem),
612
+ className: classnames(styles$7["pagination-jump-next"], styles$7.listItem),
612
613
  onClick: id < currentPageIndex ? onPreviousFive : onNextFive,
613
614
  disabled: currentPageIndex === 0 ? true : false
614
615
  }, id < currentPageIndex ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
615
- className: styles$6["pagination-jump-next-txt"]
616
+ className: styles$7["pagination-jump-next-txt"]
616
617
  }, /*#__PURE__*/React.createElement("i", {
617
618
  className: "icon-text"
618
619
  })), /*#__PURE__*/React.createElement("span", {
619
- className: styles$6["pagination-jump-next-arrow"]
620
+ className: styles$7["pagination-jump-next-arrow"]
620
621
  }, /*#__PURE__*/React.createElement("i", {
621
622
  className: "icon-arrow-jump-back"
622
623
  }))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
623
- className: styles$6["pagination-jump-next-txt"]
624
+ className: styles$7["pagination-jump-next-txt"]
624
625
  }, /*#__PURE__*/React.createElement("i", {
625
626
  className: "icon-text"
626
627
  })), /*#__PURE__*/React.createElement("span", {
627
- className: styles$6["pagination-jump-next-arrow"]
628
+ className: styles$7["pagination-jump-next-arrow"]
628
629
  }, /*#__PURE__*/React.createElement("i", {
629
630
  className: "icon-arrow-jump-next"
630
631
  }))));
@@ -632,11 +633,11 @@ const Pagination = ({
632
633
  return /*#__PURE__*/React.createElement("li", {
633
634
  onClick: () => onPageChange(pageNumber),
634
635
  key: id,
635
- className: classnames(`${pageNumber === currentPageNumber ? styles$6.selected : styles$6.listItem}`, styles$6["pagination-item"])
636
+ className: classnames(`${pageNumber === currentPageNumber ? styles$7.selected : styles$7.listItem}`, styles$7["pagination-item"])
636
637
  }, pageNumber);
637
638
  }), /*#__PURE__*/React.createElement("button", {
638
639
  onClick: onNext,
639
- className: styles$6["pagination-btn"],
640
+ className: styles$7["pagination-btn"],
640
641
  disabled: currentPageNumber === lastPage ? true : false
641
642
  }, /*#__PURE__*/React.createElement("i", {
642
643
  className: "icon-arrow"
@@ -654,9 +655,9 @@ Pagination.defaultProps = {
654
655
  siblingCount: 2
655
656
  };
656
657
 
657
- 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}";
658
- var styles$5 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
659
- styleInject(css_248z$5);
658
+ 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}";
659
+ var styles$6 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
660
+ styleInject(css_248z$6);
660
661
 
661
662
  const Radio = ({
662
663
  disabled,
@@ -670,11 +671,11 @@ const Radio = ({
670
671
  keyNames,
671
672
  ...props
672
673
  }) => {
673
- const classProps = classnames(styles$5.checkbox, className);
674
+ const classProps = classnames(styles$6.checkbox, className);
674
675
  const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
675
676
  return /*#__PURE__*/React.createElement(React.Fragment, null, parseData.map((element, id) => {
676
677
  return /*#__PURE__*/React.createElement("label", {
677
- className: styles$5["radio-wrap"],
678
+ className: styles$6["radio-wrap"],
678
679
  key: element.value
679
680
  }, /*#__PURE__*/React.createElement("input", _extends({
680
681
  type: "radio",
@@ -685,9 +686,9 @@ const Radio = ({
685
686
  value: value ? value : element.value,
686
687
  name: name ? name : element.name
687
688
  }, props)), /*#__PURE__*/React.createElement("span", {
688
- className: styles$5["radio-checkmark"]
689
+ className: styles$6["radio-checkmark"]
689
690
  }), element.label ? /*#__PURE__*/React.createElement("span", {
690
- className: styles$5.labelRadio
691
+ className: styles$6.labelRadio
691
692
  }, label ? label : element.label) : "");
692
693
  }));
693
694
  };
@@ -708,9 +709,9 @@ Radio.defaultProps = {
708
709
  jsonData: '[{"value":"email", "name":"contact", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact", "label":"Phone", "id":"contactChoice2"}]'
709
710
  };
710
711
 
711
- 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}";
712
- 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"};
713
- styleInject(css_248z$4);
712
+ 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}";
713
+ 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"};
714
+ styleInject(css_248z$5);
714
715
 
715
716
  const Captcha = ({
716
717
  onclick,
@@ -719,7 +720,7 @@ const Captcha = ({
719
720
  const [data, setData] = useState("");
720
721
  const [right, setRight] = useState(false);
721
722
  let range = rangeCount <= 100 ? rangeCount : 0;
722
- let rangeElement = document.getElementsByClassName(styles$4.range);
723
+ let rangeElement = document.getElementsByClassName(styles$5.range);
723
724
  useEffect(() => {
724
725
  for (let element of rangeElement) {
725
726
  element.style.marginLeft = `${range + 60}%`;
@@ -728,9 +729,9 @@ const Captcha = ({
728
729
  }, [range, data]);
729
730
  function sliderInput(event) {
730
731
  setData(rangeCount == event.target.value ? 'green' : 'indianred');
731
- let selector = document.getElementsByClassName(styles$4.selector);
732
- let selectBtn = document.getElementsByClassName(styles$4.selectBtn);
733
- let progressBar = document.getElementsByClassName(styles$4.progressBar);
732
+ let selector = document.getElementsByClassName(styles$5.selector);
733
+ let selectBtn = document.getElementsByClassName(styles$5.selectBtn);
734
+ let progressBar = document.getElementsByClassName(styles$5.progressBar);
734
735
  selector[0].style.left = event.target.value + '%';
735
736
  progressBar[0].style.width = event.target.value + '%';
736
737
  if (rangeCount == event.target.value) {
@@ -743,25 +744,25 @@ const Captcha = ({
743
744
  setRight(rangeCount == e.target.value ? true : false);
744
745
  }
745
746
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
746
- className: styles$4.main
747
+ className: styles$5.main
747
748
  }, /*#__PURE__*/React.createElement("div", {
748
- className: styles$4.range
749
+ className: styles$5.range
749
750
  }, /*#__PURE__*/React.createElement(Icon, {
750
751
  className: "icon-vector-down"
751
752
  })), /*#__PURE__*/React.createElement("input", {
752
753
  type: "range",
753
- className: styles$4.slider,
754
+ className: styles$5.slider,
754
755
  onClick: right ? onclick : null,
755
756
  onInput: sliderInput,
756
757
  onMouseUp: sliderChange
757
758
  }), /*#__PURE__*/React.createElement("div", {
758
- className: styles$4.selector
759
+ className: styles$5.selector
759
760
  }, /*#__PURE__*/React.createElement("div", {
760
- className: styles$4.selectBtn
761
+ className: styles$5.selectBtn
761
762
  })), /*#__PURE__*/React.createElement("div", {
762
- className: styles$4.progressBar
763
+ className: styles$5.progressBar
763
764
  }), /*#__PURE__*/React.createElement("div", {
764
- className: styles$4.range
765
+ className: styles$5.range
765
766
  }, /*#__PURE__*/React.createElement(Icon, {
766
767
  className: "icon-vector-up"
767
768
  }))));
@@ -775,9 +776,9 @@ Captcha.defaultProps = {
775
776
  onclick: undefined
776
777
  };
777
778
 
778
- 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}";
779
- 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"};
780
- styleInject(css_248z$3);
779
+ 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}";
780
+ 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"};
781
+ styleInject(css_248z$4);
781
782
 
782
783
  const Stepper = ({
783
784
  className,
@@ -787,15 +788,15 @@ const Stepper = ({
787
788
  }) => {
788
789
  classnames(className);
789
790
  return /*#__PURE__*/React.createElement("div", {
790
- className: styles$3['stepper-container']
791
+ className: styles$4['stepper-container']
791
792
  }, (() => {
792
793
  let steppers = [];
793
794
  for (let step = 1; step <= stepLength; step++) {
794
795
  steppers.push( /*#__PURE__*/React.createElement("div", {
795
- className: classnames(`${step <= activeSteps ? styles$3.activeRing : styles$3.bigRing}`),
796
+ className: classnames(`${step <= activeSteps ? styles$4.activeRing : styles$4.bigRing}`),
796
797
  key: step
797
798
  }, /*#__PURE__*/React.createElement("div", {
798
- className: classnames(`${step <= activeSteps ? styles$3.smallActiveRing : styles$3.smallRing}`)
799
+ className: classnames(`${step <= activeSteps ? styles$4.smallActiveRing : styles$4.smallRing}`)
799
800
  }, step <= activeSteps ? step : "")));
800
801
  }
801
802
  return steppers;
@@ -808,9 +809,9 @@ Stepper.propTypes = {
808
809
  activeSteps: PropTypes.number
809
810
  };
810
811
 
811
- 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}";
812
- 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"};
813
- styleInject(css_248z$2);
812
+ 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}";
813
+ 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"};
814
+ styleInject(css_248z$3);
814
815
 
815
816
  const SelectTheme = {
816
817
  DEFAULT: 'select-default',
@@ -847,34 +848,34 @@ const Select = ({
847
848
  const parseSelectedData = selected.length !== 0 ? JSON.parse(selected) : {};
848
849
  setNewSelected(parseSelectedData);
849
850
  }, [selected]);
850
- classnames(styles$2[theme], styles$2[size], {
851
- [styles$2.disabled]: disabled,
852
- [styles$2.required]: required
851
+ classnames(styles$3[theme], styles$3[size], {
852
+ [styles$3.disabled]: disabled,
853
+ [styles$3.required]: required
853
854
  }, className);
854
855
  return /*#__PURE__*/React.createElement("div", null, label ? /*#__PURE__*/React.createElement("label", {
855
- className: styles$2['select-title']
856
+ className: styles$3['select-title']
856
857
  }, label) : "", /*#__PURE__*/React.createElement("div", {
857
- className: styles$2['select-wrap']
858
+ className: styles$3['select-wrap']
858
859
  }, /*#__PURE__*/React.createElement("div", {
859
- className: styles$2['select-content'],
860
- id: styles$2.selector
860
+ className: styles$3['select-content'],
861
+ id: styles$3.selector
861
862
  }, /*#__PURE__*/React.createElement("div", {
862
- className: styles$2['select-content-top'],
863
+ className: styles$3['select-content-top'],
863
864
  onClick: () => {
864
865
  setOpened(!opened);
865
866
  }
866
867
  }, /*#__PURE__*/React.createElement("div", {
867
- className: styles$2['select-content-top-text']
868
+ className: styles$3['select-content-top-text']
868
869
  }, newSelected && newSelected[keyNames.name] ? newSelected[keyNames.name] : defaultOption), /*#__PURE__*/React.createElement("div", {
869
- className: styles$2['select-content-top-icon']
870
+ className: styles$3['select-content-top-icon']
870
871
  }, /*#__PURE__*/React.createElement(Icon, {
871
872
  className: opened ? 'icon-arrow-up' : 'icon-arrow-down'
872
873
  }))), opened && !disabled ? /*#__PURE__*/React.createElement("div", {
873
- className: styles$2['select-content-bottom']
874
+ className: styles$3['select-content-bottom']
874
875
  }, /*#__PURE__*/React.createElement("div", {
875
- className: styles$2['select-content-bottom-inner']
876
+ className: styles$3['select-content-bottom-inner']
876
877
  }, /*#__PURE__*/React.createElement("div", {
877
- className: styles$2['select-content-bottom-row'],
878
+ className: styles$3['select-content-bottom-row'],
878
879
  onClick: () => {
879
880
  if (!required && !selected) {
880
881
  setNewSelected(defaultOption);
@@ -885,7 +886,7 @@ const Select = ({
885
886
  }, defaultOption), options.map((option, i) => {
886
887
  return /*#__PURE__*/React.createElement("div", {
887
888
  key: i,
888
- className: styles$2['select-content-bottom-row'],
889
+ className: styles$3['select-content-bottom-row'],
889
890
  disabled: true,
890
891
  onClick: () => {
891
892
  setNewSelected(option);
@@ -895,7 +896,7 @@ const Select = ({
895
896
  defaultValue: option[keyNames.id]
896
897
  }, option[keyNames.name]);
897
898
  }))) : null)), eMessage ? /*#__PURE__*/React.createElement("span", {
898
- className: styles$2.eMessage
899
+ className: styles$3.eMessage
899
900
  }, eMessage) : null);
900
901
  };
901
902
  Select.propTypes = {
@@ -916,9 +917,9 @@ Select.defaultProps = {
916
917
  size: 'medium'
917
918
  };
918
919
 
919
- 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}";
920
- 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"};
921
- styleInject(css_248z$1);
920
+ 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;max-width:400px}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}";
921
+ 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"};
922
+ styleInject(css_248z$2);
922
923
 
923
924
  const File = ({
924
925
  className,
@@ -955,9 +956,9 @@ const File = ({
955
956
  }
956
957
  }
957
958
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", {
958
- className: styles$1['file-form-title']
959
+ className: styles$2['file-form-title']
959
960
  }, label), /*#__PURE__*/React.createElement("div", {
960
- className: styles$1['file-form'],
961
+ className: styles$2['file-form'],
961
962
  onChange: e => {
962
963
  console.log(e);
963
964
  },
@@ -988,16 +989,16 @@ const File = ({
988
989
  }
989
990
  }
990
991
  }), image ? /*#__PURE__*/React.createElement("div", {
991
- className: styles$1['upload-file-content']
992
+ className: styles$2['upload-file-content']
992
993
  }, /*#__PURE__*/React.createElement("div", {
993
994
  onClick: () => {
994
995
  setFileName('no selected file');
995
996
  setImage(null);
996
997
  }
997
998
  }, /*#__PURE__*/React.createElement("div", {
998
- className: styles$1['delete-upload-file']
999
+ className: styles$2['delete-upload-file']
999
1000
  }, /*#__PURE__*/React.createElement("div", {
1000
- className: styles$1['delete-upload-icon']
1001
+ className: styles$2['delete-upload-icon']
1001
1002
  }, /*#__PURE__*/React.createElement("i", {
1002
1003
  className: "icon-delete"
1003
1004
  })))), /*#__PURE__*/React.createElement("img", {
@@ -1005,16 +1006,16 @@ const File = ({
1005
1006
  height: 190,
1006
1007
  alt: fileName
1007
1008
  })) : /*#__PURE__*/React.createElement("div", {
1008
- className: styles$1['file-form-inner-upload']
1009
+ className: styles$2['file-form-inner-upload']
1009
1010
  }, /*#__PURE__*/React.createElement("img", {
1010
1011
  src: "../../assets/upload.svg",
1011
1012
  alt: ""
1012
1013
  }), /*#__PURE__*/React.createElement("span", {
1013
- className: styles$1['upload-info']
1014
+ className: styles$2['upload-info']
1014
1015
  }, "\u054F\u0565\u0572\u0561\u0564\u0580\u0565\u056C \u0586\u0561\u0575\u056C\u0568 \u0561\u0575\u057D\u057F\u0565\u0572 \u056F\u0561\u0574 ", /*#__PURE__*/React.createElement("span", {
1015
- className: styles$1['upload-info-txt']
1016
+ className: styles$2['upload-info-txt']
1016
1017
  }, "\u0532\u0565\u057C\u0576\u0565\u056C")), /*#__PURE__*/React.createElement("span", {
1017
- className: styles$1['upload-info-size']
1018
+ className: styles$2['upload-info-size']
1018
1019
  }, "\u0531\u057C\u0561\u057E\u0565\u056C\u0561\u0563\u0578\u0582\u0575\u0576\u0568 5\u0544\u0532 ( jpg, jpeg, png, pdf)"))), error ? /*#__PURE__*/React.createElement("span", {
1019
1020
  style: {
1020
1021
  color: 'red'
@@ -1031,9 +1032,9 @@ File.propTypes = {
1031
1032
  defaultData: PropTypes.object
1032
1033
  };
1033
1034
 
1034
- 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)}}";
1035
- 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"};
1036
- styleInject(css_248z);
1035
+ 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;padding:10px 0;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: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)}}";
1036
+ 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"};
1037
+ styleInject(css_248z$1);
1037
1038
 
1038
1039
  const Modal = ({
1039
1040
  setShow,
@@ -1044,34 +1045,35 @@ const Modal = ({
1044
1045
  selected,
1045
1046
  children
1046
1047
  }) => {
1047
- classnames(styles.modal, className);
1048
+ classnames(styles$1.modal, className);
1048
1049
  const [select, setSelect] = useState(selected);
1049
1050
  return /*#__PURE__*/React.createElement("div", {
1050
- className: styles["modal-wrap"]
1051
+ className: styles$1["modal-wrap"]
1051
1052
  }, type == "content" ? /*#__PURE__*/React.createElement("div", {
1052
- className: styles["modal-content"]
1053
+ className: styles$1["modal-content"]
1053
1054
  }, /*#__PURE__*/React.createElement("div", {
1054
- className: styles["modal-top"]
1055
+ className: styles$1["modal-top"]
1055
1056
  }, /*#__PURE__*/React.createElement("div", {
1056
- className: styles["modal-title"]
1057
+ className: styles$1["modal-title"]
1057
1058
  }, /*#__PURE__*/React.createElement(Typography, {
1058
- variant: TypographyType.h5
1059
+ variant: TypographyType.p,
1060
+ color: "#00236A"
1059
1061
  }, headerText)), /*#__PURE__*/React.createElement("div", {
1060
- className: styles["close-btn"],
1062
+ className: styles$1["close-btn"],
1061
1063
  onClick: () => setShow(false)
1062
1064
  }, /*#__PURE__*/React.createElement("i", {
1063
1065
  className: "icon-close"
1064
1066
  }))), /*#__PURE__*/React.createElement("div", {
1065
- className: styles["modal-section"]
1067
+ className: styles$1["modal-section"]
1066
1068
  }, children)) : type == "images" ? /*#__PURE__*/React.createElement("div", {
1067
- className: styles["modal-content"]
1069
+ className: styles$1["modal-content"]
1068
1070
  }, /*#__PURE__*/React.createElement("div", {
1069
- className: styles["close-btn"],
1071
+ className: styles$1["close-btn"],
1070
1072
  onClick: () => setShow(false)
1071
1073
  }, /*#__PURE__*/React.createElement("i", {
1072
1074
  className: "icon-close"
1073
1075
  })), /*#__PURE__*/React.createElement("div", {
1074
- className: styles["modal-section"]
1076
+ className: styles$1["modal-section"]
1075
1077
  }, /*#__PURE__*/React.createElement("div", null, select > 1 ? /*#__PURE__*/React.createElement("h1", {
1076
1078
  onClick: () => setSelect(select - 1)
1077
1079
  }, "-") : null, data.map(elem => {
@@ -1097,4 +1099,96 @@ Modal.propTypes = {
1097
1099
  data: PropTypes.array
1098
1100
  };
1099
1101
 
1100
- export { Autocomplate, Button, ButtonSize, ButtonTheme, ButtonType, Captcha, Checkbox, File, Input, InputSizes, InputTypes, Modal, Pagination, Radio, Select, SelectSize, SelectTheme, Stepper, Typography, TypographyType };
1102
+ 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}";
1103
+ 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"};
1104
+ styleInject(css_248z);
1105
+
1106
+ const Table = ({
1107
+ className,
1108
+ onChange,
1109
+ config,
1110
+ jsonData,
1111
+ hearderData,
1112
+ keyNames,
1113
+ actions,
1114
+ ...props
1115
+ }) => {
1116
+ classnames(className);
1117
+ let tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
1118
+ useEffect(() => {
1119
+ tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
1120
+ }, [jsonData]);
1121
+ const [checked, setChecked] = useState(config.isCheckbox && config.isCheckbox.checked ? config.isCheckbox.checked : []);
1122
+ config.isCheckbox && config.isCheckbox.showCheckbox == undefined ? config.isCheckbox.showCheckbox = () => {
1123
+ return true;
1124
+ } : "";
1125
+ return /*#__PURE__*/React.createElement("div", {
1126
+ className: styles["table-wrap"]
1127
+ }, config.isHeader && hearderData.map((header, key) => {
1128
+ return /*#__PURE__*/React.createElement("div", {
1129
+ className: styles["table-top"],
1130
+ key: key
1131
+ }, /*#__PURE__*/React.createElement("div", {
1132
+ className: styles["table-items"]
1133
+ }, header));
1134
+ }), /*#__PURE__*/React.createElement("div", {
1135
+ className: styles["table-bottom"]
1136
+ }, tbodyData.map((item, key) => {
1137
+ return /*#__PURE__*/React.createElement("div", {
1138
+ className: styles["table-bottom-inner"],
1139
+ key: key
1140
+ }, keyNames.map((keyName, keyNameKey) => {
1141
+ return /*#__PURE__*/React.createElement("div", {
1142
+ className: styles["table-items"],
1143
+ key: keyNameKey
1144
+ }, config.isCheckbox && config.isCheckbox.showCheckbox && config.isCheckbox.showCheckbox(item) && keyNameKey == 0 && /*#__PURE__*/React.createElement(Checkbox, {
1145
+ onClick: e => {
1146
+ const id = e.target.id;
1147
+ const checkedValue = e.target.checked;
1148
+ let ch = [...checked];
1149
+ checkedValue ? ch.push(Number(id)) : ch.splice(ch.indexOf(id), 1);
1150
+ setChecked(ch);
1151
+ config.isCheckbox.onChange(ch);
1152
+ },
1153
+ jsonData: `[{"value":"", "name":"", "label":"", "id":${item.id}, "checked":${checked.indexOf(item.id) > -1 ? true : false}}]`
1154
+ }), typeof keyName === "string" ? item[keyName] : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("i", {
1155
+ className: keyName.icon
1156
+ }), item[keyName.name]));
1157
+ }), actions && /*#__PURE__*/React.createElement("div", {
1158
+ className: styles["table-items"]
1159
+ }, actions.filter(a => a.show && a.show(item) || a.show === undefined).map((action, key) => {
1160
+ return /*#__PURE__*/React.createElement("div", {
1161
+ key: key
1162
+ }, /*#__PURE__*/React.createElement("i", {
1163
+ className: action.icon,
1164
+ onClick: action.click ? action.click : () => {}
1165
+ }, action.icon));
1166
+ })));
1167
+ })));
1168
+ };
1169
+ Table.propTypes = {
1170
+ className: PropTypes.string,
1171
+ onChange: PropTypes.func,
1172
+ config: PropTypes.object,
1173
+ actions: PropTypes.arrayOf(PropTypes.object),
1174
+ jsonData: PropTypes.string,
1175
+ keyNames: PropTypes.arrayOf(PropTypes.oneOf([PropTypes.string, PropTypes.object])),
1176
+ hearderData: PropTypes.array
1177
+ };
1178
+ Table.defaultProps = {
1179
+ className: "",
1180
+ onChange: undefined,
1181
+ errorMesage: "",
1182
+ config: {
1183
+ isHeader: true,
1184
+ isCheckbox: {
1185
+ checked: []
1186
+ }
1187
+ },
1188
+ actions: [],
1189
+ jsonData: "",
1190
+ keyNames: [],
1191
+ hearderData: []
1192
+ };
1193
+
1194
+ export { Autocomplate, Button, ButtonSize, ButtonTheme, ButtonType, Captcha, Checkbox, File, Input, InputSizes, InputTypes, Modal, Pagination, Radio, Select, SelectSize, SelectTheme, Stepper, Table, Typography, TypographyType };