@ezeep/ezeep-js 1.0.140 → 1.0.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ezeep.cjs.js +2 -2
- package/dist/cjs/ezp-auth_14.cjs.entry.js +33754 -0
- package/dist/cjs/{index-a93095ed.js → index-62fc857c.js} +7 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/ezp-auth/ezp-auth.css +3 -77
- package/dist/collection/components/ezp-auth/ezp-auth.js +26 -20
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.css +3 -3
- package/dist/collection/components/ezp-dialog/ezp-dialog.css +48 -0
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +220 -0
- package/dist/collection/components/ezp-icon/assets/glyph-account.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-checkmark-alt.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-checkmark.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-close.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-color.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-copies.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-dark.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-drag-drop.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-duplex.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-exclamation-mark.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-expand.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-help.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-light.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-logo.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-logout.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-menu.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-minus.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-orientation.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-plus.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-printer.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-quality.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-question-mark.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-size.svg +2 -2
- package/dist/collection/components/ezp-icon/assets/glyph-system.svg +2 -2
- package/dist/collection/components/ezp-icon/ezp-icon.css +25 -9
- package/dist/collection/components/ezp-icon/ezp-icon.js +23 -3
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.css +43 -34
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +1 -1
- package/dist/collection/components/ezp-label/ezp-label.css +32 -32
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +21 -27
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +284 -90
- package/dist/collection/components/ezp-printing/ezp-printing.css +175 -273
- package/dist/collection/components/ezp-printing/ezp-printing.js +111 -13
- package/dist/collection/components/ezp-select/ezp-select.css +98 -151
- package/dist/collection/components/ezp-select/ezp-select.js +51 -20
- package/dist/collection/components/ezp-status/ezp-status.css +111 -0
- package/dist/collection/components/ezp-status/ezp-status.js +236 -0
- package/dist/collection/components/ezp-stepper/ezp-stepper.css +21 -21
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
- package/dist/collection/components/ezp-text-button/ezp-text-button.css +44 -34
- package/dist/collection/components/ezp-text-button/ezp-text-button.js +22 -2
- package/dist/collection/components/ezp-upload/ezp-upload.css +67 -0
- package/dist/collection/components/ezp-upload/ezp-upload.js +121 -0
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +75 -71
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +12 -9
- package/dist/collection/services/print.js +50 -10
- package/dist/custom-elements/index.d.ts +18 -6
- package/dist/custom-elements/index.js +29059 -378
- package/dist/directives/proxies.ts +81 -25
- package/dist/esm/ezeep.js +2 -2
- package/dist/esm/ezp-auth_14.entry.js +33737 -0
- package/dist/esm/{index-9ecf6ae0.js → index-265d8cca.js} +7 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_14.entry.js +21 -0
- package/dist/esm-es5/{index-9ecf6ae0.js → index-265d8cca.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/assets/glyph-account.svg +2 -2
- package/dist/ezeep/assets/glyph-checkmark-alt.svg +3 -0
- package/dist/ezeep/assets/glyph-checkmark.svg +2 -2
- package/dist/ezeep/assets/glyph-close.svg +2 -2
- package/dist/ezeep/assets/glyph-color.svg +2 -2
- package/dist/ezeep/assets/glyph-copies.svg +2 -2
- package/dist/ezeep/assets/glyph-dark.svg +2 -2
- package/dist/ezeep/assets/glyph-drag-drop.svg +3 -0
- package/dist/ezeep/assets/glyph-duplex.svg +2 -2
- package/dist/ezeep/assets/glyph-exclamation-mark.svg +3 -0
- package/dist/ezeep/assets/glyph-expand.svg +2 -2
- package/dist/ezeep/assets/glyph-help.svg +2 -2
- package/dist/ezeep/assets/glyph-light.svg +2 -2
- package/dist/ezeep/assets/glyph-logo.svg +3 -0
- package/dist/ezeep/assets/glyph-logout.svg +2 -2
- package/dist/ezeep/assets/glyph-menu.svg +2 -2
- package/dist/ezeep/assets/glyph-minus.svg +2 -2
- package/dist/ezeep/assets/glyph-orientation.svg +2 -2
- package/dist/ezeep/assets/glyph-plus.svg +2 -2
- package/dist/ezeep/assets/glyph-printer.svg +2 -2
- package/dist/ezeep/assets/glyph-quality.svg +2 -2
- package/dist/ezeep/assets/glyph-question-mark.svg +3 -0
- package/dist/ezeep/assets/glyph-size.svg +2 -2
- package/dist/ezeep/assets/glyph-system.svg +2 -2
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +1 -1
- package/dist/ezeep/p-740e246f.entry.js +15 -0
- package/dist/ezeep/p-98ec6965.system.js +1 -0
- package/dist/ezeep/p-b481a50b.system.entry.js +21 -0
- package/dist/ezeep/p-f3065800.js +1 -0
- package/dist/ezeep/p-f89804ee.system.js +1 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +3 -2
- package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +42 -0
- package/dist/types/components/ezp-icon/ezp-icon.d.ts +2 -0
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +19 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +10 -3
- package/dist/types/components/ezp-select/ezp-select.d.ts +4 -0
- package/dist/types/components/ezp-status/ezp-status.d.ts +44 -0
- package/dist/types/components/ezp-text-button/ezp-text-button.d.ts +2 -0
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +43 -0
- package/dist/types/components.d.ts +126 -21
- package/dist/types/services/print.d.ts +7 -2
- package/dist/types/shared/types.d.ts +15 -3
- package/package.json +12 -2
- package/readme.md +54 -18
- package/www/build/assets/glyph-account.svg +2 -2
- package/www/build/assets/glyph-checkmark-alt.svg +3 -0
- package/www/build/assets/glyph-checkmark.svg +2 -2
- package/www/build/assets/glyph-close.svg +2 -2
- package/www/build/assets/glyph-color.svg +2 -2
- package/www/build/assets/glyph-copies.svg +2 -2
- package/www/build/assets/glyph-dark.svg +2 -2
- package/www/build/assets/glyph-drag-drop.svg +3 -0
- package/www/build/assets/glyph-duplex.svg +2 -2
- package/www/build/assets/glyph-exclamation-mark.svg +3 -0
- package/www/build/assets/glyph-expand.svg +2 -2
- package/www/build/assets/glyph-help.svg +2 -2
- package/www/build/assets/glyph-light.svg +2 -2
- package/www/build/assets/glyph-logo.svg +3 -0
- package/www/build/assets/glyph-logout.svg +2 -2
- package/www/build/assets/glyph-menu.svg +2 -2
- package/www/build/assets/glyph-minus.svg +2 -2
- package/www/build/assets/glyph-orientation.svg +2 -2
- package/www/build/assets/glyph-plus.svg +2 -2
- package/www/build/assets/glyph-printer.svg +2 -2
- package/www/build/assets/glyph-quality.svg +2 -2
- package/www/build/assets/glyph-question-mark.svg +3 -0
- package/www/build/assets/glyph-size.svg +2 -2
- package/www/build/assets/glyph-system.svg +2 -2
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +1 -1
- package/www/build/p-740e246f.entry.js +15 -0
- package/www/build/p-98ec6965.system.js +1 -0
- package/www/build/p-b481a50b.system.entry.js +21 -0
- package/www/build/p-f3065800.js +1 -0
- package/www/build/p-f89804ee.system.js +1 -0
- package/www/data/file-types.json +68 -0
- package/www/data/locales/de.json +61 -30
- package/www/data/locales/en.json +61 -30
- package/www/index.html +27 -7
- package/dist/cjs/ezp-auth_12.cjs.entry.js +0 -5079
- package/dist/collection/components/ezp-progress/ezp-progress.css +0 -110
- package/dist/collection/components/ezp-progress/ezp-progress.js +0 -53
- package/dist/esm/ezp-auth_12.entry.js +0 -5064
- package/dist/esm-es5/ezp-auth_12.entry.js +0 -1
- package/dist/ezeep/p-0711b970.entry.js +0 -1
- package/dist/ezeep/p-c488ee3f.system.js +0 -1
- package/dist/ezeep/p-e8c8adc1.system.entry.js +0 -1
- package/dist/ezeep/p-eb3b8dbd.system.js +0 -1
- package/dist/ezeep/p-ff843eb4.js +0 -1
- package/dist/types/components/ezp-progress/ezp-progress.d.ts +0 -15
- package/www/build/p-0711b970.entry.js +0 -1
- package/www/build/p-c488ee3f.system.js +0 -1
- package/www/build/p-e8c8adc1.system.entry.js +0 -1
- package/www/build/p-eb3b8dbd.system.js +0 -1
- package/www/build/p-ff843eb4.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e,t,n=!1,l=null,s=!1;const o="undefined"!=typeof window?window:{},i=o.document||{head:{}},r={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)},c=e=>Promise.resolve(e),u=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),a=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,i=f(t,s),c=h(n);r.ael(o,l,i,c),(t.o=t.o||[]).push((()=>r.rel(o,l,i,c)))}))},f=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){se(e)}},h=e=>0!=(2&e),p="http://www.w3.org/1999/xlink",y=new WeakMap,d=e=>"sc-"+e.h,$={},m=e=>"object"==(e=typeof e)||"function"===e,w=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,r=[];const c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!m(l))&&(l+=""),o&&i?r[r.length-1].p+=l:r.push(o?b(null,l):l),i=o)};if(c(n),t){t.key&&(s=t.key);{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,r,v);const u=b(e,null);return u.$=t,r.length>0&&(u.m=r),u.g=s,u},b=(e,t)=>({t:0,v:e,p:t,j:null,m:null,$:null,g:null}),g={},v={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(S)},j=e=>({vattrs:e.$,vchildren:e.m,vkey:e.g,vname:e.S,vtag:e.v,vtext:e.p}),S=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=b(e.vtag,e.vtext);return t.$=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.S=e.vname,t},k=(e,t,n,l,s,i)=>{if(n!==l){let c=le(e,t),u=t.toLowerCase();if("class"===t){const t=e.classList,s=M(n),o=M(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const o=m(l);if((c||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let r=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,r=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(r?e.removeAttributeNS(p,t):e.removeAttribute(t)):(!c||4&i||s)&&!o&&(l=!0===l?"":l,r?e.setAttributeNS(p,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):le(o,u)?u.slice(2):u[2]+t.slice(3),n&&r.rel(e,t,n,!1),l&&r.ael(e,t,l,!1)}},O=/\s/,M=e=>e?e.split(O):[],x=(e,t,n,l)=>{const s=11===t.j.nodeType&&t.j.host?t.j.host:t.j,o=e&&e.$||$,i=t.$||$;for(l in o)l in i||k(s,l,o[l],void 0,n,t.t);for(l in i)k(s,l,o[l],i[l],n,t.t)},C=(t,l,s)=>{let o,r,c=l.m[s],u=0;if(null!==c.p)o=c.j=i.createTextNode(c.p);else{if(n||(n="svg"===c.v),o=c.j=i.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",c.v),n&&"foreignObject"===c.v&&(n=!1),x(null,c,n),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),c.m)for(u=0;u<c.m.length;++u)r=C(t,c,u),r&&o.appendChild(r);"svg"===c.v?n=!1:"foreignObject"===o.tagName&&(n=!0)}return o},L=(e,n,l,s,o,i)=>{let r,c=e;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);o<=i;++o)s[o]&&(r=C(null,l,o),r&&(s[o].j=r,c.insertBefore(r,n)))},P=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,W(l),s.remove())},E=(e,t)=>e.v===t.v&&e.g===t.g,U=(e,t)=>{const l=t.j=e.j,s=e.m,o=t.m,i=t.v,r=t.p;null===r?(n="svg"===i||"foreignObject"!==i&&n,"slot"===i||x(e,t,n),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,r=0,c=0,u=0,a=t.length-1,f=t[0],h=t[a],p=l.length-1,y=l[0],d=l[p];for(;i<=a&&r<=p;)if(null==f)f=t[++i];else if(null==h)h=t[--a];else if(null==y)y=l[++r];else if(null==d)d=l[--p];else if(E(f,y))U(f,y),f=t[++i],y=l[++r];else if(E(h,d))U(h,d),h=t[--a],d=l[--p];else if(E(f,d))U(f,d),e.insertBefore(f.j,h.j.nextSibling),f=t[++i],d=l[--p];else if(E(h,y))U(h,y),e.insertBefore(h.j,f.j),h=t[--a],y=l[++r];else{for(c=-1,u=i;u<=a;++u)if(t[u]&&null!==t[u].g&&t[u].g===y.g){c=u;break}c>=0?(o=t[c],o.v!==y.v?s=C(t&&t[r],n,c):(U(o,y),t[c]=void 0,s=o.j),y=l[++r]):(s=C(t&&t[r],n,r),y=l[++r]),s&&f.j.parentNode.insertBefore(s,f.j)}i>a?L(e,null==l[p+1]?null:l[p+1].j,n,l,r,p):r>p&&P(t,i,a)})(l,s,t,o):null!==o?(null!==e.p&&(l.textContent=""),L(l,null,t,o,0,o.length-1)):null!==s&&P(s,0,s.length-1),n&&"svg"===i&&(n=!1)):e.p!==r&&(l.data=r)},W=e=>{e.$&&e.$.ref&&e.$.ref(null),e.m&&e.m.map(W)},F=e=>ee(e).k,R=(e,t,n)=>{const l=F(e);return{emit:e=>T(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},T=(e,t,n)=>{const l=r.ce(t,n);return e.dispatchEvent(l),l},A=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},H=(e,t)=>{if(e.t|=16,!(4&e.t))return A(e,e.M),ye((()=>q(e,t)));e.t|=512},q=(e,t)=>{const n=e.i;let l;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>G(n,e,t))),e.u=null),l=G(n,"componentWillLoad")):l=G(n,"componentWillUpdate"),I(l,(()=>z(e,n,t)))},z=async(e,t,n)=>{const l=e.k,s=l["s-rc"];n&&(e=>{const t=e.C,n=e.k,l=t.t,s=((e,t)=>{let n=d(t),l=re.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,s=y.get(e=e.head||e);s||y.set(e,s=new Set),s.has(n)||(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.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"]=s,n.classList.add(s+"-h"))})(e);D(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>V(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},D=(n,s)=>{try{l=s,s=s.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.k,o=n.L||b(null,null),i=(e=>e&&e.v===g)(l)?l:w(null,null,l);t=s.tagName,i.v=null,i.t|=4,n.L=i,i.j=o.j=s.shadowRoot||s,e=s["s-sc"],U(o,i)})(n,s)}catch(e){se(e,n.k)}return l=null,null},N=()=>l,V=e=>{const t=e.k,n=e.i,l=e.M;64&e.t||(e.t|=64,J(t),G(n,"componentDidLoad"),e.P(t),l||B()),e.U(t),e.O&&(e.O(),e.O=void 0),512&e.t&&pe((()=>H(e,!1))),e.t&=-517},_=e=>{{const t=ee(e),n=t.k.isConnected;return n&&2==(18&t.t)&&H(t,!1),n}},B=()=>{J(i.documentElement),pe((()=>T(o,"appload",{detail:{namespace:"ezeep"}})))},G=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){se(e)}},I=(e,t)=>e&&e.then?e.then(t):t(),J=e=>e.classList.add("hydrated"),K=(e,t,n)=>{if(t.W){e.watchers&&(t.F=e.watchers);const l=Object.entries(t.W),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ee(this).R.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ee(e),o=s.k,i=s.R.get(t),r=s.t,c=s.i;if(n=((e,t)=>null==e||m(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!==i||n===i)&&(s.R.set(t,n),c)){if(l.F&&128&r){const e=l.F[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){se(e,o)}}))}2==(18&r)&&H(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ee(this);return n.T.then((()=>n.i[e](...t)))}})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){r.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=[],l=t.exclude||[],s=o.customElements,c=i.head,f=c.querySelector("meta[charset]"),h=i.createElement("style"),p=[];let y,$=!0;Object.assign(r,t),r.l=new URL(t.resourcesUrl||"./",i.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],h:t[1],W:t[2],A:t[3]};o.W=t[2],o.A=t[3],o.F={};const i=o.h,c=class extends HTMLElement{constructor(e){super(e),ne(e=this,o),1&o.t&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),$?p.push(this):r.jmp((()=>(e=>{if(0==(1&r.t)){const t=ee(e),n=t.C,l=()=>{};if(1&t.t)a(e,t,n.A);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){A(t,t.M=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,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ie(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.F=s.watchers,K(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){se(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=d(n);if(!re.has(t)){const l=()=>{};((e,t,n)=>{let l=re.get(e);u&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,re.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>H(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){r.jmp((()=>(()=>{if(0==(1&r.t)){const e=ee(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return ee(this).H}};o.q=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,K(c,o,1)))}))})),h.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),c.insertBefore(h,f?f.nextSibling:c.firstChild),$=!1,p.length?p.map((e=>e.connectedCallback())):r.jmp((()=>y=setTimeout(B,30)))},X=e=>{const t=new URL(e,r.l);return t.origin!==o.location.origin?t.href:t.pathname},Y=(e,t)=>t,Z=new WeakMap,ee=e=>Z.get(e),te=(e,t)=>Z.set(t.i=e,t),ne=(e,t)=>{const n={t:0,k:e,C:t,R:new Map};return n.T=new Promise((e=>n.U=e)),n.H=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],a(e,n,t.A),Z.set(e,n)},le=(e,t)=>t in e,se=(e,t)=>(0,console.error)(e,t),oe=new Map,ie=e=>{const t=e.h.replace(/-/g,"_"),n=e.q,l=oe.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(oe.set(n,e),e[t])),se)},re=new Map,ce=[],ue=[],ae=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&r.t?pe(he):r.raf(he))},fe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){se(e)}e.length=0},he=()=>{fe(ce),fe(ue),(s=ce.length>0)&&r.raf(he)},pe=e=>c().then(e),ye=ae(ue,!0);export{Y as F,g as H,F as a,Q as b,R as c,X as d,_ as f,N as g,w as h,c as p,te as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{f(n.next(e))}catch(e){i(e)}}function s(e){try{f(n["throw"](e))}catch(e){i(e)}}function f(e){e.done?r(e.value):a(e.value).then(l,s)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return f([e,t])}}function f(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="ezeep";var a;var i;var l=false;var s=null;var f=false;var o=typeof window!=="undefined"?window:{};var u=o.document||{head:{}};var $={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=e;var s=h(t,i);var f=p(n);$.ael(l,a,s,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return $.rel(l,a,s,f)}))}))}};var h=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){Re(e)}}};var p=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g="http://www.w3.org/1999/xlink";var y=function(e,t){if(t===void 0){t=""}{return function(){return}}};var w=function(e,t){{return function(){return}}};var b=new WeakMap;var _=function(e,t,r){var n=Ee.get(e);if(v&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Ee.set(e,n)};var S=function(e,t,r,n){var a=x(t);var i=Ee.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var l=b.get(e);var s=void 0;if(!l){b.set(e,l=new Set)}if(!l.has(a)){{{s=u.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var k=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=y("attachStyles",t.$tagName$);var i=S(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var x=function(e,t){return"sc-"+e.$tagName$};var R={};var L="http://www.w3.org/2000/svg";var N="http://www.w3.org/1999/xhtml";var E=function(e){return e!=null};var j=function(e){e=typeof e;return e==="object"||e==="function"};var P=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var s=false;var f=[];var o=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){o(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!j(a)){a=String(a)}if(l&&s){f[f.length-1].$text$+=a}else{f.push(l?C(null,a):a)}s=l}}};o(r);if(t){if(t.key){i=t.key}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,M)}var $=C(e,null);$.$attrs$=t;if(f.length>0){$.$children$=f}{$.$key$=i}return $}));var C=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var O=e("H",{});var A=function(e){return e&&e.$tag$===O};var M={forEach:function(e,t){return e.map(I).forEach(t)},map:function(e,t){return e.map(I).map(t).map(T)}};var I=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var T=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return P.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var r=C(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var U=function(e,t,r,n,a,i){if(r!==n){var l=xe(e,t);var s=t.toLowerCase();if(t==="class"){var f=e.classList;var u=q(r);var c=q(n);f.remove.apply(f,u.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(xe(o,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(r){$.rel(e,t,r,false)}if(n){$.ael(e,t,n,false)}}else{var d=j(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(g,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(p){e.setAttributeNS(g,t,n)}else{e.setAttribute(t,n)}}}}};var z=/\s/;var q=function(e){return!e?[]:e.split(z)};var B=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||R;var l=t.$attrs$||R;{for(n in i){if(!(n in l)){U(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){U(a,n,i[n],l[n],r,t.$flags$)}};var H=function(e,t,r,n){var i=t.$children$[r];var s=0;var f;var o;if(i.$text$!==null){f=i.$elm$=u.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}f=i.$elm$=u.createElementNS(l?L:N,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{B(null,i,l)}if(E(a)&&f["s-si"]!==a){f.classList.add(f["s-si"]=a)}if(i.$children$){for(s=0;s<i.$children$.length;++s){o=H(e,i,s);if(o){f.appendChild(o)}}}{if(i.$tag$==="svg"){l=false}else if(f.tagName==="foreignObject"){l=true}}}return f};var V=function(e,t,r,n,a,l){var s=e;var f;if(s.shadowRoot&&s.tagName===i){s=s.shadowRoot}for(;a<=l;++a){if(n[a]){f=H(null,r,a);if(f){n[a].$elm$=f;s.insertBefore(f,t)}}}};var W=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;J(n);a.remove()}}};var F=function(e,t,r,n){var a=0;var i=0;var l=0;var s=0;var f=t.length-1;var o=t[0];var u=t[f];var $=n.length-1;var c=n[0];var v=n[$];var d;var h;while(a<=f&&i<=$){if(o==null){o=t[++a]}else if(u==null){u=t[--f]}else if(c==null){c=n[++i]}else if(v==null){v=n[--$]}else if(D(o,c)){G(o,c);o=t[++a];c=n[++i]}else if(D(u,v)){G(u,v);u=t[--f];v=n[--$]}else if(D(o,v)){G(o,v);e.insertBefore(o.$elm$,u.$elm$.nextSibling);o=t[++a];v=n[--$]}else if(D(u,c)){G(u,c);e.insertBefore(u.$elm$,o.$elm$);u=t[--f];c=n[++i]}else{l=-1;{for(s=a;s<=f;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===c.$key$){l=s;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=H(t&&t[i],r,l)}else{G(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=H(t&&t[i],r,i);c=n[++i]}if(d){{o.$elm$.parentNode.insertBefore(d,o.$elm$)}}}}if(a>f){V(e,n[$+1]==null?null:n[$+1].$elm$,r,n,i,$)}else if(i>$){W(t,a,f)}};var D=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var G=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var s=t.$text$;if(s===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{B(e,t,l)}}if(n!==null&&a!==null){F(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}V(r,null,t,a,0,a.length-1)}else if(n!==null){W(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==s){r.data=s}};var J=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(J)}};var K=function(e,t){var r=e.$hostElement$;var n=e.$vnode$||C(null,null);var l=A(t)?t:P(null,null,t);i=r.tagName;l.$tag$=null;l.$flags$|=4;e.$vnode$=l;l.$elm$=n.$elm$=r.shadowRoot||r;{a=r["s-sc"]}G(n,l)};var Q=e("a",(function(e){return _e(e).$hostElement$}));var X=e("c",(function(e,t,r){var n=Q(e);return{emit:function(e){return Y(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var Y=function(e,t,r){var n=$.ce(t,r);e.dispatchEvent(n);return n};var Z=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var ee=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}Z(e,e.$ancestorComponent$);var r=function(){return te(e,t)};return Ie(r)};var te=function(e,t){var r=y("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return fe(n,t,r)}));e.$queuedListeners$=null}}{a=fe(n,"componentWillLoad")}}else{{a=fe(n,"componentWillUpdate")}}r();return oe(a,(function(){return re(e,n,t)}))};var re=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,s,f;return __generator(this,(function(o){r=e.$hostElement$;a=y("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){k(e)}l=y("render",e.$cmpMeta$.$tagName$);{ne(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];f=function(){return ie(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.$flags$|=4;s.length=0}}return[2]}))}))};var ne=function(e,t,r){try{s=t;t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{K(e,t)}}}}catch(t){Re(t,e.$hostElement$)}s=null;return null};var ae=e("g",(function(){return s}));var ie=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=y("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{ue(r)}{fe(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){se()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Me((function(){return ee(e,false)}))}e.$flags$&=~(4|512)}};var le=e("f",(function(e){{var t=_e(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){ee(t,false)}return r}}));var se=function(e){{ue(u.documentElement)}Me((function(){return Y(o,"appload",{detail:{namespace:n}})}))};var fe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){Re(e)}}return undefined};var oe=function(e,t){return e&&e.then?e.then(t):t()};var ue=function(e){return e.classList.add("hydrated")};var $e=function(e,t){if(e!=null&&!j(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var ce=function(e,t){return _e(e).$instanceValues$.get(t)};var ve=function(e,t,r,n){var a=_e(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var f=a.$lazyInstance$;r=$e(r,n.$members$[t][0]);if((!(s&8)||l===undefined)&&r!==l){a.$instanceValues$.set(t,r);if(f){if(n.$watchers$&&s&128){var o=n.$watchers$[t];if(o){o.map((function(e){try{f[e](r,l,t)}catch(e){Re(e,i)}}))}}if((s&(2|16))===2){ee(a,false)}}}};var de=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return ce(this,n)},set:function(e){ve(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=_e(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;$.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var t=e[0],r=e[1];var n=r[1]||t;i.set(n,t);return n}))}}return e};var he=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,s,f,o;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=Ne(n);if(!i.then)return[3,2];e=w();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}de(i,n,2);i.isProxied=true}r=y("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Re(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;l=x(n);if(!Ee.has(l)){s=y("registerStyles",n.$tagName$);_(l,a,!!(n.$flags$&1));s()}}u.label=3;case 3:f=t.$ancestorComponent$;o=function(){return ee(t,true)};if(f&&f["s-rc"]){f["s-rc"].push(o)}else{o()}return[2]}}))}))};var pe=function(e){if(($.$flags$&1)===0){var t=_e(e);var r=t.$cmpMeta$;var n=y("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){Z(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{he(e,t,r)}}else{d(e,t,r.$listeners$)}n()}};var me=function(e){if(($.$flags$&1)===0){var t=_e(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var ge=e("b",(function(e,t){if(t===void 0){t={}}var r=y();var n=[];var a=t.exclude||[];var i=o.customElements;var l=u.head;var s=l.querySelector("meta[charset]");var f=u.createElement("style");var c=[];var v;var d=true;Object.assign($,t);$.$resourcesUrl$=new URL(t.resourcesUrl||"./",u.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$watchers$={}}var l=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;ke(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{$.jmp((function(){return pe(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;$.jmp((function(){return me(e)}))};t.prototype.componentOnReady=function(){return _e(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,de(s,r,1))}}))}));{f.innerHTML=n+m;f.setAttribute("data-styles","");l.insertBefore(f,s?s.nextSibling:l.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{$.jmp((function(){return v=setTimeout(se,30)}))}}r()}));var ye=e("d",(function(e){var t=new URL(e,$.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var we=e("F",(function(e,t){return t}));var be=new WeakMap;var _e=function(e){return be.get(e)};var Se=e("r",(function(e,t){return be.set(t.$lazyInstance$=e,t)}));var ke=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,r,t.$listeners$);return be.set(e,r)};var xe=function(e,t){return t in e};var Re=function(e,t){return(0,console.error)(e,t)};var Le=new Map;var Ne=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Le.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{Le.set(i,e)}return e[a]}),Re)};var Ee=new Map;var je=[];var Pe=[];var Ce=function(e,t){return function(r){e.push(r);if(!f){f=true;if(t&&$.$flags$&4){Me(Ae)}else{$.raf(Ae)}}}};var Oe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Re(e)}}e.length=0};var Ae=function(){Oe(je);{Oe(Pe);if(f=je.length>0){$.raf(Ae)}}};var Me=function(e){return c().then(e)};var Ie=Ce(Pe,true)}}}));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
[
|
|
2
|
+
".bmp",
|
|
3
|
+
".csv",
|
|
4
|
+
".doc",
|
|
5
|
+
".docm",
|
|
6
|
+
".docx",
|
|
7
|
+
".dot",
|
|
8
|
+
".dotm",
|
|
9
|
+
".dotx",
|
|
10
|
+
".eml",
|
|
11
|
+
".gif",
|
|
12
|
+
".htm",
|
|
13
|
+
".html",
|
|
14
|
+
".jpeg",
|
|
15
|
+
".jpg",
|
|
16
|
+
".log",
|
|
17
|
+
".mht",
|
|
18
|
+
".mhtml",
|
|
19
|
+
".odf",
|
|
20
|
+
".odg",
|
|
21
|
+
".odm",
|
|
22
|
+
".odp",
|
|
23
|
+
".odt",
|
|
24
|
+
".otg",
|
|
25
|
+
".oth",
|
|
26
|
+
".otp",
|
|
27
|
+
".ott",
|
|
28
|
+
".pdf",
|
|
29
|
+
".png",
|
|
30
|
+
".pot",
|
|
31
|
+
".potm",
|
|
32
|
+
".potx",
|
|
33
|
+
".pps",
|
|
34
|
+
".ppsx",
|
|
35
|
+
".ppt",
|
|
36
|
+
".pptm",
|
|
37
|
+
".pptx",
|
|
38
|
+
".rtf",
|
|
39
|
+
".scp",
|
|
40
|
+
".sda",
|
|
41
|
+
".sdd",
|
|
42
|
+
".sds",
|
|
43
|
+
".sdw",
|
|
44
|
+
".sgl",
|
|
45
|
+
".smf",
|
|
46
|
+
".sti",
|
|
47
|
+
".stw",
|
|
48
|
+
".sxd",
|
|
49
|
+
".sxg",
|
|
50
|
+
".sxi",
|
|
51
|
+
".sxm",
|
|
52
|
+
".sxw",
|
|
53
|
+
".tif",
|
|
54
|
+
".tiff",
|
|
55
|
+
".tpf",
|
|
56
|
+
".txt",
|
|
57
|
+
".vor",
|
|
58
|
+
".wtx",
|
|
59
|
+
".xls",
|
|
60
|
+
".xlsb",
|
|
61
|
+
".xlsm",
|
|
62
|
+
".xlsx",
|
|
63
|
+
".xlt",
|
|
64
|
+
".xltm",
|
|
65
|
+
".xltx",
|
|
66
|
+
".xml",
|
|
67
|
+
".xps"
|
|
68
|
+
]
|
package/www/data/locales/de.json
CHANGED
|
@@ -1,32 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
2
|
+
"login_dialog": {
|
|
3
|
+
"heading": "Drucke mit ezeep Blue",
|
|
4
|
+
"description": "Melde dich mit deinem ezeep Blue-Konto an, um zu drucken.",
|
|
5
|
+
"action": "Anmelden"
|
|
6
|
+
},
|
|
7
|
+
"no_document_dialog": {
|
|
8
|
+
"heading": "Keine Datei ausgewählt",
|
|
9
|
+
"description": "Wähle zunächst eine Datei zum Drucken aus.",
|
|
10
|
+
"action": "OK"
|
|
11
|
+
},
|
|
12
|
+
"printer_selection": {
|
|
13
|
+
"loading": "Lade meine Drucker…",
|
|
14
|
+
"print": "Drucken",
|
|
15
|
+
"printer": "Drucker",
|
|
16
|
+
"print_processing": "Drucken…",
|
|
17
|
+
"print_success": "Erfolgreich gedruckt.",
|
|
18
|
+
"print_failed": "Druck fehlgeschlagen",
|
|
19
|
+
"not_supported": "Der ausgewählte Dateityp wird nicht unterstützt.",
|
|
20
|
+
"color": "Farbe",
|
|
21
|
+
"orientation": "Ausrichtung",
|
|
22
|
+
"size": "Papierformat",
|
|
23
|
+
"duplex": "Beidseitig",
|
|
24
|
+
"quality": "Druckqualität",
|
|
25
|
+
"select_printer": "Wähle einen Drucker",
|
|
26
|
+
"select_color": "Wähle Farbe/Graustufen",
|
|
27
|
+
"select_size": "Wähle Papierformat",
|
|
28
|
+
"select_orientation": "Wähle Ausrichtung",
|
|
29
|
+
"select_quality": "Wähle Druckqualität",
|
|
30
|
+
"select_duplex": "Wähle Beidseitig",
|
|
31
|
+
"color_color": "Farbe",
|
|
32
|
+
"color_grayscale": "Graustufen",
|
|
33
|
+
"orientation_portrait": "Hochformat",
|
|
34
|
+
"orientation_landscape": "Querformat",
|
|
35
|
+
"unknown_location": "Unbekannter Standort",
|
|
36
|
+
"no_printers": "Keine Drucker gefunden.",
|
|
37
|
+
"prepare_upload": "Vorbereiten…",
|
|
38
|
+
"uploading": "Hochladen…"
|
|
39
|
+
},
|
|
40
|
+
"button_actions": {
|
|
41
|
+
"login": "Anmelden",
|
|
42
|
+
"print": "Drucken",
|
|
43
|
+
"cancel": "Abbrechen",
|
|
44
|
+
"close": "Schließen",
|
|
45
|
+
"retry": "Wiederholen"
|
|
46
|
+
},
|
|
47
|
+
"upload": {
|
|
48
|
+
"description": "Ziehe eine Datei hier in den Browser ",
|
|
49
|
+
"meta_leading": "oder",
|
|
50
|
+
"meta_select": "wähle eine Datei aus",
|
|
51
|
+
"meta_trailing": "um mit ezeep Blue zu drucken."
|
|
52
|
+
},
|
|
53
|
+
"user_menu": {
|
|
54
|
+
"theme": "Farbschema",
|
|
55
|
+
"appearance": "Erscheinungsbild",
|
|
56
|
+
"system": "System",
|
|
57
|
+
"light": "Hell",
|
|
58
|
+
"dark": "Dunkel",
|
|
59
|
+
"account": "Account verwalten",
|
|
60
|
+
"help": "Hilfe & Support",
|
|
61
|
+
"logout": "Ausloggen"
|
|
62
|
+
}
|
|
32
63
|
}
|
package/www/data/locales/en.json
CHANGED
|
@@ -1,32 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
2
|
+
"login_dialog": {
|
|
3
|
+
"heading": "Print with ezeep Blue",
|
|
4
|
+
"description": "Sign in with your ezeep Blue account to print.",
|
|
5
|
+
"action": "Sign in"
|
|
6
|
+
},
|
|
7
|
+
"no_document_dialog": {
|
|
8
|
+
"heading": "No file selected",
|
|
9
|
+
"description": "Select a file first to print.",
|
|
10
|
+
"action": "OK"
|
|
11
|
+
},
|
|
12
|
+
"printer_selection": {
|
|
13
|
+
"loading": "Loading My Printers…",
|
|
14
|
+
"print_processing": "Printing…",
|
|
15
|
+
"print_success": "Successfully printed.",
|
|
16
|
+
"print_failed": "Print failed",
|
|
17
|
+
"not_supported": "The selected file type is not supported.",
|
|
18
|
+
"prepare_upload": "Preparing…",
|
|
19
|
+
"uploading": "Uploading…",
|
|
20
|
+
"print": "Print",
|
|
21
|
+
"printer": "Printer",
|
|
22
|
+
"color": "Color",
|
|
23
|
+
"orientation": "Orientation",
|
|
24
|
+
"size": "Paper Size",
|
|
25
|
+
"duplex": "Double-sided",
|
|
26
|
+
"quality": "Print Quality",
|
|
27
|
+
"select_printer": "Select a printer",
|
|
28
|
+
"select_color": "Select Color/Grayscale",
|
|
29
|
+
"select_orientation": "Select Orientation",
|
|
30
|
+
"select_size": "Select Paper Size",
|
|
31
|
+
"select_quality": "Select Print Quality",
|
|
32
|
+
"select_duplex": "Select Double-sided",
|
|
33
|
+
"color_color": "Color",
|
|
34
|
+
"color_grayscale": "Grayscale",
|
|
35
|
+
"orientation_portrait": "Portrait",
|
|
36
|
+
"orientation_landscape": "Landscape",
|
|
37
|
+
"unknown_location": "Unknown location",
|
|
38
|
+
"no_printers": "No printers found."
|
|
39
|
+
},
|
|
40
|
+
"button_actions": {
|
|
41
|
+
"login": "Sign In",
|
|
42
|
+
"print": "Print",
|
|
43
|
+
"cancel": "Cancel",
|
|
44
|
+
"close": "Close",
|
|
45
|
+
"retry": "Retry"
|
|
46
|
+
},
|
|
47
|
+
"upload": {
|
|
48
|
+
"description": "Drop a file here into the browser ",
|
|
49
|
+
"meta_leading": "or",
|
|
50
|
+
"meta_select": "select a file",
|
|
51
|
+
"meta_trailing": "to print with ezeep Blue."
|
|
52
|
+
},
|
|
53
|
+
"user_menu": {
|
|
54
|
+
"theme": "Color theme",
|
|
55
|
+
"appearance": "Appearance",
|
|
56
|
+
"system": "System",
|
|
57
|
+
"light": "Light",
|
|
58
|
+
"dark": "Dark",
|
|
59
|
+
"account": "Manage account",
|
|
60
|
+
"help": "Help & support",
|
|
61
|
+
"logout": "Logout"
|
|
62
|
+
}
|
|
32
63
|
}
|
package/www/index.html
CHANGED
|
@@ -1,23 +1,43 @@
|
|
|
1
|
-
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <title>ezeep-js</title> <script type="module" src="/build/ezeep.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="ezeep"></script> <script nomodule="" src="/build/ezeep.js" data-stencil></script> <style>
|
|
1
|
+
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <title>ezeep-js</title> <script type="module" src="/build/ezeep.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="ezeep"></script> <script nomodule="" src="/build/ezeep.js" data-stencil></script> <style>html {
|
|
2
|
+
height: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
--ezp-upload-height: 80vh;
|
|
7
|
+
--ezp-upload-width: 80vw;
|
|
8
|
+
|
|
9
|
+
align-content: center;
|
|
10
|
+
background: var(--ezp-body-background, white);
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template: auto / auto;
|
|
13
|
+
justify-content: center;
|
|
2
14
|
margin: 0;
|
|
15
|
+
min-height: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (prefers-color-scheme: dark) {
|
|
19
|
+
body {
|
|
20
|
+
--ezp-body-background: black;
|
|
21
|
+
}
|
|
3
22
|
}
|
|
4
23
|
|
|
5
24
|
.customButton {
|
|
6
25
|
background-color: DodgerBlue;
|
|
7
|
-
border: none;
|
|
8
26
|
border-radius: 6px;
|
|
27
|
+
border: none;
|
|
9
28
|
color: white;
|
|
10
|
-
padding: 12px 16px;
|
|
11
|
-
font-size: 16px;
|
|
12
29
|
cursor: pointer;
|
|
30
|
+
font-size: 16px;
|
|
31
|
+
padding: 12px 16px;
|
|
13
32
|
}
|
|
14
33
|
|
|
15
34
|
.customButton:hover {
|
|
16
35
|
background-color: RoyalBlue;
|
|
17
|
-
}</style> </head> <body> <ezp-printing clientid="oWuvEAndErO3kKCqzaWBOAs2PhOuAbD7MZYWQ9yJ" redirecturi="https://develop.dev.azdev.ezeep.com:3333" filename="dummypdf"
|
|
18
|
-
|
|
36
|
+
}</style> </head> <body> <ezp-printing clientid="oWuvEAndErO3kKCqzaWBOAs2PhOuAbD7MZYWQ9yJ" redirecturi="https://develop.dev.azdev.ezeep.com:3333" filename="dummypdf" filetype="pdf" theme="blue" appearance="system" trigger="file"> <!-- <button class="customButton">My custom styled print button</button>
|
|
37
|
+
fileurl="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"--> </ezp-printing> <script>
|
|
38
|
+
/*
|
|
19
39
|
const ezpPrinting = document.querySelector('ezp-printing')
|
|
20
40
|
const button = document.querySelector('button')
|
|
21
|
-
|
|
41
|
+
|
|
22
42
|
button.onclick = async () => await ezpPrinting.open() */
|
|
23
43
|
</script> </body></html>
|