cronapp-framework-js 2.8.24 → 2.8.28

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 (182) hide show
  1. package/components/crn-button.components.json +2 -12
  2. package/components/crn-chart.components.json +1 -0
  3. package/components/crn-dynamic-menu.components.json +1 -0
  4. package/components/crn-enterprise-checkbox.components.json +0 -5
  5. package/components/crn-enterprise-combobox-multiple.components.json +0 -5
  6. package/components/crn-enterprise-dynamic-combobox.components.json +1 -1
  7. package/components/crn-horizontal-container.components.json +1 -12
  8. package/components/crn-icon.components.json +12 -20
  9. package/components/crn-image.components.json +4 -4
  10. package/components/crn-ordered-sub-list.components.json +1 -2
  11. package/components/crn-rating.components.json +29 -31
  12. package/components/crn-textinputbutton.components.json +8 -0
  13. package/components/crn-upload-file.components.json +3 -2
  14. package/components/crn-upload.components.json +2 -2
  15. package/components/css/checkbox-color.css +0 -16
  16. package/components/css/color-default.css +0 -2
  17. package/components/templates/button.template.html +2 -2
  18. package/components/templates/cron-autocomplete.designtime.html +33 -1
  19. package/components/templates/cron-checkbox.template.html +2 -1
  20. package/components/templates/cron-combobox-multiple.template.html +1 -1
  21. package/components/templates/cron-crud.template.html +7 -43
  22. package/components/templates/cron-dynamic-combobox.template.html +1 -1
  23. package/components/templates/fileupload-button.template.html +1 -1
  24. package/components/templates/fileupload.template.html +1 -1
  25. package/components/templates/form.template.html +21 -44
  26. package/components/templates/icon.template.html +1 -1
  27. package/components/templates/image.default.template.html +2 -1
  28. package/components/templates/navbar.template.html +5 -5
  29. package/components/templates/rating.template.html +6 -6
  30. package/components/templates/social-button-bar.template.html +12 -11
  31. package/components/templates/sub-form.template.html +11 -44
  32. package/components/templates/textinputbutton.template.html +9 -6
  33. package/css/app.css +8 -20
  34. package/dist/components/css/checkbox-color.css +1 -1
  35. package/dist/components/css/color-default.css +1 -1
  36. package/dist/components/templates/button.template.html +1 -1
  37. package/dist/components/templates/cron-autocomplete.designtime.html +26 -1
  38. package/dist/components/templates/cron-checkbox.template.html +1 -1
  39. package/dist/components/templates/cron-combobox-multiple.template.html +1 -1
  40. package/dist/components/templates/cron-crud.template.html +1 -1
  41. package/dist/components/templates/cron-dynamic-combobox.template.html +1 -1
  42. package/dist/components/templates/fileupload-button.template.html +1 -1
  43. package/dist/components/templates/fileupload.template.html +1 -1
  44. package/dist/components/templates/form.template.html +1 -1
  45. package/dist/components/templates/icon.template.html +1 -1
  46. package/dist/components/templates/image.default.template.html +1 -1
  47. package/dist/components/templates/navbar.template.html +1 -1
  48. package/dist/components/templates/rating.template.html +1 -1
  49. package/dist/components/templates/social-button-bar.template.html +1 -1
  50. package/dist/components/templates/sub-form.template.html +1 -1
  51. package/dist/components/templates/textinputbutton.template.html +1 -1
  52. package/dist/css/animate.css +1 -0
  53. package/dist/css/app.css +1 -1
  54. package/dist/css/fonts/glyphicons-halflings-regular.eot +0 -0
  55. package/dist/css/fonts/glyphicons-halflings-regular.svg +1 -0
  56. package/dist/css/fonts/glyphicons-halflings-regular.ttf +0 -0
  57. package/dist/css/fonts/glyphicons-halflings-regular.woff +0 -0
  58. package/dist/css/fonts/glyphicons-halflings-regular.woff2 +0 -0
  59. package/dist/css/modalTemplate.css +1 -0
  60. package/dist/css/themes/cerulean.min.css +1 -0
  61. package/dist/css/themes/cosmo.min.css +1 -0
  62. package/dist/css/themes/custom/cerulean/custom-cerulean.min.css +13 -0
  63. package/dist/css/themes/custom/cosmo/custom-cosmo.min.css +13 -0
  64. package/dist/css/themes/custom/cyborg/custom-cyborg.min.css +13 -0
  65. package/dist/css/themes/custom/darkly/custom-darkly.min.css +13 -0
  66. package/dist/css/themes/custom/flatly/custom-flatly.min.css +13 -0
  67. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/_media-print.css +1 -0
  68. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/alert.css +1 -0
  69. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/animations.css +1 -0
  70. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/badge.css +1 -0
  71. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/basics.css +11 -0
  72. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/blockquote.css +1 -0
  73. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/breadcrumb.css +1 -0
  74. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/btn.css +1 -0
  75. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/carousel.css +1 -0
  76. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/close.css +1 -0
  77. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/col.css +1 -0
  78. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/collapse.css +1 -0
  79. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/container.css +1 -0
  80. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/dropdown.css +1 -0
  81. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/embed-responsive.css +1 -0
  82. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/fade.css +1 -0
  83. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/figure_img.css +1 -0
  84. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/form-control.css +1 -0
  85. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/glyphicon.css +1 -0
  86. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/import_bootswatch.css +1 -0
  87. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/input-group.css +1 -0
  88. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/input.css +1 -0
  89. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/jumbotron.css +1 -0
  90. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/label.css +1 -0
  91. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/list-group.css +1 -0
  92. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/media.css +1 -0
  93. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/modal.css +1 -0
  94. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/nav.css +1 -0
  95. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/navbar.css +1 -0
  96. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/pager.css +1 -0
  97. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/pagination.css +1 -0
  98. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/panel.css +1 -0
  99. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/popover.css +1 -0
  100. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/progress.css +1 -0
  101. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/table.css +1 -0
  102. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/text.css +1 -0
  103. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/thumbnail.css +1 -0
  104. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/tooltip.css +1 -0
  105. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/visible.css +1 -0
  106. package/dist/css/themes/custom/fuse/_bootswatch-v3.3.7/well.css +1 -0
  107. package/dist/css/themes/custom/fuse/components_css/alert.css +1 -0
  108. package/dist/css/themes/custom/fuse/components_css/badge.css +1 -0
  109. package/dist/css/themes/custom/fuse/components_css/blockquote.css +1 -0
  110. package/dist/css/themes/custom/fuse/components_css/breadcrumb.css +1 -0
  111. package/dist/css/themes/custom/fuse/components_css/btn.css +1 -0
  112. package/dist/css/themes/custom/fuse/components_css/carousel.css +1 -0
  113. package/dist/css/themes/custom/fuse/components_css/close.css +1 -0
  114. package/dist/css/themes/custom/fuse/components_css/embed-responsive.css +1 -0
  115. package/dist/css/themes/custom/fuse/components_css/form.css +1 -0
  116. package/dist/css/themes/custom/fuse/components_css/glyphicon.css +1 -0
  117. package/dist/css/themes/custom/fuse/components_css/hidden.css +1 -0
  118. package/dist/css/themes/custom/fuse/components_css/import_components_css.css +1 -0
  119. package/dist/css/themes/custom/fuse/components_css/list-group.css +1 -0
  120. package/dist/css/themes/custom/fuse/components_css/media.css +1 -0
  121. package/dist/css/themes/custom/fuse/components_css/modal.css +1 -0
  122. package/dist/css/themes/custom/fuse/components_css/navbar.css +1 -0
  123. package/dist/css/themes/custom/fuse/components_css/pager.css +1 -0
  124. package/dist/css/themes/custom/fuse/components_css/pagination.css +1 -0
  125. package/dist/css/themes/custom/fuse/components_css/panel.css +1 -0
  126. package/dist/css/themes/custom/fuse/components_css/popover.css +1 -0
  127. package/dist/css/themes/custom/fuse/components_css/progress.css +1 -0
  128. package/dist/css/themes/custom/fuse/components_css/table.css +1 -0
  129. package/dist/css/themes/custom/fuse/components_css/thumbnail.css +1 -0
  130. package/dist/css/themes/custom/fuse/components_css/tooltip.css +1 -0
  131. package/dist/css/themes/custom/fuse/components_css/type_bootstrap.css +1 -0
  132. package/dist/css/themes/custom/fuse/components_css/visible.css +1 -0
  133. package/dist/css/themes/custom/fuse/components_css/well.css +1 -0
  134. package/dist/css/themes/custom/fuse/custom-fuse.min.css +1 -0
  135. package/dist/css/themes/custom/fuse/font/Inter-roman.var.woff2 +0 -0
  136. package/dist/css/themes/custom/fuse/font/font.css +1 -0
  137. package/dist/css/themes/custom/journal/custom-journal.min.css +12 -0
  138. package/dist/css/themes/custom/lumen/custom-lumen.min.css +13 -0
  139. package/dist/css/themes/custom/material/components_css/crn-button.css +1 -0
  140. package/dist/css/themes/custom/material/components_css/crn-carousel.css +1 -0
  141. package/dist/css/themes/custom/material/components_css/crn-cron-calendar.css +1 -0
  142. package/dist/css/themes/custom/material/components_css/crn-cron-grid.css +1 -0
  143. package/dist/css/themes/custom/material/components_css/crn-enterprise.css +1 -0
  144. package/dist/css/themes/custom/material/components_css/crn-navbar.css +1 -0
  145. package/dist/css/themes/custom/material/components_css/crn-scheduler.css +1 -0
  146. package/dist/css/themes/custom/material/components_css/login.css +1 -0
  147. package/dist/css/themes/custom/material/components_css/ui-notification.css +1 -0
  148. package/dist/css/themes/custom/material/custom-material.css +1 -0
  149. package/dist/css/themes/custom/navigator/custom-navigator.css +1 -0
  150. package/dist/css/themes/custom/paper/custom-paper.min.css +13 -0
  151. package/dist/css/themes/custom/readable/custom-readable.min.css +13 -0
  152. package/dist/css/themes/custom/sandstone/custom-sandstone.min.css +13 -0
  153. package/dist/css/themes/custom/simplex/custom-simplex.min.css +13 -0
  154. package/dist/css/themes/custom/slate/custom-slate.min.css +13 -0
  155. package/dist/css/themes/custom/spacelab/custom-spacelab.min.css +13 -0
  156. package/dist/css/themes/custom/superhero/custom-superhero.min.css +13 -0
  157. package/dist/css/themes/custom/united/custom-united.min.css +13 -0
  158. package/dist/css/themes/custom/yeti/custom-yeti.min.css +13 -0
  159. package/dist/css/themes/cyborg.min.css +1 -0
  160. package/dist/css/themes/darkly.min.css +1 -0
  161. package/dist/css/themes/flatly.min.css +1 -0
  162. package/dist/css/themes/fuse.min.css +1 -0
  163. package/dist/css/themes/journal.min.css +1 -0
  164. package/dist/css/themes/lumen.min.css +1 -0
  165. package/dist/css/themes/material.min.css +1 -0
  166. package/dist/css/themes/paper.min.css +1 -0
  167. package/dist/css/themes/readable.min.css +1 -0
  168. package/dist/css/themes/sandstone.min.css +1 -0
  169. package/dist/css/themes/simplex.min.css +1 -0
  170. package/dist/css/themes/slate.min.css +1 -0
  171. package/dist/css/themes/spacelab.min.css +1 -0
  172. package/dist/css/themes/superhero.min.css +1 -0
  173. package/dist/css/themes/united.min.css +1 -0
  174. package/dist/css/themes/yeti.min.css +1 -0
  175. package/dist/js/directives.js +1 -1
  176. package/dist/js/reports/reports.service.js +1 -1
  177. package/gulpfile.js +1 -1
  178. package/js/directives.js +24 -21
  179. package/js/reports/reports.service.js +3 -0
  180. package/package.json +1 -1
  181. package/components/css/font-size.css +0 -15
  182. package/components/css/image.css +0 -15
