shop-components 0.1.54 → 0.1.56
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/shop-components.mjs +23 -25
- package/dist/shop-components.umd.js +23 -25
- package/package.json +1 -1
package/dist/shop-components.mjs
CHANGED
|
@@ -57314,13 +57314,12 @@ let qt = class extends Yr {
|
|
|
57314
57314
|
<img alt="" src="${rj}">
|
|
57315
57315
|
<div class="name">
|
|
57316
57316
|
<div class="name-wrapper">${(n = this.slot) == null ? void 0 : n.name}</div>
|
|
57317
|
-
|
|
57318
|
-
|
|
57319
|
-
|
|
57320
|
-
|
|
57321
|
-
|
|
57322
|
-
|
|
57323
|
-
</div>
|
|
57317
|
+
<div class="functions-wrapper">
|
|
57318
|
+
<div class="device-name ${!this.deviceName && "empty"}">
|
|
57319
|
+
<span>${this.deviceName}</span>
|
|
57320
|
+
<i class="btn btn-close" @click=${this.removeDevice}></i>
|
|
57321
|
+
</div>
|
|
57322
|
+
${this.allFunctions.length ? Zi`
|
|
57324
57323
|
<div class="functions">
|
|
57325
57324
|
${this.functions.map((A) => Zi`
|
|
57326
57325
|
<div class="function"><span>${A}</span><i class="btn btn-remove"
|
|
@@ -57334,27 +57333,26 @@ let qt = class extends Yr {
|
|
|
57334
57333
|
this._showDialog = !this._showDialog;
|
|
57335
57334
|
}}>+添加
|
|
57336
57335
|
</div>`}
|
|
57337
|
-
|
|
57338
57336
|
</div>
|
|
57339
|
-
|
|
57340
|
-
|
|
57341
|
-
|
|
57342
|
-
|
|
57337
|
+
` : Zi``}
|
|
57338
|
+
|
|
57339
|
+
${this.hasMoreFunctions && this.allFunctions.length ? Zi`
|
|
57340
|
+
<div class="all-functions ${this._showDialog && "show"}">
|
|
57341
|
+
<label>添加功能
|
|
57342
|
+
<i class="btn btn-close" @click=${() => {
|
|
57343
57343
|
this._showDialog = !1;
|
|
57344
57344
|
}}></i>
|
|
57345
|
-
|
|
57346
|
-
|
|
57347
|
-
|
|
57348
|
-
|
|
57349
|
-
|
|
57350
|
-
|
|
57351
|
-
|
|
57352
|
-
|
|
57353
|
-
|
|
57354
|
-
|
|
57355
|
-
|
|
57356
|
-
` : Zi``}
|
|
57357
|
-
|
|
57345
|
+
</label>
|
|
57346
|
+
<div class="functions">
|
|
57347
|
+
${this.allFunctions.map((A) => this.functions.includes(A) ? Zi`` : Zi`
|
|
57348
|
+
<div class="function">
|
|
57349
|
+
<span>${A}</span>
|
|
57350
|
+
<i class="btn btn-add" @click=${() => this.addFunction(A)}>+</i>
|
|
57351
|
+
</div>
|
|
57352
|
+
`)}
|
|
57353
|
+
</div>
|
|
57354
|
+
</div>` : Zi``}
|
|
57355
|
+
</div>
|
|
57358
57356
|
</div>
|
|
57359
57357
|
</div>
|
|
57360
57358
|
</div>
|
|
@@ -9527,13 +9527,12 @@ void main(void)\r
|
|
|
9527
9527
|
<img alt="" src="${fk}">
|
|
9528
9528
|
<div class="name">
|
|
9529
9529
|
<div class="name-wrapper">${(n=this.slot)==null?void 0:n.name}</div>
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
</div>
|
|
9530
|
+
<div class="functions-wrapper">
|
|
9531
|
+
<div class="device-name ${!this.deviceName&&"empty"}">
|
|
9532
|
+
<span>${this.deviceName}</span>
|
|
9533
|
+
<i class="btn btn-close" @click=${this.removeDevice}></i>
|
|
9534
|
+
</div>
|
|
9535
|
+
${this.allFunctions.length?An`
|
|
9537
9536
|
<div class="functions">
|
|
9538
9537
|
${this.functions.map(A=>An`
|
|
9539
9538
|
<div class="function"><span>${A}</span><i class="btn btn-remove"
|
|
@@ -9543,25 +9542,24 @@ void main(void)\r
|
|
|
9543
9542
|
${An`
|
|
9544
9543
|
<div class="btn btn-add ${!this.hasMoreFunctions&&"btn-not-allowed"}" @click=${()=>{this._showDialog=!this._showDialog}}>+添加
|
|
9545
9544
|
</div>`}
|
|
9546
|
-
|
|
9547
9545
|
</div>
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9546
|
+
`:An``}
|
|
9547
|
+
|
|
9548
|
+
${this.hasMoreFunctions&&this.allFunctions.length?An`
|
|
9549
|
+
<div class="all-functions ${this._showDialog&&"show"}">
|
|
9550
|
+
<label>添加功能
|
|
9551
|
+
<i class="btn btn-close" @click=${()=>{this._showDialog=!1}}></i>
|
|
9552
|
+
</label>
|
|
9553
|
+
<div class="functions">
|
|
9554
|
+
${this.allFunctions.map(A=>this.functions.includes(A)?An``:An`
|
|
9555
|
+
<div class="function">
|
|
9556
|
+
<span>${A}</span>
|
|
9557
|
+
<i class="btn btn-add" @click=${()=>this.addFunction(A)}>+</i>
|
|
9558
|
+
</div>
|
|
9559
|
+
`)}
|
|
9560
|
+
</div>
|
|
9561
|
+
</div>`:An``}
|
|
9562
|
+
</div>
|
|
9565
9563
|
</div>
|
|
9566
9564
|
</div>
|
|
9567
9565
|
</div>
|