@acorex/components 1.3.89 → 1.3.93

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.
@@ -1132,6 +1132,7 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1132
1132
  if (v == undefined) {
1133
1133
  this._value = null;
1134
1134
  this.focusedValue = this.today;
1135
+ this.viewRange = this.today.month.range;
1135
1136
  this.navigate(0);
1136
1137
  }
1137
1138
  this.onClick.emit({
@@ -1144,6 +1145,13 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1144
1145
  enumerable: true,
1145
1146
  configurable: true
1146
1147
  });
1148
+ Object.defineProperty(AXCalendarBoxComponent.prototype, "today", {
1149
+ get: function () {
1150
+ return new AXDateTime(new Date(), this.type);
1151
+ },
1152
+ enumerable: true,
1153
+ configurable: true
1154
+ });
1147
1155
  AXCalendarBoxComponent.prototype.findDay = function (date) {
1148
1156
  if (this.dayStyle.find(function (c) { return c.date == date.toISOString().split('T')[0]; })) {
1149
1157
  return true;
@@ -1169,12 +1177,17 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1169
1177
  }
1170
1178
  };
1171
1179
  AXCalendarBoxComponent.prototype.ngOnInit = function () {
1172
- this.today = this.focusedValue = new AXDateTime(new Date(), this.type);
1180
+ this.focusedValue = new AXDateTime(new Date(), this.type);
1173
1181
  //
1174
1182
  this.initLayout();
1175
1183
  //
1176
1184
  this.viewRange = this.today.month.range;
1177
- this.setFocus(this.today);
1185
+ if (this.value) {
1186
+ this.setFocus(new AXDateTime(this.value, this.type));
1187
+ }
1188
+ else {
1189
+ this.setFocus(this.today);
1190
+ }
1178
1191
  this.view = 'day';
1179
1192
  };
1180
1193
  AXCalendarBoxComponent.prototype.getViewCompaire = function (view) {
@@ -1224,9 +1237,7 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1224
1237
  };
1225
1238
  AXCalendarBoxComponent.prototype.rotate = function (array, n) {
1226
1239
  var len = array.length;
1227
- return !(n % len) ? array
1228
- : n > 0 ? array.map(function (e, i, a) { return a[(i + n) % len]; })
1229
- : array.map(function (e, i, a) { return a[(len - (len - i - n) % len) % len]; });
1240
+ return !(n % len) ? array : n > 0 ? array.map(function (e, i, a) { return a[(i + n) % len]; }) : array.map(function (e, i, a) { return a[(len - ((len - i - n) % len)) % len]; });
1230
1241
  };
1231
1242
  AXCalendarBoxComponent.prototype.navigate = function (value) {
1232
1243
  var start;
@@ -1237,10 +1248,7 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1237
1248
  fd = value.startOf('month');
1238
1249
  }
1239
1250
  else {
1240
- fd = this.viewRange.startTime
1241
- .add('day', 15)
1242
- .add('month', value)
1243
- .startOf('month');
1251
+ fd = this.viewRange.startTime.add('day', 15).add('month', value).startOf('month');
1244
1252
  }
1245
1253
  start = fd.firstDayOfWeek;
1246
1254
  end = fd.endOf('month').endDayOfWeek;
@@ -1263,10 +1271,7 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1263
1271
  fd = value.startOf('year');
1264
1272
  }
1265
1273
  else {
1266
- fd = this.viewRange.startTime
1267
- .add('day', 15)
1268
- .add('year', value)
1269
- .startOf('year');
1274
+ fd = this.viewRange.startTime.add('day', 15).add('year', value).startOf('year');
1270
1275
  }
1271
1276
  start = fd;
1272
1277
  end = fd.endOf('year');
@@ -1287,10 +1292,10 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1287
1292
  }
1288
1293
  this.viewRange = new AXDateTimeRange(start, end);
1289
1294
  //
