@nocobase/plugin-data-visualization 1.6.0-beta.8 → 1.7.0-alpha.1

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.
@@ -13,6 +13,8 @@ type FilterField = {
13
13
  value: string;
14
14
  noValue?: boolean;
15
15
  };
16
+ dataSource?: string;
17
+ collectionField?: string;
16
18
  };
17
19
  export declare const ChartFilterContext: React.Context<{
18
20
  ready: boolean;
@@ -8,7 +8,172 @@
8
8
  */
9
9
  import { Collection, CollectionFieldInterfaceManager, CollectionManager, SchemaInitializerItemType } from '@nocobase/client';
10
10
  export declare const useCustomFieldInterface: () => {
11
- getSchemaByInterface: (fieldInterface: string) => any;
11
+ getSchemaByInterface: (fieldInterface: string) => {
12
+ 'x-component-props': any;
13
+ version?: string | (string & {});
14
+ name?: import("@formily/react").SchemaKey | (string & {});
15
+ title?: any;
16
+ description?: any;
17
+ default?: any;
18
+ readOnly?: boolean | (string & {});
19
+ writeOnly?: boolean | (string & {});
20
+ type?: import("@formily/react").SchemaTypes;
21
+ enum?: (string & {}) | import("@formily/react").SchemaEnum<any>;
22
+ const?: any;
23
+ multipleOf?: number | (string & {});
24
+ maximum?: number | (string & {});
25
+ exclusiveMaximum?: number | (string & {});
26
+ minimum?: number | (string & {});
27
+ exclusiveMinimum?: number | (string & {});
28
+ maxLength?: number | (string & {});
29
+ minLength?: number | (string & {});
30
+ pattern?: string | RegExp | (string & {});
31
+ maxItems?: number | (string & {});
32
+ minItems?: number | (string & {});
33
+ uniqueItems?: boolean | (string & {});
34
+ maxProperties?: number | (string & {});
35
+ minProperties?: number | (string & {});
36
+ required?: string | boolean | string[] | (string & {});
37
+ format?: string | (string & {});
38
+ $ref?: string | (string & {});
39
+ $namespace?: string | (string & {});
40
+ definitions?: (string & {}) | import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
41
+ properties?: (string & {}) | import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
42
+ items?: (string & {}) | import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
43
+ additionalItems?: (string & {}) | import("@formily/react").Stringify<{
44
+ [key: symbol]: any;
45
+ [key: `x-${string}`]: any;
46
+ [key: `x-${number}`]: any;
47
+ version?: string;
48
+ name?: import("@formily/react").SchemaKey;
49
+ title?: any;
50
+ description?: any;
51
+ default?: any;
52
+ readOnly?: boolean;
53
+ writeOnly?: boolean;
54
+ type?: import("@formily/react").SchemaTypes;
55
+ enum?: import("@formily/react").SchemaEnum<any>;
56
+ const?: any;
57
+ multipleOf?: number;
58
+ maximum?: number;
59
+ exclusiveMaximum?: number;
60
+ minimum?: number;
61
+ exclusiveMinimum?: number;
62
+ maxLength?: number;
63
+ minLength?: number;
64
+ pattern?: string | RegExp;
65
+ maxItems?: number;
66
+ minItems?: number;
67
+ uniqueItems?: boolean;
68
+ maxProperties?: number;
69
+ minProperties?: number;
70
+ required?: string | boolean | string[];
71
+ format?: string;
72
+ $ref?: string;
73
+ $namespace?: string;
74
+ definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
75
+ properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
76
+ items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
77
+ additionalItems?: import("@formily/react").Stringify<any>;
78
+ patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
79
+ additionalProperties?: import("@formily/react").Stringify<any>;
80
+ "x-value"?: any;
81
+ "x-index"?: number;
82
+ "x-pattern"?: any;
83
+ "x-display"?: any;
84
+ "x-validator"?: any;
85
+ "x-decorator"?: any;
86
+ "x-decorator-props"?: any;
87
+ "x-component"?: any;
88
+ "x-component-props"?: any;
89
+ "x-reactions"?: import("@formily/react").SchemaReactions<any>;
90
+ "x-content"?: any;
91
+ "x-data"?: any;
92
+ "x-visible"?: boolean;
93
+ "x-hidden"?: boolean;
94
+ "x-disabled"?: boolean;
95
+ "x-editable"?: boolean;
96
+ "x-read-only"?: boolean;
97
+ "x-read-pretty"?: boolean;
98
+ "x-compile-omitted"?: string[];
99
+ }>;
100
+ patternProperties?: (string & {}) | import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
101
+ additionalProperties?: (string & {}) | import("@formily/react").Stringify<{
102
+ [key: symbol]: any;
103
+ [key: `x-${string}`]: any;
104
+ [key: `x-${number}`]: any;
105
+ version?: string;
106
+ name?: import("@formily/react").SchemaKey;
107
+ title?: any;
108
+ description?: any;
109
+ default?: any;
110
+ readOnly?: boolean;
111
+ writeOnly?: boolean;
112
+ type?: import("@formily/react").SchemaTypes;
113
+ enum?: import("@formily/react").SchemaEnum<any>;
114
+ const?: any;
115
+ multipleOf?: number;
116
+ maximum?: number;
117
+ exclusiveMaximum?: number;
118
+ minimum?: number;
119
+ exclusiveMinimum?: number;
120
+ maxLength?: number;
121
+ minLength?: number;
122
+ pattern?: string | RegExp;
123
+ maxItems?: number;
124
+ minItems?: number;
125
+ uniqueItems?: boolean;
126
+ maxProperties?: number;
127
+ minProperties?: number;
128
+ required?: string | boolean | string[];
129
+ format?: string;
130
+ $ref?: string;
131
+ $namespace?: string;
132
+ definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
133
+ properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
134
+ items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
135
+ additionalItems?: import("@formily/react").Stringify<any>;
136
+ patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
137
+ additionalProperties?: import("@formily/react").Stringify<any>;
138
+ "x-value"?: any;
139
+ "x-index"?: number;
140
+ "x-pattern"?: any;
141
+ "x-display"?: any;
142
+ "x-validator"?: any;
143
+ "x-decorator"?: any;
144
+ "x-decorator-props"?: any;
145
+ "x-component"?: any;
146
+ "x-component-props"?: any;
147
+ "x-reactions"?: import("@formily/react").SchemaReactions<any>;
148
+ "x-content"?: any;
149
+ "x-data"?: any;
150
+ "x-visible"?: boolean;
151
+ "x-hidden"?: boolean;
152
+ "x-disabled"?: boolean;
153
+ "x-editable"?: boolean;
154
+ "x-read-only"?: boolean;
155
+ "x-read-pretty"?: boolean;
156
+ "x-compile-omitted"?: string[];
157
+ }>;
158
+ "x-value"?: any;
159
+ "x-index"?: number | (string & {});
160
+ "x-pattern"?: any;
161
+ "x-display"?: any;
162
+ "x-validator"?: any;
163
+ "x-decorator"?: any;
164
+ "x-decorator-props"?: any;
165
+ "x-component"?: any;
166
+ "x-reactions"?: (string & {}) | import("@formily/react").SchemaReactions<any>;
167
+ "x-content"?: any;
168
+ "x-data"?: any;
169
+ "x-visible"?: boolean | (string & {});
170
+ "x-hidden"?: boolean | (string & {});
171
+ "x-disabled"?: boolean | (string & {});
172
+ "x-editable"?: boolean | (string & {});
173
+ "x-read-only"?: boolean | (string & {});
174
+ "x-read-pretty"?: boolean | (string & {});
175
+ "x-compile-omitted"?: string[] | (string & {});
176
+ };
12
177
  };
13
178
  export declare const useChartData: () => {
14
179
  chartCollections: {