@argusoft/medplat-core 1.0.19 → 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.
- package/dist/{AccessRights-Bvd5Bm5K.js → AccessRights-CupmTG3T.js} +2 -2
- package/dist/{AccessRights-Bvd5Bm5K.js.map → AccessRights-CupmTG3T.js.map} +1 -1
- package/dist/{AddEditQueryBuilder-Bcjl5mXE.js → AddEditQueryBuilder-C8ZSkOF0.js} +60 -60
- package/dist/AddEditQueryBuilder-C8ZSkOF0.js.map +1 -0
- package/dist/{AddFeatures-CE5rBxEG.js → AddFeatures-CiZZZ0GL.js} +2 -2
- package/dist/{AddFeatures-CE5rBxEG.js.map → AddFeatures-CiZZZ0GL.js.map} +1 -1
- package/dist/{AddRoleDrawer-Bc655LQU.js → AddRoleDrawer-CQdzQZLb.js} +36 -36
- package/dist/AddRoleDrawer-CQdzQZLb.js.map +1 -0
- package/dist/{ConditionConfig-D2hOAa4n.js → ConditionConfig-C3rF2wXU.js} +2 -2
- package/dist/{ConditionConfig-D2hOAa4n.js.map → ConditionConfig-C3rF2wXU.js.map} +1 -1
- package/dist/{EventConfigurations-D8juDb29.js → EventConfigurations-BGffjVC7.js} +3 -3
- package/dist/{EventConfigurations-D8juDb29.js.map → EventConfigurations-BGffjVC7.js.map} +1 -1
- package/dist/{EventsExceptionModal-DsvngLi8.js → EventsExceptionModal-D4Bf1ilS.js} +2 -2
- package/dist/{EventsExceptionModal-DsvngLi8.js.map → EventsExceptionModal-D4Bf1ilS.js.map} +1 -1
- package/dist/EventsSkeleton-8iiETGcf.js +76 -0
- package/dist/EventsSkeleton-8iiETGcf.js.map +1 -0
- package/dist/{FeatureMenu-CLX8VNZ-.js → FeatureMenu-DUZL32RI.js} +3 -3
- package/dist/{FeatureMenu-CLX8VNZ-.js.map → FeatureMenu-DUZL32RI.js.map} +1 -1
- package/dist/Features-CObdzJp_.js +13 -0
- package/dist/Features-CObdzJp_.js.map +1 -0
- package/dist/{ManageDynamicFeature-i6ARKe36.js → ManageDynamicFeature-BhONvfC_.js} +2 -2
- package/dist/{ManageDynamicFeature-i6ARKe36.js.map → ManageDynamicFeature-BhONvfC_.js.map} +1 -1
- package/dist/{ManageEventConfiguration-CHugu2vQ.js → ManageEventConfiguration-BntUc_YI.js} +5 -5
- package/dist/{ManageEventConfiguration-CHugu2vQ.js.map → ManageEventConfiguration-BntUc_YI.js.map} +1 -1
- package/dist/{ManageNotification-BUAvg5Ge.js → ManageNotification-CSl02Wq7.js} +2 -2
- package/dist/{ManageNotification-BUAvg5Ge.js.map → ManageNotification-CSl02Wq7.js.map} +1 -1
- package/dist/{ManageRole-Cbs9dUhc.js → ManageRole-tdzAiCOE.js} +222 -229
- package/dist/ManageRole-tdzAiCOE.js.map +1 -0
- package/dist/{MobileTypeEventConfigModal-2w0WQ3WY.js → MobileTypeEventConfigModal-BNjZ8pnq.js} +2 -2
- package/dist/{MobileTypeEventConfigModal-2w0WQ3WY.js.map → MobileTypeEventConfigModal-BNjZ8pnq.js.map} +1 -1
- package/dist/{NotificationList-CUZSWp2J.js → NotificationList-D1U1LYnz.js} +140 -139
- package/dist/NotificationList-D1U1LYnz.js.map +1 -0
- package/dist/{OtherTypeEventConfigModal-D1p8M39y.js → OtherTypeEventConfigModal-DiVhWDpG.js} +2 -2
- package/dist/{OtherTypeEventConfigModal-D1p8M39y.js.map → OtherTypeEventConfigModal-DiVhWDpG.js.map} +1 -1
- package/dist/{QueryBuilder-DXexUIe8.js → QueryBuilder-DI0wCJbz.js} +85 -84
- package/dist/QueryBuilder-DI0wCJbz.js.map +1 -0
- package/dist/{RoleManagement-BThAL5LO.js → RoleManagement-Cg8-EiVr.js} +83 -82
- package/dist/RoleManagement-Cg8-EiVr.js.map +1 -0
- package/dist/{ShowFlywayQuery-BkyA6QaA.js → ShowFlywayQuery-tj42YQAS.js} +33 -33
- package/dist/ShowFlywayQuery-tj42YQAS.js.map +1 -0
- package/dist/{SubMenu-BGznOP2a.js → SubMenu-CM_4wNCR.js} +2 -2
- package/dist/{SubMenu-BGznOP2a.js.map → SubMenu-CM_4wNCR.js.map} +1 -1
- package/dist/{TypeConfiguration-D-3xNcyd.js → TypeConfiguration-CupQxH9Y.js} +28 -28
- package/dist/TypeConfiguration-CupQxH9Y.js.map +1 -0
- package/dist/{UserList-D7GL7jvO.js → UserList-BzHsbYel.js} +186 -185
- package/dist/UserList-BzHsbYel.js.map +1 -0
- package/dist/{WidgetList-B3Sm9weK.js → WidgetList-B7X8Awkg.js} +2 -2
- package/dist/{WidgetList-B3Sm9weK.js.map → WidgetList-B7X8Awkg.js.map} +1 -1
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/dist/AddEditQueryBuilder-Bcjl5mXE.js.map +0 -1
- package/dist/AddRoleDrawer-Bc655LQU.js.map +0 -1
- package/dist/EventsSkeleton-DCXwwPbb.js +0 -76
- package/dist/EventsSkeleton-DCXwwPbb.js.map +0 -1
- package/dist/Features-Cpf1PDx0.js +0 -13
- package/dist/Features-Cpf1PDx0.js.map +0 -1
- package/dist/ManageRole-Cbs9dUhc.js.map +0 -1
- package/dist/NotificationList-CUZSWp2J.js.map +0 -1
- package/dist/QueryBuilder-DXexUIe8.js.map +0 -1
- package/dist/RoleManagement-BThAL5LO.js.map +0 -1
- package/dist/ShowFlywayQuery-BkyA6QaA.js.map +0 -1
- package/dist/TypeConfiguration-D-3xNcyd.js.map +0 -1
- package/dist/UserList-D7GL7jvO.js.map +0 -1
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as c, useRef as D, useEffect as
|
|
3
|
-
import { useTranslateProvider as
|
|
2
|
+
import { useState as c, useRef as D, useEffect as T, useMemo as fe, useCallback as pe, Suspense as G, lazy as Y } from "react";
|
|
3
|
+
import { useTranslateProvider as ge } from "@/common/languageTranslator/TranslationContext";
|
|
4
4
|
import { api as M } from "@/common/interceptors/AxiosInterceptor";
|
|
5
|
-
import
|
|
6
|
-
import { getNotifications as
|
|
7
|
-
import
|
|
8
|
-
import { showToast as
|
|
9
|
-
import
|
|
10
|
-
import { debounce as
|
|
11
|
-
import { Grid as
|
|
12
|
-
import
|
|
13
|
-
import { useSelector as
|
|
14
|
-
import { getUseSkeleton as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { faPen as
|
|
18
|
-
import { FontAwesomeIcon as
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
import E from "@/common/config/implementationConfig";
|
|
6
|
+
import { getNotifications as H, getAllRoleList as he } from "@/common/services/GlobalApis";
|
|
7
|
+
import ye from "@/common/syncWithServer/SyncWithServerDialog";
|
|
8
|
+
import { showToast as I } from "@/common/toaster/toaster";
|
|
9
|
+
import be from "@/views/custom-components/CustomConfirmationModal";
|
|
10
|
+
import { debounce as xe, Card as Ne, Typography as J, Box as S, FormControlLabel as q, Checkbox as K, TextField as ve, Button as we } from "@mui/material";
|
|
11
|
+
import { Grid as A } from "@mui/system";
|
|
12
|
+
import v from "prop-types";
|
|
13
|
+
import { useSelector as Z } from "react-redux";
|
|
14
|
+
import { getUseSkeleton as ee } from "@/store/reducers/SkeletonReducer";
|
|
15
|
+
import Ce from "@/hooks/useTrackEvent";
|
|
16
|
+
import Te from "@/views/custom-components/CustomizedTable/CustomizedTableV2";
|
|
17
|
+
import { faPen as Ie, faBars as Se } from "@fortawesome/free-solid-svg-icons";
|
|
18
|
+
import { FontAwesomeIcon as X } from "@fortawesome/react-fontawesome";
|
|
19
|
+
import k from "@/common/services/util/GeneralUtil";
|
|
20
|
+
import { getAssignedFeatures as Ae } from "@/utils/feature";
|
|
21
|
+
const ke = ({ id: s, state: r }) => M.put(
|
|
22
|
+
E.api.useQueryParamStyle ? `notificationtype/toggleActive?id=${s}&is_active=${r === "INACTIVE" ? "true" : "false"}` : `notificationtype/${s}?is_active=${r === "INACTIVE" ? "true" : "false"}`
|
|
23
|
+
), Ze = (s) => M.post(E.api.useQueryParamStyle ? "notificationtype/create" : "notificationtype", s), et = (s) => M.post(E.api.useQueryParamStyle ? "notificationtype/update" : "notificationtype", s), te = ({ children: s, isLoading: r }) => !Z(ee) || !r ? s : /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: [
|
|
23
24
|
/* @__PURE__ */ o("div", { className: "flex space-between justify-between m-[0px]", children: [
|
|
24
25
|
/* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]" }),
|
|
25
26
|
/* @__PURE__ */ o("div", { className: "flex", children: [
|
|
@@ -29,11 +30,11 @@ const Ae = ({ id: s, state: r }) => M.put(
|
|
|
29
30
|
] }),
|
|
30
31
|
/* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-full h-100" })
|
|
31
32
|
] });
|
|
32
|
-
|
|
33
|
-
children:
|
|
34
|
-
isLoading:
|
|
33
|
+
te.propTypes = {
|
|
34
|
+
children: v.any,
|
|
35
|
+
isLoading: v.any
|
|
35
36
|
};
|
|
36
|
-
const
|
|
37
|
+
const Me = ({ children: s, isLoading: r }) => !Z(ee) || !r ? s : /* @__PURE__ */ o("div", { className: "flex flex-col w-full md:w-[650px] bg-white ", children: [
|
|
37
38
|
/* @__PURE__ */ e("div", { className: "px-2 py-2 flex items-center ", children: /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-60 h-10" }) }),
|
|
38
39
|
/* @__PURE__ */ e("hr", {}),
|
|
39
40
|
/* @__PURE__ */ o("div", { className: "flex flex-col w-full space-y-2 p-2", children: [
|
|
@@ -64,13 +65,13 @@ const ke = ({ children: s, isLoading: r }) => !Y(Z) || !r ? s : /* @__PURE__ */
|
|
|
64
65
|
/* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-20 h-10" })
|
|
65
66
|
] })
|
|
66
67
|
] });
|
|
67
|
-
|
|
68
|
-
children:
|
|
69
|
-
isLoading:
|
|
68
|
+
Me.propTypes = {
|
|
69
|
+
children: v.any,
|
|
70
|
+
isLoading: v.any
|
|
70
71
|
};
|
|
71
|
-
const
|
|
72
|
-
function
|
|
73
|
-
const s =
|
|
72
|
+
const Ee = Y(() => import("./ManageNotification-CSl02Wq7.js")), Oe = Y(() => import("./NotificationFlywayQuery-BY8Zzml_.js"));
|
|
73
|
+
function Le() {
|
|
74
|
+
const s = Ce(), [r, x] = c(""), [w, O] = c([]), [L, g] = c([]), [h, u] = c(""), [n, N] = c({}), [C, ae] = c([]), { translate: m } = ge(), [_, B] = c(null), [F, p] = c(!1), [d, ie] = c({}), oe = [
|
|
74
75
|
{
|
|
75
76
|
field: "notificationName",
|
|
76
77
|
label: "Name",
|
|
@@ -89,7 +90,7 @@ function Oe() {
|
|
|
89
90
|
field: "notificationType",
|
|
90
91
|
label: "Type",
|
|
91
92
|
align: "left",
|
|
92
|
-
render: (t) => /* @__PURE__ */ e(
|
|
93
|
+
render: (t) => /* @__PURE__ */ e(J, { mt: 0.5, children: t.notificationType === "WEB" ? "WEB" : "MOBILE" })
|
|
93
94
|
},
|
|
94
95
|
{
|
|
95
96
|
field: "state",
|
|
@@ -99,83 +100,83 @@ function Oe() {
|
|
|
99
100
|
align: "left"
|
|
100
101
|
},
|
|
101
102
|
{ field: "Actions", label: "Actions", align: "left" }
|
|
102
|
-
], [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}, [
|
|
106
|
-
|
|
107
|
-
}, [
|
|
108
|
-
const
|
|
103
|
+
], [se, ne] = c(oe), [y, le] = c(!0), [b, ce] = c(!0), V = D(y), P = D(b);
|
|
104
|
+
T(() => {
|
|
105
|
+
V.current = y;
|
|
106
|
+
}, [y]), T(() => {
|
|
107
|
+
P.current = b;
|
|
108
|
+
}, [b]);
|
|
109
|
+
const re = async () => {
|
|
109
110
|
try {
|
|
110
|
-
p((i) => !i), await
|
|
111
|
-
const { data: t } = await
|
|
112
|
-
|
|
111
|
+
p((i) => !i), await ke({ id: n.id, state: n.state }), u("");
|
|
112
|
+
const { data: t } = await H();
|
|
113
|
+
O(t), g(t), I({
|
|
113
114
|
type: "success",
|
|
114
115
|
message: `State succesfully changed from ${(n == null ? void 0 : n.state) === "INACTIVE" ? "inactive" : "active"} to ${(n == null ? void 0 : n.state) === "INACTIVE" ? "active" : "inactive"}`
|
|
115
116
|
}), p((i) => !i);
|
|
116
117
|
} catch (t) {
|
|
117
|
-
|
|
118
|
+
I({
|
|
118
119
|
type: "error",
|
|
119
120
|
message: `Error ${t}`
|
|
120
121
|
}), p((i) => !i);
|
|
121
122
|
}
|
|
122
|
-
},
|
|
123
|
+
}, de = fe(() => (t) => {
|
|
123
124
|
const i = [];
|
|
124
|
-
(!
|
|
125
|
+
(!k.isTecho || d != null && d["update.manage.notificationlist"]) && i.push({
|
|
125
126
|
label: "",
|
|
126
127
|
icon: /* @__PURE__ */ e(
|
|
127
|
-
|
|
128
|
+
X,
|
|
128
129
|
{
|
|
129
|
-
icon:
|
|
130
|
+
icon: Ie,
|
|
130
131
|
"data-testid": "notificationlist-button-edit"
|
|
131
132
|
}
|
|
132
133
|
),
|
|
133
134
|
onClick: (a) => {
|
|
134
|
-
u(1),
|
|
135
|
+
u(1), N(a);
|
|
135
136
|
}
|
|
136
137
|
});
|
|
137
138
|
const l = [];
|
|
138
|
-
return (!
|
|
139
|
-
label:
|
|
139
|
+
return (!k.isTecho || d != null && d["update.manage.notificationlist"]) && (l.push({
|
|
140
|
+
label: m(
|
|
140
141
|
t.state === "ACTIVE" ? "Mark as Inactive" : "Mark as Active"
|
|
141
142
|
),
|
|
142
143
|
onClick: (a) => {
|
|
143
|
-
|
|
144
|
+
N(a), u(2);
|
|
144
145
|
}
|
|
145
146
|
}), l.push({
|
|
146
|
-
label:
|
|
147
|
+
label: m("Sync With Server"),
|
|
147
148
|
onClick: (a) => {
|
|
148
149
|
if (!a.uuid) {
|
|
149
|
-
|
|
150
|
+
I({
|
|
150
151
|
type: "info",
|
|
151
152
|
message: "No configuration found. Please open the respective feature item and save it."
|
|
152
153
|
});
|
|
153
154
|
return;
|
|
154
155
|
}
|
|
155
|
-
u(4),
|
|
156
|
+
u(4), B(a == null ? void 0 : a.uuid), N(a);
|
|
156
157
|
}
|
|
157
158
|
}), l.push({
|
|
158
|
-
label:
|
|
159
|
+
label: m("Show Flyway Query"),
|
|
159
160
|
onClick: (a) => {
|
|
160
|
-
u(3),
|
|
161
|
+
u(3), N(a);
|
|
161
162
|
}
|
|
162
163
|
})), l.length > 0 && i.push({
|
|
163
164
|
label: "",
|
|
164
165
|
icon: /* @__PURE__ */ e(
|
|
165
|
-
|
|
166
|
+
X,
|
|
166
167
|
{
|
|
167
|
-
icon:
|
|
168
|
+
icon: Se,
|
|
168
169
|
"data-testid": "notificationlist-button-menu"
|
|
169
170
|
}
|
|
170
171
|
),
|
|
171
172
|
menuItems: l
|
|
172
173
|
}), i;
|
|
173
|
-
}, [d,
|
|
174
|
-
|
|
175
|
-
const i =
|
|
174
|
+
}, [d, m]), $ = pe(
|
|
175
|
+
xe((t) => {
|
|
176
|
+
const i = w.filter(
|
|
176
177
|
(l) => {
|
|
177
178
|
var a;
|
|
178
|
-
return ((a = l.notificationName) == null ? void 0 : a.toLowerCase().includes(t)) && l.state === (
|
|
179
|
+
return ((a = l.notificationName) == null ? void 0 : a.toLowerCase().includes(t)) && l.state === (V.current ? "ACTIVE" : "INACTIVE") && l.notificationType === (P.current ? "MO" : "WEB");
|
|
179
180
|
}
|
|
180
181
|
);
|
|
181
182
|
s("search_tracking", {
|
|
@@ -184,120 +185,120 @@ function Oe() {
|
|
|
184
185
|
search_type: "Page Search"
|
|
185
186
|
}), g(i);
|
|
186
187
|
}, 500),
|
|
187
|
-
[
|
|
188
|
-
),
|
|
188
|
+
[w, s]
|
|
189
|
+
), ue = (t) => {
|
|
189
190
|
const i = t.target.value.toLowerCase();
|
|
190
|
-
|
|
191
|
-
},
|
|
191
|
+
x(i), $(i);
|
|
192
|
+
}, me = (t) => {
|
|
192
193
|
const i = t.sortOrder === "asc" ? "desc" : "asc";
|
|
193
|
-
|
|
194
|
-
(a) => a.map((
|
|
194
|
+
ne(
|
|
195
|
+
(a) => a.map((f) => f.field === t.field ? { ...f, sortOrder: i } : f)
|
|
195
196
|
);
|
|
196
|
-
const l = [...
|
|
197
|
+
const l = [...L].sort((a, f) => {
|
|
197
198
|
var U, W;
|
|
198
|
-
const
|
|
199
|
-
return
|
|
199
|
+
const z = (U = a[t.field]) == null ? void 0 : U.toString().toLowerCase(), Q = (W = f[t.field]) == null ? void 0 : W.toString().toLowerCase();
|
|
200
|
+
return z < Q ? i === "asc" ? -1 : 1 : z > Q ? i === "asc" ? 1 : -1 : 0;
|
|
200
201
|
});
|
|
201
202
|
g(l);
|
|
202
|
-
},
|
|
203
|
+
}, R = async () => {
|
|
203
204
|
try {
|
|
204
205
|
p((a) => !a);
|
|
205
|
-
const { data: t } = await
|
|
206
|
-
|
|
206
|
+
const { data: t } = await H();
|
|
207
|
+
O(t);
|
|
207
208
|
const i = t.filter((a) => a.notificationType === "MO" && a.state === "ACTIVE");
|
|
208
|
-
if (g(i), !
|
|
209
|
+
if (g(i), !C.length) {
|
|
209
210
|
const { data: a } = await he();
|
|
210
|
-
|
|
211
|
+
ae(a);
|
|
211
212
|
}
|
|
212
|
-
const { data: l } = await
|
|
213
|
-
|
|
213
|
+
const { data: l } = await Ae("techo.manage.notification");
|
|
214
|
+
ie(JSON.parse(l)), p((a) => !a), x("");
|
|
214
215
|
} catch (t) {
|
|
215
216
|
console.error("error", t), p((i) => !i);
|
|
216
217
|
}
|
|
217
218
|
};
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
T(() => {
|
|
220
|
+
R();
|
|
220
221
|
}, []);
|
|
221
|
-
const
|
|
222
|
-
const l = i === "status" ? t :
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
(
|
|
222
|
+
const j = (t, i) => {
|
|
223
|
+
const l = i === "status" ? t : y, a = i === "notificationType" ? t : b;
|
|
224
|
+
le(l), ce(a), r ? $(r) : g(
|
|
225
|
+
w.filter(
|
|
226
|
+
(f) => f.state === (l ? "ACTIVE" : "INACTIVE") && f.notificationType === (a ? "MO" : "WEB")
|
|
226
227
|
)
|
|
227
228
|
);
|
|
228
229
|
};
|
|
229
230
|
return /* @__PURE__ */ o(
|
|
230
|
-
|
|
231
|
+
Ne,
|
|
231
232
|
{
|
|
232
233
|
variant: "elevation",
|
|
233
234
|
container: !0,
|
|
234
235
|
className: "mt-6 p-3 flex flex-col space-y-3 shadow-xl",
|
|
235
236
|
children: [
|
|
236
|
-
/* @__PURE__ */ e(
|
|
237
|
-
|
|
237
|
+
/* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
|
|
238
|
+
Ee,
|
|
238
239
|
{
|
|
239
|
-
open:
|
|
240
|
+
open: h === 1 || h === 5,
|
|
240
241
|
handleClose: () => u(""),
|
|
241
|
-
data:
|
|
242
|
-
roleData:
|
|
243
|
-
setNotifications:
|
|
242
|
+
data: h === 1 ? n : null,
|
|
243
|
+
roleData: C,
|
|
244
|
+
setNotifications: R,
|
|
244
245
|
"data-testid": "notification-list-managenotification-dialog"
|
|
245
246
|
}
|
|
246
247
|
) }),
|
|
247
|
-
/* @__PURE__ */ e(
|
|
248
|
-
|
|
248
|
+
/* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
|
|
249
|
+
Oe,
|
|
249
250
|
{
|
|
250
|
-
open:
|
|
251
|
+
open: h === 3,
|
|
251
252
|
handleClose: () => u(""),
|
|
252
253
|
data: n,
|
|
253
|
-
roleData:
|
|
254
|
+
roleData: C
|
|
254
255
|
}
|
|
255
256
|
) }),
|
|
256
257
|
/* @__PURE__ */ e(
|
|
257
|
-
|
|
258
|
+
be,
|
|
258
259
|
{
|
|
259
260
|
title: "CONFIRM ACTION",
|
|
260
|
-
open:
|
|
261
|
+
open: h === 2,
|
|
261
262
|
description: `Are you sure you want to change the state ${(n == null ? void 0 : n.state) === "INACTIVE" ? "inactive" : "active"} to ${(n == null ? void 0 : n.state) === "INACTIVE" ? "active" : "inactive"}`,
|
|
262
|
-
handleClick:
|
|
263
|
+
handleClick: re,
|
|
263
264
|
handleClose: () => u(""),
|
|
264
265
|
dataTestId: "notification-list-customconfirmationmodal-dialog"
|
|
265
266
|
}
|
|
266
267
|
),
|
|
267
268
|
/* @__PURE__ */ e(
|
|
268
|
-
|
|
269
|
+
ye,
|
|
269
270
|
{
|
|
270
|
-
isOpen: !!
|
|
271
|
-
handleClose: () =>
|
|
272
|
-
featureUUID:
|
|
271
|
+
isOpen: !!_,
|
|
272
|
+
handleClose: () => B(() => null),
|
|
273
|
+
featureUUID: _,
|
|
273
274
|
dataTestId: "notification-list-syncwithserverdialog-dialog"
|
|
274
275
|
}
|
|
275
276
|
),
|
|
276
|
-
/* @__PURE__ */ o(
|
|
277
|
-
/* @__PURE__ */ o(
|
|
278
|
-
/* @__PURE__ */ e(
|
|
279
|
-
|
|
277
|
+
/* @__PURE__ */ o(te, { isLoading: F, children: [
|
|
278
|
+
/* @__PURE__ */ o(A, { container: !0, className: "flex justify-between", children: [
|
|
279
|
+
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(
|
|
280
|
+
J,
|
|
280
281
|
{
|
|
281
282
|
variant: "body2",
|
|
282
283
|
className: "font-bold font-sans text-lg text-customBlue uppercase",
|
|
283
284
|
"data-testid": "notification-list-typography-title",
|
|
284
|
-
children:
|
|
285
|
+
children: m("Notification Configuration")
|
|
285
286
|
}
|
|
286
287
|
) }),
|
|
287
|
-
/* @__PURE__ */ o(
|
|
288
|
-
/* @__PURE__ */ o(
|
|
288
|
+
/* @__PURE__ */ o(S, { className: "flex flex-col sm:flex-row sm:items-center gap-3 w-full sm:w-auto", children: [
|
|
289
|
+
/* @__PURE__ */ o(S, { className: "flex items-center gap-3", children: [
|
|
289
290
|
/* @__PURE__ */ e(
|
|
290
|
-
|
|
291
|
+
q,
|
|
291
292
|
{
|
|
292
293
|
control: /* @__PURE__ */ e(
|
|
293
|
-
|
|
294
|
+
K,
|
|
294
295
|
{
|
|
295
|
-
checked:
|
|
296
|
-
onChange: (t) =>
|
|
296
|
+
checked: y,
|
|
297
|
+
onChange: (t) => j(t.target.checked, "status"),
|
|
297
298
|
"data-testid": "notifications-checkbox-include-active"
|
|
298
299
|
}
|
|
299
300
|
),
|
|
300
|
-
label:
|
|
301
|
+
label: m("Active"),
|
|
301
302
|
slotProps: {
|
|
302
303
|
typography: {
|
|
303
304
|
className: "custom-label"
|
|
@@ -306,17 +307,17 @@ function Oe() {
|
|
|
306
307
|
}
|
|
307
308
|
),
|
|
308
309
|
/* @__PURE__ */ e(
|
|
309
|
-
|
|
310
|
+
q,
|
|
310
311
|
{
|
|
311
312
|
control: /* @__PURE__ */ e(
|
|
312
|
-
|
|
313
|
+
K,
|
|
313
314
|
{
|
|
314
|
-
checked:
|
|
315
|
-
onChange: (t) =>
|
|
315
|
+
checked: b,
|
|
316
|
+
onChange: (t) => j(t.target.checked, "notificationType"),
|
|
316
317
|
"data-testid": "notifications-checkbox-include-mobile"
|
|
317
318
|
}
|
|
318
319
|
),
|
|
319
|
-
label:
|
|
320
|
+
label: m("Mobile"),
|
|
320
321
|
slotProps: {
|
|
321
322
|
typography: {
|
|
322
323
|
className: "custom-label"
|
|
@@ -325,14 +326,14 @@ function Oe() {
|
|
|
325
326
|
}
|
|
326
327
|
)
|
|
327
328
|
] }),
|
|
328
|
-
/* @__PURE__ */ o(
|
|
329
|
+
/* @__PURE__ */ o(S, { className: "flex items-center gap-3 w-full sm:w-auto", children: [
|
|
329
330
|
/* @__PURE__ */ e(
|
|
330
|
-
|
|
331
|
+
ve,
|
|
331
332
|
{
|
|
332
333
|
id: "searchQuery",
|
|
333
334
|
placeholder: "Search Text",
|
|
334
335
|
size: "small",
|
|
335
|
-
onChange:
|
|
336
|
+
onChange: ue,
|
|
336
337
|
className: "m-0 p-0 bg-white",
|
|
337
338
|
value: r,
|
|
338
339
|
"data-testid": "notification-list-textfield-search",
|
|
@@ -345,8 +346,8 @@ function Oe() {
|
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
348
|
),
|
|
348
|
-
(!
|
|
349
|
-
|
|
349
|
+
(!k.isTecho || (d == null ? void 0 : d["create.manage.notificationlist"])) && /* @__PURE__ */ e(
|
|
350
|
+
we,
|
|
350
351
|
{
|
|
351
352
|
size: "small",
|
|
352
353
|
variant: "contained",
|
|
@@ -359,18 +360,18 @@ function Oe() {
|
|
|
359
360
|
},
|
|
360
361
|
"data-testid": "notification-list-button-add",
|
|
361
362
|
sx: { whiteSpace: "nowrap" },
|
|
362
|
-
children:
|
|
363
|
+
children: m("Add")
|
|
363
364
|
}
|
|
364
365
|
)
|
|
365
366
|
] })
|
|
366
367
|
] })
|
|
367
368
|
] }),
|
|
368
|
-
/* @__PURE__ */ e(
|
|
369
|
-
|
|
369
|
+
/* @__PURE__ */ e(A, { size: { xs: 12 }, children: /* @__PURE__ */ e(
|
|
370
|
+
Te,
|
|
370
371
|
{
|
|
371
|
-
columns:
|
|
372
|
-
actions:
|
|
373
|
-
tableData:
|
|
372
|
+
columns: se,
|
|
373
|
+
actions: de,
|
|
374
|
+
tableData: L,
|
|
374
375
|
paginationConfig: {
|
|
375
376
|
pagination: !1
|
|
376
377
|
},
|
|
@@ -379,8 +380,8 @@ function Oe() {
|
|
|
379
380
|
maxHeight: 40
|
|
380
381
|
}
|
|
381
382
|
},
|
|
382
|
-
handleSort:
|
|
383
|
-
isLoading:
|
|
383
|
+
handleSort: me,
|
|
384
|
+
isLoading: F,
|
|
384
385
|
dataTestId: "notification-list-customizedtable"
|
|
385
386
|
}
|
|
386
387
|
) })
|
|
@@ -389,14 +390,14 @@ function Oe() {
|
|
|
389
390
|
}
|
|
390
391
|
);
|
|
391
392
|
}
|
|
392
|
-
const
|
|
393
|
+
const tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
393
394
|
__proto__: null,
|
|
394
|
-
default:
|
|
395
|
+
default: Le
|
|
395
396
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
396
397
|
export {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
Me as M,
|
|
399
|
+
tt as N,
|
|
400
|
+
Ze as c,
|
|
401
|
+
et as u
|
|
401
402
|
};
|
|
402
|
-
//# sourceMappingURL=NotificationList-
|
|
403
|
+
//# sourceMappingURL=NotificationList-D1U1LYnz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationList-D1U1LYnz.js","sources":["../src/services/Notifications.js","../src/views/Notifications/Skeletons/NotificationsSkeletons.jsx","../src/views/Notifications/NotificationList.jsx"],"sourcesContent":["import { api } from \"@/common/interceptors/AxiosInterceptor\";\nimport implementationConfig from \"@/common/config/implementationConfig\";\nexport const toggleActiveState = ({ id, state }) =>\n api.put(\n implementationConfig.api.useQueryParamStyle ? `notificationtype/toggleActive?id=${id}&is_active=${state === \"INACTIVE\" ? \"true\" : \"false\"}` : `notificationtype/${id}?is_active=${state === \"INACTIVE\" ? \"true\" : \"false\"}`\n );\n\nexport const createNotification = (params) =>\n api.post(implementationConfig.api.useQueryParamStyle ? \"notificationtype/create\" : \"notificationtype\", params);\n\nexport const updateNotification = (params) =>\n api.post(implementationConfig.api.useQueryParamStyle ? \"notificationtype/update\" : \"notificationtype\", params);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport { useSelector } from \"react-redux\";\nimport { getUseSkeleton } from \"@/store/reducers/SkeletonReducer\";\n\nexport const NotificationListSkeleton = ({ children, isLoading }) => {\n const useSkeleton = useSelector(getUseSkeleton);\n if (!useSkeleton) {\n return children;\n }\n if (!isLoading) {\n return children;\n }\n\n return (\n <div className=\"flex flex-col gap-2\">\n <div className=\"flex space-between justify-between m-[0px]\">\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]\"></div>\n <div className=\"flex\">\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-[150px] h-[40px] mx-[5px]\"></div>\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-[100px] h-[40px]\"></div>\n </div>\n </div>\n\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-full h-100\"></div>\n </div>\n );\n};\n\nNotificationListSkeleton.propTypes = {\n children: PropTypes.any,\n isLoading: PropTypes.any,\n};\n\nexport const ManageNotificationSkeleton = ({ children, isLoading }) => {\n const useSkeleton = useSelector(getUseSkeleton);\n if (!useSkeleton) {\n return children;\n }\n if (!isLoading) {\n return children;\n }\n\n return (\n <div className=\"flex flex-col w-full md:w-[650px] bg-white \">\n <div className=\"px-2 py-2 flex items-center \">\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-60 h-10\"></div>\n </div>\n <hr></hr>\n <div className=\"flex flex-col w-full space-y-2 p-2\">\n <div className=\"flex flex-col space-y-2\">\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-40 h-5 mr-[100px]\"></button>\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-full h-10 \"></button>\n </div>\n <div className=\"flex flex-col space-y-2 \">\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-40 h-5 mr-[100px]\"></button>\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-full h-10 \"></button>\n </div>\n <div className=\"flex flex-col space-y-2 \">\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-40 h-5 mr-[100px]\"></button>\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-full h-10 \"></button>\n </div>\n <div className=\"flex flex-col space-y-2 \">\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-40 h-5 mr-[100px]\"></button>\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-full h-10 \"></button>\n </div>\n <div className=\"flex flex-col space-y-2 \">\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-40 h-5 mr-[100px]\"></button>\n <button className=\"bg-gray-300 animate-pulse rounded-sm w-full h-10 \"></button>\n </div>\n </div>\n <hr></hr>\n <div className=\"px-2 py-2 w-full flex space-x-3 items-center justify-end \">\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-20 h-10\"></div>\n <div className=\"bg-gray-300 animate-pulse rounded-sm w-20 h-10\"></div>\n </div>\n </div>\n );\n};\n\nManageNotificationSkeleton.propTypes = {\n children: PropTypes.any,\n isLoading: PropTypes.any,\n};\n","import {\n lazy,\n default as React,\n Suspense,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { useTranslateProvider } from \"@/common/languageTranslator/TranslationContext\";\nimport { toggleActiveState } from \"../../services/Notifications\";\nimport { getAllRoleList, getNotifications } from \"@/common/services/GlobalApis\";\nimport SyncWithServerDialog from \"@/common/syncWithServer/SyncWithServerDialog\";\nimport { showToast } from \"@/common/toaster/toaster\";\nimport CustomConfirmationModal from \"@/views/custom-components/CustomConfirmationModal\";\nconst ManageNotification = lazy(() => import(\"./ManageNotification\"));\nconst NotificationFlywayQuery = lazy(() => import(\"./NotificationFlywayQuery\"));\nimport { Box, Button, Card, Checkbox, debounce, FormControlLabel, TextField, Typography } from \"@mui/material\";\nimport { Grid } from \"@mui/system\";\nimport { NotificationListSkeleton } from \"./Skeletons/NotificationsSkeletons\";\nimport useTrackEvent from \"@/hooks/useTrackEvent\";\nimport CustomizedTable from \"@/views/custom-components/CustomizedTable/CustomizedTableV2\";\nimport { faBars, faPen } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport GeneralUtil from \"@/common/services/util/GeneralUtil\";\nimport { getAssignedFeatures } from \"@/utils/feature\";\n\n/**\n *\n * @module NotificationList\n * @returns {JSX.element}\n *\n */\nexport default function NotificationList() {\n const trackEvent = useTrackEvent();\n const [search, setSearch] = useState(\"\");\n const [notifications, setNotifications] = useState([]);\n const [filteredNotifications, setFilteredNotifications] = useState([]);\n const [openModal, setOpenModal] = useState(\"\");\n const [rowData, setRowData] = useState({});\n const [roleData, setRoleData] = useState([]);\n const { translate } = useTranslateProvider();\n const [featureUuid, setFeatureUuid] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [rights, setRights] = useState({});\n const defaultColumns = [\n {\n field: \"notificationName\",\n label: \"Name\",\n sortable: true,\n sortOrder: \"asc\",\n align: \"left\",\n },\n {\n field: \"code\",\n label: \"Code\",\n sortable: true,\n sortOrder: \"asc\",\n align: \"left\",\n },\n {\n field: \"notificationType\",\n label: \"Type\",\n align: \"left\",\n render: (row) => {\n return <Typography mt={0.5}>{row.notificationType === 'WEB' ? 'WEB' : 'MOBILE'}</Typography>;\n }\n },\n {\n field: \"state\",\n label: \"State\",\n sortable: true,\n sortOrder: \"asc\",\n align: \"left\",\n },\n { field: \"Actions\", label: \"Actions\", align: \"left\" },\n ];\n const [columns, setColumns] = useState(defaultColumns);\n const [isActive, setisActive] = useState(true);\n const [isMobile, setisMobile] = useState(true);\n\n const isActiveRef = useRef(isActive);\n const isMobileRef = useRef(isMobile);\n\n useEffect(() => {\n isActiveRef.current = isActive;\n }, [isActive]);\n\n useEffect(() => {\n isMobileRef.current = isMobile;\n }, [isMobile]);\n\n /**\n * Toggles the active/inactive status of a notification.\n * @async\n * @function toggleActiveStatus\n * @returns {Promise<void>} A promise that resolves when the active status has been toggled and notifications reloaded.\n */\n const toggleActiveStatus = async () => {\n try {\n setIsLoading((cur) => !cur);\n await toggleActiveState({ id: rowData.id, state: rowData.state });\n setOpenModal(\"\");\n const { data } = await getNotifications();\n setNotifications(data);\n setFilteredNotifications(data);\n showToast({\n type: \"success\",\n message: `State succesfully changed from ${rowData?.state === \"INACTIVE\" ? \"inactive\" : \"active\"} to ${rowData?.state === \"INACTIVE\" ? \"active\" : \"inactive\"}`,\n });\n setIsLoading((cur) => !cur);\n } catch (error) {\n showToast({\n type: \"error\",\n message: `Error ${error}`,\n });\n setIsLoading((cur) => !cur);\n }\n };\n\n const actions = useMemo(() => (row) => {\n const list = [];\n\n if (!GeneralUtil.isTecho || rights?.['update.manage.notificationlist']) {\n list.push({\n label: \"\",\n icon: (\n <FontAwesomeIcon\n icon={faPen}\n data-testid=\"notificationlist-button-edit\"\n />\n ),\n onClick: (e) => {\n setOpenModal(1);\n setRowData(e);\n },\n });\n }\n\n const currentMenuItems = [];\n if (!GeneralUtil.isTecho || rights?.['update.manage.notificationlist']) {\n currentMenuItems.push({\n label: translate(\n row.state === \"ACTIVE\" ? \"Mark as Inactive\" : \"Mark as Active\"\n ),\n onClick: (e) => {\n setRowData(e);\n setOpenModal(2);\n },\n });\n currentMenuItems.push({\n label: translate(\"Sync With Server\"),\n onClick: (e) => {\n if (!e.uuid) {\n showToast({\n type: \"info\",\n message: `No configuration found. Please open the respective feature item and save it.`,\n });\n return;\n }\n setOpenModal(4);\n setFeatureUuid(e?.uuid);\n setRowData(e);\n },\n });\n currentMenuItems.push({\n label: translate(\"Show Flyway Query\"),\n onClick: (e) => {\n setOpenModal(3);\n setRowData(e);\n },\n });\n }\n\n if (currentMenuItems.length > 0) {\n list.push({\n label: \"\",\n icon: (\n <FontAwesomeIcon\n icon={faBars}\n data-testid=\"notificationlist-button-menu\"\n />\n ),\n menuItems: currentMenuItems,\n });\n }\n\n return list;\n }, [rights, translate]);\n\n const debouncedFilter = useCallback(\n debounce((searchValue) => {\n const filteredData = notifications.filter(d =>\n d.notificationName?.toLowerCase().includes(searchValue) &&\n d.state === (isActiveRef.current ? 'ACTIVE' : 'INACTIVE') &&\n d.notificationType === (isMobileRef.current ? 'MO' : 'WEB')\n );\n trackEvent(\"search_tracking\", {\n searchTerm: searchValue,\n results_count: filteredData.length,\n search_type: \"Page Search\",\n });\n setFilteredNotifications(filteredData);\n }, 500),\n [notifications, trackEvent]\n );\n\n /**\n * Handles the search input to filter notifications by name.\n * @function handleSearch\n * @param {Object} e - The event object from the input field.\n * @param {string} e.target.value - The current value in the search input field.\n */\n const handleSearch = (e) => {\n const searchValue = e.target.value.toLowerCase();\n setSearch(searchValue);\n debouncedFilter(searchValue);\n };\n\n /**\n * Handles sorting of the notification list based on the specified column.\n * @function handleSort\n */\n const handleSort = (column) => {\n const order = column.sortOrder === \"asc\" ? \"desc\" : \"asc\";\n setColumns((prev) =>\n prev.map((col) => {\n if (col.field === column.field) {\n return { ...col, sortOrder: order };\n }\n return col;\n })\n );\n\n const sortedData = [...filteredNotifications].sort((a, b) => {\n const valA = a[column.field]?.toString().toLowerCase();\n const valB = b[column.field]?.toString().toLowerCase();\n\n if (valA < valB) {\n return order === \"asc\" ? -1 : 1;\n }\n if (valA > valB) {\n return order === \"asc\" ? 1 : -1;\n }\n return 0;\n });\n\n setFilteredNotifications(sortedData);\n };\n\n /**\n * Loads initial data for notifications and roles when the component is mounted or when `openModal` changes.\n * @function useEffect\n * @param {boolean} openModal - The state that controls whether a modal is open. Triggers the hook to reload data when it changes.\n */\n\n const loadInitialData = async () => {\n try {\n setIsLoading((cur) => !cur);\n const { data } = await getNotifications();\n setNotifications(data);\n const filteredData = data.filter(d => d.notificationType === 'MO' && d.state === 'ACTIVE');\n setFilteredNotifications(filteredData);\n if (!roleData.length) {\n const { data: roleData } = await getAllRoleList();\n setRoleData(roleData);\n }\n const { data: assignedFeatures } = await getAssignedFeatures(\"techo.manage.notification\");\n setRights(JSON.parse(assignedFeatures));\n setIsLoading((cur) => !cur);\n setSearch('');\n } catch (error) {\n console.error(\"error\", error);\n setIsLoading((cur) => !cur);\n }\n };\n\n useEffect(() => {\n loadInitialData();\n }, []);\n\n const handleFilter = (value, filterType) => {\n const nextIsActive =\n filterType === 'status' ? value : isActive;\n\n const nextIsMobile =\n filterType === 'notificationType' ? value : isMobile;\n\n setisActive(nextIsActive);\n setisMobile(nextIsMobile);\n\n if (search) {\n debouncedFilter(search);\n } else {\n setFilteredNotifications(\n notifications.filter(d =>\n d.state === (nextIsActive ? 'ACTIVE' : 'INACTIVE') &&\n d.notificationType === (nextIsMobile ? 'MO' : 'WEB')\n )\n );\n }\n };\n\n return (\n <Card\n variant=\"elevation\"\n container\n className=\"mt-6 p-3 flex flex-col space-y-3 shadow-xl\"\n >\n <Suspense>\n <ManageNotification\n open={openModal === 1 || openModal === 5}\n handleClose={() => setOpenModal(\"\")}\n data={openModal === 1 ? rowData : null}\n roleData={roleData}\n setNotifications={loadInitialData}\n data-testid=\"notification-list-managenotification-dialog\"\n />\n </Suspense>\n <Suspense>\n <NotificationFlywayQuery\n open={openModal === 3}\n handleClose={() => setOpenModal(\"\")}\n data={rowData}\n roleData={roleData}\n />\n </Suspense>\n <CustomConfirmationModal\n title={\"CONFIRM ACTION\"}\n open={openModal === 2}\n description={`Are you sure you want to change the state ${rowData?.state === \"INACTIVE\" ? \"inactive\" : \"active\"} to ${rowData?.state === \"INACTIVE\" ? \"active\" : \"inactive\"}`}\n handleClick={toggleActiveStatus}\n handleClose={() => setOpenModal(\"\")}\n dataTestId=\"notification-list-customconfirmationmodal-dialog\"\n />\n <SyncWithServerDialog\n isOpen={Boolean(featureUuid)}\n handleClose={() => setFeatureUuid(() => null)}\n featureUUID={featureUuid}\n dataTestId=\"notification-list-syncwithserverdialog-dialog\"\n />\n <NotificationListSkeleton isLoading={isLoading}>\n <Grid container className=\"flex justify-between\">\n <Grid>\n <Typography\n variant=\"body2\"\n className=\"font-bold font-sans text-lg text-customBlue uppercase\"\n data-testid=\"notification-list-typography-title\"\n >\n {translate(\"Notification Configuration\")}\n </Typography>\n </Grid>\n <Box className=\"flex flex-col sm:flex-row sm:items-center gap-3 w-full sm:w-auto\">\n <Box className=\"flex items-center gap-3\">\n <FormControlLabel\n control={\n <Checkbox\n checked={isActive}\n onChange={(e) =>\n handleFilter(e.target.checked, 'status')\n }\n data-testid=\"notifications-checkbox-include-active\"\n />\n }\n label={translate(\"Active\")}\n slotProps={{\n typography: {\n className: \"custom-label\",\n },\n }}\n />\n <FormControlLabel\n control={\n <Checkbox\n checked={isMobile}\n onChange={(e) =>\n handleFilter(e.target.checked, 'notificationType')\n }\n data-testid=\"notifications-checkbox-include-mobile\"\n />\n }\n label={translate(\"Mobile\")}\n slotProps={{\n typography: {\n className: \"custom-label\",\n },\n }}\n />\n </Box>\n <Box className=\"flex items-center gap-3 w-full sm:w-auto\">\n <TextField\n id=\"searchQuery\"\n placeholder=\"Search Text\"\n size=\"small\"\n onChange={handleSearch}\n className=\"m-0 p-0 bg-white\"\n value={search}\n data-testid=\"notification-list-textfield-search\"\n sx={{\n \"& .MuiInputBase-root\": {\n height: \"2.4em\",\n width: { xs: \"100%\", sm: \"190px\" },\n },\n flex: { xs: 1, sm: 1 }\n }}\n />\n {(!GeneralUtil.isTecho || rights?.['create.manage.notificationlist']) && (\n <Button\n size=\"small\"\n variant=\"contained\"\n onClick={() => {\n trackEvent(\"button_click\", {\n button_name: \"notification-list-add-button\",\n button_type: \"navigate\",\n button_id: \"notification-list-button-add\",\n });\n setOpenModal(5);\n }}\n data-testid=\"notification-list-button-add\"\n sx={{ whiteSpace: 'nowrap' }}\n >\n {translate(\"Add\")}\n </Button>\n )}\n </Box>\n </Box>\n </Grid>\n <Grid size={{ xs: 12 }}>\n <CustomizedTable\n columns={columns}\n actions={actions}\n tableData={filteredNotifications}\n paginationConfig={{\n pagination: false,\n }}\n styleConfig={{\n tableStyle: {\n maxHeight: 40,\n },\n }}\n handleSort={handleSort}\n isLoading={isLoading}\n dataTestId=\"notification-list-customizedtable\"\n />\n </Grid>\n </NotificationListSkeleton>\n </Card>\n );\n}\n"],"names":["toggleActiveState","id","state","api","implementationConfig","createNotification","params","updateNotification","NotificationListSkeleton","children","isLoading","useSelector","getUseSkeleton","jsxs","jsx","PropTypes","ManageNotificationSkeleton","ManageNotification","lazy","NotificationFlywayQuery","NotificationList","trackEvent","useTrackEvent","search","setSearch","useState","notifications","setNotifications","filteredNotifications","setFilteredNotifications","openModal","setOpenModal","rowData","setRowData","roleData","setRoleData","translate","useTranslateProvider","featureUuid","setFeatureUuid","setIsLoading","rights","setRights","defaultColumns","row","Typography","columns","setColumns","isActive","setisActive","isMobile","setisMobile","isActiveRef","useRef","isMobileRef","useEffect","toggleActiveStatus","cur","data","getNotifications","showToast","error","actions","useMemo","list","GeneralUtil","FontAwesomeIcon","faPen","e","currentMenuItems","faBars","debouncedFilter","useCallback","debounce","searchValue","filteredData","_a","d","handleSearch","handleSort","column","order","prev","col","sortedData","b","valA","valB","_b","loadInitialData","getAllRoleList","assignedFeatures","getAssignedFeatures","handleFilter","value","filterType","nextIsActive","nextIsMobile","Card","Suspense","CustomConfirmationModal","SyncWithServerDialog","Grid","Box","FormControlLabel","Checkbox","TextField","Button","CustomizedTable"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEO,MAAMA,KAAoB,CAAC,EAAE,IAAAC,GAAI,OAAAC,EAAK,MAC3CC,EAAI;AAAA,EACFC,EAAqB,IAAI,qBAAqB,oCAAoCH,CAAE,cAAcC,MAAU,aAAa,SAAS,OAAO,KAAK,oBAAoBD,CAAE,cAAcC,MAAU,aAAa,SAAS,OAAO;AAC7N,GAEaG,KAAqB,CAACC,MACjCH,EAAI,KAAKC,EAAqB,IAAI,qBAAqB,4BAA4B,oBAAoBE,CAAM,GAElGC,KAAqB,CAACD,MACjCH,EAAI,KAAKC,EAAqB,IAAI,qBAAqB,4BAA4B,oBAAoBE,CAAM,GCLlGE,KAA2B,CAAC,EAAE,UAAAC,GAAU,WAAAC,QAE/C,CADgBC,EAAYC,EAAc,KAI1C,CAACF,IACID,IAIP,gBAAAI,EAAC,OAAA,EAAI,WAAU,uBACb,UAAA;AAAA,EAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,8CACb,UAAA;AAAA,IAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,0DAAA,CAA0D;AAAA,IACzE,gBAAAD,EAAC,OAAA,EAAI,WAAU,QACb,UAAA;AAAA,MAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,mEAAA,CAAmE;AAAA,MAClF,gBAAAA,EAAC,OAAA,EAAI,WAAU,0DAAA,CAA0D;AAAA,IAAA,EAAA,CAC3E;AAAA,EAAA,GACF;AAAA,EAEA,gBAAAA,EAAC,OAAA,EAAI,WAAU,oDAAA,CAAoD;AAAA,GACrE;AAIJN,GAAyB,YAAY;AAAA,EAC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AA,gBAAA;AAAA,cACb;AAAA,cAEF,YAAAmD;AAAA,cACA,WAAArE;AAAA,cACA,YAAW;AAAA,YAAA;AAAA,UAAA,EACb,CACF;AAAA,QAAA,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;;;;;"}
|
package/dist/{OtherTypeEventConfigModal-D1p8M39y.js → OtherTypeEventConfigModal-DiVhWDpG.js}
RENAMED
|
@@ -11,7 +11,7 @@ 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-
|
|
14
|
+
import "./ManageEventConfiguration-BntUc_YI.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";
|
|
@@ -1950,4 +1950,4 @@ bt.propTypes = {
|
|
|
1950
1950
|
export {
|
|
1951
1951
|
bt as default
|
|
1952
1952
|
};
|
|
1953
|
-
//# sourceMappingURL=OtherTypeEventConfigModal-
|
|
1953
|
+
//# sourceMappingURL=OtherTypeEventConfigModal-DiVhWDpG.js.map
|