@learncard/react 2.9.4 → 2.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{BoostGenericCard-6ddf7b44.js → BoostGenericCard-8bfbd19d.js} +9 -6
- package/dist/cjs/BoostGenericCard-8bfbd19d.js.map +1 -0
- package/dist/cjs/{CertificateDisplayCard-96418fdf.js → CertificateDisplayCard-3629a31d.js} +26 -9
- package/dist/{esm/CertificateDisplayCard-e7317610.js.map → cjs/CertificateDisplayCard-3629a31d.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-1ed86e80.js → MeritBadgeDisplayCard-6909f9c4.js} +20 -7
- package/dist/cjs/MeritBadgeDisplayCard-6909f9c4.js.map +1 -0
- package/dist/cjs/{MeritBadgeSkillsCount-82621c9e.js → MeritBadgeSkillsCount-6ab76512.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-82621c9e.js.map → MeritBadgeSkillsCount-6ab76512.js.map} +1 -1
- package/dist/cjs/{VCCard-ef996fff.js → VCCard-71a11dcb.js} +3 -3
- package/dist/cjs/{VCCard-ef996fff.js.map → VCCard-71a11dcb.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-ce51e28d.js → VCDisplayBackFace-a1d472dd.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-ce51e28d.js.map → VCDisplayBackFace-a1d472dd.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-a2cb79e0.js → VCDisplayCard-b401b6cb.js} +3 -3
- package/dist/cjs/{VCDisplayCard-a2cb79e0.js.map → VCDisplayCard-b401b6cb.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-08ec8bfb.js → VCDisplayCard2-7e83002e.js} +42 -17
- package/dist/cjs/VCDisplayCard2-7e83002e.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-d8e62475.js → VCVerificationPill-9ab86092.js} +2 -2
- package/dist/cjs/{VCVerificationPill-d8e62475.js.map → VCVerificationPill-9ab86092.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-e46d8393.js → VerifierStateBadgeAndText-103557ca.js} +5 -3
- package/dist/{esm/VerifierStateBadgeAndText-490c08dc.js.map → cjs/VerifierStateBadgeAndText-103557ca.js.map} +1 -1
- package/dist/cjs/{credential.helpers-d7126a07.js → credential.helpers-a8529046.js} +2 -2
- package/dist/cjs/{credential.helpers-d7126a07.js.map → credential.helpers-a8529046.js.map} +1 -1
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/index13.js +12 -12
- package/dist/cjs/index21.js +5 -5
- package/dist/cjs/index3.js +3 -3
- package/dist/cjs/index38.js +10 -10
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index40.js +5 -5
- package/dist/cjs/index41.js +6 -6
- package/dist/cjs/index42.js +1 -1
- package/dist/cjs/index45.js +2 -2
- package/dist/cjs/index6.js +4 -4
- package/dist/cjs/{types.esm-45113962.js → types.esm-15986537.js} +138 -12
- package/dist/{esm/types.esm-e1539e26.js.map → cjs/types.esm-15986537.js.map} +1 -1
- package/dist/esm/{BoostGenericCard-b02195eb.js → BoostGenericCard-46743965.js} +9 -6
- package/dist/esm/BoostGenericCard-46743965.js.map +1 -0
- package/dist/esm/{CertificateDisplayCard-e7317610.js → CertificateDisplayCard-bba13104.js} +26 -9
- package/dist/{cjs/CertificateDisplayCard-96418fdf.js.map → esm/CertificateDisplayCard-bba13104.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-e1928020.js → MeritBadgeDisplayCard-e212372b.js} +20 -7
- package/dist/esm/MeritBadgeDisplayCard-e212372b.js.map +1 -0
- package/dist/esm/{MeritBadgeSkillsCount-d67d5a0f.js → MeritBadgeSkillsCount-44a3cd70.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-d67d5a0f.js.map → MeritBadgeSkillsCount-44a3cd70.js.map} +1 -1
- package/dist/esm/{VCCard-252d83bf.js → VCCard-e29637d6.js} +3 -3
- package/dist/esm/{VCCard-252d83bf.js.map → VCCard-e29637d6.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-17bbcf84.js → VCDisplayBackFace-2a9a838b.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-17bbcf84.js.map → VCDisplayBackFace-2a9a838b.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-36ca1b3e.js → VCDisplayCard-3a8c0544.js} +3 -3
- package/dist/esm/{VCDisplayCard-36ca1b3e.js.map → VCDisplayCard-3a8c0544.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-cda19c00.js → VCDisplayCard2-f02476ef.js} +42 -17
- package/dist/esm/VCDisplayCard2-f02476ef.js.map +1 -0
- package/dist/esm/{VCVerificationPill-fd5cbfc1.js → VCVerificationPill-2c293962.js} +2 -2
- package/dist/esm/{VCVerificationPill-fd5cbfc1.js.map → VCVerificationPill-2c293962.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-490c08dc.js → VerifierStateBadgeAndText-796c26ac.js} +5 -3
- package/dist/{cjs/VerifierStateBadgeAndText-e46d8393.js.map → esm/VerifierStateBadgeAndText-796c26ac.js.map} +1 -1
- package/dist/esm/{credential.helpers-0728c97f.js → credential.helpers-ac4e6c0f.js} +2 -2
- package/dist/esm/{credential.helpers-0728c97f.js.map → credential.helpers-ac4e6c0f.js.map} +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index13.js +12 -12
- package/dist/esm/index21.js +5 -5
- package/dist/esm/index3.js +3 -3
- package/dist/esm/index38.js +10 -10
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index40.js +5 -5
- package/dist/esm/index41.js +6 -6
- package/dist/esm/index42.js +1 -1
- package/dist/esm/index45.js +2 -2
- package/dist/esm/index6.js +4 -4
- package/dist/esm/{types.esm-e1539e26.js → types.esm-adb59560.js} +138 -12
- package/dist/{cjs/types.esm-45113962.js.map → esm/types.esm-adb59560.js.map} +1 -1
- package/dist/index.d.ts +18 -1
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/BoostGenericCard-6ddf7b44.js.map +0 -1
- package/dist/cjs/MeritBadgeDisplayCard-1ed86e80.js.map +0 -1
- package/dist/cjs/VCDisplayCard2-08ec8bfb.js.map +0 -1
- package/dist/esm/BoostGenericCard-b02195eb.js.map +0 -1
- package/dist/esm/MeritBadgeDisplayCard-e1928020.js.map +0 -1
- package/dist/esm/VCDisplayCard2-cda19c00.js.map +0 -1
|
@@ -2,17 +2,17 @@ import React, { useRef, useEffect, useState, createContext, Component, Children,
|
|
|
2
2
|
import './index-4fa491c1.js';
|
|
3
3
|
import { a as VCVerificationCheckWithSpinner } from './VCVerificationCheck-8b8b7a76.js';
|
|
4
4
|
import { U as UserProfilePicture } from './UserProfilePicture-7b950437.js';
|
|
5
|
-
import { a as getColorForVerificationStatus, j as format$1, h as getNameFromProfile, i as getImageFromProfile, b as getInfoFromCredential, k as getCategoryColor, g as getTotalCountOfSkills, c as categorizeSkills } from './credential.helpers-
|
|
6
|
-
import { g as getBaseUrl, b as VideoIcon, C as Camera, G as GenericDocumentIcon, L as LinkIcon, p as prettyBytes, c as capitalize, E as ExclamationPoint, A as AcuteCheckmark, I as InfoIcon, d as LeftArrow, e as SkillsBox, t as truncateWithEllipsis, V as VERIFIER_STATES$1, a as VerifierStateBadgeAndText, P as PersonBadge, i as VerifiedBadge, U as UnknownVerifierBadge, j as RedFlag } from './VerifierStateBadgeAndText-
|
|
5
|
+
import { a as getColorForVerificationStatus, j as format$1, h as getNameFromProfile, i as getImageFromProfile, b as getInfoFromCredential, k as getCategoryColor, g as getTotalCountOfSkills, c as categorizeSkills } from './credential.helpers-ac4e6c0f.js';
|
|
6
|
+
import { g as getBaseUrl, b as VideoIcon, C as Camera, G as GenericDocumentIcon, L as LinkIcon, p as prettyBytes, c as capitalize, E as ExclamationPoint, A as AcuteCheckmark, I as InfoIcon, d as LeftArrow, e as SkillsBox, t as truncateWithEllipsis, V as VERIFIER_STATES$1, a as VerifierStateBadgeAndText, P as PersonBadge, i as VerifiedBadge, U as UnknownVerifierBadge, j as RedFlag } from './VerifierStateBadgeAndText-796c26ac.js';
|
|
7
7
|
import './index-eae3ca64.js';
|
|
8
8
|
import { L as Lightbox, X } from './Lightbox-f0338a0c.js';
|
|
9
|
-
import { V as VerificationStatusEnum } from './types.esm-
|
|
10
|
-
import { A as AlignmentsBox, b as CertificateDisplayCard } from './CertificateDisplayCard-
|
|
9
|
+
import { V as VerificationStatusEnum } from './types.esm-adb59560.js';
|
|
10
|
+
import { A as AlignmentsBox, b as CertificateDisplayCard } from './CertificateDisplayCard-bba13104.js';
|
|
11
11
|
import { I as IDIcon, Q as QRCodeIcon, A as AwardRibbon } from './QRCodeIcon-8eef4f7c.js';
|
|
12
12
|
import { a as LCCategoryEnum } from './index-28917993.js';
|
|
13
13
|
import { P as PuzzlePiece } from './PuzzlePiece-a3d9cc62.js';
|
|
14
14
|
import IDSleeve from './id-sleeve.png';
|
|
15
|
-
import { a as MeritBadgeDisplayCard } from './MeritBadgeDisplayCard-
|
|
15
|
+
import { a as MeritBadgeDisplayCard } from './MeritBadgeDisplayCard-e212372b.js';
|
|
16
16
|
|
|
17
17
|
const RoundedX = ({ className = "" }) => {
|
|
18
18
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -831,7 +831,8 @@ const VC2FrontFaceInfo = ({
|
|
|
831
831
|
imageUrl,
|
|
832
832
|
customThumbComponent,
|
|
833
833
|
knownDIDRegistry,
|
|
834
|
-
customBodyContentSlot
|
|
834
|
+
customBodyContentSlot,
|
|
835
|
+
unknownVerifierTitle
|
|
835
836
|
}) => {
|
|
836
837
|
const issuerName = truncateWithEllipsis(getNameFromProfile(issuer != null ? issuer : ""), 20);
|
|
837
838
|
const issueeName = truncateWithEllipsis(getNameFromProfile(issuee != null ? issuee : ""), 25);
|
|
@@ -866,6 +867,8 @@ const VC2FrontFaceInfo = ({
|
|
|
866
867
|
let verifierState;
|
|
867
868
|
if ((credentialSubject == null ? void 0 : credentialSubject.id) === issuerDid && issuerDid && issuerDid !== "did:example:123") {
|
|
868
869
|
verifierState = VERIFIER_STATES$1.selfVerified;
|
|
870
|
+
} else if (unknownVerifierTitle) {
|
|
871
|
+
verifierState = VERIFIER_STATES$1.trustedVerifier;
|
|
869
872
|
} else {
|
|
870
873
|
if ((knownDIDRegistry == null ? void 0 : knownDIDRegistry.source) === "trusted") {
|
|
871
874
|
verifierState = VERIFIER_STATES$1.trustedVerifier;
|
|
@@ -883,7 +886,13 @@ const VC2FrontFaceInfo = ({
|
|
|
883
886
|
className: "vc-front-image h-[130px] w-[130px] rounded-[10px]",
|
|
884
887
|
src: imageUrl
|
|
885
888
|
}
|
|
886
|
-
), customThumbComponent && customThumbComponent, /* @__PURE__ */ React.createElement("div", { className: "vc-issue-info-box bg-white flex flex-col items-center gap-[5px] rounded-[20px] shadow-bottom px-[15px] py-[20px] w-full" }, customBodyCardComponent && customBodyCardComponent, !customBodyCardComponent && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h3", { className: "text-[27px] flex flex-col text-center leading-[130%] text-grayscale-900 capitalize" }, issueeName, subjectDID && /* @__PURE__ */ React.createElement("span", { className: "text-[12px] text-grayscale-700 leading-[18px] font-poppins font-[400] m-0 p-0 normal-case" }, subjectDID)), /* @__PURE__ */ React.createElement("div", { className: "relative" }, /* @__PURE__ */ React.createElement("div", { className: "vc-issuee-image h-[60px] w-[60px] rounded-full overflow-hidden" }, issueeImageEl), /* @__PURE__ */ React.createElement("div", { className: "vc-issuer-image h-[30px] w-[30px] rounded-full overflow-hidden absolute bottom-[-12px] right-[-12px]" }, issuerImageEl)), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-[13px]" }, /* @__PURE__ */ React.createElement("div", { className: "vc-issue-details mt-[10px] flex flex-col items-center font-montserrat text-[14px] leading-[20px]" }, /* @__PURE__ */ React.createElement("span", { className: "created-at text-grayscale-700" }, createdAt), /* @__PURE__ */ React.createElement("span", { className: "issued-by text-grayscale-900 font-[500]" }, "by ", /* @__PURE__ */ React.createElement("strong", { className: "font-[700]" }, issuerName))), /* @__PURE__ */ React.createElement(
|
|
889
|
+
), customThumbComponent && customThumbComponent, /* @__PURE__ */ React.createElement("div", { className: "vc-issue-info-box bg-white flex flex-col items-center gap-[5px] rounded-[20px] shadow-bottom px-[15px] py-[20px] w-full" }, customBodyCardComponent && customBodyCardComponent, !customBodyCardComponent && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("h3", { className: "text-[27px] flex flex-col text-center leading-[130%] text-grayscale-900 capitalize" }, issueeName, subjectDID && /* @__PURE__ */ React.createElement("span", { className: "text-[12px] text-grayscale-700 leading-[18px] font-poppins font-[400] m-0 p-0 normal-case" }, subjectDID)), /* @__PURE__ */ React.createElement("div", { className: "relative" }, /* @__PURE__ */ React.createElement("div", { className: "vc-issuee-image h-[60px] w-[60px] rounded-full overflow-hidden" }, issueeImageEl), /* @__PURE__ */ React.createElement("div", { className: "vc-issuer-image h-[30px] w-[30px] rounded-full overflow-hidden absolute bottom-[-12px] right-[-12px]" }, issuerImageEl)), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-[13px]" }, /* @__PURE__ */ React.createElement("div", { className: "vc-issue-details mt-[10px] flex flex-col items-center font-montserrat text-[14px] leading-[20px]" }, /* @__PURE__ */ React.createElement("span", { className: "created-at text-grayscale-700" }, createdAt), /* @__PURE__ */ React.createElement("span", { className: "issued-by text-grayscale-900 font-[500]" }, "by ", /* @__PURE__ */ React.createElement("strong", { className: "font-[700]" }, issuerName))), /* @__PURE__ */ React.createElement(
|
|
890
|
+
VerifierStateBadgeAndText,
|
|
891
|
+
{
|
|
892
|
+
verifierState,
|
|
893
|
+
unknownVerifierTitle
|
|
894
|
+
}
|
|
895
|
+
))), customBodyContentSlot && customBodyContentSlot)));
|
|
887
896
|
};
|
|
888
897
|
|
|
889
898
|
const VCDisplayCardCategoryType = ({
|
|
@@ -938,7 +947,8 @@ const VCIDDisplayFrontFace = ({
|
|
|
938
947
|
customThumbComponent,
|
|
939
948
|
hideQRCode = false,
|
|
940
949
|
qrCodeOnClick,
|
|
941
|
-
customIDDescription
|
|
950
|
+
customIDDescription,
|
|
951
|
+
unknownVerifierTitle
|
|
942
952
|
}) => {
|
|
943
953
|
var _a;
|
|
944
954
|
const { credentialSubject } = getInfoFromCredential(credential, "MMM dd, yyyy", {
|
|
@@ -948,6 +958,8 @@ const VCIDDisplayFrontFace = ({
|
|
|
948
958
|
let verifierState;
|
|
949
959
|
if ((credentialSubject == null ? void 0 : credentialSubject.id) === issuerDid && issuerDid && issuerDid !== "did:example:123") {
|
|
950
960
|
verifierState = VERIFIER_STATES.selfVerified;
|
|
961
|
+
} else if (unknownVerifierTitle) {
|
|
962
|
+
verifierState = VERIFIER_STATES.trustedVerifier;
|
|
951
963
|
} else {
|
|
952
964
|
if ((knownDIDRegistry == null ? void 0 : knownDIDRegistry.source) === "trusted") {
|
|
953
965
|
verifierState = VERIFIER_STATES.trustedVerifier;
|
|
@@ -989,7 +1001,7 @@ const VCIDDisplayFrontFace = ({
|
|
|
989
1001
|
onClick: () => setIsFront(!isFront)
|
|
990
1002
|
},
|
|
991
1003
|
"Details"
|
|
992
|
-
), /* @__PURE__ */ React.createElement("div", { className: "w-full flex items-center justify-center mt-4" }, /* @__PURE__ */ React.createElement("div", { className: "h-[2px] w-full bg-gray-200" })), /* @__PURE__ */ React.createElement("div", { className: "w-full flex items-center justify-center mt-2" }, isSelfVerified && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-green-dark flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(PersonBadge, { className: "w-[20px] h-[20px]" }), "Self Issued"), verifierState === VERIFIER_STATES.trustedVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-blue-light flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(VerifiedBadge, { className: "w-[20px] h-[20px]" }), "Trusted Issuer"), verifierState === VERIFIER_STATES.unknownVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-orange-500 flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(UnknownVerifierBadge, { className: "w-[20px] h-[20px]" }), "Unknown Issuer"), verifierState === VERIFIER_STATES.untrustedVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-red-mastercard flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(RedFlag, { className: "w-[20px] h-[20px]" }), "Untrusted Issuer")))))));
|
|
1004
|
+
), /* @__PURE__ */ React.createElement("div", { className: "w-full flex items-center justify-center mt-4" }, /* @__PURE__ */ React.createElement("div", { className: "h-[2px] w-full bg-gray-200" })), /* @__PURE__ */ React.createElement("div", { className: "w-full flex items-center justify-center mt-2" }, isSelfVerified && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-green-dark flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(PersonBadge, { className: "w-[20px] h-[20px]" }), "Self Issued"), verifierState === VERIFIER_STATES.trustedVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-blue-light flex gap-[3px] items-center text-center" }, /* @__PURE__ */ React.createElement(VerifiedBadge, { className: "w-[20px] h-[20px]" }), unknownVerifierTitle != null ? unknownVerifierTitle : "Trusted Issuer"), verifierState === VERIFIER_STATES.unknownVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-orange-500 flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(UnknownVerifierBadge, { className: "w-[20px] h-[20px]" }), "Unknown Issuer"), verifierState === VERIFIER_STATES.untrustedVerifier && /* @__PURE__ */ React.createElement("span", { className: "uppercase font-poppins text-base font-[500] text-red-mastercard flex gap-[3px] items-center" }, /* @__PURE__ */ React.createElement(RedFlag, { className: "w-[20px] h-[20px]" }), "Untrusted Issuer")))))));
|
|
993
1005
|
};
|
|
994
1006
|
|
|
995
1007
|
const VCIDDisplayCard = ({
|
|
@@ -1015,7 +1027,8 @@ const VCIDDisplayCard = ({
|
|
|
1015
1027
|
showDetailsBtn = false,
|
|
1016
1028
|
customIDDescription,
|
|
1017
1029
|
hideGradientBackground = false,
|
|
1018
|
-
customLinkedCredentialsComponent
|
|
1030
|
+
customLinkedCredentialsComponent,
|
|
1031
|
+
unknownVerifierTitle
|
|
1019
1032
|
}) => {
|
|
1020
1033
|
const [_isFront, _setIsFront] = useState(isFrontOverride != null ? isFrontOverride : true);
|
|
1021
1034
|
const isFront = isFrontOverride != null ? isFrontOverride : _isFront;
|
|
@@ -1051,7 +1064,8 @@ const VCIDDisplayCard = ({
|
|
|
1051
1064
|
knownDIDRegistry,
|
|
1052
1065
|
qrCodeOnClick,
|
|
1053
1066
|
hideQRCode,
|
|
1054
|
-
customIDDescription
|
|
1067
|
+
customIDDescription,
|
|
1068
|
+
unknownVerifierTitle
|
|
1055
1069
|
}
|
|
1056
1070
|
), !isFront && /* @__PURE__ */ React.createElement(
|
|
1057
1071
|
VC2BackFace,
|
|
@@ -1119,7 +1133,10 @@ const VCDisplayCard2 = ({
|
|
|
1119
1133
|
formattedDisplayType,
|
|
1120
1134
|
customLinkedCredentialsComponent,
|
|
1121
1135
|
customContentSlot,
|
|
1122
|
-
customBodyContentSlot
|
|
1136
|
+
customBodyContentSlot,
|
|
1137
|
+
unknownVerifierTitle,
|
|
1138
|
+
hideAwardedTo,
|
|
1139
|
+
hideFrontFaceDetails
|
|
1123
1140
|
}) => {
|
|
1124
1141
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1125
1142
|
const {
|
|
@@ -1193,7 +1210,10 @@ const VCDisplayCard2 = ({
|
|
|
1193
1210
|
showDetailsBtn,
|
|
1194
1211
|
formattedDisplayType,
|
|
1195
1212
|
customLinkedCredentialsComponent,
|
|
1196
|
-
customBodyContentSlot
|
|
1213
|
+
customBodyContentSlot,
|
|
1214
|
+
unknownVerifierTitle,
|
|
1215
|
+
hideAwardedTo,
|
|
1216
|
+
hideFrontFaceDetails
|
|
1197
1217
|
}
|
|
1198
1218
|
);
|
|
1199
1219
|
}
|
|
@@ -1224,7 +1244,10 @@ const VCDisplayCard2 = ({
|
|
|
1224
1244
|
showDetailsBtn,
|
|
1225
1245
|
formattedDisplayType,
|
|
1226
1246
|
customLinkedCredentialsComponent,
|
|
1227
|
-
customBodyContentSlot
|
|
1247
|
+
customBodyContentSlot,
|
|
1248
|
+
unknownVerifierTitle,
|
|
1249
|
+
hideAwardedTo,
|
|
1250
|
+
hideFrontFaceDetails
|
|
1228
1251
|
}
|
|
1229
1252
|
);
|
|
1230
1253
|
} else if (((_f = credential == null ? void 0 : credential.display) == null ? void 0 : _f.displayType) === "id" || categoryType === "ID") {
|
|
@@ -1253,7 +1276,8 @@ const VCDisplayCard2 = ({
|
|
|
1253
1276
|
showDetailsBtn,
|
|
1254
1277
|
customIDDescription,
|
|
1255
1278
|
hideGradientBackground,
|
|
1256
|
-
customLinkedCredentialsComponent
|
|
1279
|
+
customLinkedCredentialsComponent,
|
|
1280
|
+
unknownVerifierTitle
|
|
1257
1281
|
}
|
|
1258
1282
|
));
|
|
1259
1283
|
}
|
|
@@ -1349,7 +1373,8 @@ const VCDisplayCard2 = ({
|
|
|
1349
1373
|
createdAt: createdAt != null ? createdAt : "",
|
|
1350
1374
|
imageUrl,
|
|
1351
1375
|
knownDIDRegistry,
|
|
1352
|
-
customBodyContentSlot
|
|
1376
|
+
customBodyContentSlot,
|
|
1377
|
+
unknownVerifierTitle
|
|
1353
1378
|
}
|
|
1354
1379
|
), !isFront && /* @__PURE__ */ React.createElement(
|
|
1355
1380
|
VC2BackFace,
|
|
@@ -1420,4 +1445,4 @@ const VCDisplayCard2 = ({
|
|
|
1420
1445
|
};
|
|
1421
1446
|
|
|
1422
1447
|
export { VCDisplayCard2 as V, VCDisplayCardSkillsCount as a, VCIDDisplayCard as b };
|
|
1423
|
-
//# sourceMappingURL=VCDisplayCard2-
|
|
1448
|
+
//# sourceMappingURL=VCDisplayCard2-f02476ef.js.map
|