cronapp-framework-js 3.2.1 → 4.0.1

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 (140) hide show
  1. package/components/crn-anchor.components.json +5 -0
  2. package/components/crn-button.components.json +5 -0
  3. package/components/crn-datepicker.components.json +5 -0
  4. package/components/crn-datetimepicker.components.json +5 -0
  5. package/components/crn-enterprise-autocomplete.components.json +5 -0
  6. package/components/crn-enterprise-checkbox.components.json +5 -0
  7. package/components/crn-enterprise-combobox-multiple.components.json +5 -0
  8. package/components/crn-enterprise-dynamic-autocomplete.components.json +5 -0
  9. package/components/crn-enterprise-dynamic-combobox.components.json +5 -0
  10. package/components/crn-icon.components.json +5 -0
  11. package/components/crn-image.components.json +5 -0
  12. package/components/crn-input-password.components.json +5 -0
  13. package/components/crn-rating.components.json +5 -0
  14. package/components/crn-simple-text.components.json +5 -0
  15. package/components/crn-slider.components.json +5 -0
  16. package/components/crn-text-component.components.json +5 -0
  17. package/components/crn-textarea.components.json +5 -0
  18. package/components/crn-textinput.components.json +5 -0
  19. package/components/crn-wizard.components.json +134 -0
  20. package/components/templates/anchor.template.html +1 -1
  21. package/components/templates/social-button-bar.template.html +6 -6
  22. package/components/templates/wizard.template.html +65 -0
  23. package/css/themes/custom/cerulean/custom-cerulean.css +30 -1
  24. package/css/themes/custom/cosmo/custom-cosmo.css +43 -1
  25. package/css/themes/custom/cyborg/custom-cyborg.css +43 -1
  26. package/css/themes/custom/darkly/custom-darkly.css +43 -1
  27. package/css/themes/custom/dsgov/custom-dsgov.css +27 -1
  28. package/css/themes/custom/flatly/custom-flatly.css +43 -1
  29. package/css/themes/custom/fuse/custom-fuse.css +30 -1
  30. package/css/themes/custom/journal/custom-journal.css +43 -1
  31. package/css/themes/custom/lumen/custom-lumen.css +43 -1
  32. package/css/themes/custom/material/custom-material.css +36 -1
  33. package/css/themes/custom/paper/custom-paper.css +43 -1
  34. package/css/themes/custom/readable/custom-readable.css +43 -1
  35. package/css/themes/custom/sandstone/custom-sandstone.css +43 -1
  36. package/css/themes/custom/simplex/custom-simplex.css +42 -1
  37. package/css/themes/custom/slate/custom-slate.css +43 -1
  38. package/css/themes/custom/spacelab/custom-spacelab.css +43 -1
  39. package/css/themes/custom/superhero/custom-superhero.css +42 -1
  40. package/css/themes/custom/theme-general/notification.css +1 -0
  41. package/css/themes/custom/theme-general/theme-general.css +92 -0
  42. package/css/themes/custom/theme-general/wizard.css +98 -0
  43. package/css/themes/custom/united/custom-united.css +37 -1
  44. package/css/themes/custom/yeti/custom-yeti.css +42 -1
  45. package/css/themes/theme.editor.view.html +6 -6
  46. package/dist/components/reports/BOOLEAN.parameter.html +1 -1
  47. package/dist/components/reports/DATE.parameter.html +1 -1
  48. package/dist/components/reports/DOUBLE.parameter.html +1 -1
  49. package/dist/components/reports/FLOAT.parameter.html +1 -1
  50. package/dist/components/reports/INTEGER.parameter.html +1 -1
  51. package/dist/components/reports/LONG.parameter.html +1 -1
  52. package/dist/components/reports/STRING.parameter.html +1 -1
  53. package/dist/components/reports/reports.view.html +1 -1
  54. package/dist/components/templates/anchor.template.html +1 -1
  55. package/dist/components/templates/carousel.template.html +1 -1
  56. package/dist/components/templates/crn-carousel-item.tempate.html +1 -1
  57. package/dist/components/templates/crn-signature-pad.designtime.html +1 -1
  58. package/dist/components/templates/crn-unordered-list.template.html +1 -1
  59. package/dist/components/templates/crn-unordered-sub-list.template.html +1 -1
  60. package/dist/components/templates/cron-autocomplete.designtime.html +1 -1
  61. package/dist/components/templates/cron-captcha.designtime.html +1 -1
  62. package/dist/components/templates/cron-checkbox.template.html +1 -1
  63. package/dist/components/templates/cron-combobox.designtime.html +1 -1
  64. package/dist/components/templates/cron-crud.template.html +1 -1
  65. package/dist/components/templates/cron-dashboard-viewer.designtime.html +1 -1
  66. package/dist/components/templates/cron-dynamic-combobox.designtime.html +1 -1
  67. package/dist/components/templates/cron-frame.designtime.html +1 -1
  68. package/dist/components/templates/cron-grid.designtime.html +1 -1
  69. package/dist/components/templates/cron-radio.template.html +1 -1
  70. package/dist/components/templates/cron-report-viewer.designtime.html +1 -1
  71. package/dist/components/templates/cron-scheduler.designtime.html +1 -1
  72. package/dist/components/templates/cron-slider.designtime.html +1 -1
  73. package/dist/components/templates/cron-tree-view.designtime.html +1 -1
  74. package/dist/components/templates/datasourcefilter.template.html +1 -1
  75. package/dist/components/templates/datasourcefiltercomplex.template.html +1 -1
  76. package/dist/components/templates/date.template.html +1 -1
  77. package/dist/components/templates/datetime.template.html +1 -1
  78. package/dist/components/templates/dynamicfile.designtime.html +1 -1
  79. package/dist/components/templates/dynamicimage.designtime.html +2 -2
  80. package/dist/components/templates/fileupload-button.template.html +1 -1
  81. package/dist/components/templates/fileupload.template.html +1 -1
  82. package/dist/components/templates/form.template.html +1 -1
  83. package/dist/components/templates/image.default.template.html +1 -1
  84. package/dist/components/templates/image.template.html +1 -1
  85. package/dist/components/templates/radiogroup.template.html +1 -1
  86. package/dist/components/templates/social-button-bar.template.html +1 -1
  87. package/dist/components/templates/sub-form.template.html +1 -1
  88. package/dist/components/templates/textarea.template.html +1 -1
  89. package/dist/components/templates/textinput.template.html +1 -1
  90. package/dist/components/templates/textinputbutton.template.html +1 -1
  91. package/dist/components/templates/time.template.html +1 -1
  92. package/dist/components/templates/treeview.template.html +1 -1
  93. package/dist/components/templates/wizard.template.html +1 -0
  94. package/dist/css/themes/custom/cerulean/custom-cerulean.css +1 -1
  95. package/dist/css/themes/custom/cosmo/custom-cosmo.css +1 -1
  96. package/dist/css/themes/custom/cyborg/custom-cyborg.css +1 -1
  97. package/dist/css/themes/custom/darkly/custom-darkly.css +1 -1
  98. package/dist/css/themes/custom/dsgov/custom-dsgov.css +1 -1
  99. package/dist/css/themes/custom/flatly/custom-flatly.css +1 -1
  100. package/dist/css/themes/custom/fuse/custom-fuse.css +1 -1
  101. package/dist/css/themes/custom/journal/custom-journal.css +1 -1
  102. package/dist/css/themes/custom/lumen/custom-lumen.css +1 -1
  103. package/dist/css/themes/custom/material/custom-material.css +1 -1
  104. package/dist/css/themes/custom/paper/custom-paper.css +1 -1
  105. package/dist/css/themes/custom/readable/custom-readable.css +1 -1
  106. package/dist/css/themes/custom/sandstone/custom-sandstone.css +1 -1
  107. package/dist/css/themes/custom/simplex/custom-simplex.css +1 -1
  108. package/dist/css/themes/custom/slate/custom-slate.css +1 -1
  109. package/dist/css/themes/custom/spacelab/custom-spacelab.css +1 -1
  110. package/dist/css/themes/custom/superhero/custom-superhero.css +1 -1
  111. package/dist/css/themes/custom/theme-general/notification.css +1 -1
  112. package/dist/css/themes/custom/theme-general/theme-general.css +1 -1
  113. package/dist/css/themes/custom/theme-general/wizard.css +1 -0
  114. package/dist/css/themes/custom/united/custom-united.css +1 -1
  115. package/dist/css/themes/custom/yeti/custom-yeti.css +1 -1
  116. package/dist/css/themes/theme.editor.view.html +1 -1
  117. package/dist/js/LanguageSelectDirective.js +1 -1
  118. package/dist/js/LocaleService.js +1 -1
  119. package/dist/js/app.js +1 -1
  120. package/dist/js/controllers.js +1 -1
  121. package/dist/js/custom.controllers.js +1 -1
  122. package/dist/js/customStateProvider.js +86 -0
  123. package/dist/js/dashboard/dashboard.service.js +1 -1
  124. package/dist/js/directives.js +1 -55
  125. package/dist/js/filters.js +1 -1
  126. package/dist/js/local-dateformat.directive.js +1 -1
  127. package/dist/js/reports/parameters.controller.js +1 -1
  128. package/dist/js/reports/reports.service.js +1 -1
  129. package/dist/js/services.js +1 -1
  130. package/dist/js/stateProvider.js +1 -1
  131. package/dist/js/upload.service.js +1 -1
  132. package/gulpfile.js +21 -35
  133. package/img/cron-icon/crn-wizard.svg +8 -0
  134. package/js/app.js +6 -21
  135. package/js/controllers.js +41 -57
  136. package/js/directives.js +72 -29
  137. package/package.json +17 -50
  138. package/postupdate.json +154 -38
  139. package/dist/img/cron-icon/crn-component.svg +0 -1
  140. package/dist/img/cron-icon/crn-infinite-scroll.svg +0 -1
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "cronapp-framework-js",
3
- "version": "3.2.1",
3
+ "version": "4.0.1",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
+ "type": "module",
6
7
  "scripts": {
7
- "build": "npm i && gulp",
8
- "test": "echo \"Error: no test specified\" && exit 1",
9
- "preinstall": "npx force-resolutions"
8
+ "build": "gulp",
9
+ "preinstall": "npx force-resolutions",
10
+ "test": "echo \"Error: no test specified\" && exit 1"
10
11
  },
