solid-panes 3.7.3-d53b7f89 → 3.7.3-f63041a8
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/home/homePane.d.ts.map +1 -1
- package/dist/home/homePane.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"homePane.d.ts","sourceRoot":"","sources":["../../src/home/homePane.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"homePane.d.ts","sourceRoot":"","sources":["../../src/home/homePane.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAK9C,QAAA,MAAM,cAAc,EAAE,cAoDrB,CAAA;AAGD,eAAe,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"homePane.js","names":["_solidLogic","require","_solidUi","HomePaneSource","icon","icons","iconBase","global","name","label","render","subject","context","dom","showContent","homePaneContext","div","statusArea","me","appendChild","createElement","textContent","creationDiv","creationContext","relevantPanes","login","filterAvailablePanes","session","paneRegistry","list","create","newThingUI","registrationList","then","authn","currentUser","_default","exports","default"],"sources":["../../src/home/homePane.ts"],"sourcesContent":["/* Home Pane\n **\n ** The home pane is avaiable everywhere and allows a user\n ** to\n ** - keep track of their stuff\n ** - make new things, and possibly\n ** - keep track of accounts and workspaces etc\n **\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { authn } from 'solid-logic'\nimport { create, icons, login
|
|
1
|
+
{"version":3,"file":"homePane.js","names":["_solidLogic","require","_solidUi","HomePaneSource","icon","icons","iconBase","global","name","label","render","subject","context","dom","showContent","homePaneContext","div","statusArea","me","appendChild","createElement","textContent","creationDiv","creationContext","relevantPanes","login","filterAvailablePanes","session","paneRegistry","list","create","newThingUI","registrationList","then","authn","currentUser","_default","exports","default"],"sources":["../../src/home/homePane.ts"],"sourcesContent":["/* Home Pane\n **\n ** The home pane is avaiable everywhere and allows a user\n ** to\n ** - keep track of their stuff\n ** - make new things, and possibly\n ** - keep track of accounts and workspaces etc\n **\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { authn } from 'solid-logic'\nimport { create, icons, login, CreateContext } from 'solid-ui'\n\nconst HomePaneSource: PaneDefinition = {\n icon: icons.iconBase + 'noun_547570.svg', // noun_25830\n\n global: true,\n\n name: 'home',\n\n // Does the subject deserve an home pane?\n //\n // yes, always!\n //\n label: function () {\n return 'home'\n },\n\n render: function (subject, context) {\n const dom = context.dom\n const showContent = async function () {\n const homePaneContext = { div, dom, statusArea: div, me }\n /*\n div.appendChild(dom.createElement('h4')).textContent = 'Login status'\n var loginStatusDiv = div.appendChild(context.dom.createElement('div'))\n // TODO: Find out what the actual type is:\n type UriType = unknown;\n loginStatusDiv.appendChild(UI.login.loginStatusBox(context.dom, () => {\n // Here we know new log in status\n }))\n */\n div.appendChild(dom.createElement('h4')).textContent =\n 'Create new thing somewhere'\n const creationDiv = div.appendChild(dom.createElement('div'))\n const creationContext: CreateContext = {\n div: creationDiv,\n dom,\n statusArea: div,\n me\n }\n const relevantPanes = await login.filterAvailablePanes(\n context.session.paneRegistry.list\n )\n create.newThingUI(creationContext, context, relevantPanes) // newUI Have to pass panes down\n\n login.registrationList(homePaneContext, {}).then(function () {})\n }\n\n const div = dom.createElement('div')\n const me: NamedNode = authn.currentUser() as NamedNode // this will be incorrect if not logged in\n\n showContent()\n\n return div\n }\n} // pane object\n\n// ends\nexport default HomePaneSource\n"],"mappings":";;;;;;AAYA,IAAAA,WAAA,GA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AGH,GAAG,CAACO,aAAa,CAAC,KAAK,CAAC;IACpC,MAAMF,EAAa,GAAGgB,iBAAK,CAACC,WAAW,CAAC,CAAc,EAAC;;IAEvDrB,WAAW,CAAC,CAAC;IAEb,OAAOE,GAAG;EACZ;AACF,CAAC,EAAC;;AAEF;AAAA,IAAAoB,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACenC,cAAc","ignoreList":[]}
|
package/dist/versionInfo.js
CHANGED
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = exports.default = {
|
|
8
|
-
buildTime: '2025-
|
|
9
|
-
commit: '
|
|
8
|
+
buildTime: '2025-11-07T10:00:46Z',
|
|
9
|
+
commit: 'f63041a8071e3af39e98f35d9e34b7036c335c9f',
|
|
10
10
|
npmInfo: {
|
|
11
11
|
'\'solid-panes\'': '\'3.7.3\',',
|
|
12
12
|
npm: '\'10.8.2\',',
|
package/dist/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","acorn","ada","ares","brotli","cjs_module_lexer","cldr","icu","llhttp","modules","napi","nghttp2","openssl","simdutf","tz","undici","unicode","uv","uvwasi","v8","zlib"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\n buildTime: '2025-
|
|
1
|
+
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","acorn","ada","ares","brotli","cjs_module_lexer","cldr","icu","llhttp","modules","napi","nghttp2","openssl","simdutf","tz","undici","unicode","uv","uvwasi","v8","zlib"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\n buildTime: '2025-11-07T10:00:46Z',\n commit: 'f63041a8071e3af39e98f35d9e34b7036c335c9f',\n npmInfo: {\n '\\'solid-panes\\'': '\\'3.7.3\\',',\n npm: '\\'10.8.2\\',',\n node: '\\'20.19.5\\',',\n acorn: '\\'8.15.0\\',',\n ada: '\\'2.9.2\\',',\n ares: '\\'1.34.5\\',',\n brotli: '\\'1.1.0\\',',\n cjs_module_lexer: '\\'2.1.0\\',',\n cldr: '\\'47.0\\',',\n icu: '\\'77.1\\',',\n llhttp: '\\'9.3.0\\',',\n modules: '\\'115\\',',\n napi: '\\'9\\',',\n nghttp2: '\\'1.61.0\\',',\n openssl: '\\'3.0.16\\',',\n simdutf: '\\'6.4.2\\',',\n tz: '\\'2025b\\',',\n undici: '\\'6.21.2\\',',\n unicode: '\\'16.0\\',',\n uv: '\\'1.46.0\\',',\n uvwasi: '\\'0.0.21\\',',\n v8: '\\'11.3.244.8-node.30\\',',\n zlib: '\\'1.3.1-470d3a2\\'',\n '}': '}',\n }\n}\n"],"mappings":";;;;;;iCAAe;EACbA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EAAE;IACP,iBAAiB,EAAE,YAAY;IAC/BC,GAAG,EAAE,aAAa;IAClBC,IAAI,EAAE,cAAc;IACpBC,KAAK,EAAE,aAAa;IACpBC,GAAG,EAAE,YAAY;IACjBC,IAAI,EAAE,aAAa;IACnBC,MAAM,EAAE,YAAY;IACpBC,gBAAgB,EAAE,YAAY;IAC9BC,IAAI,EAAE,WAAW;IACjBC,GAAG,EAAE,WAAW;IAChBC,MAAM,EAAE,YAAY;IACpBC,OAAO,EAAE,UAAU;IACnBC,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,YAAY;IACrBC,EAAE,EAAE,YAAY;IAChBC,MAAM,EAAE,aAAa;IACrBC,OAAO,EAAE,WAAW;IACpBC,EAAE,EAAE,aAAa;IACjBC,MAAM,EAAE,aAAa;IACrBC,EAAE,EAAE,yBAAyB;IAC7BC,IAAI,EAAE,mBAAmB;IACzB,GAAG,EAAE;EACP;AACF,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-panes",
|
|
3
|
-
"version": "3.7.3-
|
|
3
|
+
"version": "3.7.3-f63041a8",
|
|
4
4
|
"description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"LICENSE"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"clean": "rm -rf dist
|
|
15
|
-
"build": "npm run clean && npm run build-version && npm run build-
|
|
16
|
-
"build-version": "./timestamp.sh > src/versionInfo.ts
|
|
17
|
-
"build-
|
|
14
|
+
"clean": "rm -rf dist src/versionInfo.ts",
|
|
15
|
+
"build": "npm run clean && npm run build-version && npm run typecheck && npm run build-dist && npm run postbuild-js",
|
|
16
|
+
"build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
|
|
17
|
+
"build-dist": "npm run build-js && npm run build-types",
|
|
18
|
+
"build-js": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
|
|
18
19
|
"build-types": "tsc --emitDeclarationOnly",
|
|
19
|
-
"build-babel": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
|
|
20
20
|
"postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map",
|
|
21
|
-
"build-dev": "webpack --progress --mode=development",
|
|
22
21
|
"lint": "eslint",
|
|
22
|
+
"lint-fix": "eslint --fix",
|
|
23
23
|
"typecheck": "tsc --noEmit",
|
|
24
24
|
"typecheck-test": "tsc --noEmit -p tsconfig.test.json",
|
|
25
25
|
"test": "jest --no-coverage",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"preversion": "npm run lint && npm run typecheck && npm test",
|
|
31
31
|
"postversion": "git push origin main --follow-tags",
|
|
32
32
|
"watch": "npm run build-version && babel src -d dist --source-maps --extensions '.ts,.js' --watch",
|
|
33
|
-
"start": "
|
|
33
|
+
"start": "webpack serve --config webpack.dev.config.js --open"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "https://github.com/solidos/solid-panes"
|
|
37
|
+
"url": "git+https://github.com/solidos/solid-panes.git"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"solid",
|
|
@@ -57,21 +57,24 @@
|
|
|
57
57
|
"homepage": "https://github.com/solidos/solid-panes",
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@solid/better-simple-slideshow": "^0.1.0",
|
|
60
|
-
"activitystreams-pane": "^0.7.1",
|
|
61
|
-
"chat-pane": "^2.5.1",
|
|
62
|
-
"contacts-pane": "^2.7.1",
|
|
60
|
+
"activitystreams-pane": "^0.7.1-5dc71b7d",
|
|
61
|
+
"chat-pane": "^2.5.1-81b8f52c",
|
|
62
|
+
"contacts-pane": "^2.7.1-bcdf51c6",
|
|
63
63
|
"dompurify": "^3.2.6",
|
|
64
|
-
"folder-pane": "^2.5.1",
|
|
65
|
-
"issue-pane": "^2.6.1",
|
|
66
|
-
"lint-staged": "^16.1.6",
|
|
64
|
+
"folder-pane": "^2.5.1-c9231ac6",
|
|
65
|
+
"issue-pane": "^2.6.1-b6734c9d",
|
|
67
66
|
"marked": "^16.1.2",
|
|
68
|
-
"meeting-pane": "^2.5.1",
|
|
67
|
+
"meeting-pane": "^2.5.1-f652b85a",
|
|
69
68
|
"mime-types": "^3.0.1",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
69
|
+
"pane-registry": "^2.5.1-4c50f58",
|
|
70
|
+
"profile-pane": "^1.2.1-2e215f3f",
|
|
72
71
|
"solid-namespace": "^0.5.4",
|
|
73
|
-
"
|
|
74
|
-
|
|
72
|
+
"source-pane": "^2.3.1-a2f864b8"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"rdflib": "^2.2.37",
|
|
76
|
+
"solid-logic": "3.1.1-d167ace",
|
|
77
|
+
"solid-ui": "2.6.1-6458d4e"
|
|
75
78
|
},
|
|
76
79
|
"devDependencies": {
|
|
77
80
|
"@babel/cli": "^7.28.0",
|
|
@@ -92,30 +95,21 @@
|
|
|
92
95
|
"eslint": "^9.33.0",
|
|
93
96
|
"globals": "^16.3.0",
|
|
94
97
|
"html-webpack-plugin": "^5.6.3",
|
|
95
|
-
"husky": "^9.1.7",
|
|
96
98
|
"jest": "^30.0.5",
|
|
97
99
|
"jest-environment-jsdom": "^30.0.5",
|
|
98
100
|
"jest-fetch-mock": "^3.0.3",
|
|
99
|
-
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
100
101
|
"neostandard": "^0.12.2",
|
|
102
|
+
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
101
103
|
"path-browserify": "^1.0.1",
|
|
104
|
+
"rdflib": "^2.2.37",
|
|
102
105
|
"react": "^19.1.1",
|
|
103
106
|
"react-dom": "^19.1.1",
|
|
107
|
+
"solid-logic": "^3.1.1-d167ace",
|
|
108
|
+
"solid-ui": "^2.6.1-6458d4e",
|
|
104
109
|
"ts-jest": "^29.4.1",
|
|
105
110
|
"typescript": "^5.9.2",
|
|
106
111
|
"webpack": "^5.101.0",
|
|
107
112
|
"webpack-cli": "^6.0.1",
|
|
108
113
|
"webpack-dev-server": "^5.2.2"
|
|
109
|
-
},
|
|
110
|
-
"husky": {
|
|
111
|
-
"hooks": {
|
|
112
|
-
"pre-commit": "lint-staged",
|
|
113
|
-
"pre-push": "npm test"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"lint-staged": {
|
|
117
|
-
"src/**/*.(js|ts)": [
|
|
118
|
-
"eslint"
|
|
119
|
-
]
|
|
120
114
|
}
|
|
121
115
|
}
|
package/dist/global.d.js
DELETED
package/dist/global.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.js","names":[],"sources":["../src/global.d.ts"],"sourcesContent":["declare module '*.ttl' {\n const content: string\n export default content\n}\n"],"mappings":"","ignoreList":[]}
|
package/dist/types.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
interface SolidAuthorization {
|
|
2
|
-
access_token: string;
|
|
3
|
-
client_id: string;
|
|
4
|
-
id_token: string;
|
|
5
|
-
}
|
|
6
|
-
interface SolidClaim {
|
|
7
|
-
at_hash: string;
|
|
8
|
-
aud: string;
|
|
9
|
-
azp: string;
|
|
10
|
-
cnf: {
|
|
11
|
-
jwk: string;
|
|
12
|
-
};
|
|
13
|
-
exp: number;
|
|
14
|
-
iat: number;
|
|
15
|
-
iss: string;
|
|
16
|
-
jti: string;
|
|
17
|
-
nonce: string;
|
|
18
|
-
sub: string;
|
|
19
|
-
}
|
|
20
|
-
export interface SolidSession {
|
|
21
|
-
authorization: SolidAuthorization;
|
|
22
|
-
credentialType: string;
|
|
23
|
-
idClaims: SolidClaim;
|
|
24
|
-
idp: string;
|
|
25
|
-
issuer: string;
|
|
26
|
-
sessionKey: string;
|
|
27
|
-
webId: string;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,UAAU,kBAAkB;IAE1B,YAAY,EAAE,MAAM,CAAA;IAEpB,SAAS,EAAE,MAAM,CAAA;IAEjB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,UAAU;IAElB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,kBAAkB,CAAA;IACjC,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,UAAU,CAAA;IACpB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
|
package/dist/types.js
DELETED
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../src/types.ts"],"sourcesContent":["interface SolidAuthorization {\n\n access_token: string\n\n client_id: string\n\n id_token: string\n}\n\ninterface SolidClaim {\n\n at_hash: string\n aud: string\n azp: string\n cnf: {\n jwk: string\n }\n exp: number\n iat: number\n iss: string\n jti: string\n nonce: string\n sub: string\n}\n\nexport interface SolidSession {\n authorization: SolidAuthorization\n credentialType: string\n idClaims: SolidClaim\n idp: string\n issuer: string\n sessionKey: string\n webId: string\n}\n"],"mappings":"","ignoreList":[]}
|