@acorex/components 4.2.30 → 4.2.33

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.
@@ -3862,7 +3862,7 @@ class AXDatePickerComponent extends AXValidatableComponent {
3862
3862
  this.selectToday();
3863
3863
  }
3864
3864
  if (this.dropdown.dropdownWidth > 200 || this.dropdown.dropdownWidth < 200) {
3865
- this.dropdown.dropdownWidth = 250;
3865
+ this.dropdown.dropdownWidth = 320;
3866
3866
  }
3867
3867
  this.cdr.markForCheck();
3868
3868
  });
@@ -5482,6 +5482,7 @@ class AXFormGroupComponent extends AXBaseComponent {
5482
5482
  ngAfterViewInit() {
5483
5483
  var _a, _b, _c;
5484
5484
  this.required = (_c = (_b = (_a = this.component) === null || _a === void 0 ? void 0 : _a.validation) === null || _b === void 0 ? void 0 : _b.rules) === null || _c === void 0 ? void 0 : _c.some(c => c.type === 'required');
5485
+ this.div.nativeElement.classList.add(this.size);
5485
5486
  if (this.required) {
5486
5487
  this.div.nativeElement.classList.add('required-state');
5487
5488
  }
@@ -10324,6 +10325,7 @@ class AXSearchBarComponent {
10324
10325
  this.dropdown.toggle();
10325
10326
  }
10326
10327
  handleValueChange(e) {
10328
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
10327
10329
  if (this._filterItemsClone.find((el) => el.name == e.property.name)) {
10328
10330
  this._filterItemsClone.find((el) => el.name == e.property.name).value = e.value;
10329
10331
  }
@@ -10333,12 +10335,12 @@ class AXSearchBarComponent {
10333
10335
  title: e.property.title,
10334
10336
  value: e.value,
10335
10337
  filterOptions: {
10336
- filters: e.property.editorOptions.filters ? e.property.editorOptions.filters : null,
10337
- logic: e.property.editorOptions.logic ? e.property.editorOptions.logic : null,
10338
- ignoreCase: e.property.editorOptions.ignoreCase ? e.property.editorOptions.ignoreCase : null,
10339
- joinType: e.property.editorOptions.joinType ? e.property.editorOptions.joinType : null,
10340
- operator: e.property.editorOptions.operator ? e.property.editorOptions.operator : null,
10341
- truncateDate: e.property.editorOptions.truncateDate ? e.property.editorOptions.truncateDate : null
10338
+ filters: ((_b = (_a = e.property) === null || _a === void 0 ? void 0 : _a.filterOptions) === null || _b === void 0 ? void 0 : _b.filters) ? e.property.filterOptions.filters : [],
10339
+ logic: ((_d = (_c = e.property) === null || _c === void 0 ? void 0 : _c.filterOptions) === null || _d === void 0 ? void 0 : _d.logic) ? e.property.filterOptions.logic : 'and',
10340
+ ignoreCase: ((_f = (_e = e.property) === null || _e === void 0 ? void 0 : _e.filterOptions) === null || _f === void 0 ? void 0 : _f.ignoreCase) ? e.property.filterOptions.ignoreCase : true,
10341
+ joinType: ((_h = (_g = e.property) === null || _g === void 0 ? void 0 : _g.filterOptions) === null || _h === void 0 ? void 0 : _h.joinType) ? e.property.filterOptions.joinType : 'INNER',
10342
+ operator: ((_k = (_j = e.property) === null || _j === void 0 ? void 0 : _j.filterOptions) === null || _k === void 0 ? void 0 : _k.operator) ? e.property.filterOptions.operator : null,
10343
+ truncateDate: ((_m = (_l = e.property) === null || _l === void 0 ? void 0 : _l.filterOptions) === null || _m === void 0 ? void 0 : _m.truncateDate) ? e.property.filterOptions.truncateDate : true
10342
10344
  }
10343
10345
  });
10344
10346
  }
@@ -10476,7 +10478,7 @@ class AXPropertyDecorator {
10476
10478
  // @dynamic
10477
10479
  class AXPropertyDecorators {
10478
10480
  static register(cls, property, options) {
10479
- const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
10481
+ const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
10480
10482
  if (item) {
10481
10483
  item.options = options;
10482
10484
  }
@@ -10485,14 +10487,14 @@ class AXPropertyDecorators {
10485
10487
  }
10486
10488
  }
10487
10489
  static has(cls, property) {
10488
- return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
10490
+ return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
10489
10491
  }
10490
10492
  static get(cls, property) {
10491
- return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
10493
+ return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
10492
10494
  }
10493
10495
  static isValid(property) {
10494
10496
  if (property) {
10495
- return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
10497
+ return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
10496
10498
  }
10497
10499
  return false;
10498
10500
  }
@@ -10504,7 +10506,7 @@ class AXPropertyDecorators {
10504
10506
  p.push(superClass.constructor);
10505
10507
  superClass = Object.getPrototypeOf(superClass);
10506
10508
  }
10507
- list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
10509
+ list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
10508
10510
  return list;
10509
10511
  }
10510
10512
  }