@nocobase/plugin-snapshot-field 0.17.0-alpha.2 → 0.17.0-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.
@@ -1,11 +1,11 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.17.0-alpha.2",
2
+ "@nocobase/client": "0.17.0-alpha.4",
3
3
  "react": "18.2.0",
4
4
  "@formily/react": "2.2.27",
5
5
  "@formily/core": "2.2.27",
6
6
  "lodash": "4.17.21",
7
- "@nocobase/database": "0.17.0-alpha.2",
8
- "@nocobase/server": "0.17.0-alpha.2",
7
+ "@nocobase/database": "0.17.0-alpha.4",
8
+ "@nocobase/server": "0.17.0-alpha.4",
9
9
  "antd": "5.8.6",
10
10
  "react-i18next": "11.18.6",
11
11
  "@ant-design/icons": "5.1.4",
@@ -0,0 +1,11 @@
1
+ {
2
+ "Detail": "Detail",
3
+ "Snapshot": "Snapshot",
4
+ "View record": "View record",
5
+ "Add block": "Add block",
6
+ "Allow linking to multiple records": "Allow linking to multiple records",
7
+ "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.",
8
+ "The association field to snapshot": "The association field to snapshot",
9
+ "Snapshot the snapshot's association fields": "Snapshot the snapshot's association fields",
10
+ "Please select": "Please select"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "Detail": "Detalle",
3
+ "Snapshot": "Snapshot",
4
+ "View record": "Ver registro",
5
+ "Add block": "Añadir bloque",
6
+ "Allow linking to multiple records": "Permitir enlace a múltiples registros",
7
+ "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Al añadir un nuevo registro, crear una snapshot para su registro relacional y guardar en el registro actual. La snapshot no se actualiza cuando el registro se actualiza posteriormente.",
8
+ "The association field to snapshot": "El campo de asociación a la snapshot",
9
+ "Snapshot the snapshot's association fields": "Snapshot los campos de asociación de la snapshot",
10
+ "Please select": "Por favor, seleccione"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "Detail": "Détail",
3
+ "Snapshot": "Snapshot",
4
+ "View record": "Voir l'enregistrement",
5
+ "Add block": "Ajouter un bloc",
6
+ "Allow linking to multiple records": "Autoriser la liaison à plusieurs enregistrements",
7
+ "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Lors de l'ajout d'un nouvel enregistrement, créez un snapshot pour son enregistrement relationnel et enregistrez-le dans l'enregistrement actuel. Le snapshot n'est pas mis à jour lorsque l'enregistrement est ultérieurement modifié.",
8
+ "The association field to snapshot": "Le champ d'association à un snapshot",
9
+ "Snapshot the snapshot's association fields": "Snapshot des champs d'association du snapshot",
10
+ "Please select": "Veuillez sélectionner"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "Detail": "Detalhes",
3
+ "Snapshot": "Fotografia",
4
+ "View record": "Visualizar registro",
5
+ "Add block": "Adicionar bloco",
6
+ "Allow linking to multiple records": "Permitir vinculação a vários registros",
7
+ "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Ao adicionar um novo registro, crie uma imagem instantânea para o registro relacionado e salve no registro atual. A imagem instantânea não é atualizada quando o registro é posteriormente atualizado.",
8
+ "The association field to snapshot": "O campo de associação para criar imagem instantânea",
9
+ "Snapshot the snapshot's association fields": "Criar imagem instantânea para os campos de associação da imagem instantânea",
10
+ "Please select": "Por favor, selecione"
11
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "Detail": "详情",
3
+ "Snapshot": "快照",
4
+ "Add block": "创建区块",
5
+ "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "在添加数据时,为它的关系数据创建快照,并保存在当前的数据中。后续更新数据时,快照不再更新。",
6
+ "View record": "查看数据",
7
+ "Allow linking to multiple records": "允许关联多条记录",
8
+ "The association field to snapshot": "快照目标关系字段",
9
+ "Snapshot the snapshot's association fields": "为快照的关系数据创建快照",
10
+ "Please select": "请选择",
11
+ "When a record is created, association data is backed up in a snapshot": "创建记录时,关系数据会备份到快照里",
12
+ "Snapshot data": "快照数据"
13
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "关系快照字段",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "0.17.0-alpha.2",
7
+ "version": "0.17.0-alpha.4",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -24,5 +24,5 @@
24
24
  "@nocobase/test": "0.x",
25
25
  "@nocobase/utils": "0.x"
26
26
  },