11
12
  "repository": {
12
13
  "type": "git",
@@ -24,58 +25,24 @@
24
25
  "javascript"
25
26
  ],
26
27
  "devDependencies": {
27
- "babel-core": "^6.26.3",
28
- "babel-plugin-angularjs-annotate": "^0.10.0",
29
- "babel-preset-es2015": "^6.24.1",
30
- "gulp": "^3.9.1",
31
- "gulp-autoprefixer": "^3.1.1",
32
- "gulp-babel": "^8.0.0",
33
- "gulp-babel-minify": "^0.5.1",
34
- "gulp-htmlmin": "^1.3.0",
35
- "gulp-imagemin": "^2.4.0",
28
+ "gulp": "^5.0.0",
29
+ "gulp-autoprefixer": "^9.0.0",
30
+ "gulp-htmlmin": "^5.0.1",
36
31
  "gulp-ng-annotate-patched": "^0.1.1",
37
- "gulp-notify": "^3.0.0",
38
- "gulp-rename": "^1.2.2",
39
- "gulp-uglify": "^3.0.2",
40
- "gulp-uglifycss": "^1.0.8"
32
+ "gulp-notify": "^5.0.0",
33
+ "gulp-rename": "^2.0.0",
34
+ "gulp-terser": "^2.1.0",
35
+ "gulp-uglify": "^3.0.2"
41
36
  },
