aq-fe-framework 0.1.39 → 0.1.41

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.
@@ -20,12 +20,12 @@ import {
20
20
  createGenericStore,
21
21
  groupToTwoLevels,
22
22
  utils_layout_getItemsWithoutLinks
23
- } from "../../../chunk-HI66LEBI.mjs";
23
+ } from "../../../chunk-7C3TEWTW.mjs";
24
24
  import {
25
25
  U0DateToDDMMYYYString,
26
26
  U0MyValidateEmail,
27
27
  utils_file_fileToAQDocumentType
28
- } from "../../../chunk-GHGYRQUR.mjs";
28
+ } from "../../../chunk-2MRECBKN.mjs";
29
29
  import {
30
30
  __objRest,
31
31
  __spreadProps,
@@ -53,7 +53,6 @@ import { useMemo } from "react";
53
53
  // src/modules-features/admin/core/core18256/F_core18256_Select.tsx
54
54
  import { Select } from "@mantine/core";
55
55
  import { useQuery } from "@tanstack/react-query";
56
- import { jsx } from "react/jsx-runtime";
57
56
  function F_core18256_Select(_a) {
58
57
  var _b = _a, { documentTypeId, label = "", dataMapper } = _b, rest = __objRest(_b, ["documentTypeId", "label", "dataMapper"]);
59
58
  var _a2, _b2;
@@ -73,7 +72,7 @@ function F_core18256_Select(_a) {
73
72
  label: `${item.code}-${item.name}`
74
73
  };
75
74
  });
