nice-elements 1.14.0 → 1.15.0
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 +28 -0
- package/CLAUDE.md +89 -0
- package/README.md +3 -1
- package/bower.json +1 -1
- package/dist/nice.js +605 -93
- package/dist/nice.min.js +1 -1
- package/dist/style.css +216 -3
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +2 -2
- package/src/components/nice-alert/nice-alert.scss +5 -0
- package/src/components/nice-badges-list/nice-badges-list.html +13 -0
- package/src/components/nice-badges-list/nice-badges-list.js +135 -0
- package/src/components/nice-badges-list/nice-badges-list.scss +75 -0
- package/src/components/nice-checkbox/nice-checkbox.html +1 -1
- package/src/components/nice-date/nice-date.js +3 -1
- package/src/components/nice-date/nice-date.scss +1 -0
- package/src/components/nice-date-range/nice-date-range.js +7 -7
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +3 -3
- package/src/components/nice-datetime-picker/nice-datetime-picker.js +7 -2
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +2 -2
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +1 -0
- package/src/components/nice-dialog/nice-dialog.html +16 -0
- package/src/components/nice-dialog/nice-dialog.js +47 -0
- package/src/components/nice-dialog/nice-dialog.scss +126 -0
- package/src/components/nice-dropdown/nice-dropdown.html +3 -3
- package/src/components/nice-dropdown/nice-dropdown.js +9 -1
- package/src/components/nice-dropdown/nice-dropdown.scss +20 -0
- package/src/components/nice-dropdown-date/nice-dropdown-date.js +3 -1
- package/src/components/nice-input/nice-input.js +12 -8
- package/src/components/nice-input/nice-input.scss +1 -1
- package/src/components/nice-no-data/nice-no-data.js +3 -1
- package/src/components/nice-notification/nice-notification.scss +3 -1
- package/src/components/nice-number/nice-number.html +23 -9
- package/src/components/nice-number/nice-number.js +81 -12
- package/src/components/nice-percent/nice-percent.html +5 -5
- package/src/components/nice-percent/nice-percent.js +5 -3
- package/src/components/nice-popup/nice-popup.js +2 -2
- package/src/components/nice-search/nice-search.html +2 -4
- package/src/components/nice-search/nice-search.js +32 -6
- package/src/components/nice-svgs/nice-svgs.html +165 -20
- package/src/components/nice-table/nice-table.js +9 -4
- package/src/components/nice-toggle/nice-toggle.html +1 -1
- package/src/components/nice-toggle/nice-toggle.scss +15 -1
- package/src/components/nice-upload/nice-upload.html +1 -1
- package/src/components/nice-upload/nice-upload.scss +3 -0
- package/src/components/nice-view/_nice-view.scss +10 -1
- package/src/components/nice-view/nice-view.html +1 -0
- package/src/components/nice-wrapper/nice-wrapper.js +3 -1
- package/src/components/nice-yesno/nice-yesno.js +4 -2
- package/src/services/nice-service.js +16 -1
- package/src/styles/_nice.scss +2 -0
package/dist/nice.js
CHANGED
|
@@ -155,6 +155,142 @@ angular.module('niceElements')
|
|
|
155
155
|
};
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
+
'use strict';
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @ngdoc directive
|
|
162
|
+
* @name niceElements.directive:niceBadgesList
|
|
163
|
+
* @description
|
|
164
|
+
* # niceBadgesList
|
|
165
|
+
* Row of small badges that shows the first few items and collapses the rest into a "+X more" toggle.
|
|
166
|
+
* `label` is an expression with `item` in scope, e.g. `label="item.name"`; without it the item itself is shown.
|
|
167
|
+
*
|
|
168
|
+
* With `full-width="true"` the list fills the available width: when collapsed it stays on one line and shows
|
|
169
|
+
* as many badges as fit (the `limit` is ignored), expanding shows all badges on multiple lines.
|
|
170
|
+
*
|
|
171
|
+
* Usage:
|
|
172
|
+
* <nice-badges-list items="row.ticket_types" label="item.name" limit="3" badge-class="badge-color-1"></nice-badges-list>
|
|
173
|
+
* <nice-badges-list items="row.ticket_types" label="item.name" full-width="true"></nice-badges-list>
|
|
174
|
+
*/
|
|
175
|
+
angular.module('niceElements')
|
|
176
|
+
.directive('niceBadgesList', function ($timeout) {
|
|
177
|
+
return {
|
|
178
|
+
templateUrl: 'src/components/nice-badges-list/nice-badges-list.html',
|
|
179
|
+
restrict: 'E',
|
|
180
|
+
scope: {
|
|
181
|
+
items: '<',
|
|
182
|
+
label: '&?',
|
|
183
|
+
limit: '<?',
|
|
184
|
+
fullWidth: '<?',
|
|
185
|
+
badgeClass: '@?'
|
|
186
|
+
},
|
|
187
|
+
link: function (scope, element) {
|
|
188
|
+
scope.expanded = false;
|
|
189
|
+
scope.visibleCount = 0;
|
|
190
|
+
|
|
191
|
+
scope.getItemsLength = function () {
|
|
192
|
+
return scope.items ? scope.items.length : 0;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
scope.getLimit = function () {
|
|
196
|
+
if (scope.fullWidth) return scope.visibleCount;
|
|
197
|
+
return angular.isNumber(scope.limit) ? scope.limit : 3;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
scope.getHiddenCount = function () {
|
|
201
|
+
return Math.max(scope.getItemsLength() - scope.getLimit(), 0);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
scope.getLabel = function (item) {
|
|
205
|
+
return scope.label ? scope.label({ item: item }) : item;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
scope.toggle = function () {
|
|
209
|
+
scope.expanded = !scope.expanded;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
// ---------- Full width: fit as many badges as possible in one line ----------
|
|
214
|
+
|
|
215
|
+
// Measures all badges laid out in a single line and returns how many fit next to the "+X more" toggle
|
|
216
|
+
function measureVisibleCount() {
|
|
217
|
+
var container = element[0].querySelector('.nice-badges-list');
|
|
218
|
+
if (!container) return 0;
|
|
219
|
+
|
|
220
|
+
container.classList.add('nice-badges-list-measuring');
|
|
221
|
+
|
|
222
|
+
var badges = container.querySelectorAll('.nice-badge-item');
|
|
223
|
+
var more = container.querySelector('.nice-badge-more');
|
|
224
|
+
var available = container.clientWidth;
|
|
225
|
+
var gap = parseFloat(window.getComputedStyle(container).columnGap) || 0;
|
|
226
|
+
var moreWidth = more ? more.getBoundingClientRect().width + gap : 0;
|
|
227
|
+
|
|
228
|
+
var widths = [];
|
|
229
|
+
var total = 0;
|
|
230
|
+
for (var i = 0; i < badges.length; i++) {
|
|
231
|
+
widths.push(badges[i].getBoundingClientRect().width);
|
|
232
|
+
total += widths[i] + (i > 0 ? gap : 0);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
container.classList.remove('nice-badges-list-measuring');
|
|
236
|
+
|
|
237
|
+
// Everything fits, no toggle needed
|
|
238
|
+
if (total <= available) return widths.length;
|
|
239
|
+
|
|
240
|
+
var count = 0;
|
|
241
|
+
var used = moreWidth;
|
|
242
|
+
for (var j = 0; j < widths.length; j++) {
|
|
243
|
+
used += widths[j] + (j > 0 ? gap : 0);
|
|
244
|
+
if (used > available) break;
|
|
245
|
+
count++;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Always show at least one badge (it gets truncated if it's too wide)
|
|
249
|
+
return Math.max(count, Math.min(1, widths.length));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
function calculate() {
|
|
253
|
+
if (!scope.fullWidth) return;
|
|
254
|
+
var count = measureVisibleCount();
|
|
255
|
+
if (count !== scope.visibleCount) {
|
|
256
|
+
scope.visibleCount = count;
|
|
257
|
+
// The "+X more" label width depends on the count, so check once more after it re-renders
|
|
258
|
+
$timeout(function () {
|
|
259
|
+
var recount = measureVisibleCount();
|
|
260
|
+
if (recount < scope.visibleCount) scope.visibleCount = recount;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
var lastWidth = null;
|
|
266
|
+
var resizeObserver = new ResizeObserver(function (entries) {
|
|
267
|
+
var width = entries[0].contentRect.width;
|
|
268
|
+
if (width === lastWidth) return;
|
|
269
|
+
lastWidth = width;
|
|
270
|
+
scope.$applyAsync(calculate);
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
scope.$watch('fullWidth', function (fullWidth) {
|
|
274
|
+
if (fullWidth) {
|
|
275
|
+
resizeObserver.observe(element[0]);
|
|
276
|
+
$timeout(calculate);
|
|
277
|
+
} else {
|
|
278
|
+
resizeObserver.disconnect();
|
|
279
|
+
lastWidth = null;
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
scope.$watchCollection('items', function () {
|
|
284
|
+
if (scope.fullWidth) $timeout(calculate);
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
scope.$on('$destroy', function () {
|
|
288
|
+
resizeObserver.disconnect();
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
});
|
|
293
|
+
|
|
158
294
|
|
|
159
295
|
/**
|
|
160
296
|
* @ngdoc directive
|
|
@@ -1143,12 +1279,12 @@ angular.module('niceElements')
|
|
|
1143
1279
|
required: '='
|
|
1144
1280
|
},
|
|
1145
1281
|
|
|
1146
|
-
link: function (scope
|
|
1147
|
-
if (!
|
|
1148
|
-
if (!
|
|
1149
|
-
if (!
|
|
1150
|
-
if (!
|
|
1151
|
-
|
|
1282
|
+
link: function (scope) {
|
|
1283
|
+
if (!scope.title) { scope.title = ''; }
|
|
1284
|
+
if (!scope.fieldWidth) { scope.fieldWidth = 'col-sm-8'; }
|
|
1285
|
+
if (!scope.labelWidth) { scope.labelWidth = 'col-sm-4'; }
|
|
1286
|
+
if (!scope.format) { scope.format = 'dd.MM.yyyy'; }
|
|
1287
|
+
scope.noMargin = scope.noMargin === 'true' || scope.noMargin === true;
|
|
1152
1288
|
|
|
1153
1289
|
if (!angular.isDefined(scope.model)) {
|
|
1154
1290
|
let model = null;
|
|
@@ -1168,7 +1304,7 @@ angular.module('niceElements')
|
|
|
1168
1304
|
}
|
|
1169
1305
|
},
|
|
1170
1306
|
|
|
1171
|
-
controller: function ($scope) {
|
|
1307
|
+
controller: function ($scope, gettextCatalog) {
|
|
1172
1308
|
$scope.opts = {
|
|
1173
1309
|
locale: {
|
|
1174
1310
|
applyClass: 'btn-green',
|
|
@@ -1228,7 +1364,9 @@ angular.module('niceElements')
|
|
|
1228
1364
|
placeholder: '@',
|
|
1229
1365
|
placement: '@', // Describes the preferred placement of the popper
|
|
1230
1366
|
},
|
|
1231
|
-
controller: function ($scope, $element, $timeout, gettextCatalog) {
|
|
1367
|
+
controller: function ($scope, $attrs, $element, $timeout, gettextCatalog, NiceService) {
|
|
1368
|
+
NiceService.bindFlag($scope, $attrs, 'inline');
|
|
1369
|
+
|
|
1232
1370
|
$scope.isOpen = false;
|
|
1233
1371
|
if (!$scope.placement) { $scope.placement = "bottom-start"; }
|
|
1234
1372
|
if (!$scope.placeholder) { $scope.placeholder = gettextCatalog.getString("Select date", null, "Nice"); }
|
|
@@ -1625,9 +1763,14 @@ angular.module('niceElements').directive('niceDatetimePicker', function () {
|
|
|
1625
1763
|
console.warn("[NICE ELEMENTS] nice-datetime-picker component is deprecated!");
|
|
1626
1764
|
$scope.date = $scope.date == 'true' || $scope.date == true;
|
|
1627
1765
|
$scope.time = $scope.time == 'true' || $scope.time == true;
|
|
1628
|
-
$scope.noMargin === 'true' || $scope.noMargin === true;
|
|
1629
|
-
$scope.enableOkButtons === 'true' || $scope.enableOkButtons === true;
|
|
1766
|
+
$scope.noMargin = $scope.noMargin === 'true' || $scope.noMargin === true;
|
|
1767
|
+
$scope.enableOkButtons = $scope.enableOkButtons === 'true' || $scope.enableOkButtons === true;
|
|
1630
1768
|
$scope.lang = $scope.lang || 'en';
|
|
1769
|
+
|
|
1770
|
+
// date/time are "@" attributes, so in the template they can be the string "true" or a boolean
|
|
1771
|
+
$scope.isTrue = function (value) {
|
|
1772
|
+
return value === true || value === 'true';
|
|
1773
|
+
};
|
|
1631
1774
|
$scope.okText = $scope.okText || gettextCatalog.getString('OK', null, 'Nice');
|
|
1632
1775
|
$scope.cancelText = $scope.cancelText || gettextCatalog.getString('Cancel', null, 'Nice');
|
|
1633
1776
|
$scope.weekStart = parseInt($scope.weekStart) || 1;
|
|
@@ -2109,6 +2252,54 @@ angular.module('niceElements')
|
|
|
2109
2252
|
});
|
|
2110
2253
|
'use strict';
|
|
2111
2254
|
|
|
2255
|
+
/**
|
|
2256
|
+
* @ngdoc directive
|
|
2257
|
+
* @name niceElements.directive:niceDialog
|
|
2258
|
+
* @description
|
|
2259
|
+
* # niceDialog
|
|
2260
|
+
* Layout for dialog content (header, scrollable body, footer). Meant to be used inside an ngDialog template,
|
|
2261
|
+
* opened with `className: 'nice-ngdialog'` and `showClose: false` (close from the footer instead).
|
|
2262
|
+
* The whole dialog is a <form>, so `nice-submit` is called on submit (e.g. pressing enter or a type="submit" button).
|
|
2263
|
+
* Header / footer borders appear based on the body scroll position.
|
|
2264
|
+
*
|
|
2265
|
+
* Usage:
|
|
2266
|
+
* <nice-dialog nice-title="Edit" nice-subtitle="Event" nice-icon="icon-edit" nice-submit="save()">
|
|
2267
|
+
* ...body...
|
|
2268
|
+
* <nice-dialog-footer>
|
|
2269
|
+
* <button type="button" class="btn btn-default" ng-click="closeThisDialog()">Cancel</button>
|
|
2270
|
+
* <button type="submit" class="btn btn-primary">Save</button>
|
|
2271
|
+
* </nice-dialog-footer>
|
|
2272
|
+
* </nice-dialog>
|
|
2273
|
+
*
|
|
2274
|
+
* Pass <nice-dialog-header> to replace the default header (icon + subtitle + title).
|
|
2275
|
+
*/
|
|
2276
|
+
angular.module('niceElements')
|
|
2277
|
+
.directive('niceDialog', function () {
|
|
2278
|
+
return {
|
|
2279
|
+
templateUrl: 'src/components/nice-dialog/nice-dialog.html',
|
|
2280
|
+
restrict: 'E',
|
|
2281
|
+
replace: true,
|
|
2282
|
+
transclude: {
|
|
2283
|
+
'header': '?niceDialogHeader',
|
|
2284
|
+
'footer': '?niceDialogFooter'
|
|
2285
|
+
},
|
|
2286
|
+
scope: {
|
|
2287
|
+
niceTitle: '@',
|
|
2288
|
+
niceIcon: '@',
|
|
2289
|
+
niceSubtitle: '@',
|
|
2290
|
+
niceSubmit: '&?',
|
|
2291
|
+
niceHideSubtitle: '=?'
|
|
2292
|
+
},
|
|
2293
|
+
link: function (scope) {
|
|
2294
|
+
scope.handleSubmit = function () {
|
|
2295
|
+
if (scope.niceSubmit) scope.niceSubmit();
|
|
2296
|
+
};
|
|
2297
|
+
}
|
|
2298
|
+
};
|
|
2299
|
+
});
|
|
2300
|
+
|
|
2301
|
+
'use strict';
|
|
2302
|
+
|
|
2112
2303
|
/**
|
|
2113
2304
|
* @ngdoc directive
|
|
2114
2305
|
* @name niceElements.directive:niceDropdownDate
|
|
@@ -2138,7 +2329,9 @@ angular.module('niceElements')
|
|
|
2138
2329
|
onChange: '&?',
|
|
2139
2330
|
required: '='
|
|
2140
2331
|
},
|
|
2141
|
-
controller: function ($scope, $timeout) {
|
|
2332
|
+
controller: function ($scope, $attrs, $timeout, NiceService) {
|
|
2333
|
+
NiceService.bindFlag($scope, $attrs, 'mature');
|
|
2334
|
+
|
|
2142
2335
|
$scope.days = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];
|
|
2143
2336
|
$scope.months = [
|
|
2144
2337
|
{ value: 0, name: gettextCatalog.getString('Jan', null, 'Nice') },
|
|
@@ -2621,6 +2814,8 @@ angular.module('niceElements')
|
|
|
2621
2814
|
noSearch: '=',
|
|
2622
2815
|
nullableText: '@',
|
|
2623
2816
|
selectedText: '@',
|
|
2817
|
+
maxSelectedShown: '@?', // Multiple: number of selected values shown before "+x more" (default 4)
|
|
2818
|
+
moreText: '@?', // Multiple: text after "+x" (default "more")
|
|
2624
2819
|
dropdownDistance: '@',
|
|
2625
2820
|
searchFunction: '=?',
|
|
2626
2821
|
filterFunction: '=?',
|
|
@@ -2629,7 +2824,10 @@ angular.module('niceElements')
|
|
|
2629
2824
|
enableLoadMore: '@', // Enable load more
|
|
2630
2825
|
placement: '@', // Describes the preferred placement of the popper
|
|
2631
2826
|
},
|
|
2632
|
-
controller: function ($scope, $http, $element, $timeout, gettextCatalog, NiceService) {
|
|
2827
|
+
controller: function ($scope, $attrs, $http, $element, $timeout, gettextCatalog, NiceService) {
|
|
2828
|
+
NiceService.bindFlag($scope, $attrs, 'selectedIsKey');
|
|
2829
|
+
NiceService.bindFlag($scope, $attrs, 'enableLoadMore');
|
|
2830
|
+
|
|
2633
2831
|
$scope.id = Math.random().toString(36).substring(7);
|
|
2634
2832
|
if (!$scope.dropdownDistance) { $scope.dropdownDistance = 5; }
|
|
2635
2833
|
if (!$scope.objValue) { $scope.objValue = 'value'; }
|
|
@@ -2640,6 +2838,9 @@ angular.module('niceElements')
|
|
|
2640
2838
|
if (!$scope.nullableText) { $scope.nullableText = gettextCatalog.getString("None", null, "Nice"); }
|
|
2641
2839
|
if (!$scope.selectText) { $scope.selectText = gettextCatalog.getString("None", null, "Nice"); }
|
|
2642
2840
|
if (!$scope.selectedText) { $scope.selectedText = gettextCatalog.getString("selected", null, "Nice"); }
|
|
2841
|
+
if (!$scope.moreText) { $scope.moreText = gettextCatalog.getString("more", null, "Nice"); }
|
|
2842
|
+
$scope.maxSelectedShown = parseInt($scope.maxSelectedShown, 10);
|
|
2843
|
+
if (isNaN($scope.maxSelectedShown) || $scope.maxSelectedShown < 1) { $scope.maxSelectedShown = 4; }
|
|
2643
2844
|
if (!$scope.addButtonFunction) { $scope.addButtonFunction = null; }
|
|
2644
2845
|
if (!$scope.placement) { $scope.placement = "bottom-start"; }
|
|
2645
2846
|
$scope.noMargin = $scope.noMargin === 'true' || $scope.noMargin === true;
|
|
@@ -4029,16 +4230,14 @@ angular.module('niceElements')
|
|
|
4029
4230
|
autocomplete: "@?",
|
|
4030
4231
|
disableTrim: "@?"
|
|
4031
4232
|
},
|
|
4032
|
-
controller: function ($scope, $attrs, $rootScope, $element, ngDialog, NiceService) {
|
|
4233
|
+
controller: function ($scope, $attrs, $rootScope, $element, $timeout, ngDialog, NiceService) {
|
|
4033
4234
|
if (!$attrs.type) { $attrs.type = 'text'; }
|
|
4034
4235
|
if (!$attrs.title) { $attrs.title = ''; }
|
|
4035
4236
|
if (!$attrs.regex) { $attrs.regex = null; }
|
|
4036
4237
|
if (!$attrs.placeholder) { $attrs.placeholder = ''; }
|
|
4037
|
-
if (!$attrs.minlength) { $attrs.minlength = 1; }
|
|
4038
|
-
if (!$attrs.maxlength) { $attrs.maxlength = 100; }
|
|
4039
4238
|
if (!$attrs.fieldWidth) { $attrs.fieldWidth = 'col-sm-8'; }
|
|
4040
4239
|
if (!$attrs.labelWidth) { $attrs.labelWidth = 'col-sm-4'; }
|
|
4041
|
-
if (!$
|
|
4240
|
+
if (!$scope.textAreaLines) { $scope.textAreaLines = 3; }
|
|
4042
4241
|
if (!$attrs.symbol) { $attrs.symbol = ''; }
|
|
4043
4242
|
if (!$attrs.help) { $attrs.help = ''; }
|
|
4044
4243
|
if (!$attrs.name) { $attrs.name = ''; }
|
|
@@ -4058,9 +4257,12 @@ angular.module('niceElements')
|
|
|
4058
4257
|
$scope.elementType = "textarea";
|
|
4059
4258
|
}
|
|
4060
4259
|
|
|
4260
|
+
// Focus after the input (rendered inside ng-if) is in the DOM
|
|
4061
4261
|
if ($scope.isFocused) {
|
|
4062
|
-
|
|
4063
|
-
|
|
4262
|
+
$timeout(function () {
|
|
4263
|
+
const input = $element[0].getElementsByTagName($scope.elementType)[0];
|
|
4264
|
+
if (input) input.focus();
|
|
4265
|
+
});
|
|
4064
4266
|
}
|
|
4065
4267
|
|
|
4066
4268
|
if ($scope.numbersOnly) {
|
|
@@ -4095,8 +4297,11 @@ angular.module('niceElements')
|
|
|
4095
4297
|
$scope.regexexp = new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$");
|
|
4096
4298
|
}
|
|
4097
4299
|
|
|
4098
|
-
|
|
4099
|
-
|
|
4300
|
+
// Link form object with valid object (the form only exists after the template is linked)
|
|
4301
|
+
if ($attrs.valid) {
|
|
4302
|
+
$scope.$watch('forma', function (form) {
|
|
4303
|
+
if (form) $scope.valid = form;
|
|
4304
|
+
});
|
|
4100
4305
|
}
|
|
4101
4306
|
|
|
4102
4307
|
if ($scope.model && !$scope.decimalConstructor && angular.isDefined($scope.minDecimalsCutZeros) && $scope.type == 'number') {
|
|
@@ -4348,7 +4553,9 @@ angular.module('niceElements')
|
|
|
4348
4553
|
message: '@?',
|
|
4349
4554
|
fulldiv: '@?'
|
|
4350
4555
|
},
|
|
4351
|
-
controller: function ($scope, gettextCatalog) {
|
|
4556
|
+
controller: function ($scope, $attrs, gettextCatalog, NiceService) {
|
|
4557
|
+
NiceService.bindFlag($scope, $attrs, 'fulldiv');
|
|
4558
|
+
|
|
4352
4559
|
if ($scope.icon == "" || !$scope.icon) $scope.innerIcon = "icon-alert-circle";
|
|
4353
4560
|
else $scope.innerIcon = $scope.icon;
|
|
4354
4561
|
if ($scope.message == "" || !$scope.message) $scope.innerMessage = gettextCatalog.getString("No data");
|
|
@@ -4533,6 +4740,7 @@ angular.module('niceElements')
|
|
|
4533
4740
|
noMargin: '@',
|
|
4534
4741
|
step: '@',
|
|
4535
4742
|
decimals: '@',
|
|
4743
|
+
lang: '@',
|
|
4536
4744
|
allowNegative: '@',
|
|
4537
4745
|
floatingError: '@',
|
|
4538
4746
|
help: '@',
|
|
@@ -4540,14 +4748,20 @@ angular.module('niceElements')
|
|
|
4540
4748
|
onChange: '&?'
|
|
4541
4749
|
},
|
|
4542
4750
|
|
|
4543
|
-
controller: function ($scope, $timeout, NiceService) {
|
|
4751
|
+
controller: function ($scope, $attrs, $timeout, NiceService, gettextCatalog) {
|
|
4752
|
+
NiceService.bindFlag($scope, $attrs, 'allowNegative');
|
|
4753
|
+
NiceService.bindFlag($scope, $attrs, 'hideError');
|
|
4754
|
+
NiceService.bindFlag($scope, $attrs, 'floatingError');
|
|
4755
|
+
|
|
4544
4756
|
$scope.canAdd = true;
|
|
4545
4757
|
$scope.canSubtract = true;
|
|
4546
4758
|
$scope.preventZero = $scope.preventZero == "true";
|
|
4547
4759
|
|
|
4548
4760
|
// Link form object with valid object
|
|
4549
|
-
if ($
|
|
4550
|
-
$scope
|
|
4761
|
+
if ($attrs.valid) {
|
|
4762
|
+
$scope.$watch('niceNumberForm', function (form) {
|
|
4763
|
+
if (form) $scope.valid = form;
|
|
4764
|
+
});
|
|
4551
4765
|
}
|
|
4552
4766
|
|
|
4553
4767
|
// Fix min
|
|
@@ -4565,12 +4779,22 @@ angular.module('niceElements')
|
|
|
4565
4779
|
if ($scope.min != 0 && $scope.min != -Infinity) $scope.defaultValue = $scope.min;
|
|
4566
4780
|
else $scope.defaultValue = 0;
|
|
4567
4781
|
} else {
|
|
4568
|
-
$scope.defaultValue =
|
|
4782
|
+
$scope.defaultValue = parseFloat($scope.defaultValue);
|
|
4569
4783
|
}
|
|
4570
4784
|
|
|
4571
|
-
//
|
|
4572
|
-
|
|
4573
|
-
|
|
4785
|
+
// Decimal mode: when `decimals` is set, the input is a text field so "1.5" and "1,5" can be typed,
|
|
4786
|
+
// and values are rounded to `decimals` places. Kept in a local variable, because Angular
|
|
4787
|
+
// writes the "@" attribute back to $scope.decimals as a string.
|
|
4788
|
+
const decimalPlaces = parseInt($attrs.decimals);
|
|
4789
|
+
$scope.decimalMode = !Number.isNaN(decimalPlaces);
|
|
4790
|
+
|
|
4791
|
+
// Decimal separator of the locale, e.g. "." for "en" and "," for "sl".
|
|
4792
|
+
// Uses the `lang` attribute, or the app language from angular-gettext ("sl_SI" -> "sl-SI").
|
|
4793
|
+
const lang = ($attrs.lang || gettextCatalog.getCurrentLanguage()).replace("_", "-");
|
|
4794
|
+
const decimalSeparator = new Intl.NumberFormat(lang)
|
|
4795
|
+
.formatToParts(1.5)
|
|
4796
|
+
.find(function (part) { return part.type === "decimal"; })
|
|
4797
|
+
.value;
|
|
4574
4798
|
|
|
4575
4799
|
// Fix step
|
|
4576
4800
|
if (!$scope.step) $scope.step = 1;
|
|
@@ -4626,6 +4850,15 @@ angular.module('niceElements')
|
|
|
4626
4850
|
$scope.niceNumberForm.$setValidity("zero", null);
|
|
4627
4851
|
}
|
|
4628
4852
|
}
|
|
4853
|
+
|
|
4854
|
+
// Text input has no built-in min/max validation, so decimal mode checks it here
|
|
4855
|
+
if ($scope.decimalMode && $scope.niceNumberForm) {
|
|
4856
|
+
const value = parseFloat($scope.model);
|
|
4857
|
+
const tooSmall = !Number.isNaN(value) && value < $scope.min;
|
|
4858
|
+
const tooBig = !Number.isNaN(value) && $scope.max && value > $scope.max;
|
|
4859
|
+
$scope.niceNumberForm.$setValidity("min", tooSmall ? false : null);
|
|
4860
|
+
$scope.niceNumberForm.$setValidity("max", tooBig ? false : null);
|
|
4861
|
+
}
|
|
4629
4862
|
};
|
|
4630
4863
|
|
|
4631
4864
|
|
|
@@ -4635,11 +4868,35 @@ angular.module('niceElements')
|
|
|
4635
4868
|
});
|
|
4636
4869
|
|
|
4637
4870
|
|
|
4638
|
-
//
|
|
4871
|
+
// Returns a plain number, rounded to `decimals` places in decimal mode
|
|
4872
|
+
const round = function (value) {
|
|
4873
|
+
if (value == null) return null;
|
|
4874
|
+
if (!$scope.decimalMode) return Number(value);
|
|
4875
|
+
return new Decimal(value).toDecimalPlaces(decimalPlaces).toNumber();
|
|
4876
|
+
};
|
|
4877
|
+
|
|
4878
|
+
// Decimal mode: typed text -> number ("1,5" -> 1.5).
|
|
4879
|
+
// Returns null for empty text and NaN for text that is not a number.
|
|
4880
|
+
const parseText = function (text) {
|
|
4881
|
+
const cleaned = (text || "").trim().replace(",", ".");
|
|
4882
|
+
if (cleaned === "") return null;
|
|
4883
|
+
if (!/^-?(\d+\.?\d*|\.\d+)$/.test(cleaned)) return NaN;
|
|
4884
|
+
return parseFloat(cleaned);
|
|
4885
|
+
};
|
|
4886
|
+
|
|
4887
|
+
// Model -> input value. Number input needs a number, decimal mode needs text
|
|
4888
|
+
// with the locale separator. Decimal.toFixed() avoids exponent notation (1e-7).
|
|
4639
4889
|
const toInternal = function (value) {
|
|
4890
|
+
if ($scope.decimalMode) return value == null ? "" : new Decimal(value).toFixed().replace(".", decimalSeparator);
|
|
4640
4891
|
return NiceService.isDecimal(value) ? value.toNumber() : value;
|
|
4641
4892
|
};
|
|
4642
4893
|
|
|
4894
|
+
// Does the input already show the model value? (In decimal mode "1,50" shows 1.5)
|
|
4895
|
+
const isInputInSync = function () {
|
|
4896
|
+
if (!$scope.decimalMode) return toInternal($scope.model) === $scope.internal.value;
|
|
4897
|
+
return round($scope.model) === round(parseText($scope.internal.value));
|
|
4898
|
+
};
|
|
4899
|
+
|
|
4643
4900
|
const setModel = function (value) {
|
|
4644
4901
|
if ($scope.decimalConstructor && value != null && !NiceService.isDecimal(value)) {
|
|
4645
4902
|
value = new $scope.decimalConstructor(value);
|
|
@@ -4654,11 +4911,28 @@ angular.module('niceElements')
|
|
|
4654
4911
|
|
|
4655
4912
|
// On input change
|
|
4656
4913
|
$scope.inputChanged = function () {
|
|
4657
|
-
|
|
4914
|
+
if ($scope.decimalMode) {
|
|
4915
|
+
// Invalid text keeps the last valid model and marks the field invalid
|
|
4916
|
+
const value = parseText($scope.internal.value);
|
|
4917
|
+
const isNumber = !Number.isNaN(value);
|
|
4918
|
+
$scope.niceNumberForm.$setValidity("number", isNumber ? null : false);
|
|
4919
|
+
if (isNumber) setModel(round(value));
|
|
4920
|
+
} else {
|
|
4921
|
+
setModel($scope.internal.value);
|
|
4922
|
+
}
|
|
4658
4923
|
$scope.check();
|
|
4659
4924
|
};
|
|
4660
4925
|
|
|
4661
4926
|
|
|
4927
|
+
// Decimal mode: on blur show the cleaned up value ("1,239" -> "1.24" with decimals="2")
|
|
4928
|
+
$scope.inputBlurred = function () {
|
|
4929
|
+
if (!$scope.decimalMode) return;
|
|
4930
|
+
if (!Number.isNaN(parseText($scope.internal.value))) {
|
|
4931
|
+
$scope.internal.value = toInternal($scope.model);
|
|
4932
|
+
}
|
|
4933
|
+
};
|
|
4934
|
+
|
|
4935
|
+
|
|
4662
4936
|
// Watch for model change. Decimal is watched by value, because parent can replace it with new equal object.
|
|
4663
4937
|
$scope.$watch(function () {
|
|
4664
4938
|
return NiceService.isDecimal($scope.model) ? $scope.model.toString() : $scope.model;
|
|
@@ -4668,8 +4942,10 @@ angular.module('niceElements')
|
|
|
4668
4942
|
} else if ($scope.model != null) {
|
|
4669
4943
|
$scope.decimalConstructor = null; // Parent switched to plain value
|
|
4670
4944
|
}
|
|
4671
|
-
if (
|
|
4945
|
+
if (!isInputInSync()) {
|
|
4672
4946
|
$scope.internal.value = toInternal($scope.model);
|
|
4947
|
+
// Input shows a valid value again (e.g. after plus/minus)
|
|
4948
|
+
if ($scope.decimalMode && $scope.niceNumberForm) $scope.niceNumberForm.$setValidity("number", null);
|
|
4673
4949
|
}
|
|
4674
4950
|
$scope.check();
|
|
4675
4951
|
if ($scope.onChange && oldModel != newModel) {
|
|
@@ -4682,7 +4958,7 @@ angular.module('niceElements')
|
|
|
4682
4958
|
|
|
4683
4959
|
// Add to the value
|
|
4684
4960
|
$scope.add = function () {
|
|
4685
|
-
const result = new Decimal($scope.model != undefined ? $scope.model : $scope.defaultValue).plus($scope.innerStep)
|
|
4961
|
+
const result = round(new Decimal($scope.model != undefined ? $scope.model : $scope.defaultValue).plus($scope.innerStep));
|
|
4686
4962
|
if ($scope.max) {
|
|
4687
4963
|
if (result <= parseFloat($scope.max)) {
|
|
4688
4964
|
setModel(result);
|
|
@@ -4698,7 +4974,7 @@ angular.module('niceElements')
|
|
|
4698
4974
|
|
|
4699
4975
|
// Subtract to the value
|
|
4700
4976
|
$scope.subtract = function () {
|
|
4701
|
-
const result = new Decimal($scope.model != undefined ? $scope.model : $scope.defaultValue).minus($scope.innerStep)
|
|
4977
|
+
const result = round(new Decimal($scope.model != undefined ? $scope.model : $scope.defaultValue).minus($scope.innerStep));
|
|
4702
4978
|
if (result >= Number($scope.min)) {
|
|
4703
4979
|
setModel(result);
|
|
4704
4980
|
$scope.niceNumberForm.$setDirty();
|
|
@@ -4837,10 +5113,12 @@ angular.module('niceElements')
|
|
|
4837
5113
|
attrs.noMargin = attrs.noMargin === 'true' || attrs.noMargin === true;
|
|
4838
5114
|
},
|
|
4839
5115
|
|
|
4840
|
-
controller: function ($rootScope, $scope) {
|
|
5116
|
+
controller: function ($rootScope, $scope, $attrs) {
|
|
4841
5117
|
// Link form object with valid object
|
|
4842
|
-
if (
|
|
4843
|
-
$scope
|
|
5118
|
+
if ($attrs.valid) {
|
|
5119
|
+
$scope.$watch('form', function (form) {
|
|
5120
|
+
if (form) $scope.valid = form;
|
|
5121
|
+
});
|
|
4844
5122
|
}
|
|
4845
5123
|
|
|
4846
5124
|
const roundN = function (number, decimals) {
|
|
@@ -5038,13 +5316,13 @@ angular.module('niceElements')
|
|
|
5038
5316
|
|
|
5039
5317
|
$scope.close = function () {
|
|
5040
5318
|
$scope.isOpen = false;
|
|
5041
|
-
if ($scope.onChange) $scope.onChange($scope.isOpen);
|
|
5319
|
+
if ($scope.onChange) $scope.onChange({ isOpen: $scope.isOpen });
|
|
5042
5320
|
};
|
|
5043
5321
|
|
|
5044
5322
|
$scope.open = function () {
|
|
5045
5323
|
if ($scope.popper) $scope.popper.update();
|
|
5046
5324
|
$scope.isOpen = true;
|
|
5047
|
-
if ($scope.onChange) $scope.onChange($scope.isOpen);
|
|
5325
|
+
if ($scope.onChange) $scope.onChange({ isOpen: $scope.isOpen });
|
|
5048
5326
|
$timeout(function () {
|
|
5049
5327
|
if ($scope.popper) $scope.popper.update();
|
|
5050
5328
|
});
|
|
@@ -5208,7 +5486,7 @@ angular.module('niceElements')
|
|
|
5208
5486
|
isInline: '=',
|
|
5209
5487
|
onChange: '&?'
|
|
5210
5488
|
},
|
|
5211
|
-
link: function (scope, element, attrs) {
|
|
5489
|
+
link: function (scope, element, attrs, ctrl, transcludeFn) {
|
|
5212
5490
|
if (!attrs.title) { attrs.title = ''; }
|
|
5213
5491
|
if (!attrs.placeholder) { attrs.placeholder = ''; }
|
|
5214
5492
|
if (!attrs.fieldWidth) { attrs.fieldWidth = 'col-sm-8'; }
|
|
@@ -5223,11 +5501,20 @@ angular.module('niceElements')
|
|
|
5223
5501
|
attrs.disableRow = attrs.disableRow === 'true' || attrs.disableRow === true;
|
|
5224
5502
|
attrs.noMargin = attrs.noMargin === 'true' || attrs.noMargin === true;
|
|
5225
5503
|
|
|
5226
|
-
//
|
|
5227
|
-
//
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5504
|
+
// Custom row content: markup placed inside <nice-search> is rendered for every
|
|
5505
|
+
// result row (with `result` in scope) instead of the default label.
|
|
5506
|
+
scope.rowTransclude = transcludeFn;
|
|
5507
|
+
scope.hasRowTemplate = false;
|
|
5508
|
+
|
|
5509
|
+
// Make one throwaway copy of the content just to check if there is any
|
|
5510
|
+
transcludeFn(function (clone, cloneScope) {
|
|
5511
|
+
for (let i = 0; i < clone.length; i++) {
|
|
5512
|
+
const isElement = clone[i].nodeType === 1;
|
|
5513
|
+
const isText = clone[i].nodeType === 3 && clone[i].textContent.trim() !== '';
|
|
5514
|
+
if (isElement || isText) scope.hasRowTemplate = true;
|
|
5515
|
+
}
|
|
5516
|
+
cloneScope.$destroy();
|
|
5517
|
+
});
|
|
5231
5518
|
|
|
5232
5519
|
// Set default text
|
|
5233
5520
|
scope.$watch("setText", function () {
|
|
@@ -5411,6 +5698,23 @@ angular.module('niceElements')
|
|
|
5411
5698
|
};
|
|
5412
5699
|
}
|
|
5413
5700
|
};
|
|
5701
|
+
})
|
|
5702
|
+
|
|
5703
|
+
// Renders nice-search's transcluded content for one result row, with `result` in scope
|
|
5704
|
+
.directive('niceSearchRowTransclude', function () {
|
|
5705
|
+
return {
|
|
5706
|
+
restrict: 'A',
|
|
5707
|
+
link: function (scope, element) {
|
|
5708
|
+
// Copy the content into this row; the copy gets its own scope (rowScope)
|
|
5709
|
+
scope.rowTransclude(function (clone, rowScope) {
|
|
5710
|
+
// Give the copy access to this row's result, and keep it up to date
|
|
5711
|
+
scope.$watch('result', function (result) {
|
|
5712
|
+
rowScope.result = result;
|
|
5713
|
+
});
|
|
5714
|
+
element.append(clone);
|
|
5715
|
+
});
|
|
5716
|
+
}
|
|
5717
|
+
};
|
|
5414
5718
|
});
|
|
5415
5719
|
|
|
5416
5720
|
'use strict';
|
|
@@ -5772,7 +6076,10 @@ angular.module('niceElements')
|
|
|
5772
6076
|
freezeLast: '@?',
|
|
5773
6077
|
loadMore: '&?'
|
|
5774
6078
|
},
|
|
5775
|
-
controller: function ($scope, $transclude) {
|
|
6079
|
+
controller: function ($scope, $attrs, $transclude, NiceService) {
|
|
6080
|
+
NiceService.bindFlag($scope, $attrs, 'freezeFirst');
|
|
6081
|
+
NiceService.bindFlag($scope, $attrs, 'freezeLast');
|
|
6082
|
+
|
|
5776
6083
|
$scope.hasActions = $transclude().length > 0;
|
|
5777
6084
|
|
|
5778
6085
|
$scope.setOrder = function(key) {
|
|
@@ -5784,17 +6091,19 @@ angular.module('niceElements')
|
|
|
5784
6091
|
} else {
|
|
5785
6092
|
$scope.order = key;
|
|
5786
6093
|
}
|
|
5787
|
-
if ($scope.orderChanged) $scope.orderChanged($scope.order);
|
|
6094
|
+
if ($scope.orderChanged) $scope.orderChanged({ order: $scope.order });
|
|
5788
6095
|
}
|
|
5789
6096
|
|
|
5790
6097
|
$scope.rowStyle = function(column, row) {
|
|
5791
6098
|
if (!column.valueStyle) return;
|
|
5792
|
-
return column.valueStyle(row[column.key], row);
|
|
6099
|
+
if (angular.isFunction(column.valueStyle)) return column.valueStyle(row[column.key], row);
|
|
6100
|
+
return column.valueStyle;
|
|
5793
6101
|
}
|
|
5794
6102
|
|
|
5795
6103
|
$scope.rowClass = function(column, row) {
|
|
5796
6104
|
if (!column.valueClass) return;
|
|
5797
|
-
return column.valueClass(row[column.key], row);
|
|
6105
|
+
if (angular.isFunction(column.valueClass)) return column.valueClass(row[column.key], row);
|
|
6106
|
+
return column.valueClass;
|
|
5798
6107
|
}
|
|
5799
6108
|
|
|
5800
6109
|
$scope.handleFreeze = function(column, isFirst, isLast, index) {
|
|
@@ -6377,7 +6686,9 @@ angular.module('niceElements')
|
|
|
6377
6686
|
stickyHeader: '@',
|
|
6378
6687
|
stickyFooter: '@',
|
|
6379
6688
|
},
|
|
6380
|
-
controller: function ($scope, $transclude) {
|
|
6689
|
+
controller: function ($scope, $attrs, $transclude, NiceService) {
|
|
6690
|
+
NiceService.bindFlag($scope, $attrs, 'collapsed');
|
|
6691
|
+
|
|
6381
6692
|
$scope.isOpen = true;
|
|
6382
6693
|
if ($scope.collapsed) $scope.isOpen = false;
|
|
6383
6694
|
$scope.hasTitle = $transclude.isSlotFilled('title');
|
|
@@ -6431,10 +6742,12 @@ angular.module('niceElements')
|
|
|
6431
6742
|
if (!$scope.title) { $scope.title = ''; }
|
|
6432
6743
|
if (!$scope.fieldWidth) { $scope.fieldWidth = 'col-sm-8'; }
|
|
6433
6744
|
if (!$scope.labelWidth) { $scope.labelWidth = 'col-sm-4'; }
|
|
6434
|
-
|
|
6745
|
+
// default-false: the attribute being present turns it on, unless its value is "false"
|
|
6746
|
+
const defaultFalse = angular.isDefined($scope.defaultFalse) && String($scope.defaultFalse).trim().toLowerCase() !== 'false';
|
|
6747
|
+
if (!angular.isDefined($scope.model) && !angular.isDefined($scope.options)) $scope.model = !defaultFalse;
|
|
6435
6748
|
if (!angular.isDefined($scope.modelValue) && angular.isDefined($scope.options)) $scope.modelValue = $scope.options[0];
|
|
6436
6749
|
|
|
6437
|
-
$scope.defaultFalse =
|
|
6750
|
+
$scope.defaultFalse = defaultFalse;
|
|
6438
6751
|
$scope.noMargin = angular.isDefined($scope.noMargin);
|
|
6439
6752
|
|
|
6440
6753
|
$scope.buttonClass = "";
|
|
@@ -6821,13 +7134,28 @@ angular.module('niceElements')
|
|
|
6821
7134
|
.service('NiceService', function ($rootScope) {
|
|
6822
7135
|
const service = {
|
|
6823
7136
|
name: "Nice elements",
|
|
6824
|
-
version: "1.
|
|
7137
|
+
version: "1.15.0",
|
|
6825
7138
|
getHeader: function () {
|
|
6826
7139
|
return {};
|
|
6827
7140
|
},
|
|
6828
7141
|
toast: function (message, type) {
|
|
6829
7142
|
$rootScope.$broadcast('toast', message, type);
|
|
6830
7143
|
},
|
|
7144
|
+
// On/off attribute value: true or any non-empty string except "false" is on
|
|
7145
|
+
isOn: function (value) {
|
|
7146
|
+
if (value === true) return true;
|
|
7147
|
+
if (!angular.isString(value)) return false;
|
|
7148
|
+
const v = value.trim().toLowerCase();
|
|
7149
|
+
return v !== '' && v !== 'false';
|
|
7150
|
+
},
|
|
7151
|
+
// Keep a "@" on/off attribute as a boolean on the scope
|
|
7152
|
+
// (the isolate binding would otherwise reset it to the raw attribute string)
|
|
7153
|
+
bindFlag: function ($scope, $attrs, name) {
|
|
7154
|
+
$scope[name] = service.isOn($scope[name]);
|
|
7155
|
+
$attrs.$observe(name, function (value) {
|
|
7156
|
+
$scope[name] = service.isOn(value);
|
|
7157
|
+
});
|
|
7158
|
+
},
|
|
6831
7159
|
// Check if value is a Decimal.js object (also Decimal.clone() instances)
|
|
6832
7160
|
isDecimal: function (value) {
|
|
6833
7161
|
return typeof Decimal !== 'undefined' && Decimal.isDecimal(value);
|
|
@@ -6932,6 +7260,23 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
6932
7260
|
);
|
|
6933
7261
|
|
|
6934
7262
|
|
|
7263
|
+
$templateCache.put('src/components/nice-badges-list/nice-badges-list.html',
|
|
7264
|
+
"<div class=\"nice-badges-list\" ng-class=\"{ 'nice-badges-list-full-width': fullWidth, 'nice-badges-list-expanded': expanded }\">\n" +
|
|
7265
|
+
" \n" +
|
|
7266
|
+
" <div class=\"nice-badge nice-badge-item\" ng-if=\"fullWidth\" ng-class=\"[badgeClass, { 'nice-badge-hidden': !expanded && $index >= visibleCount }]\" ng-repeat=\"item in items track by $index\" title=\"{{ getLabel(item) }}\">{{ getLabel(item) }}</div>\n" +
|
|
7267
|
+
"\n" +
|
|
7268
|
+
" \n" +
|
|
7269
|
+
" <div class=\"nice-badge nice-badge-item\" ng-if=\"!fullWidth\" ng-class=\"badgeClass\" ng-repeat=\"item in items | limitTo:(expanded ? items.length : getLimit()) track by $index\">{{ getLabel(item) }}</div>\n" +
|
|
7270
|
+
"\n" +
|
|
7271
|
+
" \n" +
|
|
7272
|
+
" <div class=\"nice-badge nice-badge-more\" ng-show=\"getHiddenCount() > 0\" ng-click=\"toggle()\">\n" +
|
|
7273
|
+
" <span ng-if=\"!expanded\" translate translate-context=\"Nice\" translate-n=\"getHiddenCount()\" translate-plural=\"+{{$count}} more\">+{{$count}} more</span>\n" +
|
|
7274
|
+
" <span ng-if=\"expanded\" translate translate-context=\"Nice\">Show less</span>\n" +
|
|
7275
|
+
" </div>\n" +
|
|
7276
|
+
"</div>\n"
|
|
7277
|
+
);
|
|
7278
|
+
|
|
7279
|
+
|
|
6935
7280
|
$templateCache.put('src/components/nice-button-toggle/nice-button-toggle.html',
|
|
6936
7281
|
"<div class=\"nice-component nice-button-toggle row\">\n" +
|
|
6937
7282
|
" <div class=\"col-xs-offset-4 col-xs-8\">\n" +
|
|
@@ -7083,7 +7428,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7083
7428
|
" <nice-icon ng-if=\"!model && indeterminate\" class=\"nice-checkbox-check\" icon=\"icon-minus\"></nice-icon>\n" +
|
|
7084
7429
|
" </button>\n" +
|
|
7085
7430
|
" <div class=\"nice-checkbox-info\" ng-transclude>\n" +
|
|
7086
|
-
" <nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" description=\"
|
|
7431
|
+
" <nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" description=\"niceDescription\" label-width=\"col-xs-12\"></nice-title>\n" +
|
|
7087
7432
|
" \n" +
|
|
7088
7433
|
" \n" +
|
|
7089
7434
|
" </div>\n" +
|
|
@@ -7315,15 +7660,15 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7315
7660
|
" <span class=\"input-group-btn\">\n" +
|
|
7316
7661
|
" <button type=\"button\" class=\"btn btn-default\" ng-click=\"openDtp()\">\n" +
|
|
7317
7662
|
" \n" +
|
|
7318
|
-
" <nice-icon ng-if=\"date
|
|
7319
|
-
" <nice-icon ng-if=\"date
|
|
7663
|
+
" <nice-icon ng-if=\"isTrue(date)\" icon=\"icon-calendar\"></nice-icon>\n" +
|
|
7664
|
+
" <nice-icon ng-if=\"!isTrue(date)\" icon=\"icon-clock\"></nice-icon>\n" +
|
|
7320
7665
|
" </button>\n" +
|
|
7321
7666
|
" </span>\n" +
|
|
7322
7667
|
" </div>\n" +
|
|
7323
7668
|
"\n" +
|
|
7324
7669
|
" \n" +
|
|
7325
7670
|
" <div ng-show=\"isOpen\">\n" +
|
|
7326
|
-
" <nice-dtp model=\"internalDate\" format=\"{{ format }}\" model-format=\"{{ modelFormat }}\" date=\"{{ date
|
|
7671
|
+
" <nice-dtp model=\"internalDate\" format=\"{{ format }}\" model-format=\"{{ modelFormat }}\" date=\"{{ isTrue(date) }}\" time=\"{{ isTrue(time) }}\" width=\"{{ width }}\" enable-ok-buttons=\"{{ enableOkButtons }}\" lang=\"{{ lang }}\" min-date=\"{{ minDate }}\" max-date=\"{{ maxDate }}\" week-start=\"{{ weekStart }}\" ok-text=\"{{ okText }}\" cancel-text=\"{{ cancelText }}\" closed=\"closeDtp\"></nice-dtp>\n" +
|
|
7327
7672
|
" </div>\n" +
|
|
7328
7673
|
" </div>\n" +
|
|
7329
7674
|
" </div>\n" +
|
|
@@ -7366,11 +7711,11 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7366
7711
|
" </div>\n" +
|
|
7367
7712
|
"\n" +
|
|
7368
7713
|
" <div class=\"dtp-left\">\n" +
|
|
7369
|
-
" <nice-date model=\"model.innerStartDate\" next-date=\"model.innerEndDate\" is-inline=\"true\" no-margin=\"true\" inline=\"true\" time=\"time\" on-change=\"dateChanged(model)\"></nice-date>\n" +
|
|
7714
|
+
" <nice-date model=\"model.innerStartDate\" next-date=\"model.innerEndDate\" is-inline=\"true\" no-margin=\"true\" inline=\"true\" time=\"time\" min-date=\"minDate\" max-date=\"maxDate\" on-change=\"dateChanged(model)\"></nice-date>\n" +
|
|
7370
7715
|
" </div>\n" +
|
|
7371
7716
|
"\n" +
|
|
7372
7717
|
" <div class=\"dtp-right\">\n" +
|
|
7373
|
-
" <nice-date model=\"model.innerEndDate\" next-date=\"model.innerStartDate\" is-inline=\"true\" no-margin=\"true\" inline=\"true\" time=\"time\" on-change=\"dateChanged(model)\"></nice-date>\n" +
|
|
7718
|
+
" <nice-date model=\"model.innerEndDate\" next-date=\"model.innerStartDate\" is-inline=\"true\" no-margin=\"true\" inline=\"true\" time=\"time\" min-date=\"minDate\" max-date=\"maxDate\" on-change=\"dateChanged(model)\"></nice-date>\n" +
|
|
7374
7719
|
" </div>\n" +
|
|
7375
7720
|
" </div>\n" +
|
|
7376
7721
|
" </div>\n" +
|
|
@@ -7440,6 +7785,26 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7440
7785
|
);
|
|
7441
7786
|
|
|
7442
7787
|
|
|
7788
|
+
$templateCache.put('src/components/nice-dialog/nice-dialog.html',
|
|
7789
|
+
"<form class=\"nice-dialog\" ng-submit=\"handleSubmit()\">\n" +
|
|
7790
|
+
" \n" +
|
|
7791
|
+
" <div class=\"nice-dialog-header\" ng-transclude=\"header\">\n" +
|
|
7792
|
+
" <nice-icon icon=\"{{ niceIcon }}\" ng-if=\"niceIcon\"></nice-icon>\n" +
|
|
7793
|
+
" <div>\n" +
|
|
7794
|
+
" <div class=\"nice-dialog-sub-title\" ng-if=\"niceSubtitle && !niceHideSubtitle\">{{ niceSubtitle }}</div>\n" +
|
|
7795
|
+
" <div class=\"nice-dialog-title\">{{ niceTitle }}</div>\n" +
|
|
7796
|
+
" </div>\n" +
|
|
7797
|
+
" </div>\n" +
|
|
7798
|
+
"\n" +
|
|
7799
|
+
" \n" +
|
|
7800
|
+
" <div class=\"nice-dialog-body\" ng-transclude></div>\n" +
|
|
7801
|
+
"\n" +
|
|
7802
|
+
" \n" +
|
|
7803
|
+
" <div class=\"nice-dialog-footer\" ng-transclude=\"footer\"></div>\n" +
|
|
7804
|
+
"</form>\n"
|
|
7805
|
+
);
|
|
7806
|
+
|
|
7807
|
+
|
|
7443
7808
|
$templateCache.put('src/components/nice-dropdown-date/nice-dropdown-date.html',
|
|
7444
7809
|
"<div class=\"nice-component nice-dropdown-date\" ng-form=\"dropdownDateForm\" ng-class=\"{ 'margin-bottom-0': noMargin, 'nice-component-inline': isInline }\">\n" +
|
|
7445
7810
|
" <div class=\"row\">\n" +
|
|
@@ -7536,9 +7901,9 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7536
7901
|
" <input class=\"hidden-input\" ng-model=\"model\" ng-required=\"required\" ng-disabled=\"disabled\" tabindex=\"-1\">\n" +
|
|
7537
7902
|
" <div class=\"btn-dropdown-inside\" ng-transclude=\"button\" ng-if=\"selected != null\">\n" +
|
|
7538
7903
|
" <span ng-if=\"!multiple\">{{ selected[objValue] }}</span>\n" +
|
|
7539
|
-
" <span ng-if=\"multiple\">\n" +
|
|
7540
|
-
" <span ng-if=\"selected.length >
|
|
7541
|
-
" <span ng-if=\"selected.length
|
|
7904
|
+
" <span ng-if=\"multiple\" class=\"multiple-selected\" ng-class=\"{ 'has-more': selected.length > maxSelectedShown }\">\n" +
|
|
7905
|
+
" <span ng-if=\"selected.length > 0\" class=\"multiple-selected-values\"><span ng-repeat=\"item in selected | limitTo: maxSelectedShown\">{{ item[objValue] }}{{ $last ? '' : ', ' }}</span></span>\n" +
|
|
7906
|
+
" <span ng-if=\"selected.length > maxSelectedShown\" class=\"multiple-selected-more\">+{{ selected.length - maxSelectedShown }} {{ moreText }}</span>\n" +
|
|
7542
7907
|
" <span ng-if=\"selected.length == 0\" class=\"not-selected\">{{ nullableText }}</span>\n" +
|
|
7543
7908
|
" </span>\n" +
|
|
7544
7909
|
" </div>\n" +
|
|
@@ -7829,7 +8194,10 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7829
8194
|
" </span>\n" +
|
|
7830
8195
|
"\n" +
|
|
7831
8196
|
" \n" +
|
|
7832
|
-
" <input type=\"number\" step=\"{{ step }}\" ng-change=\"inputChanged()\" class=\"form-control\" max=\"{{ max }}\" min=\"{{ min }}\" ng-disabled=\"isDisabled\" ng-model=\"internal.value\">\n" +
|
|
8197
|
+
" <input ng-if=\"!decimalMode\" type=\"number\" inputmode=\"numeric\" step=\"{{ step }}\" ng-change=\"inputChanged()\" class=\"form-control\" max=\"{{ max }}\" min=\"{{ min }}\" ng-disabled=\"isDisabled\" ng-model=\"internal.value\">\n" +
|
|
8198
|
+
"\n" +
|
|
8199
|
+
" \n" +
|
|
8200
|
+
" <input ng-if=\"decimalMode\" type=\"text\" inputmode=\"decimal\" ng-change=\"inputChanged()\" ng-blur=\"inputBlurred()\" class=\"form-control\" ng-disabled=\"isDisabled\" ng-model=\"internal.value\">\n" +
|
|
7833
8201
|
"\n" +
|
|
7834
8202
|
" <span class=\"input-group-btn\">\n" +
|
|
7835
8203
|
" \n" +
|
|
@@ -7882,7 +8250,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7882
8250
|
|
|
7883
8251
|
|
|
7884
8252
|
$templateCache.put('src/components/nice-percent/nice-percent.html',
|
|
7885
|
-
"<ng-form class=\"nice-component nice-input\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
8253
|
+
"<ng-form class=\"nice-component nice-percent nice-input nice-input-type-number\" ng-class=\"{ 'margin-bottom-0' : noMargin, 'nice-component-inline': isInline }\" name=\"form\">\n" +
|
|
7886
8254
|
" <div class=\"row\">\n" +
|
|
7887
8255
|
" \n" +
|
|
7888
8256
|
" <nice-title text=\"title || niceTitle\" help=\"help\" required=\"required\" description=\"description\" label-width=\"labelWidth\"></nice-title>\n" +
|
|
@@ -7890,10 +8258,10 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
7890
8258
|
" \n" +
|
|
7891
8259
|
" <div class=\"nice-field col-xs-12\" ng-class=\"fieldWidth ? fieldWidth : 'col-sm-8'\">\n" +
|
|
7892
8260
|
" <div class=\"input-group has-feedback symbol\" ng-class=\"{\n" +
|
|
7893
|
-
"
|
|
7894
|
-
"
|
|
7895
|
-
"
|
|
7896
|
-
"
|
|
8261
|
+
" 'has-warning': !isDisabled && form.$invalid && form.$dirty && !hideValid,\n" +
|
|
8262
|
+
" 'has-success': !isDisabled && form.$valid && form.$dirty && showValid,\n" +
|
|
8263
|
+
" 'disabled': isDisabled\n" +
|
|
8264
|
+
" }\">\n" +
|
|
7897
8265
|
" <input class=\"form-control\" type=\"text\" max=\"100\" min=\"0\" ng-model=\"internalModel\" placeholder=\"{{ placeholder }}\" ng-required=\"required\" ng-keypress=\"keypress($event)\" ng-change=\"change()\" ng-disabled=\"isDisabled\">\n" +
|
|
7898
8266
|
" <span class=\"input-group-addon\">%</span>\n" +
|
|
7899
8267
|
" \n" +
|
|
@@ -8011,15 +8379,13 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
8011
8379
|
"\n" +
|
|
8012
8380
|
" <div class=\"nice-dropdown\" ng-if=\"results.length\">\n" +
|
|
8013
8381
|
" <div ng-repeat=\"result in results\" class=\"nice-search-row\" ng-class=\"{'active': selectedIndex == $index}\" ng-click=\"selectRow(result)\">\n" +
|
|
8014
|
-
" <span class=\"text-bold\">{{ result[keyForInputLabel] }}</span>\n" +
|
|
8015
|
-
" \n" +
|
|
8382
|
+
" <span class=\"text-bold\" ng-if=\"!hasRowTemplate\">{{ result[keyForInputLabel] }}</span>\n" +
|
|
8383
|
+
" <div ng-if=\"hasRowTemplate\" nice-search-row-transclude></div>\n" +
|
|
8016
8384
|
" </div>\n" +
|
|
8017
8385
|
" </div>\n" +
|
|
8018
8386
|
" </div>\n" +
|
|
8019
8387
|
" </div>\n" +
|
|
8020
8388
|
"\n" +
|
|
8021
|
-
" \n" +
|
|
8022
|
-
" \n" +
|
|
8023
8389
|
"</ng-form>"
|
|
8024
8390
|
);
|
|
8025
8391
|
|
|
@@ -9252,44 +9618,189 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
9252
9618
|
" </symbol>\n" +
|
|
9253
9619
|
"\n" +
|
|
9254
9620
|
" <symbol id=\"icon-input-quantity\" viewBox=\"0 0 24 24\">\n" +
|
|
9255
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9256
|
-
" <path d=\"M11.
|
|
9257
|
-
" <path d=\"
|
|
9258
|
-
" <path d=\"
|
|
9621
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9622
|
+
" <path d=\"M11.999 15.579C11.423 15.577 10.927 15.435 10.512 15.154C10.099 14.873 9.781 14.465 9.558 13.932C9.337 13.398 9.228 12.757 9.23 12.007C9.23 11.259 9.34 10.622 9.561 10.095C9.784 9.568 10.103 9.167 10.516 8.893C10.931 8.616 11.425 8.478 11.999 8.478C12.572 8.478 13.066 8.616 13.479 8.893C13.894 9.17 14.213 9.571 14.436 10.098C14.659 10.623 14.77 11.259 14.768 12.007C14.768 12.759 14.656 13.402 14.433 13.935C14.212 14.469 13.895 14.876 13.482 15.157C13.069 15.439 12.575 15.579 11.999 15.579ZM11.999 14.377C12.392 14.377 12.705 14.18 12.94 13.785C13.174 13.39 13.29 12.797 13.288 12.007C13.288 11.487 13.234 11.054 13.127 10.708C13.022 10.362 12.873 10.102 12.678 9.927C12.487 9.753 12.26 9.666 11.999 9.666C11.608 9.666 11.296 9.862 11.061 10.252C10.827 10.643 10.709 11.228 10.706 12.007C10.706 12.533 10.759 12.973 10.864 13.326C10.971 13.676 11.122 13.94 11.316 14.116C11.51 14.29 11.738 14.377 11.999 14.377Z\"/>\n" +
|
|
9623
|
+
" <path d=\"M16.5 12.214H17.786V13.5C17.786 13.618 17.882 13.714 18 13.714C18.118 13.714 18.214 13.618 18.214 13.5V12.214H19.5C19.618 12.214 19.714 12.118 19.714 12C19.714 11.882 19.618 11.786 19.5 11.786H18.214V10.5C18.214 10.382 18.118 10.286 18 10.286C17.882 10.286 17.786 10.382 17.786 10.5V11.786H16.5C16.382 11.786 16.286 11.882 16.286 12C16.286 12.118 16.382 12.214 16.5 12.214Z\"/>\n" +
|
|
9624
|
+
" <path d=\"M4.5 12.214H7.5C7.618 12.214 7.714 12.128 7.714 12.021C7.714 11.915 7.618 11.829 7.5 11.829H4.5C4.382 11.829 4.286 11.915 4.286 12.021C4.286 12.128 4.382 12.214 4.5 12.214Z\"/>\n" +
|
|
9625
|
+
" </symbol>\n" +
|
|
9626
|
+
"\n" +
|
|
9627
|
+
" <symbol id=\"icon-alert-box\" viewBox=\"0 0 24 24\">\n" +
|
|
9628
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 3H19A4 4 0 0 1 23 7V17A4 4 0 0 1 19 21H5A4 4 0 0 1 1 17V7A4 4 0 0 1 5 3ZM5 5H19A2 2 0 0 1 21 7V17A2 2 0 0 1 19 19H5A2 2 0 0 1 3 17V7A2 2 0 0 1 5 5Z\"/>\n" +
|
|
9629
|
+
" <path d=\"M6 8.5L6 12A1 1 0 0 0 8 12L8 8.5A1 1 0 0 0 6 8.5Z\"/>\n" +
|
|
9630
|
+
" <path d=\"M6 15.5A1 1 0 1 1 8 15.5A1 1 0 1 1 6 15.5Z\"/>\n" +
|
|
9631
|
+
" <path d=\"M11 11L18 11A1 1 0 0 0 18 9L11 9A1 1 0 0 0 11 11Z\"/>\n" +
|
|
9632
|
+
" <path d=\"M11 15L15 15A1 1 0 0 0 15 13L11 13A1 1 0 0 0 11 15Z\"/>\n" +
|
|
9633
|
+
" </symbol>\n" +
|
|
9634
|
+
"\n" +
|
|
9635
|
+
" <symbol id=\"icon-avatar\" viewBox=\"0 0 24 24\">\n" +
|
|
9636
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1 12A11 11 0 1 1 23 12A11 11 0 1 1 1 12ZM3 12A9 9 0 1 1 21 12A9 9 0 1 1 3 12Z\"/>\n" +
|
|
9637
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 9.5A4 4 0 1 1 16 9.5A4 4 0 1 1 8 9.5ZM10 9.5A2 2 0 1 1 14 9.5A2 2 0 1 1 10 9.5Z\"/>\n" +
|
|
9638
|
+
" <path d=\"M4.95 18.94A7.5 7.5 0 0 1 19.05 18.94A1 1 0 0 1 17.17 19.62A5.5 5.5 0 0 0 6.83 19.62A1 1 0 0 1 4.95 18.94Z\"/>\n" +
|
|
9639
|
+
" </symbol>\n" +
|
|
9640
|
+
"\n" +
|
|
9641
|
+
" <symbol id=\"icon-button\" viewBox=\"0 0 24 24\">\n" +
|
|
9642
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 5H16A7 7 0 0 1 23 12V12A7 7 0 0 1 16 19H8A7 7 0 0 1 1 12V12A7 7 0 0 1 8 5ZM8 7H16A5 5 0 0 1 21 12V12A5 5 0 0 1 16 17H8A5 5 0 0 1 3 12V12A5 5 0 0 1 8 7Z\"/>\n" +
|
|
9643
|
+
" <path d=\"M8 13L16 13A1 1 0 0 0 16 11L8 11A1 1 0 0 0 8 13Z\"/>\n" +
|
|
9644
|
+
" </symbol>\n" +
|
|
9645
|
+
"\n" +
|
|
9646
|
+
" <symbol id=\"icon-choice\" viewBox=\"0 0 24 24\">\n" +
|
|
9647
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1 7A4 4 0 1 1 9 7A4 4 0 1 1 1 7ZM3 7A2 2 0 1 1 7 7A2 2 0 1 1 3 7Z\"/>\n" +
|
|
9648
|
+
" <path d=\"M4 7A1 1 0 1 1 6 7A1 1 0 1 1 4 7Z\"/>\n" +
|
|
9649
|
+
" <path d=\"M11 8L21 8A1 1 0 0 0 21 6L11 6A1 1 0 0 0 11 8Z\"/>\n" +
|
|
9650
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1 17A4 4 0 1 1 9 17A4 4 0 1 1 1 17ZM3 17A2 2 0 1 1 7 17A2 2 0 1 1 3 17Z\"/>\n" +
|
|
9651
|
+
" <path d=\"M11 18L18 18A1 1 0 0 0 18 16L11 16A1 1 0 0 0 11 18Z\"/>\n" +
|
|
9652
|
+
" </symbol>\n" +
|
|
9653
|
+
"\n" +
|
|
9654
|
+
" <symbol id=\"icon-date\" viewBox=\"0 0 24 24\">\n" +
|
|
9655
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 4H18.5A3.5 3.5 0 0 1 22 7.5V18.5A3.5 3.5 0 0 1 18.5 22H5.5A3.5 3.5 0 0 1 2 18.5V7.5A3.5 3.5 0 0 1 5.5 4ZM5.5 6H18.5A1.5 1.5 0 0 1 20 7.5V18.5A1.5 1.5 0 0 1 18.5 20H5.5A1.5 1.5 0 0 1 4 18.5V7.5A1.5 1.5 0 0 1 5.5 6Z\"/>\n" +
|
|
9656
|
+
" <path d=\"M3 11L21 11L21 9L3 9Z\"/>\n" +
|
|
9657
|
+
" <path d=\"M7 3L7 7A1 1 0 0 0 9 7L9 3A1 1 0 0 0 7 3Z\"/>\n" +
|
|
9658
|
+
" <path d=\"M15 3L15 7A1 1 0 0 0 17 7L17 3A1 1 0 0 0 15 3Z\"/>\n" +
|
|
9659
|
+
" <path d=\"M13.5 13H16.5A1 1 0 0 1 17.5 14V17A1 1 0 0 1 16.5 18H13.5A1 1 0 0 1 12.5 17V14A1 1 0 0 1 13.5 13Z\"/>\n" +
|
|
9660
|
+
" </symbol>\n" +
|
|
9661
|
+
"\n" +
|
|
9662
|
+
" <symbol id=\"icon-date-range\" viewBox=\"0 0 24 24\">\n" +
|
|
9663
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 4H18.5A3.5 3.5 0 0 1 22 7.5V18.5A3.5 3.5 0 0 1 18.5 22H5.5A3.5 3.5 0 0 1 2 18.5V7.5A3.5 3.5 0 0 1 5.5 4ZM5.5 6H18.5A1.5 1.5 0 0 1 20 7.5V18.5A1.5 1.5 0 0 1 18.5 20H5.5A1.5 1.5 0 0 1 4 18.5V7.5A1.5 1.5 0 0 1 5.5 6Z\"/>\n" +
|
|
9664
|
+
" <path d=\"M3 11L21 11L21 9L3 9Z\"/>\n" +
|
|
9665
|
+
" <path d=\"M7 3L7 7A1 1 0 0 0 9 7L9 3A1 1 0 0 0 7 3Z\"/>\n" +
|
|
9666
|
+
" <path d=\"M15 3L15 7A1 1 0 0 0 17 7L17 3A1 1 0 0 0 15 3Z\"/>\n" +
|
|
9667
|
+
" <path d=\"M5.75 15.5A1.75 1.75 0 1 1 9.25 15.5A1.75 1.75 0 1 1 5.75 15.5Z\"/>\n" +
|
|
9668
|
+
" <path d=\"M14.75 15.5A1.75 1.75 0 1 1 18.25 15.5A1.75 1.75 0 1 1 14.75 15.5Z\"/>\n" +
|
|
9669
|
+
" <path d=\"M7.5 16.5L16.5 16.5A1 1 0 0 0 16.5 14.5L7.5 14.5A1 1 0 0 0 7.5 16.5Z\"/>\n" +
|
|
9670
|
+
" </symbol>\n" +
|
|
9671
|
+
"\n" +
|
|
9672
|
+
" <symbol id=\"icon-datetime\" viewBox=\"0 0 24 24\">\n" +
|
|
9673
|
+
" <path d=\"M10.88 22H5.5A3.5 3.5 0 0 1 2 18.5V7.5A3.5 3.5 0 0 1 5.5 4H18.5A3.5 3.5 0 0 1 22 7.5V10A1 1 0 0 1 20 10V7.5A1.5 1.5 0 0 0 18.5 6H5.5A1.5 1.5 0 0 0 4 7.5V18.5A1.5 1.5 0 0 0 5.5 20H10.88A1 1 0 0 1 10.88 22Z\"/>\n" +
|
|
9674
|
+
" <path d=\"M3 11L21 11L21 9L3 9Z\"/>\n" +
|
|
9675
|
+
" <path d=\"M7 3L7 7A1 1 0 0 0 9 7L9 3A1 1 0 0 0 7 3Z\"/>\n" +
|
|
9676
|
+
" <path d=\"M15 3L15 7A1 1 0 0 0 17 7L17 3A1 1 0 0 0 15 3Z\"/>\n" +
|
|
9677
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.5 17A5.5 5.5 0 1 1 22.5 17A5.5 5.5 0 1 1 11.5 17ZM13.5 17A3.5 3.5 0 1 1 20.5 17A3.5 3.5 0 1 1 13.5 17Z\"/>\n" +
|
|
9678
|
+
" <path d=\"M16 14.75L16 17A1 1 0 0 0 18 17L18 14.75A1 1 0 0 0 16 14.75ZM16.45 17.83L17.95 18.83A1 1 0 0 0 19.05 17.17L17.55 16.17A1 1 0 0 0 16.45 17.83Z\"/>\n" +
|
|
9679
|
+
" </symbol>\n" +
|
|
9680
|
+
"\n" +
|
|
9681
|
+
" <symbol id=\"icon-input-date\" viewBox=\"0 0 24 24\">\n" +
|
|
9682
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9683
|
+
" <path d=\"M6 13L9.5 13A1 1 0 0 0 9.5 11L6 11A1 1 0 0 0 6 13Z\"/>\n" +
|
|
9684
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 7.75H17.5A2 2 0 0 1 19.5 9.75V14.25A2 2 0 0 1 17.5 16.25H14.5A2 2 0 0 1 12.5 14.25V9.75A2 2 0 0 1 14.5 7.75ZM14.5 9.25H17.5A0.5 0.5 0 0 1 18 9.75V14.25A0.5 0.5 0 0 1 17.5 14.75H14.5A0.5 0.5 0 0 1 14 14.25V9.75A0.5 0.5 0 0 1 14.5 9.25Z\"/>\n" +
|
|
9685
|
+
" <path d=\"M13.25 11.75L18.75 11.75L18.75 10.25L13.25 10.25Z\"/>\n" +
|
|
9686
|
+
" </symbol>\n" +
|
|
9687
|
+
"\n" +
|
|
9688
|
+
" <symbol id=\"icon-shapes\" viewBox=\"0 0 24 24\">\n" +
|
|
9689
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 7A5 5 0 1 1 12 7A5 5 0 1 1 2 7ZM4 7A3 3 0 1 1 10 7A3 3 0 1 1 4 7Z\"/>\n" +
|
|
9690
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 2H19.5A2.5 2.5 0 0 1 22 4.5V9.5A2.5 2.5 0 0 1 19.5 12H14.5A2.5 2.5 0 0 1 12 9.5V4.5A2.5 2.5 0 0 1 14.5 2ZM14.5 4H19.5A0.5 0.5 0 0 1 20 4.5V9.5A0.5 0.5 0 0 1 19.5 10H14.5A0.5 0.5 0 0 1 14 9.5V4.5A0.5 0.5 0 0 1 14.5 4Z\"/>\n" +
|
|
9691
|
+
" <path d=\"M6.29 13.71L10.29 17.71A1 1 0 0 0 11.71 16.29L7.71 12.29A1 1 0 0 0 6.29 13.71ZM10.29 16.29L6.29 20.29A1 1 0 0 0 7.71 21.71L11.71 17.71A1 1 0 0 0 10.29 16.29ZM7.71 20.29L3.71 16.29A1 1 0 0 0 2.29 17.71L6.29 21.71A1 1 0 0 0 7.71 20.29ZM3.71 17.71L7.71 13.71A1 1 0 0 0 6.29 12.29L2.29 16.29A1 1 0 0 0 3.71 17.71Z\"/>\n" +
|
|
9692
|
+
" <path d=\"M16 13L16 21A1 1 0 0 0 18 21L18 13A1 1 0 0 0 16 13Z\"/>\n" +
|
|
9693
|
+
" <path d=\"M13 18L21 18A1 1 0 0 0 21 16L13 16A1 1 0 0 0 13 18Z\"/>\n" +
|
|
9694
|
+
" </symbol>\n" +
|
|
9695
|
+
"\n" +
|
|
9696
|
+
" <symbol id=\"icon-no-data\" viewBox=\"0 0 24 24\">\n" +
|
|
9697
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.5 11H19.5A3.5 3.5 0 0 1 23 14.5V18.5A3.5 3.5 0 0 1 19.5 22H4.5A3.5 3.5 0 0 1 1 18.5V14.5A3.5 3.5 0 0 1 4.5 11ZM4.5 13H19.5A1.5 1.5 0 0 1 21 14.5V18.5A1.5 1.5 0 0 1 19.5 20H4.5A1.5 1.5 0 0 1 3 18.5V14.5A1.5 1.5 0 0 1 4.5 13Z\"/>\n" +
|
|
9698
|
+
" <path d=\"M3 14L7 14A1 1 0 0 0 7 12L3 12A1 1 0 0 0 3 14ZM6.17 13.55L8.17 16.55A1 1 0 0 0 9.83 15.45L7.83 12.45A1 1 0 0 0 6.17 13.55ZM9 17L15 17A1 1 0 0 0 15 15L9 15A1 1 0 0 0 9 17ZM15.83 16.55L17.83 13.55A1 1 0 0 0 16.17 12.45L14.17 15.45A1 1 0 0 0 15.83 16.55ZM17 14L21 14A1 1 0 0 0 21 12L17 12A1 1 0 0 0 17 14Z\"/>\n" +
|
|
9699
|
+
" <path d=\"M11 3L11 7A1 1 0 0 0 13 7L13 3A1 1 0 0 0 11 3Z\"/>\n" +
|
|
9700
|
+
" <path d=\"M4.17 6.05L6.17 9.05A1 1 0 0 0 7.83 7.95L5.83 4.95A1 1 0 0 0 4.17 6.05Z\"/>\n" +
|
|
9701
|
+
" <path d=\"M18.17 4.95L16.17 7.95A1 1 0 0 0 17.83 9.05L19.83 6.05A1 1 0 0 0 18.17 4.95Z\"/>\n" +
|
|
9702
|
+
" </symbol>\n" +
|
|
9703
|
+
"\n" +
|
|
9704
|
+
" <symbol id=\"icon-notifications\" viewBox=\"0 0 24 24\">\n" +
|
|
9705
|
+
" <path d=\"M6 5L18 5A1 1 0 0 0 18 3L6 3A1 1 0 0 0 6 5Z\"/>\n" +
|
|
9706
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 7H19A4 4 0 0 1 23 11V18A4 4 0 0 1 19 22H5A4 4 0 0 1 1 18V11A4 4 0 0 1 5 7ZM5 9H19A2 2 0 0 1 21 11V18A2 2 0 0 1 19 20H5A2 2 0 0 1 3 18V11A2 2 0 0 1 5 9Z\"/>\n" +
|
|
9707
|
+
" <path d=\"M5.25 14.5A1.75 1.75 0 1 1 8.75 14.5A1.75 1.75 0 1 1 5.25 14.5Z\"/>\n" +
|
|
9708
|
+
" <path d=\"M11 13.5L18 13.5A1 1 0 0 0 18 11.5L11 11.5A1 1 0 0 0 11 13.5Z\"/>\n" +
|
|
9709
|
+
" <path d=\"M11 17.5L15 17.5A1 1 0 0 0 15 15.5L11 15.5A1 1 0 0 0 11 17.5Z\"/>\n" +
|
|
9710
|
+
" </symbol>\n" +
|
|
9711
|
+
"\n" +
|
|
9712
|
+
" <symbol id=\"icon-popup\" viewBox=\"0 0 24 24\">\n" +
|
|
9713
|
+
" <path d=\"M9.5 18H5A4 4 0 0 1 1 14V6A4 4 0 0 1 5 2H19A4 4 0 0 1 23 6V14A4 4 0 0 1 19 18H14.5A1 1 0 0 1 14.5 16H19A2 2 0 0 0 21 14V6A2 2 0 0 0 19 4H5A2 2 0 0 0 3 6V14A2 2 0 0 0 5 16H9.5A1 1 0 0 1 9.5 18Z\"/>\n" +
|
|
9714
|
+
" <path d=\"M8.69 17.58L11.19 21.08A1 1 0 0 0 12.81 19.92L10.31 16.42A1 1 0 0 0 8.69 17.58ZM12.81 21.08L15.31 17.58A1 1 0 0 0 13.69 16.42L11.19 19.92A1 1 0 0 0 12.81 21.08Z\"/>\n" +
|
|
9715
|
+
" <path d=\"M6.5 9L17.5 9A1 1 0 0 0 17.5 7L6.5 7A1 1 0 0 0 6.5 9Z\"/>\n" +
|
|
9716
|
+
" <path d=\"M6.5 13L14 13A1 1 0 0 0 14 11L6.5 11A1 1 0 0 0 6.5 13Z\"/>\n" +
|
|
9717
|
+
" </symbol>\n" +
|
|
9718
|
+
"\n" +
|
|
9719
|
+
" <symbol id=\"icon-tooltip\" viewBox=\"0 0 24 24\">\n" +
|
|
9720
|
+
" <path d=\"M9.5 14H7A4 4 0 0 1 3 10V6A4 4 0 0 1 7 2H17A4 4 0 0 1 21 6V10A4 4 0 0 1 17 14H14.5A1 1 0 0 1 14.5 12H17A2 2 0 0 0 19 10V6A2 2 0 0 0 17 4H7A2 2 0 0 0 5 6V10A2 2 0 0 0 7 12H9.5A1 1 0 0 1 9.5 14Z\"/>\n" +
|
|
9721
|
+
" <path d=\"M8.73 13.64L11.23 16.64A1 1 0 0 0 12.77 15.36L10.27 12.36A1 1 0 0 0 8.73 13.64ZM12.77 16.64L15.27 13.64A1 1 0 0 0 13.73 12.36L11.23 15.36A1 1 0 0 0 12.77 16.64Z\"/>\n" +
|
|
9722
|
+
" <path d=\"M8.5 9L15.5 9A1 1 0 0 0 15.5 7L8.5 7A1 1 0 0 0 8.5 9Z\"/>\n" +
|
|
9723
|
+
" <path d=\"M6 21.5L18 21.5A1 1 0 0 0 18 19.5L6 19.5A1 1 0 0 0 6 21.5Z\"/>\n" +
|
|
9724
|
+
" </symbol>\n" +
|
|
9725
|
+
"\n" +
|
|
9726
|
+
" <symbol id=\"icon-data-table\" viewBox=\"0 0 24 24\">\n" +
|
|
9727
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.5 2H19.5A3.5 3.5 0 0 1 23 5.5V18.5A3.5 3.5 0 0 1 19.5 22H4.5A3.5 3.5 0 0 1 1 18.5V5.5A3.5 3.5 0 0 1 4.5 2ZM4.5 4H19.5A1.5 1.5 0 0 1 21 5.5V18.5A1.5 1.5 0 0 1 19.5 20H4.5A1.5 1.5 0 0 1 3 18.5V5.5A1.5 1.5 0 0 1 4.5 4Z\"/>\n" +
|
|
9728
|
+
" <path d=\"M2 9.5L22 9.5L22 7.5L2 7.5Z\"/>\n" +
|
|
9729
|
+
" <path d=\"M2 16L22 16L22 14L2 14Z\"/>\n" +
|
|
9730
|
+
" <path d=\"M8 3L8 21L10 21L10 3Z\"/>\n" +
|
|
9731
|
+
" </symbol>\n" +
|
|
9732
|
+
"\n" +
|
|
9733
|
+
" <symbol id=\"icon-virtual-scroll\" viewBox=\"0 0 24 24\">\n" +
|
|
9734
|
+
" <path d=\"M3 6L14 6A1 1 0 0 0 14 4L3 4A1 1 0 0 0 3 6Z\"/>\n" +
|
|
9735
|
+
" <path d=\"M3 11L14 11A1 1 0 0 0 14 9L3 9A1 1 0 0 0 3 11Z\"/>\n" +
|
|
9736
|
+
" <path d=\"M3 16L14 16A1 1 0 0 0 14 14L3 14A1 1 0 0 0 3 16Z\"/>\n" +
|
|
9737
|
+
" <path d=\"M3 21L11 21A1 1 0 0 0 11 19L3 19A1 1 0 0 0 3 21Z\"/>\n" +
|
|
9738
|
+
" <path d=\"M19 4.5L19 10.5A1.5 1.5 0 0 0 22 10.5L22 4.5A1.5 1.5 0 0 0 19 4.5Z\"/>\n" +
|
|
9739
|
+
" </symbol>\n" +
|
|
9740
|
+
"\n" +
|
|
9741
|
+
" <symbol id=\"icon-yesno\" viewBox=\"0 0 24 24\">\n" +
|
|
9742
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 5H19A4 4 0 0 1 23 9V15A4 4 0 0 1 19 19H5A4 4 0 0 1 1 15V9A4 4 0 0 1 5 5ZM5 7H19A2 2 0 0 1 21 9V15A2 2 0 0 1 19 17H5A2 2 0 0 1 3 15V9A2 2 0 0 1 5 7Z\"/>\n" +
|
|
9743
|
+
" <path d=\"M11 6L11 18L13 18L13 6Z\"/>\n" +
|
|
9744
|
+
" <path d=\"M4.54 12.96L6.04 14.46A1 1 0 0 0 7.46 13.04L5.96 11.54A1 1 0 0 0 4.54 12.96ZM7.52 14.39L10.02 11.39A1 1 0 0 0 8.48 10.11L5.98 13.11A1 1 0 0 0 7.52 14.39Z\"/>\n" +
|
|
9745
|
+
" <path d=\"M14.79 11.21L17.79 14.21A1 1 0 0 0 19.21 12.79L16.21 9.79A1 1 0 0 0 14.79 11.21Z\"/>\n" +
|
|
9746
|
+
" <path d=\"M17.79 9.79L14.79 12.79A1 1 0 0 0 16.21 14.21L19.21 11.21A1 1 0 0 0 17.79 9.79Z\"/>\n" +
|
|
9747
|
+
" </symbol>\n" +
|
|
9748
|
+
"\n" +
|
|
9749
|
+
" <symbol id=\"icon-wrapper\" viewBox=\"0 0 24 24\">\n" +
|
|
9750
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 2H19A4 4 0 0 1 23 6V18A4 4 0 0 1 19 22H5A4 4 0 0 1 1 18V6A4 4 0 0 1 5 2ZM5 4H19A2 2 0 0 1 21 6V18A2 2 0 0 1 19 20H5A2 2 0 0 1 3 18V6A2 2 0 0 1 5 4Z\"/>\n" +
|
|
9751
|
+
" <path d=\"M6 8.75L12.5 8.75A1 1 0 0 0 12.5 6.75L6 6.75A1 1 0 0 0 6 8.75Z\"/>\n" +
|
|
9752
|
+
" <path d=\"M15.29 7.71L16.79 9.21A1 1 0 0 0 18.21 7.79L16.71 6.29A1 1 0 0 0 15.29 7.71ZM18.21 9.21L19.71 7.71A1 1 0 0 0 18.29 6.29L16.79 7.79A1 1 0 0 0 18.21 9.21Z\"/>\n" +
|
|
9753
|
+
" <path d=\"M2 13L22 13L22 11L2 11Z\"/>\n" +
|
|
9754
|
+
" <path d=\"M6 17.5L18 17.5A1 1 0 0 0 18 15.5L6 15.5A1 1 0 0 0 6 17.5Z\"/>\n" +
|
|
9755
|
+
" </symbol>\n" +
|
|
9756
|
+
"\n" +
|
|
9757
|
+
" <symbol id=\"icon-badges-list\" viewBox=\"0 0 24 24\">\n" +
|
|
9758
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.5 3H9.5A3.5 3.5 0 0 1 13 6.5V6.5A3.5 3.5 0 0 1 9.5 10H4.5A3.5 3.5 0 0 1 1 6.5V6.5A3.5 3.5 0 0 1 4.5 3ZM4.5 5H9.5A1.5 1.5 0 0 1 11 6.5V6.5A1.5 1.5 0 0 1 9.5 8H4.5A1.5 1.5 0 0 1 3 6.5V6.5A1.5 1.5 0 0 1 4.5 5Z\"/>\n" +
|
|
9759
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18.5 3H19.5A3.5 3.5 0 0 1 23 6.5V6.5A3.5 3.5 0 0 1 19.5 10H18.5A3.5 3.5 0 0 1 15 6.5V6.5A3.5 3.5 0 0 1 18.5 3ZM18.5 5H19.5A1.5 1.5 0 0 1 21 6.5V6.5A1.5 1.5 0 0 1 19.5 8H18.5A1.5 1.5 0 0 1 17 6.5V6.5A1.5 1.5 0 0 1 18.5 5Z\"/>\n" +
|
|
9760
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.5 14H7.5A3.5 3.5 0 0 1 11 17.5V17.5A3.5 3.5 0 0 1 7.5 21H4.5A3.5 3.5 0 0 1 1 17.5V17.5A3.5 3.5 0 0 1 4.5 14ZM4.5 16H7.5A1.5 1.5 0 0 1 9 17.5V17.5A1.5 1.5 0 0 1 7.5 19H4.5A1.5 1.5 0 0 1 3 17.5V17.5A1.5 1.5 0 0 1 4.5 16Z\"/>\n" +
|
|
9761
|
+
" <path d=\"M13.25 17.5A1.25 1.25 0 1 0 15.75 17.5A1.25 1.25 0 1 0 13.25 17.5ZM16.75 17.5A1.25 1.25 0 1 0 19.25 17.5A1.25 1.25 0 1 0 16.75 17.5ZM20.25 17.5A1.25 1.25 0 1 0 22.75 17.5A1.25 1.25 0 1 0 20.25 17.5Z\"/>\n" +
|
|
9762
|
+
" </symbol>\n" +
|
|
9763
|
+
"\n" +
|
|
9764
|
+
" <symbol id=\"icon-dialog\" viewBox=\"0 0 24 24\">\n" +
|
|
9765
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 2H19A4 4 0 0 1 23 6V18A4 4 0 0 1 19 22H5A4 4 0 0 1 1 18V6A4 4 0 0 1 5 2ZM5 4H19A2 2 0 0 1 21 6V18A2 2 0 0 1 19 20H5A2 2 0 0 1 3 18V6A2 2 0 0 1 5 4Z\"/>\n" +
|
|
9766
|
+
" <path d=\"M6 8L13 8A1 1 0 0 0 13 6L6 6A1 1 0 0 0 6 8Z\"/>\n" +
|
|
9767
|
+
" <path d=\"M6 12L18 12A1 1 0 0 0 18 10L6 10A1 1 0 0 0 6 12Z\"/>\n" +
|
|
9768
|
+
" <path d=\"M12 18H17A1 1 0 0 0 18 17V16A1 1 0 0 0 17 15H12A1 1 0 0 0 11 16V17A1 1 0 0 0 12 18Z\"/>\n" +
|
|
9259
9769
|
" </symbol>\n" +
|
|
9260
9770
|
"\n" +
|
|
9261
9771
|
" <symbol id=\"icon-input-percent\" viewBox=\"0 0 24 24\">\n" +
|
|
9262
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9263
|
-
" <path d=\"M8.
|
|
9772
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9773
|
+
" <path d=\"M8.595 14.143V13.781C8.595 13.507 8.653 13.254 8.769 13.025C8.887 12.792 9.058 12.607 9.281 12.469C9.507 12.328 9.781 12.258 10.105 12.258C10.433 12.258 10.709 12.327 10.932 12.465C11.157 12.604 11.327 12.789 11.441 13.021C11.557 13.251 11.615 13.504 11.615 13.781V14.143C11.615 14.417 11.557 14.671 11.441 14.903C11.325 15.133 11.154 15.317 10.929 15.455C10.703 15.596 10.429 15.666 10.105 15.666C9.777 15.666 9.501 15.596 9.278 15.455C9.055 15.317 8.885 15.133 8.769 14.903C8.653 14.671 8.595 14.417 8.595 14.143ZM9.569 13.781V14.143C9.569 14.301 9.607 14.451 9.683 14.591C9.761 14.732 9.902 14.802 10.105 14.802C10.308 14.802 10.446 14.733 10.52 14.595C10.596 14.456 10.634 14.306 10.634 14.143V13.781C10.634 13.618 10.598 13.466 10.527 13.326C10.455 13.185 10.315 13.115 10.105 13.115C9.904 13.115 9.765 13.185 9.686 13.326C9.608 13.466 9.569 13.618 9.569 13.781ZM5.076 10.219V9.857C5.076 9.58 5.135 9.327 5.253 9.097C5.372 8.865 5.542 8.68 5.766 8.541C5.991 8.403 6.263 8.334 6.583 8.334C6.913 8.334 7.19 8.403 7.413 8.541C7.636 8.68 7.806 8.865 7.922 9.097C8.038 9.327 8.096 9.58 8.096 9.857V10.219C8.096 10.496 8.037 10.749 7.919 10.979C7.802 11.209 7.632 11.393 7.406 11.531C7.183 11.667 6.908 11.735 6.583 11.735C6.257 11.735 5.981 11.666 5.756 11.528C5.532 11.387 5.363 11.203 5.247 10.975C5.133 10.746 5.076 10.493 5.076 10.219ZM6.057 9.857V10.219C6.057 10.382 6.095 10.532 6.171 10.671C6.249 10.809 6.386 10.878 6.583 10.878C6.788 10.878 6.927 10.809 7.001 10.671C7.077 10.532 7.115 10.382 7.115 10.219V9.857C7.115 9.694 7.079 9.542 7.008 9.402C6.936 9.261 6.795 9.191 6.583 9.191C6.384 9.191 6.247 9.262 6.171 9.405C6.095 9.548 6.057 9.699 6.057 9.857ZM5.518 15.429L10.232 8.571H11.109L6.395 15.429H5.518Z\"/>\n" +
|
|
9264
9774
|
" </symbol>\n" +
|
|
9265
9775
|
"\n" +
|
|
9266
9776
|
" <symbol id=\"icon-input-number\" viewBox=\"0 0 24 24\">\n" +
|
|
9267
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9268
|
-
" <path d=\"M9.
|
|
9269
|
-
" <path d=\"M7.
|
|
9777
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9778
|
+
" <path d=\"M9.455 15.429V14.384L11.895 12.124C12.103 11.923 12.277 11.742 12.418 11.581C12.561 11.421 12.669 11.263 12.742 11.109C12.816 10.953 12.853 10.785 12.853 10.604C12.853 10.403 12.807 10.23 12.716 10.085C12.624 9.938 12.499 9.825 12.341 9.747C12.182 9.666 12.002 9.626 11.802 9.626C11.592 9.626 11.409 9.669 11.252 9.753C11.096 9.838 10.976 9.96 10.891 10.118C10.806 10.277 10.764 10.465 10.764 10.684H9.388C9.388 10.235 9.489 9.846 9.692 9.516C9.895 9.185 10.18 8.93 10.546 8.749C10.912 8.568 11.334 8.478 11.812 8.478C12.303 8.478 12.73 8.565 13.094 8.739C13.46 8.911 13.745 9.15 13.948 9.455C14.151 9.761 14.252 10.112 14.252 10.507C14.252 10.766 14.201 11.021 14.098 11.273C13.998 11.526 13.818 11.806 13.559 12.114C13.301 12.42 12.936 12.787 12.465 13.215L11.463 14.196V14.243H14.343V15.429H9.455Z\"/>\n" +
|
|
9779
|
+
" <path d=\"M7.825 8.571V15.429H6.375V9.948H6.335L4.765 10.932V9.646L6.462 8.571H7.825Z\"/>\n" +
|
|
9270
9780
|
" </symbol>\n" +
|
|
9271
9781
|
"\n" +
|
|
9272
9782
|
" <symbol id=\"icon-input-text\" viewBox=\"0 0 24 24\">\n" +
|
|
9273
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9274
|
-
" <path d=\"M11.
|
|
9275
|
-
" <path d=\"
|
|
9783
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9784
|
+
" <path d=\"M11.935 15.429V8.571H14.68C15.185 8.571 15.605 8.646 15.943 8.796C16.28 8.945 16.533 9.153 16.703 9.419C16.872 9.682 16.957 9.985 16.957 10.329C16.957 10.597 16.903 10.833 16.796 11.036C16.689 11.237 16.542 11.402 16.354 11.531C16.169 11.659 15.957 11.749 15.718 11.802V11.869C15.979 11.881 16.224 11.954 16.451 12.09C16.681 12.227 16.868 12.417 17.011 12.663C17.153 12.906 17.225 13.196 17.225 13.534C17.225 13.897 17.134 14.222 16.954 14.508C16.775 14.791 16.511 15.016 16.16 15.181C15.81 15.346 15.378 15.429 14.864 15.429H11.935ZM13.384 14.243H14.566C14.97 14.243 15.265 14.166 15.45 14.012C15.636 13.856 15.728 13.648 15.728 13.39C15.728 13.2 15.682 13.032 15.591 12.887C15.499 12.742 15.369 12.628 15.199 12.546C15.032 12.463 14.832 12.422 14.6 12.422H13.384V14.243ZM13.384 11.441H14.459C14.658 11.441 14.834 11.406 14.988 11.337C15.145 11.266 15.267 11.165 15.357 11.036C15.448 10.906 15.494 10.751 15.494 10.57C15.494 10.323 15.406 10.123 15.229 9.971C15.055 9.819 14.807 9.743 14.486 9.743H13.384V11.441Z\"/>\n" +
|
|
9785
|
+
" <path d=\"M6.064 15.429H4.51L6.877 8.571H8.746L11.109 15.429H9.556L7.838 10.138H7.785L6.064 15.429ZM5.967 12.733H9.636V13.865H5.967V12.733Z\"/>\n" +
|
|
9276
9786
|
" </symbol>\n" +
|
|
9277
9787
|
"\n" +
|
|
9278
9788
|
" <symbol id=\"icon-input\" viewBox=\"0 0 24 24\">\n" +
|
|
9279
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9280
|
-
" <path d=\"
|
|
9789
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9790
|
+
" <path d=\"M5.5 9L5.5 15A1 1 0 0 0 7.5 15L7.5 9A1 1 0 0 0 5.5 9Z\"/>\n" +
|
|
9281
9791
|
" </symbol>\n" +
|
|
9282
9792
|
"\n" +
|
|
9283
9793
|
" <symbol id=\"icon-dropdown\" viewBox=\"0 0 24 24\">\n" +
|
|
9284
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9285
|
-
" <path d=\"
|
|
9794
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9795
|
+
" <path d=\"M6 13L10 13A1 1 0 0 0 10 11L6 11A1 1 0 0 0 6 13Z\"/>\n" +
|
|
9796
|
+
" <path d=\"M14.79 11.71L16.79 13.71A1 1 0 0 0 18.21 12.29L16.21 10.29A1 1 0 0 0 14.79 11.71ZM18.21 13.71L20.21 11.71A1 1 0 0 0 18.79 10.29L16.79 12.29A1 1 0 0 0 18.21 13.71Z\"/>\n" +
|
|
9286
9797
|
" </symbol>\n" +
|
|
9287
9798
|
"\n" +
|
|
9288
9799
|
" <symbol id=\"icon-options\" viewBox=\"0 0 24 24\">\n" +
|
|
9289
|
-
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"
|
|
9290
|
-
" <path d=\"
|
|
9291
|
-
" <path d=\"
|
|
9292
|
-
" <path d=\"M16
|
|
9800
|
+
" <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 4H19A4 4 0 0 1 23 8V16A4 4 0 0 1 19 20H5A4 4 0 0 1 1 16V8A4 4 0 0 1 5 4ZM5 6H19A2 2 0 0 1 21 8V16A2 2 0 0 1 19 18H5A2 2 0 0 1 3 16V8A2 2 0 0 1 5 6Z\"/>\n" +
|
|
9801
|
+
" <path d=\"M6 9L6 15A1 1 0 0 0 8 15L8 9A1 1 0 0 0 6 9Z\"/>\n" +
|
|
9802
|
+
" <path d=\"M11 9L11 15A1 1 0 0 0 13 15L13 9A1 1 0 0 0 11 9Z\"/>\n" +
|
|
9803
|
+
" <path d=\"M16 9L16 15A1 1 0 0 0 18 15L18 9A1 1 0 0 0 16 9Z\"/>\n" +
|
|
9293
9804
|
" </symbol>\n" +
|
|
9294
9805
|
"\n" +
|
|
9295
9806
|
" <symbol id=\"icon-seat\" viewBox=\"0 0 370 370\">\n" +
|
|
@@ -9544,7 +10055,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
9544
10055
|
" <button type=\"button\" class=\"nice-toggle-field\" ng-click=\"toggle()\" ng-disabled=\"isDisabled\">\n" +
|
|
9545
10056
|
" <div class=\"nice-toggle-field-handle\">\n" +
|
|
9546
10057
|
" <nice-icon ng-if=\"showIcons && model\" icon=\"icon-check\"></nice-icon>\n" +
|
|
9547
|
-
"
|
|
10058
|
+
" \n" +
|
|
9548
10059
|
" </div>\n" +
|
|
9549
10060
|
" </button>\n" +
|
|
9550
10061
|
" </div>\n" +
|
|
@@ -9570,7 +10081,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
9570
10081
|
" <div class=\"text text-placeholder\" ng-if=\"dragging\" translate translate-group=\"Nice\">Drop file here</div>\n" +
|
|
9571
10082
|
" <div class=\"error\" ng-if=\"error\">{{ error }}</div>\n" +
|
|
9572
10083
|
" </div>\n" +
|
|
9573
|
-
" <div ng-if=\"imageSource\" ng-transclude>\n" +
|
|
10084
|
+
" <div ng-if=\"imageSource && !(loading && uploadProgress != null)\" ng-transclude>\n" +
|
|
9574
10085
|
" <img data-ng-src=\"{{ imageSource }}\">\n" +
|
|
9575
10086
|
" </div>\n" +
|
|
9576
10087
|
" </div>\n" +
|
|
@@ -9614,6 +10125,7 @@ angular.module('niceElements').run(['$templateCache', function($templateCache) {
|
|
|
9614
10125
|
" <div class=\"nice-view-header-subtitle\">{{ niceSubtitle }}</div>\n" +
|
|
9615
10126
|
" <div class=\"nice-view-header-title\">{{ niceTitle }}</div>\n" +
|
|
9616
10127
|
" </div>\n" +
|
|
10128
|
+
" <div class=\"nice-view-header-content\" ng-transclude=\"header\"></div>\n" +
|
|
9617
10129
|
" </div>\n" +
|
|
9618
10130
|
" </div>\n" +
|
|
9619
10131
|
" <div class=\"nice-view-body\" ng-transclude></div>\n" +
|