model.js 349 B

12345678910111213141516171819202122232425
  1. import { getElementId } from "../../plugins/utils";
  2. const MODEL = {
  3. type: "GRIDS",
  4. x: 0,
  5. y: 0,
  6. w: 300,
  7. h: 130,
  8. sign: "",
  9. columnSize: 43,
  10. columnCount: 16,
  11. rowCount: 3,
  12. rowSpace: 0,
  13. halving: true,
  14. style: "solid"
  15. };
  16. const getModel = () => {
  17. return {
  18. id: getElementId(),
  19. ...MODEL
  20. };
  21. };
  22. export { MODEL, getModel };