@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
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import { ISchema } from '@formily/react';
|
|
10
9
|
import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
|
|
11
10
|
export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
12
11
|
name: string;
|
|
@@ -37,12 +36,6 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
38
|
availableTypes: string[];
|
|
40
|
-
schemaInitialize(schema: ISchema, { field, block, readPretty, targetCollection }: {
|
|
41
|
-
field: any;
|
|
42
|
-
block: any;
|
|
43
|
-
readPretty: any;
|
|
44
|
-
targetCollection: any;
|
|
45
|
-
}): void;
|
|
46
39
|
properties: {
|
|
47
40
|
onDelete: {
|
|
48
41
|
type: string;
|
|
@@ -73,19 +66,19 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
73
66
|
'x-component': string;
|
|
74
67
|
description: string;
|
|
75
68
|
};
|
|
76
|
-
type: import("@formily/
|
|
69
|
+
type: import("@formily/json-schema").Stringify<{
|
|
77
70
|
[key: symbol]: any;
|
|
78
71
|
[key: `x-${string}`]: any;
|
|
79
72
|
[key: `x-${number}`]: any;
|
|
80
73
|
version?: string;
|
|
81
|
-
name?: import("@formily/
|
|
74
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
82
75
|
title?: any;
|
|
83
76
|
description?: any;
|
|
84
77
|
default?: any;
|
|
85
78
|
readOnly?: boolean;
|
|
86
79
|
writeOnly?: boolean;
|
|
87
|
-
type?: import("@formily/
|
|
88
|
-
enum?: import("@formily/
|
|
80
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
81
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
89
82
|
const?: any;
|
|
90
83
|
multipleOf?: number;
|
|
91
84
|
maximum?: number;
|
|
@@ -104,12 +97,12 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
104
97
|
format?: string;
|
|
105
98
|
$ref?: string;
|
|
106
99
|
$namespace?: string;
|
|
107
|
-
definitions?: import("@formily/
|
|
108
|
-
properties?: import("@formily/
|
|
109
|
-
items?: import("@formily/
|
|
110
|
-
additionalItems?: import("@formily/
|
|
111
|
-
patternProperties?: import("@formily/
|
|
112
|
-
additionalProperties?: import("@formily/
|
|
100
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
101
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
102
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
103
|
+
additionalItems?: import("@formily/json-schema").Stringify<any>;
|
|
104
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
105
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any>;
|
|
113
106
|
"x-value"?: any;
|
|
114
107
|
"x-index"?: number;
|
|
115
108
|
"x-pattern"?: any;
|
|
@@ -119,7 +112,7 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
119
112
|
"x-decorator-props"?: any;
|
|
120
113
|
"x-component"?: any;
|
|
121
114
|
"x-component-props"?: any;
|
|
122
|
-
"x-reactions"?: import("@formily/
|
|
115
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
123
116
|
"x-content"?: any;
|
|
124
117
|
"x-data"?: any;
|
|
125
118
|
"x-visible"?: boolean;
|
|
@@ -158,7 +151,6 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
158
151
|
type: string;
|
|
159
152
|
title: string;
|
|
160
153
|
required: boolean;
|
|
161
|
-
'x-reactions': string[];
|
|
162
154
|
'x-decorator': string;
|
|
163
155
|
'x-component': string;
|
|
164
156
|
'x-disabled': string;
|
|
@@ -179,13 +171,9 @@ export declare class O2MFieldInterface extends CollectionFieldInterface {
|
|
|
179
171
|
type: string;
|
|
180
172
|
title: string;
|
|
181
173
|
description: string;
|
|
182
|
-
default: string;
|
|
183
|
-
enum: {
|
|
184
|
-
label: string;
|
|
185
|
-
value: string;
|
|
186
|
-
}[];
|
|
187
174
|
'x-decorator': string;
|
|
188
175
|
'x-component': string;
|
|
176
|
+
'x-disabled': string;
|
|
189
177
|
};
|
|
190
178
|
};
|
|
191
179
|
};
|
|
@@ -0,0 +1,207 @@
|
|
|
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 { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
|
|
10
|
+
export declare class OBOFieldInterface extends CollectionFieldInterface {
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
group: string;
|
|
14
|
+
order: number;
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
isAssociation: boolean;
|
|
18
|
+
validationType: string;
|
|
19
|
+
default: {
|
|
20
|
+
type: string;
|
|
21
|
+
uiSchema: {
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
multiple: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
reverseField: {
|
|
28
|
+
interface: string;
|
|
29
|
+
type: string;
|
|
30
|
+
uiSchema: {
|
|
31
|
+
'x-component': string;
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
availableTypes: string[];
|
|
39
|
+
properties: {
|
|
40
|
+
onDelete: {
|
|
41
|
+
type: string;
|
|
42
|
+
title: string;
|
|
43
|
+
required: boolean;
|
|
44
|
+
default: string;
|
|
45
|
+
'x-disabled': string;
|
|
46
|
+
'x-decorator': string;
|
|
47
|
+
'x-component': string;
|
|
48
|
+
enum: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
'uiSchema.title': {
|
|
54
|
+
type: string;
|
|
55
|
+
title: string;
|
|
56
|
+
required: boolean;
|
|
57
|
+
'x-decorator': string;
|
|
58
|
+
'x-component': string;
|
|
59
|
+
};
|
|
60
|
+
name: {
|
|
61
|
+
type: string;
|
|
62
|
+
title: string;
|
|
63
|
+
required: boolean;
|
|
64
|
+
'x-disabled': string;
|
|
65
|
+
'x-decorator': string;
|
|
66
|
+
'x-component': string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
type: import("@formily/json-schema").Stringify<{
|
|
70
|
+
[key: symbol]: any;
|
|
71
|
+
[key: `x-${string}`]: any;
|
|
72
|
+
[key: `x-${number}`]: any;
|
|
73
|
+
version?: string;
|
|
74
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
75
|
+
title?: any;
|
|
76
|
+
description?: any;
|
|
77
|
+
default?: any;
|
|
78
|
+
readOnly?: boolean;
|
|
79
|
+
writeOnly?: boolean;
|
|
80
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
81
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
82
|
+
const?: any;
|
|
83
|
+
multipleOf?: number;
|
|
84
|
+
maximum?: number;
|
|
85
|
+
exclusiveMaximum?: number;
|
|
86
|
+
minimum?: number;
|
|
87
|
+
exclusiveMinimum?: number;
|
|
88
|
+
maxLength?: number;
|
|
89
|
+
minLength?: number;
|
|
90
|
+
pattern?: string | RegExp;
|
|
91
|
+
maxItems?: number;
|
|
92
|
+
minItems?: number;
|
|
93
|
+
uniqueItems?: boolean;
|
|
94
|
+
maxProperties?: number;
|
|
95
|
+
minProperties?: number;
|
|
96
|
+
required?: string | boolean | string[];
|
|
97
|
+
format?: string;
|
|
98
|
+
$ref?: string;
|
|
99
|
+
$namespace?: string;
|
|
100
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
101
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
102
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
103
|
+
additionalItems?: import("@formily/json-schema").Stringify<any>;
|
|
104
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
105
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any>;
|
|
106
|
+
"x-value"?: any;
|
|
107
|
+
"x-index"?: number;
|
|
108
|
+
"x-pattern"?: any;
|
|
109
|
+
"x-display"?: any;
|
|
110
|
+
"x-validator"?: any;
|
|
111
|
+
"x-decorator"?: any;
|
|
112
|
+
"x-decorator-props"?: any;
|
|
113
|
+
"x-component"?: any;
|
|
114
|
+
"x-component-props"?: any;
|
|
115
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
116
|
+
"x-content"?: any;
|
|
117
|
+
"x-data"?: any;
|
|
118
|
+
"x-visible"?: boolean;
|
|
119
|
+
"x-hidden"?: boolean;
|
|
120
|
+
"x-disabled"?: boolean;
|
|
121
|
+
"x-editable"?: boolean;
|
|
122
|
+
"x-read-only"?: boolean;
|
|
123
|
+
"x-read-pretty"?: boolean;
|
|
124
|
+
"x-compile-omitted"?: string[];
|
|
125
|
+
}>;
|
|
126
|
+
grid: {
|
|
127
|
+
type: string;
|
|
128
|
+
'x-component': string;
|
|
129
|
+
properties: {
|
|
130
|
+
row1: {
|
|
131
|
+
type: string;
|
|
132
|
+
'x-component': string;
|
|
133
|
+
properties: {
|
|
134
|
+
col11: {
|
|
135
|
+
type: string;
|
|
136
|
+
'x-component': string;
|
|
137
|
+
properties: {
|
|
138
|
+
source: {
|
|
139
|
+
type: string;
|
|
140
|
+
title: string;
|
|
141
|
+
'x-decorator': string;
|
|
142
|
+
'x-component': string;
|
|
143
|
+
'x-disabled': boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
col12: {
|
|
148
|
+
type: string;
|
|
149
|
+
'x-component': string;
|
|
150
|
+
properties: {
|
|
151
|
+
target: {
|
|
152
|
+
type: string;
|
|
153
|
+
title: string;
|
|
154
|
+
required: boolean;
|
|
155
|
+
'x-decorator': string;
|
|
156
|
+
'x-component': string;
|
|
157
|
+
'x-disabled': string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
row2: {
|
|
164
|
+
type: string;
|
|
165
|
+
'x-component': string;
|
|
166
|
+
properties: {
|
|
167
|
+
col21: {
|
|
168
|
+
type: string;
|
|
169
|
+
'x-component': string;
|
|
170
|
+
properties: {
|
|
171
|
+
foreignKey: {
|
|
172
|
+
type: string;
|
|
173
|
+
title: string;
|
|
174
|
+
required: boolean;
|
|
175
|
+
default: string;
|
|
176
|
+
description: string;
|
|
177
|
+
'x-decorator': string;
|
|
178
|
+
'x-component': string;
|
|
179
|
+
'x-validator': string;
|
|
180
|
+
'x-disabled': string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
col22: {
|
|
185
|
+
type: string;
|
|
186
|
+
'x-component': string;
|
|
187
|
+
properties: {
|
|
188
|
+
targetKey: {
|
|
189
|
+
type: string;
|
|
190
|
+
title: string;
|
|
191
|
+
description: string;
|
|
192
|
+
'x-decorator': string;
|
|
193
|
+
'x-component': string;
|
|
194
|
+
'x-disabled': string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
filterable: {
|
|
204
|
+
nested: boolean;
|
|
205
|
+
children: any[];
|
|
206
|
+
};
|
|
207
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
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 { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
|
|
10
|
+
export declare class OHOFieldInterface extends CollectionFieldInterface {
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
group: string;
|
|
14
|
+
order: number;
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
isAssociation: boolean;
|
|
18
|
+
validationType: string;
|
|
19
|
+
default: {
|
|
20
|
+
type: string;
|
|
21
|
+
uiSchema: {
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
multiple: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
reverseField: {
|
|
28
|
+
interface: string;
|
|
29
|
+
type: string;
|
|
30
|
+
uiSchema: {
|
|
31
|
+
'x-component': string;
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
availableTypes: string[];
|
|
39
|
+
properties: {
|
|
40
|
+
onDelete: {
|
|
41
|
+
type: string;
|
|
42
|
+
title: string;
|
|
43
|
+
required: boolean;
|
|
44
|
+
default: string;
|
|
45
|
+
'x-disabled': string;
|
|
46
|
+
'x-decorator': string;
|
|
47
|
+
'x-component': string;
|
|
48
|
+
enum: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
'uiSchema.title': {
|
|
54
|
+
type: string;
|
|
55
|
+
title: string;
|
|
56
|
+
required: boolean;
|
|
57
|
+
'x-decorator': string;
|
|
58
|
+
'x-component': string;
|
|
59
|
+
};
|
|
60
|
+
name: {
|
|
61
|
+
type: string;
|
|
62
|
+
title: string;
|
|
63
|
+
required: boolean;
|
|
64
|
+
'x-disabled': string;
|
|
65
|
+
'x-decorator': string;
|
|
66
|
+
'x-component': string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
type: import("@formily/json-schema").Stringify<{
|
|
70
|
+
[key: symbol]: any;
|
|
71
|
+
[key: `x-${string}`]: any;
|
|
72
|
+
[key: `x-${number}`]: any;
|
|
73
|
+
version?: string;
|
|
74
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
75
|
+
title?: any;
|
|
76
|
+
description?: any;
|
|
77
|
+
default?: any;
|
|
78
|
+
readOnly?: boolean;
|
|
79
|
+
writeOnly?: boolean;
|
|
80
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
81
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
82
|
+
const?: any;
|
|
83
|
+
multipleOf?: number;
|
|
84
|
+
maximum?: number;
|
|
85
|
+
exclusiveMaximum?: number;
|
|
86
|
+
minimum?: number;
|
|
87
|
+
exclusiveMinimum?: number;
|
|
88
|
+
maxLength?: number;
|
|
89
|
+
minLength?: number;
|
|
90
|
+
pattern?: string | RegExp;
|
|
91
|
+
maxItems?: number;
|
|
92
|
+
minItems?: number;
|
|
93
|
+
uniqueItems?: boolean;
|
|
94
|
+
maxProperties?: number;
|
|
95
|
+
minProperties?: number;
|
|
96
|
+
required?: string | boolean | string[];
|
|
97
|
+
format?: string;
|
|
98
|
+
$ref?: string;
|
|
99
|
+
$namespace?: string;
|
|
100
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
101
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
102
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
103
|
+
additionalItems?: import("@formily/json-schema").Stringify<any>;
|
|
104
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
105
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any>;
|
|
106
|
+
"x-value"?: any;
|
|
107
|
+
"x-index"?: number;
|
|
108
|
+
"x-pattern"?: any;
|
|
109
|
+
"x-display"?: any;
|
|
110
|
+
"x-validator"?: any;
|
|
111
|
+
"x-decorator"?: any;
|
|
112
|
+
"x-decorator-props"?: any;
|
|
113
|
+
"x-component"?: any;
|
|
114
|
+
"x-component-props"?: any;
|
|
115
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
116
|
+
"x-content"?: any;
|
|
117
|
+
"x-data"?: any;
|
|
118
|
+
"x-visible"?: boolean;
|
|
119
|
+
"x-hidden"?: boolean;
|
|
120
|
+
"x-disabled"?: boolean;
|
|
121
|
+
"x-editable"?: boolean;
|
|
122
|
+
"x-read-only"?: boolean;
|
|
123
|
+
"x-read-pretty"?: boolean;
|
|
124
|
+
"x-compile-omitted"?: string[];
|
|
125
|
+
}>;
|
|
126
|
+
grid: {
|
|
127
|
+
type: string;
|
|
128
|
+
'x-component': string;
|
|
129
|
+
properties: {
|
|
130
|
+
row1: {
|
|
131
|
+
type: string;
|
|
132
|
+
'x-component': string;
|
|
133
|
+
properties: {
|
|
134
|
+
col11: {
|
|
135
|
+
type: string;
|
|
136
|
+
'x-component': string;
|
|
137
|
+
properties: {
|
|
138
|
+
source: {
|
|
139
|
+
type: string;
|
|
140
|
+
title: string;
|
|
141
|
+
'x-decorator': string;
|
|
142
|
+
'x-component': string;
|
|
143
|
+
'x-disabled': boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
col12: {
|
|
148
|
+
type: string;
|
|
149
|
+
'x-component': string;
|
|
150
|
+
properties: {
|
|
151
|
+
target: {
|
|
152
|
+
type: string;
|
|
153
|
+
title: string;
|
|
154
|
+
required: boolean;
|
|
155
|
+
'x-decorator': string;
|
|
156
|
+
'x-component': string;
|
|
157
|
+
'x-disabled': string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
row2: {
|
|
164
|
+
type: string;
|
|
165
|
+
'x-component': string;
|
|
166
|
+
properties: {
|
|
167
|
+
col21: {
|
|
168
|
+
type: string;
|
|
169
|
+
'x-component': string;
|
|
170
|
+
properties: {
|
|
171
|
+
sourceKey: {
|
|
172
|
+
type: string;
|
|
173
|
+
title: string;
|
|
174
|
+
description: string;
|
|
175
|
+
'x-decorator': string;
|
|
176
|
+
'x-component': string;
|
|
177
|
+
'x-disabled': string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
col22: {
|
|
182
|
+
type: string;
|
|
183
|
+
'x-component': string;
|
|
184
|
+
properties: {
|
|
185
|
+
foreignKey: {
|
|
186
|
+
type: string;
|
|
187
|
+
title: string;
|
|
188
|
+
required: boolean;
|
|
189
|
+
default: string;
|
|
190
|
+
description: string;
|
|
191
|
+
'x-decorator': string;
|
|
192
|
+
'x-component': string;
|
|
193
|
+
'x-validator': string;
|
|
194
|
+
'x-disabled': string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
filterable: {
|
|
204
|
+
nested: boolean;
|
|
205
|
+
children: any[];
|
|
206
|
+
};
|
|
207
|
+
}
|
|
@@ -32,15 +32,6 @@ export declare class PasswordFieldInterface extends CollectionFieldInterface {
|
|
|
32
32
|
'x-decorator': string;
|
|
33
33
|
'x-component': string;
|
|
34
34
|
'x-disabled': string;
|
|
35
|
-
'x-reactions': {
|
|
36
|
-
dependencies: string[];
|
|
37
|
-
when: string;
|
|
38
|
-
fulfill: {
|
|
39
|
-
state: {
|
|
40
|
-
value: boolean;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}[];
|
|
44
35
|
};
|
|
45
36
|
'uiSchema.title': {
|
|
46
37
|
type: string;
|
|
@@ -60,53 +51,7 @@ export declare class PasswordFieldInterface extends CollectionFieldInterface {
|
|
|
60
51
|
description: string;
|
|
61
52
|
};
|
|
62
53
|
};
|
|
63
|
-
validateSchema: (fieldSchema: any) => {
|
|
64
|
-
max: {
|
|
65
|
-
type: string;
|
|
66
|
-
title: string;
|
|
67
|
-
minimum: number;
|
|
68
|
-
'x-decorator': string;
|
|
69
|
-
'x-component': string;
|
|
70
|
-
'x-component-props': {
|
|
71
|
-
precision: number;
|
|
72
|
-
};
|
|
73
|
-
'x-reactions': string;
|
|
74
|
-
};
|
|
75
|
-
min: {
|
|
76
|
-
type: string;
|
|
77
|
-
title: string;
|
|
78
|
-
minimum: number;
|
|
79
|
-
'x-decorator': string;
|
|
80
|
-
'x-component': string;
|
|
81
|
-
'x-component-props': {
|
|
82
|
-
precision: number;
|
|
83
|
-
};
|
|
84
|
-
'x-reactions': {
|
|
85
|
-
dependencies: string[];
|
|
86
|
-
fulfill: {
|
|
87
|
-
state: {
|
|
88
|
-
selfErrors: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
54
|
filterable: {
|
|
95
|
-
operators:
|
|
96
|
-
label: string;
|
|
97
|
-
value: string;
|
|
98
|
-
selected: boolean;
|
|
99
|
-
noValue?: undefined;
|
|
100
|
-
} | {
|
|
101
|
-
label: string;
|
|
102
|
-
value: string;
|
|
103
|
-
selected?: undefined;
|
|
104
|
-
noValue?: undefined;
|
|
105
|
-
} | {
|
|
106
|
-
label: string;
|
|
107
|
-
value: string;
|
|
108
|
-
noValue: boolean;
|
|
109
|
-
selected?: undefined;
|
|
110
|
-
})[];
|
|
55
|
+
operators: string;
|
|
111
56
|
};
|
|
112
57
|
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import { ISchema } from '@formily/react';
|
|
10
9
|
import { CollectionFieldInterface } from '../../collection-field-interface/CollectionFieldInterface';
|
|
11
10
|
export declare class PercentFieldInterface extends CollectionFieldInterface {
|
|
12
11
|
name: string;
|
|
@@ -27,12 +26,6 @@ export declare class PercentFieldInterface extends CollectionFieldInterface {
|
|
|
27
26
|
};
|
|
28
27
|
};
|
|
29
28
|
};
|
|
30
|
-
schemaInitialize(schema: ISchema, { field, block, readPretty, action }: {
|
|
31
|
-
field: any;
|
|
32
|
-
block: any;
|
|
33
|
-
readPretty: any;
|
|
34
|
-
action: any;
|
|
35
|
-
}): void;
|
|
36
29
|
availableTypes: string[];
|
|
37
30
|
hasDefaultValue: boolean;
|
|
38
31
|
validationType: string;
|
|
@@ -44,15 +37,6 @@ export declare class PercentFieldInterface extends CollectionFieldInterface {
|
|
|
44
37
|
'x-decorator': string;
|
|
45
38
|
'x-component': string;
|
|
46
39
|
'x-disabled': string;
|
|
47
|
-
'x-reactions': {
|
|
48
|
-
dependencies: string[];
|
|
49
|
-
when: string;
|
|
50
|
-
fulfill: {
|
|
51
|
-
state: {
|
|
52
|
-
value: boolean;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}[];
|
|
56
40
|
};
|
|
57
41
|
'uiSchema.x-component-props.step': {
|
|
58
42
|
type: string;
|
|
@@ -84,74 +68,7 @@ export declare class PercentFieldInterface extends CollectionFieldInterface {
|
|
|
84
68
|
};
|
|
85
69
|
};
|
|
86
70
|
filterable: {
|
|
87
|
-
operators:
|
|
88
|
-
label: string;
|
|
89
|
-
value: string;
|
|
90
|
-
selected: boolean;
|
|
91
|
-
noValue?: undefined;
|
|
92
|
-
} | {
|
|
93
|
-
label: string;
|
|
94
|
-
value: string;
|
|
95
|
-
selected?: undefined;
|
|
96
|
-
noValue?: undefined;
|
|
97
|
-
} | {
|
|
98
|
-
label: string;
|
|
99
|
-
value: string;
|
|
100
|
-
noValue: boolean;
|
|
101
|
-
selected?: undefined;
|
|
102
|
-
})[];
|
|
71
|
+
operators: string;
|
|
103
72
|
};
|
|
104
73
|
titleUsable: boolean;
|
|
105
|
-
validateSchema: (fieldSchema: any) => {
|
|
106
|
-
maxValue: {
|
|
107
|
-
type: string;
|
|
108
|
-
title: string;
|
|
109
|
-
'x-decorator': string;
|
|
110
|
-
'x-component': string;
|
|
111
|
-
'x-component-props': {
|
|
112
|
-
addonAfter: string;
|
|
113
|
-
};
|
|
114
|
-
'x-reactions': string;
|
|
115
|
-
};
|
|
116
|
-
minValue: {
|
|
117
|
-
type: string;
|
|
118
|
-
title: string;
|
|
119
|
-
'x-decorator': string;
|
|
120
|
-
'x-component': string;
|
|
121
|
-
'x-component-props': {
|
|
122
|
-
addonAfter: string;
|
|
123
|
-
};
|
|
124
|
-
'x-reactions': {
|
|
125
|
-
dependencies: string[];
|
|
126
|
-
fulfill: {
|
|
127
|
-
state: {
|
|
128
|
-
selfErrors: string;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
percentFormat: {
|
|
134
|
-
type: string;
|
|
135
|
-
title: string;
|
|
136
|
-
'x-decorator': string;
|
|
137
|
-
'x-component': string;
|
|
138
|
-
'x-component-props': {
|
|
139
|
-
allowClear: boolean;
|
|
140
|
-
};
|
|
141
|
-
enum: {
|
|
142
|
-
label: string;
|
|
143
|
-
value: string;
|
|
144
|
-
}[];
|
|
145
|
-
};
|
|
146
|
-
pattern: {
|
|
147
|
-
type: string;
|
|
148
|
-
title: string;
|
|
149
|
-
'x-decorator': string;
|
|
150
|
-
'x-component': string;
|
|
151
|
-
'x-component-props': {
|
|
152
|
-
prefix: string;
|
|
153
|
-
suffix: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
74
|
}
|