@acorex/platform 19.2.1 → 19.2.3

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.
@@ -4766,7 +4766,9 @@ class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
4766
4766
  }
4767
4767
  clear() {
4768
4768
  this.selectbox?.reset(true);
4769
- this.selectbox?.refresh();
4769
+ setTimeout(() => {
4770
+ this.selectbox?.refresh();
4771
+ }, 0);
4770
4772
  }
4771
4773
  get __class() {
4772
4774
  const cls = {};
@@ -4792,11 +4794,7 @@ class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
4792
4794
  } @if(hasClearButton()) {
4793
4795
  <ax-clear-button></ax-clear-button>
4794
4796
  } @for (validation of validationRules(); track $index) {
4795
- <ax-validation-rule
4796
- [rule]="validation.rule"
4797
- [message]="validation.options?.message"
4798
- [options]="validation.options"
4799
- ></ax-validation-rule>
4797
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4800
4798
  }
4801
4799
  </ax-select-box>
4802
4800
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$2.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i5$2.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -4822,11 +4820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
4822
4820
  } @if(hasClearButton()) {
4823
4821
  <ax-clear-button></ax-clear-button>
4824
4822
  } @for (validation of validationRules(); track $index) {
4825
- <ax-validation-rule
4826
- [rule]="validation.rule"
4827
- [message]="validation.options?.message"
4828
- [options]="validation.options"
4829
- ></ax-validation-rule>
4823
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4830
4824
  }
4831
4825
  </ax-select-box>
4832
4826
  `,