@ximatai/muyun-web-app 0.26.10 → 0.26.12
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/ModuleActionManagementView-BHEooZ5L.js +672 -0
- package/dist/ModuleGovernanceView-DB3TWlMy.js +28521 -0
- package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +1379 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1929 -351
- package/dist/moduleGovernanceWorkspaceView-C5pqJOEJ.js +40 -0
- package/dist/platform-workbench-DJj42YQP.js +22911 -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 +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +12 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +17 -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/childAggregateContext.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +82 -28
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +5 -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 +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +75 -1
- 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/recordMutationPayload.d.ts +3 -0
- package/dist/types/formula/FormulaRuntime.d.ts +9 -0
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts} +2 -2
- 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/RoleAccountGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -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 +9 -4
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- 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/QueryGroupedSummary.vue.d.ts +21 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -2
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -3
- 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 +21 -2
- 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/RecordMultiPicker.vue.d.ts +2 -2
- 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 +2 -2
- 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 +110 -64
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +124 -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/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +15 -4
- package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +20 -1
- 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/recordActionBarModel.d.ts +3 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +42 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- 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/staticTreeResourceModuleContext.d.ts +3 -3
- 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 +3 -0
- package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/{UserDetailRouteView.vue.d.ts → MetadataGovernanceSurface.vue.d.ts} +3 -3
- 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/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/businessRuleGovernance.d.ts +201 -0
- package/dist/types/views/metadataModelEditSession.d.ts +75 -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 +375 -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/roleGrantClient.d.ts +8 -5
- 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 +5 -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/UiSelect.vue.d.ts +5 -1
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- 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 +76 -3
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/index.d.ts +6 -1
- package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
- package/dist/types/vue-ui-antdv/types.d.ts +70 -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 +75 -8
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +15 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +7 -3
- package/dist/types/web-core/module/staticModuleClient.d.ts +29 -6
- package/dist/workspaceViews-DI_1vYX9.js +3518 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-BhtVwJII.js +0 -661
- package/dist/ModuleActionManagementView-DpZS-xAD.js +0 -597
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/platform-components-oRIsIoxu.js +0 -12371
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const __VLS_export: <Row extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
3
|
+
columns: {
|
|
4
|
+
fieldName: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
align?: string;
|
|
8
|
+
}[];
|
|
9
|
+
rows: Row[];
|
|
10
|
+
rowKey?: string;
|
|
11
|
+
selection?: boolean;
|
|
12
|
+
density?: "default" | "compact";
|
|
13
|
+
cellClass?: (row: Row, column: {
|
|
14
|
+
fieldName: string;
|
|
15
|
+
}) => string | undefined;
|
|
16
|
+
cellKey?: (row: Row, column: {
|
|
17
|
+
fieldName: string;
|
|
18
|
+
}) => string | number;
|
|
19
|
+
}> & (typeof globalThis extends {
|
|
20
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
21
|
+
} ? P : {});
|
|
22
|
+
expose: (exposed: {}) => void;
|
|
23
|
+
attrs: any;
|
|
24
|
+
slots: {
|
|
25
|
+
'selection-header'?: (props: {}) => any;
|
|
26
|
+
} & {
|
|
27
|
+
header?: (props: {
|
|
28
|
+
column: {
|
|
29
|
+
fieldName: string;
|
|
30
|
+
title?: string;
|
|
31
|
+
width?: number;
|
|
32
|
+
align?: string;
|
|
33
|
+
};
|
|
34
|
+
}) => any;
|
|
35
|
+
} & {
|
|
36
|
+
selection?: (props: {
|
|
37
|
+
row: Row;
|
|
38
|
+
}) => any;
|
|
39
|
+
} & {
|
|
40
|
+
cell?: (props: {
|
|
41
|
+
row: Row;
|
|
42
|
+
column: {
|
|
43
|
+
fieldName: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
width?: number;
|
|
46
|
+
align?: string;
|
|
47
|
+
};
|
|
48
|
+
}) => any;
|
|
49
|
+
} & {
|
|
50
|
+
empty?: (props: {}) => any;
|
|
51
|
+
};
|
|
52
|
+
emit: {};
|
|
53
|
+
}>) => import("vue").VNode & {
|
|
54
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
55
|
+
};
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} : {
|
|
61
|
+
[K in keyof T as K]: T[K];
|
|
62
|
+
}) & {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type RecordFormFieldState, type RecordFormRecord } from './recordFormFieldModel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
field: RecordFormFieldState;
|
|
4
|
+
record: RecordFormRecord;
|
|
5
|
+
text?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -12,12 +12,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
13
|
onChange?: ((enabled: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
showLabel: boolean;
|
|
17
|
+
disabledReason: string;
|
|
15
18
|
enabled: boolean;
|
|
16
19
|
size: "default" | "small";
|
|
17
|
-
disabled: boolean;
|
|
18
20
|
loading: boolean;
|
|
19
|
-
disabledReason: string;
|
|
20
|
-
showLabel: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
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,18 +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;
|
|
55
|
+
reloadKey: number;
|
|
46
56
|
emptyDescription: string;
|
|
47
57
|
navigatorHostModuleAlias: string;
|
|
48
58
|
navigatorTargetLevelKey: string;
|
|
59
|
+
externalQueryValues: Record<string, unknown>;
|
|
49
60
|
searchPlaceholder: string;
|
|
50
61
|
selectedId: string;
|
|
51
62
|
keyword: string;
|
|
@@ -54,13 +65,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
54
65
|
actionsOf: (record: TreeRecordBase) => UiRecordInlineAction[];
|
|
55
66
|
tagOf: (record: TreeRecordBase) => string | undefined;
|
|
56
67
|
mutedOf: (record: TreeRecordBase) => boolean;
|
|
57
|
-
|
|
58
|
-
externalQueryValues: Record<string, unknown>;
|
|
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,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,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[];
|
|
@@ -1,4 +1,6 @@
|
|
|
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';
|
|
@@ -17,9 +19,17 @@ export { default as EnabledSelect } from './EnabledSelect.vue';
|
|
|
17
19
|
export { default as ModuleActionButton } from './ModuleActionButton.vue';
|
|
18
20
|
export { default as ManagementWorkspace } from './ManagementWorkspace.vue';
|
|
19
21
|
export { default as ManagementExplorerColumn } from './ManagementExplorerColumn.vue';
|
|
22
|
+
export { default as ManagementPanelHeader } from './ManagementPanelHeader.vue';
|
|
23
|
+
export { reconcileSelectedKey, reconcileSelectedKeys } from './selectionRefresh';
|
|
20
24
|
export { MANAGEMENT_WORKSPACE_LAYOUT, listDetailWorkspaceMinWidth } from './managementWorkspaceLayout';
|
|
21
25
|
export { providePageLayout, usePageLayout } from './pageLayoutContext';
|
|
22
26
|
export { default as RecordActionBar } from './RecordActionBar.vue';
|
|
27
|
+
export { default as RecordQueryListSurface } from './RecordQueryListSurface.vue';
|
|
28
|
+
export { default as RecordQueryEnumFilter } from './RecordQueryEnumFilter.vue';
|
|
29
|
+
export { default as QueryGroupedSummary } from './QueryGroupedSummary.vue';
|
|
30
|
+
export { default as AdaptiveHeaderActionBar } from './AdaptiveHeaderActionBar.vue';
|
|
31
|
+
export type { HeaderActionItem } from './AdaptiveHeaderActionBar.vue';
|
|
32
|
+
export type { HeaderActionLevel } from './adaptiveHeaderActionLayout';
|
|
23
33
|
export { default as RecordContentSectionHeading } from './RecordContentSectionHeading.vue';
|
|
24
34
|
export { default as RecordDetailDrawer } from './RecordDetailDrawer.vue';
|
|
25
35
|
export type { DrawerPromotion } from './drawerPromotion';
|
|
@@ -37,8 +47,11 @@ export { default as RecordListExpansionSurface } from './RecordListExpansionSurf
|
|
|
37
47
|
export { default as UserSessionExpandedSubtable } from './UserSessionExpandedSubtable.vue';
|
|
38
48
|
export { userSessionBrowserTitle, userSessionPresenceDescription, userSessionPresenceTitle, userSessionTerminalTitle, } from './userSessionPresentation';
|
|
39
49
|
export { default as RecordExplorerPanel } from './RecordExplorerPanel.vue';
|
|
50
|
+
export { default as RecordExplorerCreateButton } from './RecordExplorerCreateButton.vue';
|
|
40
51
|
export type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
41
52
|
export { default as RecordFormFields } from './RecordFormFields.vue';
|
|
53
|
+
export { default as RecordFieldLabel } from './RecordFieldLabel.vue';
|
|
54
|
+
export { default as RecordFormGrid } from './RecordFormGrid.vue';
|
|
42
55
|
export { default as RecordFileReferenceTransfer } from './RecordFileReferenceTransfer.vue';
|
|
43
56
|
export { default as RecordListExplorer } from './RecordListExplorer.vue';
|
|
44
57
|
export { default as RecordMetaSection } from './RecordMetaSection.vue';
|
|
@@ -46,6 +59,7 @@ export { default as RecordModeDrawer } from './RecordModeDrawer.vue';
|
|
|
46
59
|
export { default as RecordPicker } from './RecordPicker.vue';
|
|
47
60
|
export { default as RecordMultiPicker } from './RecordMultiPicker.vue';
|
|
48
61
|
export { default as RecordQueryListPanel } from './RecordQueryListPanel.vue';
|
|
62
|
+
export { default as RecordQueryListCell } from './RecordQueryListCell.vue';
|
|
49
63
|
export { default as RecycleBinModeButton } from './RecycleBinModeButton.vue';
|
|
50
64
|
export { useRecycleBinExplorerMode, type RecycleBinExplorerMode, type RecycleBinExplorerModeOptions, } from './useRecycleBinExplorerMode';
|
|
51
65
|
export { default as RecordStatusSwitch } from './RecordStatusSwitch.vue';
|
|
@@ -67,13 +81,15 @@ export type { RecordActionItem, ResolvedRecordActionItem } from './recordActionB
|
|
|
67
81
|
export type { RecordDetailDisplayResolver, RecordDetailDisplayValue } from './recordDetailFieldModel';
|
|
68
82
|
export type { RecordListExplorerRecord } from './RecordListExplorer.vue';
|
|
69
83
|
export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './RecordQueryListPanel.vue';
|
|
84
|
+
export { resolveRecordQueryListColumns } from './recordQueryListColumnModel';
|
|
70
85
|
export type { RecordFormFieldDescriptor, RecordFormFieldFallback, RecordFormFieldPickerConfig, RecordFormFieldState, RecordFieldRenderer, RecordFormFieldValue, RecordFormRecord, } from './recordFormFieldModel';
|
|
71
86
|
export type { CrudRecordListBase } from './crudRecordListModel';
|
|
72
87
|
export { defaultCrudRecordListMatches, defaultCrudRecordListSubtitle, defaultCrudRecordListTitle, } from './crudRecordListModel';
|
|
73
|
-
export { resolveRecordActions } from './recordActionBarModel';
|
|
88
|
+
export { defaultActionIcon, mergeRecordActions, resolveRecordActions } from './recordActionBarModel';
|
|
74
89
|
export { normalizeRecordDraft } from './recordDraftNormalizer';
|
|
75
90
|
export { acceptedMediaTypes, appendUploadedFileReference, fileReferenceIds, issueFileReferenceUploadAccess, uploadedFileId, } from './fileReferenceTransfer';
|
|
76
91
|
export { resolveRecordDetailDisplayValue } from './recordDetailFieldModel';
|
|
92
|
+
export { loadOptionFieldItems } from './optionFieldOptionCache';
|
|
77
93
|
export { formatPlatformDateTime, resolveBrowserTimeZone } from './platformDateTime';
|
|
78
94
|
export { formatPlatformFileSize } from './platformFileSize';
|
|
79
95
|
export type { PlatformFileSizeDisplay, PlatformFileSizeOptions } from './platformFileSize';
|
|
@@ -97,3 +113,6 @@ export type { StaticCrudCardMode, StaticCrudConfirmAction, StaticCrudManagementO
|
|
|
97
113
|
export type { TreeRecordBase } from './treeRecordModel';
|
|
98
114
|
export type { ScopedTreeModuleContextOptions } from './scopedTreeModuleContext';
|
|
99
115
|
export type { StaticTreeResourceModuleContextOptions } from './staticTreeResourceModuleContext';
|
|
116
|
+
export { default as RecordRelationTable } from './RecordRelationTable.vue';
|
|
117
|
+
export { default as RecordRelationValue } from './RecordRelationValue.vue';
|
|
118
|
+
export { default as RecordPermissionDialog } from './RecordPermissionDialog.vue';
|
|
@@ -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): Promise<OptionItemDescriptor[]>;
|
|
@@ -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 {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { OptionItemDescriptor, QuerySchemaField, ResolvedViewDescriptor, ResolvedViewFieldDescriptor } from '../web-contracts/index';
|
|
2
|
+
import type { Component } from 'vue';
|
|
3
|
+
export type QueryListRecord = Record<string, unknown> & {
|
|
4
|
+
id?: string;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type RecordQueryListMode = 'normal' | 'recycleBin';
|
|
8
|
+
export type StandardCrudRowActionKey = 'view' | 'edit' | 'delete';
|
|
9
|
+
/**
|
|
10
|
+
* Source-neutral list-column projection consumed by the standard table shell.
|
|
11
|
+
* It deliberately carries presentation facts only; cell rendering remains the table's responsibility.
|
|
12
|
+
*/
|
|
13
|
+
export interface RecordQueryListColumn {
|
|
14
|
+
key: string;
|
|
15
|
+
title: string;
|
|
16
|
+
type?: 'text' | 'enabledStatus' | 'booleanStatus' | 'tagList' | 'datetime' | 'fileSize' | 'colorPicker';
|
|
17
|
+
booleanStatus?: ResolvedViewFieldDescriptor['booleanStatus'];
|
|
18
|
+
width?: string;
|
|
19
|
+
align?: 'left' | 'center' | 'right';
|
|
20
|
+
titleField?: string;
|
|
21
|
+
/** Only descriptor-declared option fields load a runtime option catalog. */
|
|
22
|
+
optionBinding?: boolean;
|
|
23
|
+
/** Dynamic child entity whose declared option binding owns this field. */
|
|
24
|
+
optionEntityAlias?: string;
|
|
25
|
+
/** Runtime dictionary/reference options used when the response has no title companion. */
|
|
26
|
+
optionItems?: OptionItemDescriptor[];
|
|
27
|
+
/** Maximum visible lines for text cells. Defaults to one line. */
|
|
28
|
+
maxDisplayLines?: number;
|
|
29
|
+
render?: (record: QueryListRecord) => string;
|
|
30
|
+
}
|
|
31
|
+
export interface RecordQueryListCellComponent {
|
|
32
|
+
key: string;
|
|
33
|
+
component: Component;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Compiles the source-neutral resolved list descriptor into the standard table's presentation model.
|
|
37
|
+
*
|
|
38
|
+
* `queryFields` is optional because descriptors normally carry their own value and option facts. It
|
|
39
|
+
* preserves the runtime list's compatibility fallback for older descriptors that still rely on the
|
|
40
|
+
* query schema for timestamp and option-title information.
|
|
41
|
+
*/
|
|
42
|
+
export declare function resolveRecordQueryListColumns(view: ResolvedViewDescriptor | undefined, queryFields?: readonly QuerySchemaField[]): RecordQueryListColumn[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RouteQueryValue } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext,
|
|
2
|
+
import type { ModuleContext, ModuleTreeClient } from '../web-core/index';
|
|
3
3
|
export interface ScopedTreeModuleContextOptions {
|
|
4
4
|
scopeFieldName: string;
|
|
5
5
|
scopeValue: string | undefined | (() => string | undefined);
|
|
@@ -18,4 +18,4 @@ export interface QueryScopedTreeModuleContextOptions {
|
|
|
18
18
|
}
|
|
19
19
|
export declare function createQueryScopedTreeModuleContext<TRecord>(context: ModuleContext<TRecord>, options: QueryScopedTreeModuleContextOptions): ModuleContext<TRecord>;
|
|
20
20
|
export declare function createScopedTreeModuleContext<TRecord>(context: ModuleContext<TRecord>, options: ScopedTreeModuleContextOptions): ModuleContext<TRecord>;
|
|
21
|
-
export declare function createScopedTreeClient<TRecord>(context: ModuleContext<TRecord>, options: ScopedTreeModuleContextOptions):
|
|
21
|
+
export declare function createScopedTreeClient<TRecord>(context: ModuleContext<TRecord>, options: ScopedTreeModuleContextOptions): ModuleTreeClient<TRecord>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reconciles a controlled selection with a freshly loaded collection.
|
|
3
|
+
*
|
|
4
|
+
* Platform components never infer a business fallback; callers supply it when their domain has
|
|
5
|
+
* one. The shared rule is simply that a still-present stable key keeps focus after refresh.
|
|
6
|
+
*/
|
|
7
|
+
export declare function reconcileSelectedKey<Key>(previous: Key | undefined, available: Iterable<Key>, fallback?: Key): Key | undefined;
|
|
8
|
+
/** Keeps only selected keys that are still present in the refreshed result set. */
|
|
9
|
+
export declare function reconcileSelectedKeys<Key>(previous: Iterable<Key>, available: Iterable<Key>): Key[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Encodes partition values without collapsing distinct persisted values such as null and "".
|
|
3
|
+
* JSON is used instead of a delimiter so values cannot collide through delimiter characters.
|
|
4
|
+
*/
|
|
5
|
+
export declare function sortPartitionKey(values: readonly unknown[]): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ModuleContext,
|
|
1
|
+
import type { ModuleContext, ModuleTreeClient } from '../web-core/index';
|
|
2
2
|
export interface StaticTreeResourceModuleContextOptions<TRecord> {
|
|
3
|
-
client?:
|
|
3
|
+
client?: ModuleTreeClient<TRecord>;
|
|
4
4
|
emptyQueryScopeName?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function createStaticTreeResourceModuleContext<TRecord, TContextRecord = unknown>(context: ModuleContext<TContextRecord>, options?: StaticTreeResourceModuleContextOptions<TRecord>): ModuleContext<TRecord>;
|
|
7
|
-
export declare function createEmptyStaticTreeClient<TRecord>(scopeName?: string):
|
|
7
|
+
export declare function createEmptyStaticTreeClient<TRecord>(scopeName?: string): ModuleTreeClient<TRecord>;
|
|
@@ -8,6 +8,8 @@ export type { OpenRouteOptions, WorkbenchNavigation, WorkbenchPageOpenResult } f
|
|
|
8
8
|
export { routeUrlWithOpenOptions } from './workbenchNavigation';
|
|
9
9
|
export { configureWorkspaceViewContributions, createWorkspaceViewDescriptor, createWorkspaceViewRegistry, dismissWorkspaceViewDescriptor, resolveWorkspaceView, } from './workspaceViews';
|
|
10
10
|
export { provideWorkspaceViewHost, useWorkspaceViewHost } from './workspaceViewHost';
|
|
11
|
+
export { useWorkspaceViewNavigation } from './workspaceViewNavigation';
|
|
12
|
+
export { useWorkspaceViewUnsavedState } from './useWorkspaceViewUnsavedState';
|
|
11
13
|
export { defineWorkspaceView } from './workspaceViewContract';
|
|
12
14
|
export type { ResolvedWorkspaceView, WorkspaceViewRegistry } from './workspaceViews';
|
|
13
15
|
export type { WorkspaceViewDefinition, WorkspaceViewInput, WorkspaceViewPresentation, WorkspaceDrawerProfile, } from './workspaceViewContract';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PageDescriptor, RouteQueryValue } from '../web-contracts/index';
|
|
1
|
+
import type { MenuRecord, MenuTreeNode, PageDescriptor, RouteQueryValue } from '../web-contracts/index';
|
|
2
2
|
export interface OpenRouteOptions {
|
|
3
3
|
/** Opens an independent internal tab instance without changing the public URL. */
|
|
4
4
|
newInstance?: boolean;
|
|
@@ -6,6 +6,10 @@ export interface OpenRouteOptions {
|
|
|
6
6
|
query?: Record<string, RouteQueryValue>;
|
|
7
7
|
}
|
|
8
8
|
export interface WorkbenchNavigation {
|
|
9
|
+
/** Reloads visible menus without resetting open pages or their edits. */
|
|
10
|
+
refreshMenus?(): Promise<MenuTreeNode[]>;
|
|
11
|
+
/** Uses the same navigation policy as clicking a sidebar menu. */
|
|
12
|
+
openMenu?(menu: MenuRecord): void;
|
|
9
13
|
openRoute(path: string, options?: OpenRouteOptions): WorkbenchPageOpenResult;
|
|
10
14
|
replaceRoute(path: string, options?: OpenRouteOptions): WorkbenchPageOpenResult;
|
|
11
15
|
closeCurrentTab(fallbackPath: string): WorkbenchPageOpenResult;
|
|
@@ -13,6 +13,11 @@ export interface WorkspaceViewDefinition<TInput extends WorkspaceViewInput> {
|
|
|
13
13
|
drawerProfile?: WorkspaceDrawerProfile;
|
|
14
14
|
routeTitle?: string;
|
|
15
15
|
titleOf(input: TInput): string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the input fields that identify one workbench tab. Other parsed
|
|
18
|
+
* input fields remain URL-restorable view state and can change in-place.
|
|
19
|
+
*/
|
|
20
|
+
tabIdentityParamsOf?(input: TInput): Record<string, RouteQueryValue>;
|
|
16
21
|
parentRouteQueryOf?(input: TInput): Record<string, RouteQueryValue>;
|
|
17
22
|
parse(query: Record<string, RouteQueryValue>): TInput | undefined;
|
|
18
23
|
presentations: readonly WorkspaceViewPresentation[];
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import type { RouteQueryValue } from '../web-contracts/index';
|
|
1
2
|
import type { WorkspaceViewPresentation } from './workspaceViewContract';
|
|
2
3
|
export interface WorkspaceViewHost {
|
|
3
4
|
presentation: WorkspaceViewPresentation;
|
|
4
5
|
setTitle(title: string): void;
|
|
6
|
+
/** Replaces URL-restorable state without creating another workbench tab. */
|
|
7
|
+
replaceQuery(query: Record<string, RouteQueryValue | undefined>): void;
|
|
8
|
+
/** Registers a local draft signal used only when the owning workbench tab closes. */
|
|
9
|
+
registerUnsavedState(source: string, isDirty: () => boolean): () => void;
|
|
5
10
|
dismiss(): void;
|
|
6
11
|
/** Closes the current independent workbench view. */
|
|
7
12
|
close(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RouteQueryValue } from '../web-contracts/index';
|
|
2
|
+
/**
|
|
3
|
+
* Updates navigation state owned by the current workspace view. The workbench
|
|
4
|
+
* replaces the current page descriptor, so this does not open another tab or
|
|
5
|
+
* add a browser-history entry.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useWorkspaceViewNavigation(): {
|
|
8
|
+
replaceQuery(query: Record<string, RouteQueryValue | undefined>): void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function registerWorkspaceViewUnsavedState(pageKey: string, source: string, isDirty: () => boolean): () => void;
|
|
2
|
+
export declare function workspaceViewUnsavedStateSources(pageKey: string): string[];
|
|
3
|
+
export declare function clearWorkspaceViewUnsavedState(pageKey: string): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type BusinessRuleFormulaCapability, type BusinessRuleFormulaCatalogEntry } from './businessRuleGovernance';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
moduleAlias: string;
|
|
4
|
+
moduleTitle?: string;
|
|
5
|
+
/** A server-supplied portable catalogue can replace the built-in capability descriptors. */
|
|
6
|
+
formulaCapabilities?: readonly (BusinessRuleFormulaCapability | BusinessRuleFormulaCatalogEntry)[];
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { UiDataTablePagination } from '../vue-ui-antdv/index';
|
|
1
2
|
import type { EmploymentSelectorItem } from '../web-contracts/index';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
rows: EmploymentSelectorItem[];
|
|
4
5
|
selectedIds?: Set<string>;
|
|
5
6
|
selectable?: boolean;
|
|
6
7
|
disabled?: boolean;
|
|
8
|
+
pagination?: false | UiDataTablePagination;
|
|
9
|
+
fillHeight?: boolean;
|
|
7
10
|
};
|
|
8
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
12
|
"update:selectedIds": (value: Set<string>) => any;
|
|
@@ -11,7 +14,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
14
|
"onUpdate:selectedIds"?: ((value: Set<string>) => any) | undefined;
|
|
12
15
|
}>, {
|
|
13
16
|
disabled: boolean;
|
|
17
|
+
pagination: false | UiDataTablePagination;
|
|
14
18
|
selectable: boolean;
|
|
19
|
+
fillHeight: boolean;
|
|
15
20
|
selectedIds: Set<string>;
|
|
16
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
22
|
declare const _default: typeof __VLS_export;
|
package/dist/types/views/{UserDetailRouteView.vue.d.ts → MetadataGovernanceSurface.vue.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type UserRouteAction } from './userManagementRouteState';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
title?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type UiTreeNode } from '../vue-ui-antdv/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodes: UiTreeNode[];
|
|
4
|
+
title?: string;
|
|
5
|
+
embedded?: boolean;
|
|
6
|
+
searchKeyword?: string;
|
|
7
|
+
showSystemFields?: boolean;
|
|
8
|
+
searchable?: boolean;
|
|
9
|
+
refreshDisabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
unavailable?: boolean;
|
|
12
|
+
unavailableDescription?: string;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_34: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_34) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
refresh: () => any;
|
|
20
|
+
"update:searchKeyword": (value: string) => any;
|
|
21
|
+
"update:showSystemFields": (value: boolean) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onRefresh?: (() => any) | undefined;
|
|
24
|
+
"onUpdate:searchKeyword"?: ((value: string) => any) | undefined;
|
|
25
|
+
"onUpdate:showSystemFields"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
title: string;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
unavailable: boolean;
|
|
30
|
+
embedded: boolean;
|
|
31
|
+
refreshDisabled: boolean;
|
|
32
|
+
searchKeyword: string;
|
|
33
|
+
searchable: boolean;
|
|
34
|
+
showSystemFields: boolean;
|
|
35
|
+
unavailableDescription: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|