@attabot/complaint-app 1.0.32 → 1.0.33

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.
@@ -1078,12 +1078,12 @@ const ec = /* @__PURE__ */ k.forwardRef(function(t, n) {
1078
1078
  cc(f) && d === !0, m = S.encodeLocation ? S.encodeLocation(f).pathname : f.pathname, N = w.pathname, _ = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
1079
1079
  a || (N = N.toLowerCase(), _ = _ ? _.toLowerCase() : null, m = m.toLowerCase()), _ && g && (_ = Xe(_, g) || _);
1080
1080
  const x = m !== "/" && m.endsWith("/") ? m.length - 1 : m.length;
1081
- let I = N === m || !o && N.startsWith(m) && N.charAt(x) === "/", H = _ != null && (_ === m || !o && _.startsWith(m) && _.charAt(m.length) === "/"), $ = {
1081
+ let I = N === m || !o && N.startsWith(m) && N.charAt(x) === "/", K = _ != null && (_ === m || !o && _.startsWith(m) && _.charAt(m.length) === "/"), $ = {
1082
1082
  isActive: I,
1083
- isPending: H,
1083
+ isPending: K,
1084
1084
  isTransitioning: y
1085
1085
  }, b = I ? r : void 0, T;
1086
- typeof s == "function" ? T = s($) : T = [s, I ? "active" : null, H ? "pending" : null, y ? "transitioning" : null].filter(Boolean).join(" ");
1086
+ typeof s == "function" ? T = s($) : T = [s, I ? "active" : null, K ? "pending" : null, y ? "transitioning" : null].filter(Boolean).join(" ");
1087
1087
  let A = typeof i == "function" ? i($) : i;
1088
1088
  return /* @__PURE__ */ k.createElement(so, Nt({}, p, {
1089
1089
  "aria-current": b,
@@ -2074,10 +2074,10 @@ function rr(e, t, n) {
2074
2074
  if (h.endsWith(m, "{}"))
2075
2075
  m = r ? m : m.slice(0, -2), y = w(y, 1);
2076
2076
  else if (h.isArray(y) && wd(y) || (h.isFileList(y) || h.endsWith(m, "[]")) && (_ = h.toArray(y)))
2077
- return m = So(m), _.forEach(function(I, H) {
2077
+ return m = So(m), _.forEach(function(I, K) {
2078
2078
  !(h.isUndefined(I) || I === null) && t.append(
2079
2079
  // eslint-disable-next-line no-nested-ternary
2080
- o === !0 ? fr([m], H, s) : o === null ? m : m + "[]",
2080
+ o === !0 ? fr([m], K, s) : o === null ? m : m + "[]",
2081
2081
  p(I)
2082
2082
  );
2083
2083
  }), !1;
@@ -2703,11 +2703,11 @@ const Yd = typeof XMLHttpRequest < "u", Xd = Yd && function(e) {
2703
2703
  request: g
2704
2704
  };
2705
2705
  Lo(
2706
- function(H) {
2707
- n(H), S();
2706
+ function(K) {
2707
+ n(K), S();
2708
2708
  },
2709
- function(H) {
2710
- r(H), S();
2709
+ function(K) {
2710
+ r(K), S();
2711
2711
  },
2712
2712
  x
2713
2713
  ), g = null;
@@ -2989,7 +2989,7 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
2989
2989
  data: _,
2990
2990
  signal: x,
2991
2991
  cancelToken: I,
2992
- timeout: H,
2992
+ timeout: K,
2993
2993
  onDownloadProgress: $,
2994
2994
  onUploadProgress: b,
2995
2995
  responseType: T,
@@ -2999,12 +2999,12 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
2999
2999
  maxContentLength: E,
3000
3000
  maxBodyLength: R
3001
3001
  } = Ro(y);
3002
- const U = h.isNumber(E) && E > -1, Z = h.isNumber(R) && R > -1, te = (z) => h.hasOwnProp(y, z) ? y[z] : void 0;
3002
+ const U = h.isNumber(E) && E > -1, H = h.isNumber(R) && R > -1, te = (z) => h.hasOwnProp(y, z) ? y[z] : void 0;
3003
3003
  let Y = a || fetch;
3004
3004
  T = T ? (T + "").toLowerCase() : "text";
3005
3005
  let D = Qd(
3006
3006
  [x, I && I.toAbortSignal()],
3007
- H
3007
+ K
3008
3008
  ), P = null;
3009
3009
  const O = D && D.unsubscribe && (() => {
3010
3010
  D.unsubscribe();
@@ -3020,22 +3020,22 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3020
3020
  let z;
3021
3021
  const L = te("auth");
3022
3022
  if (L) {
3023
- const K = h.getSafeProp(L, "username") || "", we = h.getSafeProp(L, "password") || "";
3023
+ const J = h.getSafeProp(L, "username") || "", we = h.getSafeProp(L, "password") || "";
3024
3024
  z = {
3025
- username: K,
3025
+ username: J,
3026
3026
  password: we
3027
3027
  };
3028
3028
  }
3029
3029
  if (uu(m)) {
3030
- const K = new URL(m, he.origin);
3031
- if (!z && (K.username || K.password)) {
3032
- const we = Xa(K.username), Ne = Xa(K.password);
3030
+ const J = new URL(m, he.origin);
3031
+ if (!z && (J.username || J.password)) {
3032
+ const we = Xa(J.username), Ne = Xa(J.password);
3033
3033
  z = {
3034
3034
  username: we,
3035
3035
  password: Ne
3036
3036
  };
3037
3037
  }
3038
- (K.username || K.password) && (K.username = "", K.password = "", m = K.href);
3038
+ (J.username || J.password) && (J.username = "", J.password = "", m = J.href);
3039
3039
  }
3040
3040
  if (z && (A.delete("authorization"), A.set(
3041
3041
  "Authorization",
@@ -3047,16 +3047,16 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3047
3047
  y,
3048
3048
  P
3049
3049
  );
3050
- if (Z && N !== "get" && N !== "head") {
3051
- const K = await S(_);
3052
- if (typeof K == "number" && isFinite(K) && (V = K, K > R))
3050
+ if (H && N !== "get" && N !== "head") {
3051
+ const J = await S(_);
3052
+ if (typeof J == "number" && isFinite(J) && (V = J, J > R))
3053
3053
  throw ne();
3054
3054
  }
3055
- const G = Z && (h.isReadableStream(_) || h.isStream(_)), ie = (K, we, Ne) => Ja(
3056
- K,
3055
+ const G = H && (h.isReadableStream(_) || h.isStream(_)), ie = (J, we, Ne) => Ja(
3056
+ J,
3057
3057
  Ya,
3058
3058
  (ke) => {
3059
- if (Z && ke > R)
3059
+ if (H && ke > R)
3060
3060
  throw W = ne();
3061
3061
  we && we(ke);
3062
3062
  },
@@ -3064,17 +3064,17 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3064
3064
  );
3065
3065
  if (f && N !== "get" && N !== "head" && (b || G)) {
3066
3066
  if (V = V ?? await g(A, _), V !== 0 || G) {
3067
- let K = new s(m, {
3067
+ let J = new s(m, {
3068
3068
  method: "POST",
3069
3069
  body: _,
3070
3070
  duplex: "half"
3071
3071
  }), we;
3072
- if (h.isFormData(_) && (we = K.headers.get("content-type")) && A.setContentType(we), K.body) {
3072
+ if (h.isFormData(_) && (we = J.headers.get("content-type")) && A.setContentType(we), J.body) {
3073
3073
  const [Ne, ke] = b && Wa(
3074
3074
  V,
3075
3075
  Wn(za(b))
3076
3076
  ) || [];
3077
- _ = ie(K.body, Ne, ke);
3077
+ _ = ie(J.body, Ne, ke);
3078
3078
  }
3079
3079
  }
3080
3080
  } else if (G && !c && u && N !== "get" && N !== "head")
@@ -3089,8 +3089,8 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3089
3089
  h.isString(B) || (B = B ? "include" : "omit");
3090
3090
  const ee = c && "credentials" in s.prototype;
3091
3091
  if (h.isFormData(_)) {
3092
- const K = A.getContentType();
3093
- K && /^multipart\/form-data/i.test(K) && !/boundary=/i.test(K) && A.delete("content-type");
3092
+ const J = A.getContentType();
3093
+ J && /^multipart\/form-data/i.test(J) && !/boundary=/i.test(J) && A.delete("content-type");
3094
3094
  }
3095
3095
  A.set("User-Agent", "axios/" + ua, !1);
3096
3096
  const le = {
@@ -3106,8 +3106,8 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3106
3106
  let pe = await (c ? Y(P, j) : Y(m, le));
3107
3107
  const Fe = ye.from(pe.headers);
3108
3108
  if (U) {
3109
- const K = h.toFiniteNumber(Fe.getContentLength());
3110
- if (K != null && K > E)
3109
+ const J = h.toFiniteNumber(Fe.getContentLength());
3110
+ if (J != null && J > E)
3111
3111
  throw new M(
3112
3112
  "maxContentLength size of " + E + " exceeded",
3113
3113
  M.ERR_BAD_RESPONSE,
@@ -3117,9 +3117,9 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3117
3117
  }
3118
3118
  const Ae = w && (T === "stream" || T === "response");
3119
3119
  if (w && pe.body && ($ || U || Ae && O)) {
3120
- const K = {};
3120
+ const J = {};
3121
3121
  ["status", "statusText", "headers"].forEach((xe) => {
3122
- K[xe] = pe[xe];
3122
+ J[xe] = pe[xe];
3123
3123
  });
3124
3124
  const we = h.toFiniteNumber(Fe.getContentLength()), [Ne, ke] = $ && Wa(
3125
3125
  we,
@@ -3140,7 +3140,7 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3140
3140
  Ja(pe.body, Ya, xt, () => {
3141
3141
  ke && ke(), O && O();
3142
3142
  }),
3143
- K
3143
+ J
3144
3144
  );
3145
3145
  }
3146
3146
  T = T || "text";
@@ -3149,8 +3149,8 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3149
3149
  y
3150
3150
  );
3151
3151
  if (U && !w && !Ae) {
3152
- let K;
3153
- if (Le != null && (typeof Le.byteLength == "number" ? K = Le.byteLength : typeof Le.size == "number" ? K = Le.size : typeof Le == "string" && (K = typeof r == "function" ? new r().encode(Le).byteLength : Le.length)), typeof K == "number" && K > E)
3152
+ let J;
3153
+ if (Le != null && (typeof Le.byteLength == "number" ? J = Le.byteLength : typeof Le.size == "number" ? J = Le.size : typeof Le == "string" && (J = typeof r == "function" ? new r().encode(Le).byteLength : Le.length)), typeof J == "number" && J > E)
3154
3154
  throw new M(
3155
3155
  "maxContentLength size of " + E + " exceeded",
3156
3156
  M.ERR_BAD_RESPONSE,
@@ -3158,8 +3158,8 @@ const ua = "1.19.0", Ya = 64 * 1024, { isFunction: gn } = h, du = (e) => encodeU
3158
3158
  P
3159
3159
  );
3160
3160
  }
3161
- return !Ae && O && O(), await new Promise((K, we) => {
3162
- Lo(K, we, {
3161
+ return !Ae && O && O(), await new Promise((J, we) => {
3162
+ Lo(J, we, {
3163
3163
  data: Le,
3164
3164
  headers: ye.from(pe.headers),
3165
3165
  status: pe.status,
@@ -5417,7 +5417,7 @@ function xf({
5417
5417
  formsFilled: u,
5418
5418
  updatedOn: p
5419
5419
  });
5420
- }, H = () => {
5420
+ }, K = () => {
5421
5421
  if (C) {
5422
5422
  C({ id: e, title: t, descriptionHref: o });
5423
5423
  return;
@@ -5464,7 +5464,7 @@ function xf({
5464
5464
  menuOptions: b
5465
5465
  }
5466
5466
  ),
5467
- s ? /* @__PURE__ */ l("p", { className: "ca-system-card__description", onClick: H, children: s }) : null,
5467
+ s ? /* @__PURE__ */ l("p", { className: "ca-system-card__description", onClick: K, children: s }) : null,
5468
5468
  /* @__PURE__ */ l("div", { className: "ca-system-card__stats", children: $.map((T, A) => /* @__PURE__ */ v(ea.Fragment, { children: [
5469
5469
  A > 0 ? /* @__PURE__ */ l(Lf, {}) : /* @__PURE__ */ l("div", { className: "ca-system-card__stats-spacer" }),
5470
5470
  /* @__PURE__ */ l(Af, { label: T.label, value: T.value, icon: T.icon })
@@ -6157,7 +6157,7 @@ function Hr({
6157
6157
  }, [f]);
6158
6158
  const I = (b) => {
6159
6159
  m(b) ? r?.(n.filter((T) => String(T) !== String(b))) : r?.([...n, b]);
6160
- }, H = (b) => {
6160
+ }, K = (b) => {
6161
6161
  r?.(n.filter((T) => String(T) !== String(b)));
6162
6162
  }, $ = n.length ? `${n.length} selected` : a;
6163
6163
  return /* @__PURE__ */ v(
@@ -6260,7 +6260,7 @@ function Hr({
6260
6260
  Wf,
6261
6261
  {
6262
6262
  label: y.get(String(b)) || String(b),
6263
- onRemove: () => H(b)
6263
+ onRemove: () => K(b)
6264
6264
  },
6265
6265
  String(b)
6266
6266
  )) }) : null
@@ -6471,9 +6471,9 @@ function Gf({ stepMeta: e, stepperProps: t, roleList: n = [] }) {
6471
6471
  const B = { ...A };
6472
6472
  return delete B[b], B;
6473
6473
  });
6474
- }, H = r.visibilityType === "PRIVATE_LINK" || r.visibilityType === "PUBLIC_LINK", $ = async () => {
6474
+ }, K = r.visibilityType === "PRIVATE_LINK" || r.visibilityType === "PUBLIC_LINK", $ = async () => {
6475
6475
  const b = {};
6476
- if (r.categoryName.trim() || (b.categoryName = !0), Gu(r.tatMinutes) || (b.tatMinutes = !0), r.visibilityType || (b.visibilityType = !0), r.roles.length || (b.roles = !0), H && !r.urlLink.trim() && (b.urlLink = !0), Object.keys(b).length > 0) {
6476
+ if (r.categoryName.trim() || (b.categoryName = !0), Gu(r.tatMinutes) || (b.tatMinutes = !0), r.visibilityType || (b.visibilityType = !0), r.roles.length || (b.roles = !0), K && !r.urlLink.trim() && (b.urlLink = !0), Object.keys(b).length > 0) {
6477
6477
  o(b);
6478
6478
  return;
6479
6479
  }
@@ -6486,7 +6486,7 @@ function Gf({ stepMeta: e, stepperProps: t, roleList: n = [] }) {
6486
6486
  tatMinutes: T,
6487
6487
  description: r.description,
6488
6488
  visibilityType: r.visibilityType,
6489
- urlLink: H ? r.urlLink : "",
6489
+ urlLink: K ? r.urlLink : "",
6490
6490
  active: r.active,
6491
6491
  roles: r.roles
6492
6492
  }, B = u ? Vt({
@@ -6606,7 +6606,7 @@ function Gf({ stepMeta: e, stepperProps: t, roleList: n = [] }) {
6606
6606
  placeholder: "Select visibility type"
6607
6607
  }
6608
6608
  ),
6609
- H ? /* @__PURE__ */ l(
6609
+ K ? /* @__PURE__ */ l(
6610
6610
  vn,
6611
6611
  {
6612
6612
  label: null,
@@ -6670,15 +6670,17 @@ function Xf({ name: e, level: t, value: n, initialFormValues: r, setFormValues:
6670
6670
  value: E.id ?? E.roleId ?? E.value,
6671
6671
  label: E.name ?? E.label
6672
6672
  })), _ = (E) => {
6673
- const R = String(E?.name ?? E?.userName ?? E?.label ?? "").trim(), U = String(E?.roleName ?? E?.role?.name ?? (typeof E?.role == "string" ? E.role : "") ?? E?.roles?.[0]?.name ?? "").trim();
6674
- return U ? `${R} (${U})` : R;
6673
+ const R = [E?.firstName, E?.lastName].map((te) => String(te ?? "").trim()).filter(Boolean).join(" "), U = String(E?.name ?? E?.userName ?? E?.label ?? R ?? "").trim() || R, H = String(
6674
+ E?.roleName ?? E?.role?.name ?? (typeof E?.role == "string" ? E.role : "") ?? E?.roles?.[0]?.name ?? ""
6675
+ ).trim();
6676
+ return H ? `${U} (${H})` : U;
6675
6677
  }, x = w.map((E) => ({
6676
6678
  value: E.id ?? E.userId ?? E.value,
6677
6679
  label: _(E)
6678
6680
  })), I = (E, R) => {
6679
6681
  const U = { ...S, [E]: R };
6680
6682
  a ? a(U) : s?.(U);
6681
- }, H = g.length === 0 && y.length === 0, $ = (p || !!C.role) && H, b = (E) => E ? "ca-control--invalid" : "", T = t === 1 ? "green" : t === 2 ? "orange" : "blue", A = (E) => `workflow-level-${t}-${E}`, B = d || (t === 1 ? "Initial Handler" : t === 2 ? "Escalation if L1 TAT exceeded" : "Escalation workflow"), j = [
6683
+ }, K = g.length === 0 && y.length === 0, $ = (p || !!C.role) && K, b = (E) => E ? "ca-control--invalid" : "", T = t === 1 ? "green" : t === 2 ? "orange" : "blue", A = (E) => `workflow-level-${t}-${E}`, B = d || (t === 1 ? "Initial Handler" : t === 2 ? "Escalation if L1 TAT exceeded" : "Escalation workflow"), j = [
6682
6684
  { value: "role", label: "Role", count: g.length },
6683
6685
  { value: "user", label: "User", count: y.length }
6684
6686
  ];
@@ -6849,7 +6851,7 @@ function ys(e) {
6849
6851
  };
6850
6852
  }
6851
6853
  function om({ id: e, selectedTableId: t, onSelect: n, setUpdatePayload: r, roleList: a = [], prefillSteps: s = [], tatTotalMinutes: o = 0, showRoleError: i = !1, showEscalationError: c = !1, userList: d = [], onAddBlocked: u }) {
6852
- const p = e != null, [, f] = q(Tr), [w, C] = q(Tr), [S, g] = q([]), [y, m] = q(p), [N, _] = q(null), [x, I] = q(o), H = Se(null), $ = Se(o), [b, T] = q([]), A = Re(), B = oe(() => {
6854
+ const p = e != null, [, f] = q(Tr), [w, C] = q(Tr), [S, g] = q([]), [y, m] = q(p), [N, _] = q(null), [x, I] = q(o), K = Se(null), $ = Se(o), [b, T] = q([]), A = Re(), B = oe(() => {
6853
6855
  const D = hs(s);
6854
6856
  return D.length ? D : Tr;
6855
6857
  }, [s]), j = (() => {
@@ -6912,7 +6914,7 @@ function om({ id: e, selectedTableId: t, onSelect: n, setUpdatePayload: r, roleL
6912
6914
  w.map((O) => O.id === D ? { ...O, ...P } : O),
6913
6915
  { preserveLastLevel: R(D) }
6914
6916
  );
6915
- }, Z = (D, P) => {
6917
+ }, H = (D, P) => {
6916
6918
  E(
6917
6919
  w.map((O) => O.id !== D ? O : typeof P == "function" ? P(O) : P),
6918
6920
  { preserveLastLevel: R(D) }
@@ -6933,14 +6935,14 @@ function om({ id: e, selectedTableId: t, onSelect: n, setUpdatePayload: r, roleL
6933
6935
  va(O, D || `Level ${V}`)
6934
6936
  ]), requestAnimationFrame(() => {
6935
6937
  requestAnimationFrame(() => {
6936
- const ne = H.current;
6938
+ const ne = K.current;
6937
6939
  ne && ne.scrollTo({ left: ne.scrollWidth, behavior: "smooth" });
6938
6940
  });
6939
6941
  });
6940
6942
  }, Y = (D) => {
6941
6943
  E(w.filter((P) => P.id !== D));
6942
6944
  };
6943
- return y && !w.length ? null : /* @__PURE__ */ l("div", { className: "ca-table-card-grid", "aria-label": "Escalation levels", ref: H, children: /* @__PURE__ */ v("div", { className: "ca-table-card-grid__track", children: [
6945
+ return y && !w.length ? null : /* @__PURE__ */ l("div", { className: "ca-table-card-grid", "aria-label": "Escalation levels", ref: K, children: /* @__PURE__ */ v("div", { className: "ca-table-card-grid__track", children: [
6944
6946
  w.map((D, P) => /* @__PURE__ */ v(ea.Fragment, { children: [
6945
6947
  /* @__PURE__ */ l(
6946
6948
  Xf,
@@ -6953,7 +6955,7 @@ function om({ id: e, selectedTableId: t, onSelect: n, setUpdatePayload: r, roleL
6953
6955
  level: P + 1,
6954
6956
  value: D,
6955
6957
  initialFormValues: D,
6956
- setFormValues: (O) => Z(D.id, O),
6958
+ setFormValues: (O) => H(D.id, O),
6957
6959
  selected: D.id === t,
6958
6960
  onSelect: () => n?.(D),
6959
6961
  onDelete: () => Y(D.id),
@@ -7011,13 +7013,13 @@ function lm({
7011
7013
  E?.roleId,
7012
7014
  E?.role?.id,
7013
7015
  ...Array.isArray(E?.roleIds) ? E.roleIds : [],
7014
- ...Array.isArray(E?.roles) ? E.roles.map((Z) => Z?.id ?? Z?.roleId ?? Z) : []
7015
- ].filter((Z) => Z != null).map(String), U = [
7016
+ ...Array.isArray(E?.roles) ? E.roles.map((H) => H?.id ?? H?.roleId ?? H) : []
7017
+ ].filter((H) => H != null).map(String), U = [
7016
7018
  E?.roleName,
7017
7019
  typeof E?.role == "string" ? E.role : E?.role?.name,
7018
- ...Array.isArray(E?.roles) ? E.roles.map((Z) => Z?.name) : []
7020
+ ...Array.isArray(E?.roles) ? E.roles.map((H) => H?.name) : []
7019
7021
  ].filter(Boolean).map(B);
7020
- return !R.some((Z) => A.has(Z)) && !U.some((Z) => j.has(Z));
7022
+ return !R.some((H) => A.has(H)) && !U.some((H) => j.has(H));
7021
7023
  });
7022
7024
  }, [d, a, s]), [f, w] = q(null), [C, S] = q(""), g = Be((A) => {
7023
7025
  w(A);
@@ -7027,7 +7029,7 @@ function lm({
7027
7029
  se(() => {
7028
7030
  _ == null || _ === "" || x != null && String(x) === String(_) && N?.tatMinutes != null || y(yt(_));
7029
7031
  }, [y, N?.tatMinutes, x, _]);
7030
- const H = oe(() => {
7032
+ const K = oe(() => {
7031
7033
  const A = Array.isArray(f?.tables) ? f.tables : [];
7032
7034
  return Xu(A);
7033
7035
  }, [f]), $ = r ?? c.selectedTableCard ?? null, b = Array.isArray(f?.tables) && f.tables.length ? f.tables.map((A, B) => `L${B + 1}`).join(" > ") : "";
@@ -7068,7 +7070,7 @@ function lm({
7068
7070
  title: t.title,
7069
7071
  description: b,
7070
7072
  showNext: !1,
7071
- headerExtra: /* @__PURE__ */ l(im, { totalMinutes: I, usedMinutes: H }),
7073
+ headerExtra: /* @__PURE__ */ l(im, { totalMinutes: I, usedMinutes: K }),
7072
7074
  children: /* @__PURE__ */ l("div", { className: "ca-workflow__main", children: /* @__PURE__ */ l(
7073
7075
  om,
7074
7076
  {
@@ -7383,7 +7385,7 @@ function Sm({
7383
7385
  hasDuplicateIdentity: y = !1,
7384
7386
  hasMissingOptions: m = !1
7385
7387
  }) {
7386
- const [N, _] = q(""), [x, I] = q(null), H = Se(!1), { label: $, fieldLabel: b } = dt(), T = Cs(e), [A, B] = q(() => ({
7388
+ const [N, _] = q(""), [x, I] = q(null), K = Se(!1), { label: $, fieldLabel: b } = dt(), T = Cs(e), [A, B] = q(() => ({
7387
7389
  id: e.id,
7388
7390
  signature: e.isNew ? null : T
7389
7391
  }));
@@ -7391,7 +7393,7 @@ function Sm({
7391
7393
  id: e.id,
7392
7394
  signature: e.isNew ? null : T
7393
7395
  });
7394
- const j = e.lockMode === "all", E = j || e.lockMode === "options", R = Ss(e), U = j || !R, Z = !!(String(e.fieldLabel || "").trim() && String(e.fieldType || "").trim()), te = A.signature !== T, Y = !!s || !Z, D = y || m ? "ca-control--invalid" : "", P = (L) => f?.({ ...e, ...L }), O = () => {
7396
+ const j = e.lockMode === "all", E = j || e.lockMode === "options", R = Ss(e), U = j || !R, H = !!(String(e.fieldLabel || "").trim() && String(e.fieldType || "").trim()), te = A.signature !== T, Y = !!s || !H, D = y || m ? "ca-control--invalid" : "", P = (L) => f?.({ ...e, ...L }), O = () => {
7395
7397
  if (U) return;
7396
7398
  const L = N.trim();
7397
7399
  if (!L) return;
@@ -7421,12 +7423,12 @@ function Sm({
7421
7423
  ...X(e) ? { optionColors: G } : {}
7422
7424
  });
7423
7425
  }, W = (L) => {
7424
- U || X(e) && Ze(L) || (H.current = !1, I({ original: L, draft: L }));
7426
+ U || X(e) && Ze(L) || (K.current = !1, I({ original: L, draft: L }));
7425
7427
  }, ne = () => {
7426
- H.current = !0, I(null);
7428
+ K.current = !0, I(null);
7427
7429
  }, z = () => {
7428
- if (H.current) {
7429
- H.current = !1;
7430
+ if (K.current) {
7431
+ K.current = !1;
7430
7432
  return;
7431
7433
  }
7432
7434
  if (!x) return;
@@ -7835,9 +7837,9 @@ function Lm({
7835
7837
  if (n)
7836
7838
  return n.current = (R) => {
7837
7839
  R && d((U) => {
7838
- const Z = U.find((D) => Mn(R, [D]));
7839
- if (Bn(U) || Z)
7840
- return Z && p(Z.id), U;
7840
+ const H = U.find((D) => Mn(R, [D]));
7841
+ if (Bn(U) || H)
7842
+ return H && p(H.id), U;
7841
7843
  if (St(U))
7842
7844
  return U;
7843
7845
  const te = mt([
@@ -7853,28 +7855,28 @@ function Lm({
7853
7855
  if (u == null) return;
7854
7856
  const R = y.current, U = m.current[u];
7855
7857
  if (!R || !U) return;
7856
- const Z = requestAnimationFrame(() => {
7858
+ const H = requestAnimationFrame(() => {
7857
7859
  const te = R.getBoundingClientRect(), Y = U.getBoundingClientRect(), D = 12;
7858
7860
  Y.left >= te.left + D && Y.right <= te.right - D || R.scrollTo({
7859
7861
  left: R.scrollLeft + Y.left - te.left - (te.width - Y.width) / 2,
7860
7862
  behavior: "smooth"
7861
7863
  });
7862
7864
  });
7863
- return () => cancelAnimationFrame(Z);
7865
+ return () => cancelAnimationFrame(H);
7864
7866
  }, [u, c]);
7865
7867
  const x = (R, U) => {
7866
7868
  if (R == null || U == null || String(R) === String(U)) return;
7867
- const Z = c.findIndex((P) => String(P.id) === String(R)), te = c.findIndex((P) => String(P.id) === String(U));
7868
- if (Z < 0 || te < 0) return;
7869
- const Y = [...c], [D] = Y.splice(Z, 1);
7869
+ const H = c.findIndex((P) => String(P.id) === String(R)), te = c.findIndex((P) => String(P.id) === String(U));
7870
+ if (H < 0 || te < 0) return;
7871
+ const Y = [...c], [D] = Y.splice(H, 1);
7870
7872
  Y.splice(te, 0, D), N(Y.map((P, O) => ({ ...P, order: O + 1 })));
7871
7873
  }, I = (R) => {
7872
- const U = c.find((W) => W.id === R.id), Z = U && U.fieldType !== R.fieldType;
7874
+ const U = c.find((W) => W.id === R.id), H = U && U.fieldType !== R.fieldType;
7873
7875
  R.dependsOn && R.dependsOn !== U?.dependsOn && p(R.id);
7874
7876
  const te = String(U?.fieldLabel || "").trim(), Y = U?.options || [], D = R.options || [], P = Y.filter((W) => !D.includes(W)), O = D.filter((W) => !Y.includes(W)), V = Y.length === D.length && P.length === 1 && O.length === 1 ? { from: P[0], to: O[0] } : null;
7875
7877
  N(c.map((W) => {
7876
7878
  if (W.id === R.id) return R;
7877
- if (Z && te && String(W.dependsOn || "").trim() === te)
7879
+ if (H && te && String(W.dependsOn || "").trim() === te)
7878
7880
  return { ...W, dependsOn: "", parentMappings: {} };
7879
7881
  if (V && te && String(W.dependsOn || "").trim() === te) {
7880
7882
  const ne = Object.fromEntries(
@@ -7887,8 +7889,8 @@ function Lm({
7887
7889
  }
7888
7890
  return W;
7889
7891
  }));
7890
- }, H = async (R) => {
7891
- const U = c.find((Z) => Z.id === R);
7892
+ }, K = async (R) => {
7893
+ const U = c.find((H) => H.id === R);
7892
7894
  if (!(!U || pn(U)))
7893
7895
  try {
7894
7896
  if (await i?.(U) === !1) return;
@@ -7906,8 +7908,8 @@ function Lm({
7906
7908
  return null;
7907
7909
  try {
7908
7910
  const U = await o?.(R);
7909
- return U ? (d((Z) => {
7910
- const te = mt(Z.map((Y) => Y.id === R.id ? { ...U, isNew: !1, order: Y.order || 1 } : Y));
7911
+ return U ? (d((H) => {
7912
+ const te = mt(H.map((Y) => Y.id === R.id ? { ...U, isNew: !1, order: Y.order || 1 } : Y));
7911
7913
  return t?.(te), te;
7912
7914
  }), U) : null;
7913
7915
  } catch {
@@ -7938,7 +7940,7 @@ function Lm({
7938
7940
  onDragEndField: () => w(null),
7939
7941
  onReorder: x,
7940
7942
  onChange: I,
7941
- onDelete: H,
7943
+ onDelete: K,
7942
7944
  onSave: b,
7943
7945
  onOptionNotice: S,
7944
7946
  hasDuplicateIdentity: Mn(R, c),
@@ -8285,7 +8287,7 @@ function jm({ stepMeta: e, stepperProps: t }) {
8285
8287
  ), j = km(g), E = um, R = pm, U = oe(() => {
8286
8288
  const O = [...m].sort((W, ne) => (W.levelNo ?? 0) - (ne.levelNo ?? 0)).map((W) => Gn(W)).filter(Boolean), V = I.flatMap((W) => W.hideFor);
8287
8289
  return bi([...O, ...V]);
8288
- }, [I, m]), Z = oe(() => {
8290
+ }, [I, m]), H = oe(() => {
8289
8291
  const O = new Map(
8290
8292
  nt(C, m).map((V) => [Number(V.id), V])
8291
8293
  );
@@ -8336,13 +8338,13 @@ function jm({ stepMeta: e, stepperProps: t }) {
8336
8338
  }
8337
8339
  }, [C, s, n, b, t, i, m]), P = Be(() => {
8338
8340
  if (!St(b)) {
8339
- if (Z.length) {
8341
+ if (H.length) {
8340
8342
  Y(!0);
8341
8343
  return;
8342
8344
  }
8343
8345
  D(!1);
8344
8346
  }
8345
- }, [b, Z.length, D]);
8347
+ }, [b, H.length, D]);
8346
8348
  return /* @__PURE__ */ v(me, { children: [
8347
8349
  /* @__PURE__ */ l(or, { ...t, steps: We, onNext: P }),
8348
8350
  te ? /* @__PURE__ */ l(
@@ -8936,7 +8938,7 @@ function ih({
8936
8938
  return;
8937
8939
  }
8938
8940
  d("/");
8939
- }, H = (T) => {
8941
+ }, K = (T) => {
8940
8942
  x(4, T);
8941
8943
  }, $ = () => {
8942
8944
  t?.({ systemId: p, step: C });
@@ -8982,7 +8984,7 @@ function ih({
8982
8984
  roleList: a,
8983
8985
  userList: s,
8984
8986
  substep: S,
8985
- onSubstepChange: H,
8987
+ onSubstepChange: K,
8986
8988
  stepperProps: b
8987
8989
  }
8988
8990
  ) : null,
@@ -9717,24 +9719,24 @@ function e0() {
9717
9719
  hasLoaded: u = !1,
9718
9720
  requestedComplaintTypeId: p = null,
9719
9721
  meta: f = null
9720
- } = re((F) => F.complaintManagement ?? {}), w = re((F) => F.status?.list ?? []), C = re((F) => F.changeStatus?.error ?? null), S = re((F) => F.changeStatus?.updatingId ?? null), g = re((F) => F.workflow?.workflowSteps), y = re((F) => F.appDetails?.details?.currentUser), m = oe(() => w.map((F) => F.name).filter(Boolean), [w]), N = oe(() => Array.isArray(g) ? g : [], [g]), _ = oe(() => Zh(y), [y]), x = y?.id ?? null, I = oe(() => Xh(N, _, x), [N, _, x]), H = re((F) => {
9721
- const J = F.complaintType?.selected, ae = Array.isArray(J?.accesses) ? J.accesses.map((_e) => _e?.role?.id).filter((_e) => _e != null) : [];
9722
- return ae.length ? ae.map(Number) : (Array.isArray(J?.roleIds) ? J.roleIds : []).map(Number);
9722
+ } = re((F) => F.complaintManagement ?? {}), w = re((F) => F.status?.list ?? []), C = re((F) => F.changeStatus?.error ?? null), S = re((F) => F.changeStatus?.updatingId ?? null), g = re((F) => F.workflow?.workflowSteps), y = re((F) => F.appDetails?.details?.currentUser), m = oe(() => w.map((F) => F.name).filter(Boolean), [w]), N = oe(() => Array.isArray(g) ? g : [], [g]), _ = oe(() => Zh(y), [y]), x = y?.id ?? null, I = oe(() => Xh(N, _, x), [N, _, x]), K = re((F) => {
9723
+ const Z = F.complaintType?.selected, ae = Array.isArray(Z?.accesses) ? Z.accesses.map((_e) => _e?.role?.id).filter((_e) => _e != null) : [];
9724
+ return ae.length ? ae.map(Number) : (Array.isArray(Z?.roleIds) ? Z.roleIds : []).map(Number);
9723
9725
  }), $ = re((F) => {
9724
- const J = F.complaintType?.selected;
9725
- return J?.isActive != null ? !!J.isActive : J?.active != null ? !!J.active : !0;
9726
- }), [b, T] = q({ complaintTypeId: null, status: "all" }), [A, B] = q({ complaintTypeId: null, direction: Qt }), [j, E] = q(1), [R, U] = q(Th), [Z, te] = q([]), [Y, D] = q({}), [P, O] = q(!1), [V, W] = q(null), [ne, z] = q(null), [L, G] = q(""), [ie, ee] = q([]), le = String(b.complaintTypeId) === String(o) ? b.status : "all", pe = String(A.complaintTypeId) === String(o) ? A.direction : Qt, Fe = (F, J = "success") => {
9726
+ const Z = F.complaintType?.selected;
9727
+ return Z?.isActive != null ? !!Z.isActive : Z?.active != null ? !!Z.active : !0;
9728
+ }), [b, T] = q({ complaintTypeId: null, status: "all" }), [A, B] = q({ complaintTypeId: null, direction: Qt }), [j, E] = q(1), [R, U] = q(Th), [H, te] = q([]), [Y, D] = q({}), [P, O] = q(!1), [V, W] = q(null), [ne, z] = q(null), [L, G] = q(""), [ie, ee] = q([]), le = String(b.complaintTypeId) === String(o) ? b.status : "all", pe = String(A.complaintTypeId) === String(o) ? A.direction : Qt, Fe = (F, Z = "success") => {
9727
9729
  const ae = `${Date.now()}-${Math.random()}`;
9728
- ee((ue) => [...ue, { id: ae, message: F, type: J }]);
9729
- }, Ae = (F) => ee((J) => J.filter((ae) => ae.id !== F));
9730
+ ee((ue) => [...ue, { id: ae, message: F, type: Z }]);
9731
+ }, Ae = (F) => ee((Z) => Z.filter((ae) => ae.id !== F));
9730
9732
  se(() => {
9731
9733
  !o || r || (Bs(o), n(`/complaintmanagement/${o}`, { replace: !0 }));
9732
9734
  }, [o, n, r]), se(() => {
9733
9735
  if (!o || !r) return;
9734
9736
  Bs(o), t(At(o)), t(Jo()), t(Yo()), t(Ap());
9735
- const F = t(In(o)), J = t(Wt(o)), ae = t(Ye(o)), ue = t(Ue(o)), _e = t(yt(o));
9737
+ const F = t(In(o)), Z = t(Wt(o)), ae = t(Ye(o)), ue = t(Ue(o)), _e = t(yt(o));
9736
9738
  return ue.unwrap().then((tt) => te(Dh(tt))).catch(() => te([])), () => {
9737
- F.abort?.(), J.abort?.(), ae.abort?.(), ue.abort?.(), _e.abort?.();
9739
+ F.abort?.(), Z.abort?.(), ae.abort?.(), ue.abort?.(), _e.abort?.();
9738
9740
  };
9739
9741
  }, [o, t, r]), se(() => {
9740
9742
  if (!o || !r) return;
@@ -9747,29 +9749,29 @@ function e0() {
9747
9749
  return () => F.abort?.();
9748
9750
  }, [o, t, R, j, r, le]);
9749
9751
  const Le = oe(
9750
- () => new Map(Z.map((F) => [F.key, F.hideForWorkflowStepId])),
9751
- [Z]
9752
- ), K = Be((F) => Gh(
9752
+ () => new Map(H.map((F) => [F.key, F.hideForWorkflowStepId])),
9753
+ [H]
9754
+ ), J = Be((F) => Gh(
9753
9755
  { hideForWorkflowStepId: Le.get(F) },
9754
9756
  N,
9755
9757
  _
9756
- ), [Le, N, _]), we = H.length === 0 || H.some((F) => _.includes(F)), Ne = oe(() => p != null && o != null && String(p) !== String(o) ? [] : i.map((F) => ({
9758
+ ), [Le, N, _]), we = K.length === 0 || K.some((F) => _.includes(F)), Ne = oe(() => p != null && o != null && String(p) !== String(o) ? [] : i.map((F) => ({
9757
9759
  ...Us(F, w, N),
9758
9760
  _fields: F?.formField || []
9759
9761
  })), [o, i, p, w, N]), ke = oe(
9760
- () => $s(Ne, Z).filter((F) => !K(F.key)),
9761
- [Ne, Z, K]
9762
+ () => $s(Ne, H).filter((F) => !J(F.key)),
9763
+ [Ne, H, J]
9762
9764
  ), fn = Ms(ke), xt = oe(
9763
9765
  () => xh(Ne, pe),
9764
9766
  [Ne, pe]
9765
- ), xe = xt.map(({ _fields: F, ...J }) => J), lr = oe(
9767
+ ), xe = xt.map(({ _fields: F, ...Z }) => Z), lr = oe(
9766
9768
  () => Ch(ke, xt),
9767
9769
  [ke, xt]
9768
9770
  ), Oi = lr.every((F) => Object.prototype.hasOwnProperty.call(Y, F));
9769
9771
  se(() => {
9770
9772
  const F = lr.filter((ae) => !Object.prototype.hasOwnProperty.call(Y, ae));
9771
9773
  if (!F.length) return;
9772
- let J = !1;
9774
+ let Z = !1;
9773
9775
  return Promise.all(F.map(async (ae) => {
9774
9776
  try {
9775
9777
  const ue = await t(Pn({ params: { path: ae } })).unwrap();
@@ -9778,9 +9780,9 @@ function e0() {
9778
9780
  return [ae, ""];
9779
9781
  }
9780
9782
  })).then((ae) => {
9781
- J || D((ue) => ({ ...ue, ...Object.fromEntries(ae) }));
9783
+ Z || D((ue) => ({ ...ue, ...Object.fromEntries(ae) }));
9782
9784
  }), () => {
9783
- J = !0;
9785
+ Z = !0;
9784
9786
  };
9785
9787
  }, [lr, Y, t]);
9786
9788
  const mn = Ph(f, j, R, xe.length), Aa = !!(o && !d && (!xe.length && (c || !u) || xe.length > 0 && !Oi)), Fi = (F) => {
@@ -9788,16 +9790,16 @@ function e0() {
9788
9790
  }, ki = (F) => {
9789
9791
  F >= 1 && F <= mn.totalPages && F !== j && E(F);
9790
9792
  }, xi = (F) => {
9791
- const J = Number(F);
9792
- !Number.isFinite(J) || J <= 0 || J === R || (U(J), E(1));
9793
+ const Z = Number(F);
9794
+ !Number.isFinite(Z) || Z <= 0 || Z === R || (U(Z), E(1));
9793
9795
  }, Ii = () => B({
9794
9796
  complaintTypeId: o,
9795
9797
  direction: Ih(pe)
9796
9798
  }), Di = () => {
9797
9799
  o && n(`/complaintmanagement/new/${o}`);
9798
- }, Pi = (F, J) => {
9799
- if (F?.id == null || S != null && String(S) === String(F.id) || String(J) === String(F.statusId) || String(J) === String(F.status)) return;
9800
- const ae = w.find((_e) => String(_e.id) === String(J) || String(_e.name) === String(J));
9800
+ }, Pi = (F, Z) => {
9801
+ if (F?.id == null || S != null && String(S) === String(F.id) || String(Z) === String(F.statusId) || String(Z) === String(F.status)) return;
9802
+ const ae = w.find((_e) => String(_e.id) === String(Z) || String(_e.name) === String(Z));
9801
9803
  if (ae?.id == null) return;
9802
9804
  const ue = Li(ae.name);
9803
9805
  ue && !I || ue && !F.canResolve || F.isFinalLevel && !ue || (G(""), z({
@@ -9808,9 +9810,9 @@ function e0() {
9808
9810
  fromLabel: F.status || "—",
9809
9811
  toLabel: ae.name
9810
9812
  }));
9811
- }, Mi = (F, J) => {
9812
- if (F?.id == null || S != null && String(S) === String(F.id) || String(J) === String(F.currentStepId) || String(J) === String(F.escalationTo)) return;
9813
- const ae = N.find((ue) => String(ue.id) === String(J) || `Level ${ue.levelNo}` === String(J));
9813
+ }, Mi = (F, Z) => {
9814
+ if (F?.id == null || S != null && String(S) === String(F.id) || String(Z) === String(F.currentStepId) || String(Z) === String(F.escalationTo)) return;
9815
+ const ae = N.find((ue) => String(ue.id) === String(Z) || `Level ${ue.levelNo}` === String(Z));
9814
9816
  ae?.id != null && (G(""), z({
9815
9817
  type: "escalation",
9816
9818
  row: F,
@@ -9821,10 +9823,10 @@ function e0() {
9821
9823
  }));
9822
9824
  }, Bi = () => {
9823
9825
  if (!ne) return;
9824
- const { row: F, statusId: J, currentStepId: ae, type: ue, fromLabel: _e, toLabel: tt } = ne;
9826
+ const { row: F, statusId: Z, currentStepId: ae, type: ue, fromLabel: _e, toLabel: tt } = ne;
9825
9827
  t(qt({
9826
9828
  id: F.id,
9827
- statusId: J,
9829
+ statusId: Z,
9828
9830
  currentStepId: ae,
9829
9831
  remark: L,
9830
9832
  onSuccess: () => {
@@ -9849,8 +9851,8 @@ function e0() {
9849
9851
  ...Qh(F, N, _, x),
9850
9852
  statusOptions: Hh(w, F, I),
9851
9853
  escalationOptions: Kh(N),
9852
- onStatusChange: (J) => Pi(F, J),
9853
- onEscalationChange: (J) => Mi(F, J),
9854
+ onStatusChange: (Z) => Pi(F, Z),
9855
+ onEscalationChange: (Z) => Mi(F, Z),
9854
9856
  attachmentUrlMap: Y
9855
9857
  });
9856
9858
  return {
@@ -9868,10 +9870,10 @@ function e0() {
9868
9870
  if (!(!o || P)) {
9869
9871
  O(!0), W(null);
9870
9872
  try {
9871
- const J = (await Jh({ complaintTypeId: o, status: le })).map((He) => ({
9873
+ const Z = (await Jh({ complaintTypeId: o, status: le })).map((He) => ({
9872
9874
  ...Us(He, w, N),
9873
9875
  _fields: He?.formField || []
9874
- })), ae = $s(J, Z).filter((He) => !K(He.key)), ue = Ms(ae).filter((He) => !qh(He, J, _a)), _e = new Blob([zh(ue, J)], { type: "text/csv;charset=utf-8;" }), tt = URL.createObjectURL(_e), ze = document.createElement("a");
9876
+ })), ae = $s(Z, H).filter((He) => !J(He.key)), ue = Ms(ae).filter((He) => !qh(He, Z, _a)), _e = new Blob([zh(ue, Z)], { type: "text/csv;charset=utf-8;" }), tt = URL.createObjectURL(_e), ze = document.createElement("a");
9875
9877
  ze.href = tt, ze.download = `complaints-report-${o}-${Date.now()}.csv`, document.body.appendChild(ze), ze.click(), document.body.removeChild(ze), URL.revokeObjectURL(tt);
9876
9878
  } catch (F) {
9877
9879
  W(F?.response?.data?.message ?? F?.message ?? "Failed to download report");
@@ -10277,7 +10279,7 @@ function zs({ storeList: e } = {}) {
10277
10279
  } finally {
10278
10280
  C(!1);
10279
10281
  }
10280
- }, H = (b) => {
10282
+ }, K = (b) => {
10281
10283
  const T = i0(b, i, d);
10282
10284
  return /* @__PURE__ */ v("div", { className: `review-question${["textarea", "radio", "checkbox"].includes(kt(b)) ? " review-question--wide" : ""}`, children: [
10283
10285
  /* @__PURE__ */ v("label", { className: "review-label", htmlFor: Ri(b), children: [
@@ -10342,7 +10344,7 @@ function zs({ storeList: e } = {}) {
10342
10344
  o && !p && x ? /* @__PURE__ */ v("form", { className: "review-form-card", onSubmit: I, children: [
10343
10345
  /* @__PURE__ */ v("div", { className: "review-form-grid", children: [
10344
10346
  i.map((b) => /* @__PURE__ */ v(ea.Fragment, { children: [
10345
- H(b),
10347
+ K(b),
10346
10348
  X(b) ? $() : null
10347
10349
  ] }, b.id ?? fe(b))),
10348
10350
  i.some(X) ? null : $()
@@ -10446,7 +10448,7 @@ const Hs = [], ag = ({
10446
10448
  onDescriptionClick: _,
10447
10449
  onSearch: x,
10448
10450
  onPublish: I,
10449
- onSaveDraft: H,
10451
+ onSaveDraft: K,
10450
10452
  showSaveButton: $,
10451
10453
  showNextButton: b,
10452
10454
  onStepChange: T,
@@ -10467,7 +10469,7 @@ const Hs = [], ag = ({
10467
10469
  onTitleClick: N,
10468
10470
  onDescriptionClick: _,
10469
10471
  onSearch: x,
10470
- onSaveDraft: H,
10472
+ onSaveDraft: K,
10471
10473
  showSaveButton: $,
10472
10474
  showNextButton: b
10473
10475
  }, j = oe(
@@ -10493,7 +10495,7 @@ const Hs = [], ag = ({
10493
10495
  onDescriptionClick: _,
10494
10496
  onSearch: x,
10495
10497
  onPublish: I,
10496
- onSaveDraft: H,
10498
+ onSaveDraft: K,
10497
10499
  showSaveButton: $,
10498
10500
  showNextButton: b,
10499
10501
  onStepChange: T
@@ -10520,7 +10522,7 @@ const Hs = [], ag = ({
10520
10522
  _,
10521
10523
  x,
10522
10524
  I,
10523
- H,
10525
+ K,
10524
10526
  $,
10525
10527
  b,
10526
10528
  T