@xaypay/tui 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.es.js +155 -153
  2. package/dist/index.js +155 -153
  3. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -16,10 +16,12 @@ function rng() {
16
16
  if (!getRandomValues) {
17
17
  // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
18
18
  getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
19
+
19
20
  if (!getRandomValues) {
20
21
  throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
21
22
  }
22
23
  }
24
+
23
25
  return getRandomValues(rnds8);
24
26
  }
25
27
 
@@ -29,9 +31,11 @@ function rng() {
29
31
  */
30
32
 
31
33
  const byteToHex = [];
34
+
32
35
  for (let i = 0; i < 256; ++i) {
33
36
  byteToHex.push((i + 0x100).toString(16).slice(1));
34
37
  }
38
+
35
39
  function unsafeStringify(arr, offset = 0) {
36
40
  // Note: Be careful editing this code! It's been tuned for performance
37
41
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
@@ -47,6 +51,7 @@ function v4(options, buf, offset) {
47
51
  if (native.randomUUID && !buf && !options) {
48
52
  return native.randomUUID();
49
53
  }
54
+
50
55
  options = options || {};
51
56
  const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
52
57
 
@@ -55,27 +60,25 @@ function v4(options, buf, offset) {
55
60
 
56
61
  if (buf) {
57
62
  offset = offset || 0;
63
+
58
64
  for (let i = 0; i < 16; ++i) {
59
65
  buf[offset + i] = rnds[i];
60
66
  }
67
+
61
68
  return buf;
62
69
  }
70
+
63
71
  return unsafeStringify(rnds);
64
72
  }
65
73
 
66
74
  function _extends() {
67
- _extends = Object.assign ? Object.assign.bind() : function (target) {
68
- for (var i = 1; i < arguments.length; i++) {
69
- var source = arguments[i];
70
- for (var key in source) {
71
- if (Object.prototype.hasOwnProperty.call(source, key)) {
72
- target[key] = source[key];
73
- }
74
- }
75
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
76
+ for (var e = 1; e < arguments.length; e++) {
77
+ var t = arguments[e];
78
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
75
79
  }
76
- return target;
77
- };
78
- return _extends.apply(this, arguments);
80
+ return n;
81
+ }, _extends.apply(null, arguments);
79
82
  }
80
83
 
81
84
  const SvgHeic = ({
@@ -1222,9 +1225,6 @@ async function getProps() {
1222
1225
  }
1223
1226
 
1224
1227
  var configStylesPromise = getProps();
1225
- const hasOwnerProperty$1 = (object, property) => {
1226
- return Object.prototype.hasOwnProperty.call(object, property);
1227
- };
1228
1228
 
1229
1229
  const Button = ({
1230
1230
  icon,
@@ -2251,15 +2251,98 @@ SingleCheckbox.propTypes = {
2251
2251
  ignoreDisabledForChecked: PropTypes.bool
2252
2252
  };
2253
2253
 
2254
- function styleInject(css, ref) {
2255
- if (ref === void 0) ref = {};
2256
- var insertAt = ref.insertAt;
2257
- if (!css || typeof document === 'undefined') {
2254
+ const hasOwnerProperty = (object, property) => {
2255
+ return Object.prototype.hasOwnProperty.call(object, property);
2256
+ };
2257
+ const handleUtilsMouseEnterLeave = (e, behaviourStyle) => {
2258
+ if (typeof behaviourStyle !== 'object' || behaviourStyle === null || behaviourStyle === undefined) {
2259
+ alert('Please set a second param of handleUtilsMouseEnter function as valid object');
2258
2260
  return;
2259
2261
  }
2262
+ if (!hasOwnerProperty(e, 'target')) {
2263
+ alert('Please set a valid object like DOM event');
2264
+ return;
2265
+ }
2266
+ const existStyle = e.target.style;
2267
+ if (typeof existStyle !== 'object' || existStyle === null) {
2268
+ alert('Please set a valid style object in DOM event tergat');
2269
+ return;
2270
+ }
2271
+ for (const property in behaviourStyle) {
2272
+ if (existStyle[property]) {
2273
+ existStyle[property] = behaviourStyle[property];
2274
+ }
2275
+ }
2276
+ };
2277
+ const handleUtilsCheckTypeTel = (val, prevVal) => {
2278
+ const phoneNumberRegex = /^\d{0,8}$/;
2279
+ if (!phoneNumberRegex.test(val)) {
2280
+ val = prevVal;
2281
+ }
2282
+ return val;
2283
+ };
2284
+ const handleUtilsCheckTypeNumber = (val, prevVal, maxLength, floatToFix, maxNumSize, withoutDot, innerMinNumSize) => {
2285
+ if (maxLength && maxLength > 0) {
2286
+ if (val.length > maxLength) {
2287
+ val = val.substr(0, maxLength);
2288
+ }
2289
+ } else {
2290
+ const regNum = floatToFix && floatToFix >= 0 ? /^\d+(\.)?(\d+)?$/ : /^\d+$/;
2291
+ if (val.length > 16 && !val.includes('.')) {
2292
+ val = val.substr(0, 16);
2293
+ }
2294
+ if (val < Number.MIN_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER || innerMinNumSize && val < innerMinNumSize || maxNumSize && val > maxNumSize) {
2295
+ val = prevVal;
2296
+ }
2297
+ const floatNumParts = typeof val === 'string' ? val.split('.') : val;
2298
+ const int = floatNumParts[0];
2299
+ const float = floatNumParts[1];
2300
+ if (floatToFix > 0) {
2301
+ if (float && float.length > 0) {
2302
+ let floatResult = '';
2303
+ [...float].map((item, index) => {
2304
+ if (index + 1 <= floatToFix) {
2305
+ floatResult += item;
2306
+ }
2307
+ });
2308
+ floatResult !== '' ? val = `${int}.${floatResult}` : val = `${int}`;
2309
+ }
2310
+ } else {
2311
+ if (floatNumParts && floatNumParts.length > 0 && floatToFix === 0) {
2312
+ val = `${int}`;
2313
+ }
2314
+ }
2315
+ if (!regNum.test(val)) {
2316
+ const newStr = val.replace(/[^0-9.]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
2317
+ return b + c.replace(/\./g, '');
2318
+ });
2319
+ val = newStr;
2320
+ }
2321
+ }
2322
+ if (withoutDot && !/^\d+$/.test(val)) {
2323
+ const newStr = val.replace(/[^0-9]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
2324
+ return b + c.replace(/\./g, '');
2325
+ });
2326
+ val = newStr;
2327
+ }
2328
+ return val;
2329
+ };
2330
+ const handleUtilsOpenInNewTab = url => {
2331
+ const imageLink = document.createElement('a');
2332
+ imageLink.href = url, imageLink.target = '_blank';
2333
+ imageLink.click();
2334
+ };
2335
+
2336
+ function styleInject(css, ref) {
2337
+ if ( ref === void 0 ) ref = {};
2338
+ var insertAt = ref.insertAt;
2339
+
2340
+ if (!css || typeof document === 'undefined') { return; }
2341
+
2260
2342
  var head = document.head || document.getElementsByTagName('head')[0];
2261
2343
  var style = document.createElement('style');
2262
2344
  style.type = 'text/css';
2345
+
2263
2346
  if (insertAt === 'top') {
2264
2347
  if (head.firstChild) {
2265
2348
  head.insertBefore(style, head.firstChild);
@@ -2269,6 +2352,7 @@ function styleInject(css, ref) {
2269
2352
  } else {
2270
2353
  head.appendChild(style);
2271
2354
  }
2355
+
2272
2356
  if (style.styleSheet) {
2273
2357
  style.styleSheet.cssText = css;
2274
2358
  } else {
@@ -2276,7 +2360,7 @@ function styleInject(css, ref) {
2276
2360
  }
2277
2361
  }
2278
2362
 
2279
- var css_248z$a = ".table-module_sorting-arrows__BaN-G:after{content:\"▲\";font-size:11px;position:absolute;right:0;top:calc(50% - 12px)}.table-module_sorting-arrows__BaN-G:before{bottom:calc(50% - 12px);content:\"▼\";font-size:11px;position:absolute;right:0}.table-module_td-span__XHo6k{display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}.table-module_list-text__kmKIq{cursor:pointer;margin:0 0 8px;white-space:wrap}.table-module_dots-option-item__jNOxO{box-sizing:border-box;cursor:pointer;display:flex;height:39px;margin-bottom:2px;padding:10px;position:relative;width:100%}.table-module_dots-option-item__jNOxO:after{background-color:#eee;border-radius:1px;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;content:\"\";height:2px;left:10px;position:absolute;top:calc(100% - 2px);width:calc(100% - 20px)}.table-module_dots-option-item__jNOxO:last-child:after{display:none}";
2363
+ var css_248z$a = ".table-module_sorting-arrows__BaN-G:after{content:\"▲\";font-size:11px;position:absolute;right:0;top:calc(50% - 12px)}.table-module_sorting-arrows__BaN-G:before{bottom:calc(50% - 12px);content:\"▼\";font-size:11px;position:absolute;right:0}.table-module_td-span__XHo6k{display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}.table-module_list-text__kmKIq{align-items:center;cursor:pointer;display:flex;margin:0 0 8px;min-height:38px;white-space:wrap}.table-module_dots-option-item__jNOxO{box-sizing:border-box;cursor:pointer;display:flex;height:39px;margin-bottom:2px;padding:10px;position:relative;width:100%}.table-module_dots-option-item__jNOxO:after{background-color:#eee;border-radius:1px;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;-o-border-radius:1px;content:\"\";height:2px;left:10px;position:absolute;top:calc(100% - 2px);width:calc(100% - 20px)}.table-module_dots-option-item__jNOxO:last-child:after{display:none}";
2280
2364
  var styles$9 = {"sorting-arrows":"table-module_sorting-arrows__BaN-G","td-span":"table-module_td-span__XHo6k","list-text":"table-module_list-text__kmKIq","dots-option-item":"table-module_dots-option-item__jNOxO"};
2281
2365
  styleInject(css_248z$a);
2282
2366
 
@@ -2299,7 +2383,7 @@ const TH = ({
2299
2383
  handleCheckArrowActionHeader
2300
2384
  }) => {
2301
2385
  const handleCheckArrowAction = (e, object, property) => {
2302
- if (hasOwnerProperty$1(object, property)) {
2386
+ if (hasOwnerProperty(object, property)) {
2303
2387
  handleCheckArrowActionHeader(e, object);
2304
2388
  }
2305
2389
  };
@@ -2320,14 +2404,14 @@ const TH = ({
2320
2404
  borderColor: hideBorder ? 'transparent' : '#eeeeee'
2321
2405
  },
2322
2406
  onClick: handleHeaderItemClick,
2323
- className: `${hasOwnerProperty$1(item, 'sortingArrows') ? item.sortingArrows === true ? styles$9['sorting-arrows'] : '' : ''}`
2407
+ className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$9['sorting-arrows'] : '' : ''}`
2324
2408
  }, /*#__PURE__*/React__default.createElement("div", {
2325
2409
  style: {
2326
2410
  display: 'flex',
2327
2411
  alignItems: 'flex-start',
2328
- justifyContent: hasOwnerProperty$1(item, 'checkBox') ? 'space-between' : tHeadTextAlign ? tHeadTextAlign === 'left' ? 'flex-start' : tHeadTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2412
+ justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : tHeadTextAlign ? tHeadTextAlign === 'left' ? 'flex-start' : tHeadTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2329
2413
  }
2330
- }, hasOwnerProperty$1(item, 'checkBox') ? /*#__PURE__*/React__default.createElement(SingleCheckbox, {
2414
+ }, hasOwnerProperty(item, 'checkBox') ? /*#__PURE__*/React__default.createElement(SingleCheckbox, {
2331
2415
  data: item,
2332
2416
  checked: item.checkBox.checked,
2333
2417
  disabled: item.checkBox.disabled,
@@ -2339,7 +2423,7 @@ const TH = ({
2339
2423
  margin: '0px'
2340
2424
  },
2341
2425
  onClick: e => handleCheckArrowAction(e, item, 'arrowComponent')
2342
- }, item.type === 'show' ? item.content : hasOwnerProperty$1(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : '')));
2426
+ }, item.type === 'show' ? item.content : hasOwnerProperty(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : '')));
2343
2427
  };
2344
2428
 
2345
2429
  const TD = ({
@@ -2384,7 +2468,7 @@ const TD = ({
2384
2468
  handleBodyActionClick(e, actionData);
2385
2469
  };
2386
2470
  const handleCheckActions = (e, object, property, objectIndex) => {
2387
- if (hasOwnerProperty$1(object, property)) {
2471
+ if (hasOwnerProperty(object, property)) {
2388
2472
  handleBodyAction(e, {
2389
2473
  item: object,
2390
2474
  itemIndex: objectIndex
@@ -2427,7 +2511,7 @@ const TD = ({
2427
2511
  maxWidth: tableColumnMaxWidth,
2428
2512
  whiteSpace: Array.isArray(item) ? 'nowrap' : 'wrap',
2429
2513
  borderColor: hideBorder ? 'transparent' : borderRightColor,
2430
- boxShadow: hasOwnerProperty$1(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : '',
2514
+ boxShadow: hasOwnerProperty(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : '',
2431
2515
  borderTopLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
2432
2516
  borderBottomLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
2433
2517
  borderTopRightRadius: rowItem && innerIndex === row.length - 1 ? rowRadius : '0px',
@@ -2440,7 +2524,7 @@ const TD = ({
2440
2524
  width: '32px',
2441
2525
  height: '32px',
2442
2526
  marginRight: '10px',
2443
- cursor: hasOwnerProperty$1(newItem, 'type') ? 'pointer' : 'auto'
2527
+ cursor: hasOwnerProperty(newItem, 'type') ? 'pointer' : 'auto'
2444
2528
  },
2445
2529
  id: newItem.id,
2446
2530
  type: newItem.type,
@@ -2462,7 +2546,7 @@ const TD = ({
2462
2546
  width: '32px',
2463
2547
  height: '32px',
2464
2548
  marginRight: '10px',
2465
- cursor: hasOwnerProperty$1(iT, 'type') ? 'pointer' : 'auto'
2549
+ cursor: hasOwnerProperty(iT, 'type') ? 'pointer' : 'auto'
2466
2550
  },
2467
2551
  id: iT.id ? iT.id : '',
2468
2552
  type: iT.type ? iT.type : '',
@@ -2480,9 +2564,9 @@ const TD = ({
2480
2564
  style: {
2481
2565
  display: 'flex',
2482
2566
  alignItems: 'flex-start',
2483
- justifyContent: hasOwnerProperty$1(item, 'checkBox') ? 'space-between' : tBodyTextAlign ? tBodyTextAlign === 'left' ? 'flex-start' : tBodyTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2567
+ justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : tBodyTextAlign ? tBodyTextAlign === 'left' ? 'flex-start' : tBodyTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2484
2568
  }
2485
- }, !hasOwnerProperty$1(item, 'hideArrow') && item.hideArrow !== false && (!hasOwnerProperty$1(item, 'rightArrow') || item.rightArrow !== true) ? hasOwnerProperty$1(item, 'contentList') && (hasOwnerProperty$1(item, 'closeArrow') || hasOwnerProperty$1(item, 'openArrow')) && /*#__PURE__*/React__default.createElement("div", {
2569
+ }, !hasOwnerProperty(item, 'hideArrow') && item.hideArrow !== false && (!hasOwnerProperty(item, 'rightArrow') || item.rightArrow !== true) ? hasOwnerProperty(item, 'contentList') && (hasOwnerProperty(item, 'closeArrow') || hasOwnerProperty(item, 'openArrow')) && /*#__PURE__*/React__default.createElement("div", {
2486
2570
  id: item.id,
2487
2571
  style: {
2488
2572
  width: '21px',
@@ -2491,7 +2575,7 @@ const TD = ({
2491
2575
  },
2492
2576
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
2493
2577
  className: styles$9['td-span']
2494
- }, hasOwnerProperty$1(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty$1(item, 'checkBox') && /*#__PURE__*/React__default.createElement(SingleCheckbox, {
2578
+ }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty(item, 'checkBox') && /*#__PURE__*/React__default.createElement(SingleCheckbox, {
2495
2579
  data: item,
2496
2580
  index: index,
2497
2581
  innerIndex: innerIndex,
@@ -2503,18 +2587,18 @@ const TD = ({
2503
2587
  }), /*#__PURE__*/React__default.createElement("div", {
2504
2588
  style: {
2505
2589
  flexShrink: 11,
2506
- marginLeft: hasOwnerProperty$1(item, 'contentList') && (!hasOwnerProperty$1(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty$1(item, 'rightArrow') ? item.rightArrow === true ? '0px' : '11px' : hasOwnerProperty$1(item, 'closeArrow') || hasOwnerProperty$1(item, 'openArrow') ? '11px' : '0px' : '0px',
2507
- marginRight: hasOwnerProperty$1(item, 'contentList') && (!hasOwnerProperty$1(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty$1(item, 'rightArrow') ? item.rightArrow === true ? '11px' : '0px' : '0px' : '0px'
2590
+ marginLeft: hasOwnerProperty(item, 'contentList') && (!hasOwnerProperty(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty(item, 'rightArrow') ? item.rightArrow === true ? '0px' : '11px' : hasOwnerProperty(item, 'closeArrow') || hasOwnerProperty(item, 'openArrow') ? '11px' : '0px' : '0px',
2591
+ marginRight: hasOwnerProperty(item, 'contentList') && (!hasOwnerProperty(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty(item, 'rightArrow') ? item.rightArrow === true ? '11px' : '0px' : '0px' : '0px'
2508
2592
  }
2509
2593
  }, /*#__PURE__*/React__default.createElement("p", {
2510
2594
  style: {
2511
2595
  textAlign: tBodyTextAlign,
2512
2596
  margin: '0px',
2513
- cursor: hasOwnerProperty$1(item, 'arrowComponent') || hasOwnerProperty$1(item, 'dots') ? 'pointer' : 'auto',
2597
+ cursor: hasOwnerProperty(item, 'arrowComponent') || hasOwnerProperty(item, 'dots') ? 'pointer' : 'auto',
2514
2598
  ...item.props
2515
2599
  },
2516
- onClick: hasOwnerProperty$1(item, 'arrowComponent') ? () => handleCheckArrowAction(item, item.checkIndex) : hasOwnerProperty$1(item, 'dots') ? e => handleCheckDots(e, item, index, innerIndex) : _ => _
2517
- }, item.content === 0 ? item.content.toString() : item.content ? item.content : hasOwnerProperty$1(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : hasOwnerProperty$1(item, 'dots') ? /*#__PURE__*/React__default.createElement("span", {
2600
+ onClick: hasOwnerProperty(item, 'arrowComponent') ? () => handleCheckArrowAction(item, item.checkIndex) : hasOwnerProperty(item, 'dots') ? e => handleCheckDots(e, item, index, innerIndex) : _ => _
2601
+ }, item.content === 0 ? item.content.toString() : item.content ? item.content : hasOwnerProperty(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : hasOwnerProperty(item, 'dots') ? /*#__PURE__*/React__default.createElement("span", {
2518
2602
  style: {
2519
2603
  display: 'block',
2520
2604
  position: 'relative'
@@ -2535,7 +2619,7 @@ const TD = ({
2535
2619
  backgroundColor: '#FFFFFF',
2536
2620
  boxShadow: '0px 0px 20px 0px #3C393E4D'
2537
2621
  }
2538
- }, hasOwnerProperty$1(item, 'options') && item.options.map((optionItem, optionIndex) => {
2622
+ }, hasOwnerProperty(item, 'options') && item.options.map((optionItem, optionIndex) => {
2539
2623
  return /*#__PURE__*/React__default.createElement("span", {
2540
2624
  key: `${optionItem.content}_${optionIndex}`,
2541
2625
  className: styles$9['dots-option-item'],
@@ -2560,7 +2644,7 @@ const TD = ({
2560
2644
  },
2561
2645
  title: optionItem.content
2562
2646
  }, optionItem.content === 0 ? optionItem.content.toString() : optionItem.content ? optionItem.content : ''));
2563
- }))) : ''), hasOwnerProperty$1(item, 'contentList') && /*#__PURE__*/React__default.createElement("div", {
2647
+ }))) : ''), hasOwnerProperty(item, 'contentList') && /*#__PURE__*/React__default.createElement("div", {
2564
2648
  style: {
2565
2649
  overflow: 'auto',
2566
2650
  marginTop: '10px',
@@ -2574,7 +2658,8 @@ const TD = ({
2574
2658
  key: `__${innerItemIndex}__`,
2575
2659
  style: {
2576
2660
  display: 'flex',
2577
- justifyContent: 'center'
2661
+ justifyContent: 'center',
2662
+ marginTop: innerItemIndex === 0 ? '28px' : '0px'
2578
2663
  }
2579
2664
  }, innerItem.content.map((contInnerItem, contInnerIndex) => {
2580
2665
  return /*#__PURE__*/React__default.createElement("p", {
@@ -2609,7 +2694,7 @@ const TD = ({
2609
2694
  onClick: e => handleContentList(e, item, index, innerIndex, innerItem.id, innerItem.content, innerItemIndex)
2610
2695
  }, innerItem.content === 0 ? innerItem.content.toString() : innerItem.content ? innerItem.content : '');
2611
2696
  }
2612
- }))), !hasOwnerProperty$1(item, 'hideArrow') && item.hideArrow !== false && hasOwnerProperty$1(item, 'rightArrow') && item.rightArrow === true ? hasOwnerProperty$1(item, 'contentList') && (hasOwnerProperty$1(item, 'closeArrow') || hasOwnerProperty$1(item, 'openArrow')) && /*#__PURE__*/React__default.createElement("div", {
2697
+ }))), !hasOwnerProperty(item, 'hideArrow') && item.hideArrow !== false && hasOwnerProperty(item, 'rightArrow') && item.rightArrow === true ? hasOwnerProperty(item, 'contentList') && (hasOwnerProperty(item, 'closeArrow') || hasOwnerProperty(item, 'openArrow')) && /*#__PURE__*/React__default.createElement("div", {
2613
2698
  id: item.id,
2614
2699
  style: {
2615
2700
  width: '21px',
@@ -2618,7 +2703,7 @@ const TD = ({
2618
2703
  },
2619
2704
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
2620
2705
  className: styles$9['td-span']
2621
- }, hasOwnerProperty$1(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
2706
+ }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
2622
2707
  };
2623
2708
 
2624
2709
  const SvgUpArrow = ({
@@ -2723,7 +2808,7 @@ const Table = ({
2723
2808
  bodyData.map((item, index) => {
2724
2809
  if (index === data.index) {
2725
2810
  item.map((innerItem, innerIndex) => {
2726
- if (hasOwnerProperty$1(innerItem, 'arrowComponent')) {
2811
+ if (hasOwnerProperty(innerItem, 'arrowComponent')) {
2727
2812
  removeItemIndex = innerIndex;
2728
2813
  }
2729
2814
  });
@@ -2747,7 +2832,7 @@ const Table = ({
2747
2832
  let removeItemIndex;
2748
2833
  let headerWithoutArrow;
2749
2834
  header.map((item, index) => {
2750
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
2835
+ if (hasOwnerProperty(item, 'arrowComponent')) {
2751
2836
  removeItemIndex = index;
2752
2837
  }
2753
2838
  });
@@ -2787,7 +2872,7 @@ const Table = ({
2787
2872
  let checkedItems = [];
2788
2873
  data.map((item, index) => {
2789
2874
  item.map((innerItem, innerIndex) => {
2790
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
2875
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
2791
2876
  if (!checkedItems[innerIndex]) {
2792
2877
  checkedItems[innerIndex] = [];
2793
2878
  }
@@ -2867,7 +2952,7 @@ const Table = ({
2867
2952
  checkableItemBool = !item.checkBox.checked;
2868
2953
  item.checkBox.checked = !item.checkBox.checked;
2869
2954
  }
2870
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
2955
+ if (hasOwnerProperty(item, 'arrowComponent')) {
2871
2956
  removeItemIndex = index;
2872
2957
  }
2873
2958
  return item;
@@ -2875,7 +2960,7 @@ const Table = ({
2875
2960
  const newUpdatedBody = updatedBody.map((item, index) => {
2876
2961
  return item.map((innerItem, innerIndex) => {
2877
2962
  if (checkableItemIndex === innerIndex) {
2878
- if (!hasOwnerProperty$1(innerItem.checkBox, 'disabled') || innerItem.checkBox.disabled !== true) {
2963
+ if (!hasOwnerProperty(innerItem.checkBox, 'disabled') || innerItem.checkBox.disabled !== true) {
2879
2964
  innerItem.checkBox.checked = checkableItemBool;
2880
2965
  checkableBodyRowItems.push({
2881
2966
  column: innerIndex,
@@ -2919,7 +3004,7 @@ const Table = ({
2919
3004
  const updatedBody = body.slice().map(item => Object.values(item));
2920
3005
  const newData = updatedBody.map((item, index) => {
2921
3006
  return item.map((innerItem, innerIndex) => {
2922
- if (innerItem.id === data.id && innerItem.content == data.content && hasOwnerProperty$1(innerItem, 'checkBox')) {
3007
+ if (innerItem.id === data.id && innerItem.content == data.content && hasOwnerProperty(innerItem, 'checkBox')) {
2923
3008
  innerItem.checkBox.checked = !innerItem.checkBox.checked;
2924
3009
  handleHeaderCheckedUpdate({
2925
3010
  row: index,
@@ -2976,7 +3061,7 @@ const Table = ({
2976
3061
  const handleCheckArrowAction = (item, rowPosition) => {
2977
3062
  const status = item.status;
2978
3063
  const checkedOpenableRow = body[rowPosition].map(innerItem => {
2979
- if (hasOwnerProperty$1(innerItem, 'status')) {
3064
+ if (hasOwnerProperty(innerItem, 'status')) {
2980
3065
  if (status === 'close') {
2981
3066
  innerItem.status = 'open';
2982
3067
  } else {
@@ -3002,13 +3087,13 @@ const Table = ({
3002
3087
  }
3003
3088
  single = item;
3004
3089
  }
3005
- if (hasOwnerProperty$1(item, 'status') && !hasOwnerProperty$1(item, 'arrowComponent')) {
3090
+ if (hasOwnerProperty(item, 'status') && !hasOwnerProperty(item, 'arrowComponent')) {
3006
3091
  allArrows.push(item);
3007
3092
  }
3008
3093
  return item;
3009
3094
  });
3010
3095
  const checkedOpenableRowArrow = checkedOpenableRow.map(item => {
3011
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
3096
+ if (hasOwnerProperty(item, 'arrowComponent')) {
3012
3097
  if (single && single.status === 'close') {
3013
3098
  item.status = 'close';
3014
3099
  } else if (single && single.status === 'open') {
@@ -3017,7 +3102,7 @@ const Table = ({
3017
3102
  }
3018
3103
  }
3019
3104
  }
3020
- if (hasOwnerProperty$1(clickableItem, 'theSame') && hasOwnerProperty$1(item, 'theSame') && clickableItem.theSame === item.theSame) {
3105
+ if (hasOwnerProperty(clickableItem, 'theSame') && hasOwnerProperty(item, 'theSame') && clickableItem.theSame === item.theSame) {
3021
3106
  item.status = clickableItem.status;
3022
3107
  }
3023
3108
  return item;
@@ -3041,7 +3126,7 @@ const Table = ({
3041
3126
  });
3042
3127
  const checkedOpenableAllRowsBody = body.map(innerItem => {
3043
3128
  return innerItem.map(iElem => {
3044
- if (hasOwnerProperty$1(iElem, 'status')) {
3129
+ if (hasOwnerProperty(iElem, 'status')) {
3045
3130
  if (item.status === 'open') {
3046
3131
  iElem.status = 'open';
3047
3132
  } else {
@@ -3058,7 +3143,7 @@ const Table = ({
3058
3143
  e.stopPropagation();
3059
3144
  const checkBodyMore = body.map((elemItem, elemIndex) => {
3060
3145
  return elemItem.map((elemInnerItem, elemInnerIndex) => {
3061
- if (elemIndex === index && hasOwnerProperty$1(elemInnerItem, 'dots')) {
3146
+ if (elemIndex === index && hasOwnerProperty(elemInnerItem, 'dots')) {
3062
3147
  if (elemInnerIndex === innerIndex) {
3063
3148
  if (item.dotsStatus === 'deActive') {
3064
3149
  elemInnerItem.dotsStatus = 'active';
@@ -3066,7 +3151,7 @@ const Table = ({
3066
3151
  elemInnerItem.dotsStatus = 'deActive';
3067
3152
  }
3068
3153
  }
3069
- } else if (elemIndex !== index && hasOwnerProperty$1(elemInnerItem, 'dots')) {
3154
+ } else if (elemIndex !== index && hasOwnerProperty(elemInnerItem, 'dots')) {
3070
3155
  if (elemInnerIndex === innerIndex) {
3071
3156
  elemInnerItem.dotsStatus = 'deActive';
3072
3157
  }
@@ -3115,7 +3200,7 @@ const Table = ({
3115
3200
  const handleTableClick = () => {
3116
3201
  const checkBodyMore = body.map(elemItem => {
3117
3202
  return elemItem.map(elemInnerItem => {
3118
- if (hasOwnerProperty$1(elemInnerItem, 'dots')) {
3203
+ if (hasOwnerProperty(elemInnerItem, 'dots')) {
3119
3204
  elemInnerItem.dotsStatus = 'deActive';
3120
3205
  }
3121
3206
  return elemInnerItem;
@@ -3132,8 +3217,8 @@ const Table = ({
3132
3217
  const checkForInsertArrow = handleTransformDataForInsertArrow(checkBodyForChackedItems, arrowColumnCount, 'body');
3133
3218
  const insert = checkForInsertArrow.map((item, index) => {
3134
3219
  item.map((innerItem, innerIndex) => {
3135
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
3136
- if (hasOwnerProperty$1(innerItem.checkBox, 'disabled')) {
3220
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
3221
+ if (hasOwnerProperty(innerItem.checkBox, 'disabled')) {
3137
3222
  if (innerItem.checkBox.disabled === true) {
3138
3223
  if (!disabledArray[innerIndex]) {
3139
3224
  disabledArray[innerIndex] = {
@@ -3152,8 +3237,8 @@ const Table = ({
3152
3237
  } else {
3153
3238
  const insert = checkBodyForChackedItems.map((item, index) => {
3154
3239
  item.map((innerItem, innerIndex) => {
3155
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
3156
- if (hasOwnerProperty$1(innerItem.checkBox, 'disabled')) {
3240
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
3241
+ if (hasOwnerProperty(innerItem.checkBox, 'disabled')) {
3157
3242
  if (innerItem.checkBox.disabled === true) {
3158
3243
  if (!disabledArray[innerIndex]) {
3159
3244
  disabledArray[innerIndex] = {
@@ -3502,11 +3587,6 @@ const Modal = ({
3502
3587
  handleCloseModal();
3503
3588
  }
3504
3589
  };
3505
- const handleOpenInNewTab = url => {
3506
- const imageLink = document.createElement('a');
3507
- imageLink.href = url, imageLink.target = '_blank';
3508
- imageLink.click();
3509
- };
3510
3590
  const handleMouseEnter = () => {
3511
3591
  setIsHover(true);
3512
3592
  };
@@ -3677,7 +3757,7 @@ const Modal = ({
3677
3757
  }
3678
3758
  }, innerData && innerData.length > 0 && innerData.map((item, index) => {
3679
3759
  if (select === index) {
3680
- if (!hasOwnerProperty$1(item, 'url')) {
3760
+ if (!hasOwnerProperty(item, 'url')) {
3681
3761
  alert('Please add url property in data prop on each element');
3682
3762
  } else {
3683
3763
  return /*#__PURE__*/React__default.createElement("span", {
@@ -3709,7 +3789,7 @@ const Modal = ({
3709
3789
  alignItems: 'center',
3710
3790
  justifyContent: 'center'
3711
3791
  },
3712
- onClick: () => handleOpenInNewTab(item.url)
3792
+ onClick: () => handleUtilsOpenInNewTab(item.url)
3713
3793
  }, zoomIcon ? zoomIcon : configStyles.MODAL.icon.zoom ? configStyles.MODAL.icon.zoom : /*#__PURE__*/React__default.createElement(SvgZoom, null)) : '');
3714
3794
  }
3715
3795
  }
@@ -3785,60 +3865,6 @@ Modal.propTypes = {
3785
3865
  closeAreaBackgroundColor: PropTypes.string
3786
3866
  };
3787
3867
 
3788
- const handleCheckTypeTel = (val, prevVal) => {
3789
- const phoneNumberRegex = /^\d{0,8}$/;
3790
- if (!phoneNumberRegex.test(val)) {
3791
- val = prevVal;
3792
- }
3793
- return val;
3794
- };
3795
- const handleCheckTypeNumber = (val, prevVal, maxLength, floatToFix, maxNumSize, withoutDot, innerMinNumSize) => {
3796
- if (maxLength && maxLength > 0) {
3797
- if (val.length > maxLength) {
3798
- val = val.substr(0, maxLength);
3799
- }
3800
- } else {
3801
- const regNum = floatToFix && floatToFix >= 0 ? /^\d+(\.)?(\d+)?$/ : /^\d+$/;
3802
- if (val.length > 16 && !val.includes('.')) {
3803
- val = val.substr(0, 16);
3804
- }
3805
- if (val < Number.MIN_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER || innerMinNumSize && val < innerMinNumSize || maxNumSize && val > maxNumSize) {
3806
- val = prevVal;
3807
- }
3808
- const floatNumParts = typeof val === 'string' ? val.split('.') : val;
3809
- const int = floatNumParts[0];
3810
- const float = floatNumParts[1];
3811
- if (floatToFix > 0) {
3812
- if (float && float.length > 0) {
3813
- let floatResult = '';
3814
- [...float].map((item, index) => {
3815
- if (index + 1 <= floatToFix) {
3816
- floatResult += item;
3817
- }
3818
- });
3819
- floatResult !== '' ? val = `${int}.${floatResult}` : val = `${int}`;
3820
- }
3821
- } else {
3822
- if (floatNumParts && floatNumParts.length > 0 && floatToFix === 0) {
3823
- val = `${int}`;
3824
- }
3825
- }
3826
- if (!regNum.test(val)) {
3827
- const newStr = val.replace(/[^0-9.]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
3828
- return b + c.replace(/\./g, '');
3829
- });
3830
- val = newStr;
3831
- }
3832
- }
3833
- if (withoutDot && !/^\d+$/.test(val)) {
3834
- const newStr = val.replace(/[^0-9]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
3835
- return b + c.replace(/\./g, '');
3836
- });
3837
- val = newStr;
3838
- }
3839
- return val;
3840
- };
3841
-
3842
3868
  const TelInput = ({
3843
3869
  type,
3844
3870
  value,
@@ -3862,7 +3888,7 @@ const TelInput = ({
3862
3888
  const handleChange = event => {
3863
3889
  let prevValue = innerValue;
3864
3890
  let currentValue = event.target.value;
3865
- currentValue = handleCheckTypeTel(currentValue, prevValue);
3891
+ currentValue = handleUtilsCheckTypeTel(currentValue, prevValue);
3866
3892
  setInnerValue(() => currentValue);
3867
3893
  if (inputChange && currentValue !== prevValue) {
3868
3894
  inputChange(currentValue);
@@ -3871,7 +3897,7 @@ const TelInput = ({
3871
3897
  useEffect(() => {
3872
3898
  let newValue = '';
3873
3899
  if (value !== undefined && value !== null) {
3874
- newValue = handleCheckTypeTel(value, newValue);
3900
+ newValue = handleUtilsCheckTypeTel(value, newValue);
3875
3901
  }
3876
3902
  setInnerValue(() => newValue);
3877
3903
  }, [value]);
@@ -4025,7 +4051,7 @@ const NumberInput = ({
4025
4051
  let prevValue = innerValue;
4026
4052
  let currentValue = event.target.value;
4027
4053
  const max = maxLength ? maxLength : null;
4028
- currentValue = handleCheckTypeNumber(currentValue, prevValue, max, float, maxNumSize, dots, innerMinNumSize);
4054
+ currentValue = handleUtilsCheckTypeNumber(currentValue, prevValue, max, float, maxNumSize, dots, innerMinNumSize);
4029
4055
  setInnerValue(() => currentValue);
4030
4056
  if (inputChange && currentValue !== prevValue) {
4031
4057
  inputChange(currentValue);
@@ -4049,7 +4075,7 @@ const NumberInput = ({
4049
4075
  let newValue = '';
4050
4076
  if (value !== undefined && value !== null) {
4051
4077
  const max = maxLength ? maxLength : null;
4052
- newValue = handleCheckTypeNumber(value, newValue, max, float, maxNumSize, dots, innerMinNumSize);
4078
+ newValue = handleUtilsCheckTypeNumber(value, newValue, max, float, maxNumSize, dots, innerMinNumSize);
4053
4079
  }
4054
4080
  setInnerValue(() => newValue);
4055
4081
  }, [dots, value, float, maxNumSize, minNumSize]);
@@ -4408,30 +4434,6 @@ Input.propTypes = {
4408
4434
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object])
4409
4435
  };
4410
4436
 
4411
- const hasOwnerProperty = (object, property) => {
4412
- return Object.prototype.hasOwnProperty.call(object, property);
4413
- };
4414
- const handleUtilsMouseEnterLeave = (e, behaviourStyle) => {
4415
- if (typeof behaviourStyle !== 'object' || behaviourStyle === null || behaviourStyle === undefined) {
4416
- alert('Please set a second param of handleUtilsMouseEnter function as valid object');
4417
- return;
4418
- }
4419
- if (!hasOwnerProperty(e, 'target')) {
4420
- alert('Please set a valid object like DOM event');
4421
- return;
4422
- }
4423
- const existStyle = e.target.style;
4424
- if (typeof existStyle !== 'object' || existStyle === null) {
4425
- alert('Please set a valid style object in DOM event tergat');
4426
- return;
4427
- }
4428
- for (const property in behaviourStyle) {
4429
- if (existStyle[property]) {
4430
- existStyle[property] = behaviourStyle[property];
4431
- }
4432
- }
4433
- };
4434
-
4435
4437
  const RadioDirectionMode = {
4436
4438
  VERTICAL: 'vertical',
4437
4439
  HORINZONTAL: 'horizontal'
@@ -4731,7 +4733,7 @@ const Select = ({
4731
4733
  onChange({});
4732
4734
  setNewSelected([]);
4733
4735
  const clearedOptions = existOptions && existOptions.length > 0 && existOptions.map(item => {
4734
- if (hasOwnerProperty$1(item, 'checked')) {
4736
+ if (hasOwnerProperty(item, 'checked')) {
4735
4737
  item.checked = false;
4736
4738
  }
4737
4739
  return item;
@@ -4781,7 +4783,7 @@ const Select = ({
4781
4783
  };
4782
4784
  const isObjectEmpty = obj => {
4783
4785
  for (var key in obj) {
4784
- if (hasOwnerProperty$1(obj, key)) {
4786
+ if (hasOwnerProperty(obj, key)) {
4785
4787
  return false;
4786
4788
  }
4787
4789
  }
@@ -5142,8 +5144,8 @@ const SvgToasterSuccess = ({
5142
5144
  fill: fillColor ? fillColor : '#0DA574'
5143
5145
  }));
5144
5146
 
5145
- var css_248z$6 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}.toaster-module_notify-desc__bcWe2,.toaster-module_notify-title__8lFLy{overflow:hidden;text-overflow:ellipsis}.toaster-module_notify-desc__bcWe2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}";
5146
- var styles$5 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","notify-title":"toaster-module_notify-title__8lFLy","notify-desc":"toaster-module_notify-desc__bcWe2","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO"};
5147
+ var css_248z$6 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}.toaster-module_notify-desc__bcWe2,.toaster-module_notify-title__8lFLy{overflow:hidden;text-overflow:ellipsis}.toaster-module_notify-desc__bcWe2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceInLeftMobile__CA2dc{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:0}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}@media(max-width:480px){.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeftMobile__CA2dc;animation-name:toaster-module_bounceInLeftMobile__CA2dc}}";
5148
+ var styles$5 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","notify-title":"toaster-module_notify-title__8lFLy","notify-desc":"toaster-module_notify-desc__bcWe2","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO","bounceInLeftMobile":"toaster-module_bounceInLeftMobile__CA2dc"};
5147
5149
  styleInject(css_248z$6);
5148
5150
 
5149
5151
  let wWidth$1 = window.innerWidth;
@@ -6753,7 +6755,7 @@ const Autocomplete = ({
6753
6755
  alert('Please add options prop');
6754
6756
  }
6755
6757
  options && options.length > 0 && options.map(item => {
6756
- if (!hasOwnerProperty$1(item, keyNames.name)) {
6758
+ if (!hasOwnerProperty(item, keyNames.name)) {
6757
6759
  alert(`Please add ${keyNames.name} property in items of options array`);
6758
6760
  }
6759
6761
  });