contacts-pane 2.6.3 → 2.6.4-fa583353
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/.eslintrc +0 -0
- package/.github/workflows/ci.yml +0 -0
- package/.nvmrc +0 -0
- package/LICENSE.md +0 -0
- package/Makefile +0 -0
- package/README.md +0 -0
- package/card.ai +0 -0
- package/card.png +0 -0
- package/contactLogic.js +0 -0
- package/contactsPane.js +0 -0
- package/diff.txt +0 -0
- package/exampleOfOpenData/mit-wikidata-details.ttl +0 -0
- package/exampleOfOpenData/mit-wikidata-query.sparql +0 -0
- package/exampleOfOpenData/wikidata-get.json +0 -0
- package/groupMembershipControl.js +0 -0
- package/individual.js +0 -0
- package/individualForm.js +0 -0
- package/lib/autocompleteBar.js +0 -0
- package/lib/autocompleteField.js +0 -0
- package/lib/autocompletePicker.js +0 -0
- package/lib/forms.js +0 -0
- package/lib/instituteDetailsQuery.js +0 -0
- package/lib/publicData.js +0 -0
- package/lib/vcard.js +0 -0
- package/mintNewAddressBook.js +2 -1
- package/mugshotGallery.js +11 -1
- package/organizationForm.js +0 -0
- package/organizationForm.ttl +0 -0
- package/package.json +13 -13
- package/shapes/contacts-shapes.ttl +0 -0
- package/src/autocompleteBar.ts +0 -0
- package/src/autocompleteField.ts +0 -0
- package/src/autocompletePicker.ts +0 -0
- package/src/forms.ttl +0 -0
- package/src/instituteDetailsQuery.sparql +0 -0
- package/src/publicData.ts +0 -0
- package/src/vcard.ttl +0 -0
- package/toolsPane.js +0 -0
- package/webidControl.js +0 -0
package/.eslintrc
CHANGED
|
File without changes
|
package/.github/workflows/ci.yml
CHANGED
|
File without changes
|
package/.nvmrc
CHANGED
|
File without changes
|
package/LICENSE.md
CHANGED
|
File without changes
|
package/Makefile
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/card.ai
CHANGED
|
File without changes
|
package/card.png
CHANGED
|
File without changes
|
package/contactLogic.js
CHANGED
|
File without changes
|
package/contactsPane.js
CHANGED
|
File without changes
|
package/diff.txt
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/individual.js
CHANGED
|
File without changes
|
package/individualForm.js
CHANGED
|
File without changes
|
package/lib/autocompleteBar.js
CHANGED
|
File without changes
|
package/lib/autocompleteField.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/forms.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/publicData.js
CHANGED
|
File without changes
|
package/lib/vcard.js
CHANGED
|
File without changes
|
package/mintNewAddressBook.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as UI from 'solid-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { solidLogicSingleton } from 'solid-logic'
|
|
3
3
|
|
|
4
|
+
const { setACLUserPublic } = solidLogicSingleton.acl
|
|
4
5
|
// const mime = require('mime-types')
|
|
5
6
|
// const toolsPane0 = require('./toolsPane')
|
|
6
7
|
// const toolsPane = toolsPane0.toolsPane
|
package/mugshotGallery.js
CHANGED
|
@@ -200,8 +200,18 @@ export function renderMugshotGallery (dom, subject) {
|
|
|
200
200
|
droppedFileHandler
|
|
201
201
|
)
|
|
202
202
|
if (image) {
|
|
203
|
-
img.setAttribute('src', image.uri)
|
|
203
|
+
// img.setAttribute('src', image.uri) use token and works with NSS but not with CSS
|
|
204
|
+
// we need to get image with authenticated fetch
|
|
205
|
+
store.fetcher._fetch(image.uri)
|
|
206
|
+
.then(function(response) {
|
|
207
|
+
return response.blob()
|
|
208
|
+
})
|
|
209
|
+
.then(function(myBlob) {
|
|
210
|
+
const objectURL = URL.createObjectURL(myBlob)
|
|
211
|
+
img.setAttribute('src', objectURL)
|
|
212
|
+
})
|
|
204
213
|
UI.widgets.makeDraggable(img, image)
|
|
214
|
+
|
|
205
215
|
}
|
|
206
216
|
return img
|
|
207
217
|
}
|
package/organizationForm.js
CHANGED
|
File without changes
|
package/organizationForm.ttl
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contacts-pane",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4-fa583353",
|
|
4
4
|
"description": "Contacts Pane: Contacts manager for Address Book, Groups, and Individuals.",
|
|
5
5
|
"main": "./contactsPane.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"lint": "eslint '*.js'",
|
|
11
11
|
"lint-fix": "eslint '*.js' --fix",
|
|
12
12
|
"test": "npm run lint",
|
|
13
|
-
"prepublishOnly": "npm test && npm run build",
|
|
14
|
-
"postpublish": "git push origin main --follow-tags"
|
|
13
|
+
"ignore:prepublishOnly": "npm test && npm run build",
|
|
14
|
+
"ignore:postpublish": "git push origin main --follow-tags"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/solid/contacts-pane",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"pane-registry": "
|
|
41
|
-
"rdflib": "^2.2.
|
|
42
|
-
"solid-logic": "
|
|
43
|
-
"solid-ui": "
|
|
40
|
+
"pane-registry": "2.4.12",
|
|
41
|
+
"rdflib": "^2.2.20",
|
|
42
|
+
"solid-logic": "2.0.0",
|
|
43
|
+
"solid-ui": "2.4.23"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
47
|
-
"@typescript-eslint/parser": "^5.
|
|
48
|
-
"eslint": "^8.
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
47
|
+
"@typescript-eslint/parser": "^5.36.1",
|
|
48
|
+
"eslint": "^8.23.0",
|
|
49
49
|
"eslint-plugin-import": "^2.26.0",
|
|
50
|
-
"husky": "^
|
|
51
|
-
"lint-staged": "^
|
|
52
|
-
"typescript": "^4.
|
|
50
|
+
"husky": "^8.0.1",
|
|
51
|
+
"lint-staged": "^13.0.3",
|
|
52
|
+
"typescript": "^4.8.2",
|
|
53
53
|
"typescript-transpile-only": "0.0.4"
|
|
54
54
|
},
|
|
55
55
|
"husky": {
|
|
File without changes
|
package/src/autocompleteBar.ts
CHANGED
|
File without changes
|
package/src/autocompleteField.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/forms.ttl
CHANGED
|
File without changes
|
|
File without changes
|
package/src/publicData.ts
CHANGED
|
File without changes
|
package/src/vcard.ttl
CHANGED
|
File without changes
|
package/toolsPane.js
CHANGED
|
File without changes
|
package/webidControl.js
CHANGED
|
File without changes
|