@acorex/components 3.0.47 → 3.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/acorex-components.metadata.json +1 -1
  2. package/bundles/acorex-components.umd.js +171 -73
  3. package/bundles/acorex-components.umd.js.map +1 -1
  4. package/bundles/acorex-components.umd.min.js +1 -1
  5. package/bundles/acorex-components.umd.min.js.map +1 -1
  6. package/esm2015/lib/base/element.class.js +9 -1
  7. package/esm2015/lib/calendar/calendar-box/calendar-box.component.js +6 -6
  8. package/esm2015/lib/date-picker/date-picker.component.js +3 -2
  9. package/esm2015/lib/dropdown/dropdown.component.js +3 -2
  10. package/esm2015/lib/menu/menu2.component.js +1 -1
  11. package/esm2015/lib/number-box/number-box.component.js +2 -2
  12. package/esm2015/lib/password-box/password-box.component.js +2 -2
  13. package/esm2015/lib/property-editor/editors/color-editor/color.editor.js +2 -2
  14. package/esm2015/lib/property-editor/editors/column-editor/column.editor.js +2 -2
  15. package/esm2015/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.js +2 -2
  16. package/esm2015/lib/property-editor/editors/date-editor/date.editor.js +2 -2
  17. package/esm2015/lib/property-editor/editors/number-editor/number.editor.js +2 -2
  18. package/esm2015/lib/property-editor/editors/range-editor/range.editor.js +2 -2
  19. package/esm2015/lib/property-editor/editors/selectbox-editor/selectbox.editor.js +22 -12
  20. package/esm2015/lib/property-editor/editors/switch-editor/number.editor.js +2 -2
  21. package/esm2015/lib/property-editor/editors/text-editor/text.editor.js +2 -2
  22. package/esm2015/lib/property-editor/editors/time-editor/time.editor.js +2 -2
  23. package/esm2015/lib/property-editor/property-editor-renderer.directive.js +83 -37
  24. package/esm2015/lib/property-editor/property-editor.class.js +18 -4
  25. package/esm2015/lib/query-builder/query-builder-rule.component.js +5 -1
  26. package/esm2015/lib/query-builder/query-builder.service.js +4 -4
  27. package/esm2015/lib/textarea/textarea.component.js +2 -2
  28. package/esm2015/lib/textbox/textbox.component.js +2 -2
  29. package/esm5/lib/base/element.class.js +9 -1
  30. package/esm5/lib/calendar/calendar-box/calendar-box.component.js +6 -6
  31. package/esm5/lib/date-picker/date-picker.component.js +3 -2
  32. package/esm5/lib/dropdown/dropdown.component.js +3 -2
  33. package/esm5/lib/menu/menu2.component.js +1 -1
  34. package/esm5/lib/number-box/number-box.component.js +2 -2
  35. package/esm5/lib/password-box/password-box.component.js +2 -2
  36. package/esm5/lib/property-editor/editors/color-editor/color.editor.js +2 -2
  37. package/esm5/lib/property-editor/editors/column-editor/column.editor.js +2 -2
  38. package/esm5/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.js +2 -2
  39. package/esm5/lib/property-editor/editors/date-editor/date.editor.js +2 -2
  40. package/esm5/lib/property-editor/editors/number-editor/number.editor.js +2 -2
  41. package/esm5/lib/property-editor/editors/range-editor/range.editor.js +2 -2
  42. package/esm5/lib/property-editor/editors/selectbox-editor/selectbox.editor.js +26 -12
  43. package/esm5/lib/property-editor/editors/switch-editor/number.editor.js +2 -2
  44. package/esm5/lib/property-editor/editors/text-editor/text.editor.js +2 -2
  45. package/esm5/lib/property-editor/editors/time-editor/time.editor.js +2 -2
  46. package/esm5/lib/property-editor/property-editor-renderer.directive.js +89 -39
  47. package/esm5/lib/property-editor/property-editor.class.js +24 -4
  48. package/esm5/lib/query-builder/query-builder-rule.component.js +5 -1
  49. package/esm5/lib/query-builder/query-builder.service.js +4 -4
  50. package/esm5/lib/textarea/textarea.component.js +2 -2
  51. package/esm5/lib/textbox/textbox.component.js +2 -2
  52. package/fesm2015/acorex-components.js +156 -72
  53. package/fesm2015/acorex-components.js.map +1 -1
  54. package/fesm5/acorex-components.js +172 -74
  55. package/fesm5/acorex-components.js.map +1 -1
  56. package/lib/base/element.class.d.ts +2 -0
  57. package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +7 -4
  58. package/lib/property-editor/property-editor-renderer.directive.d.ts +5 -3
  59. package/lib/property-editor/property-editor.class.d.ts +4 -2
  60. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata, __param, __awaiter, __asyncValues } from 'tslib';
