@devtable/dashboard 9.19.1 → 9.19.3
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 +1031 -1034
- package/dist/dashboard.umd.js +31 -31
- package/dist/main/use-panel-full-screen.d.ts +4 -280
- package/dist/model/panels/index.d.ts +56 -1022
- package/dist/model/panels/panel.d.ts +2 -8
- package/dist/model/queries/index.d.ts +134 -0
- package/dist/panel/viz/index.d.ts +0 -2
- package/dist/plugins/plugin-context.d.ts +4 -280
- package/dist/plugins/viz-components/scatter-chart/viz-scatter-chart.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
2
|
import { VariableModel } from '~/model/variables';
|
|
3
|
-
import { QueryModelInstance } from '../queries';
|
|
4
3
|
export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
5
4
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
6
5
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -288,7 +287,8 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
288
287
|
};
|
|
289
288
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
290
289
|
}, {
|
|
291
|
-
|
|
290
|
+
readonly contentModel: any;
|
|
291
|
+
} & {
|
|
292
292
|
readonly queryIDSet: Set<string>;
|
|
293
293
|
readonly queries: ({
|
|
294
294
|
id: string;
|
|
@@ -425,12 +425,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
425
425
|
afterCreate(): void;
|
|
426
426
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
427
427
|
readonly data: TPanelData;
|
|
428
|
-
readonly dataStuff: {
|
|
429
|
-
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
430
|
-
len: number;
|
|
431
|
-
state: "error" | "loading" | "idle";
|
|
432
|
-
error: any;
|
|
433
|
-
}[];
|
|
434
428
|
readonly dataLoading: boolean;
|
|
435
429
|
readonly queryStateMessages: string[];
|
|
436
430
|
readonly queryErrors: any[];
|
|
@@ -205,6 +205,140 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
205
205
|
} & {
|
|
206
206
|
afterCreate(): void;
|
|
207
207
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
208
|
+
findByIDSet(idset: Set<string>): ({
|
|
209
|
+
id: string;
|
|
210
|
+
name: string;
|
|
211
|
+
type: import("./types").DataSourceType;
|
|
212
|
+
key: string;
|
|
213
|
+
sql: string;
|
|
214
|
+
pre_process: string;
|
|
215
|
+
post_process: string;
|
|
216
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
217
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
218
|
+
state: "error" | "loading" | "idle";
|
|
219
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
220
|
+
error: any;
|
|
221
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
222
|
+
readonly valid: boolean;
|
|
223
|
+
readonly json: {
|
|
224
|
+
id: string;
|
|
225
|
+
key: string;
|
|
226
|
+
sql: string;
|
|
227
|
+
name: string;
|
|
228
|
+
type: import("./types").DataSourceType;
|
|
229
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
230
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
231
|
+
pre_process: string;
|
|
232
|
+
post_process: string;
|
|
233
|
+
};
|
|
234
|
+
readonly conditionOptions: {
|
|
235
|
+
label: string;
|
|
236
|
+
value: string;
|
|
237
|
+
group: string;
|
|
238
|
+
}[];
|
|
239
|
+
readonly unmetRunByConditions: string[];
|
|
240
|
+
} & {
|
|
241
|
+
readonly reQueryKey: string;
|
|
242
|
+
readonly runByConditionsMet: boolean;
|
|
243
|
+
readonly conditionNames: {
|
|
244
|
+
context: string[];
|
|
245
|
+
filters: any[];
|
|
246
|
+
};
|
|
247
|
+
} & {
|
|
248
|
+
setName(name: string): void;
|
|
249
|
+
setKey(key: string): void;
|
|
250
|
+
setType(type: import("./types").DataSourceType): void;
|
|
251
|
+
setSQL(sql: string): void;
|
|
252
|
+
setRunBy(v: string[]): void;
|
|
253
|
+
setReactTo(v: string[]): void;
|
|
254
|
+
setPreProcess(v: string): void;
|
|
255
|
+
setPostProcess(v: string): void;
|
|
256
|
+
} & {
|
|
257
|
+
readonly formattedSQL: any;
|
|
258
|
+
readonly typedAsSQL: boolean;
|
|
259
|
+
readonly typedAsHTTP: boolean;
|
|
260
|
+
readonly datasource: any;
|
|
261
|
+
readonly httpConfigString: string;
|
|
262
|
+
} & {
|
|
263
|
+
readonly stateMessage: string;
|
|
264
|
+
} & {
|
|
265
|
+
controller: AbortController;
|
|
266
|
+
} & {
|
|
267
|
+
runSQL: () => Promise<void>;
|
|
268
|
+
runHTTP: () => Promise<void>;
|
|
269
|
+
} & {
|
|
270
|
+
fetchData: () => Promise<void>;
|
|
271
|
+
beforeDestroy(): void;
|
|
272
|
+
} & {
|
|
273
|
+
afterCreate(): void;
|
|
274
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
275
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
276
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
277
|
+
type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
|
|
278
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
279
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
280
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
281
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
282
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
283
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
284
|
+
} & {
|
|
285
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
286
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
287
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
288
|
+
}, {
|
|
289
|
+
readonly valid: boolean;
|
|
290
|
+
readonly json: {
|
|
291
|
+
id: string;
|
|
292
|
+
key: string;
|
|
293
|
+
sql: string;
|
|
294
|
+
name: string;
|
|
295
|
+
type: import("./types").DataSourceType;
|
|
296
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
297
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
298
|
+
pre_process: string;
|
|
299
|
+
post_process: string;
|
|
300
|
+
};
|
|
301
|
+
readonly conditionOptions: {
|
|
302
|
+
label: string;
|
|
303
|
+
value: string;
|
|
304
|
+
group: string;
|
|
305
|
+
}[];
|
|
306
|
+
readonly unmetRunByConditions: string[];
|
|
307
|
+
} & {
|
|
308
|
+
readonly reQueryKey: string;
|
|
309
|
+
readonly runByConditionsMet: boolean;
|
|
310
|
+
readonly conditionNames: {
|
|
311
|
+
context: string[];
|
|
312
|
+
filters: any[];
|
|
313
|
+
};
|
|
314
|
+
} & {
|
|
315
|
+
setName(name: string): void;
|
|
316
|
+
setKey(key: string): void;
|
|
317
|
+
setType(type: import("./types").DataSourceType): void;
|
|
318
|
+
setSQL(sql: string): void;
|
|
319
|
+
setRunBy(v: string[]): void;
|
|
320
|
+
setReactTo(v: string[]): void;
|
|
321
|
+
setPreProcess(v: string): void;
|
|
322
|
+
setPostProcess(v: string): void;
|
|
323
|
+
} & {
|
|
324
|
+
readonly formattedSQL: any;
|
|
325
|
+
readonly typedAsSQL: boolean;
|
|
326
|
+
readonly typedAsHTTP: boolean;
|
|
327
|
+
readonly datasource: any;
|
|
328
|
+
readonly httpConfigString: string;
|
|
329
|
+
} & {
|
|
330
|
+
readonly stateMessage: string;
|
|
331
|
+
} & {
|
|
332
|
+
controller: AbortController;
|
|
333
|
+
} & {
|
|
334
|
+
runSQL: () => Promise<void>;
|
|
335
|
+
runHTTP: () => Promise<void>;
|
|
336
|
+
} & {
|
|
337
|
+
fetchData: () => Promise<void>;
|
|
338
|
+
beforeDestroy(): void;
|
|
339
|
+
} & {
|
|
340
|
+
afterCreate(): void;
|
|
341
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
208
342
|
readonly options: {
|
|
209
343
|
readonly value: string;
|
|
210
344
|
readonly label: string;
|
|
@@ -591,140 +591,8 @@ export declare const tokens: {
|
|
|
591
591
|
};
|
|
592
592
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
593
593
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
name: string;
|
|
597
|
-
type: import("../model/queries/types").DataSourceType;
|
|
598
|
-
key: string;
|
|
599
|
-
sql: string;
|
|
600
|
-
pre_process: string;
|
|
601
|
-
post_process: string;
|
|
602
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
603
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
604
|
-
state: "error" | "loading" | "idle";
|
|
605
|
-
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
606
|
-
error: any;
|
|
607
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
608
|
-
readonly valid: boolean;
|
|
609
|
-
readonly json: {
|
|
610
|
-
id: string;
|
|
611
|
-
key: string;
|
|
612
|
-
sql: string;
|
|
613
|
-
name: string;
|
|
614
|
-
type: import("../model/queries/types").DataSourceType;
|
|
615
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
616
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
617
|
-
pre_process: string;
|
|
618
|
-
post_process: string;
|
|
619
|
-
};
|
|
620
|
-
readonly conditionOptions: {
|
|
621
|
-
label: string;
|
|
622
|
-
value: string;
|
|
623
|
-
group: string;
|
|
624
|
-
}[];
|
|
625
|
-
readonly unmetRunByConditions: string[];
|
|
626
|
-
} & {
|
|
627
|
-
readonly reQueryKey: string;
|
|
628
|
-
readonly runByConditionsMet: boolean;
|
|
629
|
-
readonly conditionNames: {
|
|
630
|
-
context: string[];
|
|
631
|
-
filters: any[];
|
|
632
|
-
};
|
|
633
|
-
} & {
|
|
634
|
-
setName(name: string): void;
|
|
635
|
-
setKey(key: string): void;
|
|
636
|
-
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
637
|
-
setSQL(sql: string): void;
|
|
638
|
-
setRunBy(v: string[]): void;
|
|
639
|
-
setReactTo(v: string[]): void;
|
|
640
|
-
setPreProcess(v: string): void;
|
|
641
|
-
setPostProcess(v: string): void;
|
|
642
|
-
} & {
|
|
643
|
-
readonly formattedSQL: any;
|
|
644
|
-
readonly typedAsSQL: boolean;
|
|
645
|
-
readonly typedAsHTTP: boolean;
|
|
646
|
-
readonly datasource: any;
|
|
647
|
-
readonly httpConfigString: string;
|
|
648
|
-
} & {
|
|
649
|
-
readonly stateMessage: string;
|
|
650
|
-
} & {
|
|
651
|
-
controller: AbortController;
|
|
652
|
-
} & {
|
|
653
|
-
runSQL: () => Promise<void>;
|
|
654
|
-
runHTTP: () => Promise<void>;
|
|
655
|
-
} & {
|
|
656
|
-
fetchData: () => Promise<void>;
|
|
657
|
-
beforeDestroy(): void;
|
|
658
|
-
} & {
|
|
659
|
-
afterCreate(): void;
|
|
660
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
661
|
-
id: import("mobx-state-tree").ISimpleType<string>;
|
|
662
|
-
name: import("mobx-state-tree").ISimpleType<string>;
|
|
663
|
-
type: import("mobx-state-tree").ISimpleType<import("../model/queries/types").DataSourceType>;
|
|
664
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
665
|
-
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
666
|
-
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
667
|
-
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
668
|
-
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
669
|
-
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
670
|
-
} & {
|
|
671
|
-
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
672
|
-
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
673
|
-
error: import("mobx-state-tree").IType<any, any, any>;
|
|
674
|
-
}, {
|
|
675
|
-
readonly valid: boolean;
|
|
676
|
-
readonly json: {
|
|
677
|
-
id: string;
|
|
678
|
-
key: string;
|
|
679
|
-
sql: string;
|
|
680
|
-
name: string;
|
|
681
|
-
type: import("../model/queries/types").DataSourceType;
|
|
682
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
683
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
684
|
-
pre_process: string;
|
|
685
|
-
post_process: string;
|
|
686
|
-
};
|
|
687
|
-
readonly conditionOptions: {
|
|
688
|
-
label: string;
|
|
689
|
-
value: string;
|
|
690
|
-
group: string;
|
|
691
|
-
}[];
|
|
692
|
-
readonly unmetRunByConditions: string[];
|
|
693
|
-
} & {
|
|
694
|
-
readonly reQueryKey: string;
|
|
695
|
-
readonly runByConditionsMet: boolean;
|
|
696
|
-
readonly conditionNames: {
|
|
697
|
-
context: string[];
|
|
698
|
-
filters: any[];
|
|
699
|
-
};
|
|
700
|
-
} & {
|
|
701
|
-
setName(name: string): void;
|
|
702
|
-
setKey(key: string): void;
|
|
703
|
-
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
704
|
-
setSQL(sql: string): void;
|
|
705
|
-
setRunBy(v: string[]): void;
|
|
706
|
-
setReactTo(v: string[]): void;
|
|
707
|
-
setPreProcess(v: string): void;
|
|
708
|
-
setPostProcess(v: string): void;
|
|
709
|
-
} & {
|
|
710
|
-
readonly formattedSQL: any;
|
|
711
|
-
readonly typedAsSQL: boolean;
|
|
712
|
-
readonly typedAsHTTP: boolean;
|
|
713
|
-
readonly datasource: any;
|
|
714
|
-
readonly httpConfigString: string;
|
|
715
|
-
} & {
|
|
716
|
-
readonly stateMessage: string;
|
|
717
|
-
} & {
|
|
718
|
-
controller: AbortController;
|
|
719
|
-
} & {
|
|
720
|
-
runSQL: () => Promise<void>;
|
|
721
|
-
runHTTP: () => Promise<void>;
|
|
722
|
-
} & {
|
|
723
|
-
fetchData: () => Promise<void>;
|
|
724
|
-
beforeDestroy(): void;
|
|
725
|
-
} & {
|
|
726
|
-
afterCreate(): void;
|
|
727
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
594
|
+
readonly contentModel: any;
|
|
595
|
+
} & {
|
|
728
596
|
readonly queryIDSet: Set<string>;
|
|
729
597
|
readonly queries: ({
|
|
730
598
|
id: string;
|
|
@@ -861,12 +729,6 @@ export declare const tokens: {
|
|
|
861
729
|
afterCreate(): void;
|
|
862
730
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
863
731
|
readonly data: TPanelData;
|
|
864
|
-
readonly dataStuff: {
|
|
865
|
-
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
866
|
-
len: number;
|
|
867
|
-
state: "error" | "loading" | "idle";
|
|
868
|
-
error: any;
|
|
869
|
-
}[];
|
|
870
732
|
readonly dataLoading: boolean;
|
|
871
733
|
readonly queryStateMessages: string[];
|
|
872
734
|
readonly queryErrors: any[];
|
|
@@ -1997,140 +1859,8 @@ export declare const tokens: {
|
|
|
1997
1859
|
};
|
|
1998
1860
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
1999
1861
|
}, {
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
name: string;
|
|
2003
|
-
type: import("../model/queries/types").DataSourceType;
|
|
2004
|
-
key: string;
|
|
2005
|
-
sql: string;
|
|
2006
|
-
pre_process: string;
|
|
2007
|
-
post_process: string;
|
|
2008
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2009
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2010
|
-
state: "error" | "loading" | "idle";
|
|
2011
|
-
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
2012
|
-
error: any;
|
|
2013
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2014
|
-
readonly valid: boolean;
|
|
2015
|
-
readonly json: {
|
|
2016
|
-
id: string;
|
|
2017
|
-
key: string;
|
|
2018
|
-
sql: string;
|
|
2019
|
-
name: string;
|
|
2020
|
-
type: import("../model/queries/types").DataSourceType;
|
|
2021
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2022
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2023
|
-
pre_process: string;
|
|
2024
|
-
post_process: string;
|
|
2025
|
-
};
|
|
2026
|
-
readonly conditionOptions: {
|
|
2027
|
-
label: string;
|
|
2028
|
-
value: string;
|
|
2029
|
-
group: string;
|
|
2030
|
-
}[];
|
|
2031
|
-
readonly unmetRunByConditions: string[];
|
|
2032
|
-
} & {
|
|
2033
|
-
readonly reQueryKey: string;
|
|
2034
|
-
readonly runByConditionsMet: boolean;
|
|
2035
|
-
readonly conditionNames: {
|
|
2036
|
-
context: string[];
|
|
2037
|
-
filters: any[];
|
|
2038
|
-
};
|
|
2039
|
-
} & {
|
|
2040
|
-
setName(name: string): void;
|
|
2041
|
-
setKey(key: string): void;
|
|
2042
|
-
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
2043
|
-
setSQL(sql: string): void;
|
|
2044
|
-
setRunBy(v: string[]): void;
|
|
2045
|
-
setReactTo(v: string[]): void;
|
|
2046
|
-
setPreProcess(v: string): void;
|
|
2047
|
-
setPostProcess(v: string): void;
|
|
2048
|
-
} & {
|
|
2049
|
-
readonly formattedSQL: any;
|
|
2050
|
-
readonly typedAsSQL: boolean;
|
|
2051
|
-
readonly typedAsHTTP: boolean;
|
|
2052
|
-
readonly datasource: any;
|
|
2053
|
-
readonly httpConfigString: string;
|
|
2054
|
-
} & {
|
|
2055
|
-
readonly stateMessage: string;
|
|
2056
|
-
} & {
|
|
2057
|
-
controller: AbortController;
|
|
2058
|
-
} & {
|
|
2059
|
-
runSQL: () => Promise<void>;
|
|
2060
|
-
runHTTP: () => Promise<void>;
|
|
2061
|
-
} & {
|
|
2062
|
-
fetchData: () => Promise<void>;
|
|
2063
|
-
beforeDestroy(): void;
|
|
2064
|
-
} & {
|
|
2065
|
-
afterCreate(): void;
|
|
2066
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2067
|
-
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2068
|
-
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2069
|
-
type: import("mobx-state-tree").ISimpleType<import("../model/queries/types").DataSourceType>;
|
|
2070
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
2071
|
-
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
2072
|
-
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2073
|
-
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2074
|
-
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2075
|
-
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2076
|
-
} & {
|
|
2077
|
-
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
2078
|
-
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
2079
|
-
error: import("mobx-state-tree").IType<any, any, any>;
|
|
2080
|
-
}, {
|
|
2081
|
-
readonly valid: boolean;
|
|
2082
|
-
readonly json: {
|
|
2083
|
-
id: string;
|
|
2084
|
-
key: string;
|
|
2085
|
-
sql: string;
|
|
2086
|
-
name: string;
|
|
2087
|
-
type: import("../model/queries/types").DataSourceType;
|
|
2088
|
-
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2089
|
-
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2090
|
-
pre_process: string;
|
|
2091
|
-
post_process: string;
|
|
2092
|
-
};
|
|
2093
|
-
readonly conditionOptions: {
|
|
2094
|
-
label: string;
|
|
2095
|
-
value: string;
|
|
2096
|
-
group: string;
|
|
2097
|
-
}[];
|
|
2098
|
-
readonly unmetRunByConditions: string[];
|
|
2099
|
-
} & {
|
|
2100
|
-
readonly reQueryKey: string;
|
|
2101
|
-
readonly runByConditionsMet: boolean;
|
|
2102
|
-
readonly conditionNames: {
|
|
2103
|
-
context: string[];
|
|
2104
|
-
filters: any[];
|
|
2105
|
-
};
|
|
2106
|
-
} & {
|
|
2107
|
-
setName(name: string): void;
|
|
2108
|
-
setKey(key: string): void;
|
|
2109
|
-
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
2110
|
-
setSQL(sql: string): void;
|
|
2111
|
-
setRunBy(v: string[]): void;
|
|
2112
|
-
setReactTo(v: string[]): void;
|
|
2113
|
-
setPreProcess(v: string): void;
|
|
2114
|
-
setPostProcess(v: string): void;
|
|
2115
|
-
} & {
|
|
2116
|
-
readonly formattedSQL: any;
|
|
2117
|
-
readonly typedAsSQL: boolean;
|
|
2118
|
-
readonly typedAsHTTP: boolean;
|
|
2119
|
-
readonly datasource: any;
|
|
2120
|
-
readonly httpConfigString: string;
|
|
2121
|
-
} & {
|
|
2122
|
-
readonly stateMessage: string;
|
|
2123
|
-
} & {
|
|
2124
|
-
controller: AbortController;
|
|
2125
|
-
} & {
|
|
2126
|
-
runSQL: () => Promise<void>;
|
|
2127
|
-
runHTTP: () => Promise<void>;
|
|
2128
|
-
} & {
|
|
2129
|
-
fetchData: () => Promise<void>;
|
|
2130
|
-
beforeDestroy(): void;
|
|
2131
|
-
} & {
|
|
2132
|
-
afterCreate(): void;
|
|
2133
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
1862
|
+
readonly contentModel: any;
|
|
1863
|
+
} & {
|
|
2134
1864
|
readonly queryIDSet: Set<string>;
|
|
2135
1865
|
readonly queries: ({
|
|
2136
1866
|
id: string;
|
|
@@ -2267,12 +1997,6 @@ export declare const tokens: {
|
|
|
2267
1997
|
afterCreate(): void;
|
|
2268
1998
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2269
1999
|
readonly data: TPanelData;
|
|
2270
|
-
readonly dataStuff: {
|
|
2271
|
-
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
2272
|
-
len: number;
|
|
2273
|
-
state: "error" | "loading" | "idle";
|
|
2274
|
-
error: any;
|
|
2275
|
-
}[];
|
|
2276
2000
|
readonly dataLoading: boolean;
|
|
2277
2001
|
readonly queryStateMessages: string[];
|
|
2278
2002
|
readonly queryErrors: any[];
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.panel-dropdown-target{text-align:center;transition:background-color .3s ease}.panel-dropdown-target:hover{cursor:pointer;background-color:#6464640d}.
|
|
1
|
+
.panel-root{height:100%;width:100%;max-width:100%;background:transparent;border-radius:4px;position:relative}.viz-root{width:100%;overflow:auto;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}.dashboard-layout{margin:5px}.react-grid-item{padding:0}.panel-grid-item{padding:5px;min-height:38px}.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}.preview-sql-in-monaco-editor{overflow:hidden}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:rgba(255,255,255,.5);padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__node-interaction{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 12px 6px #ff0;border-style:dashed}.dashboard-root{overflow:auto;overflow-x:hidden;padding:0;height:100%}.dashboard-view{position:relative;height:100%;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:initial!important}.dashboard-sticky-area{z-index:100;background:white;margin:0;padding:0 10px}.mantine-RichTextEditor-root{overflow-y:auto!important;-ms-overflow-style:initial!important}.dashboard-root *:not(.mantine-RichTextEditor-root):not(.dashboard-view):not(.mantine-Modal-body):not([data-enable-scrollbar])::-webkit-scrollbar{width:0!important;height:0!important}.dashboard-root *:not([data-enable-scrollbar]){overflow:-moz-scrollbars-none;-ms-overflow-style:none}.function-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e}.minimal-monaco-editor{border-radius:4px;overflow:hidden;background-color:#1e1e1e;padding-top:14px}
|