profile-pane 3.1.5 → 3.2.1
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 +16 -0
- package/icons-png/discord.png +0 -0
- package/icons-png/dribbble.png +0 -0
- package/icons-png/facebook.png +0 -0
- package/icons-png/instagram.png +0 -0
- package/icons-png/linkedin.png +0 -0
- package/icons-png/pinterest.png +0 -0
- package/icons-png/sharechat.png +0 -0
- package/icons-png/signup.png +0 -0
- package/icons-png/snapchat.png +0 -0
- package/icons-png/spotify.png +0 -0
- package/icons-png/telegram.png +0 -0
- package/icons-png/tiktok.png +0 -0
- package/icons-png/whatsapp.png +0 -0
- package/icons-png/x.png +0 -0
- package/icons-png/youtube.png +0 -0
- package/lib/04567ff683933c35c465.png +0 -0
- package/lib/10163fd9b5a0e00d63a0.png +0 -0
- package/lib/1234dcb2eec2e45f252b.png +0 -0
- package/lib/20899934157df4db56cb.png +0 -0
- package/lib/33760bf79f097f449da5.png +0 -0
- package/lib/578d2b6ed32e7624164e.png +0 -0
- package/lib/5f62a5b2b7e99b9640c7.png +0 -0
- package/lib/6525766ecd288ec60129.png +0 -0
- package/lib/7800be6f6c4b5b0f4f20.png +0 -0
- package/lib/976473cf5fe24d657d4b.png +0 -0
- package/lib/ChatWithMe.d.ts +2 -1
- package/lib/ChatWithMe.d.ts.map +1 -1
- package/lib/ChatWithMe.js +3 -3
- package/lib/ProfileView.d.ts +1 -1
- package/lib/ProfileView.d.ts.map +1 -1
- package/lib/ProfileView.js +71 -131
- package/lib/ProfileViewModelPresenter.d.ts +23 -0
- package/lib/ProfileViewModelPresenter.d.ts.map +1 -0
- package/lib/ProfileViewModelPresenter.js +37 -0
- package/lib/QRCodeCard.d.ts +3 -1
- package/lib/QRCodeCard.d.ts.map +1 -1
- package/lib/QRCodeCard.js +86 -66
- package/lib/addMeToYourFriends.d.ts +3 -3
- package/lib/addMeToYourFriends.d.ts.map +1 -1
- package/lib/addMeToYourFriends.js +14 -30
- package/lib/bda84f59e7216675a208.png +0 -0
- package/lib/buttonsHelper.js +1 -1
- package/lib/cd68e8f3990ba8b2139e.png +0 -0
- package/lib/e7074a7e2cb69e51cfd3.png +0 -0
- package/lib/editProfilePane/EditCVCard.d.ts +1 -0
- package/lib/editProfilePane/EditCVCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCVCard.js +2 -1
- package/lib/editProfilePane/EditCommunitiesCard.d.ts +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.js +2 -1
- package/lib/editProfilePane/EditContactsCard.d.ts +1 -0
- package/lib/editProfilePane/EditContactsCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditContactsCard.js +2 -0
- package/lib/editProfilePane/EditFriendsCard.d.ts +1 -1
- package/lib/editProfilePane/EditFriendsCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditFriendsCard.js +2 -1
- package/lib/editProfilePane/EditOtherPreferences.d.ts +1 -0
- package/lib/editProfilePane/EditOtherPreferences.d.ts.map +1 -1
- package/lib/editProfilePane/EditOtherPreferences.js +1 -0
- package/lib/editProfilePane/EditProfileView.d.ts +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts.map +1 -1
- package/lib/editProfilePane/EditProfileView.js +1 -1
- package/lib/editProfilePane/EditSocialCard.d.ts +1 -0
- package/lib/editProfilePane/EditSocialCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditSocialCard.js +2 -1
- package/lib/editProfilePane/editProfilePresenter.d.ts +1 -0
- package/lib/editProfilePane/editProfilePresenter.d.ts.map +1 -1
- package/lib/editProfilePane/editProfilePresenter.js +2 -0
- package/lib/f3772696fb7ee53c23d8.png +0 -0
- package/lib/icons-svg/contactIcons.d.ts +3 -0
- package/lib/icons-svg/contactIcons.d.ts.map +1 -0
- package/lib/icons-svg/contactIcons.js +32 -0
- package/lib/icons-svg/profileIcons.d.ts +22 -0
- package/lib/icons-svg/profileIcons.d.ts.map +1 -0
- package/lib/icons-svg/profileIcons.js +309 -0
- package/lib/index.d.ts +1 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +42 -19
- package/lib/profile-pane.js +15629 -5670
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +2171 -230
- package/lib/profile-pane.min.js.map +1 -1
- package/lib/rdfFormsHelper.d.ts +1 -0
- package/lib/rdfFormsHelper.d.ts.map +1 -1
- package/lib/rdfFormsHelper.js +2 -0
- package/lib/sections/bio/BioEditDialog.d.ts +6 -0
- package/lib/sections/bio/BioEditDialog.d.ts.map +1 -0
- package/lib/sections/bio/BioEditDialog.js +119 -0
- package/lib/sections/bio/BioSection.d.ts +7 -0
- package/lib/sections/bio/BioSection.d.ts.map +1 -0
- package/lib/sections/bio/BioSection.js +131 -0
- package/lib/sections/bio/mutations.d.ts +4 -0
- package/lib/sections/bio/mutations.d.ts.map +1 -0
- package/lib/sections/bio/mutations.js +43 -0
- package/lib/sections/bio/selectors.d.ts +4 -0
- package/lib/sections/bio/selectors.d.ts.map +1 -0
- package/lib/sections/bio/selectors.js +15 -0
- package/lib/sections/bio/types.d.ts +15 -0
- package/lib/sections/bio/types.d.ts.map +1 -0
- package/lib/sections/bio/types.js +5 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts +7 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.d.ts.map +1 -0
- package/lib/sections/contactInfo/ContactInfoEditDialog.js +658 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts +5 -0
- package/lib/sections/contactInfo/ContactInfoSection.d.ts.map +1 -0
- package/lib/sections/contactInfo/ContactInfoSection.js +229 -0
- package/lib/sections/contactInfo/mutations.d.ts +4 -0
- package/lib/sections/contactInfo/mutations.d.ts.map +1 -0
- package/lib/sections/contactInfo/mutations.js +150 -0
- package/lib/sections/contactInfo/selectors.d.ts +4 -0
- package/lib/sections/contactInfo/selectors.d.ts.map +1 -0
- package/lib/sections/contactInfo/selectors.js +104 -0
- package/lib/sections/contactInfo/types.d.ts +44 -0
- package/lib/sections/contactInfo/types.d.ts.map +1 -0
- package/lib/sections/contactInfo/types.js +5 -0
- package/lib/sections/education/EducationEditDialog.d.ts +7 -0
- package/lib/sections/education/EducationEditDialog.d.ts.map +1 -0
- package/lib/sections/education/EducationEditDialog.js +459 -0
- package/lib/sections/education/EducationSection.d.ts +7 -0
- package/lib/sections/education/EducationSection.d.ts.map +1 -0
- package/lib/sections/education/EducationSection.js +126 -0
- package/lib/sections/education/mutations.d.ts +4 -0
- package/lib/sections/education/mutations.d.ts.map +1 -0
- package/lib/sections/education/mutations.js +60 -0
- package/lib/sections/education/selectors.d.ts +4 -0
- package/lib/sections/education/selectors.d.ts.map +1 -0
- package/lib/sections/education/selectors.js +64 -0
- package/lib/sections/education/types.d.ts +20 -0
- package/lib/sections/education/types.d.ts.map +1 -0
- package/lib/sections/education/types.js +5 -0
- package/lib/sections/heading/HeadingEditDialog.d.ts +6 -0
- package/lib/sections/heading/HeadingEditDialog.d.ts.map +1 -0
- package/lib/sections/heading/HeadingEditDialog.js +742 -0
- package/lib/sections/heading/HeadingSection.d.ts +9 -0
- package/lib/sections/heading/HeadingSection.d.ts.map +1 -0
- package/lib/sections/heading/HeadingSection.js +97 -0
- package/lib/sections/heading/camera.d.ts +19 -0
- package/lib/sections/heading/camera.d.ts.map +1 -0
- package/lib/sections/heading/camera.js +199 -0
- package/lib/sections/heading/dateHelpers.d.ts +4 -0
- package/lib/sections/heading/dateHelpers.d.ts.map +1 -0
- package/lib/sections/heading/dateHelpers.js +48 -0
- package/lib/sections/heading/imageHelpers.d.ts +4 -0
- package/lib/sections/heading/imageHelpers.d.ts.map +1 -0
- package/lib/sections/heading/imageHelpers.js +81 -0
- package/lib/sections/heading/mutations.d.ts +4 -0
- package/lib/sections/heading/mutations.d.ts.map +1 -0
- package/lib/sections/heading/mutations.js +190 -0
- package/lib/sections/heading/selectors.d.ts +5 -0
- package/lib/sections/heading/selectors.d.ts.map +1 -0
- package/lib/sections/heading/selectors.js +157 -0
- package/lib/sections/heading/types.d.ts +36 -0
- package/lib/sections/heading/types.d.ts.map +1 -0
- package/lib/sections/heading/types.js +5 -0
- package/lib/sections/languages/LanguageEditDialog.d.ts +7 -0
- package/lib/sections/languages/LanguageEditDialog.d.ts.map +1 -0
- package/lib/sections/languages/LanguageEditDialog.js +457 -0
- package/lib/sections/languages/LanguageSection.d.ts +5 -0
- package/lib/sections/languages/LanguageSection.d.ts.map +1 -0
- package/lib/sections/languages/LanguageSection.js +137 -0
- package/lib/sections/languages/mutations.d.ts +6 -0
- package/lib/sections/languages/mutations.d.ts.map +1 -0
- package/lib/sections/languages/mutations.js +296 -0
- package/lib/sections/languages/selectors.d.ts +5 -0
- package/lib/sections/languages/selectors.d.ts.map +1 -0
- package/lib/sections/languages/selectors.js +146 -0
- package/lib/sections/languages/types.d.ts +15 -0
- package/lib/sections/languages/types.d.ts.map +1 -0
- package/lib/sections/languages/types.js +5 -0
- package/lib/sections/projects/ProjectEditDialog.d.ts +7 -0
- package/lib/sections/projects/ProjectEditDialog.d.ts.map +1 -0
- package/lib/sections/projects/ProjectEditDialog.js +182 -0
- package/lib/sections/projects/ProjectSection.d.ts +6 -0
- package/lib/sections/projects/ProjectSection.d.ts.map +1 -0
- package/lib/sections/projects/ProjectSection.js +220 -0
- package/lib/sections/projects/mutations.d.ts +4 -0
- package/lib/sections/projects/mutations.d.ts.map +1 -0
- package/lib/sections/projects/mutations.js +188 -0
- package/lib/sections/projects/selectors.d.ts +5 -0
- package/lib/sections/projects/selectors.d.ts.map +1 -0
- package/lib/sections/projects/selectors.js +163 -0
- package/lib/sections/projects/types.d.ts +28 -0
- package/lib/sections/projects/types.d.ts.map +1 -0
- package/lib/sections/projects/types.js +8 -0
- package/lib/sections/resume/ResumeEditDialog.d.ts +7 -0
- package/lib/sections/resume/ResumeEditDialog.d.ts.map +1 -0
- package/lib/sections/resume/ResumeEditDialog.js +629 -0
- package/lib/sections/resume/ResumeSection.d.ts +7 -0
- package/lib/sections/resume/ResumeSection.d.ts.map +1 -0
- package/lib/sections/resume/ResumeSection.js +160 -0
- package/lib/sections/resume/mutations.d.ts +6 -0
- package/lib/sections/resume/mutations.d.ts.map +1 -0
- package/lib/sections/resume/mutations.js +172 -0
- package/lib/sections/resume/selectors.d.ts +4 -0
- package/lib/sections/resume/selectors.d.ts.map +1 -0
- package/lib/sections/resume/selectors.js +142 -0
- package/lib/sections/resume/types.d.ts +33 -0
- package/lib/sections/resume/types.d.ts.map +1 -0
- package/lib/sections/resume/types.js +8 -0
- package/lib/sections/shared/collapsibleSection.d.ts +2 -0
- package/lib/sections/shared/collapsibleSection.d.ts.map +1 -0
- package/lib/sections/shared/collapsibleSection.js +24 -0
- package/lib/sections/shared/contactTypeUtils.d.ts +7 -0
- package/lib/sections/shared/contactTypeUtils.d.ts.map +1 -0
- package/lib/sections/shared/contactTypeUtils.js +48 -0
- package/lib/sections/shared/idNodeFactory.d.ts +3 -0
- package/lib/sections/shared/idNodeFactory.d.ts.map +1 -0
- package/lib/sections/shared/idNodeFactory.js +14 -0
- package/lib/sections/shared/phoneCountries.d.ts +20 -0
- package/lib/sections/shared/phoneCountries.d.ts.map +1 -0
- package/lib/sections/shared/phoneCountries.js +1080 -0
- package/lib/sections/shared/rdfList.d.ts +3 -0
- package/lib/sections/shared/rdfList.d.ts.map +1 -0
- package/lib/sections/shared/rdfList.js +34 -0
- package/lib/sections/shared/rdfMutationHelpers.d.ts +12 -0
- package/lib/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
- package/lib/sections/shared/rdfMutationHelpers.js +82 -0
- package/lib/sections/shared/rowState.d.ts +21 -0
- package/lib/sections/shared/rowState.d.ts.map +1 -0
- package/lib/sections/shared/rowState.js +52 -0
- package/lib/sections/shared/sanitizeUtils.d.ts +5 -0
- package/lib/sections/shared/sanitizeUtils.d.ts.map +1 -0
- package/lib/sections/shared/sanitizeUtils.js +22 -0
- package/lib/sections/shared/sectionCardHelpers.d.ts +11 -0
- package/lib/sections/shared/sectionCardHelpers.d.ts.map +1 -0
- package/lib/sections/shared/sectionCardHelpers.js +105 -0
- package/lib/sections/shared/types.d.ts +7 -0
- package/lib/sections/shared/types.d.ts.map +1 -0
- package/lib/sections/shared/types.js +5 -0
- package/lib/sections/skills/SkillsEditDialog.d.ts +7 -0
- package/lib/sections/skills/SkillsEditDialog.d.ts.map +1 -0
- package/lib/sections/skills/SkillsEditDialog.js +340 -0
- package/lib/sections/skills/SkillsSection.d.ts +5 -0
- package/lib/sections/skills/SkillsSection.d.ts.map +1 -0
- package/lib/sections/skills/SkillsSection.js +169 -0
- package/lib/sections/skills/mutations.d.ts +6 -0
- package/lib/sections/skills/mutations.d.ts.map +1 -0
- package/lib/sections/skills/mutations.js +110 -0
- package/lib/sections/skills/selectors.d.ts +6 -0
- package/lib/sections/skills/selectors.d.ts.map +1 -0
- package/lib/sections/skills/selectors.js +37 -0
- package/lib/sections/skills/types.d.ts +14 -0
- package/lib/sections/skills/types.d.ts.map +1 -0
- package/lib/sections/skills/types.js +5 -0
- package/lib/sections/social/SocialEditDialog.d.ts +7 -0
- package/lib/sections/social/SocialEditDialog.d.ts.map +1 -0
- package/lib/sections/social/SocialEditDialog.js +362 -0
- package/lib/sections/social/SocialSection.d.ts +8 -0
- package/lib/sections/social/SocialSection.d.ts.map +1 -0
- package/lib/sections/social/SocialSection.js +201 -0
- package/lib/sections/social/constants.d.ts +3 -0
- package/lib/sections/social/constants.d.ts.map +1 -0
- package/lib/sections/social/constants.js +16 -0
- package/lib/sections/social/helpers.d.ts +15 -0
- package/lib/sections/social/helpers.d.ts.map +1 -0
- package/lib/sections/social/helpers.js +316 -0
- package/lib/sections/social/mutations.d.ts +4 -0
- package/lib/sections/social/mutations.d.ts.map +1 -0
- package/lib/sections/social/mutations.js +298 -0
- package/lib/sections/social/selectors.d.ts +4 -0
- package/lib/sections/social/selectors.d.ts.map +1 -0
- package/lib/sections/social/selectors.js +43 -0
- package/lib/sections/social/types.d.ts +19 -0
- package/lib/sections/social/types.d.ts.map +1 -0
- package/lib/sections/social/types.js +5 -0
- package/lib/styles/BioSection.css +77 -0
- package/lib/styles/CVCard.css +107 -2
- package/lib/styles/ContactInfoEditDialog.css +153 -0
- package/lib/styles/EditDialogs.css +1028 -0
- package/lib/styles/EducationCard.css +103 -0
- package/lib/styles/HeadingSection.css +309 -0
- package/lib/styles/ProfileCard.css +10 -42
- package/lib/styles/ProfileView.css +53 -8
- package/lib/styles/ProjectsCard.css +206 -0
- package/lib/styles/QRCodeCard.css +29 -10
- package/lib/styles/SocialCard.css +41 -13
- package/lib/styles/dialog.css +209 -0
- package/lib/styles/utilities.css +638 -256
- package/lib/textUtils.d.ts +6 -0
- package/lib/textUtils.d.ts.map +1 -0
- package/lib/textUtils.js +44 -0
- package/lib/texts.d.ts +45 -4
- package/lib/texts.d.ts.map +1 -1
- package/lib/texts.js +46 -5
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +5 -0
- package/lib/ui/dialog.d.ts +29 -0
- package/lib/ui/dialog.d.ts.map +1 -0
- package/lib/ui/dialog.js +269 -0
- package/lib/ui/errors.d.ts +2 -0
- package/lib/ui/errors.d.ts.map +1 -0
- package/lib/ui/errors.js +10 -0
- package/package.json +8 -5
- package/lib/CVCard.d.ts +0 -4
- package/lib/CVCard.d.ts.map +0 -1
- package/lib/CVCard.js +0 -114
- package/lib/CVPresenter.d.ts +0 -25
- package/lib/CVPresenter.d.ts.map +0 -1
- package/lib/CVPresenter.js +0 -119
- package/lib/FriendList.d.ts +0 -6
- package/lib/FriendList.d.ts.map +0 -1
- package/lib/FriendList.js +0 -27
- package/lib/ProfileCard.d.ts +0 -6
- package/lib/ProfileCard.d.ts.map +0 -1
- package/lib/ProfileCard.js +0 -62
- package/lib/SocialCard.d.ts +0 -5
- package/lib/SocialCard.d.ts.map +0 -1
- package/lib/SocialCard.js +0 -51
- package/lib/SocialPresenter.d.ts +0 -11
- package/lib/SocialPresenter.d.ts.map +0 -1
- package/lib/SocialPresenter.js +0 -117
- package/lib/StuffCard.d.ts +0 -10
- package/lib/StuffCard.d.ts.map +0 -1
- package/lib/StuffCard.js +0 -52
- package/lib/StuffPresenter.d.ts +0 -14
- package/lib/StuffPresenter.d.ts.map +0 -1
- package/lib/StuffPresenter.js +0 -53
- package/lib/presenter.d.ts +0 -14
- package/lib/presenter.d.ts.map +0 -1
- package/lib/presenter.js +0 -68
- package/lib/styles/FriendList.css +0 -12
- package/lib/styles/StuffCard.css +0 -23
- package/lib/styles/editProfile.css +0 -62
- package/lib/styles/profileRDFFormsEnforced.css +0 -431
package/lib/rdfFormsHelper.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** Project-local: currently unused component. Keep temporarily; do not add new usage. */
|
|
1
2
|
import { NamedNode, Store } from 'rdflib';
|
|
2
3
|
export default function renderForm(div: HTMLElement, subject: NamedNode, // Represents the RDF that fills the form
|
|
3
4
|
formSource: string, // The imported form Turtle source
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rdfFormsHelper.d.ts","sourceRoot":"","sources":["../src/rdfFormsHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAyB,MAAM,QAAQ,CAAA;AAKhE,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,GAAG,EAAE,WAAW,EAChB,OAAO,EAAE,SAAS,EAAE,yCAAyC;AAC7D,UAAU,EAAE,MAAM,EAAE,kCAAkC;AACtD,QAAQ,EAAE,MAAM,EAAI,sDAAsD;AAC1E,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,QAAQ,EACb,eAAe,EAAE,SAAS,GAAG,IAAI,EACjC,SAAS,CAAC,EAAE,MAAM,QAqFjB;AA0DH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,MAAM,QAUrB;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CA2B7D"}
|
|
1
|
+
{"version":3,"file":"rdfFormsHelper.d.ts","sourceRoot":"","sources":["../src/rdfFormsHelper.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,OAAO,EAAE,SAAS,EAAE,KAAK,EAAyB,MAAM,QAAQ,CAAA;AAKhE,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,GAAG,EAAE,WAAW,EAChB,OAAO,EAAE,SAAS,EAAE,yCAAyC;AAC7D,UAAU,EAAE,MAAM,EAAE,kCAAkC;AACtD,QAAQ,EAAE,MAAM,EAAI,sDAAsD;AAC1E,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,QAAQ,EACb,eAAe,EAAE,SAAS,GAAG,IAAI,EACjC,SAAS,CAAC,EAAE,MAAM,QAqFjB;AA0DH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,MAAM,QAUrB;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CA2B7D"}
|
package/lib/rdfFormsHelper.js
CHANGED
|
@@ -8,6 +8,8 @@ exports.loadDocument = loadDocument;
|
|
|
8
8
|
exports.skipLabelsFromTabbing = skipLabelsFromTabbing;
|
|
9
9
|
var _rdflib = require("rdflib");
|
|
10
10
|
var _solidUi = require("solid-ui");
|
|
11
|
+
/** Project-local: currently unused component. Keep temporarily; do not add new usage. */
|
|
12
|
+
|
|
11
13
|
const baseUri = 'https://solidos.github.io/profile-pane/src/ontology/';
|
|
12
14
|
function renderForm(div, subject,
|
|
13
15
|
// Represents the RDF that fills the form
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BioDetails } from './types';
|
|
2
|
+
import '../../styles/EditDialogs.css';
|
|
3
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
4
|
+
import { ViewerMode } from '../../types';
|
|
5
|
+
export declare function createBioEditDialog(event: Event, store: LiveStore, subject: NamedNode, bioData: BioDetails, viewerMode: ViewerMode, onSaved?: () => Promise<void> | void): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=BioEditDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BioEditDialog.d.ts","sourceRoot":"","sources":["../../../src/sections/bio/BioEditDialog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAU,MAAM,SAAS,CAAA;AACjD,OAAO,8BAA8B,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AA2FxC,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,UAAU,EACnB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,iBAqCrC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.createBioEditDialog = createBioEditDialog;
|
|
7
|
+
var _dialog = require("../../ui/dialog");
|
|
8
|
+
var _litHtml = require("lit-html");
|
|
9
|
+
require("../../styles/EditDialogs.css");
|
|
10
|
+
var _mutations = require("./mutations");
|
|
11
|
+
var _rowState = require("../shared/rowState");
|
|
12
|
+
var _textUtils = require("../../textUtils");
|
|
13
|
+
var _texts = require("../../texts");
|
|
14
|
+
function rowHasContent(row) {
|
|
15
|
+
return (0, _textUtils.hasNonEmptyText)(row.description);
|
|
16
|
+
}
|
|
17
|
+
function toFormState(bioData) {
|
|
18
|
+
const row = {
|
|
19
|
+
description: (0, _textUtils.sanitizeTextValue)((0, _textUtils.toText)(bioData?.description || '')),
|
|
20
|
+
entryNode: (0, _textUtils.toText)(bioData?.entryNode || ''),
|
|
21
|
+
status: (0, _textUtils.toText)(bioData?.entryNode || '') ? 'existing' : 'new'
|
|
22
|
+
};
|
|
23
|
+
return {
|
|
24
|
+
bio: row
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function renderBioSection(bioRow, onChange) {
|
|
28
|
+
const descriptionName = 'bio-description';
|
|
29
|
+
const descriptionCounterId = 'bio-description-counter';
|
|
30
|
+
const descriptionMaxLength = 2600;
|
|
31
|
+
const descriptionCount = (bioRow?.description || '').length;
|
|
32
|
+
const handleDescriptionInput = event => {
|
|
33
|
+
const target = event.target;
|
|
34
|
+
const nextValue = (0, _textUtils.sanitizeTextValue)(target.value.slice(0, descriptionMaxLength));
|
|
35
|
+
(0, _rowState.applyRowFieldChange)(bioRow, 'description', nextValue, rowHasContent);
|
|
36
|
+
onChange();
|
|
37
|
+
};
|
|
38
|
+
return (0, _litHtml.html)`
|
|
39
|
+
<section class="profile-edit-dialog__section" aria-label="Bio editor">
|
|
40
|
+
|
|
41
|
+
<label aria-label="Bio description" class="label profile-edit-dialog__bio-field-container">
|
|
42
|
+
<span class="profile-edit-dialog__field-description">
|
|
43
|
+
You can write about your years of experience, industry, or skills.
|
|
44
|
+
People also talk about their achievements or previous job experiences.
|
|
45
|
+
</span>
|
|
46
|
+
<textarea
|
|
47
|
+
class="profile-edit-dialog__textarea"
|
|
48
|
+
name=${descriptionName}
|
|
49
|
+
rows="5"
|
|
50
|
+
.value=${bioRow?.description || ''}
|
|
51
|
+
maxlength=${descriptionMaxLength}
|
|
52
|
+
aria-describedby=${descriptionCounterId}
|
|
53
|
+
data-contact-field="description"
|
|
54
|
+
data-entry-node=${bioRow?.entryNode || ''}
|
|
55
|
+
data-row-status=${bioRow?.status || 'n/a'}
|
|
56
|
+
placeholder="Write a short bio"
|
|
57
|
+
autocomplete="off"
|
|
58
|
+
@input=${handleDescriptionInput}
|
|
59
|
+
></textarea>
|
|
60
|
+
<small id=${descriptionCounterId} aria-live="polite">${descriptionCount}/${descriptionMaxLength}</small>
|
|
61
|
+
</label>
|
|
62
|
+
</section>
|
|
63
|
+
`;
|
|
64
|
+
}
|
|
65
|
+
function renderBioEditTemplate(form, formState, viewerMode) {
|
|
66
|
+
const rerender = () => renderBioEditTemplate(form, formState, viewerMode);
|
|
67
|
+
(0, _litHtml.render)((0, _litHtml.html)`
|
|
68
|
+
${renderBioSection(formState.bio, rerender)}
|
|
69
|
+
${viewerMode !== 'owner' ? (0, _litHtml.html)`<p class="profile-edit-dialog__login-message">${_texts.ownerLoginRequiredDialogMessageText}</p>` : null}
|
|
70
|
+
`, form);
|
|
71
|
+
}
|
|
72
|
+
function createBioEditForm(bioData, viewerMode) {
|
|
73
|
+
const form = document.createElement('form');
|
|
74
|
+
form.classList.add('profile__edit-form');
|
|
75
|
+
const formState = toFormState(bioData);
|
|
76
|
+
renderBioEditTemplate(form, formState, viewerMode);
|
|
77
|
+
return {
|
|
78
|
+
form,
|
|
79
|
+
formState
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
async function createBioEditDialog(event, store, subject, bioData, viewerMode, onSaved) {
|
|
83
|
+
const dom = event.currentTarget?.ownerDocument || document;
|
|
84
|
+
const {
|
|
85
|
+
form,
|
|
86
|
+
formState
|
|
87
|
+
} = createBioEditForm(bioData, viewerMode);
|
|
88
|
+
const result = await (0, _dialog.openInputDialog)({
|
|
89
|
+
title: 'Edit Bio',
|
|
90
|
+
dom,
|
|
91
|
+
form,
|
|
92
|
+
headerAction: {
|
|
93
|
+
type: 'none'
|
|
94
|
+
},
|
|
95
|
+
submitLabel: _texts.dialogSubmitLabelText,
|
|
96
|
+
cancelLabel: _texts.dialogCancelLabelText,
|
|
97
|
+
validate: () => {
|
|
98
|
+
if (viewerMode !== 'owner') {
|
|
99
|
+
return _texts.ownerLoginRequiredDialogMessageText;
|
|
100
|
+
}
|
|
101
|
+
const bioOps = (0, _rowState.summarizeRowOps)([formState.bio], rowHasContent);
|
|
102
|
+
const hasChanges = bioOps.create.length > 0 || bioOps.update.length > 0 || bioOps.remove.length > 0;
|
|
103
|
+
if (!hasChanges) return 'No bio changes detected.';
|
|
104
|
+
return null;
|
|
105
|
+
},
|
|
106
|
+
onSave: async () => {
|
|
107
|
+
const bioOps = (0, _rowState.summarizeRowOps)([formState.bio], rowHasContent);
|
|
108
|
+
await (0, _mutations.processBioMutations)(store, subject, bioOps);
|
|
109
|
+
},
|
|
110
|
+
formatSaveError: error => {
|
|
111
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
112
|
+
return `${_texts.saveBioUpdatesFailedPrefixText} ${message}`;
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
if (!result) return;
|
|
116
|
+
if (onSaved) {
|
|
117
|
+
await onSaved();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BioDetails } from './types';
|
|
2
|
+
import { ViewerMode } from '../../types';
|
|
3
|
+
import '../../styles/BioSection.css';
|
|
4
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
5
|
+
export declare const BioCard: (bioData: BioDetails, viewerMode: ViewerMode) => import("lit-html").TemplateResult<1>;
|
|
6
|
+
export declare function renderBioSection(store: LiveStore, subject: NamedNode, bioData: BioDetails, viewerMode: ViewerMode, onSaved?: () => Promise<void> | void): import("lit-html").TemplateResult<1> | "";
|
|
7
|
+
//# sourceMappingURL=BioSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BioSection.d.ts","sourceRoot":"","sources":["../../../src/sections/bio/BioSection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,6BAA6B,CAAA;AAEpC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAqC7C,eAAO,MAAM,OAAO,GAClB,SAAS,UAAU,EACnB,YAAY,UAAU,yCAWvB,CAAA;AAwHD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,UAAU,EACnB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,6CAcrC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BioCard = void 0;
|
|
7
|
+
exports.renderBioSection = renderBioSection;
|
|
8
|
+
var _litHtml = require("lit-html");
|
|
9
|
+
require("../../styles/BioSection.css");
|
|
10
|
+
var _texts = require("../../texts");
|
|
11
|
+
var _sectionCardHelpers = require("../shared/sectionCardHelpers");
|
|
12
|
+
var _BioEditDialog = require("./BioEditDialog");
|
|
13
|
+
var _profileIcons = require("../../icons-svg/profileIcons");
|
|
14
|
+
function renderBio(bioData) {
|
|
15
|
+
if (!bioData) return (0, _litHtml.html)``;
|
|
16
|
+
const bioDescriptionId = 'bio-description';
|
|
17
|
+
return (0, _litHtml.html)`
|
|
18
|
+
${bioData.description ? (0, _litHtml.html)`
|
|
19
|
+
<div class="bioDescriptionWrap">
|
|
20
|
+
<p class="bioDescriptionText" id=${bioDescriptionId}>${bioData.description}</p>
|
|
21
|
+
<button
|
|
22
|
+
type="button"
|
|
23
|
+
class="bioDescriptionToggle"
|
|
24
|
+
aria-controls=${bioDescriptionId}
|
|
25
|
+
aria-expanded="false"
|
|
26
|
+
hidden
|
|
27
|
+
@click=${_sectionCardHelpers.toggleDescription}
|
|
28
|
+
>
|
|
29
|
+
...more
|
|
30
|
+
</button>
|
|
31
|
+
</div>
|
|
32
|
+
` : ''}
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
function hasBioContent(bioData) {
|
|
36
|
+
return Boolean((bioData?.description || '').trim());
|
|
37
|
+
}
|
|
38
|
+
const BioCard = (bioData, viewerMode) => {
|
|
39
|
+
void viewerMode;
|
|
40
|
+
return (0, _litHtml.html)`
|
|
41
|
+
<article class="bioCard" aria-label="Bio" data-testid="bio-card">
|
|
42
|
+
<section class="bioSection">
|
|
43
|
+
${renderBio(bioData)}
|
|
44
|
+
</section>
|
|
45
|
+
</article>
|
|
46
|
+
`;
|
|
47
|
+
};
|
|
48
|
+
exports.BioCard = BioCard;
|
|
49
|
+
function renderBioSectionContent(store, subject, bioData, viewerMode, onSaved) {
|
|
50
|
+
const bio = BioCard(bioData, viewerMode);
|
|
51
|
+
const bioDetails = bioData;
|
|
52
|
+
const isOwner = viewerMode === 'owner';
|
|
53
|
+
return (0, _litHtml.html)`
|
|
54
|
+
<header class="profile__section-header profile-section-collapsible__header">
|
|
55
|
+
<h2 id="bio-heading" tabindex="-1">${_texts.bioHeadingText}</h2>
|
|
56
|
+
${isOwner ? (0, _litHtml.html)`
|
|
57
|
+
<button
|
|
58
|
+
type="button"
|
|
59
|
+
class="profile__action-button profile-action-text flex-center"
|
|
60
|
+
aria-label="Edit bio details"
|
|
61
|
+
@click=${event => {
|
|
62
|
+
return (0, _BioEditDialog.createBioEditDialog)(event, store, subject, bioDetails, viewerMode, onSaved);
|
|
63
|
+
}}
|
|
64
|
+
>
|
|
65
|
+
<span class="profile-section-collapsible__edit-label profile__action-icon">${_profileIcons.editIcon} Edit</span>
|
|
66
|
+
<span class="profile-section-collapsible__edit-icon profile__action-icon" aria-hidden="true">${_profileIcons.editIcon}</span>
|
|
67
|
+
</button>
|
|
68
|
+
` : (0, _litHtml.html)``}
|
|
69
|
+
</header>
|
|
70
|
+
<div class="profile-section-collapsible__content">
|
|
71
|
+
${bio}
|
|
72
|
+
</div>
|
|
73
|
+
`;
|
|
74
|
+
}
|
|
75
|
+
function renderBioSectionDefault(store, subject, bioData, viewerMode, onSaved) {
|
|
76
|
+
return (0, _litHtml.html)`
|
|
77
|
+
<section
|
|
78
|
+
aria-labelledby="bio-heading"
|
|
79
|
+
data-profile-section="bio"
|
|
80
|
+
class="profile__section border-lighter"
|
|
81
|
+
role="region"
|
|
82
|
+
tabindex="-1"
|
|
83
|
+
>
|
|
84
|
+
${renderBioSectionContent(store, subject, bioData, viewerMode, onSaved)}
|
|
85
|
+
</section>
|
|
86
|
+
`;
|
|
87
|
+
}
|
|
88
|
+
function renderOwnerEmptyBioContent(store, subject, bioData, viewerMode, onSaved) {
|
|
89
|
+
const bioDetails = bioData;
|
|
90
|
+
return (0, _litHtml.html)`
|
|
91
|
+
<div class="profile__empty-state-content flex-column-center" role="group" aria-label="Empty bio section">
|
|
92
|
+
<h2 id="bio-heading" tabindex="-1">${_texts.bioHeadingText}</h2>
|
|
93
|
+
<p class="profile__empty-state-message">
|
|
94
|
+
You haven't added any professional experience yet. Adding work history can boost your Bio.
|
|
95
|
+
</p>
|
|
96
|
+
</div>
|
|
97
|
+
<button
|
|
98
|
+
type="button"
|
|
99
|
+
class="profile__action-button--empty"
|
|
100
|
+
aria-label="Add bio details"
|
|
101
|
+
@click=${event => {
|
|
102
|
+
return (0, _BioEditDialog.createBioEditDialog)(event, store, subject, bioDetails, viewerMode, onSaved);
|
|
103
|
+
}}
|
|
104
|
+
>
|
|
105
|
+
<span class="profile__action-icon" aria-hidden="true">${_profileIcons.plusDarkIcon} Add Bio</span>
|
|
106
|
+
</button>
|
|
107
|
+
|
|
108
|
+
`;
|
|
109
|
+
}
|
|
110
|
+
function renderOwnerEmptyBioSection(store, subject, bioData, viewerMode, onSaved) {
|
|
111
|
+
return (0, _litHtml.html)`
|
|
112
|
+
<section
|
|
113
|
+
aria-labelledby="bio-heading"
|
|
114
|
+
data-profile-section="bio"
|
|
115
|
+
class="profile__section--empty border-lighter flex-column-center rounded-md gap-lg"
|
|
116
|
+
role="region"
|
|
117
|
+
tabindex="-1"
|
|
118
|
+
>
|
|
119
|
+
${renderOwnerEmptyBioContent(store, subject, bioData, viewerMode, onSaved)}
|
|
120
|
+
</section>
|
|
121
|
+
`;
|
|
122
|
+
}
|
|
123
|
+
function renderBioSection(store, subject, bioData, viewerMode, onSaved) {
|
|
124
|
+
(0, _sectionCardHelpers.scheduleDescriptionOverflowCheck)();
|
|
125
|
+
const hasBio = hasBioContent(bioData);
|
|
126
|
+
const showOwnerEmptyBio = !hasBio && viewerMode === 'owner';
|
|
127
|
+
const showSection = true;
|
|
128
|
+
return showSection ? (0, _litHtml.html)`
|
|
129
|
+
${showOwnerEmptyBio ? renderOwnerEmptyBioSection(store, subject, bioData, viewerMode, onSaved) : renderBioSectionDefault(store, subject, bioData, viewerMode, onSaved)}
|
|
130
|
+
` : '';
|
|
131
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/sections/bio/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAW,MAAM,QAAQ,CAAA;AAEtD,OAAO,EAAE,eAAe,EAAU,MAAM,SAAS,CAAA;AAsCjD,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,iBAO5G"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.processBioMutations = processBioMutations;
|
|
7
|
+
var _rdflib = require("rdflib");
|
|
8
|
+
var _solidUi = require("solid-ui");
|
|
9
|
+
var _rdfMutationHelpers = require("../shared/rdfMutationHelpers");
|
|
10
|
+
var _texts = require("../../texts");
|
|
11
|
+
// Need to find out if this is really how we should store the data
|
|
12
|
+
async function mutateBioEntry(store, subject, bioOps) {
|
|
13
|
+
const doc = subject.doc();
|
|
14
|
+
const deletions = [];
|
|
15
|
+
const insertions = [];
|
|
16
|
+
const replaceLiteralField = (predicate, value) => {
|
|
17
|
+
const normalized = (value || '').trim();
|
|
18
|
+
const nextObject = normalized ? (0, _rdflib.literal)(normalized) : null;
|
|
19
|
+
(0, _rdfMutationHelpers.replacePredicateStatements)(store, subject, predicate, doc, deletions, insertions, nextObject);
|
|
20
|
+
};
|
|
21
|
+
const applyBasics = (bio, clearAll = false) => {
|
|
22
|
+
const data = clearAll ? {
|
|
23
|
+
description: ''
|
|
24
|
+
} : bio;
|
|
25
|
+
replaceLiteralField(_solidUi.ns.vcard('note'), data.description);
|
|
26
|
+
};
|
|
27
|
+
const removeBio = bioOps.remove[0];
|
|
28
|
+
const updateBio = bioOps.update[0];
|
|
29
|
+
const createBio = bioOps.create[0];
|
|
30
|
+
const selectedBio = updateBio || createBio || removeBio;
|
|
31
|
+
if (selectedBio) {
|
|
32
|
+
applyBasics(selectedBio, Boolean(removeBio && !updateBio && !createBio));
|
|
33
|
+
}
|
|
34
|
+
await (0, _rdfMutationHelpers.applyUpdaterPatch)(store, deletions, insertions);
|
|
35
|
+
}
|
|
36
|
+
async function processBioMutations(store, subject, mutationPlan) {
|
|
37
|
+
try {
|
|
38
|
+
await mutateBioEntry(store, subject, mutationPlan);
|
|
39
|
+
} catch (error) {
|
|
40
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
41
|
+
throw new Error(`${_texts.saveBioUpdatesFailedPrefixText} ${message}`);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../src/sections/bio/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAG7C,eAAO,MAAM,UAAU,GACrB,SAAS,SAAS,EAClB,OAAO,SAAS,KACf,UAQF,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.presentBio = void 0;
|
|
7
|
+
var _solidUi = require("solid-ui");
|
|
8
|
+
const presentBio = (subject, store) => {
|
|
9
|
+
const description = store.anyJS(subject, _solidUi.ns.vcard('note'));
|
|
10
|
+
return {
|
|
11
|
+
description,
|
|
12
|
+
entryNode: subject
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.presentBio = presentBio;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Node } from 'rdflib';
|
|
2
|
+
import { MutationOps } from '../shared/types';
|
|
3
|
+
import { RowStatus } from '../shared/types';
|
|
4
|
+
export interface BioFields {
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BioDetails extends BioFields {
|
|
8
|
+
entryNode: Node;
|
|
9
|
+
}
|
|
10
|
+
export interface BioRow extends BioFields {
|
|
11
|
+
entryNode: string;
|
|
12
|
+
status: RowStatus;
|
|
13
|
+
}
|
|
14
|
+
export type BioMutationPlan = MutationOps<BioRow>;
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/sections/bio/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,MAAM,WAAW,SAAS;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,MAAO,SAAQ,SAAS;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContactInfo } from './types';
|
|
2
|
+
import '../../styles/EditDialogs.css';
|
|
3
|
+
import '../../styles/ContactInfoEditDialog.css';
|
|
4
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
5
|
+
import { ViewerMode } from '../../types';
|
|
6
|
+
export declare function createContactInfoEditDialog(event: Event, store: LiveStore, subject: NamedNode, contactInfo: ContactInfo, viewerMode: ViewerMode, onSaved?: () => Promise<void> | void): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=ContactInfoEditDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactInfoEditDialog.d.ts","sourceRoot":"","sources":["../../../src/sections/contactInfo/ContactInfoEditDialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,WAAW,EAAwC,MAAM,SAAS,CAAA;AAC9F,OAAO,8BAA8B,CAAA;AACrC,OAAO,wCAAwC,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AA0pBxC,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,iBAqCrC"}
|