@abi-software/flatmapvuer 1.12.0-beta.0 → 1.12.0-beta.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 { Loading as Mr, CircleCheck as Bl, CircleClose as _r, Close as ri, Arrow
|
|
|
2
2
|
import { getCurrentScope as zl, onScopeDispose as Rr, unref as v, getCurrentInstance as ge, onMounted as he, nextTick as ce, ref as x, readonly as Fr, watch as q, warn as Hl, watchEffect as $r, onBeforeUnmount as Ve, inject as G, computed as b, isRef as lt, shallowRef as vo, onBeforeMount as Kl, provide as pe, defineComponent as H, openBlock as w, createElementBlock as L, mergeProps as Nt, renderSlot as K, toRef as Ze, onUnmounted as jl, createBlock as z, Transition as Vn, withCtx as E, withDirectives as ie, createElementVNode as R, normalizeClass as _, normalizeStyle as re, vShow as Ee, Fragment as fe, createVNode as P, reactive as ut, onActivated as Ul, onUpdated as Wl, resolveDynamicComponent as $e, createCommentVNode as V, cloneVNode as ql, Text as Dr, Comment as Gl, Teleport as Jl, onDeactivated as Yl, toDisplayString as ee, useSlots as ko, toRaw as go, withModifiers as le, vModelCheckbox as yo, createTextVNode as Z, toRefs as cn, vModelRadio as Nr, h as Zt, createSlots as Br, resolveComponent as Fe, resolveDirective as Zl, toHandlerKey as Ql, renderList as Ke, withKeys as En, vModelText as Xl, createApp as eu, createStaticVNode as tu, markRaw as Re } from "vue";
|
|
3
3
|
import { MapSvgIcon as nu, MapSvgSpriteColor as ou } from "@abi-software/svg-sprite";
|
|
4
4
|
import { Tooltip as iu, TreeControls as au, DrawToolbar as ru, fetchLabels as su, getFlatmapFilterOptions as lu } from "@abi-software/map-utilities";
|
|
5
|
-
import * as Vr from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.
|
|
5
|
+
import * as Vr from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.1/+esm";
|
|
6
6
|
import { AnnotationService as uu } from "@abi-software/sparc-annotation";
|
|
7
7
|
import { defineStore as cu, mapState as du } 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,Pt){typeof exports=="object"&&typeof module<"u"?Pt(exports,require("https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.
|
|
1
|
+
(function(H,Pt){typeof exports=="object"&&typeof module<"u"?Pt(exports,require("https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.1/+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.1/+esm","@element-plus/icons-vue","vue","@abi-software/svg-sprite","@abi-software/map-utilities","@abi-software/sparc-annotation","pinia"],Pt):(H=typeof globalThis<"u"?globalThis:H||self,Pt(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,Pt,W,n,wi,Lt,Ts,Ci){"use strict";function As(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=As(Pt),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 Si;const K=typeof window<"u",Os=e=>typeof e=="string",ki=()=>{},oo=K&&((Si=window==null?void 0:window.navigator)==null?void 0:Si.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function io(e){return typeof e=="function"?e():n.unref(e)}function xs(e){return e}function Vt(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function Ms(e,t=!0){n.getCurrentInstance()?n.onMounted(e):t?e():n.nextTick(e)}function Ei(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)},io(t))}return i&&(r.value=!0,K&&c()),Vt(l),{isPending:n.readonly(r),start:c,stop:l}}function Oe(e){var t;const o=io(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,r;if(Os(e[0])||Array.isArray(e[0])?([o,i,r]=e,t=hn):[t,o,i,r]=e,!t)return ki;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),io(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 Vt(d),d}let Ii=!1;function Bs(e,t,o={}){const{window:i=hn,ignore:r=[],capture:a=!0,detectIframe:s=!1}=o;if(!i)return;oo&&!Ii&&(Ii=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",ki)));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 Ti(e,t=!1){const o=n.ref(),i=()=>o.value=!!e();return i(),Ms(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 xi=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,_s=Object.prototype.propertyIsEnumerable,Ps=(e,t)=>{var o={};for(var i in e)Ns.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(e!=null&&xi)for(var i of xi(e))t.indexOf(i)<0&&_s.call(e,i)&&(o[i]=e[i]);return o};function Re(e,t,o={}){const i=o,{window:r=hn}=i,a=Ps(i,["window"]);let s;const l=Ti(()=>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 Vt(f),{isSupported:l,stop:f}}var Mi=Object.getOwnPropertySymbols,Ls=Object.prototype.hasOwnProperty,Vs=Object.prototype.propertyIsEnumerable,Rs=(e,t)=>{var o={};for(var i in e)Ls.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&&Vs.call(e,i)&&(o[i]=e[i]);return o};function Fs(e,t,o={}){const i=o,{window:r=hn}=i,a=Rs(i,["window"]);let s;const l=Ti(()=>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 Vt(f),{isSupported:l,stop:f}}var Bi;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Bi||(Bi={}));var Ds=Object.defineProperty,Ni=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,_i=(e,t,o)=>t in e?Ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,js=(e,t)=>{for(var o in t||(t={}))$s.call(t,o)&&_i(e,o,t[o]);if(Ni)for(var o of Ni(t))zs.call(t,o)&&_i(e,o,t[o]);return e};js({linear:xs},{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.
|
|
4
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.1/+esm';
|
|
5
5
|
|
|
6
6
|
export default flatmap;
|