nice-elements 1.10.2 → 1.10.4
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/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +63 -36
- package/dist/nice.min.js +1 -1
- package/dist/style.css +111 -2
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-button/nice-button.html +1 -1
- package/src/components/nice-button/nice-button.js +2 -3
- package/src/components/nice-calendar/nice-calendar.html +1 -1
- package/src/components/nice-calendar/nice-calendar.js +1 -0
- package/src/components/nice-checkbox/nice-checkbox.html +1 -1
- package/src/components/nice-checkbox/nice-checkbox.js +1 -0
- package/src/components/nice-choice/nice-choice.html +1 -1
- package/src/components/nice-choice/nice-choice.js +1 -0
- package/src/components/nice-comment/nice-comment.html +1 -1
- package/src/components/nice-comment/nice-comment.js +1 -0
- package/src/components/nice-date/nice-date.html +1 -1
- package/src/components/nice-date/nice-date.js +1 -0
- package/src/components/nice-date-input/nice-date-input.html +1 -1
- package/src/components/nice-date-input/nice-date-input.js +1 -0
- package/src/components/nice-date-range/nice-date-range.html +1 -1
- package/src/components/nice-date-range/nice-date-range.js +1 -0
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +1 -1
- package/src/components/nice-datetime-picker/nice-datetime-picker.js +1 -0
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +1 -1
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +1 -0
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +1 -1
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +1 -0
- package/src/components/nice-dropdown/nice-dropdown.html +1 -1
- package/src/components/nice-dropdown/nice-dropdown.js +1 -0
- package/src/components/nice-dropdown-date/nice-dropdown-date.html +1 -1
- package/src/components/nice-dropdown-date/nice-dropdown-date.js +1 -0
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +1 -1
- package/src/components/nice-dropdown-old/nice-dropdown-old.js +1 -0
- package/src/components/nice-dtp/nice-dtp.js +1 -0
- package/src/components/nice-input/nice-input.html +1 -1
- package/src/components/nice-input/nice-input.js +1 -0
- package/src/components/nice-label/nice-label.html +1 -1
- package/src/components/nice-label/nice-label.js +1 -0
- package/src/components/nice-number/nice-number.html +1 -1
- package/src/components/nice-number/nice-number.js +1 -0
- package/src/components/nice-percent/nice-percent.html +1 -1
- package/src/components/nice-percent/nice-percent.js +1 -0
- package/src/components/nice-progress-bar/nice-progress-bar.html +1 -1
- package/src/components/nice-progress-bar/nice-progress-bar.js +1 -0
- package/src/components/nice-quantity/nice-quantity.html +1 -1
- package/src/components/nice-quantity/nice-quantity.js +1 -0
- package/src/components/nice-search/nice-search.html +1 -1
- package/src/components/nice-search/nice-search.js +1 -0
- package/src/components/nice-search2/nice-search2.html +1 -1
- package/src/components/nice-search2/nice-search2.js +1 -0
- package/src/components/nice-slot/nice-slot.html +1 -1
- package/src/components/nice-slot/nice-slot.js +1 -0
- package/src/components/nice-time-picker/nice-time-picker.html +1 -1
- package/src/components/nice-time-picker/nice-time-picker.js +1 -0
- package/src/components/nice-toggle/nice-toggle.html +2 -2
- package/src/components/nice-toggle/nice-toggle.js +1 -0
- package/src/components/nice-toggle/nice-toggle.scss +4 -0
- package/src/components/nice-upload/nice-upload.html +1 -1
- package/src/components/nice-upload/nice-upload.js +1 -0
- package/src/components/nice-wrapper/nice-wrapper.html +1 -1
- package/src/components/nice-wrapper/nice-wrapper.js +1 -0
- package/src/components/nice-yesno/nice-yesno.html +1 -1
- package/src/components/nice-yesno/nice-yesno.js +1 -0
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice-buttons.scss +211 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.10.4 (8.4.2024)
|
|
4
|
+
|
|
5
|
+
- added nice-title props to components,
|
|
6
|
+
- worked on nice-toggle disabled state
|
|
7
|
+
|
|
8
|
+
## v1.10.3 (4.4.2024)
|
|
9
|
+
|
|
10
|
+
- fixed nice button default type,
|
|
11
|
+
- fixed disabled button states,
|
|
12
|
+
- happy birthday Bine!
|
|
13
|
+
|
|
3
14
|
## v1.10.2 (3.4.2024)
|
|
4
15
|
|
|
5
16
|
- worked on nice-toggle component style,
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# Nice elements v1.10.
|
|
3
|
+
# Nice elements v1.10.4
|
|
4
4
|
|
|
5
5
|
Nice elements is an AngularJS v1.5.8 module that contains nice form elements like inputs, choice fields, search, toggle, dropdown, etc.
|
|
6
6
|
|
package/bower.json
CHANGED
package/dist/nice.js
CHANGED
|
@@ -40,17 +40,16 @@ angular.module('niceElements')
|
|
|
40
40
|
transclude: true,
|
|
41
41
|
replace: true,
|
|
42
42
|
scope: {
|
|
43
|
-
title: '@',
|
|
44
43
|
icon: '@?',
|
|
45
44
|
noMargin: '=',
|
|
46
45
|
niceClick: '&',
|
|
47
46
|
niceDisabled: '=',
|
|
48
47
|
addClass: '@',
|
|
49
|
-
|
|
48
|
+
niceType: '@?'
|
|
50
49
|
},
|
|
51
50
|
controller: function ($q, $scope, $transclude) {
|
|
52
51
|
if ($scope.addClass != undefined) console.warn("[NICE ELEMENTS] Nice button: add-class attribute is deprecated")
|
|
53
|
-
if (!$scope.
|
|
52
|
+
if (!$scope.niceType) $scope.niceType = "button";
|
|
54
53
|
$scope.showSlot = $transclude().length > 0;
|
|
55
54
|
$scope.loading = false;
|
|
56
55
|
|
|
@@ -81,6 +80,7 @@ angular.module('niceElements')
|
|
|
81
80
|
restrict: "E",
|
|
82
81
|
templateUrl: "src/components/nice-calendar/nice-calendar.html",
|
|
83
82
|
scope: {
|
|
83
|
+
niceTitle: '@',
|
|
84
84
|
title: '@',
|
|
85
85
|
fieldWidth: '@',
|
|
86
86
|
labelWidth: '@',
|
|
@@ -417,6 +417,7 @@ angular.module('niceElements')
|
|
|
417
417
|
restrict: 'E',
|
|
418
418
|
scope: {
|
|
419
419
|
model: '=',
|
|
420
|
+
niceTitle: '@',
|
|
420
421
|
title: '@',
|
|
421
422
|
titleOnLeft: '=',
|
|
422
423
|
noMargin: '@',
|
|
@@ -451,6 +452,7 @@ angular.module('niceElements')
|
|
|
451
452
|
templateUrl: 'src/components/nice-choice/nice-choice.html',
|
|
452
453
|
restrict: 'E',
|
|
453
454
|
scope: {
|
|
455
|
+
niceTitle: '@',
|
|
454
456
|
title: '@',
|
|
455
457
|
model: '=',
|
|
456
458
|
list: '=',
|
|
@@ -769,6 +771,7 @@ angular.module('niceElements')
|
|
|
769
771
|
scope: {
|
|
770
772
|
model: '=',
|
|
771
773
|
title: '@?',
|
|
774
|
+
niceTitle: '@?',
|
|
772
775
|
isDisabled: '=',
|
|
773
776
|
placeholder: '@',
|
|
774
777
|
noTextLabel: '@',
|
|
@@ -843,6 +846,7 @@ angular.module('niceElements')
|
|
|
843
846
|
time: '=?', // default: false, is time picker enabled?
|
|
844
847
|
minDate: '@', // default: undefined
|
|
845
848
|
maxDate: '@', // default: undefined
|
|
849
|
+
niceTitle: '@',
|
|
846
850
|
title: '@', // default: ''
|
|
847
851
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
848
852
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -950,6 +954,7 @@ angular.module('niceElements')
|
|
|
950
954
|
templateUrl: 'src/components/nice-date-range/nice-date-range.html',
|
|
951
955
|
scope: {
|
|
952
956
|
model: '=',
|
|
957
|
+
niceTitle: '@',
|
|
953
958
|
title: '@',
|
|
954
959
|
fieldWidth: '@',
|
|
955
960
|
format: '@',
|
|
@@ -1026,6 +1031,7 @@ angular.module('niceElements')
|
|
|
1026
1031
|
transclude: true,
|
|
1027
1032
|
templateUrl: 'src/components/nice-date/nice-date.html',
|
|
1028
1033
|
scope: {
|
|
1034
|
+
niceTitle: '@',
|
|
1029
1035
|
title: '@', // default: ''
|
|
1030
1036
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
1031
1037
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -1365,6 +1371,7 @@ angular.module('niceElements').directive('niceDatetimePicker', function () {
|
|
|
1365
1371
|
okText: '@',
|
|
1366
1372
|
cancelText: '@',
|
|
1367
1373
|
shortTime: '@', // default: false,
|
|
1374
|
+
niceTitle: '@',
|
|
1368
1375
|
title: '@', // default: ''
|
|
1369
1376
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
1370
1377
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -1445,6 +1452,7 @@ angular.module('niceElements')
|
|
|
1445
1452
|
time: '=?', // default: false, is time picker enabled?
|
|
1446
1453
|
minDate: '@', // default: undefined
|
|
1447
1454
|
maxDate: '@', // default: undefined
|
|
1455
|
+
niceTitle: '@',
|
|
1448
1456
|
title: '@', // default: ''
|
|
1449
1457
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
1450
1458
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -1626,6 +1634,7 @@ angular.module('niceElements')
|
|
|
1626
1634
|
okText: '@',
|
|
1627
1635
|
cancelText: '@',
|
|
1628
1636
|
shortTime: '@', // default: false,
|
|
1637
|
+
niceTitle: '@',
|
|
1629
1638
|
title: '@', // default: ''
|
|
1630
1639
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
1631
1640
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -1862,6 +1871,7 @@ angular.module('niceElements')
|
|
|
1862
1871
|
templateUrl: "src/components/nice-dropdown-date/nice-dropdown-date.html",
|
|
1863
1872
|
scope: {
|
|
1864
1873
|
model: '=',
|
|
1874
|
+
niceTitle: '@',
|
|
1865
1875
|
title: '@',
|
|
1866
1876
|
fieldWidth: '@',
|
|
1867
1877
|
labelWidth: '@',
|
|
@@ -1988,6 +1998,7 @@ angular.module('niceElements')
|
|
|
1988
1998
|
restrict: 'E',
|
|
1989
1999
|
transclude: true,
|
|
1990
2000
|
scope: {
|
|
2001
|
+
niceTitle: '@',
|
|
1991
2002
|
title: '@', // Title of the field
|
|
1992
2003
|
model: '=', // Aka model
|
|
1993
2004
|
list: '=', // List of options
|
|
@@ -2322,6 +2333,7 @@ angular.module('niceElements')
|
|
|
2322
2333
|
'option': '?niceDropdownOption'
|
|
2323
2334
|
},
|
|
2324
2335
|
scope: {
|
|
2336
|
+
niceTitle: '@',
|
|
2325
2337
|
title: '@', // Title of the field
|
|
2326
2338
|
model: '=', // Aka model
|
|
2327
2339
|
list: '=', // List of options
|
|
@@ -2824,6 +2836,7 @@ angular.module('niceElements')
|
|
|
2824
2836
|
okText: '@',
|
|
2825
2837
|
cancelText: '@',
|
|
2826
2838
|
shortTime: '@', // default: false,
|
|
2839
|
+
niceTitle: '@',
|
|
2827
2840
|
title: '@', // default: ''
|
|
2828
2841
|
noMargin: '@', // default: false, if noMargin==true then entire directive can be injected inside other divs
|
|
2829
2842
|
fieldWidth: '@', // default: 'col-sm-8', bootstrap classes that defines width of field
|
|
@@ -3716,6 +3729,7 @@ angular.module('niceElements')
|
|
|
3716
3729
|
isDisabled: '=',
|
|
3717
3730
|
type: '@',
|
|
3718
3731
|
title: '@?',
|
|
3732
|
+
niceTitle: '@?',
|
|
3719
3733
|
regex: '@?',
|
|
3720
3734
|
regexRaw: '@?',
|
|
3721
3735
|
regexError: '@?',
|
|
@@ -3966,6 +3980,7 @@ angular.module('niceElements')
|
|
|
3966
3980
|
fieldWidth: '@',
|
|
3967
3981
|
labelWidth: '@',
|
|
3968
3982
|
value: '@',
|
|
3983
|
+
niceTitle: '@',
|
|
3969
3984
|
title: '@',
|
|
3970
3985
|
noMargin: '@',
|
|
3971
3986
|
isInline: '=',
|
|
@@ -4180,6 +4195,7 @@ angular.module('niceElements')
|
|
|
4180
4195
|
valid: '=',
|
|
4181
4196
|
isDisabled: '=',
|
|
4182
4197
|
title: '@?',
|
|
4198
|
+
niceTitle: '@?',
|
|
4183
4199
|
min: '@',
|
|
4184
4200
|
max: '@',
|
|
4185
4201
|
defaultValue: '@',
|
|
@@ -4351,6 +4367,7 @@ angular.module('niceElements')
|
|
|
4351
4367
|
valid: '=',
|
|
4352
4368
|
isDisabled: '=',
|
|
4353
4369
|
title: '@?',
|
|
4370
|
+
niceTitle: '@?',
|
|
4354
4371
|
required: '=',
|
|
4355
4372
|
fieldWidth: '@',
|
|
4356
4373
|
labelWidth: '@',
|
|
@@ -4595,6 +4612,7 @@ angular.module('niceElements')
|
|
|
4595
4612
|
replace: true,
|
|
4596
4613
|
templateUrl: 'src/components/nice-progress-bar/nice-progress-bar.html',
|
|
4597
4614
|
scope: {
|
|
4615
|
+
niceTitle: '@',
|
|
4598
4616
|
title: '@',
|
|
4599
4617
|
noMargin: '@',
|
|
4600
4618
|
value: '=',
|
|
@@ -4649,6 +4667,7 @@ angular.module('niceElements')
|
|
|
4649
4667
|
templateUrl: 'src/components/nice-quantity/nice-quantity.html',
|
|
4650
4668
|
restrict: 'E',
|
|
4651
4669
|
scope: {
|
|
4670
|
+
niceTitle: '@',
|
|
4652
4671
|
title: '@',
|
|
4653
4672
|
model: '=',
|
|
4654
4673
|
min: '=?',
|
|
@@ -4709,6 +4728,7 @@ angular.module('niceElements')
|
|
|
4709
4728
|
model: '=',
|
|
4710
4729
|
isDisabled: '=',
|
|
4711
4730
|
title: '@?',
|
|
4731
|
+
niceTitle: '@?',
|
|
4712
4732
|
placeholder: '@',
|
|
4713
4733
|
required: '=',
|
|
4714
4734
|
fieldWidth: '@',
|
|
@@ -4950,6 +4970,7 @@ angular.module('niceElements')
|
|
|
4950
4970
|
isDisabled: '=',
|
|
4951
4971
|
showDropdown: '=',
|
|
4952
4972
|
title: '@?',
|
|
4973
|
+
niceTitle: '@?',
|
|
4953
4974
|
placeholder: '@',
|
|
4954
4975
|
fieldWidth: '@',
|
|
4955
4976
|
labelWidth: '@',
|
|
@@ -5213,6 +5234,7 @@ angular.module('niceElements')
|
|
|
5213
5234
|
scope: {
|
|
5214
5235
|
fieldWidth: '@',
|
|
5215
5236
|
labelWidth: '@',
|
|
5237
|
+
niceTitle: '@',
|
|
5216
5238
|
title: '@',
|
|
5217
5239
|
noMargin: '@',
|
|
5218
5240
|
isInline: '=',
|
|
@@ -5317,6 +5339,7 @@ angular.module('niceElements')
|
|
|
5317
5339
|
return {
|
|
5318
5340
|
scope: {
|
|
5319
5341
|
model: '=',
|
|
5342
|
+
niceTitle: '@',
|
|
5320
5343
|
title: '@',
|
|
5321
5344
|
isDisabled: '=',
|
|
5322
5345
|
noMargin: '@',
|
|
@@ -5482,6 +5505,7 @@ angular.module('niceElements')
|
|
|
5482
5505
|
restrict: 'E',
|
|
5483
5506
|
scope: {
|
|
5484
5507
|
model: '=',
|
|
5508
|
+
niceTitle: '@',
|
|
5485
5509
|
title: '@',
|
|
5486
5510
|
isDisabled: '=',
|
|
5487
5511
|
fieldWidth: '@',
|
|
@@ -5561,6 +5585,7 @@ angular.module('niceElements')
|
|
|
5561
5585
|
templateUrl: 'src/components/nice-upload/nice-upload.html',
|
|
5562
5586
|
scope: {
|
|
5563
5587
|
model: '=',
|
|
5588
|
+
niceTitle: '@',
|
|
5564
5589
|
title: '@',
|
|
5565
5590
|
text: '@',
|
|
5566
5591
|
fieldWidth: '@',
|
|
@@ -5722,6 +5747,7 @@ angular.module('niceElements')
|
|
|
5722
5747
|
'footer': '?niceWrapperFooter'
|
|
5723
5748
|
},
|
|
5724
5749
|
scope: {
|
|
5750
|
+
niceTitle: '@',
|
|
5725
5751
|
title: '@',
|
|
5726
5752
|
subtitle: '@',
|
|
5727
5753
|
collapsable: '=',
|
|
@@ -5764,6 +5790,7 @@ angular.module('niceElements')
|
|
|
5764
5790
|
modelValue: '=',
|
|
5765
5791
|
yes: '@',
|
|
5766
5792
|
no: '@',
|
|
5793
|
+
niceTitle: '@',
|
|
5767
5794
|
title: '@',
|
|
5768
5795
|
isDisabled: '=',
|
|
5769
5796
|
fieldWidth: '@',
|
|
@@ -5903,7 +5930,7 @@ angular.module('niceElements')
|
|
|
5903
5930
|
.service('NiceService', function () {
|
|
5904
5931
|
var service = {
|
|
5905
5932
|
name: "Nice elements",
|
|
5906
|
-
version: "1.10.
|
|
5933
|
+
version: "1.10.4",
|
|
5907
5934
|
getHeader: function () {
|
|
5908
5935
|
return {};
|
|
5909
5936
|
}
|
|
@@ -5979,7 +6006,7 @@ angular.module('niceElements')
|
|
|
5979
6006
|
};
|
|
5980
6007
|
});
|
|
5981
6008
|
|
|
5982
|
-
angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
6009
|
+
angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
5983
6010
|
'use strict';
|
|
5984
6011
|
|
|
5985
6012
|
$templateCache.put('src/components/nice-button-toggle/nice-button-toggle.html',
|
|
@@ -5996,7 +6023,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
5996
6023
|
|
|
5997
6024
|
|
|
5998
6025
|
$templateCache.put('src/components/nice-button/nice-button.html',
|
|
5999
|
-
"<button type=\"{{
|
|
6026
|
+
"<button type=\"{{ niceType }}\" class=\"nice-component nice-button btn btn-primary\" ng-class=\"{ 'margin-bottom-0' : noMargin }\" ng-click=\"click()\" ng-disabled=\"niceDisabled == true\">\n" +
|
|
6000
6027
|
"<nice-icon icon=\"{{ icon }}\" ng-if=\"icon\" ng-class=\"{ 'opacity-0': loading }\"></nice-icon>\n" +
|
|
6001
6028
|
"<span ng-if=\"showSlot\" ng-transclude ng-class=\"{ 'opacity-0': loading }\"></span>\n" +
|
|
6002
6029
|
"<nice-loader ng-if=\"loading\" fulldiv=\"true\" class=\"nice-button-loader\"></nice-loader>\n" +
|
|
@@ -6007,7 +6034,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6007
6034
|
$templateCache.put('src/components/nice-calendar/nice-calendar.html',
|
|
6008
6035
|
"<div class=\"nice-component nice-calendar\" ng-form=\"formCalendar\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6009
6036
|
"<div class=\"row\">\n" +
|
|
6010
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6037
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6011
6038
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6012
6039
|
"<div class=\"disabled-shield\" ng-if=\"isDisabled\"></div>\n" +
|
|
6013
6040
|
"<div class=\"nice-calendar-wrapper\">\n" +
|
|
@@ -6104,7 +6131,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6104
6131
|
"<button type=\"button\" class=\"btn nice-checkbox-checkbox\" ng-disabled=\"isDisabled\">\n" +
|
|
6105
6132
|
"<nice-icon class=\"nice-checkbox-check\" icon=\"icon-check\"></nice-icon>\n" +
|
|
6106
6133
|
"</button>\n" +
|
|
6107
|
-
"<div ng-if=\"title\" class=\"nice-checkbox-message\" ng-class=\"{ 'nice-disabled': isDisabled }\">{{ title }}</div>\n" +
|
|
6134
|
+
"<div ng-if=\"title || niceTitle\" class=\"nice-checkbox-message\" ng-class=\"{ 'nice-disabled': isDisabled }\">{{ title || niceTitle }}</div>\n" +
|
|
6108
6135
|
"</div>"
|
|
6109
6136
|
);
|
|
6110
6137
|
|
|
@@ -6112,7 +6139,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6112
6139
|
$templateCache.put('src/components/nice-choice/nice-choice.html',
|
|
6113
6140
|
"<div class=\"nice-component nice-choice\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" ng-form=\"formChoice\">\n" +
|
|
6114
6141
|
"<div class=\"row\">\n" +
|
|
6115
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6142
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6116
6143
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6117
6144
|
"<ul class=\"list-unstyled\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
|
|
6118
6145
|
"<li ng-repeat=\"item in internalList\" ng-class=\"{ 'selected' : isItemSelected(item) }\" ng-click=\"toggle(item)\">\n" +
|
|
@@ -6132,7 +6159,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6132
6159
|
$templateCache.put('src/components/nice-comment/nice-comment.html',
|
|
6133
6160
|
"<div class=\"nice-component nice-comment\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6134
6161
|
"<div class=\"row\">\n" +
|
|
6135
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6162
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6136
6163
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\" ng-click=\"edit()\">\n" +
|
|
6137
6164
|
"<textarea ng-class=\"{'editing': editing}\" class=\"form-control\" ng-model=\"model\" placeholder=\"{{placeholder}}\" rows=\"{{rows}}\" ng-blur=\"save()\" ng-disabled=\"isDisabled\"></textarea>\n" +
|
|
6138
6165
|
"</div>\n" +
|
|
@@ -6144,7 +6171,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6144
6171
|
$templateCache.put('src/components/nice-date-input/nice-date-input.html',
|
|
6145
6172
|
"<div class=\"nice-component nice-date-input\" ng-form=\"niceDateInputForm\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline, 'error': niceDateInputForm.$invalid }\">\n" +
|
|
6146
6173
|
"<div class=\"row\">\n" +
|
|
6147
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6174
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6148
6175
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6149
6176
|
"<div class=\"input-group nice-date-input\" ng-show=\"date\" ng-class=\"{ 'has-warning': !disabled && niceDateInputForm.$invalid && niceDateInputForm.$dirty }\">\n" +
|
|
6150
6177
|
"<input type=\"text\" class=\"form-control\" ng-model=\"modelDate\" ng-blur=\"dateBlur($event)\" ng-disabled=\"isDisabled\">\n" +
|
|
@@ -6185,7 +6212,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6185
6212
|
$templateCache.put('src/components/nice-date-range/nice-date-range.html',
|
|
6186
6213
|
"<ng-form class=\"nice-component nice-date-range\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
6187
6214
|
"<div class=\"row\">\n" +
|
|
6188
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6215
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6189
6216
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6190
6217
|
"<div class=\"input-group\">\n" +
|
|
6191
6218
|
"<input date-range-picker class=\"form-control date-picker\" type=\"text\" options=\"opts\" ng-model=\"model\">\n" +
|
|
@@ -6203,7 +6230,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6203
6230
|
"<div class=\"nice-component nice-date\" ng-form=\"forma\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6204
6231
|
"<div class=\"nice-date-background\" ng-click=\"toggleOpen()\" ng-if=\"isOpen && !inline\"></div>\n" +
|
|
6205
6232
|
"<div class=\"row\">\n" +
|
|
6206
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6233
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6207
6234
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6208
6235
|
"<div class=\"disabled-shield\" ng-if=\"isDisabled\"></div>\n" +
|
|
6209
6236
|
"<div class=\"nice-date-button input-group\" ng-class=\"{ 'open': isOpen }\" ng-show=\"!inline\" ng-click=\"toggleOpen()\">\n" +
|
|
@@ -6273,7 +6300,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6273
6300
|
"<div class=\"nice-component nice-datetime-picker\" name=\"form\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6274
6301
|
"<div class=\"nice-dtp-background\" ng-click=\"closeDtp(true)\" ng-if=\"isOpen\"></div>\n" +
|
|
6275
6302
|
"<div class=\"row\">\n" +
|
|
6276
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6303
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6277
6304
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6278
6305
|
"<div ng-form=\"formDatetimePicker\"></div>\n" +
|
|
6279
6306
|
"<div class=\"input-group\" id=\"dropdown{{randNum}}\">\n" +
|
|
@@ -6298,7 +6325,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6298
6325
|
"<div class=\"nice-component nice-datetimerange-picker-2\" ng-form=\"formDateRangePicker\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6299
6326
|
"<div class=\"nice-dtp-background\" ng-click=\"close()\" ng-if=\"isOpen\"></div>\n" +
|
|
6300
6327
|
"<div class=\"row\">\n" +
|
|
6301
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6328
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6302
6329
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6303
6330
|
"<div class=\"nice-daterange-picker-button input-group\" ng-class=\"{ 'open': isOpen }\" ng-click=\"open()\">\n" +
|
|
6304
6331
|
"<input type=\"text\" class=\"form-control\" value=\"{{ modelFormat }}\" readonly=\"readonly\" ng-disabled=\"isDisabled\">\n" +
|
|
@@ -6338,7 +6365,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6338
6365
|
"<div class=\"nice-component nice-datetime-picker nice-datetimerange-picker\" name=\"form\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6339
6366
|
"<div class=\"nice-dtp-background\" ng-click=\"cancelClick()\" ng-if=\"showDtpRange\"></div>\n" +
|
|
6340
6367
|
"<div class=\"row\">\n" +
|
|
6341
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6368
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6342
6369
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6343
6370
|
"<div ng-form=\"formDatetimeRangePicker\"></div>\n" +
|
|
6344
6371
|
"<div class=\"dropdown\">\n" +
|
|
@@ -6383,7 +6410,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6383
6410
|
$templateCache.put('src/components/nice-dropdown-date/nice-dropdown-date.html',
|
|
6384
6411
|
"<div class=\"nice-component nice-dropdown-date\" ng-form=\"dropdownDateForm\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6385
6412
|
"<div class=\"row\">\n" +
|
|
6386
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6413
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6387
6414
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[\r" +
|
|
6388
6415
|
"\n" +
|
|
6389
6416
|
" fieldWidth ? fieldWidth : 'col-sm-8',\r" +
|
|
@@ -6417,7 +6444,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6417
6444
|
$templateCache.put('src/components/nice-dropdown-old/nice-dropdown-old.html',
|
|
6418
6445
|
"<div class=\"nice-component nice-dropdown-old\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6419
6446
|
"<div class=\"row\">\n" +
|
|
6420
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6447
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6421
6448
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6422
6449
|
"<div ng-class=\"addButtonEnable && !isDisabled ? 'input-group': ''\">\n" +
|
|
6423
6450
|
"<div class=\"btn-group\" dropdown is-open=\"status.isopen\" ng-class=\"{ 'disabled': isDisabled || emptyList }\">\n" +
|
|
@@ -6455,7 +6482,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6455
6482
|
$templateCache.put('src/components/nice-dropdown/nice-dropdown.html',
|
|
6456
6483
|
"<div class=\"nice-component nice-dropdown\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\" ng-form=\"formDropdown\">\n" +
|
|
6457
6484
|
"<div class=\"row\">\n" +
|
|
6458
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6485
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6459
6486
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[ fieldWidth ? fieldWidth : 'col-sm-8', { 'open': isOpen, 'nice-disabled': isDisabled || emptyList } ]\" click-outside=\"close()\" is-open=\"{{ isOpen }}\">\n" +
|
|
6460
6487
|
"<div class=\"nice-field-wrapper\">\n" +
|
|
6461
6488
|
"<button type=\"button\" class=\"btn btn-dropdown\" type=\"button\" ng-ref=\"dropdown-button\" ng-click=\"toggle()\" ng-disabled=\"isDisabled || emptyList\" aria-expanded=\"{{ isOpen }}\" aria-haspopup=\"true\" aria-controls=\"menu\" id=\"nice-dropdown-{{ id }}\">\n" +
|
|
@@ -6615,7 +6642,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6615
6642
|
$templateCache.put('src/components/nice-input/nice-input.html',
|
|
6616
6643
|
"<ng-form class=\"nice-component nice-input\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"forma\">\n" +
|
|
6617
6644
|
"<div class=\"row\">\n" +
|
|
6618
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6645
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6619
6646
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6620
6647
|
"<div class=\"input-group\" ng-class=\"{\r" +
|
|
6621
6648
|
"\n" +
|
|
@@ -6664,7 +6691,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6664
6691
|
$templateCache.put('src/components/nice-label/nice-label.html',
|
|
6665
6692
|
"<div class=\"nice-component nice-label\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6666
6693
|
"<div class=\"row\">\n" +
|
|
6667
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6694
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6668
6695
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-xs-8'\">\n" +
|
|
6669
6696
|
"<p class=\"value\">{{ value }}</p>\n" +
|
|
6670
6697
|
"</div>\n" +
|
|
@@ -6703,7 +6730,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6703
6730
|
$templateCache.put('src/components/nice-number/nice-number.html',
|
|
6704
6731
|
"<div class=\"nice-component nice-number\" ng-form=\"niceNumberForm\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6705
6732
|
"<div ng-class=\"{'row' : !disableRow}\">\n" +
|
|
6706
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6733
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6707
6734
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6708
6735
|
"<div class=\"input-group\" ng-class=\"{'has-warning': !isDisabled && niceNumberForm.$invalid && niceNumberForm.$dirty}\">\n" +
|
|
6709
6736
|
"<span class=\"input-group-btn\">\n" +
|
|
@@ -6742,7 +6769,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6742
6769
|
$templateCache.put('src/components/nice-percent/nice-percent.html',
|
|
6743
6770
|
"<ng-form class=\"nice-component nice-input\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
6744
6771
|
"<div class=\"row\">\n" +
|
|
6745
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6772
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6746
6773
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6747
6774
|
"<div class=\"input-group has-feedback symbol\" ng-class=\"{\r" +
|
|
6748
6775
|
"\n" +
|
|
@@ -6788,7 +6815,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6788
6815
|
$templateCache.put('src/components/nice-progress-bar/nice-progress-bar.html',
|
|
6789
6816
|
"<div class=\"nice-component nice-progress-bar\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6790
6817
|
"<div class=\"row\">\n" +
|
|
6791
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6818
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6792
6819
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
6793
6820
|
"<div class=\"progress\">\n" +
|
|
6794
6821
|
"<div class=\"progress-value\">{{ value }} / {{ max }}</div>\n" +
|
|
@@ -6805,7 +6832,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6805
6832
|
$templateCache.put('src/components/nice-quantity/nice-quantity.html',
|
|
6806
6833
|
"<div class=\"nice-component nice-quantity\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6807
6834
|
"<div class=\"row\">\n" +
|
|
6808
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6835
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6809
6836
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6810
6837
|
"<div class=\"input-group\">\n" +
|
|
6811
6838
|
"<span class=\"input-group-btn\">\n" +
|
|
@@ -6829,7 +6856,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6829
6856
|
$templateCache.put('src/components/nice-search/nice-search.html',
|
|
6830
6857
|
"<ng-form class=\"nice-component nice-input nice-search\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline}\" name=\"form\">\n" +
|
|
6831
6858
|
"<div class=\"row\">\n" +
|
|
6832
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6859
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6833
6860
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
6834
6861
|
"<div class=\"input-group\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
|
|
6835
6862
|
"<input class=\"form-control\" type=\"text\" id=\"{{ id }}\" ng-model=\"modelString\" ng-keypress=\"keypress($event)\" placeholder=\"{{ placeholder }}\" ng-disabled=\"isDisabled\" ng-change=\"updateSearch()\" ng-required=\"required\" tabindex=\"{{ tabIndex }}\">\n" +
|
|
@@ -6863,7 +6890,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6863
6890
|
$templateCache.put('src/components/nice-search2/nice-search2.html',
|
|
6864
6891
|
"<ng-form class=\"nice-component nice-input nice-search2\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
6865
6892
|
"<div class=\"row\">\n" +
|
|
6866
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6893
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6867
6894
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\" click-outside=\"close()\">\n" +
|
|
6868
6895
|
"<div class=\"nice-search-button input-group\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
|
|
6869
6896
|
"<input class=\"form-control\" type=\"text\" id=\"{{ id }}\" ng-model=\"model\" placeholder=\"{{ placeholder }}\" ng-disabled=\"isDisabled\" ng-change=\"updateSearch()\" ng-focus=\"onFocus()\" tabindex=\"{{ tabIndex }}\">\n" +
|
|
@@ -6893,7 +6920,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6893
6920
|
$templateCache.put('src/components/nice-slot/nice-slot.html',
|
|
6894
6921
|
"<div class=\"nice-component nice-slot\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
6895
6922
|
"<div class=\"row\">\n" +
|
|
6896
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6923
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
6897
6924
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-xs-8'\">\n" +
|
|
6898
6925
|
"<ng-transclude></ng-transclude>\n" +
|
|
6899
6926
|
"</div>\n" +
|
|
@@ -7914,7 +7941,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7914
7941
|
$templateCache.put('src/components/nice-time-picker/nice-time-picker.html',
|
|
7915
7942
|
"<div class=\"nice-component nice-time-picker\" ng-form=\"forma\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
7916
7943
|
"<div class=\"row\">\n" +
|
|
7917
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
7944
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
7918
7945
|
"<div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
7919
7946
|
"<div class=\"input-group\" ng-class=\"{\r" +
|
|
7920
7947
|
"\n" +
|
|
@@ -7973,9 +8000,9 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7973
8000
|
|
|
7974
8001
|
|
|
7975
8002
|
$templateCache.put('src/components/nice-toggle/nice-toggle.html',
|
|
7976
|
-
"<div class=\"nice-component nice-toggle\" ng-class=\"{ 'margin-bottom-0'
|
|
8003
|
+
"<div class=\"nice-component nice-toggle\" ng-class=\"{ 'margin-bottom-0': noMargin, 'title-right': titleRight, 'nice-component-inline': isInline, 'nice-component-block': isBlock, 'active': model }\" ng-form=\"formToggle\">\n" +
|
|
7977
8004
|
"<div class=\"row\">\n" +
|
|
7978
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
8005
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
7979
8006
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
7980
8007
|
"<button type=\"button\" class=\"nice-toggle-field\" ng-click=\"toggle()\" ng-disabled=\"isDisabled\">\n" +
|
|
7981
8008
|
"<div class=\"nice-toggle-field-handle\">{{ state }}</div>\n" +
|
|
@@ -7989,7 +8016,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7989
8016
|
$templateCache.put('src/components/nice-upload/nice-upload.html',
|
|
7990
8017
|
"<ng-form class=\"nice-component nice-upload\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
7991
8018
|
"<div class=\"row\">\n" +
|
|
7992
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
8019
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
7993
8020
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
7994
8021
|
"<div class=\"nice-upload-area\">\n" +
|
|
7995
8022
|
"<div class=\"input-area\" ng-class=\"{ 'dragging': dragging || draggingGlobal }\">\n" +
|
|
@@ -8014,7 +8041,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
8014
8041
|
"<div class=\"nice-wrapper\" ng-class=\"{ 'collapsable': collapsable, 'has-header': hasHeader, 'has-footer': hasFooter, 'nice-wrapper-sticky-footer': stickyFooter, 'nice-wrapper-sticky-header': stickyHeader }\">\n" +
|
|
8015
8042
|
"<div class=\"nice-wrapper-header\" ng-if=\"hasHeader\" ng-click=\"toggle()\">\n" +
|
|
8016
8043
|
"<div class=\"nice-wrapper-info\">\n" +
|
|
8017
|
-
"<div class=\"nice-wrapper-title\" ng-transclude=\"title\">{{ title }}</div>\n" +
|
|
8044
|
+
"<div class=\"nice-wrapper-title\" ng-transclude=\"title\">{{ title || niceTitle }}</div>\n" +
|
|
8018
8045
|
"<div class=\"nice-wrapper-subtitle\" ng-transclude=\"subtitle\">{{ subtitle }}</div>\n" +
|
|
8019
8046
|
"</div>\n" +
|
|
8020
8047
|
"<button type=\"button\" class=\"nice-wrapper-toggle btn btn-icon btn-default-naked\" ng-if=\"collapsable\" ng-class=\"{ 'is-open': isOpen }\">\n" +
|
|
@@ -8030,7 +8057,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
8030
8057
|
$templateCache.put('src/components/nice-yesno/nice-yesno.html',
|
|
8031
8058
|
"<div class=\"nice-component nice-yesno\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" ng-form=\"formYesno\">\n" +
|
|
8032
8059
|
"<div class=\"row\">\n" +
|
|
8033
|
-
"<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
8060
|
+
"<nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
8034
8061
|
"<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
|
|
8035
8062
|
"<div class=\"yesno-wrapper noselect\">\n" +
|
|
8036
8063
|
"<button type=\"button\" class=\"yesno-yes-bg\" ng-click=\"switch()\" tabindex=\"-1\" ng-disabled=\"isDisabled\">{{ yes }}</button>\n" +
|
|
@@ -8068,5 +8095,5 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
8068
8095
|
"</div>\n" +
|
|
8069
8096
|
"</div>"
|
|
8070
8097
|
);
|
|
8071
|
-
|
|
8072
|
-
}]);
|
|
8098
|
+
|
|
8099
|
+
}]);
|