shop-components 0.1.11 → 0.1.12

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.
@@ -1,6 +1,6 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  import { Application } from 'pixi.js';
3
- import { Texture as Texture3 } from 'three';
3
+ import { BufferGeometry, Texture as Texture3 } from 'three';
4
4
  import { Viewport } from 'pixi-viewport';
5
5
  export interface CropperConfigs {
6
6
  canvasWidth: number;
@@ -23,6 +23,7 @@ export declare class Cropper extends LitElement {
23
23
  width: number;
24
24
  height: number;
25
25
  };
26
+ get supports(): string[];
26
27
  private _imageUrl;
27
28
  private _canvasScale;
28
29
  texture: Texture3;
@@ -33,6 +34,7 @@ export declare class Cropper extends LitElement {
33
34
  boundRect: HTMLDivElement | undefined;
34
35
  axiosX: HTMLDivElement | undefined;
35
36
  axiosY: HTMLDivElement | undefined;
37
+ pathD: string;
36
38
  get imageScale(): {
37
39
  x: number;
38
40
  y: number;
@@ -47,6 +49,7 @@ export declare class Cropper extends LitElement {
47
49
  private _wheelEvent;
48
50
  resize(width: number, height: number): void;
49
51
  protected firstUpdated(_changedProperties: PropertyValues): void;
52
+ setUV(geometry: BufferGeometry): void;
50
53
  add(url: string, logoSize: {
51
54
  width: number;
52
55
  height: number;