@ximatai/muyun-web-app 0.26.19 → 0.26.21
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-DudCmeKP.js → BusinessActivityLogView-6L75GZVc.js} +2 -2
- package/dist/{BusinessLogListDrawer-CVUvUG48.js → BusinessLogListDrawer-C4iFnkE7.js} +95 -95
- package/dist/{CodeConfigurationView-ZjVgaZkD.js → CodeConfigurationView-D7sqbNCg.js} +515 -515
- package/dist/{ConfigurationTranslationView-Dl757QMl.js → ConfigurationTranslationView-ta82REbn.js} +21 -21
- package/dist/{LoginAuditLogView-Cj3PMvN5.js → LoginAuditLogView-B_RQ9JIX.js} +2 -2
- package/dist/ModuleActionManagementView-DtGF3NC_.js +755 -0
- package/dist/{ModuleGovernanceView-C3RxdgQN.js → ModuleGovernanceView-Cl6tkZ6M.js} +2659 -2651
- package/dist/{RequestErrorLogView-tmjMOeLE.js → RequestErrorLogView-BJDO3Scn.js} +2 -2
- package/dist/RoleDetailWorkspaceView-C0Ab3PEp.js +1435 -0
- package/dist/{RuntimeLogView-BkkgHcF0.js → RuntimeLogView-jP9ceuJD.js} +61 -61
- package/dist/WorkflowAdministrationView-BmNJQYtq.js +650 -0
- package/dist/{WorkflowConfigurationView-Bnjdrkdx.js → WorkflowConfigurationView-Dh6BKQm5.js} +309 -309
- package/dist/WorkflowWorkbenchView-BvPNKbuV.js +759 -0
- package/dist/{codeConfiguration-DERwCY-U.js → codeConfiguration-DhCBKbkc.js} +38 -38
- package/dist/index.css +1 -1
- package/dist/index.js +999 -618
- package/dist/moduleMenuWorkspace-BbVmNKZn.js +626 -0
- package/dist/{platform-components-wRXbnwMr.js → platform-components-i2ONyZ8r.js} +2989 -2746
- package/dist/{platform-workbench-Cm_0kmTT.js → platform-workbench-DhaREttd.js} +5400 -5384
- package/dist/types/consumer/index.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +19 -29
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageTenantNavigator.vue.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/recordSaveFeedback.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/platform-components/EmployeePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +3 -1
- package/dist/types/platform-components/ReadonlyRecordWorkspace.vue.d.ts +56 -0
- package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +3 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordQueryControls.vue.d.ts +21 -0
- package/dist/types/platform-components/RecordQueryFieldControls.vue.d.ts +32 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +2 -2
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/UserPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/queryCriteria.d.ts +7 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +5 -1
- package/dist/types/views/metadataChangeSetSubmission.d.ts +3 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +7 -1
- package/dist/types/web-contracts/index.d.ts +3 -0
- package/dist/types/web-core/index.d.ts +3 -0
- package/dist/types/web-core/recordReadEntry.d.ts +23 -0
- package/dist/types/web-core/recordReadView.d.ts +28 -0
- package/dist/types/web-core/useRecordReadSession.d.ts +27 -0
- package/dist/{useWorkflowConfigurationContext-BE_UjKgk.js → useWorkflowConfigurationContext-B_NxZFyz.js} +8 -8
- package/dist/{workspaceViews-D37OpJ7g.js → workspaceViews-MTwNg_aQ.js} +565 -565
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BuhQrVA3.js +0 -755
- package/dist/RoleDetailWorkspaceView-OhpBChaT.js +0 -1435
- package/dist/WorkflowAdministrationView-DOhA_5-M.js +0 -650
- package/dist/WorkflowWorkbenchView-Cf6yiofx.js +0 -759
- package/dist/moduleMenuWorkspace-DPmYGkS_.js +0 -626
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { QuerySchema, ResolvedModuleUiDescriptor, WebPageResponse, WebQueryRequest } from '../web-contracts/index';
|
|
2
|
+
export interface RecordReadRequestOptions {
|
|
3
|
+
signal: AbortSignal;
|
|
4
|
+
contentLanguage?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A business-owned, authorized read projection. It declares no write capability and needs no
|
|
8
|
+
* entity table or ModuleContext. Query merging, stable ordering and pagination belong to the server.
|
|
9
|
+
*/
|
|
10
|
+
export interface RecordReadView<TRecord extends Record<string, unknown> = Record<string, unknown>> {
|
|
11
|
+
sourceId: string;
|
|
12
|
+
viewCode: string;
|
|
13
|
+
/** Change on authentication, tenant or authorization/range changes; this key grants no access. */
|
|
14
|
+
scopeKey: string;
|
|
15
|
+
descriptor: ResolvedModuleUiDescriptor;
|
|
16
|
+
/** Authorized query capabilities; absent for legacy adapters that only support quick search. */
|
|
17
|
+
querySchema?: QuerySchema;
|
|
18
|
+
/** Stable within this source, including the origin when multiple sources share record IDs. */
|
|
19
|
+
recordKey(record: TRecord): string;
|
|
20
|
+
query(request: WebQueryRequest, options: RecordReadRequestOptions): Promise<WebPageResponse<TRecord>>;
|
|
21
|
+
/** Reauthorize detail reads on the server. Omit when this projection has no detail surface. */
|
|
22
|
+
detail?: {
|
|
23
|
+
load(record: TRecord, options: RecordReadRequestOptions): Promise<Record<string, unknown>>;
|
|
24
|
+
title(record: TRecord): string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/** User-adjustable query input, never an authorization or mandatory business-scope declaration. */
|
|
28
|
+
export type RecordReadQuery = Omit<WebQueryRequest, 'page' | 'quickSearch' | 'unpaged'>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { WebPageResponse } from '../web-contracts/index';
|
|
3
|
+
import type { RecordReadQuery, RecordReadView } from './recordReadView';
|
|
4
|
+
/** One mounted view session; no cross-view or cross-principal cache of authorized results. */
|
|
5
|
+
export declare function useRecordReadSession<TRecord extends Record<string, unknown>>(options: {
|
|
6
|
+
view: MaybeRefOrGetter<RecordReadView<TRecord>>;
|
|
7
|
+
query?: MaybeRefOrGetter<RecordReadQuery | undefined>;
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
contentLanguage?: MaybeRefOrGetter<string | undefined>;
|
|
10
|
+
}): {
|
|
11
|
+
result: import("vue").ShallowRef<WebPageResponse<TRecord> | undefined, WebPageResponse<TRecord> | undefined>;
|
|
12
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
13
|
+
error: import("vue").ShallowRef<unknown, unknown>;
|
|
14
|
+
pageNum: import("vue").Ref<number, number>;
|
|
15
|
+
pageSize: import("vue").Ref<number, number>;
|
|
16
|
+
quickSearch: import("vue").Ref<string, string>;
|
|
17
|
+
selected: import("vue").ShallowRef<TRecord | undefined, TRecord | undefined>;
|
|
18
|
+
detail: import("vue").ShallowRef<Record<string, unknown> | undefined, Record<string, unknown> | undefined>;
|
|
19
|
+
detailLoading: import("vue").Ref<boolean, boolean>;
|
|
20
|
+
detailError: import("vue").ShallowRef<unknown, unknown>;
|
|
21
|
+
refresh: () => Promise<void>;
|
|
22
|
+
search: (keyword: string) => Promise<void>;
|
|
23
|
+
goPage: (value: number) => Promise<void>;
|
|
24
|
+
resizePage: (value: number) => Promise<void>;
|
|
25
|
+
select: (record: TRecord) => Promise<void>;
|
|
26
|
+
closeDetail: () => void;
|
|
27
|
+
};
|
|
@@ -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-DhaREttd.js";
|
|
2
|
+
import { Pr as n, Wr as r, Xa as i, Xr as a, _n as o, qr as s, zt as c } from "./platform-components-i2ONyZ8r.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 =
|
|
6
|
+
let f = i(), p = s({ moduleAlias: "platform.workflow.definition" }), m = n(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 = r({
|
|
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 ? r({
|
|
21
21
|
http: p.http,
|
|
22
22
|
language: f,
|
|
23
23
|
moduleAlias: "iam.organization",
|
|
@@ -30,14 +30,14 @@ function d(d) {
|
|
|
30
30
|
try {
|
|
31
31
|
await g.runtime.refreshTexts?.();
|
|
32
32
|
} catch (e) {
|
|
33
|
-
|
|
33
|
+
o(e, {
|
|
34
34
|
source: "workflow-design",
|
|
35
35
|
phase: "load"
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
let y = l(() =>
|
|
40
|
+
let y = l(() => a(g.runtime)), b = l(() => [...c(y.value?.uiDescriptor)].map(([e, t]) => ({
|
|
41
41
|
name: e,
|
|
42
42
|
label: t.label ?? e,
|
|
43
43
|
valueType: t.valueType,
|
|
@@ -47,7 +47,7 @@ function d(d) {
|
|
|
47
47
|
try {
|
|
48
48
|
await g.runtime.ready;
|
|
49
49
|
} catch (e) {
|
|
50
|
-
|
|
50
|
+
o(e, {
|
|
51
51
|
source: "workflow-design",
|
|
52
52
|
phase: "load"
|
|
53
53
|
});
|