@tongfun/ui 0.0.1-alpha.14 → 0.0.1-alpha.15
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/dashboard-data-table/types.d.ts +10 -0
- package/dist/{exceljs.min-DX7ZugTn.js → exceljs.min--w2Gnf2S.js} +1 -1
- package/dist/{index-PN-orn0y.js → index-DeFCl1SX.js} +96625 -92594
- package/dist/index.d.ts +25 -0
- package/dist/{index.es-M1zIpo9U.js → index.es-DwBVhTTr.js} +2 -2
- package/dist/index.js +588 -579
- package/dist/{jspdf.es.min-B3HXbylA.js → jspdf.es.min-DNbeD7Ag.js} +2 -2
- package/dist/lowcode-agent/index.js +96 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -746,6 +746,31 @@ export interface SidebarLayoutSlots {
|
|
|
746
746
|
}
|
|
747
747
|
|
|
748
748
|
|
|
749
|
+
export type TfRequestAuthFailureReason = 'refresh-failed' | 'unauthorized'
|
|
750
|
+
|
|
751
|
+
export interface TfRequestAuthContext {
|
|
752
|
+
token?: string
|
|
753
|
+
tenantId?: string
|
|
754
|
+
userId?: string
|
|
755
|
+
refreshToken?: string
|
|
756
|
+
applicationId?: string
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export interface TfRequestAuthAdapter {
|
|
760
|
+
getContext(): TfRequestAuthContext | null | undefined
|
|
761
|
+
refresh(): Promise<boolean>
|
|
762
|
+
onAuthFailure?(reason: TfRequestAuthFailureReason): void
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
export declare function configureRequestAuth(adapter: TfRequestAuthAdapter | null): void
|
|
767
|
+
export declare function hasRequestAuthAdapter(): boolean
|
|
768
|
+
export declare function getRegisteredRequestAuthAdapter(): TfRequestAuthAdapter | null
|
|
769
|
+
export declare function getRequestAuthContext(): TfRequestAuthContext | null
|
|
770
|
+
export declare function refreshRequestAuth(): Promise<boolean>
|
|
771
|
+
export declare function notifyRequestAuthFailure(reason: TfRequestAuthFailureReason): void
|
|
772
|
+
export declare function fetchWithRequestAuth(input: RequestInfo | URL, init?: RequestInit): Promise<Response>
|
|
773
|
+
|
|
749
774
|
export declare const DOCUMENT_FORM_FIELD_ACCESS_KEY: unique symbol
|
|
750
775
|
export declare const DOCUMENT_FORM_SHELL_CONTEXT_KEY: unique symbol
|
|
751
776
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as Xa } from "./jspdf.es.min-
|
|
1
|
+
import { ju as Ke, k$ as Do } from "./index-DeFCl1SX.js";
|
|
2
|
+
import { _ as Xa } from "./jspdf.es.min-DNbeD7Ag.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "@lucide/vue";
|
|
5
5
|
import "reka-ui";
|