42
37
  "dependencies": {
43
- "ng-mask": "3.0.12",
44
- "pace-js": "1.0.2",
45
- "raphael": "2.3.0",
46
- "ui-select-infinity": "0.1.5",
47
- "angular-ui-router": "1.0.29",
48
- "eonasdan-bootstrap-datetimepicker": "^4.17.49",
49
- "natives": "1.1.6",
50
- "angular": "1.8.2",
51
- "angular-ui-bootstrap": "0.14.0",
52
- "angular-chart.js": "1.1.1",
53
- "angular-cookies": "1.5.8",
54
- "angular-dynamic-locale": "0.1.32",
55
- "angular-i18n": "1.4.5",
56
- "angular-resource": "1.3.15",
57
- "angular-sanitize": "1.3.15",
58
- "angular-timeline": "^1.7.0",
59
- "angular-translate": "2.19.0",
60
- "angular-translate-handler-log": "2.19.0",
61
- "angular-translate-loader-static-files": "2.19.0",
62
- "angular-translate-storage-cookie": "2.19.0",
63
- "angular-translate-storage-local": "2.19.0",
64
- "angular-ui-notification": "0.3.6",
65
- "ui-select": "0.18.1",
66
- "bootstrap": "3.4.1",
67
- "chart.js": "2.9.4",
38
+ "@cronapp/cronapp-mvc": "4.0.1",
68
39
  "cpf_cnpj": "0.2.0",
69
40
  "font-awesome": "4.4.0",
70
41
  "jquery": "3.5.1",
71
42
  "justgage": "1.3.5",
72
- "moment": "2.29.4",
73
- "moment-timezone": "0.5.33",
74
- "ng-file-upload": "12.2.13",
43
+ "natives": "1.1.6",
44
+ "pace-js": "1.0.2",
45
+ "raphael": "2.3.0",
75
46
  "signature_pad": "^3.0.0-beta.4"
76
- },
77
- "resolutions": {
78
- "chart.js": "2.9.4",
79
- "moment": "2.29.4"
80
47
  }
