cronapp-framework-js 3.2.1-SP.4 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +64 -27
  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
@@ -90,6 +90,11 @@
90
90
  "removable": true,
91
91
  "type": "event"
92
92
  },
93
+ "crn-tooltip": {
94
+ "displayName_pt_BR": "Tooltip",
95
+ "displayName_en_US": "Tooltip",
96
+ "order": 5
97
+ },
93
98
  "id": {
94
99
  "order": 4
95
100
  },
@@ -37,6 +37,11 @@
37
37
  "displayName_en_US": "Disabled",
38
38
  "displayName_pt_BR": "Desabilitado"
39
39
  },
40
+ "crn-tooltip": {
41
+ "displayName_pt_BR": "Tooltip",
42
+ "displayName_en_US": "Tooltip",
43
+ "order": 6
44
+ },
40
45
  "class": {
41
46
  "order": 9999
42
47
  },
@@ -13,6 +13,11 @@
13
13
  "class": {
14
14
  "order": 9999
15
15
  },
16
+ "crn-tooltip": {
17
+ "displayName_pt_BR": "Tooltip",
18
+ "displayName_en_US": "Tooltip",
19
+ "order": 2
20
+ },
16
21
  "id": {
17
22
  "order": 1
18
23
  }
@@ -19,6 +19,11 @@
19
19
  "class": {
20
20
  "order": 9999
21
21
  },
22
+ "crn-tooltip": {
23
+ "displayName_pt_BR": "Tooltip",
24
+ "displayName_en_US": "Tooltip",
25
+ "order": 2
26
+ },
22
27
  "id": {
23
28
  "order": 1
24
29
  }
@@ -18,6 +18,11 @@
18
18
  "class": {
19
19
  "order": 9999
20
20
  },
21
+ "crn-tooltip": {
22
+ "displayName_pt_BR": "Tooltip",
23
+ "displayName_en_US": "Tooltip",
24
+ "order": 2
25
+ },
21
26
  "id": {
22
27
  "order": 1
23
28
  }
@@ -14,6 +14,11 @@
14
14
  "class": {
15
15
  "order": 9999
16
16
  },
17
+ "crn-tooltip": {
18
+ "displayName_pt_BR": "Tooltip",
19
+ "displayName_en_US": "Tooltip",
20
+ "order": 2
21
+ },
17
22
  "id": {
18
23
  "order": 1
19
24
  },
@@ -21,6 +21,11 @@
21
21
  "class": {
22
22
  "order": 9999
23
23
  },
24
+ "crn-tooltip": {
25
+ "displayName_pt_BR": "Tooltip",
26
+ "displayName_en_US": "Tooltip",
27
+ "order": 2
28
+ },
24
29
  "id": {
25
30
  "order": 1
26
31
  },
@@ -18,6 +18,11 @@
18
18
  "class": {
19
19
  "order": 9999
20
20
  },
21
+ "crn-tooltip": {
22
+ "displayName_pt_BR": "Tooltip",
23
+ "displayName_en_US": "Tooltip",
24
+ "order": 2
25
+ },
21
26
  "id": {
22
27
  "order": 1
23
28
  }
@@ -20,6 +20,11 @@
20
20
  "class": {
21
21
  "order": 9999
22
22
  },
23
+ "crn-tooltip": {
24
+ "displayName_pt_BR": "Tooltip",
25
+ "displayName_en_US": "Tooltip",
26
+ "order": 2
27
+ },
23
28
  "id": {
24
29
  "order": 1
25
30
  }
@@ -38,6 +38,11 @@
38
38
  "class": {
39
39
  "order": 9999
40
40
  },
41
+ "crn-tooltip": {
42
+ "displayName_pt_BR": "Tooltip",
43
+ "displayName_en_US": "Tooltip",
44
+ "order": 3
45
+ },
41
46
  "id": {
42
47
  "order": 2
43
48
  }
@@ -116,6 +116,11 @@
116
116
  "alt":{
117
117
  "order": 6
118
118
  },
119
+ "crn-tooltip": {
120
+ "displayName_pt_BR": "Tooltip",
121
+ "displayName_en_US": "Tooltip",
122
+ "order": 8
123
+ },
119
124
  "id": {
120
125
  "order": 7
121
126
  }
@@ -17,6 +17,11 @@
17
17
  "class": {
18
18
  "order": 9999
19
19
  },
