├── .eslintrc.cjs ├── .github └── workflows │ └── publish.yml ├── .gitignore ├── README.md ├── index.html ├── package.json ├── packages └── core │ ├── CHANGELOG.md │ ├── ContextMenu.ts │ ├── Editor.ts │ ├── README.md │ ├── ServersPlugin.ts │ ├── __tests__ │ ├── editor │ │ └── basic.spec.ts │ ├── env.d.ts │ ├── plugin │ │ └── DringPlugin.spec.ts │ └── utils │ │ ├── common.ts │ │ └── setup.ts │ ├── assets │ ├── edgecontrol.svg │ ├── middlecontrol.svg │ ├── middlecontrolhoz.svg │ └── rotateicon.svg │ ├── build.tsconfig.json │ ├── eventType.ts │ ├── index.ts │ ├── objects │ ├── Arrow.ts │ └── ThinTailArrow.ts │ ├── package.json │ ├── plugin │ ├── AlignGuidLinePlugin.ts │ ├── BarCodePlugin.ts │ ├── CenterAlignPlugin.ts │ ├── ControlsPlugin.ts │ ├── ControlsRotatePlugin.ts │ ├── CopyPlugin.ts │ ├── DeleteHotKeyPlugin.ts │ ├── DrawLinePlugin.ts │ ├── DrawPolygonPlugin.ts │ ├── DringPlugin.ts │ ├── FlipPlugin.ts │ ├── FontPlugin.ts │ ├── FreeDrawPlugin.ts │ ├── GroupAlignPlugin.ts │ ├── GroupPlugin.ts │ ├── GroupTextEditorPlugin.ts │ ├── HistoryPlugin.ts │ ├── ImageStroke.ts │ ├── LayerPlugin.ts │ ├── MaterialPlugin.ts │ ├── MoveHotKeyPlugin.ts │ ├── PathTextPlugin.ts │ ├── PolygonModifyPlugin.ts │ ├── PsdPlugin.ts │ ├── QrCodePlugin.ts │ ├── ResizePlugin.ts │ ├── RulerPlugin.ts │ ├── SimpleClipImagePlugin.ts │ ├── WaterMarkPlugin.ts │ └── WorkspacePlugin.ts │ ├── ruler │ ├── guideline.ts │ ├── index.ts │ ├── ruler.ts │ └── utils.ts │ ├── styles │ ├── contextMenu.css │ └── resizePlugin.css │ ├── tsconfig.json │ ├── types │ ├── editor.d.ts │ ├── env.d.ts │ └── extends.d.ts │ ├── utils │ ├── math.ts │ ├── psd.ts │ └── utils.ts │ ├── vite.config.ts │ └── vitest.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── public └── vite.svg ├── src ├── App.less ├── App.tsx ├── assets │ ├── editor │ │ ├── edgecontrol.svg │ │ ├── middlecontrol.svg │ │ ├── middlecontrolhoz.svg │ │ └── rotateicon.svg │ ├── filters │ │ ├── BlackWhite.png │ │ ├── Brownie.png │ │ ├── Invert.png │ │ ├── Kodachrome.png │ │ ├── Polaroid.png │ │ ├── Sepia.png │ │ ├── Vintage.png │ │ └── technicolor.png │ ├── fonts │ │ ├── cn │ │ │ ├── 华康金刚黑.ttf │ │ │ └── 汉体.ttf │ │ ├── font.css │ │ └── font.js │ ├── react.svg │ └── svg │ │ ├── circleLayer.svg │ │ ├── defaultLayer.svg │ │ ├── down.svg │ │ ├── downTop.svg │ │ ├── groupLayer.svg │ │ ├── imageLayer.svg │ │ ├── polygonLayer.svg │ │ ├── rectLayer.svg │ │ ├── textBoxLayer.svg │ │ ├── textLayer.svg │ │ ├── triangleLayer.svg │ │ ├── up.svg │ │ └── upTop.svg ├── components │ ├── AttrMenu │ │ ├── AttrMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ClearButton │ │ ├── ClearButton.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ElementMenu │ │ ├── ElementMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── FlipMenu │ │ ├── FlipMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── GroupAlignMenu │ │ ├── GroupAlignMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── HistoryMenu │ │ ├── HistoryMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ImportFileButton │ │ ├── ImportFileButton.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ImportJSONButton │ │ ├── ImportJSONButton.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ImportTmpl │ │ ├── ImportTmpl.tsx │ │ ├── index.less │ │ └── index.ts │ ├── ItemAlignMenu │ │ ├── ItemAlignMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── LayerMenu │ │ ├── LayerMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── Menu │ │ ├── Menu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── PreviewButton │ │ ├── PreviewButton.tsx │ │ ├── index.less │ │ └── index.ts │ ├── SVGElemMenu │ │ ├── SVGElemMenu.tsx │ │ ├── index.less │ │ └── index.ts │ ├── SaveButton │ │ ├── SaveButton.tsx │ │ ├── index.less │ │ └── index.ts │ └── WaterMarkButton │ │ ├── WaterMarkButton.tsx │ │ ├── index.less │ │ └── index.ts ├── hooks │ ├── context.ts │ └── select.tsx ├── index.css ├── main.tsx ├── styles │ ├── contextMenu.css │ ├── index.less │ ├── resetViewUi.less │ └── variable.less ├── utils │ ├── event │ │ ├── notifier.ts │ │ └── types.ts │ ├── history.ts │ ├── local.ts │ ├── math.ts │ └── utils.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── typings └── modules.ts └── vite.config.ts /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/package.json -------------------------------------------------------------------------------- /packages/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/core/ContextMenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ContextMenu.ts -------------------------------------------------------------------------------- /packages/core/Editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/Editor.ts -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/ServersPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ServersPlugin.ts -------------------------------------------------------------------------------- /packages/core/__tests__/editor/basic.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/__tests__/editor/basic.spec.ts -------------------------------------------------------------------------------- /packages/core/__tests__/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/__tests__/env.d.ts -------------------------------------------------------------------------------- /packages/core/__tests__/plugin/DringPlugin.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/__tests__/plugin/DringPlugin.spec.ts -------------------------------------------------------------------------------- /packages/core/__tests__/utils/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/__tests__/utils/common.ts -------------------------------------------------------------------------------- /packages/core/__tests__/utils/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/__tests__/utils/setup.ts -------------------------------------------------------------------------------- /packages/core/assets/edgecontrol.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/assets/edgecontrol.svg -------------------------------------------------------------------------------- /packages/core/assets/middlecontrol.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/assets/middlecontrol.svg -------------------------------------------------------------------------------- /packages/core/assets/middlecontrolhoz.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/assets/middlecontrolhoz.svg -------------------------------------------------------------------------------- /packages/core/assets/rotateicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/assets/rotateicon.svg -------------------------------------------------------------------------------- /packages/core/build.tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/build.tsconfig.json -------------------------------------------------------------------------------- /packages/core/eventType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/eventType.ts -------------------------------------------------------------------------------- /packages/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/index.ts -------------------------------------------------------------------------------- /packages/core/objects/Arrow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/objects/Arrow.ts -------------------------------------------------------------------------------- /packages/core/objects/ThinTailArrow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/objects/ThinTailArrow.ts -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/plugin/AlignGuidLinePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/AlignGuidLinePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/BarCodePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/BarCodePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/CenterAlignPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/CenterAlignPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/ControlsPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/ControlsPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/ControlsRotatePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/ControlsRotatePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/CopyPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/CopyPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/DeleteHotKeyPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/DeleteHotKeyPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/DrawLinePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/DrawLinePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/DrawPolygonPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/DrawPolygonPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/DringPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/DringPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/FlipPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/FlipPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/FontPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/FontPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/FreeDrawPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/FreeDrawPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/GroupAlignPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/GroupAlignPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/GroupPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/GroupPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/GroupTextEditorPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/GroupTextEditorPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/HistoryPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/HistoryPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/ImageStroke.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/ImageStroke.ts -------------------------------------------------------------------------------- /packages/core/plugin/LayerPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/LayerPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/MaterialPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/MaterialPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/MoveHotKeyPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/MoveHotKeyPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/PathTextPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/PathTextPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/PolygonModifyPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/PolygonModifyPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/PsdPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/PsdPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/QrCodePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/QrCodePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/ResizePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/ResizePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/RulerPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/RulerPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/SimpleClipImagePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/SimpleClipImagePlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/WaterMarkPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/WaterMarkPlugin.ts -------------------------------------------------------------------------------- /packages/core/plugin/WorkspacePlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/plugin/WorkspacePlugin.ts -------------------------------------------------------------------------------- /packages/core/ruler/guideline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ruler/guideline.ts -------------------------------------------------------------------------------- /packages/core/ruler/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ruler/index.ts -------------------------------------------------------------------------------- /packages/core/ruler/ruler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ruler/ruler.ts -------------------------------------------------------------------------------- /packages/core/ruler/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/ruler/utils.ts -------------------------------------------------------------------------------- /packages/core/styles/contextMenu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/styles/contextMenu.css -------------------------------------------------------------------------------- /packages/core/styles/resizePlugin.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/styles/resizePlugin.css -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/tsconfig.json -------------------------------------------------------------------------------- /packages/core/types/editor.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/types/editor.d.ts -------------------------------------------------------------------------------- /packages/core/types/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/types/env.d.ts -------------------------------------------------------------------------------- /packages/core/types/extends.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/types/extends.d.ts -------------------------------------------------------------------------------- /packages/core/utils/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/utils/math.ts -------------------------------------------------------------------------------- /packages/core/utils/psd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/utils/psd.ts -------------------------------------------------------------------------------- /packages/core/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/utils/utils.ts -------------------------------------------------------------------------------- /packages/core/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/vite.config.ts -------------------------------------------------------------------------------- /packages/core/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/packages/core/vitest.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/public/vite.svg -------------------------------------------------------------------------------- /src/App.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/App.less -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/editor/edgecontrol.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/editor/edgecontrol.svg -------------------------------------------------------------------------------- /src/assets/editor/middlecontrol.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/editor/middlecontrol.svg -------------------------------------------------------------------------------- /src/assets/editor/middlecontrolhoz.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/editor/middlecontrolhoz.svg -------------------------------------------------------------------------------- /src/assets/editor/rotateicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/editor/rotateicon.svg -------------------------------------------------------------------------------- /src/assets/filters/BlackWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/BlackWhite.png -------------------------------------------------------------------------------- /src/assets/filters/Brownie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Brownie.png -------------------------------------------------------------------------------- /src/assets/filters/Invert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Invert.png -------------------------------------------------------------------------------- /src/assets/filters/Kodachrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Kodachrome.png -------------------------------------------------------------------------------- /src/assets/filters/Polaroid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Polaroid.png -------------------------------------------------------------------------------- /src/assets/filters/Sepia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Sepia.png -------------------------------------------------------------------------------- /src/assets/filters/Vintage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/Vintage.png -------------------------------------------------------------------------------- /src/assets/filters/technicolor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/filters/technicolor.png -------------------------------------------------------------------------------- /src/assets/fonts/cn/华康金刚黑.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/fonts/cn/华康金刚黑.ttf -------------------------------------------------------------------------------- /src/assets/fonts/cn/汉体.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/fonts/cn/汉体.ttf -------------------------------------------------------------------------------- /src/assets/fonts/font.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/fonts/font.css -------------------------------------------------------------------------------- /src/assets/fonts/font.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/fonts/font.js -------------------------------------------------------------------------------- /src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/react.svg -------------------------------------------------------------------------------- /src/assets/svg/circleLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/circleLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/defaultLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/defaultLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/down.svg -------------------------------------------------------------------------------- /src/assets/svg/downTop.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/downTop.svg -------------------------------------------------------------------------------- /src/assets/svg/groupLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/groupLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/imageLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/imageLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/polygonLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/polygonLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/rectLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/rectLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/textBoxLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/textBoxLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/textLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/textLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/triangleLayer.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/triangleLayer.svg -------------------------------------------------------------------------------- /src/assets/svg/up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/up.svg -------------------------------------------------------------------------------- /src/assets/svg/upTop.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/assets/svg/upTop.svg -------------------------------------------------------------------------------- /src/components/AttrMenu/AttrMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/AttrMenu/AttrMenu.tsx -------------------------------------------------------------------------------- /src/components/AttrMenu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/AttrMenu/index.less -------------------------------------------------------------------------------- /src/components/AttrMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/AttrMenu/index.ts -------------------------------------------------------------------------------- /src/components/ClearButton/ClearButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ClearButton/ClearButton.tsx -------------------------------------------------------------------------------- /src/components/ClearButton/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ClearButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ClearButton/index.ts -------------------------------------------------------------------------------- /src/components/ElementMenu/ElementMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ElementMenu/ElementMenu.tsx -------------------------------------------------------------------------------- /src/components/ElementMenu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ElementMenu/index.less -------------------------------------------------------------------------------- /src/components/ElementMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ElementMenu/index.ts -------------------------------------------------------------------------------- /src/components/FlipMenu/FlipMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/FlipMenu/FlipMenu.tsx -------------------------------------------------------------------------------- /src/components/FlipMenu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/FlipMenu/index.less -------------------------------------------------------------------------------- /src/components/FlipMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/FlipMenu/index.ts -------------------------------------------------------------------------------- /src/components/GroupAlignMenu/GroupAlignMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/GroupAlignMenu/GroupAlignMenu.tsx -------------------------------------------------------------------------------- /src/components/GroupAlignMenu/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/GroupAlignMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/GroupAlignMenu/index.ts -------------------------------------------------------------------------------- /src/components/HistoryMenu/HistoryMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/HistoryMenu/HistoryMenu.tsx -------------------------------------------------------------------------------- /src/components/HistoryMenu/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/HistoryMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/HistoryMenu/index.ts -------------------------------------------------------------------------------- /src/components/ImportFileButton/ImportFileButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportFileButton/ImportFileButton.tsx -------------------------------------------------------------------------------- /src/components/ImportFileButton/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ImportFileButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportFileButton/index.ts -------------------------------------------------------------------------------- /src/components/ImportJSONButton/ImportJSONButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportJSONButton/ImportJSONButton.tsx -------------------------------------------------------------------------------- /src/components/ImportJSONButton/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ImportJSONButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportJSONButton/index.ts -------------------------------------------------------------------------------- /src/components/ImportTmpl/ImportTmpl.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportTmpl/ImportTmpl.tsx -------------------------------------------------------------------------------- /src/components/ImportTmpl/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ImportTmpl/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ImportTmpl/index.ts -------------------------------------------------------------------------------- /src/components/ItemAlignMenu/ItemAlignMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ItemAlignMenu/ItemAlignMenu.tsx -------------------------------------------------------------------------------- /src/components/ItemAlignMenu/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ItemAlignMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/ItemAlignMenu/index.ts -------------------------------------------------------------------------------- /src/components/LayerMenu/LayerMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/LayerMenu/LayerMenu.tsx -------------------------------------------------------------------------------- /src/components/LayerMenu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/LayerMenu/index.less -------------------------------------------------------------------------------- /src/components/LayerMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/LayerMenu/index.ts -------------------------------------------------------------------------------- /src/components/Menu/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/Menu/Menu.tsx -------------------------------------------------------------------------------- /src/components/Menu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/Menu/index.less -------------------------------------------------------------------------------- /src/components/Menu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/Menu/index.ts -------------------------------------------------------------------------------- /src/components/PreviewButton/PreviewButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/PreviewButton/PreviewButton.tsx -------------------------------------------------------------------------------- /src/components/PreviewButton/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/PreviewButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/PreviewButton/index.ts -------------------------------------------------------------------------------- /src/components/SVGElemMenu/SVGElemMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/SVGElemMenu/SVGElemMenu.tsx -------------------------------------------------------------------------------- /src/components/SVGElemMenu/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/SVGElemMenu/index.less -------------------------------------------------------------------------------- /src/components/SVGElemMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/SVGElemMenu/index.ts -------------------------------------------------------------------------------- /src/components/SaveButton/SaveButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/SaveButton/SaveButton.tsx -------------------------------------------------------------------------------- /src/components/SaveButton/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/SaveButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/SaveButton/index.ts -------------------------------------------------------------------------------- /src/components/WaterMarkButton/WaterMarkButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/WaterMarkButton/WaterMarkButton.tsx -------------------------------------------------------------------------------- /src/components/WaterMarkButton/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/WaterMarkButton/index.less -------------------------------------------------------------------------------- /src/components/WaterMarkButton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/components/WaterMarkButton/index.ts -------------------------------------------------------------------------------- /src/hooks/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/hooks/context.ts -------------------------------------------------------------------------------- /src/hooks/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/hooks/select.tsx -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/index.css -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/styles/contextMenu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/styles/contextMenu.css -------------------------------------------------------------------------------- /src/styles/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/styles/index.less -------------------------------------------------------------------------------- /src/styles/resetViewUi.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/styles/resetViewUi.less -------------------------------------------------------------------------------- /src/styles/variable.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/event/notifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/event/notifier.ts -------------------------------------------------------------------------------- /src/utils/event/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/event/types.ts -------------------------------------------------------------------------------- /src/utils/history.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/history.ts -------------------------------------------------------------------------------- /src/utils/local.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/local.ts -------------------------------------------------------------------------------- /src/utils/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/math.ts -------------------------------------------------------------------------------- /src/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/src/utils/utils.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /typings/modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/typings/modules.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x007xyz/r-fabric-editor/HEAD/vite.config.ts --------------------------------------------------------------------------------