@openremote/or-chart 1.2.0-snapshot.20241002120954 → 1.2.0-snapshot.20241015145246

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.
@@ -366,7 +366,7 @@
366
366
  ${this.icon?W`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
367
367
  ${this.iconOn?W`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
368
368
  </button>
369
- `;case _a.BUTTON:case _a.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new fa(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i?this.dispatchEvent(new fa(!1,!0)):this.dispatchEvent(new fa(!0,null))},n=t=>{this.disabled&&t.stopPropagation()},i=this.type===_a.BUTTON_MOMENTARY,r=!this.action&&!this.label;let a={"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 W`
369
+ `;case _a.BUTTON:case _a.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new fa(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new fa(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new fa(!0,null))},i=this.type===_a.BUTTON_MOMENTARY,r=!this.action&&!this.label;let a={"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 W`
370
370
  <button id="component" class="${Ze(a)}"
371
371
  ?readonly="${this.readonly}"
372
372
  ?disabled="${this.disabled}"
package/dist/umd/index.js CHANGED
@@ -366,7 +366,7 @@
366
366
  ${this.icon?B`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
367
367
  ${this.iconOn?B`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
368
368
  </button>
369
- `;case bo.BUTTON:case bo.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new go(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i?this.dispatchEvent(new go(!1,!0)):this.dispatchEvent(new go(!0,null))},n=t=>{this.disabled&&t.stopPropagation()},i=this.type===bo.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 B`
369
+ `;case bo.BUTTON:case bo.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new go(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new go(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new go(!0,null))},i=this.type===bo.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 B`
370
370
  <button id="component" class="${Ze(o)}"
371
371
  ?readonly="${this.readonly}"
372
372
  ?disabled="${this.disabled}"