20
+ "crn-tooltip": {
21
+ "displayName_pt_BR": "Tooltip",
22
+ "displayName_en_US": "Tooltip",
23
+ "order": 2
24
+ },
20
25
  "id": {
21
26
  "order": 1
22
27
  }
@@ -15,6 +15,11 @@
15
15
  "id": {
16
16
  "order": 1
17
17
  },
18
+ "crn-tooltip": {
19
+ "displayName_pt_BR": "Tooltip",
20
+ "displayName_en_US": "Tooltip",
21
+ "order": 2
22
+ },
18
23
  "class": {
19
24
  "order": 9999
20
25
  },
@@ -15,6 +15,11 @@
15
15
  "class": {
16
16
  "order": 9999
17
17
  },
18
+ "crn-tooltip": {
19
+ "displayName_pt_BR": "Tooltip",
20
+ "displayName_en_US": "Tooltip",
21
+ "order": 2
22
+ },
18
23
  "id": {
19
24
  "order": 1
20
25
  },
@@ -18,6 +18,11 @@
18
18
  "class": {
19
19
  "order": 9999
20
20
  },
21
+ "crn-tooltip": {
22
+ "displayName_pt_BR": "Tooltip",
23
+ "displayName_en_US": "Tooltip",
24
+ "order": 2
25
+ },
21
26
  "id": {
22
27
  "order": 1
23
28
  }
@@ -28,6 +28,11 @@
28
28
  "displayName_en_US": "Lettering size",
29
29
  "order": 3
30
30
  },
31
+ "crn-tooltip": {
32
+ "displayName_pt_BR": "Tooltip",
33
+ "displayName_en_US": "Tooltip",
34
+ "order": 5
35
+ },
31
36
  "class": {
32
37
  "order": 9999
33
38
  },
@@ -13,6 +13,11 @@
13
13
  "class": {
14
14
  "order": 9999
15
15
  },
16
+ "crn-tooltip": {
17
+ "displayName_pt_BR": "Tooltip",
18
+ "displayName_en_US": "Tooltip",
19
+ "order": 2
20
+ },
16
21
  "id": {
17
22
  "order": 1
18
23
  }
@@ -14,6 +14,11 @@
14
14
  "class": {
15
15
  "order": 9999
16
16
  },
17
+ "crn-tooltip": {
18
+ "displayName_pt_BR": "Tooltip",
19
+ "displayName_en_US": "Tooltip",
20
+ "order": 2
21
+ },
17
22
  "id": {
18
23
  "order": 1
19
24
  }
