@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.
- package/esm2020/lib/date-picker/date-picker.component.mjs +2 -2
- package/esm2020/lib/form-group/form-group.component.mjs +2 -1
- package/esm2020/lib/property-editor/property-editor.class.mjs +6 -6
- package/esm2020/lib/search-bar/search-bar.component.mjs +7 -7
- package/fesm2015/acorex-components.mjs +14 -12
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +13 -12
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/property-editor/property-editor.class.d.ts +9 -0
- package/lib/search-bar/search-bar.component.d.ts +1 -9
- package/package.json +1 -1
|
@@ -3843,7 +3843,7 @@ class AXDatePickerComponent extends AXValidatableComponent {
|
|
|
3843
3843
|
this.selectToday();
|
|
3844
3844
|
}
|
|
3845
3845
|
if (this.dropdown.dropdownWidth > 200 || this.dropdown.dropdownWidth < 200) {
|
|
3846
|
-
this.dropdown.dropdownWidth =
|
|
3846
|
+
this.dropdown.dropdownWidth = 320;
|
|
3847
3847
|
}
|
|
3848
3848
|
this.cdr.markForCheck();
|
|
3849
3849
|
});
|
|
@@ -5460,6 +5460,7 @@ class AXFormGroupComponent extends AXBaseComponent {
|
|
|
5460
5460
|
}
|
|
5461
5461
|
ngAfterViewInit() {
|
|
5462
5462
|
this.required = this.component?.validation?.rules?.some(c => c.type === 'required');
|
|
5463
|
+
this.div.nativeElement.classList.add(this.size);
|
|
5463
5464
|
if (this.required) {
|
|
5464
5465
|
this.div.nativeElement.classList.add('required-state');
|
|
5465
5466
|
}
|
|
@@ -10288,12 +10289,12 @@ class AXSearchBarComponent {
|
|
|
10288
10289
|
title: e.property.title,
|
|
10289
10290
|
value: e.value,
|
|
10290
10291
|
filterOptions: {
|
|
10291
|
-
filters: e.property
|
|
10292
|
-
logic: e.property
|
|
10293
|
-
ignoreCase: e.property
|
|
10294
|
-
joinType: e.property
|
|
10295
|
-
operator: e.property
|
|
10296
|
-
truncateDate: e.property
|
|
10292
|
+
filters: e.property?.filterOptions?.filters ? e.property.filterOptions.filters : [],
|
|
10293
|
+
logic: e.property?.filterOptions?.logic ? e.property.filterOptions.logic : 'and',
|
|
10294
|
+
ignoreCase: e.property?.filterOptions?.ignoreCase ? e.property.filterOptions.ignoreCase : true,
|
|
10295
|
+
joinType: e.property?.filterOptions?.joinType ? e.property.filterOptions.joinType : 'INNER',
|
|
10296
|
+
operator: e.property?.filterOptions?.operator ? e.property.filterOptions.operator : null,
|
|
10297
|
+
truncateDate: e.property?.filterOptions?.truncateDate ? e.property.filterOptions.truncateDate : true
|
|
10297
10298
|
}
|
|
10298
10299
|
});
|
|
10299
10300
|
}
|
|
@@ -10431,7 +10432,7 @@ class AXPropertyDecorator {
|
|
|
10431
10432
|
// @dynamic
|
|
10432
10433
|
class AXPropertyDecorators {
|
|
10433
10434
|
static register(cls, property, options) {
|
|
10434
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
10435
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
10435
10436
|
if (item) {
|
|
10436
10437
|
item.options = options;
|
|
10437
10438
|
}
|
|
@@ -10440,14 +10441,14 @@ class AXPropertyDecorators {
|
|
|
10440
10441
|
}
|
|
10441
10442
|
}
|
|
10442
10443
|
static has(cls, property) {
|
|
10443
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
10444
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
10444
10445
|
}
|
|
10445
10446
|
static get(cls, property) {
|
|
10446
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
10447
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
10447
10448
|
}
|
|
10448
10449
|
static isValid(property) {
|
|
10449
10450
|
if (property) {
|
|
10450
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
10451
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
10451
10452
|
}
|
|
10452
10453
|
return false;
|
|
10453
10454
|
}
|
|
@@ -10459,7 +10460,7 @@ class AXPropertyDecorators {
|
|
|
10459
10460
|
p.push(superClass.constructor);
|
|
10460
10461
|
superClass = Object.getPrototypeOf(superClass);
|
|
10461
10462
|
}
|
|
10462
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
10463
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
10463
10464
|
return list;
|
|
10464
10465
|
}
|
|
10465
10466
|
}
|