aq-fe-framework 0.1.182 → 0.1.184

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,7 +1,7 @@
1
1
  import {
2
2
  baseAxios_default,
3
3
  useQ_AQ_GetAQModule
4
- } from "./chunk-PPIWRJB2.mjs";
4
+ } from "./chunk-Z6OQG54Q.mjs";
5
5
  import {
6
6
  createGenericStore
7
7
  } from "./chunk-Y3YGC5IH.mjs";
@@ -6971,7 +6971,7 @@ import {
6971
6971
  TextInput as TextInput2,
6972
6972
  Tooltip as Tooltip5
6973
6973
  } from "@mantine/core";
6974
- import { useFavicon, useMediaQuery } from "@mantine/hooks";
6974
+ import { useMediaQuery } from "@mantine/hooks";
6975
6975
  import { spotlight as spotlight2 } from "@mantine/spotlight";
6976
6976
  import {
6977
6977
  IconLayoutSidebarLeftCollapse,
@@ -6981,7 +6981,6 @@ import {
6981
6981
  } from "@tabler/icons-react";
6982
6982
  import Link3 from "next/link";
6983
6983
  import { usePathname as usePathname2 } from "next/navigation";
6984
- import { useEffect as useEffect9, useState as useState9 } from "react";
6985
6984
  import { Fragment as Fragment12, jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
6986
6985
  function getRightSection(status) {
6987
6986
  if (status === "Prototype")
@@ -7070,22 +7069,7 @@ function BasicAppShell_transformMenuToEnum(prefixProjectName, menu) {
7070
7069
  function BasicAppShell({ children, menu, extraTopRight }) {
7071
7070
  var _a, _b;
7072
7071
  const basicAppShellStore = useS_BasicAppShell();
7073
- const GetAQModule_query = useQ_AQ_GetAQModule();
7074
7072
  const media = useMediaQuery("(min-width: 72em)");
7075
- const selectMedia = useMediaQuery("(min-width: 80em)");
7076
- const BasicAppShell_store = useS_BasicAppShell();
7077
- const [favicon, setFavicon] = useState9("");
7078
- useFavicon(favicon);
7079
- useEffect9(() => {
7080
- var _a2, _b2, _c, _d;
7081
- if (!GetAQModule_query.data) return;
7082
- BasicAppShell_store.setProperty("moduleCode", (_a2 = GetAQModule_query.data) == null ? void 0 : _a2.code);
7083
- BasicAppShell_store.setProperty("moduleName", (_b2 = GetAQModule_query.data) == null ? void 0 : _b2.name);
7084
- BasicAppShell_store.setProperty("faviconFileDetail", GetAQModule_query.data.faviconFileDetail);
7085
- BasicAppShell_store.setProperty("logoFileDetail", GetAQModule_query.data.logoFileDetail);
7086
- setFavicon(`data:image/${(_c = BasicAppShell_store.state.faviconFileDetail) == null ? void 0 : _c.fileExtension};base64,
7087
- ${(_d = BasicAppShell_store.state.faviconFileDetail) == null ? void 0 : _d.fileBase64String}`);
7088
- }, [GetAQModule_query.data, basicAppShellStore.state.faviconFileDetail]);
7089
7073
  return /* @__PURE__ */ jsxs27(
7090
7074
  AppShell,
7091
7075
  {
@@ -7527,7 +7511,7 @@ function MySelectAPIGet(_a) {
7527
7511
  // src/components/ScheduleX/MyScheduleX.tsx
7528
7512
  import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
7529
7513
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
7530
- import { useState as useState10 } from "react";
7514
+ import { useState as useState9 } from "react";
7531
7515
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
7532
7516
  import { jsx as jsx58 } from "react/jsx-runtime";
7533
7517
  function MyScheduleX({
@@ -7538,8 +7522,8 @@ function MyScheduleX({
7538
7522
  startDayBoundaries = "05:00",
7539
7523
  endDayBoundaries = "21:00"
7540
7524
  }) {
7541
- const eventsService = useState10(() => createEventsServicePlugin2())[0];
7542
- const eventModalPlugin = useState10(() => createEventModalPlugin2())[0];
7525
+ const eventsService = useState9(() => createEventsServicePlugin2())[0];
7526
+ const eventModalPlugin = useState9(() => createEventModalPlugin2())[0];
7543
7527
  const calendar = useNextCalendarApp2({
7544
7528
  locale: "vi-VN",
7545
7529
  dayBoundaries: {
@@ -1,6 +1,3 @@
1
- // src/hooks/custom-hooks/useC_MutationAction.tsx
2
- import { useQueryClient } from "@tanstack/react-query";
3
-
4
1
  // src/api/baseAxios.ts
5
2
  import axios from "axios";
6
3
  var baseAxios = axios.create({
@@ -66,8 +66,8 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-SD2FZPOC.mjs";
70
- import "../chunk-PPIWRJB2.mjs";
69
+ } from "../chunk-V4JDSZEY.mjs";
70
+ import "../chunk-Z6OQG54Q.mjs";
71
71
  import "../chunk-Y3YGC5IH.mjs";
72
72
  import "../chunk-5U2JSHSJ.mjs";
73
73
  import "../chunk-7ZCOFATU.mjs";
@@ -1,8 +1,11 @@
1
1
  import {
2
2
  useQ_AQ_GetAQModule
3
- } from "../chunk-PPIWRJB2.mjs";
3
+ } from "../chunk-Z6OQG54Q.mjs";
4
4
  import "../chunk-7ZCOFATU.mjs";
5
5
  import "../chunk-FWCSY2DS.mjs";
6
+
7
+ // src/hooks/custom-hooks/useC_MutationAction.tsx
8
+ import { useQueryClient } from "@tanstack/react-query";
6
9
  export {
7
10
  useQ_AQ_GetAQModule
8
11
  };
@@ -25,11 +25,11 @@ import {
25
25
  useS_BasicAppShell,
26
26
  useS_authenticate,
27
27
  utils_layout_getItemsWithoutLinks
28
- } from "../chunk-SD2FZPOC.mjs";
28
+ } from "../chunk-V4JDSZEY.mjs";
29
29
  import {
30
30
  baseAxios_default,
31
31
  useQ_AQ_GetAQModule
32
- } from "../chunk-PPIWRJB2.mjs";
32
+ } from "../chunk-Z6OQG54Q.mjs";
33
33
  import {
34
34
  createGenericStore
35
35
  } from "../chunk-Y3YGC5IH.mjs";
@@ -38,7 +38,7 @@ import {
38
38
  U0MyValidateEmail,
39
39
  utils_converter_enumToSelectOptions,
40
40
  utils_file_fileToAQDocumentType
41
- } from "../chunk-LUIWE4DC.mjs";
41
+ } from "../chunk-KWCUUD5Z.mjs";
42
42
  import "../chunk-5U2JSHSJ.mjs";
43
43
  import {
44
44
  utils_notification_show
@@ -15,7 +15,7 @@ import {
15
15
  utils_file_fileToAQDocumentType,
16
16
  utils_time_convertTimeStringToSeconds,
17
17
  utils_time_getCurrentTimeString
18
- } from "../chunk-LUIWE4DC.mjs";
18
+ } from "../chunk-KWCUUD5Z.mjs";
19
19
  import {
20
20
  utils_pdf_download
21
21
  } from "../chunk-5U2JSHSJ.mjs";
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.182",
25
+ "version": "0.1.184",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"
@@ -216,18 +216,18 @@ function U0MyValidateEmail(value) {
216
216
  }
217
217
 
218
218
  export {
219
- utils_converter_getLabelByValue,
220
- utils_converter_getKeyByValue,
221
- utils_converter_enumToSelectOptions,
222
- utils_currency_formatWithSuffix,
223
219
  U0DateToDDMMYYYString,
224
220
  utils_date_dateToDDMMYYYString,
225
221
  utils_date_formatToDateTimeStartEnd,
226
222
  utils_date_getHHmm,
227
- utils_excel_exportExcel,
228
- utils_excel_download,
229
223
  utils_file_fileToAQDocumentType,
230
224
  utils_file_docxtemplaterDownload,
225
+ utils_converter_getLabelByValue,
226
+ utils_converter_getKeyByValue,
227
+ utils_converter_enumToSelectOptions,
228
+ utils_currency_formatWithSuffix,
229
+ utils_excel_exportExcel,
230
+ utils_excel_download,
231
231
  utils_time_convertTimeStringToSeconds,
232
232
  utils_time_getCurrentTimeString,
233
233
  U0MyValidateEmpty,