openxiangda 1.0.264 → 1.0.266
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/README.md +35 -22
- package/lib/application-environments.js +15 -1
- package/lib/cli.js +57 -8
- package/openxiangda-skills/SKILL.md +16 -13
- package/openxiangda-skills/references/school-contact-relations.md +78 -60
- package/openxiangda-skills/skills/openxiangda-core/SKILL.md +1 -1
- package/openxiangda-skills/skills/openxiangda-page/SKILL.md +1 -1
- package/package.json +1 -1
- package/packages/sdk/dist/{ProcessPreview-DSUIJi5V.d.mts → ProcessPreview-Cyk6uv-w.d.mts} +3 -2
- package/packages/sdk/dist/{ProcessPreview-DSUIJi5V.d.ts → ProcessPreview-Cyk6uv-w.d.ts} +3 -2
- package/packages/sdk/dist/components/index.d.mts +42 -41
- package/packages/sdk/dist/components/index.d.ts +42 -41
- package/packages/sdk/dist/{dataManagementApi-p_HOhQnA.d.mts → dataManagementApi-4fSaCA5t.d.mts} +2 -2
- package/packages/sdk/dist/{dataManagementApi-Ro9itwm8.d.ts → dataManagementApi-CE8Zyj3a.d.ts} +2 -2
- package/packages/sdk/dist/runtime/index.d.mts +5 -4
- package/packages/sdk/dist/runtime/index.d.ts +5 -4
- package/packages/sdk/dist/runtime/react.d.mts +17 -10
- package/packages/sdk/dist/runtime/react.d.ts +17 -10
- package/templates/openxiangda-react-spa/AGENTS.md +9 -2
- package/templates/sy-lowcode-app-workspace/AGENTS.md +21 -20
package/packages/sdk/dist/{dataManagementApi-p_HOhQnA.d.mts → dataManagementApi-4fSaCA5t.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as FieldDefinition, a9 as FormRuntimeApi, b3 as RuntimeResponse, ac as FormSchema } from './ProcessPreview-Cyk6uv-w.mjs';
|
|
2
2
|
|
|
3
3
|
type DataManagementConfigScope = 'global' | 'personal';
|
|
4
4
|
type DataManagementDensity = 'compact' | 'middle' | 'loose';
|
|
@@ -139,4 +139,4 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
139
139
|
pageSize?: number;
|
|
140
140
|
}): Promise<DataManagementListResult>;
|
|
141
141
|
|
|
142
|
-
export { type
|
|
142
|
+
export { type DataManagementConfig as D, type FormActionPermission as F, type DataManagementConfigScope as a, type DataManagementDensity as b, type DataManagementField as c, type DataManagementFilterGroup as d, type DataManagementFilterRule as e, type DataManagementListResult as f, type DataManagementQuery as g, type DataManagementSort as h, advancedSearchDataManagement as i, batchApproveDataManagementRows as j, buildFilterPayload as k, deleteDataManagementRows as l, downloadDataManagementImportTemplate as m, exportDataManagementRows as n, extractFieldsFromComponentsTree as o, getDataManagementConfig as p, getDataManagementSchema as q, getDataManagementTransferRecords as r, getSystemFieldsForFormType as s, importDataManagementRows as t, importPreviewDataManagementRows as u, normalizeColumnConfig as v, normalizeDataManagementFields as w, normalizeDataManagementList as x, saveDataManagementConfig as y };
|
package/packages/sdk/dist/{dataManagementApi-Ro9itwm8.d.ts → dataManagementApi-CE8Zyj3a.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as FieldDefinition, a9 as FormRuntimeApi, b3 as RuntimeResponse, ac as FormSchema } from './ProcessPreview-Cyk6uv-w.js';
|
|
2
2
|
|
|
3
3
|
type DataManagementConfigScope = 'global' | 'personal';
|
|
4
4
|
type DataManagementDensity = 'compact' | 'middle' | 'loose';
|
|
@@ -139,4 +139,4 @@ declare function getDataManagementTransferRecords(request: FormRuntimeApi['reque
|
|
|
139
139
|
pageSize?: number;
|
|
140
140
|
}): Promise<DataManagementListResult>;
|
|
141
141
|
|
|
142
|
-
export { type
|
|
142
|
+
export { type DataManagementConfig as D, type FormActionPermission as F, type DataManagementConfigScope as a, type DataManagementDensity as b, type DataManagementField as c, type DataManagementFilterGroup as d, type DataManagementFilterRule as e, type DataManagementListResult as f, type DataManagementQuery as g, type DataManagementSort as h, advancedSearchDataManagement as i, batchApproveDataManagementRows as j, buildFilterPayload as k, deleteDataManagementRows as l, downloadDataManagementImportTemplate as m, exportDataManagementRows as n, extractFieldsFromComponentsTree as o, getDataManagementConfig as p, getDataManagementSchema as q, getDataManagementTransferRecords as r, getSystemFieldsForFormType as s, importDataManagementRows as t, importPreviewDataManagementRows as u, normalizeColumnConfig as v, normalizeDataManagementFields as w, normalizeDataManagementList as x, saveDataManagementConfig as y };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PageContext, PageInfo, PageBridgeApi } from './react.mjs';
|
|
2
|
-
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.mjs';
|
|
2
|
+
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacher, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.mjs';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
5
|
+
import { ac as FormSchema, a9 as FormRuntimeApi, aa as FormRuntimeApiConfig } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
6
|
+
export { o as extractFieldsFromComponentsTree } from '../dataManagementApi-4fSaCA5t.mjs';
|
|
6
7
|
|
|
7
8
|
type RuntimeCssIsolation = "none" | "namespace" | "shadow";
|
|
8
9
|
interface RuntimeHostBootstrap {
|
|
@@ -160,7 +161,7 @@ interface BuiltinRouteRendererProps {
|
|
|
160
161
|
style?: React__default.CSSProperties;
|
|
161
162
|
}
|
|
162
163
|
declare const createBuiltinRouteRequest: (servicePrefix?: string, fetchImpl?: typeof fetch) => FormRuntimeApi["request"];
|
|
163
|
-
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps):
|
|
164
|
+
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps): react_jsx_runtime.JSX.Element | null;
|
|
164
165
|
|
|
165
166
|
interface NormalizeRuntimeFormSchemaOptions {
|
|
166
167
|
appType: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PageContext, PageInfo, PageBridgeApi } from './react.js';
|
|
2
|
-
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.js';
|
|
2
|
+
export { AdminList, AdminListBatchAction, AdminListColumn, AdminListColumnPreference, AdminListDataSource, AdminListDataSourceOptions, AdminListDataViewSourceOptions, AdminListDensity, AdminListExportDownloadOptions, AdminListExportInput, AdminListExportScope, AdminListExportTask, AdminListExportTaskStatus, AdminListFormSourceOptions, AdminListFunctionSourceOptions, AdminListLockedPreference, AdminListOption, AdminListPreference, AdminListPreferenceStore, AdminListProps, AdminListQuery, AdminListResult, AdminListRowAction, AdminListSearchField, AdminListSearchFieldType, AdminListSearchPreference, AdminListSelectionChange, AdminListSort, AdminListSortDirection, ApiEnvelope, ApiPermissionListParams, AppAuthClient, AppFunctionAttachmentReference, AppFunctionBase64File, AppFunctionConnectorApi, AppFunctionContext, AppFunctionContextV2, AppFunctionDataViewApi, AppFunctionFileReadInput, AppFunctionFileReadOptions, AppFunctionFilesApi, AppFunctionFormApi, AppFunctionFormDeleteResult, AppFunctionFormFileReadOptions, AppFunctionFormGetByIdParams, AppFunctionFormQueryParams, AppFunctionFormWriteParams, AppFunctionHttpApi, AppFunctionHttpRequest, AppFunctionHttpResponse, AppFunctionManifestV2, AppFunctionNotificationApi, AppFunctionOperatorInfo, AppFunctionOrganizationApi, AppFunctionPermissionContext, AppFunctionPlatformApi, AppFunctionPlatformApiRequest, AppFunctionPlatformApiResponse, AppFunctionPlatformHttpApi, AppFunctionPlatformRolesApi, AppFunctionProcessApi, AppFunctionProcessStartResult, AppFunctionProcessTaskResult, AppFunctionProcessWithdrawResult, AppFunctionRoleBatchAddResult, AppFunctionRoleListParams, AppFunctionRoleMemberMutationResult, AppFunctionRoleUsersParams, AppFunctionRuntimeContext, AppFunctionSecretRef, AppFunctionSecrets, AppFunctionUtils, ApproveTaskParams, AssignPermissionsParams, AssignRolesParams, AttachmentPreviewList, AttachmentPreviewListProps, AuthChallengePayload, AuthClientError, AuthClientErrorOptions, AuthClientOptions, AuthErrorExtra, AuthLogoutRedirectOptions, AuthMethod, AuthMethodType, AuthTokenData, AuthUser, BatchAddUsersToRoleParams, BatchSendNotificationByTypeParams, ChangeOrganizationAccountPasswordParams, ChangeUserRoleParams, ConnectorCallParams, ConnectorInvokeParams, ConnectorInvokeResult, ConnectorRequestBodyType, ConnectorResponseType, CreateApiPermissionParams, CreateFileAccessTicketOptions, CreateFormPermissionGroupDto, CreateOrganizationAccountParams, CreateOrganizationDepartmentParams, CreatePagePermissionGroupDto, CreateRoleParams, CreateUiPermissionParams, CreateUserParams, CurrentUserDepartmentParents, CustomPageEntryConfig, CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, DataManagementConfigParams, DataManagementFilterState, DataPermissionConditionDto, DataPermissionDto, DataPermissionRuleDto, DataViewQueryParams, DataViewQueryResult, DataViewStatsParams, DingTalkBrowserContext, DingTalkClient, DingTalkExternalBrowserGuide, DingTalkExternalBrowserGuideProps, DingTalkLoginEnvironment, DingTalkLoginFlow, DingTalkLoginInput, DingTalkNotificationCapabilities, DingTalkNotificationCardConfig, DingTalkNotificationCardField, DingTalkNotificationCardMode, DingTalkNotificationCardPreview, DingTalkNotificationChannelConfig, DingTalkNotificationDeliveryMode, DingTalkNotificationPreviewResult, DingTalkOAuthStartInput, DingTalkOAuthStartResult, ExecuteProcessOperationInput, FieldAccessLevel, FieldAccessPolicyDto, FieldAccessPolicyItemDto, FieldOptionValue, FieldPermissionDto, FileAccessTicketAction, FileAccessTicketPurpose, FileAccessTicketResult, FilePreviewController, FilePreviewItem, FindNotificationConfigParams, FormAdvancedSearchParams, FormChangeRecordParams, FormCreateParams, FormCreateResult, FormDetailResult, FormExportParams, FormFieldValue, FormGetDetailParams, FormImportParams, FormInstanceIdentifierResult, FormPermissionGroup, FormRemoveParams, FormSearchParams, FormUpdateParams, FormUpdateResult, FunctionInvokeParams, FunctionInvokeResult, GetParentDepartmentsOptions, GetProcessInstanceParams, GetUserRolesParams, GuestLoginInput, ImagePreviewGrid, ImagePreviewGridProps, ImportExportRecordDownloadParams, ImportExportRecordQuery, InitiatorApproverSelector, InstanceStatus, ListNotificationInboxParams, ListWorkCenterItemsParams, LoadDingTalkClientOptions, LoginLogGetParams, LoginLogListParams, LoginLogRecord, LoginLogStats, LoginLogStatsParams, LoginLogStatus, LoginMethodsResult, LoginPage, LoginPageProps, MarkAllNotificationReadResult, NotificationChannel, NotificationChannelConfig, NotificationChannelsConfig, NotificationConfigLevel, NotificationInboxListResult, NotificationInboxMessage, NotificationInboxReadStatus, NotificationMessageRecord, NotificationTemplate, NotificationTemplatePreview, NotificationTypeConfig, NotificationUnreadCountResult, OpenXiangdaPageProvider, OpenXiangdaPageProviderProps, OpenXiangdaProvider, OpenXiangdaProviderProps, OrganizationAccountListParams, OrganizationCapabilities, OrganizationListResult, PageApiPermissionRecord, PageApiResponse, PageAppInfo, PageBinaryResponse, PageDataManagementConfig, PageDataSourceDescriptor, PageDepartmentInfo, PageDepartmentRecord, PageHttpMethod, PageListResult, PageMessageApi, PageModalApi, PageNavigationApi, PageOffsetListResult, PagePermissionGroup, PagePermissionInfo, PageProvider, PageQueryValue, PageRequestCache, PageRequestOptions, PageRoleRecord, PageRouteInfo, PageScope, PageSdk, PageSdkError, PageSdkMeta, PageTransportDownloadPayload, PageTransportRequestPayload, PageUiPermissionRecord, PageUiPermissionType, PageUserInfo, PageUserRecord, PageUserType, PasswordLoginInput, PermissionBoundary, PermissionBoundaryFallback, PermissionBoundaryFallbackState, PermissionBoundaryProps, PhoneCodeInput, PhoneCodeLoginInput, PhoneCodeRegisterInput, PhoneCodeSendResult, PreviewDingTalkNotificationParams, PreviewNotificationTemplateParams, ProcessActionBar, ProcessActionBarProps, ProcessApproveAction, ProcessCapabilities, ProcessCapabilityOperation, ProcessInstanceLookupParams, ProcessPreviewPanel, ProcessPreviewPanelProps, ProcessTimeline, ProcessTimelineProps, PublicAccessClaim, PublicAccessClient, PublicAccessClientError, PublicAccessClientOptions, PublicAccessGate, PublicAccessGateProps, PublicAccessSessionData, PublicAccessSessionInput, PublicFormGrant, PublicStorageAction, PublicStorageGrant, QueryFormPermissionGroupDto, QueryPagePermissionGroupDto, RefreshInput, RequestDingTalkAuthCodeOptions, ResetOrganizationAccountPasswordParams, ResolveLoginUrlInput, ResolveProcessCapabilitiesParams, RoleListParams, RoleUsersParams, RouteAccessResult, RuntimeAuthGuard, RuntimeAuthGuardProps, RuntimeAuthState, RuntimeAuthStatus, RuntimeBootstrap, RuntimeErrorSnapshot, RuntimeErrorType, RuntimeLogoutOptions, RuntimeMenuItem, RuntimePagePermissions, RuntimeRedirectLoginOptions, RuntimeRequestError, RuntimeRequestState, RuntimeResolveLoginOptions, SaveDataManagementConfigParams, SchoolContactClass, SchoolContactPerson, SchoolContactRelationListParams, SchoolContactRelationListResult, SchoolContactRelationRecord, SchoolContactSyncState, SchoolContactTeacher, SchoolContactTeacherListParams, SchoolContactTeacherListResult, SchoolContactTeacherMembershipRecord, SearchComponentName, SearchExpression, SearchFieldKey, SearchGroup, SearchLogic, SearchOperator, SearchRule, SearchSortItem, SearchSystemField, SendNotificationByTypeParams, SendNotificationResult, SsoLoginUrlInput, SsoLoginUrlResult, StructuredExportCellStyle, StructuredExportColumnDefinition, StructuredExportCreateParams, StructuredExportFormatDefinition, StructuredExportFormatType, StructuredExportGetParams, StructuredExportScope, StructuredExportSheetDefinition, StructuredExportSourceDefinition, StructuredExportStyleRule, StructuredExportTask, StructuredExportTaskStatus, StructuredExportValueDefinition, StructuredExportWorkbookDefinition, SubFormRule, SwitchAppRoleParams, SwitchPlatformRoleParams, TerminateProcessInstanceParams, TriggerCallbackTaskParams, TrustedNodeV2Context, UiPermissionListParams, UpdateApiPermissionParams, UpdateDingTalkCardParams, UpdateDingTalkCardResult, UpdateFormPermissionGroupDto, UpdateOrganizationAccountParams, UpdateOrganizationDepartmentParams, UpdatePagePermissionGroupDto, UpdateRoleParams, UpdateUiPermissionParams, UpdateUserParams, UseAuthOptions, UseCanAccessRouteInput, UseFilePreviewOptions, UseLoginMethodsState, UseProcessActionsOptions, UseProcessActionsReturn, UseProcessCapabilitiesOptions, UseProcessCapabilitiesReturn, UsePublicAccessOptions, UsePublicAccessState, UserListParams, UserMenuPermissionsResponse, ValidateUserParams, ViewFieldPermissionValue, ViewOperationPermission, ViewPermissionSummary, WorkCenterBoxType, WorkCenterGroupedStat, WorkCenterItem, WorkCenterListResult, WorkCenterStats, WorkCenterStatsParams, WorkflowApproveParams, WorkflowCapabilityActionKey, WorkflowDefinitionByFormParams, WorkflowInitiatorSelectCandidatesParams, WorkflowInitiatorSelectRequirementsParams, WorkflowPreviewParams, WorkflowResubmitInitiatorSelectRequirementsParams, WorkflowResubmitParams, WorkflowReturnParams, WorkflowSaveTaskParams, WorkflowStartFromExistingInstanceParams, WorkflowTaskParams, WorkflowTransferParams, WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap } from './react.js';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
5
|
+
import { ac as FormSchema, a9 as FormRuntimeApi, aa as FormRuntimeApiConfig } from '../ProcessPreview-Cyk6uv-w.js';
|
|
6
|
+
export { o as extractFieldsFromComponentsTree } from '../dataManagementApi-CE8Zyj3a.js';
|
|
6
7
|
|
|
7
8
|
type RuntimeCssIsolation = "none" | "namespace" | "shadow";
|
|
8
9
|
interface RuntimeHostBootstrap {
|
|
@@ -160,7 +161,7 @@ interface BuiltinRouteRendererProps {
|
|
|
160
161
|
style?: React__default.CSSProperties;
|
|
161
162
|
}
|
|
162
163
|
declare const createBuiltinRouteRequest: (servicePrefix?: string, fetchImpl?: typeof fetch) => FormRuntimeApi["request"];
|
|
163
|
-
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps):
|
|
164
|
+
declare function BuiltinRouteRenderer({ route, appType: appTypeProp, className, config, fetchImpl, overrides, requestOverride, servicePrefix, style, }: BuiltinRouteRendererProps): react_jsx_runtime.JSX.Element | null;
|
|
164
165
|
|
|
165
166
|
interface NormalizeRuntimeFormSchemaOptions {
|
|
166
167
|
appType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import React__default, { Dispatch, SetStateAction, CSSProperties, Key, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { a$ as RuntimeAuthHeadersProvider, a9 as FormRuntimeApi, l as AttachmentItem, S as FilePreviewCapability, aJ as PreparedFilePreview, ao as InitiatorSelectRequirement, an as InitiatorSelectCandidate, aR as ProcessPreviewProps, e as ApprovalTimelineProps } from '../ProcessPreview-Cyk6uv-w.mjs';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type PageQueryValue = string | string[];
|
|
6
6
|
type PageHttpMethod = "get" | "post" | "put" | "delete" | "patch";
|
|
@@ -412,7 +412,7 @@ interface OrganizationListResult<TItem = unknown> {
|
|
|
412
412
|
}
|
|
413
413
|
interface SchoolContactPerson {
|
|
414
414
|
userId: string;
|
|
415
|
-
dingtalkUserId: string;
|
|
415
|
+
dingtalkUserId: string | null;
|
|
416
416
|
name: string;
|
|
417
417
|
mobile: string | null;
|
|
418
418
|
}
|
|
@@ -423,6 +423,12 @@ interface SchoolContactClass {
|
|
|
423
423
|
campusName: string | null;
|
|
424
424
|
periodName: string | null;
|
|
425
425
|
gradeName: string | null;
|
|
426
|
+
/** Current head teachers for this class. Populated by teachers.list. */
|
|
427
|
+
headTeachers?: SchoolContactPerson[];
|
|
428
|
+
}
|
|
429
|
+
interface SchoolContactTeacher extends SchoolContactPerson {
|
|
430
|
+
/** Classes currently managed by this teacher as head teacher. */
|
|
431
|
+
managedClasses: SchoolContactClass[];
|
|
426
432
|
}
|
|
427
433
|
interface SchoolContactSyncState {
|
|
428
434
|
enabled: boolean;
|
|
@@ -458,9 +464,10 @@ interface SchoolContactRelationListParams {
|
|
|
458
464
|
}
|
|
459
465
|
interface SchoolContactTeacherMembershipRecord {
|
|
460
466
|
membershipId: string;
|
|
461
|
-
teacher:
|
|
467
|
+
teacher: SchoolContactTeacher;
|
|
462
468
|
class: SchoolContactClass;
|
|
463
469
|
isHeadTeacher: boolean;
|
|
470
|
+
source: "dingtalk_school_contact" | "manual";
|
|
464
471
|
syncedAt: string | Date;
|
|
465
472
|
syncState: SchoolContactSyncState["state"];
|
|
466
473
|
}
|
|
@@ -881,12 +888,12 @@ interface FormCreateParams {
|
|
|
881
888
|
draft?: boolean;
|
|
882
889
|
startProcess?: boolean;
|
|
883
890
|
autoStartProcess?: boolean;
|
|
884
|
-
processStartMode?:
|
|
891
|
+
processStartMode?: "auto" | "manual" | "draft" | "delayed" | "none" | string;
|
|
885
892
|
/**
|
|
886
893
|
* Legacy compatibility only. New code should not infer a created row by
|
|
887
894
|
* submitted field values; the save API returns identifiers, not full row data.
|
|
888
895
|
*/
|
|
889
|
-
lookupAfterCreate?: boolean |
|
|
896
|
+
lookupAfterCreate?: boolean | "legacy";
|
|
890
897
|
lookupFields?: string[];
|
|
891
898
|
}
|
|
892
899
|
interface FormUpdateParams {
|
|
@@ -2569,7 +2576,7 @@ interface AttachmentPreviewListProps {
|
|
|
2569
2576
|
className?: string;
|
|
2570
2577
|
}
|
|
2571
2578
|
/** Read-only attachment list with capability-aware preview and download actions. */
|
|
2572
|
-
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) =>
|
|
2579
|
+
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) => react_jsx_runtime.JSX.Element;
|
|
2573
2580
|
interface ImagePreviewGridProps {
|
|
2574
2581
|
items?: AttachmentItem[];
|
|
2575
2582
|
appType?: string;
|
|
@@ -2581,7 +2588,7 @@ interface ImagePreviewGridProps {
|
|
|
2581
2588
|
className?: string;
|
|
2582
2589
|
}
|
|
2583
2590
|
/** Read-only image grid that opens the current item in the shared preview gallery. */
|
|
2584
|
-
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) =>
|
|
2591
|
+
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) => react_jsx_runtime.JSX.Element;
|
|
2585
2592
|
type FilePreviewItem = AttachmentItem;
|
|
2586
2593
|
|
|
2587
2594
|
type SelectedApproverMap = Record<string, InitiatorSelectCandidate[]>;
|
|
@@ -3122,7 +3129,7 @@ interface AdminListProps<Row> {
|
|
|
3122
3129
|
onRow?: (row: Row) => HTMLAttributes<HTMLTableRowElement>;
|
|
3123
3130
|
}
|
|
3124
3131
|
|
|
3125
|
-
declare function AdminList<Row>(props: AdminListProps<Row>):
|
|
3132
|
+
declare function AdminList<Row>(props: AdminListProps<Row>): react_jsx_runtime.JSX.Element;
|
|
3126
3133
|
|
|
3127
3134
|
declare function createFormAdminListSource<Row>(options: AdminListFormSourceOptions): AdminListDataSource<Row>;
|
|
3128
3135
|
declare function createDataViewAdminListSource<Row>(options: AdminListDataViewSourceOptions): AdminListDataSource<Row>;
|
|
@@ -3199,4 +3206,4 @@ declare function requestDingTalkAuthCode({ clientId, corpId, client, timeoutMs,
|
|
|
3199
3206
|
declare function getDingTalkOAuthRecoveryMessage(search?: string | URLSearchParams): "检测到授权过程中切换了浏览器,请在当前浏览器重新点击“使用钉钉登录”。" | undefined;
|
|
3200
3207
|
declare const DingTalkExternalBrowserGuide: React__default.FC<DingTalkExternalBrowserGuideProps>;
|
|
3201
3208
|
|
|
3202
|
-
export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SchoolContactTeacherListParams, type SchoolContactTeacherListResult, type SchoolContactTeacherMembershipRecord, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
|
|
3209
|
+
export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SchoolContactTeacher, type SchoolContactTeacherListParams, type SchoolContactTeacherListResult, type SchoolContactTeacherMembershipRecord, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import React__default, { Dispatch, SetStateAction, CSSProperties, Key, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { a$ as RuntimeAuthHeadersProvider, a9 as FormRuntimeApi, l as AttachmentItem, S as FilePreviewCapability, aJ as PreparedFilePreview, ao as InitiatorSelectRequirement, an as InitiatorSelectCandidate, aR as ProcessPreviewProps, e as ApprovalTimelineProps } from '../ProcessPreview-Cyk6uv-w.js';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type PageQueryValue = string | string[];
|
|
6
6
|
type PageHttpMethod = "get" | "post" | "put" | "delete" | "patch";
|
|
@@ -412,7 +412,7 @@ interface OrganizationListResult<TItem = unknown> {
|
|
|
412
412
|
}
|
|
413
413
|
interface SchoolContactPerson {
|
|
414
414
|
userId: string;
|
|
415
|
-
dingtalkUserId: string;
|
|
415
|
+
dingtalkUserId: string | null;
|
|
416
416
|
name: string;
|
|
417
417
|
mobile: string | null;
|
|
418
418
|
}
|
|
@@ -423,6 +423,12 @@ interface SchoolContactClass {
|
|
|
423
423
|
campusName: string | null;
|
|
424
424
|
periodName: string | null;
|
|
425
425
|
gradeName: string | null;
|
|
426
|
+
/** Current head teachers for this class. Populated by teachers.list. */
|
|
427
|
+
headTeachers?: SchoolContactPerson[];
|
|
428
|
+
}
|
|
429
|
+
interface SchoolContactTeacher extends SchoolContactPerson {
|
|
430
|
+
/** Classes currently managed by this teacher as head teacher. */
|
|
431
|
+
managedClasses: SchoolContactClass[];
|
|
426
432
|
}
|
|
427
433
|
interface SchoolContactSyncState {
|
|
428
434
|
enabled: boolean;
|
|
@@ -458,9 +464,10 @@ interface SchoolContactRelationListParams {
|
|
|
458
464
|
}
|
|
459
465
|
interface SchoolContactTeacherMembershipRecord {
|
|
460
466
|
membershipId: string;
|
|
461
|
-
teacher:
|
|
467
|
+
teacher: SchoolContactTeacher;
|
|
462
468
|
class: SchoolContactClass;
|
|
463
469
|
isHeadTeacher: boolean;
|
|
470
|
+
source: "dingtalk_school_contact" | "manual";
|
|
464
471
|
syncedAt: string | Date;
|
|
465
472
|
syncState: SchoolContactSyncState["state"];
|
|
466
473
|
}
|
|
@@ -881,12 +888,12 @@ interface FormCreateParams {
|
|
|
881
888
|
draft?: boolean;
|
|
882
889
|
startProcess?: boolean;
|
|
883
890
|
autoStartProcess?: boolean;
|
|
884
|
-
processStartMode?:
|
|
891
|
+
processStartMode?: "auto" | "manual" | "draft" | "delayed" | "none" | string;
|
|
885
892
|
/**
|
|
886
893
|
* Legacy compatibility only. New code should not infer a created row by
|
|
887
894
|
* submitted field values; the save API returns identifiers, not full row data.
|
|
888
895
|
*/
|
|
889
|
-
lookupAfterCreate?: boolean |
|
|
896
|
+
lookupAfterCreate?: boolean | "legacy";
|
|
890
897
|
lookupFields?: string[];
|
|
891
898
|
}
|
|
892
899
|
interface FormUpdateParams {
|
|
@@ -2569,7 +2576,7 @@ interface AttachmentPreviewListProps {
|
|
|
2569
2576
|
className?: string;
|
|
2570
2577
|
}
|
|
2571
2578
|
/** Read-only attachment list with capability-aware preview and download actions. */
|
|
2572
|
-
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) =>
|
|
2579
|
+
declare const AttachmentPreviewList: ({ items, appType, bucketName, showPreview, showDownload, showFileSize, showFileTypeBadge, emptyText, className, }: AttachmentPreviewListProps) => react_jsx_runtime.JSX.Element;
|
|
2573
2580
|
interface ImagePreviewGridProps {
|
|
2574
2581
|
items?: AttachmentItem[];
|
|
2575
2582
|
appType?: string;
|
|
@@ -2581,7 +2588,7 @@ interface ImagePreviewGridProps {
|
|
|
2581
2588
|
className?: string;
|
|
2582
2589
|
}
|
|
2583
2590
|
/** Read-only image grid that opens the current item in the shared preview gallery. */
|
|
2584
|
-
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) =>
|
|
2591
|
+
declare const ImagePreviewGrid: ({ items, appType, bucketName, showPreview, showDownload, showFileName, emptyText, className, }: ImagePreviewGridProps) => react_jsx_runtime.JSX.Element;
|
|
2585
2592
|
type FilePreviewItem = AttachmentItem;
|
|
2586
2593
|
|
|
2587
2594
|
type SelectedApproverMap = Record<string, InitiatorSelectCandidate[]>;
|
|
@@ -3122,7 +3129,7 @@ interface AdminListProps<Row> {
|
|
|
3122
3129
|
onRow?: (row: Row) => HTMLAttributes<HTMLTableRowElement>;
|
|
3123
3130
|
}
|
|
3124
3131
|
|
|
3125
|
-
declare function AdminList<Row>(props: AdminListProps<Row>):
|
|
3132
|
+
declare function AdminList<Row>(props: AdminListProps<Row>): react_jsx_runtime.JSX.Element;
|
|
3126
3133
|
|
|
3127
3134
|
declare function createFormAdminListSource<Row>(options: AdminListFormSourceOptions): AdminListDataSource<Row>;
|
|
3128
3135
|
declare function createDataViewAdminListSource<Row>(options: AdminListDataViewSourceOptions): AdminListDataSource<Row>;
|
|
@@ -3199,4 +3206,4 @@ declare function requestDingTalkAuthCode({ clientId, corpId, client, timeoutMs,
|
|
|
3199
3206
|
declare function getDingTalkOAuthRecoveryMessage(search?: string | URLSearchParams): "检测到授权过程中切换了浏览器,请在当前浏览器重新点击“使用钉钉登录”。" | undefined;
|
|
3200
3207
|
declare const DingTalkExternalBrowserGuide: React__default.FC<DingTalkExternalBrowserGuideProps>;
|
|
3201
3208
|
|
|
3202
|
-
export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SchoolContactTeacherListParams, type SchoolContactTeacherListResult, type SchoolContactTeacherMembershipRecord, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
|
|
3209
|
+
export { AdminList, type AdminListBatchAction, type AdminListColumn, type AdminListColumnPreference, type AdminListDataSource, type AdminListDataSourceOptions, type AdminListDataViewSourceOptions, type AdminListDensity, type AdminListExportDownloadOptions, type AdminListExportInput, type AdminListExportScope, type AdminListExportTask, type AdminListExportTaskStatus, type AdminListFormSourceOptions, type AdminListFunctionSourceOptions, type AdminListLockedPreference, type AdminListOption, type AdminListPreference, type AdminListPreferenceStore, type AdminListProps, type AdminListQuery, type AdminListResult, type AdminListRowAction, type AdminListSearchField, type AdminListSearchFieldType, type AdminListSearchPreference, type AdminListSelectionChange, type AdminListSort, type AdminListSortDirection, type ApiEnvelope, type ApiPermissionListParams, type AppAuthClient, type AppFunctionAttachmentReference, type AppFunctionBase64File, type AppFunctionConnectorApi, type AppFunctionContext, type AppFunctionContextV2, type AppFunctionDataViewApi, type AppFunctionFileReadInput, type AppFunctionFileReadOptions, type AppFunctionFilesApi, type AppFunctionFormApi, type AppFunctionFormDeleteResult, type AppFunctionFormFileReadOptions, type AppFunctionFormGetByIdParams, type AppFunctionFormQueryParams, type AppFunctionFormWriteParams, type AppFunctionHttpApi, type AppFunctionHttpRequest, type AppFunctionHttpResponse, type AppFunctionManifestV2, type AppFunctionNotificationApi, type AppFunctionOperatorInfo, type AppFunctionOrganizationApi, type AppFunctionPermissionContext, type AppFunctionPlatformApi, type AppFunctionPlatformApiRequest, type AppFunctionPlatformApiResponse, type AppFunctionPlatformHttpApi, type AppFunctionPlatformRolesApi, type AppFunctionProcessApi, type AppFunctionProcessStartResult, type AppFunctionProcessTaskResult, type AppFunctionProcessWithdrawResult, type AppFunctionRoleBatchAddResult, type AppFunctionRoleListParams, type AppFunctionRoleMemberMutationResult, type AppFunctionRoleUsersParams, type AppFunctionRuntimeContext, type AppFunctionSecretRef, type AppFunctionSecrets, type AppFunctionUtils, type ApproveTaskParams, type AssignPermissionsParams, type AssignRolesParams, AttachmentPreviewList, type AttachmentPreviewListProps, type AuthChallengePayload, AuthClientError, type AuthClientErrorOptions, type AuthClientOptions, type AuthErrorExtra, type AuthLogoutRedirectOptions, type AuthMethod, type AuthMethodType, type AuthTokenData, type AuthUser, type BatchAddUsersToRoleParams, type BatchSendNotificationByTypeParams, type ChangeOrganizationAccountPasswordParams, type ChangeUserRoleParams, type ConnectorCallParams, type ConnectorInvokeParams, type ConnectorInvokeResult, type ConnectorRequestBodyType, type ConnectorResponseType, type CreateApiPermissionParams, type CreateFileAccessTicketOptions, type CreateFormPermissionGroupDto, type CreateOrganizationAccountParams, type CreateOrganizationDepartmentParams, type CreatePagePermissionGroupDto, type CreateRoleParams, type CreateUiPermissionParams, type CreateUserParams, type CurrentUserDepartmentParents, type CustomPageEntryConfig, type CustomPageEntryMode, DINGTALK_OAUTH_BROWSER_CONTEXT_CHANGED, type DataManagementConfigParams, type DataManagementFilterState, type DataPermissionConditionDto, type DataPermissionDto, type DataPermissionRuleDto, type DataViewQueryParams, type DataViewQueryResult, type DataViewStatsParams, type DingTalkBrowserContext, type DingTalkClient, DingTalkExternalBrowserGuide, type DingTalkExternalBrowserGuideProps, type DingTalkLoginEnvironment, type DingTalkLoginFlow, type DingTalkLoginInput, type DingTalkNotificationCapabilities, type DingTalkNotificationCardConfig, type DingTalkNotificationCardField, type DingTalkNotificationCardMode, type DingTalkNotificationCardPreview, type DingTalkNotificationChannelConfig, type DingTalkNotificationDeliveryMode, type DingTalkNotificationPreviewResult, type DingTalkOAuthStartInput, type DingTalkOAuthStartResult, type ExecuteProcessOperationInput, type FieldAccessLevel, type FieldAccessPolicyDto, type FieldAccessPolicyItemDto, type FieldOptionValue, type FieldPermissionDto, type FileAccessTicketAction, type FileAccessTicketPurpose, type FileAccessTicketResult, type FilePreviewController, type FilePreviewItem, type FindNotificationConfigParams, type FormAdvancedSearchParams, type FormChangeRecordParams, type FormCreateParams, type FormCreateResult, type FormDetailResult, type FormExportParams, type FormFieldValue, type FormGetDetailParams, type FormImportParams, type FormInstanceIdentifierResult, type FormPermissionGroup, type FormRemoveParams, type FormSearchParams, type FormUpdateParams, type FormUpdateResult, type FunctionInvokeParams, type FunctionInvokeResult, type GetParentDepartmentsOptions, type GetProcessInstanceParams, type GetUserRolesParams, type GuestLoginInput, ImagePreviewGrid, type ImagePreviewGridProps, type ImportExportRecordDownloadParams, type ImportExportRecordQuery, InitiatorApproverSelector, type InstanceStatus, type ListNotificationInboxParams, type ListWorkCenterItemsParams, type LoadDingTalkClientOptions, type LoginLogGetParams, type LoginLogListParams, type LoginLogRecord, type LoginLogStats, type LoginLogStatsParams, type LoginLogStatus, type LoginMethodsResult, LoginPage, type LoginPageProps, type MarkAllNotificationReadResult, type NotificationChannel, type NotificationChannelConfig, type NotificationChannelsConfig, type NotificationConfigLevel, type NotificationInboxListResult, type NotificationInboxMessage, type NotificationInboxReadStatus, type NotificationMessageRecord, type NotificationTemplate, type NotificationTemplatePreview, type NotificationTypeConfig, type NotificationUnreadCountResult, OpenXiangdaPageProvider, type OpenXiangdaPageProviderProps, OpenXiangdaProvider, type OpenXiangdaProviderProps, type OrganizationAccountListParams, type OrganizationCapabilities, type OrganizationListResult, type PageApiPermissionRecord, type PageApiResponse, type PageAppInfo, type PageBinaryResponse, type PageBridgeApi, type PageContext, type PageDataManagementConfig, type PageDataSourceDescriptor, type PageDepartmentInfo, type PageDepartmentRecord, type PageHttpMethod, type PageInfo, type PageListResult, type PageMessageApi, type PageModalApi, type PageNavigationApi, type PageOffsetListResult, type PagePermissionGroup, type PagePermissionInfo, PageProvider, type PageQueryValue, type PageRequestCache, type PageRequestOptions, type PageRoleRecord, type PageRouteInfo, type PageScope, type PageSdk, type PageSdkError, type PageSdkMeta, type PageTransportDownloadPayload, type PageTransportRequestPayload, type PageUiPermissionRecord, type PageUiPermissionType, type PageUserInfo, type PageUserRecord, type PageUserType, type PasswordLoginInput, PermissionBoundary, type PermissionBoundaryFallback, type PermissionBoundaryFallbackState, type PermissionBoundaryProps, type PhoneCodeInput, type PhoneCodeLoginInput, type PhoneCodeRegisterInput, type PhoneCodeSendResult, type PreviewDingTalkNotificationParams, type PreviewNotificationTemplateParams, ProcessActionBar, type ProcessActionBarProps, type ProcessApproveAction, type ProcessCapabilities, type ProcessCapabilityOperation, type ProcessInstanceLookupParams, ProcessPreviewPanel, type ProcessPreviewPanelProps, ProcessTimeline, type ProcessTimelineProps, type PublicAccessClaim, type PublicAccessClient, PublicAccessClientError, type PublicAccessClientOptions, PublicAccessGate, type PublicAccessGateProps, type PublicAccessSessionData, type PublicAccessSessionInput, type PublicFormGrant, type PublicStorageAction, type PublicStorageGrant, type QueryFormPermissionGroupDto, type QueryPagePermissionGroupDto, type RefreshInput, type RequestDingTalkAuthCodeOptions, type ResetOrganizationAccountPasswordParams, type ResolveLoginUrlInput, type ResolveProcessCapabilitiesParams, type RoleListParams, type RoleUsersParams, type RouteAccessResult, RuntimeAuthGuard, type RuntimeAuthGuardProps, type RuntimeAuthState, type RuntimeAuthStatus, type RuntimeBootstrap, type RuntimeErrorSnapshot, type RuntimeErrorType, type RuntimeLogoutOptions, type RuntimeMenuItem, type RuntimePagePermissions, type RuntimeRedirectLoginOptions, type RuntimeRequestError, type RuntimeRequestState, type RuntimeResolveLoginOptions, type SaveDataManagementConfigParams, type SchoolContactClass, type SchoolContactPerson, type SchoolContactRelationListParams, type SchoolContactRelationListResult, type SchoolContactRelationRecord, type SchoolContactSyncState, type SchoolContactTeacher, type SchoolContactTeacherListParams, type SchoolContactTeacherListResult, type SchoolContactTeacherMembershipRecord, type SearchComponentName, type SearchExpression, type SearchFieldKey, type SearchGroup, type SearchLogic, type SearchOperator, type SearchRule, type SearchSortItem, type SearchSystemField, type SendNotificationByTypeParams, type SendNotificationResult, type SsoLoginUrlInput, type SsoLoginUrlResult, type StructuredExportCellStyle, type StructuredExportColumnDefinition, type StructuredExportCreateParams, type StructuredExportFormatDefinition, type StructuredExportFormatType, type StructuredExportGetParams, type StructuredExportScope, type StructuredExportSheetDefinition, type StructuredExportSourceDefinition, type StructuredExportStyleRule, type StructuredExportTask, type StructuredExportTaskStatus, type StructuredExportValueDefinition, type StructuredExportWorkbookDefinition, type SubFormRule, type SwitchAppRoleParams, type SwitchPlatformRoleParams, type TerminateProcessInstanceParams, type TriggerCallbackTaskParams, type TrustedNodeV2Context, type UiPermissionListParams, type UpdateApiPermissionParams, type UpdateDingTalkCardParams, type UpdateDingTalkCardResult, type UpdateFormPermissionGroupDto, type UpdateOrganizationAccountParams, type UpdateOrganizationDepartmentParams, type UpdatePagePermissionGroupDto, type UpdateRoleParams, type UpdateUiPermissionParams, type UpdateUserParams, type UseAuthOptions, type UseCanAccessRouteInput, type UseFilePreviewOptions, type UseLoginMethodsState, type UseProcessActionsOptions, type UseProcessActionsReturn, type UseProcessCapabilitiesOptions, type UseProcessCapabilitiesReturn, type UsePublicAccessOptions, type UsePublicAccessState, type UserListParams, type UserMenuPermissionsResponse, type ValidateUserParams, type ViewFieldPermissionValue, type ViewOperationPermission, type ViewPermissionSummary, type WorkCenterBoxType, type WorkCenterGroupedStat, type WorkCenterItem, type WorkCenterListResult, type WorkCenterStats, type WorkCenterStatsParams, type WorkflowApproveParams, type WorkflowCapabilityActionKey, type WorkflowDefinitionByFormParams, type WorkflowInitiatorSelectCandidatesParams, type WorkflowInitiatorSelectRequirementsParams, type WorkflowPreviewParams, type WorkflowResubmitInitiatorSelectRequirementsParams, type WorkflowResubmitParams, type WorkflowReturnParams, type WorkflowSaveTaskParams, type WorkflowStartFromExistingInstanceParams, type WorkflowTaskParams, type WorkflowTransferParams, type WorkflowWithdrawParams, createAdminListPreferenceStore, createAuthClient, createDataViewAdminListSource, createFormAdminListSource, createFunctionAdminListSource, createPageFormRuntimeApi, createPageSdk, createPublicAccessClient, createReactPage, detectDingTalkLoginEnvironment, getAuthErrorExtra, getAuthErrorReason, getDingTalkClient, getDingTalkOAuthRecoveryMessage, isAuthChallengeRequired, isAuthClientError, isDingTalkContainer, isDingTalkJsApiReady, isWeChatBrowser, loadDingTalkClient, mergeAdminListPreference, requestDingTalkAuthCode, useAppMenus, useAuth, useCanAccessRoute, useCurrentUser, useDataSource, useFilePreview, useFormViewPermissions, useLoginMethods, useMessage, useModal, useNavigation, useOpenXiangda, usePageContext, usePageFormRuntimeApi, usePageProps, usePageRoute, usePageSdk, usePermission, useProcessActions, useProcessCapabilities, usePublicAccess, useRuntimeAuth, useRuntimeBootstrap };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<!-- OpenXiangda-Policy-Version: 7 -->
|
|
2
|
+
|
|
2
3
|
# AGENTS.md — OpenXiangda React SPA 应用工作区
|
|
3
4
|
|
|
4
5
|
本工作区是标准 React 18 + Vite + React Router 应用。默认模板只提供应用壳、账号菜单和一个首页,不是开发验证控制台。
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
- 调查预算默认为一次覆盖完整调用链的 CodeGraph 查询,只有明确缺失符号时再补一次精确查询;普通任务只加载一个领域技能。租约、构建或部署状态未变化时不重复输出相同进度,使用 `openxiangda task status --watch` 等待状态变化。
|
|
18
19
|
- 账号、角色、权限、数据范围、组织账号、RBAC、查询参数授权需求必须先运行 `openxiangda design gates --topic permissions --json`,选择 `managed-platform-account` / `existing-platform-user-assignment` / `static-role-permission` / `query-param-context`,输出权限矩阵后再实现。
|
|
19
20
|
- 应用角色只读查询组织账号时声明 `app:organization:read`;创建、修改账号/部门或重置密码时声明 `app:organization:manage`。创建角色、分配成员或维护权限组也必须在角色资源的 `apiPermissionCodes` 声明对应的 `app:role:manage`、`app:page-permission-group:manage`、`app:form-permission-group:manage`。
|
|
20
|
-
- 家校关系页面调用 `sdk.organization.schoolContact.*`;用 `SCHOOL_HEAD_TEACHER` 判断全局班主任身份,用 `teachers.list` 的 `isHeadTeacher`
|
|
21
|
+
- 家校关系页面调用 `sdk.organization.schoolContact.*`;用 `SCHOOL_HEAD_TEACHER` 判断全局班主任身份,用 `teachers.list` 的 `isHeadTeacher`、`teacher.managedClasses` 和 `class.headTeachers` 判断具体班级双向关系。已登录非游客用户无需绑定应用角色权限,默认范围是当前租户全部关系。只有明确需要本人或任教班级限制时才声明 `:self:read` / `:class:read`。
|
|
21
22
|
- 默认用户界面保持克制:左侧应用导航、顶部账号信息、首页内容区域。
|
|
22
23
|
- 不在默认可见页面展示 SDK、Runtime、Cookie、Proxy、Playwright、AI 验证、调试上下文、构建号等开发语言。
|
|
23
24
|
- 使用 React Router 管理路由,路由定义在 `src/app/router.tsx`。
|
|
@@ -58,6 +59,8 @@ openxiangda studio
|
|
|
58
59
|
openxiangda commands --json
|
|
59
60
|
```
|
|
60
61
|
|
|
62
|
+
未登记环境的旧工作区只有在平台已核验“精确非删除目标来自多次历史发布、无法对应单一 Git 基线”时,才可在同一条 `release publish` 上增加 `--adopt-online-baseline --adoption-reason "..."`。CLI 只把该意图传给精确 `resource publish --only/--code` 阶段;表单 ensure、Runtime 与 App finalize 不接收,原因不足或没有精确资源阶段会在获取租约前失败关闭。
|
|
63
|
+
|
|
61
64
|
模板已停用无范围的 `pnpm deploy` 聚合入口。日常变更必须使用 `resource plan|publish <type> --only <codes>`(单资源可用 `--code <code>`)。Form bundle、Backend Release 和 Runtime 都先暂存;CLI 会按 `--change` 自动聚合 `.openxiangda/releases/<change>/staged-resources.json`,最后只由一次 Root App finalize 原子激活。Form Release 一旦 abort 绝不能作为幂等结果复用;重新执行相同精确表单发布时,CLI 会淘汰旧 staged 索引,平台会创建新的不可变 attempt,再由 Root App 一次事务重试。相同 change 的既有 staged FormRelease 只有在 CLI 重新核验服务端不可变状态、identity/hash、冻结 schema/formType、finalized 资源、parent/base revision 和当前 Form Head 后,才可重挂接到新的 baseline/session;`schemaSyncedAt` 只是本地缓存元数据。禁止伪造它、提前激活 Form 或用顺序激活多张表单绕过失败。不要使用 `workspace publish --form`、单独 `runtime activate`、`pnpm publish:all`、`pnpm openxiangda:publish` 或 `lowcode-workspace publish-all`。
|
|
62
65
|
|
|
63
66
|
同一发布同时包含 Form 设置和表单权限组时,必须由一条 `resource publish form-setting,form-permission-group` 命令暂存,并在 `--only` 中分别使用 `form-setting:<code>`、`form-permission-group:<code>`。SDD bundle 与 prepublish 校验使用同一精确契约;缺失、夹带、拆成两个 FormRelease 或提前激活都应失败关闭。
|
|
@@ -128,7 +131,11 @@ React SPA 页面需要声明菜单 code、route code 和 path pattern。默认
|
|
|
128
131
|
页面中可以使用:
|
|
129
132
|
|
|
130
133
|
```tsx
|
|
131
|
-
import {
|
|
134
|
+
import {
|
|
135
|
+
PermissionBoundary,
|
|
136
|
+
useAppMenus,
|
|
137
|
+
useRuntimeBootstrap,
|
|
138
|
+
} from "openxiangda/runtime/react";
|
|
132
139
|
```
|
|
133
140
|
|
|
134
141
|
`PermissionBoundary` 只能做展示保护,不能替代后端权限。不要硬编码角色、前端模拟权限、只判断 query 参数或用空数组兜底伪装成功。后端返回 401 时跳登录,403 时展示无权限状态。
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<!-- OpenXiangda-Policy-Version: 7 -->
|
|
2
|
+
|
|
2
3
|
# AGENTS.md — OpenXiangda 工作区 AI 强约束
|
|
3
4
|
|
|
4
5
|
> 任何 AI(Qoder / Claude / Codex / Cursor / Copilot 等)在本工作区操作前 **必须先读完本文件**。
|
|
@@ -24,25 +25,25 @@ Delivery V2 自动从期望状态按资源指纹计算精确范围,使用 CLI
|
|
|
24
25
|
|
|
25
26
|
## 路由表 — 用户意图 → 命令 / skill
|
|
26
27
|
|
|
27
|
-
| 用户说(中 / 英)
|
|
28
|
-
|
|
29
|
-
| 发布 / 上线 / 部署 / publish / deploy
|
|
30
|
-
| 晋级生产
|
|
31
|
-
| 发布失败 / 断点续跑
|
|
32
|
-
| 创建应用 / 新建 app / 初始化工作区
|
|
33
|
-
| 绑定已有应用
|
|
34
|
-
| 创建 / 改表单字段、schema、表单页
|
|
35
|
-
| 导出表单数据 / 图片 / 附件 / Excel / zip
|
|
36
|
-
| 创建 / 改自定义代码页、portal、看板
|
|
37
|
-
| 审批流程 / 流程节点 / JS_CODE
|
|
38
|
-
| 自动化 / 定时任务 / 提交触发 / cron
|
|
28
|
+
| 用户说(中 / 英) | 用 skill | 第一条命令 |
|
|
29
|
+
| --------------------------------------------------------- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
30
|
+
| 发布 / 上线 / 部署 / publish / deploy | `openxiangda-core` | `openxiangda check --environment preproduction` → `openxiangda deploy preproduction` |
|
|
31
|
+
| 晋级生产 | `openxiangda-core` | `openxiangda deploy production --package <packageDigest>` |
|
|
32
|
+
| 发布失败 / 断点续跑 | `openxiangda-core` | `openxiangda status <runId>` → `openxiangda retry <runId>` |
|
|
33
|
+
| 创建应用 / 新建 app / 初始化工作区 | `openxiangda-app` | `openxiangda workspace init <dir> --profile <name> --app-name "..."` |
|
|
34
|
+
| 绑定已有应用 | `openxiangda-app` | `openxiangda workspace bind --profile <name> --app-type APP_XXX` |
|
|
35
|
+
| 创建 / 改表单字段、schema、表单页 | `openxiangda-form` | 编辑表单并声明 form-setting bundle → `resource publish form-setting --only <code>` 暂存;整应用由 `app-finalize` 激活 |
|
|
36
|
+
| 导出表单数据 / 图片 / 附件 / Excel / zip | `openxiangda-form` | `openxiangda form export <formCode> --mode xlsx | xlsx-images | package --profile <name>` |
|
|
37
|
+
| 创建 / 改自定义代码页、portal、看板 | `openxiangda-page` | 编辑 `src/pages/<code>/` → `workspace publish --page <code>` |
|
|
38
|
+
| 审批流程 / 流程节点 / JS_CODE | `openxiangda-workflow-automation` | `openxiangda workflow validate / create / publish` |
|
|
39
|
+
| 自动化 / 定时任务 / 提交触发 / cron | `openxiangda-workflow-automation` | `openxiangda automation validate / create / publish / enable` |
|
|
39
40
|
| 账号 / 角色 / 权限组 / 字段权限 / 数据范围 / 查询参数授权 | `openxiangda-permission-settings` | 先 `openxiangda design gates --topic permissions --json`,再 `openxiangda permission ...` / `openxiangda settings ...` |
|
|
40
|
-
| 查应用结构 / 快照 / 对比 / 排查 / 报错
|
|
41
|
-
| 登录 / 切平台 / token / whoami
|
|
42
|
-
| 多表只读联表查询 / 报表数据源
|
|
43
|
-
| 调外部 / 第三方 API / 钉钉 / 自建系统
|
|
44
|
-
| 外部后端 / 三方系统调用享搭 / AK/SK / 开放接口
|
|
45
|
-
| 资源诊断 / 小步修复 / 同步 manifest
|
|
41
|
+
| 查应用结构 / 快照 / 对比 / 排查 / 报错 | `openxiangda-inspect` | `openxiangda app snapshot <APP_XXX> --profile <name> --json` |
|
|
42
|
+
| 登录 / 切平台 / token / whoami | `openxiangda-core` | `openxiangda env --profile <name>` / `openxiangda auth status` |
|
|
43
|
+
| 多表只读联表查询 / 报表数据源 | `openxiangda-form`(data view) | 在 `src/resources/data-views/<code>.json` 声明 → `resource publish` |
|
|
44
|
+
| 调外部 / 第三方 API / 钉钉 / 自建系统 | `openxiangda-page`(connector) | 在 `src/resources/connectors/<code>.json` 声明 → `sdk.connector.invoke()` |
|
|
45
|
+
| 外部后端 / 三方系统调用享搭 / AK/SK / 开放接口 | `openxiangda-open-api` | `openxiangda open-api spec list --search <keyword> --json` |
|
|
46
|
+
| 资源诊断 / 小步修复 / 同步 manifest | 对应资源 skill | `openxiangda route | public-access | auth-config | function | connector | notification | data-view | menu | permission ... --dry-run` |
|
|
46
47
|
|
|
47
48
|
## 必须遵守
|
|
48
49
|
|
|
@@ -51,7 +52,7 @@ Delivery V2 自动从期望状态按资源指纹计算精确范围,使用 CLI
|
|
|
51
52
|
- ✅ L2/L3 保留 context → propose → 用户确认 → approve;默认只创建 change/coverage/release,完整文档由 `sdd render` 按需生成。approval、coverage 与实际发布范围为硬门禁,未完成的任务/证据/规格文案只告警。需要严格文档门禁时显式配置 `strictDocumentation: true`。
|
|
52
53
|
- ✅ 涉及账号、角色、权限、数据范围、组织账号、RBAC、查询参数授权时,先跑 `openxiangda design gates --topic permissions --json`,选择 `managed-platform-account` / `existing-platform-user-assignment` / `static-role-permission` / `query-param-context`,并输出权限矩阵后再改资源。
|
|
53
54
|
- ✅ 某个应用角色如果要查询组织账号,声明 `app:organization:read`;如需创建、修改账号/部门或重置密码,再声明 `app:organization:manage`。角色设置、页面/表单权限组等能力同样通过 `src/resources/roles/<code>.json` 的 `apiPermissionCodes` 显式授权,例如 `app:role:manage`、`app:page-permission-group:manage`、`app:form-permission-group:manage`。
|
|
54
|
-
- ✅ 查询家校通讯录的家长、学生、教师、班主任身份和班级/监护关系时使用 `sdk.organization.schoolContact.*` / `ctx.organization.schoolContact.*`。`SCHOOL_HEAD_TEACHER` 只判断全局身份,具体班级必须读取 `teachers.list` 的 `isHeadTeacher`。已登录非游客用户无需绑定应用角色权限,默认查询当前租户全部关系;只有明确要求时才声明 `:self:read` 或 `:class:read` 收紧。
|
|
55
|
+
- ✅ 查询家校通讯录的家长、学生、教师、班主任身份和班级/监护关系时使用 `sdk.organization.schoolContact.*` / `ctx.organization.schoolContact.*`。`SCHOOL_HEAD_TEACHER` 只判断全局身份,具体班级必须读取 `teachers.list` 的 `isHeadTeacher`、`teacher.managedClasses` 和 `class.headTeachers`。已登录非游客用户无需绑定应用角色权限,默认查询当前租户全部关系;只有明确要求时才声明 `:self:read` 或 `:class:read` 收紧。
|
|
55
56
|
- ✅ 单文件改动默认按 change 和逻辑资源增量发布:`workspace plan --profile <name> --change <change> --changed`,再 `workspace publish --profile <name> --change <change> --only pages/a,forms/b --dry-run` → 正式发布。
|
|
56
57
|
- ✅ 用户 token 在 `~/.openxiangda/profiles.json`;项目 state 在 `.openxiangda/state.json`(只存 ID)。
|
|
57
58
|
- ✅ 共享环境(`APP_OSS_*`、反馈机器人等)在 `~/.openxiangda/.env`,项目 `.env` 仅做 per-workspace override。
|
|
@@ -64,7 +65,7 @@ Delivery V2 自动从期望状态按资源指纹计算精确范围,使用 CLI
|
|
|
64
65
|
- ✅ Function/Automation 使用 Backend Release v2;正式多资源发布用精确 `--only/--code` 加 `--stage-only` 暂存,同一 child 可混合源码 create、无 `sourceFile` 的完整 v3 声明式 Automation manifest create、source-only update 和显式 manifest replacement,再由 Root App finalize 原子激活。声明式 create 自动选路;替换已有资源的整包 manifest 才需要另加 `--replace-manifest --reason "..."`。clone primary 与冻结仓库 ID 不同时,只有冻结 ID 已存在于 `repoAliases` 才会统一用于 Backend/Workflow/Root App Release;无交集继续失败关闭。
|
|
65
66
|
- ✅ 相同 change 已有 staged FormRelease 时,不要直发 schema、伪造 `schemaSyncedAt` 或提前激活 Form。CLI 只在重新核验服务端不可变状态、identity/hash、冻结 schema/formType、finalized 资源、parent/base revision 与当前 Form Head 后,才将 child 重挂接到新的 baseline/session;冲突继续失败关闭。
|
|
66
67
|
- ✅ 同一发布同时包含 Form 设置和表单权限组时,必须使用一条 `resource publish form-setting,form-permission-group`,并以 `form-setting:<code>`、`form-permission-group:<code>` 精确限定 `--only`;SDD bundle 与 prepublish 校验共享该契约,禁止缺失、夹带、拆分发布或提前激活。
|
|
67
|
-
- ✅ 未登记环境的旧工作区,正式 promotion 先聚合 mainline bundle 并 commit/push,再运行 `release publish --change <id> --profile <name
|
|
68
|
+
- ✅ 未登记环境的旧工作区,正式 promotion 先聚合 mainline bundle 并 commit/push,再运行 `release publish --change <id> --profile <name>`。平台核验精确非删除目标来自多次历史 lineage 后,可成对增加 `--adopt-online-baseline --adoption-reason "..."`;参数只进入精确 `resource publish --only/--code` 阶段,不进入 ensure、Runtime 或 App finalize,无精确资源范围时在获取租约前失败关闭。
|
|
68
69
|
- ✅ 旧工作区已有 Root、且操作者明确授权无条件恢复时,可执行 `release app-activate <releaseId> --force-activate-without-validation --profile <name>`。该命令不读取 detail/capture,不要求 change、租约、baseline、源码 lineage、状态、parent、hash、resource head 或环境发布门禁;服务端直接在目标 tenant/appType 内以单事务切换 Root 与可识别的 staged children。
|
|
69
70
|
- ✅ 已通过 `environment init` 或 `environment attach` 接入的工作区使用 `release ship`,始终按 candidate → preproduction → production 执行。日常首条命令在预发停止,后续 `--confirm-production` 晋级;用户明确授权紧急发布时,首条命令可携带 `--confirm-production` 在一个命令内顺序完成两阶段,但不跳过预发、证据、CAS 或确认。candidate 封存源码、public、构建配置/脚本、稳定环境/资源绑定和两目标 Runtime 哈希产物;部署不现场重建,Backend/Runtime/Root 子发布始终使用 candidate sourceRevision,并将两条服务端 deployment 闭环为 `succeeded`。两套环境身份仍完全隔离,人工验收建议和 swap/policy/权限门禁保持不变。
|
|
70
71
|
- ✅ DataView `status` 仅是平台生命周期观察值;同一托管部署导致的 `active → draft → active` 不应让候选失效。`dataViewId`、`materializedViewName`、`storageMode`、其他资源状态、哈希、环境身份、CAS、租约和来源主线仍严格校验。
|