nice-elements 1.10.9 → 1.10.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.
Files changed (144) hide show
  1. package/.vscode/settings.json +17 -17
  2. package/CHANGELOG.md +464 -458
  3. package/LICENSE.md +21 -21
  4. package/README.md +95 -95
  5. package/bower.json +10 -10
  6. package/dist/nice.js +8108 -8142
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +45 -52
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +8 -8
  11. package/eslint.config.mjs +27 -27
  12. package/package.json +45 -45
  13. package/src/components/nice-button/nice-button.html +4 -4
  14. package/src/components/nice-button/nice-button.js +41 -41
  15. package/src/components/nice-button/nice-button.scss +16 -16
  16. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  17. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  18. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  19. package/src/components/nice-calendar/nice-calendar.html +91 -91
  20. package/src/components/nice-calendar/nice-calendar.js +336 -336
  21. package/src/components/nice-calendar/nice-calendar.scss +285 -285
  22. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  23. package/src/components/nice-checkbox/nice-checkbox.js +34 -34
  24. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  25. package/src/components/nice-choice/nice-choice.html +18 -18
  26. package/src/components/nice-choice/nice-choice.js +212 -212
  27. package/src/components/nice-choice/nice-choice.scss +110 -110
  28. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  29. package/src/components/nice-comment/nice-comment.html +10 -10
  30. package/src/components/nice-comment/nice-comment.js +71 -71
  31. package/src/components/nice-comment/nice-comment.scss +39 -39
  32. package/src/components/nice-date/nice-date.html +79 -75
  33. package/src/components/nice-date/nice-date.js +331 -329
  34. package/src/components/nice-date/nice-date.scss +305 -302
  35. package/src/components/nice-date-input/nice-date-input.html +41 -41
  36. package/src/components/nice-date-input/nice-date-input.js +111 -111
  37. package/src/components/nice-date-input/nice-date-input.scss +45 -45
  38. package/src/components/nice-date-range/nice-date-range.html +15 -15
  39. package/src/components/nice-date-range/nice-date-range.js +78 -78
  40. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  41. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  42. package/src/components/nice-datetime-picker/nice-datetime-picker.js +89 -89
  43. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  44. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  45. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +248 -248
  46. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  47. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  48. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +174 -174
  49. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  50. package/src/components/nice-dropdown/nice-dropdown.html +61 -61
  51. package/src/components/nice-dropdown/nice-dropdown.js +510 -510
  52. package/src/components/nice-dropdown/nice-dropdown.scss +261 -261
  53. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  54. package/src/components/nice-dropdown-date/nice-dropdown-date.js +128 -128
  55. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
  56. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  57. package/src/components/nice-dropdown-old/nice-dropdown-old.js +331 -331
  58. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  59. package/src/components/nice-dtp/nice-dtp.html +91 -91
  60. package/src/components/nice-dtp/nice-dtp.js +835 -835
  61. package/src/components/nice-help/nice-help.html +6 -6
  62. package/src/components/nice-help/nice-help.js +55 -55
  63. package/src/components/nice-help/nice-help.scss +78 -78
  64. package/src/components/nice-input/nice-input.html +48 -48
  65. package/src/components/nice-input/nice-input.js +245 -245
  66. package/src/components/nice-input/nice-input.scss +130 -130
  67. package/src/components/nice-label/nice-label.html +10 -10
  68. package/src/components/nice-label/nice-label.js +32 -32
  69. package/src/components/nice-loader/nice-loader.html +6 -6
  70. package/src/components/nice-loader/nice-loader.js +28 -28
  71. package/src/components/nice-loader/nice-loader.scss +47 -47
  72. package/src/components/nice-no-data/nice-no-data.html +3 -3
  73. package/src/components/nice-no-data/nice-no-data.js +27 -27
  74. package/src/components/nice-no-data/nice-no-data.scss +30 -30
  75. package/src/components/nice-notification/nice-notification.html +3 -3
  76. package/src/components/nice-notification/nice-notification.js +124 -124
  77. package/src/components/nice-notification/nice-notification.scss +66 -66
  78. package/src/components/nice-number/nice-number.html +40 -40
  79. package/src/components/nice-number/nice-number.js +170 -170
  80. package/src/components/nice-number/nice-number.scss +18 -18
  81. package/src/components/nice-percent/nice-percent.html +24 -24
  82. package/src/components/nice-percent/nice-percent.js +95 -95
  83. package/src/components/nice-pill/nice-pill.html +3 -3
  84. package/src/components/nice-pill/nice-pill.js +29 -29
  85. package/src/components/nice-pill/nice-pill.scss +25 -25
  86. package/src/components/nice-popup/nice-popup.html +6 -6
  87. package/src/components/nice-popup/nice-popup.js +122 -122
  88. package/src/components/nice-popup/nice-popup.scss +43 -43
  89. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  90. package/src/components/nice-progress-bar/nice-progress-bar.js +55 -55
  91. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  92. package/src/components/nice-quantity/nice-quantity.html +22 -22
  93. package/src/components/nice-quantity/nice-quantity.js +57 -57
  94. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  95. package/src/components/nice-search/nice-search.html +44 -44
  96. package/src/components/nice-search/nice-search.js +240 -240
  97. package/src/components/nice-search/nice-search.scss +90 -90
  98. package/src/components/nice-search2/nice-search2.html +32 -32
  99. package/src/components/nice-search2/nice-search2.js +265 -265
  100. package/src/components/nice-search2/nice-search2.scss +80 -80
  101. package/src/components/nice-slot/nice-slot.html +10 -10
  102. package/src/components/nice-slot/nice-slot.js +31 -31
  103. package/src/components/nice-steps/nice-steps.scss +81 -81
  104. package/src/components/nice-svgs/nice-svgs.html +1275 -1275
  105. package/src/components/nice-svgs/nice-svgs.js +16 -16
  106. package/src/components/nice-table/nice-table.html +38 -38
  107. package/src/components/nice-table/nice-table.js +60 -60
  108. package/src/components/nice-table/nice-table.scss +111 -111
  109. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  110. package/src/components/nice-time-picker/nice-time-picker.js +85 -85
  111. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  112. package/src/components/nice-title/nice-title.html +3 -3
  113. package/src/components/nice-title/nice-title.js +21 -21
  114. package/src/components/nice-toast/nice-toast.html +2 -2
  115. package/src/components/nice-toast/nice-toast.js +56 -56
  116. package/src/components/nice-toast/nice-toast.scss +74 -74
  117. package/src/components/nice-toggle/nice-toggle.html +12 -12
  118. package/src/components/nice-toggle/nice-toggle.js +55 -55
  119. package/src/components/nice-toggle/nice-toggle.scss +131 -131
  120. package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
  121. package/src/components/nice-tooltip/nice-tooltip.js +23 -23
  122. package/src/components/nice-upload/nice-upload.html +22 -22
  123. package/src/components/nice-upload/nice-upload.js +159 -159
  124. package/src/components/nice-upload/nice-upload.scss +85 -85
  125. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  126. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  127. package/src/components/nice-wrapper/nice-wrapper.js +44 -44
  128. package/src/components/nice-yesno/nice-yesno.html +14 -14
  129. package/src/components/nice-yesno/nice-yesno.js +111 -111
  130. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  131. package/src/filters/nice-date.js +17 -17
  132. package/src/filters/nice-highlight.js +16 -16
  133. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  134. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  135. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  136. package/src/nice.js +2 -2
  137. package/src/services/nice-service.js +22 -22
  138. package/src/styles/_bootstrap-variables.scss +178 -178
  139. package/src/styles/_nice-buttons.scss +612 -612
  140. package/src/styles/_nice-common.scss +471 -471
  141. package/src/styles/_nice-ngdialog.scss +85 -85
  142. package/src/styles/_nice-spacing.scss +283 -283
  143. package/src/styles/_nice.scss +67 -67
  144. package/src/styles/_variables.scss +198 -198
