aq-fe-framework 0.1.668 → 0.1.669
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.
|
@@ -14654,6 +14654,7 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
|
|
|
14654
14654
|
});
|
|
14655
14655
|
}
|
|
14656
14656
|
}, [pathname, allChildItems, filteredMenu, readablePageIds, pageContentQuery.data]);
|
|
14657
|
+
const canAccess = isDev || isAccessible || permissionStore.state.isSuperAdmin;
|
|
14657
14658
|
const renderHeader = () => /* @__PURE__ */ jsx204(AppShell.Header, { children: media ? /* @__PURE__ */ jsxs116(Group24, { h: "100%", px: "md", justify: "space-between", children: [
|
|
14658
14659
|
/* @__PURE__ */ jsxs116(Group24, { h: "100%", children: [
|
|
14659
14660
|
/* @__PURE__ */ jsx204(Tooltip6, { label: appShellStore.state.opened ? "\u1EA8n thanh menu" : "Hi\u1EC7n thanh menu", children: /* @__PURE__ */ jsx204(ActionIcon13, { variant: "default", size: "lg", radius: "md", onClick: appShellStore.toggle, children: appShellStore.state.opened ? /* @__PURE__ */ jsx204(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx204(IconLayoutSidebarLeftCollapse, {}) }) }),
|
|
@@ -14719,7 +14720,7 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
|
|
|
14719
14720
|
] })
|
|
14720
14721
|
] });
|
|
14721
14722
|
};
|
|
14722
|
-
const renderMain = () => /* @__PURE__ */ jsx204(AppShell.Main, { bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))", children: isLoadingPermission ? /* @__PURE__ */ jsx204("div", { style: { padding: "2rem", textAlign: "center" }, children: /* @__PURE__ */ jsx204(Text20, { fw: 600, size: "md", children: "\u0110ang t\u1EA3i quy\u1EC1n truy c\u1EADp..." }) }) :
|
|
14723
|
+
const renderMain = () => /* @__PURE__ */ jsx204(AppShell.Main, { bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))", children: isLoadingPermission ? /* @__PURE__ */ jsx204("div", { style: { padding: "2rem", textAlign: "center" }, children: /* @__PURE__ */ jsx204(Text20, { fw: 600, size: "md", children: "\u0110ang t\u1EA3i quy\u1EC1n truy c\u1EADp..." }) }) : canAccess ? children : /* @__PURE__ */ jsxs116("div", { style: { padding: "2rem", textAlign: "center" }, children: [
|
|
14723
14724
|
/* @__PURE__ */ jsx204("h1", { children: "404 - Kh\xF4ng t\xECm th\u1EA5y trang" }),
|
|
14724
14725
|
/* @__PURE__ */ jsx204("p", { children: "B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n truy c\u1EADp ho\u1EB7c \u0111\u01B0\u1EDDng d\u1EABn kh\xF4ng t\u1ED3n t\u1EA1i." })
|
|
14725
14726
|
] }) });
|
package/dist/core/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
MyStatsCard,
|
|
25
25
|
MyTextInput2 as MyTextInput,
|
|
26
26
|
MyWeeklySessionSchedulerPicker
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-ABFZY6WK.mjs";
|
|
28
28
|
import "../chunk-SUH3FFFV.mjs";
|
|
29
29
|
import "../chunk-GMM6RIVS.mjs";
|
|
30
30
|
import "../chunk-7PUDC2WF.mjs";
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
Feat_accessControlLevel,
|
|
107
107
|
useS_authenticate,
|
|
108
108
|
useS_moduleConfig
|
|
109
|
-
} from "../chunk-
|
|
109
|
+
} from "../chunk-ABFZY6WK.mjs";
|
|
110
110
|
import "../chunk-SUH3FFFV.mjs";
|
|
111
111
|
import "../chunk-GMM6RIVS.mjs";
|
|
112
112
|
import "../chunk-7PUDC2WF.mjs";
|