@ximatai/muyun-web-app 0.26.10 → 0.26.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ModuleActionManagementView-BHEooZ5L.js +672 -0
- package/dist/ModuleGovernanceView-DB3TWlMy.js +28521 -0
- package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +1379 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1929 -351
- package/dist/moduleGovernanceWorkspaceView-C5pqJOEJ.js +40 -0
- package/dist/platform-workbench-DJj42YQP.js +22911 -0
- package/dist/rolldown-runtime-DPVXH0ON.js +17 -0
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +0 -2
- package/dist/types/app/LoginView.vue.d.ts +1 -1
- package/dist/types/app/workbenchRouteSync.d.ts +10 -1
- package/dist/types/app/workbenchSessionTabs.d.ts +22 -0
- package/dist/types/app/workbenchStartup.d.ts +7 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -1
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +12 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +11 -11
- package/dist/types/dynamic-page-runtime/childAggregateContext.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +82 -28
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +7 -4
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +75 -1
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -0
- package/dist/types/formula/FormulaRuntime.d.ts +9 -0
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEntriesSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +16 -0
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +2 -0
- package/dist/types/platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +24 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +15 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +9 -4
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +54 -0
- package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +15 -3
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +11 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +3 -3
- package/dist/types/platform-components/QueryGroupedSummary.vue.d.ts +21 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -2
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordExplorerCreateButton.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +16 -5
- package/dist/types/platform-components/RecordFieldLabel.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +21 -2
- package/dist/types/platform-components/RecordFormGrid.vue.d.ts +24 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +23 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +9 -3
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +15 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordQueryEnumFilter.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +12 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +110 -64
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +124 -0
- package/dist/types/platform-components/RecordRelationTable.vue.d.ts +62 -0
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +9 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -3
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +15 -4
- package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +20 -1
- package/dist/types/platform-components/managementExplorerContext.d.ts +11 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +20 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/recordActionBarModel.d.ts +3 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +42 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- package/dist/types/platform-components/selectionRefresh.d.ts +9 -0
- package/dist/types/platform-components/sortPartitionKey.d.ts +5 -0
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
- package/dist/types/platform-workbench/index.d.ts +2 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +5 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +5 -1
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewNavigation.d.ts +9 -0
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -0
- package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/{UserDetailRouteView.vue.d.ts → MetadataGovernanceSurface.vue.d.ts} +3 -3
- package/dist/types/views/MetadataSourceTree.vue.d.ts +44 -0
- package/dist/types/views/ModuleBusinessPreview.vue.d.ts +7 -0
- package/dist/types/views/ModuleExperienceProfileOverview.vue.d.ts +7 -0
- package/dist/types/views/ModuleGovernanceView.vue.d.ts +9 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +54 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +103 -0
- package/dist/types/views/PageCompositionWorkspace.vue.d.ts +7 -0
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +48 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/businessRuleGovernance.d.ts +201 -0
- package/dist/types/views/metadataModelEditSession.d.ts +75 -0
- package/dist/types/views/metadataModelTree.d.ts +40 -0
- package/dist/types/views/metadataNaming.d.ts +7 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +161 -6
- package/dist/types/views/metadataSourceTree.d.ts +10 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +9 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +375 -0
- package/dist/types/views/pageCompositionDragPayload.d.ts +26 -0
- package/dist/types/views/pageCompositionMode.d.ts +86 -0
- package/dist/types/views/pageCompositionPlacement.d.ts +48 -0
- package/dist/types/views/pageCompositionTransport.d.ts +9 -0
- package/dist/types/views/roleGrantClient.d.ts +8 -5
- package/dist/types/views/usePageCompositionActionPreviewDrag.d.ts +41 -0
- package/dist/types/views/usePageCompositionPreviewDrag.d.ts +48 -0
- package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +6 -3
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +5 -2
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +5 -1
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +38 -1
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +62 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +76 -3
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/index.d.ts +6 -1
- package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
- package/dist/types/vue-ui-antdv/types.d.ts +70 -0
- package/dist/types/vue-ui-antdv/useTreeLoader.d.ts +21 -0
- package/dist/types/vue-ui-antdv/useTreeMotion.d.ts +9 -0
- package/dist/types/vue-ui-antdv/useUiTreeDrag.d.ts +32 -0
- package/dist/types/web-contracts/index.d.ts +75 -8
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +15 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +7 -3
- package/dist/types/web-core/module/staticModuleClient.d.ts +29 -6
- package/dist/workspaceViews-DI_1vYX9.js +3518 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-BhtVwJII.js +0 -661
- package/dist/ModuleActionManagementView-DpZS-xAD.js +0 -597
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/platform-components-oRIsIoxu.js +0 -12371
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
|
@@ -12,9 +12,16 @@ type __VLS_Props = {
|
|
|
12
12
|
fallback?: Record<string, RecordFormFieldFallback>;
|
|
13
13
|
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
14
14
|
optionContext?: ModuleContext<unknown>;
|
|
15
|
+
/**
|
|
16
|
+
* Resolves option fields against a managed child entity while retaining the parent module context.
|
|
17
|
+
* Ordinary module forms intentionally leave this absent.
|
|
18
|
+
*/
|
|
19
|
+
optionEntityAlias?: string;
|
|
15
20
|
fileTransferContext?: ModuleContext<unknown>;
|
|
16
21
|
formSessionKey?: string | number;
|
|
17
22
|
validationRequestKey?: number;
|
|
23
|
+
/** Stable DOM keys for a parent-owned layout transition; absent in ordinary form surfaces. */
|
|
24
|
+
layoutTransitionPrefix?: string;
|
|
18
25
|
disabled?: boolean;
|
|
19
26
|
showLabels?: boolean;
|
|
20
27
|
compact?: boolean;
|
|
@@ -25,20 +32,30 @@ type __VLS_Props = {
|
|
|
25
32
|
};
|
|
26
33
|
declare var __VLS_1: {
|
|
27
34
|
field: RecordFormFieldState;
|
|
28
|
-
},
|
|
35
|
+
}, __VLS_10: {
|
|
36
|
+
group: import("../web-contracts/index").FormGroupDescriptor | undefined;
|
|
37
|
+
}, __VLS_12: {
|
|
38
|
+
field: RecordFormFieldState;
|
|
39
|
+
}, __VLS_146: {
|
|
29
40
|
field: RecordFormFieldState;
|
|
30
41
|
};
|
|
31
42
|
type __VLS_Slots = {} & {
|
|
32
43
|
'before-field'?: (props: typeof __VLS_1) => any;
|
|
33
44
|
} & {
|
|
34
|
-
'
|
|
45
|
+
'group-actions'?: (props: typeof __VLS_10) => any;
|
|
46
|
+
} & {
|
|
47
|
+
'field-actions'?: (props: typeof __VLS_12) => any;
|
|
48
|
+
} & {
|
|
49
|
+
'after-field'?: (props: typeof __VLS_146) => any;
|
|
35
50
|
};
|
|
36
51
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
52
|
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
38
53
|
"validity-change": (validity: RecordFormValidity) => any;
|
|
54
|
+
"reference-projections-change": (fieldName: string, projections: Record<string, unknown>) => any;
|
|
39
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
56
|
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
41
57
|
"onValidity-change"?: ((validity: RecordFormValidity) => any) | undefined;
|
|
58
|
+
"onReference-projections-change"?: ((fieldName: string, projections: Record<string, unknown>) => any) | undefined;
|
|
42
59
|
}>, {
|
|
43
60
|
disabled: boolean;
|
|
44
61
|
compact: boolean;
|
|
@@ -50,6 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
50
67
|
pickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
51
68
|
optionContext: ModuleContext<unknown>;
|
|
52
69
|
fileTransferContext: ModuleContext<unknown>;
|
|
70
|
+
layoutTransitionPrefix: string;
|
|
71
|
+
optionEntityAlias: string;
|
|
53
72
|
validationRequestKey: number;
|
|
54
73
|
showLabels: boolean;
|
|
55
74
|
disabledOf: (fieldName: string, field: RecordFormFieldState) => boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
as?: 'form' | 'div';
|
|
3
|
+
surface?: 'record';
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_10: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_10) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
submit: (event: SubmitEvent) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSubmit?: ((event: SubmitEvent) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
surface: "record";
|
|
15
|
+
as: "form" | "div";
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
|
|
1
|
+
import { type UiRecordInlineAction, type UiTreeChangeReason } from '../vue-ui-antdv/index';
|
|
2
2
|
import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
3
3
|
export interface RecordListExplorerRecord {
|
|
4
|
+
[key: string]: unknown;
|
|
4
5
|
id?: string;
|
|
5
6
|
code?: string;
|
|
6
7
|
title?: string;
|
|
@@ -10,7 +11,10 @@ export interface RecordListExplorerRecord {
|
|
|
10
11
|
type __VLS_Props = {
|
|
11
12
|
records: RecordListExplorerRecord[];
|
|
12
13
|
selectedId?: string;
|
|
14
|
+
/** Provides the stable unique identity used by selection, Vue keys and drag commands. */
|
|
15
|
+
keyOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
13
16
|
keyword?: string;
|
|
17
|
+
changeReason?: UiTreeChangeReason;
|
|
14
18
|
emptyDescription?: string;
|
|
15
19
|
titleOf?: (record: RecordListExplorerRecord) => string;
|
|
16
20
|
codeOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
@@ -19,19 +23,35 @@ type __VLS_Props = {
|
|
|
19
23
|
filterOption?: (record: RecordListExplorerRecord, normalizedKeyword: string) => boolean;
|
|
20
24
|
tagOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
21
25
|
mutedOf?: (record: RecordListExplorerRecord) => boolean;
|
|
26
|
+
/** Enables vertical reordering for an already unfiltered flat record list. */
|
|
27
|
+
sorting?: boolean;
|
|
28
|
+
/** Records in different partitions cannot be placed relative to one another. */
|
|
29
|
+
sortPartitionOf?: (record: RecordListExplorerRecord) => string | undefined;
|
|
22
30
|
};
|
|
23
31
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
32
|
action: (action: import("../web-contracts").RecordInlineAction, record: RecordListExplorerRecord) => any;
|
|
25
33
|
select: (record: RecordListExplorerRecord) => any;
|
|
34
|
+
sort: (event: {
|
|
35
|
+
dragRecord: RecordListExplorerRecord;
|
|
36
|
+
dropRecord: RecordListExplorerRecord;
|
|
37
|
+
position: -1 | 1;
|
|
38
|
+
}) => any;
|
|
26
39
|
deselect: () => any;
|
|
27
40
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
41
|
onAction?: ((action: import("../web-contracts").RecordInlineAction, record: RecordListExplorerRecord) => any) | undefined;
|
|
29
42
|
onSelect?: ((record: RecordListExplorerRecord) => any) | undefined;
|
|
43
|
+
onSort?: ((event: {
|
|
44
|
+
dragRecord: RecordListExplorerRecord;
|
|
45
|
+
dropRecord: RecordListExplorerRecord;
|
|
46
|
+
position: -1 | 1;
|
|
47
|
+
}) => any) | undefined;
|
|
30
48
|
onDeselect?: (() => any) | undefined;
|
|
31
49
|
}>, {
|
|
32
50
|
filterOption: (record: RecordListExplorerRecord, normalizedKeyword: string) => boolean;
|
|
51
|
+
changeReason: UiTreeChangeReason;
|
|
33
52
|
emptyDescription: string;
|
|
34
53
|
selectedId: string;
|
|
54
|
+
keyOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
35
55
|
keyword: string;
|
|
36
56
|
titleOf: (record: RecordListExplorerRecord) => string;
|
|
37
57
|
codeOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
@@ -39,6 +59,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
39
59
|
actionsOf: (record: RecordListExplorerRecord) => UiRecordInlineAction[];
|
|
40
60
|
tagOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
41
61
|
mutedOf: (record: RecordListExplorerRecord) => boolean;
|
|
62
|
+
sorting: boolean;
|
|
63
|
+
sortPartitionOf: (record: RecordListExplorerRecord) => string | undefined;
|
|
42
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
65
|
declare const _default: typeof __VLS_export;
|
|
44
66
|
export default _default;
|
|
@@ -25,14 +25,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
25
25
|
onSelect?: ((records: RecordPickerRecord[]) => any) | undefined;
|
|
26
26
|
"onUpdate:value"?: ((value: string[]) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
mode: RecordPickerMode;
|
|
29
28
|
disabled: boolean;
|
|
29
|
+
mode: RecordPickerMode;
|
|
30
30
|
value: string[];
|
|
31
31
|
placeholder: string;
|
|
32
32
|
allowClear: boolean;
|
|
33
33
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
34
|
-
titleOf: (record: RecordPickerRecord) => string;
|
|
35
34
|
reloadKey: number;
|
|
35
|
+
titleOf: (record: RecordPickerRecord) => string;
|
|
36
36
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
37
37
|
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
38
38
|
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
@@ -8,6 +8,10 @@ type __VLS_Props = {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
ariaLabel?: string;
|
|
10
10
|
iconName?: UiIconName;
|
|
11
|
+
/** Fixed square hit area for a compact icon-only panel action. */
|
|
12
|
+
iconOnly?: boolean;
|
|
13
|
+
/** Lightweight selected state for persistent panel tools such as search and ordering. */
|
|
14
|
+
selected?: boolean;
|
|
11
15
|
};
|
|
12
16
|
declare var __VLS_10: {};
|
|
13
17
|
type __VLS_Slots = {} & {
|
|
@@ -19,13 +23,15 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
19
23
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
20
24
|
}>, {
|
|
21
25
|
type: "default" | "primary" | "dashed" | "link" | "text";
|
|
22
|
-
title: string;
|
|
23
26
|
danger: boolean;
|
|
24
|
-
|
|
27
|
+
title: string;
|
|
25
28
|
disabled: boolean;
|
|
29
|
+
iconName: UiIconName;
|
|
30
|
+
size: "small" | "middle" | "large";
|
|
26
31
|
loading: boolean;
|
|
27
32
|
ariaLabel: string;
|
|
28
|
-
|
|
33
|
+
iconOnly: boolean;
|
|
34
|
+
selected: boolean;
|
|
29
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModuleContext } from '../web-core/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
context: ModuleContext<import('./index').QueryListRecord>;
|
|
5
|
+
recordId: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
changed: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onClose?: (() => any) | undefined;
|
|
12
|
+
onChanged?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -27,14 +27,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
27
27
|
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
28
28
|
"onSelection-resolved"?: ((record: RecordPickerRecord | undefined) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
mode: RecordPickerMode;
|
|
31
30
|
disabled: boolean;
|
|
31
|
+
mode: RecordPickerMode;
|
|
32
32
|
value: string;
|
|
33
33
|
placeholder: string;
|
|
34
34
|
allowClear: boolean;
|
|
35
35
|
filterOption: (record: RecordPickerRecord, keyword: string) => boolean;
|
|
36
|
-
titleOf: (record: RecordPickerRecord) => string;
|
|
37
36
|
reloadKey: number;
|
|
37
|
+
titleOf: (record: RecordPickerRecord) => string;
|
|
38
38
|
loadOptions: (keyword: string) => Promise<RecordPickerRecord[]>;
|
|
39
39
|
loadTree: () => Promise<WebTreeNode<RecordPickerRecord>[]>;
|
|
40
40
|
resolveOptions: (values: string[]) => Promise<RecordPickerRecord[]>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Option, OptionValue } from '../web-contracts/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
value?: OptionValue | null;
|
|
5
|
+
options: Option[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:value": (value: OptionValue | null) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:value"?: ((value: OptionValue | null) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
value: OptionValue | null;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { QueryListRecord, RecordQueryListColumn } from './recordQueryListColumnModel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
record: QueryListRecord;
|
|
4
|
+
column: RecordQueryListColumn;
|
|
5
|
+
/** Legacy per-column renderers remain an extension of the standard list cell, not of a table shell. */
|
|
6
|
+
cellRenderers?: Record<string, (record: QueryListRecord) => string>;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { QuerySchema, ResolvedPageListPersistentQueryControlDescriptor, ResolvedViewFieldDescriptor, ResolvedPageListQuerySummaryDescriptor } from '../web-contracts/index';
|
|
1
|
+
import type { QuerySchema, ResolvedPageListPersistentQueryControlDescriptor, ResolvedPageListQuerySummaryDescriptor } from '../web-contracts/index';
|
|
3
2
|
import { type ModuleContext } from '../web-core/index';
|
|
4
3
|
import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export type StandardCrudRowActionKey = 'view' | 'edit' | 'delete';
|
|
11
|
-
export interface RecordQueryListColumn {
|
|
12
|
-
key: string;
|
|
13
|
-
title: string;
|
|
14
|
-
type?: 'text' | 'enabledStatus' | 'booleanStatus' | 'tagList' | 'datetime' | 'fileSize' | 'colorPicker';
|
|
15
|
-
booleanStatus?: ResolvedViewFieldDescriptor['booleanStatus'];
|
|
16
|
-
width?: string;
|
|
17
|
-
align?: 'left' | 'center' | 'right';
|
|
18
|
-
titleField?: string;
|
|
19
|
-
/** Maximum visible lines for text cells. Defaults to one line. */
|
|
20
|
-
maxDisplayLines?: number;
|
|
21
|
-
render?: (record: QueryListRecord) => string;
|
|
22
|
-
}
|
|
23
|
-
export interface RecordQueryListCellComponent {
|
|
24
|
-
key: string;
|
|
25
|
-
component: Component;
|
|
26
|
-
}
|
|
27
|
-
type __VLS_Props = {
|
|
4
|
+
import { type QueryListRecord, type RecordQueryListCellComponent, type RecordQueryListColumn, type RecordQueryListMode, type StandardCrudRowActionKey } from './recordQueryListColumnModel';
|
|
5
|
+
export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './recordQueryListColumnModel';
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
28
9
|
context: ModuleContext<QueryListRecord>;
|
|
29
10
|
title: string;
|
|
11
|
+
/** Descriptor-owned secondary copy in the main content header. */
|
|
12
|
+
subtitle?: string;
|
|
30
13
|
columns?: RecordQueryListColumn[];
|
|
31
14
|
/** Columns appended to, or anchored around, the descriptor-owned list fields. */
|
|
32
15
|
additionalColumns?: Array<RecordQueryListColumn & {
|
|
@@ -58,6 +41,7 @@ type __VLS_Props = {
|
|
|
58
41
|
expandedRowKeys?: string[];
|
|
59
42
|
reloadKey?: number;
|
|
60
43
|
refreshTitle?: string;
|
|
44
|
+
refreshable?: boolean;
|
|
61
45
|
/** Embedded section hosts may own the visible heading while this panel keeps an icon-only refresh. */
|
|
62
46
|
showTitle?: boolean;
|
|
63
47
|
/** Lets a parent lifecycle suppress the complete operation toolbar in read mode. */
|
|
@@ -88,66 +72,121 @@ type __VLS_Props = {
|
|
|
88
72
|
emptyDescription?: string;
|
|
89
73
|
waitingDescription?: string;
|
|
90
74
|
mode?: RecordQueryListMode;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
refresh: () => void;
|
|
95
|
-
}) => unknown;
|
|
96
|
-
cell?: (props: {
|
|
97
|
-
column: RecordQueryListColumn;
|
|
98
|
-
record: QueryListRecord;
|
|
99
|
-
}) => unknown;
|
|
100
|
-
rowActions?: (props: {
|
|
101
|
-
record: QueryListRecord;
|
|
102
|
-
}) => unknown;
|
|
103
|
-
expandedRow?: (props: {
|
|
104
|
-
record: QueryListRecord;
|
|
105
|
-
rowKey: string;
|
|
106
|
-
}) => unknown;
|
|
107
|
-
};
|
|
108
|
-
declare function refresh(): void;
|
|
109
|
-
declare function clearSelection(): void;
|
|
110
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
111
|
-
clearSelection: typeof clearSelection;
|
|
112
|
-
refresh: typeof refresh;
|
|
75
|
+
}, {
|
|
76
|
+
clearSelection: () => void;
|
|
77
|
+
refresh: () => void;
|
|
113
78
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
114
79
|
action: (action: RecordActionItem, event: MouseEvent) => any;
|
|
115
80
|
select: (record: QueryListRecord) => any;
|
|
81
|
+
loaded: (records: QueryListRecord[]) => any;
|
|
116
82
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
117
83
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
118
|
-
loaded: (records: QueryListRecord[]) => any;
|
|
119
84
|
restored: () => any;
|
|
85
|
+
pageSizeChange: (pageSize: number) => any;
|
|
120
86
|
batchAction: (action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
121
87
|
rowAction: (action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any;
|
|
122
88
|
modeChange: (mode: RecordQueryListMode) => any;
|
|
123
|
-
|
|
124
|
-
|
|
89
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
90
|
+
context: ModuleContext<QueryListRecord>;
|
|
91
|
+
title: string;
|
|
92
|
+
/** Descriptor-owned secondary copy in the main content header. */
|
|
93
|
+
subtitle?: string;
|
|
94
|
+
columns?: RecordQueryListColumn[];
|
|
95
|
+
/** Columns appended to, or anchored around, the descriptor-owned list fields. */
|
|
96
|
+
additionalColumns?: Array<RecordQueryListColumn & {
|
|
97
|
+
before?: string;
|
|
98
|
+
after?: string;
|
|
99
|
+
}>;
|
|
100
|
+
/** Vue cell components are deliberately constrained to cells; they do not own the table shell. */
|
|
101
|
+
cellComponents?: RecordQueryListCellComponent[];
|
|
102
|
+
actions?: RecordActionItem[];
|
|
103
|
+
extraActions?: RecordActionItem[];
|
|
104
|
+
batchActions?: RecordActionItem[];
|
|
105
|
+
standardCrudActions?: boolean;
|
|
106
|
+
standardCrudRowActions?: boolean;
|
|
107
|
+
/** Limits built-in row operations without replacing the platform list interaction. */
|
|
108
|
+
standardCrudRowActionKeys?: StandardCrudRowActionKey[];
|
|
109
|
+
/** Optional authorization-code overrides for platform built-in row operations. */
|
|
110
|
+
standardCrudRowActionCodes?: Partial<Record<StandardCrudRowActionKey, string>>;
|
|
111
|
+
rowActionsOf?: (record: QueryListRecord) => RecordActionItem[];
|
|
112
|
+
extraRowActionsOf?: (record: QueryListRecord) => RecordActionItem[];
|
|
113
|
+
rowActionStateOf?: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
114
|
+
rowActionsTitle?: string;
|
|
115
|
+
/** Allows an embedding lifecycle to suppress an otherwise-declared row action slot. */
|
|
116
|
+
rowActionsVisible?: boolean;
|
|
117
|
+
/** Width of the fixed right-side action column. Defaults to the platform compact width. */
|
|
118
|
+
actionColumnWidth?: string | number;
|
|
119
|
+
cellRenderers?: Record<string, (record: QueryListRecord) => string>;
|
|
120
|
+
rowKey?: string;
|
|
121
|
+
selectedKey?: string;
|
|
122
|
+
expandedRowKeys?: string[];
|
|
123
|
+
reloadKey?: number;
|
|
124
|
+
refreshTitle?: string;
|
|
125
|
+
refreshable?: boolean;
|
|
126
|
+
/** Embedded section hosts may own the visible heading while this panel keeps an icon-only refresh. */
|
|
127
|
+
showTitle?: boolean;
|
|
128
|
+
/** Lets a parent lifecycle suppress the complete operation toolbar in read mode. */
|
|
129
|
+
headerVisible?: boolean;
|
|
130
|
+
/** Recycle-bin navigation is operational chrome and may be hidden by an embedding lifecycle. */
|
|
131
|
+
showRecycleBin?: boolean;
|
|
132
|
+
/** Removes the standalone card shell when a section already owns the visual boundary. */
|
|
133
|
+
embedded?: boolean;
|
|
134
|
+
pageSize?: number;
|
|
135
|
+
pageSizeOptions?: number[];
|
|
136
|
+
uiConfigId?: string;
|
|
137
|
+
queryTemplateId?: string;
|
|
138
|
+
/** A source-owned query schema avoids forcing embedded relation lists through target-module access. */
|
|
139
|
+
querySchema?: QuerySchema;
|
|
140
|
+
/** Read-only relation runners may deliberately suppress ad-hoc query controls. */
|
|
141
|
+
queryable?: boolean;
|
|
142
|
+
/** A relation query can intentionally be a bounded, non-pageable result. */
|
|
143
|
+
pageable?: boolean;
|
|
144
|
+
ready?: boolean;
|
|
145
|
+
externalQueryValues?: Record<string, unknown>;
|
|
146
|
+
/** Descriptor-owned controls rendered after quick search and before advanced filtering. */
|
|
147
|
+
persistentQueryControls?: ResolvedPageListPersistentQueryControlDescriptor[];
|
|
148
|
+
/** Descriptor-owned result-set facts rendered at the left of the list footer. */
|
|
149
|
+
querySummaries?: ResolvedPageListQuerySummaryDescriptor[];
|
|
150
|
+
/** Descriptor-owned external criteria that must be exposed by the query schema. */
|
|
151
|
+
requiredExternalCriteriaKeys?: string[];
|
|
152
|
+
quickSearchPlaceholder?: string;
|
|
153
|
+
emptyDescription?: string;
|
|
154
|
+
waitingDescription?: string;
|
|
155
|
+
mode?: RecordQueryListMode;
|
|
156
|
+
}> & Readonly<{
|
|
125
157
|
onAction?: ((action: RecordActionItem, event: MouseEvent) => any) | undefined;
|
|
126
158
|
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
159
|
+
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
127
160
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
128
161
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
129
|
-
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
130
162
|
onRestored?: (() => any) | undefined;
|
|
163
|
+
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
131
164
|
onBatchAction?: ((action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
132
165
|
onRowAction?: ((action: ResolvedRecordActionItem, record: QueryListRecord, event?: MouseEvent | undefined) => any) | undefined;
|
|
133
166
|
onModeChange?: ((mode: RecordQueryListMode) => any) | undefined;
|
|
134
|
-
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
135
167
|
}>, {
|
|
136
168
|
uiConfigId: string;
|
|
137
169
|
mode: RecordQueryListMode;
|
|
138
170
|
actions: RecordActionItem[];
|
|
171
|
+
subtitle: string;
|
|
139
172
|
selectedKey: string;
|
|
173
|
+
reloadKey: number;
|
|
174
|
+
emptyDescription: string;
|
|
140
175
|
columns: RecordQueryListColumn[];
|
|
141
176
|
rowKey: string;
|
|
142
177
|
expandedRowKeys: string[];
|
|
143
178
|
actionColumnWidth: string | number;
|
|
144
|
-
emptyDescription: string;
|
|
145
179
|
pageSize: number;
|
|
146
180
|
pageSizeOptions: number[];
|
|
147
181
|
queryTemplateId: string;
|
|
148
|
-
reloadKey: number;
|
|
149
182
|
externalQueryValues: Record<string, unknown>;
|
|
150
183
|
ready: boolean;
|
|
184
|
+
headerVisible: boolean;
|
|
185
|
+
showTitle: boolean;
|
|
186
|
+
quickSearchPlaceholder: string;
|
|
187
|
+
embedded: boolean;
|
|
188
|
+
pageable: boolean;
|
|
189
|
+
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
151
190
|
additionalColumns: Array<RecordQueryListColumn & {
|
|
152
191
|
before?: string;
|
|
153
192
|
after?: string;
|
|
@@ -164,24 +203,31 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
164
203
|
rowActionStateOf: (record: QueryListRecord, action: RecordActionItem) => Partial<RecordActionItem> | undefined;
|
|
165
204
|
rowActionsTitle: string;
|
|
166
205
|
rowActionsVisible: boolean;
|
|
167
|
-
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
168
206
|
refreshTitle: string;
|
|
169
|
-
|
|
170
|
-
headerVisible: boolean;
|
|
207
|
+
refreshable: boolean;
|
|
171
208
|
showRecycleBin: boolean;
|
|
172
|
-
embedded: boolean;
|
|
173
209
|
querySchema: QuerySchema;
|
|
174
210
|
queryable: boolean;
|
|
175
|
-
pageable: boolean;
|
|
176
211
|
persistentQueryControls: ResolvedPageListPersistentQueryControlDescriptor[];
|
|
177
212
|
querySummaries: ResolvedPageListQuerySummaryDescriptor[];
|
|
178
213
|
requiredExternalCriteriaKeys: string[];
|
|
179
|
-
quickSearchPlaceholder: string;
|
|
180
214
|
waitingDescription: string;
|
|
181
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
215
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
216
|
+
toolbarActions?: (props: {
|
|
217
|
+
refresh: () => void;
|
|
218
|
+
}) => unknown;
|
|
219
|
+
cell?: (props: {
|
|
220
|
+
column: RecordQueryListColumn;
|
|
221
|
+
record: QueryListRecord;
|
|
222
|
+
}) => unknown;
|
|
223
|
+
rowActions?: (props: {
|
|
224
|
+
record: QueryListRecord;
|
|
225
|
+
}) => unknown;
|
|
226
|
+
expandedRow?: (props: {
|
|
227
|
+
record: QueryListRecord;
|
|
228
|
+
rowKey: string;
|
|
229
|
+
}) => unknown;
|
|
230
|
+
}>;
|
|
185
231
|
type __VLS_WithSlots<T, S> = T & {
|
|
186
232
|
new (): {
|
|
187
233
|
$slots: S;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { UiDataTableColumn, UiDataTableRecord, UiDataTableSelection, UiIconName } from '../vue-ui-antdv/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
headerVisible?: boolean;
|
|
6
|
+
showTitle?: boolean;
|
|
7
|
+
titleActionIcon?: UiIconName;
|
|
8
|
+
titleActionTitle?: string;
|
|
9
|
+
titleActionDisabled?: boolean;
|
|
10
|
+
quickSearchVisible?: boolean;
|
|
11
|
+
quickSearchValue?: string;
|
|
12
|
+
quickSearchPlaceholder?: string;
|
|
13
|
+
quickSearchDisabled?: boolean;
|
|
14
|
+
columns: UiDataTableColumn[];
|
|
15
|
+
rows: UiDataTableRecord[];
|
|
16
|
+
rowKey?: string | ((record: UiDataTableRecord) => string);
|
|
17
|
+
selection?: UiDataTableSelection;
|
|
18
|
+
selectedRowKey?: string;
|
|
19
|
+
expandedRowKeys?: string[];
|
|
20
|
+
clickableRows?: boolean;
|
|
21
|
+
fillHeight?: boolean;
|
|
22
|
+
horizontalScroll?: boolean;
|
|
23
|
+
rowMuted?: (record: UiDataTableRecord) => boolean;
|
|
24
|
+
showActionColumn?: boolean;
|
|
25
|
+
actionColumnTitle?: string;
|
|
26
|
+
actionColumnWidth?: string | number;
|
|
27
|
+
actionColumnFixed?: boolean;
|
|
28
|
+
tableVisible?: boolean;
|
|
29
|
+
embedded?: boolean;
|
|
30
|
+
chromeFree?: boolean;
|
|
31
|
+
/** The surface renders pagination only; its owner keeps query state and data loading. */
|
|
32
|
+
pageable?: boolean;
|
|
33
|
+
total?: number;
|
|
34
|
+
pageNum?: number;
|
|
35
|
+
pages?: number;
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
pageSizeOptions?: number[];
|
|
38
|
+
paginationDisabled?: boolean;
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Slots = {
|
|
41
|
+
operations?: () => unknown;
|
|
42
|
+
persistentQueries?: () => unknown;
|
|
43
|
+
queryControls?: () => unknown;
|
|
44
|
+
conditions?: () => unknown;
|
|
45
|
+
beforeTable?: () => unknown;
|
|
46
|
+
header?: (props: {
|
|
47
|
+
column: UiDataTableColumn;
|
|
48
|
+
}) => unknown;
|
|
49
|
+
cell?: (props: {
|
|
50
|
+
column: UiDataTableColumn;
|
|
51
|
+
record: UiDataTableRecord;
|
|
52
|
+
value: unknown;
|
|
53
|
+
}) => unknown;
|
|
54
|
+
rowActions?: (props: {
|
|
55
|
+
record: UiDataTableRecord;
|
|
56
|
+
rowKey: string;
|
|
57
|
+
}) => unknown;
|
|
58
|
+
expandedRow?: (props: {
|
|
59
|
+
record: UiDataTableRecord;
|
|
60
|
+
rowKey: string;
|
|
61
|
+
}) => unknown;
|
|
62
|
+
footer?: () => unknown;
|
|
63
|
+
};
|
|
64
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
rowClick: (record: UiDataTableRecord, event: MouseEvent) => any;
|
|
66
|
+
rowDblclick: (record: UiDataTableRecord, event: MouseEvent) => any;
|
|
67
|
+
rowExpand: (record: UiDataTableRecord, expanded: boolean) => any;
|
|
68
|
+
quickSearch: (value: string) => any;
|
|
69
|
+
titleAction: () => any;
|
|
70
|
+
"update:quickSearchValue": (value: string) => any;
|
|
71
|
+
pageChange: (pageNum: number) => any;
|
|
72
|
+
pageSizeChange: (pageSize: number) => any;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
74
|
+
onRowClick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
|
|
75
|
+
onRowDblclick?: ((record: UiDataTableRecord, event: MouseEvent) => any) | undefined;
|
|
76
|
+
onRowExpand?: ((record: UiDataTableRecord, expanded: boolean) => any) | undefined;
|
|
77
|
+
onQuickSearch?: ((value: string) => any) | undefined;
|
|
78
|
+
onTitleAction?: (() => any) | undefined;
|
|
79
|
+
"onUpdate:quickSearchValue"?: ((value: string) => any) | undefined;
|
|
80
|
+
onPageChange?: ((pageNum: number) => any) | undefined;
|
|
81
|
+
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
title: string;
|
|
84
|
+
subtitle: string;
|
|
85
|
+
selection: UiDataTableSelection;
|
|
86
|
+
rowKey: string | ((record: UiDataTableRecord) => string);
|
|
87
|
+
selectedRowKey: string;
|
|
88
|
+
expandedRowKeys: string[];
|
|
89
|
+
clickableRows: boolean;
|
|
90
|
+
fillHeight: boolean;
|
|
91
|
+
horizontalScroll: boolean;
|
|
92
|
+
rowMuted: (record: UiDataTableRecord) => boolean;
|
|
93
|
+
showActionColumn: boolean;
|
|
94
|
+
actionColumnTitle: string;
|
|
95
|
+
actionColumnWidth: string | number;
|
|
96
|
+
actionColumnFixed: boolean;
|
|
97
|
+
total: number;
|
|
98
|
+
pageSize: number;
|
|
99
|
+
pageSizeOptions: number[];
|
|
100
|
+
pageNum: number;
|
|
101
|
+
titleActionIcon: UiIconName;
|
|
102
|
+
titleActionTitle: string;
|
|
103
|
+
titleActionDisabled: boolean;
|
|
104
|
+
headerVisible: boolean;
|
|
105
|
+
showTitle: boolean;
|
|
106
|
+
quickSearchVisible: boolean;
|
|
107
|
+
quickSearchValue: string;
|
|
108
|
+
quickSearchPlaceholder: string;
|
|
109
|
+
quickSearchDisabled: boolean;
|
|
110
|
+
tableVisible: boolean;
|
|
111
|
+
embedded: boolean;
|
|
112
|
+
chromeFree: boolean;
|
|
113
|
+
pageable: boolean;
|
|
114
|
+
pages: number;
|
|
115
|
+
paginationDisabled: boolean;
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
117
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
118
|
+
declare const _default: typeof __VLS_export;
|
|
119
|
+
export default _default;
|
|
120
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
121
|
+
new (): {
|
|
122
|
+
$slots: S;
|
|
123
|
+
};
|
|
124
|
+
};
|