"use strict";

exports.__esModule = true;
exports.removeEditModelFieldError = exports.setEditModelFieldError = exports.setEditModelErrors = exports.removeEditModelField = exports.removeEditAllModelFields = exports.setFullEntityEditModel = exports.setEditModelField = exports.removeEditModel = exports.removeEditNode = exports.setStateField = exports.setValue = exports.VIEW_REMOVE_EDIT_MODEL_FIELD = exports.VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = exports.VIEW_REMOVE_EDIT_MODEL = exports.VIEW_SET_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_SET_EDIT_MODEL_ERRORS = exports.VIEW_SET_FULL_ENTITY_EDIT_MODEL = exports.VIEW_SET_EDIT_MODEL_FIELD = exports.VIEW_REMOVE_EDIT_NODE = exports.VIEW_SET_FIELD = exports.VIEW_SET = 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 = "VIEW_STATE_SET";
exports.VIEW_SET = VIEW_SET;
var VIEW_SET_FIELD = "VIEW_STATE_SET_FIELD";
exports.VIEW_SET_FIELD = VIEW_SET_FIELD;
var VIEW_REMOVE_EDIT_NODE = "VIEW_REMOVE_EDIT_NODE";
exports.VIEW_REMOVE_EDIT_NODE = VIEW_REMOVE_EDIT_NODE;
var VIEW_SET_EDIT_MODEL_FIELD = "VIEW_SET_EDIT_MODEL_FIELD";
exports.VIEW_SET_EDIT_MODEL_FIELD = VIEW_SET_EDIT_MODEL_FIELD;
var VIEW_SET_FULL_ENTITY_EDIT_MODEL = "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 = "VIEW_SET_EDIT_MODEL_ERRORS";
exports.VIEW_SET_EDIT_MODEL_ERRORS = VIEW_SET_EDIT_MODEL_ERRORS;
var VIEW_SET_EDIT_MODEL_FIELD_ERRORS = "VIEW_SET_EDIT_MODEL_FIELD_ERRORS";
exports.VIEW_SET_EDIT_MODEL_FIELD_ERRORS = VIEW_SET_EDIT_MODEL_FIELD_ERRORS;
var VIEW_REMOVE_EDIT_MODEL = "VIEW_REMOVE_EDIT_MODEL";
exports.VIEW_REMOVE_EDIT_MODEL = VIEW_REMOVE_EDIT_MODEL;
var VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = "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 = "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 = "VIEW_REMOVE_EDIT_MODEL_FIELD";
exports.VIEW_REMOVE_EDIT_MODEL_FIELD = VIEW_REMOVE_EDIT_MODEL_FIELD;

var setValue = function setValue(name, value) {
  return {
    type: VIEW_SET,
    payload: {
      name: name,
      value: value
    }
  };
};

exports.setValue = setValue;

var setStateField = function setStateField(name, field, value) {
  return {
    type: VIEW_SET_FIELD,
    payload: {
      name: name,
      field: field,
      value: value
    }
  };
};

exports.setStateField = setStateField;

var removeEditNode = function removeEditNode(entityId, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_NODE,
    payload: {
      entityId: entityId,
      moduleName: moduleName
    }
  };
};

exports.removeEditNode = removeEditNode;

var removeEditModel = function removeEditModel(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_MODEL,
    payload: {
      entityId: entityId,
      keys: keys,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};

exports.removeEditModel = removeEditModel;

var 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
    }
  };
};

exports.setEditModelField = setEditModelField;

var setFullEntityEditModel = function setFullEntityEditModel(entityFullModel, moduleName) {
  return {
    type: VIEW_SET_FULL_ENTITY_EDIT_MODEL,
    payload: {
      entityFullModel: entityFullModel,
      moduleName: moduleName
    }
  };
};

exports.setFullEntityEditModel = setFullEntityEditModel;

var removeEditAllModelFields = function removeEditAllModelFields(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS,
    payload: {
      keys: keys,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};

exports.removeEditAllModelFields = removeEditAllModelFields;

var 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
    }
  };
};

exports.removeEditModelField = removeEditModelField;

var setEditModelErrors = function setEditModelErrors(errors, entityId, sectionName, moduleName) {
  return {
    type: VIEW_SET_EDIT_MODEL_ERRORS,
    payload: {
      errors: errors,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};

exports.setEditModelErrors = setEditModelErrors;

var 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
    }
  };
};

exports.setEditModelFieldError = setEditModelFieldError;

var removeEditModelFieldError = function removeEditModelFieldError(keys, entityId, sectionName, moduleName) {
  return {
    type: VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS,
    payload: {
      keys: keys,
      entityId: entityId,
      sectionName: sectionName,
      moduleName: moduleName
    }
  };
};

exports.removeEditModelFieldError = removeEditModelFieldError;
;

(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);
})();