profile-pane 1.1.0 → 1.1.2
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/README.md +9 -0
- package/lib/0SAVED-CVCard.js +0 -0
- package/lib/0SAVED-CVCard.js.map +0 -0
- package/lib/CVCard.js +2 -7
- package/lib/CVCard.js.map +1 -1
- package/lib/CVPresenter.js +0 -0
- package/lib/CVPresenter.js.map +0 -0
- package/lib/ChatWithMe.js +0 -0
- package/lib/ChatWithMe.js.map +0 -0
- package/lib/FriendList.js +0 -0
- package/lib/FriendList.js.map +0 -0
- package/lib/ProfileCard.js +0 -0
- package/lib/ProfileCard.js.map +0 -0
- package/lib/ProfileView.js +13 -1
- package/lib/ProfileView.js.map +1 -1
- package/lib/QRCodeCard.js +1 -1
- package/lib/QRCodeCard.js.map +1 -1
- package/lib/SocialCard.js +1 -1
- package/lib/SocialCard.js.map +1 -1
- package/lib/SocialPresenter.js +0 -0
- package/lib/SocialPresenter.js.map +0 -0
- package/lib/StuffCard.js +2 -2
- package/lib/StuffCard.js.map +1 -1
- package/lib/StuffPresenter.js +4 -3
- package/lib/StuffPresenter.js.map +1 -1
- package/lib/addMeToYourFriends.js +0 -0
- package/lib/addMeToYourFriends.js.map +0 -0
- package/lib/addMeToYourFriendsHelper.js +0 -0
- package/lib/addMeToYourFriendsHelper.js.map +0 -0
- package/lib/baseStyles.js +1 -1
- package/lib/baseStyles.js.map +1 -1
- package/lib/editProfilePane/editProfile.view.js +0 -0
- package/lib/editProfilePane/editProfile.view.js.map +0 -0
- package/lib/editProfilePane/profile.dom.js +0 -0
- package/lib/editProfilePane/profile.dom.js.map +0 -0
- package/lib/editProfilePane/wrapped-profileFormText.js +1 -1
- package/lib/editProfilePane/wrapped-profileFormText.js.map +1 -1
- package/lib/index.js +1 -23
- package/lib/index.js.map +1 -1
- package/lib/integration-tests/helpers/dataSetup.js +0 -0
- package/lib/integration-tests/helpers/dataSetup.js.map +0 -0
- package/lib/integration-tests/helpers/setup.js +0 -0
- package/lib/integration-tests/helpers/setup.js.map +0 -0
- package/lib/integration-tests/setup.js +4 -0
- package/lib/integration-tests/setup.js.map +1 -1
- package/lib/presenter.js +0 -0
- package/lib/presenter.js.map +0 -0
- package/lib/texts.js +0 -0
- package/lib/texts.js.map +0 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -22,6 +22,9 @@ To run all tests:
|
|
|
22
22
|
npm test
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
If you are a first time developer/user on Windows 10, the repository may give package issues regarding webpack or jest.
|
|
26
|
+
If this is the case, simply run "npm audit fix" and upgrade the repository. It should work fine.
|
|
27
|
+
|
|
25
28
|
#### Unit tests
|
|
26
29
|
|
|
27
30
|
Unit tests use `jest` and are placed next to the tested file as `*.spec.ts` files.
|
|
@@ -56,3 +59,9 @@ npm run check
|
|
|
56
59
|
```
|
|
57
60
|
|
|
58
61
|
This does lint, build and test.
|
|
62
|
+
|
|
63
|
+
### Notes
|
|
64
|
+
|
|
65
|
+
If suddenly many tests fail, it may be that the installation has ended up with
|
|
66
|
+
two different instances of solid-logic. Run `npm list solid-logic` and make sure there is only one.
|
|
67
|
+
Otherwise `rm -rf node_modules package-lock.json && npm install` should fix it.
|
package/lib/0SAVED-CVCard.js
CHANGED
|
File without changes
|
package/lib/0SAVED-CVCard.js.map
CHANGED
|
File without changes
|
package/lib/CVCard.js
CHANGED
|
@@ -20,8 +20,6 @@ var lit_html_1 = require("lit-html");
|
|
|
20
20
|
var baseStyles_1 = require("./baseStyles");
|
|
21
21
|
var style_map_js_1 = require("lit-html/directives/style-map.js");
|
|
22
22
|
var baseStyles_2 = require("./baseStyles");
|
|
23
|
-
var solid_ui_1 = require("solid-ui");
|
|
24
|
-
var editButtonURI = solid_ui_1.icons.iconBase + 'noun_253504.svg';
|
|
25
23
|
var styles = {
|
|
26
24
|
image: (0, style_map_js_1.styleMap)((0, baseStyles_1.fullWidth)()),
|
|
27
25
|
intro: (0, style_map_js_1.styleMap)(__assign(__assign({}, (0, baseStyles_1.textGray)()), (0, baseStyles_1.textCenter)())),
|
|
@@ -35,7 +33,7 @@ var CVCard = function (profileBasics, cvData) {
|
|
|
35
33
|
// "text-decoration": "underline",
|
|
36
34
|
color: profileBasics.highlightColor }));
|
|
37
35
|
if (renderRoles(rolesByType["FutureRole"]) || renderRoles(rolesByType["CurrentRole"]) || renderRoles(rolesByType["PastRole"]) || renderSkills(skills) || renderLanguages(languages)) {
|
|
38
|
-
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div data-testid=\"curriculum-vitae\" style=\"", "\">\n
|
|
36
|
+
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div>\n <div data-testid=\"curriculum-vitae\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Bio</h3>\n <div style=", ">", "</div>\n <hr />\n <div style=", ">", "</div>\n <hr />\n <div style=", ">", "</div>\n <hr />\n <h3 style=", ">Skills</h3>\n <div style=", ">", "</div>\n <h3 style=", ">Languages</h3>\n <div style=", ">", "</div>\n \n </div>\n </div>\n </div>\n "], ["\n <div>\n <div data-testid=\"curriculum-vitae\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Bio</h3>\n <div style=", ">", "</div>\n <hr />\n <div style=", ">", "</div>\n <hr />\n <div style=", ">", "</div>\n <hr />\n <h3 style=", ">Skills</h3>\n <div style=", ">", "</div>\n <h3 style=", ">Languages</h3>\n <div style=", ">", "</div>\n \n </div>\n </div>\n </div>\n "])), styles.card, styles.info, nameStyle, styles.info, renderRoles(rolesByType["FutureRole"]), styles.info, renderRoles(rolesByType["CurrentRole"]), styles.info, renderRoles(rolesByType["PastRole"]), nameStyle, styles.info, renderSkills(skills), nameStyle, styles.info, renderLanguages(languages));
|
|
39
37
|
}
|
|
40
38
|
return (0, lit_html_1.html)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
|
|
41
39
|
};
|
|
@@ -75,9 +73,6 @@ function strToUpperCase(str) {
|
|
|
75
73
|
}
|
|
76
74
|
return '';
|
|
77
75
|
}
|
|
78
|
-
|
|
79
|
-
return (0, lit_html_1.html)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["<button type=\"button\" class=\"ProfilePaneCVEditButton\">\n <img src=\"", "\">\n Edit</button>"], ["<button type=\"button\" class=\"ProfilePaneCVEditButton\">\n <img src=\"", "\">\n Edit</button>"])), editButtonURI);
|
|
80
|
-
}
|
|
81
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
|
|
76
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
82
77
|
// ends
|
|
83
78
|
//# sourceMappingURL=CVCard.js.map
|
package/lib/CVCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CVCard.js","sourceRoot":"","sources":["../src/CVCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgD;AAChD,2CAOsB;AAGtB,iEAA4D;AAC5D,2CAAoC;
|
|
1
|
+
{"version":3,"file":"CVCard.js","sourceRoot":"","sources":["../src/CVCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgD;AAChD,2CAOsB;AAGtB,iEAA4D;AAC5D,2CAAoC;AAGpC,IAAM,MAAM,GAAG;IACb,KAAK,EAAE,IAAA,uBAAQ,EAAC,IAAA,sBAAS,GAAE,CAAC;IAC5B,KAAK,EAAE,IAAA,uBAAQ,wBAAM,IAAA,qBAAQ,GAAE,GAAK,IAAA,uBAAU,GAAE,EAAG;IACnD,IAAI,EAAE,IAAA,uBAAQ,EAAC,IAAA,iBAAI,GAAE,CAAC;IACtB,I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CAAC;;AAGD,OAAO"}
|
package/lib/CVPresenter.js
CHANGED
|
File without changes
|
package/lib/CVPresenter.js.map
CHANGED
|
File without changes
|
package/lib/ChatWithMe.js
CHANGED
|
File without changes
|
package/lib/ChatWithMe.js.map
CHANGED
|
File without changes
|
package/lib/FriendList.js
CHANGED
|
File without changes
|
package/lib/FriendList.js.map
CHANGED
|
File without changes
|
package/lib/ProfileCard.js
CHANGED
|
File without changes
|
package/lib/ProfileCard.js.map
CHANGED
|
File without changes
|
package/lib/ProfileView.js
CHANGED
|
@@ -69,6 +69,17 @@ var SocialCard_1 = require("./SocialCard");
|
|
|
69
69
|
var StuffCard_1 = require("./StuffCard");
|
|
70
70
|
var QRCodeCard_1 = require("./QRCodeCard");
|
|
71
71
|
var addMeToYourFriends_1 = require("./addMeToYourFriends");
|
|
72
|
+
// The edit button switches to the editor pane
|
|
73
|
+
/*
|
|
74
|
+
function renderEditButton (subject) {
|
|
75
|
+
return
|
|
76
|
+
authn.currentUser() && authn.currentUser().sameTerm(subject) ?
|
|
77
|
+
html `<button type="button" class="ProfilePaneCVEditButton">
|
|
78
|
+
<img src="${editButtonURI}">
|
|
79
|
+
Edit</button>`
|
|
80
|
+
: html``;
|
|
81
|
+
}
|
|
82
|
+
*/
|
|
72
83
|
function ProfileView(subject, context) {
|
|
73
84
|
return __awaiter(this, void 0, void 0, function () {
|
|
74
85
|
var profileBasics, rolesByType, accounts, stuffData, styles;
|
|
@@ -86,7 +97,8 @@ function ProfileView(subject, context) {
|
|
|
86
97
|
card: (0, style_map_js_1.styleMap)((0, baseStyles_1.card)()),
|
|
87
98
|
chat: (0, style_map_js_1.styleMap)(__assign(__assign({}, (0, baseStyles_1.card)()), (0, baseStyles_1.padding)())),
|
|
88
99
|
};
|
|
89
|
-
|
|
100
|
+
// was: <div style=${styles.card}>${renderEditButton(subject)}</div>
|
|
101
|
+
return [2 /*return*/, (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div style=\"", "\">\n <div>\n <div data-testid=\"profile-card\" style=\"", "\">\n ", "\n ", "\n </div>\n </div>\n ", "\n ", "\n ", "\n ", "\n <div style=\"", "\">", "</div>\n <div data-testid=\"qrcode-display\" class=\"qrcode-display\" style=\"", "\">\n ", "\n \n </div>\n </div>\n "], ["\n <div style=\"", "\">\n <div>\n <div data-testid=\"profile-card\" style=\"", "\">\n ", "\n ", "\n </div>\n </div>\n ", "\n ", "\n ", "\n ", "\n <div style=\"", "\">", "</div>\n <div data-testid=\"qrcode-display\" class=\"qrcode-display\" style=\"", "\">\n ", "\n \n </div>\n </div>\n "])), styles.grid, styles.card, (0, ProfileCard_1.ProfileCard)(profileBasics), (0, addMeToYourFriends_1.addMeToYourFriendsDiv)(subject, context), (0, CVCard_1.CVCard)(profileBasics, rolesByType), (0, SocialCard_1.SocialCard)(profileBasics, accounts), (0, StuffCard_1.StuffCard)(profileBasics, context, subject, stuffData), (0, FriendList_1.FriendList)(profileBasics, subject, context), styles.chat, (0, ChatWithMe_1.ChatWithMe)(subject, context), styles.card, (0, QRCodeCard_1.QRCodeCard)(profileBasics, subject))];
|
|
90
102
|
}
|
|
91
103
|
});
|
|
92
104
|
});
|
package/lib/ProfileView.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileView.js","sourceRoot":"","sources":["../src/ProfileView.ts"],"names":[],"mappings":";AAAA;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ProfileView.js","sourceRoot":"","sources":["../src/ProfileView.ts"],"names":[],"mappings":";AAAA;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCF,kCA0CC;AAxED,qCAAgD;AAChD,iEAA4D;AAG5D,2CAA2E;AAC3E,2CAA0C;AAC1C,2CAA0C;AAC1C,yCAA6C;AAC7C,6CAAyC,CAAC,WAAW;AACrD,qDAAiD,CA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CAAC,EAC1B,IAAA,0CAAqB,EAAC,OAAO,EAAE,OAAO,CAAC,EAGzC,IAAA,eAAM,EAAC,aAAa,EAAE,WAAW,CAAC,EAClC,IAAA,uBAAU,EAAC,aAAa,EAAE,QAAQ,CAAC,EACnC,IAAA,qBAAS,EAAC,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EACrD,IAAA,uBAAU,EAAC,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,IAAI,EAAK,IAAA,uBAAU,EAAC,OAAO,EAAE,OAAO,CAAC,EACQ,MAAM,CAAC,IAAI,EACzE,IAAA,uBAAU,EAAC,aAAa,EAAE,OAAO,CAAC,GAIxC;;;;CACH"}
|
package/lib/QRCodeCard.js
CHANGED
|
@@ -46,7 +46,7 @@ var QRCodeCard = function (profileBasics, subject) {
|
|
|
46
46
|
// once those values are imported, make sure any user input aligns
|
|
47
47
|
var vCard = BEGIN + FN + URL + END + VERSIONV;
|
|
48
48
|
// console.log(`@@ qrcodes colours highlightColor ${highlightColor}, backgroundColor ${backgroundColor}`)
|
|
49
|
-
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div style=", ">\n <h3 style=", ">", "</h3>\n <div class=\"QRCode\" style=\"", "\" data-value=\"", "\" highlightColor=\"", "\" backgroundColor=\"", "\"></div>\n </div>\n "], ["\n <div style=", ">\n <h3 style=", ">", "</h3>\n <div class=\"QRCode\" style=\"", "\" data-value=\"", "\" highlightColor=\"", "\" backgroundColor=\"", "\"></div>\n </div>\n "])), styles.
|
|
49
|
+
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div>\n <div style=", ">\n <h3 style=", ">", "</h3>\n <div class=\"QRCode\" style=\"", "\" data-value=\"", "\" highlightColor=\"", "\" backgroundColor=\"", "\"></div>\n </div>\n </div>\n "], ["\n <div>\n <div style=", ">\n <h3 style=", ">", "</h3>\n <div class=\"QRCode\" style=\"", "\" data-value=\"", "\" highlightColor=\"", "\" backgroundColor=\"", "\"></div>\n </div>\n </div>\n "])), styles.card, nameStyle, profileBasics.name, qrCodeCanvasStyle, vCard, highlightColor, backgroundColor);
|
|
50
50
|
};
|
|
51
51
|
exports.QRCodeCard = QRCodeCard;
|
|
52
52
|
var templateObject_1;
|
package/lib/QRCodeCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRCodeCard.js","sourceRoot":"","sources":["../src/QRCodeCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uDAAuD;AACvD,EAAE;AACF,qCAAgD;AAEhD,2CAOsB;AAEtB,iEAA4D;AAC5D,qCAAiC;AAEjC,IAAM,MAAM,GAAG;IACb,KAAK,EAAE,IAAA,uBAAQ,EAAC,IAAA,sBAAS,GAAE,CAAC;IAC5B,KAAK,EAAE,IAAA,uBAAQ,wBAAM,IAAA,qBAAQ,GAAE,GAAK,IAAA,uBAAU,GAAE,EAAG;IACnD,IAAI,EAAE,IAAA,uBAAQ,EAAC,EAAE,CAAC;IAClB,IAAI,EAAE,IAAA,uBAAQ,wBAAM,IAAA,yBAAY,GAAE,GAAK,IAAA,qBAAQ,GAAE,EAAG;CACrD,CAAC;AAEK,IAAM,UAAU,GAAG,UACxB,aAAkC,EAClC,OAAkB;IAElB,IAAM,SAAS,GAAG,IAAA,uBAAQ,wBACrB,IAAA,oBAAO,GAAE;QACZ,kCAAkC;QAClC,KAAK,EAAE,aAAa,CAAC,cAAc,IACnC,CAAC;IACH,IAAM,iBAAiB,GAAG,0BAA0B,CAAA;IACpD,IAAM,cAAc,GAAG,aAAa,CAAC,cAAc,IAAI,SAAS,CAAA;IAChE,IAAM,eAAe,GAAG,aAAa,CAAC,eAAe,IAAI,SAAS,CAAA;IAClE,yGAAyG;IAEzG,IAAM,IAAI,GAAG,gBAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAElC,IAAM,KAAK,GAAU,iBAAiB,C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E,yGAAyG;IAEzG,IAAM,IAAI,GAAG,gBAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAElC,IAAM,KAAK,GAAU,iBAAiB,CAAC;IACvC,IAAM,GAAG,GAAU,eAAe,CAAC;IACnC,IAAM,EAAE,GAAU,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;IACxC,IAAM,GAAG,GAAU,MAAM,GAAG,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC;IAChD,IAAM,QAAQ,GAAU,iBAAiB,CAAC;IAE5C,kDAAkD;IAClD,kEAAkE;IAGhE,IAAM,KAAK,GAAW,KAAK,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC;IAGxD,yGAAyG;IAEzG,WAAO,eAAI,uRAAA,4BAEI,EAAW,qBACV,EAAS,GAAI,EAAkB,6CACd,EAAiB,kBAAiB,EAAK,sBAAqB,EAAc,uBAAsB,EAAe,qCAG/I,KALc,MAAM,CAAC,IAAI,EACV,SAAS,EAAI,aAAa,CAAC,IAAI,EACd,iBAAiB,EAAiB,KAAK,EAAqB,cAAc,EAAsB,eAAe,EAG9I;AACJ,CAAC,CAAC;AAvCW,QAAA,UAAU,cAuCrB"}
|
package/lib/SocialCard.js
CHANGED
|
@@ -33,7 +33,7 @@ var SocialCard = function (profileBasics, SocialData) {
|
|
|
33
33
|
// "text-decoration": "underline",
|
|
34
34
|
color: profileBasics.highlightColor }));
|
|
35
35
|
if (accounts.length) {
|
|
36
|
-
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div data-testid=\"social-media\" style=\"", "\">\n
|
|
36
|
+
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div>\n <div data-testid=\"social-media\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Follow me on</h3>\n\n <div style=", ">", "</div>\n </div>\n </div>\n </div>\n "], ["\n <div>\n <div data-testid=\"social-media\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Follow me on</h3>\n\n <div style=", ">", "</div>\n </div>\n </div>\n </div>\n "])), styles.card, styles.info + "margin: auto;", nameStyle, styles.info, renderAccounts(accounts));
|
|
37
37
|
}
|
|
38
38
|
return (0, lit_html_1.html)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
|
|
39
39
|
};
|
package/lib/SocialCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialCard.js","sourceRoot":"","sources":["../src/SocialCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgD;AAChD,2CAOsB;AAGtB,iEAA4D;AAC5D,2CAAoC;AAGpC,IAAM,MAAM,GAAG;IACb,KAAK,EAAE,IAAA,uBAAQ,EAAC,IAAA,sBAAS,GAAE,CAAC;IAC5B,KAAK,EAAE,IAAA,uBAAQ,wBAAM,IAAA,qBAAQ,GAAE,GAAK,IAAA,uBAAU,GAAE,EAAG;IACnD,IAAI,EAAE,IAAA,uBAAQ,EAAC,IAAA,iBAAI,GAAE,CAAC;IACtB,IAAI,EAAE,IAAA,uBAAQ,wBAAM,IAAA,yBAAY,GAAE,GAAK,IAAA,uBAAU,GAAE,EAAG;IACtD,KAAK,EAAE,IAAA,uBAAQ,wBAAM,IAAA,yBAAY,GAAE,GAAK,IAAA,sBAAS,GAAE,EAAG;CACvD,CAAC;AAEK,IAAM,UAAU,GAAG,UACxB,aAAkC,EAClC,UAA8B;IAGtB,IAAA,QAAQ,GAAK,UAAU,SAAf,CAAgB;IAEhC,IAAM,SAAS,GAAG,IAAA,uBAAQ,wBACrB,IAAA,oBAAO,GAAE;QACZ,kCAAkC;QAClC,KAAK,EAAE,aAAa,CAAC,cAAc,IACnC,CAAC;IAEH,IAAG,QAAQ,CAAC,MAAM,EAAC,CAAC;QAEpB,WAAO,eAAI,
|
|
1
|
+
{"version":3,"file":"SocialCard.js","sourceRoot":"","sources":["../src/SocialCard.ts"],"names":[],"mappings":";;;;;;;;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AAC,eAAI,mcAAA,2GAES,EAAgB,6JAC8D,EAAY,WAAU,EAAY,6DAEhF,EAAY,uCAEjD,KALK,OAAO,CAAC,QAAQ,EAC8D,OAAO,CAAC,IAAI,EAAU,OAAO,CAAC,IAAI,EAEhF,OAAO,CAAC,IAAI,EAG3D,CAAC,KAAC,eAAI,sEAAA,EAAE,IAAA,CAAC;AACb,CAAC;AAED,SAAS,cAAc,CAAC,QAAQ;IAC5B,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC;QACrB,WAAO,eAAI,8EAAA,EAAG,EAA0B,EAAG,EAAgE,EAAE,KAA/F,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAC,eAAI,sEAAA,EAAE,IAAA,EAAE;AACnH,CAAC;;AAED,OAAO"}
|
package/lib/SocialPresenter.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/StuffCard.js
CHANGED
|
@@ -35,7 +35,7 @@ var StuffCard = function (profileBasics, context, subject, stuffData) {
|
|
|
35
35
|
// "text-decoration": "underline",
|
|
36
36
|
color: profileBasics.highlightColor }));
|
|
37
37
|
// return renderThings(stuff)
|
|
38
|
-
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div data-testid=\"stuff\" style=\"", "\">\n
|
|
38
|
+
return (0, lit_html_1.html)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div>\n <div data-testid=\"stuff\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Stuff</h3>\n\n <div style=", "><table data-testid=\"stuffTable\">", "</table></div>\n <hr />\n\n </div>\n </div>\n </div>\n"], ["\n <div>\n <div data-testid=\"stuff\" style=\"", "\">\n <div style=", ">\n <h3 style=", ">Stuff</h3>\n\n <div style=", "><table data-testid=\"stuffTable\">", "</table></div>\n <hr />\n\n </div>\n </div>\n </div>\n"])), styles.card, styles.info, nameStyle, styles.info, renderThings(stuff));
|
|
39
39
|
};
|
|
40
40
|
exports.StuffCard = StuffCard;
|
|
41
41
|
function renderThingAsDOM(thing, dom) {
|
|
@@ -48,7 +48,7 @@ function renderThing(thing, dom) {
|
|
|
48
48
|
return (0, lit_html_1.html)(templateObject_2 || (templateObject_2 = __makeTemplateObject([" ", " "], [" ", " "])), (0, async_replace_js_1.asyncReplace)(renderThingAsDOM(thing, dom)));
|
|
49
49
|
}
|
|
50
50
|
function renderThings(things) {
|
|
51
|
-
console.log('Renderthings: ', things)
|
|
51
|
+
// console.log('Renderthings: ', things)
|
|
52
52
|
if (things.length === 0)
|
|
53
53
|
return (0, lit_html_1.html)(templateObject_3 || (templateObject_3 = __makeTemplateObject([""], [""])));
|
|
54
54
|
return (0, lit_html_1.html)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["", "", ""], ["", "", ""])), renderThing(things[0], dom), things.length > 1 ? renderThings(things.slice(1)) : (0, lit_html_1.html)(templateObject_4 || (templateObject_4 = __makeTemplateObject([""], [""]))));
|
package/lib/StuffCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StuffCard.js","sourceRoot":"","sources":["../src/StuffCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgD;AAChD,yEAAoE;AAGpE,qCAAkC;AAElC,2CAOsB;AAEtB,iEAA4D;AAC5D,2CAAoC;AAEpC,IAAM,GAAG,GAAG,QAAQ,CAAA;AAEpB,IAAM,MAAM,GAAG;IACb,KAAK,EAAE,IAAA,uBAAQ,EAAC,IAAA,sBAAS,GAAE,CAAC;IAC5B,KAAK,EAAE,IAAA,uBAAQ,wBAAM,IAAA,qBAAQ,GAAE,GAAK,IAAA,uBAAU,GAAE,EAAG;IACnD,IAAI,EAAE,IAAA,uBAAQ,EAAC,IAAA,iBAAI,GAAE,CAAC;IACtB,IAAI,EAAE,I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|
|
62
62
|
return __generator(this, function (_a) {
|
|
63
63
|
switch (_a.label) {
|
|
64
|
-
case 0: return [4 /*yield*/, getScopedAppInstances(null, subject)
|
|
64
|
+
case 0: return [4 /*yield*/, getScopedAppInstances(null, subject)
|
|
65
|
+
// console.log('scopedItems', scopedItems)
|
|
66
|
+
];
|
|
65
67
|
case 1:
|
|
66
68
|
scopedItems = _a.sent();
|
|
67
|
-
console.log('scopedItems', scopedItems);
|
|
68
69
|
stuff = scopedItems.map(function (item) {
|
|
69
70
|
var icon = getIconForClass(item.type || solid_ui_1.ns.rdf('Resource')); // eslint-disable-line
|
|
70
71
|
var href = item.instance.uri;
|
|
71
72
|
var name = solid_ui_1.utils.label(item.instance);
|
|
72
73
|
var instance = item.instance;
|
|
73
|
-
console.log(
|
|
74
|
+
// console.log(` href=${href} name=${name} icon=${icon}`)
|
|
74
75
|
return { href: href, name: name, icon: icon, instance: instance };
|
|
75
76
|
});
|
|
76
77
|
return [2 /*return*/, { stuff: stuff }];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StuffPresenter.js","sourceRoot":"","sources":["../src/StuffPresenter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,0CAGC;AAED,oCAiBC;AApDD,iCAAwC;AACxC,qCAAqD;AACrD,2CAAiD;AAEzC,IAAA,YAAY,GAAK,kBAAO,aAAZ,CAAY;AACxB,IAAA,SAAS,GAAK,iCAAmB,UAAxB,CAAwB;AAEvC,IAAA,qBAAqB,GACnB,SAAS,sBADU,CACV;AAcA,QAAA,eAAe,GAAG,EAAE,CAAA,CAAC,iCAAiC;AACnE,KAAK,IAAM,CAAC,IAAI,YAAY,EAAE,CAAC;IAC7B,IAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5B,IAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CA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CAAC,GAAG,CAAC,GAAG,YAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,gBAAK,CAAC,QAAQ,CAAC,CAAA;AAC3E,CAAC;AAED,SAAgB,eAAe,CAAE,KAAe;IAC9C,IAAM,KAAK,GAAG,uBAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,KAAK,IAAI,gBAAK,CAAC,QAAQ,GAAG,gBAAgB,CAAA,CAAC,2BAA2B;AAC/E,CAAC;AAED,SAAsB,YAAY,CAChC,OAAkB;;;;;wBAGC,qBAAM,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC;oBAC9D,0CAA0C;kBADoB;;oBAAxD,WAAW,GAAG,SAA0C;oBAGxD,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,UAAA,IAAI;wBAChC,IAAM,IAAI,GAAG,eAAe,CAAE,IAAY,CAAC,IAAI,IAAI,aAAE,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAA,CAAE,sBAAsB;wBAC9F,IAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAA;wBAC9B,IAAM,IAAI,GAAG,gBAAK,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;wBACvC,IAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;wBAC9B,2DAA2D;wBAC3D,OAAO,EAAE,IAAI,MAAA,EAAE,IAAI,MAAA,EAAE,IAAI,MAAA,EAAE,QAAQ,UAAA,EAAE,CAAA;oBACvC,CAAC,CAAC,CAAA;oBAED,sBAAO,EAAE,KAAK,OAAA,EAAE,EAAA;;;;CACjB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/baseStyles.js
CHANGED
|
@@ -16,7 +16,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.label = exports.headingLight = exports.heading = exports.textGray = exports.textDarkGray = exports.fontSemibold = exports.fontThin = exports.textXl = exports.textRight = exports.textLeft = exports.textCenter = exports.marginVerticalSmall = exports.paddingSmall = exports.padding = exports.fullWidth = exports.card = exports.responsiveGrid = void 0;
|
|
18
18
|
var responsiveGrid = function () { return ({
|
|
19
|
-
"--auto-grid-min-size": "
|
|
19
|
+
"--auto-grid-min-size": "30rem", // was 20rem but allowed 2 cols on phone
|
|
20
20
|
display: "grid",
|
|
21
21
|
"grid-template-columns": "repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr))",
|
|
22
22
|
"grid-gap": "1rem",
|
package/lib/baseStyles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseStyles.js","sourceRoot":"","sources":["../src/baseStyles.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;AAEI,IAAM,cAAc,GAAG,cAAM,OAAA,CAAC;IACnC,sBAAsB,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"baseStyles.js","sourceRoot":"","sources":["../src/baseStyles.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;AAEI,IAAM,cAAc,GAAG,cAAM,OAAA,CAAC;IACnC,sBAAsB,EAAE,OAAO,EAAE,wCAAwC;IACzE,OAAO,EAAE,MAAM;IACf,uBAAuB,EACrB,2DAA2D;IAC7D,UAAU,EAAE,MAAM;CACnB,CAAC,EANkC,CAMlC,CAAC;AANU,QAAA,cAAc,kBAMxB;AAEI,IAAM,IAAI,GAAG,cAAM,OAAA,CAAC;IACzB,eAAe,EAAE,OAAO;IACxB,YAAY,EAAE,KAAK;IACnB,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,GAAG;CACb,CAAC,EALwB,CAKxB,CAAC;AALU,QAAA,IAAI,QAKd;AAEI,IAAM,SAAS,GAAG,cAAM,OAAA,CAAC;IAC9B,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,OAAO;CACrB,CAAC,EAH6B,CAG7B,CAA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AG,cAAM,OAAA,CAAC;IACjC,KAAK,EAAE,kBAAkB;CAC1B,CAAC,EAFgC,CAEhC,CAAC;AAFU,QAAA,YAAY,gBAEtB;AAEI,IAAM,QAAQ,GAAG,cAAM,OAAA,CAAC;IAC7B,KAAK,EAAE,oBAAoB;CAC5B,CAAC,EAF4B,CAE5B,CAAC;AAFU,QAAA,QAAQ,YAElB;AAEI,IAAM,OAAO,GAAG,cAAM,OAAA,kDACxB,IAAA,kBAAU,GAAE,GACZ,IAAA,cAAM,GAAE,GACR,IAAA,oBAAY,GAAE,GACd,IAAA,oBAAY,GAAE,KACjB,MAAM,EAAE,GAAG,IACX,EAN2B,CAM3B,CAAC;AANU,QAAA,OAAO,WAMjB;AAEI,IAAM,YAAY,GAAG,cAAM,OAAA,yCAC7B,IAAA,gBAAQ,GAAE,GACV,IAAA,gBAAQ,GAAE,GACV,IAAA,cAAM,GAAE,KACX,MAAM,EAAE,GAAG,IACX,EALgC,CAKhC,CAAC;AALU,QAAA,YAAY,gBAKtB;AAEI,IAAM,KAAK,GAAG,cAAM,OAAA,uBACtB,IAAA,gBAAQ,GAAE,GACV,IAAA,oBAAY,GAAE,EACjB,EAHyB,CAGzB,CAAC;AAHU,QAAA,KAAK,SAGf"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.profileForm = void 0;
|
|
4
|
-
exports.profileForm = "\n@prefix os: <http://www.w3.org/2000/10/swap/os#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix esco: <http://data.europa.eu/esco/model#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#>.\n@prefix soc: <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this\n# moved to: https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#this\n\n\n\n\n# About forms: https://solidos.github.io/solid-ui/Documentation/forms-intro.html\n# About personal public data: https://www.w3.org/DesignIssues/PersonalPublic.html\n#\n\n:this\n <http://purl.org/dc/elements/1.1/title> \"Profile form\" ;\n a ui:Form ;\n # ui:part :backgroundColor, :highlightColor;\n ui:parts (\n :styleGroup\n :nicknameField\n :pronounsForm\n :LanguagesPrompt :LanguagesForm\n :SocialsPrompt :SocialsForm\n :CVGroup\n :SkillsPrompt :SkillsForm\n ).\n\n:styleGroup a ui:Group; ui:weight 0; ui:parts ( :styleHeading :backgroundColor :highlightColor ).\n :styleHeading a ui:Heading; ui:contents \"The style of your public profile.\".\n :backgroundColor a ui:ColorField; ui:property solid:profileBackgroundColor;\n ui:label \"Background color\"; ui:default \"#ffffff\".\n :highlightColor a ui:ColorField; ui:property solid:profileHighlightColor;\n ui:label \"Highlight color\"; ui:default \"#000000\".\n\n# Nickname\n\n:nicknameField a ui:SingleLineTextField; ui:size 12; ui:property foaf:nick;\n ui:label \"Short name for chats, etc.\"@en, \"nom court\"@fr.\n\n # Pronouns\n\n :pronounsForm a ui:Group; ui:weight 0; ui:parts ( :pronounsPrompt :subjectPronounForm :objectPronounForm :relativePronounForm) .\n\n :pronounsPrompt a ui:Comment; ui:contents \"What are your pronouns?\" .\n\n :subjectPronounForm a ui:SingleLineTextField; ui:property solid:preferredSubjectPronoun;\n ui:size 10; ui:label \"he/she/they...\" .\n :objectPronounForm a ui:SingleLineTextField; ui:property solid:preferredObjectPronoun;\n ui:size 10; ui:label \"him/her/them...\" .\n :relativePronounForm a ui:SingleLineTextField; ui:property solid:preferredRelativePronoun;\n ui:size 10; ui:label \"his/hers/theirs...\" .\n\n # Curriculum Vitae: membership of organizations\n\n :CVHeading a ui:Heading; ui:contents \"Public Curriculum Vitae\".\n :CVPrompt a ui:Comment; ui:contents \"What organizations have you been involved with?\" .\n\n :CVGroup a ui:Group; ui:weight 1; ui:parts ( :CVHeading :CVPrompt :involvementWithOrganizationsForm ).\n\n\n solid:Role a rdfs:Class; owl:oneOf ( solid:CurrentRole solid:FormerRole solid:FutureRole ). # Future Role too?\n\n org:member owl:inverse [ ui:label \"involvement with company, org etc\" ]. # timelimited involvement\n\n :involvementWithOrganizationsForm a ui:Multiple;\n ui:label \"Involvement with Organization\";\n ui:property org:member; ui:reverse true; # link back from role to member\n ui:ordered false; # Allow user to order CV secions rather than force date order? No.\n ui:part :RoleMembershipForm.\n\n# This is a big important form for one of a series of roles in the list.\n\n :RoleMembershipForm a ui:Group; ui:weight 3; ui:parts ( :MembershipFormHeading :roleNameField\n :escoOccupationField :orgField :RoleClassifier :RoleDatesForm :RoleDescriptionForm).\n\n :MembershipFormHeading a ui:Heading; ui:contents \"Details of this role\"@en, \"D\u00E9tailes de ce r\u00F4le\"@fr .\n\n :orgField a ui:Choice; ui:label \"Organization\"@en, \"Organization\"@fr;\n ui:canMintNew true; ui:use :OrganizationCreationForm ;\n ui:property org:organization;\n ui:from vcard:Organization .\n :roleNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 60 .\n\n :escoOccupationField a ui:AutocompleteField;\n ui:label \"occupation\"; ui:size 60;\n ui:property org:role;\n ui:dataSource :ESCO_Occupation_DataSource;\n ui:targetClass schema:Occupation .\n\n :ESCO_Occupation_DataSource a ui:DataSource;\n schema:name \"ESCO\";\n ui:targetClass schema:Occupation ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI \"https://ec.europa.eu/esco/api/search?language=$(language)&type=occupation&text=$(name)\".\n\n :instituteIdentityField a ui:AutocompleteField; ui:label \"in wikidata\";\n ui:size 60;\n ui:property solid:publicId; ui:dataSource :WikidataOnOrganizations.\n\n :WikidataOnOrganizations a ui:DataSource ;\n schema:name \"Wikidata\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:targetClass <http://www.wikidata.org/entity/Q43229>; # Use if nothing else\n ui:searchByNameQuery \"\"\"SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, \"$(name)\", \"i\")\n } LIMIT $(limit) \"\"\" .\n\n :WikidataOnOrganizations ui:classMap\n [ ui:internalClass schema:Corporation; ui:externalClass <http://www.wikidata.org/entity/Q6881511>], #Enterprise is for-profit\n [ ui:internalClass schema:EducationalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q178706>], #insitution\n [ ui:internalClass schema:ResearchOrganization; ui:externalClass <http://www.wikidata.org/entity/Q31855>], # reearch insitutie\n [ ui:internalClass schema:GovernmentOrganization; ui:externalClass <http://www.wikidata.org/entity/Q327333>], #government agency\n [ ui:internalClass schema:MedicalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4287745>],\n [ ui:internalClass schema:MusicGroup; ui:externalClass <http://www.wikidata.org/entity/Q32178211>], #music organization\n [ ui:internalClass schema:NGO; ui:externalClass <http://www.wikidata.org/entity/Q163740>], #nonprofit organization @@\n [ ui:internalClass schema:Occupation; ui:externalClass <http://www.wikidata.org/entity/Q28640>], # superclass: Profession\n [ ui:internalClass schema:Organization; ui:externalClass <http://www.wikidata.org/entity/Q43229>], # Superclass; Organization\n [ ui:internalClass schema:Project; ui:externalClass <http://www.wikidata.org/entity/Q170584>],\n [ ui:internalClass schema:SportsOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4438121>] .\n\n\n# eposodes in one's career - Roles\n\nsolid:Role owl:disjointUnionOf ( solid:PastRole solid:CurrentRole solid:FutureRole ) .\nsolid:PastRole a rdfs:Class; rdfs:label \"former role\"@en, \"ancien r\u00F4le\"@fr, \"vergangene Rolle\"@de, \"rol anterior\"@es .\nsolid:CurrentRole a rdfs:Class; rdfs:label \"current role\"@en, \"r\u00F4le actuel\"@fr, \"momentane Rolle\"@de , \"rol actual\"@es .\nsolid:FutureRole a rdfs:Class; rdfs:label \"future role\"@en, \"r\u00F4le \u00E0 venir\"@fr, \"zuk\u00FCnftige Rolle\"@de, \"rol futuro\"@es .\n\n:RoleDatesGroup a ui:Group; ui:weight 0; ui:parts ( :RoleClassifier :RoleDatesForm ) .\n :RoleClassifier a ui:Classifier; ui:label \"What sort of role?\"@en;\n ui:category solid:Role .\n\n :RoleDatesForm a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for solid:PastRole; ui:use :TwoDateForm ],\n [ ui:for solid:CurrentRole; ui:use :StartDateForm ],\n [ ui:for solid:FutureRole; ui:use :StartDateForm ].\n\n :StartDateForm a ui:DateField; ui:label \"start\"@en,\"d\u00E9but\"@fr;\n ui:property schema:startDate .\n :TwoDateForm a ui:Group; ui:weight 0; ui:parts ( :StartDateForm :EndDateForm ) .\n :EndDateForm a ui:DateField; ui:label \"end\"@en,\"fin\"@fr;\n ui:property schema:endDate .\n\n:RoleDescriptionForm a ui:MultiLineTextField; ui:property schema:description;\n ui:label \"Describe your role\" .\n\n# Organizations\n\n vcard:Organization ui:creationForm :OrganizationCreationForm .\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corporation\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n# MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\nschema:PerformingGroup # a band\nschema:Project # like Solid\nschema:SportsOrganization # a Team\nsolid:OtherOrganization\n ) .\n\n# This until the schema.org ontology adopts it\nschema:ResearchOrganization a rdfs:Class; rdfs:label \"Research Organization\"@en, \"Organization de Recherche\"@fr ,\n \"organizaci\u00F3n de investigaci\u00F3n\"@es, \"\u0645\u0646\u0638\u0645\u0629 \u0627\u0644\u0628\u062D\u062B\"@ar, \"\u0905\u0928\u0941\u0938\u0902\u0927\u093E\u0928 \u0938\u0902\u0917\u0920\u0928\"@hi, \"Forschungsorganisation\"@de, \"shirika la utafiti\"@sw .\n\n :OrganizationCreationForm a ui:Form; schema:name \"Form for editing an organization using public data\" ;\n ui:parts ( :OrgClassifier :OrgSwitch :OrganizationNameField :homePageURIField ) .\n\n\n :OrgClassifier a ui:Classifier; ui:label \"What sort of organization?\"@en;\n ui:category solid:InterestingOrganization .\n\n :OrganizationNameField\n a ui:SingleLineTextField ;\n ui:label \"Organization Name\";\n ui:maxLength \"200\" ;\n ui:property schema:name ;\n ui:size 80 .\n\n :homePageURIField a ui:NamedNodeURIField; ui:size 80;\n ui:label \"Home page URI\"@en;\n ui:property schema:uri . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label \"What sort of organization\";\n ui:category solid:InterestingOrganization .\n\n# Depending on the type of org, chose a different form\n\n :OrgSwitch a ui:Options; ui:dependingOn rdf:type;\n ui:case\n [ ui:for schema:Corporation; ui:use :CorporationForm ],\n [ ui:for schema:GovernmentOrganization; ui:use :GovernmentOrganizationForm ],\n [ ui:for schema:PerformingGroup; ui:use :PerformingGroupForm ],\n [ ui:for schema:Project; ui:use :ProjectForm ],\n [ ui:for schema:NGO; ui:use :NGOForm ],\n [ ui:for schema:EducationalOrganization; ui:use :EducationalOrganizationForm ],\n [ ui:for schema:ResearchOrganization; ui:use :ResearchOrganizationForm ],\n [ ui:for :SportsOrganization; ui:use :SportsOrganizationForm ],\n [ ui:for solid:OtherOrganization; ui:use :OtherOrganizationForm ].\n\n\n :CorporationForm a ui:Group; ui:weight 0; ui:parts ( :CorporationPrompt :CorporationAutocomplete ) .\n\n :CorporationPrompt a ui:Comment; ui:contents \"Which corporation?\".\n\n :CorporationAutocomplete a ui:AutocompleteField;\n a ui:AutocompleteField; ui:label \"Corporation in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q6881511>; # Enterprise\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :WikidataInstancesByName a ui:DataSource ;\n schema:name \"Wikidata instances by name\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:searchByNameQuery \"\"\"SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, \"$(name)\", \"i\")\n } LIMIT $(limit) \"\"\" ;\n\n # Note this form of the query is very experimental\n ui:searchByName [ ui:construct { ?subject schema:name ?name } ;\n ui:where { ?klass wdt:P279 ?targetClass .\n ?subject wdt:P31 ?klass; rdfs:label ?name .\n };\n ].\n\n :GovernmentOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :GovernmentOrganizationPrompt :GovernmentOrganizationAutocomplete ) .\n\n :GovernmentOrganizationPrompt a ui:Comment; ui:contents \"Which GovernmentOrganization?\".\n\n :GovernmentOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"GovernmentOrganization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q327333>; # GovernmentOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :EducationalOrganizationForm a ui:Group; ui:weight 1; ui:parts ( :EducationalOrganizationPrompt :EducationalOrganizationAutocomplete ) .\n\n :EducationalOrganizationPrompt a ui:Comment; ui:contents \"Which Educational Organization?\".\n\n :EducationalOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"Educational Organization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q2385804>; # EducationalOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ResearchOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :ResearchOrganizationPrompt :ResearchOrganizationAutocomplete ) .\n\n :ResearchOrganizationPrompt a ui:Comment; ui:contents \"Which Research Organization?\".\n\n :ResearchOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"Research Insitute in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q31855>; # research institute\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :NGOForm a ui:Group; ui:weight 0; ui:parts ( :NGOPrompt :NGOAutocomplete ) .\n\n :NGOPrompt a ui:Comment; ui:contents \"Which NGO?\".\n\n :NGOAutocomplete\n a ui:AutocompleteField; ui:label \"NGO in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q163740>; # Non-profit org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :PerformingGroupForm a ui:Group; ui:weight 0; ui:parts ( :PerformingGroupPrompt :PerformingGroupAutocomplete ) .\n\n :PerformingGroupPrompt a ui:Comment; ui:contents \"Which PerformingGroup?\".\n\n :PerformingGroupAutocomplete\n a ui:AutocompleteField; ui:label \"PerformingGroup in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q32178211>; # Music Org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ProjectForm a ui:Group; ui:weight 0; ui:parts ( :ProjectPrompt :ProjectAutocomplete ) . # :ProjectAutocomplete - no: supress, as not in WD\n\n :ProjectPrompt a ui:Comment; ui:contents \"Which Project?\".\n\n :ProjectAutocomplete\n a ui:AutocompleteField; ui:label \"Project in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q170584>; # Project\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :SportsOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :SportsOrganizationPrompt :SportsOrganizationAutocomplete ) .\n\n :SportsOrganizationPrompt a ui:Comment; ui:contents \"Which Sports Organization?\".\n\n :SportsOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"SportsOrganization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q4438121>; # SportsOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :OtherOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :OrganizationNameField :homePageURIField ) .\n\n #################### Skills\n\n :SkillsPrompt a ui:Comment; ui:contents \"Skills?\" .\n\n :SkillsForm a ui:Multiple;\n ui:label \"Skills\";\n ui:property schema:skills;\n ui:ordered false; # Allow reader to order skills\n ui:part :SkillForm.\n\n :SkillForm a ui:Group; ui:weight 1; ui:parts ( :escoSkillField ).\n\n # :skillNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 30 .\n\n :escoSkillField a ui:AutocompleteField;\n ui:label \"skill\"; ui:size 30;\n ui:property solid:publicId;\n ui:dataSource :ESCO_Skill_DataSource;\n ui:targetClass schema:Skill .\n\n :ESCO_Skill_DataSource a ui:DataSource;\n schema:name \"ESCO Skill\";\n ui:targetClass esco:Skill ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI \"https://ec.europa.eu/esco/api/search?language=$(language)&limit=$(limit)&type=skill&text=$(name)\".\n\n# Language\n\n:LanguagesPrompt a ui:Comment; ui:contents \"Languages?\" .\n\n:LanguagesForm a ui:Multiple;\n ui:label \"Languages\";\n ui:property schema:knowsLanguage; # @@@\n ui:ordered true; # Allow user to order languages most important first.\n ui:part :LanguageForm.\n\n:LanguageForm a ui:Group; ui:weight 1; ui:parts ( :WikidataLanguageField ).\n\n :WikidataLanguageField a ui:AutocompleteField;\n ui:label \"Language\"; ui:size 30;\n ui:property solid:publicId; # @@\n ui:dataSource :WikidataLanguageDataSource;\n ui:targetClass schema:Language .\n\n :WikidataLanguageDataSource\n schema:name \"Wikidata languages\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:objectURIBase <https://www.w3.org/ns/iana/language-code/>;\n # Add this to any literal string returned as ?subject\n\n ui:searchByNameQuery \"\"\"SELECT ?item ?subject ?name\nWHERE\n{ ?item wdt:P305 ?subject .\n OPTIONAL {?item rdfs:label ?name}\n OPTIONAL {?item wdt:P1705 ?name}\n FILTER regex(?name, \"$(name)\", \"i\")\n FILTER regex(?subject, \"^..$\", \"i\")\n}\"\"\" .\n # Note we restrict code to two-letter codes with the second regex, so as to limit the deluge of languages\n # Hope there are not any important ones which have three-letter codes.\n # Omitted: SERVICE wikibase:label { bd:serviceParam wikibase:language \"$(languages)\". }\n\n########### Social Media - other accounts\n#\n# Twitter, Linked In, Orkid, Mastodon, Matrix, Bluesky, Instagram, Facebook, Github,\n# Snapchat, TikTok, etc\n\n:SocialsPrompt a ui:Heading; ui:contents \"Social Media etc?\" .\n:SocialsPrompt a ui:Comment; ui:contents \"Link to accounts in social media sites, etc\" .\n\n:SocialsForm a ui:Multiple;\n ui:label \"online account\";\n ui:property foaf:account;\n ui:ordered true; # Allow user to order occounts most important first.\n ui:part :AccountsForm.\n\n:AccountsForm a ui:Group; ui:weight 1; ui:parts ( :AccountField :AccountIdField ).\n\n:AccountField a ui:Classifier; ui:label \"What sort of account?\"@en;\n ui:multiple false ; \n ui:category foaf:Account .\n\n:AccountIdField a ui:Options . \n\n :AccountIdField a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for soc:BlueSkyAccount; ui:use :BlueSkyIdField ],\n [ ui:for soc:FacebookAccount; ui:use :FacebookIdField ],\n [ ui:for soc:GithubAccount; ui:use :GithubIdField ],\n [ ui:for soc:InstagramAccount; ui:use :InstagramIdField ],\n [ ui:for soc:LinkedInAccount; ui:use :LinkedInIdField ],\n [ ui:for soc:NostrAccount; ui:use :NostrIdField ],\n [ ui:for soc:MastodonAccount; ui:use :MastodonIdField ],\n [ ui:for soc:MatrixAccount; ui:use :MatrixIdField ],\n [ ui:for soc:MediumAccount; ui:use :MediumIdField ],\n [ ui:for soc:PinterestAccount; ui:use :PinterestIdField ],\n [ ui:for soc:RedditAccount; ui:use :RedditIdField ],\n [ ui:for soc:SnapchatAccount; ui:use :SnapchatIdField ],\n [ ui:for soc:TiktokAccount; ui:use :TiktokIdField ],\n [ ui:for soc:TwitterAccount; ui:use :TwitterIdField ],\n [ ui:for soc:OtherAccount; ui:use :OtherIdForm ] .\n\n :BlueSkyIdField\n a ui:SingleLineTextField ;\n ui:label \"Bluesky Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :FacebookIdField\n a ui:SingleLineTextField ;\n ui:label \"Facebook Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :GithubIdField\n a ui:SingleLineTextField ;\n ui:label \"Github Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :InstagramIdField\n a ui:SingleLineTextField ;\n ui:label \"Instagram Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :LinkedInIdField\n a ui:SingleLineTextField ;\n ui:label \"Linked In Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MastodonIdField\n a ui:SingleLineTextField ;\n ui:label \"Mastodon (Activity Pub) Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MatrixIdField\n a ui:SingleLineTextField ;\n ui:label \"Matrix Username\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MediumIdField\n a ui:SingleLineTextField ;\n ui:label \"Medium Username\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :NostrIdField\n a ui:SingleLineTextField ;\n ui:label \"Nostr public key\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 70 .\n\n :PinterestIdField\n a ui:SingleLineTextField ;\n ui:label \"Pinterest id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :RedditIdField\n a ui:SingleLineTextField ;\n ui:label \"Reddit Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :SnapchatIdField\n a ui:SingleLineTextField ;\n ui:label \"Snapchat Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :TiktokIdField\n a ui:SingleLineTextField ;\n ui:label \"Tiktok Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :TwitterIdField\n a ui:SingleLineTextField ;\n ui:label \"Twitter Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n# an unknown SN account needs more info\n\n :OtherIdForm a ui:Group; ui:weight 0; ui:parts ( :OtherIdField :OtherIconField :OtherLabelield ).\n\n :OtherIdField\n a ui:NamedNodeURIField ;\n ui:label \"URL of account to link to\";\n ui:maxLength \"200\" ;\n ui:property foaf:homepage ; \n ui:size 60 .\n\n :OtherLabelield\n a ui:SingleLineTextField ;\n ui:label \"Label\";\n ui:maxLength \"200\" ;\n ui:property rdfs:label ; \n ui:size 40 .\n\n :OtherIconField\n a ui:NamedNodeURIField ;\n ui:label \"URL of icon to display\";\n ui:maxLength \"200\" ;\n ui:property foaf:icon ;\n ui:size 60 .\n\n\n\n\n\n# ENDS\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n\n@prefix : <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n@prefix soc: <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl# <-- change old data\n\n\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this\n# moved to: https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#this\n# and https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl\n\n\n##### Ontology of Online Accounts\n\nfoaf:Account a rdfs:Class;\n rdfs:label \"Online Account Provider\";\n owl:disjointUnionOf ( :BlueSkyAccount :FacebookAccount :GithubAccount :InstagramAccount\n :LinkedInAccount :MastodonAccount :MatrixAccount :MediumAccount :NostrAccount :PinterestAccount\n :RedditAccount :SnapchatAccount :TiktokAccount :TwitterAccount :OtherAccount) .\n\n:BlueSkyAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Bluesky\";\n foaf:userProfilePrefix \"https://bsky.app/profile/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/bluesky-1.svg>;\n foaf:homepage <https://bsky.app/> .\n\n:FacebookAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Facebook\";\n foaf:userProfilePrefix \"https://www.facebook.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/facebook-2020-2-1.svg>;\n foaf:homepage <https://www.facebook.com/> .\n\n:GithubAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Github\";\n foaf:userProfilePrefix \"https://www.github.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/github-icon.svg>;\n foaf:homepage <https://github.com/> .\n\n:InstagramAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Instagram\";\n foaf:userProfilePrefix \"https://www.instagram.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/instagram-2016-5.svg>;\n foaf:homepage <https://www.instagram.com/> .\n\n:LinkedInAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Linked In\";\n foaf:userProfilePrefix \"https://www.linkedin.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/linkedin-icon.svg>;\n foaf:homepage <https://linkedin.com/> .\n\n:MastodonAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Mastodon\" ;\n foaf:userProfilePrefix \"https://mastodon.social/\";\n\n # foaf:userNamePattern \"(@[a-ZA-Z0-9]*)@[a-ZA-Z0-9.]*)\";\n # foaf:userNameTransform \"https://$2/$1\";\n\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/mastodon-2.svg>;\n foaf:homepage <https://joinmastodon.org/> .\n\n:MatrixAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Matrix\" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/matrix-logo-black.svg> ;\n foaf:userProfilePrefix \"https://matrix.to/#/\" ;\n foaf:homepage <https://matrix.org/> .\n\n:MediumAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Medium\";\n foaf:userProfilePrefix \"https://medium.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/medium-logo-wordmark-black.svg>;\n foaf:homepage <https://medium.com/> .\n\n:NostrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Nostr\";\n foaf:userProfilePrefix \"https://primal.net/p/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/nostr-icon-purple-on-white.svg>;\n foaf:homepage <https://nostr.net/> .\n\n:PinterestAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Pinterest\";\n foaf:userProfilePrefix \"https://pin.it/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/pinterest-2-1.svg>;\n foaf:homepage <https://pinterest.com/> .\n\n:RedditAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Reddit\";\n foaf:userProfilePrefix \"https://www.reddit.com/user/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/reddit-4.svg>;\n foaf:homepage <https://reddit.com/> .\n\n:SnapchatAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Snapchat\";\n foaf:userProfilePrefix \"https://www.snapchat.com/add/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/snapchat-1.svg>;\n foaf:homepage <https://www.snapchat.com/> .\n\n:TiktokAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"TikTok\";\n foaf:userProfilePrefix \"https://www.tiktok.com/@\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tiktok-icon-2.svg>;\n foaf:homepage <https://www.tiktok.com/> .\n\n\n:TwitterAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"X (formerly Twitter)\";\n foaf:userProfilePrefix \"https://x.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/x-2.svg>;\n foaf:homepage <https://x.com/> .\n\n\n:OtherAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Other\" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/noun_1689339.svg> .\n\n# ends\n\n";
|
|
4
|
+
exports.profileForm = "\n@prefix os: <http://www.w3.org/2000/10/swap/os#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n@prefix esco: <http://data.europa.eu/esco/model#>.\n@prefix wd: <http://www.wikidata.org/entity/>.\n@prefix wdt: <http://www.wikidata.org/prop/direct/>.\n\n@prefix : <https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#>.\n@prefix soc: <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this\n# moved to: https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#this\n\n\n\n\n# About forms: https://solidos.github.io/solid-ui/Documentation/forms-intro.html\n# About personal public data: https://www.w3.org/DesignIssues/PersonalPublic.html\n#\n\n:this\n <http://purl.org/dc/elements/1.1/title> \"Profile form\" ;\n a ui:Form ;\n # ui:part :backgroundColor, :highlightColor;\n ui:parts (\n :styleGroup\n :nicknameField\n :pronounsForm\n :LanguagesPrompt :LanguagesForm\n :SocialsPrompt :SocialsForm\n :CVGroup\n :SkillsPrompt :SkillsForm\n ).\n\n:styleGroup a ui:Group; ui:weight 0; ui:parts ( :styleHeading :backgroundColor :highlightColor ).\n :styleHeading a ui:Heading; ui:contents \"The style of your public profile.\".\n :backgroundColor a ui:ColorField; ui:property solid:profileBackgroundColor;\n ui:label \"Background color\"; ui:default \"#ffffff\".\n :highlightColor a ui:ColorField; ui:property solid:profileHighlightColor;\n ui:label \"Highlight color\"; ui:default \"#000000\".\n\n# Nickname\n\n:nicknameField a ui:SingleLineTextField; ui:size 12; ui:property foaf:nick;\n ui:label \"Short name for chats, etc.\"@en, \"nom court\"@fr.\n\n # Pronouns\n\n :pronounsForm a ui:Group; ui:weight 0; ui:parts ( :pronounsPrompt :subjectPronounForm :objectPronounForm :relativePronounForm) .\n\n :pronounsPrompt a ui:Comment; ui:contents \"What are your pronouns?\" .\n\n :subjectPronounForm a ui:SingleLineTextField; ui:property solid:preferredSubjectPronoun;\n ui:size 10; ui:label \"he/she/they...\" .\n :objectPronounForm a ui:SingleLineTextField; ui:property solid:preferredObjectPronoun;\n ui:size 10; ui:label \"him/her/them...\" .\n :relativePronounForm a ui:SingleLineTextField; ui:property solid:preferredRelativePronoun;\n ui:size 10; ui:label \"his/hers/theirs...\" .\n\n # Curriculum Vitae: membership of organizations\n\n :CVHeading a ui:Heading; ui:contents \"Public Curriculum Vitae\".\n :CVPrompt a ui:Comment; ui:contents \"What organizations have you been involved with?\" .\n\n :CVGroup a ui:Group; ui:weight 1; ui:parts ( :CVHeading :CVPrompt :involvementWithOrganizationsForm ).\n\n\n solid:Role a rdfs:Class; owl:oneOf ( solid:CurrentRole solid:FormerRole solid:FutureRole ). # Future Role too?\n\n org:member owl:inverse [ ui:label \"involvement with company, org etc\" ]. # timelimited involvement\n\n :involvementWithOrganizationsForm a ui:Multiple;\n ui:label \"Involvement with Organization\";\n ui:property org:member; ui:reverse true; # link back from role to member\n ui:ordered false; # Allow user to order CV secions rather than force date order? No.\n ui:part :RoleMembershipForm.\n\n# This is a big important form for one of a series of roles in the list.\n\n :RoleMembershipForm a ui:Group; ui:weight 3; ui:parts ( :MembershipFormHeading :roleNameField\n :escoOccupationField :orgField :RoleClassifier :RoleDatesForm :RoleDescriptionForm).\n\n :MembershipFormHeading a ui:Heading; ui:contents \"Details of this role\"@en, \"D\u00E9tailes de ce r\u00F4le\"@fr .\n\n :orgField a ui:Choice; ui:label \"Organization\"@en, \"Organization\"@fr;\n ui:canMintNew true; ui:use :OrganizationCreationForm ;\n ui:property org:organization;\n ui:from vcard:Organization .\n :roleNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 60 .\n\n :escoOccupationField a ui:AutocompleteField;\n ui:label \"occupation\"; ui:size 60;\n ui:property org:role;\n ui:dataSource :ESCO_Occupation_DataSource;\n ui:targetClass schema:Occupation .\n\n :ESCO_Occupation_DataSource a ui:DataSource;\n schema:name \"ESCO\";\n ui:targetClass schema:Occupation ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI \"https://ec.europa.eu/esco/api/search?language=$(language)&type=occupation&text=$(name)\".\n\n :instituteIdentityField a ui:AutocompleteField; ui:label \"in wikidata\";\n ui:size 60;\n ui:property solid:publicId; ui:dataSource :WikidataOnOrganizations.\n\n :WikidataOnOrganizations a ui:DataSource ;\n schema:name \"Wikidata\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:targetClass <http://www.wikidata.org/entity/Q43229>; # Use if nothing else\n ui:searchByNameQuery \"\"\"SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, \"$(name)\", \"i\")\n } LIMIT $(limit) \"\"\" .\n\n :WikidataOnOrganizations ui:classMap\n [ ui:internalClass schema:Corporation; ui:externalClass <http://www.wikidata.org/entity/Q6881511>], #Enterprise is for-profit\n [ ui:internalClass schema:EducationalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q178706>], #insitution\n [ ui:internalClass schema:ResearchOrganization; ui:externalClass <http://www.wikidata.org/entity/Q31855>], # reearch insitutie\n [ ui:internalClass schema:GovernmentOrganization; ui:externalClass <http://www.wikidata.org/entity/Q327333>], #government agency\n [ ui:internalClass schema:MedicalOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4287745>],\n [ ui:internalClass schema:MusicGroup; ui:externalClass <http://www.wikidata.org/entity/Q32178211>], #music organization\n [ ui:internalClass schema:NGO; ui:externalClass <http://www.wikidata.org/entity/Q163740>], #nonprofit organization @@\n [ ui:internalClass schema:Occupation; ui:externalClass <http://www.wikidata.org/entity/Q28640>], # superclass: Profession\n [ ui:internalClass schema:Organization; ui:externalClass <http://www.wikidata.org/entity/Q43229>], # Superclass; Organization\n [ ui:internalClass schema:Project; ui:externalClass <http://www.wikidata.org/entity/Q170584>],\n [ ui:internalClass schema:SportsOrganization; ui:externalClass <http://www.wikidata.org/entity/Q4438121>] .\n\n\n# eposodes in one's career - Roles\n\nsolid:Role owl:disjointUnionOf ( solid:PastRole solid:CurrentRole solid:FutureRole ) .\nsolid:PastRole a rdfs:Class; rdfs:label \"former role\"@en, \"ancien r\u00F4le\"@fr, \"vergangene Rolle\"@de, \"rol anterior\"@es .\nsolid:CurrentRole a rdfs:Class; rdfs:label \"current role\"@en, \"r\u00F4le actuel\"@fr, \"momentane Rolle\"@de , \"rol actual\"@es .\nsolid:FutureRole a rdfs:Class; rdfs:label \"future role\"@en, \"r\u00F4le \u00E0 venir\"@fr, \"zuk\u00FCnftige Rolle\"@de, \"rol futuro\"@es .\n\n:RoleDatesGroup a ui:Group; ui:weight 0; ui:parts ( :RoleClassifier :RoleDatesForm ) .\n :RoleClassifier a ui:Classifier; ui:label \"What sort of role?\"@en;\n ui:category solid:Role .\n\n :RoleDatesForm a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for solid:PastRole; ui:use :TwoDateForm ],\n [ ui:for solid:CurrentRole; ui:use :StartDateForm ],\n [ ui:for solid:FutureRole; ui:use :StartDateForm ].\n\n :StartDateForm a ui:DateField; ui:label \"start\"@en,\"d\u00E9but\"@fr;\n ui:property schema:startDate .\n :TwoDateForm a ui:Group; ui:weight 0; ui:parts ( :StartDateForm :EndDateForm ) .\n :EndDateForm a ui:DateField; ui:label \"end\"@en,\"fin\"@fr;\n ui:property schema:endDate .\n\n:RoleDescriptionForm a ui:MultiLineTextField; ui:property schema:description;\n ui:label \"Describe your role\" .\n\n# Organizations\n\n vcard:Organization ui:creationForm :OrganizationCreationForm .\n\n# Ontology data to drive the classifier\n\nsolid:InterestingOrganization owl:disjointUnionOf (\n# Airline - a Corporation\n# Consortium - a Corporation or a NGO\n schema:Corporation\n schema:EducationalOrganization\n schema:ResearchOrganization # Proposed. https://github.com/schemaorg/schemaorg/issues/2877\n# FundingScheme - eh?\n schema:GovernmentOrganization\n# LibrarySystem\n# LocalBusiness - Corporation\n# MedicalOrganization - a Corporation or a NGO\n schema:NGO\n # NewsMediaOrganization - a Corporation or a NGO\nschema:PerformingGroup # a band\nschema:Project # like Solid\nschema:SportsOrganization # a Team\nsolid:OtherOrganization\n ) .\n\n# This until the schema.org ontology adopts it\nschema:ResearchOrganization a rdfs:Class; rdfs:label \"Research Organization\"@en, \"Organization de Recherche\"@fr ,\n \"organizaci\u00F3n de investigaci\u00F3n\"@es, \"\u0645\u0646\u0638\u0645\u0629 \u0627\u0644\u0628\u062D\u062B\"@ar, \"\u0905\u0928\u0941\u0938\u0902\u0927\u093E\u0928 \u0938\u0902\u0917\u0920\u0928\"@hi, \"Forschungsorganisation\"@de, \"shirika la utafiti\"@sw .\n\n :OrganizationCreationForm a ui:Form; schema:name \"Form for editing an organization using public data\" ;\n ui:parts ( :OrgClassifier :OrgSwitch :OrganizationNameField :homePageURIField ) .\n\n\n :OrgClassifier a ui:Classifier; ui:label \"What sort of organization?\"@en;\n ui:category solid:InterestingOrganization .\n\n :OrganizationNameField\n a ui:SingleLineTextField ;\n ui:label \"Organization Name\";\n ui:maxLength \"200\" ;\n ui:property schema:name ;\n ui:size 80 .\n\n :homePageURIField a ui:NamedNodeURIField; ui:size 80;\n ui:label \"Home page URI\"@en;\n ui:property schema:uri . # @@ ??\n\n :initituteTypeField a ui:Classifier;\n ui:label \"What sort of organization\";\n ui:category solid:InterestingOrganization .\n\n# Depending on the type of org, chose a different form\n\n :OrgSwitch a ui:Options; ui:dependingOn rdf:type;\n ui:case\n [ ui:for schema:Corporation; ui:use :CorporationForm ],\n [ ui:for schema:GovernmentOrganization; ui:use :GovernmentOrganizationForm ],\n [ ui:for schema:PerformingGroup; ui:use :PerformingGroupForm ],\n [ ui:for schema:Project; ui:use :ProjectForm ],\n [ ui:for schema:NGO; ui:use :NGOForm ],\n [ ui:for schema:EducationalOrganization; ui:use :EducationalOrganizationForm ],\n [ ui:for schema:ResearchOrganization; ui:use :ResearchOrganizationForm ],\n [ ui:for :SportsOrganization; ui:use :SportsOrganizationForm ],\n [ ui:for solid:OtherOrganization; ui:use :OtherOrganizationForm ].\n\n\n :CorporationForm a ui:Group; ui:weight 0; ui:parts ( :CorporationPrompt :CorporationAutocomplete ) .\n\n :CorporationPrompt a ui:Comment; ui:contents \"Which corporation?\".\n\n :CorporationAutocomplete a ui:AutocompleteField;\n a ui:AutocompleteField; ui:label \"Corporation in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q6881511>; # Enterprise\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :WikidataInstancesByName a ui:DataSource ;\n schema:name \"Wikidata instances by name\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:searchByNameQuery \"\"\"SELECT ?subject ?name\n WHERE {\n ?klass wdt:P279* $(targetClass) .\n ?subject wdt:P31 ?klass .\n ?subject rdfs:label ?name.\n FILTER regex(?name, \"$(name)\", \"i\")\n } LIMIT $(limit) \"\"\" ;\n\n # Note this form of the query is very experimental\n ui:searchByName [ ui:construct { ?subject schema:name ?name } ;\n ui:where { ?klass wdt:P279 ?targetClass .\n ?subject wdt:P31 ?klass; rdfs:label ?name .\n };\n ].\n\n :GovernmentOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :GovernmentOrganizationPrompt :GovernmentOrganizationAutocomplete ) .\n\n :GovernmentOrganizationPrompt a ui:Comment; ui:contents \"Which GovernmentOrganization?\".\n\n :GovernmentOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"GovernmentOrganization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q327333>; # GovernmentOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :EducationalOrganizationForm a ui:Group; ui:weight 1; ui:parts ( :EducationalOrganizationPrompt :EducationalOrganizationAutocomplete ) .\n\n :EducationalOrganizationPrompt a ui:Comment; ui:contents \"Which Educational Organization?\".\n\n :EducationalOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"Educational Organization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q2385804>; # EducationalOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ResearchOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :ResearchOrganizationPrompt :ResearchOrganizationAutocomplete ) .\n\n :ResearchOrganizationPrompt a ui:Comment; ui:contents \"Which Research Organization?\".\n\n :ResearchOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"Research Insitute in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q31855>; # research institute\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :NGOForm a ui:Group; ui:weight 0; ui:parts ( :NGOPrompt :NGOAutocomplete ) .\n\n :NGOPrompt a ui:Comment; ui:contents \"Which NGO?\".\n\n :NGOAutocomplete\n a ui:AutocompleteField; ui:label \"NGO in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q163740>; # Non-profit org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :PerformingGroupForm a ui:Group; ui:weight 0; ui:parts ( :PerformingGroupPrompt :PerformingGroupAutocomplete ) .\n\n :PerformingGroupPrompt a ui:Comment; ui:contents \"Which PerformingGroup?\".\n\n :PerformingGroupAutocomplete\n a ui:AutocompleteField; ui:label \"PerformingGroup in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q32178211>; # Music Org\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n\n :ProjectForm a ui:Group; ui:weight 0; ui:parts ( :ProjectPrompt :ProjectAutocomplete ) . # :ProjectAutocomplete - no: supress, as not in WD\n\n :ProjectPrompt a ui:Comment; ui:contents \"Which Project?\".\n\n :ProjectAutocomplete\n a ui:AutocompleteField; ui:label \"Project in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q170584>; # Project\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :SportsOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :SportsOrganizationPrompt :SportsOrganizationAutocomplete ) .\n\n :SportsOrganizationPrompt a ui:Comment; ui:contents \"Which Sports Organization?\".\n\n :SportsOrganizationAutocomplete\n a ui:AutocompleteField; ui:label \"SportsOrganization in wikidata\";\n ui:size 60;\n ui:targetClass <http://www.wikidata.org/entity/Q4438121>; # SportsOrganization\n ui:property solid:publicId; ui:dataSource :WikidataInstancesByName.\n\n :OtherOrganizationForm a ui:Group; ui:weight 0; ui:parts ( :OrganizationNameField :homePageURIField ) .\n\n #################### Skills\n\n :SkillsPrompt a ui:Comment; ui:contents \"Skills?\" .\n\n :SkillsForm a ui:Multiple;\n ui:label \"Skills\";\n ui:property schema:skills;\n ui:ordered false; # Allow reader to order skills\n ui:part :SkillForm.\n\n :SkillForm a ui:Group; ui:weight 1; ui:parts ( :escoSkillField ).\n\n # :skillNameField a ui:SingleLineTextField; ui:property vcard:role; ui:size 30 .\n\n :escoSkillField a ui:AutocompleteField;\n ui:label \"skill\"; ui:size 30;\n ui:property solid:publicId;\n ui:dataSource :ESCO_Skill_DataSource;\n ui:targetClass schema:Skill .\n\n :ESCO_Skill_DataSource a ui:DataSource;\n schema:name \"ESCO Skill\";\n ui:targetClass esco:Skill ;\n schema:logo <https://ec.europa.eu/esco/portal/static_resource2/images/logo/logo_en.gif>;\n ui:searchByNameURI \"https://ec.europa.eu/esco/api/search?language=$(language)&limit=$(limit)&type=skill&text=$(name)\".\n\n# Language\n\n:LanguagesPrompt a ui:Comment; ui:contents \"Languages?\" .\n\n:LanguagesForm a ui:Multiple;\n ui:label \"Languages\";\n ui:property schema:knowsLanguage; # @@@\n ui:ordered true; # Allow user to order languages most important first.\n ui:part :LanguageForm.\n\n:LanguageForm a ui:Group; ui:weight 1; ui:parts ( :WikidataLanguageField ).\n\n :WikidataLanguageField a ui:AutocompleteField;\n ui:label \"Language\"; ui:size 30;\n ui:property solid:publicId; # @@\n ui:dataSource :WikidataLanguageDataSource;\n ui:targetClass schema:Language .\n\n :WikidataLanguageDataSource\n schema:name \"Wikidata languages\";\n ui:endpoint \"https://query.wikidata.org/sparql\" ;\n ui:objectURIBase <https://www.w3.org/ns/iana/language-code/>;\n # Add this to any literal string returned as ?subject\n\n ui:searchByNameQuery \"\"\"SELECT ?item ?subject ?name\nWHERE\n{ ?item wdt:P305 ?subject .\n OPTIONAL {?item rdfs:label ?name}\n OPTIONAL {?item wdt:P1705 ?name}\n FILTER regex(?name, \"$(name)\", \"i\")\n FILTER regex(?subject, \"^..$\", \"i\")\n}\"\"\" .\n # Note we restrict code to two-letter codes with the second regex, so as to limit the deluge of languages\n # Hope there are not any important ones which have three-letter codes.\n # Omitted: SERVICE wikibase:label { bd:serviceParam wikibase:language \"$(languages)\". }\n\n########### Social Media - other accounts\n#\n# Twitter, Linked In, Orkid, Mastodon, Matrix, Bluesky, Instagram, Facebook, Github,\n# Snapchat, TikTok, etc\n\n:SocialsPrompt a ui:Heading; ui:contents \"Social Media etc?\" .\n:SocialsPrompt a ui:Comment; ui:contents \"Link to accounts in social media sites, etc\" .\n\n:SocialsForm a ui:Multiple;\n ui:label \"online account\";\n ui:property foaf:account;\n ui:ordered true; # Allow user to order occounts most important first.\n ui:part :AccountsForm.\n\n:AccountsForm a ui:Group; ui:weight 1; ui:parts ( :AccountField :AccountIdField ).\n\n:AccountField a ui:Classifier; ui:label \"What sort of account?\"@en;\n ui:multiple false ; \n ui:category foaf:Account .\n\n:AccountIdField a ui:Options . \n\n :AccountIdField a ui:Options; ui:dependingOn rdf:type; ui:case\n [ ui:for soc:BlueSkyAccount; ui:use :BlueSkyIdField ],\n [ ui:for soc:FacebookAccount; ui:use :FacebookIdField ],\n [ ui:for soc:GithubAccount; ui:use :GithubIdField ],\n [ ui:for soc:InstagramAccount; ui:use :InstagramIdField ],\n [ ui:for soc:LinkedInAccount; ui:use :LinkedInIdField ],\n [ ui:for soc:MastodonAccount; ui:use :MastodonIdField ],\n [ ui:for soc:MatrixAccount; ui:use :MatrixIdField ],\n [ ui:for soc:MediumAccount; ui:use :MediumIdField ],\n [ ui:for soc:NostrAccount; ui:use :NostrIdField ],\n [ ui:for soc:OrcidAccount; ui:use :OrcidIdField ],\n [ ui:for soc:PinterestAccount; ui:use :PinterestIdField ],\n [ ui:for soc:RedditAccount; ui:use :RedditIdField ],\n [ ui:for soc:StravaAccount; ui:use :StravaIdField ],\n [ ui:for soc:SnapchatAccount; ui:use :SnapchatIdField ],\n [ ui:for soc:TiktokAccount; ui:use :TiktokIdField ],\n [ ui:for soc:TumblrAccount; ui:use :TumblrIdField ],\n [ ui:for soc:TwitterAccount; ui:use :TwitterIdField ],\n [ ui:for soc:OtherAccount; ui:use :OtherIdForm ] .\n\n :BlueSkyIdField\n a ui:SingleLineTextField ;\n ui:label \"Bluesky Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-](.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :FacebookIdField\n a ui:SingleLineTextField ;\n ui:label \"Facebook Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :GithubIdField\n a ui:SingleLineTextField ;\n ui:label \"Github Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :InstagramIdField\n a ui:SingleLineTextField ;\n ui:label \"Instagram Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :LinkedInIdField\n a ui:SingleLineTextField ;\n ui:label \"Linked In Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MastodonIdField\n a ui:SingleLineTextField ;\n ui:label \"Mastodon (Activity Pub) Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MatrixIdField\n a ui:SingleLineTextField ;\n ui:label \"Matrix Username\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :MediumIdField\n a ui:SingleLineTextField ;\n ui:label \"Medium Username\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 40 .\n\n :NostrIdField\n a ui:SingleLineTextField ;\n ui:label \"Nostr public key\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*(.[a-z0-9A-Z_-])*\"; # @@\n ui:size 70 .\n\n :OrcidIdField\n a ui:SingleLineTextField ;\n ui:label \"ORCiD id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :PinterestIdField\n a ui:SingleLineTextField ;\n ui:label \"Pinterest id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :RedditIdField\n a ui:SingleLineTextField ;\n ui:label \"Reddit Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :StravaIdField\n a ui:SingleLineTextField ;\n ui:label \"Strava Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :SnapchatIdField\n a ui:SingleLineTextField ;\n ui:label \"Snapchat Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :TiktokIdField\n a ui:SingleLineTextField ;\n ui:label \"Tiktok Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :TumblrIdField\n a ui:SingleLineTextField ;\n ui:label \"Tumblr user name\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n :TwitterIdField\n a ui:SingleLineTextField ;\n ui:label \"Twitter Id\";\n ui:maxLength \"200\" ;\n ui:property foaf:accountName ; \n ui:pattern \"@[a-z0-9A-Z_-]*\"; # @@\n ui:size 40 .\n\n# an unknown SN account needs more info\n\n :OtherIdForm a ui:Group; ui:weight 0; ui:parts ( :OtherIdField :OtherIconField :OtherLabelield ).\n\n :OtherIdField\n a ui:NamedNodeURIField ;\n ui:label \"URL of account to link to\";\n ui:maxLength \"200\" ;\n ui:property foaf:homepage ; \n ui:size 60 .\n\n :OtherLabelield\n a ui:SingleLineTextField ;\n ui:label \"Label\";\n ui:maxLength \"200\" ;\n ui:property rdfs:label ; \n ui:size 40 .\n\n :OtherIconField\n a ui:NamedNodeURIField ;\n ui:label \"URL of icon to display\";\n ui:maxLength \"200\" ;\n ui:property foaf:icon ;\n ui:size 60 .\n\n\n\n\n\n# ENDS\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix owl: <http://www.w3.org/2002/07/owl#>.\n@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix schema: <http://schema.org/>.\n@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.\n\n@prefix org: <http://www.w3.org/ns/org#>.\n\n@prefix : <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n@prefix soc: <https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl#>.\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl# <-- change old data\n\n\n\n# was: https://solidos.github.io/solid-panes/dashboard/profileStyle.ttl#this\n# moved to: https://solidos.github.io/profile-pane/src/ontology/profileForm.ttl#this\n# and https://solidos.github.io/profile-pane/src/ontology/socialMedia.ttl\n\n\n##### Ontology of Online Accounts\n\nfoaf:Account a rdfs:Class;\n rdfs:label \"Online Account Provider\";\n owl:disjointUnionOf ( :BlueSkyAccount :FacebookAccount :GithubAccount :InstagramAccount\n :LinkedInAccount :MastodonAccount :MatrixAccount :MediumAccount :NostrAccount :OrcidAccount :PinterestAccount\n :RedditAccount :SnapchatAccount :StravaAccount :TiktokAccount :TumblrAccount :TwitterAccount :OtherAccount) .\n\n:BlueSkyAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Bluesky\";\n foaf:userProfilePrefix \"https://bsky.app/profile/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/bluesky-1.svg>;\n foaf:homepage <https://bsky.app/> .\n\n:FacebookAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Facebook\";\n foaf:userProfilePrefix \"https://www.facebook.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/facebook-2020-2-1.svg>;\n foaf:homepage <https://www.facebook.com/> .\n\n:GithubAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Github\";\n foaf:userProfilePrefix \"https://www.github.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/github-icon.svg>;\n foaf:homepage <https://github.com/> .\n\n:InstagramAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Instagram\";\n foaf:userProfilePrefix \"https://www.instagram.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/instagram-2016-5.svg>;\n foaf:homepage <https://www.instagram.com/> .\n\n:LinkedInAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Linked In\";\n foaf:userProfilePrefix \"https://www.linkedin.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/linkedin-icon.svg>;\n foaf:homepage <https://linkedin.com/> .\n\n:MastodonAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Mastodon\" ;\n foaf:userProfilePrefix \"https://mastodon.social/\";\n\n # foaf:userNamePattern \"(@[a-ZA-Z0-9]*)@[a-ZA-Z0-9.]*)\";\n # foaf:userNameTransform \"https://$2/$1\";\n\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/mastodon-2.svg>;\n foaf:homepage <https://joinmastodon.org/> .\n\n:MatrixAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Matrix\" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/matrix-logo-black.svg> ;\n foaf:userProfilePrefix \"https://matrix.to/#/\" ;\n foaf:homepage <https://matrix.org/> .\n\n:MediumAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Medium\";\n foaf:userProfilePrefix \"https://medium.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/medium-logo-wordmark-black.svg>;\n foaf:homepage <https://medium.com/> .\n\n:NostrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Nostr\";\n foaf:userProfilePrefix \"https://primal.net/p/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/nostr-icon-purple-on-white.svg>;\n foaf:homepage <https://nostr.net/> .\n\n:OrcidAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"ORCiD\";\n foaf:userProfilePrefix \"https://orcid.org/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/ORCID-1.svg>;\n foaf:homepage <https://orcid.org/> .\n\n:PinterestAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Pinterest\";\n foaf:userProfilePrefix \"https://pin.it/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/pinterest-2-1.svg>;\n foaf:homepage <https://pinterest.com/> .\n\n:RedditAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Reddit\";\n foaf:userProfilePrefix \"https://www.reddit.com/user/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/reddit-4.svg>;\n foaf:homepage <https://reddit.com/> .\n\n:SnapchatAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Snapchat\";\n foaf:userProfilePrefix \"https://www.snapchat.com/add/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/snapchat-1.svg>;\n foaf:homepage <https://www.snapchat.com/> .\n\n:StravaAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Strava\";\n foaf:userProfilePrefix \"https://www.strava.com/athletes/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/strava-2.svg>;\n foaf:homepage <https://strava.com/> .\n\n:TiktokAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"TikTok\";\n foaf:userProfilePrefix \"https://www.tiktok.com/@\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tiktok-icon-2.svg>;\n foaf:homepage <https://www.tiktok.com/> .\n\n:TumblrAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Tumblr\";\n foaf:userProfilePrefix \"https://www.tumblr.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/tumblr-icon.svg>;\n foaf:homepage <https://www.tumblr.com/> .\n\n\n:TwitterAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"X (formerly Twitter)\";\n foaf:userProfilePrefix \"https://x.com/\";\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/social/x-2.svg>;\n foaf:homepage <https://x.com/> .\n\n\n:OtherAccount rdfs:subClassOf foaf:Account ;\n rdfs:label \"Other\" ;\n foaf:icon <https://solidos.github.io/solid-ui/src/icons/noun_1689339.svg> .\n\n# ends\n\n";
|
|
5
5
|
//# sourceMappingURL=wrapped-profileFormText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapped-profileFormText.js","sourceRoot":"","sources":["../../src/editProfilePane/wrapped-profileFormText.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAE
|
|
1
|
+
{"version":3,"file":"wrapped-profileFormText.js","sourceRoot":"","sources":["../../src/editProfilePane/wrapped-profileFormText.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAE,249BA8uBzB,CAAE"}
|
package/lib/index.js
CHANGED
|
@@ -73,24 +73,10 @@ var Pane = {
|
|
|
73
73
|
},
|
|
74
74
|
editor: editProfile_view_1.default,
|
|
75
75
|
render: function (subject, context) {
|
|
76
|
-
function switchToEditor() {
|
|
77
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
78
|
-
var newPane, parent;
|
|
79
|
-
return __generator(this, function (_a) {
|
|
80
|
-
alert('switching to editor');
|
|
81
|
-
target.innerHTML = ''; // Clear
|
|
82
|
-
newPane = editProfile_view_1.default.render(subject, context);
|
|
83
|
-
parent = target.parentNode;
|
|
84
|
-
parent.removeChild(target);
|
|
85
|
-
parent.appendChild(newPane);
|
|
86
|
-
return [2 /*return*/];
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
76
|
var target = context.dom.createElement("div");
|
|
91
77
|
var store = context.session.store;
|
|
92
78
|
loadExtendedProfile(store, subject).then(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
93
|
-
var _a,
|
|
79
|
+
var _a, QRCodeEles, _loop_1, _i, _b, QRCodeElement, state_1;
|
|
94
80
|
return __generator(this, function (_c) {
|
|
95
81
|
switch (_c.label) {
|
|
96
82
|
case 0:
|
|
@@ -98,14 +84,6 @@ var Pane = {
|
|
|
98
84
|
return [4 /*yield*/, (0, ProfileView_1.ProfileView)(subject, context)];
|
|
99
85
|
case 1:
|
|
100
86
|
_a.apply(void 0, [_c.sent(), target]);
|
|
101
|
-
editButtons = Array.from(target.getElementsByClassName('ProfilePaneCVEditButton'));
|
|
102
|
-
if (editButtons.length) {
|
|
103
|
-
editButton = editButtons[0];
|
|
104
|
-
editButton.addEventListener('click', switchToEditor);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
alert('No edit button');
|
|
108
|
-
}
|
|
109
87
|
QRCodeEles = Array.from(target.getElementsByClassName('QRCode')) // was context.dom
|
|
110
88
|
;
|
|
111
89
|
if (!QRCodeEles.length)
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,qCAAkC;AAClC,6CAA4C;AAC5C,uEAAgE;AAChE,qCAAqC;AACrC,+BAAgC;AAEhC,SAAe,mBAAmB,CAAC,KAAgB,EAAE,OAAkB;;;;;;oBAC/D,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,OAAO,EACP,aAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAClB,IAAI,EACJ,OAAO,CAAC,GAAG,EAAE,CACM,CAAC;yBAClB,CAAA,aAAa,CAAC,MAAM,GAAG,CAAC,CAAA,EAAxB,wBAAwB;oBAC1B,qBAAM,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAA;;oBAAvC,SAAuC,CAAC;;;;;;CAE3C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","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K,CAAC,KAAK,GAAG,KAAK,CAAA;oCACjC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAA;oCAClC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAA;gCACpC,CAAC;4BACH,CAAC,CAAC,CAAC;;wBAzBL,WAAuD,EAA3B,KAAA,UAA2B,EAA3B,cAA2B,EAA3B,IAA2B;4BAA5C,aAAa;8CAAb,aAAa;;;yBA2BvB;;;;aACF,CAAC,CAAA;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.context = exports.doc = exports.subject = void 0;
|
|
4
4
|
exports.fakeLogInAs = fakeLogInAs;
|
|
5
|
+
exports.delay = delay;
|
|
5
6
|
var rdflib_1 = require("rdflib");
|
|
6
7
|
var solid_logic_1 = require("solid-logic");
|
|
7
8
|
exports.subject = (0, rdflib_1.sym)("https://janedoe.example/profile/card#me");
|
|
@@ -17,6 +18,9 @@ function fakeLogInAs(subject) {
|
|
|
17
18
|
username: subject ? subject.value : null // assume logged in if not null
|
|
18
19
|
};
|
|
19
20
|
}
|
|
21
|
+
function delay(ms) {
|
|
22
|
+
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
|
|
23
|
+
}
|
|
20
24
|
exports.context = {
|
|
21
25
|
dom: document,
|
|
22
26
|
getOutliner: function () { return null; },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/integration-tests/setup.ts"],"names":[],"mappings":";;;AAYA,kCAKE;
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/integration-tests/setup.ts"],"names":[],"mappings":";;;AAYA,kCAKE;AAEF,sBAEC;AApBD,iCAA6B;AAC7B,2CAAgD;AAEnC,QAAA,OAAO,GAAG,IAAA,YAAG,EAAC,yCAAyC,CAAC,CAAC;AACzD,QAAA,GAAG,GAAG,eAAO,CAAC,GAAG,EAAE,CAAC;AACjC;;;;EAIE;AAEF,SAAgB,WAAW,CAAE,OAAO;IAChC,+DAA+D;IAC9D,MAAc,CAAC,qBAAqB,GAAG;QACpC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,+BAA+B;KAC9E,CAAA;AACD,CAAC;AAEF,SAAgB,KAAK,CAAC,EAAE;IACpB,OAAO,IAAI,OAAO,CAAC,UAAA,OAAO,IAAI,OAAA,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,EAAvB,CAAuB,CAAC,CAAC;AAC3D,CAAC;AACY,QAAA,OAAO,GAAG;IACnB,GAAG,EAAE,QAAQ;IACb,WAAW,EAAE,cAAM,OAAA,IAAI,EAAJ,CAAI;IACvB,OAAO,EAAE;QACL,IAAI,EAAE;YACF,UAAU,EAAE,IAAI,EAAG,6BAA6B;YAChD,KAAK,EAAE,eAAO,CAAC,KAAK;SACvB;QACD,YAAY,EAAE;YACV,MAAM,EAAE,UAAC,IAAY;gBACjB,OAAO;oBACH,MAAM,EAAE;wBACJ,OAAO,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;6BAC/B,WAAW,CACR,QAAQ,CAAC,cAAc,CAAC,eAAQ,IAAI,UAAO,CAAC,CAC/C,CAAC;oBACV,CAAC;iBACJ,CAAA;YACL,CAAC;SACY;QACjB,KAAK,qBAAA;QACL,KAAK,EAAE,EAAgB;KAC1B;CAC6B,CAAC"}
|
package/lib/presenter.js
CHANGED
|
File without changes
|
package/lib/presenter.js.map
CHANGED
|
File without changes
|
package/lib/texts.js
CHANGED
|
File without changes
|
package/lib/texts.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "profile-pane",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "A SolidOS compatible pane to display a personal profile page",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/solidos/profile-pane.git"
|
|
7
|
+
"url": "git+https://github.com/solidos/profile-pane.git"
|
|
8
8
|
},
|
|
9
9
|
"main": "lib/index.js",
|
|
10
10
|
"scripts": {
|
|
@@ -33,34 +33,34 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"contacts-pane": "^2.6.
|
|
37
|
-
"lit-html": "^3.1
|
|
38
|
-
"qrcode": "^1.5.
|
|
36
|
+
"contacts-pane": "^2.6.13",
|
|
37
|
+
"lit-html": "^3.2.1",
|
|
38
|
+
"qrcode": "^1.5.4",
|
|
39
39
|
"solid-ui": "2.5",
|
|
40
40
|
"validate-color": "^2.2.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babel/core": "^7.
|
|
44
|
-
"@babel/preset-env": "^7.
|
|
45
|
-
"@babel/preset-typescript": "^7.
|
|
46
|
-
"@nestjs/cli": "^10.
|
|
43
|
+
"@babel/core": "^7.26.7",
|
|
44
|
+
"@babel/preset-env": "^7.26.7",
|
|
45
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
46
|
+
"@nestjs/cli": "^10.4.9",
|
|
47
47
|
"@testing-library/dom": "^9.3.4",
|
|
48
|
-
"@testing-library/jest-dom": "^6.
|
|
49
|
-
"@types/jest": "^29.5.
|
|
48
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
49
|
+
"@types/jest": "^29.5.14",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
51
51
|
"@typescript-eslint/parser": "^6.21.0",
|
|
52
52
|
"babel-jest": "^29.7.0",
|
|
53
|
-
"babel-loader": "^9.1
|
|
54
|
-
"chat-pane": "^2.4.
|
|
53
|
+
"babel-loader": "^9.2.1",
|
|
54
|
+
"chat-pane": "^2.4.27",
|
|
55
55
|
"eslint": "^8.57.1",
|
|
56
|
-
"html-webpack-plugin": "^5.6.
|
|
56
|
+
"html-webpack-plugin": "^5.6.3",
|
|
57
57
|
"jest": "^29.7.0",
|
|
58
58
|
"jest-environment-jsdom": "^29.7.0",
|
|
59
59
|
"jest-fetch-mock": "^3.0.3",
|
|
60
|
-
"jsdom": "^25.0.
|
|
60
|
+
"jsdom": "^25.0.1",
|
|
61
61
|
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
62
|
-
"typescript": "^5.
|
|
63
|
-
"webpack": "^5.
|
|
62
|
+
"typescript": "^5.7.3",
|
|
63
|
+
"webpack": "^5.97.1",
|
|
64
64
|
"webpack-cli": "^5.1.4",
|
|
65
65
|
"webpack-dev-server": "^4.15.2"
|
|
66
66
|
}
|