@argusoft/medplat-core 1.0.22 → 1.0.24

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 (52) hide show
  1. package/dist/AddMenuConfiguration-m3R8FDhj.js +5570 -0
  2. package/dist/AddMenuConfiguration-m3R8FDhj.js.map +1 -0
  3. package/dist/AddMenuConfiguration.css +1 -1
  4. package/dist/{ChangePasswordModalCore-DotONnMz.js → ChangePasswordModalCore-Czu7OZe6.js} +957 -954
  5. package/dist/ChangePasswordModalCore-Czu7OZe6.js.map +1 -0
  6. package/dist/{ConditionConfig-C3rF2wXU.js → ConditionConfig-BECSbvY2.js} +2 -2
  7. package/dist/{ConditionConfig-C3rF2wXU.js.map → ConditionConfig-BECSbvY2.js.map} +1 -1
  8. package/dist/{EntityManagement-D4nG7wUX.js → EntityManagement-GaYsBTvf.js} +2 -2
  9. package/dist/{EntityManagement-D4nG7wUX.js.map → EntityManagement-GaYsBTvf.js.map} +1 -1
  10. package/dist/FhirRawResourceList-ZZFd7gTX.js +550 -0
  11. package/dist/FhirRawResourceList-ZZFd7gTX.js.map +1 -0
  12. package/dist/FhirServerList-Dkq7Kbes.js +116 -0
  13. package/dist/FhirServerList-Dkq7Kbes.js.map +1 -0
  14. package/dist/FhirServerProfile-CUOwC6Wb.js +253 -0
  15. package/dist/FhirServerProfile-CUOwC6Wb.js.map +1 -0
  16. package/dist/FhirServerWizard-Db6Hm4bQ.js +161 -0
  17. package/dist/FhirServerWizard-Db6Hm4bQ.js.map +1 -0
  18. package/dist/{ImmunizationConfigurationBase-CTBoSuSz.js → ImmunizationConfigurationBase-BevKZx_l.js} +386 -302
  19. package/dist/ImmunizationConfigurationBase-BevKZx_l.js.map +1 -0
  20. package/dist/{ManageEventConfiguration-BntUc_YI.js → ManageEventConfiguration-CBi2KMB1.js} +4 -4
  21. package/dist/{ManageEventConfiguration-BntUc_YI.js.map → ManageEventConfiguration-CBi2KMB1.js.map} +1 -1
  22. package/dist/{ManageUser-Ca1BsI1u.js → ManageUser-BnEPFSPT.js} +219 -219
  23. package/dist/{ManageUser-Ca1BsI1u.js.map → ManageUser-BnEPFSPT.js.map} +1 -1
  24. package/dist/{MobileMenuManagement-CV6QCeos.js → MobileMenuManagement-CVAKyKDa.js} +33 -32
  25. package/dist/MobileMenuManagement-CVAKyKDa.js.map +1 -0
  26. package/dist/{MobileTypeEventConfigModal-BNjZ8pnq.js → MobileTypeEventConfigModal-C34AN-IJ.js} +2 -2
  27. package/dist/{MobileTypeEventConfigModal-BNjZ8pnq.js.map → MobileTypeEventConfigModal-C34AN-IJ.js.map} +1 -1
  28. package/dist/{OtherTypeEventConfigModal-DiVhWDpG.js → OtherTypeEventConfigModal-BYjMFl0-.js} +93 -93
  29. package/dist/OtherTypeEventConfigModal-BYjMFl0-.js.map +1 -0
  30. package/dist/ServerFormFields-SLghoZ2z.js +136 -0
  31. package/dist/ServerFormFields-SLghoZ2z.js.map +1 -0
  32. package/dist/SyncDialog-BRGpHOE4.js +130 -0
  33. package/dist/SyncDialog-BRGpHOE4.js.map +1 -0
  34. package/dist/{TableList-HGbEN4bv.js → TableList-D6jnIbnz.js} +227 -244
  35. package/dist/TableList-D6jnIbnz.js.map +1 -0
  36. package/dist/{TypeConfiguration-CupQxH9Y.js → TypeConfiguration-Bs5WkIa2.js} +2 -2
  37. package/dist/{TypeConfiguration-CupQxH9Y.js.map → TypeConfiguration-Bs5WkIa2.js.map} +1 -1
  38. package/dist/dashboardLayoutUtils-Bt5HA96J.js +265 -0
  39. package/dist/dashboardLayoutUtils-Bt5HA96J.js.map +1 -0
  40. package/dist/index.css +1 -1
  41. package/dist/index.js +191 -135
  42. package/dist/index.js.map +1 -1
  43. package/dist/permissions-DEWACxJN.js +308 -0
  44. package/dist/permissions-DEWACxJN.js.map +1 -0
  45. package/package.json +1 -1
  46. package/dist/AddMenuConfiguration-DsnY0Rws.js +0 -2237
  47. package/dist/AddMenuConfiguration-DsnY0Rws.js.map +0 -1
  48. package/dist/ChangePasswordModalCore-DotONnMz.js.map +0 -1
  49. package/dist/ImmunizationConfigurationBase-CTBoSuSz.js.map +0 -1
  50. package/dist/MobileMenuManagement-CV6QCeos.js.map +0 -1
  51. package/dist/OtherTypeEventConfigModal-DiVhWDpG.js.map +0 -1
  52. package/dist/TableList-HGbEN4bv.js.map +0 -1
