Liferay.Loader.define("dynamic-data-mapping-form-renderer@5.0.53/js/components/PageRenderer.soy", ['module', 'exports', 'require', 'frontend-js-metal-web$metal-component', 'frontend-js-metal-web$metal-soy'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = exports.templates = void 0;

    var _metalComponent = _interopRequireDefault(require("frontend-js-metal-web$metal-component"));

    var _metalSoy = _interopRequireDefault(require("frontend-js-metal-web$metal-soy"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    /* jshint ignore:start */
    var templates;
    exports.templates = templates;
    goog.loadModule(function (exports) {
      var soy = goog.require('soy');

      goog.require('soydata');

      // This file was automatically generated from PageRenderer.soy.
      // Please don't edit this file by hand.

      /**
       * @fileoverview Templates in namespace PageRenderer.
       * @hassoydeltemplate {PageRenderer.RegisterFieldType.idom}
       * @public
       */

      goog.module('PageRenderer.incrementaldom');

      var incrementalDom = goog.require('incrementaldom');

      goog.require('soy');

      goog.require('soy.asserts');

      goog.require('soy.idom');

      /**
       * @param {{
       *  editable: (boolean|null|undefined),
       *  field: (?)
       * }} opt_data
       * @param {Object<string, *>=} opt_ijData
       * @param {Object<string, *>=} opt_ijData_deprecated
       * @return {void}
       * @suppress {checkTypes}
       */

      function __deltemplate_s2_e5792ebc(opt_data, opt_ijData, opt_ijData_deprecated) {
        opt_ijData = opt_ijData_deprecated || opt_ijData;
        opt_data = opt_data || {};
        /** @type {boolean|null|undefined} */

        var editable = soy.asserts.assertType(opt_data.editable == null || goog.isBoolean(opt_data.editable) || opt_data.editable === 1 || opt_data.editable === 0, 'editable', opt_data.editable, 'boolean|null|undefined');
        /** @type {?} */

        opt_data.field;


        if (editable) {
          incrementalDom.elementOpenStart('div');
          incrementalDom.attr('class', 'ddm-field-not-found');
          incrementalDom.elementOpenEnd();
          incrementalDom.text('Field doesn\'t exist.');
          incrementalDom.elementClose('div');
        }
      }

      exports.__deltemplate_s2_e5792ebc = __deltemplate_s2_e5792ebc;
      /**
       * @typedef {{
       *  editable: (boolean|null|undefined),
       *  field: (?)
       * }}
       */

      __deltemplate_s2_e5792ebc.Params;

      if (goog.DEBUG) {
        __deltemplate_s2_e5792ebc.soyTemplateName = 'PageRenderer.__deltemplate_s2_e5792ebc';
      }

      soy.$$registerDelegateFn(soy.$$getDelTemplateId('PageRenderer.RegisterFieldType.idom'), '', 0, __deltemplate_s2_e5792ebc);
      exports.templates = templates = exports;
      return exports;
    });
    var _default = templates;
    /* jshint ignore:end */

    exports.default = _default;
    //# sourceMappingURL=PageRenderer.soy.js.map
  }
});
//# sourceMappingURL=PageRenderer.soy.js.map