@devtable/dashboard 4.5.0 → 4.6.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.
- package/dist/dashboard.es.js +5338 -4977
- package/dist/dashboard.umd.js +20 -20
- package/dist/filter/index.d.ts +4 -1
- package/dist/main/switch-views/edit-view-modal/config-fields/config.division.d.ts +4 -0
- package/dist/main/switch-views/edit-view-modal/config-fields/config.modal.d.ts +4 -0
- package/dist/main/switch-views/edit-view-modal/config-fields/index.d.ts +4 -0
- package/dist/main/switch-views/edit-view-modal/form.d.ts +4 -0
- package/dist/main/switch-views/edit-view-modal/index.d.ts +9 -0
- package/dist/main/switch-views/index.d.ts +4 -0
- package/dist/main/switch-views/select-with-add-and-edit.d.ts +18 -0
- package/dist/model/filters/filter/index.d.ts +2 -0
- package/dist/model/filters/index.d.ts +1081 -0
- package/dist/model/views/view/index.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/types/dashboard.d.ts +1 -0
- package/dist/view/view-component/preview/division.d.ts +6 -0
- package/dist/view/view-component/preview/index.d.ts +8 -0
- package/dist/view/view-component/preview/modal.d.ts +8 -0
- package/package.json +1 -1
- package/dist/model/views/index.d.ts +0 -35970
|
@@ -2,6 +2,7 @@ import { Instance } from 'mobx-state-tree';
|
|
|
2
2
|
import { EViewComponentType } from '~/types';
|
|
3
3
|
export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
4
4
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
5
6
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
6
7
|
config: import("mobx-state-tree").IType<any, any, any>;
|
|
7
8
|
panels: import("mobx-state-tree").IModelType<{
|
|
@@ -766,6 +767,7 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
766
767
|
}, {
|
|
767
768
|
readonly json: {
|
|
768
769
|
id: string;
|
|
770
|
+
name: string;
|
|
769
771
|
type: string;
|
|
770
772
|
config: any;
|
|
771
773
|
panels: {
|
|
@@ -788,8 +790,9 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
788
790
|
}[];
|
|
789
791
|
};
|
|
790
792
|
} & {
|
|
791
|
-
|
|
793
|
+
setName(name: string): void;
|
|
792
794
|
setType(type: EViewComponentType): void;
|
|
793
795
|
setConfig(config: Record<string, any>): void;
|
|
796
|
+
updateConfig(key: string, value: $TSFixMe): void;
|
|
794
797
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
795
798
|
export declare type ViewModelInstance = Instance<typeof ViewModel>;
|
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}.viz-root{width:100%;overflow:scroll;padding-top:5px;height:calc(100% - 25px);background-color:#fff}.panel-title-wrapper{text-align:center;transition:background-color .3s ease}.panel-title-wrapper:hover{cursor:pointer;background-color:#6464640d}.panel-root{padding:5px;height:100%;width:100%;max-width:100%;background:transparent;border-radius:
|
|
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}.viz-root{width:100%;overflow:scroll;padding-top:5px;height:calc(100% - 25px);background-color:#fff}.panel-title-wrapper{text-align:center;transition:background-color .3s ease}.panel-title-wrapper:hover{cursor:pointer;background-color:#6464640d}.panel-root{padding:5px;height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;border:1px solid #ced4da}.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}.dashboard-layout{margin-left:-10px;margin-right:-10px}.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 -10px;padding:0 10px 10px}
|