@ximatai/muyun-web-app 0.26.13 → 0.26.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-BUg5WTm-.js} +1 -1
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-DBNtvmIy.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-Bq1VO51Y.js} +165 -165
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-B8u4_erd.js} +3570 -2877
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-BrtH3ptj.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-6LW3tLA1.js} +276 -276
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-s3X5CdHB.js} +47 -80
- package/dist/index.css +1 -1
- package/dist/index.js +400 -400
- package/dist/{moduleGovernanceWorkspaceView-4V_UW-Bt.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Dt859Hbr.js} +3449 -2676
- package/dist/platform-workbench-DfqFnlm-.js +14701 -0
- package/dist/{http-B0TC0pJB.js → sse-mGbuCAax.js} +41 -11
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +218 -8
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +230 -18
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +110 -5
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +8 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +4 -1
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +7 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +36 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +2 -0
- package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
- package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +7 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +12 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataNaming.d.ts +4 -0
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/web-contracts/assistant.d.ts +59 -0
- package/dist/types/web-contracts/index.d.ts +1 -0
- package/dist/types/web-core/assistantRuntime.d.ts +77 -0
- package/dist/types/web-core/assistantSurface.d.ts +92 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +8 -0
- package/dist/types/web-core/index.d.ts +4 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-DijY4n32.js} +554 -554
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
|
@@ -271,9 +271,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
271
271
|
}>) => void>;
|
|
272
272
|
selectNavigatorRecord: import("vue").WritableComputedRef<(levelKey: string, record: {
|
|
273
273
|
id?: string;
|
|
274
|
-
}, source?: "user" | "entry") => void, (levelKey: string, record: {
|
|
274
|
+
}, source?: "user" | "assistant" | "entry") => void, (levelKey: string, record: {
|
|
275
275
|
id?: string;
|
|
276
|
-
}, source?: "user" | "entry") => void>;
|
|
276
|
+
}, source?: "user" | "assistant" | "entry") => void>;
|
|
277
277
|
clearNavigatorRecord: import("vue").WritableComputedRef<(levelKey: string) => void, (levelKey: string) => void>;
|
|
278
278
|
handleNavigatorInlineAction: import("vue").WritableComputedRef<(level: import("./composables/useNavigatorRuntime.ts").NavigatorLevelRuntime, action: import("../web-contracts/index.ts").RecordInlineAction, record: {
|
|
279
279
|
id?: string;
|
|
@@ -337,7 +337,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
337
337
|
navigatorManagementEnabledDisabled: import("vue").WritableComputedRef<boolean, boolean>;
|
|
338
338
|
navigatorManagementEnabledDisabledReason: import("vue").WritableComputedRef<string | undefined, string | undefined>;
|
|
339
339
|
navigatorManagementTogglingEnabled: import("vue").WritableComputedRef<boolean, boolean>;
|
|
340
|
-
closeNavigatorManagementEditor: import("vue").WritableComputedRef<() => void, () => void>;
|
|
340
|
+
closeNavigatorManagementEditor: import("vue").WritableComputedRef<(source?: "user" | "background") => void, (source?: "user" | "background") => void>;
|
|
341
341
|
saveNavigatorRecord: import("vue").WritableComputedRef<() => Promise<void>, () => Promise<void>>;
|
|
342
342
|
toggleNavigatorManagementEnabled: import("vue").WritableComputedRef<(enabled: boolean) => Promise<void>, (enabled: boolean) => Promise<void>>;
|
|
343
343
|
updateNavigatorManagementDraft: import("vue").WritableComputedRef<(fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void, (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void>;
|
|
@@ -362,6 +362,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
362
362
|
detailDirty: import("vue").WritableComputedRef<boolean, boolean>;
|
|
363
363
|
sessionDirty: import("vue").WritableComputedRef<boolean, boolean>;
|
|
364
364
|
updateDraftField: import("vue").WritableComputedRef<(fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void, (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void>;
|
|
365
|
+
updateDraftFields: import("vue").WritableComputedRef<(changes: Array<{
|
|
366
|
+
fieldName: string;
|
|
367
|
+
value: import("../platform-components/index").RecordFormFieldValue;
|
|
368
|
+
}>, source?: "user" | "assistant") => void, (changes: Array<{
|
|
369
|
+
fieldName: string;
|
|
370
|
+
value: import("../platform-components/index").RecordFormFieldValue;
|
|
371
|
+
}>, source?: "user" | "assistant") => void>;
|
|
372
|
+
updateDraftReference: import("vue").WritableComputedRef<(fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant") => void, (fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant") => void>;
|
|
365
373
|
showStatusSwitch: import("vue").WritableComputedRef<boolean, boolean>;
|
|
366
374
|
canToggleEnabled: import("vue").WritableComputedRef<boolean, boolean>;
|
|
367
375
|
toggleEnabledDisabledReason: import("vue").WritableComputedRef<string | undefined, string | undefined>;
|
|
@@ -1582,6 +1590,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1582
1590
|
} | undefined;
|
|
1583
1591
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>>;
|
|
1584
1592
|
formSessionKey: import("vue").WritableComputedRef<number, number>;
|
|
1593
|
+
assistantContextRevision: import("vue").WritableComputedRef<number, number>;
|
|
1594
|
+
assistantInteractionRevision: import("vue").WritableComputedRef<number, number>;
|
|
1595
|
+
listQueryController: import("vue").WritableComputedRef<import("../platform-components/index").RecordQueryListQueryController | undefined, import("../platform-components/index").RecordQueryListQueryController | undefined>;
|
|
1596
|
+
treeQueryController: import("vue").WritableComputedRef<import("../platform-components/index").RecordTreeQueryController | undefined, import("../platform-components/index").RecordTreeQueryController | undefined>;
|
|
1597
|
+
bindListQueryController: import("vue").WritableComputedRef<(controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void, (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void>;
|
|
1598
|
+
bindTreeQueryController: import("vue").WritableComputedRef<(controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void, (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void>;
|
|
1585
1599
|
formValidationRequestKey: import("vue").WritableComputedRef<number, number>;
|
|
1586
1600
|
referencePickerConfigs: import("vue").WritableComputedRef<Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>, Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>>;
|
|
1587
1601
|
runtimeUiDescriptor: import("vue").WritableComputedRef<import("../web-contracts/index.ts").ResolvedModuleUiDescriptor | undefined, import("../web-contracts/index.ts").ResolvedModuleUiDescriptor | undefined>;
|
|
@@ -1608,7 +1622,188 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1608
1622
|
key?: string;
|
|
1609
1623
|
actionCode?: string;
|
|
1610
1624
|
}) => void>;
|
|
1611
|
-
createRootRecord: import("vue").WritableComputedRef<() =>
|
|
1625
|
+
createRootRecord: import("vue").WritableComputedRef<() => Promise<boolean>, () => Promise<boolean>>;
|
|
1626
|
+
assistantRecordCreationReady: import("vue").WritableComputedRef<() => boolean, () => boolean>;
|
|
1627
|
+
prepareAssistantCreate: import("vue").WritableComputedRef<() => Promise<() => {
|
|
1628
|
+
editorMode: import("./recordDetailController.ts").RecordDetailMode;
|
|
1629
|
+
recordId: string | undefined;
|
|
1630
|
+
editable: boolean;
|
|
1631
|
+
dirty: boolean;
|
|
1632
|
+
}>, () => Promise<() => {
|
|
1633
|
+
editorMode: import("./recordDetailController.ts").RecordDetailMode;
|
|
1634
|
+
recordId: string | undefined;
|
|
1635
|
+
editable: boolean;
|
|
1636
|
+
dirty: boolean;
|
|
1637
|
+
}>>;
|
|
1638
|
+
prepareAssistantEdit: import("vue").WritableComputedRef<(recordId: string) => Promise<() => {
|
|
1639
|
+
editorMode: import("./recordDetailController.ts").RecordDetailMode;
|
|
1640
|
+
recordId: string | undefined;
|
|
1641
|
+
editable: boolean;
|
|
1642
|
+
dirty: boolean;
|
|
1643
|
+
}>, (recordId: string) => Promise<() => {
|
|
1644
|
+
editorMode: import("./recordDetailController.ts").RecordDetailMode;
|
|
1645
|
+
recordId: string | undefined;
|
|
1646
|
+
editable: boolean;
|
|
1647
|
+
dirty: boolean;
|
|
1648
|
+
}>>;
|
|
1649
|
+
assistantNavigatorScopes: import("vue").WritableComputedRef<() => {
|
|
1650
|
+
descriptor: {
|
|
1651
|
+
key: string;
|
|
1652
|
+
kind: "TREE" | "MICRO_LIST";
|
|
1653
|
+
sourceModuleAlias: string;
|
|
1654
|
+
title: string;
|
|
1655
|
+
searchPlaceholder: string;
|
|
1656
|
+
secondaryField?: string | undefined;
|
|
1657
|
+
singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
|
|
1658
|
+
initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
|
|
1659
|
+
sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
|
|
1660
|
+
management?: {
|
|
1661
|
+
editorSurface?: string | undefined;
|
|
1662
|
+
} | null | undefined;
|
|
1663
|
+
};
|
|
1664
|
+
context: {
|
|
1665
|
+
moduleAlias: string;
|
|
1666
|
+
http: {
|
|
1667
|
+
request: <T>(options: import("../web-core/http.ts").HttpRequestOptions) => Promise<T>;
|
|
1668
|
+
};
|
|
1669
|
+
crud: {
|
|
1670
|
+
querySchema: (options?: import("../web-core/index.ts").QuerySchemaRequestOptions) => Promise<import("../web-contracts/index.ts").QuerySchema>;
|
|
1671
|
+
query: (request?: import("../web-contracts/index.ts").WebQueryRequest) => Promise<import("../web-contracts/index.ts").WebPageResponse<QueryListRecord>>;
|
|
1672
|
+
view: (id: string) => Promise<QueryListRecord>;
|
|
1673
|
+
insert: (record: QueryListRecord) => Promise<import("../web-core/index.ts").StaticRecordMutationResult<QueryListRecord>>;
|
|
1674
|
+
update: (id: string, record: QueryListRecord) => Promise<import("../web-core/index.ts").StaticRecordMutationResult<QueryListRecord>>;
|
|
1675
|
+
delete: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1676
|
+
enable: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1677
|
+
disable: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1678
|
+
sort?: ((id: string, request: import("../web-contracts/index.ts").SortRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>) | undefined;
|
|
1679
|
+
};
|
|
1680
|
+
runtime: {
|
|
1681
|
+
ready: {
|
|
1682
|
+
then: <TResult1 = import("../web-core/index.ts").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core/index.ts").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1683
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core/index.ts").ModuleRuntimeContext | TResult>;
|
|
1684
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core/index.ts").ModuleRuntimeContext>;
|
|
1685
|
+
readonly [Symbol.toStringTag]: string;
|
|
1686
|
+
};
|
|
1687
|
+
load: () => Promise<import("../web-core/index.ts").ModuleRuntimeContext>;
|
|
1688
|
+
snapshot: () => import("../web-core/index.ts").ModuleRuntimeContext | undefined;
|
|
1689
|
+
error: () => import("../web-core/errors.ts").AppError | undefined;
|
|
1690
|
+
hasAbility: (ability: import("../web-core/index.ts").ModuleAbilityCode | string) => boolean | undefined;
|
|
1691
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index.ts").ModuleActionState | undefined;
|
|
1692
|
+
runtimeAction: (actionCode: string) => import("../web-core/index.ts").ModuleRuntimeAction | undefined;
|
|
1693
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1694
|
+
recordActions: (recordId: string) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability>;
|
|
1695
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability[]>) | undefined;
|
|
1696
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core/index.ts").ModuleRecordActionAvailability | undefined;
|
|
1697
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1698
|
+
};
|
|
1699
|
+
abilities: {
|
|
1700
|
+
crud: () => import("../web-core/index.ts").ModuleCrudClient<QueryListRecord>;
|
|
1701
|
+
tree: () => import("../web-core/index.ts").ModuleTreeClient<QueryListRecord>;
|
|
1702
|
+
enable: () => import("../web-core/index.ts").ModuleEnableClient;
|
|
1703
|
+
tryCrud: () => import("../web-core/index.ts").ModuleCrudClient<QueryListRecord> | undefined;
|
|
1704
|
+
tryTree: () => import("../web-core/index.ts").ModuleTreeClient<QueryListRecord> | undefined;
|
|
1705
|
+
tryEnable: () => import("../web-core/index.ts").ModuleEnableClient | undefined;
|
|
1706
|
+
has: (ability: import("../web-core/index.ts").ModuleAbilityCode | string) => boolean | undefined;
|
|
1707
|
+
hasCrud: () => boolean | undefined;
|
|
1708
|
+
hasTree: () => boolean | undefined;
|
|
1709
|
+
hasEnable: () => boolean | undefined;
|
|
1710
|
+
};
|
|
1711
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index.ts").ModuleActionState | undefined;
|
|
1712
|
+
runtimeAction: (actionCode: string) => import("../web-core/index.ts").ModuleRuntimeAction | undefined;
|
|
1713
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1714
|
+
recordActions: (recordId: string) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability>;
|
|
1715
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability[]>) | undefined;
|
|
1716
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core/index.ts").ModuleRecordActionAvailability | undefined;
|
|
1717
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1718
|
+
};
|
|
1719
|
+
tree: boolean;
|
|
1720
|
+
sort: {
|
|
1721
|
+
visible: boolean;
|
|
1722
|
+
enabled: boolean;
|
|
1723
|
+
active?: boolean | undefined;
|
|
1724
|
+
disabledReason?: string | undefined;
|
|
1725
|
+
};
|
|
1726
|
+
}[], () => {
|
|
1727
|
+
descriptor: {
|
|
1728
|
+
key: string;
|
|
1729
|
+
kind: "TREE" | "MICRO_LIST";
|
|
1730
|
+
sourceModuleAlias: string;
|
|
1731
|
+
title: string;
|
|
1732
|
+
searchPlaceholder: string;
|
|
1733
|
+
secondaryField?: string | undefined;
|
|
1734
|
+
singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
|
|
1735
|
+
initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
|
|
1736
|
+
sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
|
|
1737
|
+
management?: {
|
|
1738
|
+
editorSurface?: string | undefined;
|
|
1739
|
+
} | null | undefined;
|
|
1740
|
+
};
|
|
1741
|
+
context: {
|
|
1742
|
+
moduleAlias: string;
|
|
1743
|
+
http: {
|
|
1744
|
+
request: <T>(options: import("../web-core/http.ts").HttpRequestOptions) => Promise<T>;
|
|
1745
|
+
};
|
|
1746
|
+
crud: {
|
|
1747
|
+
querySchema: (options?: import("../web-core/index.ts").QuerySchemaRequestOptions) => Promise<import("../web-contracts/index.ts").QuerySchema>;
|
|
1748
|
+
query: (request?: import("../web-contracts/index.ts").WebQueryRequest) => Promise<import("../web-contracts/index.ts").WebPageResponse<QueryListRecord>>;
|
|
1749
|
+
view: (id: string) => Promise<QueryListRecord>;
|
|
1750
|
+
insert: (record: QueryListRecord) => Promise<import("../web-core/index.ts").StaticRecordMutationResult<QueryListRecord>>;
|
|
1751
|
+
update: (id: string, record: QueryListRecord) => Promise<import("../web-core/index.ts").StaticRecordMutationResult<QueryListRecord>>;
|
|
1752
|
+
delete: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1753
|
+
enable: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1754
|
+
disable: (id: string, request: import("../web-core/index.ts").RecordActionRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>;
|
|
1755
|
+
sort?: ((id: string, request: import("../web-contracts/index.ts").SortRequest) => Promise<import("../web-core/index.ts").StaticCountMutationResult>) | undefined;
|
|
1756
|
+
};
|
|
1757
|
+
runtime: {
|
|
1758
|
+
ready: {
|
|
1759
|
+
then: <TResult1 = import("../web-core/index.ts").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core/index.ts").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1760
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core/index.ts").ModuleRuntimeContext | TResult>;
|
|
1761
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core/index.ts").ModuleRuntimeContext>;
|
|
1762
|
+
readonly [Symbol.toStringTag]: string;
|
|
1763
|
+
};
|
|
1764
|
+
load: () => Promise<import("../web-core/index.ts").ModuleRuntimeContext>;
|
|
1765
|
+
snapshot: () => import("../web-core/index.ts").ModuleRuntimeContext | undefined;
|
|
1766
|
+
error: () => import("../web-core/errors.ts").AppError | undefined;
|
|
1767
|
+
hasAbility: (ability: import("../web-core/index.ts").ModuleAbilityCode | string) => boolean | undefined;
|
|
1768
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index.ts").ModuleActionState | undefined;
|
|
1769
|
+
runtimeAction: (actionCode: string) => import("../web-core/index.ts").ModuleRuntimeAction | undefined;
|
|
1770
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1771
|
+
recordActions: (recordId: string) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability>;
|
|
1772
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability[]>) | undefined;
|
|
1773
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core/index.ts").ModuleRecordActionAvailability | undefined;
|
|
1774
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1775
|
+
};
|
|
1776
|
+
abilities: {
|
|
1777
|
+
crud: () => import("../web-core/index.ts").ModuleCrudClient<QueryListRecord>;
|
|
1778
|
+
tree: () => import("../web-core/index.ts").ModuleTreeClient<QueryListRecord>;
|
|
1779
|
+
enable: () => import("../web-core/index.ts").ModuleEnableClient;
|
|
1780
|
+
tryCrud: () => import("../web-core/index.ts").ModuleCrudClient<QueryListRecord> | undefined;
|
|
1781
|
+
tryTree: () => import("../web-core/index.ts").ModuleTreeClient<QueryListRecord> | undefined;
|
|
1782
|
+
tryEnable: () => import("../web-core/index.ts").ModuleEnableClient | undefined;
|
|
1783
|
+
has: (ability: import("../web-core/index.ts").ModuleAbilityCode | string) => boolean | undefined;
|
|
1784
|
+
hasCrud: () => boolean | undefined;
|
|
1785
|
+
hasTree: () => boolean | undefined;
|
|
1786
|
+
hasEnable: () => boolean | undefined;
|
|
1787
|
+
};
|
|
1788
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index.ts").ModuleActionState | undefined;
|
|
1789
|
+
runtimeAction: (actionCode: string) => import("../web-core/index.ts").ModuleRuntimeAction | undefined;
|
|
1790
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1791
|
+
recordActions: (recordId: string) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability>;
|
|
1792
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core/index.ts").ModuleRecordActionAvailability[]>) | undefined;
|
|
1793
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core/index.ts").ModuleRecordActionAvailability | undefined;
|
|
1794
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1795
|
+
};
|
|
1796
|
+
tree: boolean;
|
|
1797
|
+
sort: {
|
|
1798
|
+
visible: boolean;
|
|
1799
|
+
enabled: boolean;
|
|
1800
|
+
active?: boolean | undefined;
|
|
1801
|
+
disabledReason?: string | undefined;
|
|
1802
|
+
};
|
|
1803
|
+
}[]>;
|
|
1804
|
+
assistantNavigatorScopeRevision: import("vue").WritableComputedRef<(levelKey: string) => string, (levelKey: string) => string>;
|
|
1805
|
+
applyAssistantNavigatorSelection: import("vue").WritableComputedRef<(levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean, (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean>;
|
|
1806
|
+
settleAssistantPageState: import("vue").WritableComputedRef<(signal: AbortSignal) => Promise<void>, (signal: AbortSignal) => Promise<void>>;
|
|
1612
1807
|
hasCardAssistantAt: import("vue").WritableComputedRef<(boundary: "inside" | "outside", position: "top" | "bottom") => boolean, (boundary: "inside" | "outside", position: "top" | "bottom") => boolean>;
|
|
1613
1808
|
enhancementCardAssistant: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageCardAssistant | undefined, import("./modulePageEnhancements.ts").ModulePageCardAssistant | undefined>;
|
|
1614
1809
|
cardAssistantContext: import("vue").WritableComputedRef<import("./modulePageEnhancements.ts").ModulePageCardAssistantContext | undefined, import("./modulePageEnhancements.ts").ModulePageCardAssistantContext | undefined>;
|
|
@@ -1894,7 +2089,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1894
2089
|
selectedTreeRecord: import("vue").WritableComputedRef<QueryListRecord | undefined, QueryListRecord | undefined>;
|
|
1895
2090
|
mainTreeTitle: import("vue").WritableComputedRef<(record: object) => string, (record: object) => string>;
|
|
1896
2091
|
mainTreeSecondary: import("vue").WritableComputedRef<(record: object) => string | undefined, (record: object) => string | undefined>;
|
|
1897
|
-
selectTreeRecord: import("vue").WritableComputedRef<(record: unknown) => void, (record: unknown) => void>;
|
|
2092
|
+
selectTreeRecord: import("vue").WritableComputedRef<(record: unknown, source?: "user" | "assistant" | "background") => void, (record: unknown, source?: "user" | "assistant" | "background") => void>;
|
|
1898
2093
|
clearTreeRecordSelection: import("vue").WritableComputedRef<() => void, () => void>;
|
|
1899
2094
|
handleTreeLoaded: import("vue").WritableComputedRef<(records: unknown[]) => void, (records: unknown[]) => void>;
|
|
1900
2095
|
handleTreeSorted: import("vue").WritableComputedRef<() => void, () => void>;
|
|
@@ -2106,6 +2301,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2106
2301
|
mutedOf?: (record: CrudRecordListBase) => boolean;
|
|
2107
2302
|
mode?: import("../platform-components/CrudRecordListExplorer.vue").CrudRecordListMode;
|
|
2108
2303
|
sorting?: boolean;
|
|
2304
|
+
queryQuickSearchEnabled?: boolean;
|
|
2109
2305
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2110
2306
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any;
|
|
2111
2307
|
select: (record: CrudRecordListBase) => any;
|
|
@@ -2114,6 +2310,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2114
2310
|
restored: () => any;
|
|
2115
2311
|
recycleBinSummary: (total: number | undefined) => any;
|
|
2116
2312
|
sorted: () => any;
|
|
2313
|
+
"update:keyword": (value: string) => any;
|
|
2314
|
+
queryControllerChange: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any;
|
|
2117
2315
|
}, string, import("vue").PublicProps, Readonly<{
|
|
2118
2316
|
context: import("../web-core/index.ts").ModuleContext<CrudRecordListBase>;
|
|
2119
2317
|
selectedId?: string;
|
|
@@ -2135,6 +2333,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2135
2333
|
mutedOf?: (record: CrudRecordListBase) => boolean;
|
|
2136
2334
|
mode?: import("../platform-components/CrudRecordListExplorer.vue").CrudRecordListMode;
|
|
2137
2335
|
sorting?: boolean;
|
|
2336
|
+
queryQuickSearchEnabled?: boolean;
|
|
2138
2337
|
}> & Readonly<{
|
|
2139
2338
|
onAction?: ((action: import("../web-contracts/index.ts").RecordInlineAction, record: CrudRecordListBase) => any) | undefined;
|
|
2140
2339
|
onSelect?: ((record: CrudRecordListBase) => any) | undefined;
|
|
@@ -2143,6 +2342,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2143
2342
|
onRestored?: (() => any) | undefined;
|
|
2144
2343
|
onRecycleBinSummary?: ((total: number | undefined) => any) | undefined;
|
|
2145
2344
|
onSorted?: (() => any) | undefined;
|
|
2345
|
+
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
2346
|
+
onQueryControllerChange?: ((controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any) | undefined;
|
|
2146
2347
|
}>, {
|
|
2147
2348
|
mode: import("../platform-components/CrudRecordListExplorer.vue").CrudRecordListMode;
|
|
2148
2349
|
filterOption: (record: CrudRecordListBase, normalizedKeyword: string) => boolean;
|
|
@@ -2163,6 +2364,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2163
2364
|
loadingTip: string;
|
|
2164
2365
|
fallbackTitle: string;
|
|
2165
2366
|
subtitleOf: (record: CrudRecordListBase) => string | undefined;
|
|
2367
|
+
queryQuickSearchEnabled: boolean;
|
|
2166
2368
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2167
2369
|
ModuleActionButton: {
|
|
2168
2370
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -2404,8 +2606,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2404
2606
|
emptyText: string;
|
|
2405
2607
|
fieldNames: string[];
|
|
2406
2608
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2407
|
-
excludeFieldNames: string[];
|
|
2408
2609
|
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2610
|
+
excludeFieldNames: string[];
|
|
2409
2611
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2410
2612
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2411
2613
|
displayOf: import("../platform-components/index").RecordDetailDisplayResolver;
|
|
@@ -2439,8 +2641,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2439
2641
|
emptyText: string;
|
|
2440
2642
|
fieldNames: string[];
|
|
2441
2643
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2442
|
-
excludeFieldNames: string[];
|
|
2443
2644
|
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2645
|
+
excludeFieldNames: string[];
|
|
2444
2646
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2445
2647
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2446
2648
|
displayOf: import("../platform-components/index").RecordDetailDisplayResolver;
|
|
@@ -2474,8 +2676,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2474
2676
|
emptyText: string;
|
|
2475
2677
|
fieldNames: string[];
|
|
2476
2678
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2477
|
-
excludeFieldNames: string[];
|
|
2478
2679
|
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2680
|
+
excludeFieldNames: string[];
|
|
2479
2681
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2480
2682
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2481
2683
|
displayOf: import("../platform-components/index").RecordDetailDisplayResolver;
|
|
@@ -2638,9 +2840,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2638
2840
|
compact: boolean;
|
|
2639
2841
|
fieldNames: string[];
|
|
2640
2842
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2843
|
+
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2641
2844
|
formSessionKey: string | number;
|
|
2642
2845
|
excludeFieldNames: string[];
|
|
2643
|
-
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2644
2846
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2645
2847
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2646
2848
|
layoutTransitionPrefix: string;
|
|
@@ -2688,9 +2890,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2688
2890
|
compact: boolean;
|
|
2689
2891
|
fieldNames: string[];
|
|
2690
2892
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2893
|
+
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2691
2894
|
formSessionKey: string | number;
|
|
2692
2895
|
excludeFieldNames: string[];
|
|
2693
|
-
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2694
2896
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2695
2897
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2696
2898
|
layoutTransitionPrefix: string;
|
|
@@ -2739,9 +2941,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
2739
2941
|
compact: boolean;
|
|
2740
2942
|
fieldNames: string[];
|
|
2741
2943
|
fields: Map<string, import("../platform-components/index").RecordFormFieldDescriptor>;
|
|
2944
|
+
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2742
2945
|
formSessionKey: string | number;
|
|
2743
2946
|
excludeFieldNames: string[];
|
|
2744
|
-
fallback: Record<string, import("../platform-components/index").RecordFormFieldFallback>;
|
|
2745
2947
|
optionContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2746
2948
|
fileTransferContext: import("../web-core/index.ts").ModuleContext<unknown>;
|
|
2747
2949
|
layoutTransitionPrefix: string;
|
|
@@ -3298,6 +3500,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3298
3500
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3299
3501
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
3300
3502
|
onRestored?: (() => any) | undefined;
|
|
3503
|
+
onQueryControllerChange?: ((controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any) | undefined;
|
|
3301
3504
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
3302
3505
|
onRecordActivate?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3303
3506
|
onBatchAction?: ((action: import("../platform-components/index").RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
@@ -3314,6 +3517,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3314
3517
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
3315
3518
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
3316
3519
|
restored: () => any;
|
|
3520
|
+
queryControllerChange: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any;
|
|
3317
3521
|
pageSizeChange: (pageSize: number) => any;
|
|
3318
3522
|
recordActivate: (record: QueryListRecord, event: MouseEvent) => any;
|
|
3319
3523
|
batchAction: (action: import("../platform-components/index").RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
@@ -3435,6 +3639,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3435
3639
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3436
3640
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
3437
3641
|
onRestored?: (() => any) | undefined;
|
|
3642
|
+
onQueryControllerChange?: ((controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any) | undefined;
|
|
3438
3643
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
3439
3644
|
onRecordActivate?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3440
3645
|
onBatchAction?: ((action: import("../platform-components/index").RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
@@ -3556,6 +3761,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3556
3761
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3557
3762
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
3558
3763
|
onRestored?: (() => any) | undefined;
|
|
3764
|
+
onQueryControllerChange?: ((controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any) | undefined;
|
|
3559
3765
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
3560
3766
|
onRecordActivate?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
3561
3767
|
onBatchAction?: ((action: import("../platform-components/index").RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
@@ -3572,6 +3778,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3572
3778
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
3573
3779
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
3574
3780
|
restored: () => any;
|
|
3781
|
+
queryControllerChange: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => any;
|
|
3575
3782
|
pageSizeChange: (pageSize: number) => any;
|
|
3576
3783
|
recordActivate: (record: QueryListRecord, event: MouseEvent) => any;
|
|
3577
3784
|
batchAction: (action: import("../platform-components/index").RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
@@ -3629,6 +3836,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3629
3836
|
waitingDescription: string;
|
|
3630
3837
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3631
3838
|
$slots: {
|
|
3839
|
+
operations?: (props: {
|
|
3840
|
+
refresh: () => void;
|
|
3841
|
+
}) => unknown;
|
|
3632
3842
|
toolbarActions?: (props: {
|
|
3633
3843
|
refresh: () => void;
|
|
3634
3844
|
}) => unknown;
|
|
@@ -3825,10 +4035,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3825
4035
|
toggleSearch: () => void;
|
|
3826
4036
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3827
4037
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: import("../platform-components/index").TreeRecordBase) => any;
|
|
3828
|
-
select: (record: import("../platform-components/index").TreeRecordBase) => any;
|
|
4038
|
+
select: (record: import("../platform-components/index").TreeRecordBase, source?: "assistant" | undefined) => any;
|
|
3829
4039
|
loaded: (records: import("../platform-components/index").TreeRecordBase[]) => any;
|
|
3830
4040
|
deselect: () => any;
|
|
3831
4041
|
sorted: () => any;
|
|
4042
|
+
queryControllerChange: (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => any;
|
|
3832
4043
|
}, string, import("vue").PublicProps, Readonly<{
|
|
3833
4044
|
context: import("../web-core/index.ts").ModuleContext<import("../platform-components/index").TreeRecordBase>;
|
|
3834
4045
|
selectedId?: string;
|
|
@@ -3855,10 +4066,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3855
4066
|
sorting?: boolean;
|
|
3856
4067
|
}> & Readonly<{
|
|
3857
4068
|
onAction?: ((action: import("../web-contracts/index.ts").RecordInlineAction, record: import("../platform-components/index").TreeRecordBase) => any) | undefined;
|
|
3858
|
-
onSelect?: ((record: import("../platform-components/index").TreeRecordBase) => any) | undefined;
|
|
4069
|
+
onSelect?: ((record: import("../platform-components/index").TreeRecordBase, source?: "assistant" | undefined) => any) | undefined;
|
|
3859
4070
|
onLoaded?: ((records: import("../platform-components/index").TreeRecordBase[]) => any) | undefined;
|
|
3860
4071
|
onDeselect?: (() => any) | undefined;
|
|
3861
4072
|
onSorted?: (() => any) | undefined;
|
|
4073
|
+
onQueryControllerChange?: ((controller: import("../platform-components/index").RecordTreeQueryController | undefined) => any) | undefined;
|
|
3862
4074
|
}>, {
|
|
3863
4075
|
sortPartitionFields: string[];
|
|
3864
4076
|
filterOption: (record: import("../platform-components/index").TreeRecordBase, normalizedKeyword: string) => boolean;
|
|
@@ -4321,8 +4533,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4321
4533
|
onRefresh?: (() => any) | undefined;
|
|
4322
4534
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
4323
4535
|
onDeselect?: (() => any) | undefined;
|
|
4324
|
-
"onToggle-sorting"?: (() => any) | undefined;
|
|
4325
4536
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
4537
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
4326
4538
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4327
4539
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: QueryListRecord) => any;
|
|
4328
4540
|
select: (record: QueryListRecord) => any;
|
|
@@ -4330,8 +4542,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4330
4542
|
refresh: () => any;
|
|
4331
4543
|
loaded: (records: QueryListRecord[]) => any;
|
|
4332
4544
|
deselect: () => any;
|
|
4333
|
-
"toggle-sorting": () => any;
|
|
4334
4545
|
"update:keyword": (value: string) => any;
|
|
4546
|
+
"toggle-sorting": () => any;
|
|
4335
4547
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
4336
4548
|
P: {};
|
|
4337
4549
|
B: {};
|
|
@@ -4362,8 +4574,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4362
4574
|
onRefresh?: (() => any) | undefined;
|
|
4363
4575
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
4364
4576
|
onDeselect?: (() => any) | undefined;
|
|
4365
|
-
"onToggle-sorting"?: (() => any) | undefined;
|
|
4366
4577
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
4578
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
4367
4579
|
}>, {}, {}, {}, {}, {}>;
|
|
4368
4580
|
__isFragment?: never;
|
|
4369
4581
|
__isTeleport?: never;
|
|
@@ -4391,8 +4603,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4391
4603
|
onRefresh?: (() => any) | undefined;
|
|
4392
4604
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
4393
4605
|
onDeselect?: (() => any) | undefined;
|
|
4394
|
-
"onToggle-sorting"?: (() => any) | undefined;
|
|
4395
4606
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
4607
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
4396
4608
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4397
4609
|
action: (action: import("../web-contracts/index.ts").RecordInlineAction, record: QueryListRecord) => any;
|
|
4398
4610
|
select: (record: QueryListRecord) => any;
|
|
@@ -4400,8 +4612,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4400
4612
|
refresh: () => any;
|
|
4401
4613
|
loaded: (records: QueryListRecord[]) => any;
|
|
4402
4614
|
deselect: () => any;
|
|
4403
|
-
"toggle-sorting": () => any;
|
|
4404
4615
|
"update:keyword": (value: string) => any;
|
|
4616
|
+
"toggle-sorting": () => any;
|
|
4405
4617
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
4406
4618
|
$slots: {
|
|
4407
4619
|
editor?: (props: {}) => any;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
33
33
|
refresh: () => any;
|
|
34
34
|
loaded: (records: QueryListRecord[]) => any;
|
|
35
35
|
deselect: () => any;
|
|
36
|
-
"toggle-sorting": () => any;
|
|
37
36
|
"update:keyword": (value: string) => any;
|
|
37
|
+
"toggle-sorting": () => any;
|
|
38
38
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
39
|
onAction?: ((action: RecordInlineAction, record: QueryListRecord) => any) | undefined;
|
|
40
40
|
onSelect?: ((record: QueryListRecord) => any) | undefined;
|
|
@@ -42,8 +42,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
42
42
|
onRefresh?: (() => any) | undefined;
|
|
43
43
|
onLoaded?: ((records: QueryListRecord[]) => any) | undefined;
|
|
44
44
|
onDeselect?: (() => any) | undefined;
|
|
45
|
-
"onToggle-sorting"?: (() => any) | undefined;
|
|
46
45
|
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
46
|
+
"onToggle-sorting"?: (() => any) | undefined;
|
|
47
47
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
49
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { RecordQueryListQuerySnapshot } from '../platform-components/index';
|
|
2
|
+
import type { ModuleRecordActionAvailability } from '../web-core/index';
|
|
3
|
+
export declare function hasActiveRecordEditor(mode: string, draft: unknown): boolean;
|
|
4
|
+
export declare function assistantEditableRecordIds(selectedRecordId: unknown, querySnapshot: RecordQueryListQuerySnapshot | undefined): string[];
|
|
5
|
+
export declare function hasAvailableRecordUpdate(availability: ModuleRecordActionAvailability): boolean;
|
|
6
|
+
export declare function assistantEditCancelDestination(detailOpen: boolean, selectedRecordId: unknown, targetRecordId: string): "close" | "restore-view";
|
|
@@ -8,6 +8,7 @@ export interface ModulePageListSessionOptions {
|
|
|
8
8
|
resetTreeSelection(): void;
|
|
9
9
|
openRecord(record: QueryListRecord): void;
|
|
10
10
|
openRecycleBinRecord(record: QueryListRecord): void;
|
|
11
|
+
markUserInteraction(): void;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* Owns list-side state and record selection policy for one module-page session.
|
|
@@ -17,7 +17,9 @@ export declare function useRecordEditingSession<TRecord extends {
|
|
|
17
17
|
id?: unknown;
|
|
18
18
|
}>(context: ModuleContext<TRecord>, detail: DetailController<TRecord>, onLoaded: () => void): {
|
|
19
19
|
invalidatePendingRequests: () => void;
|
|
20
|
+
commitLoadedRecord: (record: TRecord, mode: "edit" | "view", options?: RecordDetailTransitionOptions) => void;
|
|
20
21
|
openRecord: (record: TRecord, mode: "edit" | "view", options?: RecordDetailTransitionOptions, skipLoad?: boolean, onLoadError?: (cause: unknown) => void) => Promise<void>;
|
|
21
22
|
openRecycleBinRecord: (record: TRecord) => Promise<void>;
|
|
23
|
+
settlePendingRecord: (signal?: AbortSignal) => Promise<void>;
|
|
22
24
|
};
|
|
23
25
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as ModulePageHost } from './ModulePageHost.vue';
|
|
2
|
+
export { createModulePageAssistantSurface, modulePageAssistantContextRevision, modulePageAssistantInteractionRevision, } from './modulePageAssistantSurface';
|
|
2
3
|
export { default as DynamicModulePage } from './DynamicModulePage.vue';
|
|
3
4
|
export { default as DynamicModuleWorkspaceDetailView } from './DynamicModuleWorkspaceDetailView.vue';
|
|
4
5
|
export { default as ModuleReferenceRecordDetailBrowser } from './ModuleReferenceRecordDetailBrowser.vue';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AssistantCapability, AssistantInvocationToken } from '../web-core/index';
|
|
2
|
+
import { type QueryListRecord } from '../platform-components/index';
|
|
3
|
+
import type { ModulePageSessionView } from './useModulePageSession';
|
|
4
|
+
import type { TenantScopeController } from './useTenantScopeController';
|
|
5
|
+
export type ModulePageAssistantTenantScope = Pick<TenantScopeController, 'blocked' | 'changeTenantScope' | 'selected' | 'tenantScopeContext' | 'tenantScopeExplorerVisible'> & {
|
|
6
|
+
settleTenantScopeChange(record: QueryListRecord, signal: AbortSignal): Promise<void | AssistantInvocationToken>;
|
|
7
|
+
};
|
|
8
|
+
export declare function modulePageScopeCapabilities(view: ModulePageSessionView, tenantScope: ModulePageAssistantTenantScope | undefined): AssistantCapability[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type AssistantCapability, type AssistantSurface, type AssistantTurnRequester } from '../web-core/index';
|
|
2
|
+
import type { ModulePageSessionView } from './useModulePageSession';
|
|
3
|
+
import { type ModulePageAssistantTenantScope } from './modulePageAssistantScope';
|
|
4
|
+
export declare function modulePageAssistantContextRevision(view: ModulePageSessionView): string;
|
|
5
|
+
export declare function modulePageAssistantInteractionRevision(view: ModulePageSessionView): string;
|
|
6
|
+
export declare function createModulePageAssistantSurface(view: ModulePageSessionView, requestTurn: AssistantTurnRequester, contributedCapabilities?: () => AssistantCapability[], tenantScope?: ModulePageAssistantTenantScope): AssistantSurface;
|