@devtable/dashboard 13.20.0 → 13.21.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/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +2 -2
- package/dist/components/plugins/plugin-context.d.ts +2 -2
- package/dist/components/widgets/function-editor/function-editor.d.ts +8 -0
- package/dist/components/widgets/function-editor/index.d.ts +2 -6
- package/dist/components/widgets/function-editor/types.d.ts +7 -0
- package/dist/components/widgets/inline-function-input/index.d.ts +2 -0
- package/dist/components/widgets/modal-function-editor/index.d.ts +8 -2
- package/dist/components/widgets/rich-text-editor/dynamic-color-mark/dynamic-color-control.d.ts +4 -0
- package/dist/components/widgets/rich-text-editor/dynamic-color-mark/dynamic-color-mark.d.ts +12 -0
- package/dist/components/widgets/rich-text-editor/dynamic-color-mark/index.d.ts +3 -0
- package/dist/components/widgets/rich-text-editor/dynamic-color-mark/utils.d.ts +9 -0
- package/dist/components/widgets/rich-text-editor/readonly-rich-text-editor.d.ts +4 -1
- package/dist/contexts/panel-context.d.ts +4 -4
- package/dist/dashboard-editor/model/panels/panel.d.ts +1 -1
- package/dist/dashboard.es.js +5709 -5529
- package/dist/dashboard.umd.js +72 -70
- package/dist/i18n/en.d.ts +7 -0
- package/dist/i18n/zh.d.ts +7 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +2 -1
- package/dist/stats.html +1 -1
- package/dist/utils/dashboard-state.d.ts +1 -0
- package/dist/version.json +2 -2
- package/package.json +2 -1
package/dist/i18n/en.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ export declare const en: {
|
|
|
295
295
|
revert: string;
|
|
296
296
|
revert_changes: string;
|
|
297
297
|
reset_to_default: string;
|
|
298
|
+
init_with_default: string;
|
|
298
299
|
select_all: string;
|
|
299
300
|
clear_selection: string;
|
|
300
301
|
refresh: string;
|
|
@@ -564,6 +565,12 @@ export declare const en: {
|
|
|
564
565
|
};
|
|
565
566
|
};
|
|
566
567
|
};
|
|
568
|
+
rich_text: {
|
|
569
|
+
dynamic_color: {
|
|
570
|
+
label: string;
|
|
571
|
+
edit: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
567
574
|
chart: {
|
|
568
575
|
chart_config: string;
|
|
569
576
|
data_field: string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ export declare const zh: {
|
|
|
295
295
|
revert: string;
|
|
296
296
|
revert_changes: string;
|
|
297
297
|
reset_to_default: string;
|
|
298
|
+
init_with_default: string;
|
|
298
299
|
select_all: string;
|
|
299
300
|
clear_selection: string;
|
|
300
301
|
refresh: string;
|
|
@@ -564,6 +565,12 @@ export declare const zh: {
|
|
|
564
565
|
};
|
|
565
566
|
};
|
|
566
567
|
};
|
|
568
|
+
rich_text: {
|
|
569
|
+
dynamic_color: {
|
|
570
|
+
label: string;
|
|
571
|
+
edit: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
567
574
|
chart: {
|
|
568
575
|
chart_config: string;
|
|
569
576
|
data_field: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
3
|
+
export type VariableValueMap = Record<string, string | number>;
|
|
3
4
|
export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
4
5
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
6
|
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -2891,7 +2892,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
2891
2892
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2892
2893
|
readonly data: TPanelData;
|
|
2893
2894
|
readonly variableStrings: Record<string, import('./react').ReactNode>;
|
|
2894
|
-
readonly variableValueMap:
|
|
2895
|
+
readonly variableValueMap: VariableValueMap;
|
|
2895
2896
|
readonly dataLoading: boolean;
|
|
2896
2897
|
readonly queryStateMessages: string;
|
|
2897
2898
|
readonly queryErrors: any[];
|