@openremote/or-map 1.3.0-snapshot.20250124120257 → 1.3.0-snapshot.20250128141336

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.
@@ -666,7 +666,7 @@
666
666
  ${this.icon?rt`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
667
667
  ${this.iconOn?rt`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
668
668
  </button>
669
- `;case Fr.BUTTON:case Fr.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Br(!0,null))},i=this.type===Fr.BUTTON_MOMENTARY,r=!this.action&&!this.label;let o={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&this.outlined,"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
669
+ `;case Fr.BUTTON:case Fr.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Br(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Br(!0,null))},i=this.type===Fr.BUTTON_MOMENTARY,r=!this.action&&!this.label;!r||this.iconTrailing||this.icon||(this.icon="circle");const o={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&(this.outlined||i),"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
670
670
  <button id="component" class="${ye(o)}"
671
671
  ?readonly="${this.readonly}"
672
672
  ?disabled="${this.disabled}"
package/dist/umd/index.js CHANGED
@@ -666,7 +666,7 @@
666
666
  ${this.icon?rt`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
667
667
  ${this.iconOn?rt`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
668
668
  </button>
669
- `;case Br.BUTTON:case Br.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Pr(!0,null))},i=this.type===Br.BUTTON_MOMENTARY,r=!this.action&&!this.label;let o={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&this.outlined,"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
669
+ `;case Br.BUTTON:case Br.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new Pr(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new Pr(!0,null))},i=this.type===Br.BUTTON_MOMENTARY,r=!this.action&&!this.label;!r||this.iconTrailing||this.icon||(this.icon="circle");const o={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&(this.outlined||i),"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return rt`
670
670
  <button id="component" class="${xe(o)}"
671
671
  ?readonly="${this.readonly}"
672
672
  ?disabled="${this.disabled}"