@nocobase/plugin-map 0.11.1-alpha.2 → 0.11.1-alpha.4

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.
@@ -0,0 +1,2 @@
1
+ declare const locale: {};
2
+ export default locale;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ const locale = {};
8
+ var _default = locale;
9
+ exports.default = _default;
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.11.1-alpha.2",
5
+ "version": "0.11.1-alpha.4",
6
6
  "description": "Provide map fields and blocks",
7
7
  "description.zh-CN": "提供地图字段和区块",
8
8
  "license": "AGPL-3.0",
@@ -31,12 +31,12 @@
31
31
  "@formily/core": "2.2.26",
32
32
  "@formily/react": "2.2.26",
33
33
  "@formily/shared": "2.2.26",
34
- "@nocobase/actions": "0.11.1-alpha.2",
35
- "@nocobase/client": "0.11.1-alpha.2",
36
- "@nocobase/database": "0.11.1-alpha.2",
37
- "@nocobase/server": "0.11.1-alpha.2",
38
- "@nocobase/test": "0.11.1-alpha.2",
39
- "@nocobase/utils": "0.11.1-alpha.2",
34
+ "@nocobase/actions": "0.11.1-alpha.4",
35
+ "@nocobase/client": "0.11.1-alpha.4",
36
+ "@nocobase/database": "0.11.1-alpha.4",
37
+ "@nocobase/server": "0.11.1-alpha.4",
38
+ "@nocobase/test": "0.11.1-alpha.4",
39
+ "@nocobase/utils": "0.11.1-alpha.4",
40
40
  "@types/react": "^17.0.0",
41
41
  "@types/react-dom": "^17.0.0",
42
42
  "antd": "^5.6.4",
@@ -45,5 +45,5 @@
45
45
  "react-i18next": "^11.15.1",
46
46
  "react-router-dom": "^6.11.2"
47
47
  },
48
- "gitHead": "8482aa720ea1c3abbbb9fe1208e73778bd63f1cf"
48
+ "gitHead": "d9b5bde913013f1057e1aab49587eb0ad3dcb06e"
49
49
  }
@@ -0,0 +1,3 @@
1
+ const locale = {};
2
+
3
+ export default locale;
@@ -121,30 +121,15 @@ describe('fields', () => {
121
121
  polygon: null,
122
122
  });
123
123
 
124
- expect(await findOne()).toMatchInlineSnapshot(`
125
- Object {
126
- "circle": Array [
127
- 114.058996,
128
- 22.549695,
129
- 4171,
130
- ],
131
- "lineString": Array [
132
- Array [
133
- 114.047323,
134
- 22.534158,
135
- ],
136
- Array [
137
- 114.120966,
138
- 22.544146,
139
- ],
140
- ],
141
- "point": Array [
142
- 1,
143
- 2,
144
- ],
145
- "polygon": null,
146
- }
147
- `);
124
+ expect(await findOne()).toMatchObject({
125
+ circle: [114.058996, 22.549695, 4171],
126
+ lineString: [
127
+ [114.047323, 22.534158],
128
+ [114.120966, 22.544146],
129
+ ],
130
+ point: [1, 2],
131
+ polygon: null,
132
+ });
148
133
  });
149
134
 
150
135
  it('empty', async () => {
@@ -162,13 +147,11 @@ describe('fields', () => {
162
147
  except: ['createdAt', 'updatedAt', 'id'],
163
148
  });
164
149
 
165
- expect(await findOne()).toMatchInlineSnapshot(`
166
- Object {
167
- "circle": null,
168
- "lineString": null,
169
- "point": null,
170
- "polygon": null,
171
- }
172
- `);
150
+ expect(await findOne()).toMatchObject({
151
+ circle: null,
152
+ lineString: null,
153
+ point: null,
154
+ polygon: null,
155
+ });
173
156
  });
174
157
  });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes