@leafer-ui/interface
Advanced tools
+5
-5
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "@leafer-ui/interface", | ||
@@ -16,6 +16,6 @@ "author": "Chao (Leafer) Wan", | ||
| "type": "git", | ||
| "url": "https://github.com/leaferjs/ui.git" | ||
| "url": "https://github.com/leaferjs/leafer-ui.git" | ||
| }, | ||
| "homepage": "https://github.com/leaferjs/ui/tree/main/packages/interface", | ||
| "bugs": "https://github.com/leaferjs/ui/issues", | ||
| "homepage": "https://github.com/leaferjs/leafer-ui/tree/main/packages/interface", | ||
| "bugs": "https://github.com/leaferjs/leafer-ui/issues", | ||
| "keywords": [ | ||
@@ -26,4 +26,4 @@ "leafer-ui", | ||
| "dependencies": { | ||
| "@leafer/interface": "1.0.4" | ||
| "@leafer/interface": "1.0.5" | ||
| } | ||
| } |
@@ -23,2 +23,3 @@ import { IGroup, IUI, IBox, IRectInputData, ISelectorProxy, IEditSize, ICursorType, IAlign, IUnitPointData, IDragEvent, IRotateEvent, IStroke, IFill, ILeaf, ILeafList, IObject, IBoxInputData, IGroupInputData, IImageCursor, IRect, IBoundsData, IKeyEvent, IUIInputData, IZoomEvent, IColorString, IDirection4 } from '@leafer-ui/interface' | ||
| readonly dragging: boolean | ||
| readonly moving: boolean | ||
@@ -57,3 +58,3 @@ element?: IUI | ||
| openInnerEditor(target?: IUI): void | ||
| openInnerEditor(target?: IUI, select?: boolean): void | ||
| closeInnerEditor(): void | ||
@@ -60,0 +61,0 @@ |
@@ -102,2 +102,3 @@ import { INumber, IBoolean, IString, IFourNumber, IUnitData } from '@leafer/interface' | ||
| verticalAlign?: IVerticalAlign | ||
| autoSizeAlign?: IBoolean | ||
@@ -122,2 +123,3 @@ textWrap?: ITextWrap | ||
| verticalAlign?: IVerticalAlign | ||
| autoSizeAlign?: IBoolean | ||
@@ -142,2 +144,3 @@ textWrap?: ITextWrap | ||
| verticalAlign?: IVerticalAlign | ||
| autoSizeAlign?: boolean // 自动宽高的文本,是否仍进行整体对齐操作 | ||
@@ -144,0 +147,0 @@ textWrap?: ITextWrap |
+8
-6
@@ -265,2 +265,3 @@ import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPathDrawer, IPointData, IPathCommandData, IBoundsData, IObject, IPathString, ILeaferImage, IPathCreator, IAnswer, IPickOptions, IPickResult, IValue, ICanvasContext2DSettings, IFourNumber, IFindCondition, IBoolean, ICanvasContext2D, IJSONOptions, IMatrixData, ISizeData } from '@leafer/interface' | ||
| font: string | ||
| maxWidth?: number // 获取最大的行宽,自动宽度 且非 autoSizeAlign 时才有值 | ||
| decorationY?: number | ||
@@ -338,2 +339,3 @@ decorationHeight?: number | ||
| resizeChildren?: IBoolean | ||
| textBox?: IBoolean // 编辑器中,textBox双击会直接进入编辑文本状态,如便利贴文本 | ||
| } | ||
@@ -349,8 +351,8 @@ export interface IBoxData extends IBoxAttrData, IGroupData { } | ||
| pick(hitPoint: IPointData, options?: IPickOptions): IPickResult | ||
| add(child: IUI, index?: number): void | ||
| addAt(child: IUI, index: number): void | ||
| addAfter(child: IUI, after: IUI): void | ||
| addBefore(child: IUI, before: IUI): void | ||
| addMany(...children: ILeaf[]): void | ||
| remove(child?: IUI): void | ||
| add(child: IUI | IUIInputData, index?: number): void | ||
| addAt(child: IUI | IUIInputData, index: number): void | ||
| addAfter(child: IUI | IUIInputData, after: IUI): void | ||
| addBefore(child: IUI | IUIInputData, before: IUI): void | ||
| addMany(...children: ILeaf[] | IUIInputData[]): void | ||
| remove(child?: IUI | number | string | IFindCondition | IFindUIMethod): void | ||
| removeAll(): void | ||
@@ -357,0 +359,0 @@ clear(): void |
+14
-8
@@ -1,2 +0,2 @@ | ||
| import { IBlendMode, IAlign, IUnitPointData, IExportFileType, IFourNumber, IPointData, ISizeData, IPathCommandData, IWindingRule, IMatrixData, ILeaferImage, ITaskItem, IBoolean, INumber, IString, IUnitData, IObject, IEventer, IEventMap, IPercentData, IBoundsData as IBoundsData$1, IPathCreator, ILeaferCanvas, ICanvasContext2D, ICanvasContext2DSettings, IRenderOptions, IPickOptions, IPickResult, ILeaf as ILeaf$1, IJSONOptions, IValue, IFindCondition, IPathString, IPathDrawer, IExportOptions, IExportResult, IAnswer, ILeafData, ILeafComputedData, ILeafInputData, ILeaferAttrData, IControl, ILeaferConfig, ILeaferType, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IBooleanMap, IAround } from '@leafer/interface'; | ||
| import { IBlendMode, IAlign, IUnitPointData, IExportFileType, IFourNumber, IPointData, ISizeData, IPathCommandData, IWindingRule, IMatrixData, ILeaferImage, ITaskItem, IBoolean, INumber, IString, IUnitData, IObject, IEventer, IEventMap, IPercentData, IBoundsData as IBoundsData$1, IPathCreator, ILeaferCanvas, ICanvasContext2D, ICanvasContext2DSettings, IRenderOptions, IPickOptions, IPickResult, ILeaf as ILeaf$1, IFindCondition, IJSONOptions, IValue, IPathString, IPathDrawer, IExportOptions, IExportResult, IAnswer, ILeafData, ILeafComputedData, ILeafInputData, ILeaferAttrData, IControl, ILeaferConfig, ILeaferType, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IBooleanMap, IAround } from '@leafer/interface'; | ||
| export * from '@leafer/interface'; | ||
@@ -249,2 +249,3 @@ import { IGroup as IGroup$1, ISelectorProxy, IUI as IUI$1, ILeafList, IObject as IObject$1, ILeaf, IEditSize, IDragEvent, IZoomEvent, IRotateEvent, IGroupInputData as IGroupInputData$1, IStroke as IStroke$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, IColorString as IColorString$1, IDirection4, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData as IUnitPointData$1, IUIInputData as IUIInputData$1, IBox as IBox$1, IRect as IRect$1, IBoundsData, IKeyEvent, IStateName as IStateName$1, IString as IString$1, IBoolean as IBoolean$1, IStateStyle as IStateStyle$1 } from '@leafer-ui/interface'; | ||
| verticalAlign?: IVerticalAlign; | ||
| autoSizeAlign?: IBoolean; | ||
| textWrap?: ITextWrap; | ||
@@ -266,2 +267,3 @@ textOverflow?: IOverflow | string; | ||
| verticalAlign?: IVerticalAlign; | ||
| autoSizeAlign?: IBoolean; | ||
| textWrap?: ITextWrap; | ||
@@ -283,2 +285,3 @@ textOverflow?: IOverflow | string; | ||
| verticalAlign?: IVerticalAlign; | ||
| autoSizeAlign?: boolean; | ||
| textWrap?: ITextWrap; | ||
@@ -423,2 +426,3 @@ textOverflow?: IOverflow | string; | ||
| readonly dragging: boolean; | ||
| readonly moving: boolean; | ||
| element?: IUI$1; | ||
@@ -448,3 +452,3 @@ buttons: IGroup$1; | ||
| closeGroup(group: IGroup$1): void; | ||
| openInnerEditor(target?: IUI$1): void; | ||
| openInnerEditor(target?: IUI$1, select?: boolean): void; | ||
| closeInnerEditor(): void; | ||
@@ -745,2 +749,3 @@ lock(): void; | ||
| font: string; | ||
| maxWidth?: number; | ||
| decorationY?: number; | ||
@@ -801,2 +806,3 @@ decorationHeight?: number; | ||
| resizeChildren?: IBoolean; | ||
| textBox?: IBoolean; | ||
| } | ||
@@ -811,8 +817,8 @@ interface IBoxData extends IBoxAttrData, IGroupData { | ||
| pick(hitPoint: IPointData, options?: IPickOptions): IPickResult; | ||
| add(child: IUI, index?: number): void; | ||
| addAt(child: IUI, index: number): void; | ||
| addAfter(child: IUI, after: IUI): void; | ||
| addBefore(child: IUI, before: IUI): void; | ||
| addMany(...children: ILeaf$1[]): void; | ||
| remove(child?: IUI): void; | ||
| add(child: IUI | IUIInputData, index?: number): void; | ||
| addAt(child: IUI | IUIInputData, index: number): void; | ||
| addAfter(child: IUI | IUIInputData, after: IUI): void; | ||
| addBefore(child: IUI | IUIInputData, before: IUI): void; | ||
| addMany(...children: ILeaf$1[] | IUIInputData[]): void; | ||
| remove(child?: IUI | number | string | IFindCondition | IFindUIMethod): void; | ||
| removeAll(): void; | ||
@@ -819,0 +825,0 @@ clear(): void; |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
82414
1.05%2237
0.54%+ Added
- Removed
Updated