shop-components 0.1.13 → 0.1.15

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.
@@ -54,6 +54,7 @@ export declare class Cropper extends LitElement {
54
54
  width: number;
55
55
  height: number;
56
56
  }): Promise<void>;
57
+ clear(): void;
57
58
  updateConfigs: ({ canvasWidth, x, y, scale, url }: CropperConfigs) => Promise<void>;
58
59
  fit(): void;
59
60
  disconnectedCallback(): void;
@@ -1,11 +1,15 @@
1
1
  import { Object3D, Vector3 } from 'three';
2
2
  export declare class SizeLine extends Object3D {
3
3
  private _startWith?;
4
+ private _showText;
4
5
  private _line;
5
6
  private _text;
7
+ private _textWrapper;
6
8
  private _tw;
7
- constructor(_startWith?: string | undefined);
9
+ constructor(_startWith?: string | undefined, _showText?: boolean);
8
10
  reset(): void;
9
11
  update(start: Vector3, end: Vector3): void;
12
+ updateDirection(pos: Vector3): void;
10
13
  updateSize(pos: Vector3): void;
14
+ dispose(): void;
11
15
  }
@@ -53,6 +53,7 @@ export declare class DeviceViewer extends LitElement {
53
53
  selectLogo: (l: Logo) => void;
54
54
  selectImage: (e: Event) => void;
55
55
  resetLogo: (l: Logo) => void;
56
+ clearLogo: (l: Logo) => void;
56
57
  loadConfigs: () => void;
57
58
  saveConfigs: (l: Logo) => void;
58
59
  dragstart: (e: DragEvent) => void;
@@ -46,7 +46,8 @@ export declare class Logo {
46
46
  };
47
47
  private readonly _defaults;
48
48
  constructor(_props: LogoProps);
49
- change(url: string): void;
49
+ clear(): void;
50
+ change(url?: string): void;
50
51
  reset(): void;
51
52
  }
52
53
  export declare class Skin {
@@ -65,6 +66,7 @@ export declare enum SlotState {
65
66
  export type Scene3DEvents = 'slot-select';
66
67
  export interface SceneProps {
67
68
  useSound: boolean;
69
+ fov?: number;
68
70
  }
69
71
  export declare class Scene3D {
70
72
  props: SceneProps;