@unicom-cloud/ui 0.8.172 → 0.8.174
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/.virtual/_rolldown/runtime.js +1 -1
- package/affix/Affix.js +1 -1
- package/affix/constants.js +1 -1
- package/affix/context.js +1 -1
- package/affix/index.js +1 -1
- package/affix/style/index.js +1 -1
- package/alert/Alert.js +1 -1
- package/alert/constants.js +1 -1
- package/alert/context.js +1 -1
- package/alert/index.js +1 -1
- package/alert/style/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/constants.js +1 -1
- package/anchor/context.js +1 -1
- package/anchor/index.js +1 -1
- package/anchor/style/index.js +1 -1
- package/anchor/utils.js +1 -1
- package/animation/Animation.js +1 -1
- package/animation/constants.js +1 -1
- package/animation/context.js +1 -1
- package/animation/index.js +1 -1
- package/animation/style/index.js +1 -1
- package/app/App.js +1 -1
- package/app/constants.js +1 -1
- package/app/context.js +1 -1
- package/app/index.js +1 -1
- package/app/style/index.js +1 -1
- package/app/useApp.js +1 -1
- package/auto-complete/AutoComplete.js +1 -1
- package/auto-complete/constants.js +1 -1
- package/auto-complete/context.js +1 -1
- package/auto-complete/index.js +1 -1
- package/auto-complete/style/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/avatar/constants.js +1 -1
- package/avatar/context.js +1 -1
- package/avatar/index.js +1 -1
- package/avatar/style/index.js +1 -1
- package/back-top/BackTop.js +1 -1
- package/back-top/constants.js +1 -1
- package/back-top/context.js +1 -1
- package/back-top/index.js +1 -1
- package/back-top/style/index.js +1 -1
- package/badge/Badge.js +1 -1
- package/badge/Count.js +1 -1
- package/badge/constants.js +1 -1
- package/badge/context.js +1 -1
- package/badge/index.js +1 -1
- package/badge/style/index.js +1 -1
- package/badge/utils.js +1 -1
- package/border-beam/BorderBeam.js +1 -1
- package/border-beam/constants.js +1 -1
- package/border-beam/context.js +1 -1
- package/border-beam/index.js +1 -1
- package/border-beam/style/index.js +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Item.js +1 -1
- package/breadcrumb/constants.js +1 -1
- package/breadcrumb/context.js +1 -1
- package/breadcrumb/index.js +1 -1
- package/breadcrumb/style/index.js +1 -1
- package/button/Button.js +1 -1
- package/button/Group.js +1 -1
- package/button/Toggle.js +1 -1
- package/button/constants.js +1 -1
- package/button/context.js +1 -1
- package/button/index.js +1 -1
- package/button/style/index.js +1 -1
- package/calendar/Calendar.js +1 -1
- package/calendar/Month.js +1 -1
- package/calendar/WeekList.js +1 -1
- package/calendar/Year.js +1 -1
- package/calendar/constants.js +1 -1
- package/calendar/context.js +1 -1
- package/calendar/header/Panel.js +1 -1
- package/calendar/header/index.js +1 -1
- package/calendar/hooks/useCellClassName.js +1 -1
- package/calendar/index.js +1 -1
- package/calendar/style/index.js +1 -1
- package/card/Card.js +1 -1
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/constants.js +1 -1
- package/card/context.js +1 -1
- package/card/index.js +1 -1
- package/card/style/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Carousel.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/constants.js +1 -1
- package/carousel/context.js +1 -1
- package/carousel/index.js +1 -1
- package/carousel/style/index.js +1 -1
- package/cascader/Cascader.js +1 -1
- package/cascader/base/node.js +1 -1
- package/cascader/base/store.js +1 -1
- package/cascader/constants.js +1 -1
- package/cascader/context.js +1 -1
- package/cascader/hooks/useRefCurrent.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/panel/List.js +1 -1
- package/cascader/panel/Option.js +1 -1
- package/cascader/panel/Search.js +1 -1
- package/cascader/style/index.js +1 -1
- package/cascader/utils.js +1 -1
- package/checkbox/Checkbox.js +1 -1
- package/checkbox/Group.js +1 -1
- package/checkbox/GroupBlock.js +1 -1
- package/checkbox/constants.js +1 -1
- package/checkbox/context.js +1 -1
- package/checkbox/index.js +1 -1
- package/checkbox/style/index.js +1 -1
- package/checkbox/useCheckbox.js +1 -1
- package/collapse/Collapse.js +1 -1
- package/collapse/Item.js +1 -1
- package/collapse/constants.js +1 -1
- package/collapse/context.js +1 -1
- package/collapse/index.js +1 -1
- package/collapse/style/index.js +1 -1
- package/collapse/utils.js +1 -1
- package/color-picker/ColorPicker.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Mode.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +1 -1
- package/color-picker/colors.js +1 -1
- package/color-picker/constants.js +1 -1
- package/color-picker/context.js +1 -1
- package/color-picker/hooks/useColorPicker.js +1 -1
- package/color-picker/hooks/useControlBlock.js +1 -1
- package/color-picker/index.js +1 -1
- package/color-picker/interface.js +1 -1
- package/color-picker/style/index.js +1 -1
- package/color-picker/utils.js +1 -1
- package/comment/Comment.js +1 -1
- package/comment/constants.js +1 -1
- package/comment/context.js +1 -1
- package/comment/index.js +1 -1
- package/comment/style/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/constants.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +1 -1
- package/config-provider/initUI.js +1 -1
- package/config-provider/style/index.js +1 -1
- package/config-provider/useConfigProvider.js +1 -1
- package/config-provider/utils.js +1 -1
- package/constants/index.js +1 -1
- package/copy/Copy.js +1 -1
- package/copy/constants.js +1 -1
- package/copy/context.js +1 -1
- package/copy/index.js +1 -1
- package/copy/style/index.js +1 -1
- package/countdown/Countdown.js +1 -1
- package/countdown/constants.js +1 -1
- package/countdown/context.js +1 -1
- package/countdown/index.js +1 -1
- package/countdown/style/index.js +1 -1
- package/countdown/utils.js +1 -1
- package/date-picker/DatePicker.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/Range.js +1 -1
- package/date-picker/constants.js +1 -1
- package/date-picker/context.js +1 -1
- package/date-picker/hooks/useCellClassName.js +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/panel/Body.js +1 -1
- package/date-picker/panel/Footer.js +1 -1
- package/date-picker/panel/Header.js +1 -1
- package/date-picker/panel/Shortcut.js +1 -1
- package/date-picker/panel/WeekList.js +1 -1
- package/date-picker/panel/date/index.js +1 -1
- package/date-picker/panel/month/index.js +1 -1
- package/date-picker/panel/quarter/index.js +1 -1
- package/date-picker/panel/range/index.js +1 -1
- package/date-picker/panel/week/index.js +1 -1
- package/date-picker/panel/year/index.js +1 -1
- package/date-picker/style/index.js +1 -1
- package/date-picker/utils.js +1 -1
- package/descriptions/Descriptions.js +1 -1
- package/descriptions/constants.js +1 -1
- package/descriptions/context.js +1 -1
- package/descriptions/index.js +1 -1
- package/descriptions/style/index.js +1 -1
- package/details/Details.js +1 -1
- package/details/constants.js +1 -1
- package/details/context.js +1 -1
- package/details/index.js +1 -1
- package/details/style/index.js +1 -1
- package/development/Development.js +1 -1
- package/development/constants.js +1 -1
- package/development/context.js +1 -1
- package/development/index.js +1 -1
- package/development/style/index.js +1 -1
- package/divider/Divider.js +1 -1
- package/divider/constants.js +1 -1
- package/divider/context.js +1 -1
- package/divider/index.js +1 -1
- package/divider/style/index.js +1 -1
- package/draggable/Draggable.js +1 -1
- package/draggable/Item.js +1 -1
- package/draggable/constants.js +1 -1
- package/draggable/context.js +1 -1
- package/draggable/index.js +1 -1
- package/draggable/style/index.js +1 -1
- package/draw/Draw.js +13 -13
- package/draw/{core/actions → actions}/actionAddToLibrary.d.ts +109 -109
- package/draw/{core/actions → actions}/actionAddToLibrary.js +8 -8
- package/draw/{core/actions → actions}/actionAlign.d.ts +14 -14
- package/draw/{core/actions → actions}/actionAlign.js +13 -13
- package/draw/{core/actions → actions}/actionBoundText.d.ts +72 -72
- package/draw/{core/actions → actions}/actionBoundText.js +13 -13
- package/draw/{core/actions → actions}/actionCanvas.d.ts +420 -420
- package/draw/{core/actions → actions}/actionCanvas.js +32 -32
- package/draw/{core/actions → actions}/actionClipboard.d.ts +81 -81
- package/draw/{core/actions → actions}/actionClipboard.js +9 -9
- package/draw/{core/actions → actions}/actionCropEditor.d.ts +37 -37
- package/draw/{core/actions → actions}/actionCropEditor.js +6 -6
- package/draw/{core/actions → actions}/actionDeleteSelected.d.ts +97 -97
- package/draw/{core/actions → actions}/actionDeleteSelected.js +16 -16
- package/draw/{core/actions → actions}/actionDistribute.d.ts +4 -4
- package/draw/{core/actions → actions}/actionDistribute.js +13 -13
- package/draw/{core/actions → actions}/actionDuplicateSelection.d.ts +3 -3
- package/draw/{core/actions → actions}/actionDuplicateSelection.js +12 -12
- package/draw/{core/actions → actions}/actionElementLink.d.ts +45 -45
- package/draw/{core/actions → actions}/actionElementLink.js +11 -11
- package/draw/{core/actions → actions}/actionElementLock.d.ts +73 -73
- package/draw/{core/actions → actions}/actionElementLock.js +11 -11
- package/draw/{core/actions → actions}/actionEmbeddable.d.ts +38 -38
- package/draw/{core/actions → actions}/actionEmbeddable.js +5 -5
- package/draw/{core/actions → actions}/actionExport.d.ts +85 -85
- package/draw/{core/actions → actions}/actionExport.js +13 -13
- package/draw/{core/actions → actions}/actionFinalize.d.ts +3 -3
- package/draw/{core/actions → actions}/actionFinalize.js +16 -16
- package/draw/{core/actions → actions}/actionFlip.d.ts +4 -4
- package/draw/{core/actions → actions}/actionFlip.js +15 -15
- package/draw/{core/actions → actions}/actionFrame.d.ts +250 -250
- package/draw/{core/actions → actions}/actionFrame.js +14 -14
- package/draw/{core/actions → actions}/actionGroup.d.ts +65 -65
- package/draw/{core/actions → actions}/actionGroup.js +15 -15
- package/draw/{core/actions → actions}/actionHistory.d.ts +2 -2
- package/draw/{core/actions → actions}/actionHistory.js +9 -9
- package/draw/{core/actions → actions}/actionLinearEditor.d.ts +159 -159
- package/draw/{core/actions → actions}/actionLinearEditor.js +10 -10
- package/draw/{core/actions → actions}/actionMenu.d.ts +36 -36
- package/draw/{core/actions → actions}/actionMenu.js +6 -6
- package/draw/{core/actions → actions}/actionProperties.d.ts +62 -62
- package/draw/{core/actions → actions}/actionProperties.js +194 -194
- package/draw/{core/actions → actions}/actionSelectAll.d.ts +35 -35
- package/draw/{core/actions → actions}/actionSelectAll.js +10 -10
- package/draw/{core/actions → actions}/actionStyles.d.ts +40 -40
- package/draw/{core/actions → actions}/actionStyles.js +12 -12
- package/draw/actions/actionTextAutoResize.d.ts +17 -0
- package/draw/{core/actions → actions}/actionTextAutoResize.js +10 -10
- package/draw/{core/actions → actions}/actionToggleGridMode.d.ts +39 -39
- package/draw/{core/actions → actions}/actionToggleGridMode.js +6 -6
- package/draw/{core/actions → actions}/actionToggleObjectsSnapMode.d.ts +40 -40
- package/draw/{core/actions → actions}/actionToggleObjectsSnapMode.js +6 -6
- package/draw/{core/actions → actions}/actionToggleSearchMenu.d.ts +36 -36
- package/draw/{core/actions → actions}/actionToggleSearchMenu.js +6 -6
- package/draw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/draw/{core/actions → actions}/actionToggleStats.d.ts +38 -38
- package/draw/{core/actions → actions}/actionToggleStats.js +6 -6
- package/draw/{core/actions → actions}/actionToggleViewMode.d.ts +40 -40
- package/draw/{core/actions → actions}/actionToggleViewMode.js +6 -6
- package/draw/{core/actions → actions}/actionToggleZenMode.d.ts +40 -40
- package/draw/{core/actions → actions}/actionToggleZenMode.js +6 -6
- package/draw/{core/actions → actions}/actionZindex.d.ts +12 -12
- package/draw/{core/actions → actions}/actionZindex.js +9 -9
- package/draw/{core/actions → actions}/index.js +1 -1
- package/draw/{core/actions → actions}/manager.d.ts +2 -2
- package/draw/{core/actions → actions}/manager.js +4 -4
- package/draw/actions/register.js +6 -0
- package/draw/{core/actions → actions}/shortcuts.d.ts +1 -1
- package/draw/{core/actions → actions}/shortcuts.js +4 -4
- package/draw/{core/actions → actions}/types.d.ts +3 -3
- package/draw/{core/analytics.js → analytics.js} +4 -4
- package/draw/{core/animated-trail.d.ts → animated-trail.d.ts} +2 -2
- package/draw/{core/animated-trail.js → animated-trail.js} +7 -7
- package/draw/{core/animation-frame-handler.js → animation-frame-handler.js} +2 -2
- package/draw/{core/appState.d.ts → appState.d.ts} +15 -15
- package/draw/{core/appState.js → appState.js} +8 -8
- package/draw/{core/charts.d.ts → charts.d.ts} +1 -1
- package/draw/{core/charts.js → charts.js} +12 -12
- package/draw/{core/clients.d.ts → clients.d.ts} +1 -1
- package/draw/{core/clients.js → clients.js} +9 -6
- package/draw/{core/clipboard.d.ts → clipboard.d.ts} +5 -5
- package/draw/{core/clipboard.js → clipboard.js} +45 -45
- package/draw/common/binary-heap.js +1 -1
- package/draw/common/bounds.js +1 -1
- package/draw/common/colors.js +1 -1
- package/draw/common/constants.d.ts +1 -1
- package/draw/common/constants.js +4 -4
- package/draw/common/editorInterface.js +1 -1
- package/draw/common/emitter.js +1 -1
- package/draw/common/font-metadata.js +1 -1
- package/draw/common/index.js +1 -1
- package/draw/common/keys.js +1 -1
- package/draw/common/points.js +1 -1
- package/draw/common/promise-pool.js +1 -1
- package/draw/common/queue.js +1 -1
- package/draw/common/random.js +1 -1
- package/draw/common/url.js +2 -2
- package/draw/common/utils.js +1 -1
- package/draw/{core/components → components}/Actions.d.ts +2 -2
- package/draw/components/Actions.js +493 -0
- package/draw/{core/components → components}/ActiveConfirmDialog.js +4 -4
- package/draw/{core/components → components}/App.d.ts +18 -18
- package/draw/{core/components → components}/App.js +676 -676
- package/draw/{core/components → components}/BraveMeasureTextError.js +2 -2
- package/draw/{core/components → components}/ContextMenu.js +2 -2
- package/draw/{core/components → components}/ConvertElementTypePopup.d.ts +2 -2
- package/draw/{core/components → components}/ConvertElementTypePopup.js +37 -37
- package/draw/{core/components → components}/DarkModeToggle.d.ts +1 -1
- package/draw/{core/components → components}/DarkModeToggle.js +5 -5
- package/draw/{core/components → components}/ElementCanvasButtons.d.ts +1 -1
- package/draw/{core/components → components}/ElementCanvasButtons.js +6 -6
- package/draw/{core/components → components}/ElementLinkDialog.d.ts +3 -3
- package/draw/{core/components → components}/ElementLinkDialog.js +12 -12
- package/draw/{core/components → components}/Ellipsify.js +2 -2
- package/draw/{core/components → components}/ErrorDialog.js +3 -3
- package/draw/{core/components → components}/ExportDialog.d.ts +2 -2
- package/draw/{core/components → components}/ExportDialog.js +4 -4
- package/draw/{core/components → components}/EyeDropper.d.ts +1 -1
- package/draw/{core/components → components}/EyeDropper.js +7 -7
- package/draw/{core/components → components}/FixedSideContainer.js +2 -2
- package/draw/{core/components → components}/Footer.d.ts +2 -2
- package/draw/{core/components → components}/Footer.js +8 -8
- package/draw/{core/components → components}/HandButton.js +5 -5
- package/draw/{core/components → components}/HelpDialog.js +6 -6
- package/draw/{core/components → components}/HintViewer.d.ts +2 -2
- package/draw/{core/components → components}/HintViewer.js +17 -17
- package/draw/{core/components → components}/ImageExportDialog.d.ts +2 -2
- package/draw/{core/components → components}/ImageExportDialog.js +14 -14
- package/draw/{core/components → components}/InitializeApp.d.ts +1 -1
- package/draw/{core/components → components}/InitializeApp.js +2 -2
- package/draw/{core/components → components}/InlineIcon.js +2 -2
- package/draw/{core/components → components}/Island.js +2 -2
- package/draw/{core/components → components}/LaserPointerButton.js +2 -2
- package/draw/{core/components → components}/LayerUI.d.ts +2 -2
- package/draw/{core/components → components}/LayerUI.js +21 -21
- package/draw/{core/components → components}/LibraryMenu.js +14 -14
- package/draw/{core/components → components}/LibraryMenuItems.d.ts +1 -1
- package/draw/{core/components → components}/LibraryMenuItems.js +15 -15
- package/draw/{core/components → components}/LibraryMenuSection.d.ts +2 -2
- package/draw/{core/components → components}/LibraryMenuSection.js +3 -3
- package/draw/{core/components → components}/LibraryUnit.d.ts +1 -1
- package/draw/{core/components → components}/LibraryUnit.js +3 -3
- package/draw/{core/components → components}/LoadingMessage.d.ts +1 -1
- package/draw/{core/components → components}/LoadingMessage.js +3 -3
- package/draw/{core/components → components}/LockButton.js +4 -4
- package/draw/{core/components → components}/MagicButton.js +2 -2
- package/draw/{core/components → components}/PasteChartDialog.d.ts +1 -1
- package/draw/{core/components → components}/PasteChartDialog.js +3 -3
- package/draw/{core/components → components}/PenModeButton.js +2 -2
- package/draw/{core/components → components}/Popover.js +5 -5
- package/draw/{core/components → components}/ProjectName.js +5 -5
- package/draw/{core/components → components}/Range.d.ts +1 -1
- package/draw/{core/components → components}/Range.js +4 -4
- package/draw/{core/components → components}/SVGLayer.js +2 -2
- package/draw/{core/components → components}/SearchMenu.js +21 -21
- package/draw/{core/components → components}/Stack.js +1 -1
- package/draw/{core/components → components}/Toast.js +3 -3
- package/draw/{core/components → components}/Trans.js +2 -2
- package/draw/{core/components → components}/UnlockPopup.d.ts +1 -1
- package/draw/{core/components → components}/UnlockPopup.js +7 -7
- package/draw/{core/components → components}/canvases/InteractiveCanvas.d.ts +3 -3
- package/draw/{core/components → components}/canvases/InteractiveCanvas.js +5 -5
- package/draw/{core/components → components}/canvases/NewElementCanvas.d.ts +3 -3
- package/draw/{core/components → components}/canvases/NewElementCanvas.js +2 -2
- package/draw/{core/components → components}/canvases/StaticCanvas.d.ts +3 -3
- package/draw/{core/components → components}/canvases/StaticCanvas.js +4 -4
- package/draw/components/canvases/index.js +4 -0
- package/draw/{core/components → components}/context.d.ts +3 -3
- package/draw/{core/components → components}/context.js +4 -4
- package/draw/{core/components → components}/diagram-to-code-plugin/index.d.ts +1 -1
- package/draw/{core/components → components}/diagram-to-code-plugin/index.js +2 -2
- package/draw/{core/components → components}/hooks.d.ts +6 -6
- package/draw/{core/components → components}/hooks.js +4 -4
- package/draw/{core/components → components}/icons.d.ts +1 -1
- package/draw/{core/components → components}/icons.js +4 -4
- package/draw/{core/components → components}/main-menu/DefaultItems.d.ts +1 -1
- package/draw/{core/components → components}/main-menu/DefaultItems.js +4 -4
- package/draw/{core/components → components}/main-menu/MenuItem.js +4 -4
- package/draw/{core/components → components}/main-menu/common.js +5 -5
- package/draw/{core/components → components}/overwrite-confirm/State.js +3 -3
- package/draw/{core/components → components}/overwrite-confirm/index.js +7 -7
- package/draw/{core/components → components}/shapes.d.ts +1 -1
- package/draw/{core/components → components}/shapes.js +4 -4
- package/draw/{core/components → components}/stats/Angle.d.ts +3 -3
- package/draw/{core/components → components}/stats/Angle.js +8 -8
- package/draw/{core/components → components}/stats/CanvasGrid.d.ts +2 -2
- package/draw/{core/components → components}/stats/CanvasGrid.js +2 -2
- package/draw/{core/components → components}/stats/Collapsible.js +2 -2
- package/draw/{core/components → components}/stats/Dimension.d.ts +3 -3
- package/draw/{core/components → components}/stats/Dimension.js +10 -10
- package/draw/{core/components → components}/stats/DragInput.d.ts +3 -3
- package/draw/{core/components → components}/stats/DragInput.js +9 -9
- package/draw/{core/components → components}/stats/FontSize.d.ts +3 -3
- package/draw/{core/components → components}/stats/FontSize.js +5 -5
- package/draw/{core/components → components}/stats/MultiAngle.d.ts +3 -3
- package/draw/{core/components → components}/stats/MultiAngle.js +8 -8
- package/draw/{core/components → components}/stats/MultiDimension.d.ts +3 -3
- package/draw/{core/components → components}/stats/MultiDimension.js +13 -13
- package/draw/{core/components → components}/stats/MultiFontSize.d.ts +3 -3
- package/draw/{core/components → components}/stats/MultiFontSize.js +6 -6
- package/draw/{core/components → components}/stats/MultiPosition.d.ts +3 -3
- package/draw/{core/components → components}/stats/MultiPosition.js +7 -7
- package/draw/{core/components → components}/stats/Position.d.ts +3 -3
- package/draw/{core/components → components}/stats/Position.js +8 -8
- package/draw/{core/components → components}/stats/index.d.ts +2 -2
- package/draw/{core/components → components}/stats/index.js +12 -12
- package/draw/{core/components → components}/stats/utils.d.ts +3 -3
- package/draw/{core/components → components}/stats/utils.js +11 -11
- package/draw/constants.js +1 -1
- package/draw/{core/context → context}/tunnels.d.ts +9 -9
- package/draw/{core/context → context}/tunnels.js +6 -6
- package/draw/{core/context → context}/ui-appState.d.ts +1 -1
- package/draw/context/ui-appState.js +7 -0
- package/draw/context.js +1 -1
- package/draw/{core/cursor.d.ts → cursor.d.ts} +1 -1
- package/draw/{core/cursor.js → cursor.js} +4 -4
- package/draw/{core/data → data}/EditorLocalStorage.d.ts +2 -2
- package/draw/{core/data → data}/blob.d.ts +69 -69
- package/draw/{core/data → data}/blob.js +25 -25
- package/draw/{core/data → data}/encode.js +3 -3
- package/draw/data/encryption.js +4 -0
- package/draw/{core/data → data}/filesystem.d.ts +3 -3
- package/draw/{core/data → data}/filesystem.js +9 -9
- package/draw/{core/data → data}/image.js +7 -7
- package/draw/data/index.js +5 -0
- package/draw/{core/data → data}/json.d.ts +33 -33
- package/draw/{core/data → data}/json.js +4 -4
- package/draw/{core/data → data}/library.d.ts +3 -3
- package/draw/{core/data → data}/library.js +32 -32
- package/draw/{core/data → data}/reconcile.d.ts +3 -3
- package/draw/{core/data → data}/reconcile.js +6 -6
- package/draw/{core/data → data}/resave.d.ts +2 -2
- package/draw/{core/data → data}/resave.js +2 -2
- package/draw/{core/data → data}/restore.d.ts +3 -3
- package/draw/{core/data → data}/restore.js +49 -49
- package/draw/{core/data → data}/types.d.ts +3 -3
- package/draw/{core/data → data}/utils.d.ts +2 -2
- package/draw/{core/data → data}/utils.js +10 -10
- package/draw/{core/deburr.js → deburr.js} +2 -2
- package/draw/editor-jotai.d.ts +7 -0
- package/draw/editor-jotai.js +11 -0
- package/draw/element/Scene.js +1 -1
- package/draw/element/align.js +1 -1
- package/draw/element/arrows/focus.js +1 -1
- package/draw/element/arrows/helpers.js +1 -1
- package/draw/element/binding.js +1 -1
- package/draw/element/bounds.js +1 -1
- package/draw/element/collision.js +1 -1
- package/draw/element/comparisons.js +1 -1
- package/draw/element/containerCache.js +1 -1
- package/draw/element/cropElement.js +1 -1
- package/draw/element/delta.js +1 -1
- package/draw/element/distance.js +1 -1
- package/draw/element/distribute.js +1 -1
- package/draw/element/dragElements.js +1 -1
- package/draw/element/duplicate.js +1 -1
- package/draw/element/elbowArrow.js +1 -1
- package/draw/element/elementLink.js +1 -1
- package/draw/element/embeddable.js +1 -1
- package/draw/element/flowchart.js +1 -1
- package/draw/element/fractionalIndex.js +1 -1
- package/draw/element/frame.js +1 -1
- package/draw/element/groups.js +1 -1
- package/draw/element/heading.js +1 -1
- package/draw/element/image.js +1 -1
- package/draw/element/index.js +1 -1
- package/draw/element/is.js +1 -1
- package/draw/element/linearElementEditor.js +1 -1
- package/draw/element/mutateElement.js +1 -1
- package/draw/element/newElement.js +1 -1
- package/draw/element/positionElementsOnGrid.js +1 -1
- package/draw/element/renderElement.d.ts +1 -1
- package/draw/element/renderElement.js +1 -1
- package/draw/element/resizeElements.js +1 -1
- package/draw/element/resizeTest.js +1 -1
- package/draw/element/selection.js +1 -1
- package/draw/element/shape.d.ts +1 -1
- package/draw/element/shape.js +1 -1
- package/draw/element/showSelectedShapeActions.js +1 -1
- package/draw/element/sizeHelpers.js +1 -1
- package/draw/element/sortElements.js +1 -1
- package/draw/element/store.d.ts +1 -1
- package/draw/element/store.js +1 -1
- package/draw/element/textElement.js +1 -1
- package/draw/element/textMeasurements.js +1 -1
- package/draw/element/textWrapping.js +1 -1
- package/draw/element/transform.js +1 -1
- package/draw/element/transformHandles.js +1 -1
- package/draw/element/typeChecks.js +1 -1
- package/draw/element/utils.js +1 -1
- package/draw/element/zindex.js +1 -1
- package/draw/{core/eraser → eraser}/index.js +17 -17
- package/draw/errors.js +41 -0
- package/draw/{core/fonts → fonts}/DrawFontFace.js +2 -2
- package/draw/{core/fonts → fonts}/Fonts.d.ts +3 -3
- package/draw/{core/fonts → fonts}/Fonts.js +12 -12
- package/draw/fonts/index.js +3 -0
- package/draw/{core/gesture.d.ts → gesture.d.ts} +1 -1
- package/draw/{core/gesture.js → gesture.js} +2 -2
- package/draw/{core/history.d.ts → history.d.ts} +5 -5
- package/draw/{core/history.js → history.js} +7 -7
- package/draw/{core/hooks → hooks}/useCopiedIndicator.js +2 -2
- package/draw/{core/hooks → hooks}/useCreatePortalContainer.js +4 -4
- package/draw/{core/hooks → hooks}/useEmitter.d.ts +1 -1
- package/draw/{core/hooks → hooks}/useEmitter.js +2 -2
- package/draw/{core/hooks → hooks}/useLibraryItemSvg.d.ts +1 -1
- package/draw/{core/hooks → hooks}/useLibraryItemSvg.js +6 -6
- package/draw/{core/hooks → hooks}/useOutsideClick.js +4 -4
- package/draw/{core/hooks → hooks}/useScrollPosition.js +3 -3
- package/draw/{core/hooks → hooks}/useStable.js +2 -2
- package/draw/{core/hooks → hooks}/useTextEditorFocus.js +2 -2
- package/draw/{core/hooks → hooks}/useTransition.js +2 -2
- package/draw/{core/i18n.d.ts → i18n.d.ts} +1 -1
- package/draw/{core/i18n.js → i18n.js} +3 -3
- package/draw/index.d.ts +13 -13
- package/draw/index.js +48 -48
- package/draw/interface.d.ts +11 -11
- package/draw/{core/laser-trails.js → laser-trails.js} +5 -5
- package/draw/{core/lasso → lasso}/index.js +13 -13
- package/draw/{core/lasso → lasso}/utils.d.ts +2 -2
- package/draw/{core/lasso → lasso}/utils.js +10 -10
- package/draw/libs/browser-fs-access/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/file-open.js +1 -1
- package/draw/libs/browser-fs-access/file-save.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/file-open.js +1 -1
- package/draw/libs/browser-fs-access/fs-access/file-save.js +1 -1
- package/draw/libs/browser-fs-access/index.js +1 -1
- package/draw/libs/browser-fs-access/legacy/directory-open.js +1 -1
- package/draw/libs/browser-fs-access/legacy/file-open.js +1 -1
- package/draw/libs/browser-fs-access/legacy/file-save.js +1 -1
- package/draw/libs/browser-fs-access/supported.js +1 -1
- package/draw/libs/fractional-indexing/index.js +1 -1
- package/draw/libs/fuzzy/index.js +1 -1
- package/draw/libs/glur/index.js +1 -1
- package/draw/libs/glur/mono16.js +1 -1
- package/draw/libs/hachure-fill/index.js +1 -1
- package/draw/libs/image-blob-reduce/index.js +1 -1
- package/draw/libs/image-blob-reduce/lib/image_traverse.js +1 -1
- package/draw/libs/image-blob-reduce/lib/jpeg_plugins.js +1 -1
- package/draw/libs/image-blob-reduce/lib/utils.js +1 -1
- package/draw/libs/jotai/index.js +1 -1
- package/draw/libs/jotai/react/Provider.js +1 -1
- package/draw/libs/jotai/react/useAtom.js +1 -1
- package/draw/libs/jotai/react/useAtomValue.js +1 -1
- package/draw/libs/jotai/react/useSetAtom.js +1 -1
- package/draw/libs/jotai/react/utils/useAtomCallback.js +1 -1
- package/draw/libs/jotai/react/utils/useHydrateAtoms.js +1 -1
- package/draw/libs/jotai/react/utils/useReducerAtom.js +1 -1
- package/draw/libs/jotai/react/utils/useResetAtom.js +1 -1
- package/draw/libs/jotai/react/utils.js +1 -1
- package/draw/libs/jotai/react.js +1 -1
- package/draw/libs/jotai/utils.js +1 -1
- package/draw/libs/jotai/vanilla/atom.js +1 -1
- package/draw/libs/jotai/vanilla/internals.js +1 -1
- package/draw/libs/jotai/vanilla/store.js +1 -1
- package/draw/libs/jotai/vanilla/utils/atomFamily.js +1 -1
- package/draw/libs/jotai/vanilla/utils/atomWithStorage.js +1 -1
- package/draw/libs/jotai/vanilla/utils.js +1 -1
- package/draw/libs/jotai-scope/createIsolation.js +1 -1
- package/draw/libs/jotai-scope/index.js +1 -1
- package/draw/libs/jotai-scope/scope-provider/index.js +1 -1
- package/draw/libs/jotai-scope/scope-provider/scope.js +1 -1
- package/draw/libs/jotai-scope/utils.js +1 -1
- package/draw/libs/laser-pointer/index.js +1 -1
- package/draw/libs/laser-pointer/math.js +1 -1
- package/draw/libs/laser-pointer/simplify.js +1 -1
- package/draw/libs/laser-pointer/state.js +1 -1
- package/draw/libs/markdown-to-text/index.js +1 -1
- package/draw/libs/math/angle.js +1 -1
- package/draw/libs/math/constants.js +1 -1
- package/draw/libs/math/curve.js +1 -1
- package/draw/libs/math/ellipse.js +1 -1
- package/draw/libs/math/index.js +1 -1
- package/draw/libs/math/line.js +1 -1
- package/draw/libs/math/point.js +1 -1
- package/draw/libs/math/polygon.js +1 -1
- package/draw/libs/math/range.js +1 -1
- package/draw/libs/math/rectangle.js +1 -1
- package/draw/libs/math/segment.js +1 -1
- package/draw/libs/math/triangle.js +1 -1
- package/draw/libs/math/utils.js +1 -1
- package/draw/libs/math/vector.js +1 -1
- package/draw/libs/multimath/index.js +1 -1
- package/draw/libs/multimath/lib/wa_detect.js +1 -1
- package/draw/libs/nanoid/index.js +1 -1
- package/draw/libs/nanoid/url-alphabet/index.js +1 -1
- package/draw/libs/pako/index.js +1 -1
- package/draw/libs/path-data-parser/absolutize.js +1 -1
- package/draw/libs/path-data-parser/index.js +1 -1
- package/draw/libs/path-data-parser/normalize.js +1 -1
- package/draw/libs/path-data-parser/parser.js +1 -1
- package/draw/libs/perfect-freehand/getStroke.js +1 -1
- package/draw/libs/perfect-freehand/getStrokeOutlinePoints.js +1 -1
- package/draw/libs/perfect-freehand/getStrokePoints.js +1 -1
- package/draw/libs/perfect-freehand/getStrokeRadius.js +1 -1
- package/draw/libs/perfect-freehand/index.js +1 -1
- package/draw/libs/perfect-freehand/vec.js +1 -1
- package/draw/libs/pica/index.js +1 -1
- package/draw/libs/pica/lib/mathlib.js +1 -1
- package/draw/libs/pica/lib/mm_resize/convolve.js +1 -1
- package/draw/libs/pica/lib/mm_resize/convolve_wasm_base64.js +1 -1
- package/draw/libs/pica/lib/mm_resize/index.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize_filter_gen.js +1 -1
- package/draw/libs/pica/lib/mm_resize/resize_wasm.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/index.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm.js +1 -1
- package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm_base64.js +1 -1
- package/draw/libs/pica/lib/pool.js +1 -1
- package/draw/libs/pica/lib/tiler.js +1 -1
- package/draw/libs/pica/lib/utils.js +1 -1
- package/draw/libs/pica/lib/worker.js +1 -1
- package/draw/libs/png-chunk-text/decode.js +1 -1
- package/draw/libs/png-chunk-text/encode.js +1 -1
- package/draw/libs/png-chunk-text/index.js +1 -1
- package/draw/libs/png-chunks-encode/index.js +1 -1
- package/draw/libs/png-chunks-extract/index.js +1 -1
- package/draw/libs/points-on-curve/curve-to-bezier.js +1 -1
- package/draw/libs/points-on-curve/index.js +1 -1
- package/draw/libs/points-on-path/index.js +1 -1
- package/draw/libs/promise-pool/index.js +1 -1
- package/draw/libs/roughjs/canvas.js +1 -1
- package/draw/libs/roughjs/core.js +1 -1
- package/draw/libs/roughjs/fillers/dashed-filler.js +1 -1
- package/draw/libs/roughjs/fillers/dot-filler.js +1 -1
- package/draw/libs/roughjs/fillers/filler.js +1 -1
- package/draw/libs/roughjs/fillers/hachure-filler.js +1 -1
- package/draw/libs/roughjs/fillers/hatch-filler.js +1 -1
- package/draw/libs/roughjs/fillers/scan-line-hachure.js +1 -1
- package/draw/libs/roughjs/fillers/zigzag-filler.js +1 -1
- package/draw/libs/roughjs/fillers/zigzag-line-filler.js +1 -1
- package/draw/libs/roughjs/generator.js +1 -1
- package/draw/libs/roughjs/geometry.js +1 -1
- package/draw/libs/roughjs/index.js +1 -1
- package/draw/libs/roughjs/math.js +1 -1
- package/draw/libs/roughjs/renderer.js +1 -1
- package/draw/libs/roughjs/rough.js +1 -1
- package/draw/libs/roughjs/svg.js +1 -1
- package/draw/libs/sliced/index.js +1 -1
- package/draw/libs/webworkify/index.js +1 -1
- package/draw/mermaid.js +27 -0
- package/draw/polyfill.js +6 -0
- package/draw/{core/reactUtils.js → reactUtils.js} +4 -4
- package/draw/{core/renderer → renderer}/animation.js +2 -2
- package/draw/{core/renderer → renderer}/helpers.d.ts +1 -1
- package/draw/{core/renderer → renderer}/helpers.js +5 -5
- package/draw/{core/renderer → renderer}/interactiveScene.js +18 -18
- package/draw/{core/renderer → renderer}/renderNewElementScene.js +8 -8
- package/draw/{core/renderer → renderer}/renderSnaps.d.ts +1 -1
- package/draw/{core/renderer → renderer}/renderSnaps.js +6 -6
- package/draw/{core/renderer → renderer}/roundRect.js +2 -2
- package/draw/{core/renderer → renderer}/staticScene.d.ts +2 -2
- package/draw/{core/renderer → renderer}/staticScene.js +12 -12
- package/draw/{core/renderer → renderer}/staticSvgScene.d.ts +3 -3
- package/draw/{core/renderer → renderer}/staticSvgScene.js +19 -19
- package/draw/{core/scene → scene}/Renderer.d.ts +4 -4
- package/draw/{core/scene → scene}/Renderer.js +6 -6
- package/draw/{core/scene → scene}/export.d.ts +2 -2
- package/draw/{core/scene → scene}/export.js +52 -52
- package/draw/{core/scene → scene}/index.d.ts +1 -1
- package/draw/scene/index.js +7 -0
- package/draw/{core/scene → scene}/normalize.d.ts +1 -1
- package/draw/scene/normalize.js +10 -0
- package/draw/{core/scene → scene}/scroll.d.ts +2 -2
- package/draw/{core/scene → scene}/scroll.js +6 -6
- package/draw/{core/scene → scene}/scrollbars.d.ts +1 -1
- package/draw/{core/scene → scene}/scrollbars.js +5 -5
- package/draw/{core/scene → scene}/types.d.ts +7 -7
- package/draw/{core/scene → scene}/zoom.d.ts +1 -1
- package/draw/{core/scene → scene}/zoom.js +2 -2
- package/draw/{core/shortcut.js → shortcut.js} +4 -4
- package/draw/{core/snapping.d.ts → snapping.d.ts} +5 -5
- package/draw/{core/snapping.js → snapping.js} +14 -14
- package/draw/style/index.js +1 -1
- package/draw/utils/bbox.js +1 -1
- package/draw/utils/export.d.ts +1 -1
- package/draw/utils/export.js +7 -7
- package/draw/utils/index.js +2 -2
- package/draw/utils/shape.js +1 -1
- package/draw/utils/withinBounds.js +1 -1
- package/draw/workers.js +51 -0
- package/draw/{core/wysiwyg → wysiwyg}/textWysiwyg.d.ts +1 -1
- package/draw/{core/wysiwyg → wysiwyg}/textWysiwyg.js +16 -16
- package/drawer/Drawer.js +1 -1
- package/drawer/constants.js +1 -1
- package/drawer/context.js +1 -1
- package/drawer/index.js +1 -1
- package/drawer/style/index.js +1 -1
- package/drawer/use-drawer/Hook.js +1 -1
- package/drawer/use-drawer/index.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/Dropdown.js +1 -1
- package/dropdown/constants.js +1 -1
- package/dropdown/context.js +1 -1
- package/dropdown/index.js +1 -1
- package/dropdown/style/index.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/constants.js +1 -1
- package/empty/context.js +1 -1
- package/empty/index.js +1 -1
- package/empty/style/index.js +1 -1
- package/flex/Flex.js +1 -1
- package/flex/constants.js +1 -1
- package/flex/context.js +1 -1
- package/flex/index.js +1 -1
- package/flex/style/index.js +1 -1
- package/form/Control.js +1 -1
- package/form/Form.js +1 -1
- package/form/Item.js +1 -1
- package/form/ItemLabel.js +1 -1
- package/form/ItemTip.js +1 -1
- package/form/LabelSymbol.js +1 -1
- package/form/List.js +1 -1
- package/form/Provider.js +1 -1
- package/form/constants.js +1 -1
- package/form/context.js +1 -1
- package/form/hooks/useForm.js +1 -1
- package/form/hooks/useFormContext.js +1 -1
- package/form/hooks/useFormState.js +1 -1
- package/form/hooks/useWatch.js +1 -1
- package/form/index.js +1 -1
- package/form/interface.js +1 -1
- package/form/promisify.js +1 -1
- package/form/store.js +1 -1
- package/form/style/index.js +1 -1
- package/form/utils.js +1 -1
- package/global-provider/GlobalProvider.js +1 -1
- package/global-provider/constants.js +1 -1
- package/global-provider/context.js +1 -1
- package/global-provider/index.js +1 -1
- package/global-provider/style/index.js +1 -1
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/grid/constants.js +1 -1
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/style/index.js +1 -1
- package/grid/utils.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-breakpoint/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-controllable-value/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-effect-event/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-event-listener/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-fullscreen/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-intersection-observers/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-latest/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-memoized-fn/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-move/index.js +1 -1
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-resize-observers/index.js +1 -1
- package/hooks/use-responsive-state/index.js +1 -1
- package/hooks/use-set-state/index.js +1 -1
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-throttle-fn-with-raf/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-verification-code/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-watermark/index.js +1 -1
- package/hooks/use-watermark/utils.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/useMountLifecycle.js +1 -1
- package/icon/Icon.js +1 -1
- package/icon/addIconFromCdn.js +1 -1
- package/icon/constants.js +1 -1
- package/icon/context.js +1 -1
- package/icon/index.js +1 -1
- package/icon/style/index.js +1 -1
- package/icon-hover/IconHover.js +1 -1
- package/icon-hover/constants.js +1 -1
- package/icon-hover/context.js +1 -1
- package/icon-hover/index.js +1 -1
- package/icon-hover/style/index.js +1 -1
- package/icons/file/File.js +1 -1
- package/icons/file/context.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file/style/index.js +1 -1
- package/icons.js +1 -1
- package/image/Footer.js +1 -1
- package/image/Image.js +1 -1
- package/image/Preview.js +1 -1
- package/image/PreviewArrow.js +1 -1
- package/image/PreviewGroup.js +1 -1
- package/image/PreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +1 -1
- package/image/constants.js +1 -1
- package/image/context.js +1 -1
- package/image/hooks/useImageStatus.js +1 -1
- package/image/hooks/useShowFooter.js +1 -1
- package/image/index.js +1 -1
- package/image/style/index.js +1 -1
- package/image/utils/getFixTranslate.js +1 -1
- package/image/utils/getScale.js +1 -1
- package/index.js +1 -1
- package/input/Button.js +1 -1
- package/input/Core.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextareaHeight.js +1 -1
- package/input/constants.js +1 -1
- package/input/context.js +1 -1
- package/input/index.js +1 -1
- package/input/style/index.js +1 -1
- package/input/useComposition.js +1 -1
- package/input/utils.js +1 -1
- package/input-number/InputNumber.js +1 -1
- package/input-number/constants.js +1 -1
- package/input-number/context.js +1 -1
- package/input-number/decimal.js +1 -1
- package/input-number/hooks/useSelectionRange.js +1 -1
- package/input-number/index.js +1 -1
- package/input-number/style/index.js +1 -1
- package/input-number/utils.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/input-tag/constants.js +1 -1
- package/input-tag/context.js +1 -1
- package/input-tag/hooks/useComputeAutoWidthDelay.js +1 -1
- package/input-tag/index.js +1 -1
- package/input-tag/style/index.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Layout.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/constants.js +1 -1
- package/layout/context.js +1 -1
- package/layout/index.js +1 -1
- package/layout/style/index.js +1 -1
- package/link/Link.js +1 -1
- package/link/constants.js +1 -1
- package/link/context.js +1 -1
- package/link/index.js +1 -1
- package/link/style/index.js +1 -1
- package/liquid-fill/LiquidFill.js +1 -1
- package/liquid-fill/constants.js +1 -1
- package/liquid-fill/context.js +1 -1
- package/liquid-fill/index.js +1 -1
- package/liquid-fill/style/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/List.js +1 -1
- package/list/Meta.js +1 -1
- package/list/constants.js +1 -1
- package/list/context.js +1 -1
- package/list/index.js +1 -1
- package/list/style/index.js +1 -1
- package/loading/Loading.js +1 -1
- package/loading/constants.js +1 -1
- package/loading/context.js +1 -1
- package/loading/index.js +1 -1
- package/loading/style/index.js +1 -1
- package/locale/ar-EG.js +1 -1
- package/locale/de-DE.js +1 -1
- package/locale/default.js +1 -1
- package/locale/en-US.js +1 -1
- package/locale/es-ES.js +1 -1
- package/locale/fr-FR.js +1 -1
- package/locale/id-ID.js +1 -1
- package/locale/it-IT.js +1 -1
- package/locale/ja-JP.js +1 -1
- package/locale/ko-KR.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt-PT.js +1 -1
- package/locale/ru-RU.js +1 -1
- package/locale/th-TH.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/locale/vi-VN.js +1 -1
- package/locale/zh-CN.js +1 -1
- package/locale/zh-HK.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/marquee/Marquee.js +1 -1
- package/marquee/constants.js +1 -1
- package/marquee/context.js +1 -1
- package/marquee/index.js +1 -1
- package/marquee/style/index.js +1 -1
- package/mask/Mask.js +1 -1
- package/mask/constants.js +1 -1
- package/mask/context.js +1 -1
- package/mask/index.js +1 -1
- package/mask/style/index.js +1 -1
- package/masonry/Item.js +1 -1
- package/masonry/Masonry.js +1 -1
- package/masonry/constants.js +1 -1
- package/masonry/context.js +1 -1
- package/masonry/hooks/useDelay.js +1 -1
- package/masonry/hooks/useGutter.js +1 -1
- package/masonry/hooks/usePositions.js +1 -1
- package/masonry/hooks/useRefs.js +1 -1
- package/masonry/index.js +1 -1
- package/masonry/style/index.js +1 -1
- package/mentions/Mentions.js +1 -1
- package/mentions/constants.js +1 -1
- package/mentions/context.js +1 -1
- package/mentions/index.js +1 -1
- package/mentions/style/index.js +1 -1
- package/mentions/utils.js +1 -1
- package/menu/Indent.js +1 -1
- package/menu/Item.js +1 -1
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +1 -1
- package/menu/OverflowWrap.js +1 -1
- package/menu/constants.js +1 -1
- package/menu/context.js +1 -1
- package/menu/index.js +1 -1
- package/menu/style/index.js +1 -1
- package/menu/sub-menu/Inline.js +1 -1
- package/menu/sub-menu/Pop.js +1 -1
- package/menu/sub-menu/index.js +1 -1
- package/menu/utils.js +1 -1
- package/message/Message.js +1 -1
- package/message/config.js +1 -1
- package/message/constants.js +1 -1
- package/message/context.js +1 -1
- package/message/hooks/useMessage.js +1 -1
- package/message/index.js +1 -1
- package/message/style/index.js +1 -1
- package/message/utils.js +1 -1
- package/modal/Modal.js +1 -1
- package/modal/config.js +1 -1
- package/modal/confirm.js +1 -1
- package/modal/constants.js +1 -1
- package/modal/context.js +1 -1
- package/modal/index.js +1 -1
- package/modal/style/index.js +1 -1
- package/modal/use-modal/Hook.js +1 -1
- package/modal/use-modal/index.js +1 -1
- package/modal/utils.js +1 -1
- package/notice/Notice.js +1 -1
- package/notice/config.js +1 -1
- package/notice/constants.js +1 -1
- package/notice/context.js +1 -1
- package/notice/index.js +1 -1
- package/notice/style/index.js +1 -1
- package/notice/utils.js +1 -1
- package/notice/withNotice.js +1 -1
- package/notification/Notification.js +1 -1
- package/notification/config.js +1 -1
- package/notification/constants.js +1 -1
- package/notification/context.js +1 -1
- package/notification/hooks/useNotification.js +1 -1
- package/notification/index.js +1 -1
- package/notification/style/index.js +1 -1
- package/notification/utils.js +1 -1
- package/overflow-ellipsis/Item.js +1 -1
- package/overflow-ellipsis/OverflowEllipsis.js +1 -1
- package/overflow-ellipsis/constants.js +1 -1
- package/overflow-ellipsis/context.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/overflow-ellipsis/style/index.js +1 -1
- package/package.json +1 -1
- package/page-header/PageHeader.js +1 -1
- package/page-header/constants.js +1 -1
- package/page-header/context.js +1 -1
- package/page-header/index.js +1 -1
- package/page-header/style/index.js +1 -1
- package/pagination/Item.js +1 -1
- package/pagination/Jumper.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/pagination/PreNextButton.js +1 -1
- package/pagination/PreNextJump.js +1 -1
- package/pagination/SizeOption.js +1 -1
- package/pagination/constants.js +1 -1
- package/pagination/context.js +1 -1
- package/pagination/index.js +1 -1
- package/pagination/interface.js +1 -1
- package/pagination/style/index.js +1 -1
- package/pagination/utils.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/picker/constants.js +1 -1
- package/picker/context.js +1 -1
- package/picker/index.js +1 -1
- package/picker/style/index.js +1 -1
- package/popconfirm/Popconfirm.js +1 -1
- package/popconfirm/constants.js +1 -1
- package/popconfirm/context.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popconfirm/style/index.js +1 -1
- package/popover/Popover.js +1 -1
- package/popover/constants.js +1 -1
- package/popover/context.js +1 -1
- package/popover/index.js +1 -1
- package/popover/style/index.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/constants.js +1 -1
- package/portal/context.js +1 -1
- package/portal/index.js +1 -1
- package/portal/style/index.js +1 -1
- package/progress/Circle.js +1 -1
- package/progress/Line.js +1 -1
- package/progress/Progress.js +1 -1
- package/progress/Step.js +1 -1
- package/progress/constants.js +1 -1
- package/progress/context.js +1 -1
- package/progress/index.js +1 -1
- package/progress/style/index.js +1 -1
- package/qr-code/QRCode.js +1 -1
- package/qr-code/constants.js +1 -1
- package/qr-code/context.js +1 -1
- package/qr-code/index.js +1 -1
- package/qr-code/src/index.js +1 -1
- package/qr-code/src/qrcodegen.js +1 -1
- package/qr-code/style/index.js +1 -1
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/constants.js +1 -1
- package/radio/context.js +1 -1
- package/radio/index.js +1 -1
- package/radio/style/index.js +1 -1
- package/rate/Rate.js +1 -1
- package/rate/constants.js +1 -1
- package/rate/context.js +1 -1
- package/rate/index.js +1 -1
- package/rate/style/index.js +1 -1
- package/resize-box/ResizeBox.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/constants.js +1 -1
- package/resize-box/context.js +1 -1
- package/resize-box/index.js +1 -1
- package/resize-box/style/index.js +1 -1
- package/result/403.js +1 -1
- package/result/404.js +1 -1
- package/result/500.js +1 -1
- package/result/Result.js +1 -1
- package/result/constants.js +1 -1
- package/result/context.js +1 -1
- package/result/index.js +1 -1
- package/result/style/index.js +1 -1
- package/rich-text/RichText.js +1 -1
- package/rich-text/Toolbar.js +1 -1
- package/rich-text/constants.js +1 -1
- package/rich-text/context.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/libs/blots/block.js +1 -1
- package/rich-text/libs/blots/break.js +1 -1
- package/rich-text/libs/blots/container.js +1 -1
- package/rich-text/libs/blots/cursor.js +1 -1
- package/rich-text/libs/blots/embed.js +1 -1
- package/rich-text/libs/blots/inline.js +1 -1
- package/rich-text/libs/blots/scroll.js +1 -1
- package/rich-text/libs/blots/text.js +1 -1
- package/rich-text/libs/core/composition.js +1 -1
- package/rich-text/libs/core/editor.js +1 -1
- package/rich-text/libs/core/emitter.js +1 -1
- package/rich-text/libs/core/logger.js +1 -1
- package/rich-text/libs/core/module.js +1 -1
- package/rich-text/libs/core/rich.js +1 -1
- package/rich-text/libs/core/selection.js +1 -1
- package/rich-text/libs/core/theme.js +1 -1
- package/rich-text/libs/core/utils/createRegistryWithFormats.js +1 -1
- package/rich-text/libs/core/utils/scrollRectIntoView.js +1 -1
- package/rich-text/libs/delta/AttributeMap.js +1 -1
- package/rich-text/libs/delta/Op.js +1 -1
- package/rich-text/libs/delta/OpIterator.js +1 -1
- package/rich-text/libs/delta/index.js +1 -1
- package/rich-text/libs/diff/index.js +1 -1
- package/rich-text/libs/formats/align.js +1 -1
- package/rich-text/libs/formats/background.js +1 -1
- package/rich-text/libs/formats/blockquote.js +1 -1
- package/rich-text/libs/formats/bold.js +1 -1
- package/rich-text/libs/formats/code.js +1 -1
- package/rich-text/libs/formats/color.js +1 -1
- package/rich-text/libs/formats/direction.js +1 -1
- package/rich-text/libs/formats/emoji.js +1 -1
- package/rich-text/libs/formats/font.js +1 -1
- package/rich-text/libs/formats/formula.js +1 -1
- package/rich-text/libs/formats/header.js +1 -1
- package/rich-text/libs/formats/hr.js +1 -1
- package/rich-text/libs/formats/image.js +1 -1
- package/rich-text/libs/formats/indent.js +1 -1
- package/rich-text/libs/formats/italic.js +1 -1
- package/rich-text/libs/formats/lineHeight.js +1 -1
- package/rich-text/libs/formats/link.js +1 -1
- package/rich-text/libs/formats/list.js +1 -1
- package/rich-text/libs/formats/script.js +1 -1
- package/rich-text/libs/formats/size.js +1 -1
- package/rich-text/libs/formats/strike.js +1 -1
- package/rich-text/libs/formats/table.js +1 -1
- package/rich-text/libs/formats/underline.js +1 -1
- package/rich-text/libs/formats/video.js +1 -1
- package/rich-text/libs/index.js +1 -1
- package/rich-text/libs/modules/clipboard.js +1 -1
- package/rich-text/libs/modules/history.js +1 -1
- package/rich-text/libs/modules/image-resize/index.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/Base.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/DisplaySize.js +1 -1
- package/rich-text/libs/modules/image-resize/modules/Resize.js +1 -1
- package/rich-text/libs/modules/image-resize/options.js +1 -1
- package/rich-text/libs/modules/input.js +1 -1
- package/rich-text/libs/modules/keyboard.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/index.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/normalizers/googleDocs.js +1 -1
- package/rich-text/libs/modules/normalize-external-html/normalizers/msWord.js +1 -1
- package/rich-text/libs/modules/table.js +1 -1
- package/rich-text/libs/modules/toolbar.js +1 -1
- package/rich-text/libs/modules/uiNode.js +1 -1
- package/rich-text/libs/modules/uploader.js +1 -1
- package/rich-text/libs/parchment/attributor/attributor.js +1 -1
- package/rich-text/libs/parchment/attributor/class.js +1 -1
- package/rich-text/libs/parchment/attributor/store.js +1 -1
- package/rich-text/libs/parchment/attributor/style.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/container.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/leaf.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/parent.js +1 -1
- package/rich-text/libs/parchment/blot/abstract/shadow.js +1 -1
- package/rich-text/libs/parchment/blot/block.js +1 -1
- package/rich-text/libs/parchment/blot/embed.js +1 -1
- package/rich-text/libs/parchment/blot/inline.js +1 -1
- package/rich-text/libs/parchment/blot/scroll.js +1 -1
- package/rich-text/libs/parchment/blot/text.js +1 -1
- package/rich-text/libs/parchment/collection/linked-list.js +1 -1
- package/rich-text/libs/parchment/error.js +1 -1
- package/rich-text/libs/parchment/index.js +1 -1
- package/rich-text/libs/parchment/registry.js +1 -1
- package/rich-text/libs/parchment/scope.js +1 -1
- package/rich-text/style/index.js +1 -1
- package/router-error/RouterError.js +1 -1
- package/router-error/constants.js +1 -1
- package/router-error/context.js +1 -1
- package/router-error/index.js +1 -1
- package/router-error/style/index.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/row-col/constants.js +1 -1
- package/row-col/context.js +1 -1
- package/row-col/index.js +1 -1
- package/row-col/style/index.js +1 -1
- package/segmented/Segmented.js +1 -1
- package/segmented/constants.js +1 -1
- package/segmented/context.js +1 -1
- package/segmented/index.js +1 -1
- package/segmented/style/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/OptionGroup.js +1 -1
- package/select/Select.js +1 -1
- package/select/constants.js +1 -1
- package/select/context.js +1 -1
- package/select/index.js +1 -1
- package/select/style/index.js +1 -1
- package/select/utils.js +1 -1
- package/select-view/Core.js +1 -1
- package/select-view/SelectView.js +1 -1
- package/select-view/constants.js +1 -1
- package/select-view/context.js +1 -1
- package/select-view/index.js +1 -1
- package/select-view/style/index.js +1 -1
- package/skeleton/Image.js +1 -1
- package/skeleton/Skeleton.js +1 -1
- package/skeleton/Text.js +1 -1
- package/skeleton/constants.js +1 -1
- package/skeleton/context.js +1 -1
- package/skeleton/index.js +1 -1
- package/skeleton/style/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/Dot.js +1 -1
- package/slider/Input.js +1 -1
- package/slider/Mark.js +1 -1
- package/slider/Slider.js +1 -1
- package/slider/Tick.js +1 -1
- package/slider/constants.js +1 -1
- package/slider/context.js +1 -1
- package/slider/hooks/useInterval.js +1 -1
- package/slider/hooks/useLegalValue.js +1 -1
- package/slider/index.js +1 -1
- package/slider/style/index.js +1 -1
- package/slider/utils.js +1 -1
- package/space/Space.js +1 -1
- package/space/constants.js +1 -1
- package/space/context.js +1 -1
- package/space/index.js +1 -1
- package/space/style/index.js +1 -1
- package/speech-synthesis/SpeechSynthesis.js +1 -1
- package/speech-synthesis/constants.js +1 -1
- package/speech-synthesis/context.js +1 -1
- package/speech-synthesis/index.js +1 -1
- package/speech-synthesis/style/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/Spin.js +1 -1
- package/spin/constants.js +1 -1
- package/spin/context.js +1 -1
- package/spin/index.js +1 -1
- package/spin/style/index.js +1 -1
- package/splitter/Bar.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/constants.js +1 -1
- package/splitter/context.js +1 -1
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/hooks/useResizable.js +1 -1
- package/splitter/hooks/useResize.js +1 -1
- package/splitter/hooks/useSizes.js +1 -1
- package/splitter/index.js +1 -1
- package/splitter/style/index.js +1 -1
- package/statistic/Statistic.js +1 -1
- package/statistic/constants.js +1 -1
- package/statistic/context.js +1 -1
- package/statistic/index.js +1 -1
- package/statistic/interface.js +1 -1
- package/statistic/style/index.js +1 -1
- package/steps/Item.js +1 -1
- package/steps/Steps.js +1 -1
- package/steps/constants.js +1 -1
- package/steps/context.js +1 -1
- package/steps/index.js +1 -1
- package/steps/style/index.js +1 -1
- package/style/constants.js +1 -1
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/suspense-fallback-test/style/index.js +1 -1
- package/switch/Switch.js +1 -1
- package/switch/constants.js +1 -1
- package/switch/context.js +1 -1
- package/switch/index.js +1 -1
- package/switch/style/index.js +1 -1
- package/table/ColGroup.js +1 -1
- package/table/Table.js +1 -1
- package/table/constants.js +1 -1
- package/table/context.js +1 -1
- package/table/hooks/useColumns.js +1 -1
- package/table/hooks/useComponent.js +1 -1
- package/table/hooks/useExpand.js +1 -1
- package/table/hooks/useRowSelection.js +1 -1
- package/table/hooks/useSorter.js +1 -1
- package/table/hooks/useStickyClassNames.js +1 -1
- package/table/hooks/useStickyOffsets.js +1 -1
- package/table/hooks/useThResizable.js +1 -1
- package/table/index.js +1 -1
- package/table/style/index.js +1 -1
- package/table/summary/Cell.js +1 -1
- package/table/summary/Row.js +1 -1
- package/table/summary/context.js +1 -1
- package/table/summary/index.js +1 -1
- package/table/tbody/DataRecordRenderer.js +1 -1
- package/table/tbody/Td.js +1 -1
- package/table/tbody/Tr.js +7 -2
- package/table/tbody/index.js +1 -1
- package/table/tfoot/index.js +1 -1
- package/table/th-resizable/index.js +1 -1
- package/table/th-resizable/style/index.js +1 -1
- package/table/thead/Column.js +1 -1
- package/table/thead/index.js +1 -1
- package/table/utils.js +1 -1
- package/tabs/TabContent.js +1 -1
- package/tabs/TabPane.js +1 -1
- package/tabs/Tabs.js +1 -1
- package/tabs/constants.js +1 -1
- package/tabs/context.js +1 -1
- package/tabs/hooks/useDomSize.js +1 -1
- package/tabs/hooks/useHeaderScroll.js +1 -1
- package/tabs/index.js +1 -1
- package/tabs/style/index.js +1 -1
- package/tabs/tab-header/DropdownIcon.js +1 -1
- package/tabs/tab-header/TabInk.js +1 -1
- package/tabs/tab-header/TabNavIcon.js +1 -1
- package/tabs/tab-header/TabTitle.js +1 -1
- package/tabs/tab-header/index.js +1 -1
- package/tabs/utils.js +1 -1
- package/tag/Tag.js +1 -1
- package/tag/constants.js +1 -1
- package/tag/context.js +1 -1
- package/tag/index.js +1 -1
- package/tag/style/index.js +1 -1
- package/tag/utils.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimeColumn.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/time-picker/TimePickerRange.js +1 -1
- package/time-picker/constants.js +1 -1
- package/time-picker/context.js +1 -1
- package/time-picker/index.js +1 -1
- package/time-picker/style/index.js +1 -1
- package/time-picker/utils.js +1 -1
- package/time-picker/withTimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/constants.js +1 -1
- package/timeline/context.js +1 -1
- package/timeline/index.js +1 -1
- package/timeline/style/index.js +1 -1
- package/timer/Timer.js +1 -1
- package/timer/constants.js +1 -1
- package/timer/context.js +1 -1
- package/timer/index.js +1 -1
- package/timer/style/index.js +1 -1
- package/toast/Toast.js +1 -1
- package/toast/constants.js +1 -1
- package/toast/context.js +1 -1
- package/toast/index.js +1 -1
- package/toast/style/index.js +1 -1
- package/tooltip/Tooltip.js +1 -1
- package/tooltip/constants.js +1 -1
- package/tooltip/context.js +1 -1
- package/tooltip/index.js +1 -1
- package/tooltip/style/index.js +1 -1
- package/tour/Tour.js +1 -1
- package/tour/constants.js +1 -1
- package/tour/context.js +1 -1
- package/tour/index.js +1 -1
- package/tour/style/index.js +1 -1
- package/tour/utils.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/Transfer.js +1 -1
- package/transfer/constants.js +1 -1
- package/transfer/context.js +1 -1
- package/transfer/index.js +1 -1
- package/transfer/style/index.js +1 -1
- package/transition/constants.js +1 -1
- package/transition/context.js +1 -1
- package/transition/index.js +1 -1
- package/transition/style/index.js +1 -1
- package/tree/Animation.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/constants.js +1 -1
- package/tree/context.js +1 -1
- package/tree/index.js +1 -1
- package/tree/style/index.js +1 -1
- package/tree/utils.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/TreeSelect.js +1 -1
- package/tree-select/constants.js +1 -1
- package/tree-select/context.js +1 -1
- package/tree-select/hooks/useKeyCache.js +1 -1
- package/tree-select/hooks/useStateValue.js +1 -1
- package/tree-select/hooks/useTreeData.js +1 -1
- package/tree-select/index.js +1 -1
- package/tree-select/style/index.js +1 -1
- package/tree-select/utils.js +1 -1
- package/trigger/Trigger.js +1 -1
- package/trigger/constants.js +1 -1
- package/trigger/context.js +1 -1
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +1 -1
- package/trigger/style/index.js +1 -1
- package/trigger/utils.js +1 -1
- package/typewriter/Typewriter.js +1 -1
- package/typewriter/constants.js +1 -1
- package/typewriter/context.js +1 -1
- package/typewriter/index.js +1 -1
- package/typewriter/style/index.js +1 -1
- package/typography/Base.js +1 -1
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +1 -1
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +1 -1
- package/typography/Text.js +1 -1
- package/typography/Title.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/constants.js +1 -1
- package/typography/context.js +1 -1
- package/typography/hooks/useCssEllipsis.js +1 -1
- package/typography/hooks/useEllipsis.js +1 -1
- package/typography/index.js +1 -1
- package/typography/style/index.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/upload/constants.js +1 -1
- package/upload/context.js +1 -1
- package/upload/index.js +1 -1
- package/upload/list/PictureItem.js +1 -1
- package/upload/list/TextItem.js +1 -1
- package/upload/list/UploadProgress.js +1 -1
- package/upload/list/index.js +1 -1
- package/upload/list/utils.js +1 -1
- package/upload/request.js +1 -1
- package/upload/style/index.js +1 -1
- package/upload/utils.js +1 -1
- package/utils/callOrReturn.js +1 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/createGlobalConfigFunction.js +1 -1
- package/utils/css.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/document.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/findRootElement.js +1 -1
- package/utils/findScrollParent.js +1 -1
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getScrollBarHeight.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.js +1 -1
- package/utils/object.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/responsiveObserve.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.js +1 -1
- package/utils/tinycolor.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tunnel.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/verification-code/constants.js +1 -1
- package/verification-code/context.js +1 -1
- package/verification-code/index.js +1 -1
- package/verification-code/style/index.js +1 -1
- package/version/index.js +6 -6
- package/virtual-list/Filler.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/virtual-list/constants.js +1 -1
- package/virtual-list/context.js +1 -1
- package/virtual-list/hooks/useCacheChildrenNodes.js +1 -1
- package/virtual-list/hooks/useComputeVirtualItemHeight.js +1 -1
- package/virtual-list/index.js +1 -1
- package/virtual-list/style/index.js +1 -1
- package/virtual-list/utils/algorithm.js +1 -1
- package/virtual-list/utils/item.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/watermark/constants.js +1 -1
- package/watermark/context.js +1 -1
- package/watermark/index.js +1 -1
- package/watermark/style/index.js +1 -1
- package/draw/core/actions/actionTextAutoResize.d.ts +0 -17
- package/draw/core/actions/actionToggleShapeSwitch.d.ts +0 -19
- package/draw/core/actions/register.js +0 -6
- package/draw/core/components/Actions.js +0 -493
- package/draw/core/components/canvases/index.js +0 -4
- package/draw/core/context/ui-appState.js +0 -7
- package/draw/core/data/ai/types.d.ts +0 -242
- package/draw/core/data/encryption.js +0 -4
- package/draw/core/data/index.js +0 -5
- package/draw/core/editor-jotai.d.ts +0 -7
- package/draw/core/editor-jotai.js +0 -11
- package/draw/core/errors.js +0 -22
- package/draw/core/fonts/index.js +0 -3
- package/draw/core/polyfill.js +0 -6
- package/draw/core/scene/index.js +0 -7
- package/draw/core/scene/normalize.js +0 -10
- /package/{app → animation}/style/index.css +0 -0
- /package/draw/{core/actions → actions}/index.d.ts +0 -0
- /package/draw/{core/actions → actions}/register.d.ts +0 -0
- /package/draw/{core/analytics.d.ts → analytics.d.ts} +0 -0
- /package/draw/{core/animation-frame-handler.d.ts → animation-frame-handler.d.ts} +0 -0
- /package/draw/{core/components → components}/ActiveConfirmDialog.d.ts +0 -0
- /package/draw/{core/components → components}/BraveMeasureTextError.d.ts +0 -0
- /package/draw/{core/components → components}/ButtonIconCycle.d.ts +0 -0
- /package/draw/{core/components → components}/ButtonSeparator.d.ts +0 -0
- /package/draw/{core/components → components}/ContextMenu.d.ts +0 -0
- /package/draw/{core/components → components}/Ellipsify.d.ts +0 -0
- /package/draw/{core/components → components}/ErrorDialog.d.ts +0 -0
- /package/draw/{core/components → components}/FixedSideContainer.d.ts +0 -0
- /package/draw/{core/components → components}/HandButton.d.ts +0 -0
- /package/draw/{core/components → components}/HelpDialog.d.ts +0 -0
- /package/draw/{core/components → components}/InlineIcon.d.ts +0 -0
- /package/draw/{core/components → components}/Island.d.ts +0 -0
- /package/draw/{core/components → components}/LaserPointerButton.d.ts +0 -0
- /package/draw/{core/components → components}/LibraryMenu.d.ts +0 -0
- /package/draw/{core/components → components}/LinkButton.d.ts +0 -0
- /package/draw/{core/components → components}/LockButton.d.ts +0 -0
- /package/draw/{core/components → components}/MagicButton.d.ts +0 -0
- /package/draw/{core/components → components}/PenModeButton.d.ts +0 -0
- /package/draw/{core/components → components}/Popover.d.ts +0 -0
- /package/draw/{core/components → components}/ProjectName.d.ts +0 -0
- /package/draw/{core/components → components}/SVGLayer.d.ts +0 -0
- /package/draw/{core/components → components}/ScrollableList.d.ts +0 -0
- /package/draw/{core/components → components}/SearchMenu.d.ts +0 -0
- /package/draw/{core/components → components}/Stack.d.ts +0 -0
- /package/draw/{core/components → components}/Toast.d.ts +0 -0
- /package/draw/{core/components → components}/Tooltip.d.ts +0 -0
- /package/draw/{core/components → components}/Trans.d.ts +0 -0
- /package/draw/{core/components → components}/canvases/index.d.ts +0 -0
- /package/draw/{core/components → components}/hoc/withInternalFallback.d.ts +0 -0
- /package/draw/{core/components → components}/main-menu/MenuItem.d.ts +0 -0
- /package/draw/{core/components → components}/main-menu/common.d.ts +0 -0
- /package/draw/{core/components → components}/overwrite-confirm/State.d.ts +0 -0
- /package/draw/{core/components → components}/overwrite-confirm/index.d.ts +0 -0
- /package/draw/{core/components → components}/stats/Collapsible.d.ts +0 -0
- /package/draw/{core/data → data}/encode.d.ts +0 -0
- /package/draw/{core/data → data}/encryption.d.ts +0 -0
- /package/draw/{core/data → data}/image.d.ts +0 -0
- /package/draw/{core/data → data}/index.d.ts +0 -0
- /package/draw/{core/deburr.d.ts → deburr.d.ts} +0 -0
- /package/draw/{core/eraser → eraser}/index.d.ts +0 -0
- /package/draw/{core/errors.d.ts → errors.d.ts} +0 -0
- /package/draw/{core/fonts → fonts}/DrawFontFace.d.ts +0 -0
- /package/draw/{core/fonts → fonts}/index.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useCallbackRefState.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useCopiedIndicator.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useCreatePortalContainer.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useOutsideClick.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useScrollPosition.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useStable.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useStableCallback.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useTextEditorFocus.d.ts +0 -0
- /package/draw/{core/hooks → hooks}/useTransition.d.ts +0 -0
- /package/draw/{core/laser-trails.d.ts → laser-trails.d.ts} +0 -0
- /package/draw/{core/lasso → lasso}/index.d.ts +0 -0
- /package/draw/{core/locales → locales}/percentages.json.js +0 -0
- /package/draw/{core/locales → locales}/zh-CN.json.js +0 -0
- /package/draw/{core/mermaid.d.ts → mermaid.d.ts} +0 -0
- /package/draw/{core/polyfill.d.ts → polyfill.d.ts} +0 -0
- /package/draw/{core/reactUtils.d.ts → reactUtils.d.ts} +0 -0
- /package/draw/{core/renderer → renderer}/animation.d.ts +0 -0
- /package/draw/{core/renderer → renderer}/interactiveScene.d.ts +0 -0
- /package/draw/{core/renderer → renderer}/renderNewElementScene.d.ts +0 -0
- /package/draw/{core/renderer → renderer}/roundRect.d.ts +0 -0
- /package/draw/{core/shortcut.d.ts → shortcut.d.ts} +0 -0
- /package/draw/{core/workers.d.ts → workers.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DrawElement } from '
|
|
3
|
-
import type { AppClassProperties, AppState } from '
|
|
2
|
+
import type { DrawElement } from '../element/types';
|
|
3
|
+
import type { AppClassProperties, AppState } from '../interface';
|
|
4
4
|
export declare const actionSelectAllElementsInFrame: {
|
|
5
5
|
name: "selectAllElementsInFrame";
|
|
6
6
|
label: string;
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "canvas";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly import("
|
|
11
|
-
elements: readonly import("
|
|
10
|
+
perform: (elements: readonly import("../element/types").OrderedDrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
12
12
|
appState: {
|
|
13
13
|
selectedElementIds: Record<string, true>;
|
|
14
14
|
contextMenu: {
|
|
@@ -20,17 +20,17 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: React.ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("
|
|
23
|
+
element: import("../element/types").NonDeletedDrawElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("
|
|
27
|
-
resizingElement: import("
|
|
28
|
-
multiElement: import("
|
|
29
|
-
selectionElement: import("
|
|
26
|
+
newElement: import("../element/types").NonDeleted<import("../element/types").DrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("../element/types").NonDeletedDrawElement | null;
|
|
28
|
+
multiElement: import("../element/types").NonDeleted<import("../element/types").DrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("../element/types").NonDeletedDrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("
|
|
32
|
-
suggestedBinding: import("
|
|
33
|
-
frameToHighlight: import("
|
|
31
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
32
|
+
suggestedBinding: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
33
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").DrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -38,13 +38,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
38
38
|
clip: boolean;
|
|
39
39
|
};
|
|
40
40
|
editingFrame: string | null;
|
|
41
|
-
elementsToHighlight: import("
|
|
42
|
-
editingTextElement: import("
|
|
41
|
+
elementsToHighlight: import("../element/types").NonDeleted<DrawElement>[] | null;
|
|
42
|
+
editingTextElement: import("../element/types").NonDeletedDrawElement | null;
|
|
43
43
|
activeTool: {
|
|
44
|
-
lastActiveTool: import("
|
|
44
|
+
lastActiveTool: import("../interface").ActiveTool | null;
|
|
45
45
|
locked: boolean;
|
|
46
46
|
fromSelection: boolean;
|
|
47
|
-
} & import("
|
|
47
|
+
} & import("../interface").ActiveTool;
|
|
48
48
|
preferredSelectionTool: {
|
|
49
49
|
type: "selection" | "lasso";
|
|
50
50
|
initialized: boolean;
|
|
@@ -62,13 +62,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
62
62
|
currentItemStrokeStyle: DrawElement["strokeStyle"];
|
|
63
63
|
currentItemRoughness: number;
|
|
64
64
|
currentItemOpacity: number;
|
|
65
|
-
currentItemFontFamily: import("
|
|
65
|
+
currentItemFontFamily: import("../element/types").FontFamilyValues;
|
|
66
66
|
currentItemFontSize: number;
|
|
67
|
-
currentItemTextAlign: import("
|
|
68
|
-
currentItemStartArrowhead: import("
|
|
69
|
-
currentItemEndArrowhead: import("
|
|
70
|
-
currentHoveredFontFamily: import("
|
|
71
|
-
currentItemRoundness: import("
|
|
67
|
+
currentItemTextAlign: import("../element/types").TextAlign;
|
|
68
|
+
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
69
|
+
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
70
|
+
currentHoveredFontFamily: import("../element/types").FontFamilyValues | null;
|
|
71
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
72
72
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
73
73
|
viewBackgroundColor: string;
|
|
74
74
|
scrollX: number;
|
|
@@ -78,12 +78,12 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
78
78
|
name: string | null;
|
|
79
79
|
isResizing: boolean;
|
|
80
80
|
isRotating: boolean;
|
|
81
|
-
zoom: import("
|
|
81
|
+
zoom: import("../interface").Zoom;
|
|
82
82
|
openMenu: "canvas" | null;
|
|
83
83
|
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
84
84
|
openSidebar: {
|
|
85
|
-
name: import("
|
|
86
|
-
tab?: import("
|
|
85
|
+
name: import("../interface").SidebarName;
|
|
86
|
+
tab?: import("../interface").SidebarTabName;
|
|
87
87
|
} | null;
|
|
88
88
|
openDialog: null | {
|
|
89
89
|
name: "imageExport" | "help" | "jsonExport";
|
|
@@ -96,7 +96,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
96
96
|
sourceElementId: DrawElement["id"];
|
|
97
97
|
};
|
|
98
98
|
defaultSidebarDockedPreference: boolean;
|
|
99
|
-
lastPointerDownWith: import("
|
|
99
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
100
100
|
hoveredElementIds: Readonly<{
|
|
101
101
|
[id: string]: true;
|
|
102
102
|
}>;
|
|
@@ -111,7 +111,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
111
111
|
duration?: number;
|
|
112
112
|
} | null;
|
|
113
113
|
zenModeEnabled: boolean;
|
|
114
|
-
theme: import("
|
|
114
|
+
theme: import("../element/types").Theme;
|
|
115
115
|
gridSize: number;
|
|
116
116
|
gridStep: number;
|
|
117
117
|
gridModeEnabled: boolean;
|
|
@@ -119,18 +119,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
119
119
|
selectedGroupIds: {
|
|
120
120
|
[groupId: string]: boolean;
|
|
121
121
|
};
|
|
122
|
-
editingGroupId: import("
|
|
122
|
+
editingGroupId: import("../element/types").GroupId | null;
|
|
123
123
|
width: number;
|
|
124
124
|
height: number;
|
|
125
125
|
offsetTop: number;
|
|
126
126
|
offsetLeft: number;
|
|
127
|
-
fileHandle: import("../
|
|
128
|
-
collaborators: Map<import("
|
|
127
|
+
fileHandle: import("../libs/browser-fs-access").FileSystemHandle | null;
|
|
128
|
+
collaborators: Map<import("../interface").SocketId, import("../interface").Collaborator>;
|
|
129
129
|
stats: {
|
|
130
130
|
open: boolean;
|
|
131
131
|
panels: number;
|
|
132
132
|
};
|
|
133
|
-
currentChartType: import("
|
|
133
|
+
currentChartType: import("../element/types").ChartType;
|
|
134
134
|
pasteDialog: {
|
|
135
135
|
shown: false;
|
|
136
136
|
data: null;
|
|
@@ -138,33 +138,33 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
138
138
|
shown: true;
|
|
139
139
|
data: import("../charts").Spreadsheet;
|
|
140
140
|
};
|
|
141
|
-
selectedLinearElement: import("
|
|
141
|
+
selectedLinearElement: import("../element").LinearElementEditor | null;
|
|
142
142
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
143
143
|
originSnapOffset: {
|
|
144
144
|
x: number;
|
|
145
145
|
y: number;
|
|
146
146
|
} | null;
|
|
147
147
|
objectsSnapModeEnabled: boolean;
|
|
148
|
-
followedBy: Set<import("
|
|
148
|
+
followedBy: Set<import("../interface").SocketId>;
|
|
149
149
|
isCropping: boolean;
|
|
150
150
|
croppingElementId: DrawElement["id"] | null;
|
|
151
151
|
searchMatches: Readonly<{
|
|
152
152
|
focusedId: DrawElement["id"] | null;
|
|
153
|
-
matches: readonly import("
|
|
153
|
+
matches: readonly import("../interface").SearchMatch[];
|
|
154
154
|
}> | null;
|
|
155
155
|
activeLockedId: string | null;
|
|
156
156
|
lockedMultiSelections: {
|
|
157
157
|
[groupId: string]: true;
|
|
158
158
|
};
|
|
159
|
-
bindMode: import("
|
|
159
|
+
bindMode: import("../element/types").BindMode;
|
|
160
160
|
};
|
|
161
161
|
captureUpdate: "IMMEDIATELY";
|
|
162
162
|
} | {
|
|
163
|
-
elements: readonly import("
|
|
163
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
164
164
|
appState: Readonly<AppState>;
|
|
165
165
|
captureUpdate: "EVENTUALLY";
|
|
166
166
|
};
|
|
167
|
-
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("
|
|
167
|
+
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("..").DrawProps, app: AppClassProperties) => boolean;
|
|
168
168
|
} & {
|
|
169
169
|
keyTest?: undefined;
|
|
170
170
|
};
|
|
@@ -174,8 +174,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
174
174
|
trackEvent: {
|
|
175
175
|
category: "history";
|
|
176
176
|
};
|
|
177
|
-
perform: (elements: readonly import("
|
|
178
|
-
elements: readonly import("
|
|
177
|
+
perform: (elements: readonly import("../element/types").OrderedDrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
178
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
179
179
|
appState: {
|
|
180
180
|
selectedElementIds: {
|
|
181
181
|
[x: string]: true;
|
|
@@ -189,17 +189,17 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
189
189
|
isLoading: boolean;
|
|
190
190
|
errorMessage: React.ReactNode;
|
|
191
191
|
activeEmbeddable: {
|
|
192
|
-
element: import("
|
|
192
|
+
element: import("../element/types").NonDeletedDrawElement;
|
|
193
193
|
state: "hover" | "active";
|
|
194
194
|
} | null;
|
|
195
|
-
newElement: import("
|
|
196
|
-
resizingElement: import("
|
|
197
|
-
multiElement: import("
|
|
198
|
-
selectionElement: import("
|
|
195
|
+
newElement: import("../element/types").NonDeleted<import("../element/types").DrawNonSelectionElement> | null;
|
|
196
|
+
resizingElement: import("../element/types").NonDeletedDrawElement | null;
|
|
197
|
+
multiElement: import("../element/types").NonDeleted<import("../element/types").DrawLinearElement> | null;
|
|
198
|
+
selectionElement: import("../element/types").NonDeletedDrawElement | null;
|
|
199
199
|
isBindingEnabled: boolean;
|
|
200
|
-
startBoundElement: import("
|
|
201
|
-
suggestedBinding: import("
|
|
202
|
-
frameToHighlight: import("
|
|
200
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
201
|
+
suggestedBinding: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
202
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").DrawFrameLikeElement> | null;
|
|
203
203
|
frameRendering: {
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
name: boolean;
|
|
@@ -207,13 +207,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
207
207
|
clip: boolean;
|
|
208
208
|
};
|
|
209
209
|
editingFrame: string | null;
|
|
210
|
-
elementsToHighlight: import("
|
|
211
|
-
editingTextElement: import("
|
|
210
|
+
elementsToHighlight: import("../element/types").NonDeleted<DrawElement>[] | null;
|
|
211
|
+
editingTextElement: import("../element/types").NonDeletedDrawElement | null;
|
|
212
212
|
activeTool: {
|
|
213
|
-
lastActiveTool: import("
|
|
213
|
+
lastActiveTool: import("../interface").ActiveTool | null;
|
|
214
214
|
locked: boolean;
|
|
215
215
|
fromSelection: boolean;
|
|
216
|
-
} & import("
|
|
216
|
+
} & import("../interface").ActiveTool;
|
|
217
217
|
preferredSelectionTool: {
|
|
218
218
|
type: "selection" | "lasso";
|
|
219
219
|
initialized: boolean;
|
|
@@ -231,13 +231,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
231
231
|
currentItemStrokeStyle: DrawElement["strokeStyle"];
|
|
232
232
|
currentItemRoughness: number;
|
|
233
233
|
currentItemOpacity: number;
|
|
234
|
-
currentItemFontFamily: import("
|
|
234
|
+
currentItemFontFamily: import("../element/types").FontFamilyValues;
|
|
235
235
|
currentItemFontSize: number;
|
|
236
|
-
currentItemTextAlign: import("
|
|
237
|
-
currentItemStartArrowhead: import("
|
|
238
|
-
currentItemEndArrowhead: import("
|
|
239
|
-
currentHoveredFontFamily: import("
|
|
240
|
-
currentItemRoundness: import("
|
|
236
|
+
currentItemTextAlign: import("../element/types").TextAlign;
|
|
237
|
+
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
238
|
+
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
239
|
+
currentHoveredFontFamily: import("../element/types").FontFamilyValues | null;
|
|
240
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
241
241
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
242
242
|
viewBackgroundColor: string;
|
|
243
243
|
scrollX: number;
|
|
@@ -247,12 +247,12 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
247
247
|
name: string | null;
|
|
248
248
|
isResizing: boolean;
|
|
249
249
|
isRotating: boolean;
|
|
250
|
-
zoom: import("
|
|
250
|
+
zoom: import("../interface").Zoom;
|
|
251
251
|
openMenu: "canvas" | null;
|
|
252
252
|
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
253
253
|
openSidebar: {
|
|
254
|
-
name: import("
|
|
255
|
-
tab?: import("
|
|
254
|
+
name: import("../interface").SidebarName;
|
|
255
|
+
tab?: import("../interface").SidebarTabName;
|
|
256
256
|
} | null;
|
|
257
257
|
openDialog: null | {
|
|
258
258
|
name: "imageExport" | "help" | "jsonExport";
|
|
@@ -265,7 +265,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
265
265
|
sourceElementId: DrawElement["id"];
|
|
266
266
|
};
|
|
267
267
|
defaultSidebarDockedPreference: boolean;
|
|
268
|
-
lastPointerDownWith: import("
|
|
268
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
269
269
|
hoveredElementIds: Readonly<{
|
|
270
270
|
[id: string]: true;
|
|
271
271
|
}>;
|
|
@@ -280,7 +280,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
280
280
|
duration?: number;
|
|
281
281
|
} | null;
|
|
282
282
|
zenModeEnabled: boolean;
|
|
283
|
-
theme: import("
|
|
283
|
+
theme: import("../element/types").Theme;
|
|
284
284
|
gridSize: number;
|
|
285
285
|
gridStep: number;
|
|
286
286
|
gridModeEnabled: boolean;
|
|
@@ -288,18 +288,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
288
288
|
selectedGroupIds: {
|
|
289
289
|
[groupId: string]: boolean;
|
|
290
290
|
};
|
|
291
|
-
editingGroupId: import("
|
|
291
|
+
editingGroupId: import("../element/types").GroupId | null;
|
|
292
292
|
width: number;
|
|
293
293
|
height: number;
|
|
294
294
|
offsetTop: number;
|
|
295
295
|
offsetLeft: number;
|
|
296
|
-
fileHandle: import("../
|
|
297
|
-
collaborators: Map<import("
|
|
296
|
+
fileHandle: import("../libs/browser-fs-access").FileSystemHandle | null;
|
|
297
|
+
collaborators: Map<import("../interface").SocketId, import("../interface").Collaborator>;
|
|
298
298
|
stats: {
|
|
299
299
|
open: boolean;
|
|
300
300
|
panels: number;
|
|
301
301
|
};
|
|
302
|
-
currentChartType: import("
|
|
302
|
+
currentChartType: import("../element/types").ChartType;
|
|
303
303
|
pasteDialog: {
|
|
304
304
|
shown: false;
|
|
305
305
|
data: null;
|
|
@@ -307,33 +307,33 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
307
|
shown: true;
|
|
308
308
|
data: import("../charts").Spreadsheet;
|
|
309
309
|
};
|
|
310
|
-
selectedLinearElement: import("
|
|
310
|
+
selectedLinearElement: import("../element").LinearElementEditor | null;
|
|
311
311
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
312
312
|
originSnapOffset: {
|
|
313
313
|
x: number;
|
|
314
314
|
y: number;
|
|
315
315
|
} | null;
|
|
316
316
|
objectsSnapModeEnabled: boolean;
|
|
317
|
-
followedBy: Set<import("
|
|
317
|
+
followedBy: Set<import("../interface").SocketId>;
|
|
318
318
|
isCropping: boolean;
|
|
319
319
|
croppingElementId: DrawElement["id"] | null;
|
|
320
320
|
searchMatches: Readonly<{
|
|
321
321
|
focusedId: DrawElement["id"] | null;
|
|
322
|
-
matches: readonly import("
|
|
322
|
+
matches: readonly import("../interface").SearchMatch[];
|
|
323
323
|
}> | null;
|
|
324
324
|
activeLockedId: string | null;
|
|
325
325
|
lockedMultiSelections: {
|
|
326
326
|
[groupId: string]: true;
|
|
327
327
|
};
|
|
328
|
-
bindMode: import("
|
|
328
|
+
bindMode: import("../element/types").BindMode;
|
|
329
329
|
};
|
|
330
330
|
captureUpdate: "IMMEDIATELY";
|
|
331
331
|
} | {
|
|
332
|
-
elements: readonly import("
|
|
332
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
333
333
|
appState: Readonly<AppState>;
|
|
334
334
|
captureUpdate: "EVENTUALLY";
|
|
335
335
|
};
|
|
336
|
-
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("
|
|
336
|
+
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("..").DrawProps, app: AppClassProperties) => boolean;
|
|
337
337
|
} & {
|
|
338
338
|
keyTest?: undefined;
|
|
339
339
|
};
|
|
@@ -344,8 +344,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
344
344
|
trackEvent: {
|
|
345
345
|
category: "canvas";
|
|
346
346
|
};
|
|
347
|
-
perform: (elements: readonly import("
|
|
348
|
-
elements: readonly import("
|
|
347
|
+
perform: (elements: readonly import("../element/types").OrderedDrawElement[], appState: Readonly<AppState>) => {
|
|
348
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
349
349
|
appState: {
|
|
350
350
|
frameRendering: {
|
|
351
351
|
enabled: boolean;
|
|
@@ -362,25 +362,25 @@ export declare const actionupdateFrameRendering: {
|
|
|
362
362
|
isLoading: boolean;
|
|
363
363
|
errorMessage: React.ReactNode;
|
|
364
364
|
activeEmbeddable: {
|
|
365
|
-
element: import("
|
|
365
|
+
element: import("../element/types").NonDeletedDrawElement;
|
|
366
366
|
state: "hover" | "active";
|
|
367
367
|
} | null;
|
|
368
|
-
newElement: import("
|
|
369
|
-
resizingElement: import("
|
|
370
|
-
multiElement: import("
|
|
371
|
-
selectionElement: import("
|
|
368
|
+
newElement: import("../element/types").NonDeleted<import("../element/types").DrawNonSelectionElement> | null;
|
|
369
|
+
resizingElement: import("../element/types").NonDeletedDrawElement | null;
|
|
370
|
+
multiElement: import("../element/types").NonDeleted<import("../element/types").DrawLinearElement> | null;
|
|
371
|
+
selectionElement: import("../element/types").NonDeletedDrawElement | null;
|
|
372
372
|
isBindingEnabled: boolean;
|
|
373
|
-
startBoundElement: import("
|
|
374
|
-
suggestedBinding: import("
|
|
375
|
-
frameToHighlight: import("
|
|
373
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
374
|
+
suggestedBinding: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
375
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").DrawFrameLikeElement> | null;
|
|
376
376
|
editingFrame: string | null;
|
|
377
|
-
elementsToHighlight: import("
|
|
378
|
-
editingTextElement: import("
|
|
377
|
+
elementsToHighlight: import("../element/types").NonDeleted<DrawElement>[] | null;
|
|
378
|
+
editingTextElement: import("../element/types").NonDeletedDrawElement | null;
|
|
379
379
|
activeTool: {
|
|
380
|
-
lastActiveTool: import("
|
|
380
|
+
lastActiveTool: import("../interface").ActiveTool | null;
|
|
381
381
|
locked: boolean;
|
|
382
382
|
fromSelection: boolean;
|
|
383
|
-
} & import("
|
|
383
|
+
} & import("../interface").ActiveTool;
|
|
384
384
|
preferredSelectionTool: {
|
|
385
385
|
type: "selection" | "lasso";
|
|
386
386
|
initialized: boolean;
|
|
@@ -398,13 +398,13 @@ export declare const actionupdateFrameRendering: {
|
|
|
398
398
|
currentItemStrokeStyle: DrawElement["strokeStyle"];
|
|
399
399
|
currentItemRoughness: number;
|
|
400
400
|
currentItemOpacity: number;
|
|
401
|
-
currentItemFontFamily: import("
|
|
401
|
+
currentItemFontFamily: import("../element/types").FontFamilyValues;
|
|
402
402
|
currentItemFontSize: number;
|
|
403
|
-
currentItemTextAlign: import("
|
|
404
|
-
currentItemStartArrowhead: import("
|
|
405
|
-
currentItemEndArrowhead: import("
|
|
406
|
-
currentHoveredFontFamily: import("
|
|
407
|
-
currentItemRoundness: import("
|
|
403
|
+
currentItemTextAlign: import("../element/types").TextAlign;
|
|
404
|
+
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
405
|
+
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
406
|
+
currentHoveredFontFamily: import("../element/types").FontFamilyValues | null;
|
|
407
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
408
408
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
409
409
|
viewBackgroundColor: string;
|
|
410
410
|
scrollX: number;
|
|
@@ -414,12 +414,12 @@ export declare const actionupdateFrameRendering: {
|
|
|
414
414
|
name: string | null;
|
|
415
415
|
isResizing: boolean;
|
|
416
416
|
isRotating: boolean;
|
|
417
|
-
zoom: import("
|
|
417
|
+
zoom: import("../interface").Zoom;
|
|
418
418
|
openMenu: "canvas" | null;
|
|
419
419
|
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
420
420
|
openSidebar: {
|
|
421
|
-
name: import("
|
|
422
|
-
tab?: import("
|
|
421
|
+
name: import("../interface").SidebarName;
|
|
422
|
+
tab?: import("../interface").SidebarTabName;
|
|
423
423
|
} | null;
|
|
424
424
|
openDialog: null | {
|
|
425
425
|
name: "imageExport" | "help" | "jsonExport";
|
|
@@ -432,7 +432,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
432
432
|
sourceElementId: DrawElement["id"];
|
|
433
433
|
};
|
|
434
434
|
defaultSidebarDockedPreference: boolean;
|
|
435
|
-
lastPointerDownWith: import("
|
|
435
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
436
436
|
selectedElementIds: Readonly<{
|
|
437
437
|
[id: string]: true;
|
|
438
438
|
}>;
|
|
@@ -450,7 +450,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
450
450
|
duration?: number;
|
|
451
451
|
} | null;
|
|
452
452
|
zenModeEnabled: boolean;
|
|
453
|
-
theme: import("
|
|
453
|
+
theme: import("../element/types").Theme;
|
|
454
454
|
gridSize: number;
|
|
455
455
|
gridStep: number;
|
|
456
456
|
gridModeEnabled: boolean;
|
|
@@ -458,18 +458,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
458
458
|
selectedGroupIds: {
|
|
459
459
|
[groupId: string]: boolean;
|
|
460
460
|
};
|
|
461
|
-
editingGroupId: import("
|
|
461
|
+
editingGroupId: import("../element/types").GroupId | null;
|
|
462
462
|
width: number;
|
|
463
463
|
height: number;
|
|
464
464
|
offsetTop: number;
|
|
465
465
|
offsetLeft: number;
|
|
466
|
-
fileHandle: import("../
|
|
467
|
-
collaborators: Map<import("
|
|
466
|
+
fileHandle: import("../libs/browser-fs-access").FileSystemHandle | null;
|
|
467
|
+
collaborators: Map<import("../interface").SocketId, import("../interface").Collaborator>;
|
|
468
468
|
stats: {
|
|
469
469
|
open: boolean;
|
|
470
470
|
panels: number;
|
|
471
471
|
};
|
|
472
|
-
currentChartType: import("
|
|
472
|
+
currentChartType: import("../element/types").ChartType;
|
|
473
473
|
pasteDialog: {
|
|
474
474
|
shown: false;
|
|
475
475
|
data: null;
|
|
@@ -477,25 +477,25 @@ export declare const actionupdateFrameRendering: {
|
|
|
477
477
|
shown: true;
|
|
478
478
|
data: import("../charts").Spreadsheet;
|
|
479
479
|
};
|
|
480
|
-
selectedLinearElement: import("
|
|
480
|
+
selectedLinearElement: import("../element").LinearElementEditor | null;
|
|
481
481
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
482
482
|
originSnapOffset: {
|
|
483
483
|
x: number;
|
|
484
484
|
y: number;
|
|
485
485
|
} | null;
|
|
486
486
|
objectsSnapModeEnabled: boolean;
|
|
487
|
-
followedBy: Set<import("
|
|
487
|
+
followedBy: Set<import("../interface").SocketId>;
|
|
488
488
|
isCropping: boolean;
|
|
489
489
|
croppingElementId: DrawElement["id"] | null;
|
|
490
490
|
searchMatches: Readonly<{
|
|
491
491
|
focusedId: DrawElement["id"] | null;
|
|
492
|
-
matches: readonly import("
|
|
492
|
+
matches: readonly import("../interface").SearchMatch[];
|
|
493
493
|
}> | null;
|
|
494
494
|
activeLockedId: string | null;
|
|
495
495
|
lockedMultiSelections: {
|
|
496
496
|
[groupId: string]: true;
|
|
497
497
|
};
|
|
498
|
-
bindMode: import("
|
|
498
|
+
bindMode: import("../element/types").BindMode;
|
|
499
499
|
};
|
|
500
500
|
captureUpdate: "EVENTUALLY";
|
|
501
501
|
};
|
|
@@ -511,14 +511,14 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
511
511
|
};
|
|
512
512
|
icon: React.FunctionComponentElement<import("@unicom-cloud/icons/IconProps").default & React.RefAttributes<unknown>>;
|
|
513
513
|
viewMode: false;
|
|
514
|
-
perform: (elements: readonly import("
|
|
515
|
-
elements: readonly import("
|
|
514
|
+
perform: (elements: readonly import("../element/types").OrderedDrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
515
|
+
elements: readonly import("../element/types").OrderedDrawElement[];
|
|
516
516
|
appState: {
|
|
517
517
|
activeTool: {
|
|
518
|
-
lastActiveTool: import("
|
|
518
|
+
lastActiveTool: import("../interface").ActiveTool | null;
|
|
519
519
|
locked: boolean;
|
|
520
520
|
fromSelection: boolean;
|
|
521
|
-
} & import("
|
|
521
|
+
} & import("../interface").ActiveTool;
|
|
522
522
|
contextMenu: {
|
|
523
523
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
524
524
|
top: number;
|
|
@@ -528,17 +528,17 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
528
528
|
isLoading: boolean;
|
|
529
529
|
errorMessage: React.ReactNode;
|
|
530
530
|
activeEmbeddable: {
|
|
531
|
-
element: import("
|
|
531
|
+
element: import("../element/types").NonDeletedDrawElement;
|
|
532
532
|
state: "hover" | "active";
|
|
533
533
|
} | null;
|
|
534
|
-
newElement: import("
|
|
535
|
-
resizingElement: import("
|
|
536
|
-
multiElement: import("
|
|
537
|
-
selectionElement: import("
|
|
534
|
+
newElement: import("../element/types").NonDeleted<import("../element/types").DrawNonSelectionElement> | null;
|
|
535
|
+
resizingElement: import("../element/types").NonDeletedDrawElement | null;
|
|
536
|
+
multiElement: import("../element/types").NonDeleted<import("../element/types").DrawLinearElement> | null;
|
|
537
|
+
selectionElement: import("../element/types").NonDeletedDrawElement | null;
|
|
538
538
|
isBindingEnabled: boolean;
|
|
539
|
-
startBoundElement: import("
|
|
540
|
-
suggestedBinding: import("
|
|
541
|
-
frameToHighlight: import("
|
|
539
|
+
startBoundElement: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
540
|
+
suggestedBinding: import("../element/types").NonDeleted<import("../element/types").DrawBindableElement> | null;
|
|
541
|
+
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").DrawFrameLikeElement> | null;
|
|
542
542
|
frameRendering: {
|
|
543
543
|
enabled: boolean;
|
|
544
544
|
name: boolean;
|
|
@@ -546,8 +546,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
546
546
|
clip: boolean;
|
|
547
547
|
};
|
|
548
548
|
editingFrame: string | null;
|
|
549
|
-
elementsToHighlight: import("
|
|
550
|
-
editingTextElement: import("
|
|
549
|
+
elementsToHighlight: import("../element/types").NonDeleted<DrawElement>[] | null;
|
|
550
|
+
editingTextElement: import("../element/types").NonDeletedDrawElement | null;
|
|
551
551
|
preferredSelectionTool: {
|
|
552
552
|
type: "selection" | "lasso";
|
|
553
553
|
initialized: boolean;
|
|
@@ -565,13 +565,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
565
565
|
currentItemStrokeStyle: DrawElement["strokeStyle"];
|
|
566
566
|
currentItemRoughness: number;
|
|
567
567
|
currentItemOpacity: number;
|
|
568
|
-
currentItemFontFamily: import("
|
|
568
|
+
currentItemFontFamily: import("../element/types").FontFamilyValues;
|
|
569
569
|
currentItemFontSize: number;
|
|
570
|
-
currentItemTextAlign: import("
|
|
571
|
-
currentItemStartArrowhead: import("
|
|
572
|
-
currentItemEndArrowhead: import("
|
|
573
|
-
currentHoveredFontFamily: import("
|
|
574
|
-
currentItemRoundness: import("
|
|
570
|
+
currentItemTextAlign: import("../element/types").TextAlign;
|
|
571
|
+
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
572
|
+
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
573
|
+
currentHoveredFontFamily: import("../element/types").FontFamilyValues | null;
|
|
574
|
+
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
575
575
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
576
576
|
viewBackgroundColor: string;
|
|
577
577
|
scrollX: number;
|
|
@@ -581,12 +581,12 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
581
581
|
name: string | null;
|
|
582
582
|
isResizing: boolean;
|
|
583
583
|
isRotating: boolean;
|
|
584
|
-
zoom: import("
|
|
584
|
+
zoom: import("../interface").Zoom;
|
|
585
585
|
openMenu: "canvas" | null;
|
|
586
586
|
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
587
587
|
openSidebar: {
|
|
588
|
-
name: import("
|
|
589
|
-
tab?: import("
|
|
588
|
+
name: import("../interface").SidebarName;
|
|
589
|
+
tab?: import("../interface").SidebarTabName;
|
|
590
590
|
} | null;
|
|
591
591
|
openDialog: null | {
|
|
592
592
|
name: "imageExport" | "help" | "jsonExport";
|
|
@@ -599,7 +599,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
599
599
|
sourceElementId: DrawElement["id"];
|
|
600
600
|
};
|
|
601
601
|
defaultSidebarDockedPreference: boolean;
|
|
602
|
-
lastPointerDownWith: import("
|
|
602
|
+
lastPointerDownWith: import("../element/types").PointerType;
|
|
603
603
|
selectedElementIds: Readonly<{
|
|
604
604
|
[id: string]: true;
|
|
605
605
|
}>;
|
|
@@ -617,7 +617,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
617
617
|
duration?: number;
|
|
618
618
|
} | null;
|
|
619
619
|
zenModeEnabled: boolean;
|
|
620
|
-
theme: import("
|
|
620
|
+
theme: import("../element/types").Theme;
|
|
621
621
|
gridSize: number;
|
|
622
622
|
gridStep: number;
|
|
623
623
|
gridModeEnabled: boolean;
|
|
@@ -625,18 +625,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
625
625
|
selectedGroupIds: {
|
|
626
626
|
[groupId: string]: boolean;
|
|
627
627
|
};
|
|
628
|
-
editingGroupId: import("
|
|
628
|
+
editingGroupId: import("../element/types").GroupId | null;
|
|
629
629
|
width: number;
|
|
630
630
|
height: number;
|
|
631
631
|
offsetTop: number;
|
|
632
632
|
offsetLeft: number;
|
|
633
|
-
fileHandle: import("../
|
|
634
|
-
collaborators: Map<import("
|
|
633
|
+
fileHandle: import("../libs/browser-fs-access").FileSystemHandle | null;
|
|
634
|
+
collaborators: Map<import("../interface").SocketId, import("../interface").Collaborator>;
|
|
635
635
|
stats: {
|
|
636
636
|
open: boolean;
|
|
637
637
|
panels: number;
|
|
638
638
|
};
|
|
639
|
-
currentChartType: import("
|
|
639
|
+
currentChartType: import("../element/types").ChartType;
|
|
640
640
|
pasteDialog: {
|
|
641
641
|
shown: false;
|
|
642
642
|
data: null;
|
|
@@ -644,25 +644,25 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
644
644
|
shown: true;
|
|
645
645
|
data: import("../charts").Spreadsheet;
|
|
646
646
|
};
|
|
647
|
-
selectedLinearElement: import("
|
|
647
|
+
selectedLinearElement: import("../element").LinearElementEditor | null;
|
|
648
648
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
649
649
|
originSnapOffset: {
|
|
650
650
|
x: number;
|
|
651
651
|
y: number;
|
|
652
652
|
} | null;
|
|
653
653
|
objectsSnapModeEnabled: boolean;
|
|
654
|
-
followedBy: Set<import("
|
|
654
|
+
followedBy: Set<import("../interface").SocketId>;
|
|
655
655
|
isCropping: boolean;
|
|
656
656
|
croppingElementId: DrawElement["id"] | null;
|
|
657
657
|
searchMatches: Readonly<{
|
|
658
658
|
focusedId: DrawElement["id"] | null;
|
|
659
|
-
matches: readonly import("
|
|
659
|
+
matches: readonly import("../interface").SearchMatch[];
|
|
660
660
|
}> | null;
|
|
661
661
|
activeLockedId: string | null;
|
|
662
662
|
lockedMultiSelections: {
|
|
663
663
|
[groupId: string]: true;
|
|
664
664
|
};
|
|
665
|
-
bindMode: import("
|
|
665
|
+
bindMode: import("../element/types").BindMode;
|
|
666
666
|
};
|
|
667
667
|
captureUpdate: "EVENTUALLY";
|
|
668
668
|
};
|
|
@@ -676,73 +676,73 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
676
676
|
trackEvent: {
|
|
677
677
|
category: "element";
|
|
678
678
|
};
|
|
679
|
-
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("
|
|
680
|
-
perform: (elements: readonly import("
|
|
679
|
+
predicate: (elements: readonly DrawElement[], appState: AppState, _: import("..").DrawProps, app: AppClassProperties) => boolean;
|
|
680
|
+
perform: (elements: readonly import("../element/types").OrderedDrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
681
681
|
elements: ((Readonly<{
|
|
682
682
|
id: string;
|
|
683
683
|
x: number;
|
|
684
684
|
y: number;
|
|
685
685
|
strokeColor: string;
|
|
686
686
|
backgroundColor: string;
|
|
687
|
-
fillStyle: import("
|
|
687
|
+
fillStyle: import("../element/types").FillStyle;
|
|
688
688
|
strokeWidth: number;
|
|
689
|
-
strokeStyle: import("
|
|
689
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
690
690
|
roundness: null | {
|
|
691
|
-
type: import("
|
|
691
|
+
type: import("../element/types").RoundnessType;
|
|
692
692
|
value?: number;
|
|
693
693
|
};
|
|
694
694
|
roughness: number;
|
|
695
695
|
opacity: number;
|
|
696
696
|
width: number;
|
|
697
697
|
height: number;
|
|
698
|
-
angle: import("
|
|
698
|
+
angle: import("../libs/math").Radians;
|
|
699
699
|
seed: number;
|
|
700
700
|
version: number;
|
|
701
701
|
versionNonce: number;
|
|
702
|
-
index: import("
|
|
702
|
+
index: import("../element/types").FractionalIndex | null;
|
|
703
703
|
isDeleted: boolean;
|
|
704
|
-
groupIds: readonly import("
|
|
704
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
705
705
|
frameId: string | null;
|
|
706
|
-
boundElements: readonly import("
|
|
706
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
707
707
|
updated: number;
|
|
708
708
|
link: string | null;
|
|
709
709
|
locked: boolean;
|
|
710
710
|
customData?: Record<string, any>;
|
|
711
711
|
}> & Readonly<{
|
|
712
712
|
type: "line" | "arrow";
|
|
713
|
-
points: readonly import("
|
|
714
|
-
startBinding: import("
|
|
715
|
-
endBinding: import("
|
|
716
|
-
startArrowhead: import("
|
|
717
|
-
endArrowhead: import("
|
|
713
|
+
points: readonly import("../libs/math").LocalPoint[];
|
|
714
|
+
startBinding: import("../element/types").FixedPointBinding | null;
|
|
715
|
+
endBinding: import("../element/types").FixedPointBinding | null;
|
|
716
|
+
startArrowhead: import("../element/types").Arrowhead | null;
|
|
717
|
+
endArrowhead: import("../element/types").Arrowhead | null;
|
|
718
718
|
}> & {
|
|
719
|
-
index: import("
|
|
719
|
+
index: import("../element/types").FractionalIndex;
|
|
720
720
|
}) | (Readonly<{
|
|
721
721
|
id: string;
|
|
722
722
|
x: number;
|
|
723
723
|
y: number;
|
|
724
724
|
strokeColor: string;
|
|
725
725
|
backgroundColor: string;
|
|
726
|
-
fillStyle: import("
|
|
726
|
+
fillStyle: import("../element/types").FillStyle;
|
|
727
727
|
strokeWidth: number;
|
|
728
|
-
strokeStyle: import("
|
|
728
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
729
729
|
roundness: null | {
|
|
730
|
-
type: import("
|
|
730
|
+
type: import("../element/types").RoundnessType;
|
|
731
731
|
value?: number;
|
|
732
732
|
};
|
|
733
733
|
roughness: number;
|
|
734
734
|
opacity: number;
|
|
735
735
|
width: number;
|
|
736
736
|
height: number;
|
|
737
|
-
angle: import("
|
|
737
|
+
angle: import("../libs/math").Radians;
|
|
738
738
|
seed: number;
|
|
739
739
|
version: number;
|
|
740
740
|
versionNonce: number;
|
|
741
|
-
index: import("
|
|
741
|
+
index: import("../element/types").FractionalIndex | null;
|
|
742
742
|
isDeleted: boolean;
|
|
743
|
-
groupIds: readonly import("
|
|
743
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
744
744
|
frameId: string | null;
|
|
745
|
-
boundElements: readonly import("
|
|
745
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
746
746
|
updated: number;
|
|
747
747
|
link: string | null;
|
|
748
748
|
locked: boolean;
|
|
@@ -750,33 +750,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
750
750
|
}> & {
|
|
751
751
|
type: "selection";
|
|
752
752
|
} & {
|
|
753
|
-
index: import("
|
|
753
|
+
index: import("../element/types").FractionalIndex;
|
|
754
754
|
}) | (Readonly<{
|
|
755
755
|
id: string;
|
|
756
756
|
x: number;
|
|
757
757
|
y: number;
|
|
758
758
|
strokeColor: string;
|
|
759
759
|
backgroundColor: string;
|
|
760
|
-
fillStyle: import("
|
|
760
|
+
fillStyle: import("../element/types").FillStyle;
|
|
761
761
|
strokeWidth: number;
|
|
762
|
-
strokeStyle: import("
|
|
762
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
763
763
|
roundness: null | {
|
|
764
|
-
type: import("
|
|
764
|
+
type: import("../element/types").RoundnessType;
|
|
765
765
|
value?: number;
|
|
766
766
|
};
|
|
767
767
|
roughness: number;
|
|
768
768
|
opacity: number;
|
|
769
769
|
width: number;
|
|
770
770
|
height: number;
|
|
771
|
-
angle: import("
|
|
771
|
+
angle: import("../libs/math").Radians;
|
|
772
772
|
seed: number;
|
|
773
773
|
version: number;
|
|
774
774
|
versionNonce: number;
|
|
775
|
-
index: import("
|
|
775
|
+
index: import("../element/types").FractionalIndex | null;
|
|
776
776
|
isDeleted: boolean;
|
|
777
|
-
groupIds: readonly import("
|
|
777
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
778
778
|
frameId: string | null;
|
|
779
|
-
boundElements: readonly import("
|
|
779
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
780
780
|
updated: number;
|
|
781
781
|
link: string | null;
|
|
782
782
|
locked: boolean;
|
|
@@ -784,33 +784,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
784
784
|
}> & {
|
|
785
785
|
type: "rectangle";
|
|
786
786
|
} & {
|
|
787
|
-
index: import("
|
|
787
|
+
index: import("../element/types").FractionalIndex;
|
|
788
788
|
}) | (Readonly<{
|
|
789
789
|
id: string;
|
|
790
790
|
x: number;
|
|
791
791
|
y: number;
|
|
792
792
|
strokeColor: string;
|
|
793
793
|
backgroundColor: string;
|
|
794
|
-
fillStyle: import("
|
|
794
|
+
fillStyle: import("../element/types").FillStyle;
|
|
795
795
|
strokeWidth: number;
|
|
796
|
-
strokeStyle: import("
|
|
796
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
797
797
|
roundness: null | {
|
|
798
|
-
type: import("
|
|
798
|
+
type: import("../element/types").RoundnessType;
|
|
799
799
|
value?: number;
|
|
800
800
|
};
|
|
801
801
|
roughness: number;
|
|
802
802
|
opacity: number;
|
|
803
803
|
width: number;
|
|
804
804
|
height: number;
|
|
805
|
-
angle: import("
|
|
805
|
+
angle: import("../libs/math").Radians;
|
|
806
806
|
seed: number;
|
|
807
807
|
version: number;
|
|
808
808
|
versionNonce: number;
|
|
809
|
-
index: import("
|
|
809
|
+
index: import("../element/types").FractionalIndex | null;
|
|
810
810
|
isDeleted: boolean;
|
|
811
|
-
groupIds: readonly import("
|
|
811
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
812
812
|
frameId: string | null;
|
|
813
|
-
boundElements: readonly import("
|
|
813
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
814
814
|
updated: number;
|
|
815
815
|
link: string | null;
|
|
816
816
|
locked: boolean;
|
|
@@ -818,33 +818,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
818
818
|
}> & {
|
|
819
819
|
type: "diamond";
|
|
820
820
|
} & {
|
|
821
|
-
index: import("
|
|
821
|
+
index: import("../element/types").FractionalIndex;
|
|
822
822
|
}) | (Readonly<{
|
|
823
823
|
id: string;
|
|
824
824
|
x: number;
|
|
825
825
|
y: number;
|
|
826
826
|
strokeColor: string;
|
|
827
827
|
backgroundColor: string;
|
|
828
|
-
fillStyle: import("
|
|
828
|
+
fillStyle: import("../element/types").FillStyle;
|
|
829
829
|
strokeWidth: number;
|
|
830
|
-
strokeStyle: import("
|
|
830
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
831
831
|
roundness: null | {
|
|
832
|
-
type: import("
|
|
832
|
+
type: import("../element/types").RoundnessType;
|
|
833
833
|
value?: number;
|
|
834
834
|
};
|
|
835
835
|
roughness: number;
|
|
836
836
|
opacity: number;
|
|
837
837
|
width: number;
|
|
838
838
|
height: number;
|
|
839
|
-
angle: import("
|
|
839
|
+
angle: import("../libs/math").Radians;
|
|
840
840
|
seed: number;
|
|
841
841
|
version: number;
|
|
842
842
|
versionNonce: number;
|
|
843
|
-
index: import("
|
|
843
|
+
index: import("../element/types").FractionalIndex | null;
|
|
844
844
|
isDeleted: boolean;
|
|
845
|
-
groupIds: readonly import("
|
|
845
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
846
846
|
frameId: string | null;
|
|
847
|
-
boundElements: readonly import("
|
|
847
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
848
848
|
updated: number;
|
|
849
849
|
link: string | null;
|
|
850
850
|
locked: boolean;
|
|
@@ -852,33 +852,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
852
852
|
}> & {
|
|
853
853
|
type: "ellipse";
|
|
854
854
|
} & {
|
|
855
|
-
index: import("
|
|
855
|
+
index: import("../element/types").FractionalIndex;
|
|
856
856
|
}) | (Readonly<{
|
|
857
857
|
id: string;
|
|
858
858
|
x: number;
|
|
859
859
|
y: number;
|
|
860
860
|
strokeColor: string;
|
|
861
861
|
backgroundColor: string;
|
|
862
|
-
fillStyle: import("
|
|
862
|
+
fillStyle: import("../element/types").FillStyle;
|
|
863
863
|
strokeWidth: number;
|
|
864
|
-
strokeStyle: import("
|
|
864
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
865
865
|
roundness: null | {
|
|
866
|
-
type: import("
|
|
866
|
+
type: import("../element/types").RoundnessType;
|
|
867
867
|
value?: number;
|
|
868
868
|
};
|
|
869
869
|
roughness: number;
|
|
870
870
|
opacity: number;
|
|
871
871
|
width: number;
|
|
872
872
|
height: number;
|
|
873
|
-
angle: import("
|
|
873
|
+
angle: import("../libs/math").Radians;
|
|
874
874
|
seed: number;
|
|
875
875
|
version: number;
|
|
876
876
|
versionNonce: number;
|
|
877
|
-
index: import("
|
|
877
|
+
index: import("../element/types").FractionalIndex | null;
|
|
878
878
|
isDeleted: boolean;
|
|
879
|
-
groupIds: readonly import("
|
|
879
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
880
880
|
frameId: string | null;
|
|
881
|
-
boundElements: readonly import("
|
|
881
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
882
882
|
updated: number;
|
|
883
883
|
link: string | null;
|
|
884
884
|
locked: boolean;
|
|
@@ -886,33 +886,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
886
886
|
}> & Readonly<{
|
|
887
887
|
type: "embeddable";
|
|
888
888
|
}> & {
|
|
889
|
-
index: import("
|
|
889
|
+
index: import("../element/types").FractionalIndex;
|
|
890
890
|
}) | (Readonly<{
|
|
891
891
|
id: string;
|
|
892
892
|
x: number;
|
|
893
893
|
y: number;
|
|
894
894
|
strokeColor: string;
|
|
895
895
|
backgroundColor: string;
|
|
896
|
-
fillStyle: import("
|
|
896
|
+
fillStyle: import("../element/types").FillStyle;
|
|
897
897
|
strokeWidth: number;
|
|
898
|
-
strokeStyle: import("
|
|
898
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
899
899
|
roundness: null | {
|
|
900
|
-
type: import("
|
|
900
|
+
type: import("../element/types").RoundnessType;
|
|
901
901
|
value?: number;
|
|
902
902
|
};
|
|
903
903
|
roughness: number;
|
|
904
904
|
opacity: number;
|
|
905
905
|
width: number;
|
|
906
906
|
height: number;
|
|
907
|
-
angle: import("
|
|
907
|
+
angle: import("../libs/math").Radians;
|
|
908
908
|
seed: number;
|
|
909
909
|
version: number;
|
|
910
910
|
versionNonce: number;
|
|
911
|
-
index: import("
|
|
911
|
+
index: import("../element/types").FractionalIndex | null;
|
|
912
912
|
isDeleted: boolean;
|
|
913
|
-
groupIds: readonly import("
|
|
913
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
914
914
|
frameId: string | null;
|
|
915
|
-
boundElements: readonly import("
|
|
915
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
916
916
|
updated: number;
|
|
917
917
|
link: string | null;
|
|
918
918
|
locked: boolean;
|
|
@@ -920,74 +920,74 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
920
920
|
}> & Readonly<{
|
|
921
921
|
type: "iframe";
|
|
922
922
|
customData?: {
|
|
923
|
-
generationData?: import("
|
|
923
|
+
generationData?: import("../element/types").MagicGenerationData;
|
|
924
924
|
};
|
|
925
925
|
}> & {
|
|
926
|
-
index: import("
|
|
926
|
+
index: import("../element/types").FractionalIndex;
|
|
927
927
|
}) | (Readonly<{
|
|
928
928
|
id: string;
|
|
929
929
|
x: number;
|
|
930
930
|
y: number;
|
|
931
931
|
strokeColor: string;
|
|
932
932
|
backgroundColor: string;
|
|
933
|
-
fillStyle: import("
|
|
933
|
+
fillStyle: import("../element/types").FillStyle;
|
|
934
934
|
strokeWidth: number;
|
|
935
|
-
strokeStyle: import("
|
|
935
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
936
936
|
roundness: null | {
|
|
937
|
-
type: import("
|
|
937
|
+
type: import("../element/types").RoundnessType;
|
|
938
938
|
value?: number;
|
|
939
939
|
};
|
|
940
940
|
roughness: number;
|
|
941
941
|
opacity: number;
|
|
942
942
|
width: number;
|
|
943
943
|
height: number;
|
|
944
|
-
angle: import("
|
|
944
|
+
angle: import("../libs/math").Radians;
|
|
945
945
|
seed: number;
|
|
946
946
|
version: number;
|
|
947
947
|
versionNonce: number;
|
|
948
|
-
index: import("
|
|
948
|
+
index: import("../element/types").FractionalIndex | null;
|
|
949
949
|
isDeleted: boolean;
|
|
950
|
-
groupIds: readonly import("
|
|
950
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
951
951
|
frameId: string | null;
|
|
952
|
-
boundElements: readonly import("
|
|
952
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
953
953
|
updated: number;
|
|
954
954
|
link: string | null;
|
|
955
955
|
locked: boolean;
|
|
956
956
|
customData?: Record<string, any>;
|
|
957
957
|
}> & Readonly<{
|
|
958
958
|
type: "image";
|
|
959
|
-
fileId: import("
|
|
959
|
+
fileId: import("../element/types").FileId | null;
|
|
960
960
|
status: "pending" | "saved" | "error";
|
|
961
961
|
scale: [number, number];
|
|
962
|
-
crop: import("
|
|
962
|
+
crop: import("../element/types").ImageCrop | null;
|
|
963
963
|
}> & {
|
|
964
|
-
index: import("
|
|
964
|
+
index: import("../element/types").FractionalIndex;
|
|
965
965
|
}) | (Readonly<{
|
|
966
966
|
id: string;
|
|
967
967
|
x: number;
|
|
968
968
|
y: number;
|
|
969
969
|
strokeColor: string;
|
|
970
970
|
backgroundColor: string;
|
|
971
|
-
fillStyle: import("
|
|
971
|
+
fillStyle: import("../element/types").FillStyle;
|
|
972
972
|
strokeWidth: number;
|
|
973
|
-
strokeStyle: import("
|
|
973
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
974
974
|
roundness: null | {
|
|
975
|
-
type: import("
|
|
975
|
+
type: import("../element/types").RoundnessType;
|
|
976
976
|
value?: number;
|
|
977
977
|
};
|
|
978
978
|
roughness: number;
|
|
979
979
|
opacity: number;
|
|
980
980
|
width: number;
|
|
981
981
|
height: number;
|
|
982
|
-
angle: import("
|
|
982
|
+
angle: import("../libs/math").Radians;
|
|
983
983
|
seed: number;
|
|
984
984
|
version: number;
|
|
985
985
|
versionNonce: number;
|
|
986
|
-
index: import("
|
|
986
|
+
index: import("../element/types").FractionalIndex | null;
|
|
987
987
|
isDeleted: boolean;
|
|
988
|
-
groupIds: readonly import("
|
|
988
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
989
989
|
frameId: string | null;
|
|
990
|
-
boundElements: readonly import("
|
|
990
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
991
991
|
updated: number;
|
|
992
992
|
link: string | null;
|
|
993
993
|
locked: boolean;
|
|
@@ -996,33 +996,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
996
996
|
type: "frame";
|
|
997
997
|
name: string | null;
|
|
998
998
|
} & {
|
|
999
|
-
index: import("
|
|
999
|
+
index: import("../element/types").FractionalIndex;
|
|
1000
1000
|
}) | (Readonly<{
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
x: number;
|
|
1003
1003
|
y: number;
|
|
1004
1004
|
strokeColor: string;
|
|
1005
1005
|
backgroundColor: string;
|
|
1006
|
-
fillStyle: import("
|
|
1006
|
+
fillStyle: import("../element/types").FillStyle;
|
|
1007
1007
|
strokeWidth: number;
|
|
1008
|
-
strokeStyle: import("
|
|
1008
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
1009
1009
|
roundness: null | {
|
|
1010
|
-
type: import("
|
|
1010
|
+
type: import("../element/types").RoundnessType;
|
|
1011
1011
|
value?: number;
|
|
1012
1012
|
};
|
|
1013
1013
|
roughness: number;
|
|
1014
1014
|
opacity: number;
|
|
1015
1015
|
width: number;
|
|
1016
1016
|
height: number;
|
|
1017
|
-
angle: import("
|
|
1017
|
+
angle: import("../libs/math").Radians;
|
|
1018
1018
|
seed: number;
|
|
1019
1019
|
version: number;
|
|
1020
1020
|
versionNonce: number;
|
|
1021
|
-
index: import("
|
|
1021
|
+
index: import("../element/types").FractionalIndex | null;
|
|
1022
1022
|
isDeleted: boolean;
|
|
1023
|
-
groupIds: readonly import("
|
|
1023
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
1024
1024
|
frameId: string | null;
|
|
1025
|
-
boundElements: readonly import("
|
|
1025
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
1026
1026
|
updated: number;
|
|
1027
1027
|
link: string | null;
|
|
1028
1028
|
locked: boolean;
|
|
@@ -1031,33 +1031,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1031
1031
|
type: "magicframe";
|
|
1032
1032
|
name: string | null;
|
|
1033
1033
|
} & {
|
|
1034
|
-
index: import("
|
|
1034
|
+
index: import("../element/types").FractionalIndex;
|
|
1035
1035
|
}) | (Readonly<{
|
|
1036
1036
|
id: string;
|
|
1037
1037
|
x: number;
|
|
1038
1038
|
y: number;
|
|
1039
1039
|
strokeColor: string;
|
|
1040
1040
|
backgroundColor: string;
|
|
1041
|
-
fillStyle: import("
|
|
1041
|
+
fillStyle: import("../element/types").FillStyle;
|
|
1042
1042
|
strokeWidth: number;
|
|
1043
|
-
strokeStyle: import("
|
|
1043
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
1044
1044
|
roundness: null | {
|
|
1045
|
-
type: import("
|
|
1045
|
+
type: import("../element/types").RoundnessType;
|
|
1046
1046
|
value?: number;
|
|
1047
1047
|
};
|
|
1048
1048
|
roughness: number;
|
|
1049
1049
|
opacity: number;
|
|
1050
1050
|
width: number;
|
|
1051
1051
|
height: number;
|
|
1052
|
-
angle: import("
|
|
1052
|
+
angle: import("../libs/math").Radians;
|
|
1053
1053
|
seed: number;
|
|
1054
1054
|
version: number;
|
|
1055
1055
|
versionNonce: number;
|
|
1056
|
-
index: import("
|
|
1056
|
+
index: import("../element/types").FractionalIndex | null;
|
|
1057
1057
|
isDeleted: boolean;
|
|
1058
|
-
groupIds: readonly import("
|
|
1058
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
1059
1059
|
frameId: string | null;
|
|
1060
|
-
boundElements: readonly import("
|
|
1060
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
1061
1061
|
updated: number;
|
|
1062
1062
|
link: string | null;
|
|
1063
1063
|
locked: boolean;
|
|
@@ -1065,56 +1065,56 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1065
1065
|
}> & Readonly<{
|
|
1066
1066
|
type: "text";
|
|
1067
1067
|
fontSize: number;
|
|
1068
|
-
fontFamily: import("
|
|
1068
|
+
fontFamily: import("../element/types").FontFamilyValues;
|
|
1069
1069
|
text: string;
|
|
1070
|
-
textAlign: import("
|
|
1071
|
-
verticalAlign: import("
|
|
1072
|
-
containerId: import("
|
|
1070
|
+
textAlign: import("../element/types").TextAlign;
|
|
1071
|
+
verticalAlign: import("../element/types").VerticalAlign;
|
|
1072
|
+
containerId: import("../element/types").DrawGenericElement["id"] | null;
|
|
1073
1073
|
originalText: string;
|
|
1074
1074
|
autoResize: boolean;
|
|
1075
1075
|
lineHeight: number & {
|
|
1076
1076
|
_brand: "unitlessLineHeight";
|
|
1077
1077
|
};
|
|
1078
1078
|
}> & {
|
|
1079
|
-
index: import("
|
|
1079
|
+
index: import("../element/types").FractionalIndex;
|
|
1080
1080
|
}) | (Readonly<{
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
x: number;
|
|
1083
1083
|
y: number;
|
|
1084
1084
|
strokeColor: string;
|
|
1085
1085
|
backgroundColor: string;
|
|
1086
|
-
fillStyle: import("
|
|
1086
|
+
fillStyle: import("../element/types").FillStyle;
|
|
1087
1087
|
strokeWidth: number;
|
|
1088
|
-
strokeStyle: import("
|
|
1088
|
+
strokeStyle: import("../element/types").StrokeStyle;
|
|
1089
1089
|
roundness: null | {
|
|
1090
|
-
type: import("
|
|
1090
|
+
type: import("../element/types").RoundnessType;
|
|
1091
1091
|
value?: number;
|
|
1092
1092
|
};
|
|
1093
1093
|
roughness: number;
|
|
1094
1094
|
opacity: number;
|
|
1095
1095
|
width: number;
|
|
1096
1096
|
height: number;
|
|
1097
|
-
angle: import("
|
|
1097
|
+
angle: import("../libs/math").Radians;
|
|
1098
1098
|
seed: number;
|
|
1099
1099
|
version: number;
|
|
1100
1100
|
versionNonce: number;
|
|
1101
|
-
index: import("
|
|
1101
|
+
index: import("../element/types").FractionalIndex | null;
|
|
1102
1102
|
isDeleted: boolean;
|
|
1103
|
-
groupIds: readonly import("
|
|
1103
|
+
groupIds: readonly import("../element/types").GroupId[];
|
|
1104
1104
|
frameId: string | null;
|
|
1105
|
-
boundElements: readonly import("
|
|
1105
|
+
boundElements: readonly import("../element/types").BoundElement[] | null;
|
|
1106
1106
|
updated: number;
|
|
1107
1107
|
link: string | null;
|
|
1108
1108
|
locked: boolean;
|
|
1109
1109
|
customData?: Record<string, any>;
|
|
1110
1110
|
}> & Readonly<{
|
|
1111
1111
|
type: "freedraw";
|
|
1112
|
-
points: readonly import("
|
|
1112
|
+
points: readonly import("../libs/math").LocalPoint[];
|
|
1113
1113
|
pressures: readonly number[];
|
|
1114
1114
|
simulatePressure: boolean;
|
|
1115
1115
|
}> & {
|
|
1116
|
-
index: import("
|
|
1117
|
-
}) | import("
|
|
1116
|
+
index: import("../element/types").FractionalIndex;
|
|
1117
|
+
}) | import("../element/types").NonDeleted<import("../element/types").DrawFrameElement>)[];
|
|
1118
1118
|
appState: {
|
|
1119
1119
|
selectedElementIds: {
|
|
1120
1120
|
[x: string]: true;
|