@nocobase/plugin-data-visualization 0.16.0-alpha.6 → 0.17.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.
- package/dist/client/block/ChartBlockInitializer.d.ts +3 -5
- package/dist/client/block/ChartDataProvider.d.ts +15 -0
- package/dist/client/chart/chart.d.ts +1 -0
- package/dist/client/configure/ChartConfigProvider.d.ts +17 -0
- package/dist/client/configure/ChartConfigure.d.ts +0 -14
- package/dist/client/configure/index.d.ts +2 -0
- package/dist/client/filter/FilterActionInitializers.d.ts +15 -0
- package/dist/client/filter/FilterBlockDesigner.d.ts +2 -0
- package/dist/client/filter/FilterBlockInitializer.d.ts +3 -0
- package/dist/client/filter/FilterBlockProvider.d.ts +2 -0
- package/dist/client/filter/FilterCheckbox.d.ts +2 -0
- package/dist/client/filter/FilterForm.d.ts +2 -0
- package/dist/client/filter/FilterItemDesigner.d.ts +2 -0
- package/dist/client/filter/FilterItemInitializers.d.ts +7 -0
- package/dist/client/filter/FilterProvider.d.ts +31 -0
- package/dist/client/filter/FilterVariableInput.d.ts +2 -0
- package/dist/client/filter/index.d.ts +6 -0
- package/dist/client/filter/utils.d.ts +51 -0
- package/dist/client/hooks/filter.d.ts +42 -0
- package/dist/client/hooks/index.d.ts +1 -0
- package/dist/client/hooks/useDateVariable.d.ts +1 -2
- package/dist/client/hooks/useVariableOptions.d.ts +7 -3
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +59 -39
- package/dist/client/utils.d.ts +2 -0
- package/dist/externalVersion.js +11 -11
- package/dist/locale/en-US.d.ts +10 -0
- package/dist/locale/en-US.js +11 -1
- package/dist/locale/zh-CN.d.ts +11 -0
- package/dist/locale/zh-CN.js +12 -1
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/package.json +2 -2
- package/dist/client/DataVisualization.d.ts +0 -2
package/dist/client/utils.d.ts
CHANGED
|
@@ -94,3 +94,5 @@ export declare const getSelectedFields: (fields: FieldOption[], query: QueryProp
|
|
|
94
94
|
targetFields?: FieldOption[];
|
|
95
95
|
}[];
|
|
96
96
|
export declare const processData: (selectedFields: FieldOption[], data: any[], scope: any) => {}[];
|
|
97
|
+
export declare const removeUnparsableFilter: (filter: any) => any;
|
|
98
|
+
export declare const getValuesByPath: (values: any, path: string) => any;
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@nocobase/client": "0.
|
|
3
|
-
"react": "18.2.0",
|
|
2
|
+
"@nocobase/client": "0.17.0-alpha.2",
|
|
4
3
|
"@formily/react": "2.2.27",
|
|
5
4
|
"@formily/shared": "2.2.27",
|
|
6
|
-
"
|
|
7
|
-
"@nocobase/
|
|
5
|
+
"lodash": "4.17.21",
|
|
6
|
+
"@nocobase/cache": "0.17.0-alpha.2",
|
|
7
|
+
"@nocobase/server": "0.17.0-alpha.2",
|
|
8
|
+
"react": "18.2.0",
|
|
8
9
|
"@ant-design/icons": "5.1.4",
|
|
10
|
+
"ahooks": "3.7.8",
|
|
9
11
|
"dayjs": "1.11.9",
|
|
12
|
+
"@emotion/css": "11.11.2",
|
|
13
|
+
"antd": "5.8.6",
|
|
10
14
|
"@formily/antd-v5": "1.1.7",
|
|
11
15
|
"@formily/core": "2.2.27",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"@emotion/css": "11.11.2",
|
|
16
|
+
"@nocobase/utils": "0.17.0-alpha.2",
|
|
17
|
+
"@nocobase/database": "0.17.0-alpha.2",
|
|
15
18
|
"react-i18next": "11.18.6",
|
|
16
|
-
"
|
|
17
|
-
"@nocobase/actions": "0.16.0-alpha.6",
|
|
18
|
-
"@nocobase/database": "0.16.0-alpha.6",
|
|
19
|
-
"@nocobase/utils": "0.16.0-alpha.6"
|
|
19
|
+
"@nocobase/actions": "0.17.0-alpha.2"
|
|
20
20
|
};
|
package/dist/locale/en-US.d.ts
CHANGED
|
@@ -19,5 +19,15 @@ declare const _default: {
|
|
|
19
19
|
'Delete provider': string;
|
|
20
20
|
'Are you sure you want to delete it?': string;
|
|
21
21
|
'Sign in button name, which will be displayed on the sign in page': string;
|
|
22
|
+
Expand: string;
|
|
23
|
+
'Current filter': string;
|
|
24
|
+
'Add custom field': string;
|
|
25
|
+
'To filter with custom fields, use "Current filter" variables in the chart configuration.': string;
|
|
26
|
+
Input: string;
|
|
27
|
+
'Date range': string;
|
|
28
|
+
'Time range': string;
|
|
29
|
+
'Edit field properties': string;
|
|
30
|
+
'Select a source field to use metadata of the field': string;
|
|
31
|
+
'Original field': string;
|
|
22
32
|
};
|
|
23
33
|
export default _default;
|
package/dist/locale/en-US.js
CHANGED
|
@@ -40,5 +40,15 @@ var en_US_default = {
|
|
|
40
40
|
"Public cert": "Public cert",
|
|
41
41
|
"Delete provider": "Delete",
|
|
42
42
|
"Are you sure you want to delete it?": "Are you sure you want to delete it?",
|
|
43
|
-
"Sign in button name, which will be displayed on the sign in page": "Sign in button name, which will be displayed on the sign in page"
|
|
43
|
+
"Sign in button name, which will be displayed on the sign in page": "Sign in button name, which will be displayed on the sign in page",
|
|
44
|
+
Expand: "Expand",
|
|
45
|
+
"Current filter": "Current filter",
|
|
46
|
+
"Add custom field": "Add custom field",
|
|
47
|
+
'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.',
|
|
48
|
+
Input: "Input",
|
|
49
|
+
"Date range": "Date range",
|
|
50
|
+
"Time range": "Time range",
|
|
51
|
+
"Edit field properties": "Edit field properties",
|
|
52
|
+
"Select a source field to use metadata of the field": "Select a source field to use metadata of the field",
|
|
53
|
+
"Original field": "Original field"
|
|
44
54
|
};
|
package/dist/locale/zh-CN.d.ts
CHANGED
|
@@ -71,5 +71,16 @@ declare const _default: {
|
|
|
71
71
|
isPercent: string;
|
|
72
72
|
isGroup: string;
|
|
73
73
|
smooth: string;
|
|
74
|
+
Collapse: string;
|
|
75
|
+
Expand: string;
|
|
76
|
+
'Current filter': string;
|
|
77
|
+
'Add custom field': string;
|
|
78
|
+
'To filter with custom fields, use "Current filter" variables in the chart configuration.': string;
|
|
79
|
+
Input: string;
|
|
80
|
+
'Date range': string;
|
|
81
|
+
'Time range': string;
|
|
82
|
+
'Edit field properties': string;
|
|
83
|
+
'Select a source field to use metadata of the field': string;
|
|
84
|
+
'Original field': string;
|
|
74
85
|
};
|
|
75
86
|
export default _default;
|
package/dist/locale/zh-CN.js
CHANGED
|
@@ -92,5 +92,16 @@ var zh_CN_default = {
|
|
|
92
92
|
isStack: "\u5806\u53E0",
|
|
93
93
|
isPercent: "\u663E\u793A\u4E3A\u767E\u5206\u6BD4",
|
|
94
94
|
isGroup: "\u5206\u7EC4",
|
|
95
|
-
smooth: "\u5E73\u6ED1\u66F2\u7EBF"
|
|
95
|
+
smooth: "\u5E73\u6ED1\u66F2\u7EBF",
|
|
96
|
+
Collapse: "\u6298\u53E0",
|
|
97
|
+
Expand: "\u5C55\u5F00",
|
|
98
|
+
"Current filter": "\u5F53\u524D\u7B5B\u9009",
|
|
99
|
+
"Add custom field": "\u6DFB\u52A0\u81EA\u5B9A\u4E49\u5B57\u6BB5",
|
|
100
|
+
'To filter with custom fields, use "Current filter" variables in the chart configuration.': "\u8981\u901A\u8FC7\u81EA\u5B9A\u4E49\u5B57\u6BB5\u7B5B\u9009\uFF0C\u9700\u8981\u5728\u56FE\u8868\u914D\u7F6E\u4E2D\u4F7F\u7528\u201C\u5F53\u524D\u7B5B\u9009\u201D\u53D8\u91CF\u3002",
|
|
101
|
+
Input: "\u8F93\u5165\u6846",
|
|
102
|
+
"Date range": "\u65E5\u671F\u8303\u56F4",
|
|
103
|
+
"Time range": "\u65F6\u95F4\u8303\u56F4",
|
|
104
|
+
"Edit field properties": "\u7F16\u8F91\u5B57\u6BB5\u5C5E\u6027",
|
|
105
|
+
"Select a source field to use metadata of the field": "\u9009\u62E9\u6765\u6E90\u5B57\u6BB5\u53EF\u4EE5\u590D\u7528\u5B57\u6BB5\u7684\u5143\u6570\u636E\u914D\u7F6E",
|
|
106
|
+
"Original field": "\u539F\u59CB\u5B57\u6BB5"
|
|
96
107
|
};
|
|
@@ -1 +1 @@
|
|
|
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":"2023-12-
|
|
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":"2023-12-06T05:27:25.216Z"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-data-visualization",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0-alpha.2",
|
|
4
4
|
"displayName": "Data Visualization",
|
|
5
5
|
"displayName.zh-CN": "数据可视化",
|
|
6
6
|
"description": "Provides business intelligence and data visualization features",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"@nocobase/test": "0.x",
|
|
34
34
|
"@nocobase/utils": "0.x"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "c4d4383a1fde1058011e2f1fd1d9272812e6daeb"
|
|
37
37
|
}
|