@mdesignable/react 1.0.0-beta.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +20 -0
- package/README.md +1 -0
- package/dist/designable.react.umd.production.css +1 -0
- package/dist/designable.react.umd.production.js +6 -0
- package/dist/designable.react.umd.production.min.css +1 -0
- package/dist/designable.react.umd.production.min.js +3580 -0
- package/esm/containers/Designer.d.ts +3 -0
- package/esm/containers/Designer.js +49 -0
- package/esm/containers/Layout.d.ts +3 -0
- package/esm/containers/Layout.js +33 -0
- package/esm/containers/Simulator.d.ts +3 -0
- package/esm/containers/Simulator.js +29 -0
- package/esm/containers/Viewport.d.ts +6 -0
- package/esm/containers/Viewport.js +84 -0
- package/esm/containers/Workbench.d.ts +2 -0
- package/esm/containers/Workbench.js +9 -0
- package/esm/containers/Workspace.d.ts +7 -0
- package/esm/containers/Workspace.js +38 -0
- package/esm/containers/index.d.ts +7 -0
- package/esm/containers/index.js +7 -0
- package/esm/containers/styles.less +19 -0
- package/esm/context.d.ts +7 -0
- package/esm/context.js +6 -0
- package/esm/hooks/index.d.ts +25 -0
- package/esm/hooks/index.js +25 -0
- package/esm/hooks/useComponents.d.ts +1 -0
- package/esm/hooks/useComponents.js +3 -0
- package/esm/hooks/useCursor.d.ts +1 -0
- package/esm/hooks/useCursor.js +5 -0
- package/esm/hooks/useDesigner.d.ts +5 -0
- package/esm/hooks/useDesigner.js +13 -0
- package/esm/hooks/useHistory.d.ts +1 -0
- package/esm/hooks/useHistory.js +5 -0
- package/esm/hooks/useHover.d.ts +1 -0
- package/esm/hooks/useHover.js +5 -0
- package/esm/hooks/useLayout.d.ts +2 -0
- package/esm/hooks/useLayout.js +7 -0
- package/esm/hooks/useMoveHelper.d.ts +1 -0
- package/esm/hooks/useMoveHelper.js +5 -0
- package/esm/hooks/useNodeIdProps.d.ts +4 -0
- package/esm/hooks/useNodeIdProps.js +10 -0
- package/esm/hooks/useOperation.d.ts +1 -0
- package/esm/hooks/useOperation.js +5 -0
- package/esm/hooks/useOutline.d.ts +1 -0
- package/esm/hooks/useOutline.js +5 -0
- package/esm/hooks/usePosition.d.ts +1 -0
- package/esm/hooks/usePosition.js +5 -0
- package/esm/hooks/usePrefix.d.ts +1 -0
- package/esm/hooks/usePrefix.js +6 -0
- package/esm/hooks/useRegistry.d.ts +2 -0
- package/esm/hooks/useRegistry.js +5 -0
- package/esm/hooks/useScreen.d.ts +1 -0
- package/esm/hooks/useScreen.js +4 -0
- package/esm/hooks/useSelected.d.ts +1 -0
- package/esm/hooks/useSelected.js +5 -0
- package/esm/hooks/useSelectedNode.d.ts +6 -0
- package/esm/hooks/useSelectedNode.js +13 -0
- package/esm/hooks/useSelection.d.ts +1 -0
- package/esm/hooks/useSelection.js +5 -0
- package/esm/hooks/useTheme.d.ts +1 -0
- package/esm/hooks/useTheme.js +5 -0
- package/esm/hooks/useTransformHelper.d.ts +1 -0
- package/esm/hooks/useTransformHelper.js +5 -0
- package/esm/hooks/useTree.d.ts +1 -0
- package/esm/hooks/useTree.js +5 -0
- package/esm/hooks/useTreeNode.d.ts +1 -0
- package/esm/hooks/useTreeNode.js +5 -0
- package/esm/hooks/useValidNodeOffsetRect.d.ts +2 -0
- package/esm/hooks/useValidNodeOffsetRect.js +54 -0
- package/esm/hooks/useViewport.d.ts +1 -0
- package/esm/hooks/useViewport.js +5 -0
- package/esm/hooks/useWorkbench.d.ts +1 -0
- package/esm/hooks/useWorkbench.js +5 -0
- package/esm/hooks/useWorkspace.d.ts +2 -0
- package/esm/hooks/useWorkspace.js +15 -0
- package/esm/icons/actions.d.ts +7 -0
- package/esm/icons/actions.js +28 -0
- package/esm/icons/add.d.ts +2 -0
- package/esm/icons/add.js +4 -0
- package/esm/icons/animations.d.ts +24 -0
- package/esm/icons/animations.js +24 -0
- package/esm/icons/boolean.d.ts +2 -0
- package/esm/icons/boolean.js +3 -0
- package/esm/icons/clone.d.ts +3 -0
- package/esm/icons/clone.js +3 -0
- package/esm/icons/close.d.ts +2 -0
- package/esm/icons/close.js +3 -0
- package/esm/icons/code.d.ts +2 -0
- package/esm/icons/code.js +2 -0
- package/esm/icons/command.d.ts +2 -0
- package/esm/icons/command.js +4 -0
- package/esm/icons/component.d.ts +2 -0
- package/esm/icons/component.js +2 -0
- package/esm/icons/container.d.ts +2 -0
- package/esm/icons/container.js +4 -0
- package/esm/icons/corner.d.ts +5 -0
- package/esm/icons/corner.js +5 -0
- package/esm/icons/delete.d.ts +2 -0
- package/esm/icons/delete.js +5 -0
- package/esm/icons/design.d.ts +2 -0
- package/esm/icons/design.js +3 -0
- package/esm/icons/display.d.ts +5 -0
- package/esm/icons/display.js +5 -0
- package/esm/icons/dragmove.d.ts +2 -0
- package/esm/icons/dragmove.js +3 -0
- package/esm/icons/expand.d.ts +2 -0
- package/esm/icons/expand.js +2 -0
- package/esm/icons/expression.d.ts +2 -0
- package/esm/icons/expression.js +2 -0
- package/esm/icons/eyes.d.ts +3 -0
- package/esm/icons/eyes.js +7 -0
- package/esm/icons/flex.d.ts +22 -0
- package/esm/icons/flex.js +22 -0
- package/esm/icons/flip.d.ts +2 -0
- package/esm/icons/flip.js +2 -0
- package/esm/icons/focus.d.ts +2 -0
- package/esm/icons/focus.js +2 -0
- package/esm/icons/font.d.ts +16 -0
- package/esm/icons/font.js +16 -0
- package/esm/icons/formula.d.ts +2 -0
- package/esm/icons/formula.js +2 -0
- package/esm/icons/freemove.d.ts +2 -0
- package/esm/icons/freemove.js +3 -0
- package/esm/icons/help.d.ts +2 -0
- package/esm/icons/help.js +4 -0
- package/esm/icons/hidden.d.ts +2 -0
- package/esm/icons/hidden.js +2 -0
- package/esm/icons/history.d.ts +2 -0
- package/esm/icons/history.js +3 -0
- package/esm/icons/image.d.ts +3 -0
- package/esm/icons/image.js +3 -0
- package/esm/icons/index.d.ts +53 -0
- package/esm/icons/index.js +53 -0
- package/esm/icons/json.d.ts +2 -0
- package/esm/icons/json.js +2 -0
- package/esm/icons/logo.d.ts +4 -0
- package/esm/icons/logo.js +4 -0
- package/esm/icons/menu.d.ts +2 -0
- package/esm/icons/menu.js +3 -0
- package/esm/icons/mobile.d.ts +2 -0
- package/esm/icons/mobile.js +4 -0
- package/esm/icons/move.d.ts +2 -0
- package/esm/icons/move.js +2 -0
- package/esm/icons/number.d.ts +2 -0
- package/esm/icons/number.js +3 -0
- package/esm/icons/outline.d.ts +2 -0
- package/esm/icons/outline.js +2 -0
- package/esm/icons/page.d.ts +2 -0
- package/esm/icons/page.js +5 -0
- package/esm/icons/pc.d.ts +2 -0
- package/esm/icons/pc.js +3 -0
- package/esm/icons/play.d.ts +2 -0
- package/esm/icons/play.js +2 -0
- package/esm/icons/position.d.ts +6 -0
- package/esm/icons/position.js +6 -0
- package/esm/icons/pushpin.d.ts +3 -0
- package/esm/icons/pushpin.js +5 -0
- package/esm/icons/recover.d.ts +2 -0
- package/esm/icons/recover.js +2 -0
- package/esm/icons/redo.d.ts +2 -0
- package/esm/icons/redo.js +2 -0
- package/esm/icons/remove.d.ts +2 -0
- package/esm/icons/remove.js +2 -0
- package/esm/icons/responsive.d.ts +2 -0
- package/esm/icons/responsive.js +5 -0
- package/esm/icons/return.d.ts +2 -0
- package/esm/icons/return.js +2 -0
- package/esm/icons/selection.d.ts +2 -0
- package/esm/icons/selection.js +2 -0
- package/esm/icons/setting.d.ts +2 -0
- package/esm/icons/setting.js +2 -0
- package/esm/icons/shadow.d.ts +5 -0
- package/esm/icons/shadow.js +5 -0
- package/esm/icons/shift.d.ts +2 -0
- package/esm/icons/shift.js +2 -0
- package/esm/icons/sources.d.ts +75 -0
- package/esm/icons/sources.js +544 -0
- package/esm/icons/text.d.ts +3 -0
- package/esm/icons/text.js +5 -0
- package/esm/icons/undo.d.ts +2 -0
- package/esm/icons/undo.js +3 -0
- package/esm/icons/upload.d.ts +2 -0
- package/esm/icons/upload.js +4 -0
- package/esm/index.d.ts +9 -0
- package/esm/index.js +9 -0
- package/esm/locales/global.d.ts +17 -0
- package/esm/locales/global.js +16 -0
- package/esm/locales/icons.d.ts +133 -0
- package/esm/locales/icons.js +132 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +6 -0
- package/esm/locales/operations.d.ts +51 -0
- package/esm/locales/operations.js +50 -0
- package/esm/locales/panels.d.ts +27 -0
- package/esm/locales/panels.js +26 -0
- package/esm/panels/CompositePanel.d.ts +22 -0
- package/esm/panels/CompositePanel.js +140 -0
- package/esm/panels/SettingsPanel.d.ts +6 -0
- package/esm/panels/SettingsPanel.js +69 -0
- package/esm/panels/SourceBarPanel.d.ts +4 -0
- package/esm/panels/SourceBarPanel.js +31 -0
- package/esm/panels/StudioPanel.d.ts +12 -0
- package/esm/panels/StudioPanel.js +44 -0
- package/esm/panels/ToolbarPanel.d.ts +3 -0
- package/esm/panels/ToolbarPanel.js +16 -0
- package/esm/panels/ViewPanel.d.ts +9 -0
- package/esm/panels/ViewPanel.js +57 -0
- package/esm/panels/ViewportPanel.d.ts +3 -0
- package/esm/panels/ViewportPanel.js +18 -0
- package/esm/panels/WorkspacePanel.d.ts +8 -0
- package/esm/panels/WorkspacePanel.js +21 -0
- package/esm/panels/index.d.ts +9 -0
- package/esm/panels/index.js +9 -0
- package/esm/panels/sourceBarPanel.less +4 -0
- package/esm/panels/styles.less +331 -0
- package/esm/simulators/MobileSimulator/body.d.ts +4 -0
- package/esm/simulators/MobileSimulator/body.js +57 -0
- package/esm/simulators/MobileSimulator/index.d.ts +7 -0
- package/esm/simulators/MobileSimulator/index.js +22 -0
- package/esm/simulators/MobileSimulator/styles.less +29 -0
- package/esm/simulators/PCSimulator/index.d.ts +7 -0
- package/esm/simulators/PCSimulator/index.js +19 -0
- package/esm/simulators/PCSimulator/styles.less +11 -0
- package/esm/simulators/ResponsiveSimulator/handle.d.ts +10 -0
- package/esm/simulators/ResponsiveSimulator/handle.js +28 -0
- package/esm/simulators/ResponsiveSimulator/index.d.ts +7 -0
- package/esm/simulators/ResponsiveSimulator/index.js +157 -0
- package/esm/simulators/ResponsiveSimulator/styles.less +56 -0
- package/esm/simulators/index.d.ts +3 -0
- package/esm/simulators/index.js +3 -0
- package/esm/theme.less +224 -0
- package/esm/types.d.ts +32 -0
- package/esm/types.js +1 -0
- package/esm/variables.less +1 -0
- package/esm/widgets/AuxToolWidget/Copy.d.ts +7 -0
- package/esm/widgets/AuxToolWidget/Copy.js +16 -0
- package/esm/widgets/AuxToolWidget/Cover.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/Cover.js +52 -0
- package/esm/widgets/AuxToolWidget/DashedBox.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/DashedBox.js +43 -0
- package/esm/widgets/AuxToolWidget/Delete.d.ts +7 -0
- package/esm/widgets/AuxToolWidget/Delete.js +16 -0
- package/esm/widgets/AuxToolWidget/DragHandler.d.ts +7 -0
- package/esm/widgets/AuxToolWidget/DragHandler.js +30 -0
- package/esm/widgets/AuxToolWidget/FreeSelection.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/FreeSelection.js +43 -0
- package/esm/widgets/AuxToolWidget/Helpers.d.ts +15 -0
- package/esm/widgets/AuxToolWidget/Helpers.js +100 -0
- package/esm/widgets/AuxToolWidget/Insertion.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/Insertion.js +70 -0
- package/esm/widgets/AuxToolWidget/ResizeHandler.d.ts +6 -0
- package/esm/widgets/AuxToolWidget/ResizeHandler.js +39 -0
- package/esm/widgets/AuxToolWidget/Selection.d.ts +8 -0
- package/esm/widgets/AuxToolWidget/Selection.js +69 -0
- package/esm/widgets/AuxToolWidget/Selector.d.ts +7 -0
- package/esm/widgets/AuxToolWidget/Selector.js +101 -0
- package/esm/widgets/AuxToolWidget/SnapLine.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/SnapLine.js +30 -0
- package/esm/widgets/AuxToolWidget/SpaceBlock.d.ts +2 -0
- package/esm/widgets/AuxToolWidget/SpaceBlock.js +68 -0
- package/esm/widgets/AuxToolWidget/TranslateHandler.d.ts +6 -0
- package/esm/widgets/AuxToolWidget/TranslateHandler.js +32 -0
- package/esm/widgets/AuxToolWidget/index.d.ts +6 -0
- package/esm/widgets/AuxToolWidget/index.js +34 -0
- package/esm/widgets/AuxToolWidget/styles.less +383 -0
- package/esm/widgets/ComponentTreeWidget/index.d.ts +15 -0
- package/esm/widgets/ComponentTreeWidget/index.js +106 -0
- package/esm/widgets/ComponentTreeWidget/styles.less +6 -0
- package/esm/widgets/DesignerToolsWidget/index.d.ts +10 -0
- package/esm/widgets/DesignerToolsWidget/index.js +109 -0
- package/esm/widgets/DesignerToolsWidget/styles.less +29 -0
- package/esm/widgets/DroppableWidget/index.d.ts +15 -0
- package/esm/widgets/DroppableWidget/index.js +43 -0
- package/esm/widgets/DroppableWidget/styles.less +11 -0
- package/esm/widgets/EmptyWidget/index.d.ts +6 -0
- package/esm/widgets/EmptyWidget/index.js +46 -0
- package/esm/widgets/EmptyWidget/styles.less +27 -0
- package/esm/widgets/GhostWidget/index.d.ts +3 -0
- package/esm/widgets/GhostWidget/index.js +35 -0
- package/esm/widgets/GhostWidget/styles.less +20 -0
- package/esm/widgets/HistoryWidget/index.d.ts +3 -0
- package/esm/widgets/HistoryWidget/index.js +28 -0
- package/esm/widgets/HistoryWidget/styles.less +23 -0
- package/esm/widgets/IconWidget/index.d.ts +22 -0
- package/esm/widgets/IconWidget/index.js +108 -0
- package/esm/widgets/IconWidget/styles.less +17 -0
- package/esm/widgets/NodeActionsWidget/index.d.ts +17 -0
- package/esm/widgets/NodeActionsWidget/index.js +48 -0
- package/esm/widgets/NodeActionsWidget/styles.less +53 -0
- package/esm/widgets/NodePathWidget/index.d.ts +7 -0
- package/esm/widgets/NodePathWidget/index.js +34 -0
- package/esm/widgets/NodePathWidget/styles.less +16 -0
- package/esm/widgets/NodeTitleWidget/index.d.ts +6 -0
- package/esm/widgets/NodeTitleWidget/index.js +13 -0
- package/esm/widgets/OutlineWidget/Insertion.d.ts +5 -0
- package/esm/widgets/OutlineWidget/Insertion.js +52 -0
- package/esm/widgets/OutlineWidget/OutlineNode.d.ts +10 -0
- package/esm/widgets/OutlineWidget/OutlineNode.js +140 -0
- package/esm/widgets/OutlineWidget/context.d.ts +8 -0
- package/esm/widgets/OutlineWidget/context.js +2 -0
- package/esm/widgets/OutlineWidget/index.d.ts +10 -0
- package/esm/widgets/OutlineWidget/index.js +65 -0
- package/esm/widgets/OutlineWidget/styles.less +195 -0
- package/esm/widgets/ResourceWidget/index.d.ts +12 -0
- package/esm/widgets/ResourceWidget/index.js +69 -0
- package/esm/widgets/ResourceWidget/styles.less +87 -0
- package/esm/widgets/SimpleResourceWidget/index.d.ts +10 -0
- package/esm/widgets/SimpleResourceWidget/index.js +42 -0
- package/esm/widgets/SimpleResourceWidget/styles.less +57 -0
- package/esm/widgets/TextWidget/index.d.ts +9 -0
- package/esm/widgets/TextWidget/index.js +32 -0
- package/esm/widgets/ViewToolsWidget/index.d.ts +8 -0
- package/esm/widgets/ViewToolsWidget/index.js +31 -0
- package/esm/widgets/index.d.ts +16 -0
- package/esm/widgets/index.js +16 -0
- package/lib/containers/Designer.d.ts +3 -0
- package/lib/containers/Designer.js +76 -0
- package/lib/containers/Layout.d.ts +3 -0
- package/lib/containers/Layout.js +63 -0
- package/lib/containers/Simulator.d.ts +3 -0
- package/lib/containers/Simulator.js +35 -0
- package/lib/containers/Viewport.d.ts +6 -0
- package/lib/containers/Viewport.js +114 -0
- package/lib/containers/Workbench.d.ts +2 -0
- package/lib/containers/Workbench.js +15 -0
- package/lib/containers/Workspace.d.ts +7 -0
- package/lib/containers/Workspace.js +65 -0
- package/lib/containers/index.d.ts +7 -0
- package/lib/containers/index.js +23 -0
- package/lib/containers/styles.less +19 -0
- package/lib/context.d.ts +7 -0
- package/lib/context.js +9 -0
- package/lib/hooks/index.d.ts +25 -0
- package/lib/hooks/index.js +41 -0
- package/lib/hooks/useComponents.d.ts +1 -0
- package/lib/hooks/useComponents.js +7 -0
- package/lib/hooks/useCursor.d.ts +1 -0
- package/lib/hooks/useCursor.js +9 -0
- package/lib/hooks/useDesigner.d.ts +5 -0
- package/lib/hooks/useDesigner.js +17 -0
- package/lib/hooks/useHistory.d.ts +1 -0
- package/lib/hooks/useHistory.js +9 -0
- package/lib/hooks/useHover.d.ts +1 -0
- package/lib/hooks/useHover.js +9 -0
- package/lib/hooks/useLayout.d.ts +2 -0
- package/lib/hooks/useLayout.js +11 -0
- package/lib/hooks/useMoveHelper.d.ts +1 -0
- package/lib/hooks/useMoveHelper.js +9 -0
- package/lib/hooks/useNodeIdProps.d.ts +4 -0
- package/lib/hooks/useNodeIdProps.js +14 -0
- package/lib/hooks/useOperation.d.ts +1 -0
- package/lib/hooks/useOperation.js +9 -0
- package/lib/hooks/useOutline.d.ts +1 -0
- package/lib/hooks/useOutline.js +9 -0
- package/lib/hooks/usePosition.d.ts +1 -0
- package/lib/hooks/usePosition.js +9 -0
- package/lib/hooks/usePrefix.d.ts +1 -0
- package/lib/hooks/usePrefix.js +10 -0
- package/lib/hooks/useRegistry.d.ts +2 -0
- package/lib/hooks/useRegistry.js +9 -0
- package/lib/hooks/useScreen.d.ts +1 -0
- package/lib/hooks/useScreen.js +8 -0
- package/lib/hooks/useSelected.d.ts +1 -0
- package/lib/hooks/useSelected.js +9 -0
- package/lib/hooks/useSelectedNode.d.ts +6 -0
- package/lib/hooks/useSelectedNode.js +17 -0
- package/lib/hooks/useSelection.d.ts +1 -0
- package/lib/hooks/useSelection.js +9 -0
- package/lib/hooks/useTheme.d.ts +1 -0
- package/lib/hooks/useTheme.js +9 -0
- package/lib/hooks/useTransformHelper.d.ts +1 -0
- package/lib/hooks/useTransformHelper.js +9 -0
- package/lib/hooks/useTree.d.ts +1 -0
- package/lib/hooks/useTree.js +9 -0
- package/lib/hooks/useTreeNode.d.ts +1 -0
- package/lib/hooks/useTreeNode.js +9 -0
- package/lib/hooks/useValidNodeOffsetRect.d.ts +2 -0
- package/lib/hooks/useValidNodeOffsetRect.js +58 -0
- package/lib/hooks/useViewport.d.ts +1 -0
- package/lib/hooks/useViewport.js +9 -0
- package/lib/hooks/useWorkbench.d.ts +1 -0
- package/lib/hooks/useWorkbench.js +9 -0
- package/lib/hooks/useWorkspace.d.ts +2 -0
- package/lib/hooks/useWorkspace.js +19 -0
- package/lib/icons/actions.d.ts +7 -0
- package/lib/icons/actions.js +34 -0
- package/lib/icons/add.d.ts +2 -0
- package/lib/icons/add.js +10 -0
- package/lib/icons/animations.d.ts +24 -0
- package/lib/icons/animations.js +27 -0
- package/lib/icons/boolean.d.ts +2 -0
- package/lib/icons/boolean.js +9 -0
- package/lib/icons/clone.d.ts +3 -0
- package/lib/icons/clone.js +9 -0
- package/lib/icons/close.d.ts +2 -0
- package/lib/icons/close.js +9 -0
- package/lib/icons/code.d.ts +2 -0
- package/lib/icons/code.js +8 -0
- package/lib/icons/command.d.ts +2 -0
- package/lib/icons/command.js +10 -0
- package/lib/icons/component.d.ts +2 -0
- package/lib/icons/component.js +8 -0
- package/lib/icons/container.d.ts +2 -0
- package/lib/icons/container.js +10 -0
- package/lib/icons/corner.d.ts +5 -0
- package/lib/icons/corner.js +11 -0
- package/lib/icons/delete.d.ts +2 -0
- package/lib/icons/delete.js +11 -0
- package/lib/icons/design.d.ts +2 -0
- package/lib/icons/design.js +9 -0
- package/lib/icons/display.d.ts +5 -0
- package/lib/icons/display.js +11 -0
- package/lib/icons/dragmove.d.ts +2 -0
- package/lib/icons/dragmove.js +9 -0
- package/lib/icons/expand.d.ts +2 -0
- package/lib/icons/expand.js +8 -0
- package/lib/icons/expression.d.ts +2 -0
- package/lib/icons/expression.js +8 -0
- package/lib/icons/eyes.d.ts +3 -0
- package/lib/icons/eyes.js +13 -0
- package/lib/icons/flex.d.ts +22 -0
- package/lib/icons/flex.js +28 -0
- package/lib/icons/flip.d.ts +2 -0
- package/lib/icons/flip.js +8 -0
- package/lib/icons/focus.d.ts +2 -0
- package/lib/icons/focus.js +8 -0
- package/lib/icons/font.d.ts +16 -0
- package/lib/icons/font.js +22 -0
- package/lib/icons/formula.d.ts +2 -0
- package/lib/icons/formula.js +8 -0
- package/lib/icons/freemove.d.ts +2 -0
- package/lib/icons/freemove.js +9 -0
- package/lib/icons/help.d.ts +2 -0
- package/lib/icons/help.js +10 -0
- package/lib/icons/hidden.d.ts +2 -0
- package/lib/icons/hidden.js +8 -0
- package/lib/icons/history.d.ts +2 -0
- package/lib/icons/history.js +9 -0
- package/lib/icons/image.d.ts +3 -0
- package/lib/icons/image.js +9 -0
- package/lib/icons/index.d.ts +53 -0
- package/lib/icons/index.js +69 -0
- package/lib/icons/json.d.ts +2 -0
- package/lib/icons/json.js +8 -0
- package/lib/icons/logo.d.ts +4 -0
- package/lib/icons/logo.js +7 -0
- package/lib/icons/menu.d.ts +2 -0
- package/lib/icons/menu.js +9 -0
- package/lib/icons/mobile.d.ts +2 -0
- package/lib/icons/mobile.js +10 -0
- package/lib/icons/move.d.ts +2 -0
- package/lib/icons/move.js +8 -0
- package/lib/icons/number.d.ts +2 -0
- package/lib/icons/number.js +9 -0
- package/lib/icons/outline.d.ts +2 -0
- package/lib/icons/outline.js +8 -0
- package/lib/icons/page.d.ts +2 -0
- package/lib/icons/page.js +11 -0
- package/lib/icons/pc.d.ts +2 -0
- package/lib/icons/pc.js +9 -0
- package/lib/icons/play.d.ts +2 -0
- package/lib/icons/play.js +8 -0
- package/lib/icons/position.d.ts +6 -0
- package/lib/icons/position.js +12 -0
- package/lib/icons/pushpin.d.ts +3 -0
- package/lib/icons/pushpin.js +11 -0
- package/lib/icons/recover.d.ts +2 -0
- package/lib/icons/recover.js +8 -0
- package/lib/icons/redo.d.ts +2 -0
- package/lib/icons/redo.js +8 -0
- package/lib/icons/remove.d.ts +2 -0
- package/lib/icons/remove.js +8 -0
- package/lib/icons/responsive.d.ts +2 -0
- package/lib/icons/responsive.js +11 -0
- package/lib/icons/return.d.ts +2 -0
- package/lib/icons/return.js +8 -0
- package/lib/icons/selection.d.ts +2 -0
- package/lib/icons/selection.js +8 -0
- package/lib/icons/setting.d.ts +2 -0
- package/lib/icons/setting.js +8 -0
- package/lib/icons/shadow.d.ts +5 -0
- package/lib/icons/shadow.js +11 -0
- package/lib/icons/shift.d.ts +2 -0
- package/lib/icons/shift.js +8 -0
- package/lib/icons/sources.d.ts +75 -0
- package/lib/icons/sources.js +551 -0
- package/lib/icons/text.d.ts +3 -0
- package/lib/icons/text.js +11 -0
- package/lib/icons/undo.d.ts +2 -0
- package/lib/icons/undo.js +9 -0
- package/lib/icons/upload.d.ts +2 -0
- package/lib/icons/upload.js +10 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +25 -0
- package/lib/locales/global.d.ts +17 -0
- package/lib/locales/global.js +18 -0
- package/lib/locales/icons.d.ts +133 -0
- package/lib/locales/icons.js +134 -0
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/index.js +11 -0
- package/lib/locales/operations.d.ts +51 -0
- package/lib/locales/operations.js +52 -0
- package/lib/locales/panels.d.ts +27 -0
- package/lib/locales/panels.js +28 -0
- package/lib/panels/CompositePanel.d.ts +22 -0
- package/lib/panels/CompositePanel.js +170 -0
- package/lib/panels/SettingsPanel.d.ts +6 -0
- package/lib/panels/SettingsPanel.js +98 -0
- package/lib/panels/SourceBarPanel.d.ts +4 -0
- package/lib/panels/SourceBarPanel.js +38 -0
- package/lib/panels/StudioPanel.d.ts +12 -0
- package/lib/panels/StudioPanel.js +51 -0
- package/lib/panels/ToolbarPanel.d.ts +3 -0
- package/lib/panels/ToolbarPanel.js +23 -0
- package/lib/panels/ViewPanel.d.ts +9 -0
- package/lib/panels/ViewPanel.js +83 -0
- package/lib/panels/ViewportPanel.d.ts +3 -0
- package/lib/panels/ViewportPanel.js +25 -0
- package/lib/panels/WorkspacePanel.d.ts +8 -0
- package/lib/panels/WorkspacePanel.js +28 -0
- package/lib/panels/index.d.ts +9 -0
- package/lib/panels/index.js +25 -0
- package/lib/panels/sourceBarPanel.less +4 -0
- package/lib/panels/styles.less +331 -0
- package/lib/simulators/MobileSimulator/body.d.ts +4 -0
- package/lib/simulators/MobileSimulator/body.js +63 -0
- package/lib/simulators/MobileSimulator/index.d.ts +7 -0
- package/lib/simulators/MobileSimulator/index.js +29 -0
- package/lib/simulators/MobileSimulator/styles.less +29 -0
- package/lib/simulators/PCSimulator/index.d.ts +7 -0
- package/lib/simulators/PCSimulator/index.js +26 -0
- package/lib/simulators/PCSimulator/styles.less +11 -0
- package/lib/simulators/ResponsiveSimulator/handle.d.ts +10 -0
- package/lib/simulators/ResponsiveSimulator/handle.js +35 -0
- package/lib/simulators/ResponsiveSimulator/index.d.ts +7 -0
- package/lib/simulators/ResponsiveSimulator/index.js +186 -0
- package/lib/simulators/ResponsiveSimulator/styles.less +56 -0
- package/lib/simulators/index.d.ts +3 -0
- package/lib/simulators/index.js +19 -0
- package/lib/theme.less +224 -0
- package/lib/types.d.ts +32 -0
- package/lib/types.js +2 -0
- package/lib/variables.less +1 -0
- package/lib/widgets/AuxToolWidget/Copy.d.ts +7 -0
- package/lib/widgets/AuxToolWidget/Copy.js +23 -0
- package/lib/widgets/AuxToolWidget/Cover.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/Cover.js +81 -0
- package/lib/widgets/AuxToolWidget/DashedBox.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/DashedBox.js +49 -0
- package/lib/widgets/AuxToolWidget/Delete.d.ts +7 -0
- package/lib/widgets/AuxToolWidget/Delete.js +23 -0
- package/lib/widgets/AuxToolWidget/DragHandler.d.ts +7 -0
- package/lib/widgets/AuxToolWidget/DragHandler.js +36 -0
- package/lib/widgets/AuxToolWidget/FreeSelection.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/FreeSelection.js +49 -0
- package/lib/widgets/AuxToolWidget/Helpers.d.ts +15 -0
- package/lib/widgets/AuxToolWidget/Helpers.js +130 -0
- package/lib/widgets/AuxToolWidget/Insertion.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/Insertion.js +76 -0
- package/lib/widgets/AuxToolWidget/ResizeHandler.d.ts +6 -0
- package/lib/widgets/AuxToolWidget/ResizeHandler.js +46 -0
- package/lib/widgets/AuxToolWidget/Selection.d.ts +8 -0
- package/lib/widgets/AuxToolWidget/Selection.js +96 -0
- package/lib/widgets/AuxToolWidget/Selector.d.ts +7 -0
- package/lib/widgets/AuxToolWidget/Selector.js +127 -0
- package/lib/widgets/AuxToolWidget/SnapLine.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/SnapLine.js +36 -0
- package/lib/widgets/AuxToolWidget/SpaceBlock.d.ts +2 -0
- package/lib/widgets/AuxToolWidget/SpaceBlock.js +94 -0
- package/lib/widgets/AuxToolWidget/TranslateHandler.d.ts +6 -0
- package/lib/widgets/AuxToolWidget/TranslateHandler.js +39 -0
- package/lib/widgets/AuxToolWidget/index.d.ts +6 -0
- package/lib/widgets/AuxToolWidget/index.js +61 -0
- package/lib/widgets/AuxToolWidget/styles.less +383 -0
- package/lib/widgets/ComponentTreeWidget/index.d.ts +15 -0
- package/lib/widgets/ComponentTreeWidget/index.js +135 -0
- package/lib/widgets/ComponentTreeWidget/styles.less +6 -0
- package/lib/widgets/DesignerToolsWidget/index.d.ts +10 -0
- package/lib/widgets/DesignerToolsWidget/index.js +138 -0
- package/lib/widgets/DesignerToolsWidget/styles.less +29 -0
- package/lib/widgets/DroppableWidget/index.d.ts +15 -0
- package/lib/widgets/DroppableWidget/index.js +49 -0
- package/lib/widgets/DroppableWidget/styles.less +11 -0
- package/lib/widgets/EmptyWidget/index.d.ts +6 -0
- package/lib/widgets/EmptyWidget/index.js +52 -0
- package/lib/widgets/EmptyWidget/styles.less +27 -0
- package/lib/widgets/GhostWidget/index.d.ts +3 -0
- package/lib/widgets/GhostWidget/index.js +61 -0
- package/lib/widgets/GhostWidget/styles.less +20 -0
- package/lib/widgets/HistoryWidget/index.d.ts +3 -0
- package/lib/widgets/HistoryWidget/index.js +34 -0
- package/lib/widgets/HistoryWidget/styles.less +23 -0
- package/lib/widgets/IconWidget/index.d.ts +22 -0
- package/lib/widgets/IconWidget/index.js +137 -0
- package/lib/widgets/IconWidget/styles.less +17 -0
- package/lib/widgets/NodeActionsWidget/index.d.ts +17 -0
- package/lib/widgets/NodeActionsWidget/index.js +54 -0
- package/lib/widgets/NodeActionsWidget/styles.less +53 -0
- package/lib/widgets/NodePathWidget/index.d.ts +7 -0
- package/lib/widgets/NodePathWidget/index.js +40 -0
- package/lib/widgets/NodePathWidget/styles.less +16 -0
- package/lib/widgets/NodeTitleWidget/index.d.ts +6 -0
- package/lib/widgets/NodeTitleWidget/index.js +39 -0
- package/lib/widgets/OutlineWidget/Insertion.d.ts +5 -0
- package/lib/widgets/OutlineWidget/Insertion.js +58 -0
- package/lib/widgets/OutlineWidget/OutlineNode.d.ts +10 -0
- package/lib/widgets/OutlineWidget/OutlineNode.js +169 -0
- package/lib/widgets/OutlineWidget/context.d.ts +8 -0
- package/lib/widgets/OutlineWidget/context.js +5 -0
- package/lib/widgets/OutlineWidget/index.d.ts +10 -0
- package/lib/widgets/OutlineWidget/index.js +94 -0
- package/lib/widgets/OutlineWidget/styles.less +195 -0
- package/lib/widgets/ResourceWidget/index.d.ts +12 -0
- package/lib/widgets/ResourceWidget/index.js +98 -0
- package/lib/widgets/ResourceWidget/styles.less +87 -0
- package/lib/widgets/SimpleResourceWidget/index.d.ts +10 -0
- package/lib/widgets/SimpleResourceWidget/index.js +48 -0
- package/lib/widgets/SimpleResourceWidget/styles.less +57 -0
- package/lib/widgets/TextWidget/index.d.ts +9 -0
- package/lib/widgets/TextWidget/index.js +58 -0
- package/lib/widgets/ViewToolsWidget/index.d.ts +8 -0
- package/lib/widgets/ViewToolsWidget/index.js +37 -0
- package/lib/widgets/index.d.ts +16 -0
- package/lib/widgets/index.js +32 -0
- package/package.json +50 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export var Text = (React.createElement("svg", null,
|
3
|
+
React.createElement("path", { d: "M812,190 C834.09139,190 852,207.90861 852,230 L852,280 C852,302.09139 834.09139,320 812,320 C789.90861,320 772,302.09139 772,280 L772,270 L552,270 L552,754 L672,754 C694.09139,754 712,771.90861 712,794 C712,816.09139 694.09139,834 672,834 L352,834 C329.90861,834 312,816.09139 312,794 C312,771.90861 329.90861,754 352,754 L472,754 L472,269.999 L252,269.999 L252,290 C252,312.09139 234.09139,330 212,330 C189.90861,330 172,312.09139 172,290 L172,230 C172,207.90861 189.90861,190 212,190 L812,190 L812,190 Z" })));
|
4
|
+
export var RichText = (React.createElement("svg", null,
|
5
|
+
React.createElement("path", { d: "M100,189.5 C102.155215,189.5 104.27062,189.67045 106.333468,189.998605 L580,190 L580,190 C602.09139,190 620,207.90861 620,230 L620,280 C620,302.09139 602.09139,320 580,320 C557.90861,320 540,302.09139 540,280 L540,270 L380,270 L380,753 L500,753 C522.09139,753 540,770.90861 540,793 C540,815.09139 522.09139,833 500,833 L180,833 C157.90861,833 140,815.09139 140,793 C140,770.90861 157.90861,753 180,753 L300,753 L300,269.999 L140,269.999 L140,279.5 C140,301.59139 122.09139,319.5 100,319.5 C77.90861,319.5 60,301.59139 60,279.5 L60,229.5 C60,207.40861 77.90861,189.5 100,189.5 Z M652,833 C629.90861,833 612,815.09139 612,793 C612,770.90861 629.90861,753 652,753 L712,753 L712,541 L620,541 L620,551 C620,573.09139 602.09139,591 580,591 C557.90861,591 540,573.09139 540,551 L540,501 C540,478.90861 557.90861,461 580,461 L924,461 L924,461 C946.09139,461 964,478.90861 964,501 L964,551 C964,573.09139 946.09139,591 924,591 C901.90861,591 884,573.09139 884,551 L884,541 L792,541 L792,753 L852,753 C874.09139,753 892,770.90861 892,793 C892,815.09139 874.09139,833 852,833 L652,833 Z" })));
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export var Undo = (React.createElement("svg", { viewBox: "0 0 1024 1024" },
|
3
|
+
React.createElement("path", { d: "M629.44 291.712V0S0 394.56 0 458.24c0 63.744 629.44 416.64 629.44 416.64V625.088s289.344 4.672 370.304 374.976c84.48-279.104-54.912-693.824-370.304-708.352z m176.768 337.92c-91.392-52.544-172.736-54.464-176.064-54.592l-47.232-0.704V792.192c-229.76-131.2-461.568-275.584-525.44-334.72 62.848-62.912 294.656-222.848 525.44-369.984v252.096l44.544 2.048c132.352 6.144 214.144 90.944 259.52 161.024 55.488 85.952 86.912 195.52 90.432 303.232-51.584-91.328-116.8-144.96-171.2-176.256z" })));
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export var CloudUpload = (React.createElement("svg", { viewBox: "64 64 896 896" },
|
3
|
+
React.createElement("path", { d: "M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z" }),
|
4
|
+
React.createElement("path", { d: "M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" })));
|
package/esm/index.d.ts
ADDED
package/esm/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
'zh-CN': {
|
3
|
+
save: string;
|
4
|
+
submit: string;
|
5
|
+
cancel: string;
|
6
|
+
reset: string;
|
7
|
+
publish: string;
|
8
|
+
};
|
9
|
+
'en-US': {
|
10
|
+
save: string;
|
11
|
+
submit: string;
|
12
|
+
cancel: string;
|
13
|
+
reset: string;
|
14
|
+
publish: string;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
export default _default;
|
@@ -0,0 +1,133 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
'zh-CN': {
|
3
|
+
icons: {
|
4
|
+
Image: string;
|
5
|
+
ImageSize: string;
|
6
|
+
Position: string;
|
7
|
+
Number: string;
|
8
|
+
Text: string;
|
9
|
+
Expression: string;
|
10
|
+
RichText: string;
|
11
|
+
Boolean: string;
|
12
|
+
Repeat: string;
|
13
|
+
Top: string;
|
14
|
+
Left: string;
|
15
|
+
Right: string;
|
16
|
+
Bottom: string;
|
17
|
+
TopLeft: string;
|
18
|
+
TopRight: string;
|
19
|
+
BottomRight: string;
|
20
|
+
BottomLeft: string;
|
21
|
+
DisplayBlock: string;
|
22
|
+
DisplayInlineBlock: string;
|
23
|
+
DisplayInline: string;
|
24
|
+
DisplayFlex: string;
|
25
|
+
FlexDirectionRow: string;
|
26
|
+
FlexDirectionColumn: string;
|
27
|
+
FlexAlignContentCenter: string;
|
28
|
+
FlexAlignContentStart: string;
|
29
|
+
FlexAlignContentEnd: string;
|
30
|
+
FlexAlignContentSpaceAround: string;
|
31
|
+
FlexAlignContentSpaceBetween: string;
|
32
|
+
FlexAlignContentStretch: string;
|
33
|
+
FlexJustifyCenter: string;
|
34
|
+
FlexJustifyStart: string;
|
35
|
+
FlexJustifyEnd: string;
|
36
|
+
FlexJustifySpaceBetween: string;
|
37
|
+
FlexJustifySpaceAround: string;
|
38
|
+
FlexJustifySpaceEvenly: string;
|
39
|
+
FlexAlignItemsCenter: string;
|
40
|
+
FlexAlignItemsStart: string;
|
41
|
+
FlexAlignItemsEnd: string;
|
42
|
+
FlexAlignItemsStretch: string;
|
43
|
+
FlexAlignItemsBaseline: string;
|
44
|
+
FlexNoWrap: string;
|
45
|
+
FlexWrap: string;
|
46
|
+
AxisX: string;
|
47
|
+
AxisY: string;
|
48
|
+
Blur: string;
|
49
|
+
Shadow: string;
|
50
|
+
FontWeight: string;
|
51
|
+
FontStyle: string;
|
52
|
+
NormalFontStyle: string;
|
53
|
+
ItalicFontStyle: string;
|
54
|
+
FontColor: string;
|
55
|
+
FontSize: string;
|
56
|
+
LineHeight: string;
|
57
|
+
TextDecoration: string;
|
58
|
+
TextUnderline: string;
|
59
|
+
TextLineThrough: string;
|
60
|
+
TextAlign: string;
|
61
|
+
TextAlignLeft: string;
|
62
|
+
TextAlignCenter: string;
|
63
|
+
TextAlignRight: string;
|
64
|
+
TextAlignJustify: string;
|
65
|
+
};
|
66
|
+
};
|
67
|
+
'en-US': {
|
68
|
+
icons: {
|
69
|
+
Image: string;
|
70
|
+
ImageSize: string;
|
71
|
+
Boolean: string;
|
72
|
+
Number: string;
|
73
|
+
Text: string;
|
74
|
+
Expression: string;
|
75
|
+
RichText: string;
|
76
|
+
Position: string;
|
77
|
+
Repeat: string;
|
78
|
+
Top: string;
|
79
|
+
Left: string;
|
80
|
+
Right: string;
|
81
|
+
Bottom: string;
|
82
|
+
TopLeft: string;
|
83
|
+
TopRight: string;
|
84
|
+
BottomRight: string;
|
85
|
+
BottomLeft: string;
|
86
|
+
DisplayBlock: string;
|
87
|
+
DisplayInlineBlock: string;
|
88
|
+
DisplayInline: string;
|
89
|
+
DisplayFlex: string;
|
90
|
+
FlexDirectionRow: string;
|
91
|
+
FlexDirectionColumn: string;
|
92
|
+
FlexAlignContentCenter: string;
|
93
|
+
FlexAlignContentStart: string;
|
94
|
+
FlexAlignContentEnd: string;
|
95
|
+
FlexAlignContentSpaceAround: string;
|
96
|
+
FlexAlignContentSpaceBetween: string;
|
97
|
+
FlexAlignContentStretch: string;
|
98
|
+
FlexJustifyCenter: string;
|
99
|
+
FlexJustifyStart: string;
|
100
|
+
FlexJustifyEnd: string;
|
101
|
+
FlexJustifySpaceBetween: string;
|
102
|
+
FlexJustifySpaceAround: string;
|
103
|
+
FlexJustifySpaceEvenly: string;
|
104
|
+
FlexAlignItemsCenter: string;
|
105
|
+
FlexAlignItemsStart: string;
|
106
|
+
FlexAlignItemsEnd: string;
|
107
|
+
FlexAlignItemsStretch: string;
|
108
|
+
FlexAlignItemsBaseline: string;
|
109
|
+
FlexNoWrap: string;
|
110
|
+
FlexWrap: string;
|
111
|
+
AxisX: string;
|
112
|
+
AxisY: string;
|
113
|
+
Blur: string;
|
114
|
+
Shadow: string;
|
115
|
+
FontWeight: string;
|
116
|
+
FontStyle: string;
|
117
|
+
NormalFontStyle: string;
|
118
|
+
ItalicFontStyle: string;
|
119
|
+
FontColor: string;
|
120
|
+
FontSize: string;
|
121
|
+
LineHeight: string;
|
122
|
+
TextDecoration: string;
|
123
|
+
TextUnderline: string;
|
124
|
+
TextLineThrough: string;
|
125
|
+
TextAlign: string;
|
126
|
+
TextAlignLeft: string;
|
127
|
+
TextAlignCenter: string;
|
128
|
+
TextAlignRight: string;
|
129
|
+
TextAlignJustify: string;
|
130
|
+
};
|
131
|
+
};
|
132
|
+
};
|
133
|
+
export default _default;
|
@@ -0,0 +1,132 @@
|
|
1
|
+
export default {
|
2
|
+
'zh-CN': {
|
3
|
+
icons: {
|
4
|
+
Image: '图片',
|
5
|
+
ImageSize: '图片尺寸',
|
6
|
+
Position: '位置',
|
7
|
+
Number: '数字',
|
8
|
+
Text: '文本',
|
9
|
+
Expression: '表达式',
|
10
|
+
RichText: '富文本',
|
11
|
+
Boolean: '布尔',
|
12
|
+
Repeat: '重复',
|
13
|
+
Top: '上',
|
14
|
+
Left: '左',
|
15
|
+
Right: '右',
|
16
|
+
Bottom: '下',
|
17
|
+
TopLeft: '左上',
|
18
|
+
TopRight: '右上',
|
19
|
+
BottomRight: '右下',
|
20
|
+
BottomLeft: '左下',
|
21
|
+
DisplayBlock: '区块',
|
22
|
+
DisplayInlineBlock: '内联区块',
|
23
|
+
DisplayInline: '文本内联',
|
24
|
+
DisplayFlex: '弹性盒子',
|
25
|
+
FlexDirectionRow: '横向',
|
26
|
+
FlexDirectionColumn: '纵向',
|
27
|
+
FlexAlignContentCenter: '居中',
|
28
|
+
FlexAlignContentStart: '头部',
|
29
|
+
FlexAlignContentEnd: '尾部',
|
30
|
+
FlexAlignContentSpaceAround: 'Space Around',
|
31
|
+
FlexAlignContentSpaceBetween: 'Space Between',
|
32
|
+
FlexAlignContentStretch: 'Stretch',
|
33
|
+
FlexJustifyCenter: '居中',
|
34
|
+
FlexJustifyStart: '头部',
|
35
|
+
FlexJustifyEnd: '尾部',
|
36
|
+
FlexJustifySpaceBetween: 'Space Between',
|
37
|
+
FlexJustifySpaceAround: 'Space Around',
|
38
|
+
FlexJustifySpaceEvenly: 'Space Evenly',
|
39
|
+
FlexAlignItemsCenter: '居中',
|
40
|
+
FlexAlignItemsStart: '头部',
|
41
|
+
FlexAlignItemsEnd: '尾部',
|
42
|
+
FlexAlignItemsStretch: 'Stretch',
|
43
|
+
FlexAlignItemsBaseline: 'Baseline',
|
44
|
+
FlexNoWrap: '不换行',
|
45
|
+
FlexWrap: '换行',
|
46
|
+
AxisX: 'X轴',
|
47
|
+
AxisY: 'Y轴',
|
48
|
+
Blur: '模糊度',
|
49
|
+
Shadow: '阴影扩展',
|
50
|
+
FontWeight: '字重',
|
51
|
+
FontStyle: '风格',
|
52
|
+
NormalFontStyle: '标准',
|
53
|
+
ItalicFontStyle: '斜体',
|
54
|
+
FontColor: '颜色',
|
55
|
+
FontSize: '大小',
|
56
|
+
LineHeight: '行高',
|
57
|
+
TextDecoration: '修饰',
|
58
|
+
TextUnderline: '下划线',
|
59
|
+
TextLineThrough: '中横线',
|
60
|
+
TextAlign: '对齐',
|
61
|
+
TextAlignLeft: '左对齐',
|
62
|
+
TextAlignCenter: '居中',
|
63
|
+
TextAlignRight: '右对齐',
|
64
|
+
TextAlignJustify: '自适应',
|
65
|
+
},
|
66
|
+
},
|
67
|
+
'en-US': {
|
68
|
+
icons: {
|
69
|
+
Image: 'Image',
|
70
|
+
ImageSize: 'Image Size',
|
71
|
+
Boolean: 'Boolean',
|
72
|
+
Number: 'Number',
|
73
|
+
Text: 'Text',
|
74
|
+
Expression: 'Expression',
|
75
|
+
RichText: 'Rich Text',
|
76
|
+
Position: 'Position',
|
77
|
+
Repeat: 'Repeat',
|
78
|
+
Top: 'Top',
|
79
|
+
Left: 'Left',
|
80
|
+
Right: 'Right',
|
81
|
+
Bottom: 'Bottom',
|
82
|
+
TopLeft: 'Top Left',
|
83
|
+
TopRight: 'Top Right',
|
84
|
+
BottomRight: 'Bottom Right',
|
85
|
+
BottomLeft: 'Bottom Left',
|
86
|
+
DisplayBlock: 'Block',
|
87
|
+
DisplayInlineBlock: 'Inline Block',
|
88
|
+
DisplayInline: 'Inline',
|
89
|
+
DisplayFlex: 'Flex',
|
90
|
+
FlexDirectionRow: 'Horizontal',
|
91
|
+
FlexDirectionColumn: 'Vertical',
|
92
|
+
FlexAlignContentCenter: 'Center',
|
93
|
+
FlexAlignContentStart: 'Start',
|
94
|
+
FlexAlignContentEnd: 'End',
|
95
|
+
FlexAlignContentSpaceAround: 'Space Around',
|
96
|
+
FlexAlignContentSpaceBetween: 'Space Between',
|
97
|
+
FlexAlignContentStretch: 'Stretch',
|
98
|
+
FlexJustifyCenter: 'Center',
|
99
|
+
FlexJustifyStart: 'Start',
|
100
|
+
FlexJustifyEnd: 'End',
|
101
|
+
FlexJustifySpaceBetween: 'Space Between',
|
102
|
+
FlexJustifySpaceAround: 'Space Around',
|
103
|
+
FlexJustifySpaceEvenly: 'Space Evenly',
|
104
|
+
FlexAlignItemsCenter: 'Center',
|
105
|
+
FlexAlignItemsStart: 'Start',
|
106
|
+
FlexAlignItemsEnd: 'End',
|
107
|
+
FlexAlignItemsStretch: 'Stretch',
|
108
|
+
FlexAlignItemsBaseline: 'Baseline',
|
109
|
+
FlexNoWrap: 'No Wrap',
|
110
|
+
FlexWrap: 'Wrap',
|
111
|
+
AxisX: 'X Axis',
|
112
|
+
AxisY: 'Y Axis',
|
113
|
+
Blur: 'Blur',
|
114
|
+
Shadow: 'Shadow Spread',
|
115
|
+
FontWeight: 'Font Weight',
|
116
|
+
FontStyle: 'Font Style',
|
117
|
+
NormalFontStyle: 'Normal',
|
118
|
+
ItalicFontStyle: 'Italic',
|
119
|
+
FontColor: 'Color',
|
120
|
+
FontSize: 'Font Size',
|
121
|
+
LineHeight: 'Line Height',
|
122
|
+
TextDecoration: 'Decoration',
|
123
|
+
TextUnderline: 'Underline',
|
124
|
+
TextLineThrough: 'Line Through',
|
125
|
+
TextAlign: 'Align',
|
126
|
+
TextAlignLeft: 'Left',
|
127
|
+
TextAlignCenter: 'Center',
|
128
|
+
TextAlignRight: 'Right',
|
129
|
+
TextAlignJustify: 'Justify',
|
130
|
+
},
|
131
|
+
},
|
132
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
'zh-CN': {
|
3
|
+
operations: {
|
4
|
+
default_state: string;
|
5
|
+
append_node: string;
|
6
|
+
prepend_node: string;
|
7
|
+
clone_node: string;
|
8
|
+
update_node_props: string;
|
9
|
+
insert_after: string;
|
10
|
+
insert_before: string;
|
11
|
+
insert_children: string;
|
12
|
+
update_children: string;
|
13
|
+
remove_node: string;
|
14
|
+
wrap_node: string;
|
15
|
+
from_node: string;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
'en-US': {
|
19
|
+
operations: {
|
20
|
+
default_state: string;
|
21
|
+
append_node: string;
|
22
|
+
prepend_node: string;
|
23
|
+
clone_node: string;
|
24
|
+
update_node_props: string;
|
25
|
+
insert_after: string;
|
26
|
+
insert_before: string;
|
27
|
+
insert_children: string;
|
28
|
+
update_children: string;
|
29
|
+
remove_node: string;
|
30
|
+
wrap_node: string;
|
31
|
+
from_node: string;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
'ko-KR': {
|
35
|
+
operations: {
|
36
|
+
default_state: string;
|
37
|
+
append_node: string;
|
38
|
+
prepend_node: string;
|
39
|
+
clone_node: string;
|
40
|
+
update_node_props: string;
|
41
|
+
insert_after: string;
|
42
|
+
insert_before: string;
|
43
|
+
insert_children: string;
|
44
|
+
update_children: string;
|
45
|
+
remove_node: string;
|
46
|
+
wrap_node: string;
|
47
|
+
from_node: string;
|
48
|
+
};
|
49
|
+
};
|
50
|
+
};
|
51
|
+
export default _default;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
export default {
|
2
|
+
'zh-CN': {
|
3
|
+
operations: {
|
4
|
+
default_state: '缺省态',
|
5
|
+
append_node: '追加节点',
|
6
|
+
prepend_node: '头部追加',
|
7
|
+
clone_node: '复制节点',
|
8
|
+
update_node_props: '属性更改',
|
9
|
+
insert_after: '后置插入',
|
10
|
+
insert_before: '前置插入',
|
11
|
+
insert_children: '插入子节点',
|
12
|
+
update_children: '覆盖子节点',
|
13
|
+
remove_node: '删除节点',
|
14
|
+
wrap_node: '包装节点',
|
15
|
+
from_node: '子树更新',
|
16
|
+
},
|
17
|
+
},
|
18
|
+
'en-US': {
|
19
|
+
operations: {
|
20
|
+
default_state: 'Default State',
|
21
|
+
append_node: 'Append Node',
|
22
|
+
prepend_node: 'Prepend Node',
|
23
|
+
clone_node: 'Clone Node',
|
24
|
+
update_node_props: 'Update Node Props',
|
25
|
+
insert_after: 'Insert Node After',
|
26
|
+
insert_before: 'Insert Node Before',
|
27
|
+
insert_children: 'Insert Node Children',
|
28
|
+
update_children: 'Update Children',
|
29
|
+
remove_node: 'Remove Node',
|
30
|
+
wrap_node: 'Wrap Node',
|
31
|
+
from_node: 'Update Child Tree',
|
32
|
+
},
|
33
|
+
},
|
34
|
+
'ko-KR': {
|
35
|
+
operations: {
|
36
|
+
default_state: '초기 상태',
|
37
|
+
append_node: '노드 추가',
|
38
|
+
prepend_node: '노드 삽입',
|
39
|
+
clone_node: '노드 복제',
|
40
|
+
update_node_props: '노드 속성 수정',
|
41
|
+
insert_after: '뒤쪽 노드 삽입',
|
42
|
+
insert_before: '앞쪽 노드 삽입',
|
43
|
+
insert_children: '자식 노드 삽입',
|
44
|
+
update_children: '자식 노드 수정',
|
45
|
+
remove_node: '노드 삭제',
|
46
|
+
wrap_node: '노드 랩핑',
|
47
|
+
from_node: '자식 노드 트리 수정',
|
48
|
+
},
|
49
|
+
},
|
50
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
'zh-CN': {
|
3
|
+
panels: {
|
4
|
+
Component: string;
|
5
|
+
OutlinedTree: string;
|
6
|
+
PropertySettings: string;
|
7
|
+
History: string;
|
8
|
+
};
|
9
|
+
};
|
10
|
+
'en-US': {
|
11
|
+
panels: {
|
12
|
+
Component: string;
|
13
|
+
OutlinedTree: string;
|
14
|
+
PropertySettings: string;
|
15
|
+
History: string;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
'ko-KR': {
|
19
|
+
panels: {
|
20
|
+
Component: string;
|
21
|
+
OutlinedTree: string;
|
22
|
+
PropertySettings: string;
|
23
|
+
History: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export default _default;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export default {
|
2
|
+
'zh-CN': {
|
3
|
+
panels: {
|
4
|
+
Component: '组件',
|
5
|
+
OutlinedTree: '大纲树',
|
6
|
+
PropertySettings: '属性配置',
|
7
|
+
History: '历史记录',
|
8
|
+
},
|
9
|
+
},
|
10
|
+
'en-US': {
|
11
|
+
panels: {
|
12
|
+
Component: 'Component',
|
13
|
+
OutlinedTree: 'Outlined Tree',
|
14
|
+
PropertySettings: 'Property Settings',
|
15
|
+
History: 'History',
|
16
|
+
},
|
17
|
+
},
|
18
|
+
'ko-KR': {
|
19
|
+
panels: {
|
20
|
+
Component: '컴포넌트',
|
21
|
+
OutlinedTree: '트리 노드',
|
22
|
+
PropertySettings: '속성 설정',
|
23
|
+
History: '기록',
|
24
|
+
},
|
25
|
+
},
|
26
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export interface ICompositePanelProps {
|
3
|
+
direction?: 'left' | 'right';
|
4
|
+
showNavTitle?: boolean;
|
5
|
+
defaultOpen?: boolean;
|
6
|
+
defaultPinning?: boolean;
|
7
|
+
defaultActiveKey?: number;
|
8
|
+
activeKey?: number | string;
|
9
|
+
onChange?: (activeKey: number | string) => void;
|
10
|
+
}
|
11
|
+
export interface ICompositePanelItemProps {
|
12
|
+
shape?: 'tab' | 'button' | 'link';
|
13
|
+
title?: React.ReactNode;
|
14
|
+
icon?: React.ReactNode;
|
15
|
+
key?: number | string;
|
16
|
+
href?: string;
|
17
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
18
|
+
extra?: React.ReactNode;
|
19
|
+
}
|
20
|
+
export declare const CompositePanel: React.FC<ICompositePanelProps> & {
|
21
|
+
Item: React.FC<ICompositePanelItemProps>;
|
22
|
+
};
|