@devtable/dashboard 13.22.0 → 13.23.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.
@@ -3450,6 +3450,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
3450
3450
  readonly data: TPanelData;
3451
3451
  readonly variableStrings: Record<string, React.ReactNode>;
3452
3452
  readonly variableValueMap: import('../../../../model').VariableValueMap;
3453
+ readonly variableStyleMap: import('../../../../model').VariableStyleMap;
3453
3454
  readonly dataLoading: boolean;
3454
3455
  readonly queryStateMessages: string;
3455
3456
  readonly queryErrors: any[];
@@ -6786,6 +6787,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
6786
6787
  readonly data: TPanelData;
6787
6788
  readonly variableStrings: Record<string, React.ReactNode>;
6788
6789
  readonly variableValueMap: import('../../../../model').VariableValueMap;
6790
+ readonly variableStyleMap: import('../../../../model').VariableStyleMap;
6789
6791
  readonly dataLoading: boolean;
6790
6792
  readonly queryStateMessages: string;
6791
6793
  readonly queryErrors: any[];
@@ -1,5 +1,7 @@
1
+ /// <reference types="react" />
1
2
  type Props = {
2
3
  canSubmit: boolean;
4
+ buttonRef?: React.RefObject<HTMLButtonElement>;
3
5
  };
4
- export declare function VizConfigBanner({ canSubmit }: Props): import('./react/jsx-runtime').JSX.Element;
6
+ export declare function VizConfigBanner({ canSubmit, buttonRef }: Props): import('./react/jsx-runtime').JSX.Element;
5
7
  export {};
@@ -3466,6 +3466,7 @@ export declare const tokens: {
3466
3466
  readonly data: TPanelData;
3467
3467
  readonly variableStrings: Record<string, import('./react').ReactNode>;
3468
3468
  readonly variableValueMap: import("../..").VariableValueMap;
3469
+ readonly variableStyleMap: import("../..").VariableStyleMap;
3469
3470
  readonly dataLoading: boolean;
3470
3471
  readonly queryStateMessages: string;
3471
3472
  readonly queryErrors: any[];
@@ -3908,7 +3909,10 @@ export declare const tokens: {
3908
3909
  dep_query_ids: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
3909
3910
  }[];
3910
3911
  layouts: any;
3911
- };
3912
+ }; /**
3913
+ * All available tokens of services, it also serves as an overview of the
3914
+ * plugin system
3915
+ */
3912
3916
  downloadSchema(): void;
