@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
2 lines (1 loc) • 1.26 kB
JavaScript
import{m as o}from"./chunk-LE3CSG7S.js";import{a as r,e,f as s,o as l}from"./chunk-VNJCZCB4.js";import"./chunk-L67DAW3A.js";var p=function(){function t(n){r(this,n),this.options=[]}return t.prototype.onSelect=function(n){var i=this.options.find(function(a){return a.value===n.target.value});i&&o(i.handler)},t.prototype.render=function(){return e(s,{class:l(this)},e("ion-list",null,this.header!==void 0&&e("ion-list-header",null,this.header),(this.subHeader!==void 0||this.message!==void 0)&&e("ion-item",null,e("ion-label",{class:"ion-text-wrap"},this.subHeader!==void 0&&e("h3",null,this.subHeader),this.message!==void 0&&e("p",null,this.message))),e("ion-radio-group",null,this.options.map(function(n){return e("ion-item",null,e("ion-label",null,n.text),e("ion-radio",{checked:n.checked,value:n.value,disabled:n.disabled}))}))))},Object.defineProperty(t,"style",{get:function(){return".sc-ion-select-popover-h ion-list.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:-1px;margin-bottom:-1px}.sc-ion-select-popover-h ion-label.sc-ion-select-popover, .sc-ion-select-popover-h ion-list-header.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"},enumerable:!0,configurable:!0}),t}();export{p as ion_select_popover};