@vc-shell/framework 2.2.0-pr262.1eb3cac → 2.2.0-pr263.f4e6550
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.
- package/dist/ai-agent/index.js +3 -3
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-IxvmIZ32.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-IxvmIZ32.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js.map} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js} +134 -147
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js → VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js} +3 -3
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js.map → VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js → VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js} +441 -446
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js} +2 -2
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js.map} +1 -1
- package/dist/chunks/{index-CI1U6XgH.js → index-CvSe3hjU.js} +2 -2
- package/dist/chunks/{index-CI1U6XgH.js.map → index-CvSe3hjU.js.map} +1 -1
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +750 -750
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js.map +0 -1
- package/dist/core/utilities/sessionExpiration.d.ts +0 -30
- package/dist/core/utilities/sessionExpiration.d.ts.map +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared flag signalling that the session was involuntarily invalidated — the server
|
|
3
|
-
* returned 401 for a platform API call — and the app is redirecting to the login page.
|
|
4
|
-
*
|
|
5
|
-
* Auth is cookie-based, so the client only learns the session died when an /api/ request
|
|
6
|
-
* comes back 401. By then the user may have already navigated to a new page whose blades
|
|
7
|
-
* fired their data loads. Without this flag every one of those failed loads surfaces its
|
|
8
|
-
* own error (blade banner + toast), burying the redirect under a cascade of
|
|
9
|
-
* "failed to load data" messages. While the flag is set, useAsync and ErrorInterceptor
|
|
10
|
-
* suppress those data-load errors so the user gets a single clean redirect to login.
|
|
11
|
-
*
|
|
12
|
-
* Kept as a plain module with NO imports (same circular-dependency constraint documented
|
|
13
|
-
* in pendingErrorNotifications.ts): it is read from useAsync — reachable via the
|
|
14
|
-
* @core/composables barrel — and from the fetch interceptor.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* Mark the session as expired. Called by the fetch interceptor on the first 401 that
|
|
18
|
-
* kills a session we believed was alive. Idempotent, and the interceptor also reads the
|
|
19
|
-
* flag back as an "already handling it" latch so concurrent 401s don't stack up
|
|
20
|
-
* duplicate sign-outs, redirects and toasts.
|
|
21
|
-
*/
|
|
22
|
-
export declare function markSessionExpired(): void;
|
|
23
|
-
/** Whether the session is currently flagged as expired (auth lost, redirect in progress). */
|
|
24
|
-
export declare function isSessionExpired(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Clear the expired flag. Called when a fresh sign-in begins so the next session
|
|
27
|
-
* starts clean and real data-load errors surface again.
|
|
28
|
-
*/
|
|
29
|
-
export declare function resetSessionExpired(): void;
|
|
30
|
-
//# sourceMappingURL=sessionExpiration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sessionExpiration.d.ts","sourceRoot":"","sources":["../../../core/utilities/sessionExpiration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;;;GAKG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC;AAED,6FAA6F;AAC7F,wBAAgB,gBAAgB,IAAI,OAAO,CAE1C;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C"}
|