PageSourceSearch

https://vyomix.vercel.app/node_modules_ionic_core_dist_esm_ion-inp…assword-toggle_entry_js.eb377f04ab1e71dc.js

js vyomix.vercel.app collected 2026-10-09 22:06:48 UTC 2,497 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksign_translate=self.webpackChunksign_translate||[]).push([["node_modules_ionic_core_dist_esm_ion-input-password-toggle_entry_js"],{5196:(P,a,i)=>{i.r(a),i.d(a,{ion_input_password_toggle:()=>e});var r=i(81734),c=i(58974),u=i(71882),d=i(93871),p=i(89710);const e=(()=>{let l=class{constructor(o){(0,r.r)(this,o),this.togglePasswordVisibility=()=>{const{inputElRef:n}=this;n&&(n.type="text"===n.type?"password":"text")},this.color=void 0,this.showIcon=void 0,this.hideIcon=void 0,this.type="password"}onTypeChange(o){"text"===o||"password"===o||(0,c.p)(`ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "${o}" is not compatible.`,this.el)}connectedCallback(){const{el:o}=this,n=this.inputElRef=o.closest("ion-input");n?this.type=n.type:(0,c.p)("No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.",o)}disconnectedCallback(){this.inputElRef=null}render(){var o,n;const{color:f,type:E}=this,g=(0,p.b)(this),I=null!==(o=this.showIcon)&&void 0!==o?o:d.x,w=null!==(n=this.hideIcon)&&void 0!==n?n:d.y,y="text"===E;return(0,r.h)(r.f,{key:"ed1c29726ce0c91548f0e2ada61e3f8b5c813d2d",class:(0,u.c)(f,{[g]:!0})},(0,r.h)("ion-button",{key:"9698eccdaedb86cf12d20acc53660371b3af3c55",mode:g,color:f,fill:"clear",shape:"round","aria-checked":y?"true":"false","aria-label":"show password",role:"switch",type:"button",onPointerDown:C=>{C.preventDefault()},onClick:this.togglePasswordVisibility},(0,r.h)("ion-icon",{key:"1f2119c30b56c800d9af44e6499445a0ebb466cf",slot:"icon-only","aria-hidden":"true",icon:y?w:I})))}get el(){return(0,r.i)(this)}static get watchers(){return{type:["onTypeChange"]}}};return l.style={ios:"",md:""},l})()},71882:(P,a,i)=>{i.d(a,{c:()=>u,g:()=>p,h:()=>c,o:()=>_});var r=i(89204);const c=(s,t)=>null!==t.closest(s),u=(s,t)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},t):t,p=s=>{const t={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(s).forEach(e=>t[e]=!0),t},h=/^[a-z][a-z0-9+\-.]*:/,_=function(){var s=(0,r.A)(function*(t,e,l,o){if(null!=t&&"#"!==t[0]&&!h.test(t)){const n=document.querySelector("ion-router");if(n)return e?.preventDefault(),n.push(t,l,o)}return!1});return function(e,l,o,n){return s.apply(this,arguments)}}()}}]);
2//# sourceMappingURL=node_modules_ionic_core_dist_esm_ion-input-password-toggle_entry_js.eb377f04ab1e71dc.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.