81
- }
48
+ }
package/postupdate.json CHANGED
@@ -77,21 +77,6 @@
77
77
  "script": "node_modules/cronapi-js/dist/cronapi.min.js",
78
78
  "type": "script"
79
79
  },
80
- {
81
- "file": "index.html",
82
- "script": "node_modules/ui-select/dist/select.min.js",
83
- "type": "script"
84
- },
85
- {
86
- "file": "index.html",
87
- "script": "node_modules/ng-file-upload/dist/ng-file-upload.min.js",
88
- "type": "script"
89
- },
90
- {
91
- "file": "index.html",
92
- "script": "node_modules/angular-translate/dist/angular-translate.min.js",
93
- "type": "script"
94
- },
95
80
  {
96
81
  "file": "index.html",
97
82
  "script": "node_modules/pace-js/themes/pace-theme-minimal.css",
@@ -113,28 +98,6 @@
113
98
  "script": "node_modules/signature_pad/dist/signature_pad.umd.min.js",
114
99
  "type": "script",
115
100
  "onTop": true
116
- },
117
- {
118
- "file": "index.html",
119
- "script": "node_modules/angular-timeline/dist/angular-timeline.css",
120
- "type": "style"
121
- },
122
- {
123
- "file": "index.html",
124
- "script": "node_modules/angular-timeline/dist/angular-timeline-bootstrap.css",
125
- "type": "style",
126
- "onTop": true
127
- },
128
- {
129
- "file": "index.html",
130
- "script": "node_modules/angular-timeline/dist/angular-timeline-animations.css",
131
- "type": "style",
132
- "onTop": true
133
- },
134
- {
135
- "file": "index.html",
136
- "script": "node_modules/angular-timeline/dist/angular-timeline.js",
137
- "type": "script"
138
101
  }
139
102
  ],
