@nocobase/client-v2 2.1.0-alpha.40 → 2.1.0-alpha.45
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/es/Application.d.ts +7 -0
- package/es/BaseApplication.d.ts +13 -0
- package/es/RouterManager.d.ts +1 -0
- package/es/collection-field-interface/CollectionFieldInterface.d.ts +51 -15
- package/es/collection-field-interface/CollectionFieldInterfaceManager.d.ts +82 -3
- package/es/collection-manager/field-configure.d.ts +80 -0
- package/es/collection-manager/field-validation.d.ts +43 -0
- package/es/collection-manager/filter-operators/index.d.ts +46 -0
- package/es/collection-manager/filter-operators/operators.d.ts +30 -0
- package/es/collection-manager/interfaces/checkbox.d.ts +1 -41
- package/es/collection-manager/interfaces/checkboxGroup.d.ts +12 -44
- package/es/collection-manager/interfaces/collection.d.ts +12 -51
- package/es/collection-manager/interfaces/color.d.ts +1 -16
- package/es/collection-manager/interfaces/createdAt.d.ts +1 -44
- package/es/collection-manager/interfaces/createdBy.d.ts +0 -4
- package/es/collection-manager/interfaces/dateOnly.d.ts +7 -44
- package/es/collection-manager/interfaces/datetime.d.ts +1 -44
- package/es/collection-manager/interfaces/datetimeNoTz.d.ts +1 -44
- package/es/collection-manager/interfaces/email.d.ts +1 -29
- package/es/collection-manager/interfaces/id.d.ts +1 -16
- package/es/collection-manager/interfaces/index.d.ts +2 -3
- package/es/collection-manager/interfaces/input.d.ts +1 -102
- package/es/collection-manager/interfaces/integer.d.ts +1 -95
- package/es/collection-manager/interfaces/json.d.ts +16 -7
- package/es/collection-manager/interfaces/m2m.d.ts +11 -19
- package/es/collection-manager/interfaces/m2o.d.ts +11 -19
- package/es/collection-manager/interfaces/markdown.d.ts +1 -63
- package/es/collection-manager/interfaces/multipleSelect.d.ts +12 -44
- package/es/collection-manager/interfaces/nanoid.d.ts +1 -34
- package/es/collection-manager/interfaces/number.d.ts +1 -87
- package/es/collection-manager/interfaces/o2m.d.ts +12 -24
- package/es/collection-manager/interfaces/obo.d.ts +207 -0
- package/es/collection-manager/interfaces/oho.d.ts +207 -0
- package/es/collection-manager/interfaces/password.d.ts +1 -56
- package/es/collection-manager/interfaces/percent.d.ts +1 -84
- package/es/collection-manager/interfaces/phone.d.ts +1 -25
- package/es/collection-manager/interfaces/properties/index.d.ts +0 -28
- package/es/collection-manager/interfaces/radioGroup.d.ts +1 -29
- package/es/collection-manager/interfaces/richText.d.ts +1 -63
- package/es/collection-manager/interfaces/select.d.ts +12 -44
- package/es/collection-manager/interfaces/snowflake-id.d.ts +1 -34
- package/es/collection-manager/interfaces/tableoid.d.ts +1 -10
- package/es/collection-manager/interfaces/textarea.d.ts +1 -51
- package/es/collection-manager/interfaces/time.d.ts +1 -16
- package/es/collection-manager/interfaces/types.d.ts +3 -12
- package/es/collection-manager/interfaces/unixTimestamp.d.ts +1 -44
- package/es/collection-manager/interfaces/updatedAt.d.ts +1 -44
- package/es/collection-manager/interfaces/updatedBy.d.ts +0 -4
- package/es/collection-manager/interfaces/url.d.ts +1 -20
- package/es/collection-manager/interfaces/uuid.d.ts +1 -34
- package/es/collection-manager/template-fields.d.ts +53 -0
- package/es/components/KeepAlive.d.ts +22 -0
- package/es/components/RouterBridge.d.ts +9 -0
- package/es/components/form/DialogFormLayout.d.ts +5 -29
- package/es/components/form/VariableInput.d.ts +53 -2
- package/es/components/form/filter/CollectionFilter.d.ts +49 -0
- package/es/components/form/filter/CollectionFilterItem.d.ts +49 -0
- package/es/components/form/filter/DateFilterDynamicComponent.d.ts +57 -0
- package/es/components/form/filter/FilterValueInput.d.ts +29 -0
- package/es/components/form/filter/index.d.ts +11 -0
- package/es/components/form/filter/useFilterActionProps.d.ts +96 -0
- package/es/components/form/index.d.ts +1 -0
- package/es/data-source/ExtendCollectionsProvider.d.ts +50 -0
- package/es/data-source/index.d.ts +9 -0
- package/es/flow/FlowPage.d.ts +2 -1
- package/es/flow/admin-shell/AdminLayoutRouteCoordinator.d.ts +8 -40
- package/es/flow/admin-shell/BaseLayoutModel.d.ts +89 -0
- package/es/flow/admin-shell/BaseLayoutRouteCoordinator.d.ts +74 -0
- package/es/flow/admin-shell/admin-layout/AdminLayoutEntryGuard.d.ts +12 -0
- package/es/flow/admin-shell/admin-layout/AdminLayoutModel.d.ts +7 -92
- package/es/flow/admin-shell/admin-layout/AppListRender.d.ts +11 -0
- package/es/flow/admin-shell/admin-layout/index.d.ts +3 -0
- package/es/flow/admin-shell/admin-layout/useApplications.d.ts +3 -2
- package/es/flow/admin-shell/useAdminLayoutRoutePage.d.ts +2 -2
- package/es/flow/admin-shell/useLayoutRoutePage.d.ts +23 -0
- package/es/flow/components/FlowRoute.d.ts +10 -1
- package/es/flow/components/filter/index.d.ts +2 -0
- package/es/flow/components/filter/useFilterOptions.d.ts +66 -0
- package/es/flow/index.d.ts +4 -0
- package/es/flow/models/base/PageModel/PageModel.d.ts +3 -1
- package/es/flow/models/blocks/assign-form/assignFieldValuesFlow.d.ts +84 -0
- package/es/flow/models/blocks/assign-form/index.d.ts +1 -0
- package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +1 -0
- package/es/flow/models/blocks/form/FormActionModel.d.ts +9 -2
- package/es/flow/models/blocks/table/TableBlockModel.d.ts +10 -0
- package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +1 -1
- package/es/flow-compat/passwordUtils.d.ts +1 -1
- package/es/index.d.ts +6 -0
- package/es/index.mjs +552 -459
- package/es/layout-manager/LayoutContentRoute.d.ts +14 -0
- package/es/layout-manager/LayoutManager.d.ts +22 -0
- package/es/layout-manager/LayoutRoute.d.ts +14 -0
- package/es/layout-manager/index.d.ts +13 -0
- package/es/layout-manager/types.d.ts +20 -0
- package/es/layout-manager/utils.d.ts +14 -0
- package/es/nocobase-buildin-plugin/index.d.ts +3 -10
- package/es/settings-center/index.d.ts +1 -1
- package/es/settings-center/plugin-manager/BulkEnableButton.d.ts +15 -0
- package/es/settings-center/plugin-manager/PluginCard.d.ts +15 -0
- package/es/settings-center/plugin-manager/PluginDetail.d.ts +16 -0
- package/es/settings-center/{PluginManagerPage.d.ts → plugin-manager/index.d.ts} +1 -7
- package/es/settings-center/plugin-manager/types.d.ts +34 -0
- package/lib/index.js +552 -459
- package/package.json +8 -7
- package/src/Application.tsx +51 -12
- package/src/BaseApplication.tsx +32 -0
- package/src/PluginSettingsManager.ts +1 -1
- package/src/RouterManager.tsx +17 -1
- package/src/__tests__/PluginSettingsManager.test.ts +41 -2
- package/src/__tests__/app.test.tsx +17 -1
- package/src/__tests__/globalDeps.test.ts +1 -0
- package/src/__tests__/nocobase-buildin-plugin-auth.test.tsx +45 -2
- package/src/__tests__/plugin-manager.test.tsx +177 -0
- package/src/__tests__/settings-center.test.tsx +24 -2
- package/src/collection-field-interface/CollectionFieldInterface.ts +71 -77
- package/src/collection-field-interface/CollectionFieldInterfaceManager.ts +201 -4
- package/src/collection-manager/field-configure.ts +548 -0
- package/src/collection-manager/field-validation.ts +195 -0
- package/src/collection-manager/filter-operators/index.ts +176 -0
- package/src/collection-manager/{interfaces/properties → filter-operators}/operators.ts +24 -13
- package/src/collection-manager/interfaces/checkbox.ts +2 -9
- package/src/collection-manager/interfaces/checkboxGroup.ts +2 -10
- package/src/collection-manager/interfaces/collection.ts +2 -15
- package/src/collection-manager/interfaces/color.ts +2 -2
- package/src/collection-manager/interfaces/createdAt.ts +2 -2
- package/src/collection-manager/interfaces/createdBy.ts +1 -12
- package/src/collection-manager/interfaces/dateOnly.ts +8 -2
- package/src/collection-manager/interfaces/datetime.ts +2 -2
- package/src/collection-manager/interfaces/datetimeNoTz.ts +2 -2
- package/src/collection-manager/interfaces/email.ts +2 -9
- package/src/collection-manager/interfaces/id.ts +1 -2
- package/src/collection-manager/interfaces/index.ts +2 -3
- package/src/collection-manager/interfaces/input.ts +2 -133
- package/src/collection-manager/interfaces/integer.ts +2 -71
- package/src/collection-manager/interfaces/json.tsx +17 -11
- package/src/collection-manager/interfaces/m2m.tsx +0 -21
- package/src/collection-manager/interfaces/m2o.tsx +0 -22
- package/src/collection-manager/interfaces/markdown.ts +2 -51
- package/src/collection-manager/interfaces/multipleSelect.ts +2 -14
- package/src/collection-manager/interfaces/nanoid.ts +2 -2
- package/src/collection-manager/interfaces/number.ts +2 -85
- package/src/collection-manager/interfaces/o2m.tsx +1 -22
- package/src/collection-manager/interfaces/obo.tsx +145 -0
- package/src/collection-manager/interfaces/oho.tsx +145 -0
- package/src/collection-manager/interfaces/password.ts +2 -44
- package/src/collection-manager/interfaces/percent.ts +2 -74
- package/src/collection-manager/interfaces/phone.ts +2 -2
- package/src/collection-manager/interfaces/properties/index.ts +0 -133
- package/src/collection-manager/interfaces/radioGroup.ts +2 -2
- package/src/collection-manager/interfaces/richText.ts +2 -51
- package/src/collection-manager/interfaces/select.ts +2 -14
- package/src/collection-manager/interfaces/snowflake-id.ts +2 -2
- package/src/collection-manager/interfaces/tableoid.ts +1 -2
- package/src/collection-manager/interfaces/textarea.ts +2 -51
- package/src/collection-manager/interfaces/time.ts +2 -2
- package/src/collection-manager/interfaces/types.ts +4 -12
- package/src/collection-manager/interfaces/unixTimestamp.tsx +2 -2
- package/src/collection-manager/interfaces/updatedAt.ts +2 -2
- package/src/collection-manager/interfaces/updatedBy.ts +1 -12
- package/src/collection-manager/interfaces/url.ts +2 -4
- package/src/collection-manager/interfaces/uuid.ts +2 -2
- package/src/collection-manager/template-fields.ts +109 -0
- package/src/components/KeepAlive.tsx +131 -0
- package/src/components/README.md +90 -6
- package/src/components/README.zh-CN.md +90 -7
- package/src/components/RouterBridge.tsx +28 -4
- package/src/components/__tests__/KeepAlive.test.tsx +63 -0
- package/src/components/__tests__/RouterBridge.test.tsx +27 -0
- package/src/components/form/DialogFormLayout.tsx +5 -29
- package/src/components/form/VariableInput.tsx +101 -28
- package/src/components/form/__tests__/VariableInput.test.ts +85 -0
- package/src/components/form/filter/CollectionFilter.tsx +111 -0
- package/src/components/form/filter/CollectionFilterItem.tsx +184 -0
- package/src/components/form/filter/DateFilterDynamicComponent.tsx +283 -0
- package/src/components/form/filter/FilterValueInput.tsx +198 -0
- package/src/components/form/filter/__tests__/CollectionFilterItem.test.tsx +247 -0
- package/src/components/form/filter/__tests__/DateFilterDynamicComponent.test.tsx +148 -0
- package/src/components/form/filter/__tests__/FilterValueInput.test.tsx +243 -0
- package/src/components/form/filter/__tests__/compileFilterGroup.test.ts +146 -0
- package/src/components/form/filter/index.ts +13 -0
- package/src/components/form/filter/useFilterActionProps.ts +203 -0
- package/src/components/form/index.tsx +1 -0
- package/src/data-source/ExtendCollectionsProvider.tsx +144 -0
- package/src/data-source/__tests__/ExtendCollectionsProvider.test.tsx +264 -0
- package/src/data-source/index.ts +10 -0
- package/src/flow/FlowPage.tsx +35 -7
- package/src/flow/__tests__/FlowPage.test.tsx +79 -0
- package/src/flow/__tests__/FlowRoute.test.tsx +529 -2
- package/src/flow/actions/__tests__/linkageRules.subFormSetFieldProps.test.ts +191 -0
- package/src/flow/actions/__tests__/openView.subModelKey.test.tsx +33 -0
- package/src/flow/actions/aclCheck.tsx +4 -0
- package/src/flow/actions/aclCheckRefresh.tsx +4 -0
- package/src/flow/actions/dateTimeFormat.tsx +12 -8
- package/src/flow/actions/linkageRules.tsx +122 -0
- package/src/flow/actions/openView.tsx +28 -4
- package/src/flow/admin-shell/AdminLayoutRouteCoordinator.ts +11 -329
- package/src/flow/admin-shell/BaseLayoutModel.tsx +455 -0
- package/src/flow/admin-shell/BaseLayoutRouteCoordinator.ts +502 -0
- package/src/flow/admin-shell/__tests__/AdminLayoutRouteCoordinator.test.ts +547 -3
- package/src/flow/admin-shell/admin-layout/AdminLayoutComponent.tsx +35 -7
- package/src/flow/admin-shell/admin-layout/AdminLayoutEntryGuard.tsx +160 -0
- package/src/flow/admin-shell/admin-layout/AdminLayoutMenuModels.tsx +0 -12
- package/src/flow/admin-shell/admin-layout/AdminLayoutModel.tsx +28 -201
- package/src/flow/admin-shell/admin-layout/AdminLayoutSlotModels.tsx +11 -2
- package/src/flow/admin-shell/admin-layout/AppListRender.tsx +139 -0
- package/src/flow/admin-shell/admin-layout/__tests__/AdminLayoutMenuModels.test.ts +1 -26
- package/src/flow/admin-shell/admin-layout/__tests__/AdminLayoutModel.test.tsx +149 -27
- package/src/flow/admin-shell/admin-layout/index.ts +3 -0
- package/src/flow/admin-shell/admin-layout/useApplications.tsx +34 -1
- package/src/flow/admin-shell/useAdminLayoutRoutePage.ts +10 -26
- package/src/flow/admin-shell/useLayoutRoutePage.ts +61 -0
- package/src/flow/components/AdminLayout.tsx +4 -154
- package/src/flow/components/FlowRoute.tsx +105 -15
- package/src/flow/components/filter/index.ts +3 -0
- package/src/flow/components/filter/useFilterOptions.ts +102 -0
- package/src/flow/index.ts +4 -0
- package/src/flow/models/actions/UpdateRecordActionModel.tsx +14 -95
- package/src/flow/models/actions/UpdateRecordActionUtils.ts +4 -7
- package/src/flow/models/actions/__tests__/AssignFormRefill.test.ts +26 -1
- package/src/flow/models/base/ActionModel.tsx +8 -1
- package/src/flow/models/base/PageModel/PageModel.tsx +51 -18
- package/src/flow/models/base/PageModel/RootPageModel.tsx +6 -13
- package/src/flow/models/base/PageModel/__tests__/PageModel.test.ts +102 -1
- package/src/flow/models/base/RouteModel.tsx +1 -1
- package/src/flow/models/blocks/assign-form/AssignFormItemModel.tsx +63 -2
- package/src/flow/models/blocks/assign-form/assignFieldValuesFlow.tsx +206 -0
- package/src/flow/models/blocks/assign-form/index.ts +1 -0
- package/src/flow/models/blocks/form/FormActionGroupModel.tsx +14 -0
- package/src/flow/models/blocks/form/FormActionModel.tsx +30 -3
- package/src/flow/models/blocks/form/FormItemModel.tsx +8 -1
- package/src/flow/models/blocks/form/__tests__/FormActionGroupModel.test.ts +46 -0
- package/src/flow/models/blocks/form/__tests__/submitHandler.test.ts +71 -0
- package/src/flow/models/blocks/form/submitHandler.ts +8 -1
- package/src/flow/models/blocks/form/submitValues.ts +4 -1
- package/src/flow/models/blocks/table/TableBlockModel.tsx +118 -16
- package/src/flow/models/blocks/table/__tests__/TableBlockModel.rowSelection.test.tsx +114 -0
- package/src/flow/models/fields/AssociationFieldModel/SubFormFieldModel.tsx +7 -1
- package/src/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.tsx +1 -1
- package/src/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.tsx +6 -5
- package/src/flow/models/fields/ClickableFieldModel.tsx +9 -1
- package/src/flow/models/fields/CollectionSelectorFieldModel.tsx +8 -2
- package/src/flow/models/fields/DisplayEnumFieldModel.tsx +8 -2
- package/src/flow/models/fields/DisplayTimeFieldModel.tsx +1 -1
- package/src/flow/models/fields/TimeFieldModel.tsx +1 -1
- package/src/flow/models/fields/__tests__/TimeFieldModel.test.tsx +61 -0
- package/src/flow/models/fields/mobile-components/MobileDatePicker.tsx +19 -3
- package/src/flow/models/fields/mobile-components/__tests__/MobileDatePicker.test.tsx +94 -0
- package/src/flow/models/topbar/TopbarActionModel.tsx +1 -1
- package/src/flow/utils/__tests__/dateTimeFormat.test.ts +91 -0
- package/src/index.ts +6 -0
- package/src/layout-manager/LayoutContentRoute.tsx +90 -0
- package/src/layout-manager/LayoutManager.tsx +185 -0
- package/src/layout-manager/LayoutRoute.tsx +138 -0
- package/src/layout-manager/__tests__/LayoutManager.test.tsx +335 -0
- package/src/layout-manager/__tests__/LayoutRoute.test.tsx +473 -0
- package/src/layout-manager/index.ts +14 -0
- package/src/layout-manager/types.ts +22 -0
- package/src/layout-manager/utils.ts +37 -0
- package/src/nocobase-buildin-plugin/index.tsx +69 -67
- package/src/nocobase-buildin-plugin/plugins/LocalePlugin.ts +1 -0
- package/src/settings-center/index.ts +1 -1
- package/src/settings-center/plugin-manager/BulkEnableButton.tsx +111 -0
- package/src/settings-center/plugin-manager/PluginCard.tsx +270 -0
- package/src/settings-center/plugin-manager/PluginDetail.tsx +195 -0
- package/src/settings-center/plugin-manager/index.tsx +254 -0
- package/src/settings-center/plugin-manager/types.ts +35 -0
- package/src/settings-center/utils.tsx +8 -1
- package/src/theme/__tests__/globalStyles.test.ts +24 -0
- package/src/theme/globalStyles.ts +10 -0
- package/src/utils/globalDeps.ts +2 -0
- package/es/collection-manager/interfaces/linkTo.d.ts +0 -90
- package/es/collection-manager/interfaces/o2o.d.ts +0 -621
- package/es/collection-manager/interfaces/properties/operators.d.ts +0 -294
- package/es/collection-manager/interfaces/subTable.d.ts +0 -172
- package/src/collection-manager/interfaces/linkTo.ts +0 -120
- package/src/collection-manager/interfaces/o2o.tsx +0 -561
- package/src/collection-manager/interfaces/subTable.ts +0 -218
- package/src/settings-center/PluginManagerPage.tsx +0 -162
|
@@ -1,621 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import { ISchema } from '@formily/react';
|
|
10
|
-
import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
|
|
11
|
-
export declare class O2OFieldInterface extends CollectionFieldInterface {
|
|
12
|
-
name: string;
|
|
13
|
-
type: string;
|
|
14
|
-
group: string;
|
|
15
|
-
order: number;
|
|
16
|
-
title: string;
|
|
17
|
-
description: string;
|
|
18
|
-
isAssociation: boolean;
|
|
19
|
-
validationType: string;
|
|
20
|
-
default: {
|
|
21
|
-
type: string;
|
|
22
|
-
uiSchema: {
|
|
23
|
-
'x-component': string;
|
|
24
|
-
'x-component-props': {
|
|
25
|
-
multiple: boolean;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
reverseField: {
|
|
29
|
-
interface: string;
|
|
30
|
-
type: string;
|
|
31
|
-
uiSchema: {
|
|
32
|
-
'x-component': string;
|
|
33
|
-
'x-component-props': {
|
|
34
|
-
multiple: boolean;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
availableTypes: string[];
|
|
40
|
-
schemaInitialize(schema: ISchema, { field, block, readPretty, action, targetCollection }: {
|
|
41
|
-
field: any;
|
|
42
|
-
block: any;
|
|
43
|
-
readPretty: any;
|
|
44
|
-
action: any;
|
|
45
|
-
targetCollection: any;
|
|
46
|
-
}): void;
|
|
47
|
-
properties: {
|
|
48
|
-
'uiSchema.title': {
|
|
49
|
-
type: string;
|
|
50
|
-
title: string;
|
|
51
|
-
required: boolean;
|
|
52
|
-
'x-decorator': string;
|
|
53
|
-
'x-component': string;
|
|
54
|
-
};
|
|
55
|
-
name: {
|
|
56
|
-
type: string;
|
|
57
|
-
title: string;
|
|
58
|
-
required: boolean;
|
|
59
|
-
'x-disabled': string;
|
|
60
|
-
'x-decorator': string;
|
|
61
|
-
'x-component': string;
|
|
62
|
-
description: string;
|
|
63
|
-
};
|
|
64
|
-
type: import("@formily/react").Stringify<{
|
|
65
|
-
[key: symbol]: any;
|
|
66
|
-
[key: `x-${string}`]: any;
|
|
67
|
-
[key: `x-${number}`]: any;
|
|
68
|
-
version?: string;
|
|
69
|
-
name?: import("@formily/react").SchemaKey;
|
|
70
|
-
title?: any;
|
|
71
|
-
description?: any;
|
|
72
|
-
default?: any;
|
|
73
|
-
readOnly?: boolean;
|
|
74
|
-
writeOnly?: boolean;
|
|
75
|
-
type?: import("@formily/react").SchemaTypes;
|
|
76
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
77
|
-
const?: any;
|
|
78
|
-
multipleOf?: number;
|
|
79
|
-
maximum?: number;
|
|
80
|
-
exclusiveMaximum?: number;
|
|
81
|
-
minimum?: number;
|
|
82
|
-
exclusiveMinimum?: number;
|
|
83
|
-
maxLength?: number;
|
|
84
|
-
minLength?: number;
|
|
85
|
-
pattern?: string | RegExp;
|
|
86
|
-
maxItems?: number;
|
|
87
|
-
minItems?: number;
|
|
88
|
-
uniqueItems?: boolean;
|
|
89
|
-
maxProperties?: number;
|
|
90
|
-
minProperties?: number;
|
|
91
|
-
required?: string | boolean | string[];
|
|
92
|
-
format?: string;
|
|
93
|
-
$ref?: string;
|
|
94
|
-
$namespace?: string;
|
|
95
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
96
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
97
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
98
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
99
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
100
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
101
|
-
"x-value"?: any;
|
|
102
|
-
"x-index"?: number;
|
|
103
|
-
"x-pattern"?: any;
|
|
104
|
-
"x-display"?: any;
|
|
105
|
-
"x-validator"?: any;
|
|
106
|
-
"x-decorator"?: any;
|
|
107
|
-
"x-decorator-props"?: any;
|
|
108
|
-
"x-component"?: any;
|
|
109
|
-
"x-component-props"?: any;
|
|
110
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
111
|
-
"x-content"?: any;
|
|
112
|
-
"x-data"?: any;
|
|
113
|
-
"x-visible"?: boolean;
|
|
114
|
-
"x-hidden"?: boolean;
|
|
115
|
-
"x-disabled"?: boolean;
|
|
116
|
-
"x-editable"?: boolean;
|
|
117
|
-
"x-read-only"?: boolean;
|
|
118
|
-
"x-read-pretty"?: boolean;
|
|
119
|
-
"x-compile-omitted"?: string[];
|
|
120
|
-
}>;
|
|
121
|
-
grid: {
|
|
122
|
-
type: string;
|
|
123
|
-
'x-component': string;
|
|
124
|
-
properties: {
|
|
125
|
-
row1: {
|
|
126
|
-
type: string;
|
|
127
|
-
'x-component': string;
|
|
128
|
-
properties: {
|
|
129
|
-
col11: {
|
|
130
|
-
type: string;
|
|
131
|
-
'x-component': string;
|
|
132
|
-
properties: {
|
|
133
|
-
source: {
|
|
134
|
-
type: string;
|
|
135
|
-
title: string;
|
|
136
|
-
'x-decorator': string;
|
|
137
|
-
'x-component': string;
|
|
138
|
-
'x-disabled': boolean;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
col12: {
|
|
143
|
-
type: string;
|
|
144
|
-
'x-component': string;
|
|
145
|
-
properties: {
|
|
146
|
-
target: {
|
|
147
|
-
type: string;
|
|
148
|
-
title: string;
|
|
149
|
-
required: boolean;
|
|
150
|
-
'x-reactions': string[];
|
|
151
|
-
'x-decorator': string;
|
|
152
|
-
'x-component': string;
|
|
153
|
-
'x-disabled': string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
row2: {
|
|
160
|
-
type: string;
|
|
161
|
-
'x-component': string;
|
|
162
|
-
properties: {
|
|
163
|
-
col21: {
|
|
164
|
-
type: string;
|
|
165
|
-
'x-component': string;
|
|
166
|
-
properties: {
|
|
167
|
-
sourceKey: {
|
|
168
|
-
type: string;
|
|
169
|
-
title: string;
|
|
170
|
-
description: string;
|
|
171
|
-
'x-decorator': string;
|
|
172
|
-
'x-component': string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
col22: {
|
|
177
|
-
type: string;
|
|
178
|
-
'x-component': string;
|
|
179
|
-
properties: {
|
|
180
|
-
foreignKey: {
|
|
181
|
-
type: string;
|
|
182
|
-
title: string;
|
|
183
|
-
required: boolean;
|
|
184
|
-
default: string;
|
|
185
|
-
description: string;
|
|
186
|
-
'x-decorator': string;
|
|
187
|
-
'x-component': string;
|
|
188
|
-
'x-validator': string;
|
|
189
|
-
'x-disabled': string;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
'reverseField.name': {
|
|
198
|
-
type: string;
|
|
199
|
-
title: string;
|
|
200
|
-
'x-hidden': string;
|
|
201
|
-
'x-decorator': string;
|
|
202
|
-
'x-component': string;
|
|
203
|
-
description: string;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
filterable: {
|
|
207
|
-
nested: boolean;
|
|
208
|
-
children: any[];
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
export declare class OHOFieldInterface extends CollectionFieldInterface {
|
|
212
|
-
name: string;
|
|
213
|
-
type: string;
|
|
214
|
-
group: string;
|
|
215
|
-
order: number;
|
|
216
|
-
title: string;
|
|
217
|
-
description: string;
|
|
218
|
-
isAssociation: boolean;
|
|
219
|
-
validationType: string;
|
|
220
|
-
default: {
|
|
221
|
-
type: string;
|
|
222
|
-
uiSchema: {
|
|
223
|
-
'x-component': string;
|
|
224
|
-
'x-component-props': {
|
|
225
|
-
multiple: boolean;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
reverseField: {
|
|
229
|
-
interface: string;
|
|
230
|
-
type: string;
|
|
231
|
-
uiSchema: {
|
|
232
|
-
'x-component': string;
|
|
233
|
-
'x-component-props': {
|
|
234
|
-
multiple: boolean;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
availableTypes: string[];
|
|
240
|
-
schemaInitialize(schema: ISchema, { field, block, readPretty, action, targetCollection }: {
|
|
241
|
-
field: any;
|
|
242
|
-
block: any;
|
|
243
|
-
readPretty: any;
|
|
244
|
-
action: any;
|
|
245
|
-
targetCollection: any;
|
|
246
|
-
}): void;
|
|
247
|
-
properties: {
|
|
248
|
-
onDelete: {
|
|
249
|
-
type: string;
|
|
250
|
-
title: string;
|
|
251
|
-
required: boolean;
|
|
252
|
-
default: string;
|
|
253
|
-
'x-disabled': string;
|
|
254
|
-
'x-decorator': string;
|
|
255
|
-
'x-component': string;
|
|
256
|
-
enum: {
|
|
257
|
-
label: string;
|
|
258
|
-
value: string;
|
|
259
|
-
}[];
|
|
260
|
-
};
|
|
261
|
-
'uiSchema.title': {
|
|
262
|
-
type: string;
|
|
263
|
-
title: string;
|
|
264
|
-
required: boolean;
|
|
265
|
-
'x-decorator': string;
|
|
266
|
-
'x-component': string;
|
|
267
|
-
};
|
|
268
|
-
name: {
|
|
269
|
-
type: string;
|
|
270
|
-
title: string;
|
|
271
|
-
required: boolean;
|
|
272
|
-
'x-disabled': string;
|
|
273
|
-
'x-decorator': string;
|
|
274
|
-
'x-component': string;
|
|
275
|
-
description: string;
|
|
276
|
-
};
|
|
277
|
-
type: import("@formily/react").Stringify<{
|
|
278
|
-
[key: symbol]: any;
|
|
279
|
-
[key: `x-${string}`]: any;
|
|
280
|
-
[key: `x-${number}`]: any;
|
|
281
|
-
version?: string;
|
|
282
|
-
name?: import("@formily/react").SchemaKey;
|
|
283
|
-
title?: any;
|
|
284
|
-
description?: any;
|
|
285
|
-
default?: any;
|
|
286
|
-
readOnly?: boolean;
|
|
287
|
-
writeOnly?: boolean;
|
|
288
|
-
type?: import("@formily/react").SchemaTypes;
|
|
289
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
290
|
-
const?: any;
|
|
291
|
-
multipleOf?: number;
|
|
292
|
-
maximum?: number;
|
|
293
|
-
exclusiveMaximum?: number;
|
|
294
|
-
minimum?: number;
|
|
295
|
-
exclusiveMinimum?: number;
|
|
296
|
-
maxLength?: number;
|
|
297
|
-
minLength?: number;
|
|
298
|
-
pattern?: string | RegExp;
|
|
299
|
-
maxItems?: number;
|
|
300
|
-
minItems?: number;
|
|
301
|
-
uniqueItems?: boolean;
|
|
302
|
-
maxProperties?: number;
|
|
303
|
-
minProperties?: number;
|
|
304
|
-
required?: string | boolean | string[];
|
|
305
|
-
format?: string;
|
|
306
|
-
$ref?: string;
|
|
307
|
-
$namespace?: string;
|
|
308
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
309
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
310
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
311
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
312
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
313
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
314
|
-
"x-value"?: any;
|
|
315
|
-
"x-index"?: number;
|
|
316
|
-
"x-pattern"?: any;
|
|
317
|
-
"x-display"?: any;
|
|
318
|
-
"x-validator"?: any;
|
|
319
|
-
"x-decorator"?: any;
|
|
320
|
-
"x-decorator-props"?: any;
|
|
321
|
-
"x-component"?: any;
|
|
322
|
-
"x-component-props"?: any;
|
|
323
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
324
|
-
"x-content"?: any;
|
|
325
|
-
"x-data"?: any;
|
|
326
|
-
"x-visible"?: boolean;
|
|
327
|
-
"x-hidden"?: boolean;
|
|
328
|
-
"x-disabled"?: boolean;
|
|
329
|
-
"x-editable"?: boolean;
|
|
330
|
-
"x-read-only"?: boolean;
|
|
331
|
-
"x-read-pretty"?: boolean;
|
|
332
|
-
"x-compile-omitted"?: string[];
|
|
333
|
-
}>;
|
|
334
|
-
grid: {
|
|
335
|
-
type: string;
|
|
336
|
-
'x-component': string;
|
|
337
|
-
properties: {
|
|
338
|
-
row1: {
|
|
339
|
-
type: string;
|
|
340
|
-
'x-component': string;
|
|
341
|
-
properties: {
|
|
342
|
-
col11: {
|
|
343
|
-
type: string;
|
|
344
|
-
'x-component': string;
|
|
345
|
-
properties: {
|
|
346
|
-
source: {
|
|
347
|
-
type: string;
|
|
348
|
-
title: string;
|
|
349
|
-
'x-decorator': string;
|
|
350
|
-
'x-component': string;
|
|
351
|
-
'x-disabled': boolean;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
col12: {
|
|
356
|
-
type: string;
|
|
357
|
-
'x-component': string;
|
|
358
|
-
properties: {
|
|
359
|
-
target: {
|
|
360
|
-
type: string;
|
|
361
|
-
title: string;
|
|
362
|
-
required: boolean;
|
|
363
|
-
'x-reactions': string[];
|
|
364
|
-
'x-decorator': string;
|
|
365
|
-
'x-component': string;
|
|
366
|
-
'x-disabled': string;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
row2: {
|
|
373
|
-
type: string;
|
|
374
|
-
'x-component': string;
|
|
375
|
-
properties: {
|
|
376
|
-
col21: {
|
|
377
|
-
type: string;
|
|
378
|
-
'x-component': string;
|
|
379
|
-
properties: {
|
|
380
|
-
sourceKey: {
|
|
381
|
-
type: string;
|
|
382
|
-
title: string;
|
|
383
|
-
description: string;
|
|
384
|
-
'x-decorator': string;
|
|
385
|
-
'x-component': string;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
col22: {
|
|
390
|
-
type: string;
|
|
391
|
-
'x-component': string;
|
|
392
|
-
properties: {
|
|
393
|
-
foreignKey: {
|
|
394
|
-
type: string;
|
|
395
|
-
title: string;
|
|
396
|
-
required: boolean;
|
|
397
|
-
default: string;
|
|
398
|
-
description: string;
|
|
399
|
-
'x-decorator': string;
|
|
400
|
-
'x-component': string;
|
|
401
|
-
'x-validator': string;
|
|
402
|
-
'x-disabled': string;
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
filterable: {
|
|
412
|
-
nested: boolean;
|
|
413
|
-
children: any[];
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
export declare class OBOFieldInterface extends CollectionFieldInterface {
|
|
417
|
-
name: string;
|
|
418
|
-
type: string;
|
|
419
|
-
group: string;
|
|
420
|
-
order: number;
|
|
421
|
-
title: string;
|
|
422
|
-
description: string;
|
|
423
|
-
isAssociation: boolean;
|
|
424
|
-
validationType: string;
|
|
425
|
-
default: {
|
|
426
|
-
type: string;
|
|
427
|
-
uiSchema: {
|
|
428
|
-
'x-component': string;
|
|
429
|
-
'x-component-props': {
|
|
430
|
-
multiple: boolean;
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
reverseField: {
|
|
434
|
-
interface: string;
|
|
435
|
-
type: string;
|
|
436
|
-
uiSchema: {
|
|
437
|
-
'x-component': string;
|
|
438
|
-
'x-component-props': {
|
|
439
|
-
multiple: boolean;
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
availableTypes: string[];
|
|
445
|
-
schemaInitialize(schema: ISchema, { field, block, readPretty, action, targetCollection }: {
|
|
446
|
-
field: any;
|
|
447
|
-
block: any;
|
|
448
|
-
readPretty: any;
|
|
449
|
-
action: any;
|
|
450
|
-
targetCollection: any;
|
|
451
|
-
}): void;
|
|
452
|
-
properties: {
|
|
453
|
-
onDelete: {
|
|
454
|
-
type: string;
|
|
455
|
-
title: string;
|
|
456
|
-
required: boolean;
|
|
457
|
-
default: string;
|
|
458
|
-
'x-disabled': string;
|
|
459
|
-
'x-decorator': string;
|
|
460
|
-
'x-component': string;
|
|
461
|
-
enum: {
|
|
462
|
-
label: string;
|
|
463
|
-
value: string;
|
|
464
|
-
}[];
|
|
465
|
-
};
|
|
466
|
-
'uiSchema.title': {
|
|
467
|
-
type: string;
|
|
468
|
-
title: string;
|
|
469
|
-
required: boolean;
|
|
470
|
-
'x-decorator': string;
|
|
471
|
-
'x-component': string;
|
|
472
|
-
};
|
|
473
|
-
name: {
|
|
474
|
-
type: string;
|
|
475
|
-
title: string;
|
|
476
|
-
required: boolean;
|
|
477
|
-
'x-disabled': string;
|
|
478
|
-
'x-decorator': string;
|
|
479
|
-
'x-component': string;
|
|
480
|
-
description: string;
|
|
481
|
-
};
|
|
482
|
-
type: import("@formily/react").Stringify<{
|
|
483
|
-
[key: symbol]: any;
|
|
484
|
-
[key: `x-${string}`]: any;
|
|
485
|
-
[key: `x-${number}`]: any;
|
|
486
|
-
version?: string;
|
|
487
|
-
name?: import("@formily/react").SchemaKey;
|
|
488
|
-
title?: any;
|
|
489
|
-
description?: any;
|
|
490
|
-
default?: any;
|
|
491
|
-
readOnly?: boolean;
|
|
492
|
-
writeOnly?: boolean;
|
|
493
|
-
type?: import("@formily/react").SchemaTypes;
|
|
494
|
-
enum?: import("@formily/react").SchemaEnum<any>;
|
|
495
|
-
const?: any;
|
|
496
|
-
multipleOf?: number;
|
|
497
|
-
maximum?: number;
|
|
498
|
-
exclusiveMaximum?: number;
|
|
499
|
-
minimum?: number;
|
|
500
|
-
exclusiveMinimum?: number;
|
|
501
|
-
maxLength?: number;
|
|
502
|
-
minLength?: number;
|
|
503
|
-
pattern?: string | RegExp;
|
|
504
|
-
maxItems?: number;
|
|
505
|
-
minItems?: number;
|
|
506
|
-
uniqueItems?: boolean;
|
|
507
|
-
maxProperties?: number;
|
|
508
|
-
minProperties?: number;
|
|
509
|
-
required?: string | boolean | string[];
|
|
510
|
-
format?: string;
|
|
511
|
-
$ref?: string;
|
|
512
|
-
$namespace?: string;
|
|
513
|
-
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
514
|
-
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
515
|
-
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
516
|
-
additionalItems?: import("@formily/react").Stringify<any>;
|
|
517
|
-
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
518
|
-
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
519
|
-
"x-value"?: any;
|
|
520
|
-
"x-index"?: number;
|
|
521
|
-
"x-pattern"?: any;
|
|
522
|
-
"x-display"?: any;
|
|
523
|
-
"x-validator"?: any;
|
|
524
|
-
"x-decorator"?: any;
|
|
525
|
-
"x-decorator-props"?: any;
|
|
526
|
-
"x-component"?: any;
|
|
527
|
-
"x-component-props"?: any;
|
|
528
|
-
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
529
|
-
"x-content"?: any;
|
|
530
|
-
"x-data"?: any;
|
|
531
|
-
"x-visible"?: boolean;
|
|
532
|
-
"x-hidden"?: boolean;
|
|
533
|
-
"x-disabled"?: boolean;
|
|
534
|
-
"x-editable"?: boolean;
|
|
535
|
-
"x-read-only"?: boolean;
|
|
536
|
-
"x-read-pretty"?: boolean;
|
|
537
|
-
"x-compile-omitted"?: string[];
|
|
538
|
-
}>;
|
|
539
|
-
grid: {
|
|
540
|
-
type: string;
|
|
541
|
-
'x-component': string;
|
|
542
|
-
properties: {
|
|
543
|
-
row1: {
|
|
544
|
-
type: string;
|
|
545
|
-
'x-component': string;
|
|
546
|
-
properties: {
|
|
547
|
-
col11: {
|
|
548
|
-
type: string;
|
|
549
|
-
'x-component': string;
|
|
550
|
-
properties: {
|
|
551
|
-
source: {
|
|
552
|
-
type: string;
|
|
553
|
-
title: string;
|
|
554
|
-
'x-decorator': string;
|
|
555
|
-
'x-component': string;
|
|
556
|
-
'x-disabled': boolean;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
col12: {
|
|
561
|
-
type: string;
|
|
562
|
-
'x-component': string;
|
|
563
|
-
properties: {
|
|
564
|
-
target: {
|
|
565
|
-
type: string;
|
|
566
|
-
title: string;
|
|
567
|
-
required: boolean;
|
|
568
|
-
'x-reactions': string[];
|
|
569
|
-
'x-decorator': string;
|
|
570
|
-
'x-component': string;
|
|
571
|
-
'x-disabled': string;
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
row2: {
|
|
578
|
-
type: string;
|
|
579
|
-
'x-component': string;
|
|
580
|
-
properties: {
|
|
581
|
-
col21: {
|
|
582
|
-
type: string;
|
|
583
|
-
'x-component': string;
|
|
584
|
-
properties: {
|
|
585
|
-
foreignKey: {
|
|
586
|
-
type: string;
|
|
587
|
-
title: string;
|
|
588
|
-
required: boolean;
|
|
589
|
-
default: string;
|
|
590
|
-
description: string;
|
|
591
|
-
'x-decorator': string;
|
|
592
|
-
'x-component': string;
|
|
593
|
-
'x-validator': string;
|
|
594
|
-
'x-disabled': string;
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
};
|
|
598
|
-
col22: {
|
|
599
|
-
type: string;
|
|
600
|
-
'x-component': string;
|
|
601
|
-
properties: {
|
|
602
|
-
targetKey: {
|
|
603
|
-
type: string;
|
|
604
|
-
title: string;
|
|
605
|
-
description: string;
|
|
606
|
-
'x-decorator': string;
|
|
607
|
-
'x-component': string;
|
|
608
|
-
'x-disabled': string;
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
};
|
|
616
|
-
};
|
|
617
|
-
filterable: {
|
|
618
|
-
nested: boolean;
|
|
619
|
-
children: any[];
|
|
620
|
-
};
|
|
621
|
-
}
|