1290
- if (this.getHoliday && typeof (this.getHoliday) === 'function') {
1295
+ if (this.getHoliday && typeof this.getHoliday === 'function') {
1291
1296
  this.holidays = this.getHoliday(start.date, end.date, this.type);
1292
1297
  }
1293
- if (this.getWeekend && typeof (this.getWeekend) === 'function') {
1298
+ if (this.getWeekend && typeof this.getWeekend === 'function') {
1294
1299
  this.weekends = this.getWeekend(start.date, end.date, this.type);
1295
1300
  }
1296
1301
  //
@@ -1381,8 +1386,9 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1381
1386
  r = d.compaireNew(new AXDateTime(this.max, this.type), this.getViewCompaire(this.view), this.type) === 1;
1382
1387
  }
1383
1388
  if (this.min && this.max) {
1384
- r = (d.compaireNew(new AXDateTime(this.min, this.type), this.getViewCompaire(this.view), this.type) === -1 ||
1385
- d.compaireNew(new AXDateTime(this.max, this.type), this.getViewCompaire(this.view), this.type) === 1);
1389
+ r =
1390
+ d.compaireNew(new AXDateTime(this.min, this.type), this.getViewCompaire(this.view), this.type) === -1 ||
1391
+ d.compaireNew(new AXDateTime(this.max, this.type), this.getViewCompaire(this.view), this.type) === 1;
1386
1392
  }
1387
1393
  }
1388
1394
  return r;
@@ -1492,8 +1498,7 @@ var AXCalendarBoxComponent = /** @class */ (function () {
1492
1498
  encapsulation: ViewEncapsulation.None,
1493
1499
  changeDetection: ChangeDetectionStrategy.OnPush
1494
1500
  }),
1495
- __metadata("design:paramtypes", [ChangeDetectorRef,
1496
- ElementRef])
1501
+ __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef])
1497
1502
  ], AXCalendarBoxComponent);
1498
1503
  return AXCalendarBoxComponent;
1499
1504
  }());
@@ -8318,12 +8323,13 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8318
8323
  enumerable: true,
8319
8324
  configurable: true
8320
8325
  });
8321
- AXSelectBoxComponent.prototype.setSelectedItemsChange = function (v) {
8326
+ AXSelectBoxComponent.prototype.setSelectedItemsChange = function (v, old) {
8322
8327
  var _this = this;
8328
+ if (old === void 0) { old = this.selectedItems; }
8323
8329
  if (!v) {
8324
8330
  v = [];
8325
8331
  }
8326
- var old = this.selectedItems;
8332
+ // const old = this.selectedItems;
8327
8333
  if (JSON.stringify(old) !== JSON.stringify(v)) {
8328
8334
  this._selectedItems = this.mode == 'single' ? v.slice(0, 1) : __spread(new Set(v)); //[...new Set(v[0])] : [...new Set(v)];
8329
8335
  this._selectedItems.forEach(function (c) { return (c.selected = true); });
@@ -8387,9 +8393,11 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8387
8393
  // this.searchText = e.value;
8388
8394
  // this.text = e.value;
8389
8395
  // this.items = [];
8390
- var t = this.items.length;
8391
- for (var i = 0; i < t; i++) {
8392
- this.items.pop();
8396
+ if (this.items) {
8397
+ var t = this.items.length;
8398
+ for (var i = 0; i < t; i++) {
8399
+ this.items.pop();
8400
+ }
8393
8401
  }
8394
8402
  // this.items.forEach((element) => {
8395
8403
  // this.items.pop();
@@ -8503,7 +8511,7 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8503
8511
  _this.selectedItems.push(res);
8504
8512
  });
8505
8513
  // this.selectedItems.push(this.items.filter((c) => vv.includes(c[this.valueField])));
8506
- _this.setSelectedItemsChange(_this.selectedItems);
8514
+ _this.setSelectedItemsChange(_this.selectedItems, vv_1.length > 0 ? [1] : _this.selectedItems);
8507
8515
  }
8508
8516
  // this.selectedItems = this.items.filter((c) => v.includes(c[this.valueField]));
8509
8517
  }
@@ -8574,9 +8582,9 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8574
8582
  // }
8575
8583
  this.initValidation(this.ref, 'selectedItems', this.validation);
