@mappedin/blue-dot 6.21.1-beta.0 → 6.23.0-beta.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 +2 -0
- package/lib/esm/chunk-L57APJ3L.js +2 -0
- package/lib/esm/{chunk-Z7JSDF6R.js → chunk-SM3VIXP7.js} +1 -1
- package/lib/esm/debug/index.d.ts +33 -5
- package/lib/esm/debug/index.js +1 -1
- package/lib/esm/index.d.ts +34 -6
- package/lib/esm/index.js +1 -1
- package/lib/esm/react/index.d.ts +33 -5
- package/lib/esm/react/index.js +1 -1
- package/lib/rn/blue-dot.d.ts +9 -1
- package/lib/rn/index-rn.js +2 -2
- package/lib/rn/logger.d.ts +3 -1
- package/lib/rn/status/status.d.ts +2 -2
- package/lib/rn/status/types.d.ts +12 -1
- package/lib/rn/types.d.ts +14 -5
- package/package.json +4 -4
- package/lib/esm/chunk-Q6T2WYNW.js +0 -2
package/README.md
CHANGED
|
@@ -241,6 +241,8 @@ Options:
|
|
|
241
241
|
- `silent?: boolean` - If true, don't trigger status transitions or events
|
|
242
242
|
- `animate?: boolean` - If false, skip position animation (default: true)
|
|
243
243
|
|
|
244
|
+
> **Floor visibility**: When `multiFloorView` is disabled, the BlueDot is only shown while its floor (`floorOrFloorId`) is the visible floor. Switching to another floor sets its `status` to `'hidden'`; returning to its floor restores the previous status. When `multiFloorView` is enabled, the BlueDot is shown on all floors.
|
|
245
|
+
|
|
244
246
|
#### `follow(mode, options?)`
|
|
245
247
|
|
|
246
248
|
Make the camera follow the BlueDot.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var d=Object.create;var E=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var _=e=>{throw TypeError(e)};var O=(e,o,t)=>o in e?E(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t;var a=(e,o)=>E(e,"name",{value:o,configurable:!0});var S=(e,o)=>()=>(e&&(o=e(e=0)),o);var x=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var R=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of p(o))!D.call(e,n)&&n!==t&&E(e,n,{get:()=>o[n],enumerable:!(r=f(o,n))||r.enumerable});return e};var I=(e,o,t)=>(t=e!=null?d(N(e)):{},R(o||!e||!e.__esModule?E(t,"default",{value:e,enumerable:!0}):t,e));var B=(e,o,t)=>O(e,typeof o!="symbol"?o+"":o,t),g=(e,o,t)=>o.has(e)||_("Cannot "+t);var w=(e,o,t)=>(g(e,o,"read from private field"),t?t.call(e):o.get(e)),T=(e,o,t)=>o.has(e)?_("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(e):o.set(e,t),m=(e,o,t,r)=>(g(e,o,"write to private field"),r?r.call(e,t):o.set(e,t),t),V=(e,o,t)=>(g(e,o,"access private method"),t);var $=(e,o,t,r)=>({set _(n){m(e,o,n,t)},get _(){return w(e,o,r)}});var l,i=S(()=>{l={env:{NODE_ENV:"production",npm_package_version:"6.23.0-beta.0"}}});i();i();var b="[MappedinJS]";var v={log:0,debug:0,info:1,warn:2,error:3,silent:4};function y(e){return v[e.toLowerCase()]}a(y,"parseLogLevel");function c(e="",{prefix:o=b}={}){let t=`${o}${e?`-${e}`:""}`,r=a((n,s)=>{if(typeof window<"u"&&window.rnDebug){let u=s.map(L=>L instanceof Error&&L.stack?`${L.message}
|
|
2
|
+
${L.stack}`:L);window.rnDebug(`${e} ${n}: ${u.join(" ")}`)}},"rnDebug");return{logState:l.env.NODE_ENV==="test"?4:1,debug(...n){this.logState<=0&&(console.debug(t,...n),r("debug",n))},log(...n){this.debug(...n)},info(...n){this.logState<=1&&(console.info(t,...n),r("info",n))},warn(...n){this.logState<=2&&(console.warn(t,...n),r("warn",n))},error(...n){this.logState<=3&&(console.error(t,...n),r("error",n))},assert(...n){console.assert(...n)},time(n){console.time(n)},timeEnd(n){console.timeEnd(n)},setLevel(n){let s=typeof n=="string"?y(n):n;if(s===void 0||!(s>=0&&s<=4)){console.warn(t,`setLevel: unknown log level "${n}"`);return}this.logState=s}}}a(c,"createLogger");var U=c();var W=c("",{prefix:"[BlueDot]"});export{a,x as b,I as c,B as d,w as e,T as f,m as g,V as h,$ as i,i as j,W as k};
|