@@ -1,130 +1,130 @@
1
- .nice-dropdown-old {
2
- .disabled {
3
- cursor: not-allowed !important;
4
- }
5
-
6
- .open {
7
- .btn-dropdown {
8
- background: $nice-focus-bg !important;
9
- color: $nice-focus-color !important;
10
- }
11
- }
12
-
13
- .btn-group {
14
- width: 100%;
15
- }
16
-
17
- .input-group-btn {
18
- padding-left: 10px;
19
-
20
- .btn {
21
- border-bottom-left-radius: $nice-border-radius;
22
- border-top-left-radius: $nice-border-radius;
23
- }
24
- }
25
-
26
- .dropdown-menu {
27
- min-width: 200px;
28
- width: 100%;
29
- padding: 0;
30
- max-height: 300px;
31
- overflow: auto;
32
- border: 1px solid $nice-border-color;
33
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.175);
34
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.175);
35
-
36
- li {
37
- .choice-checkbox {
38
- -webkit-transition: all 0.2s;
39
- -moz-transition: all 0.2s;
40
- -ms-transition: all 0.2s;
41
- -o-transition: all 0.2s;
42
- transition: all 0.2s;
43
-
44
- background: $nice-choice-bg;
45
- color: $nice-choice-bg;
46
- line-height: 22px;
47
- width: 25px;
48
- height: 25px;
49
- border: 2px solid $nice-border-color;
50
- position: absolute;
51
- border-radius: 2px;
52
- text-align: center;
53
-
54
- &.selected {
55
- border-color: $nice-choice-selected-bg;
56
- background: $nice-choice-selected-bg;
57
- color: $nice-choice-selected-color;
58
- }
59
- }
60
-
61
- .multiple-item {
62
- margin-left: 35px;
63
- line-height: 26px;
64
- }
65
-
66
- a {
67
- padding: 10px;
68
- }
69
-
70
- &:hover {
71
- a {
72
- background: $nice-hover-color;
73
- //color: white;
74
- }
75
-
76
- }
77
- }
78
- }
79
-
80
- .btn-dropdown {
81
- @extend .btn-primary;
82
- background: $nice-dropdown-bg;
83
- border-color: $nice-dropdown-border;
84
- color: $nice-dropdown-color;
85
- font-weight: $nice-font-weight;
86
- min-height: 34px;
87
- justify-content: flex-start;
88
-
89
- white-space: nowrap;
90
- text-overflow: ellipsis;
91
- overflow: hidden;
92
-
93
- text-align: left;
94
- padding-right: 25px;
95
-
96
- .caret {
97
- position: absolute;
98
- top: 15px;
99
- right: 10px;
100
- color: $nice-border-color;
101
- }
102
-
103
- &:disabled {
104
- cursor: not-allowed;
105
- background: $nice-dropdown-disabled-bg !important;
106
- border-color: $nice-dropdown-disabled-border !important;
107
- }
108
-
109
- &:hover {
110
- background: $nice-dropdown-hover-bg;
111
- border-color: $nice-dropdown-hover-border;
112
- color: $nice-dropdown-hover-color;
113
- }
114
-
115
- &:active,
116
- &:focus {
117
- background: $nice-focus-bg !important;
118
- color: $nice-focus-color !important;
119
- @extend .nice-focus;
120
- }
121
- }
122
-
123
- .dropdown-color {
124
- width: 12px;
125
- height: 12px;
126
- margin-right: 7px;
127
- border-radius: 3px;
128
- display: inline-block;
129
- }
1
+ .nice-dropdown-old {
2
+ .disabled {
3
+ cursor: not-allowed !important;
4
+ }
5
+
6
+ .open {
7
+ .btn-dropdown {
8
+ background: $nice-focus-bg !important;
9
+ color: $nice-focus-color !important;
10
+ }
11
+ }
12
+
13
+ .btn-group {
14
+ width: 100%;
15
+ }
16
+
17
+ .input-group-btn {
18
+ padding-left: 10px;
19
+
20
+ .btn {
21
+ border-bottom-left-radius: $nice-border-radius;
22
+ border-top-left-radius: $nice-border-radius;
23
+ }
24
+ }
25
+
26
+ .dropdown-menu {
27
+ min-width: 200px;
28
+ width: 100%;
29
+ padding: 0;
30
+ max-height: 300px;
31
+ overflow: auto;
32
+ border: 1px solid $nice-border-color;
33
+ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.175);
34
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.175);
35
+
36
+ li {
37
+ .choice-checkbox {
38
+ -webkit-transition: all 0.2s;
39
+ -moz-transition: all 0.2s;
40
+ -ms-transition: all 0.2s;
41
+ -o-transition: all 0.2s;
42
+ transition: all 0.2s;
43
+
44
+ background: $nice-choice-bg;
45
+ color: $nice-choice-bg;
46
+ line-height: 22px;
47
+ width: 25px;
48
+ height: 25px;
49
+ border: 2px solid $nice-border-color;
50
+ position: absolute;
51
+ border-radius: 2px;
52
+ text-align: center;
53
+
54
+ &.selected {
55
+ border-color: $nice-choice-selected-bg;
56
+ background: $nice-choice-selected-bg;
57
+ color: $nice-choice-selected-color;
58
+ }
59
+ }
60
+
61
+ .multiple-item {
62
+ margin-left: 35px;
63
+ line-height: 26px;
64
+ }
65
+
66
+ a {
67
+ padding: 10px;
68
+ }
69
+
70
+ &:hover {
71
+ a {
72
+ background: $nice-hover-color;
73
+ //color: white;
74
+ }
75
+
76
+ }
77
+ }
78
+ }
79
+
80
+ .btn-dropdown {
81
+ @extend .btn-primary;
82
+ background: $nice-dropdown-bg;
83
+ border-color: $nice-dropdown-border;
84
+ color: $nice-dropdown-color;
85
+ font-weight: $nice-font-weight;
86
+ min-height: 34px;
87
+ justify-content: flex-start;
88
+
89
+ white-space: nowrap;
90
+ text-overflow: ellipsis;
91
+ overflow: hidden;
92
+
93
+ text-align: left;
94
+ padding-right: 25px;
95
+
96
+ .caret {
97
+ position: absolute;
98
+ top: 15px;
99
+ right: 10px;
100
+ color: $nice-border-color;
101
+ }
102
+
103
+ &:disabled {
104
+ cursor: not-allowed;
105
+ background: $nice-dropdown-disabled-bg !important;
106
+ border-color: $nice-dropdown-disabled-border !important;
107
+ }
108
+
109
+ &:hover {
110
+ background: $nice-dropdown-hover-bg;
111
+ border-color: $nice-dropdown-hover-border;
112
+ color: $nice-dropdown-hover-color;
113
+ }
114
+
115
+ &:active,
116
+ &:focus {
117
+ background: $nice-focus-bg !important;
118
+ color: $nice-focus-color !important;
119
+ @extend .nice-focus;
120
+ }
121
+ }
122
+
123
+ .dropdown-color {
124
+ width: 12px;
125
+ height: 12px;
126
+ margin-right: 7px;
127
+ border-radius: 3px;
128
+ display: inline-block;
129
+ }
130
130
  }
