@paperless/core 0.1.0-alpha.2 → 0.1.0-alpha.3
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/{paperless/p-bbd1d3df.entry.js → build/p-4144f8a0.entry.js} +1 -1
- package/dist/build/p-8538576c.entry.js +1 -0
- package/dist/build/{p-feec8ec1.entry.js → p-f04c4de0.entry.js} +1 -1
- package/dist/build/p-f33e1285.js +2 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-5b30cb95.js → index-a2da05ae.js} +406 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{p-icon.cjs.entry.js → p-button_3.cjs.entry.js} +108 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/components/atoms/button/button.component.css +44 -3
- package/dist/collection/components/atoms/button/button.component.js +241 -7
- package/dist/{esm/p-icon.entry.js → components/icon.component.js} +26 -7
- package/dist/{esm/p-loader.entry.js → components/loader.component.js} +29 -8
- package/dist/components/p-button.js +67 -8
- package/dist/components/p-icon.js +1 -815
- package/dist/components/p-loader.js +1 -72
- package/dist/esm/{index-111a6307.js → index-d08bfe75.js} +406 -8
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-button_3.entry.js +903 -0
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +2 -2
- package/dist/index.html +1 -1
- package/dist/{build/p-bbd1d3df.entry.js → paperless/p-4144f8a0.entry.js} +1 -1
- package/dist/paperless/p-8538576c.entry.js +1 -0
- package/dist/paperless/{p-feec8ec1.entry.js → p-f04c4de0.entry.js} +1 -1
- package/dist/paperless/p-f33e1285.js +2 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +33 -55
- package/dist/types/components/atoms/button/button.component.d.ts +45 -1
- package/dist/types/components.d.ts +83 -2
- package/package.json +1 -1
- package/dist/build/p-1d13a9d2.entry.js +0 -1
- package/dist/build/p-208c1f28.entry.js +0 -1
- package/dist/build/p-98d07776.js +0 -2
- package/dist/build/p-cd525dcc.entry.js +0 -1
- package/dist/cjs/p-button.cjs.entry.js +0 -23
- package/dist/cjs/p-loader.cjs.entry.js +0 -57
- package/dist/esm/p-button.entry.js +0 -19
- package/dist/paperless/p-1d13a9d2.entry.js +0 -1
- package/dist/paperless/p-208c1f28.entry.js +0 -1
- package/dist/paperless/p-98d07776.js +0 -2
- package/dist/paperless/p-cd525dcc.entry.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let e,t,n,l=!1,o=!1,s=!1,r=!1;const c="undefined"!=typeof window?window:{},i=c.document||{head:{}},f={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},u=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,r=d(t,o),c=h(n);f.ael(s,l,r,c),(t.o=t.o||[]).push((()=>f.rel(s,l,r,c)))}))},d=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ie(e)}},h=e=>0!=(2&e),p=new WeakMap,y=e=>"sc-"+e.$,m={},b=e=>"object"==(e=typeof e)||"function"===e,w=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const c=[],i=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!b(l))&&(l+=""),s&&r?c[c.length-1].h+=l:c.push(s?v(null,l):l),r=s)};if(i(n),t){t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,g);const f=v(e,null);return f.p=t,c.length>0&&(f.m=c),f.v=o,f},v=(e,t)=>({t:0,S:e,h:t,g:null,m:null,p:null,v:null}),S={},g={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(k)},j=e=>({vattrs:e.p,vchildren:e.m,vkey:e.j,vname:e.v,vtag:e.S,vtext:e.h}),k=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),w(e.vtag,t,...e.vchildren||[])}const t=v(e.vtag,e.vtext);return t.p=e.vattrs,t.m=e.vchildren,t.j=e.vkey,t.v=e.vname,t},M=(e,t,n,l,o,s)=>{if(n!==l){let r=ce(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,o=C(n),s=C(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("ref"===t)l&&l(e);else{const c=b(l);if((r||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!c&&e.setAttribute(t,l=!0===l?"":l)}}},O=/\s/,C=e=>e?e.split(O):[],R=(e,t,n,l)=>{const o=11===t.g.nodeType&&t.g.host?t.g.host:t.g,s=e&&e.p||m,r=t.p||m;for(l in s)l in r||M(o,l,s[l],void 0,n,t.t);for(l in r)M(o,l,s[l],r[l],n,t.t)},T=(o,r,c,f)=>{const u=r.m[c];let a,$,d,h=0;if(l||(s=!0,"slot"===u.S&&(e&&f.classList.add(e+"-s"),u.t|=u.m?2:1)),null!==u.h)a=u.g=i.createTextNode(u.h);else if(1&u.t)a=u.g=i.createTextNode("");else if(a=u.g=i.createElement(2&u.t?"slot-fb":u.S),R(null,u,!1),null!=e&&a["s-si"]!==e&&a.classList.add(a["s-si"]=e),u.m)for(h=0;h<u.m.length;++h)$=T(o,u,h,a),$&&a.appendChild($);return a["s-hn"]=n,3&u.t&&(a["s-sr"]=!0,a["s-cr"]=t,a["s-sn"]=u.v||"",d=o&&o.m&&o.m[c],d&&d.S===u.S&&o.g&&x(o.g,!1)),a},x=(e,t)=>{f.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(A(o).insertBefore(o,W(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&x(o,t)}f.t&=-2},E=(e,t,l,o,s,r)=>{let c,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===n&&(i=i.shadowRoot);s<=r;++s)o[s]&&(c=T(null,l,s,e),c&&(o[s].g=c,i.insertBefore(c,W(t))))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.g,V(l),o=!0,s["s-ol"]?s["s-ol"].remove():x(s,!0),s.remove())},P=(e,t)=>e.S===t.S&&("slot"!==e.S||e.v===t.v),W=e=>e&&e["s-ol"]||e,A=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,F=(e,t)=>{const n=t.g=e.g,l=e.m,o=t.m,s=t.h;let r;null===s?("slot"===t.S||R(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,r=0,c=t.length-1,i=t[0],f=t[c],u=l.length-1,a=l[0],$=l[u];for(;s<=c&&r<=u;)null==i?i=t[++s]:null==f?f=t[--c]:null==a?a=l[++r]:null==$?$=l[--u]:P(i,a)?(F(i,a),i=t[++s],a=l[++r]):P(f,$)?(F(f,$),f=t[--c],$=l[--u]):P(i,$)?("slot"!==i.S&&"slot"!==$.S||x(i.g.parentNode,!1),F(i,$),e.insertBefore(i.g,f.g.nextSibling),i=t[++s],$=l[--u]):P(f,a)?("slot"!==i.S&&"slot"!==$.S||x(f.g.parentNode,!1),F(f,a),e.insertBefore(f.g,i.g),f=t[--c],a=l[++r]):(o=T(t&&t[r],n,r,e),a=l[++r],o&&A(i.g).insertBefore(o,W(i.g)));s>c?E(e,null==l[u+1]?null:l[u+1].g,n,l,r,u):r>u&&N(t,s,c)})(n,l,t,o):null!==o?(null!==e.h&&(n.textContent=""),E(n,null,t,o,0,o.length-1)):null!==l&&N(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=s:e.h!==s&&(n.data=s)},H=e=>{const t=e.childNodes;let n,l,o,s,r,c;for(l=0,o=t.length;l<o;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(r=n["s-sn"],n.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==n["s-hn"]||""!==r){if(1===c&&r===t[s].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){n.hidden=!0;break}H(n)}},L=[],U=e=>{let t,n,l,s,r,c,i=0;const f=e.childNodes,u=f.length;for(;i<u;i++){if(t=f[i],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(q(n,s)?(r=L.find((e=>e.k===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.M=t:L.push({M:t,k:n}),n["s-sr"]&&L.map((e=>{q(e.k,n["s-sn"])&&(r=L.find((e=>e.k===n)),r&&!e.M&&(e.M=r.M))}))):L.some((e=>e.k===n))||L.push({k:n}));1===t.nodeType&&U(t)}},q=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,V=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(V)},_=e=>oe(e).O,z=(e,t,n)=>{const l=_(e);return{emit:e=>B(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},B=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},D=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},G=(e,t)=>{if(e.t|=16,!(4&e.t))return D(e,e.R),be((()=>I(e,t)));e.t|=512},I=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>Y(n,e,t))),e.u=null)),l=Z(l,(()=>Y(n,"componentWillRender"))),Z(l,(()=>J(e,n,t)))},J=async(e,t,n)=>{const l=e.O,o=l["s-rc"];n&&(e=>{const t=e.T,n=e.O,l=t.t,o=((e,t)=>{let n=y(t);const l=ae.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,o=p.get(e=e.head||e);o||p.set(e,o=new Set),o.has(n)||(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);K(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>Q(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},K=(r,c)=>{try{c=c.render(),r.t&=-17,r.t|=2,((r,c)=>{const u=r.O,a=r.T,$=r.N||v(null,null),d=(e=>e&&e.S===S)(c)?c:w(null,null,c);if(n=u.tagName,d.S=null,d.t|=4,r.N=d,d.g=$.g=u.shadowRoot||u,e=u["s-sc"],t=u["s-cr"],l=0!=(1&a.t),o=!1,F($,d),f.t|=1,s){let e,t,n,l,o,s;U(d.g);let r=0;for(;r<L.length;r++)e=L[r],t=e.k,t["s-ol"]||(n=i.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<L.length;r++)if(e=L[r],t=e.k,e.M){for(l=e.M.parentNode,o=e.M.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&H(d.g),f.t&=-2,L.length=0})(r,c)}catch(e){ie(e,r.O)}return null},Q=e=>{const t=e.O,n=e.R;64&e.t||(e.t|=64,ee(t),e.P(t),n||X()),e.C&&(e.C(),e.C=void 0),512&e.t&&me((()=>G(e,!1))),e.t&=-517},X=()=>{ee(i.documentElement),me((()=>B(c,"appload",{detail:{namespace:"paperless"}})))},Y=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ie(e)}},Z=(e,t)=>e&&e.then?e.then(t):t(),ee=e=>e.classList.add("hydrated"),te=(e,t,n)=>{if(t.W){const l=Object.entries(t.W),o=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,e,{get(){return((e,t)=>oe(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=oe(e),s=o.A.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||b(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.W[t][0]),(!(8&r)||void 0===s)&&n!==s&&(!Number.isNaN(s)||!Number.isNaN(n))&&(o.A.set(t,n),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,s,t))return;G(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;o.attributeChangedCallback=function(e,n,l){f.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(o.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},ne=(e,t={})=>{const n=[],l=t.exclude||[],o=c.customElements,s=i.head,r=s.querySelector("meta[charset]"),u=i.createElement("style"),d=[];let h,p=!0;Object.assign(f,t),f.l=new URL(t.resourcesUrl||"./",i.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],$:t[1],W:t[2],F:t[3]};s.W=t[2],s.F=t[3];const r=s.$,c=class extends HTMLElement{constructor(e){super(e),re(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?d.push(this):f.jmp((()=>(e=>{if(0==(1&f.t)){const t=oe(e),n=t.T,l=()=>{};if(1&t.t)$(e,t,n.F);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=i.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){D(t,t.R=n);break}}n.W&&Object.entries(n.W).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ue(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(te(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){ie(e)}t.t&=-9,e()}if(o.style){let e=o.style;const t=y(n);if(!ae.has(t)){const l=()=>{};((e,t,n)=>{let l=ae.get(e);a&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ae.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,r=()=>G(t,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(()=>{if(0==(1&f.t)){const e=oe(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return oe(this).H}};s.L=e[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,te(c,s,1)))}))})),u.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles",""),s.insertBefore(u,r?r.nextSibling:s.firstChild),p=!1,d.length?d.map((e=>e.connectedCallback())):f.jmp((()=>h=setTimeout(X,30)))},le=new WeakMap,oe=e=>le.get(e),se=(e,t)=>le.set(t.i=e,t),re=(e,t)=>{const n={t:0,O:e,T:t,A:new Map};return n.H=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],$(e,n,t.F),le.set(e,n)},ce=(e,t)=>t in e,ie=(e,t)=>(0,console.error)(e,t),fe=new Map,ue=e=>{const t=e.$.replace(/-/g,"_"),n=e.L,l=fe.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(fe.set(n,e),e[t])),ie)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ae=new Map,$e=[],de=[],he=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&f.t?me(ye):f.raf(ye))},pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ie(e)}e.length=0},ye=()=>{pe($e),pe(de),(r=$e.length>0)&&f.raf(ye)},me=e=>u().then(e),be=he(de,!0);export{S as H,ne as b,z as c,_ as g,w as h,u as p,se as r}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,b as
|
|
1
|
+
import{p as o,b as i}from"./p-f33e1285.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),o(t)})().then((o=>i([["p-f04c4de0",[[0,"p-illustration",{variant:[1]}]]],["p-4144f8a0",[[1,"p-tooltip",{content:[8],placement:[1],forceShow:[4,"force-show"]},[[1,"mouseenter","_show"],[0,"focus","_show"],[1,"mouseleave","_hide"],[0,"blur","_hide"]]]]],["p-8538576c",[[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"]]],[0,"p-icon",{variant:[1],size:[1],rotate:[2],flip:[1]}],[1,"p-loader",{show:[4],variant:[1],color:[1],modalTitle:[1,"modal-title"],modalDescription:[1,"modal-description"]}]]]],o)));
|
package/dist/sw.js
CHANGED
|
@@ -27,33 +27,27 @@ self.addEventListener('message', (event) => {
|
|
|
27
27
|
self.__precacheManifest = [
|
|
28
28
|
{
|
|
29
29
|
"url": "index.html",
|
|
30
|
-
"revision": "
|
|
30
|
+
"revision": "f11fe26b207d78596e2c149295633911"
|
|
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-4144f8a0.entry.js"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"url": "build/p-
|
|
40
|
+
"url": "build/p-8538576c.entry.js"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
"url": "build/p-
|
|
43
|
+
"url": "build/p-f04c4de0.entry.js"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
"url": "build/p-
|
|
46
|
+
"url": "build/p-f33e1285.js"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"url": "
|
|
50
|
-
|
|
51
|
-
{
|
|
52
|
-
"url": "build/p-feec8ec1.entry.js"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"url": "cjs/index-5b30cb95.js",
|
|
56
|
-
"revision": "7ba7c31438d378060eb1b771f75988bf"
|
|
49
|
+
"url": "cjs/index-a2da05ae.js",
|
|
50
|
+
"revision": "86392d41f79c3187879bc79878cfcfc0"
|
|
57
51
|
},
|
|
58
52
|
{
|
|
59
53
|
"url": "cjs/index.cjs.js",
|
|
@@ -61,30 +55,21 @@ self.__precacheManifest = [
|
|
|
61
55
|
},
|
|
62
56
|
{
|
|
63
57
|
"url": "cjs/loader.cjs.js",
|
|
64
|
-
"revision": "
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"url": "cjs/p-button.cjs.entry.js",
|
|
68
|
-
"revision": "89d0daad45540c3fa136b9230f8d97ee"
|
|
58
|
+
"revision": "e2619a8d45daf8b58d263594d79b26cb"
|
|
69
59
|
},
|
|
70
60
|
{
|
|
71
|
-
"url": "cjs/p-
|
|
72
|
-
"revision": "36d70982d2f7120500a00f5dc889a47d"
|
|
61
|
+
"url": "cjs/p-button_3.cjs.entry.js"
|
|
73
62
|
},
|
|
74
63
|
{
|
|
75
64
|
"url": "cjs/p-illustration.cjs.entry.js"
|
|
76
65
|
},
|
|
77
|
-
{
|
|
78
|
-
"url": "cjs/p-loader.cjs.entry.js",
|
|
79
|
-
"revision": "079ebca588bfbbd2d091a28cc007fdac"
|
|
80
|
-
},
|
|
81
66
|
{
|
|
82
67
|
"url": "cjs/p-tooltip.cjs.entry.js",
|
|
83
|
-
"revision": "
|
|
68
|
+
"revision": "bb26894313d91f23f2c0fc141b22f7aa"
|
|
84
69
|
},
|
|
85
70
|
{
|
|
86
71
|
"url": "cjs/paperless.cjs.js",
|
|
87
|
-
"revision": "
|
|
72
|
+
"revision": "b2535eba7fdbdc0ce0bba36960964c49"
|
|
88
73
|
},
|
|
89
74
|
{
|
|
90
75
|
"url": "collection/collection-manifest.json",
|
|
@@ -92,11 +77,11 @@ self.__precacheManifest = [
|
|
|
92
77
|
},
|
|
93
78
|
{
|
|
94
79
|
"url": "collection/components/atoms/button/button.component.css",
|
|
95
|
-
"revision": "
|
|
80
|
+
"revision": "1f173ebda344673b047f54f3d5c79829"
|
|
96
81
|
},
|
|
97
82
|
{
|
|
98
83
|
"url": "collection/components/atoms/button/button.component.js",
|
|
99
|
-
"revision": "
|
|
84
|
+
"revision": "5b46b7fb9cf669ada19aa9aa1b3ec05d"
|
|
100
85
|
},
|
|
101
86
|
{
|
|
102
87
|
"url": "collection/components/atoms/icon/icon.component.js",
|
|
@@ -166,32 +151,40 @@ self.__precacheManifest = [
|
|
|
166
151
|
"url": "collection/utils/utils.js",
|
|
167
152
|
"revision": "4beb8ca8a76230f44db73b6109a0043d"
|
|
168
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"url": "components/icon.component.js",
|
|
156
|
+
"revision": "873a64ed9ab191318d9b8735bf287e73"
|
|
157
|
+
},
|
|
169
158
|
{
|
|
170
159
|
"url": "components/index.js",
|
|
171
160
|
"revision": "575ad0ea8d16b9dffb1d08e3a2f3a69c"
|
|
172
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"url": "components/loader.component.js",
|
|
164
|
+
"revision": "a0af339e6c9ad114c1f01bcb927559b4"
|
|
165
|
+
},
|
|
173
166
|
{
|
|
174
167
|
"url": "components/p-button.js",
|
|
175
|
-
"revision": "
|
|
168
|
+
"revision": "6b2f5fc8d24854a71e18cc4cb6341090"
|
|
176
169
|
},
|
|
177
170
|
{
|
|
178
171
|
"url": "components/p-icon.js",
|
|
179
|
-
"revision": "
|
|
172
|
+
"revision": "89ede38633ef7c3b9ed45a67a2ffe2c8"
|
|
180
173
|
},
|
|
181
174
|
{
|
|
182
175
|
"url": "components/p-illustration.js"
|
|
183
176
|
},
|
|
184
177
|
{
|
|
185
178
|
"url": "components/p-loader.js",
|
|
186
|
-
"revision": "
|
|
179
|
+
"revision": "850d0015b16c8a34f62568d99ccdd388"
|
|
187
180
|
},
|
|
188
181
|
{
|
|
189
182
|
"url": "components/p-tooltip.js",
|
|
190
183
|
"revision": "d1a4deb2abca1de0f64e36a280cc1edf"
|
|
191
184
|
},
|
|
192
185
|
{
|
|
193
|
-
"url": "esm/index-
|
|
194
|
-
"revision": "
|
|
186
|
+
"url": "esm/index-d08bfe75.js",
|
|
187
|
+
"revision": "7ae0c35a1ae5a2679bc5320131e19d5c"
|
|
195
188
|
},
|
|
196
189
|
{
|
|
197
190
|
"url": "esm/index.js",
|
|
@@ -199,26 +192,17 @@ self.__precacheManifest = [
|
|
|
199
192
|
},
|
|
200
193
|
{
|
|
201
194
|
"url": "esm/loader.js",
|
|
202
|
-
"revision": "
|
|
195
|
+
"revision": "1b0f1d5ae1352bc23c6cc3a691f1f06b"
|
|
203
196
|
},
|
|
204
197
|
{
|
|
205
|
-
"url": "esm/p-
|
|
206
|
-
"revision": "1d2b831c7958eb09b19f4496140de869"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"url": "esm/p-icon.entry.js",
|
|
210
|
-
"revision": "3d4920f2ed31ad4c5ebaf7e8b2a7c089"
|
|
198
|
+
"url": "esm/p-button_3.entry.js"
|
|
211
199
|
},
|
|
212
200
|
{
|
|
213
201
|
"url": "esm/p-illustration.entry.js"
|
|
214
202
|
},
|
|
215
|
-
{
|
|
216
|
-
"url": "esm/p-loader.entry.js",
|
|
217
|
-
"revision": "06efa1f67f5dcd758ee0f2fd7afcb31f"
|
|
218
|
-
},
|
|
219
203
|
{
|
|
220
204
|
"url": "esm/p-tooltip.entry.js",
|
|
221
|
-
"revision": "
|
|
205
|
+
"revision": "6d244b355c8662063569772ed5a1b721"
|
|
222
206
|
},
|
|
223
207
|
{
|
|
224
208
|
"url": "esm/polyfills/core-js.js",
|
|
@@ -257,22 +241,16 @@ self.__precacheManifest = [
|
|
|
257
241
|
"revision": "d41d8cd98f00b204e9800998ecf8427e"
|
|
258
242
|
},
|
|
259
243
|
{
|
|
260
|
-
"url": "paperless/p-
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"url": "paperless/p-208c1f28.entry.js"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"url": "paperless/p-98d07776.js"
|
|
244
|
+
"url": "paperless/p-4144f8a0.entry.js"
|
|
267
245
|
},
|
|
268
246
|
{
|
|
269
|
-
"url": "paperless/p-
|
|
247
|
+
"url": "paperless/p-8538576c.entry.js"
|
|
270
248
|
},
|
|
271
249
|
{
|
|
272
|
-
"url": "paperless/p-
|
|
250
|
+
"url": "paperless/p-f04c4de0.entry.js"
|
|
273
251
|
},
|
|
274
252
|
{
|
|
275
|
-
"url": "paperless/p-
|
|
253
|
+
"url": "paperless/p-f33e1285.js"
|
|
276
254
|
},
|
|
277
255
|
{
|
|
278
256
|
"url": "tailwind.config.js",
|
|
@@ -1,7 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { IconFlipOptions, IconVariant } from '../icon/icon.component';
|
|
1
3
|
export declare class Button {
|
|
2
4
|
/**
|
|
3
5
|
* The variant of the button
|
|
4
6
|
*/
|
|
5
|
-
variant: 'primary' | 'secondary';
|
|
7
|
+
variant: 'primary' | 'secondary' | 'text';
|
|
8
|
+
/**
|
|
9
|
+
* Href in case of "text" version
|
|
10
|
+
*/
|
|
11
|
+
href: string;
|
|
12
|
+
/**
|
|
13
|
+
* Target in case of "text" version
|
|
14
|
+
*/
|
|
15
|
+
target: string;
|
|
16
|
+
/**
|
|
17
|
+
* The size of the button
|
|
18
|
+
*/
|
|
19
|
+
size: 'small' | 'medium';
|
|
20
|
+
/**
|
|
21
|
+
* Wether to show a loader or not
|
|
22
|
+
*/
|
|
23
|
+
loading: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Wether the button is disabled
|
|
26
|
+
*/
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Icon to show on the button
|
|
30
|
+
*/
|
|
31
|
+
icon: IconVariant;
|
|
32
|
+
/**
|
|
33
|
+
* Icon position
|
|
34
|
+
*/
|
|
35
|
+
iconPosition: 'start' | 'end';
|
|
36
|
+
/**
|
|
37
|
+
* Icon flip
|
|
38
|
+
*/
|
|
39
|
+
iconFlip: IconFlipOptions;
|
|
40
|
+
/**
|
|
41
|
+
* Icon rotate
|
|
42
|
+
*/
|
|
43
|
+
iconRotate: number;
|
|
44
|
+
/**
|
|
45
|
+
* Button press event
|
|
46
|
+
*/
|
|
47
|
+
click: EventEmitter<MouseEvent>;
|
|
6
48
|
render(): any;
|
|
49
|
+
handleClick(ev: MouseEvent): void;
|
|
50
|
+
private _getIcon;
|
|
7
51
|
}
|
|
@@ -6,15 +6,52 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IconFlipOptions, IconVariant } from "./components/atoms/icon/icon.component";
|
|
9
|
+
import { IconFlipOptions as IconFlipOptions1, IconVariant as IconVariant1 } from "./components/atoms/icon/icon.component";
|
|
9
10
|
import { IllustrationVariant } from "./components/atoms/illustration/illustration.component";
|
|
10
11
|
import { Observable } from "rxjs";
|
|
11
12
|
import { Placement } from "@popperjs/core";
|
|
12
13
|
export namespace Components {
|
|
13
14
|
interface PButton {
|
|
15
|
+
/**
|
|
16
|
+
* Wether the button is disabled
|
|
17
|
+
*/
|
|
18
|
+
"disabled": boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Href in case of "text" version
|
|
21
|
+
*/
|
|
22
|
+
"href": string;
|
|
23
|
+
/**
|
|
24
|
+
* Icon to show on the button
|
|
25
|
+
*/
|
|
26
|
+
"icon": IconVariant;
|
|
27
|
+
/**
|
|
28
|
+
* Icon flip
|
|
29
|
+
*/
|
|
30
|
+
"iconFlip": IconFlipOptions;
|
|
31
|
+
/**
|
|
32
|
+
* Icon position
|
|
33
|
+
*/
|
|
34
|
+
"iconPosition": 'start' | 'end';
|
|
35
|
+
/**
|
|
36
|
+
* Icon rotate
|
|
37
|
+
*/
|
|
38
|
+
"iconRotate": number;
|
|
39
|
+
/**
|
|
40
|
+
* Wether to show a loader or not
|
|
41
|
+
*/
|
|
42
|
+
"loading": boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The size of the button
|
|
45
|
+
*/
|
|
46
|
+
"size": 'small' | 'medium';
|
|
47
|
+
/**
|
|
48
|
+
* Target in case of "text" version
|
|
49
|
+
*/
|
|
50
|
+
"target": string;
|
|
14
51
|
/**
|
|
15
52
|
* The variant of the button
|
|
16
53
|
*/
|
|
17
|
-
"variant": 'primary' | 'secondary';
|
|
54
|
+
"variant": 'primary' | 'secondary' | 'text';
|
|
18
55
|
}
|
|
19
56
|
interface PIcon {
|
|
20
57
|
/**
|
|
@@ -77,6 +114,10 @@ export namespace Components {
|
|
|
77
114
|
"placement": Placement;
|
|
78
115
|
}
|
|
79
116
|
}
|
|
117
|
+
export interface PButtonCustomEvent<T> extends CustomEvent<T> {
|
|
118
|
+
detail: T;
|
|
119
|
+
target: HTMLPButtonElement;
|
|
120
|
+
}
|
|
80
121
|
declare global {
|
|
81
122
|
interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
|
|
82
123
|
}
|
|
@@ -118,10 +159,50 @@ declare global {
|
|
|
118
159
|
}
|
|
119
160
|
declare namespace LocalJSX {
|
|
120
161
|
interface PButton {
|
|
162
|
+
/**
|
|
163
|
+
* Wether the button is disabled
|
|
164
|
+
*/
|
|
165
|
+
"disabled"?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Href in case of "text" version
|
|
168
|
+
*/
|
|
169
|
+
"href"?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Icon to show on the button
|
|
172
|
+
*/
|
|
173
|
+
"icon"?: IconVariant;
|
|
174
|
+
/**
|
|
175
|
+
* Icon flip
|
|
176
|
+
*/
|
|
177
|
+
"iconFlip"?: IconFlipOptions;
|
|
178
|
+
/**
|
|
179
|
+
* Icon position
|
|
180
|
+
*/
|
|
181
|
+
"iconPosition"?: 'start' | 'end';
|
|
182
|
+
/**
|
|
183
|
+
* Icon rotate
|
|
184
|
+
*/
|
|
185
|
+
"iconRotate"?: number;
|
|
186
|
+
/**
|
|
187
|
+
* Wether to show a loader or not
|
|
188
|
+
*/
|
|
189
|
+
"loading"?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Button press event
|
|
192
|
+
*/
|
|
193
|
+
"onClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
|
|
194
|
+
/**
|
|
195
|
+
* The size of the button
|
|
196
|
+
*/
|
|
197
|
+
"size"?: 'small' | 'medium';
|
|
198
|
+
/**
|
|
199
|
+
* Target in case of "text" version
|
|
200
|
+
*/
|
|
201
|
+
"target"?: string;
|
|
121
202
|
/**
|
|
122
203
|
* The variant of the button
|
|
123
204
|
*/
|
|
124
|
-
"variant"?: 'primary' | 'secondary';
|
|
205
|
+
"variant"?: 'primary' | 'secondary' | 'text';
|
|
125
206
|
}
|
|
126
207
|
interface PIcon {
|
|
127
208
|
/**
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as o}from"./p-98d07776.js";const r=class{constructor(e){t(this,e),this.variant="primary"}render(){return e(o,null,e("button",{class:`variant-${this.variant}`},e("slot",null)))}};r.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: }.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.font-semibold{font-weight:600!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}.outline{outline-style:solid!important}:host>button{--tw-text-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border:0;border-radius:.25rem;color:rgb(255 255 255/var(--tw-text-opacity));font-weight:600;outline:0}.static{position:static!important}';export{r as p_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as r}from"./p-98d07776.js";const e=class{constructor(r){t(this,r),this.show=!0,this.variant="inline",this.color="indigo",this._show=this.show,this._loader=o("div",{class:`loader color-${this.color}`})}componentWillRender(){this._checkShow()}componentShouldUpdate(){this._checkShow()}render(){if(this._show)return"full-screen"===this.variant?o(r,{class:"p-loader"},o("div",{class:"loading-screen"},o("div",{class:"content"},o("slot",null),o("div",{class:"loader-wrapper"},this._loader)))):o(r,{class:`p-loader ${"full-width"===this.variant&&"w-100 d-block flex justify-center text-4xl"}`},this._loader)}_checkShow(){var t;this._showSubscriber&&(this._showSubscriber.unsubscribe(),this._showSubscriber=null),"boolean"==typeof this.show?this._show=this.show:this._showSubscriber=null===(t=this.show)||void 0===t?void 0:t.subscribe((t=>this._show=t))}};e.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: }.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-\\[1em\\]{height:1em!important}.w-\\[1em\\]{width:1em!important}.w-screen{width:100vw!important}.w-full{width:100%!important}@-webkit-keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite!important;animation:spin 1s linear infinite!important}.items-center{align-items:center!important}.border-2{border-width:2px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/var(--tw-border-opacity))!important}.border-storm-light\\/40{border-color:rgba(176,178,203,.4)!important}.border-indigo-light\\/40{border-color:rgba(241,246,255,.4)!important}.border-t-indigo{--tw-border-opacity:1!important;border-top-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-t-storm{--tw-border-opacity:1!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity))!important}.border-t-white{--tw-border-opacity:1!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity))!important}:host .loader{--tw-border-opacity:1!important;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border-color:rgb(241 246 255/var(--tw-border-opacity))!important;border-radius:100%;border-style:solid!important;border-top:solid rgb(82 138 250/var(--tw-border-opacity))!important;border-width:2px!important;display:inline-block;height:1em;transition-duration:.5s;width:1em}:host .loader.color-storm{--tw-border-opacity:1!important;border-color:rgba(176,178,203,.4)!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity))!important}:host .loader.color-white{--tw-border-opacity:1!important;border-color:rgba(241,246,255,.4)!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity))!important}:host .loading-screen{--tw-bg-opacity:1;align-items:center;background-color:rgb(247 250 252/var(--tw-bg-opacity));display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:9999}:host .loading-screen .content{max-width:20rem}:host .loading-screen .content .loader-wrapper{display:flex;justify-content:center;width:100%}:host .loading-screen .content .loader-wrapper .loader{font-size:2.25rem;line-height:2.5rem}.static{position:static!important}.inline{display:inline!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}';export{e as p_loader}
|
package/dist/build/p-98d07776.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,t,n=!1;const l="undefined"!=typeof window?window:{},s=l.document||{head:{}},o={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),c=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),i=(e,t,n)=>{n&&n.map((([n,l,s])=>{const r=e,c=u(t,s),i=a(n);o.ael(r,l,c,i),(t.o=t.o||[]).push((()=>o.rel(r,l,c,i)))}))},u=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){G(e)}},a=e=>0!=(2&e),f=new WeakMap,h=e=>"sc-"+e.h,$={},p=e=>"object"==(e=typeof e)||"function"===e,y=(e,t,...n)=>{let l=null,s=!1,o=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!p(l))&&(l+=""),s&&o?r[r.length-1].$+=l:r.push(s?d(null,l):l),o=s)};if(c(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const i=d(e,null);return i.p=t,r.length>0&&(i.m=r),i},d=(e,t)=>({t:0,S:e,$:t,g:null,m:null,p:null}),m={},b=(e,t,n,l,s,o)=>{if(n!==l){let r=D(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,s=S(n),o=S(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("ref"===t)l&&l(e);else{const c=p(l);if((r||c&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&o||s)&&!c&&e.setAttribute(t,l=!0===l?"":l)}}},w=/\s/,S=e=>e?e.split(w):[],g=(e,t,n,l)=>{const s=11===t.g.nodeType&&t.g.host?t.g.host:t.g,o=e&&e.p||$,r=t.p||$;for(l in o)l in r||b(s,l,o[l],void 0,n,t.t);for(l in r)b(s,l,o[l],r[l],n,t.t)},j=(t,n,l)=>{const o=n.m[l];let r,c,i=0;if(null!==o.$)r=o.g=s.createTextNode(o.$);else if(r=o.g=s.createElement(o.S),g(null,o,!1),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),o.m)for(i=0;i<o.m.length;++i)c=j(t,o,i),c&&r.appendChild(c);return r},v=(e,n,l,s,o,r)=>{let c,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=r;++o)s[o]&&(c=j(null,l,o),c&&(s[o].g=c,i.insertBefore(c,n)))},M=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.g,O(l),s.remove())},k=(e,t)=>e.S===t.S,C=(e,t)=>{const n=t.g=e.g,l=e.m,s=t.m,o=t.$;null===o?("slot"===t.S||g(e,t,!1),null!==l&&null!==s?((e,t,n,l)=>{let s,o=0,r=0,c=t.length-1,i=t[0],u=t[c],a=l.length-1,f=l[0],h=l[a];for(;o<=c&&r<=a;)null==i?i=t[++o]:null==u?u=t[--c]:null==f?f=l[++r]:null==h?h=l[--a]:k(i,f)?(C(i,f),i=t[++o],f=l[++r]):k(u,h)?(C(u,h),u=t[--c],h=l[--a]):k(i,h)?(C(i,h),e.insertBefore(i.g,u.g.nextSibling),i=t[++o],h=l[--a]):k(u,f)?(C(u,f),e.insertBefore(u.g,i.g),u=t[--c],f=l[++r]):(s=j(t&&t[r],n,r),f=l[++r],s&&i.g.parentNode.insertBefore(s,i.g));o>c?v(e,null==l[a+1]?null:l[a+1].g,n,l,r,a):r>a&&M(t,o,c)})(n,l,t,s):null!==s?(null!==e.$&&(n.textContent=""),v(n,null,t,s,0,s.length-1)):null!==l&&M(l,0,l.length-1)):e.$!==o&&(n.data=o)},O=e=>{e.p&&e.p.ref&&e.p.ref(null),e.m&&e.m.map(O)},P=e=>_(e).j,x=(e,t)=>{t&&!e.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.v=t)))},E=(e,t)=>{if(e.t|=16,!(4&e.t))return x(e,e.M),ne((()=>N(e,t)));e.t|=512},N=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>F(n,e,t))),e.u=null)),l=H(l,(()=>F(n,"componentWillRender"))),H(l,(()=>R(e,n,t)))},R=async(e,t,n)=>{const l=e.j,o=l["s-rc"];n&&(e=>{const t=e.k,n=e.j,l=t.t,o=((e,t)=>{let n=h(t);const l=K.get(n);if(e=11===e.nodeType?e:s,l)if("string"==typeof l){let t,o=f.get(e=e.head||e);o||f.set(e,o=new Set),o.has(n)||(t=s.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);T(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>W(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},T=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.j,o=n.C||d(null,null),r=(e=>e&&e.S===m)(l)?l:y(null,null,l);t=s.tagName,r.S=null,r.t|=4,n.C=r,r.g=o.g=s.shadowRoot||s,e=s["s-sc"],C(o,r)})(n,l)}catch(e){G(e,n.j)}return null},W=e=>{const t=e.j,n=e.M;64&e.t||(e.t|=64,L(t),e.O(t),n||A()),e.v&&(e.v(),e.v=void 0),512&e.t&&te((()=>E(e,!1))),e.t&=-517},A=()=>{L(s.documentElement),te((()=>(e=>{const t=o.ce("appload",{detail:{namespace:"paperless"}});return e.dispatchEvent(t),t})(l)))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){G(e)}},H=(e,t)=>e&&e.then?e.then(t):t(),L=e=>e.classList.add("hydrated"),U=(e,t,n)=>{if(t.P){const l=Object.entries(t.P),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>_(this).N.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=_(e),o=s.N.get(t),r=s.t,c=s.i;if(n=((e,t)=>null==e||p(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.P[t][0]),(!(8&r)||void 0===o)&&n!==o&&(!Number.isNaN(o)||!Number.isNaN(n))&&(s.N.set(t,n),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,o,t))return;E(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){o.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(s.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},q=(e,t={})=>{const n=[],r=t.exclude||[],u=l.customElements,a=s.head,f=a.querySelector("meta[charset]"),$=s.createElement("style"),p=[];let y,d=!0;Object.assign(o,t),o.l=new URL(t.resourcesUrl||"./",s.baseURI).href,e.map((e=>{e[1].map((t=>{const l={t:t[0],h:t[1],P:t[2],R:t[3]};l.P=t[2],l.R=t[3];const s=l.h,a=class extends HTMLElement{constructor(e){super(e),B(e=this,l),1&l.t&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),d?p.push(this):o.jmp((()=>(e=>{if(0==(1&o.t)){const t=_(e),n=t.k,l=()=>{};if(1&t.t)i(e,t,n.R);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){x(t,t.M=n);break}}n.P&&Object.entries(n.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=J(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(U(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){G(e)}t.t&=-9,e()}if(s.style){let e=s.style;const t=h(n);if(!K.has(t)){const l=()=>{};((e,t,n)=>{let l=K.get(e);c&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,K.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.M,r=()=>E(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){o.jmp((()=>(()=>{if(0==(1&o.t)){const e=_(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return _(this).T}};l.W=e[0],r.includes(s)||u.get(s)||(n.push(s),u.define(s,U(a,l,1)))}))})),$.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",$.setAttribute("data-styles",""),a.insertBefore($,f?f.nextSibling:a.firstChild),d=!1,p.length?p.map((e=>e.connectedCallback())):o.jmp((()=>y=setTimeout(A,30)))},V=new WeakMap,_=e=>V.get(e),z=(e,t)=>V.set(t.i=e,t),B=(e,t)=>{const n={t:0,j:e,k:t,N:new Map};return n.T=new Promise((e=>n.O=e)),e["s-p"]=[],e["s-rc"]=[],i(e,n,t.R),V.set(e,n)},D=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),I=new Map,J=e=>{const t=e.h.replace(/-/g,"_"),n=e.W,l=I.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(I.set(n,e),e[t])),G)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},K=new Map,Q=[],X=[],Y=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&o.t?te(ee):o.raf(ee))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){G(e)}e.length=0},ee=()=>{Z(Q),Z(X),(n=Q.length>0)&&o.raf(ee)},te=e=>r().then(e),ne=Y(X,!0);export{m as H,q as b,P as g,y as h,r as p,z as r}
|