solid-ui 3.0.3 → 3.0.4-04f6468
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/acl/access-groups.d.ts.map +1 -1
- package/dist/acl/access-groups.js +8 -1
- package/dist/acl/access-groups.js.map +1 -1
- package/dist/solid-ui.esm.js +21 -8
- package/dist/solid-ui.esm.js.map +1 -1
- package/dist/solid-ui.esm.min.js +8 -8
- package/dist/solid-ui.esm.min.js.map +1 -1
- package/dist/solid-ui.js +21 -8
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +3 -3
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.js +13 -3
- package/dist/tabs.js.map +1 -1
- package/dist/versionInfo.js +3 -3
- package/package.json +9 -9
package/dist/solid-ui.js
CHANGED
|
@@ -4091,7 +4091,7 @@ function attachmentList(dom, subject, div) {
|
|
|
4091
4091
|
var attachmentRight = attachmentOne.appendChild(dom.createElement('td'));
|
|
4092
4092
|
var attachmentTable = attachmentRight.appendChild(dom.createElement('table'));
|
|
4093
4093
|
attachmentTable.appendChild(dom.createElement('tr')) // attachmentTableTop
|
|
4094
|
-
|
|
4094
|
+
;
|
|
4095
4095
|
attachmentOuter.refresh = refresh; // Participate in downstream changes
|
|
4096
4096
|
// ;(attachmentTable as any).refresh = refresh <- outer should be best?
|
|
4097
4097
|
|
|
@@ -4558,7 +4558,7 @@ function _defineProperty(e, r, t) {
|
|
|
4558
4558
|
/**
|
|
4559
4559
|
* Default signup endpoints (list of identity providers)
|
|
4560
4560
|
*/
|
|
4561
|
-
signupEndpoint: 'https://solidproject.org/
|
|
4561
|
+
signupEndpoint: 'https://solidproject.org/get_a_pod',
|
|
4562
4562
|
/**
|
|
4563
4563
|
* Default height of the Signup popup window, in pixels
|
|
4564
4564
|
*/
|
|
@@ -4936,7 +4936,7 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
|
|
|
4936
4936
|
}
|
|
4937
4937
|
if (!kb.updater.editable(doc.uri)) {
|
|
4938
4938
|
field.readOnly = true // was: disabled. readOnly is better
|
|
4939
|
-
|
|
4939
|
+
;
|
|
4940
4940
|
field.style = style.textInputStyleUneditable + paramStyle;
|
|
4941
4941
|
if (suppressEmptyUneditable && field.value === '') {
|
|
4942
4942
|
box.style.display = 'none'; // clutter
|
|
@@ -11454,6 +11454,8 @@ var AccessGroups = /*#__PURE__*/function () {
|
|
|
11454
11454
|
thing,
|
|
11455
11455
|
_this$_store,
|
|
11456
11456
|
message,
|
|
11457
|
+
detectedTypes,
|
|
11458
|
+
typeDetails,
|
|
11457
11459
|
error,
|
|
11458
11460
|
_args4 = arguments,
|
|
11459
11461
|
_t2;
|
|
@@ -11487,7 +11489,9 @@ var AccessGroups = /*#__PURE__*/function () {
|
|
|
11487
11489
|
_context4.next = 6;
|
|
11488
11490
|
break;
|
|
11489
11491
|
}
|
|
11490
|
-
|
|
11492
|
+
detectedTypes = Object.keys(this.store.findTypeURIs(thing));
|
|
11493
|
+
typeDetails = detectedTypes.length > 0 ? " Detected RDF types: ".concat(detectedTypes.join(', ')) : ' No RDF type was detected for this URI.';
|
|
11494
|
+
error = "Error: Failed to add access target: ".concat(uri, " is not a recognized ACL target type.") + " Expected one of: vcard:WebID, vcard:Group, foaf:Person/foaf:Agent, solid:AppProvider, solid:AppProviderClass, or recognized ACL classes." + ' Hint: try dropping a WebID profile URI, a vcard:Group URI, or a web app origin. ' + typeDetails;
|
|
11491
11495
|
src_debug/* error */.z3(error);
|
|
11492
11496
|
return _context4.abrupt("return", Promise.reject(new Error(error)));
|
|
11493
11497
|
case 6:
|
|
@@ -12826,7 +12830,7 @@ function cameraCaptureControl(dom, store, getImageDoc, doneCallback) {
|
|
|
12826
12830
|
// if (!confirm('Save picture to ' + destination + ' ?')) return
|
|
12827
12831
|
src_debug/* log */.Rm('Putting ' + blob.size + ' bytes of ' + contentType + ' to ' + destination)
|
|
12828
12832
|
// @@ TODO Remove casting
|
|
12829
|
-
|
|
12833
|
+
;
|
|
12830
12834
|
store.fetcher.webOperation('PUT', destination.uri, {
|
|
12831
12835
|
data: blob,
|
|
12832
12836
|
contentType: contentType
|
|
@@ -24253,10 +24257,19 @@ function tabWidget(options) {
|
|
|
24253
24257
|
});
|
|
24254
24258
|
var tab = selectedTab1 || selectedTab0 || tabContainer.children[0];
|
|
24255
24259
|
var clickMe = tab.firstChild;
|
|
24256
|
-
|
|
24257
|
-
|
|
24260
|
+
if (clickMe !== null && clickMe !== void 0 && clickMe.click) {
|
|
24261
|
+
clickMe.click();
|
|
24262
|
+
} else if (tab instanceof HTMLElement) {
|
|
24263
|
+
tab.click();
|
|
24264
|
+
}
|
|
24258
24265
|
} else if (!options.startEmpty) {
|
|
24259
|
-
tabContainer.children[0]
|
|
24266
|
+
var firstTab = tabContainer.children[0];
|
|
24267
|
+
var clickTarget = firstTab === null || firstTab === void 0 ? void 0 : firstTab.firstChild;
|
|
24268
|
+
if (clickTarget !== null && clickTarget !== void 0 && clickTarget.click) {
|
|
24269
|
+
clickTarget.click();
|
|
24270
|
+
} else if (firstTab instanceof HTMLElement) {
|
|
24271
|
+
firstTab.click(); // Open first tab
|
|
24272
|
+
}
|
|
24260
24273
|
}
|
|
24261
24274
|
return rootElement;
|
|
24262
24275
|
function addCancelButton(tabContainer) {
|