@@ -0,0 +1,134 @@
1
+ {
2
+ "name": "crn-wizard",
3
+ "text_pt_BR": "Wizard Multi-steps",
4
+ "text_en_US": "Wizard Multi-steps",
5
+ "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-wizard.svg",
6
+ "description": "Navegação em steps usando Cronapp Kendo UI Wizard",
7
+ "description_en_US": "Multi-step navigation using Kendo UI Wizard",
8
+ "category": ["LAYOUTS"],
9
+ "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/wizard.template.html",
10
+ "properties": {
11
+ "class": { "order": 9999 },
12
+ "id": { "order": 1 },
13
+ "xattr-theme": {
14
+ "displayName_pt_BR": "Cor do botão",
15
+ "displayName_en_US": "Button color",
16
+ "type": "options",
17
+ "order": 4,
18
+ "default": "btn-default",
19
+ "values": [
20
+ {
21
+ "key": "btn-default",
22
+ "value_pt_BR": "Padrão do tema",
23
+ "value_en_US": "Default theme",
24
+ "color": "--btnDefault",
25
+ "borderColor": "--borderBtnDefault"
26
+ },
27
+ {
28
+ "key": "btn-primary",
29
+ "value_pt_BR": "Primário",
30
+ "value_en_US": "Primary",
31
+ "color": "--btnPrimary",
32
+ "borderColor": "--borderBtnPrimary"
33
+ },
34
+ {
35
+ "key": "btn-success",
36
+ "value_pt_BR": "Sucesso",
37
+ "value_en_US": "Success",
38
+ "color": "--btnSuccess",
39
+ "borderColor": "--borderBtnSuccess"
40
+ },
41
+ {
42
+ "key": "btn-danger",
43
+ "value_pt_BR": "Perigo",
44
+ "value_en_US": "Danger",
45
+ "color": "--btnDanger",
46
+ "borderColor": "--borderBtnDanger"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ "attributesForPreview": [
52
+ {
53
+ "name": "xattr-theme",
54
+ "type": "options",
55
+ "target": "class",
56
+ "values": [
57
+ {
58
+ "key": "btn-default",
59
+ "value_pt_BR": "Padrão do tema",
60
+ "value_en_US": "Default theme",
61
+ "color": "--btnDefault",
62
+ "borderColor": "--borderBtnDefault"
63
+ },
64
+ {
65
+ "key": "btn-primary",
66
+ "value_pt_BR": "Primário",
67
+ "value_en_US": "Primary",
68
+ "color": "--btnPrimary",
69
+ "borderColor": "--borderBtnPrimary"
70
+ },
71
+ {
72
+ "key": "btn-success",
73
+ "value_pt_BR": "Sucesso",
74
+ "value_en_US": "Success",
75
+ "color": "--btnSuccess",
76
+ "borderColor": "--borderBtnSuccess"
77
+ },
78
+ {
79
+ "key": "btn-danger",
80
+ "value_pt_BR": "Perigo",
81
+ "value_en_US": "Danger",
82
+ "color": "--btnDanger",
83
+ "borderColor": "--borderBtnDanger"
84
+ }
85
+ ]
86
+ }
87
+ ],
88
+ "styles": [
89
+ {
90
+ "selector": "div#{id} .nav-tabs",
91
+ "text_pt_BR": "Fundo do wizard",
92
+ "text_en_US": "Wizard background"
93
+ },
94
+ {
95
+ "selector": "div#{id} .nav-tabs li.active a",
96
+ "text_pt_BR": "Wizard Ativo",
97
+ "text_en_US": "Active Wizard"
98
+ },
99
+ {
100
+ "selector": "div#{id} .nav-tabs li a",
101
+ "text_pt_BR": "Wizard Padrão",
102
+ "text_en_US": "Default Wizard"
103
+ }
104
+ ],
105
+ "childrenProperties": [
106
+ {
107
+ "name": "xattr-theme",
108
+ "type": "options",
109
+ "selector": "button",
110
+ "displayName_pt_BR": "Tema do botão",
111
+ "displayName_en_US": "Button theme",
112
+ "order": 1
113
+ }
114
+ ],
115
+ "handleRules": {
116
+ "canOrder": true,
117
+ "canActivate": true,
118
+ "canIncrement": true,
119
+ "rules": [
120
+ {
121
+ "activeSelector": "ul.nav-wizard li.active",
122
+ "activeClass": "active",
123
+ "sourceHTML": "<li role=\"presentation\"><a data-target=\"#step${RANDOM}\" role=\"tab\" data-toggle=\"tab\" data-container=\"true\"><div class='step-circle'><span class='step-number'>Step</span></div><div class='step-title'>Novo Step</div></a></li>",
124
+ "targetSelector": "ul.nav-wizard"
125
+ },
126
+ {
127
+ "activeSelector": "div.tab-content .tab-pane.active",
128
+ "activeClass": "active",
129
+ "sourceHTML": "<div role=\"tabpanel\" class=\"tab-pane\" id=\"step${RANDOM}\"><div class=\"\" data-container=\"true\"></div></div>",
130
+ "targetSelector": "div.tab-content"
131
+ }
132
+ ]
133
+ }
134
+ }
@@ -1 +1 @@
1
- <a href="" class="cron-link color-default text-left col-md-12 col-lg-12 col-sm-12 col-xs-12" target="_self" data-replace="true" link-theme="color-default">Link</a>
1
+ <a href="" class="cron-link color-default text-left col-lg-2 col-md-1 col-sm-12 col-xs-12" target="_self" data-replace="true" link-theme="color-default">Link</a>
@@ -1,7 +1,7 @@
1
1
  <div class="component-holder ng-binding ng-scope col-xs-12 col-md-12" data-component="crn-social-login" id="crn-social-login${RANDOM}">
2
2
  <ul class="list-inline center-block text-center">
3
3
  <li data-container="true">
4
- <div action="/signin/facebook" method="POST" id="facebookContainer">
4
+ <div action="/oauth2/authorization/facebook" method="GET" id="facebookContainer">
5
5
  <input type="hidden" name="scope" value="email,public_profile">
6
6
  <a title="Facebook" role="button" onclick="cronapi.internal.loginSocial('facebookContainer');">
7
7
  <div class="component-holder ng-scope" data-component="crn-icon" id="crn-icon-${RANDOM}">
@@ -11,7 +11,7 @@
11
11
  </div>
12
12
  </li>
13
13
  <li data-container="true">
14
- <div action="/signin/github" method="POST" id="githubContainer">
14
+ <div action="/oauth2/authorization/github" method="GET" id="githubContainer">
15
15
  <input type="hidden" name="scope" value="email,public_profile">
16
16
  <a title="GitHub" role="button" onclick="cronapi.internal.loginSocial('githubContainer')">
17
17
  <div class="component-holder ng-scope" data-component="crn-icon" id="crn-icon-${RANDOM}">
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
  </li>
23
23
  <li data-container="true">
24
- <div action="/signin/linkedin" method="POST" id="linkedinContainer">
24
+ <div action="/oauth2/authorization/linkedin" method="GET" id="linkedinContainer">
25
25
  <input type="hidden" name="scope" value="r_emailaddress">
26
26
  <a title="LinkedIn" role="button" onclick="cronapi.internal.loginSocial('linkedinContainer')">
27
27
  <div class="component-holder ng-scope" data-component="crn-icon" id="crn-icon-${RANDOM}">
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  </li>
33
33
  <li data-container="true">
34
- <div action="/signin/google" method="POST" id="googleContainer">
34
+ <div action="/oauth2/authorization/google" method="GET" id="googleContainer">
35
35
  <input type="hidden" name="scope" value="email">
36
36
  <a title="Google" role="button" onclick="cronapi.internal.loginSocial('googleContainer')">
37
37
  <div class="component-holder ng-scope" data-component="crn-icon" id="crn-icon-${RANDOM}">
@@ -41,7 +41,7 @@
41
41
  </div>
42
42
  </li>
43
43
  <li data-container="true">
44
- <div action="/signin/cronapp" method="POST" id="cronappContainer">
44
+ <div action="/oauth2/authorization/cronapp" method="GET" id="cronappContainer">
45
45
  <input type="hidden" name="scope" value="email">
46
46
  <a title="CronApp" role="button" onclick="cronapi.internal.loginSocial('cronappContainer')">
47
47
  <div class="component-holder ng-scope" data-component="crn-icon" id="crn-icon-${RANDOM}">
@@ -51,4 +51,4 @@
51
51
  </div>
52
52
  </li>
53
53
  </ul>
54
- </div>
54
+ </div>
@@ -0,0 +1,65 @@
1
+ <div class="ctn-wizard" crn-wizard>
2
+ <ul class="nav-wizard" role="tablist" id="wizard-tablist">
3
+ <li role="presentation" class="active">
4
+ <a data-target="#step1" role="tab" data-toggle="tab" data-container="true">
5
+ <div class="step-circle">
6
+ <span class="step-number">1</span>
7
+ </div>
8
+ <div class="step-title">Step 1</div>
9
+ </a>
10
+ </li>
11
+ <li role="presentation">
12
+ <a data-target="#step2" role="tab" data-toggle="tab" data-container="true">
13
+ <div class="step-circle">
14
+ <span class="step-number">2</span>
15
+ </div>
16
+ <div class="step-title">Step 2</div>
17
+ </a>
18
+ </li>
19
+ <li role="presentation">
20
+ <a data-target="#step3" role="tab" data-toggle="tab" data-container="true">
21
+ <div class="step-circle">
22
+ <span class="step-number">3</span>
23
+ </div>
24
+ <div class="step-title">Step 3</div>
25
+ </a>
26
+ </li>
27
+ </ul>
28
+ <div class="tab-content" id="wizard-tabcontent">
29
+ <div role="tabpanel" class="tab-pane active" id="step1">
30
+ <div data-container="true" data-replace="true"></div>
31
+ </div>
32
+ <div role="tabpanel" class="tab-pane" id="step2">
33
+ <div data-container="true" data-replace="true"></div>
34
+ </div>
35
+ <div role="tabpanel" class="tab-pane" id="step3">
36
+ <div data-container="true" data-replace="true"></div>
37
+ </div>
38
+ </div>
39
+ <div class="wizard-buttons">
40
+ <div class="step-counter"><span id="current-step">1</span> de <span id="total-steps">{{ totalSteps }}</span></div>
41
+ <div class="ctrl-button">
42
+ <button
43
+ class="btn k-button btn-block btn-default"
44
+ ng-click=""
45
+ xattr-fullsize="btn-block"
46
+ xattr-theme="btn-default"
47
+ xattr-disabled=""
48
+ id="prev-step"
49
+ ng-click="scope.goToStep(currentStep - 1)"
50
+ ng-disabled="currentStep === 1 || requiredInvalid"
51
+ ng-class="{'btn-primary': theme === 'primary', 'btn-default': theme === 'default'}"
52
+ >
53
+ <span>Voltar</span>
54
+ </button>
55
+
56
+ <button class="k-button" id="next-step" ng-click="scope.goToStep(currentStep + 1)" ng-disabled="nextButtonDisabled" ng-class="{'btn-primary': theme === 'primary', 'btn-default': theme === 'default'}">
57
+ <span>Avançar</span>
58
+ </button>
59
+
60
+ <button class="btn k-button" id="finish-wizard" ng-click="scope.finishWizard()" ng-disabled="requiredInvalid" ng-class="{'btn-primary': theme === 'primary', 'btn-default': theme === 'default'}">
61
+ <span>Concluir</span>
62
+ </button>
63
+ </div>
64
+ </div>
65
+ </div>
@@ -967,4 +967,33 @@ td.k-state-focused.k-state-selected {
967
967
 
968
968
  .k-window-titlebar {
969
969
  background: transparent;
970
- }
970
+ }
971
+
972
+ /*wizard*/
973
+ .ctn-wizard .nav-wizard > li.active .step-title,
974
+ .ctn-wizard .nav-wizard > li.completed .step-title {
975
+ font-weight: bold;
976
+ color: var(--colorPrimary40, #5665be);
977
+ }
978
+
979
+ .ctn-wizard .nav-wizard > li.active .step-circle,
980
+ .ctn-wizard .nav-wizard > li.completed .step-circle {
981
+ background-color: var(--colorPrimary40, #5665be);
982
+ color: var(--textColorPrimary40, #ffffff);
983
+ }
984
+
985
+ .ctn-wizard .step-circle {
986
+ width: 40px;
987
+ height: 40px;
988
+ background-color: var(--textColorPrimary40, #ffffff);
989
+ color: var(--colorPrimary40, #5665be);
990
+ border-radius: 50%;
991
+ border: 2px solid var(--colorPrimary40, #5665be);
992
+ display: flex;
993
+ align-items: center;
994
+ justify-content: center;
995
+ margin: 0 auto 5px auto;
996
+ position: relative;
997
+ z-index: 1;
998
+ transition: background-color 0.3s ease, color 0.3s ease;
999
+ }
@@ -1161,4 +1161,46 @@ td.k-state-focused.k-state-selected {
1161
1161
 
1162
1162
  .cardinput {
1163
1163
  padding: 0;
1164
- }
1164
+ }
1165
+
1166
+ /*wizard*/
1167
+ .ctn-wizard .nav-wizard > li.active .step-circle,
1168
+ .ctn-wizard .nav-wizard > li.completed .step-circle {
1169
+ background-color: var(--colorPrimary40, #2780e3);
1170
+ color: var(--textColorDefault40, #ffffff);
1171
+ }
1172
+
1173
+ .ctn-wizard .step-circle {
1174
+ width: 40px;
1175
+ height: 40px;
1176
+ background-color: var(--textColorDefault40, #ffffff);
1177
+ color: var(--colorPrimary40, #2780e3);
1178
+ border-radius: 50%;
1179
+ border: 2px solid var(--colorPrimary40, #2780e3);
1180
+ display: flex;
1181
+ align-items: center;
1182
+ justify-content: center;
1183
+ margin: 0 auto 5px auto;
1184
+ position: relative;
1185
+ z-index: 1;
1186
+ transition: background-color 0.3s ease, color 0.3s ease;
1187
+ }
1188
+
1189
+ .ctn-wizard .nav-wizard > li.active .step-circle::after {
1190
+ content: '';
1191
+ position: absolute;
1192
+ top: -7px;
1193
+ left: -7px;
1194
+ width: 50px;
1195
+ height: 50px;
1196
+ border-radius: 50%;
1197
+ border: 2px solid var(--colorPrimary40, #2780e3);
1198
+ z-index: -1;
1199
+ transition: border-color 0.3s ease;
1200
+ }
1201
+
1202
+ .ctn-wizard .nav-wizard > li.active .step-title,
1203
+ .ctn-wizard .nav-wizard > li.completed .step-title {
1204
+ font-weight: bold;
1205
+ color: var(--colorPrimary40, #2780e3);
1206
+ }
@@ -1501,4 +1501,46 @@ td.k-state-focused.k-state-selected {
1501
1501
 
1502
1502
  .k-scheduler .k-scheduler-toolbar ul .k-nav-current.k-state-hover a {
1503
1503
  background: transparent;
1504
- }
1504
+ }
1505
+
1506
+ /*wizard*/
1507
+ .ctn-wizard .nav-wizard>li.active .step-circle::after {
1508
+ content: '';
1509
+ position: absolute;
1510
+ top: -7px;
1511
+ left: -7px;
1512
+ width: 50px;
1513
+ height: 50px;
1514
+ border-radius: 50%;
1515
+ border: 2px solid var(--colorDefault40, #424242);
1516
+ z-index: -1;
1517
+ transition: border-color 0.3s ease;
1518
+ }
1519
+
1520
+ .ctn-wizard .nav-wizard>li.active .step-circle,
1521
+ .ctn-wizard .nav-wizard>li.completed .step-circle {
1522
+ background-color: var(--colorDefault40, #424242);
1523
+ color: var(--textColorDefault40, #ffffff);
1524
+ }
1525
+
1526
+ .ctn-wizard .step-circle {
1527
+ width: 40px;
1528
+ height: 40px;
1529
+ background-color: var(--textColorDefault40, #ffffff);
1530
+ color: var(--colorDefault40, #424242);
1531
+ border-radius: 50%;
1532
+ border: 2px solid var(--colorDefault40, #424242);
1533
+ display: flex;
1534
+ align-items: center;
1535
+ justify-content: center;
1536
+ margin: 0 auto 5px auto;
1537
+ position: relative;
1538
+ z-index: 1;
1539
+ transition: background-color 0.3s ease, color 0.3s ease;
1540
+ }
1541
+
1542
+ .ctn-wizard .nav-wizard>li.active .step-title,
1543
+ .ctn-wizard .nav-wizard>li.completed .step-title {
1544
+ font-weight: bold;
1545
+ color: var(--colorDefault40, #424242);
1546
+ }
@@ -1224,4 +1224,46 @@ td.k-state-focused.k-state-selected,
1224
1224
 
1225
1225
  .bootstrap-datetimepicker-widget.dropdown-menu.top:after {
1226
1226
  border-top-color: var(--colorNeutral00, #ffffff)
1227
- }
1227
+ }
1228
+
1229
+ /*wizard*/
1230
+ .ctn-wizard .nav-wizard>li.active .step-circle::after {
1231
+ content: '';
1232
+ position: absolute;
1233
+ top: -7px;
1234
+ left: -7px;
1235
+ width: 50px;
1236
+ height: 50px;
1237
+ border-radius: 50%;
1238
+ border: 2px solid var(--colorSuccess40, #00bc8c);
1239
+ z-index: -1;
1240
+ transition: border-color 0.3s ease;
1241
+ }
1242
+
1243
+ .ctn-wizard .nav-wizard>li.active .step-circle,
1244
+ .ctn-wizard .nav-wizard>li.completed .step-circle {
1245
+ background-color: var(--colorSuccess40, #00bc8c);
1246
+ color: var(--textColorSuccess40, #ffffff);
1247
+ }
1248
+
1249
+ .ctn-wizard .step-circle {
1250
+ width: 40px;
1251
+ height: 40px;
1252
+ background-color: var(--textColorSuccess40, #ffffff);
1253
+ color: var(--colorSuccess40, #00bc8c);
1254
+ border-radius: 50%;
1255
+ border: 2px solid var(--colorSuccess40, #00bc8c);
1256
+ display: flex;
1257
+ align-items: center;
1258
+ justify-content: center;
1259
+ margin: 0 auto 5px auto;
1260
+ position: relative;
1261
+ z-index: 1;
1262
+ transition: background-color 0.3s ease, color 0.3s ease;
1263
+ }
1264
+
1265
+ .ctn-wizard .nav-wizard>li.active .step-title,
1266
+ .ctn-wizard .nav-wizard>li.completed .step-title {
1267
+ font-weight: bold;
1268
+ color: var(--colorSuccess40, #00bc8c);
1269
+ }