@dialpad/dialtone-vue 2.103.0 → 2.104.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/CHANGELOG.json +1 -1
- package/CHANGELOG.md +36 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +6 -6
- package/dist/dialtone-vue.js +1846 -3462
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +4 -3
- package/dist/emoji-098966fd.js +911 -0
- package/dist/emoji-d5a5af5e.cjs +1 -0
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +26 -24
- package/dist/style.css +1 -1
- package/dist/tooltip-da61b649.cjs +1 -0
- package/dist/tooltip-fceff4af.js +706 -0
- package/dist/types/common/dates.d.ts.map +1 -1
- package/dist/types/common/storybook_utils.d.ts.map +1 -1
- package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
- package/dist/types/components/button/button.vue.d.ts +1 -1
- package/dist/types/components/chip/chip.vue.d.ts +1 -1
- package/dist/types/components/description_list/description_list.vue.d.ts +98 -0
- package/dist/types/components/description_list/description_list.vue.d.ts.map +1 -0
- package/dist/types/components/description_list/description_list_constants.d.ts +2 -0
- package/dist/types/components/description_list/description_list_constants.d.ts.map +1 -0
- package/dist/types/components/description_list/description_list_validators.d.ts +2 -0
- package/dist/types/components/description_list/description_list_validators.d.ts.map +1 -0
- package/dist/types/components/description_list/index.d.ts +3 -0
- package/dist/types/components/description_list/index.d.ts.map +1 -0
- package/dist/types/components/icon/icon.vue.d.ts +16 -2
- package/dist/types/components/icon/icon.vue.d.ts.map +1 -1
- package/dist/types/components/icon/icon_constants.d.ts +0 -2
- package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/types/components/input/input.vue.d.ts +1 -1
- package/dist/types/components/modal/modal.vue.d.ts +1 -1
- package/dist/types/components/root_layout/root_layout.vue.d.ts +2 -2
- package/dist/types/components/toast/toast.vue.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
- package/package.json +13 -6
- package/dist/emoji-9ef04a92.cjs +0 -1
- package/dist/emoji-efd28b85.js +0 -58697
- package/dist/tooltip-92c086de.js +0 -2544
- package/dist/tooltip-9b93ec5a.cjs +0 -25
- package/dist/types/components/plugins/fixDefaultSlot.d.ts +0 -5
- package/dist/types/components/plugins/fixDefaultSlot.d.ts.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";const rr=require("vue"),on=require("./_plugin-vue2_normalizer-d59b995e.cjs"),le={ERROR:"error",WARNING:"warning",SUCCESS:"success"},ir={LARGE:"lg",EXTRA_LARGE:"xl"},or={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},ar={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},sr={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},an=le.ERROR,ur="dt";let cr=0,Mt;const pr=typeof setImmediate=="function"?setImmediate:setTimeout;function At(e=ur){return`${e}${cr++}`}function sn(e,t){if(t){const n=lr(t);return e[Math.abs(n)%e.length]}else return e[un(e.length)]}function lr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function un(e){return Math.floor(Math.random()*e)}function cn(e){return e?e.map(t=>typeof t=="string"?{message:t,type:an}:t):[]}function pn(e){const t=St(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function St(e){return e?st(e,le.ERROR)?le.ERROR:st(e,le.WARNING)?le.WARNING:st(e,le.SUCCESS)?le.SUCCESS:null:null}function st(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const fr={name:"html-fragment",functional:!0,props:["html"],render(e,t){return new rr({name:"Inner",beforeCreate(){this.$createElement=e},template:`<div>${t.props.html}</div>`}).$mount()._vnode.children}},dr=()=>new Promise(e=>{pr(e)}),ln=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),vr=e=>e.replace(/\.?([A-Z0-9]+)/g,(t,n)=>"-"+n.toLowerCase()).replace(/^-/,"");function hr(e,t=300){clearTimeout(Mt),Mt=setTimeout(e,t)}function fn(e){const t=e.getBoundingClientRect(),n={top:t.top<0,left:t.left<0,bottom:t.bottom>(window.innerHeight||document.documentElement.clientHeight),right:t.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(r=>r),n.all=Object.values(n).every(r=>r),n}const mr=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,gr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),yr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),dn=new RegExp("(?:"+[[mr.source,gr.source].join("+"),yr.source].join("|")+")"),br=/(?:(?:[;/][^#?<>\s]*)?)/,vn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,hn=new RegExp("\\b"+[dn.source,br.source,vn.source,"(?!\\w)"].join("+")),mn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,gn=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[dn.source,vn.source].join("+")+"(?!\\w)");function yn(e=7,t=15){let n=!0;try{RegExp("(?<=\\W)")}catch{n=!1}return new RegExp(`${n?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const bn=yn(),wr=new RegExp([hn.source,mn.source,gn.source,bn.source].join("|"),"gi");function Er(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=bn.exec(e))==null?void 0:t[0])===e)}function Or(e){var t,n;return!e||typeof e!="string"?!1:((t=hn.exec(e))==null?void 0:t[0])===e||((n=mn.exec(e))==null?void 0:n[0])===e}function xr(e){var t;return!e||typeof e!="string"?!1:((t=gn.exec(e))==null?void 0:t[0])===e}function wn(e){return e.filter(t=>!!t).join(" ")}function En(e,t="en-US"){return e.replace(/^\p{CWU}/u,n=>n.toLocaleUpperCase(t))}const Tr={getUniqueString:At,getRandomElement:sn,getRandomInt:un,formatMessages:cn,filterFormattedMessages:pn,hasFormattedMessageOfType:st,getValidationState:St,htmlFragment:fr,flushPromises:dr,kebabCaseToPascalCase:ln,debounce:hr,isOutOfViewPort:fn,getPhoneNumberRegex:yn,linkRegex:wr,isEmailAddress:xr,isPhoneNumber:Er,isURL:Or,safeConcatStrings:wn,capitalizeFirstLetter:En},Ar={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return process.env.NODE_ENV!=="test"}},watch:{show:function(e){!e||this.initialized||(this.initialized=!0)}}};var Sr=function(){var t=this,n=t._self._c;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear,css:t.isCSSEnabled}},t.$listeners),[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},Dr=[],Rr=on.normalizeComponent(Ar,Sr,Dr,!1,null,null,null,null);const On=Rr.exports;var $="top",Y="bottom",K="right",B="left",lt="auto",qe=[$,Y,K,B],Re="start",Fe="end",Cr="clippingParents",xn="viewport",Ve="popper",Lr="reference",kt=qe.reduce(function(e,t){return e.concat([t+"-"+Re,t+"-"+Fe])},[]),Tn=[].concat(qe,[lt]).reduce(function(e,t){return e.concat([t,t+"-"+Re,t+"-"+Fe])},[]),Ir="beforeRead",Pr="read",_r="afterRead",Nr="beforeMain",Mr="main",kr="afterMain",Vr="beforeWrite",jr="write",$r="afterWrite",bt=[Ir,Pr,_r,Nr,Mr,kr,Vr,jr,$r];function ne(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function we(e){var t=q(e).Element;return e instanceof t||e instanceof Element}function W(e){var t=q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dt(e){if(typeof ShadowRoot>"u")return!1;var t=q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Br(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!W(s)||!ne(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(c){var p=o[c];p===!1?s.removeAttribute(c):s.setAttribute(c,p===!0?"":p)}))})}function Fr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),p=c.reduce(function(u,f){return u[f]="",u},{});!W(o)||!ne(o)||(Object.assign(o.style,p),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const An={name:"applyStyles",enabled:!0,phase:"write",fn:Br,effect:Fr,requires:["computeStyles"]};function X(e){return e.split("-")[0]}var be=Math.max,ct=Math.min,Ce=Math.round;function wt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Sn(){return!/^((?!chrome|android).)*safari/i.test(wt())}function Le(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&W(e)&&(o=e.offsetWidth>0&&Ce(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ce(r.height)/e.offsetHeight||1);var c=we(e)?q(e):window,p=c.visualViewport,u=!Sn()&&n,f=(r.left+(u&&p?p.offsetLeft:0))/o,l=(r.top+(u&&p?p.offsetTop:0))/s,g=r.width/o,x=r.height/s;return{width:g,height:x,top:l,right:f+g,bottom:l+x,left:f,x:f,y:l}}function Rt(e){var t=Le(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Dn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Z(e){return q(e).getComputedStyle(e)}function Ur(e){return["table","td","th"].indexOf(ne(e))>=0}function fe(e){return((we(e)?e.ownerDocument:e.document)||window.document).documentElement}function ft(e){return ne(e)==="html"?e:e.assignedSlot||e.parentNode||(Dt(e)?e.host:null)||fe(e)}function Vt(e){return!W(e)||Z(e).position==="fixed"?null:e.offsetParent}function Hr(e){var t=/firefox/i.test(wt()),n=/Trident/i.test(wt());if(n&&W(e)){var r=Z(e);if(r.position==="fixed")return null}var o=ft(e);for(Dt(o)&&(o=o.host);W(o)&&["html","body"].indexOf(ne(o))<0;){var s=Z(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function ze(e){for(var t=q(e),n=Vt(e);n&&Ur(n)&&Z(n).position==="static";)n=Vt(n);return n&&(ne(n)==="html"||ne(n)==="body"&&Z(n).position==="static")?t:n||Hr(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function je(e,t,n){return be(e,ct(t,n))}function Wr(e,t,n){var r=je(e,t,n);return r>n?n:r}function Rn(){return{top:0,right:0,bottom:0,left:0}}function Cn(e){return Object.assign({},Rn(),e)}function Ln(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qr=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Cn(typeof t!="number"?t:Ln(t,qe))};function zr(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,p=X(n.placement),u=Ct(p),f=[B,K].indexOf(p)>=0,l=f?"height":"width";if(!(!s||!c)){var g=qr(o.padding,n),x=Rt(s),m=u==="y"?$:B,w=u==="y"?Y:K,y=n.rects.reference[l]+n.rects.reference[u]-c[u]-n.rects.popper[l],b=c[u]-n.rects.reference[u],A=ze(s),R=A?u==="y"?A.clientHeight||0:A.clientWidth||0:0,L=y/2-b/2,i=g[m],E=R-x[l]-g[w],d=R/2-x[l]/2+L,D=je(i,d,E),_=u;n.modifiersData[r]=(t={},t[_]=D,t.centerOffset=D-d,t)}}function Yr(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(W(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Dn(t.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}t.elements.arrow=o}}const Kr={name:"arrow",enabled:!0,phase:"main",fn:zr,effect:Yr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ie(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ce(n*o)/o||0,y:Ce(r*o)/o||0}}function jt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,c=e.offsets,p=e.position,u=e.gpuAcceleration,f=e.adaptive,l=e.roundOffsets,g=e.isFixed,x=c.x,m=x===void 0?0:x,w=c.y,y=w===void 0?0:w,b=typeof l=="function"?l({x:m,y}):{x:m,y};m=b.x,y=b.y;var A=c.hasOwnProperty("x"),R=c.hasOwnProperty("y"),L=B,i=$,E=window;if(f){var d=ze(n),D="clientHeight",_="clientWidth";if(d===q(n)&&(d=fe(n),Z(d).position!=="static"&&p==="absolute"&&(D="scrollHeight",_="scrollWidth")),d=d,o===$||(o===B||o===K)&&s===Fe){i=Y;var N=g&&d===E&&E.visualViewport?E.visualViewport.height:d[D];y-=N-r.height,y*=u?1:-1}if(o===B||(o===$||o===Y)&&s===Fe){L=K;var I=g&&d===E&&E.visualViewport?E.visualViewport.width:d[_];m-=I-r.width,m*=u?1:-1}}var T=Object.assign({position:p},f&&Gr),C=l===!0?Xr({x:m,y},q(n)):{x:m,y};if(m=C.x,y=C.y,u){var P;return Object.assign({},T,(P={},P[i]=R?"0":"",P[L]=A?"0":"",P.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",P))}return Object.assign({},T,(t={},t[i]=R?y+"px":"",t[L]=A?m+"px":"",t.transform="",t))}function Zr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,c=s===void 0?!0:s,p=n.roundOffsets,u=p===void 0?!0:p;if(process.env.NODE_ENV!=="production"){var f=Z(t.elements.popper).transitionProperty||"";c&&["transform","top","right","bottom","left"].some(function(g){return f.indexOf(g)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
2
|
-
|
|
3
|
-
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
4
|
-
|
|
5
|
-
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var l={placement:X(t.placement),variation:Ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Jr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zr,data:{}};var ot={passive:!0};function Qr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,c=r.resize,p=c===void 0?!0:c,u=q(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(l){l.addEventListener("scroll",n.update,ot)}),p&&u.addEventListener("resize",n.update,ot),function(){s&&f.forEach(function(l){l.removeEventListener("scroll",n.update,ot)}),p&&u.removeEventListener("resize",n.update,ot)}}const ei={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var ti={left:"right",right:"left",bottom:"top",top:"bottom"};function ut(e){return e.replace(/left|right|bottom|top/g,function(t){return ti[t]})}var ni={start:"end",end:"start"};function $t(e){return e.replace(/start|end/g,function(t){return ni[t]})}function Lt(e){var t=q(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function It(e){return Le(fe(e)).left+Lt(e).scrollLeft}function ri(e,t){var n=q(e),r=fe(e),o=n.visualViewport,s=r.clientWidth,c=r.clientHeight,p=0,u=0;if(o){s=o.width,c=o.height;var f=Sn();(f||!f&&t==="fixed")&&(p=o.offsetLeft,u=o.offsetTop)}return{width:s,height:c,x:p+It(e),y:u}}function ii(e){var t,n=fe(e),r=Lt(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=be(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=be(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-r.scrollLeft+It(e),u=-r.scrollTop;return Z(o||n).direction==="rtl"&&(p+=be(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:p,y:u}}function Pt(e){var t=Z(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function In(e){return["html","body","#document"].indexOf(ne(e))>=0?e.ownerDocument.body:W(e)&&Pt(e)?e:In(ft(e))}function $e(e,t){var n;t===void 0&&(t=[]);var r=In(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=q(r),c=o?[s].concat(s.visualViewport||[],Pt(r)?r:[]):r,p=t.concat(c);return o?p:p.concat($e(ft(c)))}function Et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oi(e,t){var n=Le(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Bt(e,t,n){return t===xn?Et(ri(e,n)):we(t)?oi(t,n):Et(ii(fe(e)))}function ai(e){var t=$e(ft(e)),n=["absolute","fixed"].indexOf(Z(e).position)>=0,r=n&&W(e)?ze(e):e;return we(r)?t.filter(function(o){return we(o)&&Dn(o,r)&&ne(o)!=="body"}):[]}function si(e,t,n,r){var o=t==="clippingParents"?ai(e):[].concat(t),s=[].concat(o,[n]),c=s[0],p=s.reduce(function(u,f){var l=Bt(e,f,r);return u.top=be(l.top,u.top),u.right=ct(l.right,u.right),u.bottom=ct(l.bottom,u.bottom),u.left=be(l.left,u.left),u},Bt(e,c,r));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Pn(e){var t=e.reference,n=e.element,r=e.placement,o=r?X(r):null,s=r?Ie(r):null,c=t.x+t.width/2-n.width/2,p=t.y+t.height/2-n.height/2,u;switch(o){case $:u={x:c,y:t.y-n.height};break;case Y:u={x:c,y:t.y+t.height};break;case K:u={x:t.x+t.width,y:p};break;case B:u={x:t.x-n.width,y:p};break;default:u={x:t.x,y:t.y}}var f=o?Ct(o):null;if(f!=null){var l=f==="y"?"height":"width";switch(s){case Re:u[f]=u[f]-(t[l]/2-n[l]/2);break;case Fe:u[f]=u[f]+(t[l]/2-n[l]/2);break}}return u}function Ue(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,c=s===void 0?e.strategy:s,p=n.boundary,u=p===void 0?Cr:p,f=n.rootBoundary,l=f===void 0?xn:f,g=n.elementContext,x=g===void 0?Ve:g,m=n.altBoundary,w=m===void 0?!1:m,y=n.padding,b=y===void 0?0:y,A=Cn(typeof b!="number"?b:Ln(b,qe)),R=x===Ve?Lr:Ve,L=e.rects.popper,i=e.elements[w?R:x],E=si(we(i)?i:i.contextElement||fe(e.elements.popper),u,l,c),d=Le(e.elements.reference),D=Pn({reference:d,element:L,strategy:"absolute",placement:o}),_=Et(Object.assign({},L,D)),N=x===Ve?_:d,I={top:E.top-N.top+A.top,bottom:N.bottom-E.bottom+A.bottom,left:E.left-N.left+A.left,right:N.right-E.right+A.right},T=e.modifiersData.offset;if(x===Ve&&T){var C=T[o];Object.keys(I).forEach(function(P){var F=[K,Y].indexOf(P)>=0?1:-1,U=[$,Y].indexOf(P)>=0?"y":"x";I[P]+=C[U]*F})}return I}function ui(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,c=n.padding,p=n.flipVariations,u=n.allowedAutoPlacements,f=u===void 0?Tn:u,l=Ie(r),g=l?p?kt:kt.filter(function(w){return Ie(w)===l}):qe,x=g.filter(function(w){return f.indexOf(w)>=0});x.length===0&&(x=g,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=x.reduce(function(w,y){return w[y]=Ue(e,{placement:y,boundary:o,rootBoundary:s,padding:c})[X(y)],w},{});return Object.keys(m).sort(function(w,y){return m[w]-m[y]})}function ci(e){if(X(e)===lt)return[];var t=ut(e);return[$t(e),t,$t(t)]}function pi(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,p=c===void 0?!0:c,u=n.fallbackPlacements,f=n.padding,l=n.boundary,g=n.rootBoundary,x=n.altBoundary,m=n.flipVariations,w=m===void 0?!0:m,y=n.allowedAutoPlacements,b=t.options.placement,A=X(b),R=A===b,L=u||(R||!w?[ut(b)]:ci(b)),i=[b].concat(L).reduce(function(re,G){return re.concat(X(G)===lt?ui(t,{placement:G,boundary:l,rootBoundary:g,padding:f,flipVariations:w,allowedAutoPlacements:y}):G)},[]),E=t.rects.reference,d=t.rects.popper,D=new Map,_=!0,N=i[0],I=0;I<i.length;I++){var T=i[I],C=X(T),P=Ie(T)===Re,F=[$,Y].indexOf(C)>=0,U=F?"width":"height",k=Ue(t,{placement:T,boundary:l,rootBoundary:g,altBoundary:x,padding:f}),V=F?P?K:B:P?Y:$;E[U]>d[U]&&(V=ut(V));var M=ut(V),J=[];if(s&&J.push(k[C]<=0),p&&J.push(k[V]<=0,k[M]<=0),J.every(function(re){return re})){N=T,_=!1;break}D.set(T,J)}if(_)for(var Q=w?3:1,de=function(G){var ie=i.find(function(Ee){var oe=D.get(Ee);if(oe)return oe.slice(0,G).every(function(Oe){return Oe})});if(ie)return N=ie,"break"},ee=Q;ee>0;ee--){var ve=de(ee);if(ve==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}const li={name:"flip",enabled:!0,phase:"main",fn:pi,requiresIfExists:["offset"],data:{_skip:!1}};function Ft(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ut(e){return[$,K,Y,B].some(function(t){return e[t]>=0})}function fi(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=Ue(t,{elementContext:"reference"}),p=Ue(t,{altBoundary:!0}),u=Ft(c,r),f=Ft(p,o,s),l=Ut(u),g=Ut(f);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:l,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":g})}const di={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fi};function vi(e,t,n){var r=X(e),o=[B,$].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],p=s[1];return c=c||0,p=(p||0)*o,[B,K].indexOf(r)>=0?{x:p,y:c}:{x:c,y:p}}function hi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,c=Tn.reduce(function(l,g){return l[g]=vi(g,t.rects,s),l},{}),p=c[t.placement],u=p.x,f=p.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=c}const mi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hi};function gi(e){var t=e.state,n=e.name;t.modifiersData[n]=Pn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const yi={name:"popperOffsets",enabled:!0,phase:"read",fn:gi,data:{}};function bi(e){return e==="x"?"y":"x"}function wi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,p=c===void 0?!1:c,u=n.boundary,f=n.rootBoundary,l=n.altBoundary,g=n.padding,x=n.tether,m=x===void 0?!0:x,w=n.tetherOffset,y=w===void 0?0:w,b=Ue(t,{boundary:u,rootBoundary:f,padding:g,altBoundary:l}),A=X(t.placement),R=Ie(t.placement),L=!R,i=Ct(A),E=bi(i),d=t.modifiersData.popperOffsets,D=t.rects.reference,_=t.rects.popper,N=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(d){if(s){var P,F=i==="y"?$:B,U=i==="y"?Y:K,k=i==="y"?"height":"width",V=d[i],M=V+b[F],J=V-b[U],Q=m?-_[k]/2:0,de=R===Re?D[k]:_[k],ee=R===Re?-_[k]:-D[k],ve=t.elements.arrow,re=m&&ve?Rt(ve):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Rn(),ie=G[F],Ee=G[U],oe=je(0,D[k],re[k]),Oe=L?D[k]/2-Q-oe-ie-I.mainAxis:de-oe-ie-I.mainAxis,ue=L?-D[k]/2+Q+oe+Ee+I.mainAxis:ee+oe+Ee+I.mainAxis,xe=t.elements.arrow&&ze(t.elements.arrow),Ke=xe?i==="y"?xe.clientTop||0:xe.clientLeft||0:0,Pe=(P=T==null?void 0:T[i])!=null?P:0,Ge=V+Oe-Pe-Ke,Xe=V+ue-Pe,_e=je(m?ct(M,Ge):M,V,m?be(J,Xe):J);d[i]=_e,C[i]=_e-V}if(p){var Ne,Ze=i==="x"?$:B,Je=i==="x"?Y:K,ae=d[E],ce=E==="y"?"height":"width",Me=ae+b[Ze],he=ae-b[Je],ke=[$,B].indexOf(A)!==-1,Qe=(Ne=T==null?void 0:T[E])!=null?Ne:0,et=ke?Me:ae-D[ce]-_[ce]-Qe+I.altAxis,tt=ke?ae+D[ce]+_[ce]-Qe-I.altAxis:he,nt=m&&ke?Wr(et,ae,tt):je(m?et:Me,ae,m?tt:he);d[E]=nt,C[E]=nt-ae}t.modifiersData[r]=C}}const Ei={name:"preventOverflow",enabled:!0,phase:"main",fn:wi,requiresIfExists:["offset"]};function Oi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xi(e){return e===q(e)||!W(e)?Lt(e):Oi(e)}function Ti(e){var t=e.getBoundingClientRect(),n=Ce(t.width)/e.offsetWidth||1,r=Ce(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ai(e,t,n){n===void 0&&(n=!1);var r=W(t),o=W(t)&&Ti(t),s=fe(t),c=Le(e,o,n),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((ne(t)!=="body"||Pt(s))&&(p=xi(t)),W(t)?(u=Le(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=It(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function Si(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(p){if(!n.has(p)){var u=t.get(p);u&&o(u)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function Di(e){var t=Si(e);return bt.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Ri(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,s){return o.replace(/%s/,s)},e)}var ge='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Ci='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Ht=["name","enabled","phase","fn","effect","requires","options"];function Li(e){e.forEach(function(t){[].concat(Object.keys(t),Ht).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(pe(ge,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(pe(ge,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":bt.indexOf(t.phase)<0&&console.error(pe(ge,t.name,'"phase"',"either "+bt.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(pe(ge,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(pe(ge,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(pe(ge,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(pe(ge,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Ht.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(r){e.find(function(o){return o.name===r})==null&&console.error(pe(Ci,String(t.name),r,r))})})})}function Ii(e,t){var n=new Set;return e.filter(function(r){var o=t(r);if(!n.has(o))return n.add(o),!0})}function Pi(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Wt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",_i="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",qt={placement:"bottom",modifiers:[],strategy:"absolute"};function zt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Ni(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?qt:o;return function(p,u,f){f===void 0&&(f=s);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},qt,s),modifiersData:{},elements:{reference:p,popper:u},attributes:{},styles:{}},g=[],x=!1,m={state:l,setOptions:function(A){var R=typeof A=="function"?A(l.options):A;y(),l.options=Object.assign({},s,l.options,R),l.scrollParents={reference:we(p)?$e(p):p.contextElement?$e(p.contextElement):[],popper:$e(u)};var L=Di(Pi([].concat(r,l.options.modifiers)));if(l.orderedModifiers=L.filter(function(T){return T.enabled}),process.env.NODE_ENV!=="production"){var i=Ii([].concat(L,l.options.modifiers),function(T){var C=T.name;return C});if(Li(i),X(l.options.placement)===lt){var E=l.orderedModifiers.find(function(T){var C=T.name;return C==="flip"});E||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var d=Z(u),D=d.marginTop,_=d.marginRight,N=d.marginBottom,I=d.marginLeft;[D,_,N,I].some(function(T){return parseFloat(T)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return w(),m.update()},forceUpdate:function(){if(!x){var A=l.elements,R=A.reference,L=A.popper;if(!zt(R,L)){process.env.NODE_ENV!=="production"&&console.error(Wt);return}l.rects={reference:Ai(R,ze(L),l.options.strategy==="fixed"),popper:Rt(L)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(T){return l.modifiersData[T.name]=Object.assign({},T.data)});for(var i=0,E=0;E<l.orderedModifiers.length;E++){if(process.env.NODE_ENV!=="production"&&(i+=1,i>100)){console.error(_i);break}if(l.reset===!0){l.reset=!1,E=-1;continue}var d=l.orderedModifiers[E],D=d.fn,_=d.options,N=_===void 0?{}:_,I=d.name;typeof D=="function"&&(l=D({state:l,options:N,name:I,instance:m})||l)}}},update:Ri(function(){return new Promise(function(b){m.forceUpdate(),b(l)})}),destroy:function(){y(),x=!0}};if(!zt(p,u))return process.env.NODE_ENV!=="production"&&console.error(Wt),m;m.setOptions(f).then(function(b){!x&&f.onFirstUpdate&&f.onFirstUpdate(b)});function w(){l.orderedModifiers.forEach(function(b){var A=b.name,R=b.options,L=R===void 0?{}:R,i=b.effect;if(typeof i=="function"){var E=i({state:l,name:A,instance:m,options:L}),d=function(){};g.push(E||d)}})}function y(){g.forEach(function(b){return b()}),g=[]}return m}}var Mi=[ei,yi,Jr,An,mi,li,Ei,Kr,di],ki=Ni({defaultModifiers:Mi}),Vi="tippy-box",_n="tippy-content",ji="tippy-backdrop",Nn="tippy-arrow",Mn="tippy-svg-arrow",ye={passive:!0,capture:!0},kn=function(){return document.body};function $i(e,t){return{}.hasOwnProperty.call(e,t)}function ht(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function _t(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Vn(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Yt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Bi(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Fi(e){return e.split(/\s+/).filter(Boolean)}function De(e){return[].concat(e)}function Kt(e,t){e.indexOf(t)===-1&&e.push(t)}function Ui(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Hi(e){return e.split("-")[0]}function pt(e){return[].slice.call(e)}function Gt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Be(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return _t(e,t)})}function Wi(e){return _t(e,"NodeList")}function qi(e){return _t(e,"MouseEvent")}function zi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Yi(e){return He(e)?[e]:Wi(e)?pt(e):Array.isArray(e)?e:pt(document.querySelectorAll(e))}function mt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Xt(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Ki(e){var t,n=De(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Gi(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var s=o.popperRect,c=o.popperState,p=o.props,u=p.interactiveBorder,f=Hi(c.placement),l=c.modifiersData.offset;if(!l)return!0;var g=f==="bottom"?l.top.y:0,x=f==="top"?l.bottom.y:0,m=f==="right"?l.left.x:0,w=f==="left"?l.right.x:0,y=s.top-r+g>u,b=r-s.bottom-x>u,A=s.left-n+m>u,R=n-s.right-w>u;return y||b||A||R})}function gt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Zt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var te={isTouch:!1},Jt=0;function Xi(){te.isTouch||(te.isTouch=!0,window.performance&&document.addEventListener("mousemove",jn))}function jn(){var e=performance.now();e-Jt<20&&(te.isTouch=!1,document.removeEventListener("mousemove",jn)),Jt=e}function Zi(){var e=document.activeElement;if(zi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Ji(){document.addEventListener("touchstart",Xi,ye),window.addEventListener("blur",Zi)}var Qi=typeof window<"u"&&typeof document<"u",eo=Qi?!!window.msCrypto:!1;function Se(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Qt(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function to(e){return Qt(`
|
|
6
|
-
%ctippy.js
|
|
7
|
-
|
|
8
|
-
%c`+Qt(e)+`
|
|
9
|
-
|
|
10
|
-
%c👷 This is a development-only message. It will be removed in production.
|
|
11
|
-
`)}function $n(e){return[to(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var We;process.env.NODE_ENV!=="production"&&no();function no(){We=new Set}function se(e,t){if(e&&!We.has(t)){var n;We.add(t),(n=console).warn.apply(n,$n(t))}}function Ot(e,t){if(e&&!We.has(t)){var n;We.add(t),(n=console).error.apply(n,$n(t))}}function ro(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Ot(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ot(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Bn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},io={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},H=Object.assign({appendTo:kn,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Bn,io),oo=Object.keys(H),ao=function(t){process.env.NODE_ENV!=="production"&&Un(t,[]);var n=Object.keys(t);n.forEach(function(r){H[r]=t[r]})};function Fn(e){var t=e.plugins||[],n=t.reduce(function(r,o){var s=o.name,c=o.defaultValue;if(s){var p;r[s]=e[s]!==void 0?e[s]:(p=H[s])!=null?p:c}return r},{});return Object.assign({},e,n)}function so(e,t){var n=t?Object.keys(Fn(Object.assign({},H,{plugins:t}))):oo,r=n.reduce(function(o,s){var c=(e.getAttribute("data-tippy-"+s)||"").trim();if(!c)return o;if(s==="content")o[s]=c;else try{o[s]=JSON.parse(c)}catch{o[s]=c}return o},{});return r}function en(e,t){var n=Object.assign({},t,{content:Vn(t.content,[e])},t.ignoreAttributes?{}:so(e,t.plugins));return n.aria=Object.assign({},H.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function Un(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=Bi(H,Object.keys(Bn)),s=!$i(o,r);s&&(s=t.filter(function(c){return c.name===r}).length===0),se(s,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
12
|
-
|
|
13
|
-
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
14
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var uo=function(){return"innerHTML"};function xt(e,t){e[uo()]=t}function tn(e){var t=Be();return e===!0?t.className=Nn:(t.className=Mn,He(e)?t.appendChild(e):xt(t,e)),t}function nn(e,t){He(t.content)?(xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?xt(e,t.content):e.textContent=t.content)}function Tt(e){var t=e.firstElementChild,n=pt(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(_n)}),arrow:n.find(function(r){return r.classList.contains(Nn)||r.classList.contains(Mn)}),backdrop:n.find(function(r){return r.classList.contains(ji)})}}function Hn(e){var t=Be(),n=Be();n.className=Vi,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Be();r.className=_n,r.setAttribute("data-state","hidden"),nn(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(s,c){var p=Tt(t),u=p.box,f=p.content,l=p.arrow;c.theme?u.setAttribute("data-theme",c.theme):u.removeAttribute("data-theme"),typeof c.animation=="string"?u.setAttribute("data-animation",c.animation):u.removeAttribute("data-animation"),c.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof c.maxWidth=="number"?c.maxWidth+"px":c.maxWidth,c.role?u.setAttribute("role",c.role):u.removeAttribute("role"),(s.content!==c.content||s.allowHTML!==c.allowHTML)&&nn(f,e.props),c.arrow?l?s.arrow!==c.arrow&&(u.removeChild(l),u.appendChild(tn(c.arrow))):u.appendChild(tn(c.arrow)):l&&u.removeChild(l)}return{popper:t,onUpdate:o}}Hn.$$tippy=!0;var co=1,at=[],yt=[];function po(e,t){var n=en(e,Object.assign({},H,Fn(Gt(t)))),r,o,s,c=!1,p=!1,u=!1,f=!1,l,g,x,m=[],w=Yt(Ge,n.interactiveDebounce),y,b=co++,A=null,R=Ui(n.plugins),L={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:b,reference:e,popper:Be(),popperInstance:A,props:n,state:L,plugins:R,clearDelayTimeouts:et,setProps:tt,setContent:nt,show:Zn,hide:Jn,hideWithInteractivity:Qn,enable:ke,disable:Qe,unmount:er,destroy:tr};if(!n.render)return process.env.NODE_ENV!=="production"&&Ot(!0,"render() function has not been supplied."),i;var E=n.render(i),d=E.popper,D=E.onUpdate;d.setAttribute("data-tippy-root",""),d.id="tippy-"+i.id,i.popper=d,e._tippy=i,d._tippy=i;var _=R.map(function(a){return a.fn(i)}),N=e.hasAttribute("aria-expanded");return xe(),Q(),V(),M("onCreate",[i]),n.showOnCreate&&Me(),d.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),d.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&F().addEventListener("mousemove",w)}),i;function I(){var a=i.props.touch;return Array.isArray(a)?a:[a,0]}function T(){return I()[0]==="hold"}function C(){var a;return!!((a=i.props.render)!=null&&a.$$tippy)}function P(){return y||e}function F(){var a=P().parentNode;return a?Ki(a):document}function U(){return Tt(d)}function k(a){return i.state.isMounted&&!i.state.isVisible||te.isTouch||l&&l.type==="focus"?0:ht(i.props.delay,a?0:1,H.delay)}function V(a){a===void 0&&(a=!1),d.style.pointerEvents=i.props.interactive&&!a?"":"none",d.style.zIndex=""+i.props.zIndex}function M(a,v,h){if(h===void 0&&(h=!0),_.forEach(function(O){O[a]&&O[a].apply(O,v)}),h){var S;(S=i.props)[a].apply(S,v)}}function J(){var a=i.props.aria;if(a.content){var v="aria-"+a.content,h=d.id,S=De(i.props.triggerTarget||e);S.forEach(function(O){var j=O.getAttribute(v);if(i.state.isVisible)O.setAttribute(v,j?j+" "+h:h);else{var z=j&&j.replace(h,"").trim();z?O.setAttribute(v,z):O.removeAttribute(v)}})}}function Q(){if(!(N||!i.props.aria.expanded)){var a=De(i.props.triggerTarget||e);a.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===P()?"true":"false"):v.removeAttribute("aria-expanded")})}}function de(){F().removeEventListener("mousemove",w),at=at.filter(function(a){return a!==w})}function ee(a){if(!(te.isTouch&&(u||a.type==="mousedown"))){var v=a.composedPath&&a.composedPath()[0]||a.target;if(!(i.props.interactive&&Zt(d,v))){if(De(i.props.triggerTarget||e).some(function(h){return Zt(h,v)})){if(te.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[i,a]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),p=!0,setTimeout(function(){p=!1}),i.state.isMounted||ie())}}}function ve(){u=!0}function re(){u=!1}function G(){var a=F();a.addEventListener("mousedown",ee,!0),a.addEventListener("touchend",ee,ye),a.addEventListener("touchstart",re,ye),a.addEventListener("touchmove",ve,ye)}function ie(){var a=F();a.removeEventListener("mousedown",ee,!0),a.removeEventListener("touchend",ee,ye),a.removeEventListener("touchstart",re,ye),a.removeEventListener("touchmove",ve,ye)}function Ee(a,v){Oe(a,function(){!i.state.isVisible&&d.parentNode&&d.parentNode.contains(d)&&v()})}function oe(a,v){Oe(a,v)}function Oe(a,v){var h=U().box;function S(O){O.target===h&&(gt(h,"remove",S),v())}if(a===0)return v();gt(h,"remove",g),gt(h,"add",S),g=S}function ue(a,v,h){h===void 0&&(h=!1);var S=De(i.props.triggerTarget||e);S.forEach(function(O){O.addEventListener(a,v,h),m.push({node:O,eventType:a,handler:v,options:h})})}function xe(){T()&&(ue("touchstart",Pe,{passive:!0}),ue("touchend",Xe,{passive:!0})),Fi(i.props.trigger).forEach(function(a){if(a!=="manual")switch(ue(a,Pe),a){case"mouseenter":ue("mouseleave",Xe);break;case"focus":ue(eo?"focusout":"blur",_e);break;case"focusin":ue("focusout",_e);break}})}function Ke(){m.forEach(function(a){var v=a.node,h=a.eventType,S=a.handler,O=a.options;v.removeEventListener(h,S,O)}),m=[]}function Pe(a){var v,h=!1;if(!(!i.state.isEnabled||Ne(a)||p)){var S=((v=l)==null?void 0:v.type)==="focus";l=a,y=a.currentTarget,Q(),!i.state.isVisible&&qi(a)&&at.forEach(function(O){return O(a)}),a.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||c)&&i.props.hideOnClick!==!1&&i.state.isVisible?h=!0:Me(a),a.type==="click"&&(c=!h),h&&!S&&he(a)}}function Ge(a){var v=a.target,h=P().contains(v)||d.contains(v);if(!(a.type==="mousemove"&&h)){var S=ce().concat(d).map(function(O){var j,z=O._tippy,Te=(j=z.popperInstance)==null?void 0:j.state;return Te?{popperRect:O.getBoundingClientRect(),popperState:Te,props:n}:null}).filter(Boolean);Gi(S,a)&&(de(),he(a))}}function Xe(a){var v=Ne(a)||i.props.trigger.indexOf("click")>=0&&c;if(!v){if(i.props.interactive){i.hideWithInteractivity(a);return}he(a)}}function _e(a){i.props.trigger.indexOf("focusin")<0&&a.target!==P()||i.props.interactive&&a.relatedTarget&&d.contains(a.relatedTarget)||he(a)}function Ne(a){return te.isTouch?T()!==a.type.indexOf("touch")>=0:!1}function Ze(){Je();var a=i.props,v=a.popperOptions,h=a.placement,S=a.offset,O=a.getReferenceClientRect,j=a.moveTransition,z=C()?Tt(d).arrow:null,Te=O?{getBoundingClientRect:O,contextElement:O.contextElement||P()}:e,Nt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(rt){var Ae=rt.state;if(C()){var nr=U(),vt=nr.box;["placement","reference-hidden","escaped"].forEach(function(it){it==="placement"?vt.setAttribute("data-placement",Ae.placement):Ae.attributes.popper["data-popper-"+it]?vt.setAttribute("data-"+it,""):vt.removeAttribute("data-"+it)}),Ae.attributes.popper={}}}},me=[{name:"offset",options:{offset:S}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!j}},Nt];C()&&z&&me.push({name:"arrow",options:{element:z,padding:3}}),me.push.apply(me,(v==null?void 0:v.modifiers)||[]),i.popperInstance=ki(Te,d,Object.assign({},v,{placement:h,onFirstUpdate:x,modifiers:me}))}function Je(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function ae(){var a=i.props.appendTo,v,h=P();i.props.interactive&&a===kn||a==="parent"?v=h.parentNode:v=Vn(a,[h]),v.contains(d)||v.appendChild(d),i.state.isMounted=!0,Ze(),process.env.NODE_ENV!=="production"&&se(i.props.interactive&&a===H.appendTo&&h.nextElementSibling!==d,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
15
|
-
|
|
16
|
-
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
17
|
-
|
|
18
|
-
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
19
|
-
|
|
20
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ce(){return pt(d.querySelectorAll("[data-tippy-root]"))}function Me(a){i.clearDelayTimeouts(),a&&M("onTrigger",[i,a]),G();var v=k(!0),h=I(),S=h[0],O=h[1];te.isTouch&&S==="hold"&&O&&(v=O),v?r=setTimeout(function(){i.show()},v):i.show()}function he(a){if(i.clearDelayTimeouts(),M("onUntrigger",[i,a]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(a.type)>=0&&c)){var v=k(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):s=requestAnimationFrame(function(){i.hide()})}}function ke(){i.state.isEnabled=!0}function Qe(){i.hide(),i.state.isEnabled=!1}function et(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function tt(a){if(process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("setProps")),!i.state.isDestroyed){M("onBeforeUpdate",[i,a]),Ke();var v=i.props,h=en(e,Object.assign({},v,Gt(a),{ignoreAttributes:!0}));i.props=h,xe(),v.interactiveDebounce!==h.interactiveDebounce&&(de(),w=Yt(Ge,h.interactiveDebounce)),v.triggerTarget&&!h.triggerTarget?De(v.triggerTarget).forEach(function(S){S.removeAttribute("aria-expanded")}):h.triggerTarget&&e.removeAttribute("aria-expanded"),Q(),V(),D&&D(v,h),i.popperInstance&&(Ze(),ce().forEach(function(S){requestAnimationFrame(S._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[i,a])}}function nt(a){i.setProps({content:a})}function Zn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("show"));var a=i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,S=te.isTouch&&!i.props.touch,O=ht(i.props.duration,0,H.duration);if(!(a||v||h||S)&&!P().hasAttribute("disabled")&&(M("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,C()&&(d.style.visibility="visible"),V(),G(),i.state.isMounted||(d.style.transition="none"),C()){var j=U(),z=j.box,Te=j.content;mt([z,Te],0)}x=function(){var me;if(!(!i.state.isVisible||f)){if(f=!0,d.offsetHeight,d.style.transition=i.props.moveTransition,C()&&i.props.animation){var dt=U(),rt=dt.box,Ae=dt.content;mt([rt,Ae],O),Xt([rt,Ae],"visible")}J(),Q(),Kt(yt,i),(me=i.popperInstance)==null||me.forceUpdate(),M("onMount",[i]),i.props.animation&&C()&&oe(O,function(){i.state.isShown=!0,M("onShown",[i])})}},ae()}}function Jn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("hide"));var a=!i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,S=ht(i.props.duration,1,H.duration);if(!(a||v||h)&&(M("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,f=!1,c=!1,C()&&(d.style.visibility="hidden"),de(),ie(),V(!0),C()){var O=U(),j=O.box,z=O.content;i.props.animation&&(mt([j,z],S),Xt([j,z],"hidden"))}J(),Q(),i.props.animation?C()&&Ee(S,i.unmount):i.unmount()}}function Qn(a){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("hideWithInteractivity")),F().addEventListener("mousemove",w),Kt(at,w),w(a)}function er(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("unmount")),i.state.isVisible&&i.hide(),i.state.isMounted&&(Je(),ce().forEach(function(a){a._tippy.unmount()}),d.parentNode&&d.parentNode.removeChild(d),yt=yt.filter(function(a){return a!==i}),i.state.isMounted=!1,M("onHidden",[i]))}function tr(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Se("destroy")),!i.state.isDestroyed&&(i.clearDelayTimeouts(),i.unmount(),Ke(),delete e._tippy,i.state.isDestroyed=!0,M("onDestroy",[i]))}}function Ye(e,t){t===void 0&&(t={});var n=H.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(ro(e),Un(t,n)),Ji();var r=Object.assign({},t,{plugins:n}),o=Yi(e);if(process.env.NODE_ENV!=="production"){var s=He(r.content),c=o.length>1;se(s&&c,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
21
|
-
|
|
22
|
-
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
23
|
-
|
|
24
|
-
`,`1) content: element.innerHTML
|
|
25
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var p=o.reduce(function(u,f){var l=f&&po(f,r);return l&&u.push(l),u},[]);return He(e)?p[0]:p}Ye.defaultProps=H;Ye.setDefaultProps=ao;Ye.currentInput=te;Object.assign({},An,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var lo={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function s(f){return t.props.sticky===!0||t.props.sticky===f}var c=null,p=null;function u(){var f=s("reference")?o().getBoundingClientRect():null,l=s("popper")?r.getBoundingClientRect():null;(f&&rn(c,f)||l&&rn(p,l))&&t.popperInstance&&t.popperInstance.update(),c=f,p=l,t.state.isMounted&&requestAnimationFrame(u)}return{onMount:function(){t.props.sticky&&u()}}}};function rn(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ye.setDefaultProps({render:Hn});const fo=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),vo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Wn=[!0,!1,"reference","popper"],qn=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,Ye(e,{...t,plugins:[lo],render:()=>go(n)})},zn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},fo(({state:s})=>{n(s.placement)})]}),ho=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},mo=e=>{const t=e==null?void 0:e.children[0];return t||ho(e)},go=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Yn=[...vo],Kn=300,Gn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Xn=[...Wn],yo=[!0,!1,"toggle"];const bo={name:"DtTooltip",components:{DtLazyShow:On},props:{id:{type:String,default(){return At()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Yn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>Xn.includes(e)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Gn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{isVisible(){return this.isShown&&this.enabled&&(!!this.message.trim()||!!this.$slots.default)},tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:zn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}},anchor(){return this.externalAnchor?document.body.querySelector(this.externalAnchor):mo(this.$refs.anchor)}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=qn(this.anchor,this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),Kn):this.triggerShow(e)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})}}};var wo=function(){var t=this,n=t._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[t.externalAnchor?t._e():n("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:t.onEnterAnchor,focusout:t.onLeaveAnchor,mouseenter:t.onEnterAnchor,mouseleave:t.onLeaveAnchor,keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"esc",27,r.key,["Esc","Escape"])?null:t.onLeaveAnchor.apply(null,arguments)}}},[t._t("anchor")],2),n("dt-lazy-show",t._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${t.currentPlacement}`,{[t.TOOLTIP_KIND_MODIFIERS.inverted]:t.inverted},t.contentClass],attrs:{id:t.id,show:t.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:t.transition}},t.tooltipListeners),[t._t("default",function(){return[t._v(" "+t._s(t.message)+" ")]})],2)],1)},Eo=[],Oo=on.normalizeComponent(bo,wo,Eo,!1,null,null,null,null);const xo=Oo.exports;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=an;exports.DESCRIPTION_SIZE_MODIFIERS=or;exports.DESCRIPTION_SIZE_TYPES=ir;exports.DtLazyShow=On;exports.DtTooltip=xo;exports.EVENT_KEYNAMES=sr;exports.LABEL_SIZE_MODIFIERS=ar;exports.TIPPY_STICKY_VALUES=Wn;exports.TOOLTIP_DELAY_MS=Kn;exports.TOOLTIP_DIRECTIONS=Yn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=yo;exports.TOOLTIP_KIND_MODIFIERS=Gn;exports.TOOLTIP_STICKY_VALUES=Xn;exports.VALIDATION_MESSAGE_TYPES=le;exports.capitalizeFirstLetter=En;exports.createTippy=qn;exports.filterFormattedMessages=pn;exports.formatMessages=cn;exports.getPopperOptions=zn;exports.getRandomElement=sn;exports.getUniqueString=At;exports.getValidationState=St;exports.isOutOfViewPort=fn;exports.kebabCaseToPascalCase=ln;exports.pascalCaseToKebabCase=vr;exports.safeConcatStrings=wn;exports.utils=Tr;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixDefaultSlot.d.ts","sourceRoot":"","sources":["../../../../components/plugins/fixDefaultSlot.js"],"names":[],"mappings":";IACE,+CAQC"}
|