@devtable/dashboard 2.3.0 → 2.4.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 (92) hide show
  1. package/dist/api-caller/index.d.ts +3 -3
  2. package/dist/contexts/context-info-context.d.ts +1 -1
  3. package/dist/contexts/dashboard-action-context.d.ts +1 -1
  4. package/dist/contexts/definition-context.d.ts +2 -2
  5. package/dist/contexts/filter-values-context.d.ts +1 -1
  6. package/dist/contexts/layout-state-context.d.ts +2 -2
  7. package/dist/contexts/panel-context.d.ts +2 -2
  8. package/dist/dashboard.es.js +10465 -713
  9. package/dist/dashboard.umd.js +22 -5
  10. package/dist/definition-editor/global-variables-guide.d.ts +1 -1
  11. package/dist/definition-editor/query-editor/editor.d.ts +1 -1
  12. package/dist/definition-editor/query-editor/form.d.ts +1 -1
  13. package/dist/definition-editor/query-editor/select-or-add-query.d.ts +1 -1
  14. package/dist/filter/filter-checkbox/editor.d.ts +3 -5
  15. package/dist/filter/filter-checkbox/render.d.ts +3 -2
  16. package/dist/filter/filter-date-range/editor.d.ts +3 -6
  17. package/dist/filter/filter-date-range/render.d.ts +3 -2
  18. package/dist/filter/filter-multi-select/editor.d.ts +3 -7
  19. package/dist/filter/filter-multi-select/render.d.ts +4 -3
  20. package/dist/filter/filter-query-field/index.d.ts +5 -5
  21. package/dist/filter/filter-query-field/select-data-source.d.ts +5 -5
  22. package/dist/filter/filter-query-field/test-query.d.ts +7 -0
  23. package/dist/filter/filter-select/editor.d.ts +3 -7
  24. package/dist/filter/filter-select/render.d.ts +3 -2
  25. package/dist/filter/filter-settings/filter-setting.d.ts +4 -7
  26. package/dist/filter/filter-settings/filter-settings.d.ts +4 -5
  27. package/dist/filter/filter-settings/index.d.ts +3 -4
  28. package/dist/filter/filter-settings/preview-filter.d.ts +4 -8
  29. package/dist/filter/filter-text-input/editor.d.ts +3 -6
  30. package/dist/filter/filter-text-input/render.d.ts +3 -2
  31. package/dist/filter/filter.d.ts +3 -3
  32. package/dist/filter/index.d.ts +2 -2
  33. package/dist/layout/index.d.ts +2 -2
  34. package/dist/layout/read-only.d.ts +2 -2
  35. package/dist/main/actions.d.ts +5 -5
  36. package/dist/main/full-screen-panel.d.ts +1 -1
  37. package/dist/main/main.d.ts +4 -4
  38. package/dist/main/read-only.d.ts +3 -3
  39. package/dist/main/toggle-mode.d.ts +2 -2
  40. package/dist/main/use-filters.d.ts +2124 -4
  41. package/dist/main/use-panel-full-screen.d.ts +1 -1
  42. package/dist/model/dashboard.d.ts +8103 -0
  43. package/dist/model/filter/checkbox.d.ts +16 -0
  44. package/dist/model/filter/common.d.ts +14 -0
  45. package/dist/model/filter/date-range.d.ts +28 -0
  46. package/dist/model/filter/index.d.ts +172 -0
  47. package/dist/model/filter/multi-select.d.ts +81 -0
  48. package/dist/model/filter/select.d.ts +95 -0
  49. package/dist/model/filter/text-input.d.ts +22 -0
  50. package/dist/model/index.d.ts +2 -0
  51. package/dist/panel/error-boundary.d.ts +1 -1
  52. package/dist/panel/settings/common/aggregation-selector.d.ts +2 -2
  53. package/dist/panel/settings/common/color-array-input.d.ts +1 -1
  54. package/dist/panel/settings/common/data-field-selector.d.ts +2 -2
  55. package/dist/panel/settings/common/mantine-color.d.ts +1 -1
  56. package/dist/panel/settings/common/mantine-font-weight.d.ts +1 -1
  57. package/dist/panel/settings/common/numbro-format-selector.d.ts +1 -1
  58. package/dist/panel/settings/common/text-array-input.d.ts +1 -1
  59. package/dist/panel/viz/bar-3d/panel.d.ts +1 -1
  60. package/dist/panel/viz/cartesian/panel/index.d.ts +1 -1
  61. package/dist/panel/viz/cartesian/panel/regressions/index.d.ts +2 -2
  62. package/dist/panel/viz/cartesian/panel/regressions/regression-item.d.ts +2 -2
  63. package/dist/panel/viz/cartesian/panel/series/fields.bar.d.ts +3 -3
  64. package/dist/panel/viz/cartesian/panel/series/index.d.ts +2 -2
  65. package/dist/panel/viz/cartesian/panel/series/series-item.d.ts +2 -2
  66. package/dist/panel/viz/cartesian/panel/stats/index.d.ts +2 -2
  67. package/dist/panel/viz/cartesian/panel/stats/variable.d.ts +2 -2
  68. package/dist/panel/viz/cartesian/panel/y-axes.d.ts +2 -2
  69. package/dist/panel/viz/cartesian/type.d.ts +3 -3
  70. package/dist/panel/viz/index.d.ts +1 -1
  71. package/dist/panel/viz/pie/panel.d.ts +1 -1
  72. package/dist/panel/viz/rich-text/panel.d.ts +1 -1
  73. package/dist/panel/viz/rich-text/type.d.ts +1 -1
  74. package/dist/panel/viz/stats/panel/index.d.ts +3 -3
  75. package/dist/panel/viz/stats/panel/variable.d.ts +2 -2
  76. package/dist/panel/viz/stats/panel/variables.d.ts +2 -2
  77. package/dist/panel/viz/stats/types.d.ts +1 -1
  78. package/dist/panel/viz/stats/update/index.d.ts +2 -2
  79. package/dist/panel/viz/sunburst/panel.d.ts +1 -1
  80. package/dist/panel/viz/table/index.d.ts +1 -1
  81. package/dist/panel/viz/table/panel.d.ts +1 -1
  82. package/dist/panel/viz/table/value-type-selector.d.ts +1 -1
  83. package/dist/panel/viz/table/value.d.ts +1 -1
  84. package/dist/types/dashboard.d.ts +2 -2
  85. package/dist/types/filter.d.ts +6 -38
  86. package/dist/types/viz-panel.d.ts +1 -1
  87. package/dist/utils/sql.d.ts +2 -2
  88. package/dist/utils/template/editor.d.ts +3 -3
  89. package/dist/utils/template/render.d.ts +1 -1
  90. package/dist/utils/template/types.d.ts +2 -2
  91. package/package.json +5 -2
  92. package/dist/filter/filter-settings/types.d.ts +0 -4
