slthcore 0.1.1__tar.gz → 0.1.3__tar.gz

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.

Potentially problematic release.


This version of slthcore might be problematic. Click here for more details.

Files changed (81) hide show
  1. {slthcore-0.1.1/slthcore.egg-info → slthcore-0.1.3}/PKG-INFO +1 -1
  2. {slthcore-0.1.1 → slthcore-0.1.3}/setup.py +1 -1
  3. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/js/slth.min.js +3 -2
  4. {slthcore-0.1.1 → slthcore-0.1.3/slthcore.egg-info}/PKG-INFO +1 -1
  5. {slthcore-0.1.1 → slthcore-0.1.3}/MANIFEST.in +0 -0
  6. {slthcore-0.1.1 → slthcore-0.1.3}/setup.cfg +0 -0
  7. {slthcore-0.1.1 → slthcore-0.1.3}/slth/__init__.py +0 -0
  8. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/configure/__main__.py +0 -0
  9. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/__main__.py +0 -0
  10. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/.DS_Store +0 -0
  11. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/.gitignore +0 -0
  12. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/__init__.py +0 -0
  13. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/asgi.py +0 -0
  14. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/endpoints.py +0 -0
  15. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/models.py +0 -0
  16. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/settings.py +0 -0
  17. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/tests.py +0 -0
  18. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/urls.py +0 -0
  19. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/api/wsgi.py +0 -0
  20. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/application.yml +0 -0
  21. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/entrypoint.sh +0 -0
  22. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/manage.py +0 -0
  23. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/backend/requirements.txt +0 -0
  24. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/base.env +0 -0
  25. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/docker-compose.yml +0 -0
  26. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/frontend/package.json +0 -0
  27. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/frontend/src/main.jsx +0 -0
  28. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/frontend/vite.config.js +0 -0
  29. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/local.env +0 -0
  30. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/run.sh +0 -0
  31. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/selenium/run.sh +0 -0
  32. {slthcore-0.1.1 → slthcore-0.1.3}/slth/cmd/init/boilerplate/test.sh +0 -0
  33. {slthcore-0.1.1 → slthcore-0.1.3}/slth/components.py +0 -0
  34. {slthcore-0.1.1 → slthcore-0.1.3}/slth/db/__init__.py +0 -0
  35. {slthcore-0.1.1 → slthcore-0.1.3}/slth/db/generic.py +0 -0
  36. {slthcore-0.1.1 → slthcore-0.1.3}/slth/db/models.py +0 -0
  37. {slthcore-0.1.1 → slthcore-0.1.3}/slth/endpoints.py +0 -0
  38. {slthcore-0.1.1 → slthcore-0.1.3}/slth/exceptions.py +0 -0
  39. {slthcore-0.1.1 → slthcore-0.1.3}/slth/factory.py +0 -0
  40. {slthcore-0.1.1 → slthcore-0.1.3}/slth/forms.py +0 -0
  41. {slthcore-0.1.1 → slthcore-0.1.3}/slth/management/__init__.py +0 -0
  42. {slthcore-0.1.1 → slthcore-0.1.3}/slth/management/commands/__init__.py +0 -0
  43. {slthcore-0.1.1 → slthcore-0.1.3}/slth/management/commands/integration_test.py +0 -0
  44. {slthcore-0.1.1 → slthcore-0.1.3}/slth/management/commands/sync.py +0 -0
  45. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0001_initial.py +0 -0
  46. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0002_email_role_pushsubscription_error.py +0 -0
  47. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0003_rename_photo_profile_alter_profile_options.py +0 -0
  48. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0004_alter_profile_photo.py +0 -0
  49. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0005_alter_profile_photo.py +0 -0
  50. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0006_user.py +0 -0
  51. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/0007_deletion_log.py +0 -0
  52. {slthcore-0.1.1 → slthcore-0.1.3}/slth/migrations/__init__.py +0 -0
  53. {slthcore-0.1.1 → slthcore-0.1.3}/slth/models.py +0 -0
  54. {slthcore-0.1.1 → slthcore-0.1.3}/slth/notifications.py +0 -0
  55. {slthcore-0.1.1 → slthcore-0.1.3}/slth/oauth.py +0 -0
  56. {slthcore-0.1.1 → slthcore-0.1.3}/slth/permissions.py +0 -0
  57. {slthcore-0.1.1 → slthcore-0.1.3}/slth/printer.py +0 -0
  58. {slthcore-0.1.1 → slthcore-0.1.3}/slth/queryset.py +0 -0
  59. {slthcore-0.1.1 → slthcore-0.1.3}/slth/roles.py +0 -0
  60. {slthcore-0.1.1 → slthcore-0.1.3}/slth/selenium/__init__.py +0 -0
  61. {slthcore-0.1.1 → slthcore-0.1.3}/slth/selenium/browser.py +0 -0
  62. {slthcore-0.1.1 → slthcore-0.1.3}/slth/serializer.py +0 -0
  63. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/.DS_Store +0 -0
  64. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/css/.DS_Store +0 -0
  65. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/css/slth.css +0 -0
  66. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/js/index.min.js +0 -0
  67. {slthcore-0.1.1 → slthcore-0.1.3}/slth/static/js/react.min.js +0 -0
  68. {slthcore-0.1.1 → slthcore-0.1.3}/slth/statistics.py +0 -0
  69. {slthcore-0.1.1 → slthcore-0.1.3}/slth/tasks.py +0 -0
  70. {slthcore-0.1.1 → slthcore-0.1.3}/slth/templates/index.html +0 -0
  71. {slthcore-0.1.1 → slthcore-0.1.3}/slth/templates/report.html +0 -0
  72. {slthcore-0.1.1 → slthcore-0.1.3}/slth/templates/service-worker.js +0 -0
  73. {slthcore-0.1.1 → slthcore-0.1.3}/slth/templates/signature.html +0 -0
  74. {slthcore-0.1.1 → slthcore-0.1.3}/slth/tests.py +0 -0
  75. {slthcore-0.1.1 → slthcore-0.1.3}/slth/threadlocal.py +0 -0
  76. {slthcore-0.1.1 → slthcore-0.1.3}/slth/urls.py +0 -0
  77. {slthcore-0.1.1 → slthcore-0.1.3}/slth/utils.py +0 -0
  78. {slthcore-0.1.1 → slthcore-0.1.3}/slth/views.py +0 -0
  79. {slthcore-0.1.1 → slthcore-0.1.3}/slthcore.egg-info/SOURCES.txt +0 -0
  80. {slthcore-0.1.1 → slthcore-0.1.3}/slthcore.egg-info/dependency_links.txt +0 -0
  81. {slthcore-0.1.1 → slthcore-0.1.3}/slthcore.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: slthcore
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: API generator based on yml file
5
5
  Home-page: https://github.com/brenokcc
