@openremote/or-log-viewer 1.2.1 → 1.2.3-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/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.orbundle.js +85 -85
- package/package.json +4 -4
package/dist/umd/index.bundle.js
CHANGED
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
${this.icon?W`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
369
369
|
${this.iconOn?W`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
370
370
|
</button>
|
|
371
|
-
`;case ir.BUTTON:case ir.BUTTON_MOMENTARY:{const e=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new nr(!0,null))},t=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new nr(!1,!0))},n=e=>{this.disabled&&e.stopPropagation(),i||this.dispatchEvent(new nr(!0,null))},i=this.type===ir.BUTTON_MOMENTARY,a=!this.action&&!this.label;
|
|
371
|
+
`;case ir.BUTTON:case ir.BUTTON_MOMENTARY:{const e=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new nr(!0,null))},t=e=>{this.disabled&&e.stopPropagation(),i&&this.dispatchEvent(new nr(!1,!0))},n=e=>{this.disabled&&e.stopPropagation(),i||this.dispatchEvent(new nr(!0,null))},i=this.type===ir.BUTTON_MOMENTARY,a=!this.action&&!this.label;!a||this.iconTrailing||this.icon||(this.icon="circle");const r={"mdc-icon-button":a,"mdc-fab":!a&&this.action,"mdc-fab--extended":!a&&this.action&&!!this.label,"mdc-fab--mini":!a&&this.action&&(this.compact||this.comfortable),"mdc-button":!a&&!this.action,"mdc-button--raised":!a&&!this.action&&this.raised,"mdc-button--unelevated":!a&&!this.action&&this.unElevated,"mdc-button--outlined":!a&&!this.action&&(this.outlined||i),"mdc-button--rounded":!a&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return W`
|
|
372
372
|
<button id="component" class="${Ft(r)}"
|
|
373
373
|
?readonly="${this.readonly}"
|
|
374
374
|
?disabled="${this.disabled}"
|
package/dist/umd/index.js
CHANGED
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
${this.icon?B`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
369
369
|
${this.iconOn?B`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
370
370
|
</button>
|
|
371
|
-
`;case ia.BUTTON:case ia.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new na(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new na(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new na(!0,null))},i=this.type===ia.BUTTON_MOMENTARY,r=!this.action&&!this.label;
|
|
371
|
+
`;case ia.BUTTON:case ia.BUTTON_MOMENTARY:{const t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new na(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new na(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new na(!0,null))},i=this.type===ia.BUTTON_MOMENTARY,r=!this.action&&!this.label;!r||this.iconTrailing||this.icon||(this.icon="circle");const 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||i),"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return B`
|
|
372
372
|
<button id="component" class="${Ve(a)}"
|
|
373
373
|
?readonly="${this.readonly}"
|
|
374
374
|
?disabled="${this.disabled}"
|