@argusoft/medplat-form-engine 1.0.13 → 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 (121) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +52390 -3
  3. package/dist/index.js.map +1 -1
  4. package/package.json +4 -1
  5. package/dist/AccessRights-sgIhYR30-Dg6B4KJM.js +0 -1238
  6. package/dist/AccessRights-sgIhYR30-Dg6B4KJM.js.map +0 -1
  7. package/dist/AddEditQueryBuilder-BaZxS2Cm-emLM3Oli.js +0 -289
  8. package/dist/AddEditQueryBuilder-BaZxS2Cm-emLM3Oli.js.map +0 -1
  9. package/dist/AddEditQueryBuilder-BaZxS2Cm.css +0 -1
  10. package/dist/AddFeatures-DLbjDGei-Dg8WYww8.js +0 -212
  11. package/dist/AddFeatures-DLbjDGei-Dg8WYww8.js.map +0 -1
  12. package/dist/AddLabelModal-DE3ploGD-BV_K8Q7c.js +0 -734
  13. package/dist/AddLabelModal-DE3ploGD-BV_K8Q7c.js.map +0 -1
  14. package/dist/AddMenuConfiguration-QWfpcnuP-TAM2c68S.js +0 -5389
  15. package/dist/AddMenuConfiguration-QWfpcnuP-TAM2c68S.js.map +0 -1
  16. package/dist/AddMenuConfiguration-QWfpcnuP.css +0 -1
  17. package/dist/AddRoleDrawer-ZK1eejxI-xMb2iVGk.js +0 -453
  18. package/dist/AddRoleDrawer-ZK1eejxI-xMb2iVGk.js.map +0 -1
  19. package/dist/AppModal-BgZyfrd--CZPgx1UG.js +0 -428
  20. package/dist/AppModal-BgZyfrd--CZPgx1UG.js.map +0 -1
  21. package/dist/ChangePasswordModal-MV7g8tkA-B9b1sWWJ.js +0 -176
  22. package/dist/ChangePasswordModal-MV7g8tkA-B9b1sWWJ.js.map +0 -1
  23. package/dist/ConditionConfig-GDCXIg3C-COtWwHe3.js +0 -395
  24. package/dist/ConditionConfig-GDCXIg3C-COtWwHe3.js.map +0 -1
  25. package/dist/ConditionConfig-GDCXIg3C.css +0 -1
  26. package/dist/EntityManagement-D-x6Qzal-BE01iKNR.js +0 -50
  27. package/dist/EntityManagement-D-x6Qzal-BE01iKNR.js.map +0 -1
  28. package/dist/EventConfigurations-jGCJ4LqP-B_ftXinp.js +0 -384
  29. package/dist/EventConfigurations-jGCJ4LqP-B_ftXinp.js.map +0 -1
  30. package/dist/EventConfigurations-jGCJ4LqP.css +0 -1
  31. package/dist/EventsExceptionModal-BF6E1Np7-DHT7pQsx.js +0 -200
  32. package/dist/EventsExceptionModal-BF6E1Np7-DHT7pQsx.js.map +0 -1
  33. package/dist/EventsSkeleton-BN7_0IGs-BAnd1Vug.js +0 -74
  34. package/dist/EventsSkeleton-BN7_0IGs-BAnd1Vug.js.map +0 -1
  35. package/dist/FeatureMenu-BYSRoNm0-9p5IIVx2.js +0 -249
  36. package/dist/FeatureMenu-BYSRoNm0-9p5IIVx2.js.map +0 -1
  37. package/dist/Features-CKMmuqcs-ClXAzWGV.js +0 -11
  38. package/dist/Features-CKMmuqcs-ClXAzWGV.js.map +0 -1
  39. package/dist/FlywayQuery-Cx2sly6g-B1LLSyLE.js +0 -169
  40. package/dist/FlywayQuery-Cx2sly6g-B1LLSyLE.js.map +0 -1
  41. package/dist/ImmunizationConfigurationBase-DZ8EqXlF-D1gCzYi3.js +0 -5162
  42. package/dist/ImmunizationConfigurationBase-DZ8EqXlF-D1gCzYi3.js.map +0 -1
  43. package/dist/ImmunizationConfigurationBase-DZ8EqXlF.css +0 -1
  44. package/dist/ImmunizationConfigurationsList-CQnxWa09-DIujYt0W.js +0 -335
  45. package/dist/ImmunizationConfigurationsList-CQnxWa09-DIujYt0W.js.map +0 -1
  46. package/dist/ImmunizationSkeleton-D2tdv5k--B7SY-gnr.js +0 -186
  47. package/dist/ImmunizationSkeleton-D2tdv5k--B7SY-gnr.js.map +0 -1
  48. package/dist/LanguagesModal-rk6IGQwY-BaAI1s2W.js +0 -394
  49. package/dist/LanguagesModal-rk6IGQwY-BaAI1s2W.js.map +0 -1
  50. package/dist/ManageDynamicFeature-BKkCnQvF-CinU35NS.js +0 -4189
  51. package/dist/ManageDynamicFeature-BKkCnQvF-CinU35NS.js.map +0 -1
  52. package/dist/ManageEventConfiguration-BJxS2Su0-DBdaQcPo.js +0 -1017
  53. package/dist/ManageEventConfiguration-BJxS2Su0-DBdaQcPo.js.map +0 -1
  54. package/dist/ManageEventConfiguration-BJxS2Su0.css +0 -1
  55. package/dist/ManageNotification-B4prX-9Z-B4mRuGir.js +0 -6819
  56. package/dist/ManageNotification-B4prX-9Z-B4mRuGir.js.map +0 -1
  57. package/dist/ManageRole-BjIIXAlK-DY39p0FD.js +0 -728
  58. package/dist/ManageRole-BjIIXAlK-DY39p0FD.js.map +0 -1
  59. package/dist/ManageTranslation-BTxvSYKb-C2CZwkRN.js +0 -616
  60. package/dist/ManageTranslation-BTxvSYKb-C2CZwkRN.js.map +0 -1
  61. package/dist/ManageTranslation-BTxvSYKb.css +0 -1
  62. package/dist/ManageUser-PHiTNyF8-DXXBZWL6.js +0 -2160
  63. package/dist/ManageUser-PHiTNyF8-DXXBZWL6.js.map +0 -1
  64. package/dist/ManageUser-PHiTNyF8.css +0 -1
  65. package/dist/MedplatFormWrapper-s7j3X__p.js +0 -44782
  66. package/dist/MedplatFormWrapper-s7j3X__p.js.map +0 -1
  67. package/dist/MedplatFormWrapper.css +0 -1
  68. package/dist/MobileMenuManagement-DmQU5TTo-D7n_NP0X.js +0 -108
  69. package/dist/MobileMenuManagement-DmQU5TTo-D7n_NP0X.js.map +0 -1
  70. package/dist/MobileTypeEventConfigModal-ChhO_A4f-Dpq9010c.js +0 -783
  71. package/dist/MobileTypeEventConfigModal-ChhO_A4f-Dpq9010c.js.map +0 -1
  72. package/dist/NewServerManagement-5YcAtF-g-DHV6PFTR.js +0 -1002
  73. package/dist/NewServerManagement-5YcAtF-g-DHV6PFTR.js.map +0 -1
  74. package/dist/NotificationFlywayQuery-BY8Zzml_-C7G-28dx.js +0 -244
  75. package/dist/NotificationFlywayQuery-BY8Zzml_-C7G-28dx.js.map +0 -1
  76. package/dist/NotificationList-BkpOrCpM-B-vKDGd_.js +0 -400
  77. package/dist/NotificationList-BkpOrCpM-B-vKDGd_.js.map +0 -1
  78. package/dist/OtherTypeEventConfigModal-ZnCGWm9v-CsQiv68d.js +0 -1953
  79. package/dist/OtherTypeEventConfigModal-ZnCGWm9v-CsQiv68d.js.map +0 -1
  80. package/dist/QueryBuilder-Cus_mRwZ-DLXSM32i.js +0 -378
  81. package/dist/QueryBuilder-Cus_mRwZ-DLXSM32i.js.map +0 -1
  82. package/dist/QueryBuilder-Cus_mRwZ.css +0 -1
  83. package/dist/QueryManagement-DXA73N2j-BByBVpSS.js +0 -671
  84. package/dist/QueryManagement-DXA73N2j-BByBVpSS.js.map +0 -1
  85. package/dist/QueryManagement-DXA73N2j.css +0 -1
  86. package/dist/RoleManagement-v5Nyp1vr-BsTLfcMm.js +0 -416
  87. package/dist/RoleManagement-v5Nyp1vr-BsTLfcMm.js.map +0 -1
  88. package/dist/ServerSyncModal-uNjGCQJz--PJ3F3xg.js +0 -869
  89. package/dist/ServerSyncModal-uNjGCQJz--PJ3F3xg.js.map +0 -1
  90. package/dist/ShowFlywayQuery-DMsAbtOW-TT9XXzUi.js +0 -130
  91. package/dist/ShowFlywayQuery-DMsAbtOW-TT9XXzUi.js.map +0 -1
  92. package/dist/ShowFlywayQuery-DVRCd384-BypXcNWX.js +0 -259
  93. package/dist/ShowFlywayQuery-DVRCd384-BypXcNWX.js.map +0 -1
  94. package/dist/ShowQueryHistory-BDN0tzHg-17BxK88Z.js +0 -190
  95. package/dist/ShowQueryHistory-BDN0tzHg-17BxK88Z.js.map +0 -1
  96. package/dist/SubMenu-BHcSNSUF-eLmX3DkH.js +0 -187
  97. package/dist/SubMenu-BHcSNSUF-eLmX3DkH.js.map +0 -1
  98. package/dist/TableDetails-DzREeJkm-B-WEBbQz.js +0 -1508
  99. package/dist/TableDetails-DzREeJkm-B-WEBbQz.js.map +0 -1
  100. package/dist/TableList-B9hr05Hs-BIsMbnIV.js +0 -428
  101. package/dist/TableList-B9hr05Hs-BIsMbnIV.js.map +0 -1
  102. package/dist/TypeConfiguration-C-lk8Szs-qaofDyyM.js +0 -117
  103. package/dist/TypeConfiguration-C-lk8Szs-qaofDyyM.js.map +0 -1
  104. package/dist/UserList-BxB1tCwM-7YIwwGQ9.js +0 -13039
  105. package/dist/UserList-BxB1tCwM-7YIwwGQ9.js.map +0 -1
  106. package/dist/UserList-BxB1tCwM.css +0 -1
  107. package/dist/UserListSkeleton-cglK2SaU-B_Tj5gUp.js +0 -184
  108. package/dist/UserListSkeleton-cglK2SaU-B_Tj5gUp.js.map +0 -1
  109. package/dist/WidgetList-BSApErov-D05f9srr.js +0 -188
  110. package/dist/WidgetList-BSApErov-D05f9srr.js.map +0 -1
  111. package/dist/_commonjsHelpers-BItOPCY9-B9tZyK9c.js +0 -29
  112. package/dist/_commonjsHelpers-BItOPCY9-B9tZyK9c.js.map +0 -1
  113. package/dist/i18next-CTOWN_jH-BKKbdDel.js +0 -1389
  114. package/dist/i18next-CTOWN_jH-BKKbdDel.js.map +0 -1
  115. package/dist/index-B4r0wjBD.js +0 -563
  116. package/dist/index-B4r0wjBD.js.map +0 -1
  117. package/dist/index-Cve8KTWl.js +0 -542
  118. package/dist/index-Cve8KTWl.js.map +0 -1
  119. package/dist/manageImmunization-B4swS745-JldexHrO.js +0 -1204
  120. package/dist/manageImmunization-B4swS745-JldexHrO.js.map +0 -1
  121. package/dist/manageImmunization-B4swS745.css +0 -1
