solid-panes 3.7.3-d53b7f89 → 3.7.3-edf20fec
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/dist/RDFXMLPane.js +2 -1
- package/dist/RDFXMLPane.js.map +1 -1
- package/dist/dataContentPane.js +3 -2
- package/dist/dataContentPane.js.map +1 -1
- package/dist/defaultPane.js +1 -1
- package/dist/defaultPane.js.map +1 -1
- package/dist/home/homePane.d.ts.map +1 -1
- package/dist/home/homePane.js.map +1 -1
- package/dist/microblogPane/microblogPane.js +18 -17
- package/dist/microblogPane/microblogPane.js.map +1 -1
- package/dist/n3Pane.js +2 -1
- package/dist/n3Pane.js.map +1 -1
- package/dist/outline/manager.js +11 -11
- package/dist/outline/manager.js.map +1 -1
- package/dist/outline/queryByExample.js +4 -3
- package/dist/outline/queryByExample.js.map +1 -1
- package/dist/outline/userInput.js +13 -13
- package/dist/outline/userInput.js.map +1 -1
- package/dist/schedule/schedulePane.js +1 -1
- package/dist/schedule/schedulePane.js.map +1 -1
- package/dist/socialPane.js +2 -1
- package/dist/socialPane.js.map +1 -1
- package/dist/versionInfo.js +2 -2
- package/dist/versionInfo.js.map +1 -1
- package/package.json +27 -33
- package/dist/global.d.js +0 -2
- package/dist/global.d.js.map +0 -1
- package/dist/types.d.ts +0 -30
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -6
- package/dist/types.js.map +0 -1
package/dist/outline/manager.js
CHANGED
|
@@ -36,7 +36,7 @@ function _default(context) {
|
|
|
36
36
|
let selection = [];
|
|
37
37
|
this.selection = selection;
|
|
38
38
|
this.ancestor = UI.utils.ancestor; // make available as outline.ancestor in callbacks
|
|
39
|
-
this.sparql =
|
|
39
|
+
this.sparql = $rdf.UpdateManager;
|
|
40
40
|
this.kb = _solidLogic.store;
|
|
41
41
|
const kb = _solidLogic.store;
|
|
42
42
|
const sf = _solidLogic.store.fetcher;
|
|
@@ -97,7 +97,7 @@ function _default(context) {
|
|
|
97
97
|
};
|
|
98
98
|
this.appendAccessIcon = function (node, uri) {
|
|
99
99
|
if (!uri) return '';
|
|
100
|
-
const docuri =
|
|
100
|
+
const docuri = $rdf.uri.docpart(uri);
|
|
101
101
|
if (docuri.slice(0, 5) !== 'http:') return '';
|
|
102
102
|
const state = sf.getState(docuri);
|
|
103
103
|
let icon, alt, listener;
|
|
@@ -929,7 +929,7 @@ function _default(context) {
|
|
|
929
929
|
console.log(e);
|
|
930
930
|
baseURI = '';
|
|
931
931
|
}
|
|
932
|
-
const relativeIconSrc =
|
|
932
|
+
const relativeIconSrc = $rdf.uri.join(icon.src, baseURI);
|
|
933
933
|
if (eltSrc === relativeIconSrc) {
|
|
934
934
|
iconTD.removeChild(elt);
|
|
935
935
|
}
|
|
@@ -1496,11 +1496,11 @@ function _default(context) {
|
|
|
1496
1496
|
const target = thisOutline.targetOf(e);
|
|
1497
1497
|
const uri = target.getAttribute('uri'); // Put on access buttons
|
|
1498
1498
|
if (e.altKey) {
|
|
1499
|
-
sf.fetch(
|
|
1499
|
+
sf.fetch($rdf.uri.docpart(uri), {
|
|
1500
1500
|
force: true
|
|
1501
1501
|
}); // Add 'force' bit?
|
|
1502
1502
|
} else {
|
|
1503
|
-
sf.refresh(kb.sym(
|
|
1503
|
+
sf.refresh(kb.sym($rdf.uri.docpart(uri))); // just one
|
|
1504
1504
|
}
|
|
1505
1505
|
}
|
|
1506
1506
|
function fetchedIconMouseDownListener(e) {
|
|
@@ -1508,17 +1508,17 @@ function _default(context) {
|
|
|
1508
1508
|
const target = thisOutline.targetOf(e);
|
|
1509
1509
|
const uri = target.getAttribute('uri'); // Put on access buttons
|
|
1510
1510
|
if (e.altKey) {
|
|
1511
|
-
sf.fetch(
|
|
1511
|
+
sf.fetch($rdf.uri.docpart(uri), {
|
|
1512
1512
|
force: true
|
|
1513
1513
|
});
|
|
1514
1514
|
} else {
|
|
1515
|
-
sf.refresh(kb.sym(
|
|
1515
|
+
sf.refresh(kb.sym($rdf.uri.docpart(uri))); // just one
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
function unrequestedIconMouseDownListener(e) {
|
|
1519
1519
|
const target = thisOutline.targetOf(e);
|
|
1520
1520
|
const uri = target.getAttribute('uri'); // Put on access buttons
|
|
1521
|
-
sf.fetch(
|
|
1521
|
+
sf.fetch($rdf.uri.docpart(uri));
|
|
1522
1522
|
}
|
|
1523
1523
|
function removeNodeIconMouseDownListener(e) {
|
|
1524
1524
|
// icon_remove_node
|
|
@@ -1637,7 +1637,7 @@ function _default(context) {
|
|
|
1637
1637
|
sf.removeCallback('done', 'expand');
|
|
1638
1638
|
sf.removeCallback('fail', 'expand');
|
|
1639
1639
|
let subject = kb.canon(subject1);
|
|
1640
|
-
// var requTerm = subject.uri ? kb.sym(
|
|
1640
|
+
// var requTerm = subject.uri ? kb.sym($rdf.uri.docpart(subject.uri)) : subject
|
|
1641
1641
|
|
|
1642
1642
|
function render() {
|
|
1643
1643
|
subject = kb.canon(subject);
|
|
@@ -1681,7 +1681,7 @@ function _default(context) {
|
|
|
1681
1681
|
const cursubj = kb.canon(subject); // canonical identifier may have changed
|
|
1682
1682
|
UI.log.info('@@ expand: relevant subject=' + cursubj + ', uri=' + uri + ', already=' + already);
|
|
1683
1683
|
// var term = kb.sym(uri)
|
|
1684
|
-
const docTerm = kb.sym(
|
|
1684
|
+
const docTerm = kb.sym($rdf.uri.docpart(uri));
|
|
1685
1685
|
if (uri.indexOf('#') >= 0) {
|
|
1686
1686
|
throw new Error('Internal error: hash in ' + uri);
|
|
1687
1687
|
}
|
|
@@ -1692,7 +1692,7 @@ function _default(context) {
|
|
|
1692
1692
|
if (!as) return false;
|
|
1693
1693
|
for (let i = 0; i < as.length; i++) {
|
|
1694
1694
|
// canon'l uri or any alias
|
|
1695
|
-
for (let rd =
|
|
1695
|
+
for (let rd = $rdf.uri.docpart(as[i]); rd; rd = kb.HTTPRedirects[rd]) {
|
|
1696
1696
|
if (uri === rd) return true;
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|