8576
8584
  if (this.dataSource) {
8577
- if (this.allowSearch == false) {
8578
- this.fetch();
8579
- }
8585
+ // if (this.allowSearch == false) {
8586
+ // this.fetch();
8587
+ // }
8580
8588
  this.dataSource.onDataReceived.subscribe(function (c) {
8581
8589
  _this.showLoading = false;
8582
8590
  _this.dataReceived(c.data.result);
@@ -8671,9 +8679,11 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8671
8679
  // this.items.forEach((element) => {
8672
8680
  // this.items.pop();
8673
8681
  // });
8674
- var t = this.items.length;
8675
- for (var i = 0; i < t; i++) {
8676
- this.items.pop();
8682
+ if (this.items) {
8683
+ var t = this.items.length;
8684
+ for (var i = 0; i < t; i++) {
8685
+ this.items.pop();
8686
+ }
8677
8687
  }
8678
8688
  this.fetch(params);
8679
8689
  }
@@ -8738,6 +8748,7 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8738
8748
  };
8739
8749
  AXSelectBoxComponent.prototype.handleKeyEventSearch = function (e) {
8740
8750
  var _this = this;
8751
+ var _a;
8741
8752
  if (this.disabled || this.readonly) {
8742
8753
  this.dropdown.close();
8743
8754
  setTimeout(function () {
@@ -8822,7 +8833,7 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
8822
8833
  }
8823
8834
  }
8824
8835
  else {
8825
- if (this.text && this.itemsFiltered.length === 1) {
8836
+ if (this.text && ((_a = this.itemsFiltered) === null || _a === void 0 ? void 0 : _a.length) === 1) {
8826
8837
  this.setSelectedItems(this.itemsFiltered, true);
8827
8838
  }
8828
8839
  if (this.mode == 'single') {
@@ -9497,7 +9508,7 @@ var AXQueryBuilderRuleComponent = /** @class */ (function () {
9497
9508
  AXQueryBuilderRuleComponent = __decorate([
9498
9509
  Component({
9499
9510
  selector: 'ax-query-rule',
9500
- template: "<div class=\"condition\" *ngIf=\"parent\">\r\n <div class=\"text {{parent.condition}}\">\r\n <span>{{parent.condition}}</span>\r\n </div>\r\n</div>\r\n<div class=\"handler\">\r\n <i class=\"far fa-grip-lines-vertical\"></i>\r\n</div>\r\n\r\n<div class=\"caption\" [ngClass]=\"{'editable': isEditing}\">\r\n <ng-container *ngIf=\"isEditing;else fieldsTemplate\">\r\n <ax-form-group>\r\n <ax-select-box (selectionChanged)=\"captionChange($event)\" allowNull=\"false\"\r\n [(selectedItems)]=\"rule.dataFieldItem\" textField=\"caption\" valueField=\"dataField\" [items]=\"fields\"\r\n size=\"sm\" mode=\"single\">\r\n </ax-select-box>\r\n </ax-form-group>\r\n </ng-container>\r\n <ng-template #fieldsTemplate>\r\n <div (click)=\"handleEditClick()\">\r\n {{rule.caption}}\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"operator\" [ngClass]=\"{'editable': isEditing,'radius':!showValue}\">\r\n <ng-container *ngIf=\"isEditing;else operatorTemplate\">\r\n <ax-form-group>\r\n <ax-select-box #selectBox (selectedItemsChange)=\"operatorChange($event)\" allowNull=\"false\"\r\n [(selectedValues)]=\"rule.operator\" size=\"sm\" mode=\"single\">\r\n <ax-data-source [provideData]=\"provideDataOperator\">\r\n </ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n </ng-container>\r\n <ng-template #operatorTemplate>\r\n <div class=\"text\" (click)=\"handleEditClick()\">\r\n {{('queryBuilder.'+rule.operator) | trans}}\r\n </div>\r\n </ng-template>\r\n</div>\r\n<div *ngIf=\"showValue\" class=\"value\" [ngClass]=\"{'editable': isEditing}\">\r\n <ng-container *ngIf=\"isEditing;else valueTemplate\">\r\n\r\n <div *ngIf=\" rule.control && !isOnDemandLabel\" [ngSwitch]=\"rule.control.type\">\r\n <div *ngSwitchCase=\"'textBox'\">\r\n <ax-form-group>\r\n <ax-text-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-text-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'selectBox'\">\r\n <ax-form-group>\r\n <ax-select-box placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\" [textField]=\"getOption('textField')\"\r\n [(selectedItems)]=\"rule.valueItem\" [valueField]=\"getOption('valueField')\"\r\n [mode]=\"getOption('mode')\" (selectedItemsChange)=\"selectedItemsChange($event)\" size=\"sm\"\r\n #selectBoxValue [remoteOperation]=\"getOption('remoteOperation')\">\r\n <ax-data-source [provideData]=\"getProvideData\"></ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'numberBox'\">\r\n <ax-form-group>\r\n <ax-number-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-number-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'datePicker'\">\r\n\r\n\r\n </div>\r\n <div *ngSwitchCase=\"'boolean'\">\r\n\r\n <ax-form-group>\r\n <ax-select-box #selectBoxBoolean (selectedItemsChange)=\"valueBooleanChange($event)\"\r\n allowNull=\"false\" [selectedValues]=\"rule.value\" size=\"sm\" mode=\"single\">\r\n <ax-data-source [provideData]=\"provideDataBoolean\">\r\n </ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n\r\n </div>\r\n <div *ngSwitchDefault>\r\n <ax-form-group>\r\n <ax-text-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-text-box>\r\n\r\n </ax-form-group>\r\n\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"isOnDemandLabel\">\r\n\r\n <ax-text-box #textBoxNameValue [value]=\"getOnDemandName(rule.onDemandLabel)\"\r\n (onValueChanged)=\"onDemandLabelChange($event)\" placeholder=\"\u0646\u0627\u0645 \u0645\u062A\u063A\u06CC\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\" size=\"sm\">\r\n <!-- <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation> -->\r\n </ax-text-box>\r\n\r\n\r\n </div>\r\n\r\n </ng-container>\r\n <ng-template #valueTemplate>\r\n <div (click)=\"handleEditClick()\">\r\n\r\n {{rule.text}}\r\n\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"buttons-list\">\r\n <div *ngIf=\"showValue && isEditing\" class=\"button variable\" [ngClass]=\"{'active-button': isOnDemandLabel}\">\r\n <i class=\"far fa-dollar-sign\"></i>\r\n <ax-check-box [value]=\"isOnDemandLabel\" (onClick)=\"onDemandLabel($event)\">\r\n </ax-check-box>\r\n </div>\r\n\r\n <div class=\"button commit\" (click)=\"handleCommitClick()\" *ngIf=\"isEditing\">\r\n <i class=\"far fa-check\"></i>\r\n </div>\r\n <div class=\"button remove\" (click)=\"handleRemoveClick()\" *ngIf=\"!isEditing\">\r\n <i class=\"far fa-times\"></i>\r\n </div>\r\n</div>",
9511
+ template: "<div class=\"condition\" *ngIf=\"parent\">\r\n <div class=\"text {{parent.condition}}\">\r\n <span>{{parent.condition}}</span>\r\n </div>\r\n</div>\r\n<div class=\"handler\">\r\n <i class=\"far fa-grip-lines-vertical\"></i>\r\n</div>\r\n\r\n<div class=\"caption\" [ngClass]=\"{'editable': isEditing}\">\r\n <ng-container *ngIf=\"isEditing;else fieldsTemplate\">\r\n <ax-form-group>\r\n <ax-select-box (selectionChanged)=\"captionChange($event)\" allowNull=\"false\"\r\n [(selectedItems)]=\"rule.dataFieldItem\" textField=\"caption\" valueField=\"dataField\" [items]=\"fields\"\r\n size=\"sm\" mode=\"single\">\r\n </ax-select-box>\r\n </ax-form-group>\r\n </ng-container>\r\n <ng-template #fieldsTemplate>\r\n <div (click)=\"handleEditClick()\">\r\n {{rule.caption}}\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"operator\" [ngClass]=\"{'editable': isEditing,'radius':!showValue}\">\r\n <ng-container *ngIf=\"isEditing;else operatorTemplate\">\r\n <ax-form-group>\r\n <ax-select-box #selectBox (selectedItemsChange)=\"operatorChange($event)\" allowNull=\"false\"\r\n [(selectedValues)]=\"rule.operator\" size=\"sm\" mode=\"single\">\r\n <ax-data-source [provideData]=\"provideDataOperator\">\r\n </ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n </ng-container>\r\n <ng-template #operatorTemplate>\r\n <div class=\"text\" (click)=\"handleEditClick()\">\r\n {{('queryBuilder.'+rule.operator) | trans}}\r\n </div>\r\n </ng-template>\r\n</div>\r\n<div *ngIf=\"showValue\" class=\"value\" [ngClass]=\"{'editable': isEditing}\">\r\n <ng-container *ngIf=\"isEditing;else valueTemplate\">\r\n\r\n <div *ngIf=\" rule.control && !isOnDemandLabel\" [ngSwitch]=\"rule.control.type\">\r\n <div *ngSwitchCase=\"'textBox'\">\r\n <ax-form-group>\r\n <ax-text-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-text-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'selectBox'\">\r\n <ax-form-group>\r\n <ax-select-box placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\" [textField]=\"getOption('textField')\"\r\n [(selectedItems)]=\"rule.valueItem\" [valueField]=\"getOption('valueField')\"\r\n [mode]=\"getOption('mode')\" (selectedItemsChange)=\"selectedItemsChange($event)\" size=\"sm\"\r\n #selectBoxValue [remoteOperation]=\"getOption('remoteOperation')\">\r\n <ax-data-source [provideData]=\"getProvideData\"></ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'numberBox'\">\r\n <ax-form-group>\r\n <ax-number-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-number-box>\r\n </ax-form-group>\r\n </div>\r\n <div *ngSwitchCase=\"'datePicker'\">\r\n\r\n\r\n </div>\r\n <div *ngSwitchCase=\"'boolean'\">\r\n\r\n <ax-form-group>\r\n <ax-select-box #selectBoxBoolean (selectedItemsChange)=\"valueBooleanChange($event)\"\r\n allowNull=\"false\" [selectedValues]=\"rule.value\" size=\"sm\" mode=\"single\">\r\n <ax-data-source [provideData]=\"provideDataBoolean\">\r\n </ax-data-source>\r\n </ax-select-box>\r\n </ax-form-group>\r\n\r\n </div>\r\n <div *ngSwitchDefault>\r\n <ax-form-group>\r\n <ax-text-box (onValueChanged)=\"valueChange($event)\" placeholder=\"\u0645\u0642\u062F\u0627\u0631 \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\"\r\n [(value)]=\"rule.value\" size=\"sm\">\r\n </ax-text-box>\r\n\r\n </ax-form-group>\r\n\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"isOnDemandLabel\">\r\n\r\n <ax-text-box #textBoxNameValue [value]=\"getOnDemandName(rule.onDemandLabel)\"\r\n (onValueChanged)=\"onDemandLabelChange($event)\" placeholder=\"\u0646\u0627\u0645 \u0645\u062A\u063A\u06CC\u0631 \u062E\u0648\u062F \u0631\u0627 \u0648\u0627\u0631\u062F \u06A9\u0646\u06CC\u062F\" size=\"sm\">\r\n <!-- <ax-validation>\r\n <ax-validation-rule type=\"required\"></ax-validation-rule>\r\n </ax-validation> -->\r\n </ax-text-box>\r\n\r\n\r\n </div>\r\n\r\n </ng-container>\r\n <ng-template #valueTemplate>\r\n <div (click)=\"handleEditClick()\">\r\n\r\n {{rule.text}}\r\n\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"buttons-list\">\r\n <div *ngIf=\"showValue && isEditing\" class=\"button variable\" [ngClass]=\"{'active-button': isOnDemandLabel}\">\r\n <i class=\"far fa-dollar-sign\"></i>\r\n <ax-check-box [value]=\"isOnDemandLabel\" (onClick)=\"onDemandLabel($event)\">\r\n </ax-check-box>\r\n </div>\r\n\r\n <div class=\"button commit\" (click)=\"handleCommitClick()\" *ngIf=\"isEditing\">\r\n <i class=\"far fa-check\"></i>\r\n </div>\r\n <div class=\"button remove\" (click)=\"handleRemoveClick()\">\r\n <i class=\"far fa-times\"></i>\r\n </div>\r\n</div>",
9501
9512
  host: { class: 'ax ax-query-rule' },
9502
9513
  encapsulation: ViewEncapsulation.None
9503
9514
  }),
@@ -13725,7 +13736,6 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13725
13736
  _this.isSelectedItem = true;
13726
13737
  }
13727
13738
  }
13728
- debugger;
13729
13739
  });
13730
13740
  }
13731
13741
  else {