aq-fe-framework 0.1.859 → 0.1.861

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.
@@ -14320,11 +14320,9 @@ function F_formTemplateDocs_Update({
14320
14320
  }
14321
14321
 
14322
14322
  // src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Read.tsx
14323
- import { useColorScheme } from "@mantine/hooks";
14324
14323
  import { jsx as jsx178, jsxs as jsxs98 } from "react/jsx-runtime";
14325
14324
  function F_formTemplateDocs_Read({ FormTypeId }) {
14326
14325
  var _a, _b, _c;
14327
- const currentTheme = useColorScheme();
14328
14326
  const documentAttributeQuery = useMyReactQuery({
14329
14327
  queryKey: ["F_formTemplateDocs_Read" + FormTypeId],
14330
14328
  axiosFn: () => service_documentAttribute.GetByType(FormTypeId)
@@ -14340,8 +14338,7 @@ function F_formTemplateDocs_Read({ FormTypeId }) {
14340
14338
  radius: "sm",
14341
14339
  styles: {
14342
14340
  item: {
14343
- backgroundColor: currentTheme === "dark" ? "gray.5" : "white",
14344
- border: currentTheme === "dark" ? "1px solid gray.5" : "1px solid #e9ecef"
14341
+ backgroundColor: const_object_colors.mantineBackgroundTertiary
14345
14342
  }
14346
14343
  },
14347
14344
  defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map(
@@ -14380,7 +14377,7 @@ function SubRead4({
14380
14377
  },
14381
14378
  {
14382
14379
  header: "Ng\xE0y ban h\xE0nh",
14383
- accessorFn: (row) => utils_date_dateToDDMMYYYString(new Date(row.promulgateDate))
14380
+ accessorFn: (row) => utils_date.toDDMMYYY(new Date(row.promulgateDate))
14384
14381
  },
14385
14382
  {
14386
14383
  header: "T\xEAn t\xE0i li\u1EC7u",
@@ -15246,13 +15243,11 @@ function F_organizationPolicyDocs_Update({
15246
15243
  }
15247
15244
 
15248
15245
  // src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Read.tsx
15249
- import { useColorScheme as useColorScheme2 } from "@mantine/hooks";
15250
15246
  import { jsx as jsx193, jsxs as jsxs107 } from "react/jsx-runtime";
15251
15247
  function F_organizationPolicyDocs_Read({
15252
15248
  RegulationsTypeId
15253
15249
  }) {
15254
15250
  var _a, _b, _c;
15255
- const currentTheme = useColorScheme2();
15256
15251
  const documentAttributeQuery = useMyReactQuery({
15257
15252
  queryKey: ["F_organizationPolicyDocs_Read", RegulationsTypeId],
15258
15253
  axiosFn: () => service_documentAttribute.GetByType(RegulationsTypeId)
@@ -15268,8 +15263,7 @@ function F_organizationPolicyDocs_Read({
15268
15263
  radius: "sm",
15269
15264
  styles: {
15270
15265
  item: {
15271
- backgroundColor: currentTheme === "dark" ? "gray.5" : "white",
15272
- border: currentTheme === "dark" ? "1px solid gray.5" : "1px solid #e9ecef"
15266
+ backgroundColor: const_object_colors.mantineBackgroundTertiary
15273
15267
  }
15274
15268
  },
15275
15269
  defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map(
@@ -15308,7 +15302,7 @@ function SubRead5({
15308
15302
  },
15309
15303
  {
15310
15304
  header: "Ng\xE0y ban h\xE0nh",
15311
- accessorFn: (row) => utils_date_dateToDDMMYYYString(new Date(row.promulgateDate))
15305
+ accessorFn: (row) => utils_date.toDDMMYYY(new Date(row.promulgateDate))
15312
15306
  },
15313
15307
  {
15314
15308
  header: "T\xEAn t\xE0i li\u1EC7u",
@@ -17079,13 +17073,11 @@ function F_workflowProcessDocs_Update({
17079
17073
  }
17080
17074
 
17081
17075
  // src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Read.tsx
17082
- import { useColorScheme as useColorScheme3 } from "@mantine/hooks";
17083
17076
  import { jsx as jsx235, jsxs as jsxs128 } from "react/jsx-runtime";
17084
17077
  function F_workflowProcessDocs_Read({
17085
17078
  WorkflowTypeId
17086
17079
  }) {
17087
17080
  var _a, _b, _c;
17088
- const currentTheme = useColorScheme3();
17089
17081
  const documentAttributeQuery = useMyReactQuery({
17090
17082
  queryKey: ["F_workflowProcessDocs_Read" + WorkflowTypeId],
17091
17083
  axiosFn: () => service_documentAttribute.GetByType(WorkflowTypeId)
@@ -17101,8 +17093,7 @@ function F_workflowProcessDocs_Read({
17101
17093
  radius: "sm",
17102
17094
  styles: {
17103
17095
  item: {
17104
- backgroundColor: currentTheme === "dark" ? "gray.5" : "white",
17105
- border: currentTheme === "dark" ? "1px solid gray.5" : "1px solid #e9ecef"
17096
+ backgroundColor: const_object_colors.mantineBackgroundTertiary
17106
17097
  }
17107
17098
  },
17108
17099
  defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map(
@@ -17141,7 +17132,7 @@ function SubRead6({
17141
17132
  },
17142
17133
  {
17143
17134
  header: "Ng\xE0y ban h\xE0nh",
17144
- accessorFn: (row) => utils_date_dateToDDMMYYYString(new Date(row.promulgateDate))
17135
+ accessorFn: (row) => utils_date.toDDMMYYY(new Date(row.promulgateDate))
17145
17136
  },
17146
17137
  {
17147
17138
  header: "T\xEAn t\xE0i li\u1EC7u",
@@ -18134,7 +18125,8 @@ var service_aq = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER12, ba
18134
18125
 
18135
18126
  // src/components/Layouts/PageContent/MyPageContent.tsx
18136
18127
  import { Badge as Badge6, Breadcrumbs, Center as Center12, Container as Container3, Divider as Divider6, Flex as Flex10, Group as Group39, Stack as Stack11, Text as Text29, Title as Title4, Tooltip as Tooltip8 } from "@mantine/core";
18137
- import { useDisclosure as useDisclosure20 } from "@mantine/hooks";
18128
+ import { useClipboard, useDisclosure as useDisclosure20 } from "@mantine/hooks";
18129
+ import { notifications as notifications4 } from "@mantine/notifications";
18138
18130
  import { IconBrandParsinta } from "@tabler/icons-react";
18139
18131
  import { useEffect as useEffect38 } from "react";
18140
18132
 
@@ -18199,6 +18191,7 @@ function MyPageContent({
18199
18191
  }) {
18200
18192
  var _a;
18201
18193
  const basicAppShellStore = useStore_BasicAppShell();
18194
+ const clipboard = useClipboard({ timeout: 500 });
18202
18195
  const query = useMyReactQuery({
18203
18196
  queryKey: ["MyButtonViewPDF", basicAppShellStore.state.fileGuildePath],
18204
18197
  axiosFn: async () => {
@@ -18284,7 +18277,13 @@ function MyPageContent({
18284
18277
  ] }),
18285
18278
  /* @__PURE__ */ jsxs137(Group39, { p: "md", children: [
18286
18279
  rightTopBar,
18287
- /* @__PURE__ */ jsx247(Breadcrumbs, { separatorMargin: "7", children: (_a = basicAppShellStore.state.breadcrumb) == null ? void 0 : _a.map((item, idx) => /* @__PURE__ */ jsx247(Text29, { fw: "600", c: "blue", children: item }, idx)) })
18280
+ /* @__PURE__ */ jsx247(Breadcrumbs, { style: { cursor: "pointer" }, separatorMargin: "7", onClick: () => {
18281
+ var _a2;
18282
+ clipboard.copy((_a2 = basicAppShellStore.state.breadcrumb) == null ? void 0 : _a2.join(" / "));
18283
+ notifications4.show({
18284
+ message: "Sao ch\xE9p \u0111\u01B0\u1EDDng d\u1EABn menu th\xE0nh c\xF4ng"
18285
+ });
18286
+ }, children: (_a = basicAppShellStore.state.breadcrumb) == null ? void 0 : _a.map((item, idx) => /* @__PURE__ */ jsx247(Text29, { fw: "600", c: "blue", children: item }, idx)) })
18288
18287
  ] })
18289
18288
  ] }),
18290
18289
  /* @__PURE__ */ jsx247(Divider6, { my: "xs" }),
@@ -18443,7 +18442,7 @@ import {
18443
18442
  Stack as Stack12,
18444
18443
  Text as Text30
18445
18444
  } from "@mantine/core";
18446
- import { notifications as notifications4 } from "@mantine/notifications";
18445
+ import { notifications as notifications5 } from "@mantine/notifications";
18447
18446
  import { IconCircleFilled } from "@tabler/icons-react";
18448
18447
  import { useEffect as useEffect39, useMemo as useMemo42, useState as useState29 } from "react";
18449
18448
  import * as XLSX4 from "xlsx";
@@ -18601,7 +18600,7 @@ function FileImportConfigModal(_a) {
18601
18600
  return;
18602
18601
  }
18603
18602
  if (dataStartIndex == "" || dataStartIndex == null) {
18604
- notifications4.show({
18603
+ notifications5.show({
18605
18604
  message: "D\xF2ng d\u1EEF li\u1EC7u b\u1EAFt \u0111\u1EA7u kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng",
18606
18605
  color: "red"
18607
18606
  });
@@ -70,7 +70,7 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-OC5LUNJT.mjs";
73
+ } from "../chunk-HGMSFQUK.mjs";
74
74
  import "../chunk-P2NAQKV5.mjs";
75
75
  import "../chunk-WV4VHLZV.mjs";
76
76
  import "../chunk-7NNLZDND.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  MyStatsCard,
30
30
  MyTextInput2 as MyTextInput,
31
31
  MyWeeklySessionSchedulerPicker
32
- } from "../chunk-OC5LUNJT.mjs";
32
+ } from "../chunk-HGMSFQUK.mjs";
33
33
  import "../chunk-P2NAQKV5.mjs";
34
34
  import "../chunk-WV4VHLZV.mjs";
35
35
  import "../chunk-7NNLZDND.mjs";
@@ -113,7 +113,7 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-OC5LUNJT.mjs";
116
+ } from "../chunk-HGMSFQUK.mjs";
117
117
  import "../chunk-P2NAQKV5.mjs";
118
118
  import "../chunk-WV4VHLZV.mjs";
119
119
  import "../chunk-7NNLZDND.mjs";
@@ -1,6 +1,10 @@
1
+ import {
2
+ enumLabel_gender,
3
+ enum_gender
4
+ } from "../chunk-RGUQWALX.mjs";
1
5
  import {
2
6
  MySelect
3
- } from "../chunk-OC5LUNJT.mjs";
7
+ } from "../chunk-HGMSFQUK.mjs";
4
8
  import "../chunk-P2NAQKV5.mjs";
5
9
  import {
6
10
  utils_converter
@@ -10,10 +14,6 @@ import "../chunk-3P5GXZPO.mjs";
10
14
  import "../chunk-O7YCQQO5.mjs";
11
15
  import "../chunk-QSWIVDXC.mjs";
12
16
  import "../chunk-J64W5V6F.mjs";
13
- import {
14
- enumLabel_gender,
15
- enum_gender
16
- } from "../chunk-RGUQWALX.mjs";
17
17
  import "../chunk-K6S7R6LU.mjs";
18
18
  import "../chunk-7L37V75O.mjs";
19
19
  import "../chunk-WZ6PXGGC.mjs";
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "types": "./dist/types/index.d.mts"
55
55
  }
56
56
  },
57
- "version": "0.1.859",
57
+ "version": "0.1.861",
58
58
  "private": false,
59
59
  "files": [
60
60
  "dist"
@@ -94,7 +94,7 @@
94
94
  "@schedule-x/react": "^2.28.0",
95
95
  "@schedule-x/theme-default": "^2.28.0",
96
96
  "@tabler/icons-react": "^3.26.0",
97
- "@tanstack/react-query": "^5.62.8",
97
+ "@tanstack/react-query": "^5.85.9",
98
98
  "@tanstack/react-query-devtools": "^5.69.0",
99
99
  "@tiptap/extension-highlight": "^2.9.1",
100
100
  "@tiptap/extension-image": "^2.9.1",