@ydesign/react-editor 0.0.9 → 0.1.1

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 (184) hide show
  1. package/dist/app.css +1 -1
  2. package/dist/app.js +1 -1
  3. package/dist/canvas/workspace.d.ts +6 -4
  4. package/dist/canvas/workspace.js +1 -1
  5. package/dist/chunk-2AZQIJ4K.js +1 -0
  6. package/dist/chunk-45NWLCOP.js +15 -0
  7. package/dist/chunk-63A6RW6Y.js +21 -0
  8. package/dist/chunk-EUTDQZKU.js +1 -0
  9. package/dist/chunk-KERQXVBL.js +1 -0
  10. package/dist/{chunk-7YLSIB43.js → chunk-RBRSKAZL.js} +1 -1
  11. package/dist/chunk-SR5OYO6O.js +214 -0
  12. package/dist/chunk-YBC2DYJX.js +9 -0
  13. package/dist/config.d.ts +228 -3
  14. package/dist/config.js +1 -1
  15. package/dist/model/store.d.ts +5 -346
  16. package/dist/model/store.js +1 -1
  17. package/dist/project.d.ts +12 -4
  18. package/dist/project.js +1 -1
  19. package/dist/side-panel/index.d.ts +2 -5
  20. package/dist/side-panel/index.js +1 -1
  21. package/dist/side-panel/side-panel.d.ts +12 -6
  22. package/dist/side-panel/side-panel.js +1 -1
  23. package/dist/store-DfmY1m2j.d.ts +379 -0
  24. package/dist/toolbar/download-button.d.ts +1 -3
  25. package/dist/toolbar/download-button.js +1 -1
  26. package/dist/toolbar/toolbar.d.ts +1 -3
  27. package/dist/toolbar/toolbar.js +18 -1
  28. package/dist/toolbar/zoom-buttons.d.ts +1 -3
  29. package/dist/topbar/topbar.d.ts +19 -6
  30. package/dist/topbar/topbar.js +158 -8
  31. package/package.json +2 -2
  32. package/dist/canvas/context-menu/context-menu.d.ts +0 -2
  33. package/dist/canvas/context-menu/context-menu.js +0 -0
  34. package/dist/canvas/hotkeys.d.ts +0 -3
  35. package/dist/canvas/hotkeys.js +0 -1
  36. package/dist/canvas/workspace-canvas.d.ts +0 -19
  37. package/dist/canvas/workspace-canvas.js +0 -1
  38. package/dist/chunk-2A3HHQ7X.js +0 -1
  39. package/dist/chunk-2T3O5ZZ2.js +0 -1
  40. package/dist/chunk-3TO57JPN.js +0 -1
  41. package/dist/chunk-4HH3B3W3.js +0 -23
  42. package/dist/chunk-4LUZF4CB.js +0 -2
  43. package/dist/chunk-5OA2JYPB.js +0 -1
  44. package/dist/chunk-5X6VER6G.js +0 -1
  45. package/dist/chunk-62YF5KTO.js +0 -1
  46. package/dist/chunk-75WC3GVB.js +0 -1
  47. package/dist/chunk-7NNOHYKX.js +0 -15
  48. package/dist/chunk-A7SUGNOW.js +0 -1
  49. package/dist/chunk-AC6CCGZH.js +0 -1
  50. package/dist/chunk-CB23VFSC.js +0 -1
  51. package/dist/chunk-DGCF2GDA.js +0 -9
  52. package/dist/chunk-HHYPIHAP.js +0 -45
  53. package/dist/chunk-IUFYYEGO.js +0 -1
  54. package/dist/chunk-IV52R7D7.js +0 -27
  55. package/dist/chunk-J6PYM4EV.js +0 -1
  56. package/dist/chunk-JMIN2XMC.js +0 -1
  57. package/dist/chunk-JPIYZYMQ.js +0 -1
  58. package/dist/chunk-JUVJJS4T.js +0 -54
  59. package/dist/chunk-KKA7WASQ.js +0 -16
  60. package/dist/chunk-KVT25LDU.js +0 -1
  61. package/dist/chunk-NDZKXZQ2.js +0 -3
  62. package/dist/chunk-O56ZNYGR.js +0 -1
  63. package/dist/chunk-O73AAP2K.js +0 -1
  64. package/dist/chunk-OPXS6VQ6.js +0 -151
  65. package/dist/chunk-OQ6HU62L.js +0 -1
  66. package/dist/chunk-P5I43V7X.js +0 -1
  67. package/dist/chunk-POCSL7OS.js +0 -50
  68. package/dist/chunk-POWRXH5R.js +0 -1
  69. package/dist/chunk-PSO4W6J7.js +0 -9
  70. package/dist/chunk-QWM7VMLQ.js +0 -9
  71. package/dist/chunk-RSKWMPST.js +0 -1
  72. package/dist/chunk-SGK2XN5D.js +0 -1
  73. package/dist/chunk-T3TEB73P.js +0 -1
  74. package/dist/chunk-TS5CKDHH.js +0 -1
  75. package/dist/chunk-TTHQXTIX.js +0 -1
  76. package/dist/chunk-TTK5Z2Z6.js +0 -1
  77. package/dist/chunk-TZ6B7XDS.js +0 -1
  78. package/dist/chunk-WCHGSVUC.js +0 -8
  79. package/dist/chunk-WJT6VPDR.js +0 -9
  80. package/dist/chunk-XA2G4P2Q.js +0 -1
  81. package/dist/chunk-XRRO2RT7.js +0 -1
  82. package/dist/chunk-YCJBBRRT.js +0 -1
  83. package/dist/chunk-YRJUN267.js +0 -14
  84. package/dist/chunk-YVBVDUVA.js +0 -1
  85. package/dist/hooks/use-duplicate-element.d.ts +0 -16
  86. package/dist/hooks/use-duplicate-element.js +0 -1
  87. package/dist/hooks/use-lock.d.ts +0 -18
  88. package/dist/hooks/use-lock.js +0 -1
  89. package/dist/hooks/use-remove-element.d.ts +0 -16
  90. package/dist/hooks/use-remove-element.js +0 -1
  91. package/dist/lib/utils.d.ts +0 -5
  92. package/dist/lib/utils.js +0 -1
  93. package/dist/side-panel/background-panel.d.ts +0 -17
  94. package/dist/side-panel/background-panel.js +0 -1
  95. package/dist/side-panel/images-grid.d.ts +0 -27
  96. package/dist/side-panel/images-grid.js +0 -1
  97. package/dist/side-panel/layers-panel.d.ts +0 -16
  98. package/dist/side-panel/layers-panel.js +0 -1
  99. package/dist/side-panel/photos-panel.d.ts +0 -16
  100. package/dist/side-panel/photos-panel.js +0 -1
  101. package/dist/side-panel/shapes-panel.d.ts +0 -16
  102. package/dist/side-panel/shapes-panel.js +0 -1
  103. package/dist/side-panel/size-panel.d.ts +0 -16
  104. package/dist/side-panel/size-panel.js +0 -1
  105. package/dist/side-panel/tab-button.d.ts +0 -12
  106. package/dist/side-panel/tab-button.js +0 -1
  107. package/dist/side-panel/templates-panel.d.ts +0 -16
  108. package/dist/side-panel/templates-panel.js +0 -1
  109. package/dist/side-panel/text-panel.d.ts +0 -16
  110. package/dist/side-panel/text-panel.js +0 -1
  111. package/dist/side-panel/upload-panel.d.ts +0 -17
  112. package/dist/side-panel/upload-panel.js +0 -1
  113. package/dist/toolbar/default-toolbar.d.ts +0 -21
  114. package/dist/toolbar/default-toolbar.js +0 -1
  115. package/dist/toolbar/duplicate-button.d.ts +0 -16
  116. package/dist/toolbar/duplicate-button.js +0 -1
  117. package/dist/toolbar/element-container.d.ts +0 -13
  118. package/dist/toolbar/element-container.js +0 -1
  119. package/dist/toolbar/figure-toolbar.d.ts +0 -33
  120. package/dist/toolbar/figure-toolbar.js +0 -1
  121. package/dist/toolbar/filters-picker.d.ts +0 -18
  122. package/dist/toolbar/filters-picker.js +0 -1
  123. package/dist/toolbar/flip-button.d.ts +0 -18
  124. package/dist/toolbar/flip-button.js +0 -1
  125. package/dist/toolbar/group-button.d.ts +0 -16
  126. package/dist/toolbar/group-button.js +0 -1
  127. package/dist/toolbar/history-buttons.d.ts +0 -16
  128. package/dist/toolbar/history-buttons.js +0 -1
  129. package/dist/toolbar/image-eraser-pen.d.ts +0 -10
  130. package/dist/toolbar/image-eraser-pen.js +0 -1
  131. package/dist/toolbar/image-remove-background.d.ts +0 -10
  132. package/dist/toolbar/image-remove-background.js +0 -1
  133. package/dist/toolbar/image-toolbar.d.ts +0 -36
  134. package/dist/toolbar/image-toolbar.js +0 -1
  135. package/dist/toolbar/lock-button.d.ts +0 -16
  136. package/dist/toolbar/lock-button.js +0 -1
  137. package/dist/toolbar/many-toolbar.d.ts +0 -5
  138. package/dist/toolbar/many-toolbar.js +0 -1
  139. package/dist/toolbar/opacity-picker.d.ts +0 -16
  140. package/dist/toolbar/opacity-picker.js +0 -1
  141. package/dist/toolbar/position-picker.d.ts +0 -16
  142. package/dist/toolbar/position-picker.js +0 -1
  143. package/dist/toolbar/remove-button.d.ts +0 -16
  144. package/dist/toolbar/remove-button.js +0 -1
  145. package/dist/toolbar/text-ai-write.d.ts +0 -7
  146. package/dist/toolbar/text-ai-write.js +0 -1
  147. package/dist/toolbar/text-toolbar.d.ts +0 -19
  148. package/dist/toolbar/text-toolbar.js +0 -1
  149. package/dist/topbar/create-design.d.ts +0 -30
  150. package/dist/topbar/create-design.js +0 -1
  151. package/dist/topbar/file-menu.d.ts +0 -19
  152. package/dist/topbar/file-menu.js +0 -1
  153. package/dist/utils/api.d.ts +0 -14
  154. package/dist/utils/api.js +0 -1
  155. package/dist/utils/blob.d.ts +0 -5
  156. package/dist/utils/blob.js +0 -1
  157. package/dist/utils/download.d.ts +0 -3
  158. package/dist/utils/download.js +0 -1
  159. package/dist/utils/figure-to-svg.d.ts +0 -36
  160. package/dist/utils/figure-to-svg.js +0 -1
  161. package/dist/utils/file.d.ts +0 -3
  162. package/dist/utils/file.js +0 -1
  163. package/dist/utils/filters.d.ts +0 -2
  164. package/dist/utils/filters.js +0 -0
  165. package/dist/utils/fonts.d.ts +0 -68
  166. package/dist/utils/fonts.js +0 -1
  167. package/dist/utils/image.d.ts +0 -19
  168. package/dist/utils/image.js +0 -1
  169. package/dist/utils/l10n.d.ts +0 -227
  170. package/dist/utils/l10n.js +0 -1
  171. package/dist/utils/loader.d.ts +0 -6
  172. package/dist/utils/loader.js +0 -1
  173. package/dist/utils/screen.d.ts +0 -6
  174. package/dist/utils/screen.js +0 -1
  175. package/dist/utils/svg.d.ts +0 -3
  176. package/dist/utils/svg.js +0 -1
  177. package/dist/utils/text.d.ts +0 -3
  178. package/dist/utils/text.js +0 -1
  179. package/dist/utils/use-api.d.ts +0 -2
  180. package/dist/utils/use-api.js +0 -0
  181. package/dist/utils/use-axios.d.ts +0 -5
  182. package/dist/utils/use-axios.js +0 -1
  183. /package/dist/{chunk-MXZ6RXT3.js → chunk-EWOU5F3O.js} +0 -0
  184. /package/dist/{chunk-YCFED7XQ.js → chunk-WFMCGQ5V.js} +0 -0
