nice-elements 1.9.12 → 1.9.14

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 (137) hide show
  1. package/.vscode/settings.json +17 -10
  2. package/CHANGELOG.md +390 -382
  3. package/LICENSE.md +21 -21
  4. package/README.md +93 -93
  5. package/bower.json +10 -18
  6. package/dist/nice.js +7967 -7920
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +22 -18
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +7 -7
  11. package/package.json +40 -40
  12. package/src/components/nice-button/nice-button.html +4 -4
  13. package/src/components/nice-button/nice-button.js +41 -41
  14. package/src/components/nice-button/nice-button.scss +16 -16
  15. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  16. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  17. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  18. package/src/components/nice-calendar/nice-calendar.html +91 -91
  19. package/src/components/nice-calendar/nice-calendar.js +334 -334
  20. package/src/components/nice-calendar/nice-calendar.scss +285 -285
  21. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  22. package/src/components/nice-checkbox/nice-checkbox.js +33 -33
  23. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  24. package/src/components/nice-choice/nice-choice.html +18 -18
  25. package/src/components/nice-choice/nice-choice.js +210 -210
  26. package/src/components/nice-choice/nice-choice.scss +110 -109
  27. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  28. package/src/components/nice-comment/nice-comment.html +10 -10
  29. package/src/components/nice-comment/nice-comment.js +69 -69
  30. package/src/components/nice-comment/nice-comment.scss +39 -39
  31. package/src/components/nice-date/nice-date.html +74 -74
  32. package/src/components/nice-date/nice-date.js +327 -327
  33. package/src/components/nice-date/nice-date.scss +302 -302
  34. package/src/components/nice-date-input/nice-date-input.html +41 -41
  35. package/src/components/nice-date-input/nice-date-input.js +109 -109
  36. package/src/components/nice-date-input/nice-date-input.scss +45 -45
  37. package/src/components/nice-date-range/nice-date-range.html +15 -15
  38. package/src/components/nice-date-range/nice-date-range.js +76 -76
  39. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  40. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  41. package/src/components/nice-datetime-picker/nice-datetime-picker.js +87 -87
  42. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  43. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  44. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +246 -246
  45. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  46. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  47. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +172 -172
  48. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  49. package/src/components/nice-dropdown/nice-dropdown.html +60 -60
  50. package/src/components/nice-dropdown/nice-dropdown.js +489 -489
  51. package/src/components/nice-dropdown/nice-dropdown.scss +249 -249
  52. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  53. package/src/components/nice-dropdown-date/nice-dropdown-date.js +126 -126
  54. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
  55. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  56. package/src/components/nice-dropdown-old/nice-dropdown-old.js +330 -330
  57. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  58. package/src/components/nice-dtp/nice-dtp.html +91 -91
  59. package/src/components/nice-dtp/nice-dtp.js +833 -833
  60. package/src/components/nice-help/nice-help.html +6 -6
  61. package/src/components/nice-help/nice-help.js +55 -55
  62. package/src/components/nice-help/nice-help.scss +78 -78
  63. package/src/components/nice-input/nice-input.html +48 -47
  64. package/src/components/nice-input/nice-input.js +231 -224
  65. package/src/components/nice-input/nice-input.scss +130 -130
  66. package/src/components/nice-label/nice-label.html +10 -10
  67. package/src/components/nice-label/nice-label.js +30 -30
  68. package/src/components/nice-loader/nice-loader.html +6 -6
  69. package/src/components/nice-loader/nice-loader.js +28 -28
  70. package/src/components/nice-loader/nice-loader.scss +47 -47
  71. package/src/components/nice-notification/nice-notification.html +3 -3
  72. package/src/components/nice-notification/nice-notification.js +124 -124
  73. package/src/components/nice-notification/nice-notification.scss +66 -66
  74. package/src/components/nice-number/nice-number.html +40 -40
  75. package/src/components/nice-number/nice-number.js +166 -166
  76. package/src/components/nice-number/nice-number.scss +18 -18
  77. package/src/components/nice-percent/nice-percent.html +24 -24
  78. package/src/components/nice-percent/nice-percent.js +94 -94
  79. package/src/components/nice-pill/nice-pill.html +3 -3
  80. package/src/components/nice-pill/nice-pill.js +29 -29
  81. package/src/components/nice-pill/nice-pill.scss +25 -25
  82. package/src/components/nice-popup/nice-popup.html +6 -6
  83. package/src/components/nice-popup/nice-popup.js +122 -122
  84. package/src/components/nice-popup/nice-popup.scss +43 -43
  85. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  86. package/src/components/nice-progress-bar/nice-progress-bar.js +54 -54
  87. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  88. package/src/components/nice-quantity/nice-quantity.html +22 -22
  89. package/src/components/nice-quantity/nice-quantity.js +55 -55
  90. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  91. package/src/components/nice-search/nice-search.html +44 -44
  92. package/src/components/nice-search/nice-search.js +239 -239
  93. package/src/components/nice-search/nice-search.scss +90 -90
  94. package/src/components/nice-search2/nice-search2.html +32 -32
  95. package/src/components/nice-search2/nice-search2.js +264 -264
  96. package/src/components/nice-search2/nice-search2.scss +80 -80
  97. package/src/components/nice-slot/nice-slot.html +10 -10
  98. package/src/components/nice-slot/nice-slot.js +29 -29
  99. package/src/components/nice-steps/nice-steps.scss +81 -81
  100. package/src/components/nice-svgs/nice-svgs.html +1262 -1262
  101. package/src/components/nice-svgs/nice-svgs.js +16 -16
  102. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  103. package/src/components/nice-time-picker/nice-time-picker.js +83 -83
  104. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  105. package/src/components/nice-title/nice-title.html +3 -3
  106. package/src/components/nice-title/nice-title.js +21 -21
  107. package/src/components/nice-toast/nice-toast.html +2 -2
  108. package/src/components/nice-toast/nice-toast.js +56 -56
  109. package/src/components/nice-toast/nice-toast.scss +74 -74
  110. package/src/components/nice-toggle/nice-toggle.html +12 -12
  111. package/src/components/nice-toggle/nice-toggle.js +95 -95
  112. package/src/components/nice-toggle/nice-toggle.scss +67 -67
  113. package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
  114. package/src/components/nice-tooltip/nice-tooltip.js +23 -23
  115. package/src/components/nice-upload/nice-upload.html +22 -22
  116. package/src/components/nice-upload/nice-upload.js +157 -157
  117. package/src/components/nice-upload/nice-upload.scss +85 -85
  118. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  119. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  120. package/src/components/nice-wrapper/nice-wrapper.js +43 -43
  121. package/src/components/nice-yesno/nice-yesno.html +14 -14
  122. package/src/components/nice-yesno/nice-yesno.js +109 -109
  123. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  124. package/src/filters/nice-date.js +17 -17
  125. package/src/filters/nice-highlight.js +16 -16
  126. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  127. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  128. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  129. package/src/nice.js +2 -2
  130. package/src/services/nice-service.js +19 -19
  131. package/src/styles/_bootstrap-variables.scss +178 -178
  132. package/src/styles/_nice-buttons.scss +403 -403
  133. package/src/styles/_nice-common.scss +471 -467
  134. package/src/styles/_nice-ngdialog.scss +85 -85
  135. package/src/styles/_nice-spacing.scss +283 -283
  136. package/src/styles/_nice.scss +65 -65
  137. package/src/styles/_variables.scss +195 -195
