@acorex/components 3.0.47 → 3.0.48

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 (39) hide show
  1. package/acorex-components.metadata.json +1 -1
  2. package/bundles/acorex-components.umd.js +145 -61
  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/calendar/calendar-box/calendar-box.component.js +4 -4
  7. package/esm2015/lib/property-editor/editors/color-editor/color.editor.js +2 -2
  8. package/esm2015/lib/property-editor/editors/column-editor/column.editor.js +2 -2
  9. package/esm2015/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.js +2 -2
  10. package/esm2015/lib/property-editor/editors/date-editor/date.editor.js +2 -2
  11. package/esm2015/lib/property-editor/editors/number-editor/number.editor.js +2 -2
  12. package/esm2015/lib/property-editor/editors/range-editor/range.editor.js +2 -2
  13. package/esm2015/lib/property-editor/editors/selectbox-editor/selectbox.editor.js +22 -12
  14. package/esm2015/lib/property-editor/editors/switch-editor/number.editor.js +2 -2
  15. package/esm2015/lib/property-editor/editors/text-editor/text.editor.js +2 -2
  16. package/esm2015/lib/property-editor/editors/time-editor/time.editor.js +2 -2
  17. package/esm2015/lib/property-editor/property-editor-renderer.directive.js +83 -37
  18. package/esm2015/lib/property-editor/property-editor.class.js +18 -4
  19. package/esm5/lib/calendar/calendar-box/calendar-box.component.js +4 -4
  20. package/esm5/lib/property-editor/editors/color-editor/color.editor.js +2 -2
  21. package/esm5/lib/property-editor/editors/column-editor/column.editor.js +2 -2
  22. package/esm5/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.js +2 -2
  23. package/esm5/lib/property-editor/editors/date-editor/date.editor.js +2 -2
  24. package/esm5/lib/property-editor/editors/number-editor/number.editor.js +2 -2
  25. package/esm5/lib/property-editor/editors/range-editor/range.editor.js +2 -2
  26. package/esm5/lib/property-editor/editors/selectbox-editor/selectbox.editor.js +26 -12
  27. package/esm5/lib/property-editor/editors/switch-editor/number.editor.js +2 -2
  28. package/esm5/lib/property-editor/editors/text-editor/text.editor.js +2 -2
  29. package/esm5/lib/property-editor/editors/time-editor/time.editor.js +2 -2
  30. package/esm5/lib/property-editor/property-editor-renderer.directive.js +89 -39
  31. package/esm5/lib/property-editor/property-editor.class.js +24 -4
  32. package/fesm2015/acorex-components.js +130 -60
  33. package/fesm2015/acorex-components.js.map +1 -1
  34. package/fesm5/acorex-components.js +146 -62
  35. package/fesm5/acorex-components.js.map +1 -1
  36. package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +7 -4
  37. package/lib/property-editor/property-editor-renderer.directive.d.ts +5 -3
  38. package/lib/property-editor/property-editor.class.d.ts +4 -2
  39. 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';
@@ -1047,7 +1047,7 @@ let AXCalendarBoxComponent = class AXCalendarBoxComponent {
1047
1047
  return new AXDateTime(new Date(), this.type);
1048
1048
  }
1049
1049
  findDay(date) {
1050
- if (this.dayStyle.find((c) => c.date == date.toISOString().split('T')[0])) {
1050
+ if (this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0])) {
1051
1051
  return true;
1052
1052
  }
1053
1053
  else {
@@ -1055,8 +1055,8 @@ let AXCalendarBoxComponent = class AXCalendarBoxComponent {
1055
1055
  }
1056
1056
  }
1057
1057
  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;
1058
+ if (this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0])) {
1059
+ return this.dayStyle.find((c) => c.date.split('T')[0] == date.toISOString().split('T')[0]).style;
1060
1060
  }
