hplx-react-elements-dev 1.0.53 → 1.0.55

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.
@@ -26,3 +26,4 @@ export { default as MessageToast } from "./messageToast/MessageToast";
26
26
  export { default as NestedDropdown } from "./nestedDropdown/NestedDropdown";
27
27
  export { default as DatePicker } from "./datePicker/DatePicker";
28
28
  export { default as DoubleInput } from "./doubleInput/DoubleInput";
29
+ export { default as InputTag } from "./inputTag/InputTag";
package/dist/esm/index.js CHANGED
@@ -78,15 +78,15 @@ var objectPropertyIsEnumerable = {};
78
78
 
79
79
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
80
80
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
81
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
81
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
82
82
 
83
83
  // Nashorn ~ JDK8 bug
84
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
84
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
85
85
 
86
86
  // `Object.prototype.propertyIsEnumerable` method implementation
87
87
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
88
88
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
89
- var descriptor = getOwnPropertyDescriptor$1(this, V);
89
+ var descriptor = getOwnPropertyDescriptor$2(this, V);
90
90
  return !!descriptor && descriptor.enumerable;
91
91
  } : $propertyIsEnumerable;
92
92
 
@@ -104,31 +104,31 @@ var NATIVE_BIND$1 = functionBindNative;
104
104
  var FunctionPrototype$2 = Function.prototype;
105
105
  var bind = FunctionPrototype$2.bind;
106
106
  var call$9 = FunctionPrototype$2.call;
107
- var uncurryThis$j = NATIVE_BIND$1 && bind.bind(call$9, call$9);
107
+ var uncurryThis$k = NATIVE_BIND$1 && bind.bind(call$9, call$9);
108
108
 
109
109
  var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
110
- return fn && uncurryThis$j(fn);
110
+ return fn && uncurryThis$k(fn);
111
111
  } : function (fn) {
112
112
  return fn && function () {
113
113
  return call$9.apply(fn, arguments);
114
114
  };
115
115
  };
116
116
 
117
- var uncurryThis$i = functionUncurryThis;
117
+ var uncurryThis$j = functionUncurryThis;
118
118
 
119
- var toString$8 = uncurryThis$i({}.toString);
120
- var stringSlice$4 = uncurryThis$i(''.slice);
119
+ var toString$9 = uncurryThis$j({}.toString);
120
+ var stringSlice$4 = uncurryThis$j(''.slice);
121
121
 
122
122
  var classofRaw$1 = function (it) {
123
- return stringSlice$4(toString$8(it), 8, -1);
123
+ return stringSlice$4(toString$9(it), 8, -1);
124
124
  };
125
125
 
126
- var uncurryThis$h = functionUncurryThis;
126
+ var uncurryThis$i = functionUncurryThis;
127
127
  var fails$f = fails$i;
128
128
  var classof$6 = classofRaw$1;
129
129
 
130
130
  var $Object$3 = Object;
131
- var split = uncurryThis$h(''.split);
131
+ var split = uncurryThis$i(''.split);
132
132
 
133
133
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
134
134
  var indexedObject = fails$f(function () {
@@ -143,17 +143,17 @@ var $TypeError$8 = TypeError;
143
143
 
144
144
  // `RequireObjectCoercible` abstract operation
145
145
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
146
- var requireObjectCoercible$6 = function (it) {
146
+ var requireObjectCoercible$7 = function (it) {
147
147
  if (it == undefined) throw $TypeError$8("Can't call method on " + it);
148
148
  return it;
149
149
  };
150
150
 
151
151
  // toObject with fallback for non-array-like ES3 strings
152
152
  var IndexedObject = indexedObject;
153
- var requireObjectCoercible$5 = requireObjectCoercible$6;
153
+ var requireObjectCoercible$6 = requireObjectCoercible$7;
154
154
 
155
155
  var toIndexedObject$4 = function (it) {
156
- return IndexedObject(requireObjectCoercible$5(it));
156
+ return IndexedObject(requireObjectCoercible$6(it));
157
157
  };
158
158
 
159
159
  // `IsCallable` abstract operation
@@ -179,9 +179,9 @@ var getBuiltIn$6 = function (namespace, method) {
179
179
  return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
180
180
  };
181
181
 
182
- var uncurryThis$g = functionUncurryThis;
182
+ var uncurryThis$h = functionUncurryThis;
183
183
 
184
- var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
184
+ var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
185
185
 
186
186
  var getBuiltIn$5 = getBuiltIn$6;
187
187
 
@@ -333,20 +333,20 @@ var store$2 = sharedStore;
333
333
  source: 'https://github.com/zloirock/core-js'
334
334
  });
335
335
 
336
- var requireObjectCoercible$4 = requireObjectCoercible$6;
336
+ var requireObjectCoercible$5 = requireObjectCoercible$7;
337
337
 
338
338
  var $Object$1 = Object;
339
339
 
340
340
  // `ToObject` abstract operation
341
341
  // https://tc39.es/ecma262/#sec-toobject
342
342
  var toObject$1 = function (argument) {
343
- return $Object$1(requireObjectCoercible$4(argument));
343
+ return $Object$1(requireObjectCoercible$5(argument));
344
344
  };
345
345
 
346
- var uncurryThis$f = functionUncurryThis;
346
+ var uncurryThis$g = functionUncurryThis;
347
347
  var toObject = toObject$1;
348
348
 
349
- var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
349
+ var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
350
350
 
351
351
  // `HasOwnProperty` abstract operation
352
352
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -355,14 +355,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
355
355
  return hasOwnProperty(toObject(it), key);
356
356
  };
357
357
 
358
- var uncurryThis$e = functionUncurryThis;
358
+ var uncurryThis$f = functionUncurryThis;
359
359
 
360
360
  var id = 0;
361
361
  var postfix = Math.random();
362
- var toString$7 = uncurryThis$e(1.0.toString);
362
+ var toString$8 = uncurryThis$f(1.0.toString);
363
363
 
