aq-fe-framework 0.1.627 → 0.1.628
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.
|
@@ -14126,8 +14126,10 @@ import { jsx as jsx194 } from "react/jsx-runtime";
|
|
|
14126
14126
|
function Feat_Authenticate_Logout({ redirectURL = "/auth/login" }) {
|
|
14127
14127
|
const router = useRouter4();
|
|
14128
14128
|
const authenticateStore = useS_authenticate();
|
|
14129
|
+
const permissionStore = useStore_Permission();
|
|
14129
14130
|
return /* @__PURE__ */ jsx194(Button23, { onClick: () => {
|
|
14130
|
-
authenticateStore.
|
|
14131
|
+
authenticateStore.setState({});
|
|
14132
|
+
permissionStore.setState({});
|
|
14131
14133
|
router.replace(redirectURL);
|
|
14132
14134
|
}, leftSection: /* @__PURE__ */ jsx194(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
|
|
14133
14135
|
}
|
package/dist/core/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
MyStatsCard,
|
|
24
24
|
MyTextInput2 as MyTextInput,
|
|
25
25
|
MyWeeklySessionSchedulerPicker
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-AM22ZBF7.mjs";
|
|
27
27
|
import "../chunk-PW6WTEVB.mjs";
|
|
28
28
|
import "../chunk-IKFZBEKW.mjs";
|
|
29
29
|
import "../chunk-7PUDC2WF.mjs";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
Feat_accessControlLevel,
|
|
103
103
|
useS_authenticate,
|
|
104
104
|
useS_moduleConfig
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-AM22ZBF7.mjs";
|
|
106
106
|
import "../chunk-PW6WTEVB.mjs";
|
|
107
107
|
import "../chunk-IKFZBEKW.mjs";
|
|
108
108
|
import "../chunk-7PUDC2WF.mjs";
|