@argusoft/medplat-core 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{AccessRights-Bvd5Bm5K.js → AccessRights-CupmTG3T.js} +2 -2
  2. package/dist/{AccessRights-Bvd5Bm5K.js.map → AccessRights-CupmTG3T.js.map} +1 -1
  3. package/dist/{AddEditQueryBuilder-Bcjl5mXE.js → AddEditQueryBuilder-C8ZSkOF0.js} +60 -60
  4. package/dist/AddEditQueryBuilder-C8ZSkOF0.js.map +1 -0
  5. package/dist/{AddFeatures-CE5rBxEG.js → AddFeatures-CiZZZ0GL.js} +2 -2
  6. package/dist/{AddFeatures-CE5rBxEG.js.map → AddFeatures-CiZZZ0GL.js.map} +1 -1
  7. package/dist/{AddMenuConfiguration-QWfpcnuP.js → AddMenuConfiguration-DsnY0Rws.js} +544 -544
  8. package/dist/AddMenuConfiguration-DsnY0Rws.js.map +1 -0
  9. package/dist/{AddRoleDrawer-SvntLdRu.js → AddRoleDrawer-CQdzQZLb.js} +39 -39
  10. package/dist/AddRoleDrawer-CQdzQZLb.js.map +1 -0
  11. package/dist/ChangePasswordModalCore-50EzprTk.js +5495 -0
  12. package/dist/ChangePasswordModalCore-50EzprTk.js.map +1 -0
  13. package/dist/{ConditionConfig-DB0FqwgG.js → ConditionConfig-C3rF2wXU.js} +2 -2
  14. package/dist/{ConditionConfig-DB0FqwgG.js.map → ConditionConfig-C3rF2wXU.js.map} +1 -1
  15. package/dist/{EntityManagement-DQKXnEzz.js → EntityManagement-D4nG7wUX.js} +2 -2
  16. package/dist/{EntityManagement-DQKXnEzz.js.map → EntityManagement-D4nG7wUX.js.map} +1 -1
  17. package/dist/{EventConfigurations-D8juDb29.js → EventConfigurations-BGffjVC7.js} +3 -3
  18. package/dist/{EventConfigurations-D8juDb29.js.map → EventConfigurations-BGffjVC7.js.map} +1 -1
  19. package/dist/{EventsExceptionModal-DsvngLi8.js → EventsExceptionModal-D4Bf1ilS.js} +2 -2
  20. package/dist/{EventsExceptionModal-DsvngLi8.js.map → EventsExceptionModal-D4Bf1ilS.js.map} +1 -1
  21. package/dist/EventsSkeleton-8iiETGcf.js +76 -0
  22. package/dist/EventsSkeleton-8iiETGcf.js.map +1 -0
  23. package/dist/{FeatureMenu-CLX8VNZ-.js → FeatureMenu-DUZL32RI.js} +3 -3
  24. package/dist/{FeatureMenu-CLX8VNZ-.js.map → FeatureMenu-DUZL32RI.js.map} +1 -1
  25. package/dist/Features-CObdzJp_.js +13 -0
  26. package/dist/Features-CObdzJp_.js.map +1 -0
  27. package/dist/ImmunizationConfigurationBase-C5wnjI_-.js +5706 -0
  28. package/dist/ImmunizationConfigurationBase-C5wnjI_-.js.map +1 -0
  29. package/dist/ImmunizationConfigurationBase.css +1 -1
  30. package/dist/{ManageDynamicFeature-CsIett5x.js → ManageDynamicFeature-BhONvfC_.js} +3 -3
  31. package/dist/{ManageDynamicFeature-CsIett5x.js.map → ManageDynamicFeature-BhONvfC_.js.map} +1 -1
  32. package/dist/{ManageEventConfiguration-0YBDaxOI.js → ManageEventConfiguration-BntUc_YI.js} +93 -93
  33. package/dist/ManageEventConfiguration-BntUc_YI.js.map +1 -0
  34. package/dist/{ManageNotification-BUAvg5Ge.js → ManageNotification-CSl02Wq7.js} +2 -2
  35. package/dist/{ManageNotification-BUAvg5Ge.js.map → ManageNotification-CSl02Wq7.js.map} +1 -1
  36. package/dist/{ManageRole-Cbs9dUhc.js → ManageRole-tdzAiCOE.js} +222 -229
  37. package/dist/ManageRole-tdzAiCOE.js.map +1 -0
  38. package/dist/{ManageUser-eBS0yC5k.js → ManageUser-C6dlK-Mr.js} +3 -4
  39. package/dist/{ManageUser-eBS0yC5k.js.map → ManageUser-C6dlK-Mr.js.map} +1 -1
  40. package/dist/{MobileMenuManagement-BmrO-7MN.js → MobileMenuManagement-CV6QCeos.js} +15 -15
  41. package/dist/MobileMenuManagement-CV6QCeos.js.map +1 -0
  42. package/dist/{MobileTypeEventConfigModal-Ltm529jG.js → MobileTypeEventConfigModal-BNjZ8pnq.js} +2 -2
  43. package/dist/{MobileTypeEventConfigModal-Ltm529jG.js.map → MobileTypeEventConfigModal-BNjZ8pnq.js.map} +1 -1
  44. package/dist/{NewServerManagement-5YcAtF-g.js → NewServerManagement-Cxe0dV0O.js} +5 -5
  45. package/dist/NewServerManagement-Cxe0dV0O.js.map +1 -0
  46. package/dist/{NotificationList-CUZSWp2J.js → NotificationList-D1U1LYnz.js} +140 -139
  47. package/dist/NotificationList-D1U1LYnz.js.map +1 -0
  48. package/dist/{OtherTypeEventConfigModal-dXt2qDg_.js → OtherTypeEventConfigModal-DiVhWDpG.js} +43 -43
  49. package/dist/{OtherTypeEventConfigModal-dXt2qDg_.js.map → OtherTypeEventConfigModal-DiVhWDpG.js.map} +1 -1
  50. package/dist/{QueryBuilder-DXexUIe8.js → QueryBuilder-DI0wCJbz.js} +85 -84
  51. package/dist/QueryBuilder-DI0wCJbz.js.map +1 -0
  52. package/dist/{QueryManagement-DGHV_-d5.js → QueryManagement-CRykYGum.js} +3 -3
  53. package/dist/QueryManagement-CRykYGum.js.map +1 -0
  54. package/dist/{RoleManagement-BThAL5LO.js → RoleManagement-Cg8-EiVr.js} +83 -82
  55. package/dist/RoleManagement-Cg8-EiVr.js.map +1 -0
  56. package/dist/SecurityAuditLogList-Dod711KT.js +874 -0
  57. package/dist/SecurityAuditLogList-Dod711KT.js.map +1 -0
  58. package/dist/{ShowFlywayQuery-BkyA6QaA.js → ShowFlywayQuery-tj42YQAS.js} +33 -33
  59. package/dist/ShowFlywayQuery-tj42YQAS.js.map +1 -0
  60. package/dist/{SubMenu-BGznOP2a.js → SubMenu-CM_4wNCR.js} +2 -2
  61. package/dist/{SubMenu-BGznOP2a.js.map → SubMenu-CM_4wNCR.js.map} +1 -1
  62. package/dist/{TableDetails-DztbjsIA.js → TableDetails-Cf_YfnY2.js} +235 -235
  63. package/dist/TableDetails-Cf_YfnY2.js.map +1 -0
  64. package/dist/{TableList-DYwotUDO.js → TableList-HGbEN4bv.js} +28 -28
  65. package/dist/TableList-HGbEN4bv.js.map +1 -0
  66. package/dist/{TypeConfiguration-DYbBG_hZ.js → TypeConfiguration-CupQxH9Y.js} +28 -28
  67. package/dist/TypeConfiguration-CupQxH9Y.js.map +1 -0
  68. package/dist/{UserList-BAeAFeXZ.js → UserList-BzHsbYel.js} +423 -423
  69. package/dist/UserList-BzHsbYel.js.map +1 -0
  70. package/dist/{WidgetList-D-fIf3N2.js → WidgetList-B7X8Awkg.js} +2 -2
  71. package/dist/{WidgetList-D-fIf3N2.js.map → WidgetList-B7X8Awkg.js.map} +1 -1
  72. package/dist/index-D9YNFPn9.js +1439 -0
  73. package/dist/index-D9YNFPn9.js.map +1 -0
  74. package/dist/index.css +1 -1
  75. package/dist/index.js +102 -100
  76. package/dist/index.js.map +1 -1
  77. package/dist/{index-BFznsakV.js → pdfmake-Cf-381ou.js} +13951 -15385
  78. package/dist/pdfmake-Cf-381ou.js.map +1 -0
  79. package/package.json +1 -1
  80. package/dist/AddEditQueryBuilder-Bcjl5mXE.js.map +0 -1
  81. package/dist/AddMenuConfiguration-QWfpcnuP.js.map +0 -1
  82. package/dist/AddRoleDrawer-SvntLdRu.js.map +0 -1
  83. package/dist/ChangePasswordModalCore-ClND1mel.js +0 -181
  84. package/dist/ChangePasswordModalCore-ClND1mel.js.map +0 -1
  85. package/dist/EventsSkeleton-DCXwwPbb.js +0 -76
  86. package/dist/EventsSkeleton-DCXwwPbb.js.map +0 -1
  87. package/dist/Features-Cpf1PDx0.js +0 -13
  88. package/dist/Features-Cpf1PDx0.js.map +0 -1
  89. package/dist/ImmunizationConfigurationBase-BqPTExSk.js +0 -5653
  90. package/dist/ImmunizationConfigurationBase-BqPTExSk.js.map +0 -1
  91. package/dist/ManageEventConfiguration-0YBDaxOI.js.map +0 -1
  92. package/dist/ManageRole-Cbs9dUhc.js.map +0 -1
  93. package/dist/MobileMenuManagement-BmrO-7MN.js.map +0 -1
  94. package/dist/NewServerManagement-5YcAtF-g.js.map +0 -1
  95. package/dist/NotificationList-CUZSWp2J.js.map +0 -1
  96. package/dist/QueryBuilder-DXexUIe8.js.map +0 -1
  97. package/dist/QueryManagement-DGHV_-d5.js.map +0 -1
  98. package/dist/RoleManagement-BThAL5LO.js.map +0 -1
  99. package/dist/SecurityAuditLogList-DHTcOtbx.js +0 -748
  100. package/dist/SecurityAuditLogList-DHTcOtbx.js.map +0 -1
  101. package/dist/ShowFlywayQuery-BkyA6QaA.js.map +0 -1
  102. package/dist/TableDetails-DztbjsIA.js.map +0 -1
  103. package/dist/TableList-DYwotUDO.js.map +0 -1
  104. package/dist/TypeConfiguration-DYbBG_hZ.js.map +0 -1
  105. package/dist/UserList-BAeAFeXZ.js.map +0 -1
  106. package/dist/index-BFznsakV.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { jsxs as r, Fragment as at, jsx as t } from "react/jsx-runtime";