@@ -1,92 +1,92 @@
1
- <div class="dtp-wrapper">
2
- <div class="dtp" id="this.name" ng-class="{'hidden': !showDtp}">
3
- <div class="dtp-content" ng-style="dtp_content_style">
4
- <div class="dtp-date-view">
5
- <div class="dtp-header" ng-if="!inline">
6
- <div class="dtp-actual-day">{{actualDay}}</div>
7
- <div class="dtp-close" ng-if="!inline"><a href="javascript:void(0);" ng-click="onCloseClick()"><i class="fa fa-close"></i></div>
8
- </div>
9
- <div class="dtp-date" ng-if="!inline" ng-class="{'hidden': !showDateHeader}">
10
- <div>
11
- <div class="left center p10">
12
- <a href="javascript:void(0);" class="dtp-select-month-before" ng-click="onMonthBeforeClick()" ng-class="{'disabled': !btnMonthBeforeEnabled}"><i class="fa fa-chevron-left"></i></a>
13
- </div>
14
- <div class="dtp-actual-month p80" ng-click="initDate()">{{actualMonth}}</div>
15
- <div class="right center p10">
16
- <a href="javascript:void(0);" class="dtp-select-month-after" ng-click="onMonthAfterClick()" ng-class="{'disabled': !btnMonthAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
17
- </div>
18
- <div class="clearfix"></div>
19
- </div>
20
- <div class="dtp-actual-num" ng-click="initDate()">{{actualNum}}</div>
21
- <div>
22
- <div class="left center p10">
23
- <a href="javascript:void(0);" class="dtp-select-year-before" ng-click="onYearBeforeClick()" ng-class="{'disabled': !btnYearBeforeEnabled}""><i class=" fa fa-chevron-left"></i></a>
24
- </div>
25
- <div class="dtp-actual-year p80" ng-click="initDate()">{{actualYear}}</div>
26
- <div class="right center p10">
27
- <a href="javascript:void(0);" class="dtp-select-year-after" ng-click="onYearAfterClick()" ng-class="{'disabled': !btnYearAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
28
- </div>
29
- <div class="clearfix"></div>
30
- </div>
31
- </div>
32
- <div class="dtp-time" ng-show="!showTimeHeader">
33
- <div class="dtp-actual-maxtime">
34
- <a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==1}" ng-click="initHours()" href="javascript:void(0);">{{actualTime.hours}}</a>:<a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==2}" ng-click="initMinutes()" href="javascript:void(0);">{{actualTime.minutes}}</a>
35
- </div>
36
- </div>
37
- <div class="dtp-picker">
38
- <div class="dtp-picker-calendar" ng-class="{'hidden': !showCalendar}">
39
- <div>
40
- <div ng-if="inline" class="left center p10">
41
- <a href="javascript:void(0);" class="dtp-select-month-before" ng-click="onMonthBeforeClick()" ng-class="{'disabled': !btnMonthBeforeEnabled}"><i class="fa fa-chevron-left"></i></a>
42
- </div>
43
- <div class="dtp-picker-month" ng-class="{'p80': inline}">{{monthAndYear}}</div>
44
- <div class="right center p10" ng-if="inline">
45
- <a href="javascript:void(0);" class="dtp-select-month-after" ng-click="onMonthAfterClick()" ng-class="{'disabled': !btnMonthAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
46
- </div>
47
- </div>
48
-
49
- <table class="table dtp-picker-days">
50
- <thead>
51
- <th ng-repeat="weekDay in weekDays track by $index">{{weekDay}}</th>
52
- </thead>
53
- <tbody>
54
- <tr ng-repeat="week in weeks">
55
- <td ng-repeat="day in week">
56
- <span ng-if="day.disabled" class="dtp-select-day">{{day.label}}</span>
57
- <a ng-if="!day.disabled" ng-click="onSelectDate(day)" href="javascript:void(0);" class="dtp-select-day" ng-class="{'selected': day.selected}">{{day.label}}</a>
58
- </td>
59
- </tr>
60
- </tbody>
61
- </table>
62
-
63
- </div>
64
- <div class="dtp-picker-datetime" ng-class="{'hidden': !showTime}">
65
- <div class="dtp-actual-meridien">
66
- <div class="dtp-actual-time p60" ng-show="showTimeHeader">
67
- <a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==1}" ng-click="initHours()" href="javascript:void(0);">{{actualTime.hours}}</a>:<a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==2}" ng-click="initMinutes()" href="javascript:void(0);">{{actualTime.minutes}}</a>
68
- </div>
69
- <div class="clearfix"></div>
70
- </div>
71
- <div class="dtp-picker-clock">
72
- <div class="dtp-hand dtp-hour-hand" ng-show="currentView==1"></div>
73
- <div class="dtp-hand dtp-minute-hand" ng-show="currentView==2"></div>
74
- <div class="dtp-clock-center"></div>
75
- <div ng-repeat="hour in hours" class="dtp-picker-time" ng-style="hour.style">
76
- <a href="javascript:void(0);" class="dtp-select-hour" ng-class="{'selected': hour.selected, 'disabled': hour.disabled}" ng-click="onSelectHour(hour)">{{hour.h}}</a>
77
- </div>
78
- <div ng-repeat="minute in minutes" class="dtp-picker-time" ng-style="minute.style">
79
- <a href="javascript:void(0);" class="dtp-select-minute" ng-class="{'selected': minute.selected, 'disabled': minute.disabled}" ng-click="onSelectMinute(minute)">{{minute.m}}</a>
80
- </div>
81
- </div>
82
- </div>
83
- </div>
84
- </div>
85
- <!--<div class="dtp-buttons" ng-if="enableOkButtons">-->
86
- <!--<button type="button" class="dtp-btn-cancel btn btn-flat" ng-click="onCancelClick()">{{cancelText}}</button>-->
87
- <!--<button type="button" class="dtp-btn-ok btn btn-flat" ng-click="onOKClick()"> {{okText}} </button>-->
88
- <!--<div class="clearfix"></div>-->
89
- <!--</div>-->
90
- </div>
91
- </div>
1
+ <div class="dtp-wrapper">
2
+ <div class="dtp" id="this.name" ng-class="{'hidden': !showDtp}">
3
+ <div class="dtp-content" ng-style="dtp_content_style">
4
+ <div class="dtp-date-view">
5
+ <div class="dtp-header" ng-if="!inline">
6
+ <div class="dtp-actual-day">{{actualDay}}</div>
7
+ <div class="dtp-close" ng-if="!inline"><a href="javascript:void(0);" ng-click="onCloseClick()"><i class="fa fa-close"></i></div>
8
+ </div>
9
+ <div class="dtp-date" ng-if="!inline" ng-class="{'hidden': !showDateHeader}">
10
+ <div>
11
+ <div class="left center p10">
12
+ <a href="javascript:void(0);" class="dtp-select-month-before" ng-click="onMonthBeforeClick()" ng-class="{'disabled': !btnMonthBeforeEnabled}"><i class="fa fa-chevron-left"></i></a>
13
+ </div>
14
+ <div class="dtp-actual-month p80" ng-click="initDate()">{{actualMonth}}</div>
15
+ <div class="right center p10">
16
+ <a href="javascript:void(0);" class="dtp-select-month-after" ng-click="onMonthAfterClick()" ng-class="{'disabled': !btnMonthAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
17
+ </div>
18
+ <div class="clearfix"></div>
19
+ </div>
20
+ <div class="dtp-actual-num" ng-click="initDate()">{{actualNum}}</div>
21
+ <div>
22
+ <div class="left center p10">
23
+ <a href="javascript:void(0);" class="dtp-select-year-before" ng-click="onYearBeforeClick()" ng-class="{'disabled': !btnYearBeforeEnabled}""><i class=" fa fa-chevron-left"></i></a>
24
+ </div>
25
+ <div class="dtp-actual-year p80" ng-click="initDate()">{{actualYear}}</div>
26
+ <div class="right center p10">
27
+ <a href="javascript:void(0);" class="dtp-select-year-after" ng-click="onYearAfterClick()" ng-class="{'disabled': !btnYearAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
28
+ </div>
29
+ <div class="clearfix"></div>
30
+ </div>
31
+ </div>
32
+ <div class="dtp-time" ng-show="!showTimeHeader">
33
+ <div class="dtp-actual-maxtime">
34
+ <a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==1}" ng-click="initHours()" href="javascript:void(0);">{{actualTime.hours}}</a>:<a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==2}" ng-click="initMinutes()" href="javascript:void(0);">{{actualTime.minutes}}</a>
35
+ </div>
36
+ </div>
37
+ <div class="dtp-picker">
38
+ <div class="dtp-picker-calendar" ng-class="{'hidden': !showCalendar}">
39
+ <div>
40
+ <div ng-if="inline" class="left center p10">
41
+ <a href="javascript:void(0);" class="dtp-select-month-before" ng-click="onMonthBeforeClick()" ng-class="{'disabled': !btnMonthBeforeEnabled}"><i class="fa fa-chevron-left"></i></a>
42
+ </div>
43
+ <div class="dtp-picker-month" ng-class="{'p80': inline}">{{monthAndYear}}</div>
44
+ <div class="right center p10" ng-if="inline">
45
+ <a href="javascript:void(0);" class="dtp-select-month-after" ng-click="onMonthAfterClick()" ng-class="{'disabled': !btnMonthAfterEnabled}"><i class="fa fa-chevron-right"></i></a>
46
+ </div>
47
+ </div>
48
+
49
+ <table class="table dtp-picker-days">
50
+ <thead>
51
+ <th ng-repeat="weekDay in weekDays track by $index">{{weekDay}}</th>
52
+ </thead>
53
+ <tbody>
54
+ <tr ng-repeat="week in weeks">
55
+ <td ng-repeat="day in week">
56
+ <span ng-if="day.disabled" class="dtp-select-day">{{day.label}}</span>
57
+ <a ng-if="!day.disabled" ng-click="onSelectDate(day)" href="javascript:void(0);" class="dtp-select-day" ng-class="{'selected': day.selected}">{{day.label}}</a>
58
+ </td>
59
+ </tr>
60
+ </tbody>
61
+ </table>
62
+
63
+ </div>
64
+ <div class="dtp-picker-datetime" ng-class="{'hidden': !showTime}">
65
+ <div class="dtp-actual-meridien">
66
+ <div class="dtp-actual-time p60" ng-show="showTimeHeader">
67
+ <a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==1}" ng-click="initHours()" href="javascript:void(0);">{{actualTime.hours}}</a>:<a class="dtp-hours-minutes-btn" ng-class="{'selected': currentView==2}" ng-click="initMinutes()" href="javascript:void(0);">{{actualTime.minutes}}</a>
68
+ </div>
69
+ <div class="clearfix"></div>
70
+ </div>
71
+ <div class="dtp-picker-clock">
72
+ <div class="dtp-hand dtp-hour-hand" ng-show="currentView==1"></div>
73
+ <div class="dtp-hand dtp-minute-hand" ng-show="currentView==2"></div>
74
+ <div class="dtp-clock-center"></div>
75
+ <div ng-repeat="hour in hours" class="dtp-picker-time" ng-style="hour.style">
76
+ <a href="javascript:void(0);" class="dtp-select-hour" ng-class="{'selected': hour.selected, 'disabled': hour.disabled}" ng-click="onSelectHour(hour)">{{hour.h}}</a>
77
+ </div>
78
+ <div ng-repeat="minute in minutes" class="dtp-picker-time" ng-style="minute.style">
79
+ <a href="javascript:void(0);" class="dtp-select-minute" ng-class="{'selected': minute.selected, 'disabled': minute.disabled}" ng-click="onSelectMinute(minute)">{{minute.m}}</a>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <!--<div class="dtp-buttons" ng-if="enableOkButtons">-->
86
+ <!--<button type="button" class="dtp-btn-cancel btn btn-flat" ng-click="onCancelClick()">{{cancelText}}</button>-->
87
+ <!--<button type="button" class="dtp-btn-ok btn btn-flat" ng-click="onOKClick()"> {{okText}} </button>-->
88
+ <!--<div class="clearfix"></div>-->
89
+ <!--</div>-->
90
+ </div>
91
+ </div>
92
92
  </div>