@devtable/dashboard 13.21.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.
Files changed (26) hide show
  1. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +2 -0
  2. package/dist/components/plugins/editor-components/viz-config-banner.d.ts +3 -1
  3. package/dist/components/plugins/plugin-context.d.ts +10 -2
  4. package/dist/components/plugins/viz-components/stats/type.d.ts +2 -3
  5. package/dist/components/plugins/viz-components/stats/update/index.d.ts +1 -1
  6. package/dist/components/plugins/viz-components/stats/viz-stats-editor.d.ts +1 -1
  7. package/dist/components/widgets/index.d.ts +7 -0
  8. package/dist/components/widgets/rich-text-editor/custom-rich-text-editor.d.ts +1 -0
  9. package/dist/components/widgets/rich-text-editor/dynamic-color-mark/utils.d.ts +2 -0
  10. package/dist/components/widgets/rich-text-editor/index.d.ts +4 -0
  11. package/dist/contexts/panel-context.d.ts +4 -0
  12. package/dist/dashboard-editor/model/panels/panel.d.ts +1 -0
  13. package/dist/dashboard.es.js +14610 -14511
  14. package/dist/dashboard.umd.js +85 -79
  15. package/dist/i18n/en.d.ts +4 -0
  16. package/dist/i18n/zh.d.ts +4 -0
  17. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +8 -0
  18. package/dist/stats.html +1 -1
  19. package/dist/utils/function-utils.d.ts +2 -0
  20. package/dist/utils/index.d.ts +1 -0
  21. package/dist/utils/rich-text/index.d.ts +1 -0
  22. package/dist/{components/plugins/viz-components → utils}/rich-text/parse-rich-text-content.d.ts +2 -2
  23. package/dist/utils/template/render/render-jsx.d.ts +4 -1
  24. package/dist/utils/template/utils.d.ts +2 -0
  25. package/dist/version.json +2 -2
  26. package/package.json +1 -1
package/dist/i18n/en.d.ts CHANGED
@@ -566,6 +566,10 @@ export declare const en: {
566
566
  };
567
567
  };
568
568
  rich_text: {
569
+ label: string;
570
+ content: {
571
+ label: string;
572
+ };
569
573
  dynamic_color: {
570
574
  label: string;
571
575
  edit: string;
package/dist/i18n/zh.d.ts CHANGED
@@ -566,6 +566,10 @@ export declare const zh: {
566
566
  };
567
567
  };
568
568
  rich_text: {
569
+ label: string;
570
+ content: {
571
+ label: string;
572
+ };
569
573
  dynamic_color: {
570
574
  label: string;
571
575
  edit: string;
@@ -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[];