cronapp-framework-mobile-js 2.9.6-SP.26 → 2.9.6-SP.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.
@@ -126,5 +126,7 @@
126
126
  "template.crud.clickToAddImage": "Click to add an image",
127
127
  "clear": "Clear",
128
128
  "yes": "Yes",
129
- "no": "No"
129
+ "no": "No",
130
+ "Datasource.Error": "Error",
131
+ "Datasource.Duplicate": "There is more than one data source with the same name, use a unique name for each, check if there is a modal with the data source that has the name: "
130
132
  }
@@ -126,5 +126,7 @@
126
126
  "template.crud.clickToAddImage": "Clique para adicionar uma imagem",
127
127
  "clear": "Limpar",
128
128
  "yes": "Sim",
129
- "no": "Não"
129
+ "no": "Não",
130
+ "Datasource.Error": "Erro",
131
+ "Datasource.Duplicate": "Existem mais de uma fonte de dados com o mesmo nome, utilize nome único para cada, verifique se existe modal com a fonte de dados que tenha o nome: "
130
132
  }
@@ -126,5 +126,7 @@
126
126
  "template.crud.clickToAddImage": "Click to add an image",
127
127
  "clear": "Clear",
128
128
  "yes": "Yes",
129
- "no": "No"
129
+ "no": "No",
130
+ "Datasource.Error": "Error",
131
+ "Datasource.Duplicate": "There is more than one data source with the same name, use a unique name for each, check if there is a modal with the data source that has the name: "
130
132
  }
@@ -126,5 +126,7 @@
126
126
  "template.crud.clickToAddImage": "Clique para adicionar uma imagem",
127
127
  "clear": "Limpar",
128
128
  "yes": "Sim",
129
- "no": "Não"
129
+ "no": "Não",
130
+ "Datasource.Error": "Erro",
131
+ "Datasource.Duplicate": "Existem mais de uma fonte de dados com o mesmo nome, utilize nome único para cada, verifique se existe modal com a fonte de dados que tenha o nome: "
130
132
  }
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "cronapp-framework-mobile-js",
3
- "version": "2.9.6-SP.26",
3
+ "version": "2.9.6-SP.28",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.mobile.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "npx force-resolutions"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
@@ -53,12 +54,16 @@
53
54
  "bootstrap": "3.3.4",
54
55
  "jquery": "3.5.0",
55
56
  "font-awesome": "4.4.0",
56
- "chart.js": "2.0.0",
57
+ "chart.js": "2.9.4",
57
58
  "ng-file-upload": "12.2.13",
58
59
  "angular-moment": "1.2.0",
59
60
  "pace-js": "1.0.2",
60
- "moment": "2.24.0",
61
+ "moment": "2.29.4",
61
62
  "cronapp-ion-tab-badge": "1.0.0",
62
63
  "signature_pad": "^3.0.0-beta.4"
64
+ },
65
+ "resolutions": {
66
+ "chart.js": "2.9.4",
67
+ "moment": "2.29.4"
63
68
  }
64
69
  }
package/postupdate.json CHANGED
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "file": "index.html",
32
- "script": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js",
32
+ "script": "node_modules/chart.js/dist/Chart.min.js",
33
33
  "type": "script"
34
34
  },
35
35
  {
@@ -240,6 +240,16 @@
240
240
  "script": "node_modules/signature_pad/dist/signature_pad.umd.min.js",
241
241
  "type": "script",
242
242
  "onTop": true
243
+ },
244
+ {
245
+ "file": "index.html",
246
+ "script": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js",
247
+ "type": "script"
248
+ },
249
+ {
250
+ "file": "index.html",
251
+ "script": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js",
252
+ "type": "script"
243
253
  }
244
254
  ],
245
255
  "replaces": [
@@ -340,12 +350,8 @@
340
350
  "new": "node_modules/angular-messages/angular-messages.min.js"
341
351
  },
342
352
  {
343
- "old": "plugins/moment/min/moment-with-locales.min.js",
344
- "new": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js"
345
- },
346
- {
347
- "old": "node_modules/moment/min/moment-with-locales.min.js",
348
- "new": "node_modules/cronapp-lib-js/dist/js/moment/moment-with-locales.min.js"
353
+ "old" : "plugins/moment/min/moment-with-locales.min.js",
354
+ "new": "node_modules/moment/min/moment-with-locales.min.js"
349
355
  },
350
356
  {
351
357
  "old" : "plugins/angular-moment/angular-moment.min.js",
@@ -428,12 +434,8 @@
428
434
  "new": "node_modules/cronapp-common-js/dist/js/pouchdb.find.min.js"
429
435
  },
430
436
  {
431
- "old": "plugins/chart.js/dist/Chart.min.js",
432
- "new": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js"
433
- },
434
- {
435
- "old": "node_modules/chart.js/dist/Chart.min.js",
436
- "new": "node_modules/cronapp-lib-js/dist/js/chart.js/Chart.min.js"
437
+ "old" : "plugins/chart.js/dist/Chart.min.js",
438
+ "new": "node_modules/chart.js/dist/Chart.min.js"
437
439
  },
438
440
  {
439
441
  "old" : "plugins/cronapp-framework-mobile-js/dist/components/js/qrcode.js",