@paperless/core 0.1.0-alpha.21 → 0.1.0-alpha.22
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.md +11 -0
- package/dist/build/{p-ec52095f.entry.js → p-17c11169.entry.js} +1 -1
- package/dist/build/{p-6c6c1137.entry.js → p-42dab9d4.entry.js} +1 -1
- package/dist/build/{p-19afe191.entry.js → p-47b52f92.entry.js} +1 -1
- package/dist/build/p-554b5a22.entry.js +1 -0
- package/dist/build/{p-6cd89223.entry.js → p-5ec6ea71.entry.js} +1 -1
- package/dist/{paperless/p-229f113b.js → build/p-76464e0b.js} +1 -1
- package/dist/{paperless/p-23980fbb.entry.js → build/p-8501ba07.entry.js} +1 -1
- package/dist/build/{p-06a38756.entry.js → p-aae3d4f0.entry.js} +1 -1
- package/dist/build/{p-5f0ec763.entry.js → p-adcb0b93.entry.js} +1 -1
- package/dist/build/{p-e80637b9.entry.js → p-bbec0e86.entry.js} +1 -1
- package/dist/build/{p-80bf9d06.entry.js → p-d23e4d57.entry.js} +1 -1
- package/dist/build/{p-31f80006.entry.js → p-f65d7bbf.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-6b6e08cc.js → index-a46a39a5.js} +10 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-helper.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination.cjs.entry.js +11 -11
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/components/molecules/pagination/pagination.component.js +14 -14
- package/dist/components/p-pagination.js +11 -11
- package/dist/esm/{index-5c917d13.js → index-a68e547b.js} +10 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-helper.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +1 -1
- package/dist/esm/p-pagination-item.entry.js +1 -1
- package/dist/esm/p-pagination.entry.js +11 -11
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/{p-ec52095f.entry.js → p-17c11169.entry.js} +1 -1
- package/dist/paperless/{p-6c6c1137.entry.js → p-42dab9d4.entry.js} +1 -1
- package/dist/paperless/{p-19afe191.entry.js → p-47b52f92.entry.js} +1 -1
- package/dist/paperless/p-554b5a22.entry.js +1 -0
- package/dist/paperless/{p-6cd89223.entry.js → p-5ec6ea71.entry.js} +1 -1
- package/dist/{build/p-229f113b.js → paperless/p-76464e0b.js} +1 -1
- package/dist/{build/p-23980fbb.entry.js → paperless/p-8501ba07.entry.js} +1 -1
- package/dist/paperless/{p-06a38756.entry.js → p-aae3d4f0.entry.js} +1 -1
- package/dist/paperless/{p-5f0ec763.entry.js → p-adcb0b93.entry.js} +1 -1
- package/dist/paperless/{p-e80637b9.entry.js → p-bbec0e86.entry.js} +1 -1
- package/dist/paperless/{p-80bf9d06.entry.js → p-d23e4d57.entry.js} +1 -1
- package/dist/paperless/{p-31f80006.entry.js → p-f65d7bbf.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +45 -53
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +2 -2
- package/dist/types/components.d.ts +9 -9
- package/package.json +1 -1
- package/dist/build/p-c24c42de.entry.js +0 -1
- package/dist/collection/components/molecules/pagination/pagination.value-accessor.js +0 -6
- package/dist/collection/value-accessors.config.js +0 -5
- package/dist/paperless/p-c24c42de.entry.js +0 -1
- package/dist/types/components/molecules/pagination/pagination.value-accessor.d.ts +0 -2
- package/dist/types/value-accessors.config.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as r,g as o}from"./p-229f113b.js";var n="top",i="bottom",a="right",s="left",c=[n,i,a,s],p=c.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),u=[].concat(c,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function d(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function w(t){return t instanceof l(t).Element||t instanceof Element}function h(t){return t instanceof l(t).HTMLElement||t instanceof HTMLElement}function b(t){return"undefined"!=typeof ShadowRoot&&(t instanceof l(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var m=Math.max,g=Math.min,y=Math.round;function x(t,e){void 0===e&&(e=!1);var r=t.getBoundingClientRect(),o=1,n=1;if(h(t)&&e){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(o=y(r.width)/a||1),i>0&&(n=y(r.height)/i||1)}return{width:r.width/o,height:r.height/n,top:r.top/n,right:r.right/o,bottom:r.bottom/n,left:r.left/o,x:r.left/o,y:r.top/n}}function k(t){var e=x(t),r=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:o}}function O(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&b(r)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function j(t){return l(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(d(t))>=0}function M(t){return((w(t)?t.ownerDocument:t.document)||window.document).documentElement}function S(t){return"html"===d(t)?t:t.assignedSlot||t.parentNode||(b(t)?t.host:null)||M(t)}function E(t){return h(t)&&"fixed"!==j(t).position?t.offsetParent:null}function H(t){for(var e=l(t),r=E(t);r&&z(r)&&"static"===j(r).position;)r=E(r);return r&&("html"===d(r)||"body"===d(r)&&"static"===j(r).position)?e:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&h(t)&&"fixed"===j(t).position)return null;var r=S(t);for(b(r)&&(r=r.host);h(r)&&["html","body"].indexOf(d(r))<0;){var o=j(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(t)||e}function L(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,e,r){return m(t,g(e,r))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}function I(t){return t.split("-")[1]}var R={top:"auto",right:"auto",bottom:"auto",left:"auto"};function C(t){var e,r=t.popper,o=t.popperRect,c=t.placement,p=t.variation,u=t.offsets,f=t.position,d=t.gpuAcceleration,w=t.adaptive,h=t.roundOffsets,b=t.isFixed,v=u.x,m=void 0===v?0:v,g=u.y,x=void 0===g?0:g,k="function"==typeof h?h({x:m,y:x}):{x:m,y:x};m=k.x,x=k.y;var O=u.hasOwnProperty("x"),z=u.hasOwnProperty("y"),S=s,E=n,L=window;if(w){var A=H(r),q="clientHeight",B="clientWidth";A===l(r)&&"static"!==j(A=M(r)).position&&"absolute"===f&&(q="scrollHeight",B="scrollWidth"),A=A,(c===n||(c===s||c===a)&&"end"===p)&&(E=i,x-=(b&&A===L&&L.visualViewport?L.visualViewport.height:A[q])-o.height,x*=d?1:-1),c!==s&&(c!==n&&c!==i||"end"!==p)||(S=a,m-=(b&&A===L&&L.visualViewport?L.visualViewport.width:A[B])-o.width,m*=d?1:-1)}var I,C=Object.assign({position:f},w&&R),P=!0===h?function(t){var e=t.y,r=window.devicePixelRatio||1;return{x:y(t.x*r)/r||0,y:y(e*r)/r||0}}({x:m,y:x}):{x:m,y:x};return m=P.x,x=P.y,Object.assign({},C,d?((I={})[E]=z?"0":"",I[S]=O?"0":"",I.transform=(L.devicePixelRatio||1)<=1?"translate("+m+"px, "+x+"px)":"translate3d("+m+"px, "+x+"px, 0)",I):((e={})[E]=z?x+"px":"",e[S]=O?m+"px":"",e.transform="",e))}var P={passive:!0},T={left:"right",right:"left",bottom:"top",top:"bottom"};function _(t){return t.replace(/left|right|bottom|top/g,(function(t){return T[t]}))}var W={start:"end",end:"start"};function U(t){return t.replace(/start|end/g,(function(t){return W[t]}))}function N(t){var e=l(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function X(t){return x(M(t)).left+N(t).scrollLeft}function Y(t){var e=j(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function F(t){return["html","body","#document"].indexOf(d(t))>=0?t.ownerDocument.body:h(t)&&Y(t)?t:F(S(t))}function D(t,e){var r;void 0===e&&(e=[]);var o=F(t),n=o===(null==(r=t.ownerDocument)?void 0:r.body),i=l(o),a=n?[i].concat(i.visualViewport||[],Y(o)?o:[]):o,s=e.concat(a);return n?s:s.concat(D(S(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $(t,e){return"viewport"===e?V(function(t){var e=l(t),r=M(t),o=e.visualViewport,n=r.clientWidth,i=r.clientHeight,a=0,s=0;return o&&(n=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:n,height:i,x:a+X(t),y:s}}(t)):w(e)?function(t){var e=x(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):V(function(t){var e,r=M(t),o=N(t),n=null==(e=t.ownerDocument)?void 0:e.body,i=m(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=m(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-o.scrollLeft+X(t),c=-o.scrollTop;return"rtl"===j(n||r).direction&&(s+=m(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(M(t)))}function G(t){var e,r=t.reference,o=t.element,c=t.placement,p=c?v(c):null,u=c?I(c):null,f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2;switch(p){case n:e={x:f,y:r.y-o.height};break;case i:e={x:f,y:r.y+r.height};break;case a:e={x:r.x+r.width,y:d};break;case s:e={x:r.x-o.width,y:d};break;default:e={x:r.x,y:r.y}}var l=p?L(p):null;if(null!=l){var w="y"===l?"height":"width";switch(u){case"start":e[l]=e[l]-(r[w]/2-o[w]/2);break;case"end":e[l]=e[l]+(r[w]/2-o[w]/2)}}return e}function J(t,e){void 0===e&&(e={});var r=e.placement,o=void 0===r?t.placement:r,s=e.boundary,p=void 0===s?"clippingParents":s,u=e.rootBoundary,f=void 0===u?"viewport":u,l=e.elementContext,b=void 0===l?"popper":l,v=e.altBoundary,y=void 0!==v&&v,k=e.padding,z=void 0===k?0:k,E=q("number"!=typeof z?z:B(z,c)),L=t.rects.popper,A=t.elements[y?"popper"===b?"reference":"popper":b],I=function(t,e,r){var o="clippingParents"===e?function(t){var e=D(S(t)),r=["absolute","fixed"].indexOf(j(t).position)>=0&&h(t)?H(t):t;return w(r)?e.filter((function(t){return w(t)&&O(t,r)&&"body"!==d(t)})):[]}(t):[].concat(e),n=[].concat(o,[r]),i=n.reduce((function(e,r){var o=$(t,r);return e.top=m(o.top,e.top),e.right=g(o.right,e.right),e.bottom=g(o.bottom,e.bottom),e.left=m(o.left,e.left),e}),$(t,n[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(w(A)?A:A.contextElement||M(t.elements.popper),p,f),R=x(t.elements.reference),C=G({reference:R,element:L,strategy:"absolute",placement:o}),P=V(Object.assign({},L,C)),T="popper"===b?P:R,_={top:I.top-T.top+E.top,bottom:T.bottom-I.bottom+E.bottom,left:I.left-T.left+E.left,right:T.right-I.right+E.right},W=t.modifiersData.offset;if("popper"===b&&W){var U=W[o];Object.keys(_).forEach((function(t){var e=[a,i].indexOf(t)>=0?1:-1,r=[n,i].indexOf(t)>=0?"y":"x";_[t]+=U[r]*e}))}return _}function K(t,e){void 0===e&&(e={});var r=e.boundary,o=e.rootBoundary,n=e.padding,i=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?u:a,f=I(e.placement),d=f?i?p:p.filter((function(t){return I(t)===f})):c,l=d.filter((function(t){return s.indexOf(t)>=0}));0===l.length&&(l=d);var w=l.reduce((function(e,i){return e[i]=J(t,{placement:i,boundary:r,rootBoundary:o,padding:n})[v(i)],e}),{});return Object.keys(w).sort((function(t,e){return w[t]-w[e]}))}function Q(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function Z(t){return[n,a,i,s].some((function(e){return t[e]>=0}))}function tt(t,e,r){void 0===r&&(r=!1);var o,n,i=h(e),a=h(e)&&function(t){var e=t.getBoundingClientRect(),r=y(e.width)/t.offsetWidth||1,o=y(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),s=M(e),c=x(t,a),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==d(e)||Y(s))&&(p=(o=e)!==l(o)&&h(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:N(o)),h(e)?((u=x(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=X(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function et(t){var e=new Map,r=new Set,o=[];function n(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||n(t)})),o}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function ot(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var e=t.defaultModifiers,r=void 0===e?[]:e,o=t.defaultOptions,n=void 0===o?rt:o;return function(t,e,o){void 0===o&&(o=n);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,n),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],p=!1,u={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},n,s.options,i),s.scrollParents={reference:w(t)?D(t):t.contextElement?D(t.contextElement):[],popper:D(e)};var a,p,l=function(t){var e=et(t);return f.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}((a=[].concat(r,s.options.modifiers),p=a.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{}),Object.keys(p).map((function(t){return p[t]}))));return s.orderedModifiers=l.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,r=t.effect;if("function"==typeof r){var o=r({state:s,name:t.name,instance:u,options:void 0===e?{}:e});c.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!p){var t=s.elements,e=t.reference,r=t.popper;if(ot(e,r)){s.rects={reference:tt(e,H(r),"fixed"===s.options.strategy),popper:k(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var n=s.orderedModifiers[o],i=n.fn,a=n.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:n.name,instance:u})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(t){u.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!ot(t,e))return u;function d(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(o).then((function(t){!p&&o.onFirstUpdate&&o.onFirstUpdate(t)})),u}}var it=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,o=t.options,n=o.scroll,i=void 0===n||n,a=o.resize,s=void 0===a||a,c=l(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&p.forEach((function(t){t.addEventListener("scroll",r.update,P)})),s&&c.addEventListener("resize",r.update,P),function(){i&&p.forEach((function(t){t.removeEventListener("scroll",r.update,P)})),s&&c.removeEventListener("resize",r.update,P)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=G({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,o=r.gpuAcceleration,n=void 0===o||o,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,c=void 0===s||s,p={placement:v(e.placement),variation:I(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,C(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,C(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},n=e.elements[t];h(n)&&d(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){var e=o[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],n=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});h(o)&&d(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.name,o=t.options.offset,i=void 0===o?[0,0]:o,c=u.reduce((function(t,r){return t[r]=function(t,e,r){var o=v(t),i=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof r?r(Object.assign({},e,{placement:t})):r,p=c[0],u=c[1];return p=p||0,u=(u||0)*i,[s,a].indexOf(o)>=0?{x:u,y:p}:{x:p,y:u}}(r,e.rects,i),t}),{}),p=c[e.placement],f=p.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p.x,e.modifiersData.popperOffsets.y+=f),e.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var c=r.mainAxis,p=void 0===c||c,u=r.altAxis,f=void 0===u||u,d=r.fallbackPlacements,l=r.padding,w=r.boundary,h=r.rootBoundary,b=r.altBoundary,m=r.flipVariations,g=void 0===m||m,y=r.allowedAutoPlacements,x=e.options.placement,k=v(x),O=d||(k!==x&&g?function(t){if("auto"===v(t))return[];var e=_(t);return[U(t),e,U(e)]}(x):[_(x)]),j=[x].concat(O).reduce((function(t,r){return t.concat("auto"===v(r)?K(e,{placement:r,boundary:w,rootBoundary:h,padding:l,flipVariations:g,allowedAutoPlacements:y}):r)}),[]),z=e.rects.reference,M=e.rects.popper,S=new Map,E=!0,H=j[0],L=0;L<j.length;L++){var A=j[L],q=v(A),B="start"===I(A),R=[n,i].indexOf(q)>=0,C=R?"width":"height",P=J(e,{placement:A,boundary:w,rootBoundary:h,altBoundary:b,padding:l}),T=R?B?a:s:B?i:n;z[C]>M[C]&&(T=_(T));var W=_(T),N=[];if(p&&N.push(P[q]<=0),f&&N.push(P[T]<=0,P[W]<=0),N.every((function(t){return t}))){H=A,E=!1;break}S.set(A,N)}if(E)for(var X=function(t){var e=j.find((function(e){var r=S.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return H=e,"break"},Y=g?3:1;Y>0&&"break"!==X(Y);Y--);e.placement!==H&&(e.modifiersData[o]._skip=!0,e.placement=H,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name,c=r.mainAxis,p=void 0===c||c,u=r.altAxis,f=void 0!==u&&u,d=r.tether,l=void 0===d||d,w=r.tetherOffset,h=void 0===w?0:w,b=J(e,{boundary:r.boundary,rootBoundary:r.rootBoundary,padding:r.padding,altBoundary:r.altBoundary}),y=v(e.placement),x=I(e.placement),O=!x,j=L(y),z="x"===j?"y":"x",M=e.modifiersData.popperOffsets,S=e.rects.reference,E=e.rects.popper,q="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,B="number"==typeof q?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(M){if(p){var P,T="y"===j?n:s,_="y"===j?i:a,W="y"===j?"height":"width",U=M[j],N=U+b[T],X=U-b[_],Y=l?-E[W]/2:0,F="start"===x?S[W]:E[W],D="start"===x?-E[W]:-S[W],V=e.elements.arrow,$=l&&V?k(V):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=G[T],Q=G[_],Z=A(0,S[W],$[W]),tt=O?S[W]/2-Y-Z-K-B.mainAxis:F-Z-K-B.mainAxis,et=O?-S[W]/2+Y+Z+Q+B.mainAxis:D+Z+Q+B.mainAxis,rt=e.elements.arrow&&H(e.elements.arrow),ot=null!=(P=null==R?void 0:R[j])?P:0,nt=U+et-ot,it=A(l?g(N,U+tt-ot-(rt?"y"===j?rt.clientTop||0:rt.clientLeft||0:0)):N,U,l?m(X,nt):X);M[j]=it,C[j]=it-U}if(f){var at,st=M[z],ct="y"===z?"height":"width",pt=st+b["x"===j?n:s],ut=st-b["x"===j?i:a],ft=-1!==[n,s].indexOf(y),dt=null!=(at=null==R?void 0:R[z])?at:0,lt=ft?pt:st-S[ct]-E[ct]-dt+B.altAxis,wt=ft?st+S[ct]+E[ct]-dt-B.altAxis:ut,ht=l&&ft?function(t,e,r){var o=A(t,e,r);return o>r?r:o}(lt,st,wt):A(l?lt:pt,st,l?wt:ut);M[z]=ht,C[z]=ht-st}e.modifiersData[o]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,o=t.name,p=t.options,u=r.elements.arrow,f=r.modifiersData.popperOffsets,d=v(r.placement),l=L(d),w=[s,a].indexOf(d)>=0?"height":"width";if(u&&f){var h=function(t,e){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:B(t,c))}(p.padding,r),b=k(u),m="y"===l?n:s,g="y"===l?i:a,y=r.rects.reference[w]+r.rects.reference[l]-f[l]-r.rects.popper[w],x=f[l]-r.rects.reference[l],O=H(u),j=O?"y"===l?O.clientHeight||0:O.clientWidth||0:0,z=j/2-b[w]/2+(y/2-x/2),M=A(h[m],z,j-b[w]-h[g]);r.modifiersData[o]=((e={})[l]=M,e.centerOffset=M-z,e)}},effect:function(t){var e=t.state,r=t.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&O(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,o=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,a=J(e,{elementContext:"reference"}),s=J(e,{altBoundary:!0}),c=Q(a,o),p=Q(s,n,i),u=Z(c),f=Z(p);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]});const at=class{constructor(e){t(this,e),this.variant="hover",this.popover=null,this.placement="top",this.show=!1,this.canManuallyClose=!0,this._loaded=!1}componentShouldUpdate(){this._setOptions(),this._loaded&&this.show&&this._show()}render(){return e(r,{class:"p-popover"},e("slot",{name:"content"}),e("div",{class:`popover variant-${this.variant}`,role:"popover",ref:t=>this._load(t)},this.popover?this.popover:e("slot",{name:"popover"}),e("div",{class:"arrow","data-popper-arrow":!0})))}clickHandler(){"hover"!==this.variant&&(this._popover.hasAttribute("data-show")||this._popover.hasAttribute("data-show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&this._popover.hasAttribute("data-show")&&this._popover.hasAttribute("data-show")&&this._hide()}mouseEnterHandler(){"click"!==this.variant&&this._show()}mouseLeaveHandler(){this.show||"click"===this.variant||this._hide()}_show(){this._loaded&&(this._popover.setAttribute("data-show",""),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this._popper.update())}_hide(){this._loaded&&(this._popover.removeAttribute("data-show"),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))))}_load(t){this._popover=t,t&&(this._popper=it(this._el,t),this._setOptions(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_setOptions(){this._popper&&this._popper.setOptions({placement:this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})}get _el(){return o(this)}};at.style='/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible!important}.absolute{position:absolute!important}.block{display:block!important}.hidden{display:none!important}.w-2{width:.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-storm,.bg-white{--tw-bg-opacity:1!important}.bg-storm{background-color:rgb(81 83 107/var(--tw-bg-opacity))!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}:host{cursor:pointer;display:inline-block}:host .popover{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.25rem;display:none;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);font-size:.75rem;font-weight:500;line-height:1rem;max-width:14.5rem;padding:.5rem .75rem}:host .popover.variant-hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(81 83 107/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));padding-bottom:.25rem;padding-top:.25rem}:host .popover[data-show]{display:block}:host .popover .arrow,:host .popover .arrow:before{background:inherit;height:.5rem;position:absolute;width:.5rem}:host .popover .arrow{visibility:hidden}:host .popover .arrow:before{--tw-rotate:45deg;content:"";transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));visibility:visible}:host .popover[data-popper-placement^=top]>.arrow{bottom:-.25rem}:host .popover[data-popper-placement^=bottom]>.arrow{top:-.25rem}:host .popover[data-popper-placement^=left]>.arrow{right:-.25rem}:host .popover[data-popper-placement^=right]>.arrow{left:-.25rem}.static{position:static!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}';export{at as p_tooltip}
|
|
1
|
+
import{r as t,h as e,H as r,g as o}from"./p-76464e0b.js";var n="top",i="bottom",a="right",s="left",c=[n,i,a,s],p=c.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),u=[].concat(c,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function d(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function w(t){return t instanceof l(t).Element||t instanceof Element}function h(t){return t instanceof l(t).HTMLElement||t instanceof HTMLElement}function b(t){return"undefined"!=typeof ShadowRoot&&(t instanceof l(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var m=Math.max,g=Math.min,y=Math.round;function x(t,e){void 0===e&&(e=!1);var r=t.getBoundingClientRect(),o=1,n=1;if(h(t)&&e){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(o=y(r.width)/a||1),i>0&&(n=y(r.height)/i||1)}return{width:r.width/o,height:r.height/n,top:r.top/n,right:r.right/o,bottom:r.bottom/n,left:r.left/o,x:r.left/o,y:r.top/n}}function k(t){var e=x(t),r=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:o}}function O(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&b(r)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function j(t){return l(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(d(t))>=0}function M(t){return((w(t)?t.ownerDocument:t.document)||window.document).documentElement}function S(t){return"html"===d(t)?t:t.assignedSlot||t.parentNode||(b(t)?t.host:null)||M(t)}function E(t){return h(t)&&"fixed"!==j(t).position?t.offsetParent:null}function H(t){for(var e=l(t),r=E(t);r&&z(r)&&"static"===j(r).position;)r=E(r);return r&&("html"===d(r)||"body"===d(r)&&"static"===j(r).position)?e:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&h(t)&&"fixed"===j(t).position)return null;var r=S(t);for(b(r)&&(r=r.host);h(r)&&["html","body"].indexOf(d(r))<0;){var o=j(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(t)||e}function L(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,e,r){return m(t,g(e,r))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}function I(t){return t.split("-")[1]}var R={top:"auto",right:"auto",bottom:"auto",left:"auto"};function C(t){var e,r=t.popper,o=t.popperRect,c=t.placement,p=t.variation,u=t.offsets,f=t.position,d=t.gpuAcceleration,w=t.adaptive,h=t.roundOffsets,b=t.isFixed,v=u.x,m=void 0===v?0:v,g=u.y,x=void 0===g?0:g,k="function"==typeof h?h({x:m,y:x}):{x:m,y:x};m=k.x,x=k.y;var O=u.hasOwnProperty("x"),z=u.hasOwnProperty("y"),S=s,E=n,L=window;if(w){var A=H(r),q="clientHeight",B="clientWidth";A===l(r)&&"static"!==j(A=M(r)).position&&"absolute"===f&&(q="scrollHeight",B="scrollWidth"),A=A,(c===n||(c===s||c===a)&&"end"===p)&&(E=i,x-=(b&&A===L&&L.visualViewport?L.visualViewport.height:A[q])-o.height,x*=d?1:-1),c!==s&&(c!==n&&c!==i||"end"!==p)||(S=a,m-=(b&&A===L&&L.visualViewport?L.visualViewport.width:A[B])-o.width,m*=d?1:-1)}var I,C=Object.assign({position:f},w&&R),P=!0===h?function(t){var e=t.y,r=window.devicePixelRatio||1;return{x:y(t.x*r)/r||0,y:y(e*r)/r||0}}({x:m,y:x}):{x:m,y:x};return m=P.x,x=P.y,Object.assign({},C,d?((I={})[E]=z?"0":"",I[S]=O?"0":"",I.transform=(L.devicePixelRatio||1)<=1?"translate("+m+"px, "+x+"px)":"translate3d("+m+"px, "+x+"px, 0)",I):((e={})[E]=z?x+"px":"",e[S]=O?m+"px":"",e.transform="",e))}var P={passive:!0},T={left:"right",right:"left",bottom:"top",top:"bottom"};function _(t){return t.replace(/left|right|bottom|top/g,(function(t){return T[t]}))}var W={start:"end",end:"start"};function U(t){return t.replace(/start|end/g,(function(t){return W[t]}))}function N(t){var e=l(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function X(t){return x(M(t)).left+N(t).scrollLeft}function Y(t){var e=j(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function F(t){return["html","body","#document"].indexOf(d(t))>=0?t.ownerDocument.body:h(t)&&Y(t)?t:F(S(t))}function D(t,e){var r;void 0===e&&(e=[]);var o=F(t),n=o===(null==(r=t.ownerDocument)?void 0:r.body),i=l(o),a=n?[i].concat(i.visualViewport||[],Y(o)?o:[]):o,s=e.concat(a);return n?s:s.concat(D(S(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $(t,e){return"viewport"===e?V(function(t){var e=l(t),r=M(t),o=e.visualViewport,n=r.clientWidth,i=r.clientHeight,a=0,s=0;return o&&(n=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,s=o.offsetTop)),{width:n,height:i,x:a+X(t),y:s}}(t)):w(e)?function(t){var e=x(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):V(function(t){var e,r=M(t),o=N(t),n=null==(e=t.ownerDocument)?void 0:e.body,i=m(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=m(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),s=-o.scrollLeft+X(t),c=-o.scrollTop;return"rtl"===j(n||r).direction&&(s+=m(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(M(t)))}function G(t){var e,r=t.reference,o=t.element,c=t.placement,p=c?v(c):null,u=c?I(c):null,f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2;switch(p){case n:e={x:f,y:r.y-o.height};break;case i:e={x:f,y:r.y+r.height};break;case a:e={x:r.x+r.width,y:d};break;case s:e={x:r.x-o.width,y:d};break;default:e={x:r.x,y:r.y}}var l=p?L(p):null;if(null!=l){var w="y"===l?"height":"width";switch(u){case"start":e[l]=e[l]-(r[w]/2-o[w]/2);break;case"end":e[l]=e[l]+(r[w]/2-o[w]/2)}}return e}function J(t,e){void 0===e&&(e={});var r=e.placement,o=void 0===r?t.placement:r,s=e.boundary,p=void 0===s?"clippingParents":s,u=e.rootBoundary,f=void 0===u?"viewport":u,l=e.elementContext,b=void 0===l?"popper":l,v=e.altBoundary,y=void 0!==v&&v,k=e.padding,z=void 0===k?0:k,E=q("number"!=typeof z?z:B(z,c)),L=t.rects.popper,A=t.elements[y?"popper"===b?"reference":"popper":b],I=function(t,e,r){var o="clippingParents"===e?function(t){var e=D(S(t)),r=["absolute","fixed"].indexOf(j(t).position)>=0&&h(t)?H(t):t;return w(r)?e.filter((function(t){return w(t)&&O(t,r)&&"body"!==d(t)})):[]}(t):[].concat(e),n=[].concat(o,[r]),i=n.reduce((function(e,r){var o=$(t,r);return e.top=m(o.top,e.top),e.right=g(o.right,e.right),e.bottom=g(o.bottom,e.bottom),e.left=m(o.left,e.left),e}),$(t,n[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(w(A)?A:A.contextElement||M(t.elements.popper),p,f),R=x(t.elements.reference),C=G({reference:R,element:L,strategy:"absolute",placement:o}),P=V(Object.assign({},L,C)),T="popper"===b?P:R,_={top:I.top-T.top+E.top,bottom:T.bottom-I.bottom+E.bottom,left:I.left-T.left+E.left,right:T.right-I.right+E.right},W=t.modifiersData.offset;if("popper"===b&&W){var U=W[o];Object.keys(_).forEach((function(t){var e=[a,i].indexOf(t)>=0?1:-1,r=[n,i].indexOf(t)>=0?"y":"x";_[t]+=U[r]*e}))}return _}function K(t,e){void 0===e&&(e={});var r=e.boundary,o=e.rootBoundary,n=e.padding,i=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?u:a,f=I(e.placement),d=f?i?p:p.filter((function(t){return I(t)===f})):c,l=d.filter((function(t){return s.indexOf(t)>=0}));0===l.length&&(l=d);var w=l.reduce((function(e,i){return e[i]=J(t,{placement:i,boundary:r,rootBoundary:o,padding:n})[v(i)],e}),{});return Object.keys(w).sort((function(t,e){return w[t]-w[e]}))}function Q(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function Z(t){return[n,a,i,s].some((function(e){return t[e]>=0}))}function tt(t,e,r){void 0===r&&(r=!1);var o,n,i=h(e),a=h(e)&&function(t){var e=t.getBoundingClientRect(),r=y(e.width)/t.offsetWidth||1,o=y(e.height)/t.offsetHeight||1;return 1!==r||1!==o}(e),s=M(e),c=x(t,a),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==d(e)||Y(s))&&(p=(o=e)!==l(o)&&h(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:N(o)),h(e)?((u=x(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=X(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function et(t){var e=new Map,r=new Set,o=[];function n(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||n(t)})),o}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function ot(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var e=t.defaultModifiers,r=void 0===e?[]:e,o=t.defaultOptions,n=void 0===o?rt:o;return function(t,e,o){void 0===o&&(o=n);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,n),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],p=!1,u={state:s,setOptions:function(o){var i="function"==typeof o?o(s.options):o;d(),s.options=Object.assign({},n,s.options,i),s.scrollParents={reference:w(t)?D(t):t.contextElement?D(t.contextElement):[],popper:D(e)};var a,p,l=function(t){var e=et(t);return f.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}((a=[].concat(r,s.options.modifiers),p=a.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{}),Object.keys(p).map((function(t){return p[t]}))));return s.orderedModifiers=l.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,r=t.effect;if("function"==typeof r){var o=r({state:s,name:t.name,instance:u,options:void 0===e?{}:e});c.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!p){var t=s.elements,e=t.reference,r=t.popper;if(ot(e,r)){s.rects={reference:tt(e,H(r),"fixed"===s.options.strategy),popper:k(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var n=s.orderedModifiers[o],i=n.fn,a=n.options;"function"==typeof i&&(s=i({state:s,options:void 0===a?{}:a,name:n.name,instance:u})||s)}else s.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(t){u.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),p=!0}};if(!ot(t,e))return u;function d(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(o).then((function(t){!p&&o.onFirstUpdate&&o.onFirstUpdate(t)})),u}}var it=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,o=t.options,n=o.scroll,i=void 0===n||n,a=o.resize,s=void 0===a||a,c=l(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&p.forEach((function(t){t.addEventListener("scroll",r.update,P)})),s&&c.addEventListener("resize",r.update,P),function(){i&&p.forEach((function(t){t.removeEventListener("scroll",r.update,P)})),s&&c.removeEventListener("resize",r.update,P)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=G({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,o=r.gpuAcceleration,n=void 0===o||o,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,c=void 0===s||s,p={placement:v(e.placement),variation:I(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,C(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,C(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},n=e.elements[t];h(n)&&d(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){var e=o[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],n=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});h(o)&&d(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.name,o=t.options.offset,i=void 0===o?[0,0]:o,c=u.reduce((function(t,r){return t[r]=function(t,e,r){var o=v(t),i=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof r?r(Object.assign({},e,{placement:t})):r,p=c[0],u=c[1];return p=p||0,u=(u||0)*i,[s,a].indexOf(o)>=0?{x:u,y:p}:{x:p,y:u}}(r,e.rects,i),t}),{}),p=c[e.placement],f=p.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p.x,e.modifiersData.popperOffsets.y+=f),e.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var c=r.mainAxis,p=void 0===c||c,u=r.altAxis,f=void 0===u||u,d=r.fallbackPlacements,l=r.padding,w=r.boundary,h=r.rootBoundary,b=r.altBoundary,m=r.flipVariations,g=void 0===m||m,y=r.allowedAutoPlacements,x=e.options.placement,k=v(x),O=d||(k!==x&&g?function(t){if("auto"===v(t))return[];var e=_(t);return[U(t),e,U(e)]}(x):[_(x)]),j=[x].concat(O).reduce((function(t,r){return t.concat("auto"===v(r)?K(e,{placement:r,boundary:w,rootBoundary:h,padding:l,flipVariations:g,allowedAutoPlacements:y}):r)}),[]),z=e.rects.reference,M=e.rects.popper,S=new Map,E=!0,H=j[0],L=0;L<j.length;L++){var A=j[L],q=v(A),B="start"===I(A),R=[n,i].indexOf(q)>=0,C=R?"width":"height",P=J(e,{placement:A,boundary:w,rootBoundary:h,altBoundary:b,padding:l}),T=R?B?a:s:B?i:n;z[C]>M[C]&&(T=_(T));var W=_(T),N=[];if(p&&N.push(P[q]<=0),f&&N.push(P[T]<=0,P[W]<=0),N.every((function(t){return t}))){H=A,E=!1;break}S.set(A,N)}if(E)for(var X=function(t){var e=j.find((function(e){var r=S.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return H=e,"break"},Y=g?3:1;Y>0&&"break"!==X(Y);Y--);e.placement!==H&&(e.modifiersData[o]._skip=!0,e.placement=H,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,o=t.name,c=r.mainAxis,p=void 0===c||c,u=r.altAxis,f=void 0!==u&&u,d=r.tether,l=void 0===d||d,w=r.tetherOffset,h=void 0===w?0:w,b=J(e,{boundary:r.boundary,rootBoundary:r.rootBoundary,padding:r.padding,altBoundary:r.altBoundary}),y=v(e.placement),x=I(e.placement),O=!x,j=L(y),z="x"===j?"y":"x",M=e.modifiersData.popperOffsets,S=e.rects.reference,E=e.rects.popper,q="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,B="number"==typeof q?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(M){if(p){var P,T="y"===j?n:s,_="y"===j?i:a,W="y"===j?"height":"width",U=M[j],N=U+b[T],X=U-b[_],Y=l?-E[W]/2:0,F="start"===x?S[W]:E[W],D="start"===x?-E[W]:-S[W],V=e.elements.arrow,$=l&&V?k(V):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=G[T],Q=G[_],Z=A(0,S[W],$[W]),tt=O?S[W]/2-Y-Z-K-B.mainAxis:F-Z-K-B.mainAxis,et=O?-S[W]/2+Y+Z+Q+B.mainAxis:D+Z+Q+B.mainAxis,rt=e.elements.arrow&&H(e.elements.arrow),ot=null!=(P=null==R?void 0:R[j])?P:0,nt=U+et-ot,it=A(l?g(N,U+tt-ot-(rt?"y"===j?rt.clientTop||0:rt.clientLeft||0:0)):N,U,l?m(X,nt):X);M[j]=it,C[j]=it-U}if(f){var at,st=M[z],ct="y"===z?"height":"width",pt=st+b["x"===j?n:s],ut=st-b["x"===j?i:a],ft=-1!==[n,s].indexOf(y),dt=null!=(at=null==R?void 0:R[z])?at:0,lt=ft?pt:st-S[ct]-E[ct]-dt+B.altAxis,wt=ft?st+S[ct]+E[ct]-dt-B.altAxis:ut,ht=l&&ft?function(t,e,r){var o=A(t,e,r);return o>r?r:o}(lt,st,wt):A(l?lt:pt,st,l?wt:ut);M[z]=ht,C[z]=ht-st}e.modifiersData[o]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,o=t.name,p=t.options,u=r.elements.arrow,f=r.modifiersData.popperOffsets,d=v(r.placement),l=L(d),w=[s,a].indexOf(d)>=0?"height":"width";if(u&&f){var h=function(t,e){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:B(t,c))}(p.padding,r),b=k(u),m="y"===l?n:s,g="y"===l?i:a,y=r.rects.reference[w]+r.rects.reference[l]-f[l]-r.rects.popper[w],x=f[l]-r.rects.reference[l],O=H(u),j=O?"y"===l?O.clientHeight||0:O.clientWidth||0:0,z=j/2-b[w]/2+(y/2-x/2),M=A(h[m],z,j-b[w]-h[g]);r.modifiersData[o]=((e={})[l]=M,e.centerOffset=M-z,e)}},effect:function(t){var e=t.state,r=t.options.element,o=void 0===r?"[data-popper-arrow]":r;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&O(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,o=e.rects.reference,n=e.rects.popper,i=e.modifiersData.preventOverflow,a=J(e,{elementContext:"reference"}),s=J(e,{altBoundary:!0}),c=Q(a,o),p=Q(s,n,i),u=Z(c),f=Z(p);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]});const at=class{constructor(e){t(this,e),this.variant="hover",this.popover=null,this.placement="top",this.show=!1,this.canManuallyClose=!0,this._loaded=!1}componentShouldUpdate(){this._setOptions(),this._loaded&&this.show&&this._show()}render(){return e(r,{class:"p-popover"},e("slot",{name:"content"}),e("div",{class:`popover variant-${this.variant}`,role:"popover",ref:t=>this._load(t)},this.popover?this.popover:e("slot",{name:"popover"}),e("div",{class:"arrow","data-popper-arrow":!0})))}clickHandler(){"hover"!==this.variant&&(this._popover.hasAttribute("data-show")||this._popover.hasAttribute("data-show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&this._popover.hasAttribute("data-show")&&this._popover.hasAttribute("data-show")&&this._hide()}mouseEnterHandler(){"click"!==this.variant&&this._show()}mouseLeaveHandler(){this.show||"click"===this.variant||this._hide()}_show(){this._loaded&&(this._popover.setAttribute("data-show",""),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),this._popper.update())}_hide(){this._loaded&&(this._popover.removeAttribute("data-show"),this._popper.setOptions((t=>Object.assign(Object.assign({},t),{modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]}))))}_load(t){this._popover=t,t&&(this._popper=it(this._el,t),this._setOptions(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_setOptions(){this._popper&&this._popper.setOptions({placement:this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})}get _el(){return o(this)}};at.style='/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible!important}.absolute{position:absolute!important}.block{display:block!important}.hidden{display:none!important}.w-2{width:.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-storm,.bg-white{--tw-bg-opacity:1!important}.bg-storm{background-color:rgb(81 83 107/var(--tw-bg-opacity))!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}:host{cursor:pointer;display:inline-block}:host .popover{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.25rem;display:none;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);font-size:.75rem;font-weight:500;line-height:1rem;max-width:14.5rem;padding:.5rem .75rem}:host .popover.variant-hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(81 83 107/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));padding-bottom:.25rem;padding-top:.25rem}:host .popover[data-show]{display:block}:host .popover .arrow,:host .popover .arrow:before{background:inherit;height:.5rem;position:absolute;width:.5rem}:host .popover .arrow{visibility:hidden}:host .popover .arrow:before{--tw-rotate:45deg;content:"";transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));visibility:visible}:host .popover[data-popper-placement^=top]>.arrow{bottom:-.25rem}:host .popover[data-popper-placement^=bottom]>.arrow{top:-.25rem}:host .popover[data-popper-placement^=left]>.arrow{right:-.25rem}:host .popover[data-popper-placement^=right]>.arrow{left:-.25rem}.static{position:static!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}';export{at as p_tooltip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-
|
|
1
|
+
import{p as e,b as a}from"./p-76464e0b.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>a([["p-5ec6ea71",[[1,"p-navigation-item",{active:[4],icon:[1],counter:[8],href:[1],target:[1]}]]],["p-554b5a22",[[0,"p-pagination",{page:[1538],pageSize:[2,"page-size"],total:[2]}]]],["p-47b52f92",[[1,"p-helper"]]],["p-adcb0b93",[[1,"p-info-panel",{variant:[1],header:[1],content:[1],closeable:[4]}]]],["p-bbec0e86",[[1,"p-avatar",{variant:[1],size:[1],defaultImage:[1,"default-image"],src:[1],_src:[32]}]]],["p-42dab9d4",[[1,"p-divider"]]],["p-8501ba07",[[0,"p-illustration",{variant:[1]}]]],["p-aae3d4f0",[[1,"p-counter"]]],["p-17c11169",[[1,"p-pagination-item",{active:[4]}]]],["p-f65d7bbf",[[1,"p-tooltip",{variant:[1],popover:[8],placement:[1],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]]]]],["p-d23e4d57",[[4,"p-button",{variant:[1],href:[1],target:[1],size:[1],loading:[4],disabled:[4],icon:[1],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]},[[2,"click","handleClick"]]],[1,"p-loader",{show:[4],variant:[1],color:[1],modalTitle:[1,"modal-title"],modalDescription:[1,"modal-description"]}],[0,"p-icon",{variant:[1],size:[1],rotate:[2],flip:[1]}]]]],e)));
|
package/dist/sw.js
CHANGED
|
@@ -27,51 +27,51 @@ self.addEventListener('message', (event) => {
|
|
|
27
27
|
self.__precacheManifest = [
|
|
28
28
|
{
|
|
29
29
|
"url": "index.html",
|
|
30
|
-
"revision": "
|
|
30
|
+
"revision": "49dffcf4b049502e4c077bc3b56c0764"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"url": "build/index.esm.js",
|
|
34
34
|
"revision": "d41d8cd98f00b204e9800998ecf8427e"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"url": "build/p-
|
|
37
|
+
"url": "build/p-17c11169.entry.js"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"url": "build/p-
|
|
40
|
+
"url": "build/p-42dab9d4.entry.js"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
"url": "build/p-
|
|
43
|
+
"url": "build/p-47b52f92.entry.js"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
"url": "build/p-
|
|
46
|
+
"url": "build/p-554b5a22.entry.js"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"url": "build/p-
|
|
49
|
+
"url": "build/p-5ec6ea71.entry.js"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"url": "build/p-
|
|
52
|
+
"url": "build/p-76464e0b.js"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"url": "build/p-
|
|
55
|
+
"url": "build/p-8501ba07.entry.js"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
"url": "build/p-
|
|
58
|
+
"url": "build/p-aae3d4f0.entry.js"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
"url": "build/p-
|
|
61
|
+
"url": "build/p-adcb0b93.entry.js"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"url": "build/p-
|
|
64
|
+
"url": "build/p-bbec0e86.entry.js"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"url": "build/p-
|
|
67
|
+
"url": "build/p-d23e4d57.entry.js"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
"url": "build/p-
|
|
70
|
+
"url": "build/p-f65d7bbf.entry.js"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
"url": "cjs/index-
|
|
74
|
-
"revision": "
|
|
73
|
+
"url": "cjs/index-a46a39a5.js",
|
|
74
|
+
"revision": "1441b70dfec8d85b81b3a1e89d1910de"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"url": "cjs/index.cjs.js",
|
|
@@ -79,33 +79,33 @@ self.__precacheManifest = [
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"url": "cjs/loader.cjs.js",
|
|
82
|
-
"revision": "
|
|
82
|
+
"revision": "1c7c2cb5fc577b72788885d0a5a1a5e4"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"url": "cjs/p-avatar.cjs.entry.js",
|
|
86
|
-
"revision": "
|
|
86
|
+
"revision": "d96bd7a1349bdc65653b3c37b53ff0ac"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"url": "cjs/p-button_3.cjs.entry.js"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"url": "cjs/p-counter.cjs.entry.js",
|
|
93
|
-
"revision": "
|
|
93
|
+
"revision": "95f6eb1e8c838d0bee480d767099225c"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"url": "cjs/p-divider.cjs.entry.js",
|
|
97
|
-
"revision": "
|
|
97
|
+
"revision": "dffd1bc81d34ba6263f0f1a53460b15e"
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"url": "cjs/p-helper.cjs.entry.js",
|
|
101
|
-
"revision": "
|
|
101
|
+
"revision": "86124c63cc662f8c3474e0c01bbdc97f"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"url": "cjs/p-illustration.cjs.entry.js"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"url": "cjs/p-info-panel.cjs.entry.js",
|
|
108
|
-
"revision": "
|
|
108
|
+
"revision": "a56fe670ade927b12c6b54d62b55ecc2"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"url": "cjs/p-navigation-item.cjs.entry.js"
|
|
@@ -118,11 +118,11 @@ self.__precacheManifest = [
|
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"url": "cjs/p-tooltip.cjs.entry.js",
|
|
121
|
-
"revision": "
|
|
121
|
+
"revision": "246b975d80787f3befec8af7fb236504"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"url": "cjs/paperless.cjs.js",
|
|
125
|
-
"revision": "
|
|
125
|
+
"revision": "07a85c2b66bc67b78bb5609346faaa3b"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"url": "collection/collection-manifest.json",
|
|
@@ -222,11 +222,7 @@ self.__precacheManifest = [
|
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"url": "collection/components/molecules/pagination/pagination.component.js",
|
|
225
|
-
"revision": "
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"url": "collection/components/molecules/pagination/pagination.value-accessor.js",
|
|
229
|
-
"revision": "312ad6617dbc8bd1655c4da6e724f3bd"
|
|
225
|
+
"revision": "85f00230ce5445b19eaa911b1bda1891"
|
|
230
226
|
},
|
|
231
227
|
{
|
|
232
228
|
"url": "collection/index.js",
|
|
@@ -272,10 +268,6 @@ self.__precacheManifest = [
|
|
|
272
268
|
"url": "collection/utils/utils.js",
|
|
273
269
|
"revision": "4beb8ca8a76230f44db73b6109a0043d"
|
|
274
270
|
},
|
|
275
|
-
{
|
|
276
|
-
"url": "collection/value-accessors.config.js",
|
|
277
|
-
"revision": "625515611f2441148bc43a164e0c8df5"
|
|
278
|
-
},
|
|
279
271
|
{
|
|
280
272
|
"url": "components/counter.component.js",
|
|
281
273
|
"revision": "911d5809b4d2c911c110725d0d1d1109"
|
|
@@ -349,8 +341,8 @@ self.__precacheManifest = [
|
|
|
349
341
|
"revision": "844880aeb1c4aa83e5f75191607cca93"
|
|
350
342
|
},
|
|
351
343
|
{
|
|
352
|
-
"url": "esm/index-
|
|
353
|
-
"revision": "
|
|
344
|
+
"url": "esm/index-a68e547b.js",
|
|
345
|
+
"revision": "9be40121427940a4da6a707aca693268"
|
|
354
346
|
},
|
|
355
347
|
{
|
|
356
348
|
"url": "esm/index.js",
|
|
@@ -358,33 +350,33 @@ self.__precacheManifest = [
|
|
|
358
350
|
},
|
|
359
351
|
{
|
|
360
352
|
"url": "esm/loader.js",
|
|
361
|
-
"revision": "
|
|
353
|
+
"revision": "c5de2b388ada4e199e2ecb740f66b1bf"
|
|
362
354
|
},
|
|
363
355
|
{
|
|
364
356
|
"url": "esm/p-avatar.entry.js",
|
|
365
|
-
"revision": "
|
|
357
|
+
"revision": "079b6d2a04f816a3fa15062ed5077f75"
|
|
366
358
|
},
|
|
367
359
|
{
|
|
368
360
|
"url": "esm/p-button_3.entry.js"
|
|
369
361
|
},
|
|
370
362
|
{
|
|
371
363
|
"url": "esm/p-counter.entry.js",
|
|
372
|
-
"revision": "
|
|
364
|
+
"revision": "32b02ce509210df95e736a054fd21e41"
|
|
373
365
|
},
|
|
374
366
|
{
|
|
375
367
|
"url": "esm/p-divider.entry.js",
|
|
376
|
-
"revision": "
|
|
368
|
+
"revision": "1facb42adb71702df7ca06bd721a2257"
|
|
377
369
|
},
|
|
378
370
|
{
|
|
379
371
|
"url": "esm/p-helper.entry.js",
|
|
380
|
-
"revision": "
|
|
372
|
+
"revision": "9030a9caa68e912e7091a728005cbbeb"
|
|
381
373
|
},
|
|
382
374
|
{
|
|
383
375
|
"url": "esm/p-illustration.entry.js"
|
|
384
376
|
},
|
|
385
377
|
{
|
|
386
378
|
"url": "esm/p-info-panel.entry.js",
|
|
387
|
-
"revision": "
|
|
379
|
+
"revision": "588155bc28d88f8784844aa9be85c235"
|
|
388
380
|
},
|
|
389
381
|
{
|
|
390
382
|
"url": "esm/p-navigation-item.entry.js"
|
|
@@ -397,7 +389,7 @@ self.__precacheManifest = [
|
|
|
397
389
|
},
|
|
398
390
|
{
|
|
399
391
|
"url": "esm/p-tooltip.entry.js",
|
|
400
|
-
"revision": "
|
|
392
|
+
"revision": "cd43b9657fa2596944eea2e165979596"
|
|
401
393
|
},
|
|
402
394
|
{
|
|
403
395
|
"url": "esm/polyfills/core-js.js",
|
|
@@ -436,40 +428,40 @@ self.__precacheManifest = [
|
|
|
436
428
|
"revision": "d41d8cd98f00b204e9800998ecf8427e"
|
|
437
429
|
},
|
|
438
430
|
{
|
|
439
|
-
"url": "paperless/p-
|
|
431
|
+
"url": "paperless/p-17c11169.entry.js"
|
|
440
432
|
},
|
|
441
433
|
{
|
|
442
|
-
"url": "paperless/p-
|
|
434
|
+
"url": "paperless/p-42dab9d4.entry.js"
|
|
443
435
|
},
|
|
444
436
|
{
|
|
445
|
-
"url": "paperless/p-
|
|
437
|
+
"url": "paperless/p-47b52f92.entry.js"
|
|
446
438
|
},
|
|
447
439
|
{
|
|
448
|
-
"url": "paperless/p-
|
|
440
|
+
"url": "paperless/p-554b5a22.entry.js"
|
|
449
441
|
},
|
|
450
442
|
{
|
|
451
|
-
"url": "paperless/p-
|
|
443
|
+
"url": "paperless/p-5ec6ea71.entry.js"
|
|
452
444
|
},
|
|
453
445
|
{
|
|
454
|
-
"url": "paperless/p-
|
|
446
|
+
"url": "paperless/p-76464e0b.js"
|
|
455
447
|
},
|
|
456
448
|
{
|
|
457
|
-
"url": "paperless/p-
|
|
449
|
+
"url": "paperless/p-8501ba07.entry.js"
|
|
458
450
|
},
|
|
459
451
|
{
|
|
460
|
-
"url": "paperless/p-
|
|
452
|
+
"url": "paperless/p-aae3d4f0.entry.js"
|
|
461
453
|
},
|
|
462
454
|
{
|
|
463
|
-
"url": "paperless/p-
|
|
455
|
+
"url": "paperless/p-adcb0b93.entry.js"
|
|
464
456
|
},
|
|
465
457
|
{
|
|
466
|
-
"url": "paperless/p-
|
|
458
|
+
"url": "paperless/p-bbec0e86.entry.js"
|
|
467
459
|
},
|
|
468
460
|
{
|
|
469
|
-
"url": "paperless/p-
|
|
461
|
+
"url": "paperless/p-d23e4d57.entry.js"
|
|
470
462
|
},
|
|
471
463
|
{
|
|
472
|
-
"url": "paperless/p-
|
|
464
|
+
"url": "paperless/p-f65d7bbf.entry.js"
|
|
473
465
|
},
|
|
474
466
|
{
|
|
475
467
|
"url": "tailwind.config.js",
|
|
@@ -164,6 +164,10 @@ export namespace Components {
|
|
|
164
164
|
"target": string;
|
|
165
165
|
}
|
|
166
166
|
interface PPagination {
|
|
167
|
+
/**
|
|
168
|
+
* The current page
|
|
169
|
+
*/
|
|
170
|
+
"page": number;
|
|
167
171
|
/**
|
|
168
172
|
* The amount of items per page
|
|
169
173
|
*/
|
|
@@ -172,10 +176,6 @@ export namespace Components {
|
|
|
172
176
|
* The total amount of items
|
|
173
177
|
*/
|
|
174
178
|
"total": number;
|
|
175
|
-
/**
|
|
176
|
-
* The current page
|
|
177
|
-
*/
|
|
178
|
-
"value": number;
|
|
179
179
|
}
|
|
180
180
|
interface PPaginationItem {
|
|
181
181
|
/**
|
|
@@ -467,7 +467,11 @@ declare namespace LocalJSX {
|
|
|
467
467
|
"target"?: string;
|
|
468
468
|
}
|
|
469
469
|
interface PPagination {
|
|
470
|
-
"
|
|
470
|
+
"onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
|
|
471
|
+
/**
|
|
472
|
+
* The current page
|
|
473
|
+
*/
|
|
474
|
+
"page"?: number;
|
|
471
475
|
/**
|
|
472
476
|
* The amount of items per page
|
|
473
477
|
*/
|
|
@@ -476,10 +480,6 @@ declare namespace LocalJSX {
|
|
|
476
480
|
* The total amount of items
|
|
477
481
|
*/
|
|
478
482
|
"total": number;
|
|
479
|
-
/**
|
|
480
|
-
* The current page
|
|
481
|
-
*/
|
|
482
|
-
"value"?: number;
|
|
483
483
|
}
|
|
484
484
|
interface PPaginationItem {
|
|
485
485
|
/**
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as a}from"./p-229f113b.js";const o=class{constructor(a){t(this,a),this.valueChange=e(this,"valueChange",7),this.value=1,this.pageSize=12,this._pages=[],this._set=[],this._nextClick=()=>{const t=this.value+1;t>this._pages[this._pages.length-1]||this._changePage(t)},this._pageClick=t=>this._changePage(t),this._generateSet=(t=1,e=!0)=>{const a=this._pages.length;if(!a)return[];let o=this.value-t,r=this.value+t;r>a&&(r=a,o=a-2*t,o=o<1?1:o),o<=1&&(o=1,r=Math.min(2*t+1,a));const s=[],n={type:"previous",value:i("p-icon",{variant:"chevron",rotate:90})},w={type:"next",value:i("p-icon",{variant:"chevron",rotate:-90})};if(null===t){const t=this._pages.map((t=>({type:"page",value:t})));return e?[n,...t,w]:t}if(e&&s.push(n),o<=3)for(let t=1;t<o;t++)s.push({type:"page",value:this._pages[t-1]});else s.push({type:"page",value:1}),s.push({type:"ellipsis",value:"ellipsis"});for(let t=o;t<=r;t++)s.push({type:"page",value:this._pages[t-1]});if(r>=a-2)for(let t=r+1;t<=a;t++)s.push({type:"page",value:this._pages[t-1]});else s.push({type:"ellipsis"}),s.push({type:"page",value:this._pages[this._pages.length-1]});return e&&s.push(w),s}}componentWillRender(){this._generate()}render(){var t;return i(a,{class:"p-pagination"},null===(t=this._set)||void 0===t?void 0:t.map((t=>"previous"===t.type||"next"===t.type?i("p-pagination-item",{onClick:()=>"previous"===t.type?this._previousClick():this._nextClick()},t.value):"ellipsis"===t.type?i("p-pagination-item",null,"..."):i("p-pagination-item",{active:t.value===this.value,onClick:()=>this._pageClick(t.value)},t.value))))}pageChangeHandler(){this._generate()}_generate(){this._pages=this._generatePages(),this._set=this._generateSet()}_changePage(t){t&&(this.value=t,this.valueChange.emit(this.value))}_previousClick(){const t=this.value-1;t<this._pages[0]||this._changePage(t)}_generatePages(){if(!this.total||!this.pageSize)return[];const t=Math.ceil(this.total/this.pageSize);return new Array(t).fill(void 0).map(((t,e)=>e+1))}static get watchers(){return{value:["pageChangeHandler"],pageSize:["pageChangeHandler"],total:["pageChangeHandler"]}}};o.style='/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.flex{display:flex!important}p-pagination{display:flex}.static{position:static!important}';export{o as p_pagination}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as a}from"./p-229f113b.js";const o=class{constructor(a){t(this,a),this.valueChange=e(this,"valueChange",7),this.value=1,this.pageSize=12,this._pages=[],this._set=[],this._nextClick=()=>{const t=this.value+1;t>this._pages[this._pages.length-1]||this._changePage(t)},this._pageClick=t=>this._changePage(t),this._generateSet=(t=1,e=!0)=>{const a=this._pages.length;if(!a)return[];let o=this.value-t,r=this.value+t;r>a&&(r=a,o=a-2*t,o=o<1?1:o),o<=1&&(o=1,r=Math.min(2*t+1,a));const s=[],n={type:"previous",value:i("p-icon",{variant:"chevron",rotate:90})},w={type:"next",value:i("p-icon",{variant:"chevron",rotate:-90})};if(null===t){const t=this._pages.map((t=>({type:"page",value:t})));return e?[n,...t,w]:t}if(e&&s.push(n),o<=3)for(let t=1;t<o;t++)s.push({type:"page",value:this._pages[t-1]});else s.push({type:"page",value:1}),s.push({type:"ellipsis",value:"ellipsis"});for(let t=o;t<=r;t++)s.push({type:"page",value:this._pages[t-1]});if(r>=a-2)for(let t=r+1;t<=a;t++)s.push({type:"page",value:this._pages[t-1]});else s.push({type:"ellipsis"}),s.push({type:"page",value:this._pages[this._pages.length-1]});return e&&s.push(w),s}}componentWillRender(){this._generate()}render(){var t;return i(a,{class:"p-pagination"},null===(t=this._set)||void 0===t?void 0:t.map((t=>"previous"===t.type||"next"===t.type?i("p-pagination-item",{onClick:()=>"previous"===t.type?this._previousClick():this._nextClick()},t.value):"ellipsis"===t.type?i("p-pagination-item",null,"..."):i("p-pagination-item",{active:t.value===this.value,onClick:()=>this._pageClick(t.value)},t.value))))}pageChangeHandler(){this._generate()}_generate(){this._pages=this._generatePages(),this._set=this._generateSet()}_changePage(t){t&&(this.value=t,this.valueChange.emit(this.value))}_previousClick(){const t=this.value-1;t<this._pages[0]||this._changePage(t)}_generatePages(){if(!this.total||!this.pageSize)return[];const t=Math.ceil(this.total/this.pageSize);return new Array(t).fill(void 0).map(((t,e)=>e+1))}static get watchers(){return{value:["pageChangeHandler"],pageSize:["pageChangeHandler"],total:["pageChangeHandler"]}}};o.style='/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.flex{display:flex!important}p-pagination{display:flex}.static{position:static!important}';export{o as p_pagination}
|