@aurigma/design-atoms-interfaces 1.0.1 → 1.0.3

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.
Files changed (26) hide show
  1. package/CommandManager/ItemsCommand/IAlignItemsCommandArgs.d.ts +2 -1
  2. package/CommandManager/ItemsCommand/IBringItemsCommandArgs.d.ts +2 -0
  3. package/CommandManager/ItemsCommand/IChangeBarcodeFormatCommandArgs.d.ts +2 -0
  4. package/CommandManager/ItemsCommand/IChangeColumnCountCommandArgs.d.ts +2 -0
  5. package/CommandManager/ItemsCommand/IChangeLayoutCommandArgs.d.ts +2 -0
  6. package/CommandManager/ItemsCommand/ICloneItemsCommandArgs.d.ts +2 -0
  7. package/CommandManager/ItemsCommand/IConvertGroupIntoLayoutArgs.d.ts +7 -0
  8. package/CommandManager/ItemsCommand/IConvertLayoutIntoGroupArgs.d.ts +4 -0
  9. package/CommandManager/ItemsCommand/IDeleteItemsCommandArgs.d.ts +2 -0
  10. package/CommandManager/ItemsCommand/IDistributeItemsCommandArgs.d.ts +2 -1
  11. package/CommandManager/ItemsCommand/IEditItemsCommandArgs.d.ts +2 -1
  12. package/CommandManager/ItemsCommand/IGroupItemsCommandArgs.d.ts +2 -0
  13. package/CommandManager/ItemsCommand/INewTranslateItemsCommandArgs.d.ts +2 -0
  14. package/CommandManager/ItemsCommand/IPlaceItemsToAreaCommandArgs.d.ts +2 -0
  15. package/CommandManager/ItemsCommand/IPlaceholderContentResetCommandArgs.d.ts +2 -0
  16. package/CommandManager/ItemsCommand/IPlaceholderContentRotateCommandArgs.d.ts +2 -0
  17. package/CommandManager/ItemsCommand/IPlaceholderContentScaleCommandArgs.d.ts +2 -0
  18. package/CommandManager/ItemsCommand/IResizeItemsCommandArgs.d.ts +2 -0
  19. package/CommandManager/ItemsCommand/IRotateItemsCommandArgs.d.ts +2 -0
  20. package/CommandManager/ItemsCommand/ITransformItemsCommandArgs.d.ts +2 -0
  21. package/CommandManager/ItemsCommand/ITranslateItemCommandArgs.d.ts +2 -0
  22. package/CommandManager/ItemsCommand/IUngroupItemsCommandArgs.d.ts +2 -0
  23. package/CommandManager/SelectionCommand/ISelectItemsCommandArgs.d.ts +2 -0
  24. package/CommandManager/ZoomCommand/IZoomToItemsCommandArgs.d.ts +2 -0
  25. package/Types/IQueryOptions.d.ts +0 -2
  26. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
- import { AlignTargetType, AlignType } from "../../Types";
1
+ import { AlignTargetType, AlignType, IQueryOptions } from "../../Types";
2
2
  export interface IAlignItemsCommandArgs<TPrintArea, TSafetyLine, TItem> {
3
3
  items?: TItem[];
4
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
5
6
  align: AlignType;
6
7
  target: AlignTargetType;
7
8
  targetSafeArea?: TSafetyLine;
@@ -1,5 +1,7 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IBringItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  position: string;
5
7
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IChangeBarcodeFormatCommandArgs<TItem, TBarcodeFormat> {
2
3
  barcodeFormat: TBarcodeFormat;
3
4
  items?: TItem[];
4
5
  query?: string;
6
+ queryOptions?: IQueryOptions;
5
7
  ignorePermissions?: boolean;
6
8
  }
@@ -1,5 +1,7 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IChangeColumnCountCommandArgs<TItem> {
2
3
  value: number;
3
4
  items?: TItem[];
4
5
  query?: string;
6
+ queryOptions?: IQueryOptions;
5
7
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IChangeLayoutCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  sourceWidth: number;
5
7
  sourceHeight: number;
6
8
  }
@@ -1,4 +1,6 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface ICloneItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  }
@@ -1,4 +1,11 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IConvertGroupIntoLayoutArgs<TGroupItem> {
2
3
  items: TGroupItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
6
+ names?: IBaseNames;
7
+ }
8
+ export interface IBaseNames {
9
+ groupName: string;
10
+ layoutName: string;
4
11
  }
