@nocobase/plugin-data-visualization 1.2.13-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 (75) hide show
  1. package/package.json +2 -2
  2. package/dist/client/block/ChartBlock.d.ts +0 -10
  3. package/dist/client/block/ChartBlockDesigner.d.ts +0 -10
  4. package/dist/client/block/ChartBlockInitializer.d.ts +0 -17
  5. package/dist/client/block/ChartDataProvider.d.ts +0 -24
  6. package/dist/client/block/index.d.ts +0 -11
  7. package/dist/client/chart/antd/antd.d.ts +0 -15
  8. package/dist/client/chart/antd/index.d.ts +0 -12
  9. package/dist/client/chart/antd/statistic.d.ts +0 -15
  10. package/dist/client/chart/antd/table.d.ts +0 -14
  11. package/dist/client/chart/chart.d.ts +0 -84
  12. package/dist/client/chart/configs.d.ts +0 -97
  13. package/dist/client/chart/g2plot/AntChart.d.ts +0 -10
  14. package/dist/client/chart/g2plot/bar.d.ts +0 -14
  15. package/dist/client/chart/g2plot/configs.d.ts +0 -48
  16. package/dist/client/chart/g2plot/dualAxes.d.ts +0 -17
  17. package/dist/client/chart/g2plot/g2plot.d.ts +0 -18
  18. package/dist/client/chart/g2plot/index.d.ts +0 -11
  19. package/dist/client/chart/g2plot/pie.d.ts +0 -15
  20. package/dist/client/chart/group.d.ts +0 -64
  21. package/dist/client/configure/ChartConfigProvider.d.ts +0 -26
  22. package/dist/client/configure/ChartConfigure.d.ts +0 -26
  23. package/dist/client/configure/FilterDynamicComponent.d.ts +0 -10
  24. package/dist/client/configure/TransformerDynamicComponent.d.ts +0 -12
  25. package/dist/client/configure/formatters.d.ts +0 -23
  26. package/dist/client/configure/index.d.ts +0 -10
  27. package/dist/client/configure/schemas/configure.d.ts +0 -12
  28. package/dist/client/filter/CollectionFieldInitializer.d.ts +0 -10
  29. package/dist/client/filter/FilterActionInitializers.d.ts +0 -28
  30. package/dist/client/filter/FilterBlockDesigner.d.ts +0 -10
  31. package/dist/client/filter/FilterBlockInitializer.d.ts +0 -11
  32. package/dist/client/filter/FilterBlockProvider.d.ts +0 -10
  33. package/dist/client/filter/FilterCheckbox.d.ts +0 -10
  34. package/dist/client/filter/FilterForm.d.ts +0 -10
  35. package/dist/client/filter/FilterItemDesigner.d.ts +0 -10
  36. package/dist/client/filter/FilterItemInitializers.d.ts +0 -20
  37. package/dist/client/filter/FilterProvider.d.ts +0 -38
  38. package/dist/client/filter/FilterVariableInput.d.ts +0 -10
  39. package/dist/client/filter/index.d.ts +0 -14
  40. package/dist/client/filter/utils.d.ts +0 -67
  41. package/dist/client/hooks/filter.d.ts +0 -69
  42. package/dist/client/hooks/index.d.ts +0 -12
  43. package/dist/client/hooks/query.d.ts +0 -61
  44. package/dist/client/hooks/transformer.d.ts +0 -26
  45. package/dist/client/hooks/useDateVariable.d.ts +0 -22
  46. package/dist/client/hooks/useUserVariable.d.ts +0 -16
  47. package/dist/client/hooks/useVariableOptions.d.ts +0 -33
  48. package/dist/client/index.d.ts +0 -20
  49. package/dist/client/index.js +0 -170
  50. package/dist/client/locale/index.d.ts +0 -11
  51. package/dist/client/renderer/ChartRenderer.d.ts +0 -12
  52. package/dist/client/renderer/ChartRendererProvider.d.ts +0 -56
  53. package/dist/client/renderer/index.d.ts +0 -10
  54. package/dist/client/transformers.d.ts +0 -20
  55. package/dist/client/utils.d.ts +0 -110
  56. package/dist/externalVersion.js +0 -30
  57. package/dist/index.d.ts +0 -10
  58. package/dist/index.js +0 -48
  59. package/dist/locale/en-US.json +0 -91
  60. package/dist/locale/ko_KR.json +0 -85
  61. package/dist/locale/zh-CN.json +0 -92
  62. package/dist/node_modules/koa-compose/index.js +0 -1
  63. package/dist/node_modules/koa-compose/package.json +0 -1
  64. package/dist/server/actions/formatter.d.ts +0 -12
  65. package/dist/server/actions/formatter.js +0 -101
  66. package/dist/server/actions/query.d.ts +0 -17
  67. package/dist/server/actions/query.js +0 -293
  68. package/dist/server/index.d.ts +0 -9
  69. package/dist/server/index.js +0 -42
  70. package/dist/server/migrations/20230926211750-rename-charttype.d.ts +0 -13
  71. package/dist/server/migrations/20230926211750-rename-charttype.js +0 -60
  72. package/dist/server/plugin.d.ts +0 -21
  73. package/dist/server/plugin.js +0 -70
  74. package/dist/swagger/index.d.ts +0 -16
  75. package/dist/swagger/index.js +0 -38
