aptechka 0.5.42 → 0.7.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/lib/Animation-6Na1MCtM.cjs +1 -0
- package/lib/Animation-CELiTw3n.js +132 -0
- package/lib/Composed-DmLYTh1b.js +35 -0
- package/lib/Composed-Dx2hs-va.cjs +1 -0
- package/lib/{Damped-P4MkCGoY.js → Damped-Mx_FNNVz.js} +2 -5
- package/lib/Damped-loFiBsBy.cjs +1 -0
- package/lib/{Derived-kPJs5JC5.js → Derived-DlCvc0xQ.js} +1 -1
- package/lib/{Derived-B-g8dYgh.cjs → Derived-a6MDQEPY.cjs} +1 -1
- package/lib/ElementConstructor-CAZ2ra8m.cjs +1 -0
- package/lib/ElementConstructor-OYlPJf2L.js +366 -0
- package/lib/Resource-D3TQormz.cjs +1 -0
- package/lib/Resource-DIcoALGo.js +64 -0
- package/lib/{SourceManager-Q-PB-Rkh.js → SourceManager-Bz329f90.js} +1 -1
- package/lib/{SourceManager-vSlsMKUE.cjs → SourceManager-kxr5eUyL.cjs} +1 -1
- package/lib/Store-6s0YXK4o.cjs +1 -0
- package/lib/{Store-BQXXikps.js → Store-BI2xxXOA.js} +42 -42
- package/lib/Tweened-B_mclQ61.cjs +1 -0
- package/lib/Tweened-NE8M9onF.js +48 -0
- package/lib/{Viewport-DMB0dO-s.cjs → Viewport-CJeKnL5V.cjs} +1 -1
- package/lib/{Viewport-CFFhFKqX.js → Viewport-D9IL7kUQ.js} +1 -1
- package/lib/_createStore-Cf1MyeHa.cjs +1 -0
- package/lib/_createStore-Ck9bHolX.js +12 -0
- package/lib/accordion/AccordionElement.d.ts +5 -2
- package/lib/accordion/index.cjs +1 -1
- package/lib/accordion/index.js +141 -105
- package/lib/animation/Animation.d.ts +11 -19
- package/lib/animation/Damped.d.ts +4 -6
- package/lib/animation/Tweened.d.ts +2 -4
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +3 -3
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.d.ts +1 -1
- package/lib/attribute/index.js +31 -31
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.d.ts +1 -1
- package/lib/canvas/index.js +29 -29
- package/lib/checkbox/index.cjs +1 -1
- package/lib/checkbox/index.js +20 -20
- package/lib/class-linked-status/index.cjs +1 -1
- package/lib/class-linked-status/index.js +1 -1
- package/lib/controls/AutoplayControls.d.ts +1 -1
- package/lib/controls/DragControls.d.ts +1 -1
- package/lib/controls/WheelControls.d.ts +1 -1
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +3 -3
- package/lib/counter/index.d.ts +8 -0
- package/lib/{createStylesheet-DBCEbDjI.js → createStylesheet-CR_yi5tp.js} +1 -1
- package/lib/{createStylesheet-CqHU9_qv.cjs → createStylesheet-p23sZ7Ey.cjs} +1 -1
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.d.ts +2 -1
- package/lib/css-property/index.js +36 -32
- package/lib/custom-element/index.d.ts +1 -4
- package/lib/dev/index.cjs +1 -1
- package/lib/dev/index.js +1 -1
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +1 -1
- package/lib/element-constructor/ElementConstructor.d.ts +2 -2
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +114 -113
- package/lib/en3/core/En3Raycaster.d.ts +20 -0
- package/lib/en3/core/En3View.d.ts +1 -1
- package/lib/en3/core/en3.d.ts +7 -3
- package/lib/en3/helpers/En3Controls.d.ts +5 -0
- package/lib/en3/helpers/En3GridHelper.d.ts +8 -0
- package/lib/en3/helpers/En3Object3dManager.d.ts +12 -0
- package/lib/en3/helpers/En3OrbitControls.d.ts +8 -0
- package/lib/en3/helpers/En3TransformControls.d.ts +8 -0
- package/lib/en3/helpers/index.cjs +1 -0
- package/lib/en3/helpers/index.d.ts +2 -0
- package/lib/en3/helpers/index.js +1165 -0
- package/lib/en3/index.cjs +1 -215
- package/lib/en3/index.d.ts +1 -19
- package/lib/en3/index.js +4 -4227
- package/lib/en3/libs/index.cjs +1 -0
- package/lib/en3/libs/index.d.ts +1 -0
- package/lib/en3/libs/index.js +201 -0
- package/lib/en3/loaders/_En3GLTFLoader.d.ts +12 -0
- package/lib/en3/loaders/_En3TextureLoader.d.ts +8 -0
- package/lib/en3/loaders/index.cjs +1 -0
- package/lib/en3/loaders/index.d.ts +3 -0
- package/lib/en3/loaders/index.js +1757 -0
- package/lib/en3/loaders/loaders.d.ts +13 -0
- package/lib/en3/misc/index.cjs +10 -0
- package/lib/en3/misc/index.d.ts +2 -0
- package/lib/en3/misc/index.js +115 -0
- package/lib/en3/objects/En3Clip.d.ts +1 -1
- package/lib/en3/objects/En3ClipHelpers.d.ts +1 -1
- package/lib/en3/objects/En3GLTF.d.ts +4 -3
- package/lib/en3/objects/En3Image.d.ts +1 -1
- package/lib/en3/objects/En3ImageLike.d.ts +3 -2
- package/lib/en3/objects/En3SourceConsumer.d.ts +1 -1
- package/lib/en3/objects/En3Video.d.ts +1 -1
- package/lib/en3/objects/fluid/Advection.d.ts +1 -1
- package/lib/en3/objects/fluid/Divergence.d.ts +1 -1
- package/lib/en3/objects/fluid/En3Fluid.d.ts +1 -1
- package/lib/en3/objects/fluid/En3FluidElement.d.ts +1 -1
- package/lib/en3/objects/fluid/ExternalForce.d.ts +1 -1
- package/lib/en3/objects/fluid/Poisson.d.ts +1 -1
- package/lib/en3/objects/fluid/Pressure.d.ts +1 -1
- package/lib/en3/objects/fluid/Simulation.d.ts +1 -1
- package/lib/en3/objects/fluid/Viscous.d.ts +1 -1
- package/lib/en3/objects/fluid/index.d.ts +0 -3
- package/lib/en3/objects/index.d.ts +7 -0
- package/lib/en3/utils/coverTexture.d.ts +1 -1
- package/lib/en3/utils/index.cjs +1 -0
- package/lib/en3/utils/index.d.ts +5 -0
- package/lib/en3/utils/index.js +43 -0
- package/lib/en3-C4mzaF6q.cjs +8 -0
- package/lib/en3-hbkN1OPu.js +343 -0
- package/lib/globals-DMjysUXI.js +8 -0
- package/lib/globals-bYKki-b9.cjs +1 -0
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +1 -1
- package/lib/{index-BtsOv9u0.js → index-BAH_fO2N.js} +66 -66
- package/lib/index-D1LQUR-R.cjs +9 -0
- package/lib/instantiate-D19Uvc31.js +125 -0
- package/lib/instantiate-Db5gGSYG.cjs +1 -0
- package/lib/jsx/ComponentElement.d.ts +18 -0
- package/lib/jsx/globals.d.ts +13 -0
- package/lib/jsx/h.d.ts +7 -0
- package/lib/jsx/hooks/basic/_createStore.d.ts +4 -0
- package/lib/jsx/hooks/basic/attachInternals.d.ts +1 -0
- package/lib/jsx/hooks/basic/attachShadow.d.ts +1 -0
- package/lib/jsx/hooks/basic/attachStylesheet.d.ts +3 -0
- package/lib/jsx/hooks/basic/createContext.d.ts +2 -0
- package/lib/jsx/hooks/basic/onConnect.d.ts +3 -0
- package/lib/jsx/hooks/basic/onDisconnect.d.ts +3 -0
- package/lib/jsx/hooks/onAnimationFrame.cjs +1 -0
- package/lib/jsx/hooks/onAnimationFrame.d.ts +6 -0
- package/lib/jsx/hooks/onAnimationFrame.js +22 -0
- package/lib/jsx/hooks/onElementResize.cjs +1 -0
- package/lib/jsx/hooks/onElementResize.d.ts +5 -0
- package/lib/jsx/hooks/onElementResize.js +11 -0
- package/lib/jsx/hooks/onIntersection.cjs +1 -0
- package/lib/jsx/hooks/onIntersection.d.ts +5 -0
- package/lib/jsx/hooks/onIntersection.js +11 -0
- package/lib/jsx/hooks/onWindowResize.cjs +1 -0
- package/lib/jsx/hooks/onWindowResize.d.ts +3 -0
- package/lib/jsx/hooks/onWindowResize.js +8 -0
- package/lib/jsx/hooks/store/createArrayStore.d.ts +3 -0
- package/lib/jsx/hooks/store/createComposed.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerived.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedArray.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedComponent.d.ts +3 -0
- package/lib/jsx/hooks/store/createDerivedComponents.d.ts +3 -0
- package/lib/jsx/hooks/store/createResource.d.ts +3 -0
- package/lib/jsx/hooks/store/createStore.d.ts +3 -0
- package/lib/jsx/hooks/store/index.cjs +1 -0
- package/lib/jsx/hooks/store/index.d.ts +7 -0
- package/lib/jsx/hooks/store/index.js +49 -0
- package/lib/jsx/hooks/watchAttribute.cjs +1 -0
- package/lib/jsx/hooks/watchAttribute.d.ts +6 -0
- package/lib/jsx/hooks/watchAttribute.js +17 -0
- package/lib/jsx/hooks/watchCSSProperty.cjs +1 -0
- package/lib/jsx/hooks/watchCSSProperty.d.ts +7 -0
- package/lib/jsx/hooks/watchCSSProperty.js +17 -0
- package/lib/jsx/index.cjs +1 -0
- package/lib/jsx/index.d.ts +13 -0
- package/lib/jsx/index.js +91 -0
- package/lib/jsx/instantiate.d.ts +5 -0
- package/lib/jsx/register.d.ts +1 -0
- package/lib/jsx/render.d.ts +6 -0
- package/lib/jsx/type.d.ts +188 -0
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.d.ts +2 -0
- package/lib/ladder/index.js +84 -66
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.d.ts +11 -2
- package/lib/layout-box/index.js +190 -164
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +1 -1
- package/lib/modal/index.cjs +1 -1
- package/lib/modal/index.js +16 -16
- package/lib/morph/Morph.d.ts +2 -2
- package/lib/morph/index.cjs +1 -1
- package/lib/morph/index.d.ts +1 -1
- package/lib/morph/index.js +135 -143
- package/lib/notifier/index.d.ts +2 -2
- package/lib/notifier/index.js +3 -1
- package/lib/onConnect-DGP866cj.cjs +1 -0
- package/lib/onConnect-y5DrxJ9P.js +7 -0
- package/lib/pointer/Pointer.d.ts +1 -1
- package/lib/pointer/PointerElement.d.ts +1 -1
- package/lib/pointer/index.cjs +1 -1
- package/lib/pointer/index.js +3 -3
- package/lib/polyfills-CM4SCDTt.cjs +1 -0
- package/lib/polyfills-X6KXuHg-.js +33 -0
- package/lib/popover/PopoverButtonElement.d.ts +1 -1
- package/lib/popover/PopoverElement.d.ts +2 -2
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +49 -49
- package/lib/router/Router.d.ts +11 -3
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.d.ts +1 -1
- package/lib/router/index.js +185 -165
- package/lib/scroll/ScrollElement.d.ts +8 -25
- package/lib/scroll/ScrollSection.d.ts +23 -0
- package/lib/scroll/ScrollSegmentElement.d.ts +3 -3
- package/lib/scroll/ScrollUserElement.d.ts +1 -1
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +87 -83
- package/lib/scroll-entries/index.d.ts +1 -1
- package/lib/select/SelectUserElement.d.ts +1 -1
- package/lib/select/index.cjs +1 -1
- package/lib/select/index.js +1 -1
- package/lib/sequence/index.cjs +1 -1
- package/lib/sequence/index.d.ts +1 -1
- package/lib/sequence/index.js +8 -8
- package/lib/slicer/SlicerElement.d.ts +2 -2
- package/lib/slicer/index.cjs +4 -4
- package/lib/slicer/index.js +31 -31
- package/lib/source/SourceElement.d.ts +2 -2
- package/lib/source/SourceManager.d.ts +1 -1
- package/lib/source/index.cjs +1 -1
- package/lib/source/index.js +2 -2
- package/lib/store/ArrayStore.d.ts +21 -0
- package/lib/store/Store.d.ts +1 -7
- package/lib/store/index.cjs +1 -1
- package/lib/store/index.d.ts +2 -2
- package/lib/store/index.js +65 -139
- package/lib/tags-BqJKcIve.js +485 -0
- package/lib/tags-ld5jemJw.cjs +1 -0
- package/lib/theme/index.cjs +1 -1
- package/lib/theme/index.js +2 -2
- package/lib/tweaker/TweakerBooleanManagerElement.d.ts +2 -2
- package/lib/tweaker/TweakerColorManagerElement.d.ts +2 -2
- package/lib/tweaker/TweakerElement.d.ts +1 -1
- package/lib/tweaker/TweakerFieldElement.d.ts +2 -2
- package/lib/tweaker/TweakerFolderElement.d.ts +5 -3
- package/lib/tweaker/TweakerLinkManagerElement.d.ts +2 -2
- package/lib/tweaker/TweakerNumberManagerElement.d.ts +4 -8
- package/lib/tweaker/TweakerSelectManagerElement.d.ts +2 -2
- package/lib/tweaker/TweakerStoreManagerElement.d.ts +7 -7
- package/lib/tweaker/TweakerStringManagerElement.d.ts +3 -5
- package/lib/tweaker/index.cjs +3 -3
- package/lib/tweaker/index.js +535 -412
- package/lib/tweaker/tweakerManagerConstructors.d.ts +2 -2
- package/lib/tweaker/tweakerStorage.d.ts +8 -1
- package/lib/url-C3dWnJQg.cjs +1 -0
- package/lib/url-DMNfW7uN.js +22 -0
- package/lib/utils/function.d.ts +2 -2
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +39 -34
- package/lib/utils/layout.d.ts +1 -1
- package/lib/utils/number.d.ts +1 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +14 -14
- package/package.json +108 -12
- package/lib/Animation-DDHjrbtL.cjs +0 -1
- package/lib/Animation-Dq_05jlR.js +0 -217
- package/lib/Damped-l0mnlhar.cjs +0 -1
- package/lib/Store-C-1ruEIm.cjs +0 -1
- package/lib/Tweened-CwDC2zl8.js +0 -51
- package/lib/Tweened-DIt9j9B-.cjs +0 -1
- package/lib/animation/AnimationLink.d.ts +0 -13
- package/lib/en3/loaders/en3GLTFLoader.d.ts +0 -14
- package/lib/en3/loaders/en3TextureLoader.d.ts +0 -3
- package/lib/en3/test/En3HTML.d.ts +0 -10
- package/lib/index-Buf76Qoq.cjs +0 -9
- package/lib/polyfills-BA-CL_HF.js +0 -27
- package/lib/polyfills-DHs2SNbz.cjs +0 -1
- package/lib/resized/index.cjs +0 -1
- package/lib/resized/index.d.ts +0 -12
- package/lib/resized/index.js +0 -30
- package/lib/store/CumulativeResource.d.ts +0 -13
- package/lib/tags-CMPg9ETZ.js +0 -848
- package/lib/tags-Djb6mb1o.cjs +0 -1
- package/lib/tweaker/TweakerRangeManagerElement.d.ts +0 -11
- package/lib/en3/{loaders → core}/en3Cache.d.ts +0 -0
- package/lib/en3/{test → misc}/En3ModifiedMaterial.d.ts +0 -0
- package/lib/en3/{attachments → misc}/En3SourceManager.d.ts +2 -2
package/lib/popover/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../attribute/index.cjs"),W=require("../custom-element/index.cjs"),D=require("../Store-6s0YXK4o.cjs"),I=require("../style-At6aDoqG.cjs"),N=require("../browser-CpzFX2xg.cjs"),G=require("../tags-ld5jemJw.cjs");var H=Object.defineProperty,R=Object.getOwnPropertyDescriptor,K=(s,e,t,o)=>{for(var a=o>1?void 0:o?R(e,t):e,c=s.length-1,d;c>=0;c--)(d=s[c])&&(a=(o?d(e,t,a):d(a))||a);return o&&a&&H(e,t,a),a},b=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)},i=(s,e,t)=>(b(s,e,"read from private field"),t?t.call(s):e.get(s)),h=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},S=(s,e,t,o)=>(b(s,e,"write to private field"),e.set(s,t),t),A=(s,e,t)=>(b(s,e,"access private method"),t),T,p,g,l,v,f,O,x,u,m,w,y,L,$,E;exports.PopoverElement=class extends W.CustomElement{constructor(){super(...arguments),h(this,O),h(this,u),h(this,L),h(this,T,-1),h(this,p,new D.Store(!1)),h(this,g,void 0),h(this,l,new q.Attribute(this,"history",!1)),h(this,v,new q.Attribute(this,"single",!1)),h(this,f,!1),this.open=(e=!0)=>{if(i(this,p).current)return;i(this,p).current=!0,i(this,v).current&&(exports.PopoverElement.__opened.forEach(o=>o.close()),exports.PopoverElement.__opened=[]),exports.PopoverElement.__opened.push(this),S(this,T,exports.PopoverElement.__opened.length-1),i(this,l).current&&i(this,f)&&history.pushState("","",i(this,O,x)),clearTimeout(i(this,g)),this.classList.add("triggered"),this.style.display="block",this.dispatchEvent(new CustomEvent("popoverTriggered"));const t=()=>{addEventListener("click",i(this,w)),addEventListener("keydown",i(this,y)),this.style.opacity="1",this.classList.add("opened"),this.dispatchEvent(new CustomEvent("popoverOpened"))};e?setTimeout(t):t()},this.close=()=>{if(i(this,p).current){if(i(this,p).current=!1,exports.PopoverElement.__opened=exports.PopoverElement.__opened.filter(e=>e!==this),i(this,l).current){const e=new URL(location.href);e.searchParams.delete(i(this,u,m)),history.replaceState(null,"",e.href)}this.classList.remove("opened"),this.style.opacity="0",this.dispatchEvent(new CustomEvent("popoverClosing")),removeEventListener("click",i(this,w)),removeEventListener("keydown",i(this,y)),setTimeout(()=>{this.classList.remove("triggered"),this.style.display="none",this.dispatchEvent(new CustomEvent("popoverClosed"))},I.getElementTransitionDurationMS(this))}},h(this,w,e=>{A(this,L,$).call(this,()=>{const t=e.composedPath();!t.find(o=>o===this)&&!t.find(o=>o instanceof HTMLElement&&o.closest("e-popover-button"))&&t[0]instanceof HTMLElement&&!t[0].closest("[data-outside]")&&this.close()})}),h(this,y,e=>{A(this,L,$).call(this,()=>{e.code==="Escape"&&this.close()})}),h(this,E,()=>{S(this,f,!1),i(this,p).current&&i(this,l).current&&!location.search.includes(i(this,u,m))?this.close():!i(this,p).current&&i(this,l).current&&location.search.includes(i(this,u,m))&&this.open(),S(this,f,!0)})}get history(){return i(this,l)}get single(){return i(this,v)}get opened(){return i(this,p)}connectedCallback(){i(this,l).observe(),i(this,v).observe(),this.style.opacity="0",this.style.display="none",addEventListener("popstate",i(this,E)),setTimeout(()=>{i(this,E).call(this)},0)}disconnectedCallback(){i(this,l).unobserve(),i(this,v).unobserve(),exports.PopoverElement.__opened=exports.PopoverElement.__opened.filter(e=>e!==this),clearTimeout(i(this,g)),removeEventListener("popstate",i(this,E))}};T=new WeakMap;p=new WeakMap;g=new WeakMap;l=new WeakMap;v=new WeakMap;f=new WeakMap;O=new WeakSet;x=function(){return`${location.pathname}${location.search?location.search+"&":"?"}${i(this,u,m)}`};u=new WeakSet;m=function(){return`modal-${this.id}`};w=new WeakMap;y=new WeakMap;L=new WeakSet;$=function(s){(exports.PopoverElement.__opened[i(this,T)-1]||exports.PopoverElement.__opened.length===1)&&s()};E=new WeakMap;exports.PopoverElement.__opened=[];exports.PopoverElement=K([W.define("e-popover")],exports.PopoverElement);var U=Object.defineProperty,z=Object.getOwnPropertyDescriptor,F=(s,e,t,o)=>{for(var a=o>1?void 0:o?z(e,t):e,c=s.length-1,d;c>=0;c--)(d=s[c])&&(a=(o?d(e,t,a):d(a))||a);return o&&a&&U(e,t,a),a},B=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)},r=(s,e,t)=>(B(s,e,"read from private field"),t?t.call(s):e.get(s)),_=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},J=(s,e,t,o)=>(B(s,e,"write to private field"),e.set(s,t),t),n,P,C,k,M;exports.PopoverButtonElement=class extends W.CustomElement{constructor(){super(),_(this,n,void 0),_(this,P,()=>{this.classList.add("triggered")}),_(this,C,()=>{this.classList.add("opened")}),_(this,k,()=>{this.classList.remove("opened")}),_(this,M,()=>{this.classList.remove("triggered")}),N.isBrowser&&G.element(this,{tabindex:this.getAttribute("tabindex")||"0",onClick:()=>{if(r(this,n)){const e=this.getAttribute("type")||"open";e==="open"||e==="toggle"&&!r(this,n).opened.current?r(this,n).open():(e==="close"||e==="toggle"&&r(this,n).opened.current)&&r(this,n).close()}},onKeydown:e=>{e.code==="Space"&&e.currentTarget.click()}})}get popoverElement(){return r(this,n)}connectedCallback(){const e=this.getAttribute("target");if(e){const t=document.querySelector(`#${e}`)||this.getRootNode().querySelector(`#${e}`);t?(J(this,n,t),r(this,n).addEventListener("popoverTriggered",r(this,P)),r(this,n).addEventListener("popoverOpened",r(this,C)),r(this,n).addEventListener("popoverClosing",r(this,k)),r(this,n).addEventListener("popoverClosed",r(this,M))):console.warn(this,`target ${e} not found`)}}disconnectedCallback(){r(this,n)&&(r(this,n).removeEventListener("popoverTriggered",r(this,P)),r(this,n).removeEventListener("popoverOpened",r(this,C)),r(this,n).removeEventListener("popoverClosing",r(this,k)),r(this,n).removeEventListener("popoverClosed",r(this,M)))}};n=new WeakMap;P=new WeakMap;C=new WeakMap;k=new WeakMap;M=new WeakMap;exports.PopoverButtonElement=F([W.define("e-popover-button")],exports.PopoverButtonElement);
|
package/lib/popover/index.js
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
import { Attribute as x } from "../attribute/index.js";
|
|
2
|
-
import { CustomElement as
|
|
3
|
-
import { S as
|
|
4
|
-
import { a as
|
|
5
|
-
import { i as
|
|
6
|
-
import { e as K } from "../tags-
|
|
7
|
-
var U = Object.defineProperty, z = Object.getOwnPropertyDescriptor, F = (e, t, s,
|
|
8
|
-
for (var
|
|
9
|
-
(v = e[
|
|
10
|
-
return
|
|
2
|
+
import { CustomElement as I, define as N } from "../custom-element/index.js";
|
|
3
|
+
import { S as G } from "../Store-BI2xxXOA.js";
|
|
4
|
+
import { a as H } from "../style-CklEF62D.js";
|
|
5
|
+
import { i as R } from "../browser-0zX67oeU.js";
|
|
6
|
+
import { e as K } from "../tags-BqJKcIve.js";
|
|
7
|
+
var U = Object.defineProperty, z = Object.getOwnPropertyDescriptor, F = (e, t, s, p) => {
|
|
8
|
+
for (var o = p > 1 ? void 0 : p ? z(t, s) : t, l = e.length - 1, v; l >= 0; l--)
|
|
9
|
+
(v = e[l]) && (o = (p ? v(t, s, o) : v(o)) || o);
|
|
10
|
+
return p && o && U(t, s, o), o;
|
|
11
11
|
}, A = (e, t, s) => {
|
|
12
12
|
if (!t.has(e))
|
|
13
13
|
throw TypeError("Cannot " + s);
|
|
14
|
-
}, i = (e, t, s) => (A(e, t, "read from private field"), s ? s.call(e) : t.get(e)),
|
|
14
|
+
}, i = (e, t, s) => (A(e, t, "read from private field"), s ? s.call(e) : t.get(e)), h = (e, t, s) => {
|
|
15
15
|
if (t.has(e))
|
|
16
16
|
throw TypeError("Cannot add the same private member more than once");
|
|
17
17
|
t instanceof WeakSet ? t.add(e) : t.set(e, s);
|
|
18
|
-
}, O = (e, t, s,
|
|
19
|
-
let
|
|
18
|
+
}, O = (e, t, s, p) => (A(e, t, "write to private field"), t.set(e, s), s), D = (e, t, s) => (A(e, t, "access private method"), s), S, c, E, d, u, g, $, q, _, m, L, y, C, P, w;
|
|
19
|
+
let a = class extends I {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(...arguments),
|
|
21
|
+
super(...arguments), h(this, $), h(this, _), h(this, C), h(this, S, -1), h(this, c, new G(!1)), h(this, E, void 0), h(this, d, new x(this, "history", !1)), h(this, u, new x(this, "single", !1)), h(this, g, !1), this.open = (e = !0) => {
|
|
22
22
|
if (i(this, c).current)
|
|
23
23
|
return;
|
|
24
|
-
i(this, c).current = !0, i(this,
|
|
24
|
+
i(this, c).current = !0, i(this, u).current && (a.__opened.forEach((s) => s.close()), a.__opened = []), a.__opened.push(this), O(this, S, a.__opened.length - 1), i(this, d).current && i(this, g) && history.pushState("", "", i(this, $, q)), clearTimeout(i(this, E)), this.classList.add("triggered"), this.style.display = "block", this.dispatchEvent(new CustomEvent("popoverTriggered"));
|
|
25
25
|
const t = () => {
|
|
26
26
|
addEventListener("click", i(this, L)), addEventListener("keydown", i(this, y)), this.style.opacity = "1", this.classList.add("opened"), this.dispatchEvent(new CustomEvent("popoverOpened"));
|
|
27
27
|
};
|
|
28
28
|
e ? setTimeout(t) : t();
|
|
29
29
|
}, this.close = () => {
|
|
30
30
|
if (i(this, c).current) {
|
|
31
|
-
if (i(this, c).current = !1,
|
|
31
|
+
if (i(this, c).current = !1, a.__opened = a.__opened.filter((e) => e !== this), i(this, d).current) {
|
|
32
32
|
const e = new URL(location.href);
|
|
33
|
-
e.searchParams.delete(i(this,
|
|
33
|
+
e.searchParams.delete(i(this, _, m)), history.replaceState(null, "", e.href);
|
|
34
34
|
}
|
|
35
35
|
this.classList.remove("opened"), this.style.opacity = "0", this.dispatchEvent(new CustomEvent("popoverClosing")), removeEventListener("click", i(this, L)), removeEventListener("keydown", i(this, y)), setTimeout(() => {
|
|
36
36
|
this.classList.remove("triggered"), this.style.display = "none", this.dispatchEvent(new CustomEvent("popoverClosed"));
|
|
37
|
-
},
|
|
37
|
+
}, H(this));
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, h(this, L, (e) => {
|
|
40
40
|
D(this, C, P).call(this, () => {
|
|
41
41
|
const t = e.composedPath();
|
|
42
42
|
!t.find((s) => s === this) && !t.find(
|
|
43
43
|
(s) => s instanceof HTMLElement && s.closest("e-popover-button")
|
|
44
44
|
) && t[0] instanceof HTMLElement && !t[0].closest("[data-outside]") && this.close();
|
|
45
45
|
});
|
|
46
|
-
}),
|
|
46
|
+
}), h(this, y, (e) => {
|
|
47
47
|
D(this, C, P).call(this, () => {
|
|
48
48
|
e.code === "Escape" && this.close();
|
|
49
49
|
});
|
|
50
|
-
}),
|
|
51
|
-
O(this, g, !1), i(this, c).current && i(this,
|
|
50
|
+
}), h(this, w, () => {
|
|
51
|
+
O(this, g, !1), i(this, c).current && i(this, d).current && !location.search.includes(i(this, _, m)) ? this.close() : !i(this, c).current && i(this, d).current && location.search.includes(i(this, _, m)) && this.open(), O(this, g, !0);
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
get history() {
|
|
55
|
-
return i(this,
|
|
55
|
+
return i(this, d);
|
|
56
56
|
}
|
|
57
57
|
get single() {
|
|
58
|
-
return i(this,
|
|
58
|
+
return i(this, u);
|
|
59
59
|
}
|
|
60
60
|
get opened() {
|
|
61
61
|
return i(this, c);
|
|
62
62
|
}
|
|
63
63
|
connectedCallback() {
|
|
64
|
-
i(this,
|
|
64
|
+
i(this, d).observe(), i(this, u).observe(), this.style.opacity = "0", this.style.display = "none", addEventListener("popstate", i(this, w)), setTimeout(() => {
|
|
65
65
|
i(this, w).call(this);
|
|
66
66
|
}, 0);
|
|
67
67
|
}
|
|
68
68
|
disconnectedCallback() {
|
|
69
|
-
i(this,
|
|
69
|
+
i(this, d).unobserve(), i(this, u).unobserve(), a.__opened = a.__opened.filter((e) => e !== this), clearTimeout(i(this, E)), removeEventListener("popstate", i(this, w));
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
S = /* @__PURE__ */ new WeakMap();
|
|
73
73
|
c = /* @__PURE__ */ new WeakMap();
|
|
74
74
|
E = /* @__PURE__ */ new WeakMap();
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
d = /* @__PURE__ */ new WeakMap();
|
|
76
|
+
u = /* @__PURE__ */ new WeakMap();
|
|
77
77
|
g = /* @__PURE__ */ new WeakMap();
|
|
78
78
|
$ = /* @__PURE__ */ new WeakSet();
|
|
79
|
-
|
|
80
|
-
return `${location.pathname}${location.search ? location.search + "&" : "?"}${i(this,
|
|
79
|
+
q = function() {
|
|
80
|
+
return `${location.pathname}${location.search ? location.search + "&" : "?"}${i(this, _, m)}`;
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
_ = /* @__PURE__ */ new WeakSet();
|
|
83
83
|
m = function() {
|
|
84
84
|
return `modal-${this.id}`;
|
|
85
85
|
};
|
|
@@ -87,26 +87,26 @@ L = /* @__PURE__ */ new WeakMap();
|
|
|
87
87
|
y = /* @__PURE__ */ new WeakMap();
|
|
88
88
|
C = /* @__PURE__ */ new WeakSet();
|
|
89
89
|
P = function(e) {
|
|
90
|
-
(
|
|
90
|
+
(a.__opened[i(this, S) - 1] || a.__opened.length === 1) && e();
|
|
91
91
|
};
|
|
92
92
|
w = /* @__PURE__ */ new WeakMap();
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
],
|
|
97
|
-
var J = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, V = (e, t, s,
|
|
98
|
-
for (var
|
|
99
|
-
(v = e[
|
|
100
|
-
return
|
|
101
|
-
},
|
|
93
|
+
a.__opened = [];
|
|
94
|
+
a = F([
|
|
95
|
+
N("e-popover")
|
|
96
|
+
], a);
|
|
97
|
+
var J = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, V = (e, t, s, p) => {
|
|
98
|
+
for (var o = p > 1 ? void 0 : p ? Q(t, s) : t, l = e.length - 1, v; l >= 0; l--)
|
|
99
|
+
(v = e[l]) && (o = (p ? v(t, s, o) : v(o)) || o);
|
|
100
|
+
return p && o && J(t, s, o), o;
|
|
101
|
+
}, B = (e, t, s) => {
|
|
102
102
|
if (!t.has(e))
|
|
103
103
|
throw TypeError("Cannot " + s);
|
|
104
|
-
}, r = (e, t, s) => (
|
|
104
|
+
}, r = (e, t, s) => (B(e, t, "read from private field"), s ? s.call(e) : t.get(e)), f = (e, t, s) => {
|
|
105
105
|
if (t.has(e))
|
|
106
106
|
throw TypeError("Cannot add the same private member more than once");
|
|
107
107
|
t instanceof WeakSet ? t.add(e) : t.set(e, s);
|
|
108
|
-
}, X = (e, t, s,
|
|
109
|
-
let
|
|
108
|
+
}, X = (e, t, s, p) => (B(e, t, "write to private field"), t.set(e, s), s), n, k, W, M, T;
|
|
109
|
+
let b = class extends I {
|
|
110
110
|
constructor() {
|
|
111
111
|
super(), f(this, n, void 0), f(this, k, () => {
|
|
112
112
|
this.classList.add("triggered");
|
|
@@ -116,7 +116,7 @@ let I = class extends N {
|
|
|
116
116
|
this.classList.remove("opened");
|
|
117
117
|
}), f(this, T, () => {
|
|
118
118
|
this.classList.remove("triggered");
|
|
119
|
-
}),
|
|
119
|
+
}), R && K(this, {
|
|
120
120
|
tabindex: this.getAttribute("tabindex") || "0",
|
|
121
121
|
onClick: () => {
|
|
122
122
|
if (r(this, n)) {
|
|
@@ -172,10 +172,10 @@ k = /* @__PURE__ */ new WeakMap();
|
|
|
172
172
|
W = /* @__PURE__ */ new WeakMap();
|
|
173
173
|
M = /* @__PURE__ */ new WeakMap();
|
|
174
174
|
T = /* @__PURE__ */ new WeakMap();
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
],
|
|
175
|
+
b = V([
|
|
176
|
+
N("e-popover-button")
|
|
177
|
+
], b);
|
|
178
178
|
export {
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
b as PopoverButtonElement,
|
|
180
|
+
a as PopoverElement
|
|
181
181
|
};
|
package/lib/router/Router.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { splitPath, ChangeHistoryAction } from '../utils';
|
|
1
2
|
import { Route, RouteModule } from './Route';
|
|
3
|
+
import { Link } from './Link';
|
|
2
4
|
|
|
3
5
|
export interface RouterPreprocessorEntry {
|
|
4
|
-
|
|
6
|
+
path: ReturnType<typeof splitPath>;
|
|
5
7
|
resolve: () => void;
|
|
6
8
|
reject: () => void;
|
|
7
9
|
}
|
|
@@ -14,7 +16,6 @@ export interface RouterAfterNavigationEntry {
|
|
|
14
16
|
pathname: string;
|
|
15
17
|
}
|
|
16
18
|
export type RouterAfterNavigationCallback = (entry: RouterAfterNavigationEntry) => void;
|
|
17
|
-
export type RouterHistoryAction = 'push' | 'replace' | 'none';
|
|
18
19
|
export interface RouterParameters {
|
|
19
20
|
rootElement?: HTMLElement;
|
|
20
21
|
base?: string;
|
|
@@ -28,7 +29,14 @@ export declare class Router {
|
|
|
28
29
|
get currentPathname(): string;
|
|
29
30
|
get candidatePathname(): string | undefined;
|
|
30
31
|
get routes(): Route[];
|
|
32
|
+
get links(): Link[];
|
|
31
33
|
navigationEvent(callback: RouterAfterNavigationCallback): () => void;
|
|
32
34
|
defineRoute(pattern: string, module: RouteModule): void;
|
|
33
|
-
navigate(
|
|
35
|
+
navigate(path: string, action?: ChangeHistoryAction): Promise<void>;
|
|
36
|
+
normalizePath(path: string): {
|
|
37
|
+
leaf: string;
|
|
38
|
+
pathname: string;
|
|
39
|
+
parameters: string;
|
|
40
|
+
hash: string;
|
|
41
|
+
};
|
|
34
42
|
}
|
package/lib/router/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var tt=(a,e)=>(e=Symbol[a])?e:Symbol.for("Symbol."+a);var Y=(a,e,s)=>{if(!e.has(a))throw TypeError("Cannot "+s)};var t=(a,e,s)=>(Y(a,e,"read from private field"),s?s.call(a):e.get(a)),h=(a,e,s)=>{if(e.has(a))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(a):e.set(a,s)},n=(a,e,s,i)=>(Y(a,e,"write to private field"),i?i.call(a,s):e.set(a,s),s);var F=(a,e,s)=>(Y(a,e,"access private method"),s);var M=(a,e,s)=>new Promise((i,r)=>{var o=u=>{try{f(s.next(u))}catch(v){r(v)}},c=u=>{try{f(s.throw(u))}catch(v){r(v)}},f=u=>u.done?i(u.value):Promise.resolve(u.value).then(o,c);f((s=s.apply(a,e)).next())});var G=(a,e,s)=>(e=a[tt("asyncIterator")])?e.call(a):(a=a[tt("iterator")](),e={},s=(i,r)=>(r=a[i])&&(e[i]=o=>new Promise((c,f,u)=>(o=r.call(a,o),u=o.done,Promise.resolve(o.value).then(v=>c({value:v,done:u}),f)))),s("next"),s("return"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const rt=require("urlpattern-polyfill"),ot=require("../notifier/index.cjs"),st=require("../browser-CpzFX2xg.cjs"),ct=require("../function-MthRj-GJ.cjs"),J=require("../url-C3dWnJQg.cjs"),lt=require("../instantiate-Db5gGSYG.cjs"),et=require("../object-CCiXnER2.cjs");var R,O,A,p,d,w,S,L,b,E,x,it;class ut{constructor(e,s){h(this,x);h(this,R,void 0);h(this,O,void 0);h(this,A,void 0);h(this,p,void 0);h(this,d,void 0);h(this,w,void 0);h(this,S,void 0);h(this,L,null);h(this,b,[]);h(this,E,[]);n(this,R,e),n(this,O,s),n(this,A,new URLPattern({pathname:t(this,R)})),n(this,p,null),n(this,d,null),n(this,w,!1),n(this,S,null),st.isBrowser&&n(this,L,new MutationObserver(i=>{i[0].addedNodes.forEach(o=>{t(this,p)?t(this,E).push(o):t(this,b).push(o)})}))}get pattern(){return t(this,R)}get urlPattern(){return t(this,A)}get isActive(){return t(this,w)}get element(){return t(this,d)}get nest(){return t(this,S)}testPathname(e){return this.urlPattern.test({pathname:e})}render(e,s){return M(this,null,function*(){var i,r;if(t(this,L).observe(document.head,{childList:!0,subtree:!0}),t(this,p))t(this,b).forEach(o=>{document.head.appendChild(o)});else{const o=yield t(this,O).call(this);if(n(this,E,[...t(this,b)]),typeof o.default=="function"&&(n(this,p,o.default),et.isESClass(o.default))){const c="e-"+((i=t(this,p))==null?void 0:i.name.toLowerCase());customElements.get(c)||customElements.define(c,o.default)}}if(yield F(this,x,it).call(this),t(this,p)){const o=t(this,A).exec({pathname:s}),c=(o==null?void 0:o.pathname.groups)||{},f=Object.fromEntries(new URLSearchParams(location.search)),u={pathnameParams:c,searchParams:f};et.isESClass(t(this,p))?n(this,d,new(t(this,p))(u)):n(this,d,lt.instantiate(t(this,p),{attributes:u})),e.appendChild(t(this,d)),n(this,S,t(this,d).querySelector("[data-nest]")||((r=t(this,d).shadowRoot)==null?void 0:r.querySelector("[data-nest]"))||t(this,d).shadowRoot||t(this,d)),n(this,w,!0)}t(this,L).disconnect()})}close(){var e;t(this,L).disconnect(),(e=t(this,d))==null||e.remove(),n(this,w,!1),t(this,E).forEach(s=>document.head.removeChild(s)),n(this,E,[])}getAnchorElements(){var s;let e=[];return t(this,d)&&(e=[...t(this,d).querySelectorAll("a")]),(s=t(this,d))!=null&&s.shadowRoot&&(e=[...e,...t(this,d).shadowRoot.querySelectorAll("a")]),e}}R=new WeakMap,O=new WeakMap,A=new WeakMap,p=new WeakMap,d=new WeakMap,w=new WeakMap,S=new WeakMap,L=new WeakMap,b=new WeakMap,E=new WeakMap,x=new WeakSet,it=function(){return M(this,null,function*(){const e=t(this,b).filter(c=>c instanceof HTMLElement?c.tagName==="STYLE"||c.tagName==="SCRIPT"||c.tagName==="LINK":!1);try{for(var s=G(e),i,r,o;i=!(r=yield s.next()).done;i=!1){const c=r.value;yield new Promise(f=>{c.onload=()=>{f()}})}}catch(r){o=[r]}finally{try{i&&(r=s.return)&&(yield r.call(s))}finally{if(o)throw o[0]}}})};var k,m,P,U,q,j;class dt{constructor(e,s){h(this,k,void 0);h(this,m,void 0);h(this,P,void 0);h(this,U,void 0);h(this,q,void 0);h(this,j,e=>{e.preventDefault(),t(this,k).links.forEach(s=>{var i;t(this,P)===t(s,P)||(i=t(s,q))!=null&&i.includes(t(this,P))?t(s,m).classList.add("clicked"):t(s,m).classList.remove("clicked")}),t(this,k).navigate(t(this,P),t(this,U))});var o,c;n(this,k,e),n(this,m,s),n(this,P,t(this,m).getAttribute("href")||"/"),n(this,U,t(this,m).getAttribute("data-history-action")||"push"),t(this,m).addEventListener("click",t(this,j));const i=e.normalizePath(t(this,P)),r=e.normalizePath(location.pathname);n(this,q,(o=t(this,m).getAttribute("data-match-paths"))==null?void 0:o.split(",").map(f=>e.normalizePath(f.trim()).pathname)),t(this,m).hasAttribute("data-include")?r.pathname.includes(i.pathname)&&t(this,m).classList.add("current"):i.pathname===r.pathname||(c=t(this,q))!=null&&c.includes(r.pathname)?(t(this,m).classList.add("current"),t(this,m).classList.add("clicked")):t(this,m).classList.remove("clicked")}destroy(){t(this,m).removeEventListener("click",t(this,j)),t(this,m).classList.remove("current")}}k=new WeakMap,m=new WeakMap,P=new WeakMap,U=new WeakMap,q=new WeakMap,j=new WeakMap;globalThis.URLPattern=rt.URLPattern;var C,N,g,z,T,y,H,B,I,D,nt,K;const W=class W{constructor(e){h(this,D);h(this,C,null);h(this,N,null);h(this,g,[]);h(this,z,null);h(this,T,[]);h(this,y,void 0);h(this,H,null);h(this,B,new ot.Notifier);h(this,I,ct.debounce(()=>{const e=s=>s.split("/").length;n(this,g,t(this,g).sort((s,i)=>e(s.pattern)-e(i.pattern))),this.navigate(location.pathname)},0));h(this,K,e=>{e.state&&this.navigate(e.state,"none")});st.isBrowser&&(e!=null&&e.base?n(this,N,J.normalizeBase(e.base)):n(this,N,"/"),W.active=this,n(this,C,(e==null?void 0:e.rootElement)||document.body),addEventListener("popstate",t(this,K)))}get currentPathname(){return t(this,H)}get candidatePathname(){return t(this,y)}get routes(){return t(this,g)}get links(){return t(this,T)}navigationEvent(e){return t(this,B).subscribe(e)}defineRoute(e,s){const i=new ut(e,s);t(this,g).push(i),t(this,I).call(this)}navigate(e,s="push"){return M(this,null,function*(){var Z,_;const i=this.normalizePath(e);let{pathname:r,hash:o,parameters:c,leaf:f}=i;if(t(this,y)===r||t(this,H)===r)return;W.active=this,n(this,y,r);const u=t(this,g).filter(l=>l.isActive),v=t(this,g).filter(l=>!u.includes(l)&&l.testPathname(f)),at=u.filter(l=>!l.testPathname(f)),V=u.filter(l=>l.testPathname(f));let X=!0;if(this.preprocessor)try{yield new Promise((l,ht)=>{var $;($=this.preprocessor)==null||$.call(this,{path:i,resolve:l,reject:ht})})}catch(l){l?console.error(l):console.log("Route change canceled"),X=!1}if(X&&t(this,y)===r){n(this,z,V[V.length-1]),at.forEach(l=>{l.close()}),n(this,H,r);try{for(var pt=G(v),gt,Pt,vt;gt=!(Pt=yield pt.next()).done;gt=!1){const l=Pt.value;yield l.render(((Z=t(this,z))==null?void 0:Z.nest)||t(this,C),r),n(this,z,l)}}catch(Pt){vt=[Pt]}finally{try{gt&&(Pt=pt.return)&&(yield Pt.call(pt))}finally{if(vt)throw vt[0]}}J.changeHistory(s,r,c,o),F(this,D,nt).call(this),(_=this.postprocessor)==null||_.call(this,{pathname:r}),t(this,B).notify({pathname:r})}})}normalizePath(e){return J.splitPath(e,t(this,N))}};C=new WeakMap,N=new WeakMap,g=new WeakMap,z=new WeakMap,T=new WeakMap,y=new WeakMap,H=new WeakMap,B=new WeakMap,I=new WeakMap,D=new WeakSet,nt=function(){const e=t(this,g).filter(i=>i.isActive),s=Array.from(new Set([...t(this,C).querySelectorAll("a"),...e.map(i=>i.getAnchorElements()).flat()].filter(i=>{var r;return(r=i.getAttribute("href"))==null?void 0:r.startsWith("/")})));t(this,T).forEach(i=>{i.destroy()}),n(this,T,s.map(i=>new dt(this,i)))},K=new WeakMap;let Q=W;exports.Router=Q;
|
package/lib/router/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Router, type RouterPreprocessorEntry, type RouterPreprocessor, type RouterPostprocessor, type RouterAfterNavigationCallback, type
|
|
1
|
+
export { Router, type RouterPreprocessorEntry, type RouterPreprocessor, type RouterPostprocessor, type RouterAfterNavigationCallback, type RouterParameters, } from './Router';
|
|
2
2
|
export { type RouteModule, type RouteParameters, type RouteURLParams, } from './Route';
|