@devtable/dashboard 6.36.0 → 6.37.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.
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
import { TRIGGERS_KEY } from '~/interactions';
|
|
1
2
|
import { PanelModelInstance } from '~/model/views/view/panels';
|
|
3
|
+
import { AnyObject } from '~/types';
|
|
2
4
|
export interface IMigrationEnv {
|
|
3
5
|
panelModel: PanelModelInstance;
|
|
4
6
|
}
|
|
7
|
+
export interface IInitialMigrationRet {
|
|
8
|
+
version: 1;
|
|
9
|
+
config: any;
|
|
10
|
+
}
|
|
11
|
+
export interface IMigrationData {
|
|
12
|
+
config: any;
|
|
13
|
+
[TRIGGERS_KEY]: AnyObject;
|
|
14
|
+
__INTERACTIONS: AnyObject;
|
|
15
|
+
__OPERATIONS: AnyObject;
|
|
16
|
+
}
|
|
5
17
|
export interface IMigration {
|
|
6
18
|
version: number;
|
|
7
|
-
handler: (data:
|
|
19
|
+
handler: (data: IMigrationData, env: IMigrationEnv) => IMigrationData | IInitialMigrationRet;
|
|
8
20
|
}
|
|
9
21
|
export declare class PluginDataMigrator {
|
|
10
22
|
protected migrations: IMigration[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VizComponent } from '~/types/plugin';
|
|
2
1
|
import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
|
|
2
|
+
import { VizComponent } from '~/types/plugin';
|
|
3
3
|
export declare class VizBoxplotChartMigrator extends VersionBasedMigrator {
|
|
4
4
|
readonly VERSION = 4;
|
|
5
5
|
configVersions(): void;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.filter-settings-tabs{width:100%;height:100%}.filter-settings-tabs .mantine-Tabs-panel{height:calc(100% - 25px)}.filter-settings-tabs .mantine-Tabs-tabsListWrapper{flex:0}.filter-settings-tabs .mantine-Tabs-body{flex:1;overflow:scroll}.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.panel-settings-tabs{width:100%;height:100%}.panel-settings-tabs .mantine-Tabs-panel{height:calc(100% - 25px)}.panel-settings-tabs .mantine-Tabs-tabsListWrapper{flex:0}.panel-settings-tabs .mantine-Tabs-body{flex:1;overflow:scroll}.viz-root{width:100%;overflow:scroll;flex-grow:1;background-color:#fff}.panel-dropdown-target{text-align:center;transition:background-color .3s ease}.panel-dropdown-target:hover{cursor:pointer;background-color:#6464640d}.react-grid-item{padding:0}.remove-panel{position:absolute;right:2px;top:0;cursor:pointer}.code-textarea textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.dashboard-root{overflow:scroll;padding:0 10px 10px;height:100%}.dashboard-sticky-area{z-index:100;background:white;margin:0;padding:0 10px}
|
|
1
|
+
.filter-settings-tabs{width:100%;height:100%}.filter-settings-tabs .mantine-Tabs-panel{height:calc(100% - 25px)}.filter-settings-tabs .mantine-Tabs-tabsListWrapper{flex:0}.filter-settings-tabs .mantine-Tabs-body{flex:1;overflow:scroll}.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.panel-settings-tabs{width:100%;height:100%}.panel-settings-tabs .mantine-Tabs-panel{height:calc(100% - 25px)}.panel-settings-tabs .mantine-Tabs-tabsListWrapper{flex:0}.panel-settings-tabs .mantine-Tabs-body{flex:1;overflow:scroll}.viz-root{width:100%;overflow:scroll;flex-grow:1;background-color:#fff}.panel-dropdown-target{text-align:center;transition:background-color .3s ease}.panel-dropdown-target:hover{cursor:pointer;background-color:#6464640d}.react-grid-item{padding:0}.remove-panel{position:absolute;right:2px;top:0;cursor:pointer}.code-textarea textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.dashboard-root{overflow:scroll;padding:0 10px 10px;height:100%}.dashboard-sticky-area{z-index:100;background:white;margin:0;padding:0 10px}*:not([data-enable-scrollbar])::-webkit-scrollbar{width:0!important;height:0!important}*:not([data-enable-scrollbar]){overflow:-moz-scrollbars-none;-ms-overflow-style:none}.minimal-monaco-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e;padding-top:14px}
|