76
- return /* @__PURE__ */ jsx(
75
+ return /* @__PURE__ */ React.createElement(
77
76
  Select,
78
77
  __spreadProps(__spreadValues({
79
78
  label,
@@ -87,12 +86,11 @@ function F_core18256_Select(_a) {
87
86
 
88
87
  // src/modules-features/admin/core/core12196/F_core12196_Create.tsx
89
88
  import { useForm } from "@mantine/form";
90
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
91
89
  function F_core12196_Create() {
92
90
  const form = useForm({
93
91
  mode: "uncontrolled"
94
92
  });
95
- return /* @__PURE__ */ jsxs(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
93
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
96
94
  return await baseAxios_default.post(
97
95
  "/Document/create",
98
96
  __spreadProps(__spreadValues({}, values), {
@@ -100,25 +98,16 @@ function F_core12196_Create() {
100
98
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
101
99
  })
102
100
  );
103
- }, children: [
104
- /* @__PURE__ */ jsx2(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
105
- /* @__PURE__ */ jsx2(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
106
- /* @__PURE__ */ jsx2(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
107
- /* @__PURE__ */ jsx2(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
108
- /* @__PURE__ */ jsx2(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
109
- /* @__PURE__ */ jsx2(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
110
- ] });
101
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
111
102
  }
112
103
 
113
104
  // src/modules-features/admin/core/core12196/F_core12196_Delete.tsx
114
- import { jsx as jsx3 } from "react/jsx-runtime";
115
105
  function F_core12196_Delete({ id }) {
116
- return /* @__PURE__ */ jsx3(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
106
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
117
107
  }
118
108
 
119
109
  // src/modules-features/admin/core/core12196/F_core12196_Update.tsx
120
110
  import { useForm as useForm2 } from "@mantine/form";
121
- import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
122
111
  function F_core12196_Update({ values }) {
123
112
  var _a;
124
113
  const form = useForm2({
@@ -127,22 +116,14 @@ function F_core12196_Update({ values }) {
127
116
  promulgateDate: new Date(values.promulgateDate)
128
117
  })
129
118
  });
130
- return /* @__PURE__ */ jsxs2(MyActionIconUpdate, { form, onSubmit: async (values2) => {
119
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
131
120
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
132
121
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
133
122
  }));
134
- }, children: [
135
- /* @__PURE__ */ jsx4(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
136
- /* @__PURE__ */ jsx4(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
137
- /* @__PURE__ */ jsx4(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
138
- /* @__PURE__ */ jsx4(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
139
- /* @__PURE__ */ jsx4(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
140
- /* @__PURE__ */ jsx4(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
141
- ] });
123
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
142
124
  }
143
125
 
144
126
  // src/modules-features/admin/core/core12196/F_core12196.tsx
145
- import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
146
127
  function F_core12196() {
147
128
  var _a, _b, _c;
148
129
  const documentAttributeQuery = useQuery2({
@@ -155,11 +136,11 @@ function F_core12196() {
155
136
  });
156
137
  if (documentAttributeQuery.isLoading) return "Loading...";
157
138
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
158
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx5(Blockquote, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
159
- return /* @__PURE__ */ jsx5(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx5(F_core12196_Create, {}), children: /* @__PURE__ */ jsx5(MyFlexColumn, { children: /* @__PURE__ */ jsx5(Accordion, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
139
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ React.createElement(Blockquote, { color: "yellow" }, "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n");
140
+ return /* @__PURE__ */ React.createElement(MyPageContent, { rightTopBar: /* @__PURE__ */ React.createElement(F_core12196_Create, null) }, /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(Accordion, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
160
141
  var _a2;
161
142
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
162
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx5(SubRead, { name: item.name, documentType: item.id }, idx)) }) }) });
143
+ }), multiple: true }, (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ React.createElement(SubRead, { key: idx, name: item.name, documentType: item.id })))));
163
144
  }
164
145
  function SubRead({ name, documentType }) {
165
146
  const documentQuery = useQuery2({
@@ -186,7 +167,7 @@ function SubRead({ name, documentType }) {
186
167
  {
187
168
  header: "File",
188
169
  accessorFn: (row) => {
189
- return /* @__PURE__ */ jsx5(MyCenterFull, { children: /* @__PURE__ */ jsx5(MyButtonViewPDF, { id: row.id }) });
170
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(MyButtonViewPDF, { id: row.id }));
190
171
  }
191
172
  }
192
173
  ],
@@ -194,20 +175,14 @@ function SubRead({ name, documentType }) {
194
175
  );
195
176
  if (documentQuery.isLoading) return "Loading...";
196
177
  if (documentQuery.isError) return "Error!";
197
- return /* @__PURE__ */ jsxs3(Accordion.Item, { value: documentType.toString(), children: [
198
- /* @__PURE__ */ jsx5(Accordion.Control, { children: name }),
199
- /* @__PURE__ */ jsx5(Accordion.Panel, { children: /* @__PURE__ */ jsx5(
200
- MyDataTable,
201
- {
202
- columns,
203
- data: documentQuery.data,
204
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs3(MyCenterFull, { children: [
205
- /* @__PURE__ */ jsx5(F_core12196_Update, { values: row.original }),
206
- /* @__PURE__ */ jsx5(F_core12196_Delete, { id: row.original.id })
207
- ] })
208
- }
209
- ) })
210
- ] });
178
+ return /* @__PURE__ */ React.createElement(Accordion.Item, { value: documentType.toString() }, /* @__PURE__ */ React.createElement(Accordion.Control, null, name), /* @__PURE__ */ React.createElement(Accordion.Panel, null, /* @__PURE__ */ React.createElement(
179
+ MyDataTable,
180
+ {
181
+ columns,
182
+ data: documentQuery.data,
183
+ renderRowActions: ({ row }) => /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core12196_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core12196_Delete, { id: row.original.id }))
184
+ }
185
+ )));
211
186
  }
212
187
 
213
188
  // src/modules-features/admin/core/core16209/F_core16209.tsx
@@ -217,12 +192,11 @@ import { useMemo as useMemo2 } from "react";
217
192
  // src/modules-features/admin/core/core16209/F_core16209_Create.tsx
218
193
  import { FileInput } from "@mantine/core";
219
194
  import { useForm as useForm3 } from "@mantine/form";
220
- import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
221
195
  function F_core16209_Create() {
222
196
  const form = useForm3({
223
197
  mode: "uncontrolled"
224
198
  });
225
- return /* @__PURE__ */ jsxs4(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
199
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
226
200
  return await baseAxios_default.post(
227
201
  "/Document/create",
228
202
  __spreadProps(__spreadValues({}, values), {
@@ -231,25 +205,17 @@ function F_core16209_Create() {
231
205
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
232
206
  })
233
207
  );
234
- }, children: [
235
- /* @__PURE__ */ jsx6(MyTextInput, __spreadValues({ label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u" }, form.getInputProps("departmentName"))),
236
- /* @__PURE__ */ jsx6(MyTextInput, __spreadValues({ label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn" }, form.getInputProps("description"))),
237
- /* @__PURE__ */ jsx6(MyDateInput, __spreadValues({ label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u" }, form.getInputProps("startDate"))),
238
- /* @__PURE__ */ jsx6(MyDateInput, __spreadValues({ label: "Ng\xE0y k\u1EBFt th\xFAc" }, form.getInputProps("endDate"))),
239
- /* @__PURE__ */ jsx6(FileInput, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
240
- ] });
208
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u" }, form.getInputProps("departmentName"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn" }, form.getInputProps("description"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u" }, form.getInputProps("startDate"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y k\u1EBFt th\xFAc" }, form.getInputProps("endDate"))), /* @__PURE__ */ React.createElement(FileInput, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file"))));
241
209
  }
242
210
 
243
211
  // src/modules-features/admin/core/core16209/F_core16209_Delete.tsx
244
- import { jsx as jsx7 } from "react/jsx-runtime";
245
212
  function F_core16209_Delete({ id }) {
246
- return /* @__PURE__ */ jsx7(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
213
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
247
214
  }
248
215
 
249
216
  // src/modules-features/admin/core/core16209/F_core16209_Update.tsx
250
217
  import { FileInput as FileInput2, TextInput } from "@mantine/core";
251
218
  import { useForm as useForm4 } from "@mantine/form";
252
- import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
253
219
  function F_core16209_Update({ values }) {
254
220
  var _a;
255
221
  const form = useForm4({
@@ -259,20 +225,14 @@ function F_core16209_Update({ values }) {
259
225
  promulgateDate: new Date(values.promulgateDate)
260
226
  })
261
227
  });
262
- return /* @__PURE__ */ jsxs5(MyActionIconUpdate, { form, onSubmit: async (values2) => {
228
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
263
229
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
264
230
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
265
231
  }));
266
- }, children: [
267
- /* @__PURE__ */ jsx8(TextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
268
- /* @__PURE__ */ jsx8(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
269
- /* @__PURE__ */ jsx8(TextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
270
- /* @__PURE__ */ jsx8(FileInput2, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
271
- ] });
232
+ } }, /* @__PURE__ */ React.createElement(TextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(TextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(FileInput2, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file"))));
272
233
  }
273
234
 
274
235
  // src/modules-features/admin/core/core16209/F_core16209.tsx
275
- import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
276
236
  function F_core16209() {
277
237
  const query = useQuery3({
278
238
  queryKey: ["F_core16209_Read"],
@@ -303,7 +263,7 @@ function F_core16209() {
303
263
  {
304
264
  header: "File",
305
265
  accessorFn: (row) => {
306
- return /* @__PURE__ */ jsx9(MyCenterFull, { children: /* @__PURE__ */ jsx9(MyButtonViewPDF, { id: row.id }) });
266
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(MyButtonViewPDF, { id: row.id }));
307
267
  }
308
268
  }
309
269
  ],
@@ -311,20 +271,17 @@ function F_core16209() {
311
271
  );
312
272
  if (query.isLoading) return "Loading...";
313
273
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
314
- return /* @__PURE__ */ jsx9(MyPageContent, { children: /* @__PURE__ */ jsx9(
274
+ return /* @__PURE__ */ React.createElement(MyPageContent, null, /* @__PURE__ */ React.createElement(
315
275
  MyDataTable,
316
276
  {
317
277
  columns,
318
278
  data: query.data,
319
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx9(F_core16209_Create, {}),
279
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ React.createElement(F_core16209_Create, null),
320
280
  renderRowActions: ({ row }) => {
321
- return /* @__PURE__ */ jsxs6(MyCenterFull, { children: [
322
- /* @__PURE__ */ jsx9(F_core16209_Update, { values: row.original }),
323
- /* @__PURE__ */ jsx9(F_core16209_Delete, { id: row.original.id })
324
- ] });
281
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core16209_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core16209_Delete, { id: row.original.id }));
325
282
  }
326
283
  }
327
- ) });
284
+ ));
328
285
  }
329
286
 
330
287
  // src/modules-features/admin/core/core18256/F_core18256.tsx
@@ -336,7 +293,6 @@ import { useMemo as useMemo3 } from "react";
336
293
 
337
294
  // src/modules-features/admin/core/core18256/F_core18256_Create.tsx
338
295
  import { useForm as useForm5 } from "@mantine/form";
339
- import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
340
296
  function F_core18256_Create({ documentType }) {
341
297
  const form = useForm5({
342
298
  mode: "uncontrolled",
@@ -349,16 +305,12 @@ function F_core18256_Create({ documentType }) {
349
305
  name: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
350
306
  }
351
307
  });
352
- return /* @__PURE__ */ jsxs7(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
353
- /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
354
- /* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
355
- ] });
308
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values) }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name"))));
356
309
  }
357
310
 
358
311
  // src/modules-features/admin/core/core18256/F_core18256_Delete.tsx
359
- import { jsx as jsx11 } from "react/jsx-runtime";
360
312
  function F_core18256_Delete({ id }) {
361
- return /* @__PURE__ */ jsx11(
313
+ return /* @__PURE__ */ React.createElement(
362
314
  MyActionIconDelete,
363
315
  {
364
316
  onSubmit: async () => await baseAxios_default.post("/DocumentAttribute/Delete", { id })
@@ -368,19 +320,14 @@ function F_core18256_Delete({ id }) {
368
320
 
369
321
  // src/modules-features/admin/core/core18256/F_core18256_Update.tsx
370
322
  import { useForm as useForm6 } from "@mantine/form";
371
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
372
323
  function F_core18256_Update({ values }) {
373
324
  const form = useForm6({
374
325
  initialValues: values
375
326
  });
376
- return /* @__PURE__ */ jsxs8(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
377
- /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
378
- /* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
379
- ] });
327
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2) }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name"))));
380
328
  }
381
329
 
382
330
  // src/modules-features/admin/core/core18256/F_core18256_Read.tsx
383
- import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
384
331
  function F_core18256_Read({ documentType }) {
385
332
  const documentAttributeQuery = useQuery4({
386
333
  queryKey: ["F_core18256_Read", documentType],
@@ -405,46 +352,37 @@ function F_core18256_Read({ documentType }) {
405
352
  );
406
353
  if (documentAttributeQuery.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
407
354
  if (documentAttributeQuery.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
408
- return /* @__PURE__ */ jsx13(
355
+ return /* @__PURE__ */ React.createElement(
409
356
  MyDataTable,
410
357
  {
411
358
  columns,
412
359
  enableRowNumbers: true,
413
360
  data: documentAttributeQuery.data,
414
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx13(F_core18256_Create, { documentType }),
361
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ React.createElement(F_core18256_Create, { documentType }),
415
362
  renderRowActions: ({ row }) => {
416
- return /* @__PURE__ */ jsxs9(MyCenterFull, { children: [
417
- /* @__PURE__ */ jsx13(F_core18256_Update, { values: row.original }),
418
- /* @__PURE__ */ jsx13(F_core18256_Delete, { id: row.original.id })
419
- ] });
363
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core18256_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core18256_Delete, { id: row.original.id }));
420
364
  }
421
365
  }
422
366
  );
423
367
  }
424
368
 
425
369
  // src/modules-features/admin/core/core18256/F_core18256.tsx
426
- import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
427
370
  var tabData = [
428
371
  { label: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh" },
429
372
  { label: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c" },
430
373
  { label: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu" }
431
374
  ];
432
375
  function F_core18256() {
433
- return /* @__PURE__ */ jsx14(MyPageContent, { children: /* @__PURE__ */ jsxs10(MyTab, { tabList: tabData, children: [
434
- /* @__PURE__ */ jsx14(Tabs.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh", children: /* @__PURE__ */ jsx14(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations }) }),
435
- /* @__PURE__ */ jsx14(Tabs.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", children: /* @__PURE__ */ jsx14(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow }) }),
436
- /* @__PURE__ */ jsx14(Tabs.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu", children: /* @__PURE__ */ jsx14(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }) })
437
- ] }) });
376
+ return /* @__PURE__ */ React.createElement(MyPageContent, null, /* @__PURE__ */ React.createElement(MyTab, { tabList: tabData }, /* @__PURE__ */ React.createElement(Tabs.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh" }, /* @__PURE__ */ React.createElement(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations })), /* @__PURE__ */ React.createElement(Tabs.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c" }, /* @__PURE__ */ React.createElement(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow })), /* @__PURE__ */ React.createElement(Tabs.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu" }, /* @__PURE__ */ React.createElement(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }))));
438
377
  }
439
378
 
440
379
  // src/modules-features/admin/core/core26965/F_core26965_Create.tsx
441
380
  import { useForm as useForm7 } from "@mantine/form";
442
- import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
443
381
  function F_core26965_Create() {
444
382
  const form = useForm7({
445
383
  mode: "uncontrolled"
446
384
  });
447
- return /* @__PURE__ */ jsxs11(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
385
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
448
386
  return await baseAxios_default.post(
449
387
  "/Document/create",
450
388
  __spreadProps(__spreadValues({}, values), {
@@ -452,14 +390,7 @@ function F_core26965_Create() {
452
390
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
453
391
  })
454
392
  );
455
- }, children: [
456
- /* @__PURE__ */ jsx15(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
457
- /* @__PURE__ */ jsx15(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
458
- /* @__PURE__ */ jsx15(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
459
- /* @__PURE__ */ jsx15(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
460
- /* @__PURE__ */ jsx15(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
461
- /* @__PURE__ */ jsx15(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
462
- ] });
393
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
463
394
  }
464
395
 
465
396
  // src/modules-features/admin/core/core26965/F_core26965_Read.tsx
@@ -468,14 +399,12 @@ import { useQuery as useQuery5 } from "@tanstack/react-query";
468
399
  import { useMemo as useMemo4 } from "react";
469
400
 
470
401
  // src/modules-features/admin/core/core26965/F_core26965_Delete.tsx
471
- import { jsx as jsx16 } from "react/jsx-runtime";
472
402
  function F_core26965_Delete({ id }) {
473
- return /* @__PURE__ */ jsx16(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
403
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
474
404
  }
475
405
 
476
406
  // src/modules-features/admin/core/core26965/F_core26965_Update.tsx
477
407
  import { useForm as useForm8 } from "@mantine/form";
478
- import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
479
408
  function F_core26965_Update({ values }) {
480
409
  var _a;
481
410
  const form = useForm8({
@@ -484,22 +413,14 @@ function F_core26965_Update({ values }) {
484
413
  promulgateDate: new Date(values.promulgateDate)
485
414
  })
486
415
  });
487
- return /* @__PURE__ */ jsxs12(MyActionIconUpdate, { form, onSubmit: async (values2) => {
416
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
488
417
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
489
418
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
490
419
  }));
491
- }, children: [
492
- /* @__PURE__ */ jsx17(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
493
- /* @__PURE__ */ jsx17(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
494
- /* @__PURE__ */ jsx17(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
495
- /* @__PURE__ */ jsx17(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
496
- /* @__PURE__ */ jsx17(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
497
- /* @__PURE__ */ jsx17(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
498
- ] });
420
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
499
421
  }
500
422
 
501
423
  // src/modules-features/admin/core/core26965/F_core26965_Read.tsx
502
- import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
503
424
  function F_core26965_Read() {
504
425
  var _a, _b, _c;
505
426
  const documentAttributeQuery = useQuery5({
@@ -512,11 +433,11 @@ function F_core26965_Read() {
512
433
  });
513
434
  if (documentAttributeQuery.isLoading) return "Loading...";
514
435
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
515
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx18(Blockquote2, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
516
- return /* @__PURE__ */ jsx18(MyFlexColumn, { children: /* @__PURE__ */ jsx18(Accordion2, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
436
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ React.createElement(Blockquote2, { color: "yellow" }, "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n");
437
+ return /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(Accordion2, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
517
438
  var _a2;
518
439
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
519
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx18(SubRead2, { name: item.name, documentType: item.id }, idx)) }) });
440
+ }), multiple: true }, (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ React.createElement(SubRead2, { key: idx, name: item.name, documentType: item.id }))));
520
441
  }
521
442
  function SubRead2({ name, documentType }) {
522
443
  const documentQuery = useQuery5({
@@ -543,7 +464,7 @@ function SubRead2({ name, documentType }) {
543
464
  {
544
465
  header: "File",
545
466
  accessorFn: (row) => {
546
- return /* @__PURE__ */ jsx18(MyCenterFull, { children: /* @__PURE__ */ jsx18(MyButtonViewPDF, { id: row.id }) });
467
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(MyButtonViewPDF, { id: row.id }));
547
468
  }
548
469
  }
549
470
  ],
@@ -551,36 +472,28 @@ function SubRead2({ name, documentType }) {
551
472
  );
552
473
  if (documentQuery.isLoading) return "Loading...";
553
474
  if (documentQuery.isError) return "Error!";
554
- return /* @__PURE__ */ jsxs13(Accordion2.Item, { value: documentType.toString(), children: [
555
- /* @__PURE__ */ jsx18(Accordion2.Control, { children: name }),
556
- /* @__PURE__ */ jsx18(Accordion2.Panel, { children: /* @__PURE__ */ jsx18(
557
- MyDataTable,
558
- {
559
- columns,
560
- data: documentQuery.data,
561
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs13(MyCenterFull, { children: [
562
- /* @__PURE__ */ jsx18(F_core26965_Update, { values: row.original }),
563
- /* @__PURE__ */ jsx18(F_core26965_Delete, { id: row.original.id })
564
- ] })
565
- }
566
- ) })
567
- ] });
475
+ return /* @__PURE__ */ React.createElement(Accordion2.Item, { value: documentType.toString() }, /* @__PURE__ */ React.createElement(Accordion2.Control, null, name), /* @__PURE__ */ React.createElement(Accordion2.Panel, null, /* @__PURE__ */ React.createElement(
476
+ MyDataTable,
477
+ {
478
+ columns,
479
+ data: documentQuery.data,
480
+ renderRowActions: ({ row }) => /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core26965_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core26965_Delete, { id: row.original.id }))
481
+ }
482
+ )));
568
483
  }
569
484
 
570
485
  // src/modules-features/admin/core/core26965/F_core26965.tsx
571
- import { jsx as jsx19 } from "react/jsx-runtime";
572
486
  function F_core26965() {
573
- return /* @__PURE__ */ jsx19(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx19(F_core26965_Create, {}), children: /* @__PURE__ */ jsx19(F_core26965_Read, {}) });
487
+ return /* @__PURE__ */ React.createElement(MyPageContent, { rightTopBar: /* @__PURE__ */ React.createElement(F_core26965_Create, null) }, /* @__PURE__ */ React.createElement(F_core26965_Read, null));
574
488
  }
575
489
 
576
490
  // src/modules-features/admin/core/core27311/F_core27311_Create.tsx
577
491
  import { useForm as useForm9 } from "@mantine/form";
578
- import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
579
492
  function F_core27311_Create() {
580
493
  const form = useForm9({
581
494
  mode: "uncontrolled"
582
495
  });
583
- return /* @__PURE__ */ jsxs14(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
496
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", form, onSubmit: async (values) => {
584
497
  return await baseAxios_default.post(
585
498
  "/Document/create",
586
499
  __spreadProps(__spreadValues({}, values), {
@@ -588,14 +501,7 @@ function F_core27311_Create() {
588
501
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
589
502
  })
590
503
  );
591
- }, children: [
592
- /* @__PURE__ */ jsx20(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
593
- /* @__PURE__ */ jsx20(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
594
- /* @__PURE__ */ jsx20(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
595
- /* @__PURE__ */ jsx20(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Workflow }, form.getInputProps("documentAttributeId"))),
596
- /* @__PURE__ */ jsx20(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
597
- /* @__PURE__ */ jsx20(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
598
- ] });
504
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Workflow }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
599
505
  }
600
506
 
601
507
  // src/modules-features/admin/core/core27311/F_core27311_Read.tsx
@@ -604,14 +510,12 @@ import { useQuery as useQuery6 } from "@tanstack/react-query";
604
510
  import { useMemo as useMemo5 } from "react";
605
511
 
606
512
  // src/modules-features/admin/core/core27311/F_core27311_Delete.tsx
607
- import { jsx as jsx21 } from "react/jsx-runtime";
608
513
  function F_core27311_Delete({ id }) {
609
- return /* @__PURE__ */ jsx21(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
514
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
610
515
  }
611
516
 
612
517
  // src/modules-features/admin/core/core27311/F_core27311_Update.tsx
613
518
  import { useForm as useForm10 } from "@mantine/form";
614
- import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
615
519
  function F_core27311_Update({ values }) {
616
520
  var _a;
617
521
  const form = useForm10({
@@ -620,22 +524,14 @@ function F_core27311_Update({ values }) {
620
524
  promulgateDate: new Date(values.promulgateDate)
621
525
  })
622
526
  });
623
- return /* @__PURE__ */ jsxs15(MyActionIconUpdate, { form, onSubmit: async (values2) => {
527
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
624
528
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
625
529
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
626
530
  }));
627
- }, children: [
628
- /* @__PURE__ */ jsx22(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
629
- /* @__PURE__ */ jsx22(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
630
- /* @__PURE__ */ jsx22(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
631
- /* @__PURE__ */ jsx22(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
632
- /* @__PURE__ */ jsx22(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
633
- /* @__PURE__ */ jsx22(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
634
- ] });
531
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))), /* @__PURE__ */ React.createElement(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))), /* @__PURE__ */ React.createElement(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy"))));
635
532
  }
636
533
 
637
534
  // src/modules-features/admin/core/core27311/F_core27311_Read.tsx
638
- import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
639
535
  function F_core27311_Read() {
640
536
  var _a, _b, _c;
641
537
  const documentAttributeQuery = useQuery6({
@@ -648,11 +544,11 @@ function F_core27311_Read() {
648
544
  });
649
545
  if (documentAttributeQuery.isLoading) return "Loading...";
650
546
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
651
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx23(Blockquote3, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
652
- return /* @__PURE__ */ jsx23(MyFlexColumn, { children: /* @__PURE__ */ jsx23(Accordion3, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
547
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ React.createElement(Blockquote3, { color: "yellow" }, "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n");
548
+ return /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(Accordion3, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
653
549
  var _a2;
654
550
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
655
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx23(SubRead3, { name: item.name, documentType: item.id }, idx)) }) });
551
+ }), multiple: true }, (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ React.createElement(SubRead3, { key: idx, name: item.name, documentType: item.id }))));
656
552
  }
657
553
  function SubRead3({ name, documentType }) {
658
554
  const documentQuery = useQuery6({
@@ -679,7 +575,7 @@ function SubRead3({ name, documentType }) {
679
575
  {
680
576
  header: "File",
681
577
  accessorFn: (row) => {
682
- return /* @__PURE__ */ jsx23(MyCenterFull, { children: /* @__PURE__ */ jsx23(MyButtonViewPDF, { id: row.id }) });
578
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(MyButtonViewPDF, { id: row.id }));
683
579
  }
684
580
  }
685
581
  ],
@@ -687,26 +583,19 @@ function SubRead3({ name, documentType }) {
687
583
  );
688
584
  if (documentQuery.isLoading) return "Loading...";
689
585
  if (documentQuery.isError) return "Error!";
690
- return /* @__PURE__ */ jsxs16(Accordion3.Item, { value: documentType.toString(), children: [
691
- /* @__PURE__ */ jsx23(Accordion3.Control, { children: name }),
692
- /* @__PURE__ */ jsx23(Accordion3.Panel, { children: /* @__PURE__ */ jsx23(
693
- MyDataTable,
694
- {
695
- columns,
696
- data: documentQuery.data,
697
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs16(MyCenterFull, { children: [
698
- /* @__PURE__ */ jsx23(F_core27311_Update, { values: row.original }),
699
- /* @__PURE__ */ jsx23(F_core27311_Delete, { id: row.original.id })
700
- ] })
701
- }
702
- ) })
703
- ] });
586
+ return /* @__PURE__ */ React.createElement(Accordion3.Item, { value: documentType.toString() }, /* @__PURE__ */ React.createElement(Accordion3.Control, null, name), /* @__PURE__ */ React.createElement(Accordion3.Panel, null, /* @__PURE__ */ React.createElement(
587
+ MyDataTable,
588
+ {
589
+ columns,
590
+ data: documentQuery.data,
591
+ renderRowActions: ({ row }) => /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core27311_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core27311_Delete, { id: row.original.id }))
592
+ }
593
+ )));
704
594
  }
705
595
 
706
596
  // src/modules-features/admin/core/core27311/F_core27311.tsx
707
- import { jsx as jsx24 } from "react/jsx-runtime";
708
597
  function F_core27311() {
709
- return /* @__PURE__ */ jsx24(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx24(F_core27311_Create, {}), children: /* @__PURE__ */ jsx24(F_core27311_Read, {}) });
598
+ return /* @__PURE__ */ React.createElement(MyPageContent, { rightTopBar: /* @__PURE__ */ React.createElement(F_core27311_Create, null) }, /* @__PURE__ */ React.createElement(F_core27311_Read, null));
710
599
  }
711
600
 
712
601
  // src/modules-features/admin/core/core38677/F_core38677.tsx
@@ -766,7 +655,6 @@ function utils_core83092_mergePage(arr1, arr2) {
766
655
  }
767
656
 
768
657
  // src/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx
769
- import { jsx as jsx25 } from "react/jsx-runtime";
770
658
  function F_core38677_ReadUser() {
771
659
  const store = useS_core83092();
772
660
  const query = useQ_Account_GetAdminAccount();
@@ -799,7 +687,7 @@ function F_core38677_ReadUser() {
799
687
  }, [query.data]);
800
688
  if (query.isLoading) return "Loading...";
801
689
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
802
- return /* @__PURE__ */ jsx25(Container, { fluid: true, children: /* @__PURE__ */ jsx25(
690
+ return /* @__PURE__ */ React.createElement(Container, { fluid: true }, /* @__PURE__ */ React.createElement(
803
691
  MyDataTable,
804
692
  {
805
693
  columns,
@@ -817,7 +705,7 @@ function F_core38677_ReadUser() {
817
705
  }),
818
706
  state: rowSelection
819
707
  }
820
- ) });
708
+ ));
821
709
  }
822
710
  function useQ_Account_GetAdminAccount() {
823
711
  const query = useQuery7({
@@ -835,7 +723,6 @@ function useQ_Account_GetAdminAccount() {
835
723
  // src/modules-features/admin/core/core38677/F_core38677_Save.tsx
836
724
  import { useMutation } from "@tanstack/react-query";
837
725
  import { useEffect as useEffect2, useState as useState2 } from "react";
838
- import { jsx as jsx26 } from "react/jsx-runtime";
839
726
  function F_core38677_Save() {
840
727
  const store = useS_core83092();
841
728
  const disable = useState2(false);
@@ -864,7 +751,7 @@ function F_core38677_Save() {
864
751
  }
865
752
  disable[1](false);
866
753
  }, [store.state.rolePermissions]);
867
- return /* @__PURE__ */ jsx26(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
754
+ return /* @__PURE__ */ React.createElement(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
868
755
  }
869
756
 
870
757
  // src/data/menuData.ts
@@ -879,7 +766,8 @@ var menuData = [
879
766
  { name: "Document categories", label: "Danh m\u1EE5c lo\u1EA1i v\u0103n b\u1EA3n", link: "core18256" },
880
767
  { pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
881
768
  { pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
882
- { pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
769
+ { pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" },
770
+ { pageId: 0, name: "Ch\u01B0a \u0111\u1EB7t", label: "Danh m\u1EE5c c\u1EA5u h\xECnh mail", link: "core64229", status: "Default" }
883
771
  ]
884
772
  },
885
773
  {
@@ -1004,8 +892,7 @@ var menuData = [
1004
892
  import { Checkbox, Flex, ScrollArea, Table, Text } from "@mantine/core";
1005
893
  import { IconEdit, IconEyeUp, IconFileExport, IconPlus, IconPrinter, IconTrash } from "@tabler/icons-react";
1006
894
  import { useQuery as useQuery8 } from "@tanstack/react-query";
1007
- import React, { useEffect as useEffect3, useState as useState3 } from "react";
1008
- import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
895
+ import React2, { useEffect as useEffect3, useState as useState3 } from "react";
1009
896
  var title = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
1010
897
  function F_core38677_ViewMenuPermissions() {
1011
898
  var _a, _b;
@@ -1020,173 +907,107 @@ function F_core38677_ViewMenuPermissions() {
1020
907
  store.setProperty("rolePermissions", query.data);
1021
908
  }, [query.data]);
1022
909
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
1023
- return /* @__PURE__ */ jsx27(ScrollArea.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs17(Table, { children: [
1024
- /* @__PURE__ */ jsx27(
1025
- Table.Thead,
1026
- {
1027
- bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
1028
- style: {
1029
- position: "sticky",
1030
- top: 0,
1031
- zIndex: 1,
1032
- boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
1033
- border: "1px solid var(--mantine-color-gray-4)"
1034
- },
1035
- children: /* @__PURE__ */ jsxs17(Table.Tr, { children: [
1036
- /* @__PURE__ */ jsx27(Table.Th, { children: title }),
1037
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1038
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isRead"), onChange: (e) => {
1039
- store.toogleAllPermissionWithType("isRead", e.target.checked);
1040
- } }),
1041
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1042
- "Xem",
1043
- /* @__PURE__ */ jsx27(IconEyeUp, { color: "gray" })
1044
- ] })
1045
- ] }) }),
1046
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1047
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isCreate"), onChange: (e) => {
1048
- store.toogleAllPermissionWithType("isCreate", e.target.checked);
1049
- } }),
1050
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1051
- "Th\xEAm",
1052
- /* @__PURE__ */ jsx27(IconPlus, { color: "blue" })
1053
- ] })
1054
- ] }) }),
1055
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1056
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isUpdate"), onChange: (e) => {
1057
- store.toogleAllPermissionWithType("isUpdate", e.target.checked);
1058
- } }),
1059
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1060
- "S\u1EEDa",
1061
- /* @__PURE__ */ jsx27(IconEdit, { color: "var(--mantine-color-yellow-8)" })
1062
- ] })
1063
- ] }) }),
1064
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1065
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isDelete"), onChange: (e) => {
1066
- store.toogleAllPermissionWithType("isDelete", e.target.checked);
1067
- } }),
1068
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1069
- "X\xF3a",
1070
- /* @__PURE__ */ jsx27(IconTrash, { color: "var(--mantine-color-red-8)" })
1071
- ] })
1072
- ] }) }),
1073
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1074
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isPrint"), onChange: (e) => {
1075
- store.toogleAllPermissionWithType("isPrint", e.target.checked);
1076
- } }),
1077
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1078
- "In",
1079
- /* @__PURE__ */ jsx27(IconPrinter, { color: "var(--mantine-color-cyan-8)" })
1080
- ] })
1081
- ] }) }),
1082
- /* @__PURE__ */ jsx27(Table.Th, { children: /* @__PURE__ */ jsxs17(Flex, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1083
- /* @__PURE__ */ jsx27(Checkbox, { checked: store.isAllPermission("isExport"), onChange: (e) => {
1084
- store.toogleAllPermissionWithType("isExport", e.target.checked);
1085
- } }),
1086
- /* @__PURE__ */ jsxs17(MyFlexRow, { gap: 3, children: [
1087
- "Xu\u1EA5t",
1088
- /* @__PURE__ */ jsx27(IconFileExport, { color: "var(--mantine-color-green-8)" })
1089
- ] })
1090
- ] }) })
1091
- ] })
910
+ return /* @__PURE__ */ React2.createElement(ScrollArea.Autosize, { h: "70vh" }, /* @__PURE__ */ React2.createElement(Table, null, /* @__PURE__ */ React2.createElement(
911
+ Table.Thead,
912
+ {
913
+ bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
914
+ style: {
915
+ position: "sticky",
916
+ top: 0,
917
+ zIndex: 1,
918
+ boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
919
+ border: "1px solid var(--mantine-color-gray-4)"
1092
920
  }
1093
- ),
1094
- /* @__PURE__ */ jsx27(Table.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
1095
- if (item.links == void 0) return /* @__PURE__ */ jsxs17(Table.Tr, { children: [
1096
- /* @__PURE__ */ jsx27(Table.Td, { children: item.label }),
1097
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) }),
1098
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) }),
1099
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) }),
1100
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) }),
1101
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) }),
1102
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(Checkbox, {}) }) })
1103
- ] }, idx);
1104
- return /* @__PURE__ */ jsxs17(React.Fragment, { children: [
1105
- /* @__PURE__ */ jsx27(Table.Tr, { children: /* @__PURE__ */ jsx27(
1106
- Table.Td,
921
+ },
922
+ /* @__PURE__ */ React2.createElement(Table.Tr, null, /* @__PURE__ */ React2.createElement(Table.Th, null, title), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isRead"), onChange: (e) => {
923
+ store.toogleAllPermissionWithType("isRead", e.target.checked);
924
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "Xem", /* @__PURE__ */ React2.createElement(IconEyeUp, { color: "gray" })))), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isCreate"), onChange: (e) => {
925
+ store.toogleAllPermissionWithType("isCreate", e.target.checked);
926
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "Th\xEAm", /* @__PURE__ */ React2.createElement(IconPlus, { color: "blue" })))), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isUpdate"), onChange: (e) => {
927
+ store.toogleAllPermissionWithType("isUpdate", e.target.checked);
928
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "S\u1EEDa", /* @__PURE__ */ React2.createElement(IconEdit, { color: "var(--mantine-color-yellow-8)" })))), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isDelete"), onChange: (e) => {
929
+ store.toogleAllPermissionWithType("isDelete", e.target.checked);
930
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "X\xF3a", /* @__PURE__ */ React2.createElement(IconTrash, { color: "var(--mantine-color-red-8)" })))), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isPrint"), onChange: (e) => {
931
+ store.toogleAllPermissionWithType("isPrint", e.target.checked);
932
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "In", /* @__PURE__ */ React2.createElement(IconPrinter, { color: "var(--mantine-color-cyan-8)" })))), /* @__PURE__ */ React2.createElement(Table.Th, null, /* @__PURE__ */ React2.createElement(Flex, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React2.createElement(Checkbox, { checked: store.isAllPermission("isExport"), onChange: (e) => {
933
+ store.toogleAllPermissionWithType("isExport", e.target.checked);
934
+ } }), /* @__PURE__ */ React2.createElement(MyFlexRow, { gap: 3 }, "Xu\u1EA5t", /* @__PURE__ */ React2.createElement(IconFileExport, { color: "var(--mantine-color-green-8)" })))))
935
+ ), /* @__PURE__ */ React2.createElement(Table.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))" }, (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
936
+ if (item.links == void 0) return /* @__PURE__ */ React2.createElement(Table.Tr, { key: idx }, /* @__PURE__ */ React2.createElement(Table.Td, null, item.label), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(Checkbox, null))));
937
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, { key: idx }, /* @__PURE__ */ React2.createElement(Table.Tr, { key: item.label }, /* @__PURE__ */ React2.createElement(
938
+ Table.Td,
939
+ {
940
+ colSpan: 7,
941
+ bg: OBJECT_COlORS.mantineBackgroundBlueLight
942
+ },
943
+ /* @__PURE__ */ React2.createElement(Text, { fs: "oblique", size: "sm", fw: "bold" }, item.label)
944
+ )), item.links.map(
945
+ (item2, idx2) => {
946
+ var _a2, _b2, _c, _d, _e, _f;
947
+ return /* @__PURE__ */ React2.createElement(Table.Tr, { key: idx2 }, /* @__PURE__ */ React2.createElement(Table.Td, null, item2.label), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
948
+ Checkbox,
1107
949
  {
1108
- colSpan: 7,
1109
- bg: OBJECT_COlORS.mantineBackgroundBlueLight,
1110
- children: /* @__PURE__ */ jsx27(Text, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
950
+ checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
951
+ onChange: (e) => {
952
+ store.updatePermission(item2.pageId, {
953
+ isRead: e.target.checked
954
+ });
955
+ }
1111
956
  }
1112
- ) }, item.label),
1113
- item.links.map(
1114
- (item2, idx2) => {
1115
- var _a2, _b2, _c, _d, _e, _f;
1116
- return /* @__PURE__ */ jsxs17(Table.Tr, { children: [
1117
- /* @__PURE__ */ jsx27(Table.Td, { children: item2.label }),
1118
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1119
- Checkbox,
1120
- {
1121
- checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
1122
- onChange: (e) => {
1123
- store.updatePermission(item2.pageId, {
1124
- isRead: e.target.checked
1125
- });
1126
- }
1127
- }
1128
- ) }) }),
1129
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1130
- Checkbox,
1131
- {
1132
- checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
1133
- onChange: (e) => {
1134
- store.updatePermission(item2.pageId, {
1135
- isCreate: e.target.checked
1136
- });
1137
- }
1138
- }
1139
- ) }) }),
1140
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1141
- Checkbox,
1142
- {
1143
- checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
1144
- onChange: (e) => {
1145
- store.updatePermission(item2.pageId, {
1146
- isUpdate: e.target.checked
1147
- });
1148
- }
1149
- }
1150
- ) }) }),
1151
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1152
- Checkbox,
1153
- {
1154
- checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
1155
- onChange: (e) => {
1156
- store.updatePermission(item2.pageId, {
1157
- isDelete: e.target.checked
1158
- });
1159
- }
1160
- }
1161
- ) }) }),
1162
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1163
- Checkbox,
1164
- {
1165
- checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
1166
- onChange: (e) => {
1167
- store.updatePermission(item2.pageId, {
1168
- isPrint: e.target.checked
1169
- });
1170
- }
1171
- }
1172
- ) }) }),
1173
- /* @__PURE__ */ jsx27(Table.Td, { children: /* @__PURE__ */ jsx27(MyCenterFull, { children: /* @__PURE__ */ jsx27(
1174
- Checkbox,
1175
- {
1176
- checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
1177
- onChange: (e) => {
1178
- store.updatePermission(item2.pageId, {
1179
- isExport: e.target.checked
1180
- });
1181
- }
1182
- }
1183
- ) }) })
1184
- ] }, idx2);
957
+ ))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
958
+ Checkbox,
959
+ {
960
+ checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
961
+ onChange: (e) => {
962
+ store.updatePermission(item2.pageId, {
963
+ isCreate: e.target.checked
964
+ });
965
+ }
966
+ }
967
+ ))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
968
+ Checkbox,
969
+ {
970
+ checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
971
+ onChange: (e) => {
972
+ store.updatePermission(item2.pageId, {
973
+ isUpdate: e.target.checked
974
+ });
975
+ }
1185
976
  }
