ngx-bimplus-components 0.0.156 → 0.0.157

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.
@@ -4,7 +4,8 @@ export interface FilterType {
4
4
  }
5
5
  export interface FilterCriterium {
6
6
  name: string;
7
- value?: string | number | boolean;
7
+ value?: string | number | boolean | null | undefined;
8
+ namedValue?: string;
8
9
  id?: string;
9
10
  subString: string;
10
11
  }
@@ -34,8 +34,9 @@ export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLoca
34
34
  _defineFilterString(attrib: ObjectAttribute): string;
35
35
  _addFilterCriteria(attrib: ObjectAttribute): void;
36
36
  _updateFilterCriteria(attrib: ObjectAttribute, index: number): void;
37
- titleForValue(value: string | null | undefined): string;
38
- normalizedValue(value: string | null | undefined): string;
37
+ private roundToDecimal;
38
+ titleForAttribute(attribute: ObjectAttribute): string;
39
+ normalizedValue(attribute: ObjectAttribute, forFilterCriteria?: boolean): string;
39
40
  handleFilterCriteriumAttributeStateChange(attrib: ObjectAttribute): void;
40
41
  handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
41
42
  handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
@@ -3,9 +3,16 @@ export interface ObjectAttribute {
3
3
  name: string;
4
4
  description: string;
5
5
  group: string;
6
- value: string;
6
+ value: string | number | boolean | null | undefined;
7
7
  checked: boolean;
8
8
  valueChecked: boolean;
9
+ isChangeable: boolean;
10
+ type: string;
11
+ control?: string;
12
+ unit?: string;
13
+ defaultValue?: string;
14
+ decimal?: number;
15
+ enumValues?: Record<number, string>;
9
16
  }
10
17
  export interface ObjectAttributeGroup {
11
18
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bimplus-components",
3
- "version": "0.0.156",
3
+ "version": "0.0.157",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ angular components library",