cronapp-framework-js 1.0.5 → 1.0.6
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-figma-component.components.json +10 -0
- package/components/crn-wizard.components.json +0 -1
- package/dist/js/app.js +1 -1
- package/dist/js/controllers.js +1 -1
- package/dist/js/directives.js +1 -1
- package/dist/js/upload.service.js +1 -1
- package/img/cron-icon/crn-figma-component.svg +5 -0
- package/js/app.js +381 -271
- package/js/controllers.js +208 -189
- package/js/directives.js +4932 -4927
- package/js/upload.service.js +2 -2
- package/package.json +2 -2
- package/components/crn-calendar.components.json +0 -69
- package/components/crn-chart.components.json +0 -33
- package/components/crn-cron-scheduler.components.json +0 -53
package/js/upload.service.js
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
angular.module('custom.controllers').controller('UploadController',
|
|
38
|
-
function($scope, $http, $translate, $stateParams, $location, $
|
|
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.
|
|
3
|
+
"version": "1.0.6",
|
|
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.
|
|
38
|
+
"@cronapp/cronapp-mvc": "1.0.6",
|
|
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
|
-
}
|