@openmrs/esm-globals 8.0.1-pre.3485 → 8.0.1-pre.3498
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/.turbo/turbo-build.log +1 -1
- package/dist/types.d.ts +11 -3
- package/package.json +1 -1
- package/src/types.ts +12 -3
package/.turbo/turbo-build.log
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -298,13 +298,21 @@ export interface WorkspaceGroupDefinition2 {
|
|
|
298
298
|
name: string;
|
|
299
299
|
closeable?: boolean;
|
|
300
300
|
overlay?: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* In app-wide persistence mode, a workspace group renders its
|
|
303
|
+
* action menu without a close button. This is for
|
|
304
|
+
* workspace groups that are meant to be opened for the entire duration of the app
|
|
305
|
+
*
|
|
306
|
+
* In closable persistence mode, a workspace group renders its
|
|
307
|
+
* action menu with a close button. User may explicitly close the group, along
|
|
308
|
+
* with any opened windows / workspaces.
|
|
309
|
+
*/
|
|
310
|
+
persistence?: 'app-wide' | 'closable';
|
|
301
311
|
}
|
|
302
312
|
export interface WorkspaceWindowDefinition2 {
|
|
303
313
|
name: string;
|
|
304
314
|
icon?: string;
|
|
305
|
-
|
|
306
|
-
canMaximize: boolean;
|
|
307
|
-
overlay: boolean;
|
|
315
|
+
canMaximize?: boolean;
|
|
308
316
|
group: string;
|
|
309
317
|
order?: number;
|
|
310
318
|
width?: 'narrow' | 'wider' | 'extra-wide';
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -318,14 +318,23 @@ export interface WorkspaceGroupDefinition2 {
|
|
|
318
318
|
name: string;
|
|
319
319
|
closeable?: boolean;
|
|
320
320
|
overlay?: boolean;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* In app-wide persistence mode, a workspace group renders its
|
|
324
|
+
* action menu without a close button. This is for
|
|
325
|
+
* workspace groups that are meant to be opened for the entire duration of the app
|
|
326
|
+
*
|
|
327
|
+
* In closable persistence mode, a workspace group renders its
|
|
328
|
+
* action menu with a close button. User may explicitly close the group, along
|
|
329
|
+
* with any opened windows / workspaces.
|
|
330
|
+
*/
|
|
331
|
+
persistence?: 'app-wide' | 'closable';
|
|
321
332
|
}
|
|
322
333
|
|
|
323
334
|
export interface WorkspaceWindowDefinition2 {
|
|
324
335
|
name: string;
|
|
325
336
|
icon?: string;
|
|
326
|
-
|
|
327
|
-
canMaximize: boolean;
|
|
328
|
-
overlay: boolean;
|
|
337
|
+
canMaximize?: boolean;
|
|
329
338
|
group: string;
|
|
330
339
|
order?: number;
|
|
331
340
|
width?: 'narrow' | 'wider' | 'extra-wide';
|