@ximatai/muyun-web-app 0.26.23 → 0.26.24
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-IWGZiPLo.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
- package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-BnucgqNA.js} +155 -155
- package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-CtQjmpLz.js} +390 -390
- package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-BiYn2MJx.js} +21 -21
- package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
- package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
- package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-DEDF61vj.js} +3154 -3154
- package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-HatmiK8_.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-BzzoarpR.js} +65 -65
- package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-Vdt6SWK6.js} +47 -47
- package/dist/WorkflowAdministrationView-Dlw2ng0N.js +650 -0
- package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-j2xnGmkM.js} +35 -35
- package/dist/WorkflowWorkbenchView-Nv4mvTTP.js +759 -0
- package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-B_z1qQvB.js} +37 -37
- package/dist/index.css +1 -1
- package/dist/index.js +1340 -788
- package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-1N0U7QW9.js} +220 -220
- package/dist/{platform-components-D0T03KGl.js → platform-components-Xb5qgsXU.js} +3091 -2880
- package/dist/{platform-workbench-CobObbuz.js → platform-workbench-VhgKhPLI.js} +5526 -5451
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
- package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
- package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
- package/dist/types/app/LoginView.vue.d.ts +3 -1
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/index.d.ts +7 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
- package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +71 -2
- package/dist/types/web-core/clients.d.ts +11 -1
- package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BLFXzHwn.js} +5 -5
- package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Cas3PR5B.js} +1050 -894
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
- package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
- package/dist/WorkflowWorkbenchView-DBMh3ycN.js +0 -759
|
@@ -126,7 +126,7 @@ export interface WebBusinessNotification {
|
|
|
126
126
|
content: string;
|
|
127
127
|
dismissible: boolean;
|
|
128
128
|
actions: WebBusinessNotificationAction[];
|
|
129
|
-
/** Persistent cards remain above ordinary overlays
|
|
129
|
+
/** Persistent floating cards remain actionable above ordinary overlays; all reminders share the current collection. */
|
|
130
130
|
displayPolicy?: 'standard' | 'persistent';
|
|
131
131
|
/** Optional absolute action deadline, in ISO-8601 format. */
|
|
132
132
|
expiresAt?: string;
|
|
@@ -247,6 +247,71 @@ export interface TenantBranding {
|
|
|
247
247
|
export interface TenantLoginContext {
|
|
248
248
|
tenantId: string;
|
|
249
249
|
branding?: TenantBranding;
|
|
250
|
+
/** External identity providers the tenant offers on its sign-in entry; empty when federation is off. */
|
|
251
|
+
externalLoginMethods?: ExternalLoginMethod[];
|
|
252
|
+
}
|
|
253
|
+
export interface ExternalLoginMethod {
|
|
254
|
+
providerId: string;
|
|
255
|
+
title: string;
|
|
256
|
+
providerType: string;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* A started external sign-in or bind transaction. `state` and `browserProof` must stay in the initiating
|
|
260
|
+
* browser; only that browser can complete the transaction, and the proof is never put into a URL.
|
|
261
|
+
*/
|
|
262
|
+
export interface ExternalLoginStart {
|
|
263
|
+
transactionId: string;
|
|
264
|
+
state: string;
|
|
265
|
+
authorizationUrl: string;
|
|
266
|
+
browserProof: string;
|
|
267
|
+
expiresAt: string;
|
|
268
|
+
qrCode?: {
|
|
269
|
+
providerType: string;
|
|
270
|
+
scriptUrl: string;
|
|
271
|
+
authorizationUrl: string;
|
|
272
|
+
clientId: string;
|
|
273
|
+
redirectUri: string;
|
|
274
|
+
state: string;
|
|
275
|
+
scope: string;
|
|
276
|
+
messageOrigin: string;
|
|
277
|
+
} | null;
|
|
278
|
+
}
|
|
279
|
+
export type ExternalLoginStatus = 'succeeded' | 'denied' | 'expired' | 'confirmationRequired' | 'reviewPending' | 'reviewRejected';
|
|
280
|
+
export type ExternalLoginFailure = 'admissionRejected' | 'identityNotBound' | 'identityConflict' | 'alreadyBound' | 'enterpriseMismatch' | 'policyDisabled' | 'accountUnavailable' | 'sessionEnded' | 'providerRejected' | 'providerUnavailable' | 'internalError';
|
|
281
|
+
export type ExternalLoginPurpose = 'login' | 'bind';
|
|
282
|
+
export interface ExternalIdentityView {
|
|
283
|
+
id: string;
|
|
284
|
+
providerId: string;
|
|
285
|
+
providerTitle: string;
|
|
286
|
+
externalUserId: string;
|
|
287
|
+
displayName?: string;
|
|
288
|
+
boundAt: string;
|
|
289
|
+
lastAuthenticatedAt?: string;
|
|
290
|
+
}
|
|
291
|
+
/** What the initiating browser submits after the provider returned it to the workbench. */
|
|
292
|
+
export interface ExternalLoginCompleteRequest {
|
|
293
|
+
state: string;
|
|
294
|
+
browserProof: string;
|
|
295
|
+
/** Every provider parameter on the return address, verified on the server. */
|
|
296
|
+
parameters: Record<string, string>;
|
|
297
|
+
}
|
|
298
|
+
export interface ExternalProvisioningProfile {
|
|
299
|
+
displayName: string;
|
|
300
|
+
tenantId: string;
|
|
301
|
+
departmentIds: string[];
|
|
302
|
+
placements?: string[];
|
|
303
|
+
}
|
|
304
|
+
export interface ExternalLoginCompletion {
|
|
305
|
+
status: ExternalLoginStatus;
|
|
306
|
+
purpose: ExternalLoginPurpose;
|
|
307
|
+
failure?: ExternalLoginFailure;
|
|
308
|
+
login?: LoginResult;
|
|
309
|
+
binding?: ExternalIdentityView;
|
|
310
|
+
confirmation?: ExternalProvisioningProfile;
|
|
311
|
+
}
|
|
312
|
+
export interface OwnExternalIdentities {
|
|
313
|
+
bindings: ExternalIdentityView[];
|
|
314
|
+
bindableProviders: ExternalLoginMethod[];
|
|
250
315
|
}
|
|
251
316
|
export interface LoginRequest {
|
|
252
317
|
tenantId?: string;
|
|
@@ -1411,6 +1476,8 @@ export interface UserSessionView {
|
|
|
1411
1476
|
maxExpiresAt?: string;
|
|
1412
1477
|
lastSeenAt?: string;
|
|
1413
1478
|
passwordChangeRequired?: boolean;
|
|
1479
|
+
/** How the session was authenticated, for example `password`. */
|
|
1480
|
+
authenticationMethod?: string;
|
|
1414
1481
|
loginIp?: string;
|
|
1415
1482
|
loginUserAgent?: string;
|
|
1416
1483
|
terminalType?: string;
|
|
@@ -1433,7 +1500,8 @@ export interface UserSessionStatusView {
|
|
|
1433
1500
|
presentSessionCount?: number;
|
|
1434
1501
|
idleSessionCount?: number;
|
|
1435
1502
|
}
|
|
1436
|
-
|
|
1503
|
+
/** `none` marks an account that has no local password and signs in through another method. */
|
|
1504
|
+
export type UserPasswordStatus = 'normal' | 'initial' | 'resetRequired' | 'expired' | 'none';
|
|
1437
1505
|
export interface ResetPasswordResponse {
|
|
1438
1506
|
count: number;
|
|
1439
1507
|
temporaryPassword?: string;
|
|
@@ -1586,6 +1654,7 @@ export interface PlatformModule extends StandardEnabledTreeEntity {
|
|
|
1586
1654
|
}
|
|
1587
1655
|
/** A governed operation exposed by one platform module. */
|
|
1588
1656
|
export interface PlatformModuleAction extends StandardEnabledSortableEntity {
|
|
1657
|
+
schedulable?: boolean;
|
|
1589
1658
|
bindingPending?: boolean;
|
|
1590
1659
|
formSupported?: boolean;
|
|
1591
1660
|
moduleAlias?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChangeOwnPasswordRequest, CurrentUserProfile, CurrentUser, LoginRequest, LoginResult, UpdateCurrentUserProfileRequest, MenuMineResponse, PageBootstrap, TenantBranding, TenantLoginContext } from '../web-contracts/index';
|
|
1
|
+
import type { ChangeOwnPasswordRequest, CurrentUserProfile, CurrentUser, ExternalLoginCompleteRequest, ExternalLoginCompletion, ExternalLoginStart, LoginRequest, LoginResult, UpdateCurrentUserProfileRequest, MenuMineResponse, OwnExternalIdentities, PageBootstrap, TenantBranding, TenantLoginContext } from '../web-contracts/index';
|
|
2
2
|
import type { HttpClient } from './http';
|
|
3
3
|
export interface SessionClient {
|
|
4
4
|
current(): Promise<CurrentUser>;
|
|
@@ -18,6 +18,15 @@ export interface AuthClient {
|
|
|
18
18
|
updateCurrentProfile(request: UpdateCurrentUserProfileRequest, token: string): Promise<CurrentUserProfile>;
|
|
19
19
|
logout(token?: string): Promise<void>;
|
|
20
20
|
}
|
|
21
|
+
/** External identity sign-in and the current user's bindings; available only when federation is enabled. */
|
|
22
|
+
export interface ExternalLoginClient {
|
|
23
|
+
startLogin(providerId: string, tenantId: string): Promise<ExternalLoginStart>;
|
|
24
|
+
startBind(providerId: string, token: string): Promise<ExternalLoginStart>;
|
|
25
|
+
complete(providerId: string, request: ExternalLoginCompleteRequest): Promise<ExternalLoginCompletion>;
|
|
26
|
+
confirm(providerId: string, request: Omit<ExternalLoginCompleteRequest, 'parameters'>): Promise<ExternalLoginCompletion>;
|
|
27
|
+
identities(token: string): Promise<OwnExternalIdentities>;
|
|
28
|
+
unbind(identityId: string, token: string): Promise<void>;
|
|
29
|
+
}
|
|
21
30
|
/** Resolves the public context used by a tenant-locked login entry. */
|
|
22
31
|
export interface LoginContextClient {
|
|
23
32
|
loginContext(tenantId: string): Promise<TenantLoginContext>;
|
|
@@ -33,4 +42,5 @@ export declare function createPageBootstrapClient(http: HttpClient): PageBootstr
|
|
|
33
42
|
* contract instead of requiring application-level compatibility code.
|
|
34
43
|
*/
|
|
35
44
|
export declare function normalizeMenuMineResponse(response: unknown): MenuMineResponse;
|
|
45
|
+
export declare function createExternalLoginClient(http: HttpClient): ExternalLoginClient;
|
|
36
46
|
export declare function createAuthClient(http: HttpClient): AuthClient;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as e, y as t } from "./platform-workbench-
|
|
2
|
-
import {
|
|
1
|
+
import { E as e, y as t } from "./platform-workbench-VhgKhPLI.js";
|
|
2
|
+
import { Gr as n, Jr as r, Pr as i, Za as a, Zr as o, _n as s, zt as c } from "./platform-components-Xb5qgsXU.js";
|
|
3
3
|
import { computed as l, onMounted as u } from "vue";
|
|
4
4
|
//#region src/views/useWorkflowConfigurationContext.ts
|
|
5
5
|
function d(d) {
|
|
6
|
-
let f = a(), p =
|
|
6
|
+
let f = a(), p = r({ moduleAlias: "platform.workflow.definition" }), m = i(p.http, d), h = {
|
|
7
7
|
loadFunctions: async () => (await m.formulaFunctions()).map((e) => ({
|
|
8
8
|
name: e.name,
|
|
9
9
|
title: e.title,
|
|
@@ -12,12 +12,12 @@ function d(d) {
|
|
|
12
12
|
signature: `${e.name}(${e.parameters.map((e) => e.name).join(", ")})`
|
|
13
13
|
})),
|
|
14
14
|
validate: (e) => m.validateCondition(e)
|
|
15
|
-
}, g =
|
|
15
|
+
}, g = n({
|
|
16
16
|
http: p.http,
|
|
17
17
|
language: f,
|
|
18
18
|
moduleAlias: d,
|
|
19
19
|
runtimeAccess: "VIEW"
|
|
20
|
-
}), _ = t(), v = l(() => _?.value?.tenantId ?
|
|
20
|
+
}), _ = t(), v = l(() => _?.value?.tenantId ? n({
|
|
21
21
|
http: p.http,
|
|
22
22
|
language: f,
|
|
23
23
|
moduleAlias: "iam.organization",
|