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 +1 -1
- package/Deletion.js +1 -1
- package/DragAndDrop.js +1 -1
- package/Editing.js +1 -1
- package/Filtering.js +2 -2
- package/Highlight.js +1 -1
- package/Insertion.js +1 -1
- package/Labelling.js +1 -1
- package/Selection.js +1 -1
- package/package.json +2 -2
package/Addition.js
CHANGED
package/Deletion.js
CHANGED
package/DragAndDrop.js
CHANGED
package/Editing.js
CHANGED
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.
|
|
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.
|
|
13
|
+
"aspiration": ">=0.3.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"typescript": "^4.0.3"
|