140
103
  "removes": [
@@ -307,6 +270,151 @@
307
270
  "file": "index.html",
308
271
  "script": "plugins/angular-justgage/ng-justgage.js",
309
272
  "type": "script"
273
+ },
274
+ {
275
+ "file": "index.html",
276
+ "script": "node_modules/angular/angular.min.js",
277
+ "type": "script"
278
+ },
279
+ {
280
+ "file": "index.html",
281
+ "script": "node_modules/chart.js/dist/Chart.min.js",
282
+ "type": "script"
283
+ },
284
+ {
285
+ "file": "index.html",
286
+ "script": "node_modules/angular-chart.js/dist/angular-chart.min.js",
287
+ "type": "script"
288
+ },
289
+ {
290
+ "file": "index.html",
291
+ "script": "node_modules/angular-ui-router/release/angular-ui-router.min.js",
292
+ "type": "script"
293
+ },
294
+ {
295
+ "file": "index.html",
296
+ "script": "node_modules/angular-cookies/angular-cookies.min.js",
297
+ "type": "script"
298
+ },
299
+ {
300
+ "file": "index.html",
301
+ "script": "node_modules/angular-resource/angular-resource.min.js",
302
+ "type": "script"
303
+ },
304
+ {
305
+ "file": "index.html",
306
+ "script": "node_modules/angular-sanitize/angular-sanitize.min.js",
307
+ "type": "script"
308
+ },
309
+ {
310
+ "file": "index.html",
311
+ "script": "node_modules/angular-ui-bootstrap/ui-bootstrap.min.js",
312
+ "type": "script"
313
+ },
314
+ {
315
+ "file": "index.html",
316
+ "script": "node_modules/angular-ui-bootstrap/ui-bootstrap-tpls.min.js",
317
+ "type": "script"
318
+ },
319
+ {
320
+ "file": "index.html",
321
+ "script": "node_modules/angular-translate/dist/angular-translate.min.js",
322
+ "type": "script"
323
+ },
324
+ {
325
+ "file": "index.html",
326
+ "script": "node_modules/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js",
327
+ "type": "script"
328
+ },
329
+ {
330
+ "file": "index.html",
331
+ "script": "node_modules/angular-translate-storage-cookie/angular-translate-storage-cookie.min.js",
332
+ "type": "script"
333
+ },
334
+ {
335
+ "file": "index.html",
336
+ "script": "node_modules/angular-translate-storage-local/angular-translate-storage-local.min.js",
337
+ "type": "script"
338
+ },
339
+ {
340
+ "file": "index.html",
341
+ "script": "node_modules/angular-translate-handler-log/angular-translate-handler-log.min.js",
342
+ "type": "script"
343
+ },
344
+ {
345
+ "file": "index.html",
346
+ "script": "node_modules/angular-dynamic-locale/dist/tmhDynamicLocale.js",
347
+ "type": "script"
348
+ },
349
+ {
350
+ "file": "index.html",
351
+ "script": "node_modules/angular-ui-notification/dist/angular-ui-notification.min.js",
352
+ "type": "script"
353
+ },
354
+ {
355
+ "file": "index.html",
356
+ "script": "node_modules/angular-timeline/dist/angular-timeline.js",
357
+ "type": "script"
358
+ },
359
+ {
360
+ "file": "index.html",
361
+ "script": "node_modules/angular-timeline/dist/angular-timeline-animations.css",
362
+ "type": "style"
363
+ },
364
+ {
365
+ "file": "index.html",
366
+ "script": "node_modules/angular-timeline/dist/angular-timeline-bootstrap.css",
367
+ "type": "style"
368
+ },
369
+ {
370
+ "file": "index.html",
371
+ "script": "node_modules/angular-ui-notification/dist/angular-ui-notification.css",
372
+ "type": "style"
373
+ },
374
+ {
375
+ "file": "index.html",
376
+ "script": "node_modules/angular-timeline/dist/angular-timeline.css",
377
+ "type": "style"
378
+ },
379
+ {
380
+ "file": "index.html",
381
+ "script": "node_modules/bootstrap/dist/js/bootstrap.min.js",
382
+ "type": "script"
383
+ },
384
+ {
385
+ "file": "index.html",
386
+ "script": "node_modules/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js",
387
+ "type": "script"
388
+ },
389
+ {
390
+ "file": "index.html",
391
+ "script": "node_modules/ng-file-upload/dist/ng-file-upload.min.js",
392
+ "type": "script"
393
+ },
394
+ {
395
+ "file": "index.html",
396
+ "script": "node_modules/ui-select-infinity/lib/index.js",
397
+ "type": "script"
398
+ },
399
+ {
400
+ "file": "index.html",
401
+ "script": "node_modules/ui-select/dist/select.min.js",
402
+ "type": "script"
403
+ },
404
+ {
405
+ "file": "index.html",
406
+ "script": "node_modules/bootstrap/dist/css/bootstrap.min.css",
407
+ "type": "style"
408
+ },
409
+ {
410
+ "file": "index.html",
411
+ "script": "node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css",
412
+ "type": "style"
413
+ },
414
+ {
415
+ "file": "index.html",
416
+ "script": "node_modules/moment/min/moment-with-locales.min.js",
417
+ "type": "script"
310
418
  }
