@mapvx/web-components 0.0.31 → 0.0.32
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-CE7cLn0s.cjs → base-floor-selector-IDYKUTl3.cjs} +2 -2
- package/dist/cjs/{class-map-eCOKIRN0.cjs → class-map-CGHo1D7M.cjs} +2 -2
- package/dist/cjs/{compact-floor-selector-Bz6YDGPj.cjs → compact-floor-selector-Co8Y3T2c.cjs} +2 -2
- package/dist/cjs/{consume-BwFNwTeY.cjs → consume-BWIh7rxI.cjs} +2 -2
- package/dist/cjs/custom-map--UZ5N3Lg.cjs +97 -0
- package/dist/cjs/{floor-selector-C_EtfxAQ.cjs → floor-selector-CNuGDuNc.cjs} +2 -2
- package/dist/cjs/{lazy-load-CQfPqI_4.cjs → lazy-load-Dy0Wc6yS.cjs} +2 -2
- package/dist/cjs/map-view-with-modal.cjs +1 -1
- package/dist/cjs/{qr-modal-Cv_LW0Xb.cjs → qr-modal-Dq7dOqh6.cjs} +2 -2
- package/dist/cjs/{route-options-Cl_LAr4B.cjs → route-options-B45xnSu4.cjs} +2 -2
- package/dist/cjs/route-view-totems.cjs +1 -1
- package/dist/es/assets/{compact-floor-selector-CfnqUycd.js → compact-floor-selector-BQ0lsGyg.js} +2 -2
- package/dist/es/assets/{components-DaeCLpLi.js → components-CNuu24gs.js} +2 -2
- package/dist/es/assets/{map-view-with-modal-D8l3YXwn.js → map-view-with-modal-JX4bFkkK.js} +2 -2
- package/dist/es/assets/{route-view-totems-Cr0VC9Fu.js → route-view-totems-B-1OEdkb.js} +4 -4
- package/dist/es/assets/{utils-BxV274fg.js → utils-DslQaI0J.js} +2 -2
- package/dist/es/index.js +1 -1
- package/dist/es/route-view-totems.js +1 -1
- package/dist/iife/map-view-with-modal.js +1 -1
- package/dist/iife/route-view-totems.js +1 -1
- package/dist/update-timestamp.txt +1 -0
- package/package.json +1 -1
- package/dist/cjs/custom-map-2cHS_139.cjs +0 -97
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lazy-load-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lazy-load-Dy0Wc6yS.cjs"),e=require("./class-map-CGHo1D7M.cjs"),t=require("./base-floor-selector-IDYKUTl3.cjs");var r=Object.getOwnPropertyDescriptor;exports.FloorSelector=class extends t.BaseFloorSelector{render(){if(!this.sdkData)return o.x`<div>No data</div>`;const t=this.getFloors();return o.x`
|
|
2
2
|
<div class="floor-selector-container">
|
|
3
3
|
${t.map(t=>{const r=this.isFloorActive(t),n=this.isFloorEnabled(t);return o.x`
|
|
4
4
|
<div class="floor-btn-container">
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
`})}
|
|
13
13
|
</div>
|
|
14
14
|
`}},exports.FloorSelector.styles=[o.r(':host{position:absolute;top:0;right:10px}.floor-selector-container{display:flex;flex-direction:row;background:#fff;border-radius:0 0 30px 30px;box-shadow:0 0 15px #00000026;padding:0 6px;gap:8px;height:65px}.btn-floor{height:auto;width:100px;vertical-align:middle;font-size:small!important;word-wrap:break-word!important;font-family:Poppins;font-weight:600;font-size:16pt;border-radius:10px;border:0;box-shadow:0 0 15px #00000026}@media only screen and (max-width:576px){.btn-floor{padding:6px;width:70px;height:auto;font-size:small!important}}.floor-btn-container:hover .floor-btn:not(.active):not(.disabled){border-radius:0 0 999px 999px;background:#000;color:#fff}.floor-btn{transition:background .2s ease,color .2s ease,transform .2s ease,opacity .2s ease;position:relative;background:transparent;border:none;outline:none;font-family:Poppins,sans-serif;font-weight:600;font-size:13px;border-radius:0 0 30px 30px;cursor:pointer;transition:all .2s ease;height:100%;min-width:65px;display:flex;align-items:center;justify-content:center;color:#000;z-index:1;span{min-width:50px}}.floor-btn.disabled{color:#c5c3c3;background:transparent;pointer-events:none;-webkit-tap-highlight-color:transparent;user-select:none}.floor-btn.active{color:#fff;background:transparent;z-index:2}.floor-btn.active:after{content:"";position:absolute;inset:0 2px;border-radius:0 0 999px 999px;background:#000;color:#fff;z-index:1}.floor-btn.active:before{content:"";position:absolute;inset:0 -3px -3px;border-radius:0 0 999px 999px;background:linear-gradient(45.8deg,#f5a 10.03%,#b850c9 25.23%,#6572d6 48.67%,#4eaeb8 72.74%);z-index:0}.floor-btn.active span{z-index:10}@media(max-width:1100px){.floor-btn-container:hover .floor-btn:not(.active):not(.disabled){border-radius:999px 0 0 999px;background:#000;color:#fff}.floor-selector-container{right:0;position:fixed;top:50%;transform:translateY(-50%);display:flex;flex-direction:column-reverse;border-radius:30px 0 0 30px;min-width:87px;max-height:100%;height:auto;padding:0;gap:0}.floor-btn-container{padding:0;width:100%}.floor-btn{width:100%;padding:20px;border-radius:999px 0 0 999px}.floor-btn.active:after{position:absolute;inset:2px 0 2px 2px;border-radius:999px 0 0 999px}.floor-btn.active:before{inset:-3px 0 -3px -3px;border-radius:999px 0 0 999px}}')],exports.FloorSelector=((o,e,t,n)=>{for(var i,a=n>1?void 0:n?r(e,t):e,s=o.length-1;s>=0;s--)(i=o[s])&&(a=i(a)||a);return a})([o.t("floor-selector")],exports.FloorSelector);
|
|
15
|
-
//# sourceMappingURL=floor-selector-
|
|
15
|
+
//# sourceMappingURL=floor-selector-CNuGDuNc.cjs.map
|