@abi-software/flatmapvuer 1.13.1-simulation.0 → 1.13.1-simulation.1
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/flatmapvuer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Close as ri, CircleClose as Ms, CircleCheck as Vl, Loading as _s, Arrow
|
|
|
2
2
|
import { ref as L, readonly as Fs, getCurrentScope as Hl, onScopeDispose as Rs, unref as v, getCurrentInstance as ge, onMounted as he, nextTick as de, watch as q, warn as Kl, watchEffect as $s, onBeforeUnmount as ze, inject as G, computed as b, isRef as lt, shallowRef as vo, onBeforeMount as jl, provide as pe, defineComponent as H, openBlock as w, createElementBlock as P, mergeProps as Nt, renderSlot as K, toRef as Ze, onUnmounted as Ul, createBlock as V, Transition as Vn, withCtx as I, withDirectives as oe, createElementVNode as F, normalizeClass as M, normalizeStyle as se, vShow as we, Fragment as ce, createVNode as _, reactive as ut, onActivated as Wl, onUpdated as ql, resolveDynamicComponent as De, createCommentVNode as z, cloneVNode as Gl, Text as Ds, Comment as Jl, Teleport as Yl, onDeactivated as Zl, toDisplayString as ne, useSlots as ko, toRaw as go, withModifiers as le, vModelCheckbox as yo, createTextVNode as Y, toRefs as cn, vModelRadio as Ns, h as Zt, createSlots as Bs, resolveComponent as Re, resolveDirective as Ql, toHandlerKey as Xl, renderList as $e, withKeys as En, vModelText as eu, createApp as tu, createStaticVNode as nu, markRaw as Fe } from "vue";
|
|
3
3
|
import { MapSvgSpriteColor as ou, MapSvgIcon as iu } from "@abi-software/svg-sprite";
|
|
4
4
|
import { querySingleConnectivityList as au, DrawToolbar as su, TreeControls as ru, Tooltip as lu, getFlatmapFilterOptions as uu, fetchLabels as cu } from "@abi-software/map-utilities";
|
|
5
|
-
import * as Vs from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.
|
|
5
|
+
import * as Vs from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.5.3/+esm";
|
|
6
6
|
import { AnnotationService as du } from "@abi-software/sparc-annotation";
|
|
7
7
|
import { defineStore as fu, mapState as pu } from "pinia";
|
|
8
8
|
const it = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (i) => {
|
package/dist/flatmapvuer.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(z,Pt){typeof exports=="object"&&typeof module<"u"?Pt(exports,require("https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.
|
|
1
|
+
(function(z,Pt){typeof exports=="object"&&typeof module<"u"?Pt(exports,require("https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.5.3/+esm"),require("@element-plus/icons-vue"),require("vue"),require("@abi-software/svg-sprite"),require("@abi-software/map-utilities"),require("@abi-software/sparc-annotation"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.5.3/+esm","@element-plus/icons-vue","vue","@abi-software/svg-sprite","@abi-software/map-utilities","@abi-software/sparc-annotation","pinia"],Pt):(z=typeof globalThis<"u"?globalThis:z||self,Pt(z.FlatmapVuer={},z.flatmap,z["@element-plus/icons-vue"],z.Vue,z["@abi-software/svg-sprite"],z["@abi-software/map-utilities"],z["@abi-software/sparc-annotation"],z.pinia))})(this,function(z,Pt,W,n,wi,ut,Bs,Ci){"use strict";function xs(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const vi=xs(Pt),Ae=(e,t,{checkForDefaultPrevented:o=!0}={})=>a=>{const r=e==null?void 0:e(a);if(o===!1||!r)return t==null?void 0:t(a)};var Si;const K=typeof window<"u",Ns=e=>typeof e=="string",ki=()=>{},ao=K&&((Si=window==null?void 0:window.navigator)==null?void 0:Si.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ro(e){return typeof e=="function"?e():n.unref(e)}function _s(e){return e}function Vt(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function Ls(e,t=!0){n.getCurrentInstance()?n.onMounted(e):t?e():n.nextTick(e)}function Ei(e,t,o={}){const{immediate:i=!0}=o,a=n.ref(!1);let r=null;function s(){r&&(clearTimeout(r),r=null)}function l(){a.value=!1,s()}function c(...d){s(),a.value=!0,r=setTimeout(()=>{a.value=!1,r=null,e(...d)},ro(t))}return i&&(a.value=!0,K&&c()),Vt(l),{isPending:n.readonly(a),start:c,stop:l}}function Oe(e){var t;const o=ro(e);return(t=o==null?void 0:o.$el)!=null?t:o}const hn=K?window:void 0;function he(...e){let t,o,i,a;if(Ns(e[0])||Array.isArray(e[0])?([o,i,a]=e,t=hn):[t,o,i,a]=e,!t)return ki;Array.isArray(o)||(o=[o]),Array.isArray(i)||(i=[i]);const r=[],s=()=>{r.forEach(f=>f()),r.length=0},l=(f,u,p,g)=>(f.addEventListener(u,p,g),()=>f.removeEventListener(u,p,g)),c=n.watch(()=>[Oe(t),ro(a)],([f,u])=>{s(),f&&r.push(...o.flatMap(p=>i.map(g=>l(f,p,g,u))))},{immediate:!0,flush:"post"}),d=()=>{c(),s()};return Vt(d),d}let Ii=!1;function Ps(e,t,o={}){const{window:i=hn,ignore:a=[],capture:r=!0,detectIframe:s=!1}=o;if(!i)return;ao&&!Ii&&(Ii=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",ki)));let l=!0;const c=p=>a.some(g=>{if(typeof g=="string")return Array.from(i.document.querySelectorAll(g)).some(h=>h===p.target||p.composedPath().includes(h));{const h=Oe(g);return h&&(p.target===h||p.composedPath().includes(h))}}),f=[he(i,"click",p=>{const g=Oe(e);if(!(!g||g===p.target||p.composedPath().includes(g))){if(p.detail===0&&(l=!c(p)),!l){l=!0;return}t(p)}},{passive:!0,capture:r}),he(i,"pointerdown",p=>{const g=Oe(e);g&&(l=!p.composedPath().includes(g)&&!c(p))},{passive:!0}),s&&he(i,"blur",p=>{var g;const h=Oe(e);((g=i.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(h!=null&&h.contains(i.document.activeElement))&&t(p)})].filter(Boolean);return()=>f.forEach(p=>p())}function Ti(e,t=!1){const o=n.ref(),i=()=>o.value=!!e();return i(),Ls(i,t),o}const Ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oi="__vueuse_ssr_handlers__";Ai[Oi]=Ai[Oi]||{};var Mi=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Ds=(e,t)=>{var o={};for(var i in e)Vs.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(e!=null&&Mi)for(var i of Mi(e))t.indexOf(i)<0&&Rs.call(e,i)&&(o[i]=e[i]);return o};function Re(e,t,o={}){const i=o,{window:a=hn}=i,r=Ds(i,["window"]);let s;const l=Ti(()=>a&&"ResizeObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},d=n.watch(()=>Oe(e),u=>{c(),l.value&&a&&u&&(s=new ResizeObserver(t),s.observe(u,r))},{immediate:!0,flush:"post"}),f=()=>{c(),d()};return Vt(f),{isSupported:l,stop:f}}var Bi=Object.getOwnPropertySymbols,Fs=Object.prototype.hasOwnProperty,$s=Object.prototype.propertyIsEnumerable,zs=(e,t)=>{var o={};for(var i in e)Fs.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(e!=null&&Bi)for(var i of Bi(e))t.indexOf(i)<0&&$s.call(e,i)&&(o[i]=e[i]);return o};function js(e,t,o={}){const i=o,{window:a=hn}=i,r=zs(i,["window"]);let s;const l=Ti(()=>a&&"MutationObserver"in a),c=()=>{s&&(s.disconnect(),s=void 0)},d=n.watch(()=>Oe(e),u=>{c(),l.value&&a&&u&&(s=new MutationObserver(t),s.observe(u,r))},{immediate:!0}),f=()=>{c(),d()};return Vt(f),{isSupported:l,stop:f}}var xi;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(xi||(xi={}));var Hs=Object.defineProperty,Ni=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,Us=Object.prototype.propertyIsEnumerable,_i=(e,t,o)=>t in e?Hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ws=(e,t)=>{for(var o in t||(t={}))Ks.call(t,o)&&_i(e,o,t[o]);if(Ni)for(var o of Ni(t))Us.call(t,o)&&_i(e,o,t[o]);return e};Ws({linear:_s},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});/**
|
|
2
2
|
* @vue/shared v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* a single source for the flatmap-viewer library import
|
|
3
3
|
*/
|
|
4
|
-
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.
|
|
4
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.5.3/+esm';
|
|
5
5
|
|
|
6
6
|
export default flatmap;
|