ui.shipaid.com 0.3.114 → 0.3.115

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/widget.es.js CHANGED
@@ -4040,8 +4040,8 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
4040
4040
  <p class="prompt-product-actions-price">
4041
4041
  ${((_f = this._protectionVariant) == null ? void 0 : _f.price) && this._currencyFormat(this._protectionVariant.price)}
4042
4042
  </p>
4043
- ${!leftCheckbox && n(
4044
- !this.disableActions,
4043
+ ${n(
4044
+ !(this.disableActions || leftCheckbox),
4045
4045
  () => x`
4046
4046
  <label
4047
4047
  class="shipaid-${useToggle ? "toggle" : "checkbox"} ${isGreenProtectionEnabled ? "green" : ""}"
@@ -1136,7 +1136,7 @@ function Te(e,t,o){return e?t():null==o?void 0:o()}const He=ie`
1136
1136
  <p class="prompt-product-actions-price">
1137
1137
  ${(null==(r=this._protectionVariant)?void 0:r.price)&&this._currencyFormat(this._protectionVariant.price)}
1138
1138
  </p>
1139
- ${!l&&Te(!this.disableActions,(()=>y`
1139
+ ${Te(!(this.disableActions||l),(()=>y`
1140
1140
  <label
1141
1141
  class="shipaid-${s?"toggle":"checkbox"} ${d?"green":""}"
1142
1142
  >
@@ -1136,7 +1136,7 @@ function Te(e,t,o){return e?t():null==o?void 0:o()}const He=ie`
1136
1136
  <p class="prompt-product-actions-price">
1137
1137
  ${(null==(r=this._protectionVariant)?void 0:r.price)&&this._currencyFormat(this._protectionVariant.price)}
1138
1138
  </p>
1139
- ${!l&&Te(!this.disableActions,(()=>y`
1139
+ ${Te(!(this.disableActions||l),(()=>y`
1140
1140
  <label
1141
1141
  class="shipaid-${s?"toggle":"checkbox"} ${d?"green":""}"
1142
1142
  >
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui.shipaid.com",
3
3
  "private": false,
4
- "version": "0.3.114",
4
+ "version": "0.3.115",
5
5
  "type": "module",
6
6
  "main": "dist/widget.umd.js",
7
7
  "unpkg": "dist/widget.iife.js",