2
- import { b as it, c as rt, d as lt, M as ot, u as st, s as ct } from "./EventsSkeleton-DCXwwPbb.js";
1
+ import { jsxs as r, Fragment as nt, jsx as t } from "react/jsx-runtime";
2
+ import { b as it, c as rt, d as lt, M as ot, u as st, s as ct } from "./EventsSkeleton-8iiETGcf.js";
3
3
  import { retrieveAllNotifications as dt, getReportsList as ut } from "@/common/services/GlobalApis";
4
4
  import { showToast as F } from "@/common/toaster/toaster";
5
5
  import Ce from "@/views/custom-components/CustomTextArea";
@@ -17,14 +17,14 @@ import { useTranslateProvider as It } from "@/common/languageTranslator/Translat
17
17
  import Mt from "@/hooks/useTrackEvent";
18
18
  import { FontAwesomeIcon as $ } from "@fortawesome/react-fontawesome";
19
19
  import { faPen as Dt, faTrash as xe, faPlus as Ie } from "@fortawesome/free-solid-svg-icons";
20
- import './ManageEventConfiguration.css';const Rt = X(() => import("./ConditionConfig-DB0FqwgG.js")), qt = X(
21
- () => import("./MobileTypeEventConfigModal-Ltm529jG.js")
20
+ import './ManageEventConfiguration.css';const Rt = X(() => import("./ConditionConfig-C3rF2wXU.js")), qt = X(
21
+ () => import("./MobileTypeEventConfigModal-BNjZ8pnq.js")
22
22
  ), St = X(
23
- () => import("./OtherTypeEventConfigModal-dXt2qDg_.js")
23
+ () => import("./OtherTypeEventConfigModal-DiVhWDpG.js")
24
24
  );
25
25
  function Qt() {
26
26
  var ve, ye, be;
27
- const { translate: l } = It(), Z = Ne(null), ee = Ne(!1), { id: A } = xt(), te = wt(), [z, Me] = u(null), [ne, De] = u(null), [ae, Re] = u({}), [v, M] = u(
27
+ const { translate: l } = It(), Z = Ne(null), ee = Ne(!1), { id: A } = xt(), te = wt(), [z, Me] = u(null), [ae, De] = u(null), [ne, Re] = u({}), [v, M] = u(
28
28
  []
29
29
  ), [ie, qe] = u(null), [H, Se] = u(null), [Ae, re] = u(null), [Oe, Le] = u(null), [D, L] = u(null), [_e, le] = u(null), [$e, ze] = u(null), [R, q] = u(null), [oe, ke] = u(!1), [se, ce] = u(!1), [de, j] = u(!1), [k, S] = u([]), [Ue, U] = u(!1), [Pe, Fe] = u([]), Be = window.getComputedStyle(document.body).lineHeight, ue = () => ke(!oe), We = I.object().shape({
30
30
  name: I.string().required("Enter Name"),
@@ -94,8 +94,8 @@ function Qt() {
94
94
  try {
95
95
  if (v.length > 0) {
96
96
  e.minute = Number(e.minute || 0), e.notificationConfigDetails = v;
97
- const n = m === "TIMMER_BASED", i = m === "FORM_SUBMITTED", a = m === "MANUAL", o = m === "RECURSION";
98
- n || (delete e.trigerWhen, delete e.day, delete e.hour, delete e.minute), i || delete e.formTypeId, !i && !a && (delete e.eventTypeDetailCode, delete e.eventTypeDetailId), o ? (delete e.formTypeId, e.trigerWhen = "RECURSION") : delete e.recursionInterval;
97
+ const a = m === "TIMMER_BASED", i = m === "FORM_SUBMITTED", n = m === "MANUAL", o = m === "RECURSION";
98
+ a || (delete e.trigerWhen, delete e.day, delete e.hour, delete e.minute), i || delete e.formTypeId, !i && !n && (delete e.eventTypeDetailCode, delete e.eventTypeDetailId), o ? (delete e.formTypeId, e.trigerWhen = "RECURSION") : delete e.recursionInterval;
99
99
  const g = ["AFTER", "MONTHLY", "WEEKLY"], E = ["AFTER", "MONTHLY", "DAILY", "WEEKLY"];
100
100
  g.includes(f) || delete e.day, E.includes(f) || (delete e.day, delete e.hour), f === "IMMEDIATELY" && (delete e.day, delete e.hour, delete e.minute);
101
101
  const w = v.map((y) => {
@@ -125,14 +125,14 @@ function Qt() {
125
125
  type: "warn"
126
126
  });
127
127
  } catch {
128
- F({ message: "submit problem", type: "error" }), U((n) => !n);
128
+ F({ message: "submit problem", type: "error" }), U((a) => !a);
129
129
  }
130
130
  };
131
131
  Ee(() => {
132
132
  je();
133
133
  }, []);
134
134
  const je = async () => {
135
- var e, n, i, a;
135
+ var e, a, i, n;
136
136
  try {
137
137
  U((d) => !d);
138
138
  const o = await it({ is_active: !0 });
@@ -147,11 +147,11 @@ function Qt() {
147
147
  const { data: y } = await ut();
148
148
  if (Fe(y || []), A) {
149
149
  const d = await lt(A);
150
- (i = (n = d == null ? void 0 : d.data) == null ? void 0 : n.notificationConfigDetails) == null || i.forEach((N) => {
150
+ (i = (a = d == null ? void 0 : d.data) == null ? void 0 : a.notificationConfigDetails) == null || i.forEach((N) => {
151
151
  ge(N);
152
152
  });
153
153
  let b = d == null ? void 0 : d.data;
154
- (a = Object.keys(b)) == null || a.forEach((N) => {
154
+ (n = Object.keys(b)) == null || n.forEach((N) => {
155
155
  b[N] !== void 0 && b[N] !== null && P(N, b[N]);
156
156
  }), M((b == null ? void 0 : b.notificationConfigDetails) || []);
157
157
  }
@@ -164,12 +164,12 @@ function Qt() {
164
164
  }
165
165
  }, ge = (e) => {
166
166
  e.implicitParam = ["#resourceId#"];
167
- const n = /\bFROM\b/gi, i = /\bSELECT\b/gi;
167
+ const a = /\bFROM\b/gi, i = /\bSELECT\b/gi;
168
168
  if (e != null && e.query) {
169
- const a = (e.query.match(n) || []).length, o = (e.query.match(i) || []).length;
169
+ const n = (e.query.match(a) || []).length, o = (e.query.match(i) || []).length;
170
170
  let g;
171
171
  if (o > 0) {
172
- a > 1 && a === o ? g = e.query.substring(6, e.query.search(/\bfrom\b(?!(.|\n)*(from))/i)).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/g) : a !== o ? g = e.query.substring(6).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi) : a === 1 && a === o ? g = e.query.substring(6, e.query.toLowerCase().indexOf("from")).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi) : g = e.query.substring(6).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi);
172
+ n > 1 && n === o ? g = e.query.substring(6, e.query.search(/\bfrom\b(?!(.|\n)*(from))/i)).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/g) : n !== o ? g = e.query.substring(6).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi) : n === 1 && n === o ? g = e.query.substring(6, e.query.toLowerCase().indexOf("from")).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi) : g = e.query.substring(6).match(/(\w*\(.*?\) as \w*|[^\(\),]+)(?=\s*,|\s*$)/gi);
173
173
  const E = g == null ? void 0 : g.filter(
174
174
  (w) => w.trim().length > 0
175
175
  );
@@ -187,29 +187,29 @@ function Qt() {
187
187
  }
188
188
  }
189
189
  }, Ve = (e) => {
190
- const n = v == null ? void 0 : v.filter(
191
- (i, a) => a !== e
190
+ const a = v == null ? void 0 : v.filter(
191
+ (i, n) => n !== e
192
192
  );
193
- M(n);
194
- }, Ke = (e, n) => {
195
- const i = [...v], a = i[e].conditions.filter((o, g) => g !== n);
196
- i[e].conditions = a, M(i);
197
- }, J = async (e, n, i, a) => {
198
- Se(e), qe(n), i ? (re(i), le(!0), L(JSON.parse(JSON.stringify(i))), S((i == null ? void 0 : i.notificaitonConfigsType) || []), Le(a)) : (re({}), L({}), S([]), le(!1)), q({}), ue();
199
- }, Je = (e, n) => {
193
+ M(a);
194
+ }, Ke = (e, a) => {
195
+ const i = [...v], n = i[e].conditions.filter((o, g) => g !== a);
196
+ i[e].conditions = n, M(i);
197
+ }, J = async (e, a, i, n) => {
198
+ Se(e), qe(a), i ? (re(i), le(!0), L(JSON.parse(JSON.stringify(i))), S((i == null ? void 0 : i.notificaitonConfigsType) || []), Le(n)) : (re({}), L({}), S([]), le(!1)), q({}), ue();
199
+ }, Je = (e, a) => {
200
200
  const i = [...v];
201
- i[e].query = n, M(i);
201
+ i[e].query = a, M(i);
202
202
  }, Qe = async () => {
203
- let e = [...v], n = !0;
204
- v.forEach((i, a) => {
203
+ let e = [...v], a = !0;
204
+ v.forEach((i, n) => {
205
205
  if (i.query === "") {
206
- n = !1;
207
- const o = `notificationConfigDetails.${a}.query`;
206
+ a = !1;
207
+ const o = `notificationConfigDetails.${n}.query`;
208
208
  V(o, { type: "manual", message: "Query Required" });
209
209
  }
210
- }), n && (e.push({ query: "", conditions: [], queryParam: null }), M(e));
211
- }, he = async (e, n) => {
212
- e ? (e.index = n, ze(e), q({
210
+ }), a && (e.push({ query: "", conditions: [], queryParam: null }), M(e));
211
+ }, he = async (e, a) => {
212
+ e ? (e.index = a, ze(e), q({
213
213
  ...JSON.parse(JSON.stringify(e)),
214
214
  implicitParam: H.implicitParam
215
215
  }), ce(!0)) : (q({ ...R, implicitParam: H.implicitParam }), ce(!1)), Ge();
@@ -217,36 +217,36 @@ function Qt() {
217
217
  j((e) => !e);
218
218
  }, pe = (e) => {
219
219
  if (se) {
220
- const n = k.map((i, a) => a === e.index ? { ...i, ...e } : i);
221
- S(n);
220
+ const a = k.map((i, n) => n === e.index ? { ...i, ...e } : i);
221
+ S(a);
222
222
  } else
223
223
  S([...k, e]);
224
224
  et(e);
225
225
  }, Xe = (e) => {
226
226
  S(
227
- (n) => n.filter((i, a) => a !== e)
227
+ (a) => a.filter((i, n) => n !== e)
228
228
  );
229
229
  }, Ze = (e) => {
230
230
  he(k[e], e);
231
231
  }, et = (e) => {
232
- let n = { ...D };
233
- D.notificaitonConfigsType || (n.notificaitonConfigsType = []), se ? n.notificaitonConfigsType[$e.index] = e : n.notificaitonConfigsType.push(e), L(n), q({});
232
+ let a = { ...D };
233
+ D.notificaitonConfigsType || (a.notificaitonConfigsType = []), se ? a.notificaitonConfigsType[$e.index] = e : a.notificaitonConfigsType.push(e), L(a), q({});
234
234
  }, Q = Mt(), tt = (e) => {
235
235
  if (_e) {
236
- const n = [...v];
236
+ const a = [...v];
237
237
  L({ ...D, ...e });
238
238
  let i = { ...D, ...e };
239
- n[ie].conditions[Oe] = i, M(n), S([]);
239
+ a[ie].conditions[Oe] = i, M(a), S([]);
240
240
  } else {
241
- const n = [...v];
241
+ const a = [...v];
242
242
  L({ ...D, ...e });
243
243
  let i = { ...D, ...e };
244
- n[ie].conditions.push(i), M(n), S([]);
244
+ a[ie].conditions.push(i), M(a), S([]);
245
245
  }
246
- }, nt = (e) => {
246
+ }, at = (e) => {
247
247
  q({ ...R, ...e });
248
248
  };
249
- return /* @__PURE__ */ r(at, { children: [
249
+ return /* @__PURE__ */ r(nt, { children: [
250
250
  /* @__PURE__ */ t(ot, { isLoading: Ue, children: /* @__PURE__ */ r(
251
251
  gt,
252
252
  {
@@ -394,24 +394,24 @@ function Qt() {
394
394
  labelId: "event-type-label",
395
395
  displayEmpty: !0,
396
396
  size: "small",
397
- onChange: (n) => {
398
- const i = n.target.value;
397
+ onChange: (a) => {
398
+ const i = a.target.value;
399
399
  e.onChange(i);
400
- const a = z.find(
400
+ const n = z.find(
401
401
  (o) => o.id === i
402
402
  );
403
403
  P(
404
404
  "eventTypeDetailCode",
405
- a == null ? void 0 : a.code
405
+ n == null ? void 0 : n.code
406
406
  ), P(
407
407
  "eventTypeDetailId",
408
- (a == null ? void 0 : a.detaiId) || null
408
+ (n == null ? void 0 : n.detaiId) || null
409
409
  );
410
410
  },
411
411
  "data-testid": "manageeventconfiguration-formtype-select",
412
412
  children: [
413
413
  /* @__PURE__ */ t(p, { value: "", children: /* @__PURE__ */ t(c, { variant: "body2", children: l("Select") }) }),
414
- z == null ? void 0 : z.map((n) => /* @__PURE__ */ t(p, { value: n.id, children: /* @__PURE__ */ t(c, { variant: "body2", children: l(n.name) }) }, n.id))
414
+ z == null ? void 0 : z.map((a) => /* @__PURE__ */ t(p, { value: a.id, children: /* @__PURE__ */ t(c, { variant: "body2", children: l(a.name) }) }, a.id))
415
415
  ]
416
416
  }
417
417
  )
@@ -612,7 +612,7 @@ function Qt() {
612
612
  "data-testid": "manageeventconfiguration-eventtype-detail-select",
613
613
  children: [
614
614
  /* @__PURE__ */ t(p, { value: "", children: l("None") }),
615
- ne && Object.entries(ne).map(([n, i]) => /* @__PURE__ */ t(p, { value: n, children: i }, n))
615
+ ae && Object.entries(ae).map(([a, i]) => /* @__PURE__ */ t(p, { value: a, children: i }, a))
616
616
  ]
617
617
  }
618
618
  )
@@ -666,7 +666,7 @@ function Qt() {
666
666
  Te,
667
667
  {
668
668
  sx: {
669
- backgroundColor: (e) => e.palette.mode === "dark" ? e.palette.custom.tableHeader : "#f5f5f5"
669
+ backgroundColor: (e) => e.palette.mode === "dark" ? e.palette.custom.tableHeader : "var(--color-gray4)"
670
670
  },
671
671
  children: [
672
672
  /* @__PURE__ */ t(
@@ -696,29 +696,29 @@ function Qt() {
696
696
  ]
697
697
  }
698
698
  ) }),
699
- /* @__PURE__ */ t(Tt, { children: v == null ? void 0 : v.map((e, n) => {
699
+ /* @__PURE__ */ t(Tt, { children: v == null ? void 0 : v.map((e, a) => {
700
700
  var i;
701
701
  return /* @__PURE__ */ r(
702
702
  Te,
703
703
  {
704
704
  sx: {
705
- backgroundColor: (a) => {
706
- const o = a.palette.mode === "dark";
707
- return n % 2 === 0 ? o ? a.palette.background.paper : "#fff" : o ? "#1C2128" : "#f9f9f9";
705
+ backgroundColor: (n) => {
706
+ const o = n.palette.mode === "dark";
707
+ return a % 2 === 0 ? o ? n.palette.background.paper : "#fff" : o ? "#1C2128" : "var(--color-gray4)";
708
708
  },
709
709
  // Adding a hover state that works in both modes
710
710
  "&:hover": {
711
- backgroundColor: (a) => a.palette.mode === "dark" ? "#21262D" : "#f0f0f0"
711
+ backgroundColor: (n) => n.palette.mode === "dark" ? "#21262D" : "var(--color-gray4)"
712
712
  }
713
713
  },
714
- "data-testid": `manageeventconfiguration-table-row-${n}`,
714
+ "data-testid": `manageeventconfiguration-table-row-${a}`,
715
715
  children: [
716
716
  /* @__PURE__ */ t(
717
717
  O,
718
718
  {
719
719
  className: "border border-gray-300 align-top",
720
720
  style: { lineHeight: Be },
721
- "data-testid": `manageeventconfiguration-table-row-${n}-query`,
721
+ "data-testid": `manageeventconfiguration-table-row-${a}-query`,
722
722
  children: /* @__PURE__ */ r("div", { className: "flex flex-col items-start min-w-[300px]", children: [
723
723
  /* @__PURE__ */ t(
724
724
  T,
@@ -730,32 +730,32 @@ function Qt() {
730
730
  {
731
731
  required: !0,
732
732
  control: C,
733
- id: `notificationConfigDetails.${n}.query`,
734
- name: `notificationConfigDetails.${n}.query`,
733
+ id: `notificationConfigDetails.${a}.query`,
734
+ name: `notificationConfigDetails.${a}.query`,
735
735
  errors: s,
736
736
  value: e.query,
737
- onChange: (a) => {
737
+ onChange: (n) => {
738
738
  P(
739
- `notificationConfigDetails.${n}.query`,
740
- a.target.value
741
- ), Je(n, a.target.value);
742
- const o = `notificationConfigDetails.${n}.query`;
739
+ `notificationConfigDetails.${a}.query`,
740
+ n.target.value
741
+ ), Je(a, n.target.value);
742
+ const o = `notificationConfigDetails.${a}.query`;
743
743
  me(o) === "" ? V(o, {
744
744
  type: "manual",
745
745
  message: "Query Required"
746
746
  }) : K(o);
747
747
  },
748
748
  onBlur: () => {
749
- const a = `notificationConfigDetails.${n}.query`;
750
- me(a) === "" ? V(a, {
749
+ const n = `notificationConfigDetails.${a}.query`;
750
+ me(n) === "" ? V(n, {
751
751
  type: "manual",
752
752
  message: "Query Required"
753
- }) : K(a), ge(e);
753
+ }) : K(n), ge(e);
754
754
  },
755
755
  label: "",
756
756
  minRows: 5,
757
757
  maxRows: 20,
758
- "data-testid": `manageeventconfiguration-table-row-${n}-query-textarea`
758
+ "data-testid": `manageeventconfiguration-table-row-${a}-query-textarea`
759
759
  }
760
760
  ) })
761
761
  }
@@ -778,7 +778,7 @@ function Qt() {
778
778
  O,
779
779
  {
780
780
  className: "border border-gray-300 align-top",
781
- "data-testid": `manageeventconfiguration-table-row-${n}-condition`,
781
+ "data-testid": `manageeventconfiguration-table-row-${a}-condition`,
782
782
  children: /* @__PURE__ */ t(
783
783
  "div",
784
784
  {
@@ -789,7 +789,7 @@ function Qt() {
789
789
  width: "100%"
790
790
  },
791
791
  children: ((i = e == null ? void 0 : e.conditions) == null ? void 0 : i.length) > 0 ? e == null ? void 0 : e.conditions.map(
792
- (a, o) => /* @__PURE__ */ r(
792
+ (n, o) => /* @__PURE__ */ r(
793
793
  "div",
794
794
  {
795
795
  style: { width: "100%" },
@@ -809,42 +809,42 @@ function Qt() {
809
809
  {
810
810
  className: "mr-1",
811
811
  variant: "body2",
812
- children: (a == null ? void 0 : a.condition) || "No condition specified"
812
+ children: (n == null ? void 0 : n.condition) || "No condition specified"
813
813
  }
814
814
  ),
815
815
  /* @__PURE__ */ t(
816
816
  $,
817
817
  {
818
- className: "bg-[#cecfd0] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[#11B666] transition-all",
818
+ className: "bg-[var(--color-gray3)] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[#11B666] transition-all",
819
819
  icon: Dt,
820
820
  onClick: () => J(
821
821
  e,
822
- n,
823
822
  a,
823
+ n,
824
824
  o
825
825
  ),
826
- "data-testid": `manageeventconfiguration-table-row-${n}-condition-edit-${o}`
826
+ "data-testid": `manageeventconfiguration-table-row-${a}-condition-edit-${o}`
827
827
  }
828
828
  ),
829
829
  /* @__PURE__ */ t(
830
830
  $,
831
831
  {
832
832
  icon: xe,
833
- className: "bg-[#cecfd0] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[var(--color-error)] transition-all",
833
+ className: "bg-[var(--color-gray3)] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[var(--color-error)] transition-all",
834
834
  onClick: () => Ke(
835
- n,
835
+ a,
836
836
  o
837
837
  ),
838
- "data-testid": `manageeventconfiguration-table-row-${n}-condition-delete-${o}`
838
+ "data-testid": `manageeventconfiguration-table-row-${a}-condition-delete-${o}`
839
839
  }
840
840
  ),
841
841
  o === (e == null ? void 0 : e.conditions.length) - 1 && /* @__PURE__ */ t(
842
842
  $,
843
843
  {
844
844
  icon: Ie,
845
- onClick: () => J(e, n),
846
- className: "bg-[#cecfd0] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[var(--color-primary)] transition-all",
847
- "data-testid": `manageeventconfiguration-table-row-${n}-condition-add`
845
+ onClick: () => J(e, a),
846
+ className: "bg-[var(--color-gray3)] text-gray-600 rounded-full p-[10px] w-[14px] h-[14px] mx-1 cursor-pointer hover:bg-gray-300 hover:text-[var(--color-primary)] transition-all",
847
+ "data-testid": `manageeventconfiguration-table-row-${a}-condition-add`
848
848
  }
849
849
  )
850
850
  ]
@@ -865,9 +865,9 @@ function Qt() {
865
865
  $,
866
866
  {
867
867
  icon: Ie,
868
- onClick: () => J(e, n),
868
+ onClick: () => J(e, a),
869
869
  className: "bg-gray-200 text-gray-600 rounded-full p-2 w-[16px] h-[16px] cursor-pointer hover:bg-gray-300 hover:text-[var(--color-primary)] transition-all",
870
- "data-testid": `manageeventconfiguration-table-row-${n}-condition-add-empty`
870
+ "data-testid": `manageeventconfiguration-table-row-${a}-condition-add-empty`
871
871
  }
872
872
  ) })
873
873
  ]
@@ -881,7 +881,7 @@ function Qt() {
881
881
  O,
882
882
  {
883
883
  className: "border border-gray-300 align-top",
884
- "data-testid": `manageeventconfiguration-table-row-${n}-action`,
884
+ "data-testid": `manageeventconfiguration-table-row-${a}-action`,
885
885
  children: /* @__PURE__ */ t(
886
886
  "div",
887
887
  {
@@ -894,13 +894,13 @@ function Qt() {
894
894
  W,
895
895
  {
896
896
  onClick: () => {
897
- Ve(n);
898
- const a = `notificationConfigDetails.${n}.query`;
899
- K(a);
897
+ Ve(a);
898
+ const n = `notificationConfigDetails.${a}.query`;
899
+ K(n);
900
900
  },
901
901
  size: "small",
902
902
  "aria-label": "delete",
903
- "data-testid": `manageeventconfiguration-table-row-${n}-action-delete`,
903
+ "data-testid": `manageeventconfiguration-table-row-${a}-action-delete`,
904
904
  children: /* @__PURE__ */ t(
905
905
  $,
906
906
  {
@@ -916,7 +916,7 @@ function Qt() {
916
916
  )
917
917
  ]
918
918
  },
919
- n + 1
919
+ a + 1
920
920
  );
921
921
  }) })
922
922
  ] })
@@ -971,7 +971,7 @@ function Qt() {
971
971
  Rt,
972
972
  {
973
973
  selectedConfig: H,
974
- notificationtypeMap: ae,
974
+ notificationtypeMap: ne,
975
975
  selectedCondition: Ae,
976
976
  newCondition: D,
977
977
  handleTypeConfigurationDelete: Xe,
@@ -979,7 +979,7 @@ function Qt() {
979
979
  addTypeConfig: he,
980
980
  setNewConditionData: tt,
981
981
  typeConfigurationData: k,
982
- setNewTypeData: nt,
982
+ setNewTypeData: at,
983
983
  overlayOpen: oe,
984
984
  handleOverlayState: ue,
985
985
  "data-testid": "manageeventconfiguration-conditionconfig"
@@ -990,7 +990,7 @@ function Qt() {
990
990
  {
991
991
  type: R,
992
992
  open: de,
993
- notificationtypeMap: ae,
993
+ notificationtypeMap: ne,
994
994
  handleClick: pe,
995
995
  handleClose: () => {
996
996
  j((e) => !e), q({});
@@ -1014,4 +1014,4 @@ function Qt() {
1014
1014
  export {
1015
1015
  Qt as default
1016
1016
  };
1017
- //# sourceMappingURL=ManageEventConfiguration-0YBDaxOI.js.map
1017
+ //# sourceMappingURL=ManageEventConfiguration-BntUc_YI.js.map