cronapp-framework-js 1.0.5 → 1.0.10

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.
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  angular.module('custom.controllers').controller('UploadController',
38
- function($scope, $http, $translate, $stateParams, $location, $http, $modalInstance, data) {
38
+ function($scope, $http, $translate, $stateParams, $location, $modalInstance, data) {
39
39
 
40
40
  app.registerEventsCronapi($scope, $translate);
41
41
 
@@ -124,4 +124,4 @@
124
124
  };
125
125
 
126
126
  });
127
- }(app));
127
+ }(app));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-framework-js",
3
- "version": "1.0.5",
3
+ "version": "1.0.10",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  "gulp-uglify": "^3.0.2"
36
36
  },
37
37
  "dependencies": {
38
- "@cronapp/cronapp-mvc": "1.0.5",
38
+ "@cronapp/cronapp-mvc": "1.0.10",
39
39
  "cpf_cnpj": "0.2.0",
40
40
  "font-awesome": "4.4.0",
41
41
  "jquery": "3.5.1",
@@ -1,69 +0,0 @@
1
- {
2
- "name": "crn-cron-calendar",
3
- "onDrop": "openEditor",
4
- "onDoubleClick": "openEditor",
5
- "text_pt_BR": "Calendário",
6
- "text_en_US": "Calendar",
7
- "order": 2,
8
- "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-calendar.svg",
9
- "description": "Calendário mensal",
10
- "description_en_US": "Monthly calendar",
11
- "category": [
12
- "INPUTS", "FORMS"
13
- ],
14
- "forcedGroup": true,
15
- "designTimeDynamic": true,
16
- "designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-calendar.designtime.html",
17
- "designTimeSelector": "cron-calendar",
18
- "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-calendar.template.html",
19
- "properties": {
20
- "class": {
21
- "order": 9999
22
- },
23
- "id": {
24
- "order": 1
25
- }
26
- },
27
- "childrenProperties": [
28
- {
29
- "name": "options",
30
- "displayName_pt_BR": "Configurações",
31
- "displayName_en_US": "Configuration",
32
- "removable": false,
33
- "global": "true",
34
- "selector": "cron-calendar",
35
- "type": "text",
36
- "order": 1,
37
- "mandatory": true
38
- },
39
- {
40
- "name": "ng-model",
41
- "selector": "cron-calendar",
42
- "onSave": "javascript:function() { var result = arguments[0]; if (result.indexOf('.') == -1 && result.trim().length > 0 ) { result = 'vars.'+result; } return result; }",
43
- "onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
44
- "type": "text",
45
- "order": 2,
46
- "mandatory": true
47
- },
48
- {
49
- "name": "ng-on-selection-change",
50
- "selector": "cron-calendar",
51
- "order": 1,
52
- "displayName_pt_BR": "Ao Mudar Seleção",
53
- "displayName_en_US": "On Selection Change",
54
- "removable": true,
55
- "global": false,
56
- "type": "event"
57
- },
58
- {
59
- "name": "ng-on-navigate-view-change",
60
- "selector": "cron-calendar",
61
- "order": 2,
62
- "displayName_pt_BR": "Ao Navegar Pelo Calendário",
63
- "displayName_en_US": "On Calendar Navigates",
64
- "removable": true,
65
- "global": false,
66
- "type": "event"
67
- }
68
- ]
69
- }
@@ -1,33 +0,0 @@
1
- {
2
- "name": "crn-chart",
3
- "text_pt_BR": "Gráfico",
4
- "text_en_US": "Chart",
5
- "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-chart.svg",
6
- "description": "Exibição de gráfico com valores da fonte de dados",
7
- "description_en_US": "Graph display with data source values",
8
- "category": [
9
- "LAYOUTS", "FORMS"
10
- ],
11
- "forcedGroup": true,
12
- "wrapper": false,
13
- "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/chart.template.html",
14
- "designTimeHTML": "<img style=\"height: 100%;width:100%;min-height:100%; min-width:100%;\" src=\"node_modules/cronapp-framework-js/img/svg-charts.svg\"/>",
15
- "designTimeSelector": "canvas",
16
- "properties": {
17
- "class": {
18
- "order": 9999
19
- },
20
- "id": {
21
- "order": 1
22
- }
23
- },
24
- "childrenProperties": [
25
- {
26
- "name": "id",
27
- "selector": "canvas",
28
- "type": "text",
29
- "displayName_pt_BR": "Identificador do Canvas",
30
- "displayName_en_US": "Canvas Id"
31
- }
32
- ]
33
- }
@@ -1,53 +0,0 @@
1
- {
2
- "name": "crn-cron-scheduler",
3
- "onDrop": "openEditor",
4
- "onDoubleClick": "openEditor",
5
- "text_pt_BR": "Agendador",
6
- "text_en_US": "Scheduler",
7
- "order": 2,
8
- "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-scheduler.svg",
9
- "description": "Calendário com opção de agendar eventos",
10
- "description_en_US": "Calendar with option to schedule events",
11
- "category": [
12
- "LAYOUTS"
13
- ],
14
- "designTimeDynamic": true,
15
- "designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-scheduler.designtime.html",
16
- "designTimeSelector": "cron-scheduler",
17
- "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-scheduler.template.html",
18
- "properties": {
19
- "class": {
20
- "order": 9999
21
- },
22
- "id": {
23
- "order": 1
24
- }
25
- },
26
- "childrenProperties": [
27
- {
28
- "name": "options",
29
- "displayName_pt_BR": "Configurações",
30
- "displayName_en_US": "Configuration",
31
- "removable": false,
32
- "global": "true",
33
- "selector": "cron-scheduler",
34
- "type": "text",
35
- "order": 1
36
- },
37
- {
38
- "name": "ng-model",
39
- "selector": "cron-scheduler",
40
- "onSave": "javascript:function() { var result = arguments[0]; if (result.indexOf('.') == -1 && result.trim().length > 0 ) { result = 'vars.'+result; } return result; }",
41
- "onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
42
- "type": "text",
43
- "order": 2
44
- }
45
- ],
46
- "styles": [
47
- {
48
- "selector": "div#{id} .k-scheduler .k-scheduler-toolbar",
49
- "text_pt_BR": "Barra de Ferramentas",
50
- "text_en_US": "Toolbar"
51
- }
52
- ]
53
- }
@@ -1,188 +0,0 @@
1
- {
2
- "name": "crn-dynamic-file",
3
- "text_pt_BR": "Envio de Arquivo Dinâmico",
4
- "text_en_US": "Dynamic File Upload",
5
- "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-dynamic-file.svg",
6
- "description": "Estrutura para armazenar arquivos na fonte de dados",
7
- "description_en_US": "Structure for storing file in data source",
8
- "category": [
9
- "INPUTS", "FORMS"
10
- ],
11
- "autoWrapper": false,
12
- "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/dynamicfile.template.html",
13
- "styles": [
14
- {
15
- "selector": "div#{id} label",
16
- "text_pt_BR": "Título",
17
- "text_en_US": "Title"
18
- },
19
- {
20
- "selector": "div#{id} .dynamic-image-container",
21
- "text_pt_BR": "Campo pontilhado",
22
- "text_en_US": "Dotted field"
23
- },
24
- {
25
- "selector": "div#{id} .btn",
26
- "text_pt_BR": "Botão",
27
- "text_en_US": "Button"
28
- }
29
- ],
30
- "properties": {
31
- "ng-model": {
32
- "onSave": "javascript:function() { var result = arguments[0]; if (result.indexOf('.') == -1 && result.trim().length > 0 ) { result = 'vars.'+result; } return result; }",
33
- "onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
34
- "order": 1,
35
- "mandatory": true
36
- },
37
- "class": {
38
- "order": 9999
39
- },
40
- "id": {
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"
72
- }
73
- },
74
- "childrenProperties": [
75
- {
76
- "name": "content",
77
- "selector": "div[dynamic-file]",
78
- "displayName_pt_BR": "Texto interno",
79
- "displayName_en_US": "Internal text",
80
- "type": "text",
81
- "order": 2
82
- },
83
- {
84
- "name": "ng-model",
85
- "selector": "div[dynamic-file]",
86
- "type": "text",
87
- "order": 3,
88
- "mandatory": true
89
- },
90
- {
91
- "name": "file-info",
92
- "selector": "div[dynamic-file]",
93
- "type": "text",
94
- "order": 3
95
- },
96
- {
97
- "name": "accept-file",
98
- "displayName_pt_BR": "Arquivos Permitidos",
99
- "displayName_en_US": "Allowed Files",
100
- "type": "list",
101
- "selector": "div[accept-file]",
102
- "options": [
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
- }
135
- ]
136
- },
137
- {
138
- "name": "content",
139
- "selector": "label",
140
- "displayName_pt_BR": "Título",
141
- "displayName_en_US": "Title",
142
- "type": "text",
143
- "order": 1
144
- },
145
- {
146
- "name": "max-file-size",
147
- "selector": "div[dynamic-file]",
148
- "type": "text",
149
- "order": 4
150
- },
151
- {
152
- "name": "ng-required",
153
- "selector": "div[dynamic-file]",
154
- "type": "logic",
155
- "order": 5
156
- },
157
- {
158
- "name": "ng-init",
159
- "selector": "div[dynamic-file]",
160
- "type": "event"
161
- },
162
- {
163
- "name": "ng-click",
164
- "selector": "div[dynamic-file]",
165
- "type": "event"
166
- },
167
- {
168
- "name": "ng-dblclick",
169
- "selector": "div[dynamic-file]",
170
- "type": "event"
171
- },
172
- {
173
- "name": "ng-mouseenter",
174
- "selector": "div[dynamic-file]",
175
- "type": "event"
176
- },
177
- {
178
- "name": "ng-mouseleave",
179
- "selector": "div[dynamic-file]",
180
- "type": "event"
181
- },
182
- {
183
- "name": "ng-mousemove",
184
- "selector": "div[dynamic-file]",
185
- "type": "event"
186
- }
187
- ]
188
- }