1061
1061
  else {
1062
1062
  return '';
@@ -13939,9 +13939,17 @@ class AXProperyEditorComponent {
13939
13939
  constructor(cdr) {
13940
13940
  this.cdr = cdr;
13941
13941
  this.readonly = false;
13942
- this.initiated = false;
13942
+ this._initiated = false;
13943
+ this._valueBound = false;
13943
13944
  this.validatableComponentRegistered = new Subject();
13944
13945
  this.valueChange = new EventEmitter();
13946
+ this.onRenderCompleted = new EventEmitter();
13947
+ this.onRenderCompleted.subscribe(() => {
13948
+ this._initiated = true;
13949
+ });
13950
+ }
13951
+ get initiated() {
13952
+ return this._initiated && this._valueBound;
13945
13953
  }
13946
13954
  registerForValidationForm(component) {
13947
13955
  this.validatableComponentRegistered.next(component);
@@ -13954,18 +13962,24 @@ class AXProperyEditorComponent {
13954
13962
  this._value = v;
13955
13963
  this.valueChange.emit(v);
13956
13964
  this.cdr.detectChanges();
13965
+ //TODO: find better solution
13966
+ setTimeout(() => {
13967
+ this._valueBound = true;
13968
+ }, 100);
13957
13969
  }
13958
13970
  }
13959
13971
  handleValueChange(v) {
13960
13972
  this.value = v;
13961
13973
  }
13962
- initiat() {
13963
- }
13964
13974
  }
13965
13975
  __decorate([
13966
13976
  Output(),
13967
13977
  __metadata("design:type", EventEmitter)
13968
13978
  ], AXProperyEditorComponent.prototype, "valueChange", void 0);
13979
+ __decorate([
13980
+ Output(),
13981
+ __metadata("design:type", EventEmitter)
13982
+ ], AXProperyEditorComponent.prototype, "onRenderCompleted", void 0);
13969
13983
  __decorate([
13970
13984
  Input(),
13971
13985
  __metadata("design:type", Object),
@@ -14022,11 +14036,12 @@ function propertyEditor(options) {
14022
14036
  }
14023
14037
 
14024
14038
  let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective {
14025
- constructor(target, componentFactoryResolver, renderService) {
14039
+ constructor(target, componentFactoryResolver, renderService, eventService) {
14026
14040
  this.target = target;
14027
14041
  this.componentFactoryResolver = componentFactoryResolver;
14028
14042
  this.renderService = renderService;
14029
- this.readonly = false;
14043
+ this.eventService = eventService;
14044
+ this._context = {};
14030
14045
  this.onValueChange = new EventEmitter();
14031
14046
  }
14032
14047
  get context() {
@@ -14034,9 +14049,6 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14034
14049
  }
14035
14050
  set context(v) {
14036
14051
  this._context = v;
14037
- if (v && this.instance) {
14038
- this.assignProps();
14039
- }
14040
14052
  }
14041
14053
  clear() {
14042
14054
  this.instance.value = null;
@@ -14051,52 +14063,98 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14051
14063
  const cmpRef = this.target.createComponent(factory);
14052
14064
  this.instance = cmpRef.instance;
14053
14065
  this.subscription = this.instance.valueChange.subscribe(value => {
14054
- if (this.instance.initiated === true) {
14055
- this.property.value = value;
14056
- this.onValueChange.emit(this.property);
14066
+ var _a, _b;
14067
+ this.property.value = value;
14068
+ this.onValueChange.emit(this.property);
14069
+ if ((_b = (_a = this.property) === null || _a === void 0 ? void 0 : _a.property) === null || _b === void 0 ? void 0 : _b.name) {
14070
+ setTimeout(() => {
14071
+ this.eventService.broadcast(`props-${this.groupId}-${this.property.property.name}`, this.property);
14072
+ }, 0);
14057
14073
  }
14058
14074
  });
14059
- //
14075
+ this.watchChanges();
14076
+ this.assignProps();
14077
+ this.instance.value = this.property.value;
14078
+ // this.instance.onRenderCompleted.subscribe(() => {
14079
+ // });
14060
14080
  if (this.validationForm) {
14061
14081
  this.instance.validatableComponentRegistered.subscribe(v => {
14062
14082
  this.validationForm.addWidget(v);
14063
14083
  });
14064
14084
  }
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
14085
  }
14074
14086
  });
14075
14087
  }
14088
+ watchChanges() {
14089
+ var _a, _b;
14090
+ const varsRegx = /((\$\{[a-zA-Z_0-9]+\})+)/gm;
14091
+ const varNameRegx = /[a-zA-Z_0-9]+/gm;
14092
+ const options = this.property.property.editorOptions;
14093
+ if (!options) {
14094
+ return;
14095
+ }
14096
+ for (const p in options) {
14097
+ if (options.hasOwnProperty(p)) {
14098
+ const opt = options[p];
14099
+ const vars = typeof opt === 'string' ? (_a = opt) === null || _a === void 0 ? void 0 : _a.match(varsRegx) : [];
14100
+ // bind the props
14101
+ if ((_b = vars) === null || _b === void 0 ? void 0 : _b.length) {
14102
+ vars.forEach(v => {
14103
+ var _a;
14104
+ const path = ((_a = v.match(varNameRegx)) === null || _a === void 0 ? void 0 : _a.length) ? v.match(varNameRegx)[0] : null;
14105
+ if (path) {
14106
+ this.eventService.on(`props-${this.groupId}-${path}`, (e) => {
14107
+ let execCode = opt.slice();
14108
+ const params = {};
14109
+ vars.forEach(vv => {
14110
+ var _a;
14111
+ const p2 = ((_a = vv.match(varNameRegx)) === null || _a === void 0 ? void 0 : _a.length) ? vv.match(varNameRegx)[0] : null;
14112
+ params[p2] = AXObjectUtil.deepCopy(this.context[p2]) || null;
14113
+ execCode = execCode.replace(vv, `__params__.${p2}`);
14114
+ });
14115
+ const func = new Function('__params__', `try { return ${execCode}} catch(e){ console.log(e); return null; }`);
14116
+ const val = func(params);
14117
+ const keys = p.split('.');
14118
+ const prop = Object.assign({}, this.instance[keys[0]]);
14119
+ if (keys.length > 1) {
14120
+ this.instance[keys[0]] = setPropByPath(prop, p, val);
14121
+ }
14122
+ else {
14123
+ setPropByPath(this.instance, p, val);
14124
+ }
14125
+ });
14126
+ }
14127
+ });
14128
+ }
14129
+ // else {
14130
+ // this.assignProps();
14131
+ // }
14132
+ }
14133
+ }
14134
+ }
14076
14135
  assignProps() {
14136
+ var _a, _b;
14077
14137
  const options = this.property.property.editorOptions;
14078
14138
  if (!options) {
14079
14139
  return;
14080
14140
  }
14141
+ const varsRegx = /((\$\{[a-zA-Z_0-9]+\})+)/gm;
14081
14142
  for (const p in options) {
14082
14143
  if (options.hasOwnProperty(p)) {
14083
14144
  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
- }
14145
+ const vars = typeof opt === 'string' ? (_a = opt) === null || _a === void 0 ? void 0 : _a.match(varsRegx) : [];
14146
+ if ((_b = vars) === null || _b === void 0 ? void 0 : _b.length) {
14147
+ continue;
14090
14148
  }
14091
14149
  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;
14150
+ const val = typeof opt === 'function' ? opt({ data: this.context, host: this.host }, this.property) : opt;
14151
+ if (val instanceof Promise) {
14152
+ val.then(v => {
14153
+ setPropByPath(this.instance, p, val);
14096
14154
  });
14097
14155
  }
14098
14156
  else {
14099
- this.instance[p] = res;
14157
+ setPropByPath(this.instance, p, val);
14100
14158
  }
14101
14159
  }
14102
14160
  }
@@ -14111,16 +14169,13 @@ let AXPropertyEditorRendererDirective = class AXPropertyEditorRendererDirective
14111
14169
  AXPropertyEditorRendererDirective.ctorParameters = () => [
14112
14170
  { type: ViewContainerRef },
14113
14171
  { type: ComponentFactoryResolver },
14114
- { type: AXRenderService }
14172
+ { type: AXRenderService },
14173
+ { type: AXEventService }
14115
14174
  ];
14116
14175
  __decorate([
14117
14176
  Input(),
14118
14177
  __metadata("design:type", Object)
14119
14178
  ], AXPropertyEditorRendererDirective.prototype, "property", void 0);
14120
- __decorate([
14121
- Input(),
14122
- __metadata("design:type", Boolean)
14123
- ], AXPropertyEditorRendererDirective.prototype, "readonly", void 0);
14124
14179
  __decorate([
14125
14180
  Input(),
14126
14181
  __metadata("design:type", AXValidationFormComponent)
@@ -14134,6 +14189,10 @@ __decorate([
14134
14189
  Input(),
14135
14190
  __metadata("design:type", Object)
14136
14191
  ], AXPropertyEditorRendererDirective.prototype, "host", void 0);
14192
+ __decorate([
14193
+ Input(),
14194
+ __metadata("design:type", Object)
14195
+ ], AXPropertyEditorRendererDirective.prototype, "groupId", void 0);
14137
14196
  __decorate([
14138
14197
  Output(),
14139
14198
  __metadata("design:type", EventEmitter)
@@ -14144,7 +14203,8 @@ AXPropertyEditorRendererDirective = __decorate([
14144
14203
  }),
14145
14204
  __metadata("design:paramtypes", [ViewContainerRef,
14146
14205
  ComponentFactoryResolver,
14147
- AXRenderService])
14206
+ AXRenderService,
14207
+ AXEventService])
14148
14208
  ], AXPropertyEditorRendererDirective);
14149
14209
 
14150
14210
  let AXTextPropertyEditorComponent = class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
@@ -14158,7 +14218,7 @@ let AXTextPropertyEditorComponent = class AXTextPropertyEditorComponent extends
14158
14218
  }
14159
14219
  ngAfterViewInit() {
14160
14220
  this.registerForValidationForm(this.textBox);
14161
- this.initiated = true;
14221
+ this.onRenderCompleted.emit();
14162
14222
  }
14163
14223
  };
14164
14224
  AXTextPropertyEditorComponent.ctorParameters = () => [
@@ -14204,8 +14264,8 @@ let AXNumberBoxPropertyEditorComponent = class AXNumberBoxPropertyEditorComponen
14204
14264
  super.handleValueChange(e.value);
14205
14265
  }
14206
14266
  ngAfterViewInit() {
14207
- this.initiated = true;
14208
14267
  this.registerForValidationForm(this.textBox);
14268
+ this.onRenderCompleted.emit();
14209
14269
  }
14210
14270
  };
