@ximatai/muyun-web-app 0.26.3
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/EmployeeDetailWorkspaceView-mtdcsqgF.js +14 -0
- package/dist/EmployeeManagementView-CKKvQZaC.js +1706 -0
- package/dist/MetadataOrchestrationView-CprWBocy.js +655 -0
- package/dist/ModuleActionManagementView-DNuAQUPE.js +597 -0
- package/dist/RoleAuthorizationView-CQtSAJoJ.js +592 -0
- package/dist/RoleDetailWorkspaceView-Dh8DXpyS.js +26 -0
- package/dist/RoleManagementView-BrqaFV7y.js +1927 -0
- package/dist/SystemUserDetailWorkspaceView-N-kvycAu.js +17 -0
- package/dist/SystemUserManagementView-BVS5moV5.js +761 -0
- package/dist/UserDetailWorkspaceView-Iek6xwix.js +17 -0
- package/dist/UserManagementView-BR_Jz8O-.js +965 -0
- package/dist/currentUserContext-B1lj1WgF.js +11 -0
- package/dist/index.css +2 -0
- package/dist/index.js +7127 -0
- package/dist/pageRealtime-sRtDYlQP.js +140 -0
- package/dist/platform-components-bC1gwhic.js +8412 -0
- package/dist/types/App.vue.d.ts +3 -0
- package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +27 -0
- package/dist/types/app/LoginView.vue.d.ts +14 -0
- package/dist/types/app/appWorkbenchStartup.d.ts +3 -0
- package/dist/types/app/devWorkbenchStartup.d.ts +1 -0
- package/dist/types/app/loginTenant.d.ts +6 -0
- package/dist/types/app/platformMessage.d.ts +6 -0
- package/dist/types/app/query.d.ts +3 -0
- package/dist/types/app/router.d.ts +1 -0
- package/dist/types/app/workbenchStartup.d.ts +24 -0
- package/dist/types/consumer/PlatformAdminOutlet.vue.d.ts +7 -0
- package/dist/types/consumer/index.d.ts +15 -0
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/DynamicModulePage.vue.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/actionReactions.d.ts +16 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/mockDescriptor.d.ts +2 -0
- package/dist/types/main.d.ts +2 -0
- package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +32 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewOutlet.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +8 -0
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +3 -0
- package/dist/types/platform-admin-runtime/currentUserContext.d.ts +4 -0
- package/dist/types/platform-admin-runtime/index.d.ts +12 -0
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +36 -0
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +61 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +21 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +20 -0
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -0
- package/dist/types/platform-admin-runtime/useWorkspaceViewPromotion.d.ts +24 -0
- package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +36 -0
- package/dist/types/platform-admin-runtime/workspaceViewContributions.d.ts +3 -0
- package/dist/types/platform-admin-runtime/workspaceViewHost.d.ts +10 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +18 -0
- package/dist/types/platform-admin-runtime/workspaceViews.d.ts +18 -0
- package/dist/types/platform-components/ApplicationScopeSwitcher.vue.d.ts +18 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +52 -0
- package/dist/types/platform-components/DateTimeText.vue.d.ts +15 -0
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +18 -0
- package/dist/types/platform-components/EnabledSelect.vue.d.ts +14 -0
- package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +13 -0
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +19 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +40 -0
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +20 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +37 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +23 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +37 -0
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +25 -0
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +29 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +39 -0
- package/dist/types/platform-components/RecordExternalChangeNotice.vue.d.ts +20 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +31 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +42 -0
- package/dist/types/platform-components/RecordMetaSection.vue.d.ts +8 -0
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +74 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +35 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +103 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +18 -0
- package/dist/types/platform-components/RecordStatusTag.vue.d.ts +6 -0
- package/dist/types/platform-components/RecordTreeSelector.vue.d.ts +22 -0
- package/dist/types/platform-components/RecycleBinModeButton.vue.d.ts +16 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +44 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +57 -0
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +26 -0
- package/dist/types/platform-components/actionConfirmation.d.ts +3 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +10 -0
- package/dist/types/platform-components/drawerPromotion.d.ts +4 -0
- package/dist/types/platform-components/index.d.ts +76 -0
- package/dist/types/platform-components/optionFieldOptions.d.ts +10 -0
- package/dist/types/platform-components/pageLayoutContext.d.ts +6 -0
- package/dist/types/platform-components/platformActionResultFeedback.d.ts +12 -0
- package/dist/types/platform-components/platformActionResultReactions.d.ts +53 -0
- package/dist/types/platform-components/platformDateTime.d.ts +16 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +15 -0
- package/dist/types/platform-components/platformTimeZoneContext.d.ts +3 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +27 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +7 -0
- package/dist/types/platform-components/recordDraftNormalizer.d.ts +1 -0
- package/dist/types/platform-components/recordEditorSessionState.d.ts +38 -0
- package/dist/types/platform-components/recordExplorerItemModel.d.ts +8 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +57 -0
- package/dist/types/platform-components/recordPickerConstraints.d.ts +20 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +2 -0
- package/dist/types/platform-components/recycleBinState.d.ts +39 -0
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +6 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +10 -0
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +75 -0
- package/dist/types/platform-components/staticCrudManagementState.d.ts +66 -0
- package/dist/types/platform-components/staticFormActionFlow.d.ts +39 -0
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +7 -0
- package/dist/types/platform-components/treeRecordModel.d.ts +17 -0
- package/dist/types/platform-components/useRecycleBinExplorerMode.d.ts +26 -0
- package/dist/types/platform-components/userSessionPresentation.d.ts +12 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +46 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +23 -0
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +13 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/BusinessRouteHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/ExternalPageHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/PlatformRouteHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/index.d.ts +11 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +28 -0
- package/dist/types/platform-workbench/menuTreeModel.d.ts +20 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +3 -0
- package/dist/types/platform-workbench/realtimeStatus.d.ts +7 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +12 -0
- package/dist/types/views/ApplicationManagementView.vue.d.ts +3 -0
- package/dist/types/views/DepartmentManagementView.vue.d.ts +3 -0
- package/dist/types/views/DictionaryManagementView.vue.d.ts +3 -0
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +64 -0
- package/dist/types/views/EmployeeDetailWorkspaceView.vue.d.ts +6 -0
- package/dist/types/views/EmployeeEmploymentDrawer.vue.d.ts +14 -0
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +18 -0
- package/dist/types/views/EmployeeManagementView.vue.d.ts +7 -0
- package/dist/types/views/FieldSpecManagementView.vue.d.ts +3 -0
- package/dist/types/views/FieldUiControlManagementView.vue.d.ts +3 -0
- package/dist/types/views/HomeView.vue.d.ts +3 -0
- package/dist/types/views/MenuManagementView.vue.d.ts +3 -0
- package/dist/types/views/MetadataOrchestrationView.vue.d.ts +8 -0
- package/dist/types/views/ModuleActionManagementView.vue.d.ts +9 -0
- package/dist/types/views/ModuleManagementView.vue.d.ts +3 -0
- package/dist/types/views/ModuleOpenApiView.vue.d.ts +10 -0
- package/dist/types/views/OpenApiCatalogView.vue.d.ts +9 -0
- package/dist/types/views/OrganizationManagementView.vue.d.ts +3 -0
- package/dist/types/views/PasswordManagementView.vue.d.ts +3 -0
- package/dist/types/views/PositionManagementView.vue.d.ts +3 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +16 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +12 -0
- package/dist/types/views/RoleDetailWorkspaceView.vue.d.ts +9 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +16 -0
- package/dist/types/views/RoleGroupMemberSelector.vue.d.ts +18 -0
- package/dist/types/views/RoleManagementView.vue.d.ts +9 -0
- package/dist/types/views/SystemUserDetailWorkspaceView.vue.d.ts +7 -0
- package/dist/types/views/SystemUserManagementView.vue.d.ts +7 -0
- package/dist/types/views/TenantManagementView.vue.d.ts +3 -0
- package/dist/types/views/UserDetailContent.vue.d.ts +32 -0
- package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +7 -0
- package/dist/types/views/UserManagementView.vue.d.ts +8 -0
- package/dist/types/views/applicationManagementState.d.ts +64 -0
- package/dist/types/views/departmentManagementState.d.ts +137 -0
- package/dist/types/views/dictionaryManagementState.d.ts +215 -0
- package/dist/types/views/employeeDetailStateModel.d.ts +39 -0
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +16 -0
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +4 -0
- package/dist/types/views/fieldSpecManagementState.d.ts +80 -0
- package/dist/types/views/fieldUiControlManagementState.d.ts +76 -0
- package/dist/types/views/menuManagementState.d.ts +178 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +278 -0
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +6 -0
- package/dist/types/views/moduleActionManagementWorkspaceView.d.ts +7 -0
- package/dist/types/views/moduleManagementState.d.ts +76 -0
- package/dist/types/views/organizationManagementState.d.ts +64 -0
- package/dist/types/views/positionManagementState.d.ts +218 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +17 -0
- package/dist/types/views/roleAuthorizationWorkspaceView.d.ts +5 -0
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +19 -0
- package/dist/types/views/roleDetailWorkspaceView.d.ts +8 -0
- package/dist/types/views/roleGrantClient.d.ts +59 -0
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +12 -0
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +5 -0
- package/dist/types/views/tenantManagementState.d.ts +64 -0
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +20 -0
- package/dist/types/views/useUserSessionRows.d.ts +28 -0
- package/dist/types/views/userDetailStateModel.d.ts +11 -0
- package/dist/types/views/userDetailWorkspaceSession.d.ts +14 -0
- package/dist/types/views/userDetailWorkspaceView.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/ActionBar.vue.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/DictionarySelect.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/ReferenceSelect.vue.d.ts +16 -0
- package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +37 -0
- package/dist/types/vue-ui-antdv/components/UiBadge.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +41 -0
- package/dist/types/vue-ui-antdv/components/UiCheckbox.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +71 -0
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +29 -0
- package/dist/types/vue-ui-antdv/components/UiEmpty.vue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/components/UiError.vue.d.ts +7 -0
- package/dist/types/vue-ui-antdv/components/UiForm.vue.d.ts +15 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +7 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +25 -0
- package/dist/types/vue-ui-antdv/components/UiMenu.vue.d.ts +19 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +36 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +26 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +28 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanelHost.vue.d.ts +13 -0
- package/dist/types/vue-ui-antdv/components/UiSpin.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +13 -0
- package/dist/types/vue-ui-antdv/components/UiTabs.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTooltip.vue.d.ts +19 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +17 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -0
- package/dist/types/vue-ui-antdv/confirm.d.ts +5 -0
- package/dist/types/vue-ui-antdv/dataTableModel.d.ts +10 -0
- package/dist/types/vue-ui-antdv/dictionaries.d.ts +2 -0
- package/dist/types/vue-ui-antdv/feedback.d.ts +10 -0
- package/dist/types/vue-ui-antdv/index.d.ts +36 -0
- package/dist/types/vue-ui-antdv/references.d.ts +8 -0
- package/dist/types/vue-ui-antdv/registry.d.ts +3 -0
- package/dist/types/vue-ui-antdv/types.d.ts +65 -0
- package/dist/types/web-contracts/index.d.ts +862 -0
- package/dist/types/web-core/actionResult.d.ts +28 -0
- package/dist/types/web-core/clients.d.ts +23 -0
- package/dist/types/web-core/dataChanges.d.ts +15 -0
- package/dist/types/web-core/errors.d.ts +65 -0
- package/dist/types/web-core/http.d.ts +21 -0
- package/dist/types/web-core/index.d.ts +8 -0
- package/dist/types/web-core/mock.d.ts +6 -0
- package/dist/types/web-core/module/abilities.d.ts +21 -0
- package/dist/types/web-core/module/abilityCodes.d.ts +18 -0
- package/dist/types/web-core/module/index.d.ts +6 -0
- package/dist/types/web-core/module/moduleContext.d.ts +49 -0
- package/dist/types/web-core/module/recycleBin.d.ts +6 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +65 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +45 -0
- package/dist/types/web-core/query.d.ts +16 -0
- package/dist/types/web-core/realtime.d.ts +104 -0
- package/dist/useUserSessionRows-CLM0ZvAF.js +128 -0
- package/dist/workspaceViewSessions-WsJU3OS7.js +1578 -0
- package/package.json +27 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
label: string;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:value": (value: boolean) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:value"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
value: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Number of explorer columns shown before the detail workspace. */
|
|
3
|
+
explorerCount?: 1 | 2 | 3;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
explorerCount: 1 | 2 | 3;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
2
|
+
import { type UiIconName } from '@muyun/vue-ui-antdv';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context: ModuleContext<unknown>;
|
|
5
|
+
actionCode: string;
|
|
6
|
+
type?: 'button' | 'submit' | 'reset';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
primary?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
iconName?: UiIconName;
|
|
13
|
+
iconOnly?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_10: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_10) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
click: (event: MouseEvent) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
type: "button" | "submit" | "reset";
|
|
25
|
+
title: string;
|
|
26
|
+
primary: boolean;
|
|
27
|
+
danger: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
loading: boolean;
|
|
30
|
+
iconName: UiIconName;
|
|
31
|
+
iconOnly: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
2
|
+
import { type RecordActionItem } from './recordActionBarModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context: ModuleContext<unknown>;
|
|
5
|
+
actions: RecordActionItem[];
|
|
6
|
+
recordId?: string;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
size?: 'default' | 'compact';
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
action: (action: RecordActionItem, event: MouseEvent) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onAction?: ((action: RecordActionItem, event: MouseEvent) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
recordId: string;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
size: "default" | "compact";
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type UiSidePanelScope } from '@muyun/vue-ui-antdv';
|
|
2
|
+
import type { DrawerPromotion } from './drawerPromotion';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
width?: number | string;
|
|
8
|
+
scope?: UiSidePanelScope;
|
|
9
|
+
closeOnOutside?: boolean;
|
|
10
|
+
closeTitle?: string;
|
|
11
|
+
promotion?: DrawerPromotion;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
status(): unknown;
|
|
15
|
+
default(): unknown;
|
|
16
|
+
operation(): unknown;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: () => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
scope: UiSidePanelScope;
|
|
24
|
+
subtitle: string;
|
|
25
|
+
width: number | string;
|
|
26
|
+
closeOnOutside: boolean;
|
|
27
|
+
closeTitle: string;
|
|
28
|
+
promotion: DrawerPromotion;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldPickerConfig, type RecordFormRecord } from './recordFormFieldModel';
|
|
2
|
+
import { type RecordDetailDisplayResolver } from './recordDetailFieldModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
record: RecordFormRecord;
|
|
5
|
+
fieldNames?: string[];
|
|
6
|
+
excludeFieldNames?: string[];
|
|
7
|
+
fields?: Map<string, RecordFormFieldDescriptor>;
|
|
8
|
+
fallback?: Record<string, RecordFormFieldFallback>;
|
|
9
|
+
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
10
|
+
displayOf?: RecordDetailDisplayResolver;
|
|
11
|
+
emptyText?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
+
fieldNames: string[];
|
|
15
|
+
fields: Map<string, RecordFormFieldDescriptor>;
|
|
16
|
+
emptyText: string;
|
|
17
|
+
excludeFieldNames: string[];
|
|
18
|
+
fallback: Record<string, RecordFormFieldFallback>;
|
|
19
|
+
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
20
|
+
displayOf: RecordDetailDisplayResolver;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Main business identity; workbench tabs consume only this title. */
|
|
3
|
+
title: string;
|
|
4
|
+
/** Optional contextual description rendered by the platform detail header. */
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
/** Keeps the title and operation regions fixed while detail content scrolls. */
|
|
7
|
+
scrollableContent?: boolean;
|
|
8
|
+
/** Internal composition surface selected by the hosting platform component. */
|
|
9
|
+
surface?: 'workspace' | 'drawer';
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_17: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
status?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'title-actions'?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
actions?: (props: typeof __VLS_5) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_7) => any;
|
|
20
|
+
} & {
|
|
21
|
+
default?: (props: typeof __VLS_9) => any;
|
|
22
|
+
} & {
|
|
23
|
+
operation?: (props: typeof __VLS_17) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
+
subtitle: string;
|
|
27
|
+
scrollableContent: boolean;
|
|
28
|
+
surface: "workspace" | "drawer";
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_9: {}, __VLS_12: {}, __VLS_14: {}, __VLS_17: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
status?: (props: typeof __VLS_9) => any;
|
|
8
|
+
} & {
|
|
9
|
+
actions?: (props: typeof __VLS_12) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_14) => any;
|
|
12
|
+
} & {
|
|
13
|
+
operation?: (props: typeof __VLS_17) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
subtitle: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
error?: string;
|
|
5
|
+
loadingTip?: string;
|
|
6
|
+
errorTitle?: string;
|
|
7
|
+
emptyDescription?: string;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_13: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
actions?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_13) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
loading: boolean;
|
|
17
|
+
error: string;
|
|
18
|
+
emptyDescription: string;
|
|
19
|
+
loadingTip: string;
|
|
20
|
+
errorTitle: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
refreshTitle?: string;
|
|
4
|
+
searchKeyword?: string;
|
|
5
|
+
searchPlaceholder?: string;
|
|
6
|
+
searchable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_9: {}, __VLS_18: {}, __VLS_34: {}, __VLS_36: {}, __VLS_38: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
'title-extra'?: (props: typeof __VLS_9) => any;
|
|
11
|
+
} & {
|
|
12
|
+
actions?: (props: typeof __VLS_18) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_34) => any;
|
|
15
|
+
} & {
|
|
16
|
+
footer?: (props: typeof __VLS_36) => any;
|
|
17
|
+
} & {
|
|
18
|
+
editor?: (props: typeof __VLS_38) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
refresh: () => any;
|
|
22
|
+
"update:searchKeyword": (keyword: string) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onRefresh?: (() => any) | undefined;
|
|
25
|
+
"onUpdate:searchKeyword"?: ((keyword: string) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
searchPlaceholder: string;
|
|
28
|
+
refreshTitle: string;
|
|
29
|
+
searchKeyword: string;
|
|
30
|
+
searchable: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
reloadTitle?: string;
|
|
5
|
+
dismissTitle?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
reload: () => any;
|
|
9
|
+
dismiss: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onReload?: (() => any) | undefined;
|
|
12
|
+
onDismiss?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
title: string;
|
|
15
|
+
message: string;
|
|
16
|
+
reloadTitle: string;
|
|
17
|
+
dismissTitle: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
2
|
+
import { type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldPickerConfig, type RecordFormFieldState, type RecordFormFieldValue, type RecordFormRecord } from './recordFormFieldModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
record: RecordFormRecord;
|
|
5
|
+
fieldNames?: string[];
|
|
6
|
+
excludeFieldNames?: string[];
|
|
7
|
+
fields?: Map<string, RecordFormFieldDescriptor>;
|
|
8
|
+
fallback?: Record<string, RecordFormFieldFallback>;
|
|
9
|
+
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
10
|
+
optionContext?: ModuleContext<unknown>;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
disabledOf?: (fieldName: string, field: RecordFormFieldState) => boolean;
|
|
13
|
+
placeholderOf?: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
fieldNames: string[];
|
|
22
|
+
fields: Map<string, RecordFormFieldDescriptor>;
|
|
23
|
+
excludeFieldNames: string[];
|
|
24
|
+
fallback: Record<string, RecordFormFieldFallback>;
|
|
25
|
+
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
26
|
+
optionContext: ModuleContext<unknown>;
|
|
27
|
+
disabledOf: (fieldName: string, field: RecordFormFieldState) => boolean;
|
|
28
|
+
placeholderOf: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type UiRecordInlineAction } from '@muyun/vue-ui-antdv';
|
|
2
|
+
import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
3
|
+
export interface RecordListExplorerRecord {
|
|
4
|
+
id?: string;
|
|
5
|
+
code?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
records: RecordListExplorerRecord[];
|
|
12
|
+
selectedId?: string;
|
|
13
|
+
keyword?: string;
|
|
14
|
+
emptyDescription?: string;
|
|
15
|
+
titleOf?: (record: RecordListExplorerRecord) => string;
|
|
16
|
+
codeOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
17
|
+
itemOf?: (record: RecordListExplorerRecord) => RecordExplorerItemDescriptor | undefined;
|
|
18
|
+
actionsOf?: (record: RecordListExplorerRecord) => UiRecordInlineAction[];
|
|
19
|
+
filterOption?: (record: RecordListExplorerRecord, normalizedKeyword: string) => boolean;
|
|
20
|
+
tagOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
21
|
+
mutedOf?: (record: RecordListExplorerRecord) => boolean;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
select: (record: RecordListExplorerRecord) => any;
|
|
25
|
+
action: (action: UiRecordInlineAction, record: RecordListExplorerRecord) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
onSelect?: ((record: RecordListExplorerRecord) => any) | undefined;
|
|
28
|
+
onAction?: ((action: UiRecordInlineAction, record: RecordListExplorerRecord) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
filterOption: (record: RecordListExplorerRecord, normalizedKeyword: string) => boolean;
|
|
31
|
+
emptyDescription: string;
|
|
32
|
+
selectedId: string;
|
|
33
|
+
keyword: string;
|
|
34
|
+
titleOf: (record: RecordListExplorerRecord) => string;
|
|
35
|
+
codeOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
36
|
+
itemOf: (record: RecordListExplorerRecord) => RecordExplorerItemDescriptor | undefined;
|
|
37
|
+
actionsOf: (record: RecordListExplorerRecord) => UiRecordInlineAction[];
|
|
38
|
+
tagOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
39
|
+
mutedOf: (record: RecordListExplorerRecord) => boolean;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StandardSortableEntity } from '@muyun/web-contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
record: Partial<StandardSortableEntity>;
|
|
4
|
+
showSortOrder?: boolean;
|
|
5
|
+
};
|
|
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
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type UiSidePanelScope } from '@muyun/vue-ui-antdv';
|
|
2
|
+
import type { DrawerPromotion } from './drawerPromotion';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
/** Secondary business identity rendered by the platform detail header. */
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
scope?: UiSidePanelScope;
|
|
10
|
+
mode: string;
|
|
11
|
+
viewMode?: string;
|
|
12
|
+
formModes?: string[];
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
loadFailed?: boolean;
|
|
15
|
+
closeOnOutside?: boolean;
|
|
16
|
+
closeTitle?: string;
|
|
17
|
+
promotion?: DrawerPromotion;
|
|
18
|
+
errorTitle?: string;
|
|
19
|
+
errorMessage?: string;
|
|
20
|
+
retryTitle?: string;
|
|
21
|
+
externallyChanged?: boolean;
|
|
22
|
+
externalChangeTitle?: string;
|
|
23
|
+
externalChangeMessage?: string;
|
|
24
|
+
externalChangeReloadTitle?: string;
|
|
25
|
+
externalChangeDismissTitle?: string;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = {
|
|
28
|
+
status(): unknown;
|
|
29
|
+
loading(): unknown;
|
|
30
|
+
error(): unknown;
|
|
31
|
+
externalChangeNotice(): unknown;
|
|
32
|
+
view(): unknown;
|
|
33
|
+
form(): unknown;
|
|
34
|
+
default(): unknown;
|
|
35
|
+
operation(): unknown;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
close: () => any;
|
|
39
|
+
retry: () => any;
|
|
40
|
+
reloadExternalChange: () => any;
|
|
41
|
+
dismissExternalChange: () => any;
|
|
42
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
43
|
+
onClose?: (() => any) | undefined;
|
|
44
|
+
onRetry?: (() => any) | undefined;
|
|
45
|
+
onReloadExternalChange?: (() => any) | undefined;
|
|
46
|
+
onDismissExternalChange?: (() => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
scope: UiSidePanelScope;
|
|
49
|
+
loading: boolean;
|
|
50
|
+
subtitle: string;
|
|
51
|
+
width: number | string;
|
|
52
|
+
closeOnOutside: boolean;
|
|
53
|
+
closeTitle: string;
|
|
54
|
+
promotion: DrawerPromotion;
|
|
55
|
+
errorTitle: string;
|
|
56
|
+
viewMode: string;
|
|
57
|
+
formModes: string[];
|
|
58
|
+
loadFailed: boolean;
|
|
59
|
+
errorMessage: string;
|
|
60
|
+
retryTitle: string;
|
|
61
|
+
externallyChanged: boolean;
|
|
62
|
+
externalChangeTitle: string;
|
|
63
|
+
externalChangeMessage: string;
|
|
64
|
+
externalChangeReloadTitle: string;
|
|
65
|
+
externalChangeDismissTitle: string;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
68
|
+
declare const _default: typeof __VLS_export;
|
|
69
|
+
export default _default;
|
|
70
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ModuleContext } from '@muyun/web-core';
|
|
2
|
+
import { type PickerConstraint, type RecordPickerRecord } from './recordPickerConstraints';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
context: ModuleContext<RecordPickerRecord>;
|
|
5
|
+
value?: string;
|
|
6
|
+
reloadKey?: number;
|
|
7
|
+
mode?: 'list' | 'tree';
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
allowClear?: boolean;
|
|
11
|
+
constraints?: PickerConstraint<RecordPickerRecord>[];
|
|
12
|
+
titleOf?: (record: RecordPickerRecord) => string;
|
|
13
|
+
descriptionOf?: (record: RecordPickerRecord) => string | undefined;
|
|
14
|
+
filterOption?: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
select: (record: RecordPickerRecord | undefined) => any;
|
|
18
|
+
"update:value": (value: string | undefined) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onSelect?: ((record: RecordPickerRecord | undefined) => any) | undefined;
|
|
21
|
+
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
value: string;
|
|
25
|
+
mode: "list" | "tree";
|
|
26
|
+
placeholder: string;
|
|
27
|
+
allowClear: boolean;
|
|
28
|
+
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
29
|
+
titleOf: (record: RecordPickerRecord) => string;
|
|
30
|
+
reloadKey: number;
|
|
31
|
+
constraints: PickerConstraint<RecordPickerRecord>[];
|
|
32
|
+
descriptionOf: (record: RecordPickerRecord) => string | undefined;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { type ModuleContext } from '@muyun/web-core';
|
|
2
|
+
import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
|
|
3
|
+
export type QueryListRecord = Record<string, unknown> & {
|
|
4
|
+
id?: string;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type RecordQueryListMode = 'normal' | 'recycleBin';
|
|
8
|
+
export interface RecordQueryListColumn {
|
|
9
|
+
key: string;
|
|
10
|
+
title: string;
|
|
11
|
+
type?: 'text' | 'enabledStatus' | 'datetime';
|
|
12
|
+
width?: string;
|
|
13
|
+
align?: 'left' | 'center' | 'right';
|
|
14
|
+
titleField?: string;
|
|
15
|
+
render?: (record: QueryListRecord) => string;
|
|
16
|
+
}
|
|
17
|
+
type __VLS_Props = {
|
|
18
|
+
context: ModuleContext<QueryListRecord>;
|
|
19
|
+
title: string;
|
|
20
|
+
columns?: RecordQueryListColumn[];
|
|
21
|
+
actions?: RecordActionItem[];
|
|
22
|
+
standardCrudActions?: boolean;
|
|
23
|
+
standardCrudRowActions?: boolean;
|
|
24
|
+
rowActionsOf?: (record: QueryListRecord) => RecordActionItem[];
|
|
25
|
+
extraRowActionsOf?: (record: QueryListRecord) => RecordActionItem[];
|
|
26
|
+
rowActionStateOf?: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
27
|
+
rowActionsTitle?: string;
|
|
28
|
+
cellRenderers?: Record<string, (record: QueryListRecord) => string>;
|
|
29
|
+
rowKey?: string;
|
|
30
|
+
selectedKey?: string;
|
|
31
|
+
expandedRowKeys?: string[];
|
|
32
|
+
reloadKey?: number;
|
|
33
|
+
refreshTitle?: string;
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
uiConfigId?: string;
|
|
36
|
+
queryTemplateId?: string;
|
|
37
|
+
ready?: boolean;
|
|
38
|
+
externalQueryValues?: Record<string, unknown>;
|
|
39
|
+
quickSearchPlaceholder?: string;
|
|
40
|
+
emptyDescription?: string;
|
|
41
|
+
waitingDescription?: string;
|
|
42
|
+
mode?: RecordQueryListMode;
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Slots = {
|
|
45
|
+
expandedRow?: (props: {
|
|
46
|
+
record: QueryListRecord;
|
|
47
|
+
rowKey: string;
|
|
48
|
+
}) => unknown;
|
|
49
|
+
};
|
|
50
|
+
declare function refresh(): void;
|
|
51
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
52
|
+
refresh: typeof refresh;
|
|
53
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
+
select: (record: QueryListRecord) => any;
|
|
55
|
+
action: (action: RecordActionItem, event: MouseEvent) => any;
|
|
56
|
+
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
57
|
+
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
58
|
+
loaded: (records: QueryListRecord[]) => any;
|
|
59
|
+
restored: () => any;
|
|
60
|
+
rowAction: (action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any;
|
|
61
|
+
modeChange: (mode: RecordQueryListMode) => any;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
63
|
+
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
64
|
+
onAction?: ((action: RecordActionItem, event: MouseEvent) => any) | undefined;
|
|
65
|
+
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
66
|
+
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
67
|
+
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
68
|
+
onRestored?: (() => any) | undefined;
|
|
69
|
+
onRowAction?: ((action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any) | undefined;
|
|
70
|
+
onModeChange?: ((mode: RecordQueryListMode) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
actions: RecordActionItem[];
|
|
73
|
+
mode: RecordQueryListMode;
|
|
74
|
+
selectedKey: string;
|
|
75
|
+
columns: RecordQueryListColumn[];
|
|
76
|
+
rowKey: string;
|
|
77
|
+
expandedRowKeys: string[];
|
|
78
|
+
emptyDescription: string;
|
|
79
|
+
pageSize: number;
|
|
80
|
+
uiConfigId: string;
|
|
81
|
+
queryTemplateId: string;
|
|
82
|
+
reloadKey: number;
|
|
83
|
+
refreshTitle: string;
|
|
84
|
+
standardCrudActions: boolean;
|
|
85
|
+
standardCrudRowActions: boolean;
|
|
86
|
+
rowActionsOf: (record: QueryListRecord) => RecordActionItem[];
|
|
87
|
+
extraRowActionsOf: (record: QueryListRecord) => RecordActionItem[];
|
|
88
|
+
rowActionStateOf: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
89
|
+
rowActionsTitle: string;
|
|
90
|
+
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
91
|
+
ready: boolean;
|
|
92
|
+
externalQueryValues: Record<string, unknown>;
|
|
93
|
+
quickSearchPlaceholder: string;
|
|
94
|
+
waitingDescription: string;
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
96
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
97
|
+
declare const _default: typeof __VLS_export;
|
|
98
|
+
export default _default;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|