aq-fe-framework 0.1.989 → 0.1.990

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.
@@ -1,3 +1,14 @@
1
+ import {
2
+ createGenericStore as createGenericStore2,
3
+ useStore_Permission,
4
+ useStore_ProjectInfo
5
+ } from "./chunk-PKP6EDBO.mjs";
6
+ import {
7
+ utils_date,
8
+ utils_excel,
9
+ utils_file,
10
+ utils_mantineReactTable
11
+ } from "./chunk-7ZI7IOEP.mjs";
1
12
  import {
2
13
  utils_aq_mapBaseEntityToDomain,
3
14
  utils_aq_mapDomainToEntity,
@@ -12,24 +23,13 @@ import {
12
23
  utils_notification_show,
13
24
  utils_pdf_download
14
25
  } from "./chunk-KGBXMHKR.mjs";
15
- import {
16
- utils_date,
17
- utils_excel,
18
- utils_file,
19
- utils_mantineReactTable
20
- } from "./chunk-7ZI7IOEP.mjs";
21
- import {
22
- createGenericStore as createGenericStore2,
23
- useStore_Permission,
24
- useStore_ProjectInfo
25
- } from "./chunk-PKP6EDBO.mjs";
26
26
  import {
27
27
  createGenericStore
28
28
  } from "./chunk-BTITP4TN.mjs";
29
29
  import {
30
30
  const_object_colors,
31
31
  const_object_documentTypes
32
- } from "./chunk-UQ7QXG7L.mjs";
32
+ } from "./chunk-WLUM2QY5.mjs";
33
33
  import {
34
34
  enum_daysOfWeek
35
35
  } from "./chunk-K6S7R6LU.mjs";
@@ -347,7 +347,7 @@ function MyActionIcon(_a) {
347
347
  const tooltip = toolTipProps || configTooltipProps;
348
348
  const actionIcon = /* @__PURE__ */ jsx5(ActionIcon2, __spreadProps(__spreadValues(__spreadValues({ hidden: shouldHide }, config4), rest), { children: children || config4.children }));
349
349
  if (tooltip) {
350
- return /* @__PURE__ */ jsx5(Tooltip, __spreadProps(__spreadValues({}, tooltip), { label: tooltip.label, children: actionIcon }));
350
+ return /* @__PURE__ */ jsx5(Tooltip, __spreadProps(__spreadValues({}, tooltip), { label: tooltip.label, hidden: !(toolTipProps == null ? void 0 : toolTipProps.label), children: actionIcon }));
351
351
  }
352
352
  return actionIcon;
353
353
  }
