{"version":3,"file":"PlainText_Plus.Dc98NFxp.mjs","names":["_Fragment","BaseControls"],"sources":["https:/framerusercontent.com/modules/rh6e2sb1Jywsg0Jg5MC9/nU76KIngapLuixkcwZx7/PlainText_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/fThGQnEUZeWwDLSQMzea/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 PlainTextFilterPlus(props){const{applyFilter,cmsFieldName,collectionID,condition,interactionActiveFilter,interactionInactiveFilter,preserveActiveFilter,value}=props;const cmsPlusComponentName=\"Filter+ PlainText\";useFilter({cmsFieldName,cmsPlusComponentName,collectionID,condition,interactionActiveFilter,interactionInactiveFilter,isPreserving:preserveActiveFilter,value:value.trim()?value:undefined,isFilterActive:applyFilter,controlType:\"string\",valueIsRequired:!condition.includes(\"IS_SET\")});return /*#__PURE__*/_jsx(_Fragment,{});}PlainTextFilterPlus.displayName=\"Filter+ PlainText\";addPropertyControls(PlainTextFilterPlus,{...getPropertyControls(CollectionIDControl),...getPropertyControls(BaseControls),...getPropertyControls(CMSFieldNameControl),condition:{type:ControlType.Enum,title:\"Condition\",defaultValue:\"==\",optionTitles:[\"Is Set\",\"Isn't Set\",\"Equals\",\"Doesn't Equal\",\"Starts With\",\"Doesn't Start With\",\"Ends With\",\"Doesn't End With\",\"Contains\",\"Doesn't Contain\"],options:[\"IS_SET\",\"!IS_SET\",\"==\",\"!=\",\"STARTS_WITH\",\"!STARTS_WITH\",\"ENDS_WITH\",\"!ENDS_WITH\",\"CONTAINS\",\"!CONTAINS\"]},value:{type:ControlType.String,title:\"Value\",defaultValue:\"\",placeholder:\"case-sensitive\",hidden:props=>props.condition.includes(\"IS_SET\")}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PlainTextFilterPlus\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"udAMG,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,cAAY,eAAa,eAAa,YAAU,0BAAwB,4BAA0B,uBAAqB,SAAO,EAAgV,OAA3R,EAAU,CAAC,eAAa,qBAA5C,oBAAiE,eAAa,YAAU,0BAAwB,4BAA0B,aAAa,EAAqB,MAAM,EAAM,MAAM,CAAC,EAAM,IAAA,GAAU,eAAe,EAAY,YAAY,SAAS,gBAAgB,CAAC,EAAU,SAAS,SAAS,CAAC,CAAC,CAAqB,EAAKA,EAAU,EAAE,CAAC,kBAN/e,IACpB,IAAgH,IAAyH,IAAiI,IAAiI,CAK0B,EAAoB,YAAY,oBAAoB,EAAoB,EAAoB,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,YAAY,SAAS,gBAAgB,cAAc,qBAAqB,YAAY,mBAAmB,WAAW,kBAAkB,CAAC,QAAQ,CAAC,SAAS,UAAU,KAAK,KAAK,cAAc,eAAe,YAAY,aAAa,WAAW,YAAY,CAAC,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,GAAG,YAAY,iBAAiB,OAAO,GAAO,EAAM,UAAU,SAAS,SAAS,CAAC,CAAC,CAAC"}