14211
14271
  AXNumberBoxPropertyEditorComponent.ctorParameters = () => [
@@ -14259,16 +14319,18 @@ let AXSelectBoxPropertyEditorComponent = class AXSelectBoxPropertyEditorComponen
14259
14319
  this.selectionDataMode = 'value';
14260
14320
  this.allowSearch = true;
14261
14321
  this.allowNull = false;
14322
+ this.disabled = false;
14262
14323
  this.items = [];
14263
14324
  this.remoteOperation = false;
14264
14325
  this.provideData = (e) => {
14265
14326
  return new Promise((resolve) => {
14266
14327
  const func = () => {
14267
14328
  if (Array.isArray(this.items)) {
14268
- resolve(this.items);
14329
+ resolve(this.items.slice());
14269
14330
  }
14270
14331
  else if (typeof this.items === 'function') {
14271
- resolve(this.items(e));
14332
+ const a = Object.assign(e, { sender: this });
14333
+ resolve(this.items(a));
14272
14334
  }
14273
14335
  else {
14274
14336
  resolve([]);
@@ -14283,27 +14345,35 @@ let AXSelectBoxPropertyEditorComponent = class AXSelectBoxPropertyEditorComponen
14283
14345
  });
14284
14346
  };
14285
14347
  }
14348
+ get filter() {
14349
+ return this._filter;
14350
+ }
14351
+ set filter(v) {
14352
+ var _a;
14353
+ this._filter = v;
14354
+ if (this.value && this.initiated) {
14355
+ this.value = null;
14356
+ (_a = this.selectBox) === null || _a === void 0 ? void 0 : _a.refresh();
14357
+ }
14358
+ }
14286
14359
  handleValueChange(e) {
14287
- super.handleValueChange(e.value);
14360
+ super.handleValueChange(e.selectedValues);
14288
14361
  }
14289
14362
  ngAfterViewInit() {
14290
- this.selectBox.refresh();
14291
14363
  this.registerForValidationForm(this.selectBox);
14292
- }
14293
- initiat() {
14294
- this.initiated = true;
14364
+ this.onRenderCompleted.emit();
14295
14365
  }
14296
14366
  };
14297
14367
  AXSelectBoxPropertyEditorComponent.ctorParameters = () => [
14298
14368
  { type: ChangeDetectorRef }
14299
14369
  ];
14300
14370
  __decorate([
14301
- ViewChild(AXSelectBox2Component, { static: true }),
14302
- __metadata("design:type", AXSelectBox2Component)
14371
+ ViewChild(AXSelectBoxComponent, { static: true }),
14372
+ __metadata("design:type", AXSelectBoxComponent)
14303
14373
  ], AXSelectBoxPropertyEditorComponent.prototype, "selectBox", void 0);
14304
14374
  AXSelectBoxPropertyEditorComponent = __decorate([
14305
14375
  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>"
14376
+ 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
14377
  }),
14308
14378
  __metadata("design:paramtypes", [ChangeDetectorRef])
14309
14379
  ], AXSelectBoxPropertyEditorComponent);
