@acorex/components 3.0.44 → 3.0.45

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.
@@ -3523,7 +3523,7 @@ var AXCheckBoxComponent = /** @class */ (function (_super) {
3523
3523
  return this._value;
3524
3524
  },
3525
3525
  set: function (v) {
3526
- if (v != this._value || v !== undefined) {
3526
+ if (v != this._value && v !== undefined) {
3527
3527
  var old = this._value;
3528
3528
  this._value = v;
3529
3529
  this.valueChange.emit(v);
@@ -3548,21 +3548,20 @@ var AXCheckBoxComponent = /** @class */ (function (_super) {
3548
3548
  }
3549
3549
  };
3550
3550
  AXCheckBoxComponent.prototype.handleClick = function (e) {
3551
- var _this = this;
3552
- // e.preventDefault();
3553
- // e.stopPropagation();
3554
- setTimeout(function () {
3555
- if (!_this.disabled && !_this.readonly) {
3556
- //TODO: check intermddiate;
3557
- // this.value = !this.value;
3558
- _this.onClick.emit({
3559
- component: _this,
3560
- htmlElement: _this.ref.nativeElement,
3561
- htmlEvent: e,
3562
- value: _this.value
3563
- });
3564
- }
3565
- }, 100);
3551
+ e.preventDefault();
3552
+ e.stopPropagation();
3553
+ // setTimeout(() => {
3554
+ if (!this.disabled && !this.readonly) {
3555
+ //TODO: check intermddiate;
3556
+ this.value = !this.value;
3557
+ this.onClick.emit({
3558
+ component: this,
3559
+ htmlElement: this.ref.nativeElement,
3560
+ htmlEvent: e,
3561
+ value: this.value
3562
+ });
3563
+ }
3564
+ // }, 100);
3566
3565
  };
3567
3566
  AXCheckBoxComponent.ctorParameters = function () { return [
3568
3567
  { type: ChangeDetectorRef },
@@ -3616,7 +3615,7 @@ var AXCheckBoxComponent = /** @class */ (function (_super) {
3616
3615
  AXCheckBoxComponent = __decorate([
3617
3616
  Component({
3618
3617
  selector: 'ax-check-box',
3619
- template: "<!-- <label class=\"ax checkbox {{size}}\" for=\"{{uid}}\" [ngClass]=\"{ 'disabled': disabled, 'readonly': readonly }\"\r\n (click)=\"handleClick($event)\">\r\n {{ label }}\r\n <input #input type=\"checkbox\" id=\"{{uid}}\" [readonly]=\"readonly\" [checked]=\"value\"\r\n [disabled]=\"disabled || readonly\" />\r\n <span class=\"checkmark\" [ngClass]=\"{'indeterminate': indeterminate && value == null}\"></span>\r\n\r\n</label> -->\r\n\r\n<label for=\"{{uid}}\" class=\"ax-checkbox-container\" [ngClass]=\"{ 'disabled': disabled, 'readonly': readonly }\"\r\n (click)=\"handleClick($event)\">\r\n <input #input type=\"checkbox\" class=\"ax-checkbox\" [ngClass]=\"{'indeterminate': indeterminate && value == null}\"\r\n id=\"{{uid}}\" [readonly]=\"readonly\" [checked]=\"value\" [(ngModel)]=\"value\" [disabled]=\"disabled || readonly\" />\r\n <span>{{ label ? label : '&nbsp;' }}</span>\r\n</label>",
3618
+ template: "<!-- <label class=\"ax checkbox {{size}}\" for=\"{{uid}}\" [ngClass]=\"{ 'disabled': disabled, 'readonly': readonly }\"\r\n (click)=\"handleClick($event)\">\r\n {{ label }}\r\n <input #input type=\"checkbox\" id=\"{{uid}}\" [readonly]=\"readonly\" [checked]=\"value\"\r\n [disabled]=\"disabled || readonly\" />\r\n <span class=\"checkmark\" [ngClass]=\"{'indeterminate': indeterminate && value == null}\"></span>\r\n\r\n</label> -->\r\n\r\n\r\n<!-- [(ngModel)]=\"value\" -->\r\n<!-- (click)=\"handleClick($event)\" -->\r\n\r\n<label class=\"ax-checkbox-container\" for=\"{{uid}}\" [ngClass]=\"{ 'disabled': disabled, 'readonly': readonly }\">\r\n\r\n <input #input class=\"ax-checkbox\" type=\"checkbox\" id=\"{{uid}}\" [readonly]=\"readonly\" [class.checked]=\"value\"\r\n [checked]=\"value\" [ngClass]=\"{'indeterminate': indeterminate && value == null}\" (click)=\"handleClick($event)\"\r\n [disabled]=\"disabled || readonly\" />\r\n\r\n\r\n <span>{{ label ? label : '&nbsp;' }}</span>\r\n</label>",
3620
3619
  encapsulation: ViewEncapsulation.None,
3621
3620
  changeDetection: ChangeDetectionStrategy.OnPush
3622
3621
  }),
@@ -5559,8 +5558,9 @@ var AXDatePickerComponent = /** @class */ (function (_super) {
5559
5558
  if (_this.showToday && !_this.value) {
5560
5559
  _this.selectToday();
5561
5560
  }
5562
- if (_this.dropdown.dropdownWidth < 200) {
5563
- _this.dropdown.dropdownWidth = 200;
5561
+ console.log(Boolean(_this.dropdown.dropdownWidth > 200));
5562
+ if (_this.dropdown.dropdownWidth > 200) {
5563
+ _this.dropdown.dropdownWidth = 250;
5564
5564
  }
5565
5565
  _this.cdr.markForCheck();
5566
5566
  });
@@ -6188,7 +6188,7 @@ var AXDatePickerComponent = /** @class */ (function (_super) {
6188
6188
  AXDatePickerComponent = AXDatePickerComponent_1 = __decorate([
6189
6189
  Component({
6190
6190
  selector: 'ax-date-picker',
6191
- template: "<ax-drop-down [readonly]=\"readonly\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-calendar-alt\" #dropdown maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <ax-text-box #input [textAlign]=\"textAlign\" [(value)]=\"text\" [readonly]=\"false\" [textMask]=\"dateType\" [disabled]=\"disabled\" [placeholder]=\"placeholder\" [size]=\"size\" (onkey)=\"handleKeyPress($event)\" (onFocus)=\"handleInputFocus()\" (click)=\"handleClick()\"\r\n (onBlur)=\"handleInputBlur()\" (onValueChanged)=\"textChange($event)\"></ax-text-box>\r\n </ng-container>\r\n <ng-container panel>\r\n <ax-calendar-box *ngIf=\"_renderPicker\" [showTodayButton]=\"showTodayButton\" [selectableHoliday]=\"selectableHoliday\" [min]=\"min\" [max]=\"max\" [size]=\"size\" (onClick)=\"onClick($event)\" (onValueChanged)=\"onDateChange($event)\" [type]=\"type\" [(value)]=\"value\"\r\n [dayStyle]=\"dayStyle\">\r\n </ax-calendar-box>\r\n </ng-container>\r\n <ng-container end>\r\n <ax-button end *ngIf=\"allowClear && value\" [disabled]=\"disabled\" icon=\"far fa-times icon\" type=\"blank danger\" (click)=\"clear()\" [size]=\"size\" [tabIndex]=\"-1\">\r\n </ax-button>\r\n <ax-button end icon=\"far fa-calendar-alt icon\" type=\"light blank\" (click)=\"handleButtonClick()\" [disabled]=\"disabled\" [size]=\"size\" [tabIndex]=\"-1\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </ng-container>\r\n\r\n</ax-drop-down>",
6191
+ template: "<ax-drop-down [readonly]=\"readonly\" [fitParent]=\"true\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-calendar-alt\" #dropdown maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <ax-text-box #input [textAlign]=\"textAlign\" [(value)]=\"text\" [readonly]=\"false\" [textMask]=\"dateType\" [disabled]=\"disabled\" [placeholder]=\"placeholder\" [size]=\"size\" (onkey)=\"handleKeyPress($event)\" (onFocus)=\"handleInputFocus()\" (click)=\"handleClick()\"\r\n (onBlur)=\"handleInputBlur()\" (onValueChanged)=\"textChange($event)\"></ax-text-box>\r\n </ng-container>\r\n <ng-container panel>\r\n <ax-calendar-box *ngIf=\"_renderPicker\" [showTodayButton]=\"showTodayButton\" [selectableHoliday]=\"selectableHoliday\" [min]=\"min\" [max]=\"max\" [size]=\"size\" (onClick)=\"onClick($event)\" (onValueChanged)=\"onDateChange($event)\" [type]=\"type\" [(value)]=\"value\"\r\n [dayStyle]=\"dayStyle\">\r\n </ax-calendar-box>\r\n </ng-container>\r\n <ng-container end>\r\n <ax-button end *ngIf=\"allowClear && value\" [disabled]=\"disabled\" icon=\"far fa-times icon\" type=\"blank danger\" (click)=\"clear()\" [size]=\"size\" [tabIndex]=\"-1\">\r\n </ax-button>\r\n <ax-button end icon=\"far fa-calendar-alt icon\" type=\"light blank\" (click)=\"handleButtonClick()\" [disabled]=\"disabled\" [size]=\"size\" [tabIndex]=\"-1\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </ng-container>\r\n\r\n</ax-drop-down>",
6192
6192
  encapsulation: ViewEncapsulation.None,
6193
6193
  providers: [{ provide: AXValidatableComponent, useExisting: AXDatePickerComponent_1 }],
6194
6194
  host: { style: 'width: 100%' },
@@ -7572,7 +7572,7 @@ var AXNumberBoxComponent = /** @class */ (function (_super) {
7572
7572
  });
7573
7573
  AXNumberBoxComponent.prototype.calcSeparator = function (num) {
7574
7574
  if (this.showSeparator) {
7575
- return num + (+(num / 3));
7575
+ return num + +(num / 3);
7576
7576
  }
7577
7577
  else {
7578
7578
  return num;
@@ -7597,9 +7597,11 @@ var AXNumberBoxComponent = /** @class */ (function (_super) {
7597
7597
  if (this.disabled === false) {
7598
7598
  if (this.scrollWeel === true) {
7599
7599
  setTimeout(function () {
7600
- _this.input.nativeElement.addEventListener('wheel', function (e) {
7601
- _this.handleWheel(e);
7602
- });
7600
+ if (_this.readonly === false) {
7601
+ _this.input.nativeElement.addEventListener('wheel', function (e) {
7602
+ _this.handleWheel(e);
7603
+ });
7604
+ }
7603
7605
  }, 500);
7604
7606
  }
7605
7607
  }
@@ -8010,6 +8012,14 @@ var AXNumberBoxComponent = /** @class */ (function (_super) {
8010
8012
  }
8011
8013
  }
8012
8014
  };
8015
+ AXNumberBoxComponent.prototype.handleInputBlur = function (e) {
8016
+ this.checkMinMax(this.textValue);
8017
+ this.onBlur.emit({
8018
+ component: this,
8019
+ htmlElement: this.ref.nativeElement,
8020
+ htmlEvent: e
8021
+ });
8022
+ };
8013
8023
  var AXNumberBoxComponent_1;
8014
8024
  AXNumberBoxComponent.ctorParameters = function () { return [
8015
8025
  { type: ChangeDetectorRef },
@@ -8062,7 +8072,7 @@ var AXNumberBoxComponent = /** @class */ (function (_super) {
8062
8072
  AXNumberBoxComponent = AXNumberBoxComponent_1 = __decorate([
8063
8073
  Component({
8064
8074
  selector: 'ax-number-box',
8065
- template: "<div class=\"ax form-item\" [class.disabled]=\"disabled\" [attr.id]=\"uid\" #fc>\r\n <div class=\"ax items-wrapper\">\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n <ax-button icon=\"far fa-plus\" type=\"success blank\" (click)=\"upStepHandel()\" [disabled]=\"disabled\" *ngIf=\"showDoubleCounter\"></ax-button>\r\n </div>\r\n <div class=\"content\" #content>\r\n <div class=\"ax form-control input {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\"\r\n [class.icon]=\"icon\">\r\n <input #input type=\"text\" class=\"ax {{size}}\" [maxlength]=\"calcSeparator(maxLength)\" [(ngModel)]=\"textValue\" placeholder=\"{{placeholder}}\"\r\n [readonly]=\"readonly\" [disabled]=\"disabled\" [ngClass]=\"setTextAlign()\"\r\n [class.clear]=\"value && allowClear\" (focus)=\"handleInputFocus($event)\" (blur)=\"handleInputBlur($event)\"\r\n (keypress)=\"handleKeyPress($event)\" (ngModelChange)=\"this.userQuestionUpdate.next($event)\"\r\n (keydown)=\"handleKeyDown($event)\" (click)=\"handleClick()\" (keyup)=\"handleKeyUp($event)\">\r\n <i class=\"{{icon}}\" *ngIf=\"icon\"></i>\r\n </div>\r\n </div>\r\n <div class=\"ax items-wrapper\">\r\n <ax-button *ngIf=\"value && allowClear\" [disabled]=\"disabled\" icon=\"far fa-times\" type=\"danger blank\"\r\n (click)=\"clear()\"></ax-button>\r\n <ax-button icon=\"far fa-minus\" type=\"danger blank\" (click)=\"downStepHandel()\" [disabled]=\"disabled\" *ngIf=\"showDoubleCounter\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n <div class=\"arrow-number\" *ngIf=\"showCounter && !showDoubleCounter\" >\r\n <ax-button type=\"light blank\" [disabled]=\"disabled\" icon=\"fas fa-angle-up\" [size]=\"size\"\r\n (mousedown)=\"upStepHandel()\" (mouseup)=\"delaySearch()\" [tabIndex]=\"-1\"></ax-button>\r\n <ax-button type=\"light blank\" [disabled]=\"disabled\" icon=\"fas fa-angle-down\" [size]=\"size\"\r\n (mousedown)=\"downStepHandel()\" (mouseup)=\"delaySearch()\" [tabIndex]=\"-1\"></ax-button>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n",
8075
+ template: "<div class=\"ax form-item\" [class.disabled]=\"disabled\" [attr.id]=\"uid\" #fc>\r\n <div class=\"ax items-wrapper\">\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n <ax-button icon=\"far fa-plus\" type=\"success blank\" (click)=\"upStepHandel()\" [disabled]=\"disabled\" *ngIf=\"showDoubleCounter\"></ax-button>\r\n </div>\r\n <div class=\"content\" #content>\r\n <div class=\"ax form-control input {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\"\r\n [class.icon]=\"icon\">\r\n <input #input type=\"text\" class=\"ax {{size}}\" [maxlength]=\"calcSeparator(maxLength)\" [(ngModel)]=\"textValue\" placeholder=\"{{placeholder}}\"\r\n [readonly]=\"readonly\" [disabled]=\"disabled\" [ngClass]=\"setTextAlign()\"\r\n [class.clear]=\"value && allowClear\" (focus)=\"handleInputFocus($event)\" (blur)=\"handleInputBlur($event)\"\r\n (keypress)=\"handleKeyPress($event)\" (ngModelChange)=\"this.userQuestionUpdate.next($event)\"\r\n (keydown)=\"handleKeyDown($event)\" (click)=\"handleClick()\" (keyup)=\"handleKeyUp($event)\">\r\n <i class=\"{{icon}}\" *ngIf=\"icon\"></i>\r\n </div>\r\n </div>\r\n <div class=\"ax items-wrapper\">\r\n <ax-button *ngIf=\"value && allowClear\" [disabled]=\"disabled\" icon=\"far fa-times\" type=\"danger blank\"\r\n (click)=\"clear()\"></ax-button>\r\n <ax-button icon=\"far fa-minus\" type=\"danger blank\" (click)=\"downStepHandel()\" [disabled]=\"disabled\" *ngIf=\"showDoubleCounter\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n <div class=\"arrow-number\" *ngIf=\"showCounter && !showDoubleCounter && !readonly\" >\r\n <ax-button type=\"light blank\" [disabled]=\"disabled\" icon=\"fas fa-angle-up\" [size]=\"size\"\r\n (mousedown)=\"upStepHandel()\" (mouseup)=\"delaySearch()\" [tabIndex]=\"-1\"></ax-button>\r\n <ax-button type=\"light blank\" [disabled]=\"disabled\" icon=\"fas fa-angle-down\" [size]=\"size\"\r\n (mousedown)=\"downStepHandel()\" (mouseup)=\"delaySearch()\" [tabIndex]=\"-1\"></ax-button>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n",
8066
8076
  changeDetection: ChangeDetectionStrategy.OnPush,
8067
8077
  host: { style: 'width: 100%' },
8068
8078
  providers: [{ provide: AXValidatableComponent, useExisting: AXNumberBoxComponent_1 }]
@@ -10021,6 +10031,7 @@ var AXQueryBuilderService = /** @class */ (function () {
10021
10031
  return __generator(this, function (_d) {
10022
10032
  switch (_d.label) {
10023
10033
  case 0:
10034
+ ;
10024
10035
  if (group.items.length > 0) {
10025
10036
  query = ' ( ';
10026
10037
  }
@@ -10079,6 +10090,7 @@ var AXQueryBuilderService = /** @class */ (function () {
10079
10090
  codeOperator = item.operator;
10080
10091
  break;
10081
10092
  }
10093
+ ;
10082
10094
  query = query + ' ' + item.caption + ' ' + codeOperator + ' ' + item.text;
10083
10095
  _d.label = 6;
10084
10096
  case 6:
@@ -10121,6 +10133,7 @@ var AXQueryBuilderService = /** @class */ (function () {
10121
10133
  var query = '';
10122
10134
  switch (type) {
10123
10135
  case 'simple':
10136
+ ;
10124
10137
  if (group.items.length > 0) {
10125
10138
  query = ' ( ';
10126
10139
  }
@@ -10262,6 +10275,7 @@ var AXQueryBuilderGroupComponent = /** @class */ (function () {
10262
10275
  };
10263
10276
  AXQueryBuilderGroupComponent.prototype.ruleChanged = function (e) {
10264
10277
  var _this = this;
10278
+ ;
10265
10279
  // this.group.queryString = this.qs.getQueryString(this.group, 'simple');
10266
10280
  this.qs.getQueryStringSimple(this.group).then(function (c) {
10267
10281
  _this.group.queryString = c;
@@ -13846,7 +13860,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13846
13860
  }
13847
13861
  };
13848
13862
  node.parent.unSelectParent = function () {
13849
- if (item.parentNode['select'] != false) {
13863
+ if (item.parentNode['select'] == true) {
13850
13864
  _this.internalSelectItem(item.parentNode, true);
13851
13865
  }
13852
13866
  };
@@ -13861,7 +13875,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13861
13875
  };
13862
13876
  node.children.unSelectChilds = function () {
13863
13877
  item.childeren.forEach(function (element) {
13864
- if (element['select'] != false) {
13878
+ if (element['select'] == true) {
13865
13879
  _this.internalSelectItem(element, true);
13866
13880
  }
13867
13881
  });
@@ -13971,6 +13985,14 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
13971
13985
  flag: flag
13972
13986
  });
13973
13987
  };
13988
+ AXTreeViewComponent.prototype.nodeClick = function (item) {
13989
+ if (item[this.hasChildField] == true) {
13990
+ this.toggleNode(item, true);
13991
+ }
13992
+ else {
13993
+ this.internalSelectItem(item, true);
13994
+ }
13995
+ };
13974
13996
  AXTreeViewComponent.prototype.toggleNode = function (item, flag) {
13975
13997
  if (flag === void 0) { flag = false; }
13976
13998
  //item[this.hasChildField] === false &&
@@ -14455,7 +14477,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
14455
14477
  AXTreeViewComponent = __decorate([
14456
14478
  Component({
14457
14479
  selector: 'ax-tree-view',
14458
- template: "<ul class=\"ax treeview {{size}}\">\r\n <ng-template #recursiveList let-list>\r\n <ng-container *ngFor=\"let item of list\">\r\n <li class=\"active {{item[hasChildField] ? '':'node'}}\" [class.bordered]=\"bordered\" [class.selected]=\"item.select\" [draggable]=\"allowDrag\" (dragstart)=\"onDragStart($event, item)\" [attr.data-id]=\"item[keyField]\" (dragleave)=\"onDragEnd($event,item)\" (dragend)=drop($event)>\r\n <div axContextMenu [contextDataItem]=\"item\" [contextMenuItems]=\"contextMenuItems\" [contextMenu]=\"menu\" (onContextMenuItemClick)=\"handleOnContextMenuItem($event)\" style=\"display: flex; cursor: pointer;align-items: center;\">\r\n <div class=\"start-side\">\r\n <div *ngIf=\"item[hasChildField]\" class=\"collapse-icon\" (click)=\"handleOnNodeClick($event,item,true)\">\r\n <i class=\"fal\" [ngClass]=\"{'fa-minus': !!item.toggle , 'fa-plus': !item.toggle , 'fa-spinner fa-spin':item.loading }\"></i>\r\n </div>\r\n\r\n <ax-check-box *ngIf=\"showSelectBox\" [disabled]=\"item.disabledCheckBox\" [size]=\"size\" [indeterminate]=\"true\" [value]=\"item.select\" (onClick)=\"internalSelectItem(item)\">\r\n </ax-check-box>\r\n\r\n\r\n </div>\r\n <div class=\"text-list\" (click)=\"handleOnNodeClick($event,item)\" (dblclick)=\"itemdbClick($event,item)\">\r\n <ng-container *ngIf=\"nodeTemplate; else elseTemplate\">\r\n <ng-container *ngTemplateOutlet=\"nodeTemplate; context:{ $implicit: item }\"></ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n {{item.title}}\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ul *ngIf=\"item.loading\">\r\n <i class=\"far \"></i>\r\n </ul>\r\n <ul class=\"child\" *ngIf=\"item.toggle\" style=\"background-color: white !important;\">\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.childeren }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\r\n</ul>\r\n\r\n<ax-context-menu #menu></ax-context-menu>",
14480
+ template: "<ul class=\"ax treeview {{size}}\">\r\n <ng-template #recursiveList let-list>\r\n <ng-container *ngFor=\"let item of list\">\r\n <li class=\"active {{item[hasChildField] ? '':'node'}}\" [class.bordered]=\"bordered\"\r\n [class.selected]=\"item.select\" [draggable]=\"allowDrag\" (dragstart)=\"onDragStart($event, item)\"\r\n [attr.data-id]=\"item[keyField]\" (dragleave)=\"onDragEnd($event,item)\" (dragend)=drop($event)>\r\n <div axContextMenu [contextDataItem]=\"item\" [contextMenuItems]=\"contextMenuItems\" [contextMenu]=\"menu\"\r\n (onContextMenuItemClick)=\"handleOnContextMenuItem($event)\"\r\n style=\"display: flex; cursor: pointer;align-items: center;\">\r\n <div class=\"start-side\">\r\n <div *ngIf=\"item[hasChildField]\" class=\"collapse-icon\"\r\n (click)=\"handleOnNodeClick($event,item,true)\">\r\n <i class=\"fal\"\r\n [ngClass]=\"{'fa-minus': !!item.toggle , 'fa-plus': !item.toggle , 'fa-spinner fa-spin':item.loading }\"></i>\r\n </div>\r\n\r\n <ax-check-box *ngIf=\"showSelectBox\" [disabled]=\"item.disabledCheckBox\" [size]=\"size\"\r\n [indeterminate]=\"true\" [value]=\"item.select\" (onClick)=\"internalSelectItem(item)\">\r\n </ax-check-box>\r\n\r\n\r\n </div>\r\n <div class=\"text-list\" (click)=\"nodeClick(item)\" (dblclick)=\"itemdbClick($event,item)\">\r\n <ng-container *ngIf=\"nodeTemplate; else elseTemplate\">\r\n <ng-container *ngTemplateOutlet=\"nodeTemplate; context:{ $implicit: item }\"></ng-container>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n {{item.title}}\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ul *ngIf=\"item.loading\">\r\n <i class=\"far \"></i>\r\n </ul>\r\n <ul class=\"child\" *ngIf=\"item.toggle\" style=\"background-color: white !important;\">\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.childeren }\">\r\n </ng-container>\r\n </ul>\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\r\n</ul>\r\n\r\n<ax-context-menu #menu></ax-context-menu>",
14459
14481
  encapsulation: ViewEncapsulation.None
14460
14482
  }),
14461
14483
  __metadata("design:paramtypes", [ElementRef])