cronapp-framework-js 2.9.0-SNAPSHOT.2 → 2.9.1-SNAPSHOT.2

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 (367) hide show
  1. package/components/crn-enterprise-combobox-multiple.components.json +1 -1
  2. package/components/crn-enterprise-dynamic-combobox.components.json +1 -1
  3. package/components/cron-breadcrumbs.components.json +2 -2
  4. package/components/cron-ordered-list.components.json +8 -8
  5. package/components/templates/accordion.template.html +6 -6
  6. package/components/templates/cron-breadcrumbs.template.html +5 -3
  7. package/components/templates/cron-dynamic-menu.template.html +1 -1
  8. package/components/templates/cron-grid.designtime.html +63 -64
  9. package/components/templates/list.template.html +1 -1
  10. package/components/templates/radiogroup.template.html +1 -1
  11. package/css/themes/aquamarine.min.css +6 -0
  12. package/css/themes/cerulean.min.css +4 -3
  13. package/css/themes/custom/aquamarine/custom-aquamarine.min.css +3085 -0
  14. package/css/themes/custom/aquamarine/font/WorkSans-Black.woff +0 -0
  15. package/css/themes/custom/aquamarine/font/WorkSans-Black.woff2 +0 -0
  16. package/css/themes/custom/aquamarine/font/WorkSans-BlackItalic.woff +0 -0
  17. package/css/themes/custom/aquamarine/font/WorkSans-BlackItalic.woff2 +0 -0
  18. package/css/themes/custom/aquamarine/font/WorkSans-Bold.woff +0 -0
  19. package/css/themes/custom/aquamarine/font/WorkSans-Bold.woff2 +0 -0
  20. package/css/themes/custom/aquamarine/font/WorkSans-BoldItalic.woff +0 -0
  21. package/css/themes/custom/aquamarine/font/WorkSans-BoldItalic.woff2 +0 -0
  22. package/css/themes/custom/aquamarine/font/WorkSans-ExtraBold.woff +0 -0
  23. package/css/themes/custom/aquamarine/font/WorkSans-ExtraBold.woff2 +0 -0
  24. package/css/themes/custom/aquamarine/font/WorkSans-ExtraBoldItalic.woff +0 -0
  25. package/css/themes/custom/aquamarine/font/WorkSans-ExtraBoldItalic.woff2 +0 -0
  26. package/css/themes/custom/aquamarine/font/WorkSans-ExtraLight.woff +0 -0
  27. package/css/themes/custom/aquamarine/font/WorkSans-ExtraLight.woff2 +0 -0
  28. package/css/themes/custom/aquamarine/font/WorkSans-ExtraLightItalic.woff +0 -0
  29. package/css/themes/custom/aquamarine/font/WorkSans-ExtraLightItalic.woff2 +0 -0
  30. package/css/themes/custom/aquamarine/font/WorkSans-Italic.woff +0 -0
  31. package/css/themes/custom/aquamarine/font/WorkSans-Italic.woff2 +0 -0
  32. package/css/themes/custom/aquamarine/font/WorkSans-Light.woff +0 -0
  33. package/css/themes/custom/aquamarine/font/WorkSans-Light.woff2 +0 -0
  34. package/css/themes/custom/aquamarine/font/WorkSans-LightItalic.woff +0 -0
  35. package/css/themes/custom/aquamarine/font/WorkSans-LightItalic.woff2 +0 -0
  36. package/css/themes/custom/aquamarine/font/WorkSans-Medium.woff +0 -0
  37. package/css/themes/custom/aquamarine/font/WorkSans-Medium.woff2 +0 -0
  38. package/css/themes/custom/aquamarine/font/WorkSans-MediumItalic.woff +0 -0
  39. package/css/themes/custom/aquamarine/font/WorkSans-MediumItalic.woff2 +0 -0
  40. package/css/themes/custom/aquamarine/font/WorkSans-Regular.woff +0 -0
  41. package/css/themes/custom/aquamarine/font/WorkSans-Regular.woff2 +0 -0
  42. package/css/themes/custom/aquamarine/font/WorkSans-SemiBold.woff +0 -0
  43. package/css/themes/custom/aquamarine/font/WorkSans-SemiBold.woff2 +0 -0
  44. package/css/themes/custom/aquamarine/font/WorkSans-SemiBoldItalic.woff +0 -0
  45. package/css/themes/custom/aquamarine/font/WorkSans-SemiBoldItalic.woff2 +0 -0
  46. package/css/themes/custom/aquamarine/font/WorkSans-Thin.woff +0 -0
  47. package/css/themes/custom/aquamarine/font/WorkSans-Thin.woff2 +0 -0
  48. package/css/themes/custom/aquamarine/font/WorkSans-ThinItalic.woff +0 -0
  49. package/css/themes/custom/aquamarine/font/WorkSans-ThinItalic.woff2 +0 -0
  50. package/css/themes/custom/aquamarine/font/fonts.css +162 -0
  51. package/css/themes/custom/aquamarine/img/arrow-gray.svg +3 -0
  52. package/css/themes/custom/aquamarine/img/arrow-white.svg +3 -0
  53. package/css/themes/custom/cerulean/button-cerulean.css +277 -0
  54. package/css/themes/custom/cerulean/custom-cerulean.css +322 -0
  55. package/css/themes/custom/cerulean/img/arrow-gray.svg +10 -0
  56. package/css/themes/custom/cerulean/img/arrow-white.svg +10 -0
  57. package/css/themes/custom/cerulean/navbar-cerulean.css +42 -0
  58. package/css/themes/custom/cerulean/panel-cerulean.css +51 -0
  59. package/css/themes/custom/darkly/custom-darkly.css +348 -0
  60. package/css/themes/custom/darkly/navbar-darkly.css +49 -0
  61. package/css/themes/custom/darkly/panel-darkly.css +90 -0
  62. package/css/themes/custom/dsgov/custom-dsgov.min.css +293 -43
  63. package/css/themes/custom/flatly/custom-flatly.css +317 -0
  64. package/css/themes/custom/flatly/navbar-flatly.css +48 -0
  65. package/css/themes/custom/flatly/panel-flatly.css +83 -0
  66. package/css/themes/custom/fuse/custom-fuse.min.css +1 -1
  67. package/css/themes/custom/lumen/custom-lumen.min.css +2989 -1085
  68. package/css/themes/custom/lumen/font/SourceSansPro-Black.woff +0 -0
  69. package/css/themes/custom/lumen/font/SourceSansPro-Black.woff2 +0 -0
  70. package/css/themes/custom/lumen/font/SourceSansPro-BlackIt.woff +0 -0
  71. package/css/themes/custom/lumen/font/SourceSansPro-BlackIt.woff2 +0 -0
  72. package/css/themes/custom/lumen/font/SourceSansPro-Bold.woff +0 -0
  73. package/css/themes/custom/lumen/font/SourceSansPro-Bold.woff2 +0 -0
  74. package/css/themes/custom/lumen/font/SourceSansPro-BoldIt.woff +0 -0
  75. package/css/themes/custom/lumen/font/SourceSansPro-BoldIt.woff2 +0 -0
  76. package/css/themes/custom/lumen/font/SourceSansPro-ExtraLight.woff +0 -0
  77. package/css/themes/custom/lumen/font/SourceSansPro-ExtraLight.woff2 +0 -0
  78. package/css/themes/custom/lumen/font/SourceSansPro-ExtraLightIt.woff +0 -0
  79. package/css/themes/custom/lumen/font/SourceSansPro-ExtraLightIt.woff2 +0 -0
  80. package/css/themes/custom/lumen/font/SourceSansPro-It.woff +0 -0
  81. package/css/themes/custom/lumen/font/SourceSansPro-It.woff2 +0 -0
  82. package/css/themes/custom/lumen/font/SourceSansPro-Light.woff +0 -0
  83. package/css/themes/custom/lumen/font/SourceSansPro-Light.woff2 +0 -0
  84. package/css/themes/custom/lumen/font/SourceSansPro-LightIt.woff +0 -0
  85. package/css/themes/custom/lumen/font/SourceSansPro-LightIt.woff2 +0 -0
  86. package/css/themes/custom/lumen/font/SourceSansPro-Regular.woff +0 -0
  87. package/css/themes/custom/lumen/font/SourceSansPro-Regular.woff2 +0 -0
  88. package/css/themes/custom/lumen/font/SourceSansPro-Semibold.woff +0 -0
  89. package/css/themes/custom/lumen/font/SourceSansPro-Semibold.woff2 +0 -0
  90. package/css/themes/custom/lumen/font/SourceSansPro-SemiboldIt.woff +0 -0
  91. package/css/themes/custom/lumen/font/SourceSansPro-SemiboldIt.woff2 +0 -0
  92. package/css/themes/custom/lumen/font/fonts.css +108 -0
  93. package/css/themes/custom/lumen/img/arrow-gray.svg +11 -0
  94. package/css/themes/custom/lumen/img/arrow-white.svg +11 -0
  95. package/css/themes/custom/material/custom-material.css +3311 -172
  96. package/css/themes/custom/material/font/Roboto-Black.woff +0 -0
  97. package/css/themes/custom/material/font/Roboto-Black.woff2 +0 -0
  98. package/css/themes/custom/material/font/Roboto-BlackItalic.woff +0 -0
  99. package/css/themes/custom/material/font/Roboto-BlackItalic.woff2 +0 -0
  100. package/css/themes/custom/material/font/Roboto-Bold.woff +0 -0
  101. package/css/themes/custom/material/font/Roboto-Bold.woff2 +0 -0
  102. package/css/themes/custom/material/font/Roboto-BoldItalic.woff +0 -0
  103. package/css/themes/custom/material/font/Roboto-BoldItalic.woff2 +0 -0
  104. package/css/themes/custom/material/font/Roboto-Italic.woff +0 -0
  105. package/css/themes/custom/material/font/Roboto-Italic.woff2 +0 -0
  106. package/css/themes/custom/material/font/Roboto-Light.woff +0 -0
  107. package/css/themes/custom/material/font/Roboto-Light.woff2 +0 -0
  108. package/css/themes/custom/material/font/Roboto-LightItalic.woff +0 -0
  109. package/css/themes/custom/material/font/Roboto-LightItalic.woff2 +0 -0
  110. package/css/themes/custom/material/font/Roboto-Medium.woff +0 -0
  111. package/css/themes/custom/material/font/Roboto-Medium.woff2 +0 -0
  112. package/css/themes/custom/material/font/Roboto-MediumItalic.woff +0 -0
  113. package/css/themes/custom/material/font/Roboto-MediumItalic.woff2 +0 -0
  114. package/css/themes/custom/material/font/Roboto-Regular.woff +0 -0
  115. package/css/themes/custom/material/font/Roboto-Regular.woff2 +0 -0
  116. package/css/themes/custom/material/font/Roboto-Thin.woff +0 -0
  117. package/css/themes/custom/material/font/Roboto-Thin.woff2 +0 -0
  118. package/css/themes/custom/material/font/Roboto-ThinItalic.woff +0 -0
  119. package/css/themes/custom/material/font/Roboto-ThinItalic.woff2 +0 -0
  120. package/css/themes/custom/material/font/fonts.css +108 -0
  121. package/css/themes/custom/material/img/arrow-gray.svg +11 -0
  122. package/css/themes/custom/material/img/arrow-white.svg +11 -0
  123. package/css/themes/custom/material_raiz/components_css/crn-scheduler.css +1 -1
  124. package/css/themes/custom/spacelab/button-spacelab.css +274 -0
  125. package/css/themes/custom/spacelab/custom-spacelab.css +253 -0
  126. package/css/themes/custom/spacelab/font/OpenSans-Bold.woff +0 -0
  127. package/css/themes/custom/spacelab/font/OpenSans-Bold.woff2 +0 -0
  128. package/css/themes/custom/spacelab/font/OpenSans-BoldItalic.woff +0 -0
  129. package/css/themes/custom/spacelab/font/OpenSans-BoldItalic.woff2 +0 -0
  130. package/css/themes/custom/spacelab/font/OpenSans-Extrabold.woff +0 -0
  131. package/css/themes/custom/spacelab/font/OpenSans-Extrabold.woff2 +0 -0
  132. package/css/themes/custom/spacelab/font/OpenSans-ExtraboldItalic.woff +0 -0
  133. package/css/themes/custom/spacelab/font/OpenSans-ExtraboldItalic.woff2 +0 -0
  134. package/css/themes/custom/spacelab/font/OpenSans-Italic.woff +0 -0
  135. package/css/themes/custom/spacelab/font/OpenSans-Italic.woff2 +0 -0
  136. package/css/themes/custom/spacelab/font/OpenSans-Light.woff +0 -0
  137. package/css/themes/custom/spacelab/font/OpenSans-Light.woff2 +0 -0
  138. package/css/themes/custom/spacelab/font/OpenSans-Semibold.woff +0 -0
  139. package/css/themes/custom/spacelab/font/OpenSans-Semibold.woff2 +0 -0
  140. package/css/themes/custom/spacelab/font/OpenSans-SemiboldItalic.woff +0 -0
  141. package/css/themes/custom/spacelab/font/OpenSans-SemiboldItalic.woff2 +0 -0
  142. package/css/themes/custom/spacelab/font/OpenSans.woff +0 -0
  143. package/css/themes/custom/spacelab/font/OpenSans.woff2 +0 -0
  144. package/css/themes/custom/spacelab/font/OpenSansLight-Italic.woff +0 -0
  145. package/css/themes/custom/spacelab/font/OpenSansLight-Italic.woff2 +0 -0
  146. package/css/themes/custom/spacelab/font/fonts.css +89 -0
  147. package/css/themes/custom/spacelab/navbar-spacelab.css +32 -0
  148. package/css/themes/custom/spacelab/panel-spacelab.css +109 -0
  149. package/css/themes/custom/superhero/custom-superhero.css +340 -0
  150. package/css/themes/custom/superhero/navbar-superhero.css +33 -0
  151. package/css/themes/custom/superhero/panel-superhero.css +58 -0
  152. package/css/themes/custom/superhero/tabs-superhero.css +25 -0
  153. package/css/themes/custom/theme-general/button.css +223 -0
  154. package/css/themes/custom/theme-general/carousel.css +5 -0
  155. package/css/themes/custom/theme-general/cookies.css +34 -0
  156. package/css/themes/custom/theme-general/forms.css +18 -0
  157. package/css/themes/custom/theme-general/login.css +21 -0
  158. package/css/themes/custom/theme-general/menu.css +23 -0
  159. package/css/themes/custom/theme-general/modal.css +13 -0
  160. package/css/themes/custom/theme-general/notification.css +27 -0
  161. package/css/themes/custom/theme-general/report-viewer.css +63 -0
  162. package/css/themes/custom/theme-general/scheduler.css +10 -0
  163. package/css/themes/custom/theme-general/slider.css +15 -0
  164. package/css/themes/custom/theme-general/table-grid.css +32 -0
  165. package/css/themes/custom/theme-general/tabs.css +49 -0
  166. package/css/themes/custom/theme-general/theme-general.css +180 -0
  167. package/css/themes/custom/theme-general/timeline.css +40 -0
  168. package/css/themes/custom/theme-general/treeview.css +74 -0
  169. package/css/themes/darkly.min.css +4 -3
  170. package/css/themes/flatly.min.css +4 -3
  171. package/css/themes/spacelab.min.css +5 -3
  172. package/css/themes/superhero.min.css +4 -3
  173. package/dist/components/js/format.min.js +1 -1
  174. package/dist/components/js/jquery.inputmask.bundle.js +1 -1
  175. package/dist/components/js/jquery.mask.min.js +1 -1
  176. package/dist/components/js/qrcode.js +1 -1
  177. package/dist/components/templates/accordion.template.html +1 -1
  178. package/dist/components/templates/cron-breadcrumbs.template.html +1 -1
  179. package/dist/components/templates/cron-dynamic-menu.template.html +1 -1
  180. package/dist/components/templates/cron-grid.designtime.html +1 -1
  181. package/dist/components/templates/list.template.html +1 -1
  182. package/dist/components/templates/radiogroup.template.html +1 -1
  183. package/dist/css/themes/aquamarine.min.css +1 -0
  184. package/dist/css/themes/custom/aquamarine/custom-aquamarine.min.css +1 -0
  185. package/dist/css/themes/custom/aquamarine/font/WorkSans-Black.woff +0 -0
  186. package/dist/css/themes/custom/aquamarine/font/WorkSans-Black.woff2 +0 -0
  187. package/dist/css/themes/custom/aquamarine/font/WorkSans-BlackItalic.woff +0 -0
  188. package/dist/css/themes/custom/aquamarine/font/WorkSans-BlackItalic.woff2 +0 -0
  189. package/dist/css/themes/custom/aquamarine/font/WorkSans-Bold.woff +0 -0
  190. package/dist/css/themes/custom/aquamarine/font/WorkSans-Bold.woff2 +0 -0
  191. package/dist/css/themes/custom/aquamarine/font/WorkSans-BoldItalic.woff +0 -0
  192. package/dist/css/themes/custom/aquamarine/font/WorkSans-BoldItalic.woff2 +0 -0
  193. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraBold.woff +0 -0
  194. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraBold.woff2 +0 -0
  195. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraBoldItalic.woff +0 -0
  196. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraBoldItalic.woff2 +0 -0
  197. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraLight.woff +0 -0
  198. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraLight.woff2 +0 -0
  199. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraLightItalic.woff +0 -0
  200. package/dist/css/themes/custom/aquamarine/font/WorkSans-ExtraLightItalic.woff2 +0 -0
  201. package/dist/css/themes/custom/aquamarine/font/WorkSans-Italic.woff +0 -0
  202. package/dist/css/themes/custom/aquamarine/font/WorkSans-Italic.woff2 +0 -0
  203. package/dist/css/themes/custom/aquamarine/font/WorkSans-Light.woff +0 -0
  204. package/dist/css/themes/custom/aquamarine/font/WorkSans-Light.woff2 +0 -0
  205. package/dist/css/themes/custom/aquamarine/font/WorkSans-LightItalic.woff +0 -0
  206. package/dist/css/themes/custom/aquamarine/font/WorkSans-LightItalic.woff2 +0 -0
  207. package/dist/css/themes/custom/aquamarine/font/WorkSans-Medium.woff +0 -0
  208. package/dist/css/themes/custom/aquamarine/font/WorkSans-Medium.woff2 +0 -0
  209. package/dist/css/themes/custom/aquamarine/font/WorkSans-MediumItalic.woff +0 -0
  210. package/dist/css/themes/custom/aquamarine/font/WorkSans-MediumItalic.woff2 +0 -0
  211. package/dist/css/themes/custom/aquamarine/font/WorkSans-Regular.woff +0 -0
  212. package/dist/css/themes/custom/aquamarine/font/WorkSans-Regular.woff2 +0 -0
  213. package/dist/css/themes/custom/aquamarine/font/WorkSans-SemiBold.woff +0 -0
  214. package/dist/css/themes/custom/aquamarine/font/WorkSans-SemiBold.woff2 +0 -0
  215. package/dist/css/themes/custom/aquamarine/font/WorkSans-SemiBoldItalic.woff +0 -0
  216. package/dist/css/themes/custom/aquamarine/font/WorkSans-SemiBoldItalic.woff2 +0 -0
  217. package/dist/css/themes/custom/aquamarine/font/WorkSans-Thin.woff +0 -0
  218. package/dist/css/themes/custom/aquamarine/font/WorkSans-Thin.woff2 +0 -0
  219. package/dist/css/themes/custom/aquamarine/font/WorkSans-ThinItalic.woff +0 -0
  220. package/dist/css/themes/custom/aquamarine/font/WorkSans-ThinItalic.woff2 +0 -0
  221. package/dist/css/themes/custom/aquamarine/font/fonts.css +1 -0
  222. package/dist/css/themes/custom/aquamarine/img/arrow-gray.svg +1 -0
  223. package/dist/css/themes/custom/aquamarine/img/arrow-white.svg +1 -0
  224. package/dist/css/themes/custom/cerulean/button-cerulean.css +1 -0
  225. package/dist/css/themes/custom/cerulean/custom-cerulean.css +1 -0
  226. package/dist/css/themes/custom/cerulean/custom-cerulean.min.css +1 -1
  227. package/dist/css/themes/custom/cerulean/img/arrow-gray.svg +1 -0
  228. package/dist/css/themes/custom/cerulean/img/arrow-white.svg +1 -0
  229. package/dist/css/themes/custom/cerulean/navbar-cerulean.css +1 -0
  230. package/dist/css/themes/custom/cerulean/panel-cerulean.css +1 -0
  231. package/dist/css/themes/custom/darkly/custom-darkly.css +1 -0
  232. package/dist/css/themes/custom/darkly/navbar-darkly.css +1 -0
  233. package/dist/css/themes/custom/darkly/panel-darkly.css +1 -0
  234. package/dist/css/themes/custom/dsgov/custom-dsgov.min.css +1 -1
  235. package/dist/css/themes/custom/flatly/custom-flatly.css +1 -0
  236. package/dist/css/themes/custom/flatly/navbar-flatly.css +1 -0
  237. package/dist/css/themes/custom/flatly/panel-flatly.css +1 -0
  238. package/dist/css/themes/custom/fuse/custom-fuse.min.css +1 -1
  239. package/dist/css/themes/custom/lumen/font/SourceSansPro-Black.woff +0 -0
  240. package/dist/css/themes/custom/lumen/font/SourceSansPro-Black.woff2 +0 -0
  241. package/dist/css/themes/custom/lumen/font/SourceSansPro-BlackIt.woff +0 -0
  242. package/dist/css/themes/custom/lumen/font/SourceSansPro-BlackIt.woff2 +0 -0
  243. package/dist/css/themes/custom/lumen/font/SourceSansPro-Bold.woff +0 -0
  244. package/dist/css/themes/custom/lumen/font/SourceSansPro-Bold.woff2 +0 -0
  245. package/dist/css/themes/custom/lumen/font/SourceSansPro-BoldIt.woff +0 -0
  246. package/dist/css/themes/custom/lumen/font/SourceSansPro-BoldIt.woff2 +0 -0
  247. package/dist/css/themes/custom/lumen/font/SourceSansPro-ExtraLight.woff +0 -0
  248. package/dist/css/themes/custom/lumen/font/SourceSansPro-ExtraLight.woff2 +0 -0
  249. package/dist/css/themes/custom/lumen/font/SourceSansPro-ExtraLightIt.woff +0 -0
  250. package/dist/css/themes/custom/lumen/font/SourceSansPro-ExtraLightIt.woff2 +0 -0
  251. package/dist/css/themes/custom/lumen/font/SourceSansPro-It.woff +0 -0
  252. package/dist/css/themes/custom/lumen/font/SourceSansPro-It.woff2 +0 -0
  253. package/dist/css/themes/custom/lumen/font/SourceSansPro-Light.woff +0 -0
  254. package/dist/css/themes/custom/lumen/font/SourceSansPro-Light.woff2 +0 -0
  255. package/dist/css/themes/custom/lumen/font/SourceSansPro-LightIt.woff +0 -0
  256. package/dist/css/themes/custom/lumen/font/SourceSansPro-LightIt.woff2 +0 -0
  257. package/dist/css/themes/custom/lumen/font/SourceSansPro-Regular.woff +0 -0
  258. package/dist/css/themes/custom/lumen/font/SourceSansPro-Regular.woff2 +0 -0
  259. package/dist/css/themes/custom/lumen/font/SourceSansPro-Semibold.woff +0 -0
  260. package/dist/css/themes/custom/lumen/font/SourceSansPro-Semibold.woff2 +0 -0
  261. package/dist/css/themes/custom/lumen/font/SourceSansPro-SemiboldIt.woff +0 -0
  262. package/dist/css/themes/custom/lumen/font/SourceSansPro-SemiboldIt.woff2 +0 -0
  263. package/dist/css/themes/custom/lumen/font/fonts.css +1 -0
  264. package/dist/css/themes/custom/lumen/img/arrow-gray.svg +1 -0
  265. package/dist/css/themes/custom/lumen/img/arrow-white.svg +1 -0
  266. package/dist/css/themes/custom/material/custom-material.css +1 -1
  267. package/dist/css/themes/custom/material/custom-material.min.css +1 -0
  268. package/dist/css/themes/custom/material/font/Roboto-Black.woff +0 -0
  269. package/dist/css/themes/custom/material/font/Roboto-Black.woff2 +0 -0
  270. package/dist/css/themes/custom/material/font/Roboto-BlackItalic.woff +0 -0
  271. package/dist/css/themes/custom/material/font/Roboto-BlackItalic.woff2 +0 -0
  272. package/dist/css/themes/custom/material/font/Roboto-Bold.woff +0 -0
  273. package/dist/css/themes/custom/material/font/Roboto-Bold.woff2 +0 -0
  274. package/dist/css/themes/custom/material/font/Roboto-BoldItalic.woff +0 -0
  275. package/dist/css/themes/custom/material/font/Roboto-BoldItalic.woff2 +0 -0
  276. package/dist/css/themes/custom/material/font/Roboto-Italic.woff +0 -0
  277. package/dist/css/themes/custom/material/font/Roboto-Italic.woff2 +0 -0
  278. package/dist/css/themes/custom/material/font/Roboto-Light.woff +0 -0
  279. package/dist/css/themes/custom/material/font/Roboto-Light.woff2 +0 -0
  280. package/dist/css/themes/custom/material/font/Roboto-LightItalic.woff +0 -0
  281. package/dist/css/themes/custom/material/font/Roboto-LightItalic.woff2 +0 -0
  282. package/dist/css/themes/custom/material/font/Roboto-Medium.woff +0 -0
  283. package/dist/css/themes/custom/material/font/Roboto-Medium.woff2 +0 -0
  284. package/dist/css/themes/custom/material/font/Roboto-MediumItalic.woff +0 -0
  285. package/dist/css/themes/custom/material/font/Roboto-MediumItalic.woff2 +0 -0
  286. package/dist/css/themes/custom/material/font/Roboto-Regular.woff +0 -0
  287. package/dist/css/themes/custom/material/font/Roboto-Regular.woff2 +0 -0
  288. package/dist/css/themes/custom/material/font/Roboto-Thin.woff +0 -0
  289. package/dist/css/themes/custom/material/font/Roboto-Thin.woff2 +0 -0
  290. package/dist/css/themes/custom/material/font/Roboto-ThinItalic.woff +0 -0
  291. package/dist/css/themes/custom/material/font/Roboto-ThinItalic.woff2 +0 -0
  292. package/dist/css/themes/custom/material/font/fonts.css +1 -0
  293. package/dist/css/themes/custom/material/img/arrow-gray.svg +1 -0
  294. package/dist/css/themes/custom/material/img/arrow-white.svg +1 -0
  295. package/dist/css/themes/custom/material_raiz/components_css/crn-scheduler.css +1 -1
  296. package/dist/css/themes/custom/spacelab/button-spacelab.css +1 -0
  297. package/dist/css/themes/custom/spacelab/custom-spacelab.css +1 -0
  298. package/dist/css/themes/custom/spacelab/font/OpenSans-Bold.woff +0 -0
  299. package/dist/css/themes/custom/spacelab/font/OpenSans-Bold.woff2 +0 -0
  300. package/dist/css/themes/custom/spacelab/font/OpenSans-BoldItalic.woff +0 -0
  301. package/dist/css/themes/custom/spacelab/font/OpenSans-BoldItalic.woff2 +0 -0
  302. package/dist/css/themes/custom/spacelab/font/OpenSans-Extrabold.woff +0 -0
  303. package/dist/css/themes/custom/spacelab/font/OpenSans-Extrabold.woff2 +0 -0
  304. package/dist/css/themes/custom/spacelab/font/OpenSans-ExtraboldItalic.woff +0 -0
  305. package/dist/css/themes/custom/spacelab/font/OpenSans-ExtraboldItalic.woff2 +0 -0
  306. package/dist/css/themes/custom/spacelab/font/OpenSans-Italic.woff +0 -0
  307. package/dist/css/themes/custom/spacelab/font/OpenSans-Italic.woff2 +0 -0
  308. package/dist/css/themes/custom/spacelab/font/OpenSans-Light.woff +0 -0
  309. package/dist/css/themes/custom/spacelab/font/OpenSans-Light.woff2 +0 -0
  310. package/dist/css/themes/custom/spacelab/font/OpenSans-Semibold.woff +0 -0
  311. package/dist/css/themes/custom/spacelab/font/OpenSans-Semibold.woff2 +0 -0
  312. package/dist/css/themes/custom/spacelab/font/OpenSans-SemiboldItalic.woff +0 -0
  313. package/dist/css/themes/custom/spacelab/font/OpenSans-SemiboldItalic.woff2 +0 -0
  314. package/dist/css/themes/custom/spacelab/font/OpenSans.woff +0 -0
  315. package/dist/css/themes/custom/spacelab/font/OpenSans.woff2 +0 -0
  316. package/dist/css/themes/custom/spacelab/font/OpenSansLight-Italic.woff +0 -0
  317. package/dist/css/themes/custom/spacelab/font/OpenSansLight-Italic.woff2 +0 -0
  318. package/dist/css/themes/custom/spacelab/font/fonts.css +1 -0
  319. package/dist/css/themes/custom/spacelab/navbar-spacelab.css +1 -0
  320. package/dist/css/themes/custom/spacelab/panel-spacelab.css +1 -0
  321. package/dist/css/themes/custom/superhero/custom-superhero.css +1 -0
  322. package/dist/css/themes/custom/superhero/navbar-superhero.css +1 -0
  323. package/dist/css/themes/custom/superhero/panel-superhero.css +1 -0
  324. package/dist/css/themes/custom/superhero/tabs-superhero.css +1 -0
  325. package/dist/css/themes/custom/theme-general/button.css +1 -0
  326. package/dist/css/themes/custom/theme-general/carousel.css +1 -0
  327. package/dist/css/themes/custom/theme-general/cookies.css +1 -0
  328. package/dist/css/themes/custom/theme-general/forms.css +1 -0
  329. package/dist/css/themes/custom/theme-general/login.css +1 -0
  330. package/dist/css/themes/custom/theme-general/menu.css +1 -0
  331. package/dist/css/themes/custom/theme-general/modal.css +1 -0
  332. package/dist/css/themes/custom/theme-general/notification.css +1 -0
  333. package/dist/css/themes/custom/theme-general/report-viewer.css +1 -0
  334. package/dist/css/themes/custom/theme-general/scheduler.css +1 -0
  335. package/dist/css/themes/custom/theme-general/slider.css +1 -0
  336. package/dist/css/themes/custom/theme-general/table-grid.css +1 -0
  337. package/dist/css/themes/custom/theme-general/tabs.css +1 -0
  338. package/dist/css/themes/custom/theme-general/theme-general.css +1 -0
  339. package/dist/css/themes/custom/theme-general/timeline.css +1 -0
  340. package/dist/css/themes/custom/theme-general/treeview.css +1 -0
  341. package/dist/js/LanguageSelectDirective.js +1 -1
  342. package/dist/js/LocaleService.js +1 -1
  343. package/dist/js/app.js +1 -1
  344. package/dist/js/dashboard/dashboard.service.js +1 -1
  345. package/dist/js/directives.js +1 -1
  346. package/dist/js/reports/parameters.controller.js +1 -1
  347. package/js/app.js +1 -1
  348. package/js/dashboard/dashboard.service.js +10 -10
  349. package/js/directives.js +200 -165
  350. package/package.json +1 -1
  351. package/postupdate.json +10 -6
  352. package/cronapp-framework-js.iml +0 -9
  353. package/css/themes/custom/cerulean/custom-cerulean.min.css +0 -2411
  354. package/css/themes/custom/darkly/custom-darkly.min.css +0 -3001
  355. package/css/themes/custom/flatly/custom-flatly.min.css +0 -2983
  356. package/css/themes/custom/fuse/theme-example.view.html +0 -830
  357. package/css/themes/custom/material/components_css/crn-button.css +0 -177
  358. package/css/themes/custom/material/components_css/crn-carousel.css +0 -11
  359. package/css/themes/custom/material/components_css/crn-cron-calendar.css +0 -176
  360. package/css/themes/custom/material/components_css/crn-cron-grid.css +0 -243
  361. package/css/themes/custom/material/components_css/crn-enterprise.css +0 -58
  362. package/css/themes/custom/material/components_css/crn-navbar.css +0 -166
  363. package/css/themes/custom/material/components_css/crn-scheduler.css +0 -98
  364. package/css/themes/custom/material/components_css/login.css +0 -38
  365. package/css/themes/custom/material/components_css/ui-notification.css +0 -27
  366. package/css/themes/custom/spacelab/custom-spacelab.min.css +0 -2497
  367. package/css/themes/custom/superhero/custom-superhero.min.css +0 -3114