@@ -85,8 +85,8 @@
85
85
  "values": [
86
86
  {
87
87
  "key": "btn-default",
88
- "value_pt_BR": "Padrão do tema",
89
- "value_en_US": "Theme pattern"
88
+ "value_pt_BR": "Padrão",
89
+ "value_en_US": "Default"
90
90
  },
91
91
  {
92
92
  "key": "btn-primary",
@@ -129,11 +129,6 @@
129
129
  "type": "options",
130
130
  "target": "class",
131
131
  "values": [
132
- {
133
- "key": "color-theme",
134
- "value_pt_BR": "Padrão do tema",
135
- "value_en_US": "Theme pattern"
136
- },
137
132
  {
138
133
  "key": "color-white",
139
134
  "value_pt_BR": "Branco",
@@ -267,11 +262,6 @@
267
262
  "type": "options",
268
263
  "target": "class",
269
264
  "values": [
270
- {
271
- "key": "color-theme",
272
- "value_pt_BR": "Padrão do tema",
273
- "value_en_US": "Theme pattern"
274
- },
275
265
  {
276
266
  "key": "color-white",
277
267
  "value_pt_BR": "Branco",
@@ -9,6 +9,7 @@
9
9
  "LAYOUTS", "FORMS"
10
10
  ],
11
11
  "wrapper": false,
12
+ "forcedGroup": true,
12
13
  "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/chart.template.html",
13
14
  "designTimeHTML": "<img style=\"height: 100%;width:100%;min-height:100%; min-width:100%;\" src=\"node_modules/cronapp-framework-js/img/svg-charts.svg\"/>",
14
15
  "designTimeSelector": "canvas",
@@ -12,6 +12,7 @@
12
12
  ],
13
13
  "order": 11,
14
14
  "wrapper": false,
15
+ "forcedGroup": true,
15
16
  "designTimeDynamic": true,
16
17
  "designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-dynamic-menu.designtime.html",
17
18
  "designTimeSelector": ":self",
@@ -28,11 +28,6 @@
28
28
  "type": "options",
29
29
  "target": "class",
30
30
  "values": [
31
- {
32
- "key": "checkbox-theme",
33
- "value_pt_BR": "Padrão do tema",
34
- "value_en_US": "Theme pattern"
35
- },
36
31
  {
37
32
  "key": "checkbox-white",
38
33
  "value_pt_BR": "Branco",
@@ -33,11 +33,6 @@
33
33
  "type": "options",
34
34
  "target": "class",
35
35
  "values": [
36
- {
37
- "key": "combobox-theme",
38
- "value_pt_BR": "Padrão do tema",
39
- "value_en_US": "Theme pattern"
40
- },
41
36
  {
42
37
  "key": "combobox-gray",
43
38
  "value_pt_BR": "Cinza",
@@ -12,7 +12,6 @@
12
12
  ],
13
13
  "order": 3,
14
14
  "setRandomId": false,
15
- "wrapper": false,
16
15
  "designTimeDynamic": true,
17
16
  "designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-dynamic-combobox.designtime.html",
18
17
  "designTimeSelector": "cron-dynamic-select",
@@ -104,6 +103,7 @@
104
103
  "displayName_pt_BR": "Texto quando requerido",
105
104
  "displayName_en_US": "Text when required",
106
105
  "type": "text",
106
+ "mandatory": false,
107
107
  "order": 5
108
108
  },
109
109
  {
@@ -37,17 +37,6 @@
37
37
  "removable": true,
38
38
  "type": "event"
39
39
  }
40
- },
41
- "forcedGroup": false,
42
- "wrapper": false,
43
- "autoWrapper": true,
44
- "handleRules": {
45
- "canIncrement": true,
46
- "rules": [
47
- {
48
- "sourceHTML": "<div class=\"col-md-6\" data-container=\"true\" data-replace=\"true\">Content goes here</div> ",
49
- "targetSelector": ":self"
50
- }
51
- ]
52
40
  }
41
+
53
42
  }
@@ -9,8 +9,8 @@
9
9
  "LAYOUTS"
10
10
  ],
11
11
  "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/icon.template.html",
12
- "wrapper": true,
13
- "forcedGroup": true,
12
+ "wrapper": false,
13
+ "autoWrapper": false,
14
14
  "properties": {
15
15
  "ng-init": {
16
16
  "removable": true,
@@ -49,22 +49,19 @@
49
49
  "selector": "i",
50
50
  "displayName_pt_BR": "Ícone",
51
51
  "displayName_en_US": "Icon",
52
- "type": "icon",
53
- "order": 1
52
+ "type": "icon"
54
53
  },
55
54
  {
56
55
  "name": "icon-theme",
57
56
  "displayName_pt_BR": "Cor do ícone",
58
57
  "displayName_en_US": "Icon color",
59
- "selector": "i",
60
- "order": 2
58
+ "selector": "i"
61
59
  },
62
60
  {
63
61
  "name": "icon-size",
64
62
  "displayName_pt_BR": "Tamanho do ícone",
65
63
  "displayName_en_US": "Icon size",
66
- "selector": "i",
67
- "order": 3
64
+ "selector": "i"
68
65
  }
69
66
  ],
70
67
  "attributesForPreview": [
@@ -73,11 +70,6 @@
73
70
  "type": "options",
74
71
  "target": "class",
75
72
  "values": [
76
- {
77
- "key": "color-theme",
78
- "value_pt_BR": "Padrão do tema",
79
- "value_en_US": "Theme pattern"
80
- },
81
73
  {
82
74
  "key": "color-white",
83
75
  "value_pt_BR": "Branco",
@@ -209,25 +201,25 @@
209
201
  {
210
202
  "name": "icon-size",
211
203
  "type": "options",
212
- "target": "class",
204
+ "target": "style",
213
205
  "values": [
214
206
  {
215
- "key": "font-size-theme",
216
- "value_pt_BR": "Padrão do tema",
217
- "value_en_US": "Theme pattern"
207
+ "key": "",
208
+ "value_pt_BR": "Padrão",
209
+ "value_en_US": "Default"
218
210
  },
219
211
  {
220
- "key": "font-size-47",
212
+ "key": "font-size: 47px;",
221
213
  "value_pt_BR": "Grande",
222
214
  "value_en_US": "Big"
223
215
  },
224
216
  {
225
- "key": "font-size-30",
217
+ "key": "font-size: 30px;",
226
218
  "value_pt_BR": "Médio",
227
219
  "value_en_US": "Medium"
228
220
  },
229
221
  {
230
- "key": "font-size-25",
222
+ "key": "font-size: 25px;",
231
223
  "value_pt_BR": "Pequeno",
232
224
  "value_en_US": "Small"
233
225
  }
@@ -124,22 +124,22 @@
124
124
  "type": "options",
125
125
  "values": [
126
126
  {
127
- "key": "object-fit-cover",
127
+ "key": "object-fit: cover;",
128
128
  "value_pt_BR": "Proporcional",
129
129
  "value_en_US": "Proportional"
130
130
  },
131
131
  {
132
- "key": "object-fit-contain",
132
+ "key": "object-fit: contain;",
133
133
  "value_pt_BR": "Ajustado (padrão)",
134
134
  "value_en_US": "Adjusted (default)"
135
135
  },
136
136
  {
137
- "key": "object-fit-fill",
137
+ "key": "object-fit: fill;",
138
138
  "value_pt_BR": "Preencher",
139
139
  "value_en_US": "Fill"
140
140
  },
141
141
  {
142
- "key": "object-fit-none",
142
+ "key": "object-fit: none;",
143
143
  "value_pt_BR": "Nenhum",
144
144
  "value_en_US": "None"
145
145
  }
@@ -2,8 +2,7 @@
2
2
  "name": "crn-ordered-sub-list",
3
3
  "text_pt_BR": "Sub lista ordenada",
4
4
  "text_en_US": "Ordered sub list",
5
- "wrapper": false,
6
- "autoWrapper": true,
5
+ "wrapper": true,
7
6
  "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-ordered-sub-list.svg",
8
7
  "description": "Sublista de segundo grau com indicadores numerados",
9
8
  "description_en_US": "Second degree sublist with numbered indicators",
@@ -9,11 +9,8 @@
9
9
  "BUTTONS"
10
10
  ],
11
11
  "wrapper": false,
12
- "forcedGroup": true,
13
- "designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/components/templates/rating.designtime.html",
14
- "designTimeSelector": "cronapp-rating",
15
- "designTimeDynamic": true,
16
- "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/components/templates/rating.template.html",
12
+ "autoWrapper": false,
13
+ "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/rating.template.html",
17
14
  "properties": {
18
15
  "id": {
19
16
  "order": 1
@@ -55,11 +52,6 @@
55
52
  "type": "options",
56
53
  "target": "class",
57
54
  "values": [
58
- {
59
- "key": "color-theme",
60
- "value_pt_BR": "Padrão do tema",
61
- "value_en_US": "Theme pattern"
62
- },
63
55
  {
64
56
  "key": "color-white",
65
57
  "value_pt_BR": "Branco",
@@ -191,27 +183,27 @@
191
183
  {
192
184
  "name": "icon-size",
193
185
  "type": "options",
194
- "target": "class",
186
+ "target": "style",
195
187
  "values": [
196
188
  {
197
- "key": "font-size-theme",
198
- "value_pt_BR": "Padrão do tema",
199
- "value_en_US": "Theme pattern"
189
+ "key": "font-size: 20px;",
190
+ "value_pt_BR": "Padrão",
191
+ "value_en_US": "Default"
200
192
  },
201
193
  {
202
- "key": "font-size-20",
203
- "value_pt_BR": "Pequeno",
204
- "value_en_US": "Small"
194
+ "key": "font-size: 47px;",
195
+ "value_pt_BR": "Grande",
196
+ "value_en_US": "Big"
205
197
  },
206
198
  {
207
- "key": "font-size-30",
199
+ "key": "font-size: 30px;",
208
200
  "value_pt_BR": "Médio",
209
201
  "value_en_US": "Medium"
210
202
  },
211
203
  {
212
- "key": "font-size-47",
213
- "value_pt_BR": "Grande",
214
- "value_en_US": "Big"
204
+ "key": "font-size: 25px;",
205
+ "value_pt_BR": "Pequeno",
206
+ "value_en_US": "Small"
215
207
  }
216
208
  ]
217
209
  }
@@ -235,25 +227,31 @@
235
227
  "order": 2
236
228
  },
237
229
  {
238
- "name": "icon-off",
239
- "selector": "cronapp-rating",
240
- "displayName_pt_BR": "Ícone Inativo",
241
- "displayName_en_US": "Inactive Icon",
242
- "type": "icon",
243
- "order": 2
244
- },
245
- {
246
- "name": "data-theme",
230
+ "name": "icon-theme",
247
231
  "selector": "i",
248
232
  "displayName_pt_BR": "Cor do ícone",
249
233
  "displayName_en_US": "Icon color"
250
234
  },
251
235
  {
252
- "name": "data-size",
236
+ "name": "icon-size",
253
237
  "displayName_pt_BR": "Tamanho do ícone",
254
238
  "displayName_en_US": "Icon size",
255
239
  "selector": "i"
256
240
  },
241
+ {
242
+ "name": "icon-off",
243
+ "selector": "cronapp-rating",
244
+ "displayName_pt_BR": "Ícone Inativo",
245
+ "displayName_en_US": "Inactive Icon",
246
+ "type": "icon",
247
+ "order": 2
248
+ },
249
+ {
250
+ "name": "xattr-theme",
251
+ "selector": "div",
252
+ "type": "text",
253
+ "order": 3
254
+ },
257
255
  {
258
256
  "name": "xattr-default-value",
259
257
  "selector": "cronapp-rating",
@@ -57,6 +57,14 @@
57
57
  "onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
58
58
  "mandatory": true
59
59
  },
60
+ {
61
+ "name": "class",
62
+ "displayName_pt_BR": "Ícone",
63
+ "displayName_en_US": "Icon",
64
+ "selector": "button i",
65
+ "type": "icon",
66
+ "order": 2
67
+ },
60
68
  {
61
69
  "name": "type",
62
70
  "selector": "input",
@@ -53,8 +53,9 @@
53
53
  "values": [
54
54
  {
55
55
  "key": "btn-default",
56
- "value_pt_BR": "Padrão do tema",
57
- "value_en_US": "Theme pattern"
56
+ "value_pt_BR": "Padrão",
57
+ "value_en_US": "Default",
58
+ "color": "#fff"
58
59
  },
59
60
  {
60
61
  "key": "btn-primary",
@@ -31,8 +31,8 @@
31
31
  "values": [
32
32
  {
33
33
  "key": "btn-default",
34
- "value_pt_BR": "Padrão do tema",
35
- "value_en_US": "Theme pattern"
34
+ "value_pt_BR": "Padrão",
35
+ "value_en_US": "Default"
36
36
  },
37
37
  {
38
38
  "key": "btn-primary",
@@ -1,19 +1,3 @@
1
- /* theme */
2
-
3
- .checkbox-theme .k-checkbox:focus+.k-checkbox-label:before, .checkbox-theme .k-checkbox:hover+.k-checkbox-label:before, .checkbox-theme .k-radio:focus+.k-radio-label:before, .checkbox-theme .k-radio:hover+.k-radio-label:before {
4
- box-shadow: 0 0 5px 0 var(--light-blue);
5
- border-color: var(--light-blue);
6
- }
7
-
8
- .checkbox-theme .k-checkbox:checked+.k-checkbox-label:before, .checkbox-theme .k-checkbox:indeterminate+.k-checkbox-label:before {
9
- border-color: var(--light-blue);
10
- background-color: var(--light-blue);
11
- }
12
-
13
- .checkbox-theme .k-checkbox:checked+.k-checkbox-label:after, .checkbox-theme .k-checkbox:indeterminate+.k-checkbox-label:after {
14
- background-color: var(--blue);
15
- border-color: var(--light-blue);
16
- }
17
1
 
18
2
  /* white */
19
3
 
@@ -1,8 +1,6 @@
1
1
  @import 'checkbox-color.css';
2
2
  @import 'combobox-color.css';
3
3
  @import 'option-color.css';
4
- @import 'image.css';
5
- @import 'font-size.css';
6
4
 
7
5
  :root {
8
6
  --white: #ffffff;
@@ -1,4 +1,4 @@
1
1
  <button class="btn k-button btn-block btn-default" ng-click="" xattr-fullsize="btn-block" xattr-theme="btn-default" xattr-disabled="">
2
- <i class="glyphicon glyphicon-home color-theme" icon-theme="color-theme"></i>
3
- <span class="color-theme" text-theme="color-theme">Button</span>
2
+ <i class="glyphicon glyphicon-home color-white" icon-theme="color-white"></i>
3
+ <span class="color-white" text-theme="color-white">Button</span>
4
4
  </button>
@@ -1,5 +1,37 @@
1
- <div class="form-group" id="${COMPONENTID}">
1
+ <div class="form-group" id="{{attrs.id}}-designtime">
2
2
  <label for="cron-${COMPONENTID}">Label</label>
3
+ <span style="display: none;" id="cron-autocomplete-designtime" data-attrs="{{attrs}}">
4
+ <script>
5
+
6
+ let $documentDesignTime = $(document.getElementsByTagName('iframe')[0].contentWindow.document);
7
+ let wait = setInterval(()=> {
8
+
9
+ let $element = $documentDesignTime.find('[id=cron-autocomplete-designtime]')
10
+ if ($element.length) {
11
+ clearInterval(wait);
12
+
13
+ $element.each((idx, c) => {
14
+
15
+ let $current = $(c);
16
+ let attrs = $current.data('attrs');
17
+ let $label = $documentDesignTime.find(`#${attrs.id}`).find('label');
18
+ let $labelDesignTime = $documentDesignTime.find(`#${attrs.id}-designtime`).find('label');
19
+ if (!$label.data('synchronize-started')) {
20
+ $label.data('synchronize-started', true);
21
+ let synchronize = setInterval(() => {
22
+ if ($label.html() !== $labelDesignTime.html()) {
23
+ $labelDesignTime.html($label.html());
24
+ }
25
+ }, 500);
26
+
27
+ }
28
+
29
+ });
30
+ }
31
+ });
32
+
33
+ </script>
34
+ </span>
3
35
  <span class="k-widget k-autocomplete cronAutoComplete" style="width: 100%;">
4
36
  <input class="cronAutoComplete k-input" type="text">
5
37
  </span>
@@ -1,4 +1,5 @@
1
- <div class="form-group checkbox-theme" checkbox-theme="checkbox-theme">
1
+
2
+ <div class="form-group checkbox-blue" checkbox-theme="checkbox-blue">
2
3
  <input type="checkbox" id="vars.checkbox${RANDOM}" ng-model="vars.checkbox${RANDOM}" class="k-checkbox" ng-initial-value="false" crn-allow-null-values="true" ng-false-value="false" ng-true-value="true">
3
4
  <label class="k-checkbox-label" for="vars.checkbox${RANDOM}">Label</label>
4
5
  </div>
@@ -1,4 +1,4 @@
1
- <div class="form-group combobox-theme" combobox-theme="combobox-theme">
1
+ <div class="form-group combobox-gray" combobox-theme="combobox-gray">
2
2
  <label for="cron-${COMPONENTID}-container">Label</label>
3
3
  <cron-multi-select options="{}" ng-required="false" id="cron-${COMPONENTID}" ng-model="vars.multipleCombobox${RANDOM}" class="crn-select form-control k-content">
4
4
  </cron-multi-select>
@@ -16,51 +16,15 @@
16
16
  <section class="form">
17
17
  <form crn-datasource="" data-component="crn-form">
18
18
  <div class="tool-bar" ng-hide="datasource.editing || datasource.inserting">
19
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
20
- <button aria-label="{{'StartInserting' | translate}}" class="btn k-button btn-fab btn-default" ng-click="datasource.startInserting()" xattr-theme="btn-default" xattr-fullsize="">
21
- <span class="k-icon k-i-plus color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
22
- </button>
23
- </div>
24
-
25
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
26
- <button aria-label="{{'StartEditing' | translate}}" class="btn k-button btn-fab btn-default" ng-click="datasource.startEditing()" xattr-theme="btn-default" xattr-fullsize="">
27
- <span class="k-icon k-i-edit color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
28
- </button>
29
- </div>
30
-
31
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-84681">
32
- <button aria-label="{{'Before' | translate}}" class="btn k-button btn-fab btn-default disabled" ng-disabled="!datasource.hasPrevious()" ng-click="datasource.previous()" xattr-theme="btn-default" xattr-fullsize="">
33
- <span class="k-icon k-i-arrow-chevron-left color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
34
- </button>
35
- </div>
36
-
37
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
38
- <button aria-label="{{'Next' | translate}}" class="btn k-button btn-fab btn-default disabled" ng-disabled="!datasource.hasNext()" ng-click="datasource.next()" xattr-theme="btn-default" xattr-fullsize="">
39
- <span class="k-icon k-i-arrow-chevron-right color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
40
- </button>
41
- </div>
42
-
43
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
44
- <button aria-label="{{'Remove' | translate}}" class="btn k-button btn-fab btn-danger" ng-click="datasource.remove()" xattr-theme="btn-danger" xattr-fullsize="">
45
- <span class="k-icon k-i-close color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
46
- </button>
47
- </div>
48
-
19
+ <button aria-label="{{'StartInserting' | translate}}" class="btn btn-primary btn-fab k-button" data-component="crn-button" ng-click="datasource.startInserting()"><span class="k-icon k-i-plus"></span></button>
20
+ <button aria-label="{{'StartEditing' | translate}}" class="btn btn-primary btn-fab k-button" data-component="crn-button" ng-click="datasource.startEditing()"><span class="k-icon k-i-edit"></span></button>
21
+ <button aria-label="{{'Before' | translate}}" class="btn btn-primary btn-fab k-button" data-component="crn-button" ng-disabled="!datasource.hasPrevious()" ng-click="datasource.previous()"><span class="k-icon k-i-arrow-chevron-left"></span></button>
22
+ <button aria-label="{{'Next' | translate}}" class="btn btn-primary btn-fab k-button" data-component="crn-button" ng-disabled="!datasource.hasNext()" ng-click="datasource.next()"><span class="k-icon k-i-arrow-chevron-right"></span></button>
23
+ <button aria-label="{{'Remove' | translate}}" class="btn btn-danger btn-fab k-button" data-component="crn-button" ng-click="datasource.remove()"><span class="k-icon k-i-close"></span></button>
49
24
  </div>
50
25
  <div class="active-bar" ng-hide="!datasource.editing &amp;&amp; !datasource.inserting">
51
-
52
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
53
- <button aria-label="{{'SaveChanges' | translate}}" class="btn k-button btn-fab btn-success" ng-disabled="!datasource.hasNext()" ng-click="datasource.post()" xattr-theme="btn-success" id="btn_crud_post_8499" xattr-fullsize="">
54
- <span class="k-icon k-i-check color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
55
- </button>
56
- </div>
57
-
58
- <div class="component-holder ng-scope" data-component="crn-button" id="crn-button-8499">
59
- <button aria-label="{{'CancelChanges' | translate}}" class="btn k-button btn-fab btn-danger" ng-click="datasource.cancel()" xattr-theme="btn-danger" id="btn_crud_cancel_8499" xattr-fullsize="">
60
- <span class="k-icon k-i-cancel color-theme" icon-theme="color-theme" text-theme="color-theme"></span>
61
- </button>
62
- </div>
63
-
26
+ <button aria-label="{{'SaveChanges' | translate}}" class="btn btn-success btn-fab k-button" id="btn_crud_post_${RANDOM}" data-component="crn-button" ng-click="datasource.post()"><span class="k-icon k-i-check"></span></button>
27
+ <button aria-label="{{'CancelChanges' | translate}}" class="btn btn-danger btn-fab k-button" id="btn_crud_cancel_${RANDOM}" data-component="crn-button" ng-click="datasource.cancel()"><span class="k-icon k-i-cancel"></span></button>
64
28
  </div>
65
29
  <br>
66
30
  <div class="component-holder ng-scope crn-fieldset" data-component="crn-horizontal-container" id="crn-horizontal-container-${RANDOM}" ng-disabled="!datasource.editing &amp;&amp; !datasource.inserting">
@@ -1,4 +1,4 @@
1
1
  <div class="form-group" id="cron-${COMPONENTID}">
2
- <label for="cron-${COMPONENTID}">Label</label>
2
+ <label for="cron-${COMPONENTID}" id="cron-${COMPONENTID}_label">Label</label>
3
3
  <cron-dynamic-select ng-required="false" id="cron-${COMPONENTID}" ng-model="vars.dynCombobox${RANDOM}" class="k-textbox crn-select form-control" no-results-message="{{'noDataFound' | translate}}" validationmessage="{{'requiredField' | translate}}" options="{}"></cron-dynamic-select>
4
4
  </div>
@@ -1,4 +1,4 @@
1
- <label class="btn btn-default" xattr-theme="btn-default">
1
+ <label class="btn btn-primary" xattr-theme="btn-primary">
2
2
  <i class="glyphicon glyphicon-cloud-upload"></i>
3
3
  <input type="file" style="display:none" onchange="$('#upload-file-info').html($(this).val().split('\\')[2])">
4
4
  <span>Upload</span>
@@ -1,6 +1,6 @@
1
1
  <div class="">
2
2
  <form action="" method="post" enctype="multipart/form-data">
3
- <label class=" component-holder btn btn-default k-button" xattr-theme="btn-default" data-component="crn-upload-file">
3
+ <label class=" component-holder btn btn-primary k-button" xattr-theme="btn-primary" data-component="crn-upload-file">
4
4
  <i class="glyphicon glyphicon-cloud-upload"></i>
5
5
  <input type="file" style="display:none" onchange="$('#upload-file-info').html($(this).val().split('\\')[2])">
6
6
  <span>Upload</span>