3913
3917
  } & {
3914
3918
  readonly realDataFieldOptions: {
@@ -6840,6 +6844,7 @@ export declare const tokens: {
6840
6844
  readonly data: TPanelData;
6841
6845
  readonly variableStrings: Record<string, import('./react').ReactNode>;
6842
6846
  readonly variableValueMap: import("../..").VariableValueMap;
6847
+ readonly variableStyleMap: import("../..").VariableStyleMap;
6843
6848
  readonly dataLoading: boolean;
6844
6849
  readonly queryStateMessages: string;
6845
6850
  readonly queryErrors: any[];
@@ -7282,7 +7287,10 @@ export declare const tokens: {
7282
7287
  dep_query_ids: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
7283
7288
  }[];
7284
7289
  layouts: any;
7285
- };
7290
+ }; /**
7291
+ * All available tokens of services, it also serves as an overview of the
7292
+ * plugin system
7293
+ */
7286
7294
  downloadSchema(): void;
7287
7295
  } & {
7288
7296
  readonly realDataFieldOptions: {
@@ -1,7 +1,6 @@
1
- import { HorizontalAlign, VerticalAlign } from '../../editor-components';
1
+ import { VerticalAlign } from '../../editor-components';
2
2
  export interface IVizStatsConf {
3
- template: string;
3
+ content: string;
4
4
  vertical_align: VerticalAlign;
5
- horizontal_align: HorizontalAlign;
6
5
  }
7
6
  export declare const DEFAULT_CONFIG: IVizStatsConf;
@@ -1,5 +1,5 @@
1
1
  import { VersionBasedMigrator } from '../../../../../components/plugins/plugin-data-migrator';
2
2
  export declare class VizStatsMigrator extends VersionBasedMigrator {
3
- readonly VERSION = 2;
3
+ readonly VERSION = 4;
4
4
  configVersions(): void;
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import { VizConfigProps } from '../../../../types/plugin';
2
- export declare function VizStatsEditor({ context }: VizConfigProps): import('./react/jsx-runtime').JSX.Element;
2
+ export declare function VizStatsEditor(props: VizConfigProps): import('./react/jsx-runtime').JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ export * from './about-function-utils';
2
+ export * from './custom-selector-item';
3
+ export * from './function-editor';
4
+ export * from './inline-function-input';
5
+ export * from './minimal-monaco-editor';
6
+ export * from './modal-function-editor';
7
+ export * from './rich-text-editor';
@@ -5,6 +5,7 @@ interface ICustomRichTextEditor {
5
5
  onChange: (v: string) => void;
6
6
  styles?: RichTextEditorProps['styles'];
7
7
  label: string;
8
+ autoSubmit?: boolean;
8
9
  onSubmit?: () => void;
9
10
  }
10
11
  export declare const CustomRichTextEditor: import('./react').ForwardRefExoticComponent<ICustomRichTextEditor & import('./react').RefAttributes<unknown>>;
@@ -0,0 +1,4 @@
1
+ export * from './custom-rich-text-editor';
2
+ export * from './dynamic-color-mark';
3
+ export * from './font-size-extension';
4
+ export * from './readonly-rich-text-editor';
@@ -3455,6 +3455,7 @@ export declare const useRenderPanelContext: () => {
3455
3455
  readonly data: TPanelData;
3456
3456
  readonly variableStrings: Record<string, React.ReactNode>;
3457
3457
  readonly variableValueMap: import('../model').VariableValueMap;
3458
+ readonly variableStyleMap: import('../model').VariableStyleMap;
3458
3459
  readonly dataLoading: boolean;
3459
3460
  readonly queryStateMessages: string;
3460
3461
  readonly queryErrors: any[];
@@ -6791,6 +6792,7 @@ export declare const useRenderPanelContext: () => {
6791
6792
  readonly data: TPanelData;
6792
6793
  readonly variableStrings: Record<string, React.ReactNode>;
6793
6794
  readonly variableValueMap: import('../model').VariableValueMap;
6795
+ readonly variableStyleMap: import('../model').VariableStyleMap;
6794
6796
  readonly dataLoading: boolean;
6795
6797
  readonly queryStateMessages: string;
6796
6798
  readonly queryErrors: any[];
@@ -10688,6 +10690,7 @@ export declare const useEditPanelContext: () => {
10688
10690
  readonly data: TPanelData;
10689
10691
  readonly variableStrings: Record<string, React.ReactNode>;
10690
10692
  readonly variableValueMap: import('../model').VariableValueMap;
10693
+ readonly variableStyleMap: import('../model').VariableStyleMap;
10691
10694
  readonly dataLoading: boolean;
10692
10695
  readonly queryStateMessages: string;
10693
10696
  readonly queryErrors: any[];
@@ -14062,6 +14065,7 @@ export declare const useEditPanelContext: () => {
14062
14065
  readonly data: TPanelData;
14063
14066
  readonly variableStrings: Record<string, React.ReactNode>;
14064
14067
  readonly variableValueMap: import('../model').VariableValueMap;
14068
+ readonly variableStyleMap: import('../model').VariableStyleMap;
14065
14069
  readonly dataLoading: boolean;
14066
14070
  readonly queryStateMessages: string;
14067
14071
  readonly queryErrors: any[];
@@ -2892,6 +2892,7 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
2892
2892
  readonly data: TPanelData;
2893
2893
  readonly variableStrings: Record<string, import('./react').ReactNode>;
2894
2894
  readonly variableValueMap: import('../../../model').VariableValueMap;
2895
+ readonly variableStyleMap: import('../../../model').VariableStyleMap;
2895
2896
  readonly dataLoading: boolean;
2896
2897
  readonly queryStateMessages: string;
2897
2898
  readonly queryErrors: any[];