@provoly/dashboard 1.4.17 → 1.4.18
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/esm2022/lib/core/model/search-mono-class.model.mjs +1 -1
- package/esm2022/lib/core/public-api.mjs +3 -1
- package/esm2022/lib/core/store/item/item.actions.mjs +1 -1
- package/esm2022/lib/core/store/item/item.effects.mjs +2 -2
- package/esm2022/lib/core/store/item/item.service.mjs +8 -9
- package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +2 -2
- package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
- package/fesm2022/provoly-dashboard.mjs +12 -13
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/search-mono-class.model.d.ts +4 -2
- package/lib/core/public-api.d.ts +2 -0
- package/lib/core/store/item/item.actions.d.ts +4 -0
- package/lib/core/store/item/item.service.d.ts +1 -5
- package/package.json +11 -11
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { NamedQueryTypes } from '../store/data-source/named-query-types.model';
|
|
2
|
-
export type ConditionType = 'AND' | 'OR' | 'ATTRIBUTE';
|
|
2
|
+
export type ConditionType = 'AND' | 'OR' | 'ATTRIBUTE' | 'METADATA';
|
|
3
3
|
export type ValueDataType = string | number;
|
|
4
|
-
export type OperatorType = 'EQUALS' | 'CONTAINS' | 'START_WITH' | 'END_WITH' | 'GREATER_THAN' | 'LOWER_THAN' | 'INSIDE' | 'OUTSIDE';
|
|
4
|
+
export type OperatorType = 'EQUALS' | 'CONTAINS' | 'START_WITH' | 'END_WITH' | 'GREATER_THAN' | 'LOWER_THAN' | 'INSIDE' | 'OUTSIDE' | 'IN';
|
|
5
5
|
export interface Condition {
|
|
6
6
|
type: ConditionType;
|
|
7
7
|
attribute?: string;
|
|
8
|
+
metadata?: string;
|
|
8
9
|
value?: ValueDataType;
|
|
10
|
+
values?: ValueDataType[];
|
|
9
11
|
upperValue?: ValueDataType;
|
|
10
12
|
operator?: OperatorType;
|
|
11
13
|
composed?: Array<Condition>;
|
package/lib/core/public-api.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export * from './store/image/image.actions';
|
|
|
18
18
|
export * from './store/image/image.selectors';
|
|
19
19
|
export * from './store/image/image.service';
|
|
20
20
|
export * from './store/image/image.reducer';
|
|
21
|
+
export * from './store/item/item.service';
|
|
22
|
+
export * from './store/item/item.actions';
|
|
21
23
|
export * from './store/search/search.actions';
|
|
22
24
|
export * from './store/search/search.constants';
|
|
23
25
|
export * from './store/search/search.selectors';
|
|
@@ -2,8 +2,12 @@ import { Item } from '../../model/item.interface';
|
|
|
2
2
|
export declare const ItemActions: {
|
|
3
3
|
create: import("@ngrx/store").ActionCreator<"[Item] create", (props: {
|
|
4
4
|
item: Item;
|
|
5
|
+
datasetVersionId: string;
|
|
6
|
+
mode?: "REPLACE" | "MERGE";
|
|
5
7
|
}) => {
|
|
6
8
|
item: Item;
|
|
9
|
+
datasetVersionId: string;
|
|
10
|
+
mode?: "REPLACE" | "MERGE";
|
|
7
11
|
} & import("@ngrx/store").Action<"[Item] create">>;
|
|
8
12
|
createSuccess: import("@ngrx/store").ActionCreator<"[Item] create success", (props: {
|
|
9
13
|
id: string;
|
|
@@ -18,11 +18,7 @@ export declare class ItemService {
|
|
|
18
18
|
* @param id
|
|
19
19
|
*/
|
|
20
20
|
proximity(id: string): Observable<ResultSet>;
|
|
21
|
-
|
|
22
|
-
* Allows to create an item
|
|
23
|
-
* @param item
|
|
24
|
-
*/
|
|
25
|
-
create(item: Item): Observable<Item[]>;
|
|
21
|
+
create(item: Item, datasetVersionId: string, mode?: string): Observable<Item[]>;
|
|
26
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItemService, never>;
|
|
27
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<ItemService>;
|
|
28
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.18",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "17.x || 18.x",
|
|
@@ -168,11 +168,11 @@
|
|
|
168
168
|
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
169
169
|
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
170
170
|
},
|
|
171
|
-
"./components/
|
|
172
|
-
"types": "./components/
|
|
173
|
-
"esm2022": "./esm2022/components/
|
|
174
|
-
"esm": "./esm2022/components/
|
|
175
|
-
"default": "./fesm2022/provoly-dashboard-components-
|
|
171
|
+
"./components/color-picker": {
|
|
172
|
+
"types": "./components/color-picker/index.d.ts",
|
|
173
|
+
"esm2022": "./esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs",
|
|
174
|
+
"esm": "./esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs",
|
|
175
|
+
"default": "./fesm2022/provoly-dashboard-components-color-picker.mjs"
|
|
176
176
|
},
|
|
177
177
|
"./components/checkbox": {
|
|
178
178
|
"types": "./components/checkbox/index.d.ts",
|
|
@@ -180,11 +180,11 @@
|
|
|
180
180
|
"esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
|
|
181
181
|
"default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
|
|
182
182
|
},
|
|
183
|
-
"./components/
|
|
184
|
-
"types": "./components/
|
|
185
|
-
"esm2022": "./esm2022/components/
|
|
186
|
-
"esm": "./esm2022/components/
|
|
187
|
-
"default": "./fesm2022/provoly-dashboard-components-
|
|
183
|
+
"./components/card": {
|
|
184
|
+
"types": "./components/card/index.d.ts",
|
|
185
|
+
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
186
|
+
"esm": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
187
|
+
"default": "./fesm2022/provoly-dashboard-components-card.mjs"
|
|
188
188
|
},
|
|
189
189
|
"./components/data-format": {
|
|
190
190
|
"types": "./components/data-format/index.d.ts",
|