@@ -14337,7 +14407,7 @@ let AXRangePropertyEditorComponent = class AXRangePropertyEditorComponent extend
14337
14407
  this.cdr.detectChanges();
14338
14408
  }
14339
14409
  ngAfterViewInit() {
14340
- this.initiated = true;
14410
+ this.onRenderCompleted.emit();
14341
14411
  }
14342
14412
  // getRanges() {
14343
14413
  // return this.ranges.sort((a, b) => a.minValue - b.minValue);
@@ -15018,7 +15088,7 @@ let AXColorPropertyEditorComponent = class AXColorPropertyEditorComponent extend
15018
15088
  }
15019
15089
  ngAfterViewInit() {
15020
15090
  this.registerForValidationForm(this.textBox);
15021
- this.initiated = true;
15091
+ this.onRenderCompleted.emit();
15022
15092
  }
15023
15093
  };
15024
15094
  AXColorPropertyEditorComponent.ctorParameters = () => [
@@ -15077,7 +15147,7 @@ let ColumnPropertyEditorComponent = class ColumnPropertyEditorComponent extends
15077
15147
  this.columns = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
15078
15148
  }
15079
15149
  ngAfterViewInit() {
15080
- this.initiated = true;
15150
+ this.onRenderCompleted.emit();
15081
15151
  }
