1 |
|
2 |
|
3 |
|
4 | import { r as registerInstance, h, H as Host, g as getElement } from './_commonjsHelpers-383fba37.js';
|
5 | import { d as draggabilly } from './draggabilly-b10e2ab0.js';
|
6 |
|
7 | const fswSpatialCss = ".sc-fsw-spatial-h{width:140px;height:140px;background:#F90;border-radius:10px;cursor:move;display:block}.is-pointer-down.sc-fsw-spatial-h{background:#09F}.is-dragging.sc-fsw-spatial-h{opacity:0.7}";
|
8 |
|
9 | const FswSymbol = class {
|
10 | constructor(hostRef) {
|
11 | registerInstance(this, hostRef);
|
12 | }
|
13 | componentDidLoad() {
|
14 | this.draggie = new draggabilly(this.el);
|
15 | }
|
16 | render() {
|
17 | return (h(Host, null, h("slot", null)));
|
18 | }
|
19 | get el() { return getElement(this); }
|
20 | };
|
21 | FswSymbol.style = fswSpatialCss;
|
22 |
|
23 | export { FswSymbol as fsw_spatial };
|