Liferay.Loader.define("data-engine-js-components-web@1.0.86/js/core/components/Field/MetalFieldAdapter.soy",["module","exports","require","frontend-js-metal-web$metal-component","frontend-js-metal-web$metal-soy"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.templates=t.MetalFieldAdapter=void 0;var d,n=_interopRequireDefault(a("frontend-js-metal-web$metal-component")),r=_interopRequireDefault(a("frontend-js-metal-web$metal-soy"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.templates=d,goog.loadModule((function(e){var t=goog.require("soy");function $render(e,a,d){a=d||a;var n=t.asserts.assertType(goog.isString(e.type)||e.type instanceof goog.soy.data.SanitizedContent,"type",e.type,"!goog.soy.data.SanitizedContent|string"),r=e._handleFieldBlurred,i=e._handleFieldEdited,l=e._handleFieldFocused,o=t.asserts.assertType(null==e.activePage||goog.isNumber(e.activePage),"activePage",e.activePage,"null|number|undefined"),s=t.asserts.assertType(null==e.editable||goog.isBoolean(e.editable)||1===e.editable||0===e.editable,"editable",e.editable,"boolean|null|undefined"),g=e.field,p=t.asserts.assertType(null==e.pageIndex||goog.isNumber(e.pageIndex),"pageIndex",e.pageIndex,"null|number|undefined"),u=t.asserts.assertType(null==e.spritemap||goog.isString(e.spritemap)||e.spritemap instanceof goog.soy.data.SanitizedContent,"spritemap",e.spritemap,"!goog.soy.data.SanitizedContent|null|string|undefined");t.$$getDelegateFn(t.$$getDelTemplateId("PageRenderer.RegisterFieldType.idom"),n,!0)(t.$$assignDefaults({activePage:o,editable:s,events:{fieldBlurred:r,fieldEdited:i,fieldFocused:l},pageIndex:p,ref:"pageRendererFieldRef"+g.instanceId,spritemap:u},g),null,a)}return goog.require("soydata"),goog.module("MetalFieldAdapter.incrementaldom"),goog.require("goog.soy.data.SanitizedContent"),goog.require("soy"),goog.require("soy.asserts"),goog.require("soy.idom"),e.render=$render,$render.Params,goog.DEBUG&&($render.soyTemplateName="MetalFieldAdapter.render"),e.render.params=["type","_handleFieldBlurred","_handleFieldEdited","_handleFieldFocused","activePage","editable","field","pageIndex","spritemap"],e.render.types={type:"string",_handleFieldBlurred:"any",_handleFieldEdited:"any",_handleFieldFocused:"any",activePage:"number",editable:"bool",field:"?",pageIndex:"number",spritemap:"string"},e.templates=d=e,e}));class MetalFieldAdapter extends n.default{}t.MetalFieldAdapter=MetalFieldAdapter,r.default.register(MetalFieldAdapter,d);var i=d;t.default=i}}));
//# sourceMappingURL=MetalFieldAdapter.soy.js.map