15082
15152
  drop(event) {
15083
15153
  moveItemInArray(this.columns, event.previousIndex, event.currentIndex);
@@ -15231,8 +15301,8 @@ let AXConditionalColorPropertyEditorComponent = class AXConditionalColorProperty
15231
15301
  ].filter(c => c.dataTypes == null || c.dataTypes.includes(this.dataType));
15232
15302
  }
15233
15303
  ngAfterViewInit() {
15234
- this.initiated = true;
15235
15304
  this.cdr.detectChanges();
15305
+ this.onRenderCompleted.emit();
15236
15306
  }
15237
15307
  handleEditClick(item) {
15238
15308
  this.updateOperations();
@@ -15425,7 +15495,7 @@ let AXSwitchPropertyEditorComponent = class AXSwitchPropertyEditorComponent exte
15425
15495
  super.handleValueChange(e.value);
15426
15496
  }
15427
15497
  ngAfterViewInit() {
15428
- this.initiated = true;
15498
+ this.onRenderCompleted.emit();
15429
15499
  }
15430
15500
  };
15431
15501
  AXSwitchPropertyEditorComponent.ctorParameters = () => [
@@ -15472,8 +15542,8 @@ let AXDatePropertyEditorComponent = class AXDatePropertyEditorComponent extends
15472
15542
  super.handleValueChange(e.value);
15473
15543
  }
15474
15544
  ngAfterViewInit() {
15475
- this.initiated = true;
15476
15545
  this.registerForValidationForm(this.date);
15546
+ this.onRenderCompleted.emit();
15477
15547
  }
15478
15548
  };
15479
15549
  AXDatePropertyEditorComponent.ctorParameters = () => [
@@ -15523,8 +15593,8 @@ let AXTimePropertyEditorComponent = class AXTimePropertyEditorComponent extends
15523
15593
  super.handleValueChange((_a = e.value) === null || _a === void 0 ? void 0 : _a.time);
15524
15594
  }
15525
15595
  ngAfterViewInit() {
15526
- this.initiated = true;
15527
15596
  this.registerForValidationForm(this.time);
15597
+ this.onRenderCompleted.emit();
15528
15598
  }
15529
15599
  };
15530
15600
  AXTimePropertyEditorComponent.ctorParameters = () => [