@kigi/components 1.36.0 → 1.37.0-beta.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,4 +1,9 @@
|
|
|
1
1
|
.mb-input-date-wrapper {
|
|
2
|
+
.input-date {
|
|
3
|
+
width: 150px !important;
|
|
4
|
+
height: 28px !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
2
7
|
input {
|
|
3
8
|
width: 100%;
|
|
4
9
|
}
|
|
@@ -14,7 +19,6 @@
|
|
|
14
19
|
}
|
|
15
20
|
}
|
|
16
21
|
|
|
17
|
-
|
|
18
22
|
body {
|
|
19
23
|
.datepicker-top-left, .datepicker-top-right {
|
|
20
24
|
border-top-color: var(--primary);
|
|
@@ -18,6 +18,7 @@ class MbgInputDateController {
|
|
|
18
18
|
public filterDate: Function
|
|
19
19
|
public onlyMonthYear: boolean
|
|
20
20
|
|
|
21
|
+
|
|
21
22
|
constructor(public $scope, public $element, public $attrs, public $timeout) {
|
|
22
23
|
if ($attrs.ngRequired === '') {
|
|
23
24
|
this.ngRequired = true
|
|
@@ -131,6 +132,7 @@ const mbgInputDate = {
|
|
|
131
132
|
between: '=?',
|
|
132
133
|
filterDate: '&?',
|
|
133
134
|
onlyMonthYear: '=?',
|
|
135
|
+
titleMode: '=?',
|
|
134
136
|
},
|
|
135
137
|
template,
|
|
136
138
|
controller: MbgInputDateController,
|
|
@@ -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
|
}
|