@nocobase/plugin-charts 1.2.12-alpha → 1.3.0-alpha.20240710084543

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.
Files changed (84) hide show
  1. package/package.json +2 -2
  2. package/dist/client/ChartBlockEngine.d.ts +0 -36
  3. package/dist/client/ChartBlockEngineDesigner.d.ts +0 -12
  4. package/dist/client/ChartBlockInitializer.d.ts +0 -11
  5. package/dist/client/ChartQueryBlockInitializer.d.ts +0 -18
  6. package/dist/client/ChartQueryMetadataProvider.d.ts +0 -18
  7. package/dist/client/DataSetPreviewTable.d.ts +0 -14
  8. package/dist/client/Icons.d.ts +0 -9
  9. package/dist/client/chartRenderComponents/index.d.ts +0 -10
  10. package/dist/client/hooks/index.d.ts +0 -12
  11. package/dist/client/index.d.ts +0 -15
  12. package/dist/client/index.js +0 -53
  13. package/dist/client/locale/index.d.ts +0 -11
  14. package/dist/client/select/CustomSelect.d.ts +0 -19
  15. package/dist/client/select/ReadPretty.d.ts +0 -10
  16. package/dist/client/select/index.d.ts +0 -10
  17. package/dist/client/select/shared.d.ts +0 -15
  18. package/dist/client/settings/AddNewQuery.d.ts +0 -11
  19. package/dist/client/settings/ConfigureFields.d.ts +0 -10
  20. package/dist/client/settings/QueriesTable.d.ts +0 -10
  21. package/dist/client/settings/queryTypes.d.ts +0 -13
  22. package/dist/client/settings/schemas/chartsQueries.d.ts +0 -16
  23. package/dist/client/templates/AreaTemplate.d.ts +0 -73
  24. package/dist/client/templates/BarTemplate.d.ts +0 -88
  25. package/dist/client/templates/ColumnTemplate.d.ts +0 -88
  26. package/dist/client/templates/FunnelTemplate.d.ts +0 -74
  27. package/dist/client/templates/LineTemplate.d.ts +0 -75
  28. package/dist/client/templates/PieTemplate.d.ts +0 -79
  29. package/dist/client/templates/RadarTemplate.d.ts +0 -79
  30. package/dist/client/templates/ScatterTemplate.d.ts +0 -99
  31. package/dist/client/templates/TableTemplate.d.ts +0 -36
  32. package/dist/client/templates/index.d.ts +0 -9
  33. package/dist/client/utils.d.ts +0 -11
  34. package/dist/externalVersion.js +0 -25
  35. package/dist/index.d.ts +0 -10
  36. package/dist/index.js +0 -48
  37. package/dist/locale/en-US.d.ts +0 -31
  38. package/dist/locale/en-US.js +0 -53
  39. package/dist/locale/es-ES.d.ts +0 -61
  40. package/dist/locale/es-ES.js +0 -83
  41. package/dist/locale/fr-FR.d.ts +0 -10
  42. package/dist/locale/fr-FR.js +0 -32
  43. package/dist/locale/ja-JP.d.ts +0 -10
  44. package/dist/locale/ja-JP.js +0 -32
  45. package/dist/locale/ko_KR.d.ts +0 -70
  46. package/dist/locale/ko_KR.js +0 -92
  47. package/dist/locale/pt-BR.d.ts +0 -31
  48. package/dist/locale/pt-BR.js +0 -53
  49. package/dist/locale/ru-RU.d.ts +0 -10
  50. package/dist/locale/ru-RU.js +0 -32
  51. package/dist/locale/tr-TR.d.ts +0 -10
  52. package/dist/locale/tr-TR.js +0 -32
  53. package/dist/locale/zh-CN.d.ts +0 -70
  54. package/dist/locale/zh-CN.js +0 -92
  55. package/dist/node_modules/json5/dist/index.js +0 -1737
  56. package/dist/node_modules/json5/dist/index.min.js +0 -1
  57. package/dist/node_modules/json5/lib/cli.js +0 -152
  58. package/dist/node_modules/json5/lib/index.d.ts +0 -4
  59. package/dist/node_modules/json5/lib/index.js +0 -1
  60. package/dist/node_modules/json5/lib/parse.d.ts +0 -15
  61. package/dist/node_modules/json5/lib/parse.js +0 -1114
  62. package/dist/node_modules/json5/lib/register.js +0 -13
  63. package/dist/node_modules/json5/lib/require.js +0 -4
  64. package/dist/node_modules/json5/lib/stringify.d.ts +0 -89
  65. package/dist/node_modules/json5/lib/stringify.js +0 -261
  66. package/dist/node_modules/json5/lib/unicode.d.ts +0 -3
  67. package/dist/node_modules/json5/lib/unicode.js +0 -4
  68. package/dist/node_modules/json5/lib/util.d.ts +0 -5
  69. package/dist/node_modules/json5/lib/util.js +0 -35
  70. package/dist/node_modules/json5/package.json +0 -1
  71. package/dist/server/actions/chartsQueries.d.ts +0 -11
  72. package/dist/server/actions/chartsQueries.js +0 -95
  73. package/dist/server/actions/index.d.ts +0 -8
  74. package/dist/server/actions/index.js +0 -9
  75. package/dist/server/collections/chartsQueries.d.ts +0 -10
  76. package/dist/server/collections/chartsQueries.js +0 -56
  77. package/dist/server/index.d.ts +0 -9
  78. package/dist/server/index.js +0 -42
  79. package/dist/server/plugin.d.ts +0 -22
  80. package/dist/server/plugin.js +0 -98
  81. package/dist/server/query.d.ts +0 -20
  82. package/dist/server/query.js +0 -68
  83. package/dist/server/shared/index.d.ts +0 -10
  84. package/dist/server/shared/index.js +0 -36