2
2
  import { Input, Component, EventEmitter, ContentChildren, QueryList, Output, ViewChild, ContentChild, ElementRef, ɵɵdefineInjectable, ɵɵinject, Injectable, ComponentFactoryResolver, Injector, NgZone, Inject, RendererFactory2, INJECTOR, TemplateRef, ApplicationRef, ChangeDetectorRef, HostListener, ViewEncapsulation, NgModule, ChangeDetectionStrategy, Attribute, Directive, ViewContainerRef, Renderer2, ViewChildren } from '@angular/core';
3
- import { AXTranslator, AXHtmlUtil, AXRenderService, AXConfig, AXDateTime, AXDateTimeRange, AXCoreModule, AXMenuItem, AXTranslatorModule, AXObjectUtil, AXScrollModule, getPropByPath, AXColorUtil } from '@acorex/core';
3
+ import { AXTranslator, AXHtmlUtil, AXRenderService, AXConfig, AXDateTime, AXDateTimeRange, AXCoreModule, AXMenuItem, AXTranslatorModule, AXObjectUtil, AXScrollModule, setPropByPath, AXEventService, AXColorUtil } from '@acorex/core';
4
4
  import { OverlayContainer, Overlay, ScrollStrategyOptions, OverlayPositionBuilder, OverlayKeyboardDispatcher, OverlayModule } from '@angular/cdk/overlay';
5
5
  import { TemplatePortal, ComponentPortal, CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
6
6
  import { merge, Subject, Observable } from 'rxjs';
@@ -446,6 +446,14 @@ __decorate([
446
446
  Input(),
447
447
  __metadata("design:type", String)
448
448
  ], AXBaseTextComponent.prototype, "placeholder", void 0);
449
+ __decorate([
450
+ Input(),
451
+ __metadata("design:type", Boolean)
452
+ ], AXBaseTextComponent.prototype, "autocomplete", void 0);
453
+ __decorate([
454
+ Input(),
455
+ __metadata("design:type", String)
456
+ ], AXBaseTextComponent.prototype, "name", void 0);
449
457
  __decorate([
450
458
  Output(),
451
459
  __metadata("design:type", EventEmitter)
@@ -1047,7 +1055,7 @@ let AXCalendarBoxComponent = class AXCalendarBoxComponent {
1047
1055
  return new AXDateTime(new Date(), this.type);
1048
1056
  }
1049
1057
  findDay(date) {
1050
- if (this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0])) {
1058
+ if (this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0])) {
1051
1059
  return true;
1052
1060
  }
1053
1061
  else {
@@ -1055,16 +1063,16 @@ let AXCalendarBoxComponent = class AXCalendarBoxComponent {
1055
1063
  }
1056
1064
  }
1057
1065
  getStyle(date) {
1058
- if (this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0])) {
1059
- return this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0]).style;
1066
+ if (this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0])) {
1067
+ return this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0]).style;
1060
1068
  }
1061
1069
  else {
1062
1070
  return '';
1063
1071
  }
1064
1072
  }
1065
1073
  getTitle(date) {
1066
- if (this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0])) {
1067
- return this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0]).text;
1074
+ if (this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0])) {
1075
+ return this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0]).text;
1068
1076
  }