@@ -1 +0,0 @@
1
- import{a as t}from"./chunk-POCSL7OS.js";import{c as o}from"./chunk-YCFED7XQ.js";import{Input as a}from"antd";import{observer as p}from"mobx-react-lite";import{jsx as x,jsxs as l}from"react/jsx-runtime";var{Search:f}=a,w=[{urls:{raw:"https://images.unsplash.com/photo-1756142752432-a8f0c44be6f4?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1756142752432-a8f0c44be6f4?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1756142752432-a8f0c44be6f4?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1756142752432-a8f0c44be6f4?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1756142752432-a8f0c44be6f4?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1756142752432-a8f0c44be6f4"},links:{self:"https://api.unsplash.com/photos/man-crouching-with-mountains-in-background-gxOKFEIGjbk",html:"https://unsplash.com/photos/man-crouching-with-mountains-in-background-gxOKFEIGjbk",download:"https://unsplash.com/photos/gxOKFEIGjbk/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/gxOKFEIGjbk/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxfHx8fHx8fHwxNzYyOTUxNDE1fA"},width:8192,height:5464},{urls:{raw:"https://images.unsplash.com/photo-1762930163317-01b67347b1bf?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762930163317-01b67347b1bf?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762930163317-01b67347b1bf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762930163317-01b67347b1bf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762930163317-01b67347b1bf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762930163317-01b67347b1bf"},links:{self:"https://api.unsplash.com/photos/abstract-pattern-of-ice-with-bubbles-t-tT-HdUYGg",html:"https://unsplash.com/photos/abstract-pattern-of-ice-with-bubbles-t-tT-HdUYGg",download:"https://unsplash.com/photos/t-tT-HdUYGg/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/t-tT-HdUYGg/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyfHx8fHx8fHwxNzYyOTUxNDE1fA"},width:6720,height:4480},{urls:{raw:"https://images.unsplash.com/photo-1762544968153-b9b47435fefd?ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762544968153-b9b47435fefd?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762544968153-b9b47435fefd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762544968153-b9b47435fefd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762544968153-b9b47435fefd?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762544968153-b9b47435fefd"},links:{self:"https://api.unsplash.com/photos/modern-living-room-with-tan-leather-chairs-and-fireplace-CCQi3pV95k0",html:"https://unsplash.com/photos/modern-living-room-with-tan-leather-chairs-and-fireplace-CCQi3pV95k0",download:"https://unsplash.com/photos/CCQi3pV95k0/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/CCQi3pV95k0/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwzfHx8fHx8fHwxNzYyOTUxNDE1fA"},width:3400,height:2267},{urls:{raw:"https://images.unsplash.com/photo-1762926949860-32a256c3bfe1?ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762926949860-32a256c3bfe1?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762926949860-32a256c3bfe1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762926949860-32a256c3bfe1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762926949860-32a256c3bfe1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762926949860-32a256c3bfe1"},links:{self:"https://api.unsplash.com/photos/cowgirl-rides-horse-with-american-flag-on-beach-YWm271YMI_I",html:"https://unsplash.com/photos/cowgirl-rides-horse-with-american-flag-on-beach-YWm271YMI_I",download:"https://unsplash.com/photos/YWm271YMI_I/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/YWm271YMI_I/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw0fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:3661,height:5490},{urls:{raw:"https://images.unsplash.com/photo-1762803733564-fecc7669a91a?ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762803733564-fecc7669a91a?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762803733564-fecc7669a91a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762803733564-fecc7669a91a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762803733564-fecc7669a91a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762803733564-fecc7669a91a"},links:{self:"https://api.unsplash.com/photos/modern-bedroom-with-a-unique-brown-bed-and-chair-0pgXqbEDyuY",html:"https://unsplash.com/photos/modern-bedroom-with-a-unique-brown-bed-and-chair-0pgXqbEDyuY",download:"https://unsplash.com/photos/0pgXqbEDyuY/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/0pgXqbEDyuY/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw1fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:8320,height:12480},{urls:{raw:"https://images.unsplash.com/photo-1711322352942-cda9aeed0641?ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1711322352942-cda9aeed0641?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1711322352942-cda9aeed0641?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1711322352942-cda9aeed0641?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1711322352942-cda9aeed0641?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1711322352942-cda9aeed0641"},links:{self:"https://api.unsplash.com/photos/a-large-building-with-two-towers-lit-up-at-night-dZi1XjHlC9w",html:"https://unsplash.com/photos/a-large-building-with-two-towers-lit-up-at-night-dZi1XjHlC9w",download:"https://unsplash.com/photos/dZi1XjHlC9w/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/dZi1XjHlC9w/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw2fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:2642,height:3301},{urls:{raw:"https://images.unsplash.com/photo-1762877211579-928eb9e9bb70?ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762877211579-928eb9e9bb70?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762877211579-928eb9e9bb70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762877211579-928eb9e9bb70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762877211579-928eb9e9bb70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762877211579-928eb9e9bb70"},links:{self:"https://api.unsplash.com/photos/yellow-ginkgo-leaves-against-a-blue-sky-djPI6C0i7ag",html:"https://unsplash.com/photos/yellow-ginkgo-leaves-against-a-blue-sky-djPI6C0i7ag",download:"https://unsplash.com/photos/djPI6C0i7ag/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/djPI6C0i7ag/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw3fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:4e3,height:6e3},{urls:{raw:"https://images.unsplash.com/photo-1761839257287-3030c9300ece?ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1761839257287-3030c9300ece?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1761839257287-3030c9300ece?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1761839257287-3030c9300ece?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1761839257287-3030c9300ece?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1761839257287-3030c9300ece"},links:{self:"https://api.unsplash.com/photos/man-petting-a-dog-with-boxes-in-background-TXdLi87NmJQ",html:"https://unsplash.com/photos/man-petting-a-dog-with-boxes-in-background-TXdLi87NmJQ",download:"https://unsplash.com/photos/TXdLi87NmJQ/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/TXdLi87NmJQ/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHw4fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:5472,height:3648},{urls:{raw:"https://images.unsplash.com/photo-1762877211603-0e764c23cf92?ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762877211603-0e764c23cf92?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762877211603-0e764c23cf92?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762877211603-0e764c23cf92?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762877211603-0e764c23cf92?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762877211603-0e764c23cf92"},links:{self:"https://api.unsplash.com/photos/tall-tree-with-yellow-leaves-and-sunburst-V-5rjLD3LEc",html:"https://unsplash.com/photos/tall-tree-with-yellow-leaves-and-sunburst-V-5rjLD3LEc",download:"https://unsplash.com/photos/V-5rjLD3LEc/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA",download_location:"https://api.unsplash.com/photos/V-5rjLD3LEc/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHw5fHx8fHx8fHwxNzYyOTUxNDE1fA"},width:4e3,height:6e3},{urls:{raw:"https://images.unsplash.com/photo-1762545112336-646c69e4888b?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762545112336-646c69e4888b?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762545112336-646c69e4888b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762545112336-646c69e4888b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762545112336-646c69e4888b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762545112336-646c69e4888b"},links:{self:"https://api.unsplash.com/photos/modern-living-room-with-fireplace-and-forest-view-WZqmoZrQ1vU",html:"https://unsplash.com/photos/modern-living-room-with-fireplace-and-forest-view-WZqmoZrQ1vU",download:"https://unsplash.com/photos/WZqmoZrQ1vU/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/WZqmoZrQ1vU/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMHx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:3400,height:2267},{urls:{raw:"https://images.unsplash.com/photo-1762862064886-72a3dcc25230?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762862064886-72a3dcc25230?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762862064886-72a3dcc25230?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762862064886-72a3dcc25230?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762862064886-72a3dcc25230?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762862064886-72a3dcc25230"},links:{self:"https://api.unsplash.com/photos/bright-orange-moon-rising-over-silhouetted-trees-at-night-SY1yaSaTIQ8",html:"https://unsplash.com/photos/bright-orange-moon-rising-over-silhouetted-trees-at-night-SY1yaSaTIQ8",download:"https://unsplash.com/photos/SY1yaSaTIQ8/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/SY1yaSaTIQ8/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMXx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:6195,height:3485},{urls:{raw:"https://images.unsplash.com/photo-1710994140598-a35ce9ed17be?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1710994140598-a35ce9ed17be?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1710994140598-a35ce9ed17be?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1710994140598-a35ce9ed17be?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1710994140598-a35ce9ed17be?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1710994140598-a35ce9ed17be"},links:{self:"https://api.unsplash.com/photos/a-black-and-white-photo-of-a-tall-building-9w9MX3VNwGc",html:"https://unsplash.com/photos/a-black-and-white-photo-of-a-tall-building-9w9MX3VNwGc",download:"https://unsplash.com/photos/9w9MX3VNwGc/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/9w9MX3VNwGc/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxMnx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:4672,height:7008},{urls:{raw:"https://images.unsplash.com/photo-1762795116942-1faf2ae6cf84?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762795116942-1faf2ae6cf84?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762795116942-1faf2ae6cf84?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762795116942-1faf2ae6cf84?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762795116942-1faf2ae6cf84?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762795116942-1faf2ae6cf84"},links:{self:"https://api.unsplash.com/photos/a-young-woman-looks-up-thoughtfully-against-dark-background-QVdYS6SGmFQ",html:"https://unsplash.com/photos/a-young-woman-looks-up-thoughtfully-against-dark-background-QVdYS6SGmFQ",download:"https://unsplash.com/photos/QVdYS6SGmFQ/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/QVdYS6SGmFQ/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxM3x8fHx8fHx8MTc2Mjk1MTQxNXw"},width:5304,height:7952},{urls:{raw:"https://images.unsplash.com/photo-1762794320130-675e00cd989a?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762794320130-675e00cd989a?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762794320130-675e00cd989a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762794320130-675e00cd989a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762794320130-675e00cd989a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762794320130-675e00cd989a"},links:{self:"https://api.unsplash.com/photos/abstract-pattern-of-many-small-and-large-spheres-ErvMRa30SCk",html:"https://unsplash.com/photos/abstract-pattern-of-many-small-and-large-spheres-ErvMRa30SCk",download:"https://unsplash.com/photos/ErvMRa30SCk/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/ErvMRa30SCk/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNHx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:3500,height:2500},{urls:{raw:"https://images.unsplash.com/photo-1761864294727-3c9f6b3e7425?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1761864294727-3c9f6b3e7425?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1761864294727-3c9f6b3e7425?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1761864294727-3c9f6b3e7425?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1761864294727-3c9f6b3e7425?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1761864294727-3c9f6b3e7425"},links:{self:"https://api.unsplash.com/photos/teal-pendant-light-hangs-above-modern-dining-set-rlofFP9uhi0",html:"https://unsplash.com/photos/teal-pendant-light-hangs-above-modern-dining-set-rlofFP9uhi0",download:"https://unsplash.com/photos/rlofFP9uhi0/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/rlofFP9uhi0/download?ixid=M3wxMTY5OTZ8MXwxfGFsbHwxNXx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:4096,height:4096},{urls:{raw:"https://images.unsplash.com/photo-1762789291015-51c5a710c73c?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762789291015-51c5a710c73c?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762789291015-51c5a710c73c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762789291015-51c5a710c73c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762789291015-51c5a710c73c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762789291015-51c5a710c73c"},links:{self:"https://api.unsplash.com/photos/a-dense-star-cluster-in-the-night-sky-DgflnSWtono",html:"https://unsplash.com/photos/a-dense-star-cluster-in-the-night-sky-DgflnSWtono",download:"https://unsplash.com/photos/DgflnSWtono/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/DgflnSWtono/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxNnx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:3e3,height:2e3},{urls:{raw:"https://images.unsplash.com/photo-1762792049412-7bf096c0f016?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762792049412-7bf096c0f016?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762792049412-7bf096c0f016?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762792049412-7bf096c0f016?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762792049412-7bf096c0f016?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762792049412-7bf096c0f016"},links:{self:"https://api.unsplash.com/photos/modern-office-buildings-in-a-bustling-city-square-Js1SSug0Dpg",html:"https://unsplash.com/photos/modern-office-buildings-in-a-bustling-city-square-Js1SSug0Dpg",download:"https://unsplash.com/photos/Js1SSug0Dpg/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/Js1SSug0Dpg/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxN3x8fHx8fHx8MTc2Mjk1MTQxNXw"},width:5084,height:3813},{urls:{raw:"https://images.unsplash.com/photo-1762763954800-c77f92354aff?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762763954800-c77f92354aff?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762763954800-c77f92354aff?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762763954800-c77f92354aff?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762763954800-c77f92354aff?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762763954800-c77f92354aff"},links:{self:"https://api.unsplash.com/photos/hexagonal-basalt-columns-with-water-pools-IuXpGuPErns",html:"https://unsplash.com/photos/hexagonal-basalt-columns-with-water-pools-IuXpGuPErns",download:"https://unsplash.com/photos/IuXpGuPErns/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/IuXpGuPErns/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOHx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:6336,height:9520},{urls:{raw:"https://images.unsplash.com/photo-1762710940358-e3351cc9ff34?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762710940358-e3351cc9ff34?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762710940358-e3351cc9ff34?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762710940358-e3351cc9ff34?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762710940358-e3351cc9ff34?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762710940358-e3351cc9ff34"},links:{self:"https://api.unsplash.com/photos/full-moon-rising-over-a-dark-silhouetted-mountain-ridge-4CFLle2o910",html:"https://unsplash.com/photos/full-moon-rising-over-a-dark-silhouetted-mountain-ridge-4CFLle2o910",download:"https://unsplash.com/photos/4CFLle2o910/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/4CFLle2o910/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwxOXx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:4e3,height:6e3},{urls:{raw:"https://images.unsplash.com/photo-1762709781475-14fb1c385eac?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0",full:"https://images.unsplash.com/photo-1762709781475-14fb1c385eac?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=85",regular:"https://images.unsplash.com/photo-1762709781475-14fb1c385eac?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=1080",small:"https://images.unsplash.com/photo-1762709781475-14fb1c385eac?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=400",thumb:"https://images.unsplash.com/photo-1762709781475-14fb1c385eac?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw&ixlib=rb-4.1.0&q=80&w=200",small_s3:"https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1762709781475-14fb1c385eac"},links:{self:"https://api.unsplash.com/photos/runners-embrace-after-a-race-possibly-cold-competition-eA9lsojLOog",html:"https://unsplash.com/photos/runners-embrace-after-a-race-possibly-cold-competition-eA9lsojLOog",download:"https://unsplash.com/photos/eA9lsojLOog/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw",download_location:"https://api.unsplash.com/photos/eA9lsojLOog/download?ixid=M3wxMTY5OTZ8MHwxfGFsbHwyMHx8fHx8fHx8MTc2Mjk1MTQxNXw"},width:4672,height:7008}],n=p(({store:i})=>l("div",{style:{height:"100%",display:"flex",flexDirection:"column"},children:[x("div",{style:{padding:"0 4px",marginBottom:10},children:x(f,{placeholder:o("sidePanel.searchPlaceholder")})}),x(t,{shadowEnabled:!1,images:w,getPreview:s=>s.urls.regular,isLoading:!1,error:!1,onSelect:s=>{console.log("args ---> ",i,s)}})]}));export{n as a};
@@ -1 +0,0 @@
1
- var o="https://api.yitupic.com",p=`${o}/api`,s=()=>o+"/api",e={fontList:()=>`${s()}/fonts`,templateList:()=>`${s()}/templates/list`,templateDetail:t=>`${s()}/templates/detail/${t}`,uploadImage:()=>`${s()}/images/upload`},i=()=>e.fontList(),n=()=>e.templateList(),r=t=>e.templateDetail(t),l=()=>e.uploadImage(),g=(t,a)=>{e[t]=a};export{o as a,p as b,s as c,e as d,i as e,n as f,r as g,l as h,g as i};
@@ -1 +0,0 @@
1
- import{c as e}from"./chunk-YCFED7XQ.js";import{Popover as c,Button as p}from"antd";import{Rotate3d as n,FlipHorizontal as y,FlipVertical as d}from"lucide-react";import{useState as b,useEffect as m,useCallback as f}from"react";import{observer as u}from"mobx-react-lite";import{jsx as i,jsxs as x}from"react/jsx-runtime";var F=u(({element:o,store:l})=>{let[t,r]=b({flipX:!1,flipY:!1}),a=f(()=>{l.editor?.objectsHandler.update({flipX:!t.flipX}),r({...t,flipX:!t.flipX})},[l.editor,t]),s=f(()=>{l.editor?.objectsHandler.update({flipY:!t.flipY}),r({...t,flipY:!t.flipY})},[l.editor,t]);return m(()=>{o&&r({flipX:o.flipX,flipY:o.flipY})},[o]),i(c,{trigger:"click",content:x("div",{style:{width:165},children:[i(p,{type:"text",block:!0,style:{justifyContent:"start"},icon:i(y,{size:16,style:{display:"flex"}}),onClick:a,children:e("toolbar.flipHorizontally")}),i(p,{type:"text",block:!0,style:{justifyContent:"start"},icon:i(d,{size:16,style:{display:"flex"}}),onClick:s,children:e("toolbar.flipVertically")})]}),children:i(p,{type:"text",icon:i(n,{size:16,style:{display:"flex"}}),styles:{root:{padding:"0 7px"}},children:e("toolbar.flip")})})});export{F as a};
@@ -1 +0,0 @@
1
- import{b as t,c as e,d as a,e as i,f as o,g as h,h as p,i as x,j as r}from"./chunk-7NNOHYKX.js";var n=(L=>(L.ROUND_RECT="roundRect",L.ROUND_RECT_DIAGONAL="roundRectDiagonal",L.ROUND_RECT_SINGLE="roundRectSingle",L.ROUND_RECT_SAMESIDE="roundRectSameSide",L.CUT_RECT_DIAGONAL="cutRectDiagonal",L.CUT_RECT_SINGLE="cutRectSingle",L.CUT_RECT_SAMESIDE="cutRectSameSide",L.MESSAGE="message",L.ROUND_MESSAGE="roundMessage",L.L="L",L.RING_RECT="ringRect",L.PLUS="plus",L.TRIANGLE="triangle",L.PARALLELOGRAM_LEFT="parallelogramLeft",L.PARALLELOGRAM_RIGHT="parallelogramRight",L.TRAPEZOID="trapezoid",L.BULLET="bullet",L.INDICATOR="indicator",L))(n||{}),v=[{name:"\u57FA\u7840",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",type:"rect"},{viewBox:[200,200],path:t({width:200,height:200}),type:"circle"},{viewBox:[200,200],path:"M 0,100 A 100,50 0 1 1 200,100 A 100,50 0 1 1 0,100 Z",type:"ellipse"},{viewBox:[200,200],path:"M 100,50 L 200,150 L 0,150 Z",type:"triangle"}]},{name:"\u77E9\u5F62",children:[{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 50 200 Q 0 200 0 150 L 0 0 Z"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z"}]},{name:"\u5E38\u89C4\u5F62\u72B6",children:[{viewBox:[200,200],path:e({width:200,height:200})},{viewBox:[200,200],path:a({width:200,height:200})},{viewBox:[200,200],path:i({width:200,height:200})},{viewBox:[200,200],path:o({width:200,height:200})},{viewBox:[200,200],path:h({width:200,height:200})},{viewBox:[200,200],path:p({width:200,height:200})},{viewBox:[200,200],path:x({width:200,height:200})},{viewBox:[200,200],path:r({width:200,height:200})}]},{name:"\u5E38\u7528\u5F62\u72B6",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:"parallelogramLeft"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:"parallelogramRight"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:"bullet"},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:"indicator"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:"L"},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:"ringRect"},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:"plus"},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:"message"},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:"roundMessage"},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"}]}],s=[{path:"M 0 0 L 20 20",style:"solid",points:["",""],data:[{x:0,y:0},{x:200,y:0}]}],Z=[{name:"\u76F4\u7EBF",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"],data:[{x:0,y:0},{x:200,y:0}]}]},{name:"\u6298\u7EBF\u3001\u66F2\u7EBF",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0,data:[{x:0,y:0},{x:0,y:100},{x:200,y:100}]},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0,data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0,data:[{x:0,y:0},{x:200,y:0}]}]}];export{n as a,v as b,s as c,Z as d};
@@ -1,8 +0,0 @@
1
- import{useState as s,useEffect as r}from"react";var o=768,i=()=>window.innerWidth<=o,l=e=>`
2
- @media (max-width: ${o}px) {
3
- ${e}
4
- .ydesign-editor-mobile & {
5
- ${e}
6
- }
7
- }
8
- `,a=()=>{let[e,n]=s(i());return r(()=>{let t=()=>{n(i())};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),e};export{o as a,i as b,l as c,a as d};
@@ -1,9 +0,0 @@
1
- import*as A from"mobx";var u=A.observable([]);function S(t){u.push(t)}function I(t){let e=u.findIndex(n=>n.fontFamily===t);e!==-1&&u.splice(e,1)}function O(t){u.replace(t)}var E="Some test text;?#D-\u041F\u0420\u0418\u0412\u0415\u0422!1230o9u8i7y6t5r4e3w2q1",g=null;function i(t,e="Arial",n="normal",s="normal"){g||(g=document.createElement("canvas"));let o=g.getContext("2d");return o.font=`${n} ${s} 40px '${t}', ${e}`,o.measureText(E).width}var c={Arial:!0},N=t=>!!c[t],v=6e3,p=60,y=()=>{},R=t=>{y=t},$=()=>v,W=t=>{$=t};async function M(t,e="normal",n="normal"){if(c[t])return;let s=!!document.fonts?.load,o=i("Arial","Arial",e,n);if(s)try{if(await document.fonts.load(`${n} ${e} 16px '${t}'`),i(t,"Arial",e,n)!==o){c[t]=!0;return}}catch{}let l=i("Times","Times",e,n),a=i(t,"Arial",e,n),d=Math.min(v,$())/p;for(let m=0;m<d;m++){let x=i(t,"Arial",e,n),C=i(t,"Times",e,n);if(x!==a||x!==o||C!==l){await T(p),c[t]=!0;return}await T(p)}let f=`Timeout for loading font "${t}". Is it a correct font family?`;console.warn(f),y(f)}function T(t){return new Promise(e=>setTimeout(e,t))}var F={},r=null;function w(){return r||(r=document.getElementById("custom-font-style"),r||(r=document.createElement("style"),r.id="custom-font-style",document.head.appendChild(r))),r.sheet}function P(t){let{fontFamily:e,url:n,styles:s}=t;if(F[e]||!n&&!s)return;let o=s||(n?[{src:`url("${n}")`}]:[]),l=w();o.forEach(a=>{let d=`
2
- @font-face {
3
- font-family: '${e}';
4
- src: ${a.src};
5
- font-style: ${a.fontStyle||"normal"};
6
- font-weight: ${a.fontWeight||"normal"};
7
- font-display: swap;
8
- }
9
- `;l.insertRule(d,l.cssRules.length)}),F[e]=!0}var b={},h="400,400italic,700,700italic";function j(t){h=t}function V(){return h}function L(t){return`https://fonts.googleapis.com/css?family=${t.replace(/ /g,"+")}:${h}`}function k(t){if(b[t])return;let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=L(t),document.head.appendChild(e),b[t]=!0}export{u as a,S as b,I as c,O as d,N as e,R as f,W as g,M as h,P as i,j,V as k,L as l,k as m};
@@ -1 +0,0 @@
1
- import c,{useEffect as r}from"react";import{Editor as d}from"@ydesign/core";import{observer as l}from"mobx-react-lite";import{jsx as i,jsxs as v}from"react/jsx-runtime";var p=({store:e})=>{let o=c.useRef(null);return r(()=>{let s=o.current,{clientHeight:n,clientWidth:a}=s,t=new d({id:"canvas",config:{size:{width:a,height:n},workareaConfig:{width:e.width,height:e.height,background:"rgba(255,255,255,1)"}},container:s,state:{editor:e.editor,activeObject:e.selectedElements,objects:e.objects,zoomRatio:e.scale,setEditor:e._setEditor,setActiveObject:e.selectElements,setObjects:e.setObjects,setZoomRatio:e.setScale}});return e._setEditor(t),e.setupEditorListeners(),window._c=t,()=>{t.destroy()}},[]),v("div",{id:"canvas_container",ref:o,style:{flex:1,position:"relative",overflow:"hidden"},className:"bg-[#ecf0f1] dark:bg-[#92969d]",children:[i("div",{className:"inside-shadow w-full h-full shadow-inner",style:{position:"absolute",zIndex:2,pointerEvents:"none"}}),i("div",{style:{position:"absolute",height:"100%",width:"100%"},children:i("canvas",{id:"canvas"})})]})},b=l(p);export{p as a,b};
@@ -1 +0,0 @@
1
- import{jsx as d}from"react/jsx-runtime";var o=()=>d("div",{}),r=o;export{o as a,r as b};
@@ -1 +0,0 @@
1
- import{c as r}from"./chunk-YCFED7XQ.js";import{Blend as d}from"lucide-react";import{Popover as c,Tooltip as y,Button as u,InputNumber as h,Slider as v}from"antd";import{observer as g}from"mobx-react-lite";import{useState as f,useEffect as b}from"react";import{jsx as t,jsxs as s}from"react/jsx-runtime";var M=g(({store:o})=>{let m=o.selectedShapes.length>0,e=o.selectedShapes[0],[n,i]=f(()=>Math.round(100*(e?.opacity??1)));b(()=>{e&&i(Math.round(100*(e.opacity??1)))},[e,e?.opacity]);let a=l=>{let p=Math.max(0,Math.min(l,100));i(p),o.set({opacity:p/100})};return t(y,{title:r("toolbar.transparency"),placement:"bottom",children:t(c,{content:s("div",{children:[t("div",{style:{textAlign:"center",marginBottom:10},children:r("toolbar.transparency")}),s("div",{style:{display:"flex"},children:[t("div",{style:{width:170,paddingRight:20},children:t(v,{min:0,max:100,onChange:a,value:n})}),t(h,{min:0,max:100,value:n,onChange:a,size:"small",styles:{root:{width:65}}})]})]}),trigger:"click",children:t(u,{type:"text",disabled:!m,styles:{root:{padding:"0 7px"}},children:t(d,{size:16})})})})});export{M as a};
@@ -1,14 +0,0 @@
1
- import{c as u}from"./chunk-WCHGSVUC.js";import{useState as m,useRef as d,useLayoutEffect as p}from"react";import b from"styled-components";import{OverflowList as v}from"react-overflow-list";import{Ellipsis as h}from"lucide-react";import{Popover as w,Button as y}from"antd";import{jsx as s}from"react/jsx-runtime";var g=b.div`
2
- display: flex;
3
- height: 50px;
4
- align-items: center;
5
- float: left;
6
- overflow: hidden;
7
- max-width: 100%;
8
- box-sizing: border-box;
9
- user-select: auto;
10
-
11
- ${u(`
12
- width: auto !important;
13
- `)}
14
- `,W=({type:a,usedItems:l,components:i})=>{let c=[];return Object.keys(i).forEach(e=>{e.toLowerCase().indexOf(a)===0&&e.toLowerCase()!==a&&(i[e]?l.includes(e)||c.push(e):console.error(`error: Toolbar has invalid React component "${e}"`))}),l.filter(e=>!!e).concat(c)},z=({items:a,itemRender:l})=>{let[i,c]=m(null),e=d(null),f=()=>{if(e.current===null)return;let t=e.current.parentElement;if(!t)return;let r=0;Array.from(t?.children||[]).forEach(o=>{o!==e.current&&(r+=o.offsetWidth)});let n=Math.max(20,t.offsetWidth-r-10);c(o=>o!==n?n:o)};return p(()=>{f();let t=e.current?.parentElement,r=t?.parentElement;if(window.ResizeObserver){let n=new ResizeObserver(f);t&&n.observe(t),r&&n.observe(r);let o=new MutationObserver(f);return t&&o.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),()=>{n.disconnect(),o.disconnect()}}else{let n=setInterval(f,100);return()=>clearInterval(n)}},[]),s(g,{ref:e,style:{width:i??"auto"},className:"bp5-navbar-group bp5-align-left overflow-hidden flex-shrink-0",children:i!==null&&s(v,{className:"gap-2 items-center w-full",collapseFrom:"end",items:a,minVisibleItems:0,itemRenderer:l,overflowRenderer:t=>s(w,{content:s("div",{style:{display:"flex",gap:6},children:t.map(r=>l(r))}),trigger:"click",placement:"bottom",children:s(y,{type:"text",size:"small",onMouseDownCapture:r=>{r.preventDefault()},children:s(h,{})})})},i)})};export{W as a,z as b};
@@ -1 +0,0 @@
1
- import{c as l}from"./chunk-YCFED7XQ.js";import{Popover as ve,Button as Fe,Switch as T,Slider as k,InputNumber as v,ColorPicker as Z}from"antd";import{observer as pe}from"mobx-react-lite";import{Sparkles as ye}from"lucide-react";import{useEffect as xe,useState as i}from"react";import{Fragment as W,jsx as a,jsxs as s}from"react/jsx-runtime";var F=(h,g,f)=>Math.max(g,Math.min(f,h)),$={display:"inline-flex",justifyContent:"space-between",width:"100%",padding:6},E={display:"flex",alignItems:"center",justifyContent:"space-between",padding:6},u=({label:h,enabled:g,visible:f=!0,onEnabledChange:O,numberValue:n,min:t,max:p,onNumberValueChange:o,step:m})=>f?s(W,{children:[s("div",{style:{display:"inline-flex",justifyContent:"space-between",width:"100%",padding:"6px"},children:[a("span",{children:h}),a(T,{checked:g,onChange:d=>{O(d)}})]}),g?s("div",{style:{display:"flex",width:"100%",justifyContent:"space-between",marginTop:10,marginBottom:10},children:[a("div",{style:{flex:1},children:a(k,{value:n,onChange:d=>{o(d)},min:t,max:p,step:m})}),a(v,{size:"small",style:{width:60,marginLeft:10},value:n,step:m,onChange:d=>{o(F(d,t,p))}})]}):null]}):null,ke=pe(({element:h,store:g,elements:f})=>{let n=(f||[h])[0],t=g.editor,p=n?.type==="textbox",o=n?.type==="image",m=t?.imageFiltersHandler.getFilter("blur"),d=t?.imageFiltersHandler.getFilter("brightness"),y=t?.imageFiltersHandler.getFilter("contrast"),x=t?.imageFiltersHandler.getFilter("saturation"),C=t?.imageFiltersHandler.getFilter("vibrance"),H=t?.imageFiltersHandler.getFilter("hueRotation"),w=t?.imageFiltersHandler.getFilter("noise"),V=t?.imageFiltersHandler.getFilter("pixelate"),[ee,_]=i(!!m),[te,M]=i(m?.blur||.5),[ae,S]=i(!!d),[ne,L]=i(d?.brightness||.05),[re,I]=i(!!y),[ie,q]=i(y?.contrast||.25),[le,N]=i(!!x),[se,D]=i(x?.saturation||1),[oe,R]=i(!!C),[be,G]=i(C?.vibrance||1),[de,j]=i(!!H),[ce,J]=i(H?.rotation||-.5),[ue,A]=i(!!w),[me,K]=i(w?.noise||30),[ge,X]=i(!!V),[he,Q]=i(V?.blocksize||30),[fe,Y]=i(n?.stroke),[P,z]=i(n?.strokeWidth),[b,U]=i({enabled:!!n?.shadow,offsetX:n?.shadow?.offsetX||15,offsetY:n?.shadow?.offsetY||15,blur:n?.shadow?.blur||25,color:n?.shadow?.color||"rgba(0,0,0,0.45)",affectStroke:!1,nonScaling:!1,type:"shadow"});xe(()=>{Y(n?.stroke),z(n?.strokeWidth),U({enabled:!!n?.shadow,offsetX:n?.shadow?.offsetX||15,offsetY:n?.shadow?.offsetY||15,blur:n?.shadow?.blur||25,color:n?.shadow?.color||"rgba(0,0,0,0.45)",affectStroke:!1,nonScaling:!1,type:"shadow"}),_(!!m),M(m?.blur||.5),S(!!d),L(d?.brightness||.05),I(!!y),q(y?.contrast||.25),N(!!x),D(x?.saturation||1),R(!!C),G(C?.vibrance||1),j(!!H),J(H?.rotation||-.5),A(!!w),K(w?.noise||30),X(!!V),Q(V?.blocksize||30)},[n]);let B=e=>{t?.objectsHandler.setTextStyle(e)},c=(e,r)=>{U({...b,[e]:r}),t&&t.objectsHandler.setShadow({...b,[e]:r})};return a(ve,{trigger:"click",content:s("div",{style:{width:"280px",maxHeight:"calc(100vh - 150px)",overflow:"auto"},children:[a(u,{label:l("toolbar.blur"),visible:o,enabled:ee,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"blur",{blur:.5}),_(!0)):(t?.imageFiltersHandler._removeFilter(r,"blur"),_(!1))},min:0,max:1,step:.1,numberValue:te,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("blur","blur",e),M(e)}}),a(u,{label:l("toolbar.brightness"),visible:o,enabled:ae,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"brightness",{brightness:.05}),S(!0)):(t?.imageFiltersHandler._removeFilter(r,"brightness"),S(!1))},min:-1,max:1,step:.01,numberValue:ne,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("brightness","brightness",e),L(e)}}),a(u,{label:l("toolbar.contrast"),visible:o,enabled:re,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"contrast",{contrast:.25}),I(!0)):(t?.imageFiltersHandler._removeFilter(r,"contrast"),I(!1))},min:-1,max:1,step:.01,numberValue:ie,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("contrast","contrast",e),q(e)}}),a(u,{label:l("toolbar.saturation"),visible:o,enabled:le,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"saturation",{saturation:1}),N(!0)):(t?.imageFiltersHandler._removeFilter(r,"saturation"),N(!1))},min:-1,max:1,step:.01,numberValue:se,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("saturation","saturation",e),D(e)}}),a(u,{label:l("toolbar.vibrance"),visible:o,enabled:oe,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"vibrance",{vibrance:1}),R(!0)):(t?.imageFiltersHandler._removeFilter(r,"vibrance"),R(!1))},min:-1,max:1,step:.01,numberValue:be,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("vibrance","vibrance",e),G(e)}}),a(u,{label:l("toolbar.hueRotation"),visible:o,enabled:de,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"hueRotation",{rotation:-.5}),j(!0)):(t?.imageFiltersHandler._removeFilter(r,"hueRotation"),j(!1))},min:-1,max:1,step:.01,numberValue:ce,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("hueRotation","rotation",e),J(e)}}),a(u,{label:l("toolbar.noise"),visible:o,enabled:ue,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"noise",{noise:30}),A(!0)):(t?.imageFiltersHandler._removeFilter(r,"noise"),A(!1))},min:0,max:1e3,step:1,numberValue:me,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("noise","noise",e),K(e)}}),a(u,{label:l("toolbar.pixelate"),visible:o,enabled:ge,onEnabledChange:e=>{let r=n;e?(t?.imageFiltersHandler._createFilter(r,"pixelate",{blocksize:10}),X(!0)):(t?.imageFiltersHandler._removeFilter(r,"pixelate"),X(!1))},min:.01,max:100,step:.01,numberValue:he,onNumberValueChange:e=>{t?.imageFiltersHandler._changeAttr("pixelate","blocksize",e),Q(e)}}),p&&s(W,{children:[s("div",{style:$,children:[a("span",{children:l("toolbar.textStroke")}),a(T,{checked:!!P,onChange:e=>{B({strokeWidth:e?10:0,stroke:e?"red":null}),z(e?10:0),Y(e?"red":null)}})]}),!!P&&s("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px"},children:[a(Z,{value:fe,onChange:e=>{let r=e.toCssString();B({stroke:r}),Y(r)}}),a(v,{value:P,onChange:e=>{B({strokeWidth:F(e,1,30)}),z(F(e,1,30))},style:{width:60},min:1,max:Math.round(n.fontSize/2)})]})]}),s("div",{style:$,children:[a("span",{children:l("toolbar.shadow")}),a(T,{checked:!!b.enabled,onChange:e=>{c("enabled",e)}})]}),b.enabled&&s(W,{children:[s("div",{style:E,children:[a("div",{children:l("toolbar.blur")}),a("div",{children:a(v,{value:b.blur,style:{width:60},min:0,max:50,onChange:e=>{c("blur",e)}})})]}),a(k,{value:b.blur,onChange:e=>c("blur",e),min:0,max:50}),s("div",{style:E,children:[a("div",{children:l("toolbar.offsetX")}),a("div",{children:a(v,{value:b.offsetX,style:{width:60},min:-50,max:50,onChange:e=>{c("offsetX",F(e,-50,50))}})})]}),a(k,{value:b.offsetX,onChange:e=>c("offsetX",e),min:-50,max:50}),s("div",{style:E,children:[a("div",{children:l("toolbar.offsetY")}),a("div",{children:a(v,{value:b.offsetY,style:{width:60},min:-50,max:50,onChange:e=>{c("offsetY",F(e,-50,50))}})})]}),a(k,{value:b.offsetY,onChange:e=>c("offsetY",e),min:-50,max:50}),s("div",{style:E,children:[a("div",{children:l("toolbar.color")}),a(Z,{defaultFormat:"rgb",value:b.color,onChange:e=>{c("color",e.toRgbString())}})]})]})]}),children:a(Fe,{type:"text",icon:a(ye,{size:16,style:{display:"flex"}}),styles:{root:{padding:"0 7px"}},children:l("toolbar.effects")})})});export{ke as a};
@@ -1,16 +0,0 @@
1
- import { StoreType } from '../model/store.js';
2
- import 'fabric';
3
- import 'mobx-state-tree/dist/internal';
4
- import 'mobx-state-tree';
5
- import '@ydesign/core';
6
- import '../utils/fonts.js';
7
- import 'mobx';
8
-
9
- declare const useDuplicateElement: ({ store }: {
10
- store: StoreType;
11
- }) => {
12
- disabled: boolean;
13
- duplicate: () => void;
14
- };
15
-
16
- export { useDuplicateElement };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-JMIN2XMC.js";import"../chunk-O2XFH626.js";export{a as useDuplicateElement};
@@ -1,18 +0,0 @@
1
- import { StoreType } from '../model/store.js';
2
- import 'fabric';
3
- import 'mobx-state-tree/dist/internal';
4
- import 'mobx-state-tree';
5
- import '@ydesign/core';
6
- import '../utils/fonts.js';
7
- import 'mobx';
8
-
9
- declare const useLock: ({ store }: {
10
- store: StoreType;
11
- }) => {
12
- disabled: boolean;
13
- lock: () => void;
14
- unlock: () => void;
15
- locked: boolean | undefined;
16
- };
17
-
18
- export { useLock };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-75WC3GVB.js";import"../chunk-O2XFH626.js";export{a as useLock};
@@ -1,16 +0,0 @@
1
- import { StoreType } from '../model/store.js';
2
- import 'fabric';
3
- import 'mobx-state-tree/dist/internal';
4
- import 'mobx-state-tree';
5
- import '@ydesign/core';
6
- import '../utils/fonts.js';
7
- import 'mobx';
8
-
9
- declare const useRemoveElement: ({ store }: {
10
- store: StoreType;
11
- }) => {
12
- disabled: boolean;
13
- remove: () => void;
14
- };
15
-
16
- export { useRemoveElement };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-IUFYYEGO.js";import"../chunk-O2XFH626.js";export{a as useRemoveElement};
@@ -1,5 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
-
3
- declare function cn(...inputs: ClassValue[]): string;
4
-
5
- export { cn };
package/dist/lib/utils.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"../chunk-MXZ6RXT3.js";import"../chunk-O2XFH626.js";export{a as cn};
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const setBackgroundColorsPreset: (newColors: string[]) => void;
11
- declare const BackgroundPanel: (({ store }: {
12
- store: StoreType;
13
- }) => react_jsx_runtime.JSX.Element) & {
14
- displayName: string;
15
- };
16
-
17
- export { BackgroundPanel, setBackgroundColorsPreset };
@@ -1 +0,0 @@
1
- import{a,b}from"../chunk-PSO4W6J7.js";import"../chunk-O56ZNYGR.js";import"../chunk-RVXI723F.js";import"../chunk-YRJUN267.js";import"../chunk-OQ6HU62L.js";import"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{b as BackgroundPanel,a as setBackgroundColorsPreset};
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { FabricObject } from '@ydesign/core';
3
-
4
- type Props<ImageType> = {
5
- images: ImageType[] | undefined;
6
- onSelect: (image: ImageType, pos?: {
7
- x: number;
8
- y: number;
9
- }, element?: FabricObject | undefined, event?: any) => void;
10
- isLoading: boolean;
11
- getPreview: (image: ImageType) => string;
12
- loadMore?: false | undefined | null | (() => void);
13
- getCredit?: (image: ImageType) => any;
14
- getImageClassName?: (image: ImageType) => string;
15
- rowsNumber?: number;
16
- crossOrigin?: string;
17
- shadowEnabled?: boolean;
18
- itemHeight?: number;
19
- spacing?: number;
20
- error?: any;
21
- hideNoResults?: boolean;
22
- };
23
- declare const ImagesGrid: (<ImageType>({ images, rowsNumber, isLoading, getPreview, getCredit, getImageClassName, onSelect, crossOrigin, shadowEnabled, itemHeight, error, hideNoResults, spacing, }: Props<ImageType>) => react_jsx_runtime.JSX.Element) & {
24
- displayName: string;
25
- };
26
-
27
- export { ImagesGrid };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as ImagesGrid};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const LayersPanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { LayersPanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-5X6VER6G.js";import"../chunk-4LUZF4CB.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as LayersPanel};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const PhotosPanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { PhotosPanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-TS5CKDHH.js";import"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as PhotosPanel};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const ShapesPanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { ShapesPanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-DGCF2GDA.js";import"../chunk-MXZ6RXT3.js";import"../chunk-TZ6B7XDS.js";import"../chunk-7NNOHYKX.js";import"../chunk-TTHQXTIX.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as ShapesPanel};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const SizePanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { SizePanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-QWM7VMLQ.js";import"../chunk-5C2MNUBC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as SizePanel};
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface SectionTabProps {
4
- children: any;
5
- name: string;
6
- onClick: any;
7
- active: boolean;
8
- iconSize?: number;
9
- }
10
- declare const SectionTab: ({ children, name, iconSize, onClick, active }: SectionTabProps) => react_jsx_runtime.JSX.Element;
11
-
12
- export { SectionTab };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-4HH3B3W3.js";import"../chunk-O2XFH626.js";export{a as SectionTab};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const TemplatesPanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { TemplatesPanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-HHYPIHAP.js";import"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as TemplatesPanel};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const TextPanel: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { TextPanel };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-IV52R7D7.js";import"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as TextPanel};
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare function setUploadFunc(func: any): void;
11
- declare const UploadPanel: (({ store }: {
12
- store: StoreType;
13
- }) => react_jsx_runtime.JSX.Element) & {
14
- displayName: string;
15
- };
16
-
17
- export { UploadPanel, UploadPanel as default, setUploadFunc };
@@ -1 +0,0 @@
1
- import{a,b,c}from"../chunk-JPIYZYMQ.js";import"../chunk-OQ6HU62L.js";import"../chunk-POCSL7OS.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{b as UploadPanel,c as default,a as setUploadFunc};
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const BackgroundPicker: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
- type PageProps = {
16
- store: StoreType;
17
- components?: any;
18
- };
19
- declare const DefaultToolbar: ({ store, components }: PageProps) => react_jsx_runtime.JSX.Element;
20
-
21
- export { BackgroundPicker, DefaultToolbar, DefaultToolbar as default };
@@ -1 +0,0 @@
1
- import{a,b,c}from"../chunk-O56ZNYGR.js";import"../chunk-RVXI723F.js";import"../chunk-YRJUN267.js";import"../chunk-OQ6HU62L.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{a as BackgroundPicker,b as DefaultToolbar,c as default};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import 'fabric';
4
- import 'mobx-state-tree/dist/internal';
5
- import 'mobx-state-tree';
6
- import '@ydesign/core';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const DuplicateButton: (({ store }: {
11
- store: StoreType;
12
- }) => react_jsx_runtime.JSX.Element) & {
13
- displayName: string;
14
- };
15
-
16
- export { DuplicateButton };
@@ -1 +0,0 @@
1
- import{a}from"../chunk-J6PYM4EV.js";import"../chunk-YCFED7XQ.js";import"../chunk-JMIN2XMC.js";import"../chunk-O2XFH626.js";export{a as DuplicateButton};
@@ -1,13 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare const extendToolbar: ({ type, usedItems, components }: {
4
- type: string;
5
- usedItems: Array<string | undefined>;
6
- components: any;
7
- }) => (string | undefined)[];
8
- declare const ElementContainer: ({ items, itemRender }: {
9
- items: any;
10
- itemRender: any;
11
- }) => react_jsx_runtime.JSX.Element;
12
-
13
- export { ElementContainer, extendToolbar };
@@ -1 +0,0 @@
1
- import{a,b}from"../chunk-YRJUN267.js";import"../chunk-WCHGSVUC.js";import"../chunk-O2XFH626.js";export{b as ElementContainer,a as extendToolbar};
@@ -1,33 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import { FabricObject } from '@ydesign/core';
4
- import 'fabric';
5
- import 'mobx-state-tree/dist/internal';
6
- import 'mobx-state-tree';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- type Props = {
11
- store: StoreType;
12
- components?: any;
13
- };
14
- type ButtonProps = {
15
- element?: FabricObject;
16
- store: StoreType;
17
- elements: FabricObject[];
18
- };
19
- declare const getFillKey: (fill: any) => string;
20
- declare const FigureFill: (({ store, elements }: ButtonProps) => react_jsx_runtime.JSX.Element) & {
21
- displayName: string;
22
- };
23
- declare const FigureSettings: (({ store, element }: ButtonProps) => react_jsx_runtime.JSX.Element) & {
24
- displayName: string;
25
- };
26
- declare const FigureStroke: (({ store, elements }: ButtonProps) => react_jsx_runtime.JSX.Element | null) & {
27
- displayName: string;
28
- };
29
- declare const FigureToolbar: (({ store, components }: Props) => react_jsx_runtime.JSX.Element) & {
30
- displayName: string;
31
- };
32
-
33
- export { FigureFill, FigureSettings, FigureStroke, FigureToolbar, getFillKey };
@@ -1 +0,0 @@
1
- import{a,b,c,d,e}from"../chunk-62YF5KTO.js";import"../chunk-YVBVDUVA.js";import"../chunk-RVXI723F.js";import"../chunk-YRJUN267.js";import"../chunk-WCHGSVUC.js";import"../chunk-YCFED7XQ.js";import"../chunk-O2XFH626.js";export{b as FigureFill,c as FigureSettings,d as FigureStroke,e as FigureToolbar,a as getFillKey};
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { StoreType } from '../model/store.js';
3
- import { FabricObject } from '@ydesign/core';
4
- import 'fabric';
5
- import 'mobx-state-tree/dist/internal';
6
- import 'mobx-state-tree';
7
- import '../utils/fonts.js';
8
- import 'mobx';
9
-
10
- declare const FiltersPicker: (({ element, store, elements }: {
11
- elements?: Array<FabricObject>;
12
- element?: FabricObject;
13
- store: StoreType;
14
- }) => react_jsx_runtime.JSX.Element) & {
15
- displayName: string;
16
- };
17
-
18
- export { FiltersPicker };