@gen3/workspaces 0.12.48 → 0.12.49
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/dts/components/CompactDictionaryPanel/CompactDictionaryPanel.d.ts.map +1 -1
- package/dist/dts/components/CompactDictionaryPanel/CompactDictionaryPanel.js +2 -2
- package/dist/dts/components/CompactDictionaryPanel/CompactDictionaryPanel.js.map +1 -1
- package/dist/dts/components/CompactDictionaryPanel/data/large_dictionary.d.ts +11168 -0
- package/dist/dts/components/CompactDictionaryPanel/data/large_dictionary.d.ts.map +1 -0
- package/dist/dts/components/CompactDictionaryPanel/data/large_dictionary.js +13055 -0
- package/dist/dts/components/CompactDictionaryPanel/data/large_dictionary.js.map +1 -0
- package/dist/dts/components/DataToolsPanel.js +1 -1
- package/dist/dts/components/DataToolsPanel.js.map +1 -1
- package/dist/dts/core/hatcheryApi.d.ts +20 -20
- package/dist/dts/core/jegGatewayApi.d.ts +8 -8
- package/dist/dts/core/kernelApi.d.ts +12 -12
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceLayout.d.ts.map +1 -1
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceLayout.js +16 -2
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceLayout.js.map +1 -1
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceToolbar.d.ts +2 -1
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceToolbar.d.ts.map +1 -1
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceToolbar.js +10 -5
- package/dist/dts/workspace/WorkspaceLayout/WorkspaceToolbar.js.map +1 -1
- package/dist/index/cjs/index.js +36 -22
- package/dist/index/cjs/index.js.map +1 -1
- package/dist/index/esm/index.js +38 -24
- package/dist/index/esm/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/dts/api/utils.d.ts +0 -2
- package/dist/dts/api/utils.d.ts.map +0 -1
- package/dist/dts/api/utils.js +0 -13
- package/dist/dts/api/utils.js.map +0 -1
|
@@ -43,7 +43,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
43
43
|
isFetching: false;
|
|
44
44
|
isSuccess: false;
|
|
45
45
|
isError: false;
|
|
46
|
-
}, "data" | "
|
|
46
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
47
47
|
isSuccess: true;
|
|
48
48
|
isFetching: true;
|
|
49
49
|
error: undefined;
|
|
@@ -63,7 +63,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
63
63
|
isFetching: false;
|
|
64
64
|
isSuccess: false;
|
|
65
65
|
isError: false;
|
|
66
|
-
}, "data" | "
|
|
66
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
67
67
|
isSuccess: true;
|
|
68
68
|
isFetching: false;
|
|
69
69
|
error: undefined;
|
|
@@ -136,7 +136,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
136
136
|
isFetching: false;
|
|
137
137
|
isSuccess: false;
|
|
138
138
|
isError: false;
|
|
139
|
-
}, "data" | "
|
|
139
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
140
140
|
isSuccess: true;
|
|
141
141
|
isFetching: true;
|
|
142
142
|
error: undefined;
|
|
@@ -156,7 +156,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
156
156
|
isFetching: false;
|
|
157
157
|
isSuccess: false;
|
|
158
158
|
isError: false;
|
|
159
|
-
}, "data" | "
|
|
159
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
160
160
|
isSuccess: true;
|
|
161
161
|
isFetching: false;
|
|
162
162
|
error: undefined;
|
|
@@ -227,7 +227,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
227
227
|
isFetching: false;
|
|
228
228
|
isSuccess: false;
|
|
229
229
|
isError: false;
|
|
230
|
-
}, "data" | "
|
|
230
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
231
231
|
isSuccess: true;
|
|
232
232
|
isFetching: true;
|
|
233
233
|
error: undefined;
|
|
@@ -247,7 +247,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
247
247
|
isFetching: false;
|
|
248
248
|
isSuccess: false;
|
|
249
249
|
isError: false;
|
|
250
|
-
}, "data" | "
|
|
250
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
251
251
|
isSuccess: true;
|
|
252
252
|
isFetching: false;
|
|
253
253
|
error: undefined;
|
|
@@ -320,7 +320,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
320
320
|
isFetching: false;
|
|
321
321
|
isSuccess: false;
|
|
322
322
|
isError: false;
|
|
323
|
-
}, "data" | "
|
|
323
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
324
324
|
isSuccess: true;
|
|
325
325
|
isFetching: true;
|
|
326
326
|
error: undefined;
|
|
@@ -340,7 +340,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
340
340
|
isFetching: false;
|
|
341
341
|
isSuccess: false;
|
|
342
342
|
isError: false;
|
|
343
|
-
}, "data" | "
|
|
343
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
344
344
|
isSuccess: true;
|
|
345
345
|
isFetching: false;
|
|
346
346
|
error: undefined;
|
|
@@ -411,7 +411,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
411
411
|
isFetching: false;
|
|
412
412
|
isSuccess: false;
|
|
413
413
|
isError: false;
|
|
414
|
-
}, "data" | "
|
|
414
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
415
415
|
isSuccess: true;
|
|
416
416
|
isFetching: true;
|
|
417
417
|
error: undefined;
|
|
@@ -431,7 +431,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
431
431
|
isFetching: false;
|
|
432
432
|
isSuccess: false;
|
|
433
433
|
isError: false;
|
|
434
|
-
}, "data" | "
|
|
434
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
435
435
|
isSuccess: true;
|
|
436
436
|
isFetching: false;
|
|
437
437
|
error: undefined;
|
|
@@ -501,7 +501,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
501
501
|
isFetching: false;
|
|
502
502
|
isSuccess: false;
|
|
503
503
|
isError: false;
|
|
504
|
-
}, "data" | "
|
|
504
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
505
505
|
isSuccess: true;
|
|
506
506
|
isFetching: true;
|
|
507
507
|
error: undefined;
|
|
@@ -521,7 +521,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
521
521
|
isFetching: false;
|
|
522
522
|
isSuccess: false;
|
|
523
523
|
isError: false;
|
|
524
|
-
}, "data" | "
|
|
524
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
525
525
|
isSuccess: true;
|
|
526
526
|
isFetching: false;
|
|
527
527
|
error: undefined;
|
|
@@ -594,7 +594,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
594
594
|
isFetching: false;
|
|
595
595
|
isSuccess: false;
|
|
596
596
|
isError: false;
|
|
597
|
-
}, "data" | "
|
|
597
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
598
598
|
isSuccess: true;
|
|
599
599
|
isFetching: true;
|
|
600
600
|
error: undefined;
|
|
@@ -614,7 +614,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
614
614
|
isFetching: false;
|
|
615
615
|
isSuccess: false;
|
|
616
616
|
isError: false;
|
|
617
|
-
}, "data" | "
|
|
617
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
618
618
|
isSuccess: true;
|
|
619
619
|
isFetching: false;
|
|
620
620
|
error: undefined;
|
|
@@ -687,7 +687,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
687
687
|
isFetching: false;
|
|
688
688
|
isSuccess: false;
|
|
689
689
|
isError: false;
|
|
690
|
-
}, "data" | "
|
|
690
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
691
691
|
isSuccess: true;
|
|
692
692
|
isFetching: true;
|
|
693
693
|
error: undefined;
|
|
@@ -707,7 +707,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
707
707
|
isFetching: false;
|
|
708
708
|
isSuccess: false;
|
|
709
709
|
isError: false;
|
|
710
|
-
}, "data" | "
|
|
710
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
711
711
|
isSuccess: true;
|
|
712
712
|
isFetching: false;
|
|
713
713
|
error: undefined;
|
|
@@ -778,7 +778,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
778
778
|
isFetching: false;
|
|
779
779
|
isSuccess: false;
|
|
780
780
|
isError: false;
|
|
781
|
-
}, "data" | "
|
|
781
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
782
782
|
isSuccess: true;
|
|
783
783
|
isFetching: true;
|
|
784
784
|
error: undefined;
|
|
@@ -798,7 +798,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
798
798
|
isFetching: false;
|
|
799
799
|
isSuccess: false;
|
|
800
800
|
isError: false;
|
|
801
|
-
}, "data" | "
|
|
801
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
802
802
|
isSuccess: true;
|
|
803
803
|
isFetching: false;
|
|
804
804
|
error: undefined;
|
|
@@ -868,7 +868,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
868
868
|
isFetching: false;
|
|
869
869
|
isSuccess: false;
|
|
870
870
|
isError: false;
|
|
871
|
-
}, "data" | "
|
|
871
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
872
872
|
isSuccess: true;
|
|
873
873
|
isFetching: true;
|
|
874
874
|
error: undefined;
|
|
@@ -888,7 +888,7 @@ export declare const useDoesHatcheryOptionExistsQuery: <R extends Record<string,
|
|
|
888
888
|
isFetching: false;
|
|
889
889
|
isSuccess: false;
|
|
890
890
|
isError: false;
|
|
891
|
-
}, "data" | "
|
|
891
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
892
892
|
isSuccess: true;
|
|
893
893
|
isFetching: false;
|
|
894
894
|
error: undefined;
|
|
@@ -42,7 +42,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
42
42
|
isFetching: false;
|
|
43
43
|
isSuccess: false;
|
|
44
44
|
isError: false;
|
|
45
|
-
}, "data" | "
|
|
45
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
46
46
|
isSuccess: true;
|
|
47
47
|
isFetching: true;
|
|
48
48
|
error: undefined;
|
|
@@ -62,7 +62,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
62
62
|
isFetching: false;
|
|
63
63
|
isSuccess: false;
|
|
64
64
|
isError: false;
|
|
65
|
-
}, "data" | "
|
|
65
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
66
66
|
isSuccess: true;
|
|
67
67
|
isFetching: false;
|
|
68
68
|
error: undefined;
|
|
@@ -135,7 +135,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
135
135
|
isFetching: false;
|
|
136
136
|
isSuccess: false;
|
|
137
137
|
isError: false;
|
|
138
|
-
}, "data" | "
|
|
138
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
139
139
|
isSuccess: true;
|
|
140
140
|
isFetching: true;
|
|
141
141
|
error: undefined;
|
|
@@ -155,7 +155,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
155
155
|
isFetching: false;
|
|
156
156
|
isSuccess: false;
|
|
157
157
|
isError: false;
|
|
158
|
-
}, "data" | "
|
|
158
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
159
159
|
isSuccess: true;
|
|
160
160
|
isFetching: false;
|
|
161
161
|
error: undefined;
|
|
@@ -546,7 +546,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
546
546
|
isFetching: false;
|
|
547
547
|
isSuccess: false;
|
|
548
548
|
isError: false;
|
|
549
|
-
}, "data" | "
|
|
549
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
550
550
|
isSuccess: true;
|
|
551
551
|
isFetching: true;
|
|
552
552
|
error: undefined;
|
|
@@ -566,7 +566,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
566
566
|
isFetching: false;
|
|
567
567
|
isSuccess: false;
|
|
568
568
|
isError: false;
|
|
569
|
-
}, "data" | "
|
|
569
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
570
570
|
isSuccess: true;
|
|
571
571
|
isFetching: false;
|
|
572
572
|
error: undefined;
|
|
@@ -639,7 +639,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
639
639
|
isFetching: false;
|
|
640
640
|
isSuccess: false;
|
|
641
641
|
isError: false;
|
|
642
|
-
}, "data" | "
|
|
642
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
643
643
|
isSuccess: true;
|
|
644
644
|
isFetching: true;
|
|
645
645
|
error: undefined;
|
|
@@ -659,7 +659,7 @@ export declare const useActiveKernelsQuery: <R extends Record<string, any> = imp
|
|
|
659
659
|
isFetching: false;
|
|
660
660
|
isSuccess: false;
|
|
661
661
|
isError: false;
|
|
662
|
-
}, "data" | "
|
|
662
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
663
663
|
isSuccess: true;
|
|
664
664
|
isFetching: false;
|
|
665
665
|
error: undefined;
|
|
@@ -51,7 +51,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
51
51
|
isFetching: false;
|
|
52
52
|
isSuccess: false;
|
|
53
53
|
isError: false;
|
|
54
|
-
}, "data" | "
|
|
54
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
55
55
|
isSuccess: true;
|
|
56
56
|
isFetching: true;
|
|
57
57
|
error: undefined;
|
|
@@ -71,7 +71,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
71
71
|
isFetching: false;
|
|
72
72
|
isSuccess: false;
|
|
73
73
|
isError: false;
|
|
74
|
-
}, "data" | "
|
|
74
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
75
75
|
isSuccess: true;
|
|
76
76
|
isFetching: false;
|
|
77
77
|
error: undefined;
|
|
@@ -144,7 +144,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
144
144
|
isFetching: false;
|
|
145
145
|
isSuccess: false;
|
|
146
146
|
isError: false;
|
|
147
|
-
}, "data" | "
|
|
147
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
148
148
|
isSuccess: true;
|
|
149
149
|
isFetching: true;
|
|
150
150
|
error: undefined;
|
|
@@ -164,7 +164,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
164
164
|
isFetching: false;
|
|
165
165
|
isSuccess: false;
|
|
166
166
|
isError: false;
|
|
167
|
-
}, "data" | "
|
|
167
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
168
168
|
isSuccess: true;
|
|
169
169
|
isFetching: false;
|
|
170
170
|
error: undefined;
|
|
@@ -235,7 +235,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
235
235
|
isFetching: false;
|
|
236
236
|
isSuccess: false;
|
|
237
237
|
isError: false;
|
|
238
|
-
}, "data" | "
|
|
238
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
239
239
|
isSuccess: true;
|
|
240
240
|
isFetching: true;
|
|
241
241
|
error: undefined;
|
|
@@ -255,7 +255,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
255
255
|
isFetching: false;
|
|
256
256
|
isSuccess: false;
|
|
257
257
|
isError: false;
|
|
258
|
-
}, "data" | "
|
|
258
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
259
259
|
isSuccess: true;
|
|
260
260
|
isFetching: false;
|
|
261
261
|
error: undefined;
|
|
@@ -328,7 +328,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
328
328
|
isFetching: false;
|
|
329
329
|
isSuccess: false;
|
|
330
330
|
isError: false;
|
|
331
|
-
}, "data" | "
|
|
331
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
332
332
|
isSuccess: true;
|
|
333
333
|
isFetching: true;
|
|
334
334
|
error: undefined;
|
|
@@ -348,7 +348,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
348
348
|
isFetching: false;
|
|
349
349
|
isSuccess: false;
|
|
350
350
|
isError: false;
|
|
351
|
-
}, "data" | "
|
|
351
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
352
352
|
isSuccess: true;
|
|
353
353
|
isFetching: false;
|
|
354
354
|
error: undefined;
|
|
@@ -419,7 +419,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
419
419
|
isFetching: false;
|
|
420
420
|
isSuccess: false;
|
|
421
421
|
isError: false;
|
|
422
|
-
}, "data" | "
|
|
422
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
423
423
|
isSuccess: true;
|
|
424
424
|
isFetching: true;
|
|
425
425
|
error: undefined;
|
|
@@ -439,7 +439,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
439
439
|
isFetching: false;
|
|
440
440
|
isSuccess: false;
|
|
441
441
|
isError: false;
|
|
442
|
-
}, "data" | "
|
|
442
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
443
443
|
isSuccess: true;
|
|
444
444
|
isFetching: false;
|
|
445
445
|
error: undefined;
|
|
@@ -512,7 +512,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
512
512
|
isFetching: false;
|
|
513
513
|
isSuccess: false;
|
|
514
514
|
isError: false;
|
|
515
|
-
}, "data" | "
|
|
515
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "isFetching" | "isSuccess"> & {
|
|
516
516
|
isSuccess: true;
|
|
517
517
|
isFetching: true;
|
|
518
518
|
error: undefined;
|
|
@@ -532,7 +532,7 @@ export declare const useKernelsQuery: <R extends Record<string, any> = import("@
|
|
|
532
532
|
isFetching: false;
|
|
533
533
|
isSuccess: false;
|
|
534
534
|
isError: false;
|
|
535
|
-
}, "data" | "
|
|
535
|
+
}, "data" | "fulfilledTimeStamp" | "error" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
536
536
|
isSuccess: true;
|
|
537
537
|
isFetching: false;
|
|
538
538
|
error: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceLayout.d.ts","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceLayout.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"WorkspaceLayout.d.ts","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceLayout.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAapD,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EACxC,MAAM,gBAAgB,CAAC;AAExB,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,iBAAiB,EACb,8BAA8B,GAC9B,uCAAuC,CAAC;CAC7C;AAED,QAAA,MAAM,eAAe,GAAI,kCAGtB,oBAAoB,mDAqDtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect } from 'react';
|
|
2
3
|
import SettingsPanel from '../../workspace/WorkspaceLayout/SettingsPanel';
|
|
3
4
|
import WorkspaceToolbar from './WorkspaceToolbar';
|
|
4
|
-
import { useDisclosure } from '@mantine/hooks';
|
|
5
|
+
import { useDisclosure, useResizeObserver } from '@mantine/hooks';
|
|
5
6
|
import { selectWorkspaceFullscreen, selectWorkspaceTier, useCoreSelector, } from '@gen3/core';
|
|
6
7
|
import ToolsPanel from './ToolsPanel';
|
|
7
8
|
const WorkspaceLayout = ({ children, tierConfiguration, }) => {
|
|
8
9
|
const workspaceTier = useCoreSelector((state) => selectWorkspaceTier(state));
|
|
9
10
|
const [toolsExpanded, { set: setToolsExpanded }] = useDisclosure(true);
|
|
10
11
|
const [settingsExpanded, { set: setSettingsExpanded }] = useDisclosure(true);
|
|
12
|
+
const [toolbarRef, toolbarRect] = useResizeObserver();
|
|
11
13
|
const isFullScreen = useCoreSelector((state) => selectWorkspaceFullscreen(state));
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
if (isFullScreen) {
|
|
16
|
+
setToolsExpanded(false);
|
|
17
|
+
setSettingsExpanded(false);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
setToolsExpanded(true);
|
|
21
|
+
setSettingsExpanded(true);
|
|
22
|
+
}
|
|
23
|
+
}, [isFullScreen, setSettingsExpanded, setToolsExpanded]);
|
|
12
24
|
if (!workspaceTier)
|
|
13
25
|
return null;
|
|
14
|
-
return (_jsxs("div", { className: "flex flex-col w-full grow", children: [_jsx(WorkspaceToolbar, { toolbarConfiguration: tierConfiguration.toolbar }), _jsxs("div", { className: "flex w-full
|
|
26
|
+
return (_jsxs("div", { className: "flex flex-col w-full grow", children: [_jsx(WorkspaceToolbar, { toolbarConfiguration: tierConfiguration.toolbar, ref: toolbarRef }), _jsxs("div", { className: "flex w-full nowrap", style: {
|
|
27
|
+
height: `calc(100% - ${toolbarRect?.height ?? 0}px`,
|
|
28
|
+
}, children: [tierConfiguration.dataAndTools.enabled && (_jsx(ToolsPanel, { expanded: toolsExpanded, setExpanded: setToolsExpanded, width: tierConfiguration.dataAndTools.width })), children, _jsx(SettingsPanel, { showKernels: tierConfiguration.settings.showKernels, expanded: settingsExpanded, setExpanded: setSettingsExpanded, width: tierConfiguration.settings.width })] })] }));
|
|
15
29
|
};
|
|
16
30
|
export default WorkspaceLayout;
|
|
17
31
|
//# sourceMappingURL=WorkspaceLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceLayout.js","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceLayout.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"WorkspaceLayout.js","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceLayout.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAC1E,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAEL,yBAAyB,EACzB,mBAAmB,EACnB,eAAe,GAChB,MAAM,YAAY,CAAC;AAEpB,OAAO,UAAU,MAAM,cAAc,CAAC;AAgBtC,MAAM,eAAe,GAAG,CAAC,EACvB,QAAQ,EACR,iBAAiB,GACI,EAAE,EAAE;IACzB,MAAM,aAAa,GAAG,eAAe,CACnC,CAAC,KAAgB,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAyB,CACzE,CAAC;IACF,MAAM,CAAC,aAAa,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,CAAC,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,CAAC,gBAAgB,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAC7E,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,iBAAiB,EAAkB,CAAC;IAEtE,MAAM,YAAY,GAAG,eAAe,CAAC,CAAC,KAAK,EAAE,EAAE,CAC7C,yBAAyB,CAAC,KAAK,CAAC,CACjC,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,YAAY,EAAE,CAAC;YACjB,gBAAgB,CAAC,KAAK,CAAC,CAAC;YACxB,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,gBAAgB,CAAC,IAAI,CAAC,CAAC;YACvB,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAE1D,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,KAAC,gBAAgB,IACf,oBAAoB,EAAE,iBAAiB,CAAC,OAAO,EAC/C,GAAG,EAAE,UAAU,GACf,EACF,eACE,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE;oBACL,MAAM,EAAE,eAAe,WAAW,EAAE,MAAM,IAAI,CAAC,IAAI;iBACpD,aAEA,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CACzC,KAAC,UAAU,IACT,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAE,iBAAiB,CAAC,YAAY,CAAC,KAAK,GAC3C,CACH,EACA,QAAQ,EACT,KAAC,aAAa,IACZ,WAAW,EAAE,iBAAiB,CAAC,QAAQ,CAAC,WAAW,EACnD,QAAQ,EAAE,gBAAgB,EAC1B,WAAW,EAAE,mBAAmB,EAChC,KAAK,EAAE,iBAAiB,CAAC,QAAQ,CAAC,KAAK,GACvC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TierToolbarConfiguration } from '../tiers/types';
|
|
2
3
|
interface WorkspaceToolbarProps {
|
|
3
4
|
toolbarConfiguration?: TierToolbarConfiguration;
|
|
4
5
|
}
|
|
5
|
-
declare const WorkspaceToolbar:
|
|
6
|
+
declare const WorkspaceToolbar: React.ForwardRefExoticComponent<WorkspaceToolbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
7
|
export default WorkspaceToolbar;
|
|
7
8
|
//# sourceMappingURL=WorkspaceToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceToolbar.d.ts","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceToolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WorkspaceToolbar.d.ts","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAWvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAgB1D,UAAU,qBAAqB;IAC7B,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;CACjD;AAED,QAAA,MAAM,gBAAgB,8FA2JrB,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback } from 'react';
|
|
2
|
+
import { forwardRef, useCallback } from 'react';
|
|
3
3
|
import { ActionIcon, Badge, Button, Group, Stack, Text, Tooltip, } from '@mantine/core';
|
|
4
4
|
import { Icon } from '@iconify-icon/react';
|
|
5
5
|
import { selectJEGActiveWorkspaceStatus, selectWorkspaceFullscreen, selectWorkspaceTier, setWorkspaceFullscreen, setWorkspaceTier, useCoreDispatch, useCoreSelector, WorkspaceStatus, } from '@gen3/core';
|
|
6
6
|
import { useMicroContainerReduxContext } from '../../providers/MicroContainerReduxProvider';
|
|
7
|
-
const WorkspaceToolbar = ({ toolbarConfiguration }) => {
|
|
7
|
+
const WorkspaceToolbar = forwardRef(({ toolbarConfiguration }, ref) => {
|
|
8
8
|
const workspaceTier = useCoreSelector((state) => selectWorkspaceTier(state));
|
|
9
9
|
const workspaceStatus = useCoreSelector((state) => selectJEGActiveWorkspaceStatus(state));
|
|
10
10
|
const isFullscreen = useCoreSelector((state) => selectWorkspaceFullscreen(state));
|
|
@@ -17,15 +17,20 @@ const WorkspaceToolbar = ({ toolbarConfiguration }) => {
|
|
|
17
17
|
coreDispatch(setWorkspaceTier(null));
|
|
18
18
|
};
|
|
19
19
|
const { terminate } = useMicroContainerReduxContext();
|
|
20
|
-
const fullscreenLabel = isFullscreen
|
|
20
|
+
const fullscreenLabel = isFullscreen
|
|
21
|
+
? 'Exit Fullscreen'
|
|
22
|
+
: 'Fullscreen View';
|
|
21
23
|
const statusLabel = workspaceStatus === WorkspaceStatus.NotFound
|
|
22
24
|
? 'Not Running'
|
|
23
25
|
: workspaceStatus;
|
|
24
|
-
return (_jsxs("div", { role: "toolbar", "aria-label": "Workspace toolbar", className: "flex items-center justify-between px-4 border-b-2 border-base-lighter pb-4", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ActionIcon, { variant: "outline", radius: "xl", size: "lg", "aria-label": "Back to workspace list", color: "primary.5", className: "mr-4", onClick: returnToWorkspaceSelection, children: _jsx(Icon, { icon: "gen3:back-arrow", width: "100%", height: "100%", "aria-hidden": "true" }) }), _jsxs(Stack, { gap: "-10px", children: [_jsx(Text, { size: "xl", c: "primary.4", children: toolbarConfiguration?.label }), _jsxs(Group, { children: [_jsx(Text, { size: "sm", children: toolbarConfiguration?.description }), _jsx(Badge, { "aria-label": `Workspace tier: ${workspaceTier}`, children: workspaceTier })] })] })] }), _jsxs("div", { className: "flex items-center gap-4 mr-8", children: [showStatus && (_jsxs(Group, { gap: "xs", role: "status", "aria-label": "Workspace status", children: [_jsx(Text, { size: "md", c: "base-contrast.4", "aria-hidden": "true", children: "Workspace Status:" }), _jsx(Badge, { size: "md", radius: "md", "aria-live": "polite", "aria-atomic": "true", children: statusLabel })] })), showStop && (_jsx(Button, { size: "sm", variant: workspaceStatus !== WorkspaceStatus.Running
|
|
26
|
+
return (_jsxs("div", { ref: ref, role: "toolbar", "aria-label": "Workspace toolbar", className: "flex items-center justify-between px-4 border-b-2 border-base-lighter pb-4", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ActionIcon, { variant: "outline", radius: "xl", size: "lg", "aria-label": "Back to workspace list", color: "primary.5", className: "mr-4", onClick: returnToWorkspaceSelection, children: _jsx(Icon, { icon: "gen3:back-arrow", width: "100%", height: "100%", "aria-hidden": "true" }) }), _jsxs(Stack, { gap: "-10px", children: [_jsx(Text, { size: "xl", c: "primary.4", children: toolbarConfiguration?.label }), _jsxs(Group, { children: [_jsx(Text, { size: "sm", children: toolbarConfiguration?.description }), _jsx(Badge, { "aria-label": `Workspace tier: ${workspaceTier}`, children: workspaceTier })] })] })] }), _jsxs("div", { className: "flex items-center gap-4 mr-8", children: [showStatus && (_jsxs(Group, { gap: "xs", role: "status", "aria-label": "Workspace status", children: [_jsx(Text, { size: "md", c: "base-contrast.4", "aria-hidden": "true", children: "Workspace Status:" }), _jsx(Badge, { size: "md", radius: "md", "aria-live": "polite", "aria-atomic": "true", children: statusLabel })] })), showStop && (_jsx(Button, { size: "sm", variant: workspaceStatus !== WorkspaceStatus.Running
|
|
27
|
+
? 'outline'
|
|
28
|
+
: 'filled', "aria-label": "Stop workspace", "aria-disabled": workspaceStatus !== WorkspaceStatus.Running, color: workspaceStatus !== WorkspaceStatus.Running
|
|
25
29
|
? 'primary.5'
|
|
26
30
|
: 'utility.4', onClick: terminate, disabled: workspaceStatus !== WorkspaceStatus.Running, leftSection: _jsx(Icon, { icon: "gen3:dot", width: 36, height: 36, "aria-hidden": "true", className: workspaceStatus !== WorkspaceStatus.Running
|
|
27
31
|
? 'text-primary-contrast'
|
|
28
32
|
: 'text-utility-success' }), children: "Stop Workspace" })), _jsx(Tooltip, { label: fullscreenLabel, children: _jsx(Button, { size: "sm", variant: "outline", "aria-label": fullscreenLabel, "aria-pressed": isFullscreen, color: "primary.5", onClick: toggleFullscreen, leftSection: isFullscreen ? (_jsx(Icon, { icon: "gen3:fullscreen-exit", width: 24, height: 24, "aria-hidden": "true" })) : (_jsx(Icon, { icon: "gen3:fullscreen", width: 24, height: 24, "aria-hidden": "true" })), children: fullscreenLabel }) })] })] }));
|
|
29
|
-
};
|
|
33
|
+
});
|
|
34
|
+
WorkspaceToolbar.displayName = 'WorkspaceToolbar';
|
|
30
35
|
export default WorkspaceToolbar;
|
|
31
36
|
//# sourceMappingURL=WorkspaceToolbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceToolbar.js","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceToolbar.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkspaceToolbar.js","sourceRoot":"","sources":["../../../../src/workspace/WorkspaceLayout/WorkspaceToolbar.tsx"],"names":[],"mappings":"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"}
|
package/dist/index/cjs/index.js
CHANGED
|
@@ -2231,7 +2231,7 @@ const SettingsPanel = ({ showKernels, expanded, setExpanded, width = 380 })=>{
|
|
|
2231
2231
|
});
|
|
2232
2232
|
};
|
|
2233
2233
|
|
|
2234
|
-
const WorkspaceToolbar = ({ toolbarConfiguration })=>{
|
|
2234
|
+
const WorkspaceToolbar = /*#__PURE__*/ React.forwardRef(({ toolbarConfiguration }, ref)=>{
|
|
2235
2235
|
const workspaceTier = core$1.useCoreSelector((state)=>core$1.selectWorkspaceTier(state));
|
|
2236
2236
|
const workspaceStatus = core$1.useCoreSelector((state)=>core$1.selectJEGActiveWorkspaceStatus(state));
|
|
2237
2237
|
const isFullscreen = core$1.useCoreSelector((state)=>core$1.selectWorkspaceFullscreen(state));
|
|
@@ -2250,6 +2250,7 @@ const WorkspaceToolbar = ({ toolbarConfiguration })=>{
|
|
|
2250
2250
|
const fullscreenLabel = isFullscreen ? 'Exit Fullscreen' : 'Fullscreen View';
|
|
2251
2251
|
const statusLabel = workspaceStatus === core$1.WorkspaceStatus.NotFound ? 'Not Running' : workspaceStatus;
|
|
2252
2252
|
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
2253
|
+
ref: ref,
|
|
2253
2254
|
role: "toolbar",
|
|
2254
2255
|
"aria-label": "Workspace toolbar",
|
|
2255
2256
|
className: "flex items-center justify-between px-4 border-b-2 border-base-lighter pb-4",
|
|
@@ -2363,7 +2364,8 @@ const WorkspaceToolbar = ({ toolbarConfiguration })=>{
|
|
|
2363
2364
|
})
|
|
2364
2365
|
]
|
|
2365
2366
|
});
|
|
2366
|
-
};
|
|
2367
|
+
});
|
|
2368
|
+
WorkspaceToolbar.displayName = 'WorkspaceToolbar';
|
|
2367
2369
|
|
|
2368
2370
|
// Streaming LLM client — OpenAI, Anthropic, Gemini, Ollama
|
|
2369
2371
|
// All requests go directly from the browser to provider APIs (no backend proxy).
|
|
@@ -3555,7 +3557,7 @@ const CompactDictionaryPanel = ({ schemaUrl = '_dictionary/_all' })=>{
|
|
|
3555
3557
|
}
|
|
3556
3558
|
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
3557
3559
|
ref: ref,
|
|
3558
|
-
className: "relative flex
|
|
3560
|
+
className: "relative flex flex-col gap-2 bg-base-lightest p-2 h-full",
|
|
3559
3561
|
children: [
|
|
3560
3562
|
/*#__PURE__*/ jsxRuntime.jsx(core.LoadingOverlay, {
|
|
3561
3563
|
visible: isFetching
|
|
@@ -3575,7 +3577,7 @@ const CompactDictionaryPanel = ({ schemaUrl = '_dictionary/_all' })=>{
|
|
|
3575
3577
|
]
|
|
3576
3578
|
}),
|
|
3577
3579
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
3578
|
-
className: "flex
|
|
3580
|
+
className: "flex h-full flex-1 flex-col gap-0.5 overflow-y-auto",
|
|
3579
3581
|
children: filtered.map((node)=>{
|
|
3580
3582
|
const isExpanded = expandedId === node.id;
|
|
3581
3583
|
const propCount = Object.keys(node.properties).length;
|
|
@@ -3613,18 +3615,12 @@ const CompactDictionaryPanel = ({ schemaUrl = '_dictionary/_all' })=>{
|
|
|
3613
3615
|
})
|
|
3614
3616
|
]
|
|
3615
3617
|
}),
|
|
3616
|
-
isNarrow && /*#__PURE__*/ jsxRuntime.
|
|
3618
|
+
isNarrow && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
3617
3619
|
className: "flex w-full items-center justify-between pl-5 pt-0.5",
|
|
3618
|
-
children:
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
}),
|
|
3623
|
-
/*#__PURE__*/ jsxRuntime.jsx(FieldLinkCountBadge, {
|
|
3624
|
-
fieldsCount: propCount,
|
|
3625
|
-
linksCount: linkCount
|
|
3626
|
-
})
|
|
3627
|
-
]
|
|
3620
|
+
children: node.category && /*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
3621
|
+
className: "truncate text-xs text-base-darker",
|
|
3622
|
+
children: node.category
|
|
3623
|
+
})
|
|
3628
3624
|
})
|
|
3629
3625
|
]
|
|
3630
3626
|
}),
|
|
@@ -3755,12 +3751,12 @@ const TABS = [
|
|
|
3755
3751
|
];
|
|
3756
3752
|
const DataToolsPanel = ({ schemaUrl = DEFAULT_DICTIONARY_SCHEMA_URL, kbUrl })=>{
|
|
3757
3753
|
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
3758
|
-
className: "flex
|
|
3754
|
+
className: "flex flex-col h-full",
|
|
3759
3755
|
children: /*#__PURE__*/ jsxRuntime.jsxs(core.Tabs, {
|
|
3760
3756
|
defaultValue: "dictionary",
|
|
3761
3757
|
variant: "outline",
|
|
3762
3758
|
classNames: {
|
|
3763
|
-
root: 'p-2'
|
|
3759
|
+
root: 'flex flex-col p-2'
|
|
3764
3760
|
},
|
|
3765
3761
|
keepMounted: true,
|
|
3766
3762
|
children: [
|
|
@@ -3773,7 +3769,7 @@ const DataToolsPanel = ({ schemaUrl = DEFAULT_DICTIONARY_SCHEMA_URL, kbUrl })=>{
|
|
|
3773
3769
|
}, tab.id))
|
|
3774
3770
|
}),
|
|
3775
3771
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
3776
|
-
className: "min-h-0
|
|
3772
|
+
className: "flex-1 min-h-0 h-full pt-4",
|
|
3777
3773
|
children: /*#__PURE__*/ jsxRuntime.jsxs(frontend.PanelErrorBoundary, {
|
|
3778
3774
|
children: [
|
|
3779
3775
|
/*#__PURE__*/ jsxRuntime.jsx(core.Tabs.Panel, {
|
|
@@ -3811,26 +3807,44 @@ const WorkspaceLayout = ({ children, tierConfiguration })=>{
|
|
|
3811
3807
|
const workspaceTier = core$1.useCoreSelector((state)=>core$1.selectWorkspaceTier(state));
|
|
3812
3808
|
const [toolsExpanded, { set: setToolsExpanded }] = hooks.useDisclosure(true);
|
|
3813
3809
|
const [settingsExpanded, { set: setSettingsExpanded }] = hooks.useDisclosure(true);
|
|
3810
|
+
const [toolbarRef, toolbarRect] = hooks.useResizeObserver();
|
|
3814
3811
|
const isFullScreen = core$1.useCoreSelector((state)=>core$1.selectWorkspaceFullscreen(state));
|
|
3812
|
+
React.useEffect(()=>{
|
|
3813
|
+
if (isFullScreen) {
|
|
3814
|
+
setToolsExpanded(false);
|
|
3815
|
+
setSettingsExpanded(false);
|
|
3816
|
+
} else {
|
|
3817
|
+
setToolsExpanded(true);
|
|
3818
|
+
setSettingsExpanded(true);
|
|
3819
|
+
}
|
|
3820
|
+
}, [
|
|
3821
|
+
isFullScreen,
|
|
3822
|
+
setSettingsExpanded,
|
|
3823
|
+
setToolsExpanded
|
|
3824
|
+
]);
|
|
3815
3825
|
if (!workspaceTier) return null;
|
|
3816
3826
|
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
3817
3827
|
className: "flex flex-col w-full grow",
|
|
3818
3828
|
children: [
|
|
3819
3829
|
/*#__PURE__*/ jsxRuntime.jsx(WorkspaceToolbar, {
|
|
3820
|
-
toolbarConfiguration: tierConfiguration.toolbar
|
|
3830
|
+
toolbarConfiguration: tierConfiguration.toolbar,
|
|
3831
|
+
ref: toolbarRef
|
|
3821
3832
|
}),
|
|
3822
3833
|
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
3823
|
-
className: "flex w-full
|
|
3834
|
+
className: "flex w-full nowrap",
|
|
3835
|
+
style: {
|
|
3836
|
+
height: `calc(100% - ${toolbarRect?.height ?? 0}px`
|
|
3837
|
+
},
|
|
3824
3838
|
children: [
|
|
3825
3839
|
tierConfiguration.dataAndTools.enabled && /*#__PURE__*/ jsxRuntime.jsx(ToolsPanel, {
|
|
3826
|
-
expanded: toolsExpanded
|
|
3840
|
+
expanded: toolsExpanded,
|
|
3827
3841
|
setExpanded: setToolsExpanded,
|
|
3828
3842
|
width: tierConfiguration.dataAndTools.width
|
|
3829
3843
|
}),
|
|
3830
3844
|
children,
|
|
3831
3845
|
/*#__PURE__*/ jsxRuntime.jsx(SettingsPanel, {
|
|
3832
3846
|
showKernels: tierConfiguration.settings.showKernels,
|
|
3833
|
-
expanded: settingsExpanded
|
|
3847
|
+
expanded: settingsExpanded,
|
|
3834
3848
|
setExpanded: setSettingsExpanded,
|
|
3835
3849
|
width: tierConfiguration.settings.width
|
|
3836
3850
|
})
|