@@ -1,250 +1,250 @@
1
- .nice-dropdown {
2
- .disabled {
3
- cursor: not-allowed !important;
4
- }
5
-
6
- .dropdown-menu-fixed {
7
- position: fixed !important;
8
- }
9
-
10
- .open {
11
- .btn-dropdown {
12
- background: $nice-focus-bg !important;
13
- color: $nice-font-color !important;
14
- }
15
- }
16
-
17
- .not-selected {
18
- opacity: 0.5;
19
- }
20
-
21
- .nice-field-wrapper {
22
- display: flex;
23
- position: relative;
24
-
25
- .add-btn {
26
- flex-shrink: 0;
27
- margin-left: 1rem;
28
- }
29
-
30
- .btn {
31
- border-radius: $nice-border-radius;
32
- }
33
- }
34
-
35
- .nice-dropdown-menu-wrapper {
36
- z-index: 1000;
37
- }
38
-
39
- .nice-dropdown-menu {
40
- min-width: 200px;
41
- max-height: 300px;
42
- padding: 0;
43
- border: 1px solid $nice-border-color;
44
- flex-direction: column;
45
- border-radius: $nice-border-radius;
46
- overflow: hidden;
47
- box-shadow: $nice-box-shadow;
48
- display: flex;
49
- background: white;
50
- display: flex;
51
-
52
- .null-item {
53
- color: #ccc;
54
- }
55
-
56
- .search-bar {
57
- flex-shrink: 0;
58
- border-bottom: 1px solid $nice-border-color;
59
- position: relative;
60
- border-top-left-radius: $nice-border-radius;
61
- border-top-right-radius: $nice-border-radius;
62
-
63
- input {
64
- width: 100%;
65
- padding: 8px 30px 8px 10px;
66
- border: 0 none;
67
- flex-grow: 1;
68
-
69
- &:focus {
70
- outline: 0;
71
- }
72
-
73
- &::placeholder {
74
- color: #ccc;
75
- }
76
- }
77
-
78
- .icon {
79
- display: flex;
80
- justify-content: center;
81
- align-items: center;
82
- position: absolute;
83
- top: 50%;
84
- right: 10px;
85
- transform: translate(0, -50%);
86
- height: 16px;
87
- width: 16px;
88
- }
89
-
90
- .count {
91
- position: absolute;
92
- top: 50%;
93
- right: 30px;
94
- transform: translate(0, -50%);
95
- font-size: 0.7em;
96
- opacity: 0.5;
97
- }
98
- }
99
-
100
- .nice-no-data {
101
- padding: 10px;
102
- text-align: center;
103
- color: #ccc;
104
- }
105
-
106
- .nice-dropdown-actions {
107
- padding: 5px;
108
- border-bottom: 1px solid var(--nice-border-color);
109
-
110
- .btn-sm {
111
- min-height: auto !important;
112
- padding: 2px 4px;
113
- line-height: 1;
114
- }
115
- }
116
-
117
- .nice-dropdown-items {
118
- overflow-y: auto;
119
- overflow-x: hidden;
120
- flex-grow: 1;
121
- list-style: 0;
122
- padding: 0;
123
- margin: 0;
124
-
125
- .nice-dropdown-item {
126
- padding: 10px;
127
- position: relative;
128
- cursor: pointer;
129
- display: flex;
130
- align-items: center;
131
-
132
- border: 0 none;
133
- background: transparent;
134
- text-align: left;
135
- width: 100%;
136
-
137
- .choice-checkbox {
138
- transition: all 0.2s;
139
- background: $nice-choice-bg;
140
- color: $nice-choice-bg;
141
- line-height: 22px;
142
- width: 25px;
143
- height: 25px;
144
- border: 1px solid $nice-border-color;
145
- margin-right: 1rem;
146
- border-radius: $nice-border-radius;
147
- text-align: center;
148
- flex-shrink: 0;
149
- }
150
-
151
- .choice-option {
152
- flex-grow: 1;
153
- }
154
-
155
- &:hover,
156
- &.hover,
157
- &:focus,
158
- &.focus {
159
- background: $nice-hover-color;
160
- }
161
-
162
- &.selected {
163
- background: $nice-base-color;
164
- color: white;
165
-
166
- .choice-checkbox {
167
- border-color: $nice-choice-selected-bg;
168
- background: $nice-choice-selected-bg;
169
- color: $nice-choice-selected-color;
170
- }
171
- }
172
- }
173
- }
174
- }
175
-
176
- .btn-dropdown {
177
- @extend .btn-primary;
178
- background: $nice-dropdown-bg;
179
- border-color: $nice-dropdown-border;
180
- color: $nice-dropdown-color;
181
- font-weight: inherit;
182
- min-height: 34px;
183
- position: relative;
184
- overflow: hidden;
185
- flex-grow: 1;
186
- justify-content: flex-start;
187
-
188
- text-align: left;
189
- padding-right: 25px;
190
-
191
- .btn-dropdown-inside {
192
- overflow: hidden;
193
- text-overflow: ellipsis;
194
- line-height: 1.2;
195
- margin-top: 1px;
196
- flex-grow: 1;
197
- }
198
-
199
- .caret {
200
- position: absolute;
201
- color: $nice-border-color;
202
- top: 50%;
203
- right: 10px;
204
- transform: translate(0, -50%);
205
- }
206
-
207
- .nice-loader {
208
- padding: 0;
209
- text-align: left;
210
- position: absolute;
211
- top: 50%;
212
- right: 5px;
213
- height: 20px;
214
- width: 20px;
215
- transform: translate(0, -50%);
216
-
217
- svg {
218
- width: 20px;
219
- height: 20px;
220
- }
221
- }
222
-
223
- &:disabled {
224
- cursor: not-allowed;
225
- background: $nice-dropdown-disabled-bg !important;
226
- border-color: var(--nice-border-color);
227
-
228
- &:hover,
229
- &:active,
230
- &:focus {
231
- outline: 0 none;
232
- border-color: var(--nice-border-color);
233
- }
234
- }
235
-
236
- &:hover {
237
- background: $nice-dropdown-hover-bg;
238
- border-color: var(--nice-border-color);
239
- color: $nice-dropdown-hover-color;
240
- }
241
-
242
- &:active,
243
- &:focus {
244
- background: $nice-focus-bg !important;
245
- color: $nice-focus-color !important;
246
- border-color: var(--nice-border-color);
247
- @extend .nice-focus;
248
- }
249
- }
1
+ .nice-dropdown {
2
+ .disabled {
3
+ cursor: not-allowed !important;
4
+ }
5
+
6
+ .dropdown-menu-fixed {
7
+ position: fixed !important;
8
+ }
9
+
10
+ .open {
11
+ .btn-dropdown {
12
+ background: $nice-focus-bg !important;
13
+ color: $nice-font-color !important;
14
+ }
15
+ }
16
+
17
+ .not-selected {
18
+ opacity: 0.5;
19
+ }
20
+
21
+ .nice-field-wrapper {
22
+ display: flex;
23
+ position: relative;
24
+
25
+ .add-btn {
26
+ flex-shrink: 0;
27
+ margin-left: 1rem;
28
+ }
29
+
30
+ .btn {
31
+ border-radius: $nice-border-radius;
32
+ }
33
+ }
34
+
35
+ .nice-dropdown-menu-wrapper {
36
+ z-index: 1000;
37
+ }
38
+
39
+ .nice-dropdown-menu {
40
+ min-width: 200px;
41
+ max-height: 300px;
42
+ padding: 0;
43
+ border: 1px solid $nice-border-color;
44
+ flex-direction: column;
45
+ border-radius: $nice-border-radius;
46
+ overflow: hidden;
47
+ box-shadow: $nice-box-shadow;
48
+ display: flex;
49
+ background: white;
50
+ display: flex;
51
+
52
+ .null-item {
53
+ color: #ccc;
54
+ }
55
+
56
+ .search-bar {
57
+ flex-shrink: 0;
58
+ border-bottom: 1px solid $nice-border-color;
59
+ position: relative;
60
+ border-top-left-radius: $nice-border-radius;
61
+ border-top-right-radius: $nice-border-radius;
62
+
63
+ input {
64
+ width: 100%;
65
+ padding: 8px 30px 8px 10px;
66
+ border: 0 none;
67
+ flex-grow: 1;
68
+
69
+ &:focus {
70
+ outline: 0;
71
+ }
72
+
73
+ &::placeholder {
74
+ color: #ccc;
75
+ }
76
+ }
77
+
78
+ .icon {
79
+ display: flex;
80
+ justify-content: center;
81
+ align-items: center;
82
+ position: absolute;
83
+ top: 50%;
84
+ right: 10px;
85
+ transform: translate(0, -50%);
86
+ height: 16px;
87
+ width: 16px;
88
+ }
89
+
90
+ .count {
91
+ position: absolute;
92
+ top: 50%;
93
+ right: 30px;
94
+ transform: translate(0, -50%);
95
+ font-size: 0.7em;
96
+ opacity: 0.5;
97
+ }
98
+ }
99
+
100
+ .nice-no-data {
101
+ padding: 10px;
102
+ text-align: center;
103
+ color: #ccc;
104
+ }
105
+
106
+ .nice-dropdown-actions {
107
+ padding: 5px;
108
+ border-bottom: 1px solid var(--nice-border-color);
109
+
110
+ .btn-sm {
111
+ min-height: auto !important;
112
+ padding: 2px 4px;
113
+ line-height: 1;
114
+ }
115
+ }
116
+
117
+ .nice-dropdown-items {
118
+ overflow-y: auto;
119
+ overflow-x: hidden;
120
+ flex-grow: 1;
121
+ list-style: 0;
122
+ padding: 0;
123
+ margin: 0;
124
+
125
+ .nice-dropdown-item {
126
+ padding: 10px;
127
+ position: relative;
128
+ cursor: pointer;
129
+ display: flex;
130
+ align-items: center;
131
+
132
+ border: 0 none;
133
+ background: transparent;
134
+ text-align: left;
135
+ width: 100%;
136
+
137
+ .choice-checkbox {
138
+ transition: all 0.2s;
139
+ background: $nice-choice-bg;
140
+ color: $nice-choice-bg;
141
+ line-height: 22px;
142
+ width: 25px;
143
+ height: 25px;
144
+ border: 1px solid $nice-border-color;
145
+ margin-right: 1rem;
146
+ border-radius: $nice-border-radius;
147
+ text-align: center;
148
+ flex-shrink: 0;
149
+ }
150
+
151
+ .choice-option {
152
+ flex-grow: 1;
153
+ }
154
+
155
+ &:hover,
156
+ &.hover,
157
+ &:focus,
158
+ &.focus {
159
+ background: $nice-hover-color;
160
+ }
161
+
162
+ &.selected {
163
+ background: $nice-base-color;
164
+ color: white;
165
+
166
+ .choice-checkbox {
167
+ border-color: $nice-choice-selected-bg;
168
+ background: $nice-choice-selected-bg;
169
+ color: $nice-choice-selected-color;
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+
176
+ .btn-dropdown {
177
+ @extend .btn-primary;
178
+ background: $nice-dropdown-bg;
179
+ border-color: $nice-dropdown-border;
180
+ color: $nice-dropdown-color;
181
+ font-weight: inherit;
182
+ min-height: 34px;
183
+ position: relative;
184
+ overflow: hidden;
185
+ flex-grow: 1;
186
+ justify-content: flex-start;
187
+
188
+ text-align: left;
189
+ padding-right: 25px;
190
+
191
+ .btn-dropdown-inside {
192
+ overflow: hidden;
193
+ text-overflow: ellipsis;
194
+ line-height: 1.2;
195
+ margin-top: 1px;
196
+ flex-grow: 1;
197
+ }
198
+
199
+ .caret {
200
+ position: absolute;
201
+ color: $nice-border-color;
202
+ top: 50%;
203
+ right: 10px;
204
+ transform: translate(0, -50%);
205
+ }
206
+
207
+ .nice-loader {
208
+ padding: 0;
209
+ text-align: left;
210
+ position: absolute;
211
+ top: 50%;
212
+ right: 5px;
213
+ height: 20px;
214
+ width: 20px;
215
+ transform: translate(0, -50%);
216
+
217
+ svg {
218
+ width: 20px;
219
+ height: 20px;
220
+ }
221
+ }
222
+
223
+ &:disabled {
224
+ cursor: not-allowed;
225
+ background: $nice-dropdown-disabled-bg !important;
226
+ border-color: var(--nice-border-color);
227
+
228
+ &:hover,
229
+ &:active,
230
+ &:focus {
231
+ outline: 0 none;
232
+ border-color: var(--nice-border-color);
233
+ }
234
+ }
235
+
236
+ &:hover {
237
+ background: $nice-dropdown-hover-bg;
238
+ border-color: var(--nice-border-color);
239
+ color: $nice-dropdown-hover-color;
240
+ }
241
+
242
+ &:active,
243
+ &:focus {
244
+ background: $nice-focus-bg !important;
245
+ color: $nice-focus-color !important;
246
+ border-color: var(--nice-border-color);
247
+ @extend .nice-focus;
248
+ }
249
+ }
250
250
  }
@@ -1,29 +1,29 @@
1
- <div class="nice-component nice-dropdown-date" ng-form="dropdownDateForm" ng-class="{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }">
2
- <div class="row">
3
- <!------------------------- Title ------------------------->
4
- <nice-title text="title" help="help" required="required" label-width="labelWidth"></nice-title>
5
-
6
- <!------------------------- Field ------------------------->
7
- <div class="nice-field col-xs-12" ng-class="[
8
- fieldWidth ? fieldWidth : 'col-sm-8',
9
- {
10
- 'has-warning': !isDisabled && dropdownDateForm.$invalid && dropdownDateForm.$dirty,
11
- 'nice-disabled': isDisabled
12
- }
13
- ]">
14
- <div class="form-inline">
15
- <div class="input-group nice-dropdown-date-day">
16
- <select ng-model="dateFields.day" class="form-control" ng-options="day for day in days" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
17
- </div>
18
-
19
- <div class="input-group nice-dropdown-date-month">
20
- <select ng-model="dateFields.month" class="form-control" ng-options="month.value as month.name for month in months" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
21
- </div>
22
-
23
- <div class="input-group nice-dropdown-date-year">
24
- <select ng-model="dateFields.year" class="form-control" ng-options="year for year in years" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
25
- </div>
26
- </div>
27
- </div>
28
- </div>
1
+ <div class="nice-component nice-dropdown-date" ng-form="dropdownDateForm" ng-class="{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }">
2
+ <div class="row">
3
+ <!------------------------- Title ------------------------->
4
+ <nice-title text="title" help="help" required="required" label-width="labelWidth"></nice-title>
5
+
6
+ <!------------------------- Field ------------------------->
7
+ <div class="nice-field col-xs-12" ng-class="[
8
+ fieldWidth ? fieldWidth : 'col-sm-8',
9
+ {
10
+ 'has-warning': !isDisabled && dropdownDateForm.$invalid && dropdownDateForm.$dirty,
11
+ 'nice-disabled': isDisabled
12
+ }
13
+ ]">
14
+ <div class="form-inline">
15
+ <div class="input-group nice-dropdown-date-day">
16
+ <select ng-model="dateFields.day" class="form-control" ng-options="day for day in days" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
17
+ </div>
18
+
19
+ <div class="input-group nice-dropdown-date-month">
20
+ <select ng-model="dateFields.month" class="form-control" ng-options="month.value as month.name for month in months" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
21
+ </div>
22
+
23
+ <div class="input-group nice-dropdown-date-year">
24
+ <select ng-model="dateFields.year" class="form-control" ng-options="year for year in years" ng-change="checkDate()" ng-disabled="isDisabled" required="true"></select>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div>
29
29
  </div>