@@ -1,17 +1,17 @@
1
1
  import { jsx as i, jsxs as a, Fragment as Me } from "react/jsx-runtime";
2
2
  import O, { memo as Re, forwardRef as me, useRef as Q, useEffect as te, useState as B } from "react";
3
3
  import H from "prop-types";
4
- import { useForm as Ve, Controller as T } from "react-hook-form";
4
+ import { useForm as Ve, Controller as y } from "react-hook-form";
5
5
  import { yupResolver as Oe } from "@hookform/resolvers/yup";
6
6
  import d from "@mui/material/Grid2";
7
7
  import * as F from "yup";
8
- import { useTheme as Ae, Modal as Le, Typography as h, IconButton as Ue, Box as C, FormControl as N, Select as L, MenuItem as I, FormControlLabel as U, Checkbox as W, TextField as G, Stack as We, Button as ce } from "@mui/material";
8
+ import { useTheme as Ae, Modal as Le, Typography as h, IconButton as Ue, Box as C, FormControl as N, Select as L, MenuItem as T, FormControlLabel as U, Checkbox as W, TextField as G, Stack as We, Button as ce } from "@mui/material";
9
9
  import Z from "@/views/custom-components/CustomTextArea";
10
10
  import M from "@/views/custom-components/CustomTextField";
11
11
  import { retrieveAllConfigured as De, execute as de, getNotificationTypeList as Ke } from "@/common/services/GlobalApis";
12
12
  import { showToast as je } from "@/common/toaster/toaster";
13
13
  import qe from "@/hooks/useTrackEvent";
14
- import "./ManageEventConfiguration-BntUc_YI.js";
14
+ import "./ManageEventConfiguration-CBi2KMB1.js";
15
15
  import { useTranslateProvider as Ye } from "@/common/languageTranslator/TranslationContext";
16
16
  import { faXmark as Je } from "@fortawesome/free-solid-svg-icons";
17
17
  import { FontAwesomeIcon as Be } from "@fortawesome/react-fontawesome";
@@ -31,10 +31,10 @@ function Xe(o) {
31
31
  current: o(...l)
32
32
  }), r.current);
33
33
  }
34
- const y = new Array(256).fill("").map((o, r) => ("0" + r.toString(16)).slice(-2));
34
+ const I = new Array(256).fill("").map((o, r) => ("0" + r.toString(16)).slice(-2));
35
35
  function Ge() {
36
36
  const [o, r, l, e] = crypto.getRandomValues(new Uint32Array(4));
37
- return "e" + y[o >> 0 & 255] + y[o >> 8 & 255] + y[o >> 16 & 255] + y[o >> 24 & 255] + y[r >> 0 & 255] + y[r >> 8 & 255] + y[r >> 16 & 255] + y[r >> 24 & 255] + y[l >> 0 & 255] + y[l >> 8 & 255] + y[l >> 16 & 255] + y[l >> 24 & 255] + y[e >> 0 & 255] + y[e >> 8 & 255] + y[e >> 16 & 255] + y[e >> 24 & 255];
37
+ return "e" + I[o >> 0 & 255] + I[o >> 8 & 255] + I[o >> 16 & 255] + I[o >> 24 & 255] + I[r >> 0 & 255] + I[r >> 8 & 255] + I[r >> 16 & 255] + I[r >> 24 & 255] + I[l >> 0 & 255] + I[l >> 8 & 255] + I[l >> 16 & 255] + I[l >> 24 & 255] + I[e >> 0 & 255] + I[e >> 8 & 255] + I[e >> 16 & 255] + I[e >> 24 & 255];
38
38
  }
