@argusoft/medplat-core 1.0.14 → 1.0.15

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 (111) hide show
  1. package/dist/AccessRights-Bvd5Bm5K.js +1259 -0
  2. package/dist/AccessRights-Bvd5Bm5K.js.map +1 -0
  3. package/dist/{AddEditQueryBuilder-7JRplV5J.js → AddEditQueryBuilder-Bcjl5mXE.js} +2 -2
  4. package/dist/{AddEditQueryBuilder-7JRplV5J.js.map → AddEditQueryBuilder-Bcjl5mXE.js.map} +1 -1
  5. package/dist/{AddFeatures-CkTu7sOI.js → AddFeatures-CE5rBxEG.js} +2 -2
  6. package/dist/{AddFeatures-CkTu7sOI.js.map → AddFeatures-CE5rBxEG.js.map} +1 -1
  7. package/dist/{AddLabelModal-DE3ploGD.js → AddLabelModal-CB8E8cYG.js} +2 -2
  8. package/dist/{AddLabelModal-DE3ploGD.js.map → AddLabelModal-CB8E8cYG.js.map} +1 -1
  9. package/dist/{AddRoleDrawer-ZK1eejxI.js → AddRoleDrawer-SvntLdRu.js} +44 -43
  10. package/dist/AddRoleDrawer-SvntLdRu.js.map +1 -0
  11. package/dist/{AppModal-BgZyfrd-.js → AppModal-BKgIwe1h.js} +2 -2
  12. package/dist/{AppModal-BgZyfrd-.js.map → AppModal-BKgIwe1h.js.map} +1 -1
  13. package/dist/{ChangePasswordModalCore-DIe4rzW-.js → ChangePasswordModalCore-CTGy8Ttf.js} +2 -2
  14. package/dist/{ChangePasswordModalCore-DIe4rzW-.js.map → ChangePasswordModalCore-CTGy8Ttf.js.map} +1 -1
  15. package/dist/{ConditionConfig-GDCXIg3C.js → ConditionConfig-DB0FqwgG.js} +2 -2
  16. package/dist/{ConditionConfig-GDCXIg3C.js.map → ConditionConfig-DB0FqwgG.js.map} +1 -1
  17. package/dist/{EntityManagement-D-x6Qzal.js → EntityManagement-DQKXnEzz.js} +2 -2
  18. package/dist/{EntityManagement-D-x6Qzal.js.map → EntityManagement-DQKXnEzz.js.map} +1 -1
  19. package/dist/EventConfigurations-DZvSJ5EZ.js +395 -0
  20. package/dist/EventConfigurations-DZvSJ5EZ.js.map +1 -0
  21. package/dist/{EventsExceptionModal-BF6E1Np7.js → EventsExceptionModal-DsvngLi8.js} +2 -2
  22. package/dist/{EventsExceptionModal-BF6E1Np7.js.map → EventsExceptionModal-DsvngLi8.js.map} +1 -1
  23. package/dist/EventsSkeleton-DCXwwPbb.js +76 -0
  24. package/dist/EventsSkeleton-DCXwwPbb.js.map +1 -0
  25. package/dist/FeatureMenu-CLX8VNZ-.js +265 -0
  26. package/dist/FeatureMenu-CLX8VNZ-.js.map +1 -0
  27. package/dist/Features-Cpf1PDx0.js +13 -0
  28. package/dist/Features-Cpf1PDx0.js.map +1 -0
  29. package/dist/FileSaver.min-CN9EpL2h.js.map +1 -1
  30. package/dist/ImmunizationConfigurationsList-K2ddBpPJ.js +345 -0
  31. package/dist/ImmunizationConfigurationsList-K2ddBpPJ.js.map +1 -0
  32. package/dist/ImmunizationSkeleton-D2tdv5k-.js.map +1 -1
  33. package/dist/{LanguagesModal-rk6IGQwY.js → LanguagesModal-CX3oS8rk.js} +2 -2
  34. package/dist/{LanguagesModal-rk6IGQwY.js.map → LanguagesModal-CX3oS8rk.js.map} +1 -1
  35. package/dist/{ManageDynamicFeature-C2I7Ho7i.js → ManageDynamicFeature-CsIett5x.js} +2 -2
  36. package/dist/{ManageDynamicFeature-C2I7Ho7i.js.map → ManageDynamicFeature-CsIett5x.js.map} +1 -1
  37. package/dist/{ManageEventConfiguration-BJxS2Su0.js → ManageEventConfiguration-0YBDaxOI.js} +60 -60
  38. package/dist/ManageEventConfiguration-0YBDaxOI.js.map +1 -0
  39. package/dist/{ManageNotification-DMN2szWy.js → ManageNotification-EQgnOO0U.js} +632 -632
  40. package/dist/ManageNotification-EQgnOO0U.js.map +1 -0
  41. package/dist/{ManageRole-CuXmWQyp.js → ManageRole-Cbs9dUhc.js} +244 -191
  42. package/dist/ManageRole-Cbs9dUhc.js.map +1 -0
  43. package/dist/ManageTranslation-D9IScGhk.js +625 -0
  44. package/dist/ManageTranslation-D9IScGhk.js.map +1 -0
  45. package/dist/{ManageUser-Dr3ptCYp.js → ManageUser-C9uMe9av.js} +744 -735
  46. package/dist/ManageUser-C9uMe9av.js.map +1 -0
  47. package/dist/{MobileTypeEventConfigModal-ChhO_A4f.js → MobileTypeEventConfigModal-Ltm529jG.js} +2 -2
  48. package/dist/{MobileTypeEventConfigModal-ChhO_A4f.js.map → MobileTypeEventConfigModal-Ltm529jG.js.map} +1 -1
  49. package/dist/NotificationList-BZwvgsf6.js +402 -0
  50. package/dist/NotificationList-BZwvgsf6.js.map +1 -0
  51. package/dist/{OtherTypeEventConfigModal-ZnCGWm9v.js → OtherTypeEventConfigModal-dXt2qDg_.js} +2 -2
  52. package/dist/OtherTypeEventConfigModal-dXt2qDg_.js.map +1 -0
  53. package/dist/{QueryBuilder-BPfavHH9.js → QueryBuilder-DXexUIe8.js} +154 -148
  54. package/dist/QueryBuilder-DXexUIe8.js.map +1 -0
  55. package/dist/{QueryManagement-DXA73N2j.js → QueryManagement-BpIRH8hI.js} +228 -214
  56. package/dist/QueryManagement-BpIRH8hI.js.map +1 -0
  57. package/dist/RoleManagement-BThAL5LO.js +422 -0
  58. package/dist/RoleManagement-BThAL5LO.js.map +1 -0
  59. package/dist/SubMenu-BGznOP2a.js +191 -0
  60. package/dist/SubMenu-BGznOP2a.js.map +1 -0
  61. package/dist/TableDetails-DztbjsIA.js +2069 -0
  62. package/dist/TableDetails-DztbjsIA.js.map +1 -0
  63. package/dist/TableList-DYwotUDO.js +1425 -0
  64. package/dist/TableList-DYwotUDO.js.map +1 -0
  65. package/dist/{TypeConfiguration-C-lk8Szs.js → TypeConfiguration-DYbBG_hZ.js} +2 -2
  66. package/dist/{TypeConfiguration-C-lk8Szs.js.map → TypeConfiguration-DYbBG_hZ.js.map} +1 -1
  67. package/dist/{UserList-S5Q76wO7.js → UserList-BH6OpZvq.js} +410 -400
  68. package/dist/UserList-BH6OpZvq.js.map +1 -0
  69. package/dist/UserListSkeleton-cglK2SaU.js.map +1 -1
  70. package/dist/WidgetList-D-fIf3N2.js +200 -0
  71. package/dist/WidgetList-D-fIf3N2.js.map +1 -0
  72. package/dist/i18next-CTOWN_jH.js.map +1 -1
  73. package/dist/index.css +1 -1
  74. package/dist/index.js +13 -13
  75. package/dist/xlsx.min-D1LFqt_b.js.map +1 -1
  76. package/package.json +1 -1
  77. package/dist/AccessRights-BMRM1u9S.js +0 -1228
  78. package/dist/AccessRights-BMRM1u9S.js.map +0 -1
  79. package/dist/AddRoleDrawer-ZK1eejxI.js.map +0 -1
  80. package/dist/EventConfigurations-jGCJ4LqP.js +0 -384
  81. package/dist/EventConfigurations-jGCJ4LqP.js.map +0 -1
  82. package/dist/EventsSkeleton-BN7_0IGs.js +0 -74
  83. package/dist/EventsSkeleton-BN7_0IGs.js.map +0 -1
  84. package/dist/FeatureMenu-Ds6lFg4w.js +0 -249
  85. package/dist/FeatureMenu-Ds6lFg4w.js.map +0 -1
  86. package/dist/Features-Cshdl06N.js +0 -12
  87. package/dist/Features-Cshdl06N.js.map +0 -1
  88. package/dist/ImmunizationConfigurationsList-CQnxWa09.js +0 -335
  89. package/dist/ImmunizationConfigurationsList-CQnxWa09.js.map +0 -1
  90. package/dist/ManageEventConfiguration-BJxS2Su0.js.map +0 -1
  91. package/dist/ManageNotification-DMN2szWy.js.map +0 -1
  92. package/dist/ManageRole-CuXmWQyp.js.map +0 -1
  93. package/dist/ManageTranslation-BTxvSYKb.js +0 -616
  94. package/dist/ManageTranslation-BTxvSYKb.js.map +0 -1
  95. package/dist/ManageUser-Dr3ptCYp.js.map +0 -1
  96. package/dist/NotificationList-BqibwMaM.js +0 -400
  97. package/dist/NotificationList-BqibwMaM.js.map +0 -1
  98. package/dist/OtherTypeEventConfigModal-ZnCGWm9v.js.map +0 -1
  99. package/dist/QueryBuilder-BPfavHH9.js.map +0 -1
  100. package/dist/QueryManagement-DXA73N2j.js.map +0 -1
  101. package/dist/RoleManagement-C0feJCuq.js +0 -410
  102. package/dist/RoleManagement-C0feJCuq.js.map +0 -1
  103. package/dist/SubMenu-DAfZC9Xi.js +0 -188
  104. package/dist/SubMenu-DAfZC9Xi.js.map +0 -1
  105. package/dist/TableDetails-DzREeJkm.js +0 -1508
  106. package/dist/TableDetails-DzREeJkm.js.map +0 -1
  107. package/dist/TableList-B9hr05Hs.js +0 -428
  108. package/dist/TableList-B9hr05Hs.js.map +0 -1
  109. package/dist/UserList-S5Q76wO7.js.map +0 -1
  110. package/dist/WidgetList-BSApErov.js +0 -188
  111. package/dist/WidgetList-BSApErov.js.map +0 -1
