@acorex/components 4.2.30 → 4.2.31
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/property-editor/property-editor.class.mjs +6 -6
- package/esm2020/lib/search-bar/search-bar.component.mjs +7 -7
- package/fesm2015/acorex-components.mjs +12 -11
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +11 -11
- 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
|
@@ -10288,12 +10288,12 @@ class AXSearchBarComponent {
|
|
|
10288
10288
|
title: e.property.title,
|
|
10289
10289
|
value: e.value,
|
|
10290
10290
|
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
|
|
10291
|
+
filters: e.property?.filterOptions?.filters ? e.property.filterOptions.filters : [],
|
|
10292
|
+
logic: e.property?.filterOptions?.logic ? e.property.filterOptions.logic : 'and',
|
|
10293
|
+
ignoreCase: e.property?.filterOptions?.ignoreCase ? e.property.filterOptions.ignoreCase : true,
|
|
10294
|
+
joinType: e.property?.filterOptions?.joinType ? e.property.filterOptions.joinType : 'INNER',
|
|
10295
|
+
operator: e.property?.filterOptions?.operator ? e.property.filterOptions.operator : null,
|
|
10296
|
+
truncateDate: e.property?.filterOptions?.truncateDate ? e.property.filterOptions.truncateDate : true
|
|
10297
10297
|
}
|
|
10298
10298
|
});
|
|
10299
10299
|
}
|
|
@@ -10431,7 +10431,7 @@ class AXPropertyDecorator {
|
|
|
10431
10431
|
// @dynamic
|
|
10432
10432
|
class AXPropertyDecorators {
|
|
10433
10433
|
static register(cls, property, options) {
|
|
10434
|
-
const item = AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
10434
|
+
const item = AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
10435
10435
|
if (item) {
|
|
10436
10436
|
item.options = options;
|
|
10437
10437
|
}
|
|
@@ -10440,14 +10440,14 @@ class AXPropertyDecorators {
|
|
|
10440
10440
|
}
|
|
10441
10441
|
}
|
|
10442
10442
|
static has(cls, property) {
|
|
10443
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.cls === cls && c.property === property);
|
|
10443
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.cls === cls && c.property === property);
|
|
10444
10444
|
}
|
|
10445
10445
|
static get(cls, property) {
|
|
10446
|
-
return AXPropertyDecorators.REGISTRY.find(c => c.cls === cls && c.property === property);
|
|
10446
|
+
return AXPropertyDecorators.REGISTRY.find((c) => c.cls === cls && c.property === property);
|
|
10447
10447
|
}
|
|
10448
10448
|
static isValid(property) {
|
|
10449
10449
|
if (property) {
|
|
10450
|
-
return AXPropertyDecorators.REGISTRY.some(c => c.property === property);
|
|
10450
|
+
return AXPropertyDecorators.REGISTRY.some((c) => c.property === property);
|
|
10451
10451
|
}
|
|
10452
10452
|
return false;
|
|
10453
10453
|
}
|
|
@@ -10459,7 +10459,7 @@ class AXPropertyDecorators {
|
|
|
10459
10459
|
p.push(superClass.constructor);
|
|
10460
10460
|
superClass = Object.getPrototypeOf(superClass);
|
|
10461
10461
|
}
|
|
10462
|
-
list.push(...AXPropertyDecorators.REGISTRY.filter(c => p.includes(c.cls.constructor)));
|
|
10462
|
+
list.push(...AXPropertyDecorators.REGISTRY.filter((c) => p.includes(c.cls.constructor)));
|
|
10463
10463
|
return list;
|
|
10464
10464
|
}
|
|
10465
10465
|
}
|