@devtable/dashboard 4.4.0 → 4.5.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 (43) hide show
  1. package/dist/contexts/layout-state-context.d.ts +0 -2
  2. package/dist/dashboard.es.js +17311 -15213
  3. package/dist/dashboard.umd.js +85 -30
  4. package/dist/filter/filter-checkbox/render.d.ts +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/main/actions.d.ts +0 -4
  7. package/dist/main/full-screen-panel.d.ts +2 -0
  8. package/dist/main/read-only.d.ts +1 -1
  9. package/dist/model/index.d.ts +1 -0
  10. package/dist/model/views/index.d.ts +35970 -0
  11. package/dist/model/views/view/index.d.ts +795 -0
  12. package/dist/model/{panels → views/view/panels}/index.d.ts +20 -20
  13. package/dist/model/{panels → views/view/panels}/layout.d.ts +0 -0
  14. package/dist/model/{panels → views/view/panels}/panel.d.ts +4 -4
  15. package/dist/model/{panels → views/view/panels}/viz.d.ts +0 -0
  16. package/dist/panel/index.d.ts +2 -0
  17. package/dist/panel/title-bar.d.ts +4 -1
  18. package/dist/plugins/color-manager/color-manager.d.ts +4 -2
  19. package/dist/plugins/color-manager/impl.d.ts +4 -1
  20. package/dist/plugins/color-manager/multi-step-value-mapper.d.ts +9 -0
  21. package/dist/plugins/color-manager/type.d.ts +7 -0
  22. package/dist/plugins/colors/diverging-color.d.ts +2 -0
  23. package/dist/plugins/colors/index.d.ts +9 -0
  24. package/dist/plugins/colors/sequential-color.d.ts +2 -0
  25. package/dist/plugins/controls/color-interpolation-select/index.d.ts +9 -0
  26. package/dist/plugins/controls/color-mapping-editor/index.d.ts +8 -0
  27. package/dist/plugins/controls/color-mapping-editor/style.d.ts +6 -0
  28. package/dist/plugins/viz-components/table/components/background-color-select.d.ts +7 -0
  29. package/dist/plugins/viz-components/table/type.d.ts +4 -0
  30. package/dist/style.css +1 -1
  31. package/dist/types/dashboard.d.ts +11 -1
  32. package/dist/types/plugin/index.d.ts +15 -2
  33. package/dist/view/index.d.ts +2 -0
  34. package/dist/view/layout/index.d.ts +2 -0
  35. package/dist/view/layout/main-layout.d.ts +11 -0
  36. package/dist/{layout/read-only.d.ts → view/layout/read-only-layout.d.ts} +2 -0
  37. package/dist/view/main-view.d.ts +8 -0
  38. package/dist/view/read-only-view.d.ts +7 -0
  39. package/package.json +3 -1
  40. package/dist/contexts/model-context.d.ts +0 -28957
  41. package/dist/layout/index.d.ts +0 -9
  42. package/dist/main/toggle-mode.d.ts +0 -8
  43. package/dist/model/dashboard.d.ts +0 -19153
@@ -6,5 +6,5 @@ interface IFilterCheckbox extends Omit<FilterModelInstance, 'key' | 'type' | 'co
6
6
  value: $TSFixMe;
7
7
  onChange: (v: $TSFixMe) => void;
8
8
  }
9
- export declare function FilterCheckbox({ label, config: { ...rest }, value, onChange }: IFilterCheckbox): JSX.Element;
9
+ export declare function FilterCheckbox({ label, config: { default_value, ...rest }, value, onChange }: IFilterCheckbox): JSX.Element;
10
10
  export {};
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './main';
2
- export * from './layout';
2
+ export * from './view';
3
3
  export * from './panel';
4
4
  export * from './contexts';
5
5
  export * from './types';
@@ -1,10 +1,6 @@
1
1
  import React from 'react';
2
- import { DashboardMode } from '../types';
3
2
  interface IDashboardActions {
4
- mode: DashboardMode;
5
- setMode: React.Dispatch<React.SetStateAction<DashboardMode>>;
6
3
  saveChanges: () => void;
7
- getCurrentSchema: () => $TSFixMe;
8
4
  }
9
5
  export declare const DashboardActions: React.FunctionComponent<IDashboardActions>;
10
6
  export {};
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
+ import { ViewModelInstance } from '..';
2
3
  import { IDashboardPanel } from '../types';
3
4
  export declare const FullScreenPanel: import("react").FunctionComponent<{
5
+ view: ViewModelInstance;
4
6
  panel: IDashboardPanel;
5
7
  exitFullScreen: () => void;
6
8
  }>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { IDashboard, IDashboardConfig } from '../types/dashboard';
3
2
  import { ContextInfoType } from '../model/context';
3
+ import { IDashboard, IDashboardConfig } from '../types/dashboard';
4
4
  interface IReadOnlyDashboard {
5
5
  context: ContextInfoType;
6
6
  dashboard: IDashboard;
@@ -3,3 +3,4 @@ export * from './queries';
3
3
  export * from './sql-snippets';
4
4
  export * from './context';
5
5
  export * from './dashboard';
6
+ export * from './views';