@@ -559,14 +559,14 @@ function MyButtonViewFile(_a) {
559
559
  disclosure: disc
560
560
  }, rest), {
561
561
  modalProps: __spreadValues({ title: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", size: isPreviewable(file == null ? void 0 : file.fileExtension) ? "80%" : "auto" }, rest.modalProps),
562
- toolTipProps: __spreadValues({
563
- label: file ? void 0 : "Kh\xF4ng c\xF3 file \u0111\u1EC3 hi\u1EC3n th\u1ECB"
564
- }, rest.toolTipProps),
565
562
  buttonProps: __spreadValues({
566
563
  actionType: "viewFile"
567
564
  }, rest.buttonProps),
568
565
  actionIconProps: __spreadValues({
569
- actionType: "viewFile"
566
+ actionType: "viewFile",
567
+ toolTipProps: {
568
+ label: file ? void 0 : "Kh\xF4ng c\xF3 file \u0111\u1EC3 hi\u1EC3n th\u1ECB"
569
+ }
570
570
  }, rest.actionIconProps),
571
571
  children: loading ? /* @__PURE__ */ jsx9(Center, { style: { width: "30rem", height: "30vh" }, children: /* @__PURE__ */ jsx9(Loader, { size: "lg" }) }) : file && isPreviewable(file.fileExtension) ? /* @__PURE__ */ jsx9(
572
572
  "iframe",
@@ -17235,7 +17235,7 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
17235
17235
  border: `1px solid ${colorScheme === "dark" ? "var(--mantine-color-dark-4)" : "var(--mantine-color-gray-3)"}`
17236
17236
  }, children: [
17237
17237
  /* @__PURE__ */ jsx216(User_SessionUserInfo, {}),
17238
- /* @__PURE__ */ jsx216(Space10, { m: 5 }),
17238
+ /* @__PURE__ */ jsx216(Space10, { m: 4 }),
17239
17239
  /* @__PURE__ */ jsx216(Feat_Authenticate_Logout, { redirectURL: logoutRedirect }),
17240
17240
  /* @__PURE__ */ jsx216(Box6, { px: "md", children: /* @__PURE__ */ jsx216(
17241
17241
  Image4,
@@ -17521,9 +17521,6 @@ function MyPageContent({
17521
17521
  {
17522
17522
  isActionIcon: true,
17523
17523
  disclosure: videoDisc,
17524
- toolTipProps: {
17525
- label: "Xem video h\u01B0\u1EDBng d\u1EABn"
17526
- },
17527
17524
  modalProps: {
17528
17525
  title: "Video h\u01B0\u1EDBng d\u1EABn",
17529
17526
  size: "80%"
@@ -17531,7 +17528,10 @@ function MyPageContent({
17531
17528
  actionIconProps: {
17532
17529
  children: /* @__PURE__ */ jsx219(IconBrandParsinta, {}),
17533
17530
  disabled: basicAppShellStore.state.videoLink == void 0 || basicAppShellStore.state.videoLink == "",
17534
- color: "red"
17531
+ color: "red",
17532
+ toolTipProps: {
17533
+ label: "Xem video h\u01B0\u1EDBng d\u1EABn"
17534
+ }
17535
17535
  },
17536
17536
  children: /* @__PURE__ */ jsx219(Center13, { h: "67vh", p: "md", children: getFinalLinkVieo(basicAppShellStore.state.videoLink || "") == "" ? "\u0110\u01B0\u1EDDng d\u1EABn video kh\xF4ng h\u1EE3p l\u1EC7" : /* @__PURE__ */ jsx219(
17537
17537
  "iframe",
@@ -17551,12 +17551,12 @@ function MyPageContent({
17551
17551
  MyButtonViewFile,
17552
17552
  {
17553
17553
  isActionIcon: true,
17554
- toolTipProps: {
17555
- label: "Xem t\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn"
17556
- },
17557
17554
  actionIconProps: {
17558
17555
  disabled: fileGuildDetailState[0] == void 0,
17559
- loading: query.isLoading
17556
+ loading: query.isLoading,
17557
+ toolTipProps: {
17558
+ label: fileGuildDetailState[0] ? "Xem t\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn" : "Kh\xF4ng c\xF3 file \u0111\u1EC3 hi\u1EC3n th\u1ECB"
17559
+ }
17560
17560
  },
17561
17561
  modalProps: {
17562
17562
  title: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn"
@@ -68,13 +68,13 @@ import {
68
68
  useHeaderMegaMenuStore,
69
69
  useS_ButtonImport,
70
70
  useStore_BasicAppShell
71
- } from "../chunk-ROYLIIAS.mjs";
72
- import "../chunk-KGBXMHKR.mjs";
73
- import "../chunk-7ZI7IOEP.mjs";
71
+ } from "../chunk-SQHVAKYV.mjs";
74
72
  import "../chunk-PKP6EDBO.mjs";
73
+ import "../chunk-7ZI7IOEP.mjs";
74
+ import "../chunk-KGBXMHKR.mjs";
75
75
  import "../chunk-GN5QFOCW.mjs";
76
76
  import "../chunk-BTITP4TN.mjs";
77
- import "../chunk-UQ7QXG7L.mjs";
77
+ import "../chunk-WLUM2QY5.mjs";
78
78
  import "../chunk-K6S7R6LU.mjs";
79
79
  import "../chunk-G2IMUVMM.mjs";
80
80
  import "../chunk-WZ6PXGGC.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  const_object_colors,
6
6
  const_object_documentTypes,
7
7
  const_object_generalMenuData
8
- } from "../chunk-UQ7QXG7L.mjs";
8
+ } from "../chunk-WLUM2QY5.mjs";
9
9
  import "../chunk-JD6AELXS.mjs";
10
10
  export {
11
11
  const_aqModuleId,
@@ -31,13 +31,13 @@ import {
31
31
  MyStatsCard,
32
32
  MyTextInput2 as MyTextInput,
33
33
  MyWeeklySessionSchedulerPicker
34
- } from "../chunk-ROYLIIAS.mjs";
35
- import "../chunk-KGBXMHKR.mjs";
36
- import "../chunk-7ZI7IOEP.mjs";
34
+ } from "../chunk-SQHVAKYV.mjs";
37
35
  import "../chunk-PKP6EDBO.mjs";
36
+ import "../chunk-7ZI7IOEP.mjs";
37
+ import "../chunk-KGBXMHKR.mjs";
38
38
  import "../chunk-GN5QFOCW.mjs";
39
39
  import "../chunk-BTITP4TN.mjs";
40
- import "../chunk-UQ7QXG7L.mjs";
40
+ import "../chunk-WLUM2QY5.mjs";
41
41
  import "../chunk-K6S7R6LU.mjs";
42
42
  import "../chunk-G2IMUVMM.mjs";
43
43
  import "../chunk-WZ6PXGGC.mjs";
@@ -102,13 +102,13 @@ import {
102
102
  MailTemplateDeleteButton,
103
103
  useS_moduleConfig,
104
104
  useStore_Authenticate
105
- } from "../chunk-ROYLIIAS.mjs";
106
- import "../chunk-KGBXMHKR.mjs";
107
- import "../chunk-7ZI7IOEP.mjs";
105
+ } from "../chunk-SQHVAKYV.mjs";
108
106
  import "../chunk-PKP6EDBO.mjs";
107
+ import "../chunk-7ZI7IOEP.mjs";
108
+ import "../chunk-KGBXMHKR.mjs";
109
109
  import "../chunk-GN5QFOCW.mjs";
110
110
  import "../chunk-BTITP4TN.mjs";
111
- import "../chunk-UQ7QXG7L.mjs";
111
+ import "../chunk-WLUM2QY5.mjs";
112
112
  import "../chunk-K6S7R6LU.mjs";
113
113
  import "../chunk-G2IMUVMM.mjs";
114
114
  import "../chunk-WZ6PXGGC.mjs";
@@ -4,15 +4,15 @@ import {
4
4
  } from "../chunk-RGUQWALX.mjs";
5
5
  import {
6
6
  MySelect
7
- } from "../chunk-ROYLIIAS.mjs";
8
- import "../chunk-KGBXMHKR.mjs";
7
+ } from "../chunk-SQHVAKYV.mjs";
8
+ import "../chunk-PKP6EDBO.mjs";
9
9
  import {
10
10
  utils_converter
11
11
  } from "../chunk-7ZI7IOEP.mjs";
12
- import "../chunk-PKP6EDBO.mjs";
12
+ import "../chunk-KGBXMHKR.mjs";
13
13
  import "../chunk-GN5QFOCW.mjs";
14
14
  import "../chunk-BTITP4TN.mjs";
15
- import "../chunk-UQ7QXG7L.mjs";
15
+ import "../chunk-WLUM2QY5.mjs";
16
16
  import "../chunk-K6S7R6LU.mjs";
17
17
  import "../chunk-G2IMUVMM.mjs";
18
18
  import "../chunk-WZ6PXGGC.mjs";
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "types": "./dist/build-object/index.d.mts"
55
55
  }
56
56
  },
57
- "version": "0.1.989",
57
+ "version": "0.1.990",
58
58
  "private": false,
59
59
  "files": [
60
60
  "dist"
@@ -89,10 +89,10 @@ var const_object_generalMenuData = {
89
89
  };
90
90
 
91
91
  export {
92
+ const_object_colors,
92
93
  const_array_daysOfWeek,
93
94
  const_aqModuleId,
94
95
  const_columnSize,
95
- const_object_colors,
96
96
  const_object_documentTypes,
97
97
  const_object_generalMenuData
98
98
  };