1import{PageElementBase as s}from"./CdQXFjpm.js";import{T as n}from"./CrX2__Gh.js";import{G as l}from"./D_6K3OQ2.js";import{TypographyModel as o}from"./C8oKskU6.js";import{d as a}from"./ghde6Rcn.js";import"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";import"./WUj_y4n6.js";class e extends s{constructor(i="root",t){super(i,t),this.widgetType="WidgetMenuLinks",this.widgetName="Menu Links",this.component="WidgetMenuLinks",this.icon={icon:"menu-links",pack:"cms"},this.pseudoWidgetType="widget",this.title=new o({tag:"h1"}),this.contents=[new n({title:"",target:"",linkType:"internal",action:""})],this.style=new l,this.buildContentFields=()=>[{heading:"Manage Links Title",toggleable:!0,toggleAttributeKey:["title","show"],options:[{type:"input",attributeKey:["title","content"],placeholder:"Enter Title"},{type:"manage-links",attributeKey:["contents"],title:"Menu Links"}]}],this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",attributeKey:["style","theme"],options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]},{heading:"Background",type:"tabs",tabsOptions:{variant:"fill"},tabs:[{title:"Colour",value:"color",index:0,options:[{type:"color-selector",attributeKey:["style","backgroundColor"]}]},{title:"Image",value:"image",index:1,options:[{type:"image-picker",attributeKey:["backgroundImage"]}]}],options:[]}
1],this.getSidebarTabs=()=>[{name:"Content",fields:this.buildContentFields(),default:!0},{name:"Style",fields:this.buildStyleFields()}],Object.assign(this,t)}serializeElement(){return{...super.serializeBaseElement(),title:this.title,contents:this.contents,style:this.style}}duplicateElement(){return new e(this.parentID,a({...this,uuid:void 0}))}}export{e 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.