@cronapp/templates 3.2.1 → 4.0.0

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 (120) hide show
  1. package/file/blockly/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
  2. package/file/blockly/JavaBlocklyAI/java.svg +21 -0
  3. package/file/blockly/JavaBlocklyAI/template.properties +21 -0
  4. package/file/blockly/JavaBlocklyAI/template_pt_BR.properties +7 -0
  5. package/file/blockly/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
  6. package/file/blockly/JavaScriptBlocklyAI/javascript.svg +21 -0
  7. package/file/blockly/JavaScriptBlocklyAI/template.properties +12 -0
  8. package/file/blockly/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
  9. package/file/java/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
  10. package/file/java/JavaBlocklyAI/java.svg +21 -0
  11. package/file/java/JavaBlocklyAI/template.properties +20 -0
  12. package/file/java/JavaBlocklyAI/template_pt_BR.properties +7 -0
  13. package/file/js/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
  14. package/file/js/JavaScriptBlocklyAI/javascript.svg +21 -0
  15. package/file/js/JavaScriptBlocklyAI/template.properties +11 -0
  16. package/file/js/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
  17. package/file/report/Blank/Blank.png +0 -0
  18. package/file/report/Blank/__FileName__.report.ftl +0 -0
  19. package/file/report/CrossTabWithDetailing/CrossTabWithDetailing.png +0 -0
  20. package/file/report/CrossTabWithDetailing/__FileName__.report.ftl +0 -0
  21. package/file/report/Indicators/Indicators.png +0 -0
  22. package/file/report/Indicators/__FileName__.report.ftl +0 -0
  23. package/file/report/InsuranceWithSelectingCountry/InsuranceWithSelectingCountry.png +0 -0
  24. package/file/report/InsuranceWithSelectingCountry/__FileName__.report.ftl +0 -0
  25. package/file/report/InvoiceQuotation/InvoiceQuotation.png +0 -0
  26. package/file/report/InvoiceQuotation/__FileName__.report.ftl +0 -0
  27. package/file/report/InvoiceSoftware/InvoiceSoftware.png +0 -0
  28. package/file/report/InvoiceSoftware/__FileName__.report.ftl +0 -0
  29. package/file/report/Labels/Labels.png +0 -0
  30. package/file/report/Labels/__FileName__.report.ftl +0 -0
  31. package/file/report/MasterDetail/MasterDetail.png +0 -0
  32. package/file/report/MasterDetail/__FileName__.report.ftl +0 -0
  33. package/file/report/MultiColumnList/MultiColumnList.png +0 -0
  34. package/file/report/MultiColumnList/__FileName__.report.ftl +0 -0
  35. package/file/report/PurchaseOrder/PurchaseOrder.png +0 -0
  36. package/file/report/PurchaseOrder/__FileName__.report.ftl +0 -0
  37. package/file/report/SimpleGroup/SimpleGroup.png +0 -0
  38. package/file/report/SimpleGroup/__FileName__.report.ftl +0 -0
  39. package/file/report/Tree/Tree.png +0 -0
  40. package/file/report/Tree/__FileName__.report.ftl +0 -0
  41. package/file/report/TreeWithHeadersAndFooters/TreeWithHeadersAndFooters.png +0 -0
  42. package/file/report/TreeWithHeadersAndFooters/__FileName__.report.ftl +0 -0
  43. package/file/report/TwoMastersOnOneDetail/TwoMastersOnOneDetail.png +0 -0
  44. package/file/report/TwoMastersOnOneDetail/__FileName__.report.ftl +0 -0
  45. package/file/view.html/Login1ViewHtml/__FileName__.view.html.ftl +6 -6
  46. package/file/view.html/Login2ViewHtml/__FileName__.view.html.ftl +6 -6
  47. package/package-lock.json +5 -0
  48. package/package.json +2 -2
  49. package/project/C/Aplicacao Vazia/config/context.xml.ftl +2 -2
  50. package/project/C/Aplicacao com CRUD/config/context.xml.ftl +2 -2
  51. package/project/C/cronos/config/context.xml.ftl +2 -2
  52. package/project/L/report-custom/template.properties +0 -0
  53. package/project/L/report-custom/template_pt_BR.properties +0 -0
  54. package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +2 -2
  55. package/project/M/cronapp-rad-project-mobile-cordova/src/__copydata.ftl +7 -0
  56. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__linksInherit +3 -0
  57. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/components/.gitkeep +0 -0
  58. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +6 -6
  59. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/assets/.gitkeep +0 -0
  60. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/components/.gitkeep +0 -0
  61. package/project/M/cronapp-rad-project-mobile-cordova/src/test/java/blockly/.gitkeep +0 -0
  62. package/project/M/cronapp-rad-project-mobile-cordova/template.properties +3 -3
  63. package/project/M/cronapp-rad-project-mobile-cordova/template_en_US.properties +2 -2
  64. package/project/S/business-service/README.md +0 -0
  65. package/project/S/business-service/template.properties +0 -0
  66. package/project/S/business-service/template_en_US.properties +0 -0
  67. package/project/S/business-service/template_pt_BR.properties +0 -0
  68. package/project/S/data-service/README.md +0 -0
  69. package/project/S/data-service/config/context.xml.ftl +2 -2
  70. package/project/S/data-service/src/main/java/META-INF/persistence.xml.ftl +1 -1
  71. package/project/S/data-service/src/main/java/app/dao/SampleDAO.java +2 -5
  72. package/project/S/data-service/src/main/java/app/entity/Sample.java +4 -5
  73. package/project/S/data-service/template.properties +0 -0
  74. package/project/S/data-service/template_en_US.properties +0 -0
  75. package/project/S/data-service/template_pt_BR.properties +0 -0
  76. package/project/W/cronapp-rad-project/README.md +0 -0
  77. package/project/W/cronapp-rad-project/config/context.xml.ftl +2 -2
  78. package/project/W/cronapp-rad-project/diagram/app.umlcd +1 -1
  79. package/project/W/cronapp-rad-project/spring-boot.png +0 -0
  80. package/project/W/cronapp-rad-project/src/main/java/META-INF/persistence.xml.ftl +2 -8
  81. package/project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl +2 -8
  82. package/project/W/cronapp-rad-project/src/main/java/__copydata.ftl +4 -0
  83. package/project/W/cronapp-rad-project/src/main/java/app/entity/Application.java +3 -3
  84. package/project/W/cronapp-rad-project/src/main/java/app/entity/ApplicationUser.java +3 -3
  85. package/project/W/cronapp-rad-project/src/main/java/app/entity/AuditLog.java +3 -3
  86. package/project/W/cronapp-rad-project/src/main/java/app/entity/Device.java +3 -3
  87. package/project/W/cronapp-rad-project/src/main/java/app/entity/InvalidatedToken.java +3 -3
  88. package/project/W/cronapp-rad-project/src/main/java/app/entity/Login.java +3 -3
  89. package/project/W/cronapp-rad-project/src/main/java/app/entity/Role.java +3 -3
  90. package/project/W/cronapp-rad-project/src/main/java/app/entity/RoleSecurable.java +3 -3
  91. package/project/W/cronapp-rad-project/src/main/java/app/entity/Securable.java +3 -3
  92. package/project/W/cronapp-rad-project/src/main/java/app/entity/User.java +3 -3
  93. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserRole.java +3 -3
  94. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserSecurable.java +3 -3
  95. package/project/W/cronapp-rad-project/src/main/java/app/entity/View.java +3 -3
  96. package/project/W/cronapp-rad-project/src/main/java/dashboards/.gitkeep +0 -0
  97. package/project/W/cronapp-rad-project/src/main/java/reports/.gitkeep +0 -0
  98. package/project/W/cronapp-rad-project/src/main/resources/__copydata.ftl +3 -1
  99. package/project/W/cronapp-rad-project/src/main/resources/application.properties.ftl +1 -1
  100. package/project/W/cronapp-rad-project/src/main/resources/assets/.gitkeep +0 -0
  101. package/project/W/cronapp-rad-project/src/main/resources/bpm/.gitkeep +0 -0
  102. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/components/.gitkeep +0 -0
  103. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/index.html.ftl +41 -62
  104. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/user.view.html +2 -2
  105. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +6 -6
  106. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/components/.gitkeep +0 -0
  107. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/index.html.ftl +42 -51
  108. package/project/W/cronapp-rad-project/src/test/java/blockly/.gitkeep +0 -0
  109. package/project/W/cronapp-rad-project/template.properties +1 -4
  110. package/project/W/cronapp-rad-project/template_en_US.properties +2 -4
  111. package/project/W/cronapp-rad-project/template_pt_BR.properties +3 -5
  112. package/templates/low-code/data-layer/ENTITIES.ftl +6 -6
  113. package/templates/low-code/data-layer/ENTITIESPK.ftl +2 -2
  114. package/templates/low-code/data-layer/SpringBootMain.java.ftl +2 -7
  115. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/clean_dependencies.js +0 -3
  116. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package-lock.json +0 -187
  117. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package.json +0 -14
  118. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/clean_dependencies.js +0 -3
  119. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package-lock.json +0 -187
  120. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package.json +0 -14
