@abi-software/flatmapvuer 1.13.5-demo.7 → 1.13.5-demo.8
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 li, CircleClose as xs, CircleCheck as Kl, Loading as Ps, Arrow
|
|
|
2
2
|
import { ref as L, readonly as Ds, getCurrentScope as Ul, onScopeDispose as Ns, unref as v, getCurrentInstance as ge, onMounted as he, nextTick as ce, watch as q, warn as Wl, watchEffect as Bs, onBeforeUnmount as Ve, inject as G, computed as b, isRef as lt, shallowRef as yo, onBeforeMount as ql, provide as pe, defineComponent as H, openBlock as w, createElementBlock as P, mergeProps as Nt, renderSlot as K, toRef as Ze, onUnmounted as Gl, createBlock as z, Transition as Hn, withCtx as E, withDirectives as ie, createElementVNode as F, normalizeClass as _, normalizeStyle as se, vShow as Ee, Fragment as fe, createVNode as x, reactive as ut, onActivated as Jl, onUpdated as Yl, resolveDynamicComponent as $e, createCommentVNode as V, cloneVNode as Zl, Text as Vs, Comment as Xl, Teleport as Ql, onDeactivated as eu, toDisplayString as ne, useSlots as Ao, toRaw as bo, withModifiers as le, vModelCheckbox as wo, createTextVNode as Z, toRefs as fn, vModelRadio as zs, h as Xt, createSlots as Hs, resolveComponent as Re, resolveDirective as tu, toHandlerKey as nu, renderList as Ke, withKeys as kn, vModelText as ou, createApp as iu, createStaticVNode as au, markRaw as Fe } from "vue";
|
|
3
3
|
import { MapSvgSpriteColor as su, MapSvgIcon as ru } from "@abi-software/svg-sprite";
|
|
4
4
|
import { querySingleConnectivityList as lu, DrawToolbar as uu, TreeControls as cu, Tooltip as du, getFlatmapFilterOptions as fu, fetchLabels as pu } from "@abi-software/map-utilities";
|
|
5
|
-
import * as Ks from "https://cdn.jsdelivr.net/npm/@
|
|
5
|
+
import * as Ks from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.4/+esm";
|
|
6
6
|
import { AnnotationService as hu } from "@abi-software/sparc-annotation";
|
|
7
7
|
import { defineStore as mu, mapState as vu } from "pinia";
|
|
8
8
|
const it = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (i) => {
|
package/dist/flatmapvuer.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(H,Rt){typeof exports=="object"&&typeof module<"u"?Rt(exports,require("https://cdn.jsdelivr.net/npm/@
|
|
1
|
+
(function(H,Rt){typeof exports=="object"&&typeof module<"u"?Rt(exports,require("https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.4/+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.4.4/+esm","@element-plus/icons-vue","vue","@abi-software/svg-sprite","@abi-software/map-utilities","@abi-software/sparc-annotation","pinia"],Rt):(H=typeof globalThis<"u"?globalThis:H||self,Rt(H.FlatmapVuer={},H.flatmap,H["@element-plus/icons-vue"],H.Vue,H["@abi-software/svg-sprite"],H["@abi-software/map-utilities"],H["@abi-software/sparc-annotation"],H.pinia))})(this,function(H,Rt,W,n,vi,ut,xs,Si){"use strict";function Bs(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 ki=Bs(Rt),Ae=(e,t,{checkForDefaultPrevented:o=!0}={})=>r=>{const a=e==null?void 0:e(r);if(o===!1||!a)return t==null?void 0:t(r)};var Ei;const K=typeof window<"u",Ns=e=>typeof e=="string",Ii=()=>{},ro=K&&((Ei=window==null?void 0:window.navigator)==null?void 0:Ei.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ao(e){return typeof e=="function"?e():n.unref(e)}function _s(e){return e}function Ft(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 Ti(e,t,o={}){const{immediate:i=!0}=o,r=n.ref(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function l(){r.value=!1,s()}function c(...d){s(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...d)},ao(t))}return i&&(r.value=!0,K&&c()),Ft(l),{isPending:n.readonly(r),start:c,stop:l}}function Oe(e){var t;const o=ao(e);return(t=o==null?void 0:o.$el)!=null?t:o}const gn=K?window:void 0;function he(...e){let t,o,i,r;if(Ns(e[0])||Array.isArray(e[0])?([o,i,r]=e,t=gn):[t,o,i,r]=e,!t)return Ii;Array.isArray(o)||(o=[o]),Array.isArray(i)||(i=[i]);const a=[],s=()=>{a.forEach(f=>f()),a.length=0},l=(f,u,p,g)=>(f.addEventListener(u,p,g),()=>f.removeEventListener(u,p,g)),c=n.watch(()=>[Oe(t),ao(r)],([f,u])=>{s(),f&&a.push(...o.flatMap(p=>i.map(g=>l(f,p,g,u))))},{immediate:!0,flush:"post"}),d=()=>{c(),s()};return Ft(d),d}let Ai=!1;function Ps(e,t,o={}){const{window:i=gn,ignore:r=[],capture:a=!0,detectIframe:s=!1}=o;if(!i)return;ro&&!Ai&&(Ai=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Ii)));let l=!0;const c=p=>r.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:a}),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 Oi(e,t=!1){const o=n.ref(),i=()=>o.value=!!e();return i(),Ls(i,t),o}const Mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xi="__vueuse_ssr_handlers__";Mi[xi]=Mi[xi]||{};var Bi=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,Rs=Object.prototype.propertyIsEnumerable,Fs=(e,t)=>{var o={};for(var i in e)Vs.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&&Rs.call(e,i)&&(o[i]=e[i]);return o};function Re(e,t,o={}){const i=o,{window:r=gn}=i,a=Fs(i,["window"]);let s;const l=Oi(()=>r&&"ResizeObserver"in r),c=()=>{s&&(s.disconnect(),s=void 0)},d=n.watch(()=>Oe(e),u=>{c(),l.value&&r&&u&&(s=new ResizeObserver(t),s.observe(u,a))},{immediate:!0,flush:"post"}),f=()=>{c(),d()};return Ft(f),{isSupported:l,stop:f}}var Ni=Object.getOwnPropertySymbols,Ds=Object.prototype.hasOwnProperty,$s=Object.prototype.propertyIsEnumerable,zs=(e,t)=>{var o={};for(var i in e)Ds.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(e!=null&&Ni)for(var i of Ni(e))t.indexOf(i)<0&&$s.call(e,i)&&(o[i]=e[i]);return o};function js(e,t,o={}){const i=o,{window:r=gn}=i,a=zs(i,["window"]);let s;const l=Oi(()=>r&&"MutationObserver"in r),c=()=>{s&&(s.disconnect(),s=void 0)},d=n.watch(()=>Oe(e),u=>{c(),l.value&&r&&u&&(s=new MutationObserver(t),s.observe(u,a))},{immediate:!0}),f=()=>{c(),d()};return Ft(f),{isSupported:l,stop:f}}var _i;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(_i||(_i={}));var Hs=Object.defineProperty,Li=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,Us=Object.prototype.propertyIsEnumerable,Pi=(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)&&Pi(e,o,t[o]);if(Li)for(var o of Li(t))Us.call(t,o)&&Pi(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/@
|
|
4
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.4/+esm';
|
|
5
5
|
|
|
6
6
|
export default flatmap;
|