@nocobase/plugin-data-source-manager 2.1.0-beta.37 → 2.1.0-beta.40
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/client-v2.d.ts +2 -0
- package/client-v2.js +1 -0
- package/dist/client-v2/167.c72713810e2d0526.js +10 -0
- package/dist/client-v2/426.3cd9f994a3145829.js +10 -0
- package/dist/client-v2/components/DataSourceForm.d.ts +17 -0
- package/dist/client-v2/field-interfaces/index.d.ts +13 -0
- package/dist/client-v2/index.d.ts +12 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/client-v2/locale.d.ts +11 -0
- package/dist/client-v2/pages/DataSourceCollectionsPage.d.ts +10 -0
- package/dist/client-v2/pages/DataSourcesPage.d.ts +10 -0
- package/dist/client-v2/pages/components/CollectionsPage.d.ts +15 -0
- package/dist/client-v2/pages/components/FieldForm.d.ts +19 -0
- package/dist/client-v2/pages/components/FieldsPage.d.ts +15 -0
- package/dist/client-v2/pages/components/SqlCollectionConfigure.d.ts +62 -0
- package/dist/client-v2/pages/components/ViewCollectionConfigure.d.ts +27 -0
- package/dist/client-v2/pages/components/collectionFieldApi.d.ts +11 -0
- package/dist/client-v2/pages/components/collectionTemplateFieldInterfaces.d.ts +18 -0
- package/dist/client-v2/plugin.d.ts +188 -0
- package/dist/client-v2/runtime.d.ts +12 -0
- package/dist/client-v2/utils/compileLegacyTemplate.d.ts +13 -0
- package/dist/externalVersion.js +16 -12
- package/dist/locale/en-US.json +259 -0
- package/dist/locale/zh-CN.json +259 -0
- package/dist/node_modules/zod/package.json +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,19 @@
|
|
|
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 React from 'react';
|
|
10
|
+
interface FieldFormProps {
|
|
11
|
+
mode: 'create' | 'edit';
|
|
12
|
+
dataSourceKey: string;
|
|
13
|
+
collection: Record<string, any>;
|
|
14
|
+
interfaceName?: string;
|
|
15
|
+
field?: Record<string, any>;
|
|
16
|
+
onSubmitted: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function FieldForm(props: FieldFormProps): React.JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 React from 'react';
|
|
10
|
+
interface FieldsPageProps {
|
|
11
|
+
dataSourceKey: string;
|
|
12
|
+
collection: Record<string, any>;
|
|
13
|
+
}
|
|
14
|
+
export default function FieldsPage(props: FieldsPageProps): React.JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
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 React from 'react';
|
|
10
|
+
import type { CollectionTemplateConfigureItemProps } from '../../plugin';
|
|
11
|
+
export type SqlPreviewField = {
|
|
12
|
+
collection?: string;
|
|
13
|
+
interface?: string;
|
|
14
|
+
source?: string | string[];
|
|
15
|
+
type?: string;
|
|
16
|
+
uiSchema?: Record<string, unknown>;
|
|
17
|
+
};
|
|
18
|
+
export type SqlPreviewResult = {
|
|
19
|
+
data?: Array<Record<string, unknown>>;
|
|
20
|
+
error?: string;
|
|
21
|
+
fields?: Record<string, SqlPreviewField>;
|
|
22
|
+
sources?: string[];
|
|
23
|
+
};
|
|
24
|
+
export type SqlFieldRecord = {
|
|
25
|
+
interface?: string;
|
|
26
|
+
name: string;
|
|
27
|
+
source?: string | string[] | null;
|
|
28
|
+
type?: string;
|
|
29
|
+
uiSchema?: Record<string, unknown>;
|
|
30
|
+
};
|
|
31
|
+
type FieldInterfaceRecord = {
|
|
32
|
+
default?: {
|
|
33
|
+
type?: string;
|
|
34
|
+
uiSchema?: Record<string, unknown>;
|
|
35
|
+
};
|
|
36
|
+
name?: string;
|
|
37
|
+
title?: React.ReactNode;
|
|
38
|
+
availableTypes?: string[];
|
|
39
|
+
};
|
|
40
|
+
type FieldInterfaceManager = {
|
|
41
|
+
getFieldInterface?: (name?: string) => FieldInterfaceRecord | undefined;
|
|
42
|
+
getFieldInterfaceGroups?: () => Record<string, {
|
|
43
|
+
label?: React.ReactNode;
|
|
44
|
+
order?: number;
|
|
45
|
+
}>;
|
|
46
|
+
getFieldInterfaces?: () => Array<Record<string, unknown>>;
|
|
47
|
+
};
|
|
48
|
+
export declare function normalizeSqlPreviewResult(value: unknown): SqlPreviewResult;
|
|
49
|
+
export declare function buildSqlFieldsFromPreview(options: {
|
|
50
|
+
currentFields?: SqlFieldRecord[];
|
|
51
|
+
manager?: FieldInterfaceManager;
|
|
52
|
+
preview?: SqlPreviewResult;
|
|
53
|
+
}): SqlFieldRecord[];
|
|
54
|
+
export declare function SqlStatementConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
55
|
+
export declare function SqlSourceCollectionsConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
56
|
+
export declare function SqlFieldsConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
57
|
+
export declare function SqlPreviewConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
58
|
+
export declare function normalizeSqlCollectionSubmitValues(values: Record<string, unknown>): {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
};
|
|
61
|
+
export declare function getSqlPreviewInternalName(): string;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
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 React from 'react';
|
|
10
|
+
import type { CollectionTemplateConfigureItemProps } from '../../plugin';
|
|
11
|
+
export type ViewFieldRecord = {
|
|
12
|
+
interface?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
possibleTypes?: string[];
|
|
15
|
+
source?: string | string[] | null;
|
|
16
|
+
title?: React.ReactNode;
|
|
17
|
+
type?: string;
|
|
18
|
+
uiSchema?: Record<string, unknown>;
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
export declare function ViewDatabaseConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
22
|
+
export declare function ViewSourcesConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
23
|
+
export declare function ViewFieldsConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
24
|
+
export declare function ViewPreviewConfigureItem(props: CollectionTemplateConfigureItemProps): React.JSX.Element;
|
|
25
|
+
export declare function normalizeViewCollectionSubmitValues(values: Record<string, unknown>): {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
type FieldAction = 'list' | 'create' | 'update' | 'destroy';
|
|
10
|
+
export declare function getCollectionFieldActionUrl(dataSourceKey: string, collectionName: string, action: FieldAction, filterByTk?: string | number): string;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 type { CollectionTemplateOptions } from '../../plugin';
|
|
10
|
+
type FieldInterfaceLike = {
|
|
11
|
+
group?: string;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function filterFieldInterfacesByCollectionTemplate<T extends FieldInterfaceLike>(fieldInterfaces: T[], template: CollectionTemplateOptions | undefined, collection: Record<string, unknown>, options?: {
|
|
15
|
+
databaseDialect?: string;
|
|
16
|
+
}): T[];
|
|
17
|
+
export declare function filterCreateFieldInterfacesByCollectionTemplate<T extends FieldInterfaceLike>(fieldInterfaces: T[], template: CollectionTemplateOptions | undefined): T[];
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,188 @@
|
|
|
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 { Application, Plugin, type CollectionTemplateField } from '@nocobase/client-v2';
|
|
10
|
+
import React, { ComponentType } from 'react';
|
|
11
|
+
import { FieldInterfaceConfigureOptions } from './field-interfaces';
|
|
12
|
+
export interface DataSourceSettingsFormProps {
|
|
13
|
+
mode: 'create' | 'edit';
|
|
14
|
+
type: DataSourceTypeOptions;
|
|
15
|
+
initialValues?: Record<string, any>;
|
|
16
|
+
loadCollections: (key: string) => Promise<any>;
|
|
17
|
+
}
|
|
18
|
+
export interface DataSourceTypeOptions {
|
|
19
|
+
name?: string;
|
|
20
|
+
label?: React.ReactNode;
|
|
21
|
+
defaultValues?: Record<string, any>;
|
|
22
|
+
disableAddFields?: boolean;
|
|
23
|
+
disableTestConnection?: boolean;
|
|
24
|
+
SettingsForm?: ComponentType<DataSourceSettingsFormProps>;
|
|
25
|
+
}
|
|
26
|
+
export interface CollectionPresetFieldOptions {
|
|
27
|
+
name?: string;
|
|
28
|
+
order?: number;
|
|
29
|
+
field?: React.ReactNode;
|
|
30
|
+
interfaceLabel?: React.ReactNode;
|
|
31
|
+
description?: React.ReactNode;
|
|
32
|
+
defaultSelected?: boolean;
|
|
33
|
+
value: CollectionTemplateField & {
|
|
34
|
+
name: string;
|
|
35
|
+
interface?: string;
|
|
36
|
+
primaryKey?: boolean;
|
|
37
|
+
uiSchema?: Record<string, any>;
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface CollectionTemplateFormProps {
|
|
42
|
+
mode: 'create' | 'edit';
|
|
43
|
+
template: CollectionTemplateOptions;
|
|
44
|
+
form: any;
|
|
45
|
+
}
|
|
46
|
+
export interface CollectionTemplateConfigureItemProps extends CollectionTemplateFormProps {
|
|
47
|
+
item: CollectionTemplateConfigureItem;
|
|
48
|
+
}
|
|
49
|
+
export interface CollectionTemplateConfigureItem {
|
|
50
|
+
name?: string;
|
|
51
|
+
label?: React.ReactNode;
|
|
52
|
+
component?: 'Input' | 'Input.TextArea' | 'Select' | 'Checkbox';
|
|
53
|
+
options?: Array<{
|
|
54
|
+
label: React.ReactNode;
|
|
55
|
+
value: string | number | boolean;
|
|
56
|
+
}>;
|
|
57
|
+
Component?: ComponentType<CollectionTemplateConfigureItemProps>;
|
|
58
|
+
componentProps?: Record<string, unknown>;
|
|
59
|
+
required?: boolean;
|
|
60
|
+
hidden?: boolean | ((props: CollectionTemplateFormProps) => boolean);
|
|
61
|
+
}
|
|
62
|
+
export interface CollectionTemplateOptions {
|
|
63
|
+
name?: string;
|
|
64
|
+
title: React.ReactNode;
|
|
65
|
+
description?: React.ReactNode;
|
|
66
|
+
order?: number;
|
|
67
|
+
color?: string;
|
|
68
|
+
divider?: boolean;
|
|
69
|
+
collection?: {
|
|
70
|
+
options?: Record<string, any> | (() => Record<string, any>);
|
|
71
|
+
fields?: CollectionTemplateField[] | (() => CollectionTemplateField[]);
|
|
72
|
+
};
|
|
73
|
+
capabilities?: {
|
|
74
|
+
recordUniqueKey?: boolean;
|
|
75
|
+
simplePaginate?: boolean;
|
|
76
|
+
};
|
|
77
|
+
configure?: {
|
|
78
|
+
items?: CollectionTemplateConfigureItem[];
|
|
79
|
+
Form?: ComponentType<CollectionTemplateFormProps>;
|
|
80
|
+
transformSubmitValues?: (values: Record<string, any>) => Record<string, any> | void;
|
|
81
|
+
};
|
|
82
|
+
fieldInterfaces?: {
|
|
83
|
+
include?: Array<string | {
|
|
84
|
+
interface?: string;
|
|
85
|
+
name?: string;
|
|
86
|
+
targetScope?: Record<string, unknown>;
|
|
87
|
+
}>;
|
|
88
|
+
exclude?: string[];
|
|
89
|
+
create?: {
|
|
90
|
+
include?: Array<string | {
|
|
91
|
+
interface?: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
targetScope?: Record<string, unknown>;
|
|
94
|
+
}>;
|
|
95
|
+
exclude?: string[];
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated Use fieldInterfaces instead.
|
|
100
|
+
*/
|
|
101
|
+
availableFieldInterfaces?: {
|
|
102
|
+
include?: Array<string | {
|
|
103
|
+
interface?: string;
|
|
104
|
+
name?: string;
|
|
105
|
+
targetScope?: Record<string, unknown>;
|
|
106
|
+
}>;
|
|
107
|
+
exclude?: string[];
|
|
108
|
+
create?: {
|
|
109
|
+
include?: Array<string | {
|
|
110
|
+
interface?: string;
|
|
111
|
+
name?: string;
|
|
112
|
+
targetScope?: Record<string, unknown>;
|
|
113
|
+
}>;
|
|
114
|
+
exclude?: string[];
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
presetFields?: {
|
|
118
|
+
disabled?: boolean;
|
|
119
|
+
disabledIncludes?: string[];
|
|
120
|
+
};
|
|
121
|
+
actions?: unknown[];
|
|
122
|
+
/**
|
|
123
|
+
* @deprecated Use collection.options instead.
|
|
124
|
+
*/
|
|
125
|
+
defaultValues?: Record<string, any> | (() => Record<string, any>);
|
|
126
|
+
/**
|
|
127
|
+
* @deprecated Use presetFields.disabled instead.
|
|
128
|
+
*/
|
|
129
|
+
presetFieldsDisabled?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* @deprecated Use presetFields.disabledIncludes instead.
|
|
132
|
+
*/
|
|
133
|
+
presetFieldsDisabledIncludes?: string[];
|
|
134
|
+
/**
|
|
135
|
+
* @deprecated Use configure.Form instead.
|
|
136
|
+
*/
|
|
137
|
+
ConfigureForm?: ComponentType<CollectionTemplateFormProps>;
|
|
138
|
+
/**
|
|
139
|
+
* @deprecated Use configure.transformSubmitValues instead.
|
|
140
|
+
*/
|
|
141
|
+
beforeSubmit?: (values: Record<string, any>) => void;
|
|
142
|
+
}
|
|
143
|
+
declare class CollectionTemplateRegistry {
|
|
144
|
+
protected templates: Map<string, CollectionTemplateOptions>;
|
|
145
|
+
register(nameOrOptions: string | CollectionTemplateOptions, options?: CollectionTemplateOptions): void;
|
|
146
|
+
get(name?: string): CollectionTemplateOptions;
|
|
147
|
+
getAll(): CollectionTemplateOptions[];
|
|
148
|
+
}
|
|
149
|
+
declare class CollectionPresetFieldRegistry {
|
|
150
|
+
protected fields: Map<string, CollectionPresetFieldOptions>;
|
|
151
|
+
register(options: CollectionPresetFieldOptions): void;
|
|
152
|
+
remove(name: string): void;
|
|
153
|
+
getAll(): CollectionPresetFieldOptions[];
|
|
154
|
+
}
|
|
155
|
+
declare class ExtensionManager {
|
|
156
|
+
protected managerActions: Array<{
|
|
157
|
+
order: number;
|
|
158
|
+
component: ComponentType;
|
|
159
|
+
}>;
|
|
160
|
+
registerManagerAction({ order, component }: {
|
|
161
|
+
order?: number;
|
|
162
|
+
component: ComponentType;
|
|
163
|
+
}): void;
|
|
164
|
+
getManagerActions(): {
|
|
165
|
+
order: number;
|
|
166
|
+
component: React.ComponentType;
|
|
167
|
+
}[];
|
|
168
|
+
}
|
|
169
|
+
export declare class PluginDataSourceManagerClientV2 extends Plugin<any, Application> {
|
|
170
|
+
types: Map<string, DataSourceTypeOptions>;
|
|
171
|
+
extensionManager: ExtensionManager;
|
|
172
|
+
collectionTemplateRegistry: CollectionTemplateRegistry;
|
|
173
|
+
collectionPresetFieldRegistry: CollectionPresetFieldRegistry;
|
|
174
|
+
load(): Promise<void>;
|
|
175
|
+
registerType(name: string, options: DataSourceTypeOptions): void;
|
|
176
|
+
getType(name?: string): DataSourceTypeOptions;
|
|
177
|
+
registerFieldInterfaceConfigure(options: FieldInterfaceConfigureOptions): void;
|
|
178
|
+
registerCollectionTemplate(nameOrOptions: string | CollectionTemplateOptions, options?: CollectionTemplateOptions): void;
|
|
179
|
+
registerCollectionPresetField(options: CollectionPresetFieldOptions): void;
|
|
180
|
+
addCollectionPresetField(options: CollectionPresetFieldOptions): void;
|
|
181
|
+
removeCollectionPresetField(name: string): void;
|
|
182
|
+
getCollectionPresetFields(): CollectionPresetFieldOptions[];
|
|
183
|
+
getCollectionTemplate(name?: string): CollectionTemplateOptions;
|
|
184
|
+
getCollectionTemplates(): CollectionTemplateOptions[];
|
|
185
|
+
private registerBuiltInCollectionPresetFields;
|
|
186
|
+
private registerBuiltInCollectionTemplates;
|
|
187
|
+
}
|
|
188
|
+
export default PluginDataSourceManagerClientV2;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { type DataSourceManager } from '@nocobase/flow-engine';
|
|
10
|
+
import type React from 'react';
|
|
11
|
+
export declare function syncDataSourcesToRuntime(dataSourceManager: DataSourceManager | undefined, records: Array<Record<string, any>>): void;
|
|
12
|
+
export declare function removeDataSourcesFromRuntime(dataSourceManager: DataSourceManager | undefined, keys: React.Key[]): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 type { ReactNode } from 'react';
|
|
10
|
+
type TFunction = (key: string) => string;
|
|
11
|
+
export declare function compileLegacyTemplate(value: ReactNode, t: TFunction): ReactNode;
|
|
12
|
+
export declare function compileLegacyTemplateText(value: ReactNode, t: TFunction, fallback?: string): string;
|
|
13
|
+
export {};
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,30 +8,34 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.1.0-beta.
|
|
11
|
+
"@nocobase/client": "2.1.0-beta.40",
|
|
12
12
|
"react": "18.2.0",
|
|
13
|
-
"@nocobase/plugin-acl": "2.1.0-beta.
|
|
14
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
15
|
-
"@nocobase/
|
|
16
|
-
"@nocobase/
|
|
17
|
-
"@nocobase/
|
|
13
|
+
"@nocobase/plugin-acl": "2.1.0-beta.40",
|
|
14
|
+
"@nocobase/utils": "2.1.0-beta.40",
|
|
15
|
+
"@nocobase/flow-engine": "2.1.0-beta.40",
|
|
16
|
+
"@nocobase/client-v2": "2.1.0-beta.40",
|
|
17
|
+
"@nocobase/ai": "2.1.0-beta.40",
|
|
18
|
+
"@nocobase/server": "2.1.0-beta.40",
|
|
19
|
+
"@nocobase/data-source-manager": "2.1.0-beta.40",
|
|
18
20
|
"lodash": "4.18.1",
|
|
19
|
-
"@nocobase/acl": "2.1.0-beta.
|
|
20
|
-
"@nocobase/database": "2.1.0-beta.
|
|
21
|
+
"@nocobase/acl": "2.1.0-beta.40",
|
|
22
|
+
"@nocobase/database": "2.1.0-beta.40",
|
|
21
23
|
"@ant-design/icons": "5.6.1",
|
|
22
24
|
"antd": "5.24.2",
|
|
23
25
|
"react-router-dom": "6.30.1",
|
|
24
|
-
"@nocobase/flow-engine": "2.1.0-beta.37",
|
|
25
26
|
"@formily/shared": "2.3.7",
|
|
26
27
|
"@formily/react": "2.3.7",
|
|
27
28
|
"react-i18next": "11.18.6",
|
|
28
29
|
"@emotion/css": "11.13.0",
|
|
29
|
-
"
|
|
30
|
+
"ahooks": "3.7.8",
|
|
31
|
+
"@nocobase/actions": "2.1.0-beta.40",
|
|
30
32
|
"sequelize": "6.35.2",
|
|
31
|
-
"@nocobase/test": "2.1.0-beta.
|
|
33
|
+
"@nocobase/test": "2.1.0-beta.40",
|
|
32
34
|
"@formily/antd-v5": "1.2.3",
|
|
33
35
|
"@formily/core": "2.3.7",
|
|
34
36
|
"@formily/reactive": "2.3.7",
|
|
35
37
|
"@dnd-kit/core": "6.1.0",
|
|
36
|
-
"antd-style": "3.7.1"
|
|
38
|
+
"antd-style": "3.7.1",
|
|
39
|
+
"@dnd-kit/sortable": "7.0.2",
|
|
40
|
+
"dayjs": "1.11.13"
|
|
37
41
|
};
|