Changes for tabs visibility and priority

- Added `objectStyles: {}` to initialize functions for multiple objects:
  - Condition Widget
  - Gauge
  - LAD Table
This commit is contained in:
Charles Hacskaylo
2025-01-17 12:47:13 -08:00
parent 3527e4e4a1
commit 087fbd3326
3 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,9 @@ export default function plugin() {
cssClass: 'icon-tabular-lad', cssClass: 'icon-tabular-lad',
initialize(domainObject) { initialize(domainObject) {
domainObject.composition = []; domainObject.composition = [];
domainObject.configuration = {
objectStyles: {}
};
} }
}); });

View File

@ -34,7 +34,9 @@ export default function plugin() {
creatable: true, creatable: true,
cssClass: 'icon-condition-widget', cssClass: 'icon-condition-widget',
initialize(domainObject) { initialize(domainObject) {
domainObject.configuration = {}; domainObject.configuration = {
objectStyles: {}
};
domainObject.label = 'Condition Widget'; domainObject.label = 'Condition Widget';
domainObject.conditionalLabel = ''; domainObject.conditionalLabel = '';
domainObject.url = ''; domainObject.url = '';

View File

@ -59,7 +59,8 @@ export default function () {
max: 100, max: 100,
min: 0, min: 0,
precision: 2 precision: 2
} },
objectStyles: {}
}; };
}, },
form: [ form: [