Liferay.Loader.define("data-engine-js-components-web@1.0.79/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=l(a("frontend-js-metal-web$metal-component")),i=l(a("frontend-js-metal-web$metal-soy"));function l(e){return e&&e.__esModule?e:{default:e}}t.templates=d,goog.loadModule((function(e){var t=goog.require("soy");function a(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"),i=e._handleFieldBlurred,l=e._handleFieldEdited,o=e._handleFieldFocused,r=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:r,editable:s,events:{fieldBlurred:i,fieldEdited:l,fieldFocused:o},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=a,a.Params,goog.DEBUG&&(a.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 e extends n.default{}t.MetalFieldAdapter=e,i.default.register(e,d);var o=d;t.default=o}}));
//# sourceMappingURL=MetalFieldAdapter.soy.js.map