@mapvx/web-components 0.9.0-dev.3 → 0.10.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/dist/cjs/{base-floor-selector-C8tXYk9W.cjs → base-floor-selector-BMedqz0P.cjs} +3 -3
- package/dist/cjs/{class-map-DISSQ8nF.cjs → class-map-C2D175vh.cjs} +3 -3
- package/dist/cjs/{compact-floor-selector-BJkUv0BS.cjs → compact-floor-selector-DnF3Y0bm.cjs} +3 -3
- package/dist/cjs/{consume-DHGUcjnF.cjs → consume-DGHiJ7I1.cjs} +3 -3
- package/dist/cjs/{custom-map-DbyZ9EK1.cjs → custom-map-DMTzK90c.cjs} +3 -3
- package/dist/cjs/{enable-3d-attribute-BSYIYIR9.cjs → enable-3d-attribute-COwMFAl3.cjs} +4 -4
- package/dist/cjs/{floor-selector-CJVs0IRb.cjs → floor-selector-BdcHwHM5.cjs} +3 -3
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/map-view-with-modal.cjs +3 -3
- package/dist/cjs/{qr-modal-BdL3fOhS.cjs → qr-modal-CVcwWbMz.cjs} +3 -3
- package/dist/cjs/{route-options-Brl4A4MD.cjs → route-options-bipiWsdN.cjs} +3 -3
- package/dist/cjs/route-view-totems.cjs +3 -3
- package/dist/es/assets/{base-floor-selector-DWcWg26z.js → base-floor-selector-tMT3OqNn.js} +3 -3
- package/dist/es/assets/{class-map-D1siPz5g.js → class-map-DARMkWL5.js} +3 -3
- package/dist/es/assets/{compact-floor-selector-LOwA4Kgm.js → compact-floor-selector-Cn32jNQ1.js} +3 -3
- package/dist/es/assets/{consume-DDxKBV3a.js → consume-CHy7FszE.js} +3 -3
- package/dist/es/assets/{custom-map-CuC_VSae.js → custom-map-D5CN1bK4.js} +3 -3
- package/dist/es/assets/{enable-3d-attribute-weTE_-As.js → enable-3d-attribute-ByF7UVrM.js} +3 -3
- package/dist/es/assets/{floor-selector-CxZUO8Ht.js → floor-selector-Dl4c0hkj.js} +3 -3
- package/dist/es/assets/{qr-modal-pVy0sZh6.js → qr-modal-CcTW0MC4.js} +3 -3
- package/dist/es/assets/{route-options-By5c6MeY.js → route-options-JdoUif98.js} +3 -3
- package/dist/es/index.js +3 -3
- package/dist/es/map-view-with-modal.js +3 -3
- package/dist/es/route-view-totems.js +3 -3
- package/dist/iife/map-view-with-modal.js +3 -3
- package/dist/iife/route-view-totems.js +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
-
const e=require("./consume-
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a882289-5f92-5516-a5d9-b0b60963131a")}catch(e){}}();
|
|
3
|
+
const e=require("./consume-DGHiJ7I1.cjs"),t=require("./enable-3d-attribute-COwMFAl3.cjs");var r=Object.defineProperty;class o extends t.i{getFloors(){if(!this.sdkData)return[];const{parentPlace:e,generalConfig:t}=this.sdkData;let r=e?.innerFloors||[];const o=t?.enabledFloors;return o&&o.length>0&&(r=r.filter(e=>o.includes(e.key))),r}getCurrentFloor(){return this.sdkData?.currentFloor}getEnabledFloors(){return this.sdkData?.enabledFloors||[]}isFloorActive(e){const t=this.getCurrentFloor();return e.key===t?.key}isFloorEnabled(e){return this.getEnabledFloors().some(t=>t.key===e.key)}selectFloor(e){this.dispatchEvent(new CustomEvent("floorChange",{detail:e,bubbles:!0,composed:!0}))}getFloorDisplayName(e){return e.name||e.key}}((e,t,o)=>{for(var s,n=void 0,l=e.length-1;l>=0;l--)(s=e[l])&&(n=s(t,o,n)||n);n&&r(t,o,n)})([e.c({context:t.sdkContext,subscribe:!0})],o.prototype,"sdkData"),exports.BaseFloorSelector=o;
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=7a882289-5f92-5516-a5d9-b0b60963131a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
-
const t=require("./enable-3d-attribute-
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be868722-6e75-54b6-a029-6114e130b300")}catch(e){}}();
|
|
3
|
+
const t=require("./enable-3d-attribute-COwMFAl3.cjs"),s=1;
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2017 Google LLC
|
|
@@ -12,4 +12,4 @@ const t=require("./enable-3d-attribute-BSYIYIR9.cjs"),s=1;
|
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
13
|
*/const r=(t=>(...s)=>({_$litDirective$:t,values:s}))(class extends e{constructor(t){if(super(t),t.type!==s||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(s,[e]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=s.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const s=!!e[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return t.E}});exports.e=r;
|
|
14
14
|
|
|
15
|
-
//# debugId=
|
|
15
|
+
//# debugId=be868722-6e75-54b6-a029-6114e130b300
|
package/dist/cjs/{compact-floor-selector-BJkUv0BS.cjs → compact-floor-selector-DnF3Y0bm.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./enable-3d-attribute-
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="46172da8-a851-5f9f-8b19-68542d1797c5")}catch(e){}}();
|
|
3
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./enable-3d-attribute-COwMFAl3.cjs"),r=require("./class-map-C2D175vh.cjs"),e=require("./base-floor-selector-BMedqz0P.cjs");var t,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=o=>{throw TypeError(o)},a=(o,r,e,t)=>{for(var i,a=t>1?void 0:t?s(r,e):r,n=o.length-1;n>=0;n--)(i=o[n])&&(a=(t?i(r,e,a):i(a))||a);return t&&a&&l(r,e,a),a},n=(o,r,e)=>r.has(o)||i("Cannot "+e);exports.CompactFloorSelector=class extends e.BaseFloorSelector{constructor(){var o,r,e;super(...arguments),o=this,e=!1,(r=t).has(o)?i("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(o):r.set(o,e),this.isOpen=!1,this._handleClickOutside=o=>{this.isOpen&&!this.shadowRoot?.contains(o.target)&&(this.isOpen=!1,this.requestUpdate())}}get disabled(){return n(o=this,r=t,"read from private field"),e?e.call(o):r.get(o);var o,r,e}set disabled(o){var r,e,l;l=o,n(r=this,e=t,"write to private field"),e.set(r,l)}_toggleDropdown(o){this.disabled||(o.stopPropagation(),this.isOpen=!this.isOpen,this.requestUpdate())}_selectFloor(o){this.disabled||(this.selectFloor(o),this.isOpen=!1,this.requestUpdate())}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleClickOutside)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutside)}render(){if(!this.sdkData)return o.b`<div>No data</div>`;const e=this.getFloors(),t=this.getCurrentFloor(),l=t?this.getFloorDisplayName(t):"Seleccionar piso";return o.b`
|
|
4
4
|
<div class="floor-dropdown">
|
|
5
5
|
<button
|
|
6
6
|
class=${r.e({"floor-button":!0,active:!!t,open:this.isOpen})}
|
|
@@ -176,4 +176,4 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=requi
|
|
|
176
176
|
}
|
|
177
177
|
`],a([o.n({type:Boolean})],exports.CompactFloorSelector.prototype,"disabled",1),exports.CompactFloorSelector=a([o.t("compact-floor-selector")],exports.CompactFloorSelector);
|
|
178
178
|
|
|
179
|
-
//# debugId=
|
|
179
|
+
//# debugId=46172da8-a851-5f9f-8b19-68542d1797c5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
-
const s=require("./enable-3d-attribute-
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00eb7b39-cb4c-5fd6-8acb-6d768cbddbf8")}catch(e){}}();
|
|
3
|
+
const s=require("./enable-3d-attribute-COwMFAl3.cjs");
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2021 Google LLC
|
|
@@ -12,4 +12,4 @@ const s=require("./enable-3d-attribute-BSYIYIR9.cjs");
|
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
13
|
*/exports.c=function({context:s,subscribe:i}){return(e,c)=>{"object"==typeof c?c.addInitializer(function(){new t(this,{context:s,callback:s=>{e.set.call(this,s)},subscribe:i})}):e.constructor.addInitializer(e=>{new t(e,{context:s,callback:s=>{e[c]=s},subscribe:i})})}};
|
|
14
14
|
|
|
15
|
-
//# debugId=
|
|
15
|
+
//# debugId=00eb7b39-cb4c-5fd6-8acb-6d768cbddbf8
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./consume-
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4b842cd5-f60b-509c-a6f8-b4a2bad592dd")}catch(e){}}();
|
|
3
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./consume-DGHiJ7I1.cjs"),t=require("./enable-3d-attribute-COwMFAl3.cjs"),r=require("./icon-destination-point-C8Bl9rvO.cjs");
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2017 Google LLC
|
|
@@ -174,4 +174,4 @@ var l=Object.create,u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c=
|
|
|
174
174
|
}
|
|
175
175
|
`],kp([e.c({context:t.sdkContext,subscribe:!0})],exports.CustomMap.prototype,"sdkData",2),kp([t.n({type:Number,attribute:"padding-left"})],exports.CustomMap.prototype,"paddingLeft",1),kp([t.n({type:Number,attribute:"fit-max-zoom"})],exports.CustomMap.prototype,"fitMaxZoom",1),kp([t.n({type:Number,attribute:"single-point-max-zoom"})],exports.CustomMap.prototype,"singlePointMaxZoom",1),kp([t.n({type:Number,attribute:"route-fit-max-zoom"})],exports.CustomMap.prototype,"routeFitMaxZoom",1),kp([t.n({type:Number,attribute:"camera-padding-top"})],exports.CustomMap.prototype,"cameraPaddingTop",1),kp([t.n({type:Number,attribute:"camera-padding-right"})],exports.CustomMap.prototype,"cameraPaddingRight",1),kp([t.n({type:Number,attribute:"camera-padding-bottom"})],exports.CustomMap.prototype,"cameraPaddingBottom",1),kp([t.n({type:Number,attribute:"camera-padding-left"})],exports.CustomMap.prototype,"cameraPaddingLeft",1),kp([t.n({type:String,attribute:"overlay-padding-mode"})],exports.CustomMap.prototype,"overlayPaddingMode",1),kp([t.n({type:String,attribute:"loading-icon"})],exports.CustomMap.prototype,"loadingIcon",1),kp([t.n({type:String,attribute:"loading-text"})],exports.CustomMap.prototype,"loadingText",1),kp([t.n({attribute:"enable-3d",converter:t.enable3DConverter})],exports.CustomMap.prototype,"enable3D",1),kp([t.n({attribute:"scene-3d-place-ids",converter:{fromAttribute:e=>e?e.split(",").map(e=>e.trim()).filter(Boolean):[]}})],exports.CustomMap.prototype,"scene3dPlaceIds",1),kp([t.n({type:String,attribute:"marker-variant"})],exports.CustomMap.prototype,"markerVariant",1),kp([i()],exports.CustomMap.prototype,"_clearMapLoadingText",2),kp([i()],exports.CustomMap.prototype,"showLoadingOverlay",2),exports.CustomMap=kp([t.t("custom-map")],exports.CustomMap);
|
|
176
176
|
|
|
177
|
-
//# debugId=
|
|
177
|
+
//# debugId=4b842cd5-f60b-509c-a6f8-b4a2bad592dd
|