@openremote/or-components 1.9.0-snapshot.20250919113633 → 1.9.0-snapshot.20250922141329
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/custom-elements.json +225 -0
- package/lib/or-iframe.d.ts +51 -0
- package/lib/or-iframe.js +52 -0
- package/lib/or-iframe.js.map +1 -0
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -543,6 +543,231 @@
|
|
|
543
543
|
}
|
|
544
544
|
]
|
|
545
545
|
},
|
|
546
|
+
{
|
|
547
|
+
"kind": "javascript-module",
|
|
548
|
+
"path": "src/or-iframe.ts",
|
|
549
|
+
"declarations": [
|
|
550
|
+
{
|
|
551
|
+
"kind": "class",
|
|
552
|
+
"description": "Model for the IFRAME-EVENT that OrIframe can dispatch.\nFired when the iframe loading state changes.",
|
|
553
|
+
"name": "OrIFrameEvent",
|
|
554
|
+
"members": [
|
|
555
|
+
{
|
|
556
|
+
"kind": "field",
|
|
557
|
+
"name": "NAME",
|
|
558
|
+
"type": {
|
|
559
|
+
"text": "string"
|
|
560
|
+
},
|
|
561
|
+
"privacy": "public",
|
|
562
|
+
"static": true,
|
|
563
|
+
"readonly": true,
|
|
564
|
+
"default": "\"or-iframe-event\""
|
|
565
|
+
}
|
|
566
|
+
],
|
|
567
|
+
"superclass": {
|
|
568
|
+
"name": "CustomEvent",
|
|
569
|
+
"module": "src/or-iframe.ts"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"kind": "class",
|
|
574
|
+
"description": "",
|
|
575
|
+
"name": "OrIframe",
|
|
576
|
+
"members": [
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "src",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "string | undefined"
|
|
582
|
+
},
|
|
583
|
+
"privacy": "public",
|
|
584
|
+
"attribute": "src"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"kind": "field",
|
|
588
|
+
"name": "timeout",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "number"
|
|
591
|
+
},
|
|
592
|
+
"privacy": "public",
|
|
593
|
+
"default": "10000",
|
|
594
|
+
"attribute": "timeout"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "loading",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "boolean"
|
|
601
|
+
},
|
|
602
|
+
"privacy": "protected",
|
|
603
|
+
"default": "true"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"kind": "field",
|
|
607
|
+
"name": "error",
|
|
608
|
+
"type": {
|
|
609
|
+
"text": "boolean"
|
|
610
|
+
},
|
|
611
|
+
"privacy": "protected",
|
|
612
|
+
"default": "false"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"kind": "field",
|
|
616
|
+
"name": "preventCache",
|
|
617
|
+
"type": {
|
|
618
|
+
"text": "boolean"
|
|
619
|
+
},
|
|
620
|
+
"privacy": "public",
|
|
621
|
+
"default": "true",
|
|
622
|
+
"attribute": "preventCache"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "field",
|
|
626
|
+
"name": "timeoutId",
|
|
627
|
+
"type": {
|
|
628
|
+
"text": "number | undefined"
|
|
629
|
+
},
|
|
630
|
+
"privacy": "protected"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "method",
|
|
634
|
+
"name": "_clearTimeout",
|
|
635
|
+
"privacy": "protected",
|
|
636
|
+
"return": {
|
|
637
|
+
"type": {
|
|
638
|
+
"text": "void"
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"kind": "method",
|
|
644
|
+
"name": "_startTimeout",
|
|
645
|
+
"privacy": "protected",
|
|
646
|
+
"return": {
|
|
647
|
+
"type": {
|
|
648
|
+
"text": "void"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "method",
|
|
654
|
+
"name": "_resetState",
|
|
655
|
+
"privacy": "protected",
|
|
656
|
+
"return": {
|
|
657
|
+
"type": {
|
|
658
|
+
"text": "void"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"kind": "field",
|
|
664
|
+
"name": "_handleLoadEvent",
|
|
665
|
+
"privacy": "protected",
|
|
666
|
+
"readonly": true
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"kind": "field",
|
|
670
|
+
"name": "_handleErrorEvent",
|
|
671
|
+
"privacy": "protected",
|
|
672
|
+
"readonly": true
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "field",
|
|
676
|
+
"name": "_handleIframeEvent",
|
|
677
|
+
"privacy": "protected",
|
|
678
|
+
"readonly": true
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "method",
|
|
682
|
+
"name": "getSrc",
|
|
683
|
+
"privacy": "public",
|
|
684
|
+
"return": {
|
|
685
|
+
"type": {
|
|
686
|
+
"text": "string"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"kind": "method",
|
|
692
|
+
"name": "reload",
|
|
693
|
+
"privacy": "public",
|
|
694
|
+
"return": {
|
|
695
|
+
"type": {
|
|
696
|
+
"text": "void"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"description": "Reload the iframe content by clearing and resetting the src"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"events": [
|
|
703
|
+
{
|
|
704
|
+
"type": {
|
|
705
|
+
"text": "OrIFrameEvent"
|
|
706
|
+
},
|
|
707
|
+
"description": "Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error.",
|
|
708
|
+
"name": "or-iframe-event"
|
|
709
|
+
}
|
|
710
|
+
],
|
|
711
|
+
"attributes": [
|
|
712
|
+
{
|
|
713
|
+
"name": "src",
|
|
714
|
+
"type": {
|
|
715
|
+
"text": "string | undefined"
|
|
716
|
+
},
|
|
717
|
+
"fieldName": "src"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "timeout",
|
|
721
|
+
"type": {
|
|
722
|
+
"text": "number"
|
|
723
|
+
},
|
|
724
|
+
"default": "10000",
|
|
725
|
+
"fieldName": "timeout"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "preventCache",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "boolean"
|
|
731
|
+
},
|
|
732
|
+
"default": "true",
|
|
733
|
+
"fieldName": "preventCache"
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"superclass": {
|
|
737
|
+
"name": "LitElement",
|
|
738
|
+
"package": "lit"
|
|
739
|
+
},
|
|
740
|
+
"tagName": "or-iframe",
|
|
741
|
+
"customElement": true
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"exports": [
|
|
745
|
+
{
|
|
746
|
+
"kind": "js",
|
|
747
|
+
"name": "OrIFrameEvent",
|
|
748
|
+
"declaration": {
|
|
749
|
+
"name": "OrIFrameEvent",
|
|
750
|
+
"module": "src/or-iframe.ts"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"kind": "js",
|
|
755
|
+
"name": "OrIframe",
|
|
756
|
+
"declaration": {
|
|
757
|
+
"name": "OrIframe",
|
|
758
|
+
"module": "src/or-iframe.ts"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"kind": "custom-element-definition",
|
|
763
|
+
"name": "or-iframe",
|
|
764
|
+
"declaration": {
|
|
765
|
+
"name": "OrIframe",
|
|
766
|
+
"module": "src/or-iframe.ts"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
},
|
|
546
771
|
{
|
|
547
772
|
"kind": "javascript-module",
|
|
548
773
|
"path": "src/or-loading-indicator.ts",
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from "lit";
|
|
2
|
+
import "./or-loading-indicator";
|
|
3
|
+
import "@openremote/or-icon";
|
|
4
|
+
export declare enum OrIFrameEventType {
|
|
5
|
+
LOADED = "or-iframe-loaded",
|
|
6
|
+
ERROR = "or-iframe-error",
|
|
7
|
+
TIMEOUT = "or-iframe-timeout"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Event detail for or-iframe-event
|
|
11
|
+
*/
|
|
12
|
+
export interface OrIFrameEventDetail {
|
|
13
|
+
type: OrIFrameEventType;
|
|
14
|
+
src?: string;
|
|
15
|
+
error?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Model for the IFRAME-EVENT that {@link OrIframe} can dispatch.
|
|
19
|
+
* Fired when the iframe loading state changes.
|
|
20
|
+
*/
|
|
21
|
+
export declare class OrIFrameEvent extends CustomEvent<OrIFrameEventDetail> {
|
|
22
|
+
static readonly NAME = "or-iframe-event";
|
|
23
|
+
constructor(detail: OrIFrameEventDetail);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @event {OrIFrameEvent} or-iframe-event - Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error.
|
|
27
|
+
*/
|
|
28
|
+
export declare class OrIframe extends LitElement {
|
|
29
|
+
static get styles(): import("lit").CSSResult[];
|
|
30
|
+
src?: string;
|
|
31
|
+
timeout: number;
|
|
32
|
+
protected loading: boolean;
|
|
33
|
+
protected error: boolean;
|
|
34
|
+
preventCache: boolean;
|
|
35
|
+
protected timeoutId?: number;
|
|
36
|
+
protected _clearTimeout(): void;
|
|
37
|
+
protected _startTimeout(): void;
|
|
38
|
+
protected _resetState(): void;
|
|
39
|
+
connectedCallback(): void;
|
|
40
|
+
willUpdate(changedProperties: PropertyValues): void;
|
|
41
|
+
protected readonly _handleLoadEvent: (event: Event) => void;
|
|
42
|
+
protected readonly _handleErrorEvent: (event: Event) => void;
|
|
43
|
+
protected readonly _handleIframeEvent: (type: OrIFrameEventType, event: Event) => void;
|
|
44
|
+
disconnectedCallback(): void;
|
|
45
|
+
getSrc(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Reload the iframe content by clearing and resetting the src
|
|
48
|
+
*/
|
|
49
|
+
reload(): void;
|
|
50
|
+
render(): import("lit").TemplateResult<1>;
|
|
51
|
+
}
|
package/lib/or-iframe.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var __decorate=this&&this.__decorate||function(e,r,t,o){var i,a=arguments.length,s=a<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,r,t,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(s=(a<3?i(s):a>3?i(r,t,s):i(r,t))||s);return a>3&&s&&Object.defineProperty(r,t,s),s};import{css as e,html as r,LitElement as t}from"lit";import{customElement as o,property as i,state as a}from"lit/decorators.js";import"./or-loading-indicator";import"@openremote/or-icon";export var OrIFrameEventType;!function(e){e.LOADED="or-iframe-loaded",e.ERROR="or-iframe-error",e.TIMEOUT="or-iframe-timeout"}(OrIFrameEventType||(OrIFrameEventType={}));export class OrIFrameEvent extends CustomEvent{constructor(e){super(OrIFrameEvent.NAME,{bubbles:!0,composed:!0,detail:e})}}OrIFrameEvent.NAME="or-iframe-event";let style=e`
|
|
2
|
+
:host {
|
|
3
|
+
display: block;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.wrapper {
|
|
9
|
+
position: relative;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
iframe {
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
border: none;
|
|
18
|
+
display: block;
|
|
19
|
+
opacity: 0;
|
|
20
|
+
transition: opacity 0.3s ease;
|
|
21
|
+
overflow-y: auto;
|
|
22
|
+
overflow-x: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
iframe.loaded {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.error {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
height: 100%;
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
gap: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
`,OrIframe=class extends t{constructor(){super(...arguments),this.timeout=1e4,this.loading=!0,this.error=!1,this.preventCache=!0,this._handleLoadEvent=e=>{this._handleIframeEvent(OrIFrameEventType.LOADED,e)},this._handleErrorEvent=e=>{this._handleIframeEvent(OrIFrameEventType.ERROR,e)},this._handleIframeEvent=(e,r)=>{this._clearTimeout();let t={type:e,src:this.src,error:e===OrIFrameEventType.ERROR||e===OrIFrameEventType.TIMEOUT?e===OrIFrameEventType.TIMEOUT?"Timeout loading iframe":"Error loading iframe":void 0};switch(this.dispatchEvent(new OrIFrameEvent(t)),e){case OrIFrameEventType.LOADED:this.error=!1,this.loading=!1;break;case OrIFrameEventType.ERROR:this.error=!0,this.loading=!1,console.error(`Error event loading iframe for src: ${this.src}`,r);break;case OrIFrameEventType.TIMEOUT:this.error=!0,this.loading=!1,console.error(`Timeout event loading iframe for src: ${this.src}`,r)}}}static get styles(){return[style]}_clearTimeout(){this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=void 0)}_startTimeout(){this._clearTimeout(),this.timeoutId=window.setTimeout(()=>{console.warn(`Iframe load timeout after ${this.timeout}ms for src: ${this.src}`),this._handleIframeEvent(OrIFrameEventType.TIMEOUT,new Event("timeout"))},this.timeout)}_resetState(){this.loading=!0,this.error=!1,this._startTimeout()}connectedCallback(){super.connectedCallback(),this._resetState()}willUpdate(e){e.has("src")&&this._resetState()}disconnectedCallback(){this._clearTimeout()}getSrc(){if(this.preventCache&&this.src){let e=new URL(this.src);return e.searchParams.set("t",Date.now().toString()),e.toString()}return this.src||""}reload(){var e;if(!this.src)return void console.warn("Cannot reload iframe: no src specified");this._resetState();let r=null==(e=this.shadowRoot)?void 0:e.querySelector("iframe");if(r){let e=this.getSrc();r.src="",requestAnimationFrame(()=>{r.src=e})}}render(){return r`
|
|
38
|
+
<div class="wrapper">
|
|
39
|
+
${this.loading?r`<or-loading-indicator></or-loading-indicator>`:r``}
|
|
40
|
+
${this.error?r`<div class="error">
|
|
41
|
+
<or-icon icon="alert-octagon"></or-icon>
|
|
42
|
+
<slot name="onerror">Failed to load iframe</slot>
|
|
43
|
+
</div>`:r``}
|
|
44
|
+
<iframe
|
|
45
|
+
@load=${this._handleLoadEvent}
|
|
46
|
+
@error=${this._handleErrorEvent}
|
|
47
|
+
id="or-iframe"
|
|
48
|
+
src="${this.getSrc()}"
|
|
49
|
+
class="${!this.loading?"loaded":""}"
|
|
50
|
+
></iframe>
|
|
51
|
+
</div>
|
|
52
|
+
`}};__decorate([i({type:String})],OrIframe.prototype,"src",void 0),__decorate([i({type:Number})],OrIframe.prototype,"timeout",void 0),__decorate([a()],OrIframe.prototype,"loading",void 0),__decorate([a()],OrIframe.prototype,"error",void 0),__decorate([i({type:Boolean})],OrIframe.prototype,"preventCache",void 0),OrIframe=__decorate([o("or-iframe")],OrIframe);export{OrIframe};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"or-iframe.js","sourceRoot":"","sources":["../src/or-iframe.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,wBAAwB,CAAC;AAChC,OAAO,qBAAqB,CAAC;AAE7B,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB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remote/or-components",
|
|
3
|
-
"version": "1.9.0-snapshot.
|
|
3
|
+
"version": "1.9.0-snapshot.20250922141329",
|
|
4
4
|
"description": "OpenRemote basic UI components",
|
|
5
5
|
"customElements": "custom-elements.json",
|
|
6
6
|
"main": "dist/umd/index.bundle.js",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"license": "AGPL-3.0-or-later",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@material/elevation": "^9.0.0",
|
|
29
|
-
"@openremote/core": "1.9.0-snapshot.
|
|
30
|
-
"@openremote/or-mwc-components": "1.9.0-snapshot.
|
|
29
|
+
"@openremote/core": "1.9.0-snapshot.20250922141329",
|
|
30
|
+
"@openremote/or-mwc-components": "1.9.0-snapshot.20250922141329",
|
|
31
31
|
"ace-builds": "^1.41.0",
|
|
32
32
|
"lit": "^3.3.1",
|
|
33
33
|
"simplebar": "^5.3.6"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@openremote/util": "1.9.0-snapshot.
|
|
36
|
+
"@openremote/util": "1.9.0-snapshot.20250922141329"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|