311
419
  ],
312
420
  "replaces": [
@@ -589,6 +697,14 @@
589
697
  {
590
698
  "old": "node_modules/cronapp-framework-js/dist/js/controllers.authentication.js",
591
699
  "new": "node_modules/cronapp-framework-js/dist/js/controllers.js"
700
+ },
701
+ {
702
+ "old": "node_modules/angular/angular.min.js",
703
+ "new": "node_modules/@cronapp/cronapp-mvc/dist/cronapp.mvc.js"
704
+ },
705
+ {
706
+ "old": "node_modules/bootstrap/dist/css/bootstrap.min.css",
707
+ "new": "node_modules/@cronapp/cronapp-mvc/dist/cronapp.mvc.css"
592
708
  }
593
709
  ]
594
- }
710
+ }
@@ -1 +0,0 @@
1
- <svg id="Camada_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.st0{fill:#dadada}</style><path class="st0" d="M2.1 14.5h4.4c.1 0 .2 0 .3-.1.1 0 .2-.1.2-.2.1-.1.2-.3.2-.4V9.5c0-.1 0-.2-.1-.3 0-.2-.2-.3-.3-.4-.1 0-.2-.1-.3-.1H2.1c-.1 0-.2 0-.3.1l-.2.2s-.1.1-.1.2-.1.2-.1.3V14.1c0 .1.1.2.1.2.1.1.1.1.2.1.2.1.3.1.4.1zm5.7-10l2.9-2.9.2-.2h.3c.1 0 .3.1.4.2l2.9 2.9c.1.1.1.1.1.2.1.2 0 .5-.1.7l-2.9 2.9c-.1.1-.1.1-.2.1s-.2.1-.2.1h-.3c-.1 0-.2-.1-.2-.1l-2.9-3c-.1-.1-.2-.2-.2-.4s0-.4.2-.5zM2.1 7.9h4.4c.2 0 .4-.1.5-.3.1-.1.1-.1.1-.2V2.8c0-.1 0-.2-.1-.3.1-.2-.1-.3-.2-.4-.1 0-.2-.1-.3-.1H2.1c-.1 0-.2 0-.3.1-.1 0-.2.1-.2.1 0 .1-.1.2-.1.3 0 .1-.1.2-.1.3V7.4c0 .1.1.2.1.2.1.1.1.1.2.1.2.1.3.2.4.2zm4.4-.7H2.1V2.8h4.4v4.4zm2.4 7.3h4.4c.1 0 .2 0 .3-.1.1 0 .2-.1.2-.2.1-.1.2-.3.2-.4V9.5c0-.1 0-.2-.1-.3-.1-.2-.2-.3-.4-.4-.1 0-.2-.1-.3-.1H8.9c-.2.1-.4.1-.5.3-.1 0-.1.1-.2.2 0 .1-.1.2-.1.3V14.1c0 .1.1.2.1.2.1.1.1.1.2.1.3.1.4.1.5.1zm4.4-.7H8.9V9.5h4.4v4.3zm-6.8 0H2.1V9.5h4.4v4.3z"/></svg>
@@ -1 +0,0 @@
1
- <svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zm.67 16.67a1.33 1.33 0 0 1 .94 2.27l-2.67 2.67a1.33 1.33 0 0 1-1.88 0l-2.67-2.67a1.33 1.33 0 0 1 .94-2.27H16V7.33h-.67a1.33 1.33 0 0 1-.94-2.27l2.67-2.67a1.33 1.33 0 0 1 1.88 0l2.67 2.67a1.33 1.33 0 0 1-.94 2.27H20v9.34z"/></svg>