@kigi/components 1.44.0-beta.8 → 1.44.0
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
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
ng-keypress="$ctrl.ngKeypress({ $event })"
|
|
15
15
|
ng-keydown="$ctrl.ngKeydown({ $event })"
|
|
16
16
|
ui-date-mask="{{ $ctrl.format }}" />
|
|
17
|
-
<label class="labelDayOfWeek" ng-if="$ctrl.nameOfTheDay" >{{$ctrl.changeDay()}}</label>
|
|
18
17
|
<!-- with calendar -->
|
|
19
18
|
<input type="text"
|
|
20
19
|
class="input-with-calendar"
|
|
@@ -17,7 +17,7 @@ class MbgInputDateController {
|
|
|
17
17
|
public betweenText: string
|
|
18
18
|
public filterDate: Function
|
|
19
19
|
public onlyMonthYear: boolean
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
|
|
22
22
|
constructor(public $scope, public $element, public $attrs, public $timeout) {
|
|
23
23
|
if ($attrs.ngRequired === '') {
|
|
@@ -47,10 +47,6 @@ class MbgInputDateController {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
changeDay() {
|
|
51
|
-
return new Intl.DateTimeFormat('pt-BR', { weekday: 'long' }).format(this.ngModel)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
50
|
onChange() {
|
|
55
51
|
if (this.ngChange) {
|
|
56
52
|
this.ngChange({})
|
|
@@ -137,7 +133,6 @@ const mbgInputDate = {
|
|
|
137
133
|
filterDate: '&?',
|
|
138
134
|
onlyMonthYear: '=?',
|
|
139
135
|
titleMode: '=?',
|
|
140
|
-
nameOfTheDay: '=?',
|
|
141
136
|
},
|
|
142
137
|
template,
|
|
143
138
|
controller: MbgInputDateController,
|