@openremote/or-map 1.12.0-snapshot.20251212152633 → 1.12.0-snapshot.20251215083628
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 +13 -12
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +13 -12
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.orbundle.js +14 -13
- package/dist/umd/index.orbundle.js.map +1 -1
- package/lib/controls/center.d.ts +1 -0
- package/lib/controls/center.d.ts.map +1 -0
- package/lib/controls/coordinates.d.ts +1 -0
- package/lib/controls/coordinates.d.ts.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/mapwidget.d.ts +1 -0
- package/lib/mapwidget.d.ts.map +1 -0
- package/lib/markers/or-cluster-marker.d.ts +1 -0
- package/lib/markers/or-cluster-marker.d.ts.map +1 -0
- package/lib/markers/or-map-marker-asset.d.ts +1 -0
- package/lib/markers/or-map-marker-asset.d.ts.map +1 -0
- package/lib/markers/or-map-marker.d.ts +1 -0
- package/lib/markers/or-map-marker.d.ts.map +1 -0
- package/lib/or-map-asset-card.d.ts +1 -0
- package/lib/or-map-asset-card.d.ts.map +1 -0
- package/lib/or-map-legend.d.ts +1 -0
- package/lib/or-map-legend.d.ts.map +1 -0
- package/lib/style.d.ts +1 -0
- package/lib/style.d.ts.map +1 -0
- package/lib/util/index.d.ts +1 -0
- package/lib/util/index.d.ts.map +1 -0
- package/lib/util/mapbox-url.d.ts +1 -0
- package/lib/util/mapbox-url.d.ts.map +1 -0
- package/package.json +6 -6
package/dist/umd/index.bundle.js
CHANGED
|
@@ -593,6 +593,9 @@ ${l.shaderPreludeCode.vertexSource}`,define:l.shaderDefine},defaultProjectionDat
|
|
|
593
593
|
display: flex;
|
|
594
594
|
flex-direction: column;
|
|
595
595
|
}
|
|
596
|
+
.mdc-form-field:has(> .mdc-radio) {
|
|
597
|
+
height: 56px !important;
|
|
598
|
+
}
|
|
596
599
|
.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {
|
|
597
600
|
color: var(--mdc-theme-error, #b00020)
|
|
598
601
|
}
|
|
@@ -712,30 +715,28 @@ ${l.shaderPreludeCode.vertexSource}`,define:l.shaderDefine},defaultProjectionDat
|
|
|
712
715
|
.mdc-list-item__graphic > or-icon {
|
|
713
716
|
pointer-events: none;
|
|
714
717
|
}
|
|
715
|
-
`,nY=class extends eC{constructor(){super(...arguments),this.readonly=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.multiple=!1,this.searchLabel="search",this.compact=!1,this.comfortable=!1,this.raised=!1,this.action=!1,this.unElevated=!1,this.outlined=!1,this.rounded=!1,this.disableSliderNumberInput=!1,this.fullWidth=!1,this.helperPersistent=!1,this.autoValidate=!1,this.charCounter=!1,this.disabled=!1,this.continuous=!1,this.resizeVertical=!1,this.censored=!1,this.advertised=!1,this._selectedIndex=-1,this.isUiValid=!0}static get styles(){return[T`${w(nR)}`,T`${w(nz)}`,T`${w(nL)}`,T`${w(nD)}`,T`${w(nO)}`,T`${w(nF)}`,T`${w(nB)}`,T`${w(nN)}`,T`${w(nV)}`,T`${w(nU)}`,T`${w(nj)}`,T`${w(n$)}`,T`${w(nG)}`,T`${w(nH)}`,T`${w(nq)}`,T`${w(nZ)}`,nW]}get nativeValue(){if(this._mdcComponent)return this._mdcComponent.value}disconnectedCallback(){var t,i;super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0,null==(t=this._menuObserver)||t.disconnect()),this._mdcComponent2&&(this._mdcComponent2.destroy(),this._mdcComponent2=void 0,null==(i=this._menuObserver)||i.disconnect())}shouldUpdate(t){return t.has("indeterminate")&&this._mdcComponent&&this.type===p.CHECKBOX&&(this._mdcComponent.indeterminate=this.indeterminate),t.has("disabled")&&(this._mdcComponent&&(this._mdcComponent.disabled=this.disabled),this.type===p.RANGE&&this._mdcComponent2&&(this._mdcComponent2.disabled=this.disabled)),t.has("readonly")&&(this._mdcComponent&&(this._mdcComponent.readonly=this.readonly),this.type===p.RANGE&&this._mdcComponent2&&(this._mdcComponent2.readonly=this.readonly)),!this.type&&this.value&&(this.value instanceof Date?this.type=p.DATETIME:"boolean"==typeof this.value?this.type=p.CHECKBOX:"number"==typeof this.value?this.type=p.NUMBER:"string"==typeof this.value?this.type=p.TEXT:this.type=p.JSON),!0}focus(){this.type===p.RANGE&&this._mdcComponent2&&"function"==typeof this._mdcComponent2.focus?this._mdcComponent2.focus():this._mdcComponent&&"function"==typeof this._mdcComponent.focus&&this._mdcComponent.focus()}render(){if(this.type){let o=!this.fullWidth&&this.label,s=!this.fullWidth&&this.outlined,l=!!this.helperText,c=!this.isUiValid&&(!!this.errorMessage||!!this.validationMessage),d={"mdc-text-field-helper-text--persistent":!c&&this.helperPersistent,"mdc-text-field-helper-text--validation-msg":c},u=null!==this.value&&void 0!==this.value||!1===this.value,m=o?es`<span class="mdc-floating-label ${u?"mdc-floating-label--float-above":""}" id="label">${this.label}</span>`:void 0;switch(this.type){case p.RADIO:let g=this.resolveOptions(this.options);return
|
|
718
|
+
`,nY=class extends eC{constructor(){super(...arguments),this.readonly=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.multiple=!1,this.searchLabel="search",this.compact=!1,this.comfortable=!1,this.raised=!1,this.action=!1,this.unElevated=!1,this.outlined=!1,this.rounded=!1,this.disableSliderNumberInput=!1,this.fullWidth=!1,this.helperPersistent=!1,this.autoValidate=!1,this.charCounter=!1,this.disabled=!1,this.continuous=!1,this.resizeVertical=!1,this.censored=!1,this.advertised=!1,this._selectedIndex=-1,this.isUiValid=!0}static get styles(){return[T`${w(nR)}`,T`${w(nz)}`,T`${w(nL)}`,T`${w(nD)}`,T`${w(nO)}`,T`${w(nF)}`,T`${w(nB)}`,T`${w(nN)}`,T`${w(nV)}`,T`${w(nU)}`,T`${w(nj)}`,T`${w(n$)}`,T`${w(nG)}`,T`${w(nH)}`,T`${w(nq)}`,T`${w(nZ)}`,nW]}get nativeValue(){if(this._mdcComponent)return this._mdcComponent.value}disconnectedCallback(){var t,i;super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0,null==(t=this._menuObserver)||t.disconnect()),this._mdcComponent2&&(this._mdcComponent2.destroy(),this._mdcComponent2=void 0,null==(i=this._menuObserver)||i.disconnect())}shouldUpdate(t){return t.has("indeterminate")&&this._mdcComponent&&this.type===p.CHECKBOX&&(this._mdcComponent.indeterminate=this.indeterminate),t.has("disabled")&&(this._mdcComponent&&(this._mdcComponent.disabled=this.disabled),this.type===p.RANGE&&this._mdcComponent2&&(this._mdcComponent2.disabled=this.disabled)),t.has("readonly")&&(this._mdcComponent&&(this._mdcComponent.readonly=this.readonly),this.type===p.RANGE&&this._mdcComponent2&&(this._mdcComponent2.readonly=this.readonly)),!this.type&&this.value&&(this.value instanceof Date?this.type=p.DATETIME:"boolean"==typeof this.value?this.type=p.CHECKBOX:"number"==typeof this.value?this.type=p.NUMBER:"string"==typeof this.value?this.type=p.TEXT:this.type=p.JSON),!0}focus(){this.type===p.RANGE&&this._mdcComponent2&&"function"==typeof this._mdcComponent2.focus?this._mdcComponent2.focus():this._mdcComponent&&"function"==typeof this._mdcComponent.focus&&this._mdcComponent.focus()}render(){if(this.type){let o=!this.fullWidth&&this.label,s=!this.fullWidth&&this.outlined,l=!!this.helperText,c=!this.isUiValid&&(!!this.errorMessage||!!this.validationMessage),d={"mdc-text-field-helper-text--persistent":!c&&this.helperPersistent,"mdc-text-field-helper-text--validation-msg":c},u=null!==this.value&&void 0!==this.value||!1===this.value,m=o?es`<span class="mdc-floating-label ${u?"mdc-floating-label--float-above":""}" id="label">${this.label}</span>`:void 0;switch(this.type){case p.RADIO:let g=this.resolveOptions(this.options);return es`
|
|
716
719
|
<div class="mdc-radio-container">
|
|
717
|
-
${g?g.map(([t,i]
|
|
720
|
+
${g?g.map(([t,i])=>es`
|
|
718
721
|
<div id="field" class="mdc-form-field">
|
|
719
722
|
<div class="mdc-radio">
|
|
720
|
-
<input type="radio"
|
|
723
|
+
<input type="radio"
|
|
721
724
|
id="elem-${t}"
|
|
722
725
|
name="${this.name??ed}"
|
|
723
726
|
value="${t}"
|
|
724
|
-
|
|
727
|
+
.checked="${this.value===t}"
|
|
725
728
|
?required="${this.required}"
|
|
726
|
-
?disabled="${this.disabled||this.readonly}"
|
|
729
|
+
?disabled="${this.disabled||this.readonly}"
|
|
727
730
|
@change="${i=>this.onValueChange(i.target,t)}"
|
|
728
731
|
class="mdc-radio__native-control"/>
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
732
|
+
<div class="mdc-radio__background">
|
|
733
|
+
<div class="mdc-radio__outer-circle"></div>
|
|
734
|
+
<div class="mdc-radio__inner-circle"></div>
|
|
735
|
+
</div>
|
|
733
736
|
<div class="mdc-radio__ripple"></div>
|
|
734
737
|
</div>
|
|
735
738
|
<label for="elem-${t}"><or-translate value="${i}"></or-translate></label>
|
|
736
|
-
</div
|
|
737
|
-
|
|
738
|
-
`)):""}
|
|
739
|
+
</div>`):""}
|
|
739
740
|
</div>
|
|
740
741
|
`;case p.SWITCH:let _={"mdc-switch--disabled":this.disabled||this.readonly,"mdc-switch--full-width":this.fullWidth,"mdc-switch--checked":this.value};return es`
|
|
741
742
|
<span id="wrapper">
|