364
364
  var uid$2 = function (key) {
365
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);
365
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id + postfix, 36);
366
366
  };
367
367
 
368
368
  var global$9 = global$e;
@@ -573,11 +573,11 @@ var functionName = {
573
573
  CONFIGURABLE: CONFIGURABLE
574
574
  };
575
575
 
576
- var uncurryThis$d = functionUncurryThis;
576
+ var uncurryThis$e = functionUncurryThis;
577
577
  var isCallable$9 = isCallable$f;
578
578
  var store$1 = sharedStore;
579
579
 
580
- var functionToString = uncurryThis$d(Function.toString);
580
+ var functionToString = uncurryThis$e(Function.toString);
581
581
 
582
582
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
583
583
  if (!isCallable$9(store$1.inspectSource)) {
@@ -609,7 +609,7 @@ var hiddenKeys$4 = {};
609
609
 
610
610
  var NATIVE_WEAK_MAP = nativeWeakMap;
611
611
  var global$6 = global$e;
612
- var uncurryThis$c = functionUncurryThis;
612
+ var uncurryThis$d = functionUncurryThis;
613
613
  var isObject$2 = isObject$7;
614
614
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
615
615
  var hasOwn$5 = hasOwnProperty_1;
@@ -637,9 +637,9 @@ var getterFor = function (TYPE) {
637
637
 
638
638
  if (NATIVE_WEAK_MAP || shared$1.state) {
639
639
  var store = shared$1.state || (shared$1.state = new WeakMap$1());
640
- var wmget = uncurryThis$c(store.get);
641
- var wmhas = uncurryThis$c(store.has);
642
- var wmset = uncurryThis$c(store.set);
640
+ var wmget = uncurryThis$d(store.get);
641
+ var wmhas = uncurryThis$d(store.has);
642
+ var wmset = uncurryThis$d(store.set);
643
643
  set = function (it, metadata) {
644
644
  if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
645
645
  metadata.facade = it;
@@ -781,32 +781,32 @@ var toIntegerOrInfinity$3 = function (argument) {
781
781
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
782
782
 
783
783
  var max$3 = Math.max;
784
- var min$4 = Math.min;
784
+ var min$5 = Math.min;
785
785
 
786
786
  // Helper for a popular repeating case of the spec:
787
787
  // Let integer be ? ToInteger(index).
788
788
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
789
789
  var toAbsoluteIndex$2 = function (index, length) {
790
790
  var integer = toIntegerOrInfinity$2(index);
791
- return integer < 0 ? max$3(integer + length, 0) : min$4(integer, length);
791
+ return integer < 0 ? max$3(integer + length, 0) : min$5(integer, length);
792
792
  };
793
793
 
794
794
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
795
795
 
796
- var min$3 = Math.min;
796
+ var min$4 = Math.min;
797
797
 
798
798
  // `ToLength` abstract operation
799
799
  // https://tc39.es/ecma262/#sec-tolength
800
- var toLength$2 = function (argument) {
801
- return argument > 0 ? min$3(toIntegerOrInfinity$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
800
+ var toLength$3 = function (argument) {
801
+ return argument > 0 ? min$4(toIntegerOrInfinity$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
802
802
  };
803
803
 
804
- var toLength$1 = toLength$2;
804
+ var toLength$2 = toLength$3;
805
805
 
806
806
  // `LengthOfArrayLike` abstract operation
807
807
  // https://tc39.es/ecma262/#sec-lengthofarraylike
808
808
  var lengthOfArrayLike$2 = function (obj) {
809
- return toLength$1(obj.length);
809
+ return toLength$2(obj.length);
810
810
  };
811
811
 
812
812
  var toIndexedObject$2 = toIndexedObject$4;
@@ -842,13 +842,13 @@ var arrayIncludes = {
842
842
  indexOf: createMethod$2(false)
843
843
  };
844
844
 
845
- var uncurryThis$b = functionUncurryThis;
845
+ var uncurryThis$c = functionUncurryThis;
846
846
  var hasOwn$3 = hasOwnProperty_1;
847
847
  var toIndexedObject$1 = toIndexedObject$4;
848
848
  var indexOf$1 = arrayIncludes.indexOf;
849
849
  var hiddenKeys$2 = hiddenKeys$4;
850
850
 
851
- var push$1 = uncurryThis$b([].push);
851
+ var push$1 = uncurryThis$c([].push);
852
852
 
853
853
  var objectKeysInternal = function (object, names) {
854
854
  var O = toIndexedObject$1(object);
@@ -892,12 +892,12 @@ var objectGetOwnPropertySymbols = {};
892
892
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
893
893
 
894
894
  var getBuiltIn$3 = getBuiltIn$6;
895
- var uncurryThis$a = functionUncurryThis;
895
+ var uncurryThis$b = functionUncurryThis;
896
896
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
897
897
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
898
898
  var anObject$7 = anObject$9;
899
899
 
900
- var concat = uncurryThis$a([].concat);
900
+ var concat = uncurryThis$b([].concat);
901
901
 
902
902
  // all object keys, includes non-enumerable and symbols
903
903
  var ownKeys$8 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -947,7 +947,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
947
947
  var isForced_1 = isForced$1;
948
948
 
949
949
  var global$5 = global$e;
950
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
950
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
951
951
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
952
952
  var defineBuiltIn$2 = defineBuiltIn$3;
953
953
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -984,7 +984,7 @@ var _export = function (options, source) {
984
984
  if (target) for (key in source) {
985
985
  sourceProperty = source[key];
986
986
  if (options.dontCallGetSet) {
987
- descriptor = getOwnPropertyDescriptor(target, key);
987
+ descriptor = getOwnPropertyDescriptor$1(target, key);
988
988
  targetProperty = descriptor && descriptor.value;
989
989
  } else targetProperty = target[key];
990
990
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1001,6 +1001,130 @@ var _export = function (options, source) {
1001
1001
  }
1002
1002
  };
1003
1003
 
1004
+ var wellKnownSymbol$6 = wellKnownSymbol$8;
1005
+
1006
+ var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
1007
+ var test = {};
1008
+
1009
+ test[TO_STRING_TAG$1] = 'z';
1010
+
1011
+ var toStringTagSupport = String(test) === '[object z]';
1012
+
1013
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1014
+ var isCallable$4 = isCallable$f;
1015
+ var classofRaw = classofRaw$1;
1016
+ var wellKnownSymbol$5 = wellKnownSymbol$8;
1017
+
1018
+ var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
1019
+ var $Object = Object;
1020
+
1021
+ // ES3 wrong here
1022
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1023
+
1024
+ // fallback for IE11 Script Access Denied error
1025
+ var tryGet = function (it, key) {
1026
+ try {
1027
+ return it[key];
1028
+ } catch (error) { /* empty */ }
1029
+ };
1030
+
1031
+ // getting tag from ES6+ `Object.prototype.toString`
1032
+ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1033
+ var O, tag, result;
1034
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1035
+ // @@toStringTag case
1036
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1037
+ // builtinTag case
1038
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1039
+ // ES3 arguments fallback
1040
+ : (result = classofRaw(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
1041
+ };
1042
+
1043
+ var classof$4 = classof$5;
1044
+
1045
+ var $String = String;
1046
+
1047
+ var toString$7 = function (argument) {
1048
+ if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1049
+ return $String(argument);
1050
+ };
1051
+
1052
+ var isObject$1 = isObject$7;
1053
+ var classof$3 = classofRaw$1;
1054
+ var wellKnownSymbol$4 = wellKnownSymbol$8;
1055
+
1056
+ var MATCH$1 = wellKnownSymbol$4('match');
1057
+
1058
+ // `IsRegExp` abstract operation
1059
+ // https://tc39.es/ecma262/#sec-isregexp
1060
+ var isRegexp = function (it) {
1061
+ var isRegExp;
1062
+ return isObject$1(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) == 'RegExp');
1063
+ };
1064
+
1065
+ var isRegExp$1 = isRegexp;
1066
+
1067
+ var $TypeError$2 = TypeError;
1068
+
1069
+ var notARegexp = function (it) {
1070
+ if (isRegExp$1(it)) {
1071
+ throw $TypeError$2("The method doesn't accept regular expressions");
1072
+ } return it;
1073
+ };
1074
+
1075
+ var wellKnownSymbol$3 = wellKnownSymbol$8;
1076
+
1077
+ var MATCH = wellKnownSymbol$3('match');
1078
+
1079
+ var correctIsRegexpLogic = function (METHOD_NAME) {
1080
+ var regexp = /./;
1081
+ try {
1082
+ '/./'[METHOD_NAME](regexp);
1083
+ } catch (error1) {
1084
+ try {
1085
+ regexp[MATCH] = false;
1086
+ return '/./'[METHOD_NAME](regexp);
1087
+ } catch (error2) { /* empty */ }
1088
+ } return false;
1089
+ };
1090
+
1091
+ var $$6 = _export;
1092
+ var uncurryThis$a = functionUncurryThis;
1093
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1094
+ var toLength$1 = toLength$3;
1095
+ var toString$6 = toString$7;
1096
+ var notARegExp$1 = notARegexp;
1097
+ var requireObjectCoercible$4 = requireObjectCoercible$7;
1098
+ var correctIsRegExpLogic$1 = correctIsRegexpLogic;
1099
+
1100
+ // eslint-disable-next-line es-x/no-string-prototype-endswith -- safe
1101
+ var un$EndsWith = uncurryThis$a(''.endsWith);
1102
+ var slice = uncurryThis$a(''.slice);
1103
+ var min$3 = Math.min;
1104
+
1105
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic$1('endsWith');
1106
+ // https://github.com/zloirock/core-js/pull/702
1107
+ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
1108
+ var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
1109
+ return descriptor && !descriptor.writable;
1110
+ }();
1111
+
1112
+ // `String.prototype.endsWith` method
1113
+ // https://tc39.es/ecma262/#sec-string.prototype.endswith
1114
+ $$6({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
1115
+ endsWith: function endsWith(searchString /* , endPosition = @length */) {
1116
+ var that = toString$6(requireObjectCoercible$4(this));
1117
+ notARegExp$1(searchString);
1118
+ var endPosition = arguments.length > 1 ? arguments[1] : undefined;
1119
+ var len = that.length;
1120
+ var end = endPosition === undefined ? len : min$3(toLength$1(endPosition), len);
1121
+ var search = toString$6(searchString);
1122
+ return un$EndsWith
1123
+ ? un$EndsWith(that, search, end)
1124
+ : slice(that, end - search.length, end) === search;
1125
+ }
1126
+ });
1127
+
1004
1128
  var objectDefineProperties = {};
1005
1129
 
1006
1130
  var internalObjectKeys = objectKeysInternal;
@@ -1123,11 +1247,11 @@ var objectCreate = Object.create || function create(O, Properties) {
1123
1247
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1124
1248
  };
1125
1249
 
1126
- var wellKnownSymbol$6 = wellKnownSymbol$8;
1250
+ var wellKnownSymbol$2 = wellKnownSymbol$8;
1127
1251
  var create$1 = objectCreate;
1128
1252
  var defineProperty$1 = objectDefineProperty.f;
1129
1253
 
1130
- var UNSCOPABLES = wellKnownSymbol$6('unscopables');
1254
+ var UNSCOPABLES = wellKnownSymbol$2('unscopables');
1131
1255
  var ArrayPrototype = Array.prototype;
1132
1256
 
1133
1257
  // Array.prototype[@@unscopables]
@@ -1165,98 +1289,11 @@ $$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1165
1289
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1166
1290
  addToUnscopables('includes');
1167
1291
 
1168
- var isObject$1 = isObject$7;
1169
- var classof$5 = classofRaw$1;
1170
- var wellKnownSymbol$5 = wellKnownSymbol$8;
1171
-
1172
- var MATCH$1 = wellKnownSymbol$5('match');
1173
-
1174
- // `IsRegExp` abstract operation
1175
- // https://tc39.es/ecma262/#sec-isregexp
1176
- var isRegexp = function (it) {
1177
- var isRegExp;
1178
- return isObject$1(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
1179
- };
1180
-
1181
- var isRegExp$1 = isRegexp;
1182
-
1183
- var $TypeError$2 = TypeError;
1184
-
1185
- var notARegexp = function (it) {
1186
- if (isRegExp$1(it)) {
1187
- throw $TypeError$2("The method doesn't accept regular expressions");
1188
- } return it;
1189
- };
1190
-
1191
- var wellKnownSymbol$4 = wellKnownSymbol$8;
1192
-
1193
- var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1194
- var test = {};
1195
-
1196
- test[TO_STRING_TAG$1] = 'z';
1197
-
1198
- var toStringTagSupport = String(test) === '[object z]';
1199
-
1200
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1201
- var isCallable$4 = isCallable$f;
1202
- var classofRaw = classofRaw$1;
1203
- var wellKnownSymbol$3 = wellKnownSymbol$8;
1204
-
1205
- var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1206
- var $Object = Object;
1207
-
1208
- // ES3 wrong here
1209
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1210
-
1211
- // fallback for IE11 Script Access Denied error
1212
- var tryGet = function (it, key) {
1213
- try {
1214
- return it[key];
1215
- } catch (error) { /* empty */ }
1216
- };
1217
-
1218
- // getting tag from ES6+ `Object.prototype.toString`
1219
- var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1220
- var O, tag, result;
1221
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1222
- // @@toStringTag case
1223
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1224
- // builtinTag case
1225
- : CORRECT_ARGUMENTS ? classofRaw(O)
1226
- // ES3 arguments fallback
1227
- : (result = classofRaw(O)) == 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
1228
- };
1229
-
1230
- var classof$3 = classof$4;
1231
-
1232
- var $String = String;
1233
-
1234
- var toString$6 = function (argument) {
1235
- if (classof$3(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1236
- return $String(argument);
1237
- };
1238
-
1239
- var wellKnownSymbol$2 = wellKnownSymbol$8;
1240
-
1241
- var MATCH = wellKnownSymbol$2('match');
1242
-
1243
- var correctIsRegexpLogic = function (METHOD_NAME) {
1244
- var regexp = /./;
1245
- try {
1246
- '/./'[METHOD_NAME](regexp);
1247
- } catch (error1) {
1248
- try {
1249
- regexp[MATCH] = false;
1250
- return '/./'[METHOD_NAME](regexp);
1251
- } catch (error2) { /* empty */ }
1252
- } return false;
1253
- };
1254
-
1255
1292
  var $$4 = _export;
1256
1293
  var uncurryThis$9 = functionUncurryThis;
1257
1294
  var notARegExp = notARegexp;
1258
- var requireObjectCoercible$3 = requireObjectCoercible$6;
1259
- var toString$5 = toString$6;
1295
+ var requireObjectCoercible$3 = requireObjectCoercible$7;
1296
+ var toString$5 = toString$7;
1260
1297
  var correctIsRegExpLogic = correctIsRegexpLogic;
1261
1298
 
1262
1299
  var stringIndexOf = uncurryThis$9(''.indexOf);
@@ -1349,7 +1386,7 @@ var regexpUnsupportedNcg = fails$6(function () {
1349
1386
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1350
1387
  var call$5 = functionCall;
1351
1388
  var uncurryThis$8 = functionUncurryThis;
1352
- var toString$4 = toString$6;
1389
+ var toString$4 = toString$7;
1353
1390
  var regexpFlags = regexpFlags$1;
1354
1391
  var stickyHelpers$1 = regexpStickyHelpers;
1355
1392
  var shared = shared$4.exports;
@@ -1559,7 +1596,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1559
1596
  var uncurryThis$6 = functionUncurryThis;
1560
1597
  var fails$4 = fails$i;
1561
1598
  var isCallable$3 = isCallable$f;
1562
- var classof$2 = classof$4;
1599
+ var classof$2 = classof$5;
1563
1600
  var getBuiltIn$1 = getBuiltIn$6;
1564
1601
  var inspectSource = inspectSource$3;
1565
1602
 
@@ -1636,8 +1673,8 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
1636
1673
 
1637
1674
  var uncurryThis$5 = functionUncurryThis;
1638
1675
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
1639
- var toString$3 = toString$6;
1640
- var requireObjectCoercible$2 = requireObjectCoercible$6;
1676
+ var toString$3 = toString$7;
1677
+ var requireObjectCoercible$2 = requireObjectCoercible$7;
1641
1678
 
1642
1679
  var charAt$2 = uncurryThis$5(''.charAt);
1643
1680
  var charCodeAt$1 = uncurryThis$5(''.charCodeAt);
@@ -1733,11 +1770,11 @@ var uncurryThis$4 = functionUncurryThis;
1733
1770
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1734
1771
  var isRegExp = isRegexp;
1735
1772
  var anObject$1 = anObject$9;
1736
- var requireObjectCoercible$1 = requireObjectCoercible$6;
1773
+ var requireObjectCoercible$1 = requireObjectCoercible$7;
1737
1774
  var speciesConstructor = speciesConstructor$1;
1738
1775
  var advanceStringIndex = advanceStringIndex$1;
1739
- var toLength = toLength$2;
1740
- var toString$2 = toString$6;
1776
+ var toLength = toLength$3;
1777
+ var toString$2 = toString$7;
1741
1778
  var getMethod = getMethod$2;
1742
1779
  var arraySlice$2 = arraySliceSimple;
1743
1780
  var callRegExpExec = regexpExecAbstract;
@@ -1919,6 +1956,16 @@ function __rest(s, e) {
1919
1956
  t[p[i]] = s[p[i]];
1920
1957
  }
1921
1958
  return t;
1959
+ }
1960
+
1961
+ function __spreadArray(to, from, pack) {
1962
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
1963
+ if (ar || !(i in from)) {
1964
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
1965
+ ar[i] = from[i];
1966
+ }
1967
+ }
1968
+ return to.concat(ar || Array.prototype.slice.call(from));
1922
1969
  }
1923
1970
 
1924
1971
  var jsxRuntime = {exports: {}};
@@ -2120,6 +2167,8 @@ var DropdownItems = function DropdownItems(_a) {
2120
2167
  }));
2121
2168
  };
2122
2169
 
2170
+ var emailProviders = ["gmail.com", "outlook.com", "yahoo.co.in", "yahoo.com", "hotmail.com"];
2171
+
2123
2172
  var InputField = function InputField(_a) {
2124
2173
  var label = _a.label,
2125
2174
  labelColor = _a.labelColor,
@@ -2152,28 +2201,39 @@ var InputField = function InputField(_a) {
2152
2201
  fieldColor = _a.fieldColor,
2153
2202
  _h = _a.handleSuffixClick,
2154
2203
  handleSuffixClick = _h === void 0 ? function (_) {} : _h,
2155
- className = _a.className;
2156
-
2157
- var _j = inputProps || {},
2158
- disabled = _j.disabled,
2159
- onFocus = _j.onFocus,
2160
- onBlur = _j.onBlur;
2204
+ className = _a.className,
2205
+ _j = _a.showEmailSuggestions,
2206
+ showEmailSuggestions = _j === void 0 ? false : _j;
2161
2207
 
2162
- var _k = useState(false),
2163
- active = _k[0],
2164
- setActive = _k[1];
2208
+ var _k = inputProps || {},
2209
+ disabled = _k.disabled,
2210
+ onFocus = _k.onFocus,
2211
+ onBlur = _k.onBlur,
2212
+ onChange = _k.onChange;
2165
2213
 
2166
2214
  var _l = useState(false),
2167
- showSuffixDropdown = _l[0],
2168
- setShowSuffixDropdown = _l[1];
2215
+ active = _l[0],
2216
+ setActive = _l[1];
2217
+
2218
+ var _m = useState(false),
2219
+ showSuffixDropdown = _m[0],
2220
+ setShowSuffixDropdown = _m[1];
2169
2221
 
2170
- var _m = useState(""),
2171
- suffixValue = _m[0],
2172
- setSuffixValue = _m[1];
2222
+ var _o = useState(""),
2223
+ suffixValue = _o[0],
2224
+ setSuffixValue = _o[1];
2173
2225
 
2174
- var _o = useState([]),
2175
- suffixFilterList = _o[0],
2176
- setSuffixFilterList = _o[1];
2226
+ var _p = useState([]),
2227
+ suffixFilterList = _p[0],
2228
+ setSuffixFilterList = _p[1];
2229
+
2230
+ var _q = useState(false),
2231
+ showEmailDropdown = _q[0],
2232
+ setShowEmailDropdown = _q[1];
2233
+
2234
+ var _r = useState(""),
2235
+ inputValue = _r[0],
2236
+ setInputValue = _r[1];
2177
2237
 
2178
2238
  var wrapperRef = useRef(null);
2179
2239
  useEffect(function () {
@@ -2191,6 +2251,40 @@ var InputField = function InputField(_a) {
2191
2251
  var handleBlur = function handleBlur(event) {
2192
2252
  setActive(false);
2193
2253
  onBlur && onBlur(event);
2254
+ }; // This function handles input change events and updates the state accordingly
2255
+
2256
+
2257
+ var handleInputChange = function handleInputChange(e) {
2258
+ var _a;
2259
+
2260
+ var inputValue = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value; // If the input value ends with "@", set the showEmailDropdown state to true
2261
+
2262
+ if (inputValue.endsWith("@")) {
2263
+ setShowEmailDropdown(true);
2264
+ } else {
2265
+ // Otherwise, set the showEmailDropdown state to false
2266
+ setShowEmailDropdown(false);
2267
+ } // Update the inputValue state
2268
+
2269
+
2270
+ setInputValue(inputValue);
2271
+ onChange && onChange(e);
2272
+ }; // This function handles email provider selections and updates the inputValue state accordingly
2273
+
2274
+
2275
+ var handleEmailProviderSelection = function handleEmailProviderSelection(selectedEmailProvider) {
2276
+ // Create a new updatedInputValue string by concatenating the selected email provider to the existing inputValue
2277
+ var updatedInputValue = "".concat(inputValue).concat(selectedEmailProvider); // Update the inputValue state with the new updatedInputValue
2278
+
2279
+ setInputValue(updatedInputValue); // Set the showEmailDropdown state to false
2280
+
2281
+ setShowEmailDropdown(false); // @ts-ignore
2282
+
2283
+ onChange && onChange({
2284
+ target: {
2285
+ value: updatedInputValue
2286
+ }
2287
+ });
2194
2288
  };
2195
2289
 
2196
2290
  var handleSuffixValueChange = function handleSuffixValueChange(e) {
@@ -2271,6 +2365,7 @@ var InputField = function InputField(_a) {
2271
2365
  className: start_icon
2272
2366
  })
2273
2367
  })), jsxRuntime.exports.jsx("input", __assign({
2368
+ value: inputValue,
2274
2369
  type: "text",
2275
2370
  style: {
2276
2371
  background: "".concat(fieldColor === null || fieldColor === void 0 ? void 0 : fieldColor.split("-")[1], " "),
@@ -2280,7 +2375,8 @@ var InputField = function InputField(_a) {
2280
2375
  "data-testid": "text-input"
2281
2376
  }, inputProps, {
2282
2377
  onFocus: handleFocus,
2283
- onBlur: handleBlur
2378
+ onBlur: handleBlur,
2379
+ onChange: handleInputChange
2284
2380
  })), Boolean(end_icon) && jsxRuntime.exports.jsx("div", __assign({
2285
2381
  className: "hplxt-text-Gray-500 hplxt-flex hplxt-items-center hplxt-pr-2"
2286
2382
  }, {
@@ -2351,6 +2447,18 @@ var InputField = function InputField(_a) {
2351
2447
  }))
2352
2448
  }))]
2353
2449
  }))
2450
+ })), showEmailSuggestions && // This div displays a dropdown of email provider options
2451
+ jsxRuntime.exports.jsx("div", __assign({
2452
+ className: "hplxt-absolute hplxt-mt-1 hplxt-left-10 hplxt-right-10 hplxt-min-w-max hplxt-rounded-lg hplxt-bg-White hplxt-overflow-y-scroll hplxt-shadow-md hplxt-z-10 hplxt-max-h-80 ".concat(showEmailDropdown ? "hplxt-block" : "hplxt-hidden")
2453
+ }, {
2454
+ children: emailProviders === null || emailProviders === void 0 ? void 0 : emailProviders.map(function (option) {
2455
+ return jsxRuntime.exports.jsx(DropdownItems, {
2456
+ label: option,
2457
+ onSelect: function onSelect() {
2458
+ handleEmailProviderSelection(option);
2459
+ }
2460
+ }, option);
2461
+ })
2354
2462
  })), (Boolean(hint_text) || Boolean(errorMsg)) && jsxRuntime.exports.jsx("div", __assign({
2355
2463
  className: "".concat(errorMsg ? "hplxt-text-Error-500" : "hplxt-text-Gray-500 hplxt-mt-1")
2356
2464
  }, {
@@ -3263,7 +3371,7 @@ var regexpGetFlags = function (R) {
3263
3371
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
3264
3372
  var defineBuiltIn = defineBuiltIn$3;
3265
3373
  var anObject = anObject$9;
3266
- var $toString = toString$6;
3374
+ var $toString = toString$7;
3267
3375
  var fails$2 = fails$i;
3268
3376
  var getRegExpFlags = regexpGetFlags;
3269
3377
 
@@ -5237,8 +5345,8 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
5237
5345
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
5238
5346
 
5239
5347
  var uncurryThis$3 = functionUncurryThis;
5240
- var requireObjectCoercible = requireObjectCoercible$6;
5241
- var toString$1 = toString$6;
5348
+ var requireObjectCoercible = requireObjectCoercible$7;
5349
+ var toString$1 = toString$7;
5242
5350
  var whitespaces$1 = whitespaces$2;
5243
5351
 
5244
5352
  var replace$2 = uncurryThis$3(''.replace);
@@ -5514,7 +5622,7 @@ var uncurryThis$2 = functionUncurryThis;
5514
5622
  var hasOwn = hasOwnProperty_1;
5515
5623
  var isCallable$1 = isCallable$f;
5516
5624
  var isPrototypeOf = objectIsPrototypeOf;
5517
- var toString = toString$6;
5625
+ var toString = toString$7;
5518
5626
  var defineProperty = objectDefineProperty.f;
5519
5627
  var copyConstructorProperties = copyConstructorProperties$2;
5520
5628
 
@@ -17314,7 +17422,7 @@ var DoubleInput = function DoubleInput(_a) {
17314
17422
  };
17315
17423
 
17316
17424
  var handleDropdownClick = function handleDropdownClick(selectedItem) {
17317
- setSuffixValueChanged(false);
17425
+ setValueChanged(false);
17318
17426
  setValue(selectedItem.value);
17319
17427
  onDropdownClick && onDropdownClick(selectedItem);
17320
17428
  setShowDropdown(false);
@@ -17340,7 +17448,7 @@ var DoubleInput = function DoubleInput(_a) {
17340
17448
  setSuffixValue(input2value);
17341
17449
  }, [input2value]);
17342
17450
  return jsxRuntime.exports.jsx("div", __assign({
17343
- className: "inputfield hplxt-flex "
17451
+ className: "doubleInput hplxt-flex "
17344
17452
  }, {
17345
17453
  children: jsxRuntime.exports.jsxs(Typography, __assign({
17346
17454
  variant: "Regular",
@@ -17453,4 +17561,219 @@ var DoubleInput = function DoubleInput(_a) {
17453
17561
  }));
17454
17562
  };
17455
17563
 
17456
- export { AddSuggestion, Avatar, Badge, BadgeGroup, Button, ButtonGroups, Card, Checkbox, CheckboxGroup, CheckboxGroupItem, CollapsibleCard, DatePicker, DoubleInput, DropdownField, DropdownItems as DropdownItem, InputField, InputFieldSplit, MessageToast, NestedDropdown, OtpField, ProgressBar, ProgressCircle, RadioBtn, Slider, TextAreaField, ToggleSwitch, Tooltip, Typography };
17564
+ var InputTag = function InputTag(_a) {
17565
+ var _b, _c, _d, _e;
17566
+
17567
+ var inputProps = _a.inputProps,
17568
+ className = _a.className,
17569
+ dropdownClassName = _a.dropdownClassName,
17570
+ _f = _a.options,
17571
+ options = _f === void 0 ? [] : _f,
17572
+ _g = _a.tagList,
17573
+ tagList = _g === void 0 ? [] : _g,
17574
+ _h = _a.tagString,
17575
+ tagString = _h === void 0 ? "" : _h,
17576
+ // comma separated string which is created into separate tags
17577
+ _j = _a.handleValChange,
17578
+ // comma separated string which is created into separate tags
17579
+ handleValChange = _j === void 0 ? function (_) {} : _j,
17580
+ _k = _a.onDropdownClick,
17581
+ onDropdownClick = _k === void 0 ? function (_) {} : _k;
17582
+
17583
+ var _l = inputProps || {},
17584
+ disabled = _l.disabled,
17585
+ onFocus = _l.onFocus,
17586
+ onBlur = _l.onBlur;
17587
+
17588
+ var _m = useState(false),
17589
+ active = _m[0],
17590
+ setActive = _m[1];
17591
+
17592
+ var _o = useState(false),
17593
+ showDropdown = _o[0],
17594
+ setShowDropdown = _o[1];
17595
+
17596
+ var _p = useState(""),
17597
+ value = _p[0],
17598
+ setValue = _p[1]; // tag string
17599
+
17600
+
17601
+ var wrapperRef = useRef(null);
17602
+ var inputRef = useRef(null);
17603
+
17604
+ var _q = useState(),
17605
+ dropdownArr = _q[0],
17606
+ setDropdownArr = _q[1];
17607
+
17608
+ var _r = useState(""),
17609
+ tagInputValue = _r[0],
17610
+ setTagInputValue = _r[1]; // input field state
17611
+
17612
+
17613
+ var _s = useState(__spreadArray(__spreadArray([], tagList.filter(Boolean), true), tagString.split(",").filter(Boolean).map(function (item) {
17614
+ return item.trim();
17615
+ }), true)),
17616
+ tags = _s[0],
17617
+ setTags = _s[1]; // tag array
17618
+
17619
+
17620
+ var handleValueChange = function handleValueChange(e) {
17621
+ var sug = [];
17622
+ setShowDropdown(true);
17623
+
17624
+ if (options && options.length > 0) {
17625
+ sug = options === null || options === void 0 ? void 0 : options.filter(function (options) {
17626
+ return options.label.toLowerCase().includes(e.target.value.toLowerCase());
17627
+ });
17628
+ setDropdownArr(sug);
17629
+ }
17630
+
17631
+ setTagInputValue(e.target.value);
17632
+ };
17633
+
17634
+ var handleClickOutside = function handleClickOutside(e) {
17635
+ setDropdownArr(options);
17636
+
17637
+ if (wrapperRef.current && !wrapperRef.current.contains(e.target)) {
17638
+ setShowDropdown(false);
17639
+ }
17640
+ };
17641
+
17642
+ var handleDropdownClick = function handleDropdownClick(selectedItem) {
17643
+ setTags(function (prev) {
17644
+ return __spreadArray(__spreadArray([], prev, true), [selectedItem.value], false);
17645
+ });
17646
+ setValue(function (prev) {
17647
+ return prev + ", " + selectedItem.value;
17648
+ });
17649
+ setTagInputValue("");
17650
+ onDropdownClick && onDropdownClick(selectedItem);
17651
+ handleValChange && handleValChange(value);
17652
+ setShowDropdown(false);
17653
+ };
17654
+
17655
+ useEffect(function () {
17656
+ setValue(tagString);
17657
+ setTags(tagString.split(",").filter(Boolean).map(function (item) {
17658
+ return item.trim();
17659
+ }));
17660
+ }, [tagString]); // useEffect(() => {
17661
+ // let incomingTags=value.split("\\s*,\\s*");
17662
+ // incomingTags = incomingTags.filter(Boolean)
17663
+ // setTags(tagList)
17664
+ // }, [tagList]);
17665
+ // useEffect(() => {
17666
+ // let incomingTags=value.split("\\s*,\\s*");
17667
+ // incomingTags = incomingTags.filter(Boolean)
17668
+ // setTags(incomingTags)
17669
+ // }, [value]);
17670
+
17671
+ useEffect(function () {
17672
+ document.addEventListener("mousedown", handleClickOutside);
17673
+ return function () {
17674
+ document.removeEventListener("mousedown", handleClickOutside);
17675
+ };
17676
+ });
17677
+
17678
+ var handleFocus = function handleFocus(event) {
17679
+ setShowDropdown(true);
17680
+ setActive(true);
17681
+ onFocus && onFocus(event);
17682
+ };
17683
+
17684
+ var handleBlur = function handleBlur(event) {
17685
+ setShowDropdown(false);
17686
+ setActive(false);
17687
+ onBlur && onBlur(event);
17688
+ };
17689
+
17690
+ var addTags = function addTags(e) {
17691
+ if (e.keyCode === 13 && tagInputValue) {
17692
+ setTags(__spreadArray(__spreadArray([], tags, true), [tagInputValue], false));
17693
+ setValue(tags.filter(Boolean).join(", "));
17694
+ setTagInputValue("");
17695
+ }
17696
+
17697
+ handleValChange && handleValChange(value);
17698
+ };
17699
+
17700
+ var deleteTag = function deleteTag(_, del_index) {
17701
+ var remainingTags = tags.filter(function (_, index) {
17702
+ return del_index !== index;
17703
+ });
17704
+ setTags(remainingTags);
17705
+ setValue(tags.filter(Boolean).join(", "));
17706
+ };
17707
+
17708
+ var editTag = function editTag(item, index) {
17709
+ setTagInputValue(item);
17710
+ deleteTag(item, index);
17711
+ };
17712
+
17713
+ useEffect(function () {
17714
+ setValue(tags.filter(Boolean).join(", "));
17715
+ handleValChange && handleValChange(tags.filter(Boolean).join(", "));
17716
+ }, [tags]);
17717
+ return jsxRuntime.exports.jsxs("div", __assign({
17718
+ className: "inputTag hplxt-w-auto hplxt-h-auto hplxt-gap-1 hplxt-p-1.5 hplxt-flex hplxt-flex-wrap hplxt-border-1 hplxt-rounded-lg hplxt-border-Blue_gray-100 hover:hplxt-border-Primary-300 hover:hplxt-shadow-xs-primary ".concat(active ? "hplxt-border-Primary-300 hplxt-shadow-xs-primary" : "", " ").concat(disabled ? "hplxt-bg-Gray-50" : "", " ").concat(className)
17719
+ }, {
17720
+ children: [tags.map(function (item, index) {
17721
+ return jsxRuntime.exports.jsxs("button", __assign({
17722
+ className: "hplxt-flex hplxt-items-center hplxt-bg-Primary-50 hplxt-border-1 hplxt-rounded hplxt-border-Primary-100 hplxt-py-1 hplxt-px-2"
17723
+ }, {
17724
+ children: [jsxRuntime.exports.jsx(Typography, __assign({
17725
+ variant: "Semibold",
17726
+ type: "Text sm",
17727
+ className: "hplxt-text-Gray-600",
17728
+ onClick: function onClick() {
17729
+ return editTag(item, index);
17730
+ }
17731
+ }, {
17732
+ children: item
17733
+ })), jsxRuntime.exports.jsx("div", {
17734
+ className: "hx_close hplxt-text-[75%] hplxt-text-Primary-700",
17735
+ onClick: function onClick() {
17736
+ return deleteTag(item, index);
17737
+ }
17738
+ })]
17739
+ }), index);
17740
+ }), jsxRuntime.exports.jsx("input", __assign({
17741
+ type: "text",
17742
+ value: tagInputValue,
17743
+ ref: inputRef,
17744
+ className: "hplxt-flex-1 placeholder:hplxt-text-Gray-500 focus-visible:hplxt-outline-0 hplxt-border-0 focus:hplxt-border-0",
17745
+ placeholder: "Enter Text",
17746
+ onChange: function onChange(e) {
17747
+ setTagInputValue(e.target.value);
17748
+ handleValueChange(e);
17749
+ },
17750
+ onKeyDown: addTags
17751
+ }, inputProps, {
17752
+ onFocus: handleFocus,
17753
+ onBlur: handleBlur
17754
+ })), showDropdown && jsxRuntime.exports.jsx("div", __assign({
17755
+ ref: wrapperRef,
17756
+ className: "hplxt-absolute hplxt-border hplxt-border-Gray-300 hplxt-mt-1 hplxt-min-w-max hplxt-rounded-lg hplxt-bg-Indigo-25 hplxt-overflow-y-auto hplxt-shadow-md hplxt-z-10 hplxt-max-h-80 ".concat(dropdownClassName),
17757
+ style: {
17758
+ left: "".concat((_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.offsetLeft, "px"),
17759
+ top: "".concat(((_c = inputRef.current) === null || _c === void 0 ? void 0 : _c.offsetTop) ? ((_d = inputRef.current) === null || _d === void 0 ? void 0 : _d.offsetTop) + 30 : (_e = inputRef.current) === null || _e === void 0 ? void 0 : _e.offsetTop, "px")
17760
+ }
17761
+ }, {
17762
+ children: dropdownArr && dropdownArr.length > 0 && jsxRuntime.exports.jsx("div", {
17763
+ children: dropdownArr.map(function (option) {
17764
+ var restOptions = __rest(option || {}, []);
17765
+
17766
+ return jsxRuntime.exports.jsx(DropdownItems, __assign({
17767
+ className: "hplxt-text-Primary-700"
17768
+ }, restOptions, {
17769
+ onSelect: function onSelect() {
17770
+ return handleDropdownClick(restOptions);
17771
+ }
17772
+ }));
17773
+ })
17774
+ })
17775
+ }))]
17776
+ }));
17777
+ };
17778
+
17779
+ export { AddSuggestion, Avatar, Badge, BadgeGroup, Button, ButtonGroups, Card, Checkbox, CheckboxGroup, CheckboxGroupItem, CollapsibleCard, DatePicker, DoubleInput, DropdownField, DropdownItems as DropdownItem, InputField, InputFieldSplit, InputTag, MessageToast, NestedDropdown, OtpField, ProgressBar, ProgressCircle, RadioBtn, Slider, TextAreaField, ToggleSwitch, Tooltip, Typography };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { InputFieldProps } from "../types";
3
- declare const InputField: ({ label, labelColor, labelSize, height, start_icon, width, border, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, inputProps, suffixInputProps, isborderRequired, suffixDropdown, isSuffixEditable, suffixPlaceholder, suffixClassName, fieldColor, handleSuffixClick, className }: InputFieldProps) => JSX.Element;
3
+ declare const InputField: ({ label, labelColor, labelSize, height, start_icon, width, border, end_icon, hint_text_icon, prefix, suffixButton, suffix, hint_text, char_count, errorMsg, inputProps, suffixInputProps, isborderRequired, suffixDropdown, isSuffixEditable, suffixPlaceholder, suffixClassName, fieldColor, handleSuffixClick, className, showEmailSuggestions, }: InputFieldProps) => JSX.Element;
4
4
  export default InputField;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { InputTagProps } from "../types";
3
+ declare const InputTag: ({ inputProps, className, dropdownClassName, options, tagList, tagString, handleValChange, onDropdownClick, }: InputTagProps) => JSX.Element;
4
+ export default InputTag;
@@ -26,6 +26,7 @@ export interface InputFieldProps {
26
26
  isSuffixEditable?: boolean;
27
27
  handleSuffixValChange?: (value: any) => void;
28
28
  className?: string;
29
+ showEmailSuggestions?: boolean;
29
30
  }
30
31
  export interface DatePickerProps {
31
32
  placeholder?: string;
@@ -415,4 +416,14 @@ export interface DoubleInputProps {
415
416
  hint_text_icon?: string;
416
417
  hint_text?: string;
417
418
  }
419
+ export interface InputTagProps {
420
+ className?: string;
421
+ tagList?: Array<string>;
422
+ tagString?: string;
423
+ dropdownClassName?: string;
424
+ onDropdownClick?: (value: any) => void;
425
+ options?: Array<DropdownItemsProps>;
426
+ inputProps?: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
427
+ handleValChange?: (value: any) => void;
428
+ }
418
429
  export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.0.53",
12
+ "version": "1.0.55",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",