{"version":3,"file":"Option_Plus.BVFXpmLy.mjs","names":["_Fragment","BaseControls"],"sources":["https:/framerusercontent.com/modules/cF4BbWM5faZdppOwbrSl/BBeTKtkWRMn6wrwSWByI/Option_Plus.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,// @ts-ignore\ngetPropertyControls,ControlType}from\"framer\";import{useFilter}from\"https://framerusercontent.com/modules/uaC9hWf3ec7HqMv3sXMc/j9s1CVhuypSVjmIz92rq/Hooks.js\";import BaseControls from\"https://framerusercontent.com/modules/1abSdslctova79WmNQRw/3fHstYFUOpeaxageGRMz/Filter_Base.js\";import CollectionIDControl from\"https://framerusercontent.com/modules/Hxho9sUnioBkMjGbLBed/csoxszrftuhmv2NyuE1c/collectionID.js\";import CMSFieldNameControl from\"https://framerusercontent.com/modules/xPWn77sAdxuRvon75kLo/B2UIyi7WVbdsZJvHIaDR/cmsFieldName.js\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function OptionFilterPlus(props){const{applyFilter,cmsFieldName,collectionID,condition,interactionActiveFilter,interactionInactiveFilter,preserveActiveFilter,value}=props;const cmsPlusComponentName=\"Filter+ Option\";useFilter({cmsFieldName,cmsPlusComponentName,collectionID,condition,interactionActiveFilter,interactionInactiveFilter,isPreserving:preserveActiveFilter,isFilterActive:applyFilter,controlType:\"enum\",value:value.trim()?value:undefined,valueIsRequired:true});return /*#__PURE__*/_jsx(_Fragment,{});}OptionFilterPlus.displayName=\"Filter+ Option\";addPropertyControls(OptionFilterPlus,{...getPropertyControls(CollectionIDControl),...getPropertyControls(BaseControls),...getPropertyControls(CMSFieldNameControl),condition:{type:ControlType.Enum,title:\"Condition\",defaultValue:\"==\",optionTitles:[\"Equals\",\"Doesn't Equal\"],options:[\"==\",\"!=\"]},value:{type:ControlType.String,title:\"Value\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OptionFilterPlus\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"ySAMG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,cAAY,eAAa,eAAa,YAAU,0BAAwB,4BAA0B,uBAAqB,SAAO,EAAkT,OAAhQ,EAAU,CAAC,eAAa,qBAAzC,iBAA8D,eAAa,YAAU,0BAAwB,4BAA0B,aAAa,EAAqB,eAAe,EAAY,YAAY,OAAO,MAAM,EAAM,MAAM,CAAC,EAAM,IAAA,GAAU,gBAAgB,GAAK,CAAC,CAAqB,EAAKA,EAAU,EAAE,CAAC,kBAN9c,IACpB,IAAgH,IAAyH,IAAiI,IAAiI,CAKP,EAAiB,YAAY,iBAAiB,EAAoB,EAAiB,CAAC,GAAG,EAAoB,EAAoB,CAAC,GAAG,EAAoBC,EAAa,CAAC,GAAG,EAAoB,EAAoB,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,YAAY,aAAa,KAAK,aAAa,CAAC,SAAS,gBAAgB,CAAC,QAAQ,CAAC,KAAK,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,GAAG,CAAC,CAAC"}