@verdaccio/ui-theme 9.0.0-next-9.13 → 9.0.0-next-9.15

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.
Files changed (37) hide show
  1. package/package.json +7 -8
  2. package/static/AddUser.BbVb_xJ3.js +1 -0
  3. package/static/ChangePassword.B_rkFQPF.js +1 -0
  4. package/static/Dependencies.DHNP2YRs.js +1 -0
  5. package/static/Dependencies.KNXzTck1.js +1 -0
  6. package/static/Front.DK1cd7o4.js +1 -0
  7. package/static/Login.feDn5wpN.js +1 -0
  8. package/static/NoItems.DlvVgciQ.js +1 -0
  9. package/static/Security.Crrtsou2.js +1 -0
  10. package/static/Success.CsnHga6x.js +1 -0
  11. package/static/UpLinks.CK2sZezn.js +1 -0
  12. package/static/UpLinks.dIbRABIO.js +1 -0
  13. package/static/Version.BLgskiKq.js +1 -0
  14. package/static/Versions.9mxpCUdj.js +7 -0
  15. package/static/Versions.CvWVHQJY.js +1 -0
  16. package/static/main.Bz2MyAha.css +1 -0
  17. package/static/main.c8t8ckrs.js +91 -0
  18. package/static/manifest.json +2 -2
  19. package/static/utils.0Q6flh0K.js +10 -0
  20. package/static/{vendors.BihTTa53.js → vendors.CA5ABCLR.js} +31 -31
  21. package/static/AddUser.DaDSPu1T.js +0 -1
  22. package/static/ChangePassword.BkGiaoQZ.js +0 -1
  23. package/static/Dependencies.BZt2AUPI.js +0 -1
  24. package/static/Dependencies.DwNaGkL0.js +0 -1
  25. package/static/Front.gXC8tdQl.js +0 -1
  26. package/static/Login.CqKKKEBu.js +0 -1
  27. package/static/NoItems.BvAnDS9P.js +0 -1
  28. package/static/Security.DDPTWZDK.js +0 -0
  29. package/static/Success.DjIh-ywf.js +0 -1
  30. package/static/UpLinks.CCAQo7Qz.js +0 -1
  31. package/static/UpLinks.Cp6rbNHq.js +0 -1
  32. package/static/Version.DBCLFyc0.js +0 -1
  33. package/static/Versions.81XXwB10.js +0 -7
  34. package/static/Versions.BSrM39Q8.js +0 -1
  35. package/static/main.CfoF966F.css +0 -1
  36. package/static/main.CjXRkopU.js +0 -91
  37. package/static/utils.5CY1pw2e.js +0 -10
@@ -1,10 +0,0 @@
1
- import{a as e}from"./rolldown-runtime.M0LkISsN.js";import{Cn as t,Dn as n,En as r,Hn as i,Kn as a,On as o,Tn as s,kn as c,wn as l,xn as u}from"./vendors.BihTTa53.js";var d=e(c(),1),f=e(o(),1);function p(e){return(0,f.default)(e||``,{protocols:[`http`,`https`,`git+https`,`git`],require_protocol:!0,require_tld:!1})}function m(e){return(0,d.default)(e||``)}function h(e){return e.substring(e.lastIndexOf(`/`)+1)}function g(e,t){let n={lastModified:Date.now(),name:t};return Object.assign(e,n)}function _(e,t){let n;n=navigator.msSaveBlob?g(new Blob([e],{type:`application/octet-stream`}),t):new File([e],t,{type:`application/octet-stream`,lastModified:Date.now()});let r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=t,typeof window<`u`&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.includes(`Node.js`)||window.navigator.userAgent.includes(`jsdom`)?setTimeout(()=>{URL.revokeObjectURL(r)},150):(document.documentElement.appendChild(i),i.click(),setTimeout(()=>{URL.revokeObjectURL(r),document.documentElement.removeChild(i)},150))}var v=e(n(),1),y=e(r(),1),b=e(s(),1),x=`L LTS`;v.default.extend(b.default),v.default.extend(y.default);function S(e){if(typeof e==`string`)return e;if(e&&typeof e==`object`&&`type`in e&&typeof e.type==`string`)return e.type}function C(e){return(0,v.default)(new Date(e)).format(x)}function w(e){return(0,v.default)(new Date(e)).fromNow()}function T(e){return e?e.toLowerCase()===`anonymous`?l.t(`author-anonymous`):e:l.t(`author-unknown`)}function E(e,t){switch(e){case`npmjs`:return`https://www.npmjs.com/package/${t}`}return null}function D(e,t,n,r,i){t=Math,n=t.log,r=1e3,i=n(e)/n(r)|0;let a=e/t.pow(r,i);return i===0?Math.floor(a)+` Bytes`:a.toFixed(1)+` `+`kMGTPEZY`[--i]+`B`}function O(e,t,n){return`${e} ${t?`${t}:`:``}registry ${n}`}function k(e,t){return`${e} --registry ${t}`}function A(e,t){return`${e} profile set password --registry ${t}`}function j(e,t){return e?`
2
- // .yarnrc.yml
3
- npmRegistryServer: "${t}"
4
- npmScopes:
5
- ${e.replace(`@`,``)}:
6
- npmRegistryServer: ${t}
7
- npmPublishRegistry: ${t}`:`// .yarnrc.yml
8
- npmRegistryServer: "${t}"
9
- unsafeHttpWhitelist:
10
- - ${new URL(t).host}`}var M=e(a(),1),N=i(),P=e=>{let t=(0,M.lazy)(e);return e=>(0,N.jsx)(M.Suspense,{fallback:null,children:(0,N.jsx)(t,{...e})})},F=function(e){return e.ROOT=`/`,e.DETAIL=`/-/web/detail/`,e.SCOPE_PACKAGE=`/-/web/detail/:scope/:package`,e.SCOPE_PACKAGE_VERSION=`/-/web/detail/:scope/:package/v/:version`,e.PACKAGE=`/-/web/detail/:package`,e.PACKAGE_VERSION=`/-/web/detail/:package/v/:version`,e.LOGIN=`/-/web/login`,e.SUCCESS=`/-/web/success`,e.ADD_USER=`/-/web/add-user`,e.CHANGE_PASSWORD=`/-/web/change-password`,e.LOGIN_API=`/-/v1/login_cli`,e.CHANGE_PASSWORD_API=`/-/npm/v1/user`,e}({}),I=function(e){return e.LOGIN=`/-/verdaccio/sec/login`,e.RESET_PASSWORD=`/-/verdaccio/sec/reset_password`,e.CONFIG=`/-/verdaccio/packages`,e.PACKAGES=`/-/verdaccio/data/packages`,e.SEARCH=`/-/verdaccio/data/search/`,e.SIDEBAR=`/-/verdaccio/data/sidebar/`,e.README=`/-/verdaccio/data/package/readme/`,e}({});function L(e){if(typeof e!=`string`)return!0;let[,n]=e.split(`.`);if(!n)return!0;let r;try{r=JSON.parse(t.decode(n)).exp}catch(t){return console.error(`Invalid token:`,t,e),!0}if(!r||!u(r))return!0;let i=r*1e3-3e4;return Date.now()>=i}export{m as _,A as a,k as c,w as d,S as f,h as g,_ as h,P as i,D as l,E as m,I as n,j as o,T as p,F as r,O as s,L as t,C as u,p as v};