@@ -1,6 +1,6 @@
1
- import { ContextInfoContextType, FilterValuesContextType } from "../contexts";
2
- import { IDashboardDefinition, IQuery } from "../types";
3
- import { IDataSource } from "./types";
1
+ import { ContextInfoContextType, FilterValuesContextType } from '../contexts';
2
+ import { IDashboardDefinition, IQuery } from '../types';
3
+ import { IDataSource } from './types';
4
4
  interface IQueryByStaticSQL {
5
5
  type: 'postgresql';
6
6
  key: string;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare type TimeRangeType = [Date | null, Date | null];
3
3
  export declare type ContextInfoContextType = Record<string, TimeRangeType | any | any[]>;
4
4
  export declare const initialContextInfoContext: {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export interface IDashboardActionContext {
3
3
  addPanel: () => void;
4
4
  duplidatePanel: (id: string) => void;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { IDashboardDefinition, IQuery, ISQLSnippet } from "../types";
1
+ import React from 'react';
2
+ import { IDashboardDefinition, IQuery, ISQLSnippet } from '../types';
3
3
  export interface IDefinitionContext extends IDashboardDefinition {
4
4
  setSQLSnippets: React.Dispatch<React.SetStateAction<ISQLSnippet[]>>;
5
5
  setQueries: React.Dispatch<React.SetStateAction<IQuery[]>>;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare type FilterValuesContextType = Record<string, any>;
3
3
  export declare const initialFilterValuesContext: {};
4
4
  export declare const FilterValuesContext: React.Context<FilterValuesContextType>;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { DashboardMode } from "../types/dashboard";
1
+ import React from 'react';
2
+ import { DashboardMode } from '../types/dashboard';
3
3
  export interface ILayoutStateContext {
4
4
  layoutFrozen: boolean;
5
5
  freezeLayout: React.Dispatch<React.SetStateAction<boolean>>;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { IVizConfig } from "../types/dashboard";
1
+ import React from 'react';
2
+ import { IVizConfig } from '../types/dashboard';
3
3
  export interface IPanelContext {
4
4
  id: string;
5
5
  data: any[];