@devtable/dashboard 13.43.13 → 13.44.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.
Files changed (66) hide show
  1. package/dist/api-caller/request.d.ts +1 -1
  2. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +218 -26
  3. package/dist/components/plugins/plugin-context.d.ts +218 -26
  4. package/dist/components/widgets/inline-function-input/index.d.ts +3 -3
  5. package/dist/contexts/panel-context.d.ts +436 -52
  6. package/dist/dashboard-editor/model/datasources/datasource.d.ts +1 -1
  7. package/dist/dashboard-editor/model/datasources/index.d.ts +3 -3
  8. package/dist/dashboard-editor/model/filters/index.d.ts +1 -0
  9. package/dist/dashboard-editor/model/panels/panel.d.ts +109 -13
  10. package/dist/dashboard-editor/model/queries/queries.d.ts +177 -18
  11. package/dist/dashboard-editor/model/queries/query.d.ts +24 -2
  12. package/dist/dashboard-editor/ui/settings/content/data-preview/query-state-message.d.ts +3 -1
  13. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/index.d.ts +8 -0
  14. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/copy.d.ts +2 -0
  15. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/delete.d.ts +2 -0
  16. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/external-link.d.ts +2 -0
  17. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/index.d.ts +5 -0
  18. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/more.d.ts +2 -0
  19. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/play.d.ts +2 -0
  20. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/merico-icons/types.d.ts +5 -0
  21. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/more-actions.d.ts +8 -0
  22. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/data-table-with-pagination.d.ts +1 -0
  23. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/data-table.d.ts +4 -0
  24. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/data-table.style.d.ts +2 -0
  25. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/index.d.ts +1 -0
  26. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/pagination-control.d.ts +10 -0
  27. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/preview-data.d.ts +8 -0
  28. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-data/query-state-message.d.ts +8 -0
  29. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/boolean.d.ts +1 -0
  30. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/date.d.ts +1 -0
  31. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/dimension-icon.d.ts +4 -0
  32. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/index.d.ts +1 -0
  33. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/number.d.ts +1 -0
  34. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-icon/string.d.ts +1 -0
  35. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/dimension-selector.d.ts +11 -0
  36. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/index.d.ts +1 -0
  37. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/type.d.ts +8 -0
  38. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/edit-metric-query.d.ts +8 -0
  39. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/index.d.ts +1 -0
  40. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/link-metrics-to-time-and-step.d.ts +8 -0
  41. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/link-metrics-to-variables.d.ts +8 -0
  42. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/run-by-checkbox.d.ts +7 -0
  43. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/set-groupby-metrics.d.ts +8 -0
  44. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/table-styles.d.ts +7 -0
  45. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/variable-selector.d.ts +18 -0
  46. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/variable-stats.d.ts +5 -0
  47. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/index.d.ts +1 -0
  48. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/query-tabs.d.ts +8 -0
  49. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-variables-preview.d.ts +3 -0
  50. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/run-query.d.ts +8 -0
  51. package/dist/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/select-metric.d.ts +8 -0
  52. package/dist/dashboard-editor/ui/settings/content/edit-query/query-editor-form/configurations.d.ts +2 -2
  53. package/dist/dashboard-editor/ui/settings/content/edit-query/query-editor-form/query-usage.d.ts +5 -6
  54. package/dist/dashboard-editor/ui/settings/content/edit-query/query-editor-form/select-data-source.d.ts +6 -12
  55. package/dist/dashboard.es.js +13377 -12464
  56. package/dist/dashboard.umd.js +105 -104
  57. package/dist/i18n/en.d.ts +1 -0
  58. package/dist/i18n/zh.d.ts +1 -0
  59. package/dist/model/meta-model/dashboard/content/query/types.d.ts +2 -1
  60. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +109 -13
  61. package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +16 -1
  62. package/dist/model/render-model/dashboard/content/queries/queries.d.ts +90 -10
  63. package/dist/model/render-model/dashboard/content/queries/query.d.ts +19 -2
  64. package/dist/stats.html +1 -1
  65. package/dist/version.json +2 -2
  66. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const QueryStateMessage: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element | null) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const DimensionIconBoolean: () => import('./react/jsx-runtime').JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const DimensionIconDate: () => import('./react/jsx-runtime').JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { DimensionOption } from '../type';