@@ -1,11 +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
- export declare const NAMESPACE = "data-visualization";
10
- export declare function lang(key: string): string;
11
- export declare function useChartsTranslation(): import("react-i18next").UseTranslationResponse<("data-visualization" | "client")[], undefined>;
@@ -1,12 +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
- import React from 'react';
10
- export declare const ChartRenderer: React.FC & {
11
- Designer: React.FC;
12
- };
@@ -1,56 +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
- import React from 'react';
10
- export type MeasureProps = {
11
- field: string | string[];
12
- aggregation?: string;
13
- alias?: string;
14
- };
15
- export type DimensionProps = {
16
- field: string | string[];
17
- alias?: string;
18
- format?: string;
19
- };
20
- export type TransformProps = {
21
- field: string;
22
- type: string;
23
- format: string;
24
- argument?: string | number;
25
- };
26
- export type QueryProps = Partial<{
27
- measures: MeasureProps[];
28
- dimensions: DimensionProps[];
29
- orders: {
30
- field: string;
31
- order: 'asc' | 'desc';
32
- }[];
33
- filter: any;
34
- limit: number;
35
- sql: {
36
- fields?: string;
37
- clauses?: string;
38
- };
39
- }>;
40
- export type ChartRendererProps = {
41
- collection: string;
42
- dataSource?: string;
43
- query?: QueryProps;
44
- config?: {
45
- chartType: string;
46
- general: any;
47
- advanced: any;
48
- };
49
- transform?: TransformProps[];
50
- mode?: 'builder' | 'sql';
51
- };
52
- export declare const ChartRendererContext: React.Context<{
53
- service: any;
54
- data?: any[];
55
- } & ChartRendererProps>;
56
- export declare const ChartRendererProvider: React.FC<ChartRendererProps>;
@@ -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
- export * from './ChartRenderer';
10
- export * from './ChartRendererProvider';
@@ -1,20 +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
- export type Transformer = (val: any, ...args: any[]) => string | number;
10
- export type TransformerConfig = Transformer | {
11
- label?: string;
12
- schema?: any;
13
- fn: Transformer;
14
- };
15
- declare const transformers: {
16
- [key: string]: {
17
- [key: string]: TransformerConfig;
18
- };
19
- };
20
- export default transformers;
@@ -1,110 +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
- import { FieldOption } from './hooks';
10
- import { QueryProps } from './renderer';
11
- export declare const createRendererSchema: (decoratorProps: any, componentProps?: {}) => {
12
- type: string;
13
- 'x-decorator': string;
14
- 'x-decorator-props': any;
15
- 'x-acl-action': string;
16
- 'x-designer': string;
17
- 'x-component': string;
18
- 'x-component-props': {
19
- size: string;
20
- title: any;
21
- bordered: any;
22
- };
23
- 'x-initializer': string;
24
- properties: {
25
- [x: string]: {
26
- type: string;
27
- 'x-component': string;
28
- 'x-component-props': {};
29
- };
30
- };
31
- };
32
- export declare const parseField: (field: string | string[]) => {
33
- target: string;
34
- name: string;
35
- alias: string;
36
- };
37
- export declare const getField: (fields: FieldOption[], field: string | string[]) => FieldOption;
38
- export declare const getSelectedFields: (fields: FieldOption[], query: QueryProps) => {
39
- key: string;
40
- label: string;
41
- value: string;
42
- alias?: string;
43
- name?: string;
44
- type?: string;
45
- interface?: string;
46
- uiSchema?: import("@formily/react").Stringify<{
47
- [key: symbol]: any;
48
- [key: `x-${string}`]: any;
49
- [key: `x-${number}`]: any;
50
- version?: string;
51
- name?: import("@formily/react").SchemaKey;
52
- title?: any;
53
- description?: any;
54
- default?: any;
55
- readOnly?: boolean;
56
- writeOnly?: boolean;
57
- type?: import("@formily/react").SchemaTypes;
58
- enum?: import("@formily/react").SchemaEnum<any>;
59
- const?: any;
60
- multipleOf?: number;
61
- maximum?: number;
62
- exclusiveMaximum?: number;
63
- minimum?: number;
64
- exclusiveMinimum?: number;
65
- maxLength?: number;
66
- minLength?: number;
67
- pattern?: string | RegExp;
68
- maxItems?: number;
69
- minItems?: number;
70
- uniqueItems?: boolean;
71
- maxProperties?: number;
72
- minProperties?: number;
73
- required?: string | boolean | string[];
74
- format?: string;
75
- $ref?: string;
76
- $namespace?: string;
77
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
78
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
79
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
80
- additionalItems?: import("@formily/react").Stringify<any>;
81
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
82
- additionalProperties?: import("@formily/react").Stringify<any>;
83
- "x-value"?: any;
84
- "x-index"?: number;
85
- "x-pattern"?: any;
86
- "x-display"?: any;
87
- "x-validator"?: any;
88
- "x-decorator"?: any;
89
- "x-decorator-props"?: any;
90
- "x-component"?: any;
91
- "x-component-props"?: any;
92
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
93
- "x-content"?: any;
94
- "x-data"?: any;
95
- "x-visible"?: boolean;
96
- "x-hidden"?: boolean;
97
- "x-disabled"?: boolean;
98
- "x-editable"?: boolean;
99
- "x-read-only"?: boolean;
100
- "x-read-pretty"?: boolean;
101
- "x-compile-omitted"?: string[];
102
- }>;
103
- target?: string;
104
- targetFields?: FieldOption[];
105
- }[];
106
- export declare const processData: (selectedFields: FieldOption[], data: any[], scope: any) => {}[];
107
- export declare const removeUnparsableFilter: (filter: any) => any;
108
- export declare const getValuesByPath: (values: any, path: string) => any;
109
- export declare const getFormulaComponent: (type: string) => string;
110
- export declare const getFormulaInterface: (type: string) => string;
@@ -1,30 +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
- module.exports = {
11
- "@nocobase/client": "1.2.13-alpha",
12
- "dayjs": "1.11.10",
13
- "@formily/react": "2.3.0",
14
- "@formily/shared": "2.3.0",
15
- "lodash": "4.17.21",
16
- "@nocobase/cache": "1.2.13-alpha",
17
- "@nocobase/server": "1.2.13-alpha",
18
- "react": "18.2.0",
19
- "@ant-design/icons": "5.2.6",
20
- "ahooks": "3.7.8",
21
- "@emotion/css": "11.11.2",
22
- "antd": "5.12.8",
23
- "@formily/antd-v5": "1.1.9",
24
- "@formily/core": "2.3.0",
25
- "@nocobase/utils": "1.2.13-alpha",
26
- "react-i18next": "11.18.6",
27
- "sequelize": "6.35.2",
28
- "@nocobase/actions": "1.2.13-alpha",
29
- "@nocobase/database": "1.2.13-alpha"
30
- };
package/dist/index.d.ts DELETED
@@ -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
- export * from './server';
10
- export { default } from './server';
package/dist/index.js DELETED
@@ -1,48 +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 __create = Object.create;
11
- var __defProp = Object.defineProperty;
12
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
- var __getOwnPropNames = Object.getOwnPropertyNames;
14
- var __getProtoOf = Object.getPrototypeOf;
15
- var __hasOwnProp = Object.prototype.hasOwnProperty;
16
- var __export = (target, all) => {
17
- for (var name in all)
18
- __defProp(target, name, { get: all[name], enumerable: true });
19
- };
20
- var __copyProps = (to, from, except, desc) => {
21
- if (from && typeof from === "object" || typeof from === "function") {
22
- for (let key of __getOwnPropNames(from))
23
- if (!__hasOwnProp.call(to, key) && key !== except)
24
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
- }
26
- return to;
27
- };
28
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
29
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
30
- // If the importer is in node compatibility mode or this is not an ESM
31
- // file that has been converted to a CommonJS file using a Babel-
32
- // compatible transform (i.e. "__esModule" has not been set), then set
33
- // "default" to the CommonJS "module.exports" for node compatibility.
34
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
- mod
36
- ));
37
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
38
- var src_exports = {};
39
- __export(src_exports, {
40
- default: () => import_server.default
41
- });
42
- module.exports = __toCommonJS(src_exports);
43
- __reExport(src_exports, require("./server"), module.exports);
44
- var import_server = __toESM(require("./server"));
45
- // Annotate the CommonJS export names for ESM import in node:
46
- 0 && (module.exports = {
47
- ...require("./server")
48
- });
@@ -1,91 +0,0 @@
1
- {
2
- "Edit": "Edit",
3
- "Delete": "Delete",
4
- "Cancel": "Cancel",
5
- "Submit": "Submit",
6
- "Actions": "Actions",
7
- "Title": "Title",
8
- "Enable": "Enable",
9
- "Chart": "Chart",
10
- "ChartV2": "ChartV2",
11
- "Charts": "Charts",
12
- "Configure": "Configure",
13
- "Duplicate": "Duplicate",
14
- "Configure chart": "Configure chart",
15
- "Transform": "Transform",
16
- "Chart type": "Chart type",
17
- "JSON config": "JSON config",
18
- "Query": "Query",
19
- "Data": "Data",
20
- "Run query": "Run query",
21
- "Measures": "Measures",
22
- "Dimensions": "Dimensions",
23
- "Filter": "Filter",
24
- "Sort": "Sort",
25
- "Limit": "Limit",
26
- "Enable cache": "Enable cache",
27
- "TTL (second)": "TTL (second)",
28
- "Field": "Field",
29
- "Aggregation": "Aggregation",
30
- "Alias": "Alias",
31
- "Format": "Format",
32
- "The first 10 records of the query result:": "The first 10 records of the query result:",
33
- "Please run query to retrive data.": "Please run query to retrive data.",
34
- "Type": "Type",
35
- "Add field": "Add field",
36
- "Add chart": "Add chart",
37
- "xField": "xField",
38
- "yField": "yField",
39
- "seriesField": "seriesField",
40
- "angleField": "angleField",
41
- "colorField": "colorField",
42
- "Line Chart": "Line Chart",
43
- "Area Chart": "Area Chart",
44
- "Column Chart": "Column Chart",
45
- "Bar Chart": "Bar Chart",
46
- "Pie Chart": "Pie Chart",
47
- "Dual Axes Chart": "Dual Axes Chart",
48
- "Scatter Chart": "Scatter Chart",
49
- "Gauge Chart": "Gauge Chart",
50
- "Statistic": "Statistic",
51
- "Currency": "Currency",
52
- "Percent": "Percent",
53
- "Exponential": "Exponential",
54
- "Abbreviation": "Abbreviation",
55
- "Please configure and run query": "Please configure and run query",
56
- "Please configure chart": "Please configure chart",
57
- "Are you sure to cancel?": "Are you sure to cancel?",
58
- "You changes are not saved. If you click OK, your changes will be lost.": "You changes are not saved. If you click OK, your changes will be lost.",
59
- "Same properties set in the form above will be overwritten by this JSON config.": "Same properties set in the form above will be overwritten by this JSON config.",
60
- "Built-in": "Built-in",
61
- "Config reference: ": "Config reference: ",
62
- "Table": "Table",
63
- "Sum": "Sum",
64
- "Avg": "Avg",
65
- "Count": "Count",
66
- "Min": "Min",
67
- "Max": "Max",
68
- "Please select a chart type.": "Please select a chart type.",
69
- "Collection": "Collection",
70
- "isStack": "isStack",
71
- "isPercent": "isPercent",
72
- "isGroup": "isGroup",
73
- "smooth": "smooth",
74
- "Expand": "Expand",
75
- "Current filter": "Current filter",
76
- "Add custom field": "Add custom field",
77
- "To filter with custom fields, use \"Current filter\" variables in the chart configuration.": "To filter with custom fields, use \"Current filter\" variables in the chart configuration.",
78
- "Input": "Input",
79
- "Date range": "Date range",
80
- "Time range": "Time range",
81
- "Edit field properties": "Edit field properties",
82
- "Select a source field to use metadata of the field": "Select a source field to use metadata of the field",
83
- "Original field": "Original field",
84
- "Transformation": "Transformation",
85
- "Add transformation": "Add transformation",
86
- "Container": "Container",
87
- "Show border": "Show border",
88
- "Transformation tip": "Fields allow multiple transformations, applied sequentially. Pay attention to data type changes after each transformation. Drag-and-drop functionality enables adjustment of transformation order.",
89
- "Type conversion": "Type conversion",
90
- "Transformer": "Transformer"
91
- }
@@ -1,85 +0,0 @@
1
- {
2
- "Edit": "편집",
3
- "Delete": "삭제",
4
- "Cancel": "취소",
5
- "Submit": "제출",
6
- "Actions": "동작",
7
- "Title": "제목",
8
- "Enable": "활성화",
9
- "Chart": "차트",
10
- "ChartV2": "차트V2",
11
- "Charts": "차트",
12
- "Configure": "구성",
13
- "Duplicate": "복제",
14
- "Configure chart": "차트 구성",
15
- "Transform": "데이터 변환",
16
- "Chart type": "차트 유형",
17
- "JSON config": "JSON 구성",
18
- "Query": "쿼리",
19
- "Data": "데이터",
20
- "Run query": "쿼리 실행",
21
- "Measures": "측정",
22
- "Dimensions": "치수",
23
- "Filter": "필터",
24
- "Sort": "정렬",
25
- "Limit": "결과 제한",
26
- "Enable cache": "캐시 활성화",
27
- "TTL (second)": "TTL (초)",
28
- "Field": "필드",
29
- "Aggregation": "집계",
30
- "Alias": "별칭",
31
- "Format": "형식",
32
- "The first 10 records of the query result:": "쿼리 결과의 처음 10 개 레코드:",
33
- "Please run query to retrieve data.": "데이터를 검색하려면 쿼리를 실행하십시오.",
34
- "Type": "유형",
35
- "Add field": "필드 추가",
36
- "Add chart": "차트 추가",
37
- "xField": "x축 필드",
38
- "yField": "y축 필드",
39
- "seriesField": "시리즈 필드",
40
- "angleField": "각도 필드",
41
- "colorField": "색상 필드",
42
- "Line Chart": "선 그래프",
43
- "Area Chart": "면적 그래프",
44
- "Column Chart": "막대 그래프",
45
- "Bar Chart": "막대 그래프",
46
- "Pie Chart": "파이 차트",
47
- "Dual Axes Chart": "이중 축 그래프",
48
- "Scatter Chart": "산점도 차트",
49
- "Gauge Chart": "게이지 차트",
50
- "Statistic": "통계",
51
- "Currency": "통화",
52
- "Percent": "퍼센트",
53
- "Exponential": "지수 표기법",
54
- "Abbreviation": "약어",
55
- "Please configure and run query": "쿼리를 구성하고 실행하세요.",
56
- "Please configure chart": "차트를 구성하세요.",
57
- "Are you sure to cancel?": "취소하시겠습니까?",
58
- "Your changes are not saved. If you click OK, your changes will be lost.": "변경 내용이 저장되지 않았습니다. 확인을 클릭하면 변경 내용이 손실됩니다.",
59
- "Same properties set in the form above will be overwritten by this JSON config.": "상단 양식에 설정된 동일한 속성은이 JSON 구성에 의해 덮어쓰기됩니다.",
60
- "Built-in": "내장",
61
- "Config reference: ": "구성 참조: ",
62
- "Table": "테이블",
63
- "Sum": "합계",
64
- "Avg": "평균",
65
- "Count": "계수",
66
- "Min": "최소값",
67
- "Max": "최대값",
68
- "Please select a chart type.": "차트 유형을 선택하세요.",
69
- "Collection": "데이터 테이블",
70
- "isStack": "스택",
71
- "isPercent": "백분율로 표시",
72
- "isGroup": "그룹화",
73
- "smooth": "부드러운 곡선",
74
- "Collapse": "축소",
75
- "Expand": "확장",
76
- "Current filter": "현재 필터",
77
- "Add custom field": "사용자 정의 필드 추가",
78
- "To filter with custom fields, use 'Current filter' variables in the chart configuration.": "사용자 정의 필드로 필터링하려면 차트 구성에서 '현재 필터' 변수를 사용하세요.",
79
- "Input": "입력",
80
- "Date range": "날짜 범위",
81
- "Time range": "시간 범위",
82
- "Edit field properties": "필드 속성 편집",
83
- "Select a source field to use metadata of the field": "필드의 메타데이터 구성에 사용할 소스 필드를 선택하세요.",
84
- "Original field": "원본 필드"
85
- }
@@ -1,92 +0,0 @@
1
- {
2
- "Edit": "编辑",
3
- "Delete": "删除",
4
- "Cancel": "取消",
5
- "Submit": "提交",
6
- "Actions": "操作",
7
- "Title": "名称",
8
- "Enable": "启用",
9
- "Chart": "图表",
10
- "ChartV2": "图表V2",
11
- "Charts": "图表",
12
- "Configure": "配置",
13
- "Duplicate": "复制",
14
- "Configure chart": "配置图表",
15
- "Transform": "数据转换",
16
- "Chart type": "图表类型",
17
- "JSON config": "JSON 配置",
18
- "Query": "查询",
19
- "Data": "数据",
20
- "Run query": "执行查询",
21
- "Measures": "度量",
22
- "Dimensions": "维度",
23
- "Filter": "过滤",
24
- "Sort": "排序",
25
- "Limit": "结果数量",
26
- "Enable cache": "启用缓存",
27
- "TTL (second)": "缓存时间 (秒)",
28
- "Field": "字段",
29
- "Aggregation": "聚合",
30
- "Alias": "别名",
31
- "Format": "格式",
32
- "The first 10 records of the query result:": "查询结果的前 10 条记录:",
33
- "Please run query to retrive data.": "请执行查询来获取数据。",
34
- "Type": "类型",
35
- "Add field": "添加字段",
36
- "Add chart": "添加图表",
37
- "xField": "x轴字段",
38
- "yField": "y轴字段",
39
- "seriesField": "分类字段",
40
- "angleField": "角度字段",
41
- "colorField": "颜色字段",
42
- "Line Chart": "折线图",
43
- "Area Chart": "面积图",
44
- "Column Chart": "柱状图",
45
- "Bar Chart": "条形图",
46
- "Pie Chart": "饼图",
47
- "Dual Axes Chart": "双轴图",
48
- "Scatter Chart": "散点图",
49
- "Gauge Chart": "仪表盘",
50
- "Statistic": "统计",
51
- "Currency": "货币",
52
- "Percent": "百分比",
53
- "Exponential": "科学记数法",
54
- "Abbreviation": "缩写",
55
- "Please configure and run query": "请配置并执行数据查询",
56
- "Please configure chart": "请配置图表",
57
- "Are you sure to cancel?": "确定要取消吗?",
58
- "You changes are not saved. If you click OK, your changes will be lost.": "您的更改尚未保存。如果您点击“确定”,您的更改将丢失。",
59
- "Same properties set in the form above will be overwritten by this JSON config.": "上面表单中设置的相同属性将被JSON配置覆盖。",
60
- "Built-in": "内置图表",
61
- "Config reference: ": "配置参考: ",
62
- "Table": "表格",
63
- "Sum": "求和",
64
- "Avg": "平均值",
65
- "Count": "计数",
66
- "Min": "最小值",
67
- "Max": "最大值",
68
- "Please select a chart type.": "请选择图表类型",
69
- "Collection": "数据表",
70
- "isStack": "堆叠",
71
- "isPercent": "显示为百分比",
72
- "isGroup": "分组",
73
- "smooth": "平滑曲线",
74
- "Collapse": "折叠",
75
- "Expand": "展开",
76
- "Current filter": "当前筛选",
77
- "Add custom field": "添加自定义字段",
78
- "To filter with custom fields, use \"Current filter\" variables in the chart configuration.": "要通过自定义字段筛选,需要在图表配置中使用“当前筛选”变量。",
79
- "Input": "输入框",
80
- "Date range": "日期范围",
81
- "Time range": "时间范围",
82
- "Edit field properties": "编辑字段属性",
83
- "Select a source field to use metadata of the field": "选择来源字段可以复用字段的元数据配置",
84
- "Original field": "原始字段",
85
- "Transformation": "数据转换",
86
- "Add transformation": "添加数据转换",
87
- "Container": "容器",
88
- "Show border": "显示边框",
89
- "Transformation tip": "一个字段可以应用多次转换,会按照顺序执行,请注意每次转换后的数据类型,拖动可以调整转换顺序。",
90
- "Type conversion": "类型转换",
91
- "Transformer": "转换方法"
92
- }
@@ -1 +0,0 @@
1
- (function(){"use strict";var e={979:function(e){e.exports=compose;function compose(e){if(!Array.isArray(e))throw new TypeError("Middleware stack must be an array!");for(const r of e){if(typeof r!=="function")throw new TypeError("Middleware must be composed of functions!")}return function(r,t){let i=-1;return dispatch(0);function dispatch(n){if(n<=i)return Promise.reject(new Error("next() called multiple times"));i=n;let o=e[n];if(n===e.length)o=t;if(!o)return Promise.resolve();try{return Promise.resolve(o(r,dispatch.bind(null,n+1)))}catch(e){return Promise.reject(e)}}}}}};var r={};function __nccwpck_require__(t){var i=r[t];if(i!==undefined){return i.exports}var n=r[t]={exports:{}};var o=true;try{e[t](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(979);module.exports=t})();
@@ -1 +0,0 @@
1
- {"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2024-07-10T04:53:52.863Z"}
@@ -1,12 +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
- import { Sequelize } from 'sequelize';
10
- export declare const dateFormatFn: (sequelize: Sequelize, dialect: string, field: string, format: string, timezone?: string) => import("sequelize/types/utils").Col | import("sequelize/types/utils").Fn;
11
- export declare const formatFn: (sequelize: Sequelize, dialect: string, field: string, format: string) => string | import("sequelize/types/utils").Fn;
12
- export declare const formatter: (sequelize: Sequelize, type: string, field: string, format: string, timezone?: string) => string | import("sequelize/types/utils").Col | import("sequelize/types/utils").Fn;