@qverse-component/lit-components 1.0.0
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.
- package/README.md +78 -0
- package/dist/components/base/index.d.ts +8 -0
- package/dist/components/base/index.d.ts.map +1 -0
- package/dist/components/base/index.js +7 -0
- package/dist/components/base/index.js.map +1 -0
- package/dist/components/base/lit-button.d.ts +18 -0
- package/dist/components/base/lit-button.d.ts.map +1 -0
- package/dist/components/base/lit-button.js +161 -0
- package/dist/components/base/lit-button.js.map +1 -0
- package/dist/components/common/index.d.ts +9 -0
- package/dist/components/common/index.d.ts.map +1 -0
- package/dist/components/common/index.js +15 -0
- package/dist/components/common/index.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/assets/icon.png.js +5 -0
- package/dist/components/common/lit-switch-dollhouse-view/assets/icon.png.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/constants.d.ts +6 -0
- package/dist/components/common/lit-switch-dollhouse-view/constants.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/constants.js +11 -0
- package/dist/components/common/lit-switch-dollhouse-view/constants.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/events.d.ts +3 -0
- package/dist/components/common/lit-switch-dollhouse-view/events.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/events.js +26 -0
- package/dist/components/common/lit-switch-dollhouse-view/events.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/index.d.ts +18 -0
- package/dist/components/common/lit-switch-dollhouse-view/index.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/index.js +58 -0
- package/dist/components/common/lit-switch-dollhouse-view/index.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/interaction.d.ts +7 -0
- package/dist/components/common/lit-switch-dollhouse-view/interaction.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/interaction.js +20 -0
- package/dist/components/common/lit-switch-dollhouse-view/interaction.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/logic.d.ts +2 -0
- package/dist/components/common/lit-switch-dollhouse-view/logic.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/logic.js +7 -0
- package/dist/components/common/lit-switch-dollhouse-view/logic.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/properties.d.ts +5 -0
- package/dist/components/common/lit-switch-dollhouse-view/properties.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/properties.js +14 -0
- package/dist/components/common/lit-switch-dollhouse-view/properties.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/styles.d.ts +2 -0
- package/dist/components/common/lit-switch-dollhouse-view/styles.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/styles.js +41 -0
- package/dist/components/common/lit-switch-dollhouse-view/styles.js.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/template.d.ts +3 -0
- package/dist/components/common/lit-switch-dollhouse-view/template.d.ts.map +1 -0
- package/dist/components/common/lit-switch-dollhouse-view/template.js +18 -0
- package/dist/components/common/lit-switch-dollhouse-view/template.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/assets/icon.png.js +5 -0
- package/dist/components/common/lit-switch-floorplan-view/assets/icon.png.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/constants.d.ts +6 -0
- package/dist/components/common/lit-switch-floorplan-view/constants.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/constants.js +11 -0
- package/dist/components/common/lit-switch-floorplan-view/constants.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/events.d.ts +3 -0
- package/dist/components/common/lit-switch-floorplan-view/events.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/events.js +26 -0
- package/dist/components/common/lit-switch-floorplan-view/events.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/index.d.ts +18 -0
- package/dist/components/common/lit-switch-floorplan-view/index.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/index.js +58 -0
- package/dist/components/common/lit-switch-floorplan-view/index.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/interaction.d.ts +7 -0
- package/dist/components/common/lit-switch-floorplan-view/interaction.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/interaction.js +20 -0
- package/dist/components/common/lit-switch-floorplan-view/interaction.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/logic.d.ts +2 -0
- package/dist/components/common/lit-switch-floorplan-view/logic.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/logic.js +7 -0
- package/dist/components/common/lit-switch-floorplan-view/logic.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/properties.d.ts +5 -0
- package/dist/components/common/lit-switch-floorplan-view/properties.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/properties.js +14 -0
- package/dist/components/common/lit-switch-floorplan-view/properties.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/styles.d.ts +2 -0
- package/dist/components/common/lit-switch-floorplan-view/styles.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/styles.js +41 -0
- package/dist/components/common/lit-switch-floorplan-view/styles.js.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/template.d.ts +3 -0
- package/dist/components/common/lit-switch-floorplan-view/template.d.ts.map +1 -0
- package/dist/components/common/lit-switch-floorplan-view/template.js +18 -0
- package/dist/components/common/lit-switch-floorplan-view/template.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/assets/panorama-btn.svg.js +5 -0
- package/dist/components/common/lit-switch-panorama-view/assets/panorama-btn.svg.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/constants.d.ts +6 -0
- package/dist/components/common/lit-switch-panorama-view/constants.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/constants.js +11 -0
- package/dist/components/common/lit-switch-panorama-view/constants.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/events.d.ts +3 -0
- package/dist/components/common/lit-switch-panorama-view/events.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/events.js +26 -0
- package/dist/components/common/lit-switch-panorama-view/events.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/index.d.ts +18 -0
- package/dist/components/common/lit-switch-panorama-view/index.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/index.js +58 -0
- package/dist/components/common/lit-switch-panorama-view/index.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/interaction.d.ts +8 -0
- package/dist/components/common/lit-switch-panorama-view/interaction.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/interaction.js +20 -0
- package/dist/components/common/lit-switch-panorama-view/interaction.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/logic.d.ts +2 -0
- package/dist/components/common/lit-switch-panorama-view/logic.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/logic.js +12 -0
- package/dist/components/common/lit-switch-panorama-view/logic.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/properties.d.ts +5 -0
- package/dist/components/common/lit-switch-panorama-view/properties.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/properties.js +14 -0
- package/dist/components/common/lit-switch-panorama-view/properties.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/styles.d.ts +2 -0
- package/dist/components/common/lit-switch-panorama-view/styles.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/styles.js +40 -0
- package/dist/components/common/lit-switch-panorama-view/styles.js.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/template.d.ts +3 -0
- package/dist/components/common/lit-switch-panorama-view/template.d.ts.map +1 -0
- package/dist/components/common/lit-switch-panorama-view/template.js +18 -0
- package/dist/components/common/lit-switch-panorama-view/template.js.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +26 -0
- package/dist/components/index.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/tokens.d.ts +3 -0
- package/dist/styles/tokens.d.ts.map +1 -0
- package/dist/styles/tokens.generated.d.ts +3 -0
- package/dist/styles/tokens.generated.d.ts.map +1 -0
- package/dist/styles/tokens.generated.js +28 -0
- package/dist/styles/tokens.generated.js.map +1 -0
- package/dist/utils/define-lit-element.d.ts +5 -0
- package/dist/utils/define-lit-element.d.ts.map +1 -0
- package/dist/utils/define-lit-element.js +12 -0
- package/dist/utils/define-lit-element.js.map +1 -0
- package/package.json +58 -0
- package/theme/generated/element-plus-vars.css +60 -0
- package/theme/tokens.json +65 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { unsafeCSS, css } from "lit";
|
|
2
|
+
import iconUrl from "./assets/icon.png.js";
|
|
3
|
+
const styles = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host([active]) {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.mode-item {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
width: 26px;
|
|
15
|
+
height: 26px;
|
|
16
|
+
background-repeat: no-repeat;
|
|
17
|
+
background-size: 26px 26px;
|
|
18
|
+
background-position: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mode-item.dollhouse {
|
|
23
|
+
background-color: rgba(255, 0, 0, 0.4);
|
|
24
|
+
background-image: var(--lit-mode-dollhouse-icon, url(${unsafeCSS(iconUrl)}));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host(:not([button-enabled])),
|
|
28
|
+
:host([switching]) {
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host(:not([button-enabled])) .mode-item,
|
|
34
|
+
:host([switching]) .mode-item {
|
|
35
|
+
cursor: not-allowed;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
export {
|
|
39
|
+
styles
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sources":["../../../../src/components/common/lit-switch-dollhouse-view/styles.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-dollhouse-view 样式\n */\n\nimport { css, unsafeCSS } from 'lit'\r\nimport iconUrl from './assets/icon.png?url'\r\n\r\nexport const styles = css`\r\n :host {\r\n display: inline-block;\r\n }\r\n\r\n :host([active]) {\r\n display: none;\r\n }\r\n\r\n .mode-item {\r\n box-sizing: border-box;\r\n width: 26px;\r\n height: 26px;\r\n background-repeat: no-repeat;\r\n background-size: 26px 26px;\r\n background-position: center;\r\n cursor: pointer;\r\n }\r\n\r\n .mode-item.dollhouse {\r\n background-color: rgba(255, 0, 0, 0.4);\r\n background-image: var(--lit-mode-dollhouse-icon, url(${unsafeCSS(iconUrl)}));\r\n }\r\n\r\n :host(:not([button-enabled])),\r\n :host([switching]) {\r\n pointer-events: none;\r\n opacity: 0.5;\r\n }\r\n\r\n :host(:not([button-enabled])) .mode-item,\r\n :host([switching]) .mode-item {\r\n cursor: not-allowed;\r\n }\r\n`\r\n"],"names":[],"mappings":";;AASO,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2DAqBqC,UAAU,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-dollhouse-view/template.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAA;AAG/C,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,GAAG,cAAc,CAa/E"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { VIEW } from "./constants.js";
|
|
3
|
+
function renderDollhouseView(onClick) {
|
|
4
|
+
return html`
|
|
5
|
+
<div
|
|
6
|
+
class="mode-item ${VIEW}"
|
|
7
|
+
part="button"
|
|
8
|
+
role="button"
|
|
9
|
+
tabindex="0"
|
|
10
|
+
aria-label=${VIEW}
|
|
11
|
+
@click=${onClick}
|
|
12
|
+
></div>
|
|
13
|
+
`;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
renderDollhouseView
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.js","sources":["../../../../src/components/common/lit-switch-dollhouse-view/template.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-dollhouse-view 渲染模板\n */\n\nimport { html, type TemplateResult } from 'lit'\r\nimport { VIEW } from './constants.js'\r\n\r\nexport function renderDollhouseView(onClick: (e: Event) => void): TemplateResult {\r\n\r\n return html`\r\n <div\r\n class=\"mode-item ${VIEW}\"\r\n part=\"button\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n aria-label=${VIEW}\r\n @click=${onClick}\r\n ></div>\r\n `\r\n\r\n}\r\n"],"names":[],"mappings":";;AASO,SAAS,oBAAoB,SAA6C;AAE/E,SAAO;AAAA;AAAA,yBAEgB,IAAI;AAAA;AAAA;AAAA;AAAA,mBAIV,IAAI;AAAA,eACR,OAAO;AAAA;AAAA;AAItB;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const iconUrl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAATiSURBVGiB7Zq/iyRFFMc/r3u92d0Db11YowvW8AJBTkEzR40EAwMT/wD/AWMD4S4TRDkNxP9BFMHUjQw8QVCEC0QRQcTllvGQmV2uq55BV09X985Wd/WPZYP+wlAz3VXV79uv3o96UzBhwoQJEyZcGUjsAFWV2jjp2faeQ0ROWorfjrCqHgIfAS8DN1QVEVFA89vV3/VrTf2L36F+G56Ba1fW2vtJknwoIvd7E3ZkvwUOaw+qP/hC8kOMafGSF8A7IvJ9iE/SRBh4HzhULWSIEwqYAddcK+5a05hzz2laUcAN4D1VfSJEJqhhZ68nwJ438V1jzE9pmj6qzXFR+xlgAAvcA34NjTHGSJqm9XsX3X8VeN3Nrap6JiIvicgixCtI2FqrqmpV1ajqxx3m+FlVf7TW/qCqtzsJEoAx5gNV/V1Vf7PW/qGqT4f6Ny1pqS2drzvIlAFGRLIOYxuRJMkDqss83L/FnL5tdQljhpx0Rmn3Q2JVs+mgjI0aLpxIm7e3cYJcsxm5HY9BuL4Kg2jUcG2yaA1Tkh1Fw8YYoUo2KONW6ObR0ZHM53M/FHSR6S3v+39dJgjBeWw/RAYRJDyfz6HqEKIZi8jfsWNiH+HaQs5eNpzPWC7rqwoFdAgv7dtHVxseG0I1Q+ut4bV2nYO4aih2TK1WYdCGcWHJmYU6BxEFl/kU+fBx9ATNiFqFTYSHCEuf4kKTqt4VkQcd5mhCax/T2oY9G4mFH4fHgGh1h9XPhmuZVhcNj51aVooETYjdPHTNtEZNLYnItGK8dFdhR00tKQkPsltaVyi67pZwZK21Y2m4MLtBdkvrt9Z1t4TTcJIko2k4xoYb4zDlm0uB11T1KVxJxbX+59w1a21BduwlrSKip6en/eIwJeEt4BXgFqVN+h5403ef7GhOy0+Otre3g51b2XCxVFTV4sjUKhnnvjubrd8fNSwB9NawZx/WVfj/Is+aijqVKT7e8rWuNcCTjBuHK2GpScOtbVhEVsA9EfkyRhpVvcMlxOEhi3jQMqhfgLFTS4D1XzUMVcSju3Z8Bzf2ku69Pby0Ip6qvgDcJCICkDvHgyRJEiBrk+8HNXxyclLZLXUsALTdPFgiyQJZkiRF/G+FoIb39/cpJhORTgUA4BvKpORRoJ8lkiylmQxXAIip6m+CiPzSsuufwD+Ugtv698VioXt7exbQ4+NjPTg4sMDS69uIxrAUU9XvAxF52GWcqmbkhGHAAkCfsHRZGKbE4wXzK12mpaUNX0YBYGzUKx5BtE4t2/yNsQlZlr2ZpmnhWb8TkX9j52iS0d8tMYSXhjwsGWOux0qTpuk2OdkUCJ6/6IraSZ9g3ygvnabprQ7yjL0ffpbqf0u9NJyp6lJEZuRv8G1V3SM/xtTqAApwm7IC8oyqLv0+1lrJM8Pq2IbvQn4y6KYj/Nhpt7lkFbrpjgB9ATxXXKLqINa/A2etrlMmBiuq2VF9zsZ5G850LUTkjRCn4BsRkcfAHfJDX1FCeX2sd63e56Ix6+dEkL1mjPk8xAfaHz18EXgXeJ58KfmC4ROoxW1V1V23V1UROSXXcH2839/fyNdJbrpmVXVhrf1ka2vrq0EIe8SLM1AbD5Ytl0vZ3d1ltVrJzs5O/Rmt2rOzM5nNZuu2xZgl8FBEljFcJkyYMGHChCuA/wFm58McTlDyTwAAAABJRU5ErkJggg==";
|
|
2
|
+
export {
|
|
3
|
+
iconUrl as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=icon.png.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.png.js","sources":["../../../../../src/components/common/lit-switch-floorplan-view/assets/icon.png?url"],"sourcesContent":["export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAATiSURBVGiB7Zq/iyRFFMc/r3u92d0Db11YowvW8AJBTkEzR40EAwMT/wD/AWMD4S4TRDkNxP9BFMHUjQw8QVCEC0QRQcTllvGQmV2uq55BV09X985Wd/WPZYP+wlAz3VXV79uv3o96UzBhwoQJEyZcGUjsAFWV2jjp2faeQ0ROWorfjrCqHgIfAS8DN1QVEVFA89vV3/VrTf2L36F+G56Ba1fW2vtJknwoIvd7E3ZkvwUOaw+qP/hC8kOMafGSF8A7IvJ9iE/SRBh4HzhULWSIEwqYAddcK+5a05hzz2laUcAN4D1VfSJEJqhhZ68nwJ438V1jzE9pmj6qzXFR+xlgAAvcA34NjTHGSJqm9XsX3X8VeN3Nrap6JiIvicgixCtI2FqrqmpV1ajqxx3m+FlVf7TW/qCqtzsJEoAx5gNV/V1Vf7PW/qGqT4f6Ny1pqS2drzvIlAFGRLIOYxuRJMkDqss83L/FnL5tdQljhpx0Rmn3Q2JVs+mgjI0aLpxIm7e3cYJcsxm5HY9BuL4Kg2jUcG2yaA1Tkh1Fw8YYoUo2KONW6ObR0ZHM53M/FHSR6S3v+39dJgjBeWw/RAYRJDyfz6HqEKIZi8jfsWNiH+HaQs5eNpzPWC7rqwoFdAgv7dtHVxseG0I1Q+ut4bV2nYO4aih2TK1WYdCGcWHJmYU6BxEFl/kU+fBx9ATNiFqFTYSHCEuf4kKTqt4VkQcd5mhCax/T2oY9G4mFH4fHgGh1h9XPhmuZVhcNj51aVooETYjdPHTNtEZNLYnItGK8dFdhR00tKQkPsltaVyi67pZwZK21Y2m4MLtBdkvrt9Z1t4TTcJIko2k4xoYb4zDlm0uB11T1KVxJxbX+59w1a21BduwlrSKip6en/eIwJeEt4BXgFqVN+h5403ef7GhOy0+Otre3g51b2XCxVFTV4sjUKhnnvjubrd8fNSwB9NawZx/WVfj/Is+aijqVKT7e8rWuNcCTjBuHK2GpScOtbVhEVsA9EfkyRhpVvcMlxOEhi3jQMqhfgLFTS4D1XzUMVcSju3Z8Bzf2ku69Pby0Ip6qvgDcJCICkDvHgyRJEiBrk+8HNXxyclLZLXUsALTdPFgiyQJZkiRF/G+FoIb39/cpJhORTgUA4BvKpORRoJ8lkiylmQxXAIip6m+CiPzSsuufwD+Ugtv698VioXt7exbQ4+NjPTg4sMDS69uIxrAUU9XvAxF52GWcqmbkhGHAAkCfsHRZGKbE4wXzK12mpaUNX0YBYGzUKx5BtE4t2/yNsQlZlr2ZpmnhWb8TkX9j52iS0d8tMYSXhjwsGWOux0qTpuk2OdkUCJ6/6IraSZ9g3ygvnabprQ7yjL0ffpbqf0u9NJyp6lJEZuRv8G1V3SM/xtTqAApwm7IC8oyqLv0+1lrJM8Pq2IbvQn4y6KYj/Nhpt7lkFbrpjgB9ATxXXKLqINa/A2etrlMmBiuq2VF9zsZ5G850LUTkjRCn4BsRkcfAHfJDX1FCeX2sd63e56Ix6+dEkL1mjPk8xAfaHz18EXgXeJ58KfmC4ROoxW1V1V23V1UROSXXcH2839/fyNdJbrpmVXVhrf1ka2vrq0EIe8SLM1AbD5Ytl0vZ3d1ltVrJzs5O/Rmt2rOzM5nNZuu2xZgl8FBEljFcJkyYMGHChCuA/wFm58McTlDyTwAAAABJRU5ErkJggg==\""],"names":[],"mappings":"AAAA,MAAA,UAAe;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const TAG: "lit-switch-floorplan-view";
|
|
2
|
+
export declare const VIEW: "floorplan";
|
|
3
|
+
export declare const ICON_CSS_VAR: "--lit-mode-floorplan-icon";
|
|
4
|
+
export declare const CLICK_EVENT: "lit-switch-floorplan-click";
|
|
5
|
+
export declare const COMPLETE_EVENT: "lit-switch-floorplan-complete";
|
|
6
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,GAAG,EAAG,2BAAoC,CAAA;AAEvD,eAAO,MAAM,IAAI,EAAG,WAAoB,CAAA;AAExC,eAAO,MAAM,YAAY,EAAG,2BAAoC,CAAA;AAEhE,eAAO,MAAM,WAAW,EAAG,4BAAqC,CAAA;AAEhE,eAAO,MAAM,cAAc,EAAG,+BAAwC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const TAG = "lit-switch-floorplan-view";
|
|
2
|
+
const VIEW = "floorplan";
|
|
3
|
+
const CLICK_EVENT = "lit-switch-floorplan-click";
|
|
4
|
+
const COMPLETE_EVENT = "lit-switch-floorplan-complete";
|
|
5
|
+
export {
|
|
6
|
+
CLICK_EVENT,
|
|
7
|
+
COMPLETE_EVENT,
|
|
8
|
+
TAG,
|
|
9
|
+
VIEW
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/constants.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 常量(标签、事件名、CSS 变量)\n */\n\nexport const TAG = 'lit-switch-floorplan-view' as const\r\n\r\nexport const VIEW = 'floorplan' as const\r\n\r\nexport const ICON_CSS_VAR = '--lit-mode-floorplan-icon' as const\r\n\r\nexport const CLICK_EVENT = 'lit-switch-floorplan-click' as const\r\n\r\nexport const COMPLETE_EVENT = 'lit-switch-floorplan-complete' as const\r\n"],"names":[],"mappings":"AAMO,MAAM,MAAM;AAEZ,MAAM,OAAO;AAIb,MAAM,cAAc;AAEpB,MAAM,iBAAiB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/events.ts"],"names":[],"mappings":"AAQA,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,QAWpE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,QAWvE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CLICK_EVENT, VIEW, COMPLETE_EVENT } from "./constants.js";
|
|
2
|
+
function dispatchClick(host, originalEvent) {
|
|
3
|
+
host.dispatchEvent(new CustomEvent(CLICK_EVENT, {
|
|
4
|
+
bubbles: true,
|
|
5
|
+
composed: true,
|
|
6
|
+
detail: {
|
|
7
|
+
view: VIEW,
|
|
8
|
+
originalEvent
|
|
9
|
+
}
|
|
10
|
+
}));
|
|
11
|
+
}
|
|
12
|
+
function dispatchComplete(host, originalEvent) {
|
|
13
|
+
host.dispatchEvent(new CustomEvent(COMPLETE_EVENT, {
|
|
14
|
+
bubbles: true,
|
|
15
|
+
composed: true,
|
|
16
|
+
detail: {
|
|
17
|
+
view: VIEW,
|
|
18
|
+
originalEvent
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
dispatchClick,
|
|
24
|
+
dispatchComplete
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/events.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 自定义事件派发\n */\n\nimport { CLICK_EVENT, COMPLETE_EVENT, VIEW } from './constants.js'\r\n\r\nexport function dispatchClick(host: HTMLElement, originalEvent: Event) {\r\n\r\n host.dispatchEvent(new CustomEvent(CLICK_EVENT, {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n view: VIEW,\r\n originalEvent,\r\n },\r\n }))\r\n\r\n}\r\n\r\nexport function dispatchComplete(host: HTMLElement, originalEvent: Event) {\r\n\r\n host.dispatchEvent(new CustomEvent(COMPLETE_EVENT, {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n view: VIEW,\r\n originalEvent,\r\n },\r\n }))\r\n\r\n}\r\n"],"names":[],"mappings":";AAQO,SAAS,cAAc,MAAmB,eAAsB;AAErE,OAAK,cAAc,IAAI,YAAY,aAAa;AAAA,IAC9C,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,MACN,MAAM;AAAA,MACN;AAAA,IAAA;AAAA,EACF,CACD,CAAC;AAEJ;AAEO,SAAS,iBAAiB,MAAmB,eAAsB;AAExE,OAAK,cAAc,IAAI,YAAY,gBAAgB;AAAA,IACjD,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,MACN,MAAM;AAAA,MACN;AAAA,IAAA;AAAA,EACF,CACD,CAAC;AAEJ;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TAG } from './constants.js';
|
|
3
|
+
/** 切换到 floorplan 视图;qspace 须由宿主通过 :qspace 传入;active 时隐藏 */
|
|
4
|
+
export declare class LitSwitchFloorplanView extends LitElement {
|
|
5
|
+
qspace: any;
|
|
6
|
+
buttonEnabled: boolean;
|
|
7
|
+
active: boolean;
|
|
8
|
+
switching: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
private _onClick;
|
|
11
|
+
render(): import("lit-html").TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
[TAG]: LitSwitchFloorplanView;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAGhC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAMpC,2DAA2D;AAC3D,qBACa,sBAAuB,SAAQ,UAAU;IAGpD,MAAM,EAAE,GAAG,CAAO;IAQlB,aAAa,UAAQ;IAGrB,MAAM,UAAQ;IAGd,SAAS,UAAQ;IAEjB,MAAM,CAAC,MAAM,0BAAS;IAEtB,OAAO,CAAC,QAAQ,CAIf;IAED,MAAM;CAMP;AAED,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,qBAAqB;QAE7B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CAAA;KAE9B;CAEF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
import { safeCustomElement } from "../../../utils/define-lit-element.js";
|
|
4
|
+
import { TAG } from "./constants.js";
|
|
5
|
+
import { handleFloorplanClick } from "./interaction.js";
|
|
6
|
+
import { booleanAttr } from "./properties.js";
|
|
7
|
+
import { styles } from "./styles.js";
|
|
8
|
+
import { renderFloorplanView } from "./template.js";
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
12
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
13
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators[i])
|
|
15
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
16
|
+
if (kind && result) __defProp(target, key, result);
|
|
17
|
+
return result;
|
|
18
|
+
};
|
|
19
|
+
let LitSwitchFloorplanView = class extends LitElement {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.qspace = null;
|
|
23
|
+
this.buttonEnabled = false;
|
|
24
|
+
this.active = false;
|
|
25
|
+
this.switching = false;
|
|
26
|
+
this._onClick = (e) => {
|
|
27
|
+
handleFloorplanClick(this, e);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return renderFloorplanView(this._onClick);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
LitSwitchFloorplanView.styles = styles;
|
|
35
|
+
__decorateClass([
|
|
36
|
+
property({ attribute: false })
|
|
37
|
+
], LitSwitchFloorplanView.prototype, "qspace", 2);
|
|
38
|
+
__decorateClass([
|
|
39
|
+
property({
|
|
40
|
+
type: Boolean,
|
|
41
|
+
attribute: "button-enabled",
|
|
42
|
+
reflect: true,
|
|
43
|
+
converter: booleanAttr
|
|
44
|
+
})
|
|
45
|
+
], LitSwitchFloorplanView.prototype, "buttonEnabled", 2);
|
|
46
|
+
__decorateClass([
|
|
47
|
+
property({ type: Boolean, reflect: true })
|
|
48
|
+
], LitSwitchFloorplanView.prototype, "active", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
property({ type: Boolean, reflect: true })
|
|
51
|
+
], LitSwitchFloorplanView.prototype, "switching", 2);
|
|
52
|
+
LitSwitchFloorplanView = __decorateClass([
|
|
53
|
+
safeCustomElement(TAG)
|
|
54
|
+
], LitSwitchFloorplanView);
|
|
55
|
+
export {
|
|
56
|
+
LitSwitchFloorplanView
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/index.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 组件注册与属性声明\n */\n\nimport { LitElement } from 'lit'\r\nimport { property } from 'lit/decorators.js'\r\nimport { safeCustomElement } from '../../../utils/define-lit-element.js'\r\nimport { TAG } from './constants.js'\r\nimport { handleFloorplanClick } from './interaction.js'\r\nimport { booleanAttr } from './properties.js'\r\nimport { styles } from './styles.js'\r\nimport { renderFloorplanView } from './template.js'\r\n\r\n/** 切换到 floorplan 视图;qspace 须由宿主通过 :qspace 传入;active 时隐藏 */\r\n@safeCustomElement(TAG)\r\nexport class LitSwitchFloorplanView extends LitElement {\r\n\r\n @property({ attribute: false })\r\n qspace: any = null\r\n\r\n @property({\r\n type: Boolean,\r\n attribute: 'button-enabled',\r\n reflect: true,\r\n converter: booleanAttr,\r\n })\r\n buttonEnabled = false\r\n\r\n @property({ type: Boolean, reflect: true })\r\n active = false\r\n\r\n @property({ type: Boolean, reflect: true })\r\n switching = false\r\n\r\n static styles = styles\r\n\r\n private _onClick = (e: Event) => {\r\n\r\n handleFloorplanClick(this, e)\r\n\r\n }\r\n\r\n render() {\r\n\r\n return renderFloorplanView(this._onClick)\r\n\r\n }\r\n\r\n}\r\n\r\ndeclare global {\r\n\r\n interface HTMLElementTagNameMap {\r\n\r\n [TAG]: LitSwitchFloorplanView\r\n\r\n }\r\n\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBO,IAAM,yBAAN,cAAqC,WAAW;AAAA,EAAhD,cAAA;AAAA,UAAA,GAAA,SAAA;AAGL,SAAA,SAAc;AAQd,SAAA,gBAAgB;AAGhB,SAAA,SAAS;AAGT,SAAA,YAAY;AAIZ,SAAQ,WAAW,CAAC,MAAa;AAE/B,2BAAqB,MAAM,CAAC;AAAA,IAE9B;AAAA,EAAA;AAAA,EAEA,SAAS;AAEP,WAAO,oBAAoB,KAAK,QAAQ;AAAA,EAE1C;AAEF;AAjCa,uBAmBJ,SAAS;AAhBhB,gBAAA;AAAA,EADC,SAAS,EAAE,WAAW,MAAA,CAAO;AAAA,GAFnB,uBAGX,WAAA,UAAA,CAAA;AAQA,gBAAA;AAAA,EANC,SAAS;AAAA,IACR,MAAM;AAAA,IACN,WAAW;AAAA,IACX,SAAS;AAAA,IACT,WAAW;AAAA,EAAA,CACZ;AAAA,GAVU,uBAWX,WAAA,iBAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAb/B,uBAcX,WAAA,UAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAhB/B,uBAiBX,WAAA,aAAA,CAAA;AAjBW,yBAAN,gBAAA;AAAA,EADN,kBAAkB,GAAG;AAAA,GACT,sBAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/interaction.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAE5C,MAAM,EAAE,GAAG,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;CAEnB,CAAA;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,EAAE,CAAC,EAAE,KAAK,QAyBrE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { dispatchClick, dispatchComplete } from "./events.js";
|
|
2
|
+
import { turnToFloorplanView } from "./logic.js";
|
|
3
|
+
function handleFloorplanClick(host, e) {
|
|
4
|
+
if (!host.buttonEnabled || host.switching) {
|
|
5
|
+
e.preventDefault();
|
|
6
|
+
e.stopPropagation();
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
dispatchClick(host, e);
|
|
10
|
+
if (!host.qspace) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
turnToFloorplanView(host.qspace, () => {
|
|
14
|
+
dispatchComplete(host, e);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
handleFloorplanClick
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=interaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/interaction.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 点击交互流程\n */\n\nimport { dispatchClick, dispatchComplete } from './events.js'\r\nimport { turnToFloorplanView } from './logic.js'\r\n\r\nexport type FloorplanViewHost = HTMLElement & {\r\n\r\n qspace: any\r\n buttonEnabled: boolean\r\n switching: boolean\r\n\r\n}\r\n\r\nexport function handleFloorplanClick(host: FloorplanViewHost, e: Event) {\r\n\r\n if (!host.buttonEnabled || host.switching) {\r\n\r\n e.preventDefault()\r\n e.stopPropagation()\r\n\r\n return\r\n\r\n }\r\n\r\n dispatchClick(host, e)\r\n\r\n if (!host.qspace) {\r\n\r\n return\r\n\r\n }\r\n\r\n turnToFloorplanView(host.qspace, () => {\r\n\r\n dispatchComplete(host, e)\r\n\r\n })\r\n\r\n}\r\n"],"names":[],"mappings":";;AAiBO,SAAS,qBAAqB,MAAyB,GAAU;AAEtE,MAAI,CAAC,KAAK,iBAAiB,KAAK,WAAW;AAEzC,MAAE,eAAA;AACF,MAAE,gBAAA;AAEF;AAAA,EAEF;AAEA,gBAAc,MAAM,CAAC;AAErB,MAAI,CAAC,KAAK,QAAQ;AAEhB;AAAA,EAEF;AAEA,sBAAoB,KAAK,QAAQ,MAAM;AAErC,qBAAiB,MAAM,CAAC;AAAA,EAE1B,CAAC;AAEH;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logic.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/logic.ts"],"names":[],"mappings":"AAMA,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,IAAI,QAIpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logic.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/logic.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view qspace 视图切换逻辑\n */\n\nexport function turnToFloorplanView(qspace: any, complete: () => void) {\r\n\r\n qspace.view.turnToFloorplan({ complete })\r\n\r\n}\r\n"],"names":[],"mappings":"AAMO,SAAS,oBAAoB,QAAa,UAAsB;AAErE,SAAO,KAAK,gBAAgB,EAAE,SAAA,CAAU;AAE1C;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/properties.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;yBACD,MAAM,GAAG,IAAI,GAAG,OAAO;uBAQzB,OAAO,GAAG,MAAM,GAAG,IAAI;CAK3C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const booleanAttr = {
|
|
2
|
+
fromAttribute(value) {
|
|
3
|
+
if (value === null) return false;
|
|
4
|
+
if (value === "false" || value === "0") return false;
|
|
5
|
+
return true;
|
|
6
|
+
},
|
|
7
|
+
toAttribute(value) {
|
|
8
|
+
return value ? "" : null;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
booleanAttr
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"properties.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/properties.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 属性转换器\n */\n\nexport const booleanAttr = {\r\n fromAttribute(value: string | null): boolean {\r\n\r\n if (value === null) return false\r\n if (value === 'false' || value === '0') return false\r\n\r\n return true\r\n\r\n },\r\n toAttribute(value: boolean): string | null {\r\n\r\n return value ? '' : null\r\n\r\n },\r\n}\r\n"],"names":[],"mappings":"AAMO,MAAM,cAAc;AAAA,EACzB,cAAc,OAA+B;AAE3C,QAAI,UAAU,KAAM,QAAO;AAC3B,QAAI,UAAU,WAAW,UAAU,IAAK,QAAO;AAE/C,WAAO;AAAA,EAET;AAAA,EACA,YAAY,OAA+B;AAEzC,WAAO,QAAQ,KAAK;AAAA,EAEtB;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,MAAM,yBAkClB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { unsafeCSS, css } from "lit";
|
|
2
|
+
import iconUrl from "./assets/icon.png.js";
|
|
3
|
+
const styles = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host([active]) {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.mode-item {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
width: 26px;
|
|
15
|
+
height: 26px;
|
|
16
|
+
background-repeat: no-repeat;
|
|
17
|
+
background-size: 26px 26px;
|
|
18
|
+
background-position: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mode-item.floorplan {
|
|
23
|
+
background-color: rgba(255, 0, 0, 0.4);
|
|
24
|
+
background-image: var(--lit-mode-floorplan-icon, url(${unsafeCSS(iconUrl)}));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host(:not([button-enabled])),
|
|
28
|
+
:host([switching]) {
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host(:not([button-enabled])) .mode-item,
|
|
34
|
+
:host([switching]) .mode-item {
|
|
35
|
+
cursor: not-allowed;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
export {
|
|
39
|
+
styles
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/styles.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 样式\n */\n\nimport { css, unsafeCSS } from 'lit'\r\nimport iconUrl from './assets/icon.png?url'\r\n\r\nexport const styles = css`\r\n :host {\r\n display: inline-block;\r\n }\r\n\r\n :host([active]) {\r\n display: none;\r\n }\r\n\r\n .mode-item {\r\n box-sizing: border-box;\r\n width: 26px;\r\n height: 26px;\r\n background-repeat: no-repeat;\r\n background-size: 26px 26px;\r\n background-position: center;\r\n cursor: pointer;\r\n }\r\n\r\n .mode-item.floorplan {\r\n background-color: rgba(255, 0, 0, 0.4);\r\n background-image: var(--lit-mode-floorplan-icon, url(${unsafeCSS(iconUrl)}));\r\n }\r\n\r\n :host(:not([button-enabled])),\r\n :host([switching]) {\r\n pointer-events: none;\r\n opacity: 0.5;\r\n }\r\n\r\n :host(:not([button-enabled])) .mode-item,\r\n :host([switching]) .mode-item {\r\n cursor: not-allowed;\r\n }\r\n`\r\n"],"names":[],"mappings":";;AASO,MAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2DAqBqC,UAAU,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-floorplan-view/template.ts"],"names":[],"mappings":"AAMA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAA;AAG/C,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,GAAG,cAAc,CAa/E"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { VIEW } from "./constants.js";
|
|
3
|
+
function renderFloorplanView(onClick) {
|
|
4
|
+
return html`
|
|
5
|
+
<div
|
|
6
|
+
class="mode-item ${VIEW}"
|
|
7
|
+
part="button"
|
|
8
|
+
role="button"
|
|
9
|
+
tabindex="0"
|
|
10
|
+
aria-label=${VIEW}
|
|
11
|
+
@click=${onClick}
|
|
12
|
+
></div>
|
|
13
|
+
`;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
renderFloorplanView
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.js","sources":["../../../../src/components/common/lit-switch-floorplan-view/template.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-floorplan-view 渲染模板\n */\n\nimport { html, type TemplateResult } from 'lit'\r\nimport { VIEW } from './constants.js'\r\n\r\nexport function renderFloorplanView(onClick: (e: Event) => void): TemplateResult {\r\n\r\n return html`\r\n <div\r\n class=\"mode-item ${VIEW}\"\r\n part=\"button\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n aria-label=${VIEW}\r\n @click=${onClick}\r\n ></div>\r\n `\r\n\r\n}\r\n"],"names":[],"mappings":";;AASO,SAAS,oBAAoB,SAA6C;AAE/E,SAAO;AAAA;AAAA,yBAEgB,IAAI;AAAA;AAAA;AAAA;AAAA,mBAIV,IAAI;AAAA,eACR,OAAO;AAAA;AAAA;AAItB;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const panoramaIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">\n <circle cx="13" cy="13" r="8" stroke="#fff" stroke-width="1.8"/>\n <circle cx="13" cy="13" r="3" fill="#fff"/>\n <path d="M13 4V7M13 19V22M4 13H7M19 13H22" stroke="#fff" stroke-width="1.5" stroke-linecap="round"/>\n</svg>\n';
|
|
2
|
+
export {
|
|
3
|
+
panoramaIcon as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=panorama-btn.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panorama-btn.svg.js","sources":["../../../../../src/components/common/lit-switch-panorama-view/assets/panorama-btn.svg?raw"],"sourcesContent":["export default \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"26\\\" height=\\\"26\\\" viewBox=\\\"0 0 26 26\\\" fill=\\\"none\\\">\\n <circle cx=\\\"13\\\" cy=\\\"13\\\" r=\\\"8\\\" stroke=\\\"#fff\\\" stroke-width=\\\"1.8\\\"/>\\n <circle cx=\\\"13\\\" cy=\\\"13\\\" r=\\\"3\\\" fill=\\\"#fff\\\"/>\\n <path d=\\\"M13 4V7M13 19V22M4 13H7M19 13H22\\\" stroke=\\\"#fff\\\" stroke-width=\\\"1.5\\\" stroke-linecap=\\\"round\\\"/>\\n</svg>\\n\""],"names":[],"mappings":"AAAA,MAAA,eAAe;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const TAG: "lit-switch-panorama-view";
|
|
2
|
+
export declare const VIEW: "panorama";
|
|
3
|
+
export declare const ICON_CSS_VAR: "--lit-mode-panorama-icon";
|
|
4
|
+
export declare const CLICK_EVENT: "lit-switch-panorama-click";
|
|
5
|
+
export declare const COMPLETE_EVENT: "lit-switch-panorama-complete";
|
|
6
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-panorama-view/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,GAAG,EAAG,0BAAmC,CAAA;AAEtD,eAAO,MAAM,IAAI,EAAG,UAAmB,CAAA;AAEvC,eAAO,MAAM,YAAY,EAAG,0BAAmC,CAAA;AAE/D,eAAO,MAAM,WAAW,EAAG,2BAAoC,CAAA;AAE/D,eAAO,MAAM,cAAc,EAAG,8BAAuC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const TAG = "lit-switch-panorama-view";
|
|
2
|
+
const VIEW = "panorama";
|
|
3
|
+
const CLICK_EVENT = "lit-switch-panorama-click";
|
|
4
|
+
const COMPLETE_EVENT = "lit-switch-panorama-complete";
|
|
5
|
+
export {
|
|
6
|
+
CLICK_EVENT,
|
|
7
|
+
COMPLETE_EVENT,
|
|
8
|
+
TAG,
|
|
9
|
+
VIEW
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../src/components/common/lit-switch-panorama-view/constants.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-panorama-view 常量(标签、事件名、CSS 变量)\n */\n\nexport const TAG = 'lit-switch-panorama-view' as const\r\n\r\nexport const VIEW = 'panorama' as const\r\n\r\nexport const ICON_CSS_VAR = '--lit-mode-panorama-icon' as const\r\n\r\nexport const CLICK_EVENT = 'lit-switch-panorama-click' as const\r\n\r\nexport const COMPLETE_EVENT = 'lit-switch-panorama-complete' as const\r\n"],"names":[],"mappings":"AAMO,MAAM,MAAM;AAEZ,MAAM,OAAO;AAIb,MAAM,cAAc;AAEpB,MAAM,iBAAiB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-panorama-view/events.ts"],"names":[],"mappings":"AAQA,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,QAWpE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,QAWvE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CLICK_EVENT, VIEW, COMPLETE_EVENT } from "./constants.js";
|
|
2
|
+
function dispatchClick(host, originalEvent) {
|
|
3
|
+
host.dispatchEvent(new CustomEvent(CLICK_EVENT, {
|
|
4
|
+
bubbles: true,
|
|
5
|
+
composed: true,
|
|
6
|
+
detail: {
|
|
7
|
+
view: VIEW,
|
|
8
|
+
originalEvent
|
|
9
|
+
}
|
|
10
|
+
}));
|
|
11
|
+
}
|
|
12
|
+
function dispatchComplete(host, originalEvent) {
|
|
13
|
+
host.dispatchEvent(new CustomEvent(COMPLETE_EVENT, {
|
|
14
|
+
bubbles: true,
|
|
15
|
+
composed: true,
|
|
16
|
+
detail: {
|
|
17
|
+
view: VIEW,
|
|
18
|
+
originalEvent
|
|
19
|
+
}
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
dispatchClick,
|
|
24
|
+
dispatchComplete
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sources":["../../../../src/components/common/lit-switch-panorama-view/events.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-panorama-view 自定义事件派发\n */\n\nimport { CLICK_EVENT, COMPLETE_EVENT, VIEW } from './constants.js'\r\n\r\nexport function dispatchClick(host: HTMLElement, originalEvent: Event) {\r\n\r\n host.dispatchEvent(new CustomEvent(CLICK_EVENT, {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n view: VIEW,\r\n originalEvent,\r\n },\r\n }))\r\n\r\n}\r\n\r\nexport function dispatchComplete(host: HTMLElement, originalEvent: Event) {\r\n\r\n host.dispatchEvent(new CustomEvent(COMPLETE_EVENT, {\r\n bubbles: true,\r\n composed: true,\r\n detail: {\r\n view: VIEW,\r\n originalEvent,\r\n },\r\n }))\r\n\r\n}\r\n"],"names":[],"mappings":";AAQO,SAAS,cAAc,MAAmB,eAAsB;AAErE,OAAK,cAAc,IAAI,YAAY,aAAa;AAAA,IAC9C,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,MACN,MAAM;AAAA,MACN;AAAA,IAAA;AAAA,EACF,CACD,CAAC;AAEJ;AAEO,SAAS,iBAAiB,MAAmB,eAAsB;AAExE,OAAK,cAAc,IAAI,YAAY,gBAAgB;AAAA,IACjD,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,MACN,MAAM;AAAA,MACN;AAAA,IAAA;AAAA,EACF,CACD,CAAC;AAEJ;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TAG } from './constants.js';
|
|
3
|
+
/** 切换到 panorama 视图;qspace 须由宿主通过 :qspace 传入;active 时隐藏 */
|
|
4
|
+
export declare class LitSwitchPanoramaView extends LitElement {
|
|
5
|
+
qspace: any;
|
|
6
|
+
buttonEnabled: boolean;
|
|
7
|
+
active: boolean;
|
|
8
|
+
switching: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
private _onClick;
|
|
11
|
+
render(): import("lit-html").TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
[TAG]: LitSwitchPanoramaView;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/common/lit-switch-panorama-view/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAGhC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAMpC,0DAA0D;AAC1D,qBACa,qBAAsB,SAAQ,UAAU;IAGnD,MAAM,EAAE,GAAG,CAAO;IAQlB,aAAa,UAAQ;IAGrB,MAAM,UAAQ;IAGd,SAAS,UAAQ;IAEjB,MAAM,CAAC,MAAM,0BAAS;IAEtB,OAAO,CAAC,QAAQ,CAIf;IAED,MAAM;CAMP;AAED,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,qBAAqB;QAE7B,CAAC,GAAG,CAAC,EAAE,qBAAqB,CAAA;KAE7B;CAEF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
import { safeCustomElement } from "../../../utils/define-lit-element.js";
|
|
4
|
+
import { TAG } from "./constants.js";
|
|
5
|
+
import { handlePanoramaClick } from "./interaction.js";
|
|
6
|
+
import { booleanAttr } from "./properties.js";
|
|
7
|
+
import { styles } from "./styles.js";
|
|
8
|
+
import { renderPanoramaView } from "./template.js";
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
12
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
13
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators[i])
|
|
15
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
16
|
+
if (kind && result) __defProp(target, key, result);
|
|
17
|
+
return result;
|
|
18
|
+
};
|
|
19
|
+
let LitSwitchPanoramaView = class extends LitElement {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.qspace = null;
|
|
23
|
+
this.buttonEnabled = false;
|
|
24
|
+
this.active = false;
|
|
25
|
+
this.switching = false;
|
|
26
|
+
this._onClick = (e) => {
|
|
27
|
+
handlePanoramaClick(this, e);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return renderPanoramaView(this._onClick);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
LitSwitchPanoramaView.styles = styles;
|
|
35
|
+
__decorateClass([
|
|
36
|
+
property({ attribute: false })
|
|
37
|
+
], LitSwitchPanoramaView.prototype, "qspace", 2);
|
|
38
|
+
__decorateClass([
|
|
39
|
+
property({
|
|
40
|
+
type: Boolean,
|
|
41
|
+
attribute: "button-enabled",
|
|
42
|
+
reflect: true,
|
|
43
|
+
converter: booleanAttr
|
|
44
|
+
})
|
|
45
|
+
], LitSwitchPanoramaView.prototype, "buttonEnabled", 2);
|
|
46
|
+
__decorateClass([
|
|
47
|
+
property({ type: Boolean, reflect: true })
|
|
48
|
+
], LitSwitchPanoramaView.prototype, "active", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
property({ type: Boolean, reflect: true })
|
|
51
|
+
], LitSwitchPanoramaView.prototype, "switching", 2);
|
|
52
|
+
LitSwitchPanoramaView = __decorateClass([
|
|
53
|
+
safeCustomElement(TAG)
|
|
54
|
+
], LitSwitchPanoramaView);
|
|
55
|
+
export {
|
|
56
|
+
LitSwitchPanoramaView
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/common/lit-switch-panorama-view/index.ts"],"sourcesContent":["/*\n * @Author: ncz\n * @Date: 2026-05-30\n * @Description: lit-switch-panorama-view 组件注册与属性声明\n */\n\nimport { LitElement } from 'lit'\r\nimport { property } from 'lit/decorators.js'\r\nimport { safeCustomElement } from '../../../utils/define-lit-element.js'\r\nimport { TAG } from './constants.js'\r\nimport { handlePanoramaClick } from './interaction.js'\r\nimport { booleanAttr } from './properties.js'\r\nimport { styles } from './styles.js'\r\nimport { renderPanoramaView } from './template.js'\r\n\r\n/** 切换到 panorama 视图;qspace 须由宿主通过 :qspace 传入;active 时隐藏 */\r\n@safeCustomElement(TAG)\r\nexport class LitSwitchPanoramaView extends LitElement {\r\n\r\n @property({ attribute: false })\r\n qspace: any = null\r\n\r\n @property({\r\n type: Boolean,\r\n attribute: 'button-enabled',\r\n reflect: true,\r\n converter: booleanAttr,\r\n })\r\n buttonEnabled = false\r\n\r\n @property({ type: Boolean, reflect: true })\r\n active = false\r\n\r\n @property({ type: Boolean, reflect: true })\r\n switching = false\r\n\r\n static styles = styles\r\n\r\n private _onClick = (e: Event) => {\r\n\r\n handlePanoramaClick(this, e)\r\n\r\n }\r\n\r\n render() {\r\n\r\n return renderPanoramaView(this._onClick)\r\n\r\n }\r\n\r\n}\r\n\r\ndeclare global {\r\n\r\n interface HTMLElementTagNameMap {\r\n\r\n [TAG]: LitSwitchPanoramaView\r\n\r\n }\r\n\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiBO,IAAM,wBAAN,cAAoC,WAAW;AAAA,EAA/C,cAAA;AAAA,UAAA,GAAA,SAAA;AAGL,SAAA,SAAc;AAQd,SAAA,gBAAgB;AAGhB,SAAA,SAAS;AAGT,SAAA,YAAY;AAIZ,SAAQ,WAAW,CAAC,MAAa;AAE/B,0BAAoB,MAAM,CAAC;AAAA,IAE7B;AAAA,EAAA;AAAA,EAEA,SAAS;AAEP,WAAO,mBAAmB,KAAK,QAAQ;AAAA,EAEzC;AAEF;AAjCa,sBAmBJ,SAAS;AAhBhB,gBAAA;AAAA,EADC,SAAS,EAAE,WAAW,MAAA,CAAO;AAAA,GAFnB,sBAGX,WAAA,UAAA,CAAA;AAQA,gBAAA;AAAA,EANC,SAAS;AAAA,IACR,MAAM;AAAA,IACN,WAAW;AAAA,IACX,SAAS;AAAA,IACT,WAAW;AAAA,EAAA,CACZ;AAAA,GAVU,sBAWX,WAAA,iBAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAb/B,sBAcX,WAAA,UAAA,CAAA;AAGA,gBAAA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,MAAM;AAAA,GAhB/B,sBAiBX,WAAA,aAAA,CAAA;AAjBW,wBAAN,gBAAA;AAAA,EADN,kBAAkB,GAAG;AAAA,GACT,qBAAA;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type PanoramaViewHost = HTMLElement & {
|
|
2
|
+
qspace: any;
|
|
3
|
+
buttonEnabled: boolean;
|
|
4
|
+
switching: boolean;
|
|
5
|
+
};
|
|
6
|
+
/** 点击交互:校验 → 派发 click → 执行 qspace 切换 → 派发 complete */
|
|
7
|
+
export declare function handlePanoramaClick(host: PanoramaViewHost, e: Event): void;
|
|
8
|
+
//# sourceMappingURL=interaction.d.ts.map
|