@operato/scene-indoor-map 1.0.0-alpha.24 → 1.0.0-alpha.25

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.0-alpha.25](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-06-20)
7
+
8
+ **Note:** Version bump only for package @operato/scene-indoor-map
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.0.0-alpha.24](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-06-20)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/scene-indoor-map",
3
- "version": "1.0.0-alpha.24",
3
+ "version": "1.0.0-alpha.25",
4
4
  "description": "Indoor Map component for things-scene.",
5
5
  "license": "MIT",
6
6
  "author": "heartyoh",
@@ -57,5 +57,5 @@
57
57
  "prettier --write"
58
58
  ]
59
59
  },
60
- "gitHead": "7562bd8a81815fe82aa33550d052904704df6c4d"
60
+ "gitHead": "ff8d846d5ddb255a8dfc4b692b55f6fec3587de3"
61
61
  }
@@ -1,6 +0,0 @@
1
- import { Properties } from '@hatiolab/things-scene';
2
- import { OxPropertyEditor } from '@operato/property-editor';
3
- export default class ThingsEditorAction extends OxPropertyEditor {
4
- static styles: import("lit").CSSResult[];
5
- editorTemplate(props: Properties): import("lit").TemplateResult<1>;
6
- }
@@ -1,46 +0,0 @@
1
- /*
2
- * Copyright © HatioLab Inc. All rights reserved.
3
- */
4
- import { __decorate } from "tslib";
5
- import { css, html } from 'lit';
6
- import { OxPropertyEditor } from '@operato/property-editor';
7
- import { customElement } from 'lit/decorators.js';
8
- let ThingsEditorAction = class ThingsEditorAction extends OxPropertyEditor {
9
- editorTemplate(props) {
10
- var property = props.property || {};
11
- var { icon, action } = property;
12
- return html `
13
- <paper-icon-button
14
- .icon=${icon}
15
- @click=${(e) => {
16
- this.dispatchEvent(new CustomEvent('i-need-selected', {
17
- bubbles: true,
18
- composed: true,
19
- detail: {
20
- callback: (selected) => {
21
- typeof action === 'function' && action(selected[0]);
22
- }
23
- }
24
- }));
25
- }}
26
- ></paper-icon-button>
27
- `;
28
- }
29
- };
30
- ThingsEditorAction.styles = [
31
- ...OxPropertyEditor.styles,
32
- css `
33
- :host > label {
34
- display: flex;
35
- grid-column: span 3;
36
- order: 1;
37
- align-items: center;
38
- justify-self: right;
39
- }
40
- `
41
- ];
42
- ThingsEditorAction = __decorate([
43
- customElement('things-editor-action')
44
- ], ThingsEditorAction);
45
- export default ThingsEditorAction;
46
- //# sourceMappingURL=things-editor-action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"things-editor-action.js","sourceRoot":"","sources":["../../src/editors/things-editor-action.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAGH,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,IAAqB,kBAAkB,GAAvC,MAAqB,kBAAmB,SAAQ,gBAAgB;IAc9D,cAAc,CAAC,KAAiB;QAC9B,IAAI,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAA;QACnC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAA;QAE/B,OAAO,IAAI,CAAA;;gBAEC,IAAI;iBACH,CAAC,CAAa,EAAE,EAAE;YACzB,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,iBAAiB,EAAE;gBACjC,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE;oBACN,QAAQ,EAAE,CAAC,QAAqB,EAAE,EAAE;wBAClC,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;oBACrD,CAAC;iBACF;aACF,CAAC,CACH,CAAA;QACH,CAAC;;KAEJ,CAAA;IACH,CAAC;CACF,CAAA;AApCQ,yBAAM,GAAG;IACd,GAAG,gBAAgB,CAAC,MAAM;IAC1B,GAAG,CAAA;;;;;;;;KAQF;CACF,CAAA;AAZkB,kBAAkB;IADtC,aAAa,CAAC,sBAAsB,CAAC;GACjB,kBAAkB,CAqCtC;eArCoB,kBAAkB","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { Component, Properties } from '@hatiolab/things-scene'\nimport { css, html } from 'lit'\n\nimport { OxPropertyEditor } from '@operato/property-editor'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('things-editor-action')\nexport default class ThingsEditorAction extends OxPropertyEditor {\n static styles = [\n ...OxPropertyEditor.styles,\n css`\n :host > label {\n display: flex;\n grid-column: span 3;\n order: 1;\n align-items: center;\n justify-self: right;\n }\n `\n ]\n\n editorTemplate(props: Properties) {\n var property = props.property || {}\n var { icon, action } = property\n\n return html`\n <paper-icon-button\n .icon=${icon}\n @click=${(e: MouseEvent) => {\n this.dispatchEvent(\n new CustomEvent('i-need-selected', {\n bubbles: true,\n composed: true,\n detail: {\n callback: (selected: Component[]) => {\n typeof action === 'function' && action(selected[0])\n }\n }\n })\n )\n }}\n ></paper-icon-button>\n `\n }\n}\n"]}