@cronapp/templates 1.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 (863) hide show
  1. package/$global/components/js/datasource.js +1472 -0
  2. package/$global/data-layer/BASICDAO.ftl +146 -0
  3. package/$global/data-layer/BUSINESS.ftl +284 -0
  4. package/$global/data-layer/DAO.ftl +138 -0
  5. package/$global/data-layer/ENTITIES.ftl +170 -0
  6. package/$global/data-layer/REST.ftl +333 -0
  7. package/$global/data-layer/RESTAPPLICATION.ftl +22 -0
  8. package/$global/data-layer/REST_EXCEPTION.ftl +106 -0
  9. package/$global/data-layer/REST_SERVICE.ftl +11 -0
  10. package/$global/data-layer/SESSIONMANAGER.ftl +292 -0
  11. package/$global/data-layer/TEST.ftl +9 -0
  12. package/$global/data-layer/cloud/CloudFactory.ftl +27 -0
  13. package/$global/data-layer/cloud/CloudManager.ftl +73 -0
  14. package/$global/data-layer/cloud/CloudService.ftl +14 -0
  15. package/$global/data-layer/cloud/DropboxService.ftl +81 -0
  16. package/$global/data-layer/cloud/FileObject.ftl +47 -0
  17. package/$global/data-layer/cloud/template.properties +8 -0
  18. package/$global/data-layer/dropbox/DROPBOX_CONSTANTS.ftl +1 -0
  19. package/$global/data-layer/dropbox/DROPBOX_DELETE.ftl +1 -0
  20. package/$global/data-layer/dropbox/DROPBOX_GET.ftl +1 -0
  21. package/$global/data-layer/dropbox/DROPBOX_LIST.ftl +1 -0
  22. package/$global/data-layer/dropbox/DROPBOX_POST.ftl +19 -0
  23. package/$global/data-layer/dropbox/DROPBOX_PUT.ftl +20 -0
  24. package/$global/data-layer/template.properties +9 -0
  25. package/$global/js/directives.js +162 -0
  26. package/$global/reports/commons/ReportFront.ftl +76 -0
  27. package/$global/reports/frontend/parameters.controller.ftl +70 -0
  28. package/$global/reports/frontend/reports.controller.ftl +63 -0
  29. package/$global/reports/frontend/reports.parameters.ftl +25 -0
  30. package/$global/reports/frontend/reports.service.ftl +39 -0
  31. package/$global/reports/frontend/templates/BOOLEAN.parameter.ftl +4 -0
  32. package/$global/reports/frontend/templates/DATE.parameter.ftl +4 -0
  33. package/$global/reports/frontend/templates/DOUBLE.parameter.ftl +4 -0
  34. package/$global/reports/frontend/templates/FLOAT.parameter.ftl +4 -0
  35. package/$global/reports/frontend/templates/INTEGER.parameter.ftl +4 -0
  36. package/$global/reports/frontend/templates/LONG.parameter.ftl +4 -0
  37. package/$global/reports/frontend/templates/STRING.parameter.ftl +4 -0
  38. package/README.md +2 -0
  39. package/file/blockly/EmptyBlockly/__Name__.blockly.ftl +20 -0
  40. package/file/blockly/EmptyBlockly/blockly.png +0 -0
  41. package/file/blockly/EmptyBlockly/blockly_client.png +0 -0
  42. package/file/blockly/EmptyBlockly/blockly_server.png +0 -0
  43. package/file/blockly/EmptyBlockly/template.properties +8 -0
  44. package/file/blockly/EmptyBlockly/template_pt_BR.properties +6 -0
  45. package/file/blockly/JavaBlockly/__ClassName__.java.ftl +32 -0
  46. package/file/blockly/JavaBlockly/java.svg +15 -0
  47. package/file/blockly/JavaBlockly/template.properties +9 -0
  48. package/file/blockly/JavaBlockly/template_pt_BR.properties +5 -0
  49. package/file/blockly/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
  50. package/file/blockly/JavaBlocklyAI/java.svg +21 -0
  51. package/file/blockly/JavaBlocklyAI/template.properties +21 -0
  52. package/file/blockly/JavaBlocklyAI/template_pt_BR.properties +7 -0
  53. package/file/blockly/JavaScriptBlockly/__ClassName__.blockly.js.ftl +16 -0
  54. package/file/blockly/JavaScriptBlockly/javascript.svg +28 -0
  55. package/file/blockly/JavaScriptBlockly/template.properties +9 -0
  56. package/file/blockly/JavaScriptBlockly/template_pt_BR.properties +5 -0
  57. package/file/blockly/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
  58. package/file/blockly/JavaScriptBlocklyAI/javascript.svg +21 -0
  59. package/file/blockly/JavaScriptBlocklyAI/template.properties +12 -0
  60. package/file/blockly/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
  61. package/file/blockly/blockly.png +0 -0
  62. package/file/blockly/blockly_client.png +0 -0
  63. package/file/blockly/blockly_server.png +0 -0
  64. package/file/blockly/group.properties +5 -0
  65. package/file/components.json/EmptyCrudHtml/__FileName__.components.json.ftl +41 -0
  66. package/file/components.json/EmptyCrudHtml/__FileName__.template.html.ftl +1 -0
  67. package/file/components.json/EmptyCrudHtml/components.json.png +0 -0
  68. package/file/components.json/EmptyCrudHtml/template.properties +36 -0
  69. package/file/components.json/EmptyCrudHtml/template_pt_BR.properties +36 -0
  70. package/file/components.json/components.json.png +0 -0
  71. package/file/components.json/group.properties +5 -0
  72. package/file/crud/angular_crud_input/__FileName__.view.html.ftl +63 -0
  73. package/file/crud/angular_crud_input/template.properties +4 -0
  74. package/file/crud/angular_crud_input/template_en_US.properties +1 -0
  75. package/file/crud/angular_crud_view/__FileName__.view.html.ftl +432 -0
  76. package/file/crud/angular_crud_view/crud-web.png +0 -0
  77. package/file/crud/angular_crud_view/template.properties +8 -0
  78. package/file/crud/angular_crud_view/template_en_US.properties +2 -0
  79. package/file/crud/angular_view/__FileName__.view.html.ftl +70 -0
  80. package/file/crud/angular_view/list-web.png +0 -0
  81. package/file/crud/angular_view/project.svg +39 -0
  82. package/file/crud/angular_view/template.properties +10 -0
  83. package/file/crud/angular_view/template_en_US.properties +2 -0
  84. package/file/crud/angular_view_update/__FileName__.view.html.ftl +332 -0
  85. package/file/crud/angular_view_update/template.properties +8 -0
  86. package/file/crud/angular_view_update/template_en_US.properties +2 -0
  87. package/file/crud/angular_view_update/update-web.png +0 -0
  88. package/file/crud/group.properties +6 -0
  89. package/file/crud/phonegap_crud_input/__FileName__.view.html.ftl +122 -0
  90. package/file/crud/phonegap_crud_input/template.properties +4 -0
  91. package/file/crud/phonegap_crud_input/template_en_US.properties +1 -0
  92. package/file/crud/phonegap_crud_view/__FileName__.view.html.ftl +308 -0
  93. package/file/crud/phonegap_crud_view/crud-mobile.png +0 -0
  94. package/file/crud/phonegap_crud_view/project.svg +24 -0
  95. package/file/crud/phonegap_crud_view/template.properties +9 -0
  96. package/file/crud/phonegap_crud_view/template_en_US.properties +2 -0
  97. package/file/crud/phonegap_view/__FileName__.view.html.ftl +74 -0
  98. package/file/crud/phonegap_view/list-mobile.png +0 -0
  99. package/file/crud/phonegap_view/project.svg +24 -0
  100. package/file/crud/phonegap_view/template.properties +11 -0
  101. package/file/crud/phonegap_view/template_en_US.properties +2 -0
  102. package/file/crud/view.html.png +0 -0
  103. package/file/html/EmptyHtml/__FileName__.html.ftl +0 -0
  104. package/file/html/EmptyHtml/html.png +0 -0
  105. package/file/html/EmptyHtml/template.properties +4 -0
  106. package/file/html/EmptyHtml/template_pt_BR.properties +4 -0
  107. package/file/html/group.properties +4 -0
  108. package/file/html/html.png +0 -0
  109. package/file/java/Cronapi/__ClassName__.java.ftl +26 -0
  110. package/file/java/Cronapi/cronapi.png +0 -0
  111. package/file/java/Cronapi/template.properties +15 -0
  112. package/file/java/Cronapi/template_pt_BR.properties +15 -0
  113. package/file/java/EmptyClass/__ClassName__.java.ftl +23 -0
  114. package/file/java/EmptyClass/java.png +0 -0
  115. package/file/java/EmptyClass/template.properties +5 -0
  116. package/file/java/EmptyClass/template_pt_BR.properties +5 -0
  117. package/file/java/EnumClass/__EnumName__.java.ftl +18 -0
  118. package/file/java/EnumClass/java.png +0 -0
  119. package/file/java/EnumClass/template.properties +5 -0
  120. package/file/java/EnumClass/template_pt_BR.properties +5 -0
  121. package/file/java/InterfaceClass/__InterfaceName__.java.ftl +25 -0
  122. package/file/java/InterfaceClass/java.png +0 -0
  123. package/file/java/InterfaceClass/template.properties +5 -0
  124. package/file/java/InterfaceClass/template_pt_BR.properties +5 -0
  125. package/file/java/JUnitSuiteTestClass/__ClassName__.java.ftl +26 -0
  126. package/file/java/JUnitSuiteTestClass/junit.png +0 -0
  127. package/file/java/JUnitSuiteTestClass/template.properties +11 -0
  128. package/file/java/JUnitSuiteTestClass/template_pt_BR.properties +11 -0
  129. package/file/java/JUnitTestClass/__ClassName__.java.ftl +42 -0
  130. package/file/java/JUnitTestClass/junit.png +0 -0
  131. package/file/java/JUnitTestClass/template.properties +11 -0
  132. package/file/java/JUnitTestClass/template_pt_BR.properties +11 -0
  133. package/file/java/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
  134. package/file/java/JavaBlocklyAI/java.svg +21 -0
  135. package/file/java/JavaBlocklyAI/template.properties +20 -0
  136. package/file/java/JavaBlocklyAI/template_pt_BR.properties +7 -0
  137. package/file/java/group.properties +4 -0
  138. package/file/java/java.png +0 -0
  139. package/file/jrxml/EmptyReport/__FileName__.jrxml.ftl +33 -0
  140. package/file/jrxml/EmptyReport/jrxml.png +0 -0
  141. package/file/jrxml/EmptyReport/template.properties +6 -0
  142. package/file/jrxml/EmptyReport/template_pt_BR.properties +6 -0
  143. package/file/jrxml/TabularReport/__FileName__.jrxml.ftl +27 -0
  144. package/file/jrxml/TabularReport/jrxml.png +0 -0
  145. package/file/jrxml/TabularReport/template.properties +11 -0
  146. package/file/jrxml/TabularReport/template_pt_BR.properties +11 -0
  147. package/file/jrxml/group.properties +4 -0
  148. package/file/jrxml/jrxml.png +0 -0
  149. package/file/js/Cronapi/__FileName__.cronapi.js.ftl +24 -0
  150. package/file/js/Cronapi/blockly_client.png +0 -0
  151. package/file/js/Cronapi/template.properties +18 -0
  152. package/file/js/Cronapi/template_pt_BR.properties +15 -0
  153. package/file/js/EmptyJs/__FileName__.js.ftl +0 -0
  154. package/file/js/EmptyJs/js.png +0 -0
  155. package/file/js/EmptyJs/template.properties +5 -0
  156. package/file/js/EmptyJs/template_pt_BR.properties +5 -0
  157. package/file/js/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
  158. package/file/js/JavaScriptBlocklyAI/javascript.svg +21 -0
  159. package/file/js/JavaScriptBlocklyAI/template.properties +11 -0
  160. package/file/js/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
  161. package/file/js/group.properties +4 -0
  162. package/file/js/js.png +0 -0
  163. package/file/others/css/CssHelloWorld/__FileName__.css.ftl +3 -0
  164. package/file/others/css/CssHelloWorld/css.png +0 -0
  165. package/file/others/css/CssHelloWorld/template.properties +5 -0
  166. package/file/others/css/CssHelloWorld/template_pt_BR.properties +5 -0
  167. package/file/others/css/CssVazio/__FileName__.css.ftl +0 -0
  168. package/file/others/css/CssVazio/css.png +0 -0
  169. package/file/others/css/CssVazio/template.properties +5 -0
  170. package/file/others/css/CssVazio/template_pt_BR.properties +5 -0
  171. package/file/others/group.properties +5 -0
  172. package/file/others/group_en_US.properties +5 -0
  173. package/file/others/js/__FileName__.js.ftl +0 -0
  174. package/file/others/js/js.png +0 -0
  175. package/file/others/js/template.properties +5 -0
  176. package/file/others/js/template_pt_BR.properties +5 -0
  177. package/file/others/jsp/__FileName__.jsp.ftl +12 -0
  178. package/file/others/jsp/jsp.png +0 -0
  179. package/file/others/jsp/template.properties +5 -0
  180. package/file/others/jsp/template_pt_BR.properties +5 -0
  181. package/file/others/properties/__FileName__.properties.ftl +0 -0
  182. package/file/others/properties/properties.png +0 -0
  183. package/file/others/properties/template.properties +5 -0
  184. package/file/others/properties/template_pt_BR.properties +5 -0
  185. package/file/others/raml/__FileName__.raml.ftl +12 -0
  186. package/file/others/raml/raml.png +0 -0
  187. package/file/others/raml/template.properties +5 -0
  188. package/file/others/raml/template_pt_BR.properties +5 -0
  189. package/file/others/scheduler.umlcd/__FileName__.umlcd.ftl +397 -0
  190. package/file/others/scheduler.umlcd/template.properties +5 -0
  191. package/file/others/scheduler.umlcd/template_pt_BR.properties +5 -0
  192. package/file/others/scheduler.umlcd/umlcd.png +0 -0
  193. package/file/others/txt/__FileName__.txt.ftl +0 -0
  194. package/file/others/txt/template.properties +5 -0
  195. package/file/others/txt/template_en_US.properties +5 -0
  196. package/file/others/txt/txt.png +0 -0
  197. package/file/others/umlcd/__FileName__.umlcd.ftl +0 -0
  198. package/file/others/umlcd/template.properties +5 -0
  199. package/file/others/umlcd/template_pt_BR.properties +5 -0
  200. package/file/others/umlcd/umlcd.png +0 -0
  201. package/file/others/unknown.png +0 -0
  202. package/file/others/xml/__FileName__.xml.ftl +0 -0
  203. package/file/others/xml/template.properties +5 -0
  204. package/file/others/xml/template_pt_BR.properties +5 -0
  205. package/file/others/xml/xml.png +0 -0
  206. package/file/others/yaml/__FileName__.yaml.ftl +29 -0
  207. package/file/others/yaml/template.properties +5 -0
  208. package/file/others/yaml/template_pt_BR.properties +5 -0
  209. package/file/others/yaml/yaml.png +0 -0
  210. package/file/report/Blank/Blank.png +0 -0
  211. package/file/report/Blank/__FileName__.report.ftl +44 -0
  212. package/file/report/Blank/template.properties +6 -0
  213. package/file/report/Blank/template_pt_BR.properties +4 -0
  214. package/file/report/CrossTabWithDetailing/CrossTabWithDetailing.png +0 -0
  215. package/file/report/CrossTabWithDetailing/__FileName__.report.ftl +1900 -0
  216. package/file/report/CrossTabWithDetailing/template.properties +6 -0
  217. package/file/report/CrossTabWithDetailing/template_pt_BR.properties +4 -0
  218. package/file/report/Indicators/Indicators.png +0 -0
  219. package/file/report/Indicators/__FileName__.report.ftl +2074 -0
  220. package/file/report/Indicators/template.properties +6 -0
  221. package/file/report/Indicators/template_pt_BR.properties +4 -0
  222. package/file/report/InsuranceWithSelectingCountry/InsuranceWithSelectingCountry.png +0 -0
  223. package/file/report/InsuranceWithSelectingCountry/__FileName__.report.ftl +1875 -0
  224. package/file/report/InsuranceWithSelectingCountry/template.properties +6 -0
  225. package/file/report/InsuranceWithSelectingCountry/template_pt_BR.properties +4 -0
  226. package/file/report/InvoiceQuotation/InvoiceQuotation.png +0 -0
  227. package/file/report/InvoiceQuotation/__FileName__.report.ftl +900 -0
  228. package/file/report/InvoiceQuotation/template.properties +6 -0
  229. package/file/report/InvoiceQuotation/template_pt_BR.properties +4 -0
  230. package/file/report/InvoiceSoftware/InvoiceSoftware.png +0 -0
  231. package/file/report/InvoiceSoftware/__FileName__.report.ftl +665 -0
  232. package/file/report/InvoiceSoftware/template.properties +6 -0
  233. package/file/report/InvoiceSoftware/template_pt_BR.properties +4 -0
  234. package/file/report/Labels/Labels.png +0 -0
  235. package/file/report/Labels/__FileName__.report.ftl +675 -0
  236. package/file/report/Labels/template.properties +6 -0
  237. package/file/report/Labels/template_pt_BR.properties +4 -0
  238. package/file/report/MasterDetail/MasterDetail.png +0 -0
  239. package/file/report/MasterDetail/__FileName__.report.ftl +816 -0
  240. package/file/report/MasterDetail/template.properties +6 -0
  241. package/file/report/MasterDetail/template_pt_BR.properties +4 -0
  242. package/file/report/MultiColumnList/MultiColumnList.png +0 -0
  243. package/file/report/MultiColumnList/__FileName__.report.ftl +536 -0
  244. package/file/report/MultiColumnList/template.properties +6 -0
  245. package/file/report/MultiColumnList/template_pt_BR.properties +4 -0
  246. package/file/report/PurchaseOrder/PurchaseOrder.png +0 -0
  247. package/file/report/PurchaseOrder/__FileName__.report.ftl +1541 -0
  248. package/file/report/PurchaseOrder/template.properties +6 -0
  249. package/file/report/PurchaseOrder/template_pt_BR.properties +4 -0
  250. package/file/report/SimpleGroup/SimpleGroup.png +0 -0
  251. package/file/report/SimpleGroup/__FileName__.report.ftl +697 -0
  252. package/file/report/SimpleGroup/template.properties +6 -0
  253. package/file/report/SimpleGroup/template_pt_BR.properties +4 -0
  254. package/file/report/Tree/Tree.png +0 -0
  255. package/file/report/Tree/__FileName__.report.ftl +525 -0
  256. package/file/report/Tree/template.properties +6 -0
  257. package/file/report/Tree/template_pt_BR.properties +4 -0
  258. package/file/report/TreeWithHeadersAndFooters/TreeWithHeadersAndFooters.png +0 -0
  259. package/file/report/TreeWithHeadersAndFooters/__FileName__.report.ftl +698 -0
  260. package/file/report/TreeWithHeadersAndFooters/template.properties +6 -0
  261. package/file/report/TreeWithHeadersAndFooters/template_pt_BR.properties +4 -0
  262. package/file/report/TwoMastersOnOneDetail/TwoMastersOnOneDetail.png +0 -0
  263. package/file/report/TwoMastersOnOneDetail/__FileName__.report.ftl +1297 -0
  264. package/file/report/TwoMastersOnOneDetail/template.properties +6 -0
  265. package/file/report/TwoMastersOnOneDetail/template_pt_BR.properties +4 -0
  266. package/file/report/group.properties +6 -0
  267. package/file/report/report.png +0 -0
  268. package/file/tm/EmptyMenu/__FileName__.xml.ftl +14 -0
  269. package/file/tm/EmptyMenu/template.properties +4 -0
  270. package/file/tm/EmptyMenu/tm.png +0 -0
  271. package/file/tm/group.properties +6 -0
  272. package/file/tm/tm.png +0 -0
  273. package/file/tp/EmptyPage/__FileName__.xml.ftl +12 -0
  274. package/file/tp/EmptyPage/template.properties +4 -0
  275. package/file/tp/EmptyPage/tp.png +0 -0
  276. package/file/tp/PageHelloWorld/__FileName__.xml.ftl +18 -0
  277. package/file/tp/PageHelloWorld/template.properties +4 -0
  278. package/file/tp/PageHelloWorld/tp.png +0 -0
  279. package/file/tp/group.properties +6 -0
  280. package/file/tp/tp.png +0 -0
  281. package/file/view.html/EmptyIonicViewHtml/__FileName__.view.html.ftl +4 -0
  282. package/file/view.html/EmptyIonicViewHtml/template.properties +10 -0
  283. package/file/view.html/EmptyIonicViewHtml/template_pt_BR.properties +3 -0
  284. package/file/view.html/EmptyIonicViewHtml/view.html.png +0 -0
  285. package/file/view.html/EmptyViewHtml/__FileName__.view.html.ftl +0 -0
  286. package/file/view.html/EmptyViewHtml/template.properties +10 -0
  287. package/file/view.html/EmptyViewHtml/template_pt_BR.properties +3 -0
  288. package/file/view.html/EmptyViewHtml/view.html.png +0 -0
  289. package/file/view.html/HeaderIonicViewHtml/__FileName__.view.html.ftl +13 -0
  290. package/file/view.html/HeaderIonicViewHtml/template.properties +10 -0
  291. package/file/view.html/HeaderIonicViewHtml/template_pt_BR.properties +3 -0
  292. package/file/view.html/HeaderIonicViewHtml/view.html.png +0 -0
  293. package/file/view.html/Login1ViewHtml/__FileName__.view.html.ftl +193 -0
  294. package/file/view.html/Login1ViewHtml/login1.png +0 -0
  295. package/file/view.html/Login1ViewHtml/template.properties +10 -0
  296. package/file/view.html/Login1ViewHtml/template_pt_BR.properties +2 -0
  297. package/file/view.html/Login2ViewHtml/__FileName__.view.html.ftl +200 -0
  298. package/file/view.html/Login2ViewHtml/login2.png +0 -0
  299. package/file/view.html/Login2ViewHtml/template.properties +10 -0
  300. package/file/view.html/Login2ViewHtml/template_pt_BR.properties +2 -0
  301. package/file/view.html/Signup1ViewHtml/__FileName__.view.html.ftl +87 -0
  302. package/file/view.html/Signup1ViewHtml/signup1.png +0 -0
  303. package/file/view.html/Signup1ViewHtml/template.properties +10 -0
  304. package/file/view.html/Signup1ViewHtml/template_pt_BR.properties +2 -0
  305. package/file/view.html/Signup2ViewHtml/__FileName__.view.html.ftl +90 -0
  306. package/file/view.html/Signup2ViewHtml/signup2.png +0 -0
  307. package/file/view.html/Signup2ViewHtml/template.properties +10 -0
  308. package/file/view.html/Signup2ViewHtml/template_pt_BR.properties +2 -0
  309. package/file/view.html/group.properties +6 -0
  310. package/file/view.html/view.html.png +0 -0
  311. package/package-lock.json +5 -0
  312. package/package.json +5 -0
  313. package/project/C/Aplicacao Vazia/cfg/jaas.config +5 -0
  314. package/project/C/Aplicacao Vazia/cfg/techne.template.config.xml +26 -0
  315. package/project/C/Aplicacao Vazia/cfg/techne.template.xml +6 -0
  316. package/project/C/Aplicacao Vazia/config/context.xml.ftl +66 -0
  317. package/project/C/Aplicacao Vazia/data/techne/template/crodata/classes.xml +13 -0
  318. package/project/C/Aplicacao Vazia/data/techne/template/crodata/menu/modules.xml +14 -0
  319. package/project/C/Aplicacao Vazia/data/techne/template/crodata/trans/module/index.xml +15 -0
  320. package/project/C/Aplicacao Vazia/db/README.md +1 -0
  321. package/project/C/Aplicacao Vazia/pom.xml +34 -0
  322. package/project/C/Aplicacao Vazia/project.png +0 -0
  323. package/project/C/Aplicacao Vazia/src/template/security/TemplateSecurityConnection.java +130 -0
  324. package/project/C/Aplicacao Vazia/template.properties +8 -0
  325. package/project/C/Aplicacao com CRUD/cfg/jaas.config +5 -0
  326. package/project/C/Aplicacao com CRUD/cfg/techne.template.config.xml +26 -0
  327. package/project/C/Aplicacao com CRUD/cfg/techne.template.xml +6 -0
  328. package/project/C/Aplicacao com CRUD/config/context.xml.ftl +66 -0
  329. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/block/tb.ftl +9 -0
  330. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/classes.xml +13 -0
  331. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/menu/modules.xml +14 -0
  332. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/checkbox.xml +156 -0
  333. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/dropDownSelect.xml +113 -0
  334. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/gridPanelSelect.xml +99 -0
  335. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/index.xml +40 -0
  336. package/project/C/Aplicacao com CRUD/data/techne/template/crodata/trans/module/recordpanel.xml +239 -0
  337. package/project/C/Aplicacao com CRUD/db/README.md +1 -0
  338. package/project/C/Aplicacao com CRUD/db/sql/template/org/h2/Driver/2_tables.sql +309 -0
  339. package/project/C/Aplicacao com CRUD/pom.xml +85 -0
  340. package/project/C/Aplicacao com CRUD/project.png +0 -0
  341. package/project/C/Aplicacao com CRUD/src/template/security/TemplateSecurityConnection.java +130 -0
  342. package/project/C/Aplicacao com CRUD/template.properties +9 -0
  343. package/project/C/cronos/cfg/jaas.config +5 -0
  344. package/project/C/cronos/cfg/techne.template.config.xml +26 -0
  345. package/project/C/cronos/cfg/techne.template.xml +6 -0
  346. package/project/C/cronos/config/context.xml.ftl +66 -0
  347. package/project/C/cronos/data/techne/template/crodata/block/tb.ftl +9 -0
  348. package/project/C/cronos/data/techne/template/crodata/classes.xml +13 -0
  349. package/project/C/cronos/data/techne/template/crodata/menu/modules.xml +14 -0
  350. package/project/C/cronos/data/techne/template/crodata/trans/module/gridPanelMasterDetail.xml +72 -0
  351. package/project/C/cronos/data/techne/template/crodata/trans/module/gridPanelSelect.xml +99 -0
  352. package/project/C/cronos/data/techne/template/crodata/trans/module/hello.xml +15 -0
  353. package/project/C/cronos/data/techne/template/crodata/trans/module/recordPanelMasterCheckBox.xml +190 -0
  354. package/project/C/cronos/db/README.md +1 -0
  355. package/project/C/cronos/pom.xml +34 -0
  356. package/project/C/cronos/project.png +0 -0
  357. package/project/C/cronos/scripts/sql/aplicacao/org/h2/Driver/2_tables.sql +309 -0
  358. package/project/C/cronos/src/template/security/TemplateSecurityConnection.java +130 -0
  359. package/project/C/cronos/template.properties +8 -0
  360. package/project/C/cronos.png +0 -0
  361. package/project/C/group.properties +5 -0
  362. package/project/D/dotnet-zero/project.png +0 -0
  363. package/project/D/dotnet-zero/template.properties +5 -0
  364. package/project/D/dotnet-zero/template_en_US.properties +2 -0
  365. package/project/D/dotnet.png +0 -0
  366. package/project/D/group.properties +4 -0
  367. package/project/F/frontend/README.md +24 -0
  368. package/project/F/frontend/__linksInherit +1 -0
  369. package/project/F/frontend/project.svg +1 -0
  370. package/project/F/frontend/template.properties +26 -0
  371. package/project/F/frontend/template_en_US.properties +4 -0
  372. package/project/F/frontend/template_pt_BR.properties +4 -0
  373. package/project/F/frontend.png +0 -0
  374. package/project/F/group.properties +4 -0
  375. package/project/G/blockly-client-api/project.svg +63 -0
  376. package/project/G/blockly-client-api/src/main/mobileapp/www/js/cronapi/__FileName__.cronapi.js.ftl +24 -0
  377. package/project/G/blockly-client-api/src/main/webapp/js/cronapi/__FileName__.cronapi.js.ftl +24 -0
  378. package/project/G/blockly-client-api/template.properties +15 -0
  379. package/project/G/blockly-client-api/template.properties._template.ftl +5 -0
  380. package/project/G/blockly-client-api/template_en.properties._template.ftl +1 -0
  381. package/project/G/blockly-client-api/template_pt.properties +13 -0
  382. package/project/G/blockly-client-api/template_pt.properties._template.ftl +1 -0
  383. package/project/G/blockly-server-api/pom.xml.ftl +63 -0
  384. package/project/G/blockly-server-api/project.svg +34 -0
  385. package/project/G/blockly-server-api/src/main/java/cronapi/__ClassName__.java.ftl +24 -0
  386. package/project/G/blockly-server-api/template.properties +17 -0
  387. package/project/G/blockly-server-api/template.properties._template.ftl +1 -0
  388. package/project/G/blockly-server-api/template_en.properties._template.ftl +1 -0
  389. package/project/G/blockly-server-api/template_pt.properties +14 -0
  390. package/project/G/blockly-server-api/template_pt.properties._template.ftl +1 -0
  391. package/project/G/gluonsoft.png +0 -0
  392. package/project/G/group.properties +4 -0
  393. package/project/G/visual-component/project.svg +166 -0
  394. package/project/G/visual-component/src/main/mobileapp/www/components/__WidgetId__.components.json.ftl +22 -0
  395. package/project/G/visual-component/src/main/mobileapp/www/components/templates/__WidgetId__.template.html.ftl +4 -0
  396. package/project/G/visual-component/src/main/mobileapp/www/js/__WidgetId__.js +4 -0
  397. package/project/G/visual-component/src/main/webapp/components/__WidgetId__.components.json.ftl +22 -0
  398. package/project/G/visual-component/src/main/webapp/components/templates/__WidgetId__.template.html.ftl +4 -0
  399. package/project/G/visual-component/src/main/webapp/js/__WidgetId__.js +4 -0
  400. package/project/G/visual-component/template.properties +9 -0
  401. package/project/G/visual-component/template.properties._template.ftl +5 -0
  402. package/project/G/visual-component/template_en.properties._template.ftl +1 -0
  403. package/project/G/visual-component/template_pt.properties +4 -0
  404. package/project/G/visual-component/template_pt.properties._template.ftl +1 -0
  405. package/project/J/group.properties +4 -0
  406. package/project/J/java.png +0 -0
  407. package/project/J/servlet/.gitignore.ftl +25 -0
  408. package/project/J/servlet/.vscode/launch.json +1 -0
  409. package/project/J/servlet/README.md +3 -0
  410. package/project/J/servlet/pom.xml +70 -0
  411. package/project/J/servlet/project.svg +1 -0
  412. package/project/J/servlet/src/main/webapp/index.jsp +5 -0
  413. package/project/J/servlet/template.properties +6 -0
  414. package/project/J/servlet/template_en_US.properties +2 -0
  415. package/project/J/spring-boot/.gitignore.ftl +25 -0
  416. package/project/J/spring-boot/.vscode/launch.json +1 -0
  417. package/project/J/spring-boot/README.md +3 -0
  418. package/project/J/spring-boot/mvnw +225 -0
  419. package/project/J/spring-boot/mvnw.cmd +143 -0
  420. package/project/J/spring-boot/pom.xml +50 -0
  421. package/project/J/spring-boot/project.png +0 -0
  422. package/project/J/spring-boot/project.svg +1 -0
  423. package/project/J/spring-boot/src/main/java/com/mycompany/helloworld/HelloWorldApplication.java +12 -0
  424. package/project/J/spring-boot/src/main/resources/application.properties +0 -0
  425. package/project/J/spring-boot/src/main/resources/static/static.txt +0 -0
  426. package/project/J/spring-boot/src/main/resources/templates/templates.txt +0 -0
  427. package/project/J/spring-boot/template.properties +6 -0
  428. package/project/J/spring-boot/template_en_US.properties +2 -0
  429. package/project/L/group.properties +4 -0
  430. package/project/L/microservices.png +0 -0
  431. package/project/L/report-custom/project.svg +32 -0
  432. package/project/L/report-custom/template.properties +7 -0
  433. package/project/L/report-custom/template_en_US.properties +5 -0
  434. package/project/L/report-custom/template_pt_BR.properties +5 -0
  435. package/project/M/cronapp-lyceum-project-mobile-cordova/__copydata.ftl +29 -0
  436. package/project/M/cronapp-lyceum-project-mobile-cordova/__linksInherit +8 -0
  437. package/project/M/cronapp-lyceum-project-mobile-cordova/project.svg +190 -0
  438. package/project/M/cronapp-lyceum-project-mobile-cordova/src/main/resources/application.properties.ftl +27 -0
  439. package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +57 -0
  440. package/project/M/cronapp-lyceum-project-mobile-cordova/template_en_US.properties +35 -0
  441. package/project/M/cronapp-lyceum-project-mobile-cordova/template_pt_BR.properties +34 -0
  442. package/project/M/cronapp-rad-project-mobile-cordova/.gitignore.ftl +28 -0
  443. package/project/M/cronapp-rad-project-mobile-cordova/README.md +24 -0
  444. package/project/M/cronapp-rad-project-mobile-cordova/__copydata.ftl +29 -0
  445. package/project/M/cronapp-rad-project-mobile-cordova/__linksInherit +7 -0
  446. package/project/M/cronapp-rad-project-mobile-cordova/project.svg +1 -0
  447. package/project/M/cronapp-rad-project-mobile-cordova/src/__copydata.ftl +7 -0
  448. package/project/M/cronapp-rad-project-mobile-cordova/src/main/__copydata.ftl +18 -0
  449. package/project/M/cronapp-rad-project-mobile-cordova/src/main/__linksInherit +14 -0
  450. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__copydata.ftl +3 -0
  451. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__linksInherit +13 -0
  452. package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/social.properties +14 -0
  453. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/.gitignore.ftl +3 -0
  454. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/certs/README.md +5 -0
  455. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/config.xml.ftl +110 -0
  456. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/hooks/README.md +23 -0
  457. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/network_security_config.xml +4 -0
  458. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/package.json.ftl +12 -0
  459. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/README.md +29 -0
  460. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-hdpi-icon.png +0 -0
  461. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-hdpi-notification-icon.png +0 -0
  462. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-ldpi-icon.png +0 -0
  463. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-ldpi-notification-icon.png +0 -0
  464. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-mdpi-icon.png +0 -0
  465. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-mdpi-notification-icon.png +0 -0
  466. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-web-icon.png +0 -0
  467. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xhdpi-icon.png +0 -0
  468. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xhdpi-notification-icon.png +0 -0
  469. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxhdpi-icon.png +0 -0
  470. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxhdpi-notification-icon.png +0 -0
  471. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxxhdpi-icon.png +0 -0
  472. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/drawable-xxxhdpi-notification-icon.png +0 -0
  473. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/icon-36-hdpi.png +0 -0
  474. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/android/icon-48-hdpi.png +0 -0
  475. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-1024.png +0 -0
  476. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-20.png +0 -0
  477. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-24@2x.png +0 -0
  478. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-27.5@2x.png +0 -0
  479. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40.png +0 -0
  480. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40@2x.png +0 -0
  481. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-40@3x.png +0 -0
  482. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-44@2x.png +0 -0
  483. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-50.png +0 -0
  484. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-50@2x.png +0 -0
  485. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60.png +0 -0
  486. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60@2x.png +0 -0
  487. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-60@3x.png +0 -0
  488. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-72.png +0 -0
  489. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-72@2x.png +0 -0
  490. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-76.png +0 -0
  491. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-76@2x.png +0 -0
  492. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-83.5@2x.png +0 -0
  493. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-86@2x.png +0 -0
  494. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-98@2x.png +0 -0
  495. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small.png +0 -0
  496. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small@2x.png +0 -0
  497. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon-small@3x.png +0 -0
  498. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon.png +0 -0
  499. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon/ios/icon@2x.png +0 -0
  500. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/icon.png +0 -0
  501. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/notification_icon.png +0 -0
  502. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-hdpi-screen.png +0 -0
  503. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-hdpi.png +0 -0
  504. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-ldpi-screen.png +0 -0
  505. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-ldpi.png +0 -0
  506. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-mdpi-screen.png +0 -0
  507. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-mdpi.png +0 -0
  508. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xhdpi-screen.png +0 -0
  509. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xhdpi.png +0 -0
  510. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xxhdpi-screen.png +0 -0
  511. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-land-xxxhdpi-screen.png +0 -0
  512. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-hdpi-screen.png +0 -0
  513. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-hdpi.png +0 -0
  514. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-ldpi-screen.png +0 -0
  515. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-ldpi.png +0 -0
  516. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-mdpi-screen.png +0 -0
  517. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-mdpi.png +0 -0
  518. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xhdpi-screen.png +0 -0
  519. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xhdpi.png +0 -0
  520. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xxhdpi-screen.png +0 -0
  521. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/android/drawable-port-xxxhdpi-screen.png +0 -0
  522. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-2436h.png +0 -0
  523. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-568h@2x~iphone.png +0 -0
  524. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-667h.png +0 -0
  525. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-736h.png +0 -0
  526. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape-2436h.png +0 -0
  527. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape-736h.png +0 -0
  528. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape@2x~ipad.png +0 -0
  529. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape@~ipadpro.png +0 -0
  530. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Landscape~ipad.png +0 -0
  531. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait@2x~ipad.png +0 -0
  532. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait@~ipadpro.png +0 -0
  533. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default-Portrait~ipad.png +0 -0
  534. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~ipad~anyany.png +0 -0
  535. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~ipad~comany.png +0 -0
  536. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone.png +0 -0
  537. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~anyany.png +0 -0
  538. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~comany.png +0 -0
  539. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~iphone~comcom.png +0 -0
  540. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@2x~universal~anyany.png +0 -0
  541. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~anyany.png +0 -0
  542. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~anycom.png +0 -0
  543. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default@3x~iphone~comany.png +0 -0
  544. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/Default~iphone.png +0 -0
  545. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/ipx-landscape.png +0 -0
  546. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen/ios/ipx-portrait.png +0 -0
  547. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/res/screen.png +0 -0
  548. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/__copydata.ftl +12 -0
  549. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/.bowerrc +4 -0
  550. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/README.md +32 -0
  551. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/assets/app-logo-login.svg +1 -0
  552. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bower.json +31 -0
  553. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/components/.gitkeep +0 -0
  554. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/cordova.js +1863 -0
  555. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/cordova_plugins.js +9 -0
  556. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/css/app.css +4 -0
  557. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/favicon.ico +0 -0
  558. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/i18n/locale_en_us.json +169 -0
  559. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/i18n/locale_pt_br.json +169 -0
  560. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/img/nophoto.png +0 -0
  561. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/img/user.png +0 -0
  562. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/index.html.ftl +60 -0
  563. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/ChangePassword.blockly +44 -0
  564. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/ChangePassword.blockly.js +56 -0
  565. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Home.blockly +12 -0
  566. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Home.blockly.js +13 -0
  567. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Login.blockly +42 -0
  568. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/Login.blockly.js +25 -0
  569. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/UserControl.blockly +129 -0
  570. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/blockly/auth/UserControl.blockly.js +64 -0
  571. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/events.js +0 -0
  572. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/js/index.js +48 -0
  573. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/error/403.view.html +10 -0
  574. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/error/404.view.html +10 -0
  575. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/home.view.html +20 -0
  576. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/menu.view.html +61 -0
  577. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/user.view.html +77 -0
  578. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +93 -0
  579. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/__copydata.ftl +8 -0
  580. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/home.view.html +19 -0
  581. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/menu.view.html +15 -0
  582. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/reset-password-email.view.html +28 -0
  583. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/reset-password.view.html +29 -0
  584. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/signup.view.html +36 -0
  585. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/__linksInherit +10 -0
  586. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/assets/.gitkeep +0 -0
  587. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/components/.gitkeep +0 -0
  588. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/js/blockly/auth/Home.blockly +12 -0
  589. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/js/blockly/auth/Home.blockly.js +13 -0
  590. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/error/403.view.html +10 -0
  591. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/error/404.view.html +10 -0
  592. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/home.view.html +22 -0
  593. package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/menu.view.html +15 -0
  594. package/project/M/cronapp-rad-project-mobile-cordova/src/test/java/blockly/.gitkeep +0 -0
  595. package/project/M/cronapp-rad-project-mobile-cordova/template.properties +135 -0
  596. package/project/M/cronapp-rad-project-mobile-cordova/template_en_US.properties +33 -0
  597. package/project/M/cronapp-rad-project-mobile-cordova/template_pt_BR.properties +32 -0
  598. package/project/M/group.properties +5 -0
  599. package/project/M/mobile.png +0 -0
  600. package/project/N/group.properties +4 -0
  601. package/project/N/nodejs-express/.vscode/launch.json +14 -0
  602. package/project/N/nodejs-express/app.js +44 -0
  603. package/project/N/nodejs-express/bin/www +90 -0
  604. package/project/N/nodejs-express/package-lock.json +928 -0
  605. package/project/N/nodejs-express/package.json +16 -0
  606. package/project/N/nodejs-express/project.png +0 -0
  607. package/project/N/nodejs-express/project.svg +1 -0
  608. package/project/N/nodejs-express/public/stylesheets/style.css +8 -0
  609. package/project/N/nodejs-express/routes/index.js +9 -0
  610. package/project/N/nodejs-express/routes/users.js +9 -0
  611. package/project/N/nodejs-express/template.properties +6 -0
  612. package/project/N/nodejs-express/template_en_US.properties +2 -0
  613. package/project/N/nodejs-express/views/error.pug +6 -0
  614. package/project/N/nodejs-express/views/index.pug +5 -0
  615. package/project/N/nodejs-express/views/layout.pug +7 -0
  616. package/project/N/nodejs.png +0 -0
  617. package/project/P/django/.vscode/launch.json +21 -0
  618. package/project/P/django/cronapp/settings.py +121 -0
  619. package/project/P/django/cronapp/urls.py +21 -0
  620. package/project/P/django/cronapp/wsgi.py +16 -0
  621. package/project/P/django/main.py +19 -0
  622. package/project/P/django/project.svg +48 -0
  623. package/project/P/django/requirements.txt +6 -0
  624. package/project/P/django/template.properties +5 -0
  625. package/project/P/django/template_en_US.properties +2 -0
  626. package/project/P/flask/.vscode/launch.json +24 -0
  627. package/project/P/flask/main.py +14 -0
  628. package/project/P/flask/project.svg +45 -0
  629. package/project/P/flask/requirements.txt +6 -0
  630. package/project/P/flask/template.properties +5 -0
  631. package/project/P/flask/template_en_US.properties +2 -0
  632. package/project/P/group.properties +4 -0
  633. package/project/P/python.png +0 -0
  634. package/project/P/scientific/.vscode/launch.json +15 -0
  635. package/project/P/scientific/README.md +0 -0
  636. package/project/P/scientific/main.py +27 -0
  637. package/project/P/scientific/project.png +0 -0
  638. package/project/P/scientific/project.svg +48 -0
  639. package/project/P/scientific/requirements.txt +2 -0
  640. package/project/P/scientific/template.properties +5 -0
  641. package/project/P/scientific/template_en_US.properties +2 -0
  642. package/project/S/business-service/README.md +24 -0
  643. package/project/S/business-service/__linksInherit +1 -0
  644. package/project/S/business-service/project.svg +452 -0
  645. package/project/S/business-service/src/main/java/META-INF/authorities.json.ftl +26 -0
  646. package/project/S/business-service/src/main/java/blockly/HelloWorld.blockly +12 -0
  647. package/project/S/business-service/src/main/java/blockly/HelloWorld.java +38 -0
  648. package/project/S/business-service/src/main/java/blockly/HelloWorld.map +1 -0
  649. package/project/S/business-service/template.properties +80 -0
  650. package/project/S/business-service/template_en_US.properties +4 -0
  651. package/project/S/business-service/template_pt_BR.properties +4 -0
  652. package/project/S/data-service/README.md +24 -0
  653. package/project/S/data-service/__linksInherit +1 -0
  654. package/project/S/data-service/config/context.xml.ftl +27 -0
  655. package/project/S/data-service/diagram/app.umlcd +233 -0
  656. package/project/S/data-service/project.svg +116 -0
  657. package/project/S/data-service/src/main/java/META-INF/datasources/__copydata.ftl +0 -0
  658. package/project/S/data-service/src/main/java/META-INF/persistence.xml.ftl +26 -0
  659. package/project/S/data-service/src/main/java/app/AppConfiguration.java +63 -0
  660. package/project/S/data-service/src/main/java/app/dao/SampleDAO.java +21 -0
  661. package/project/S/data-service/src/main/java/app/entity/Sample.java +112 -0
  662. package/project/S/data-service/template.properties +80 -0
  663. package/project/S/data-service/template_en_US.properties +4 -0
  664. package/project/S/data-service/template_pt_BR.properties +4 -0
  665. package/project/S/group.properties +4 -0
  666. package/project/S/microservices.png +0 -0
  667. package/project/W/cronapp-rad-project/.dockerignore +5 -0
  668. package/project/W/cronapp-rad-project/.gitignore.ftl +28 -0
  669. package/project/W/cronapp-rad-project/Jenkinsfile +43 -0
  670. package/project/W/cronapp-rad-project/README.md +24 -0
  671. package/project/W/cronapp-rad-project/__copydata.ftl +26 -0
  672. package/project/W/cronapp-rad-project/config/__copydata.ftl +7 -0
  673. package/project/W/cronapp-rad-project/config/app.config.ftl +32 -0
  674. package/project/W/cronapp-rad-project/config/context.xml.ftl +27 -0
  675. package/project/W/cronapp-rad-project/config/test/Tests.side +59 -0
  676. package/project/W/cronapp-rad-project/diagram/__copydata.ftl +11 -0
  677. package/project/W/cronapp-rad-project/diagram/app.umlcd +4643 -0
  678. package/project/W/cronapp-rad-project/diagram/app.umlcd.ftl +1150 -0
  679. package/project/W/cronapp-rad-project/diagram/domain.umlcd +10596 -0
  680. package/project/W/cronapp-rad-project/docs/__copydata.ftl +4 -0
  681. package/project/W/cronapp-rad-project/docs/architecture/architecture.html +50 -0
  682. package/project/W/cronapp-rad-project/docs/architecture/img/layers.png +0 -0
  683. package/project/W/cronapp-rad-project/docs/login.prototype +24 -0
  684. package/project/W/cronapp-rad-project/pom.xml.ftl +174 -0
  685. package/project/W/cronapp-rad-project/project.svg +1 -0
  686. package/project/W/cronapp-rad-project/spring-boot.png +0 -0
  687. package/project/W/cronapp-rad-project/src/__copydata.ftl +7 -0
  688. package/project/W/cronapp-rad-project/src/main/__copydata.ftl +16 -0
  689. package/project/W/cronapp-rad-project/src/main/java/META-INF/__copydata.ftl +7 -0
  690. package/project/W/cronapp-rad-project/src/main/java/META-INF/customQuery.json.ftl +2192 -0
  691. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/__copydata.ftl +23 -0
  692. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/appUserManager.datasource.json +96 -0
  693. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auditlogcleanup.datasource.json +103 -0
  694. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auditlogquery.datasource.json +104 -0
  695. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/auth.datasource.json +120 -0
  696. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/device.datasource.json +96 -0
  697. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/keyManager.datasource.json +126 -0
  698. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleManager.datasource.json +255 -0
  699. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleSecurableManager.datasource.json +127 -0
  700. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roleSecurables.datasource.json +158 -0
  701. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/roles.datasource.json +143 -0
  702. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securableManager.datasource.json +127 -0
  703. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securableViews.datasource.json +186 -0
  704. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/securables.datasource.json +134 -0
  705. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userManager.datasource.json +271 -0
  706. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userRoleManager.datasource.json +127 -0
  707. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userSecurableManager.datasource.json +127 -0
  708. package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/userSecurables.datasource.json +135 -0
  709. package/project/W/cronapp-rad-project/src/main/java/META-INF/persistence.xml.ftl +36 -0
  710. package/project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl +43 -0
  711. package/project/W/cronapp-rad-project/src/main/java/__copydata.ftl +34 -0
  712. package/project/W/cronapp-rad-project/src/main/java/app/AppConfiguration.java.ftl +66 -0
  713. package/project/W/cronapp-rad-project/src/main/java/app/__copydata.ftl +25 -0
  714. package/project/W/cronapp-rad-project/src/main/java/app/dao/ApplicationDAO.java +24 -0
  715. package/project/W/cronapp-rad-project/src/main/java/app/dao/ApplicationUserDAO.java +24 -0
  716. package/project/W/cronapp-rad-project/src/main/java/app/dao/AuditLogDAO.java +24 -0
  717. package/project/W/cronapp-rad-project/src/main/java/app/dao/DeviceDAO.java +24 -0
  718. package/project/W/cronapp-rad-project/src/main/java/app/dao/InvalidatedTokenDAO.java +24 -0
  719. package/project/W/cronapp-rad-project/src/main/java/app/dao/LoginDAO.java +24 -0
  720. package/project/W/cronapp-rad-project/src/main/java/app/dao/RoleDAO.java +24 -0
  721. package/project/W/cronapp-rad-project/src/main/java/app/dao/RoleSecurableDAO.java +24 -0
  722. package/project/W/cronapp-rad-project/src/main/java/app/dao/SecurableDAO.java +24 -0
  723. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserDAO.java +24 -0
  724. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserRoleDAO.java +24 -0
  725. package/project/W/cronapp-rad-project/src/main/java/app/dao/UserSecurableDAO.java +24 -0
  726. package/project/W/cronapp-rad-project/src/main/java/app/dao/ViewDAO.java +24 -0
  727. package/project/W/cronapp-rad-project/src/main/java/app/dao/__copydata.ftl +36 -0
  728. package/project/W/cronapp-rad-project/src/main/java/app/entity/Application.java +111 -0
  729. package/project/W/cronapp-rad-project/src/main/java/app/entity/ApplicationUser.java +139 -0
  730. package/project/W/cronapp-rad-project/src/main/java/app/entity/AuditLog.java +399 -0
  731. package/project/W/cronapp-rad-project/src/main/java/app/entity/Device.java +241 -0
  732. package/project/W/cronapp-rad-project/src/main/java/app/entity/InvalidatedToken.java +113 -0
  733. package/project/W/cronapp-rad-project/src/main/java/app/entity/Login.java +190 -0
  734. package/project/W/cronapp-rad-project/src/main/java/app/entity/Role.java +218 -0
  735. package/project/W/cronapp-rad-project/src/main/java/app/entity/RoleSecurable.java +139 -0
  736. package/project/W/cronapp-rad-project/src/main/java/app/entity/Securable.java +139 -0
  737. package/project/W/cronapp-rad-project/src/main/java/app/entity/User.java +565 -0
  738. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserRole.java +139 -0
  739. package/project/W/cronapp-rad-project/src/main/java/app/entity/UserSecurable.java +139 -0
  740. package/project/W/cronapp-rad-project/src/main/java/app/entity/View.java +375 -0
  741. package/project/W/cronapp-rad-project/src/main/java/app/entity/__copydata.ftl +36 -0
  742. package/project/W/cronapp-rad-project/src/main/java/app/populate.json.ftl +976 -0
  743. package/project/W/cronapp-rad-project/src/main/java/auth/permission/SecurityPermission.java.ftl +56 -0
  744. package/project/W/cronapp-rad-project/src/main/java/blockly/Application.blockly +12 -0
  745. package/project/W/cronapp-rad-project/src/main/java/blockly/Application.java +30 -0
  746. package/project/W/cronapp-rad-project/src/main/java/blockly/RoleManager.blockly +60 -0
  747. package/project/W/cronapp-rad-project/src/main/java/blockly/RoleManager.java +61 -0
  748. package/project/W/cronapp-rad-project/src/main/java/blockly/UserControl.blockly +90 -0
  749. package/project/W/cronapp-rad-project/src/main/java/blockly/UserControl.java +55 -0
  750. package/project/W/cronapp-rad-project/src/main/java/blockly/UserManager.blockly +79 -0
  751. package/project/W/cronapp-rad-project/src/main/java/blockly/UserManager.java +76 -0
  752. package/project/W/cronapp-rad-project/src/main/java/blockly/__copydata.ftl +10 -0
  753. package/project/W/cronapp-rad-project/src/main/java/dashboards/.gitkeep +0 -0
  754. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages.java +31 -0
  755. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages_en_US.properties +57 -0
  756. package/project/W/cronapp-rad-project/src/main/java/i18n/Messages_pt_BR.properties +58 -0
  757. package/project/W/cronapp-rad-project/src/main/java/i18n/translate.string.ftl +1 -0
  758. package/project/W/cronapp-rad-project/src/main/java/reports/.gitkeep +0 -0
  759. package/project/W/cronapp-rad-project/src/main/java/social.properties +14 -0
  760. package/project/W/cronapp-rad-project/src/main/resources/__copydata.ftl +6 -0
  761. package/project/W/cronapp-rad-project/src/main/resources/application.properties.ftl +28 -0
  762. package/project/W/cronapp-rad-project/src/main/resources/assets/.gitkeep +0 -0
  763. package/project/W/cronapp-rad-project/src/main/resources/bpm/.gitkeep +0 -0
  764. package/project/W/cronapp-rad-project/src/main/resources/templates/__copydata.ftl +4 -0
  765. package/project/W/cronapp-rad-project/src/main/resources/templates/reset-password.ftlh +113 -0
  766. package/project/W/cronapp-rad-project/src/main/resources/templates/reset-password_pt_BR.ftlh +114 -0
  767. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/.bowerrc +4 -0
  768. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/__copydata.ftl +13 -0
  769. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bower.json +30 -0
  770. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/components/.gitkeep +0 -0
  771. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/cronapp.json +1 -0
  772. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/css/app.css.ftl +0 -0
  773. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/frontboost/authentication.json.ftl +65 -0
  774. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/frontboost/authorization.json +154 -0
  775. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/i18n/locale_en_us.json +185 -0
  776. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/i18n/locale_pt_br.json +185 -0
  777. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/index.html.ftl +104 -0
  778. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/__copydata.ftl +6 -0
  779. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/MutualAuth.blockly +21 -0
  780. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/MutualAuth.blockly.js +38 -0
  781. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/UserControl.blockly +129 -0
  782. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/UserControl.blockly.js +63 -0
  783. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/__copydata.ftl +7 -0
  784. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly +458 -0
  785. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly.js +151 -0
  786. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/__copydata.ftl +4 -0
  787. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/custom.controllers.js +11 -0
  788. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/customModules.js +1 -0
  789. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/events.js +0 -0
  790. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/public/assets/app-logo-login.svg +39 -0
  791. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/__copydata.ftl +7 -0
  792. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/__copydata.ftl +3 -0
  793. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/auditlog.search.view.html +95 -0
  794. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/role.view.html +99 -0
  795. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/user.view.html +130 -0
  796. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/error/403.view.html +14 -0
  797. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/error/404.view.html +14 -0
  798. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/__copydata.ftl +1 -0
  799. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home.view.html.ftl +89 -0
  800. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home2.view.html.ftl +162 -0
  801. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +197 -0
  802. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/__copydata.ftl +7 -0
  803. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/home.view.html.ftl +25 -0
  804. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/privacy/cookies.view.html +75 -0
  805. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/reset-password.view.html.ftl +30 -0
  806. package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/signup.view.html +65 -0
  807. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/__linksInherit +3 -0
  808. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/components/.gitkeep +0 -0
  809. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/cronapp.json +1 -0
  810. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/index.html.ftl +79 -0
  811. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/public/assets/app-logo-login.svg +39 -0
  812. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/__linksInherit +1 -0
  813. package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/public/home.view.html.ftl +39 -0
  814. package/project/W/cronapp-rad-project/src/test/java/blockly/.gitkeep +0 -0
  815. package/project/W/cronapp-rad-project/template.properties +118 -0
  816. package/project/W/cronapp-rad-project/template_en_US.properties +34 -0
  817. package/project/W/cronapp-rad-project/template_pt_BR.properties +34 -0
  818. package/project/W/group.properties +5 -0
  819. package/project/W/web.png +0 -0
  820. package/templates/low-code/aquamarine.png +0 -0
  821. package/templates/low-code/cerulean.png +0 -0
  822. package/templates/low-code/cosmo.png +0 -0
  823. package/templates/low-code/cyborg.png +0 -0
  824. package/templates/low-code/darkly.png +0 -0
  825. package/templates/low-code/data-layer/BUSINESS.ftl +340 -0
  826. package/templates/low-code/data-layer/DAO.ftl +46 -0
  827. package/templates/low-code/data-layer/ENTITIES.ftl +391 -0
  828. package/templates/low-code/data-layer/ENTITIESPK.ftl +119 -0
  829. package/templates/low-code/data-layer/Job.java.ftl +59 -0
  830. package/templates/low-code/data-layer/REST.ftl +359 -0
  831. package/templates/low-code/data-layer/RESTAPPLICATION.ftl +76 -0
  832. package/templates/low-code/data-layer/RESTWebService.ftl +111 -0
  833. package/templates/low-code/data-layer/RESTWebServicePageExample.ftl +64 -0
  834. package/templates/low-code/data-layer/SecurityPermission.java.ftl +53 -0
  835. package/templates/low-code/data-layer/SpringBootMain.java.ftl +39 -0
  836. package/templates/low-code/data-layer/TEST.ftl +9 -0
  837. package/templates/low-code/data-layer/dropbox/DROPBOX_CONSTANTS.ftl +1 -0
  838. package/templates/low-code/data-layer/dropbox/DROPBOX_DELETE.ftl +1 -0
  839. package/templates/low-code/data-layer/dropbox/DROPBOX_GET.ftl +1 -0
  840. package/templates/low-code/data-layer/dropbox/DROPBOX_LIST.ftl +1 -0
  841. package/templates/low-code/data-layer/dropbox/DROPBOX_POST.ftl +20 -0
  842. package/templates/low-code/data-layer/dropbox/DROPBOX_PUT.ftl +21 -0
  843. package/templates/low-code/data-layer/template.properties +58 -0
  844. package/templates/low-code/dsgov.png +0 -0
  845. package/templates/low-code/flatly.png +0 -0
  846. package/templates/low-code/fuse.png +0 -0
  847. package/templates/low-code/journal.png +0 -0
  848. package/templates/low-code/krypton.png +0 -0
  849. package/templates/low-code/lumen.png +0 -0
  850. package/templates/low-code/material-round.png +0 -0
  851. package/templates/low-code/material.png +0 -0
  852. package/templates/low-code/nature.png +0 -0
  853. package/templates/low-code/paper.png +0 -0
  854. package/templates/low-code/readable.png +0 -0
  855. package/templates/low-code/sandstone.png +0 -0
  856. package/templates/low-code/simplex.png +0 -0
  857. package/templates/low-code/slate.png +0 -0
  858. package/templates/low-code/spacelab.png +0 -0
  859. package/templates/low-code/superhero.png +0 -0
  860. package/templates/low-code/united.png +0 -0
  861. package/templates/low-code/yeti.png +0 -0
  862. package/user/.code/User/keybindings.json +3 -0
  863. package/user/.code/User/settings.json +6 -0
