profile-pane 3.1.4 → 3.2.0
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/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 -5666
- 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 -6
- 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 -427
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdfList.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/rdfList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,IAAI,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAG/C,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,CAgC9D"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.expandRdfList = expandRdfList;
|
|
7
|
+
var _solidUi = require("solid-ui");
|
|
8
|
+
function expandRdfList(store, node) {
|
|
9
|
+
const visited = new Set();
|
|
10
|
+
function inner(currentNode) {
|
|
11
|
+
const termType = currentNode.termType || typeof currentNode;
|
|
12
|
+
const value = currentNode.value || String(currentNode);
|
|
13
|
+
const key = `${termType}:${value}`;
|
|
14
|
+
if (visited.has(key)) return [];
|
|
15
|
+
visited.add(key);
|
|
16
|
+
const collectionElements = currentNode.elements;
|
|
17
|
+
if (Array.isArray(collectionElements)) {
|
|
18
|
+
return collectionElements.flatMap(element => inner(element));
|
|
19
|
+
}
|
|
20
|
+
const first = store.any(currentNode, _solidUi.ns.rdf('first'));
|
|
21
|
+
if (!first) return [currentNode];
|
|
22
|
+
const items = [];
|
|
23
|
+
let listNode = currentNode;
|
|
24
|
+
while (listNode) {
|
|
25
|
+
const listValue = store.any(listNode, _solidUi.ns.rdf('first'));
|
|
26
|
+
if (listValue) items.push(...inner(listValue));
|
|
27
|
+
const rest = store.any(listNode, _solidUi.ns.rdf('rest'));
|
|
28
|
+
if (!rest || rest.termType === 'NamedNode' && rest.value === _solidUi.ns.rdf('nil').value) break;
|
|
29
|
+
listNode = rest;
|
|
30
|
+
}
|
|
31
|
+
return items;
|
|
32
|
+
}
|
|
33
|
+
return inner(node);
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LiveStore, NamedNode, Node } from 'rdflib';
|
|
2
|
+
export declare function applyUpdaterPatch(store: LiveStore, deletions: any[], insertions: any[]): Promise<void>;
|
|
3
|
+
export declare function collectNodeStatements(store: LiveStore, node: Node, doc: NamedNode): import("rdflib").Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>[];
|
|
4
|
+
export declare function collectLinkStatements(store: LiveStore, subject: NamedNode, predicate: NamedNode, node: Node, doc: NamedNode): import("rdflib").Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>[];
|
|
5
|
+
export declare function replacePredicateStatements(store: LiveStore, subject: NamedNode, predicate: NamedNode, doc: NamedNode, deletions: any[], insertions: any[], nextObject?: Node | null): void;
|
|
6
|
+
export declare function collectLinkedNodeStatements(store: LiveStore, sourceNode: Node, predicate: NamedNode, doc: NamedNode): {
|
|
7
|
+
linkedNodes: Node[];
|
|
8
|
+
linkedStatements: import("rdflib").Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>[];
|
|
9
|
+
linkStatements: import("rdflib").Statement<import("rdflib/lib/types").SubjectType, import("rdflib/lib/types").PredicateType, import("rdflib/lib/types").ObjectType, import("rdflib/lib/types").GraphType>[];
|
|
10
|
+
};
|
|
11
|
+
export declare function findExistingNode(nodes: Node[], entryNode: string): Node;
|
|
12
|
+
//# sourceMappingURL=rdfMutationHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rdfMutationHelpers.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/rdfMutationHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAM,MAAM,QAAQ,CAAA;AAOvD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,iBAoCtF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,+LAEjF;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,SAAS,+LAGf;AAID,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,SAAS,EACd,SAAS,EAAE,GAAG,EAAE,EAChB,UAAU,EAAE,GAAG,EAAE,EACjB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,QAMzB;AAID,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,UAAU,EAAE,IAAI,EAChB,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,SAAS;;;;EAWf;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,QAOhE"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applyUpdaterPatch = applyUpdaterPatch;
|
|
7
|
+
exports.collectLinkStatements = collectLinkStatements;
|
|
8
|
+
exports.collectLinkedNodeStatements = collectLinkedNodeStatements;
|
|
9
|
+
exports.collectNodeStatements = collectNodeStatements;
|
|
10
|
+
exports.findExistingNode = findExistingNode;
|
|
11
|
+
exports.replacePredicateStatements = replacePredicateStatements;
|
|
12
|
+
var _rdflib = require("rdflib");
|
|
13
|
+
var _texts = require("../../texts");
|
|
14
|
+
function normalizeNodeId(value) {
|
|
15
|
+
return value.startsWith('_:') ? value.slice(2) : value;
|
|
16
|
+
}
|
|
17
|
+
function applyUpdaterPatch(store, deletions, insertions) {
|
|
18
|
+
if (!store.updater) {
|
|
19
|
+
throw new Error(_texts.updaterUnsupportedStoreErrorMessageText);
|
|
20
|
+
}
|
|
21
|
+
const safeDeletions = (deletions || []).filter(statement => {
|
|
22
|
+
if (!statement || !statement.subject || !statement.predicate || !statement.object) return false;
|
|
23
|
+
const graph = statement.why;
|
|
24
|
+
return store.holds(statement.subject, statement.predicate, statement.object, graph);
|
|
25
|
+
});
|
|
26
|
+
const safeInsertions = (insertions || []).filter(statement => {
|
|
27
|
+
return Boolean(statement && statement.subject && statement.predicate && statement.object);
|
|
28
|
+
});
|
|
29
|
+
if (safeDeletions.length === 0 && safeInsertions.length === 0) {
|
|
30
|
+
return Promise.resolve();
|
|
31
|
+
}
|
|
32
|
+
return new Promise((resolve, reject) => {
|
|
33
|
+
try {
|
|
34
|
+
;
|
|
35
|
+
store.updater.update(safeDeletions, safeInsertions, (_uri, ok, message) => {
|
|
36
|
+
if (ok === true) {
|
|
37
|
+
resolve();
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
reject(new Error(message || _texts.fallbackSaveUpdatesErrorMessageText));
|
|
41
|
+
});
|
|
42
|
+
} catch (error) {
|
|
43
|
+
reject(error instanceof Error ? error : new Error(String(error)));
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function collectNodeStatements(store, node, doc) {
|
|
48
|
+
return store.statementsMatching(node, null, null, doc);
|
|
49
|
+
}
|
|
50
|
+
function collectLinkStatements(store, subject, predicate, node, doc) {
|
|
51
|
+
return store.statementsMatching(subject, predicate, node, doc);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* The following helper was generated by AI Model: GPT-5.3-Codex.
|
|
55
|
+
Prompt: 'do you see anything I can do differently in the mutation code so that it's not so verbose and possible reusable accross sections' */
|
|
56
|
+
function replacePredicateStatements(store, subject, predicate, doc, deletions, insertions, nextObject) {
|
|
57
|
+
deletions.push(...store.statementsMatching(subject, predicate, null, doc));
|
|
58
|
+
if (nextObject) {
|
|
59
|
+
insertions.push((0, _rdflib.st)(subject, predicate, nextObject, doc));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* The following helper was generated by AI Model: GPT-5.3-Codex.
|
|
64
|
+
Prompt: 'do you see anything I can do differently in the mutation code so that it's not so verbose and possible reusable accross sections' */
|
|
65
|
+
function collectLinkedNodeStatements(store, sourceNode, predicate, doc) {
|
|
66
|
+
const linkedNodes = store.each(sourceNode, predicate, null, doc);
|
|
67
|
+
const linkedStatements = linkedNodes.flatMap(linkedNode => collectNodeStatements(store, linkedNode, doc));
|
|
68
|
+
const linkStatements = store.statementsMatching(sourceNode, predicate, null, doc);
|
|
69
|
+
return {
|
|
70
|
+
linkedNodes,
|
|
71
|
+
linkedStatements,
|
|
72
|
+
linkStatements
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function findExistingNode(nodes, entryNode) {
|
|
76
|
+
const normalizedEntryNode = normalizeNodeId(entryNode);
|
|
77
|
+
return nodes.find(node => {
|
|
78
|
+
const nodeValue = normalizeNodeId(node.value);
|
|
79
|
+
if (nodeValue === normalizedEntryNode) return true;
|
|
80
|
+
return node.value === entryNode;
|
|
81
|
+
});
|
|
82
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RowStatus } from './types';
|
|
2
|
+
export type EditableRow = {
|
|
3
|
+
entryNode: string;
|
|
4
|
+
status: RowStatus;
|
|
5
|
+
};
|
|
6
|
+
export type TypedEditableRow = EditableRow & {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
type StringKeyOf<T> = {
|
|
10
|
+
[K in keyof T]-?: T[K] extends string ? K : never;
|
|
11
|
+
}[keyof T];
|
|
12
|
+
export declare function deleteRow<T extends EditableRow>(rows: T[], index: number): void;
|
|
13
|
+
export declare function applyRowSelectChange<T extends EditableRow, K extends StringKeyOf<T>>(row: T, field: K, nextValue: Extract<T[K], string>): void;
|
|
14
|
+
export declare function summarizeRowOps<T extends EditableRow>(rows: T[], rowHasContent: (row: T) => boolean): {
|
|
15
|
+
create: T[];
|
|
16
|
+
update: T[];
|
|
17
|
+
remove: T[];
|
|
18
|
+
};
|
|
19
|
+
export declare function applyRowFieldChange<T extends EditableRow, K extends keyof T>(row: T, field: K, nextValue: T[K], hasContent: (row: T) => boolean): void;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=rowState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rowState.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/rowState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,WAAW,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK;CAClD,CAAC,MAAM,CAAC,CAAC,CAAA;AAEV,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,QAUxE;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,EAClF,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,CAAC,EACR,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,QAUjC;AAED,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO;;;;EAKnG;AAKD,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,MAAM,CAAC,EAC1E,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,CAAC,EACR,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,EACf,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,QAehC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applyRowFieldChange = applyRowFieldChange;
|
|
7
|
+
exports.applyRowSelectChange = applyRowSelectChange;
|
|
8
|
+
exports.deleteRow = deleteRow;
|
|
9
|
+
exports.summarizeRowOps = summarizeRowOps;
|
|
10
|
+
function deleteRow(rows, index) {
|
|
11
|
+
const row = rows[index];
|
|
12
|
+
if (!row) return;
|
|
13
|
+
if (row.entryNode) {
|
|
14
|
+
row.status = 'deleted';
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
rows.splice(index, 1);
|
|
18
|
+
}
|
|
19
|
+
function applyRowSelectChange(row, field, nextValue) {
|
|
20
|
+
row[field] = nextValue.trim();
|
|
21
|
+
if (row.entryNode) {
|
|
22
|
+
row.status = row.status === 'existing' || row.status === 'deleted' ? 'modified' : row.status;
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
row.status = 'new';
|
|
26
|
+
}
|
|
27
|
+
function summarizeRowOps(rows, rowHasContent) {
|
|
28
|
+
const create = rows.filter(row => row.status === 'new' && rowHasContent(row));
|
|
29
|
+
const update = rows.filter(row => row.status === 'modified' && rowHasContent(row));
|
|
30
|
+
const remove = rows.filter(row => row.status === 'deleted');
|
|
31
|
+
return {
|
|
32
|
+
create,
|
|
33
|
+
update,
|
|
34
|
+
remove
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* The following function was generated by AI Model: GPT-5.3-Codex */
|
|
39
|
+
/* it was originally only for addresses but I made it more generic so it can be used for any type of rows */
|
|
40
|
+
/* Prompt: can you have applyAddressFieldChange update the row status based on whether any fields have content */
|
|
41
|
+
function applyRowFieldChange(row, field, nextValue, hasContent) {
|
|
42
|
+
row[field] = nextValue;
|
|
43
|
+
if (!hasContent(row)) {
|
|
44
|
+
row.status = row.entryNode ? 'deleted' : 'new';
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
if (row.entryNode) {
|
|
48
|
+
row.status = row.status === 'existing' || row.status === 'deleted' ? 'modified' : row.status;
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
row.status = 'new';
|
|
52
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function sanitizeEmailValue(value: string): string;
|
|
2
|
+
export declare function sanitizePhoneLocalValue(value: string): string;
|
|
3
|
+
export declare function sanitizeAddressFieldValue(value: string): string;
|
|
4
|
+
export declare function sanitizeBasicInputFieldValue(value: string): string;
|
|
5
|
+
//# sourceMappingURL=sanitizeUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitizeUtils.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/sanitizeUtils.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.sanitizeAddressFieldValue = sanitizeAddressFieldValue;
|
|
7
|
+
exports.sanitizeBasicInputFieldValue = sanitizeBasicInputFieldValue;
|
|
8
|
+
exports.sanitizeEmailValue = sanitizeEmailValue;
|
|
9
|
+
exports.sanitizePhoneLocalValue = sanitizePhoneLocalValue;
|
|
10
|
+
var _textUtils = require("../../textUtils");
|
|
11
|
+
function sanitizeEmailValue(value) {
|
|
12
|
+
return (0, _textUtils.sanitizeTextValue)(value).replace(/\s+/g, '').toLowerCase();
|
|
13
|
+
}
|
|
14
|
+
function sanitizePhoneLocalValue(value) {
|
|
15
|
+
return (0, _textUtils.sanitizeTextValue)(value).replace(/[^0-9()\-\s.]/g, '');
|
|
16
|
+
}
|
|
17
|
+
function sanitizeAddressFieldValue(value) {
|
|
18
|
+
return (0, _textUtils.sanitizeTextValue)(value);
|
|
19
|
+
}
|
|
20
|
+
function sanitizeBasicInputFieldValue(value) {
|
|
21
|
+
return (0, _textUtils.sanitizeTextValue)(value);
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type DateLike = string | {
|
|
2
|
+
value?: string;
|
|
3
|
+
} | null | undefined;
|
|
4
|
+
export declare function updateDescriptionOverflow(root?: ParentNode): void;
|
|
5
|
+
export declare function scheduleDescriptionOverflowCheck(): void;
|
|
6
|
+
export declare function toggleDescription(event: Event): void;
|
|
7
|
+
export declare function formatMonthYear(date?: DateLike): string;
|
|
8
|
+
export declare function datesAsText(startDate?: DateLike, endDate?: DateLike): string;
|
|
9
|
+
export declare function toMonthDateTime(date?: DateLike): string | undefined;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=sectionCardHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sectionCardHelpers.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/sectionCardHelpers.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAA;AAa9D,wBAAgB,yBAAyB,CAAC,IAAI,GAAE,UAAqB,QAmCpE;AAED,wBAAgB,gCAAgC,SAQ/C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,QAoB7C;AAID,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAcvD;AAED,wBAAgB,WAAW,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAO5E;AAED,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAInE"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.datesAsText = datesAsText;
|
|
7
|
+
exports.formatMonthYear = formatMonthYear;
|
|
8
|
+
exports.scheduleDescriptionOverflowCheck = scheduleDescriptionOverflowCheck;
|
|
9
|
+
exports.toMonthDateTime = toMonthDateTime;
|
|
10
|
+
exports.toggleDescription = toggleDescription;
|
|
11
|
+
exports.updateDescriptionOverflow = updateDescriptionOverflow;
|
|
12
|
+
let descriptionResizeBound = false;
|
|
13
|
+
function toDateValue(date) {
|
|
14
|
+
if (!date) return '';
|
|
15
|
+
if (typeof date === 'string') return date;
|
|
16
|
+
return date.value || '';
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Function below generated by AI Model: GPT-5.3-Codex */
|
|
20
|
+
/* Prompt: the description needs to only show 2 lines and then more button
|
|
21
|
+
please generate code for this. */
|
|
22
|
+
function updateDescriptionOverflow(root = document) {
|
|
23
|
+
const selectorGroups = [{
|
|
24
|
+
wrap: '.cvDescriptionWrap',
|
|
25
|
+
text: '.cvDescriptionText',
|
|
26
|
+
toggle: '.cvDescriptionToggle'
|
|
27
|
+
}, {
|
|
28
|
+
wrap: '.bioDescriptionWrap',
|
|
29
|
+
text: '.bioDescriptionText',
|
|
30
|
+
toggle: '.bioDescriptionToggle'
|
|
31
|
+
}];
|
|
32
|
+
selectorGroups.forEach(({
|
|
33
|
+
wrap,
|
|
34
|
+
text,
|
|
35
|
+
toggle
|
|
36
|
+
}) => {
|
|
37
|
+
const wraps = root.querySelectorAll(wrap);
|
|
38
|
+
wraps.forEach(container => {
|
|
39
|
+
const textEl = container.querySelector(text);
|
|
40
|
+
const button = container.querySelector(toggle);
|
|
41
|
+
if (!textEl || !button) return;
|
|
42
|
+
const isExpanded = textEl.classList.contains('isExpanded');
|
|
43
|
+
if (isExpanded) {
|
|
44
|
+
button.hidden = false;
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const isOverflowing = textEl.scrollHeight > textEl.clientHeight + 1;
|
|
48
|
+
button.hidden = !isOverflowing;
|
|
49
|
+
if (!isOverflowing) {
|
|
50
|
+
button.setAttribute('aria-expanded', 'false');
|
|
51
|
+
button.textContent = '...more';
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function scheduleDescriptionOverflowCheck() {
|
|
57
|
+
if (typeof window === 'undefined') return;
|
|
58
|
+
window.requestAnimationFrame(() => updateDescriptionOverflow(window.document));
|
|
59
|
+
if (!descriptionResizeBound) {
|
|
60
|
+
window.addEventListener('resize', () => scheduleDescriptionOverflowCheck());
|
|
61
|
+
descriptionResizeBound = true;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function toggleDescription(event) {
|
|
65
|
+
event.preventDefault();
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
event.stopImmediatePropagation?.();
|
|
68
|
+
const button = event.currentTarget;
|
|
69
|
+
if (!button) return;
|
|
70
|
+
const descriptionId = button.getAttribute('aria-controls');
|
|
71
|
+
if (!descriptionId) return;
|
|
72
|
+
const textEl = document.getElementById(descriptionId);
|
|
73
|
+
if (!textEl) return;
|
|
74
|
+
const isExpanded = textEl.classList.toggle('isExpanded');
|
|
75
|
+
button.setAttribute('aria-expanded', isExpanded ? 'true' : 'false');
|
|
76
|
+
button.textContent = isExpanded ? '...less' : '...more';
|
|
77
|
+
if (!isExpanded) {
|
|
78
|
+
scheduleDescriptionOverflowCheck();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Function below generated by AI Model: GPT-5.3-Codex */
|
|
83
|
+
/* Prompt: write me a function to convert a date to Month, Year */
|
|
84
|
+
function formatMonthYear(date) {
|
|
85
|
+
const value = toDateValue(date);
|
|
86
|
+
if (!value) return '';
|
|
87
|
+
const year = value.slice(0, 4);
|
|
88
|
+
const month = value.slice(5, 7);
|
|
89
|
+
const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
90
|
+
const monthIndex = Number(month) - 1;
|
|
91
|
+
if (!year || monthIndex < 0 || monthIndex > 11) return value;
|
|
92
|
+
return `${monthNames[monthIndex]}, ${year}`;
|
|
93
|
+
}
|
|
94
|
+
function datesAsText(startDate, endDate) {
|
|
95
|
+
const startValue = toDateValue(startDate);
|
|
96
|
+
if (!startValue) return '';
|
|
97
|
+
const start = formatMonthYear(startDate);
|
|
98
|
+
const end = toDateValue(endDate) ? formatMonthYear(endDate) : 'Present';
|
|
99
|
+
return `${start} to ${end}`;
|
|
100
|
+
}
|
|
101
|
+
function toMonthDateTime(date) {
|
|
102
|
+
const value = toDateValue(date);
|
|
103
|
+
if (!value) return undefined;
|
|
104
|
+
return value.slice(0, 7);
|
|
105
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/sections/shared/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAA;AAEnE,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,MAAM,EAAE,CAAC,EAAE,CAAA;IACX,MAAM,EAAE,CAAC,EAAE,CAAA;IACX,MAAM,EAAE,CAAC,EAAE,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SkillDetails } 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 createSkillsEditDialog(event: Event, store: LiveStore, subject: NamedNode, skills: SkillDetails[], viewerMode: ViewerMode, onSaved?: () => Promise<void> | void): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=SkillsEditDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkillsEditDialog.d.ts","sourceRoot":"","sources":["../../../src/sections/skills/SkillsEditDialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,MAAM,SAAS,CAAA;AAChD,OAAO,8BAA8B,CAAA;AACrC,OAAO,wCAAwC,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAmXxC,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,YAAY,EAAE,EACtB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,iBA2CrC"}
|