skandha-facets 0.7.0 → 0.8.0

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/Addition.js CHANGED
@@ -59,7 +59,7 @@ __decorate([
59
59
  ], Addition.prototype, "parentId", void 0);
60
60
  __decorate([
61
61
  operation,
62
- host
62
+ host(['values'])
63
63
  ], Addition.prototype, "add", null);
64
64
  __decorate([
65
65
  operation,
package/Deletion.js CHANGED
@@ -21,5 +21,5 @@ Object.defineProperty(Deletion, "className", {
21
21
  });
22
22
  __decorate([
23
23
  operation,
24
- host
24
+ host(['itemIds'])
25
25
  ], Deletion.prototype, "delete", null);
package/DragAndDrop.js CHANGED
@@ -58,7 +58,7 @@ __decorate([
58
58
  ], DragAndDrop.prototype, "hoverPosition", void 0);
59
59
  __decorate([
60
60
  operation,
61
- host
61
+ host(['dropPosition'])
62
62
  ], DragAndDrop.prototype, "drop", null);
63
63
  __decorate([
64
64
  operation({ log: false })
package/Editing.js CHANGED
@@ -44,7 +44,7 @@ __decorate([
44
44
  ], Editing.prototype, "isEditing", void 0);
45
45
  __decorate([
46
46
  operation,
47
- host
47
+ host(['values'])
48
48
  ], Editing.prototype, "save", null);
49
49
  __decorate([
50
50
  operation,
package/Filtering.js CHANGED
@@ -62,10 +62,10 @@ __decorate([
62
62
  ], Filtering.prototype, "filteredItems", null);
63
63
  __decorate([
64
64
  operation,
65
- host
65
+ host(['filter'])
66
66
  ], Filtering.prototype, "apply", null);
67
67
  __decorate([
68
68
  operation,
69
- host
69
+ host(['flag'])
70
70
  ], Filtering.prototype, "setEnabled", null);
71
71
  export const filteringUsesInputItems = (getItems, transform) => mapDataToFacet([Filtering, 'inputItems'], getItems, transform);
package/Highlight.js CHANGED
@@ -42,7 +42,7 @@ __decorate([
42
42
  ], Highlight.prototype, "item", void 0);
43
43
  __decorate([
44
44
  operation,
45
- host
45
+ host(['id'])
46
46
  ], Highlight.prototype, "highlightItem", null);
47
47
  export const highlightUsesItemLookUpTable = (getItemById) => mapDatasToFacet([Highlight, 'item'], [
48
48
  //
package/Insertion.js CHANGED
@@ -45,6 +45,6 @@ __decorate([
45
45
  ], Insertion.prototype, "preview", void 0);
46
46
  __decorate([
47
47
  operation,
48
- host
48
+ host(['drag'])
49
49
  ], Insertion.prototype, "insertItems", null);
50
50
  export const insertionUsesInputItems = (getItems, transform) => mapDataToFacet([Insertion, 'inputItems'], getItems, transform);
package/Labelling.js CHANGED
@@ -57,7 +57,7 @@ __decorate([
57
57
  ], Labelling.prototype, "itemsByLabel", void 0);
58
58
  __decorate([
59
59
  operation,
60
- host
60
+ host(['labelValue'])
61
61
  ], Labelling.prototype, "setLabel", null);
62
62
  export const labellingActsOnItems = (getItemById) => {
63
63
  return mapDatasToFacet([Labelling, 'itemsByLabel'], [
package/Selection.js CHANGED
@@ -65,7 +65,7 @@ __decorate([
65
65
  ], Selection.prototype, "items", void 0);
66
66
  __decorate([
67
67
  operation,
68
- host(selectItemDefaultCbs)
68
+ host(['selectionParams'], selectItemDefaultCbs)
69
69
  ], Selection.prototype, "selectItem", null);
70
70
  export function handleSelectItem(facet, { itemId, isShift, isCtrl }) {
71
71
  if (itemId === undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skandha-facets",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Facets for use with the skandha library",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/mnieber/skandha-facets.git",
@@ -10,7 +10,7 @@
10
10
  "prepublish": "tsc",
11
11
  "peerDependencies": {
12
12
  "skandha": ">=0.7.0",
13
- "aspiration": ">=0.1.1"
13
+ "aspiration": ">=0.3.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "typescript": "^4.0.3"