@gravitee/ui-components 3.28.7-debug-mode-add-menu-80a0f3c → 3.28.7-debug-mode-add-menu-77fc93f
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/package.json
CHANGED
|
@@ -786,7 +786,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
_renderFlowEmptyState(readonlyMode) {
|
|
789
|
-
return html
|
|
789
|
+
return html `<div slot="content" class="empty">
|
|
790
790
|
<div>
|
|
791
791
|
Select a flow
|
|
792
792
|
${readonlyMode !== true
|
|
@@ -800,7 +800,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
800
800
|
if (flow) {
|
|
801
801
|
const { plan } = this._findFlowCollection(flow._id);
|
|
802
802
|
const selectedStepId = this._currentFlowStep ? this._currentFlowStep.step._id : null;
|
|
803
|
-
return html
|
|
803
|
+
return html `<gv-flow
|
|
804
804
|
style="height: 100%"
|
|
805
805
|
.id="${flow._id}"
|
|
806
806
|
.flow="${flow}"
|
|
@@ -845,7 +845,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
845
845
|
}
|
|
846
846
|
_renderPolicy(readonlyMode) {
|
|
847
847
|
if (this._flowStepSchema && this.documentation) {
|
|
848
|
-
return html
|
|
848
|
+
return html `<gv-resizable-views direction="horizontal" no-overflow>
|
|
849
849
|
<div slot="top">${this._renderFlowStepForm(readonlyMode)}</div>
|
|
850
850
|
<div slot="bottom">
|
|
851
851
|
<gv-documentation
|
|
@@ -858,7 +858,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
858
858
|
</gv-resizable-views>`;
|
|
859
859
|
}
|
|
860
860
|
else if (this.documentation) {
|
|
861
|
-
return html
|
|
861
|
+
return html `<gv-documentation
|
|
862
862
|
.text="${this.documentation.content}"
|
|
863
863
|
.image="${this.documentation.image}"
|
|
864
864
|
?disabled="${this._currentAskConfirmation}"
|
|
@@ -950,7 +950,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
950
950
|
},
|
|
951
951
|
];
|
|
952
952
|
return html `${cache(this._flowStepSchema && this._currentFlowStep
|
|
953
|
-
? html
|
|
953
|
+
? html `<div class="flow-step__container">
|
|
954
954
|
<div class="flow-step__form">
|
|
955
955
|
<gv-schema-form
|
|
956
956
|
.id="${FLOW_STEP_FORM_ID}"
|
|
@@ -1341,7 +1341,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
}
|
|
1343
1343
|
_renderContent(readonlyMode) {
|
|
1344
|
-
return html
|
|
1344
|
+
return html `<div id="design" slot="content" class="design">
|
|
1345
1345
|
<gv-resizable-views no-overflow>
|
|
1346
1346
|
<div slot="top">${this._renderFlow(0, true, readonlyMode)}</div>
|
|
1347
1347
|
|
|
@@ -1350,7 +1350,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1350
1350
|
</div>
|
|
1351
1351
|
</gv-resizable-views>
|
|
1352
1352
|
${readonlyMode !== true
|
|
1353
|
-
? html
|
|
1353
|
+
? html `<gv-policy-studio-menu
|
|
1354
1354
|
class="right-menu"
|
|
1355
1355
|
?disabled="${this._currentAskConfirmation}"
|
|
1356
1356
|
.policies="${this._getFilteredPolicies()}"
|
|
@@ -1364,7 +1364,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1364
1364
|
>
|
|
1365
1365
|
<div slot="header" class="search-policies">
|
|
1366
1366
|
${this._policyFilterOptions != null
|
|
1367
|
-
? html
|
|
1367
|
+
? html `<gv-option
|
|
1368
1368
|
?disabled="${this._currentAskConfirmation}"
|
|
1369
1369
|
.options="${this._policyFilterOptions}"
|
|
1370
1370
|
multiple
|
|
@@ -1393,7 +1393,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1393
1393
|
const flow = this.getSelectedFlow();
|
|
1394
1394
|
if (flow) {
|
|
1395
1395
|
const values = deepClone(flow);
|
|
1396
|
-
return html
|
|
1396
|
+
return html `<div slot="content" class="flow-settings">
|
|
1397
1397
|
<gv-schema-form
|
|
1398
1398
|
.schema="${this.flowSchema}"
|
|
1399
1399
|
id="settings-form"
|
|
@@ -1412,7 +1412,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
render() {
|
|
1414
1414
|
const readonlyMode = this._getReadonlyModeForDesign();
|
|
1415
|
-
return html
|
|
1415
|
+
return html `<div class="box">
|
|
1416
1416
|
<gv-policy-studio-menu
|
|
1417
1417
|
class="left-menu"
|
|
1418
1418
|
.api-name="${this._definition.name}"
|
|
@@ -1436,7 +1436,7 @@ export class GvDesign extends KeyboardElement(LitElement) {
|
|
|
1436
1436
|
>
|
|
1437
1437
|
<div slot="header" class="header-actions">
|
|
1438
1438
|
${this._flowFilterOptions != null
|
|
1439
|
-
? html
|
|
1439
|
+
? html `<gv-option
|
|
1440
1440
|
?disabled="${this._currentAskConfirmation}"
|
|
1441
1441
|
.options="${this._flowFilterOptions}"
|
|
1442
1442
|
multiple
|