@myoc/common 0.19.511 → 0.19.513

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dev/index.js CHANGED
@@ -1826,6 +1826,10 @@ var EXPORT_SCALES = [1, 2, 3];
1826
1826
  var DEFAULT_EXPORT_PADDING = 10;
1827
1827
  var DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT = 1440;
1828
1828
  var MAX_ALLOWED_FILE_BYTES = 100 * 1024 * 1024;
1829
+ var DEFAULT_IMAGE_OPTIONS = {
1830
+ maxWidthOrHeight: DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT,
1831
+ maxFileSizeBytes: MAX_ALLOWED_FILE_BYTES
1832
+ };
1829
1833
  var SVG_NS = "http://www.w3.org/2000/svg";
1830
1834
  var SVG_DOCUMENT_PREAMBLE = `<?xml version="1.0" standalone="no"?>
1831
1835
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
@@ -3539,6 +3543,7 @@ export {
3539
3543
  DEFAULT_FONT_SIZE,
3540
3544
  DEFAULT_GRID_SIZE,
3541
3545
  DEFAULT_GRID_STEP,
3546
+ DEFAULT_IMAGE_OPTIONS,
3542
3547
  DEFAULT_LASER_COLOR,
3543
3548
  DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT,
3544
3549
  DEFAULT_PROPORTIONAL_RADIUS,