package/js/directives.js CHANGED
@@ -796,7 +796,7 @@
796
796
  if (o.length >= 10 && o.match(ISO_PATTERN)) {
797
797
  return "datetimeoffset'" + o + "'";
798
798
  } else {
799
- return "'" + o + "'";
799
+ return "'" + o.replaceAll("'", "''") + "'";
800
800
  }
801
801
  }
802
802
  } else {
@@ -1447,7 +1447,7 @@
1447
1447
  })
1448
1448
  .directive('cronTimeline', ['$compile', '$parse', function($compile, $parse){
1449
1449
  'use strict';
1450
-
1450
+
1451
1451
  var defaultAdvancedTemplate = "<ul class=\"timeline\">\r\n <timeline-event side=\"\" class=\"ng-scope\" ng-repeat=\"rowData in datasource\">\r\n <li class=\"timeline-event {{rowData[options.fields.field4] == '2' ? 'timeline-inverted' : ''}}\">\r\n <timeline-badge class=\"{{$odd ? 'info' : 'warning'}} bounce-in\">\r\n <div class=\"timeline-badge\">\r\n <i class=\"glyphicon {{rowData[options.fields.field3] ? rowData[options.fields.field3] : 'glyphicon-check'}}\"><\/i>\r\n <\/div>\r\n <\/timeline-badge>\r\n <timeline-panel class=\"info bounce-in\">\r\n <div class=\"timeline-panel\">\r\n <timeline-heading class=\"ng-scope\">\r\n <div class=\"timeline-heading\">\r\n <h4 class=\"ng-binding ng-scope\">{{rowData[options.fields.field0]}}<\/h4>\r\n <p class=\"ng-scope\">\r\n <small class=\"text-muted ng-binding\"><i class=\"glyphicon glyphicon-time\"><\/i>{{rowData[options.fields.field1]|mask:options.fields.mask2:options.fields.type1}}<\/small>\r\n <\/p>\r\n <\/div>\r\n <\/timeline-heading>\r\n <p ng-if=\"rowData[options.fields.field2]\" class=\"ng-binding ng-scope\">{{rowData[options.fields.field2]}}<\/p>\r\n <\/div>\r\n <\/timeline-panel>\r\n <\/li>\r\n <\/timeline-event>\r\n<\/ul>";
1452
1452
 
1453
1453
  var getExpression = function(dataSourceName) {
@@ -1465,14 +1465,14 @@
1465
1465
  scope.hasValue = value => value !== null && value !== undefined;
1466
1466
  var optionsList = {};
1467
1467
  var dataSourceName = '';
1468
-
1468
+
1469
1469
  try {
1470
1470
  optionsList = JSON.parse(attrs.options);
1471
1471
  dataSourceName = optionsList.dataSourceScreen.name;
1472
1472
  var dataSource = eval(optionsList.dataSourceScreen.name);
1473
1473
 
1474
1474
  scope.options = optionsList;
1475
-
1475
+
1476
1476
  if(attrs['ngModel']){
1477
1477
  scope.changeRowDataField = function(rowData){
1478
1478
  rowData = dataSource.getKeyValues(rowData);
@@ -1489,7 +1489,7 @@
1489
1489
  scope.options.randomModel = Math.floor(Math.random() * (9000)) + 1000;
1490
1490
 
1491
1491
  var visibleColumns = [];
1492
-
1492
+
1493
1493
  for (var i = 0; i < optionsList.columns.length; i++) {
1494
1494
  var column = optionsList.columns[i];
1495
1495
  if (column.visible) {
@@ -1509,7 +1509,7 @@
1509
1509
  } catch(err) {
1510
1510
  console.log('CronTimeline invalid configuration! ' + err);
1511
1511
  }
1512
-
1512
+
1513
1513
  if(scope.options.fields.image && scope.options.imageType != 'do-not-show'){
1514
1514
  scope.options.imageClassPosition = "item-" + scope.options.imageType + '-' + scope.options.imagePosition;
1515
1515
  }
@@ -1517,9 +1517,9 @@
1517
1517
  if(!scope.options.advancedTemplate){
1518
1518
  scope.options.advancedTemplate = defaultAdvancedTemplate;
1519
1519
  }
1520
-
1520
+
1521
1521
  var templateDyn = scope.options.advancedTemplate;
1522
-
1522
+
1523
1523
  for (let index = 0; index < visibleColumns.length; index++) {
1524
1524
  let column = visibleColumns[index];
1525
1525
  if (column.field && column.dataType === 'Database' && scope.options.fields[`security${index}`]) {
@@ -1529,7 +1529,7 @@
1529
1529
  }
1530
1530
  }
1531
1531
  templateDyn = $(templateDyn);
1532
-
1532
+
1533
1533
  scope.options.xattrTextPosition = attrs.xattrTextPosition;
1534
1534
 
1535
1535
  $(element).replaceWith(templateDyn);
@@ -1539,7 +1539,7 @@
1539
1539
  if($(eventItem).attr('ng-repeat') === "rowData in datasource"){
1540
1540
  eventItem.attr('ng-repeat', getExpression(dataSourceName));
1541
1541
  }
1542
-
1542
+
1543
1543
  $compile(templateDyn, null, 9999998)(scope);
1544
1544
  }
1545
1545
  }
@@ -2070,12 +2070,12 @@
2070
2070
  var functionToCall = datasourceName + '.post();'
2071
2071
  var buttonSave = this.generateModalSaveOrCancelButtonCall('save', functionToCall, datasourceName, modal, scope);
2072
2072
  $footerModal.append(buttonSave);
2073
-
2073
+
2074
2074
  if (saveAdd) {
2075
2075
  let buttonSaveAdd = this.generateModalSaveOrCancelButtonCall('saveAdd', functionToCall + datasourceName + '.startInserting();', datasourceName, modal, scope);
2076
2076
  $footerModal.append(buttonSaveAdd);
2077
2077
  }
2078
-
2078
+
2079
2079
  var buttonCancel = this.generateModalSaveOrCancelButtonCall('cancel', null, null, null, scope);
2080
2080
  $footerModal.append(buttonCancel);
2081
2081
  }
@@ -3512,7 +3512,7 @@
3512
3512
  var parent = element.parent();
3513
3513
  $(parent).append('<input style="width: 100%;" '+ id + name + ' class="cronSelect"/>');
3514
3514
  var $element = $(parent).find('input.cronSelect');
3515
- var cronDisabled = attrs.cronDisabled ? attrs.cronDisabled : 'true';
3515
+ var cronDisabled = attrs.cronDisabled;
3516
3516
  var options = await app.kendoHelper.getConfigCombobox(select, scope);
3517
3517
  options.close = attrs.ngClose ? function (){scope.$eval(attrs.ngClose)}: undefined;
3518
3518
  options.dataBound = attrs.ngDataBound ? function (){scope.$eval(attrs.ngDataBound)}: undefined;
@@ -3667,7 +3667,7 @@
3667
3667
  var self = this;
3668
3668
  var parentDS = {};
3669
3669
  var textField = null;
3670
- var cronDisabled = attrs.cronDisabled ? attrs.cronDisabled : 'true';
3670
+ var cronDisabled = attrs.cronDisabled;
3671
3671
  try {
3672
3672
  select = JSON.parse(attrs.options);
3673
3673
  parentDS = this.getActive(attrs.ngModel);
@@ -3725,6 +3725,9 @@
3725
3725
  _combobox.isEvaluating = false;
3726
3726
  } else {
3727
3727
  _dataSource.findObj([options.value], false, function(data) {
3728
+ if (Array.isArray(data)) {
3729
+ data = data[0];
3730
+ }
3728
3731
  options.success(data);
3729
3732
  _combobox.isEvaluating = false;
3730
3733
 
@@ -3834,9 +3837,16 @@
3834
3837
  var found = _goTo(_scope, combobox, combobox.dataItem());
3835
3838
 
3836
3839
  if (!found) {
3837
- dataItem = objectClone(combobox.dataItem(), combobox.dataSource.options.schema.model.fields);
3838
- dataSourceScreen.data.push(dataItem);
3839
- _goTo(_scope, combobox, dataItem);
3840
+ dataSourceScreen.findObj([value], false, (dataresult) => {
3841
+ if (Array.isArray(dataresult)) {
3842
+ dataresult = dataresult[0];
3843
+ }
3844
+ if (dataresult) {
3845
+ dataSourceScreen.data.push(dataresult);
3846
+ _goTo(_scope, combobox, dataresult);
3847
+ modelSetter(_scope, value);
3848
+ }
3849
+ });
3840
3850
  }
3841
3851
  }
3842
3852
  }
@@ -4051,7 +4061,7 @@
4051
4061
  var modelGetter = $parse(attrs['ngModel']);
4052
4062
  var modelSetter = modelGetter.assign;
4053
4063
  var model = attrs['ngModel'];
4054
- var cronDisabled = attrs.cronDisabled ? attrs.cronDisabled : 'true';
4064
+ var cronDisabled = attrs.cronDisabled;
4055
4065
 
4056
4066
  var _self = this;
4057
4067
  var select = {};
@@ -4262,7 +4272,7 @@
4262
4272
  options.select = attrs.ngSelect ? function (){scope.$eval(attrs.ngSelect);}: undefined;
4263
4273
  var parent = element.parent();
4264
4274
  var id = attrs.id ? ' id="' + attrs.id + '"' : '';
4265
- var cronDisabled = attrs.cronDisabled ? attrs.cronDisabled : 'true';
4275
+ var cronDisabled = attrs.cronDisabled;
4266
4276
  var name = attrs.name ? ' name="' + attrs.name + '"' : '';
4267
4277
  var validationmessage = attrs.validationmessage ? ' validationmessage="' + attrs.validationmessage + '"' : '';
4268
4278
  var required = '';
@@ -4299,7 +4309,7 @@
4299
4309
  autoComplete.enable(false);
4300
4310
  } else {
4301
4311
  autoComplete.enable(true);
4302
- }
4312
+ }
4303
4313
 
4304
4314
  if (ngModelCtrl) {
4305
4315
  ngModelCtrl.$formatters.push(function (value) {
@@ -4460,7 +4470,7 @@
4460
4470
  });
4461
4471
  resizeObserver.observe(slider.wrapper[0])
4462
4472
 
4463
- if (attrs.ngRequired || attrs.required) {
4473
+ if (attrs.ngRequired === 'true' || attrs.required) {
4464
4474
  var id = attrs.id ? ' id="input' + app.common.generateId() + '"' : '';
4465
4475
  var name = attrs.name ? ' name="input' + app.common.generateId() + '"' : '';
4466
4476
  var parent = element.parent();
@@ -4703,7 +4713,7 @@
4703
4713
  const populateSubitems = (item) => {
4704
4714
  var subitem = item.menuItems;
4705
4715
  var templateSubitens = '';
4706
-
4716
+
4707
4717
  subitem.forEach((subitem) => {
4708
4718
  var securitySubitem = (subitem.security && subitem.security != null) ? ' cronapp-security="' + subitem.security + '" ' : '';
4709
4719
  var actionSubitem = (subitem.action && subitem.action != null) ? ' ng-click="' + subitem.action + '" ' : '';
@@ -4711,48 +4721,48 @@
4711
4721
  var iconClassSubitem = (subitem.iconClass && subitem.iconClass != null) ? '<i class="' + subitem.iconClass + '"></i>&nbsp;' : '';
4712
4722
  var titleSubitem = '<span></span>';
4713
4723
  var caretSubitem = (subitem.menuItems && Array.isArray(subitem.menuItems) && (subitem.menuItems.length > 0)) ? '<span class="caret submenu"></span>' : '';
4714
-
4724
+
4715
4725
  if (subitem.title) {
4716
4726
  titleSubitem = '<span>' + $translate.instant(subitem.title) + '</span>';
4717
4727
  }
4718
-
4728
+
4719
4729
  if (subitem.menuItems.length > 0) {
4720
4730
  templateSubitens = templateSubitens + '<li class="dropdown-submenu">\
4721
4731
  <a class="dropdown-item dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" href=""' + securitySubitem + actionSubitem + '>' + iconClassSubitem + titleSubitem + caretSubitem + '</a>\
4722
4732
  ' + populateItems(subitem.menuItems) + '\
4723
4733
  </li>';
4724
-
4734
+
4725
4735
  } else {
4726
4736
  templateSubitens = templateSubitens + '<li class="dropdown-submenu">\
4727
4737
  <a role="button" aria-haspopup="true" aria-expanded="false" href=""' + securitySubitem + actionSubitem + '>' + iconClassSubitem + titleSubitem + caretSubitem + '</a>\
4728
4738
  </li>';
4729
4739
  }
4730
4740
  });
4731
-
4741
+
4732
4742
  if (templateSubitens != '') {
4733
4743
  templateSubitens = '<ul class="dropdown-menu">' + templateSubitens + '</ul>';
4734
4744
  }
4735
-
4745
+
4736
4746
  return templateSubitens;
4737
4747
  };
4738
-
4748
+
4739
4749
  const populateItems = (items) => {
4740
4750
  var templateItens = '';
4741
-
4751
+
4742
4752
  if (items && items.length > 0 && Array.isArray(items)) {
4743
4753
  items.forEach(function (item) {
4744
-
4754
+
4745
4755
  var security = (item.security && item.security != null) ? ' cronapp-security="' + item.security + '" ' : '';
4746
4756
  var action = (item.action && item.action != null) ? ' ng-click="' + item.action + '" ' : '';
4747
4757
  var hide = (item.hide && item.hide != null) ? ' ng-hide="' + item.hide + '" ' : '';
4748
4758
  var iconClass = (item.iconClass && item.iconClass != null) ? '<i class="' + item.iconClass + '"></i>&nbsp;' : '';
4749
4759
  var title = '<span></span>';
4750
4760
  var caret = (item.menuItems && Array.isArray(item.menuItems) && (item.menuItems.length > 0)) ? '<span class="caret submenu"></span>' : '';
4751
-
4761
+
4752
4762
  if (item.title) {
4753
4763
  title = '<span>' + $translate.instant(item.title) + '</span>';
4754
4764
  }
4755
-
4765
+
4756
4766
  if (item.menuItems.length > 0) {
4757
4767
  templateItens = templateItens + '\
4758
4768
  <li class="dropdown-submenu" ' + security + hide + '> \
@@ -4765,36 +4775,36 @@
4765
4775
  <a href="" ' + action + ' class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">' + iconClass + title + caret + ' </a> \
4766
4776
  </li>';
4767
4777
  }
4768
-
4778
+
4769
4779
  });
4770
-
4780
+
4771
4781
  if (templateItens != '') {
4772
4782
  templateItens = '<ul class="dropdown-menu">' + templateItens + '</ul>';
4773
4783
  }
4774
4784
  }
4775
-
4785
+
4776
4786
  return templateItens;
4777
4787
  }
4778
4788
  return {
4779
4789
  restrict: 'EA',
4780
4790
  populateMenu: function (menuOptions, isVertical) {
4781
4791
  var template = '';
4782
-
4792
+
4783
4793
  if (menuOptions && menuOptions != null && menuOptions.subMenuOptions && menuOptions.subMenuOptions != null && Array.isArray(menuOptions.subMenuOptions)) {
4784
-
4794
+
4785
4795
  menuOptions.subMenuOptions.forEach(function (menu) {
4786
-
4796
+
4787
4797
  var security = (menu.security && menu.security != null) ? ' cronapp-security="' + menu.security + '" ' : '';
4788
4798
  var action = (menu.action && menu.action != null) ? ' ng-click="' + menu.action + '" ' : '';
4789
4799
  var caret = (menu.menuItems && Array.isArray(menu.menuItems) && (menu.menuItems.length > 0)) ? '<span class="caret"></span>' : '';
4790
4800
  var hide = (menu.hide && menu.hide != null) ? ' ng-hide="' + menu.hide + '" ' : '';
4791
4801
  var iconClass = (menu.iconClass && menu.iconClass != null) ? '<i class="' + menu.iconClass + '"></i>&nbsp;' : '';
4792
4802
  var title = '<span></span>'
4793
-
4803
+
4794
4804
  if (menu.title) {
4795
4805
  title = '<span>' + $translate.instant(menu.title) + '</span>';
4796
4806
  }
4797
-
4807
+
4798
4808
  template = template + '\
4799
4809
  <li class="dropdown nav-item '+ (isVertical ? 'col-md-12 padding-0' : '') + '"' + security + hide + '>\
4800
4810
  <a href="" ' + action + ' class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">\
@@ -4802,17 +4812,17 @@
4802
4812
  </a> \
4803
4813
  ' + populateItems(menu.menuItems) + '\
4804
4814
  </li>';
4805
-
4815
+
4806
4816
  })
4807
4817
  }
4808
-
4818
+
4809
4819
  return template;
4810
4820
  },
4811
4821
  link: function (scope, element, attrs) {
4812
4822
  $translate.onReady(() => {
4813
4823
  //Somente fica na vertical se for o menu principal da IDE (E estiver configurado para isso)
4814
4824
  let isVertical = element.closest('.crn-navigator-vertical').length;
4815
-
4825
+
4816
4826
  var TEMPLATE_MAIN = '<ul class="nav navbar-nav ' + (isVertical ? 'col-md-12 padding-0' : '') + ' "></ul>';
4817
4827
  var options = {};
4818
4828
  try {
@@ -4820,30 +4830,30 @@
4820
4830
  } catch (e) {
4821
4831
  console.log('CronDynamicMenu: Invalid configuration!')
4822
4832
  }
4823
-
4833
+
4824
4834
  var main = $(TEMPLATE_MAIN);
4825
4835
  main.attr('id', attrs.id);
4826
-
4836
+
4827
4837
  var menus = this.populateMenu(options, isVertical);
4828
4838
  main.append(menus);
4829
4839
  if (isVertical) {
4830
4840
  main.append($('#navbar2 li:first').addClass('col-md-12 padding-0'));
4831
4841
  }
4832
-
4842
+
4833
4843
  var newElement = angular.element(main);
4834
4844
  element.html('');
4835
4845
  element.append(main);
4836
4846
  element.attr('id', null);
4837
4847
  $compile(newElement)(scope);
4838
-
4848
+
4839
4849
  var multilevelAction = attrs.multilevelAction;
4840
-
4850
+
4841
4851
  if (multilevelAction === 'hover') {
4842
4852
  $('.dropdown-menu .dropdown-submenu').on('mouseover', function () {
4843
4853
  var subMenu = $(this).children('ul.dropdown-menu');
4844
4854
  subMenu.addClass('displayBlock');
4845
4855
  });
4846
-
4856
+
4847
4857
  $('.dropdown-menu .dropdown-submenu').on('mouseout', function () {
4848
4858
  var subMenu = $(this).children('ul.dropdown-menu');
4849
4859
  subMenu.removeClass('displayBlock');
@@ -4862,7 +4872,7 @@
4862
4872
  return false;
4863
4873
  });
4864
4874
  }
4865
-
4875
+
4866
4876
  });
4867
4877
  }
4868
4878
  }
@@ -4928,20 +4938,40 @@
4928
4938
  }
4929
4939
 
4930
4940
  if (items[i].level === 1) {
4931
- arrayPaiBreadcrumb = []
4941
+ arrayPaiBreadcrumb = [];
4932
4942
  }
4933
- if (!action) {
4934
- arrayPaiBreadcrumb.push({
4935
- level: items[i].level,
4936
- title: items[i].title,
4937
- href: '#'
4938
- });
4939
- } else if (action) {
4940
- arrayPaiBreadcrumb.push({
4941
- level: items[i].level,
4942
- title: items[i].title,
4943
- href: document.location.origin + '/' + action.join("/")
4944
- });
4943
+
4944
+ if (arrayPaiBreadcrumb.length != 0 && items[i].level === arrayPaiBreadcrumb[arrayPaiBreadcrumb.length - 1].level) {
4945
+ if (!action) {
4946
+ arrayPaiBreadcrumb[arrayPaiBreadcrumb.length - 1] = {
4947
+ level: items[i].level,
4948
+ title: items[i].title,
4949
+ href: '#'
4950
+ };
4951
+
4952
+ } else if (action) {
4953
+ arrayPaiBreadcrumb[arrayPaiBreadcrumb.length - 1] = {
4954
+ level: items[i].level,
4955
+ title: items[i].title,
4956
+ href: document.location.origin + '/' + action.join("/")
4957
+ };
4958
+
4959
+ }
4960
+
4961
+ } else {
4962
+ if (!action) {
4963
+ arrayPaiBreadcrumb.push({
4964
+ level: items[i].level,
4965
+ title: items[i].title,
4966
+ href: '#'
4967
+ });
4968
+ } else if (action) {
4969
+ arrayPaiBreadcrumb.push({
4970
+ level: items[i].level,
4971
+ title: items[i].title,
4972
+ href: document.location.origin + '/' + action.join("/")
4973
+ });
4974
+ }
4945
4975
  }
4946
4976
 
4947
4977
  if (items[i].menuItems.length > 0) {
@@ -4950,7 +4980,7 @@
4950
4980
  } else {
4951
4981
  if (action) {
4952
4982
  if (action[action.length - 1] === page[page.length - 1]) {
4953
- x = true
4983
+ x = true;
4954
4984
  }
4955
4985
  }
4956
4986
  }
@@ -5018,7 +5048,7 @@
5018
5048
  let blocklyPackage = shortVersion.split("').names")[0];
5019
5049
  blocklyPackage = blocklyPackage.split("').attr()")[0];
5020
5050
  let blocklyParams = shortVersion.split('.run')[1];
5021
- evaluated = await scope.$eval(blocklyPackage + blocklyParams);
5051
+ evaluated = await scope.$eval(blocklyPackage + blocklyParams);
5022
5052
  } else {
5023
5053
  evaluated = scope.$eval(attrs.ngInitialValue);
5024
5054
  }
@@ -5049,88 +5079,93 @@
5049
5079
  }
5050
5080
  })
5051
5081
 
5052
- .directive('crnAllowNullValues', [function () {
5053
- return {
5054
- restrict: 'A',
5055
- require: '?ngModel',
5056
- link: function (scope, el, attrs, ctrl) {
5057
- ctrl.$formatters = [];
5058
- ctrl.$parsers = [];
5059
-
5060
- let falseValue = attrs.ngFalseValue ? attrs.ngFalseValue.split("'").join("") : false;
5061
- let trueValue = attrs.ngTrueValue ? attrs.ngTrueValue.split("'").join("") : true;
5062
-
5063
- if (attrs.crnAllowNullValues == 'false') {
5064
- ctrl.$render = function () {
5065
- let viewValue = ctrl.$viewValue;
5066
- if (ctrl.$viewValue === undefined || ctrl.$viewValue === null) {
5067
- ctrl.$setViewValue(false);
5068
- viewValue = false;
5069
- }
5070
- if (viewValue === falseValue) {
5071
- let modelForEval = `${el.attr('ng-model')}=${attrs.ngFalseValue}`;
5072
- scope.$eval(modelForEval);
5073
- }
5074
- el.data('checked', viewValue);
5075
- switch (viewValue) {
5076
- case true:
5077
- case trueValue:
5078
- el.prop('indeterminate', false);
5079
- el.prop('checked', true);
5080
- viewValue = trueValue;
5081
- break;
5082
- default:
5083
- el.prop('indeterminate', false);
5084
- el.prop('checked', false);
5085
- viewValue = falseValue;
5086
- break;
5087
- }
5088
- setTimeout(() => ctrl.$setViewValue(viewValue));
5089
- };
5090
- } else { // true é padrão
5091
- ctrl.$render = function () {
5092
- let viewValue = ctrl.$viewValue;
5093
- el.data('checked', viewValue);
5094
- switch (viewValue) {
5095
- case true:
5096
- case trueValue:
5097
- el.prop('indeterminate', false);
5098
- el.prop('checked', true);
5099
- viewValue = trueValue;
5100
- break;
5101
- case false:
5102
- case falseValue:
5103
- el.prop('indeterminate', false);
5104
- el.prop('checked', false);
5105
- viewValue = falseValue;
5106
- break;
5107
- default:
5108
- viewValue = null;
5109
- el.prop('indeterminate', true);
5110
- }
5111
- setTimeout(() => ctrl.$setViewValue(viewValue));
5112
- };
5113
- }
5114
- el.bind('click', function () {
5115
- let checked;
5116
- switch (el.data('checked')) {
5117
- case false:
5118
- case falseValue:
5119
- checked = attrs.ngTrueValue ? trueValue : true;
5120
- break;
5121
- default:
5122
- checked = attrs.ngFalseValue ? falseValue : false;
5123
- }
5124
- ctrl.$setViewValue(checked);
5125
- scope.$apply(ctrl.$render);
5126
- });
5082
+ .directive('crnAllowNullValues', [function () {
5083
+ return {
5084
+ restrict: 'A',
5085
+ require: '?ngModel',
5086
+ link: function (scope, el, attrs, ctrl) {
5087
+ ctrl.$formatters = [];
5088
+ ctrl.$parsers = [];
5089
+
5090
+ let falseValue = attrs.ngFalseValue ? attrs.ngFalseValue.split("'").join("") : false;
5091
+ let trueValue = attrs.ngTrueValue ? attrs.ngTrueValue.split("'").join("") : true;
5092
+
5093
+ let isAllowNullValues = (value) => {
5094
+ return value === 'true' || value === undefined
5095
+ || value === null || value.length == 0;
5096
+ };
5097
+
5098
+ if (isAllowNullValues(attrs.crnAllowNullValues)) {
5099
+ ctrl.$render = function () {
5100
+ let viewValue = ctrl.$viewValue;
5101
+ el.data('checked', viewValue);
5102
+ switch (viewValue) {
5103
+ case true:
5104
+ case trueValue:
5105
+ el.prop('indeterminate', false);
5106
+ el.prop('checked', true);
5107
+ viewValue = trueValue;
5108
+ break;
5109
+ case false:
5110
+ case falseValue:
5111
+ el.prop('indeterminate', false);
5112
+ el.prop('checked', false);
5113
+ viewValue = falseValue;
5114
+ break;
5115
+ default:
5116
+ viewValue = null;
5117
+ el.prop('indeterminate', true);
5118
+ }
5119
+ setTimeout(() => ctrl.$setViewValue(viewValue));
5120
+ };
5121
+ } else {
5122
+ ctrl.$render = function () {
5123
+ let viewValue = ctrl.$viewValue;
5124
+ if (ctrl.$viewValue === undefined || ctrl.$viewValue === null) {
5125
+ ctrl.$setViewValue(false);
5126
+ viewValue = false;
5127
+ }
5128
+ if (viewValue === falseValue) {
5129
+ let modelForEval = attrs.ngFalseValue ? `${el.attr('ng-model')}=${attrs.ngFalseValue}` : `${el.attr('ng-model')}=${falseValue}`;
5130
+ scope.$eval(modelForEval);
5127
5131
  }
5132
+ el.data('checked', viewValue);
5133
+ switch (viewValue) {
5134
+ case true:
5135
+ case trueValue:
5136
+ el.prop('indeterminate', false);
5137
+ el.prop('checked', true);
5138
+ viewValue = trueValue;
5139
+ break;
5140
+ default:
5141
+ el.prop('indeterminate', false);
5142
+ el.prop('checked', false);
5143
+ viewValue = falseValue;
5144
+ break;
5145
+ }
5146
+ setTimeout(() => ctrl.$setViewValue(viewValue));
5128
5147
  };
5129
- }])
5148
+ }
5149
+ el.bind('click', function () {
5150
+ let checked;
5151
+ switch (el.data('checked')) {
5152
+ case false:
5153
+ case falseValue:
5154
+ checked = attrs.ngTrueValue ? trueValue : true;
5155
+ break;
5156
+ default:
5157
+ checked = attrs.ngFalseValue ? falseValue : false;
5158
+ }
5159
+ ctrl.$setViewValue(checked);
5160
+ scope.$apply(ctrl.$render);
5161
+ });
5162
+ }
5163
+ };
5164
+ }])
5130
5165
 
5131
5166
  .directive('signaturePad', function($compile, $window) {
5132
5167
  'use strict';
5133
-
5168
+
5134
5169
  var signaturePad, canvas, element, EMPTY_IMAGE = null;
5135
5170
  return {
5136
5171
  restrict: 'E',
@@ -5154,32 +5189,32 @@
5154
5189
  controller: [
5155
5190
  '$scope',
5156
5191
  function($scope) {
5157
-
5192
+
5158
5193
  $scope.mouseup = function() {
5159
-
5194
+
5160
5195
  var signature = {};
5161
-
5196
+
5162
5197
  if (!$scope.signaturePad.isEmpty()) {
5163
5198
  signature.dataUrl = $scope.signaturePad.toDataURL();
5164
5199
  signature.isEmpty = false;
5165
-
5200
+
5166
5201
  } else {
5167
5202
  signature.dataUrl = EMPTY_IMAGE;
5168
5203
  signature.isEmpty = true;
5169
5204
  }
5170
-
5205
+
5171
5206
  if (signature.dataUrl == null) {
5172
5207
  return;
5173
5208
  }
5174
5209
  var binary = signature.dataUrl.split(',')[1];
5175
5210
  $scope.ngModel = binary;
5176
5211
  };
5177
-
5212
+
5178
5213
  $scope.$watch('ngModel', function(value, old) {
5179
-
5214
+
5180
5215
  var signature = $scope.signaturePad;
5181
5216
  var data = $scope.ngModel;
5182
-
5217
+
5183
5218
  if (value !== old) {
5184
5219
  signaturePad.clear();
5185
5220
  signature.fromDataURL("data:image/png;base64," + value, {
@@ -5188,36 +5223,36 @@
5188
5223
  $scope.ngModel = value;
5189
5224
  }
5190
5225
  }, true);
5191
-
5226
+
5192
5227
  $scope.clear = function() {
5193
5228
  $scope.signaturePad.clear();
5194
5229
  $scope.ngModel = null;
5195
5230
  };
5196
-
5231
+
5197
5232
  }
5198
5233
  ],
5199
5234
  link: function(scope, element, attrs, ngModelCtrl) {
5200
-
5235
+
5201
5236
  canvas = element.find('canvas')[0];
5202
-
5237
+
5203
5238
  scope.onResize = function() {
5204
-
5239
+
5205
5240
  var canvas = element.find('canvas')[0];
5206
5241
  var ratio = Math.max($window.devicePixelRatio || 1, 1);
5207
5242
  canvas.width = canvas.offsetWidth * ratio;
5208
5243
  canvas.height = canvas.offsetHeight * ratio;
5209
5244
  canvas.getContext("2d").scale(ratio, ratio);
5210
5245
  }
5211
-
5246
+
5212
5247
  scope.onResize();
5213
-
5248
+
5214
5249
  scope.signaturePad = new SignaturePad(canvas);
5215
-
5250
+
5216
5251
  angular.element($window).bind('resize', function() {
5217
5252
  scope.onResize();
5218
5253
  });
5219
-
5220
- $compile(element)(element.scope());
5254
+
5255
+ $compile(element)(element.scope());
5221
5256
  }
5222
5257
  };
5223
5258
  })
@@ -5360,7 +5395,7 @@
5360
5395
  restrict: 'EA',
5361
5396
  replace: true,
5362
5397
  link: function (scope, element, attrs, ngModelCtrl) {
5363
-
5398
+
5364
5399
  let attributeValue = attrs.attributeValue;
5365
5400
  let orderedAttributeValue = attrs.orderedAttributeValue
5366
5401
  let listType = attrs.listType;
@@ -5368,21 +5403,21 @@
5368
5403
  content = $(content);
5369
5404
  let templateDyn = '';
5370
5405
  let contentUL = '';
5371
-
5406
+
5372
5407
  $.each(content, function (i, item) {
5373
5408
  contentUL = contentUL + item.outerHTML;
5374
5409
  });
5375
-
5410
+
5376
5411
  switch (listType) {
5377
5412
  case 'numbered-list':
5378
5413
  templateDyn = `<ol style="list-style-type: ${attributeValue}">${contentUL}</ol>`
5379
5414
  break
5380
-
5415
+
5381
5416
  case 'ordered-list':
5382
5417
  templateDyn = `<ul style="list-style-type: ${orderedAttributeValue}">${contentUL}</ul>`
5383
5418
  break
5384
5419
  }
5385
-
5420
+
5386
5421
  templateDyn = $(templateDyn);
5387
5422
  $(element).replaceWith(templateDyn);
5388
5423
  $compile(templateDyn)(scope);