1186
- )
1187
- ] }, idx);
1188
- }) })
1189
- ] }) });
977
+ ))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
978
+ Checkbox,
979
+ {
980
+ checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
981
+ onChange: (e) => {
982
+ store.updatePermission(item2.pageId, {
983
+ isDelete: e.target.checked
984
+ });
985
+ }
986
+ }
987
+ ))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
988
+ Checkbox,
989
+ {
990
+ checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
991
+ onChange: (e) => {
992
+ store.updatePermission(item2.pageId, {
993
+ isPrint: e.target.checked
994
+ });
995
+ }
996
+ }
997
+ ))), /* @__PURE__ */ React2.createElement(Table.Td, null, /* @__PURE__ */ React2.createElement(MyCenterFull, null, /* @__PURE__ */ React2.createElement(
998
+ Checkbox,
999
+ {
1000
+ checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
1001
+ onChange: (e) => {
1002
+ store.updatePermission(item2.pageId, {
1003
+ isExport: e.target.checked
1004
+ });
1005
+ }
1006
+ }
1007
+ ))));
1008
+ }
1009
+ ));
1010
+ }))));
1190
1011
  }
1191
1012
  function useGetUserPermission() {
1192
1013
  const store = useS_core83092();
@@ -1225,9 +1046,6 @@ function useGetUserPermission() {
1225
1046
  return query;
1226
1047
  }
1227
1048
 
1228
- // src/modules-features/admin/core/core38677/F_core38677.tsx
1229
- import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
1230
-
1231
1049
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
1232
1050
  import { useQuery as useQuery9 } from "@tanstack/react-query";
1233
1051
  import { useMemo as useMemo7 } from "react";
@@ -1235,12 +1053,11 @@ import { useMemo as useMemo7 } from "react";
1235
1053
  // src/modules-features/admin/core/core40207/F_core40207_Create.tsx
1236
1054
  import { FileInput as FileInput3 } from "@mantine/core";
1237
1055
  import { useForm as useForm11 } from "@mantine/form";
1238
- import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
1239
1056
  function F_core40207_Create() {
1240
1057
  const form = useForm11({
1241
1058
  mode: "uncontrolled"
1242
1059
  });
1243
- return /* @__PURE__ */ jsxs19(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
1060
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
1244
1061
  return await baseAxios_default.post(
1245
1062
  "/Document/create",
1246
1063
  __spreadProps(__spreadValues({}, values), {
@@ -1249,23 +1066,17 @@ function F_core40207_Create() {
1249
1066
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
1250
1067
  })
1251
1068
  );
1252
- }, children: [
1253
- /* @__PURE__ */ jsx29(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
1254
- /* @__PURE__ */ jsx29(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
1255
- /* @__PURE__ */ jsx29(FileInput3, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
1256
- ] });
1069
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(FileInput3, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file"))));
1257
1070
  }
1258
1071
 
1259
1072
  // src/modules-features/admin/core/core40207/F_core40207_Delete.tsx
1260
- import { jsx as jsx30 } from "react/jsx-runtime";
1261
1073
  function F_core40207_Delete({ id }) {
1262
- return /* @__PURE__ */ jsx30(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
1074
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
1263
1075
  }
1264
1076
 
1265
1077
  // src/modules-features/admin/core/core40207/F_core40207_Update.tsx
1266
1078
  import { FileInput as FileInput4 } from "@mantine/core";
1267
1079
  import { useForm as useForm12 } from "@mantine/form";
1268
- import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
1269
1080
  function F_core40207_Update({ values }) {
1270
1081
  var _a;
1271
1082
  const form = useForm12({
@@ -1275,19 +1086,14 @@ function F_core40207_Update({ values }) {
1275
1086
  promulgateDate: new Date(values.promulgateDate)
1276
1087
  })
1277
1088
  });
1278
- return /* @__PURE__ */ jsxs20(MyActionIconUpdate, { form, onSubmit: async (values2) => {
1089
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
1279
1090
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
1280
1091
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
1281
1092
  }));
1282
- }, children: [
1283
- /* @__PURE__ */ jsx31(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
1284
- /* @__PURE__ */ jsx31(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
1285
- /* @__PURE__ */ jsx31(FileInput4, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
1286
- ] });
1093
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(FileInput4, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file"))));
1287
1094
  }
1288
1095
 
1289
1096
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
1290
- import { jsx as jsx32, jsxs as jsxs21 } from "react/jsx-runtime";
1291
1097
  function F_core40207_Read() {
1292
1098
  const query = useQuery9({
1293
1099
  queryKey: ["F_core40207_Read"],
@@ -1310,7 +1116,7 @@ function F_core40207_Read() {
1310
1116
  {
1311
1117
  header: "File",
1312
1118
  accessorFn: (row) => {
1313
- return /* @__PURE__ */ jsx32(MyCenterFull, { children: /* @__PURE__ */ jsx32(MyButtonViewPDF, { id: row.id }) });
1119
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(MyButtonViewPDF, { id: row.id }));
1314
1120
  }
1315
1121
  }
1316
1122
  ],
@@ -1318,26 +1124,22 @@ function F_core40207_Read() {
1318
1124
  );
1319
1125
  if (query.isLoading) return "Loading...";
1320
1126
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
1321
- return /* @__PURE__ */ jsx32(
1127
+ return /* @__PURE__ */ React.createElement(
1322
1128
  MyDataTable,
1323
1129
  {
1324
1130
  columns,
1325
1131
  data: query.data,
1326
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx32(F_core40207_Create, {}),
1132
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ React.createElement(F_core40207_Create, null),
1327
1133
  renderRowActions: ({ row }) => {
1328
- return /* @__PURE__ */ jsxs21(MyCenterFull, { children: [
1329
- /* @__PURE__ */ jsx32(F_core40207_Update, { values: row.original }),
1330
- /* @__PURE__ */ jsx32(F_core40207_Delete, { id: row.original.id })
1331
- ] });
1134
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core40207_Update, { values: row.original }), /* @__PURE__ */ React.createElement(F_core40207_Delete, { id: row.original.id }));
1332
1135
  }
1333
1136
  }
1334
1137
  );
1335
1138
  }
1336
1139
 
1337
1140
  // src/modules-features/admin/core/core40207/F_core40207.tsx
1338
- import { jsx as jsx33 } from "react/jsx-runtime";
1339
1141
  function F_core40207() {
1340
- return /* @__PURE__ */ jsx33(MyPageContent, { children: /* @__PURE__ */ jsx33(F_core40207_Read, {}) });
1142
+ return /* @__PURE__ */ React.createElement(MyPageContent, null, /* @__PURE__ */ React.createElement(F_core40207_Read, null));
1341
1143
  }
1342
1144
 
1343
1145
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
@@ -1346,10 +1148,9 @@ import { useQuery as useQuery10 } from "@tanstack/react-query";
1346
1148
  import { useMemo as useMemo8 } from "react";
1347
1149
 
1348
1150
  // src/modules-features/admin/core/core47643/F_core47643_Delete.tsx
1349
- import { jsx as jsx34 } from "react/jsx-runtime";
1350
1151
  var ENDPOINT = "/Role/Delete";
1351
1152
  function F_core47643_Delete({ values }) {
1352
- return /* @__PURE__ */ jsx34(
1153
+ return /* @__PURE__ */ React.createElement(
1353
1154
  MyActionIconDelete,
1354
1155
  {
1355
1156
  contextData: values.code,
@@ -1360,28 +1161,20 @@ function F_core47643_Delete({ values }) {
1360
1161
 
1361
1162
  // src/modules-features/admin/core/core47643/F_core47643_Form.tsx
1362
1163
  import { useForm as useForm13 } from "@mantine/form";
1363
- import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
1364
1164
  function F_core47643_Form({ values }) {
1365
1165
  const form = useForm13({
1366
1166
  mode: "uncontrolled",
1367
1167
  initialValues: values
1368
1168
  });
1369
- if (values) return /* @__PURE__ */ jsxs22(MyActionIconUpdate, { form, onSubmit: async () => {
1169
+ if (values) return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async () => {
1370
1170
  return await baseAxios_default.post("/Role/Update", form.getValues());
1371
- }, children: [
1372
- /* @__PURE__ */ jsx35(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
1373
- /* @__PURE__ */ jsx35(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
1374
- ] });
1375
- return /* @__PURE__ */ jsxs22(MyButtonCreate, { form, onSubmit: async () => {
1171
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name"))));
1172
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { form, onSubmit: async () => {
1376
1173
  return await baseAxios_default.post("/Role/Create", form.getValues());
1377
- }, children: [
1378
- /* @__PURE__ */ jsx35(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
1379
- /* @__PURE__ */ jsx35(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
1380
- ] });
1174
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name"))));
1381
1175
  }
1382
1176
 
1383
1177
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
1384
- import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
1385
1178
  function F_core47643_Read() {
1386
1179
  const query = useQ_core47643_GetAdminRole();
1387
1180
  const columns = useMemo8(() => [
@@ -1396,16 +1189,13 @@ function F_core47643_Read() {
1396
1189
  ], []);
1397
1190
  if (query.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
1398
1191
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
1399
- return /* @__PURE__ */ jsx36(
1192
+ return /* @__PURE__ */ React.createElement(
1400
1193
  MyDataTable,
1401
1194
  {
1402
1195
  data: query.data,
1403
1196
  columns,
1404
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx36(Group, { children: /* @__PURE__ */ jsx36(F_core47643_Form, {}) }),
1405
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs23(MyCenterFull, { children: [
1406
- /* @__PURE__ */ jsx36(F_core47643_Form, { values: row.original }),
1407
- /* @__PURE__ */ jsx36(F_core47643_Delete, { values: row.original })
1408
- ] })
1197
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ React.createElement(Group, null, /* @__PURE__ */ React.createElement(F_core47643_Form, null)),
1198
+ renderRowActions: ({ row }) => /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core47643_Form, { values: row.original }), /* @__PURE__ */ React.createElement(F_core47643_Delete, { values: row.original }))
1409
1199
  }
1410
1200
  );
1411
1201
  }
@@ -1421,30 +1211,40 @@ function useQ_core47643_GetAdminRole() {
1421
1211
  }
1422
1212
 
1423
1213
  // src/modules-features/admin/core/core47643/F_core47643.tsx
1424
- import { jsx as jsx37 } from "react/jsx-runtime";
1425
1214
  function F_core47643() {
1426
- return /* @__PURE__ */ jsx37(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx37(F_core47643_Read, {}) });
1215
+ return /* @__PURE__ */ React.createElement(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true }, /* @__PURE__ */ React.createElement(F_core47643_Read, null));
1427
1216
  }
1428
1217
 
1218
+ // src/modules-features/admin/core/core64229/F_core64229_Delete.tsx
1219
+ import React3 from "react";
1220
+
1221
+ // src/modules-features/admin/core/core64229/F_core64229_Form.tsx
1222
+ import { PasswordInput } from "@mantine/core";
1223
+ import { useForm as useForm14 } from "@mantine/form";
1224
+ import React4 from "react";
1225
+
1226
+ // src/modules-features/admin/core/core64229/F_core64229_Read.tsx
1227
+ import { useQuery as useQuery11 } from "@tanstack/react-query";
1228
+ import React5, { useMemo as useMemo9 } from "react";
1229
+
1429
1230
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
1430
1231
  import { Button as Button2, Group as Group3 } from "@mantine/core";
1431
1232
  import { IconShield } from "@tabler/icons-react";
1432
- import { useQuery as useQuery12 } from "@tanstack/react-query";
1233
+ import { useQuery as useQuery13 } from "@tanstack/react-query";
1433
1234
  import { useRouter } from "next/navigation";
1434
- import { useMemo as useMemo10, useState as useState5 } from "react";
1235
+ import { useMemo as useMemo11, useState as useState5 } from "react";
1435
1236
 
1436
1237
  // src/modules-features/admin/core/core71678/F_core71678_ChangePermission.tsx
1437
1238
  import { Button, Fieldset, Group as Group2, Table as Table2 } from "@mantine/core";
1438
1239
  import { useDisclosure } from "@mantine/hooks";
1439
- import { useMutation as useMutation2, useQuery as useQuery11, useQueryClient } from "@tanstack/react-query";
1440
- import { useEffect as useEffect4, useMemo as useMemo9, useState as useState4 } from "react";
1441
- import { jsx as jsx38, jsxs as jsxs24 } from "react/jsx-runtime";
1240
+ import { useMutation as useMutation2, useQuery as useQuery12, useQueryClient } from "@tanstack/react-query";
1241
+ import { useEffect as useEffect4, useMemo as useMemo10, useState as useState4 } from "react";
1442
1242
  function F_core71678_ChangePermission({ user }) {
1443
1243
  const disc = useDisclosure();
1444
1244
  const queryClient = useQueryClient();
1445
1245
  const [rowSelection, setRowSelection] = useState4({});
1446
1246
  const rowSelect = useState4();
1447
- const query = useQuery11({
1247
+ const query = useQuery12({
1448
1248
  queryKey: [`F1_1ChangePermission`],
1449
1249
  queryFn: async () => {
1450
1250
  const response = await baseAxios_default.get("/Role/GetAdminRole");
@@ -1457,7 +1257,7 @@ function F_core71678_ChangePermission({ user }) {
1457
1257
  return res;
1458
1258
  }
1459
1259
  });
1460
- const permissionColumns = useMemo9(
1260
+ const permissionColumns = useMemo10(
1461
1261
  () => [
1462
1262
  {
1463
1263
  header: "Quy\u1EC1n",
@@ -1485,65 +1285,45 @@ function F_core71678_ChangePermission({ user }) {
1485
1285
  }, {});
1486
1286
  setRowSelection(result);
1487
1287
  }, []);
1488
- return /* @__PURE__ */ jsxs24(MyButtonModal, { modalSize: "xl", disclosure: disc, title: "Ch\u1ECDn quy\u1EC1n cho ng\u01B0\u1EDDi d\xF9ng", label: "S\u1EEDa quy\u1EC1n", children: [
1489
- /* @__PURE__ */ jsx38(
1490
- Table2,
1491
- {
1492
- w: "100%",
1493
- variant: "vertical",
1494
- layout: "fixed",
1495
- children: /* @__PURE__ */ jsxs24(Table2.Tbody, { children: [
1496
- /* @__PURE__ */ jsxs24(Table2.Tr, { children: [
1497
- /* @__PURE__ */ jsx38(Table2.Th, { w: 160, children: "H\u1ECD v\xE0 t\xEAn:" }),
1498
- /* @__PURE__ */ jsx38(Table2.Td, { children: user.fullName })
1499
- ] }),
1500
- /* @__PURE__ */ jsxs24(Table2.Tr, { children: [
1501
- /* @__PURE__ */ jsx38(Table2.Th, { children: "T\xEAn \u0111\u0103ng nh\u1EADp:" }),
1502
- /* @__PURE__ */ jsx38(Table2.Td, { children: user.userName })
1503
- ] }),
1504
- /* @__PURE__ */ jsxs24(Table2.Tr, { children: [
1505
- /* @__PURE__ */ jsx38(Table2.Th, { children: "Email:" }),
1506
- /* @__PURE__ */ jsx38(Table2.Td, { children: user.email })
1507
- ] })
1508
- ] })
1509
- }
1510
- ),
1511
- query.isLoading && "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...",
1512
- query.isError && "L\u1ED7i khi t\u1EA3i d\u1EEF li\u1EC7u...",
1513
- /* @__PURE__ */ jsx38(Fieldset, { legend: "Ch\u1ECDn quy\u1EC1n", children: /* @__PURE__ */ jsx38(
1514
- MyDataTable,
1515
- {
1516
- enableRowSelection: true,
1517
- onRowSelectionChange: setRowSelection,
1518
- state: { rowSelection },
1519
- setSelectedRow: rowSelect[1],
1520
- getRowId: (originalRow) => {
1521
- var _a;
1522
- return (_a = originalRow.id) == null ? void 0 : _a.toString();
1523
- },
1524
- initialState: {
1525
- density: "xs",
1526
- pagination: { pageIndex: 0, pageSize: 10 },
1527
- columnPinning: { right: ["mrt-row-actions"] },
1528
- columnVisibility: {
1529
- nguoiCapNhat: false,
1530
- ngayCapNhat: false
1531
- }
1532
- },
1533
- columns: permissionColumns,
1534
- data: query.data
1535
- }
1536
- ) }),
1537
- /* @__PURE__ */ jsx38(Group2, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx38(Button, { onClick: handleSave, children: "L\u01B0u" }) })
1538
- ] });
1288
+ return /* @__PURE__ */ React.createElement(MyButtonModal, { modalSize: "xl", disclosure: disc, title: "Ch\u1ECDn quy\u1EC1n cho ng\u01B0\u1EDDi d\xF9ng", label: "S\u1EEDa quy\u1EC1n" }, /* @__PURE__ */ React.createElement(
1289
+ Table2,
1290
+ {
1291
+ w: "100%",
1292
+ variant: "vertical",
1293
+ layout: "fixed"
1294
+ },
1295
+ /* @__PURE__ */ React.createElement(Table2.Tbody, null, /* @__PURE__ */ React.createElement(Table2.Tr, null, /* @__PURE__ */ React.createElement(Table2.Th, { w: 160 }, "H\u1ECD v\xE0 t\xEAn:"), /* @__PURE__ */ React.createElement(Table2.Td, null, user.fullName)), /* @__PURE__ */ React.createElement(Table2.Tr, null, /* @__PURE__ */ React.createElement(Table2.Th, null, "T\xEAn \u0111\u0103ng nh\u1EADp:"), /* @__PURE__ */ React.createElement(Table2.Td, null, user.userName)), /* @__PURE__ */ React.createElement(Table2.Tr, null, /* @__PURE__ */ React.createElement(Table2.Th, null, "Email:"), /* @__PURE__ */ React.createElement(Table2.Td, null, user.email)))
1296
+ ), query.isLoading && "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...", query.isError && "L\u1ED7i khi t\u1EA3i d\u1EEF li\u1EC7u...", /* @__PURE__ */ React.createElement(Fieldset, { legend: "Ch\u1ECDn quy\u1EC1n" }, /* @__PURE__ */ React.createElement(
1297
+ MyDataTable,
1298
+ {
1299
+ enableRowSelection: true,
1300
+ onRowSelectionChange: setRowSelection,
1301
+ state: { rowSelection },
1302
+ setSelectedRow: rowSelect[1],
1303
+ getRowId: (originalRow) => {
1304
+ var _a;
1305
+ return (_a = originalRow.id) == null ? void 0 : _a.toString();
1306
+ },
1307
+ initialState: {
1308
+ density: "xs",
1309
+ pagination: { pageIndex: 0, pageSize: 10 },
1310
+ columnPinning: { right: ["mrt-row-actions"] },
1311
+ columnVisibility: {
1312
+ nguoiCapNhat: false,
1313
+ ngayCapNhat: false
1314
+ }
1315
+ },
1316
+ columns: permissionColumns,
1317
+ data: query.data
1318
+ }
1319
+ )), /* @__PURE__ */ React.createElement(Group2, { justify: "flex-end", mt: 24 }, /* @__PURE__ */ React.createElement(Button, { onClick: handleSave }, "L\u01B0u")));
1539
1320
  }
1540
1321
 
1541
1322
  // src/modules-features/admin/core/core71678/F_core71678_Create.tsx
1542
- import { useForm as useForm14 } from "@mantine/form";
1543
- import { jsx as jsx39, jsxs as jsxs25 } from "react/jsx-runtime";
1323
+ import { useForm as useForm15 } from "@mantine/form";
1544
1324
  var ENDPOINT2 = "/Account/create";
1545
1325
  function F_core71678_Create() {
1546
- const form = useForm14({
1326
+ const form = useForm15({
1547
1327
  initialValues: {
1548
1328
  fullName: "",
1549
1329
  code: "",
@@ -1568,21 +1348,13 @@ function F_core71678_Create() {
1568
1348
  AQModuleId: 1002
1569
1349
  }));
1570
1350
  }
1571
- return /* @__PURE__ */ jsxs25(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
1572
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
1573
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
1574
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
1575
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
1576
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
1577
- /* @__PURE__ */ jsx39(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
1578
- ] });
1351
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng" }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))));
1579
1352
  }
1580
1353
 
1581
1354
  // src/modules-features/admin/core/core71678/F_core71678_Delete.tsx
1582
- import { jsx as jsx40 } from "react/jsx-runtime";
1583
1355
  var ENDPOINT3 = "/Account/delete";
1584
1356
  function F_core71678_Delete({ id, code }) {
1585
- return /* @__PURE__ */ jsx40(
1357
+ return /* @__PURE__ */ React.createElement(
1586
1358
  MyActionIconDelete,
1587
1359
  {
1588
1360
  contextData: code,
@@ -1592,17 +1364,16 @@ function F_core71678_Delete({ id, code }) {
1592
1364
  }
1593
1365
 
1594
1366
  // src/modules-features/admin/core/core71678/F_core71678_Update.tsx
1595
- import { useForm as useForm15 } from "@mantine/form";
1367
+ import { useForm as useForm16 } from "@mantine/form";
1596
1368
  import { useEffect as useEffect5 } from "react";
1597
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
1598
1369
  function F_core71678_Update({ user }) {
1599
- const form = useForm15({
1370
+ const form = useForm16({
1600
1371
  initialValues: user
1601
1372
  });
1602
1373
  useEffect5(() => {
1603
1374
  console.log(form.values);
1604
1375
  }, [form.values]);
1605
- return /* @__PURE__ */ jsx41(MyActionIconUpdate, { form, onSubmit: async (values) => {
1376
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values) => {
1606
1377
  return await baseAxios_default.post(
1607
1378
  "/Account/update",
1608
1379
  __spreadProps(__spreadValues({}, values), {
@@ -1614,22 +1385,15 @@ function F_core71678_Update({ user }) {
1614
1385
  workingUnitId: null
1615
1386
  })
1616
1387
  );
1617
- }, children: /* @__PURE__ */ jsxs26(MyFlexColumn, { children: [
1618
- /* @__PURE__ */ jsx41(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
1619
- /* @__PURE__ */ jsx41(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
1620
- /* @__PURE__ */ jsx41(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
1621
- /* @__PURE__ */ jsx41(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
1622
- /* @__PURE__ */ jsx41(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
1623
- ] }) });
1388
+ } }, /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))));
1624
1389
  }
1625
1390
 
1626
1391
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
1627
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
1628
1392
  var ENDPOINT4 = "/Account/GetAdminAccount";
1629
1393
  function F_core71678_Read() {
1630
1394
  const router = useRouter();
1631
1395
  const [rowSelection, setRowSelection] = useState5({});
1632
- const AllUserQuery = useQuery12({
1396
+ const AllUserQuery = useQuery13({
1633
1397
  queryKey: ["F_core71678_Read"],
1634
1398
  queryFn: async () => {
1635
1399
  var _a;
@@ -1640,7 +1404,7 @@ function F_core71678_Read() {
1640
1404
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
1641
1405
  }
1642
1406
  });
1643
- const columns = useMemo10(
1407
+ const columns = useMemo11(
1644
1408
  () => [
1645
1409
  {
1646
1410
  header: "T\xEAn t\xE0i kho\u1EA3n",
@@ -1656,59 +1420,49 @@ function F_core71678_Read() {
1656
1420
  },
1657
1421
  {
1658
1422
  header: "Quy\u1EC1n",
1659
- accessorFn: (row) => /* @__PURE__ */ jsx42(F_core71678_ChangePermission, { user: row })
1423
+ accessorFn: (row) => /* @__PURE__ */ React.createElement(F_core71678_ChangePermission, { user: row })
1660
1424
  }
1661
1425
  ],
1662
1426
  []
1663
1427
  );
1664
1428
  if (AllUserQuery.isLoading) return "Loading...";
1665
- return /* @__PURE__ */ jsx42(
1429
+ return /* @__PURE__ */ React.createElement(
1666
1430
  MyDataTable,
1667
1431
  {
1668
1432
  columns,
1669
1433
  data: AllUserQuery.data,
1670
1434
  renderTopToolbarCustomActions: () => {
1671
- return /* @__PURE__ */ jsxs27(Group3, { children: [
1672
- /* @__PURE__ */ jsx42(F_core71678_Create, {}),
1673
- /* @__PURE__ */ jsx42(
1674
- Button2,
1675
- {
1676
- color: "violet",
1677
- leftSection: /* @__PURE__ */ jsx42(IconShield, {}),
1678
- onClick: () => {
1679
- router.push("core47643");
1680
- },
1681
- children: "Danh m\u1EE5c quy\u1EC1n"
1435
+ return /* @__PURE__ */ React.createElement(Group3, null, /* @__PURE__ */ React.createElement(F_core71678_Create, null), /* @__PURE__ */ React.createElement(
1436
+ Button2,
1437
+ {
1438
+ color: "violet",
1439
+ leftSection: /* @__PURE__ */ React.createElement(IconShield, null),
1440
+ onClick: () => {
1441
+ router.push("core47643");
1682
1442
  }
1683
- )
1684
- ] });
1443
+ },
1444
+ "Danh m\u1EE5c quy\u1EC1n"
1445
+ ));
1685
1446
  },
1686
1447
  renderRowActions: ({ row }) => {
1687
- return /* @__PURE__ */ jsxs27(MyCenterFull, { children: [
1688
- /* @__PURE__ */ jsx42(F_core71678_Update, { user: row.original }),
1689
- /* @__PURE__ */ jsx42(F_core71678_Delete, { id: row.original.id, code: row.original.code })
1690
- ] });
1448
+ return /* @__PURE__ */ React.createElement(MyCenterFull, null, /* @__PURE__ */ React.createElement(F_core71678_Update, { user: row.original }), /* @__PURE__ */ React.createElement(F_core71678_Delete, { id: row.original.id, code: row.original.code }));
1691
1449
  }
1692
1450
  }
1693
1451
  );
1694
1452
  }
1695
1453
 
1696
- // src/modules-features/admin/core/core71678/F_core71678.tsx
1697
- import { jsx as jsx43 } from "react/jsx-runtime";
1698
-
1699
1454
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
1700
- import { useQuery as useQuery13 } from "@tanstack/react-query";
1701
- import { useMemo as useMemo11 } from "react";
1455
+ import { useQuery as useQuery14 } from "@tanstack/react-query";
1456
+ import { useMemo as useMemo12 } from "react";
1702
1457
 
1703
1458
  // src/modules-features/admin/core/core76318/F_core76318_Create.tsx
1704
1459
  import { FileInput as FileInput5 } from "@mantine/core";
1705
- import { useForm as useForm16 } from "@mantine/form";
1706
- import { jsx as jsx44, jsxs as jsxs28 } from "react/jsx-runtime";
1460
+ import { useForm as useForm17 } from "@mantine/form";
1707
1461
  function F_core76318_Create() {
1708
- const form = useForm16({
1462
+ const form = useForm17({
1709
1463
  mode: "uncontrolled"
1710
1464
  });
1711
- return /* @__PURE__ */ jsxs28(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
1465
+ return /* @__PURE__ */ React.createElement(MyButtonCreate, { objectName: "v\u0103n b\u1EA3n", form, onSubmit: async (values) => {
1712
1466
  return await baseAxios_default.post(
1713
1467
  "/Document/create",
1714
1468
  __spreadProps(__spreadValues({}, values), {
@@ -1717,64 +1471,45 @@ function F_core76318_Create() {
1717
1471
  fileDetail: await utils_file_fileToAQDocumentType(values.file)
1718
1472
  })
1719
1473
  );
1720
- }, children: [
1721
- /* @__PURE__ */ jsx44(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
1722
- /* @__PURE__ */ jsx44(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
1723
- /* @__PURE__ */ jsx44(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
1724
- /* @__PURE__ */ jsx44(FileInput5, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
1725
- ] });
1474
+ } }, /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(FileInput5, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file"))));
1726
1475
  }
1727
1476
 
1728
1477
  // src/modules-features/admin/core/core76318/F_core76318_Delete.tsx
1729
- import { jsx as jsx45 } from "react/jsx-runtime";
1730
1478
  function F_core76318_Delete({ id }) {
1731
- return /* @__PURE__ */ jsx45(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
1479
+ return /* @__PURE__ */ React.createElement(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
1732
1480
  }
1733
1481
 
1734
1482
  // src/modules-features/admin/core/core76318/F_core76318_Update.tsx
1735
1483
  import { FileInput as FileInput6, TextInput as TextInput2 } from "@mantine/core";
1736
- import { useForm as useForm17 } from "@mantine/form";
1737
- import { jsx as jsx46, jsxs as jsxs29 } from "react/jsx-runtime";
1484
+ import { useForm as useForm18 } from "@mantine/form";
1738
1485
  function F_core76318_Update({ values }) {
1739
1486
  var _a;
1740
- const form = useForm17({
1487
+ const form = useForm18({
1741
1488
  mode: "uncontrolled",
1742
1489
  initialValues: __spreadProps(__spreadValues({}, values), {
1743
1490
  file: new File([], (_a = values.path) == null ? void 0 : _a.split("/")[values.path.split("/").length - 1]),
1744
1491
  promulgateDate: new Date(values.promulgateDate)
1745
1492
  })
1746
1493
  });
1747
- return /* @__PURE__ */ jsxs29(MyActionIconUpdate, { form, onSubmit: async (values2) => {
1494
+ return /* @__PURE__ */ React.createElement(MyActionIconUpdate, { form, onSubmit: async (values2) => {
1748
1495
  return await baseAxios_default.post("/Document/Update", __spreadProps(__spreadValues({}, values2), {
1749
1496
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
1750
1497
  }));
1751
- }, children: [
1752
- /* @__PURE__ */ jsx46(TextInput2, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
1753
- /* @__PURE__ */ jsx46(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
1754
- /* @__PURE__ */ jsx46(TextInput2, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
1755
- /* @__PURE__ */ jsx46(FileInput6, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
1756
- ] });
1498
+ } }, /* @__PURE__ */ React.createElement(TextInput2, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))), /* @__PURE__ */ React.createElement(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))), /* @__PURE__ */ React.createElement(TextInput2, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))), /* @__PURE__ */ React.createElement(FileInput6, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file"))));
1757
1499
  }
1758
1500
 
1759
- // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
1760
- import { jsx as jsx47, jsxs as jsxs30 } from "react/jsx-runtime";
1761
-
1762
- // src/modules-features/admin/core/core76318/F_core76318.tsx
1763
- import { jsx as jsx48 } from "react/jsx-runtime";
1764
-
1765
1501
  // src/modules-features/admin/core/core83092/F_core83092.tsx
1766
1502
  import { Grid as Grid2, Paper as Paper2, ScrollArea as ScrollArea4 } from "@mantine/core";
1767
1503
 
1768
1504
  // src/modules-features/admin/core/core83092/F_core83092_ReadUser.tsx
1769
1505
  import { Container as Container2 } from "@mantine/core";
1770
- import { useQuery as useQuery14 } from "@tanstack/react-query";
1771
- import { useEffect as useEffect6, useMemo as useMemo12, useState as useState6 } from "react";
1772
- import { jsx as jsx49 } from "react/jsx-runtime";
1506
+ import { useQuery as useQuery15 } from "@tanstack/react-query";
1507
+ import { useEffect as useEffect6, useMemo as useMemo13, useState as useState6 } from "react";
1773
1508
  function F_core83092_ReadUser() {
1774
1509
  const store = useS_core83092();
1775
1510
  const query = useQ_core83092_Account_GetAdminAccount();
1776
1511
  const [rowSelection, setRowSelection] = useState6({});
1777
- const columns = useMemo12(
1512
+ const columns = useMemo13(
1778
1513
  () => [
1779
1514
  {
1780
1515
  header: "H\u1ECD v\xE0 t\xEAn",
@@ -1802,7 +1537,7 @@ function F_core83092_ReadUser() {
1802
1537
  }, [query.data]);
1803
1538
  if (query.isLoading) return "Loading...";
1804
1539
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
1805
- return /* @__PURE__ */ jsx49(Container2, { fluid: true, w: "100%", children: /* @__PURE__ */ jsx49(
1540
+ return /* @__PURE__ */ React.createElement(Container2, { fluid: true, w: "100%" }, /* @__PURE__ */ React.createElement(
1806
1541
  MyDataTable,
1807
1542
  {
1808
1543
  columns,
@@ -1820,10 +1555,10 @@ function F_core83092_ReadUser() {
1820
1555
  }),
1821
1556
  state: rowSelection
1822
1557
  }
1823
- ) });
1558
+ ));
1824
1559
  }
1825
1560
  function useQ_core83092_Account_GetAdminAccount() {
1826
- const query = useQuery14({
1561
+ const query = useQuery15({
1827
1562
  queryKey: ["useQ_core83092_Account_GetAdminAccount"],
1828
1563
  queryFn: async () => {
1829
1564
  var _a;
@@ -1838,7 +1573,6 @@ function useQ_core83092_Account_GetAdminAccount() {
1838
1573
  // src/modules-features/admin/core/core83092/F_core83092_Save.tsx
1839
1574
  import { useMutation as useMutation3 } from "@tanstack/react-query";
1840
1575
  import { useEffect as useEffect7, useState as useState7 } from "react";
1841
- import { jsx as jsx50 } from "react/jsx-runtime";
1842
1576
  function F_core83092_Save() {
1843
1577
  const store = useS_core83092();
1844
1578
  const disable = useState7(false);
@@ -1867,15 +1601,14 @@ function F_core83092_Save() {
1867
1601
  }
1868
1602
  disable[1](false);
1869
1603
  }, [store.state.rolePermissions]);
1870
- return /* @__PURE__ */ jsx50(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
1604
+ return /* @__PURE__ */ React.createElement(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
1871
1605
  }
1872
1606
 
1873
1607
  // src/modules-features/admin/core/core83092/F_core83092_ViewMenuPermissions.tsx
1874
1608
  import { Checkbox as Checkbox2, Flex as Flex2, ScrollArea as ScrollArea3, Table as Table3, Text as Text2 } from "@mantine/core";
1875
1609
  import { IconEdit as IconEdit2, IconEyeUp as IconEyeUp2, IconFileExport as IconFileExport2, IconPlus as IconPlus2, IconPrinter as IconPrinter2, IconTrash as IconTrash2 } from "@tabler/icons-react";
1876
- import { useQuery as useQuery15 } from "@tanstack/react-query";
1877
- import React2, { useEffect as useEffect8, useState as useState8 } from "react";
1878
- import { jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
1610
+ import { useQuery as useQuery16 } from "@tanstack/react-query";
1611
+ import React6, { useEffect as useEffect8, useState as useState8 } from "react";
1879
1612
  var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
1880
1613
  function F_core83092_ViewMenuPermissions() {
1881
1614
  var _a, _b;
@@ -1890,177 +1623,111 @@ function F_core83092_ViewMenuPermissions() {
1890
1623
  store.setProperty("rolePermissions", query.data);
1891
1624
  }, [query.data]);
1892
1625
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
1893
- return /* @__PURE__ */ jsx51(ScrollArea3.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs31(Table3, { children: [
1894
- /* @__PURE__ */ jsx51(
1895
- Table3.Thead,
1896
- {
1897
- bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
1898
- style: {
1899
- position: "sticky",
1900
- top: 0,
1901
- zIndex: 1,
1902
- boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
1903
- border: "1px solid var(--mantine-color-gray-4)"
1904
- },
1905
- children: /* @__PURE__ */ jsxs31(Table3.Tr, { children: [
1906
- /* @__PURE__ */ jsx51(Table3.Th, { children: title2 }),
1907
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1908
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isRead"), onChange: (e) => {
1909
- store.toogleAllPermissionWithType("isRead", e.target.checked);
1910
- } }),
1911
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1912
- "Xem",
1913
- /* @__PURE__ */ jsx51(IconEyeUp2, { color: "gray" })
1914
- ] })
1915
- ] }) }),
1916
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1917
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isCreate"), onChange: (e) => {
1918
- store.toogleAllPermissionWithType("isCreate", e.target.checked);
1919
- } }),
1920
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1921
- "Th\xEAm",
1922
- /* @__PURE__ */ jsx51(IconPlus2, { color: "blue" })
1923
- ] })
1924
- ] }) }),
1925
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1926
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isUpdate"), onChange: (e) => {
1927
- store.toogleAllPermissionWithType("isUpdate", e.target.checked);
1928
- } }),
1929
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1930
- "S\u1EEDa",
1931
- /* @__PURE__ */ jsx51(IconEdit2, { color: "var(--mantine-color-yellow-8)" })
1932
- ] })
1933
- ] }) }),
1934
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1935
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isDelete"), onChange: (e) => {
1936
- store.toogleAllPermissionWithType("isDelete", e.target.checked);
1937
- } }),
1938
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1939
- "X\xF3a",
1940
- /* @__PURE__ */ jsx51(IconTrash2, { color: "var(--mantine-color-red-8)" })
1941
- ] })
1942
- ] }) }),
1943
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1944
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isPrint"), onChange: (e) => {
1945
- store.toogleAllPermissionWithType("isPrint", e.target.checked);
1946
- } }),
1947
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1948
- "In",
1949
- /* @__PURE__ */ jsx51(IconPrinter2, { color: "var(--mantine-color-cyan-8)" })
1950
- ] })
1951
- ] }) }),
1952
- /* @__PURE__ */ jsx51(Table3.Th, { children: /* @__PURE__ */ jsxs31(Flex2, { gap: 3, direction: "column", justify: "center", align: "center", children: [
1953
- /* @__PURE__ */ jsx51(Checkbox2, { checked: store.isAllPermission("isExport"), onChange: (e) => {
1954
- store.toogleAllPermissionWithType("isExport", e.target.checked);
1955
- } }),
1956
- /* @__PURE__ */ jsxs31(MyFlexRow, { gap: 3, children: [
1957
- "Xu\u1EA5t",
1958
- /* @__PURE__ */ jsx51(IconFileExport2, { color: "var(--mantine-color-green-8)" })
1959
- ] })
1960
- ] }) })
1961
- ] })
1626
+ return /* @__PURE__ */ React6.createElement(ScrollArea3.Autosize, { h: "70vh" }, /* @__PURE__ */ React6.createElement(Table3, null, /* @__PURE__ */ React6.createElement(
1627
+ Table3.Thead,
1628
+ {
1629
+ bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
1630
+ style: {
1631
+ position: "sticky",
1632
+ top: 0,
1633
+ zIndex: 1,
1634
+ boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
1635
+ border: "1px solid var(--mantine-color-gray-4)"
1962
1636
  }
1963
- ),
1964
- /* @__PURE__ */ jsx51(Table3.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
1965
- if (item.links == void 0) return /* @__PURE__ */ jsxs31(Table3.Tr, { children: [
1966
- /* @__PURE__ */ jsx51(Table3.Td, { children: item.label }),
1967
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) }),
1968
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) }),
1969
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) }),
1970
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) }),
1971
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) }),
1972
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(Checkbox2, {}) }) })
1973
- ] }, idx);
1974
- return /* @__PURE__ */ jsxs31(React2.Fragment, { children: [
1975
- /* @__PURE__ */ jsx51(Table3.Tr, { children: /* @__PURE__ */ jsx51(
1976
- Table3.Td,
1637
+ },
1638
+ /* @__PURE__ */ React6.createElement(Table3.Tr, null, /* @__PURE__ */ React6.createElement(Table3.Th, null, title2), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isRead"), onChange: (e) => {
1639
+ store.toogleAllPermissionWithType("isRead", e.target.checked);
1640
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "Xem", /* @__PURE__ */ React6.createElement(IconEyeUp2, { color: "gray" })))), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isCreate"), onChange: (e) => {
1641
+ store.toogleAllPermissionWithType("isCreate", e.target.checked);
1642
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "Th\xEAm", /* @__PURE__ */ React6.createElement(IconPlus2, { color: "blue" })))), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isUpdate"), onChange: (e) => {
1643
+ store.toogleAllPermissionWithType("isUpdate", e.target.checked);
1644
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "S\u1EEDa", /* @__PURE__ */ React6.createElement(IconEdit2, { color: "var(--mantine-color-yellow-8)" })))), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isDelete"), onChange: (e) => {
1645
+ store.toogleAllPermissionWithType("isDelete", e.target.checked);
1646
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "X\xF3a", /* @__PURE__ */ React6.createElement(IconTrash2, { color: "var(--mantine-color-red-8)" })))), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isPrint"), onChange: (e) => {
1647
+ store.toogleAllPermissionWithType("isPrint", e.target.checked);
1648
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "In", /* @__PURE__ */ React6.createElement(IconPrinter2, { color: "var(--mantine-color-cyan-8)" })))), /* @__PURE__ */ React6.createElement(Table3.Th, null, /* @__PURE__ */ React6.createElement(Flex2, { gap: 3, direction: "column", justify: "center", align: "center" }, /* @__PURE__ */ React6.createElement(Checkbox2, { checked: store.isAllPermission("isExport"), onChange: (e) => {
1649
+ store.toogleAllPermissionWithType("isExport", e.target.checked);
1650
+ } }), /* @__PURE__ */ React6.createElement(MyFlexRow, { gap: 3 }, "Xu\u1EA5t", /* @__PURE__ */ React6.createElement(IconFileExport2, { color: "var(--mantine-color-green-8)" })))))
1651
+ ), /* @__PURE__ */ React6.createElement(Table3.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))" }, (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
1652
+ if (item.links == void 0) return /* @__PURE__ */ React6.createElement(Table3.Tr, { key: idx }, /* @__PURE__ */ React6.createElement(Table3.Td, null, item.label), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(Checkbox2, null))));
1653
+ return /* @__PURE__ */ React6.createElement(React6.Fragment, { key: idx }, /* @__PURE__ */ React6.createElement(Table3.Tr, { key: item.label }, /* @__PURE__ */ React6.createElement(
1654
+ Table3.Td,
1655
+ {
1656
+ colSpan: 7,
1657
+ bg: OBJECT_COlORS.mantineBackgroundBlueLight
1658
+ },
1659
+ /* @__PURE__ */ React6.createElement(Text2, { fs: "oblique", size: "sm", fw: "bold" }, item.label)
1660
+ )), item.links.map(
1661
+ (item2, idx2) => {
1662
+ var _a2, _b2, _c, _d, _e, _f;
1663
+ return /* @__PURE__ */ React6.createElement(Table3.Tr, { key: idx2 }, /* @__PURE__ */ React6.createElement(Table3.Td, null, item2.label), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1664
+ Checkbox2,
1977
1665
  {
1978
- colSpan: 7,
1979
- bg: OBJECT_COlORS.mantineBackgroundBlueLight,
1980
- children: /* @__PURE__ */ jsx51(Text2, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
1666
+ checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
1667
+ onChange: (e) => {
1668
+ store.updatePermission(item2.pageId, {
1669
+ isRead: e.target.checked
1670
+ });
1671
+ }
1672
+ }
1673
+ ))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1674
+ Checkbox2,
1675
+ {
1676
+ checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
1677
+ onChange: (e) => {
1678
+ store.updatePermission(item2.pageId, {
1679
+ isCreate: e.target.checked
1680
+ });
1681
+ }
1981
1682
  }
1982
- ) }, item.label),
1983
- item.links.map(
1984
- (item2, idx2) => {
1985
- var _a2, _b2, _c, _d, _e, _f;
1986
- return /* @__PURE__ */ jsxs31(Table3.Tr, { children: [
1987
- /* @__PURE__ */ jsx51(Table3.Td, { children: item2.label }),
1988
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
1989
- Checkbox2,
1990
- {
1991
- checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
1992
- onChange: (e) => {
1993
- store.updatePermission(item2.pageId, {
1994
- isRead: e.target.checked
1995
- });
1996
- }
1997
- }
1998
- ) }) }),
1999
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
2000
- Checkbox2,
2001
- {
2002
- checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
2003
- onChange: (e) => {
2004
- store.updatePermission(item2.pageId, {
2005
- isCreate: e.target.checked
2006
- });
2007
- }
2008
- }
2009
- ) }) }),
2010
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
2011
- Checkbox2,
2012
- {
2013
- checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
2014
- onChange: (e) => {
2015
- store.updatePermission(item2.pageId, {
2016
- isUpdate: e.target.checked
2017
- });
2018
- }
2019
- }
2020
- ) }) }),
2021
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
2022
- Checkbox2,
2023
- {
2024
- checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
2025
- onChange: (e) => {
2026
- store.updatePermission(item2.pageId, {
2027
- isDelete: e.target.checked
2028
- });
2029
- }
2030
- }
2031
- ) }) }),
2032
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
2033
- Checkbox2,
2034
- {
2035
- checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
2036
- onChange: (e) => {
2037
- store.updatePermission(item2.pageId, {
2038
- isPrint: e.target.checked
2039
- });
2040
- }
2041
- }
2042
- ) }) }),
2043
- /* @__PURE__ */ jsx51(Table3.Td, { children: /* @__PURE__ */ jsx51(MyCenterFull, { children: /* @__PURE__ */ jsx51(
2044
- Checkbox2,
2045
- {
2046
- checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
2047
- onChange: (e) => {
2048
- store.updatePermission(item2.pageId, {
2049
- isExport: e.target.checked
2050
- });
2051
- }
2052
- }
2053
- ) }) })
2054
- ] }, idx2);
1683
+ ))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1684
+ Checkbox2,
1685
+ {
1686
+ checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
1687
+ onChange: (e) => {
1688
+ store.updatePermission(item2.pageId, {
1689
+ isUpdate: e.target.checked
1690
+ });
1691
+ }
2055
1692
  }
