shop-components 0.0.19 → 0.0.21

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.
@@ -23,7 +23,7 @@ export declare class DeviceViewer extends LitElement {
23
23
  lineWrapper: HTMLDivElement | undefined;
24
24
  fit: () => void;
25
25
  generateBVH: () => void;
26
- download: () => void;
26
+ download: () => string;
27
27
  clearAMR: () => void;
28
28
  exportAMR: () => Promise<void>;
29
29
  addAMR: () => void;
@@ -10,7 +10,6 @@ import Stats from 'stats-fps.js';
10
10
  import { Pane } from 'tweakpane';
11
11
  import { Slot, SLOT_EVENTS } from './slot';
12
12
  import { DeviceLines, Line } from './lines';
13
- import './style.styl';
14
13
  export { Slot, DeviceLines, Line, SLOT_EVENTS };
15
14
  export interface Logo {
16
15
  name: string;
@@ -94,7 +93,7 @@ export declare class Scene3D {
94
93
  private _initEvents;
95
94
  changeLogo(logo: Logo, url: string): void;
96
95
  generateBVH(): Promise<void>;
97
- download(): void;
96
+ download(): string;
98
97
  clearAMR(): void;
99
98
  exportAMR(): Promise<ArrayBuffer | {
100
99
  [key: string]: any;
File without changes
@@ -0,0 +1,18 @@
1
+ import { LitElement } from 'lit';
2
+ export interface SlotItemProps {
3
+ name: string;
4
+ }
5
+ export declare class SlotItem extends LitElement {
6
+ props: SlotItemProps;
7
+ static styles: import("lit").CSSResult;
8
+ constructor(props: SlotItemProps);
9
+ selected: boolean;
10
+ hasError: boolean;
11
+ canInstall: boolean;
12
+ hide: boolean;
13
+ disable: boolean;
14
+ filled: boolean;
15
+ slot: any;
16
+ onClick(e: MouseEvent): void;
17
+ protected render(): unknown;
18
+ }
@@ -23,6 +23,7 @@ export declare class Slot extends CSS2DObject {
23
23
  private props;
24
24
  private _emitter;
25
25
  private _slotContainer;
26
+ private _slotUI;
26
27
  private _hasError;
27
28
  addEventListener: <T extends string | symbol>(event: T, fn: (...args: any[]) => void, context?: any) => EventEmitter<string | symbol, any>;
28
29
  removeEventListener: <T extends string | symbol>(event: T, fn?: ((...args: any[]) => void) | undefined, context?: any, once?: boolean | undefined) => EventEmitter<string | symbol, any>;