@kigi/components 1.36.0 → 1.37.0-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.36.0",
3
+ "version": "1.37.0-alpha.2",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -57,7 +57,7 @@
57
57
  "firebase": "7.16.0",
58
58
  "fuse.js": "^3.4.6",
59
59
  "grpc": "1.20.2",
60
- "highcharts": "^6.1.0",
60
+ "highcharts": "^7.0.0",
61
61
  "imports-loader": "^0.8.0",
62
62
  "jodit": "^3.6.11",
63
63
  "jquery": "3.4.1",
@@ -1,9 +1,11 @@
1
- import * as Highcharts from 'highcharts'
2
- import * as ExportChart from 'highcharts/modules/exporting'
3
1
  import './bar-line.scss'
4
2
  import template from './bar-line.html'
5
3
 
6
- ExportChart(Highcharts)
4
+ import Highcharts from 'highcharts'
5
+ import Exporting from 'highcharts/modules/exporting'
6
+
7
+ // Isso aplica o módulo de exportação ao Highcharts
8
+ Exporting(Highcharts)
7
9
 
8
10
  class MbgChartBarLineController {
9
11
  public intervalFunctions = []
@@ -1,9 +1,10 @@
1
- import * as Highcharts from 'highcharts'
2
- import * as ExportChart from 'highcharts/modules/exporting'
3
1
  import './bar-line-pie.scss'
4
2
  import template from './bar-line-pie.html'
5
3
 
6
- ExportChart(Highcharts)
4
+ import Highcharts from 'highcharts'
5
+ import Exporting from 'highcharts/modules/exporting'
6
+ // Isso aplica o módulo de exportação ao Highcharts
7
+ Exporting(Highcharts)
7
8
 
8
9
  class MbgChartBarLinePieController {
9
10
  public intervalFunctions = []
@@ -1,9 +1,9 @@
1
- import * as Highcharts from 'highcharts'
2
- import * as ExportChart from 'highcharts/modules/exporting'
3
1
  import './line.scss'
4
2
  import template from './line.html'
5
-
6
- ExportChart(Highcharts)
3
+ import Highcharts from 'highcharts'
4
+ import Exporting from 'highcharts/modules/exporting'
5
+ // Isso aplica o módulo de exportação ao Highcharts
6
+ Exporting(Highcharts)
7
7
 
8
8
  class MbgChartLineController {
9
9
  public intervalFunctions = []
@@ -71,6 +71,7 @@ class MbgStatusLabelController {
71
71
  this.label = 'Inutilizada'
72
72
  break
73
73
  case 'TODO':
74
+ case 'OPEN':
74
75
  this.label = 'Aberta'
75
76
  break
76
77
  case 'PROCESSED':
@@ -81,6 +82,9 @@ class MbgStatusLabelController {
81
82
  break
82
83
  case 'NOT_PROCESSED':
83
84
  this.label = 'Não processado'
85
+ break
86
+ default:
87
+ this.label = undefined
84
88
  }
85
89
  }
86
90
 
@@ -116,6 +120,7 @@ class MbgStatusLabelController {
116
120
  case 'ENVIADA':
117
121
  case 'NAO_ENVIADA':
118
122
  case 'TODO':
123
+ case 'OPEN':
119
124
  this.labelClass = 'light'
120
125
  break
121
126
  case 'REVERSED':
@@ -126,6 +131,8 @@ class MbgStatusLabelController {
126
131
  case 'IN_PROGRESS':
127
132
  this.labelClass = 'primary'
128
133
  break
134
+ default:
135
+ this.labelClass = undefined
129
136
  }
130
137
  }
131
138
  }
package/src/index.html CHANGED
@@ -409,10 +409,10 @@
409
409
 
410
410
  <!-- <mbg-loading config="testeobj"></mbg-loading> -->
411
411
 
412
- <!-- <mbg-homescreen config="homeConfig"
412
+ <mbg-homescreen config="homeConfig"
413
413
  allowed-call-back="testecons()"
414
414
  allowed-to-see="false"
415
- display-values="true"></mbg-homescreen> -->
415
+ display-values="true"></mbg-homescreen>
416
416
 
417
417
  <!-- <label for="">Monte o nome do produto. <span style="color: #666;">&nbsp;&nbsp;&nbsp;Ex: {{ getLabelSelected() }}</span></label> -->
418
418