@startinblox/components-ds4go 3.2.0 → 3.2.1
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/dist/index.js +23 -25
- package/package.json +1 -1
- package/src/components/modal/ds4go-fact-bundle-modal.ts +36 -35
package/dist/index.js
CHANGED
|
@@ -4819,33 +4819,31 @@ let X = class extends T {
|
|
|
4819
4819
|
</div>
|
|
4820
4820
|
</div></tems-division
|
|
4821
4821
|
>
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
${this.contracts && this.contracts.length > 0 ? p`${this.contracts.map(
|
|
4822
|
+
${this.contracts && this.contracts.length > 0 || this.negotiations && this.negotiations.length > 0 ? p`<tems-button
|
|
4823
|
+
@click=${this._toggleTechnicalInfo}
|
|
4824
|
+
type="outline-gray"
|
|
4825
|
+
label=${this.showTechnicalInfo ? l("Hide Technical Informations") : l("Show Technical Informations")}
|
|
4826
|
+
></tems-button>
|
|
4827
|
+
${this.showTechnicalInfo ? p`<tems-division type="h4"
|
|
4828
|
+
>${l("Technical informations")}</tems-division
|
|
4829
|
+
>
|
|
4830
|
+
${this.contracts && this.contracts.length > 0 ? p`${this.contracts.map(
|
|
4832
4831
|
(t) => p`<ds4go-contract-modal-part
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4832
|
+
.contract=${t}
|
|
4833
|
+
.assets=${this.assets}
|
|
4834
|
+
.policies=${this.policies}
|
|
4835
|
+
></ds4go-contract-modal-part>`
|
|
4837
4836
|
)}` : d}
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
></ds4go-negotiations-modal-part>` : d}
|
|
4837
|
+
${this.negotiations && this.negotiations.length > 0 ? p`<ds4go-negotiations-modal-part
|
|
4838
|
+
.negotiations=${this.negotiations}
|
|
4839
|
+
.assets=${this.assets}
|
|
4840
|
+
.type=${"PROVIDER"}
|
|
4841
|
+
></ds4go-negotiations-modal-part>
|
|
4842
|
+
<ds4go-negotiations-modal-part
|
|
4843
|
+
.negotiations=${this.negotiations}
|
|
4844
|
+
.assets=${this.assets}
|
|
4845
|
+
.type=${"CONSUMER"}
|
|
4846
|
+
></ds4go-negotiations-modal-part>` : d}` : d}` : d}
|
|
4849
4847
|
</div>
|
|
4850
4848
|
</div>
|
|
4851
4849
|
</div>
|
package/package.json
CHANGED
|
@@ -188,41 +188,42 @@ export class Ds4goFactBundleModal extends OrbitComponent {
|
|
|
188
188
|
</div>
|
|
189
189
|
</div></tems-division
|
|
190
190
|
>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
191
|
+
${(this.contracts && this.contracts.length > 0) ||
|
|
192
|
+
(this.negotiations && this.negotiations.length > 0)
|
|
193
|
+
? html`<tems-button
|
|
194
|
+
@click=${this._toggleTechnicalInfo}
|
|
195
|
+
type="outline-gray"
|
|
196
|
+
label=${this.showTechnicalInfo
|
|
197
|
+
? msg("Hide Technical Informations")
|
|
198
|
+
: msg("Show Technical Informations")}
|
|
199
|
+
></tems-button>
|
|
200
|
+
${this.showTechnicalInfo
|
|
201
|
+
? html`<tems-division type="h4"
|
|
202
|
+
>${msg("Technical informations")}</tems-division
|
|
203
|
+
>
|
|
204
|
+
${this.contracts && this.contracts.length > 0
|
|
205
|
+
? html`${this.contracts.map(
|
|
206
|
+
(contract: ContractDefinition) =>
|
|
207
|
+
html`<ds4go-contract-modal-part
|
|
208
|
+
.contract=${contract}
|
|
209
|
+
.assets=${this.assets}
|
|
210
|
+
.policies=${this.policies}
|
|
211
|
+
></ds4go-contract-modal-part>`,
|
|
212
|
+
)}`
|
|
213
|
+
: nothing}
|
|
214
|
+
${this.negotiations && this.negotiations.length > 0
|
|
215
|
+
? html`<ds4go-negotiations-modal-part
|
|
216
|
+
.negotiations=${this.negotiations}
|
|
217
|
+
.assets=${this.assets}
|
|
218
|
+
.type=${"PROVIDER"}
|
|
219
|
+
></ds4go-negotiations-modal-part>
|
|
220
|
+
<ds4go-negotiations-modal-part
|
|
221
|
+
.negotiations=${this.negotiations}
|
|
222
|
+
.assets=${this.assets}
|
|
223
|
+
.type=${"CONSUMER"}
|
|
224
|
+
></ds4go-negotiations-modal-part>`
|
|
225
|
+
: nothing}`
|
|
226
|
+
: nothing}`
|
|
226
227
|
: nothing}
|
|
227
228
|
</div>
|
|
228
229
|
</div>
|