{"version":3,"file":"FilterController.D2QoddNP.mjs","names":["React","onClick","iconEnabled","iconImage","iconSize","iconGap","currentTextColor"],"sources":["https:/framerusercontent.com/modules/ijjblhXgUoJGZUDspQEV/w39oiJrjQT1OhFKkGq1B/FilterController.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useFilterStore,toggleBookmarkFilter,addFieldFilter,clearAllFilters}from\"https://framerusercontent.com/modules/rqnHUyoM3KSNU5G2m4Xt/zjFJPu7lnQK5tqNCfDfb/filterStore.js\";// Icon component helper\nfunction Icon({image,color,size}){return /*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,flexShrink:0,backgroundColor:color,maskImage:`url('${image}')`,WebkitMaskImage:`url('${image}')`,maskSize:\"contain\",WebkitMaskSize:\"contain\",maskRepeat:\"no-repeat\",WebkitMaskRepeat:\"no-repeat\",maskPosition:\"center\",WebkitMaskPosition:\"center\"}});}export default function FilterController({sliderId=\"default\",filterButtons=[],buttonStyle={},selectorStyle={},toggleStyle={},controllerStyle={},style}){// Extract button styles with defaults\nconst{font:buttonFont={},background:buttonBackground=\"#fff\",backgroundHover:buttonBackgroundHover=\"#f5f5f5\",textColor:buttonTextColor=\"#333\",textColorHover:buttonTextColorHover=\"#000\",padding:buttonPadding=\"8px 16px\",border:buttonBorder={},borderRadius:buttonBorderRadius=\"6px\"}=buttonStyle;// Extract selector styles with defaults\nconst{font:selectorFont={},background:selectorBackground=\"#fff\",backgroundHover:selectorBackgroundHover=\"#f5f5f5\",backgroundSelected:selectorBackgroundSelected=\"#8855FF\",textColor:selectorTextColor=\"#333\",textColorSelected:selectorTextColorSelected=\"#fff\",padding:selectorPadding=\"8px 16px\",border:selectorBorder={},borderSelected:selectorSelectedBorder={},borderRadius:selectorBorderRadius=\"6px\"}=selectorStyle;// Extract toggle styles with defaults\nconst{font:toggleFont={},background:toggleBackground=\"#fff\",backgroundHover:toggleBackgroundHover=\"#f5f5f5\",textColor:toggleTextColor=\"#333\",textColorHover:toggleTextColorHover=\"#000\",padding:togglePadding=\"8px 16px\",border:toggleBorder={},borderRadius:toggleBorderRadius=\"6px\"}=toggleStyle;// Extract controller styles with defaults\nconst{direction:isVertical=false,gap=8,padding=\"16px\"}=controllerStyle;const[store,setStore]=useFilterStore();// Get slider-specific state - use a function so it's always fresh\nconst getSliderState=()=>store.sliders[sliderId]||{showFavorited:false,showLastView:false,showNotFavorited:false,fieldFilters:[],sortByDate:true,isActive:false};const sliderState=getSliderState();// Track if we've initialized this slider\nconst[initialized,setInitialized]=React.useState(false);// Initialize filters based on selectorState on mount\nReact.useEffect(()=>{// Only initialize once per slider\nif(initialized)return;// Build initial state from button configurations\nconst initialState={showFavorited:false,showLastView:false,showNotFavorited:false,fieldFilters:[],sortByDate:true,isActive:false};const customFilters=[];filterButtons.forEach(button=>{if(button.selectorState){switch(button.buttonType){case\"Favorite\":initialState.showFavorited=true;initialState.isActive=true;break;case\"LastView\":initialState.showLastView=true;initialState.isActive=true;break;case\"notFavorited\":initialState.showNotFavorited=true;initialState.isActive=true;break;case\"Custom\":if(button.filterField&&button.filterValue){customFilters.push({filterField:button.filterField,filterValue:button.filterValue,referenceFieldName:button.referenceField,fieldType:button.fieldType||\"text\",dateComparison:button.dateComparison});initialState.isActive=true;}break;case\"sortByDate\":initialState.sortByDate=true;break;}}});// Add custom filters to the initial state\nif(customFilters.length>0){initialState.fieldFilters=customFilters;}// Set the initial state all at once - use functional form to get latest state\nsetStore(currentStore=>{const currentSliderState=currentStore.sliders[sliderId]||{showFavorited:false,showLastView:false,showNotFavorited:false,fieldFilters:[],sortByDate:true,isActive:false};return{sliders:{...currentStore.sliders,[sliderId]:{...currentSliderState,...initialState}}};});setInitialized(true);},[sliderId,initialized]);const handleShowAll=()=>{clearAllFilters(setStore,sliderId,store);};const handleResetFilter=()=>{clearAllFilters(setStore,sliderId,store);};const handleFavoriteToggle=()=>{toggleBookmarkFilter(setStore,\"showFavorited\",store,sliderId);};const handleLastViewToggle=()=>{toggleBookmarkFilter(setStore,\"showLastView\",store,sliderId);};const handleNotFavoritedToggle=()=>{toggleBookmarkFilter(setStore,\"showNotFavorited\",store,sliderId);};const handleCustomToggle=button=>{if(!button.filterField||!button.filterValue)return;const filter={filterField:button.filterField,filterValue:button.filterValue,referenceFieldName:button.referenceField,fieldType:button.fieldType||\"text\",dateComparison:button.dateComparison};addFieldFilter(setStore,filter,store,sliderId);};const handleSortToggle=()=>{setStore({sliders:{...store.sliders,[sliderId]:{...sliderState,sortByDate:!sliderState.sortByDate}}});};const isCustomFilterActive=button=>{if(!button.filterField||!button.filterValue)return false;return sliderState.fieldFilters.some(f=>f.filterField===button.filterField&&f.filterValue===button.filterValue&&f.referenceFieldName===button.referenceField&&(f.fieldType||\"text\")===(button.fieldType||\"text\"));};const getButtonLabel=button=>{// For sortByDate, handle toggle states with custom labels\nif(button.buttonType===\"sortByDate\"){if(sliderState.sortByDate){// Newest First state - use primary label\nreturn button.buttonLabel||\"New → Old\";}else{// Oldest First state - use alt label\nreturn button.buttonLabelAlt||\"Old → New\";}}// If custom label provided, use it\nif(button.buttonLabel){return button.buttonLabel;}// Default labels\nswitch(button.buttonType){case\"ShowAll\":return\"Show All\";case\"Favorite\":return\"Favorites\";case\"LastView\":return\"Last Viewed\";case\"notFavorited\":return\"Not Favorited\";case\"ResetFilter\":return\"Reset Filters\";case\"Custom\":return\"Custom Filter\";default:return\"Unknown\";}};const renderButton=(button,index)=>{const{buttonType}=button;// Button type (ShowAll, ResetFilter)\nif(buttonType===\"ShowAll\"||buttonType===\"ResetFilter\"){const onClick=buttonType===\"ShowAll\"?handleShowAll:handleResetFilter;const isReset=buttonType===\"ResetFilter\";// Icon configuration with defaults\nconst iconEnabled=button.icon?.enabled||false;const iconImage=button.icon?.image||\"\";const iconSize=button.icon?.size||16;const iconGap=button.icon?.gap||6;// Icon color matches text color\nconst currentTextColor=isReset?\"#ff4444\":buttonTextColor;return /*#__PURE__*/_jsxs(\"button\",{onClick:onClick,style:{padding:buttonPadding,borderRadius:buttonBorderRadius,background:buttonBackground,color:currentTextColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:iconEnabled&&iconImage?`${iconGap}px`:undefined,...isReset?{borderWidth:1,borderStyle:\"solid\",borderColor:\"#ff4444\"}:buttonBorder,...buttonFont},children:[iconEnabled&&iconImage&&/*#__PURE__*/_jsx(Icon,{image:iconImage,color:currentTextColor,size:iconSize}),getButtonLabel(button)]},index);}// Toggle type (sortByDate)\nif(buttonType===\"sortByDate\"){// Icon configuration with defaults\nconst iconEnabled=button.icon?.enabled||false;const iconImage=button.icon?.image||\"\";const iconSize=button.icon?.size||16;const iconGap=button.icon?.gap||6;return /*#__PURE__*/_jsxs(\"button\",{onClick:handleSortToggle,style:{padding:togglePadding,borderRadius:toggleBorderRadius,background:toggleBackground,color:toggleTextColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:iconEnabled&&iconImage?`${iconGap}px`:undefined,...toggleBorder,...toggleFont},children:[iconEnabled&&iconImage&&/*#__PURE__*/_jsx(Icon,{image:iconImage,color:toggleTextColor,size:iconSize}),getButtonLabel(button)]},index);}// Selector types (Favorite, LastView, notFavorited, Custom)\nlet isSelected=false;let onClick=()=>{};switch(buttonType){case\"Favorite\":// Use store state if initialized, otherwise use selectorState prop\nisSelected=sliderState.isActive?sliderState.showFavorited:button.selectorState||false;onClick=handleFavoriteToggle;break;case\"LastView\":isSelected=sliderState.isActive?sliderState.showLastView:button.selectorState||false;onClick=handleLastViewToggle;break;case\"notFavorited\":isSelected=sliderState.isActive?sliderState.showNotFavorited:button.selectorState||false;onClick=handleNotFavoritedToggle;break;case\"Custom\":isSelected=sliderState.isActive?isCustomFilterActive(button):button.selectorState||false;onClick=()=>handleCustomToggle(button);break;}// Icon configuration with defaults\nconst iconEnabled=button.icon?.enabled||false;const iconImage=button.icon?.image||\"\";const iconSize=button.icon?.size||16;const iconGap=button.icon?.gap||6;// Icon color matches text color based on selected state\nconst currentTextColor=isSelected?selectorTextColorSelected:selectorTextColor;return /*#__PURE__*/_jsxs(\"button\",{onClick:onClick,style:{padding:selectorPadding,borderRadius:selectorBorderRadius,background:isSelected?selectorBackgroundSelected:selectorBackground,color:currentTextColor,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:iconEnabled&&iconImage?`${iconGap}px`:undefined,transition:\"all 0.2s ease\",...isSelected?selectorSelectedBorder:selectorBorder,...selectorFont},children:[iconEnabled&&iconImage&&/*#__PURE__*/_jsx(Icon,{image:iconImage,color:currentTextColor,size:iconSize}),getButtonLabel(button)]},index);};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",padding:padding,...style},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:isVertical?\"column\":\"row\",flexWrap:\"wrap\",gap:`${gap}px`},children:filterButtons.map((button,index)=>renderButton(button,index))})});}FilterController.displayName=\"Filter Controller\";addPropertyControls(FilterController,{sliderId:{type:ControlType.String,title:\"Slider ID\",defaultValue:\"default\",description:\"Match this ID with a SliderCMS component to control it\"},filterButtons:{type:ControlType.Array,title:\"Filter Buttons\",control:{type:ControlType.Object,controls:{buttonType:{type:ControlType.Enum,title:\"Button Type\",options:[\"ShowAll\",\"Favorite\",\"LastView\",\"notFavorited\",\"ResetFilter\",\"sortByDate\",\"Custom\"],optionTitles:[\"Show All\",\"Favorites\",\"Last Viewed\",\"Not Favorited\",\"Reset Filter\",\"Sort by Date\",\"Custom\"],defaultValue:\"ShowAll\"},buttonLabel:{type:ControlType.String,title:\"Label\",defaultValue:\"\",placeholder:\"Custom button label\",description:\"Optional: Override default label\"},buttonLabelAlt:{type:ControlType.String,title:\"Alt Label\",defaultValue:\"\",placeholder:\"Old → New\",description:\"Label when sorting oldest first\",hidden:props=>props.buttonType!==\"sortByDate\"},filterField:{type:ControlType.String,title:\"Filter Field\",defaultValue:\"\",placeholder:\"e.g., Category\",hidden:props=>props.buttonType!==\"Custom\"},referenceField:{type:ControlType.String,title:\"Reference Field\",defaultValue:\"\",placeholder:\"e.g., Name\",description:\"Field name within referenced item (leave empty to filter by ID)\",hidden:props=>props.buttonType!==\"Custom\"},filterValue:{type:ControlType.String,title:\"Filter Value\",defaultValue:\"\",placeholder:\"e.g., Design or item-id-123\",description:\"Value to match (CMS item ID or field value)\",hidden:props=>props.buttonType!==\"Custom\"},fieldType:{type:ControlType.Enum,title:\"Field Type\",defaultValue:\"text\",options:[\"text\",\"enum\",\"boolean\",\"date\",\"number\"],optionTitles:[\"Text\",\"Enum\",\"Boolean\",\"Date\",\"Number\"],description:\"Type of field to filter\",hidden:props=>props.buttonType!==\"Custom\"},dateComparison:{type:ControlType.Enum,title:\"Date Comparison\",defaultValue:\"exact\",options:[\"exact\",\"before\",\"after\"],optionTitles:[\"Exact Match\",\"Before Date\",\"After Date\"],description:\"How to compare date values\",hidden:props=>props.buttonType!==\"Custom\"||props.fieldType!==\"date\"},selectorState:{type:ControlType.Boolean,title:\"Initial State\",defaultValue:false,enabledTitle:\"Selected\",disabledTitle:\"Unselected\",description:\"Start with this filter selected\",hidden:props=>props.buttonType===\"ShowAll\"||props.buttonType===\"ResetFilter\"},icon:{type:ControlType.Object,title:\"Icon\",controls:{enabled:{type:ControlType.Boolean,title:\"Enable Icon\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},image:{type:ControlType.Image,title:\"Icon Image\"},size:{type:ControlType.Number,title:\"Icon Size\",defaultValue:16,min:8,max:32,step:1,unit:\"px\",displayStepper:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:6,min:0,max:24,step:1,unit:\"px\",displayStepper:true,description:\"Space between icon and text\"}}}}},defaultValue:[{buttonType:\"ShowAll\"},{buttonType:\"Favorite\"},{buttonType:\"ResetFilter\"}]},// Button Style Object\nbuttonStyle:{type:ControlType.Object,title:\"Button Style\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:12,lineHeight:1.5}},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#fff\"},backgroundHover:{type:ControlType.Color,title:\"Background Hover\",defaultValue:\"#f5f5f5\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},textColorHover:{type:ControlType.Color,title:\"Text Color Hover\",defaultValue:\"#000\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#ddd\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"6px\"}}},// Selector Style Object\nselectorStyle:{type:ControlType.Object,title:\"Selector Style\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:12,lineHeight:1.5}},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#fff\"},backgroundHover:{type:ControlType.Color,title:\"Background Hover\",defaultValue:\"#f5f5f5\"},backgroundSelected:{type:ControlType.Color,title:\"Background Selected\",defaultValue:\"#8855FF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},textColorSelected:{type:ControlType.Color,title:\"Text Color Selected\",defaultValue:\"#fff\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#ddd\"}},borderSelected:{type:ControlType.Border,title:\"Border Selected\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:\"#8855FF\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"6px\"}}},// Toggle Style Object\ntoggleStyle:{type:ControlType.Object,title:\"Toggle Style\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:12,lineHeight:1.5}},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#fff\"},backgroundHover:{type:ControlType.Color,title:\"Background Hover\",defaultValue:\"#f5f5f5\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},textColorHover:{type:ControlType.Color,title:\"Text Color Hover\",defaultValue:\"#000\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#ddd\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"6px\"}}},// Controller Style Object\ncontrollerStyle:{type:ControlType.Object,title:\"Controller Style\",controls:{direction:{type:ControlType.Boolean,title:\"Direction\",defaultValue:false,enabledTitle:\"Vertical\",disabledTitle:\"Horizontal\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,max:64,step:2,unit:\"px\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"16px\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FilterController\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterButton\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6PACA,SAAS,EAAK,CAAC,QAAM,QAAM,QAAM,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,WAAW,EAAE,gBAAgB,EAAM,UAAU,QAAQ,EAAM,IAAI,gBAAgB,QAAQ,EAAM,IAAI,SAAS,UAAU,eAAe,UAAU,WAAW,YAAY,iBAAiB,YAAY,aAAa,SAAS,mBAAmB,SAAS,CAAC,CAAC,CAAE,SAAwB,EAAiB,CAAC,WAAS,UAAU,gBAAc,EAAE,CAAC,cAAY,EAAE,CAAC,gBAAc,EAAE,CAAC,cAAY,EAAE,CAAC,kBAAgB,EAAE,CAAC,SAAO,CAC9e,GAAK,CAAC,KAAK,EAAW,EAAE,CA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