define(["require","exports","../../Validation","./FormElementMap"],function(e,t,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.prototype.execute=function(e){var t=e.elementName,r=e.form,o=e.phrase;return"object"==typeof t&&(r=i.getFormForElement(t)),n.validation.exists("form",r),t=r.actor.getElementName(t,r.event),"string"!=typeof o&&(o="string"==typeof(e=r.event.argument)?e:""),{result:r.actor.filterItems(t,o)}},o.action="gcx:wf:forms::FilterFormElementItems",o.suite="gcx:wf:builtin",o);function o(){}t.FilterFormElementItems=r});