@solostylist/image-editor 1.0.10 → 1.0.12

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 (647) hide show
  1. package/lib/actions/duplicate-annotations.js +1 -1
  2. package/lib/actions/redo.js +1 -1
  3. package/lib/actions/reset.js +2 -2
  4. package/lib/actions/select-tab.js +2 -2
  5. package/lib/actions/set-annotation.js +1 -1
  6. package/lib/actions/set-canvas-size.js +1 -1
  7. package/lib/actions/set-crop.js +1 -1
  8. package/lib/actions/toggle-flip.js +1 -1
  9. package/lib/actions/undo.js +1 -1
  10. package/lib/actions/update-state.js +1 -1
  11. package/lib/actions/zoom-canvas.js +3 -3
  12. package/lib/components/app/index.js +14 -14
  13. package/lib/components/assembly-point/index.js +5 -5
  14. package/lib/components/common/annotation-options/annotation-options.constants.js +1 -1
  15. package/lib/components/common/annotation-options/index.js +1 -1
  16. package/lib/components/common/annotation-options/opacity-field.js +1 -1
  17. package/lib/components/common/annotation-options/position-fields.js +3 -3
  18. package/lib/components/common/annotation-options/shadow-fields.js +2 -2
  19. package/lib/components/common/annotation-options/stroke-fields.js +2 -2
  20. package/lib/components/common/button-with-menu/index.js +1 -1
  21. package/lib/components/common/color-input/index.js +2 -2
  22. package/lib/components/common/color-picker-modal/index.js +1 -1
  23. package/lib/components/feedback-popup/index.js +3 -3
  24. package/lib/components/layers/design-layer/annotation-nodes/annotation-nodes.constants.js +1 -1
  25. package/lib/components/layers/design-layer/annotation-nodes/image-node.js +1 -1
  26. package/lib/components/layers/design-layer/annotation-nodes/index.js +1 -1
  27. package/lib/components/layers/design-layer/index.js +8 -8
  28. package/lib/components/layers/transformers-layer/crop-transformer.js +3 -3
  29. package/lib/components/layers/transformers-layer/index.js +2 -2
  30. package/lib/components/layers/transformers-layer/nodes-transformer.js +3 -3
  31. package/lib/components/layers/transformers-layer/transformers-layer.utils.js +3 -3
  32. package/lib/components/main-canvas/canvas-node.js +3 -3
  33. package/lib/components/main-canvas/index.js +5 -5
  34. package/lib/components/main-canvas/touch-zooming-events.js +1 -1
  35. package/lib/components/node-controls/index.js +4 -4
  36. package/lib/components/tabs/index.js +2 -2
  37. package/lib/components/tabs/tabs.constants.js +1 -1
  38. package/lib/components/tabs-drawer/index.js +3 -3
  39. package/lib/components/tools/arrow/arrow-button.js +2 -2
  40. package/lib/components/tools/arrow/arrow-options.js +3 -3
  41. package/lib/components/tools/blur/blur-options.js +3 -3
  42. package/lib/components/tools/blur/blur.js +2 -2
  43. package/lib/components/tools/brightness/brightness-options.js +3 -3
  44. package/lib/components/tools/brightness/brightness.js +2 -2
  45. package/lib/components/tools/contrast/contrast-options.js +3 -3
  46. package/lib/components/tools/contrast/contrast.js +2 -2
  47. package/lib/components/tools/crop/crop.constants.js +2 -2
  48. package/lib/components/tools/crop/crop.js +5 -5
  49. package/lib/components/tools/ellipse/ellipse-button.js +2 -2
  50. package/lib/components/tools/ellipse/ellipse-options.js +3 -3
  51. package/lib/components/tools/filters/filters.constants.js +1 -1
  52. package/lib/components/tools/filters/filters.js +1 -1
  53. package/lib/components/tools/flip/flip-x.js +4 -4
  54. package/lib/components/tools/flip/flip-y.js +4 -4
  55. package/lib/components/tools/hsv/hsv.js +2 -2
  56. package/lib/components/tools/hsv/hsvoptions.js +2 -2
  57. package/lib/components/tools/image/image-button.js +2 -2
  58. package/lib/components/tools/image/image-controls.js +1 -1
  59. package/lib/components/tools/image/image-options.js +5 -5
  60. package/lib/components/tools/image/images-gallery.js +1 -1
  61. package/lib/components/tools/line/line-button.js +2 -2
  62. package/lib/components/tools/line/line-options.js +3 -3
  63. package/lib/components/tools/pen/pen-button.js +2 -2
  64. package/lib/components/tools/pen/pen-options.js +7 -7
  65. package/lib/components/tools/polygon/polygon-button.js +2 -2
  66. package/lib/components/tools/polygon/polygon-options.js +3 -3
  67. package/lib/components/tools/polygon/polygon-sides-field.js +2 -2
  68. package/lib/components/tools/rect/rect-button.js +2 -2
  69. package/lib/components/tools/rect/rect-corner-field.js +2 -2
  70. package/lib/components/tools/rect/rect-options.js +3 -3
  71. package/lib/components/tools/resize/resize.js +7 -7
  72. package/lib/components/tools/rotate/rotate-button.js +2 -2
  73. package/lib/components/tools/rotate/rotate-options.js +6 -6
  74. package/lib/components/tools/text/text-button.js +2 -2
  75. package/lib/components/tools/text/text-options/index.js +2 -2
  76. package/lib/components/tools/text/text-options/text-alignment-fields.js +2 -2
  77. package/lib/components/tools/text/text-options/text-controls.js +6 -6
  78. package/lib/components/tools/text/text-options/text-spacings-fields.js +2 -2
  79. package/lib/components/tools/tools.constants.js +1 -1
  80. package/lib/components/tools/warmth/warmth-options.js +4 -4
  81. package/lib/components/tools/warmth/warmth.js +2 -2
  82. package/lib/components/tools/watermark/watermark-padding.js +3 -3
  83. package/lib/components/tools/watermark/watermark.js +7 -7
  84. package/lib/components/tools/watermark/watermarks-gallery.js +5 -5
  85. package/lib/components/tools-bar/index.js +4 -4
  86. package/lib/components/topbar/canvas-zooming.js +5 -5
  87. package/lib/components/topbar/confirmation-modal.js +3 -3
  88. package/lib/components/topbar/image-dimensions-and-display-toggle.js +3 -3
  89. package/lib/components/topbar/redo-button.js +2 -2
  90. package/lib/components/topbar/reset-button.js +1 -1
  91. package/lib/components/topbar/save-button.js +8 -8
  92. package/lib/components/topbar/undo-button.js +2 -2
  93. package/lib/context/app-provider.js +2 -2
  94. package/lib/context/app-reducer.js +1 -1
  95. package/lib/context/default-config.js +1 -1
  96. package/lib/context/get-initial-app-state.js +3 -3
  97. package/lib/hooks/use-annotation/get-new-annotation-preview.js +1 -1
  98. package/lib/hooks/use-annotation/index.js +5 -5
  99. package/lib/hooks/use-annotation/preview-then-call-annotation-adding.js +3 -3
  100. package/lib/hooks/use-annotation-events.js +2 -2
  101. package/lib/hooks/use-app-reducer.js +2 -2
  102. package/lib/hooks/use-debounced-callback.js +1 -1
  103. package/lib/hooks/use-filter.js +1 -1
  104. package/lib/hooks/use-finetune.js +2 -2
  105. package/lib/hooks/use-store.js +1 -1
  106. package/lib/hooks/use-transformed-img-data.js +6 -6
  107. package/lib/utils/extract-current-design-state.js +2 -2
  108. package/lib/utils/filter-str-to-class.js +1 -1
  109. package/lib/utils/finetunes-strs-to-classes.js +1 -1
  110. package/lib/utils/map-position-string-to-point.js +1 -1
  111. package/lib/utils/serialize-design-state.js +1 -1
  112. package/lib/utils/translator.js +1 -1
  113. package/package.json +1 -1
  114. package/lib/actions/add-filter.d.ts +0 -10
  115. package/lib/actions/add-filter.d.ts.map +0 -1
  116. package/lib/actions/change-pointer-icon.d.ts +0 -6
  117. package/lib/actions/change-pointer-icon.d.ts.map +0 -1
  118. package/lib/actions/change-rotation.d.ts +0 -6
  119. package/lib/actions/change-rotation.d.ts.map +0 -1
  120. package/lib/actions/clear-annotations-selections.d.ts +0 -5
  121. package/lib/actions/clear-annotations-selections.d.ts.map +0 -1
  122. package/lib/actions/duplicate-annotations.d.ts +0 -9
  123. package/lib/actions/duplicate-annotations.d.ts.map +0 -1
  124. package/lib/actions/enable-text-content-edit.d.ts +0 -8
  125. package/lib/actions/enable-text-content-edit.d.ts.map +0 -1
  126. package/lib/actions/hide-loader.d.ts +0 -5
  127. package/lib/actions/hide-loader.d.ts.map +0 -1
  128. package/lib/actions/index.d.ts +0 -40
  129. package/lib/actions/index.d.ts.map +0 -1
  130. package/lib/actions/redo.d.ts +0 -5
  131. package/lib/actions/redo.d.ts.map +0 -1
  132. package/lib/actions/remove-annotations.d.ts +0 -9
  133. package/lib/actions/remove-annotations.d.ts.map +0 -1
  134. package/lib/actions/reset.d.ts +0 -8
  135. package/lib/actions/reset.d.ts.map +0 -1
  136. package/lib/actions/select-annotation.d.ts +0 -6
  137. package/lib/actions/select-annotation.d.ts.map +0 -1
  138. package/lib/actions/select-tab.d.ts +0 -6
  139. package/lib/actions/select-tab.d.ts.map +0 -1
  140. package/lib/actions/select-tool.d.ts +0 -9
  141. package/lib/actions/select-tool.d.ts.map +0 -1
  142. package/lib/actions/set-annotation.d.ts +0 -10
  143. package/lib/actions/set-annotation.d.ts.map +0 -1
  144. package/lib/actions/set-canvas-size.d.ts +0 -6
  145. package/lib/actions/set-canvas-size.d.ts.map +0 -1
  146. package/lib/actions/set-crop.d.ts +0 -9
  147. package/lib/actions/set-crop.d.ts.map +0 -1
  148. package/lib/actions/set-feedback.d.ts +0 -6
  149. package/lib/actions/set-feedback.d.ts.map +0 -1
  150. package/lib/actions/set-finetune.d.ts +0 -11
  151. package/lib/actions/set-finetune.d.ts.map +0 -1
  152. package/lib/actions/set-latest-color.d.ts +0 -6
  153. package/lib/actions/set-latest-color.d.ts.map +0 -1
  154. package/lib/actions/set-original-image.d.ts +0 -6
  155. package/lib/actions/set-original-image.d.ts.map +0 -1
  156. package/lib/actions/set-resize.d.ts +0 -9
  157. package/lib/actions/set-resize.d.ts.map +0 -1
  158. package/lib/actions/set-saved.d.ts +0 -5
  159. package/lib/actions/set-saved.d.ts.map +0 -1
  160. package/lib/actions/set-saving.d.ts +0 -6
  161. package/lib/actions/set-saving.d.ts.map +0 -1
  162. package/lib/actions/set-show-tabs-menu.d.ts +0 -8
  163. package/lib/actions/set-show-tabs-menu.d.ts.map +0 -1
  164. package/lib/actions/set-shown-image-dimensions.d.ts +0 -13
  165. package/lib/actions/set-shown-image-dimensions.d.ts.map +0 -1
  166. package/lib/actions/show-loader.d.ts +0 -5
  167. package/lib/actions/show-loader.d.ts.map +0 -1
  168. package/lib/actions/toggle-flip.d.ts +0 -9
  169. package/lib/actions/toggle-flip.d.ts.map +0 -1
  170. package/lib/actions/toggle-original-image-display.d.ts +0 -8
  171. package/lib/actions/toggle-original-image-display.d.ts.map +0 -1
  172. package/lib/actions/undo.d.ts +0 -5
  173. package/lib/actions/undo.d.ts.map +0 -1
  174. package/lib/actions/update-state.d.ts +0 -7
  175. package/lib/actions/update-state.d.ts.map +0 -1
  176. package/lib/actions/zoom-canvas.d.ts +0 -10
  177. package/lib/actions/zoom-canvas.d.ts.map +0 -1
  178. package/lib/components/app/index.d.ts +0 -3
  179. package/lib/components/app/index.d.ts.map +0 -1
  180. package/lib/components/assembly-point/index.d.ts +0 -9
  181. package/lib/components/assembly-point/index.d.ts.map +0 -1
  182. package/lib/components/common/annotation-options/annotation-options.constants.d.ts +0 -9
  183. package/lib/components/common/annotation-options/annotation-options.constants.d.ts.map +0 -1
  184. package/lib/components/common/annotation-options/index.d.ts +0 -21
  185. package/lib/components/common/annotation-options/index.d.ts.map +0 -1
  186. package/lib/components/common/annotation-options/opacity-field.d.ts +0 -10
  187. package/lib/components/common/annotation-options/opacity-field.d.ts.map +0 -1
  188. package/lib/components/common/annotation-options/position-fields.d.ts +0 -8
  189. package/lib/components/common/annotation-options/position-fields.d.ts.map +0 -1
  190. package/lib/components/common/annotation-options/shadow-fields.d.ts +0 -9
  191. package/lib/components/common/annotation-options/shadow-fields.d.ts.map +0 -1
  192. package/lib/components/common/annotation-options/stroke-fields.d.ts +0 -9
  193. package/lib/components/common/annotation-options/stroke-fields.d.ts.map +0 -1
  194. package/lib/components/common/button-with-menu/index.d.ts +0 -16
  195. package/lib/components/common/button-with-menu/index.d.ts.map +0 -1
  196. package/lib/components/common/color-input/index.d.ts +0 -8
  197. package/lib/components/common/color-input/index.d.ts.map +0 -1
  198. package/lib/components/common/color-picker-modal/index.d.ts +0 -10
  199. package/lib/components/common/color-picker-modal/index.d.ts.map +0 -1
  200. package/lib/components/common/hidden-upload-input/index.d.ts +0 -3
  201. package/lib/components/common/hidden-upload-input/index.d.ts.map +0 -1
  202. package/lib/components/common/icon-wrapper/index.d.ts +0 -16
  203. package/lib/components/common/icon-wrapper/index.d.ts.map +0 -1
  204. package/lib/components/common/image-preview-tile/index.d.ts +0 -14
  205. package/lib/components/common/image-preview-tile/index.d.ts.map +0 -1
  206. package/lib/components/common/slider/index.d.ts +0 -12
  207. package/lib/components/common/slider/index.d.ts.map +0 -1
  208. package/lib/components/feedback-popup/index.d.ts +0 -8
  209. package/lib/components/feedback-popup/index.d.ts.map +0 -1
  210. package/lib/components/layers/design-layer/annotation-nodes/annotation-nodes.constants.d.ts +0 -11
  211. package/lib/components/layers/design-layer/annotation-nodes/annotation-nodes.constants.d.ts.map +0 -1
  212. package/lib/components/layers/design-layer/annotation-nodes/arrow-node.d.ts +0 -15
  213. package/lib/components/layers/design-layer/annotation-nodes/arrow-node.d.ts.map +0 -1
  214. package/lib/components/layers/design-layer/annotation-nodes/ellipse-node.d.ts +0 -14
  215. package/lib/components/layers/design-layer/annotation-nodes/ellipse-node.d.ts.map +0 -1
  216. package/lib/components/layers/design-layer/annotation-nodes/image-node.d.ts +0 -14
  217. package/lib/components/layers/design-layer/annotation-nodes/image-node.d.ts.map +0 -1
  218. package/lib/components/layers/design-layer/annotation-nodes/index.d.ts +0 -3
  219. package/lib/components/layers/design-layer/annotation-nodes/index.d.ts.map +0 -1
  220. package/lib/components/layers/design-layer/annotation-nodes/line-node.d.ts +0 -12
  221. package/lib/components/layers/design-layer/annotation-nodes/line-node.d.ts.map +0 -1
  222. package/lib/components/layers/design-layer/annotation-nodes/memoized-annotation.d.ts +0 -11
  223. package/lib/components/layers/design-layer/annotation-nodes/memoized-annotation.d.ts.map +0 -1
  224. package/lib/components/layers/design-layer/annotation-nodes/polygon-node.d.ts +0 -15
  225. package/lib/components/layers/design-layer/annotation-nodes/polygon-node.d.ts.map +0 -1
  226. package/lib/components/layers/design-layer/annotation-nodes/rect-node.d.ts +0 -16
  227. package/lib/components/layers/design-layer/annotation-nodes/rect-node.d.ts.map +0 -1
  228. package/lib/components/layers/design-layer/annotation-nodes/text-node.d.ts +0 -21
  229. package/lib/components/layers/design-layer/annotation-nodes/text-node.d.ts.map +0 -1
  230. package/lib/components/layers/design-layer/index.d.ts +0 -3
  231. package/lib/components/layers/design-layer/index.d.ts.map +0 -1
  232. package/lib/components/layers/design-layer/nodes-common-prop-types.d.ts +0 -45
  233. package/lib/components/layers/design-layer/nodes-common-prop-types.d.ts.map +0 -1
  234. package/lib/components/layers/design-layer/preview-group.d.ts +0 -3
  235. package/lib/components/layers/design-layer/preview-group.d.ts.map +0 -1
  236. package/lib/components/layers/index.d.ts +0 -3
  237. package/lib/components/layers/index.d.ts.map +0 -1
  238. package/lib/components/layers/transformers-layer/crop-transformer.d.ts +0 -3
  239. package/lib/components/layers/transformers-layer/crop-transformer.d.ts.map +0 -1
  240. package/lib/components/layers/transformers-layer/index.d.ts +0 -3
  241. package/lib/components/layers/transformers-layer/index.d.ts.map +0 -1
  242. package/lib/components/layers/transformers-layer/nodes-transformer.d.ts +0 -3
  243. package/lib/components/layers/transformers-layer/nodes-transformer.d.ts.map +0 -1
  244. package/lib/components/layers/transformers-layer/transformers-layer.utils.d.ts +0 -42
  245. package/lib/components/layers/transformers-layer/transformers-layer.utils.d.ts.map +0 -1
  246. package/lib/components/main-canvas/canvas-node.d.ts +0 -6
  247. package/lib/components/main-canvas/canvas-node.d.ts.map +0 -1
  248. package/lib/components/main-canvas/index.d.ts +0 -3
  249. package/lib/components/main-canvas/index.d.ts.map +0 -1
  250. package/lib/components/main-canvas/touch-zooming-events.d.ts +0 -11
  251. package/lib/components/main-canvas/touch-zooming-events.d.ts.map +0 -1
  252. package/lib/components/node-controls/index.d.ts +0 -3
  253. package/lib/components/node-controls/index.d.ts.map +0 -1
  254. package/lib/components/tabs/index.d.ts +0 -6
  255. package/lib/components/tabs/index.d.ts.map +0 -1
  256. package/lib/components/tabs/tabs.constants.d.ts +0 -9
  257. package/lib/components/tabs/tabs.constants.d.ts.map +0 -1
  258. package/lib/components/tabs-drawer/index.d.ts +0 -6
  259. package/lib/components/tabs-drawer/index.d.ts.map +0 -1
  260. package/lib/components/tools/arrow/arrow-button.d.ts +0 -8
  261. package/lib/components/tools/arrow/arrow-button.d.ts.map +0 -1
  262. package/lib/components/tools/arrow/arrow-options.d.ts +0 -4
  263. package/lib/components/tools/arrow/arrow-options.d.ts.map +0 -1
  264. package/lib/components/tools/arrow/index.d.ts +0 -3
  265. package/lib/components/tools/arrow/index.d.ts.map +0 -1
  266. package/lib/components/tools/blur/blur-options.d.ts +0 -6
  267. package/lib/components/tools/blur/blur-options.d.ts.map +0 -1
  268. package/lib/components/tools/blur/blur.d.ts +0 -8
  269. package/lib/components/tools/blur/blur.d.ts.map +0 -1
  270. package/lib/components/tools/blur/index.d.ts +0 -3
  271. package/lib/components/tools/blur/index.d.ts.map +0 -1
  272. package/lib/components/tools/brightness/brightness-options.d.ts +0 -6
  273. package/lib/components/tools/brightness/brightness-options.d.ts.map +0 -1
  274. package/lib/components/tools/brightness/brightness.d.ts +0 -8
  275. package/lib/components/tools/brightness/brightness.d.ts.map +0 -1
  276. package/lib/components/tools/brightness/index.d.ts +0 -3
  277. package/lib/components/tools/brightness/index.d.ts.map +0 -1
  278. package/lib/components/tools/contrast/contrast-options.d.ts +0 -6
  279. package/lib/components/tools/contrast/contrast-options.d.ts.map +0 -1
  280. package/lib/components/tools/contrast/contrast.d.ts +0 -8
  281. package/lib/components/tools/contrast/contrast.d.ts.map +0 -1
  282. package/lib/components/tools/contrast/index.d.ts +0 -3
  283. package/lib/components/tools/contrast/index.d.ts.map +0 -1
  284. package/lib/components/tools/crop/crop.constants.d.ts +0 -15
  285. package/lib/components/tools/crop/crop.constants.d.ts.map +0 -1
  286. package/lib/components/tools/crop/crop.d.ts +0 -7
  287. package/lib/components/tools/crop/crop.d.ts.map +0 -1
  288. package/lib/components/tools/crop/index.d.ts +0 -2
  289. package/lib/components/tools/crop/index.d.ts.map +0 -1
  290. package/lib/components/tools/ellipse/ellipse-button.d.ts +0 -8
  291. package/lib/components/tools/ellipse/ellipse-button.d.ts.map +0 -1
  292. package/lib/components/tools/ellipse/ellipse-options.d.ts +0 -4
  293. package/lib/components/tools/ellipse/ellipse-options.d.ts.map +0 -1
  294. package/lib/components/tools/ellipse/index.d.ts +0 -3
  295. package/lib/components/tools/ellipse/index.d.ts.map +0 -1
  296. package/lib/components/tools/filters/filter-item.d.ts +0 -10
  297. package/lib/components/tools/filters/filter-item.d.ts.map +0 -1
  298. package/lib/components/tools/filters/filters.constants.d.ts +0 -8
  299. package/lib/components/tools/filters/filters.constants.d.ts.map +0 -1
  300. package/lib/components/tools/filters/filters.d.ts +0 -3
  301. package/lib/components/tools/filters/filters.d.ts.map +0 -1
  302. package/lib/components/tools/filters/index.d.ts +0 -2
  303. package/lib/components/tools/filters/index.d.ts.map +0 -1
  304. package/lib/components/tools/flip/flip-x.d.ts +0 -8
  305. package/lib/components/tools/flip/flip-x.d.ts.map +0 -1
  306. package/lib/components/tools/flip/flip-y.d.ts +0 -8
  307. package/lib/components/tools/flip/flip-y.d.ts.map +0 -1
  308. package/lib/components/tools/flip/index.d.ts +0 -3
  309. package/lib/components/tools/flip/index.d.ts.map +0 -1
  310. package/lib/components/tools/hsv/hsv.d.ts +0 -8
  311. package/lib/components/tools/hsv/hsv.d.ts.map +0 -1
  312. package/lib/components/tools/hsv/hsvoptions.d.ts +0 -6
  313. package/lib/components/tools/hsv/hsvoptions.d.ts.map +0 -1
  314. package/lib/components/tools/hsv/index.d.ts +0 -3
  315. package/lib/components/tools/hsv/index.d.ts.map +0 -1
  316. package/lib/components/tools/image/image-button.d.ts +0 -8
  317. package/lib/components/tools/image/image-button.d.ts.map +0 -1
  318. package/lib/components/tools/image/image-controls.d.ts +0 -13
  319. package/lib/components/tools/image/image-controls.d.ts.map +0 -1
  320. package/lib/components/tools/image/image-options.d.ts +0 -3
  321. package/lib/components/tools/image/image-options.d.ts.map +0 -1
  322. package/lib/components/tools/image/images-gallery.d.ts +0 -14
  323. package/lib/components/tools/image/images-gallery.d.ts.map +0 -1
  324. package/lib/components/tools/image/index.d.ts +0 -3
  325. package/lib/components/tools/image/index.d.ts.map +0 -1
  326. package/lib/components/tools/line/index.d.ts +0 -3
  327. package/lib/components/tools/line/index.d.ts.map +0 -1
  328. package/lib/components/tools/line/line-button.d.ts +0 -8
  329. package/lib/components/tools/line/line-button.d.ts.map +0 -1
  330. package/lib/components/tools/line/line-options.d.ts +0 -4
  331. package/lib/components/tools/line/line-options.d.ts.map +0 -1
  332. package/lib/components/tools/pen/index.d.ts +0 -3
  333. package/lib/components/tools/pen/index.d.ts.map +0 -1
  334. package/lib/components/tools/pen/pen-button.d.ts +0 -8
  335. package/lib/components/tools/pen/pen-button.d.ts.map +0 -1
  336. package/lib/components/tools/pen/pen-options.d.ts +0 -3
  337. package/lib/components/tools/pen/pen-options.d.ts.map +0 -1
  338. package/lib/components/tools/polygon/index.d.ts +0 -3
  339. package/lib/components/tools/polygon/index.d.ts.map +0 -1
  340. package/lib/components/tools/polygon/polygon-button.d.ts +0 -8
  341. package/lib/components/tools/polygon/polygon-button.d.ts.map +0 -1
  342. package/lib/components/tools/polygon/polygon-options.d.ts +0 -4
  343. package/lib/components/tools/polygon/polygon-options.d.ts.map +0 -1
  344. package/lib/components/tools/polygon/polygon-sides-field.d.ts +0 -9
  345. package/lib/components/tools/polygon/polygon-sides-field.d.ts.map +0 -1
  346. package/lib/components/tools/polygon/polygon.constants.d.ts +0 -12
  347. package/lib/components/tools/polygon/polygon.constants.d.ts.map +0 -1
  348. package/lib/components/tools/rect/index.d.ts +0 -3
  349. package/lib/components/tools/rect/index.d.ts.map +0 -1
  350. package/lib/components/tools/rect/rect-button.d.ts +0 -8
  351. package/lib/components/tools/rect/rect-button.d.ts.map +0 -1
  352. package/lib/components/tools/rect/rect-corner-field.d.ts +0 -9
  353. package/lib/components/tools/rect/rect-corner-field.d.ts.map +0 -1
  354. package/lib/components/tools/rect/rect-options.d.ts +0 -4
  355. package/lib/components/tools/rect/rect-options.d.ts.map +0 -1
  356. package/lib/components/tools/rect/rect.constants.d.ts +0 -12
  357. package/lib/components/tools/rect/rect.constants.d.ts.map +0 -1
  358. package/lib/components/tools/resize/index.d.ts +0 -2
  359. package/lib/components/tools/resize/index.d.ts.map +0 -1
  360. package/lib/components/tools/resize/resize.d.ts +0 -13
  361. package/lib/components/tools/resize/resize.d.ts.map +0 -1
  362. package/lib/components/tools/rotate/index.d.ts +0 -3
  363. package/lib/components/tools/rotate/index.d.ts.map +0 -1
  364. package/lib/components/tools/rotate/rotate-button.d.ts +0 -8
  365. package/lib/components/tools/rotate/rotate-button.d.ts.map +0 -1
  366. package/lib/components/tools/rotate/rotate-options.d.ts +0 -3
  367. package/lib/components/tools/rotate/rotate-options.d.ts.map +0 -1
  368. package/lib/components/tools/text/index.d.ts +0 -3
  369. package/lib/components/tools/text/index.d.ts.map +0 -1
  370. package/lib/components/tools/text/text-button.d.ts +0 -8
  371. package/lib/components/tools/text/text-button.d.ts.map +0 -1
  372. package/lib/components/tools/text/text-options/handle-text-change-area.d.ts +0 -4
  373. package/lib/components/tools/text/text-options/handle-text-change-area.d.ts.map +0 -1
  374. package/lib/components/tools/text/text-options/index.d.ts +0 -4
  375. package/lib/components/tools/text/text-options/index.d.ts.map +0 -1
  376. package/lib/components/tools/text/text-options/text-alignment-fields.d.ts +0 -9
  377. package/lib/components/tools/text/text-options/text-alignment-fields.d.ts.map +0 -1
  378. package/lib/components/tools/text/text-options/text-controls.d.ts +0 -12
  379. package/lib/components/tools/text/text-options/text-controls.d.ts.map +0 -1
  380. package/lib/components/tools/text/text-options/text-options.constants.d.ts +0 -14
  381. package/lib/components/tools/text/text-options/text-options.constants.d.ts.map +0 -1
  382. package/lib/components/tools/text/text-options/text-spacings-fields.d.ts +0 -10
  383. package/lib/components/tools/text/text-options/text-spacings-fields.d.ts.map +0 -1
  384. package/lib/components/tools/tools.constants.d.ts +0 -9
  385. package/lib/components/tools/tools.constants.d.ts.map +0 -1
  386. package/lib/components/tools/warmth/index.d.ts +0 -3
  387. package/lib/components/tools/warmth/index.d.ts.map +0 -1
  388. package/lib/components/tools/warmth/warmth-options.d.ts +0 -7
  389. package/lib/components/tools/warmth/warmth-options.d.ts.map +0 -1
  390. package/lib/components/tools/warmth/warmth.d.ts +0 -8
  391. package/lib/components/tools/warmth/warmth.d.ts.map +0 -1
  392. package/lib/components/tools/watermark/index.d.ts +0 -2
  393. package/lib/components/tools/watermark/index.d.ts.map +0 -1
  394. package/lib/components/tools/watermark/watermark-padding.d.ts +0 -8
  395. package/lib/components/tools/watermark/watermark-padding.d.ts.map +0 -1
  396. package/lib/components/tools/watermark/watermark.d.ts +0 -3
  397. package/lib/components/tools/watermark/watermark.d.ts.map +0 -1
  398. package/lib/components/tools/watermark/watermarks-gallery.d.ts +0 -7
  399. package/lib/components/tools/watermark/watermarks-gallery.d.ts.map +0 -1
  400. package/lib/components/tools-bar/index.d.ts +0 -3
  401. package/lib/components/tools-bar/index.d.ts.map +0 -1
  402. package/lib/components/tools-bar/tools-bar-item-button.d.ts +0 -23
  403. package/lib/components/tools-bar/tools-bar-item-button.d.ts.map +0 -1
  404. package/lib/components/topbar/canvas-zooming.d.ts +0 -3
  405. package/lib/components/topbar/canvas-zooming.d.ts.map +0 -1
  406. package/lib/components/topbar/confirmation-modal.d.ts +0 -8
  407. package/lib/components/topbar/confirmation-modal.d.ts.map +0 -1
  408. package/lib/components/topbar/image-dimensions-and-display-toggle.d.ts +0 -3
  409. package/lib/components/topbar/image-dimensions-and-display-toggle.d.ts.map +0 -1
  410. package/lib/components/topbar/index.d.ts +0 -7
  411. package/lib/components/topbar/index.d.ts.map +0 -1
  412. package/lib/components/topbar/redo-button.d.ts +0 -3
  413. package/lib/components/topbar/redo-button.d.ts.map +0 -1
  414. package/lib/components/topbar/reset-button.d.ts +0 -3
  415. package/lib/components/topbar/reset-button.d.ts.map +0 -1
  416. package/lib/components/topbar/save-button.d.ts +0 -3
  417. package/lib/components/topbar/save-button.d.ts.map +0 -1
  418. package/lib/components/topbar/topbar.constants.d.ts +0 -8
  419. package/lib/components/topbar/topbar.constants.d.ts.map +0 -1
  420. package/lib/components/topbar/undo-button.d.ts +0 -3
  421. package/lib/components/topbar/undo-button.d.ts.map +0 -1
  422. package/lib/context/app-context.d.ts +0 -14
  423. package/lib/context/app-context.d.ts.map +0 -1
  424. package/lib/context/app-provider-overriden-value.d.ts +0 -11
  425. package/lib/context/app-provider-overriden-value.d.ts.map +0 -1
  426. package/lib/context/app-provider.d.ts +0 -10
  427. package/lib/context/app-provider.d.ts.map +0 -1
  428. package/lib/context/app-reducer.d.ts +0 -5
  429. package/lib/context/app-reducer.d.ts.map +0 -1
  430. package/lib/context/default-config.d.ts +0 -4
  431. package/lib/context/default-config.d.ts.map +0 -1
  432. package/lib/context/default-translations.d.ts +0 -3
  433. package/lib/context/default-translations.d.ts.map +0 -1
  434. package/lib/context/get-initial-app-state.d.ts +0 -5
  435. package/lib/context/get-initial-app-state.d.ts.map +0 -1
  436. package/lib/context/index.d.ts +0 -5
  437. package/lib/context/index.d.ts.map +0 -1
  438. package/lib/custom/filters/aden.d.ts +0 -14
  439. package/lib/custom/filters/aden.d.ts.map +0 -1
  440. package/lib/custom/filters/amaro.d.ts +0 -14
  441. package/lib/custom/filters/amaro.d.ts.map +0 -1
  442. package/lib/custom/filters/ashby.d.ts +0 -14
  443. package/lib/custom/filters/ashby.d.ts.map +0 -1
  444. package/lib/custom/filters/base-filters.d.ts +0 -14
  445. package/lib/custom/filters/base-filters.d.ts.map +0 -1
  446. package/lib/custom/filters/black-and-white.d.ts +0 -14
  447. package/lib/custom/filters/black-and-white.d.ts.map +0 -1
  448. package/lib/custom/filters/brannan.d.ts +0 -14
  449. package/lib/custom/filters/brannan.d.ts.map +0 -1
  450. package/lib/custom/filters/brooklyn.d.ts +0 -14
  451. package/lib/custom/filters/brooklyn.d.ts.map +0 -1
  452. package/lib/custom/filters/charmes.d.ts +0 -14
  453. package/lib/custom/filters/charmes.d.ts.map +0 -1
  454. package/lib/custom/filters/clarendon.d.ts +0 -14
  455. package/lib/custom/filters/clarendon.d.ts.map +0 -1
  456. package/lib/custom/filters/crema.d.ts +0 -14
  457. package/lib/custom/filters/crema.d.ts.map +0 -1
  458. package/lib/custom/filters/dogpatch.d.ts +0 -14
  459. package/lib/custom/filters/dogpatch.d.ts.map +0 -1
  460. package/lib/custom/filters/earlybird.d.ts +0 -14
  461. package/lib/custom/filters/earlybird.d.ts.map +0 -1
  462. package/lib/custom/filters/gingham.d.ts +0 -14
  463. package/lib/custom/filters/gingham.d.ts.map +0 -1
  464. package/lib/custom/filters/ginza.d.ts +0 -14
  465. package/lib/custom/filters/ginza.d.ts.map +0 -1
  466. package/lib/custom/filters/hefe.d.ts +0 -14
  467. package/lib/custom/filters/hefe.d.ts.map +0 -1
  468. package/lib/custom/filters/helena.d.ts +0 -14
  469. package/lib/custom/filters/helena.d.ts.map +0 -1
  470. package/lib/custom/filters/hudson.d.ts +0 -14
  471. package/lib/custom/filters/hudson.d.ts.map +0 -1
  472. package/lib/custom/filters/index.d.ts +0 -41
  473. package/lib/custom/filters/index.d.ts.map +0 -1
  474. package/lib/custom/filters/juno.d.ts +0 -14
  475. package/lib/custom/filters/juno.d.ts.map +0 -1
  476. package/lib/custom/filters/kelvin.d.ts +0 -14
  477. package/lib/custom/filters/kelvin.d.ts.map +0 -1
  478. package/lib/custom/filters/lark.d.ts +0 -14
  479. package/lib/custom/filters/lark.d.ts.map +0 -1
  480. package/lib/custom/filters/lo-fi.d.ts +0 -14
  481. package/lib/custom/filters/lo-fi.d.ts.map +0 -1
  482. package/lib/custom/filters/ludwig.d.ts +0 -14
  483. package/lib/custom/filters/ludwig.d.ts.map +0 -1
  484. package/lib/custom/filters/maven.d.ts +0 -14
  485. package/lib/custom/filters/maven.d.ts.map +0 -1
  486. package/lib/custom/filters/mayfair.d.ts +0 -14
  487. package/lib/custom/filters/mayfair.d.ts.map +0 -1
  488. package/lib/custom/filters/moon.d.ts +0 -14
  489. package/lib/custom/filters/moon.d.ts.map +0 -1
  490. package/lib/custom/filters/nashville.d.ts +0 -14
  491. package/lib/custom/filters/nashville.d.ts.map +0 -1
  492. package/lib/custom/filters/ninteen-seventy-seven.d.ts +0 -14
  493. package/lib/custom/filters/ninteen-seventy-seven.d.ts.map +0 -1
  494. package/lib/custom/filters/perpetua.d.ts +0 -14
  495. package/lib/custom/filters/perpetua.d.ts.map +0 -1
  496. package/lib/custom/filters/reyes.d.ts +0 -14
  497. package/lib/custom/filters/reyes.d.ts.map +0 -1
  498. package/lib/custom/filters/rise.d.ts +0 -14
  499. package/lib/custom/filters/rise.d.ts.map +0 -1
  500. package/lib/custom/filters/sierra.d.ts +0 -14
  501. package/lib/custom/filters/sierra.d.ts.map +0 -1
  502. package/lib/custom/filters/skyline.d.ts +0 -14
  503. package/lib/custom/filters/skyline.d.ts.map +0 -1
  504. package/lib/custom/filters/slumber.d.ts +0 -14
  505. package/lib/custom/filters/slumber.d.ts.map +0 -1
  506. package/lib/custom/filters/stinson.d.ts +0 -14
  507. package/lib/custom/filters/stinson.d.ts.map +0 -1
  508. package/lib/custom/filters/sutro.d.ts +0 -14
  509. package/lib/custom/filters/sutro.d.ts.map +0 -1
  510. package/lib/custom/filters/toaster.d.ts +0 -14
  511. package/lib/custom/filters/toaster.d.ts.map +0 -1
  512. package/lib/custom/filters/valencia.d.ts +0 -14
  513. package/lib/custom/filters/valencia.d.ts.map +0 -1
  514. package/lib/custom/filters/vesper.d.ts +0 -14
  515. package/lib/custom/filters/vesper.d.ts.map +0 -1
  516. package/lib/custom/filters/walden.d.ts +0 -14
  517. package/lib/custom/filters/walden.d.ts.map +0 -1
  518. package/lib/custom/filters/willow.d.ts +0 -14
  519. package/lib/custom/filters/willow.d.ts.map +0 -1
  520. package/lib/custom/filters/xpro2.d.ts +0 -14
  521. package/lib/custom/filters/xpro2.d.ts.map +0 -1
  522. package/lib/custom/finetunes/custom-threshold.d.ts +0 -15
  523. package/lib/custom/finetunes/custom-threshold.d.ts.map +0 -1
  524. package/lib/custom/finetunes/index.d.ts +0 -3
  525. package/lib/custom/finetunes/index.d.ts.map +0 -1
  526. package/lib/custom/finetunes/warmth.d.ts +0 -17
  527. package/lib/custom/finetunes/warmth.d.ts.map +0 -1
  528. package/lib/demo/app.d.ts +0 -6
  529. package/lib/demo/app.d.ts.map +0 -1
  530. package/lib/demo/index.d.ts +0 -2
  531. package/lib/demo/index.d.ts.map +0 -1
  532. package/lib/hooks/index.d.ts +0 -13
  533. package/lib/hooks/index.d.ts.map +0 -1
  534. package/lib/hooks/use-annotation/get-bounding-rect-un-scaled.d.ts +0 -19
  535. package/lib/hooks/use-annotation/get-bounding-rect-un-scaled.d.ts.map +0 -1
  536. package/lib/hooks/use-annotation/get-new-annotation-preview.d.ts +0 -25
  537. package/lib/hooks/use-annotation/get-new-annotation-preview.d.ts.map +0 -1
  538. package/lib/hooks/use-annotation/index.d.ts +0 -74
  539. package/lib/hooks/use-annotation/index.d.ts.map +0 -1
  540. package/lib/hooks/use-annotation/preview-then-call-annotation-adding.d.ts +0 -3
  541. package/lib/hooks/use-annotation/preview-then-call-annotation-adding.d.ts.map +0 -1
  542. package/lib/hooks/use-annotation-events.d.ts +0 -11
  543. package/lib/hooks/use-annotation-events.d.ts.map +0 -1
  544. package/lib/hooks/use-app-reducer.d.ts +0 -13
  545. package/lib/hooks/use-app-reducer.d.ts.map +0 -1
  546. package/lib/hooks/use-debounced-callback.d.ts +0 -5
  547. package/lib/hooks/use-debounced-callback.d.ts.map +0 -1
  548. package/lib/hooks/use-drag.d.ts +0 -8
  549. package/lib/hooks/use-drag.d.ts.map +0 -1
  550. package/lib/hooks/use-filter.d.ts +0 -4
  551. package/lib/hooks/use-filter.d.ts.map +0 -1
  552. package/lib/hooks/use-finetune.d.ts +0 -5
  553. package/lib/hooks/use-finetune.d.ts.map +0 -1
  554. package/lib/hooks/use-phone-screen.d.ts +0 -3
  555. package/lib/hooks/use-phone-screen.d.ts.map +0 -1
  556. package/lib/hooks/use-popover.d.ts +0 -11
  557. package/lib/hooks/use-popover.d.ts.map +0 -1
  558. package/lib/hooks/use-resize-observer.d.ts +0 -12
  559. package/lib/hooks/use-resize-observer.d.ts.map +0 -1
  560. package/lib/hooks/use-store.d.ts +0 -5
  561. package/lib/hooks/use-store.d.ts.map +0 -1
  562. package/lib/hooks/use-transformed-img-data.d.ts +0 -20
  563. package/lib/hooks/use-transformed-img-data.d.ts.map +0 -1
  564. package/lib/hooks/use-update-effect.d.ts +0 -5
  565. package/lib/hooks/use-update-effect.d.ts.map +0 -1
  566. package/lib/index.d.ts +0 -6
  567. package/lib/index.d.ts.map +0 -1
  568. package/lib/types/actions.d.ts +0 -204
  569. package/lib/types/actions.d.ts.map +0 -1
  570. package/lib/types/annotations.d.ts +0 -181
  571. package/lib/types/annotations.d.ts.map +0 -1
  572. package/lib/types/common.d.ts +0 -31
  573. package/lib/types/common.d.ts.map +0 -1
  574. package/lib/types/config.d.ts +0 -144
  575. package/lib/types/config.d.ts.map +0 -1
  576. package/lib/types/index.d.ts +0 -6
  577. package/lib/types/index.d.ts.map +0 -1
  578. package/lib/types/state.d.ts +0 -105
  579. package/lib/types/state.d.ts.map +0 -1
  580. package/lib/utils/assign-finetune-names-to-konva.d.ts +0 -3
  581. package/lib/utils/assign-finetune-names-to-konva.d.ts.map +0 -1
  582. package/lib/utils/calculate-zoom-data.d.ts +0 -9
  583. package/lib/utils/calculate-zoom-data.d.ts.map +0 -1
  584. package/lib/utils/compare-ratios.d.ts +0 -3
  585. package/lib/utils/compare-ratios.d.ts.map +0 -1
  586. package/lib/utils/constants.d.ts +0 -85
  587. package/lib/utils/constants.d.ts.map +0 -1
  588. package/lib/utils/crop-image.d.ts +0 -10
  589. package/lib/utils/crop-image.d.ts.map +0 -1
  590. package/lib/utils/debounce.d.ts +0 -3
  591. package/lib/utils/debounce.d.ts.map +0 -1
  592. package/lib/utils/deep-merge.d.ts +0 -3
  593. package/lib/utils/deep-merge.d.ts.map +0 -1
  594. package/lib/utils/extract-current-design-state.d.ts +0 -11
  595. package/lib/utils/extract-current-design-state.d.ts.map +0 -1
  596. package/lib/utils/extract-name-from-url.d.ts +0 -3
  597. package/lib/utils/extract-name-from-url.d.ts.map +0 -1
  598. package/lib/utils/filter-str-to-class.d.ts +0 -4
  599. package/lib/utils/filter-str-to-class.d.ts.map +0 -1
  600. package/lib/utils/finetunes-strs-to-classes.d.ts +0 -4
  601. package/lib/utils/finetunes-strs-to-classes.d.ts.map +0 -1
  602. package/lib/utils/get-center-rotated-point.d.ts +0 -8
  603. package/lib/utils/get-center-rotated-point.d.ts.map +0 -1
  604. package/lib/utils/get-default-save-quality.d.ts +0 -3
  605. package/lib/utils/get-default-save-quality.d.ts.map +0 -1
  606. package/lib/utils/get-dimensions-minimal-ratio.d.ts +0 -3
  607. package/lib/utils/get-dimensions-minimal-ratio.d.ts.map +0 -1
  608. package/lib/utils/get-elem-document-coords.d.ts +0 -9
  609. package/lib/utils/get-elem-document-coords.d.ts.map +0 -1
  610. package/lib/utils/get-file-full-name.d.ts +0 -8
  611. package/lib/utils/get-file-full-name.d.ts.map +0 -1
  612. package/lib/utils/get-pointer-offset-position-bounded-to-object.d.ts +0 -21
  613. package/lib/utils/get-pointer-offset-position-bounded-to-object.d.ts.map +0 -1
  614. package/lib/utils/get-proper-dimensions.d.ts +0 -11
  615. package/lib/utils/get-proper-dimensions.d.ts.map +0 -1
  616. package/lib/utils/get-proper-image-to-canvas-spacing.d.ts +0 -3
  617. package/lib/utils/get-proper-image-to-canvas-spacing.d.ts.map +0 -1
  618. package/lib/utils/get-scroll-offset.d.ts +0 -7
  619. package/lib/utils/get-scroll-offset.d.ts.map +0 -1
  620. package/lib/utils/get-size-after-rotation.d.ts +0 -9
  621. package/lib/utils/get-size-after-rotation.d.ts.map +0 -1
  622. package/lib/utils/get-zoom-fit-factor.d.ts +0 -4
  623. package/lib/utils/get-zoom-fit-factor.d.ts.map +0 -1
  624. package/lib/utils/image-to-base64.d.ts +0 -3
  625. package/lib/utils/image-to-base64.d.ts.map +0 -1
  626. package/lib/utils/is-default-zero-values-only.d.ts +0 -3
  627. package/lib/utils/is-default-zero-values-only.d.ts.map +0 -1
  628. package/lib/utils/is-same-image.d.ts +0 -3
  629. package/lib/utils/is-same-image.d.ts.map +0 -1
  630. package/lib/utils/load-image.d.ts +0 -3
  631. package/lib/utils/load-image.d.ts.map +0 -1
  632. package/lib/utils/map-crop-box.d.ts +0 -16
  633. package/lib/utils/map-crop-box.d.ts.map +0 -1
  634. package/lib/utils/map-number.d.ts +0 -3
  635. package/lib/utils/map-number.d.ts.map +0 -1
  636. package/lib/utils/map-position-string-to-point.d.ts +0 -8
  637. package/lib/utils/map-position-string-to-point.d.ts.map +0 -1
  638. package/lib/utils/random-id.d.ts +0 -3
  639. package/lib/utils/random-id.d.ts.map +0 -1
  640. package/lib/utils/restrict-number.d.ts +0 -3
  641. package/lib/utils/restrict-number.d.ts.map +0 -1
  642. package/lib/utils/serialize-design-state.d.ts +0 -27
  643. package/lib/utils/serialize-design-state.d.ts.map +0 -1
  644. package/lib/utils/to-precised-float.d.ts +0 -3
  645. package/lib/utils/to-precised-float.d.ts.map +0 -1
  646. package/lib/utils/translator.d.ts +0 -3
  647. package/lib/utils/translator.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { useCallback } from 'react';
