nice-elements 1.9.2 → 1.9.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/bower.json +1 -1
  4. package/dist/nice.js +170 -117
  5. package/dist/nice.min.js +1 -1
  6. package/dist/style.css +103 -75
  7. package/dist/style.css.map +1 -1
  8. package/dist/style.min.css +2 -2
  9. package/package.json +1 -1
  10. package/src/components/nice-date/nice-date.html +4 -3
  11. package/src/components/nice-date/nice-date.scss +0 -13
  12. package/src/components/nice-date-input/nice-date-input.html +12 -8
  13. package/src/components/nice-date-input/nice-date-input.scss +4 -9
  14. package/src/components/nice-datetime-picker/nice-datetime-picker.html +6 -4
  15. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +5 -3
  16. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +2 -2
  17. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +1 -12
  18. package/src/components/nice-dropdown/nice-dropdown.html +7 -3
  19. package/src/components/nice-dropdown/nice-dropdown.js +26 -0
  20. package/src/components/nice-dropdown/nice-dropdown.scss +18 -0
  21. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +5 -0
  22. package/src/components/nice-number/nice-number.scss +0 -25
  23. package/src/components/nice-quantity/nice-quantity.html +10 -6
  24. package/src/components/nice-quantity/nice-quantity.scss +0 -9
  25. package/src/components/nice-search/nice-search.html +4 -4
  26. package/src/components/nice-search2/nice-search2.html +4 -4
  27. package/src/components/nice-search2/nice-search2.js +6 -0
  28. package/src/components/nice-svgs/nice-svgs.html +1 -1
  29. package/src/components/nice-time-picker/nice-time-picker.html +4 -2
  30. package/src/components/nice-upload/nice-upload.js +6 -5
  31. package/src/components/nice-upload/nice-upload.scss +6 -1
  32. package/src/components/nice-yesno/nice-yesno.html +2 -2
  33. package/src/components/nice-yesno/nice-yesno.scss +3 -4
  34. package/src/services/nice-service.js +1 -1
  35. package/src/styles/_nice-buttons.scss +48 -0
  36. package/src/styles/_nice-common.scss +44 -2
package/dist/nice.js CHANGED
@@ -18,7 +18,7 @@ angular.module('niceElements')
18
18
  label: '@'
19
19
  },
20
20
  link: function postLink(scope, element, attrs) {
21
- if (angular.isDefined(scope.model)){
21
+ if (angular.isDefined(scope.model)) {
22
22
  scope.model = false;
23
23
  }
24
24
  }
@@ -655,14 +655,14 @@ angular.module('niceElements')
655
655
  * # clickOutside
656
656
  */
657
657
  angular.module('niceElements')
658
- .directive('clickOutside', function($document, $parse, $timeout){
658
+ .directive('clickOutside', function ($document, $parse, $timeout) {
659
659
  return {
660
660
  restrict: 'A',
661
661
  link: function ($scope, elem, attr) {
662
662
  $scope.isOpen = false;
663
663
 
664
664
  // watch for is open
665
- attr.$observe('isOpen', function(value){
665
+ attr.$observe('isOpen', function (value) {
666
666
  $scope.isOpen = value == 'true';
667
667
  });
668
668
 
@@ -717,7 +717,7 @@ angular.module('niceElements')
717
717
  // if we have got this far, then we are good to go with processing the command passed in via the click-outside attribute
718
718
  $timeout(function () {
719
719
  fn = $parse(attr['clickOutside']);
720
- fn($scope, {event: e});
720
+ fn($scope, { event: e });
721
721
  });
722
722
  }
723
723
  }
@@ -751,7 +751,7 @@ angular.module('niceElements')
751
751
  });
752
752
  }
753
753
  };
754
- });
754
+ });
755
755
  'use strict';
756
756
 
757
757
  /**
@@ -942,7 +942,7 @@ angular.module('niceElements')
942
942
  */
943
943
  angular.module('niceElements')
944
944
 