@@ -0,0 +1,23 @@
1
+ <#if PackageName?has_content && (PackageName?length > 0) >
2
+ package ${PackageName};
3
+ </#if>
4
+
5
+ import cronapi.CronapiMetaData;
6
+ import cronapi.Utils;
7
+ import cronapi.Var;
8
+ import cronapi.CronapiMetaData.CategoryType;
9
+ import cronapi.CronapiMetaData.ObjectType;
10
+ import cronapi.ParamMetaData;
11
+ import cronapi.rest.security.CronappSecurity;
12
+
13
+
14
+ /**
15
+ * @author ${UserName}
16
+ * @version 1.0
17
+ * @since ${.now?string("yyyy-MM-dd")}
18
+ *
19
+ */
20
+
21
+ ${GeneratedCode}
22
+
23
+
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <!-- Creator: CorelDRAW -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1"
5
+ style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
6
+ viewBox="0 0 438.94 461.07"
7
+ width="16" height="16"
8
+ xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <defs>
10
+ <style type="text/css">
11
+ <![CDATA[
12
+ .fil0 {fill:#6633FF;fill-rule:nonzero}
13
+ ]]>
14
+ </style>
15
+ </defs>
16
+ <g>
17
+ <metadata/>
18
+ <path class="fil0"
19
+ d="M435.93 193.25c-7.28,-44.86 -27.51,-85.39 -56.74,-117.59 -41.31,-45.52 -100.56,-74.46 -166.6,-75.62 -1.38,-0.03 -2.77,-0.04 -4.17,-0.04l-187.22 0 0 160.8 75.67 0 0 -85.13 115.73 0 0 0.05c70.83,1.89 129.82,51.32 146.16,117.54 2.97,11.94 4.53,24.42 4.53,37.27 0,13.26 -1.67,26.12 -4.8,38.41 -16.74,65.66 -75.46,114.55 -145.89,116.43l0 0.04 -131.42 0 0 -21.34c0,-52.54 42.59,-95.14 95.14,-95.14l36.28 0 0 33.96 34.95 -33.96 40.12 -39 -38.06 -36.68 -37.01 -35.66 0 35.66 31.06 0 0 0 -115.4 0c-167.84,37.28 -122.74,267.82 -122.74,267.82l202.91 0c1.4,0 2.79,-0.01 4.17,-0.05 66.03,-1.16 125.28,-30.1 166.6,-75.62 28.98,-31.94 49.13,-72.04 56.57,-116.47 2.1,-12.48 3.19,-25.32 3.19,-38.41 0,-12.69 -1.03,-25.14 -3.01,-37.27z"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,21 @@
1
+ icon=java.svg
2
+ name=New Java Blockly (Using Diana AI Assistant)
3
+ encoding=UTF-8
4
+ underFolders=src
5
+ aiTemplate=true
6
+ parameter.string.1.ClassName=Class Name
7
+ parameter.string.1.ClassName.value=MyClass
8
+ parameter.string.2.CategoryName=Category Name
9
+ parameter.string.2.CategoryName.value=AI Custom Actions
10
+ parameter.text.3.Prompt=Prompt
11
+ parameter.text.3.Prompt.value=Create a new Java function to validate Brazilian CPF
12
+ parameter.hidden.dependencies=[org.apache.commons:commons-lang3, \
13
+ commons-io:commons-io, \
14
+ org.apache.httpcomponents.client5:httpclient5, \
15
+ org.apache.httpcomponents.core5:httpcore5, \
16
+ org.json:json, \
17
+ org.junit.jupiter:junit-jupiter-api, \
18
+ org.junit.jupiter:junit-jupiter-engine, \
19
+ org.assertj:assertj-core, \
20
+ com.fasterxml.jackson.dataformat:jackson-dataformat-xml, \
21
+ com.google.code.gson:gson]
@@ -0,0 +1,7 @@
1
+ name=Novo Bloco de Programação Java (Utilizando a Diana AI Assistant)
2
+ parameter.string.1.ClassName=Nome da Classe
3
+ parameter.string.1.ClassName.value=MinhaClasse
4
+ parameter.string.2.CategoryName=Nome da Categoria
5
+ parameter.string.2.CategoryName.value=AI Custom Actions
6
+ parameter.text.2.Prompt=Prompt
7
+ parameter.text.2.Prompt.value=Crie uma nova função Java para validar CPF
@@ -0,0 +1,6 @@
1
+ (function() {
2
+ 'use strict';
3
+
4
+ ${GeneratedCode}
5
+
6
+ }).bind(window)();
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <!-- Creator: CorelDRAW -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1"
5
+ style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
6
+ viewBox="0 0 438.94 461.07"
7
+ width="16" height="16"
8
+ xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <defs>
10
+ <style type="text/css">
11
+ <![CDATA[
12
+ .fil0 {fill:#6633FF;fill-rule:nonzero}
13
+ ]]>
14
+ </style>
15
+ </defs>
16
+ <g>
17
+ <metadata/>
18
+ <path class="fil0"
19
+ d="M435.93 193.25c-7.28,-44.86 -27.51,-85.39 -56.74,-117.59 -41.31,-45.52 -100.56,-74.46 -166.6,-75.62 -1.38,-0.03 -2.77,-0.04 -4.17,-0.04l-187.22 0 0 160.8 75.67 0 0 -85.13 115.73 0 0 0.05c70.83,1.89 129.82,51.32 146.16,117.54 2.97,11.94 4.53,24.42 4.53,37.27 0,13.26 -1.67,26.12 -4.8,38.41 -16.74,65.66 -75.46,114.55 -145.89,116.43l0 0.04 -131.42 0 0 -21.34c0,-52.54 42.59,-95.14 95.14,-95.14l36.28 0 0 33.96 34.95 -33.96 40.12 -39 -38.06 -36.68 -37.01 -35.66 0 35.66 31.06 0 0 0 -115.4 0c-167.84,37.28 -122.74,267.82 -122.74,267.82l202.91 0c1.4,0 2.79,-0.01 4.17,-0.05 66.03,-1.16 125.28,-30.1 166.6,-75.62 28.98,-31.94 49.13,-72.04 56.57,-116.47 2.1,-12.48 3.19,-25.32 3.19,-38.41 0,-12.69 -1.03,-25.14 -3.01,-37.27z"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,12 @@
1
+ icon=javascript.svg
2
+ name=New Javascript Blockly (Using Diana AI Assistant)
3
+ encoding=UTF-8
4
+ underFolders=webapp,mobileapp
5
+ aiTemplate=true
6
+ parameter.string.1.ClassName=Class Name
7
+ parameter.string.1.ClassName.value=ClassName
8
+ parameter.string.2.CategoryName=Category Name
9
+ parameter.string.2.CategoryName.value=AI Custom Actions
10
+ parameter.text.3.Prompt=Prompt
11
+ parameter.text.3.Prompt.value=Create a new Javascript function to validate Brazilian CPF
12
+ parameter.hidden.dependencies=[jquery, moment]
@@ -0,0 +1,7 @@
1
+ name=Novo Bloco de Programação Javascript (Utilizando a Diana AI Assistant)
2
+ parameter.string.1.ClassName=Nome da Classe
3
+ parameter.string.1.ClassName.value=NomeDaClasse
4
+ parameter.string.2.CategoryName=Nome da Categoria
5
+ parameter.string.2.CategoryName.value=AI Custom Actions
6
+ parameter.text.3.Prompt=Prompt
7
+ parameter.text.3.Prompt.value=Crie uma nova função Javascript para validar CPF
@@ -0,0 +1,23 @@
1
+ <#if PackageName?has_content && (PackageName?length > 0) >
2
+ package ${PackageName};
3
+ </#if>
4
+
5
+ import cronapi.CronapiMetaData;
6
+ import cronapi.Utils;
7
+ import cronapi.Var;
8
+ import cronapi.CronapiMetaData.CategoryType;
9
+ import cronapi.CronapiMetaData.ObjectType;
10
+ import cronapi.ParamMetaData;
11
+ import cronapi.rest.security.CronappSecurity;
12
+
13
+
14
+ /**
15
+ * @author ${UserName}
16
+ * @version 1.0
17
+ * @since ${.now?string("yyyy-MM-dd")}
18
+ *
19
+ */
20
+
21
+ ${GeneratedCode}
22
+
23
+
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <!-- Creator: CorelDRAW -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1"
5
+ style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
6
+ viewBox="0 0 438.94 461.07"
7
+ width="16" height="16"
8
+ xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <defs>
10
+ <style type="text/css">
11
+ <![CDATA[
12
+ .fil0 {fill:#6633FF;fill-rule:nonzero}
13
+ ]]>
14
+ </style>
15
+ </defs>
16
+ <g>
17
+ <metadata/>
18
+ <path class="fil0"
19
+ d="M435.93 193.25c-7.28,-44.86 -27.51,-85.39 -56.74,-117.59 -41.31,-45.52 -100.56,-74.46 -166.6,-75.62 -1.38,-0.03 -2.77,-0.04 -4.17,-0.04l-187.22 0 0 160.8 75.67 0 0 -85.13 115.73 0 0 0.05c70.83,1.89 129.82,51.32 146.16,117.54 2.97,11.94 4.53,24.42 4.53,37.27 0,13.26 -1.67,26.12 -4.8,38.41 -16.74,65.66 -75.46,114.55 -145.89,116.43l0 0.04 -131.42 0 0 -21.34c0,-52.54 42.59,-95.14 95.14,-95.14l36.28 0 0 33.96 34.95 -33.96 40.12 -39 -38.06 -36.68 -37.01 -35.66 0 35.66 31.06 0 0 0 -115.4 0c-167.84,37.28 -122.74,267.82 -122.74,267.82l202.91 0c1.4,0 2.79,-0.01 4.17,-0.05 66.03,-1.16 125.28,-30.1 166.6,-75.62 28.98,-31.94 49.13,-72.04 56.57,-116.47 2.1,-12.48 3.19,-25.32 3.19,-38.41 0,-12.69 -1.03,-25.14 -3.01,-37.27z"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,20 @@
1
+ icon=java.svg
2
+ name=New Java Blockly (Using Diana AI Assistant)
3
+ encoding=UTF-8
4
+ aiTemplate=true
5
+ parameter.string.1.ClassName=Class Name
6
+ parameter.string.1.ClassName.value=MyClass
7
+ parameter.string.2.CategoryName=Category Name
8
+ parameter.string.2.CategoryName.value=AI Custom Actions
9
+ parameter.text.3.Prompt=Prompt
10
+ parameter.text.3.Prompt.value=Create a new Java function to validate Brazilian CPF
11
+ parameter.hidden.dependencies=[org.apache.commons:commons-lang3, \
12
+ commons-io:commons-io, \
13
+ org.apache.httpcomponents.client5:httpclient5, \
14
+ org.apache.httpcomponents.core5:httpcore5, \
15
+ org.json:json, \
16
+ org.junit.jupiter:junit-jupiter-api, \
17
+ org.junit.jupiter:junit-jupiter-engine, \
18
+ org.assertj:assertj-core, \
19
+ com.fasterxml.jackson.dataformat:jackson-dataformat-xml, \
20
+ com.google.code.gson:gson]
@@ -0,0 +1,7 @@
1
+ name=Novo Bloco de Programação Java (Utilizando a Diana AI Assistant)
2
+ parameter.string.1.ClassName=Nome da Classe
3
+ parameter.string.1.ClassName.value=MinhaClasse
4
+ parameter.string.2.CategoryName=Nome da Categoria
5
+ parameter.string.2.CategoryName.value=AI Custom Actions
6
+ parameter.text.2.Prompt=Prompt
7
+ parameter.text.2.Prompt.value=Crie uma nova função Java para validar CPF
@@ -0,0 +1,6 @@
1
+ (function() {
2
+ 'use strict';
3
+
4
+ ${GeneratedCode}
5
+
6
+ }).bind(window)();
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <!-- Creator: CorelDRAW -->
4
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1"
5
+ style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
6
+ viewBox="0 0 438.94 461.07"
7
+ width="16" height="16"
8
+ xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <defs>
10
+ <style type="text/css">
11
+ <![CDATA[
12
+ .fil0 {fill:#6633FF;fill-rule:nonzero}
13
+ ]]>
14
+ </style>
15
+ </defs>
16
+ <g>
17
+ <metadata/>
18
+ <path class="fil0"
19
+ d="M435.93 193.25c-7.28,-44.86 -27.51,-85.39 -56.74,-117.59 -41.31,-45.52 -100.56,-74.46 -166.6,-75.62 -1.38,-0.03 -2.77,-0.04 -4.17,-0.04l-187.22 0 0 160.8 75.67 0 0 -85.13 115.73 0 0 0.05c70.83,1.89 129.82,51.32 146.16,117.54 2.97,11.94 4.53,24.42 4.53,37.27 0,13.26 -1.67,26.12 -4.8,38.41 -16.74,65.66 -75.46,114.55 -145.89,116.43l0 0.04 -131.42 0 0 -21.34c0,-52.54 42.59,-95.14 95.14,-95.14l36.28 0 0 33.96 34.95 -33.96 40.12 -39 -38.06 -36.68 -37.01 -35.66 0 35.66 31.06 0 0 0 -115.4 0c-167.84,37.28 -122.74,267.82 -122.74,267.82l202.91 0c1.4,0 2.79,-0.01 4.17,-0.05 66.03,-1.16 125.28,-30.1 166.6,-75.62 28.98,-31.94 49.13,-72.04 56.57,-116.47 2.1,-12.48 3.19,-25.32 3.19,-38.41 0,-12.69 -1.03,-25.14 -3.01,-37.27z"/>
20
+ </g>
21
+ </svg>
@@ -0,0 +1,11 @@
1
+ icon=javascript.svg
2
+ name=New Javascript Blockly (Using Diana AI Assistant)
3
+ encoding=UTF-8
4
+ aiTemplate=true
5
+ parameter.string.1.ClassName=Class Name
6
+ parameter.string.1.ClassName.value=ClassName
7
+ parameter.string.2.CategoryName=Category Name
8
+ parameter.string.2.CategoryName.value=AI Custom Actions
9
+ parameter.text.3.Prompt=Prompt
10
+ parameter.text.3.Prompt.value=Create a new Javascript function to validate Brazilian CPF
11
+ parameter.hidden.dependencies=[jquery, moment]
@@ -0,0 +1,7 @@
1
+ name=Novo Bloco de Programação Javascript (Utilizando a Diana AI Assistant)
2
+ parameter.string.1.ClassName=Nome da Classe
3
+ parameter.string.1.ClassName.value=NomeDaClasse
4
+ parameter.string.2.CategoryName=Nome da Categoria
5
+ parameter.string.2.CategoryName.value=AI Custom Actions
6
+ parameter.text.3.Prompt=Prompt
7
+ parameter.text.3.Prompt.value=Crie uma nova função Javascript para validar CPF
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
@@ -66,7 +66,7 @@
66
66
  <div class="component-holder ng-binding ng-scope" data-component="crn-social-login" id="crn-social-login-01">
67
67
  <ul class="list-inline text-left">
68
68
  <li data-container="true">
69
- <form action="/signin/facebook" method="POST" id="facebook">
69
+ <form action="/oauth2/authorization/facebook" method="GET" id="facebook">
70
70
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
71
71
  <input type="hidden" name="scope" value="email,public_profile">
72
72
  <a title="Facebook" role="button" onclick="document.getElementById('facebook').submit()">
@@ -77,7 +77,7 @@
77
77
  </form>
78
78
  </li>
79
79
  <li data-container="true">
80
- <form action="/signin/github" method="POST" id="github">
80
+ <form action="/oauth2/authorization/github" method="GET" id="github">
81
81
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
82
82
  <input type="hidden" name="scope" value="email,public_profile">
83
83
  <a title="GitHub" role="button" onclick="document.getElementById('github').submit()">
@@ -88,7 +88,7 @@
88
88
  </form>
89
89
  </li>
90
90
  <li data-container="true">
91
- <form action="/signin/linkedin" method="POST" id="linkedin">
91
+ <form action="/oauth2/authorization/linkedin" method="GET" id="linkedin">
92
92
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
93
93
  <input type="hidden" name="scope" value="r_emailaddress">
94
94
  <a title="LinkedIn" role="button" onclick="document.getElementById('linkedin').submit()">
@@ -99,7 +99,7 @@
99
99
  </form>
100
100
  </li>
101
101
  <li data-container="true">
102
- <form action="/signin/google" method="POST" id="google">
102
+ <form action="/oauth2/authorization/google" method="GET" id="google">
103
103
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
104
104
  <input type="hidden" name="scope" value="email">
105
105
  <a title="Google" role="button" onclick="document.getElementById('google').submit()">
@@ -110,7 +110,7 @@
110
110
  </form>
111
111
  </li>
112
112
  <li data-container="true">
113
- <form action="/signin/cronapp" method="POST" id="cronapp">
113
+ <form action="/oauth2/authorization/cronapp" method="GET" id="cronapp">
114
114
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
115
115
  <input type="hidden" name="scope" value="email">
116
116
  <a title="CronApp" role="button" onclick="document.getElementById('cronapp').submit()">
@@ -190,4 +190,4 @@
190
190
  </div>
191
191
  </div>
192
192
 
193
- <div ng-include="'./views/public/privacy/cookies.view.html'"></div>
193
+ <div ng-include="'./views/public/privacy/cookies.view.html'"></div>
@@ -71,7 +71,7 @@
71
71
  <div class="component-holder ng-binding ng-scope" data-component="crn-social-login" id="crn-social-login-01">
72
72
  <ul class="list-inline text-left">
73
73
  <li data-container="true">
74
- <form action="/signin/facebook" method="POST" id="facebook">
74
+ <form action="/oauth2/authorization/facebook" method="GET" id="facebook">
75
75
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
76
76
  <input type="hidden" name="scope" value="email,public_profile">
77
77
  <a title="Facebook" role="button" onclick="document.getElementById('facebook').submit()">
@@ -82,7 +82,7 @@
82
82
  </form>
83
83
  </li>
84
84
  <li data-container="true">
85
- <form action="/signin/github" method="POST" id="github">
85
+ <form action="/oauth2/authorization/github" method="GET" id="github">
86
86
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
87
87
  <input type="hidden" name="scope" value="email,public_profile">
88
88
  <a title="GitHub" role="button" onclick="document.getElementById('github').submit()">
@@ -93,7 +93,7 @@
93
93
  </form>
94
94
  </li>
95
95
  <li data-container="true">
96
- <form action="/signin/linkedin" method="POST" id="linkedin">
96
+ <form action="/oauth2/authorization/linkedin" method="GET" id="linkedin">
97
97
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
98
98
  <input type="hidden" name="scope" value="r_emailaddress">
99
99
  <a title="LinkedIn" role="button" onclick="document.getElementById('linkedin').submit()">
@@ -104,7 +104,7 @@
104
104
  </form>
105
105
  </li>
106
106
  <li data-container="true">
107
- <form action="/signin/google" method="POST" id="google">
107
+ <form action="/oauth2/authorization/google" method="GET" id="google">
108
108
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
109
109
  <input type="hidden" name="scope" value="email">
110
110
  <a title="Google" role="button" onclick="document.getElementById('google').submit()">
@@ -115,7 +115,7 @@
115
115
  </form>
116
116
  </li>
117
117
  <li data-container="true">
118
- <form action="/signin/cronapp" method="POST" id="cronapp">
118
+ <form action="/oauth2/authorization/cronapp" method="GET" id="cronapp">
119
119
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
120
120
  <input type="hidden" name="scope" value="email">
121
121
  <a title="CronApp" role="button" onclick="document.getElementById('cronapp').submit()">
@@ -197,4 +197,4 @@
197
197
  </div>
198
198
  </div>
199
199
 
200
- <div ng-include="'./views/public/privacy/cookies.view.html'"></div>
200
+ <div ng-include="'./views/public/privacy/cookies.view.html'"></div>
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@cronapp/templates",
3
+ "version": "4.0.0-SNAPSHOT.20240819094216",
4
+ "lockfileVersion": 1
5
+ }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@cronapp/templates",
3
- "version": "3.2.1",
3
+ "version": "4.0.0",
4
4
  "cronapp-ide-minimum-version": "2.5.0"
5
- }
5
+ }
@@ -10,14 +10,14 @@
10
10
  removeAbandoned="true"
11
11
  removeAbandonedTimeout="60"
12
12
  type="javax.sql.DataSource"
13
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
13
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
14
14
  username="sa"/>
15
15
 
16
16
  <Resource driverClassName="org.h2.Driver"
17
17
  logAbandoned="true" name="jdbc/template" password=""
18
18
  removeAbandoned="true"
19
19
  removeAbandonedTimeout="60" type="javax.sql.DataSource"
20
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/template;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
20
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/template;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
21
21
  username="sa"/>
22
22
 
23
23
  <!-- debug options - DEVE SER REMOVIDO EM PRODUcãO -->
@@ -10,14 +10,14 @@
10
10
  removeAbandoned="true"
11
11
  removeAbandonedTimeout="60"
12
12
  type="javax.sql.DataSource"
13
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
13
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
14
14
  username="sa"/>
15
15
 
16
16
  <Resource driverClassName="org.h2.Driver"
17
17
  logAbandoned="true" name="jdbc/template" password=""
18
18
  removeAbandoned="true"
19
19
  removeAbandonedTimeout="60" type="javax.sql.DataSource"
20
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/template;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
20
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/template;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
21
21
  username="sa"/>
22
22
 
23
23
  <!-- debug options - DEVE SER REMOVIDO EM PRODUcãO -->
@@ -10,14 +10,14 @@
10
10
  removeAbandoned="true"
11
11
  removeAbandonedTimeout="60"
12
12
  type="javax.sql.DataSource"
13
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
13
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/cronos;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
14
14
  username="sa"/>
15
15
 
16
16
  <Resource driverClassName="org.h2.Driver"
17
17
  logAbandoned="true" name="jdbc/aplicacao" password=""
18
18
  removeAbandoned="true"
19
19
  removeAbandonedTimeout="60" type="javax.sql.DataSource"
20
- url="jdbc:h2:file:${workCopyInfo.rootPath}/db/aplicacao;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;ALIAS_COLUMN_NAME=true"
20
+ url="jdbc:h2:file:${workCopyInfo.rootPath}/db/aplicacao;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=LEGACY"
21
21
  username="sa"/>
22
22
 
23
23
  <!-- debug options - DEVE SER REMOVIDO EM PRODUcãO -->
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  order=1
2
2
  icon=project.svg
3
- name=LyceumX Low-Code Module
3
+ name=LyceumX Module
4
4
  description=Template para criação de aplicações para LyceumX
5
5
  encoding=UTF-8
6
6
  template=low-code
@@ -54,4 +54,4 @@ themeDescription.Nature=O tema Nature utiliza o padrão de HTML e CSS do Bootstr
54
54
  themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
55
55
 
56
56
  parameter.dependency.dcyauthentication.authentication.backend.false=Token
57
- parameter.hidden.lyceum=true
57
+ parameter.hidden.lyceum=true
@@ -0,0 +1,7 @@
1
+ <#if (backend?lower_case) == "true" >
2
+ path=/main
3
+ path=/test
4
+ </#if>
5
+ <#if (backend?lower_case) == "false" >
6
+ path=/main
7
+ </#if>
@@ -1,9 +1,12 @@
1
1
  <#if (backend??) && (backend?lower_case) == "true" >
2
2
  ../../project/W/cronapp-rad-project/src/main/java/app
3
3
  ../../project/W/cronapp-rad-project/src/main/java/blockly
4
+ ../../project/W/cronapp-rad-project/src/main/java/dashboards
5
+ ../../project/W/cronapp-rad-project/src/main/java/reports
4
6
  ../../project/W/cronapp-rad-project/src/main/java/i18n
5
7
  ../../project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl
6
8
  ../../project/W/cronapp-rad-project/src/main/java/META-INF
9
+ ../../project/W/cronapp-rad-project/src/test/java/blockly
7
10
  <#if social?? && social?lower_case == "sim">
8
11
  ../../project/W/cronapp-rad-project/src/main/java/social.properties
9
12
  </#if>
@@ -38,23 +38,23 @@
38
38
  </#if>
39
39
  </form>
40
40
  <#if social?? && social?lower_case == "sim">
41
- <form action="/signin/facebook" method="POST" id="facebook">
41
+ <form action="/oauth2/authorization/facebook" method="GET" id="facebook">
42
42
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
43
43
  <input type="hidden" name="scope" value="email,public_profile">
44
44
  </form>
45
- <form action="/signin/github" method="POST" id="github">
45
+ <form action="/oauth2/authorization/github" method="GET" id="github">
46
46
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
47
47
  <input type="hidden" name="scope" value="email,public_profile">
48
48
  </form>
49
- <form action="/signin/google" method="POST" id="google">
49
+ <form action="/oauth2/authorization/google" method="GET" id="google">
50
50
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
51
51
  <input type="hidden" name="scope" value="email">
52
52
  </form>
53
- <form action="/signin/linkedin" method="POST" id="linkedin">
53
+ <form action="/oauth2/authorization/linkedin" method="GET" id="linkedin">
54
54
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
55
55
  <input type="hidden" name="scope" value="r_emailaddress">
56
56
  </form>
57
- <form action="/signin/cronapp" method="POST" id="cronapp">
57
+ <form action="/oauth2/authorization/cronapp" method="GET" id="cronapp">
58
58
  <input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
59
59
  <input type="hidden" name="scope" value="email">
60
60
  </form>
@@ -90,4 +90,4 @@
90
90
  </div>
91
91
  </div>
92
92
  </ion-content>
93
- </ion-view>
93
+ </ion-view>
@@ -1,7 +1,7 @@
1
1
  order=0
2
2
  icon=project.svg
3
- name=Mobile Low-Code Project
4
- description=Template para criação de aplicações Mobile Low-Code utilizando o CronApp IDE
3
+ name=Mobile Project
4
+ description=Template para criação de aplicações Mobile e Web utilizando o Cronapp IDE
5
5
  encoding=UTF-8
6
6
  template=low-code
7
7
  mimetype.src=folder/regular
@@ -132,4 +132,4 @@ themeDescription.Nature=O tema Nature utiliza o padrão de HTML e CSS do Bootstr
132
132
  themeDescription.Krypton=O tema Krypton utiliza o padrão de HTML e CSS do Bootstrap 🆕
133
133
 
134
134
  parameter.dependency.dcyauthentication.authentication.backend.false=Token
135
- parameter.dependency.dcyauth.includeauth.backend.true=false
135
+ parameter.dependency.dcyauth.includeauth.backend.true=false