2
2
  import UndoIcon from '@mui/icons-material/Undo';
3
3
  import { SIconButton } from '@solostylist/ui-kit/core';
4
- import { UNDO } from 'actions';
5
- import { useStore } from 'hooks';
4
+ import { UNDO } from "../../actions";
5
+ import { useStore } from "../../hooks";
6
6
  var UndoButton = function UndoButton() {
7
7
  var _useStore = useStore(),
8
8
  dispatch = _useStore.dispatch,
@@ -4,8 +4,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import { useCallback, useEffect, useMemo } from 'react';
6
6
  import { useTheme } from '@mui/material/styles';
7
- import { useAppReducer } from 'hooks';
8
- import { translate, updateTranslations } from 'utils/translator';
7
+ import { useAppReducer } from "../hooks";
8
+ import { translate, updateTranslations } from "../utils/translator";
9
9
  import appReducer from "./app-reducer";
10
10
  import AppContext from "./app-context";
11
11
  import getInitialAppState from "./get-initial-app-state";
@@ -1,4 +1,4 @@
1
- import actions from 'actions';
1
+ import actions from "../actions";
2
2
  var appReducer = function appReducer(state, action) {
3
3
  return actions[action.type] ? actions[action.type](state, action.payload) || state : state;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _defaultConfig;
3
- import { MIN_CROP, TABS_IDS, TOOLS_IDS } from 'utils/constants';
3
+ import { MIN_CROP, TABS_IDS, TOOLS_IDS } from "../utils/constants";
4
4
  var defaultConfig = (_defaultConfig = {
5
5
  source: '',
6
6
  annotationsCommon: {
@@ -1,9 +1,9 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { DEFAULT_ZOOM_FACTOR, POINTER_ICONS, TOOLS_IDS } from 'utils/constants';
5
- import filterStrToClass from 'utils/filter-str-to-class';
6
- import finetunesStrsToClasses from 'utils/finetunes-strs-to-classes';
4
+ import { DEFAULT_ZOOM_FACTOR, POINTER_ICONS, TOOLS_IDS } from "../utils/constants";
5
+ import filterStrToClass from "../utils/filter-str-to-class";
6
+ import finetunesStrsToClasses from "../utils/finetunes-strs-to-classes";
7
7
  var getInitialAppState = function getInitialAppState() {
8
8
  var _config$source, _config$TOOLS_IDS$CRO, _config$TOOLS_IDS$CRO2, _config$TOOLS_IDS$CRO3, _config$TOOLS_IDS$CRO4;
9
9
  var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -4,7 +4,7 @@ var _excluded = ["width", "height", "startedX", "startedY"];
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  import Konva from 'konva';
7
- import { TOOLS_IDS } from 'utils/constants';
7
+ import { TOOLS_IDS } from "../../utils/constants";
8
8
  var annotationsNamesToKonvaClasses = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TOOLS_IDS.RECT, Konva.Rect), TOOLS_IDS.ELLIPSE, Konva.Ellipse), TOOLS_IDS.POLYGON, Konva.RegularPolygon), TOOLS_IDS.LINE, Konva.Line), TOOLS_IDS.IMAGE, Konva.Image), TOOLS_IDS.TEXT, Konva.Text), TOOLS_IDS.ARROW, Konva.Arrow);
9
9
  var ANNOTATIONS_WITH_POINTS = [TOOLS_IDS.LINE, TOOLS_IDS.ARROW];
10
10
  export var NO_WIDTH_HEIGHT_ANNOTATIONS = [].concat(ANNOTATIONS_WITH_POINTS, [TOOLS_IDS.ELLIPSE, TOOLS_IDS.POLYGON]);
@@ -7,11 +7,11 @@ var _excluded = ["fonts", "onFontChange"],
7
7
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
10
- import { SELECT_ANNOTATION, SET_ANNOTATION } from 'actions';
11
- import randomId from 'utils/random-id';
12
- import debounce from 'utils/debounce';
13
- import { TOOLS_IDS } from 'utils/constants';
14
- import { useStore } from 'hooks';
10
+ import { SELECT_ANNOTATION, SET_ANNOTATION } from "../../actions";
11
+ import randomId from "../../utils/random-id";
12
+ import debounce from "../../utils/debounce";
13
+ import { TOOLS_IDS } from "../../utils/constants";
14
+ import { useStore } from "./..";
15
15
  import previewThenCallAnnotationAdding from "./preview-then-call-annotation-adding";
16
16
  import useDebouncedCallback from "../use-debounced-callback";
17
17
  var useAnnotation = function useAnnotation() {
@@ -4,9 +4,9 @@ var _excluded = ["id", "x", "y", "points"],
4
4
  _excluded2 = ["startedX", "startedY", "offsetX", "offsetY", "width", "height"];
5
5
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
- import { TOOLS_IDS } from 'utils/constants';
8
- import getElemDocumentCoords from 'utils/get-elem-document-coords';
9
- import getPointerOffsetPositionBoundedToObject from 'utils/get-pointer-offset-position-bounded-to-object';
7
+ import { TOOLS_IDS } from "../../utils/constants";
8
+ import getElemDocumentCoords from "../../utils/get-elem-document-coords";
9
+ import getPointerOffsetPositionBoundedToObject from "../../utils/get-pointer-offset-position-bounded-to-object";
10
10
  import getBoundingRectUnScaled from "./get-bounding-rect-un-scaled";
11
11
  import getNewAnnotationPreview, { dimensToProperAnnotationDimens, NO_WIDTH_HEIGHT_ANNOTATIONS } from "./get-new-annotation-preview";
12
12
  var pointerDown = {
@@ -1,6 +1,6 @@
1
1
  import { useMemo, useCallback } from 'react';
2
- import { SET_ANNOTATION, SELECT_ANNOTATION, SELECT_TOOL } from 'actions';
3
- import { TOOLS_IDS, TABS_IDS, WATERMARK_ANNOTATION_ID } from 'utils/constants';
2
+ import { SET_ANNOTATION, SELECT_ANNOTATION, SELECT_TOOL } from "../actions";
3
+ import { TOOLS_IDS, TABS_IDS, WATERMARK_ANNOTATION_ID } from "../utils/constants";
4
4
  import useStore from "./use-store";
5
5
  var useAnnotationEvents = function useAnnotationEvents() {
6
6
  var _useStore = useStore(),
@@ -5,8 +5,8 @@ var _excluded = ["isDesignState"];
5
5
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  import { useReducer } from 'react';
8
- import { REDO, RESET, UNDO } from 'actions';
9
- import extractCurrentDesignState from 'utils/extract-current-design-state';
8
+ import { REDO, RESET, UNDO } from "../actions";
9
+ import extractCurrentDesignState from "../utils/extract-current-design-state";
10
10
  var timeout;
11
11
  var applyModifyFn = function applyModifyFn(onModify, newState) {
12
12
  timeout = setTimeout(function () {
@@ -1,5 +1,5 @@
1
1
  import { useCallback } from 'react';
2
- import debounce from 'utils/debounce';
2
+ import debounce from "../utils/debounce";
3
3
  var useDebouncedCallback = function useDebouncedCallback(func, timeout) {
4
4
  var dependencies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
5
5
  return useCallback(debounce(func, timeout), dependencies);
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useMemo } from 'react';
2
- import { ADD_FILTER } from 'actions';
2
+ import { ADD_FILTER } from "../actions";
3
3
  import useStore from "./use-store";
4
4
  var useFilter = function useFilter() {
5
5
  var _useStore = useStore(),
@@ -2,8 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import { useCallback, useEffect, useMemo } from 'react';
5
- import { SET_FINETUNE } from 'actions';
6
- import isDefaultZeroValuesOnly from 'utils/is-default-zero-values-only';
5
+ import { SET_FINETUNE } from "../actions";
6
+ import isDefaultZeroValuesOnly from "../utils/is-default-zero-values-only";
7
7
  import useStore from "./use-store";
8
8
  var useFinetune = function useFinetune(finetune, initialProps) {
9
9
  var _useStore = useStore(),
@@ -1,5 +1,5 @@
1
1
  import { useContext } from 'react';
2
- import AppContext from 'context/app-context';
2
+ import AppContext from "../context/app-context";
3
3
  var useStore = function useStore() {
4
4
  return useContext(AppContext);
5
5
  };
@@ -3,12 +3,12 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import Konva from 'konva';
6
- import { HIDE_LOADER, SET_SAVED } from 'actions';
7
- import { ELLIPSE_CROP, IMAGE_NODE_ID, SUPPORTED_IMAGE_TYPES } from 'utils/constants';
8
- import getFileFullName from 'utils/get-file-full-name';
9
- import getSizeAfterRotation from 'utils/get-size-after-rotation';
10
- import mapCropBox from 'utils/map-crop-box';
11
- import { serializeDesignState } from 'utils/serialize-design-state';
6
+ import { HIDE_LOADER, SET_SAVED } from "../actions";
7
+ import { ELLIPSE_CROP, IMAGE_NODE_ID, SUPPORTED_IMAGE_TYPES } from "../utils/constants";
8
+ import getFileFullName from "../utils/get-file-full-name";
9
+ import getSizeAfterRotation from "../utils/get-size-after-rotation";
10
+ import mapCropBox from "../utils/map-crop-box";
11
+ import { serializeDesignState } from "../utils/serialize-design-state";
12
12
  import useStore from "./use-store";
13
13
  var useTransformedImgData = function useTransformedImgData() {
14
14
  var state = useStore();
@@ -1,5 +1,5 @@
1
- import defaultConfig from 'context/default-config';
2
- import getInitialAppState from 'context/get-initial-app-state';
1
+ import defaultConfig from "../context/default-config";
2
+ import getInitialAppState from "../context/get-initial-app-state";
3
3
  var extractCurrentDesignState = function extractCurrentDesignState(state, useStateAsConfig) {
4
4
  var initialAppState = getInitialAppState(useStateAsConfig ? state : defaultConfig);
5
5
  return {
@@ -1,5 +1,5 @@
1
1
  import Konva from 'konva';
2
- import * as CustomFilters from 'custom/filters';
2
+ import * as CustomFilters from "../custom/filters";
3
3
  var filterStrToClass = function filterStrToClass(filterString) {
4
4
  if (filterString) {
5
5
  return CustomFilters[filterString] || Konva.Filters[filterString];
@@ -1,5 +1,5 @@
1
1
  import Konva from 'konva';
2
- import * as CustomFinetunes from 'custom/finetunes';
2
+ import * as CustomFinetunes from "../custom/finetunes";
3
3
  var finetunesStrsToClasses = function finetunesStrsToClasses(finetunesStrings) {
4
4
  if (Array.isArray(finetunesStrings) && finetunesStrings.length > 0) {
5
5
  return finetunesStrings.map(function (finetuneClassName) {
@@ -1,5 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import { hasDimensions, hasRadius, hasRadii } from 'types/annotations';
2
+ import { hasDimensions, hasRadius, hasRadii } from "../types/annotations";
3
3
  import { POSITIONS } from "./constants";
4
4
  import getSizeAfterRotation from "./get-size-after-rotation";
5
5
  var mapPositionStringToPoint = function mapPositionStringToPoint(annotation, designLayer, position) {
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { isImageAnnotation } from 'types/annotations';
4
+ import { isImageAnnotation } from "../types/annotations";
5
5
  import imageToBase64 from "./image-to-base64";
6
6
  export var filterToString = function filterToString(filter) {
7
7
  if (!filter) return undefined;
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import defaultTranslations from 'context/default-translations';
4
+ import defaultTranslations from "../context/default-translations";
5
5
  var customTranslations = {};
6
6
  var activatedTranslations = _objectSpread({}, defaultTranslations);
7
7
  export var updateTranslations = function updateTranslations() {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.0.10",
6
+ "version": "1.0.12",
7
7
  "license": "MIT",
8
8
  "author": "Lê Đặng Trường Đạt",
9
9
  "main": "./lib/index.js",
@@ -1,10 +0,0 @@
1
- import { Filter } from 'konva/lib/Node';
2
- import { AppState } from 'types/state';
3
- export declare const ADD_FILTER = "ADD_FILTER";
4
- interface AddFilterPayload {
5
- filter?: Filter | null;
6
- dismissHistory?: boolean;
7
- }
8
- declare const addFilter: (state: AppState, payload: AddFilterPayload) => AppState;
9
- export default addFilter;
10
- //# sourceMappingURL=add-filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-filter.d.ts","sourceRoot":"","sources":["../../src/actions/add-filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,SAAS,GAAI,OAAO,QAAQ,EAAE,SAAS,gBAAgB,KAAG,QAI9D,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { ChangePointerIconPayload } from 'types/actions';
3
- export declare const CHANGE_POINTER_ICON = "CHANGE_POINTER_ICON";
4
- declare const changingPointerIcon: (state: AppState, payload: ChangePointerIconPayload) => AppState;
5
- export default changingPointerIcon;
6
- //# sourceMappingURL=change-pointer-icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"change-pointer-icon.d.ts","sourceRoot":"","sources":["../../src/actions/change-pointer-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,QAAA,MAAM,mBAAmB,GACvB,OAAO,QAAQ,EACf,SAAS,wBAAwB,KAChC,QAMQ,CAAC;AAEZ,eAAe,mBAAmB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { ChangeRotationPayload } from 'types/actions';
3
- export declare const CHANGE_ROTATION = "CHANGE_ROTATION";
4
- declare const changeRotation: (state: AppState, payload: ChangeRotationPayload) => AppState;
5
- export default changeRotation;
6
- //# sourceMappingURL=change-rotation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"change-rotation.d.ts","sourceRoot":"","sources":["../../src/actions/change-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD,QAAA,MAAM,cAAc,GAClB,OAAO,QAAQ,EACf,SAAS,qBAAqB,KAC7B,QAUQ,CAAC;AAEZ,eAAe,cAAc,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const CLEAR_ANNOTATIONS_SELECTIONS = "CLEAR_ANNOTATIONS_SELECTIONS";
3
- declare const clearAnnotationsSelections: (state: AppState) => AppState;
4
- export default clearAnnotationsSelections;
5
- //# sourceMappingURL=clear-annotations-selections.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clear-annotations-selections.d.ts","sourceRoot":"","sources":["../../src/actions/clear-annotations-selections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,QAAA,MAAM,0BAA0B,GAAI,OAAO,QAAQ,KAAG,QAM/C,CAAC;AAER,eAAe,0BAA0B,CAAC"}
@@ -1,9 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { DuplicateAnnotationsPayload } from 'types/actions';
3
- export declare const DUPLICATE_ANNOTATIONS = "DUPLICATE_ANNOTATIONS";
4
- interface ExtendedDuplicateAnnotationsPayload extends DuplicateAnnotationsPayload {
5
- dismissHistory?: boolean;
6
- }
7
- declare const duplicateAnnotations: (state: AppState, payload: ExtendedDuplicateAnnotationsPayload) => AppState;
8
- export default duplicateAnnotations;
9
- //# sourceMappingURL=duplicate-annotations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"duplicate-annotations.d.ts","sourceRoot":"","sources":["../../src/actions/duplicate-annotations.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAG5D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,UAAU,mCAAoC,SAAQ,2BAA2B;IAC/E,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,oBAAoB,GACxB,OAAO,QAAQ,EACf,SAAS,mCAAmC,KAC3C,QAyBF,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,8 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const ENABLE_TEXT_CONTENT_EDIT = "ENABLE_TEXT_CONTENT_EDIT";
3
- interface EnableTextContentEditPayload {
4
- textIdOfEditableContent?: string | null;
5
- }
6
- declare const enableTextContentEdit: (state: AppState, payload: EnableTextContentEditPayload) => AppState;
7
- export default enableTextContentEdit;
8
- //# sourceMappingURL=enable-text-content-edit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable-text-content-edit.d.ts","sourceRoot":"","sources":["../../src/actions/enable-text-content-edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AAEnE,UAAU,4BAA4B;IACpC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC;AAED,QAAA,MAAM,qBAAqB,GACzB,OAAO,QAAQ,EACf,SAAS,4BAA4B,KACpC,QAGD,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const HIDE_LOADER = "HIDE_LOADER";
3
- declare const hideLoader: (state: AppState) => AppState;
4
- export default hideLoader;
5
- //# sourceMappingURL=hide-loader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hide-loader.d.ts","sourceRoot":"","sources":["../../src/actions/hide-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAEzC,QAAA,MAAM,UAAU,GAAI,OAAO,QAAQ,KAAG,QAGpC,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,40 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { ADD_FILTER } from './add-filter';
3
- import { HIDE_LOADER } from './hide-loader';
4
- import { REDO } from './redo';
5
- import { RESET } from './reset';
6
- import { SET_FEEDBACK } from './set-feedback';
7
- import { SHOW_LOADER } from './show-loader';
8
- import { SELECT_TAB } from './select-tab';
9
- import { UNDO } from './undo';
10
- import { SET_FINETUNE } from './set-finetune';
11
- import { SET_ANNOTATION } from './set-annotation';
12
- import { CHANGE_POINTER_ICON } from './change-pointer-icon';
13
- import { SELECT_ANNOTATION } from './select-annotation';
14
- import { CLEAR_ANNOTATIONS_SELECTIONS } from './clear-annotations-selections';
15
- import { TOGGLE_ORIGINAL_IMAGE_DISPLAY } from './toggle-original-image-display';
16
- import { SELECT_TOOL } from './select-tool';
17
- import { TOGGLE_FLIP } from './toggle-flip';
18
- import { SET_CROP } from './set-crop';
19
- import { CHANGE_ROTATION } from './change-rotation';
20
- import { ZOOM_CANVAS } from './zoom-canvas';
21
- import { SET_CANVAS_SIZE } from './set-canvas-size';
22
- import { SET_ORIGINAL_IMAGE } from './set-original-image';
23
- import { SET_SHOWN_IMAGE_DIMENSIONS } from './set-shown-image-dimensions';
24
- import { REMOVE_ANNOTATIONS } from './remove-annotations';
25
- import { DUPLICATE_ANNOTATIONS } from './duplicate-annotations';
26
- import { ENABLE_TEXT_CONTENT_EDIT } from './enable-text-content-edit';
27
- import { SET_RESIZE } from './set-resize';
28
- import { SET_SAVED } from './set-saved';
29
- import { UPDATE_STATE } from './update-state';
30
- import { SET_LATEST_COLOR } from './set-latest-color';
31
- import { SET_SHOWN_TABS_MENU } from './set-show-tabs-menu';
32
- import { SET_SAVING } from './set-saving';
33
- type ActionFunction = (state: AppState, payload?: any) => AppState;
34
- interface ActionsMap {
35
- [key: string]: ActionFunction;
36
- }
37
- declare const actions: ActionsMap;
38
- export default actions;
39
- export { SET_ORIGINAL_IMAGE, SET_FEEDBACK, SHOW_LOADER, HIDE_LOADER, CHANGE_POINTER_ICON, SELECT_ANNOTATION, CLEAR_ANNOTATIONS_SELECTIONS, TOGGLE_ORIGINAL_IMAGE_DISPLAY, SELECT_TAB, SELECT_TOOL, ZOOM_CANVAS, SET_CANVAS_SIZE, SET_SHOWN_IMAGE_DIMENSIONS, ENABLE_TEXT_CONTENT_EDIT, SET_LATEST_COLOR, SET_SHOWN_TABS_MENU, SET_SAVING, ADD_FILTER, SET_FINETUNE, SET_ANNOTATION, SET_CROP, CHANGE_ROTATION, TOGGLE_FLIP, SET_RESIZE, REMOVE_ANNOTATIONS, DUPLICATE_ANNOTATIONS, UNDO, REDO, RESET, SET_SAVED, UPDATE_STATE, };
40
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAa,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAc,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAa,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAsB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAA0B,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAyB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAmC,EACjC,4BAA4B,EAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAmC,EACjC,6BAA6B,EAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAgB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAuB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAsB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAyB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAgC,EAC9B,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AACtC,OAA0B,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAA6B,EAC3B,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAA8B,EAC5B,wBAAwB,EACzB,MAAM,4BAA4B,CAAC;AACpC,OAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAiB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAwB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAkB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAErD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,QAAQ,CAAC;AAEnE,UAAU,UAAU;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC;CAC/B;AAED,QAAA,MAAM,OAAO,EAAE,UAkCd,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,UAAU,EACV,WAAW,EACX,WAAW,EACX,eAAe,EACf,0BAA0B,EAC1B,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EAEV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,eAAe,EACf,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EAErB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,YAAY,GACb,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const REDO = "REDO";
3
- declare const redo: (state: AppState) => AppState;
4
- export default redo;
5
- //# sourceMappingURL=redo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redo.d.ts","sourceRoot":"","sources":["../../src/actions/redo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,IAAI,SAAS,CAAC;AAE3B,QAAA,MAAM,IAAI,GAAI,OAAO,QAAQ,KAAG,QAuB/B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,9 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { RemoveAnnotationsPayload } from 'types/actions';
3
- export declare const REMOVE_ANNOTATIONS = "REMOVE_ANNOTATIONS";
4
- interface ExtendedRemoveAnnotationsPayload extends RemoveAnnotationsPayload {
5
- isDesignState?: boolean;
6
- }
7
- declare const removeAnnotations: (state: AppState, payload: ExtendedRemoveAnnotationsPayload) => AppState;
8
- export default removeAnnotations;
9
- //# sourceMappingURL=remove-annotations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remove-annotations.d.ts","sourceRoot":"","sources":["../../src/actions/remove-annotations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,UAAU,gCAAiC,SAAQ,wBAAwB;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,QAAA,MAAM,iBAAiB,GACrB,OAAO,QAAQ,EACf,SAAS,gCAAgC,KACxC,QAyBF,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,8 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const RESET = "RESET";
3
- interface ResetPayload {
4
- config?: any;
5
- }
6
- declare const reset: (state: AppState, payload: ResetPayload) => AppState;
7
- export default reset;
8
- //# sourceMappingURL=reset.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reset.d.ts","sourceRoot":"","sources":["../../src/actions/reset.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,KAAK,UAAU,CAAC;AAE7B,UAAU,YAAY;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,EAAE,SAAS,YAAY,KAAG,QAyBvD,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SelectAnnotationPayload } from 'types/actions';
3
- export declare const SELECT_ANNOTATION = "SELECT_ANNOTATION";
4
- declare const selectAnnotation: (state: AppState, payload: SelectAnnotationPayload) => AppState;
5
- export default selectAnnotation;
6
- //# sourceMappingURL=select-annotation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-annotation.d.ts","sourceRoot":"","sources":["../../src/actions/select-annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAExD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,QAAA,MAAM,gBAAgB,GACpB,OAAO,QAAQ,EACf,SAAS,uBAAuB,KAC/B,QAgCF,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SelectTabPayload } from 'types/actions';
3
- export declare const SELECT_TAB = "SELECT_TAB";
4
- declare const selectTab: (state: AppState, payload: SelectTabPayload) => AppState;
5
- export default selectTab;
6
- //# sourceMappingURL=select-tab.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-tab.d.ts","sourceRoot":"","sources":["../../src/actions/select-tab.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,QAAA,MAAM,SAAS,GAAI,OAAO,QAAQ,EAAE,SAAS,gBAAgB,KAAG,QAYzD,CAAC;AAER,eAAe,SAAS,CAAC"}
@@ -1,9 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SelectToolPayload } from 'types/actions';
3
- export declare const SELECT_TOOL = "SELECT_TOOL";
4
- interface ExtendedSelectToolPayload extends SelectToolPayload {
5
- keepSelections?: boolean;
6
- }
7
- declare const selectTool: (state: AppState, payload: ExtendedSelectToolPayload) => AppState;
8
- export default selectTool;
9
- //# sourceMappingURL=select-tool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-tool.d.ts","sourceRoot":"","sources":["../../src/actions/select-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAEzC,UAAU,yBAA0B,SAAQ,iBAAiB;IAC3D,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,UAAU,GACd,OAAO,QAAQ,EACf,SAAS,yBAAyB,KACjC,QAOI,CAAC;AAER,eAAe,UAAU,CAAC"}
@@ -1,10 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const SET_ANNOTATION = "SET_ANNOTATION";
3
- interface SetAnnotationPayload {
4
- dismissHistory?: boolean;
5
- replaceCurrent?: boolean;
6
- [key: string]: any;
7
- }
8
- declare const setAnnotation: (state: AppState, payload?: SetAnnotationPayload) => AppState;
9
- export default setAnnotation;
10
- //# sourceMappingURL=set-annotation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-annotation.d.ts","sourceRoot":"","sources":["../../src/actions/set-annotation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,UAAU,oBAAoB;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,GACjB,OAAO,QAAQ,EACf,UAAS,oBAAyB,KACjC,QAiCF,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SetCanvasSizePayload } from 'types/actions';
3
- export declare const SET_CANVAS_SIZE = "SET_CANVAS_SIZE";
4
- declare const setCanvasSize: (state: AppState, payload: SetCanvasSizePayload) => AppState;
5
- export default setCanvasSize;
6
- //# sourceMappingURL=set-canvas-size.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-canvas-size.d.ts","sourceRoot":"","sources":["../../src/actions/set-canvas-size.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD,QAAA,MAAM,aAAa,GACjB,OAAO,QAAQ,EACf,SAAS,oBAAoB,KAC5B,QAgEF,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,9 +0,0 @@
1
- import { AppState, CropConfig } from 'types/state';
2
- export declare const SET_CROP = "SET_CROP";
3
- interface ExtendedSetCropPayload extends CropConfig {
4
- dismissHistory?: boolean;
5
- noEffect?: boolean;
6
- }
7
- declare const setCrop: (state: AppState, payload: ExtendedSetCropPayload) => AppState;
8
- export default setCrop;
9
- //# sourceMappingURL=set-crop.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-crop.d.ts","sourceRoot":"","sources":["../../src/actions/set-crop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,QAAQ,aAAa,CAAC;AAEnC,UAAU,sBAAuB,SAAQ,UAAU;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,OAAO,GACX,OAAO,QAAQ,EACf,SAAS,sBAAsB,KAC9B,QAuDF,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SetFeedbackPayload } from 'types/actions';
3
- export declare const SET_FEEDBACK = "SET_FEEDBACK";
4
- declare const setFeedback: (state: AppState, payload: SetFeedbackPayload) => AppState;
5
- export default setFeedback;
6
- //# sourceMappingURL=set-feedback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-feedback.d.ts","sourceRoot":"","sources":["../../src/actions/set-feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAE3C,QAAA,MAAM,WAAW,GACf,OAAO,QAAQ,EACf,SAAS,kBAAkB,KAC1B,QAID,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,11 +0,0 @@
1
- import { Filter } from 'konva/lib/Node';
2
- import { AppState, FinetunesProps } from 'types/state';
3
- export declare const SET_FINETUNE = "SET_FINETUNE";
4
- interface ExtendedSetFinetunePayload {
5
- finetune?: Filter;
6
- finetuneProps?: Partial<FinetunesProps>;
7
- dismissHistory?: boolean;
8
- }
9
- declare const setFinetune: (state: AppState, payload: ExtendedSetFinetunePayload) => AppState;
10
- export default setFinetune;
11
- //# sourceMappingURL=set-finetune.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-finetune.d.ts","sourceRoot":"","sources":["../../src/actions/set-finetune.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAE3C,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,GACf,OAAO,QAAQ,EACf,SAAS,0BAA0B,KAClC,QAWD,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SetLatestColorPayload } from 'types/actions';
3
- export declare const SET_LATEST_COLOR = "SET_LATEST_COLOR";
4
- declare const setLatestColor: (state: AppState, payload: SetLatestColorPayload) => AppState;
5
- export default setLatestColor;
6
- //# sourceMappingURL=set-latest-color.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-latest-color.d.ts","sourceRoot":"","sources":["../../src/actions/set-latest-color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,QAAA,MAAM,cAAc,GAClB,OAAO,QAAQ,EACf,SAAS,qBAAqB,KAC7B,QAMD,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -1,6 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SetOriginalImagePayload } from 'types/actions';
3
- export declare const SET_ORIGINAL_IMAGE = "SET_ORIGINAL_IMAGE";
4
- declare const setOriginalImage: (state: AppState, payload: SetOriginalImagePayload) => AppState;
5
- export default setOriginalImage;
6
- //# sourceMappingURL=set-original-image.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-original-image.d.ts","sourceRoot":"","sources":["../../src/actions/set-original-image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAExD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,QAAA,MAAM,gBAAgB,GACpB,OAAO,QAAQ,EACf,SAAS,uBAAuB,KAC/B,QAKD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { AppState } from 'types/state';
2
- import { SetResizePayload } from 'types/actions';
3
- export declare const SET_RESIZE = "SET_RESIZE";
4
- interface ExtendedSetResizePayload extends SetResizePayload {
5
- dismissHistory?: boolean;
6
- }
7
- declare const setResize: (state: AppState, payload: ExtendedSetResizePayload) => AppState;
8
- export default setResize;
9
- //# sourceMappingURL=set-resize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-resize.d.ts","sourceRoot":"","sources":["../../src/actions/set-resize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,UAAU,wBAAyB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,SAAS,GACb,OAAO,QAAQ,EACf,SAAS,wBAAwB,KAChC,QASD,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AppState } from 'types/state';
2
- export declare const SET_SAVED = "SET_SAVED";
3
- declare const setSaved: (state: AppState) => AppState;
4
- export default setSaved;
5
- //# sourceMappingURL=set-saved.d.ts.map