nice-elements 1.9.13 → 1.9.15

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 +396 -386
  3. package/LICENSE.md +21 -21
  4. package/README.md +93 -93
  5. package/bower.json +10 -18
  6. package/dist/nice.js +7967 -7906
  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 +244 -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,80 +1,80 @@
1
- .nice-search2 {
2
- position: relative;
3
-
4
- i.ng-hide {
5
- animation: none;
6
- }
7
-
8
- .symbol {
9
- input{
10
- text-align: left;
11
- }
12
- .form-control{
13
- padding-left: 12px;
14
- }
15
- }
16
-
17
- .nice-search-dropdown-wrapper {
18
- z-index: 999;
19
- }
20
-
21
- .nice-search-dropdown {
22
- max-height: 300px;
23
- background-color: white;
24
- border-radius: $nice-border-radius;
25
- border: 1px solid $nice-border-color;
26
- overflow-x: auto;
27
- box-shadow: $nice-box-shadow;
28
-
29
- .nice-search-row {
30
- padding: 10px 15px;
31
- z-index: 1000;
32
- width: 100%;
33
-
34
- &:hover {
35
- //color: white !important;
36
- //background-color: $nice-base-color !important;
37
- background-color: $nice-hover-color;
38
- cursor: pointer;
39
- }
40
-
41
- &.active{
42
- // color: white;
43
- background-color: $nice-hover-color;
44
- cursor: pointer;
45
-
46
- // p{color:white;}
47
- }
48
- }
49
-
50
- .nice-search-row-empty {
51
- opacity: 0.4;
52
- }
53
-
54
- .nice-search-row-loading {
55
- padding: 8px;
56
-
57
- .nice-loader {
58
- padding: 0;
59
- height: 25px;
60
-
61
- svg {
62
- height: 25px;
63
- width: 25px;
64
- }
65
- }
66
- }
67
-
68
- &:hover {
69
- .active {
70
- color: $text-color;
71
- background-color: transparent;
72
-
73
- &:hover {
74
- background-color: $nice-hover-color;
75
- cursor: pointer;
76
- }
77
- }
78
- }
79
- }
80
- }
1
+ .nice-search2 {
2
+ position: relative;
3
+
4
+ i.ng-hide {
5
+ animation: none;
6
+ }
7
+
8
+ .symbol {
9
+ input{
10
+ text-align: left;
11
+ }
12
+ .form-control{
13
+ padding-left: 12px;
14
+ }
15
+ }
16
+
17
+ .nice-search-dropdown-wrapper {
18
+ z-index: 999;
19
+ }
20
+
21
+ .nice-search-dropdown {
22
+ max-height: 300px;
23
+ background-color: white;
24
+ border-radius: $nice-border-radius;
25
+ border: 1px solid $nice-border-color;
26
+ overflow-x: auto;
27
+ box-shadow: $nice-box-shadow;
28
+
29
+ .nice-search-row {
30
+ padding: 10px 15px;
31
+ z-index: 1000;
32
+ width: 100%;
33
+
34
+ &:hover {
35
+ //color: white !important;
36
+ //background-color: $nice-base-color !important;
37
+ background-color: $nice-hover-color;
38
+ cursor: pointer;
39
+ }
40
+
41
+ &.active{
42
+ // color: white;
43
+ background-color: $nice-hover-color;
44
+ cursor: pointer;
45
+
46
+ // p{color:white;}
47
+ }
48
+ }
49
+
50
+ .nice-search-row-empty {
51
+ opacity: 0.4;
52
+ }
53
+
54
+ .nice-search-row-loading {
55
+ padding: 8px;
56
+
57
+ .nice-loader {
58
+ padding: 0;
59
+ height: 25px;
60
+
61
+ svg {
62
+ height: 25px;
63
+ width: 25px;
64
+ }
65
+ }
66
+ }
67
+
68
+ &:hover {
69
+ .active {
70
+ color: $text-color;
71
+ background-color: transparent;
72
+
73
+ &:hover {
74
+ background-color: $nice-hover-color;
75
+ cursor: pointer;
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
@@ -1,11 +1,11 @@
1
- <div class="nice-component nice-slot" 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="fieldWidth ? fieldWidth : 'col-xs-8'">
8
- <ng-transclude></ng-transclude>
9
- </div>
10
- </div>
1
+ <div class="nice-component nice-slot" 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="fieldWidth ? fieldWidth : 'col-xs-8'">
8
+ <ng-transclude></ng-transclude>
9
+ </div>
10
+ </div>
11
11
  </div>
@@ -1,29 +1,29 @@
1
- 'use strict';
2
-
3
- /**
4
- * @ngdoc directive
5
- * @name niceElements.directive:niceSlot
6
- * @description
7
- * # niceSlot
8
- */
9
- angular.module('niceElements')
10
- .directive('niceSlot', function () {
11
- return {
12
- templateUrl: 'src/components/nice-slot/nice-slot.html',
13
- restrict: 'E',
14
- transclude: true,
15
- scope: {
16
- fieldWidth: '@',
17
- labelWidth: '@',
18
- title: '@',
19
- noMargin: '@',
20
- isInline: '=',
21
- help: '@'
22
- },
23
- link: function postLink(scope, element, attrs) {
24
- if (!attrs.fieldWidth) { attrs.fieldWidth = 'col-sm-8'; }
25
- if (!attrs.labelWidth) { attrs.labelWidth = 'col-sm-4'; }
26
- if (!attrs.title) { attrs.title = ' '; }
27
- }
28
- };
29
- });
1
+ 'use strict';
2
+
3
+ /**
4
+ * @ngdoc directive
5
+ * @name niceElements.directive:niceSlot
6
+ * @description
7
+ * # niceSlot
8
+ */
9
+ angular.module('niceElements')
10
+ .directive('niceSlot', function () {
11
+ return {
12
+ templateUrl: 'src/components/nice-slot/nice-slot.html',
13
+ restrict: 'E',
14
+ transclude: true,
15
+ scope: {
16
+ fieldWidth: '@',
17
+ labelWidth: '@',
18
+ title: '@',
19
+ noMargin: '@',
20
+ isInline: '=',
21
+ help: '@'
22
+ },
23
+ link: function postLink(scope, element, attrs) {
24
+ if (!attrs.fieldWidth) { attrs.fieldWidth = 'col-sm-8'; }
25
+ if (!attrs.labelWidth) { attrs.labelWidth = 'col-sm-4'; }
26
+ if (!attrs.title) { attrs.title = ' '; }
27
+ }
28
+ };
29
+ });
@@ -1,82 +1,82 @@
1
- .nice-steps{
2
- font-size: $font-size-small;
3
- color: $nice-base-color;
4
- margin-top: -30px;
5
- padding-bottom: 10px;
6
- padding-top: 45px;
7
- margin-bottom: 25px;
8
- background-color: $nice-submenu-bg-color;
9
-
10
- ul{
11
- position: relative;
12
- }
13
-
14
- .progress-step{
15
- position: relative;
16
- display: block;
17
- text-align: center;
18
- //cursor: pointer;
19
-
20
- label{
21
- //cursor: pointer;
22
- color: $nice-submenu-gray-color;
23
- }
24
-
25
- .circle{
26
- position: absolute;
27
- top: -20px;
28
- left: 50%;
29
- margin-left: -9px;
30
- width: 18px;
31
- height: 18px;
32
- background: $nice-submenu-gray-color;
33
- display: block;
34
- content: "";
35
- z-index: 2;
36
- border-radius: 100px;
37
- border: 3px solid $nice-submenu-gray-color;
38
- }
39
- }
40
-
41
- // This is used for drawing vertical line
42
- .progress-step::before{
43
- content: '';
44
- position: absolute;
45
- top: -12px;
46
- left: -50%;
47
- width: 100%;
48
- height: 3px;
49
- background: $nice-submenu-gray-color;
50
- z-index: 1;
51
- }
52
-
53
- // Line is left from circle, so remove first line
54
- .progress-step:first-child::before {
55
- display: none;
56
- }
57
-
58
- // Styling of active elements (circle, line and text)
59
- .active{
60
- .circle {
61
- background: $nice-base-color;
62
- border-color: $nice-base-color;
63
- }
64
- &.progress-step::before{
65
- background: $nice-base-color;
66
- }
67
- label{
68
- color: $nice-base-color;
69
- }
70
- }
71
-
72
- // Current element has white color inside the circle
73
- .current{
74
- .circle {
75
- background-color: $nice-submenu-bg-color;
76
- }
77
- }
78
-
79
- .progress{
80
- margin-left: 50px;
81
- }
1
+ .nice-steps{
2
+ font-size: $font-size-small;
3
+ color: $nice-base-color;
4
+ margin-top: -30px;
5
+ padding-bottom: 10px;
6
+ padding-top: 45px;
7
+ margin-bottom: 25px;
8
+ background-color: $nice-submenu-bg-color;
9
+
10
+ ul{
11
+ position: relative;
12
+ }
13
+
14
+ .progress-step{
15
+ position: relative;
16
+ display: block;
17
+ text-align: center;
18
+ //cursor: pointer;
19
+
20
+ label{
21
+ //cursor: pointer;
22
+ color: $nice-submenu-gray-color;
23
+ }
24
+
25
+ .circle{
26
+ position: absolute;
27
+ top: -20px;
28
+ left: 50%;
29
+ margin-left: -9px;
30
+ width: 18px;
31
+ height: 18px;
32
+ background: $nice-submenu-gray-color;
33
+ display: block;
34
+ content: "";
35
+ z-index: 2;
36
+ border-radius: 100px;
37
+ border: 3px solid $nice-submenu-gray-color;
38
+ }
39
+ }
40
+
41
+ // This is used for drawing vertical line
42
+ .progress-step::before{
43
+ content: '';
44
+ position: absolute;
45
+ top: -12px;
46
+ left: -50%;
47
+ width: 100%;
48
+ height: 3px;
49
+ background: $nice-submenu-gray-color;
50
+ z-index: 1;
51
+ }
52
+
53
+ // Line is left from circle, so remove first line
54
+ .progress-step:first-child::before {
55
+ display: none;
56
+ }
57
+
58
+ // Styling of active elements (circle, line and text)
59
+ .active{
60
+ .circle {
61
+ background: $nice-base-color;
62
+ border-color: $nice-base-color;
63
+ }
64
+ &.progress-step::before{
65
+ background: $nice-base-color;
66
+ }
67
+ label{
68
+ color: $nice-base-color;
69
+ }
70
+ }
71
+
72
+ // Current element has white color inside the circle
73
+ .current{
74
+ .circle {
75
+ background-color: $nice-submenu-bg-color;
76
+ }
77
+ }
78
+
79
+ .progress{
80
+ margin-left: 50px;
81
+ }
82
82
  }