@@ -1,39 +1,41 @@
1
- import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { useState as s, useEffect as H, useMemo as Me } from "react";
3
- import { Box as C, Accordion as ae, AccordionSummary as ne, Typography as v, AccordionDetails as oe, TextField as Be, Button as g } from "@mui/material";
4
- import { api as K } from "@/common/interceptors/AxiosInterceptor";
5
- import { execute as ze, downloadExcel as Ke } from "@/common/services/GlobalApis";
6
- import { useSelector as z } from "react-redux";
7
- import se from "@/views/custom-components/CustomTextField";
8
- import { useForm as Pe } from "react-hook-form";
9
- import $e from "@/hooks/useTrackEvent";
10
- import je from "@/views/custom-components/CustomConfirmationModal";
11
- import { showToast as r } from "@/common/toaster/toaster";
12
- import { Link as le } from "react-router-dom";
13
- import Ue from "dayjs";
14
- import { useTranslateProvider as We } from "@/common/languageTranslator/TranslationContext";
15
- import re from "prop-types";
16
- import { getUseSkeleton as ue } from "@/store/reducers/SkeletonReducer";
17
- import { Grid as M } from "@mui/system";
18
- import Ye from "@/views/custom-components/CustomTextArea";
19
- import B from "@/views/custom-components/CustomizedTable/CustomizedTableV2";
20
- import { faChevronDown as ie } from "@fortawesome/free-solid-svg-icons";
21
- import { FontAwesomeIcon as ce } from "@fortawesome/react-fontawesome";
22
- import Je from "lodash/debounce";
23
- import './QueryManagement.css';const Ve = (c) => K.post("resource/getdatawithtimeout", c), Ge = (c) => K.post("querymanagement/retrieve", c, {
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
+ import { useState as r, useEffect as z, useMemo as Ke } from "react";
3
+ import { Box as g, Card as Pe, Typography as x, Accordion as se, AccordionSummary as re, AccordionDetails as le, TextField as je, Button as b } from "@mui/material";
4
+ import O from "@/common/services/util/GeneralUtil";
5
+ import { api as $ } from "@/common/interceptors/AxiosInterceptor";
6
+ import { execute as $e, downloadExcel as Ue } from "@/common/services/GlobalApis";
7
+ import { getAssignedFeatures as Je } from "@/utils/feature.js";
8
+ import { useSelector as j } from "react-redux";
9
+ import ie from "@/views/custom-components/CustomTextField";
10
+ import { useForm as We } from "react-hook-form";
11
+ import Ye from "@/hooks/useTrackEvent";
12
+ import Ge from "@/views/custom-components/CustomConfirmationModal";
13
+ import { showToast as i } from "@/common/toaster/toaster";
14
+ import { Link as ce } from "react-router-dom";
15
+ import Ve from "dayjs";
16
+ import { useTranslateProvider as Xe } from "@/common/languageTranslator/TranslationContext";
17
+ import de from "prop-types";
18
+ import { getUseSkeleton as fe } from "@/store/reducers/SkeletonReducer";
19
+ import { Grid as K } from "@mui/system";
20
+ import Ze from "@/views/custom-components/CustomTextArea";
21
+ import P from "@/views/custom-components/CustomizedTable/CustomizedTableV2";
22
+ import { faChevronDown as me } from "@fortawesome/free-solid-svg-icons";
23
+ import { FontAwesomeIcon as ue } from "@fortawesome/react-fontawesome";
24
+ import et from "lodash/debounce";
25
+ import './QueryManagement.css';const tt = (d) => $.post("resource/getdatawithtimeout", d), at = (d) => $.post("querymanagement/retrieve", d, {
24
26
  headers: { "Content-Type": "application/json" },
25
- transformRequest: [(m) => m]
26
- }), Xe = (c) => K.post("querymanagement/execute", c, {
27
+ transformRequest: [(o) => o]
28
+ }), nt = (d) => $.post("querymanagement/execute", d, {
27
29
  headers: { "Content-Type": "application/json" },
28
- transformRequest: [(m) => m]
29
- }), pe = ({ children: c, loading: m }) => !z(ue) || !m ? c : /* @__PURE__ */ o("div", { className: "flex flex-col space-y-4 h-[100vh] pt-3 relative w-full", children: [
30
- /* @__PURE__ */ o("div", { className: " flex flex-row space-x-2 overflow-auto", children: [
30
+ transformRequest: [(o) => o]
31
+ }), he = ({ children: d, loading: o }) => !j(fe) || !o ? d : /* @__PURE__ */ s("div", { className: "flex flex-col space-y-4 h-[100vh] pt-3 relative w-full", children: [
32
+ /* @__PURE__ */ s("div", { className: " flex flex-row space-x-2 overflow-auto", children: [
31
33
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[100%] h-[50px] " }),
32
34
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[100%] h-[50px] mx-[10px]" })
33
35
  ] }),
34
- /* @__PURE__ */ o("div", { className: " flex flex-col flex-1 ", children: [
36
+ /* @__PURE__ */ s("div", { className: " flex flex-col flex-1 ", children: [
35
37
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse h-[10rem] w-full rounded-md mb-2" }),
36
- /* @__PURE__ */ o("div", { className: "flex h-40 space-x-6", children: [
38
+ /* @__PURE__ */ s("div", { className: "flex h-40 space-x-6", children: [
37
39
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse rounded-sm w-60 h-[40px]" }),
38
40
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]" }),
39
41
  /* @__PURE__ */ t("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]" }),
@@ -43,15 +45,15 @@ import './QueryManagement.css';const Ve = (c) => K.post("resource/getdatawithtim
43
45
  ] })
44
46
  ] })
45
47
  ] });
46
- pe.propTypes = {
47
- children: re.any,
48
- loading: re.any
48
+ he.propTypes = {
49
+ children: de.any,
50
+ loading: de.any
49
51
  };
50
- const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
52
+ const pe = { pagination: !1 }, ye = { tableStyle: { maxHeight: 180 } }, ot = {
51
53
  pagination: !1,
52
54
  paginationType: "virtual-scroll"
53
- }, et = { tableStyle: { maxHeight: "60vh" } }, Ct = () => {
54
- const c = z(ue), m = async (e, a = null) => {
55
+ }, st = { tableStyle: { maxHeight: "60vh" } }, Lt = () => {
56
+ const d = j(fe), [o, U] = r({}), A = async (e, a = null) => {
55
57
  let n;
56
58
  return a === "index" ? n = "SELECT * FROM pg_indexes WHERE tablename = '" + e.tablename + "' limit 100" : a === "ddl" ? n = `WITH table_columns AS (
57
59
  SELECT
@@ -109,30 +111,30 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
109
111
  LEFT JOIN table_indexes ti ON tc.table_name = ti.table_name
110
112
  GROUP BY
111
113
  tc.table_name;
112
- ` : n = `select * from ${e.tablename} limit 100`, x(n), f(n), {};
113
- }, P = async (e) => {
114
- x(e.query), k(0);
115
- }, [$, ye] = s(null), [p, x] = s(""), [b, S] = s(0), fe = [
114
+ ` : n = `select * from ${e.tablename} limit 100`, w(n), f(n), {};
115
+ }, ge = async (e) => {
116
+ w(e.query), k(0);
117
+ }, [J, xe] = r(null), [p, w] = r(""), [v, S] = r(0), be = [
116
118
  { field: "Sr. No.", label: "#", align: "left" },
117
119
  { field: "size_pretty", label: "Size", align: "left" },
118
120
  {
119
121
  field: "tablename",
120
122
  label: "Table Name",
121
123
  align: "left",
122
- onClick: m
124
+ onClick: A
123
125
  },
124
126
  {
125
127
  field: "Action",
126
128
  label: "Action",
127
129
  align: "left",
128
130
  render: (e) => /* @__PURE__ */ t(
129
- g,
131
+ b,
130
132
  {
131
133
  variant: "contained",
132
134
  color: "primary",
133
135
  size: "small",
134
136
  className: "text-[0.75rem]",
135
- onClick: () => m(e, "index"),
137
+ onClick: () => A(e, "index"),
136
138
  children: l("Index")
137
139
  }
138
140
  )
@@ -142,71 +144,71 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
142
144
  label: "DDL",
143
145
  align: "left",
144
146
  render: (e) => /* @__PURE__ */ t(
145
- g,
147
+ b,
146
148
  {
147
149
  variant: "contained",
148
150
  color: "primary",
149
151
  size: "small",
150
152
  className: "text-[0.75rem]",
151
- onClick: () => m(e, "ddl"),
153
+ onClick: () => A(e, "ddl"),
152
154
  children: l("DDL")
153
155
  }
154
156
  )
155
157
  }
156
- ], he = [
158
+ ], we = [
157
159
  { field: "Sr. No.", label: "#", align: "left" },
158
160
  {
159
161
  field: "query",
160
162
  label: "Query",
161
163
  align: "left",
162
- onClick: P
164
+ onClick: ge
163
165
  },
164
166
  { field: "created_on", label: "Executed On", align: "left" }
165
- ], [ge, xe] = s([]), [A, D] = s([]), [be, _e] = s(!1), { user: I } = z((e) => e.Authenticate), [T, Ne] = s([]), [we, j] = s([]), [U, Ce] = s([]), [ve, Se] = s([]), W = A.length || null, _ = "select pid,query,wait_event_type,state_change,cast (now()-state_change as TEXT) as Since from pg_stat_activity where state = 'active' order by state_change", Y = `select pg_terminate_backend( ${$} )`, q = "select cast(pid as text) as pid, cast(usename as text) as usename, cast(pg_blocking_pids(pid) as text) as blocked_by, datname as Database_Name,cast(query as text) as blocked_query from pg_stat_activity where cardinality(pg_blocking_pids(pid)) > 0", { translate: l } = We(), [Te, J] = s(!1), [V, k] = s(0), [Ee, u] = s(!1), [De, Q] = s(!1), [G, L] = s(!0), {
166
- control: R,
167
- setValue: X,
167
+ ], [ve, Ne] = r([]), [I, D] = r([]), [_e, Ce] = r(!1), { user: Q } = j((e) => e.Authenticate), [T, Se] = r([]), [Te, W] = r([]), [Y, Ee] = r([]), [De, ke] = r([]), G = I.length || null, N = "select pid,query,wait_event_type,state_change,cast (now()-state_change as TEXT) as Since from pg_stat_activity where state = 'active' order by state_change", V = `select pg_terminate_backend( ${J} )`, R = "select cast(pid as text) as pid, cast(usename as text) as usename, cast(pg_blocking_pids(pid) as text) as blocked_by, datname as Database_Name,cast(query as text) as blocked_query from pg_stat_activity where cardinality(pg_blocking_pids(pid)) > 0", { translate: l } = Xe(), [X, F] = r(!1), [Z, k] = r(0), [Le, u] = r(!1), [qe, H] = r(!1), [ee, L] = r(!0), {
168
+ control: M,
169
+ setValue: te,
168
170
  getValues: E,
169
- formState: { errors: ke }
170
- } = Pe({
171
+ formState: { errors: Oe }
172
+ } = We({
171
173
  mode: "onChange",
172
174
  defaultValues: {
173
175
  excelFileName: ""
174
176
  }
175
177
  });
176
- H(() => {
177
- j(T);
178
- }, [T]), H(() => {
178
+ z(() => {
179
+ W(T);
180
+ }, [T]), z(() => {
179
181
  if (p) {
180
182
  if ((p == null ? void 0 : p.length) > 0) {
181
- L(!1), X("query", p);
183
+ L(!1), te("query", p);
182
184
  return;
183
185
  }
184
186
  L(!0);
185
187
  }
186
188
  }, [p]);
187
- const Z = $e(), f = async (e, a = []) => {
189
+ const ae = Ye(), f = async (e, a = []) => {
188
190
  try {
189
191
  if (!e) {
190
- r({ message: "Query can not be empty", type: "error" });
192
+ i({ message: "Query can not be empty", type: "error" });
191
193
  return;
192
194
  }
193
195
  u(!0);
194
- const { data: n } = await Ge(e).catch((d) => {
195
- D([]), console.error(d), u(!1), r({ message: `${d.response.data.message}`, type: "error" });
196
+ const { data: n } = await at(e).catch((m) => {
197
+ D([]), console.error(m), u(!1), i({ message: `${m.response.data.message}`, type: "error" });
196
198
  });
197
199
  if (n && !n.length) {
198
- k(0), D([]), r({ message: "No data found", type: "info" }), u(!1);
200
+ k(0), D([]), i({ message: "No data found", type: "info" }), u(!1);
199
201
  return;
200
202
  }
201
- if (n != null && n.length && (k(0), e !== _ && r({
203
+ if (n != null && n.length && (k(0), e !== N && i({
202
204
  message: "Query Executed Successfully",
203
205
  type: "success"
204
- })), e === _)
206
+ })), e === N)
205
207
  a = [
206
208
  {
207
209
  label: "KILL PROCESS",
208
210
  icon: /* @__PURE__ */ t(
209
- g,
211
+ b,
210
212
  {
211
213
  variant: "contained",
212
214
  color: "error",
@@ -214,55 +216,55 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
214
216
  children: l("Kill Process")
215
217
  }
216
218
  ),
217
- onClick: Ae
219
+ onClick: Qe
218
220
  }
219
221
  ];
220
- else if (e === Y) {
221
- n != null && n.length && r({ message: "Terminated Successfully", type: "success" }), D([]);
222
+ else if (e === V) {
223
+ n != null && n.length && i({ message: "Terminated Successfully", type: "success" }), D([]);
222
224
  return;
223
225
  }
224
226
  D(
225
- n.map((d, N) => ({ index: N + 1, ...d }))
227
+ n.map((m, _) => ({ index: _ + 1, ...m }))
226
228
  );
227
- const i = Object.keys(n[0]);
228
- (a.length || e === _) && i.push("Actions");
229
- const y = i.map((d) => ({
230
- field: d,
231
- label: d,
229
+ const c = Object.keys(n[0]);
230
+ (a.length || e === N) && c.push("Actions");
231
+ const y = c.map((m) => ({
232
+ field: m,
233
+ label: m,
232
234
  align: "left"
233
235
  }));
234
- Se(a), xe([
236
+ ke(a), Ne([
235
237
  { field: "index", label: "#", align: "left" },
236
238
  ...y
237
- ]), O(), u(!1);
239
+ ]), q(), u(!1);
238
240
  } catch (n) {
239
241
  u(!1), console.error(n);
240
242
  }
241
- }, ee = async (e) => {
243
+ }, ne = async (e) => {
242
244
  try {
243
245
  if (!e) {
244
- r({ message: "Query can not be empty", type: "error" });
246
+ i({ message: "Query can not be empty", type: "error" });
245
247
  return;
246
248
  }
247
- const { data: a } = await Xe(e).catch((n) => {
248
- console.error(n), r({ message: `${n.response.data.message}`, type: "error" });
249
+ const { data: a } = await nt(e).catch((n) => {
250
+ console.error(n), i({ message: `${n.response.data.message}`, type: "error" });
249
251
  });
250
- a.length || r({ message: "No data found", type: "info" }), a.length && r({ message: "Query updated successfully", type: "success" });
252
+ a.length || i({ message: "No data found", type: "info" }), a.length && i({ message: "Query updated successfully", type: "success" });
251
253
  } catch (a) {
252
254
  console.error(a);
253
255
  }
254
- }, Le = async () => {
256
+ }, Ae = async () => {
255
257
  const e = "d91d249f-c8e1-4397-a84d-6ce6eb33eb48", a = E("query"), n = E("excelFileName");
256
258
  if (!a) {
257
- r({ message: "Query can not be empty", type: "info" });
259
+ i({ message: "Query can not be empty", type: "info" });
258
260
  return;
259
261
  }
260
262
  try {
261
263
  u(!0);
262
- const y = await Ke(e, {
264
+ const y = await Ue(e, {
263
265
  paramObj: { query: a }
264
266
  }).catch(
265
- (h) => (console.error(h), r({
267
+ (h) => (console.error(h), i({
266
268
  message: "Operation Unsuccessful, Something went wrong",
267
269
  type: "error"
268
270
  }), null)
@@ -271,133 +273,145 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
271
273
  u(!1);
272
274
  return;
273
275
  }
274
- const d = new Blob([y.data], {
276
+ const m = new Blob([y.data], {
275
277
  type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
276
- }), N = `${n || "rename"}_${(/* @__PURE__ */ new Date()).getTime()}.xlsx`;
278
+ }), _ = `${n || "rename"}_${(/* @__PURE__ */ new Date()).getTime()}.xlsx`;
277
279
  if (navigator.msSaveBlob) {
278
- const h = new Blob([y.data], { type: "" }), F = (h.size / 1024).toFixed(2);
279
- return Z("file_download", {
280
+ const h = new Blob([y.data], { type: "" }), B = (h.size / 1024).toFixed(2);
281
+ return ae("file_download", {
280
282
  file_type: "xlsx",
281
- file_name: N,
282
- file_size: `${F} KB`,
283
+ file_name: _,
284
+ file_size: `${B} KB`,
283
285
  download_status: "success"
284
- }), navigator.msSaveBlob(h, N);
286
+ }), navigator.msSaveBlob(h, _);
285
287
  } else {
286
- const h = URL.createObjectURL(d), F = (d.size / 1024).toFixed(2), w = document.createElement("a");
287
- w.href = h, w.download = N, w.style.display = "none", document.body.appendChild(w), w.click(), Z("file_download", {
288
+ const h = URL.createObjectURL(m), B = (m.size / 1024).toFixed(2), C = document.createElement("a");
289
+ C.href = h, C.download = _, C.style.display = "none", document.body.appendChild(C), C.click(), ae("file_download", {
288
290
  file_type: "xlsx",
289
- file_name: N,
290
- file_size: `${F} KB`,
291
+ file_name: _,
292
+ file_size: `${B} KB`,
291
293
  download_status: "success"
292
- }), URL.revokeObjectURL(h), w.remove();
294
+ }), URL.revokeObjectURL(h), C.remove();
293
295
  }
294
296
  u(!1);
295
- } catch (i) {
296
- console.error(i), u(!1), r({ type: "error", message: "Something went wrong!" });
297
+ } catch (c) {
298
+ console.error(c), u(!1), i({ type: "error", message: "Something went wrong!" });
297
299
  }
298
- }, Oe = async () => {
300
+ }, Ie = async () => {
299
301
  try {
300
- _e(!0), x(q), await f(q);
302
+ Ce(!0), w(R), await f(R);
301
303
  } catch (e) {
302
304
  console.error(e);
303
305
  }
304
- }, Ae = async (e) => {
305
- S(3), ye(e.pid);
306
- }, Ie = async () => {
306
+ }, Qe = async (e) => {
307
+ S(3), xe(e.pid);
308
+ }, Re = async () => {
307
309
  try {
308
- await f(Y);
310
+ await f(V);
309
311
  let e;
310
- be === !0 ? e = q : e = _, await f(e);
312
+ _e === !0 ? e = R : e = N, await f(e);
311
313
  } catch (e) {
312
314
  console.error(e);
313
315
  }
314
- }, qe = async () => {
316
+ }, Fe = async () => {
315
317
  try {
316
- x(_), await f(_);
318
+ w(N), await f(N);
317
319
  } catch (e) {
318
320
  console.error(e);
319
321
  }
320
- }, O = async () => {
322
+ }, q = async () => {
321
323
  try {
322
- const e = E("queryHistorySearchKey"), { data: a } = await ze({
324
+ const e = E("queryHistorySearchKey"), { data: a } = await $e({
323
325
  code: "retrieve_limited_query_history",
324
326
  parameters: {
325
- userId: I == null ? void 0 : I.id,
327
+ userId: Q == null ? void 0 : Q.id,
326
328
  limit: 100,
327
329
  searchKey: e
328
330
  }
329
331
  });
330
- Ce(
331
- a.result.map((n, i) => ({
332
- index: i + 1,
332
+ Ee(
333
+ a.result.map((n, c) => ({
334
+ index: c + 1,
333
335
  ...n,
334
- created_on: Ue(n.created_on).format("DD-MM-YYYY h:mm:ss A")
336
+ created_on: Ve(n.created_on).format("DD-MM-YYYY h:mm:ss A")
335
337
  }))
336
338
  );
337
339
  } catch (e) {
338
340
  console.error(e);
339
341
  }
340
- }, Qe = async () => {
341
- J((e) => !e), O(), J((e) => !e);
342
+ }, He = async () => {
343
+ try {
344
+ F((a) => !a);
345
+ const { data: e } = await Je("techo.querymanagement");
346
+ e && U(JSON.parse(e)), q(), F((a) => !a);
347
+ } catch {
348
+ F(!1);
349
+ }
342
350
  };
343
- H(() => {
344
- Qe();
351
+ z(() => {
352
+ He();
345
353
  }, []);
346
- const Re = async () => {
354
+ const Me = async () => {
347
355
  try {
348
- Q(!0);
349
- const { data: e } = await Ve({
356
+ H(!0);
357
+ const { data: e } = await tt({
350
358
  code: "retrieve_all_tables"
351
359
  });
352
- Ne(
360
+ Se(
353
361
  e.result.map((a, n) => ({
354
362
  index: n + 1,
355
363
  ...a
356
364
  }))
357
- ), Q(!1);
365
+ ), H(!1);
358
366
  } catch (e) {
359
- console.error(e), Q(!1);
367
+ console.error(e), H(!1);
360
368
  }
361
- }, Fe = (e) => {
369
+ }, Be = (e) => {
362
370
  const a = e.target.value;
363
- He(a);
364
- }, He = Me(
365
- () => Je((e) => {
371
+ ze(a);
372
+ }, ze = Ke(
373
+ () => et((e) => {
366
374
  const a = e.toLowerCase(), n = T.filter(
367
- (i) => {
375
+ (c) => {
368
376
  var y;
369
- return (y = i == null ? void 0 : i.tablename) == null ? void 0 : y.toLowerCase().includes(a);
377
+ return (y = c == null ? void 0 : c.tablename) == null ? void 0 : y.toLowerCase().includes(a);
370
378
  }
371
379
  );
372
- j(n);
380
+ W(n);
373
381
  }, 300),
374
382
  // debounce time in ms
375
383
  [T]
376
- ), te = (e, a) => {
384
+ ), oe = (e, a) => {
377
385
  k(a ? e : !1);
378
386
  };
379
- return /* @__PURE__ */ o(pe, { loading: Te, children: [
380
- Ee && c && /* @__PURE__ */ t("div", { className: "loader-overlay", children: /* @__PURE__ */ t("div", { className: "loader-spinner" }) }),
381
- /* @__PURE__ */ o(C, { minHeight: "80vh", className: "flex flex-col mt-5", children: [
382
- /* @__PURE__ */ o(
383
- C,
387
+ return O.isTecho && !X && !(o != null && o["view.manage.querymanagement.retrieve"]) ? /* @__PURE__ */ t(g, { className: "flex justify-center items-center w-full h-[80vh]", children: /* @__PURE__ */ t(
388
+ Pe,
389
+ {
390
+ className: "h-80 w-150 flex justify-center items-center",
391
+ children: /* @__PURE__ */ t(x, { variant: "h5", className: "text-customBlue", children: "You dont have permission to view Query Management" })
392
+ }
393
+ ) }) : /* @__PURE__ */ s(he, { loading: X, children: [
394
+ Le && d && /* @__PURE__ */ t("div", { className: "loader-overlay", children: /* @__PURE__ */ t("div", { className: "loader-spinner" }) }),
395
+ /* @__PURE__ */ s(g, { minHeight: "80vh", className: "flex flex-col mt-5", children: [
396
+ /* @__PURE__ */ s(
397
+ g,
384
398
  {
385
399
  className: "flex flex-col md:flex-row md:space-x-2 space-y-2 md:space-y-0",
386
400
  children: [
387
- /* @__PURE__ */ t(M, { className: "w-full md:w-1/2", children: /* @__PURE__ */ o(
388
- ae,
401
+ /* @__PURE__ */ t(K, { className: "w-full md:w-1/2", children: /* @__PURE__ */ s(
402
+ se,
389
403
  {
390
- expanded: V === 1,
404
+ expanded: Z === 1,
391
405
  onChange: (e, a) => {
392
- a && !T.length && Re(), te(1, a);
406
+ a && !T.length && Me(), oe(1, a);
393
407
  },
394
408
  "data-testid": "table-list-accordion",
395
409
  className: "accordion",
396
410
  children: [
397
411
  /* @__PURE__ */ t(
398
- ne,
412
+ re,
399
413
  {
400
- expandIcon: /* @__PURE__ */ t(ce, { icon: ie }),
414
+ expandIcon: /* @__PURE__ */ t(ue, { icon: me }),
401
415
  "data-testid": "table-list-accordion-title",
402
416
  sx: {
403
417
  "&.Mui-expanded": {
@@ -408,11 +422,11 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
408
422
  }
409
423
  }
410
424
  },
411
- children: /* @__PURE__ */ t(v, { children: l("All Table List") })
425
+ children: /* @__PURE__ */ t(x, { children: l("All Table List") })
412
426
  }
413
427
  ),
414
- /* @__PURE__ */ o(
415
- oe,
428
+ /* @__PURE__ */ s(
429
+ le,
416
430
  {
417
431
  className: "accordion-details mt-2.5",
418
432
  sx: {
@@ -424,25 +438,25 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
424
438
  },
425
439
  children: [
426
440
  /* @__PURE__ */ t(
427
- Be,
441
+ je,
428
442
  {
429
443
  id: "tableListSearchKey",
430
- onChange: Fe,
444
+ onChange: Be,
431
445
  size: "small",
432
446
  placeholder: "Search Table Name",
433
447
  className: "w-[70%] mb-2"
434
448
  }
435
449
  ),
436
450
  /* @__PURE__ */ t(
437
- B,
451
+ P,
438
452
  {
439
453
  strip: !0,
440
- isLoading: De,
441
- columns: fe,
442
- tableData: we,
443
- paginationConfig: de,
454
+ isLoading: qe,
455
+ columns: be,
456
+ tableData: Te,
457
+ paginationConfig: pe,
444
458
  dataTestId: "table-list-table-customized",
445
- styleConfig: me
459
+ styleConfig: ye
446
460
  }
447
461
  )
448
462
  ]
@@ -451,20 +465,20 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
451
465
  ]
452
466
  }
453
467
  ) }),
454
- /* @__PURE__ */ t(M, { className: "w-full md:w-1/2", children: /* @__PURE__ */ o(
455
- ae,
468
+ /* @__PURE__ */ t(K, { className: "w-full md:w-1/2", children: /* @__PURE__ */ s(
469
+ se,
456
470
  {
457
- expanded: V === 2,
471
+ expanded: Z === 2,
458
472
  onChange: (e, a) => {
459
- a && !U.length && O(), te(2, a);
473
+ a && !Y.length && q(), oe(2, a);
460
474
  },
461
475
  "data-testid": "query-history-accordion",
462
476
  className: "accordion",
463
477
  children: [
464
478
  /* @__PURE__ */ t(
465
- ne,
479
+ re,
466
480
  {
467
- expandIcon: /* @__PURE__ */ t(ce, { icon: ie }),
481
+ expandIcon: /* @__PURE__ */ t(ue, { icon: me }),
468
482
  "data-testid": "query-history-accordion-title",
469
483
  sx: {
470
484
  "&.Mui-expanded": {
@@ -475,11 +489,11 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
475
489
  }
476
490
  }
477
491
  },
478
- children: /* @__PURE__ */ t(v, { children: l("Query History") })
492
+ children: /* @__PURE__ */ t(x, { children: l("Query History") })
479
493
  }
480
494
  ),
481
- /* @__PURE__ */ o(
482
- oe,
495
+ /* @__PURE__ */ s(
496
+ le,
483
497
  {
484
498
  className: "accordion-details mt-2.5",
485
499
  sx: {
@@ -491,24 +505,24 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
491
505
  },
492
506
  test: "work",
493
507
  children: [
494
- /* @__PURE__ */ o(C, { className: "flex items-center mb-2", children: [
508
+ /* @__PURE__ */ s(g, { className: "flex items-center mb-2", children: [
495
509
  /* @__PURE__ */ t(
496
- se,
510
+ ie,
497
511
  {
498
512
  id: "queryHistorySearchKey",
499
513
  name: "queryHistorySearchKey",
500
- control: R,
514
+ control: M,
501
515
  placeholder: "Search in History",
502
516
  size: "small",
503
517
  className: "w-auto mr-1"
504
518
  }
505
519
  ),
506
520
  /* @__PURE__ */ t(
507
- g,
521
+ b,
508
522
  {
509
523
  variant: "contained",
510
524
  color: "primary",
511
- onClick: O,
525
+ onClick: q,
512
526
  "data-testid": "query-history-accordion-submit",
513
527
  sx: { ml: { xs: "10px", md: "0px" } },
514
528
  children: l("Search")
@@ -516,14 +530,14 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
516
530
  )
517
531
  ] }),
518
532
  /* @__PURE__ */ t(
519
- B,
533
+ P,
520
534
  {
521
535
  strip: !0,
522
- columns: he,
523
- tableData: U,
524
- paginationConfig: de,
536
+ columns: we,
537
+ tableData: Y,
538
+ paginationConfig: pe,
525
539
  dataTestId: "query-history-table-customized",
526
- styleConfig: me
540
+ styleConfig: ye
527
541
  }
528
542
  )
529
543
  ]
@@ -535,11 +549,11 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
535
549
  ]
536
550
  }
537
551
  ),
538
- /* @__PURE__ */ o(C, { className: "flex flex-col space-y-4", children: [
552
+ /* @__PURE__ */ s(g, { className: "flex flex-col space-y-4", children: [
539
553
  /* @__PURE__ */ t(
540
- Ye,
554
+ Ze,
541
555
  {
542
- control: R,
556
+ control: M,
543
557
  minRows: 5,
544
558
  variant: "outlined",
545
559
  placeholder: "Type your query here...",
@@ -547,12 +561,12 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
547
561
  name: "query",
548
562
  className: "mt-5",
549
563
  sx: { backgroundColor: "background.paper" },
550
- errors: ke,
564
+ errors: Oe,
551
565
  margin: "normal",
552
566
  dataTestId: "query-text-area",
553
567
  onChange: (e) => {
554
568
  var a, n;
555
- if (X("query", e.target.value), ((n = (a = e == null ? void 0 : e.target) == null ? void 0 : a.value) == null ? void 0 : n.length) > 0) {
569
+ if (te("query", e.target.value), ((n = (a = e == null ? void 0 : e.target) == null ? void 0 : a.value) == null ? void 0 : n.length) > 0) {
556
570
  L(!1);
557
571
  return;
558
572
  }
@@ -560,102 +574,102 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
560
574
  }
561
575
  }
562
576
  ),
563
- /* @__PURE__ */ o(C, { className: "flex flex-col md:flex-row md:items-center mb-4 gap-3", children: [
577
+ /* @__PURE__ */ s(g, { className: "flex flex-col md:flex-row md:items-center mb-4 gap-3", children: [
564
578
  /* @__PURE__ */ t(
565
- se,
579
+ ie,
566
580
  {
567
581
  id: "excelFileName",
568
582
  name: "excelFileName",
569
583
  className: "m-0 p-0",
570
- control: R,
584
+ control: M,
571
585
  placeholder: "Enter File Name",
572
586
  size: "small",
573
587
  fullWidth: !1,
574
588
  dataTestId: "enter-file-field"
575
589
  }
576
590
  ),
577
- /* @__PURE__ */ t(
578
- g,
591
+ (!O.isTecho || (o == null ? void 0 : o["view.manage.querymanagement.downloadExcel"])) && /* @__PURE__ */ t(
592
+ b,
579
593
  {
580
594
  variant: "contained",
581
595
  color: "info",
582
- onClick: Le,
596
+ onClick: Ae,
583
597
  "data-testid": "download-excel-button",
584
598
  children: l("Download Excel")
585
599
  }
586
600
  ),
587
- /* @__PURE__ */ o(C, { className: "m-1 flex", children: [
588
- /* @__PURE__ */ t(le, { onClick: () => Oe(), className: "m-1", children: /* @__PURE__ */ t(v, { variant: "body2", color: "info", children: l("Fetch Locked Queries") }) }),
589
- /* @__PURE__ */ t(v, { variant: "body2", className: "m-1", children: "|" }),
590
- /* @__PURE__ */ t(le, { onClick: qe, className: "m-1", children: /* @__PURE__ */ t(v, { variant: "body2", color: "info", children: l("Populate State Query") }) })
601
+ /* @__PURE__ */ s(g, { className: "m-1 flex", children: [
602
+ /* @__PURE__ */ t(ce, { onClick: () => Ie(), className: "m-1", children: /* @__PURE__ */ t(x, { variant: "body2", color: "info", children: l("Fetch Locked Queries") }) }),
603
+ /* @__PURE__ */ t(x, { variant: "body2", className: "m-1", children: "|" }),
604
+ /* @__PURE__ */ t(ce, { onClick: Fe, className: "m-1", children: /* @__PURE__ */ t(x, { variant: "body2", color: "info", children: l("Populate State Query") }) })
591
605
  ] }),
592
- /* @__PURE__ */ t(
593
- g,
606
+ (!O.isTecho || (o == null ? void 0 : o["view.manage.querymanagement.retrieve"])) && /* @__PURE__ */ t(
607
+ b,
594
608
  {
595
609
  variant: "contained",
596
610
  color: "success",
597
611
  onClick: async () => {
598
612
  const e = E("query");
599
- if (x(e), e != null && e.toLowerCase().includes("where")) {
613
+ if (w(e), e != null && e.toLowerCase().includes("where")) {
600
614
  await f(e);
601
615
  return;
602
616
  }
603
617
  S(1);
604
618
  },
605
619
  "data-testid": "retrieve-data-button",
606
- disabled: G,
620
+ disabled: ee,
607
621
  children: l("Retrieve Data")
608
622
  }
609
623
  ),
610
- /* @__PURE__ */ t(
611
- g,
624
+ (!O.isTecho || (o == null ? void 0 : o["view.manage.querymanagement.execute"])) && /* @__PURE__ */ t(
625
+ b,
612
626
  {
613
627
  variant: "contained",
614
628
  color: "secondary",
615
629
  onClick: async () => {
616
630
  const e = E("query");
617
- if (x(e), e != null && e.toLowerCase().includes("where")) {
618
- await ee(e);
631
+ if (w(e), e != null && e.toLowerCase().includes("where")) {
632
+ await ne(e);
619
633
  return;
620
634
  }
621
635
  S(2);
622
636
  },
623
637
  "data-testid": "execute-button",
624
- disabled: G,
638
+ disabled: ee,
625
639
  children: l("Execute")
626
640
  }
627
641
  )
628
642
  ] }),
629
- !!W && /* @__PURE__ */ o(v, { variant: "body2", children: [
643
+ !!G && /* @__PURE__ */ s(x, { variant: "body2", children: [
630
644
  l("Total rows fetched"),
631
645
  " :",
632
646
  " ",
633
- /* @__PURE__ */ o("strong", { children: [
647
+ /* @__PURE__ */ s("strong", { children: [
634
648
  " ",
635
- W
649
+ G
636
650
  ] }),
637
651
  " "
638
652
  ] }),
639
- !!A.length && /* @__PURE__ */ t(M, { className: "max-h-[80vh] overflow-x-auto mb-2", children: /* @__PURE__ */ t(
640
- B,
653
+ !!I.length && /* @__PURE__ */ t(K, { className: "max-h-[80vh] overflow-x-auto mb-2", children: /* @__PURE__ */ t(
654
+ P,
641
655
  {
642
656
  className: "min-w-[500px]",
643
- columns: ge,
644
- actions: ve,
645
- tableData: A,
646
- paginationConfig: Ze,
657
+ columns: ve,
658
+ actions: De,
659
+ tableData: I,
660
+ paginationConfig: ot,
647
661
  dataTestId: "query-output-table-customized",
648
- styleConfig: et
662
+ styleConfig: st
649
663
  }
650
664
  ) }),
651
- !!b && /* @__PURE__ */ t(
652
- je,
665
+ !!v && /* @__PURE__ */ t(
666
+ Ge,
653
667
  {
654
- description: b === 3 ? `Are you sure you want to kill process id ${$}` : "The query does not include where clause. Are you sure you want to proceed ?",
668
+ description: v === 3 ? `Are you sure you want to kill process id ${J}` : "The query does not include where clause. Are you sure you want to proceed ?",
655
669
  title: "CONFIRM ACTION",
656
- open: b,
670
+ open: v,
657
671
  handleClick: async () => {
658
- b === 1 && f(p), b === 2 && ee(p), b === 3 && Ie(), S(0);
672
+ v === 1 && f(p), v === 2 && ne(p), v === 3 && Re(), S(0);
659
673
  },
660
674
  handleClose: () => S(0),
661
675
  dataTestId: "modal"
@@ -666,6 +680,6 @@ const de = { pagination: !1 }, me = { tableStyle: { maxHeight: 180 } }, Ze = {
666
680
  ] });
667
681
  };
668
682
  export {
669
- Ct as default
683
+ Lt as default
670
684
  };
671
- //# sourceMappingURL=QueryManagement-DXA73N2j.js.map
685
+ //# sourceMappingURL=QueryManagement-BpIRH8hI.js.map