@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,55 @@
|
|
|
1
|
+
import type { HttpClient } from '../web-core/index';
|
|
2
|
+
import { type ReferenceRecordDetailMutation, type ReferenceRecordDetailBrowser as ReferenceRecordDetailBrowserState } from './referenceRecordDetailBrowser';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
http?: HttpClient;
|
|
5
|
+
browser?: ReferenceRecordDetailBrowserState;
|
|
6
|
+
inlineAnchor?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function reportMutation(mutation: ReferenceRecordDetailMutation): void;
|
|
9
|
+
declare function setBusy(busy: boolean): void;
|
|
10
|
+
declare var __VLS_1: {}, __VLS_3: {
|
|
11
|
+
active: import("./referenceRecordDetailBrowser").ActiveReferenceRecord | undefined;
|
|
12
|
+
context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord> | undefined;
|
|
13
|
+
record: import("./recordQueryListColumnModel.ts").QueryListRecord | undefined;
|
|
14
|
+
reportMutation: typeof reportMutation;
|
|
15
|
+
setBusy: typeof setBusy;
|
|
16
|
+
close: () => void;
|
|
17
|
+
}, __VLS_14: {
|
|
18
|
+
context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord> | undefined;
|
|
19
|
+
record: import("./recordQueryListColumnModel.ts").QueryListRecord | undefined;
|
|
20
|
+
reportMutation: typeof reportMutation;
|
|
21
|
+
setBusy: typeof setBusy;
|
|
22
|
+
}, __VLS_31: {
|
|
23
|
+
context: import("../web-core/index").ModuleContext<import("./recordQueryListColumnModel.ts").QueryListRecord>;
|
|
24
|
+
record: import("./recordQueryListColumnModel.ts").QueryListRecord;
|
|
25
|
+
reportMutation: typeof reportMutation;
|
|
26
|
+
setBusy: typeof setBusy;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
default?: (props: typeof __VLS_1) => any;
|
|
30
|
+
} & {
|
|
31
|
+
'full-surface'?: (props: typeof __VLS_3) => any;
|
|
32
|
+
} & {
|
|
33
|
+
'header-actions'?: (props: typeof __VLS_14) => any;
|
|
34
|
+
} & {
|
|
35
|
+
detail?: (props: typeof __VLS_31) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
38
|
+
browser: ReferenceRecordDetailBrowserState;
|
|
39
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"record-change": (mutation: ReferenceRecordDetailMutation) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
|
+
"onRecord-change"?: ((mutation: ReferenceRecordDetailMutation) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
http: HttpClient;
|
|
45
|
+
browser: ReferenceRecordDetailBrowserState;
|
|
46
|
+
inlineAnchor: boolean;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ScopedTreePickerCandidate, type ScopedTreePickerProvider } from './scopedTreePickerModel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** The persisted target identity. The component never persists navigation scope IDs. */
|
|
4
|
+
value?: string;
|
|
5
|
+
provider: ScopedTreePickerProvider;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
searchPlaceholder?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** The host already renders its own compact trigger, so this component only contributes a dialog. */
|
|
11
|
+
inputHidden?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare function openPicker(value?: string): void;
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
15
|
+
open: typeof openPicker;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
select: (candidate: ScopedTreePickerCandidate | undefined) => any;
|
|
18
|
+
"update:value": (value: string | undefined) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onSelect?: ((candidate: ScopedTreePickerCandidate | undefined) => any) | undefined;
|
|
21
|
+
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
title: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
value: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
searchPlaceholder: string;
|
|
28
|
+
inputHidden: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
explorerTitle: string;
|
|
3
3
|
refreshTitle: string;
|
|
4
|
+
refreshable?: boolean;
|
|
4
5
|
mode: 'view' | 'edit' | 'create';
|
|
5
6
|
detailTitle: string;
|
|
6
7
|
mutedMessage?: string;
|
|
@@ -42,6 +43,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
42
43
|
onRefresh?: (() => any) | undefined;
|
|
43
44
|
"onUpdate:explorerSearchKeyword"?: ((keyword: string) => any) | undefined;
|
|
44
45
|
}>, {
|
|
46
|
+
refreshable: boolean;
|
|
45
47
|
mutedMessage: string;
|
|
46
48
|
explorerSearchKeyword: string;
|
|
47
49
|
explorerSearchPlaceholder: string;
|
|
@@ -25,6 +25,12 @@ type __VLS_Props = {
|
|
|
25
25
|
filterOption?: (record: TreeRecordBase, normalizedKeyword: string) => boolean;
|
|
26
26
|
tagOf?: (record: TreeRecordBase) => string | undefined;
|
|
27
27
|
mutedOf?: (record: TreeRecordBase) => boolean;
|
|
28
|
+
/** Optional business rule for nodes that may receive a dragged child. */
|
|
29
|
+
canDropInside?: (record: Readonly<Record<string, unknown>>) => boolean;
|
|
30
|
+
/** Resource-level partition metadata resolved by the page descriptor. */
|
|
31
|
+
sortPartitionFields?: string[];
|
|
32
|
+
/** Enables sibling ordering and parent changes through the module's standard tree sort contract. */
|
|
33
|
+
sorting?: boolean;
|
|
28
34
|
};
|
|
29
35
|
declare function openSearch(): void;
|
|
30
36
|
declare function toggleSearch(): void;
|
|
@@ -34,19 +40,23 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
34
40
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
41
|
action: (action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any;
|
|
36
42
|
select: (record: TreeRecordBase) => any;
|
|
37
|
-
deselect: () => any;
|
|
38
43
|
loaded: (records: TreeRecordBase[]) => any;
|
|
44
|
+
deselect: () => any;
|
|
45
|
+
sorted: () => any;
|
|
39
46
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
47
|
onAction?: ((action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any) | undefined;
|
|
41
48
|
onSelect?: ((record: TreeRecordBase) => any) | undefined;
|
|
42
|
-
onDeselect?: (() => any) | undefined;
|
|
43
49
|
onLoaded?: ((records: TreeRecordBase[]) => any) | undefined;
|
|
50
|
+
onDeselect?: (() => any) | undefined;
|
|
51
|
+
onSorted?: (() => any) | undefined;
|
|
44
52
|
}>, {
|
|
53
|
+
sortPartitionFields: string[];
|
|
45
54
|
filterOption: (record: TreeRecordBase, normalizedKeyword: string) => boolean;
|
|
46
55
|
reloadKey: number;
|
|
47
56
|
emptyDescription: string;
|
|
48
57
|
navigatorHostModuleAlias: string;
|
|
49
58
|
navigatorTargetLevelKey: string;
|
|
59
|
+
externalQueryValues: Record<string, unknown>;
|
|
50
60
|
searchPlaceholder: string;
|
|
51
61
|
selectedId: string;
|
|
52
62
|
keyword: string;
|
|
@@ -55,12 +65,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
55
65
|
actionsOf: (record: TreeRecordBase) => UiRecordInlineAction[];
|
|
56
66
|
tagOf: (record: TreeRecordBase) => string | undefined;
|
|
57
67
|
mutedOf: (record: TreeRecordBase) => boolean;
|
|
58
|
-
|
|
68
|
+
sorting: boolean;
|
|
59
69
|
loadingTip: string;
|
|
60
70
|
fallbackTitle: string;
|
|
61
71
|
searchMode: TreeRecordSearchMode;
|
|
62
72
|
searchTrigger: "inline" | "external";
|
|
63
73
|
secondaryOf: (record: TreeRecordBase) => string | undefined;
|
|
74
|
+
canDropInside: (record: Readonly<Record<string, unknown>>) => boolean;
|
|
64
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
65
76
|
declare const _default: typeof __VLS_export;
|
|
66
77
|
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ReferencePickerSourceIdentity, ReferencePickerValidity } from './referencePickerModel';
|
|
2
|
+
import type { UserAccountId, UserPickerCandidate, UserPickerPageSearch, UserPickerResolver } from './userPickerModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
value?: UserAccountId | readonly UserAccountId[];
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
maxSelection?: number;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
allowClear?: boolean;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
title?: string;
|
|
12
|
+
searchPlaceholder?: string;
|
|
13
|
+
emptyDescription?: string;
|
|
14
|
+
selectionNoun?: string;
|
|
15
|
+
reloadKey?: string | number;
|
|
16
|
+
/** A caller declares its source purpose; account target identity alone is never a cache scope. */
|
|
17
|
+
sourceIdentity?: ReferencePickerSourceIdentity;
|
|
18
|
+
searchPage: UserPickerPageSearch;
|
|
19
|
+
resolveUsers: UserPickerResolver;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
select: (users: UserPickerCandidate[]) => any;
|
|
23
|
+
"update:value": (value: string | string[] | undefined) => any;
|
|
24
|
+
"selection-resolved": (users: UserPickerCandidate[]) => any;
|
|
25
|
+
"validity-change": (validity: ReferencePickerValidity) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
onSelect?: ((users: UserPickerCandidate[]) => any) | undefined;
|
|
28
|
+
"onUpdate:value"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
29
|
+
"onSelection-resolved"?: ((users: UserPickerCandidate[]) => any) | undefined;
|
|
30
|
+
"onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
title: string;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
value: UserAccountId | readonly UserAccountId[];
|
|
35
|
+
placeholder: string;
|
|
36
|
+
allowClear: boolean;
|
|
37
|
+
multiple: boolean;
|
|
38
|
+
reloadKey: string | number;
|
|
39
|
+
emptyDescription: string;
|
|
40
|
+
pageSize: number;
|
|
41
|
+
searchPlaceholder: string;
|
|
42
|
+
maxSelection: number;
|
|
43
|
+
selectionNoun: string;
|
|
44
|
+
sourceIdentity: ReferencePickerSourceIdentity;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Business-facing action importance. The shell decides whether an action is
|
|
3
|
+
* rendered directly or collected under "更多"; callers never declare a UI
|
|
4
|
+
* placement.
|
|
5
|
+
*/
|
|
6
|
+
export type HeaderActionLevel = 'primary' | 'standard' | 'secondary';
|
|
7
|
+
export interface HeaderActionLayoutItem {
|
|
8
|
+
key: string;
|
|
9
|
+
level?: HeaderActionLevel;
|
|
10
|
+
width: number;
|
|
11
|
+
}
|
|
12
|
+
export interface HeaderActionLayout {
|
|
13
|
+
directKeys: string[];
|
|
14
|
+
overflowKeys: string[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Keeps actions direct while they fit, then withdraws actions one by one from
|
|
18
|
+
* low to high priority. Within one importance level, declaration order is the
|
|
19
|
+
* business tie-breaker: later actions enter “更多” first. This avoids hiding
|
|
20
|
+
* every standard action merely because one more standard action was added.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveHeaderActionLayout(actions: HeaderActionLayoutItem[], availableWidth: number, moreWidth: number, gap?: number): HeaderActionLayout;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Option, OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
export type DictionarySelectionMode = 'SINGLE' | 'MULTIPLE';
|
|
3
|
+
export type DictionaryOptionValue = string | string[] | undefined;
|
|
4
|
+
export interface DictionaryOptionTreeNode {
|
|
5
|
+
value: string;
|
|
6
|
+
title: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
children?: DictionaryOptionTreeNode[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Normalizes the persisted dictionary wire value. Dictionary values are always codes;
|
|
12
|
+
* titles are display facts and must never leak into the form draft.
|
|
13
|
+
*/
|
|
14
|
+
export declare function dictionaryOptionCodes(value: unknown, selectionMode: DictionarySelectionMode): string[];
|
|
15
|
+
export declare function dictionaryOptionValue(codes: readonly string[], selectionMode: DictionarySelectionMode): DictionaryOptionValue;
|
|
16
|
+
export declare function dictionaryOptionItemsToOptions(items: readonly OptionItemDescriptor[], keyword?: string): Option[];
|
|
17
|
+
/**
|
|
18
|
+
* Retains the parent/child relationship carried by `parentCode`. Missing parents are rendered
|
|
19
|
+
* as an explicit disabled structural node instead of silently promoting their children to roots.
|
|
20
|
+
*/
|
|
21
|
+
export declare function dictionaryOptionItemsToTree(items: readonly OptionItemDescriptor[], keyword?: string): DictionaryOptionTreeNode[];
|
|
22
|
+
/** Existing disabled values remain visible, but only enabled option codes can be newly added. */
|
|
23
|
+
export declare function selectableDictionaryCodes(requested: unknown, externalCodes: readonly string[], items: readonly OptionItemDescriptor[], selectionMode: DictionarySelectionMode): string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { IdentityPickerCandidate, IdentityPickerPage, IdentityPickerPageRequest, IdentityPickerPageSearch, IdentityPickerResolver } from './identityPickerModel';
|
|
2
|
+
/** A personnel master-data identity; it is intentionally distinct from a user account ID. */
|
|
3
|
+
export type EmployeeId = string;
|
|
4
|
+
export type EmployeePickerCandidate = IdentityPickerCandidate<EmployeeId>;
|
|
5
|
+
export type EmployeePickerPageRequest = IdentityPickerPageRequest;
|
|
6
|
+
export type EmployeePickerPage = IdentityPickerPage<EmployeeId>;
|
|
7
|
+
export type EmployeePickerPageSearch = IdentityPickerPageSearch<EmployeeId>;
|
|
8
|
+
export type EmployeePickerResolver = IdentityPickerResolver<EmployeeId>;
|
|
9
|
+
/**
|
|
10
|
+
* Source-owned employee delivery. Callers supply the authorized candidate
|
|
11
|
+
* scope; this UI boundary does not read IAM modules or infer tenant scope.
|
|
12
|
+
*/
|
|
13
|
+
export interface EmployeePickerConfig {
|
|
14
|
+
title?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
maxSelection?: number;
|
|
17
|
+
searchPage: EmployeePickerPageSearch;
|
|
18
|
+
resolveEmployees: EmployeePickerResolver;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { UiTokenInputToken } from '../vue-ui-antdv/index';
|
|
2
|
+
export interface FormulaExpressionField {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
valueType?: string;
|
|
6
|
+
available?: boolean;
|
|
7
|
+
unavailableReason?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface FormulaExpressionFunction {
|
|
10
|
+
name: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Produces decoration ranges only. The expression itself remains untouched and is
|
|
16
|
+
* deliberately not parsed: unfinished syntax and unknown text stay editable.
|
|
17
|
+
*/
|
|
18
|
+
export declare function formulaExpressionTokens(expression: string, fields: readonly FormulaExpressionField[], functions?: readonly FormulaExpressionFunction[]): UiTokenInputToken[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReferencePickerCandidate } from './referencePickerModel';
|
|
2
|
+
/** Identity aliases retain their distinct IDs while using the common display contract. */
|
|
3
|
+
export interface IdentityPickerCandidate<TId extends string> extends ReferencePickerCandidate {
|
|
4
|
+
id: TId;
|
|
5
|
+
}
|
|
6
|
+
export interface IdentityPickerPageRequest {
|
|
7
|
+
/** Provider-defined search text. The shared panel does not prescribe searchable fields. */
|
|
8
|
+
keyword: string;
|
|
9
|
+
pageNum: number;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
}
|
|
12
|
+
export interface IdentityPickerPage<TId extends string> {
|
|
13
|
+
records: IdentityPickerCandidate<TId>[];
|
|
14
|
+
total: number;
|
|
15
|
+
}
|
|
16
|
+
export type IdentityPickerPageSearch<TId extends string> = (request: IdentityPickerPageRequest) => Promise<IdentityPickerPage<TId>>;
|
|
17
|
+
/** Resolves persisted IDs through the same authorized candidate scope as the page search. */
|
|
18
|
+
export type IdentityPickerResolver<TId extends string> = (ids: TId[]) => Promise<IdentityPickerCandidate<TId>[]>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export {};
|
|
2
|
+
export { default as FormulaExpressionEditor } from './FormulaExpressionEditor.vue';
|
|
3
|
+
export type { FormulaExpressionField, FormulaExpressionFunction } from './formulaExpressionTokens';
|
|
2
4
|
export { default as ApplicationScopeSwitcher } from './ApplicationScopeSwitcher.vue';
|
|
3
5
|
export { default as BusinessNotificationPanel } from './BusinessNotificationPanel.vue';
|
|
4
6
|
export { confirmAction } from '../vue-ui-antdv/index';
|
|
5
7
|
export { UiModal } from '../vue-ui-antdv/index';
|
|
8
|
+
export { uiDrawerWidths as drawerWidths } from '../vue-ui-antdv/index';
|
|
9
|
+
export type { UiDrawerWidth as DrawerWidth } from '../vue-ui-antdv/index';
|
|
6
10
|
export { default as CrudRecordListExplorer } from './CrudRecordListExplorer.vue';
|
|
7
11
|
export { default as DrawerOperationBar } from './DrawerOperationBar.vue';
|
|
8
12
|
export { default as DrawerTitleActions } from './DrawerTitleActions.vue';
|
|
@@ -17,11 +21,23 @@ export { default as EnabledSelect } from './EnabledSelect.vue';
|
|
|
17
21
|
export { default as ModuleActionButton } from './ModuleActionButton.vue';
|
|
18
22
|
export { default as ManagementWorkspace } from './ManagementWorkspace.vue';
|
|
19
23
|
export { default as ManagementExplorerColumn } from './ManagementExplorerColumn.vue';
|
|
24
|
+
export { default as ManagementPanelHeader } from './ManagementPanelHeader.vue';
|
|
25
|
+
export { reconcileSelectedKey, reconcileSelectedKeys } from './selectionRefresh';
|
|
20
26
|
export { MANAGEMENT_WORKSPACE_LAYOUT, listDetailWorkspaceMinWidth } from './managementWorkspaceLayout';
|
|
21
27
|
export { providePageLayout, usePageLayout } from './pageLayoutContext';
|
|
22
28
|
export { default as RecordActionBar } from './RecordActionBar.vue';
|
|
29
|
+
export { default as RecordQueryListSurface } from './RecordQueryListSurface.vue';
|
|
30
|
+
export { default as RecordQueryEnumFilter } from './RecordQueryEnumFilter.vue';
|
|
31
|
+
export { default as QueryGroupedSummary } from './QueryGroupedSummary.vue';
|
|
32
|
+
export { default as AdaptiveHeaderActionBar } from './AdaptiveHeaderActionBar.vue';
|
|
33
|
+
export type { HeaderActionItem } from './AdaptiveHeaderActionBar.vue';
|
|
34
|
+
export type { HeaderActionLevel } from './adaptiveHeaderActionLayout';
|
|
23
35
|
export { default as RecordContentSectionHeading } from './RecordContentSectionHeading.vue';
|
|
24
36
|
export { default as RecordDetailDrawer } from './RecordDetailDrawer.vue';
|
|
37
|
+
export { default as ReferenceRecordDetailBrowser } from './ReferenceRecordDetailBrowser.vue';
|
|
38
|
+
export { default as ReadonlyReferenceValue } from './ReadonlyReferenceValue.vue';
|
|
39
|
+
export { createReferenceRecordDetailBrowser, provideReferenceRecordDetailBrowser, } from './referenceRecordDetailBrowser';
|
|
40
|
+
export type { ReferenceRecordDetailBrowser as ReferenceRecordDetailBrowserState, ReferenceRecordDetailMutation, } from './referenceRecordDetailBrowser';
|
|
25
41
|
export type { DrawerPromotion } from './drawerPromotion';
|
|
26
42
|
export { default as RecordExternalChangeNotice } from './RecordExternalChangeNotice.vue';
|
|
27
43
|
export { default as RecordDetailFields } from './RecordDetailFields.vue';
|
|
@@ -37,15 +53,38 @@ export { default as RecordListExpansionSurface } from './RecordListExpansionSurf
|
|
|
37
53
|
export { default as UserSessionExpandedSubtable } from './UserSessionExpandedSubtable.vue';
|
|
38
54
|
export { userSessionBrowserTitle, userSessionPresenceDescription, userSessionPresenceTitle, userSessionTerminalTitle, } from './userSessionPresentation';
|
|
39
55
|
export { default as RecordExplorerPanel } from './RecordExplorerPanel.vue';
|
|
56
|
+
export { default as RecordExplorerCreateButton } from './RecordExplorerCreateButton.vue';
|
|
40
57
|
export type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
41
58
|
export { default as RecordFormFields } from './RecordFormFields.vue';
|
|
59
|
+
export { default as DictionaryOptionDialog } from './DictionaryOptionDialog.vue';
|
|
60
|
+
export { default as DictionaryPicker } from './DictionaryPicker.vue';
|
|
61
|
+
export { default as DictionaryRadioGroup } from './DictionaryRadioGroup.vue';
|
|
62
|
+
export type { DictionaryOptionValue, DictionarySelectionMode } from './dictionaryOptionDialogModel';
|
|
63
|
+
export type { DictionaryPickerMode, DictionaryPickerValidity } from './DictionaryPicker.vue';
|
|
64
|
+
export { default as RecordFieldLabel } from './RecordFieldLabel.vue';
|
|
65
|
+
export { default as RecordFormGrid } from './RecordFormGrid.vue';
|
|
42
66
|
export { default as RecordFileReferenceTransfer } from './RecordFileReferenceTransfer.vue';
|
|
43
67
|
export { default as RecordListExplorer } from './RecordListExplorer.vue';
|
|
44
68
|
export { default as RecordMetaSection } from './RecordMetaSection.vue';
|
|
45
69
|
export { default as RecordModeDrawer } from './RecordModeDrawer.vue';
|
|
46
70
|
export { default as RecordPicker } from './RecordPicker.vue';
|
|
47
71
|
export { default as RecordMultiPicker } from './RecordMultiPicker.vue';
|
|
72
|
+
export { default as ReferencePicker } from './ReferencePicker.vue';
|
|
73
|
+
export { readonlyReferenceDisplay } from './readonlyReferenceDisplay';
|
|
74
|
+
export { createQueryReferencePickerProvider } from './queryReferencePickerProvider';
|
|
75
|
+
export { createSourceReferencePickerProvider, sourceReferencePickerReloadKey, } from './sourceReferencePickerProvider';
|
|
76
|
+
export { createUserReferencePickerProvider, userReferencePickerColumns } from './userReferencePicker';
|
|
77
|
+
export type { UserReferencePickerConfig } from './userReferencePicker';
|
|
78
|
+
export type { ReferencePickerAxisSelection, ReferencePickerBrowseScope, ReferencePickerCandidate, ReferencePickerColumn, ReferencePickerConfig, ReferencePickerId, ReferencePickerNavigationAxis, ReferencePickerNavigationItem, ReferencePickerPage, ReferencePickerPageRequest, ReferencePickerProvider, ReferencePickerSelectionSummary, ReferencePickerSourceIdentity, ReferencePickerTreeNode, ReferencePickerValidity, } from './referencePickerModel';
|
|
79
|
+
export { default as ObjectPickerInput } from './ObjectPickerInput.vue';
|
|
80
|
+
export { default as UserPicker } from './UserPicker.vue';
|
|
81
|
+
export { default as EmployeePicker } from './EmployeePicker.vue';
|
|
82
|
+
export { default as ScopedTreePicker } from './ScopedTreePicker.vue';
|
|
83
|
+
export type { UserAccountId, UserPickerCandidate, UserPickerPage, UserPickerPageRequest, UserPickerPageSearch, UserPickerResolver, UserPickerNavigation, UserPickerNavigationItem, UserPickerNavigationScope, } from './userPickerModel';
|
|
84
|
+
export type { EmployeeId, EmployeePickerCandidate, EmployeePickerConfig, EmployeePickerPage, EmployeePickerPageRequest, EmployeePickerPageSearch, EmployeePickerResolver, } from './employeePickerModel';
|
|
85
|
+
export type { ScopedTreePickerCandidate, ScopedTreePickerChildrenRequest, ScopedTreePickerConfig, ScopedTreePickerPage, ScopedTreePickerProvider, ScopedTreePickerRootRequest, } from './scopedTreePickerModel';
|
|
48
86
|
export { default as RecordQueryListPanel } from './RecordQueryListPanel.vue';
|
|
87
|
+
export { default as RecordQueryListCell } from './RecordQueryListCell.vue';
|
|
49
88
|
export { default as RecycleBinModeButton } from './RecycleBinModeButton.vue';
|
|
50
89
|
export { useRecycleBinExplorerMode, type RecycleBinExplorerMode, type RecycleBinExplorerModeOptions, } from './useRecycleBinExplorerMode';
|
|
51
90
|
export { default as RecordStatusSwitch } from './RecordStatusSwitch.vue';
|
|
@@ -67,13 +106,15 @@ export type { RecordActionItem, ResolvedRecordActionItem } from './recordActionB
|
|
|
67
106
|
export type { RecordDetailDisplayResolver, RecordDetailDisplayValue } from './recordDetailFieldModel';
|
|
68
107
|
export type { RecordListExplorerRecord } from './RecordListExplorer.vue';
|
|
69
108
|
export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './RecordQueryListPanel.vue';
|
|
109
|
+
export { resolveRecordQueryListColumns } from './recordQueryListColumnModel';
|
|
70
110
|
export type { RecordFormFieldDescriptor, RecordFormFieldFallback, RecordFormFieldPickerConfig, RecordFormFieldState, RecordFieldRenderer, RecordFormFieldValue, RecordFormRecord, } from './recordFormFieldModel';
|
|
71
111
|
export type { CrudRecordListBase } from './crudRecordListModel';
|
|
72
112
|
export { defaultCrudRecordListMatches, defaultCrudRecordListSubtitle, defaultCrudRecordListTitle, } from './crudRecordListModel';
|
|
73
|
-
export { mergeRecordActions, resolveRecordActions } from './recordActionBarModel';
|
|
113
|
+
export { defaultActionIcon, mergeRecordActions, resolveRecordActions } from './recordActionBarModel';
|
|
74
114
|
export { normalizeRecordDraft } from './recordDraftNormalizer';
|
|
75
115
|
export { acceptedMediaTypes, appendUploadedFileReference, fileReferenceIds, issueFileReferenceUploadAccess, uploadedFileId, } from './fileReferenceTransfer';
|
|
76
116
|
export { resolveRecordDetailDisplayValue } from './recordDetailFieldModel';
|
|
117
|
+
export { loadOptionFieldItems } from './optionFieldOptionCache';
|
|
77
118
|
export { formatPlatformDateTime, resolveBrowserTimeZone } from './platformDateTime';
|
|
78
119
|
export { formatPlatformFileSize } from './platformFileSize';
|
|
79
120
|
export type { PlatformFileSizeDisplay, PlatformFileSizeOptions } from './platformFileSize';
|
|
@@ -88,7 +129,7 @@ export { createPlatformActionResultReactionHandlers, mergePlatformActionResultRe
|
|
|
88
129
|
export type { PlatformActionResult, PlatformActionResultReaction, PlatformActionResultReactionHandler, PlatformActionResultReactionPayload, PlatformActionResultReactionType, PlatformActionResultStandardReactionHandlers, } from './platformActionResultReactions';
|
|
89
130
|
export type { PlatformActionResultFeedbackContext, PlatformActionResultHandlingContext, } from './platformActionResultFeedback';
|
|
90
131
|
export { executeStaticFormSave, executeStaticRecordAction } from './staticFormActionFlow';
|
|
91
|
-
export { applyRecordExternalChange, createRecordEditorSessionState } from './recordEditorSessionState';
|
|
132
|
+
export { applyRecordExternalChange, createRecordEditorSessionState, recordDraftFingerprint, } from './recordEditorSessionState';
|
|
92
133
|
export { useFlatCrudManagementState } from './staticCrudManagementState';
|
|
93
134
|
export type { PlatformActionErrorHandler, PlatformErrorFeedbackContext } from './platformErrorFeedback';
|
|
94
135
|
export type { StaticFormActionErrorContext, StaticFormActionErrorHandler, StaticFormSaveMode, StaticFormSaveOptions, StaticRecordActionOptions, } from './staticFormActionFlow';
|
|
@@ -97,3 +138,8 @@ export type { StaticCrudCardMode, StaticCrudConfirmAction, StaticCrudManagementO
|
|
|
97
138
|
export type { TreeRecordBase } from './treeRecordModel';
|
|
98
139
|
export type { ScopedTreeModuleContextOptions } from './scopedTreeModuleContext';
|
|
99
140
|
export type { StaticTreeResourceModuleContextOptions } from './staticTreeResourceModuleContext';
|
|
141
|
+
export { default as RecordRelationTable } from './RecordRelationTable.vue';
|
|
142
|
+
export { default as RecordRelationValue } from './RecordRelationValue.vue';
|
|
143
|
+
export { default as RecordPermissionDialog } from './RecordPermissionDialog.vue';
|
|
144
|
+
export { ReferencePickerReadError } from './referencePickerReadError';
|
|
145
|
+
export type { ReferencePickerReadErrorKind } from './referencePickerReadError';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Layout-only coordination between a management explorer column and its
|
|
4
|
+
* standard panel header. Business navigators keep their own selection state.
|
|
5
|
+
*/
|
|
6
|
+
export interface ManagementExplorerColumnContext {
|
|
7
|
+
collapsible: ComputedRef<boolean>;
|
|
8
|
+
collapsed: ComputedRef<boolean>;
|
|
9
|
+
collapse: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const MANAGEMENT_EXPLORER_COLUMN_CONTEXT: InjectionKey<ManagementExplorerColumnContext>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ComputedRef, type InjectionKey, type Ref } from 'vue';
|
|
2
|
+
export interface ManagementWorkspaceExplorerRegistration {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
hasSelection: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface ManagementWorkspaceContext {
|
|
8
|
+
registerExplorer: (registration: ManagementWorkspaceExplorerRegistration) => void;
|
|
9
|
+
unregisterExplorer: (id: string) => void;
|
|
10
|
+
isExplorerCollapsed: (id: string) => boolean;
|
|
11
|
+
toggleExplorer: (id: string) => void;
|
|
12
|
+
collapsedExplorerOffset: (id: string) => number;
|
|
13
|
+
hasCollapsedExplorers: ComputedRef<boolean>;
|
|
14
|
+
}
|
|
15
|
+
export declare const WORKSPACE_NAVIGATION_DISABLED: InjectionKey<ComputedRef<boolean>>;
|
|
16
|
+
export declare const MANAGEMENT_WORKSPACE_CONTEXT: InjectionKey<ManagementWorkspaceContext>;
|
|
17
|
+
export declare const WORKSPACE_SORTING_BUSY: InjectionKey<ComputedRef<boolean>>;
|
|
18
|
+
export declare const WORKSPACE_SORT_ACTIVITY: InjectionKey<(active: boolean) => void>;
|
|
19
|
+
/** Reports an actual sorting request, never the user's sorting toggle. */
|
|
20
|
+
export declare function useWorkspaceSortActivity(active: Ref<boolean>): void;
|
|
@@ -11,4 +11,18 @@ export declare const MANAGEMENT_WORKSPACE_LAYOUT: {
|
|
|
11
11
|
readonly detailMinWidth: 560;
|
|
12
12
|
readonly columnGap: 12;
|
|
13
13
|
};
|
|
14
|
+
/** Shared geometry for collapsible micro-list tabs and their left rail. */
|
|
15
|
+
export declare const MANAGEMENT_COLLAPSED_EXPLORER_LAYOUT: {
|
|
16
|
+
readonly railWidth: 36;
|
|
17
|
+
readonly tabPaddingBlockStart: 8;
|
|
18
|
+
readonly tabPaddingBlockEnd: 4;
|
|
19
|
+
readonly titleFontSize: 15;
|
|
20
|
+
readonly titleLineHeight: 18;
|
|
21
|
+
/** Visual glyph size; its accessible click target remains 22px. */
|
|
22
|
+
readonly iconSize: 14;
|
|
23
|
+
readonly iconHitArea: 22;
|
|
24
|
+
readonly tabContentGap: 8;
|
|
25
|
+
readonly tabStackGap: 8;
|
|
26
|
+
};
|
|
27
|
+
export declare function collapsedExplorerTabHeight(title: string): number;
|
|
14
28
|
export declare function listDetailWorkspaceMinWidth(explorerCount: number): number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
2
|
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
export declare function loadOptionFieldItems(context: ModuleContext<unknown>, fieldName: string): Promise<OptionItemDescriptor[]>;
|
|
3
|
+
export declare function loadOptionFieldItems(context: ModuleContext<unknown>, fieldName: string, entityAlias?: string, moduleAlias?: string, forceRefresh?: boolean): Promise<OptionItemDescriptor[]>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { QueryOperator } from '../web-contracts/index';
|
|
2
|
+
export interface QueryCriteriaConditionDraft {
|
|
3
|
+
kind: 'CONDITION';
|
|
4
|
+
id: number;
|
|
5
|
+
fieldName?: string;
|
|
6
|
+
operator?: QueryOperator;
|
|
7
|
+
values: unknown[];
|
|
8
|
+
}
|
|
9
|
+
export interface QueryCriteriaGroupDraft {
|
|
10
|
+
kind: 'GROUP';
|
|
11
|
+
id: number;
|
|
12
|
+
operator: 'AND' | 'OR';
|
|
13
|
+
children: QueryCriteriaDraftNode[];
|
|
14
|
+
}
|
|
15
|
+
export type QueryCriteriaDraftNode = QueryCriteriaConditionDraft | QueryCriteriaGroupDraft;
|
|
16
|
+
/**
|
|
17
|
+
* Mirrors the source-neutral execution limits in QueryCriteria. The server
|
|
18
|
+
* remains authoritative; keeping the limits here lets the composer identify
|
|
19
|
+
* the affected draft row before it sends a request that must be rejected.
|
|
20
|
+
*/
|
|
21
|
+
export declare const QUERY_CRITERIA_MAXIMUM_DEPTH = 4;
|
|
22
|
+
export declare const QUERY_CRITERIA_MAXIMUM_NODES = 50;
|
|
23
|
+
export declare const QUERY_CRITERIA_MAXIMUM_COLLECTION_VALUES = 100;
|
|
24
|
+
export declare function isValueLessQueryOperator(operator: QueryOperator | undefined): operator is "NULL" | "NOT_NULL" | "EMPTY" | "NOT_EMPTY";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { QuerySchemaReference } from '../web-contracts/index';
|
|
2
|
+
import { type HttpClient } from '../web-core/index';
|
|
3
|
+
import type { ReferencePickerProvider } from './referencePickerModel';
|
|
4
|
+
export interface QueryReferencePickerProviderOptions {
|
|
5
|
+
/**
|
|
6
|
+
* The HTTP client from the target's REFERENCE module context. The provider constructs its own
|
|
7
|
+
* navigation-only client instead of accepting an arbitrary context CRUD client.
|
|
8
|
+
*/
|
|
9
|
+
http: HttpClient;
|
|
10
|
+
reference: QuerySchemaReference;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Adapts a query schema's ordinary target reference to the shared picker contract.
|
|
14
|
+
*
|
|
15
|
+
* Query schemas deliberately have no source-field resolve contract or dependency semantics. The
|
|
16
|
+
* only permitted candidate transport here is the target module's REFERENCE navigator endpoint;
|
|
17
|
+
* this is intentionally different from both ordinary target CRUD and source-field resolution.
|
|
18
|
+
*/
|
|
19
|
+
export declare function createQueryReferencePickerProvider({ http, reference, }: QueryReferencePickerProviderOptions): ReferencePickerProvider;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ResolvedReferenceFieldDescriptor } from '../web-contracts/index';
|
|
2
|
+
export interface ReadonlyReferenceDisplayItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** Only a delivered, usable projection may enter the target-detail browser. */
|
|
6
|
+
browseable: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Formats only record-projected reference facts. It never resolves candidates: an absent title
|
|
10
|
+
* remains the persisted ID, which distinguishes an unavailable projection from a deleted or
|
|
11
|
+
* unauthorized target.
|
|
12
|
+
*/
|
|
13
|
+
export declare function readonlyReferenceDisplay(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown): string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Keeps the persisted reference order while retaining enough projection identity for the shared
|
|
16
|
+
* read-only browser. A raw ID intentionally remains non-interactive: it may be absent, deleted,
|
|
17
|
+
* or hidden by a target data scope.
|
|
18
|
+
*/
|
|
19
|
+
export declare function readonlyReferenceDisplayItems(reference: Pick<ResolvedReferenceFieldDescriptor, 'cardinality'>, value: unknown, summary: unknown): ReadonlyReferenceDisplayItem[];
|
|
@@ -14,6 +14,8 @@ export interface RecordActionItem {
|
|
|
14
14
|
disabledReason?: string;
|
|
15
15
|
loading?: boolean;
|
|
16
16
|
primary?: boolean;
|
|
17
|
+
/** Business importance; the detail shell decides direct display versus “更多”. */
|
|
18
|
+
actionLevel?: 'primary' | 'standard' | 'secondary';
|
|
17
19
|
danger?: boolean;
|
|
18
20
|
iconName?: UiIconName;
|
|
19
21
|
/** Runtime-only authorization source for actions rendered outside their owning module surface. */
|
|
@@ -34,5 +36,6 @@ type RecordActionContext = Pick<ModuleContext<unknown>, 'action'> & {
|
|
|
34
36
|
recordActionsSnapshot?: ModuleContext<unknown>['recordActionsSnapshot'];
|
|
35
37
|
};
|
|
36
38
|
export declare function resolveRecordActions(context: RecordActionContext, actions: RecordActionItem[], defaultLoading?: boolean, recordId?: string): ResolvedRecordActionItem[];
|
|
39
|
+
export declare function defaultActionIcon(action: RecordActionItem): UiIconName | undefined;
|
|
37
40
|
export declare function mergeRecordActions(baseActions: RecordActionItem[], extraActions: RecordActionItem[]): RecordActionItem[];
|
|
38
41
|
export {};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
1
2
|
import { type WebDataChange } from '../web-contracts/index';
|
|
3
|
+
/**
|
|
4
|
+
* Produces a stable value snapshot for a record draft. Editor sessions use it
|
|
5
|
+
* as a local baseline: returning every edited field to its starting value is
|
|
6
|
+
* not an unsaved change.
|
|
7
|
+
*/
|
|
8
|
+
export declare function recordDraftFingerprint(value: unknown): string;
|
|
2
9
|
export interface RecordEditorSessionOptions<TRecord, TMode extends string> {
|
|
3
10
|
viewMode: TMode;
|
|
4
11
|
createMode: TMode;
|
|
@@ -18,12 +25,12 @@ export interface RecordExternalChangeOptions {
|
|
|
18
25
|
changeTypes?: string[];
|
|
19
26
|
}
|
|
20
27
|
export declare function createRecordEditorSessionState<TRecord, TMode extends string>(options: RecordEditorSessionOptions<TRecord, TMode>): {
|
|
21
|
-
selected:
|
|
22
|
-
draft:
|
|
23
|
-
mode:
|
|
28
|
+
selected: Ref<TRecord | undefined, TRecord | undefined>;
|
|
29
|
+
draft: Ref<TRecord, TRecord>;
|
|
30
|
+
mode: Ref<TMode, TMode>;
|
|
24
31
|
readonly: import("vue").ComputedRef<boolean>;
|
|
25
32
|
externallyChanged: import("vue").ComputedRef<boolean>;
|
|
26
|
-
externalChangedRecordId:
|
|
33
|
+
externalChangedRecordId: Ref<string | undefined, string | undefined>;
|
|
27
34
|
select: (record: TRecord) => void;
|
|
28
35
|
replaceSelected: (record: TRecord | undefined) => void;
|
|
29
36
|
clearSelection: () => void;
|