6
6
  Author: Breno Silva
@@ -5,7 +5,7 @@ install_requires = []
5
5
 
6
6
  setup(
7
7
  name='slthcore',
8
- version='0.1.1',
8
+ version='0.1.3',
9
9
  packages=find_packages(),
10
10
  install_requires=install_requires,
11
11
  include_package_data=True,
@@ -54,12 +54,13 @@ import{j as t,c as P,r as N,R as Te}from"./react.min.js";const p={colors:{primar
54
54
  display: flex;
55
55
  justify-content: space-between;
56
56
  align-items: baseline;
57
+ overflow-x: auto;
57
58
  }
58
59
  .object-title h1 {
59
60
  margin: 0;
60
61
  color: ${p.colors.primary};
61
62
  }
62
- `);const a=window.innerWidth>800&&e.data.actions.length<4;return t.jsxs("div",{className:"object-title",style:{flexDirection:a?"row":"column"},children:[e.data.title&&t.jsx("h1",{"data-label":I(e.data.title),children:e.data.title}),t.jsx("div",{style:{margin:10,textAlign:a?"right":"center",width:a?"auto":"100%"},children:t.jsx(Ye,{data:e.data})})]})}return n()}function ke(e){A(`
63
+ `);const a=window.innerWidth>800&&e.data.actions.length<4;return t.jsxs("div",{className:"object-title",style:{flexDirection:a?"row":"column"},children:[e.data.title&&t.jsx("h1",{"data-label":I(e.data.title),children:e.data.title}),t.jsx("div",{style:{margin:0,textAlign:a?"right":"center",width:a?"auto":"100%"},children:t.jsx(Ye,{data:e.data})})]})}return n()}function ke(e){A(`
63
64
  .fieldset-title {
64
65
  display: flex;
65
66
  justify-content: space-between;
@@ -89,7 +90,7 @@ import{j as t,c as P,r as N,R as Te}from"./react.min.js";const p={colors:{primar
89
90
  text-wrap: nowrap;
90
91
  }
91
92
  `);const l={display:i||"block"};return o?(l.backgroundColor=p.colors.primary,l.color="white"):(l.border="solid 1px "+p.colors.primary,l.color=p.colors.primary),t.jsx("a",{id:e,className:"button",style:l,"data-label":I(r||a),onClick:m=>{m.preventDefault(),a&&c&&(m.target.dataset.spinning=a,m.target.querySelector("i.fa-spin").style.display="inline-block",m.target.querySelector("i.fa-"+a).style.display="none"),n(m)},children:s()})}return u()}function Ze(e){return N.useEffect(()=>{e.data.autoreload&&setTimeout(window.reload,e.data.autoreload)},[]),t.jsx("div",{dangerouslySetInnerHTML:{__html:e.data.content}})}function et(e){return t.jsx("img",{src:e.data.src,style:{width:"100%"}})}function tt(e){const n={width:"100%",textAlign:"center"};return t.jsx("div",{style:n,children:t.jsx("img",{src:e.data.src||e.data.placeholder,style:{width:e.data.width,height:e.data.height,borderRadius:e.data.round?"50%":0}})})}function nt(e){return e.data.latitude&&e.data.longitude&&t.jsx("iframe",{width:e.data.width||"100%",height:e.data.height||"400px",id:"gmap_canvas",src:"https://maps.google.com/maps?q="+e.data.latitude+","+e.data.longitude+"&t=&z=13&ie=UTF8&iwloc=&output=embed",frameBorder:"0",scrolling:"no",marginHeight:"0",marginWidth:"0"})}function at(e){function n(o){return e.data.icon?o.done?t.jsx(E,{style:{marginTop:6},icon:e.data.icon}):t.jsx("span",{children:" "}):t.jsx("div",{style:{marginTop:6},children:o.number})}function a(o){return{border:"3px solid "+p.colors.primary,borderRadius:"50%",background:o.done?p.colors.primary:"white",color:o.done?"white":p.colors.primary,textAlign:"center",width:50,height:50,margin:"auto",fontSize:"1.5rem"}}function r(o){return{listStyleType:"none",display:"flex",justifyContent:"center",minWidth:o.length*100}}function i(){const o={width:"100%",margin:"auto",overflowX:"auto","&::WebkitScrollbar":{width:0}},d={width:100,marginWidth:100,textAlign:"center"},c={position:"relative",borderBottom:"2px solid #1151b3",top:-28,width:45,left:77};return t.jsx("div",{children:t.jsx("div",{style:o,children:t.jsx("ul",{style:r(e.data.steps),children:e.data.steps.map((s,u)=>t.jsxs("li",{style:d,children:[t.jsx("div",{style:a(s),children:n(s)}),u<e.data.steps.length-1&&t.jsx("div",{style:c}),t.jsx("div",{children:s.name})]},Math.random()))})})})}return i()}function rt(e){function n(){const a={display:"inline-block",width:"100%",backgroundColor:"#DDD",borderRadius:5,marginTop:5},r={marginLeft:10},i={display:"block",paddingTop:2,paddingBottom:2,color:"white",borderRadius:5,width:e.data.value+"%",backgroundColor:p.colors[e.data.style]};return t.jsx("span",{style:a,children:t.jsx("span",{style:i,children:t.jsxs("span",{style:r,children:[e.data.value,"%"]})})})}return n()}function it(e){function n(){return e.data.color=p.colors[e.data.style],t.jsx(Se,{data:e.data})}return n()}function Se(e){function n(){const a={color:"white",width:"fit-content",borderRadius:0,textWrap:"nowrap",padding:10,whiteSpace:"nowrap",backgroundColor:e.data.color,display:"inline-flex",border:"solid 3px white",lineHeight:"1rem"};return t.jsxs("div",{style:a,children:[e.data.icon&&t.jsx(E,{icon:e.data.icon,style:{marginRight:5}}),e.data.label]})}return n()}function ot(e){function n(){const a={padding:20,marginLeft:-20,marginRight:-20,textAlign:"center",backgroundColor:"#f8f8f8"},r={padding:20,display:"inline-flex",flexDirection:"column",width:250,height:250,backgroundColor:"white",boxShadow:"0px 15px 10px -15px #DDD",margin:10,textDecoration:"none"},i={marginTop:30,fontSize:"3rem",color:p.colors.auxiliary},o={marginTop:40,fontWeight:"bold",fontSize:"1.2rem",textTransform:"uppercase",height:70,color:p.colors.primary};return e.data.items.length?t.jsxs("div",{style:a,children:[t.jsx("h2",{"data-label":I(e.data.title),style:{color:p.colors.primary},children:e.data.title}),t.jsx("div",{children:e.data.items.map(d=>t.jsxs(F,{href:d.url,style:r,dataLabel:d.label,children:[t.jsx("div",{children:t.jsx(E,{style:i,icon:d.icon})}),t.jsx("div",{style:o,children:d.label})]},Math.random()))})]}):null}return n()}function lt(e){function n(){return t.jsx("div",{style:{backgroundColor:"black",color:"white",padding:"10px",minHeight:"300px",fontFamily:"monospace, monospace",marginBottom:"30px"},children:e.data.output.split(`
92
- `).map(a=>t.jsx("div",{children:a},Math.random()))})}return n()}function dt(e){function n(){return e.data.url?t.jsx(F,{href:e.data.url,imodal:!!e.data.modal,children:e.data.icon?t.jsx(E,{icon:e.data.icon}):e.data.url}):t.jsx("span",{children:"-"})}return n()}function st(e){function n(){return t.jsx("iframe",{src:e.data.url,width:"100%",height:500,style:{border:0}})}return n()}function ct(e){const n=Math.random();N.useEffect(()=>{new QRCode(document.getElementById(n),{text:e.data.text,width:128,height:128,colorDark:"#333333",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H})},[]);function a(){return t.jsx("div",{id:n})}return a()}function ut(e){function n(){const a={color:"white",backgroundColor:p.colors.highlight,margin:-20,textAlign:"center",paddingTop:20,paddingBottom:70},r={fontSize:"4rem",fontWeight:"bold",marginTop:25},i={fontSize:"1.2rem",maxWidth:200,margin:"auto"};if(e.data)return t.jsxs("div",{className:"indicators",style:a,children:[t.jsx("h1",{"data-label":I(e.data.title),children:e.data.title}),t.jsx(Y,{width:300,children:e.data.items.map(o=>t.jsxs("div",{children:[t.jsx("div",{style:r,children:H(o.value)}),t.jsx("div",{style:i,children:o.name})]},Math.random()))},Math.random()),t.jsx("div",{className:"actions",children:e.data.actions.map(o=>t.jsx(F,{href:O(o.url),label:o.label,modal:o.modal,children:o.label},Math.random()))})]})}return n()}function ht(e){function n(){return t.jsx(Y,{width:400,children:e.data.items.map((a,r)=>t.jsx("div",{children:t.jsx(x,{data:a})},Math.random()))})}return n()}function mt(e){function n(){return t.jsxs("div",{children:[t.jsx("h2",{align:"center",children:e.data.title}),t.jsx("div",{style:{fontSize:"8rem",textAlign:"center",color:"#5470c6"},children:e.data.value})]})}return n()}function Ce(e){const n=Math.random();var a=!1;const r="rgb(219, 237, 255)",i="rgb(89, 154, 242)",o="rgb(246, 123, 135)",d="rgb(92, 160, 93)",c=[],s=[],u=["DOM","SEG","TER","QAR","QUI","SEX","SAB"],[l,m]=N.useState(e.data);A(`
93
+ `).map(a=>t.jsx("div",{children:a},Math.random()))})}return n()}function dt(e){function n(){return e.data.url?t.jsx("div",{style:{maxWidth:"100%"},children:t.jsx(F,{href:e.data.url,imodal:!!e.data.modal,children:e.data.icon?t.jsx(E,{icon:e.data.icon}):e.data.url})}):t.jsx("span",{children:"-"})}return n()}function st(e){function n(){return t.jsx("iframe",{src:e.data.url,width:"100%",height:500,style:{border:0}})}return n()}function ct(e){const n=Math.random();N.useEffect(()=>{new QRCode(document.getElementById(n),{text:e.data.text,width:128,height:128,colorDark:"#333333",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H})},[]);function a(){return t.jsx("div",{id:n})}return a()}function ut(e){function n(){const a={color:"white",backgroundColor:p.colors.highlight,margin:-20,textAlign:"center",paddingTop:20,paddingBottom:70},r={fontSize:"4rem",fontWeight:"bold",marginTop:25},i={fontSize:"1.2rem",maxWidth:200,margin:"auto"};if(e.data)return t.jsxs("div",{className:"indicators",style:a,children:[t.jsx("h1",{"data-label":I(e.data.title),children:e.data.title}),t.jsx(Y,{width:300,children:e.data.items.map(o=>t.jsxs("div",{children:[t.jsx("div",{style:r,children:H(o.value)}),t.jsx("div",{style:i,children:o.name})]},Math.random()))},Math.random()),t.jsx("div",{className:"actions",children:e.data.actions.map(o=>t.jsx(F,{href:O(o.url),label:o.label,modal:o.modal,children:o.label},Math.random()))})]})}return n()}function ht(e){function n(){return t.jsx(Y,{width:400,children:e.data.items.map((a,r)=>t.jsx("div",{children:t.jsx(x,{data:a})},Math.random()))})}return n()}function mt(e){function n(){return t.jsxs("div",{children:[t.jsx("h2",{align:"center",children:e.data.title}),t.jsx("div",{style:{fontSize:"8rem",textAlign:"center",color:"#5470c6"},children:e.data.value})]})}return n()}function Ce(e){const n=Math.random();var a=!1;const r="rgb(219, 237, 255)",i="rgb(89, 154, 242)",o="rgb(246, 123, 135)",d="rgb(92, 160, 93)",c=[],s=[],u=["DOM","SEG","TER","QAR","QUI","SEX","SAB"],[l,m]=N.useState(e.data);A(`
93
94
  .scheduler{
94
95
  width: 100%;
95
96
  max-width: 100%;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: slthcore
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: API generator based on yml file
5
5
  Home-page: https://github.com/brenokcc
6
6
  Author: Breno Silva
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes