slthcore 0.6.9__tar.gz → 0.7.0__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.
Files changed (130) hide show
  1. {slthcore-0.6.9/slthcore.egg-info → slthcore-0.7.0}/PKG-INFO +1 -1
  2. {slthcore-0.6.9 → slthcore-0.7.0}/setup.py +1 -1
  3. {slthcore-0.6.9 → slthcore-0.7.0}/slth/components.py +2 -1
  4. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/js/slth.min.js +1 -1
  5. {slthcore-0.6.9 → slthcore-0.7.0/slthcore.egg-info}/PKG-INFO +1 -1
  6. {slthcore-0.6.9 → slthcore-0.7.0}/MANIFEST.in +0 -0
  7. {slthcore-0.6.9 → slthcore-0.7.0}/setup.cfg +0 -0
  8. {slthcore-0.6.9 → slthcore-0.7.0}/slth/__init__.py +0 -0
  9. {slthcore-0.6.9 → slthcore-0.7.0}/slth/application.py +0 -0
  10. {slthcore-0.6.9 → slthcore-0.7.0}/slth/apps.py +0 -0
  11. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/configure/__main__.py +0 -0
  12. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/__main__.py +0 -0
  13. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/__pycache__/__main__.cpython-312.pyc +0 -0
  14. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/.DS_Store +0 -0
  15. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/.gitignore +0 -0
  16. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/__init__.py +0 -0
  17. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/asgi.py +0 -0
  18. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/endpoints/__init__.py +0 -0
  19. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/models.py +0 -0
  20. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/settings.py +0 -0
  21. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/tests.py +0 -0
  22. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/urls.py +0 -0
  23. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/api/wsgi.py +0 -0
  24. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/entrypoint.sh +0 -0
  25. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/manage.py +0 -0
  26. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/backend/requirements.txt +0 -0
  27. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/base.env +0 -0
  28. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/docker-compose.yml +0 -0
  29. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/frontend/package.json +0 -0
  30. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/frontend/src/main.jsx +0 -0
  31. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/frontend/vite.config.js +0 -0
  32. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/local.env +0 -0
  33. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/run.sh +0 -0
  34. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/selenium/run.sh +0 -0
  35. {slthcore-0.6.9 → slthcore-0.7.0}/slth/cmd/init/boilerplate/test.sh +0 -0
  36. {slthcore-0.6.9 → slthcore-0.7.0}/slth/db/__init__.py +0 -0
  37. {slthcore-0.6.9 → slthcore-0.7.0}/slth/db/generic.py +0 -0
  38. {slthcore-0.6.9 → slthcore-0.7.0}/slth/db/models.py +0 -0
  39. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/__init__.py +0 -0
  40. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/auth.py +0 -0
  41. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/deletion.py +0 -0
  42. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/dev.py +0 -0
  43. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/email.py +0 -0
  44. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/job.py +0 -0
  45. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/log.py +0 -0
  46. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/profile.py +0 -0
  47. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/pushsubscription.py +0 -0
  48. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/report.py +0 -0
  49. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/role.py +0 -0
  50. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/settings.py +0 -0
  51. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/task.py +0 -0
  52. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/timezone.py +0 -0
  53. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/user.py +0 -0
  54. {slthcore-0.6.9 → slthcore-0.7.0}/slth/endpoints/whatsappnotification.py +0 -0
  55. {slthcore-0.6.9 → slthcore-0.7.0}/slth/exceptions.py +0 -0
  56. {slthcore-0.6.9 → slthcore-0.7.0}/slth/factory.py +0 -0
  57. {slthcore-0.6.9 → slthcore-0.7.0}/slth/forms.py +0 -0
  58. {slthcore-0.6.9 → slthcore-0.7.0}/slth/geo/__init__.py +0 -0
  59. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/__init__.py +0 -0
  60. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/deepseek/__init__.py +0 -0
  61. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/google/__init__.py +0 -0
  62. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/google/gemini.py +0 -0
  63. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/google/places.py +0 -0
  64. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/google/vision.py +0 -0
  65. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/justvoip/__init__.py +0 -0
  66. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/mercadopago/__init__.py +0 -0
  67. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/openai/__init__.py +0 -0
  68. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/openai/chatgpt.py +0 -0
  69. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/viacep/__init__.py +0 -0
  70. {slthcore-0.6.9 → slthcore-0.7.0}/slth/integrations/whatsapp/__init__.py +0 -0
  71. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/__init__.py +0 -0
  72. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/commands/__init__.py +0 -0
  73. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/commands/api.py +0 -0
  74. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/commands/integration_test.py +0 -0
  75. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/commands/sync.py +0 -0
  76. {slthcore-0.6.9 → slthcore-0.7.0}/slth/management/commands/worker.py +0 -0
  77. {slthcore-0.6.9 → slthcore-0.7.0}/slth/middleware/__init__.py +0 -0
  78. {slthcore-0.6.9 → slthcore-0.7.0}/slth/middleware/timezone.py +0 -0
  79. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0001_initial.py +0 -0
  80. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0002_email_role_pushsubscription_error.py +0 -0
  81. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0003_rename_photo_profile_alter_profile_options.py +0 -0
  82. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0004_alter_profile_photo.py +0 -0
  83. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0005_alter_profile_photo.py +0 -0
  84. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0006_user.py +0 -0
  85. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0007_deletion_log.py +0 -0
  86. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0008_alter_deletion_datetime_alter_log_datetime.py +0 -0
  87. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0009_remove_email_from_email_email_action_email_attempt_and_more.py +0 -0
  88. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0010_email_key_alter_email_action_alter_email_attempt_and_more.py +0 -0
  89. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0011_usertimezone.py +0 -0
  90. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0012_timezone_remove_usertimezone_key_and_more.py +0 -0
  91. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0013_whatsappnotification.py +0 -0
  92. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0014_settings.py +0 -0
  93. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/0015_auto_20250412_1126.py +0 -0
  94. {slthcore-0.6.9 → slthcore-0.7.0}/slth/migrations/__init__.py +0 -0
  95. {slthcore-0.6.9 → slthcore-0.7.0}/slth/models.py +0 -0
  96. {slthcore-0.6.9 → slthcore-0.7.0}/slth/notifications.py +0 -0
  97. {slthcore-0.6.9 → slthcore-0.7.0}/slth/oauth.py +0 -0
  98. {slthcore-0.6.9 → slthcore-0.7.0}/slth/pdf/__init__.py +0 -0
  99. {slthcore-0.6.9 → slthcore-0.7.0}/slth/pdf/tests.py +0 -0
  100. {slthcore-0.6.9 → slthcore-0.7.0}/slth/permissions.py +0 -0
  101. {slthcore-0.6.9 → slthcore-0.7.0}/slth/printer.py +0 -0
  102. {slthcore-0.6.9 → slthcore-0.7.0}/slth/queryset.py +0 -0
  103. {slthcore-0.6.9 → slthcore-0.7.0}/slth/roles.py +0 -0
  104. {slthcore-0.6.9 → slthcore-0.7.0}/slth/selenium/__init__.py +0 -0
  105. {slthcore-0.6.9 → slthcore-0.7.0}/slth/selenium/browser.py +0 -0
  106. {slthcore-0.6.9 → slthcore-0.7.0}/slth/serializer.py +0 -0
  107. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/.DS_Store +0 -0
  108. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/css/.DS_Store +0 -0
  109. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/css/slth.css +0 -0
  110. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/images/placeholder.png +0 -0
  111. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/js/index.min.js +0 -0
  112. {slthcore-0.6.9 → slthcore-0.7.0}/slth/static/js/react.min.js +0 -0
  113. {slthcore-0.6.9 → slthcore-0.7.0}/slth/statistics.py +0 -0
  114. {slthcore-0.6.9 → slthcore-0.7.0}/slth/storage/__init__.py +0 -0
  115. {slthcore-0.6.9 → slthcore-0.7.0}/slth/storage/s3.py +0 -0
  116. {slthcore-0.6.9 → slthcore-0.7.0}/slth/tasks.py +0 -0
  117. {slthcore-0.6.9 → slthcore-0.7.0}/slth/templates/email.html +0 -0
  118. {slthcore-0.6.9 → slthcore-0.7.0}/slth/templates/index.html +0 -0
  119. {slthcore-0.6.9 → slthcore-0.7.0}/slth/templates/report.html +0 -0
  120. {slthcore-0.6.9 → slthcore-0.7.0}/slth/templates/service-worker.js +0 -0
  121. {slthcore-0.6.9 → slthcore-0.7.0}/slth/templates/signature.html +0 -0
  122. {slthcore-0.6.9 → slthcore-0.7.0}/slth/tests.py +0 -0
  123. {slthcore-0.6.9 → slthcore-0.7.0}/slth/threadlocal.py +0 -0
  124. {slthcore-0.6.9 → slthcore-0.7.0}/slth/timezone.py +0 -0
  125. {slthcore-0.6.9 → slthcore-0.7.0}/slth/urls.py +0 -0
  126. {slthcore-0.6.9 → slthcore-0.7.0}/slth/utils.py +0 -0
  127. {slthcore-0.6.9 → slthcore-0.7.0}/slth/views.py +0 -0
  128. {slthcore-0.6.9 → slthcore-0.7.0}/slthcore.egg-info/SOURCES.txt +0 -0
  129. {slthcore-0.6.9 → slthcore-0.7.0}/slthcore.egg-info/dependency_links.txt +0 -0
  130. {slthcore-0.6.9 → slthcore-0.7.0}/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.6.9
3
+ Version: 0.7.0
4
4
  Summary: API generator based on yml file
5
5
  Home-page: https://github.com/brenokcc
6
6
  Author: Breno Silva
@@ -4,7 +4,7 @@ install_requires = []
4
4
 
5
5
  setup(
6
6
  name='slthcore',
7
- version='0.6.9',
7
+ version='0.7.0',
8
8
  packages=find_packages(),
9
9
  install_requires=install_requires,
10
10
  include_package_data=True,
@@ -33,11 +33,12 @@ class Image(dict):
33
33
 
34
34
 
35
35
  class FileLink(dict):
36
- def __init__(self, url, modal=False, icon=None):
36
+ def __init__(self, url, modal=False, icon=None, callback=None):
37
37
  self["type"] = "filelink"
38
38
  self["url"] = url
39
39
  self["modal"] = modal
40
40
  self["icon"] = icon
41
+ self["callback"] = callback
41
42
 
42
43
 
43
44
  class FileViewer(dict):
@@ -106,7 +106,7 @@ import{j as t,r as I,c as Y,R as Re}from"./react.min.js";const T={colors:{primar
106
106
  text-wrap: nowrap;
107
107
  }
108
108
  `);function s(){return a?u||!i?t.jsx(k,{icon:a}):t.jsxs(t.Fragment,{children:[t.jsx(Fe,{style:{marginRight:10,display:"none"}}),t.jsx(k,{icon:a,style:{marginRight:10}}),i||""]}):i}function c(){const d={display:r||"block"};return o?(d.backgroundColor="var(--primary-background)",d.color=d.color="var(--default-background)"):(d.border="solid 1px var(--primary-color)",d.color="var(--primary-color)"),t.jsx("a",{id:e,className:"button",style:d,"data-label":N(i||a),onClick:h=>{h.preventDefault(),a&&l&&(h.target.dataset.spinning=a,h.target.querySelector("i.fa-spin").style.display="inline-block",h.target.querySelector("i.fa-"+a).style.display="none"),n(h)},children:s()})}return c()}function st(e){return I.useEffect(()=>{e.data.autoreload&&setTimeout(window.reload,e.data.autoreload)},[]),t.jsx("div",{dangerouslySetInnerHTML:{__html:e.data.content}})}function ct(e){return t.jsx("img",{src:e.data.src,style:{width:"100%",height:"200px",objectFit:"cover"}})}function ut(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 ht(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 mt(e){function n(o){return e.data.icon?o.done?t.jsx(k,{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 "+T.colors.primary,borderRadius:"50%",background:o.done?T.colors.primary:"white",color:o.done?"white":T.colors.primary,textAlign:"center",width:50,height:50,margin:"auto",fontSize:"1.5rem"}}function i(o){return{listStyleType:"none",display:"flex",justifyContent:"center",minWidth:o.length*100}}function r(){const o={width:"100%",margin:"auto",overflowX:"auto","&::WebkitScrollbar":{width:0}},u={width:100,marginWidth:100,textAlign:"center"},l={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:i(e.data.steps),children:e.data.steps.map((s,c)=>t.jsxs("li",{style:u,children:[t.jsx("div",{style:a(s),children:n(s)}),c<e.data.steps.length-1&&t.jsx("div",{style:l}),t.jsx("div",{children:s.name})]},Math.random()))})})})}return r()}function ft(e){function n(){const a={display:"inline-block",width:"100%",backgroundColor:"#DDD",borderRadius:5,marginTop:5},i={marginLeft:10},r={display:"block",paddingTop:2,paddingBottom:2,color:"white",borderRadius:5,width:e.data.value+"%",backgroundColor:T.colors[e.data.style]};return t.jsx("span",{style:a,children:t.jsx("span",{style:r,children:t.jsxs("span",{style:i,children:[e.data.value,"%"]})})})}return n()}function gt(e){function n(){return e.data.color=T.colors[e.data.style],t.jsx(Le,{data:e.data})}return n()}function Le(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",marginRight:5,lineHeight:"1rem"};return t.jsxs("div",{style:a,children:[e.data.icon&&t.jsx(k,{icon:e.data.icon,style:{marginRight:5}}),e.data.label]})}return n()}function xt(e){function n(){const a={padding:20,marginLeft:-20,marginRight:-20,textAlign:"center",backgroundColor:"var(--auxiliary-background)"},i={padding:20,display:"inline-flex",flexDirection:"column",width:250,height:250,backgroundColor:"var(--default-background)",margin:10,textDecoration:"none"},r={marginTop:30,fontSize:"3rem",color:T.colors.auxiliary},o={marginTop:40,fontWeight:"bold",fontSize:"1.2rem",textTransform:"uppercase",height:70,color:T.colors.primary};return e.data.items.length?t.jsxs("div",{style:a,children:[e.data.title&&t.jsx("h2",{"data-label":N(e.data.title),style:{color:T.colors.primary},children:e.data.title}),t.jsx("div",{children:e.data.items.map(u=>t.jsxs(P,{href:u.url,style:i,dataLabel:u.label,children:[t.jsx("div",{children:t.jsx(k,{style:r,icon:u.icon})}),t.jsx("div",{style:o,children:u.label})]},Math.random()))})]}):null}return n()}function yt(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(`
109
- `).map(a=>t.jsx("div",{children:a},Math.random()))})}return n()}function bt(e){function n(){return e.data.url?t.jsx("div",{style:{maxWidth:"100%"},children:t.jsx(P,{href:e.data.url,imodal:!!e.data.modal,children:e.data.icon?t.jsx(k,{icon:e.data.icon}):e.data.url})}):t.jsx("span",{children:"-"})}return n()}function vt(e){function n(){return t.jsx("iframe",{src:e.data.url,width:"100%",height:500,style:{border:0}})}return n()}function pt(e){const n=Math.random();I.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 wt(e){function n(){const a={color:"white",backgroundColor:T.colors.highlight,margin:-20,textAlign:"center",paddingTop:20,paddingBottom:70},i={fontSize:"4rem",fontWeight:"bold",marginTop:25},r={fontSize:"1.2rem",maxWidth:200,margin:"auto"};if(e.data)return t.jsxs("div",{className:"indicators",style:a,children:[t.jsx("h1",{"data-label":N(e.data.title),children:e.data.title}),t.jsx(X,{width:300,children:e.data.items.map(o=>t.jsxs("div",{children:[t.jsx("div",{style:i,children:V(o.value)}),t.jsx("div",{style:r,children:o.name})]},Math.random()))},Math.random()),t.jsx("div",{className:"actions",children:e.data.actions.map(o=>t.jsx(P,{href:H(o.url),label:o.label,modal:o.modal,children:o.label},Math.random()))})]})}return n()}function jt(e){function n(){return t.jsx(X,{width:400,children:e.data.items.map((a,i)=>t.jsx("div",{children:t.jsx(y,{data:a})},Math.random()))})}return n()}function kt(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:"var(--primary-color)"},children:e.data.value})]})}return n()}function Ae(e){const n=Math.random();var a=!1;const i="rgb(219, 237, 255)",r="rgb(89, 154, 242)",o="rgb(246, 123, 135)",u="rgb(92, 160, 93)",l=[],s=[],c=["DOM","SEG","TER","QUA","QUI","SEX","SAB"],[d,h]=I.useState(e.data),[m,g]=I.useState(1);_(`
109
+ `).map(a=>t.jsx("div",{children:a},Math.random()))})}return n()}function bt(e){function n(){e.data.callback&&O("GET",e.data.callback,function(){})}function a(){return e.data.url?t.jsx("div",{style:{maxWidth:"100%"},children:t.jsx(P,{href:e.data.url,imodal:!!e.data.modal,children:e.data.icon?t.jsx(k,{onClick:n,icon:e.data.icon}):e.data.url})}):t.jsx("span",{children:"-"})}return a()}function vt(e){function n(){return t.jsx("iframe",{src:e.data.url,width:"100%",height:500,style:{border:0}})}return n()}function pt(e){const n=Math.random();I.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 wt(e){function n(){const a={color:"white",backgroundColor:T.colors.highlight,margin:-20,textAlign:"center",paddingTop:20,paddingBottom:70},i={fontSize:"4rem",fontWeight:"bold",marginTop:25},r={fontSize:"1.2rem",maxWidth:200,margin:"auto"};if(e.data)return t.jsxs("div",{className:"indicators",style:a,children:[t.jsx("h1",{"data-label":N(e.data.title),children:e.data.title}),t.jsx(X,{width:300,children:e.data.items.map(o=>t.jsxs("div",{children:[t.jsx("div",{style:i,children:V(o.value)}),t.jsx("div",{style:r,children:o.name})]},Math.random()))},Math.random()),t.jsx("div",{className:"actions",children:e.data.actions.map(o=>t.jsx(P,{href:H(o.url),label:o.label,modal:o.modal,children:o.label},Math.random()))})]})}return n()}function jt(e){function n(){return t.jsx(X,{width:400,children:e.data.items.map((a,i)=>t.jsx("div",{children:t.jsx(y,{data:a})},Math.random()))})}return n()}function kt(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:"var(--primary-color)"},children:e.data.value})]})}return n()}function Ae(e){const n=Math.random();var a=!1;const i="rgb(219, 237, 255)",r="rgb(89, 154, 242)",o="rgb(246, 123, 135)",u="rgb(92, 160, 93)",l=[],s=[],c=["DOM","SEG","TER","QUA","QUI","SEX","SAB"],[d,h]=I.useState(e.data),[m,g]=I.useState(1);_(`
110
110
  .scheduler{
111
111
  width: 100%;
112
112
  max-width: 100%;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: slthcore
3
- Version: 0.6.9
3
+ Version: 0.7.0
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes