@ximatai/muyun-web-app 0.26.13 → 0.26.15
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 → BusinessActivityLogView-DVzrZW1X.js} +1 -1
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
- package/dist/index.css +1 -1
- package/dist/index.js +562 -497
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
- package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
- package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +404 -12
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +9 -1
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/recycleBinState.d.ts +17 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +3 -0
- package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
- package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
- package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +22 -0
- package/dist/types/views/businessRuleGovernance.d.ts +7 -1
- package/dist/types/views/businessRuleSession.d.ts +63 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
- package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
- package/dist/types/views/metadataEditorSession.d.ts +652 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
- package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataModelEditSession.d.ts +26 -1
- package/dist/types/views/metadataNaming.d.ts +11 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
- package/dist/types/views/metadataWorkspace.d.ts +1316 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
- package/dist/types/views/pageCompositionComponents.d.ts +42 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +1 -1
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +37 -0
- package/dist/types/views/pageCompositionSession.d.ts +1341 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/web-contracts/assistant.d.ts +87 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
- package/dist/types/web-contracts/index.d.ts +33 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
- package/dist/types/web-core/assistantRuntime.d.ts +123 -0
- package/dist/types/web-core/assistantSurface.d.ts +162 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +2 -0
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +12 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +28 -0
- package/dist/types/web-core/operationErrors.d.ts +9 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
};
|
|
4
|
+
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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HttpClient } from '../../web-core/index';
|
|
1
|
+
import { type HttpClient, type ModuleRuntimeContext } from '../../web-core/index';
|
|
2
2
|
import type { MenuRecord, MenuScheme, MenuTreeNode } from '../../web-contracts/index';
|
|
3
3
|
import type { UiTreeSelectNode } from '../../vue-ui-antdv/index';
|
|
4
4
|
export interface MenuPlacement {
|
|
@@ -9,8 +9,12 @@ export interface MenuPlacement {
|
|
|
9
9
|
export declare function createModuleMenuClient(http: HttpClient): {
|
|
10
10
|
schemes(): Promise<MenuScheme[]>;
|
|
11
11
|
tree(schemeId: string): Promise<MenuTreeNode[]>;
|
|
12
|
-
|
|
12
|
+
context(moduleAlias: string): Promise<ModuleRuntimeContext>;
|
|
13
|
+
insert(schemeId: string, record: MenuRecord, requestId: string): Promise<import("../../web-core/index").StaticRecordMutationResult<MenuRecord>>;
|
|
14
|
+
view(schemeId: string, recordId: string): Promise<MenuRecord>;
|
|
15
|
+
receipt(schemeId: string, requestId: string): Promise<import("../../web-core/index").RecordSaveReceipt>;
|
|
13
16
|
visible: () => Promise<MenuTreeNode[]>;
|
|
14
17
|
};
|
|
18
|
+
export declare function menuSchemeScopeLabel(scheme?: MenuScheme): string;
|
|
15
19
|
export declare function menuPlacements(nodes: MenuTreeNode[], parentPath?: string): MenuPlacement[];
|
|
16
20
|
export declare function menuDirectoryOptions(nodes: MenuTreeNode[], parentDisabled?: boolean): UiTreeSelectNode[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type UserPreferenceStore } from '../../web-core/index';
|
|
2
|
+
import type { ModuleMenuReceiptStore } from './moduleMenuSession';
|
|
3
|
+
export type MenuReceiptPointerStorage = Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
|
|
4
|
+
/** Each request has its own account-owned reference; the original browser tab retains only its lookup pointer. */
|
|
5
|
+
export declare function createModuleMenuReceiptStore(identity: string, moduleAlias: string, valid: () => boolean, preferences?: UserPreferenceStore, pointerStorage?: MenuReceiptPointerStorage): ModuleMenuReceiptStore;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type OperationProposal, type ModuleRuntimeContext } from '../../web-core/index';
|
|
2
|
+
import type { MenuOpenMode, MenuRecord, MenuScheme, MenuTreeNode, OperationReceiptReference } from '../../web-contracts/index';
|
|
3
|
+
import { type MenuPlacement, type createModuleMenuClient } from './moduleMenuClient';
|
|
4
|
+
export type ModuleMenuClient = ReturnType<typeof createModuleMenuClient>;
|
|
5
|
+
export interface ModuleMenuRevision {
|
|
6
|
+
title?: string;
|
|
7
|
+
openMode?: MenuOpenMode;
|
|
8
|
+
schemeId?: string;
|
|
9
|
+
parentId?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ModuleMenuReceiptStore {
|
|
12
|
+
restore(): Promise<OperationReceiptReference | undefined>;
|
|
13
|
+
save(reference: OperationReceiptReference): Promise<void>;
|
|
14
|
+
clear(): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
/** One standard menu candidate and durable save identity, shared by all UI entry points. */
|
|
17
|
+
export declare function createModuleMenuSession(client: ModuleMenuClient, moduleAlias: string, scope: {
|
|
18
|
+
valid(): boolean;
|
|
19
|
+
active(): boolean;
|
|
20
|
+
}, receipts: ModuleMenuReceiptStore, refreshMenus?: () => Promise<MenuTreeNode[]>): {
|
|
21
|
+
moduleAlias: string;
|
|
22
|
+
revision: import("vue").Ref<number, number>;
|
|
23
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
24
|
+
updating: import("vue").Ref<boolean, boolean>;
|
|
25
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
26
|
+
error: import("vue").Ref<string, string>;
|
|
27
|
+
entryIssue: import("vue").Ref<string, string>;
|
|
28
|
+
title: import("vue").Ref<string, string>;
|
|
29
|
+
schemeId: import("vue").Ref<string, string>;
|
|
30
|
+
parentId: import("vue").Ref<string, string>;
|
|
31
|
+
openMode: import("vue").Ref<MenuOpenMode, MenuOpenMode>;
|
|
32
|
+
schemes: import("vue").ShallowRef<MenuScheme[], MenuScheme[]>;
|
|
33
|
+
tree: import("vue").ShallowRef<MenuTreeNode[], MenuTreeNode[]>;
|
|
34
|
+
options: import("vue").ComputedRef<MenuScheme[]>;
|
|
35
|
+
directories: import("vue").ComputedRef<MenuPlacement[]>;
|
|
36
|
+
saved: import("vue").ShallowRef<MenuRecord | undefined, MenuRecord | undefined>;
|
|
37
|
+
savedPath: import("vue").Ref<string, string>;
|
|
38
|
+
savedAudience: import("vue").Ref<string, string>;
|
|
39
|
+
visibleMenu: import("vue").ShallowRef<MenuRecord | undefined, MenuRecord | undefined>;
|
|
40
|
+
visibilityChecked: import("vue").Ref<boolean, boolean>;
|
|
41
|
+
authorized: import("vue").Ref<boolean, boolean>;
|
|
42
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
43
|
+
resultUnknown: import("vue").Ref<boolean, boolean>;
|
|
44
|
+
canSave: import("vue").ComputedRef<boolean>;
|
|
45
|
+
duplicate: import("vue").ComputedRef<MenuPlacement | undefined>;
|
|
46
|
+
load: () => Promise<void>;
|
|
47
|
+
update: (input: ModuleMenuRevision) => Promise<void>;
|
|
48
|
+
planRevision: (input: ModuleMenuRevision) => Promise<() => void>;
|
|
49
|
+
prepare: () => Promise<OperationProposal>;
|
|
50
|
+
lookupPending: () => Promise<{
|
|
51
|
+
title: string;
|
|
52
|
+
lines: string[];
|
|
53
|
+
} | undefined>;
|
|
54
|
+
refreshVisibility: () => Promise<void>;
|
|
55
|
+
startAnother(): Promise<void>;
|
|
56
|
+
dispose(): void;
|
|
57
|
+
invalidate(): void;
|
|
58
|
+
};
|
|
59
|
+
export type ModuleMenuSession = ReturnType<typeof createModuleMenuSession>;
|
|
60
|
+
export declare function availableDirectories(nodes: MenuTreeNode[]): MenuPlacement[];
|
|
61
|
+
export declare function moduleMenuEntryIssue(entry: ModuleRuntimeContext): "" | "该模块尚未配置页面地址,请返回模块补充。" | "该模块尚未配置链接地址,请返回模块补充。" | "该模块尚无可用业务页面,请先发布页面配置。";
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { type AssistantCapability, type AssistantInvocationToken, type HttpClient, type UserPreferenceStore } from '../../web-core/index';
|
|
2
|
+
import { type MenuReceiptPointerStorage } from './moduleMenuReceiptStore';
|
|
3
|
+
import { type ModuleMenuSession, type ModuleMenuRevision } from './moduleMenuSession';
|
|
4
|
+
import type { MenuTreeNode } from '../../web-contracts/index';
|
|
5
|
+
export declare function createModuleMenuWorkspace(http: HttpClient, identity: () => string, enabled: () => boolean, openEditor?: (alias: string) => void, onFocus?: () => void, refreshMenus?: () => Promise<MenuTreeNode[]>, preferences?: UserPreferenceStore, pointerStorage?: MenuReceiptPointerStorage): {
|
|
6
|
+
session: (alias: string) => {
|
|
7
|
+
moduleAlias: string;
|
|
8
|
+
revision: import("vue").Ref<number, number>;
|
|
9
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
10
|
+
updating: import("vue").Ref<boolean, boolean>;
|
|
11
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
12
|
+
error: import("vue").Ref<string, string>;
|
|
13
|
+
entryIssue: import("vue").Ref<string, string>;
|
|
14
|
+
title: import("vue").Ref<string, string>;
|
|
15
|
+
schemeId: import("vue").Ref<string, string>;
|
|
16
|
+
parentId: import("vue").Ref<string, string>;
|
|
17
|
+
openMode: import("vue").Ref<import("../../web-contracts/index").MenuOpenMode, import("../../web-contracts/index").MenuOpenMode>;
|
|
18
|
+
schemes: import("vue").ShallowRef<import("../../web-contracts/index").MenuScheme[], import("../../web-contracts/index").MenuScheme[]>;
|
|
19
|
+
tree: import("vue").ShallowRef<MenuTreeNode[], MenuTreeNode[]>;
|
|
20
|
+
options: import("vue").ComputedRef<import("../../web-contracts/index").MenuScheme[]>;
|
|
21
|
+
directories: import("vue").ComputedRef<import("./moduleMenuClient").MenuPlacement[]>;
|
|
22
|
+
saved: import("vue").ShallowRef<import("../../web-contracts/index").MenuRecord | undefined, import("../../web-contracts/index").MenuRecord | undefined>;
|
|
23
|
+
savedPath: import("vue").Ref<string, string>;
|
|
24
|
+
savedAudience: import("vue").Ref<string, string>;
|
|
25
|
+
visibleMenu: import("vue").ShallowRef<import("../../web-contracts/index").MenuRecord | undefined, import("../../web-contracts/index").MenuRecord | undefined>;
|
|
26
|
+
visibilityChecked: import("vue").Ref<boolean, boolean>;
|
|
27
|
+
authorized: import("vue").Ref<boolean, boolean>;
|
|
28
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
29
|
+
resultUnknown: import("vue").Ref<boolean, boolean>;
|
|
30
|
+
canSave: import("vue").ComputedRef<boolean>;
|
|
31
|
+
duplicate: import("vue").ComputedRef<import("./moduleMenuClient").MenuPlacement | undefined>;
|
|
32
|
+
load: () => Promise<void>;
|
|
33
|
+
update: (input: ModuleMenuRevision) => Promise<void>;
|
|
34
|
+
planRevision: (input: ModuleMenuRevision) => Promise<() => void>;
|
|
35
|
+
prepare: () => Promise<import("../../web-core/index").OperationProposal>;
|
|
36
|
+
lookupPending: () => Promise<{
|
|
37
|
+
title: string;
|
|
38
|
+
lines: string[];
|
|
39
|
+
} | undefined>;
|
|
40
|
+
refreshVisibility: () => Promise<void>;
|
|
41
|
+
startAnother(): Promise<void>;
|
|
42
|
+
dispose(): void;
|
|
43
|
+
invalidate(): void;
|
|
44
|
+
};
|
|
45
|
+
focus: (value: ModuleMenuSession) => void;
|
|
46
|
+
clearFocus: () => void;
|
|
47
|
+
dispose: () => void;
|
|
48
|
+
showEditor(value: ModuleMenuSession): void;
|
|
49
|
+
hideEditor(value: ModuleMenuSession): void;
|
|
50
|
+
editor(): {
|
|
51
|
+
moduleAlias: string;
|
|
52
|
+
title: string;
|
|
53
|
+
hasUnsavedChanges: boolean;
|
|
54
|
+
visible: boolean;
|
|
55
|
+
open: (() => void) | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
current(): {
|
|
58
|
+
revision: string;
|
|
59
|
+
facts: {
|
|
60
|
+
menuConfiguration: {
|
|
61
|
+
moduleAlias: string;
|
|
62
|
+
title: string;
|
|
63
|
+
scheme: string | undefined;
|
|
64
|
+
scopeType: import("../../web-contracts/index").MenuScopeType | undefined;
|
|
65
|
+
audience: string;
|
|
66
|
+
position: string;
|
|
67
|
+
openMode: import("../../web-contracts/index").MenuOpenMode;
|
|
68
|
+
saved: boolean;
|
|
69
|
+
visibility: string | boolean;
|
|
70
|
+
resultUnknown: boolean;
|
|
71
|
+
ready: boolean;
|
|
72
|
+
entryIssue: string;
|
|
73
|
+
} | undefined;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
describe: () => {
|
|
77
|
+
moduleAlias: string;
|
|
78
|
+
title: string;
|
|
79
|
+
scheme: string | undefined;
|
|
80
|
+
scopeType: import("../../web-contracts/index").MenuScopeType | undefined;
|
|
81
|
+
audience: string;
|
|
82
|
+
position: string;
|
|
83
|
+
openMode: import("../../web-contracts/index").MenuOpenMode;
|
|
84
|
+
saved: boolean;
|
|
85
|
+
visibility: string | boolean;
|
|
86
|
+
resultUnknown: boolean;
|
|
87
|
+
ready: boolean;
|
|
88
|
+
entryIssue: string;
|
|
89
|
+
} | undefined;
|
|
90
|
+
capabilities(settle?: (signal?: AbortSignal) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
91
|
+
};
|
|
92
|
+
export type ModuleMenuWorkspace = ReturnType<typeof createModuleMenuWorkspace>;
|
|
93
|
+
export declare function provideModuleMenuWorkspace(value: ModuleMenuWorkspace): void;
|
|
94
|
+
export declare function useModuleMenuWorkspace(): {
|
|
95
|
+
session: (alias: string) => {
|
|
96
|
+
moduleAlias: string;
|
|
97
|
+
revision: import("vue").Ref<number, number>;
|
|
98
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
99
|
+
updating: import("vue").Ref<boolean, boolean>;
|
|
100
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
101
|
+
error: import("vue").Ref<string, string>;
|
|
102
|
+
entryIssue: import("vue").Ref<string, string>;
|
|
103
|
+
title: import("vue").Ref<string, string>;
|
|
104
|
+
schemeId: import("vue").Ref<string, string>;
|
|
105
|
+
parentId: import("vue").Ref<string, string>;
|
|
106
|
+
openMode: import("vue").Ref<import("../../web-contracts/index").MenuOpenMode, import("../../web-contracts/index").MenuOpenMode>;
|
|
107
|
+
schemes: import("vue").ShallowRef<import("../../web-contracts/index").MenuScheme[], import("../../web-contracts/index").MenuScheme[]>;
|
|
108
|
+
tree: import("vue").ShallowRef<MenuTreeNode[], MenuTreeNode[]>;
|
|
109
|
+
options: import("vue").ComputedRef<import("../../web-contracts/index").MenuScheme[]>;
|
|
110
|
+
directories: import("vue").ComputedRef<import("./moduleMenuClient").MenuPlacement[]>;
|
|
111
|
+
saved: import("vue").ShallowRef<import("../../web-contracts/index").MenuRecord | undefined, import("../../web-contracts/index").MenuRecord | undefined>;
|
|
112
|
+
savedPath: import("vue").Ref<string, string>;
|
|
113
|
+
savedAudience: import("vue").Ref<string, string>;
|
|
114
|
+
visibleMenu: import("vue").ShallowRef<import("../../web-contracts/index").MenuRecord | undefined, import("../../web-contracts/index").MenuRecord | undefined>;
|
|
115
|
+
visibilityChecked: import("vue").Ref<boolean, boolean>;
|
|
116
|
+
authorized: import("vue").Ref<boolean, boolean>;
|
|
117
|
+
ready: import("vue").Ref<boolean, boolean>;
|
|
118
|
+
resultUnknown: import("vue").Ref<boolean, boolean>;
|
|
119
|
+
canSave: import("vue").ComputedRef<boolean>;
|
|
120
|
+
duplicate: import("vue").ComputedRef<import("./moduleMenuClient").MenuPlacement | undefined>;
|
|
121
|
+
load: () => Promise<void>;
|
|
122
|
+
update: (input: ModuleMenuRevision) => Promise<void>;
|
|
123
|
+
planRevision: (input: ModuleMenuRevision) => Promise<() => void>;
|
|
124
|
+
prepare: () => Promise<import("../../web-core/index").OperationProposal>;
|
|
125
|
+
lookupPending: () => Promise<{
|
|
126
|
+
title: string;
|
|
127
|
+
lines: string[];
|
|
128
|
+
} | undefined>;
|
|
129
|
+
refreshVisibility: () => Promise<void>;
|
|
130
|
+
startAnother(): Promise<void>;
|
|
131
|
+
dispose(): void;
|
|
132
|
+
invalidate(): void;
|
|
133
|
+
};
|
|
134
|
+
focus: (value: ModuleMenuSession) => void;
|
|
135
|
+
clearFocus: () => void;
|
|
136
|
+
dispose: () => void;
|
|
137
|
+
showEditor(value: ModuleMenuSession): void;
|
|
138
|
+
hideEditor(value: ModuleMenuSession): void;
|
|
139
|
+
editor(): {
|
|
140
|
+
moduleAlias: string;
|
|
141
|
+
title: string;
|
|
142
|
+
hasUnsavedChanges: boolean;
|
|
143
|
+
visible: boolean;
|
|
144
|
+
open: (() => void) | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
current(): {
|
|
147
|
+
revision: string;
|
|
148
|
+
facts: {
|
|
149
|
+
menuConfiguration: {
|
|
150
|
+
moduleAlias: string;
|
|
151
|
+
title: string;
|
|
152
|
+
scheme: string | undefined;
|
|
153
|
+
scopeType: import("../../web-contracts/index").MenuScopeType | undefined;
|
|
154
|
+
audience: string;
|
|
155
|
+
position: string;
|
|
156
|
+
openMode: import("../../web-contracts/index").MenuOpenMode;
|
|
157
|
+
saved: boolean;
|
|
158
|
+
visibility: string | boolean;
|
|
159
|
+
resultUnknown: boolean;
|
|
160
|
+
ready: boolean;
|
|
161
|
+
entryIssue: string;
|
|
162
|
+
} | undefined;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
describe: () => {
|
|
166
|
+
moduleAlias: string;
|
|
167
|
+
title: string;
|
|
168
|
+
scheme: string | undefined;
|
|
169
|
+
scopeType: import("../../web-contracts/index").MenuScopeType | undefined;
|
|
170
|
+
audience: string;
|
|
171
|
+
position: string;
|
|
172
|
+
openMode: import("../../web-contracts/index").MenuOpenMode;
|
|
173
|
+
saved: boolean;
|
|
174
|
+
visibility: string | boolean;
|
|
175
|
+
resultUnknown: boolean;
|
|
176
|
+
ready: boolean;
|
|
177
|
+
entryIssue: string;
|
|
178
|
+
} | undefined;
|
|
179
|
+
capabilities(settle?: (signal?: AbortSignal) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
180
|
+
} | undefined;
|
|
@@ -11,7 +11,7 @@ export declare function replaceWorkspaceViewSession<TInput extends WorkspaceView
|
|
|
11
11
|
* otherwise stores it for the target that is about to mount. A recipient can
|
|
12
12
|
* reject the delivery when it owns conflicting, unsaved state.
|
|
13
13
|
*/
|
|
14
|
-
export declare function handOffWorkspaceViewSession<TInput extends WorkspaceViewInput, TSession>(view: WorkspaceViewDefinition<TInput>, input: TInput, session: TSession): Promise<"
|
|
14
|
+
export declare function handOffWorkspaceViewSession<TInput extends WorkspaceViewInput, TSession>(view: WorkspaceViewDefinition<TInput>, input: TInput, session: TSession): Promise<"rejected" | "accepted">;
|
|
15
15
|
/** Registers the mounted host that can receive a hand-off for one stable workspace identity. */
|
|
16
16
|
export declare function registerWorkspaceViewHandoffRecipient<TInput extends WorkspaceViewInput, TSession>(view: WorkspaceViewDefinition<TInput>, input: TInput, recipient: WorkspaceViewHandoffRecipient<TSession>): () => void;
|
|
17
17
|
/** Consumes a one-time hand-off session; later deep links reload from the URL. */
|
|
@@ -2,6 +2,7 @@ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
|
|
|
2
2
|
import { type ModuleContext } from '../web-core/index';
|
|
3
3
|
import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
4
4
|
import { type CrudRecordListBase } from './crudRecordListModel';
|
|
5
|
+
import type { RecordQueryListQueryController } from './recordQueryListQueryController';
|
|
5
6
|
export type CrudRecordListMode = 'normal' | 'recycleBin';
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
context: ModuleContext<CrudRecordListBase>;
|
|
@@ -14,8 +15,7 @@ type __VLS_Props = {
|
|
|
14
15
|
externalQueryValues?: Record<string, unknown>;
|
|
15
16
|
navigatorHostModuleAlias?: string;
|
|
16
17
|
navigatorTargetLevelKey?: string;
|
|
17
|
-
/**
|
|
18
|
-
quickSearch?: string;
|
|
18
|
+
/** Searches the complete authorized result through the standard server query contract. */
|
|
19
19
|
keyword?: string;
|
|
20
20
|
emptyDescription?: string;
|
|
21
21
|
loadingTip?: string;
|
|
@@ -24,35 +24,38 @@ type __VLS_Props = {
|
|
|
24
24
|
subtitleOf?: (record: CrudRecordListBase) => string | undefined;
|
|
25
25
|
itemOf?: (record: CrudRecordListBase) => RecordExplorerItemDescriptor | undefined;
|
|
26
26
|
actionsOf?: (record: CrudRecordListBase) => UiRecordInlineAction[];
|
|
27
|
-
filterOption?: (record: CrudRecordListBase, normalizedKeyword: string) => boolean;
|
|
28
27
|
tagOf?: (record: CrudRecordListBase) => string | undefined;
|
|
29
28
|
mutedOf?: (record: CrudRecordListBase) => boolean;
|
|
30
29
|
mode?: CrudRecordListMode;
|
|
31
30
|
/** Enables standard flat-list drag ordering when the result is unfiltered. */
|
|
32
31
|
sorting?: boolean;
|
|
32
|
+
/** Exposes the rendered explorer search through the standard assistant query port. */
|
|
33
|
+
queryQuickSearchEnabled?: boolean;
|
|
33
34
|
};
|
|
34
35
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
-
action: (action: import("../web-contracts/index
|
|
36
|
+
action: (action: import("../web-contracts/index").RecordInlineAction, record: CrudRecordListBase) => any;
|
|
36
37
|
select: (record: CrudRecordListBase) => any;
|
|
37
38
|
loaded: (records: CrudRecordListBase[], total?: number | undefined) => any;
|
|
38
39
|
deselect: () => any;
|
|
39
40
|
restored: () => any;
|
|
40
41
|
recycleBinSummary: (total: number | undefined) => any;
|
|
41
42
|
sorted: () => any;
|
|
43
|
+
"update:keyword": (value: string) => any;
|
|
44
|
+
queryControllerChange: (controller: RecordQueryListQueryController | undefined) => any;
|
|
42
45
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
43
|
-
onAction?: ((action: import("../web-contracts/index
|
|
46
|
+
onAction?: ((action: import("../web-contracts/index").RecordInlineAction, record: CrudRecordListBase) => any) | undefined;
|
|
44
47
|
onSelect?: ((record: CrudRecordListBase) => any) | undefined;
|
|
45
48
|
onLoaded?: ((records: CrudRecordListBase[], total?: number | undefined) => any) | undefined;
|
|
46
49
|
onDeselect?: (() => any) | undefined;
|
|
47
50
|
onRestored?: (() => any) | undefined;
|
|
48
51
|
onRecycleBinSummary?: ((total: number | undefined) => any) | undefined;
|
|
49
52
|
onSorted?: (() => any) | undefined;
|
|
53
|
+
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
54
|
+
onQueryControllerChange?: ((controller: RecordQueryListQueryController | undefined) => any) | undefined;
|
|
50
55
|
}>, {
|
|
51
56
|
mode: CrudRecordListMode;
|
|
52
|
-
filterOption: (record: CrudRecordListBase, normalizedKeyword: string) => boolean;
|
|
53
57
|
reloadKey: number;
|
|
54
58
|
emptyDescription: string;
|
|
55
|
-
quickSearch: string;
|
|
56
59
|
navigatorHostModuleAlias: string;
|
|
57
60
|
navigatorTargetLevelKey: string;
|
|
58
61
|
externalQueryValues: Record<string, unknown>;
|
|
@@ -67,6 +70,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
67
70
|
loadingTip: string;
|
|
68
71
|
fallbackTitle: string;
|
|
69
72
|
subtitleOf: (record: CrudRecordListBase) => string | undefined;
|
|
73
|
+
queryQuickSearchEnabled: boolean;
|
|
70
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
71
75
|
declare const _default: typeof __VLS_export;
|
|
72
76
|
export default _default;
|
|
@@ -16,6 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
title?: string;
|
|
17
17
|
placeholder?: string;
|
|
18
18
|
searchPlaceholder?: string;
|
|
19
|
+
invalid?: boolean;
|
|
19
20
|
disabled?: boolean;
|
|
20
21
|
allowClear?: boolean;
|
|
21
22
|
};
|
|
@@ -40,6 +41,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
40
41
|
value: string | readonly string[];
|
|
41
42
|
placeholder: string;
|
|
42
43
|
allowClear: boolean;
|
|
44
|
+
invalid: boolean;
|
|
43
45
|
searchPlaceholder: string;
|
|
44
46
|
selectionMode: DictionarySelectionMode;
|
|
45
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -47,9 +47,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
47
47
|
onChanged?: ((files: readonly File[]) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
49
|
disabled: boolean;
|
|
50
|
+
presentation: "dropzone" | "button";
|
|
50
51
|
multiple: boolean;
|
|
51
52
|
accept: string;
|
|
52
|
-
presentation: "dropzone" | "button";
|
|
53
53
|
requestUploadAccess: (file: File) => Promise<FileTransferUploadAccess>;
|
|
54
54
|
uploadFile: (file: File) => Promise<FileTransferUploadReceipt>;
|
|
55
55
|
confirmUpload: (receipt: FileTransferUploadReceipt) => Promise<unknown>;
|
|
@@ -6,15 +6,17 @@ type __VLS_Props = {
|
|
|
6
6
|
titleActionTitle?: string;
|
|
7
7
|
titleActionDisabled?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare var __VLS_1: {},
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_20: {}, __VLS_22: {}, __VLS_24: {};
|
|
10
10
|
type __VLS_Slots = {} & {
|
|
11
11
|
'title-prefix'?: (props: typeof __VLS_1) => any;
|
|
12
12
|
} & {
|
|
13
|
-
|
|
13
|
+
title?: (props: typeof __VLS_3) => any;
|
|
14
14
|
} & {
|
|
15
|
-
|
|
15
|
+
'title-suffix'?: (props: typeof __VLS_20) => any;
|
|
16
16
|
} & {
|
|
17
|
-
|
|
17
|
+
status?: (props: typeof __VLS_22) => any;
|
|
18
|
+
} & {
|
|
19
|
+
actions?: (props: typeof __VLS_24) => any;
|
|
18
20
|
};
|
|
19
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
22
|
titleAction: () => any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tabs: Array<{
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
}>;
|
|
6
|
+
activeKey?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
appearance?: 'section' | 'header';
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:activeKey": (key: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:activeKey"?: ((key: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
label: string;
|
|
17
|
+
appearance: "section" | "header";
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
/** Changes on confirmed selection, including reselecting the same value. */
|
|
8
8
|
selectionVersion?: number;
|
|
9
9
|
placeholder?: string;
|
|
10
|
+
invalid?: boolean;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
browseLabel?: string;
|
|
12
13
|
};
|
|
@@ -24,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
24
25
|
disabled: boolean;
|
|
25
26
|
value: string;
|
|
26
27
|
placeholder: string;
|
|
28
|
+
invalid: boolean;
|
|
27
29
|
unmatched: boolean;
|
|
28
30
|
linked: boolean;
|
|
29
31
|
preserveDraft: boolean;
|
|
@@ -22,10 +22,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
22
|
"onValidity-change"?: ((validity: ReferencePickerValidity) => any) | undefined;
|
|
23
23
|
"onUpdate:values"?: ((values: unknown[]) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
+
options: Option[];
|
|
25
26
|
disabled: boolean;
|
|
26
27
|
values: unknown[];
|
|
27
28
|
loading: boolean;
|
|
28
|
-
options: Option[];
|
|
29
29
|
referenceContext: ModuleContext<RecordPickerRecord>;
|
|
30
30
|
referencePicker: ReferencePickerConfig;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
46
46
|
emptyText: string;
|
|
47
47
|
fieldNames: string[];
|
|
48
48
|
fields: Map<string, RecordFormFieldDescriptor>;
|
|
49
|
-
excludeFieldNames: string[];
|
|
50
49
|
fallback: Record<string, RecordFormFieldFallback>;
|
|
50
|
+
excludeFieldNames: string[];
|
|
51
51
|
optionContext: ModuleContext<unknown>;
|
|
52
52
|
fileTransferContext: ModuleContext<unknown>;
|
|
53
53
|
displayOf: RecordDetailDisplayResolver;
|
|
@@ -10,20 +10,25 @@ type __VLS_Props = {
|
|
|
10
10
|
searchPlaceholder?: string;
|
|
11
11
|
searchable?: boolean;
|
|
12
12
|
collapseAction?: boolean;
|
|
13
|
+
utilityPlacement?: 'header' | 'toolbar';
|
|
13
14
|
};
|
|
14
|
-
declare var __VLS_10: {}, __VLS_13: {},
|
|
15
|
+
declare var __VLS_10: {}, __VLS_13: {}, __VLS_25: {}, __VLS_34: {}, __VLS_36: {}, __VLS_60: {}, __VLS_62: {}, __VLS_64: {};
|
|
15
16
|
type __VLS_Slots = {} & {
|
|
16
|
-
|
|
17
|
+
title?: (props: typeof __VLS_10) => any;
|
|
17
18
|
} & {
|
|
18
|
-
'
|
|
19
|
+
'title-extra'?: (props: typeof __VLS_13) => any;
|
|
19
20
|
} & {
|
|
20
|
-
actions?: (props: typeof
|
|
21
|
+
'utility-actions'?: (props: typeof __VLS_25) => any;
|
|
21
22
|
} & {
|
|
22
|
-
|
|
23
|
+
actions?: (props: typeof __VLS_34) => any;
|
|
23
24
|
} & {
|
|
24
|
-
|
|
25
|
+
'utility-actions'?: (props: typeof __VLS_36) => any;
|
|
25
26
|
} & {
|
|
26
|
-
|
|
27
|
+
default?: (props: typeof __VLS_60) => any;
|
|
28
|
+
} & {
|
|
29
|
+
footer?: (props: typeof __VLS_62) => any;
|
|
30
|
+
} & {
|
|
31
|
+
editor?: (props: typeof __VLS_64) => any;
|
|
27
32
|
};
|
|
28
33
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
34
|
refresh: () => any;
|
|
@@ -35,12 +40,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
40
|
subtitle: string;
|
|
36
41
|
searchPlaceholder: string;
|
|
37
42
|
embedded: boolean;
|
|
38
|
-
|
|
43
|
+
searchable: boolean;
|
|
39
44
|
refreshable: boolean;
|
|
40
45
|
refreshDisabled: boolean;
|
|
46
|
+
refreshTitle: string;
|
|
41
47
|
searchKeyword: string;
|
|
42
|
-
searchable: boolean;
|
|
43
48
|
collapseAction: boolean;
|
|
49
|
+
utilityPlacement: "header" | "toolbar";
|
|
44
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
52
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
searchable: boolean;
|
|
4
|
+
searchExpanded: boolean;
|
|
5
|
+
refreshable: boolean;
|
|
6
|
+
refreshDisabled: boolean;
|
|
7
|
+
refreshTitle: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
search: () => any;
|
|
15
|
+
refresh: () => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSearch?: (() => any) | undefined;
|
|
18
|
+
onRefresh?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -6,6 +6,7 @@ export interface RecordFormValidity {
|
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = {
|
|
8
8
|
record: RecordFormRecord;
|
|
9
|
+
mode?: 'create' | 'edit' | 'view';
|
|
9
10
|
fieldNames?: string[];
|
|
10
11
|
excludeFieldNames?: string[];
|
|
11
12
|
fields?: Map<string, RecordFormFieldDescriptor>;
|
|
@@ -52,18 +53,21 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
52
53
|
"validity-change": (validity: RecordFormValidity) => any;
|
|
53
54
|
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
54
55
|
"reference-projections-change": (fieldName: string, projections: Record<string, unknown>) => any;
|
|
56
|
+
"reference-display-change": (fieldName: string, candidates: readonly import("./referencePickerModel").ReferencePickerCandidate[]) => any;
|
|
55
57
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
58
|
"onValidity-change"?: ((validity: RecordFormValidity) => any) | undefined;
|
|
57
59
|
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
58
60
|
"onReference-projections-change"?: ((fieldName: string, projections: Record<string, unknown>) => any) | undefined;
|
|
61
|
+
"onReference-display-change"?: ((fieldName: string, candidates: readonly import("./referencePickerModel").ReferencePickerCandidate[]) => any) | undefined;
|
|
59
62
|
}>, {
|
|
60
63
|
disabled: boolean;
|
|
64
|
+
mode: "create" | "edit" | "view";
|
|
61
65
|
compact: boolean;
|
|
62
66
|
fieldNames: string[];
|
|
63
67
|
fields: Map<string, RecordFormFieldDescriptor>;
|
|
68
|
+
fallback: Record<string, RecordFormFieldFallback>;
|
|
64
69
|
formSessionKey: string | number;
|
|
65
70
|
excludeFieldNames: string[];
|
|
66
|
-
fallback: Record<string, RecordFormFieldFallback>;
|
|
67
71
|
optionContext: ModuleContext<unknown>;
|
|
68
72
|
fileTransferContext: ModuleContext<unknown>;
|
|
69
73
|
layoutTransitionPrefix: string;
|
|
@@ -73,6 +73,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
73
73
|
closeOnOutside: boolean;
|
|
74
74
|
beforeClose: UiDrawerCloseGuard;
|
|
75
75
|
container: HTMLElement | null;
|
|
76
|
+
editTitle: string;
|
|
77
|
+
saving: boolean;
|
|
76
78
|
renderMode: "inline" | "portal";
|
|
77
79
|
closeTitle: string;
|
|
78
80
|
promotion: DrawerPromotion;
|
|
@@ -85,8 +87,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
85
87
|
externallyChanged: boolean;
|
|
86
88
|
editAvailable: boolean;
|
|
87
89
|
saveAvailable: boolean;
|
|
88
|
-
saving: boolean;
|
|
89
|
-
editTitle: string;
|
|
90
90
|
saveTitle: string;
|
|
91
91
|
externalChangeTitle: string;
|
|
92
92
|
externalChangeMessage: string;
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
reloadKey?: string | number;
|
|
12
12
|
mode?: RecordPickerMode;
|
|
13
13
|
placeholder?: string;
|
|
14
|
+
invalid?: boolean;
|
|
14
15
|
disabled?: boolean;
|
|
15
16
|
allowClear?: boolean;
|
|
16
17
|
constraints?: PickerConstraint<RecordPickerRecord>[];
|
|
@@ -31,6 +32,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
31
32
|
placeholder: string;
|
|
32
33
|
allowClear: boolean;
|
|
33
34
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
35
|
+
invalid: boolean;
|
|
34
36
|
reloadKey: string | number;
|
|
35
37
|
titleOf: (record: RecordPickerRecord) => string;
|
|
36
38
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
reloadKey?: string | number;
|
|
12
12
|
mode?: RecordPickerMode;
|
|
13
13
|
placeholder?: string;
|
|
14
|
+
invalid?: boolean;
|
|
14
15
|
disabled?: boolean;
|
|
15
16
|
allowClear?: boolean;
|
|
16
17
|
constraints?: PickerConstraint<RecordPickerRecord>[];
|
|
@@ -33,6 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
33
34
|
placeholder: string;
|
|
34
35
|
allowClear: boolean;
|
|
35
36
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
37
|
+
invalid: boolean;
|
|
36
38
|
reloadKey: string | number;
|
|
37
39
|
titleOf: (record: RecordPickerRecord) => string;
|
|
38
40
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type QueryListRecord, type RecordQueryListColumn } from './recordQueryListColumnModel';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
record: QueryListRecord;
|
|
4
4
|
column: RecordQueryListColumn;
|