2
+ export declare const DimensionIcon: ({ type }: {
3
+ type: DimensionOption['type'];
4
+ }) => import('./react/jsx-runtime').JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare const DimensionIconNumber: () => import('./react/jsx-runtime').JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const DimensionIconString: () => import('./react/jsx-runtime').JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { QueryModelInstance } from '../../../../../../../../../dashboard-editor/model';
2
+ type DimensionSelectorProps = {
3
+ queryModel: QueryModelInstance;
4
+ value: string | null;
5
+ onChange: (v: string | null) => void;
6
+ label?: string;
7
+ };
8
+ export declare const DimensionSelector: (({ queryModel, label, value, onChange }: DimensionSelectorProps) => import('./react/jsx-runtime').JSX.Element) & {
9
+ displayName: string;
10
+ };
11
+ export {};
@@ -0,0 +1,8 @@
1
+ export type DimensionOption = {
2
+ label: string;
3
+ value: string;
4
+ description: string;
5
+ type: 'number' | 'string' | 'date' | 'boolean';
6
+ group_name?: string;
7
+ group_value?: string;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const EditMetricQuery: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const LinkMetricsToTimeAndStep: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const LinkMetricsToVariables: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ variable: string | null;
5
+ };
6
+ export declare const RunByCheckbox: ({ queryModel, variable }: Props) => import('./react/jsx-runtime').JSX.Element | null;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const SetGroupbyMetrics: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const MetricTableStyles: {
2
+ tbody: {
3
+ td: {
4
+ fontFamily: string;
5
+ };
6
+ };
7
+ };
@@ -0,0 +1,18 @@
1
+ import { ComboboxItem } from '@mantine/core';
2
+ import { QueryModelInstance } from '../../../../../../../../dashboard-editor/model';
3
+ import { DashboardFilterType } from '../../../../../../../../types';
4
+ type CustomOption = ComboboxItem & {
5
+ description: string;
6
+ type: string;
7
+ widget: DashboardFilterType;
8
+ widget_label: string;
9
+ };
10
+ type Props = {
11
+ queryModel: QueryModelInstance;
12
+ value: string | null;
13
+ onChange: (value: string | null, option: CustomOption) => void;
14
+ };
15
+ export declare const VariableSelector: (({ queryModel, value, onChange }: Props) => import('./react/jsx-runtime').JSX.Element) & {
16
+ displayName: string;
17
+ };
18
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const VariableStat: (({ variable }: {
2
+ variable: string | null;
3
+ }) => import('./react/jsx-runtime').JSX.Element | null) & {
4
+ displayName: string;
5
+ };
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const QueryTabs: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const QueryVariablesPreview: (() => import('./react/jsx-runtime').JSX.Element) & {
2
+ displayName: string;
3
+ };
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const RunQuery: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { QueryModelInstance } from '../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const SelectMetric: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -1,6 +1,6 @@
1
- import { QueryRenderModelInstance } from '../../../../../../model';
1
+ import { QueryModelInstance } from '../../../../../../dashboard-editor/model';
2
2
  interface IQueryConfigurations {
3
- queryModel: QueryRenderModelInstance;
3
+ queryModel: QueryModelInstance;
4
4
  }
5
5
  export declare const QueryConfigurations: (({ queryModel }: IQueryConfigurations) => import('./react/jsx-runtime').JSX.Element) & {
6
6
  displayName: string;
@@ -1,9 +1,8 @@
1
- import { QueryUsageType } from '../../../../../../model';
2
- interface IQueryUsage {
3
- queryID: string;
4
- usage: QueryUsageType[];
5
- }
6
- export declare const QueryUsage: (({ queryID, usage }: IQueryUsage) => import('./react/jsx-runtime').JSX.Element) & {
1
+ import { QueryModelInstance } from '../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ };
5
+ export declare const QueryUsage: (({ queryModel }: Props) => import('./react/jsx-runtime').JSX.Element) & {
7
6
  displayName: string;
8
7
  };
9
8
  export {};
@@ -1,15 +1,9 @@
1
- import { DataSourceType } from '../../../../../../model';
2
- interface ISelectDataSource {
3
- value: {
4
- type: DataSourceType;
5
- key: string;
6
- };
7
- onChange: (v: {
8
- type: DataSourceType;
9
- key: string;
10
- }) => void;
11
- }
12
- export declare const SelectDataSource: (({ value, onChange }: ISelectDataSource) => import('./react/jsx-runtime').JSX.Element) & {
1
+ import { QueryModelInstance } from '../../../../../../dashboard-editor/model';
2
+ type Props = {
3
+ queryModel: QueryModelInstance;
4
+ size?: string;
5
+ };
6
+ export declare const SelectDataSource: (({ queryModel, size }: Props) => import('./react/jsx-runtime').JSX.Element) & {
13
7
  displayName: string;
14
8
  };
15
9
  export {};