@nocobase/preset-nocobase 2.1.0-beta.8 → 2.2.0-alpha.1
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/lib/client-v2/CollectionPluginV2.d.ts +12 -0
- package/lib/client-v2/CollectionPluginV2.js +136 -0
- package/lib/client-v2/index.d.ts +14 -0
- package/lib/client-v2/index.js +93 -0
- package/lib/server/index.d.ts +5 -5
- package/lib/server/index.js +0 -1
- package/package.json +108 -99
package/client-v2.d.ts
ADDED
package/client-v2.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./lib/client-v2/index.js');
|
|
@@ -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 { Plugin } from '@nocobase/client-v2';
|
|
10
|
+
export declare class CollectionPluginV2 extends Plugin {
|
|
11
|
+
beforeLoad(): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
15
|
+
var __export = (target, all) => {
|
|
16
|
+
for (var name in all)
|
|
17
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (let key of __getOwnPropNames(from))
|
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var CollectionPluginV2_exports = {};
|
|
29
|
+
__export(CollectionPluginV2_exports, {
|
|
30
|
+
CollectionPluginV2: () => CollectionPluginV2
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(CollectionPluginV2_exports);
|
|
33
|
+
var import_client_v2 = require("@nocobase/client-v2");
|
|
34
|
+
const MAIN_DATA_SOURCE_KEY = "main";
|
|
35
|
+
const MAIN_DATA_SOURCE_TITLE = '{{t("Main")}}';
|
|
36
|
+
const fieldInterfaceGroups = {
|
|
37
|
+
basic: {
|
|
38
|
+
label: '{{t("Basic")}}',
|
|
39
|
+
order: 1
|
|
40
|
+
},
|
|
41
|
+
choices: {
|
|
42
|
+
label: '{{t("Choices")}}',
|
|
43
|
+
order: 20
|
|
44
|
+
},
|
|
45
|
+
media: {
|
|
46
|
+
label: '{{t("Media")}}',
|
|
47
|
+
order: 40
|
|
48
|
+
},
|
|
49
|
+
datetime: {
|
|
50
|
+
label: '{{t("Date & Time")}}',
|
|
51
|
+
order: 80
|
|
52
|
+
},
|
|
53
|
+
relation: {
|
|
54
|
+
label: '{{t("Relation")}}',
|
|
55
|
+
order: 100
|
|
56
|
+
},
|
|
57
|
+
advanced: {
|
|
58
|
+
label: '{{t("Advanced type")}}',
|
|
59
|
+
order: 200
|
|
60
|
+
},
|
|
61
|
+
systemInfo: {
|
|
62
|
+
label: '{{t("System info")}}',
|
|
63
|
+
order: 400
|
|
64
|
+
},
|
|
65
|
+
others: {
|
|
66
|
+
label: '{{t("Others")}}',
|
|
67
|
+
order: 800
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const fieldInterfaces = [
|
|
71
|
+
import_client_v2.CheckboxFieldInterface,
|
|
72
|
+
import_client_v2.CheckboxGroupFieldInterface,
|
|
73
|
+
import_client_v2.CollectionSelectFieldInterface,
|
|
74
|
+
import_client_v2.ColorFieldInterface,
|
|
75
|
+
import_client_v2.CreatedAtFieldInterface,
|
|
76
|
+
import_client_v2.CreatedByFieldInterface,
|
|
77
|
+
import_client_v2.DatetimeFieldInterface,
|
|
78
|
+
import_client_v2.EmailFieldInterface,
|
|
79
|
+
import_client_v2.IconFieldInterface,
|
|
80
|
+
import_client_v2.IdFieldInterface,
|
|
81
|
+
import_client_v2.InputFieldInterface,
|
|
82
|
+
import_client_v2.IntegerFieldInterface,
|
|
83
|
+
import_client_v2.JsonFieldInterface,
|
|
84
|
+
import_client_v2.M2MFieldInterface,
|
|
85
|
+
import_client_v2.M2OFieldInterface,
|
|
86
|
+
import_client_v2.MarkdownFieldInterface,
|
|
87
|
+
import_client_v2.MultipleSelectFieldInterface,
|
|
88
|
+
import_client_v2.NumberFieldInterface,
|
|
89
|
+
import_client_v2.OHOFieldInterface,
|
|
90
|
+
import_client_v2.OBOFieldInterface,
|
|
91
|
+
import_client_v2.O2MFieldInterface,
|
|
92
|
+
import_client_v2.PasswordFieldInterface,
|
|
93
|
+
import_client_v2.PercentFieldInterface,
|
|
94
|
+
import_client_v2.PhoneFieldInterface,
|
|
95
|
+
import_client_v2.RadioGroupFieldInterface,
|
|
96
|
+
import_client_v2.RichTextFieldInterface,
|
|
97
|
+
import_client_v2.SelectFieldInterface,
|
|
98
|
+
import_client_v2.SnowflakeIdFieldInterface,
|
|
99
|
+
import_client_v2.TableoidFieldInterface,
|
|
100
|
+
import_client_v2.TextareaFieldInterface,
|
|
101
|
+
import_client_v2.TimeFieldInterface,
|
|
102
|
+
import_client_v2.UpdatedAtFieldInterface,
|
|
103
|
+
import_client_v2.UpdatedByFieldInterface,
|
|
104
|
+
import_client_v2.UrlFieldInterface,
|
|
105
|
+
import_client_v2.UUIDFieldInterface,
|
|
106
|
+
import_client_v2.NanoidFieldInterface,
|
|
107
|
+
import_client_v2.UnixTimestampFieldInterface,
|
|
108
|
+
import_client_v2.DateFieldInterface,
|
|
109
|
+
import_client_v2.DatetimeNoTzFieldInterface
|
|
110
|
+
];
|
|
111
|
+
const _CollectionPluginV2 = class _CollectionPluginV2 extends import_client_v2.Plugin {
|
|
112
|
+
async beforeLoad() {
|
|
113
|
+
this.app.dataSourceManager.upsertDataSource({
|
|
114
|
+
key: MAIN_DATA_SOURCE_KEY,
|
|
115
|
+
displayName: MAIN_DATA_SOURCE_TITLE
|
|
116
|
+
});
|
|
117
|
+
this.app.dataSourceManager.addFieldInterfaces(fieldInterfaces);
|
|
118
|
+
this.app.dataSourceManager.addFieldInterfaceGroups(fieldInterfaceGroups);
|
|
119
|
+
this.app.dataSourceManager.registerLoader(MAIN_DATA_SOURCE_KEY, async ({ manager }) => {
|
|
120
|
+
var _a;
|
|
121
|
+
const requester = manager.requester || this.app.apiClient.request.bind(this.app.apiClient);
|
|
122
|
+
const service = await requester({
|
|
123
|
+
resource: "collections",
|
|
124
|
+
action: "listMeta"
|
|
125
|
+
});
|
|
126
|
+
const collections = ((_a = service == null ? void 0 : service.data) == null ? void 0 : _a.data) || [];
|
|
127
|
+
return { collections };
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
__name(_CollectionPluginV2, "CollectionPluginV2");
|
|
132
|
+
let CollectionPluginV2 = _CollectionPluginV2;
|
|
133
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
134
|
+
0 && (module.exports = {
|
|
135
|
+
CollectionPluginV2
|
|
136
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 } from '@nocobase/client-v2';
|
|
10
|
+
export declare class NocoBaseClientPresetPluginV2 extends Plugin<any, Application> {
|
|
11
|
+
getHostname(): string;
|
|
12
|
+
afterAdd(): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export default NocoBaseClientPresetPluginV2;
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
15
|
+
var __export = (target, all) => {
|
|
16
|
+
for (var name in all)
|
|
17
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (let key of __getOwnPropNames(from))
|
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
23
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var client_v2_exports = {};
|
|
29
|
+
__export(client_v2_exports, {
|
|
30
|
+
NocoBaseClientPresetPluginV2: () => NocoBaseClientPresetPluginV2,
|
|
31
|
+
default: () => client_v2_default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(client_v2_exports);
|
|
34
|
+
var import_client_v2 = require("@nocobase/client-v2");
|
|
35
|
+
var import_CollectionPluginV2 = require("./CollectionPluginV2");
|
|
36
|
+
function offsetToTimeZone(offset) {
|
|
37
|
+
const hours = Math.floor(Math.abs(offset));
|
|
38
|
+
const minutes = Math.abs(offset % 1 * 60);
|
|
39
|
+
const formattedHours = (hours < 10 ? "0" : "") + hours;
|
|
40
|
+
const formattedMinutes = (minutes < 10 ? "0" : "") + minutes;
|
|
41
|
+
const sign = offset >= 0 ? "+" : "-";
|
|
42
|
+
return sign + formattedHours + ":" + formattedMinutes;
|
|
43
|
+
}
|
|
44
|
+
__name(offsetToTimeZone, "offsetToTimeZone");
|
|
45
|
+
const getCurrentTimezone = /* @__PURE__ */ __name(() => {
|
|
46
|
+
const timezoneOffset = (/* @__PURE__ */ new Date()).getTimezoneOffset() / -60;
|
|
47
|
+
return offsetToTimeZone(timezoneOffset);
|
|
48
|
+
}, "getCurrentTimezone");
|
|
49
|
+
function getBasename(app) {
|
|
50
|
+
const publicPath = app.getPublicPath();
|
|
51
|
+
const pattern = `^${publicPath}apps/([^/]*)/`;
|
|
52
|
+
const match = location.pathname.match(new RegExp(pattern));
|
|
53
|
+
return match == null ? void 0 : match[0];
|
|
54
|
+
}
|
|
55
|
+
__name(getBasename, "getBasename");
|
|
56
|
+
function getBasenameOfNewMultiApp(app) {
|
|
57
|
+
const publicPath = app.getPublicPath();
|
|
58
|
+
const pattern = `^${publicPath}_app/([^/]*)/`;
|
|
59
|
+
const match = location.pathname.match(new RegExp(pattern));
|
|
60
|
+
return match == null ? void 0 : match[0];
|
|
61
|
+
}
|
|
62
|
+
__name(getBasenameOfNewMultiApp, "getBasenameOfNewMultiApp");
|
|
63
|
+
const _NocoBaseClientPresetPluginV2 = class _NocoBaseClientPresetPluginV2 extends import_client_v2.Plugin {
|
|
64
|
+
getHostname() {
|
|
65
|
+
var _a;
|
|
66
|
+
if (process.env.API_BASE_URL) {
|
|
67
|
+
try {
|
|
68
|
+
const url = new URL(process.env.API_BASE_URL);
|
|
69
|
+
return url.hostname;
|
|
70
|
+
} catch (error) {
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.hostname;
|
|
74
|
+
}
|
|
75
|
+
async afterAdd() {
|
|
76
|
+
this.router.setType("browser");
|
|
77
|
+
this.router.setBasename(getBasename(this.app) || getBasenameOfNewMultiApp(this.app) || this.app.getPublicPath());
|
|
78
|
+
this.app.apiClient.axios.interceptors.request.use((config) => {
|
|
79
|
+
config.headers["X-Hostname"] = this.getHostname();
|
|
80
|
+
config.headers["X-Timezone"] = getCurrentTimezone();
|
|
81
|
+
return config;
|
|
82
|
+
});
|
|
83
|
+
await this.app.pm.add(import_CollectionPluginV2.CollectionPluginV2, { name: "builtin-collection-v2" });
|
|
84
|
+
await this.app.pm.add(import_client_v2.NocoBaseBuildInPluginV2);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
__name(_NocoBaseClientPresetPluginV2, "NocoBaseClientPresetPluginV2");
|
|
88
|
+
let NocoBaseClientPresetPluginV2 = _NocoBaseClientPresetPluginV2;
|
|
89
|
+
var client_v2_default = NocoBaseClientPresetPluginV2;
|
|
90
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
91
|
+
0 && (module.exports = {
|
|
92
|
+
NocoBaseClientPresetPluginV2
|
|
93
|
+
});
|
package/lib/server/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
import { Plugin } from '@nocobase/server';
|
|
10
10
|
export declare class PresetNocoBase extends Plugin {
|
|
11
11
|
splitNames(name: string): string[];
|
|
12
|
-
getBuiltInPlugins(): Promise<
|
|
13
|
-
getLocalPlugins(): Promise<
|
|
14
|
-
findLocalPlugins(): Promise<
|
|
15
|
-
getAllPluginNames(): Promise<
|
|
16
|
-
getAllPluginNamesAndDB(): Promise<
|
|
12
|
+
getBuiltInPlugins(): Promise<string[]>;
|
|
13
|
+
getLocalPlugins(): Promise<string[][]>;
|
|
14
|
+
findLocalPlugins(): Promise<string[]>;
|
|
15
|
+
getAllPluginNames(): Promise<string[]>;
|
|
16
|
+
getAllPluginNamesAndDB(): Promise<string[]>;
|
|
17
17
|
getAllPlugins(locale?: string): Promise<any[]>;
|
|
18
18
|
getPluginInfo(name: any, locale?: string): Promise<{
|
|
19
19
|
isCompatible: boolean;
|
package/lib/server/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,107 +1,109 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/preset-nocobase",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-alpha.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./lib/server/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@formily/json-schema": "2.x",
|
|
8
|
-
"@nocobase/plugin-acl": "2.
|
|
9
|
-
"@nocobase/plugin-action-bulk-edit": "2.
|
|
10
|
-
"@nocobase/plugin-action-bulk-update": "2.
|
|
11
|
-
"@nocobase/plugin-action-custom-request": "2.
|
|
12
|
-
"@nocobase/plugin-action-duplicate": "2.
|
|
13
|
-
"@nocobase/plugin-action-export": "2.
|
|
14
|
-
"@nocobase/plugin-action-import": "2.
|
|
15
|
-
"@nocobase/plugin-action-print": "2.
|
|
16
|
-
"@nocobase/plugin-ai": "2.
|
|
17
|
-
"@nocobase/plugin-ai-gigachat": "2.
|
|
18
|
-
"@nocobase/plugin-api-doc": "2.
|
|
19
|
-
"@nocobase/plugin-api-keys": "2.
|
|
20
|
-
"@nocobase/plugin-async-task-manager": "2.
|
|
21
|
-
"@nocobase/plugin-auth": "2.
|
|
22
|
-
"@nocobase/plugin-auth-sms": "2.
|
|
23
|
-
"@nocobase/plugin-backup-restore": "2.
|
|
24
|
-
"@nocobase/plugin-
|
|
25
|
-
"@nocobase/plugin-block-
|
|
26
|
-
"@nocobase/plugin-block-
|
|
27
|
-
"@nocobase/plugin-block-
|
|
28
|
-
"@nocobase/plugin-block-
|
|
29
|
-
"@nocobase/plugin-block-
|
|
30
|
-
"@nocobase/plugin-block-
|
|
31
|
-
"@nocobase/plugin-block-
|
|
32
|
-
"@nocobase/plugin-
|
|
33
|
-
"@nocobase/plugin-
|
|
34
|
-
"@nocobase/plugin-
|
|
35
|
-
"@nocobase/plugin-collection-
|
|
36
|
-
"@nocobase/plugin-collection-
|
|
37
|
-
"@nocobase/plugin-
|
|
38
|
-
"@nocobase/plugin-
|
|
39
|
-
"@nocobase/plugin-
|
|
40
|
-
"@nocobase/plugin-data-source-
|
|
41
|
-
"@nocobase/plugin-data-
|
|
42
|
-
"@nocobase/plugin-data-visualization
|
|
43
|
-
"@nocobase/plugin-
|
|
44
|
-
"@nocobase/plugin-
|
|
45
|
-
"@nocobase/plugin-
|
|
46
|
-
"@nocobase/plugin-
|
|
47
|
-
"@nocobase/plugin-
|
|
48
|
-
"@nocobase/plugin-field-
|
|
49
|
-
"@nocobase/plugin-field-
|
|
50
|
-
"@nocobase/plugin-field-
|
|
51
|
-
"@nocobase/plugin-field-
|
|
52
|
-
"@nocobase/plugin-field-
|
|
53
|
-
"@nocobase/plugin-field-
|
|
54
|
-
"@nocobase/plugin-field-
|
|
55
|
-
"@nocobase/plugin-
|
|
56
|
-
"@nocobase/plugin-file-
|
|
57
|
-
"@nocobase/plugin-
|
|
58
|
-
"@nocobase/plugin-
|
|
59
|
-
"@nocobase/plugin-
|
|
60
|
-
"@nocobase/plugin-
|
|
61
|
-
"@nocobase/plugin-
|
|
62
|
-
"@nocobase/plugin-
|
|
63
|
-
"@nocobase/plugin-
|
|
64
|
-
"@nocobase/plugin-
|
|
65
|
-
"@nocobase/plugin-
|
|
66
|
-
"@nocobase/plugin-
|
|
67
|
-
"@nocobase/plugin-
|
|
68
|
-
"@nocobase/plugin-
|
|
69
|
-
"@nocobase/plugin-
|
|
70
|
-
"@nocobase/plugin-
|
|
71
|
-
"@nocobase/plugin-
|
|
72
|
-
"@nocobase/plugin-
|
|
73
|
-
"@nocobase/plugin-notification-
|
|
74
|
-
"@nocobase/plugin-
|
|
75
|
-
"@nocobase/plugin-
|
|
76
|
-
"@nocobase/plugin-
|
|
77
|
-
"@nocobase/plugin-
|
|
78
|
-
"@nocobase/plugin-
|
|
79
|
-
"@nocobase/plugin-
|
|
80
|
-
"@nocobase/plugin-
|
|
81
|
-
"@nocobase/plugin-
|
|
82
|
-
"@nocobase/plugin-
|
|
83
|
-
"@nocobase/plugin-
|
|
84
|
-
"@nocobase/plugin-
|
|
85
|
-
"@nocobase/plugin-workflow
|
|
86
|
-
"@nocobase/plugin-workflow-
|
|
87
|
-
"@nocobase/plugin-workflow-
|
|
88
|
-
"@nocobase/plugin-workflow-
|
|
89
|
-
"@nocobase/plugin-workflow-
|
|
90
|
-
"@nocobase/plugin-workflow-
|
|
91
|
-
"@nocobase/plugin-workflow-
|
|
92
|
-
"@nocobase/plugin-workflow-
|
|
93
|
-
"@nocobase/plugin-workflow-
|
|
94
|
-
"@nocobase/plugin-workflow-
|
|
95
|
-
"@nocobase/plugin-workflow-
|
|
96
|
-
"@nocobase/plugin-workflow-
|
|
97
|
-
"@nocobase/plugin-workflow-
|
|
98
|
-
"@nocobase/plugin-workflow-
|
|
99
|
-
"@nocobase/plugin-workflow-
|
|
100
|
-
"@nocobase/plugin-workflow-
|
|
101
|
-
"@nocobase/plugin-workflow-
|
|
102
|
-
"@nocobase/plugin-workflow-
|
|
103
|
-
"@nocobase/plugin-workflow-
|
|
104
|
-
"@nocobase/
|
|
8
|
+
"@nocobase/plugin-acl": "2.2.0-alpha.1",
|
|
9
|
+
"@nocobase/plugin-action-bulk-edit": "2.2.0-alpha.1",
|
|
10
|
+
"@nocobase/plugin-action-bulk-update": "2.2.0-alpha.1",
|
|
11
|
+
"@nocobase/plugin-action-custom-request": "2.2.0-alpha.1",
|
|
12
|
+
"@nocobase/plugin-action-duplicate": "2.2.0-alpha.1",
|
|
13
|
+
"@nocobase/plugin-action-export": "2.2.0-alpha.1",
|
|
14
|
+
"@nocobase/plugin-action-import": "2.2.0-alpha.1",
|
|
15
|
+
"@nocobase/plugin-action-print": "2.2.0-alpha.1",
|
|
16
|
+
"@nocobase/plugin-ai": "2.2.0-alpha.1",
|
|
17
|
+
"@nocobase/plugin-ai-gigachat": "2.2.0-alpha.1",
|
|
18
|
+
"@nocobase/plugin-api-doc": "2.2.0-alpha.1",
|
|
19
|
+
"@nocobase/plugin-api-keys": "2.2.0-alpha.1",
|
|
20
|
+
"@nocobase/plugin-async-task-manager": "2.2.0-alpha.1",
|
|
21
|
+
"@nocobase/plugin-auth": "2.2.0-alpha.1",
|
|
22
|
+
"@nocobase/plugin-auth-sms": "2.2.0-alpha.1",
|
|
23
|
+
"@nocobase/plugin-backup-restore": "2.2.0-alpha.1",
|
|
24
|
+
"@nocobase/plugin-backups": "2.2.0-alpha.1",
|
|
25
|
+
"@nocobase/plugin-block-grid-card": "2.2.0-alpha.1",
|
|
26
|
+
"@nocobase/plugin-block-iframe": "2.2.0-alpha.1",
|
|
27
|
+
"@nocobase/plugin-block-list": "2.2.0-alpha.1",
|
|
28
|
+
"@nocobase/plugin-block-markdown": "2.2.0-alpha.1",
|
|
29
|
+
"@nocobase/plugin-block-multi-step-form": "2.2.0-alpha.1",
|
|
30
|
+
"@nocobase/plugin-block-template": "2.2.0-alpha.1",
|
|
31
|
+
"@nocobase/plugin-block-tree": "2.2.0-alpha.1",
|
|
32
|
+
"@nocobase/plugin-block-workbench": "2.2.0-alpha.1",
|
|
33
|
+
"@nocobase/plugin-calendar": "2.2.0-alpha.1",
|
|
34
|
+
"@nocobase/plugin-client": "2.2.0-alpha.1",
|
|
35
|
+
"@nocobase/plugin-collection-fdw": "2.2.0-alpha.1",
|
|
36
|
+
"@nocobase/plugin-collection-sql": "2.2.0-alpha.1",
|
|
37
|
+
"@nocobase/plugin-collection-tree": "2.2.0-alpha.1",
|
|
38
|
+
"@nocobase/plugin-comments": "2.2.0-alpha.1",
|
|
39
|
+
"@nocobase/plugin-custom-variables": "2.2.0-alpha.1",
|
|
40
|
+
"@nocobase/plugin-data-source-main": "2.2.0-alpha.1",
|
|
41
|
+
"@nocobase/plugin-data-source-manager": "2.2.0-alpha.1",
|
|
42
|
+
"@nocobase/plugin-data-visualization": "2.2.0-alpha.1",
|
|
43
|
+
"@nocobase/plugin-data-visualization-echarts": "2.2.0-alpha.1",
|
|
44
|
+
"@nocobase/plugin-departments": "2.2.0-alpha.1",
|
|
45
|
+
"@nocobase/plugin-embed": "2.2.0-alpha.1",
|
|
46
|
+
"@nocobase/plugin-environment-variables": "2.2.0-alpha.1",
|
|
47
|
+
"@nocobase/plugin-error-handler": "2.2.0-alpha.1",
|
|
48
|
+
"@nocobase/plugin-field-attachment-url": "2.2.0-alpha.1",
|
|
49
|
+
"@nocobase/plugin-field-china-region": "2.2.0-alpha.1",
|
|
50
|
+
"@nocobase/plugin-field-code": "2.2.0-alpha.1",
|
|
51
|
+
"@nocobase/plugin-field-formula": "2.2.0-alpha.1",
|
|
52
|
+
"@nocobase/plugin-field-m2m-array": "2.2.0-alpha.1",
|
|
53
|
+
"@nocobase/plugin-field-markdown-vditor": "2.2.0-alpha.1",
|
|
54
|
+
"@nocobase/plugin-field-sequence": "2.2.0-alpha.1",
|
|
55
|
+
"@nocobase/plugin-field-sort": "2.2.0-alpha.1",
|
|
56
|
+
"@nocobase/plugin-file-manager": "2.2.0-alpha.1",
|
|
57
|
+
"@nocobase/plugin-file-previewer-office": "2.2.0-alpha.1",
|
|
58
|
+
"@nocobase/plugin-flow-engine": "2.2.0-alpha.1",
|
|
59
|
+
"@nocobase/plugin-form-drafts": "2.2.0-alpha.1",
|
|
60
|
+
"@nocobase/plugin-gantt": "2.2.0-alpha.1",
|
|
61
|
+
"@nocobase/plugin-graph-collection-manager": "2.2.0-alpha.1",
|
|
62
|
+
"@nocobase/plugin-idp-oauth": "2.2.0-alpha.1",
|
|
63
|
+
"@nocobase/plugin-kanban": "2.2.0-alpha.1",
|
|
64
|
+
"@nocobase/plugin-license": "2.2.0-alpha.1",
|
|
65
|
+
"@nocobase/plugin-locale-tester": "2.2.0-alpha.1",
|
|
66
|
+
"@nocobase/plugin-localization": "2.2.0-alpha.1",
|
|
67
|
+
"@nocobase/plugin-logger": "2.2.0-alpha.1",
|
|
68
|
+
"@nocobase/plugin-map": "2.2.0-alpha.1",
|
|
69
|
+
"@nocobase/plugin-mcp-server": "2.2.0-alpha.1",
|
|
70
|
+
"@nocobase/plugin-mobile": "2.2.0-alpha.1",
|
|
71
|
+
"@nocobase/plugin-multi-app-manager": "2.2.0-alpha.1",
|
|
72
|
+
"@nocobase/plugin-multi-keyword-filter": "2.2.0-alpha.1",
|
|
73
|
+
"@nocobase/plugin-notification-email": "2.2.0-alpha.1",
|
|
74
|
+
"@nocobase/plugin-notification-in-app-message": "2.2.0-alpha.1",
|
|
75
|
+
"@nocobase/plugin-notification-manager": "2.2.0-alpha.1",
|
|
76
|
+
"@nocobase/plugin-public-forms": "2.2.0-alpha.1",
|
|
77
|
+
"@nocobase/plugin-system-settings": "2.2.0-alpha.1",
|
|
78
|
+
"@nocobase/plugin-text-copy": "2.2.0-alpha.1",
|
|
79
|
+
"@nocobase/plugin-theme-editor": "2.2.0-alpha.1",
|
|
80
|
+
"@nocobase/plugin-ui-schema-storage": "2.2.0-alpha.1",
|
|
81
|
+
"@nocobase/plugin-ui-templates": "2.2.0-alpha.1",
|
|
82
|
+
"@nocobase/plugin-user-data-sync": "2.2.0-alpha.1",
|
|
83
|
+
"@nocobase/plugin-users": "2.2.0-alpha.1",
|
|
84
|
+
"@nocobase/plugin-verification": "2.2.0-alpha.1",
|
|
85
|
+
"@nocobase/plugin-workflow": "2.2.0-alpha.1",
|
|
86
|
+
"@nocobase/plugin-workflow-action-trigger": "2.2.0-alpha.1",
|
|
87
|
+
"@nocobase/plugin-workflow-aggregate": "2.2.0-alpha.1",
|
|
88
|
+
"@nocobase/plugin-workflow-cc": "2.2.0-alpha.1",
|
|
89
|
+
"@nocobase/plugin-workflow-custom-action-trigger": "2.2.0-alpha.1",
|
|
90
|
+
"@nocobase/plugin-workflow-date-calculation": "2.2.0-alpha.1",
|
|
91
|
+
"@nocobase/plugin-workflow-delay": "2.2.0-alpha.1",
|
|
92
|
+
"@nocobase/plugin-workflow-dynamic-calculation": "2.2.0-alpha.1",
|
|
93
|
+
"@nocobase/plugin-workflow-javascript": "2.2.0-alpha.1",
|
|
94
|
+
"@nocobase/plugin-workflow-json-query": "2.2.0-alpha.1",
|
|
95
|
+
"@nocobase/plugin-workflow-json-variable-mapping": "2.2.0-alpha.1",
|
|
96
|
+
"@nocobase/plugin-workflow-loop": "2.2.0-alpha.1",
|
|
97
|
+
"@nocobase/plugin-workflow-mailer": "2.2.0-alpha.1",
|
|
98
|
+
"@nocobase/plugin-workflow-manual": "2.2.0-alpha.1",
|
|
99
|
+
"@nocobase/plugin-workflow-notification": "2.2.0-alpha.1",
|
|
100
|
+
"@nocobase/plugin-workflow-parallel": "2.2.0-alpha.1",
|
|
101
|
+
"@nocobase/plugin-workflow-request": "2.2.0-alpha.1",
|
|
102
|
+
"@nocobase/plugin-workflow-request-interceptor": "2.2.0-alpha.1",
|
|
103
|
+
"@nocobase/plugin-workflow-response-message": "2.2.0-alpha.1",
|
|
104
|
+
"@nocobase/plugin-workflow-sql": "2.2.0-alpha.1",
|
|
105
|
+
"@nocobase/plugin-workflow-variable": "2.2.0-alpha.1",
|
|
106
|
+
"@nocobase/server": "2.2.0-alpha.1",
|
|
105
107
|
"cronstrue": "^2.11.0",
|
|
106
108
|
"fs-extra": "^11.1.1"
|
|
107
109
|
},
|
|
@@ -123,11 +125,15 @@
|
|
|
123
125
|
"@nocobase/plugin-auth",
|
|
124
126
|
"@nocobase/plugin-async-task-manager",
|
|
125
127
|
"@nocobase/plugin-ai",
|
|
128
|
+
"@nocobase/plugin-api-doc",
|
|
129
|
+
"@nocobase/plugin-api-keys",
|
|
130
|
+
"@nocobase/plugin-backups",
|
|
126
131
|
"@nocobase/plugin-block-iframe",
|
|
127
132
|
"@nocobase/plugin-block-workbench",
|
|
128
133
|
"@nocobase/plugin-block-list",
|
|
129
134
|
"@nocobase/plugin-block-grid-card",
|
|
130
135
|
"@nocobase/plugin-block-markdown",
|
|
136
|
+
"@nocobase/plugin-block-tree",
|
|
131
137
|
"@nocobase/plugin-calendar",
|
|
132
138
|
"@nocobase/plugin-client",
|
|
133
139
|
"@nocobase/plugin-collection-sql",
|
|
@@ -143,13 +149,16 @@
|
|
|
143
149
|
"@nocobase/plugin-field-sort",
|
|
144
150
|
"@nocobase/plugin-file-manager",
|
|
145
151
|
"@nocobase/plugin-gantt",
|
|
152
|
+
"@nocobase/plugin-idp-oauth",
|
|
146
153
|
"@nocobase/plugin-text-copy",
|
|
147
154
|
"@nocobase/plugin-kanban",
|
|
155
|
+
"@nocobase/plugin-file-previewer-office",
|
|
148
156
|
"@nocobase/plugin-flow-engine",
|
|
149
157
|
"@nocobase/plugin-logger",
|
|
150
158
|
"@nocobase/plugin-notification-manager",
|
|
151
159
|
"@nocobase/plugin-notification-in-app-message",
|
|
152
160
|
"@nocobase/plugin-mobile",
|
|
161
|
+
"@nocobase/plugin-mcp-server",
|
|
153
162
|
"@nocobase/plugin-system-settings",
|
|
154
163
|
"@nocobase/plugin-ui-schema-storage",
|
|
155
164
|
"@nocobase/plugin-user-data-sync",
|
|
@@ -185,5 +194,5 @@
|
|
|
185
194
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
186
195
|
"directory": "packages/presets/nocobase"
|
|
187
196
|
},
|
|
188
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "303663aba6c6eefa27e6a6435b4c0352074ec40f"
|
|
189
198
|
}
|