cronapp-framework-js 3.0.0 → 3.1.0-SP.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.
- package/components/crn-dynamic-file.components.json +65 -34
- package/components/crn-dynamic-menu.components.json +0 -21
- package/components/crn-enterprise-combobox-multiple.components.json +6 -0
- package/components/crn-navbar.components.json +26 -1
- package/components/crn-start.components.json +3 -0
- package/components/cron-breadcrumbs.components.json +7 -3
- package/components/templates/Component_Container/crn-eight-four-container.template.html +2 -2
- package/components/templates/Component_Container/crn-four-eight-container.template.html +2 -2
- package/components/templates/Component_Container/crn-one-container.template.html +1 -1
- package/components/templates/Component_Container/crn-three-container.template.html +3 -3
- package/components/templates/Component_Container/crn-three-six-three-container.template.html +3 -3
- package/components/templates/Component_Container/crn-two-container.template.html +2 -2
- package/components/templates/cron-autocomplete.designtime.html +2 -2
- package/components/templates/cron-combobox-multiple.template.html +1 -1
- package/components/templates/cron-grid.designtime.html +5 -4
- package/components/templates/dynamicfile.designtime.html +5 -0
- package/components/templates/dynamicfile.template.html +20 -3
- package/css/app.css +5 -0
- package/css/fonts/nunito/nunito.css +270 -0
- package/css/themes/custom/aquamarine/custom-aquamarine.css +24 -10
- package/css/themes/custom/cerulean/custom-cerulean.css +1 -0
- package/css/themes/custom/cosmo/custom-cosmo.css +16 -16
- package/css/themes/custom/cosmo/panel-cosmo.css +1 -1
- package/css/themes/custom/cyborg/button-cyborg.css +67 -3
- package/css/themes/custom/cyborg/custom-cyborg.css +250 -69
- package/css/themes/custom/cyborg/navbar-cyborg.css +4 -4
- package/css/themes/custom/cyborg/panel-cyborg.css +6 -7
- package/css/themes/custom/darkly/custom-darkly.css +1 -8
- package/css/themes/custom/dsgov/button-dsgov.css +0 -1
- package/css/themes/custom/dsgov/calendar-dsgov.css +2 -2
- package/css/themes/custom/dsgov/custom-dsgov.css +12 -1
- package/css/themes/custom/dsgov/table-grid-dsgov.css +14 -9
- package/css/themes/custom/flatly/custom-flatly.css +1 -0
- package/css/themes/custom/fuse/custom-fuse.css +15 -19
- package/css/themes/custom/journal/custom-journal.css +1 -0
- package/css/themes/custom/krypton/custom-krypton.css +991 -236
- package/css/themes/custom/krypton/grid-krypton.css +253 -66
- package/css/themes/custom/krypton/navbar-krypton.css +13 -12
- package/css/themes/custom/krypton/panel-krypton.css +29 -26
- package/css/themes/custom/lumen/button-lumen.css +8 -8
- package/css/themes/custom/lumen/custom-lumen.css +46 -34
- package/css/themes/custom/lumen/navbar-lumen.css +1 -1
- package/css/themes/custom/lumen/panel-lumen.css +17 -13
- package/css/themes/custom/material/custom-material.css +12 -1
- package/css/themes/custom/material/grid-material.css +1 -1
- package/css/themes/custom/material/navbar-material.css +13 -0
- package/css/themes/custom/material-round/custom-material-round.css +187 -34
- package/css/themes/custom/material-round/grid-material-round.css +174 -18
- package/css/themes/custom/materialui/custom-materialui.css +1 -0
- package/css/themes/custom/nature/custom-nature.css +2131 -0
- package/css/themes/custom/nature/grid-nature.css +396 -0
- package/css/themes/custom/nature/navbar-nature.css +98 -0
- package/css/themes/custom/nature/panel-nature.css +72 -0
- package/css/themes/custom/navigator/custom-navigator.css +80 -21
- package/css/themes/custom/paper/custom-paper.css +284 -27
- package/css/themes/custom/readable/button-readable.css +61 -1
- package/css/themes/custom/readable/custom-readable.css +242 -26
- package/css/themes/custom/readable/navbar-readable.css +1 -2
- package/css/themes/custom/readable/panel-readable.css +6 -8
- package/css/themes/custom/sandstone/button-sandstone.css +12 -0
- package/css/themes/custom/sandstone/custom-sandstone.css +1 -0
- package/css/themes/custom/simplex/custom-simplex.css +1 -0
- package/css/themes/custom/slate/custom-slate.css +4 -3
- package/css/themes/custom/spacelab/custom-spacelab.css +1 -0
- package/css/themes/custom/superhero/button-superhero.css +1 -1
- package/css/themes/custom/superhero/custom-superhero.css +348 -45
- package/css/themes/custom/superhero/navbar-superhero.css +5 -1
- package/css/themes/custom/superhero/panel-superhero.css +4 -5
- package/css/themes/custom/superhero/tabs-superhero.css +1 -1
- package/css/themes/custom/theme-general/button.css +4 -0
- package/css/themes/custom/theme-general/menu-vertical-retratil.css +35 -23
- package/css/themes/custom/theme-general/menu.css +10 -2
- package/css/themes/custom/theme-general/table-grid.css +14 -2
- package/css/themes/custom/theme-general/theme-general.css +30 -0
- package/css/themes/custom/united/custom-united.css +1 -0
- package/css/themes/custom/yeti/custom-yeti.css +1 -0
- package/css/themes/nature.min.css +9 -0
- package/dist/components/js/format.min.js +1 -1
- package/dist/components/js/jquery.inputmask.bundle.js +1 -1
- package/dist/components/js/jquery.mask.min.js +1 -1
- package/dist/components/templates/Component_Container/crn-eight-four-container.template.html +1 -1
- package/dist/components/templates/Component_Container/crn-four-eight-container.template.html +1 -1
- package/dist/components/templates/Component_Container/crn-one-container.template.html +1 -1
- package/dist/components/templates/Component_Container/crn-three-container.template.html +1 -1
- package/dist/components/templates/Component_Container/crn-three-six-three-container.template.html +1 -1
- package/dist/components/templates/Component_Container/crn-two-container.template.html +1 -1
- package/dist/components/templates/cron-autocomplete.designtime.html +1 -1
- package/dist/components/templates/cron-combobox-multiple.template.html +1 -1
- package/dist/components/templates/cron-grid.designtime.html +1 -1
- package/dist/components/templates/dynamicfile.designtime.html +1 -0
- package/dist/components/templates/dynamicfile.template.html +1 -1
- package/dist/css/app.css +1 -1
- package/dist/css/themes/custom/aquamarine/custom-aquamarine.css +1 -1
- package/dist/css/themes/custom/cerulean/custom-cerulean.css +1 -1
- package/dist/css/themes/custom/cosmo/custom-cosmo.css +1 -1
- package/dist/css/themes/custom/cosmo/panel-cosmo.css +1 -1
- package/dist/css/themes/custom/cyborg/button-cyborg.css +1 -1
- package/dist/css/themes/custom/cyborg/custom-cyborg.css +1 -1
- package/dist/css/themes/custom/cyborg/navbar-cyborg.css +1 -1
- package/dist/css/themes/custom/cyborg/panel-cyborg.css +1 -1
- package/dist/css/themes/custom/darkly/custom-darkly.css +1 -1
- package/dist/css/themes/custom/dsgov/button-dsgov.css +1 -1
- package/dist/css/themes/custom/dsgov/calendar-dsgov.css +1 -1
- package/dist/css/themes/custom/dsgov/custom-dsgov.css +1 -1
- package/dist/css/themes/custom/dsgov/table-grid-dsgov.css +1 -1
- package/dist/css/themes/custom/flatly/custom-flatly.css +1 -1
- package/dist/css/themes/custom/fuse/custom-fuse.css +1 -1
- package/dist/css/themes/custom/journal/custom-journal.css +1 -1
- package/dist/css/themes/custom/krypton/custom-krypton.css +1 -1
- package/dist/css/themes/custom/krypton/grid-krypton.css +1 -1
- package/dist/css/themes/custom/krypton/navbar-krypton.css +1 -1
- package/dist/css/themes/custom/krypton/panel-krypton.css +1 -1
- package/dist/css/themes/custom/lumen/button-lumen.css +1 -1
- package/dist/css/themes/custom/lumen/custom-lumen.css +1 -1
- package/dist/css/themes/custom/lumen/navbar-lumen.css +1 -1
- package/dist/css/themes/custom/lumen/panel-lumen.css +1 -1
- package/dist/css/themes/custom/material/custom-material.css +1 -1
- package/dist/css/themes/custom/material/grid-material.css +1 -1
- package/dist/css/themes/custom/material/navbar-material.css +1 -1
- package/dist/css/themes/custom/material-round/custom-material-round.css +1 -1
- package/dist/css/themes/custom/material-round/grid-material-round.css +1 -1
- package/dist/css/themes/custom/materialui/custom-materialui.css +1 -1
- package/dist/css/themes/custom/nature/custom-nature.css +1 -0
- package/dist/css/themes/custom/nature/grid-nature.css +1 -0
- package/dist/css/themes/custom/nature/navbar-nature.css +1 -0
- package/dist/css/themes/custom/nature/panel-nature.css +1 -0
- package/dist/css/themes/custom/navigator/custom-navigator.css +1 -1
- package/dist/css/themes/custom/paper/custom-paper.css +1 -1
- package/dist/css/themes/custom/readable/button-readable.css +1 -1
- package/dist/css/themes/custom/readable/custom-readable.css +1 -1
- package/dist/css/themes/custom/readable/navbar-readable.css +1 -1
- package/dist/css/themes/custom/readable/panel-readable.css +1 -1
- package/dist/css/themes/custom/sandstone/button-sandstone.css +1 -1
- package/dist/css/themes/custom/sandstone/custom-sandstone.css +1 -1
- package/dist/css/themes/custom/simplex/custom-simplex.css +1 -1
- package/dist/css/themes/custom/slate/custom-slate.css +1 -1
- package/dist/css/themes/custom/spacelab/custom-spacelab.css +1 -1
- package/dist/css/themes/custom/superhero/button-superhero.css +1 -1
- package/dist/css/themes/custom/superhero/custom-superhero.css +1 -1
- package/dist/css/themes/custom/superhero/navbar-superhero.css +1 -1
- package/dist/css/themes/custom/superhero/panel-superhero.css +1 -1
- package/dist/css/themes/custom/superhero/tabs-superhero.css +1 -1
- package/dist/css/themes/custom/theme-general/button.css +1 -1
- package/dist/css/themes/custom/theme-general/menu-vertical-retratil.css +1 -1
- package/dist/css/themes/custom/theme-general/menu.css +1 -1
- package/dist/css/themes/custom/theme-general/table-grid.css +1 -1
- package/dist/css/themes/custom/theme-general/theme-general.css +1 -1
- package/dist/css/themes/custom/united/custom-united.css +1 -1
- package/dist/css/themes/custom/yeti/custom-yeti.css +1 -1
- package/dist/css/themes/nature.min.css +1 -0
- package/dist/js/app.js +1 -1
- package/dist/js/controllers.js +1 -1
- package/dist/js/directives.js +13 -8
- package/dist/js/reports/reports.service.js +1 -1
- package/dist/js/upload.service.js +1 -1
- package/js/app.js +5 -4
- package/js/controllers.js +43 -25
- package/js/directives.js +541 -275
- package/js/reports/reports.service.js +5 -5
- package/js/upload.service.js +7 -4
- package/package.json +1 -1
- package/postupdate.json +6 -0
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
"description": "Estrutura para armazenar arquivos na fonte de dados",
|
|
7
7
|
"description_en_US": "Structure for storing file in data source",
|
|
8
8
|
"category": [
|
|
9
|
-
|
|
9
|
+
"INPUTS", "FORMS"
|
|
10
10
|
],
|
|
11
|
+
"autoWrapper": false,
|
|
11
12
|
"templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/dynamicfile.template.html",
|
|
12
13
|
"styles": [
|
|
13
14
|
{
|
|
@@ -38,6 +39,36 @@
|
|
|
38
39
|
},
|
|
39
40
|
"id": {
|
|
40
41
|
"order": 3
|
|
42
|
+
},
|
|
43
|
+
"onclick": {
|
|
44
|
+
"type": "event"
|
|
45
|
+
},
|
|
46
|
+
"target": {
|
|
47
|
+
"removable": false,
|
|
48
|
+
"type": "list",
|
|
49
|
+
"options": [
|
|
50
|
+
{
|
|
51
|
+
"key": "_blank",
|
|
52
|
+
"value": "Nova janela"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"key": "_self",
|
|
56
|
+
"value": "Mesma janela"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "_parent",
|
|
60
|
+
"value": "Janela pai"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"key": "_top",
|
|
64
|
+
"value": "Top"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"href": {
|
|
69
|
+
"removable": false,
|
|
70
|
+
"type": "projectResource",
|
|
71
|
+
"resourceType": "text/html"
|
|
41
72
|
}
|
|
42
73
|
},
|
|
43
74
|
"childrenProperties": [
|
|
@@ -69,38 +100,38 @@
|
|
|
69
100
|
"type": "list",
|
|
70
101
|
"selector": "div[accept-file]",
|
|
71
102
|
"options": [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
{
|
|
104
|
+
"value": "All",
|
|
105
|
+
"value_pt_BR": "Todos",
|
|
106
|
+
"key": "'*.*'"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"value": "Audio",
|
|
110
|
+
"value_pt_BR": "Áudio",
|
|
111
|
+
"key": "'audio/*'"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"value": "Image",
|
|
115
|
+
"value_pt_BR": "Imagem",
|
|
116
|
+
"key": "'image/*'"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"value": "Video",
|
|
120
|
+
"value_pt_BR": "Vídeo",
|
|
121
|
+
"key": "'video/*'"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"value": "PDF",
|
|
125
|
+
"key": "'.pdf'"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"value": "Word (doc/docx)",
|
|
129
|
+
"key": "'.doc,.docx'"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"value": "Excel (xls/xlsx)",
|
|
133
|
+
"key": "'.xls,.xlsx'"
|
|
134
|
+
}
|
|
104
135
|
]
|
|
105
136
|
},
|
|
106
137
|
{
|
|
@@ -154,4 +185,4 @@
|
|
|
154
185
|
"type": "event"
|
|
155
186
|
}
|
|
156
187
|
]
|
|
157
|
-
}
|
|
188
|
+
}
|
|
@@ -31,27 +31,6 @@
|
|
|
31
31
|
"options": {
|
|
32
32
|
"displayName_pt_BR": "Configuração",
|
|
33
33
|
"displayName_en_US": "Configuration"
|
|
34
|
-
},
|
|
35
|
-
"multilevel-action": {
|
|
36
|
-
"removable": false,
|
|
37
|
-
"selector": "cron-dynamic-menu",
|
|
38
|
-
"displayName_pt_BR": "Ação do multinível",
|
|
39
|
-
"displayName_en_US": "Multilevel action",
|
|
40
|
-
"childrenProperty": true,
|
|
41
|
-
"type": "list",
|
|
42
|
-
"options": [
|
|
43
|
-
{
|
|
44
|
-
"key": "hover",
|
|
45
|
-
"value_pt_BR": "Ao passar o mouse",
|
|
46
|
-
"value_en_US": "Hover"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"key": "click",
|
|
50
|
-
"value_pt_BR": "Clique",
|
|
51
|
-
"value_en_US": "Click"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"order": 2
|
|
55
34
|
}
|
|
56
35
|
},
|
|
57
36
|
"styles": [
|
|
@@ -324,6 +324,12 @@
|
|
|
324
324
|
"type": "logic",
|
|
325
325
|
"displayName_pt_BR": "Ocultar Item Selecionado",
|
|
326
326
|
"displayName_en_US": "Hide Selected Item"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "id",
|
|
330
|
+
"selector": "cron-multi-select",
|
|
331
|
+
"type": "text",
|
|
332
|
+
"onSave": "javascript:(value)=> {this.currentObject.parent().find('label').attr('for', arguments[0]); return arguments[0];}"
|
|
327
333
|
}
|
|
328
334
|
],
|
|
329
335
|
"styles": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"xattr-class": {
|
|
18
18
|
"order": 998,
|
|
19
19
|
"fixed": true,
|
|
20
|
-
"onSave": "javascript:function(){ let parent=this.currentObject.parent()
|
|
20
|
+
"onSave": "javascript:function(){ let currentElementId = this.currentObject.attr('id'); let selectedPosition = arguments[0]; let parent = this.currentObject.parent(); let menuVertical = this.currentObject; let uiView = parent.find('[ui-view]'); if(uiView.length === 0) { uiView = parent.parent().find('[ui-view]');} if (selectedPosition.indexOf('horizontal') > -1) { uiView.removeClass('main-view-vertical').removeClass('main-view-retratil').addClass('main-view-horizontal'); menuVertical.removeClass('crn-navigator-retratil').removeClass('crn-navigator-vertical').removeClass('collapsible-menu-hide'); parent.find('.main-title').removeClass('hide'); parent.find('#checkCollapsibleMenu').remove(); parent.find('.labelCollapsibleMenu').remove(); parent.removeClass('crn-navigator-vertical').removeClass('crn-navigator-retratil').removeClass('crn-navigator-retratil-left').addClass('crn-navigator-horizontal'); } else if (selectedPosition.indexOf('retratil') > -1) { uiView.removeClass('main-view-horizontal').addClass('main-view-retratil').addClass('main-view-vertical'); parent.find('.main-title').addClass('hide'); parent.removeClass('crn-navigator-horizontal').removeClass('crn-navigator-vertical').addClass('crn-navigator-retratil').addClass('crn-navigator-retratil-left'); menuVertical.addClass('collapsible-menu-hide'); menuVertical.addClass('crn-navigator-vertical'); menuVertical.addClass('crn-navigator-retratil'); menuVertical[0].insertAdjacentHTML('beforebegin', '<input type=\"checkbox\" id=\"checkCollapsibleMenu\"><label for=\"checkCollapsibleMenu\" class=\"labelCollapsibleMenu\"><i class=\"glyphicon glyphicon-menu-right\" id=\"iconCollapsibleMenu\"></i></label>'); parent.find('[main-nav-bar]').removeClass('crn-navigator-vertical'); } else if (selectedPosition.indexOf('vertical') > -1) { uiView.removeClass('main-view-horizontal').removeClass('main-view-retratil').addClass('main-view-vertical'); menuVertical.removeClass('crn-navigator-retratil').removeClass('collapsible-menu-hide'); parent.find('.main-title').removeClass('hide'); parent.find('#checkCollapsibleMenu').remove(); parent.find('.labelCollapsibleMenu').remove(); parent.removeClass('crn-navigator-horizontal').addClass('crn-navigator-vertical'); } return selectedPosition; }",
|
|
21
21
|
"displayName_pt_BR": "Posição",
|
|
22
22
|
"displayName_en_US": "Position",
|
|
23
23
|
"selector": "div"
|
|
@@ -30,6 +30,14 @@
|
|
|
30
30
|
"displayName_en_US": "Collapsible menu type",
|
|
31
31
|
"selector": "div"
|
|
32
32
|
},
|
|
33
|
+
"expand-sub-menu": {
|
|
34
|
+
"order": 1000,
|
|
35
|
+
"fixed": true,
|
|
36
|
+
"onSave": "javascript:function(){ let selected = arguments[0]; return selected; }",
|
|
37
|
+
"displayName_pt_BR": "Expandir sub-menu",
|
|
38
|
+
"displayName_en_US": "Expand sub-menu",
|
|
39
|
+
"selector": "div"
|
|
40
|
+
},
|
|
33
41
|
"id": {
|
|
34
42
|
"order": 2
|
|
35
43
|
}
|
|
@@ -73,6 +81,23 @@
|
|
|
73
81
|
"icon": "mdi mdi-chevron-right"
|
|
74
82
|
}
|
|
75
83
|
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "expand-sub-menu",
|
|
87
|
+
"type": "options",
|
|
88
|
+
"target": "class",
|
|
89
|
+
"values": [
|
|
90
|
+
{
|
|
91
|
+
"key": "submenu-click",
|
|
92
|
+
"value_pt_BR": "Ao clicar",
|
|
93
|
+
"value_en_US": "On clicking"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "submenu-hover",
|
|
97
|
+
"value_pt_BR": "Ao passar o mouse",
|
|
98
|
+
"value_en_US": "Mouse over"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
76
101
|
}
|
|
77
102
|
],
|
|
78
103
|
"childrenProperties": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-breadcrumbs.template.html",
|
|
14
14
|
"designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-breadcrumbs.designtime.html",
|
|
15
|
-
"designTimeSelector": "
|
|
15
|
+
"designTimeSelector": "cron-breadcrumbs",
|
|
16
16
|
"designTimeDynamic": true,
|
|
17
17
|
"wrapper": false,
|
|
18
18
|
"forcedGroup": true,
|
|
@@ -41,16 +41,20 @@
|
|
|
41
41
|
"name": "crn-delimiter-icon",
|
|
42
42
|
"type": "options",
|
|
43
43
|
"target": "class",
|
|
44
|
+
"designTimeSelector": ".k-breadcrumb-delimiter-icon",
|
|
45
|
+
"designTimeTarget" : "class",
|
|
44
46
|
"values": [
|
|
45
47
|
{
|
|
46
48
|
"key": "arrow-chevron-right",
|
|
47
49
|
"value_pt_BR": "Seta",
|
|
48
|
-
"value_en_US": "Arrow"
|
|
50
|
+
"value_en_US": "Arrow",
|
|
51
|
+
"designTimeKey": "k-i-arrow-chevron-right"
|
|
49
52
|
},
|
|
50
53
|
{
|
|
51
54
|
"key": "line",
|
|
52
55
|
"value_pt_BR": "Linha",
|
|
53
|
-
"value_en_US": "Line"
|
|
56
|
+
"value_en_US": "Line",
|
|
57
|
+
"designTimeKey": "k-i-line"
|
|
54
58
|
}
|
|
55
59
|
]
|
|
56
60
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="col col-lg-8 col-md-8 col-sm-8 col-xs-8"
|
|
3
3
|
data-container="true"
|
|
4
|
-
data-replace="
|
|
4
|
+
data-replace="true"
|
|
5
5
|
>
|
|
6
6
|
1 Column
|
|
7
7
|
</div>
|
|
8
8
|
<div
|
|
9
9
|
class="col col-lg-4 col-md-4 col-sm-4 col-xs-4"
|
|
10
10
|
data-container="true"
|
|
11
|
-
data-replace="
|
|
11
|
+
data-replace="true"
|
|
12
12
|
>
|
|
13
13
|
2 Column
|
|
14
14
|
</div>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="col col-lg-4 col-md-4 col-sm-4 col-xs-4"
|
|
3
3
|
data-container="true"
|
|
4
|
-
data-replace="
|
|
4
|
+
data-replace="true"
|
|
5
5
|
>
|
|
6
6
|
1 Column
|
|
7
7
|
</div>
|
|
8
8
|
<div
|
|
9
9
|
class="col col-lg-8 col-md-8 col-sm-8 col-xs-8"
|
|
10
10
|
data-container="true"
|
|
11
|
-
data-replace="
|
|
11
|
+
data-replace="true"
|
|
12
12
|
>
|
|
13
13
|
2 Column
|
|
14
14
|
</div>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="col col-lg-4 col-md-4 col-sm-4 col-xs-4"
|
|
3
3
|
data-container="true"
|
|
4
|
-
data-replace="
|
|
4
|
+
data-replace="true"
|
|
5
5
|
>
|
|
6
6
|
1 Column
|
|
7
7
|
</div>
|
|
8
8
|
<div
|
|
9
9
|
class="col col-lg-4 col-md-4 col-sm-4 col-xs-4"
|
|
10
10
|
data-container="true"
|
|
11
|
-
data-replace="
|
|
11
|
+
data-replace="true"
|
|
12
12
|
>
|
|
13
13
|
2 Column
|
|
14
14
|
</div>
|
|
15
15
|
<div
|
|
16
16
|
class="col col-lg-4 col-md-4 col-sm-4 col-xs-4"
|
|
17
17
|
data-container="true"
|
|
18
|
-
data-replace="
|
|
18
|
+
data-replace="true"
|
|
19
19
|
>
|
|
20
20
|
3 Column
|
|
21
21
|
</div>
|
package/components/templates/Component_Container/crn-three-six-three-container.template.html
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="col col-lg-3 col-md-3 col-sm-3 col-xs-3"
|
|
3
3
|
data-container="true"
|
|
4
|
-
data-replace="
|
|
4
|
+
data-replace="true"
|
|
5
5
|
>
|
|
6
6
|
1 Column
|
|
7
7
|
</div>
|
|
8
8
|
<div
|
|
9
9
|
class="col col-lg-6 col-md-6 col-sm-6 col-xs-6"
|
|
10
10
|
data-container="true"
|
|
11
|
-
data-replace="
|
|
11
|
+
data-replace="true"
|
|
12
12
|
>
|
|
13
13
|
2 Column
|
|
14
14
|
</div>
|
|
15
15
|
<div
|
|
16
16
|
class="col col-lg-3 col-md-3 col-sm-3 col-xs-3"
|
|
17
17
|
data-container="true"
|
|
18
|
-
data-replace="
|
|
18
|
+
data-replace="true"
|
|
19
19
|
>
|
|
20
20
|
3 Column
|
|
21
21
|
</div>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="col col-lg-6 col-md-6 col-sm-6 col-xs-6"
|
|
3
3
|
data-container="true"
|
|
4
|
-
data-replace="
|
|
4
|
+
data-replace="true"
|
|
5
5
|
>
|
|
6
6
|
1 Column
|
|
7
7
|
</div>
|
|
8
8
|
<div
|
|
9
9
|
class="col col-lg-6 col-md-6 col-sm-6 col-xs-6"
|
|
10
10
|
data-container="true"
|
|
11
|
-
data-replace="
|
|
11
|
+
data-replace="true"
|
|
12
12
|
>
|
|
13
13
|
2 Column
|
|
14
14
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<span tabindex="-1" role="presentation" class="k-widget k-autocomplete cronAutoComplete k-autocomplete-clearable k-state-default" style="width: 100%;">
|
|
1
|
+
<div><span tabindex="-1" role="presentation" class="k-widget k-autocomplete cronAutoComplete k-autocomplete-clearable k-state-default" style="width: 100%;">
|
|
2
2
|
<input style="" id="cron-crn-enterprise-autocomplete-169514" required="" class="cronAutoComplete k-input" placeholder="Select an item" type="text" autocomplete="off">
|
|
3
3
|
<span unselectable="on" class="k-icon k-clear-value k-i-close" title="clear" role="button" tabindex="-1"></span>
|
|
4
|
-
</span>
|
|
4
|
+
</span></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="form-group combobox-default" combobox-theme="combobox-default">
|
|
1
|
+
<div class="form-group combobox-default" combobox-theme="combobox-default" id="cron-${COMPONENTID}">
|
|
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>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<th ng-repeat="item in attrs.options.columns" ng-if="item.visible" scope="col" role="columnheader" data-field="email" aria-haspopup="true" rowspan="1" data-title="Email" data-index="0" id="2b4d0eb0-1cc1-4f89-927b-b8c1fbcf430e" style="text-align: left;" class="k-header k-with-icon k-filterable" data-role="columnsorter">
|
|
31
31
|
<label ng-if="item.dataType == 'Selectable'" class="k-checkbox-label k-no-text"></label>
|
|
32
32
|
<a ng-if="item.dataType !== 'Selectable'" class="k-link" href="#">{{item.headerText?parseProperty(item.headerText):''}}</a>
|
|
33
|
-
<a ng-if="item.filterable && tem.dataType != 'Customized' && item.dataType != 'Command' && item.dataType !== 'Selectable'" class="k-grid-filter" href="#" title="Filtrar" aria-label="Filtrar" tabindex="0">
|
|
33
|
+
<a ng-if="item.filterable && tem.dataType != 'Customized' && item.dataType != 'Command' && item.dataType !== 'Selectable' && item.dataType !== 'GroupedButtons'" class="k-grid-filter" href="#" title="Filtrar" aria-label="Filtrar" tabindex="0">
|
|
34
34
|
<span class="k-icon k-i-filter"></span>
|
|
35
35
|
</a>
|
|
36
36
|
</th>
|
|
@@ -39,13 +39,14 @@
|
|
|
39
39
|
<tbody role="rowgroup">
|
|
40
40
|
<tr data-uid="59430dcb-6ccd-497d-954d-9b5569408cb4" role="row">
|
|
41
41
|
|
|
42
|
-
<td ng-repeat="item in attrs.options.columns | filter: {visible:true}" role="gridcell" class="{{item.dataType == 'Command'|| item.dataType == 'Customized'?'k-command-cell':''}}">
|
|
42
|
+
<td ng-repeat="item in attrs.options.columns | filter: {visible:true}" role="gridcell" class="{{item.dataType == 'Command'|| item.dataType == 'Customized' || item.dataType == 'GroupedButtons'?'k-command-cell':''}}">
|
|
43
43
|
|
|
44
44
|
<label ng-if="item.dataType == 'Selectable'" class="k-checkbox-label k-no-text"></label>
|
|
45
|
-
<span ng-if="item.dataType != 'Customized' && item.dataType != 'Command'">{{item.headerText?parseProperty(item.headerText):''}}</span>
|
|
45
|
+
<span ng-if="item.dataType != 'Customized' && item.dataType != 'Command' && item.dataType != 'GroupedButtons'">{{item.headerText?parseProperty(item.headerText):''}}</span>
|
|
46
46
|
<a ng-if="item.dataType == 'Command' && (item.command == 'edit|destroy' || item.command == 'edit')" role="button" class="k-button k-button-icontext k-grid-edit" href="#"><span class="k-icon k-i-edit"></span> </a>
|
|
47
47
|
<a ng-if="item.dataType == 'Command' && (item.command == 'edit|destroy' || item.command == 'destroy')" role="button" class="k-button k-button-icontext k-grid-delete" href="#"><span class="k-icon k-i-close"></span> </a>
|
|
48
|
-
<a ng-if="item.dataType == 'Customized'" href="" class="k-button k-custom-command k-button-with-label k-grid-f06e"><span class="{{item.iconClass}}"></span
|
|
48
|
+
<a ng-if="item.dataType == 'Customized'" style="width:{{item.width}}px" href="" class="k-button k-custom-command {{item.label != ''?'k-button-with-label':''}} btn {{item.theme}} k-grid-f06e"><span class="{{item.iconClass}}"></span>{{item.label?' ' + parseProperty(item.label):''}}</a>
|
|
49
|
+
<a ng-if="item.dataType == 'GroupedButtons'" ng-repeat="item2 in item.buttonColumns" style="width:{{item2.width}}px" href="" class="k-button k-custom-command {{item2.label != ''?'k-button-with-label':''}} btn {{item2.theme}} k-grid-f06e"><span class="{{item2.iconClass}}"></span>{{item2.label?' ' + parseProperty(item2.label):''}}</a>
|
|
49
50
|
</td>
|
|
50
51
|
</tr>
|
|
51
52
|
</tbody>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<div id="file-${RANDOM}" dynamic-file="" ng-model="vars.dynamicfile${RANDOM}" class="dynamic-image-container" style="padding: 50px 0;" ng-required="false" ngf-max-size="5MB" ngf-accept="'*.*'">
|
|
2
|
+
<button id="file-${RANDOM}-button" class="btn" ngf-drop ngf-select ngf-change="cronapi.internal.uploadFile('vars.dynamicfile${RANDOM}', $file, 'uploadprogress${RANDOM}', undefined, $invalidFiles)" style="position: absolute; left: 0;">
|
|
3
|
+
<span>Clique ou arraste um arquivo</span>
|
|
4
|
+
</button>
|
|
5
|
+
</div>
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
<div class="form-group">
|
|
2
2
|
<label for="file-${RANDOM}-button">Arquivo</label>
|
|
3
|
-
<div
|
|
4
|
-
|
|
3
|
+
<div class="dynamic-input-upload">
|
|
4
|
+
<div class="component-holder ng-scope" id="crn-button-${RANDOM}">
|
|
5
|
+
<div ng-if="!vars.dynamicfile${RANDOM}">
|
|
6
|
+
<input id="file-${RANDOM}-input" type="text" ng-model="vars.dynamicfile${RANDOM}" class="hidden">
|
|
7
|
+
<button id="file-${RANDOM}-button" class="btn k-button btn-default" ng-click="" xattr-fullsize="" xattr-theme="btn-default" xattr-disabled="" ngf-drop="" ngf-select="" ngf-change="cronapi.internal.uploadFile('vars.dynamicfile${RANDOM}', $file, 'uploadprogress${RANDOM}', undefined, $invalidFiles)" ngf-max-size="5MB" ngf-pattern="'*.*'" ngf-accept="'*.*'">
|
|
8
|
+
<span>Clique ou arraste um arquivo</span>
|
|
9
|
+
</button>
|
|
10
|
+
<div class="progress hidden" data-type="bootstrapProgress" id="uploadprogress${RANDOM}">
|
|
11
|
+
<div class="progress-bar" role="progressbar"></div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div ng-if="vars.dynamicfile${RANDOM}" class="upload-image-component-attribute ng-scope">
|
|
15
|
+
<div ng-bind-html="cronapi.internal.generatePreviewDescriptionByte(vars.dynamicfile${RANDOM}, undefined)" class="ng-binding"></div>
|
|
16
|
+
<div class="btn-container">
|
|
17
|
+
<a href="javascript:void(0)" ng-click="cronapi.internal.downloadFileEntity(vars,'dynamicfile${RANDOM}', undefined, undefined)">Baixar</a>
|
|
18
|
+
<span class="cancel-btn" ng-click="vars.dynamicfile${RANDOM} = null">Cancelar</span>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
5
22
|
</div>
|
|
6
|
-
</div>
|
|
23
|
+
</div>
|
package/css/app.css
CHANGED
|
@@ -403,4 +403,9 @@ img[src='undefined'] {
|
|
|
403
403
|
|
|
404
404
|
div.k-loading-pdf-mask > div.ng-scope.k-grid.k-widget.k-display-block.k-editable {
|
|
405
405
|
width: 100%;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.k-dropdown-wrap.k-state-focused {
|
|
409
|
+
box-shadow: 0 0 4px 2px rgba(0, 123, 255, 0.5) !important;
|
|
410
|
+
border-color: #80bdff !important;
|
|
406
411
|
}
|