39
39
  function he(o) {
40
40
  return !!o && /^\d+\.\d+\.\d+/.test(o);
@@ -102,8 +102,8 @@ function ge(o, r) {
102
102
  }
103
103
  function ot(o, r) {
104
104
  return function(e) {
105
- ge(e.config.get("licenseKey")) || e.on("collectUsageData", (u, { setUsageData: b }) => {
106
- b(`integration.${o}`, r);
105
+ ge(e.config.get("licenseKey")) || e.on("collectUsageData", (u, { setUsageData: p }) => {
106
+ p(`integration.${o}`, r);
107
107
  });
108
108
  };
109
109
  }
@@ -118,9 +118,9 @@ const Ne = class ve {
118
118
  destroyedBeforeInitialization: !1,
119
119
  mountingInProgress: null
120
120
  }), S(this, "release", Xe(() => {
121
- const { _releaseLock: e, _state: u, _element: b, _lifecycle: g } = this;
121
+ const { _releaseLock: e, _state: u, _element: p, _lifecycle: g } = this;
122
122
  u.mountingInProgress ? u.mountingInProgress.then(() => g.unmount({
123
- element: b,
123
+ element: p,
124
124
  // Mount result might be overridden by watchdog during restart so use instance variable.
125
125
  mountResult: this.value
126
126
  })).catch((E) => {
@@ -175,9 +175,9 @@ const Ne = class ve {
175
175
  * it will cause problems when we’re trying to set up the {@link LifeCycleEditorElementSemaphore#_semaphores} map entries.
176
176
  */
177
177
  _lock() {
178
- const { _semaphores: r } = ve, { _state: l, _element: e, _lifecycle: u } = this, b = r.get(e) || Promise.resolve(null), g = Qe();
178
+ const { _semaphores: r } = ve, { _state: l, _element: e, _lifecycle: u } = this, p = r.get(e) || Promise.resolve(null), g = Qe();
179
179
  this._releaseLock = g;
180
- const E = b.then(() => l.destroyedBeforeInitialization ? Promise.resolve(void 0) : (l.mountingInProgress = u.mount().then((_) => (_ && this.unsafeSetValue(_), _)), l.mountingInProgress)).then(async (_) => {
180
+ const E = p.then(() => l.destroyedBeforeInitialization ? Promise.resolve(void 0) : (l.mountingInProgress = u.mount().then((_) => (_ && this.unsafeSetValue(_), _)), l.mountingInProgress)).then(async (_) => {
181
181
  _ && u.afterMount && await u.afterMount({
182
182
  element: e,
183
183
  mountResult: _
@@ -207,7 +207,7 @@ function dt(o, r) {
207
207
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
208
208
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
209
209
  */
210
- const ut = O.createContext(null), mt = (o) => !!o && typeof o == "object" && "status" in o && ["initializing", "initialized", "error"].includes(o.status), pe = (o) => (r) => mt(r) && r.status === o, ue = pe("initializing"), ht = (o) => pe("initialized")(o) && o.watchdog.state === "ready";
210
+ const ut = O.createContext(null), mt = (o) => !!o && typeof o == "object" && "status" in o && ["initializing", "initialized", "error"].includes(o.status), be = (o) => (r) => mt(r) && r.status === o, ue = be("initializing"), ht = (o) => be("initialized")(o) && o.watchdog.state === "ready";
211
211
  /**
212
212
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
213
213
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -238,7 +238,7 @@ function gt(o) {
238
238
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
239
239
  */
240
240
  const ee = "Lock from React integration (@ckeditor/ckeditor5-react)";
241
- class be extends O.Component {
241
+ class pe extends O.Component {
242
242
  constructor(r) {
243
243
  super(r), S(this, "domContainer", O.createRef()), S(this, "editorSemaphore", null), this._checkVersion();
244
244
  }
@@ -345,9 +345,9 @@ class be extends O.Component {
345
345
  current: 0
346
346
  };
347
347
  return r.setCreator(async (e, u) => {
348
- var b;
348
+ var p;
349
349
  const { editorSemaphore: g } = this, { onAfterDestroy: E } = this.props;
350
- l.current > 0 && E && ((b = g == null ? void 0 : g.value) != null && b.instance) && E(g.value.instance);
350
+ l.current > 0 && E && ((p = g == null ? void 0 : g.value) != null && p.instance) && E(g.value.instance);
351
351
  const _ = await this._createEditor(e, u);
352
352
  return g && l.current > 0 && (g.unsafeSetValue({
353
353
  instance: _,
@@ -355,8 +355,8 @@ class be extends O.Component {
355
355
  }), setTimeout(() => {
356
356
  this.props.onReady && this.props.onReady(r.editor);
357
357
  })), l.current++, _;
358
- }), r.on("error", (e, { error: u, causesRestart: b }) => {
359
- (this.props.onError || console.error)(u, { phase: "runtime", willEditorRestart: b });
358
+ }), r.on("error", (e, { error: u, causesRestart: p }) => {
359
+ (this.props.onError || console.error)(u, { phase: "runtime", willEditorRestart: p });
360
360
  }), await r.create(this.domContainer.current, this._getConfig()).catch((e) => {
361
361
  (this.props.onError || console.error)(e, { phase: "initialization", willEditorRestart: !1 });
362
362
  }), {
@@ -380,8 +380,8 @@ class be extends O.Component {
380
380
  /* istanbul ignore else -- @preserve */
381
381
  this.props.disabled && u.enableReadOnlyMode(ee);
382
382
  }
383
- const b = u.model.document, g = u.editing.view.document;
384
- return b.on("change:data", (E) => {
383
+ const p = u.model.document, g = u.editing.view.document;
384
+ return p.on("change:data", (E) => {
385
385
  /* istanbul ignore else -- @preserve */
386
386
  this.props.onChange && this.props.onChange(E, u);
387
387
  }), g.on("focus", (E) => {
@@ -398,7 +398,7 @@ class be extends O.Component {
398
398
  */
399
399
  async _destroyEditor(r) {
400
400
  const { watchdog: l, instance: e } = r;
401
- return new Promise((u, b) => {
401
+ return new Promise((u, p) => {
402
402
  /* istanbul ignore next -- @preserve */
403
403
  setTimeout(async () => {
404
404
  try {
@@ -408,7 +408,7 @@ class be extends O.Component {
408
408
  return await e.destroy(), u();
409
409
  u();
410
410
  } catch (g) {
411
- console.error(g), b(g);
411
+ console.error(g), p(g);
412
412
  }
413
413
  });
414
414
  });
@@ -436,7 +436,7 @@ class be extends O.Component {
436
436
  };
437
437
  }
438
438
  }
439
- S(be, "contextType", ut);
439
+ S(pe, "contextType", ut);
440
440
  class Nt {
441
441
  /**
442
442
  * @param contextWatchdog The context watchdog instance that will be wrapped into editor watchdog API.
@@ -470,8 +470,8 @@ class Nt {
470
470
  * Currently works only for the `error` event.
471
471
  */
472
472
  on(r, l) {
473
- this._contextWatchdog.on("itemError", (e, { itemId: u, error: b }) => {
474
- u === this._id && l(null, { error: b, causesRestart: void 0 });
473
+ this._contextWatchdog.on("itemError", (e, { itemId: u, error: p }) => {
474
+ u === this._id && l(null, { error: p, causesRestart: void 0 });
475
475
  });
476
476
  }
477
477
  destroy() {
@@ -498,13 +498,13 @@ function we(...o) {
498
498
  const vt = Re(me(({ id: o, semaphore: r, rootName: l }, e) => {
499
499
  const u = Q(null);
500
500
  return te(() => {
501
- let b, g;
501
+ let p, g;
502
502
  return r.runAfterMount(({ instance: E }) => {
503
503
  if (!u.current)
504
504
  return;
505
505
  g = E;
506
506
  const { ui: _, model: R } = g, D = R.document.getRoot(l);
507
- D && g.ui.getEditableElement(l) && g.detachEditable(D), b = _.view.createEditable(l, u.current), _.addEditable(b), E.editing.view.forceRender();
507
+ D && g.ui.getEditableElement(l) && g.detachEditable(D), p = _.view.createEditable(l, u.current), _.addEditable(p), E.editing.view.forceRender();
508
508
  }), () => {
509
509
  if (g && g.state !== "destroyed" && u.current) {
510
510
  const E = g.model.document.getRoot(l);
@@ -522,7 +522,7 @@ const vt = Re(me(({ id: o, semaphore: r, rootName: l }, e) => {
522
522
  );
523
523
  }));
524
524
  vt.displayName = "EditorEditable";
525
- const pt = me(({ editor: o }, r) => {
525
+ const bt = me(({ editor: o }, r) => {
526
526
  const l = Q(null);
527
527
  return te(() => {
528
528
  const e = l.current;
@@ -534,15 +534,15 @@ const pt = me(({ editor: o }, r) => {
534
534
  };
535
535
  }, [o && o.id]), /* @__PURE__ */ O.createElement("div", { ref: we(l, r) });
536
536
  });
537
- pt.displayName = "EditorToolbarWrapper";
538
- const bt = ({
537
+ bt.displayName = "EditorToolbarWrapper";
538
+ const pt = ({
539
539
  open: o,
540
540
  handleClose: r,
541
541
  handleClick: l,
542
542
  type: e
543
543
  }) => {
544
544
  var le, ae, se;
545
- const u = Ae(), b = u.palette.mode === "dark", g = Q(null), E = Q(!1), _ = qe(), [R, D] = B([]), [K, Ce] = B([]), [j, Ee] = B([]), { translate: c } = Ye(), [q, xe] = B([]), _e = F.object().shape({
545
+ const u = Ae(), p = u.palette.mode === "dark", g = Q(null), E = Q(!1), _ = qe(), [R, D] = B([]), [K, Ce] = B([]), [j, Ee] = B([]), { translate: c } = Ye(), [q, xe] = B([]), _e = F.object().shape({
546
546
  excetionTypes: F.string().test(
547
547
  "is-required",
548
548
  "Execution type is required",
@@ -615,9 +615,9 @@ const bt = ({
615
615
  )
616
616
  }), {
617
617
  control: v,
618
- handleSubmit: ye,
618
+ handleSubmit: Ie,
619
619
  reset: Y,
620
- setValue: p,
620
+ setValue: b,
621
621
  unregister: ie,
622
622
  getValues: ne,
623
623
  watch: V,
@@ -631,28 +631,28 @@ const bt = ({
631
631
  var t;
632
632
  e && (Pe(), (t = Object.keys(e)) == null || t.forEach((n) => {
633
633
  var s, m, w;
634
- if (n === "index" && p(n, e[n]), n === "smsConfigJson" && e[n]) {
634
+ if (n === "index" && b(n, e[n]), n === "smsConfigJson" && e[n]) {
635
635
  const x = e[n];
636
636
  (s = Object.keys(x)) == null || s.forEach((P) => {
637
- p(P, x[P]);
637
+ b(P, x[P]);
638
638
  });
639
639
  } else if (n === "pushNotificationConfigJson" && e[n]) {
640
640
  const x = e[n];
641
641
  (m = Object.keys(x)) == null || m.forEach((P) => {
642
- p(P, x[P]);
642
+ b(P, x[P]);
643
643
  });
644
644
  } else if (n === "kafkaConfigJson" && e[n]) {
645
645
  const x = e[n];
646
646
  (w = Object.keys(x)) == null || w.forEach((P) => {
647
- p(P, x[P]);
647
+ b(P, x[P]);
648
648
  });
649
- } else e[n] !== void 0 && e[n] !== null && p(n, e[n]);
649
+ } else e[n] !== void 0 && e[n] !== null && (b(n, e[n]), n === "miniute" && b("minute", e[n]));
650
650
  }));
651
651
  }, [e]);
652
- const k = V("queryMasterParamJson"), re = V("queryCode"), Ie = V("systemFunctionId"), $ = V("functionParams"), Te = V("trigerWhen"), X = V("notificationTypeId"), z = V("kafkaParameterJson"), oe = V("formType"), Se = async (t) => {
652
+ const k = V("queryMasterParamJson"), re = V("queryCode"), Te = V("systemFunctionId"), $ = V("functionParams"), ye = V("trigerWhen"), X = V("notificationTypeId"), z = V("kafkaParameterJson"), oe = V("formType"), Se = async (t) => {
653
653
  var m;
654
654
  k && k.forEach((w, x) => {
655
- p(`${w.parameterName}${x}`, ""), p(`${w.parameterName}${x}isFixed`, !1);
655
+ b(`${w.parameterName}${x}`, ""), b(`${w.parameterName}${x}isFixed`, !1);
656
656
  });
657
657
  let n = [];
658
658
  const s = R == null ? void 0 : R.find((w) => (w == null ? void 0 : w.code) === t);
@@ -662,39 +662,39 @@ const bt = ({
662
662
  n.push({ parameterName: P });
663
663
  });
664
664
  }
665
- p("queryMasterParamJson", n);
665
+ b("queryMasterParamJson", n);
666
666
  }, Fe = (t) => {
667
667
  $ && $.forEach((m, w) => {
668
- p(`${m.parameterName}${w}`, ""), p(`${m.parameterName}${w}isFixed`, !1);
668
+ b(`${m.parameterName}${w}`, ""), b(`${m.parameterName}${w}isFixed`, !1);
669
669
  });
670
670
  let n = [];
671
671
  const s = K.find((m) => m.id === t);
672
672
  s && Array.from(new Set(s.parameters)).forEach((w) => {
673
673
  n.push(w);
674
- }), p("functionParams", n);
674
+ }), b("functionParams", n);
675
675
  }, ke = (t) => {
676
676
  const n = q.find(
677
677
  (s) => s.id === t
678
678
  );
679
- n && (p("notificationType", n), p("template", n.message), p("heading", n.heading));
679
+ n && (b("notificationType", n), b("template", n.message), b("heading", n.heading));
680
680
  }, A = (t, n, s) => {
681
681
  if ((e == null ? void 0 : e.type) === "QUERY") {
682
682
  const m = [...k];
683
- m[t][n] = s, p("queryMasterParamJson", m);
683
+ m[t][n] = s, b("queryMasterParamJson", m);
684
684
  }
685
685
  if ((e == null ? void 0 : e.type) === "SYSTEM_FUNCTION") {
686
686
  const m = [...$];
687
- m[t][n] = s, p("functionParams", m);
687
+ m[t][n] = s, b("functionParams", m);
688
688
  }
689
689
  if ((e == null ? void 0 : e.type) === "KAFKA_SYNC") {
690
690
  const m = [...z];
691
- m[t][n] = s, p("kafkaParameterJson", m);
691
+ m[t][n] = s, b("kafkaParameterJson", m);
692
692
  }
693
693
  }, $e = (t) => {
694
694
  const n = ne("kafkaParameterJson");
695
695
  n && Array.isArray(n) && (n.forEach((m, w) => {
696
696
  ie(`${m.parameterName}${w}`), ie(`${m.parameterName}${w}isFixed`);
697
- }), p("kafkaParameterJson", [], { shouldValidate: !0 }));
697
+ }), b("kafkaParameterJson", [], { shouldValidate: !0 }));
698
698
  const s = j.find(
699
699
  (m) => m.form_type === t
700
700
  );
@@ -704,9 +704,9 @@ const bt = ({
704
704
  mappingValue: "",
705
705
  isFixed: !1
706
706
  }));
707
- p("kafkaParameterJson", w, { shouldValidate: !0 });
707
+ b("kafkaParameterJson", w, { shouldValidate: !0 });
708
708
  } else
709
- p("kafkaParameterJson", [], { shouldValidate: !0 });
709
+ b("kafkaParameterJson", [], { shouldValidate: !0 });
710
710
  }, Pe = async () => {
711
711
  var t, n;
712
712
  try {
@@ -742,7 +742,7 @@ const bt = ({
742
742
  submit: E.current
743
743
  }), r();
744
744
  }, ze = (t) => {
745
- t = JSON.parse(JSON.stringify(t)), t.minute = Number(t.minute || 0), t.type = e == null ? void 0 : e.type, e.type === "SMS" && (t.smsConfigJson = {
745
+ t = JSON.parse(JSON.stringify(t)), t.minute = Number(t.minute || 0), t.miniute = Number(t.minute || 0), t.type = e == null ? void 0 : e.type, e.type === "SMS" && (t.smsConfigJson = {
746
746
  mobileNumberFieldName: t.mobileNumberFieldName,
747
747
  isPriority: t.isPriority,
748
748
  isSmsTypeFixed: t.isSmsTypeFixed,
@@ -833,7 +833,7 @@ const bt = ({
833
833
  /* @__PURE__ */ a(
834
834
  "form",
835
835
  {
836
- onSubmit: ye(ze),
836
+ onSubmit: Ie(ze),
837
837
  ref: g,
838
838
  "data-testid": "othertypeeventconfigmodal-form",
839
839
  children: [
@@ -870,7 +870,7 @@ const bt = ({
870
870
  ] }),
871
871
  /* @__PURE__ */ a(C, { className: " w-full", children: [
872
872
  /* @__PURE__ */ i(
873
- T,
873
+ y,
874
874
  {
875
875
  name: "excetionTypes",
876
876
  control: v,
@@ -885,13 +885,13 @@ const bt = ({
885
885
  size: "small",
886
886
  "data-testid": "othertypeeventconfigmodal-excetionTypes-select",
887
887
  children: [
888
- /* @__PURE__ */ i(I, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
889
- /* @__PURE__ */ i(I, { value: "ImtechoUserException", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Imtecho User Exception") }) }),
890
- /* @__PURE__ */ i(I, { value: "ImtechoSystemException", children: /* @__PURE__ */ a(h, { variant: "body2", children: [
888
+ /* @__PURE__ */ i(T, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
889
+ /* @__PURE__ */ i(T, { value: "ImtechoUserException", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Imtecho User Exception") }) }),
890
+ /* @__PURE__ */ i(T, { value: "ImtechoSystemException", children: /* @__PURE__ */ a(h, { variant: "body2", children: [
891
891
  " ",
892
892
  c("Imtecho System Exception")
893
893
  ] }) }),
894
- /* @__PURE__ */ i(I, { value: "ImtechoMobileException", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Imtecho Mobile Exception") }) })
894
+ /* @__PURE__ */ i(T, { value: "ImtechoMobileException", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Imtecho Mobile Exception") }) })
895
895
  ]
896
896
  }
897
897
  )
@@ -996,7 +996,7 @@ const bt = ({
996
996
  /* @__PURE__ */ a(d, { container: !0, children: [
997
997
  " ",
998
998
  /* @__PURE__ */ i(d, { item: !0, children: /* @__PURE__ */ i(N, { component: "fieldset", className: "mr-2", children: /* @__PURE__ */ i(
999
- T,
999
+ y,
1000
1000
  {
1001
1001
  control: v,
1002
1002
  name: "isPriority",
@@ -1018,7 +1018,7 @@ const bt = ({
1018
1018
  }
1019
1019
  ) }) }),
1020
1020
  /* @__PURE__ */ i(d, { item: !0, children: /* @__PURE__ */ i(N, { component: "fieldset", className: "mr-2", children: /* @__PURE__ */ i(
1021
- T,
1021
+ y,
1022
1022
  {
1023
1023
  control: v,
1024
1024
  name: "isSmsTypeFixed",
@@ -1147,7 +1147,7 @@ const bt = ({
1147
1147
  },
1148
1148
  // This targets the toolbar
1149
1149
  "& .ck.ck-toolbar": {
1150
- backgroundColor: b ? "#21262D !important" : "var(--color-gray4) !important",
1150
+ backgroundColor: p ? "#21262D !important" : "var(--color-gray4) !important",
1151
1151
  borderColor: `${u.palette.divider} !important`
1152
1152
  },
1153
1153
  // This targets the buttons/icons inside the toolbar
@@ -1155,10 +1155,10 @@ const bt = ({
1155
1155
  color: `${u.palette.text.primary} !important`,
1156
1156
  cursor: "pointer",
1157
1157
  "&:hover": {
1158
- backgroundColor: b ? "#30363D !important" : "var(--color-gray3) !important"
1158
+ backgroundColor: p ? "#30363D !important" : "var(--color-gray3) !important"
1159
1159
  },
1160
1160
  "&.ck-on": {
1161
- backgroundColor: b ? "#11B66633 !important" : "var(--color-gray3) !important",
1161
+ backgroundColor: p ? "#11B66633 !important" : "var(--color-gray3) !important",
1162
1162
  color: `${u.palette.primary.main} !important`
1163
1163
  }
1164
1164
  },
@@ -1168,7 +1168,7 @@ const bt = ({
1168
1168
  }
1169
1169
  },
1170
1170
  children: /* @__PURE__ */ i(
1171
- be,
1171
+ pe,
1172
1172
  {
1173
1173
  editor: He,
1174
1174
  data: ne("template") || "",
@@ -1195,7 +1195,7 @@ const bt = ({
1195
1195
  },
1196
1196
  onChange: (t, n) => {
1197
1197
  const s = n.getData();
1198
- p("template", s);
1198
+ b("template", s);
1199
1199
  },
1200
1200
  "data-testid": "othertypeeventconfigmodal-template-ckeditor"
1201
1201
  }
@@ -1215,7 +1215,7 @@ const bt = ({
1215
1215
  children: [
1216
1216
  /* @__PURE__ */ i(h, { variant: "body2", children: c("Query") }),
1217
1217
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1218
- T,
1218
+ y,
1219
1219
  {
1220
1220
  className: " w-full",
1221
1221
  name: "queryCode",
@@ -1233,8 +1233,8 @@ const bt = ({
1233
1233
  },
1234
1234
  "data-testid": "othertypeeventconfigmodal-queryCode-select",
1235
1235
  children: [
1236
- /* @__PURE__ */ i(I, { value: null, children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1237
- R == null ? void 0 : R.map((n, s) => /* @__PURE__ */ i(I, { value: n == null ? void 0 : n.code, children: /* @__PURE__ */ a(h, { variant: "body2", children: [
1236
+ /* @__PURE__ */ i(T, { value: null, children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1237
+ R == null ? void 0 : R.map((n, s) => /* @__PURE__ */ i(T, { value: n == null ? void 0 : n.code, children: /* @__PURE__ */ a(h, { variant: "body2", children: [
1238
1238
  " ",
1239
1239
  n == null ? void 0 : n.code
1240
1240
  ] }) }, s + 1))
@@ -1266,7 +1266,7 @@ const bt = ({
1266
1266
  c("Mapping")
1267
1267
  ] }) }),
1268
1268
  /* @__PURE__ */ i(d, { item: !0, children: /* @__PURE__ */ i(N, { component: "fieldset", className: "mr-2", children: /* @__PURE__ */ i(
1269
- T,
1269
+ y,
1270
1270
  {
1271
1271
  control: v,
1272
1272
  name: `${t == null ? void 0 : t.parameterName}${n}isFixed`,
@@ -1297,7 +1297,7 @@ const bt = ({
1297
1297
  }
1298
1298
  ),
1299
1299
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1300
- T,
1300
+ y,
1301
1301
  {
1302
1302
  control: v,
1303
1303
  className: " w-full",
@@ -1312,7 +1312,7 @@ const bt = ({
1312
1312
  ...s,
1313
1313
  fullWidth: !0,
1314
1314
  onChange: (m) => {
1315
- p(
1315
+ b(
1316
1316
  `${t == null ? void 0 : t.parameterName}${n}`,
1317
1317
  m.target.value
1318
1318
  ), A(
@@ -1339,7 +1339,7 @@ const bt = ({
1339
1339
  children: [
1340
1340
  /* @__PURE__ */ i(h, { variant: "body2", children: c("System Function") }),
1341
1341
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1342
- T,
1342
+ y,
1343
1343
  {
1344
1344
  className: " w-full",
1345
1345
  name: "systemFunctionId",
@@ -1374,8 +1374,8 @@ const bt = ({
1374
1374
  }
1375
1375
  },
1376
1376
  children: [
1377
- /* @__PURE__ */ i(I, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("None") }) }),
1378
- K == null ? void 0 : K.map((n, s) => /* @__PURE__ */ i(I, { value: n == null ? void 0 : n.id, children: /* @__PURE__ */ a(h, { variant: "body2", children: [
1377
+ /* @__PURE__ */ i(T, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("None") }) }),
1378
+ K == null ? void 0 : K.map((n, s) => /* @__PURE__ */ i(T, { value: n == null ? void 0 : n.id, children: /* @__PURE__ */ a(h, { variant: "body2", children: [
1379
1379
  " ",
1380
1380
  n == null ? void 0 : n.name,
1381
1381
  " (",
@@ -1390,7 +1390,7 @@ const bt = ({
1390
1390
  ]
1391
1391
  }
1392
1392
  ) }) }),
1393
- $ && (e == null ? void 0 : e.type) === "SYSTEM_FUNCTION" && Ie && /* @__PURE__ */ i(d, { container: !0, children: $ == null ? void 0 : $.map((t, n) => /* @__PURE__ */ i(
1393
+ $ && (e == null ? void 0 : e.type) === "SYSTEM_FUNCTION" && Te && /* @__PURE__ */ i(d, { container: !0, children: $ == null ? void 0 : $.map((t, n) => /* @__PURE__ */ i(
1394
1394
  d,
1395
1395
  {
1396
1396
  item: !0,
@@ -1415,7 +1415,7 @@ const bt = ({
1415
1415
  component: "fieldset",
1416
1416
  className: "mr-2",
1417
1417
  children: /* @__PURE__ */ i(
1418
- T,
1418
+ y,
1419
1419
  {
1420
1420
  control: v,
1421
1421
  name: `${t == null ? void 0 : t.parameterName}${n}isFixed`,
@@ -1448,7 +1448,7 @@ const bt = ({
1448
1448
  }
1449
1449
  ),
1450
1450
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1451
- T,
1451
+ y,
1452
1452
  {
1453
1453
  control: v,
1454
1454
  className: " w-full",
@@ -1463,7 +1463,7 @@ const bt = ({
1463
1463
  ...s,
1464
1464
  fullWidth: !0,
1465
1465
  onChange: (m) => {
1466
- p(
1466
+ b(
1467
1467
  `${t == null ? void 0 : t.parameterName}${n}`,
1468
1468
  m.target.value
1469
1469
  ), A(
@@ -1529,7 +1529,7 @@ const bt = ({
1529
1529
  ] }),
1530
1530
  /* @__PURE__ */ a(C, { className: " w-full", children: [
1531
1531
  /* @__PURE__ */ i(
1532
- T,
1532
+ y,
1533
1533
  {
1534
1534
  className: " w-full",
1535
1535
  name: "notificationTypeId",
@@ -1547,8 +1547,8 @@ const bt = ({
1547
1547
  },
1548
1548
  "data-testid": "othertypeeventconfigmodal-notificationtypeid-select",
1549
1549
  children: [
1550
- /* @__PURE__ */ i(I, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("None") }) }),
1551
- q == null ? void 0 : q.map((n, s) => /* @__PURE__ */ i(I, { value: n == null ? void 0 : n.id, children: /* @__PURE__ */ i(h, { variant: "body2", children: n == null ? void 0 : n.type }) }, s + 1))
1550
+ /* @__PURE__ */ i(T, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("None") }) }),
1551
+ q == null ? void 0 : q.map((n, s) => /* @__PURE__ */ i(T, { value: n == null ? void 0 : n.id, children: /* @__PURE__ */ i(h, { variant: "body2", children: n == null ? void 0 : n.type }) }, s + 1))
1552
1552
  ]
1553
1553
  }
1554
1554
  )
@@ -1619,7 +1619,7 @@ const bt = ({
1619
1619
  /* @__PURE__ */ i("span", { style: { color: "red", marginLeft: 4 }, children: "*" })
1620
1620
  ] }),
1621
1621
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1622
- T,
1622
+ y,
1623
1623
  {
1624
1624
  className: " w-full",
1625
1625
  name: "formType",
@@ -1638,8 +1638,8 @@ const bt = ({
1638
1638
  },
1639
1639
  "data-testid": "othertypeeventconfigmodal-kafkaConfig-select",
1640
1640
  children: [
1641
- /* @__PURE__ */ i(I, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1642
- j == null ? void 0 : j.map((n, s) => /* @__PURE__ */ i(I, { value: n.form_type, children: /* @__PURE__ */ i(h, { variant: "body2", children: n.form_type }) }, s))
1641
+ /* @__PURE__ */ i(T, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1642
+ j == null ? void 0 : j.map((n, s) => /* @__PURE__ */ i(T, { value: n.form_type, children: /* @__PURE__ */ i(h, { variant: "body2", children: n.form_type }) }, s))
1643
1643
  ]
1644
1644
  }
1645
1645
  )
@@ -1673,7 +1673,7 @@ const bt = ({
1673
1673
  component: "fieldset",
1674
1674
  className: "mr-2",
1675
1675
  children: /* @__PURE__ */ i(
1676
- T,
1676
+ y,
1677
1677
  {
1678
1678
  control: v,
1679
1679
  name: `${t == null ? void 0 : t.parameterName}${n}isFixed`,
@@ -1706,7 +1706,7 @@ const bt = ({
1706
1706
  }
1707
1707
  ),
1708
1708
  /* @__PURE__ */ i(C, { className: " w-full", children: /* @__PURE__ */ i(
1709
- T,
1709
+ y,
1710
1710
  {
1711
1711
  control: v,
1712
1712
  className: " w-full",
@@ -1721,7 +1721,7 @@ const bt = ({
1721
1721
  ...s,
1722
1722
  fullWidth: !0,
1723
1723
  onChange: (m) => {
1724
- p(
1724
+ b(
1725
1725
  `${t == null ? void 0 : t.parameterName}${n}`,
1726
1726
  m.target.value
1727
1727
  ), A(
@@ -1782,7 +1782,7 @@ const bt = ({
1782
1782
  ] }),
1783
1783
  /* @__PURE__ */ a(C, { className: " w-full", children: [
1784
1784
  /* @__PURE__ */ i(
1785
- T,
1785
+ y,
1786
1786
  {
1787
1787
  name: "trigerWhen",
1788
1788
  control: v,
@@ -1798,9 +1798,9 @@ const bt = ({
1798
1798
  displayEmpty: !0,
1799
1799
  "data-testid": "othertypeeventconfigmodal-trigegrwhen-select",
1800
1800
  children: [
1801
- /* @__PURE__ */ i(I, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1802
- /* @__PURE__ */ i(I, { value: "IMMEDIATELY", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Immediately") }) }),
1803
- /* @__PURE__ */ i(I, { value: "AFTER", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("After") }) })
1801
+ /* @__PURE__ */ i(T, { value: "", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Select") }) }),
1802
+ /* @__PURE__ */ i(T, { value: "IMMEDIATELY", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("Immediately") }) }),
1803
+ /* @__PURE__ */ i(T, { value: "AFTER", children: /* @__PURE__ */ i(h, { variant: "body2", children: c("After") }) })
1804
1804
  ]
1805
1805
  }
1806
1806
  )
@@ -1818,7 +1818,7 @@ const bt = ({
1818
1818
  ]
1819
1819
  }
1820
1820
  ),
1821
- Te === "AFTER" && /* @__PURE__ */ a(Me, { children: [
1821
+ ye === "AFTER" && /* @__PURE__ */ a(Me, { children: [
1822
1822
  /* @__PURE__ */ i(d, { item: !0, size: { xs: 12 }, children: /* @__PURE__ */ a(
1823
1823
  N,
1824
1824
  {
@@ -1941,13 +1941,13 @@ const bt = ({
1941
1941
  }
1942
1942
  );
1943
1943
  };
1944
- bt.propTypes = {
1944
+ pt.propTypes = {
1945
1945
  open: H.any,
1946
1946
  handleClose: H.any,
1947
1947
  handleClick: H.any,
1948
1948
  type: H.any
1949
1949
  };
1950
1950
  export {
1951
- bt as default
1951
+ pt as default
1952
1952
  };
1953
- //# sourceMappingURL=OtherTypeEventConfigModal-DiVhWDpG.js.map
1953
+ //# sourceMappingURL=OtherTypeEventConfigModal-BYjMFl0-.js.map