import{r as e,h as i}from"./p-D0dWnGvB.js";const a=class{constructor(i){e(this,i),this.filterBlocks=[{id:"status",label:"Status",type:"checkbox",options:[{id:"active",label:"Active",value:"active",count:22},{id:"inactive",label:"Inactive",value:"inactive",count:22},{id:"pending",label:"Pending",value:"pending",count:22},{id:"archived",label:"Archived",value:"archived",count:22},{id:"draft",label:"Draft",value:"draft",count:22},{id:"published",label:"Published",value:"published",count:22},{id:"unpublished",label:"Unpublished",value:"unpublished",count:22},{id:"deleted",label:"Deleted",value:"deleted",count:22},{id:"restored",label:"Restored",value:"restored",count:22}]},{id:"select",label:"Variant",type:"select",options:[{id:"option1",label:"Option 1",value:"option1"},{id:"option2",label:"Option 2",value:"option2"},{id:"option3",label:"Option 3",value:"option3"},{id:"option4",label:"Option 4",value:"option4"}]},{id:"userType",label:"User Type",type:"radio",options:[{id:"admin",label:"Administrator",value:"admin"},{id:"editor",label:"Editor",value:"editor"},{id:"viewer",label:"Viewer",value:"viewer"},{id:"contributor",label:"Contributor",value:"contributor"}]},{id:"categories",label:"Categories",type:"chips",options:[{id:"tech",label:"Technology",value:"tech"},{id:"design",label:"Design",value:"design"},{id:"marketing",label:"Marketing",value:"marketing"},{id:"sales",label:"Sales",value:"sales"},{id:"support",label:"Support",value:"support"},{id:"hr",label:"HR",value:"hr"},{id:"finance",label:"Finance",value:"finance"}]},{id:"rating",label:"Rating",type:"slider",min:20,max:70},{id:"price",label:"Price Range",type:"range"},{id:"dateCreated",label:"Created Date",type:"date"}],this.handleFilterChange=e=>{const i=e.detail;console.log("Applied Filters:",i),i.forEach((e=>{console.log("Filter:",e)}))},this.initialValue={checkbox:{blockId:"status",options:[{id:"active",label:"Active",value:"active"}]},chips:{blockId:"categories",options:[{id:"tech",label:"Technology",value:"tech"},{id:"design",label:"Design",value:"design"}]},radio:{blockId:"userType",options:[{id:"admin",label:"Administrator",value:"admin"}]},range:{blockId:"price",options:{min:10,max:20}},select:{blockId:"select",options:[{id:"option1",label:"Option 1",value:"option1"}]},slider:{blockId:"rating",options:{min:30,max:50}}}}render(){return i("div",{key:"f636689b13e38714ca717cdb51f6995ce005594e",class:"filteration-usage"},i("h2",{key:"880a608c0ff2ac94b6f49cdb7020e961c34bda2e"},"Filteration Component Examples"),i("div",{key:"da5f4d0710129ece96d0d025a7216389fd12625c",class:"filteration-container",style:{margin:"20px 0"}},i("h3",{key:"e393c0ac46c0ea079060727405a9d5a45a60d5f4"},"Default Filteration"),i("dga-filteration",{key:"b9a042d108214a64e22468575e59214b57f98f92",buttonLabel:"Filter Items",filterBlocks:this.filterBlocks,onOnFilterChange:this.handleFilterChange,initvalue:this.initialValue})))}};export{a as dga_filteration_usage}