hrm_ui_lib 1.6.23 → 1.6.25

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.
@@ -54,47 +54,77 @@ var _typeof = {exports: {}};
54
54
  var _typeof$1 = _typeof.exports["default"];
55
55
  function _regeneratorRuntime() {
56
56
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
57
- return e;
57
+ return r;
58
58
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
59
59
  var t,
60
- e = {},
61
- r = Object.prototype,
62
- n = r.hasOwnProperty,
63
- o = Object.defineProperty || function (t, e, r) {
64
- t[e] = r.value;
65
- },
66
- i = "function" == typeof Symbol ? Symbol : {},
67
- a = i.iterator || "@@iterator",
68
- c = i.asyncIterator || "@@asyncIterator",
69
- u = i.toStringTag || "@@toStringTag";
70
- function define(t, e, r) {
71
- return Object.defineProperty(t, e, {
72
- value: r,
73
- enumerable: !0,
74
- configurable: !0,
75
- writable: !0
76
- }), t[e];
60
+ r = {},
61
+ e = Object.prototype,
62
+ n = e.hasOwnProperty,
63
+ o = "function" == typeof Symbol ? Symbol : {},
64
+ i = o.iterator || "@@iterator",
65
+ a = o.asyncIterator || "@@asyncIterator",
66
+ u = o.toStringTag || "@@toStringTag";
67
+ function c(t, r, e, n) {
68
+ return Object.defineProperty(t, r, {
69
+ value: e,
70
+ enumerable: !n,
71
+ configurable: !n,
72
+ writable: !n
73
+ });
77
74
  }
78
75
  try {
79
- define({}, "");
76
+ c({}, "");
80
77
  } catch (t) {
81
- define = function define(t, e, r) {
82
- return t[e] = r;
78
+ c = function c(t, r, e) {
79
+ return t[r] = e;
83
80
  };
84
81
  }
85
- function wrap(t, e, r, n) {
82
+ function h(r, e, n, o) {
86
83
  var i = e && e.prototype instanceof Generator ? e : Generator,
87
- a = Object.create(i.prototype),
88
- c = new Context(n || []);
89
- return o(a, "_invoke", {
90
- value: makeInvokeMethod(t, r, c)
91
- }), a;
84
+ a = Object.create(i.prototype);
85
+ return c(a, "_invoke", function (r, e, n) {
86
+ var o = 1;
87
+ return function (i, a) {
88
+ if (3 === o) throw Error("Generator is already running");
89
+ if (4 === o) {
90
+ if ("throw" === i) throw a;
91
+ return {
92
+ value: t,
93
+ done: !0
94
+ };
95
+ }
96
+ for (n.method = i, n.arg = a;;) {
97
+ var u = n.delegate;
98
+ if (u) {
99
+ var c = d(u, n);
100
+ if (c) {
101
+ if (c === f) continue;
102
+ return c;
103
+ }
104
+ }
105
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
106
+ if (1 === o) throw o = 4, n.arg;
107
+ n.dispatchException(n.arg);
108
+ } else "return" === n.method && n.abrupt("return", n.arg);
109
+ o = 3;
110
+ var h = s(r, e, n);
111
+ if ("normal" === h.type) {
112
+ if (o = n.done ? 4 : 2, h.arg === f) continue;
113
+ return {
114
+ value: h.arg,
115
+ done: n.done
116
+ };
117
+ }
118
+ "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg);
119
+ }
120
+ };
121
+ }(r, n, new Context(o || [])), !0), a;
92
122
  }
93
- function tryCatch(t, e, r) {
123
+ function s(t, r, e) {
94
124
  try {
95
125
  return {
96
126
  type: "normal",
97
- arg: t.call(e, r)
127
+ arg: t.call(r, e)
98
128
  };
99
129
  } catch (t) {
100
130
  return {
@@ -103,255 +133,193 @@ var _typeof = {exports: {}};
103
133
  };
104
134
  }
105
135
  }
106
- e.wrap = wrap;
107
- var h = "suspendedStart",
108
- l = "suspendedYield",
109
- f = "executing",
110
- s = "completed",
111
- y = {};
136
+ r.wrap = h;
137
+ var f = {};
112
138
  function Generator() {}
113
139
  function GeneratorFunction() {}
114
140
  function GeneratorFunctionPrototype() {}
115
- var p = {};
116
- define(p, a, function () {
141
+ var l = {};
142
+ c(l, i, function () {
117
143
  return this;
118
144
  });
119
- var d = Object.getPrototypeOf,
120
- v = d && d(d(values([])));
121
- v && v !== r && n.call(v, a) && (p = v);
122
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
123
- function defineIteratorMethods(t) {
124
- ["next", "throw", "return"].forEach(function (e) {
125
- define(t, e, function (t) {
126
- return this._invoke(e, t);
145
+ var p = Object.getPrototypeOf,
146
+ y = p && p(p(x([])));
147
+ y && y !== e && n.call(y, i) && (l = y);
148
+ var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
149
+ function g(t) {
150
+ ["next", "throw", "return"].forEach(function (r) {
151
+ c(t, r, function (t) {
152
+ return this._invoke(r, t);
127
153
  });
128
154
  });
129
155
  }
130
- function AsyncIterator(t, e) {
131
- function invoke(r, o, i, a) {
132
- var c = tryCatch(t[r], t, o);
156
+ function AsyncIterator(t, r) {
157
+ function e(o, i, a, u) {
158
+ var c = s(t[o], t, i);
133
159
  if ("throw" !== c.type) {
134
- var u = c.arg,
135
- h = u.value;
136
- return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
137
- invoke("next", t, i, a);
160
+ var h = c.arg,
161
+ f = h.value;
162
+ return f && "object" == _typeof$1(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) {
163
+ e("next", t, a, u);
138
164
  }, function (t) {
139
- invoke("throw", t, i, a);
140
- }) : e.resolve(h).then(function (t) {
141
- u.value = t, i(u);
165
+ e("throw", t, a, u);
166
+ }) : r.resolve(f).then(function (t) {
167
+ h.value = t, a(h);
142
168
  }, function (t) {
143
- return invoke("throw", t, i, a);
169
+ return e("throw", t, a, u);
144
170
  });
145
171
  }
146
- a(c.arg);
172
+ u(c.arg);
147
173
  }
148
- var r;
149
- o(this, "_invoke", {
150
- value: function value(t, n) {
151
- function callInvokeWithMethodAndArg() {
152
- return new e(function (e, r) {
153
- invoke(t, n, e, r);
154
- });
155
- }
156
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
157
- }
158
- });
159
- }
160
- function makeInvokeMethod(e, r, n) {
161
- var o = h;
162
- return function (i, a) {
163
- if (o === f) throw Error("Generator is already running");
164
- if (o === s) {
165
- if ("throw" === i) throw a;
166
- return {
167
- value: t,
168
- done: !0
169
- };
170
- }
171
- for (n.method = i, n.arg = a;;) {
172
- var c = n.delegate;
173
- if (c) {
174
- var u = maybeInvokeDelegate(c, n);
175
- if (u) {
176
- if (u === y) continue;
177
- return u;
178
- }
179
- }
180
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
181
- if (o === h) throw o = s, n.arg;
182
- n.dispatchException(n.arg);
183
- } else "return" === n.method && n.abrupt("return", n.arg);
184
- o = f;
185
- var p = tryCatch(e, r, n);
186
- if ("normal" === p.type) {
187
- if (o = n.done ? s : l, p.arg === y) continue;
188
- return {
189
- value: p.arg,
190
- done: n.done
191
- };
192
- }
193
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
174
+ var o;
175
+ c(this, "_invoke", function (t, n) {
176
+ function i() {
177
+ return new r(function (r, o) {
178
+ e(t, n, r, o);
179
+ });
194
180
  }
195
- };
181
+ return o = o ? o.then(i, i) : i();
182
+ }, !0);
196
183
  }
197
- function maybeInvokeDelegate(e, r) {
198
- var n = r.method,
199
- o = e.iterator[n];
200
- if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
201
- var i = tryCatch(o, e.iterator, r.arg);
202
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
184
+ function d(r, e) {
185
+ var n = e.method,
186
+ o = r.i[n];
187
+ if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f;
188
+ var i = s(o, r.i, e.arg);
189
+ if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f;
203
190
  var a = i.arg;
204
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
191
+ return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f);
205
192
  }
206
- function pushTryEntry(t) {
207
- var e = {
208
- tryLoc: t[0]
209
- };
210
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
193
+ function w(t) {
194
+ this.tryEntries.push(t);
211
195
  }
212
- function resetTryEntry(t) {
213
- var e = t.completion || {};
214
- e.type = "normal", delete e.arg, t.completion = e;
196
+ function m(r) {
197
+ var e = r[4] || {};
198
+ e.type = "normal", e.arg = t, r[4] = e;
215
199
  }
216
200
  function Context(t) {
217
- this.tryEntries = [{
218
- tryLoc: "root"
219
- }], t.forEach(pushTryEntry, this), this.reset(!0);
201
+ this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0);
220
202
  }
221
- function values(e) {
222
- if (e || "" === e) {
223
- var r = e[a];
224
- if (r) return r.call(e);
225
- if ("function" == typeof e.next) return e;
226
- if (!isNaN(e.length)) {
203
+ function x(r) {
204
+ if (null != r) {
205
+ var e = r[i];
206
+ if (e) return e.call(r);
207
+ if ("function" == typeof r.next) return r;
208
+ if (!isNaN(r.length)) {
227
209
  var o = -1,
228
- i = function next() {
229
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
230
- return next.value = t, next.done = !0, next;
210
+ a = function e() {
211
+ for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;
212
+ return e.value = t, e.done = !0, e;
231
213
  };
232
- return i.next = i;
214
+ return a.next = a;
233
215
  }
234
216
  }
235
- throw new TypeError(_typeof$1(e) + " is not iterable");
217
+ throw new TypeError(_typeof$1(r) + " is not iterable");
236
218
  }
237
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
238
- value: GeneratorFunctionPrototype,
239
- configurable: !0
240
- }), o(GeneratorFunctionPrototype, "constructor", {
241
- value: GeneratorFunction,
242
- configurable: !0
243
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
244
- var e = "function" == typeof t && t.constructor;
245
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
246
- }, e.mark = function (t) {
247
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
248
- }, e.awrap = function (t) {
219
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) {
220
+ var r = "function" == typeof t && t.constructor;
221
+ return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name));
222
+ }, r.mark = function (t) {
223
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t;
224
+ }, r.awrap = function (t) {
249
225
  return {
250
226
  __await: t
251
227
  };
252
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
228
+ }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () {
253
229
  return this;
254
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
230
+ }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) {
255
231
  void 0 === i && (i = Promise);
256
- var a = new AsyncIterator(wrap(t, r, n, o), i);
257
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
232
+ var a = new AsyncIterator(h(t, e, n, o), i);
233
+ return r.isGeneratorFunction(e) ? a : a.next().then(function (t) {
258
234
  return t.done ? t.value : a.next();
259
235
  });
260
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
236
+ }, g(v), c(v, u, "Generator"), c(v, i, function () {
261
237
  return this;
262
- }), define(g, "toString", function () {
238
+ }), c(v, "toString", function () {
263
239
  return "[object Generator]";
264
- }), e.keys = function (t) {
265
- var e = Object(t),
266
- r = [];
267
- for (var n in e) r.push(n);
268
- return r.reverse(), function next() {
269
- for (; r.length;) {
270
- var t = r.pop();
271
- if (t in e) return next.value = t, next.done = !1, next;
272
- }
273
- return next.done = !0, next;
240
+ }), r.keys = function (t) {
241
+ var r = Object(t),
242
+ e = [];
243
+ for (var n in r) e.unshift(n);
244
+ return function t() {
245
+ for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;
246
+ return t.done = !0, t;
274
247
  };
275
- }, e.values = values, Context.prototype = {
248
+ }, r.values = x, Context.prototype = {
276
249
  constructor: Context,
277
- reset: function reset(e) {
278
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
250
+ reset: function reset(r) {
251
+ if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);
279
252
  },
280
253
  stop: function stop() {
281
254
  this.done = !0;
282
- var t = this.tryEntries[0].completion;
255
+ var t = this.tryEntries[0][4];
283
256
  if ("throw" === t.type) throw t.arg;
284
257
  return this.rval;
285
258
  },
286
- dispatchException: function dispatchException(e) {
287
- if (this.done) throw e;
288
- var r = this;
289
- function handle(n, o) {
290
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
259
+ dispatchException: function dispatchException(r) {
260
+ if (this.done) throw r;
261
+ var e = this;
262
+ function n(t) {
263
+ a.type = "throw", a.arg = r, e.next = t;
291
264
  }
292
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
265
+ for (var o = e.tryEntries.length - 1; o >= 0; --o) {
293
266
  var i = this.tryEntries[o],
294
- a = i.completion;
295
- if ("root" === i.tryLoc) return handle("end");
296
- if (i.tryLoc <= this.prev) {
297
- var c = n.call(i, "catchLoc"),
298
- u = n.call(i, "finallyLoc");
299
- if (c && u) {
300
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
301
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
302
- } else if (c) {
303
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
304
- } else {
305
- if (!u) throw Error("try statement without catch or finally");
306
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
307
- }
267
+ a = i[4],
268
+ u = this.prev,
269
+ c = i[1],
270
+ h = i[2];
271
+ if (-1 === i[0]) return n("end"), !1;
272
+ if (!c && !h) throw Error("try statement without catch or finally");
273
+ if (null != i[0] && i[0] <= u) {
274
+ if (u < c) return this.method = "next", this.arg = t, n(c), !0;
275
+ if (u < h) return n(h), !1;
308
276
  }
309
277
  }
310
278
  },
311
- abrupt: function abrupt(t, e) {
312
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
313
- var o = this.tryEntries[r];
314
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
315
- var i = o;
279
+ abrupt: function abrupt(t, r) {
280
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
281
+ var n = this.tryEntries[e];
282
+ if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {
283
+ var o = n;
316
284
  break;
317
285
  }
318
286
  }
319
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
320
- var a = i ? i.completion : {};
321
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
287
+ o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null);
288
+ var i = o ? o[4] : {};
289
+ return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i);
322
290
  },
323
- complete: function complete(t, e) {
291
+ complete: function complete(t, r) {
324
292
  if ("throw" === t.type) throw t.arg;
325
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
293
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f;
326
294
  },
327
295
  finish: function finish(t) {
328
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
- var r = this.tryEntries[e];
330
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
296
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
297
+ var e = this.tryEntries[r];
298
+ if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;
331
299
  }
332
300
  },
333
301
  "catch": function _catch(t) {
334
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
335
- var r = this.tryEntries[e];
336
- if (r.tryLoc === t) {
337
- var n = r.completion;
302
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
303
+ var e = this.tryEntries[r];
304
+ if (e[0] === t) {
305
+ var n = e[4];
338
306
  if ("throw" === n.type) {
339
307
  var o = n.arg;
340
- resetTryEntry(r);
308
+ m(e);
341
309
  }
342
310
  return o;
343
311
  }
344
312
  }
345
313
  throw Error("illegal catch attempt");
346
314
  },
347
- delegateYield: function delegateYield(e, r, n) {
315
+ delegateYield: function delegateYield(r, e, n) {
348
316
  return this.delegate = {
349
- iterator: values(e),
350
- resultName: r,
351
- nextLoc: n
352
- }, "next" === this.method && (this.arg = t), y;
317
+ i: x(r),
318
+ r: e,
319
+ n: n
320
+ }, "next" === this.method && (this.arg = t), f;
353
321
  }
354
- }, e;
322
+ }, r;
355
323
  }
356
324
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
357
325
  } (regeneratorRuntime$1));
@@ -55,7 +55,7 @@ import '../SVGIcons/IconArrowDownloadFilled.js';
55
55
  import '../../helpers/download-file.js';
56
56
  import '../Button/consts.js';
57
57
 
58
- var _excluded = ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed"];
58
+ var _excluded = ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed", "onChange"];
59
59
  var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
60
60
  var datePlaceHolderText = _ref.datePlaceHolderText,
61
61
  className = _ref.className,
@@ -96,6 +96,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
96
96
  _ref$witUpperCase = _ref.witUpperCase,
97
97
  witUpperCase = _ref$witUpperCase === void 0 ? false : _ref$witUpperCase,
98
98
  isAllowed = _ref.isAllowed,
99
+ onChange = _ref.onChange,
99
100
  rest = _objectWithoutProperties(_ref, _excluded);
100
101
  var isErrorVisible = hasError !== undefined ? hasError : !!error;
101
102
  var placeHolder = label === placeholder ? '' : placeholder || datePlaceHolderText;
@@ -105,6 +106,9 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
105
106
  if (eventValue.length - 1 === maxCount) {
106
107
  return;
107
108
  }
109
+ if (onChange) {
110
+ onChange(event);
111
+ }
108
112
  if (setFieldValue && name) {
109
113
  setFieldValue(name, valueWithoutSeparator);
110
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrm_ui_lib",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
4
4
  "description": "UI library for Dino",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",