@hybr1d-tech/charizard 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hybr1d-ui.js CHANGED
@@ -222,7 +222,7 @@ function Ze() {
222
222
  function m0() {
223
223
  }
224
224
  m0.__reactDisabledLog = !0;
225
- function E0() {
225
+ function M0() {
226
226
  {
227
227
  if (k === 0) {
228
228
  H = console.log, G = console.info, J = console.warn, L0 = console.error, H0 = console.group, h2 = console.groupCollapsed, a0 = console.groupEnd;
@@ -281,7 +281,7 @@ function Ze() {
281
281
  }
282
282
  }
283
283
  var C0 = C.ReactCurrentDispatcher, T0;
284
- function M0(f, S, V) {
284
+ function R0(f, S, V) {
285
285
  {
286
286
  if (T0 === void 0)
287
287
  try {
@@ -312,7 +312,7 @@ function Ze() {
312
312
  var n0 = Error.prepareStackTrace;
313
313
  Error.prepareStackTrace = void 0;
314
314
  var r0;
315
- r0 = C0.current, C0.current = null, E0();
315
+ r0 = C0.current, C0.current = null, M0();
316
316
  try {
317
317
  if (S) {
318
318
  var l0 = function() {
@@ -367,7 +367,7 @@ function Ze() {
367
367
  } finally {
368
368
  p2 = !1, C0.current = r0, b0(), Error.prepareStackTrace = n0;
369
369
  }
370
- var t1 = f ? f.displayName || f.name : "", O2 = t1 ? M0(t1) : "";
370
+ var t1 = f ? f.displayName || f.name : "", O2 = t1 ? R0(t1) : "";
371
371
  return typeof f == "function" && i2.set(f, O2), O2;
372
372
  }
373
373
  function Q(f, S, V) {
@@ -383,12 +383,12 @@ function Ze() {
383
383
  if (typeof f == "function")
384
384
  return R(f, c0(f));
385
385
  if (typeof f == "string")
386
- return M0(f);
386
+ return R0(f);
387
387
  switch (f) {
388
388
  case d:
389
- return M0("Suspense");
389
+ return R0("Suspense");
390
390
  case m:
391
- return M0("SuspenseList");
391
+ return R0("SuspenseList");
392
392
  }
393
393
  if (typeof f == "object")
394
394
  switch (f.$$typeof) {
@@ -3139,7 +3139,7 @@ function g4({
3139
3139
  }
3140
3140
  );
3141
3141
  }
3142
- const kt = "_selectContainer_9l7og_1", Vt = "_errorMsg_9l7og_6", Ft = "_multiLabelContainer_9l7og_15", Gt = "_optionContainer_9l7og_21", Lt = "_profileImg_9l7og_21", Ht = "_singleValueContainer_9l7og_23", Dt = "_label_9l7og_37", Pt = "_subLabel_9l7og_43", Tt = "_closeSpan_9l7og_50", Ot = "_downArrowSpan_9l7og_51", S0 = {
3142
+ const kt = "_selectContainer_9l7og_1", Vt = "_errorMsg_9l7og_6", Ft = "_multiLabelContainer_9l7og_15", Gt = "_optionContainer_9l7og_21", Lt = "_profileImg_9l7og_21", Ht = "_singleValueContainer_9l7og_23", Dt = "_label_9l7og_37", Pt = "_subLabel_9l7og_43", Tt = "_closeSpan_9l7og_50", Ot = "_downArrowSpan_9l7og_51", E0 = {
3143
3143
  selectContainer: kt,
3144
3144
  errorMsg: Vt,
3145
3145
  multiLabelContainer: Ft,
@@ -3252,42 +3252,42 @@ const kt = "_selectContainer_9l7og_1", Vt = "_errorMsg_9l7og_6", Ft = "_multiLab
3252
3252
  r2.Option,
3253
3253
  {
3254
3254
  ...e,
3255
- className: q({ [S0.subLabelContainer]: e.data.subLabel }, S0.optionContainer),
3255
+ className: q({ [E0.subLabelContainer]: e.data.subLabel }, E0.optionContainer),
3256
3256
  children: [
3257
- /* @__PURE__ */ a.jsxs("div", { className: q(S0.label), children: [
3257
+ /* @__PURE__ */ a.jsxs("div", { className: q(E0.label), children: [
3258
3258
  e.data.profileImgUrl && /* @__PURE__ */ a.jsx(
3259
3259
  "img",
3260
3260
  {
3261
3261
  src: e.data.profileImgUrl,
3262
- className: S0.profileImg,
3262
+ className: E0.profileImg,
3263
3263
  alt: e.data.label
3264
3264
  }
3265
3265
  ),
3266
3266
  /* @__PURE__ */ a.jsx("span", { children: e.data.label })
3267
3267
  ] }),
3268
- e.data.subLabel && /* @__PURE__ */ a.jsx("div", { className: q(S0.subLabel), children: e.data.subLabel })
3268
+ e.data.subLabel && /* @__PURE__ */ a.jsx("div", { className: q(E0.subLabel), children: e.data.subLabel })
3269
3269
  ]
3270
3270
  }
3271
- ), x4 = (e) => /* @__PURE__ */ a.jsx(r2.MultiValueLabel, { ...e, children: /* @__PURE__ */ a.jsxs("div", { className: S0.multiLabelContainer, children: [
3271
+ ), x4 = (e) => /* @__PURE__ */ a.jsx(r2.MultiValueLabel, { ...e, children: /* @__PURE__ */ a.jsxs("div", { className: E0.multiLabelContainer, children: [
3272
3272
  e.data.profileImgUrl && /* @__PURE__ */ a.jsx(
3273
3273
  "img",
3274
3274
  {
3275
3275
  src: e.data.profileImgUrl,
3276
- className: S0.profileImg,
3276
+ className: E0.profileImg,
3277
3277
  alt: e.data.label
3278
3278
  }
3279
3279
  ),
3280
- /* @__PURE__ */ a.jsx("div", { className: q(S0.label), children: /* @__PURE__ */ a.jsx("span", { children: e.data.label }) })
3281
- ] }) }), C4 = (e) => /* @__PURE__ */ a.jsx(r2.MultiValueRemove, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: m2, spanClassName: S0.closeSpan }) }), _4 = (e) => /* @__PURE__ */ a.jsx(r2.ClearIndicator, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: m2, spanClassName: S0.closeSpan }) }), I4 = (e) => /* @__PURE__ */ a.jsx(r2.DropdownIndicator, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: C2, spanClassName: S0.downArrowSpan }) }), z4 = (e) => /* @__PURE__ */ a.jsx(r2.SingleValue, { ...e, children: /* @__PURE__ */ a.jsxs("div", { className: S0.singleValueContainer, children: [
3280
+ /* @__PURE__ */ a.jsx("div", { className: q(E0.label), children: /* @__PURE__ */ a.jsx("span", { children: e.data.label }) })
3281
+ ] }) }), C4 = (e) => /* @__PURE__ */ a.jsx(r2.MultiValueRemove, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: m2, spanClassName: E0.closeSpan }) }), _4 = (e) => /* @__PURE__ */ a.jsx(r2.ClearIndicator, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: m2, spanClassName: E0.closeSpan }) }), I4 = (e) => /* @__PURE__ */ a.jsx(r2.DropdownIndicator, { ...e, children: /* @__PURE__ */ a.jsx(M, { path: C2, spanClassName: E0.downArrowSpan }) }), z4 = (e) => /* @__PURE__ */ a.jsx(r2.SingleValue, { ...e, children: /* @__PURE__ */ a.jsxs("div", { className: E0.singleValueContainer, children: [
3282
3282
  e.data.profileImgUrl && /* @__PURE__ */ a.jsx(
3283
3283
  "img",
3284
3284
  {
3285
3285
  src: e.data.profileImgUrl,
3286
- className: S0.profileImg,
3286
+ className: E0.profileImg,
3287
3287
  alt: e.data.label
3288
3288
  }
3289
3289
  ),
3290
- /* @__PURE__ */ a.jsx("div", { className: q(S0.label), children: /* @__PURE__ */ a.jsx("span", { children: e.data.label }) })
3290
+ /* @__PURE__ */ a.jsx("div", { className: q(E0.label), children: /* @__PURE__ */ a.jsx("span", { children: e.data.label }) })
3291
3291
  ] }) });
3292
3292
  function Hb({
3293
3293
  options: e,
@@ -3316,7 +3316,7 @@ function Hb({
3316
3316
  {
3317
3317
  onClick: (z) => z.stopPropagation(),
3318
3318
  style: d,
3319
- className: S0.selectContainer,
3319
+ className: E0.selectContainer,
3320
3320
  children: [
3321
3321
  /* @__PURE__ */ a.jsx(
3322
3322
  c6,
@@ -3354,7 +3354,7 @@ function Hb({
3354
3354
  ...h
3355
3355
  }
3356
3356
  ),
3357
- v && /* @__PURE__ */ a.jsx("p", { className: S0.errorMsg, style: m, children: v })
3357
+ v && /* @__PURE__ */ a.jsx("p", { className: E0.errorMsg, style: m, children: v })
3358
3358
  ]
3359
3359
  }
3360
3360
  );
@@ -4720,9 +4720,9 @@ var Kn = process.env.NODE_ENV === "production" ? {
4720
4720
  }, [u]), F = L2(function() {
4721
4721
  var k = "";
4722
4722
  if (n && y.onChange) {
4723
- var H = n.option, G = n.options, J = n.removedValue, L0 = n.removedValues, H0 = n.value, h2 = function(M0) {
4724
- return Array.isArray(M0) ? null : M0;
4725
- }, a0 = J || H || h2(H0), m0 = a0 ? v(a0) : "", E0 = G || L0 || void 0, b0 = E0 ? E0.map(v) : [], C0 = P({
4723
+ var H = n.option, G = n.options, J = n.removedValue, L0 = n.removedValues, H0 = n.value, h2 = function(R0) {
4724
+ return Array.isArray(R0) ? null : R0;
4725
+ }, a0 = J || H || h2(H0), m0 = a0 ? v(a0) : "", M0 = G || L0 || void 0, b0 = M0 ? M0.map(v) : [], C0 = P({
4726
4726
  // multiSelected items are usually items that have already been selected
4727
4727
  // or set by the user as a default value so we assume they are not disabled
4728
4728
  isDisabled: a0 && x(a0, i),
@@ -6168,26 +6168,26 @@ var u7 = function(l) {
6168
6168
  value: function() {
6169
6169
  var t = this, s = this.getComponents(), r = s.Group, i = s.GroupHeading, o = s.Menu, d = s.MenuList, m = s.MenuPortal, u = s.LoadingMessage, v = s.NoOptionsMessage, h = s.Option, _ = this.commonProps, x = this.state.focusedOption, b = this.props, C = b.captureMenuScroll, p = b.inputValue, I = b.isLoading, z = b.loadingMessage, A = b.minMenuHeight, w = b.maxMenuHeight, E = b.menuIsOpen, y = b.menuPlacement, F = b.menuPosition, Z = b.menuPortalTarget, $ = b.menuShouldBlockScroll, L = b.menuShouldScrollIntoView, N = b.noOptionsMessage, j = b.onMenuScrollToTop, k = b.onMenuScrollToBottom;
6170
6170
  if (!E) return null;
6171
- var H = function(m0, E0) {
6172
- var b0 = m0.type, C0 = m0.data, T0 = m0.isDisabled, M0 = m0.isSelected, p2 = m0.label, i2 = m0.value, A2 = x === C0, R = T0 ? void 0 : function() {
6171
+ var H = function(m0, M0) {
6172
+ var b0 = m0.type, C0 = m0.data, T0 = m0.isDisabled, R0 = m0.isSelected, p2 = m0.label, i2 = m0.value, A2 = x === C0, R = T0 ? void 0 : function() {
6173
6173
  return t.onOptionHover(C0);
6174
6174
  }, Q = T0 ? void 0 : function() {
6175
6175
  return t.selectOption(C0);
6176
- }, c0 = "".concat(t.getElementId("option"), "-").concat(E0), _0 = {
6176
+ }, c0 = "".concat(t.getElementId("option"), "-").concat(M0), _0 = {
6177
6177
  id: c0,
6178
6178
  onClick: Q,
6179
6179
  onMouseMove: R,
6180
6180
  onMouseOver: R,
6181
6181
  tabIndex: -1,
6182
6182
  role: "option",
6183
- "aria-selected": t.isAppleDevice ? void 0 : M0
6183
+ "aria-selected": t.isAppleDevice ? void 0 : R0
6184
6184
  // is not supported on Apple devices
6185
6185
  };
6186
6186
  return /* @__PURE__ */ g.createElement(h, X({}, _, {
6187
6187
  innerProps: _0,
6188
6188
  data: C0,
6189
6189
  isDisabled: T0,
6190
- isSelected: M0,
6190
+ isSelected: R0,
6191
6191
  key: c0,
6192
6192
  label: p2,
6193
6193
  type: b0,
@@ -6199,19 +6199,19 @@ var u7 = function(l) {
6199
6199
  if (this.hasOptions())
6200
6200
  G = this.getCategorizedOptions().map(function(a0) {
6201
6201
  if (a0.type === "group") {
6202
- var m0 = a0.data, E0 = a0.options, b0 = a0.index, C0 = "".concat(t.getElementId("group"), "-").concat(b0), T0 = "".concat(C0, "-heading");
6202
+ var m0 = a0.data, M0 = a0.options, b0 = a0.index, C0 = "".concat(t.getElementId("group"), "-").concat(b0), T0 = "".concat(C0, "-heading");
6203
6203
  return /* @__PURE__ */ g.createElement(r, X({}, _, {
6204
6204
  key: C0,
6205
6205
  data: m0,
6206
- options: E0,
6206
+ options: M0,
6207
6207
  Heading: i,
6208
6208
  headingProps: {
6209
6209
  id: T0,
6210
6210
  data: a0.data
6211
6211
  },
6212
6212
  label: t.formatGroupLabel(a0.data)
6213
- }), a0.options.map(function(M0) {
6214
- return H(M0, "".concat(b0, "-").concat(M0.index));
6213
+ }), a0.options.map(function(R0) {
6214
+ return H(R0, "".concat(b0, "-").concat(R0.index));
6215
6215
  }));
6216
6216
  } else if (a0.type === "option")
6217
6217
  return H(a0, "".concat(a0.index));
@@ -6236,7 +6236,7 @@ var u7 = function(l) {
6236
6236
  menuPosition: F,
6237
6237
  menuShouldScrollIntoView: L
6238
6238
  }, h2 = /* @__PURE__ */ g.createElement(Gc, X({}, _, H0), function(a0) {
6239
- var m0 = a0.ref, E0 = a0.placerProps, b0 = E0.placement, C0 = E0.maxHeight;
6239
+ var m0 = a0.ref, M0 = a0.placerProps, b0 = M0.placement, C0 = M0.maxHeight;
6240
6240
  return /* @__PURE__ */ g.createElement(o, X({}, _, H0, {
6241
6241
  innerRef: m0,
6242
6242
  innerProps: {
@@ -6417,7 +6417,7 @@ var Ls = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
6417
6417
  function Hs(e) {
6418
6418
  var l = e.defaultOptions, n = l === void 0 ? !1 : l, c = e.cacheOptions, t = c === void 0 ? !1 : c, s = e.loadOptions;
6419
6419
  e.options;
6420
- var r = e.isLoading, i = r === void 0 ? !1 : r, o = e.onInputChange, d = e.filterOption, m = d === void 0 ? null : d, u = _2(e, Ls), v = u.inputValue, h = g2(void 0), _ = g2(!1), x = P0(Array.isArray(n) ? n : void 0), b = V0(x, 2), C = b[0], p = b[1], I = P0(typeof v < "u" ? v : ""), z = V0(I, 2), A = z[0], w = z[1], E = P0(n === !0), y = V0(E, 2), F = y[0], Z = y[1], $ = P0(void 0), L = V0($, 2), N = L[0], j = L[1], k = P0([]), H = V0(k, 2), G = H[0], J = H[1], L0 = P0(!1), H0 = V0(L0, 2), h2 = H0[0], a0 = H0[1], m0 = P0({}), E0 = V0(m0, 2), b0 = E0[0], C0 = E0[1], T0 = P0(void 0), M0 = V0(T0, 2), p2 = M0[0], i2 = M0[1], A2 = P0(void 0), R = V0(A2, 2), Q = R[0], c0 = R[1];
6420
+ var r = e.isLoading, i = r === void 0 ? !1 : r, o = e.onInputChange, d = e.filterOption, m = d === void 0 ? null : d, u = _2(e, Ls), v = u.inputValue, h = g2(void 0), _ = g2(!1), x = P0(Array.isArray(n) ? n : void 0), b = V0(x, 2), C = b[0], p = b[1], I = P0(typeof v < "u" ? v : ""), z = V0(I, 2), A = z[0], w = z[1], E = P0(n === !0), y = V0(E, 2), F = y[0], Z = y[1], $ = P0(void 0), L = V0($, 2), N = L[0], j = L[1], k = P0([]), H = V0(k, 2), G = H[0], J = H[1], L0 = P0(!1), H0 = V0(L0, 2), h2 = H0[0], a0 = H0[1], m0 = P0({}), M0 = V0(m0, 2), b0 = M0[0], C0 = M0[1], T0 = P0(void 0), R0 = V0(T0, 2), p2 = R0[0], i2 = R0[1], A2 = P0(void 0), R = V0(A2, 2), Q = R[0], c0 = R[1];
6421
6421
  t !== Q && (C0({}), c0(t)), n !== p2 && (p(Array.isArray(n) ? n : void 0), i2(n)), m1(function() {
6422
6422
  return _.current = !0, function() {
6423
6423
  _.current = !1;
@@ -6488,7 +6488,7 @@ function Db({
6488
6488
  {
6489
6489
  onClick: (p) => p.stopPropagation(),
6490
6490
  style: d,
6491
- className: S0.selectContainer,
6491
+ className: E0.selectContainer,
6492
6492
  children: [
6493
6493
  /* @__PURE__ */ a.jsx(
6494
6494
  Ps,
@@ -6529,7 +6529,7 @@ function Db({
6529
6529
  ...v
6530
6530
  }
6531
6531
  ),
6532
- u && /* @__PURE__ */ a.jsx("p", { className: S0.errorMsg, children: u })
6532
+ u && /* @__PURE__ */ a.jsx("p", { className: E0.errorMsg, children: u })
6533
6533
  ]
6534
6534
  }
6535
6535
  );
@@ -6620,7 +6620,7 @@ function Pb({
6620
6620
  {
6621
6621
  onClick: (I) => I.stopPropagation(),
6622
6622
  style: d,
6623
- className: S0.selectContainer,
6623
+ className: E0.selectContainer,
6624
6624
  children: [
6625
6625
  /* @__PURE__ */ a.jsx(
6626
6626
  h7,
@@ -6679,7 +6679,7 @@ function Pb({
6679
6679
  ...v
6680
6680
  }
6681
6681
  ),
6682
- u && /* @__PURE__ */ a.jsx("p", { className: S0.errorMsg, children: u })
6682
+ u && /* @__PURE__ */ a.jsx("p", { className: E0.errorMsg, children: u })
6683
6683
  ]
6684
6684
  }
6685
6685
  );
@@ -8265,7 +8265,7 @@ function pd(e) {
8265
8265
  }
8266
8266
  }
8267
8267
  var H2 = /* @__PURE__ */ ((e) => (e.PROFILE = "profile", e.LEAVE = "leave", e.ATTENDANCE = "attendance", e.HOLIDAY_CALENDAR = "holiday-calendar", e.IT_REQUEST = "it-request", e.WORKFLOW = "workflow", e))(H2 || {});
8268
- const vd = "_card_1ib22_1", gd = "_taskSection_1ib22_17", qd = "_taskName_1ib22_25", fd = "_dateAndTime_1ib22_29", bd = "_detailsSection_1ib22_34", xd = "_detail_1ib22_34", Cd = "_detailKey_1ib22_50", _d = "_detailValue_1ib22_55", Id = "_detailValueNA_1ib22_62", zd = "_actionSection_1ib22_66", yd = "_detailValueAttachments_1ib22_78", Ad = "_detailValueAttachment_1ib22_78", Nd = "_attachmentName_1ib22_90", jd = "_logoutIcon_1ib22_104", wd = "_fileIcon_1ib22_108", Sd = "_pointerCard_1ib22_112", B0 = {
8268
+ const vd = "_card_1ib22_1", gd = "_taskSection_1ib22_17", qd = "_taskName_1ib22_25", fd = "_dateAndTime_1ib22_29", bd = "_detailsSection_1ib22_34", xd = "_detail_1ib22_34", Cd = "_detailKey_1ib22_50", _d = "_detailValue_1ib22_55", Id = "_detailValueNA_1ib22_62", zd = "_actionSection_1ib22_66", yd = "_detailValueAttachments_1ib22_78", Ad = "_detailValueAttachment_1ib22_78", Nd = "_attachmentName_1ib22_90", jd = "_logoutIcon_1ib22_104", wd = "_fileIcon_1ib22_108", Sd = "_pointerCard_1ib22_112", S0 = {
8269
8269
  card: vd,
8270
8270
  taskSection: gd,
8271
8271
  taskName: qd,
@@ -8300,16 +8300,16 @@ function Rd({
8300
8300
  return /* @__PURE__ */ a.jsxs(
8301
8301
  "div",
8302
8302
  {
8303
- className: q(B0.card, !!(s != null && s.length) && B0.pointerCard),
8303
+ className: q(S0.card, !!(s != null && s.length) && S0.pointerCard),
8304
8304
  onMouseLeave: r,
8305
8305
  onClick: () => {
8306
8306
  var o;
8307
8307
  (o = s == null ? void 0 : s[0]) == null || o.onClick(e);
8308
8308
  },
8309
8309
  children: [
8310
- /* @__PURE__ */ a.jsxs("div", { className: B0.taskSection, children: [
8311
- /* @__PURE__ */ a.jsx("div", { className: q(B0.taskName, "zap-content-semibold"), children: e.name }),
8312
- /* @__PURE__ */ a.jsx("div", { className: q(B0.dateAndTime, "zap-caption-medium"), children: Te(e.date) ? Pe(e.date) : e.date }),
8310
+ /* @__PURE__ */ a.jsxs("div", { className: S0.taskSection, children: [
8311
+ /* @__PURE__ */ a.jsx("div", { className: q(S0.taskName, "zap-content-semibold"), children: e.name }),
8312
+ /* @__PURE__ */ a.jsx("div", { className: q(S0.dateAndTime, "zap-caption-medium"), children: Te(e.date) ? Pe(e.date) : e.date }),
8313
8313
  /* @__PURE__ */ a.jsx(
8314
8314
  L1,
8315
8315
  {
@@ -8321,16 +8321,16 @@ function Rd({
8321
8321
  }
8322
8322
  )
8323
8323
  ] }),
8324
- /* @__PURE__ */ a.jsx("div", { className: B0.detailsSection, children: (i = e.details) == null ? void 0 : i.map((o, d) => {
8324
+ /* @__PURE__ */ a.jsx("div", { className: S0.detailsSection, children: (i = e.details) == null ? void 0 : i.map((o, d) => {
8325
8325
  var m, u;
8326
- return /* @__PURE__ */ a.jsxs("div", { className: B0.detail, children: [
8327
- /* @__PURE__ */ a.jsx("div", { className: q(B0.detailKey, "zap-subcontent-medium"), children: `${o.key}: ` }),
8328
- Array.isArray(o.value) && o.value.length > 0 ? Le(o.value) ? /* @__PURE__ */ a.jsx("div", { className: q(B0.detailValue, "zap-subcontent-medium"), children: o.value.join(", ") }) : /* @__PURE__ */ a.jsx("div", { className: B0.detailValueAttachments, children: o.value[0].file_name ? (m = o.value) == null ? void 0 : m.map((v, h) => {
8326
+ return /* @__PURE__ */ a.jsxs("div", { className: S0.detail, children: [
8327
+ /* @__PURE__ */ a.jsx("div", { className: q(S0.detailKey, "zap-subcontent-medium"), children: `${o.key}: ` }),
8328
+ Array.isArray(o.value) && o.value.length > 0 ? Le(o.value) ? /* @__PURE__ */ a.jsx("div", { className: q(S0.detailValue, "zap-subcontent-medium"), children: o.value.join(", ") }) : /* @__PURE__ */ a.jsx("div", { className: S0.detailValueAttachments, children: o.value[0].file_name ? (m = o.value) == null ? void 0 : m.map((v, h) => {
8329
8329
  var _, x;
8330
8330
  return /* @__PURE__ */ a.jsxs(
8331
8331
  "div",
8332
8332
  {
8333
- className: B0.detailValueAttachment,
8333
+ className: S0.detailValueAttachment,
8334
8334
  onClick: (b) => b.stopPropagation(),
8335
8335
  children: [
8336
8336
  /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(
@@ -8338,7 +8338,7 @@ function Rd({
8338
8338
  {
8339
8339
  src: O1(((_ = v.details) == null ? void 0 : _.type) || ((x = v.details) == null ? void 0 : x.ext)),
8340
8340
  alt: v.file_name,
8341
- className: B0.fileIcon
8341
+ className: S0.fileIcon
8342
8342
  }
8343
8343
  ) }),
8344
8344
  /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(
@@ -8347,7 +8347,7 @@ function Rd({
8347
8347
  href: v.doc_link,
8348
8348
  target: "_blank",
8349
8349
  rel: "noopener noreferrer",
8350
- className: B0.attachmentName,
8350
+ className: S0.attachmentName,
8351
8351
  children: v.file_name
8352
8352
  }
8353
8353
  ) })
@@ -8355,17 +8355,17 @@ function Rd({
8355
8355
  },
8356
8356
  h
8357
8357
  );
8358
- }) : /* @__PURE__ */ a.jsx("div", { className: q(B0.detailValueNA, "zap-subcontent-medium"), children: "N/A" }) }) : o.value && Fe(o.value) && Object.keys(o.value).length ? /* @__PURE__ */ a.jsx(
8358
+ }) : /* @__PURE__ */ a.jsx("div", { className: q(S0.detailValueNA, "zap-subcontent-medium"), children: "N/A" }) }) : o.value && Fe(o.value) && Object.keys(o.value).length ? /* @__PURE__ */ a.jsx(
8359
8359
  Ji,
8360
8360
  {
8361
8361
  username: g6(o.value),
8362
8362
  profileImgUrl: o.value.profile_img_url
8363
8363
  }
8364
- ) : typeof o.value == "string" && ((u = o.value) != null && u.length) ? /* @__PURE__ */ a.jsx("div", { className: q(B0.detailValue, "zap-subcontent-medium"), children: o.value }) : /* @__PURE__ */ a.jsx("div", { className: q(B0.detailValueNA, "zap-subcontent-medium"), children: "N/A" })
8364
+ ) : typeof o.value == "string" && ((u = o.value) != null && u.length) ? /* @__PURE__ */ a.jsx("div", { className: q(S0.detailValue, "zap-subcontent-medium"), children: o.value }) : typeof o.value == "number" ? /* @__PURE__ */ a.jsx("div", { className: q(S0.detailValue, "zap-subcontent-medium"), children: o.value }) : /* @__PURE__ */ a.jsx("div", { className: q(S0.detailValueNA, "zap-subcontent-medium"), children: "N/A" })
8365
8365
  ] }, d);
8366
8366
  }) }),
8367
- /* @__PURE__ */ a.jsx("div", { className: B0.statusSection, children: /* @__PURE__ */ a.jsx(L1, { highlight: i4.DOT, status: kd[e.status], children: pd(e.status) }) }),
8368
- /* @__PURE__ */ a.jsx("div", { className: B0.actionSection, onClick: (o) => o.stopPropagation(), children: !!(s != null && s.length) && /* @__PURE__ */ a.jsx(
8367
+ /* @__PURE__ */ a.jsx("div", { className: S0.statusSection, children: /* @__PURE__ */ a.jsx(L1, { highlight: i4.DOT, status: kd[e.status], children: pd(e.status) }) }),
8368
+ /* @__PURE__ */ a.jsx("div", { className: S0.actionSection, onClick: (o) => o.stopPropagation(), children: !!(s != null && s.length) && /* @__PURE__ */ a.jsx(
8369
8369
  A0.ActionsDropdown,
8370
8370
  {
8371
8371
  menuItems: s,
@@ -8429,7 +8429,7 @@ function Vd(e, l, n, c) {
8429
8429
  },
8430
8430
  iconSrc: C7,
8431
8431
  customStyles: { color: "var(--status-error-e50)" },
8432
- customSvgClassName: B0.logoutIcon,
8432
+ customSvgClassName: S0.logoutIcon,
8433
8433
  hidden: e.module_reference === H2.LEAVE && !e.task_details_id || Md.includes(e.module_reference) || e.status === u2.CANCELLED || e.status === u2.DECLINED || e.status === u2.PENDING_CANCELLATION || e.module_reference === "leave" && Be(e == null ? void 0 : e.leaveFrom) && !(e.status === u2.PENDING || e.status === u2.PENDING_SECOND_APPROVER)
8434
8434
  }
8435
8435
  ].filter((t) => !t.hidden);
@@ -11661,7 +11661,7 @@ function ux({
11661
11661
  handleImageUpload: F
11662
11662
  }) {
11663
11663
  var A2;
11664
- const [Z, $] = g.useState([]), [L, N] = g.useState([]), [j, k] = g.useState(!1), [H, G] = g.useState([]), [J, L0] = g.useState([]), [H0, h2] = g.useState(null), [a0, m0] = g.useState(""), E0 = g.useRef(), b0 = !!(c && ((A2 = L.filter((R) => !Z.includes(R.key))) == null ? void 0 : A2.length) >= c || h);
11664
+ const [Z, $] = g.useState([]), [L, N] = g.useState([]), [j, k] = g.useState(!1), [H, G] = g.useState([]), [J, L0] = g.useState([]), [H0, h2] = g.useState(null), [a0, m0] = g.useState(""), M0 = g.useRef(), b0 = !!(c && ((A2 = L.filter((R) => !Z.includes(R.key))) == null ? void 0 : A2.length) >= c || h);
11665
11665
  g.useEffect(() => {
11666
11666
  console.log(a0);
11667
11667
  const R = setTimeout(() => {
@@ -11708,16 +11708,16 @@ function ux({
11708
11708
  if (Q.length > c0.length && m0(
11709
11709
  `Few files were not uploaded as they are bigger than maximum size allowed ${r || 5}MB.`
11710
11710
  ), k(!0), !s) {
11711
- N([...c0]), E0.current.value = "";
11711
+ N([...c0]), M0.current.value = "";
11712
11712
  return;
11713
11713
  }
11714
- N([...L, ...c0]), E0.current.value = "";
11714
+ N([...L, ...c0]), M0.current.value = "";
11715
11715
  }
11716
11716
  function T0(R) {
11717
11717
  const Q = H.filter((c0) => c0.key !== R);
11718
11718
  N((c0) => c0.filter((_0) => _0.key !== R)), G((c0) => c0.filter((_0) => _0.key !== R)), e(Q);
11719
11719
  }
11720
- const M0 = () => {
11720
+ const R0 = () => {
11721
11721
  var R;
11722
11722
  return ((R = L == null ? void 0 : L.filter((Q) => !(Z != null && Z.includes(Q.key)))) == null ? void 0 : R.filter((Q) => !(H != null && H.find((c0) => c0.key === Q.key)))) || [];
11723
11723
  }, p2 = (R) => {
@@ -11753,7 +11753,7 @@ function ux({
11753
11753
  /* @__PURE__ */ a.jsx(
11754
11754
  "input",
11755
11755
  {
11756
- ref: E0,
11756
+ ref: M0,
11757
11757
  onChange: C0,
11758
11758
  type: "file",
11759
11759
  accept: w,
@@ -11768,7 +11768,7 @@ function ux({
11768
11768
  "div",
11769
11769
  {
11770
11770
  onClick: () => {
11771
- b0 || (b && b(), E0.current.click());
11771
+ b0 || (b && b(), M0.current.click());
11772
11772
  },
11773
11773
  onDrop: (R) => {
11774
11774
  b0 || (R.preventDefault(), R.persist(), C0({ target: { files: R.dataTransfer.files } }));
@@ -11831,7 +11831,7 @@ function ux({
11831
11831
  (H0 || !!a0) && /* @__PURE__ */ a.jsx("p", { className: U.fileUploadLimitError, children: H0 || a0 }),
11832
11832
  E && /* @__PURE__ */ a.jsx("p", { className: U.errorMsg, children: E }),
11833
11833
  v,
11834
- A && /* @__PURE__ */ a.jsx("div", { className: q(U.fileContainer, o), children: !!L.length && [...H, ...M0()].map((R, Q) => {
11834
+ A && /* @__PURE__ */ a.jsx("div", { className: q(U.fileContainer, o), children: !!L.length && [...H, ...R0()].map((R, Q) => {
11835
11835
  var c0, _0, O0, d2, J0, h0, I0, N2, p0;
11836
11836
  return /* @__PURE__ */ a.jsx("div", { children: Z.indexOf(R.key || "") !== -1 ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : R.isUploaded ? /* @__PURE__ */ a.jsx(
11837
11837
  "div",
@@ -12102,7 +12102,7 @@ function vx({ isOnly500: e, homeRoute: l = "/" }) {
12102
12102
  /* @__PURE__ */ a.jsx(_1, { index: !0, element: /* @__PURE__ */ a.jsx(J5, {}) })
12103
12103
  ] }) }) });
12104
12104
  }
12105
- const df = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202.5C4.96243%202.5%202.5%204.96243%202.5%208C2.5%2011.0376%204.96243%2013.5%208%2013.5C11.0376%2013.5%2013.5%2011.0376%2013.5%208C13.5%204.96243%2011.0376%202.5%208%202.5ZM1.5%208C1.5%204.41015%204.41015%201.5%208%201.5C11.5899%201.5%2014.5%204.41015%2014.5%208C14.5%2011.5899%2011.5899%2014.5%208%2014.5C4.41015%2014.5%201.5%2011.5899%201.5%208Z'%20fill='%23F8F8F8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.16675C8.27614%204.16675%208.5%204.39061%208.5%204.66675V7.17604C8.5%207.49168%208.67834%207.78023%208.96066%207.92139L10.8903%208.8862C11.1373%209.0097%2011.2374%209.31003%2011.1139%209.55702C10.9904%209.80401%2010.69%209.90412%2010.4431%209.78063L8.51344%208.81582C7.89234%208.50527%207.5%207.87045%207.5%207.17604V4.66675C7.5%204.39061%207.72386%204.16675%208%204.16675Z'%20fill='%23F8F8F8'/%3e%3c/svg%3e", uf = "_trigger_1ku53_1", mf = "_timeInput_1ku53_5", hf = "_triggerIcon_1ku53_9", pf = "_timePopover_1ku53_13", vf = "_footer_1ku53_22", gf = "_timeContainer_1ku53_31", qf = "_di_1ku53_37", ff = "_tri_1ku53_1", bf = "_tera_1ku53_45", xf = "_list_1ku53_49", Cf = "_selected_1ku53_79", _f = "_disabledIconContainer_1ku53_84", R0 = {
12105
+ const df = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202.5C4.96243%202.5%202.5%204.96243%202.5%208C2.5%2011.0376%204.96243%2013.5%208%2013.5C11.0376%2013.5%2013.5%2011.0376%2013.5%208C13.5%204.96243%2011.0376%202.5%208%202.5ZM1.5%208C1.5%204.41015%204.41015%201.5%208%201.5C11.5899%201.5%2014.5%204.41015%2014.5%208C14.5%2011.5899%2011.5899%2014.5%208%2014.5C4.41015%2014.5%201.5%2011.5899%201.5%208Z'%20fill='%23F8F8F8'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.16675C8.27614%204.16675%208.5%204.39061%208.5%204.66675V7.17604C8.5%207.49168%208.67834%207.78023%208.96066%207.92139L10.8903%208.8862C11.1373%209.0097%2011.2374%209.31003%2011.1139%209.55702C10.9904%209.80401%2010.69%209.90412%2010.4431%209.78063L8.51344%208.81582C7.89234%208.50527%207.5%207.87045%207.5%207.17604V4.66675C7.5%204.39061%207.72386%204.16675%208%204.16675Z'%20fill='%23F8F8F8'/%3e%3c/svg%3e", uf = "_trigger_1ku53_1", mf = "_timeInput_1ku53_5", hf = "_triggerIcon_1ku53_9", pf = "_timePopover_1ku53_13", vf = "_footer_1ku53_22", gf = "_timeContainer_1ku53_31", qf = "_di_1ku53_37", ff = "_tri_1ku53_1", bf = "_tera_1ku53_45", xf = "_list_1ku53_49", Cf = "_selected_1ku53_79", _f = "_disabledIconContainer_1ku53_84", B0 = {
12106
12106
  trigger: uf,
12107
12107
  timeInput: mf,
12108
12108
  triggerIcon: hf,
@@ -12194,14 +12194,14 @@ function jf({
12194
12194
  },
12195
12195
  placement: "bottom",
12196
12196
  children: [
12197
- /* @__PURE__ */ a.jsx(g4, { className: R0.trigger, openOnHover: !1, children: /* @__PURE__ */ a.jsxs(W1, { className: t, children: [
12197
+ /* @__PURE__ */ a.jsx(g4, { className: B0.trigger, openOnHover: !1, children: /* @__PURE__ */ a.jsxs(W1, { className: t, children: [
12198
12198
  /* @__PURE__ */ a.jsx(
12199
12199
  X1,
12200
12200
  {
12201
12201
  value: b,
12202
12202
  placeholder: C,
12203
12203
  readOnly: !0,
12204
- containerClassName: q(R0.timeInput, s),
12204
+ containerClassName: q(B0.timeInput, s),
12205
12205
  ...r
12206
12206
  }
12207
12207
  ),
@@ -12210,8 +12210,8 @@ function jf({
12210
12210
  {
12211
12211
  disabled: r.disabled,
12212
12212
  icon: df,
12213
- svgClassName: R0.triggerIcon,
12214
- spanClassName: q(r.disabled && R0.disabledIconContainer)
12213
+ svgClassName: B0.triggerIcon,
12214
+ spanClassName: q(r.disabled && B0.disabledIconContainer)
12215
12215
  }
12216
12216
  )
12217
12217
  ] }) }),
@@ -12219,54 +12219,54 @@ function jf({
12219
12219
  v4,
12220
12220
  {
12221
12221
  bg: "var(--neutral-white)",
12222
- className: R0.timePopover,
12222
+ className: B0.timePopover,
12223
12223
  positionerStyles: { zIndex: 20 },
12224
12224
  children: [
12225
12225
  /* @__PURE__ */ a.jsxs(
12226
12226
  "div",
12227
12227
  {
12228
12228
  className: q(
12229
- R0.timeContainer,
12230
- !c && n !== X0.STANDARD && R0.di,
12231
- !c && n === X0.STANDARD && R0.tri,
12232
- c && n === X0.DUAL && R0.tri,
12233
- c && n === X0.STANDARD && R0.tera
12229
+ B0.timeContainer,
12230
+ !c && n !== X0.STANDARD && B0.di,
12231
+ !c && n === X0.STANDARD && B0.tri,
12232
+ c && n === X0.DUAL && B0.tri,
12233
+ c && n === X0.STANDARD && B0.tera
12234
12234
  ),
12235
12235
  children: [
12236
- /* @__PURE__ */ a.jsx("ul", { className: R0.list, children: (n === X0.STANDARD ? zf : Array.from({ length: 24 }, (p, I) => String(I).padStart(2, "0"))).map((p) => /* @__PURE__ */ a.jsx(
12236
+ /* @__PURE__ */ a.jsx("ul", { className: B0.list, children: (n === X0.STANDARD ? zf : Array.from({ length: 24 }, (p, I) => String(I).padStart(2, "0"))).map((p) => /* @__PURE__ */ a.jsx(
12237
12237
  "li",
12238
12238
  {
12239
- className: q(d.hour === p && R0.selected),
12239
+ className: q(d.hour === p && B0.selected),
12240
12240
  onClick: _("hour").bind(null, p),
12241
12241
  value: p,
12242
12242
  children: p
12243
12243
  },
12244
12244
  p
12245
12245
  )) }),
12246
- /* @__PURE__ */ a.jsx("ul", { className: R0.list, children: yf.map((p) => /* @__PURE__ */ a.jsx(
12246
+ /* @__PURE__ */ a.jsx("ul", { className: B0.list, children: yf.map((p) => /* @__PURE__ */ a.jsx(
12247
12247
  "li",
12248
12248
  {
12249
- className: q(d.minute === p && R0.selected),
12249
+ className: q(d.minute === p && B0.selected),
12250
12250
  onClick: _("minute").bind(null, p),
12251
12251
  value: p,
12252
12252
  children: p
12253
12253
  },
12254
12254
  p
12255
12255
  )) }),
12256
- c && /* @__PURE__ */ a.jsx("ul", { className: R0.list, children: Af.map((p) => /* @__PURE__ */ a.jsx(
12256
+ c && /* @__PURE__ */ a.jsx("ul", { className: B0.list, children: Af.map((p) => /* @__PURE__ */ a.jsx(
12257
12257
  "li",
12258
12258
  {
12259
- className: q(d.second === p && R0.selected),
12259
+ className: q(d.second === p && B0.selected),
12260
12260
  onClick: _("second").bind(null, p),
12261
12261
  value: p,
12262
12262
  children: p
12263
12263
  },
12264
12264
  p
12265
12265
  )) }),
12266
- n === X0.STANDARD && /* @__PURE__ */ a.jsx("ul", { className: R0.list, children: Nf.map((p) => /* @__PURE__ */ a.jsx(
12266
+ n === X0.STANDARD && /* @__PURE__ */ a.jsx("ul", { className: B0.list, children: Nf.map((p) => /* @__PURE__ */ a.jsx(
12267
12267
  "li",
12268
12268
  {
12269
- className: q(d.period === p && R0.selected),
12269
+ className: q(d.period === p && B0.selected),
12270
12270
  onClick: _("period").bind(null, p),
12271
12271
  value: p,
12272
12272
  children: p
@@ -12276,7 +12276,7 @@ function jf({
12276
12276
  ]
12277
12277
  }
12278
12278
  ),
12279
- /* @__PURE__ */ a.jsxs("div", { className: R0.footer, children: [
12279
+ /* @__PURE__ */ a.jsxs("div", { className: B0.footer, children: [
12280
12280
  /* @__PURE__ */ a.jsx(
12281
12281
  A0,
12282
12282
  {