aq-fe-framework 0.1.320 → 0.1.321

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.
@@ -2,6 +2,10 @@ import { I as IBaseEntity } from '../base-BprRafT5.mjs';
2
2
  export { I as IEmailConfig } from '../EmailConfig-DvTXTBt3.mjs';
3
3
  export { I as IAQModule } from '../IAQModule-CCtwv-e0.mjs';
4
4
 
5
+ interface IPageContent extends IBaseEntity {
6
+ description?: string;
7
+ }
8
+
5
9
  interface IFile {
6
10
  fileName?: string | undefined;
7
11
  fileExtension?: string | undefined;
@@ -51,8 +55,4 @@ interface IUser extends IBaseEntity {
51
55
  email?: string;
52
56
  }
53
57
 
54
- interface IPageContent extends IBaseEntity {
55
- description?: string;
56
- }
57
-
58
58
  export { IBaseEntity, type IDocument, type IFile, type IPageContent, type IPagePermission, type IRole, type IUser };
@@ -11,9 +11,6 @@ import {
11
11
  import {
12
12
  U0DateToDDMMYYYString
13
13
  } from "../chunk-I2XIN2R3.mjs";
14
- import {
15
- const_object_documentTypes
16
- } from "../chunk-BZMQOGL6.mjs";
17
14
  import {
18
15
  F_authenticate_Logout,
19
16
  MyActionIconDelete,
@@ -42,7 +39,12 @@ import {
42
39
  } from "../chunk-Y3YGC5IH.mjs";
43
40
  import "../chunk-5U2JSHSJ.mjs";
44
41
  import {
45
- MyDataTableSelectOne
42
+ const_object_documentTypes
43
+ } from "../chunk-BZMQOGL6.mjs";
44
+ import {
45
+ MyButton as MyButton2,
46
+ MyDataTableSelectOne,
47
+ MyTextInput as MyTextInput2
46
48
  } from "../chunk-HEW5D3R4.mjs";
47
49
  import {
48
50
  MyDataTable,
@@ -59,6 +61,8 @@ import "../chunk-K6S7R6LU.mjs";
59
61
  import {
60
62
  baseAxios_default,
61
63
  createBaseApi,
64
+ useMyDevice,
65
+ useMyReactMutation,
62
66
  useMyReactQuery,
63
67
  useMyRouter,
64
68
  useQ_AQ_GetAQModule,
@@ -4068,34 +4072,85 @@ function F_organizationPolicyDocs({ RegulationsTypeId }) {
4068
4072
  }
4069
4073
 
4070
4074
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
4075
+ import { Group as Group4 } from "@mantine/core";
4076
+ import { useMemo as useMemo16 } from "react";
4077
+
4078
+ // src/api/services/service_pageContent.ts
4079
+ var CONTROLLER4 = "/eva/PageContent";
4080
+ var service_pageContent = __spreadValues({}, createBaseApi(CONTROLLER4, baseAxios_default));
4081
+
4082
+ // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
4071
4083
  import { jsx as jsx72 } from "react/jsx-runtime";
4072
- function F_pageContentConfig_ReadMenu() {
4073
- return /* @__PURE__ */ jsx72("div", {});
4084
+ function F_pageContentConfig_Save({ menuValues }) {
4085
+ const updatePageConfigMutation = useMyReactMutation({
4086
+ axiosFn: () => {
4087
+ console.log("value");
4088
+ return service_pageContent.updateList([{ id: 1 }]);
4089
+ }
4090
+ });
4091
+ return /* @__PURE__ */ jsx72(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
4074
4092
  }
4075
4093
 
4076
- // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig.tsx
4094
+ // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
4077
4095
  import { jsx as jsx73 } from "react/jsx-runtime";
4078
- function F_pageContentConfig() {
4079
- return /* @__PURE__ */ jsx73(F_pageContentConfig_ReadMenu, {});
4096
+ function F_pageContentConfig_Export() {
4097
+ return /* @__PURE__ */ jsx73(MyButton2, { actionType: "export" });
4080
4098
  }
4081
4099
 
4082
4100
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
4083
4101
  import { jsx as jsx74 } from "react/jsx-runtime";
4102
+ function F_pageContentConfig_DeleteDescription() {
4103
+ return /* @__PURE__ */ jsx74(MyButton2, { actionType: "delete" });
4104
+ }
4084
4105
 
4085
- // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
4086
- import { jsx as jsx75 } from "react/jsx-runtime";
4087
-
4088
- // src/api/services/service_pageContent.ts
4089
- var CONTROLLER4 = "/eva/PageContent";
4090
- var service_pageContent = __spreadValues({}, createBaseApi(CONTROLLER4, baseAxios_default));
4106
+ // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
4107
+ import { jsx as jsx75, jsxs as jsxs48 } from "react/jsx-runtime";
4108
+ function F_pageContentConfig_ReadMenu() {
4109
+ const pageContentQuery = useMyReactQuery({
4110
+ queryKey: ["pageContentQuery"],
4111
+ axiosFn: () => service_pageContent.getAll()
4112
+ });
4113
+ const device = useMyDevice();
4114
+ const columns = useMemo16(() => [
4115
+ {
4116
+ header: "Dashboard",
4117
+ accessorKey: "name"
4118
+ },
4119
+ {
4120
+ header: "M\xF4 t\u1EA3",
4121
+ accessorKey: "description",
4122
+ size: device.isPc ? 400 : 0,
4123
+ Cell: () => {
4124
+ return /* @__PURE__ */ jsx75(MyTextInput2, { placeholder: "Nh\u1EADp m\xF4 t\u1EA3 menu" });
4125
+ }
4126
+ }
4127
+ ], []);
4128
+ return /* @__PURE__ */ jsx75(
4129
+ MyDataTable,
4130
+ {
4131
+ isLoading: pageContentQuery.isLoading,
4132
+ isError: pageContentQuery.isError,
4133
+ data: pageContentQuery.data || [],
4134
+ columns,
4135
+ renderTopToolbarCustomActions: (row) => /* @__PURE__ */ jsxs48(Group4, { children: [
4136
+ /* @__PURE__ */ jsx75(F_pageContentConfig_Save, { menuValues: [] }),
4137
+ /* @__PURE__ */ jsx75(F_pageContentConfig_Export, {}),
4138
+ /* @__PURE__ */ jsx75(F_pageContentConfig_DeleteDescription, {})
4139
+ ] })
4140
+ }
4141
+ );
4142
+ }
4091
4143
 
4092
- // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
4144
+ // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig.tsx
4093
4145
  import { jsx as jsx76 } from "react/jsx-runtime";
4146
+ function F_pageContentConfig() {
4147
+ return /* @__PURE__ */ jsx76(F_pageContentConfig_ReadMenu, {});
4148
+ }
4094
4149
 
4095
4150
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Read.tsx
4096
- import { Group as Group4 } from "@mantine/core";
4151
+ import { Group as Group5 } from "@mantine/core";
4097
4152
  import { useQuery as useQuery16 } from "@tanstack/react-query";
4098
- import { useMemo as useMemo16 } from "react";
4153
+ import { useMemo as useMemo17 } from "react";
4099
4154
 
4100
4155
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Delete.tsx
4101
4156
  import { jsx as jsx77 } from "react/jsx-runtime";
@@ -4112,19 +4167,19 @@ function F_roleCatalog_Delete({ values }) {
4112
4167
 
4113
4168
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Form.tsx
4114
4169
  import { useForm as useForm24 } from "@mantine/form";
4115
- import { jsx as jsx78, jsxs as jsxs48 } from "react/jsx-runtime";
4170
+ import { jsx as jsx78, jsxs as jsxs49 } from "react/jsx-runtime";
4116
4171
  function F_roleCatalog_Form({ values }) {
4117
4172
  const form = useForm24({
4118
4173
  mode: "uncontrolled",
4119
4174
  initialValues: values
4120
4175
  });
4121
- if (values) return /* @__PURE__ */ jsxs48(MyActionIconUpdate, { form, onSubmit: async () => {
4176
+ if (values) return /* @__PURE__ */ jsxs49(MyActionIconUpdate, { form, onSubmit: async () => {
4122
4177
  return await baseAxios_default.post("/Role/Update", form.getValues());
4123
4178
  }, children: [
4124
4179
  /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
4125
4180
  /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
4126
4181
  ] });
4127
- return /* @__PURE__ */ jsxs48(MyButtonCreate, { form, onSubmit: async () => {
4182
+ return /* @__PURE__ */ jsxs49(MyButtonCreate, { form, onSubmit: async () => {
4128
4183
  return await baseAxios_default.post("/Role/Create", form.getValues());
4129
4184
  }, children: [
4130
4185
  /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
@@ -4133,10 +4188,10 @@ function F_roleCatalog_Form({ values }) {
4133
4188
  }
4134
4189
 
4135
4190
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Read.tsx
4136
- import { jsx as jsx79, jsxs as jsxs49 } from "react/jsx-runtime";
4191
+ import { jsx as jsx79, jsxs as jsxs50 } from "react/jsx-runtime";
4137
4192
  function F_roleCatalog_Read() {
4138
4193
  const query = useQ_core47643_GetAdminRole2();
4139
- const columns = useMemo16(() => [
4194
+ const columns = useMemo17(() => [
4140
4195
  {
4141
4196
  header: "M\xE3",
4142
4197
  accessorKey: "code"
@@ -4153,8 +4208,8 @@ function F_roleCatalog_Read() {
4153
4208
  isError: query.isError,
4154
4209
  data: query.data || [],
4155
4210
  columns,
4156
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx79(Group4, { children: /* @__PURE__ */ jsx79(F_roleCatalog_Form, {}) }),
4157
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs49(MyCenterFull, { children: [
4211
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx79(Group5, { children: /* @__PURE__ */ jsx79(F_roleCatalog_Form, {}) }),
4212
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs50(MyCenterFull, { children: [
4158
4213
  /* @__PURE__ */ jsx79(F_roleCatalog_Form, { values: row.original }),
4159
4214
  /* @__PURE__ */ jsx79(F_roleCatalog_Delete, { values: row.original })
4160
4215
  ] })
@@ -4215,12 +4270,12 @@ function F_roleCatalog() {
4215
4270
 
4216
4271
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Read.tsx
4217
4272
  import { useQuery as useQuery17 } from "@tanstack/react-query";
4218
- import { useMemo as useMemo17 } from "react";
4273
+ import { useMemo as useMemo18 } from "react";
4219
4274
 
4220
4275
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Create.tsx
4221
4276
  import { FileInput as FileInput7 } from "@mantine/core";
4222
4277
  import { useForm as useForm25 } from "@mantine/form";
4223
- import { jsx as jsx81, jsxs as jsxs50 } from "react/jsx-runtime";
4278
+ import { jsx as jsx81, jsxs as jsxs51 } from "react/jsx-runtime";
4224
4279
  function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4225
4280
  const form = useForm25({
4226
4281
  mode: "uncontrolled",
@@ -4231,7 +4286,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
4231
4286
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4232
4287
  }
4233
4288
  });
4234
- return /* @__PURE__ */ jsxs50(
4289
+ return /* @__PURE__ */ jsxs51(
4235
4290
  MyButtonCreate,
4236
4291
  {
4237
4292
  objectName: "v\u0103n b\u1EA3n",
@@ -4296,7 +4351,7 @@ function F_securityPolicyDocs_Delete({
4296
4351
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Update.tsx
4297
4352
  import { FileInput as FileInput8, TextInput as TextInput2 } from "@mantine/core";
4298
4353
  import { useForm as useForm26 } from "@mantine/form";
4299
- import { jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
4354
+ import { jsx as jsx83, jsxs as jsxs52 } from "react/jsx-runtime";
4300
4355
  function F_securityPolicyDocs_Update({ values }) {
4301
4356
  var _a;
4302
4357
  const form = useForm26({
@@ -4315,7 +4370,7 @@ function F_securityPolicyDocs_Update({ values }) {
4315
4370
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4316
4371
  }
4317
4372
  });
4318
- return /* @__PURE__ */ jsxs51(
4373
+ return /* @__PURE__ */ jsxs52(
4319
4374
  MyActionIconUpdate,
4320
4375
  {
4321
4376
  form,
@@ -4359,7 +4414,7 @@ function F_securityPolicyDocs_Update({ values }) {
4359
4414
  }
4360
4415
 
4361
4416
  // src/modules-features/admin/core/securityPolicyDocs/F_securityPolicyDocs_Read.tsx
4362
- import { jsx as jsx84, jsxs as jsxs52 } from "react/jsx-runtime";
4417
+ import { jsx as jsx84, jsxs as jsxs53 } from "react/jsx-runtime";
4363
4418
  function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4364
4419
  const query = useQuery17({
4365
4420
  queryKey: ["F_securityPolicyDocs_Read"],
@@ -4371,7 +4426,7 @@ function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4371
4426
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
4372
4427
  }
4373
4428
  });
4374
- const columns = useMemo17(
4429
+ const columns = useMemo18(
4375
4430
  () => [
4376
4431
  {
4377
4432
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -4404,7 +4459,7 @@ function F_securityPolicyDocs_Read({ SecurityTypeId }) {
4404
4459
  renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx84(F_securityPolicyDocs_Create, { SecurityTypeId }),
4405
4460
  renderRowActions: ({ row }) => {
4406
4461
  var _a;
4407
- return /* @__PURE__ */ jsxs52(MyCenterFull, { children: [
4462
+ return /* @__PURE__ */ jsxs53(MyCenterFull, { children: [
4408
4463
  /* @__PURE__ */ jsx84(F_securityPolicyDocs_Update, { values: row.original }),
4409
4464
  /* @__PURE__ */ jsx84(
4410
4465
  F_securityPolicyDocs_Delete,
@@ -4427,12 +4482,12 @@ function F_securityPolicyDocs({ SecurityTypeId }) {
4427
4482
 
4428
4483
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs.tsx
4429
4484
  import { useQuery as useQuery18 } from "@tanstack/react-query";
4430
- import { useMemo as useMemo18 } from "react";
4485
+ import { useMemo as useMemo19 } from "react";
4431
4486
 
4432
4487
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs_Create.tsx
4433
4488
  import { FileInput as FileInput9, Textarea as Textarea3 } from "@mantine/core";
4434
4489
  import { useForm as useForm27 } from "@mantine/form";
4435
- import { jsx as jsx86, jsxs as jsxs53 } from "react/jsx-runtime";
4490
+ import { jsx as jsx86, jsxs as jsxs54 } from "react/jsx-runtime";
4436
4491
  function F_systemUpdateDocs_Create({
4437
4492
  RefinementTypeId
4438
4493
  }) {
@@ -4447,7 +4502,7 @@ function F_systemUpdateDocs_Create({
4447
4502
  endDate: (value, values) => value && values.startDate && new Date(value) > new Date(values.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
4448
4503
  }
4449
4504
  });
4450
- return /* @__PURE__ */ jsxs53(
4505
+ return /* @__PURE__ */ jsxs54(
4451
4506
  MyButtonCreate,
4452
4507
  {
4453
4508
  objectName: "v\u0103n b\u1EA3n",
@@ -4528,7 +4583,7 @@ function F_systemUpdateDocs_Delete({
4528
4583
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs_Update.tsx
4529
4584
  import { FileInput as FileInput10, Textarea as Textarea4 } from "@mantine/core";
4530
4585
  import { useForm as useForm28 } from "@mantine/form";
4531
- import { jsx as jsx88, jsxs as jsxs54 } from "react/jsx-runtime";
4586
+ import { jsx as jsx88, jsxs as jsxs55 } from "react/jsx-runtime";
4532
4587
  function F_systemUpdateDocs_Update({ values }) {
4533
4588
  var _a;
4534
4589
  const form = useForm28({
@@ -4551,7 +4606,7 @@ function F_systemUpdateDocs_Update({ values }) {
4551
4606
  endDate: (value, values2) => value && values2.startDate && new Date(value) > new Date(values2.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
4552
4607
  }
4553
4608
  });
4554
- return /* @__PURE__ */ jsxs54(
4609
+ return /* @__PURE__ */ jsxs55(
4555
4610
  MyActionIconUpdate,
4556
4611
  {
4557
4612
  form,
@@ -4612,7 +4667,7 @@ function F_systemUpdateDocs_Update({ values }) {
4612
4667
  }
4613
4668
 
4614
4669
  // src/modules-features/admin/core/systemUpdateDocs/F_systemUpdateDocs.tsx
4615
- import { jsx as jsx89, jsxs as jsxs55 } from "react/jsx-runtime";
4670
+ import { jsx as jsx89, jsxs as jsxs56 } from "react/jsx-runtime";
4616
4671
  function F_systemUpdateDocs({ RefinementTypeId }) {
4617
4672
  const query = useQuery18({
4618
4673
  queryKey: ["F_systemUpdateDocs_Read"],
@@ -4624,7 +4679,7 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
4624
4679
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
4625
4680
  }
4626
4681
  });
4627
- const columns = useMemo18(
4682
+ const columns = useMemo19(
4628
4683
  () => [
4629
4684
  {
4630
4685
  header: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u",
@@ -4660,7 +4715,7 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
4660
4715
  data: query.data || [],
4661
4716
  renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx89(F_systemUpdateDocs_Create, { RefinementTypeId }),
4662
4717
  renderRowActions: ({ row }) => {
4663
- return /* @__PURE__ */ jsxs55(MyCenterFull, { children: [
4718
+ return /* @__PURE__ */ jsxs56(MyCenterFull, { children: [
4664
4719
  /* @__PURE__ */ jsx89(F_systemUpdateDocs_Update, { values: row.original }),
4665
4720
  /* @__PURE__ */ jsx89(
4666
4721
  F_systemUpdateDocs_Delete,
@@ -4677,12 +4732,12 @@ function F_systemUpdateDocs({ RefinementTypeId }) {
4677
4732
 
4678
4733
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Read.tsx
4679
4734
  import { useQuery as useQuery19 } from "@tanstack/react-query";
4680
- import { useMemo as useMemo19 } from "react";
4735
+ import { useMemo as useMemo20 } from "react";
4681
4736
 
4682
4737
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Create.tsx
4683
4738
  import { FileInput as FileInput11 } from "@mantine/core";
4684
4739
  import { useForm as useForm29 } from "@mantine/form";
4685
- import { jsx as jsx90, jsxs as jsxs56 } from "react/jsx-runtime";
4740
+ import { jsx as jsx90, jsxs as jsxs57 } from "react/jsx-runtime";
4686
4741
  function F_userGuideDocs_Create({ GuidelineTypeId }) {
4687
4742
  const form = useForm29({
4688
4743
  mode: "uncontrolled",
@@ -4692,7 +4747,7 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
4692
4747
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4693
4748
  }
4694
4749
  });
4695
- return /* @__PURE__ */ jsxs56(
4750
+ return /* @__PURE__ */ jsxs57(
4696
4751
  MyButtonCreate,
4697
4752
  {
4698
4753
  objectName: "v\u0103n b\u1EA3n",
@@ -4750,7 +4805,7 @@ function F_userGuideDocs_Delete({
4750
4805
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Update.tsx
4751
4806
  import { FileInput as FileInput12 } from "@mantine/core";
4752
4807
  import { useForm as useForm30 } from "@mantine/form";
4753
- import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
4808
+ import { jsx as jsx92, jsxs as jsxs58 } from "react/jsx-runtime";
4754
4809
  function F_userGuideDocs_Update({ values }) {
4755
4810
  var _a;
4756
4811
  const form = useForm30({
@@ -4767,7 +4822,7 @@ function F_userGuideDocs_Update({ values }) {
4767
4822
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4768
4823
  }
4769
4824
  });
4770
- return /* @__PURE__ */ jsxs57(
4825
+ return /* @__PURE__ */ jsxs58(
4771
4826
  MyActionIconUpdate,
4772
4827
  {
4773
4828
  form,
@@ -4805,7 +4860,7 @@ function F_userGuideDocs_Update({ values }) {
4805
4860
  }
4806
4861
 
4807
4862
  // src/modules-features/admin/core/userGuideDocs/F_userGuideDocs_Read.tsx
4808
- import { jsx as jsx93, jsxs as jsxs58 } from "react/jsx-runtime";
4863
+ import { jsx as jsx93, jsxs as jsxs59 } from "react/jsx-runtime";
4809
4864
  function F_userGuideDocs_Read({ GuidelineTypeId }) {
4810
4865
  const query = useQuery19({
4811
4866
  queryKey: ["F_userGuideDocs_Read"],
@@ -4817,7 +4872,7 @@ function F_userGuideDocs_Read({ GuidelineTypeId }) {
4817
4872
  return ((_a = result.data) == null ? void 0 : _a.data) || [];
4818
4873
  }
4819
4874
  });
4820
- const columns = useMemo19(
4875
+ const columns = useMemo20(
4821
4876
  () => [
4822
4877
  {
4823
4878
  header: "M\xE3 t\xE0i li\u1EC7u",
@@ -4845,7 +4900,7 @@ function F_userGuideDocs_Read({ GuidelineTypeId }) {
4845
4900
  data: query.data || [],
4846
4901
  renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx93(F_userGuideDocs_Create, { GuidelineTypeId }),
4847
4902
  renderRowActions: ({ row }) => {
4848
- return /* @__PURE__ */ jsxs58(MyCenterFull, { children: [
4903
+ return /* @__PURE__ */ jsxs59(MyCenterFull, { children: [
4849
4904
  /* @__PURE__ */ jsx93(F_userGuideDocs_Update, { values: row.original }),
4850
4905
  /* @__PURE__ */ jsx93(
4851
4906
  F_userGuideDocs_Delete,
@@ -4871,7 +4926,7 @@ import { Paper as Paper9, Space as Space6 } from "@mantine/core";
4871
4926
 
4872
4927
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Create.tsx
4873
4928
  import { useForm as useForm31 } from "@mantine/form";
4874
- import { jsx as jsx95, jsxs as jsxs59 } from "react/jsx-runtime";
4929
+ import { jsx as jsx95, jsxs as jsxs60 } from "react/jsx-runtime";
4875
4930
  function F_workflowProcessDocs_Create({
4876
4931
  WorkflowTypeId
4877
4932
  }) {
@@ -4885,7 +4940,7 @@ function F_workflowProcessDocs_Create({
4885
4940
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4886
4941
  }
4887
4942
  });
4888
- return /* @__PURE__ */ jsxs59(
4943
+ return /* @__PURE__ */ jsxs60(
4889
4944
  MyButtonCreate,
4890
4945
  {
4891
4946
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -4948,7 +5003,7 @@ function F_workflowProcessDocs_Create({
4948
5003
  import { Accordion as Accordion6, Alert as Alert6, Blockquote as Blockquote6, Skeleton as Skeleton6 } from "@mantine/core";
4949
5004
  import { useQuery as useQuery20 } from "@tanstack/react-query";
4950
5005
  import { IconBug as IconBug6 } from "@tabler/icons-react";
4951
- import { useMemo as useMemo20 } from "react";
5006
+ import { useMemo as useMemo21 } from "react";
4952
5007
 
4953
5008
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Delete.tsx
4954
5009
  import { jsx as jsx96 } from "react/jsx-runtime";
@@ -4967,7 +5022,7 @@ function F_workflowProcessDocs_Delete({
4967
5022
 
4968
5023
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Update.tsx
4969
5024
  import { useForm as useForm32 } from "@mantine/form";
4970
- import { jsx as jsx97, jsxs as jsxs60 } from "react/jsx-runtime";
5025
+ import { jsx as jsx97, jsxs as jsxs61 } from "react/jsx-runtime";
4971
5026
  function F_workflowProcessDocs_Update({
4972
5027
  values,
4973
5028
  WorkflowTypeId
@@ -4989,7 +5044,7 @@ function F_workflowProcessDocs_Update({
4989
5044
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
4990
5045
  }
4991
5046
  });
4992
- return /* @__PURE__ */ jsxs60(
5047
+ return /* @__PURE__ */ jsxs61(
4993
5048
  MyActionIconUpdate,
4994
5049
  {
4995
5050
  form,
@@ -5047,7 +5102,7 @@ function F_workflowProcessDocs_Update({
5047
5102
  }
5048
5103
 
5049
5104
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Read.tsx
5050
- import { jsx as jsx98, jsxs as jsxs61 } from "react/jsx-runtime";
5105
+ import { jsx as jsx98, jsxs as jsxs62 } from "react/jsx-runtime";
5051
5106
  function F_workflowProcessDocs_Read({
5052
5107
  WorkflowTypeId
5053
5108
  }) {
@@ -5103,7 +5158,7 @@ function SubRead6({
5103
5158
  return result.data.data;
5104
5159
  }
5105
5160
  });
5106
- const columns = useMemo20(
5161
+ const columns = useMemo21(
5107
5162
  () => [
5108
5163
  {
5109
5164
  header: "S\u1ED1 quy \u0111\u1ECBnh",
@@ -5126,7 +5181,7 @@ function SubRead6({
5126
5181
  ],
5127
5182
  []
5128
5183
  );
5129
- return /* @__PURE__ */ jsxs61(Accordion6.Item, { value: documentType.toString(), children: [
5184
+ return /* @__PURE__ */ jsxs62(Accordion6.Item, { value: documentType.toString(), children: [
5130
5185
  /* @__PURE__ */ jsx98(Accordion6.Control, { children: name }),
5131
5186
  /* @__PURE__ */ jsx98(Accordion6.Panel, { children: /* @__PURE__ */ jsx98(
5132
5187
  MyDataTable,
@@ -5135,7 +5190,7 @@ function SubRead6({
5135
5190
  isError: documentQuery.isError,
5136
5191
  columns,
5137
5192
  data: documentQuery.data || [],
5138
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs61(MyCenterFull, { children: [
5193
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs62(MyCenterFull, { children: [
5139
5194
  /* @__PURE__ */ jsx98(
5140
5195
  F_workflowProcessDocs_Update,
5141
5196
  {
@@ -5157,11 +5212,11 @@ function SubRead6({
5157
5212
  }
5158
5213
 
5159
5214
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs.tsx
5160
- import { jsx as jsx99, jsxs as jsxs62 } from "react/jsx-runtime";
5215
+ import { jsx as jsx99, jsxs as jsxs63 } from "react/jsx-runtime";
5161
5216
  function F_workflowProcessDocs({
5162
5217
  WorkflowTypeId
5163
5218
  }) {
5164
- return /* @__PURE__ */ jsxs62(Paper9, { p: "md", children: [
5219
+ return /* @__PURE__ */ jsxs63(Paper9, { p: "md", children: [
5165
5220
  /* @__PURE__ */ jsx99(MyFlexEnd, { children: /* @__PURE__ */ jsx99(F_workflowProcessDocs_Create, { WorkflowTypeId }) }),
5166
5221
  /* @__PURE__ */ jsx99(Space6, {}),
5167
5222
  /* @__PURE__ */ jsx99(F_workflowProcessDocs_Read, { WorkflowTypeId })
@@ -5193,7 +5248,7 @@ import {
5193
5248
  Center as Center2,
5194
5249
  Checkbox as Checkbox3,
5195
5250
  Flex as Flex3,
5196
- Group as Group5,
5251
+ Group as Group6,
5197
5252
  Paper as Paper10,
5198
5253
  PasswordInput as PasswordInput2,
5199
5254
  Text as Text3,
@@ -5211,7 +5266,7 @@ import { useEffect as useEffect10, useState as useState8 } from "react";
5211
5266
  var css_default = {};
5212
5267
 
5213
5268
  // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
5214
- import { jsx as jsx101, jsxs as jsxs63 } from "react/jsx-runtime";
5269
+ import { jsx as jsx101, jsxs as jsxs64 } from "react/jsx-runtime";
5215
5270
  function F_authenticate_Login({
5216
5271
  header,
5217
5272
  redirectUrlAfterLogin = "/admin/dashboard",
@@ -5287,15 +5342,15 @@ function F_authenticate_Login({
5287
5342
  {
5288
5343
  src: backgroundImage,
5289
5344
  h: "100vh",
5290
- children: /* @__PURE__ */ jsx101(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs63(Paper10, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
5291
- header ? header : /* @__PURE__ */ jsxs63(Flex3, { direction: "column", mb: "md", children: [
5345
+ children: /* @__PURE__ */ jsx101(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs64(Paper10, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
5346
+ header ? header : /* @__PURE__ */ jsxs64(Flex3, { direction: "column", mb: "md", children: [
5292
5347
  /* @__PURE__ */ jsx101(Title, { ta: "center", className: css_default.title, children: "\u0110\u0103ng nh\u1EADp!" }),
5293
- /* @__PURE__ */ jsxs63(Text3, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
5348
+ /* @__PURE__ */ jsxs64(Text3, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
5294
5349
  "B\u1EA1n g\u1EB7p v\u1EA5n \u0111\u1EC1 k\u1EF9 thu\u1EADt?\xA0",
5295
5350
  /* @__PURE__ */ jsx101(Anchor, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
5296
5351
  ] })
5297
5352
  ] }),
5298
- /* @__PURE__ */ jsx101("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs63(MyFlexColumn, { children: [
5353
+ /* @__PURE__ */ jsx101("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs64(MyFlexColumn, { children: [
5299
5354
  /* @__PURE__ */ jsx101(
5300
5355
  TextInput3,
5301
5356
  __spreadProps(__spreadValues({}, form.getInputProps("username")), {
@@ -5312,7 +5367,7 @@ function F_authenticate_Login({
5312
5367
  withAsterisk: true
5313
5368
  })
5314
5369
  ),
5315
- /* @__PURE__ */ jsxs63(Group5, { justify: "space-between", children: [
5370
+ /* @__PURE__ */ jsxs64(Group6, { justify: "space-between", children: [
5316
5371
  showSaveLogin && /* @__PURE__ */ jsx101(
5317
5372
  Checkbox3,
5318
5373
  {
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.320",
45
+ "version": "0.1.321",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"