@@ -0,0 +1,1863 @@
1
+ // Platform: browser
2
+ // c517ca811b4948b630e0b74dbae6c9637939da24
3
+ /*
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ */
21
+ ;(function() {
22
+ var PLATFORM_VERSION_BUILD_LABEL = '4.1.0';
23
+ // file: src/scripts/require.js
24
+
25
+ /*jshint -W079 */
26
+ /*jshint -W020 */
27
+
28
+ var require,
29
+ define;
30
+
31
+ (function () {
32
+ var modules = {},
33
+ // Stack of moduleIds currently being built.
34
+ requireStack = [],
35
+ // Map of module ID -> index into requireStack of modules currently being built.
36
+ inProgressModules = {},
37
+ SEPARATOR = ".";
38
+
39
+
40
+
41
+ function build(module) {
42
+ var factory = module.factory,
43
+ localRequire = function (id) {
44
+ var resultantId = id;
45
+ //Its a relative path, so lop off the last portion and add the id (minus "./")
46
+ if (id.charAt(0) === ".") {
47
+ resultantId = module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + SEPARATOR + id.slice(2);
48
+ }
49
+ return require(resultantId);
50
+ };
51
+ module.exports = {};
52
+ delete module.factory;
53
+ factory(localRequire, module.exports, module);
54
+ return module.exports;
55
+ }
56
+
57
+ require = function (id) {
58
+ if (!modules[id]) {
59
+ throw "module " + id + " not found";
60
+ } else if (id in inProgressModules) {
61
+ var cycle = requireStack.slice(inProgressModules[id]).join('->') + '->' + id;
62
+ throw "Cycle in require graph: " + cycle;
63
+ }
64
+ if (modules[id].factory) {
65
+ try {
66
+ inProgressModules[id] = requireStack.length;
67
+ requireStack.push(id);
68
+ return build(modules[id]);
69
+ } finally {
70
+ delete inProgressModules[id];
71
+ requireStack.pop();
72
+ }
73
+ }
74
+ return modules[id].exports;
75
+ };
76
+
77
+ define = function (id, factory) {
78
+ if (modules[id]) {
79
+ throw "module " + id + " already defined";
80
+ }
81
+
82
+ modules[id] = {
83
+ id: id,
84
+ factory: factory
85
+ };
86
+ };
87
+
88
+ define.remove = function (id) {
89
+ delete modules[id];
90
+ };
91
+
92
+ define.moduleMap = modules;
93
+ })();
94
+
95
+ //Export for use in node
96
+ if (typeof module === "object" && typeof require === "function") {
97
+ module.exports.require = require;
98
+ module.exports.define = define;
99
+ }
100
+
101
+ // file: src/cordova.js
102
+ define("cordova", function(require, exports, module) {
103
+
104
+ // Workaround for Windows 10 in hosted environment case
105
+ // http://www.w3.org/html/wg/drafts/html/master/browsers.html#named-access-on-the-window-object
106
+ if (window.cordova && !(window.cordova instanceof HTMLElement)) {
107
+ throw new Error("cordova already defined");
108
+ }
109
+
110
+
111
+ var channel = require('cordova/channel');
112
+ var platform = require('cordova/platform');
113
+
114
+
115
+ /**
116
+ * Intercept calls to addEventListener + removeEventListener and handle deviceready,
117
+ * resume, and pause events.
118
+ */
119
+ var m_document_addEventListener = document.addEventListener;
120
+ var m_document_removeEventListener = document.removeEventListener;
121
+ var m_window_addEventListener = window.addEventListener;
122
+ var m_window_removeEventListener = window.removeEventListener;
123
+
124
+ /**
125
+ * Houses custom event handlers to intercept on document + window event listeners.
126
+ */
127
+ var documentEventHandlers = {},
128
+ windowEventHandlers = {};
129
+
130
+ document.addEventListener = function(evt, handler, capture) {
131
+ var e = evt.toLowerCase();
132
+ if (typeof documentEventHandlers[e] != 'undefined') {
133
+ documentEventHandlers[e].subscribe(handler);
134
+ } else {
135
+ m_document_addEventListener.call(document, evt, handler, capture);
136
+ }
137
+ };
138
+
139
+ window.addEventListener = function(evt, handler, capture) {
140
+ var e = evt.toLowerCase();
141
+ if (typeof windowEventHandlers[e] != 'undefined') {
142
+ windowEventHandlers[e].subscribe(handler);
143
+ } else {
144
+ m_window_addEventListener.call(window, evt, handler, capture);
145
+ }
146
+ };
147
+
148
+ document.removeEventListener = function(evt, handler, capture) {
149
+ var e = evt.toLowerCase();
150
+ // If unsubscribing from an event that is handled by a plugin
151
+ if (typeof documentEventHandlers[e] != "undefined") {
152
+ documentEventHandlers[e].unsubscribe(handler);
153
+ } else {
154
+ m_document_removeEventListener.call(document, evt, handler, capture);
155
+ }
156
+ };
157
+
158
+ window.removeEventListener = function(evt, handler, capture) {
159
+ var e = evt.toLowerCase();
160
+ // If unsubscribing from an event that is handled by a plugin
161
+ if (typeof windowEventHandlers[e] != "undefined") {
162
+ windowEventHandlers[e].unsubscribe(handler);
163
+ } else {
164
+ m_window_removeEventListener.call(window, evt, handler, capture);
165
+ }
166
+ };
167
+
168
+ function createEvent(type, data) {
169
+ var event = document.createEvent('Events');
170
+ event.initEvent(type, false, false);
171
+ if (data) {
172
+ for (var i in data) {
173
+ if (data.hasOwnProperty(i)) {
174
+ event[i] = data[i];
175
+ }
176
+ }
177
+ }
178
+ return event;
179
+ }
180
+
181
+
182
+ var cordova = {
183
+ define:define,
184
+ require:require,
185
+ version:PLATFORM_VERSION_BUILD_LABEL,
186
+ platformVersion:PLATFORM_VERSION_BUILD_LABEL,
187
+ platformId:platform.id,
188
+ /**
189
+ * Methods to add/remove your own addEventListener hijacking on document + window.
190
+ */
191
+ addWindowEventHandler:function(event) {
192
+ return (windowEventHandlers[event] = channel.create(event));
193
+ },
194
+ addStickyDocumentEventHandler:function(event) {
195
+ return (documentEventHandlers[event] = channel.createSticky(event));
196
+ },
197
+ addDocumentEventHandler:function(event) {
198
+ return (documentEventHandlers[event] = channel.create(event));
199
+ },
200
+ removeWindowEventHandler:function(event) {
201
+ delete windowEventHandlers[event];
202
+ },
203
+ removeDocumentEventHandler:function(event) {
204
+ delete documentEventHandlers[event];
205
+ },
206
+ /**
207
+ * Retrieve original event handlers that were replaced by Cordova
208
+ *
209
+ * @return object
210
+ */
211
+ getOriginalHandlers: function() {
212
+ return {'document': {'addEventListener': m_document_addEventListener, 'removeEventListener': m_document_removeEventListener},
213
+ 'window': {'addEventListener': m_window_addEventListener, 'removeEventListener': m_window_removeEventListener}};
214
+ },
215
+ /**
216
+ * Method to fire event from native code
217
+ * bNoDetach is required for events which cause an exception which needs to be caught in native code
218
+ */
219
+ fireDocumentEvent: function(type, data, bNoDetach) {
220
+ var evt = createEvent(type, data);
221
+ if (typeof documentEventHandlers[type] != 'undefined') {
222
+ if( bNoDetach ) {
223
+ documentEventHandlers[type].fire(evt);
224
+ }
225
+ else {
226
+ setTimeout(function() {
227
+ // Fire deviceready on listeners that were registered before cordova.js was loaded.
228
+ if (type == 'deviceready') {
229
+ document.dispatchEvent(evt);
230
+ }
231
+ documentEventHandlers[type].fire(evt);
232
+ }, 0);
233
+ }
234
+ } else {
235
+ document.dispatchEvent(evt);
236
+ }
237
+ },
238
+ fireWindowEvent: function(type, data) {
239
+ var evt = createEvent(type,data);
240
+ if (typeof windowEventHandlers[type] != 'undefined') {
241
+ setTimeout(function() {
242
+ windowEventHandlers[type].fire(evt);
243
+ }, 0);
244
+ } else {
245
+ window.dispatchEvent(evt);
246
+ }
247
+ },
248
+
249
+ /**
250
+ * Plugin callback mechanism.
251
+ */
252
+ // Randomize the starting callbackId to avoid collisions after refreshing or navigating.
253
+ // This way, it's very unlikely that any new callback would get the same callbackId as an old callback.
254
+ callbackId: Math.floor(Math.random() * 2000000000),
255
+ callbacks: {},
256
+ callbackStatus: {
257
+ NO_RESULT: 0,
258
+ OK: 1,
259
+ CLASS_NOT_FOUND_EXCEPTION: 2,
260
+ ILLEGAL_ACCESS_EXCEPTION: 3,
261
+ INSTANTIATION_EXCEPTION: 4,
262
+ MALFORMED_URL_EXCEPTION: 5,
263
+ IO_EXCEPTION: 6,
264
+ INVALID_ACTION: 7,
265
+ JSON_EXCEPTION: 8,
266
+ ERROR: 9
267
+ },
268
+
269
+ /**
270
+ * Called by native code when returning successful result from an action.
271
+ */
272
+ callbackSuccess: function(callbackId, args) {
273
+ cordova.callbackFromNative(callbackId, true, args.status, [args.message], args.keepCallback);
274
+ },
275
+
276
+ /**
277
+ * Called by native code when returning error result from an action.
278
+ */
279
+ callbackError: function(callbackId, args) {
280
+ // TODO: Deprecate callbackSuccess and callbackError in favour of callbackFromNative.
281
+ // Derive success from status.
282
+ cordova.callbackFromNative(callbackId, false, args.status, [args.message], args.keepCallback);
283
+ },
284
+
285
+ /**
286
+ * Called by native code when returning the result from an action.
287
+ */
288
+ callbackFromNative: function(callbackId, isSuccess, status, args, keepCallback) {
289
+ try {
290
+ var callback = cordova.callbacks[callbackId];
291
+ if (callback) {
292
+ if (isSuccess && status == cordova.callbackStatus.OK) {
293
+ callback.success && callback.success.apply(null, args);
294
+ } else if (!isSuccess) {
295
+ callback.fail && callback.fail.apply(null, args);
296
+ }
297
+ /*
298
+ else
299
+ Note, this case is intentionally not caught.
300
+ this can happen if isSuccess is true, but callbackStatus is NO_RESULT
301
+ which is used to remove a callback from the list without calling the callbacks
302
+ typically keepCallback is false in this case
303
+ */
304
+ // Clear callback if not expecting any more results
305
+ if (!keepCallback) {
306
+ delete cordova.callbacks[callbackId];
307
+ }
308
+ }
309
+ }
310
+ catch (err) {
311
+ var msg = "Error in " + (isSuccess ? "Success" : "Error") + " callbackId: " + callbackId + " : " + err;
312
+ console && console.log && console.log(msg);
313
+ cordova.fireWindowEvent("cordovacallbackerror", { 'message': msg });
314
+ throw err;
315
+ }
316
+ },
317
+ addConstructor: function(func) {
318
+ channel.onCordovaReady.subscribe(function() {
319
+ try {
320
+ func();
321
+ } catch(e) {
322
+ console.log("Failed to run constructor: " + e);
323
+ }
324
+ });
325
+ }
326
+ };
327
+
328
+
329
+ module.exports = cordova;
330
+
331
+ });
332
+
333
+ // file: src/common/argscheck.js
334
+ define("cordova/argscheck", function(require, exports, module) {
335
+
336
+ var utils = require('cordova/utils');
337
+
338
+ var moduleExports = module.exports;
339
+
340
+ var typeMap = {
341
+ 'A': 'Array',
342
+ 'D': 'Date',
343
+ 'N': 'Number',
344
+ 'S': 'String',
345
+ 'F': 'Function',
346
+ 'O': 'Object'
347
+ };
348
+
349
+ function extractParamName(callee, argIndex) {
350
+ return (/.*?\((.*?)\)/).exec(callee)[1].split(', ')[argIndex];
351
+ }
352
+
353
+ function checkArgs(spec, functionName, args, opt_callee) {
354
+ if (!moduleExports.enableChecks) {
355
+ return;
356
+ }
357
+ var errMsg = null;
358
+ var typeName;
359
+ for (var i = 0; i < spec.length; ++i) {
360
+ var c = spec.charAt(i),
361
+ cUpper = c.toUpperCase(),
362
+ arg = args[i];
363
+ // Asterix means allow anything.
364
+ if (c == '*') {
365
+ continue;
366
+ }
367
+ typeName = utils.typeName(arg);
368
+ if ((arg === null || arg === undefined) && c == cUpper) {
369
+ continue;
370
+ }
371
+ if (typeName != typeMap[cUpper]) {
372
+ errMsg = 'Expected ' + typeMap[cUpper];
373
+ break;
374
+ }
375
+ }
376
+ if (errMsg) {
377
+ errMsg += ', but got ' + typeName + '.';
378
+ errMsg = 'Wrong type for parameter "' + extractParamName(opt_callee || args.callee, i) + '" of ' + functionName + ': ' + errMsg;
379
+ // Don't log when running unit tests.
380
+ if (typeof jasmine == 'undefined') {
381
+ console.error(errMsg);
382
+ }
383
+ throw TypeError(errMsg);
384
+ }
385
+ }
386
+
387
+ function getValue(value, defaultValue) {
388
+ return value === undefined ? defaultValue : value;
389
+ }
390
+
391
+ moduleExports.checkArgs = checkArgs;
392
+ moduleExports.getValue = getValue;
393
+ moduleExports.enableChecks = true;
394
+
395
+
396
+ });
397
+
398
+ // file: src/common/base64.js
399
+ define("cordova/base64", function(require, exports, module) {
400
+
401
+ var base64 = exports;
402
+
403
+ base64.fromArrayBuffer = function(arrayBuffer) {
404
+ var array = new Uint8Array(arrayBuffer);
405
+ return uint8ToBase64(array);
406
+ };
407
+
408
+ base64.toArrayBuffer = function(str) {
409
+ var decodedStr = typeof atob != 'undefined' ? atob(str) : new Buffer(str,'base64').toString('binary');
410
+ var arrayBuffer = new ArrayBuffer(decodedStr.length);
411
+ var array = new Uint8Array(arrayBuffer);
412
+ for (var i=0, len=decodedStr.length; i < len; i++) {
413
+ array[i] = decodedStr.charCodeAt(i);
414
+ }
415
+ return arrayBuffer;
416
+ };
417
+
418
+ //------------------------------------------------------------------------------
419
+
420
+ /* This code is based on the performance tests at http://jsperf.com/b64tests
421
+ * This 12-bit-at-a-time algorithm was the best performing version on all
422
+ * platforms tested.
423
+ */
424
+
425
+ var b64_6bit = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
426
+ var b64_12bit;
427
+
428
+ var b64_12bitTable = function() {
429
+ b64_12bit = [];
430
+ for (var i=0; i<64; i++) {
431
+ for (var j=0; j<64; j++) {
432
+ b64_12bit[i*64+j] = b64_6bit[i] + b64_6bit[j];
433
+ }
434
+ }
435
+ b64_12bitTable = function() { return b64_12bit; };
436
+ return b64_12bit;
437
+ };
438
+
439
+ function uint8ToBase64(rawData) {
440
+ var numBytes = rawData.byteLength;
441
+ var output="";
442
+ var segment;
443
+ var table = b64_12bitTable();
444
+ for (var i=0;i<numBytes-2;i+=3) {
445
+ segment = (rawData[i] << 16) + (rawData[i+1] << 8) + rawData[i+2];
446
+ output += table[segment >> 12];
447
+ output += table[segment & 0xfff];
448
+ }
449
+ if (numBytes - i == 2) {
450
+ segment = (rawData[i] << 16) + (rawData[i+1] << 8);
451
+ output += table[segment >> 12];
452
+ output += b64_6bit[(segment & 0xfff) >> 6];
453
+ output += '=';
454
+ } else if (numBytes - i == 1) {
455
+ segment = (rawData[i] << 16);
456
+ output += table[segment >> 12];
457
+ output += '==';
458
+ }
459
+ return output;
460
+ }
461
+
462
+ });
463
+
464
+ // file: src/common/builder.js
465
+ define("cordova/builder", function(require, exports, module) {
466
+
467
+ var utils = require('cordova/utils');
468
+
469
+ function each(objects, func, context) {
470
+ for (var prop in objects) {
471
+ if (objects.hasOwnProperty(prop)) {
472
+ func.apply(context, [objects[prop], prop]);
473
+ }
474
+ }
475
+ }
476
+
477
+ function clobber(obj, key, value) {
478
+ exports.replaceHookForTesting(obj, key);
479
+ var needsProperty = false;
480
+ try {
481
+ obj[key] = value;
482
+ } catch (e) {
483
+ needsProperty = true;
484
+ }
485
+ // Getters can only be overridden by getters.
486
+ if (needsProperty || obj[key] !== value) {
487
+ utils.defineGetter(obj, key, function() {
488
+ return value;
489
+ });
490
+ }
491
+ }
492
+
493
+ function assignOrWrapInDeprecateGetter(obj, key, value, message) {
494
+ if (message) {
495
+ utils.defineGetter(obj, key, function() {
496
+ console.log(message);
497
+ delete obj[key];
498
+ clobber(obj, key, value);
499
+ return value;
500
+ });
501
+ } else {
502
+ clobber(obj, key, value);
503
+ }
504
+ }
505
+
506
+ function include(parent, objects, clobber, merge) {
507
+ each(objects, function (obj, key) {
508
+ try {
509
+ var result = obj.path ? require(obj.path) : {};
510
+
511
+ if (clobber) {
512
+ // Clobber if it doesn't exist.
513
+ if (typeof parent[key] === 'undefined') {
514
+ assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
515
+ } else if (typeof obj.path !== 'undefined') {
516
+ // If merging, merge properties onto parent, otherwise, clobber.
517
+ if (merge) {
518
+ recursiveMerge(parent[key], result);
519
+ } else {
520
+ assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
521
+ }
522
+ }
523
+ result = parent[key];
524
+ } else {
525
+ // Overwrite if not currently defined.
526
+ if (typeof parent[key] == 'undefined') {
527
+ assignOrWrapInDeprecateGetter(parent, key, result, obj.deprecated);
528
+ } else {
529
+ // Set result to what already exists, so we can build children into it if they exist.
530
+ result = parent[key];
531
+ }
532
+ }
533
+
534
+ if (obj.children) {
535
+ include(result, obj.children, clobber, merge);
536
+ }
537
+ } catch(e) {
538
+ utils.alert('Exception building Cordova JS globals: ' + e + ' for key "' + key + '"');
539
+ }
540
+ });
541
+ }
542
+
543
+ /**
544
+ * Merge properties from one object onto another recursively. Properties from
545
+ * the src object will overwrite existing target property.
546
+ *
547
+ * @param target Object to merge properties into.
548
+ * @param src Object to merge properties from.
549
+ */
550
+ function recursiveMerge(target, src) {
551
+ for (var prop in src) {
552
+ if (src.hasOwnProperty(prop)) {
553
+ if (target.prototype && target.prototype.constructor === target) {
554
+ // If the target object is a constructor override off prototype.
555
+ clobber(target.prototype, prop, src[prop]);
556
+ } else {
557
+ if (typeof src[prop] === 'object' && typeof target[prop] === 'object') {
558
+ recursiveMerge(target[prop], src[prop]);
559
+ } else {
560
+ clobber(target, prop, src[prop]);
561
+ }
562
+ }
563
+ }
564
+ }
565
+ }
566
+
567
+ exports.buildIntoButDoNotClobber = function(objects, target) {
568
+ include(target, objects, false, false);
569
+ };
570
+ exports.buildIntoAndClobber = function(objects, target) {
571
+ include(target, objects, true, false);
572
+ };
573
+ exports.buildIntoAndMerge = function(objects, target) {
574
+ include(target, objects, true, true);
575
+ };
576
+ exports.recursiveMerge = recursiveMerge;
577
+ exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter;
578
+ exports.replaceHookForTesting = function() {};
579
+
580
+ });
581
+
582
+ // file: src/common/channel.js
583
+ define("cordova/channel", function(require, exports, module) {
584
+
585
+ var utils = require('cordova/utils'),
586
+ nextGuid = 1;
587
+
588
+ /**
589
+ * Custom pub-sub "channel" that can have functions subscribed to it
590
+ * This object is used to define and control firing of events for
591
+ * cordova initialization, as well as for custom events thereafter.
592
+ *
593
+ * The order of events during page load and Cordova startup is as follows:
594
+ *
595
+ * onDOMContentLoaded* Internal event that is received when the web page is loaded and parsed.
596
+ * onNativeReady* Internal event that indicates the Cordova native side is ready.
597
+ * onCordovaReady* Internal event fired when all Cordova JavaScript objects have been created.
598
+ * onDeviceReady* User event fired to indicate that Cordova is ready
599
+ * onResume User event fired to indicate a start/resume lifecycle event
600
+ * onPause User event fired to indicate a pause lifecycle event
601
+ *
602
+ * The events marked with an * are sticky. Once they have fired, they will stay in the fired state.
603
+ * All listeners that subscribe after the event is fired will be executed right away.
604
+ *
605
+ * The only Cordova events that user code should register for are:
606
+ * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript
607
+ * pause App has moved to background
608
+ * resume App has returned to foreground
609
+ *
610
+ * Listeners can be registered as:
611
+ * document.addEventListener("deviceready", myDeviceReadyListener, false);
612
+ * document.addEventListener("resume", myResumeListener, false);
613
+ * document.addEventListener("pause", myPauseListener, false);
614
+ *
615
+ * The DOM lifecycle events should be used for saving and restoring state
616
+ * window.onload
617
+ * window.onunload
618
+ *
619
+ */
620
+
621
+ /**
622
+ * Channel
623
+ * @constructor
624
+ * @param type String the channel name
625
+ */
626
+ var Channel = function(type, sticky) {
627
+ this.type = type;
628
+ // Map of guid -> function.
629
+ this.handlers = {};
630
+ // 0 = Non-sticky, 1 = Sticky non-fired, 2 = Sticky fired.
631
+ this.state = sticky ? 1 : 0;
632
+ // Used in sticky mode to remember args passed to fire().
633
+ this.fireArgs = null;
634
+ // Used by onHasSubscribersChange to know if there are any listeners.
635
+ this.numHandlers = 0;
636
+ // Function that is called when the first listener is subscribed, or when
637
+ // the last listener is unsubscribed.
638
+ this.onHasSubscribersChange = null;
639
+ },
640
+ channel = {
641
+ /**
642
+ * Calls the provided function only after all of the channels specified
643
+ * have been fired. All channels must be sticky channels.
644
+ */
645
+ join: function(h, c) {
646
+ var len = c.length,
647
+ i = len,
648
+ f = function() {
649
+ if (!(--i)) h();
650
+ };
651
+ for (var j=0; j<len; j++) {
652
+ if (c[j].state === 0) {
653
+ throw Error('Can only use join with sticky channels.');
654
+ }
655
+ c[j].subscribe(f);
656
+ }
657
+ if (!len) h();
658
+ },
659
+ create: function(type) {
660
+ return channel[type] = new Channel(type, false);
661
+ },
662
+ createSticky: function(type) {
663
+ return channel[type] = new Channel(type, true);
664
+ },
665
+
666
+ /**
667
+ * cordova Channels that must fire before "deviceready" is fired.
668
+ */
669
+ deviceReadyChannelsArray: [],
670
+ deviceReadyChannelsMap: {},
671
+
672
+ /**
673
+ * Indicate that a feature needs to be initialized before it is ready to be used.
674
+ * This holds up Cordova's "deviceready" event until the feature has been initialized
675
+ * and Cordova.initComplete(feature) is called.
676
+ *
677
+ * @param feature {String} The unique feature name
678
+ */
679
+ waitForInitialization: function(feature) {
680
+ if (feature) {
681
+ var c = channel[feature] || this.createSticky(feature);
682
+ this.deviceReadyChannelsMap[feature] = c;
683
+ this.deviceReadyChannelsArray.push(c);
684
+ }
685
+ },
686
+
687
+ /**
688
+ * Indicate that initialization code has completed and the feature is ready to be used.
689
+ *
690
+ * @param feature {String} The unique feature name
691
+ */
692
+ initializationComplete: function(feature) {
693
+ var c = this.deviceReadyChannelsMap[feature];
694
+ if (c) {
695
+ c.fire();
696
+ }
697
+ }
698
+ };
699
+
700
+ function forceFunction(f) {
701
+ if (typeof f != 'function') throw "Function required as first argument!";
702
+ }
703
+
704
+ /**
705
+ * Subscribes the given function to the channel. Any time that
706
+ * Channel.fire is called so too will the function.
707
+ * Optionally specify an execution context for the function
708
+ * and a guid that can be used to stop subscribing to the channel.
709
+ * Returns the guid.
710
+ */
711
+ Channel.prototype.subscribe = function(f, c) {
712
+ // need a function to call
713
+ forceFunction(f);
714
+ if (this.state == 2) {
715
+ f.apply(c || this, this.fireArgs);
716
+ return;
717
+ }
718
+
719
+ var func = f,
720
+ guid = f.observer_guid;
721
+ if (typeof c == "object") { func = utils.close(c, f); }
722
+
723
+ if (!guid) {
724
+ // first time any channel has seen this subscriber
725
+ guid = '' + nextGuid++;
726
+ }
727
+ func.observer_guid = guid;
728
+ f.observer_guid = guid;
729
+
730
+ // Don't add the same handler more than once.
731
+ if (!this.handlers[guid]) {
732
+ this.handlers[guid] = func;
733
+ this.numHandlers++;
734
+ if (this.numHandlers == 1) {
735
+ this.onHasSubscribersChange && this.onHasSubscribersChange();
736
+ }
737
+ }
738
+ };
739
+
740
+ /**
741
+ * Unsubscribes the function with the given guid from the channel.
742
+ */
743
+ Channel.prototype.unsubscribe = function(f) {
744
+ // need a function to unsubscribe
745
+ forceFunction(f);
746
+
747
+ var guid = f.observer_guid,
748
+ handler = this.handlers[guid];
749
+ if (handler) {
750
+ delete this.handlers[guid];
751
+ this.numHandlers--;
752
+ if (this.numHandlers === 0) {
753
+ this.onHasSubscribersChange && this.onHasSubscribersChange();
754
+ }
755
+ }
756
+ };
757
+
758
+ /**
759
+ * Calls all functions subscribed to this channel.
760
+ */
761
+ Channel.prototype.fire = function(e) {
762
+ var fail = false,
763
+ fireArgs = Array.prototype.slice.call(arguments);
764
+ // Apply stickiness.
765
+ if (this.state == 1) {
766
+ this.state = 2;
767
+ this.fireArgs = fireArgs;
768
+ }
769
+ if (this.numHandlers) {
770
+ // Copy the values first so that it is safe to modify it from within
771
+ // callbacks.
772
+ var toCall = [];
773
+ for (var item in this.handlers) {
774
+ toCall.push(this.handlers[item]);
775
+ }
776
+ for (var i = 0; i < toCall.length; ++i) {
777
+ toCall[i].apply(this, fireArgs);
778
+ }
779
+ if (this.state == 2 && this.numHandlers) {
780
+ this.numHandlers = 0;
781
+ this.handlers = {};
782
+ this.onHasSubscribersChange && this.onHasSubscribersChange();
783
+ }
784
+ }
785
+ };
786
+
787
+
788
+ // defining them here so they are ready super fast!
789
+ // DOM event that is received when the web page is loaded and parsed.
790
+ channel.createSticky('onDOMContentLoaded');
791
+
792
+ // Event to indicate the Cordova native side is ready.
793
+ channel.createSticky('onNativeReady');
794
+
795
+ // Event to indicate that all Cordova JavaScript objects have been created
796
+ // and it's time to run plugin constructors.
797
+ channel.createSticky('onCordovaReady');
798
+
799
+ // Event to indicate that all automatically loaded JS plugins are loaded and ready.
800
+ // FIXME remove this
801
+ channel.createSticky('onPluginsReady');
802
+
803
+ // Event to indicate that Cordova is ready
804
+ channel.createSticky('onDeviceReady');
805
+
806
+ // Event to indicate a resume lifecycle event
807
+ channel.create('onResume');
808
+
809
+ // Event to indicate a pause lifecycle event
810
+ channel.create('onPause');
811
+
812
+ // Channels that must fire before "deviceready" is fired.
813
+ channel.waitForInitialization('onCordovaReady');
814
+ channel.waitForInitialization('onDOMContentLoaded');
815
+
816
+ module.exports = channel;
817
+
818
+ });
819
+
820
+ // file: e:/cordova/cordova-browser/cordova-js-src/confighelper.js
821
+ define("cordova/confighelper", function(require, exports, module) {
822
+
823
+ var config;
824
+
825
+ function Config(xhr) {
826
+ function loadPreferences(xhr) {
827
+ var parser = new DOMParser();
828
+ var doc = parser.parseFromString(xhr.responseText, "application/xml");
829
+
830
+ var preferences = doc.getElementsByTagName("preference");
831
+ return Array.prototype.slice.call(preferences);
832
+ }
833
+
834
+ this.xhr = xhr;
835
+ this.preferences = loadPreferences(this.xhr);
836
+ }
837
+
838
+ function readConfig(success, error) {
839
+ var xhr;
840
+
841
+ if(typeof config != 'undefined') {
842
+ success(config);
843
+ }
844
+
845
+ function fail(msg) {
846
+ console.error(msg);
847
+
848
+ if(error) {
849
+ error(msg);
850
+ }
851
+ }
852
+
853
+ var xhrStatusChangeHandler = function() {
854
+ if (xhr.readyState == 4) {
855
+ if (xhr.status == 200 || xhr.status == 304 || xhr.status === 0 /* file:// */) {
856
+ config = new Config(xhr);
857
+ success(config);
858
+ }
859
+ else {
860
+ fail('[Browser][cordova.js][xhrStatusChangeHandler] Could not XHR config.xml: ' + xhr.statusText);
861
+ }
862
+ }
863
+ };
864
+
865
+ if ("ActiveXObject" in window) {
866
+ // Needed for XHR-ing via file:// protocol in IE
867
+ xhr = new window.ActiveXObject("MSXML2.XMLHTTP");
868
+ xhr.onreadystatechange = xhrStatusChangeHandler;
869
+ } else {
870
+ xhr = new XMLHttpRequest();
871
+ xhr.addEventListener("load", xhrStatusChangeHandler);
872
+ }
873
+
874
+ try {
875
+ xhr.open("get", "/config.xml", true);
876
+ xhr.send();
877
+ } catch(e) {
878
+ fail('[Browser][cordova.js][readConfig] Could not XHR config.xml: ' + JSON.stringify(e));
879
+ }
880
+ }
881
+
882
+ /**
883
+ * Reads a preference value from config.xml.
884
+ * Returns preference value or undefined if it does not exist.
885
+ * @param {String} preferenceName Preference name to read */
886
+ Config.prototype.getPreferenceValue = function getPreferenceValue(preferenceName) {
887
+ var preferenceItem = this.preferences && this.preferences.filter(function(item) {
888
+ return item.attributes.name && item.attributes.name.value === preferenceName;
889
+ });
890
+
891
+ if(preferenceItem && preferenceItem[0] && preferenceItem[0].attributes && preferenceItem[0].attributes.value) {
892
+ return preferenceItem[0].attributes.value.value;
893
+ }
894
+ };
895
+
896
+ exports.readConfig = readConfig;
897
+
898
+ });
899
+
900
+ // file: e:/cordova/cordova-browser/cordova-js-src/exec.js
901
+ define("cordova/exec", function(require, exports, module) {
902
+
903
+ /*jslint sloppy:true, plusplus:true*/
904
+ /*global require, module, console */
905
+
906
+ var cordova = require('cordova');
907
+ var execProxy = require('cordova/exec/proxy');
908
+
909
+ /**
910
+ * Execute a cordova command. It is up to the native side whether this action
911
+ * is synchronous or asynchronous. The native side can return:
912
+ * Synchronous: PluginResult object as a JSON string
913
+ * Asynchronous: Empty string ""
914
+ * If async, the native side will cordova.callbackSuccess or cordova.callbackError,
915
+ * depending upon the result of the action.
916
+ *
917
+ * @param {Function} success The success callback
918
+ * @param {Function} fail The fail callback
919
+ * @param {String} service The name of the service to use
920
+ * @param {String} action Action to be run in cordova
921
+ * @param {String[]} [args] Zero or more arguments to pass to the method
922
+ */
923
+ module.exports = function (success, fail, service, action, args) {
924
+
925
+ var proxy = execProxy.get(service, action);
926
+
927
+ args = args || [];
928
+
929
+ if (proxy) {
930
+
931
+ var callbackId = service + cordova.callbackId++;
932
+
933
+ if (typeof success === "function" || typeof fail === "function") {
934
+ cordova.callbacks[callbackId] = {success: success, fail: fail};
935
+ }
936
+ try {
937
+
938
+
939
+
940
+ // callbackOptions param represents additional optional parameters command could pass back, like keepCallback or
941
+ // custom callbackId, for example {callbackId: id, keepCallback: true, status: cordova.callbackStatus.JSON_EXCEPTION }
942
+ var onSuccess = function (result, callbackOptions) {
943
+ callbackOptions = callbackOptions || {};
944
+ var callbackStatus;
945
+ // covering both undefined and null.
946
+ // strict null comparison was causing callbackStatus to be undefined
947
+ // and then no callback was called because of the check in cordova.callbackFromNative
948
+ // see CB-8996 Mobilespec app hang on windows
949
+ if (callbackOptions.status !== undefined && callbackOptions.status !== null) {
950
+ callbackStatus = callbackOptions.status;
951
+ }
952
+ else {
953
+ callbackStatus = cordova.callbackStatus.OK;
954
+ }
955
+ cordova.callbackSuccess(callbackOptions.callbackId || callbackId,
956
+ {
957
+ status: callbackStatus,
958
+ message: result,
959
+ keepCallback: callbackOptions.keepCallback || false
960
+ });
961
+ };
962
+ var onError = function (err, callbackOptions) {
963
+ callbackOptions = callbackOptions || {};
964
+ var callbackStatus;
965
+ // covering both undefined and null.
966
+ // strict null comparison was causing callbackStatus to be undefined
967
+ // and then no callback was called because of the check in cordova.callbackFromNative
968
+ // note: status can be 0
969
+ if (callbackOptions.status !== undefined && callbackOptions.status !== null) {
970
+ callbackStatus = callbackOptions.status;
971
+ }
972
+ else {
973
+ callbackStatus = cordova.callbackStatus.OK;
974
+ }
975
+ cordova.callbackError(callbackOptions.callbackId || callbackId,
976
+ {
977
+ status: callbackStatus,
978
+ message: err,
979
+ keepCallback: callbackOptions.keepCallback || false
980
+ });
981
+ };
982
+ proxy(onSuccess, onError, args);
983
+
984
+ } catch (e) {
985
+ console.log("Exception calling native with command :: " + service + " :: " + action + " ::exception=" + e);
986
+ }
987
+ } else {
988
+
989
+ console.log("Error: exec proxy not found for :: " + service + " :: " + action);
990
+
991
+ if(typeof fail === "function" ) {
992
+ fail("Missing Command Error");
993
+ }
994
+ }
995
+ };
996
+
997
+ });
998
+
999
+ // file: src/common/exec/proxy.js
1000
+ define("cordova/exec/proxy", function(require, exports, module) {
1001
+
1002
+
1003
+ // internal map of proxy function
1004
+ var CommandProxyMap = {};
1005
+
1006
+ module.exports = {
1007
+
1008
+ // example: cordova.commandProxy.add("Accelerometer",{getCurrentAcceleration: function(successCallback, errorCallback, options) {...},...);
1009
+ add:function(id,proxyObj) {
1010
+ console.log("adding proxy for " + id);
1011
+ CommandProxyMap[id] = proxyObj;
1012
+ return proxyObj;
1013
+ },
1014
+
1015
+ // cordova.commandProxy.remove("Accelerometer");
1016
+ remove:function(id) {
1017
+ var proxy = CommandProxyMap[id];
1018
+ delete CommandProxyMap[id];
1019
+ CommandProxyMap[id] = null;
1020
+ return proxy;
1021
+ },
1022
+
1023
+ get:function(service,action) {
1024
+ return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null );
1025
+ }
1026
+ };
1027
+ });
1028
+
1029
+ // file: src/common/init.js
1030
+ define("cordova/init", function(require, exports, module) {
1031
+
1032
+ var channel = require('cordova/channel');
1033
+ var cordova = require('cordova');
1034
+ var modulemapper = require('cordova/modulemapper');
1035
+ var platform = require('cordova/platform');
1036
+ var pluginloader = require('cordova/pluginloader');
1037
+ var utils = require('cordova/utils');
1038
+
1039
+ var platformInitChannelsArray = [channel.onNativeReady, channel.onPluginsReady];
1040
+
1041
+ function logUnfiredChannels(arr) {
1042
+ for (var i = 0; i < arr.length; ++i) {
1043
+ if (arr[i].state != 2) {
1044
+ console.log('Channel not fired: ' + arr[i].type);
1045
+ }
1046
+ }
1047
+ }
1048
+
1049
+ window.setTimeout(function() {
1050
+ if (channel.onDeviceReady.state != 2) {
1051
+ console.log('deviceready has not fired after 5 seconds.');
1052
+ logUnfiredChannels(platformInitChannelsArray);
1053
+ logUnfiredChannels(channel.deviceReadyChannelsArray);
1054
+ }
1055
+ }, 5000);
1056
+
1057
+ // Replace navigator before any modules are required(), to ensure it happens as soon as possible.
1058
+ // We replace it so that properties that can't be clobbered can instead be overridden.
1059
+ function replaceNavigator(origNavigator) {
1060
+ var CordovaNavigator = function() {};
1061
+ CordovaNavigator.prototype = origNavigator;
1062
+ var newNavigator = new CordovaNavigator();
1063
+ // This work-around really only applies to new APIs that are newer than Function.bind.
1064
+ // Without it, APIs such as getGamepads() break.
1065
+ if (CordovaNavigator.bind) {
1066
+ for (var key in origNavigator) {
1067
+ if (typeof origNavigator[key] == 'function') {
1068
+ newNavigator[key] = origNavigator[key].bind(origNavigator);
1069
+ }
1070
+ else {
1071
+ (function(k) {
1072
+ utils.defineGetterSetter(newNavigator,key,function() {
1073
+ return origNavigator[k];
1074
+ });
1075
+ })(key);
1076
+ }
1077
+ }
1078
+ }
1079
+ return newNavigator;
1080
+ }
1081
+
1082
+ if (window.navigator) {
1083
+ window.navigator = replaceNavigator(window.navigator);
1084
+ }
1085
+
1086
+ if (!window.console) {
1087
+ window.console = {
1088
+ log: function(){}
1089
+ };
1090
+ }
1091
+ if (!window.console.warn) {
1092
+ window.console.warn = function(msg) {
1093
+ this.log("warn: " + msg);
1094
+ };
1095
+ }
1096
+
1097
+ // Register pause, resume and deviceready channels as events on document.
1098
+ channel.onPause = cordova.addDocumentEventHandler('pause');
1099
+ channel.onResume = cordova.addDocumentEventHandler('resume');
1100
+ channel.onActivated = cordova.addDocumentEventHandler('activated');
1101
+ channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');
1102
+
1103
+ // Listen for DOMContentLoaded and notify our channel subscribers.
1104
+ if (document.readyState == 'complete' || document.readyState == 'interactive') {
1105
+ channel.onDOMContentLoaded.fire();
1106
+ } else {
1107
+ document.addEventListener('DOMContentLoaded', function() {
1108
+ channel.onDOMContentLoaded.fire();
1109
+ }, false);
1110
+ }
1111
+
1112
+ // _nativeReady is global variable that the native side can set
1113
+ // to signify that the native code is ready. It is a global since
1114
+ // it may be called before any cordova JS is ready.
1115
+ if (window._nativeReady) {
1116
+ channel.onNativeReady.fire();
1117
+ }
1118
+
1119
+ modulemapper.clobbers('cordova', 'cordova');
1120
+ modulemapper.clobbers('cordova/exec', 'cordova.exec');
1121
+ modulemapper.clobbers('cordova/exec', 'Cordova.exec');
1122
+
1123
+ // Call the platform-specific initialization.
1124
+ platform.bootstrap && platform.bootstrap();
1125
+
1126
+ // Wrap in a setTimeout to support the use-case of having plugin JS appended to cordova.js.
1127
+ // The delay allows the attached modules to be defined before the plugin loader looks for them.
1128
+ setTimeout(function() {
1129
+ pluginloader.load(function() {
1130
+ channel.onPluginsReady.fire();
1131
+ });
1132
+ }, 0);
1133
+
1134
+ /**
1135
+ * Create all cordova objects once native side is ready.
1136
+ */
1137
+ channel.join(function() {
1138
+ modulemapper.mapModules(window);
1139
+
1140
+ platform.initialize && platform.initialize();
1141
+
1142
+ // Fire event to notify that all objects are created
1143
+ channel.onCordovaReady.fire();
1144
+
1145
+ // Fire onDeviceReady event once page has fully loaded, all
1146
+ // constructors have run and cordova info has been received from native
1147
+ // side.
1148
+ channel.join(function() {
1149
+ require('cordova').fireDocumentEvent('deviceready');
1150
+ }, channel.deviceReadyChannelsArray);
1151
+
1152
+ }, platformInitChannelsArray);
1153
+
1154
+
1155
+ });
1156
+
1157
+ // file: src/common/init_b.js
1158
+ define("cordova/init_b", function(require, exports, module) {
1159
+
1160
+ var channel = require('cordova/channel');
1161
+ var cordova = require('cordova');
1162
+ var modulemapper = require('cordova/modulemapper');
1163
+ var platform = require('cordova/platform');
1164
+ var pluginloader = require('cordova/pluginloader');
1165
+ var utils = require('cordova/utils');
1166
+
1167
+ var platformInitChannelsArray = [channel.onDOMContentLoaded, channel.onNativeReady, channel.onPluginsReady];
1168
+
1169
+ // setting exec
1170
+ cordova.exec = require('cordova/exec');
1171
+
1172
+ function logUnfiredChannels(arr) {
1173
+ for (var i = 0; i < arr.length; ++i) {
1174
+ if (arr[i].state != 2) {
1175
+ console.log('Channel not fired: ' + arr[i].type);
1176
+ }
1177
+ }
1178
+ }
1179
+
1180
+ window.setTimeout(function() {
1181
+ if (channel.onDeviceReady.state != 2) {
1182
+ console.log('deviceready has not fired after 5 seconds.');
1183
+ logUnfiredChannels(platformInitChannelsArray);
1184
+ logUnfiredChannels(channel.deviceReadyChannelsArray);
1185
+ }
1186
+ }, 5000);
1187
+
1188
+ // Replace navigator before any modules are required(), to ensure it happens as soon as possible.
1189
+ // We replace it so that properties that can't be clobbered can instead be overridden.
1190
+ function replaceNavigator(origNavigator) {
1191
+ var CordovaNavigator = function() {};
1192
+ CordovaNavigator.prototype = origNavigator;
1193
+ var newNavigator = new CordovaNavigator();
1194
+ // This work-around really only applies to new APIs that are newer than Function.bind.
1195
+ // Without it, APIs such as getGamepads() break.
1196
+ if (CordovaNavigator.bind) {
1197
+ for (var key in origNavigator) {
1198
+ if (typeof origNavigator[key] == 'function') {
1199
+ newNavigator[key] = origNavigator[key].bind(origNavigator);
1200
+ }
1201
+ else {
1202
+ (function(k) {
1203
+ utils.defineGetterSetter(newNavigator,key,function() {
1204
+ return origNavigator[k];
1205
+ });
1206
+ })(key);
1207
+ }
1208
+ }
1209
+ }
1210
+ return newNavigator;
1211
+ }
1212
+ if (window.navigator) {
1213
+ window.navigator = replaceNavigator(window.navigator);
1214
+ }
1215
+
1216
+ if (!window.console) {
1217
+ window.console = {
1218
+ log: function(){}
1219
+ };
1220
+ }
1221
+ if (!window.console.warn) {
1222
+ window.console.warn = function(msg) {
1223
+ this.log("warn: " + msg);
1224
+ };
1225
+ }
1226
+
1227
+ // Register pause, resume and deviceready channels as events on document.
1228
+ channel.onPause = cordova.addDocumentEventHandler('pause');
1229
+ channel.onResume = cordova.addDocumentEventHandler('resume');
1230
+ channel.onActivated = cordova.addDocumentEventHandler('activated');
1231
+ channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');
1232
+
1233
+ // Listen for DOMContentLoaded and notify our channel subscribers.
1234
+ if (document.readyState == 'complete' || document.readyState == 'interactive') {
1235
+ channel.onDOMContentLoaded.fire();
1236
+ } else {
1237
+ document.addEventListener('DOMContentLoaded', function() {
1238
+ channel.onDOMContentLoaded.fire();
1239
+ }, false);
1240
+ }
1241
+
1242
+ // _nativeReady is global variable that the native side can set
1243
+ // to signify that the native code is ready. It is a global since
1244
+ // it may be called before any cordova JS is ready.
1245
+ if (window._nativeReady) {
1246
+ channel.onNativeReady.fire();
1247
+ }
1248
+
1249
+ // Call the platform-specific initialization.
1250
+ platform.bootstrap && platform.bootstrap();
1251
+
1252
+ // Wrap in a setTimeout to support the use-case of having plugin JS appended to cordova.js.
1253
+ // The delay allows the attached modules to be defined before the plugin loader looks for them.
1254
+ setTimeout(function() {
1255
+ pluginloader.load(function() {
1256
+ channel.onPluginsReady.fire();
1257
+ });
1258
+ }, 0);
1259
+
1260
+ /**
1261
+ * Create all cordova objects once native side is ready.
1262
+ */
1263
+ channel.join(function() {
1264
+ modulemapper.mapModules(window);
1265
+
1266
+ platform.initialize && platform.initialize();
1267
+
1268
+ // Fire event to notify that all objects are created
1269
+ channel.onCordovaReady.fire();
1270
+
1271
+ // Fire onDeviceReady event once page has fully loaded, all
1272
+ // constructors have run and cordova info has been received from native
1273
+ // side.
1274
+ channel.join(function() {
1275
+ require('cordova').fireDocumentEvent('deviceready');
1276
+ }, channel.deviceReadyChannelsArray);
1277
+
1278
+ }, platformInitChannelsArray);
1279
+
1280
+ });
1281
+
1282
+ // file: src/common/modulemapper.js
1283
+ define("cordova/modulemapper", function(require, exports, module) {
1284
+
1285
+ var builder = require('cordova/builder'),
1286
+ moduleMap = define.moduleMap,
1287
+ symbolList,
1288
+ deprecationMap;
1289
+
1290
+ exports.reset = function() {
1291
+ symbolList = [];
1292
+ deprecationMap = {};
1293
+ };
1294
+
1295
+ function addEntry(strategy, moduleName, symbolPath, opt_deprecationMessage) {
1296
+ if (!(moduleName in moduleMap)) {
1297
+ throw new Error('Module ' + moduleName + ' does not exist.');
1298
+ }
1299
+ symbolList.push(strategy, moduleName, symbolPath);
1300
+ if (opt_deprecationMessage) {
1301
+ deprecationMap[symbolPath] = opt_deprecationMessage;
1302
+ }
1303
+ }
1304
+
1305
+ // Note: Android 2.3 does have Function.bind().
1306
+ exports.clobbers = function(moduleName, symbolPath, opt_deprecationMessage) {
1307
+ addEntry('c', moduleName, symbolPath, opt_deprecationMessage);
1308
+ };
1309
+
1310
+ exports.merges = function(moduleName, symbolPath, opt_deprecationMessage) {
1311
+ addEntry('m', moduleName, symbolPath, opt_deprecationMessage);
1312
+ };
1313
+
1314
+ exports.defaults = function(moduleName, symbolPath, opt_deprecationMessage) {
1315
+ addEntry('d', moduleName, symbolPath, opt_deprecationMessage);
1316
+ };
1317
+
1318
+ exports.runs = function(moduleName) {
1319
+ addEntry('r', moduleName, null);
1320
+ };
1321
+
1322
+ function prepareNamespace(symbolPath, context) {
1323
+ if (!symbolPath) {
1324
+ return context;
1325
+ }
1326
+ var parts = symbolPath.split('.');
1327
+ var cur = context;
1328
+ for (var i = 0, part; part = parts[i]; ++i) {
1329
+ cur = cur[part] = cur[part] || {};
1330
+ }
1331
+ return cur;
1332
+ }
1333
+
1334
+ exports.mapModules = function(context) {
1335
+ var origSymbols = {};
1336
+ context.CDV_origSymbols = origSymbols;
1337
+ for (var i = 0, len = symbolList.length; i < len; i += 3) {
1338
+ var strategy = symbolList[i];
1339
+ var moduleName = symbolList[i + 1];
1340
+ var module = require(moduleName);
1341
+ // <runs/>
1342
+ if (strategy == 'r') {
1343
+ continue;
1344
+ }
1345
+ var symbolPath = symbolList[i + 2];
1346
+ var lastDot = symbolPath.lastIndexOf('.');
1347
+ var namespace = symbolPath.substr(0, lastDot);
1348
+ var lastName = symbolPath.substr(lastDot + 1);
1349
+
1350
+ var deprecationMsg = symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath + '. ' + deprecationMsg : null;
1351
+ var parentObj = prepareNamespace(namespace, context);
1352
+ var target = parentObj[lastName];
1353
+
1354
+ if (strategy == 'm' && target) {
1355
+ builder.recursiveMerge(target, module);
1356
+ } else if ((strategy == 'd' && !target) || (strategy != 'd')) {
1357
+ if (!(symbolPath in origSymbols)) {
1358
+ origSymbols[symbolPath] = target;
1359
+ }
1360
+ builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
1361
+ }
1362
+ }
1363
+ };
1364
+
1365
+ exports.getOriginalSymbol = function(context, symbolPath) {
1366
+ var origSymbols = context.CDV_origSymbols;
1367
+ if (origSymbols && (symbolPath in origSymbols)) {
1368
+ return origSymbols[symbolPath];
1369
+ }
1370
+ var parts = symbolPath.split('.');
1371
+ var obj = context;
1372
+ for (var i = 0; i < parts.length; ++i) {
1373
+ obj = obj && obj[parts[i]];
1374
+ }
1375
+ return obj;
1376
+ };
1377
+
1378
+ exports.reset();
1379
+
1380
+
1381
+ });
1382
+
1383
+ // file: src/common/modulemapper_b.js
1384
+ define("cordova/modulemapper_b", function(require, exports, module) {
1385
+
1386
+ var builder = require('cordova/builder'),
1387
+ symbolList = [],
1388
+ deprecationMap;
1389
+
1390
+ exports.reset = function() {
1391
+ symbolList = [];
1392
+ deprecationMap = {};
1393
+ };
1394
+
1395
+ function addEntry(strategy, moduleName, symbolPath, opt_deprecationMessage) {
1396
+ symbolList.push(strategy, moduleName, symbolPath);
1397
+ if (opt_deprecationMessage) {
1398
+ deprecationMap[symbolPath] = opt_deprecationMessage;
1399
+ }
1400
+ }
1401
+
1402
+ // Note: Android 2.3 does have Function.bind().
1403
+ exports.clobbers = function(moduleName, symbolPath, opt_deprecationMessage) {
1404
+ addEntry('c', moduleName, symbolPath, opt_deprecationMessage);
1405
+ };
1406
+
1407
+ exports.merges = function(moduleName, symbolPath, opt_deprecationMessage) {
1408
+ addEntry('m', moduleName, symbolPath, opt_deprecationMessage);
1409
+ };
1410
+
1411
+ exports.defaults = function(moduleName, symbolPath, opt_deprecationMessage) {
1412
+ addEntry('d', moduleName, symbolPath, opt_deprecationMessage);
1413
+ };
1414
+
1415
+ exports.runs = function(moduleName) {
1416
+ addEntry('r', moduleName, null);
1417
+ };
1418
+
1419
+ function prepareNamespace(symbolPath, context) {
1420
+ if (!symbolPath) {
1421
+ return context;
1422
+ }
1423
+ var parts = symbolPath.split('.');
1424
+ var cur = context;
1425
+ for (var i = 0, part; part = parts[i]; ++i) {
1426
+ cur = cur[part] = cur[part] || {};
1427
+ }
1428
+ return cur;
1429
+ }
1430
+
1431
+ exports.mapModules = function(context) {
1432
+ var origSymbols = {};
1433
+ context.CDV_origSymbols = origSymbols;
1434
+ for (var i = 0, len = symbolList.length; i < len; i += 3) {
1435
+ var strategy = symbolList[i];
1436
+ var moduleName = symbolList[i + 1];
1437
+ var module = require(moduleName);
1438
+ // <runs/>
1439
+ if (strategy == 'r') {
1440
+ continue;
1441
+ }
1442
+ var symbolPath = symbolList[i + 2];
1443
+ var lastDot = symbolPath.lastIndexOf('.');
1444
+ var namespace = symbolPath.substr(0, lastDot);
1445
+ var lastName = symbolPath.substr(lastDot + 1);
1446
+
1447
+ var deprecationMsg = symbolPath in deprecationMap ? 'Access made to deprecated symbol: ' + symbolPath + '. ' + deprecationMsg : null;
1448
+ var parentObj = prepareNamespace(namespace, context);
1449
+ var target = parentObj[lastName];
1450
+
1451
+ if (strategy == 'm' && target) {
1452
+ builder.recursiveMerge(target, module);
1453
+ } else if ((strategy == 'd' && !target) || (strategy != 'd')) {
1454
+ if (!(symbolPath in origSymbols)) {
1455
+ origSymbols[symbolPath] = target;
1456
+ }
1457
+ builder.assignOrWrapInDeprecateGetter(parentObj, lastName, module, deprecationMsg);
1458
+ }
1459
+ }
1460
+ };
1461
+
1462
+ exports.getOriginalSymbol = function(context, symbolPath) {
1463
+ var origSymbols = context.CDV_origSymbols;
1464
+ if (origSymbols && (symbolPath in origSymbols)) {
1465
+ return origSymbols[symbolPath];
1466
+ }
1467
+ var parts = symbolPath.split('.');
1468
+ var obj = context;
1469
+ for (var i = 0; i < parts.length; ++i) {
1470
+ obj = obj && obj[parts[i]];
1471
+ }
1472
+ return obj;
1473
+ };
1474
+
1475
+ exports.reset();
1476
+
1477
+
1478
+ });
1479
+
1480
+ // file: e:/cordova/cordova-browser/cordova-js-src/platform.js
1481
+ define("cordova/platform", function(require, exports, module) {
1482
+
1483
+ module.exports = {
1484
+ id: 'browser',
1485
+ cordovaVersion: '3.4.0',
1486
+
1487
+ bootstrap: function() {
1488
+
1489
+ var modulemapper = require('cordova/modulemapper');
1490
+ var channel = require('cordova/channel');
1491
+
1492
+ modulemapper.clobbers('cordova/exec/proxy', 'cordova.commandProxy');
1493
+
1494
+ channel.onNativeReady.fire();
1495
+
1496
+ // FIXME is this the right place to clobber pause/resume? I am guessing not
1497
+ // FIXME pause/resume should be deprecated IN CORDOVA for pagevisiblity api
1498
+ document.addEventListener('webkitvisibilitychange', function() {
1499
+ if (document.webkitHidden) {
1500
+ channel.onPause.fire();
1501
+ }
1502
+ else {
1503
+ channel.onResume.fire();
1504
+ }
1505
+ }, false);
1506
+
1507
+ // End of bootstrap
1508
+ }
1509
+ };
1510
+
1511
+ });
1512
+
1513
+ // file: src/common/pluginloader.js
1514
+ define("cordova/pluginloader", function(require, exports, module) {
1515
+
1516
+ var modulemapper = require('cordova/modulemapper');
1517
+ var urlutil = require('cordova/urlutil');
1518
+
1519
+ // Helper function to inject a <script> tag.
1520
+ // Exported for testing.
1521
+ exports.injectScript = function(url, onload, onerror) {
1522
+ var script = document.createElement("script");
1523
+ // onload fires even when script fails loads with an error.
1524
+ script.onload = onload;
1525
+ // onerror fires for malformed URLs.
1526
+ script.onerror = onerror;
1527
+ script.src = url;
1528
+ document.head.appendChild(script);
1529
+ };
1530
+
1531
+ function injectIfNecessary(id, url, onload, onerror) {
1532
+ onerror = onerror || onload;
1533
+ if (id in define.moduleMap) {
1534
+ onload();
1535
+ } else {
1536
+ exports.injectScript(url, function() {
1537
+ if (id in define.moduleMap) {
1538
+ onload();
1539
+ } else {
1540
+ onerror();
1541
+ }
1542
+ }, onerror);
1543
+ }
1544
+ }
1545
+
1546
+ function onScriptLoadingComplete(moduleList, finishPluginLoading) {
1547
+ // Loop through all the plugins and then through their clobbers and merges.
1548
+ for (var i = 0, module; module = moduleList[i]; i++) {
1549
+ if (module.clobbers && module.clobbers.length) {
1550
+ for (var j = 0; j < module.clobbers.length; j++) {
1551
+ modulemapper.clobbers(module.id, module.clobbers[j]);
1552
+ }
1553
+ }
1554
+
1555
+ if (module.merges && module.merges.length) {
1556
+ for (var k = 0; k < module.merges.length; k++) {
1557
+ modulemapper.merges(module.id, module.merges[k]);
1558
+ }
1559
+ }
1560
+
1561
+ // Finally, if runs is truthy we want to simply require() the module.
1562
+ if (module.runs) {
1563
+ modulemapper.runs(module.id);
1564
+ }
1565
+ }
1566
+
1567
+ finishPluginLoading();
1568
+ }
1569
+
1570
+ // Handler for the cordova_plugins.js content.
1571
+ // See plugman's plugin_loader.js for the details of this object.
1572
+ // This function is only called if the really is a plugins array that isn't empty.
1573
+ // Otherwise the onerror response handler will just call finishPluginLoading().
1574
+ function handlePluginsObject(path, moduleList, finishPluginLoading) {
1575
+ // Now inject the scripts.
1576
+ var scriptCounter = moduleList.length;
1577
+
1578
+ if (!scriptCounter) {
1579
+ finishPluginLoading();
1580
+ return;
1581
+ }
1582
+ function scriptLoadedCallback() {
1583
+ if (!--scriptCounter) {
1584
+ onScriptLoadingComplete(moduleList, finishPluginLoading);
1585
+ }
1586
+ }
1587
+
1588
+ for (var i = 0; i < moduleList.length; i++) {
1589
+ injectIfNecessary(moduleList[i].id, path + moduleList[i].file, scriptLoadedCallback);
1590
+ }
1591
+ }
1592
+
1593
+ function findCordovaPath() {
1594
+ var path = null;
1595
+ var scripts = document.getElementsByTagName('script');
1596
+ var term = '/cordova.js';
1597
+ for (var n = scripts.length-1; n>-1; n--) {
1598
+ var src = scripts[n].src.replace(/\?.*$/, ''); // Strip any query param (CB-6007).
1599
+ if (src.indexOf(term) == (src.length - term.length)) {
1600
+ path = src.substring(0, src.length - term.length) + '/';
1601
+ break;
1602
+ }
1603
+ }
1604
+ return path;
1605
+ }
1606
+
1607
+ // Tries to load all plugins' js-modules.
1608
+ // This is an async process, but onDeviceReady is blocked on onPluginsReady.
1609
+ // onPluginsReady is fired when there are no plugins to load, or they are all done.
1610
+ exports.load = function(callback) {
1611
+ var pathPrefix = findCordovaPath();
1612
+ if (pathPrefix === null) {
1613
+ console.log('Could not find cordova.js script tag. Plugin loading may fail.');
1614
+ pathPrefix = '';
1615
+ }
1616
+ injectIfNecessary('cordova/plugin_list', pathPrefix + 'cordova_plugins.js', function() {
1617
+ var moduleList = require("cordova/plugin_list");
1618
+ handlePluginsObject(pathPrefix, moduleList, callback);
1619
+ }, callback);
1620
+ };
1621
+
1622
+
1623
+ });
1624
+
1625
+ // file: src/common/pluginloader_b.js
1626
+ define("cordova/pluginloader_b", function(require, exports, module) {
1627
+
1628
+ var modulemapper = require('cordova/modulemapper');
1629
+
1630
+ // Handler for the cordova_plugins.js content.
1631
+ // See plugman's plugin_loader.js for the details of this object.
1632
+ function handlePluginsObject(moduleList) {
1633
+ // if moduleList is not defined or empty, we've nothing to do
1634
+ if (!moduleList || !moduleList.length) {
1635
+ return;
1636
+ }
1637
+
1638
+ // Loop through all the modules and then through their clobbers and merges.
1639
+ for (var i = 0, module; module = moduleList[i]; i++) {
1640
+ if (module.clobbers && module.clobbers.length) {
1641
+ for (var j = 0; j < module.clobbers.length; j++) {
1642
+ modulemapper.clobbers(module.id, module.clobbers[j]);
1643
+ }
1644
+ }
1645
+
1646
+ if (module.merges && module.merges.length) {
1647
+ for (var k = 0; k < module.merges.length; k++) {
1648
+ modulemapper.merges(module.id, module.merges[k]);
1649
+ }
1650
+ }
1651
+
1652
+ // Finally, if runs is truthy we want to simply require() the module.
1653
+ if (module.runs) {
1654
+ modulemapper.runs(module.id);
1655
+ }
1656
+ }
1657
+ }
1658
+
1659
+ // Loads all plugins' js-modules. Plugin loading is syncronous in browserified bundle
1660
+ // but the method accepts callback to be compatible with non-browserify flow.
1661
+ // onDeviceReady is blocked on onPluginsReady. onPluginsReady is fired when there are
1662
+ // no plugins to load, or they are all done.
1663
+ exports.load = function(callback) {
1664
+ var moduleList = require("cordova/plugin_list");
1665
+ handlePluginsObject(moduleList);
1666
+
1667
+ callback();
1668
+ };
1669
+
1670
+
1671
+ });
1672
+
1673
+ // file: src/common/urlutil.js
1674
+ define("cordova/urlutil", function(require, exports, module) {
1675
+
1676
+
1677
+ /**
1678
+ * For already absolute URLs, returns what is passed in.
1679
+ * For relative URLs, converts them to absolute ones.
1680
+ */
1681
+ exports.makeAbsolute = function makeAbsolute(url) {
1682
+ var anchorEl = document.createElement('a');
1683
+ anchorEl.href = url;
1684
+ return anchorEl.href;
1685
+ };
1686
+
1687
+
1688
+ });
1689
+
1690
+ // file: src/common/utils.js
1691
+ define("cordova/utils", function(require, exports, module) {
1692
+
1693
+ var utils = exports;
1694
+
1695
+ /**
1696
+ * Defines a property getter / setter for obj[key].
1697
+ */
1698
+ utils.defineGetterSetter = function(obj, key, getFunc, opt_setFunc) {
1699
+ if (Object.defineProperty) {
1700
+ var desc = {
1701
+ get: getFunc,
1702
+ configurable: true
1703
+ };
1704
+ if (opt_setFunc) {
1705
+ desc.set = opt_setFunc;
1706
+ }
1707
+ Object.defineProperty(obj, key, desc);
1708
+ } else {
1709
+ obj.__defineGetter__(key, getFunc);
1710
+ if (opt_setFunc) {
1711
+ obj.__defineSetter__(key, opt_setFunc);
1712
+ }
1713
+ }
1714
+ };
1715
+
1716
+ /**
1717
+ * Defines a property getter for obj[key].
1718
+ */
1719
+ utils.defineGetter = utils.defineGetterSetter;
1720
+
1721
+ utils.arrayIndexOf = function(a, item) {
1722
+ if (a.indexOf) {
1723
+ return a.indexOf(item);
1724
+ }
1725
+ var len = a.length;
1726
+ for (var i = 0; i < len; ++i) {
1727
+ if (a[i] == item) {
1728
+ return i;
1729
+ }
1730
+ }
1731
+ return -1;
1732
+ };
1733
+
1734
+ /**
1735
+ * Returns whether the item was found in the array.
1736
+ */
1737
+ utils.arrayRemove = function(a, item) {
1738
+ var index = utils.arrayIndexOf(a, item);
1739
+ if (index != -1) {
1740
+ a.splice(index, 1);
1741
+ }
1742
+ return index != -1;
1743
+ };
1744
+
1745
+ utils.typeName = function(val) {
1746
+ return Object.prototype.toString.call(val).slice(8, -1);
1747
+ };
1748
+
1749
+ /**
1750
+ * Returns an indication of whether the argument is an array or not
1751
+ */
1752
+ utils.isArray = Array.isArray ||
1753
+ function(a) {return utils.typeName(a) == 'Array';};
1754
+
1755
+ /**
1756
+ * Returns an indication of whether the argument is a Date or not
1757
+ */
1758
+ utils.isDate = function(d) {
1759
+ return (d instanceof Date);
1760
+ };
1761
+
1762
+ /**
1763
+ * Does a deep clone of the object.
1764
+ */
1765
+ utils.clone = function(obj) {
1766
+ if(!obj || typeof obj == 'function' || utils.isDate(obj) || typeof obj != 'object') {
1767
+ return obj;
1768
+ }
1769
+
1770
+ var retVal, i;
1771
+
1772
+ if(utils.isArray(obj)){
1773
+ retVal = [];
1774
+ for(i = 0; i < obj.length; ++i){
1775
+ retVal.push(utils.clone(obj[i]));
1776
+ }
1777
+ return retVal;
1778
+ }
1779
+
1780
+ retVal = {};
1781
+ for(i in obj){
1782
+ if(!(i in retVal) || retVal[i] != obj[i]) {
1783
+ retVal[i] = utils.clone(obj[i]);
1784
+ }
1785
+ }
1786
+ return retVal;
1787
+ };
1788
+
1789
+ /**
1790
+ * Returns a wrapped version of the function
1791
+ */
1792
+ utils.close = function(context, func, params) {
1793
+ return function() {
1794
+ var args = params || arguments;
1795
+ return func.apply(context, args);
1796
+ };
1797
+ };
1798
+
1799
+ //------------------------------------------------------------------------------
1800
+ function UUIDcreatePart(length) {
1801
+ var uuidpart = "";
1802
+ for (var i=0; i<length; i++) {
1803
+ var uuidchar = parseInt((Math.random() * 256), 10).toString(16);
1804
+ if (uuidchar.length == 1) {
1805
+ uuidchar = "0" + uuidchar;
1806
+ }
1807
+ uuidpart += uuidchar;
1808
+ }
1809
+ return uuidpart;
1810
+ }
1811
+
1812
+ /**
1813
+ * Create a UUID
1814
+ */
1815
+ utils.createUUID = function() {
1816
+ return UUIDcreatePart(4) + '-' +
1817
+ UUIDcreatePart(2) + '-' +
1818
+ UUIDcreatePart(2) + '-' +
1819
+ UUIDcreatePart(2) + '-' +
1820
+ UUIDcreatePart(6);
1821
+ };
1822
+
1823
+
1824
+ /**
1825
+ * Extends a child object from a parent object using classical inheritance
1826
+ * pattern.
1827
+ */
1828
+ utils.extend = (function() {
1829
+ // proxy used to establish prototype chain
1830
+ var F = function() {};
1831
+ // extend Child from Parent
1832
+ return function(Child, Parent) {
1833
+
1834
+ F.prototype = Parent.prototype;
1835
+ Child.prototype = new F();
1836
+ Child.__super__ = Parent.prototype;
1837
+ Child.prototype.constructor = Child;
1838
+ };
1839
+ }());
1840
+
1841
+ /**
1842
+ * Alerts a message in any available way: alert or console.log.
1843
+ */
1844
+ utils.alert = function(msg) {
1845
+ if (window.alert) {
1846
+ window.alert(msg);
1847
+ } else if (console && console.log) {
1848
+ console.log(msg);
1849
+ }
1850
+ };
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+ });
1857
+
1858
+ window.cordova = require('cordova');
1859
+ // file: src/scripts/bootstrap.js
1860
+
1861
+ require('cordova/init');
1862
+
1863
+ })();