From 087fbd3326e404d5470bdb3e02743897c5efe65e Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Fri, 17 Jan 2025 12:47:13 -0800 Subject: [PATCH] Changes for tabs visibility and priority - Added `objectStyles: {}` to initialize functions for multiple objects: - Condition Widget - Gauge - LAD Table --- src/plugins/LADTable/plugin.js | 3 +++ src/plugins/conditionWidget/plugin.js | 4 +++- src/plugins/gauge/GaugePlugin.js | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/plugins/LADTable/plugin.js b/src/plugins/LADTable/plugin.js index 8df5c07ae4f..a3456872a6d 100644 --- a/src/plugins/LADTable/plugin.js +++ b/src/plugins/LADTable/plugin.js @@ -39,6 +39,9 @@ export default function plugin() { cssClass: 'icon-tabular-lad', initialize(domainObject) { domainObject.composition = []; + domainObject.configuration = { + objectStyles: {} + }; } }); diff --git a/src/plugins/conditionWidget/plugin.js b/src/plugins/conditionWidget/plugin.js index 0a22610f2b6..182c8243a34 100644 --- a/src/plugins/conditionWidget/plugin.js +++ b/src/plugins/conditionWidget/plugin.js @@ -34,7 +34,9 @@ export default function plugin() { creatable: true, cssClass: 'icon-condition-widget', initialize(domainObject) { - domainObject.configuration = {}; + domainObject.configuration = { + objectStyles: {} + }; domainObject.label = 'Condition Widget'; domainObject.conditionalLabel = ''; domainObject.url = ''; diff --git a/src/plugins/gauge/GaugePlugin.js b/src/plugins/gauge/GaugePlugin.js index 23fab150038..3b2ebeeef29 100644 --- a/src/plugins/gauge/GaugePlugin.js +++ b/src/plugins/gauge/GaugePlugin.js @@ -59,7 +59,8 @@ export default function () { max: 100, min: 0, precision: 2 - } + }, + objectStyles: {} }; }, form: [