abstract-image 7.0.0 → 7.2.3

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.
Files changed (175) hide show
  1. package/CHANGELOG.md +4 -2
  2. package/lib/__stories__/react-svg-export/example-1.stories.d.ts +1 -1
  3. package/lib/__stories__/react-svg-export/example-1.stories.js +5 -1
  4. package/lib/__stories__/react-svg-export/example-1.stories.js.map +1 -1
  5. package/lib/__stories__/svg-export/example-1.stories.d.ts +1 -1
  6. package/lib/__stories__/svg-export/example-1.stories.js +5 -1
  7. package/lib/__stories__/svg-export/example-1.stories.js.map +1 -1
  8. package/lib/exporters/__tests__/dxf2d-export-image/export-test-def.d.ts +1 -1
  9. package/lib/exporters/__tests__/dxf2d-export-image/export-test-def.d.ts.map +1 -1
  10. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-ellipse.js +5 -1
  11. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-ellipse.js.map +1 -1
  12. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-group.js +5 -1
  13. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-group.js.map +1 -1
  14. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-line.js +5 -1
  15. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-line.js.map +1 -1
  16. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-polygon.js +5 -1
  17. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-polygon.js.map +1 -1
  18. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-polyline.js +5 -1
  19. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-polyline.js.map +1 -1
  20. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-rectangle.js +5 -1
  21. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-rectangle.js.map +1 -1
  22. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-text-growth-directions.js +5 -1
  23. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-text-growth-directions.js.map +1 -1
  24. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-text.js +5 -1
  25. package/lib/exporters/__tests__/dxf2d-export-image/test-defs/dxf2d-text.js.map +1 -1
  26. package/lib/exporters/__tests__/eps-export-image/export-test-def.d.ts +1 -1
  27. package/lib/exporters/__tests__/eps-export-image/export-test-def.d.ts.map +1 -1
  28. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-ellipse.js +5 -1
  29. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-ellipse.js.map +1 -1
  30. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-empty-text.js +5 -1
  31. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-empty-text.js.map +1 -1
  32. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-group.js +5 -1
  33. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-group.js.map +1 -1
  34. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-line.js +5 -1
  35. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-line.js.map +1 -1
  36. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-polygon.js +5 -1
  37. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-polygon.js.map +1 -1
  38. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-polyline.js +5 -1
  39. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-polyline.js.map +1 -1
  40. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-rectangle.js +5 -1
  41. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-rectangle.js.map +1 -1
  42. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text-growth-directions.js +5 -1
  43. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text-growth-directions.js.map +1 -1
  44. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text-iso-latin1-encoding.js +5 -1
  45. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text-iso-latin1-encoding.js.map +1 -1
  46. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text.js +5 -1
  47. package/lib/exporters/__tests__/eps-export-image/test-defs/eps-text.js.map +1 -1
  48. package/lib/exporters/__tests__/exception/png-unsupported.test.js +5 -1
  49. package/lib/exporters/__tests__/exception/png-unsupported.test.js.map +1 -1
  50. package/lib/exporters/__tests__/exception/react-svg-direction-exception.test.js +19 -17
  51. package/lib/exporters/__tests__/exception/react-svg-direction-exception.test.js.map +1 -1
  52. package/lib/exporters/__tests__/exception/svg-direction-exception.test.js +6 -2
  53. package/lib/exporters/__tests__/exception/svg-direction-exception.test.js.map +1 -1
  54. package/lib/exporters/__tests__/png-export-image/export-test-def.d.ts +1 -1
  55. package/lib/exporters/__tests__/png-export-image/export-test-def.d.ts.map +1 -1
  56. package/lib/exporters/__tests__/png-export-image/test-defs/png-createPNG.js +5 -1
  57. package/lib/exporters/__tests__/png-export-image/test-defs/png-createPNG.js.map +1 -1
  58. package/lib/exporters/__tests__/react-svg-export-image/export-test-def.d.ts +1 -1
  59. package/lib/exporters/__tests__/react-svg-export-image/export-test-def.d.ts.map +1 -1
  60. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-png.d.ts.map +1 -1
  61. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-png.js +6 -2
  62. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-png.js.map +1 -1
  63. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-url.d.ts.map +1 -1
  64. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-url.js +6 -2
  65. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-url.js.map +1 -1
  66. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary.d.ts.map +1 -1
  67. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary.js +6 -2
  68. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary.js.map +1 -1
  69. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-callback.js +5 -1
  70. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-callback.js.map +1 -1
  71. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-ellipse.js +6 -2
  72. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-ellipse.js.map +1 -1
  73. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-empty-text.js +6 -2
  74. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-empty-text.js.map +1 -1
  75. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-group.js +6 -2
  76. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-group.js.map +1 -1
  77. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-line.js +6 -2
  78. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-line.js.map +1 -1
  79. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polygon.js +6 -2
  80. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polygon.js.map +1 -1
  81. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polyline.js +6 -2
  82. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polyline.js.map +1 -1
  83. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-rectangle.js +6 -2
  84. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-rectangle.js.map +1 -1
  85. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-subimage.js +6 -2
  86. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-subimage.js.map +1 -1
  87. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-bold.js +6 -2
  88. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-bold.js.map +1 -1
  89. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-growth-directions.js +6 -2
  90. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-growth-directions.js.map +1 -1
  91. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-italic.js +7 -3
  92. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-italic.js.map +1 -1
  93. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-sub.js +6 -2
  94. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-sub.js.map +1 -1
  95. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text.js +6 -2
  96. package/lib/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text.js.map +1 -1
  97. package/lib/exporters/__tests__/svg-export-image/export-test-def.d.ts +1 -1
  98. package/lib/exporters/__tests__/svg-export-image/export-test-def.d.ts.map +1 -1
  99. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-binary.js +5 -1
  100. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-binary.js.map +1 -1
  101. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-ellipse.js +5 -1
  102. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-ellipse.js.map +1 -1
  103. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-empty-text.js +5 -1
  104. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-empty-text.js.map +1 -1
  105. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-group.js +5 -1
  106. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-group.js.map +1 -1
  107. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-line.js +5 -1
  108. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-line.js.map +1 -1
  109. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-polygon.js +5 -1
  110. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-polygon.js.map +1 -1
  111. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-polyline.js +5 -1
  112. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-polyline.js.map +1 -1
  113. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-rectangle.js +5 -1
  114. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-rectangle.js.map +1 -1
  115. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-bold.js +5 -1
  116. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-bold.js.map +1 -1
  117. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-growth-directions.js +5 -1
  118. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-growth-directions.js.map +1 -1
  119. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-italic.js +5 -1
  120. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text-italic.js.map +1 -1
  121. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text.js +5 -1
  122. package/lib/exporters/__tests__/svg-export-image/test-defs/svg-text.js.map +1 -1
  123. package/lib/exporters/dxf2d-export-image.js +5 -1
  124. package/lib/exporters/dxf2d-export-image.js.map +1 -1
  125. package/lib/exporters/eps-export-image.js.map +1 -1
  126. package/lib/exporters/index.js +5 -1
  127. package/lib/exporters/index.js.map +1 -1
  128. package/lib/exporters/png-export-image.js.map +1 -1
  129. package/lib/exporters/react-svg-export-image.d.ts +1 -1
  130. package/lib/exporters/react-svg-export-image.d.ts.map +1 -1
  131. package/lib/exporters/react-svg-export-image.js +29 -57
  132. package/lib/exporters/react-svg-export-image.js.map +1 -1
  133. package/lib/exporters/svg-export-image.js +8 -10
  134. package/lib/exporters/svg-export-image.js.map +1 -1
  135. package/lib/index.js +5 -1
  136. package/lib/index.js.map +1 -1
  137. package/lib/model/__tests__/color/export-test-def.d.ts +1 -1
  138. package/lib/model/__tests__/color/export-test-def.d.ts.map +1 -1
  139. package/lib/model/__tests__/color/test-defs/color-from-string.js +5 -1
  140. package/lib/model/__tests__/color/test-defs/color-from-string.js.map +1 -1
  141. package/lib/model/__tests__/color/test-defs/color-to-string.js +5 -1
  142. package/lib/model/__tests__/color/test-defs/color-to-string.js.map +1 -1
  143. package/lib/model/__tests__/color/test-defs/color-undefined-2.js +5 -1
  144. package/lib/model/__tests__/color/test-defs/color-undefined-2.js.map +1 -1
  145. package/lib/model/__tests__/color/test-defs/color-undefined.js +5 -1
  146. package/lib/model/__tests__/color/test-defs/color-undefined.js.map +1 -1
  147. package/lib/model/color.js.map +1 -1
  148. package/lib/model/component.d.ts +6 -6
  149. package/lib/model/component.d.ts.map +1 -1
  150. package/lib/model/component.js +19 -19
  151. package/lib/model/component.js.map +1 -1
  152. package/lib/model/index.js +5 -1
  153. package/lib/model/index.js.map +1 -1
  154. package/package.json +2 -2
  155. package/src/exporters/__tests__/exception/react-svg-direction-exception.test.tsx +55 -56
  156. package/src/exporters/__tests__/exception/svg-direction-exception.test.tsx +1 -3
  157. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-png.tsx +2 -1
  158. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary-url.tsx +2 -1
  159. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-binary.tsx +2 -1
  160. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-ellipse.tsx +1 -1
  161. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-empty-text.tsx +1 -1
  162. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-group.tsx +1 -1
  163. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-line.tsx +1 -1
  164. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polygon.tsx +1 -1
  165. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polyline.tsx +1 -1
  166. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-rectangle.tsx +1 -1
  167. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-subimage.tsx +1 -1
  168. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-bold.tsx +1 -1
  169. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-growth-directions.tsx +1 -1
  170. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-italic.tsx +2 -2
  171. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-sub.tsx +1 -1
  172. package/src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text.tsx +1 -1
  173. package/src/exporters/react-svg-export-image.tsx +80 -80
  174. package/src/exporters/svg-export-image.ts +3 -21
  175. package/src/model/component.ts +14 -18
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -32,6 +36,6 @@ const svg = AbstractImage.createReactSvg(image);
32
36
  exports.test = {
33
37
  name: "react svg group",
34
38
  abstractImage: svg,
35
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"g","key":"0","ref":null,"props":{"name":"group","children":[{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"middle","fontSize":"12px","fontWeight":"normal","fontFamily":"Helvetica","fill":"rgb(0,0,0)"},"transform":"rotate(0 200 200)","children":[{"type":"tspan","key":"Test","ref":null,"props":{"x":200,"y":206,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Test"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"rect","key":"1","ref":null,"props":{"x":10,"y":50,"width":40,"height":10,"stroke":"rgb(0,0,255)","strokeWidth":2,"strokeOpacity":"1","fillOpacity":"1","fill":"rgb(255,0,0)"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
39
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"group","name":"group","children":[{"type":"text","position":{"x":200,"y":200},"text":"Test","fontFamily":"Helvetica","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"normal","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"uniform","verticalGrowthDirection":"uniform","strokeThickness":0,"strokeColor":{"a":255,"r":0,"g":0,"b":0},"italic":false},{"type":"rectangle","topLeft":{"x":10,"y":50},"bottomRight":{"x":50,"y":60},"strokeColor":{"a":255,"r":0,"g":0,"b":255},"strokeThickness":2,"fillColor":{"a":255,"r":255,"g":0,"b":0}}]}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
40
  };
37
41
  //# sourceMappingURL=react-svg-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-group.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-group.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,WAAW,CAAC,OAAO,EAAE;QACjC,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,MAAM,EACN,WAAW,EACX,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,KAAK,EACnB,KAAK,CACN;QACD,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;KACF,CAAC;CACH,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,iBAAiB;IACvB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,o5BAAo5B;CACv5B,CAAC"}
1
+ {"version":3,"file":"react-svg-group.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-group.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,WAAW,CAAC,OAAO,EAAE;QACjC,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,MAAM,EACN,WAAW,EACX,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,KAAK,EACnB,KAAK,CACN;QACD,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;KACF,CAAC;CACH,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,iBAAiB;IACvB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,uzBAAuzB;CAC1zB,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,6 +33,6 @@ const svg = AbstractImage.createReactSvg(image);
29
33
  exports.test = {
30
34
  name: "react svg line",
31
35
  abstractImage: svg,
32
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"line","key":"0","ref":null,"props":{"x1":10,"y1":100,"x2":40,"y2":70,"stroke":"rgb(0,0,0)","strokeWidth":2,"strokeOpacity":"1"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"line","start":{"x":10,"y":100},"end":{"x":40,"y":70},"strokeColor":{"a":255,"r":0,"g":0,"b":0},"strokeThickness":2}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
33
37
  };
34
38
  //# sourceMappingURL=react-svg-line.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-line.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-line.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,mUAAmU;CACtU,CAAC"}
1
+ {"version":3,"file":"react-svg-line.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-line.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,mWAAmW;CACtW,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -35,6 +39,6 @@ const svg = AbstractImage.createReactSvg(image);
35
39
  exports.test = {
36
40
  name: "react svg polygon",
37
41
  abstractImage: svg,
38
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"polygon","key":"0","ref":null,"props":{"points":"110,10 100,20 110,30 100,40 110,50","stroke":"rgb(0,0,255)","strokeWidth":2,"strokeOpacity":"1","fillOpacity":"1","fill":"rgb(255,0,0)"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
42
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"polygon","points":[{"x":110,"y":10},{"x":100,"y":20},{"x":110,"y":30},{"x":100,"y":40},{"x":110,"y":50}],"strokeColor":{"a":255,"r":0,"g":0,"b":255},"strokeThickness":2,"fillColor":{"a":255,"r":255,"g":0,"b":0}}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
39
43
  };
40
44
  //# sourceMappingURL=react-svg-polygon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-polygon.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polygon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,aAAa,CACzB;QACE,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;KACnC,EACD,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,mBAAmB;IACzB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,6XAA6X;CAChY,CAAC"}
1
+ {"version":3,"file":"react-svg-polygon.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polygon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,aAAa,CACzB;QACE,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;QAClC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;KACnC,EACD,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,mBAAmB;IACzB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,mcAAmc;CACtc,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -37,6 +41,6 @@ const svg = AbstractImage.createReactSvg(image);
37
41
  exports.test = {
38
42
  name: "react svg polyline",
39
43
  abstractImage: svg,
40
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"polyline","key":"0","ref":null,"props":{"points":"10,40 20,30 30,40 40,30 50,40 60,30 70,40","stroke":"rgb(0,0,0)","strokeWidth":2,"strokeOpacity":"1","fill":"none"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
44
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"polyline","points":[{"x":10,"y":40},{"x":20,"y":30},{"x":30,"y":40},{"x":40,"y":30},{"x":50,"y":40},{"x":60,"y":30},{"x":70,"y":40}],"strokeColor":{"a":255,"r":0,"g":0,"b":0},"strokeThickness":2}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
41
45
  };
42
46
  //# sourceMappingURL=react-svg-polyline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-polyline.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polyline.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,cAAc,CAC1B;QACE,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;KAClC,EACD,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,yWAAyW;CAC5W,CAAC"}
1
+ {"version":3,"file":"react-svg-polyline.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-polyline.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,cAAc,CAC1B;QACE,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;QACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC;KAClC,EACD,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,mbAAmb;CACtb,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,6 +33,6 @@ const svg = AbstractImage.createReactSvg(image);
29
33
  exports.test = {
30
34
  name: "react svg rectangle",
31
35
  abstractImage: svg,
32
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"rect","key":"0","ref":null,"props":{"x":10,"y":50,"width":40,"height":10,"stroke":"rgb(0,0,255)","strokeWidth":2,"strokeOpacity":"1","fillOpacity":"1","fill":"rgb(255,0,0)"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"rectangle","topLeft":{"x":10,"y":50},"bottomRight":{"x":50,"y":60},"strokeColor":{"a":255,"r":0,"g":0,"b":255},"strokeThickness":2,"fillColor":{"a":255,"r":255,"g":0,"b":0}}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
33
37
  };
34
38
  //# sourceMappingURL=react-svg-rectangle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-rectangle.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-rectangle.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,iXAAiX;CACpX,CAAC"}
1
+ {"version":3,"file":"react-svg-rectangle.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-rectangle.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,6ZAA6Z;CACha,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -28,6 +32,6 @@ const svg = AbstractImage.createReactSvg(image);
28
32
  exports.test = {
29
33
  name: "react svg subimage",
30
34
  abstractImage: svg,
31
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[]},"_owner":null,"_store":{}}',
35
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"subimage","topLeft":{"x":10,"y":10},"image":{"type":"text","position":{"x":10,"y":10},"text":"","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
32
36
  };
33
37
  //# sourceMappingURL=react-svg-subimage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-subimage.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-subimage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,QAAQ,GAAG,aAAa,CAAC,UAAU,CACvC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,EAAE,EACF,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE/F,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,gKAAgK;CACnK,CAAC"}
1
+ {"version":3,"file":"react-svg-subimage.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-subimage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,QAAQ,GAAG,aAAa,CAAC,UAAU,CACvC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,EAAE,EACF,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE/F,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,0nBAA0nB;CAC7nB,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -30,6 +34,6 @@ const svg = AbstractImage.createReactSvg(image);
30
34
  exports.test = {
31
35
  name: "react svg text bold",
32
36
  abstractImage: svg,
33
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"text","key":"0shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
37
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}},{"key":"1","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"mediumBold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
34
38
  };
35
39
  //# sourceMappingURL=react-svg-text-bold.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-text-bold.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-bold.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,YAAY,EACZ,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,m+DAAm+D;CACt+D,CAAC"}
1
+ {"version":3,"file":"react-svg-text-bold.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-bold.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,YAAY,EACZ,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,qgCAAqgC;CACxgC,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -32,6 +36,6 @@ const svg = AbstractImage.createReactSvg(image);
32
36
  exports.test = {
33
37
  name: "react svg text growth directions",
34
38
  abstractImage: svg,
35
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"text","key":"0shadow","ref":null,"props":{"style":{"textAnchor":"end","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":10,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"end","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":10,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1shadow","ref":null,"props":{"style":{"textAnchor":"middle","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 30)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":36,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1","ref":null,"props":{"style":{"textAnchor":"middle","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 30)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":36,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"2shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 50)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":62,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"2","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 50)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":62,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"3shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 70)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":82,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"3","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 70)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":82,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
39
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"left","verticalGrowthDirection":"up","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}},{"key":"1","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":30},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"uniform","verticalGrowthDirection":"uniform","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}},{"key":"2","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":50},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"left","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}},{"key":"3","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":70},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"right","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
40
  };
37
41
  //# sourceMappingURL=react-svg-text-growth-directions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-text-growth-directions.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-growth-directions.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,MAAM,EACN,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,OAAO,EACP,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,kCAAkC;IACxC,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,qyHAAqyH;CACxyH,CAAC"}
1
+ {"version":3,"file":"react-svg-text-growth-directions.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-growth-directions.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,MAAM,EACN,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,OAAO,EACP,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,kCAAkC;IACxC,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,81DAA81D;CACj2D,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,8 +33,8 @@ const components = [
29
33
  const image = AbstractImage.createAbstractImage(AbstractImage.createPoint(0, 0), AbstractImage.createSize(400, 400), AbstractImage.white, components);
30
34
  const svg = AbstractImage.createReactSvg(image);
31
35
  exports.test = {
32
- name: "react svg text bold",
36
+ name: "react svg text italic",
33
37
  abstractImage: svg,
34
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"text","key":"0shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"normal","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"normal","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 20 20)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":20,"y":32,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"1","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 20 20)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":20,"y":32,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"2shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 30 30)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":30,"y":42,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"2","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 30 30)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":30,"y":42,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
38
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"normal","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":true}},"_owner":null,"_store":{}},{"key":"1","ref":null,"props":{"component":{"type":"text","position":{"x":20,"y":20},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":true}},"_owner":null,"_store":{}},{"key":"2","ref":null,"props":{"component":{"type":"text","position":{"x":30,"y":30},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"mediumBold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":true}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
35
39
  };
36
40
  //# sourceMappingURL=react-svg-text-italic.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-text-italic.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-italic.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,YAAY,EACZ,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,y4FAAy4F;CAC54F,CAAC"}
1
+ {"version":3,"file":"react-svg-text-italic.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-italic.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;IACD,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,YAAY,EACZ,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,IAAI,CACL;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,uBAAuB;IAC7B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,o7CAAo7C;CACv7C,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,6 +33,6 @@ const svg = AbstractImage.createReactSvg(image);
29
33
  exports.test = {
30
34
  name: "react svg text sub",
31
35
  abstractImage: svg,
32
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"text","key":"0shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello <sub>World</sub>","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello "},"_owner":null,"_store":{}},{"type":"tspan","key":"1","ref":null,"props":{"baselineShift":"sub","style":{"fontSize":"9.600000000000001px"},"children":"World"},"_owner":null,"_store":{}},{"type":"tspan","key":"2","ref":null,"props":{"children":""},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"bold","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello <sub>World</sub>","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello "},"_owner":null,"_store":{}},{"type":"tspan","key":"1","ref":null,"props":{"baselineShift":"sub","style":{"fontSize":"9.600000000000001px"},"children":"World"},"_owner":null,"_store":{}},{"type":"tspan","key":"2","ref":null,"props":{"children":""},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello <sub>World</sub>","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"bold","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
33
37
  };
34
38
  //# sourceMappingURL=react-svg-text-sub.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-text-sub.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-sub.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,wBAAwB,EACxB,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,yjDAAyjD;CAC5jD,CAAC"}
1
+ {"version":3,"file":"react-svg-text-sub.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text-sub.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,wBAAwB,EACxB,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,oBAAoB;IAC1B,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,0lBAA0lB;CAC7lB,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -29,6 +33,6 @@ const svg = AbstractImage.createReactSvg(image);
29
33
  exports.test = {
30
34
  name: "react svg text",
31
35
  abstractImage: svg,
32
- expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"type":"text","key":"0shadow","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"normal","fontFamily":"Arial","stroke":"rgb(255,0,0)","strokeWidth":2},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}},{"type":"text","key":"0","ref":null,"props":{"style":{"textAnchor":"start","fontSize":"12px","fontWeight":"normal","fontFamily":"Arial","fill":"rgb(0,0,0)"},"transform":"rotate(0 10 10)","children":[{"type":"tspan","key":"Hello World","ref":null,"props":{"x":10,"y":22,"height":"12px","children":[{"type":"tspan","key":"0","ref":null,"props":{"children":"Hello World"},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
36
+ expectedSerializedJsx: '{"type":"svg","key":null,"ref":null,"props":{"id":"ai_root","width":"400px","height":"400px","viewBox":"0 0 400 400","children":[{"key":"0","ref":null,"props":{"component":{"type":"text","position":{"x":10,"y":10},"text":"Hello World","fontFamily":"Arial","fontSize":12,"textColor":{"a":255,"r":0,"g":0,"b":0},"fontWeight":"normal","clockwiseRotationDegrees":0,"textAlignment":"center","horizontalGrowthDirection":"right","verticalGrowthDirection":"down","strokeThickness":2,"strokeColor":{"a":255,"r":255,"g":0,"b":0},"italic":false}},"_owner":null,"_store":{}}]},"_owner":null,"_store":{}}',
33
37
  };
34
38
  //# sourceMappingURL=react-svg-text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-svg-text.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,qkCAAqkC;CACxkC,CAAC"}
1
+ {"version":3,"file":"react-svg-text.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/react-svg-export-image/test-defs/react-svg-text.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,EACb,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnC,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,qBAAqB,EACnB,ilBAAilB;CACplB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Defines a data-type that represents a single test for the Docx render function
3
3
  */
4
- export declare type ExportTestDef = {
4
+ export type ExportTestDef = {
5
5
  readonly name: string;
6
6
  readonly only?: boolean;
7
7
  readonly skip?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"export-test-def.d.ts","sourceRoot":"","sources":["../../../../src/exporters/__tests__/svg-export-image/export-test-def.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oBAAY,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"export-test-def.d.ts","sourceRoot":"","sources":["../../../../src/exporters/__tests__/svg-export-image/export-test-def.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"svg-binary.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-binary.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG,kqjCAAkqjC,CAAC;AAEtrjC,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CACjD,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,KAAK,EACL,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAC5D,CAAC;AACF,MAAM,aAAa,GAAG,aAAa,CAAC,mBAAmB,CACrD,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,CAAC,WAAW,CAAC,CACd,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACnD,qCAAqC;AACxB,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,0KAA0K,UAAU,kBAAkB;CACtN,CAAC"}
1
+ {"version":3,"file":"svg-binary.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-binary.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG,kqjCAAkqjC,CAAC;AAEtrjC,MAAM,WAAW,GAAG,aAAa,CAAC,iBAAiB,CACjD,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,KAAK,EACL,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAC5D,CAAC;AACF,MAAM,aAAa,GAAG,aAAa,CAAC,mBAAmB,CACrD,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,CAAC,WAAW,CAAC,CACd,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACnD,qCAAqC;AACxB,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,0KAA0K,UAAU,kBAAkB;CACtN,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"svg-ellipse.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-ellipse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,aAAa,CACzB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,aAAa,CAAC,KAAK,EACnB,CAAC,EACD,aAAa,CAAC,MAAM,CACrB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,2PAA2P;CAC9P,CAAC"}
1
+ {"version":3,"file":"svg-ellipse.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-ellipse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,aAAa,CACzB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,aAAa,CAAC,KAAK,EACnB,CAAC,EACD,aAAa,CAAC,MAAM,CACrB;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,aAAa;IACnB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,2PAA2P;CAC9P,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"svg-empty-text.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-empty-text.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,EAAE,EACF,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,mGAAmG;CACnH,CAAC"}
1
+ {"version":3,"file":"svg-empty-text.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-empty-text.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,EAAE,EACF,OAAO,EACP,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,MAAM,EACN,CAAC,EACD,QAAQ,EACR,OAAO,EACP,MAAM,EACN,CAAC,EACD,aAAa,CAAC,GAAG,EACjB,KAAK,CACN;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,gBAAgB;IACtB,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,mGAAmG;CACnH,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"svg-group.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-group.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,WAAW,CAAC,OAAO,EAAE;QACjC,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,MAAM,EACN,WAAW,EACX,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,KAAK,EACnB,KAAK,CACN;QACD,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;KACF,CAAC;CACH,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,WAAW;IACjB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,6dAA6d;CAChe,CAAC"}
1
+ {"version":3,"file":"svg-group.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-group.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,WAAW,CAAC,OAAO,EAAE;QACjC,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EACnC,MAAM,EACN,WAAW,EACX,EAAE,EACF,aAAa,CAAC,KAAK,EACnB,QAAQ,EACR,CAAC,EACD,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,aAAa,CAAC,KAAK,EACnB,KAAK,CACN;QACD,aAAa,CAAC,eAAe,CAC3B,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,IAAI,EAClB,CAAC,EACD,aAAa,CAAC,GAAG,CAClB;KACF,CAAC;CACH,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,WAAW;IACjB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,6dAA6d;CAChe,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"svg-line.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-line.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,UAAU;IAChB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,2MAA2M;CAC9M,CAAC"}
1
+ {"version":3,"file":"svg-line.js","sourceRoot":"","sources":["../../../../../src/exporters/__tests__/svg-export-image/test-defs/svg-line.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAA0D;AAE1D,MAAM,UAAU,GAAG;IACjB,aAAa,CAAC,UAAU,CACtB,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,CAAC,EACjC,aAAa,CAAC,KAAK,EACnB,CAAC,CACF;CACF,CAAC;AACF,MAAM,KAAK,GAAG,aAAa,CAAC,mBAAmB,CAC7C,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/B,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAClC,aAAa,CAAC,KAAK,EACnB,UAAU,CACX,CAAC;AAEF,MAAM,GAAG,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAE9B,QAAA,IAAI,GAAkB;IACjC,IAAI,EAAE,UAAU;IAChB,aAAa,EAAE,GAAG;IAClB,aAAa,EACX,2MAA2M;CAC9M,CAAC"}