text: "use strict";
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  const Form_1 = __importDefault(require("../Form"));
  class RowForm extends Form_1.default {
      // constructor(data, parent) {
      //     super(data, parent);
      //     // console.log('RowForm.constructor', this.getFullName());
      // }
      // async fill(context) {
      //     console.log('RowForm.fill', this.constructor.name, this.getFullName());
      //     return super.fill(context);
      // }
      isNewMode(context) {
          if (this.isAttr('newMode')) {
              const newMode = this.getAttr('newMode');
              if (newMode === 'true')
                  return true;
              if (newMode === 'false')
                  return false;
          }
          return super.isNewMode(context);
      }
      fillAttributes(response) {
          super.fillAttributes(response);
          response.newMode = this.getAttr('newMode');
          response.refreshButton = this.getAttr('refreshButton');
      }
  }
  module.exports = RowForm;
  