"use strict";

exports.__esModule = true;
exports.setValue = exports.setStateField = exports.setFullEntityEditModel = exports.setEditModelFieldError = exports.setEditModelField = exports.setEditModelErrors = exports.removeEditNode = exports.removeEditModelFieldError = exports.removeEditModelField = exports.removeEditModel = exports.removeEditAllModelFields = exports.VIEW_SET_FULL_ENTITY_EDIT_MODEL = exports.VIEW_SET_FIELD = exports.VIEW_SET_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_SET_EDIT_MODEL_FIELD = exports.VIEW_SET_EDIT_MODEL_ERRORS = exports.VIEW_SET = exports.VIEW_REMOVE_EDIT_NODE = exports.VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_REMOVE_EDIT_MODEL_FIELD = exports.VIEW_REMOVE_EDIT_MODEL = exports.VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = void 0;
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};
var VIEW_SET = exports.VIEW_SET = "VIEW_STATE_SET";
var VIEW_SET_FIELD = exports.VIEW_SET_FIELD = "VIEW_STATE_SET_FIELD";
var VIEW_REMOVE_EDIT_NODE = exports.VIEW_REMOVE_EDIT_NODE = "VIEW_REMOVE_EDIT_NODE";
var VIEW_SET_EDIT_MODEL_FIELD = exports.VIEW_SET_EDIT_MODEL_FIELD = "VIEW_SET_EDIT_MODEL_FIELD";
var VIEW_SET_FULL_ENTITY_EDIT_MODEL = exports.VIEW_SET_FULL_ENTITY_EDIT_MODEL = "VIEW_SET_FULL_ENTITY_EDIT_MODEL";
var VIEW_SET_EDIT_MODEL_ERRORS = exports.VIEW_SET_EDIT_MODEL_ERRORS = "VIEW_SET_EDIT_MODEL_ERRORS";
var VIEW_SET_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_SET_EDIT_MODEL_FIELD_ERRORS = "VIEW_SET_EDIT_MODEL_FIELD_ERRORS";
var VIEW_REMOVE_EDIT_MODEL = exports.VIEW_REMOVE_EDIT_MODEL = "VIEW_REMOVE_EDIT_MODEL";
var VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = exports.VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = "VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS";
var VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = "VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS";
var VIEW_REMOVE_EDIT_MODEL_FIELD = exports.VIEW_REMOVE_EDIT_MODEL_FIELD = "VIEW_REMOVE_EDIT_MODEL_FIELD";
var setValue = exports.setValue = function setValue(name, value) {
  return {
    type: VIEW_SET,
    payload: {
      name: name,
      value: value
    }
  };
};
var setStateField = exports.setStateField = function setStateField(name, field, value) {
  return {
    type: VIEW_SET_FIELD,
    payload: {
      name: name,
      field: field,
      value: value
    }
  };
};
var removeEditNode = exports.removeEditNode = function removeEditNode(entityId, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_NODE,
    payload: {
      entityId: entityId,
      moduleName: moduleName
    }
  };
};
var removeEditModel = exports.removeEditModel = function removeEditModel(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_MODEL,
    payload: {
      entityId: entityId,
      keys: keys,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var setEditModelField = exports.setEditModelField = function setEditModelField(keys, value, storeValue, entityId, sectionName, moduleName) {
  return {
    type: VIEW_SET_EDIT_MODEL_FIELD,
    payload: {
      keys: keys,
      value: value,
      storeValue: storeValue,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var setFullEntityEditModel = exports.setFullEntityEditModel = function setFullEntityEditModel(entityFullModel, moduleName) {
  return {
    type: VIEW_SET_FULL_ENTITY_EDIT_MODEL,
    payload: {
      entityFullModel: entityFullModel,
      moduleName: moduleName
    }
  };
};
var removeEditAllModelFields = exports.removeEditAllModelFields = function removeEditAllModelFields(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS,
    payload: {
      keys: keys,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var removeEditModelField = exports.removeEditModelField = function removeEditModelField(keys, storeValue, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_MODEL_FIELD,
    payload: {
      keys: keys,
      storeValue: storeValue,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var setEditModelErrors = exports.setEditModelErrors = function setEditModelErrors(errors, entityId, sectionName, moduleName) {
  return {
    type: VIEW_SET_EDIT_MODEL_ERRORS,
    payload: {
      errors: errors,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var setEditModelFieldError = exports.setEditModelFieldError = function setEditModelFieldError(keys, error, entityId, sectionName, moduleName) {
  return {
    type: VIEW_SET_EDIT_MODEL_FIELD_ERRORS,
    payload: {
      keys: keys,
      error: error,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
var removeEditModelFieldError = exports.removeEditModelFieldError = function removeEditModelFieldError(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS,
    payload: {
      keys: keys,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(VIEW_SET, "VIEW_SET", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_FIELD, "VIEW_SET_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_NODE, "VIEW_REMOVE_EDIT_NODE", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_FIELD, "VIEW_SET_EDIT_MODEL_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_FULL_ENTITY_EDIT_MODEL, "VIEW_SET_FULL_ENTITY_EDIT_MODEL", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_ERRORS, "VIEW_SET_EDIT_MODEL_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_FIELD_ERRORS, "VIEW_SET_EDIT_MODEL_FIELD_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL, "VIEW_REMOVE_EDIT_MODEL", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS, "VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS, "VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL_FIELD, "VIEW_REMOVE_EDIT_MODEL_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setValue, "setValue", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setStateField, "setStateField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditNode, "removeEditNode", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModel, "removeEditModel", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelField, "setEditModelField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setFullEntityEditModel, "setFullEntityEditModel", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditAllModelFields, "removeEditAllModelFields", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModelField, "removeEditModelField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelErrors, "setEditModelErrors", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelFieldError, "setEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModelFieldError, "removeEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(VIEW_SET, "VIEW_SET", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_FIELD, "VIEW_SET_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_NODE, "VIEW_REMOVE_EDIT_NODE", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_FIELD, "VIEW_SET_EDIT_MODEL_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_FULL_ENTITY_EDIT_MODEL, "VIEW_SET_FULL_ENTITY_EDIT_MODEL", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_ERRORS, "VIEW_SET_EDIT_MODEL_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_SET_EDIT_MODEL_FIELD_ERRORS, "VIEW_SET_EDIT_MODEL_FIELD_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL, "VIEW_REMOVE_EDIT_MODEL", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS, "VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS, "VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(VIEW_REMOVE_EDIT_MODEL_FIELD, "VIEW_REMOVE_EDIT_MODEL_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setValue, "setValue", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setStateField, "setStateField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditNode, "removeEditNode", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModel, "removeEditModel", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelField, "setEditModelField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setFullEntityEditModel, "setFullEntityEditModel", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditAllModelFields, "removeEditAllModelFields", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModelField, "removeEditModelField", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelErrors, "setEditModelErrors", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(setEditModelFieldError, "setEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
  reactHotLoader.register(removeEditModelFieldError, "removeEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();