@universis/ngx-tables 0.7.17 → 0.7.19

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.
@@ -1,20 +1,19 @@
1
1
  /**
2
- *
2
+ *
3
3
  * @interface AdvancedAggregatorFilters An object that contains data used for filtering
4
- *
4
+ *
5
5
  * @property {Array<string>} filters A list of expressions to use for filtering
6
6
  * @property {string} text The search text used by the user to run against the declared search expression
7
- *
7
+ *
8
8
  */
9
9
  export declare interface AdvancedAggregatorFilters {
10
- filters: string[],
11
- text: string;
10
+ filters: string[];
11
+ text: string;
12
12
  }
13
-
14
13
  /**
15
- *
14
+ *
16
15
  * @interface AdvancedAggregatorColumn A column in the advanced aggregator list
17
- *
16
+ *
18
17
  * @property {string} name The name of the column. It's used as it's key
19
18
  * @property {string} title The title that will be shown as column label
20
19
  * @property {string='text', 'boolean'} type The data type of the column value
@@ -22,85 +21,80 @@ export declare interface AdvancedAggregatorFilters {
22
21
  * @property {string} length The length of the list cell
23
22
  * @property {string} trueValue For booleans, the value that represent the true state
24
23
  * @property {boolean} hidden Whether the column should be shown on the UI
25
- *
24
+ *
26
25
  */
27
26
  export declare interface AdvancedAggregatorColumn {
28
- name: string;
29
- property: string;
30
- title: string;
31
- type?: string;
32
- variant?: string;
33
- length?: string;
34
- trueValue?: string;
35
- hidden?: boolean;
27
+ name: string;
28
+ property: string;
29
+ title: string;
30
+ type?: string;
31
+ variant?: string;
32
+ length?: string;
33
+ trueValue?: string;
34
+ hidden?: boolean;
36
35
  }
37
-
38
36
  /**
39
- *
37
+ *
40
38
  * @interface AdvancedAggregatorAction An action that can be used in a column
41
- *
39
+ *
42
40
  * @property {string} name The name of the action
43
41
  * @property {string='edit'} type The type of the action
44
42
  * @property {string} title The title that is shown on mouse hover
45
43
  * @property {string} identifier An identifier that will be emitted along with the row data
46
44
  * @property {string} icon The icon to show as identifier
47
- *
45
+ *
48
46
  */
49
47
  export declare interface AdvancedAggregatorAction {
50
- name: string;
51
- type: string;
52
- title: string;
53
- identifier: string;
54
- icon: string;
48
+ name: string;
49
+ type: string;
50
+ title: string;
51
+ identifier: string;
52
+ icon: string;
55
53
  }
56
-
57
54
  /**
58
- *
55
+ *
59
56
  * @interface AdvancedAggregatorFunction An aggregator function that should return a value for each subgroup
60
- *
57
+ *
61
58
  * @property {string} name The name of the aggregator function
62
59
  * @property {string} label The label of the aggregator
63
- *
60
+ *
64
61
  */
65
62
  export declare interface AdvancedAggregatorFunction {
66
- name: string;
67
- label: string;
63
+ name: string;
64
+ label: string;
68
65
  }
69
-
70
66
  /**
71
- *
67
+ *
72
68
  * @interface AdvancedAggregatorGroup The declaration of a property that can be used to group the data
73
- *
69
+ *
74
70
  * @property {string} name The name of the group. Should match the name of the column property
75
- * @property {string} property The property name
71
+ * @property {string} property The property name
76
72
  * @property {string} label The label to be shown as the select option at the advanced search component
77
- * @property {string} title The title to show on top of the grouped list
73
+ * @property {string} title The title to show on top of the grouped list
78
74
  * @property {string} default Whether the column is used by default. If none, the first found is used
79
- *
75
+ *
80
76
  */
81
77
  export declare interface AdvancedAggregatorGroup {
82
- name: string;
83
- property: string;
84
- label: string;
85
- title: string;
86
- default?: boolean;
78
+ name: string;
79
+ property: string;
80
+ label: string;
81
+ title: string;
82
+ default?: boolean;
87
83
  }
88
-
89
84
  /**
90
- *
85
+ *
91
86
  * @interface AdvancedAggregatorPostProcessor A declaration for a post processor function
92
- *
87
+ *
93
88
  * @property {string} name The name of the post processor. It will be used as identifier
94
- *
89
+ *
95
90
  */
96
91
  export declare interface AdvancedAggregatorPostProcessor {
97
- name: string;
92
+ name: string;
98
93
  }
99
-
100
94
  /**
101
- *
95
+ *
102
96
  * @interface AdvancedAggregatorConfig The configuration of the advanced aggregator list component
103
- *
97
+ *
104
98
  * @property {string} model The model which is going to be displayed
105
99
  * @property {string} query The query to use in order to fetch data
106
100
  * @property {string} title The Title of the list
@@ -109,16 +103,16 @@ export declare interface AdvancedAggregatorPostProcessor {
109
103
  * @property {Array<AdvancedAggregatorFunction>} aggregator The list of functions that can summarize the data
110
104
  * @property {Array<AdvancedAggregatorAction>} actions The list of actions that are available for the list items
111
105
  * @property {Array<AdvancedAggregatorColumn>} columns The list of fields to be used from the target models
112
- *
106
+ *
113
107
  */
114
108
  export declare interface AdvancedAggregatorConfig {
115
- model: string;
116
- query: string;
117
- title: string;
118
- orderBy: string;
119
- groupProperties: Array<AdvancedAggregatorGroup>;
120
- aggregators?: Array<AdvancedAggregatorFunction>;
121
- postProcessors?: Array<AdvancedAggregatorPostProcessor>;
122
- actions?: Array<AdvancedAggregatorAction>;
123
- columns: Array<AdvancedAggregatorColumn>;
109
+ model: string;
110
+ query: string;
111
+ title: string;
112
+ orderBy: string;
113
+ groupProperties: Array<AdvancedAggregatorGroup>;
114
+ aggregators?: Array<AdvancedAggregatorFunction>;
115
+ postProcessors?: Array<AdvancedAggregatorPostProcessor>;
116
+ actions?: Array<AdvancedAggregatorAction>;
117
+ columns: Array<AdvancedAggregatorColumn>;
124
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universis/ngx-tables",
3
- "version": "0.7.17",
3
+ "version": "0.7.19",
4
4
  "dependencies": {
5
5
  "datatables": "^1.10.18",
6
6
  "datatables.net": "1.10.24",
package/public_api.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from './lib/components/add-items/add-items.component';
22
22
  export * from './lib/pipes/advanced-aggregator.pipe';
23
23
  export * from './lib/pipes/advansed-aggregator-list-title-parse.pipe';
24
24
  export * from './lib/services/advanced-aggregator/advanced-aggregator.service';
25
+ export * from './lib/advanced-aggregator';
25
26
  export * from './lib/tables.module';
26
27
  export * from './lib/tables.activated-table.service';
27
28
  export * from './lib/reducers/index';