@devtable/dashboard 12.4.2 → 12.7.0
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/components/plugins/plugin-context.d.ts +1 -0
- package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +10 -2
- package/dist/components/plugins/viz-components/boxplot-chart/option/legend.d.ts +3 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/tooltip/index.d.ts +3 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/type.d.ts +5 -0
- package/dist/components/plugins/viz-components/boxplot-chart/translation.d.ts +2 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +6 -0
- package/dist/dashboard.es.js +4071 -3767
- package/dist/dashboard.umd.js +69 -69
- package/dist/i18n/en.d.ts +93 -0
- package/dist/i18n/zh.d.ts +93 -0
- package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +9 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +6 -0
- package/dist/stats.html +1 -1
- package/dist/types/plugin/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/i18n/en.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const en: {
|
|
|
27
27
|
common: {
|
|
28
28
|
use_query_data_as_options: string;
|
|
29
29
|
or_fetch_options_from_datasource: string;
|
|
30
|
+
selector_option_empty: string;
|
|
30
31
|
};
|
|
31
32
|
text_input: {
|
|
32
33
|
default_value: string;
|
|
@@ -35,6 +36,7 @@ export declare const en: {
|
|
|
35
36
|
select: {
|
|
36
37
|
width: string;
|
|
37
38
|
required: string;
|
|
39
|
+
clearable: string;
|
|
38
40
|
configure_options: string;
|
|
39
41
|
default_selection: string;
|
|
40
42
|
no_default_selection: string;
|
|
@@ -320,5 +322,96 @@ export declare const en: {
|
|
|
320
322
|
description: string;
|
|
321
323
|
document: string;
|
|
322
324
|
};
|
|
325
|
+
chart: {
|
|
326
|
+
chart_config: string;
|
|
327
|
+
data_field: string;
|
|
328
|
+
groups: {
|
|
329
|
+
merico_suite: string;
|
|
330
|
+
echarts_based_charts: string;
|
|
331
|
+
others: string;
|
|
332
|
+
};
|
|
333
|
+
axis: {
|
|
334
|
+
tick_label: string;
|
|
335
|
+
customize_label: string;
|
|
336
|
+
overflow: {
|
|
337
|
+
label: string;
|
|
338
|
+
max_width: string;
|
|
339
|
+
truncate: string;
|
|
340
|
+
break_line: string;
|
|
341
|
+
break_word: string;
|
|
342
|
+
ellipsis: string;
|
|
343
|
+
section_title: {
|
|
344
|
+
on_axis: string;
|
|
345
|
+
in_tooltip: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
section_title: {
|
|
349
|
+
label_format: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
rotate: string;
|
|
353
|
+
degree: string;
|
|
354
|
+
content_template: {
|
|
355
|
+
label: string;
|
|
356
|
+
hint: string;
|
|
357
|
+
};
|
|
358
|
+
x_axis: {
|
|
359
|
+
label: string;
|
|
360
|
+
labels: string;
|
|
361
|
+
x_axis_name: string;
|
|
362
|
+
x_axis_data_field: string;
|
|
363
|
+
};
|
|
364
|
+
y_axis: {
|
|
365
|
+
label: string;
|
|
366
|
+
labels: string;
|
|
367
|
+
y_axis_name: string;
|
|
368
|
+
y_axis_data_field: string;
|
|
369
|
+
};
|
|
370
|
+
legend: {
|
|
371
|
+
label: string;
|
|
372
|
+
show_legend: string;
|
|
373
|
+
orientation: {
|
|
374
|
+
label: string;
|
|
375
|
+
horizontal: string;
|
|
376
|
+
vertical: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
tooltip: {
|
|
380
|
+
label: string;
|
|
381
|
+
additional_metrics: {
|
|
382
|
+
description: string;
|
|
383
|
+
delete: string;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
style: {
|
|
387
|
+
label: string;
|
|
388
|
+
};
|
|
389
|
+
color: {
|
|
390
|
+
label: string;
|
|
391
|
+
or: string;
|
|
392
|
+
set_any_color: string;
|
|
393
|
+
pick_a_theme_color: string;
|
|
394
|
+
};
|
|
395
|
+
reference_line: {
|
|
396
|
+
label: string;
|
|
397
|
+
labels: string;
|
|
398
|
+
add: string;
|
|
399
|
+
name_placeholder: string;
|
|
400
|
+
};
|
|
401
|
+
zooming: {
|
|
402
|
+
label: string;
|
|
403
|
+
scroll: {
|
|
404
|
+
label: string;
|
|
405
|
+
x_axis: string;
|
|
406
|
+
y_axis: string;
|
|
407
|
+
};
|
|
408
|
+
slider: {
|
|
409
|
+
label: string;
|
|
410
|
+
x_axis: string;
|
|
411
|
+
y_axis: string;
|
|
412
|
+
y_axis_disabled: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
323
416
|
};
|
|
324
417
|
};
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const zh: {
|
|
|
27
27
|
common: {
|
|
28
28
|
use_query_data_as_options: string;
|
|
29
29
|
or_fetch_options_from_datasource: string;
|
|
30
|
+
selector_option_empty: string;
|
|
30
31
|
};
|
|
31
32
|
text_input: {
|
|
32
33
|
default_value: string;
|
|
@@ -35,6 +36,7 @@ export declare const zh: {
|
|
|
35
36
|
select: {
|
|
36
37
|
width: string;
|
|
37
38
|
required: string;
|
|
39
|
+
clearable: string;
|
|
38
40
|
configure_options: string;
|
|
39
41
|
default_selection: string;
|
|
40
42
|
no_default_selection: string;
|
|
@@ -320,5 +322,96 @@ export declare const zh: {
|
|
|
320
322
|
description: string;
|
|
321
323
|
document: string;
|
|
322
324
|
};
|
|
325
|
+
chart: {
|
|
326
|
+
chart_config: string;
|
|
327
|
+
data_field: string;
|
|
328
|
+
groups: {
|
|
329
|
+
merico_suite: string;
|
|
330
|
+
echarts_based_charts: string;
|
|
331
|
+
others: string;
|
|
332
|
+
};
|
|
333
|
+
axis: {
|
|
334
|
+
tick_label: string;
|
|
335
|
+
customize_label: string;
|
|
336
|
+
overflow: {
|
|
337
|
+
label: string;
|
|
338
|
+
max_width: string;
|
|
339
|
+
truncate: string;
|
|
340
|
+
break_line: string;
|
|
341
|
+
break_word: string;
|
|
342
|
+
ellipsis: string;
|
|
343
|
+
section_title: {
|
|
344
|
+
on_axis: string;
|
|
345
|
+
in_tooltip: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
section_title: {
|
|
349
|
+
label_format: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
rotate: string;
|
|
353
|
+
degree: string;
|
|
354
|
+
content_template: {
|
|
355
|
+
label: string;
|
|
356
|
+
hint: string;
|
|
357
|
+
};
|
|
358
|
+
x_axis: {
|
|
359
|
+
label: string;
|
|
360
|
+
labels: string;
|
|
361
|
+
x_axis_name: string;
|
|
362
|
+
x_axis_data_field: string;
|
|
363
|
+
};
|
|
364
|
+
y_axis: {
|
|
365
|
+
label: string;
|
|
366
|
+
labels: string;
|
|
367
|
+
y_axis_name: string;
|
|
368
|
+
y_axis_data_field: string;
|
|
369
|
+
};
|
|
370
|
+
legend: {
|
|
371
|
+
label: string;
|
|
372
|
+
show_legend: string;
|
|
373
|
+
orientation: {
|
|
374
|
+
label: string;
|
|
375
|
+
horizontal: string;
|
|
376
|
+
vertical: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
tooltip: {
|
|
380
|
+
label: string;
|
|
381
|
+
additional_metrics: {
|
|
382
|
+
description: string;
|
|
383
|
+
delete: string;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
style: {
|
|
387
|
+
label: string;
|
|
388
|
+
};
|
|
389
|
+
color: {
|
|
390
|
+
label: string;
|
|
391
|
+
or: string;
|
|
392
|
+
set_any_color: string;
|
|
393
|
+
pick_a_theme_color: string;
|
|
394
|
+
};
|
|
395
|
+
reference_line: {
|
|
396
|
+
label: string;
|
|
397
|
+
labels: string;
|
|
398
|
+
add: string;
|
|
399
|
+
name_placeholder: string;
|
|
400
|
+
};
|
|
401
|
+
zooming: {
|
|
402
|
+
label: string;
|
|
403
|
+
scroll: {
|
|
404
|
+
label: string;
|
|
405
|
+
x_axis: string;
|
|
406
|
+
y_axis: string;
|
|
407
|
+
};
|
|
408
|
+
slider: {
|
|
409
|
+
label: string;
|
|
410
|
+
x_axis: string;
|
|
411
|
+
y_axis: string;
|
|
412
|
+
y_axis_disabled: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
323
416
|
};
|
|
324
417
|
};
|
|
@@ -61,6 +61,7 @@ export declare const FilterMeta: import("mobx-state-tree").IModelType<{
|
|
|
61
61
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
62
62
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
63
63
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
64
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
64
65
|
} & {
|
|
65
66
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
66
67
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3,6 +3,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
3
3
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
4
4
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
5
5
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
6
7
|
} & {
|
|
7
8
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
8
9
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -34,6 +35,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
34
35
|
_name: "select";
|
|
35
36
|
width: string;
|
|
36
37
|
required: boolean;
|
|
38
|
+
clearable: boolean;
|
|
37
39
|
default_value: string;
|
|
38
40
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
39
41
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -57,6 +59,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
57
59
|
} & {
|
|
58
60
|
setDefaultValue(default_value: string): void;
|
|
59
61
|
setWidth(v: string): void;
|
|
62
|
+
setClearable(v: boolean): void;
|
|
60
63
|
setDefaultSelection(): void;
|
|
61
64
|
} & {
|
|
62
65
|
afterCreate(): void;
|
|
@@ -66,6 +69,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
66
69
|
_name: "select";
|
|
67
70
|
default_value: string;
|
|
68
71
|
width: string;
|
|
72
|
+
clearable: boolean;
|
|
69
73
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
70
74
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
71
75
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -102,6 +106,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
102
106
|
_name: "select";
|
|
103
107
|
width: string;
|
|
104
108
|
required: boolean;
|
|
109
|
+
clearable: boolean;
|
|
105
110
|
default_value: string;
|
|
106
111
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
107
112
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -125,6 +130,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
125
130
|
} & {
|
|
126
131
|
setDefaultValue(default_value: string): void;
|
|
127
132
|
setWidth(v: string): void;
|
|
133
|
+
setClearable(v: boolean): void;
|
|
128
134
|
setDefaultSelection(): void;
|
|
129
135
|
} & {
|
|
130
136
|
afterCreate(): void;
|
|
@@ -132,6 +138,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
132
138
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
133
139
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
134
140
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
141
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
135
142
|
} & {
|
|
136
143
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
137
144
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -163,6 +170,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
163
170
|
_name: "select";
|
|
164
171
|
width: string;
|
|
165
172
|
required: boolean;
|
|
173
|
+
clearable: boolean;
|
|
166
174
|
default_value: string;
|
|
167
175
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
168
176
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -186,6 +194,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
186
194
|
} & {
|
|
187
195
|
setDefaultValue(default_value: string): void;
|
|
188
196
|
setWidth(v: string): void;
|
|
197
|
+
setClearable(v: boolean): void;
|
|
189
198
|
setDefaultSelection(): void;
|
|
190
199
|
} & {
|
|
191
200
|
afterCreate(): void;
|
|
@@ -62,6 +62,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
62
62
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
63
63
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
64
64
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
65
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
65
66
|
} & {
|
|
66
67
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
67
68
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -226,6 +227,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
226
227
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
227
228
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
228
229
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
230
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
229
231
|
} & {
|
|
230
232
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
231
233
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -372,6 +374,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
372
374
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
373
375
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
374
376
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
377
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
375
378
|
} & {
|
|
376
379
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
377
380
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -518,6 +521,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
518
521
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
519
522
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
520
523
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
524
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
521
525
|
} & {
|
|
522
526
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
523
527
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -665,6 +669,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
665
669
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
666
670
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
667
671
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
672
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
668
673
|
} & {
|
|
669
674
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
670
675
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -797,6 +802,7 @@ export declare function getInitialFiltersConfig(filters: FilterMetaSnapshotOut[]
|
|
|
797
802
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
798
803
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
799
804
|
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
805
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
800
806
|
} & {
|
|
801
807
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
802
808
|
label: import("mobx-state-tree").ISimpleType<string>;
|