aq-fe-framework 0.1.183 → 0.1.185
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.
@@ -6971,7 +6971,7 @@ import {
|
|
6971
6971
|
TextInput as TextInput2,
|
6972
6972
|
Tooltip as Tooltip5
|
6973
6973
|
} from "@mantine/core";
|
6974
|
-
import {
|
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 { 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")
|
@@ -6996,9 +6995,7 @@ function getRightSection(status) {
|
|
6996
6995
|
}
|
6997
6996
|
function RenderNavLinks({ items }) {
|
6998
6997
|
const basicAppShellStore = useS_BasicAppShell();
|
6999
|
-
const faviconState = useState9("");
|
7000
6998
|
const pathName = usePathname2();
|
7001
|
-
useFavicon(faviconState[0]);
|
7002
6999
|
return /* @__PURE__ */ jsx51(Fragment12, { children: items.map((item, index) => /* @__PURE__ */ jsx51(
|
7003
7000
|
NavLink,
|
7004
7001
|
{
|
@@ -7010,9 +7007,6 @@ function RenderNavLinks({ items }) {
|
|
7010
7007
|
label: item.label,
|
7011
7008
|
childrenOffset: 28,
|
7012
7009
|
onClick: () => {
|
7013
|
-
var _a, _b;
|
7014
|
-
faviconState[1](`data:image/${(_a = basicAppShellStore.state.faviconFileDetail) == null ? void 0 : _a.fileExtension};base64,
|
7015
|
-
${(_b = basicAppShellStore.state.faviconFileDetail) == null ? void 0 : _b.fileBase64String}`);
|
7016
7010
|
if (item.links) basicAppShellStore.toggleGroupMenuOpenId(item.label);
|
7017
7011
|
if (item.link) {
|
7018
7012
|
basicAppShellStore.setProperty("menuCode", item.link);
|
@@ -7517,7 +7511,7 @@ function MySelectAPIGet(_a) {
|
|
7517
7511
|
// src/components/ScheduleX/MyScheduleX.tsx
|
7518
7512
|
import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
|
7519
7513
|
import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
|
7520
|
-
import { useState as
|
7514
|
+
import { useState as useState9 } from "react";
|
7521
7515
|
import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
|
7522
7516
|
import { jsx as jsx58 } from "react/jsx-runtime";
|
7523
7517
|
function MyScheduleX({
|
@@ -7528,8 +7522,8 @@ function MyScheduleX({
|
|
7528
7522
|
startDayBoundaries = "05:00",
|
7529
7523
|
endDayBoundaries = "21:00"
|
7530
7524
|
}) {
|
7531
|
-
const eventsService =
|
7532
|
-
const eventModalPlugin =
|
7525
|
+
const eventsService = useState9(() => createEventsServicePlugin2())[0];
|
7526
|
+
const eventModalPlugin = useState9(() => createEventModalPlugin2())[0];
|
7533
7527
|
const calendar = useNextCalendarApp2({
|
7534
7528
|
locale: "vi-VN",
|
7535
7529
|
dayBoundaries: {
|
@@ -66,7 +66,7 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-V4JDSZEY.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|