@ximatai/muyun-web-app 0.26.11 → 0.26.13
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-UC4rH4Fn.js +16 -0
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +564 -0
- package/dist/LoginAuditLogView-Cjrp8MKX.js +16 -0
- package/dist/ModuleActionManagementView-Dkb35QXc.js +673 -0
- package/dist/ModuleGovernanceView-Dx43QvGf.js +28651 -0
- package/dist/RequestErrorLogView-WnGvMWiF.js +16 -0
- package/dist/RoleDetailWorkspaceView-DPDb_QOn.js +1397 -0
- package/dist/RuntimeLogView-BRl4ZDkU.js +330 -0
- package/dist/http-B0TC0pJB.js +157 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1938 -325
- package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +40 -0
- package/dist/platform-components-1cvOeHmo.js +17854 -0
- package/dist/platform-workbench-Cu14Xd9d.js +10299 -0
- package/dist/rolldown-runtime-DPVXH0ON.js +17 -0
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +0 -2
- package/dist/types/app/LoginView.vue.d.ts +1 -1
- package/dist/types/app/workbenchRouteSync.d.ts +10 -1
- package/dist/types/app/workbenchSessionTabs.d.ts +22 -0
- package/dist/types/app/workbenchStartup.d.ts +7 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -1
- package/dist/types/consumer/index.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2208 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +32 -5
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4431 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +11 -11
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
- package/dist/types/dynamic-page-runtime/childAggregateContext.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +81 -26
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +7 -4
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -3
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +4 -0
- package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1728 -0
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +18 -0
- package/dist/types/formula/FormulaRuntime.d.ts +6 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEntriesSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +16 -0
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +2 -0
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
- package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +24 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +15 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -3
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
- package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +54 -0
- package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +15 -3
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +11 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +3 -3
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/QueryGroupedSummary.vue.d.ts +21 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
- package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +9 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -4
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordExplorerCreateButton.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +16 -5
- package/dist/types/platform-components/RecordFieldLabel.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +24 -5
- package/dist/types/platform-components/RecordFormGrid.vue.d.ts +24 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +23 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -3
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +9 -3
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +15 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -3
- package/dist/types/platform-components/RecordQueryEnumFilter.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +12 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +120 -63
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +144 -0
- package/dist/types/platform-components/RecordRelationTable.vue.d.ts +62 -0
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +9 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -3
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +14 -3
- package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
- package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
- package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
- package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +48 -2
- package/dist/types/platform-components/managementExplorerContext.d.ts +11 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +20 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
- package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +3 -0
- package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
- package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +44 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +103 -0
- package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
- package/dist/types/platform-components/selectionRefresh.d.ts +9 -0
- package/dist/types/platform-components/sortPartitionKey.d.ts +5 -0
- package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
- package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
- package/dist/types/platform-components/userPickerModel.d.ts +45 -0
- package/dist/types/platform-components/userReferencePicker.d.ts +17 -0
- package/dist/types/platform-workbench/index.d.ts +2 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +5 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +5 -1
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewNavigation.d.ts +9 -0
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +5 -0
- package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
- package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
- package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
- package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
- package/dist/types/views/MetadataGovernanceSurface.vue.d.ts +8 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +44 -0
- package/dist/types/views/ModuleBusinessPreview.vue.d.ts +7 -0
- package/dist/types/views/ModuleExperienceProfileOverview.vue.d.ts +7 -0
- package/dist/types/views/ModuleGovernanceView.vue.d.ts +9 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +54 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +103 -0
- package/dist/types/views/PageCompositionWorkspace.vue.d.ts +7 -0
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +48 -0
- package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
- package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +85 -0
- package/dist/types/views/businessRuleGovernance.d.ts +201 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
- package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
- package/dist/types/views/metadataModelEditSession.d.ts +84 -0
- package/dist/types/views/metadataModelTree.d.ts +40 -0
- package/dist/types/views/metadataNaming.d.ts +7 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +161 -6
- package/dist/types/views/metadataSourceTree.d.ts +10 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +9 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +404 -0
- package/dist/types/views/pageCompositionDragPayload.d.ts +26 -0
- package/dist/types/views/pageCompositionMode.d.ts +86 -0
- package/dist/types/views/pageCompositionPlacement.d.ts +48 -0
- package/dist/types/views/pageCompositionTransport.d.ts +9 -0
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
- package/dist/types/views/roleGrantClient.d.ts +0 -1
- package/dist/types/views/runtimeLogClient.d.ts +12 -0
- package/dist/types/views/runtimeLogSse.d.ts +13 -0
- package/dist/types/views/usePageCompositionActionPreviewDrag.d.ts +41 -0
- package/dist/types/views/usePageCompositionPreviewDrag.d.ts +48 -0
- package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +6 -3
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +20 -2
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +28 -2
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +38 -1
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +62 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +63 -9
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +24 -2
- package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
- package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
- package/dist/types/vue-ui-antdv/index.d.ts +10 -1
- package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
- package/dist/types/vue-ui-antdv/types.d.ts +64 -0
- package/dist/types/vue-ui-antdv/useTreeLoader.d.ts +21 -0
- package/dist/types/vue-ui-antdv/useTreeMotion.d.ts +9 -0
- package/dist/types/vue-ui-antdv/useUiTreeDrag.d.ts +32 -0
- package/dist/types/web-contracts/index.d.ts +132 -12
- package/dist/types/web-core/http.d.ts +2 -0
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +29 -1
- package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +10 -5
- package/dist/types/web-core/module/staticModuleClient.d.ts +30 -3
- package/dist/workspaceViews-CCg6V0pr.js +3623 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-F_Bmfn9K.js +0 -661
- package/dist/ModuleActionManagementView-Db_3Twom.js +0 -597
- package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +0 -1369
- package/dist/platform-components-59b4qzUL.js +0 -12489
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
- package/dist/workspaceViews-BvV8mpML.js +0 -11149
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { StandardModulePageDescriptor } from '../web-contracts/index';
|
|
2
|
+
import { type QueryListRecord } from '../platform-components/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
descriptor: StandardModulePageDescriptor;
|
|
5
|
+
requireConfiguredPage?: boolean;
|
|
6
|
+
recordOnly?: {
|
|
7
|
+
recordId: string;
|
|
8
|
+
renderMode?: 'inline' | 'portal';
|
|
9
|
+
scope?: 'tab' | 'viewport';
|
|
10
|
+
};
|
|
11
|
+
/** Rebuilds only the frozen business session; the tenant controller stays mounted. */
|
|
12
|
+
reloadKey?: number;
|
|
13
|
+
};
|
|
14
|
+
declare function startBusinessSession(): void;
|
|
15
|
+
declare function refreshList(): void;
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
17
|
+
refreshList: typeof refreshList;
|
|
18
|
+
retry: typeof startBusinessSession;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"interaction-state-change": (state: {
|
|
21
|
+
editing: boolean;
|
|
22
|
+
busy: boolean;
|
|
23
|
+
dirty?: boolean;
|
|
24
|
+
}) => any;
|
|
25
|
+
"record-only-change": (mutation: {
|
|
26
|
+
type: "saved" | "deleted" | "unavailable";
|
|
27
|
+
record?: QueryListRecord;
|
|
28
|
+
}) => any;
|
|
29
|
+
"record-only-close": () => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
"onInteraction-state-change"?: ((state: {
|
|
32
|
+
editing: boolean;
|
|
33
|
+
busy: boolean;
|
|
34
|
+
dirty?: boolean;
|
|
35
|
+
}) => any) | undefined;
|
|
36
|
+
"onRecord-only-change"?: ((mutation: {
|
|
37
|
+
type: "saved" | "deleted" | "unavailable";
|
|
38
|
+
record?: QueryListRecord;
|
|
39
|
+
}) => any) | undefined;
|
|
40
|
+
"onRecord-only-close"?: (() => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
@@ -26,17 +26,17 @@ type __VLS_Props = {
|
|
|
26
26
|
formFieldPolicies?: readonly ModulePageFormFieldPolicy[];
|
|
27
27
|
};
|
|
28
28
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
30
29
|
"validity-change": (validity: {
|
|
31
30
|
valid: boolean;
|
|
32
31
|
}) => any;
|
|
32
|
+
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
33
33
|
"children-change": (relationField: string, records: QueryListRecord[]) => any;
|
|
34
34
|
"relations-validity-change": (valid: boolean) => any;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
-
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
37
36
|
"onValidity-change"?: ((validity: {
|
|
38
37
|
valid: boolean;
|
|
39
38
|
}) => any) | undefined;
|
|
39
|
+
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
40
40
|
"onChildren-change"?: ((relationField: string, records: QueryListRecord[]) => any) | undefined;
|
|
41
41
|
"onRelations-validity-change"?: ((valid: boolean) => any) | undefined;
|
|
42
42
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,36 +6,56 @@ type __VLS_Props = {
|
|
|
6
6
|
record?: QueryListRecord;
|
|
7
7
|
mode: 'create' | 'edit' | 'view';
|
|
8
8
|
saving?: boolean;
|
|
9
|
+
/** The action currently owning the shared detail-operation session. */
|
|
10
|
+
activeActionKey?: string;
|
|
9
11
|
detailLoading?: boolean;
|
|
10
12
|
detailLoadFailed?: boolean;
|
|
11
13
|
recycleBinActive?: boolean;
|
|
12
14
|
actions?: ModulePageRecordActionContribution[];
|
|
13
15
|
/** Server-resolved standard action blocks, intentionally separate from frontend extensions. */
|
|
14
16
|
configuredActions?: RecordActionItem[];
|
|
17
|
+
/** Actions placed in the platform-owned form operation region. */
|
|
18
|
+
formActions?: RecordActionItem[];
|
|
15
19
|
/** Custom record views retain their own operation model. */
|
|
16
20
|
showStandardViewActions?: boolean;
|
|
21
|
+
managedActions?: boolean;
|
|
22
|
+
/** A workspace is a secondary navigation action, not a business operation. */
|
|
23
|
+
workspaceAvailable?: boolean;
|
|
24
|
+
/** Tree cards may add a child from the selected parent. */
|
|
25
|
+
createChildAvailable?: boolean;
|
|
26
|
+
createChildDisabled?: boolean;
|
|
17
27
|
};
|
|
18
28
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
29
|
delete: () => any;
|
|
20
30
|
edit: () => any;
|
|
21
31
|
save: () => any;
|
|
22
32
|
cancel: () => any;
|
|
33
|
+
openWorkspace: () => any;
|
|
34
|
+
createChild: () => any;
|
|
23
35
|
detailAction: (action: RecordActionItem) => any;
|
|
24
36
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
37
|
onDelete?: (() => any) | undefined;
|
|
26
38
|
onEdit?: (() => any) | undefined;
|
|
27
39
|
onSave?: (() => any) | undefined;
|
|
28
40
|
onCancel?: (() => any) | undefined;
|
|
41
|
+
onOpenWorkspace?: (() => any) | undefined;
|
|
42
|
+
onCreateChild?: (() => any) | undefined;
|
|
29
43
|
onDetailAction?: ((action: RecordActionItem) => any) | undefined;
|
|
30
44
|
}>, {
|
|
31
45
|
record: QueryListRecord;
|
|
32
46
|
actions: ModulePageRecordActionContribution[];
|
|
33
47
|
saving: boolean;
|
|
48
|
+
activeActionKey: string;
|
|
34
49
|
detailLoading: boolean;
|
|
35
50
|
detailLoadFailed: boolean;
|
|
36
51
|
recycleBinActive: boolean;
|
|
37
52
|
configuredActions: RecordActionItem[];
|
|
53
|
+
formActions: RecordActionItem[];
|
|
38
54
|
showStandardViewActions: boolean;
|
|
55
|
+
managedActions: boolean;
|
|
56
|
+
workspaceAvailable: boolean;
|
|
57
|
+
createChildAvailable: boolean;
|
|
58
|
+
createChildDisabled: boolean;
|
|
39
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
60
|
declare const _default: typeof __VLS_export;
|
|
41
61
|
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type HttpClient } from '../web-core/index';
|
|
2
|
+
import { type ReferenceRecordDetailBrowserState, type ReferenceRecordDetailMutation } from '../platform-components/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
http?: HttpClient;
|
|
5
|
+
browser?: ReferenceRecordDetailBrowserState;
|
|
6
|
+
inlineAnchor?: boolean;
|
|
7
|
+
renderMode?: 'inline' | 'portal';
|
|
8
|
+
scope?: 'tab' | 'viewport';
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_10: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_10) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"record-change": (mutation: ReferenceRecordDetailMutation) => any;
|
|
16
|
+
"interaction-state-change": (state: {
|
|
17
|
+
editing: boolean;
|
|
18
|
+
busy: boolean;
|
|
19
|
+
dirty?: boolean;
|
|
20
|
+
}) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onRecord-change"?: ((mutation: ReferenceRecordDetailMutation) => any) | undefined;
|
|
23
|
+
"onInteraction-state-change"?: ((state: {
|
|
24
|
+
editing: boolean;
|
|
25
|
+
busy: boolean;
|
|
26
|
+
dirty?: boolean;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
scope: "tab" | "viewport";
|
|
30
|
+
http: HttpClient;
|
|
31
|
+
renderMode: "inline" | "portal";
|
|
32
|
+
browser: ReferenceRecordDetailBrowserState;
|
|
33
|
+
inlineAnchor: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { NavigatorSortViewState } from './composables/useNavigatorRuntime';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context: ModuleContext<unknown>;
|
|
5
|
+
title: string;
|
|
6
|
+
sort: NavigatorSortViewState;
|
|
7
|
+
createAvailable: boolean;
|
|
8
|
+
createDisabled?: boolean;
|
|
9
|
+
createDisabledReason?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
create: () => any;
|
|
13
|
+
"toggle-sorting": () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onCreate?: (() => any) | undefined;
|
|
16
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
createDisabled: boolean;
|
|
19
|
+
createDisabledReason: string;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { type QueryListRecord } from '../platform-components/index';
|
|
2
|
-
import type { RecordInlineAction
|
|
3
|
-
import type {
|
|
4
|
-
type
|
|
5
|
-
descriptor: ResolvedPageNavigatorLevelDescriptor;
|
|
6
|
-
context: ModuleContext<QueryListRecord>;
|
|
7
|
-
tree: boolean;
|
|
8
|
-
};
|
|
2
|
+
import type { RecordInlineAction } from '../web-contracts/index';
|
|
3
|
+
import type { NavigatorLevelRuntime, NavigatorSortViewState } from './composables/useNavigatorRuntime';
|
|
4
|
+
import type { ModulePageNavigatorTreeParentPolicy } from './modulePageEnhancements';
|
|
9
5
|
type __VLS_Props = {
|
|
10
6
|
level: NavigatorLevelRuntime;
|
|
11
7
|
selectedId?: string;
|
|
12
8
|
reloadKey: number;
|
|
13
9
|
keyword: string;
|
|
10
|
+
sort: NavigatorSortViewState;
|
|
14
11
|
externalQueryValues?: Record<string, unknown>;
|
|
15
12
|
navigatorHostModuleAlias: string;
|
|
16
13
|
/** Whether this navigator's upstream selection scope is available. */
|
|
@@ -20,29 +17,32 @@ type __VLS_Props = {
|
|
|
20
17
|
createDisabledReason?: string;
|
|
21
18
|
/** Human-readable context supplied by an upstream navigator selection. */
|
|
22
19
|
scopeSubtitle?: string;
|
|
20
|
+
treeParentPolicy?: ModulePageNavigatorTreeParentPolicy;
|
|
23
21
|
actionsOf?: (record: {
|
|
24
22
|
id?: string;
|
|
25
23
|
}) => RecordInlineAction[];
|
|
26
24
|
};
|
|
27
|
-
declare var
|
|
25
|
+
declare var __VLS_46: {};
|
|
28
26
|
type __VLS_Slots = {} & {
|
|
29
|
-
editor?: (props: typeof
|
|
27
|
+
editor?: (props: typeof __VLS_46) => any;
|
|
30
28
|
};
|
|
31
29
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
30
|
action: (action: RecordInlineAction, record: QueryListRecord) => any;
|
|
33
31
|
select: (record: QueryListRecord) => any;
|
|
34
32
|
create: () => any;
|
|
35
33
|
refresh: () => any;
|
|
36
|
-
deselect: () => any;
|
|
37
34
|
loaded: (records: QueryListRecord[]) => any;
|
|
35
|
+
deselect: () => any;
|
|
36
|
+
"toggle-sorting": () => any;
|
|
38
37
|
"update:keyword": (value: string) => any;
|
|
39
38
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
39
|
onAction?: ((action: RecordInlineAction, record: QueryListRecord) => any) | undefined;
|
|
41
40
|
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
42
41
|
onCreate?: (() => any) | undefined;
|
|
43
42
|
onRefresh?: (() => any) | undefined;
|
|
44
|
-
onDeselect?: (() => any) | undefined;
|
|
45
43
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
44
|
+
onDeselect?: (() => any) | undefined;
|
|
45
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
46
46
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
47
47
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -17,15 +17,15 @@ type __VLS_Props = {
|
|
|
17
17
|
fieldPolicies?: readonly ModulePageFormFieldPolicy[];
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
21
20
|
"validity-change": (validity: {
|
|
22
21
|
valid: boolean;
|
|
23
22
|
}) => any;
|
|
23
|
+
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
26
25
|
"onValidity-change"?: ((validity: {
|
|
27
26
|
valid: boolean;
|
|
28
27
|
}) => any) | undefined;
|
|
28
|
+
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
29
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type QueryListRecord } from '../platform-components/index';
|
|
2
|
+
import type { ModuleContext } from '../web-core/index';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context: ModuleContext<QueryListRecord>;
|
|
5
|
+
selectedId?: string;
|
|
6
|
+
reloadKey: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: (record: QueryListRecord) => any;
|
|
11
|
+
refresh: () => any;
|
|
12
|
+
loaded: (records: QueryListRecord[], initialFullResult: boolean, total?: number | undefined) => any;
|
|
13
|
+
deselect: () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
16
|
+
onRefresh?: (() => any) | undefined;
|
|
17
|
+
onLoaded?: ((records: QueryListRecord[], initialFullResult: boolean, total?: number | undefined) => any) | undefined;
|
|
18
|
+
onDeselect?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FormulaRecord } from '../formula/FormulaRuntime';
|
|
2
|
+
import type { ResolvedFormComputeRuleDescriptor, ResolvedModuleUiDescriptor } from '../web-contracts/index';
|
|
3
|
+
/**
|
|
4
|
+
* Resolves the page draft's embedded child arrays into the relation-code keys used by a
|
|
5
|
+
* server-issued FormulaProgram. The returned object is evaluation-only and must never become
|
|
6
|
+
* part of the persistence payload.
|
|
7
|
+
*/
|
|
8
|
+
export declare function childAggregateRows(draft: FormulaRecord, descriptor: ResolvedModuleUiDescriptor | undefined, unavailableRelationCodes?: ReadonlySet<string>): FormulaRecord | undefined;
|
|
9
|
+
/** Triggers only aggregate rules that read the child relation whose draft has changed. */
|
|
10
|
+
export declare function aggregateChildTriggers(relationField: string, descriptor: ResolvedModuleUiDescriptor | undefined, rules: readonly ResolvedFormComputeRuleDescriptor[] | undefined): string[];
|
|
11
|
+
export declare function aggregateChildRelationCodes(relationField: string, descriptor: ResolvedModuleUiDescriptor | undefined): string[];
|
|
@@ -9,5 +9,5 @@ export declare function useModulePageActions(): {
|
|
|
9
9
|
runEnhancementAction: <TContext>(contribution: {
|
|
10
10
|
key: string;
|
|
11
11
|
run(context: TContext): void | Promise<void>;
|
|
12
|
-
}, actionContext: TContext) => Promise<
|
|
12
|
+
}, actionContext: TContext) => Promise<boolean>;
|
|
13
13
|
};
|
|
@@ -17,6 +17,9 @@ export interface ModulePageDetailActionRuntimeOptions {
|
|
|
17
17
|
localEditValid?: Ref<boolean>;
|
|
18
18
|
presentSuccess(result: unknown, fallbackMessage: string, source: string): Promise<unknown> | unknown;
|
|
19
19
|
presentError(cause: unknown, source: string): void;
|
|
20
|
+
/** Reports a failed post-mutation detail read without treating the mutation itself as failed. */
|
|
21
|
+
reportRefreshFailure?(cause: unknown, source: string): void;
|
|
22
|
+
recordChanged?(record: QueryListRecord): void;
|
|
20
23
|
}
|
|
21
24
|
/**
|
|
22
25
|
* Runs server-issued detail action contracts and their typed local-edit forms.
|
|
@@ -39,10 +42,12 @@ export declare function useModulePageDetailActionRuntime(options: ModulePageDeta
|
|
|
39
42
|
localEditForm: NonNullable<PageBootstrapActionBlock["localEditForm"]>;
|
|
40
43
|
}) | undefined>;
|
|
41
44
|
localEditDraft: Ref<RecordFormRecord | undefined, RecordFormRecord | undefined>;
|
|
45
|
+
localEditDirty: import("vue").ComputedRef<boolean>;
|
|
42
46
|
localEditFields: import("vue").ComputedRef<Map<string, RecordFormFieldDescriptor>>;
|
|
43
47
|
handleConfiguredAction: (action: {
|
|
44
48
|
key?: string;
|
|
45
49
|
}) => boolean;
|
|
50
|
+
dismissLocalEdit: () => void;
|
|
46
51
|
submitLocalEdit: () => Promise<void>;
|
|
47
52
|
};
|
|
48
53
|
export {};
|