@leafer/interface 1.0.0-rc.24 → 1.0.0-rc.25
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/package.json +1 -1
- package/src/display/ILeaf.ts +8 -8
- package/src/index.ts +1 -1
- package/types/index.d.ts +10 -10
package/package.json
CHANGED
package/src/display/ILeaf.ts
CHANGED
|
@@ -76,8 +76,8 @@ export interface ILeafAttrData {
|
|
|
76
76
|
flow: IFlowType
|
|
77
77
|
padding: IFourNumber
|
|
78
78
|
gap: IGap | IPointGap
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
flowAlign: IFlowAlign | IFlowAxisAlign
|
|
80
|
+
flowWrap: IFlowWrap
|
|
81
81
|
itemBox: IFlowBoxType
|
|
82
82
|
|
|
83
83
|
inFlow: IBoolean
|
|
@@ -127,9 +127,9 @@ export interface IPointGap { x?: IGap, y?: IGap }
|
|
|
127
127
|
|
|
128
128
|
export type IAxisAlign = 'from' | 'center' | 'to'
|
|
129
129
|
|
|
130
|
-
export interface IFlowAxisAlign { content?: IFlowAlign,
|
|
130
|
+
export interface IFlowAxisAlign { content?: IFlowAlign, x?: IAxisAlign, y?: IAxisAlign }
|
|
131
131
|
|
|
132
|
-
export type
|
|
132
|
+
export type IFlowWrap = boolean | 'reverse'
|
|
133
133
|
|
|
134
134
|
export type IAutoSize = IBoolean | INumber | IPercentData
|
|
135
135
|
|
|
@@ -330,8 +330,8 @@ export interface ILeafInputData {
|
|
|
330
330
|
flow?: IFlowType
|
|
331
331
|
padding?: IFourNumber
|
|
332
332
|
gap?: IGap | IPointGap
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign
|
|
334
|
+
flowWrap?: IFlowWrap
|
|
335
335
|
itemBox?: IFlowBoxType
|
|
336
336
|
|
|
337
337
|
inFlow?: IBoolean
|
|
@@ -417,8 +417,8 @@ export interface ILeafComputedData {
|
|
|
417
417
|
flow?: IFlowType
|
|
418
418
|
padding?: IFourNumber
|
|
419
419
|
gap?: IGap | IPointGap
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign
|
|
421
|
+
flowWrap?: IFlowWrap
|
|
422
422
|
itemBox?: IFlowBoxType
|
|
423
423
|
|
|
424
424
|
inFlow?: boolean
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { IAppBase } from './app/IApp'
|
|
2
2
|
export { ILeaferBase, ILeaferAttrData, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILeaferConfig, ICreator, IUICreator, IZoomType } from './app/ILeafer'
|
|
3
|
-
export { ILeaf, ILeafAttrData, ILeafComputedData, ILeafInputData, ICachedLeaf, IFlowType, IFlowBoxType, IAlign, IAxisAlign, IFlowAlign, IFlowAxisAlign, IAxis, IGap, IPointGap, IAxisReverse, IBaseLineAlign,
|
|
3
|
+
export { ILeaf, ILeafAttrData, ILeafComputedData, ILeafInputData, ICachedLeaf, IFlowType, IFlowBoxType, IAlign, IAxisAlign, IFlowAlign, IFlowAxisAlign, IAxis, IGap, IPointGap, IAxisReverse, IBaseLineAlign, IFlowWrap, IAutoSize, IRangeSize, IPercentData, IUnitData, IConstraint, IConstraintType, IHitType, IMaskType, IEraserType, IBlendMode, IEditSize, IImageCursor, ICursorType, IStateStyleType, IDirection, IAround, ILeafAttrDescriptor, ILeafAttrDescriptorFn } from './display/ILeaf'
|
|
4
4
|
export { IBranch } from './display/IBranch'
|
|
5
5
|
export { IZoomView } from './display/IView'
|
|
6
6
|
|
package/types/index.d.ts
CHANGED
|
@@ -1259,8 +1259,8 @@ interface ILeafAttrData {
|
|
|
1259
1259
|
flow: IFlowType;
|
|
1260
1260
|
padding: IFourNumber;
|
|
1261
1261
|
gap: IGap | IPointGap;
|
|
1262
|
-
|
|
1263
|
-
|
|
1262
|
+
flowAlign: IFlowAlign | IFlowAxisAlign;
|
|
1263
|
+
flowWrap: IFlowWrap;
|
|
1264
1264
|
itemBox: IFlowBoxType;
|
|
1265
1265
|
inFlow: IBoolean;
|
|
1266
1266
|
autoWidth: IAutoSize;
|
|
@@ -1298,10 +1298,10 @@ interface IPointGap {
|
|
|
1298
1298
|
type IAxisAlign = 'from' | 'center' | 'to';
|
|
1299
1299
|
interface IFlowAxisAlign {
|
|
1300
1300
|
content?: IFlowAlign;
|
|
1301
|
-
|
|
1302
|
-
|
|
1301
|
+
x?: IAxisAlign;
|
|
1302
|
+
y?: IAxisAlign;
|
|
1303
1303
|
}
|
|
1304
|
-
type
|
|
1304
|
+
type IFlowWrap = boolean | 'reverse';
|
|
1305
1305
|
type IAutoSize = IBoolean | INumber | IPercentData;
|
|
1306
1306
|
interface IRangeSize {
|
|
1307
1307
|
min?: number;
|
|
@@ -1375,8 +1375,8 @@ interface ILeafInputData {
|
|
|
1375
1375
|
flow?: IFlowType;
|
|
1376
1376
|
padding?: IFourNumber;
|
|
1377
1377
|
gap?: IGap | IPointGap;
|
|
1378
|
-
|
|
1379
|
-
|
|
1378
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign;
|
|
1379
|
+
flowWrap?: IFlowWrap;
|
|
1380
1380
|
itemBox?: IFlowBoxType;
|
|
1381
1381
|
inFlow?: IBoolean;
|
|
1382
1382
|
autoWidth?: IAutoSize;
|
|
@@ -1440,8 +1440,8 @@ interface ILeafComputedData {
|
|
|
1440
1440
|
flow?: IFlowType;
|
|
1441
1441
|
padding?: IFourNumber;
|
|
1442
1442
|
gap?: IGap | IPointGap;
|
|
1443
|
-
|
|
1444
|
-
|
|
1443
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign;
|
|
1444
|
+
flowWrap?: IFlowWrap;
|
|
1445
1445
|
itemBox?: IFlowBoxType;
|
|
1446
1446
|
inFlow?: boolean;
|
|
1447
1447
|
autoWidth?: IAutoSize;
|
|
@@ -2110,4 +2110,4 @@ interface ICursorRotateMap {
|
|
|
2110
2110
|
[name: string]: ICursorRotate;
|
|
2111
2111
|
}
|
|
2112
2112
|
|
|
2113
|
-
export type { ACommandData, ArcCommandData, ArcToCommandData, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEvent, IAnswer, IAppBase, IAround, IAttrDecorator, IAutoBounds, IAutoBoundsData, IAutoBoxData, IAutoSize, IAxis, IAxisAlign, IAxisReverse, IBaseLineAlign, IBlendMode, IBlob, IBlobFunction, IBoolean, IBooleanMap, IBounds, IBoundsData, IBoundsDataFn, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, IDataProcessor, IDataTypeHandle, IDirection, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFourNumber, IFromToData, IFunction, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMoveEvent, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWindingRule,
|
|
2113
|
+
export type { ACommandData, ArcCommandData, ArcToCommandData, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEvent, IAnswer, IAppBase, IAround, IAttrDecorator, IAutoBounds, IAutoBoundsData, IAutoBoxData, IAutoSize, IAxis, IAxisAlign, IAxisReverse, IBaseLineAlign, IBlendMode, IBlob, IBlobFunction, IBoolean, IBooleanMap, IBounds, IBoundsData, IBoundsDataFn, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, IDataProcessor, IDataTypeHandle, IDirection, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMoveEvent, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWindingRule, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, MCommandData, PointerType, QCommandData, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
|