PageSourceSearch

https://ozon.menglar.com/workbench/assets/SwitchItem-D_JYZWsN.js

js menglar.com collected 2026-09-24 10:21:37 UTC 1,102 bytes, 1 lines download raw bytes

1import{v as r,u as d,_ as l}from"./entry/index-DhGbs7Im.js";import{b as c}from"./index-BMwWRL-t.js";import{d as p,c as m,Z as h,_ as u,a3 as f,a1 as C,a2 as g,k as b,aa as k,a7 as v}from"./vue-Bb-9zp61.js";import{at as y}from"./antd-Beyd_mrh.js";import"./index-DT2eH9Ag.js";import"./index-tuSOjJxQ.js";import"./useContentViewHeight-CmLlfent.js";const B=p({name:"SwitchItem",components:{Switch:y},props:{event:{type:Number},disabled:{type:Boolean},title:{type:String},def:{type:Boolean}},setup(e){const{prefixCls:t}=r("setting-switch-item"),{t:n}=d(),a=m(()=>e.def?{checked:e.def}:{});function s(o){e.event&&c(e.event,o)}return{prefixCls:t,t:n,handleChange:s,getBindValue:a}}});function S(e,t,n,a,s,o){const i=h("Switch");return u(),f("div",{class:v(e.prefixCls)},[C("span",null,g(e.title),1),b(i,k(e.getBindValue,{onChange:e.handleChange,disabled:e.disabled,checkedChildren:e.t("layout.setting.on"),unCheckedChildren:e.t("layout.setting.off")}),null,16,["onChange","disabled","checkedChildren","unCheckedChildren"])],2)}const z=l(B,[["render",S],["__scopeId","data-v-0f0bf616"]]);export{z as default};

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.