@banch0u/core-project-test-repository 1.8.4 → 1.9.0

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 (60) hide show
  1. package/dist/assets/css/antd.css +723 -0
  2. package/dist/assets/icons/index.js +182 -0
  3. package/dist/components/Button/index.module.scss +14 -2
  4. package/dist/components/Delete/Delete.js +22 -0
  5. package/dist/components/Delete/Delete.module.scss +22 -0
  6. package/dist/components/DeleteModal/DeleteModal.js +31 -0
  7. package/dist/components/DeleteModal/DeleteModal.module.scss +11 -0
  8. package/dist/components/Filter/index.js +1 -1
  9. package/dist/components/Input/index.js +1 -2
  10. package/dist/components/Input/index.module.scss +21 -12
  11. package/dist/components/ProfileOptions/index.module.scss +3 -3
  12. package/dist/components/Success/Success.js +19 -0
  13. package/dist/components/Success/Success.module.scss +26 -0
  14. package/dist/components/Table/index.js +4 -2
  15. package/dist/components/ViewModal/index.js +30 -0
  16. package/dist/helpers/paginationLength.js +3 -0
  17. package/dist/helpers/querySearch.js +22 -0
  18. package/dist/index.js +2 -0
  19. package/dist/layout/Header/AppSelect/index.js +28 -9
  20. package/dist/layout/Header/AppSelect/index.module.scss +6 -1
  21. package/dist/layout/Portal/index.js +23 -0
  22. package/dist/layout/QuestionnairesLayout/index.js +17 -0
  23. package/dist/layout/QuestionnairesLayout/index.module.scss +0 -0
  24. package/dist/layout/QuestionnairesSidebar/index.js +126 -0
  25. package/dist/layout/QuestionnairesSidebar/index.module.scss +76 -0
  26. package/dist/pages/Questionnnaires/Questionnaires.module.scss +194 -0
  27. package/dist/pages/Questionnnaires/QuestionnairesApplicationFormContent/constant.js +58 -0
  28. package/dist/pages/Questionnnaires/QuestionnairesApplicationFormContent/index.js +255 -0
  29. package/dist/pages/Questionnnaires/QuestionnairesCountriesContent/constant.js +58 -0
  30. package/dist/pages/Questionnnaires/QuestionnairesCountriesContent/index.js +247 -0
  31. package/dist/pages/Questionnnaires/QuestionnairesDeliveryMethodContent/constant.js +58 -0
  32. package/dist/pages/Questionnnaires/QuestionnairesDeliveryMethodContent/index.js +247 -0
  33. package/dist/pages/Questionnnaires/QuestionnairesDocumentRecieveMethodsContent/constant.js +58 -0
  34. package/dist/pages/Questionnnaires/QuestionnairesDocumentRecieveMethodsContent/index.js +258 -0
  35. package/dist/pages/Questionnnaires/QuestionnairesDocumentTypeContent/constant.js +58 -0
  36. package/dist/pages/Questionnnaires/QuestionnairesDocumentTypeContent/index.js +284 -0
  37. package/dist/pages/Questionnnaires/QuestionnairesDocumentWhomContent/constant.js +82 -0
  38. package/dist/pages/Questionnnaires/QuestionnairesDocumentWhomContent/index.js +331 -0
  39. package/dist/pages/Questionnnaires/QuestionnairesExecutionRulesContent/constant.js +58 -0
  40. package/dist/pages/Questionnnaires/QuestionnairesExecutionRulesContent/index.js +258 -0
  41. package/dist/pages/Questionnnaires/QuestionnairesMarginNoteTextsContent/constant.js +58 -0
  42. package/dist/pages/Questionnnaires/QuestionnairesMarginNoteTextsContent/index.js +249 -0
  43. package/dist/pages/Questionnnaires/QuestionnairesOrganizationsContent/constant.js +88 -0
  44. package/dist/pages/Questionnnaires/QuestionnairesOrganizationsContent/index.js +320 -0
  45. package/dist/pages/Questionnnaires/QuestionnairesStreetsContent/constant.js +58 -0
  46. package/dist/pages/Questionnnaires/QuestionnairesStreetsContent/index.js +240 -0
  47. package/dist/pages/Questionnnaires/QuestionnairesStructuresContent/constant.js +58 -0
  48. package/dist/pages/Questionnnaires/QuestionnairesStructuresContent/index.js +247 -0
  49. package/dist/pages/Questionnnaires/QuestionnairesSubtopicContent/constant.js +58 -0
  50. package/dist/pages/Questionnnaires/QuestionnairesSubtopicContent/index.js +317 -0
  51. package/dist/pages/Questionnnaires/QuestionnairesTopicContent/constant.js +58 -0
  52. package/dist/pages/Questionnnaires/QuestionnairesTopicContent/index.js +271 -0
  53. package/dist/pages/Questionnnaires/index.js +5 -0
  54. package/dist/routes/QuestionnaireRoutes.js +108 -0
  55. package/dist/store/slices/global/index.js +96 -3
  56. package/dist/store/slices/questionnaire/index.js +2500 -0
  57. package/dist/store/slices/questionnaire/service.js +1557 -0
  58. package/dist/store/store.js +2 -1
  59. package/dist/utils/path.js +30 -1
  60. package/package.json +2 -1
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { Layout } from "antd";
3
+ import { Outlet } from "react-router-dom";
4
+ import QuestionnairesSidebar from "../QuestionnairesSidebar";
5
+ import style from "./index.module.scss";
6
+ var Content = Layout.Content;
7
+ var QuestionnairesLayout = function QuestionnairesLayout(_ref) {
8
+ var allowed = _ref.allowed;
9
+ return /*#__PURE__*/React.createElement(Layout, {
10
+ className: style.layout
11
+ }, /*#__PURE__*/React.createElement(QuestionnairesSidebar, {
12
+ allowed: allowed
13
+ }), /*#__PURE__*/React.createElement(Content, {
14
+ className: style.content
15
+ }, /*#__PURE__*/React.createElement(Outlet, null)));
16
+ };
17
+ export default QuestionnairesLayout;
@@ -0,0 +1,126 @@
1
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
+ import React, { useState } from "react";
3
+ import { Link, useLocation } from "react-router-dom";
4
+ import style from "./index.module.scss";
5
+ import { Layout, Menu, Input } from "antd";
6
+ import { DOCUMENT_CIRCULATION_QUESTIONNAIRES_APPLICATION_FORMS, DOCUMENT_CIRCULATION_QUESTIONNAIRES_COUNTRIES, DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS, DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_TYPES, DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_WHOM, DOCUMENT_CIRCULATION_QUESTIONNAIRES_EXECUTION_RULES, DOCUMENT_CIRCULATION_QUESTIONNAIRES_MARGIN_NOTE_TEXTS, DOCUMENT_CIRCULATION_QUESTIONNAIRES_ORGANIZATIONS, DOCUMENT_CIRCULATION_QUESTIONNAIRES_STREETS, DOCUMENT_CIRCULATION_QUESTIONNAIRES_STRUCTURES, DOCUMENT_CIRCULATION_QUESTIONNAIRES_SUBTOPIC, DOCUMENT_CIRCULATION_QUESTIONNAIRES_TOPIC, SETTINGS_QUESTIONNAIRES_APPLICATION_FORMS, SETTINGS_QUESTIONNAIRES_COUNTRIES, SETTINGS_QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS, SETTINGS_QUESTIONNAIRES_DOCUMENT_TYPES, SETTINGS_QUESTIONNAIRES_DOCUMENT_WHOM, SETTINGS_QUESTIONNAIRES_EXECUTION_RULES, SETTINGS_QUESTIONNAIRES_MARGIN_NOTE_TEXTS, SETTINGS_QUESTIONNAIRES_ORGANIZATIONS, SETTINGS_QUESTIONNAIRES_STREETS, SETTINGS_QUESTIONNAIRES_STRUCTURES, SETTINGS_QUESTIONNAIRES_SUBTOPIC, SETTINGS_QUESTIONNAIRES_TOPIC } from "../../utils/path";
7
+ import { SearchIcon } from "../../assets/icons";
8
+ var Sider = Layout.Sider;
9
+ var SubMenu = Menu.SubMenu;
10
+ var QuestionnairesSidebar = function QuestionnairesSidebar(_ref) {
11
+ var selectedKey = _ref.selectedKey,
12
+ _ref$allowed = _ref.allowed,
13
+ allowed = _ref$allowed === void 0 ? [] : _ref$allowed;
14
+ var _useState = useState(""),
15
+ _useState2 = _slicedToArray(_useState, 2),
16
+ searchQuery = _useState2[0],
17
+ setSearchQuery = _useState2[1];
18
+ var location = useLocation();
19
+ var mainPath = "/".concat(location.pathname.split("/")[1]);
20
+ var items = [{
21
+ key: "topic",
22
+ label: "Mövzular",
23
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_TOPIC : DOCUMENT_CIRCULATION_QUESTIONNAIRES_TOPIC
24
+ }, {
25
+ key: "subtopic",
26
+ label: "Alt mövzular",
27
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_SUBTOPIC : DOCUMENT_CIRCULATION_QUESTIONNAIRES_SUBTOPIC
28
+ }, {
29
+ key: "executionRules",
30
+ label: "İcra qaydaları",
31
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_EXECUTION_RULES : DOCUMENT_CIRCULATION_QUESTIONNAIRES_EXECUTION_RULES
32
+ }, {
33
+ key: "document-recieve-methods",
34
+ label: "Daxil olma yolları",
35
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_RECIEVE_METHODS
36
+ }, {
37
+ key: "documentType",
38
+ label: "Sənəd Növləri",
39
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_DOCUMENT_TYPES : DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_TYPES
40
+ }, {
41
+ key: "country",
42
+ label: "Ölkələr",
43
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_COUNTRIES : DOCUMENT_CIRCULATION_QUESTIONNAIRES_COUNTRIES
44
+ }, {
45
+ key: "street",
46
+ label: "Küçələr",
47
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_STREETS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_STREETS
48
+ }, {
49
+ key: "organization",
50
+ label: "Təşkilatlar",
51
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_ORGANIZATIONS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_ORGANIZATIONS
52
+ }, {
53
+ key: "structure",
54
+ label: "Strukturlar",
55
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_STRUCTURES : DOCUMENT_CIRCULATION_QUESTIONNAIRES_STRUCTURES
56
+ }, {
57
+ key: "application_form",
58
+ label: "Müraciət formaları",
59
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_APPLICATION_FORMS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_APPLICATION_FORMS
60
+ }, {
61
+ key: "document_whom",
62
+ label: "Şəxslər",
63
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_DOCUMENT_WHOM : DOCUMENT_CIRCULATION_QUESTIONNAIRES_DOCUMENT_WHOM
64
+ }, {
65
+ key: "margin_note_texts",
66
+ label: "Dərkənar mətni",
67
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_MARGIN_NOTE_TEXTS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_MARGIN_NOTE_TEXTS
68
+ }, {
69
+ key: "brands",
70
+ label: "Brendlər",
71
+ link: mainPath === "/settings" ? SETTINGS_QUESTIONNAIRES_MARGIN_NOTE_TEXTS : DOCUMENT_CIRCULATION_QUESTIONNAIRES_MARGIN_NOTE_TEXTS
72
+ }];
73
+ var sortedItems = items.sort(function (a, b) {
74
+ return a.label.localeCompare(b.label);
75
+ });
76
+ var filteredItems = sortedItems.filter(function (item) {
77
+ return item.label.toLowerCase().includes(searchQuery.toLowerCase()) && allowed[item.key];
78
+ } // ✅ Check if allowed true
79
+ );
80
+ var defaultOpenKeys = items.filter(function (item) {
81
+ return item.children && item.children.some(function (child) {
82
+ return child.key === selectedKey;
83
+ });
84
+ }).map(function (item) {
85
+ return item.key;
86
+ });
87
+ var renderMenuItems = function renderMenuItems(items) {
88
+ return items.map(function (item) {
89
+ return /*#__PURE__*/React.createElement(Menu.Item, {
90
+ key: item.key,
91
+ icon: item.icon
92
+ }, /*#__PURE__*/React.createElement(Link, {
93
+ to: item.link
94
+ }, item.label));
95
+ });
96
+ };
97
+ return /*#__PURE__*/React.createElement(Sider, {
98
+ width: 256,
99
+ className: style.sidebar
100
+ }, /*#__PURE__*/React.createElement("div", {
101
+ className: style.logo
102
+ }, /*#__PURE__*/React.createElement("h2", null, "Soraq\xE7alar")), /*#__PURE__*/React.createElement("div", {
103
+ className: style.search
104
+ }, /*#__PURE__*/React.createElement(Input, {
105
+ onChange: function onChange(e) {
106
+ var _e$target;
107
+ return setSearchQuery(e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
108
+ },
109
+ placeholder: "Axtar",
110
+ className: style.search_input,
111
+ suffix: /*#__PURE__*/React.createElement("div", {
112
+ className: style.search_icon
113
+ }, /*#__PURE__*/React.createElement(SearchIcon, null))
114
+ })), /*#__PURE__*/React.createElement("div", {
115
+ className: "questionnaires_menu",
116
+ style: {
117
+ overflowY: "auto",
118
+ maxHeight: "calc(100vh - 325px)"
119
+ }
120
+ }, /*#__PURE__*/React.createElement(Menu, {
121
+ defaultSelectedKeys: [selectedKey],
122
+ defaultOpenKeys: defaultOpenKeys,
123
+ className: style.menu
124
+ }, renderMenuItems(filteredItems))));
125
+ };
126
+ export default QuestionnairesSidebar;
@@ -0,0 +1,76 @@
1
+ .sidebar {
2
+ background: #fff !important;
3
+ border-radius: 12px;
4
+ border: none;
5
+ position: relative;
6
+ margin: 20px;
7
+ margin-right: 0;
8
+ .logo {
9
+ margin-top: 20px;
10
+ margin-bottom: 18px;
11
+ text-align: center;
12
+ h2 {
13
+ font-family: Inter;
14
+ font-size: 24px;
15
+ font-weight: 600;
16
+ line-height: 20px;
17
+ text-align: center;
18
+ color: var(--darkBlueColor);
19
+ }
20
+ }
21
+ .search {
22
+ padding: 0 14px;
23
+ margin-bottom: 6px;
24
+ .search_input {
25
+ width: 100%;
26
+ margin: 0 auto;
27
+ display: flex;
28
+ justify-content: center;
29
+ height: 36px;
30
+ font-size: 16px !important;
31
+ font-weight: 500 !important;
32
+ line-height: 24px !important;
33
+ text-align: left !important;
34
+ border-radius: 6px;
35
+ padding: 6px 10px !important;
36
+ .search_icon {
37
+ display: flex;
38
+ align-items: center;
39
+ cursor: pointer;
40
+ svg {
41
+ path {
42
+ transition: 250ms;
43
+ }
44
+ }
45
+ svg:hover {
46
+ path {
47
+ stroke: var(--darkBlueColor);
48
+ transition: 250ms;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ .menu {
55
+ background: #fff;
56
+ border: none;
57
+ border-right: 0;
58
+ border-radius: 12px 12px 0 0;
59
+ margin-top: 0px;
60
+ li {
61
+ margin-inline: 14px;
62
+ width: 90%;
63
+ border-radius: 4px;
64
+ color: #828282;
65
+ // background: #f2f2f2;
66
+ font-family: Inter;
67
+ font-size: 18px;
68
+ font-weight: 500;
69
+ text-align: left;
70
+ height: 42px;
71
+ span {
72
+ margin-left: 8px;
73
+ }
74
+ }
75
+ }
76
+ }
@@ -0,0 +1,194 @@
1
+ .layout {
2
+ margin: 20px;
3
+ border-radius: 12px;
4
+ height: auto;
5
+ background: unset;
6
+ .content {
7
+ margin-bottom: 30px;
8
+ background: #fff;
9
+ border-radius: 12px;
10
+ max-height: calc(100vh - 85px) !important;
11
+ overflow: hidden;
12
+ .table_header {
13
+ padding: 14px;
14
+ padding-bottom: 18px;
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ h2 {
19
+ font-size: 26px;
20
+ font-weight: 500;
21
+ line-height: 39px;
22
+ text-align: left;
23
+ }
24
+ .buttons {
25
+ display: flex;
26
+ gap: 10px;
27
+ .search {
28
+ width: 168px;
29
+ margin: 0 auto;
30
+ display: flex;
31
+ justify-content: center;
32
+ height: 36px;
33
+ font-size: 16px !important;
34
+ font-weight: 500 !important;
35
+ line-height: 24px !important;
36
+ text-align: left !important;
37
+ border-radius: 6px;
38
+ padding: 6px 10px !important;
39
+ .search_icon {
40
+ display: flex;
41
+ align-items: center;
42
+ cursor: pointer;
43
+ svg {
44
+ path {
45
+ transition: 250ms;
46
+ }
47
+ }
48
+ svg:hover {
49
+ path {
50
+ stroke: var(--darkBlueColor);
51
+ transition: 250ms;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ .layout1 {
60
+ // margin-left: 24px;
61
+ // margin-right: 20px;
62
+ // margin-top: 20px;
63
+ border-radius: 12px;
64
+ height: auto;
65
+ background: unset;
66
+ .content {
67
+ margin-bottom: 0px;
68
+ background: #fff !important;
69
+ border-radius: 12px;
70
+ max-height: calc(100vh - 85px) !important;
71
+ overflow: hidden;
72
+ display: block;
73
+ border: 1px solid var(--blue);
74
+ padding: 0 !important;
75
+ padding-bottom: 10px !important;
76
+
77
+ table {
78
+ // th {
79
+ // text-align: left !important;
80
+ // padding-left: 5px !important;
81
+ // }
82
+ th:nth-child(2),
83
+ th:nth-child(3) {
84
+ text-align: left !important;
85
+ padding-left: 20px !important;
86
+ }
87
+
88
+ // td {
89
+ // text-align: left !important;
90
+ // padding-left: 5px !important;
91
+ // }
92
+ td:nth-child(2),
93
+ td:nth-child(3) {
94
+ text-align: left !important;
95
+ padding-left: 20px !important;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ .content:first-child {
101
+ // display: flex;
102
+ justify-content: space-between;
103
+ align-items: center;
104
+ padding: 0;
105
+ flex: unset;
106
+ padding: 15px;
107
+ margin-bottom: 20px;
108
+ background: var(--lightBlue);
109
+
110
+ .header {
111
+ display: flex;
112
+ width: 100%;
113
+ justify-content: space-between;
114
+ align-items: center;
115
+ button {
116
+ width: unset;
117
+ }
118
+ }
119
+ }
120
+
121
+ .pagination {
122
+ margin-left: 15px;
123
+ margin-top: 1px;
124
+ display: flex;
125
+ gap: 10px;
126
+ align-items: center;
127
+ p {
128
+ margin-top: 10px;
129
+ }
130
+ }
131
+ }
132
+
133
+ .search_filter {
134
+ button {
135
+ padding: 4px 8px;
136
+ font-size: 12px;
137
+ display: flex;
138
+ align-items: center;
139
+ justify-content: center;
140
+ gap: 2px;
141
+ width: 90px;
142
+ }
143
+ }
144
+
145
+ .number {
146
+ display: flex;
147
+ align-items: center;
148
+ justify-content: space-between;
149
+ p {
150
+ font-family: Inter !important;
151
+ font-size: 18px !important;
152
+ font-weight: 400 !important;
153
+ line-height: 21.78px !important;
154
+ }
155
+ .actions {
156
+ margin-left: 8%;
157
+ display: flex;
158
+ justify-content: center;
159
+ vertical-align: middle;
160
+ background: transparent !important;
161
+ margin-right: 9px;
162
+ gap: 10px;
163
+ svg {
164
+ cursor: pointer;
165
+ }
166
+ }
167
+ }
168
+ .actions > div {
169
+ background: #deeaf6;
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ padding: 3px;
174
+ border-radius: 4px;
175
+ }
176
+ .actions > div:last-child {
177
+ background: #f6dedf;
178
+ display: flex;
179
+ align-items: center;
180
+ justify-content: center;
181
+ padding: 3px;
182
+ border-radius: 4px;
183
+ }
184
+ .modal_input {
185
+ // padding: 9px 16px !important;
186
+ // border: 1px solid #bdbdbd !important;
187
+ border-radius: 6px !important;
188
+ font-size: 16px !important;
189
+ font-weight: 500 !important;
190
+ line-height: 24px !important;
191
+ text-align: left !important;
192
+ height: 48px;
193
+ width: 100%;
194
+ }
@@ -0,0 +1,58 @@
1
+ import React from "react";
2
+ import { Switch, Tooltip } from "antd";
3
+ import style from "../Questionnaires.module.scss";
4
+ import { setDeleteModalVisible } from "../../../store/slices/global";
5
+ import { DeleteIconQ, EditIcon } from "../../../assets/icons";
6
+ export var getStreetColumns = function getStreetColumns(onEditClick, onDelete, onStatusChange, dispatch, innerW) {
7
+ return [{
8
+ title: "№",
9
+ dataIndex: "num",
10
+ showCheckbox: false,
11
+ ellipsis: true,
12
+ width: 35
13
+ }, {
14
+ title: "Mövzu",
15
+ dataIndex: "name",
16
+ width: innerW,
17
+ disabled: true,
18
+ ellipsis: true
19
+ }, {
20
+ title: "Status",
21
+ key: "status",
22
+ disabled: true,
23
+ filter: false,
24
+ render: function render(data) {
25
+ return /*#__PURE__*/React.createElement(Tooltip, {
26
+ placement: "top",
27
+ title: "Statusu d\u0259yi\u015F"
28
+ }, /*#__PURE__*/React.createElement(Switch, {
29
+ size: "medium",
30
+ checked: data === null || data === void 0 ? void 0 : data.isActive,
31
+ onChange: function onChange(checked) {
32
+ return onStatusChange(data, checked, dispatch);
33
+ }
34
+ }));
35
+ }
36
+ }, {
37
+ title: "",
38
+ key: "actions",
39
+ showCheckbox: false,
40
+ width: 80,
41
+ render: function render(data) {
42
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
43
+ className: style.number
44
+ }, /*#__PURE__*/React.createElement("div", {
45
+ className: style.actions
46
+ }, /*#__PURE__*/React.createElement("div", {
47
+ onClick: function onClick() {
48
+ return onEditClick(data);
49
+ }
50
+ }, /*#__PURE__*/React.createElement(EditIcon, null)), /*#__PURE__*/React.createElement("div", {
51
+ onClick: function onClick() {
52
+ onDelete(data === null || data === void 0 ? void 0 : data.id);
53
+ dispatch(setDeleteModalVisible(true));
54
+ }
55
+ }, /*#__PURE__*/React.createElement(DeleteIconQ, null)))));
56
+ }
57
+ }];
58
+ };