1069
1077
  else {
1070
1078
  return '';
@@ -3025,7 +3033,7 @@ AXMenu2Component = AXMenu2Component_1 = __decorate([
3025
3033
  </div>
3026
3034
  `,
3027
3035
  encapsulation: ViewEncapsulation.None,
3028
- styles: [".ax.ax-menu{display:flex}.ax.ax-menu.ax-menu-vertical[data-level=\"0\"]{display:flex;flex-direction:row}.ax.ax-menu.ax-menu-vertical:not([data-level=\"0\"]){display:flex;transition:opacity .3s;min-width:12em;box-shadow:0 1px 7px 0 var(--ax-border-color);background:#fff;flex-direction:column}.ax.ax-menu.ax-menu-vertical .ax-menu-item{display:flex;white-space:nowrap;cursor:pointer;padding:0 10px;font-weight:400;font-size:1rem;line-height:40px;text-decoration:none;align-items:center}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:first-child{-webkit-margin-end:var(--ax-size-md);margin-inline-end:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:last-child{-webkit-margin-start:var(--ax-size-md);margin-inline-start:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item span{flex:1}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled{color:var(--ax-gray-color)!important;background-color:var(--ax-gray-trans-light-color)!important;cursor:not-allowed!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled .icon{color:var(--ax-gray-dark-color)!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled:hover{background:var(--ax-light-light-color)!important;border-color:var(--ax-light-light-color)!important;color:var(--ax-gray-dark-color)!important;cursor:not-allowed!important}"]
3036
+ styles: [".ax.ax-menu{display:flex}.ax.ax-menu.ax-menu-vertical[data-level=\"0\"]{display:flex;flex-direction:row}.ax.ax-menu.ax-menu-vertical:not([data-level=\"0\"]){display:flex;transition:opacity .3s;min-width:12em;box-shadow:0 1px 7px 0 var(--ax-border-color);background:#fff;flex-direction:column}.ax.ax-menu.ax-menu-vertical .ax-menu-item{display:flex;white-space:nowrap;cursor:pointer;padding:0 10px;font-weight:400;font-size:1rem;line-height:40px;text-decoration:none;align-items:center}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:first-child{-webkit-margin-end:var(--ax-size-md);margin-inline-end:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item .icon:last-child{-webkit-margin-start:var(--ax-size-md);margin-inline-start:var(--ax-size-md)}.ax.ax-menu.ax-menu-vertical .ax-menu-item span{flex:1}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled{opacity:.6;cursor:not-allowed!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled .icon{color:var(--ax-gray-dark-color)!important}.ax.ax-menu.ax-menu-vertical .ax-menu-item.disabled:hover{cursor:not-allowed!important}"]
3029
3037
  }),
3030
3038
  __metadata("design:paramtypes", [Overlay,
3031
3039
  ViewContainerRef,
@@ -4248,7 +4256,7 @@ __decorate([
4248
4256
  AXTextBoxComponent = AXTextBoxComponent_1 = __decorate([
4249
4257
  Component({
4250
4258
  selector: 'ax-text-box',
4251
- 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 </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 class=\"ax {{size}}\" [attr.type]=\"type\" [attr.maxlength]=\"maxLength\"\r\n [textMask]=\"{mask: mask || false, showMask : showMask, keepCharPositions:maskKeepCharPositions,guide:maskGuid,placeholderChar:maskPlaceholder}\"\r\n [(ngModel)]=\"value\" placeholder=\"{{placeholder}}\" [readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [ngClass]=\"setTextAlign()\" [class.clear]=\"value && allowClear\" (focus)=\"handleInputFocus($event)\"\r\n (blur)=\"handleInputBlur($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\" icon=\"far fa-times\" type=\"danger blank\" (click)=\"clear()\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </div>\r\n</div>",
4259
+ 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 </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 [autocomplete]=\"autocomplete\" [name]=\"name\" class=\"ax {{size}}\" [attr.type]=\"type\" [attr.maxlength]=\"maxLength\"\r\n [textMask]=\"{mask: mask || false, showMask : showMask, keepCharPositions:maskKeepCharPositions,guide:maskGuid,placeholderChar:maskPlaceholder}\"\r\n [(ngModel)]=\"value\" placeholder=\"{{placeholder}}\" [readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [ngClass]=\"setTextAlign()\" [class.clear]=\"value && allowClear\" (focus)=\"handleInputFocus($event)\"\r\n (blur)=\"handleInputBlur($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\" icon=\"far fa-times\" type=\"danger blank\" (click)=\"clear()\"></ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </div>\r\n</div>",
4252
4260
  encapsulation: ViewEncapsulation.None,
4253
4261
  changeDetection: ChangeDetectionStrategy.OnPush,
4254
4262
  host: { style: 'width: 100%' },
@@ -5002,7 +5010,8 @@ let AXDropdownComponent = class AXDropdownComponent extends AXBaseDropdownCompon
5002
5010
  ensureOverlayCreated() {
5003
5011
  if (!this.overlayRef) {
5004
5012
  const targetEl = document.querySelector('#' + this.uid);
5005
- const positionStrategy = this.overlay.position()
5013
+ const positionStrategy = this.overlay
5014
+ .position()
5006
5015
  .flexibleConnectedTo(targetEl)
5007
5016
  .withPositions([
5008
5017
  {
@@ -5172,7 +5181,8 @@ let AXDatePickerComponent = AXDatePickerComponent_1 = class AXDatePickerComponen
5172
5181
  this.value = new Date();
5173
5182
  }
5174
5183
  focus() {
5175
- this.dropdown.focus();
5184
+ // this.dropdown.focus();
5185
+ this.input.focus();
5176
5186
  }
5177
5187
  convertMaskToDate(text) {
5178
5188
  if (this.type == 'jalali') {
@@ -7625,7 +7635,7 @@ __decorate([
7625
7635
  AXNumberBoxComponent = AXNumberBoxComponent_1 = __decorate([
7626
7636
  Component({
7627
7637
  selector: 'ax-number-box',
7628
- 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",
7638
+ 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 [autocomplete]=\"autocomplete\" [name]=\"name\" #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",
7629
7639
  changeDetection: ChangeDetectionStrategy.OnPush,
7630
7640
  host: { style: 'width: 100%' },
7631
7641
  providers: [{ provide: AXValidatableComponent, useExisting: AXNumberBoxComponent_1 }]
@@ -7717,7 +7727,7 @@ AXPasswordBoxComponent.ctorParameters = () => [
7717
7727
  AXPasswordBoxComponent = AXPasswordBoxComponent_1 = __decorate([
7718
7728
  Component({
7719
7729
  selector: 'ax-password-box',
7720
- template: "<div class=\"ax form-item\" [class.disabled]=\"disabled\" [attr.id]=\"uid\">\r\n <div class=\"ax items-wrapper\">\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </div>\r\n <div class=\"content\" #content>\r\n <div class=\"ax input form-control {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\" [class.icon]=\"icon\">\r\n <input #input [type]=\"type\" class=\"ax {{size}}\" value=\"{{value}}\" placeholder=\"{{placeholder}}\"\r\n [readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [ngClass]=\"setTextAlign()\" [class.clear]=\"value && allowClear\">\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\" icon=\"fas fa-times\" type=\"danger blank\" (click)=\"clear()\" [tabIndex]=\"-1\"></ax-button>\r\n <ax-button [disabled]=\"disabled\" [icon]=\"eyeIcon\" type=\"light blank\" size=\"{{size}}\" (click)=\"handleShowPassword()\" [tabIndex]=\"-1\">\r\n <!-- <i class=\"\" [ngClass]=\"{'fa-eye': type === 'password','fa-eye-slash':type === 'text'}\"></i> -->\r\n </ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n",
7730
+ template: "<div class=\"ax form-item\" [class.disabled]=\"disabled\" [attr.id]=\"uid\">\r\n <div class=\"ax items-wrapper\">\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </div>\r\n <div class=\"content\" #content>\r\n <div class=\"ax input form-control {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\" [class.icon]=\"icon\">\r\n <input [autocomplete]=\"autocomplete\" [name]=\"name\" #input [type]=\"type\" class=\"ax {{size}}\" value=\"{{value}}\" placeholder=\"{{placeholder}}\"\r\n [readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [ngClass]=\"setTextAlign()\" [class.clear]=\"value && allowClear\">\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\" icon=\"fas fa-times\" type=\"danger blank\" (click)=\"clear()\" [tabIndex]=\"-1\"></ax-button>\r\n <ax-button [disabled]=\"disabled\" [icon]=\"eyeIcon\" type=\"light blank\" size=\"{{size}}\" (click)=\"handleShowPassword()\" [tabIndex]=\"-1\">\r\n <!-- <i class=\"\" [ngClass]=\"{'fa-eye': type === 'password','fa-eye-slash':type === 'text'}\"></i> -->\r\n </ax-button>\r\n <ng-content select=\"[end]\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n",
7721
7731
  encapsulation: ViewEncapsulation.None,
7722
7732
  changeDetection: ChangeDetectionStrategy.OnPush,
7723
7733
  host: { style: 'width: 100%' },
@@ -8926,6 +8936,10 @@ let AXQueryBuilderRuleComponent = class AXQueryBuilderRuleComponent {
8926
8936
  value: 'not-contains',
8927
8937
  text: AXTranslator.get('queryBuilder.not-contains')
8928
8938
  },
8939
+ {
8940
+ value: 'contains-all',
8941
+ text: AXTranslator.get('queryBuilder.contains-all')
8942
+ },
8929
8943
  {
8930
8944
  value: 'null',
8931
8945
  text: AXTranslator.get('queryBuilder.null')
@@ -9471,7 +9485,6 @@ let AXQueryBuilderService = class AXQueryBuilderService {
9471
9485
  return __awaiter(this, void 0, void 0, function* () {
9472
9486
  return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
9473
9487
  var e_1, _a;
9474
- ;
9475
9488
  var query;
9476
9489
  if (group.items.length > 0) {
9477
9490
  query = ' ( ';
@@ -9522,8 +9535,10 @@ let AXQueryBuilderService = class AXQueryBuilderService {
9522
9535
  case 'end-with':
9523
9536
  codeOperator = item.operator;
9524
9537
  break;
9538
+ default:
9539
+ codeOperator = item.operator;
9540
+ break;
9525
9541
  }
9526
- ;
9527
9542
  query = query + ' ' + item.caption + ' ' + codeOperator + ' ' + item.text;
9528
9543
  }
9529
9544
  if (id !== group.items.length - 1 && query != ' ( ') {
@@ -9550,7 +9565,6 @@ let AXQueryBuilderService = class AXQueryBuilderService {
9550
9565
  let query = '';
9551
9566
  switch (type) {
9552
9567
  case 'simple':
9553
- ;
9554
9568
  if (group.items.length > 0) {
9555
9569
  query = ' ( ';
9556
9570
  }
@@ -11207,7 +11221,7 @@ __decorate([
11207
11221
  AXTextAreaComponent = AXTextAreaComponent_1 = __decorate([
11208
11222
  Component({
11209
11223
  selector: 'ax-text-area',
11210
- template: "<div class=\"ax form-item {{size}}\" [class.disabled]=\"disabled\" [attr.id]=\"uid\">\r\n <div class=\"content\">\r\n <div class=\"ax input {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\">\r\n <textarea [attr.maxlength]=\"maxLength\" rows=\"{{rows}}\" cols=\"{{cols}}\" #input type=\"text\"\r\n class=\"ax icon {{size}}\" [ngClass]=\"setTextAlign()\" placeholder=\"{{placeholder}}\" [readonly]=\"readonly\"\r\n [disabled]=\"disabled\" value=\"{{value}}\"></textarea>\r\n </div>\r\n </div>\r\n <div class=\"ax buttons\">\r\n <ng-content select=\"ax-button\">\r\n </ng-content>\r\n </div>\r\n</div>",
11224
+ template: "<div class=\"ax form-item {{size}}\" [class.disabled]=\"disabled\" [attr.id]=\"uid\">\r\n <div class=\"content\">\r\n <div class=\"ax input {{size}}\" [class.disabled]=\"disabled\" [class.readonly]=\"readonly\">\r\n <textarea [name]=\"name\" [attr.maxlength]=\"maxLength\" rows=\"{{rows}}\" cols=\"{{cols}}\" #input type=\"text\"\r\n class=\"ax icon {{size}}\" [ngClass]=\"setTextAlign()\" placeholder=\"{{placeholder}}\" [readonly]=\"readonly\"\r\n [disabled]=\"disabled\" value=\"{{value}}\"></textarea>\r\n </div>\r\n </div>\r\n <div class=\"ax buttons\">\r\n <ng-content select=\"ax-button\">\r\n </ng-content>\r\n </div>\r\n</div>",
11211
11225
  encapsulation: ViewEncapsulation.None,
11212
11226
  changeDetection: ChangeDetectionStrategy.OnPush,
11213
11227
  host: { style: 'width: 100%' },
@@ -13939,9 +13953,17 @@ class AXProperyEditorComponent {
13939
13953
  constructor(cdr) {
13940
13954
  this.cdr = cdr;
13941
13955
  this.readonly = false;
13942
- this.initiated = false;
13956
+ this._initiated = false;
13957
+ this._valueBound = false;
13943
13958
  this.validatableComponentRegistered = new Subject();
13944
13959
  this.valueChange = new EventEmitter();
13960
+ this.onRenderCompleted = new EventEmitter();
13961
+ this.onRenderCompleted.subscribe(() => {
13962
+ this._initiated = true;
13963
+ });
13964
+ }
13965
+ get initiated() {
13966
+ return this._initiated && this._valueBound;
13945
13967
  }
13946
13968
  registerForValidationForm(component) {
13947
13969
  this.validatableComponentRegistered.next(component);
@@ -13954,18 +13976,24 @@ class AXProperyEditorComponent {
13954
13976
  this._value = v;
13955
13977
  this.valueChange.emit(v);
13956
13978
  this.cdr.detectChanges();
13979
+ //TODO: find better solution
13980
+ setTimeout(() => {
13981
+ this._valueBound = true;
13982
+ }, 100);
13957
13983
  }
13958
13984
  }
13959
13985
  handleValueChange(v) {
13960
13986
  this.value = v;
13961
13987
  }
13962
- initiat() {
13963
- }
13964
13988
  }
13965
13989
  __decorate([
13966
13990
  Output(),
13967
13991
  __metadata("design:type", EventEmitter)
13968
13992
  ], AXProperyEditorComponent.prototype, "valueChange", void 0);
13993
+ __decorate([
13994
+ Output(),
13995
+ __metadata("design:type", EventEmitter)
13996
+ ], AXProperyEditorComponent.prototype, "onRenderCompleted", void 0);
13969
13997
  __decorate([
13970
13998
  Input(),
13971
13999
  __metadata("design:type", Object),
@@ -14022,11 +14050,12 @@ function propertyEditor(options) {
14022
14050
  }
14023
14051
 
14024
14052
  let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective {
14025
- constructor(target, componentFactoryResolver, renderService) {
14053
+ constructor(target, componentFactoryResolver, renderService, eventService) {
14026
14054
  this.target = target;
14027
14055
  this.componentFactoryResolver = componentFactoryResolver;
14028
14056
  this.renderService = renderService;
14029
- this.readonly = false;
14057
+ this.eventService = eventService;
14058
+ this._context = {};
14030
14059
  this.onValueChange = new EventEmitter();
14031
14060
  }
14032
14061
  get context() {
@@ -14034,9 +14063,6 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14034
14063
  }
14035
14064
  set context(v) {
14036
14065
  this._context = v;
14037
- if (v && this.instance) {
14038
- this.assignProps();
14039
- }
14040
14066
  }
14041
14067
  clear() {
14042
14068
  this.instance.value = null;
@@ -14051,52 +14077,98 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14051
14077
  const cmpRef = this.target.createComponent(factory);
14052
14078
  this.instance = cmpRef.instance;
14053
14079
  this.subscription = this.instance.valueChange.subscribe(value => {
14054
- if (this.instance.initiated === true) {
14055
- this.property.value = value;
14056
- this.onValueChange.emit(this.property);
14080
+ var _a, _b;
14081
+ this.property.value = value;
14082
+ this.onValueChange.emit(this.property);
14083
+ if ((_b = (_a = this.property) === null || _a === void 0 ? void 0 : _a.property) === null || _b === void 0 ? void 0 : _b.name) {
14084
+ setTimeout(() => {
14085
+ this.eventService.broadcast(`props-${this.groupId}-${this.property.property.name}`, this.property);
14086
+ }, 0);
14057
14087
  }
14058
14088
  });
14059
- //
14089
+ this.watchChanges();
14090
+ this.assignProps();
14091
+ this.instance.value = this.property.value;
14092
+ // this.instance.onRenderCompleted.subscribe(() => {
14093
+ // });
14060
14094
  if (this.validationForm) {
14061
14095
  this.instance.validatableComponentRegistered.subscribe(v => {
14062
14096
  this.validationForm.addWidget(v);
14063
14097
  });
14064
14098
  }
14065
- //
14066
- //setTimeout(() => {
14067
- this.instance.readonly = this.readonly;
14068
- this.assignProps();
14069
- this.instance.value = this.property.value;
14070
- this.instance.initiat();
14071
- cmpRef.changeDetectorRef.markForCheck();
14072
- //});
14073
14099
  }
14074
14100
  });
14075
14101
  }
14102
+ watchChanges() {
14103
+ var _a, _b;
14104
+ const varsRegx = /((\$\{[a-zA-Z_0-9]+\})+)/gm;
14105
+ const varNameRegx = /[a-zA-Z_0-9]+/gm;
14106
+ const options = this.property.property.editorOptions;
14107
+ if (!options) {
14108
+ return;
14109
+ }
14110
+ for (const p in options) {
14111
+ if (options.hasOwnProperty(p)) {
14112
+ const opt = options[p];
14113
+ const vars = typeof opt === 'string' ? (_a = opt) === null || _a === void 0 ? void 0 : _a.match(varsRegx) : [];
14114
+ // bind the props
14115
+ if ((_b = vars) === null || _b === void 0 ? void 0 : _b.length) {
14116
+ vars.forEach(v => {
14117
+ var _a;
14118
+ const path = ((_a = v.match(varNameRegx)) === null || _a === void 0 ? void 0 : _a.length) ? v.match(varNameRegx)[0] : null;
14119
+ if (path) {
14120
+ this.eventService.on(`props-${this.groupId}-${path}`, (e) => {
14121
+ let execCode = opt.slice();
14122
+ const params = {};
14123
+ vars.forEach(vv => {
14124
+ var _a;
14125
+ const p2 = ((_a = vv.match(varNameRegx)) === null || _a === void 0 ? void 0 : _a.length) ? vv.match(varNameRegx)[0] : null;
14126
+ params[p2] = AXObjectUtil.deepCopy(this.context[p2]) || null;
14127
+ execCode = execCode.replace(vv, `__params__.${p2}`);
14128
+ });
14129
+ const func = new Function('__params__', `try { return ${execCode}} catch(e){ console.log(e); return null; }`);
14130
+ const val = func(params);
14131
+ const keys = p.split('.');
14132
+ const prop = Object.assign({}, this.instance[keys[0]]);
14133
+ if (keys.length > 1) {
14134
+ this.instance[keys[0]] = setPropByPath(prop, p, val);
14135
+ }
14136
+ else {
14137
+ setPropByPath(this.instance, p, val);
14138
+ }
14139
+ });
14140
+ }
14141
+ });
14142
+ }
14143
+ // else {
14144
+ // this.assignProps();
14145
+ // }
14146
+ }
14147
+ }
14148
+ }
14076
14149
  assignProps() {
14150
+ var _a, _b;
14077
14151
  const options = this.property.property.editorOptions;
14078
14152
  if (!options) {
14079
14153
  return;
14080
14154
  }
14155
+ const varsRegx = /((\$\{[a-zA-Z_0-9]+\})+)/gm;
14081
14156
  for (const p in options) {
14082
14157
  if (options.hasOwnProperty(p)) {
14083
14158
  const opt = options[p];
14084
- if (typeof opt === 'string' && opt.startsWith('$$')) {
14085
- const key = opt.substring(2);
14086
- const val = getPropByPath(this.context, key);
14087
- if (val) {
14088
- this.instance[p] = typeof val === 'function' ? val({ data: this.context, host: this.host }, this.property) : val;
14089
- }
14159
+ const vars = typeof opt === 'string' ? (_a = opt) === null || _a === void 0 ? void 0 : _a.match(varsRegx) : [];
14160
+ if ((_b = vars) === null || _b === void 0 ? void 0 : _b.length) {
14161
+ continue;
14090
14162
  }
14091
14163
  else {
14092
- const res = typeof opt === 'function' ? opt({ data: this.context, host: this.host }, this.property) : opt;
14093
- if (res instanceof Promise) {
14094
- res.then(v => {
14095
- this.instance[p] = v;
14164
+ const val = typeof opt === 'function' ? opt({ data: this.context, host: this.host }, this.property) : opt;
14165
+ if (val instanceof Promise) {
14166
+ val.then(v => {
14167
+ setPropByPath(this.instance, p, val);
14096
14168
  });
14097
14169
  }
14098
14170
  else {
14099
- this.instance[p] = res;
14171
+ setPropByPath(this.instance, p, val);
14100
14172
  }
14101
14173
  }
14102
14174
  }
@@ -14111,16 +14183,13 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14111
14183
  AXPropertyEditorRendererDirective.ctorParameters = () => [
14112
14184
  { type: ViewContainerRef },
14113
14185
  { type: ComponentFactoryResolver },
14114
- { type: AXRenderService }
14186
+ { type: AXRenderService },
14187
+ { type: AXEventService }
14115
14188
  ];
14116
14189
  __decorate([
14117
14190
  Input(),
14118
14191
  __metadata("design:type", Object)
14119
14192
  ], AXPropertyEditorRendererDirective.prototype, "property", void 0);
14120
- __decorate([
14121
- Input(),
14122
- __metadata("design:type", Boolean)
14123
- ], AXPropertyEditorRendererDirective.prototype, "readonly", void 0);
14124
14193
  __decorate([
14125
14194
  Input(),
14126
14195
  __metadata("design:type", AXValidationFormComponent)
@@ -14134,6 +14203,10 @@ __decorate([
14134
14203
  Input(),
14135
14204
  __metadata("design:type", Object)
14136
14205
  ], AXPropertyEditorRendererDirective.prototype, "host", void 0);
14206
+ __decorate([
14207
+ Input(),
14208
+ __metadata("design:type", Object)
14209
+ ], AXPropertyEditorRendererDirective.prototype, "groupId", void 0);
14137
14210
  __decorate([
14138
14211
  Output(),
14139
14212
  __metadata("design:type", EventEmitter)
@@ -14144,7 +14217,8 @@ AXPropertyEditorRendererDirective = __decorate([
14144
14217
  }),
14145
14218
  __metadata("design:paramtypes", [ViewContainerRef,
14146
14219
  ComponentFactoryResolver,
14147
- AXRenderService])
14220
+ AXRenderService,
14221
+ AXEventService])
14148
14222
  ], AXPropertyEditorRendererDirective);
14149
14223
 
14150
14224
  let AXTextPropertyEditorComponent = class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
@@ -14158,7 +14232,7 @@ let AXTextPropertyEditorComponent = class AXTextPropertyEditorComponent extends
14158
14232
  }
14159
14233
  ngAfterViewInit() {
14160
14234
  this.registerForValidationForm(this.textBox);
14161
- this.initiated = true;
14235
+ this.onRenderCompleted.emit();
14162
14236
  }
14163
14237
  };
14164
14238
  AXTextPropertyEditorComponent.ctorParameters = () => [
@@ -14204,8 +14278,8 @@ let AXNumberBoxPropertyEditorComponent = class AXNumberBoxPropertyEditorComponen
14204
14278
  super.handleValueChange(e.value);
14205
14279
  }
14206
14280
  ngAfterViewInit() {
14207
- this.initiated = true;
14208
14281
  this.registerForValidationForm(this.textBox);
14282
+ this.onRenderCompleted.emit();
14209
14283
  }
14210
14284
  };
14211
14285
  AXNumberBoxPropertyEditorComponent.ctorParameters = () => [
@@ -14259,16 +14333,18 @@ let AXSelectBoxPropertyEditorComponent = class AXSelectBoxPropertyEditorComponen
14259
14333
  this.selectionDataMode = 'value';
14260
14334
  this.allowSearch = true;
14261
14335
  this.allowNull = false;
14336
+ this.disabled = false;
14262
14337
  this.items = [];
14263
14338
  this.remoteOperation = false;
14264
14339
  this.provideData = (e) => {
14265
14340
  return new Promise((resolve) => {
14266
14341
  const func = () => {
14267
14342
  if (Array.isArray(this.items)) {
14268
- resolve(this.items);
14343
+ resolve(this.items.slice());
14269
14344
  }
14270
14345
  else if (typeof this.items === 'function') {
14271
- resolve(this.items(e));
14346
+ const a = Object.assign(e, { sender: this });
14347
+ resolve(this.items(a));
14272
14348
  }
14273
14349
  else {
14274
14350
  resolve([]);
@@ -14283,27 +14359,35 @@ let AXSelectBoxPropertyEditorComponent = class AXSelectBoxPropertyEditorComponen
14283
14359
  });
14284
14360
  };
14285
14361
  }
14362
+ get filter() {
14363
+ return this._filter;
14364
+ }
14365
+ set filter(v) {
14366
+ var _a;
14367
+ this._filter = v;
14368
+ if (this.value && this.initiated) {
14369
+ this.value = null;
14370
+ (_a = this.selectBox) === null || _a === void 0 ? void 0 : _a.refresh();
14371
+ }
14372
+ }
14286
14373
  handleValueChange(e) {
14287
- super.handleValueChange(e.value);
14374
+ super.handleValueChange(e.selectedValues);
14288
14375
  }
14289
14376
  ngAfterViewInit() {
14290
- this.selectBox.refresh();
14291
14377
  this.registerForValidationForm(this.selectBox);
14292
- }
14293
- initiat() {
14294
- this.initiated = true;
14378
+ this.onRenderCompleted.emit();
14295
14379
  }
14296
14380
  };
14297
14381
  AXSelectBoxPropertyEditorComponent.ctorParameters = () => [
14298
14382
  { type: ChangeDetectorRef }
14299
14383
  ];
14300
14384
  __decorate([
14301
- ViewChild(AXSelectBox2Component, { static: true }),
14302
- __metadata("design:type", AXSelectBox2Component)
14385
+ ViewChild(AXSelectBoxComponent, { static: true }),
14386
+ __metadata("design:type", AXSelectBoxComponent)
14303
14387
  ], AXSelectBoxPropertyEditorComponent.prototype, "selectBox", void 0);
14304
14388
  AXSelectBoxPropertyEditorComponent = __decorate([
14305
14389
  Component({
14306
- template: "<ax-select-box2 [selectionMode]=\"selectionMode\"\r\n [selectionDataMode]=\"selectionDataMode\" \r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [value]=\"value\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n (onValueChanged)=\"handleValueChange($event)\">\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-select-box2>"
14390
+ template: "<ax-select-box [mode]=\"selectionMode\"\r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [selectedValues]=\"value\" \r\n [remoteOperation]=\"remoteOperation\"\r\n [allowSearch]=\"allowSearch\" \r\n [allowNull]=\"allowNull\"\r\n [readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n (selectionChanged)=\"handleValueChange($event)\">\r\n <ax-data-source [provideData]=\"provideData\">\r\n </ax-data-source>\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-select-box>"
14307
14391
  }),
14308
14392
  __metadata("design:paramtypes", [ChangeDetectorRef])
14309
14393
  ], AXSelectBoxPropertyEditorComponent);
@@ -14337,7 +14421,7 @@ let AXRangePropertyEditorComponent = class AXRangePropertyEditorComponent extend
14337
14421
  this.cdr.detectChanges();
14338
14422
  }
14339
14423
  ngAfterViewInit() {
14340
- this.initiated = true;
14424
+ this.onRenderCompleted.emit();
14341
14425
  }
14342
14426
  // getRanges() {
14343
14427
  // return this.ranges.sort((a, b) => a.minValue - b.minValue);
@@ -15018,7 +15102,7 @@ let AXColorPropertyEditorComponent = class AXColorPropertyEditorComponent extend
15018
15102
  }
15019
15103
  ngAfterViewInit() {
15020
15104
  this.registerForValidationForm(this.textBox);
15021
- this.initiated = true;
15105
+ this.onRenderCompleted.emit();
15022
15106
  }
15023
15107
  };
15024
15108
  AXColorPropertyEditorComponent.ctorParameters = () => [
@@ -15077,7 +15161,7 @@ let ColumnPropertyEditorComponent = class ColumnPropertyEditorComponent extends
15077
15161
  this.columns = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
15078
15162
  }
15079
15163
  ngAfterViewInit() {
15080
- this.initiated = true;
15164
+ this.onRenderCompleted.emit();
15081
15165
  }
15082
15166
  drop(event) {
15083
15167
  moveItemInArray(this.columns, event.previousIndex, event.currentIndex);
@@ -15231,8 +15315,8 @@ let AXConditionalColorPropertyEditorComponent = class AXConditionalColorProperty
15231
15315
  ].filter(c => c.dataTypes == null || c.dataTypes.includes(this.dataType));
15232
15316
  }
15233
15317
  ngAfterViewInit() {
15234
- this.initiated = true;
15235
15318
  this.cdr.detectChanges();
15319
+ this.onRenderCompleted.emit();
15236
15320
  }
15237
15321
  handleEditClick(item) {
15238
15322
  this.updateOperations();
@@ -15425,7 +15509,7 @@ let AXSwitchPropertyEditorComponent = class AXSwitchPropertyEditorComponent exte
15425
15509
  super.handleValueChange(e.value);
15426
15510
  }
15427
15511
  ngAfterViewInit() {
15428
- this.initiated = true;
15512
+ this.onRenderCompleted.emit();
15429
15513
  }
15430
15514
  };
15431
15515
  AXSwitchPropertyEditorComponent.ctorParameters = () => [
@@ -15472,8 +15556,8 @@ let AXDatePropertyEditorComponent = class AXDatePropertyEditorComponent extends
15472
15556
  super.handleValueChange(e.value);
15473
15557
  }
15474
15558
  ngAfterViewInit() {
15475
- this.initiated = true;
15476
15559
  this.registerForValidationForm(this.date);
15560
+ this.onRenderCompleted.emit();
15477
15561
  }
15478
15562
  };
15479
15563
  AXDatePropertyEditorComponent.ctorParameters = () => [
@@ -15523,8 +15607,8 @@ let AXTimePropertyEditorComponent = class AXTimePropertyEditorComponent extends
15523
15607
  super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
15524
15608
  }
15525
15609
  ngAfterViewInit() {
15526
- this.initiated = true;
15527
15610
  this.registerForValidationForm(this.time);
15611
+ this.onRenderCompleted.emit();
15528
15612
  }
15529
15613
  };
15530
15614
  AXTimePropertyEditorComponent.ctorParameters = () => [