27
- "gitHead": "c4d4383a1fde1058011e2f1fd1d9272812e6daeb"
27
+ "gitHead": "663b03a3799a70ba1a2bc6a0d686e679331a50ad"
28
28
  }
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- Detail: string;
3
- Snapshot: string;
4
- 'View record': string;
5
- 'Add block': string;
6
- 'Allow linking to multiple records': string;
7
- 'When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.': string;
8
- 'The association field to snapshot': string;
9
- "Snapshot the snapshot's association fields": string;
10
- 'Please select': string;
11
- };
12
- export default _default;
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var en_US_exports = {};
19
- __export(en_US_exports, {
20
- default: () => en_US_default
21
- });
22
- module.exports = __toCommonJS(en_US_exports);
23
- var en_US_default = {
24
- Detail: "Detail",
25
- Snapshot: "Snapshot",
26
- "View record": "View record",
27
- "Add block": "Add block",
28
- "Allow linking to multiple records": "Allow linking to multiple records",
29
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.",
30
- "The association field to snapshot": "The association field to snapshot",
31
- "Snapshot the snapshot's association fields": "Snapshot the snapshot's association fields",
32
- "Please select": "Please select"
33
- };
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- Detail: string;
3
- Snapshot: string;
4
- "View record": string;
5
- "Add block": string;
6
- "Allow linking to multiple records": string;
7
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": string;
8
- "The association field to snapshot": string;
9
- "Snapshot the snapshot's association fields": string;
10
- "Please select": string;
11
- };
12
- export default _default;
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var es_ES_exports = {};
19
- __export(es_ES_exports, {
20
- default: () => es_ES_default
21
- });
22
- module.exports = __toCommonJS(es_ES_exports);
23
- var es_ES_default = {
24
- "Detail": "Detalle",
25
- "Snapshot": "Snapshot",
26
- "View record": "Ver registro",
27
- "Add block": "A\xF1adir bloque",
28
- "Allow linking to multiple records": "Permitir enlace a m\xFAltiples registros",
29
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Al a\xF1adir un nuevo registro, crear una snapshot para su registro relacional y guardar en el registro actual. La snapshot no se actualiza cuando el registro se actualiza posteriormente.",
30
- "The association field to snapshot": "El campo de asociaci\xF3n a la snapshot",
31
- "Snapshot the snapshot's association fields": "Snapshot los campos de asociaci\xF3n de la snapshot",
32
- "Please select": "Por favor, seleccione"
33
- };
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- Detail: string;
3
- Snapshot: string;
4
- 'View record': string;
5
- 'Add block': string;
6
- 'Allow linking to multiple records': string;
7
- 'When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.': string;
8
- 'The association field to snapshot': string;
9
- "Snapshot the snapshot's association fields": string;
10
- 'Please select': string;
11
- };
12
- export default _default;
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var fr_FR_exports = {};
19
- __export(fr_FR_exports, {
20
- default: () => fr_FR_default
21
- });
22
- module.exports = __toCommonJS(fr_FR_exports);
23
- var fr_FR_default = {
24
- Detail: "D\xE9tail",
25
- Snapshot: "Snapshot",
26
- "View record": "Voir l'enregistrement",
27
- "Add block": "Ajouter un bloc",
28
- "Allow linking to multiple records": "Autoriser la liaison \xE0 plusieurs enregistrements",
29
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Lors de l'ajout d'un nouvel enregistrement, cr\xE9ez un snapshot pour son enregistrement relationnel et enregistrez-le dans l'enregistrement actuel. Le snapshot n'est pas mis \xE0 jour lorsque l'enregistrement est ult\xE9rieurement modifi\xE9.",
30
- "The association field to snapshot": "Le champ d'association \xE0 un snapshot",
31
- "Snapshot the snapshot's association fields": "Snapshot des champs d'association du snapshot",
32
- "Please select": "Veuillez s\xE9lectionner"
33
- };
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,23 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var ja_JP_exports = {};
19
- __export(ja_JP_exports, {
20
- default: () => ja_JP_default
21
- });
22
- module.exports = __toCommonJS(ja_JP_exports);
23
- var ja_JP_default = {};
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- Detail: string;
3
- Snapshot: string;
4
- 'View record': string;
5
- 'Add block': string;
6
- 'Allow linking to multiple records': string;
7
- 'When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.': string;
8
- 'The association field to snapshot': string;
9
- "Snapshot the snapshot's association fields": string;
10
- 'Please select': string;
11
- };
12
- export default _default;
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var pt_BR_exports = {};
19
- __export(pt_BR_exports, {
20
- default: () => pt_BR_default
21
- });
22
- module.exports = __toCommonJS(pt_BR_exports);
23
- var pt_BR_default = {
24
- Detail: "Detalhes",
25
- Snapshot: "Fotografia",
26
- "View record": "Visualizar registro",
27
- "Add block": "Adicionar bloco",
28
- "Allow linking to multiple records": "Permitir vincula\xE7\xE3o a v\xE1rios registros",
29
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "Ao adicionar um novo registro, crie uma imagem instant\xE2nea para o registro relacionado e salve no registro atual. A imagem instant\xE2nea n\xE3o \xE9 atualizada quando o registro \xE9 posteriormente atualizado.",
30
- "The association field to snapshot": "O campo de associa\xE7\xE3o para criar imagem instant\xE2nea",
31
- "Snapshot the snapshot's association fields": "Criar imagem instant\xE2nea para os campos de associa\xE7\xE3o da imagem instant\xE2nea",
32
- "Please select": "Por favor, selecione"
33
- };
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,23 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var ru_RU_exports = {};
19
- __export(ru_RU_exports, {
20
- default: () => ru_RU_default
21
- });
22
- module.exports = __toCommonJS(ru_RU_exports);
23
- var ru_RU_default = {};
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,23 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var tr_TR_exports = {};
19
- __export(tr_TR_exports, {
20
- default: () => tr_TR_default
21
- });
22
- module.exports = __toCommonJS(tr_TR_exports);
23
- var tr_TR_default = {};
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- Detail: string;
3
- Snapshot: string;
4
- 'Add block': string;
5
- 'When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.': string;
6
- 'View record': string;
7
- 'Allow linking to multiple records': string;
8
- 'The association field to snapshot': string;
9
- "Snapshot the snapshot's association fields": string;
10
- 'Please select': string;
11
- 'When a record is created, association data is backed up in a snapshot': string;
12
- 'Snapshot data': string;
13
- };
14
- export default _default;
@@ -1,35 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var zh_CN_exports = {};
19
- __export(zh_CN_exports, {
20
- default: () => zh_CN_default
21
- });
22
- module.exports = __toCommonJS(zh_CN_exports);
23
- var zh_CN_default = {
24
- Detail: "\u8BE6\u60C5",
25
- Snapshot: "\u5FEB\u7167",
26
- "Add block": "\u521B\u5EFA\u533A\u5757",
27
- "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "\u5728\u6DFB\u52A0\u6570\u636E\u65F6\uFF0C\u4E3A\u5B83\u7684\u5173\u7CFB\u6570\u636E\u521B\u5EFA\u5FEB\u7167\uFF0C\u5E76\u4FDD\u5B58\u5728\u5F53\u524D\u7684\u6570\u636E\u4E2D\u3002\u540E\u7EED\u66F4\u65B0\u6570\u636E\u65F6\uFF0C\u5FEB\u7167\u4E0D\u518D\u66F4\u65B0\u3002",
28
- "View record": "\u67E5\u770B\u6570\u636E",
29
- "Allow linking to multiple records": "\u5141\u8BB8\u5173\u8054\u591A\u6761\u8BB0\u5F55",
30
- "The association field to snapshot": "\u5FEB\u7167\u76EE\u6807\u5173\u7CFB\u5B57\u6BB5",
31
- "Snapshot the snapshot's association fields": "\u4E3A\u5FEB\u7167\u7684\u5173\u7CFB\u6570\u636E\u521B\u5EFA\u5FEB\u7167",
32
- "Please select": "\u8BF7\u9009\u62E9",
33
- "When a record is created, association data is backed up in a snapshot": "\u521B\u5EFA\u8BB0\u5F55\u65F6\uFF0C\u5173\u7CFB\u6570\u636E\u4F1A\u5907\u4EFD\u5230\u5FEB\u7167\u91CC",
34
- "Snapshot data": "\u5FEB\u7167\u6570\u636E"
35
- };