q2-tecton-platform 1.10.8 → 1.10.9
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.
|
@@ -5,7 +5,7 @@ import MessageBus from '../utility/message-bus';
|
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
export interface IOverpanelOptions {
|
|
7
7
|
fullWidth?: boolean;
|
|
8
|
-
size?:
|
|
8
|
+
size?: string | undefined;
|
|
9
9
|
height?: string;
|
|
10
10
|
}
|
|
11
11
|
export interface IOverpanelMessageParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showOverpanelSetup.d.ts","sourceRoot":"","sources":["../../../src/actions/showOverpanelSetup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,MAAM,WAAW,iBAAiB;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"showOverpanelSetup.d.ts","sourceRoot":"","sources":["../../../src/actions/showOverpanelSetup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,MAAM,WAAW,iBAAiB;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACtC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACnD,gBAAgB,EAAE,uBAAuB,EACzC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,EACzB,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,QAiF5B"}
|
|
@@ -49,13 +49,9 @@ export default function showOverpanelSetup(messageBus, tectonConfig$, legacyCont
|
|
|
49
49
|
const legacyOverpanelName = featureConfig.legacy
|
|
50
50
|
? featureConfig.legacyOverpanelName
|
|
51
51
|
: undefined;
|
|
52
|
-
const size = (
|
|
52
|
+
const size = (_a = messageBody.options) === null || _a === void 0 ? void 0 : _a.size;
|
|
53
53
|
const height = (_b = messageBody.options) === null || _b === void 0 ? void 0 : _b.height;
|
|
54
|
-
|
|
55
|
-
// default fullWidth is true for large/medium/small sized
|
|
56
|
-
if (size !== 'full' && fullWidth !== false) {
|
|
57
|
-
fullWidth = true;
|
|
58
|
-
}
|
|
54
|
+
const fullWidth = (_c = messageBody.options) === null || _c === void 0 ? void 0 : _c.fullWidth;
|
|
59
55
|
return legacyControlBus.showOverpanel(overpanelId, !!fullWidth, legacyOverpanelName, size, height);
|
|
60
56
|
});
|
|
61
57
|
teardowns.push(() => subscription.unsubscribe());
|