@@ -1,4 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
2
+ import { IBaseNames } from "./IConvertGroupIntoLayoutArgs";
1
3
  export interface IConvertLayoutIntoGroupArgs<TLayoutItem> {
2
4
  items: TLayoutItem[];
3
5
  query?: string;
6
+ queryOptions?: IQueryOptions;
7
+ names?: IBaseNames;
4
8
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IDeleteItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  force?: boolean;
5
7
  autoUngroup?: boolean;
6
8
  autoParentGroupDelete?: boolean;
@@ -1,6 +1,7 @@
1
- import { DistributeType } from "../../Types";
1
+ import { DistributeType, IQueryOptions } from "../../Types";
2
2
  export interface IDistributeItemsCommandArgs<TItem> {
3
3
  items?: TItem[];
4
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
5
6
  distribute: DistributeType;
6
7
  }
@@ -1,9 +1,10 @@
1
1
  import { IApplyParams } from "./IApplyParams";
2
- import { IItemData } from "../../Types";
2
+ import { IItemData, IQueryOptions } from "../../Types";
3
3
  export interface IEditItemsCommandArgs<TItem> {
4
4
  itemData: IItemData;
5
5
  items?: TItem[];
6
6
  query?: string;
7
+ queryOptions?: IQueryOptions;
7
8
  type?: {
8
9
  new (): TItem;
9
10
  };
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IGroupItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  asLayoutItem?: boolean;
5
7
  name?: string;
6
8
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface INewTranslateItemsCommandArgs<TItem, TPointF> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  delta: TPointF;
5
7
  finished?: boolean;
6
8
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IPlaceItemsToAreaCommandArgs<TItem, TRectangleF> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  rect: TRectangleF;
5
7
  itemsRect?: TRectangleF;
6
8
  }
@@ -1,4 +1,6 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IPlaceholderContentResetCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  }
@@ -1,5 +1,7 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IPlaceholderContentRotateCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  clockwise?: boolean;
5
7
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IPlaceholderContentScaleCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  scale: number;
5
7
  forceQualityChangeInfoBar?: boolean;
6
8
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IResizeItemsCommandArgs<TItem, TPointF> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  scaleX: number;
5
7
  scaleY: number;
6
8
  origin: TPointF;
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IRotateItemsCommandArgs<TItem, TPointF> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  angle: number;
5
7
  origin: TPointF;
6
8
  finished?: boolean;
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface ITransformItemsCommandArgs<TItem, TMatrix> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  matrix: TMatrix;
5
7
  finished?: boolean;
6
8
  newAngle?: number;
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface ITranslateItemCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  translateX: number | string;
5
7
  translateY: number | string;
6
8
  }
@@ -1,5 +1,7 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IUngroupItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  keepNestedGroups?: boolean;
5
7
  }
@@ -1,6 +1,8 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  import { MultiSelectMode } from "./MultiSelectMode";
2
3
  export interface ISelectItemsCommandArgs<TItem> {
3
4
  items?: TItem[];
4
5
  query?: string;
6
+ queryOptions?: IQueryOptions;
5
7
  multiSelectMode?: MultiSelectMode;
6
8
  }
@@ -1,4 +1,6 @@
1
+ import { IQueryOptions } from "../../Types";
1
2
  export interface IZoomToItemsCommandArgs<TItem> {
2
3
  items?: TItem[];
3
4
  query?: string;
5
+ queryOptions?: IQueryOptions;
4
6
  }
@@ -1,6 +1,4 @@
1
1
  export interface IQueryOptions {
2
- useWholeProduct?: boolean;
3
- useActiveContainer?: boolean;
4
2
  includeMockups?: boolean;
5
3
  flatGroupItems?: boolean;
6
4
  includePlaceholderContents?: boolean;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@aurigma/design-atoms-interfaces","version":"1.0.1","description":"","main":"index.js","author":"Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)","license":"SEE LICENSE IN License.md","keywords":["customer's canvas","web-to-print","image manipulation","design","personalization","web-to-print editor","design editor"]}
1
+ {"name":"@aurigma/design-atoms-interfaces","version":"1.0.3","description":"","main":"index.js","author":"Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)","license":"SEE LICENSE IN License.md","keywords":["customer's canvas","web-to-print","image manipulation","design","personalization","web-to-print editor","design editor"]}