@nocobase/plugin-map 0.18.0-alpha.9 → 0.19.0-alpha.2
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SchemaInitializer } from '@nocobase/client';
|
|
2
|
-
export declare const mapActionInitializers: SchemaInitializer
|
|
2
|
+
export declare const mapActionInitializers: SchemaInitializer;
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.
|
|
2
|
+
"@nocobase/client": "0.19.0-alpha.2",
|
|
3
3
|
"react": "18.2.0",
|
|
4
|
-
"@nocobase/server": "0.
|
|
4
|
+
"@nocobase/server": "0.19.0-alpha.2",
|
|
5
5
|
"@formily/react": "2.3.0",
|
|
6
6
|
"lodash": "4.17.21",
|
|
7
7
|
"@ant-design/icons": "5.2.6",
|
|
8
8
|
"@formily/antd-v5": "1.1.9",
|
|
9
9
|
"@formily/shared": "2.3.0",
|
|
10
10
|
"ahooks": "3.7.8",
|
|
11
|
-
"antd": "5.12.
|
|
11
|
+
"antd": "5.12.8",
|
|
12
12
|
"react-router-dom": "6.21.0",
|
|
13
13
|
"@formily/core": "2.3.0",
|
|
14
14
|
"react-i18next": "11.18.6",
|
|
15
|
-
"@nocobase/actions": "0.
|
|
16
|
-
"@nocobase/database": "0.
|
|
15
|
+
"@nocobase/actions": "0.19.0-alpha.2",
|
|
16
|
+
"@nocobase/database": "0.19.0-alpha.2"
|
|
17
17
|
};
|
|
@@ -20,12 +20,14 @@ __export(mapConfiguration_exports, {
|
|
|
20
20
|
default: () => mapConfiguration_default
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(mapConfiguration_exports);
|
|
23
|
+
var import_database = require("@nocobase/database");
|
|
23
24
|
var import_constants = require("../constants");
|
|
24
|
-
var mapConfiguration_default = {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
var mapConfiguration_default = (0, import_database.defineCollection)({
|
|
26
|
+
dumpRules: {
|
|
27
|
+
group: "third-party"
|
|
28
|
+
},
|
|
27
29
|
name: import_constants.MapConfigurationCollectionName,
|
|
28
|
-
|
|
30
|
+
shared: true,
|
|
29
31
|
fields: [
|
|
30
32
|
{
|
|
31
33
|
title: "Access key",
|
|
@@ -46,4 +48,4 @@ var mapConfiguration_default = {
|
|
|
46
48
|
type: "string"
|
|
47
49
|
}
|
|
48
50
|
]
|
|
49
|
-
};
|
|
51
|
+
});
|
package/dist/server/plugin.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
var plugin_exports = {};
|
|
19
29
|
__export(plugin_exports, {
|
|
@@ -22,7 +32,7 @@ __export(plugin_exports, {
|
|
|
22
32
|
});
|
|
23
33
|
module.exports = __toCommonJS(plugin_exports);
|
|
24
34
|
var import_server = require("@nocobase/server");
|
|
25
|
-
var import_path = require("path");
|
|
35
|
+
var import_path = __toESM(require("path"));
|
|
26
36
|
var import_actions = require("./actions");
|
|
27
37
|
var import_fields = require("./fields");
|
|
28
38
|
var import_value_parsers = require("./value-parsers");
|
|
@@ -45,9 +55,7 @@ class MapPlugin extends import_server.Plugin {
|
|
|
45
55
|
});
|
|
46
56
|
}
|
|
47
57
|
async load() {
|
|
48
|
-
await this.
|
|
49
|
-
directory: (0, import_path.resolve)(__dirname, "collections")
|
|
50
|
-
});
|
|
58
|
+
await this.importCollections(import_path.default.resolve(__dirname, "collections"));
|
|
51
59
|
this.app.resource({
|
|
52
60
|
name: "map-configuration",
|
|
53
61
|
actions: {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nocobase/plugin-map",
|
|
3
3
|
"displayName": "Map",
|
|
4
4
|
"displayName.zh-CN": "地图",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.19.0-alpha.2",
|
|
6
6
|
"description": "Provides map fields and blocks",
|
|
7
7
|
"description.zh-CN": "提供地图字段和区块",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"@nocobase/test": "0.x",
|
|
35
35
|
"@nocobase/utils": "0.x"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "cff5b77ecf12ccdb450d50d505b3aa44a68478c8"
|
|
38
38
|
}
|