defaults.cjs 661 B

1234567891011121314151617181920212223242526272829
  1. 'use strict';
  2. const defaultIconDimensions = Object.freeze(
  3. {
  4. left: 0,
  5. top: 0,
  6. width: 16,
  7. height: 16
  8. }
  9. );
  10. const defaultIconTransformations = Object.freeze({
  11. rotate: 0,
  12. vFlip: false,
  13. hFlip: false
  14. });
  15. const defaultIconProps = Object.freeze({
  16. ...defaultIconDimensions,
  17. ...defaultIconTransformations
  18. });
  19. const defaultExtendedIconProps = Object.freeze({
  20. ...defaultIconProps,
  21. body: "",
  22. hidden: false
  23. });
  24. exports.defaultExtendedIconProps = defaultExtendedIconProps;
  25. exports.defaultIconDimensions = defaultIconDimensions;
  26. exports.defaultIconProps = defaultIconProps;
  27. exports.defaultIconTransformations = defaultIconTransformations;