define(["require","exports","../../Validation","./FormElementMap"],function(e,t,l,p){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(r.prototype.execute=function(e,t){var o=e.propertyName,r=e.propertyValue,i=e.itemKey,n=e.elementName,a=e.form;"object"==typeof n&&(a=p.getFormForElement(n)),l.validation.exists("form",a),l.validation.exists("itemKey",i);var m=l.validation.string("itemKey",i,""),m=(m=""===m?l.validation.number("itemKey",i,l.validation.never):m).toString(),e=l.validation.boolean("markdown",e.markdown,!0),n=a.actor.getElementName(n,a.event);return a.actor.assignElementItemProperty(n,m,o,r,e),{}},r.action="gcx:wf:forms::SetFormElementItemProperty",r.suite="gcx:wf:builtin",r);function r(){}t.SetFormElementItemProperty=o});