@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.js CHANGED
@@ -47,10 +47,12 @@ function rng() {
47
47
  if (!getRandomValues) {
48
48
  // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
49
49
  getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
50
+
50
51
  if (!getRandomValues) {
51
52
  throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
52
53
  }
53
54
  }
55
+
54
56
  return getRandomValues(rnds8);
55
57
  }
56
58
 
@@ -60,9 +62,11 @@ function rng() {
60
62
  */
61
63
 
62
64
  const byteToHex = [];
65
+
63
66
  for (let i = 0; i < 256; ++i) {
64
67
  byteToHex.push((i + 0x100).toString(16).slice(1));
65
68
  }
69
+
66
70
  function unsafeStringify(arr, offset = 0) {
67
71
  // Note: Be careful editing this code! It's been tuned for performance
68
72
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
@@ -78,6 +82,7 @@ function v4(options, buf, offset) {
78
82
  if (native.randomUUID && !buf && !options) {
79
83
  return native.randomUUID();
80
84
  }
85
+
81
86
  options = options || {};
82
87
  const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
83
88
 
@@ -86,27 +91,25 @@ function v4(options, buf, offset) {
86
91
 
87
92
  if (buf) {
88
93
  offset = offset || 0;
94
+
89
95
  for (let i = 0; i < 16; ++i) {
90
96
  buf[offset + i] = rnds[i];
91
97
  }
98
+
92
99
  return buf;
93
100
  }
101
+
94
102
  return unsafeStringify(rnds);
95
103
  }
96
104
 
97
105
  function _extends() {
98
- _extends = Object.assign ? Object.assign.bind() : function (target) {
99
- for (var i = 1; i < arguments.length; i++) {
100
- var source = arguments[i];
101
- for (var key in source) {
102
- if (Object.prototype.hasOwnProperty.call(source, key)) {
103
- target[key] = source[key];
104
- }
105
- }
106
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
107
+ for (var e = 1; e < arguments.length; e++) {
108
+ var t = arguments[e];
109
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
106
110
  }
107
- return target;
108
- };
109
- return _extends.apply(this, arguments);
111
+ return n;
112
+ }, _extends.apply(null, arguments);
110
113
  }
111
114
 
112
115
  const SvgHeic = ({
@@ -1253,9 +1256,6 @@ async function getProps() {
1253
1256
  }
1254
1257
 
1255
1258
  var configStylesPromise = getProps();
1256
- const hasOwnerProperty$1 = (object, property) => {
1257
- return Object.prototype.hasOwnProperty.call(object, property);
1258
- };
1259
1259
 
1260
1260
  const Button = ({
1261
1261
  icon,
@@ -2282,15 +2282,98 @@ SingleCheckbox.propTypes = {
2282
2282
  ignoreDisabledForChecked: PropTypes__default["default"].bool
2283
2283
  };
2284
2284
 
2285
- function styleInject(css, ref) {
2286
- if (ref === void 0) ref = {};
2287
- var insertAt = ref.insertAt;
2288
- if (!css || typeof document === 'undefined') {
2285
+ const hasOwnerProperty = (object, property) => {
2286
+ return Object.prototype.hasOwnProperty.call(object, property);
2287
+ };
2288
+ const handleUtilsMouseEnterLeave = (e, behaviourStyle) => {
2289
+ if (typeof behaviourStyle !== 'object' || behaviourStyle === null || behaviourStyle === undefined) {
2290
+ alert('Please set a second param of handleUtilsMouseEnter function as valid object');
2289
2291
  return;
2290
2292
  }
2293
+ if (!hasOwnerProperty(e, 'target')) {
2294
+ alert('Please set a valid object like DOM event');
2295
+ return;
2296
+ }
2297
+ const existStyle = e.target.style;
2298
+ if (typeof existStyle !== 'object' || existStyle === null) {
2299
+ alert('Please set a valid style object in DOM event tergat');
2300
+ return;
2301
+ }
2302
+ for (const property in behaviourStyle) {
2303
+ if (existStyle[property]) {
2304
+ existStyle[property] = behaviourStyle[property];
2305
+ }
2306
+ }
2307
+ };
2308
+ const handleUtilsCheckTypeTel = (val, prevVal) => {
2309
+ const phoneNumberRegex = /^\d{0,8}$/;
2310
+ if (!phoneNumberRegex.test(val)) {
2311
+ val = prevVal;
2312
+ }
2313
+ return val;
2314
+ };
2315
+ const handleUtilsCheckTypeNumber = (val, prevVal, maxLength, floatToFix, maxNumSize, withoutDot, innerMinNumSize) => {
2316
+ if (maxLength && maxLength > 0) {
2317
+ if (val.length > maxLength) {
2318
+ val = val.substr(0, maxLength);
2319
+ }
2320
+ } else {
2321
+ const regNum = floatToFix && floatToFix >= 0 ? /^\d+(\.)?(\d+)?$/ : /^\d+$/;
2322
+ if (val.length > 16 && !val.includes('.')) {
2323
+ val = val.substr(0, 16);
2324
+ }
2325
+ if (val < Number.MIN_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER || innerMinNumSize && val < innerMinNumSize || maxNumSize && val > maxNumSize) {
2326
+ val = prevVal;
2327
+ }
2328
+ const floatNumParts = typeof val === 'string' ? val.split('.') : val;
2329
+ const int = floatNumParts[0];
2330
+ const float = floatNumParts[1];
2331
+ if (floatToFix > 0) {
2332
+ if (float && float.length > 0) {
2333
+ let floatResult = '';
2334
+ [...float].map((item, index) => {
2335
+ if (index + 1 <= floatToFix) {
2336
+ floatResult += item;
2337
+ }
2338
+ });
2339
+ floatResult !== '' ? val = `${int}.${floatResult}` : val = `${int}`;
2340
+ }
2341
+ } else {
2342
+ if (floatNumParts && floatNumParts.length > 0 && floatToFix === 0) {
2343
+ val = `${int}`;
2344
+ }
2345
+ }
2346
+ if (!regNum.test(val)) {
2347
+ const newStr = val.replace(/[^0-9.]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
2348
+ return b + c.replace(/\./g, '');
2349
+ });
2350
+ val = newStr;
2351
+ }
2352
+ }
2353
+ if (withoutDot && !/^\d+$/.test(val)) {
2354
+ const newStr = val.replace(/[^0-9]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
2355
+ return b + c.replace(/\./g, '');
2356
+ });
2357
+ val = newStr;
2358
+ }
2359
+ return val;
2360
+ };
2361
+ const handleUtilsOpenInNewTab = url => {
2362
+ const imageLink = document.createElement('a');
2363
+ imageLink.href = url, imageLink.target = '_blank';
2364
+ imageLink.click();
2365
+ };
2366
+
2367
+ function styleInject(css, ref) {
2368
+ if ( ref === void 0 ) ref = {};
2369
+ var insertAt = ref.insertAt;
2370
+
2371
+ if (!css || typeof document === 'undefined') { return; }
2372
+
2291
2373
  var head = document.head || document.getElementsByTagName('head')[0];
2292
2374
  var style = document.createElement('style');
2293
2375
  style.type = 'text/css';
2376
+
2294
2377
  if (insertAt === 'top') {
2295
2378
  if (head.firstChild) {
2296
2379
  head.insertBefore(style, head.firstChild);
@@ -2300,6 +2383,7 @@ function styleInject(css, ref) {
2300
2383
  } else {
2301
2384
  head.appendChild(style);
2302
2385
  }
2386
+
2303
2387
  if (style.styleSheet) {
2304
2388
  style.styleSheet.cssText = css;
2305
2389
  } else {
@@ -2307,7 +2391,7 @@ function styleInject(css, ref) {
2307
2391
  }
2308
2392
  }
2309
2393
 
2310
- 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}";
2394
+ 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}";
2311
2395
  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"};
2312
2396
  styleInject(css_248z$a);
2313
2397
 
@@ -2330,7 +2414,7 @@ const TH = ({
2330
2414
  handleCheckArrowActionHeader
2331
2415
  }) => {
2332
2416
  const handleCheckArrowAction = (e, object, property) => {
2333
- if (hasOwnerProperty$1(object, property)) {
2417
+ if (hasOwnerProperty(object, property)) {
2334
2418
  handleCheckArrowActionHeader(e, object);
2335
2419
  }
2336
2420
  };
@@ -2351,14 +2435,14 @@ const TH = ({
2351
2435
  borderColor: hideBorder ? 'transparent' : '#eeeeee'
2352
2436
  },
2353
2437
  onClick: handleHeaderItemClick,
2354
- className: `${hasOwnerProperty$1(item, 'sortingArrows') ? item.sortingArrows === true ? styles$9['sorting-arrows'] : '' : ''}`
2438
+ className: `${hasOwnerProperty(item, 'sortingArrows') ? item.sortingArrows === true ? styles$9['sorting-arrows'] : '' : ''}`
2355
2439
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2356
2440
  style: {
2357
2441
  display: 'flex',
2358
2442
  alignItems: 'flex-start',
2359
- justifyContent: hasOwnerProperty$1(item, 'checkBox') ? 'space-between' : tHeadTextAlign ? tHeadTextAlign === 'left' ? 'flex-start' : tHeadTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2443
+ justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : tHeadTextAlign ? tHeadTextAlign === 'left' ? 'flex-start' : tHeadTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2360
2444
  }
2361
- }, hasOwnerProperty$1(item, 'checkBox') ? /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
2445
+ }, hasOwnerProperty(item, 'checkBox') ? /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
2362
2446
  data: item,
2363
2447
  checked: item.checkBox.checked,
2364
2448
  disabled: item.checkBox.disabled,
@@ -2370,7 +2454,7 @@ const TH = ({
2370
2454
  margin: '0px'
2371
2455
  },
2372
2456
  onClick: e => handleCheckArrowAction(e, item, 'arrowComponent')
2373
- }, item.type === 'show' ? item.content : hasOwnerProperty$1(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : '')));
2457
+ }, item.type === 'show' ? item.content : hasOwnerProperty(item, 'arrowComponent') ? item.status === 'close' ? item.closeArrow : item.openArrow : '')));
2374
2458
  };
2375
2459
 
2376
2460
  const TD = ({
@@ -2415,7 +2499,7 @@ const TD = ({
2415
2499
  handleBodyActionClick(e, actionData);
2416
2500
  };
2417
2501
  const handleCheckActions = (e, object, property, objectIndex) => {
2418
- if (hasOwnerProperty$1(object, property)) {
2502
+ if (hasOwnerProperty(object, property)) {
2419
2503
  handleBodyAction(e, {
2420
2504
  item: object,
2421
2505
  itemIndex: objectIndex
@@ -2458,7 +2542,7 @@ const TD = ({
2458
2542
  maxWidth: tableColumnMaxWidth,
2459
2543
  whiteSpace: Array.isArray(item) ? 'nowrap' : 'wrap',
2460
2544
  borderColor: hideBorder ? 'transparent' : borderRightColor,
2461
- boxShadow: hasOwnerProperty$1(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : '',
2545
+ boxShadow: hasOwnerProperty(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : '',
2462
2546
  borderTopLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
2463
2547
  borderBottomLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
2464
2548
  borderTopRightRadius: rowItem && innerIndex === row.length - 1 ? rowRadius : '0px',
@@ -2471,7 +2555,7 @@ const TD = ({
2471
2555
  width: '32px',
2472
2556
  height: '32px',
2473
2557
  marginRight: '10px',
2474
- cursor: hasOwnerProperty$1(newItem, 'type') ? 'pointer' : 'auto'
2558
+ cursor: hasOwnerProperty(newItem, 'type') ? 'pointer' : 'auto'
2475
2559
  },
2476
2560
  id: newItem.id,
2477
2561
  type: newItem.type,
@@ -2493,7 +2577,7 @@ const TD = ({
2493
2577
  width: '32px',
2494
2578
  height: '32px',
2495
2579
  marginRight: '10px',
2496
- cursor: hasOwnerProperty$1(iT, 'type') ? 'pointer' : 'auto'
2580
+ cursor: hasOwnerProperty(iT, 'type') ? 'pointer' : 'auto'
2497
2581
  },
2498
2582
  id: iT.id ? iT.id : '',
2499
2583
  type: iT.type ? iT.type : '',
@@ -2511,9 +2595,9 @@ const TD = ({
2511
2595
  style: {
2512
2596
  display: 'flex',
2513
2597
  alignItems: 'flex-start',
2514
- justifyContent: hasOwnerProperty$1(item, 'checkBox') ? 'space-between' : tBodyTextAlign ? tBodyTextAlign === 'left' ? 'flex-start' : tBodyTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2598
+ justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : tBodyTextAlign ? tBodyTextAlign === 'left' ? 'flex-start' : tBodyTextAlign === 'right' ? 'flex-end' : 'center' : 'center'
2515
2599
  }
2516
- }, !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["default"].createElement("div", {
2600
+ }, !hasOwnerProperty(item, 'hideArrow') && item.hideArrow !== false && (!hasOwnerProperty(item, 'rightArrow') || item.rightArrow !== true) ? hasOwnerProperty(item, 'contentList') && (hasOwnerProperty(item, 'closeArrow') || hasOwnerProperty(item, 'openArrow')) && /*#__PURE__*/React__default["default"].createElement("div", {
2517
2601
  id: item.id,
2518
2602
  style: {
2519
2603
  width: '21px',
@@ -2522,7 +2606,7 @@ const TD = ({
2522
2606
  },
2523
2607
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
2524
2608
  className: styles$9['td-span']
2525
- }, hasOwnerProperty$1(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty$1(item, 'checkBox') && /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
2609
+ }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '', hasOwnerProperty(item, 'checkBox') && /*#__PURE__*/React__default["default"].createElement(SingleCheckbox, {
2526
2610
  data: item,
2527
2611
  index: index,
2528
2612
  innerIndex: innerIndex,
@@ -2534,18 +2618,18 @@ const TD = ({
2534
2618
  }), /*#__PURE__*/React__default["default"].createElement("div", {
2535
2619
  style: {
2536
2620
  flexShrink: 11,
2537
- 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',
2538
- marginRight: hasOwnerProperty$1(item, 'contentList') && (!hasOwnerProperty$1(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty$1(item, 'rightArrow') ? item.rightArrow === true ? '11px' : '0px' : '0px' : '0px'
2621
+ 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',
2622
+ marginRight: hasOwnerProperty(item, 'contentList') && (!hasOwnerProperty(item, 'hideArrow') || item.hideArrow !== true) ? hasOwnerProperty(item, 'rightArrow') ? item.rightArrow === true ? '11px' : '0px' : '0px' : '0px'
2539
2623
  }
2540
2624
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2541
2625
  style: {
2542
2626
  textAlign: tBodyTextAlign,
2543
2627
  margin: '0px',
2544
- cursor: hasOwnerProperty$1(item, 'arrowComponent') || hasOwnerProperty$1(item, 'dots') ? 'pointer' : 'auto',
2628
+ cursor: hasOwnerProperty(item, 'arrowComponent') || hasOwnerProperty(item, 'dots') ? 'pointer' : 'auto',
2545
2629
  ...item.props
2546
2630
  },
2547
- onClick: hasOwnerProperty$1(item, 'arrowComponent') ? () => handleCheckArrowAction(item, item.checkIndex) : hasOwnerProperty$1(item, 'dots') ? e => handleCheckDots(e, item, index, innerIndex) : _ => _
2548
- }, 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["default"].createElement("span", {
2631
+ onClick: hasOwnerProperty(item, 'arrowComponent') ? () => handleCheckArrowAction(item, item.checkIndex) : hasOwnerProperty(item, 'dots') ? e => handleCheckDots(e, item, index, innerIndex) : _ => _
2632
+ }, 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["default"].createElement("span", {
2549
2633
  style: {
2550
2634
  display: 'block',
2551
2635
  position: 'relative'
@@ -2566,7 +2650,7 @@ const TD = ({
2566
2650
  backgroundColor: '#FFFFFF',
2567
2651
  boxShadow: '0px 0px 20px 0px #3C393E4D'
2568
2652
  }
2569
- }, hasOwnerProperty$1(item, 'options') && item.options.map((optionItem, optionIndex) => {
2653
+ }, hasOwnerProperty(item, 'options') && item.options.map((optionItem, optionIndex) => {
2570
2654
  return /*#__PURE__*/React__default["default"].createElement("span", {
2571
2655
  key: `${optionItem.content}_${optionIndex}`,
2572
2656
  className: styles$9['dots-option-item'],
@@ -2591,7 +2675,7 @@ const TD = ({
2591
2675
  },
2592
2676
  title: optionItem.content
2593
2677
  }, optionItem.content === 0 ? optionItem.content.toString() : optionItem.content ? optionItem.content : ''));
2594
- }))) : ''), hasOwnerProperty$1(item, 'contentList') && /*#__PURE__*/React__default["default"].createElement("div", {
2678
+ }))) : ''), hasOwnerProperty(item, 'contentList') && /*#__PURE__*/React__default["default"].createElement("div", {
2595
2679
  style: {
2596
2680
  overflow: 'auto',
2597
2681
  marginTop: '10px',
@@ -2605,7 +2689,8 @@ const TD = ({
2605
2689
  key: `__${innerItemIndex}__`,
2606
2690
  style: {
2607
2691
  display: 'flex',
2608
- justifyContent: 'center'
2692
+ justifyContent: 'center',
2693
+ marginTop: innerItemIndex === 0 ? '28px' : '0px'
2609
2694
  }
2610
2695
  }, innerItem.content.map((contInnerItem, contInnerIndex) => {
2611
2696
  return /*#__PURE__*/React__default["default"].createElement("p", {
@@ -2640,7 +2725,7 @@ const TD = ({
2640
2725
  onClick: e => handleContentList(e, item, index, innerIndex, innerItem.id, innerItem.content, innerItemIndex)
2641
2726
  }, innerItem.content === 0 ? innerItem.content.toString() : innerItem.content ? innerItem.content : '');
2642
2727
  }
2643
- }))), !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["default"].createElement("div", {
2728
+ }))), !hasOwnerProperty(item, 'hideArrow') && item.hideArrow !== false && hasOwnerProperty(item, 'rightArrow') && item.rightArrow === true ? hasOwnerProperty(item, 'contentList') && (hasOwnerProperty(item, 'closeArrow') || hasOwnerProperty(item, 'openArrow')) && /*#__PURE__*/React__default["default"].createElement("div", {
2644
2729
  id: item.id,
2645
2730
  style: {
2646
2731
  width: '21px',
@@ -2649,7 +2734,7 @@ const TD = ({
2649
2734
  },
2650
2735
  onClick: () => handleOpenCloseRowSingleArrow(index, innerIndex, item),
2651
2736
  className: styles$9['td-span']
2652
- }, hasOwnerProperty$1(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
2737
+ }, hasOwnerProperty(item, 'status') && item.status === 'close' ? item.closeArrow : item.openArrow) : '') : '');
2653
2738
  };
2654
2739
 
2655
2740
  const SvgUpArrow = ({
@@ -2754,7 +2839,7 @@ const Table = ({
2754
2839
  bodyData.map((item, index) => {
2755
2840
  if (index === data.index) {
2756
2841
  item.map((innerItem, innerIndex) => {
2757
- if (hasOwnerProperty$1(innerItem, 'arrowComponent')) {
2842
+ if (hasOwnerProperty(innerItem, 'arrowComponent')) {
2758
2843
  removeItemIndex = innerIndex;
2759
2844
  }
2760
2845
  });
@@ -2778,7 +2863,7 @@ const Table = ({
2778
2863
  let removeItemIndex;
2779
2864
  let headerWithoutArrow;
2780
2865
  header.map((item, index) => {
2781
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
2866
+ if (hasOwnerProperty(item, 'arrowComponent')) {
2782
2867
  removeItemIndex = index;
2783
2868
  }
2784
2869
  });
@@ -2818,7 +2903,7 @@ const Table = ({
2818
2903
  let checkedItems = [];
2819
2904
  data.map((item, index) => {
2820
2905
  item.map((innerItem, innerIndex) => {
2821
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
2906
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
2822
2907
  if (!checkedItems[innerIndex]) {
2823
2908
  checkedItems[innerIndex] = [];
2824
2909
  }
@@ -2898,7 +2983,7 @@ const Table = ({
2898
2983
  checkableItemBool = !item.checkBox.checked;
2899
2984
  item.checkBox.checked = !item.checkBox.checked;
2900
2985
  }
2901
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
2986
+ if (hasOwnerProperty(item, 'arrowComponent')) {
2902
2987
  removeItemIndex = index;
2903
2988
  }
2904
2989
  return item;
@@ -2906,7 +2991,7 @@ const Table = ({
2906
2991
  const newUpdatedBody = updatedBody.map((item, index) => {
2907
2992
  return item.map((innerItem, innerIndex) => {
2908
2993
  if (checkableItemIndex === innerIndex) {
2909
- if (!hasOwnerProperty$1(innerItem.checkBox, 'disabled') || innerItem.checkBox.disabled !== true) {
2994
+ if (!hasOwnerProperty(innerItem.checkBox, 'disabled') || innerItem.checkBox.disabled !== true) {
2910
2995
  innerItem.checkBox.checked = checkableItemBool;
2911
2996
  checkableBodyRowItems.push({
2912
2997
  column: innerIndex,
@@ -2950,7 +3035,7 @@ const Table = ({
2950
3035
  const updatedBody = body.slice().map(item => Object.values(item));
2951
3036
  const newData = updatedBody.map((item, index) => {
2952
3037
  return item.map((innerItem, innerIndex) => {
2953
- if (innerItem.id === data.id && innerItem.content == data.content && hasOwnerProperty$1(innerItem, 'checkBox')) {
3038
+ if (innerItem.id === data.id && innerItem.content == data.content && hasOwnerProperty(innerItem, 'checkBox')) {
2954
3039
  innerItem.checkBox.checked = !innerItem.checkBox.checked;
2955
3040
  handleHeaderCheckedUpdate({
2956
3041
  row: index,
@@ -3007,7 +3092,7 @@ const Table = ({
3007
3092
  const handleCheckArrowAction = (item, rowPosition) => {
3008
3093
  const status = item.status;
3009
3094
  const checkedOpenableRow = body[rowPosition].map(innerItem => {
3010
- if (hasOwnerProperty$1(innerItem, 'status')) {
3095
+ if (hasOwnerProperty(innerItem, 'status')) {
3011
3096
  if (status === 'close') {
3012
3097
  innerItem.status = 'open';
3013
3098
  } else {
@@ -3033,13 +3118,13 @@ const Table = ({
3033
3118
  }
3034
3119
  single = item;
3035
3120
  }
3036
- if (hasOwnerProperty$1(item, 'status') && !hasOwnerProperty$1(item, 'arrowComponent')) {
3121
+ if (hasOwnerProperty(item, 'status') && !hasOwnerProperty(item, 'arrowComponent')) {
3037
3122
  allArrows.push(item);
3038
3123
  }
3039
3124
  return item;
3040
3125
  });
3041
3126
  const checkedOpenableRowArrow = checkedOpenableRow.map(item => {
3042
- if (hasOwnerProperty$1(item, 'arrowComponent')) {
3127
+ if (hasOwnerProperty(item, 'arrowComponent')) {
3043
3128
  if (single && single.status === 'close') {
3044
3129
  item.status = 'close';
3045
3130
  } else if (single && single.status === 'open') {
@@ -3048,7 +3133,7 @@ const Table = ({
3048
3133
  }
3049
3134
  }
3050
3135
  }
3051
- if (hasOwnerProperty$1(clickableItem, 'theSame') && hasOwnerProperty$1(item, 'theSame') && clickableItem.theSame === item.theSame) {
3136
+ if (hasOwnerProperty(clickableItem, 'theSame') && hasOwnerProperty(item, 'theSame') && clickableItem.theSame === item.theSame) {
3052
3137
  item.status = clickableItem.status;
3053
3138
  }
3054
3139
  return item;
@@ -3072,7 +3157,7 @@ const Table = ({
3072
3157
  });
3073
3158
  const checkedOpenableAllRowsBody = body.map(innerItem => {
3074
3159
  return innerItem.map(iElem => {
3075
- if (hasOwnerProperty$1(iElem, 'status')) {
3160
+ if (hasOwnerProperty(iElem, 'status')) {
3076
3161
  if (item.status === 'open') {
3077
3162
  iElem.status = 'open';
3078
3163
  } else {
@@ -3089,7 +3174,7 @@ const Table = ({
3089
3174
  e.stopPropagation();
3090
3175
  const checkBodyMore = body.map((elemItem, elemIndex) => {
3091
3176
  return elemItem.map((elemInnerItem, elemInnerIndex) => {
3092
- if (elemIndex === index && hasOwnerProperty$1(elemInnerItem, 'dots')) {
3177
+ if (elemIndex === index && hasOwnerProperty(elemInnerItem, 'dots')) {
3093
3178
  if (elemInnerIndex === innerIndex) {
3094
3179
  if (item.dotsStatus === 'deActive') {
3095
3180
  elemInnerItem.dotsStatus = 'active';
@@ -3097,7 +3182,7 @@ const Table = ({
3097
3182
  elemInnerItem.dotsStatus = 'deActive';
3098
3183
  }
3099
3184
  }
3100
- } else if (elemIndex !== index && hasOwnerProperty$1(elemInnerItem, 'dots')) {
3185
+ } else if (elemIndex !== index && hasOwnerProperty(elemInnerItem, 'dots')) {
3101
3186
  if (elemInnerIndex === innerIndex) {
3102
3187
  elemInnerItem.dotsStatus = 'deActive';
3103
3188
  }
@@ -3146,7 +3231,7 @@ const Table = ({
3146
3231
  const handleTableClick = () => {
3147
3232
  const checkBodyMore = body.map(elemItem => {
3148
3233
  return elemItem.map(elemInnerItem => {
3149
- if (hasOwnerProperty$1(elemInnerItem, 'dots')) {
3234
+ if (hasOwnerProperty(elemInnerItem, 'dots')) {
3150
3235
  elemInnerItem.dotsStatus = 'deActive';
3151
3236
  }
3152
3237
  return elemInnerItem;
@@ -3163,8 +3248,8 @@ const Table = ({
3163
3248
  const checkForInsertArrow = handleTransformDataForInsertArrow(checkBodyForChackedItems, arrowColumnCount, 'body');
3164
3249
  const insert = checkForInsertArrow.map((item, index) => {
3165
3250
  item.map((innerItem, innerIndex) => {
3166
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
3167
- if (hasOwnerProperty$1(innerItem.checkBox, 'disabled')) {
3251
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
3252
+ if (hasOwnerProperty(innerItem.checkBox, 'disabled')) {
3168
3253
  if (innerItem.checkBox.disabled === true) {
3169
3254
  if (!disabledArray[innerIndex]) {
3170
3255
  disabledArray[innerIndex] = {
@@ -3183,8 +3268,8 @@ const Table = ({
3183
3268
  } else {
3184
3269
  const insert = checkBodyForChackedItems.map((item, index) => {
3185
3270
  item.map((innerItem, innerIndex) => {
3186
- if (hasOwnerProperty$1(innerItem, 'checkBox')) {
3187
- if (hasOwnerProperty$1(innerItem.checkBox, 'disabled')) {
3271
+ if (hasOwnerProperty(innerItem, 'checkBox')) {
3272
+ if (hasOwnerProperty(innerItem.checkBox, 'disabled')) {
3188
3273
  if (innerItem.checkBox.disabled === true) {
3189
3274
  if (!disabledArray[innerIndex]) {
3190
3275
  disabledArray[innerIndex] = {
@@ -3533,11 +3618,6 @@ const Modal = ({
3533
3618
  handleCloseModal();
3534
3619
  }
3535
3620
  };
3536
- const handleOpenInNewTab = url => {
3537
- const imageLink = document.createElement('a');
3538
- imageLink.href = url, imageLink.target = '_blank';
3539
- imageLink.click();
3540
- };
3541
3621
  const handleMouseEnter = () => {
3542
3622
  setIsHover(true);
3543
3623
  };
@@ -3708,7 +3788,7 @@ const Modal = ({
3708
3788
  }
3709
3789
  }, innerData && innerData.length > 0 && innerData.map((item, index) => {
3710
3790
  if (select === index) {
3711
- if (!hasOwnerProperty$1(item, 'url')) {
3791
+ if (!hasOwnerProperty(item, 'url')) {
3712
3792
  alert('Please add url property in data prop on each element');
3713
3793
  } else {
3714
3794
  return /*#__PURE__*/React__default["default"].createElement("span", {
@@ -3740,7 +3820,7 @@ const Modal = ({
3740
3820
  alignItems: 'center',
3741
3821
  justifyContent: 'center'
3742
3822
  },
3743
- onClick: () => handleOpenInNewTab(item.url)
3823
+ onClick: () => handleUtilsOpenInNewTab(item.url)
3744
3824
  }, zoomIcon ? zoomIcon : configStyles.MODAL.icon.zoom ? configStyles.MODAL.icon.zoom : /*#__PURE__*/React__default["default"].createElement(SvgZoom, null)) : '');
3745
3825
  }
3746
3826
  }
@@ -3816,60 +3896,6 @@ Modal.propTypes = {
3816
3896
  closeAreaBackgroundColor: PropTypes__default["default"].string
3817
3897
  };
3818
3898
 
3819
- const handleCheckTypeTel = (val, prevVal) => {
3820
- const phoneNumberRegex = /^\d{0,8}$/;
3821
- if (!phoneNumberRegex.test(val)) {
3822
- val = prevVal;
3823
- }
3824
- return val;
3825
- };
3826
- const handleCheckTypeNumber = (val, prevVal, maxLength, floatToFix, maxNumSize, withoutDot, innerMinNumSize) => {
3827
- if (maxLength && maxLength > 0) {
3828
- if (val.length > maxLength) {
3829
- val = val.substr(0, maxLength);
3830
- }
3831
- } else {
3832
- const regNum = floatToFix && floatToFix >= 0 ? /^\d+(\.)?(\d+)?$/ : /^\d+$/;
3833
- if (val.length > 16 && !val.includes('.')) {
3834
- val = val.substr(0, 16);
3835
- }
3836
- if (val < Number.MIN_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER || innerMinNumSize && val < innerMinNumSize || maxNumSize && val > maxNumSize) {
3837
- val = prevVal;
3838
- }
3839
- const floatNumParts = typeof val === 'string' ? val.split('.') : val;
3840
- const int = floatNumParts[0];
3841
- const float = floatNumParts[1];
3842
- if (floatToFix > 0) {
3843
- if (float && float.length > 0) {
3844
- let floatResult = '';
3845
- [...float].map((item, index) => {
3846
- if (index + 1 <= floatToFix) {
3847
- floatResult += item;
3848
- }
3849
- });
3850
- floatResult !== '' ? val = `${int}.${floatResult}` : val = `${int}`;
3851
- }
3852
- } else {
3853
- if (floatNumParts && floatNumParts.length > 0 && floatToFix === 0) {
3854
- val = `${int}`;
3855
- }
3856
- }
3857
- if (!regNum.test(val)) {
3858
- const newStr = val.replace(/[^0-9.]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
3859
- return b + c.replace(/\./g, '');
3860
- });
3861
- val = newStr;
3862
- }
3863
- }
3864
- if (withoutDot && !/^\d+$/.test(val)) {
3865
- const newStr = val.replace(/[^0-9]/g, '').replace(/^([^.]*\.)(.*)$/, function (_, b, c) {
3866
- return b + c.replace(/\./g, '');
3867
- });
3868
- val = newStr;
3869
- }
3870
- return val;
3871
- };
3872
-
3873
3899
  const TelInput = ({
3874
3900
  type,
3875
3901
  value,
@@ -3893,7 +3919,7 @@ const TelInput = ({
3893
3919
  const handleChange = event => {
3894
3920
  let prevValue = innerValue;
3895
3921
  let currentValue = event.target.value;
3896
- currentValue = handleCheckTypeTel(currentValue, prevValue);
3922
+ currentValue = handleUtilsCheckTypeTel(currentValue, prevValue);
3897
3923
  setInnerValue(() => currentValue);
3898
3924
  if (inputChange && currentValue !== prevValue) {
3899
3925
  inputChange(currentValue);
@@ -3902,7 +3928,7 @@ const TelInput = ({
3902
3928
  React.useEffect(() => {
3903
3929
  let newValue = '';
3904
3930
  if (value !== undefined && value !== null) {
3905
- newValue = handleCheckTypeTel(value, newValue);
3931
+ newValue = handleUtilsCheckTypeTel(value, newValue);
3906
3932
  }
3907
3933
  setInnerValue(() => newValue);
3908
3934
  }, [value]);
@@ -4056,7 +4082,7 @@ const NumberInput = ({
4056
4082
  let prevValue = innerValue;
4057
4083
  let currentValue = event.target.value;
4058
4084
  const max = maxLength ? maxLength : null;
4059
- currentValue = handleCheckTypeNumber(currentValue, prevValue, max, float, maxNumSize, dots, innerMinNumSize);
4085
+ currentValue = handleUtilsCheckTypeNumber(currentValue, prevValue, max, float, maxNumSize, dots, innerMinNumSize);
4060
4086
  setInnerValue(() => currentValue);
4061
4087
  if (inputChange && currentValue !== prevValue) {
4062
4088
  inputChange(currentValue);
@@ -4080,7 +4106,7 @@ const NumberInput = ({
4080
4106
  let newValue = '';
4081
4107
  if (value !== undefined && value !== null) {
4082
4108
  const max = maxLength ? maxLength : null;
4083
- newValue = handleCheckTypeNumber(value, newValue, max, float, maxNumSize, dots, innerMinNumSize);
4109
+ newValue = handleUtilsCheckTypeNumber(value, newValue, max, float, maxNumSize, dots, innerMinNumSize);
4084
4110
  }
4085
4111
  setInnerValue(() => newValue);
4086
4112
  }, [dots, value, float, maxNumSize, minNumSize]);
@@ -4439,30 +4465,6 @@ Input.propTypes = {
4439
4465
  value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number, PropTypes__default["default"].object])
4440
4466
  };
4441
4467
 
4442
- const hasOwnerProperty = (object, property) => {
4443
- return Object.prototype.hasOwnProperty.call(object, property);
4444
- };
4445
- const handleUtilsMouseEnterLeave = (e, behaviourStyle) => {
4446
- if (typeof behaviourStyle !== 'object' || behaviourStyle === null || behaviourStyle === undefined) {
4447
- alert('Please set a second param of handleUtilsMouseEnter function as valid object');
4448
- return;
4449
- }
4450
- if (!hasOwnerProperty(e, 'target')) {
4451
- alert('Please set a valid object like DOM event');
4452
- return;
4453
- }
4454
- const existStyle = e.target.style;
4455
- if (typeof existStyle !== 'object' || existStyle === null) {
4456
- alert('Please set a valid style object in DOM event tergat');
4457
- return;
4458
- }
4459
- for (const property in behaviourStyle) {
4460
- if (existStyle[property]) {
4461
- existStyle[property] = behaviourStyle[property];
4462
- }
4463
- }
4464
- };
4465
-
4466
4468
  const RadioDirectionMode = {
4467
4469
  VERTICAL: 'vertical',
4468
4470
  HORINZONTAL: 'horizontal'
@@ -4762,7 +4764,7 @@ const Select = ({
4762
4764
  onChange({});
4763
4765
  setNewSelected([]);
4764
4766
  const clearedOptions = existOptions && existOptions.length > 0 && existOptions.map(item => {
4765
- if (hasOwnerProperty$1(item, 'checked')) {
4767
+ if (hasOwnerProperty(item, 'checked')) {
4766
4768
  item.checked = false;
4767
4769
  }
4768
4770
  return item;
@@ -4812,7 +4814,7 @@ const Select = ({
4812
4814
  };
4813
4815
  const isObjectEmpty = obj => {
4814
4816
  for (var key in obj) {
4815
- if (hasOwnerProperty$1(obj, key)) {
4817
+ if (hasOwnerProperty(obj, key)) {
4816
4818
  return false;
4817
4819
  }
4818
4820
  }
@@ -5173,8 +5175,8 @@ const SvgToasterSuccess = ({
5173
5175
  fill: fillColor ? fillColor : '#0DA574'
5174
5176
  }));
5175
5177
 
5176
- 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}}";
5177
- 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"};
5178
+ 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}}";
5179
+ 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"};
5178
5180
  styleInject(css_248z$6);
5179
5181
 
5180
5182
  let wWidth$1 = window.innerWidth;
@@ -6784,7 +6786,7 @@ const Autocomplete = ({
6784
6786
  alert('Please add options prop');
6785
6787
  }
6786
6788
  options && options.length > 0 && options.map(item => {
6787
- if (!hasOwnerProperty$1(item, keyNames.name)) {
6789
+ if (!hasOwnerProperty(item, keyNames.name)) {
6788
6790
  alert(`Please add ${keyNames.name} property in items of options array`);
6789
6791
  }
6790
6792
  });