@devtable/dashboard 13.22.0 → 13.23.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 -0
- package/dist/components/plugins/editor-components/viz-config-banner.d.ts +3 -1
- package/dist/components/plugins/plugin-context.d.ts +10 -2
- package/dist/components/plugins/viz-components/stats/type.d.ts +2 -3
- package/dist/components/plugins/viz-components/stats/update/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/stats/viz-stats-editor.d.ts +1 -1
- package/dist/components/widgets/index.d.ts +7 -0
- package/dist/components/widgets/rich-text-editor/custom-rich-text-editor.d.ts +1 -0
- package/dist/components/widgets/rich-text-editor/index.d.ts +4 -0
- package/dist/contexts/panel-context.d.ts +4 -0
- package/dist/dashboard-editor/model/panels/panel.d.ts +1 -0
- package/dist/dashboard.es.js +14828 -14756
- package/dist/dashboard.umd.js +86 -81
- package/dist/i18n/en.d.ts +4 -0
- package/dist/i18n/zh.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +8 -0
- package/dist/stats.html +1 -1
- package/dist/utils/function-utils.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/rich-text/index.d.ts +1 -0
- package/dist/{components/plugins/viz-components → utils}/rich-text/parse-rich-text-content.d.ts +2 -2
- package/dist/utils/template/render/render-jsx.d.ts +4 -1
- package/dist/utils/template/utils.d.ts +2 -0
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/i18n/en.d.ts
CHANGED
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
3
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
3
4
|
export type VariableValueMap = Record<string, string | number>;
|
|
5
|
+
export type VariableStyleMap = Record<string, {
|
|
6
|
+
color: string;
|
|
7
|
+
'font-size': string;
|
|
8
|
+
'font-weight': string;
|
|
9
|
+
variable: ITemplateVariable;
|
|
10
|
+
}>;
|
|
4
11
|
export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
5
12
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
6
13
|
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -2893,6 +2900,7 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
2893
2900
|
readonly data: TPanelData;
|
|
2894
2901
|
readonly variableStrings: Record<string, import('./react').ReactNode>;
|
|
2895
2902
|
readonly variableValueMap: VariableValueMap;
|
|
2903
|
+
readonly variableStyleMap: VariableStyleMap;
|
|
2896
2904
|
readonly dataLoading: boolean;
|
|
2897
2905
|
readonly queryStateMessages: string;
|
|
2898
2906
|
readonly queryErrors: any[];
|