@@ -1 +0,0 @@
1
- .gray-row{background-color:#f0f0f0}.white-row{background-color:#fff}.filter-form{margin:.625rem}.button{color:#fff!important;margin:.5rem!important}.close{background-color:gray!important}.search{background-color:#4caf50!important}
@@ -1,184 +0,0 @@
1
- import { api as d } from "@/common/interceptors/AxiosInterceptor";
2
- import { jsxs as s, jsx as e, Fragment as c } from "react/jsx-runtime";
3
- import r from "prop-types";
4
- import "react";
5
- import { useSelector as i } from "react-redux";
6
- import { getUseSkeleton as m } from "@/store/reducers/SkeletonReducer";
7
- const v = (a) => d.get("user/retrievebycriteria", { params: a, showLoader: !1 }), L = (a, l) => d.put("user/toggle", a, { params: l }), j = (a) => d.post("user", a), I = (a) => d.get("user/generateLoginCode", { params: a }), $ = (a, l) => d.get("role/byroleid", { params: a, ...l }), T = (a, l) => d.get("location/byroleid", { params: a, ...l }), B = (a) => d.get(`user?userId=${a}`), A = (a) => d.get("translation/activeLanguages", { params: a }), C = (a) => d.get("location/locationtypes", { params: a }), F = ({ action: a, ...l }) => d.get(`user/${a}`, { params: { ...l }, showLoader: !1 }), S = (a) => d.put("user/changepassword", a, {
8
- withCredentials: !0
9
- // Important!
10
- }), k = ({ locationIds: a, roleId: l, toBeAdded: n }) => a ? d.get(
11
- `user/validateaoi?locationIds=${a}&roleId=${l}&toBeAdded=${n}`
12
- ) : d.get(`user/validateaoi?roleId=${l}&toBeAdded=${n}`), D = (a, l) => d.get(
13
- `user/validateHealthInfra?healthInfraIds=${a}&toBeRemoved=${l}`
14
- ), H = (a, l) => {
15
- const n = new FormData();
16
- return n.append("userName", a), n.append("file", l), d.post("/doctors/signature", n, {
17
- headers: {
18
- "Content-Type": "multipart/form-data"
19
- }
20
- }).then((t) => t.data);
21
- }, U = (a) => d.get(`/doctors/signature?doctorId=${a}`, {
22
- responseType: "arraybuffer"
23
- // <-- important
24
- }).then((l) => l.data), o = ({ children: a, isLoading: l = !0 }) => !i(m) || !l ? a : /* @__PURE__ */ s("div", { className: "flex justify-between space-x-2 mb-4 mt-4", children: [
25
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { className: "w-40 h-10 bg-gray-300 animate-pulse rounded-md" }) }),
26
- /* @__PURE__ */ s("div", { className: "flex space-x-4", children: [
27
- /* @__PURE__ */ e("div", { className: "w-60 h-10 bg-gray-300 animate-pulse rounded-md" }),
28
- /* @__PURE__ */ e("div", { className: "w-20 h-10 bg-gray-300 animate-pulse rounded-full" }),
29
- /* @__PURE__ */ e("div", { className: "w-20 h-10 bg-gray-300 animate-pulse rounded-md" })
30
- ] })
31
- ] });
32
- o.propTypes = {
33
- children: r.any,
34
- isLoading: r.any
35
- };
36
- const u = ({ children: a, isLoading: l = !0 }) => !i(m) || !l ? a : /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e("div", { className: "flex flex-row", children: /* @__PURE__ */ s("div", { className: "flex flex-col space-y-4 p-6 overflow-y-auto w-full", children: [
37
- /* @__PURE__ */ s("div", { className: "px-4 py-2 flex space-x-3 items-center justify-between ", children: [
38
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-20 h-10" }),
39
- /* @__PURE__ */ s("div", { className: "flex space-x-3", children: [
40
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-40 h-10" }),
41
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-40 h-10" })
42
- ] })
43
- ] }),
44
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
45
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
46
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
47
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
48
- ] }),
49
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
50
- ] }),
51
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
52
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
53
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 " }),
54
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 " }),
55
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 " })
56
- ] }),
57
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
58
- ] }),
59
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
60
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
61
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
62
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
63
- ] }),
64
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
65
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
66
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
67
- ] }),
68
- " "
69
- ] }),
70
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
71
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
72
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
73
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
74
- ] }),
75
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
76
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
77
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
78
- ] }),
79
- " "
80
- ] }),
81
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
82
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
83
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
84
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
85
- ] }),
86
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
87
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
88
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
89
- ] }),
90
- " "
91
- ] }),
92
- /* @__PURE__ */ s("div", { className: "flex flex-row justify-between space-x-4", children: [
93
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
94
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
95
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
96
- ] }),
97
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-4 w-[50%]", children: [
98
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " }),
99
- /* @__PURE__ */ e("button", { className: "bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 " })
100
- ] }),
101
- " "
102
- ] }),
103
- /* @__PURE__ */ s("div", { className: "flex flex-col space-y-2", children: [
104
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-40 h-10 " }),
105
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-100 h-10 " })
106
- ] }),
107
- /* @__PURE__ */ s("div", { className: "flex flex-row w-full justify-end space-x-3 p-3 ", children: [
108
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-20 h-10 " }),
109
- /* @__PURE__ */ e("div", { className: "bg-gray-300 animate-pulse rounded-sm w-20 h-10 " })
110
- ] })
111
- ] }) }) });
112
- u.propTypes = {
113
- children: r.any,
114
- isLoading: r.any
115
- };
116
- const g = ({ children: a, isLoading: l = !0 }) => !i(m) || !l ? a : /* @__PURE__ */ s("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mt-4 mb-4", children: [
117
- /* @__PURE__ */ e("div", { className: "h-20 bg-gray-300 animate-pulse rounded-md" }),
118
- /* @__PURE__ */ e("div", { className: "h-20 bg-gray-300 animate-pulse rounded-md" }),
119
- /* @__PURE__ */ e("div", { className: "h-20 bg-gray-300 animate-pulse rounded-md" }),
120
- /* @__PURE__ */ e("div", { className: "h-20 bg-gray-300 animate-pulse rounded-md" })
121
- ] });
122
- g.propTypes = {
123
- children: r.any,
124
- isLoading: r.any
125
- };
126
- const p = ({ children: a, isLoading: l = !0 }) => !i(m) || !l ? a : /* @__PURE__ */ s("div", { className: "flex flex-col space-y-3", children: [
127
- /* @__PURE__ */ s("div", { className: "flex flex-col space-y-1", children: [
128
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-40 h-10" }),
129
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-full h-10" })
130
- ] }),
131
- /* @__PURE__ */ s("div", { className: "flex flex-col space-y-1", children: [
132
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-40 h-10" }),
133
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-full h-10" })
134
- ] }),
135
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-1 justify-end", children: [
136
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-20 h-10" }),
137
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-20 h-10" })
138
- ] })
139
- ] });
140
- p.propTypes = {
141
- children: r.any,
142
- isLoading: r.any
143
- };
144
- const h = ({ children: a, isLoading: l = !0 }) => !i(m) || !l ? a : /* @__PURE__ */ s("div", { className: "flex flex-col space-y-3", children: [
145
- /* @__PURE__ */ s("div", { className: "flex flex-col space-y-1", children: [
146
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-40 h-10" }),
147
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-full h-10" })
148
- ] }),
149
- /* @__PURE__ */ s("div", { className: "flex flex-col space-y-1", children: [
150
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-40 h-10" }),
151
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-full h-10" })
152
- ] }),
153
- /* @__PURE__ */ s("div", { className: "flex flex-row space-x-1 justify-end", children: [
154
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-20 h-10" }),
155
- /* @__PURE__ */ e("div", { className: "animate-pulse bg-gray-300 rounded-sm w-20 h-10" })
156
- ] })
157
- ] });
158
- h.propTypes = {
159
- children: r.any,
160
- isLoading: r.any
161
- };
162
- export {
163
- B as $,
164
- D as A,
165
- H as B,
166
- k as C,
167
- F as D,
168
- S as F,
169
- U as H,
170
- C as I,
171
- $ as L,
172
- L as S,
173
- A as T,
174
- T as U,
175
- o as c,
176
- h as f,
177
- g,
178
- I as j,
179
- j as k,
180
- p,
181
- u,
182
- v
183
- };
184
- //# sourceMappingURL=UserListSkeleton-cglK2SaU-B_Tj5gUp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserListSkeleton-cglK2SaU-B_Tj5gUp.js","sources":["../../core/dist/UserListSkeleton-cglK2SaU.js"],"sourcesContent":["import { api as r } from \"@/common/interceptors/AxiosInterceptor\";\nimport { jsxs as s, jsx as e, Fragment as m } from \"react/jsx-runtime\";\nimport n from \"prop-types\";\nimport \"react\";\nimport { useSelector as d } from \"react-redux\";\nimport { getUseSkeleton as o } from \"@/store/reducers/SkeletonReducer\";\nconst v = (a) => r.get(\"user/retrievebycriteria\", { params: a, showLoader: !1 }), S = (a, l) => r.put(\"user/toggle\", a, { params: l }), k = (a) => r.post(\"user\", a), j = (a) => r.get(\"user/generateLoginCode\", { params: a }), L = (a, l) => r.get(\"role/byroleid\", { params: a, ...l }), U = (a, l) => r.get(\"location/byroleid\", { params: a, ...l }), $ = (a) => r.get(`user?userId=${a}`), T = (a) => r.get(\"translation/activeLanguages\", { params: a }), I = (a) => r.get(\"location/locationtypes\", { params: a }), D = ({ action: a, ...l }) => r.get(`user/${a}`, { params: { ...l }, showLoader: !1 }), F = (a) => r.put(\"user/changepassword\", a, {\n withCredentials: !0\n // Important!\n}), C = ({ locationIds: a, roleId: l, toBeAdded: t }) => a ? r.get(\n `user/validateaoi?locationIds=${a}&roleId=${l}&toBeAdded=${t}`\n) : r.get(`user/validateaoi?roleId=${l}&toBeAdded=${t}`), A = (a, l) => r.get(\n `user/validateHealthInfra?healthInfraIds=${a}&toBeRemoved=${l}`\n), B = (a, l) => {\n const t = new FormData();\n return t.append(\"userName\", a), t.append(\"file\", l), r.post(\"/doctors/signature\", t, {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n }\n }).then((i) => i.data);\n}, H = (a) => r.get(`/doctors/signature?doctorId=${a}`, {\n responseType: \"arraybuffer\"\n // <-- important\n}).then((l) => l.data), c = ({ children: a, isLoading: l = !0 }) => !d(o) || !l ? a : /* @__PURE__ */ s(\"div\", { className: \"flex justify-between space-x-2 mb-4 mt-4\", children: [\n /* @__PURE__ */ e(\"div\", { children: /* @__PURE__ */ e(\"div\", { className: \"w-40 h-10 bg-gray-300 animate-pulse rounded-md\" }) }),\n /* @__PURE__ */ s(\"div\", { className: \"flex space-x-4\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"w-60 h-10 bg-gray-300 animate-pulse rounded-md\" }),\n /* @__PURE__ */ e(\"div\", { className: \"w-20 h-10 bg-gray-300 animate-pulse rounded-full\" }),\n /* @__PURE__ */ e(\"div\", { className: \"w-20 h-10 bg-gray-300 animate-pulse rounded-md\" })\n ] })\n] });\nc.propTypes = {\n children: n.any,\n isLoading: n.any\n};\nconst u = ({ children: a, isLoading: l = !0 }) => !d(o) || !l ? a : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(\"div\", { className: \"flex flex-row\", children: /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-4 p-6 overflow-y-auto w-full\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"px-4 py-2 flex space-x-3 items-center justify-between \", children: [\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-20 h-10\" }),\n /* @__PURE__ */ s(\"div\", { className: \"flex space-x-3\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-40 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-40 h-10\" })\n ] })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[33%] h-10 \" })\n ] }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n \" \"\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n \" \"\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n \" \"\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row justify-between space-x-4\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-4 w-[50%]\", children: [\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" }),\n /* @__PURE__ */ e(\"button\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[50%] h-10 \" })\n ] }),\n \" \"\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-2\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-40 h-10 \" }),\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-100 h-10 \" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row w-full justify-end space-x-3 p-3 \", children: [\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-20 h-10 \" }),\n /* @__PURE__ */ e(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-20 h-10 \" })\n ] })\n] }) }) });\nu.propTypes = {\n children: n.any,\n isLoading: n.any\n};\nconst g = ({ children: a, isLoading: l = !0 }) => !d(o) || !l ? a : /* @__PURE__ */ s(\"div\", { className: \"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mt-4 mb-4\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"h-20 bg-gray-300 animate-pulse rounded-md\" }),\n /* @__PURE__ */ e(\"div\", { className: \"h-20 bg-gray-300 animate-pulse rounded-md\" }),\n /* @__PURE__ */ e(\"div\", { className: \"h-20 bg-gray-300 animate-pulse rounded-md\" }),\n /* @__PURE__ */ e(\"div\", { className: \"h-20 bg-gray-300 animate-pulse rounded-md\" })\n] });\ng.propTypes = {\n children: n.any,\n isLoading: n.any\n};\nconst p = ({ children: a, isLoading: l = !0 }) => !d(o) || !l ? a : /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-3\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-1\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-40 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-full h-10\" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-1\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-40 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-full h-10\" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-1 justify-end\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-20 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-20 h-10\" })\n ] })\n] });\np.propTypes = {\n children: n.any,\n isLoading: n.any\n};\nconst f = ({ children: a, isLoading: l = !0 }) => !d(o) || !l ? a : /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-3\", children: [\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-1\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-40 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-full h-10\" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-col space-y-1\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-40 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-full h-10\" })\n ] }),\n /* @__PURE__ */ s(\"div\", { className: \"flex flex-row space-x-1 justify-end\", children: [\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-20 h-10\" }),\n /* @__PURE__ */ e(\"div\", { className: \"animate-pulse bg-gray-300 rounded-sm w-20 h-10\" })\n ] })\n] });\nf.propTypes = {\n children: n.any,\n isLoading: n.any\n};\nexport {\n u as M,\n f as U,\n p as a,\n c as b,\n g as c,\n j as d,\n v as e,\n T as f,\n L as g,\n $ as h,\n U as i,\n H as j,\n D as k,\n I as l,\n A as m,\n B as n,\n F as o,\n S as t,\n k as u,\n C as v\n};\n//# sourceMappingURL=UserListSkeleton-cglK2SaU.js.map\n"],"names":["r","S","k","j","L","U","$","T","I","D","F","C","t","A","B","i","H","c","d","o","s","e","n","m","f"],"mappings":";;;;;;AAMK,MAAC,IAAI,CAAC,MAAMA,EAAE,IAAI,2BAA2B,EAAE,QAAQ,GAAG,YAAY,GAAE,CAAE,GAAGC,IAAI,CAAC,GAAG,MAAMD,EAAE,IAAI,eAAe,GAAG,EAAE,QAAQ,GAAG,GAAGE,IAAI,CAAC,MAAMF,EAAE,KAAK,QAAQ,CAAC,GAAGG,IAAI,CAAC,MAAMH,EAAE,IAAI,0BAA0B,EAAE,QAAQ,EAAC,CAAE,GAAGI,IAAI,CAAC,GAAG,MAAMJ,EAAE,IAAI,iBAAiB,EAAE,QAAQ,GAAG,GAAG,EAAC,CAAE,GAAGK,IAAI,CAAC,GAAG,MAAML,EAAE,IAAI,qBAAqB,EAAE,QAAQ,GAAG,GAAG,GAAG,GAAGM,IAAI,CAAC,MAAMN,EAAE,IAAI,eAAe,CAAC,EAAE,GAAGO,IAAI,CAAC,MAAMP,EAAE,IA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AU;AAAA,IACrEC,gBAAAA,EAAE,OAAO,EAAE,WAAW,iDAAgD,CAAE;AAAA,IACxEA,gBAAAA,EAAE,OAAO,EAAE,WAAW,iDAAgD,CAAE;AAAA,EAC5F,EAAG,CAAE;AACL,EAAC,CAAE;AACHG,EAAE,YAAY;AAAA,EACZ,UAAUF,EAAE;AAAA,EACZ,WAAWA,EAAE;AACf;"}
@@ -1,188 +0,0 @@
1
- import { jsx as a, jsxs as s, Fragment as E } from "react/jsx-runtime";
2
- import { Button as M, debounce as P, Card as W, Typography as _, TextField as F, TableContainer as I } from "@mui/material";
3
- import { Grid as r } from "@mui/system";
4
- import { useTranslateProvider as Q } from "@/common/languageTranslator/TranslationContext";
5
- import { getNotifications as R, getRoleList as G } from "@/common/services/GlobalApis.js";
6
- import { useState as l, useCallback as H, useEffect as U, Suspense as Y, lazy as Z } from "react";
7
- import $ from "@/hooks/useTrackEvent";
8
- import q from "@/views/custom-components/CustomizedTable/CustomizedTableV2";
9
- import { useSelector as J } from "react-redux";
10
- import { getUseSkeleton as K } from "@/store/reducers/SkeletonReducer";
11
- const O = () => J(K) ? /* @__PURE__ */ s("div", { className: "flex flex-col gap-2 mt-6 w-full", children: [
12
- /* @__PURE__ */ s("div", { className: "flex space-between justify-between m-[0px]", children: [
13
- /* @__PURE__ */ a("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]" }),
14
- /* @__PURE__ */ s("div", { className: "flex", children: [
15
- /* @__PURE__ */ a("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[150px] h-[40px] mx-[5px]" }),
16
- /* @__PURE__ */ a("div", { className: "bg-gray-300 animate-pulse rounded-sm w-[100px] h-[40px]" })
17
- ] })
18
- ] }),
19
- /* @__PURE__ */ a("div", { className: "bg-gray-300 animate-pulse rounded-sm w-full h-100" })
20
- ] }) : null, V = Z(() => import("./AddRoleDrawer-ZK1eejxI-xMb2iVGk.js"));
21
- function ce() {
22
- const [y, w] = l(""), [m, v] = l({}), [N, C] = l([]), [c, T] = l({}), { translate: p } = Q(), f = $(), [B, u] = l([]), [g, d] = l(!1), [h, x] = l(!1), S = [
23
- { field: "notificationName", label: "Name", align: "left" },
24
- { field: "roles", label: "Action By", align: "left" },
25
- {
26
- field: "Actions",
27
- label: "Actions",
28
- align: "left"
29
- }
30
- ], k = (t) => {
31
- x(!0), C(t);
32
- }, z = [
33
- {
34
- label: "",
35
- icon: /* @__PURE__ */ a(
36
- M,
37
- {
38
- size: "small",
39
- variant: "contained",
40
- className: "text-[10px]",
41
- "data-testid": "widgetlist-button-assign",
42
- children: p("Assign")
43
- }
44
- ),
45
- onClick: k
46
- }
47
- ], A = H(
48
- P((t) => {
49
- const i = m.filter(
50
- (o) => {
51
- var e;
52
- return (e = o.notificationName) == null ? void 0 : e.toLowerCase().includes(t);
53
- }
54
- );
55
- f("search_tracking", {
56
- searchTerm: t,
57
- results_count: i.length,
58
- search_type: "Page Search"
59
- }), u(i);
60
- }, 500),
61
- [m, f]
62
- ), L = (t) => {
63
- const i = t.target.value.toLowerCase();
64
- w(i), A(i);
65
- }, b = async () => {
66
- try {
67
- d((e) => !e);
68
- let t = c;
69
- const { data: i } = await R();
70
- if (!c.length) {
71
- const { data: e } = await G();
72
- t = e, T(e);
73
- }
74
- const o = i.map((e) => {
75
- const j = e == null ? void 0 : e.roles.map((n) => t.find((D) => D.id === n)).filter((n) => n !== void 0).map((n) => n.name);
76
- return {
77
- ...e,
78
- roles: j
79
- };
80
- });
81
- v(
82
- o.filter((e) => e.notificationType === "WEB")
83
- ), u(
84
- o.filter((e) => e.notificationType === "WEB")
85
- ), d((e) => !e);
86
- } catch (t) {
87
- console.error(t), d((i) => !i);
88
- }
89
- };
90
- return U(() => {
91
- b();
92
- }, []), /* @__PURE__ */ a(
93
- W,
94
- {
95
- variant: "elevation",
96
- container: !0,
97
- className: "mt-6 p-3 flex flex-col space-y-3 shadow-xl",
98
- children: /* @__PURE__ */ s(r, { container: !0, "data-testid": "widgetlist-container", children: [
99
- /* @__PURE__ */ a(Y, { children: h && /* @__PURE__ */ a(
100
- V,
101
- {
102
- open: h,
103
- handleClose: async (t) => {
104
- x(!1), t && b();
105
- },
106
- data: N,
107
- roleData: c
108
- }
109
- ) }),
110
- g ? /* @__PURE__ */ a(O, {}) : /* @__PURE__ */ s(E, { children: [
111
- /* @__PURE__ */ s(
112
- r,
113
- {
114
- container: !0,
115
- size: { xs: 12 },
116
- className: "flex justify-between items-center",
117
- children: [
118
- /* @__PURE__ */ a(r, { children: /* @__PURE__ */ a(
119
- _,
120
- {
121
- variant: "body2",
122
- className: "font-bold font-sans text-lg text-customBlue uppercase",
123
- "data-testid": "notification-list-typography-title",
124
- children: p("Widget Management")
125
- }
126
- ) }),
127
- /* @__PURE__ */ a(
128
- F,
129
- {
130
- name: "searchQuery",
131
- id: "searchQuery",
132
- placeholder: "Search Text",
133
- size: "small",
134
- onChange: L,
135
- value: y,
136
- "data-testid": "widgetlist-textfield-search",
137
- slotProps: {
138
- input: {
139
- className: "custom-input-root"
140
- }
141
- },
142
- sx: {
143
- "& .MuiInputBase-root": {
144
- backgroundColor: (t) => t.palette.background.paper
145
- }
146
- }
147
- }
148
- )
149
- ]
150
- }
151
- ),
152
- /* @__PURE__ */ a(
153
- r,
154
- {
155
- size: { xs: 12 },
156
- mt: 2,
157
- "data-testid": "widgetlist-table-container",
158
- children: /* @__PURE__ */ a(
159
- I,
160
- {
161
- component: "paper",
162
- sx: { borderRadius: "12px" },
163
- "data-testid": "widgetlist-table-paper",
164
- children: /* @__PURE__ */ a(
165
- q,
166
- {
167
- columns: S,
168
- actions: z,
169
- tableData: B,
170
- paginationConfig: { pagination: !1 },
171
- dataTestId: "widgetlist-table-customized",
172
- isLoading: g,
173
- styleConfig: { tableStyle: { maxHeight: 55 } }
174
- }
175
- )
176
- }
177
- )
178
- }
179
- )
180
- ] })
181
- ] })
182
- }
183
- );
184
- }
185
- export {
186
- ce as default
187
- };
188
- //# sourceMappingURL=WidgetList-BSApErov-D05f9srr.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WidgetList-BSApErov-D05f9srr.js","sources":["../../core/dist/WidgetList-BSApErov.js"],"sourcesContent":["import { jsxs as n, jsx as a, Fragment as R } from \"react/jsx-runtime\";\nimport { Button as W, debounce as j, Card as F, Typography as I, TextField as P, TableContainer as _ } from \"@mui/material\";\nimport { Grid as r } from \"@mui/system\";\nimport { useTranslateProvider as H } from \"@/common/languageTranslator/TranslationContext\";\nimport { getNotifications as M, getRoleList as Q } from \"@/common/services/GlobalApis.js\";\nimport { useState as s, useCallback as G, useEffect as O, Suspense as U, lazy as q } from \"react\";\nimport J from \"@/hooks/useTrackEvent\";\nimport K from \"@/views/custom-components/CustomizedTable/CustomizedTableV2\";\nimport { useSelector as V } from \"react-redux\";\nimport { getUseSkeleton as X } from \"@/store/reducers/SkeletonReducer\";\nconst Y = () => V(X) ? /* @__PURE__ */ n(\"div\", { className: \"flex flex-col gap-2 mt-6 w-full\", children: [\n /* @__PURE__ */ n(\"div\", { className: \"flex space-between justify-between m-[0px]\", children: [\n /* @__PURE__ */ a(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[130px] h-[40px]\" }),\n /* @__PURE__ */ n(\"div\", { className: \"flex\", children: [\n /* @__PURE__ */ a(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[150px] h-[40px] mx-[5px]\" }),\n /* @__PURE__ */ a(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-[100px] h-[40px]\" })\n ] })\n ] }),\n /* @__PURE__ */ a(\"div\", { className: \"bg-gray-300 animate-pulse rounded-sm w-full h-100\" })\n] }) : null, Z = q(() => import(\"./AddRoleDrawer-ZK1eejxI.js\"));\nfunction de() {\n const [f, w] = s(\"\"), [m, N] = s({}), [v, C] = s([]), [c, k] = s({}), { translate: p } = H(), u = J(), [S, g] = s([]), [h, d] = s(!1), [x, b] = s(!1), T = [\n { field: \"notificationName\", label: \"Name\", align: \"left\" },\n { field: \"roles\", label: \"Action By\", align: \"left\" },\n {\n field: \"Actions\",\n label: \"Actions\",\n align: \"left\"\n }\n ], D = (t) => {\n b(!0), C(t);\n }, z = [\n {\n label: \"\",\n icon: /* @__PURE__ */ a(\n W,\n {\n size: \"small\",\n variant: \"contained\",\n className: \"text-[10px]\",\n \"data-testid\": \"widgetlist-button-assign\",\n children: p(\"Assign\")\n }\n ),\n onClick: D\n }\n ], L = G(\n j((t) => {\n const i = m.filter(\n (l) => {\n var e;\n return (e = l.notificationName) == null ? void 0 : e.toLowerCase().includes(t);\n }\n );\n u(\"search_tracking\", {\n searchTerm: t,\n results_count: i.length,\n search_type: \"Page Search\"\n }), g(i);\n }, 500),\n [m, u]\n ), B = (t) => {\n const i = t.target.value.toLowerCase();\n w(i), L(i);\n }, y = async () => {\n try {\n d((e) => !e);\n let t = c;\n const { data: i } = await M();\n if (!c.length) {\n const { data: e } = await Q();\n t = e, k(e);\n }\n const l = i.map((e) => {\n const A = e == null ? void 0 : e.roles.map((o) => t.find((E) => E.id === o)).filter((o) => o !== void 0).map((o) => o.name);\n return {\n ...e,\n roles: A\n };\n });\n N(\n l.filter((e) => e.notificationType === \"WEB\")\n ), g(\n l.filter((e) => e.notificationType === \"WEB\")\n ), d((e) => !e);\n } catch (t) {\n console.error(t), d((i) => !i);\n }\n };\n return O(() => {\n y();\n }, []), /* @__PURE__ */ a(\n F,\n {\n variant: \"elevation\",\n container: !0,\n className: \"mt-6 p-3 flex flex-col space-y-3 shadow-xl\",\n children: /* @__PURE__ */ n(r, { container: !0, \"data-testid\": \"widgetlist-container\", children: [\n /* @__PURE__ */ a(U, { children: x && /* @__PURE__ */ a(\n Z,\n {\n open: x,\n handleClose: async (t) => {\n b(!1), t && y();\n },\n data: v,\n roleData: c\n }\n ) }),\n h ? /* @__PURE__ */ a(Y, {}) : /* @__PURE__ */ n(R, { children: [\n /* @__PURE__ */ n(\n r,\n {\n container: !0,\n size: { xs: 12 },\n className: \"flex justify-between items-center\",\n children: [\n /* @__PURE__ */ a(r, { children: /* @__PURE__ */ a(\n I,\n {\n variant: \"body2\",\n className: \"font-bold font-sans text-lg text-customBlue uppercase\",\n \"data-testid\": \"notification-list-typography-title\",\n children: p(\"Widget Management\")\n }\n ) }),\n /* @__PURE__ */ a(\n P,\n {\n name: \"searchQuery\",\n id: \"searchQuery\",\n placeholder: \"Search Text\",\n size: \"small\",\n onChange: B,\n value: f,\n \"data-testid\": \"widgetlist-textfield-search\",\n slotProps: {\n input: {\n className: \"custom-input-root\"\n }\n },\n sx: {\n \"& .MuiInputBase-root\": {\n backgroundColor: (t) => t.palette.background.paper\n }\n }\n }\n )\n ]\n }\n ),\n /* @__PURE__ */ a(\n r,\n {\n size: { xs: 12 },\n mt: 2,\n \"data-testid\": \"widgetlist-table-container\",\n children: /* @__PURE__ */ a(\n _,\n {\n component: \"paper\",\n sx: { borderRadius: \"12px\" },\n \"data-testid\": \"widgetlist-table-paper\",\n children: /* @__PURE__ */ a(\n K,\n {\n columns: T,\n actions: z,\n tableData: S,\n paginationConfig: { pagination: !1 },\n dataTestId: \"widgetlist-table-customized\",\n isLoading: h,\n styleConfig: { tableStyle: { maxHeight: 55 } }\n }\n )\n }\n )\n }\n )\n ] })\n ] })\n }\n );\n}\nexport {\n de as default\n};\n//# sourceMappingURL=WidgetList-BSApErov.js.map\n"],"names":["Y","V","X","n","a","Z","q","de","f","s","N","v","k","H","u","J","S","g","h","x","b","T","D","W","L","G","j","l","B","y","M","Q","A","o","E","O","F","r","U","R","I","P","_","K"],"mappings":";;;;;;;;;;AAUA,MAAMA,IAAI,MAAMC,EAAEC,CAAC,IAAoBC,gBAAAA,EAAE,OAAO,EAAE,WAAW,mCAAmC,UAAU;AAAA,EACxFA,gBAAAA,EAAE,OAAO,EAAE,WAAW,8CAA8C,UAAU;AAAA,IAC5EC,gBAAAA,EAAE,OAAO,EAAE,WAAW,0DAAyD,CAAE;AAAA,IACjFD,gBAAAA,EAAE,OAAO,EAAE,WAAW,QAAQ,UAAU;AAAA,MACtCC,gBAA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AAAA,oBACV,OAAOpB;AAAA,oBACP,eAAe;AAAA,oBACf,WAAW;AAAA,sBACT,OAAO;AAAA,wBACL,WAAW;AAAA,sBACnC;AAAA,oBACA;AAAA,oBACoB,IAAI;AAAA,sBACF,wBAAwB;AAAA,wBACtB,iBAAiB,CAAC,MAAM,EAAE,QAAQ,WAAW;AAAA,sBACrE;AAAA,oBACA;AAAA,kBACA;AAAA,gBACA;AAAA,cACA;AAAA,YACA;AAAA,UACA;AAAA,UAC0BJ,gBAAAA;AAAAA,YACdiC;AAAAA,YACA;AAAA,cACE,MAAM,EAAE,IAAI,GAAE;AAAA,cACd,IAAI;AAAA,cACJ,eAAe;AAAA,cACf,UAA0BjC,gBAAAA;AAAAA,gBACxBsC;AAAAA,gBACA;AAAA,kBACE,WAAW;AAAA,kBACX,IAAI,EAAE,cAAc,OAAM;AAAA,kBAC1B,eAAe;AAAA,kBACf,UAA0BtC,gBAAAA;AAAAA,oBACxBuC;AAAAA,oBACA;AAAA,sBACE,SAAStB;AAAA,sBACT,SAAS;AAAA,sBACT,WAAWL;AAAA,sBACX,kBAAkB,EAAE,YAAY,GAAE;AAAA,sBAClC,YAAY;AAAA,sBACZ,WAAWE;AAAA,sBACX,aAAa,EAAE,YAAY,EAAE,WAAW,GAAE,EAAE;AAAA,oBAClE;AAAA,kBACA;AAAA,gBACA;AAAA,cACA;AAAA,YACA;AAAA,UACA;AAAA,QACA,EAAS,CAAE;AAAA,MACX,EAAO,CAAE;AAAA,IACT;AAAA,EACA;AACA;"}
@@ -1,29 +0,0 @@
1
- var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(t) {
3
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
- }
5
- function f(t) {
6
- if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t;
7
- var o = t.default;
8
- if (typeof o == "function") {
9
- var e = function r() {
10
- return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
11
- };
12
- e.prototype = o.prototype;
13
- } else e = {};
14
- return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
15
- var n = Object.getOwnPropertyDescriptor(t, r);
16
- Object.defineProperty(e, r, n.get ? n : {
17
- enumerable: !0,
18
- get: function() {
19
- return t[r];
20
- }
21
- });
22
- }), e;
23
- }
24
- export {
25
- l as f,
26
- f as l,
27
- u
28
- };
29
- //# sourceMappingURL=_commonjsHelpers-BItOPCY9-B9tZyK9c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_commonjsHelpers-BItOPCY9-B9tZyK9c.js","sources":["../../core/dist/_commonjsHelpers-BItOPCY9.js"],"sourcesContent":["var u = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {};\nfunction f(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nfunction l(e) {\n if (Object.prototype.hasOwnProperty.call(e, \"__esModule\")) return e;\n var r = e.default;\n if (typeof r == \"function\") {\n var t = function o() {\n return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);\n };\n t.prototype = r.prototype;\n } else t = {};\n return Object.defineProperty(t, \"__esModule\", { value: !0 }), Object.keys(e).forEach(function(o) {\n var n = Object.getOwnPropertyDescriptor(e, o);\n Object.defineProperty(t, o, n.get ? n : {\n enumerable: !0,\n get: function() {\n return e[o];\n }\n });\n }), t;\n}\nexport {\n f as a,\n u as c,\n l as g\n};\n//# sourceMappingURL=_commonjsHelpers-BItOPCY9.js.map\n"],"names":["f","e","l","r","t","o"],"mappings":"AAAG,IAAC,IAAI,OAAO,aAAa,MAAM,aAAa,OAAO,SAAS,MAAM,SAAS,OAAO,SAAS,MAAM,SAAS,OAAO,OAAO,MAAM,OAAO,CAAA;AACxI,SAASA,EAAEC,GAAG;AACZ,SAAOA,KAAKA,EAAE,cAAc,OAAO,UAAU,eAAe,KAAKA,GAAG,SAAS,IAAIA,EAAE,UAAUA;AAC/F;AACA,SAASC,EAAED,GAAG;AACZ,MAAI,OAAO,UAAU,eAAe,KAAKA,GAAG,YAAY,EAAG,QAAOA;AAClE,MAAIE,IAAIF,EAAE;AACV,MAAI,OAAOE,KAAK,YAAY;AAC1B,QAAIC,IAAI,SAASC,IAAI;AACnB,aAAO,gBAAgBA,IAAI,QAAQ,UAAUF,GAAG,WAAW,KAAK,WAAW,IAAIA,EAAE,MAAM,MAAM,SAAS;AAAA,IACxG;AACA,IAAAC,EAAE,YAAYD,EAAE;AAAA,EAClB,MAAO,CAAAC,IAAI,CAAA;AACX,SAAO,OAAO,eAAeA,GAAG,cAAc,EAAE,OAAO,GAAE,CAAE,GAAG,OAAO,KAAKH,CAAC,EAAE,QAAQ,SAASI,GAAG;AAC/F,QAAI,IAAI,OAAO,yBAAyBJ,GAAGI,CAAC;AAC5C,WAAO,eAAeD,GAAGC,GAAG,EAAE,MAAM,IAAI;AAAA,MACtC,YAAY;AAAA,MACZ,KAAK,WAAW;AACd,eAAOJ,EAAEI,CAAC;AAAA,MACZ;AAAA,IACN,CAAK;AAAA,EACH,CAAC,GAAGD;AACN;"}