cronapp-framework-js 1.0.6 → 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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cronapp-framework-js",
|
|
3
|
-
"version": "1.0.
|
|
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.
|
|
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,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
|
-
}
|