945
- .directive('niceDateRange', function() {
945
+ .directive('niceDateRange', function () {
946
946
  return {
947
947
  restrict: 'E',
948
948
  transclude: true,
@@ -962,16 +962,16 @@ angular.module('niceElements')
962
962
  onChange: '&?'
963
963
  },
964
964
 
965
- link: function(scope, attrs){
965
+ link: function (scope, attrs) {
966
966
  if (!attrs.title) { attrs.title = ''; }
967
967
  if (!attrs.fieldWidth) { attrs.fieldWidth = 'col-sm-8'; }
968
968
  if (!attrs.labelWidth) { attrs.labelWidth = 'col-sm-4'; }
969
969
  if (!attrs.format) { attrs.format = 'dd.MM.yyyy'; }
970
970
  attrs.noMargin = angular.isDefined(attrs.noMargin);
971
971
 
972
- if(!angular.isDefined(scope.model)) {
972
+ if (!angular.isDefined(scope.model)) {
973
973
  var model = null;
974
- if(!angular.isDefined(scope.startOfTheYear)){
974
+ if (!angular.isDefined(scope.startOfTheYear)) {
975
975
  model = {
976
976
  startDate: moment().format(),
977
977
  endDate: moment().format()
@@ -987,7 +987,7 @@ angular.module('niceElements')
987
987
  }
988
988
  },
989
989
 
990
- controller: function($scope) {
990
+ controller: function ($scope) {
991
991
  $scope.opts = {
992
992
  locale: {
993
993
  applyClass: 'btn-green',
@@ -1003,7 +1003,7 @@ angular.module('niceElements')
1003
1003
  $scope.opts.ranges[gettextCatalog.getString("Last 30 days", null, "Nice")] = [moment().subtract(30, 'days'), moment()];
1004
1004
  $scope.opts.ranges[gettextCatalog.getString("This month", null, "Nice")] = [moment().startOf('month'), moment().endOf('month')];
1005
1005
 
1006
- if(angular.isDefined($scope.format)) $scope.opts.format = format;
1006
+ if (angular.isDefined($scope.format)) $scope.opts.format = format;
1007
1007
  }
1008
1008
 
1009
1009
  };
@@ -2326,6 +2326,8 @@ angular.module('niceElements')
2326
2326
  list: '=', // List of options
2327
2327
  onChange: '&?',
2328
2328
  onSelect: '&?', // Like onChange but always return objects
2329
+ onClose: '&?',
2330
+ onOpen: '&?',
2329
2331
  isDisabled: '=',
2330
2332
  fieldWidth: '@',
2331
2333
  labelWidth: '@',
@@ -2431,6 +2433,7 @@ angular.module('niceElements')
2431
2433
 
2432
2434
  $scope.close = function () {
2433
2435
  $scope.isOpen = false;
2436
+ if ($scope.onClose) $scope.onClose();
2434
2437
  };
2435
2438
 
2436
2439
  $scope.open = function () {
@@ -2438,6 +2441,7 @@ angular.module('niceElements')
2438
2441
  if ($scope.filterFunction) $scope.internalList = $scope.filterFunction($scope.originalList);
2439
2442
  $timeout(function () {
2440
2443
  $scope.isOpen = true;
2444
+ if ($scope.onOpen) $scope.onOpen();
2441
2445
  $timeout(function () {
2442
2446
  $scope.popper.update();
2443
2447
  });
@@ -2586,6 +2590,28 @@ angular.module('niceElements')
2586
2590
  };
2587
2591
 
2588
2592
 
2593
+ // ----------------------------------- Select all -----------------------------------
2594
+ $scope.selectAll = function () {
2595
+ if (!$scope.multiple) return;
2596
+ $scope.selected = $scope.internalList;
2597
+ angular.forEach($scope.internalList, function (o) {
2598
+ o._selected = true;
2599
+ });
2600
+ $scope.handleSetModel();
2601
+ }
2602
+
2603
+
2604
+ // ----------------------------------- Select none -----------------------------------
2605
+ $scope.selectNone = function () {
2606
+ if (!$scope.multiple) return;
2607
+ $scope.selected = [];
2608
+ angular.forEach($scope.internalList, function (o) {
2609
+ o._selected = false;
2610
+ });
2611
+ $scope.handleSetModel();
2612
+ }
2613
+
2614
+
2589
2615
  // ----------------------------------- Handle single slect -----------------------------------
2590
2616
  $scope.handleSingleSelect = function (item, index) {
2591
2617
  $scope.selected = item;
@@ -3653,25 +3679,25 @@ angular.module('niceElements')
3653
3679
  };
3654
3680
  });
3655
3681
 
3656
- 'use strict';
3657
-
3658
- /**
3659
- * @ngdoc directive
3660
- * @name niceElements.directive:niceIcon
3661
- * @description
3662
- * # niceIcon
3663
- */
3664
- angular.module('niceElements')
3665
- .directive('niceIcon', function () {
3666
- return {
3667
- templateUrl: 'src/components/nice-icon/nice-icon.html',
3668
- restrict: 'E',
3669
- replace: true,
3670
- scope: {
3671
- icon: '@',
3672
- size: '=',
3673
- },
3674
- };
3682
+ 'use strict';
3683
+
3684
+ /**
3685
+ * @ngdoc directive
3686
+ * @name niceElements.directive:niceIcon
3687
+ * @description
3688
+ * # niceIcon
3689
+ */
3690
+ angular.module('niceElements')
3691
+ .directive('niceIcon', function () {
3692
+ return {
3693
+ templateUrl: 'src/components/nice-icon/nice-icon.html',
3694
+ restrict: 'E',
3695
+ replace: true,
3696
+ scope: {
3697
+ icon: '@',
3698
+ size: '=',
3699
+ },
3700
+ };
3675
3701
  });
3676
3702
  angular.module('niceElements')
3677
3703
  .directive('niceInput', function () {
@@ -3968,42 +3994,42 @@ angular.module('niceElements')
3968
3994
 
3969
3995
  var messageElements = [];
3970
3996
 
3971
- var notify = function(args, t){
3997
+ var notify = function (args, t) {
3972
3998
 
3973
- if (typeof args !== 'object'){
3974
- args = {message:args};
3999
+ if (typeof args !== 'object') {
4000
+ args = { message: args };
3975
4001
  }
3976
4002
 
3977
4003
  args.template = args.template ? args.template : 'src/components/nice-notification/nice-notification.html';
3978
4004
  args.delay = !angular.isUndefined(args.delay) ? args.delay : delay;
3979
4005
  args.type = t ? t : '';
3980
4006
 
3981
- $http.get(args.template,{cache: $templateCache}).success(function(template) {
4007
+ $http.get(args.template, { cache: $templateCache }).success(function (template) {
3982
4008
 
3983
4009
  var scope = $rootScope.$new();
3984
4010
  scope.message = $sce.trustAsHtml(args.message);
3985
4011
  scope.title = $sce.trustAsHtml(args.title);
3986
- scope.t = args.type.substr(0,1);
4012
+ scope.t = args.type.substr(0, 1);
3987
4013
  scope.delay = args.delay;
3988
4014
 
3989
- if (typeof args.scope === 'object'){
3990
- for (var key in args.scope){
4015
+ if (typeof args.scope === 'object') {
4016
+ for (var key in args.scope) {
3991
4017
  scope[key] = args.scope[key];
3992
4018
  }
3993
4019
  }
3994
4020
 
3995
- var reposite = function() {
4021
+ var reposite = function () {
3996
4022
  var j = 0;
3997
4023
  var k = 0;
3998
4024
  var lastTop = startTop;
3999
4025
  var lastRight = startRight;
4000
- for(var i = messageElements.length - 1; i >= 0; i --) {
4026
+ for (var i = messageElements.length - 1; i >= 0; i--) {
4001
4027
  var element = messageElements[i];
4002
4028
  var elHeight = parseInt(element[0].offsetHeight);
4003
4029
  var elWidth = parseInt(element[0].offsetWidth);
4004
4030
  if ((top + elHeight) > window.innerHeight) {
4005
4031
  lastTop = startTop;
4006
- k ++;
4032
+ k++;
4007
4033
  j = 0;
4008
4034
  }
4009
4035
  var top = lastTop + (j === 0 ? 0 : verticalSpacing);
@@ -4013,22 +4039,22 @@ angular.module('niceElements')
4013
4039
  element.css('right', right + 'px');
4014
4040
 
4015
4041
  lastTop = top + elHeight;
4016
- j ++;
4042
+ j++;
4017
4043
  }
4018
4044
  };
4019
4045
 
4020
4046
  var templateElement = $compile(template)(scope);
4021
4047
  templateElement.addClass(args.type);
4022
- templateElement.bind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd click', function(e){
4048
+ templateElement.bind('transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd click', function (e) {
4023
4049
  e = e.originalEvent || e;
4024
- if (e.type === 'click' || (e.propertyName === 'opacity' && e.elapsedTime >= 0.4)){
4050
+ if (e.type === 'click' || (e.propertyName === 'opacity' && e.elapsedTime >= 0.4)) {
4025
4051
  templateElement.remove();
4026
4052
  messageElements.splice(messageElements.indexOf(templateElement), 1);
4027
4053
  reposite();
4028
4054
  }
4029
4055
  });
4030
4056
 
4031
- $timeout(function() {
4057
+ $timeout(function () {
4032
4058
  templateElement.addClass('killed');
4033
4059
  templateElement.remove();
4034
4060
  messageElements.splice(messageElements.indexOf(templateElement), 1);
@@ -4040,34 +4066,34 @@ angular.module('niceElements')
4040
4066
 
4041
4067
  $timeout(reposite);
4042
4068
 
4043
- }).error(function(data){
4044
- throw new Error('Template ('+args.template+') could not be loaded. ' + data);
4069
+ }).error(function (data) {
4070
+ throw new Error('Template (' + args.template + ') could not be loaded. ' + data);
4045
4071
  });
4046
4072
 
4047
4073
  };
4048
4074
 
4049
- notify.config = function(args){
4050
- startTop = args.top ? args.top : startTop;
4051
- verticalSpacing = args.verticalSpacing ? args.verticalSpacing : verticalSpacing;
4075
+ notify.config = function (args) {
4076
+ startTop = args.top ? args.top : startTop;
4077
+ verticalSpacing = args.verticalSpacing ? args.verticalSpacing : verticalSpacing;
4052
4078
  };
4053
4079
 
4054
- notify.primary = function() {
4080
+ notify.primary = function () {
4055
4081
  this(args, '');
4056
4082
  };
4057
4083
 
4058
- notify.error = function(args) {
4084
+ notify.error = function (args) {
4059
4085
  this(args, 'error');
4060
4086
  };
4061
4087
 
4062
- notify.success = function(args) {
4088
+ notify.success = function (args) {
4063
4089
  this(args, 'success');
4064
4090
  };
4065
4091
 
4066
- notify.info = function(args) {
4092
+ notify.info = function (args) {
4067
4093
  this(args, 'info');
4068
4094
  };
4069
4095
 
4070
- notify.warning = function(args) {
4096
+ notify.warning = function (args) {
4071
4097
  this(args, 'warning');
4072
4098
  };
4073
4099
 
@@ -4498,7 +4524,7 @@ angular.module('niceElements')
4498
4524
  * # niceProgressBar
4499
4525
  */
4500
4526
  angular.module('niceElements')
4501
- .directive('niceProgressBar', function() {
4527
+ .directive('niceProgressBar', function () {
4502
4528
  return {
4503
4529
  restrict: 'E',
4504
4530
  replace: true,
@@ -4513,29 +4539,29 @@ angular.module('niceElements')
4513
4539
  help: '@'
4514
4540
  },
4515
4541
 
4516
- controller: function($scope, $element, $timeout) {
4542
+ controller: function ($scope, $element, $timeout) {
4517
4543
  $scope.width = 0;
4518
- $scope.resize = function(){
4519
- $timeout(function() {
4544
+ $scope.resize = function () {
4545
+ $timeout(function () {
4520
4546
  $scope.width = $element[0].getElementsByClassName("progress")[0].offsetWidth;
4521
- },100);
4547
+ }, 100);
4522
4548
  };
4523
- window.onresize = function() {
4549
+ window.onresize = function () {
4524
4550
  $scope.resize();
4525
4551
  };
4526
4552
  $scope.resize();
4527
4553
 
4528
-
4529
4554
 
4530
- $scope.$watch("value", function(valueNew, valueOld){
4555
+
4556
+ $scope.$watch("value", function (valueNew, valueOld) {
4531
4557
  $scope.calculate();
4532
4558
  });
4533
4559
 
4534
- $scope.$watch("max", function(valueNew, valueOld){
4560
+ $scope.$watch("max", function (valueNew, valueOld) {
4535
4561
  $scope.calculate();
4536
4562
  });
4537
4563
 
4538
- $scope.calculate = function(){
4564
+ $scope.calculate = function () {
4539
4565
  $scope.percentage = ($scope.value / $scope.max) * 100;
4540
4566
  };
4541
4567
 
@@ -5007,6 +5033,11 @@ angular.module('niceElements')
5007
5033
  }
5008
5034
  };
5009
5035
 
5036
+ // ------------------------ Button clicked ------------------------
5037
+ $scope.buttonClicked = function () {
5038
+ if (!$scope.loading && $scope.model != '') $scope.clear();
5039
+ if (!$scope.loading && $scope.model == '') $scope.onFocus();
5040
+ }
5010
5041
 
5011
5042
  // ------------------------ If search button is clicked set focus or make request ------------------------
5012
5043
  $scope.search = function () {
@@ -5022,6 +5053,7 @@ angular.module('niceElements')
5022
5053
  // ------------------------ Clear search ------------------------
5023
5054
  $scope.clear = function () {
5024
5055
  $scope.model = "";
5056
+ if ($scope.onChange) $scope.onChange({ model: $scope.model });
5025
5057
  };
5026
5058
 
5027
5059
 
@@ -5360,7 +5392,8 @@ angular.module('niceElements')
5360
5392
  callbackUrl: '=',
5361
5393
  isDisabled: '=',
5362
5394
  isInline: '=',
5363
- help: '@'
5395
+ help: '@',
5396
+ maxFileSize: '@'
5364
5397
  },
5365
5398
 
5366
5399
  link: function (scope, element, attrs) {
@@ -5368,8 +5401,8 @@ angular.module('niceElements')
5368
5401
  if (!attrs.text) { attrs.text = gettextCatalog.getString('Click to upload file', null, 'Nice'); }
5369
5402
  if (!attrs.fieldWidth) { attrs.fieldWidth = 'col-sm-8'; }
5370
5403
  if (!attrs.labelWidth) { attrs.labelWidth = 'col-sm-4'; }
5404
+ if (!attrs.maxFileSize) scope.maxFileSize = 1; // 1MB
5371
5405
  attrs.noMargin = angular.isDefined(attrs.noMargin);
5372
- var maxImageSize = 1000000; // 1MB
5373
5406
 
5374
5407
  scope.startDragging = function () { $timeout(function () { scope.dragging = true; }); }
5375
5408
  scope.endDragging = function () { $timeout(function () { scope.dragging = false; }); }
@@ -5419,9 +5452,9 @@ angular.module('niceElements')
5419
5452
 
5420
5453
  reader.onload = function (event) {
5421
5454
  $timeout(function () {
5422
- // file size must be smaller than 1MB.
5423
- if (fileSize > maxImageSize) {
5424
- scope.error = gettextCatalog.getString("File must be smaller than 1MB", null, "Nice");
5455
+ // file size must be smaller than XMB.
5456
+ if (fileSize > (scope.maxFileSize * 1000000)) {
5457
+ scope.error = gettextCatalog.getString("File must be smaller than {{size}}MB", { size: scope.maxFileSize }, "Nice");
5425
5458
  scope.loading = false;
5426
5459
  scope.imageSource = null;
5427
5460
  return;
@@ -5561,24 +5594,24 @@ angular.module('niceElements')
5561
5594
  isInline: '=',
5562
5595
  help: '@'
5563
5596
  },
5564
- controller: function($scope, gettextCatalog) {
5597
+ controller: function ($scope, gettextCatalog) {
5565
5598
  if (!$scope.yes) { $scope.yes = gettextCatalog.getString('Yes', null, "Nice"); }
5566
5599
  if (!$scope.no) { $scope.no = gettextCatalog.getString('No', null, "Nice"); }
5567
5600
  if (!$scope.title) { $scope.title = ''; }
5568
5601
  if (!$scope.fieldWidth) { $scope.fieldWidth = 'col-sm-8'; }
5569
5602
  if (!$scope.labelWidth) { $scope.labelWidth = 'col-sm-4'; }
5570
- if(!angular.isDefined($scope.model) && !angular.isDefined($scope.options)) $scope.model = !angular.isDefined($scope.defaultFalse);
5571
- if(!angular.isDefined($scope.modelValue) && angular.isDefined($scope.options)) $scope.modelValue = $scope.options[0];
5603
+ if (!angular.isDefined($scope.model) && !angular.isDefined($scope.options)) $scope.model = !angular.isDefined($scope.defaultFalse);
5604
+ if (!angular.isDefined($scope.modelValue) && angular.isDefined($scope.options)) $scope.modelValue = $scope.options[0];
5572
5605
 
5573
5606
  $scope.defaultFalse = angular.isDefined($scope.defaultFalse);
5574
5607
  $scope.noMargin = angular.isDefined($scope.noMargin);
5575
5608
 
5576
5609
  $scope.buttonClass = "";
5577
-
5610
+
5578
5611
 
5579
5612
  // ------------------------- Set overlay button position based on passed state in $scope.model -------------------------
5580
- $scope.setButtonPosition = function(state) {
5581
- if(state) {
5613
+ $scope.setButtonPosition = function (state) {
5614
+ if (state) {
5582
5615
  $scope.buttonClass = "yesno-button-yes";
5583
5616
  } else {
5584
5617
  $scope.buttonClass = "yesno-button-no";
@@ -5586,48 +5619,48 @@ angular.module('niceElements')
5586
5619
  };
5587
5620
 
5588
5621
  // ------------------------- Watch for changes from outside -------------------------
5589
- $scope.$watch('model', function(value_new, value_old){
5590
- if(angular.isDefined($scope.model)){
5622
+ $scope.$watch('model', function (value_new, value_old) {
5623
+ if (angular.isDefined($scope.model)) {
5591
5624
  $scope.setButtonLabel($scope.model);
5592
5625
  $scope.setButtonPosition($scope.model);
5593
5626
  }
5594
5627
  });
5595
5628
 
5596
5629
  // ------------------------- Watch for model value -------------------------
5597
- $scope.$watch('modelValue', function(value_new, value_old){
5598
- if($scope.options){
5630
+ $scope.$watch('modelValue', function (value_new, value_old) {
5631
+ if ($scope.options) {
5599
5632
  $scope.model = $scope.modelValue == $scope.options[0];
5600
5633
  }
5601
5634
  });
5602
5635
 
5603
5636
  // ------------------------- Set button label -------------------------
5604
- $scope.setButtonLabel = function(state){
5637
+ $scope.setButtonLabel = function (state) {
5605
5638
  if (state) {
5606
5639
  $scope.state = $scope.yes;
5607
5640
  } else {
5608
5641
  $scope.state = $scope.no;
5609
5642
  }
5610
5643
  };
5611
-
5644
+
5612
5645
  // ------------------------- Set width -------------------------
5613
- $scope.setWidth = function(width, el){
5646
+ $scope.setWidth = function (width, el) {
5614
5647
  el.style.width = width;
5615
5648
  };
5616
-
5649
+
5617
5650
 
5618
5651
  // ------------------------- Switch -------------------------
5619
- $scope.switch = function(){
5620
- if(!$scope.isDisabled){
5652
+ $scope.switch = function () {
5653
+ if (!$scope.isDisabled) {
5621
5654
  $scope.model = !$scope.model;
5622
-
5623
- if($scope.options){
5624
- if($scope.model){
5655
+
5656
+ if ($scope.options) {
5657
+ if ($scope.model) {
5625
5658
  $scope.modelValue = $scope.options[0];
5626
5659
  } else {
5627
5660
  $scope.modelValue = $scope.options[1];
5628
5661
  }
5629
5662
  }
5630
-
5663
+
5631
5664
  if ($scope.onChange) $scope.onChange({ model: $scope.model });
5632
5665
  $scope.formYesno.$setDirty();
5633
5666
  }
@@ -5689,7 +5722,7 @@ angular.module('niceElements')
5689
5722
  .service('NiceService', function () {
5690
5723
  var service = {
5691
5724
  name: "Nice elements",
5692
- version: "1.9.2",
5725
+ version: "1.9.4",
5693
5726
  getHeader: function () {
5694
5727
  return {};
5695
5728
  }
@@ -5765,7 +5798,7 @@ angular.module('niceElements')
5765
5798
  };
5766
5799
  });
5767
5800
 
5768
- angular.module('niceElements').run(['$templateCache', function($templateCache) {
5801
+ angular.module('niceElements').run(['$templateCache', function ($templateCache) {
5769
5802
  'use strict';
5770
5803
 
5771
5804
  $templateCache.put('src/components/nice-button-toggle/nice-button-toggle.html',
@@ -5922,12 +5955,14 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
5922
5955
  "<input type=\"text\" class=\"form-control\" ng-model=\"modelDate\" ng-blur=\"dateBlur($event)\" ng-disabled=\"isDisabled\">\n" +
5923
5956
  "<nice-popup placement=\"bottom\">\n" +
5924
5957
  "<nice-popup-target>\n" +
5925
- "<button class=\"input-group-addon btn btn-default\" type=\"button\" tabindex=\"-1\">\n" +
5958
+ "<span class=\"input-group-btn\">\n" +
5959
+ "<button class=\"btn btn-default btn-right\" type=\"button\" tabindex=\"-1\" ng-disabled=\"isDisabled\">\n" +
5926
5960
  "<nice-icon icon=\"icon-calendar\"></nice-icon>\n" +
5927
5961
  "</button>\n" +
5962
+ "</span>\n" +
5928
5963
  "</nice-popup-target>\n" +
5929
5964
  "<nice-popup-content>\n" +
5930
- "<nice-date is-inline=\"true\" inline=\"true\" model=\"inner.dateModel\" on-change=\"dateChanged()\" no-margin=\"true\"></nice-date>\n" +
5965
+ "<nice-date is-inline=\"true\" inline=\"true\" model=\"inner.dateModel\" on-change=\"dateChanged()\" no-margin=\"true\" is-disabled=\"isDisabled\"></nice-date>\n" +
5931
5966
  "</nice-popup-content>\n" +
5932
5967
  "</nice-popup>\n" +
5933
5968
  "</div>\n" +
@@ -5935,12 +5970,14 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
5935
5970
  "<input type=\"text\" class=\"form-control\" ng-model=\"modelTime\" ng-blur=\"timeBlur($event)\" ng-disabled=\"isDisabled\">\n" +
5936
5971
  "<nice-popup placement=\"bottom\">\n" +
5937
5972
  "<nice-popup-target>\n" +
5938
- "<button class=\"input-group-addon btn btn-default\" type=\"button\" tabindex=\"-1\">\n" +
5973
+ "<span class=\"input-group-btn\">\n" +
5974
+ "<button class=\"btn btn-default btn-right\" type=\"button\" tabindex=\"-1\" ng-disabled=\"isDisabled\">\n" +
5939
5975
  "<nice-icon icon=\"icon-clock\"></nice-icon>\n" +
5940
5976
  "</button>\n" +
5977
+ "</span>\n" +
5941
5978
  "</nice-popup-target>\n" +
5942
5979
  "<nice-popup-content>\n" +
5943
- "<nice-date is-inline=\"true\" inline=\"true\" model=\"inner.timeModel\" on-change=\"timeChanged()\" time=\"true\" date=\"false\" no-margin=\"true\"></nice-date>\n" +
5980
+ "<nice-date is-inline=\"true\" inline=\"true\" model=\"inner.timeModel\" on-change=\"timeChanged()\" time=\"true\" date=\"false\" no-margin=\"true\" is-disabled=\"isDisabled\"></nice-date>\n" +
5944
5981
  "</nice-popup-content>\n" +
5945
5982
  "</nice-popup>\n" +
5946
5983
  "</div>\n" +
@@ -5976,8 +6013,10 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
5976
6013
  "<div class=\"disabled-shield\" ng-if=\"isDisabled\"></div>\n" +
5977
6014
  "<div class=\"nice-date-button input-group\" ng-class=\"{ 'open': isOpen }\" ng-show=\"!inline\" ng-click=\"toggleOpen()\">\n" +
5978
6015
  "<input type=\"text\" class=\"form-control\" value=\"{{ model | niceDate:time }}\" readonly=\"readonly\" ng-disabled=\"isDisabled\">\n" +
5979
- "<span class=\"input-group-addon clickable\">\n" +
6016
+ "<span class=\"input-group-btn\">\n" +
6017
+ "<button class=\"btn btn-default btn-right\" ng-disabled=\"isDisabled\">\n" +
5980
6018
  "<nice-icon icon=\"icon-calendar\"></nice-icon>\n" +
6019
+ "</button>\n" +
5981
6020
  "</span>\n" +
5982
6021
  "</div>\n" +
5983
6022
  "<div ng-class=\"{ 'nice-date-dropdown-wrapper': !inline }\">\n" +
@@ -6037,9 +6076,11 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6037
6076
  "<div ng-form=\"formDatetimePicker\"></div>\n" +
6038
6077
  "<div class=\"input-group\" id=\"dropdown{{randNum}}\">\n" +
6039
6078
  "<input type=\"text\" class=\"form-control\" value=\"{{ value }}\" ng-click=\"openDtp()\" ng-disabled=\"isDisabled\">\n" +
6040
- "<span class=\"input-group-addon clickable\" ng-click=\"openDtp()\">\n" +
6079
+ "<span class=\"input-group-btn\">\n" +
6080
+ "<button class=\"btn btn-default\" ng-click=\"openDtp()\">\n" +
6041
6081
  "<nice-icon ng-if=\"date == 'true'\" icon=\"icon-calendar\"></nice-icon>\n" +
6042
6082
  "<nice-icon ng-if=\"date != 'true'\" icon=\"icon-clock\"></nice-icon>\n" +
6083
+ "</button>\n" +
6043
6084
  "</span>\n" +
6044
6085
  "</div>\n" +
6045
6086
  "<div ng-show=\"isOpen\">\n" +
@@ -6059,9 +6100,9 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6059
6100
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
6060
6101
  "<div class=\"nice-daterange-picker-button input-group\" ng-class=\"{ 'open': isOpen }\" ng-click=\"open()\">\n" +
6061
6102
  "<input type=\"text\" class=\"form-control\" value=\"{{ modelFormat }}\" readonly=\"readonly\" ng-disabled=\"isDisabled\">\n" +
6062
- "<span class=\"input-group-addon clickable\">\n" +
6103
+ "<button class=\"btn input-group-addon\" ng-disabled=\"isDisabled\">\n" +
6063
6104
  "<nice-icon icon=\"icon-calendar\"></nice-icon>\n" +
6064
- "</span>\n" +
6105
+ "</button>\n" +
6065
6106
  "</div>\n" +
6066
6107
  "<div class=\"nice-daterange-picker-wrapper\">\n" +
6067
6108
  "<div class=\"dtp-wrapper\" ng-if=\"isOpen\">\n" +
@@ -6102,9 +6143,11 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6102
6143
  "<div class=\"dropdown-toggle\" id=\"dropdown{{randNum}}\" role=\"button\" ng-click=\"openDtpRange()\">\n" +
6103
6144
  "<div class=\"input-group\">\n" +
6104
6145
  "<input type=\"text\" class=\"form-control\" value=\"{{value}}\" ng-disabled=\"isDisabled\" ng-click=\"openDtpRange()\">\n" +
6105
- "<span class=\"input-group-addon clickable\">\n" +
6146
+ "<span class=\"input-group-btn\">\n" +
6147
+ "<button class=\"btn btn-default btn-right\" ng-disabled=\"isDisabled\">\n" +
6106
6148
  "<nice-icon ng-if=\"date != 'false'\" icon=\"icon-calendar\"></nice-icon>\n" +
6107
6149
  "<nice-icon ng-if=\"date == 'false'\" icon=\"icon-clock\"></nice-icon>\n" +
6150
+ "</button>\n" +
6108
6151
  "</span>\n" +
6109
6152
  "</div>\n" +
6110
6153
  "</div>\n" +
@@ -6228,19 +6271,23 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6228
6271
  "<nice-icon ng-if=\"!internal.search\" class=\"icon\" icon=\"icon-search\"></nice-icon>\n" +
6229
6272
  "<nice-icon ng-if=\"internal.search\" class=\"icon\" icon=\"icon-x\" ng-click=\"clearSearch()\"></nice-icon>\n" +
6230
6273
  "</div>\n" +
6274
+ "<div class=\"nice-dropdown-actions\" ng-if=\"multiple\">\n" +
6275
+ "<button class=\"btn btn-default btn-sm\" ng-click=\"selectAll()\" translate translate-context=\"Nice\">All</button>\n" +
6276
+ "<button class=\"btn btn-default btn-sm\" ng-click=\"selectNone()\" translate translate-context=\"Nice\">None</button>\n" +
6277
+ "</div>\n" +
6231
6278
  "<div class=\"nice-dropdown-items\" aria-labelledby=\"nice-dropdown-{{ id }}\" role=\"listbox\">\n" +
6232
6279
  "<div role=\"none\" class=\"nice-no-data\" ng-if=\"internalList && internalList.length == 0\">{{ noDataText }}</div>\n" +
6233
- "<button role=\"option\" class=\"nice-dropdown-item null-item\" ng-if=\"nullable && internalList.length != 0\" ng-click=\"handleSelected(null, -1)\">\n" +
6280
+ "<button role=\"option\" class=\"nice-dropdown-item null-item\" ng-if=\"nullable && internalList.length != 0\" ng-click=\"handleSelected(null, -1)\" ng-disabled=\"isDisabled\">\n" +
6234
6281
  "{{ nullableText }}\n" +
6235
6282
  "</button>\n" +
6236
- "<button role=\"option\" class=\"nice-dropdown-item\" ng-repeat=\"item in internalList\" ng-click=\"handleSelected(item, $index)\" ng-class=\"{ 'selected': item._selected }\">\n" +
6283
+ "<button role=\"option\" class=\"nice-dropdown-item\" ng-repeat=\"item in internalList\" ng-click=\"handleSelected(item, $index)\" ng-class=\"{ 'selected': item._selected }\" ng-disabled=\"isDisabled\">\n" +
6237
6284
  "<div class=\"choice-checkbox\" ng-if=\"multiple\" role=\"menuitemcheckbox\"><i class=\"fa fa-check\"></i></div>\n" +
6238
6285
  "<div class=\"choice-option\" ng-transclude=\"option\" ng-class=\"{ 'multiple-item': multiple }\">{{ item[objValue] }}</div>\n" +
6239
6286
  "</button>\n" +
6240
6287
  "</div>\n" +
6241
6288
  "</div>\n" +
6242
6289
  "</div>\n" +
6243
- "<button class=\"btn btn-primary btn-icon add-btn\" type=\"button\" ng-if=\"addButtonFunction && !isDisabled\" ng-click=\"addButtonFunction()\">\n" +
6290
+ "<button class=\"btn btn-primary btn-icon add-btn\" type=\"button\" ng-if=\"addButtonFunction && !isDisabled\" ng-click=\"addButtonFunction()\" ng-disabled=\"isDisabled\">\n" +
6244
6291
  "<nice-icon icon=\"icon-plus\"></nice-icon>\n" +
6245
6292
  "</button>\n" +
6246
6293
  "</div>\n" +
@@ -6534,13 +6581,17 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6534
6581
  "<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
6535
6582
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
6536
6583
  "<div class=\"input-group\">\n" +
6537
- "<button class=\"btn btn-default btn-left\" ng-click=\"sub()\" type=\"button\" ng-disabled=\"model <= min || isDisabled\" tabindex=\"-1\">\n" +
6584
+ "<span class=\"input-group-btn\">\n" +
6585
+ "<button class=\"btn btn-default btn-left\" ng-click=\"sub()\" type=\"button\" ng-disabled=\"(model <= min) || isDisabled\" tabindex=\"-1\">\n" +
6538
6586
  "<nice-icon icon=\"icon-minus\"></nice-icon>\n" +
6539
6587
  "</button>\n" +
6588
+ "</span>\n" +
6540
6589
  "<input class=\"value form-control\" ng-model=\"model\" type=\"number\" min=\"{{ min }}\" max=\"{{ max }}\" ng-change=\"handleChange()\" ng-disabled=\"isDisabled\">\n" +
6541
- "<button class=\"btn btn-default btn-right\" ng-click=\"add()\" type=\"button\" ng-disabled=\"model >= max || isDisabled\" tabindex=\"-1\">\n" +
6590
+ "<span class=\"input-group-btn\">\n" +
6591
+ "<button class=\"btn btn-default btn-right\" ng-click=\"add()\" type=\"button\" ng-disabled=\"(model >= max) || isDisabled\" tabindex=\"-1\">\n" +
6542
6592
  "<nice-icon icon=\"icon-plus\"></nice-icon>\n" +
6543
6593
  "</button>\n" +
6594
+ "</span>\n" +
6544
6595
  "</div>\n" +
6545
6596
  "</div>\n" +
6546
6597
  "</div>\n" +
@@ -6555,13 +6606,13 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6555
6606
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
6556
6607
  "<div class=\"input-group\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
6557
6608
  "<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" +
6558
- "<span class=\"input-group-addon clickable\" ng-click=\"search()\" ng-if=\"!model\">\n" +
6609
+ "<button class=\"btn input-group-addon\" ng-click=\"search()\" ng-if=\"!model\" ng-disabled=\"isDisabled\">\n" +
6559
6610
  "<nice-icon ng-show=\"!loading\" icon=\"icon-search\"></nice-icon>\n" +
6560
6611
  "<nice-loader ng-if=\"loading\"></nice-loader>\n" +
6561
- "</span>\n" +
6562
- "<span class=\"input-group-addon clickable\" ng-click=\"remove()\" ng-if=\"model\">\n" +
6612
+ "</button>\n" +
6613
+ "<button class=\"btn input-group-addon\" ng-click=\"remove()\" ng-if=\"model\" ng-disabled=\"isDisabled\">\n" +
6563
6614
  "<nice-icon ng-show=\"!loading\" icon=\"icon-x\"></nice-icon>\n" +
6564
- "</span>\n" +
6615
+ "</button>\n" +
6565
6616
  "</div>\n" +
6566
6617
  "</div>\n" +
6567
6618
  "</div>\n" +
@@ -6589,11 +6640,11 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
6589
6640
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\" click-outside=\"close()\">\n" +
6590
6641
  "<div class=\"nice-search-button input-group\" ng-class=\"{ 'disabled': isDisabled }\">\n" +
6591
6642
  "<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" +
6592
- "<span class=\"input-group-addon\">\n" +
6593
- "<nice-icon class=\"clickable\" ng-show=\"!loading && model != ''\" icon=\"icon-x\" ng-click=\"clear()\"></nice-icon>\n" +
6594
- "<nice-icon class=\"clickable\" ng-show=\"!loading && model == ''\" icon=\"icon-search\" ng-click=\"onFocus()\"></nice-icon>\n" +
6643
+ "<button class=\"btn input-group-addon\" ng-disabled=\"isDisabled\" ng-click=\"buttonClicked()\">\n" +
6644
+ "<nice-icon ng-show=\"!loading && model != ''\" icon=\"icon-x\"></nice-icon>\n" +
6645
+ "<nice-icon ng-show=\"!loading && model == ''\" icon=\"icon-search\"></nice-icon>\n" +
6595
6646
  "<nice-loader ng-if=\"loading\"></nice-loader>\n" +
6596
- "</span>\n" +
6647
+ "</button>\n" +
6597
6648
  "</div>\n" +
6598
6649
  "<div class=\"nice-search-dropdown-wrapper\">\n" +
6599
6650
  "<div class=\"nice-search-dropdown\" ng-if=\"showDropdown && isOpen\">\n" +
@@ -7556,7 +7607,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
7556
7607
  "<path d=\"M347.7 98c.8-.2 1.7-.2 2.6.3.3.1.6.3.8.6.4-.3.7-.6 1.2-.8a4 4 0 0 1 1.8-1c.9-.5 1.8-.8 2.7-.9h2.8c.8 0 1.6.2 2.3.6l2 1c.8.4 1.5.8 2.2 1a9.1 9.1 0 0 0 4.5.5c.4-.2.7.1.2.4-3.3 2-5.9.2-8.1-.6a16.2 16.2 0 0 1 2.1 1.7c.8.8 1.8 1.6 3.5 2.4a8.4 8.4 0 0 0 5 .7l.4.1-.1.5a4.8 4.8 0 0 1-2.6.7 10 10 0 0 1-5.2-1.3c-1.4-.7-2.3-1.6-3.3-2.4a7.5 7.5 0 0 0-3-1.4 6 6 0 0 0-2.9 0c.3.1.5.2.6.4.5.3 1 .4 2 .5.4 0 .2.3-.5.7a2 2 0 0 1-1.6.8c-1 .6-1.3.2-1.7-.2 0 .3 0 .5-.2.8a.6.6 0 0 1 0 .4l.2.7c0 .2 0 .3.2.4.2.2.3.4.3.7 0 .2.1.3.3.4l.6.6c.6.2.8.7 1 1.2.4.2.6.5.7.9.2 0 .4.2.6.4l2.6.1c.8.1 1.4.6 2 1.2h1.2a4 4 0 0 1 1.3-.3h2.3c.5.2.9.4 1.2.8.5.5 1.2.4 1.8.2a2.7 2.7 0 0 1 2.4 0 2.3 2.3 0 0 1 1-.2c.4-.3.7-.4 1-.4.6 0 1 0 .9.8 0 .2-.2.4-.3.4-.3.6-.7.7-1.3.7-.1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3a1 1 0 0 0 .2.7c.2.1.2.3.3.4v.4h-.1v-.4a.9.9 0 0 0-.2-.3 1 1 0 0 1-.2-.4 1.1 1.1 0 0 1-.1-.4zm2.2 1.5.2.7v.7c0 .3 0 .6.2.8l.6.7a2.9 2.9 0 0 1-.1-1l.3-1c.2 0 .2-.2.3-.3v-.4h.1v.4a1.5 1.5 0 0 1-.3.5 1.6 1.6 0 0 0-.3.9c0 .3 0 .6.2 1h-.1c-.4-.2-.6-.5-.8-.8a1.3 1.3 0 0 1-.2-.8v-.7a1.8 1.8 0 0 0-.2-.6c0-.1.1 0 .1 0zm-.9 1.4c0 .2 0 .5-.2.7a3.4 3.4 0 0 1-.4.6h.3a2.2 2.2 0 0 0 .7-.6l.3-.3c.1 0 0 0 0 0a3.6 3.6 0 0 1-.2.4 2.5 2.5 0 0 1-.3.2 24.5 24.5 0 0 1 0 .4v-.2a1.5 1.5 0 0 0-.1-.1 2.2 2.2 0 0 1-.4.2l-.4.2v-.1l.4-.7.2-.7h.1zm-1 0v.1h-.1c-.1 0 0 0 0 0v-.2z\"/>\n" +
@@ -7608,8 +7659,10 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
7608
7659
  " 'disabled': isDisabled\n" +
7609
7660
  " }\">\n" +
7610
7661
  "<input type=\"text\" class=\"form-control\" ng-model=\"modelString\" ng-keyup=\"$event.keyCode == 13 && validateDate()\" ng-blur=\"validateDate()\">\n" +
7611
- "<span class=\"input-group-addon clickable\" ng-click=\"open = !open\">\n" +
7662
+ "<span class=\"input-group-btn\">\n" +
7663
+ "<button class=\"btn btn-default btn-right\" ng-click=\"open = !open\">\n" +
7612
7664
  "<nice-icon icon=\"icon-clock\"></nice-icon>\n" +
7665
+ "</button>\n" +
7613
7666
  "</span>\n" +
7614
7667
  "</div>\n" +
7615
7668
  "<div class=\"nice-time-picker-dropdown\" ng-if=\"open\">\n" +
@@ -7701,8 +7754,8 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
7701
7754
  "<nice-title text=\"title\" help=\"help\" required=\"required\" label-width=\"labelWidth\"></nice-title>\n" +
7702
7755
  "<div class=\"nice-field col-xs-12\" ng-class=\"[fieldWidth ? fieldWidth : 'col-sm-8', { 'nice-disabled': isDisabled }]\">\n" +
7703
7756
  "<div class=\"yesno-wrapper noselect\">\n" +
7704
- "<button class=\"yesno-yes-bg\" ng-click=\"switch()\" tabindex=\"-1\" type=\"button\">{{ yes }}</button>\n" +
7705
- "<button class=\"yesno-no-bg\" ng-click=\"switch()\" tabindex=\"-1\" type=\"button\">{{ no }}</button>\n" +
7757
+ "<button class=\"yesno-yes-bg\" ng-click=\"switch()\" tabindex=\"-1\" type=\"button\" ng-disabled=\"isDisabled\">{{ yes }}</button>\n" +
7758
+ "<button class=\"yesno-no-bg\" ng-click=\"switch()\" tabindex=\"-1\" type=\"button\" ng-disabled=\"isDisabled\">{{ no }}</button>\n" +
7706
7759
  "<button class=\"yesno-button btn btn-primary\" ng-class=\"buttonClass\" ng-click=\"switch()\" ng-disabled=\"isDisabled\" type=\"button\">{{ state }}</button>\n" +
7707
7760
  "</div>\n" +
7708
7761
  "</div>\n" +