2056
- )
2057
- ] }, idx);
2058
- }) })
2059
- ] }) });
1693
+ ))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1694
+ Checkbox2,
1695
+ {
1696
+ checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
1697
+ onChange: (e) => {
1698
+ store.updatePermission(item2.pageId, {
1699
+ isDelete: e.target.checked
1700
+ });
1701
+ }
1702
+ }
1703
+ ))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1704
+ Checkbox2,
1705
+ {
1706
+ checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
1707
+ onChange: (e) => {
1708
+ store.updatePermission(item2.pageId, {
1709
+ isPrint: e.target.checked
1710
+ });
1711
+ }
1712
+ }
1713
+ ))), /* @__PURE__ */ React6.createElement(Table3.Td, null, /* @__PURE__ */ React6.createElement(MyCenterFull, null, /* @__PURE__ */ React6.createElement(
1714
+ Checkbox2,
1715
+ {
1716
+ checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
1717
+ onChange: (e) => {
1718
+ store.updatePermission(item2.pageId, {
1719
+ isExport: e.target.checked
1720
+ });
1721
+ }
1722
+ }
1723
+ ))));
1724
+ }
1725
+ ));
1726
+ }))));
2060
1727
  }
2061
1728
  function useGetUserPermission2() {
2062
1729
  const store = useS_core83092();
2063
- const query = useQuery15({
1730
+ const query = useQuery16({
2064
1731
  queryKey: ["F_7p4mh9d75x_AuthorizationTable", store.state.roleId],
2065
1732
  queryFn: async () => {
2066
1733
  const result = await baseAxios_default.get("/Role/GetUserPermission?userId=" + store.state.roleId);
@@ -2096,72 +1763,54 @@ function useGetUserPermission2() {
2096
1763
  }
2097
1764
 
2098
1765
  // src/modules-features/admin/core/core83092/F_core83092.tsx
2099
- import { jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
2100
1766
  function F_core83092() {
2101
- return /* @__PURE__ */ jsx52(MyPageContent, { children: /* @__PURE__ */ jsxs32(Grid2, { grow: true, children: [
2102
- /* @__PURE__ */ jsx52(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx52(F_core83092_ReadUser, {}) }),
2103
- /* @__PURE__ */ jsx52(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs32(MyFlexColumn, { h: "80vh", flex: 1, children: [
2104
- /* @__PURE__ */ jsx52(ScrollArea4.Autosize, { h: "100%", children: /* @__PURE__ */ jsx52(Paper2, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx52(F_core83092_ViewMenuPermissions, {}) }) }),
2105
- /* @__PURE__ */ jsx52(F_core83092_Save, {})
2106
- ] }) })
2107
- ] }) });
1767
+ return /* @__PURE__ */ React.createElement(MyPageContent, null, /* @__PURE__ */ React.createElement(Grid2, { grow: true }, /* @__PURE__ */ React.createElement(Grid2.Col, { span: 4 }, /* @__PURE__ */ React.createElement(F_core83092_ReadUser, null)), /* @__PURE__ */ React.createElement(Grid2.Col, { span: 8 }, /* @__PURE__ */ React.createElement(MyFlexColumn, { h: "80vh", flex: 1 }, /* @__PURE__ */ React.createElement(ScrollArea4.Autosize, { h: "100%" }, /* @__PURE__ */ React.createElement(Paper2, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary }, /* @__PURE__ */ React.createElement(F_core83092_ViewMenuPermissions, null))), /* @__PURE__ */ React.createElement(F_core83092_Save, null)))));
2108
1768
  }
2109
1769
 
2110
1770
  // src/modules-features/admin/core/MainDashboard/BarChart_CourseStatus.tsx
2111
1771
  import { BarChart } from "@mantine/charts";
2112
1772
  import { Group as Group4, Paper as Paper3, Text as Text3, useMantineColorScheme } from "@mantine/core";
2113
- import { Fragment, jsx as jsx53, jsxs as jsxs33 } from "react/jsx-runtime";
2114
1773
 
2115
1774
  // src/modules-features/admin/core/MainDashboard/BarChart_ExamStatus.tsx
2116
1775
  import { BarChart as BarChart2 } from "@mantine/charts";
2117
1776
  import { Group as Group5, Paper as Paper4, Text as Text4, useMantineColorScheme as useMantineColorScheme2 } from "@mantine/core";
2118
- import { Fragment as Fragment2, jsx as jsx54, jsxs as jsxs34 } from "react/jsx-runtime";
2119
1777
 
2120
1778
  // src/modules-features/admin/core/MainDashboard/BarChart_RevenueByAcademicYear.tsx
2121
1779
  import { BarChart as BarChart3 } from "@mantine/charts";
2122
1780
  import { Group as Group6, Paper as Paper5, Text as Text5, useMantineColorScheme as useMantineColorScheme3 } from "@mantine/core";
2123
- import { Fragment as Fragment3, jsx as jsx55, jsxs as jsxs35 } from "react/jsx-runtime";
2124
1781
 
2125
1782
  // src/modules-features/admin/core/MainDashboard/BarChart_StudentStatusIn30Days.tsx
2126
1783
  import { BarChart as BarChart4 } from "@mantine/charts";
2127
1784
  import { Group as Group7, Paper as Paper6, Text as Text6, useMantineColorScheme as useMantineColorScheme4 } from "@mantine/core";
2128
- import { Fragment as Fragment4, jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
2129
1785
 
2130
1786
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseDropOutPercentage.tsx
2131
1787
  import { BarChart as BarChart5 } from "@mantine/charts";
2132
1788
  import { Group as Group8, Paper as Paper7, Text as Text7, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
2133
- import { jsx as jsx57, jsxs as jsxs37 } from "react/jsx-runtime";
2134
1789
 
2135
1790
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseProgressPercentage.tsx
2136
1791
  import { BarChart as BarChart6 } from "@mantine/charts";
2137
1792
  import { Group as Group9, Paper as Paper8, Text as Text8, useMantineColorScheme as useMantineColorScheme6 } from "@mantine/core";
2138
- import { jsx as jsx58, jsxs as jsxs38 } from "react/jsx-runtime";
2139
1793
 
2140
1794
  // src/modules-features/admin/core/MainDashboard/LineChart_RevenueIn12Months.tsx
2141
1795
  import { LineChart } from "@mantine/charts";
2142
1796
  import { Group as Group10, Paper as Paper9, Text as Text9 } from "@mantine/core";
2143
- import { Fragment as Fragment5, jsx as jsx59, jsxs as jsxs39 } from "react/jsx-runtime";
2144
1797
 
2145
1798
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByDiscountIn3Months.tsx
2146
1799
  import { LineChart as LineChart2 } from "@mantine/charts";
2147
1800
  import { Group as Group11, Paper as Paper10, Text as Text10 } from "@mantine/core";
2148
- import { Fragment as Fragment6, jsx as jsx60, jsxs as jsxs40 } from "react/jsx-runtime";
2149
1801
 
2150
1802
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByVoucherIn3Months.tsx
2151
1803
  import { LineChart as LineChart3 } from "@mantine/charts";
2152
1804
  import { Group as Group12, Paper as Paper11, Text as Text11 } from "@mantine/core";
2153
- import { Fragment as Fragment7, jsx as jsx61, jsxs as jsxs41 } from "react/jsx-runtime";
2154
1805
 
2155
1806
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalStudentIn12Months.tsx
2156
1807
  import { LineChart as LineChart4 } from "@mantine/charts";
2157
1808
  import { Group as Group13, Paper as Paper12, Text as Text12 } from "@mantine/core";
2158
- import { Fragment as Fragment8, jsx as jsx62, jsxs as jsxs42 } from "react/jsx-runtime";
2159
1809
 
2160
1810
  // src/modules-features/admin/core/MainDashboard/ViewDiscountStat.tsx
2161
1811
  import { Center, Progress, Space, Text as Text13 } from "@mantine/core";
2162
1812
  import { PieChart } from "@mantine/charts";
2163
- import { useMemo as useMemo13 } from "react";
2164
- import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs43 } from "react/jsx-runtime";
1813
+ import { useMemo as useMemo14 } from "react";
2165
1814
  function getRandomColor(seed) {
2166
1815
  const random = Math.sin(seed) * 1e4;
2167
1816
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -2333,13 +1982,13 @@ var mockData = [
2333
1982
  ];
2334
1983
  function PieChart_DiscountUsedPercentage() {
2335
1984
  const totalDisountCode = mockData.reduce((acc, cur) => acc + cur.used, 0);
2336
- const columns = useMemo13(
1985
+ const columns = useMemo14(
2337
1986
  () => [
2338
1987
  {
2339
1988
  header: "M\xE0u",
2340
1989
  accessorKey: "color",
2341
1990
  accessorFn(originalRow) {
2342
- return /* @__PURE__ */ jsx63("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
1991
+ return /* @__PURE__ */ React.createElement("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
2343
1992
  },
2344
1993
  minSize: 30,
2345
1994
  maxSize: 30
@@ -2354,10 +2003,7 @@ function PieChart_DiscountUsedPercentage() {
2354
2003
  header: "%",
2355
2004
  accessorKey: "used",
2356
2005
  accessorFn(originalRow) {
2357
- return /* @__PURE__ */ jsx63(Fragment9, { children: /* @__PURE__ */ jsx63(Center, { children: /* @__PURE__ */ jsxs43(Text13, { children: [
2358
- (originalRow.used / totalDisountCode * 100).toFixed(0),
2359
- "%"
2360
- ] }) }) });
2006
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Center, null, /* @__PURE__ */ React.createElement(Text13, null, (originalRow.used / totalDisountCode * 100).toFixed(0), "%")));
2361
2007
  },
2362
2008
  minSize: 64,
2363
2009
  maxSize: 64
@@ -2369,20 +2015,7 @@ function PieChart_DiscountUsedPercentage() {
2369
2015
  return originalRow.used;
2370
2016
  },
2371
2017
  Cell: ({ row }) => {
2372
- return /* @__PURE__ */ jsxs43(Fragment9, { children: [
2373
- /* @__PURE__ */ jsx63(Center, { children: /* @__PURE__ */ jsxs43(Text13, { children: [
2374
- "\u0110\xE3 s\u1EED d\u1EE5ng: ",
2375
- /* @__PURE__ */ jsxs43("strong", { children: [
2376
- row.original.used,
2377
- " / ",
2378
- row.original.total
2379
- ] }),
2380
- " - (",
2381
- (row.original.used / row.original.total * 100).toFixed(2),
2382
- "%)"
2383
- ] }) }),
2384
- /* @__PURE__ */ jsx63(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
2385
- ] });
2018
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Center, null, /* @__PURE__ */ React.createElement(Text13, null, "\u0110\xE3 s\u1EED d\u1EE5ng: ", /* @__PURE__ */ React.createElement("strong", null, row.original.used, " / ", row.original.total), " - (", (row.original.used / row.original.total * 100).toFixed(2), "%)")), /* @__PURE__ */ React.createElement(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 }));
2386
2019
  },
2387
2020
  minSize: 50,
2388
2021
  maxSize: 50
@@ -2390,41 +2023,35 @@ function PieChart_DiscountUsedPercentage() {
2390
2023
  ],
2391
2024
  []
2392
2025
  );
2393
- return /* @__PURE__ */ jsx63(Fragment9, { children: /* @__PURE__ */ jsxs43(MyFlexColumn, { children: [
2394
- /* @__PURE__ */ jsx63(Text13, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng chi\u1EBFt kh\u1EA5u h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
2395
- /* @__PURE__ */ jsx63(Center, { children: /* @__PURE__ */ jsx63(
2396
- PieChart,
2397
- {
2398
- startAngle: 90,
2399
- endAngle: -270,
2400
- strokeWidth: 0,
2401
- withLabelsLine: true,
2402
- labelsPosition: "outside",
2403
- withLabels: true,
2404
- labelsType: "percent",
2405
- data: data_used_discountCode
2406
- }
2407
- ) }),
2408
- /* @__PURE__ */ jsx63(Space, { mt: 5 }),
2409
- /* @__PURE__ */ jsx63(
2410
- MyDataTable,
2411
- {
2412
- data: mockData,
2413
- columns,
2414
- initialState: {
2415
- density: "xs",
2416
- pagination: { pageIndex: 0, pageSize: 5 }
2417
- }
2026
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(Text13, { mb: "20" }, "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng chi\u1EBFt kh\u1EA5u h\u1ECDc vi\xEAn trong 60 ng\xE0y qua"), /* @__PURE__ */ React.createElement(Center, null, /* @__PURE__ */ React.createElement(
2027
+ PieChart,
2028
+ {
2029
+ startAngle: 90,
2030
+ endAngle: -270,
2031
+ strokeWidth: 0,
2032
+ withLabelsLine: true,
2033
+ labelsPosition: "outside",
2034
+ withLabels: true,
2035
+ labelsType: "percent",
2036
+ data: data_used_discountCode
2037
+ }
2038
+ )), /* @__PURE__ */ React.createElement(Space, { mt: 5 }), /* @__PURE__ */ React.createElement(
2039
+ MyDataTable,
2040
+ {
2041
+ data: mockData,
2042
+ columns,
2043
+ initialState: {
2044
+ density: "xs",
2045
+ pagination: { pageIndex: 0, pageSize: 5 }
2418
2046
  }
2419
- )
2420
- ] }) });
2047
+ }
2048
+ )));
2421
2049
  }
2422
2050
 
2423
2051
  // src/modules-features/admin/core/MainDashboard/ViewVoucherStat.tsx
2424
2052
  import { Center as Center2, Progress as Progress2, Space as Space2, Text as Text14 } from "@mantine/core";
2425
2053
  import { PieChart as PieChart2 } from "@mantine/charts";
2426
- import { useMemo as useMemo14 } from "react";
2427
- import { Fragment as Fragment10, jsx as jsx64, jsxs as jsxs44 } from "react/jsx-runtime";
2054
+ import { useMemo as useMemo15 } from "react";
2428
2055
  function getRandomColor2(seed) {
2429
2056
  const random = Math.sin(seed) * 1e4;
2430
2057
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -2596,13 +2223,13 @@ var mockData2 = [
2596
2223
  ];
2597
2224
  function PieChart_VoucherUsedPercentage() {
2598
2225
  const totalVoucherCode = mockData2.reduce((acc, cur) => acc + cur.used, 0);
2599
- const columns = useMemo14(
2226
+ const columns = useMemo15(
2600
2227
  () => [
2601
2228
  {
2602
2229
  header: "M\xE0u",
2603
2230
  accessorKey: "color",
2604
2231
  accessorFn(originalRow) {
2605
- return /* @__PURE__ */ jsx64("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
2232
+ return /* @__PURE__ */ React.createElement("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
2606
2233
  },
2607
2234
  minSize: 30,
2608
2235
  maxSize: 30
@@ -2617,10 +2244,7 @@ function PieChart_VoucherUsedPercentage() {
2617
2244
  header: "%",
2618
2245
  accessorKey: "used",
2619
2246
  accessorFn(originalRow) {
2620
- return /* @__PURE__ */ jsx64(Fragment10, { children: /* @__PURE__ */ jsx64(Center2, { children: /* @__PURE__ */ jsxs44(Text14, { children: [
2621
- (originalRow.used / totalVoucherCode * 100).toFixed(0),
2622
- "%"
2623
- ] }) }) });
2247
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Center2, null, /* @__PURE__ */ React.createElement(Text14, null, (originalRow.used / totalVoucherCode * 100).toFixed(0), "%")));
2624
2248
  },
2625
2249
  minSize: 64,
2626
2250
  maxSize: 64
@@ -2632,20 +2256,7 @@ function PieChart_VoucherUsedPercentage() {
2632
2256
  return originalRow.used;
2633
2257
  },
2634
2258
  Cell: ({ row }) => {
2635
- return /* @__PURE__ */ jsxs44(Fragment10, { children: [
2636
- /* @__PURE__ */ jsx64(Center2, { children: /* @__PURE__ */ jsxs44(Text14, { children: [
2637
- "\u0110\xE3 s\u1EED d\u1EE5ng: ",
2638
- /* @__PURE__ */ jsxs44("strong", { children: [
2639
- row.original.used,
2640
- " / ",
2641
- row.original.total
2642
- ] }),
2643
- " - (",
2644
- (row.original.used / row.original.total * 100).toFixed(2),
2645
- "%)"
2646
- ] }) }),
2647
- /* @__PURE__ */ jsx64(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
2648
- ] });
2259
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Center2, null, /* @__PURE__ */ React.createElement(Text14, null, "\u0110\xE3 s\u1EED d\u1EE5ng: ", /* @__PURE__ */ React.createElement("strong", null, row.original.used, " / ", row.original.total), " - (", (row.original.used / row.original.total * 100).toFixed(2), "%)")), /* @__PURE__ */ React.createElement(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 }));
2649
2260
  },
2650
2261
  minSize: 50,
2651
2262
  maxSize: 50
@@ -2653,34 +2264,29 @@ function PieChart_VoucherUsedPercentage() {
2653
2264
  ],
2654
2265
  []
2655
2266
  );
2656
- return /* @__PURE__ */ jsx64(Fragment10, { children: /* @__PURE__ */ jsxs44(MyFlexColumn, { children: [
2657
- /* @__PURE__ */ jsx64(Text14, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng m\xE3 gi\u1EA3m gi\xE1 h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
2658
- /* @__PURE__ */ jsx64(Center2, { children: /* @__PURE__ */ jsx64(
2659
- PieChart2,
2660
- {
2661
- startAngle: 90,
2662
- endAngle: -270,
2663
- strokeWidth: 0,
2664
- withLabelsLine: true,
2665
- labelsPosition: "outside",
2666
- withLabels: true,
2667
- labelsType: "percent",
2668
- data: data_used_discountCode2
2669
- }
2670
- ) }),
2671
- /* @__PURE__ */ jsx64(Space2, { mt: 5 }),
2672
- /* @__PURE__ */ jsx64(
2673
- MyDataTable,
2674
- {
2675
- data: mockData2,
2676
- columns,
2677
- initialState: {
2678
- density: "xs",
2679
- pagination: { pageIndex: 0, pageSize: 5 }
2680
- }
2267
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(MyFlexColumn, null, /* @__PURE__ */ React.createElement(Text14, { mb: "20" }, "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng m\xE3 gi\u1EA3m gi\xE1 h\u1ECDc vi\xEAn trong 60 ng\xE0y qua"), /* @__PURE__ */ React.createElement(Center2, null, /* @__PURE__ */ React.createElement(
2268
+ PieChart2,
2269
+ {
2270
+ startAngle: 90,
2271
+ endAngle: -270,
2272
+ strokeWidth: 0,
2273
+ withLabelsLine: true,
2274
+ labelsPosition: "outside",
2275
+ withLabels: true,
2276
+ labelsType: "percent",
2277
+ data: data_used_discountCode2
2278
+ }
2279
+ )), /* @__PURE__ */ React.createElement(Space2, { mt: 5 }), /* @__PURE__ */ React.createElement(
2280
+ MyDataTable,
2281
+ {
2282
+ data: mockData2,
2283
+ columns,
2284
+ initialState: {
2285
+ density: "xs",
2286
+ pagination: { pageIndex: 0, pageSize: 5 }
2681
2287
  }
2682
- )
2683
- ] }) });
2288
+ }
2289
+ )));
2684
2290
  }
2685
2291
  export {
2686
2292
  F_core12196,