@ximatai/muyun-web-app 0.26.24 → 0.26.25
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/{BusinessActivityLogView-DQ5_VmLp.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
- package/dist/{BusinessLogListDrawer-BnucgqNA.js → BusinessLogListDrawer-DtSXpK6g.js} +170 -166
- package/dist/{CodeConfigurationView-CtQjmpLz.js → CodeConfigurationView-BVu1ZnH-.js} +291 -291
- package/dist/{ConfigurationTranslationView-BiYn2MJx.js → ConfigurationTranslationView-Cd8ezR4t.js} +39 -39
- package/dist/{LoginAuditLogView-BIz1LVC3.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
- package/dist/{ModuleActionManagementView-0_ek9yag.js → ModuleActionManagementView-y3t2YHKF.js} +161 -161
- package/dist/{ModuleGovernanceView-DEDF61vj.js → ModuleGovernanceView-BqJq2Pxm.js} +2501 -2501
- package/dist/{RequestErrorLogView-HatmiK8_.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-BzzoarpR.js → RoleDetailWorkspaceView-G-5VAV_B.js} +79 -79
- package/dist/{RuntimeLogView-Vdt6SWK6.js → RuntimeLogView-CulSgS0l.js} +60 -60
- package/dist/{WorkflowAdministrationView-Dlw2ng0N.js → WorkflowAdministrationView-y8VBYMLZ.js} +154 -154
- package/dist/{WorkflowConfigurationView-j2xnGmkM.js → WorkflowConfigurationView-DpONX2nN.js} +293 -293
- package/dist/{WorkflowWorkbenchView-Nv4mvTTP.js → WorkflowWorkbenchView-CGo1eZjr.js} +235 -235
- package/dist/{codeConfiguration-B_z1qQvB.js → codeConfiguration-fZiz0PNC.js} +26 -26
- package/dist/index.css +1 -1
- package/dist/index.js +2195 -1562
- package/dist/{moduleMenuWorkspace-1N0U7QW9.js → moduleMenuWorkspace-AZ4G9BpZ.js} +233 -233
- package/dist/{platform-components-Xb5qgsXU.js → platform-components-D98pyZ77.js} +3584 -2996
- package/dist/{platform-workbench-VhgKhPLI.js → platform-workbench-BBLDvT9V.js} +5542 -5417
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +4 -1
- package/dist/types/app/PersonalAccessTokenDialog.vue.d.ts +15 -0
- package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
- package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
- package/dist/types/app/themeSkinPreference.d.ts +2 -2
- package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
- package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
- package/dist/types/consumer/index.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/formCreateDefaults.d.ts +3 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-components/CronExpressionInput.vue.d.ts +12 -0
- package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/cronExpression.d.ts +36 -0
- package/dist/types/platform-components/durationSeconds.d.ts +31 -0
- package/dist/types/platform-components/index.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
- package/dist/types/platform-workbench/index.d.ts +3 -0
- package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
- package/dist/types/views/businessLogClient.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +16 -0
- package/dist/types/web-core/clients.d.ts +15 -1
- package/dist/{useWorkflowConfigurationContext-BLFXzHwn.js → useWorkflowConfigurationContext-BcK19EXl.js} +8 -8
- package/dist/{workspaceViews-Cas3PR5B.js → workspaceViews-Dr7RZXvX.js} +620 -620
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ExternalLoginClient } from '../web-core/index';
|
|
1
|
+
import { type ExternalLoginClient, type HttpClient } from '../web-core/index';
|
|
2
2
|
import type { CurrentUserProfile } from '../web-contracts/index';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
open?: boolean;
|
|
@@ -9,6 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
/** Shows the user's external account bindings when the deployment enables federation. */
|
|
10
10
|
externalLoginClient?: ExternalLoginClient;
|
|
11
11
|
authToken?: string;
|
|
12
|
+
/** Account-owned transport for avatar operations in a custom host. */
|
|
13
|
+
http?: HttpClient;
|
|
12
14
|
};
|
|
13
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
16
|
close: () => any;
|
|
@@ -26,6 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
26
28
|
}) => any) | undefined;
|
|
27
29
|
}>, {
|
|
28
30
|
error: string;
|
|
31
|
+
http: HttpClient;
|
|
29
32
|
loading: boolean;
|
|
30
33
|
open: boolean;
|
|
31
34
|
profile: CurrentUserProfile;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type PersonalAccessTokenClient } from '../web-core/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
client: PersonalAccessTokenClient;
|
|
5
|
+
sessionToken?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onClose?: (() => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
sessionToken: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PersonalAccessTokenClient } from '../web-core/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
client: PersonalAccessTokenClient;
|
|
4
|
+
sessionToken: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type UiThemeSkinId } from '../vue-ui-antdv/index';
|
|
2
|
+
import { type WorkbenchAccountContext, type WorkbenchAccountMenuOptions, type WorkbenchAccountCommandGuard } from '../platform-workbench/workbenchAccountMenu';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context?: WorkbenchAccountContext;
|
|
5
|
+
menu?: WorkbenchAccountMenuOptions;
|
|
6
|
+
beforeCommand?: WorkbenchAccountCommandGuard;
|
|
7
|
+
skinId?: UiThemeSkinId;
|
|
8
|
+
};
|
|
9
|
+
declare function select(key: string): Promise<void>;
|
|
10
|
+
/** Mandatory credential recovery is independent of optional menu visibility and business guards. */
|
|
11
|
+
declare function requestPasswordChange(): Promise<void>;
|
|
12
|
+
declare var __VLS_1: {
|
|
13
|
+
items: import("../vue-ui-antdv/index").UiDropdownItem[] | undefined;
|
|
14
|
+
select: typeof select;
|
|
15
|
+
refresh: () => Promise<void>;
|
|
16
|
+
profile: import("../web-contracts/index.ts").CurrentUserProfile | undefined;
|
|
17
|
+
skinId: UiThemeSkinId;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
default?: (props: typeof __VLS_1) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
23
|
+
requestPasswordChange: typeof requestPasswordChange;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
logout: (reason: "requested" | "passwordChanged") => any;
|
|
26
|
+
userCommand: (key: string) => any;
|
|
27
|
+
"update:skinId": (skinId: UiThemeSkinId) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onLogout?: ((reason: "requested" | "passwordChanged") => any) | undefined;
|
|
30
|
+
onUserCommand?: ((key: string) => any) | undefined;
|
|
31
|
+
"onUpdate:skinId"?: ((skinId: UiThemeSkinId) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -2,8 +2,8 @@ import { type UiThemeSkinId } from '../vue-ui-antdv/index';
|
|
|
2
2
|
import type { UserPreferenceStore } from '../web-core/index';
|
|
3
3
|
export declare const themeSkinPreferenceKey = "workbench.theme-skin";
|
|
4
4
|
export type ThemeSkinPreferenceFailure = 'save-failed';
|
|
5
|
-
export declare function restoreThemeSkinPreference(store: UserPreferenceStore, fallback: UiThemeSkinId): Promise<UiThemeSkinId>;
|
|
6
|
-
export declare function saveThemeSkinPreference(store: UserPreferenceStore, skinId: UiThemeSkinId, previousSkinId: UiThemeSkinId): Promise<{
|
|
5
|
+
export declare function restoreThemeSkinPreference(store: UserPreferenceStore, fallback: UiThemeSkinId, isCurrent?: () => boolean): Promise<UiThemeSkinId>;
|
|
6
|
+
export declare function saveThemeSkinPreference(store: UserPreferenceStore, skinId: UiThemeSkinId, previousSkinId: UiThemeSkinId, isCurrent?: () => boolean): Promise<{
|
|
7
7
|
skinId: UiThemeSkinId;
|
|
8
8
|
failure?: undefined;
|
|
9
9
|
} | {
|
|
@@ -4,6 +4,7 @@ import type { AuthClient } from '../web-core/index';
|
|
|
4
4
|
export declare function useCurrentUserProfile(options: {
|
|
5
5
|
currentUser: () => CurrentUser | undefined;
|
|
6
6
|
token: () => string | undefined;
|
|
7
|
+
scopeKey?: () => unknown;
|
|
7
8
|
client: Pick<AuthClient, 'currentProfile' | 'updateCurrentProfile'>;
|
|
8
9
|
}): {
|
|
9
10
|
profile: import("vue").Ref<CurrentUserProfile | undefined, CurrentUserProfile | undefined>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PersonalAccessTokenClient } from '../web-core/index';
|
|
2
|
+
/** The host owns credential management availability; the workbench only renders approved commands. */
|
|
3
|
+
export declare function usePersonalAccessTokenAccess(options: {
|
|
4
|
+
client: PersonalAccessTokenClient;
|
|
5
|
+
sessionToken: () => string | undefined;
|
|
6
|
+
scopeKey?: () => unknown;
|
|
7
|
+
}): {
|
|
8
|
+
available: import("vue").Ref<boolean, boolean>;
|
|
9
|
+
sessionToken: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
|
|
10
|
+
refresh: () => Promise<void>;
|
|
11
|
+
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import type { MenuTreeNode, PageDescriptor, WorkbenchStartupState } from '../web-contracts';
|
|
2
|
+
import type { UiThemeSkinId } from '../vue-ui-antdv/index';
|
|
3
|
+
import type { WorkbenchAccountContext, WorkbenchAccountMenuOptions, WorkbenchAccountCommandGuard } from '../platform-workbench/workbenchAccountMenu';
|
|
2
4
|
import { type PageDescriptorResolveOptions } from '../platform-workbench/menuNavigation';
|
|
3
5
|
import type { WorkbenchRealtimeStatus } from '../platform-workbench/realtimeStatus';
|
|
4
6
|
import type { AppWorkbenchNavigation } from './workbenchNavigation';
|
|
5
7
|
type __VLS_Props = {
|
|
6
8
|
startup: WorkbenchStartupState;
|
|
9
|
+
/** Standard account features; current user is always taken from startup.session. */
|
|
10
|
+
accountContext?: WorkbenchAccountContext;
|
|
11
|
+
accountMenu?: WorkbenchAccountMenuOptions;
|
|
12
|
+
beforeAccountCommand?: WorkbenchAccountCommandGuard;
|
|
13
|
+
skinId?: UiThemeSkinId;
|
|
7
14
|
/** Host-owned authenticated menu loader; refreshing preserves all page instances. */
|
|
8
15
|
loadMenus?: () => Promise<MenuTreeNode[]>;
|
|
9
16
|
/** The consumer router's current full path, including search and hash. */
|
|
@@ -16,34 +23,43 @@ type __VLS_Props = {
|
|
|
16
23
|
realtimeStatus?: WorkbenchRealtimeStatus;
|
|
17
24
|
themeAppearance?: 'light' | 'dark';
|
|
18
25
|
};
|
|
19
|
-
declare var
|
|
26
|
+
declare var __VLS_30: {
|
|
20
27
|
currentUser?: import("./index.ts").CurrentUser;
|
|
21
|
-
},
|
|
28
|
+
}, __VLS_33: {
|
|
22
29
|
pageDescriptor: PageDescriptor | undefined;
|
|
23
30
|
};
|
|
24
31
|
type __VLS_Slots = {} & {
|
|
25
|
-
'topbar-actions'?: (props: typeof
|
|
32
|
+
'topbar-actions'?: (props: typeof __VLS_30) => any;
|
|
26
33
|
} & {
|
|
27
|
-
default?: (props: typeof
|
|
34
|
+
default?: (props: typeof __VLS_33) => any;
|
|
28
35
|
};
|
|
29
36
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
37
|
navigate: (navigation: AppWorkbenchNavigation) => any;
|
|
38
|
+
logout: (reason: "requested" | "passwordChanged") => any;
|
|
31
39
|
userCommand: (key: string) => any;
|
|
32
40
|
refreshPage: (key: string) => any;
|
|
33
41
|
retryLoad: () => any;
|
|
42
|
+
"update:skinId": (skinId: UiThemeSkinId) => any;
|
|
34
43
|
"update:startup": (value: WorkbenchStartupState) => any;
|
|
35
44
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
45
|
onNavigate?: ((navigation: AppWorkbenchNavigation) => any) | undefined;
|
|
46
|
+
onLogout?: ((reason: "requested" | "passwordChanged") => any) | undefined;
|
|
37
47
|
onUserCommand?: ((key: string) => any) | undefined;
|
|
38
48
|
onRefreshPage?: ((key: string) => any) | undefined;
|
|
39
49
|
onRetryLoad?: (() => any) | undefined;
|
|
50
|
+
"onUpdate:skinId"?: ((skinId: UiThemeSkinId) => any) | undefined;
|
|
40
51
|
"onUpdate:startup"?: ((value: WorkbenchStartupState) => any) | undefined;
|
|
41
52
|
}>, {
|
|
42
53
|
error: string;
|
|
43
54
|
loading: boolean;
|
|
44
55
|
realtimeStatus: WorkbenchRealtimeStatus;
|
|
56
|
+
currentUserEmployeeName: string;
|
|
45
57
|
themeAppearance: "light" | "dark";
|
|
46
58
|
resolveOptions: PageDescriptorResolveOptions;
|
|
59
|
+
accountContext: WorkbenchAccountContext;
|
|
60
|
+
skinId: UiThemeSkinId;
|
|
61
|
+
beforeAccountCommand: WorkbenchAccountCommandGuard;
|
|
62
|
+
accountMenu: WorkbenchAccountMenuOptions;
|
|
47
63
|
loadMenus: () => Promise<MenuTreeNode[]>;
|
|
48
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
65
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -19,9 +19,12 @@ export type { ModuleListEnhancement, ModuleDetailEnhancement, ModulePageActionCo
|
|
|
19
19
|
export { UiButton, UiDropdown, UiIcon, confirmAction, UiDataTable, UiSidePanel, UiTree, UiTreeSelect, UiInput, UiSearchInput, UiDatePicker, UiSwitch, UiTextArea, } from '../vue-ui-antdv/index';
|
|
20
20
|
export type { UiDropdownItem, UiIconName, UiDatePickerMode, UiDatePickerPrecision, } from '../vue-ui-antdv/index';
|
|
21
21
|
export { default as PlatformAdminOutlet } from './PlatformAdminOutlet.vue';
|
|
22
|
+
export { default as WorkbenchAccountCenter } from '../app/WorkbenchAccountCenter.vue';
|
|
22
23
|
export { default as AppWorkbenchShell } from './AppWorkbenchShell.vue';
|
|
23
24
|
export { default as ExternalProvisioningConfirmation } from '../app/ExternalProvisioningConfirmation.vue';
|
|
24
25
|
export { default as LoginView } from '../app/LoginView.vue';
|
|
26
|
+
export { default as PersonalAccessTokenDialog } from '../app/PersonalAccessTokenDialog.vue';
|
|
27
|
+
export { usePersonalAccessTokenAccess } from '../app/usePersonalAccessTokenAccess';
|
|
25
28
|
export type { AppWorkbenchNavigation } from './workbenchNavigation';
|
|
26
29
|
export { configureUserPreferencePersistence } from './userPreferencePersistence';
|
|
27
30
|
export { default as ChangeOwnPasswordDialog } from '../app/ChangeOwnPasswordDialog.vue';
|
|
@@ -31,6 +34,9 @@ export { defaultUiThemeSkinId, UiThemeProvider, uiThemeSkinById, uiThemeSkins }
|
|
|
31
34
|
export type { UiThemeSkin, UiThemeSkinId } from '../vue-ui-antdv/index';
|
|
32
35
|
export { default as DateTimeText } from '../platform-components/DateTimeText.vue';
|
|
33
36
|
export { default as BusinessNotificationPanel } from '../platform-components/BusinessNotificationPanel.vue';
|
|
37
|
+
export { default as DurationSecondsInput } from '../platform-components/DurationSecondsInput.vue';
|
|
38
|
+
export type { DurationSecondsInputProps } from '../platform-components/durationSeconds';
|
|
39
|
+
export { UiInputGroup } from '../vue-ui-antdv/index';
|
|
34
40
|
export { default as FileSizeText } from '../platform-components/FileSizeText.vue';
|
|
35
41
|
export { default as DrawerOperationBar } from '../platform-components/DrawerOperationBar.vue';
|
|
36
42
|
export { default as RecordDetailDrawer } from '../platform-components/RecordDetailDrawer.vue';
|
|
@@ -62,3 +68,6 @@ export { useExternalLoginHost } from '../app/useExternalLoginHost';
|
|
|
62
68
|
export type { ExternalLoginHost, ExternalLoginHostOptions } from '../app/useExternalLoginHost';
|
|
63
69
|
export { default as CurrentUserProfileDialog } from '../app/CurrentUserProfileDialog.vue';
|
|
64
70
|
export { default as ExternalIdentityBindings } from '../app/ExternalIdentityBindings.vue';
|
|
71
|
+
export { default as CronExpressionInput } from '../platform-components/CronExpressionInput.vue';
|
|
72
|
+
export { validateCronExpression } from '../platform-components/cronExpression';
|
|
73
|
+
export type { CronExpressionInputProps, CronExpressionValidator, CronInputValidity, CronValidationResult, } from '../platform-components/cronExpression';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ResolvedViewDescriptor } from '../web-contracts/index';
|
|
2
|
+
/** Seed only new drafts. Explicit context values (including false, zero and null) take precedence. */
|
|
3
|
+
export declare function formCreateDefaults(view: ResolvedViewDescriptor | undefined, initial?: Record<string, unknown>): Record<string, unknown>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** Reactive counterpart of effectiveAuthToken, with component-scoped browser observation. */
|
|
2
|
+
export declare function useEffectiveAuthToken(envToken?: string): import("vue").ComputedRef<string | undefined>;
|
|
1
3
|
export declare function effectiveAuthToken(envToken?: string): string | undefined;
|
|
2
4
|
export declare function storedAuthToken(): string | undefined;
|
|
3
5
|
export declare function storedAuthSessionId(): string | undefined;
|
|
@@ -14,4 +14,4 @@ export { configureAuthenticationRecovery } from './sessionRecovery';
|
|
|
14
14
|
export type { AuthenticationRecoveryHandler } from './sessionRecovery';
|
|
15
15
|
export { connectAppRealtime, disconnectAppRealtime, subscribeAppBusinessEvents, subscribeAppDataChanges, } from './realtime';
|
|
16
16
|
export type { AppRealtimeConnection, AppRealtimeOptions } from './realtime';
|
|
17
|
-
export { clearAuthToken, effectiveAuthToken, saveAuthSessionId, saveAuthToken, storedAuthSessionId, storedAuthToken, } from './authSession';
|
|
17
|
+
export { clearAuthToken, effectiveAuthToken, useEffectiveAuthToken, saveAuthSessionId, saveAuthToken, storedAuthSessionId, storedAuthToken, } from './authSession';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type CronExpressionInputProps, type CronInputValidity } from './cronExpression';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CronExpressionInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:value": (value: string) => any;
|
|
4
|
+
"validity-change": (validity: CronInputValidity) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<CronExpressionInputProps> & Readonly<{
|
|
6
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
7
|
+
"onValidity-change"?: ((validity: CronInputValidity) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
showFeedback: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type DurationSecondsInputProps } from './durationSeconds';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<DurationSecondsInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
"update:value": (value: number | undefined) => any;
|
|
4
|
+
"error-change": (message: string | undefined) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<DurationSecondsInputProps> & Readonly<{
|
|
6
|
+
"onUpdate:value"?: ((value: number | undefined) => any) | undefined;
|
|
7
|
+
"onError-change"?: ((message: string | undefined) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -43,7 +43,7 @@ declare var __VLS_9: {
|
|
|
43
43
|
group: import("../web-contracts/index").FormGroupDescriptor | undefined;
|
|
44
44
|
}, __VLS_20: {
|
|
45
45
|
field: RecordFormFieldState;
|
|
46
|
-
},
|
|
46
|
+
}, __VLS_251: {
|
|
47
47
|
field: RecordFormFieldState;
|
|
48
48
|
};
|
|
49
49
|
type __VLS_Slots = {} & {
|
|
@@ -53,7 +53,7 @@ type __VLS_Slots = {} & {
|
|
|
53
53
|
} & {
|
|
54
54
|
'field-actions'?: (props: typeof __VLS_20) => any;
|
|
55
55
|
} & {
|
|
56
|
-
'after-field'?: (props: typeof
|
|
56
|
+
'after-field'?: (props: typeof __VLS_251) => any;
|
|
57
57
|
};
|
|
58
58
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
59
|
"validity-change": (validity: RecordFormValidity) => any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type HttpClient } from '../web-core/index';
|
|
2
|
+
export type CronPresetKind = 'daily' | 'weekly' | 'monthly' | 'minutes';
|
|
3
|
+
export interface CronPreset {
|
|
4
|
+
kind: CronPresetKind;
|
|
5
|
+
hour: number;
|
|
6
|
+
minute: number;
|
|
7
|
+
weekdays: string[];
|
|
8
|
+
day: number;
|
|
9
|
+
interval: number;
|
|
10
|
+
}
|
|
11
|
+
export interface CronValidationResult {
|
|
12
|
+
valid: boolean;
|
|
13
|
+
reason?: string | null;
|
|
14
|
+
}
|
|
15
|
+
export type CronExpressionValidator = (expression: string) => Promise<CronValidationResult>;
|
|
16
|
+
export interface CronInputValidity {
|
|
17
|
+
valid: boolean;
|
|
18
|
+
pending?: boolean;
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface CronExpressionInputProps {
|
|
22
|
+
value?: string | null;
|
|
23
|
+
validator: CronExpressionValidator;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
invalid?: boolean;
|
|
26
|
+
ariaLabel?: string;
|
|
27
|
+
showFeedback?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const cronWeekdays: readonly ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"];
|
|
30
|
+
export declare const cronMinuteIntervals: readonly [1, 5, 10, 15, 20, 30];
|
|
31
|
+
export declare function normalizeCronExpression(value: string): string;
|
|
32
|
+
export declare function defaultCronPreset(): CronPreset;
|
|
33
|
+
/** These are assistant templates, never a substitute for the server's Spring Cron parser. */
|
|
34
|
+
export declare function generateCronExpression(preset: CronPreset): string | undefined;
|
|
35
|
+
export declare function parseCronPreset(expression: string): CronPreset | undefined;
|
|
36
|
+
export declare function validateCronExpression(http: HttpClient, expression: string): Promise<CronValidationResult>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Public duration editor contract. Invalid raw values remain visible and emit error-change. */
|
|
2
|
+
export interface DurationSecondsInputProps {
|
|
3
|
+
value?: unknown;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Integer seconds remain the sole wire value; unit selection is editor state. */
|
|
9
|
+
export declare const durationSecondsUnits: readonly [{
|
|
10
|
+
readonly seconds: 86400;
|
|
11
|
+
readonly key: "platform.duration.days";
|
|
12
|
+
readonly label: "天";
|
|
13
|
+
}, {
|
|
14
|
+
readonly seconds: 3600;
|
|
15
|
+
readonly key: "platform.duration.hours";
|
|
16
|
+
readonly label: "小时";
|
|
17
|
+
}, {
|
|
18
|
+
readonly seconds: 60;
|
|
19
|
+
readonly key: "platform.duration.minutes";
|
|
20
|
+
readonly label: "分钟";
|
|
21
|
+
}, {
|
|
22
|
+
readonly seconds: 1;
|
|
23
|
+
readonly key: "platform.duration.seconds";
|
|
24
|
+
readonly label: "秒";
|
|
25
|
+
}];
|
|
26
|
+
export declare function durationSecondsParts(value: unknown): {
|
|
27
|
+
amount: string;
|
|
28
|
+
unit: number;
|
|
29
|
+
};
|
|
30
|
+
/** null means invalid; undefined means an explicitly cleared optional value. */
|
|
31
|
+
export declare function parseDurationSeconds(amount: string, unit: number): number | null | undefined;
|
|
@@ -6,6 +6,7 @@ export type { FormulaExpressionField, FormulaExpressionFunction } from './formul
|
|
|
6
6
|
export { default as ApplicationScopeSwitcher } from './ApplicationScopeSwitcher.vue';
|
|
7
7
|
export { default as BusinessNotificationPanel } from './BusinessNotificationPanel.vue';
|
|
8
8
|
export { confirmAction } from '../vue-ui-antdv/index';
|
|
9
|
+
export { actionConfirmationRequiredText } from './actionConfirmation';
|
|
9
10
|
export { UiModal } from '../vue-ui-antdv/index';
|
|
10
11
|
export { uiDrawerWidths as drawerWidths } from '../vue-ui-antdv/index';
|
|
11
12
|
export type { UiDrawerWidth as DrawerWidth } from '../vue-ui-antdv/index';
|
|
@@ -14,6 +15,8 @@ export { default as DrawerOperationBar } from './DrawerOperationBar.vue';
|
|
|
14
15
|
export { default as DrawerTitleActions } from './DrawerTitleActions.vue';
|
|
15
16
|
export type { DrawerTitleAction } from './drawerTitleActions';
|
|
16
17
|
export { default as DateTimeText } from './DateTimeText.vue';
|
|
18
|
+
export { default as DurationSecondsInput } from './DurationSecondsInput.vue';
|
|
19
|
+
export type { DurationSecondsInputProps } from './durationSeconds';
|
|
17
20
|
export { default as FileSizeText } from './FileSizeText.vue';
|
|
18
21
|
export { default as FileTransferUploader } from './FileTransferUploader.vue';
|
|
19
22
|
export { default as SingleImageFileReferenceField } from './SingleImageFileReferenceField.vue';
|
|
@@ -163,3 +166,6 @@ export { default as RecordDataExchangeSurface } from './RecordDataExchangeSurfac
|
|
|
163
166
|
export { default as TenantScopeExplorer } from './TenantScopeExplorer.vue';
|
|
164
167
|
export { useWorkspaceDetailSurface } from './useWorkspaceDetailSurface';
|
|
165
168
|
export { default as RecordAdaptiveDetailPanel } from './RecordAdaptiveDetailPanel.vue';
|
|
169
|
+
export { default as CronExpressionInput } from './CronExpressionInput.vue';
|
|
170
|
+
export { validateCronExpression } from './cronExpression';
|
|
171
|
+
export type { CronExpressionInputProps, CronExpressionValidator, CronInputValidity, CronValidationResult, } from './cronExpression';
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '../web-contracts/index';
|
|
2
|
+
import type { UiDropdownItem } from '../vue-ui-antdv/index';
|
|
2
3
|
import { type AssistantTurnRequester, type AssistantWorkspaceContribution, type ConstructionPlanClient, type AssistantConversationClient } from '../web-core/index';
|
|
3
4
|
import type { WorkbenchRealtimeStatus } from './realtimeStatus';
|
|
4
5
|
type __VLS_Props = {
|
|
5
6
|
startup?: WorkbenchStartupState;
|
|
6
7
|
/** Employee name from the host-owned current-user profile. */
|
|
7
8
|
currentUserEmployeeName?: string;
|
|
9
|
+
/** Host-owned account commands already filtered by backend capabilities. */
|
|
10
|
+
accountMenuItems?: UiDropdownItem[];
|
|
11
|
+
/** Complete standard-account presentation supplied by WorkbenchAccountCenter. */
|
|
12
|
+
managedAccountMenuItems?: UiDropdownItem[];
|
|
8
13
|
loading?: boolean;
|
|
9
14
|
error?: string;
|
|
10
15
|
activeTabKey?: string;
|
|
@@ -19,21 +24,22 @@ type __VLS_Props = {
|
|
|
19
24
|
assistantWorkspaceContribution?: AssistantWorkspaceContribution;
|
|
20
25
|
assistantWaitForPageReady?: () => Promise<string>;
|
|
21
26
|
};
|
|
22
|
-
declare var
|
|
27
|
+
declare var __VLS_54: {
|
|
23
28
|
currentUser?: import("../web-contracts/index").CurrentUser;
|
|
24
|
-
},
|
|
29
|
+
}, __VLS_91: {
|
|
25
30
|
activeTab: MenuTab;
|
|
26
31
|
target: MenuNavigationTarget | undefined;
|
|
27
32
|
pageDescriptor: PageDescriptor | undefined;
|
|
28
33
|
};
|
|
29
34
|
type __VLS_Slots = {} & {
|
|
30
|
-
'topbar-actions'?: (props: typeof
|
|
35
|
+
'topbar-actions'?: (props: typeof __VLS_54) => any;
|
|
31
36
|
} & {
|
|
32
|
-
default?: (props: typeof
|
|
37
|
+
default?: (props: typeof __VLS_91) => any;
|
|
33
38
|
};
|
|
34
39
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
40
|
closeTabs: (keys: string[]) => any;
|
|
36
41
|
userCommand: (key: string) => any;
|
|
42
|
+
accountMenuOpen: () => any;
|
|
37
43
|
selectMenu: (menu: MenuRecord, target: MenuNavigationTarget) => any;
|
|
38
44
|
invalidMenu: (menu: MenuRecord) => any;
|
|
39
45
|
changeTab: (key: string) => any;
|
|
@@ -46,6 +52,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
46
52
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
53
|
onCloseTabs?: ((keys: string[]) => any) | undefined;
|
|
48
54
|
onUserCommand?: ((key: string) => any) | undefined;
|
|
55
|
+
onAccountMenuOpen?: (() => any) | undefined;
|
|
49
56
|
onSelectMenu?: ((menu: MenuRecord, target: MenuNavigationTarget) => any) | undefined;
|
|
50
57
|
onInvalidMenu?: ((menu: MenuRecord) => any) | undefined;
|
|
51
58
|
onChangeTab?: ((key: string) => any) | undefined;
|
|
@@ -58,6 +65,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
58
65
|
}>, {
|
|
59
66
|
error: string;
|
|
60
67
|
loading: boolean;
|
|
68
|
+
accountMenuItems: UiDropdownItem[];
|
|
69
|
+
managedAccountMenuItems: UiDropdownItem[];
|
|
61
70
|
assistantAvailable: boolean;
|
|
62
71
|
realtimeStatus: WorkbenchRealtimeStatus;
|
|
63
72
|
startup: WorkbenchStartupState;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { CurrentUser } from '../web-contracts/index';
|
|
2
|
+
import { type UiDropdownItem } from '../vue-ui-antdv/index';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
currentUser?: CurrentUser;
|
|
5
|
+
accountMenuItems?: UiDropdownItem[];
|
|
6
|
+
managedAccountMenuItems?: UiDropdownItem[];
|
|
4
7
|
employeeName?: string;
|
|
5
8
|
assistantAvailable: boolean;
|
|
6
9
|
assistantOpen: boolean;
|
|
@@ -14,9 +17,11 @@ type __VLS_Slots = {
|
|
|
14
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
18
|
toggleAssistant: () => any;
|
|
16
19
|
userCommand: (key: string) => any;
|
|
20
|
+
accountMenuOpen: () => any;
|
|
17
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
22
|
onToggleAssistant?: (() => any) | undefined;
|
|
19
23
|
onUserCommand?: ((key: string) => any) | undefined;
|
|
24
|
+
onAccountMenuOpen?: (() => any) | undefined;
|
|
20
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,6 +2,16 @@ import type { PageDescriptor } from '../web-contracts/index';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
descriptor?: PageDescriptor;
|
|
4
4
|
};
|
|
5
|
-
declare
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
6
11
|
declare const _default: typeof __VLS_export;
|
|
7
12
|
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -11,6 +11,7 @@ export { configureWorkspaceViewContributions, createWorkspaceViewDescriptor, cre
|
|
|
11
11
|
export { provideWorkspaceViewHost, useWorkspaceViewHost } from './workspaceViewHost';
|
|
12
12
|
export { useWorkspaceViewNavigation } from './workspaceViewNavigation';
|
|
13
13
|
export { useWorkspaceViewUnsavedState } from './useWorkspaceViewUnsavedState';
|
|
14
|
+
export { confirmDiscardWorkspaceViewState, hasWorkspaceViewDiscardProtection, } from './workspaceViewDiscardGuard';
|
|
14
15
|
export { defineWorkspaceView } from './workspaceViewContract';
|
|
15
16
|
export type { ResolvedWorkspaceView, WorkspaceViewRegistry } from './workspaceViews';
|
|
16
17
|
export type { WorkspaceViewDefinition, WorkspaceViewInput, WorkspaceViewPresentation, WorkspaceDrawerProfile, } from './workspaceViewContract';
|
|
@@ -22,3 +23,5 @@ export type { WorkbenchMegaMenuModel, WorkbenchMenuNode } from './menuTreeModel'
|
|
|
22
23
|
export { presentWorkbenchRealtimeStatus } from './realtimeStatus';
|
|
23
24
|
export type { WorkbenchRealtimeStatus, WorkbenchRealtimeStatusPresentation } from './realtimeStatus';
|
|
24
25
|
export { default as LanguageSelector } from './LanguageSelector.vue';
|
|
26
|
+
export { workbenchAccountCommands } from './workbenchAccountMenu';
|
|
27
|
+
export type { WorkbenchAccountCommand, WorkbenchAccountContext, WorkbenchAccountContribution, WorkbenchAccountMenuOptions, WorkbenchAccountCommandGuard, } from './workbenchAccountMenu';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CurrentUser } from '../web-contracts/index';
|
|
2
|
+
import type { HttpClient, LanguageContext } from '../web-core/index';
|
|
3
|
+
import type { UiDropdownItem, UiIconName } from '../vue-ui-antdv/index';
|
|
4
|
+
export declare const workbenchAccountCommands: readonly ["languageSettings", "themeSkin", "changePassword", "profile", "accessTokens", "logout"];
|
|
5
|
+
export type WorkbenchAccountCommand = (typeof workbenchAccountCommands)[number];
|
|
6
|
+
export interface WorkbenchAccountContribution {
|
|
7
|
+
/** Business namespace, for example mr.expertSeat. Standard commands cannot be replaced. */
|
|
8
|
+
key: `${string}.${string}`;
|
|
9
|
+
title: string;
|
|
10
|
+
iconName?: UiIconName;
|
|
11
|
+
group?: 'preferences' | 'account';
|
|
12
|
+
order?: number;
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
danger?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface WorkbenchAccountMenuOptions {
|
|
18
|
+
hiddenCommands?: readonly WorkbenchAccountCommand[];
|
|
19
|
+
contributions?: readonly WorkbenchAccountContribution[];
|
|
20
|
+
}
|
|
21
|
+
/** Inject once; platform account features continue to use the host's authenticated transport. */
|
|
22
|
+
export interface WorkbenchAccountContext {
|
|
23
|
+
http: HttpClient;
|
|
24
|
+
/** Offline/mock hosts may keep appearance preferences local. */
|
|
25
|
+
preferencePersistence?: 'backend' | 'local';
|
|
26
|
+
token?: string;
|
|
27
|
+
currentUser?: CurrentUser;
|
|
28
|
+
}
|
|
29
|
+
export type WorkbenchAccountCommandGuard = (command: {
|
|
30
|
+
key: string;
|
|
31
|
+
currentUser?: CurrentUser;
|
|
32
|
+
}) => boolean | Promise<boolean>;
|
|
33
|
+
export declare function createWorkbenchAccountMenu(language: LanguageContext, options?: WorkbenchAccountMenuOptions, accessTokensAvailable?: boolean): UiDropdownItem[];
|
|
@@ -2,4 +2,4 @@ import { type LanguageContext } from '../web-core/index';
|
|
|
2
2
|
/** Clean pages need no asynchronous confirmation and retain immediate navigation semantics. */
|
|
3
3
|
export declare function hasWorkspaceViewDiscardProtection(keys: readonly string[]): boolean;
|
|
4
4
|
/** Every host must consult the same draft facts before destroying a workspace page. */
|
|
5
|
-
export declare function confirmDiscardWorkspaceViewState(keys: readonly string[], operation?: 'close' | 'refresh', language?: LanguageContext): Promise<boolean>;
|
|
5
|
+
export declare function confirmDiscardWorkspaceViewState(keys: readonly string[], operation?: 'close' | 'refresh' | 'logout', language?: LanguageContext): Promise<boolean>;
|
|
@@ -18,6 +18,8 @@ export interface BusinessLogEventView {
|
|
|
18
18
|
tenantId?: string;
|
|
19
19
|
operatorId?: string;
|
|
20
20
|
operatorOrganizationId?: string;
|
|
21
|
+
authenticationMethod?: string;
|
|
22
|
+
authenticationCredentialId?: string;
|
|
21
23
|
operatorIdentity?: BusinessLogOperatorIdentity;
|
|
22
24
|
moduleAlias?: string;
|
|
23
25
|
actionCode?: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
invalid?: boolean;
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
addon?: (props: typeof __VLS_3) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -3,6 +3,7 @@ type __VLS_Props = {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
readonly?: boolean;
|
|
6
7
|
invalid?: boolean;
|
|
7
8
|
rows?: number;
|
|
8
9
|
maxlength?: number;
|
|
@@ -53,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
53
54
|
value: string;
|
|
54
55
|
placeholder: string;
|
|
55
56
|
maxlength: number;
|
|
57
|
+
readonly: boolean;
|
|
56
58
|
invalid: boolean;
|
|
57
59
|
rows: number;
|
|
58
60
|
acceptDrop: (source: UiDragSource) => boolean;
|
|
@@ -6,6 +6,7 @@ export { default as UiTagList } from './components/UiTagList.vue';
|
|
|
6
6
|
export { default as UiCheckbox } from './components/UiCheckbox.vue';
|
|
7
7
|
export { default as UiColorPicker } from './components/UiColorPicker.vue';
|
|
8
8
|
export { default as UiForm } from './components/UiForm.vue';
|
|
9
|
+
export { default as UiInputGroup } from './components/UiInputGroup.vue';
|
|
9
10
|
export { default as UiInput } from './components/UiInput.vue';
|
|
10
11
|
export { default as UiSearchInput } from './components/UiSearchInput.vue';
|
|
11
12
|
export { default as UiTextArea } from './components/UiTextArea.vue';
|
|
@@ -203,6 +203,20 @@ export interface CurrentUser {
|
|
|
203
203
|
passwordChangeRequired?: boolean;
|
|
204
204
|
timeZone?: string;
|
|
205
205
|
}
|
|
206
|
+
/** User-owned tool credential metadata; full secret is only returned on issuance. */
|
|
207
|
+
export interface PersonalAccessTokenView {
|
|
208
|
+
id: string;
|
|
209
|
+
name: string;
|
|
210
|
+
displayPrefix: string;
|
|
211
|
+
createdAt: string;
|
|
212
|
+
expiresAt: string;
|
|
213
|
+
revokedAt?: string;
|
|
214
|
+
lastUsedAt?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface IssuedPersonalAccessToken {
|
|
217
|
+
token: string;
|
|
218
|
+
accessToken: PersonalAccessTokenView;
|
|
219
|
+
}
|
|
206
220
|
export interface CurrentUserProfilePosition {
|
|
207
221
|
id?: string;
|
|
208
222
|
title?: string;
|
|
@@ -1184,6 +1198,8 @@ export interface ResolvedViewDescriptor {
|
|
|
1184
1198
|
fields: ResolvedViewFieldDescriptor[];
|
|
1185
1199
|
/** Dynamic-page provenance used to select the view configured by a menu entry. */
|
|
1186
1200
|
sourceUiConfigId?: string;
|
|
1201
|
+
/** Model literals in standard wire types; seed new records before context bindings and calculations. */
|
|
1202
|
+
createDefaults?: Record<string, unknown>;
|
|
1187
1203
|
formGroups?: FormGroupDescriptor[];
|
|
1188
1204
|
formComputeRules?: ResolvedFormComputeRuleDescriptor[];
|
|
1189
1205
|
formValidationRules?: ResolvedFormValidationRuleDescriptor[];
|