@@ -1,53 +0,0 @@
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 __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var pt_BR_exports = {};
28
- __export(pt_BR_exports, {
29
- default: () => pt_BR_default
30
- });
31
- module.exports = __toCommonJS(pt_BR_exports);
32
- var pt_BR_default = {
33
- Edit: "Editar",
34
- Delete: "Delete",
35
- Cancel: "Cancelar",
36
- Submit: "Enviar",
37
- Actions: "A\xE7\xF5es",
38
- Title: "Titulo",
39
- Enable: "Ativo",
40
- "SAML manager": "Gerenciador SAML",
41
- "SAML Providers": "Provedores SAML",
42
- "Redirect url": "URL de redirecionamento",
43
- "SP entity id": "ID de entidade do provedor de servi\xE7o (SP)",
44
- "Add provider": "Adicionar",
45
- "Edit provider": "Editar",
46
- "Client id": "ID do cliente",
47
- "Entity id or issuer": "ID de entidade ou emissor",
48
- "Login Url": "URL de login",
49
- "Public cert": "Certificado p\xFAblico",
50
- "Delete provider": "Excluir",
51
- "Are you sure you want to delete it?": "Tem certeza de que deseja exclu\xED-lo?",
52
- "Sign in button name, which will be displayed on the sign in page": "Nome do bot\xE3o de login, que ser\xE1 exibido na p\xE1gina de login"
53
- };
@@ -1,10 +0,0 @@
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
- declare const _default: {};
10
- export default _default;
@@ -1,32 +0,0 @@
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 __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var ru_RU_exports = {};
28
- __export(ru_RU_exports, {
29
- default: () => ru_RU_default
30
- });
31
- module.exports = __toCommonJS(ru_RU_exports);
32
- var ru_RU_default = {};
@@ -1,10 +0,0 @@
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
- declare const _default: {};
10
- export default _default;
@@ -1,32 +0,0 @@
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 __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var tr_TR_exports = {};
28
- __export(tr_TR_exports, {
29
- default: () => tr_TR_default
30
- });
31
- module.exports = __toCommonJS(tr_TR_exports);
32
- var tr_TR_default = {};
@@ -1,70 +0,0 @@
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
- declare const _default: {
10
- Edit: string;
11
- Delete: string;
12
- Cancel: string;
13
- Submit: string;
14
- Actions: string;
15
- Title: string;
16
- Enable: string;
17
- Chart: string;
18
- Charts: string;
19
- Queries: string;
20
- 'Select chart query': string;
21
- 'Select query data': string;
22
- Type: string;
23
- 'Chart type': string;
24
- 'Chart title': string;
25
- 'Basic charts': string;
26
- 'More charts': string;
27
- 'Chart config': string;
28
- 'Add query': string;
29
- 'Edit query': string;
30
- 'Invalid JSON format,must be an object array.': string;
31
- Area: string;
32
- Bar: string;
33
- Column: string;
34
- Funnel: string;
35
- Line: string;
36
- Pie: string;
37
- Radar: string;
38
- Scatter: string;
39
- 'Edit chart block': string;
40
- 'Chart preview': string;
41
- 'Delete queries': string;
42
- 'Delete query': string;
43
- 'Add chart query': string;
44
- 'Add SQL query': string;
45
- 'Add JSON query': string;
46
- 'Data preview': string;
47
- 'Category axis / Dimension': string;
48
- 'Value axis / Metrics': string;
49
- 'JSON config': string;
50
- 'Json config references': string;
51
- 'Create chart block': string;
52
- 'Invalid JSON format': string;
53
- 'Json config references: ': string;
54
- 'Sector Angle / Metric': string;
55
- 'Sector label / Dimensional': string;
56
- 'Color legend / Dimensional': string;
57
- 'Funnel Layer Width/Metrics': string;
58
- 'Branch Tags/Dimensions': string;
59
- 'Branch Length/Metrics': string;
60
- 'Please check the chart config': string;
61
- '1 \u300Ctime\u300Dor \u300COrdered Noun\u300D field,1 \u300CNumerical\u300D field,1 \u300CUnordered Noun\u300D field (optional)': string;
62
- '1 \u300Ctime\u300D or \u300Cordered noun\u300D field, 1 \u300Cvalue\u300D field, 0~ 1 \u300Cunordered noun\u300D': string;
63
- '1 \u300Ctime\u300D or \u300Cordered noun\u300D field, 1 \u300Cvalue\u300D field, 0 to 1 \u300Cunordered noun\u300D': string;
64
- '1 \u300CUnordered Noun\u300D field, 1 \u300CNumeric\u300D field': string;
65
- '1 \u300CTime\u300D or \u300COrder Noun\u300D field, 1 \u300CValue\u300D field': string;
66
- '1~ 2 \u300CUnordered Noun\u300D fields, 1 \u300CNumeric\u300D field': string;
67
- '1 \u300CNumeric\u300D field, 0~ 1 \u300CUnordered Noun\u300D field': string;
68
- 'Chart (Old)': string;
69
- };
70
- export default _default;
@@ -1,92 +0,0 @@
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 __export = (target, all) => {
15
- for (var name in all)
16
- __defProp(target, name, { get: all[name], enumerable: true });
17
- };
18
- var __copyProps = (to, from, except, desc) => {
19
- if (from && typeof from === "object" || typeof from === "function") {
20
- for (let key of __getOwnPropNames(from))
21
- if (!__hasOwnProp.call(to, key) && key !== except)
22
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
- }
24
- return to;
25
- };
26
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
- var zh_CN_exports = {};
28
- __export(zh_CN_exports, {
29
- default: () => zh_CN_default
30
- });
31
- module.exports = __toCommonJS(zh_CN_exports);
32
- var zh_CN_default = {
33
- Edit: "\u7F16\u8F91",
34
- Delete: "\u5220\u9664",
35
- Cancel: "\u53D6\u6D88",
36
- Submit: "\u63D0\u4EA4",
37
- Actions: "\u64CD\u4F5C",
38
- Title: "\u540D\u79F0",
39
- Enable: "\u542F\u7528",
40
- Chart: "\u56FE\u8868",
41
- Charts: "\u56FE\u8868",
42
- Queries: "\u67E5\u8BE2\u5217\u8868",
43
- "Select chart query": "\u9009\u62E9\u56FE\u8868\u6570\u636E",
44
- "Select query data": "\u9009\u62E9\u67E5\u8BE2\u6570\u636E",
45
- Type: "\u7C7B\u578B",
46
- "Chart type": "\u56FE\u8868\u7C7B\u578B",
47
- "Chart title": "\u56FE\u8868\u6807\u9898",
48
- "Basic charts": "\u57FA\u7840\u56FE\u8868",
49
- "More charts": "\u66F4\u591A\u56FE\u8868",
50
- "Chart config": "\u56FE\u8868\u914D\u7F6E",
51
- "Add query": "\u6DFB\u52A0\u67E5\u8BE2",
52
- "Edit query": "\u7F16\u8F91\u67E5\u8BE2",
53
- "Invalid JSON format,must be an object array.": "\u65E0\u6548\u7684JSON\u683C\u5F0F\uFF0C\u5FC5\u987B\u662F\u5BF9\u8C61\u6570\u7EC4\u3002",
54
- Area: "\u9762\u79EF\u56FE",
55
- Bar: "\u6761\u5F62\u56FE",
56
- Column: "\u67F1\u72B6\u56FE",
57
- Funnel: "\u6F0F\u6597\u56FE",
58
- Line: "\u6298\u7EBF\u56FE",
59
- Pie: "\u997C\u56FE",
60
- Radar: "\u96F7\u8FBE\u56FE",
61
- Scatter: "\u6563\u70B9\u56FE",
62
- "Edit chart block": "\u7F16\u8F91\u56FE\u8868\u533A\u5757",
63
- "Chart preview": "\u56FE\u8868\u9884\u89C8",
64
- "Delete queries": "\u5220\u9664\u67E5\u8BE2\u5217\u8868",
65
- "Delete query": "\u5220\u9664\u67E5\u8BE2",
66
- "Add chart query": "\u6DFB\u52A0\u56FE\u8868\u67E5\u8BE2",
67
- "Add SQL query": "\u6DFB\u52A0SQL\u67E5\u8BE2",
68
- "Add JSON query": "\u6DFB\u52A0JSON\u67E5\u8BE2",
69
- "Data preview": "\u6570\u636E\u9884\u89C8",
70
- "Category axis / Dimension": "\u7C7B\u522B\u8F74 / \u7EF4\u5EA6",
71
- "Value axis / Metrics": "\u503C\u8F74 / \u5EA6\u91CF",
72
- "JSON config": "JSON \u914D\u7F6E",
73
- "Json config references": "JSON\u914D\u7F6E\u53C2\u8003",
74
- "Create chart block": "\u521B\u5EFA\u56FE\u8868\u533A\u5757",
75
- "Invalid JSON format": "\u65E0\u6548\u7684JSON\u683C\u5F0F",
76
- "Json config references: ": "JSON\u914D\u7F6E\u53C2\u8003: ",
77
- "Sector Angle / Metric": "\u6247\u5F62\u89D2 / \u5EA6\u91CF",
78
- "Sector label / Dimensional": "\u6247\u5F62\u6807\u7B7E / \u7EF4\u5EA6",
79
- "Color legend / Dimensional": "\u989C\u8272\u7CFB\u5217 / \u7EF4\u5EA6",
80
- "Funnel Layer Width/Metrics": "\u6F0F\u6597\u5C42\u5BBD\u5EA6 / \u5EA6\u91CF",
81
- "Branch Tags/Dimensions": "\u5206\u652F\u6807\u7B7E / \u7EF4\u5EA6",
82
- "Branch Length/Metrics": "\u5206\u652F\u957F\u5EA6 / \u5EA6\u91CF",
83
- "Please check the chart config": "\u8BF7\u68C0\u67E5\u56FE\u8868\u914D\u7F6E",
84
- "1 \u300Ctime\u300Dor \u300COrdered Noun\u300D field,1 \u300CNumerical\u300D field,1 \u300CUnordered Noun\u300D field (optional)": "1 \u4E2A\u300C\u65F6\u95F4\u300D\u6216\u300C\u6709\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5(\u53EF\u9009)",
85
- "1 \u300Ctime\u300D or \u300Cordered noun\u300D field, 1 \u300Cvalue\u300D field, 0~ 1 \u300Cunordered noun\u300D": "1 \u4E2A\u300C\u65F6\u95F4\u300D\u6216\u300C\u6709\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5,0 \uFF5E 1 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D",
86
- "1 \u300Ctime\u300D or \u300Cordered noun\u300D field, 1 \u300Cvalue\u300D field, 0 to 1 \u300Cunordered noun\u300D": "1 \u4E2A\u300C\u65F6\u95F4\u300D\u6216\u300C\u6709\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5,0 \uFF5E 1 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D",
87
- "1 \u300CUnordered Noun\u300D field, 1 \u300CNumeric\u300D field": "1 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5",
88
- "1 \u300CTime\u300D or \u300COrder Noun\u300D field, 1 \u300CValue\u300D field": "1 \u4E2A\u300C\u65F6\u95F4\u300D\u6216\u300C\u6709\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5",
89
- "1~ 2 \u300CUnordered Noun\u300D fields, 1 \u300CNumeric\u300D field": "1 ~ 2 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5,1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5",
90
- "1 \u300CNumeric\u300D field, 0~ 1 \u300CUnordered Noun\u300D field": "1 \u4E2A\u300C\u6570\u503C\u300D\u5B57\u6BB5,0 ~ 1 \u4E2A\u300C\u65E0\u5E8F\u540D\u8BCD\u300D\u5B57\u6BB5",
91
- "Chart (Old)": "\u56FE\u8868 (\u65E7)"
92
- };